@flyfish-group/file-viewer3 1.0.21 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.en.md +372 -0
- package/README.md +26 -24
- package/dist/components/3MFLoader.js +1 -1
- package/dist/components/AMFLoader.js +1 -1
- package/dist/components/ArchiveViewer.js +1 -1
- package/dist/components/AudioViewer.js +1 -1
- package/dist/components/CadViewer.js +1 -1
- package/dist/components/CodeViewer.js +1 -1
- package/dist/components/ColladaLoader.js +1 -1
- package/dist/components/DrawingViewer.js +1 -1
- package/dist/components/EdaViewer.js +1 -1
- package/dist/components/EmailViewer.js +1 -1
- package/dist/components/EpubViewer.js +1 -1
- package/dist/components/FBXLoader.js +1 -1
- package/dist/components/GLTFLoader.js +1 -1
- package/dist/components/ImageViewer.js +1 -1
- package/dist/components/KMZLoader.js +1 -1
- package/dist/components/MarkdownViewer.js +1 -1
- package/dist/components/ModelViewer.js +1 -1
- package/dist/components/OBJLoader.js +1 -1
- package/dist/components/OfdViewer.js +1 -1
- package/dist/components/PCDLoader.js +1 -1
- package/dist/components/PLYLoader.js +1 -1
- package/dist/components/PdfView.js +5619 -5067
- package/dist/components/PptxRender.js +1 -1
- package/dist/components/STLLoader.js +1 -1
- package/dist/components/TDSLoader.js +1 -1
- package/dist/components/TypstViewer.js +3 -3
- package/dist/components/USDLoader.js +1 -1
- package/dist/components/UmdViewer.js +1 -1
- package/dist/components/VRMLLoader.js +1 -1
- package/dist/components/VTKLoader.js +1 -1
- package/dist/components/XYZLoader.js +1 -1
- package/dist/components/XlsxTable.js +1 -1
- package/dist/components/__vite-browser-external.js +1 -1
- package/dist/components/_plugin-vue_export-helper.js +1 -1
- package/dist/components/ar-SA-G6X2FPQ2.js +1 -1
- package/dist/components/arc.js +1 -1
- package/dist/components/architecture-7EHR7CIX.js +1 -1
- package/dist/components/architectureDiagram-3BPJPVTR.js +1 -1
- package/dist/components/archive.js +1 -1
- package/dist/components/asyncToGenerator.js +1 -1
- package/dist/components/audio.js +1 -1
- package/dist/components/az-AZ-76LH7QW2.js +1 -1
- package/dist/components/bash.js +1 -1
- package/dist/components/bg-BG-XCXSNQG7.js +1 -1
- package/dist/components/blockDiagram-GPEHLZMM.js +1 -1
- package/dist/components/bn-BD-2XOGV67Q.js +1 -1
- package/dist/components/c4Diagram-AAUBKEIU.js +1 -1
- package/dist/components/ca-ES-6MX7JW3Y.js +1 -1
- package/dist/components/cad.js +1 -1
- package/dist/components/cfb.js +1 -1
- package/dist/components/channel.js +1 -1
- package/dist/components/chunk-2J33WTMH.js +1 -1
- package/dist/components/chunk-3OPIFGDE.js +1 -1
- package/dist/components/chunk-4BX2VUAB.js +1 -1
- package/dist/components/chunk-55IACEB6.js +1 -1
- package/dist/components/chunk-5ZQYHXKU.js +1 -1
- package/dist/components/chunk-6U3AYISY.js +1 -1
- package/dist/components/chunk-727SXJPM.js +1 -1
- package/dist/components/chunk-AGHRB4JF.js +1 -1
- package/dist/components/chunk-AQP2D5EJ.js +1 -1
- package/dist/components/chunk-BSJP7CBP.js +1 -1
- package/dist/components/chunk-CSCIHK7Q.js +1 -1
- package/dist/components/chunk-EIO257PC.js +563 -564
- package/dist/components/chunk-FMBD7UC4.js +1 -1
- package/dist/components/chunk-K2UTITRG.js +1 -1
- package/dist/components/chunk-KSCS5N6A.js +1 -1
- package/dist/components/chunk-L5ZTLDWV.js +1 -1
- package/dist/components/chunk-LZXEDZCA.js +1 -1
- package/dist/components/chunk-ND2GUHAM.js +1 -1
- package/dist/components/chunk-NNHCCRGN.js +1 -0
- package/dist/components/chunk-NZK2D7GU.js +1 -1
- package/dist/components/chunk-O5CBEL6O.js +1 -1
- package/dist/components/chunk-QZHKN3VN.js +1 -1
- package/dist/components/chunk-SRAX5OIU.js +1 -1
- package/dist/components/chunk-WU5MYG2G.js +1 -1
- package/dist/components/chunk-XPW4576I.js +1 -1
- package/dist/components/chunk-Z3N5DIM6.js +1 -1
- package/dist/components/chunk-ZUYEQ4TG.js +1 -1
- package/dist/components/chunk.js +1 -1
- package/dist/components/classDiagram-4FO5ZUOK.js +1 -1
- package/dist/components/classDiagram-v2-Q7XG4LA2.js +1 -1
- package/dist/components/compiler.js +1 -1
- package/dist/components/core.js +1 -1
- package/dist/components/cose-bilkent-S5V4N54A.js +1 -1
- package/dist/components/cpp.js +1 -1
- package/dist/components/cs-CZ-2BRQDIVT.js +1 -1
- package/dist/components/csharp.js +1 -1
- package/dist/components/css.js +1 -1
- package/dist/components/cytoscape.esm.js +1 -1
- package/dist/components/da-DK-5WZEPLOC.js +1 -1
- package/dist/components/dagre-BM42HDAG.js +1 -1
- package/dist/components/dagre.js +1 -1
- package/dist/components/de-DE-XR44H4JA.js +1 -1
- package/dist/components/defaultLocale.js +1 -1
- package/dist/components/defineProperty.js +1 -1
- package/dist/components/diagram-2AECGRRQ.js +1 -1
- package/dist/components/diagram-5GNKFQAL.js +1 -1
- package/dist/components/diagram-KO2AKTUF.js +1 -1
- package/dist/components/diagram-LMA3HP47.js +1 -1
- package/dist/components/diagram-OG6HWLK6.js +1 -1
- package/dist/components/diff.js +1 -1
- package/dist/components/directory-open-01563666.js +1 -1
- package/dist/components/directory-open-4ed118d0.js +1 -1
- package/dist/components/dist.js +1 -1
- package/dist/components/dist2.js +1 -1
- package/dist/components/dist3.js +1 -1
- package/dist/components/documentSearch.js +1 -0
- package/dist/components/docx-preview.js +1 -1
- package/dist/components/drawing.js +1 -1
- package/dist/components/ebook.js +1 -1
- package/dist/components/eda.js +1 -1
- package/dist/components/el-GR-BZB4AONW.js +1 -1
- package/dist/components/email.js +1 -1
- package/dist/components/en-B4ZKOASM.js +1 -1
- package/dist/components/erDiagram-TEJ5UH35.js +1 -1
- package/dist/components/es-ES-U4NZUMDT.js +1 -1
- package/dist/components/eu-ES-A7QVB2H4.js +1 -1
- package/dist/components/eventmodeling-FCH6USID.js +1 -1
- package/dist/components/fa-IR-HGAKTJCU.js +1 -1
- package/dist/components/fflate.module.js +1 -1
- package/dist/components/fi-FI-Z5N7JZ37.js +1 -1
- package/dist/components/file-open-002ab408.js +1 -1
- package/dist/components/file-open-7c801643.js +1 -1
- package/dist/components/file-save-3189631c.js +1 -1
- package/dist/components/file-save-745eba88.js +1 -1
- package/dist/components/flowDiagram-I6XJVG4X.js +1 -1
- package/dist/components/fr-FR-RHASNOE6.js +1 -1
- package/dist/components/ganttDiagram-6RSMTGT7.js +1 -1
- package/dist/components/gitGraph-WXDBUCRP.js +1 -1
- package/dist/components/gitGraphDiagram-PVQCEYII.js +1 -1
- package/dist/components/gl-ES-HMX3MZ6V.js +1 -1
- package/dist/components/global-compiler.js +1 -1
- package/dist/components/global-renderer.js +1 -1
- package/dist/components/go.js +1 -1
- package/dist/components/graphlib.js +1 -1
- package/dist/components/he-IL-6SHJWFNN.js +1 -1
- package/dist/components/hi-IN-IWLTKZ5I.js +1 -1
- package/dist/components/hu-HU-A5ZG7DT2.js +1 -1
- package/dist/components/id-ID-SAP4L64H.js +1 -1
- package/dist/components/image-GAAHSSAO.js +1 -1
- package/dist/components/image-blob-reduce.esm.js +1 -1
- package/dist/components/image.js +1 -1
- package/dist/components/info-J43DQDTF.js +1 -1
- package/dist/components/infoDiagram-5YYISTIA.js +1 -1
- package/dist/components/ini.js +1 -1
- package/dist/components/init.js +1 -1
- package/dist/components/ishikawaDiagram-YF4QCWOH.js +1 -1
- package/dist/components/it-IT-JPQ66NNP.js +1 -1
- package/dist/components/ja-JP-DBVTYXUO.js +1 -1
- package/dist/components/java.js +1 -1
- package/dist/components/javascript.js +1 -1
- package/dist/components/journeyDiagram-JHISSGLW.js +1 -1
- package/dist/components/json.js +1 -1
- package/dist/components/jszip.min.js +1 -1
- package/dist/components/kaa-6HZHGXH3.js +1 -1
- package/dist/components/kab-KAB-ZGHBKWFO.js +1 -1
- package/dist/components/kanban-definition-UN3LZRKU.js +1 -1
- package/dist/components/katex.js +1 -1
- package/dist/components/kk-KZ-P5N5QNE5.js +1 -1
- package/dist/components/km-KH-HSX4SM5Z.js +1 -1
- package/dist/components/ko-KR-MTYHY66A.js +1 -1
- package/dist/components/ku-TR-6OUDTVRD.js +1 -1
- package/dist/components/lib.js +1 -1
- package/dist/components/libarchive.js +1 -1
- package/dist/components/linear.js +1 -1
- package/dist/components/lt-LT-XHIRWOB4.js +1 -1
- package/dist/components/lv-LV-5QDEKY6T.js +1 -1
- package/dist/components/markdown.js +1 -1
- package/dist/components/md.js +1 -1
- package/dist/components/mermaid-parser.core.js +1 -1
- package/dist/components/mindmap-definition-RKZ34NQL.js +1 -1
- package/dist/components/model.js +1 -1
- package/dist/components/mp4.js +1 -1
- package/dist/components/mr-IN-CRQNXWMA.js +1 -1
- package/dist/components/my-MM-5M5IBNSE.js +1 -1
- package/dist/components/nb-NO-T6EIAALU.js +1 -1
- package/dist/components/nestedRender.js +1 -1
- package/dist/components/nl-NL-IS3SIHDZ.js +1 -1
- package/dist/components/nn-NO-6E72VCQL.js +1 -1
- package/dist/components/objectSpread2.js +1 -1
- package/dist/components/objectWithoutProperties.js +1 -1
- package/dist/components/oc-FR-POXYY2M6.js +1 -1
- package/dist/components/ofd.js +1 -1
- package/dist/components/ofd2.js +1 -1
- package/dist/components/ordinal.js +1 -1
- package/dist/components/pa-IN-N4M65BXN.js +1 -1
- package/dist/components/packet-YPE3B663.js +1 -1
- package/dist/components/pdf.js +1 -1
- package/dist/components/percentages-BXMCSKIN.js +1 -1
- package/dist/components/php.js +1 -1
- package/dist/components/pica.js +1 -1
- package/dist/components/pie-LRSECV5Y.js +1 -1
- package/dist/components/pie.js +1 -1
- package/dist/components/pieDiagram-4H26LBE5.js +1 -1
- package/dist/components/pl-PL-T2D74RX3.js +1 -1
- package/dist/components/postal-mime.js +1 -1
- package/dist/components/pptx.js +1 -1
- package/dist/components/printLayout.js +1 -1
- package/dist/components/prod.js +1 -1
- package/dist/components/pt-BR-5N22H2LF.js +1 -1
- package/dist/components/pt-PT-UZXXM6DQ.js +1 -1
- package/dist/components/python.js +1 -1
- package/dist/components/quadrantDiagram-W4KKPZXB.js +1 -1
- package/dist/components/radar-GUYGQ44K.js +1 -1
- package/dist/components/renderer.js +1 -1
- package/dist/components/requirementDiagram-4Y6WPE33.js +1 -1
- package/dist/components/ro-RO-JPDTUUEW.js +1 -1
- package/dist/components/rough.esm.js +1 -1
- package/dist/components/roundRect.js +1 -1
- package/dist/components/ru-RU-B4JR7IUQ.js +1 -1
- package/dist/components/rust.js +1 -1
- package/dist/components/sankeyDiagram-5OEKKPKP.js +1 -1
- package/dist/components/sequenceDiagram-3UESZ5HK.js +1 -1
- package/dist/components/shared.js +1 -1
- package/dist/components/shared2.js +1 -1
- package/dist/components/si-LK-N5RQ5JYF.js +1 -1
- package/dist/components/sk-SK-C5VTKIMK.js +1 -1
- package/dist/components/sl-SI-NN7IZMDC.js +1 -1
- package/dist/components/sourceLoading.js +1 -1
- package/dist/components/sql.js +1 -1
- package/dist/components/src.js +1 -1
- package/dist/components/src2.js +1 -1
- package/dist/components/stateDiagram-AJRCARHV.js +1 -1
- package/dist/components/stateDiagram-v2-BHNVJYJU.js +1 -1
- package/dist/components/subset-shared.chunk.js +1 -1
- package/dist/components/subset-worker.chunk.js +1 -1
- package/dist/components/sv-SE-XGPEYMSR.js +1 -1
- package/dist/components/ta-IN-2NMHFXQM.js +1 -1
- package/dist/components/text.js +1 -1
- package/dist/components/th-TH-HPSO5L25.js +1 -1
- package/dist/components/three.module.js +1 -1
- package/dist/components/time.js +1 -1
- package/dist/components/timeline-definition-PNZ67QCA.js +1 -1
- package/dist/components/tr-TR-DEFEU3FU.js +1 -1
- package/dist/components/treeView-BLDUP644.js +1 -1
- package/dist/components/treemap-LRROVOQU.js +1 -1
- package/dist/components/typescript.js +1 -1
- package/dist/components/typst.js +1 -1
- package/dist/components/uk-UA-QMV73CPH.js +1 -1
- package/dist/components/umd.js +1 -1
- package/dist/components/use.js +1 -1
- package/dist/components/util.js +1 -1
- package/dist/components/vennDiagram-CIIHVFJN.js +1 -1
- package/dist/components/vi-VN-M7AON7JQ.js +1 -1
- package/dist/components/wardley-L42UT6IY.js +1 -1
- package/dist/components/wardleyDiagram-YWT4CUSO.js +1 -1
- package/dist/components/wasm-pack-shim.js +1 -1
- package/dist/components/wasm-pack-shim2.js +1 -1
- package/dist/components/wasm.js +1 -1
- package/dist/components/word.js +1 -1
- package/dist/components/worker-ref.js +1 -1
- package/dist/components/xlsx.js +1 -1
- package/dist/components/xml.js +1 -1
- package/dist/components/xychartDiagram-2RQKCTM6.js +1 -1
- package/dist/components/yaml.js +1 -1
- package/dist/components/zh-CN-LNUGB5OW.js +1 -1
- package/dist/components/zh-HK-E62DVLB3.js +1 -1
- package/dist/components/zh-TW-RAJ6MFWO.js +1 -1
- package/dist/file-viewer3.css +1 -1
- package/dist/index.mjs +1 -1
- package/dist/src/App.vue.d.ts +3 -0
- package/dist/src/compare/CompareApp.vue.d.ts +3 -0
- package/dist/src/compare/useSynchronizedScroll.d.ts +7 -0
- package/dist/src/components/HelloWorld.vue.d.ts +3 -0
- package/dist/src/components/utils.d.ts +1 -1
- package/dist/src/package/common/type.d.ts +225 -0
- package/dist/src/package/components/FileViewer/FileViewer.vue.d.ts +15 -1
- package/dist/src/package/components/FileViewer/hooks/useViewerDocumentFeatures.d.ts +29 -0
- package/dist/src/package/components/FileViewer/{useViewerExport.d.ts → hooks/useViewerExport.d.ts} +1 -1
- package/dist/src/package/components/FileViewer/hooks/useViewerWatermark.d.ts +8 -0
- package/dist/src/package/components/FileViewer/util.d.ts +2 -2
- package/dist/src/package/index.d.ts +1 -1
- package/dist/src/package/use/documentLocation.d.ts +15 -0
- package/dist/src/package/use/documentSearch.d.ts +234 -0
- package/dist/src/package/use/index.d.ts +2 -0
- package/dist/src/package/vendors/archive/ArchiveViewer.vue.d.ts +1 -1
- package/dist/src/package/vendors/archive/index.d.ts +1 -1
- package/dist/src/package/vendors/cad/CadViewer.vue.d.ts +2 -0
- package/dist/src/package/vendors/cad/index.d.ts +4 -3
- package/dist/src/package/vendors/eda/index.d.ts +1 -1
- package/dist/src/package/vendors/email/EmailViewer.vue.d.ts +1 -1
- package/dist/src/package/vendors/email/index.d.ts +1 -1
- package/dist/src/package/vendors/model/index.d.ts +1 -1
- package/dist/src/package/vendors/nestedRender.d.ts +1 -1
- package/dist/src/package/vendors/pdf/PdfView.vue.d.ts +1 -1
- package/dist/src/package/vendors/pdf/index.d.ts +1 -1
- package/dist/src/package/vendors/renders.d.ts +1 -1
- package/dist/src/package/vendors/typst/TypstViewer.vue.d.ts +1 -1
- package/dist/src/package/vendors/typst/index.d.ts +1 -1
- package/dist/src/package/vendors/word/doc.d.ts +1 -1
- package/dist/src/package/vendors/word/docx.d.ts +1 -1
- package/dist/src/package/vendors/word/docx.worker.d.ts +1 -0
- package/dist/src/package/vendors/xlsx/index.d.ts +1 -1
- package/dist/src/package/vendors/xlsx/util.d.ts +0 -5
- package/dist/wasm/cad/DwgWorker-CuZJ5EUe.js +349 -0
- package/dist/wasm/cad/dwfv-render.wasm +0 -0
- package/dist/wasm/cad/dwg-worker.js +349 -0
- package/dist/wasm/cad/index-C365l3i9.js +4161 -0
- package/dist/wasm/cad/libredwg-web.js +15 -0
- package/dist/wasm/cad/libredwg-web.wasm +0 -0
- package/package.json +33 -27
package/dist/components/core.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(d,f){const cv=b,g=d();while(!![]){try{const h=parseInt(cv(0xf9))/0x1+parseInt(cv(0x12a))/0x2*(parseInt(cv(0x143))/0x3)+parseInt(cv(0x154))/0x4*(parseInt(cv(0x14f))/0x5)+parseInt(cv(0x122))/0x6+parseInt(cv(0x10b))/0x7*(-parseInt(cv(0x118))/0x8)+-parseInt(cv(0x129))/0x9+-parseInt(cv(0x115))/0xa;if(h===f)break;else g['push'](g['shift']());}catch(i){g['push'](g['shift']());}}}(a,0xd94db));function b(c,d){c=c-0xf9;const e=a();let f=e[c];return f;}import{o as c,t}from'./chunk.js';var n=c(t((a0,a1)=>{const cD=b;function a2(bl){const cw=b;return bl instanceof Map?bl['clear']=bl['delete']=bl['set']=function(){throw Error('map\x20is\x20read-only');}:bl instanceof Set&&(bl['add']=bl['clear']=bl['delete']=function(){throw Error('set\x20is\x20read-only');}),Object[cw(0x135)](bl),Object[cw(0x13f)](bl)['forEach'](bm=>{let bn=bl[bm],bo=typeof bn;(bo==='object'||bo==='function')&&!Object['isFrozen'](bn)&&a2(bn);}),bl;}var a3=class{constructor(bl){bl['data']===void 0x0&&(bl['data']={}),this['data']=bl['data'],this['isMatchIgnored']=!0x1;}['ignoreMatch'](){this['isMatchIgnored']=!0x0;}};function a4(bl){const cx=b;return bl[cx(0x15e)](/&/g,cx(0x126))['replace'](/</g,cx(0x112))[cx(0x15e)](/>/g,cx(0x141))['replace'](/"/g,'"')['replace'](/'/g,''');}function a5(bl,...bm){let bn=Object['create'](null);for(let bo in bl)bn[bo]=bl[bo];return bm['forEach'](function(bp){for(let bq in bp)bn[bq]=bp[bq];}),bn;}var a6='</span>',a7=bl=>!!bl['scope'],a8=(bl,{prefix:bm})=>{const cy=b;if(bl['startsWith'](cy(0xfe)))return bl['replace']('language:','language-');if(bl['includes']('.')){let bn=bl['split']('.');return[''+bm+bn['shift'](),...bn['map']((bo,bp)=>''+bo+'_'['repeat'](bp+0x1))]['join']('\x20');}return''+bm+bl;},a9=class{constructor(bl,bm){const cz=b;this['buffer']='',this['classPrefix']=bm[cz(0x158)],bl['walk'](this);}['addText'](bl){this['buffer']+=a4(bl);}['openNode'](bl){if(!a7(bl))return;let bm=a8(bl['scope'],{'prefix':this['classPrefix']});this['span'](bm);}['closeNode'](bl){a7(bl)&&(this['buffer']+=a6);}['value'](){return this['buffer'];}['span'](bl){this['buffer']+='<span\x20class=\x22'+bl+'\x22>';}},aa=(bl={})=>{let bm={'children':[]};return Object['assign'](bm,bl),bm;},ab=class bl{constructor(){const cA=b;this[cA(0x168)]=aa(),this['stack']=[this['rootNode']];}get['top'](){const cB=b;return this['stack'][this[cB(0xfd)]['length']-0x1];}get['root'](){const cC=b;return this[cC(0x168)];}['add'](bm){this['top']['children']['push'](bm);}['openNode'](bm){let bn=aa({'scope':bm});this['add'](bn),this['stack']['push'](bn);}['closeNode'](){if(this['stack']['length']>0x1)return this['stack']['pop']();}['closeAllNodes'](){for(;this['closeNode'](););}['toJSON'](){return JSON['stringify'](this['rootNode'],null,0x4);}['walk'](bm){return this['constructor']['_walk'](bm,this['rootNode']);}static[cD(0x128)](bm,bn){const cE=cD;return typeof bn=='string'?bm['addText'](bn):bn['children']&&(bm['openNode'](bn),bn['children']['forEach'](bo=>this[cE(0x128)](bm,bo)),bm['closeNode'](bn)),bm;}static['_collapse'](bm){const cF=cD;typeof bm!='string'&&bm['children']&&(bm['children']['every'](bn=>typeof bn==cF(0xfb))?bm['children']=[bm['children']['join']('')]:bm['children']['forEach'](bn=>{const cG=cF;bl[cG(0x117)](bn);}));}},ac=class extends ab{constructor(bm){super(),this['options']=bm;}['addText'](bm){bm!==''&&this['add'](bm);}['startScope'](bm){this['openNode'](bm);}['endScope'](){this['closeNode']();}['__addSublanguage'](bm,bn){let bo=bm['root'];bn&&(bo['scope']='language:'+bn),this['add'](bo);}['toHTML'](){return new a9(this,this['options'])['value']();}[cD(0x10d)](){const cH=cD;return this[cH(0x146)](),!0x0;}};function ad(bm){const cI=cD;return bm?typeof bm=='string'?bm:bm[cI(0x14b)]:null;}function af(bm){return ai('(?=',bm,')');}function ag(bm){return ai('(?:',bm,')*');}function ah(bm){return ai('(?:',bm,')?');}function ai(...bm){return bm['map'](bn=>ad(bn))['join']('');}function aj(bm){const cJ=cD;let bn=bm[bm['length']-0x1];return typeof bn=='object'&&bn['constructor']===Object?(bm['splice'](bm[cJ(0x111)]-0x1,0x1),bn):{};}function ak(...bm){const cK=cD;return'('+(aj(bm)['capture']?'':'?:')+bm['map'](bn=>ad(bn))[cK(0x15b)]('|')+')';}function al(bm){return RegExp(bm['toString']()+'|')['exec']('')['length']-0x1;}function am(bm,bn){let bo=bm&&bm['exec'](bn);return bo&&bo['index']===0x0;}var an=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ao(bm,{joinWith:bn}){let bo=0x0;return bm['map'](bp=>{const cL=b;bo+=0x1;let bq=bo,br=ad(bp),bs='';for(;br['length']>0x0;){let bt=an['exec'](br);if(!bt){bs+=br;break;}bs+=br['substring'](0x0,bt['index']),br=br[cL(0x11b)](bt['index']+bt[0x0]['length']),bt[0x0][0x0]==='\x5c'&&bt[0x1]?bs+='\x5c'+String(Number(bt[0x1])+bq):(bs+=bt[0x0],bt[0x0]==='('&&bo++);}return bs;})['map'](bp=>'('+bp+')')['join'](bn);}var ap=/\b\B/,aq='[a-zA-Z]\x5cw*',ar='[a-zA-Z_]\x5cw*',as='\x5cb\x5cd+(\x5c.\x5cd+)?',at='(-?)(\x5cb0[xX][a-fA-F0-9]+|(\x5cb\x5cd+(\x5c.\x5cd*)?|\x5c.\x5cd+)([eE][-+]?\x5cd+)?)',au=cD(0x113),av='!|!=|!==|%|%=|&|&&|&=|\x5c*|\x5c*=|\x5c+|\x5c+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\x5c?|\x5c[|\x5c{|\x5c(|\x5c^|\x5c^=|\x5c||\x5c|=|\x5c|\x5c||~',aw=(bm={})=>{const cM=cD;let bn=/^#![ ]*\//;return bm[cM(0x144)]&&(bm['begin']=ai(bn,/.*\b/,bm['binary'],/\b.*/)),a5({'scope':'meta','begin':bn,'end':/$/,'relevance':0x0,'on:begin':(bo,bp)=>{const cN=cM;bo[cN(0x100)]!==0x0&&bp['ignoreMatch']();}},bm);},ax={'begin':'\x5c\x5c[\x5cs\x5cS]','relevance':0x0},ay={'scope':'string','begin':'\x27','end':'\x27','illegal':'\x5cn','contains':[ax]},az={'scope':'string','begin':'\x22','end':'\x22','illegal':'\x5cn','contains':[ax]},aA={'begin':/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},aB=function(bm,bn,bo={}){const cO=cD;let bp=a5({'scope':'comment','begin':bm,'end':bn,'contains':[]},bo);bp['contains'][cO(0x104)]({'scope':'doctag','begin':'[\x20]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)','end':/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,'excludeBegin':!0x0,'relevance':0x0});let bq=ak('I','a','is','so','us','to','at','if','in','it','on',/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return bp['contains']['push']({'begin':ai(/[ ]+/,'(',bq,/[.]?[:]?([.][ ]|[ ])/,'){3}')}),bp;},aC=aB('//','$'),aD=aB('/\x5c*','\x5c*/'),aE=aB('#','$'),aF={'scope':'number','begin':as,'relevance':0x0},aG={'scope':'number','begin':at,'relevance':0x0},aH={'scope':cD(0x153),'begin':au,'relevance':0x0},aI={'scope':'regexp','begin':/\/(?=[^/\n]*\/)/,'end':/\/[gimuy]*/,'contains':[ax,{'begin':/\[/,'end':/\]/,'relevance':0x0,'contains':[ax]}]},aJ={'scope':'title','begin':aq,'relevance':0x0},aK={'scope':'title','begin':ar,'relevance':0x0},aL={'begin':'\x5c.\x5cs*'+ar,'relevance':0x0},aM=Object[cD(0x135)]({'__proto__':null,'APOS_STRING_MODE':ay,'BACKSLASH_ESCAPE':ax,'BINARY_NUMBER_MODE':aH,'BINARY_NUMBER_RE':au,'COMMENT':aB,'C_BLOCK_COMMENT_MODE':aD,'C_LINE_COMMENT_MODE':aC,'C_NUMBER_MODE':aG,'C_NUMBER_RE':at,'END_SAME_AS_BEGIN':function(bm){return Object['assign'](bm,{'on:begin':(bn,bo)=>{bo['data']['_beginMatch']=bn[0x1];},'on:end':(bn,bo)=>{const cP=b;bo['data']['_beginMatch']!==bn[0x1]&&bo[cP(0x14a)]();}});},'HASH_COMMENT_MODE':aE,'IDENT_RE':aq,'MATCH_NOTHING_RE':ap,'METHOD_GUARD':aL,'NUMBER_MODE':aF,'NUMBER_RE':as,'PHRASAL_WORDS_MODE':aA,'QUOTE_STRING_MODE':az,'REGEXP_MODE':aI,'RE_STARTERS_RE':av,'SHEBANG':aw,'TITLE_MODE':aJ,'UNDERSCORE_IDENT_RE':ar,'UNDERSCORE_TITLE_MODE':aK});function aN(bm,bn){bm['input'][bm['index']-0x1]==='.'&&bn['ignoreMatch']();}function aO(bm,bn){const cQ=cD;bm['className']!==void 0x0&&(bm[cQ(0x10f)]=bm['className'],delete bm[cQ(0x105)]);}function aP(bm,bn){const cR=cD;bn&&bm[cR(0x11c)]&&(bm['begin']='\x5cb('+bm['beginKeywords'][cR(0x127)]('\x20')['join']('|')+')(?!\x5c.)(?=\x5cb|\x5cs)',bm['__beforeBegin']=aN,bm['keywords']=bm['keywords']||bm['beginKeywords'],delete bm['beginKeywords'],bm['relevance']===void 0x0&&(bm['relevance']=0x0));}function aQ(bm,bn){Array['isArray'](bm['illegal'])&&(bm['illegal']=ak(...bm['illegal']));}function aR(bm,bn){const cS=cD;if(bm['match']){if(bm[cS(0x167)]||bm['end'])throw Error('begin\x20&\x20end\x20are\x20not\x20supported\x20with\x20match');bm['begin']=bm['match'],delete bm['match'];}}function aS(bm,bn){bm['relevance']===void 0x0&&(bm['relevance']=0x1);}var aT=(bm,bn)=>{const cT=cD;if(!bm['beforeMatch'])return;if(bm['starts'])throw Error(cT(0x138));let bo=Object['assign']({},bm);Object['keys'](bm)['forEach'](bp=>{delete bm[bp];}),bm['keywords']=bo['keywords'],bm[cT(0x167)]=ai(bo['beforeMatch'],af(bo['begin'])),bm[cT(0x10a)]={'relevance':0x0,'contains':[Object['assign'](bo,{'endsParent':!0x0})]},bm[cT(0x11e)]=0x0,delete bo['beforeMatch'];},aU=['of',cD(0x130),'for','in','not','or','if','then','parent','list','value'],aV='keyword';function aW(bm,bn,bo=aV){let bp=Object['create'](null);return typeof bm=='string'?bq(bo,bm['split']('\x20')):Array['isArray'](bm)?bq(bo,bm):Object['keys'](bm)['forEach'](function(br){Object['assign'](bp,aW(bm[br],bn,br));}),bp;function bq(br,bs){bn&&(bs=bs['map'](bt=>bt['toLowerCase']())),bs['forEach'](function(bt){const cU=b;let bu=bt[cU(0x127)]('|');bp[bu[0x0]]=[br,aX(bu[0x0],bu[0x1])];});}}function aX(bm,bn){return bn?Number(bn):+!aY(bm);}function aY(bm){const cV=cD;return aU[cV(0xff)](bm[cV(0x121)]());}var aZ={},b0=bm=>{console['error'](bm);},b1=(bm,...bn)=>{console['log']('WARN:\x20'+bm,...bn);},b2=(bm,bn)=>{aZ[bm+'/'+bn]||(console['log']('Deprecated\x20as\x20of\x20'+bm+'.\x20'+bn),aZ[bm+'/'+bn]=!0x0);},b3=Error();function b4(bm,bn,{key:bo}){const cW=cD;let bp=0x0,bq=bm[bo],br={},bs={};for(let bt=0x1;bt<=bn['length'];bt++)bs[bt+bp]=bq[bt],br[bt+bp]=!0x0,bp+=al(bn[bt-0x1]);bm[bo]=bs,bm[bo][cW(0x155)]=br,bm[bo]['_multi']=!0x0;}function b5(bm){const cX=cD;if(Array['isArray'](bm['begin'])){if(bm['skip']||bm['excludeBegin']||bm['returnBegin'])throw b0('skip,\x20excludeBegin,\x20returnBegin\x20not\x20compatible\x20with\x20beginScope:\x20{}'),b3;if(typeof bm['beginScope']!=cX(0x136)||bm['beginScope']===null)throw b0('beginScope\x20must\x20be\x20object'),b3;b4(bm,bm['begin'],{'key':'beginScope'}),bm['begin']=ao(bm[cX(0x167)],{'joinWith':''});}}function b6(bm){const cY=cD;if(Array[cY(0x14e)](bm['end'])){if(bm['skip']||bm[cY(0x124)]||bm[cY(0x145)])throw b0('skip,\x20excludeEnd,\x20returnEnd\x20not\x20compatible\x20with\x20endScope:\x20{}'),b3;if(typeof bm[cY(0x14c)]!='object'||bm['endScope']===null)throw b0('endScope\x20must\x20be\x20object'),b3;b4(bm,bm['end'],{'key':'endScope'}),bm['end']=ao(bm['end'],{'joinWith':''});}}function b7(bm){const cZ=cD;bm['scope']&&typeof bm['scope']=='object'&&bm[cZ(0x10f)]!==null&&(bm['beginScope']=bm['scope'],delete bm['scope']);}function b8(bm){const d0=cD;b7(bm),typeof bm['beginScope']=='string'&&(bm['beginScope']={'_wrap':bm['beginScope']}),typeof bm[d0(0x14c)]==d0(0xfb)&&(bm['endScope']={'_wrap':bm['endScope']}),b5(bm),b6(bm);}function b9(bm){const d3=cD;function bn(bs,bt){return new RegExp(ad(bs),'m'+(bm['case_insensitive']?'i':'')+(bm['unicodeRegex']?'u':'')+(bt?'g':''));}class bo{constructor(){const d1=b;this['matchIndexes']={},this[d1(0x15c)]=[],this['matchAt']=0x1,this['position']=0x0;}['addRule'](bs,bt){const d2=b;bt['position']=this['position']++,this[d2(0x157)][this[d2(0x160)]]=bt,this['regexes']['push']([bt,bs]),this[d2(0x160)]+=al(bs)+0x1;}['compile'](){this['regexes']['length']===0x0&&(this['exec']=()=>null);let bs=this['regexes']['map'](bt=>bt[0x1]);this['matcherRe']=bn(ao(bs,{'joinWith':'|'}),!0x0),this['lastIndex']=0x0;}[d3(0x13a)](bs){const d4=d3;this[d4(0x13e)]['lastIndex']=this['lastIndex'];let bt=this['matcherRe']['exec'](bs);if(!bt)return null;let bu=bt['findIndex']((bw,bx)=>bx>0x0&&bw!==void 0x0),bv=this['matchIndexes'][bu];return bt[d4(0x139)](0x0,bu),Object['assign'](bt,bv);}}class bp{constructor(){this['rules']=[],this['multiRegexes']=[],this['count']=0x0,this['lastIndex']=0x0,this['regexIndex']=0x0;}[d3(0x156)](bs){const d5=d3;if(this['multiRegexes'][bs])return this['multiRegexes'][bs];let bt=new bo();return this['rules'][d5(0x137)](bs)['forEach'](([bu,bv])=>bt[d5(0x132)](bu,bv)),bt['compile'](),this['multiRegexes'][bs]=bt,bt;}['resumingScanAtSamePosition'](){return this['regexIndex']!==0x0;}['considerAll'](){this['regexIndex']=0x0;}['addRule'](bs,bt){const d6=d3;this['rules']['push']([bs,bt]),bt[d6(0x12e)]==='begin'&&this['count']++;}['exec'](bs){const d7=d3;let bt=this['getMatcher'](this['regexIndex']);bt['lastIndex']=this['lastIndex'];let bu=bt['exec'](bs);if(this['resumingScanAtSamePosition']()&&!(bu&&bu['index']===this['lastIndex'])){let bv=this['getMatcher'](0x0);bv[d7(0x142)]=this['lastIndex']+0x1,bu=bv[d7(0x13a)](bs);}return bu&&(this[d7(0x123)]+=bu['position']+0x1,this['regexIndex']===this['count']&&this['considerAll']()),bu;}}function bq(bs){const d8=d3;let bt=new bp();return bs['contains']['forEach'](bu=>bt['addRule'](bu[d8(0x167)],{'rule':bu,'type':d8(0x167)})),bs['terminatorEnd']&&bt['addRule'](bs['terminatorEnd'],{'type':'end'}),bs[d8(0x119)]&&bt['addRule'](bs['illegal'],{'type':d8(0x119)}),bt;}function br(bs,bt){const d9=d3;let bu=bs;if(bs['isCompiled'])return bu;[aO,aR,b8,aT]['forEach'](bw=>bw(bs,bt)),bm['compilerExtensions']['forEach'](bw=>bw(bs,bt)),bs['__beforeBegin']=null,[aP,aQ,aS]['forEach'](bw=>bw(bs,bt)),bs[d9(0x116)]=!0x0;let bv=null;return typeof bs['keywords']=='object'&&bs[d9(0x13d)]['$pattern']&&(bs['keywords']=Object['assign']({},bs['keywords']),bv=bs['keywords']['$pattern'],delete bs['keywords']['$pattern']),bv=bv||/\w+/,bs['keywords']&&(bs[d9(0x13d)]=aW(bs['keywords'],bm['case_insensitive'])),bu['keywordPatternRe']=bn(bv,!0x0),bt&&(bs['begin']||(bs[d9(0x167)]=/\B|\b/),bu['beginRe']=bn(bu['begin']),!bs[d9(0x131)]&&!bs['endsWithParent']&&(bs['end']=/\B|\b/),bs['end']&&(bu['endRe']=bn(bu[d9(0x131)])),bu['terminatorEnd']=ad(bu['end'])||'',bs['endsWithParent']&&bt['terminatorEnd']&&(bu['terminatorEnd']+=(bs['end']?'|':'')+bt['terminatorEnd'])),bs['illegal']&&(bu[d9(0x166)]=bn(bs['illegal'])),bs['contains']||(bs['contains']=[]),bs['contains']=[][d9(0x14d)](...bs['contains']['map'](function(bw){return bb(bw==='self'?bs:bw);})),bs['contains']['forEach'](function(bw){br(bw,bu);}),bs[d9(0x10a)]&&br(bs['starts'],bt),bu['matcher']=bq(bu),bu;}if(bm['compilerExtensions']||(bm['compilerExtensions']=[]),bm[d3(0x102)]&&bm['contains'][d3(0xff)]('self'))throw Error('ERR:\x20contains\x20`self`\x20is\x20not\x20supported\x20at\x20the\x20top-level\x20of\x20a\x20language.\x20\x20See\x20documentation.');return bm['classNameAliases']=a5(bm['classNameAliases']||{}),br(bm);}function ba(bm){return bm?bm['endsWithParent']||ba(bm['starts']):!0x1;}function bb(bm){const da=cD;return bm['variants']&&!bm['cachedVariants']&&(bm['cachedVariants']=bm['variants']['map'](function(bn){return a5(bm,{'variants':null},bn);})),bm[da(0x140)]?bm['cachedVariants']:ba(bm)?a5(bm,{'starts':bm[da(0x10a)]?a5(bm['starts']):null}):Object['isFrozen'](bm)?a5(bm):bm;}var bc='11.11.1',bd=class extends Error{constructor(bm,bn){super(bm),this['name']='HTMLInjectionError',this['html']=bn;}},bf=a4,bg=a5,bh=Symbol(cD(0x10c)),bi=0x7,bj=function(bm){const db=cD;let bn=Object[db(0x109)](null),bo=Object['create'](null),bp=[],bq=!0x0,br='Could\x20not\x20find\x20the\x20language\x20\x27{}\x27,\x20did\x20you\x20forget\x20to\x20load/include\x20a\x20language\x20module?',bs={'disableAutodetect':!0x0,'name':'Plain\x20text','contains':[]},bt={'ignoreUnescapedHTML':!0x1,'throwUnescapedHTML':!0x1,'noHighlightRe':/^(no-?highlight)$/i,'languageDetectRe':/\blang(?:uage)?-([\w-]+)\b/i,'classPrefix':'hljs-','cssSelector':db(0x15d),'languages':null,'__emitter':ac};function bu(bS){const dc=db;return bt['noHighlightRe'][dc(0x149)](bS);}function bv(bS){const dd=db;let bT=bS['className']+'\x20';bT+=bS['parentNode']?bS['parentNode']['className']:'';let bU=bt['languageDetectRe']['exec'](bT);if(bU){let bV=bK(bU[0x1]);return bV||(b1(br['replace']('{}',bU[0x1])),b1('Falling\x20back\x20to\x20no-highlight\x20mode\x20for\x20this\x20block.',bS)),bV?bU[0x1]:dd(0x133);}return bT['split'](/\s+/)['find'](bW=>bu(bW)||bK(bW));}function bw(bS,bT,bU){const de=db;let bV='',bW='';typeof bT=='object'?(bV=bS,bU=bT['ignoreIllegals'],bW=bT['language']):(b2('10.7.0','highlight(lang,\x20code,\x20...args)\x20has\x20been\x20deprecated.'),b2('10.7.0','Please\x20use\x20highlight(code,\x20options)\x20instead.\x0ahttps://github.com/highlightjs/highlight.js/issues/2277'),bW=bS,bV=bT),bU===void 0x0&&(bU=!0x0);let bX={'code':bV,'language':bW};bQ('before:highlight',bX);let bY=bX['result']?bX['result']:bx(bX[de(0x11d)],bX['code'],bU);return bY['code']=bX['code'],bQ('after:highlight',bY),bY;}function bx(bS,bT,bU,bV){const dp=db;let bW=Object['create'](null);function bX(cn,co){return cn['keywords'][co];}function bY(){const df=b;if(!cf['keywords']){ch[df(0x159)](ci);return;}let cn=0x0;cf['keywordPatternRe']['lastIndex']=0x0;let co=cf['keywordPatternRe']['exec'](ci),cp='';for(;co;){cp+=ci['substring'](cn,co['index']);let cq=cb['case_insensitive']?co[0x0]['toLowerCase']():co[0x0],cr=bX(cf,cq);if(cr){let [cs,ct]=cr;if(ch['addText'](cp),cp='',bW[cq]=(bW[cq]||0x0)+0x1,bW[cq]<=bi&&(cj+=ct),cs[df(0x161)]('_'))cp+=co[0x0];else{let cu=cb[df(0x15f)][cs]||cs;c1(co[0x0],cu);}}else cp+=co[0x0];cn=cf['keywordPatternRe']['lastIndex'],co=cf[df(0x12c)]['exec'](ci);}cp+=ci['substring'](cn),ch['addText'](cp);}function bZ(){const dg=b;if(ci==='')return;let cn=null;if(typeof cf['subLanguage']=='string'){if(!bn[cf[dg(0x120)]]){ch['addText'](ci);return;}cn=bx(cf['subLanguage'],ci,!0x0,cg[cf['subLanguage']]),cg[cf[dg(0x120)]]=cn['_top'];}else cn=bz(ci,cf['subLanguage']['length']?cf['subLanguage']:null);cf['relevance']>0x0&&(cj+=cn['relevance']),ch['__addSublanguage'](cn['_emitter'],cn[dg(0x11d)]);}function c0(){cf['subLanguage']==null?bY():bZ(),ci='';}function c1(cn,co){const dh=b;cn!==''&&(ch['startScope'](co),ch['addText'](cn),ch[dh(0x14c)]());}function c2(cn,co){const di=b;let cp=0x1,cq=co['length']-0x1;for(;cp<=cq;){if(!cn[di(0x155)][cp]){cp++;continue;}let cr=cb['classNameAliases'][cn[cp]]||cn[cp],cs=co[cp];cr?c1(cs,cr):(ci=cs,bY(),ci=''),cp++;}}function c3(cn,co){const dj=b;return cn['scope']&&typeof cn['scope']=='string'&&ch['openNode'](cb['classNameAliases'][cn['scope']]||cn['scope']),cn['beginScope']&&(cn['beginScope']['_wrap']?(c1(ci,cb[dj(0x15f)][cn['beginScope']['_wrap']]||cn['beginScope']['_wrap']),ci=''):cn[dj(0x107)]['_multi']&&(c2(cn[dj(0x107)],co),ci='')),cf=Object['create'](cn,{'parent':{'value':cf}}),cf;}function c4(cn,co,cp){const dk=b;let cq=am(cn['endRe'],cp);if(cq){if(cn['on:end']){let cr=new a3(cn);cn['on:end'](co,cr),cr[dk(0x11f)]&&(cq=!0x1);}if(cq){for(;cn['endsParent']&&cn[dk(0x13c)];)cn=cn['parent'];return cn;}}if(cn[dk(0x13b)])return c4(cn[dk(0x13c)],co,cp);}function c5(cn){return cf['matcher']['regexIndex']===0x0?(ci+=cn[0x0],0x1):(cm=!0x0,0x0);}function c6(cn){const dl=b;let co=cn[0x0],cp=cn[dl(0x125)],cq=new a3(cp),cr=[cp['__beforeBegin'],cp['on:begin']];for(let cs of cr)if(cs&&(cs(cn,cq),cq['isMatchIgnored']))return c5(co);return cp['skip']?ci+=co:(cp['excludeBegin']&&(ci+=co),c0(),!cp['returnBegin']&&!cp['excludeBegin']&&(ci=co)),c3(cp,cn),cp['returnBegin']?0x0:co['length'];}function c7(cn){const dm=b;let co=cn[0x0],cp=bT['substring'](cn[dm(0x100)]),cq=c4(cf,cn,cp);if(!cq)return bh;let cr=cf;cf['endScope']&&cf['endScope']['_wrap']?(c0(),c1(co,cf['endScope']['_wrap'])):cf['endScope']&&cf[dm(0x14c)]['_multi']?(c0(),c2(cf['endScope'],cn)):cr['skip']?ci+=co:(cr['returnEnd']||cr['excludeEnd']||(ci+=co),c0(),cr['excludeEnd']&&(ci=co));do cf['scope']&&ch[dm(0x101)](),!cf['skip']&&!cf[dm(0x120)]&&(cj+=cf['relevance']),cf=cf['parent'];while(cf!==cq['parent']);return cq[dm(0x10a)]&&c3(cq[dm(0x10a)],cn),cr['returnEnd']?0x0:co['length'];}function c8(){let cn=[];for(let co=cf;co!==cb;co=co['parent'])co['scope']&&cn['unshift'](co['scope']);cn['forEach'](cp=>ch['openNode'](cp));}let c9={};function ca(cn,co){const dn=b;let cp=co&&co[0x0];if(ci+=cn,cp==null)return c0(),0x0;if(c9['type']==='begin'&&co['type']==='end'&&c9[dn(0x100)]===co['index']&&cp===''){if(ci+=bT['slice'](co['index'],co[dn(0x100)]+0x1),!bq){let cq=Error(dn(0x110)+bS+')');throw cq['languageName']=bS,cq['badRule']=c9['rule'],cq;}return 0x1;}if(c9=co,co[dn(0x12e)]==='begin')return c6(co);if(co['type']===dn(0x119)&&!bU){let cr=Error(dn(0x148)+cp+'\x22\x20for\x20mode\x20\x22'+(cf['scope']||dn(0x152))+'\x22');throw cr['mode']=cf,cr;}else{if(co['type']==='end'){let cs=c7(co);if(cs!==bh)return cs;}}if(co['type']==='illegal'&&cp==='')return ci+='\x0a',0x1;if(cl>0x186a0&&cl>co['index']*0x3)throw Error('potential\x20infinite\x20loop,\x20way\x20more\x20iterations\x20than\x20matches');return ci+=cp,cp[dn(0x111)];}let cb=bK(bS);if(!cb)throw b0(br[dp(0x15e)]('{}',bS)),Error('Unknown\x20language:\x20\x22'+bS+'\x22');let cc=b9(cb),cd='',cf=bV||cc,cg={},ch=new bt['__emitter'](bt);c8();let ci='',cj=0x0,ck=0x0,cl=0x0,cm=!0x1;try{if(cb['__emitTokens'])cb['__emitTokens'](bT,ch);else{for(cf['matcher']['considerAll']();;){cl++,cm?cm=!0x1:cf[dp(0x165)]['considerAll'](),cf['matcher']['lastIndex']=ck;let cn=cf['matcher'][dp(0x13a)](bT);if(!cn)break;let co=ca(bT['substring'](ck,cn['index']),cn);ck=cn['index']+co;}ca(bT['substring'](ck));}return ch['finalize'](),cd=ch['toHTML'](),{'language':bS,'value':cd,'relevance':cj,'illegal':!0x1,'_emitter':ch,'_top':cf};}catch(cp){if(cp[dp(0xfa)]&&cp['message']['includes']('Illegal'))return{'language':bS,'value':bf(bT),'illegal':!0x0,'relevance':0x0,'_illegalBy':{'message':cp['message'],'index':ck,'context':bT['slice'](ck-0x64,ck+0x64),'mode':cp['mode'],'resultSoFar':cd},'_emitter':ch};if(bq)return{'language':bS,'value':bf(bT),'illegal':!0x1,'relevance':0x0,'errorRaised':cp,'_emitter':ch,'_top':cf};throw cp;}}function by(bS){let bT={'value':bf(bS),'illegal':!0x1,'relevance':0x0,'_top':bs,'_emitter':new bt['__emitter'](bt)};return bT['_emitter']['addText'](bS),bT;}function bz(bS,bT){const dq=db;bT=bT||bt[dq(0x134)]||Object['keys'](bn);let bU=by(bS),bV=bT['filter'](bK)['filter'](bM)['map'](bZ=>bx(bZ,bS,!0x1));bV['unshift'](bU);let [bW,bX]=bV['sort']((bZ,c0)=>{const dr=dq;if(bZ['relevance']!==c0['relevance'])return c0['relevance']-bZ['relevance'];if(bZ['language']&&c0[dr(0x11d)]){if(bK(bZ['language'])['supersetOf']===c0['language'])return 0x1;if(bK(c0['language'])[dr(0x108)]===bZ['language'])return-0x1;}return 0x0;}),bY=bW;return bY[dq(0x12d)]=bX,bY;}function bA(bS,bT,bU){let bV=bT&&bo[bT]||bU;bS['classList']['add']('hljs'),bS['classList']['add']('language-'+bV);}function bB(bS){const ds=db;let bT=null,bU=bv(bS);if(bu(bU))return;if(bQ('before:highlightElement',{'el':bS,'language':bU}),bS[ds(0x150)][ds(0x151)]){console['log']('Element\x20previously\x20highlighted.\x20To\x20highlight\x20again,\x20first\x20unset\x20`dataset.highlighted`.',bS);return;}if(bS['children']['length']>0x0&&(bt['ignoreUnescapedHTML']||(console['warn']('One\x20of\x20your\x20code\x20blocks\x20includes\x20unescaped\x20HTML.\x20This\x20is\x20a\x20potentially\x20serious\x20security\x20risk.'),console['warn'](ds(0x147)),console['warn'](ds(0x11a)),console['warn'](bS)),bt['throwUnescapedHTML']))throw new bd('One\x20of\x20your\x20code\x20blocks\x20includes\x20unescaped\x20HTML.',bS['innerHTML']);bT=bS;let bV=bT['textContent'],bW=bU?bw(bV,{'language':bU,'ignoreIllegals':!0x0}):bz(bV);bS['innerHTML']=bW['value'],bS[ds(0x150)]['highlighted']='yes',bA(bS,bU,bW[ds(0x11d)]),bS[ds(0x103)]={'language':bW['language'],'re':bW['relevance'],'relevance':bW['relevance']},bW['secondBest']&&(bS[ds(0x12d)]={'language':bW['secondBest']['language'],'relevance':bW['secondBest']['relevance']}),bQ('after:highlightElement',{'el':bS,'result':bW,'text':bV});}function bC(bS){bt=bg(bt,bS);}let bD=()=>{const dt=db;bG(),b2(dt(0xfc),'initHighlighting()\x20deprecated.\x20\x20Use\x20highlightAll()\x20now.');};function bE(){const du=db;bG(),b2(du(0xfc),'initHighlightingOnLoad()\x20deprecated.\x20\x20Use\x20highlightAll()\x20now.');}let bF=!0x1;function bG(){const dv=db;function bS(){bG();}if(document[dv(0x114)]==='loading'){bF||window[dv(0x169)]('DOMContentLoaded',bS,!0x1),bF=!0x0;return;}document[dv(0x106)](bt['cssSelector'])[dv(0x162)](bB);}function bH(bS,bT){let bU=null;try{bU=bT(bm);}catch(bV){if(b0('Language\x20definition\x20for\x20\x27{}\x27\x20could\x20not\x20be\x20registered.'['replace']('{}',bS)),bq)b0(bV);else throw bV;bU=bs;}bU['name']||(bU['name']=bS),bn[bS]=bU,bU['rawDefinition']=bT['bind'](null,bm),bU['aliases']&&bL(bU['aliases'],{'languageName':bS});}function bI(bS){delete bn[bS];for(let bT of Object['keys'](bo))bo[bT]===bS&&delete bo[bT];}function bJ(){return Object['keys'](bn);}function bK(bS){return bS=(bS||'')['toLowerCase'](),bn[bS]||bn[bo[bS]];}function bL(bS,{languageName:bT}){typeof bS=='string'&&(bS=[bS]),bS['forEach'](bU=>{const dw=b;bo[bU[dw(0x121)]()]=bT;});}function bM(bS){let bT=bK(bS);return bT&&!bT['disableAutodetect'];}function bN(bS){bS['before:highlightBlock']&&!bS['before:highlightElement']&&(bS['before:highlightElement']=bT=>{bS['before:highlightBlock'](Object['assign']({'block':bT['el']},bT));}),bS['after:highlightBlock']&&!bS['after:highlightElement']&&(bS['after:highlightElement']=bT=>{const dx=b;bS[dx(0x164)](Object['assign']({'block':bT['el']},bT));});}function bO(bS){bN(bS),bp['push'](bS);}function bP(bS){let bT=bp['indexOf'](bS);bT!==-0x1&&bp['splice'](bT,0x1);}function bQ(bS,bT){let bU=bS;bp['forEach'](function(bV){bV[bU]&&bV[bU](bT);});}function bR(bS){return b2('10.7.0','highlightBlock\x20will\x20be\x20removed\x20entirely\x20in\x20v12.0'),b2('10.7.0','Please\x20use\x20highlightElement\x20now.'),bB(bS);}Object['assign'](bm,{'highlight':bw,'highlightAuto':bz,'highlightAll':bG,'highlightElement':bB,'highlightBlock':bR,'configure':bC,'initHighlighting':bD,'initHighlightingOnLoad':bE,'registerLanguage':bH,'unregisterLanguage':bI,'listLanguages':bJ,'getLanguage':bK,'registerAliases':bL,'autoDetection':bM,'inherit':bg,'addPlugin':bO,'removePlugin':bP}),bm['debugMode']=function(){bq=!0x1;},bm['safeMode']=function(){bq=!0x0;},bm['versionString']=bc,bm[db(0x10e)]={'concat':ai,'lookahead':af,'either':ak,'optional':ah,'anyNumberOfTimes':ag};for(let bS in aM)typeof aM[bS]=='object'&&a2(aM[bS]);return Object[db(0x163)](bm,aM),bm;},bk=bj({});bk[cD(0x15a)]=()=>bj({}),a1[cD(0x12b)]=bk,bk[cD(0x12f)]=bk,bk['default']=bk;})())['default'];function a(){const dy=['<unnamed>','number','12wQXiEy','_emit','getMatcher','matchIndexes','classPrefix','addText','newInstance','join','regexes','pre\x20code','replace','classNameAliases','matchAt','startsWith','forEach','assign','after:highlightBlock','matcher','illegalRe','begin','rootNode','addEventListener','1750869cGMCcP','message','string','10.6.0','stack','language:','includes','index','closeNode','contains','result','push','className','querySelectorAll','beginScope','supersetOf','create','starts','154pIvOSx','nomatch','finalize','regex','scope','0\x20width\x20match\x20regex\x20(','length','<','\x5cb(0b[01]+)','readyState','5275040wsWByc','isCompiled','_collapse','625144nnjEZu','illegal','The\x20element\x20with\x20unescaped\x20HTML:','substring','beginKeywords','language','relevance','isMatchIgnored','subLanguage','toLowerCase','9733440rzMHHn','regexIndex','excludeEnd','rule','&','split','_walk','9845955mlrPdc','618262gKqgIi','exports','keywordPatternRe','secondBest','type','HighlightJS','and','end','addRule','no-highlight','languages','freeze','object','slice','beforeMatch\x20cannot\x20be\x20used\x20with\x20starts','splice','exec','endsWithParent','parent','keywords','matcherRe','getOwnPropertyNames','cachedVariants','>','lastIndex','6PfRhnT','binary','returnEnd','closeAllNodes','https://github.com/highlightjs/highlight.js/wiki/security','Illegal\x20lexeme\x20\x22','test','ignoreMatch','source','endScope','concat','isArray','398915boBqGD','dataset','highlighted'];a=function(){return dy;};return a();}export{n as default};
|
|
1
|
+
function a(){const dy=['variants','Deprecated\x20as\x20of\x20','parent','aliases','_wrap','getOwnPropertyNames','WARN:\x20','/\x5c*','push','length','ERR:\x20contains\x20`self`\x20is\x20not\x20supported\x20at\x20the\x20top-level\x20of\x20a\x20language.\x20\x20See\x20documentation.','resumingScanAtSamePosition','721656NJlCUj','join','6525332ihSGmc','$pattern','endsWithParent','scope','keywords','map','closeNode','ignoreIllegals','1168836bCKSyW','isArray','stack','exec','skip,\x20excludeBegin,\x20returnBegin\x20not\x20compatible\x20with\x20beginScope:\x20{}','endScope','for','matchAt','beginScope','languageDetectRe','secondBest','contains','14gvHUyX','toLowerCase','illegal','on:begin','number','2206XtKpoc','subLanguage','453TMhMhf','277178fWkDyr','split','classNameAliases','before:highlight','keywordPatternRe','lastIndex','className','matchIndexes','terminatorEnd','language','source','Unknown\x20language:\x20\x22','startScope','Illegal','keys','excludeEnd','multiRegexes','compile','innerHTML','excludeBegin','Falling\x20back\x20to\x20no-highlight\x20mode\x20for\x20this\x20block.','starts','compilerExtensions','beginKeywords','string','data','index','3600530xkYUFp','buffer','code','__emitTokens','includes','forEach','disableAutodetect','One\x20of\x20your\x20code\x20blocks\x20includes\x20unescaped\x20HTML.','substring','\x5cb(0b[01]+)','rules','end','6JtVlqF','type','addRule','considerAll','walk','addText','replace','10.7.0','openNode','_collapse','classPrefix','_emit','filter','Illegal\x20lexeme\x20\x22','1320408zgrQEP','value','querySelectorAll','relevance','begin','skip','\x5c.\x5cs*[a-zA-Z_]\x5cw*','potential\x20infinite\x20loop,\x20way\x20more\x20iterations\x20than\x20matches','name','10RIffvX','begin\x20&\x20end\x20are\x20not\x20supported\x20with\x20match','shift','add','parentNode','>','input','badRule','before:highlightBlock','cachedVariants'];a=function(){return dy;};return a();}(function(d,f){const cn=b,g=d();while(!![]){try{const h=parseInt(cn(0x124))/0x1+parseInt(cn(0x121))/0x2*(parseInt(cn(0x123))/0x3)+parseInt(cn(0x110))/0x4+-parseInt(cn(0x13f))/0x5*(-parseInt(cn(0x14b))/0x6)+-parseInt(cn(0x11c))/0x7*(parseInt(cn(0x106))/0x8)+-parseInt(cn(0x159))/0x9+parseInt(cn(0xf0))/0xa*(-parseInt(cn(0x108))/0xb);if(h===f)break;else g['push'](g['shift']());}catch(i){g['push'](g['shift']());}}}(a,0x82c9c));import{o as c,t}from'./chunk.js';function b(c,d){c=c-0xed;const e=a();let f=e[c];return f;}var n=c(t((a0,a1)=>{const cu=b;function a2(bd){const co=b;return bd instanceof Map?bd['clear']=bd['delete']=bd['set']=function(){throw Error('map\x20is\x20read-only');}:bd instanceof Set&&(bd['add']=bd['clear']=bd['delete']=function(){throw Error('set\x20is\x20read-only');}),Object['freeze'](bd),Object[co(0xff)](bd)[co(0x144)](be=>{let bf=bd[be],bg=typeof bf;(bg==='object'||bg==='function')&&!Object['isFrozen'](bf)&&a2(bf);}),bd;}var a3=class{constructor(bd){const cp=b;bd['data']===void 0x0&&(bd[cp(0x13d)]={}),this[cp(0x13d)]=bd['data'],this['isMatchIgnored']=!0x1;}['ignoreMatch'](){this['isMatchIgnored']=!0x0;}};function a4(bd){const cq=b;return bd['replace'](/&/g,'&')[cq(0x151)](/</g,'<')['replace'](/>/g,cq(0xf5))[cq(0x151)](/"/g,'"')['replace'](/'/g,''');}function a5(bd,...be){let bf=Object['create'](null);for(let bg in bd)bf[bg]=bd[bg];return be['forEach'](function(bh){for(let bi in bh)bf[bi]=bh[bi];}),bf;}var a6='</span>',a7=bd=>!!bd['scope'],a8=(bd,{prefix:be})=>{const cr=b;if(bd['startsWith']('language:'))return bd[cr(0x151)]('language:','language-');if(bd['includes']('.')){let bf=bd[cr(0x125)]('.');return[''+be+bf[cr(0xf2)](),...bf['map']((bg,bh)=>''+bg+'_'['repeat'](bh+0x1))]['join']('\x20');}return''+be+bd;},a9=class{constructor(bd,be){const cs=b;this[cs(0x140)]='',this[cs(0x155)]=be['classPrefix'],bd[cs(0x14f)](this);}['addText'](bd){const ct=b;this[ct(0x140)]+=a4(bd);}[cu(0x153)](bd){const cv=cu;if(!a7(bd))return;let be=a8(bd[cv(0x10b)],{'prefix':this['classPrefix']});this['span'](be);}['closeNode'](bd){const cw=cu;a7(bd)&&(this[cw(0x140)]+=a6);}['value'](){return this['buffer'];}['span'](bd){const cx=cu;this[cx(0x140)]+='<span\x20class=\x22'+bd+'\x22>';}},aa=(bd={})=>{let be={'children':[]};return Object['assign'](be,bd),be;},ab=class bd{constructor(){this['rootNode']=aa(),this['stack']=[this['rootNode']];}get['top'](){const cy=cu;return this['stack'][this['stack'][cy(0x103)]-0x1];}get['root'](){return this['rootNode'];}['add'](be){this['top']['children']['push'](be);}[cu(0x153)](be){const cz=cu;let bf=aa({'scope':be});this['add'](bf),this['stack'][cz(0x102)](bf);}[cu(0x10e)](){const cA=cu;if(this['stack']['length']>0x1)return this[cA(0x112)]['pop']();}['closeAllNodes'](){for(;this['closeNode'](););}['toJSON'](){return JSON['stringify'](this['rootNode'],null,0x4);}[cu(0x14f)](be){return this['constructor']['_walk'](be,this['rootNode']);}static['_walk'](be,bf){return typeof bf=='string'?be['addText'](bf):bf['children']&&(be['openNode'](bf),bf['children']['forEach'](bg=>this['_walk'](be,bg)),be['closeNode'](bf)),be;}static[cu(0x154)](be){const cB=cu;typeof be!=cB(0x13c)&&be['children']&&(be['children']['every'](bf=>typeof bf=='string')?be['children']=[be['children']['join']('')]:be['children']['forEach'](bf=>{bd['_collapse'](bf);}));}},ac=class extends ab{constructor(be){super(),this['options']=be;}[cu(0x150)](be){const cC=cu;be!==''&&this[cC(0xf3)](be);}[cu(0x130)](be){this['openNode'](be);}[cu(0x115)](){this['closeNode']();}['__addSublanguage'](be,bf){let bg=be['root'];bf&&(bg['scope']='language:'+bf),this['add'](bg);}['toHTML'](){const cD=cu;return new a9(this,this['options'])[cD(0x15a)]();}['finalize'](){return this['closeAllNodes'](),!0x0;}};function ad(be){const cE=cu;return be?typeof be=='string'?be:be[cE(0x12e)]:null;}function af(be){return ai('(?=',be,')');}function ag(be){return ai('(?:',be,')*');}function ah(be){return ai('(?:',be,')?');}function ai(...be){return be['map'](bf=>ad(bf))['join']('');}function aj(be){const cF=cu;let bf=be[be[cF(0x103)]-0x1];return typeof bf=='object'&&bf['constructor']===Object?(be['splice'](be['length']-0x1,0x1),bf):{};}function ak(...be){const cG=cu;return'('+(aj(be)['capture']?'':'?:')+be[cG(0x10d)](bf=>ad(bf))['join']('|')+')';}function al(be){return RegExp(be['toString']()+'|')['exec']('')['length']-0x1;}function am(be,bf){let bg=be&&be['exec'](bf);return bg&&bg['index']===0x0;}var an=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ao(be,{joinWith:bf}){const cI=cu;let bg=0x0;return be['map'](bh=>{const cH=b;bg+=0x1;let bi=bg,bj=ad(bh),bk='';for(;bj['length']>0x0;){let bl=an['exec'](bj);if(!bl){bk+=bj;break;}bk+=bj['substring'](0x0,bl[cH(0x13e)]),bj=bj[cH(0x147)](bl[cH(0x13e)]+bl[0x0][cH(0x103)]),bl[0x0][0x0]==='\x5c'&&bl[0x1]?bk+='\x5c'+String(Number(bl[0x1])+bi):(bk+=bl[0x0],bl[0x0]==='('&&bg++);}return bk;})['map'](bh=>'('+bh+')')[cI(0x107)](bf);}var ap=/\b\B/,aq='[a-zA-Z]\x5cw*',ar='[a-zA-Z_]\x5cw*',as='\x5cb\x5cd+(\x5c.\x5cd+)?',at='(-?)(\x5cb0[xX][a-fA-F0-9]+|(\x5cb\x5cd+(\x5c.\x5cd*)?|\x5c.\x5cd+)([eE][-+]?\x5cd+)?)',au=cu(0x148),av='!|!=|!==|%|%=|&|&&|&=|\x5c*|\x5c*=|\x5c+|\x5c+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\x5c?|\x5c[|\x5c{|\x5c(|\x5c^|\x5c^=|\x5c||\x5c|=|\x5c|\x5c||~',aw=(be={})=>{let bf=/^#![ ]*\//;return be['binary']&&(be['begin']=ai(bf,/.*\b/,be['binary'],/\b.*/)),a5({'scope':'meta','begin':bf,'end':/$/,'relevance':0x0,'on:begin':(bg,bh)=>{bg['index']!==0x0&&bh['ignoreMatch']();}},be);},ax={'begin':'\x5c\x5c[\x5cs\x5cS]','relevance':0x0},ay={'scope':'string','begin':'\x27','end':'\x27','illegal':'\x5cn','contains':[ax]},az={'scope':'string','begin':'\x22','end':'\x22','illegal':'\x5cn','contains':[ax]},aA={'begin':/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},aB=function(be,bf,bg={}){const cJ=cu;let bh=a5({'scope':'comment','begin':be,'end':bf,'contains':[]},bg);bh[cJ(0x11b)]['push']({'scope':'doctag','begin':'[\x20]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)','end':/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,'excludeBegin':!0x0,'relevance':0x0});let bi=ak('I','a','is','so','us','to','at','if','in','it','on',/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return bh[cJ(0x11b)]['push']({'begin':ai(/[ ]+/,'(',bi,/[.]?[:]?([.][ ]|[ ])/,'){3}')}),bh;},aC=aB('//','$'),aD=aB(cu(0x101),'\x5c*/'),aE=aB('#','$'),aF=Object['freeze']({'__proto__':null,'APOS_STRING_MODE':ay,'BACKSLASH_ESCAPE':ax,'BINARY_NUMBER_MODE':{'scope':cu(0x120),'begin':au,'relevance':0x0},'BINARY_NUMBER_RE':au,'COMMENT':aB,'C_BLOCK_COMMENT_MODE':aD,'C_LINE_COMMENT_MODE':aC,'C_NUMBER_MODE':{'scope':'number','begin':at,'relevance':0x0},'C_NUMBER_RE':at,'END_SAME_AS_BEGIN':function(be){return Object['assign'](be,{'on:begin':(bf,bg)=>{bg['data']['_beginMatch']=bf[0x1];},'on:end':(bf,bg)=>{bg['data']['_beginMatch']!==bf[0x1]&&bg['ignoreMatch']();}});},'HASH_COMMENT_MODE':aE,'IDENT_RE':aq,'MATCH_NOTHING_RE':ap,'METHOD_GUARD':{'begin':cu(0xed),'relevance':0x0},'NUMBER_MODE':{'scope':'number','begin':as,'relevance':0x0},'NUMBER_RE':as,'PHRASAL_WORDS_MODE':aA,'QUOTE_STRING_MODE':az,'REGEXP_MODE':{'scope':'regexp','begin':/\/(?=[^/\n]*\/)/,'end':/\/[gimuy]*/,'contains':[ax,{'begin':/\[/,'end':/\]/,'relevance':0x0,'contains':[ax]}]},'RE_STARTERS_RE':av,'SHEBANG':aw,'TITLE_MODE':{'scope':'title','begin':aq,'relevance':0x0},'UNDERSCORE_IDENT_RE':ar,'UNDERSCORE_TITLE_MODE':{'scope':'title','begin':ar,'relevance':0x0}});function aG(be,bf){const cK=cu;be[cK(0xf6)][be[cK(0x13e)]-0x1]==='.'&&bf['ignoreMatch']();}function aH(be,bf){const cL=cu;be[cL(0x12a)]!==void 0x0&&(be['scope']=be[cL(0x12a)],delete be['className']);}function aI(be,bf){const cM=cu;bf&&be['beginKeywords']&&(be['begin']='\x5cb('+be['beginKeywords']['split']('\x20')['join']('|')+')(?!\x5c.)(?=\x5cb|\x5cs)',be['__beforeBegin']=aG,be['keywords']=be['keywords']||be['beginKeywords'],delete be[cM(0x13b)],be[cM(0x15c)]===void 0x0&&(be['relevance']=0x0));}function aJ(be,bf){const cN=cu;Array['isArray'](be[cN(0x11e)])&&(be['illegal']=ak(...be['illegal']));}function aK(be,bf){const cO=cu;if(be['match']){if(be['begin']||be['end'])throw Error(cO(0xf1));be['begin']=be['match'],delete be['match'];}}function aL(be,bf){be['relevance']===void 0x0&&(be['relevance']=0x1);}var aM=(be,bf)=>{const cP=cu;if(!be['beforeMatch'])return;if(be[cP(0x139)])throw Error('beforeMatch\x20cannot\x20be\x20used\x20with\x20starts');let bg=Object['assign']({},be);Object['keys'](be)['forEach'](bh=>{delete be[bh];}),be['keywords']=bg['keywords'],be['begin']=ai(bg['beforeMatch'],af(bg['begin'])),be['starts']={'relevance':0x0,'contains':[Object['assign'](bg,{'endsParent':!0x0})]},be['relevance']=0x0,delete bg['beforeMatch'];},aN=['of','and',cu(0x116),'in','not','or','if','then','parent','list','value'],aO='keyword';function aP(be,bf,bg=aO){const cQ=cu;let bh=Object['create'](null);return typeof be=='string'?bi(bg,be['split']('\x20')):Array[cQ(0x111)](be)?bi(bg,be):Object['keys'](be)['forEach'](function(bj){Object['assign'](bh,aP(be[bj],bf,bj));}),bh;function bi(bj,bk){const cR=cQ;bf&&(bk=bk['map'](bl=>bl['toLowerCase']())),bk[cR(0x144)](function(bl){let bm=bl['split']('|');bh[bm[0x0]]=[bj,aQ(bm[0x0],bm[0x1])];});}}function aQ(be,bf){return bf?Number(bf):+!aR(be);}function aR(be){const cS=cu;return aN[cS(0x143)](be['toLowerCase']());}var aS={},aT=be=>{console['error'](be);},aU=(be,...bf)=>{const cT=cu;console['log'](cT(0x100)+be,...bf);},aV=(be,bf)=>{const cU=cu;aS[be+'/'+bf]||(console['log'](cU(0xfb)+be+'.\x20'+bf),aS[be+'/'+bf]=!0x0);},aW=Error();function aX(be,bf,{key:bg}){const cV=cu;let bh=0x0,bi=be[bg],bj={},bk={};for(let bl=0x1;bl<=bf['length'];bl++)bk[bl+bh]=bi[bl],bj[bl+bh]=!0x0,bh+=al(bf[bl-0x1]);be[bg]=bk,be[bg][cV(0x156)]=bj,be[bg]['_multi']=!0x0;}function aY(be){const cW=cu;if(Array['isArray'](be['begin'])){if(be[cW(0x15e)]||be[cW(0x137)]||be['returnBegin'])throw aT(cW(0x114)),aW;if(typeof be['beginScope']!='object'||be[cW(0x118)]===null)throw aT('beginScope\x20must\x20be\x20object'),aW;aX(be,be['begin'],{'key':'beginScope'}),be['begin']=ao(be['begin'],{'joinWith':''});}}function aZ(be){const cX=cu;if(Array['isArray'](be[cX(0x14a)])){if(be['skip']||be['excludeEnd']||be['returnEnd'])throw aT('skip,\x20excludeEnd,\x20returnEnd\x20not\x20compatible\x20with\x20endScope:\x20{}'),aW;if(typeof be['endScope']!='object'||be['endScope']===null)throw aT('endScope\x20must\x20be\x20object'),aW;aX(be,be['end'],{'key':'endScope'}),be['end']=ao(be['end'],{'joinWith':''});}}function b0(be){const cY=cu;be['scope']&&typeof be[cY(0x10b)]=='object'&&be['scope']!==null&&(be['beginScope']=be['scope'],delete be[cY(0x10b)]);}function b1(be){b0(be),typeof be['beginScope']=='string'&&(be['beginScope']={'_wrap':be['beginScope']}),typeof be['endScope']=='string'&&(be['endScope']={'_wrap':be['endScope']}),aY(be),aZ(be);}function b2(be){const d1=cu;function bf(bk,bl){return new RegExp(ad(bk),'m'+(be['case_insensitive']?'i':'')+(be['unicodeRegex']?'u':'')+(bl?'g':''));}class bg{constructor(){const cZ=b;this[cZ(0x12b)]={},this['regexes']=[],this['matchAt']=0x1,this['position']=0x0;}['addRule'](bk,bl){const d0=b;bl['position']=this['position']++,this['matchIndexes'][this[d0(0x117)]]=bl,this['regexes']['push']([bl,bk]),this['matchAt']+=al(bk)+0x1;}[d1(0x135)](){const d2=d1;this['regexes']['length']===0x0&&(this[d2(0x113)]=()=>null);let bk=this['regexes']['map'](bl=>bl[0x1]);this['matcherRe']=bf(ao(bk,{'joinWith':'|'}),!0x0),this[d2(0x129)]=0x0;}['exec'](bk){this['matcherRe']['lastIndex']=this['lastIndex'];let bl=this['matcherRe']['exec'](bk);if(!bl)return null;let bm=bl['findIndex']((bo,bp)=>bp>0x0&&bo!==void 0x0),bn=this['matchIndexes'][bm];return bl['splice'](0x0,bm),Object['assign'](bl,bn);}}class bh{constructor(){const d3=d1;this[d3(0x149)]=[],this['multiRegexes']=[],this['count']=0x0,this['lastIndex']=0x0,this['regexIndex']=0x0;}['getMatcher'](bk){const d4=d1;if(this[d4(0x134)][bk])return this['multiRegexes'][bk];let bl=new bg();return this['rules']['slice'](bk)['forEach'](([bm,bn])=>bl['addRule'](bm,bn)),bl['compile'](),this['multiRegexes'][bk]=bl,bl;}[d1(0x105)](){return this['regexIndex']!==0x0;}['considerAll'](){this['regexIndex']=0x0;}[d1(0x14d)](bk,bl){const d5=d1;this['rules'][d5(0x102)]([bk,bl]),bl['type']==='begin'&&this['count']++;}['exec'](bk){const d6=d1;let bl=this['getMatcher'](this['regexIndex']);bl['lastIndex']=this['lastIndex'];let bm=bl['exec'](bk);if(this[d6(0x105)]()&&!(bm&&bm[d6(0x13e)]===this['lastIndex'])){let bn=this['getMatcher'](0x0);bn['lastIndex']=this['lastIndex']+0x1,bm=bn[d6(0x113)](bk);}return bm&&(this['regexIndex']+=bm['position']+0x1,this['regexIndex']===this['count']&&this['considerAll']()),bm;}}function bi(bk){const d7=d1;let bl=new bh();return bk['contains']['forEach'](bm=>bl['addRule'](bm[d7(0x15d)],{'rule':bm,'type':'begin'})),bk['terminatorEnd']&&bl['addRule'](bk['terminatorEnd'],{'type':'end'}),bk[d7(0x11e)]&&bl['addRule'](bk[d7(0x11e)],{'type':'illegal'}),bl;}function bj(bk,bl){const d8=d1;let bm=bk;if(bk['isCompiled'])return bm;[aH,aK,b1,aM]['forEach'](bo=>bo(bk,bl)),be['compilerExtensions'][d8(0x144)](bo=>bo(bk,bl)),bk['__beforeBegin']=null,[aI,aJ,aL]['forEach'](bo=>bo(bk,bl)),bk['isCompiled']=!0x0;let bn=null;return typeof bk['keywords']=='object'&&bk['keywords']['$pattern']&&(bk['keywords']=Object['assign']({},bk[d8(0x10c)]),bn=bk[d8(0x10c)][d8(0x109)],delete bk[d8(0x10c)]['$pattern']),bn=bn||/\w+/,bk['keywords']&&(bk[d8(0x10c)]=aP(bk['keywords'],be['case_insensitive'])),bm[d8(0x128)]=bf(bn,!0x0),bl&&(bk['begin']||(bk['begin']=/\B|\b/),bm['beginRe']=bf(bm['begin']),!bk['end']&&!bk['endsWithParent']&&(bk['end']=/\B|\b/),bk[d8(0x14a)]&&(bm['endRe']=bf(bm['end'])),bm[d8(0x12c)]=ad(bm[d8(0x14a)])||'',bk['endsWithParent']&&bl['terminatorEnd']&&(bm[d8(0x12c)]+=(bk['end']?'|':'')+bl['terminatorEnd'])),bk['illegal']&&(bm['illegalRe']=bf(bk['illegal'])),bk['contains']||(bk[d8(0x11b)]=[]),bk[d8(0x11b)]=[]['concat'](...bk['contains']['map'](function(bo){return b4(bo==='self'?bk:bo);})),bk['contains']['forEach'](function(bo){bj(bo,bm);}),bk['starts']&&bj(bk[d8(0x139)],bl),bm['matcher']=bi(bm),bm;}if(be['compilerExtensions']||(be[d1(0x13a)]=[]),be['contains']&&be['contains']['includes']('self'))throw Error(d1(0x104));return be['classNameAliases']=a5(be[d1(0x126)]||{}),bj(be);}function b3(be){const d9=cu;return be?be['endsWithParent']||b3(be[d9(0x139)]):!0x1;}function b4(be){const da=cu;return be['variants']&&!be['cachedVariants']&&(be[da(0xf9)]=be[da(0xfa)]['map'](function(bf){return a5(be,{'variants':null},bf);})),be['cachedVariants']?be['cachedVariants']:b3(be)?a5(be,{'starts':be['starts']?a5(be['starts']):null}):Object['isFrozen'](be)?a5(be):be;}var b5='11.11.1',b6=class extends Error{constructor(be,bf){super(be),this['name']='HTMLInjectionError',this['html']=bf;}},b7=a4,b8=a5,b9=Symbol('nomatch'),ba=0x7,bb=function(be){let bf=Object['create'](null),bg=Object['create'](null),bh=[],bi=!0x0,bj='Could\x20not\x20find\x20the\x20language\x20\x27{}\x27,\x20did\x20you\x20forget\x20to\x20load/include\x20a\x20language\x20module?',bk={'disableAutodetect':!0x0,'name':'Plain\x20text','contains':[]},bl={'ignoreUnescapedHTML':!0x1,'throwUnescapedHTML':!0x1,'noHighlightRe':/^(no-?highlight)$/i,'languageDetectRe':/\blang(?:uage)?-([\w-]+)\b/i,'classPrefix':'hljs-','cssSelector':'pre\x20code','languages':null,'__emitter':ac};function bm(bK){return bl['noHighlightRe']['test'](bK);}function bn(bK){const db=b;let bL=bK['className']+'\x20';bL+=bK[db(0xf4)]?bK[db(0xf4)]['className']:'';let bM=bl[db(0x119)][db(0x113)](bL);if(bM){let bN=bC(bM[0x1]);return bN||(aU(bj['replace']('{}',bM[0x1])),aU(db(0x138),bK)),bN?bM[0x1]:'no-highlight';}return bL['split'](/\s+/)['find'](bO=>bm(bO)||bC(bO));}function bo(bK,bL,bM){const dc=b;let bN='',bO='';typeof bL=='object'?(bN=bK,bM=bL[dc(0x10f)],bO=bL['language']):(aV('10.7.0','highlight(lang,\x20code,\x20...args)\x20has\x20been\x20deprecated.'),aV('10.7.0','Please\x20use\x20highlight(code,\x20options)\x20instead.\x0ahttps://github.com/highlightjs/highlight.js/issues/2277'),bO=bK,bN=bL),bM===void 0x0&&(bM=!0x0);let bP={'code':bN,'language':bO};bI(dc(0x127),bP);let bQ=bP['result']?bP['result']:bp(bP['language'],bP['code'],bM);return bQ[dc(0x141)]=bP['code'],bI('after:highlight',bQ),bQ;}function bp(bK,bL,bM,bN){const dl=b;let bO=Object['create'](null);function bP(cf,cg){return cf['keywords'][cg];}function bQ(){const dd=b;if(!c6['keywords']){c8[dd(0x150)](c9);return;}let cf=0x0;c6[dd(0x128)]['lastIndex']=0x0;let cg=c6['keywordPatternRe']['exec'](c9),ch='';for(;cg;){ch+=c9['substring'](cf,cg['index']);let ci=c3['case_insensitive']?cg[0x0]['toLowerCase']():cg[0x0],cj=bP(c6,ci);if(cj){let [ck,cl]=cj;if(c8['addText'](ch),ch='',bO[ci]=(bO[ci]||0x0)+0x1,bO[ci]<=ba&&(ca+=cl),ck['startsWith']('_'))ch+=cg[0x0];else{let cm=c3['classNameAliases'][ck]||ck;bT(cg[0x0],cm);}}else ch+=cg[0x0];cf=c6['keywordPatternRe']['lastIndex'],cg=c6['keywordPatternRe']['exec'](c9);}ch+=c9['substring'](cf),c8['addText'](ch);}function bR(){const de=b;if(c9==='')return;let cf=null;if(typeof c6['subLanguage']=='string'){if(!bf[c6['subLanguage']]){c8['addText'](c9);return;}cf=bp(c6[de(0x122)],c9,!0x0,c7[c6['subLanguage']]),c7[c6[de(0x122)]]=cf['_top'];}else cf=br(c9,c6['subLanguage'][de(0x103)]?c6[de(0x122)]:null);c6['relevance']>0x0&&(ca+=cf['relevance']),c8['__addSublanguage'](cf['_emitter'],cf['language']);}function bS(){c6['subLanguage']==null?bQ():bR(),c9='';}function bT(cf,cg){cf!==''&&(c8['startScope'](cg),c8['addText'](cf),c8['endScope']());}function bU(cf,cg){const df=b;let ch=0x1,ci=cg[df(0x103)]-0x1;for(;ch<=ci;){if(!cf['_emit'][ch]){ch++;continue;}let cj=c3['classNameAliases'][cf[ch]]||cf[ch],ck=cg[ch];cj?bT(ck,cj):(c9=ck,bQ(),c9=''),ch++;}}function bV(cf,cg){const dg=b;return cf['scope']&&typeof cf['scope']=='string'&&c8['openNode'](c3['classNameAliases'][cf['scope']]||cf['scope']),cf['beginScope']&&(cf['beginScope'][dg(0xfe)]?(bT(c9,c3['classNameAliases'][cf['beginScope']['_wrap']]||cf[dg(0x118)]['_wrap']),c9=''):cf['beginScope']['_multi']&&(bU(cf[dg(0x118)],cg),c9='')),c6=Object['create'](cf,{'parent':{'value':c6}}),c6;}function bW(cf,cg,ch){const dh=b;let ci=am(cf['endRe'],ch);if(ci){if(cf['on:end']){let cj=new a3(cf);cf['on:end'](cg,cj),cj['isMatchIgnored']&&(ci=!0x1);}if(ci){for(;cf['endsParent']&&cf['parent'];)cf=cf['parent'];return cf;}}if(cf[dh(0x10a)])return bW(cf[dh(0xfc)],cg,ch);}function bX(cf){return c6['matcher']['regexIndex']===0x0?(c9+=cf[0x0],0x1):(cd=!0x0,0x0);}function bY(cf){const di=b;let cg=cf[0x0],ch=cf['rule'],ci=new a3(ch),cj=[ch['__beforeBegin'],ch[di(0x11f)]];for(let ck of cj)if(ck&&(ck(cf,ci),ci['isMatchIgnored']))return bX(cg);return ch['skip']?c9+=cg:(ch['excludeBegin']&&(c9+=cg),bS(),!ch['returnBegin']&&!ch['excludeBegin']&&(c9=cg)),bV(ch,cf),ch['returnBegin']?0x0:cg['length'];}function bZ(cf){const dj=b;let cg=cf[0x0],ch=bL['substring'](cf['index']),ci=bW(c6,cf,ch);if(!ci)return b9;let cj=c6;c6['endScope']&&c6['endScope']['_wrap']?(bS(),bT(cg,c6['endScope']['_wrap'])):c6['endScope']&&c6['endScope']['_multi']?(bS(),bU(c6[dj(0x115)],cf)):cj['skip']?c9+=cg:(cj['returnEnd']||cj[dj(0x133)]||(c9+=cg),bS(),cj['excludeEnd']&&(c9=cg));do c6['scope']&&c8['closeNode'](),!c6[dj(0x15e)]&&!c6['subLanguage']&&(ca+=c6['relevance']),c6=c6['parent'];while(c6!==ci['parent']);return ci['starts']&&bV(ci['starts'],cf),cj['returnEnd']?0x0:cg['length'];}function c0(){let cf=[];for(let cg=c6;cg!==c3;cg=cg['parent'])cg['scope']&&cf['unshift'](cg['scope']);cf['forEach'](ch=>c8['openNode'](ch));}let c1={};function c2(cf,cg){const dk=b;let ch=cg&&cg[0x0];if(c9+=cf,ch==null)return bS(),0x0;if(c1['type']===dk(0x15d)&&cg['type']==='end'&&c1['index']===cg['index']&&ch===''){if(c9+=bL['slice'](cg['index'],cg['index']+0x1),!bi){let ci=Error('0\x20width\x20match\x20regex\x20('+bK+')');throw ci['languageName']=bK,ci[dk(0xf7)]=c1['rule'],ci;}return 0x1;}if(c1=cg,cg[dk(0x14c)]==='begin')return bY(cg);if(cg['type']===dk(0x11e)&&!bM){let cj=Error(dk(0x158)+ch+'\x22\x20for\x20mode\x20\x22'+(c6['scope']||'<unnamed>')+'\x22');throw cj['mode']=c6,cj;}else{if(cg['type']===dk(0x14a)){let ck=bZ(cg);if(ck!==b9)return ck;}}if(cg['type']==='illegal'&&ch==='')return c9+='\x0a',0x1;if(cc>0x186a0&&cc>cg[dk(0x13e)]*0x3)throw Error(dk(0xee));return c9+=ch,ch['length'];}let c3=bC(bK);if(!c3)throw aT(bj['replace']('{}',bK)),Error(dl(0x12f)+bK+'\x22');let c4=b2(c3),c5='',c6=bN||c4,c7={},c8=new bl['__emitter'](bl);c0();let c9='',ca=0x0,cb=0x0,cc=0x0,cd=!0x1;try{if(c3[dl(0x142)])c3['__emitTokens'](bL,c8);else{for(c6['matcher'][dl(0x14e)]();;){cc++,cd?cd=!0x1:c6['matcher'][dl(0x14e)](),c6['matcher']['lastIndex']=cb;let cf=c6['matcher']['exec'](bL);if(!cf)break;let cg=c2(bL['substring'](cb,cf['index']),cf);cb=cf['index']+cg;}c2(bL[dl(0x147)](cb));}return c8['finalize'](),c5=c8['toHTML'](),{'language':bK,'value':c5,'relevance':ca,'illegal':!0x1,'_emitter':c8,'_top':c6};}catch(ch){if(ch['message']&&ch['message']['includes'](dl(0x131)))return{'language':bK,'value':b7(bL),'illegal':!0x0,'relevance':0x0,'_illegalBy':{'message':ch['message'],'index':cb,'context':bL['slice'](cb-0x64,cb+0x64),'mode':ch['mode'],'resultSoFar':c5},'_emitter':c8};if(bi)return{'language':bK,'value':b7(bL),'illegal':!0x1,'relevance':0x0,'errorRaised':ch,'_emitter':c8,'_top':c6};throw ch;}}function bq(bK){let bL={'value':b7(bK),'illegal':!0x1,'relevance':0x0,'_top':bk,'_emitter':new bl['__emitter'](bl)};return bL['_emitter']['addText'](bK),bL;}function br(bK,bL){const dm=b;bL=bL||bl['languages']||Object['keys'](bf);let bM=bq(bK),bN=bL[dm(0x157)](bC)['filter'](bE)['map'](bR=>bp(bR,bK,!0x1));bN['unshift'](bM);let [bO,bP]=bN['sort']((bR,bS)=>{const dn=dm;if(bR['relevance']!==bS['relevance'])return bS['relevance']-bR['relevance'];if(bR['language']&&bS['language']){if(bC(bR[dn(0x12d)])['supersetOf']===bS['language'])return 0x1;if(bC(bS['language'])['supersetOf']===bR['language'])return-0x1;}return 0x0;}),bQ=bO;return bQ['secondBest']=bP,bQ;}function bs(bK,bL,bM){let bN=bL&&bg[bL]||bM;bK['classList']['add']('hljs'),bK['classList']['add']('language-'+bN);}function bt(bK){const dp=b;let bL=null,bM=bn(bK);if(bm(bM))return;if(bI('before:highlightElement',{'el':bK,'language':bM}),bK['dataset']['highlighted']){console['log']('Element\x20previously\x20highlighted.\x20To\x20highlight\x20again,\x20first\x20unset\x20`dataset.highlighted`.',bK);return;}if(bK['children']['length']>0x0&&(bl['ignoreUnescapedHTML']||(console['warn']('One\x20of\x20your\x20code\x20blocks\x20includes\x20unescaped\x20HTML.\x20This\x20is\x20a\x20potentially\x20serious\x20security\x20risk.'),console['warn']('https://github.com/highlightjs/highlight.js/wiki/security'),console['warn']('The\x20element\x20with\x20unescaped\x20HTML:'),console['warn'](bK)),bl['throwUnescapedHTML']))throw new b6(dp(0x146),bK['innerHTML']);bL=bK;let bN=bL['textContent'],bO=bM?bo(bN,{'language':bM,'ignoreIllegals':!0x0}):br(bN);bK[dp(0x136)]=bO['value'],bK['dataset']['highlighted']='yes',bs(bK,bM,bO['language']),bK['result']={'language':bO['language'],'re':bO['relevance'],'relevance':bO['relevance']},bO['secondBest']&&(bK['secondBest']={'language':bO['secondBest']['language'],'relevance':bO[dp(0x11a)]['relevance']}),bI('after:highlightElement',{'el':bK,'result':bO,'text':bN});}function bu(bK){bl=b8(bl,bK);}let bv=()=>{by(),aV('10.6.0','initHighlighting()\x20deprecated.\x20\x20Use\x20highlightAll()\x20now.');};function bw(){by(),aV('10.6.0','initHighlightingOnLoad()\x20deprecated.\x20\x20Use\x20highlightAll()\x20now.');}let bx=!0x1;function by(){const dq=b;function bK(){by();}if(document['readyState']==='loading'){bx||window['addEventListener']('DOMContentLoaded',bK,!0x1),bx=!0x0;return;}document[dq(0x15b)](bl['cssSelector'])[dq(0x144)](bt);}function bz(bK,bL){const dr=b;let bM=null;try{bM=bL(be);}catch(bN){if(aT('Language\x20definition\x20for\x20\x27{}\x27\x20could\x20not\x20be\x20registered.'['replace']('{}',bK)),bi)aT(bN);else throw bN;bM=bk;}bM['name']||(bM[dr(0xef)]=bK),bf[bK]=bM,bM['rawDefinition']=bL['bind'](null,be),bM[dr(0xfd)]&&bD(bM['aliases'],{'languageName':bK});}function bA(bK){delete bf[bK];for(let bL of Object['keys'](bg))bg[bL]===bK&&delete bg[bL];}function bB(){const ds=b;return Object[ds(0x132)](bf);}function bC(bK){return bK=(bK||'')['toLowerCase'](),bf[bK]||bf[bg[bK]];}function bD(bK,{languageName:bL}){typeof bK=='string'&&(bK=[bK]),bK['forEach'](bM=>{const dt=b;bg[bM[dt(0x11d)]()]=bL;});}function bE(bK){const du=b;let bL=bC(bK);return bL&&!bL[du(0x145)];}function bF(bK){const dv=b;bK[dv(0xf8)]&&!bK['before:highlightElement']&&(bK['before:highlightElement']=bL=>{bK['before:highlightBlock'](Object['assign']({'block':bL['el']},bL));}),bK['after:highlightBlock']&&!bK['after:highlightElement']&&(bK['after:highlightElement']=bL=>{bK['after:highlightBlock'](Object['assign']({'block':bL['el']},bL));});}function bG(bK){bF(bK),bh['push'](bK);}function bH(bK){let bL=bh['indexOf'](bK);bL!==-0x1&&bh['splice'](bL,0x1);}function bI(bK,bL){const dw=b;let bM=bK;bh[dw(0x144)](function(bN){bN[bM]&&bN[bM](bL);});}function bJ(bK){const dx=b;return aV('10.7.0','highlightBlock\x20will\x20be\x20removed\x20entirely\x20in\x20v12.0'),aV(dx(0x152),'Please\x20use\x20highlightElement\x20now.'),bt(bK);}Object['assign'](be,{'highlight':bo,'highlightAuto':br,'highlightAll':by,'highlightElement':bt,'highlightBlock':bJ,'configure':bu,'initHighlighting':bv,'initHighlightingOnLoad':bw,'registerLanguage':bz,'unregisterLanguage':bA,'listLanguages':bB,'getLanguage':bC,'registerAliases':bD,'autoDetection':bE,'inherit':b8,'addPlugin':bG,'removePlugin':bH}),be['debugMode']=function(){bi=!0x1;},be['safeMode']=function(){bi=!0x0;},be['versionString']=b5,be['regex']={'concat':ai,'lookahead':af,'either':ak,'optional':ah,'anyNumberOfTimes':ag};for(let bK in aF)typeof aF[bK]=='object'&&a2(aF[bK]);return Object['assign'](be,aF),be;},bc=bb({});bc['newInstance']=()=>bb({}),a1['exports']=bc,bc['HighlightJS']=bc,bc['default']=bc;})())['default'];export{n as default};
|