@flyfish-group/file-viewer3 1.0.16 → 1.0.18
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.md +17 -16
- package/dist/components/3MFLoader.js +1 -1
- package/dist/components/AMFLoader.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 +360 -304
- package/dist/components/PptxRender.js +1 -1
- package/dist/components/STLLoader.js +1 -1
- package/dist/components/TDSLoader.js +1 -1
- 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-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-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/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/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/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/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/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/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/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/word.js +1 -1
- package/dist/components/worker-ref.js +1 -1
- package/dist/components/wrapAsyncGenerator.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/package/common/printCapability.d.ts +27 -0
- package/dist/src/package/common/type.d.ts +45 -0
- package/dist/src/package/components/FileViewer/FileViewer.vue.d.ts +13 -2
- package/dist/src/package/index.d.ts +1 -1
- package/dist/src/package/vendors/pdf/PdfView.vue.d.ts +2 -1
- package/dist/src/package/vendors/xlsx/XlsxTable.view.d.ts +2 -0
- package/dist/src/package/vendors/xlsx/index.d.ts +2 -1
- package/dist/src/package/vendors/xlsx/worker/sheetjs/SheetJsModel.d.ts +4 -0
- package/package.json +8 -1
package/dist/components/core.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(d,f){const cv=b,g=d();while(!![]){try{const h=-parseInt(cv(0x1e0))/0x1*(parseInt(cv(0x1d4))/0x2)+-parseInt(cv(0x1fc))/0x3+parseInt(cv(0x1f6))/0x4+parseInt(cv(0x1e5))/0x5+parseInt(cv(0x1f1))/0x6*(-parseInt(cv(0x1c3))/0x7)+parseInt(cv(0x1d6))/0x8*(-parseInt(cv(0x1b1))/0x9)+-parseInt(cv(0x1ed))/0xa*(-parseInt(cv(0x1bf))/0xb);if(h===f)break;else g['push'](g['shift']());}catch(i){g['push'](g['shift']());}}}(a,0xa3d1f));import{o as c,t}from'./chunk.js';var n=c(t((a0,a1)=>{const cA=b;function a2(bl){const cw=b;return bl instanceof Map?bl[cw(0x209)]=bl['delete']=bl['set']=function(){throw Error('map\x20is\x20read-only');}:bl instanceof Set&&(bl['add']=bl[cw(0x209)]=bl['delete']=function(){throw Error('set\x20is\x20read-only');}),Object['freeze'](bl),Object['getOwnPropertyNames'](bl)['forEach'](bm=>{const cx=cw;let bn=bl[bm],bo=typeof bn;(bo===cx(0x204)||bo===cx(0x1ba))&&!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 cy=b;return bl['replace'](/&/g,'&')['replace'](/</g,'<')['replace'](/>/g,cy(0x21f))['replace'](/"/g,'"')['replace'](/'/g,cy(0x20a));}function a5(bl,...bm){const cz=b;let bn=Object['create'](null);for(let bo in bl)bn[bo]=bl[bo];return bm[cz(0x21d)](function(bp){for(let bq in bp)bn[bq]=bp[bq];}),bn;}var a6='</span>',a7=bl=>!!bl[cA(0x1c5)],a8=(bl,{prefix:bm})=>{const cB=cA;if(bl['startsWith']('language:'))return bl['replace'](cB(0x20c),'language-');if(bl['includes']('.')){let bn=bl['split']('.');return[''+bm+bn[cB(0x1c4)](),...bn['map']((bo,bp)=>''+bo+'_'['repeat'](bp+0x1))]['join']('\x20');}return''+bm+bl;},a9=class{constructor(bl,bm){this['buffer']='',this['classPrefix']=bm['classPrefix'],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'];}[cA(0x218)](bl){this['buffer']+='<span\x20class=\x22'+bl+'\x22>';}},aa=(bl={})=>{let bm={'children':[]};return Object['assign'](bm,bl),bm;},ab=class bl{constructor(){const cC=cA;this[cC(0x1ec)]=aa(),this['stack']=[this['rootNode']];}get['top'](){const cD=cA;return this['stack'][this[cD(0x1e8)][cD(0x1bb)]-0x1];}get['root'](){const cE=cA;return this[cE(0x1ec)];}['add'](bm){this['top']['children']['push'](bm);}['openNode'](bm){const cF=cA;let bn=aa({'scope':bm});this[cF(0x220)](bn),this['stack']['push'](bn);}['closeNode'](){if(this['stack']['length']>0x1)return this['stack']['pop']();}['closeAllNodes'](){for(;this['closeNode'](););}['toJSON'](){const cG=cA;return JSON['stringify'](this[cG(0x1ec)],null,0x4);}['walk'](bm){const cH=cA;return this[cH(0x1ae)]['_walk'](bm,this['rootNode']);}static['_walk'](bm,bn){const cI=cA;return typeof bn=='string'?bm['addText'](bn):bn['children']&&(bm['openNode'](bn),bn['children']['forEach'](bo=>this[cI(0x1dc)](bm,bo)),bm['closeNode'](bn)),bm;}static['_collapse'](bm){const cJ=cA;typeof bm!=cJ(0x206)&&bm[cJ(0x20b)]&&(bm['children'][cJ(0x1e7)](bn=>typeof bn==cJ(0x206))?bm['children']=[bm['children'][cJ(0x1d9)]('')]:bm['children']['forEach'](bn=>{bl['_collapse'](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']();}[cA(0x1f0)](bm,bn){const cK=cA;let bo=bm['root'];bn&&(bo[cK(0x1c5)]=cK(0x20c)+bn),this['add'](bo);}[cA(0x211)](){return new a9(this,this['options'])['value']();}['finalize'](){return this['closeAllNodes'](),!0x0;}};function ad(bm){return bm?typeof bm=='string'?bm:bm['source']:null;}function af(bm){return ai('(?=',bm,')');}function ag(bm){return ai('(?:',bm,')*');}function ah(bm){return ai('(?:',bm,')?');}function ai(...bm){const cL=cA;return bm[cL(0x1cb)](bn=>ad(bn))['join']('');}function aj(bm){let bn=bm[bm['length']-0x1];return typeof bn=='object'&&bn['constructor']===Object?(bm['splice'](bm['length']-0x1,0x1),bn):{};}function ak(...bm){const cM=cA;return'('+(aj(bm)[cM(0x1e2)]?'':'?:')+bm['map'](bn=>ad(bn))['join']('|')+')';}function al(bm){return RegExp(bm['toString']()+'|')['exec']('')['length']-0x1;}function am(bm,bn){const cN=cA;let bo=bm&&bm['exec'](bn);return bo&&bo[cN(0x1f2)]===0x0;}var an=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function ao(bm,{joinWith:bn}){const cP=cA;let bo=0x0;return bm['map'](bp=>{const cO=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[cO(0x1eb)](0x0,bt['index']),br=br['substring'](bt['index']+bt[0x0][cO(0x1bb)]),bt[0x0][0x0]==='\x5c'&&bt[0x1]?bs+='\x5c'+String(Number(bt[0x1])+bq):(bs+=bt[0x0],bt[0x0]==='('&&bo++);}return bs;})['map'](bp=>'('+bp+')')[cP(0x1d9)](bn);}var ap=/\b\B/,aq='[a-zA-Z]\x5cw*',ar=cA(0x1ad),as='\x5cb\x5cd+(\x5c.\x5cd+)?',at='(-?)(\x5cb0[xX][a-fA-F0-9]+|(\x5cb\x5cd+(\x5c.\x5cd*)?|\x5c.\x5cd+)([eE][-+]?\x5cd+)?)',au='\x5cb(0b[01]+)',av='!|!=|!==|%|%=|&|&&|&=|\x5c*|\x5c*=|\x5c+|\x5c+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\x5c?|\x5c[|\x5c{|\x5c(|\x5c^|\x5c^=|\x5c||\x5c|=|\x5c|\x5c||~',aw=(bm={})=>{let bn=/^#![ ]*\//;return bm['binary']&&(bm['begin']=ai(bn,/.*\b/,bm['binary'],/\b.*/)),a5({'scope':'meta','begin':bn,'end':/$/,'relevance':0x0,'on:begin':(bo,bp)=>{bo['index']!==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={}){let bp=a5({'scope':'comment','begin':bm,'end':bn,'contains':[]},bo);bp['contains']['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 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':'number','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['freeze']({'__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)=>{bo['data']['_beginMatch']!==bn[0x1]&&bo['ignoreMatch']();}});},'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){bm['className']!==void 0x0&&(bm['scope']=bm['className'],delete bm['className']);}function aP(bm,bn){const cQ=cA;bn&&bm['beginKeywords']&&(bm['begin']=cQ(0x1d3)+bm['beginKeywords']['split']('\x20')['join']('|')+')(?!\x5c.)(?=\x5cb|\x5cs)',bm['__beforeBegin']=aN,bm['keywords']=bm[cQ(0x1cf)]||bm['beginKeywords'],delete bm[cQ(0x203)],bm['relevance']===void 0x0&&(bm['relevance']=0x0));}function aQ(bm,bn){const cR=cA;Array['isArray'](bm[cR(0x1ea)])&&(bm[cR(0x1ea)]=ak(...bm['illegal']));}function aR(bm,bn){const cS=cA;if(bm[cS(0x1e1)]){if(bm['begin']||bm[cS(0x1be)])throw Error('begin\x20&\x20end\x20are\x20not\x20supported\x20with\x20match');bm['begin']=bm[cS(0x1e1)],delete bm['match'];}}function aS(bm,bn){bm['relevance']===void 0x0&&(bm['relevance']=0x1);}var aT=(bm,bn)=>{const cT=cA;if(!bm['beforeMatch'])return;if(bm['starts'])throw Error('beforeMatch\x20cannot\x20be\x20used\x20with\x20starts');let bo=Object['assign']({},bm);Object['keys'](bm)['forEach'](bp=>{delete bm[bp];}),bm['keywords']=bo['keywords'],bm[cT(0x1d8)]=ai(bo['beforeMatch'],af(bo['begin'])),bm[cT(0x1af)]={'relevance':0x0,'contains':[Object[cT(0x1e6)](bo,{'endsParent':!0x0})]},bm['relevance']=0x0,delete bo['beforeMatch'];},aU=['of','and','for','in','not','or','if','then','parent',cA(0x215),'value'],aV='keyword';function aW(bm,bn,bo=aV){const cU=cA;let bp=Object['create'](null);return typeof bm=='string'?bq(bo,bm['split']('\x20')):Array[cU(0x219)](bm)?bq(bo,bm):Object[cU(0x217)](bm)['forEach'](function(br){Object['assign'](bp,aW(bm[br],bn,br));}),bp;function bq(br,bs){const cV=cU;bn&&(bs=bs['map'](bt=>bt[cV(0x1c1)]())),bs['forEach'](function(bt){const cW=cV;let bu=bt[cW(0x1ee)]('|');bp[bu[0x0]]=[br,aX(bu[0x0],bu[0x1])];});}}function aX(bm,bn){return bn?Number(bn):+!aY(bm);}function aY(bm){const cX=cA;return aU['includes'](bm[cX(0x1c1)]());}var aZ={},b0=bm=>{console['error'](bm);},b1=(bm,...bn)=>{const cY=cA;console[cY(0x1c2)]('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 cZ=cA;let bp=0x0,bq=bm[bo],br={},bs={};for(let bt=0x1;bt<=bn[cZ(0x1bb)];bt++)bs[bt+bp]=bq[bt],br[bt+bp]=!0x0,bp+=al(bn[bt-0x1]);bm[bo]=bs,bm[bo]['_emit']=br,bm[bo]['_multi']=!0x0;}function b5(bm){const d0=cA;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']!='object'||bm['beginScope']===null)throw b0('beginScope\x20must\x20be\x20object'),b3;b4(bm,bm['begin'],{'key':d0(0x1d5)}),bm['begin']=ao(bm['begin'],{'joinWith':''});}}function b6(bm){const d1=cA;if(Array['isArray'](bm['end'])){if(bm[d1(0x200)]||bm['excludeEnd']||bm['returnEnd'])throw b0('skip,\x20excludeEnd,\x20returnEnd\x20not\x20compatible\x20with\x20endScope:\x20{}'),b3;if(typeof bm['endScope']!='object'||bm['endScope']===null)throw b0('endScope\x20must\x20be\x20object'),b3;b4(bm,bm[d1(0x1be)],{'key':'endScope'}),bm['end']=ao(bm['end'],{'joinWith':''});}}function b7(bm){const d2=cA;bm[d2(0x1c5)]&&typeof bm['scope']==d2(0x204)&&bm['scope']!==null&&(bm[d2(0x1d5)]=bm['scope'],delete bm[d2(0x1c5)]);}function b8(bm){const d3=cA;b7(bm),typeof bm[d3(0x1d5)]=='string'&&(bm['beginScope']={'_wrap':bm['beginScope']}),typeof bm[d3(0x1fb)]=='string'&&(bm['endScope']={'_wrap':bm['endScope']}),b5(bm),b6(bm);}function b9(bm){const da=cA;function bn(bs,bt){const d4=b;return new RegExp(ad(bs),'m'+(bm['case_insensitive']?'i':'')+(bm[d4(0x213)]?'u':'')+(bt?'g':''));}class bo{constructor(){this['matchIndexes']={},this['regexes']=[],this['matchAt']=0x1,this['position']=0x0;}['addRule'](bs,bt){const d5=b;bt[d5(0x1d2)]=this['position']++,this['matchIndexes'][this[d5(0x1de)]]=bt,this['regexes']['push']([bt,bs]),this['matchAt']+=al(bs)+0x1;}['compile'](){const d6=b;this['regexes']['length']===0x0&&(this[d6(0x1df)]=()=>null);let bs=this['regexes']['map'](bt=>bt[0x1]);this['matcherRe']=bn(ao(bs,{'joinWith':'|'}),!0x0),this['lastIndex']=0x0;}['exec'](bs){this['matcherRe']['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['splice'](0x0,bu),Object['assign'](bt,bv);}}class bp{constructor(){const d7=b;this[d7(0x1f5)]=[],this['multiRegexes']=[],this['count']=0x0,this[d7(0x1fe)]=0x0,this['regexIndex']=0x0;}['getMatcher'](bs){const d8=b;if(this['multiRegexes'][bs])return this[d8(0x1c7)][bs];let bt=new bo();return this['rules']['slice'](bs)[d8(0x21d)](([bu,bv])=>bt['addRule'](bu,bv)),bt[d8(0x1d7)](),this['multiRegexes'][bs]=bt,bt;}['resumingScanAtSamePosition'](){const d9=b;return this[d9(0x1b0)]!==0x0;}['considerAll'](){this['regexIndex']=0x0;}['addRule'](bs,bt){this['rules']['push']([bs,bt]),bt['type']==='begin'&&this['count']++;}[da(0x1df)](bs){const db=da;let bt=this['getMatcher'](this['regexIndex']);bt['lastIndex']=this[db(0x1fe)];let bu=bt[db(0x1df)](bs);if(this['resumingScanAtSamePosition']()&&!(bu&&bu['index']===this['lastIndex'])){let bv=this['getMatcher'](0x0);bv['lastIndex']=this[db(0x1fe)]+0x1,bu=bv['exec'](bs);}return bu&&(this['regexIndex']+=bu['position']+0x1,this[db(0x1b0)]===this['count']&&this['considerAll']()),bu;}}function bq(bs){const dc=da;let bt=new bp();return bs['contains']['forEach'](bu=>bt['addRule'](bu[dc(0x1d8)],{'rule':bu,'type':'begin'})),bs[dc(0x1dd)]&&bt[dc(0x1ce)](bs['terminatorEnd'],{'type':'end'}),bs['illegal']&&bt[dc(0x1ce)](bs['illegal'],{'type':'illegal'}),bt;}function br(bs,bt){const dd=da;let bu=bs;if(bs['isCompiled'])return bu;[aO,aR,b8,aT]['forEach'](bw=>bw(bs,bt)),bm[dd(0x201)]['forEach'](bw=>bw(bs,bt)),bs['__beforeBegin']=null,[aP,aQ,aS]['forEach'](bw=>bw(bs,bt)),bs[dd(0x202)]=!0x0;let bv=null;return typeof bs[dd(0x1cf)]==dd(0x204)&&bs['keywords']['$pattern']&&(bs[dd(0x1cf)]=Object['assign']({},bs['keywords']),bv=bs['keywords']['$pattern'],delete bs['keywords']['$pattern']),bv=bv||/\w+/,bs['keywords']&&(bs['keywords']=aW(bs['keywords'],bm['case_insensitive'])),bu[dd(0x1e9)]=bn(bv,!0x0),bt&&(bs[dd(0x1d8)]||(bs['begin']=/\B|\b/),bu[dd(0x1bd)]=bn(bu['begin']),!bs['end']&&!bs['endsWithParent']&&(bs['end']=/\B|\b/),bs['end']&&(bu[dd(0x1f3)]=bn(bu['end'])),bu['terminatorEnd']=ad(bu['end'])||'',bs['endsWithParent']&&bt['terminatorEnd']&&(bu['terminatorEnd']+=(bs['end']?'|':'')+bt['terminatorEnd'])),bs['illegal']&&(bu['illegalRe']=bn(bs['illegal'])),bs['contains']||(bs[dd(0x21e)]=[]),bs['contains']=[][dd(0x1f7)](...bs['contains']['map'](function(bw){return bb(bw==='self'?bs:bw);})),bs[dd(0x21e)]['forEach'](function(bw){br(bw,bu);}),bs[dd(0x1af)]&&br(bs['starts'],bt),bu['matcher']=bq(bu),bu;}if(bm[da(0x201)]||(bm['compilerExtensions']=[]),bm['contains']&&bm['contains']['includes']('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 de=cA;return bm['variants']&&!bm[de(0x21c)]&&(bm['cachedVariants']=bm[de(0x214)]['map'](function(bn){return a5(bm,{'variants':null},bn);})),bm['cachedVariants']?bm['cachedVariants']:ba(bm)?a5(bm,{'starts':bm['starts']?a5(bm['starts']):null}):Object['isFrozen'](bm)?a5(bm):bm;}var bc='11.11.1',bd=class extends Error{constructor(bm,bn){const df=cA;super(bm),this[df(0x1b4)]='HTMLInjectionError',this['html']=bn;}},bf=a4,bg=a5,bh=Symbol('nomatch'),bi=0x7,bj=function(bm){const dg=cA;let bn=Object[dg(0x210)](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':dg(0x1c8),'contains':[]},bt={'ignoreUnescapedHTML':!0x1,'throwUnescapedHTML':!0x1,'noHighlightRe':/^(no-?highlight)$/i,'languageDetectRe':/\blang(?:uage)?-([\w-]+)\b/i,'classPrefix':'hljs-','cssSelector':'pre\x20code','languages':null,'__emitter':ac};function bu(bS){return bt['noHighlightRe']['test'](bS);}function bv(bS){const dh=dg;let bT=bS['className']+'\x20';bT+=bS[dh(0x1b5)]?bS['parentNode']['className']:'';let bU=bt[dh(0x1ac)]['exec'](bT);if(bU){let bV=bK(bU[0x1]);return bV||(b1(br[dh(0x21b)]('{}',bU[0x1])),b1(dh(0x1e4),bS)),bV?bU[0x1]:'no-highlight';}return bT['split'](/\s+/)['find'](bW=>bu(bW)||bK(bW));}function bw(bS,bT,bU){const di=dg;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[di(0x1ef)],bX['code'],bU);return bY['code']=bX[di(0x1e3)],bQ(di(0x212),bY),bY;}function bx(bS,bT,bU,bV){const du=dg;let bW=Object['create'](null);function bX(cn,co){const dj=b;return cn[dj(0x1cf)][co];}function bY(){const dk=b;if(!cf['keywords']){ch['addText'](ci);return;}let cn=0x0;cf['keywordPatternRe']['lastIndex']=0x0;let co=cf['keywordPatternRe'][dk(0x1df)](ci),cp='';for(;co;){cp+=ci['substring'](cn,co['index']);let cq=cb['case_insensitive']?co[0x0][dk(0x1c1)]():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['startsWith']('_'))cp+=co[0x0];else{let cu=cb['classNameAliases'][cs]||cs;c1(co[0x0],cu);}}else cp+=co[0x0];cn=cf['keywordPatternRe']['lastIndex'],co=cf['keywordPatternRe']['exec'](ci);}cp+=ci['substring'](cn),ch['addText'](cp);}function bZ(){const dl=b;if(ci==='')return;let cn=null;if(typeof cf['subLanguage']=='string'){if(!bn[cf[dl(0x21a)]]){ch['addText'](ci);return;}cn=bx(cf['subLanguage'],ci,!0x0,cg[cf['subLanguage']]),cg[cf['subLanguage']]=cn['_top'];}else cn=bz(ci,cf['subLanguage']['length']?cf['subLanguage']:null);cf['relevance']>0x0&&(cj+=cn['relevance']),ch['__addSublanguage'](cn['_emitter'],cn[dl(0x1ef)]);}function c0(){cf['subLanguage']==null?bY():bZ(),ci='';}function c1(cn,co){cn!==''&&(ch['startScope'](co),ch['addText'](cn),ch['endScope']());}function c2(cn,co){const dm=b;let cp=0x1,cq=co['length']-0x1;for(;cp<=cq;){if(!cn[dm(0x1f4)][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 dn=b;return cn['scope']&&typeof cn['scope']=='string'&&ch[dn(0x1fa)](cb['classNameAliases'][cn['scope']]||cn['scope']),cn['beginScope']&&(cn['beginScope']['_wrap']?(c1(ci,cb[dn(0x20d)][cn['beginScope']['_wrap']]||cn['beginScope']['_wrap']),ci=''):cn[dn(0x1d5)]['_multi']&&(c2(cn['beginScope'],co),ci='')),cf=Object['create'](cn,{'parent':{'value':cf}}),cf;}function c4(cn,co,cp){const dp=b;let cq=am(cn['endRe'],cp);if(cq){if(cn['on:end']){let cr=new a3(cn);cn['on:end'](co,cr),cr['isMatchIgnored']&&(cq=!0x1);}if(cq){for(;cn[dp(0x1b2)]&&cn['parent'];)cn=cn['parent'];return cn;}}if(cn['endsWithParent'])return c4(cn['parent'],co,cp);}function c5(cn){return cf['matcher']['regexIndex']===0x0?(ci+=cn[0x0],0x1):(cm=!0x0,0x0);}function c6(cn){const dq=b;let co=cn[0x0],cp=cn['rule'],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[dq(0x1bb)];}function c7(cn){const dr=b;let co=cn[0x0],cp=bT['substring'](cn['index']),cq=c4(cf,cn,cp);if(!cq)return bh;let cr=cf;cf['endScope']&&cf[dr(0x1fb)]['_wrap']?(c0(),c1(co,cf['endScope'][dr(0x1d0)])):cf['endScope']&&cf['endScope']['_multi']?(c0(),c2(cf['endScope'],cn)):cr[dr(0x200)]?ci+=co:(cr['returnEnd']||cr['excludeEnd']||(ci+=co),c0(),cr[dr(0x1b8)]&&(ci=co));do cf[dr(0x1c5)]&&ch['closeNode'](),!cf['skip']&&!cf['subLanguage']&&(cj+=cf['relevance']),cf=cf['parent'];while(cf!==cq['parent']);return cq['starts']&&c3(cq['starts'],cn),cr['returnEnd']?0x0:co[dr(0x1bb)];}function c8(){const ds=b;let cn=[];for(let co=cf;co!==cb;co=co['parent'])co[ds(0x1c5)]&&cn['unshift'](co['scope']);cn[ds(0x21d)](cp=>ch['openNode'](cp));}let c9={};function ca(cn,co){const dt=b;let cp=co&&co[0x0];if(ci+=cn,cp==null)return c0(),0x0;if(c9['type']==='begin'&&co['type']==='end'&&c9['index']===co[dt(0x1f2)]&&cp===''){if(ci+=bT['slice'](co['index'],co['index']+0x1),!bq){let cq=Error('0\x20width\x20match\x20regex\x20('+bS+')');throw cq['languageName']=bS,cq[dt(0x1c6)]=c9['rule'],cq;}return 0x1;}if(c9=co,co[dt(0x20e)]==='begin')return c6(co);if(co['type']===dt(0x1ea)&&!bU){let cr=Error('Illegal\x20lexeme\x20\x22'+cp+'\x22\x20for\x20mode\x20\x22'+(cf['scope']||'<unnamed>')+'\x22');throw cr['mode']=cf,cr;}else{if(co['type']==='end'){let cs=c7(co);if(cs!==bh)return cs;}}if(co['type']===dt(0x1ea)&&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['length'];}let cb=bK(bS);if(!cb)throw b0(br['replace']('{}',bS)),Error('Unknown\x20language:\x20\x22'+bS+'\x22');let cc=b9(cb),cd='',cf=bV||cc,cg={},ch=new bt[(du(0x208))](bt);c8();let ci='',cj=0x0,ck=0x0,cl=0x0,cm=!0x1;try{if(cb['__emitTokens'])cb[du(0x207)](bT,ch);else{for(cf['matcher']['considerAll']();;){cl++,cm?cm=!0x1:cf['matcher']['considerAll'](),cf['matcher'][du(0x1fe)]=ck;let cn=cf['matcher']['exec'](bT);if(!cn)break;let co=ca(bT[du(0x1eb)](ck,cn['index']),cn);ck=cn['index']+co;}ca(bT[du(0x1eb)](ck));}return ch[du(0x1f8)](),cd=ch['toHTML'](),{'language':bS,'value':cd,'relevance':cj,'illegal':!0x1,'_emitter':ch,'_top':cf};}catch(cp){if(cp[du(0x1da)]&&cp['message'][du(0x1ca)](du(0x1cd)))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){const dv=dg;let bT={'value':bf(bS),'illegal':!0x1,'relevance':0x0,'_top':bs,'_emitter':new bt['__emitter'](bt)};return bT['_emitter'][dv(0x1cc)](bS),bT;}function bz(bS,bT){const dw=dg;bT=bT||bt['languages']||Object[dw(0x217)](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 dx=dw;if(bZ['relevance']!==c0[dx(0x20f)])return c0['relevance']-bZ['relevance'];if(bZ['language']&&c0['language']){if(bK(bZ['language'])[dx(0x205)]===c0['language'])return 0x1;if(bK(c0['language'])['supersetOf']===bZ['language'])return-0x1;}return 0x0;}),bY=bW;return bY['secondBest']=bX,bY;}function bA(bS,bT,bU){const dy=dg;let bV=bT&&bo[bT]||bU;bS[dy(0x1c9)][dy(0x220)](dy(0x1d1)),bS['classList']['add'](dy(0x1b9)+bV);}function bB(bS){const dz=dg;let bT=null,bU=bv(bS);if(bu(bU))return;if(bQ('before:highlightElement',{'el':bS,'language':bU}),bS[dz(0x1bc)]['highlighted']){console['log'](dz(0x1db),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']('https://github.com/highlightjs/highlight.js/wiki/security'),console['warn']('The\x20element\x20with\x20unescaped\x20HTML:'),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['dataset']['highlighted']='yes',bA(bS,bU,bW['language']),bS['result']={'language':bW['language'],'re':bW[dz(0x20f)],'relevance':bW[dz(0x20f)]},bW['secondBest']&&(bS['secondBest']={'language':bW['secondBest'][dz(0x1ef)],'relevance':bW[dz(0x1fd)]['relevance']}),bQ('after:highlightElement',{'el':bS,'result':bW,'text':bV});}function bC(bS){bt=bg(bt,bS);}let bD=()=>{bG(),b2('10.6.0','initHighlighting()\x20deprecated.\x20\x20Use\x20highlightAll()\x20now.');};function bE(){const dA=dg;bG(),b2('10.6.0',dA(0x1c0));}let bF=!0x1;function bG(){function bS(){bG();}if(document['readyState']==='loading'){bF||window['addEventListener']('DOMContentLoaded',bS,!0x1),bF=!0x0;return;}document['querySelectorAll'](bt['cssSelector'])['forEach'](bB);}function bH(bS,bT){const dB=dg;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[dB(0x1b4)]||(bU['name']=bS),bn[bS]=bU,bU['rawDefinition']=bT['bind'](null,bm),bU['aliases']&&bL(bU[dB(0x216)],{'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){const dC=dg;return bS=(bS||'')[dC(0x1c1)](),bn[bS]||bn[bo[bS]];}function bL(bS,{languageName:bT}){typeof bS=='string'&&(bS=[bS]),bS['forEach'](bU=>{bo[bU['toLowerCase']()]=bT;});}function bM(bS){let bT=bK(bS);return bT&&!bT['disableAutodetect'];}function bN(bS){const dD=dg;bS['before:highlightBlock']&&!bS['before:highlightElement']&&(bS[dD(0x1b3)]=bT=>{const dE=dD;bS[dE(0x1b7)](Object['assign']({'block':bT['el']},bT));}),bS['after:highlightBlock']&&!bS['after:highlightElement']&&(bS['after:highlightElement']=bT=>{const dF=dD;bS['after:highlightBlock'](Object[dF(0x1e6)]({'block':bT['el']},bT));});}function bO(bS){const dG=dg;bN(bS),bp[dG(0x1b6)](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[dg(0x1ff)]={'concat':ai,'lookahead':af,'either':ak,'optional':ah,'anyNumberOfTimes':ag};for(let bS in aM)typeof aM[bS]=='object'&&a2(aM[bS]);return Object['assign'](bm,aM),bm;},bk=bj({});bk['newInstance']=()=>bj({}),a1['exports']=bk,bk['HighlightJS']=bk,bk[cA(0x1f9)]=bk;})())['default'];export{n as default};function b(c,d){c=c-0x1ac;const e=a();let f=e[c];return f;}function a(){const dH=['children','language:','classNameAliases','type','relevance','create','toHTML','after:highlight','unicodeRegex','variants','list','aliases','keys','span','isArray','subLanguage','replace','cachedVariants','forEach','contains','>','add','languageDetectRe','[a-zA-Z_]\x5cw*','constructor','starts','regexIndex','189iyfwWv','endsParent','before:highlightElement','name','parentNode','push','before:highlightBlock','excludeEnd','language-','function','length','dataset','beginRe','end','14625963oXpluj','initHighlightingOnLoad()\x20deprecated.\x20\x20Use\x20highlightAll()\x20now.','toLowerCase','log','1631FSmEFe','shift','scope','badRule','multiRegexes','Plain\x20text','classList','includes','map','addText','Illegal','addRule','keywords','_wrap','hljs','position','\x5cb(','505774AeSriY','beginScope','206776ZYqwOA','compile','begin','join','message','Element\x20previously\x20highlighted.\x20To\x20highlight\x20again,\x20first\x20unset\x20`dataset.highlighted`.','_walk','terminatorEnd','matchAt','exec','2IFmymz','match','capture','code','Falling\x20back\x20to\x20no-highlight\x20mode\x20for\x20this\x20block.','5171250QMmFBJ','assign','every','stack','keywordPatternRe','illegal','substring','rootNode','10Kyxkyy','split','language','__addSublanguage','26796ALCUEz','index','endRe','_emit','rules','1851984QnofjE','concat','finalize','default','openNode','endScope','200199AvCJUF','secondBest','lastIndex','regex','skip','compilerExtensions','isCompiled','beginKeywords','object','supersetOf','string','__emitTokens','__emitter','clear','''];a=function(){return dH;};return a();}
|
|
1
|
+
function b(c,d){c=c-0x137;const e=a();let f=e[c];return f;}function a(){const dy=['keywords','includes','parentNode','after:highlightElement','returnBegin','language:','/\x5c*','HTMLInjectionError','addRule','getMatcher','2937445XPpdLR','readyState','root','assign','keyword','language','length','beforeMatch\x20cannot\x20be\x20used\x20with\x20starts','_beginMatch','starts','string','_wrap','input','compilerExtensions','languageDetectRe','6MryXLq','before:highlightElement','_emit','getOwnPropertyNames','\x5c\x5c[\x5cs\x5cS]','5919606BsAQOv','__emitTokens','closeNode','subLanguage','keywordPatternRe','safeMode','5406254qkMrMH','startsWith','index','427228kmJApP','relevance','result','keys','excludeBegin','language-','matcherRe','(?:','illegal','message','classNameAliases','beginKeywords','initHighlighting()\x20deprecated.\x20\x20Use\x20highlightAll()\x20now.','push','startScope','object','regexIndex','_top','Could\x20not\x20find\x20the\x20language\x20\x27{}\x27,\x20did\x20you\x20forget\x20to\x20load/include\x20a\x20language\x20module?','log','1AiaHHp','languageName','beginScope','source','buffer','toJSON','map','scope','rules','exec','match','value','terminatorEnd','replace','excludeEnd','multiRegexes','2127257ZMABnt','initHighlightingOnLoad()\x20deprecated.\x20\x20Use\x20highlightAll()\x20now.','begin','forEach','isFrozen','10tGOusp','before:highlightBlock','Unknown\x20language:\x20\x22','addText','title','beforeMatch','compile','number','matchIndexes','newInstance','warn','isArray','endsWithParent','after:highlight','considerAll','9zkoptb','endScope','matcher','1246488tjJaSI','split','type','children','walk','110154WbHYCr','concat','contains','self','rootNode'];a=function(){return dy;};return a();}(function(d,f){const cv=b,g=d();while(!![]){try{const h=-parseInt(cv(0x161))/0x1*(-parseInt(cv(0x18d))/0x2)+-parseInt(cv(0x185))/0x3*(parseInt(cv(0x14d))/0x4)+parseInt(cv(0x19c))/0x5+-parseInt(cv(0x13f))/0x6*(-parseInt(cv(0x14a))/0x7)+-parseInt(cv(0x188))/0x8+-parseInt(cv(0x144))/0x9+parseInt(cv(0x176))/0xa*(parseInt(cv(0x171))/0xb);if(h===f)break;else g['push'](g['shift']());}catch(i){g['push'](g['shift']());}}}(a,0x73cc5));import{o as c,t}from'./chunk.js';var n=c(t((a0,a1)=>{const cB=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['freeze'](bl),Object[cw(0x142)](bl)['forEach'](bm=>{const cx=cw;let bn=bl[bm],bo=typeof bn;(bo===cx(0x15c)||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 cy=b;return bl['replace'](/&/g,'&')['replace'](/</g,'<')['replace'](/>/g,'>')[cy(0x16e)](/"/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 cz=b;if(bl[cz(0x14b)]('language:'))return bl[cz(0x16e)](cz(0x197),cz(0x152));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 cA=b;this[cA(0x165)]='',this['classPrefix']=bm['classPrefix'],bl[cA(0x18c)](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);}[cB(0x16c)](){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 cC=cB;this[cC(0x191)]=aa(),this['stack']=[this['rootNode']];}get['top'](){const cD=cB;return this['stack'][this['stack'][cD(0x1a2)]-0x1];}get['root'](){return this['rootNode'];}['add'](bm){this['top']['children']['push'](bm);}['openNode'](bm){const cE=cB;let bn=aa({'scope':bm});this['add'](bn),this['stack'][cE(0x15a)](bn);}['closeNode'](){if(this['stack']['length']>0x1)return this['stack']['pop']();}['closeAllNodes'](){for(;this['closeNode'](););}[cB(0x166)](){return JSON['stringify'](this['rootNode'],null,0x4);}['walk'](bm){return this['constructor']['_walk'](bm,this['rootNode']);}static['_walk'](bm,bn){const cF=cB;return typeof bn=='string'?bm['addText'](bn):bn['children']&&(bm['openNode'](bn),bn['children']['forEach'](bo=>this['_walk'](bm,bo)),bm[cF(0x146)](bn)),bm;}static['_collapse'](bm){const cG=cB;typeof bm!='string'&&bm['children']&&(bm['children']['every'](bn=>typeof bn=='string')?bm['children']=[bm['children']['join']('')]:bm['children'][cG(0x174)](bn=>{bl['_collapse'](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){const cH=cB;let bo=bm[cH(0x19e)];bn&&(bo['scope']=cH(0x197)+bn),this['add'](bo);}['toHTML'](){return new a9(this,this['options'])['value']();}['finalize'](){return this['closeAllNodes'](),!0x0;}};function ad(bm){const cI=cB;return bm?typeof bm==cI(0x13a)?bm:bm[cI(0x164)]:null;}function af(bm){return ai('(?=',bm,')');}function ag(bm){return ai('(?:',bm,')*');}function ah(bm){const cJ=cB;return ai(cJ(0x154),bm,')?');}function ai(...bm){return bm['map'](bn=>ad(bn))['join']('');}function aj(bm){const cK=cB;let bn=bm[bm[cK(0x1a2)]-0x1];return typeof bn=='object'&&bn['constructor']===Object?(bm['splice'](bm[cK(0x1a2)]-0x1,0x1),bn):{};}function ak(...bm){return'('+(aj(bm)['capture']?'':'?:')+bm['map'](bn=>ad(bn))['join']('|')+')';}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}){const cM=cB;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['substring'](bt['index']+bt[0x0][cL(0x1a2)]),bt[0x0][0x0]==='\x5c'&&bt[0x1]?bs+='\x5c'+String(Number(bt[0x1])+bq):(bs+=bt[0x0],bt[0x0]==='('&&bo++);}return bs;})[cM(0x167)](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='\x5cb(0b[01]+)',av='!|!=|!==|%|%=|&|&&|&=|\x5c*|\x5c*=|\x5c+|\x5c+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\x5c?|\x5c[|\x5c{|\x5c(|\x5c^|\x5c^=|\x5c||\x5c|=|\x5c|\x5c||~',aw=(bm={})=>{let bn=/^#![ ]*\//;return bm['binary']&&(bm['begin']=ai(bn,/.*\b/,bm['binary'],/\b.*/)),a5({'scope':'meta','begin':bn,'end':/$/,'relevance':0x0,'on:begin':(bo,bp)=>{bo['index']!==0x0&&bp['ignoreMatch']();}},bm);},ax={'begin':cB(0x143),'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 cN=cB;let bp=a5({'scope':'comment','begin':bm,'end':bn,'contains':[]},bo);bp['contains'][cN(0x15a)]({'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[cN(0x18f)]['push']({'begin':ai(/[ ]+/,'(',bq,/[.]?[:]?([.][ ]|[ ])/,'){3}')}),bp;},aC=aB('//','$'),aD=aB(cB(0x198),'\x5c*/'),aE=aB('#','$'),aF={'scope':'number','begin':as,'relevance':0x0},aG={'scope':cB(0x17d),'begin':at,'relevance':0x0},aH={'scope':'number','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':cB(0x17a),'begin':ar,'relevance':0x0},aL={'begin':'\x5c.\x5cs*'+ar,'relevance':0x0},aM=Object['freeze']({'__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)=>{const cO=b;bo['data'][cO(0x138)]=bn[0x1];},'on:end':(bn,bo)=>{bo['data']['_beginMatch']!==bn[0x1]&&bo['ignoreMatch']();}});},'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){const cP=cB;bm[cP(0x13c)][bm['index']-0x1]==='.'&&bn['ignoreMatch']();}function aO(bm,bn){const cQ=cB;bm['className']!==void 0x0&&(bm[cQ(0x168)]=bm['className'],delete bm['className']);}function aP(bm,bn){const cR=cB;bn&&bm[cR(0x158)]&&(bm['begin']='\x5cb('+bm[cR(0x158)]['split']('\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=cB;if(bm[cS(0x16b)]){if(bm['begin']||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=cB;if(!bm[cT(0x17b)])return;if(bm['starts'])throw Error(cT(0x137));let bo=Object['assign']({},bm);Object['keys'](bm)['forEach'](bp=>{delete bm[bp];}),bm['keywords']=bo['keywords'],bm['begin']=ai(bo['beforeMatch'],af(bo['begin'])),bm['starts']={'relevance':0x0,'contains':[Object[cT(0x19f)](bo,{'endsParent':!0x0})]},bm['relevance']=0x0,delete bo['beforeMatch'];},aU=['of','and','for','in','not','or','if','then','parent','list','value'],aV=cB(0x1a0);function aW(bm,bn,bo=aV){const cU=cB;let bp=Object['create'](null);return typeof bm=='string'?bq(bo,bm[cU(0x189)]('\x20')):Array[cU(0x181)](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){let bu=bt['split']('|');bp[bu[0x0]]=[br,aX(bu[0x0],bu[0x1])];});}}function aX(bm,bn){return bn?Number(bn):+!aY(bm);}function aY(bm){return aU['includes'](bm['toLowerCase']());}var aZ={},b0=bm=>{console['error'](bm);},b1=(bm,...bn)=>{const cV=cB;console[cV(0x160)]('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}){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]['_emit']=br,bm[bo]['_multi']=!0x0;}function b5(bm){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']!='object'||bm['beginScope']===null)throw b0('beginScope\x20must\x20be\x20object'),b3;b4(bm,bm['begin'],{'key':'beginScope'}),bm['begin']=ao(bm['begin'],{'joinWith':''});}}function b6(bm){const cW=cB;if(Array['isArray'](bm['end'])){if(bm['skip']||bm[cW(0x16f)]||bm['returnEnd'])throw b0('skip,\x20excludeEnd,\x20returnEnd\x20not\x20compatible\x20with\x20endScope:\x20{}'),b3;if(typeof bm['endScope']!='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){bm['scope']&&typeof bm['scope']=='object'&&bm['scope']!==null&&(bm['beginScope']=bm['scope'],delete bm['scope']);}function b8(bm){const cX=cB;b7(bm),typeof bm['beginScope']=='string'&&(bm['beginScope']={'_wrap':bm['beginScope']}),typeof bm[cX(0x186)]=='string'&&(bm['endScope']={'_wrap':bm['endScope']}),b5(bm),b6(bm);}function b9(bm){const cY=cB;function bn(bs,bt){return new RegExp(ad(bs),'m'+(bm['case_insensitive']?'i':'')+(bm['unicodeRegex']?'u':'')+(bt?'g':''));}class bo{constructor(){this['matchIndexes']={},this['regexes']=[],this['matchAt']=0x1,this['position']=0x0;}[cY(0x19a)](bs,bt){const cZ=cY;bt['position']=this['position']++,this[cZ(0x17e)][this['matchAt']]=bt,this['regexes'][cZ(0x15a)]([bt,bs]),this['matchAt']+=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;}[cY(0x16a)](bs){const d0=cY;this[d0(0x153)]['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['splice'](0x0,bu),Object['assign'](bt,bv);}}class bp{constructor(){const d1=cY;this['rules']=[],this[d1(0x170)]=[],this['count']=0x0,this['lastIndex']=0x0,this['regexIndex']=0x0;}['getMatcher'](bs){const d2=cY;if(this['multiRegexes'][bs])return this['multiRegexes'][bs];let bt=new bo();return this[d2(0x169)]['slice'](bs)['forEach'](([bu,bv])=>bt['addRule'](bu,bv)),bt[d2(0x17c)](),this['multiRegexes'][bs]=bt,bt;}['resumingScanAtSamePosition'](){return this['regexIndex']!==0x0;}['considerAll'](){this['regexIndex']=0x0;}[cY(0x19a)](bs,bt){const d3=cY;this[d3(0x169)]['push']([bs,bt]),bt['type']==='begin'&&this['count']++;}['exec'](bs){const d4=cY;let bt=this[d4(0x19b)](this['regexIndex']);bt['lastIndex']=this['lastIndex'];let bu=bt['exec'](bs);if(this['resumingScanAtSamePosition']()&&!(bu&&bu['index']===this['lastIndex'])){let bv=this[d4(0x19b)](0x0);bv['lastIndex']=this['lastIndex']+0x1,bu=bv[d4(0x16a)](bs);}return bu&&(this['regexIndex']+=bu['position']+0x1,this[d4(0x15d)]===this['count']&&this['considerAll']()),bu;}}function bq(bs){const d5=cY;let bt=new bp();return bs[d5(0x18f)]['forEach'](bu=>bt[d5(0x19a)](bu['begin'],{'rule':bu,'type':'begin'})),bs['terminatorEnd']&&bt['addRule'](bs['terminatorEnd'],{'type':'end'}),bs['illegal']&&bt['addRule'](bs['illegal'],{'type':'illegal'}),bt;}function br(bs,bt){const d6=cY;let bu=bs;if(bs['isCompiled'])return bu;[aO,aR,b8,aT]['forEach'](bw=>bw(bs,bt)),bm[d6(0x13d)]['forEach'](bw=>bw(bs,bt)),bs['__beforeBegin']=null,[aP,aQ,aS]['forEach'](bw=>bw(bs,bt)),bs['isCompiled']=!0x0;let bv=null;return typeof bs['keywords']==d6(0x15c)&&bs['keywords']['$pattern']&&(bs['keywords']=Object['assign']({},bs[d6(0x192)]),bv=bs['keywords']['$pattern'],delete bs['keywords']['$pattern']),bv=bv||/\w+/,bs[d6(0x192)]&&(bs['keywords']=aW(bs['keywords'],bm['case_insensitive'])),bu['keywordPatternRe']=bn(bv,!0x0),bt&&(bs['begin']||(bs[d6(0x173)]=/\B|\b/),bu['beginRe']=bn(bu['begin']),!bs['end']&&!bs['endsWithParent']&&(bs['end']=/\B|\b/),bs['end']&&(bu['endRe']=bn(bu['end'])),bu[d6(0x16d)]=ad(bu['end'])||'',bs[d6(0x182)]&&bt['terminatorEnd']&&(bu['terminatorEnd']+=(bs['end']?'|':'')+bt['terminatorEnd'])),bs['illegal']&&(bu['illegalRe']=bn(bs[d6(0x155)])),bs['contains']||(bs[d6(0x18f)]=[]),bs['contains']=[][d6(0x18e)](...bs['contains']['map'](function(bw){return bb(bw==='self'?bs:bw);})),bs[d6(0x18f)]['forEach'](function(bw){br(bw,bu);}),bs['starts']&&br(bs['starts'],bt),bu[d6(0x187)]=bq(bu),bu;}if(bm['compilerExtensions']||(bm['compilerExtensions']=[]),bm['contains']&&bm[cY(0x18f)][cY(0x193)](cY(0x190)))throw Error('ERR:\x20contains\x20`self`\x20is\x20not\x20supported\x20at\x20the\x20top-level\x20of\x20a\x20language.\x20\x20See\x20documentation.');return bm[cY(0x157)]=a5(bm['classNameAliases']||{}),br(bm);}function ba(bm){return bm?bm['endsWithParent']||ba(bm['starts']):!0x1;}function bb(bm){const d7=cB;return bm['variants']&&!bm['cachedVariants']&&(bm['cachedVariants']=bm['variants']['map'](function(bn){return a5(bm,{'variants':null},bn);})),bm['cachedVariants']?bm['cachedVariants']:ba(bm)?a5(bm,{'starts':bm[d7(0x139)]?a5(bm['starts']):null}):Object[d7(0x175)](bm)?a5(bm):bm;}var bc='11.11.1',bd=class extends Error{constructor(bm,bn){const d8=cB;super(bm),this['name']=d8(0x199),this['html']=bn;}},bf=a4,bg=a5,bh=Symbol('nomatch'),bi=0x7,bj=function(bm){const d9=cB;let bn=Object['create'](null),bo=Object['create'](null),bp=[],bq=!0x0,br=d9(0x15f),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':'pre\x20code','languages':null,'__emitter':ac};function bu(bS){return bt['noHighlightRe']['test'](bS);}function bv(bS){const da=d9;let bT=bS['className']+'\x20';bT+=bS['parentNode']?bS[da(0x194)]['className']:'';let bU=bt[da(0x13e)][da(0x16a)](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]:'no-highlight';}return bT['split'](/\s+/)['find'](bW=>bu(bW)||bK(bW));}function bw(bS,bT,bU){const db=d9;let bV='',bW='';typeof bT==db(0x15c)?(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['language'],bX['code'],bU);return bY['code']=bX['code'],bQ(db(0x183),bY),bY;}function bx(bS,bT,bU,bV){const dl=d9;let bW=Object['create'](null);function bX(cn,co){return cn['keywords'][co];}function bY(){const dc=b;if(!cf[dc(0x192)]){ch['addText'](ci);return;}let cn=0x0;cf[dc(0x148)]['lastIndex']=0x0;let co=cf[dc(0x148)]['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['startsWith']('_'))cp+=co[0x0];else{let cu=cb['classNameAliases'][cs]||cs;c1(co[0x0],cu);}}else cp+=co[0x0];cn=cf['keywordPatternRe']['lastIndex'],co=cf['keywordPatternRe']['exec'](ci);}cp+=ci['substring'](cn),ch['addText'](cp);}function bZ(){const dd=b;if(ci==='')return;let cn=null;if(typeof cf[dd(0x147)]==dd(0x13a)){if(!bn[cf['subLanguage']]){ch[dd(0x179)](ci);return;}cn=bx(cf['subLanguage'],ci,!0x0,cg[cf['subLanguage']]),cg[cf['subLanguage']]=cn[dd(0x15e)];}else cn=bz(ci,cf['subLanguage']['length']?cf['subLanguage']:null);cf['relevance']>0x0&&(cj+=cn[dd(0x14e)]),ch['__addSublanguage'](cn['_emitter'],cn['language']);}function c0(){cf['subLanguage']==null?bY():bZ(),ci='';}function c1(cn,co){const de=b;cn!==''&&(ch[de(0x15b)](co),ch[de(0x179)](cn),ch['endScope']());}function c2(cn,co){const df=b;let cp=0x1,cq=co['length']-0x1;for(;cp<=cq;){if(!cn[df(0x141)][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 dg=b;return cn['scope']&&typeof cn['scope']=='string'&&ch['openNode'](cb['classNameAliases'][cn['scope']]||cn['scope']),cn[dg(0x163)]&&(cn['beginScope']['_wrap']?(c1(ci,cb[dg(0x157)][cn['beginScope']['_wrap']]||cn['beginScope']['_wrap']),ci=''):cn['beginScope']['_multi']&&(c2(cn['beginScope'],co),ci='')),cf=Object['create'](cn,{'parent':{'value':cf}}),cf;}function c4(cn,co,cp){let cq=am(cn['endRe'],cp);if(cq){if(cn['on:end']){let cr=new a3(cn);cn['on:end'](co,cr),cr['isMatchIgnored']&&(cq=!0x1);}if(cq){for(;cn['endsParent']&&cn['parent'];)cn=cn['parent'];return cn;}}if(cn['endsWithParent'])return c4(cn['parent'],co,cp);}function c5(cn){const dh=b;return cf['matcher'][dh(0x15d)]===0x0?(ci+=cn[0x0],0x1):(cm=!0x0,0x0);}function c6(cn){const di=b;let co=cn[0x0],cp=cn['rule'],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[di(0x151)]&&(ci=co)),c3(cp,cn),cp[di(0x196)]?0x0:co['length'];}function c7(cn){const dj=b;let co=cn[0x0],cp=bT['substring'](cn['index']),cq=c4(cf,cn,cp);if(!cq)return bh;let cr=cf;cf[dj(0x186)]&&cf['endScope'][dj(0x13b)]?(c0(),c1(co,cf[dj(0x186)]['_wrap'])):cf['endScope']&&cf['endScope']['_multi']?(c0(),c2(cf[dj(0x186)],cn)):cr['skip']?ci+=co:(cr['returnEnd']||cr['excludeEnd']||(ci+=co),c0(),cr['excludeEnd']&&(ci=co));do cf['scope']&&ch['closeNode'](),!cf['skip']&&!cf[dj(0x147)]&&(cj+=cf['relevance']),cf=cf['parent'];while(cf!==cq['parent']);return cq['starts']&&c3(cq['starts'],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 dk=b;let cp=co&&co[0x0];if(ci+=cn,cp==null)return c0(),0x0;if(c9['type']===dk(0x173)&&co[dk(0x18a)]==='end'&&c9[dk(0x14c)]===co['index']&&cp===''){if(ci+=bT['slice'](co['index'],co[dk(0x14c)]+0x1),!bq){let cq=Error('0\x20width\x20match\x20regex\x20('+bS+')');throw cq[dk(0x162)]=bS,cq['badRule']=c9['rule'],cq;}return 0x1;}if(c9=co,co[dk(0x18a)]==='begin')return c6(co);if(co['type']==='illegal'&&!bU){let cr=Error('Illegal\x20lexeme\x20\x22'+cp+'\x22\x20for\x20mode\x20\x22'+(cf[dk(0x168)]||'<unnamed>')+'\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['length'];}let cb=bK(bS);if(!cb)throw b0(br[dl(0x16e)]('{}',bS)),Error(dl(0x178)+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[dl(0x145)](bT,ch);else{for(cf['matcher']['considerAll']();;){cl++,cm?cm=!0x1:cf[dl(0x187)][dl(0x184)](),cf[dl(0x187)]['lastIndex']=ck;let cn=cf['matcher'][dl(0x16a)](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['message']&&cp['message']['includes']('Illegal'))return{'language':bS,'value':bf(bT),'illegal':!0x0,'relevance':0x0,'_illegalBy':{'message':cp[dl(0x156)],'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){bT=bT||bt['languages']||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 dm=b;if(bZ['relevance']!==c0['relevance'])return c0['relevance']-bZ['relevance'];if(bZ[dm(0x1a1)]&&c0['language']){if(bK(bZ['language'])['supersetOf']===c0['language'])return 0x1;if(bK(c0['language'])['supersetOf']===bZ['language'])return-0x1;}return 0x0;}),bY=bW;return bY['secondBest']=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 dn=d9;let bT=null,bU=bv(bS);if(bu(bU))return;if(bQ(dn(0x140),{'el':bS,'language':bU}),bS['dataset']['highlighted']){console['log']('Element\x20previously\x20highlighted.\x20To\x20highlight\x20again,\x20first\x20unset\x20`dataset.highlighted`.',bS);return;}if(bS[dn(0x18b)]['length']>0x0&&(bt['ignoreUnescapedHTML']||(console['warn']('One\x20of\x20your\x20code\x20blocks\x20includes\x20unescaped\x20HTML.\x20This\x20is\x20a\x20potentially\x20serious\x20security\x20risk.'),console[dn(0x180)]('https://github.com/highlightjs/highlight.js/wiki/security'),console['warn']('The\x20element\x20with\x20unescaped\x20HTML:'),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[dn(0x16c)],bS['dataset']['highlighted']='yes',bA(bS,bU,bW['language']),bS[dn(0x14f)]={'language':bW['language'],'re':bW['relevance'],'relevance':bW[dn(0x14e)]},bW['secondBest']&&(bS['secondBest']={'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 dp=d9;bG(),b2('10.6.0',dp(0x159));};function bE(){const dq=d9;bG(),b2('10.6.0',dq(0x172));}let bF=!0x1;function bG(){const dr=d9;function bS(){bG();}if(document[dr(0x19d)]==='loading'){bF||window['addEventListener']('DOMContentLoaded',bS,!0x1),bF=!0x0;return;}document['querySelectorAll'](bt['cssSelector'])['forEach'](bB);}function bH(bS,bT){const ds=d9;let bU=null;try{bU=bT(bm);}catch(bV){if(b0('Language\x20definition\x20for\x20\x27{}\x27\x20could\x20not\x20be\x20registered.'[ds(0x16e)]('{}',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(){const dt=d9;return Object[dt(0x150)](bn);}function bK(bS){return bS=(bS||'')['toLowerCase'](),bn[bS]||bn[bo[bS]];}function bL(bS,{languageName:bT}){const du=d9;typeof bS=='string'&&(bS=[bS]),bS[du(0x174)](bU=>{bo[bU['toLowerCase']()]=bT;});}function bM(bS){let bT=bK(bS);return bT&&!bT['disableAutodetect'];}function bN(bS){const dv=d9;bS['before:highlightBlock']&&!bS['before:highlightElement']&&(bS[dv(0x140)]=bT=>{const dw=dv;bS[dw(0x177)](Object['assign']({'block':bT['el']},bT));}),bS['after:highlightBlock']&&!bS['after:highlightElement']&&(bS[dv(0x195)]=bT=>{const dx=dv;bS['after:highlightBlock'](Object[dx(0x19f)]({'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[d9(0x19f)](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[d9(0x149)]=function(){bq=!0x0;},bm['versionString']=bc,bm['regex']={'concat':ai,'lookahead':af,'either':ak,'optional':ah,'anyNumberOfTimes':ag};for(let bS in aM)typeof aM[bS]=='object'&&a2(aM[bS]);return Object['assign'](bm,aM),bm;},bk=bj({});bk[cB(0x17f)]=()=>bj({}),a1['exports']=bk,bk['HighlightJS']=bk,bk['default']=bk;})())['default'];export{n as default};
|