Xdg.Directories/public/lunr.da-ABNGX3GR.min.js.map
2024-07-10 19:39:30 +00:00

7 lines
16 KiB
Text
Executable file

{
"version": 3,
"sources": ["../../node_modules/lunr-languages/lunr.da.js"],
"sourcesContent": ["/*!\n * Lunr languages, `Danish` language\n * https://github.com/MihaiValentin/lunr-languages\n *\n * Copyright 2014, Mihai Valentin\n * http://www.mozilla.org/MPL/\n */\n/*!\n * based on\n * Snowball JavaScript Library v0.3\n * http://code.google.com/p/urim/\n * http://snowball.tartarus.org/\n *\n * Copyright 2010, Oleg Mazko\n * http://www.mozilla.org/MPL/\n */\n\n/**\n * export the module via AMD, CommonJS or as a browser global\n * Export code from https://github.com/umdjs/umd/blob/master/returnExports.js\n */\n;\n(function(root, factory) {\n if (typeof define === 'function' && define.amd) {\n // AMD. Register as an anonymous module.\n define(factory)\n } else if (typeof exports === 'object') {\n /**\n * Node. Does not work with strict CommonJS, but\n * only CommonJS-like environments that support module.exports,\n * like Node.\n */\n module.exports = factory()\n } else {\n // Browser globals (root is window)\n factory()(root.lunr);\n }\n}(this, function() {\n /**\n * Just return a value to define the module export.\n * This example returns an object, but the module\n * can return a function as the exported value.\n */\n return function(lunr) {\n /* throw error if lunr is not yet included */\n if ('undefined' === typeof lunr) {\n throw new Error('Lunr is not present. Please include / require Lunr before this script.');\n }\n\n /* throw error if lunr stemmer support is not yet included */\n if ('undefined' === typeof lunr.stemmerSupport) {\n throw new Error('Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.');\n }\n\n /* register specific locale function */\n lunr.da = function() {\n this.pipeline.reset();\n this.pipeline.add(\n lunr.da.trimmer,\n lunr.da.stopWordFilter,\n lunr.da.stemmer\n );\n\n // for lunr version 2\n // this is necessary so that every searched word is also stemmed before\n // in lunr <= 1 this is not needed, as it is done using the normal pipeline\n if (this.searchPipeline) {\n this.searchPipeline.reset();\n this.searchPipeline.add(lunr.da.stemmer)\n }\n };\n\n /* lunr trimmer function */\n lunr.da.wordCharacters = \"A-Za-z\\xAA\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02B8\\u02E0-\\u02E4\\u1D00-\\u1D25\\u1D2C-\\u1D5C\\u1D62-\\u1D65\\u1D6B-\\u1D77\\u1D79-\\u1DBE\\u1E00-\\u1EFF\\u2071\\u207F\\u2090-\\u209C\\u212A\\u212B\\u2132\\u214E\\u2160-\\u2188\\u2C60-\\u2C7F\\uA722-\\uA787\\uA78B-\\uA7AD\\uA7B0-\\uA7B7\\uA7F7-\\uA7FF\\uAB30-\\uAB5A\\uAB5C-\\uAB64\\uFB00-\\uFB06\\uFF21-\\uFF3A\\uFF41-\\uFF5A\";\n lunr.da.trimmer = lunr.trimmerSupport.generateTrimmer(lunr.da.wordCharacters);\n\n lunr.Pipeline.registerFunction(lunr.da.trimmer, 'trimmer-da');\n\n /* lunr stemmer function */\n lunr.da.stemmer = (function() {\n /* create the wrapped stemmer object */\n var Among = lunr.stemmerSupport.Among,\n SnowballProgram = lunr.stemmerSupport.SnowballProgram,\n st = new function DanishStemmer() {\n var a_0 = [new Among(\"hed\", -1, 1), new Among(\"ethed\", 0, 1),\n new Among(\"ered\", -1, 1), new Among(\"e\", -1, 1),\n new Among(\"erede\", 3, 1), new Among(\"ende\", 3, 1),\n new Among(\"erende\", 5, 1), new Among(\"ene\", 3, 1),\n new Among(\"erne\", 3, 1), new Among(\"ere\", 3, 1),\n new Among(\"en\", -1, 1), new Among(\"heden\", 10, 1),\n new Among(\"eren\", 10, 1), new Among(\"er\", -1, 1),\n new Among(\"heder\", 13, 1), new Among(\"erer\", 13, 1),\n new Among(\"s\", -1, 2), new Among(\"heds\", 16, 1),\n new Among(\"es\", 16, 1), new Among(\"endes\", 18, 1),\n new Among(\"erendes\", 19, 1), new Among(\"enes\", 18, 1),\n new Among(\"ernes\", 18, 1), new Among(\"eres\", 18, 1),\n new Among(\"ens\", 16, 1), new Among(\"hedens\", 24, 1),\n new Among(\"erens\", 24, 1), new Among(\"ers\", 16, 1),\n new Among(\"ets\", 16, 1), new Among(\"erets\", 28, 1),\n new Among(\"et\", -1, 1), new Among(\"eret\", 30, 1)\n ],\n a_1 = [\n new Among(\"gd\", -1, -1), new Among(\"dt\", -1, -1),\n new Among(\"gt\", -1, -1), new Among(\"kt\", -1, -1)\n ],\n a_2 = [\n new Among(\"ig\", -1, 1), new Among(\"lig\", 0, 1),\n new Among(\"elig\", 1, 1), new Among(\"els\", -1, 1),\n new Among(\"l\\u00F8st\", -1, 2)\n ],\n g_v = [17, 65, 16, 1, 0, 0, 0, 0,\n 0, 0, 0, 0, 0, 0, 0, 0, 48, 0, 128\n ],\n g_s_ending = [239, 254, 42, 3,\n 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16\n ],\n I_x, I_p1, S_ch, sbp = new SnowballProgram();\n this.setCurrent = function(word) {\n sbp.setCurrent(word);\n };\n this.getCurrent = function() {\n return sbp.getCurrent();\n };\n\n function r_mark_regions() {\n var v_1, c = sbp.cursor + 3;\n I_p1 = sbp.limit;\n if (0 <= c && c <= sbp.limit) {\n I_x = c;\n while (true) {\n v_1 = sbp.cursor;\n if (sbp.in_grouping(g_v, 97, 248)) {\n sbp.cursor = v_1;\n break;\n }\n sbp.cursor = v_1;\n if (v_1 >= sbp.limit)\n return;\n sbp.cursor++;\n }\n while (!sbp.out_grouping(g_v, 97, 248)) {\n if (sbp.cursor >= sbp.limit)\n return;\n sbp.cursor++;\n }\n I_p1 = sbp.cursor;\n if (I_p1 < I_x)\n I_p1 = I_x;\n }\n }\n\n function r_main_suffix() {\n var among_var, v_1;\n if (sbp.cursor >= I_p1) {\n v_1 = sbp.limit_backward;\n sbp.limit_backward = I_p1;\n sbp.ket = sbp.cursor;\n among_var = sbp.find_among_b(a_0, 32);\n sbp.limit_backward = v_1;\n if (among_var) {\n sbp.bra = sbp.cursor;\n switch (among_var) {\n case 1:\n sbp.slice_del();\n break;\n case 2:\n if (sbp.in_grouping_b(g_s_ending, 97, 229))\n sbp.slice_del();\n break;\n }\n }\n }\n }\n\n function r_consonant_pair() {\n var v_1 = sbp.limit - sbp.cursor,\n v_2;\n if (sbp.cursor >= I_p1) {\n v_2 = sbp.limit_backward;\n sbp.limit_backward = I_p1;\n sbp.ket = sbp.cursor;\n if (sbp.find_among_b(a_1, 4)) {\n sbp.bra = sbp.cursor;\n sbp.limit_backward = v_2;\n sbp.cursor = sbp.limit - v_1;\n if (sbp.cursor > sbp.limit_backward) {\n sbp.cursor--;\n sbp.bra = sbp.cursor;\n sbp.slice_del();\n }\n } else\n sbp.limit_backward = v_2;\n }\n }\n\n function r_other_suffix() {\n var among_var, v_1 = sbp.limit - sbp.cursor,\n v_2, v_3;\n sbp.ket = sbp.cursor;\n if (sbp.eq_s_b(2, \"st\")) {\n sbp.bra = sbp.cursor;\n if (sbp.eq_s_b(2, \"ig\"))\n sbp.slice_del();\n }\n sbp.cursor = sbp.limit - v_1;\n if (sbp.cursor >= I_p1) {\n v_2 = sbp.limit_backward;\n sbp.limit_backward = I_p1;\n sbp.ket = sbp.cursor;\n among_var = sbp.find_among_b(a_2, 5);\n sbp.limit_backward = v_2;\n if (among_var) {\n sbp.bra = sbp.cursor;\n switch (among_var) {\n case 1:\n sbp.slice_del();\n v_3 = sbp.limit - sbp.cursor;\n r_consonant_pair();\n sbp.cursor = sbp.limit - v_3;\n break;\n case 2:\n sbp.slice_from(\"l\\u00F8s\");\n break;\n }\n }\n }\n }\n\n function r_undouble() {\n var v_1;\n if (sbp.cursor >= I_p1) {\n v_1 = sbp.limit_backward;\n sbp.limit_backward = I_p1;\n sbp.ket = sbp.cursor;\n if (sbp.out_grouping_b(g_v, 97, 248)) {\n sbp.bra = sbp.cursor;\n S_ch = sbp.slice_to(S_ch);\n sbp.limit_backward = v_1;\n if (sbp.eq_v_b(S_ch))\n sbp.slice_del();\n } else\n sbp.limit_backward = v_1;\n }\n }\n this.stem = function() {\n var v_1 = sbp.cursor;\n r_mark_regions();\n sbp.limit_backward = v_1;\n sbp.cursor = sbp.limit;\n r_main_suffix();\n sbp.cursor = sbp.limit;\n r_consonant_pair();\n sbp.cursor = sbp.limit;\n r_other_suffix();\n sbp.cursor = sbp.limit;\n r_undouble();\n return true;\n }\n };\n\n /* and return a function that stems a word for the current locale */\n return function(token) {\n // for lunr version 2\n if (typeof token.update === \"function\") {\n return token.update(function(word) {\n st.setCurrent(word);\n st.stem();\n return st.getCurrent();\n })\n } else { // for lunr version <= 1\n st.setCurrent(token);\n st.stem();\n return st.getCurrent();\n }\n }\n })();\n\n lunr.Pipeline.registerFunction(lunr.da.stemmer, 'stemmer-da');\n\n lunr.da.stopWordFilter = lunr.generateStopWordFilter('ad af alle alt anden at blev blive bliver da de dem den denne der deres det dette dig din disse dog du efter eller en end er et for fra ham han hans har havde have hende hendes her hos hun hvad hvis hvor i ikke ind jeg jer jo kunne man mange med meget men mig min mine mit mod ned noget nogle nu n\u00E5r og ogs\u00E5 om op os over p\u00E5 selv sig sin sine sit skal skulle som s\u00E5dan thi til ud under var vi vil ville vor v\u00E6re v\u00E6ret'.split(' '));\n\n lunr.Pipeline.registerFunction(lunr.da.stopWordFilter, 'stopWordFilter-da');\n };\n}))"],
"mappings": "4CAAA,IAAAA,EAAAC,EAAA,CAAAC,EAAAC,IAAA,EAsBC,SAASC,EAAMC,EAAS,CACnB,OAAO,QAAW,YAAc,OAAO,IAEzC,OAAOA,CAAO,EACL,OAAOH,GAAY,SAM5BC,EAAO,QAAUE,EAAQ,EAGzBA,EAAQ,EAAED,EAAK,IAAI,CAEvB,GAAEF,EAAM,UAAW,CAMjB,OAAO,SAASI,EAAM,CAEpB,GAAoB,OAAOA,EAAvB,IACF,MAAM,IAAI,MAAM,wEAAwE,EAI1F,GAAoB,OAAOA,EAAK,eAA5B,IACF,MAAM,IAAI,MAAM,wGAAwG,EAI1HA,EAAK,GAAK,UAAW,CACnB,KAAK,SAAS,MAAM,EACpB,KAAK,SAAS,IACZA,EAAK,GAAG,QACRA,EAAK,GAAG,eACRA,EAAK,GAAG,OACV,EAKI,KAAK,iBACP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A,EAAG,WAAW,CACvB,CAAC,GAEDA,EAAG,WAAWqB,CAAK,EACnBrB,EAAG,KAAK,EACDA,EAAG,WAAW,EAEzB,CACF,EAAG,EAEHH,EAAK,SAAS,iBAAiBA,EAAK,GAAG,QAAS,YAAY,EAE5DA,EAAK,GAAG,eAAiBA,EAAK,uBAAuB,sbAAoa,MAAM,GAAG,CAAC,EAEneA,EAAK,SAAS,iBAAiBA,EAAK,GAAG,eAAgB,mBAAmB,CAC5E,CACF,CAAC",
"names": ["require_lunr_da", "__commonJSMin", "exports", "module", "root", "factory", "lunr", "Among", "SnowballProgram", "st", "a_0", "a_1", "a_2", "g_v", "g_s_ending", "I_x", "I_p1", "S_ch", "sbp", "word", "r_mark_regions", "v_1", "c", "r_main_suffix", "among_var", "r_consonant_pair", "v_2", "r_other_suffix", "v_3", "r_undouble", "token"]
}