@directus/app 12.1.1 → 12.1.2
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/dist/assets/{@directus_extensions-sdk.DZiVxlLF.entry.js → @directus_extensions-sdk.CbIPvCbM.entry.js} +1 -1
- package/dist/assets/{active-line-CtbuSVBs.js → active-line-BtxbgRr2.js} +1 -1
- package/dist/assets/{af-Re00BfXY.js → af-BhrWWdcg.js} +1 -1
- package/dist/assets/{apl-JPUuU32_.js → apl-D1pF2SfY.js} +1 -1
- package/dist/assets/{ar-DZ-C7LV-l0n.js → ar-DZ-BA-CDKG8.js} +1 -1
- package/dist/assets/{ar-MA-DW6XiGT5.js → ar-MA-BA7hcxYb.js} +1 -1
- package/dist/assets/{ar-SA-Dx_eMvwV.js → ar-SA-zicrkzI_.js} +1 -1
- package/dist/assets/{asciiarmor-Bu0mhHTp.js → asciiarmor-9YqXvbAd.js} +1 -1
- package/dist/assets/{asn.1-CeLtejaC.js → asn.1-e0GR6jy7.js} +1 -1
- package/dist/assets/{asterisk-CP4l0l5u.js → asterisk-Bu6rOanP.js} +1 -1
- package/dist/assets/{autorefresh-BLAOJ-or.js → autorefresh-DNfNNOoh.js} +1 -1
- package/dist/assets/{az-DYkyiSWM.js → az-DNNtL-64.js} +1 -1
- package/dist/assets/{be-BPehEA7i.js → be-CYz-z_BF.js} +1 -1
- package/dist/assets/{bg-CLgeCQRv.js → bg-C6Qdt-df.js} +1 -1
- package/dist/assets/{bn-Di0WG7Rb.js → bn-CTHgOrur.js} +1 -1
- package/dist/assets/{brainfuck-CSk07kWZ.js → brainfuck-DDHAMHcm.js} +1 -1
- package/dist/assets/{ca-C6e55iCY.js → ca-Ejwj4qsB.js} +1 -1
- package/dist/assets/{clike-BbPn8K_6.js → clike-CzrpN8bi.js} +1 -1
- package/dist/assets/{clojure-CPevEN5B.js → clojure-CX6DXYf1.js} +1 -1
- package/dist/assets/{cmake-D87Jgut3.js → cmake-BFLGw5Kw.js} +1 -1
- package/dist/assets/{cobol-BS3XuOiC.js → cobol-DyJLnzLb.js} +1 -1
- package/dist/assets/{coffeescript-CHR4b-xA.js → coffeescript-DwdF8hKi.js} +1 -1
- package/dist/assets/{commonlisp-BBjPHlNo.js → commonlisp-OYE83vBi.js} +1 -1
- package/dist/assets/{crystal-CVaN49lp.js → crystal-DsXMX00j.js} +1 -1
- package/dist/assets/{cs-D2ToICsc.js → cs-CkeVdjlU.js} +1 -1
- package/dist/assets/{css-BPZlJ7Tv.js → css-DqwzpRjU.js} +1 -1
- package/dist/assets/{cy-ZOjBWWfn.js → cy-B0cIpZoI.js} +1 -1
- package/dist/assets/{cypher-DK3fhVri.js → cypher-BQ0aYFEA.js} +1 -1
- package/dist/assets/{d-Da2c3WOp.js → d-PSwSFGN0.js} +1 -1
- package/dist/assets/{da-C_ppKA1D.js → da-DhL3vBct.js} +1 -1
- package/dist/assets/{dart-Bx9DIcGx.js → dart-CToftxMq.js} +1 -1
- package/dist/assets/{de-AT-BD_jtHGf.js → de-AT-Bk9Tcfam.js} +1 -1
- package/dist/assets/{de-CCyglirf.js → de-DtSVn4de.js} +1 -1
- package/dist/assets/{diff-JhC3pg34.js → diff-2Ur3Zkzi.js} +1 -1
- package/dist/assets/{django-CnJ1iCPr.js → django-oyMicMW8.js} +1 -1
- package/dist/assets/{dockerfile-BEx2xOyT.js → dockerfile-DsWd02JY.js} +1 -1
- package/dist/assets/{dtd-BBHVVuSU.js → dtd-J_B5jtoX.js} +1 -1
- package/dist/assets/{dylan-vmWUk9c4.js → dylan-qAftJvGU.js} +1 -1
- package/dist/assets/{ebnf-CnzL7SR4.js → ebnf-BwLu0H4v.js} +1 -1
- package/dist/assets/{ecl-jqtxeKzF.js → ecl-jytDGjZ8.js} +1 -1
- package/dist/assets/{eiffel-DWKT0cjT.js → eiffel-ShsIZyIA.js} +1 -1
- package/dist/assets/{el-DxO0Wwfv.js → el-C5To8X0W.js} +1 -1
- package/dist/assets/el-GR-DbFQGZCB.js +1 -0
- package/dist/assets/{elm-D6nnLjc3.js → elm-BN3PEOm8.js} +1 -1
- package/dist/assets/{en-AU-Ca-0TgpN.js → en-AU-D5nVARLV.js} +1 -1
- package/dist/assets/{en-CA-ju4LGJ0G.js → en-CA-CitnXpyc.js} +1 -1
- package/dist/assets/{en-GB-BbspM74K.js → en-GB-BXn3lA8f.js} +1 -1
- package/dist/assets/{en-IN-BIeAtrMi.js → en-IN-dL1OqWAr.js} +1 -1
- package/dist/assets/{en-NZ-CcbwJBrJ.js → en-NZ-BZXHSBZJ.js} +1 -1
- package/dist/assets/{en-ZA-B-pYI7Lv.js → en-ZA-CldfT1HZ.js} +1 -1
- package/dist/assets/{eo-BR1XgBmD.js → eo-e63h2vIn.js} +1 -1
- package/dist/assets/{erlang-p2W7kPhd.js → erlang-DeE2JPSY.js} +1 -1
- package/dist/assets/{es-xdI_aFdb.js → es-BUKdYOKe.js} +1 -1
- package/dist/assets/{et-CY4S18yz.js → et-CSm2y8HM.js} +1 -1
- package/dist/assets/{eu-DKyp9I2J.js → eu-DyfJLZv1.js} +1 -1
- package/dist/assets/{fa-IR-QEioJW2A.js → fa-IR-Bf8KOib2.js} +1 -1
- package/dist/assets/{factor-DFGby8je.js → factor-IS4IhBJh.js} +1 -1
- package/dist/assets/{fcl-D7RknDTh.js → fcl-v9nGNJVq.js} +1 -1
- package/dist/assets/{fi-BoJUbuV9.js → fi-DGO_yhBO.js} +1 -1
- package/dist/assets/{forth-CZZ7SkI3.js → forth-BCJ4NquQ.js} +1 -1
- package/dist/assets/{fortran-CA5uOIoR.js → fortran-l2Mv9hmJ.js} +1 -1
- package/dist/assets/{fr-CA-DP1P2Qnj.js → fr-CA-DlyaeFWE.js} +1 -1
- package/dist/assets/{fr-CH-B1T5CdGb.js → fr-CH-DhY2LtOe.js} +1 -1
- package/dist/assets/{fr-Coe-SVyA.js → fr-Cc3HAlzp.js} +1 -1
- package/dist/assets/{gas-GX-AxT3e.js → gas-CQ9waVX1.js} +1 -1
- package/dist/assets/{gd-CzLDLMKD.js → gd-A_OCNrNz.js} +1 -1
- package/dist/assets/{gfm-DVM0_OTE.js → gfm-hM61imtW.js} +1 -1
- package/dist/assets/{gherkin-D2wWAfIx.js → gherkin-BYMnr4Zk.js} +1 -1
- package/dist/assets/{gl-LJ_GiZcv.js → gl-EnGb9E5B.js} +1 -1
- package/dist/assets/{go-BsuNTBxU.js → go-B9oyj0tu.js} +1 -1
- package/dist/assets/{groovy-Aub2CtQT.js → groovy-C9c0GiYE.js} +1 -1
- package/dist/assets/{gu-DidgtvTE.js → gu-Bgo3ZNZD.js} +1 -1
- package/dist/assets/{haml-DaJR8CFf.js → haml-CUKGEPlx.js} +1 -1
- package/dist/assets/{handlebars-uyVnuZWb.js → handlebars-BeDkzwZJ.js} +1 -1
- package/dist/assets/{haskell-B-lgP7gT.js → haskell-BYpPpdXP.js} +1 -1
- package/dist/assets/{haskell-literate-TgCIp0uR.js → haskell-literate-BRF_OjgC.js} +1 -1
- package/dist/assets/{haxe-DKw3ZjC0.js → haxe-O_J1v_XY.js} +1 -1
- package/dist/assets/{he-BuCx93l2.js → he-JqsR106j.js} +1 -1
- package/dist/assets/{hi-CEE_ZJG2.js → hi-DchThMA_.js} +1 -1
- package/dist/assets/{hr-8TZNJx2P.js → hr-CqwiGwLc.js} +1 -1
- package/dist/assets/{ht-BVWCQdnk.js → ht-L2Tw1feV.js} +1 -1
- package/dist/assets/{htmlembedded-Bq9naenF.js → htmlembedded-DzatDa7E.js} +1 -1
- package/dist/assets/{htmlmixed-DGWAV2Yh.js → htmlmixed-51ADzyde.js} +1 -1
- package/dist/assets/{htmlmixed-DJC9Teft.js → htmlmixed-CDXMROEP.js} +1 -1
- package/dist/assets/{http-mz3oMd5K.js → http-BtbFwkIx.js} +1 -1
- package/dist/assets/{hu-Di3Eax3I.js → hu-B4gFqZWW.js} +1 -1
- package/dist/assets/{hy-CegI0xnl.js → hy--PmYq-Bg.js} +1 -1
- package/dist/assets/{id-DhjfdPwp.js → id-JuSM4qTH.js} +1 -1
- package/dist/assets/{idl-DSvhC5hI.js → idl-DtoLdhsR.js} +1 -1
- package/dist/assets/{index-FJKG3ti3.js → index-BruAGqzh.js} +1 -1
- package/dist/assets/index-DHeg5t6z.js +21 -0
- package/dist/assets/{index.DthmAZM1.entry.js → index.BQEdtNII.entry.js} +9 -9
- package/dist/assets/{input-rich-text-html-C1PHCqxK.js → input-rich-text-html-C0H_E0tE.js} +1 -1
- package/dist/assets/{is-DqL8Sc3u.js → is-Dy8rZGKe.js} +1 -1
- package/dist/assets/isSameWeek-C7wOS0WP.js +1 -0
- package/dist/assets/{it-ChIJiivF.js → it-MZK5Wp01.js} +1 -1
- package/dist/assets/{ja-CKhgGyG2.js → ja-CpUT-M5O.js} +1 -1
- package/dist/assets/{javascript-DsvDqGb5.js → javascript-6x864wjq.js} +1 -1
- package/dist/assets/{javascript-hint-C99vfDCt.js → javascript-hint-BYkpmIx-.js} +1 -1
- package/dist/assets/{jinja2-CJSmHz3_.js → jinja2-ClJp6yB9.js} +1 -1
- package/dist/assets/{jsonlint-Beck-uF6.js → jsonlint-B8sn4V7k.js} +1 -1
- package/dist/assets/{jsx-Br4KJVPv.js → jsx-DiAW9hUb.js} +1 -1
- package/dist/assets/{julia-DHdsfP35.js → julia-C2aDFL1r.js} +1 -1
- package/dist/assets/{ka-Br_KYBBF.js → ka-BbrRoLOD.js} +1 -1
- package/dist/assets/{kk-B5fPEOdO.js → kk-C59BjiFF.js} +1 -1
- package/dist/assets/{kn-DVnybpPz.js → kn-D1i38NcB.js} +1 -1
- package/dist/assets/{ko-BlLyqS4B.js → ko-BVSA1DXL.js} +1 -1
- package/dist/assets/{lb-Dja_yonm.js → lb-CSVrZ6iB.js} +1 -1
- package/dist/assets/{livescript-DopjX6lC.js → livescript-IIbQegHb.js} +1 -1
- package/dist/assets/{lt-BSXKNFzo.js → lt-DorJN_WN.js} +1 -1
- package/dist/assets/{lua-DAw9kSXX.js → lua-CZ3R6Q6G.js} +1 -1
- package/dist/assets/{lv-uG6Zx6mU.js → lv-CwfsBOh9.js} +1 -1
- package/dist/assets/{mark-selection-W5kBnEHR.js → mark-selection-HjEJeHYA.js} +1 -1
- package/dist/assets/{match-Djhtfp2_.js → match-BH59OqWH.js} +1 -1
- package/dist/assets/{match-C9mZRmiR.js → match-G0w9btE4.js} +1 -1
- package/dist/assets/{match-highlighter-BNTmKHLF.js → match-highlighter-DPTnUgI3.js} +1 -1
- package/dist/assets/{matchbrackets-CYQB0eHN.js → matchbrackets-Bc_ZDO2m.js} +1 -1
- package/dist/assets/{mathematica-DD_P7M39.js → mathematica-CM8bZ-C5.js} +1 -1
- package/dist/assets/{mbox-Mtx1839E.js → mbox-D9uP9sRR.js} +1 -1
- package/dist/assets/{mirc-HjPVsNIM.js → mirc-DOA86--1.js} +1 -1
- package/dist/assets/{mk-Bt7qG48k.js → mk-DyvQ5TIX.js} +1 -1
- package/dist/assets/{mllike-S7iyvazQ.js → mllike-w1iLpaku.js} +1 -1
- package/dist/assets/{mn-BfHPh77w.js → mn-CFhraaM5.js} +1 -1
- package/dist/assets/{modelica-XNOx_gW4.js → modelica-CYVL0Ne2.js} +1 -1
- package/dist/assets/{ms-B6kkGV7A.js → ms-CuEu7KD5.js} +1 -1
- package/dist/assets/{mscgen-CJlEmW-7.js → mscgen-BGlM-WLs.js} +1 -1
- package/dist/assets/{mt-6_zg25nL.js → mt-DJtuzNAM.js} +1 -1
- package/dist/assets/{multiplex-BTifThBl.js → multiplex-bcpI0NQX.js} +1 -1
- package/dist/assets/{mumps-bDVjENCt.js → mumps-C-vbOccD.js} +1 -1
- package/dist/assets/{nb-CcpoV5tP.js → nb-DVH_VPO2.js} +1 -1
- package/dist/assets/{nginx-CehJuLEA.js → nginx-DmdybkpH.js} +1 -1
- package/dist/assets/{nl-BE-D0RA1P7M.js → nl-BE-DPF7Xq93.js} +1 -1
- package/dist/assets/{nl-Dx9K3HeG.js → nl-C5PXoMMG.js} +1 -1
- package/dist/assets/{nn-pEawuwii.js → nn-BTTpDHAh.js} +1 -1
- package/dist/assets/{nsis-C_i-M1Hy.js → nsis-Dzlq7Bzc.js} +1 -1
- package/dist/assets/{ntriples-BZ3bCOGa.js → ntriples-C3dZiTNR.js} +1 -1
- package/dist/assets/{octave-dMmYf812.js → octave-DQNEDs7y.js} +1 -1
- package/dist/assets/{overlay-NdAT1J_x.js → overlay-CoxBL6LM.js} +1 -1
- package/dist/assets/{oz-DHgq-80C.js → oz-DBattjwA.js} +1 -1
- package/dist/assets/{pascal-VvkqUn9Q.js → pascal-CC6JfJz9.js} +1 -1
- package/dist/assets/{pegjs-_vf4iwqn.js → pegjs-CXTYt6fa.js} +1 -1
- package/dist/assets/{perl-C0ln2LiK.js → perl-CYWKa74D.js} +1 -1
- package/dist/assets/{php-DPnbqJtW.js → php-Dw9kPwat.js} +1 -1
- package/dist/assets/{pig-BPkUn2Kd.js → pig-BWf6Lxbs.js} +1 -1
- package/dist/assets/{pl-Dsa22AJ1.js → pl-BpBZYMLt.js} +1 -1
- package/dist/assets/{powershell-BThE4gdO.js → powershell-CV4_aDqx.js} +1 -1
- package/dist/assets/{properties-CmzP5Co6.js → properties-DN-ev7lS.js} +1 -1
- package/dist/assets/{protobuf-C6rUVVGr.js → protobuf-DU5s5JNc.js} +1 -1
- package/dist/assets/{pt-BR-DBL4wcJx.js → pt-BR-B8ZcBUJ8.js} +1 -1
- package/dist/assets/{pt-B37-2uwv.js → pt-BTJMeJ5h.js} +1 -1
- package/dist/assets/{pug-Cggej-Fh.js → pug-C3oZPL3-.js} +1 -1
- package/dist/assets/{puppet-B2NnYp7j.js → puppet-J7NWnfwH.js} +1 -1
- package/dist/assets/{python-C4_A0EuR.js → python-DAv8Tvfc.js} +1 -1
- package/dist/assets/{q-DVihHJiF.js → q-CsemHo97.js} +1 -1
- package/dist/assets/{r-re3cy-94.js → r-DkBKMmL4.js} +1 -1
- package/dist/assets/{ro-hnvLIHpf.js → ro-CjQqruqJ.js} +1 -1
- package/dist/assets/{rpm-CFV3tZT1.js → rpm-CPq6PvmR.js} +1 -1
- package/dist/assets/{rst-0tA8AOmi.js → rst-Bz-YKprp.js} +1 -1
- package/dist/assets/{ru-Hya-Lfzn.js → ru-CkbhvPKm.js} +1 -1
- package/dist/assets/{ruby-Be23_UWh.js → ruby-DvxQcO74.js} +1 -1
- package/dist/assets/{ruby-BxCHoQfy.js → ruby-g0mWmgpe.js} +1 -1
- package/dist/assets/{rust-DoTXh85i.js → rust-SzvZ1Wxm.js} +1 -1
- package/dist/assets/{sas-BUpTg6sn.js → sas-Dv2Fqs5f.js} +1 -1
- package/dist/assets/{sass-DwJ3GlPN.js → sass-YK3SNo6R.js} +1 -1
- package/dist/assets/{scheme-CL4Nh6lO.js → scheme-na_2SAK-.js} +1 -1
- package/dist/assets/{shell-CKxQy37M.js → shell-BU_8-B4V.js} +1 -1
- package/dist/assets/{show-hint-Bp0YMeDb.js → show-hint-W5IzIspQ.js} +1 -1
- package/dist/assets/{sieve-CY2QVGer.js → sieve-BUwUZgu8.js} +1 -1
- package/dist/assets/{sk-Boirm8Jq.js → sk-Dr1oeXO1.js} +1 -1
- package/dist/assets/{sl-DE6Rxfkt.js → sl-Da7GQDXM.js} +1 -1
- package/dist/assets/{slim-DBUbIaFM.js → slim-ClqRjvar.js} +1 -1
- package/dist/assets/{smalltalk-CR5Q9ni7.js → smalltalk-DvLyjv8j.js} +1 -1
- package/dist/assets/{smarty-BvjY7k8V.js → smarty-CVWVK8IB.js} +1 -1
- package/dist/assets/{solr-lXfSHsqV.js → solr-Hk_y-Y-m.js} +1 -1
- package/dist/assets/{soy-Dt6EYWEK.js → soy-iLLOuFrD.js} +1 -1
- package/dist/assets/{sparql-DokPzI6g.js → sparql-UGX8rcXZ.js} +1 -1
- package/dist/assets/{spreadsheet-Dsdis4W-.js → spreadsheet-Djpyn9d0.js} +1 -1
- package/dist/assets/{sq-Bt4t6hPZ.js → sq-BqW8DSDi.js} +1 -1
- package/dist/assets/{sql-B4Rg5IEG.js → sql-BUr--cKa.js} +1 -1
- package/dist/assets/{sr-Latn-Bx1cnT6w.js → sr-Latn-Dmv8VOjD.js} +1 -1
- package/dist/assets/{sr-BryOS4sp.js → sr-wy9ifneD.js} +1 -1
- package/dist/assets/{stex-bj9Rid6M.js → stex---k1aPsV.js} +1 -1
- package/dist/assets/{stex-CCfCyFRv.js → stex-BfgxpNkl.js} +1 -1
- package/dist/assets/{stylus-DGDZBSE8.js → stylus-Dy8-ShbF.js} +1 -1
- package/dist/assets/{sv-vfVu8onR.js → sv-DDMsuLjG.js} +1 -1
- package/dist/assets/{swift-CPhcSNtT.js → swift-GHtS3DHn.js} +1 -1
- package/dist/assets/{ta-BntgpTFD.js → ta-DYD1uoNz.js} +1 -1
- package/dist/assets/{tcl-BRsN_Qvx.js → tcl-4x45iV8j.js} +1 -1
- package/dist/assets/{te-CPj7I6zQ.js → te-Bl0k8aUd.js} +1 -1
- package/dist/assets/{textile-YRTu9txJ.js → textile-DhrTT1Sm.js} +1 -1
- package/dist/assets/{th-BavWnYGh.js → th-CNqoUW0H.js} +1 -1
- package/dist/assets/{tiddlywiki-xtZgbXRL.js → tiddlywiki-hYTQxve7.js} +1 -1
- package/dist/assets/{tiki-BZwZMU1F.js → tiki-CB4OCRsg.js} +1 -1
- package/dist/assets/{toml-D2D0sJES.js → toml-Czj0Y_6u.js} +1 -1
- package/dist/assets/{tornado-CJ3ZRmFj.js → tornado-BeBq73d4.js} +1 -1
- package/dist/assets/{tr-Dfyrh71a.js → tr-BMH3DXnq.js} +1 -1
- package/dist/assets/{troff-Dlvb6f-a.js → troff-CV78ZAA2.js} +1 -1
- package/dist/assets/{ttcn-CvygTswD.js → ttcn-BZ6RHtNY.js} +1 -1
- package/dist/assets/{ttcn-cfg-CqLndy_k.js → ttcn-cfg-D2qlamso.js} +1 -1
- package/dist/assets/{turtle-IGag2w54.js → turtle-BjrdFaPo.js} +1 -1
- package/dist/assets/{twig-DkM2ocx1.js → twig-D2T-X0dJ.js} +1 -1
- package/dist/assets/{ug-Bh7PM3d0.js → ug-pvjMHXvv.js} +1 -1
- package/dist/assets/uk-UA-zOLdDA_O.js +5 -0
- package/dist/assets/{uk-B8pEJshM.js → uk-jGNxiqS8.js} +1 -1
- package/dist/assets/{uz-BoRw13cs.js → uz-D6OPlI8M.js} +1 -1
- package/dist/assets/{vb-XfbSVnTU.js → vb-DI8j2lbg.js} +1 -1
- package/dist/assets/{vbscript-G81qzNZS.js → vbscript-S_xkTysW.js} +1 -1
- package/dist/assets/{velocity-BLYmbTRE.js → velocity-BxXyhAbj.js} +1 -1
- package/dist/assets/{verilog-CVsfuPGE.js → verilog-GJ628has.js} +1 -1
- package/dist/assets/{vhdl-CtiQwTxE.js → vhdl-qSZgrAKe.js} +1 -1
- package/dist/assets/{vi-BDfqRqJP.js → vi-DQfsRzht.js} +1 -1
- package/dist/assets/vi-VN-GkdvGhWu.js +1 -0
- package/dist/assets/{vue-CvLEWPRp.js → vue-Ta4MkK5c.js} +1 -1
- package/dist/assets/{wast-CCSV_K9O.js → wast-C4koVhH9.js} +1 -1
- package/dist/assets/{webidl-VX3XlTnS.js → webidl-gKYBnOj1.js} +1 -1
- package/dist/assets/{xml-Cg5sQm9y.js → xml-Nfp7Ap8C.js} +1 -1
- package/dist/assets/{xquery-DwLKBPXJ.js → xquery-OTkq1VBr.js} +1 -1
- package/dist/assets/{yacas-CaLq8O7x.js → yacas-hvpKeT9g.js} +1 -1
- package/dist/assets/{yaml-BjFIKKsV.js → yaml-DvIp3ZtG.js} +1 -1
- package/dist/assets/{yaml-frontmatter-C1Y6XiR-.js → yaml-frontmatter-B4NRcAH_.js} +1 -1
- package/dist/assets/{z80-BjQhkAQ4.js → z80-Dlhosvnm.js} +1 -1
- package/dist/assets/{zh-CN-63m6TvLR.js → zh-CN-Dm3VDIF7.js} +1 -1
- package/dist/assets/{zh-TW-B-5nUhsc.js → zh-TW-DLgF3vX4.js} +1 -1
- package/dist/index.html +2 -2
- package/package.json +13 -13
- package/dist/assets/el-GR-XaN25370.js +0 -1
- package/dist/assets/index-CsyN7KcB.js +0 -21
- package/dist/assets/isSameWeek-DhJOkQj8.js +0 -1
- package/dist/assets/uk-UA-CljXcR8s.js +0 -4
- package/dist/assets/vi-VN-BKLiiZTt.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__fileDeps=["./af-
|
|
2
|
-
var eU=Object.defineProperty;var tU=(n,e,t)=>e in n?eU(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Ri=(n,e,t)=>(tU(n,typeof e!="symbol"?e+"":e,t),t),t9=(n,e,t)=>{if(!e.has(n))throw TypeError("Cannot "+t)};var Ma=(n,e,t)=>(t9(n,e,"read from private field"),t?t.call(n):e.get(n)),Qs=(n,e,t)=>{if(e.has(n))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(n):e.set(n,t)},eu=(n,e,t,i)=>(t9(n,e,"write to private field"),i?i.call(n,t):e.set(n,t),t);var L5=(n,e,t,i)=>({set _(o){eu(n,e,o,t)},get _(){return Ma(n,e,i)}}),Vu=(n,e,t)=>(t9(n,e,"access private method"),t);import{u as mm,w as po,b as nU,c as $p,d as f_,v as kf,T as E1,a as Qk,e as iU}from"./vue.runtime.esm-bundler-D4Mhr4E9.js";import{d as kr,n as hv,g as Jf,e as eC,f as jd,t as Cr,h as oU,i as tC,j as $c,s as p3,m as aU,k as rU,l as ID,o as MD,p as p_,q as pb,v as R0,w as iA,x as Hx,y as sU,z as lU,A as DD,B as Il,C as hb,D as oc,E as cU,F as Fr,G as v8,r as rm,H as qu,T as uU,L as dU,I as PD,J as jc,K as fU,M as s4,N as ha,O as g8,P as nC,R as pU,a as da,Q as OD,S as RD,U as Hg,V as hU,W as mU,X as vU,Y as h3,Z as nl,_ as FD,$ as iC,b as Tg,a0 as u2,a1 as sm,a2 as zD,a3 as gU,a4 as $D,a5 as ND,a6 as yU,a7 as BD,a8 as jD,a9 as VD,aa as h_,ab as HD,ac as C0,c as kh,ad as m_,u as m3,ae as _U,af as W3,ag as mv,ah as tv,ai as Ux,aj as bU,ak as xU,al as wU,am as UD,an as T1,ao as Ch,ap as kU,aq as CU,ar as SU,as as EU,at as AU,au as TU,av as LU,aw as IU,ax as oC,ay as MU}from"./index-
|
|
1
|
+
const __vite__fileDeps=["./af-BhrWWdcg.js","./vue.runtime.esm-bundler-D4Mhr4E9.js","./runtime-core.esm-bundler-DhTmOO-X.js","./index-DHeg5t6z.js","./pinia.DFmwLz6V.entry.js","./vue-i18n.8VWz_hPO.entry.js","./vue-router.YxiUBFHd.entry.js","./ar-DZ-BA-CDKG8.js","./ar-MA-BA7hcxYb.js","./ar-SA-zicrkzI_.js","./az-DNNtL-64.js","./be-CYz-z_BF.js","./isSameWeek-C7wOS0WP.js","./bg-C6Qdt-df.js","./bn-CTHgOrur.js","./ca-Ejwj4qsB.js","./cs-CkeVdjlU.js","./cy-B0cIpZoI.js","./da-DhL3vBct.js","./de-DtSVn4de.js","./match-BH59OqWH.js","./de-AT-Bk9Tcfam.js","./el-C5To8X0W.js","./en-AU-D5nVARLV.js","./en-CA-CitnXpyc.js","./en-GB-BXn3lA8f.js","./en-IN-dL1OqWAr.js","./en-NZ-BZXHSBZJ.js","./en-ZA-CldfT1HZ.js","./eo-e63h2vIn.js","./es-BUKdYOKe.js","./et-CSm2y8HM.js","./eu-DyfJLZv1.js","./fa-IR-Bf8KOib2.js","./fi-DGO_yhBO.js","./fr-Cc3HAlzp.js","./match-G0w9btE4.js","./formatRelative-Dv7OIDgt.js","./fr-CA-DlyaeFWE.js","./fr-CH-DhY2LtOe.js","./gd-A_OCNrNz.js","./gl-EnGb9E5B.js","./gu-Bgo3ZNZD.js","./he-JqsR106j.js","./hi-DchThMA_.js","./hr-CqwiGwLc.js","./ht-L2Tw1feV.js","./hu-B4gFqZWW.js","./hy--PmYq-Bg.js","./id-JuSM4qTH.js","./is-Dy8rZGKe.js","./it-MZK5Wp01.js","./ja-CpUT-M5O.js","./ka-BbrRoLOD.js","./kk-C59BjiFF.js","./kn-D1i38NcB.js","./ko-BVSA1DXL.js","./lb-CSVrZ6iB.js","./lt-DorJN_WN.js","./lv-CwfsBOh9.js","./mk-DyvQ5TIX.js","./mn-CFhraaM5.js","./ms-CuEu7KD5.js","./mt-DJtuzNAM.js","./nb-DVH_VPO2.js","./nl-C5PXoMMG.js","./nl-BE-DPF7Xq93.js","./nn-BTTpDHAh.js","./pl-BpBZYMLt.js","./pt-BTJMeJ5h.js","./pt-BR-B8ZcBUJ8.js","./ro-CjQqruqJ.js","./ru-CkbhvPKm.js","./sk-Dr1oeXO1.js","./sl-Da7GQDXM.js","./sq-BqW8DSDi.js","./sr-wy9ifneD.js","./sr-Latn-Dmv8VOjD.js","./sv-DDMsuLjG.js","./ta-DYD1uoNz.js","./te-Bl0k8aUd.js","./th-CNqoUW0H.js","./tr-BMH3DXnq.js","./ug-pvjMHXvv.js","./uk-jGNxiqS8.js","./uz-D6OPlI8M.js","./vi-DQfsRzht.js","./zh-CN-Dm3VDIF7.js","./zh-TW-DLgF3vX4.js","./apl-D1pF2SfY.js","./asciiarmor-9YqXvbAd.js","./asn.1-e0GR6jy7.js","./asterisk-Bu6rOanP.js","./brainfuck-DDHAMHcm.js","./clike-CzrpN8bi.js","./clojure-CX6DXYf1.js","./cmake-BFLGw5Kw.js","./cobol-DyJLnzLb.js","./coffeescript-DwdF8hKi.js","./commonlisp-OYE83vBi.js","./crystal-DsXMX00j.js","./css-DqwzpRjU.js","./cypher-BQ0aYFEA.js","./d-PSwSFGN0.js","./dart-CToftxMq.js","./diff-2Ur3Zkzi.js","./django-oyMicMW8.js","./htmlmixed-CDXMROEP.js","./javascript-6x864wjq.js","./overlay-CoxBL6LM.js","./dockerfile-DsWd02JY.js","./dtd-J_B5jtoX.js","./dylan-qAftJvGU.js","./ebnf-BwLu0H4v.js","./ecl-jytDGjZ8.js","./eiffel-ShsIZyIA.js","./elm-BN3PEOm8.js","./erlang-DeE2JPSY.js","./factor-IS4IhBJh.js","./fcl-v9nGNJVq.js","./forth-BCJ4NquQ.js","./fortran-l2Mv9hmJ.js","./gas-CQ9waVX1.js","./gfm-hM61imtW.js","./gherkin-BYMnr4Zk.js","./go-B9oyj0tu.js","./groovy-C9c0GiYE.js","./haml-CUKGEPlx.js","./ruby-DvxQcO74.js","./handlebars-BeDkzwZJ.js","./multiplex-bcpI0NQX.js","./haskell-BYpPpdXP.js","./haskell-literate-BRF_OjgC.js","./haxe-O_J1v_XY.js","./htmlembedded-DzatDa7E.js","./htmlmixed-51ADzyde.js","./http-BtbFwkIx.js","./idl-DtoLdhsR.js","./jinja2-ClJp6yB9.js","./jsx-DiAW9hUb.js","./julia-C2aDFL1r.js","./livescript-IIbQegHb.js","./lua-CZ3R6Q6G.js","./mathematica-CM8bZ-C5.js","./mbox-D9uP9sRR.js","./mirc-DOA86--1.js","./mllike-w1iLpaku.js","./modelica-CYVL0Ne2.js","./mscgen-BGlM-WLs.js","./mumps-C-vbOccD.js","./nginx-DmdybkpH.js","./nsis-Dzlq7Bzc.js","./ntriples-C3dZiTNR.js","./octave-DQNEDs7y.js","./oz-DBattjwA.js","./pascal-CC6JfJz9.js","./pegjs-CXTYt6fa.js","./perl-CYWKa74D.js","./php-Dw9kPwat.js","./pig-BWf6Lxbs.js","./powershell-CV4_aDqx.js","./properties-DN-ev7lS.js","./protobuf-DU5s5JNc.js","./pug-C3oZPL3-.js","./puppet-J7NWnfwH.js","./python-DAv8Tvfc.js","./q-CsemHo97.js","./r-DkBKMmL4.js","./rpm-CPq6PvmR.js","./rst-Bz-YKprp.js","./stex---k1aPsV.js","./ruby-g0mWmgpe.js","./rust-SzvZ1Wxm.js","./sas-Dv2Fqs5f.js","./sass-YK3SNo6R.js","./scheme-na_2SAK-.js","./shell-BU_8-B4V.js","./sieve-BUwUZgu8.js","./slim-ClqRjvar.js","./smalltalk-DvLyjv8j.js","./smarty-CVWVK8IB.js","./solr-Hk_y-Y-m.js","./soy-iLLOuFrD.js","./sparql-UGX8rcXZ.js","./spreadsheet-Djpyn9d0.js","./sql-BUr--cKa.js","./stex-BfgxpNkl.js","./stylus-Dy8-ShbF.js","./swift-GHtS3DHn.js","./tcl-4x45iV8j.js","./textile-DhrTT1Sm.js","./tiddlywiki-hYTQxve7.js","./tiki-CB4OCRsg.js","./toml-Czj0Y_6u.js","./tornado-BeBq73d4.js","./troff-CV78ZAA2.js","./ttcn-BZ6RHtNY.js","./ttcn-cfg-D2qlamso.js","./turtle-BjrdFaPo.js","./twig-D2T-X0dJ.js","./vb-DI8j2lbg.js","./vbscript-S_xkTysW.js","./velocity-BxXyhAbj.js","./verilog-GJ628has.js","./vhdl-qSZgrAKe.js","./vue-Ta4MkK5c.js","./wast-C4koVhH9.js","./webidl-gKYBnOj1.js","./xml-Nfp7Ap8C.js","./xquery-OTkq1VBr.js","./yacas-hvpKeT9g.js","./yaml-DvIp3ZtG.js","./yaml-frontmatter-B4NRcAH_.js","./z80-Dlhosvnm.js","./jsonlint-B8sn4V7k.js","./active-line-BtxbgRr2.js","./mark-selection-HjEJeHYA.js","./match-highlighter-DPTnUgI3.js","./autorefresh-DNfNNOoh.js","./matchbrackets-Bc_ZDO2m.js","./show-hint-W5IzIspQ.js","./show-hint-BulL-OVZ.css","./javascript-hint-BYkpmIx-.js","./input-rich-text-html-C0H_E0tE.js","./input-rich-text-html-Di2l31Cq.css","./index-BruAGqzh.js","./index-CAMbKmWH.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
|
|
2
|
+
var eU=Object.defineProperty;var tU=(n,e,t)=>e in n?eU(n,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):n[e]=t;var Ri=(n,e,t)=>(tU(n,typeof e!="symbol"?e+"":e,t),t),t9=(n,e,t)=>{if(!e.has(n))throw TypeError("Cannot "+t)};var Ma=(n,e,t)=>(t9(n,e,"read from private field"),t?t.call(n):e.get(n)),Qs=(n,e,t)=>{if(e.has(n))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(n):e.set(n,t)},eu=(n,e,t,i)=>(t9(n,e,"write to private field"),i?i.call(n,t):e.set(n,t),t);var L5=(n,e,t,i)=>({set _(o){eu(n,e,o,t)},get _(){return Ma(n,e,i)}}),Vu=(n,e,t)=>(t9(n,e,"access private method"),t);import{u as mm,w as po,b as nU,c as $p,d as f_,v as kf,T as E1,a as Qk,e as iU}from"./vue.runtime.esm-bundler-D4Mhr4E9.js";import{d as kr,n as hv,g as Jf,e as eC,f as jd,t as Cr,h as oU,i as tC,j as $c,s as p3,m as aU,k as rU,l as ID,o as MD,p as p_,q as pb,v as R0,w as iA,x as Hx,y as sU,z as lU,A as DD,B as Il,C as hb,D as oc,E as cU,F as Fr,G as v8,r as rm,H as qu,T as uU,L as dU,I as PD,J as jc,K as fU,M as s4,N as ha,O as g8,P as nC,R as pU,a as da,Q as OD,S as RD,U as Hg,V as hU,W as mU,X as vU,Y as h3,Z as nl,_ as FD,$ as iC,b as Tg,a0 as u2,a1 as sm,a2 as zD,a3 as gU,a4 as $D,a5 as ND,a6 as yU,a7 as BD,a8 as jD,a9 as VD,aa as h_,ab as HD,ac as C0,c as kh,ad as m_,u as m3,ae as _U,af as W3,ag as mv,ah as tv,ai as Ux,aj as bU,ak as xU,al as wU,am as UD,an as T1,ao as Ch,ap as kU,aq as CU,ar as SU,as as EU,at as AU,au as TU,av as LU,aw as IU,ax as oC,ay as MU}from"./index-DHeg5t6z.js";import{defineStore as lf,storeToRefs as Cc,createPinia as DU}from"./pinia.DFmwLz6V.entry.js";import{e as Pe,d as Lt,c as we,b5 as q,aY as V,af as De,ad as me,I as _n,ae as He,bf as de,aP as Ba,bj as Po,u as h,ak as Fe,ag as xe,aN as An,w as ii,m as zr,o as uu,b4 as Ei,bw as P,aO as Aa,ax as Ga,h as v3,y as A,b3 as Ii,b6 as ki,by as rn,i as ku,b7 as pa,aM as vr,a$ as nr,aZ as ir,K as aC,r as A1,aw as WD,aW as PU,n as vv,b1 as OU,l as qD,aF as zn,s as Wh,bt as Lg,bi as RU,ai as Mr,aQ as GD,aj as rC,bh as xg,bk as FU,am as YD,aS as zU,p as Wm,aL as sC,bo as l4,al as $U,aR as q3,a5 as lC,bn as XD,bq as KD,aT as NU}from"./runtime-core.esm-bundler-DhTmOO-X.js";import{createI18n as BU,useI18n as vn}from"./vue-i18n.8VWz_hPO.entry.js";import{onBeforeRouteUpdate as cC,onBeforeRouteLeave as y8,useRoute as Sh,useRouter as Dr,createRouter as jU,createWebHistory as VU,RouterView as HU,useLink as ZD}from"./vue-router.YxiUBFHd.entry.js";function UU(n,e){for(var t=0;t<e.length;t++){const i=e[t];if(typeof i!="string"&&!Array.isArray(i)){for(const o in i)if(o!=="default"&&!(o in n)){const r=Object.getOwnPropertyDescriptor(i,o);r&&Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:()=>i[o]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const a of r.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&i(a)}).observe(document,{childList:!0,subtree:!0});function t(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(o){if(o.ep)return;o.ep=!0;const r=t(o);fetch(o.href,r)}})();var mb={exports:{}};/**
|
|
3
3
|
* @license
|
|
4
4
|
* Lodash <https://lodash.com/>
|
|
5
5
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
@@ -49,7 +49,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
49
49
|
|
|
50
50
|
Please use **Flows** with the [Webhook / Request URL operation](https://docs.directus.io/app/flows/operations.html#webhook-request-url) instead.
|
|
51
51
|
`,no_webhooks_copy:"No webhooks have been configured yet. Get started by creating one below.",no_notifications:"No Notifications",no_notifications_copy:"You're all caught up!",activity_log:"Activity Log",all_items:"All Items",any:"Any",csv:"CSV",no_collections:"No Collections",create_collection:"Create Collection",no_collections_copy_admin:"You don’t have any Collections yet. Click the button below to get started.",no_collections_copy:"You don’t have any Collections yet. Please contact your system administrator.",relationship_not_setup:"The relationship hasn't been configured correctly",no_singleton_relations:"Relationships to Singletons are not supported",display_template_not_setup:"The display template option is misconfigured",collection_field_not_setup:"The collection field option is misconfigured",select_a_collection:"Select a Collection",select_a_field:"Select a Field",active:"Active",move_to:"Move To...",copy:"Copy",copy_to:"Copy To...",no_other_dashboards_copy:"You don't have any other Dashboards yet.",inactive:"Inactive",users:"Users",activity:"Activity",activity_item:"Activity Item",action:"Action",ip_address:"IP Address",user_agent:"User Agent",origin:"Origin",webhooks:"Webhooks",decimals:"Decimals",value_decimals:"Value Decimals",min_value:"Min Value",max_value:"Max Value",automatic:"Automatic",field_width:"Field Width",add_filter:"Add Filter",upper_limit:"Upper limit...",lower_limit:"Lower limit...",user_directory:"User Directory",documentation:"Documentation",sidebar:"Sidebar",duration:"Duration",charset:"Charset",second:"second",file_moved:"File Moved",collection_created:"Collection Created",modified_on:"Modified On",card_size:"Card Size",sort_field:"Sort Field",add_sort_field:"Add Sort Field",sort:"Sort",status:"Status",remove:"Remove",toggle_manual_sorting:"Toggle Manual Sorting",bookmark_doesnt_exist:"Bookmark Doesn't Exist",bookmark_doesnt_exist_copy:"The bookmark you're trying to open couldn't be found.",bookmark_doesnt_exist_cta:"Return to collection",select_an_item:"Select an item...",edit:"Edit",edit_item:"Edit Item",enabled:"Enabled",partially_enabled:"Partially Enabled",enable_all:"Enable All",disable_all:"Disable All",enabled_dev_tooltip:"App extensions are always enabled in dev mode",disable_tfa:"Disable 2FA",admin_disable_tfa_text:"Are you sure you want to disable 2FA for this user?",tfa_setup:"Setup 2FA",tfa_scan_code:"Scan the code in your authenticator app to finish setting up 2FA",enter_otp_to_disable_tfa:"Enter the OTP to disable 2FA",create_account:"Create Account",account_created_successfully:"Account Created Successfully",auto_fill:"Auto Fill",corresponding_field:"Corresponding Field",errors:{COLLECTION_NOT_FOUND:"Collection doesn't exist",CONTAINS_NULL_VALUES:"Field contains null values",CONTENT_TOO_LARGE:"Submitted item/file is too large",FIELD_NOT_FOUND:"Field not found",FORBIDDEN:"Forbidden",GRAPHQL_VALIDATION:"GraphQL Validation",ILLEGAL_ASSET_TRANSFORMATION:"Image source too large to preview",INTERNAL_SERVER_ERROR:"Unexpected Error",INVALID_CONFIG:"Invalid config",INVALID_CREDENTIALS:"Wrong username or password",INVALID_FOREIGN_KEY:"Invalid foreign key",INVALID_IP:"IP Address not allowed",INVALID_OTP:"Wrong one-time password",INVALID_PAYLOAD:"Invalid payload",INVALID_PROVIDER:"User belongs to a different auth provider",INVALID_QUERY:"Invalid query",INVALID_TOKEN:"Invalid token",INVALID_USER:"Failed to authenticate user",ITEM_LIMIT_REACHED:"Item limit reached",ITEM_NOT_FOUND:"Item not found",LIMIT_EXCEEDED:"Limit exceeded",METHOD_NOT_ALLOWED:"Method not allowed",NOT_NULL_VIOLATION:"Value can't be null",RANGE_NOT_SATISFIABLE:"Invalid range",RECORD_NOT_UNIQUE:"Duplicate value detected",REQUESTS_EXCEEDED:"Requests limit reached",ROUTE_NOT_FOUND:"Not found",SERVICE_UNAVAILABLE:"Service Unavailable",TOKEN_EXPIRED:"Token expired",UNEXPECTED_RESPONSE:"Unexpected response",UNKNOWN:"Unexpected Error",UNPROCESSABLE_CONTENT:"Unprocessable Content",UNSUPPORTED_MEDIA_TYPE:"Unsupported media type",USER_SUSPENDED:"User Suspended",VALUE_OUT_OF_RANGE:"Value is out of range",VALUE_TOO_LONG:"Value is too long"},security:"Security",value_hashed:"Value Securely Hashed",bookmark_name:"Bookmark name...",create_bookmark:"Create Bookmark",edit_bookmark:"Edit Bookmark",edit_personal_bookmark:"Edit Personal Bookmark",edit_role_bookmark:"Edit Role Bookmark",edit_global_bookmark:"Edit Global Bookmark",cannot_edit_role_bookmarks:"Can't Edit Role Bookmarks",cannot_edit_global_bookmarks:"Can't Edit Global Bookmarks",bookmarks:"Bookmarks",presets:"Presets",unexpected_error:"Unexpected Error",unexpected_error_copy:"An unexpected error has occurred. Please try again.",copy_details:"Copy Details",no_app_access:"No App Access",no_app_access_copy:"This user isn't allowed to use the admin app.",password_reset_sent:"If you have an account, we've sent you a secure link to reset your password",password_reset_successful:"Password successfully reset",back:"Back",filter:"Filter",edit_image:"Edit Image",editing_image:"Editing Image",square:"Square",free:"Free",flip_horizontal:"Flip Horizontal",flip_vertical:"Flip Vertical",aspect_ratio:"Aspect Ratio",rotate:"Rotate",all_users:"All Users",delete_collection:"Delete Collection",update_collection_success:"Updated Collection",delete_collection_success:"Deleted Collection",make_collection_visible:"Make Collection Visible",make_collection_hidden:"Make Collection Hidden",make_folder_visible:"Make Folder Visible",make_folder_hidden:"Make Folder Hidden",goto_collection_content:"View Content",start_end_of_count_items:"{start}-{end} of {count} items",start_end_of_count_filtered_items:"{start}-{end} of {count} filtered items",one_item:"1 item",one_filtered_item:"1 filtered item",delete_collection_are_you_sure:'Are you sure you want to delete the collection "{collection}"? This will delete the collection and all items in it. This action is permanent.',delete_folder_are_you_sure:'Are you sure you want to delete the folder "{folder}"? Nested folders and collections will be moved to the top most level.',delete_collection_peer_dependencies:"The following fields will be deleted as well, as they are related to the current collection.",collections_shown:"Collections Shown",visible_collections:"Visible Collections",hidden_collections:"Hidden Collections",show_hidden_collections:"Show Hidden Collections",hide_hidden_collections:"Hide Hidden Collections",show_header:"Show Header",unmanaged_collections:"Unconfigured Collections",system_collections:"System Collections",placeholder:"Placeholder",icon_left:"Icon Left",icon_right:"Icon Right",count_other_revisions:"{count} Other Revisions",font:"Font",sans_serif:"Sans Serif",serif:"Serif",monospace:"Monospace",divider:"Divider",color:"Color",circle:"Circle",empty_item:"Empty Item",log_in_with:"Log In with {provider}",conditional_styles:"Conditional Styles",advanced_settings:"Advanced Settings",advanced_filter:"Advanced Filter",delete_advanced_filter:"Delete Filter",change_advanced_filter_operator:"Change Operator",advanced:"Advanced",operators:{eq:"Equals",neq:"Doesn't equal",lt:"Less than",gt:"Greater than",lte:"Less than or equal to",gte:"Greater than or equal to",in:"Is one of",nin:"Is not one of",null:"Is null",nnull:"Isn't null",contains:"Contains",ncontains:"Doesn't contain",icontains:"Contains (insensitive)",starts_with:"Starts with",nstarts_with:"Doesn't start with",istarts_with:"Starts with (insensitive)",nistarts_with:"Doesn't start with (insensitive)",ends_with:"Ends with",nends_with:"Doesn't end with",iends_with:"Ends with (insensitive)",niends_with:"Doesn't end with (insensitive)",between:"Is between",nbetween:"Isn't between",empty:"Is empty",nempty:"Isn't empty",all:"Contains these keys",has:"Contains some of these keys",intersects:"Intersects",nintersects:"Doesn't intersect",intersects_bbox:"Intersects bounding box",nintersects_bbox:"Doesn't intersect bounding box",regex:"Matches RegExp"},custom_validation_message:"Custom Validation Message",loading:"Loading...",extension_readme_missing:"This extension does not have a README file.",drop_to_upload:"Drop to Upload",item:"Item",items:"Items",upload_file:"Upload File",upload_file_indeterminate:"Uploading File...",upload_file_success:"File Uploaded",upload_files_indeterminate:"Uploading files {done}/{total}",upload_files_success:"{count} Files Uploaded",upload_pending:"Upload Pending",drag_file_here:"Drag & Drop a File Here",click_to_browse:"Click to Browse",interface_options:"Interface Options",display_options:"Display Options",layout_options:"Layout Options",rows:"Rows",columns:"Columns",collection_setup:"Collection Setup",optional_system_fields:"Optional Fields",value_unique:"Value has to be unique",all_activity:"All Activity",create_item:"Create Item",display_template:"Display Template",language_display_template:"Language Display Template",translations_display_template:"Translations Display Template",n_items_selected:"No Items Selected | 1 Item Selected | {n} Items Selected",per_page:"Per Page",all_files:"All Files",my_files:"My Files",recent_files:"Recent Files",create_folder:"Create Folder",edit_folder:"Edit Folder",folder_name:"Folder Name...",folder_key:"Folder Key...",add_file:"Add File",replace_file:"Replace File",no_results:"No Results",no_results_copy:"Adjust or clear search filters to see results.",no_visible_fields:"Empty Form",no_visible_fields_copy:"This form has no visible fields.",clear_filters:"Clear Filters",saves_automatically:"Saves Automatically",role:"Role",edit_role:"Edit Role",rule:"Rule",user:"User",no_presets:"No Presets",no_presets_copy:"No presets or bookmarks have been saved yet.",no_presets_cta:"Add Preset",presets_only:"Presets Only",create:"Create",on_create:"On Create",on_update:"On Update",read:"Read",update:"Update",delete:"Delete",select_fields:"Select Fields",format_text:"Format Text",format_value:"Format Value",abbreviate_value:"Abbreviate Value",operator:"Operator",bold:"Bold",toggle:"Toggle",icon_on:"Icon On",icon_off:"Icon Off",label:"Label",flows:"Flows",flow:"Flow",select_a_flow:"Select a Flow",run_flow_confirm:"Are you sure you want to execute this flow?",run_flow_on_current_collection:"Run Flow on Current Collection",run_flow_on_current:"Run Flow on Current Item",run_flow_on_current_edited_confirm:"This item may be updated by this flow, are you sure you want to execute it?",run_flow_on_selected:"Select One or More Items First | Run Flow on 1 Selected Item | Run Flow on {n} Selected Items",run_flow:"Run Flow",run_flow_success:'Flow "{flow}" ran successfully',field_name_placeholder:"Enter field name...",field_key_placeholder:"Enter field key...",trigger:"Trigger",trigger_options:"Trigger Options",view_trigger:"View Trigger",create_trigger:"Create Trigger",trigger_setup:"Trigger Setup",change_trigger:"Change Trigger",flow_delete_confirm:'Are you sure you want to delete Flow "{flow}"? This action can not be undone.',set_flow_active:"Set Flow to Active",set_flow_inactive:"Set Flow to Inactive",edit_flow:"Edit Flow",delete_flow:"Delete Flow",no_other_flows_copy:"You don't have any other Flows yet.",no_flows:"No Flows",no_flows_copy:"You don't have any Flows yet.",create_flow:"Create Flow",creating_new_flow:"Creating New Flow",updating_flow:"Updating Flow",flow_setup:"Flow Setup",flow_name:"Name",flow_tracking:"Activity & Logs Tracking",flow_tracking_all:"Track Activity & Logs",flow_tracking_activity:"Only Track Activity",flow_tracking_null:"Do Not Track Anything",start_flow:"Start Flow",stop_flow:"Stop Flow",create_operation:"Create Operation",edit_operation:"Edit Operation",code:"Code",operation_options:"Operation Options",operation_name:"Name of operation...",operation_key:"Identifier for reference...",operation_key_unique_error:"Operation keys must be unique in a Flow",operation_handle_resolve:"Resolve: Click to Add or Drag to Reroute",operation_handle_reject:"Reject: Click to Add or Drag to Reroute",insights:"Insights",dashboard:"Dashboard",panel:"Panel",panel_options:"Panel Options",panel_header:"Panel Header",panel_name_placeholder:"Name this panel...",panel_note_placeholder:"Optional details about this panel...",panel_delete_confirm:"Are you sure you want to delete this panel? This action can not be undone.",list_panel_allow_edit:"Allow Inline Editing",dashboard_delete_confirm:"Are you sure you want to delete this dashboard? This action can not be undone.",edit_dashboard:"Edit Dashboard",delete_dashboard:"Delete Dashboard",visible:"Visible",prefix_placeholder:"Text before value...",suffix_placeholder:"Text after value...",decimals_placeholder:"Number of decimal places...",no_dashboards:"No Dashboards",no_dashboards_copy:"You don’t have any Dashboards yet.",create_dashboard:"Create Dashboard",dashboard_name:"Dashboard Name",no_data:"No Data",no_data_in_flow:"No data was produced or accessed within this Flow",accountability:"Accountability",payload:"Payload",details:"Details",full_screen:"Full Screen",full_text_search:"Full-Text Search",edit_panels:"Edit Panels",center_align:"Center Align",left_align:"Left Align",right_align:"Right Align",fit_to_screen:"Fit to Screen",image_url:"Image Url",alt_text:"Alternative Text",media:"Media",quality:"Quality",width:"Width",height:"Height",transformation_preset_key:"Transformation Preset Key",source:"Source",url_placeholder:"Enter an url...",display_text:"Display Text",display_text_placeholder:"Enter a display text...",interface_group_text_and_numbers:"Text & Numbers",interface_group_selection:"Selection",interface_group_relational:"Relational",interface_group_presentation:"Presentation",interface_group_groups:"Groups",interface_group_other:"Other",tooltip:"Tooltip",tooltip_placeholder:"Enter a tooltip...",unlimited:"Unlimited",open_link_in:"Open link in",new_tab:"New tab",current_tab:"Current tab",save_image:"Save Image",save_media:"Save Media",wysiwyg_options:{aligncenter:"Align Center",alignjustify:"Align Justify",alignleft:"Align Left",alignnone:"Align None",alignright:"Align Right",forecolor:"Foreground Color",backcolor:"Background Color",bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",subscript:"Subscript",superscript:"Superscript",codeblock:"Code",blockquote:"Blockquote",bullist:"Bullet List",numlist:"Numbered List",hr:"Horizontal Rule",link:"Add/Edit Link",unlink:"Remove Link",media:"Add/Edit Media",image:"Add/Edit Image",copy:"Copy",cut:"Cut",paste:"Paste",heading:"Heading",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",h6:"Heading 6",fontselect:"Select Font",fontsizeselect:"Select Font Size",indent:"Indent",outdent:"Outdent",undo:"Undo",redo:"Redo",remove:"Remove",removeformat:"Remove Format",selectall:"Select All",table:"Table",visualaid:"View invisible elements",source_code:"Edit Source Code",fullscreen:"Full Screen",directionality:"Directionality",lazy_loading:"Lazy Load Image",lazy_loading_label:"Enable Lazy Loading"},dropdown:"Dropdown",choices:"Choices",choices_option_configured_incorrectly:"Choices configured incorrectly",deselect:"Deselect",deselect_all:"Deselect All",theme:"Theme",select_a_theme:"Select a Theme",default_sync_with_project:"Default (Sync with Project)",appearance_auto:"Automatic (Sync with System)",appearance_light:"Light",appearance_dark:"Dark",other:"Other...",adding_user:"Adding User",unknown_user:"Unknown User",creating_in:"Creating Item in {collection}",editing_in:"Editing Item in {collection}",viewing_in:"Viewing Item in {collection}",creating_unit:"Creating {unit}",editing_unit:"Editing {unit}",editing_in_batch:"Batch Editing {count} Items",no_options_available:"No options available",settings_data_model:"Data Model",settings_permissions:"Access Control",settings_project:"Settings",settings_appearance:"Appearance",settings_webhooks:"Webhooks",settings_flows:"Flows",settings_presets:"Bookmarks",settings_translations:"Translations",one_or_more_options_are_missing:"One or more options are missing",configure_field_key_to_continue:"Configure field key to continue",scope:"Scope",actions:"Actions",select:"Select...",layout:"Layout",tree_view:"Tree View",changes_are_permanent:"Changes are permanent",preset_name_placeholder:"Serves as default when empty...",preset_search_placeholder:"Search query...",editing_preset:"Editing Preset",layout_preview:"Layout Preview",layout_setup:"Layout Setup",data:"Data","theme-overrides":"Theme Overrides",unsaved_changes:"Unsaved Changes",unsaved_changes_copy:"Are you sure you want to leave this page?",discard_changes:"Discard Changes",discard_all_changes:"Discard All Changes",discard_changes_copy:"Are you sure you want to discard all the changes made?",show_x_axis:"Show X Axis",show_y_axis:"Show Y Axis",keep_editing:"Keep Editing",page_help_collections_overview:"**Collections Overview** — List of all collections you have access to.",page_help_collections_collection:"**Browse Items** — Lists all {collection} items you have access to. Customize layout, filters, and sorting to tailor your view, and even save bookmarks of these different configurations for quick access.",page_help_collections_item:"**Item Detail** — A form for viewing and managing this item. This sidebar also contains a full history of revisions, and embedded comments.",page_help_activity_collection:"**Browse Activity** — A comprehensive listing of all your user's system and content activity.",page_help_docs_global:"**Documentation Overview** — Docs tailored specifically to this project's version and schema.",page_help_files_collection:"**File Library** — Lists all file assets uploaded to this project. Customize layout, filters, and sorting to tailor your view, and even save bookmarks of these different configurations for quick access.",page_help_files_item:"**File Detail** — A form for managing file metadata, editing the original asset, and updating access settings.",page_help_settings_project:"**Settings** — Your project's global configuration options.",page_help_settings_appearance:"**Appearance** — Your project's appearance and theming options.",page_help_settings_extensions:"**Extensions** — The extensions installed in your project.",page_help_settings_datamodel_collections:"**Data Model: Collections** — Lists all collections available. This includes visible, hidden, and system collections, as well as unmanaged database tables that can be added.",page_help_settings_datamodel_fields:"**Data Model: Collection** — A form for managing this collection and its fields.",page_help_settings_roles_collection:"**Browse Roles** — Lists the Admin, Public and custom User Roles.",page_help_settings_roles_item:"**Role Detail** — Manage a role's permissions and other settings.",page_help_settings_presets_collection:"**Browse Presets** — Lists all presets in the project, including: user, role, and global bookmarks, as well as default views.",page_help_settings_presets_item:"**Preset Detail** — A form for managing bookmarks and default collection presets.",page_help_settings_webhooks_collection:"**Browse Webhooks** — Lists all webhooks within the project.",page_help_settings_webhooks_item:"**Webhook Detail** — A form for creating and managing project webhooks.",page_help_settings_flows_collection:"**Browse Flows** — Lists all Flows within the project.",page_help_settings_flows_item:"**Flow Detail** — Workspace for managing one or more operations.",page_help_settings_translations_collection:"**Browse Custom Translations** — Lists all custom translations within the project.",page_help_settings_translations_item:"**Custom Translations Detail** — A form for viewing and managing this item.",page_help_users_collection:"**User Directory** — Lists all system users within this project.",page_help_users_item:"**User Detail** — Manage your account information, or view the details of other users.",page_help_insights_overview:"**Insights** — List of dashboards you have access to.",page_help_insights_dashboard:"**Dashboard** — Workspace for managing one or more panels",page_help_marketplace_account:"**Account** — Publisher or maintainer of a published extension.",page_help_marketplace_registry:"**Registry** — Extensions available in the Directus Marketplace.",page_help_marketplace_extension:"**Extension** — Extension in the Directus Marketplace.",activity_feed:"Activity Feed",add_new:"Add New",create_new:"Create New",all:"All",none:"None",no_layout_collection_selected_yet:"No layout/collection selected yet",batch_delete_confirm:"No items have been selected | Are you sure you want to delete this item? This action can not be undone. | Are you sure you want to delete these {count} items? This action can not be undone.",cancel:"Cancel",no_upscale:"Don't upscale images",no_extensions:"No Extensions",no_extensions_copy:"No extensions have been installed yet.",install_extension:"Install Extension",uninstall_locked:"Cannot uninstall extensions that weren't installed through the Marketplace",uninstall:"Uninstall",installed:"Installed",reinstall:"Reinstall",open_in_marketplace:"Open in Marketplace",source_registry:"Marketplace",source_local:"Local",source_module:"Node Module",collection:"Collection",collections:"Collections",content:"Content",singleton:"Singleton",singleton_label:"Treat as single object",system_fields_locked:"System fields are locked and can't be edited",directus_collection:{directus_activity:"Accountability logs for all events",directus_collections:"Additional collection configuration and metadata",directus_dashboards:"Dashboards within the Insights module",directus_fields:"Additional field configuration and metadata",directus_files:"Metadata for all managed file assets",directus_flows:"Automation flows",directus_folders:"Provides virtual directories for files",directus_migrations:"What version of the database you're using",directus_notifications:"Notifications sent to users",directus_operations:"Operations that run in Flows",directus_panels:"Individual panels within Insights dashboards",directus_permissions:"Access permissions for each role",directus_presets:"Presets for collection defaults and bookmarks",directus_relations:"Relationship configuration and metadata",directus_revisions:"Data snapshots for all activity",directus_roles:"Permission groups for system users",directus_sessions:"User session information",directus_settings:"Project configuration options",directus_shares:"Tracks externally shared items",directus_users:"System users for the platform",directus_webhooks:"Configuration for event-based HTTP requests",directus_translations:"Custom translations",directus_versions:"Content Versions for items",directus_extensions:"Configuration of extensions"},fields:{directus_activity:{item:"Item Primary Key",action:"Action",collection:"Collection",timestamp:"Action On",user:"Action By",comment:"Comment",user_agent:"User Agent",origin:"Origin",ip:"IP Address",revisions:"Revisions"},directus_collections:{collection:"Collection",icon:"Icon",note:"Note",color:"Color",display_template:"Display Template",hidden:"Hidden",singleton:"Singleton",translations:"Collection Naming Translations",archive_app_filter:"Archive App Filter",archive_value:"Archive Value",unarchive_value:"Unarchive Value",sort_field:"Sort Field",accountability:"Activity & Revision Tracking",versioning:"Versioning",archive_field:"Archive Field",item_duplication_fields:"Item Duplication Fields"},directus_files:{$thumbnail:"Thumbnail",title:"Title",description:"Description",tags:"Tags",location:"Location",storage:"Storage",filename_disk:"Filename (Disk)",filename_download:"Filename (Download)",metadata:"Metadata",type:"Mime Type",filesize:"Filesize",modified_by:"Modified By",modified_on:"Modified On",created_on:"Created On",created_by:"Created By",embed:"Embed",uploaded_by:"Uploaded By",folder:"Folder",width:"Width",uploaded_on:"Uploaded On",height:"Height",charset:"Charset",duration:"Duration",focal_point_x:"X-Coordinate",focal_point_y:"Y-Coordinate"},directus_users:{first_name:"First Name",last_name:"Last Name",email:"Email",password:"Password",avatar:"Avatar",location:"Location",title:"Title",description:"Description",tags:"Tags",user_preferences:"User Preferences",language:"Language",tfa_secret:"Two-Factor Authentication",admin_options:"Admin Options",status:"Status",status_draft:"Draft",status_invited:"Invited",status_unverified:"Unverified",status_active:"Active",status_suspended:"Suspended",status_archived:"Archived",role:"Role",token:"Token",provider:"Provider",external_identifier:"External Identifier",last_page:"Last Page",last_access:"Last Access",email_notifications:"Email Notifications",appearance:"Appearance",theme_light:"Theme Light",theme_dark:"Theme Dark",theme_light_overrides:"Light Theme Customization",theme_dark_overrides:"Dark Theme Customization"},directus_settings:{jpg:"JPEG",png:"PNG",webP:"WebP",tiff:"Tiff",avif:"AVIF",reporting:"Reporting",mapping:"Mapping",basemaps:"Basemaps",basemaps_raster:"Raster",basemaps_tile:"Raster TileJSON",basemaps_style:"Mapbox Style",mapbox_key:"Mapbox Access Token",mapbox_placeholder:"pk.eyJ1Ijo.....",attribution:"Attribution",attribution_placeholder:"© OpenStreetMap contributors",transforms_note:"The Sharp method name and its arguments. See https://sharp.pixelplumbing.com/api-constructor for more information.",additional_transforms:"Additional Transformations",project_name:"Project Name",project_descriptor:"Project Descriptor",project_url:"Project URL",project_color:"Project Color",project_logo:"Project Logo",default_language:"Default Language",branding:"Branding",public_foreground:"Public Foreground",public_background:"Public Background",public_note:"Public Note",theming:"Theming Defaults",default_appearance:"Default Appearance",default_theme_light:"Default Theme Light",default_theme_dark:"Default Theme Dark",auth_password_policy:"Auth Password Policy",auth_login_attempts:"Auth Login Attempts",files_and_thumbnails:"Files & Storage",storage_default_folder:"Default Folder",storage_asset_presets:"Transformation Presets",storage_asset_transform:"Allowed Transformations",overrides:"App Overrides",custom_css:"Custom CSS",module_bar:"Module Bar",transformations_all:"Allow all transformations",transformations_none:"Disable transformations",transformations_presets:"Limit transformations to presets below",image_editor:"Image Editor",custom_aspect_ratios:"Custom Aspect Ratios",theme_light_overrides:"Light Theme Customization",theme_dark_overrides:"Dark Theme Customization",public_registration:"User Registration",public_registration_note:"Allows users to register via the [registration route](/admin/register).",public_registration_role:"User Role",public_registration_role_note:"This role is assigned to users who register using this method. Does not affect already registered users.",public_registration_email_filter:"Email Address Filter",public_registration_email_filter_note:"Only email addresses matching this filter can register.",public_registration_verify_email:"Verify Email",public_registration_verify_email_note:"Sends an email to the registering user asking them to click on a verification link before they can sign in."},directus_shares:{name:"Name",role:"Role",password:"Password",date_start:"Date Start",date_end:"Date End",max_uses:"Max Uses",times_used:"Times Used"},directus_fields:{collection:"Collection Name",icon:"Collection Icon",note:"Note",hidden:"Hidden",singleton:"Singleton",translation:"Field Name Translations",display_template:"Template"},directus_roles:{name:"Role Name",icon:"Role Icon",description:"Description",app_access:"App Access",admin_access:"Admin Access",ip_access:"IP Access",enforce_tfa:"Require 2FA",users:"Users in Role",module_list:"Module Navigation"},directus_webhooks:{name:"Name",method:"Method",status:"Status",data:"Data",header:"Header",value:"Value",headers:"Request Headers",data_label:"Send Event Data",triggers:"Triggers",actions:"Actions",collections:"Collections"}},field_options:{directus_settings:{project_name_placeholder:"My project...",project_color_note:"Login & Logo Background",project_logo_note:"White 40×40 SVG/PNG",project_favicon_note:"32×32 ICO",public_note_placeholder:"A short, public message that supports markdown formatting...",security_divider_title:"Security",auth_password_policy:{none_text:"None – Not Recommended",weak_text:"Weak – Minimum 8 Characters",strong_text:"Strong – Upper / Lowercase / Numbers / Special"},storage_asset_presets:{fit_label:"Fit",upscaling:"Upscaling",fit:{contain_text:"Contain (preserve aspect ratio)",cover_text:"Cover (forces exact size)",fit_text:"Fit inside",outside_text:"Fit outside"}},additional_transforms:"Additional Transformations",transforms_note:"The Sharp method name and its arguments. See https://sharp.pixelplumbing.com/api-constructor for more information.",mapbox_key:"Mapbox Access Token",mapbox_placeholder:"pk.eyJ1Ijo.....",basemaps:"Basemaps",basemaps_name_placeholder:"Enter the basemap name...",basemaps_raster:"Raster",basemaps_tile:"Raster TileJSON",basemaps_style:"Mapbox Style",files_divider_title:"Files & Thumbnails",overrides_divider_title:"App Overrides"},directus_activity:{login:"Login",create:"Create",update:"Update",delete:"Delete"},directus_collections:{track_activity_revisions:"Track Activity & Revisions",only_track_activity:"Only Track Activity",do_not_track_anything:"Do Not Track Anything",collection_setup:"Collection Setup",note_placeholder:"A description of this collection...",hidden_label:"Hide within the App",singleton:"Treat as single object",language:"Language",translation:"Translation",translation_placeholder:"Enter a translation...",collection_name:"Collection Name",singular_unit:"Singular Unit",plural_unit:"Plural Unit",archive_divider:"Archive",archive_field_placeholder:"Choose a field...",archive_app_filter:"Enable App Archive Filter",archive_value:"Value set when archiving...",unarchive_value:"Value set when unarchiving...",sort_divider:"Sort",sort_field:"Choose a field...",accountability_divider:"Accountability",duplication_divider:"Duplication",preview_divider:"Preview",content_versioning_divider:"Content Versioning",enable_versioning:"Enable Versioning"},directus_files:{title:"A unique title...",description:"An optional description...",location:"An optional location...",storage_divider:"File Naming",focal_point_divider:"Focal Point",filename_disk:"Name on disk storage...",filename_download:"Name when downloading..."},directus_roles:{name:"The unique name for this role...",description:"A description of this role...",ip_access:"Add allowed IP addresses, IP ranges and CIDR blocks. Leave empty to allow all...",fields:{icon_name:"Icon",name_name:"Name",name_placeholder:"Enter a title...",link_name:"Link",link_placeholder:"Relative or absolute URL..."},collections_name:"Collections",collections_addLabel:"Add Collection..."},directus_users:{preferences_divider:"User Preferences",dropdown_auto:"Automatic (Based on System)",dropdown_light:"Light Mode",dropdown_dark:"Dark Mode",admin_divider:"Admin Options",status_dropdown_draft:"Draft",status_dropdown_invited:"Invited",status_dropdown_active:"Active",status_dropdown_suspended:"Suspended",status_dropdown_archived:"Archived",token:"Enter a secure access token..."},directus_webhooks:{status_options_active:"Active",status_options_inactive:"Inactive",data_label:"Send Event Data",triggers_divider:"Triggers",actions_create:"Create",actions_update:"Update",actions_delete:"Delete",actions_login:"Login",headers:{header:"Header",value:"Value",add:"Add Header"}}},no_fields_in_collection:'There are no fields in "{collection}" yet',no_value:"No value",do_nothing:"Do Nothing",generate_and_save_uuid:"Generate and Save UUID",save_current_user_id:"Save Current User ID",save_current_user_role:"Save Current User Role",save_current_datetime:"Save Current Date/Time",always_open:"Always Open",start_open:"Start Open",start_collapsed:"Start Collapsed",block:"Block",inline:"Inline",comment:"Comment",live_preview:{enable:"Enable Preview",disable:"Disable Preview",change_size:"Change Display Dimensions",refresh:"Refresh Preview",new_window:"Open in New Window",close_window:"Open in Split View",toggle_3d:"Toggle 3D"},shares:"Shares",unlimited_usage:"Unlimited usage",uses_left:"No uses left | 1 use left | {n} uses left",no_shares:"No shares to show",new_share:"New Share",expired:"Expired",upcoming:"Upcoming",share:"Share",share_item:"Share Item",shared_with_you:"An item has been shared with you",shared_enter_passcode:"Enter your passcode to continue...",shared_leave_blank_for_passwordless_access:"Leave blank for passwordless access",shared_leave_blank_for_unlimited:"Leave blank for unlimited",shared_times_remaining:"This link can only be used {n} times",shared_last_remaining:"This link can only be used once",shared_uses_left:"For added security, this shared page has been configured with a limited number of views. There are currently {n} views remaining, after which, the page will no longer be accessible.",share_access_page:"Access Shared Page",share_access_not_found:"This shared page either does not exist or has already exceeded the maximum number of allowed uses.",share_access_not_found_desc:"Please contact an authorized user of this project to request access.",share_access_not_found_title:"Unknown Share Page",share_copy_link:"Copy Link",share_copy_link_success:"Link Copied",share_copy_link_error:"Unable to Copy Link",share_send_link:"Send Link",relational_triggers:"Relational Triggers",referential_action_field_label_m2o:"On Delete of {collection}...",referential_action_field_label_o2m:"On Deselect of {collection}...",referential_action_no_action:"Prevent the deletion",referential_action_cascade:"Delete the {collection} item (cascade)",referential_action_set_null:"Nullify the {field} field",referential_action_set_default:"Set {field} to its default value",choose_action:"Choose Action",continue_label:"Continue",continue_as:"{name} is currently authenticated. If you recognize this account, press continue.",editing_role:"{role} Role",creating_webhook:"Creating Webhook",default_label:"Default",delete_label:"Delete",delete_are_you_sure:"This action is permanent and can not be undone. Are you sure you would like to proceed?",delete_field_are_you_sure:'Are you sure you want to delete the field "{field}"? This action can not be undone.',description:"Description",done:"Done",duplicate:"Duplicate",limit:"Limit",email:"Email",embed:"Embed",fallback_icon:"Fallback Icon",field:"Field | Fields",file:"File",file_library:"File Library",forgot_password:"Forgot Password",hidden:"Hidden",hidden_in_group:"Hidden in {group}",icon:"Icon",info:"Info",normal:"Normal",success:"Success",warning:"Warning",danger:"Danger",colors:{purple:"Purple",blue:"Blue",green:"Green",yellow:"Yellow",orange:"Orange",red:"Red",black:"Black",gray:"Gray",white:"White"},junction_collection:"Junction Collection",latency:"Latency",login:"Log in",my_activity:"My Activity",not_authenticated:"Not Authenticated",authenticated:"Authenticated",options:"Options",otp:"One-Time Password",password:"Password",confirm_password:"Confirm Password",permissions:"Permissions",relationship:"Relationship",reset:"Reset",reset_password:"Reset Password",revisions:"Revisions",no_revisions:"No Revisions Yet",no_logs:"No Logs Yet",revert:"Revert",save:"Save",schema:"Schema",search:"Search",select_existing:"Select Existing",select_field_type:"Select a field type",select_interface:"Select an interface",select_display:"Select a display",settings:"Settings",register:"Register",registration_successful_headline:"Success!",registration_successful_note:"You may now proceed to the sign in page.",registration_successful_check_email_note:`Please note that before you can sign in, you'll need to verify your email address by clicking on the verification link sent to you.
|
|
52
|
-
`,dont_have_an_account:"Don't have an account?",already_have_an_account:"Already have an account?",sign_up_now:"Sign up now",sign_in:"Sign In",sign_out:"Sign Out",sign_out_confirm:"Are you sure you want to sign out?",something_went_wrong:"Something went wrong.",sort_direction:"Sort Direction",export_location:"Export Location",export_started:"Export Started",export_started_copy:"Your export has started. You'll be notified when it's ready to download.",sort_asc:"Sort Ascending",sort_desc:"Sort Descending",disable_sort:"Disable Sorting",template:"Template",require_value_to_be_set:"Require value to be set on creation",translation:"Translation",translation_placeholder:"Enter a translation...",value:"Value",view_project:"View Project",report_error:"Report Error",start:"Start",table:"Table",list:"List",search_filter:"Search & Filter",enable_search_filter:"Enable searching & filtering",item_link:"Item link",show_link_to_item:"Show a link to the item",navigate_to_item:"Navigate to Item",undo_removed_item:"Undo Removed Item",remove_item:"Remove Item",delete_item:"Delete Item",interfaces:{"list-m2a":{prefix_note:"Uses the related item's collection name by default.",sorting_disabled:"Sorting is disabled because there are more items than can fit on one page."},filter:{name:"Filter",description:"Configure a filter object.",add_filter:"Add Filter",add_group:"And / Or group",add_value:"Add Value",logic_type_and:"AND",logic_type_or:"OR",all:"All",any:"Any",and:"and",of_the_following:"of the following",no_rules:"No configured rules",change_value:"Click to change value",placeholder:"Drag rules here",add_key_placeholder:"Add a key and press enter..."},fields:{name:"Fields"},"group-accordion":{name:"Accordion",description:"Display fields or groups as accordion sections",start:"Start",all_closed:"All Closed",first_opened:"First Opened",all_opened:"All Opened",accordion_mode:"Accordion Mode",max_one_section_open:"Max 1 Section Open"},"presentation-links":{"presentation-links":"Button Links",links:"Links",description:"Configurable link buttons for launching dynamic URLs",style:"Style",primary:"Primary",link:"Links",button:"Buttons",error:"Cannot perform action"},"select-multiple-checkbox":{checkboxes:"Checkboxes",description:"Choose between multiple options via checkboxes",allow_other:"Allow Other",show_more:"Show {count} more",items_shown:"Items Shown"},"select-multiple-checkbox-tree":{name:"Checkboxes (Tree)",description:"Choose between multiple options via nested checkboxes",value_combining:"Value Combining",value_combining_note:"Controls what value is stored when nested selections are made.",show_all:"Show All",show_selected:"Show Selected"},"input-code":{code:"Code",description:"Write or share code snippets",line_number:"Line Number",line_wrapping:"Line Wrapping",placeholder:"Enter code here..."},"system-collection":{collection:"Collection",description:"Select between existing collections",include_system_collections:"Include System Collections"},"system-collections":{collections:"Collections",description:"Select between existing collections",include_system_collections:"Include System Collections"},"select-color":{color:"Color",description:"Enter or select a color value",placeholder:"Choose a color...",preset_colors:"Preset Colors",opacity:"Opacity",preset_colors_add_label:"Add new color...",name_placeholder:"Enter color name..."},datetime:{datetime:"Datetime",description:"Enter dates and times",include_seconds:"Include Seconds",set_to_now:"Set to Now",use_24:"Use 24-Hour Format",placeholder:"Choose a datetime..."},"system-fields":{select_a_collection:"Select a Collection",no_fields:"No fields"},"system-display-template":{"display-template":"Display Template",description:"Mix static text and dynamic field values",collection_field:"Collection field",collection_field_not_setup:"The collection field option is misconfigured",select_a_collection:"Select a Collection"},"presentation-divider":{divider:"Divider",description:"Label and divide fields into sections",title_placeholder:"Enter a title, or leave blank to only show a line...",inline_title:"Inline Title",inline_title_label:"Show title inside line",margin_top:"Margin Top",margin_top_label:"Increase Top Margin"},"select-dropdown":{description:"Select a value from a dropdown",choices_placeholder:"Add a new choice",allow_other:"Allow Other",allow_other_label:"Allow Other Values",allow_none:"Allow None",allow_none_label:"Allow No Selection",choices_name_placeholder:"Enter a name...",choices_value_placeholder:"Enter a value...",preview_threshold:"Preview Threshold"},"select-multiple-dropdown":{"select-multiple-dropdown":"Dropdown (Multiple)",description:"Select multiple values from a dropdown"},file:{file:"File",description:"Select or upload a file"},files:{files:"Files",description:"Select or upload multiple files"},"input-hash":{hash:"Hash",description:"Enter a value to be hashed",masked:"Masked",masked_label:"Hide the true values"},"select-icon":{icon:"Icon",description:"Select an icon from a dropdown",search_for_icon:"Search for icon..."},"file-image":{image:"Image",description:"Select or upload an image",crop:"Crop to Fit",crop_label:"Crop image as needed"},"system-interface":{interface:"Interface",description:"Select an existing interface",placeholder:"Select an interface..."},"system-interface-options":{"interface-options":"Interface Options",description:"A modal for selecting options of an interface"},"system-display":{display:"Display",description:"Select an existing display",placeholder:"Select an display..."},"system-display-options":{"display-options":"Display Options",description:"A modal for selecting options of a display"},"list-m2m":{"many-to-many":"Many to Many",description:"Select multiple related junction items",columns_configure_notice:"You can configure the columns after creating this field.",display_template_configure_notice:"You can configure the display template after creating this field."},"select-dropdown-m2o":{"many-to-one":"Many to One",description:"Select a single related item",display_template:"Display Template"},"collection-item-dropdown":{"collection-item-dropdown":"Collection Item Dropdown",description:"Select an item from a collection in JSON format"},"input-rich-text-md":{markdown:"Markdown",description:"Enter and preview markdown",edit:"Edit",preview:"Preview",editorFont:"Editor Font",previewFont:"Preview Font",customSyntax:"Custom Blocks",customSyntax_label:"Add custom syntax types",customSyntax_add:"Add custom syntax",box:"Block / Inline",imageToken:"Static Access Token",imageToken_label:"Static access token is appended to the assets' URL"},map:{map:"Map",description:"Select a location on a map",zoom:"Zoom",geometry_type:"Geometry Type",geometry_format:"Geometry Format",default_view:"Default View",invalid_options:"Invalid options",invalid_format:"Invalid format ({format})",unexpected_geometry:"Expected {expected}, got {got}.",fit_bounds:"Fit view to data",native:"Native",geojson:"GeoJSON",lnglat:"Longitude, Latitude",wkt:"WKT",wkb:"WKB",click_to_select:"Click to select {geometry}"},"presentation-notice":{notice:"Notice",description:"Display a short notice",text:"Enter notice content here...",no_text:"No text configured..."},"list-o2m":{"one-to-many":"One to Many",description:"Select multiple related items",no_collection:"The collection could not be found"},"system-folder":{folder:"Root Folder",description:"Select a folder",field_hint:"Default folder for uploaded files without a folder specified. Does not affect existing files.",root_name:"File Library Root",system_default:"System Defaults"},"select-radio":{"radio-buttons":"Radio Buttons",description:"Select one of multiple choices"},list:{repeater:"Repeater",description:"Create multiple entries of the same structure",edit_fields:"Edit Fields",add_label:'"Create New" Label',sort:"Sort",sort_placeholder:"Manual",field_note_placeholder:"Enter field note...",incompatible_data:"The current data is not compatible with the repeater interface and will be overridden when adding items to the repeater",interface_group:"Interface Options",display_group:"Display Options"},slider:{slider:"Slider",description:"Select a number using a slider",always_show_value:"Always show value"},tags:{tags:"Tags",description:"Select or add tags",whitespace:"Whitespace",hyphen:"Replace with hyphen",underscore:"Replace with underscore",remove:"Remove whitespace",capitalization:"Capitalization",uppercase:"Convert Uppercase",lowercase:"Convert Lowercase",auto_formatter:"Use Title Auto-Formatter",alphabetize:"Alphabetize",alphabetize_label:"Force Alphabetical Order",add_tags:"Add a tag and press Enter..."},input:{input:"Input",description:"Manually enter a value",trim:"Trim",trim_label:"Trim the start and end",mask:"Masked",mask_label:"Hide the real value",clear:"Cleared Value",clear_label:"Save as empty string",minimum_value:"Minimum Value",maximum_value:"Maximum Value",step_interval:"Step Interval",slug:"Slugify",slug_label:"Make entered value URL safe"},"input-multiline":{textarea:"Textarea",description:"Enter multiline plain-text"},"input-translated-string":{"input-translated-string":"Translated Strings",description:"Select or add custom translation",search_placeholder:"Search...",new_custom_translation:"New Custom Translation"},boolean:{toggle:"Toggle",description:"Switch between on and off",color_on:"Color On",color_off:"Color Off",label_placeholder:"Enter a label...",label_default:"Enabled"},translations:{display_template:"Display Template",no_collection:"No Collection",toggle_split_view:"Toggle Split View",enable:"Enable",default_split_view_state:"Default Split View State",user_language:"Use Current User Language",default_language:"Default Language",language_field:"Language Indicator Field",language_direction_field:"Language Direction Field"},"list-o2m-tree-view":{description:"Tree view for nested recursive one-to-many items",recursive_only:"The tree view interface only works for recursive relationships."},user:{user:"User",description:"Select an existing directus user",select_mode:"Select Mode",modes:{auto:"Auto",dropdown:"Dropdown",modal:"Modal"}},"input-rich-text-html":{wysiwyg:"WYSIWYG",description:"A rich-text editor writing HTML content",toolbar:"Toolbar",custom_formats:"Custom Formats",custom_formats_note:"List of TinyMCE Content Formats. See the TinyMCE documentation about [Content Formatting](https://www.tiny.cloud/docs/tinymce/latest/content-formatting/) for more information.",options_override:"Options Override",options_override_note:"The TinyMCE User Formatting keys and their values. See the TinyMCE documentation about [User Formatting](https://www.tiny.cloud/docs/tinymce/latest/user-formatting-options/) for more information.",folder_note:"Folder for uploaded files. Does not affect existing files.",imageToken:"Static Access Token",imageToken_label:"Static access token is appended to the assets' URL"},"input-block-editor":{"input-block-editor":"Block Editor",description:"Block-styled editor for rich media stories, outputs clean data in JSON using Editor.js",tools:"Toolbar",tools_options:{header:"Header",nestedlist:"List",embed:"Embed",paragraph:"Paragraph",code:"Code",image:"Image",attaches:"Attaches",table:"Table",quote:"Quote",underline:"Underline",inlinecode:"Inline Code",delimiter:"Delimiter",checklist:"Checklist",toggle:"Toggle Block",alignment:"Alignment",raw:"Raw HTML"}},"input-autocomplete-api":{"input-autocomplete-api":"Autocomplete Input (API)",description:"A search typeahead for external API values.",results_path:"Results Path",value_path:"Value Path",text_path:"Text Path",trigger:"Trigger",rate:"Rate"},"group-raw":{name:"Raw Group",description:"Render the fields as-is"},"group-detail":{name:"Detail Group",description:"Render the fields as a collapsable section",show_header:"Show Group Header",header_icon:"Header Icon",header_color:"Header Color",start_open:"Start Open",start_closed:"Start Closed"},"system-token":{"system-token":"Token",description:"Manage static access token",placeholder:'Click "Generate Token" to create a new static access token',value_securely_saved:"Value Securely Saved",generate:"Generate Token",regenerate:"Regenerate Token",generate_success_copy:"Make sure to backup and copy the token above. For security reasons, you will not be able to view the token again after saving and navigate off this page.",remove_token:"Remove Token"},"system-raw-editor":{"system-raw-editor":"Raw Editor",description:"Allow entering of raw or mustache templating values"}},displays:{translations:{translations:"Translations",description:"Preview translations",enable:"Enable",user_language:"Use Current User Language",default_language:"Default Language",language_field:"Language Indicator Field"},boolean:{boolean:"Boolean",description:"Display on and off states",label_on:"Label On",label_on_placeholder:"Enter an on label...",label_off:"Label Off",label_off_placeholder:"Enter an off label...",icon_on:"Icon On",icon_off:"Icon Off",color_on:"Color On",color_off:"Color Off"},collection:{collection:"Collection",description:"Display a collection",icon_label:"Show the collection's icon"},color:{color:"Color",description:"Display a colored dot",default_color:"Default Color"},datetime:{datetime:"Datetime",description:"Display values related to time",format:"Format",format_note:"The custom format accepts the __[Date Field Symbol Table](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table)__",long:"Long",short:"Short",relative:"Relative",relative_label:"Show relative time, eg: 5 minutes ago",suffix:"Suffix",suffix_label:"Show relative indicator",suffix_note:"Uses words like 'in' and 'ago'",strict:"Strict",strict_label:"Use strict units",strict_note:"Removes words like 'almost', 'over', 'less than'",round:"Round",round_note:"Choose a rounding function to use",down:"Down",nearest:"Nearest",up:"Up"},file:{file:"File",description:"Display files"},filesize:{filesize:"File Size",description:"Display the size of a file"},"formatted-value":{"formatted-value":"Formatted Value",description:"Display a formatted version of the text",format:"Format",format_label:"Auto format",font:"Font",font_sans_serif:"Sans serif",font_serif:"Serif",font_monospace:"Monospace",bold:"Bold",bold_label:"Use bold style",italic:"Italic",italic_label:"Use italic style",prefix:"Prefix",prefix_label:"Prepend text",suffix:"Suffix",suffix_label:"Appended Text",color:"Color",background:"Background",icon:"Icon",border:"Border",border_label:"Show border",mask:"Masked",mask_label:"Hide the real value",text:"Text",text_placeholder:"Optional value override..."},"formatted-json-value":{"formatted-json-value":"Formatted JSON value",description:"Display a formatted version of the object"},hash:{hash:"Hash",description:"Display a redacted version of the value"},icon:{icon:"Icon",description:"Display an icon",filled:"Filled",filled_label:"Use the filled variant"},image:{image:"Image",description:"Display a tiny image preview",circle:"Circle",circle_label:"Display as a circle"},labels:{labels:"Labels",description:"Display either a single or a list of labels",default_foreground:"Default Foreground",default_background:"Default Background",format_label:"Format each label",show_as_dot:"Show As Dot",choices_value_placeholder:"Enter a value...",choices_text_placeholder:"Enter a text..."},"mime-type":{"mime-type":"MIME Type",description:"Show the MIME-Type of a file",extension_only:"Extension Only",extension_only_label:"Only show the file extension"},rating:{rating:"Rating",description:"Visualize a number as stars relative to the max-value",simple:"Simple",simple_label:"Show stars in a simple format"},raw:{raw:"Raw Value"},"related-values":{"related-values":"Related Values",description:"Display relative values",display_template_configure_notice:"You can configure the display template after creating this field."},user:{user:"User",description:"Display a directus user",avatar:"Avatar",name:"Name",both:"Both",circle_label:"Show user in a circle"}},layouts:{cards:{cards:"Cards",image_source:"Image Source",image_fit:"Image Fit",crop:"Crop",contain:"Contain",title:"Title",subtitle:"Subtitle"},tabular:{tabular:"Table",spacing:"Spacing",comfortable:"Comfortable",compact:"Compact",cozy:"Cozy"},calendar:{calendar:"Calendar",start_date_field:"Start Date Field",end_date_field:"End Date Field",optional:"Optional",first_day:"First Day of the Week"},map:{map:"Map",basemap:"Basemap",layers:"Layers",cluster_options:"Clustering options",cluster:"Cluster Nearby Data",cluster_radius:"Cluster radius",cluster_minpoints:"Cluster minimum size",cluster_maxzoom:"Maximum zoom for clustering",field:"Geospatial Field",invalid_geometry:"Invalid geometry",find_location:"Find location...",default_template:"Using Collection Default...",no_compatible_fields:"No compatible fields"},kanban:{name:"Kanban",group_field:"Group By",group_field_placeholder:"Field to group by...",group_title:"Group Title",group_title_placeholder:"Field for group titles...",title:"Card Title",title_placeholder:"Optional title field...",text:"Card Text",text_placeholder:"Optional text field...",date:"Card Date",date_placeholder:"Optional date field...",tags:"Card Tags",tags_placeholder:"Optional tags field...",user:"Card User",user_placeholder:"Optional user field...",image:"Card Image",image_placeholder:"Optional image field...",image_fit:"Card Image Fit",crop:"Crop",advanced:"Advanced",edit_group:"Edit Group",delete_group:"Delete Group",add_group:"Add Group",add_group_placeholder:"Enter a new group title...",show_ungrouped:"Show Ungrouped",show:"Show",no_group:"No Group",not_all_loaded:"Could only load the first 1000 items."}},horizontal:"Horizontal",vertical:"Vertical",axis:"Axis",x_axis:"X-Axis",y_axis:"Y-Axis",y_axis_function:"Y-Axis Function",show_x_only:"Show X-Axis Only",show_y_only:"Show Y-Axis Only",show_data_label:"Show Data Label",both:"Both",show_axis_labels:"Show Axis Labels",function:"Function",half_circle:"Half Circle",full_circle:"Full Circle",stroke_width:"Stroke Width",rounded_stroke:"Rounded Stroke",thin:"Thin",medium:"Medium",broad:"Broad",show_labels:"Show Labels",show_legend:"Show Legend",right:"Right",left:"Left",donut:"Donut",panels:{metric:{name:"Metric",description:"Show a single value based on a query",field:"Field"},metric_list:{name:"Metric List",description:"List and visualize aggregate metrics from a collection"},time_series:{name:"Time Series",description:"Render a line chart based on values over time",date_field:"Date Field",value_field:"Value Field",fill_type:"Fill Type",curve_type:"Curve Type"},label:{name:"Label",description:"Show some text"},list:{name:"List",description:"Filter and list fields from a collection"},barchart:{name:"Bar Chart",description:"Bar or column charts for comparing groups of values",horizontal:"Horizontal",select_collection:"You must select a collection."},linechart:{name:"Line Chart",description:"Line chart for comparing change of a field",disabled_grouping:"Disabled when grouping is selected.",disabled_no_grouping:"Disabled when no grouping is selected.",show_marker:"Show Tooltip Marker",curve_type:"Curve Type",smooth:"Smooth",straight:"Straight",step_line:"Step Line",show_legend:"Show Legend"},meter:{name:"Meter",description:"Meter for tracking values"},piechart:{name:"Pie or Donut Chart",description:"Circular chart showing the ratios of groups on a column"},variable:{name:"Global Variable",description:"Set a global value for use in other Panels' filters",variable_key:"Variable Key"},"relational-variable":{name:"Global Relational Variable",description:"Set a global relational value for use in other Panels' filters",variable_key:"Variable Key",multiple:"Multiple","multiple-label":"Select multiple items"}},triggers:{common:{response_body:"Response Body",response_body_all:"All Data",response_body_last:"Data of Last Operation"},event:{name:"Event Hook",description:"Triggers on platform or data events",action:"Action (Non-Blocking)",filter:"Filter (Blocking)"},webhook:{name:"Webhook",description:"Triggers on an incoming HTTP request",method:"Method",async:"Asynchronous"},operation:{name:"Another Flow",description:"Triggered by another Flow, for chaining",preview:"Triggered by an operation in a different Flow"},schedule:{name:"Schedule (CRON)",description:"Triggers at regular points in time",cron:"Interval"},manual:{name:"Manual",description:"Triggers on manual run within selected collection(s)",collection_and_item:"Collection & Item Pages",collection_only:"Collection Page Only",item_only:"Item Page Only",collection_page:"Collection Page",require_selection:"Requires Selection"}},a_flow_uuid:"Select a Flow to trigger...",any_string_or_json:"Any string or JSON...",item_payload_placeholder:"This is the JSON used to update the item's field values...",operation_variables_note:"You can access flow data with variables such as **{'{'}{'{'}$last{'}'}{'}'}**, **{'{'}{'{'}$trigger{'}'}{'}'}** and **{'{'}{'{'}$accountability{'}'}{'}'}**, or reference previous operations using **{'{'}{'{'}operation_key{'}'}{'}'}**.'",operations:{condition:{name:"Condition",description:"Route a flow based on If / Else logic"},exec:{name:"Run Script",description:"Execute arbitrary code to modify the payload",modules:"The following **Node modules** can be used:"},"item-create":{name:"Create Data",description:"Create items in the database",payload:"Payload",emit_events:"Emit Events"},"item-delete":{name:"Delete Data",description:"Delete items in the database",emit_events:"Emit Events",key:"IDs",query:"Query"},"item-read":{name:"Read Data",description:"Read items from the database",key:"IDs",query:"Query",emit_events:"Emit Events"},"item-update":{name:"Update Data",description:"Update items in the database",emit_events:"Emit Events",key:"IDs",payload:"Payload",query:"Query"},"json-web-token":{name:"JSON Web Token (JWT)",description:"Sign and verify JSON Web Tokens",operation:"Operation",secret:"Secret",secret_placeholder:"Enter a secret...",payload:"Payload",token:"Token",token_placeholder:"eyJhbGciOi......",options:"Options",options_placeholder:"Refer to https://www.npmjs.com/package/jsonwebtoken#usage for the available options",sign:"Sign Token",verify:"Verify Token",decode:"Decode Token"},log:{name:"Log to Console",description:"Output something to the console",message:"Message",message_placeholder:"Enter a message to show in the console..."},mail:{name:"Send Email",description:"Send an email to one or more people",to:"To",to_placeholder:"Add e-mail addresses and press enter...",body:"Body",template:"Template",data:"Data"},notification:{name:"Send Notification",description:"Send an in-app notification to one or more users",recipient:"User",recipient_placeholder:"Enter a UUID...",recipient_note:"Add user UUID and press enter...",item_note:"Item Key or Relative URL",message:"Message",subject:"Subject"},request:{name:"Webhook / Request URL",description:"Make a request to a URL",url:"URL",url_placeholder:"https://example.com/example",method:"Method",data:"Data",headers:"Headers",header:"Header",header_placeholder:"Authorization...",value_placeholder:"Bearer eyJhbGciOi..."},sleep:{name:"Sleep",description:"Wait a given number of milliseconds",milliseconds:"Milliseconds"},transform:{name:"Transform Payload",description:"Alter the Flow's JSON payload"},trigger:{name:"Trigger Flow",description:"Pass this data to another flow",flows:"Flows",flow:"Flow",data:"Data",iteration_mode:"Iteration Mode",iteration_mode_note:"Mode for iterating over arrays.",serial:"Serial",parallel:"Parallel",batch:"Batch",batch_size:"Batch Size",cache:"Cache"}},unit:"Unit",standard:"Standard",scientific:"Scientific",engineering:"Engineering",compact:"Compact",currency:"Currency",notation:"Notation",style:"Style",fonts:{thin:"Thin",extra_light:"Extra Light",light:"Light",normal:"Normal",medium:"Medium",semi_bold:"Semi Bold",bold:"Bold",extra_bold:"Extra Bold",black:"Black",italic:"Italic",oblique:"Oblique",small:"Small",large:"Large",auto:"Auto"},text_wrap:"Text Wrap",center:"Center",justify:"Justify",text_align:"Text Align",font_weight:"Font Weight",font_style:"Font Style",font_size:"Font Size",minimum_fraction_digits:"Minimum Decimals",maximum_fraction_digits:"Maximum Decimals",show_percentage:"Show Percentage",aggregation:"Aggregation",series_grouping:"Series Grouping",date_precision:"Date Precision",export_dashboard:"Export Dashboard",duplicate_dashboard:"Duplicate Dashboard",search_dashboard:"Search Dashboard...",search_flow:"Search Flow...",percent:"Percent"};const MP=le;var TY=le.about,LY=le.identifier,IY=le.avatar,MY=le.application,DY=le.default_provider,PY=le.method,OY=le.published,RY=le.draft,FY=le.archived,zY=le.marketplace,$Y=le.extensions,NY=le.modules,BY=le.module_bar,jY=le.logs,VY=le.unknown,HY=le.reset_width,UY=le.tile_size,WY=le.edit_field,qY=le.conditions,GY=le.location,YY=le.collection_names_are_case_sensitive,XY=le.condition_rules,KY=le.input,ZY=le.maps,JY=le.switch_user,QY=le.item_creation,eX=le.item_revision,tX=le.enter_a_name,nX=le.duplicate_field,iX=le.half_width,oX=le.full_width,aX=le.group,rX=le.popular,sX=le.recent,lX=le.export_items,cX=le.and,uX=le.or,dX=le.init,fX=le.dataset_too_large_currently_showing_n_items,pX=le.modifier,hX=le.extension_interface,mX=le.extension_display,vX=le.extension_layout,gX=le.extension_module,yX=le.extension_panel,_X=le.extension_theme,bX=le.extension_hook,xX=le.extension_endpoint,wX=le.extension_operation,kX=le.extension_bundle,CX=le.extension_interfaces,SX=le.extension_displays,EX=le.extension_layouts,AX=le.extension_modules,TX=le.extension_panels,LX=le.extension_themes,IX=le.extension_hooks,MX=le.extension_endpoints,DX=le.extension_operations,PX=le.extension_bundles,OX=le.extension_missing,RX=le.extension_reload_required,FX=le.extension_reload_required_copy,zX=le.extension_reload_now,$X=le.published_relative,NX=le.compatible_with_your_project,BX=le.compatible_with_your_project_copy,jX=le.last_updated_relative,VX=le.n_files,HX=le.verified,UX=le.homepage,WX=le.repository,qX=le.reload_page,GX=le.reload_required,YX=le.report_an_issue,XX=le.website,KX=le.github,ZX=le.beta,JX=le.n_downloads,QX=le.downloads,eK=le.compatibility_not_guaranteed,tK=le.compatibility_not_guaranteed_copy,nK=le.enable,iK=le.disable,oK=le.custom,aK=le.hook,rK=le.fill_width,sK=le.field_name_translations,lK=le.enter_password_to_enable_tfa,cK=le.add_field,uK=le.role_name,dK=le.branch,fK=le.leaf,pK=le.indeterminate,hK=le.edit_collection,mK=le.exclusive,vK=le.children,gK=le.db_only_click_to_configure,yK=le.show_active_items,_K=le.show_archived_items,bK=le.show_all_items,xK=le.edited,wK=le.required,kK=le.required_for_app_access,CK=le.requires_value,SK=le.create_preset,EK=le.create_panel,AK=le.create_role,TK=le.create_user,LK=le.message,IK=le.delete_panel,MK=le.create_webhook,DK=le.create_custom_translation,PK=le.edit_custom_translation,OK=le.no_custom_translations,RK=le.no_custom_translations_copy,FK=le.invite_users,zK=le.invite,$K=le.email_already_invited,NK=le.subject,BK=le.inbox,jK=le.emails,VK=le.connection_excellent,HK=le.connection_good,UK=le.connection_fair,WK=le.connection_poor,qK=le.primary,GK=le.rename_folder,YK=le.delete_folder,XK=le.prefix,KK=le.suffix,ZK=le.keep,JK=le.version,QK=le.version_key,eZ=le.version_name,tZ=le.main_version,nZ=le.switch_version,iZ=le.switch_version_copy,oZ=le.create_version,aZ=le.rename_version,rZ=le.compare_version,sZ=le.save_version,lZ=le.promote_version,cZ=le.promote_version_disabled,uZ=le.promote_version_drawer_title,dZ=le.promote_version_changes,fZ=le.promote_version_preview,pZ=le.outdated_notice,hZ=le.promote_notice,mZ=le.delete_version,vZ=le.delete_version_copy,gZ=le.delete_on_promote_copy,yZ=le.reset_bookmark,_Z=le.update_bookmark,bZ=le.delete_bookmark,xZ=le.delete_bookmark_copy,wZ=le.delete_personal_bookmark,kZ=le.delete_role_bookmark,CZ=le.delete_global_bookmark,SZ=le.logoutReason,EZ=le.public_label,AZ=le.public_description,TZ=le.admin_description,LZ=le.no_description,IZ=le.reached_maximum_number_of_extensions,MZ=le.not_allowed,DZ=le.archive,PZ=le.archive_confirm,OZ=le.archive_confirm_count,RZ=le.reset_system_permissions_to,FZ=le.reset_system_permissions_copy,zZ=le.the_following_are_minimum_permissions,$Z=le.app_access_minimum,NZ=le.recommended_defaults,BZ=le.unarchive,jZ=le.unarchive_confirm,VZ=le.nested_files_folders_will_be_moved,HZ=le.validation_errors_notice,UZ=le.validationError,WZ=le.all_access,qZ=le.no_access,GZ=le.use_custom,YZ=le.nullable,XZ=le.allow_null_value,KZ=le.allow_multiple,ZZ=le.allow_multiple_to_be_open,JZ=le.enter_value_to_replace_nulls,QZ=le.field_standard,eJ=le.field_presentation,tJ=le.field_file,nJ=le.field_files,iJ=le.field_m2o,oJ=le.field_m2a,aJ=le.field_o2m,rJ=le.field_m2m,sJ=le.field_translations,lJ=le.field_group,cJ=le.item_permissions,uJ=le.field_permissions,dJ=le.field_validation,fJ=le.field_presets,pJ=le.permissions_for_role,hJ=le.fields_for_role,mJ=le.validation_for_role,vJ=le.presets_for_role,gJ=le.presets_field_warning,yJ=le.presentation_and_aliases,_J=le.revision_post_create,bJ=le.revision_post_update,xJ=le.changes_made,wJ=le.no_relational_data,kJ=le.junction_field_location,CJ=le.top,SJ=le.bottom,EJ=le.hide_field,AJ=le.hide_field_on_detail,TJ=le.show_field_on_detail,LJ=le.delete_field,IJ=le.fields_and_layout,MJ=le.field_create_success,DJ=le.field_update_success,PJ=le.duplicate_where_to,OJ=le.language,RJ=le.language_placeholder,FJ=le.aggregate_function,zJ=le.aggregate_precision,$J=le.group_aggregation,NJ=le.group_precision,BJ=le.global,jJ=le.admins_have_all_permissions,VJ=le.camera,HJ=le.show_zero,UJ=le.create_in_advanced_field_creation_mode,WJ=le.continue_in_advanced_field_creation_mode,qJ=le.validation,GJ=le.sum,YJ=le.sum_distinct,XJ=le.avg,KJ=le.avg_distinct,ZJ=le.count,JJ=le.count_distinct,QJ=le.min,eQ=le.max,tQ=le.exposure,nQ=le.shutter,iQ=le.iso,oQ=le.focal_length,aQ=le.schema_setup_key,rQ=le.create_field,sQ=le.creating_new_field,lQ=le.field_in_collection,cQ=le.reset_page_preferences,uQ=le.hidden_field,dQ=le.hidden_on_detail,fQ=le.disabled_editing_value,pQ=le.key,hQ=le.alias,mQ=le.bigInteger,vQ=le.boolean,gQ=le.date,yQ=le.date_range,_Q=le.translation_key_placeholder,bQ=le.datetime,xQ=le.dateTime,wQ=le.precision,kQ=le.decimal,CQ=le.float,SQ=le.integer,EQ=le.json,AQ=le.xml,TQ=le.yaml,LQ=le.string,IQ=le.text,MQ=le.time,DQ=le.timestamp,PQ=le.uuid,OQ=le.hash,RQ=le.geometry,FQ=le.theme_auto,zQ=le.theme_light,$Q=le.theme_dark,NQ=le.theme_directus_default,BQ=le.theme_directus_minimal,jQ=le.theme_directus_colormatch,VQ=le.not_available_for_type,HQ=le.create_translations,UQ=le.auto_refresh,WQ=le.refresh_interval,qQ=le.no_refresh,GQ=le.refresh_interval_seconds,YQ=le.refresh_interval_minutes,XQ=le.auto_generate,KQ=le.this_will_auto_setup_fields_relations,ZQ=le.click_here,JQ=le.to_manually_setup_translations,QQ=le.manage,eee=le.click_to_manage_translated_fields,tee=le.fields_group,nee=le.no_collections_found,iee=le.new_data_alert,oee=le.search_collection,aee=le.search_role,ree=le.search_field,see=le.new_field,lee=le.new_collection,cee=le.add_m2o_to_collection,uee=le.add_o2m_to_collection,dee=le.add_m2m_to_collection,fee=le.choose_a_type,pee=le.determined_by_relationship,hee=le.add_note,mee=le.add_link,vee=le.custom_link,gee=le.default_value,yee=le.standard_field,_ee=le.single_file,bee=le.multiple_files,xee=le.m2o_relationship,wee=le.o2m_relationship,kee=le.m2m_relationship,Cee=le.m2a_relationship,See=le.invalid_item,Eee=le.require_confirmation,Aee=le.dialog,Tee=le.modal,Lee=le.confirmation_dialog,Iee=le.confirmation_description,Mee=le.confirmation_input_fields,Dee=le.next,Pee=le.field_name,Oee=le.translations,Ree=le.no_translations,Fee=le.left_to_right,zee=le.right_to_left,$ee=le.note,Nee=le.enter_a_value,Bee=le.enter_a_placeholder,jee=le.length,Vee=le.soft_length,Hee=le.precision_scale,Uee=le.readonly,Wee=le.unique,qee=le.updated_on,Gee=le.updated_by,Yee=le.primary_key,Xee=le.foreign_key,Kee=le.field_key,Zee=le.finish_setup,Jee=le.dismiss,Qee=le.toggle_raw_editor,ete=le.raw_editor_placeholder,tte=le.raw_value,nte=le.copy_raw_value,ite=le.copy_raw_value_success,ote=le.copy_raw_value_fail,ate=le.paste_raw_value,rte=le.paste_raw_value_success,ste=le.paste_raw_value_fail,lte=le.view_raw_value,cte=le.edit_raw_value,ute=le.enter_raw_value,dte=le.clear_value,fte=le.clear_changes,pte=le.clear_items,hte=le.reset_to_default,mte=le.undo_changes,vte=le.notifications,gte=le.archive_all,yte=le.show_all_activity,_te=le.page_not_found,bte=le.page_not_found_body,xte=le.confirm_revert,wte=le.confirm_revert_body,kte=le.display,Cte=le.settings_update_success,Ste=le.title,Ete=le.revision_delta_created,Ate=le.revision_delta_created_externally,Tte=le.revision_delta_updated,Lte=le.revision_delta_deleted,Ite=le.revision_delta_version_saved,Mte=le.revision_delta_reverted,Dte=le.revision_delta_update_message,Pte=le.revision_delta_other,Ote=le.revision_delta_by,Rte=le.presentation_text_values_cannot_be_reimported,Fte=le.download_page_as_csv,zte=le.download_page_as_csv_unsupported,$te=le.private_user,Nte=le.creation_preview,Bte=le.revision_preview,jte=le.updates_made,Vte=le.leave_comment,Hte=le.post_comment_success,Ute=le.post_comment_updated,Wte=le.item_create_success,qte=le.item_update_success,Gte=le.item_delete_success,Yte=le.this_collection,Xte=le.related_collection,Kte=le.related_collections,Zte=le.translations_collection,Jte=le.languages_collection,Qte=le.import_data_input_placeholder,ene=le.import_data_button,tne=le.import_data_indeterminate,nne=le.import_data_success,ine=le.import_data_error,one=le.label_import,ane=le.label_export,rne=le.import_export,sne=le.format,lne=le.last_page,cne=le.last_access,une=le.fill_template,dne=le.a_unique_table_name,fne=le.a_unique_column_name,pne=le.enable_custom_values,hne=le.submit,mne=le.move_to_folder,vne=le.move,gne=le.system,yne=le.add_field_related,_ne=le.interface_label,bne=le.display_label,xne=le.today,wne=le.yesterday,kne=le.delete_comment,Cne=le.delete_share,Sne=le.functions,Ene=le.minutes,Ane=le.hours,Tne=le.month,Lne=le.year,Ine=le.select_all,Mne=le.months,Dne=le.drag_mode,Pne=le.move_tool,One=le.crop_tool,Rne=le.focal_point_tool,Fne=le.cancel_crop,zne=le.cancel_selection,$ne=le.original,Nne=le.url,Bne=le.import_label,jne=le.file_details,Vne=le.dimensions,Hne=le.size,Une=le.created,Wne=le.modified,qne=le.owner,Gne=le.edited_by,Yne=le.folder,Xne=le.folders,Kne=le.zoom,Zne=le.download,Jne=le.open,Qne=le.open_in_new_window,eie=le.open_folder,tie=le.foreground_color,nie=le.background_color,iie=le.upload_from_device,oie=le.choose_from_library,aie=le.import_from_url,rie=le.replace_from_device,sie=le.replace_from_library,lie=le.replace_from_url,cie=le.no_image_selected,uie=le.no_file_selected,die=le.download_file,fie=le.open_file_in_tab,pie=le.start_export,hie=le.not_available_for_local_downloads,mie=le.exporting_all_items_in_collection,vie=le.exporting_limited_items_in_collection,gie=le.exporting_no_items_to_export,yie=le.exporting_download_hint,_ie=le.exporting_library_hint,bie=le.exporting_library_hint_forced,xie=le.collection_key,wie=le.name,kie=le.primary_key_field,Cie=le.type,Sie=le.creating_new_collection,Eie=le.created_by,Aie=le.created_on,Tie=le.creating_collection_info,Lie=le.creating_collection_system,Iie=le.auto_increment_integer,Mie=le.auto_increment_big_integer,Die=le.generated_uuid,Pie=le.manual_string,Oie=le.save_and_create_new,Rie=le.save_and_stay,Fie=le.save_and_quit,zie=le.save_as_copy,$ie=le.add_existing,Nie=le.creating_items,Bie=le.enable_create_button,jie=le.selecting_items,Vie=le.enable_select_button,Hie=le.allow_duplicates,Uie=le.comments,Wie=le.no_comments,qie=le.expand,Gie=le.collapse,Yie=le.select_item,Xie=le.no_items,Kie=le.search_items,Zie=le.search_extensions,Jie=le.disabled,Qie=le.information,eoe=le.report_bug,toe=le.request_feature,noe=le.request_body,ioe=le.interface_not_found,ooe=le.operation_not_found,aoe=le.reset_interface,roe=le.display_not_found,soe=le.reset_display,loe=le.item_count,coe=le.no_items_copy,uoe=le.file_count,doe=le.no_files_copy,foe=le.user_count,poe=le.no_users_copy,hoe=le.webhooks_count,moe=le.webhooks_deprecation_notice,voe=le.no_webhooks_copy,goe=le.no_notifications,yoe=le.no_notifications_copy,_oe=le.activity_log,boe=le.all_items,xoe=le.any,woe=le.csv,koe=le.no_collections,Coe=le.create_collection,Soe=le.no_collections_copy_admin,Eoe=le.no_collections_copy,Aoe=le.relationship_not_setup,Toe=le.no_singleton_relations,Loe=le.display_template_not_setup,Ioe=le.collection_field_not_setup,Moe=le.select_a_collection,Doe=le.select_a_field,Poe=le.active,Ooe=le.move_to,Roe=le.copy,Foe=le.copy_to,zoe=le.no_other_dashboards_copy,$oe=le.inactive,Noe=le.users,Boe=le.activity,joe=le.activity_item,Voe=le.action,Hoe=le.ip_address,Uoe=le.user_agent,Woe=le.origin,qoe=le.webhooks,Goe=le.decimals,Yoe=le.value_decimals,Xoe=le.min_value,Koe=le.max_value,Zoe=le.automatic,Joe=le.field_width,Qoe=le.add_filter,eae=le.upper_limit,tae=le.lower_limit,nae=le.user_directory,iae=le.documentation,oae=le.sidebar,aae=le.duration,rae=le.charset,sae=le.second,lae=le.file_moved,cae=le.collection_created,uae=le.modified_on,dae=le.card_size,fae=le.sort_field,pae=le.add_sort_field,hae=le.sort,mae=le.status,vae=le.remove,gae=le.toggle_manual_sorting,yae=le.bookmark_doesnt_exist,_ae=le.bookmark_doesnt_exist_copy,bae=le.bookmark_doesnt_exist_cta,xae=le.select_an_item,wae=le.edit,kae=le.edit_item,Cae=le.enabled,Sae=le.partially_enabled,Eae=le.enable_all,Aae=le.disable_all,Tae=le.enabled_dev_tooltip,Lae=le.disable_tfa,Iae=le.admin_disable_tfa_text,Mae=le.tfa_setup,Dae=le.tfa_scan_code,Pae=le.enter_otp_to_disable_tfa,Oae=le.create_account,Rae=le.account_created_successfully,Fae=le.auto_fill,zae=le.corresponding_field,$ae=le.errors,Nae=le.security,Bae=le.value_hashed,jae=le.bookmark_name,Vae=le.create_bookmark,Hae=le.edit_bookmark,Uae=le.edit_personal_bookmark,Wae=le.edit_role_bookmark,qae=le.edit_global_bookmark,Gae=le.cannot_edit_role_bookmarks,Yae=le.cannot_edit_global_bookmarks,Xae=le.bookmarks,Kae=le.presets,Zae=le.unexpected_error,Jae=le.unexpected_error_copy,Qae=le.copy_details,ere=le.no_app_access,tre=le.no_app_access_copy,nre=le.password_reset_sent,ire=le.password_reset_successful,ore=le.back,are=le.filter,rre=le.edit_image,sre=le.editing_image,lre=le.square,cre=le.free,ure=le.flip_horizontal,dre=le.flip_vertical,fre=le.aspect_ratio,pre=le.rotate,hre=le.all_users,mre=le.delete_collection,vre=le.update_collection_success,gre=le.delete_collection_success,yre=le.make_collection_visible,_re=le.make_collection_hidden,bre=le.make_folder_visible,xre=le.make_folder_hidden,wre=le.goto_collection_content,kre=le.start_end_of_count_items,Cre=le.start_end_of_count_filtered_items,Sre=le.one_item,Ere=le.one_filtered_item,Are=le.delete_collection_are_you_sure,Tre=le.delete_folder_are_you_sure,Lre=le.delete_collection_peer_dependencies,Ire=le.collections_shown,Mre=le.visible_collections,Dre=le.hidden_collections,Pre=le.show_hidden_collections,Ore=le.hide_hidden_collections,Rre=le.show_header,Fre=le.unmanaged_collections,zre=le.system_collections,$re=le.placeholder,Nre=le.icon_left,Bre=le.icon_right,jre=le.count_other_revisions,Vre=le.font,Hre=le.sans_serif,Ure=le.serif,Wre=le.monospace,qre=le.divider,Gre=le.color,Yre=le.circle,Xre=le.empty_item,Kre=le.log_in_with,Zre=le.conditional_styles,Jre=le.advanced_settings,Qre=le.advanced_filter,ese=le.delete_advanced_filter,tse=le.change_advanced_filter_operator,nse=le.advanced,ise=le.operators,ose=le.custom_validation_message,ase=le.loading,rse=le.extension_readme_missing,sse=le.drop_to_upload,lse=le.item,cse=le.items,use=le.upload_file,dse=le.upload_file_indeterminate,fse=le.upload_file_success,pse=le.upload_files_indeterminate,hse=le.upload_files_success,mse=le.upload_pending,vse=le.drag_file_here,gse=le.click_to_browse,yse=le.interface_options,_se=le.display_options,bse=le.layout_options,xse=le.rows,wse=le.columns,kse=le.collection_setup,Cse=le.optional_system_fields,Sse=le.value_unique,Ese=le.all_activity,Ase=le.create_item,Tse=le.display_template,Lse=le.language_display_template,Ise=le.translations_display_template,Mse=le.n_items_selected,Dse=le.per_page,Pse=le.all_files,Ose=le.my_files,Rse=le.recent_files,Fse=le.create_folder,zse=le.edit_folder,$se=le.folder_name,Nse=le.folder_key,Bse=le.add_file,jse=le.replace_file,Vse=le.no_results,Hse=le.no_results_copy,Use=le.no_visible_fields,Wse=le.no_visible_fields_copy,qse=le.clear_filters,Gse=le.saves_automatically,Yse=le.role,Xse=le.edit_role,Kse=le.rule,Zse=le.user,Jse=le.no_presets,Qse=le.no_presets_copy,ele=le.no_presets_cta,tle=le.presets_only,nle=le.create,ile=le.on_create,ole=le.on_update,ale=le.read,rle=le.update,sle=le.select_fields,lle=le.format_text,cle=le.format_value,ule=le.abbreviate_value,dle=le.operator,fle=le.bold,ple=le.toggle,hle=le.icon_on,mle=le.icon_off,vle=le.label,gle=le.flows,yle=le.flow,_le=le.select_a_flow,ble=le.run_flow_confirm,xle=le.run_flow_on_current_collection,wle=le.run_flow_on_current,kle=le.run_flow_on_current_edited_confirm,Cle=le.run_flow_on_selected,Sle=le.run_flow,Ele=le.run_flow_success,Ale=le.field_name_placeholder,Tle=le.field_key_placeholder,Lle=le.trigger,Ile=le.trigger_options,Mle=le.view_trigger,Dle=le.create_trigger,Ple=le.trigger_setup,Ole=le.change_trigger,Rle=le.flow_delete_confirm,Fle=le.set_flow_active,zle=le.set_flow_inactive,$le=le.edit_flow,Nle=le.delete_flow,Ble=le.no_other_flows_copy,jle=le.no_flows,Vle=le.no_flows_copy,Hle=le.create_flow,Ule=le.creating_new_flow,Wle=le.updating_flow,qle=le.flow_setup,Gle=le.flow_name,Yle=le.flow_tracking,Xle=le.flow_tracking_all,Kle=le.flow_tracking_activity,Zle=le.flow_tracking_null,Jle=le.start_flow,Qle=le.stop_flow,ece=le.create_operation,tce=le.edit_operation,nce=le.code,ice=le.operation_options,oce=le.operation_name,ace=le.operation_key,rce=le.operation_key_unique_error,sce=le.operation_handle_resolve,lce=le.operation_handle_reject,cce=le.insights,uce=le.dashboard,dce=le.panel,fce=le.panel_options,pce=le.panel_header,hce=le.panel_name_placeholder,mce=le.panel_note_placeholder,vce=le.panel_delete_confirm,gce=le.list_panel_allow_edit,yce=le.dashboard_delete_confirm,_ce=le.edit_dashboard,bce=le.delete_dashboard,xce=le.visible,wce=le.prefix_placeholder,kce=le.suffix_placeholder,Cce=le.decimals_placeholder,Sce=le.no_dashboards,Ece=le.no_dashboards_copy,Ace=le.create_dashboard,Tce=le.dashboard_name,Lce=le.no_data,Ice=le.no_data_in_flow,Mce=le.accountability,Dce=le.payload,Pce=le.details,Oce=le.full_screen,Rce=le.full_text_search,Fce=le.edit_panels,zce=le.center_align,$ce=le.left_align,Nce=le.right_align,Bce=le.fit_to_screen,jce=le.image_url,Vce=le.alt_text,Hce=le.media,Uce=le.quality,Wce=le.width,qce=le.height,Gce=le.transformation_preset_key,Yce=le.source,Xce=le.url_placeholder,Kce=le.display_text,Zce=le.display_text_placeholder,Jce=le.interface_group_text_and_numbers,Qce=le.interface_group_selection,eue=le.interface_group_relational,tue=le.interface_group_presentation,nue=le.interface_group_groups,iue=le.interface_group_other,oue=le.tooltip,aue=le.tooltip_placeholder,rue=le.unlimited,sue=le.open_link_in,lue=le.new_tab,cue=le.current_tab,uue=le.save_image,due=le.save_media,fue=le.wysiwyg_options,pue=le.dropdown,hue=le.choices,mue=le.choices_option_configured_incorrectly,vue=le.deselect,gue=le.deselect_all,yue=le.theme,_ue=le.select_a_theme,bue=le.default_sync_with_project,xue=le.appearance_auto,wue=le.appearance_light,kue=le.appearance_dark,Cue=le.other,Sue=le.adding_user,Eue=le.unknown_user,Aue=le.creating_in,Tue=le.editing_in,Lue=le.viewing_in,Iue=le.creating_unit,Mue=le.editing_unit,Due=le.editing_in_batch,Pue=le.no_options_available,Oue=le.settings_data_model,Rue=le.settings_permissions,Fue=le.settings_project,zue=le.settings_appearance,$ue=le.settings_webhooks,Nue=le.settings_flows,Bue=le.settings_presets,jue=le.settings_translations,Vue=le.one_or_more_options_are_missing,Hue=le.configure_field_key_to_continue,Uue=le.scope,Wue=le.actions,que=le.select,Gue=le.layout,Yue=le.tree_view,Xue=le.changes_are_permanent,Kue=le.preset_name_placeholder,Zue=le.preset_search_placeholder,Jue=le.editing_preset,Que=le.layout_preview,ede=le.layout_setup,le=le.data,tde=le.unsaved_changes,nde=le.unsaved_changes_copy,ide=le.discard_changes,ode=le.discard_all_changes,ade=le.discard_changes_copy,rde=le.show_x_axis,sde=le.show_y_axis,lde=le.keep_editing,cde=le.page_help_collections_overview,ude=le.page_help_collections_collection,dde=le.page_help_collections_item,fde=le.page_help_activity_collection,pde=le.page_help_docs_global,hde=le.page_help_files_collection,mde=le.page_help_files_item,vde=le.page_help_settings_project,gde=le.page_help_settings_appearance,yde=le.page_help_settings_extensions,_de=le.page_help_settings_datamodel_collections,bde=le.page_help_settings_datamodel_fields,xde=le.page_help_settings_roles_collection,wde=le.page_help_settings_roles_item,kde=le.page_help_settings_presets_collection,Cde=le.page_help_settings_presets_item,Sde=le.page_help_settings_webhooks_collection,Ede=le.page_help_settings_webhooks_item,Ade=le.page_help_settings_flows_collection,Tde=le.page_help_settings_flows_item,Lde=le.page_help_settings_translations_collection,Ide=le.page_help_settings_translations_item,Mde=le.page_help_users_collection,Dde=le.page_help_users_item,Pde=le.page_help_insights_overview,Ode=le.page_help_insights_dashboard,Rde=le.page_help_marketplace_account,Fde=le.page_help_marketplace_registry,zde=le.page_help_marketplace_extension,$de=le.activity_feed,Nde=le.add_new,Bde=le.create_new,jde=le.all,Vde=le.none,Hde=le.no_layout_collection_selected_yet,Ude=le.batch_delete_confirm,Wde=le.cancel,qde=le.no_upscale,Gde=le.no_extensions,Yde=le.no_extensions_copy,Xde=le.install_extension,Kde=le.uninstall_locked,Zde=le.uninstall,Jde=le.installed,Qde=le.reinstall,efe=le.open_in_marketplace,tfe=le.source_registry,nfe=le.source_local,ife=le.source_module,ofe=le.collection,afe=le.collections,rfe=le.content,sfe=le.singleton,lfe=le.singleton_label,cfe=le.system_fields_locked,ufe=le.directus_collection,dfe=le.fields,ffe=le.field_options,pfe=le.no_fields_in_collection,hfe=le.no_value,mfe=le.do_nothing,vfe=le.generate_and_save_uuid,gfe=le.save_current_user_id,yfe=le.save_current_user_role,_fe=le.save_current_datetime,bfe=le.always_open,xfe=le.start_open,wfe=le.start_collapsed,kfe=le.block,Cfe=le.inline,Sfe=le.comment,Efe=le.live_preview,Afe=le.shares,Tfe=le.unlimited_usage,Lfe=le.uses_left,Ife=le.no_shares,Mfe=le.new_share,Dfe=le.expired,Pfe=le.upcoming,Ofe=le.share,Rfe=le.share_item,Ffe=le.shared_with_you,zfe=le.shared_enter_passcode,$fe=le.shared_leave_blank_for_passwordless_access,Nfe=le.shared_leave_blank_for_unlimited,Bfe=le.shared_times_remaining,jfe=le.shared_last_remaining,Vfe=le.shared_uses_left,Hfe=le.share_access_page,Ufe=le.share_access_not_found,Wfe=le.share_access_not_found_desc,qfe=le.share_access_not_found_title,Gfe=le.share_copy_link,Yfe=le.share_copy_link_success,Xfe=le.share_copy_link_error,Kfe=le.share_send_link,Zfe=le.relational_triggers,Jfe=le.referential_action_field_label_m2o,Qfe=le.referential_action_field_label_o2m,e1e=le.referential_action_no_action,t1e=le.referential_action_cascade,n1e=le.referential_action_set_null,i1e=le.referential_action_set_default,o1e=le.choose_action,a1e=le.continue_label,r1e=le.continue_as,s1e=le.editing_role,l1e=le.creating_webhook,c1e=le.default_label,u1e=le.delete_label,d1e=le.delete_are_you_sure,f1e=le.delete_field_are_you_sure,p1e=le.description,h1e=le.done,m1e=le.duplicate,v1e=le.limit,g1e=le.email,y1e=le.embed,_1e=le.fallback_icon,b1e=le.field,x1e=le.file,w1e=le.file_library,k1e=le.forgot_password,C1e=le.hidden,S1e=le.hidden_in_group,E1e=le.icon,A1e=le.info,T1e=le.normal,L1e=le.success,I1e=le.warning,M1e=le.danger,D1e=le.colors,P1e=le.junction_collection,O1e=le.latency,R1e=le.login,F1e=le.my_activity,z1e=le.not_authenticated,$1e=le.authenticated,N1e=le.options,B1e=le.otp,j1e=le.password,V1e=le.confirm_password,H1e=le.permissions,U1e=le.relationship,W1e=le.reset,q1e=le.reset_password,G1e=le.revisions,Y1e=le.no_revisions,X1e=le.no_logs,K1e=le.revert,Z1e=le.save,J1e=le.schema,Q1e=le.search,epe=le.select_existing,tpe=le.select_field_type,npe=le.select_interface,ipe=le.select_display,ope=le.settings,ape=le.register,rpe=le.registration_successful_headline,spe=le.registration_successful_note,lpe=le.registration_successful_check_email_note,cpe=le.dont_have_an_account,upe=le.already_have_an_account,dpe=le.sign_up_now,fpe=le.sign_in,ppe=le.sign_out,hpe=le.sign_out_confirm,mpe=le.something_went_wrong,vpe=le.sort_direction,gpe=le.export_location,ype=le.export_started,_pe=le.export_started_copy,bpe=le.sort_asc,xpe=le.sort_desc,wpe=le.disable_sort,kpe=le.template,Cpe=le.require_value_to_be_set,Spe=le.translation,Epe=le.translation_placeholder,Ape=le.value,Tpe=le.view_project,Lpe=le.report_error,Ipe=le.start,Mpe=le.table,Dpe=le.list,Ppe=le.search_filter,Ope=le.enable_search_filter,Rpe=le.item_link,Fpe=le.show_link_to_item,zpe=le.navigate_to_item,$pe=le.undo_removed_item,Npe=le.remove_item,Bpe=le.delete_item,jpe=le.interfaces,Vpe=le.displays,Hpe=le.layouts,Upe=le.horizontal,Wpe=le.vertical,qpe=le.axis,Gpe=le.x_axis,Ype=le.y_axis,Xpe=le.y_axis_function,Kpe=le.show_x_only,Zpe=le.show_y_only,Jpe=le.show_data_label,Qpe=le.both,ehe=le.show_axis_labels,the=le.half_circle,nhe=le.full_circle,ihe=le.stroke_width,ohe=le.rounded_stroke,ahe=le.thin,rhe=le.medium,she=le.broad,lhe=le.show_labels,che=le.show_legend,uhe=le.right,dhe=le.left,fhe=le.donut,phe=le.panels,hhe=le.triggers,mhe=le.a_flow_uuid,vhe=le.any_string_or_json,ghe=le.item_payload_placeholder,yhe=le.operation_variables_note,_he=le.operations,bhe=le.unit,xhe=le.standard,whe=le.scientific,khe=le.engineering,Che=le.compact,She=le.currency,Ehe=le.notation,Ahe=le.style,The=le.fonts,Lhe=le.text_wrap,Ihe=le.center,Mhe=le.justify,Dhe=le.text_align,Phe=le.font_weight,Ohe=le.font_style,Rhe=le.font_size,Fhe=le.minimum_fraction_digits,zhe=le.maximum_fraction_digits,$he=le.show_percentage,Nhe=le.aggregation,Bhe=le.series_grouping,jhe=le.date_precision,Vhe=le.export_dashboard,Hhe=le.duplicate_dashboard,Uhe=le.search_dashboard,Whe=le.search_flow,qhe=le.percent;const Ghe=Object.freeze(Object.defineProperty({__proto__:null,a_flow_uuid:mhe,a_unique_column_name:fne,a_unique_table_name:dne,abbreviate_value:ule,about:TY,account_created_successfully:Rae,accountability:Mce,action:Voe,actions:Wue,active:Poe,activity:Boe,activity_feed:$de,activity_item:joe,activity_log:_oe,add_existing:$ie,add_field:cK,add_field_related:yne,add_file:Bse,add_filter:Qoe,add_link:mee,add_m2m_to_collection:dee,add_m2o_to_collection:cee,add_new:Nde,add_note:hee,add_o2m_to_collection:uee,add_sort_field:pae,adding_user:Sue,admin_description:TZ,admin_disable_tfa_text:Iae,admins_have_all_permissions:jJ,advanced:nse,advanced_filter:Qre,advanced_settings:Jre,aggregate_function:FJ,aggregate_precision:zJ,aggregation:Nhe,alias:hQ,all:jde,all_access:WZ,all_activity:Ese,all_files:Pse,all_items:boe,all_users:hre,allow_duplicates:Hie,allow_multiple:KZ,allow_multiple_to_be_open:ZZ,allow_null_value:XZ,already_have_an_account:upe,alt_text:Vce,always_open:bfe,and:cX,any:xoe,any_string_or_json:vhe,app_access_minimum:$Z,appearance_auto:xue,appearance_dark:kue,appearance_light:wue,application:MY,archive:DZ,archive_all:gte,archive_confirm:PZ,archive_confirm_count:OZ,archived:FY,aspect_ratio:fre,authenticated:$1e,auto_fill:Fae,auto_generate:XQ,auto_increment_big_integer:Mie,auto_increment_integer:Iie,auto_refresh:UQ,automatic:Zoe,avatar:IY,avg:XJ,avg_distinct:KJ,axis:qpe,back:ore,background_color:nie,batch_delete_confirm:Ude,beta:ZX,bigInteger:mQ,block:kfe,bold:fle,bookmark_doesnt_exist:yae,bookmark_doesnt_exist_copy:_ae,bookmark_doesnt_exist_cta:bae,bookmark_name:jae,bookmarks:Xae,boolean:vQ,both:Qpe,bottom:SJ,branch:dK,broad:she,camera:VJ,cancel:Wde,cancel_crop:Fne,cancel_selection:zne,cannot_edit_global_bookmarks:Yae,cannot_edit_role_bookmarks:Gae,card_size:dae,center:Ihe,center_align:zce,change_advanced_filter_operator:tse,change_trigger:Ole,changes_are_permanent:Xue,changes_made:xJ,charset:rae,children:vK,choices:hue,choices_option_configured_incorrectly:mue,choose_a_type:fee,choose_action:o1e,choose_from_library:oie,circle:Yre,clear_changes:fte,clear_filters:qse,clear_items:pte,clear_value:dte,click_here:ZQ,click_to_browse:gse,click_to_manage_translated_fields:eee,code:nce,collapse:Gie,collection:ofe,collection_created:cae,collection_field_not_setup:Ioe,collection_key:xie,collection_names_are_case_sensitive:YY,collection_setup:kse,collections:afe,collections_shown:Ire,color:Gre,colors:D1e,columns:wse,comment:Sfe,comments:Uie,compact:Che,compare_version:rZ,compatibility_not_guaranteed:eK,compatibility_not_guaranteed_copy:tK,compatible_with_your_project:NX,compatible_with_your_project_copy:BX,condition_rules:XY,conditional_styles:Zre,conditions:qY,configure_field_key_to_continue:Hue,confirm_password:V1e,confirm_revert:xte,confirm_revert_body:wte,confirmation_description:Iee,confirmation_dialog:Lee,confirmation_input_fields:Mee,connection_excellent:VK,connection_fair:UK,connection_good:HK,connection_poor:WK,content:rfe,continue_as:r1e,continue_in_advanced_field_creation_mode:WJ,continue_label:a1e,copy:Roe,copy_details:Qae,copy_raw_value:nte,copy_raw_value_fail:ote,copy_raw_value_success:ite,copy_to:Foe,corresponding_field:zae,count:ZJ,count_distinct:JJ,count_other_revisions:jre,create:nle,create_account:Oae,create_bookmark:Vae,create_collection:Coe,create_custom_translation:DK,create_dashboard:Ace,create_field:rQ,create_flow:Hle,create_folder:Fse,create_in_advanced_field_creation_mode:UJ,create_item:Ase,create_new:Bde,create_operation:ece,create_panel:EK,create_preset:SK,create_role:AK,create_translations:HQ,create_trigger:Dle,create_user:TK,create_version:oZ,create_webhook:MK,created:Une,created_by:Eie,created_on:Aie,creating_collection_info:Tie,creating_collection_system:Lie,creating_in:Aue,creating_items:Nie,creating_new_collection:Sie,creating_new_field:sQ,creating_new_flow:Ule,creating_unit:Iue,creating_webhook:l1e,creation_preview:Nte,crop_tool:One,csv:woe,currency:She,current_tab:cue,custom:oK,custom_link:vee,custom_validation_message:ose,danger:M1e,dashboard:uce,dashboard_delete_confirm:yce,dashboard_name:Tce,get data(){return le},dataset_too_large_currently_showing_n_items:fX,date:gQ,dateTime:xQ,date_precision:jhe,date_range:yQ,datetime:bQ,db_only_click_to_configure:gK,decimal:kQ,decimals:Goe,decimals_placeholder:Cce,default:MP,default_label:c1e,default_provider:DY,default_sync_with_project:bue,default_value:gee,delete_advanced_filter:ese,delete_are_you_sure:d1e,delete_bookmark:bZ,delete_bookmark_copy:xZ,delete_collection:mre,delete_collection_are_you_sure:Are,delete_collection_peer_dependencies:Lre,delete_collection_success:gre,delete_comment:kne,delete_dashboard:bce,delete_field:LJ,delete_field_are_you_sure:f1e,delete_flow:Nle,delete_folder:YK,delete_folder_are_you_sure:Tre,delete_global_bookmark:CZ,delete_item:Bpe,delete_label:u1e,delete_on_promote_copy:gZ,delete_panel:IK,delete_personal_bookmark:wZ,delete_role_bookmark:kZ,delete_share:Cne,delete_version:mZ,delete_version_copy:vZ,description:p1e,deselect:vue,deselect_all:gue,details:Pce,determined_by_relationship:pee,dialog:Aee,dimensions:Vne,directus_collection:ufe,disable:iK,disable_all:Aae,disable_sort:wpe,disable_tfa:Lae,disabled:Jie,disabled_editing_value:fQ,discard_all_changes:ode,discard_changes:ide,discard_changes_copy:ade,dismiss:Jee,display:kte,display_label:bne,display_not_found:roe,display_options:_se,display_template:Tse,display_template_not_setup:Loe,display_text:Kce,display_text_placeholder:Zce,displays:Vpe,divider:qre,do_nothing:mfe,documentation:iae,done:h1e,dont_have_an_account:cpe,donut:fhe,download:Zne,download_file:die,download_page_as_csv:Fte,download_page_as_csv_unsupported:zte,downloads:QX,draft:RY,drag_file_here:vse,drag_mode:Dne,drop_to_upload:sse,dropdown:pue,duplicate:m1e,duplicate_dashboard:Hhe,duplicate_field:nX,duplicate_where_to:PJ,duration:aae,edit:wae,edit_bookmark:Hae,edit_collection:hK,edit_custom_translation:PK,edit_dashboard:_ce,edit_field:WY,edit_flow:$le,edit_folder:zse,edit_global_bookmark:qae,edit_image:rre,edit_item:kae,edit_operation:tce,edit_panels:Fce,edit_personal_bookmark:Uae,edit_raw_value:cte,edit_role:Xse,edit_role_bookmark:Wae,edited:xK,edited_by:Gne,editing_image:sre,editing_in:Tue,editing_in_batch:Due,editing_preset:Jue,editing_role:s1e,editing_unit:Mue,email:g1e,email_already_invited:$K,emails:jK,embed:y1e,empty_item:Xre,enable:nK,enable_all:Eae,enable_create_button:Bie,enable_custom_values:pne,enable_search_filter:Ope,enable_select_button:Vie,enabled:Cae,enabled_dev_tooltip:Tae,engineering:khe,enter_a_name:tX,enter_a_placeholder:Bee,enter_a_value:Nee,enter_otp_to_disable_tfa:Pae,enter_password_to_enable_tfa:lK,enter_raw_value:ute,enter_value_to_replace_nulls:JZ,errors:$ae,exclusive:mK,expand:qie,expired:Dfe,export_dashboard:Vhe,export_items:lX,export_location:gpe,export_started:ype,export_started_copy:_pe,exporting_all_items_in_collection:mie,exporting_download_hint:yie,exporting_library_hint:_ie,exporting_library_hint_forced:bie,exporting_limited_items_in_collection:vie,exporting_no_items_to_export:gie,exposure:tQ,extension_bundle:kX,extension_bundles:PX,extension_display:mX,extension_displays:SX,extension_endpoint:xX,extension_endpoints:MX,extension_hook:bX,extension_hooks:IX,extension_interface:hX,extension_interfaces:CX,extension_layout:vX,extension_layouts:EX,extension_missing:OX,extension_module:gX,extension_modules:AX,extension_operation:wX,extension_operations:DX,extension_panel:yX,extension_panels:TX,extension_readme_missing:rse,extension_reload_now:zX,extension_reload_required:RX,extension_reload_required_copy:FX,extension_theme:_X,extension_themes:LX,extensions:$Y,fallback_icon:_1e,field:b1e,field_create_success:MJ,field_file:tJ,field_files:nJ,field_group:lJ,field_in_collection:lQ,field_key:Kee,field_key_placeholder:Tle,field_m2a:oJ,field_m2m:rJ,field_m2o:iJ,field_name:Pee,field_name_placeholder:Ale,field_name_translations:sK,field_o2m:aJ,field_options:ffe,field_permissions:uJ,field_presentation:eJ,field_presets:fJ,field_standard:QZ,field_translations:sJ,field_update_success:DJ,field_validation:dJ,field_width:Joe,fields:dfe,fields_and_layout:IJ,fields_for_role:hJ,fields_group:tee,file:x1e,file_count:uoe,file_details:jne,file_library:w1e,file_moved:lae,fill_template:une,fill_width:rK,filter:are,finish_setup:Zee,fit_to_screen:Bce,flip_horizontal:ure,flip_vertical:dre,float:CQ,flow:yle,flow_delete_confirm:Rle,flow_name:Gle,flow_setup:qle,flow_tracking:Yle,flow_tracking_activity:Kle,flow_tracking_all:Xle,flow_tracking_null:Zle,flows:gle,focal_length:oQ,focal_point_tool:Rne,folder:Yne,folder_key:Nse,folder_name:$se,folders:Xne,font:Vre,font_size:Rhe,font_style:Ohe,font_weight:Phe,fonts:The,foreground_color:tie,foreign_key:Xee,forgot_password:k1e,format:sne,format_text:lle,format_value:cle,free:cre,full_circle:nhe,full_screen:Oce,full_text_search:Rce,full_width:oX,functions:Sne,generate_and_save_uuid:vfe,generated_uuid:Die,geometry:RQ,github:KX,global:BJ,goto_collection_content:wre,group:aX,group_aggregation:$J,group_precision:NJ,half_circle:the,half_width:iX,hash:OQ,height:qce,hidden:C1e,hidden_collections:Dre,hidden_field:uQ,hidden_in_group:S1e,hidden_on_detail:dQ,hide_field:EJ,hide_field_on_detail:AJ,hide_hidden_collections:Ore,homepage:UX,hook:aK,horizontal:Upe,hours:Ane,icon:E1e,icon_left:Nre,icon_off:mle,icon_on:hle,icon_right:Bre,identifier:LY,image_url:jce,import_data_button:ene,import_data_error:ine,import_data_indeterminate:tne,import_data_input_placeholder:Qte,import_data_success:nne,import_export:rne,import_from_url:aie,import_label:Bne,inactive:$oe,inbox:BK,indeterminate:pK,info:A1e,information:Qie,init:dX,inline:Cfe,input:KY,insights:cce,install_extension:Xde,installed:Jde,integer:SQ,interface_group_groups:nue,interface_group_other:iue,interface_group_presentation:tue,interface_group_relational:eue,interface_group_selection:Qce,interface_group_text_and_numbers:Jce,interface_label:_ne,interface_not_found:ioe,interface_options:yse,interfaces:jpe,invalid_item:See,invite:zK,invite_users:FK,ip_address:Hoe,iso:iQ,item:lse,item_count:loe,item_create_success:Wte,item_creation:QY,item_delete_success:Gte,item_link:Rpe,item_payload_placeholder:ghe,item_permissions:cJ,item_revision:eX,item_update_success:qte,items:cse,json:EQ,junction_collection:P1e,junction_field_location:kJ,justify:Mhe,keep:ZK,keep_editing:lde,key:pQ,label:vle,label_export:ane,label_import:one,language:OJ,language_display_template:Lse,language_placeholder:RJ,languages_collection:Jte,last_access:cne,last_page:lne,last_updated_relative:jX,latency:O1e,layout:Gue,layout_options:bse,layout_preview:Que,layout_setup:ede,layouts:Hpe,leaf:fK,leave_comment:Vte,left:dhe,left_align:$ce,left_to_right:Fee,length:jee,limit:v1e,list:Dpe,list_panel_allow_edit:gce,live_preview:Efe,loading:ase,location:GY,log_in_with:Kre,login:R1e,logoutReason:SZ,logs:jY,lower_limit:tae,m2a_relationship:Cee,m2m_relationship:kee,m2o_relationship:xee,main_version:tZ,make_collection_hidden:_re,make_collection_visible:yre,make_folder_hidden:xre,make_folder_visible:bre,manage:QQ,manual_string:Pie,maps:ZY,marketplace:zY,max:eQ,max_value:Koe,maximum_fraction_digits:zhe,media:Hce,medium:rhe,message:LK,method:PY,min:QJ,min_value:Xoe,minimum_fraction_digits:Fhe,minutes:Ene,modal:Tee,modified:Wne,modified_on:uae,modifier:pX,module_bar:BY,modules:NY,monospace:Wre,month:Tne,months:Mne,move:vne,move_to:Ooe,move_to_folder:mne,move_tool:Pne,multiple_files:bee,my_activity:F1e,my_files:Ose,n_downloads:JX,n_files:VX,n_items_selected:Mse,name:wie,navigate_to_item:zpe,nested_files_folders_will_be_moved:VZ,new_collection:lee,new_data_alert:iee,new_field:see,new_share:Mfe,new_tab:lue,next:Dee,no_access:qZ,no_app_access:ere,no_app_access_copy:tre,no_collections:koe,no_collections_copy:Eoe,no_collections_copy_admin:Soe,no_collections_found:nee,no_comments:Wie,no_custom_translations:OK,no_custom_translations_copy:RK,no_dashboards:Sce,no_dashboards_copy:Ece,no_data:Lce,no_data_in_flow:Ice,no_description:LZ,no_extensions:Gde,no_extensions_copy:Yde,no_fields_in_collection:pfe,no_file_selected:uie,no_files_copy:doe,no_flows:jle,no_flows_copy:Vle,no_image_selected:cie,no_items:Xie,no_items_copy:coe,no_layout_collection_selected_yet:Hde,no_logs:X1e,no_notifications:goe,no_notifications_copy:yoe,no_options_available:Pue,no_other_dashboards_copy:zoe,no_other_flows_copy:Ble,no_presets:Jse,no_presets_copy:Qse,no_presets_cta:ele,no_refresh:qQ,no_relational_data:wJ,no_results:Vse,no_results_copy:Hse,no_revisions:Y1e,no_shares:Ife,no_singleton_relations:Toe,no_translations:Ree,no_upscale:qde,no_users_copy:poe,no_value:hfe,no_visible_fields:Use,no_visible_fields_copy:Wse,no_webhooks_copy:voe,none:Vde,normal:T1e,not_allowed:MZ,not_authenticated:z1e,not_available_for_local_downloads:hie,not_available_for_type:VQ,notation:Ehe,note:$ee,notifications:vte,nullable:YZ,o2m_relationship:wee,on_create:ile,on_update:ole,one_filtered_item:Ere,one_item:Sre,one_or_more_options_are_missing:Vue,open:Jne,open_file_in_tab:fie,open_folder:eie,open_in_marketplace:efe,open_in_new_window:Qne,open_link_in:sue,operation_handle_reject:lce,operation_handle_resolve:sce,operation_key:ace,operation_key_unique_error:rce,operation_name:oce,operation_not_found:ooe,operation_options:ice,operation_variables_note:yhe,operations:_he,operator:dle,operators:ise,optional_system_fields:Cse,options:N1e,or:uX,origin:Woe,original:$ne,other:Cue,otp:B1e,outdated_notice:pZ,owner:qne,page_help_activity_collection:fde,page_help_collections_collection:ude,page_help_collections_item:dde,page_help_collections_overview:cde,page_help_docs_global:pde,page_help_files_collection:hde,page_help_files_item:mde,page_help_insights_dashboard:Ode,page_help_insights_overview:Pde,page_help_marketplace_account:Rde,page_help_marketplace_extension:zde,page_help_marketplace_registry:Fde,page_help_settings_appearance:gde,page_help_settings_datamodel_collections:_de,page_help_settings_datamodel_fields:bde,page_help_settings_extensions:yde,page_help_settings_flows_collection:Ade,page_help_settings_flows_item:Tde,page_help_settings_presets_collection:kde,page_help_settings_presets_item:Cde,page_help_settings_project:vde,page_help_settings_roles_collection:xde,page_help_settings_roles_item:wde,page_help_settings_translations_collection:Lde,page_help_settings_translations_item:Ide,page_help_settings_webhooks_collection:Sde,page_help_settings_webhooks_item:Ede,page_help_users_collection:Mde,page_help_users_item:Dde,page_not_found:_te,page_not_found_body:bte,panel:dce,panel_delete_confirm:vce,panel_header:pce,panel_name_placeholder:hce,panel_note_placeholder:mce,panel_options:fce,panels:phe,partially_enabled:Sae,password:j1e,password_reset_sent:nre,password_reset_successful:ire,paste_raw_value:ate,paste_raw_value_fail:ste,paste_raw_value_success:rte,payload:Dce,per_page:Dse,percent:qhe,permissions:H1e,permissions_for_role:pJ,placeholder:$re,popular:rX,post_comment_success:Hte,post_comment_updated:Ute,precision:wQ,precision_scale:Hee,prefix:XK,prefix_placeholder:wce,presentation_and_aliases:yJ,presentation_text_values_cannot_be_reimported:Rte,preset_name_placeholder:Kue,preset_search_placeholder:Zue,presets:Kae,presets_field_warning:gJ,presets_for_role:vJ,presets_only:tle,primary:qK,primary_key:Yee,primary_key_field:kie,private_user:$te,promote_notice:hZ,promote_version:lZ,promote_version_changes:dZ,promote_version_disabled:cZ,promote_version_drawer_title:uZ,promote_version_preview:fZ,public_description:AZ,public_label:EZ,published:OY,published_relative:$X,quality:Uce,raw_editor_placeholder:ete,raw_value:tte,reached_maximum_number_of_extensions:IZ,read:ale,readonly:Uee,recent:sX,recent_files:Rse,recommended_defaults:NZ,referential_action_cascade:t1e,referential_action_field_label_m2o:Jfe,referential_action_field_label_o2m:Qfe,referential_action_no_action:e1e,referential_action_set_default:i1e,referential_action_set_null:n1e,refresh_interval:WQ,refresh_interval_minutes:YQ,refresh_interval_seconds:GQ,register:ape,registration_successful_check_email_note:lpe,registration_successful_headline:rpe,registration_successful_note:spe,reinstall:Qde,related_collection:Xte,related_collections:Kte,relational_triggers:Zfe,relationship:U1e,relationship_not_setup:Aoe,reload_page:qX,reload_required:GX,remove:vae,remove_item:Npe,rename_folder:GK,rename_version:aZ,replace_file:jse,replace_from_device:rie,replace_from_library:sie,replace_from_url:lie,report_an_issue:YX,report_bug:eoe,report_error:Lpe,repository:WX,request_body:noe,request_feature:toe,require_confirmation:Eee,require_value_to_be_set:Cpe,required:wK,required_for_app_access:kK,requires_value:CK,reset:W1e,reset_bookmark:yZ,reset_display:soe,reset_interface:aoe,reset_page_preferences:cQ,reset_password:q1e,reset_system_permissions_copy:FZ,reset_system_permissions_to:RZ,reset_to_default:hte,reset_width:HY,revert:K1e,revision_delta_by:Ote,revision_delta_created:Ete,revision_delta_created_externally:Ate,revision_delta_deleted:Lte,revision_delta_other:Pte,revision_delta_reverted:Mte,revision_delta_update_message:Dte,revision_delta_updated:Tte,revision_delta_version_saved:Ite,revision_post_create:_J,revision_post_update:bJ,revision_preview:Bte,revisions:G1e,right:uhe,right_align:Nce,right_to_left:zee,role:Yse,role_name:uK,rotate:pre,rounded_stroke:ohe,rows:xse,rule:Kse,run_flow:Sle,run_flow_confirm:ble,run_flow_on_current:wle,run_flow_on_current_collection:xle,run_flow_on_current_edited_confirm:kle,run_flow_on_selected:Cle,run_flow_success:Ele,sans_serif:Hre,save:Z1e,save_and_create_new:Oie,save_and_quit:Fie,save_and_stay:Rie,save_as_copy:zie,save_current_datetime:_fe,save_current_user_id:gfe,save_current_user_role:yfe,save_image:uue,save_media:due,save_version:sZ,saves_automatically:Gse,schema:J1e,schema_setup_key:aQ,scientific:whe,scope:Uue,search:Q1e,search_collection:oee,search_dashboard:Uhe,search_extensions:Zie,search_field:ree,search_filter:Ppe,search_flow:Whe,search_items:Kie,search_role:aee,second:sae,security:Nae,select:que,select_a_collection:Moe,select_a_field:Doe,select_a_flow:_le,select_a_theme:_ue,select_all:Ine,select_an_item:xae,select_display:ipe,select_existing:epe,select_field_type:tpe,select_fields:sle,select_interface:npe,select_item:Yie,selecting_items:jie,series_grouping:Bhe,serif:Ure,set_flow_active:Fle,set_flow_inactive:zle,settings:ope,settings_appearance:zue,settings_data_model:Oue,settings_flows:Nue,settings_permissions:Rue,settings_presets:Bue,settings_project:Fue,settings_translations:jue,settings_update_success:Cte,settings_webhooks:$ue,share:Ofe,share_access_not_found:Ufe,share_access_not_found_desc:Wfe,share_access_not_found_title:qfe,share_access_page:Hfe,share_copy_link:Gfe,share_copy_link_error:Xfe,share_copy_link_success:Yfe,share_item:Rfe,share_send_link:Kfe,shared_enter_passcode:zfe,shared_last_remaining:jfe,shared_leave_blank_for_passwordless_access:$fe,shared_leave_blank_for_unlimited:Nfe,shared_times_remaining:Bfe,shared_uses_left:Vfe,shared_with_you:Ffe,shares:Afe,show_active_items:yK,show_all_activity:yte,show_all_items:bK,show_archived_items:_K,show_axis_labels:ehe,show_data_label:Jpe,show_field_on_detail:TJ,show_header:Rre,show_hidden_collections:Pre,show_labels:lhe,show_legend:che,show_link_to_item:Fpe,show_percentage:$he,show_x_axis:rde,show_x_only:Kpe,show_y_axis:sde,show_y_only:Zpe,show_zero:HJ,shutter:nQ,sidebar:oae,sign_in:fpe,sign_out:ppe,sign_out_confirm:hpe,sign_up_now:dpe,single_file:_ee,singleton:sfe,singleton_label:lfe,size:Hne,soft_length:Vee,something_went_wrong:mpe,sort:hae,sort_asc:bpe,sort_desc:xpe,sort_direction:vpe,sort_field:fae,source:Yce,source_local:nfe,source_module:ife,source_registry:tfe,square:lre,standard:xhe,standard_field:yee,start:Ipe,start_collapsed:wfe,start_end_of_count_filtered_items:Cre,start_end_of_count_items:kre,start_export:pie,start_flow:Jle,start_open:xfe,status:mae,stop_flow:Qle,string:LQ,stroke_width:ihe,style:Ahe,subject:NK,submit:hne,success:L1e,suffix:KK,suffix_placeholder:kce,sum:GJ,sum_distinct:YJ,switch_user:JY,switch_version:nZ,switch_version_copy:iZ,system:gne,system_collections:zre,system_fields_locked:cfe,table:Mpe,template:kpe,text:IQ,text_align:Dhe,text_wrap:Lhe,tfa_scan_code:Dae,tfa_setup:Mae,the_following_are_minimum_permissions:zZ,theme:yue,theme_auto:FQ,theme_dark:$Q,theme_directus_colormatch:jQ,theme_directus_default:NQ,theme_directus_minimal:BQ,theme_light:zQ,thin:ahe,this_collection:Yte,this_will_auto_setup_fields_relations:KQ,tile_size:UY,time:MQ,timestamp:DQ,title:Ste,to_manually_setup_translations:JQ,today:xne,toggle:ple,toggle_manual_sorting:gae,toggle_raw_editor:Qee,tooltip:oue,tooltip_placeholder:aue,top:CJ,transformation_preset_key:Gce,translation:Spe,translation_key_placeholder:_Q,translation_placeholder:Epe,translations:Oee,translations_collection:Zte,translations_display_template:Ise,tree_view:Yue,trigger:Lle,trigger_options:Ile,trigger_setup:Ple,triggers:hhe,type:Cie,unarchive:BZ,unarchive_confirm:jZ,undo_changes:mte,undo_removed_item:$pe,unexpected_error:Zae,unexpected_error_copy:Jae,uninstall:Zde,uninstall_locked:Kde,unique:Wee,unit:bhe,unknown:VY,unknown_user:Eue,unlimited:rue,unlimited_usage:Tfe,unmanaged_collections:Fre,unsaved_changes:tde,unsaved_changes_copy:nde,upcoming:Pfe,update:rle,update_bookmark:_Z,update_collection_success:vre,updated_by:Gee,updated_on:qee,updates_made:jte,updating_flow:Wle,upload_file:use,upload_file_indeterminate:dse,upload_file_success:fse,upload_files_indeterminate:pse,upload_files_success:hse,upload_from_device:iie,upload_pending:mse,upper_limit:eae,url:Nne,url_placeholder:Xce,use_custom:GZ,user:Zse,user_agent:Uoe,user_count:foe,user_directory:nae,users:Noe,uses_left:Lfe,uuid:PQ,validation:qJ,validationError:UZ,validation_errors_notice:HZ,validation_for_role:mJ,value:Ape,value_decimals:Yoe,value_hashed:Bae,value_unique:Sse,verified:HX,version:JK,version_key:QK,version_name:eZ,vertical:Wpe,view_project:Tpe,view_raw_value:lte,view_trigger:Mle,viewing_in:Lue,visible:xce,visible_collections:Mre,warning:I1e,webhooks:qoe,webhooks_count:hoe,webhooks_deprecation_notice:moe,website:XX,width:Wce,wysiwyg_options:fue,x_axis:Gpe,xml:AQ,y_axis:Ype,y_axis_function:Xpe,yaml:TQ,year:Lne,yesterday:wne,zoom:Kne},Symbol.toStringTag,{value:"Module"})),$o=BU({legacy:!1,locale:"en-US",fallbackLocale:"en-US",messages:{"en-US":MP},silentTranslationWarn:!0,datetimeFormats:EY,numberFormats:AY}),mA=["en-US"];function lm(n){var r,a,s,l,d;const e=$o.global.t("unexpected_error");let t=n;if(typeof n=="object"&&(t=(d=(l=(s=(a=(r=n==null?void 0:n.response)==null?void 0:r.data)==null?void 0:a.errors)==null?void 0:s[0])==null?void 0:l.extensions)==null?void 0:d.code),!n||!t)return e;const i=`errors.${t}`;return $o.global.te(i)===!1?e:$o.global.t(i)}function u4(n,e=!1){const t=e?"@$|":"{}@$|";return n.replace(new RegExp(`([${t}])`,"g"),"{'$1'}")}function Gu(n){return n?n.first_name&&n.last_name?`${n.first_name} ${n.last_name}`:n.first_name?n.first_name:n.email?n.email:$o.global.t("unknown_user"):$o.global.t("unknown_user")}const Sr=lf({id:"userStore",state:()=>({currentUser:null,loading:!1,error:null}),getters:{fullName(){return this.currentUser===null||"share"in this.currentUser?null:Gu(this.currentUser)},isAdmin(){var n,e;return((e=(n=this.currentUser)==null?void 0:n.role)==null?void 0:e.admin_access)===!0||!1}},actions:{async hydrate(){this.loading=!0;try{const n=["*","avatar.id","role.admin_access","role.app_access","role.id","role.enforce_tfa"],{data:e}=await Zn.get("/users/me",{params:{fields:n}});this.currentUser=e.data}catch(n){this.error=n}finally{this.loading=!1}},async dehydrate(){this.$reset()},async hydrateAdditionalFields(n){try{const{data:e}=await Zn.get("/users/me",{params:{fields:n}});this.currentUser=st.merge({},this.currentUser,e.data)}catch{}},async trackPage(n){n.path.endsWith("/preview")||(await Zn.patch("/users/me/track/page",{last_page:n.fullPath},{measureLatency:!0}),this.currentUser&&!("share"in this.currentUser)&&(this.currentUser.last_page=n.fullPath))}}}),G3=lf({id:"notificationsStore",state:()=>({dialogs:[],queue:[],previous:[],notifications:[],unread:0}),actions:{async hydrate(){const n=Sr();n.currentUser&&!("share"in n.currentUser)&&await this.getUnreadCount()},async getUnreadCount(){const n=Sr();if(!n.currentUser||!("id"in n.currentUser))return;const e=await Zn.get("/notifications",{params:{filter:{_and:[{recipient:{_eq:n.currentUser.id}},{status:{_eq:"inbox"}}]},aggregate:{count:"id"}}});this.unread=e.data.data[0].count.id},setUnreadCount(n){this.unread=n<0?0:n},add(n){const e=hv(),t=Date.now();return n.dialog===!0?(n.persist=!0,this.dialogs=[...this.dialogs,{...n,id:e,timestamp:t}]):this.queue=[...this.queue,{...n,id:e,timestamp:t}],n.persist!==!0&&setTimeout(()=>{this.remove(e)},3e3),e},hide(n){const t=[...this.queue,...this.dialogs].find(i=>i.id===n);t&&(t.dialog===!0?this.dialogs=this.dialogs.filter(i=>i.id!==n):this.queue=this.queue.filter(i=>i.id!==n),this.previous=[...this.previous,t])},remove(n){const t=[...this.queue,...this.dialogs].find(i=>i.id===n);t&&(t.dialog===!0?this.dialogs=this.dialogs.filter(i=>i.id!==n):this.queue=this.queue.filter(i=>i.id!==n))},update(n,e){this.queue=this.queue.map(t),this.dialogs=this.dialogs.map(t),this.previous=this.queue.map(t);function t(i){return i.id===n?{...i,...e}:i}}},getters:{lastFour(){const n=[...this.queue,...this.previous.filter(i=>i.dialog!==!0)],t=st.reverse(st.sortBy(n,["timestamp"])).slice(0,4);return st.reverse(t)}}});let o9;function xc(n){o9||(o9=G3()),o9.add(n)}let a9;function Xi(n){var t,i,o,r,a,s;a9||(a9=G3());const e=((a=(r=(o=(i=(t=n.response)==null?void 0:t.data)==null?void 0:i.errors)==null?void 0:o[0])==null?void 0:r.extensions)==null?void 0:a.code)||((s=n==null?void 0:n.extensions)==null?void 0:s.code)||"UNKNOWN";console.warn(n),a9.add({title:$o.global.t(`errors.${e}`),type:"error",code:e,dialog:!0,error:n})}function Yhe(n){return n.replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1_$2").toLowerCase()}function Xhe(n){return n.charAt(0).toUpperCase()+n.substring(1)}var Khe=["2D","3D","4WD","A2O","AI","API","BIOS","CC","CCTV","CCV","CD","CD-ROM","CIA","CMS","COBOL","CSS","CSV","CV","DB","DIY","DNA","DVD","E3","EIN","ESPN","FAQ","FAQs","FBI","FORTRAN","FPS","FTP","HTML","HTTP","HTTPS","ID","IP","ISO","JS","JSON","LASER","M2A","M2M","M2MM","M2O","MMORPG","NAFTA","NASA","NDA","O2A","O2M","PDF","PHP","POP","RAM","RNGR","ROM","RPG","RTFM","RTS","SCUBA","SDK","SITCOM","SKU","SMTP","SQL","SSL","SSN","SWAT","TBS","TLS","TNA","TS","TTL","TV","UI","URL","USB","UWP","VIP","W3C","WWE","WWF","WWW","WYSIWYG"],Zhe=["a","an","the"],Jhe=["and","that","but","or","as","if","when","than","because","while","where","after","so","though","since","until","whether","before","although","nor","like","once","unless","now","except"],Qhe=["about","above","across","after","against","along","among","around","at","because of","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","despite","down","during","except","excepting","for","from","in","in front of","inside","in spite of","instead of","into","like","near","of","off","on","onto","out","outside","over","past","regarding","since","through","throughout","to","toward","under","underneath","until","up","upon","up to","with","within","without","with regard to","with respect to"],eme=["2FA","4K","5K","8K","AGI","BI","ChatGPT","CTA","DateTime","FMS","GitHub","GPT","HD","IBMid","IDs","iMac","IMAX","iOS","iPad","iPhone","iPod","LDAP","LinkedIn","LLM","macOS","McDonalds","ML","MySQL","NLG","NLP","NLU","OpenAI","PDFs","PIM","PEFT","pH","PostgreSQL","SEO","TTS","UHD","UUID","XSS","YouTube"];function tme(n,e,t){const i=n.toLowerCase(),o=n.toUpperCase();for(const r of eme)if(r.toLowerCase()===i)return r;return Khe.includes(o)?o:e===0||e===t.length-1||n.length>=4?n:Qhe.includes(i)||Jhe.includes(i)||Zhe.includes(i)?i:n}function nme(n,e){return`${n} ${e}`}function ime(n,e=new RegExp("\\s|-|_","g")){return Yhe(n).split(e).map(Xhe).map(tme).reduce(nme)}var su=ime;function t2(n){let e=n;return typeof n=="string"&&n.startsWith("$t:")&&(e=$o.global.t(n.replace("$t:",""))),e}function Nc(n){if(typeof n=="string")return n.replaceAll(/(\$t:[a-zA-Z0-9.-]*)/gm,e=>t2(e));{const e=st.cloneDeep(n);return Object.entries(e).forEach(([t,i])=>{i&&typeof i=="object"&&(e[t]=Nc(i)),i&&typeof i=="string"&&(e[t]=t2(i))}),e}}const ome={collection:"directus_files",field:"$thumbnail",schema:null,name:"$thumbnail",type:"integer",meta:{id:-1,collection:"directus_files",field:"$thumbnail",sort:null,special:null,interface:null,options:null,display:"file",display_options:null,hidden:!1,translations:null,readonly:!0,width:"full",group:null,note:null,required:!1,conditions:null,validation:null,validation_message:null}};let vA;const xo=lf("fieldsStore",()=>{const n=Pe([]);return{fields:n,hydrate:e,dehydrate:t,parseField:i,translateFields:o,upsertField:r,createField:a,updateField:s,updateFields:l,deleteField:d,getPrimaryKeyFieldForCollection:f,getFieldsForCollection:g,getFieldsForCollectionAlphabetical:v,getFieldsForCollectionSorted:b,getField:x,getFieldGroupChildren:k};async function e(O){const D=(await Zn.get("/fields")).data.data;n.value=[...D.map(i),ome],(O==null?void 0:O.skipTranslation)!==!0&&o()}async function t(){n.value=[]}function i(O){var I;let w=su(O.field);const D=O.meta&&!st.isNil(O.meta.translations)&&Array.isArray(O.meta.translations)?O.meta.translations.map($=>$.language):[];for(const $ of $o.global.availableLocales)$o.global.te(`fields.${O.collection}.${O.field}`,$)&&!D.includes($)&&!((I=O.meta)!=null&&I.system)&&$o.global.mergeLocaleMessage($,{fields:{[O.collection]:{[O.field]:void 0}}});if(O.meta&&Array.isArray(O.meta.translations))for(const{language:$,translation:B}of O.meta.translations)$o.global.mergeLocaleMessage($,{...B?{fields:{[O.collection]:{[O.field]:u4(B)}}}:{}});return $o.global.te(`fields.${O.collection}.${O.field}`)&&(w=$o.global.t(`fields.${O.collection}.${O.field}`)),{...O,name:w}}function o(){n.value=n.value.map(O=>{var w,D,I,$;return $o.global.te(`fields.${O.collection}.${O.field}`)&&(O.name=$o.global.t(`fields.${O.collection}.${O.field}`)),(w=O.meta)!=null&&w.note&&(O.meta.note=t2(O.meta.note)),(D=O.meta)!=null&&D.options&&(O.meta.options=Nc(O.meta.options)),(I=O.meta)!=null&&I.display_options&&(O.meta.display_options=Nc(O.meta.display_options)),($=O.meta)!=null&&$.validation_message&&(O.meta.validation_message=t2(O.meta.validation_message)),O})}async function r(O,w,D){const I=x(O,w),$=st.omit(D,["name"]);return I?st.isEqual(D,I)?void 0:await s(O,w,$):await a(O,$)}async function a(O,w){const D=[...n.value];try{const I=await Zn.post(`/fields/${O}`,w),$=i(I.data.data);return n.value=[...n.value,$],$}catch(I){n.value=D,Xi(I)}}async function s(O,w,D){const I=[...n.value];n.value=n.value.map($=>$.collection===O&&$.field===w?st.merge({},$,D):$);try{const $=await Zn.patch(`/fields/${O}/${w}`,D);n.value=n.value.map(B=>B.collection===O&&B.field===w?i($.data.data):B)}catch($){n.value=I,Xi($)}}async function l(O,w){const D=hv(),I=[...n.value];vA=D,n.value=n.value.map($=>{if($.collection===O){const B=w.find(X=>X.field===$.field);if(B)return st.merge({},$,B)}return $});try{const $=await Zn.patch(`/fields/${O}`,w);vA===D&&(n.value=n.value.map(B=>{if(B.collection===O){const X=$.data.data.find(Y=>Y.field===B.field);if(X)return i(X)}return B}),o())}catch($){n.value=I,Xi($)}}async function d(O,w){const D=Ts(),I=gr(),$=[...n.value],B=[...D.relations];n.value=n.value.filter(X=>!(X.field===w&&X.collection===O)),D.relations=D.relations.filter(X=>{var Y;return!(X.collection===O&&X.field===w||X.related_collection===O&&((Y=X.meta)==null?void 0:Y.one_field)===w)});try{await Zn.delete(`/fields/${O}/${w}`),await I.hydrate()}catch(X){n.value=$,D.relations=B,Xi(X)}}function f(O){return n.value.find(D=>{var I;return D.collection===O&&((I=D.schema)==null?void 0:I.is_primary_key)===!0})??null}function g(O){return st.orderBy(n.value.filter(w=>w.collection===O),[w=>{var D;return((D=w.meta)==null?void 0:D.system)===!0},w=>{var D,I;return(D=w.meta)!=null&&D.sort?Number((I=w.meta)==null?void 0:I.sort):null}],["desc","asc"])}function v(O){return g(O).sort((w,D)=>w.field<D.field?-1:(w.field>D.field,1))}function b(O){const w=st.orderBy(n.value.filter(I=>I.collection===O),"meta.sort"),D=w.filter(I=>{var $;return!(($=I.meta)!=null&&$.group)});for(const[I,$]of D.entries()){const B=w.filter(X=>{var Y;return((Y=X.meta)==null?void 0:Y.group)===$.field});B.length&&D.splice(I+1,0,...st.orderBy(B,"meta.sort"))}return D}function x(O,w){return w.includes(".")?S(O,w)||null:n.value.find(D=>D.collection===O&&D.field===w)||null}function k(O,w){return n.value.filter(D=>{var I;return D.collection===O&&((I=D.meta)==null?void 0:I.group)===w})||null}function S(O,w){const D=Ts(),[I,...$]=w.split(".");if(I.includes(":")){const[ue,ce]=I.split(":");return x(ce,$.join("."))}const B=D.getRelationsForField(O,I),X=B==null?void 0:B.find(ue=>{var ce;return ue.field===I||((ce=ue.meta)==null?void 0:ce.one_field)===I});if(X===void 0)return!1;const Y=X.field===I?X.related_collection:X.collection;if(Y===null)return!1;const Q=$.join(".");return x(Y,Q)}}),Ts=lf({id:"relationsStore",state:()=>({relations:[]}),actions:{async hydrate(){const n=await Zn.get("/relations");this.relations=n.data.data},async dehydrate(){this.$reset()},getRelationsForCollection(n){return this.relations.filter(e=>e.collection===n||e.related_collection===n)},async upsertRelation(n,e,t){const i=this.getRelationForField(n,e);try{if(i){if(st.isEqual(i,t))return;const o=await Zn.patch(`/relations/${n}/${e}`,t);this.relations=this.relations.map(r=>r.collection===n&&r.field===e?o.data.data:r)}else{const o=await Zn.post("/relations",t);this.relations=[...this.relations,o.data.data]}}catch(o){Xi(o)}},getRelationsForField(n,e){var r;if(!xo().getField(n,e))return[];const o=this.getRelationsForCollection(n).filter(a=>{var s;return a.collection===n&&a.field===e||a.related_collection===n&&((s=a.meta)==null?void 0:s.one_field)===e});if(o.length>0){const a=o[0];if(((r=a.meta)==null?void 0:r.junction_field)!==null){const l=this.relations.find(d=>{var f;return d.collection===a.collection&&d.field===((f=a.meta)==null?void 0:f.junction_field)});l&&o.push(l)}}return o},getRelationForField(n,e){return xo().getField(n,e)&&this.getRelationsForCollection(n).filter(r=>{var a;return r.collection===n&&r.field===e||r.related_collection===n&&((a=r.meta)==null?void 0:a.one_field)===e}).find(r=>r.collection===n&&r.field===e)||null},getRelationTypes(n,e){var a;if(!e.includes("."))return[];const t=e.split("."),i=t[0].includes(":")?t[0].split(":")[0]:t[0],o=this.getRelationsForField(n,i).find(s=>s.collection===n||s.related_collection===n);if(!o)return[];switch(hb({collection:n,field:i,relation:o})){case"o2m":return["o2m",...this.getRelationTypes(o.collection,t.slice(1).join("."))];case"m2o":return o.related_collection?["m2o",...this.getRelationTypes(o.related_collection,t.slice(1).join("."))]:[];case"m2a":return(a=o.meta)!=null&&a.one_allowed_collections?["m2a",...this.getRelationTypes(t[0].split(":")[1],t.slice(1).join("."))]:["m2a"]}return[]}}}),gr=lf("collectionsStore",()=>{const n=Pe([]),e=we(()=>n.value.filter(({collection:b})=>oc(b)===!1).filter(b=>{var x;return b.meta&&((x=b.meta)==null?void 0:x.hidden)!==!0})),t=we(()=>n.value.filter(({collection:b})=>oc(b)===!1)),i=we(()=>t.value.filter(b=>b.schema)),o=we(()=>st.orderBy(n.value.filter(b=>oc(b.collection)),"collection").filter(b=>rq.includes(b.collection)===!1));return{collections:n,visibleCollections:e,allCollections:t,databaseCollections:i,crudSafeSystemCollections:o,hydrate:r,dehydrate:a,prepareCollectionForApp:s,translateCollections:l,upsertCollection:d,updateCollection:f,deleteCollection:g,getCollection:v};async function r(){const x=(await Zn.get("/collections")).data.data;n.value=x.map(s)}async function a(){n.value=[]}function s(b){var D,I;const x=((D=b.meta)==null?void 0:D.icon)||"database",k=(I=b.meta)==null?void 0:I.color;let S=su(b.collection);const O=cU(b),w=b.meta&&!st.isNil(b.meta.translations)&&Array.isArray(b.meta.translations)?b.meta.translations.map($=>$.language):[];for(const $ of $o.global.availableLocales)$o.global.te(`collection_names.${b.collection}`,$)&&!w.includes($)&&$o.global.mergeLocaleMessage($,{collection_names:{[b.collection]:void 0}});if(b.meta&&Array.isArray(b.meta.translations))for(const{language:$,translation:B,singular:X,plural:Y}of b.meta.translations)$o.global.mergeLocaleMessage($,{...B?{collection_names:{[b.collection]:u4(B)}}:{},...X?{collection_names_singular:{[b.collection]:u4(X)}}:{},...Y?{collection_names_plural:{[b.collection]:u4(Y)}}:{}});return $o.global.te(`collection_names.${b.collection}`)&&(S=$o.global.t(`collection_names.${b.collection}`)),{...b,name:S,type:O,icon:x,color:k}}function l(){n.value=n.value.map(b=>($o.global.te(`collection_names.${b.collection}`)&&(b.name=$o.global.t(`collection_names.${b.collection}`)),b))}async function d(b,x){const k=v(b),S=st.omit(x,["name","type","icon","color"]);try{if(k){if(st.isEqual(k,x))return;const O=await Zn.patch(`/collections/${b}`,S);n.value=n.value.map(w=>w.collection===b?s(O.data.data):w)}else{const O=await Zn.post("/collections",S);n.value=[...n.value,s(O.data.data)]}}catch(O){Xi(O)}}async function f(b,x){try{await Zn.patch(`/collections/${b}`,x),await r(),xc({title:$o.global.t("update_collection_success")})}catch(k){Xi(k)}}async function g(b){const x=Ts();try{await Zn.delete(`/collections/${b}`),await Promise.all([r(),x.hydrate()]),xc({title:$o.global.t("delete_collection_success")})}catch(k){Xi(k)}}function v(b){return n.value.find(x=>x.collection===b)||null}}),ame=jd({id:"collection",name:"$t:displays.collection.collection",description:"$t:displays.collection.description",types:["string"],icon:"label",component:SY,handler:n=>{var t;return((t=gr().getCollection(n))==null?void 0:t.name)??n},options:[{field:"icon",name:"$t:icon",type:"boolean",meta:{interface:"boolean",options:{label:"$t:displays.collection.icon_label"}},schema:{default_value:!1}}]});function _C(n){return/^#(([a-f\d]{3,4}))$/i.test(n)||/^#(([a-f\d]{2}){3,4})$/i.test(n)}var DP={exports:{}},PP={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},OP={exports:{}},rme=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")},sme=rme,lme=Array.prototype.concat,cme=Array.prototype.slice,gA=OP.exports=function(e){for(var t=[],i=0,o=e.length;i<o;i++){var r=e[i];sme(r)?t=lme.call(t,cme.call(r)):t.push(r)}return t};gA.wrap=function(n){return function(){return n(gA(arguments))}};var ume=OP.exports,d4=PP,g_=ume,RP=Object.hasOwnProperty,FP=Object.create(null);for(var r9 in d4)RP.call(d4,r9)&&(FP[d4[r9]]=r9);var np=DP.exports={to:{},get:{}};np.get=function(n){var e=n.substring(0,3).toLowerCase(),t,i;switch(e){case"hsl":t=np.get.hsl(n),i="hsl";break;case"hwb":t=np.get.hwb(n),i="hwb";break;default:t=np.get.rgb(n),i="rgb";break}return t?{model:i,value:t}:null};np.get.rgb=function(n){if(!n)return null;var e=/^#([a-f0-9]{3,4})$/i,t=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,i=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,o=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,r=/^(\w+)$/,a=[0,0,0,1],s,l,d;if(s=n.match(t)){for(d=s[2],s=s[1],l=0;l<3;l++){var f=l*2;a[l]=parseInt(s.slice(f,f+2),16)}d&&(a[3]=parseInt(d,16)/255)}else if(s=n.match(e)){for(s=s[1],d=s[3],l=0;l<3;l++)a[l]=parseInt(s[l]+s[l],16);d&&(a[3]=parseInt(d+d,16)/255)}else if(s=n.match(i)){for(l=0;l<3;l++)a[l]=parseInt(s[l+1],0);s[4]&&(s[5]?a[3]=parseFloat(s[4])*.01:a[3]=parseFloat(s[4]))}else if(s=n.match(o)){for(l=0;l<3;l++)a[l]=Math.round(parseFloat(s[l+1])*2.55);s[4]&&(s[5]?a[3]=parseFloat(s[4])*.01:a[3]=parseFloat(s[4]))}else return(s=n.match(r))?s[1]==="transparent"?[0,0,0,0]:RP.call(d4,s[1])?(a=d4[s[1]],a[3]=1,a):null:null;for(l=0;l<3;l++)a[l]=Q2(a[l],0,255);return a[3]=Q2(a[3],0,1),a};np.get.hsl=function(n){if(!n)return null;var e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,t=n.match(e);if(t){var i=parseFloat(t[4]),o=(parseFloat(t[1])%360+360)%360,r=Q2(parseFloat(t[2]),0,100),a=Q2(parseFloat(t[3]),0,100),s=Q2(isNaN(i)?1:i,0,1);return[o,r,a,s]}return null};np.get.hwb=function(n){if(!n)return null;var e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,t=n.match(e);if(t){var i=parseFloat(t[4]),o=(parseFloat(t[1])%360+360)%360,r=Q2(parseFloat(t[2]),0,100),a=Q2(parseFloat(t[3]),0,100),s=Q2(isNaN(i)?1:i,0,1);return[o,r,a,s]}return null};np.to.hex=function(){var n=g_(arguments);return"#"+M5(n[0])+M5(n[1])+M5(n[2])+(n[3]<1?M5(Math.round(n[3]*255)):"")};np.to.rgb=function(){var n=g_(arguments);return n.length<4||n[3]===1?"rgb("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+")":"rgba("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+", "+n[3]+")"};np.to.rgb.percent=function(){var n=g_(arguments),e=Math.round(n[0]/255*100),t=Math.round(n[1]/255*100),i=Math.round(n[2]/255*100);return n.length<4||n[3]===1?"rgb("+e+"%, "+t+"%, "+i+"%)":"rgba("+e+"%, "+t+"%, "+i+"%, "+n[3]+")"};np.to.hsl=function(){var n=g_(arguments);return n.length<4||n[3]===1?"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)":"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+n[3]+")"};np.to.hwb=function(){var n=g_(arguments),e="";return n.length>=4&&n[3]!==1&&(e=", "+n[3]),"hwb("+n[0]+", "+n[1]+"%, "+n[2]+"%"+e+")"};np.to.keyword=function(n){return FP[n.slice(0,3)]};function Q2(n,e,t){return Math.min(Math.max(e,n),t)}function M5(n){var e=Math.round(n).toString(16).toUpperCase();return e.length<2?"0"+e:e}var dme=DP.exports;const O4=PP,zP={};for(const n of Object.keys(O4))zP[O4[n]]=n;const la={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var $P=la;for(const n of Object.keys(la)){if(!("channels"in la[n]))throw new Error("missing channels property: "+n);if(!("labels"in la[n]))throw new Error("missing channel labels property: "+n);if(la[n].labels.length!==la[n].channels)throw new Error("channel and label counts mismatch: "+n);const{channels:e,labels:t}=la[n];delete la[n].channels,delete la[n].labels,Object.defineProperty(la[n],"channels",{value:e}),Object.defineProperty(la[n],"labels",{value:t})}la.rgb.hsl=function(n){const e=n[0]/255,t=n[1]/255,i=n[2]/255,o=Math.min(e,t,i),r=Math.max(e,t,i),a=r-o;let s,l;r===o?s=0:e===r?s=(t-i)/a:t===r?s=2+(i-e)/a:i===r&&(s=4+(e-t)/a),s=Math.min(s*60,360),s<0&&(s+=360);const d=(o+r)/2;return r===o?l=0:d<=.5?l=a/(r+o):l=a/(2-r-o),[s,l*100,d*100]};la.rgb.hsv=function(n){let e,t,i,o,r;const a=n[0]/255,s=n[1]/255,l=n[2]/255,d=Math.max(a,s,l),f=d-Math.min(a,s,l),g=function(v){return(d-v)/6/f+1/2};return f===0?(o=0,r=0):(r=f/d,e=g(a),t=g(s),i=g(l),a===d?o=i-t:s===d?o=1/3+e-i:l===d&&(o=2/3+t-e),o<0?o+=1:o>1&&(o-=1)),[o*360,r*100,d*100]};la.rgb.hwb=function(n){const e=n[0],t=n[1];let i=n[2];const o=la.rgb.hsl(n)[0],r=1/255*Math.min(e,Math.min(t,i));return i=1-1/255*Math.max(e,Math.max(t,i)),[o,r*100,i*100]};la.rgb.cmyk=function(n){const e=n[0]/255,t=n[1]/255,i=n[2]/255,o=Math.min(1-e,1-t,1-i),r=(1-e-o)/(1-o)||0,a=(1-t-o)/(1-o)||0,s=(1-i-o)/(1-o)||0;return[r*100,a*100,s*100,o*100]};function fme(n,e){return(n[0]-e[0])**2+(n[1]-e[1])**2+(n[2]-e[2])**2}la.rgb.keyword=function(n){const e=zP[n];if(e)return e;let t=1/0,i;for(const o of Object.keys(O4)){const r=O4[o],a=fme(n,r);a<t&&(t=a,i=o)}return i};la.keyword.rgb=function(n){return O4[n]};la.rgb.xyz=function(n){let e=n[0]/255,t=n[1]/255,i=n[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92;const o=e*.4124+t*.3576+i*.1805,r=e*.2126+t*.7152+i*.0722,a=e*.0193+t*.1192+i*.9505;return[o*100,r*100,a*100]};la.rgb.lab=function(n){const e=la.rgb.xyz(n);let t=e[0],i=e[1],o=e[2];t/=95.047,i/=100,o/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const r=116*i-16,a=500*(t-i),s=200*(i-o);return[r,a,s]};la.hsl.rgb=function(n){const e=n[0]/360,t=n[1]/100,i=n[2]/100;let o,r,a;if(t===0)return a=i*255,[a,a,a];i<.5?o=i*(1+t):o=i+t-i*t;const s=2*i-o,l=[0,0,0];for(let d=0;d<3;d++)r=e+1/3*-(d-1),r<0&&r++,r>1&&r--,6*r<1?a=s+(o-s)*6*r:2*r<1?a=o:3*r<2?a=s+(o-s)*(2/3-r)*6:a=s,l[d]=a*255;return l};la.hsl.hsv=function(n){const e=n[0];let t=n[1]/100,i=n[2]/100,o=t;const r=Math.max(i,.01);i*=2,t*=i<=1?i:2-i,o*=r<=1?r:2-r;const a=(i+t)/2,s=i===0?2*o/(r+o):2*t/(i+t);return[e,s*100,a*100]};la.hsv.rgb=function(n){const e=n[0]/60,t=n[1]/100;let i=n[2]/100;const o=Math.floor(e)%6,r=e-Math.floor(e),a=255*i*(1-t),s=255*i*(1-t*r),l=255*i*(1-t*(1-r));switch(i*=255,o){case 0:return[i,l,a];case 1:return[s,i,a];case 2:return[a,i,l];case 3:return[a,s,i];case 4:return[l,a,i];case 5:return[i,a,s]}};la.hsv.hsl=function(n){const e=n[0],t=n[1]/100,i=n[2]/100,o=Math.max(i,.01);let r,a;a=(2-t)*i;const s=(2-t)*o;return r=t*o,r/=s<=1?s:2-s,r=r||0,a/=2,[e,r*100,a*100]};la.hwb.rgb=function(n){const e=n[0]/360;let t=n[1]/100,i=n[2]/100;const o=t+i;let r;o>1&&(t/=o,i/=o);const a=Math.floor(6*e),s=1-i;r=6*e-a,a&1&&(r=1-r);const l=t+r*(s-t);let d,f,g;switch(a){default:case 6:case 0:d=s,f=l,g=t;break;case 1:d=l,f=s,g=t;break;case 2:d=t,f=s,g=l;break;case 3:d=t,f=l,g=s;break;case 4:d=l,f=t,g=s;break;case 5:d=s,f=t,g=l;break}return[d*255,f*255,g*255]};la.cmyk.rgb=function(n){const e=n[0]/100,t=n[1]/100,i=n[2]/100,o=n[3]/100,r=1-Math.min(1,e*(1-o)+o),a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,i*(1-o)+o);return[r*255,a*255,s*255]};la.xyz.rgb=function(n){const e=n[0]/100,t=n[1]/100,i=n[2]/100;let o,r,a;return o=e*3.2406+t*-1.5372+i*-.4986,r=e*-.9689+t*1.8758+i*.0415,a=e*.0557+t*-.204+i*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,o=Math.min(Math.max(0,o),1),r=Math.min(Math.max(0,r),1),a=Math.min(Math.max(0,a),1),[o*255,r*255,a*255]};la.xyz.lab=function(n){let e=n[0],t=n[1],i=n[2];e/=95.047,t/=100,i/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,t=t>.008856?t**(1/3):7.787*t+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;const o=116*t-16,r=500*(e-t),a=200*(t-i);return[o,r,a]};la.lab.xyz=function(n){const e=n[0],t=n[1],i=n[2];let o,r,a;r=(e+16)/116,o=t/500+r,a=r-i/200;const s=r**3,l=o**3,d=a**3;return r=s>.008856?s:(r-16/116)/7.787,o=l>.008856?l:(o-16/116)/7.787,a=d>.008856?d:(a-16/116)/7.787,o*=95.047,r*=100,a*=108.883,[o,r,a]};la.lab.lch=function(n){const e=n[0],t=n[1],i=n[2];let o;o=Math.atan2(i,t)*360/2/Math.PI,o<0&&(o+=360);const a=Math.sqrt(t*t+i*i);return[e,a,o]};la.lch.lab=function(n){const e=n[0],t=n[1],o=n[2]/360*2*Math.PI,r=t*Math.cos(o),a=t*Math.sin(o);return[e,r,a]};la.rgb.ansi16=function(n,e=null){const[t,i,o]=n;let r=e===null?la.rgb.hsv(n)[2]:e;if(r=Math.round(r/50),r===0)return 30;let a=30+(Math.round(o/255)<<2|Math.round(i/255)<<1|Math.round(t/255));return r===2&&(a+=60),a};la.hsv.ansi16=function(n){return la.rgb.ansi16(la.hsv.rgb(n),n[2])};la.rgb.ansi256=function(n){const e=n[0],t=n[1],i=n[2];return e===t&&t===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(i/255*5)};la.ansi16.rgb=function(n){let e=n%10;if(e===0||e===7)return n>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const t=(~~(n>50)+1)*.5,i=(e&1)*t*255,o=(e>>1&1)*t*255,r=(e>>2&1)*t*255;return[i,o,r]};la.ansi256.rgb=function(n){if(n>=232){const r=(n-232)*10+8;return[r,r,r]}n-=16;let e;const t=Math.floor(n/36)/5*255,i=Math.floor((e=n%36)/6)/5*255,o=e%6/5*255;return[t,i,o]};la.rgb.hex=function(n){const t=(((Math.round(n[0])&255)<<16)+((Math.round(n[1])&255)<<8)+(Math.round(n[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t};la.hex.rgb=function(n){const e=n.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let t=e[0];e[0].length===3&&(t=t.split("").map(s=>s+s).join(""));const i=parseInt(t,16),o=i>>16&255,r=i>>8&255,a=i&255;return[o,r,a]};la.rgb.hcg=function(n){const e=n[0]/255,t=n[1]/255,i=n[2]/255,o=Math.max(Math.max(e,t),i),r=Math.min(Math.min(e,t),i),a=o-r;let s,l;return a<1?s=r/(1-a):s=0,a<=0?l=0:o===e?l=(t-i)/a%6:o===t?l=2+(i-e)/a:l=4+(e-t)/a,l/=6,l%=1,[l*360,a*100,s*100]};la.hsl.hcg=function(n){const e=n[1]/100,t=n[2]/100,i=t<.5?2*e*t:2*e*(1-t);let o=0;return i<1&&(o=(t-.5*i)/(1-i)),[n[0],i*100,o*100]};la.hsv.hcg=function(n){const e=n[1]/100,t=n[2]/100,i=e*t;let o=0;return i<1&&(o=(t-i)/(1-i)),[n[0],i*100,o*100]};la.hcg.rgb=function(n){const e=n[0]/360,t=n[1]/100,i=n[2]/100;if(t===0)return[i*255,i*255,i*255];const o=[0,0,0],r=e%1*6,a=r%1,s=1-a;let l=0;switch(Math.floor(r)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return l=(1-t)*i,[(t*o[0]+l)*255,(t*o[1]+l)*255,(t*o[2]+l)*255]};la.hcg.hsv=function(n){const e=n[1]/100,t=n[2]/100,i=e+t*(1-e);let o=0;return i>0&&(o=e/i),[n[0],o*100,i*100]};la.hcg.hsl=function(n){const e=n[1]/100,i=n[2]/100*(1-e)+.5*e;let o=0;return i>0&&i<.5?o=e/(2*i):i>=.5&&i<1&&(o=e/(2*(1-i))),[n[0],o*100,i*100]};la.hcg.hwb=function(n){const e=n[1]/100,t=n[2]/100,i=e+t*(1-e);return[n[0],(i-e)*100,(1-i)*100]};la.hwb.hcg=function(n){const e=n[1]/100,i=1-n[2]/100,o=i-e;let r=0;return o<1&&(r=(i-o)/(1-o)),[n[0],o*100,r*100]};la.apple.rgb=function(n){return[n[0]/65535*255,n[1]/65535*255,n[2]/65535*255]};la.rgb.apple=function(n){return[n[0]/255*65535,n[1]/255*65535,n[2]/255*65535]};la.gray.rgb=function(n){return[n[0]/100*255,n[0]/100*255,n[0]/100*255]};la.gray.hsl=function(n){return[0,0,n[0]]};la.gray.hsv=la.gray.hsl;la.gray.hwb=function(n){return[0,100,n[0]]};la.gray.cmyk=function(n){return[0,0,0,n[0]]};la.gray.lab=function(n){return[n[0],0,0]};la.gray.hex=function(n){const e=Math.round(n[0]/100*255)&255,i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i};la.rgb.gray=function(n){return[(n[0]+n[1]+n[2])/3/255*100]};const _b=$P;function pme(){const n={},e=Object.keys(_b);for(let t=e.length,i=0;i<t;i++)n[e[i]]={distance:-1,parent:null};return n}function hme(n){const e=pme(),t=[n];for(e[n].distance=0;t.length;){const i=t.pop(),o=Object.keys(_b[i]);for(let r=o.length,a=0;a<r;a++){const s=o[a],l=e[s];l.distance===-1&&(l.distance=e[i].distance+1,l.parent=i,t.unshift(s))}}return e}function mme(n,e){return function(t){return e(n(t))}}function vme(n,e){const t=[e[n].parent,n];let i=_b[e[n].parent][n],o=e[n].parent;for(;e[o].parent;)t.unshift(e[o].parent),i=mme(_b[e[o].parent][o],i),o=e[o].parent;return i.conversion=t,i}var gme=function(n){const e=hme(n),t={},i=Object.keys(e);for(let o=i.length,r=0;r<o;r++){const a=i[r];e[a].parent!==null&&(t[a]=vme(a,e))}return t};const Zx=$P,yme=gme,S0={},_me=Object.keys(Zx);function bme(n){const e=function(...t){const i=t[0];return i==null?i:(i.length>1&&(t=i),n(t))};return"conversion"in n&&(e.conversion=n.conversion),e}function xme(n){const e=function(...t){const i=t[0];if(i==null)return i;i.length>1&&(t=i);const o=n(t);if(typeof o=="object")for(let r=o.length,a=0;a<r;a++)o[a]=Math.round(o[a]);return o};return"conversion"in n&&(e.conversion=n.conversion),e}_me.forEach(n=>{S0[n]={},Object.defineProperty(S0[n],"channels",{value:Zx[n].channels}),Object.defineProperty(S0[n],"labels",{value:Zx[n].labels});const e=yme(n);Object.keys(e).forEach(i=>{const o=e[i];S0[n][i]=xme(o),S0[n][i].raw=bme(o)})});var wme=S0;const E0=dme,tp=wme,NP=["keyword","gray","hex"],Jx={};for(const n of Object.keys(tp))Jx[[...tp[n].labels].sort().join("")]=n;const bb={};function zd(n,e){if(!(this instanceof zd))return new zd(n,e);if(e&&e in NP&&(e=null),e&&!(e in tp))throw new Error("Unknown model: "+e);let t,i;if(n==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(n instanceof zd)this.model=n.model,this.color=[...n.color],this.valpha=n.valpha;else if(typeof n=="string"){const o=E0.get(n);if(o===null)throw new Error("Unable to parse color from string: "+n);this.model=o.model,i=tp[this.model].channels,this.color=o.value.slice(0,i),this.valpha=typeof o.value[i]=="number"?o.value[i]:1}else if(n.length>0){this.model=e||"rgb",i=tp[this.model].channels;const o=Array.prototype.slice.call(n,0,i);this.color=Qx(o,i),this.valpha=typeof n[i]=="number"?n[i]:1}else if(typeof n=="number")this.model="rgb",this.color=[n>>16&255,n>>8&255,n&255],this.valpha=1;else{this.valpha=1;const o=Object.keys(n);"alpha"in n&&(o.splice(o.indexOf("alpha"),1),this.valpha=typeof n.alpha=="number"?n.alpha:0);const r=o.sort().join("");if(!(r in Jx))throw new Error("Unable to parse color from object: "+JSON.stringify(n));this.model=Jx[r];const{labels:a}=tp[this.model],s=[];for(t=0;t<a.length;t++)s.push(n[a[t]]);this.color=Qx(s)}if(bb[this.model])for(i=tp[this.model].channels,t=0;t<i;t++){const o=bb[this.model][t];o&&(this.color[t]=o(this.color[t]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}zd.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(n){let e=this.model in E0.to?this:this.rgb();e=e.round(typeof n=="number"?n:1);const t=e.valpha===1?e.color:[...e.color,this.valpha];return E0.to[e.model](t)},percentString(n){const e=this.rgb().round(typeof n=="number"?n:1),t=e.valpha===1?e.color:[...e.color,this.valpha];return E0.to.rgb.percent(t)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const n={},{channels:e}=tp[this.model],{labels:t}=tp[this.model];for(let i=0;i<e;i++)n[t[i]]=this.color[i];return this.valpha!==1&&(n.alpha=this.valpha),n},unitArray(){const n=this.rgb().color;return n[0]/=255,n[1]/=255,n[2]/=255,this.valpha!==1&&n.push(this.valpha),n},unitObject(){const n=this.rgb().object();return n.r/=255,n.g/=255,n.b/=255,this.valpha!==1&&(n.alpha=this.valpha),n},round(n){return n=Math.max(n||0,0),new zd([...this.color.map(Cme(n)),this.valpha],this.model)},alpha(n){return n!==void 0?new zd([...this.color,Math.max(0,Math.min(1,n))],this.model):this.valpha},red:tu("rgb",0,gd(255)),green:tu("rgb",1,gd(255)),blue:tu("rgb",2,gd(255)),hue:tu(["hsl","hsv","hsl","hwb","hcg"],0,n=>(n%360+360)%360),saturationl:tu("hsl",1,gd(100)),lightness:tu("hsl",2,gd(100)),saturationv:tu("hsv",1,gd(100)),value:tu("hsv",2,gd(100)),chroma:tu("hcg",1,gd(100)),gray:tu("hcg",2,gd(100)),white:tu("hwb",1,gd(100)),wblack:tu("hwb",2,gd(100)),cyan:tu("cmyk",0,gd(100)),magenta:tu("cmyk",1,gd(100)),yellow:tu("cmyk",2,gd(100)),black:tu("cmyk",3,gd(100)),x:tu("xyz",0,gd(95.047)),y:tu("xyz",1,gd(100)),z:tu("xyz",2,gd(108.833)),l:tu("lab",0,gd(100)),a:tu("lab",1),b:tu("lab",2),keyword(n){return n!==void 0?new zd(n):tp[this.model].keyword(this.color)},hex(n){return n!==void 0?new zd(n):E0.to.hex(this.rgb().round().color)},hexa(n){if(n!==void 0)return new zd(n);const e=this.rgb().round().color;let t=Math.round(this.valpha*255).toString(16).toUpperCase();return t.length===1&&(t="0"+t),E0.to.hex(e)+t},rgbNumber(){const n=this.rgb().color;return(n[0]&255)<<16|(n[1]&255)<<8|n[2]&255},luminosity(){const n=this.rgb().color,e=[];for(const[t,i]of n.entries()){const o=i/255;e[t]=o<=.04045?o/12.92:((o+.055)/1.055)**2.4}return .2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(n){const e=this.luminosity(),t=n.luminosity();return e>t?(e+.05)/(t+.05):(t+.05)/(e+.05)},level(n){const e=this.contrast(n);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){const n=this.rgb().color;return(n[0]*2126+n[1]*7152+n[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const n=this.rgb();for(let e=0;e<3;e++)n.color[e]=255-n.color[e];return n},lighten(n){const e=this.hsl();return e.color[2]+=e.color[2]*n,e},darken(n){const e=this.hsl();return e.color[2]-=e.color[2]*n,e},saturate(n){const e=this.hsl();return e.color[1]+=e.color[1]*n,e},desaturate(n){const e=this.hsl();return e.color[1]-=e.color[1]*n,e},whiten(n){const e=this.hwb();return e.color[1]+=e.color[1]*n,e},blacken(n){const e=this.hwb();return e.color[2]+=e.color[2]*n,e},grayscale(){const n=this.rgb().color,e=n[0]*.3+n[1]*.59+n[2]*.11;return zd.rgb(e,e,e)},fade(n){return this.alpha(this.valpha-this.valpha*n)},opaquer(n){return this.alpha(this.valpha+this.valpha*n)},rotate(n){const e=this.hsl();let t=e.color[0];return t=(t+n)%360,t=t<0?360+t:t,e.color[0]=t,e},mix(n,e){if(!n||!n.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof n);const t=n.rgb(),i=this.rgb(),o=e===void 0?.5:e,r=2*o-1,a=t.alpha()-i.alpha(),s=((r*a===-1?r:(r+a)/(1+r*a))+1)/2,l=1-s;return zd.rgb(s*t.red()+l*i.red(),s*t.green()+l*i.green(),s*t.blue()+l*i.blue(),t.alpha()*o+i.alpha()*(1-o))}};for(const n of Object.keys(tp)){if(NP.includes(n))continue;const{channels:e}=tp[n];zd.prototype[n]=function(...t){return this.model===n?new zd(this):t.length>0?new zd(t,n):new zd([...Sme(tp[this.model][n].raw(this.color)),this.valpha],n)},zd[n]=function(...t){let i=t[0];return typeof i=="number"&&(i=Qx(t,e)),new zd(i,n)}}function kme(n,e){return Number(n.toFixed(e))}function Cme(n){return function(e){return kme(e,n)}}function tu(n,e,t){n=Array.isArray(n)?n:[n];for(const i of n)(bb[i]||(bb[i]=[]))[e]=t;return n=n[0],function(i){let o;return i!==void 0?(t&&(i=t(i)),o=this[n](),o.color[e]=i,o):(o=this[n]().color[e],t&&(o=t(o)),o)}}function gd(n){return function(e){return Math.max(0,Math.min(n,e))}}function Sme(n){return Array.isArray(n)?n:[n]}function Qx(n,e){for(let t=0;t<e;t++)typeof n[t]!="number"&&(n[t]=0);return n}var Eme=zd;const ch=Jf(Eme),Ame={class:"color-dot"},Tme=Lt({__name:"color",props:{value:{type:String,default:null},defaultColor:{type:String,default:"#B0BEC5",validator:n=>n===null||_C(n)||n.startsWith("var(--")}},setup(n){mm(o=>({"44192b22":t.value}));const e=n,t=we(()=>e.value??e.defaultColor),i=we(()=>{try{const o=ch(t.value),r=ch(Fr("--theme--background"));return o.contrast(r)<1.1}catch{return!1}});return(o,r)=>{const a=q("value-null");return V(),De("div",Ame,[n.value===null&&n.defaultColor===null?(V(),me(a,{key:0})):He("",!0),xe("div",{class:An(["dot",{"with-border":i.value}])},null,2)])}}}),Lme=qt(Tme,[["__scopeId","data-v-982cc817"]]),Ime=jd({id:"color",name:"$t:displays.color.color",description:"$t:displays.color.description",types:["string"],icon:"flag",component:Lme,options:[{field:"defaultColor",name:"$t:displays.color.default_color",type:"string",meta:{interface:"select-color",width:"half"},schema:{default_value:"#B0BEC5"}}]}),BP=[];function bC(){var e;const n=$o.global.locale.value;return(e=BP.find(({lang:t})=>n===t))==null?void 0:e.locale}async function Mme(n){const e=[n,n.split("-")[0],"en-US"];let t;for(const i of e)try{t=(await Dme(i)).default,BP.push({lang:n,locale:t});break}catch{continue}return t}function Dme(n){switch(n){case"af":return jt(()=>import("./af-Re00BfXY.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);case"ar-DZ":return jt(()=>import("./ar-DZ-C7LV-l0n.js"),__vite__mapDeps([7,1,2,3,4,5,6]),import.meta.url);case"ar-MA":return jt(()=>import("./ar-MA-DW6XiGT5.js"),__vite__mapDeps([8,1,2,3,4,5,6]),import.meta.url);case"ar-SA":return jt(()=>import("./ar-SA-Dx_eMvwV.js"),__vite__mapDeps([9,1,2,3,4,5,6]),import.meta.url);case"az":return jt(()=>import("./az-DYkyiSWM.js"),__vite__mapDeps([10,1,2,3,4,5,6]),import.meta.url);case"be":return jt(()=>import("./be-BPehEA7i.js"),__vite__mapDeps([11,12,3,2,4,1,5,6]),import.meta.url);case"bg":return jt(()=>import("./bg-CLgeCQRv.js"),__vite__mapDeps([13,12,3,2,4,1,5,6]),import.meta.url);case"bn":return jt(()=>import("./bn-Di0WG7Rb.js"),__vite__mapDeps([14,1,2,3,4,5,6]),import.meta.url);case"ca":return jt(()=>import("./ca-C6e55iCY.js"),__vite__mapDeps([15,1,2,3,4,5,6]),import.meta.url);case"cs":return jt(()=>import("./cs-D2ToICsc.js"),__vite__mapDeps([16,1,2,3,4,5,6]),import.meta.url);case"cy":return jt(()=>import("./cy-ZOjBWWfn.js"),__vite__mapDeps([17,1,2,3,4,5,6]),import.meta.url);case"da":return jt(()=>import("./da-C_ppKA1D.js"),__vite__mapDeps([18,1,2,3,4,5,6]),import.meta.url);case"de":return jt(()=>import("./de-CCyglirf.js"),__vite__mapDeps([19,20,1,2,3,4,5,6]),import.meta.url);case"de-AT":return jt(()=>import("./de-AT-BD_jtHGf.js"),__vite__mapDeps([21,20,1,2,3,4,5,6]),import.meta.url);case"el":return jt(()=>import("./el-DxO0Wwfv.js"),__vite__mapDeps([22,1,2,3,4,5,6]),import.meta.url);case"en-AU":return jt(()=>import("./en-AU-Ca-0TgpN.js"),__vite__mapDeps([23,1,2,3,4,5,6]),import.meta.url);case"en-CA":return jt(()=>import("./en-CA-ju4LGJ0G.js"),__vite__mapDeps([24,1,2,3,4,5,6]),import.meta.url);case"en-GB":return jt(()=>import("./en-GB-BbspM74K.js"),__vite__mapDeps([25,1,2,3,4,5,6]),import.meta.url);case"en-IN":return jt(()=>import("./en-IN-BIeAtrMi.js"),__vite__mapDeps([26,1,2,3,4,5,6]),import.meta.url);case"en-NZ":return jt(()=>import("./en-NZ-CcbwJBrJ.js"),__vite__mapDeps([27,1,2,3,4,5,6]),import.meta.url);case"en-US":return jt(()=>Promise.resolve().then(()=>uG),void 0,import.meta.url);case"en-ZA":return jt(()=>import("./en-ZA-B-pYI7Lv.js"),__vite__mapDeps([28,1,2,3,4,5,6]),import.meta.url);case"eo":return jt(()=>import("./eo-BR1XgBmD.js"),__vite__mapDeps([29,1,2,3,4,5,6]),import.meta.url);case"es":return jt(()=>import("./es-xdI_aFdb.js"),__vite__mapDeps([30,1,2,3,4,5,6]),import.meta.url);case"et":return jt(()=>import("./et-CY4S18yz.js"),__vite__mapDeps([31,1,2,3,4,5,6]),import.meta.url);case"eu":return jt(()=>import("./eu-DKyp9I2J.js"),__vite__mapDeps([32,1,2,3,4,5,6]),import.meta.url);case"fa-IR":return jt(()=>import("./fa-IR-QEioJW2A.js"),__vite__mapDeps([33,1,2,3,4,5,6]),import.meta.url);case"fi":return jt(()=>import("./fi-BoJUbuV9.js"),__vite__mapDeps([34,1,2,3,4,5,6]),import.meta.url);case"fr":return jt(()=>import("./fr-Coe-SVyA.js"),__vite__mapDeps([35,36,37,1,2,3,4,5,6]),import.meta.url);case"fr-CA":return jt(()=>import("./fr-CA-DP1P2Qnj.js"),__vite__mapDeps([38,36,37,1,2,3,4,5,6]),import.meta.url);case"fr-CH":return jt(()=>import("./fr-CH-B1T5CdGb.js"),__vite__mapDeps([39,36,1,2,3,4,5,6]),import.meta.url);case"gd":return jt(()=>import("./gd-CzLDLMKD.js"),__vite__mapDeps([40,1,2,3,4,5,6]),import.meta.url);case"gl":return jt(()=>import("./gl-LJ_GiZcv.js"),__vite__mapDeps([41,1,2,3,4,5,6]),import.meta.url);case"gu":return jt(()=>import("./gu-DidgtvTE.js"),__vite__mapDeps([42,1,2,3,4,5,6]),import.meta.url);case"he":return jt(()=>import("./he-BuCx93l2.js"),__vite__mapDeps([43,1,2,3,4,5,6]),import.meta.url);case"hi":return jt(()=>import("./hi-CEE_ZJG2.js"),__vite__mapDeps([44,1,2,3,4,5,6]),import.meta.url);case"hr":return jt(()=>import("./hr-8TZNJx2P.js"),__vite__mapDeps([45,1,2,3,4,5,6]),import.meta.url);case"ht":return jt(()=>import("./ht-BVWCQdnk.js"),__vite__mapDeps([46,1,2,3,4,5,6]),import.meta.url);case"hu":return jt(()=>import("./hu-Di3Eax3I.js"),__vite__mapDeps([47,1,2,3,4,5,6]),import.meta.url);case"hy":return jt(()=>import("./hy-CegI0xnl.js"),__vite__mapDeps([48,1,2,3,4,5,6]),import.meta.url);case"id":return jt(()=>import("./id-DhjfdPwp.js"),__vite__mapDeps([49,1,2,3,4,5,6]),import.meta.url);case"is":return jt(()=>import("./is-DqL8Sc3u.js"),__vite__mapDeps([50,1,2,3,4,5,6]),import.meta.url);case"it":return jt(()=>import("./it-ChIJiivF.js"),__vite__mapDeps([51,12,3,2,4,1,5,6]),import.meta.url);case"ja":return jt(()=>import("./ja-CKhgGyG2.js"),__vite__mapDeps([52,1,2,3,4,5,6]),import.meta.url);case"ka":return jt(()=>import("./ka-Br_KYBBF.js"),__vite__mapDeps([53,1,2,3,4,5,6]),import.meta.url);case"kk":return jt(()=>import("./kk-B5fPEOdO.js"),__vite__mapDeps([54,12,3,2,4,1,5,6]),import.meta.url);case"kn":return jt(()=>import("./kn-DVnybpPz.js"),__vite__mapDeps([55,1,2,3,4,5,6]),import.meta.url);case"ko":return jt(()=>import("./ko-BlLyqS4B.js"),__vite__mapDeps([56,1,2,3,4,5,6]),import.meta.url);case"lb":return jt(()=>import("./lb-Dja_yonm.js"),__vite__mapDeps([57,1,2,3,4,5,6]),import.meta.url);case"lt":return jt(()=>import("./lt-BSXKNFzo.js"),__vite__mapDeps([58,1,2,3,4,5,6]),import.meta.url);case"lv":return jt(()=>import("./lv-uG6Zx6mU.js"),__vite__mapDeps([59,12,3,2,4,1,5,6]),import.meta.url);case"mk":return jt(()=>import("./mk-Bt7qG48k.js"),__vite__mapDeps([60,12,3,2,4,1,5,6]),import.meta.url);case"mn":return jt(()=>import("./mn-BfHPh77w.js"),__vite__mapDeps([61,1,2,3,4,5,6]),import.meta.url);case"ms":return jt(()=>import("./ms-B6kkGV7A.js"),__vite__mapDeps([62,1,2,3,4,5,6]),import.meta.url);case"mt":return jt(()=>import("./mt-6_zg25nL.js"),__vite__mapDeps([63,1,2,3,4,5,6]),import.meta.url);case"nb":return jt(()=>import("./nb-CcpoV5tP.js"),__vite__mapDeps([64,1,2,3,4,5,6]),import.meta.url);case"nl":return jt(()=>import("./nl-Dx9K3HeG.js"),__vite__mapDeps([65,1,2,3,4,5,6]),import.meta.url);case"nl-BE":return jt(()=>import("./nl-BE-D0RA1P7M.js"),__vite__mapDeps([66,1,2,3,4,5,6]),import.meta.url);case"nn":return jt(()=>import("./nn-pEawuwii.js"),__vite__mapDeps([67,1,2,3,4,5,6]),import.meta.url);case"pl":return jt(()=>import("./pl-Dsa22AJ1.js"),__vite__mapDeps([68,12,3,2,4,1,5,6]),import.meta.url);case"pt":return jt(()=>import("./pt-B37-2uwv.js"),__vite__mapDeps([69,1,2,3,4,5,6]),import.meta.url);case"pt-BR":return jt(()=>import("./pt-BR-DBL4wcJx.js"),__vite__mapDeps([70,1,2,3,4,5,6]),import.meta.url);case"ro":return jt(()=>import("./ro-hnvLIHpf.js"),__vite__mapDeps([71,1,2,3,4,5,6]),import.meta.url);case"ru":return jt(()=>import("./ru-Hya-Lfzn.js"),__vite__mapDeps([72,12,3,2,4,1,5,6]),import.meta.url);case"sk":return jt(()=>import("./sk-Boirm8Jq.js"),__vite__mapDeps([73,12,3,2,4,1,5,6]),import.meta.url);case"sl":return jt(()=>import("./sl-DE6Rxfkt.js"),__vite__mapDeps([74,1,2,3,4,5,6]),import.meta.url);case"sq":return jt(()=>import("./sq-Bt4t6hPZ.js"),__vite__mapDeps([75,1,2,3,4,5,6]),import.meta.url);case"sr":return jt(()=>import("./sr-BryOS4sp.js"),__vite__mapDeps([76,1,2,3,4,5,6]),import.meta.url);case"sr-Latn":return jt(()=>import("./sr-Latn-Bx1cnT6w.js"),__vite__mapDeps([77,1,2,3,4,5,6]),import.meta.url);case"sv":return jt(()=>import("./sv-vfVu8onR.js"),__vite__mapDeps([78,1,2,3,4,5,6]),import.meta.url);case"ta":return jt(()=>import("./ta-BntgpTFD.js"),__vite__mapDeps([79,1,2,3,4,5,6]),import.meta.url);case"te":return jt(()=>import("./te-CPj7I6zQ.js"),__vite__mapDeps([80,1,2,3,4,5,6]),import.meta.url);case"th":return jt(()=>import("./th-BavWnYGh.js"),__vite__mapDeps([81,1,2,3,4,5,6]),import.meta.url);case"tr":return jt(()=>import("./tr-Dfyrh71a.js"),__vite__mapDeps([82,1,2,3,4,5,6]),import.meta.url);case"ug":return jt(()=>import("./ug-Bh7PM3d0.js"),__vite__mapDeps([83,1,2,3,4,5,6]),import.meta.url);case"uk":return jt(()=>import("./uk-B8pEJshM.js"),__vite__mapDeps([84,12,3,2,4,1,5,6]),import.meta.url);case"uz":return jt(()=>import("./uz-BoRw13cs.js"),__vite__mapDeps([85,1,2,3,4,5,6]),import.meta.url);case"vi":return jt(()=>import("./vi-BDfqRqJP.js"),__vite__mapDeps([86,1,2,3,4,5,6]),import.meta.url);case"zh-CN":return jt(()=>import("./zh-CN-63m6TvLR.js"),__vite__mapDeps([87,12,3,2,4,1,5,6]),import.meta.url);case"zh-TW":return jt(()=>import("./zh-TW-B-5nUhsc.js"),__vite__mapDeps([88,1,2,3,4,5,6]),import.meta.url);default:return Promise.resolve()}}const bu=(n,e,t)=>tm(n,e,{...t,locale:bC()}),xC=(n,e,t)=>kG(n,e,{...t,locale:bC()}),_8=(n,e,t)=>CG(n,e,{...t,locale:bC()}),Pme=Lt({inheritAttrs:!1,__name:"use-datetime",props:{value:{},type:{},format:{default:"long"},relative:{type:Boolean,default:!1},strict:{type:Boolean,default:!1},round:{default:"round"},suffix:{type:Boolean,default:!0}},setup(n){const e=n,{t}=vn(),i=Pe(null),o=we(()=>e.value?e.type==="timestamp"?v8(e.value):e.type==="dateTime"?nm(e.value,"yyyy-MM-dd'T'HH:mm:ss",new Date):e.type==="date"?nm(e.value,"yyyy-MM-dd",new Date):e.type==="time"?nm(e.value,"HH:mm:ss",new Date):null:null),r=s=>e.strict?_8(s,new Date,{addSuffix:e.suffix,roundingMethod:e.round}):xC(s,new Date,{addSuffix:e.suffix});ii(o,s=>{if(s===null){i.value=null;return}if(e.relative)i.value=r(s);else{let l;e.format==="long"?(l=`${t("date-fns_date")} ${t("date-fns_time")}`,e.type==="date"&&(l=String(t("date-fns_date"))),e.type==="time"&&(l=String(t("date-fns_time")))):e.format==="short"?(l=`${t("date-fns_date_short")} ${t("date-fns_time_short")}`,e.type==="date"&&(l=String(t("date-fns_date_short"))),e.type==="time"&&(l=String(t("date-fns_time_short")))):l=e.format,i.value=bu(s,l)}},{immediate:!0});let a=null;return zr(()=>{e.relative&&(a=window.setInterval(()=>{o.value&&(i.value=r(o.value))},6e4))}),uu(()=>{a&&clearInterval(a)}),(s,l)=>Ei(s.$slots,"default",{datetime:i.value})}}),Ome={class:"datetime"},Rme=Lt({__name:"datetime",props:{value:{},type:{},format:{default:"long"},relative:{type:Boolean,default:!1},strict:{type:Boolean,default:!1},round:{default:"round"},suffix:{type:Boolean,default:!0}},setup(n){return(e,t)=>(V(),me(Pme,Aa(Ga(e.$props)),{default:P(({datetime:i})=>[xe("span",Ome,de(i),1)]),_:1},16))}}),Fme=qt(Rme,[["__scopeId","data-v-a2edaeb7"]]),zme=jd({id:"datetime",name:"$t:displays.datetime.datetime",description:"$t:displays.datetime.description",icon:"query_builder",component:Fme,handler:(n,e,{field:t})=>{if(!n)return n;const i=o=>xC(o,new Date,{addSuffix:!0});if((t==null?void 0:t.type)==="timestamp"?n=v8(n):(t==null?void 0:t.type)==="dateTime"?n=nm(n,"yyyy-MM-dd'T'HH:mm:ss",new Date):(t==null?void 0:t.type)==="date"?n=nm(n,"yyyy-MM-dd",new Date):(t==null?void 0:t.type)==="time"&&(n=nm(n,"HH:mm:ss",new Date)),e.relative)return i(n);{let o;return(e==null?void 0:e.format)===void 0||e.format==="long"?(o=`${$o.global.t("date-fns_date")} ${$o.global.t("date-fns_time")}`,(t==null?void 0:t.type)==="date"&&(o=String($o.global.t("date-fns_date"))),(t==null?void 0:t.type)==="time"&&(o=String($o.global.t("date-fns_time")))):e.format==="short"?(o=`${$o.global.t("date-fns_date_short")} ${$o.global.t("date-fns_time_short")}`,(t==null?void 0:t.type)==="date"&&(o=String($o.global.t("date-fns_date_short"))),(t==null?void 0:t.type)==="time"&&(o=String($o.global.t("date-fns_time_short")))):o=e.format,bu(n,o)}},options:({field:n})=>{var i;const e=((i=n.meta)==null?void 0:i.display_options)||{},t=[{field:"relative",name:"$t:displays.datetime.relative",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.datetime.relative_label"}},schema:{default_value:!1}}];return e.relative?t.push({field:"suffix",name:"$t:displays.datetime.suffix",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.datetime.suffix_label"},note:"$t:displays.datetime.suffix_note"},schema:{default_value:!0}},{field:"strict",name:"$t:displays.datetime.strict",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.datetime.strict_label"},note:"$t:displays.datetime.strict_note"},schema:{default_value:!1}},{field:"round",name:"$t:displays.datetime.round",type:"string",meta:{width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:displays.datetime.down",value:"floor"},{text:"$t:displays.datetime.nearest",value:"round"},{text:"$t:displays.datetime.up",value:"ceil"}]},note:"$t:displays.datetime.round_note"},schema:{default_value:"round"}}):t.push({field:"format",name:"$t:displays.datetime.format",type:"string",meta:{interface:"select-dropdown",width:"half",options:{choices:[{text:"$t:displays.datetime.long",value:"long"},{text:"$t:displays.datetime.short",value:"short"}],allowOther:!0},note:"$t:displays.datetime.format_note"},schema:{default_value:"long"}}),t},types:["dateTime","date","time","timestamp"]}),$me={"audio/aac":"aac","application/x-abiword":"abw","application/x-freearc":"arc","video/x-msvideo":"avi","image/avif":"avif","application/vnd.amazon.ebook":"azw","application/octet-stream":"file","image/bmp":"bmp","application/x-bzip":"bz","application/x-bzip2":"bz2","application/x-csh":"csh","text/css":"css","text/csv":"csv","application/msword":"doc","application/sql":"sql","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","application/vnd.ms-fontobject":"eot","application/epub+zip":"epub","application/gzip":"gz","image/gif":"gif","text/html":"html","image/vnd.microsoft.icon":"ico","text/calendar":"ics","application/java-archive":"jar","image/jpeg":"jpg","text/javascript":"js","application/json":"json","application/ld+json":"jsonld","audio/midi audio/x-midi":"midi","audio/mpeg":"mp3","video/mpeg":"mpeg","audio/mp4":"mp4","video/mp4":"mp4","application/mp4":"mp4","application/vnd.apple.installer+xml":"mpkg","application/vnd.oasis.opendocument.presentation":"odp","application/vnd.oasis.opendocument.spreadsheet":"ods","application/vnd.oasis.opendocument.text":"odt","audio/ogg":"oga","video/ogg":"ogv","application/ogg":"ogx","audio/opus":"opus","font/otf":"otf","image/png":"png","application/pdf":"pdf","application/x-httpd-php":"php","application/vnd.ms-powerpoint":"ppt","application/vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","application/vnd.rar":"rar","application/rtf":"rtf","application/x-sh":"sh","image/svg+xml":"svg","application/x-shockwave-flash":"swf","application/x-tar":"tar","image/tiff":"tiff","video/mp2t":"ts","font/ttf":"ttf","text/plain":"txt","application/vnd.visio":"vsd","audio/wav":"wav","audio/webm":"weba","video/webm":"webm","image/webp":"webp","font/woff":"woff","font/woff2":"woff2","application/xhtml+xml":"xhtml","application/vnd.ms-excel":"xls","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","application/xml":"xml","application/vnd.mozilla.xul+xml":"xul","application/zip":"zip","video/3gpp":"3gp","video/3gpp2":"3g2","audio/3gpp":"3gp","audio/3gpp2":"3g2","application/x-7z-compressed":"7z"},Nme={"application/vnd.hzn-3d-crossword":"3D Crossword Plugin","video/3gpp":"3GP","video/3gpp2":"3GP2","application/vnd.mseq":"3GPP MSEQ File","application/vnd.3m.post-it-notes":"3M Post It Notes","application/vnd.3gpp.pic-bw-large":"3rd Generation Partnership Project - Pic Large","application/vnd.3gpp.pic-bw-small":"3rd Generation Partnership Project - Pic Small","application/vnd.3gpp.pic-bw-var":"3rd Generation Partnership Project - Pic Var","application/vnd.3gpp2.tcap":"3rd Generation Partnership Project - Transaction Capabilities Application Part","application/x-7z-compressed":"7-Zip","application/x-abiword":"AbiWord","application/x-ace-compressed":"Ace Archive","application/vnd.americandynamics.acc":"Active Content Compression","application/vnd.acucobol":"ACU Cobol","application/vnd.acucorp":"ACU Cobol","audio/adpcm":"Adaptive differential pulse-code modulation","application/x-authorware-bin":"Adobe (Macropedia) Authorware - Binary File","application/x-authorware-map":"Adobe (Macropedia) Authorware - Map","application/x-authorware-seg":"Adobe (Macropedia) Authorware - Segment File","application/vnd.adobe.air-application-installer-package+zip":"Adobe AIR Application","application/x-shockwave-flash":"Adobe Flash","application/vnd.adobe.fxp":"Adobe Flex Project","application/pdf":"PDF","application/sql":"SQL","application/vnd.cups-ppd":"Adobe PostScript Printer Description File Format","application/x-director":"Adobe Shockwave Player","application/vnd.adobe.xdp+xml":"Adobe XML Data Package","application/vnd.adobe.xfdf":"Adobe XML Forms Data Format","audio/x-aac":"Advanced Audio Coding (AAC)","application/vnd.ahead.space":"Ahead AIR Application","application/vnd.airzip.filesecure.azf":"AirZip FileSECURE","application/vnd.airzip.filesecure.azs":"AirZip FileSECURE","application/vnd.amazon.ebook":"Amazon Kindle eBook format","application/vnd.amiga.ami":"AmigaDE","application/andrew-inset":"Andrew Toolkit","application/vnd.android.package-archive":"Android Package Archive","application/vnd.anser-web-certificate-issue-initiation":"ANSER-WEB Terminal Client - Certificate Issue","application/vnd.anser-web-funds-transfer-initiation":"ANSER-WEB Terminal Client - Web Funds Transfer","application/vnd.antix.game-component":"Antix Game Player","application/x-apple-diskimage":"Apple Disk Image","application/vnd.apple.installer+xml":"Apple Installer Package","application/applixware":"Applixware","application/vnd.hhe.lesson-player":"Archipelago Lesson Player","application/vnd.aristanetworks.swi":"Arista Networks Software Image","text/x-asm":"Assembler Source File","application/atomcat+xml":"Atom Publishing Protocol","application/atomsvc+xml":"Atom Publishing Protocol Service Document","application/atom+xml":"Atom Syndication Format","application/pkix-attr-cert":"Attribute Certificate","audio/x-aiff":"AIFF","video/x-msvideo":"AVI","image/avif":"AVIF","application/vnd.audiograph":"Audiograph","image/vnd.dxf":"AutoCAD DXF","model/vnd.dwf":"Autodesk Design Web Format (DWF)","text/plain-bas":"BAS Partitur Format","application/x-bcpio":"Binary CPIO Archive","application/octet-stream":"Binary Data","image/bmp":"Bitmap Image","application/x-bittorrent":"BitTorrent","application/vnd.rim.cod":"Blackberry COD File","application/vnd.blueice.multipass":"Blueice Research Multipass","application/vnd.bmi":"BMI Drawing Data Interchange","application/x-sh":"Bourne Shell Script","image/prs.btif":"BTIF","application/vnd.businessobjects":"BusinessObjects","application/x-bzip":"Bzip Archive","application/x-bzip2":"Bzip2 Archive","application/x-csh":"C Shell Script","text/x-c":"C Source File","application/vnd.chemdraw+xml":"CambridgeSoft Chem Draw","text/css":"Cascading Style Sheets (CSS)","chemical/x-cdx":"ChemDraw eXchange file","chemical/x-cml":"Chemical Markup Language","chemical/x-csml":"Chemical Style Markup Language","application/vnd.contact.cmsg":"CIM Database","application/vnd.claymore":"Claymore Data Files","application/vnd.clonk.c4group":"Clonk Game","image/vnd.dvb.subtitle":"Close Captioning - Subtitle","application/cdmi-capability":"Cloud Data Management Interface (CDMI) - Capability","application/cdmi-container":"Cloud Data Management Interface (CDMI) - Container","application/cdmi-domain":"Cloud Data Management Interface (CDMI) - Domain","application/cdmi-object":"Cloud Data Management Interface (CDMI) - Object","application/cdmi-queue":"Cloud Data Management Interface (CDMI) - Queue","application/vnd.cluetrust.cartomobile-config":"ClueTrust CartoMobile - Config","application/vnd.cluetrust.cartomobile-config-pkg":"ClueTrust CartoMobile - Config Package","image/x-cmu-raster":"CMU Image","model/vnd.collada+xml":"COLLADA","text/csv":"CSV","application/mac-compactpro":"Compact Pro","application/vnd.wap.wmlc":"Compiled Wireless Markup Language (WMLC)","image/cgm":"Computer Graphics Metafile","x-conference/x-cooltalk":"CoolTalk","image/x-cmx":"Corel Metafile Exchange (CMX)","application/vnd.xara":"CorelXARA","application/vnd.cosmocaller":"CosmoCaller","application/x-cpio":"CPIO Archive","application/vnd.crick.clicker":"CrickSoftware - Clicker","application/vnd.crick.clicker.keyboard":"CrickSoftware - Clicker - Keyboard","application/vnd.crick.clicker.palette":"CrickSoftware - Clicker - Palette","application/vnd.crick.clicker.template":"CrickSoftware - Clicker - Template","application/vnd.crick.clicker.wordbank":"CrickSoftware - Clicker - Wordbank","application/vnd.criticaltools.wbs+xml":"Critical Tools - PERT Chart EXPERT","application/vnd.rig.cryptonote":"CryptoNote","chemical/x-cif":"Crystallographic Interchange Format","chemical/x-cmdf":"CrystalMaker Data Format","application/cu-seeme":"CU-SeeMe","application/prs.cww":"CU-Writer","text/vnd.curl":"Curl - Applet","text/vnd.curl.dcurl":"Curl - Detached Applet","text/vnd.curl.mcurl":"Curl - Manifest File","text/vnd.curl.scurl":"Curl - Source Code","application/vnd.curl.car":"CURL Applet","application/vnd.curl.pcurl":"CURL Applet","application/vnd.yellowriver-custom-menu":"CustomMenu","application/dssc+der":"Data Structure for the Security Suitability of Cryptographic Algorithms","application/dssc+xml":"Data Structure for the Security Suitability of Cryptographic Algorithms","application/x-debian-package":"Debian Package","audio/vnd.dece.audio":"DECE Audio","image/vnd.dece.graphic":"DECE Graphic","video/vnd.dece.hd":"DECE High Definition Video","video/vnd.dece.mobile":"DECE Mobile Video","video/vnd.uvvu.mp4":"DECE MP4","video/vnd.dece.pd":"DECE PD Video","video/vnd.dece.sd":"DECE SD Video","video/vnd.dece.video":"DECE Video","application/x-dvi":"DVI","application/vnd.fdsn.seed":"Digital Seismograph Networks - SEED Datafiles","application/x-dtbook+xml":"Digital Talking Book","application/x-dtbresource+xml":"Digital Talking Book - Resource File","application/vnd.dvb.ait":"Digital Video Broadcasting","application/vnd.dvb.service":"Digital Video Broadcasting","audio/vnd.digital-winds":"Digital Winds Music","image/vnd.djvu":"DjVu","application/xml-dtd":"Document Type Definition","application/vnd.dolby.mlp":"Dolby Meridian Lossless Packing","application/x-doom":"Doom Video Game","application/vnd.dpgraph":"DPGraph","audio/vnd.dra":"DRA Audio","application/vnd.dreamfactory":"DreamFactory","audio/vnd.dts":"DTS Audio","audio/vnd.dts.hd":"DTS High Definition Audio","image/vnd.dwg":"DWG Drawing","application/vnd.dynageo":"DynaGeo","application/ecmascript":"ECMAScript","application/vnd.ecowin.chart":"EcoWin Chart","image/vnd.fujixerox.edmics-mmr":"EDMICS 2000","image/vnd.fujixerox.edmics-rlc":"EDMICS 2000","application/exi":"Efficient XML Interchange","application/vnd.proteus.magazine":"EFI Proteus","application/epub+zip":"Electronic Publication","message/rfc822":"Email Message","application/vnd.enliven":"Enliven Viewer","application/vnd.is-xpr":"Express by Infoseek","image/vnd.xiff":"eXtended Image File Format (XIFF)","application/vnd.xfdl":"Extensible Forms Description Language","application/emma+xml":"Extensible MultiModal Annotation","application/vnd.ezpix-album":"EZPix Secure Photo Album","application/vnd.ezpix-package":"EZPix Secure Photo Album","image/vnd.fst":"FAST Search & Transfer ASA","video/vnd.fvt":"FAST Search & Transfer ASA","image/vnd.fastbidsheet":"FastBid Sheet","application/vnd.denovo.fcselayout-link":"FCS Express Layout Link","video/x-f4v":"Flash Video","video/x-flv":"Flash Video","image/vnd.fpx":"FlashPix","image/vnd.net-fpx":"FlashPix","text/vnd.fmi.flexstor":"FLEXSTOR","video/x-fli":"FLI/FLC Animation Format","application/vnd.fluxtime.clip":"FluxTime Clip","application/vnd.fdf":"Forms Data Format","text/x-fortran":"Fortran Source File","application/vnd.mif":"FrameMaker Interchange Format","application/vnd.framemaker":"FrameMaker Normal Format","image/x-freehand":"FreeHand MX","application/vnd.fsc.weblaunch":"Friendly Software Corporation","application/vnd.frogans.fnc":"Frogans Player","application/vnd.frogans.ltf":"Frogans Player","application/vnd.fujixerox.ddd":"Fujitsu - Xerox 2D CAD Data","application/vnd.fujixerox.docuworks":"Fujitsu - Xerox DocuWorks","application/vnd.fujixerox.docuworks.binder":"Fujitsu - Xerox DocuWorks Binder","application/vnd.fujitsu.oasys":"Fujitsu Oasys","application/vnd.fujitsu.oasys2":"Fujitsu Oasys","application/vnd.fujitsu.oasys3":"Fujitsu Oasys","application/vnd.fujitsu.oasysgp":"Fujitsu Oasys","application/vnd.fujitsu.oasysprs":"Fujitsu Oasys","application/x-futuresplash":"FutureSplash Animator","application/vnd.fuzzysheet":"FuzzySheet","image/g3fax":"G3 Fax Image","application/vnd.gmx":"GameMaker ActiveX","model/vnd.gtw":"Gen-Trix Studio","application/vnd.genomatix.tuxedo":"Genomatix Tuxedo Framework","application/vnd.geogebra.file":"GeoGebra","application/vnd.geogebra.tool":"GeoGebra","model/vnd.gdl":"Geometric Description Language (GDL)","application/vnd.geometry-explorer":"GeoMetry Explorer","application/vnd.geonext":"GEONExT and JSXGraph","application/vnd.geoplan":"GeoplanW","application/vnd.geospace":"GeospacW","application/x-font-ghostscript":"Ghostscript Font","application/x-font-bdf":"Glyph Bitmap Distribution Format","application/x-gtar":"GNU Tar Files","application/x-texinfo":"GNU Texinfo Document","application/x-gnumeric":"Gnumeric","application/vnd.google-earth.kml+xml":"Google Earth - KML","application/vnd.google-earth.kmz":"Google Earth - Zipped KML","application/vnd.grafeq":"GrafEq","image/gif":"GIF","text/vnd.graphviz":"Graphviz","application/vnd.groove-account":"Groove - Account","application/vnd.groove-help":"Groove - Help","application/vnd.groove-identity-message":"Groove - Identity Message","application/vnd.groove-injector":"Groove - Injector","application/vnd.groove-tool-message":"Groove - Tool Message","application/vnd.groove-tool-template":"Groove - Tool Template","application/vnd.groove-vcard":"Groove - Vcard","video/h261":"H.261","video/h263":"H.263","video/h264":"H.264","application/vnd.hp-hpid":"Hewlett Packard Instant Delivery","application/vnd.hp-hps":"Hewlett-Packard's WebPrintSmart","application/x-hdf":"Hierarchical Data Format","audio/vnd.rip":"Hit'n'Mix","application/vnd.hbci":"Homebanking Computer Interface (HBCI)","application/vnd.hp-jlyt":"HP Indigo Digital Press - Job Layout Language","application/vnd.hp-pcl":"HP Printer Command Language","application/vnd.hp-hpgl":"HP-GL/2 and HP RTL","application/vnd.yamaha.hv-script":"HV Script","application/vnd.yamaha.hv-dic":"HV Voice Dictionary","application/vnd.yamaha.hv-voice":"HV Voice Parameter","application/vnd.hydrostatix.sof-data":"Hydrostatix Master Suite","application/hyperstudio":"Hyperstudio","application/vnd.hal+xml":"Hypertext Application Language","text/html":"HTML","application/vnd.ibm.rights-management":"IBM DB2 Rights Manager","application/vnd.ibm.secure-container":"IBM Electronic Media Management System - Secure Container","text/calendar":"iCalendar","application/vnd.iccprofile":"ICC profile","image/x-icon":"Icon Image","application/vnd.igloader":"igLoader","image/ief":"Image Exchange Format","application/vnd.immervision-ivp":"ImmerVision PURE Players","application/vnd.immervision-ivu":"ImmerVision PURE Players","application/reginfo+xml":"IMS Networks","text/vnd.in3d.3dml":"In3D - 3DML","text/vnd.in3d.spot":"In3D - 3DML","model/iges":"Initial Graphics Exchange Specification (IGES)","application/vnd.intergeo":"Interactive Geometry Software","application/vnd.cinderella":"Interactive Geometry Software Cinderella","application/vnd.intercon.formnet":"Intercon FormNet","application/vnd.isac.fcs":"International Society for Advancement of Cytometry","application/ipfix":"Internet Protocol Flow Information Export","application/pkix-cert":"Internet Public Key Infrastructure - Certificate","application/pkixcmp":"Internet Public Key Infrastructure - Certificate Management Protocole","application/pkix-crl":"Internet Public Key Infrastructure - Certificate Revocation Lists","application/pkix-pkipath":"Internet Public Key Infrastructure - Certification Path","application/vnd.insors.igm":"IOCOM Visimeet","application/vnd.ipunplugged.rcprofile":"IP Unplugged Roaming Client","application/vnd.irepository.package+xml":"iRepository / Lucidoc Editor","text/vnd.sun.j2me.app-descriptor":"J2ME App Descriptor","application/java-archive":"Java Archive","application/java-vm":"Java Bytecode File","application/x-java-jnlp-file":"Java Network Launching Protocol","application/java-serialized-object":"Java Serialized Object","text/x-java-source,java":"Java Source File","application/javascript":"JavaScript","text/javascript":"JavaScript","application/json":"JSON","application/vnd.joost.joda-archive":"Joda Archive","video/jpm":"JPG","image/jpeg":"JPG","image/x-citrix-jpeg":"JPG","image/pjpeg":"JPG","video/jpeg":"JPGVideo","application/vnd.kahootz":"Kahootz","application/vnd.chipnuts.karaoke-mmd":"Karaoke on Chipnuts Chipsets","application/vnd.kde.karbon":"KDE KOffice Office Suite - Karbon","application/vnd.kde.kchart":"KDE KOffice Office Suite - KChart","application/vnd.kde.kformula":"KDE KOffice Office Suite - Kformula","application/vnd.kde.kivio":"KDE KOffice Office Suite - Kivio","application/vnd.kde.kontour":"KDE KOffice Office Suite - Kontour","application/vnd.kde.kpresenter":"KDE KOffice Office Suite - Kpresenter","application/vnd.kde.kspread":"KDE KOffice Office Suite - Kspread","application/vnd.kde.kword":"KDE KOffice Office Suite - Kword","application/vnd.kenameaapp":"Kenamea App","application/vnd.kidspiration":"Kidspiration","application/vnd.kinar":"Kinar Applications","application/vnd.kodak-descriptor":"Kodak Storyshare","application/vnd.las.las+xml":"Laser App Enterprise","application/x-latex":"LaTeX","application/vnd.llamagraphics.life-balance.desktop":"Life Balance - Desktop Edition","application/vnd.llamagraphics.life-balance.exchange+xml":"Life Balance - Exchange Format","application/vnd.jam":"Lightspeed Audio Lab","application/vnd.lotus-1-2-3":"Lotus 1-2-3","application/vnd.lotus-approach":"Lotus Approach","application/vnd.lotus-freelance":"Lotus Freelance","application/vnd.lotus-notes":"Lotus Notes","application/vnd.lotus-organizer":"Lotus Organizer","application/vnd.lotus-screencam":"Lotus Screencam","application/vnd.lotus-wordpro":"Lotus Wordpro","audio/vnd.lucent.voice":"Lucent Voice","audio/x-mpegurl":"M3U (Multimedia Playlist)","video/x-m4v":"M4v","application/mac-binhex40":"Macintosh BinHex 4.0","application/vnd.macports.portpkg":"MacPorts Port System","application/vnd.osgeo.mapguide.package":"MapGuide DBXML","application/marc":"MARC Formats","application/marcxml+xml":"MARC21 XML Schema","application/mxf":"Material Exchange Format","application/vnd.wolfram.player":"Mathematica Notebook Player","application/mathematica":"Mathematica Notebooks","application/mathml+xml":"Mathematical Markup Language","application/mbox":"Mbox database files","application/vnd.medcalcdata":"MedCalc","application/mediaservercontrol+xml":"Media Server Control Markup Language","application/vnd.mediastation.cdkey":"MediaRemote","application/vnd.mfer":"Medical Waveform Encoding Format","application/vnd.mfmp":"Melody Format for Mobile Platform","model/mesh":"Mesh Data Type","application/mads+xml":"Metadata Authority Description Schema","application/mets+xml":"Metadata Encoding and Transmission Standard","application/mods+xml":"Metadata Object Description Schema","application/metalink4+xml":"Metalink","application/vnd.mcd":"Micro CADAM Helix D&D","application/vnd.micrografx.flo":"Micrografx","application/vnd.micrografx.igx":"Micrografx iGrafx Professional","application/vnd.eszigno3+xml":"MICROSEC e-Szign¢","application/x-msaccess":"Access","video/x-ms-asf":"MS ASF","application/x-msdownload":"MS App","application/vnd.ms-artgalry":"MS Artgalry","application/vnd.ms-cab-compressed":"MS Cabinet File","application/vnd.ms-ims":"MS Class Server","application/x-ms-application":"MS ClickOnce","application/x-msclip":"MS Clipboard Clip","image/vnd.ms-modi":"MS Document Imaging Format","application/vnd.ms-fontobject":"MS Embedded OpenType","application/vnd.ms-excel":"Excel","application/vnd.ms-excel.addin.macroenabled.12":"MS Excel - Add-In File","application/vnd.ms-excel.sheet.binary.macroenabled.12":"MS Excel - Binary Workbook","application/vnd.ms-excel.template.macroenabled.12":"MS Excel - Macro-Enabled Template File","application/vnd.ms-excel.sheet.macroenabled.12":"MS Excel - Macro-Enabled Workbook","application/vnd.ms-htmlhelp":"MS Html Help File","application/x-mscardfile":"MS Information Card","application/vnd.ms-lrm":"MS Learning Resource Module","application/x-msmediaview":"MS MediaView","application/x-msmoney":"MS Money","application/vnd.openxmlformats-officedocument.presentationml.presentation":"MS Office - OOXML - Presentation","application/vnd.openxmlformats-officedocument.presentationml.slide":"MS Office - OOXML - Presentation (Slide)","application/vnd.openxmlformats-officedocument.presentationml.slideshow":"MS Office - OOXML - Presentation (Slideshow)","application/vnd.openxmlformats-officedocument.presentationml.template":"MS Office - OOXML - Presentation Template","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"MS Office - OOXML - Spreadsheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template":"MS Office - OOXML - Spreadsheet Template","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"MS Office - OOXML - Word Document","application/vnd.openxmlformats-officedocument.wordprocessingml.template":"MS Office - OOXML - Word Document Template","application/x-msbinder":"MS Office Binder","application/vnd.ms-officetheme":"MS Office System Release Theme","application/onenote":"OneNote","audio/vnd.ms-playready.media.pya":"MS PlayReady Ecosystem","video/vnd.ms-playready.media.pyv":"MS PlayReady Ecosystem Video","application/vnd.ms-powerpoint":"PowerPoint","application/vnd.ms-powerpoint.addin.macroenabled.12":"PowerPoint - Add-in file","application/vnd.ms-powerpoint.slide.macroenabled.12":"PowerPoint - Macro-Enabled Open XML Slide","application/vnd.ms-powerpoint.presentation.macroenabled.12":"PowerPoint - Macro-Enabled Presentation File","application/vnd.ms-powerpoint.slideshow.macroenabled.12":"PowerPoint - Macro-Enabled Slide Show File","application/vnd.ms-powerpoint.template.macroenabled.12":"PowerPoint - Macro-Enabled Template File","application/vnd.ms-project":"MS Project","application/x-mspublisher":"MS Publisher","application/x-msschedule":"MS Schedule+","application/x-silverlight-app":"MS Silverlight","application/vnd.ms-pki.stl":"MS Trust UI Provider - Certificate Trust Link","application/vnd.ms-pki.seccat":"MS Trust UI Provider - Security Catalog","application/vnd.visio":"Visio","application/vnd.visio2013":"Visio 2013","video/x-ms-wm":"MS Windows Media","audio/x-ms-wma":"WMA","audio/x-ms-wax":"MS Windows Media Audio Redirector","video/x-ms-wmx":"MS Windows Media Audio/Video Playlist","application/x-ms-wmd":"MS Windows Media Player Download Package","application/vnd.ms-wpl":"MS Windows Media Player Playlist","application/x-ms-wmz":"MS Windows Media Player Skin Package","video/x-ms-wmv":"WMV","video/x-ms-wvx":"MS Windows Media Video Playlist","application/x-msmetafile":"MS Windows Metafile","application/x-msterminal":"MS Windows Terminal Services","application/msword":"Word","application/vnd.ms-word.document.macroenabled.12":"MS Word - Macro-Enabled Document","application/vnd.ms-word.template.macroenabled.12":"MS Word - Macro-Enabled Template","application/x-mswrite":"MS Wordpad","application/vnd.ms-works":"MS Works","application/x-ms-xbap":"MS XAML Browser Application","application/vnd.ms-xpsdocument":"MS XML Paper Specification","audio/midi":"MIDI","application/vnd.ibm.minipay":"MiniPay","application/vnd.ibm.modcap":"MO:DCA-P","application/vnd.jcp.javame.midlet-rms":"Mobile Information Device Profile","application/vnd.tmobile-livetv":"MobileTV","application/x-mobipocket-ebook":"Mobipocket","application/vnd.mobius.mbk":"Mobius Management Systems - Basket file","application/vnd.mobius.dis":"Mobius Management Systems - Distribution Database","application/vnd.mobius.plc":"Mobius Management Systems - Policy Definition Language File","application/vnd.mobius.mqy":"Mobius Management Systems - Query File","application/vnd.mobius.msl":"Mobius Management Systems - Script Language","application/vnd.mobius.txf":"Mobius Management Systems - Topic Index File","application/vnd.mobius.daf":"Mobius Management Systems - UniversalArchive","text/vnd.fly":"mod_fly / fly.cgi","application/vnd.mophun.certificate":"Mophun Certificate","application/vnd.mophun.application":"Mophun VM","video/mj2":"Motion JPEG 2000","audio/mpeg":"MPEG Audio","video/vnd.mpegurl":"MPEG Url","video/mpeg":"MPEG","application/mp21":"MPEG-21","audio/mp4":"MP4 Audio","video/mp4":"MP4 Video","application/mp4":"MP4","application/vnd.apple.mpegurl":"Multimedia Playlist Unicode","application/vnd.musician":"MUsical Score Interpreted Code Invented for the ASCII designation of Notation","application/vnd.muvee.style":"Muvee Automatic Video Editing","application/xv+xml":"MXML","application/vnd.nokia.n-gage.data":"N-Gage Game Data","application/vnd.nokia.n-gage.symbian.install":"N-Gage Game Installer","application/x-dtbncx+xml":"Navigation Control file for XML (for ePub)","application/x-netcdf":"Network Common Data Form (NetCDF)","application/vnd.neurolanguage.nlu":"neuroLanguage","application/vnd.dna":"New Moon Liftoff/DNA","application/vnd.noblenet-directory":"NobleNet Directory","application/vnd.noblenet-sealer":"NobleNet Sealer","application/vnd.noblenet-web":"NobleNet Web","application/vnd.nokia.radio-preset":"Nokia Radio Application - Preset","application/vnd.nokia.radio-presets":"Nokia Radio Application - Preset","text/n3":"Notation3","application/vnd.novadigm.edm":"Novadigm's RADIA and EDM products","application/vnd.novadigm.edx":"Novadigm's RADIA and EDM products","application/vnd.novadigm.ext":"Novadigm's RADIA and EDM products","application/vnd.flographit":"NpGraphIt","audio/vnd.nuera.ecelp4800":"Nuera ECELP 4800","audio/vnd.nuera.ecelp7470":"Nuera ECELP 7470","audio/vnd.nuera.ecelp9600":"Nuera ECELP 9600","application/oda":"Office Document Architecture","application/ogg":"Ogg","audio/ogg":"Ogg Audio","video/ogg":"Ogg Video","application/vnd.oma.dd2+xml":"OMA Download Agents","application/vnd.oasis.opendocument.text-web":"Open Document Text Web","application/oebps-package+xml":"Open eBook Publication Structure","application/vnd.intu.qbo":"Open Financial Exchange","application/vnd.openofficeorg.extension":"Open Office Extension","application/vnd.yamaha.openscoreformat":"Open Score Format","audio/webm":"WebM Audio","video/webm":"WebM Video","application/vnd.oasis.opendocument.chart":"OpenDocument Chart","application/vnd.oasis.opendocument.chart-template":"OpenDocument Chart Template","application/vnd.oasis.opendocument.database":"OpenDocument Database","application/vnd.oasis.opendocument.formula":"OpenDocument Formula","application/vnd.oasis.opendocument.formula-template":"OpenDocument Formula Template","application/vnd.oasis.opendocument.graphics":"OpenDocument Graphics","application/vnd.oasis.opendocument.graphics-template":"OpenDocument Graphics Template","application/vnd.oasis.opendocument.image":"OpenDocument Image","application/vnd.oasis.opendocument.image-template":"OpenDocument Image Template","application/vnd.oasis.opendocument.presentation":"OpenDocument Presentation","application/vnd.oasis.opendocument.presentation-template":"OpenDocument Presentation Template","application/vnd.oasis.opendocument.spreadsheet":"OpenDocument Spreadsheet","application/vnd.oasis.opendocument.spreadsheet-template":"OpenDocument Spreadsheet Template","application/vnd.oasis.opendocument.text":"OpenDocument Text","application/vnd.oasis.opendocument.text-master":"OpenDocument Text Master","application/vnd.oasis.opendocument.text-template":"OpenDocument Text Template","image/ktx":"OpenGL Textures (KTX)","application/vnd.sun.xml.calc":"OpenOffice - Calc (Spreadsheet)","application/vnd.sun.xml.calc.template":"OpenOffice - Calc Template (Spreadsheet)","application/vnd.sun.xml.draw":"OpenOffice - Draw (Graphics)","application/vnd.sun.xml.draw.template":"OpenOffice - Draw Template (Graphics)","application/vnd.sun.xml.impress":"OpenOffice - Impress (Presentation)","application/vnd.sun.xml.impress.template":"OpenOffice - Impress Template (Presentation)","application/vnd.sun.xml.math":"OpenOffice - Math (Formula)","application/vnd.sun.xml.writer":"OpenOffice - Writer (Text - HTML)","application/vnd.sun.xml.writer.global":"OpenOffice - Writer (Text - HTML)","application/vnd.sun.xml.writer.template":"OpenOffice - Writer Template (Text - HTML)","application/x-font-otf":"OpenType Font File","application/vnd.yamaha.openscoreformat.osfpvg+xml":"OSFPVG","application/vnd.osgi.dp":"OSGi Deployment Package","application/vnd.palm":"PalmOS Data","text/x-pascal":"Pascal Source File","application/vnd.pawaafile":"PawaaFILE","application/vnd.hp-pclxl":"PCL 6 Enhanced (Formerly PCL XL)","application/vnd.picsel":"Pcsel eFIF File","image/x-pcx":"PCX Image","image/vnd.adobe.photoshop":"Photoshop Document","application/pics-rules":"PICSRules","image/x-pict":"PICT Image","application/x-chat":"pIRCh","application/pkcs10":"PKCS #10 - Certification Request Standard","application/x-pkcs12":"PKCS #12 - Personal Information Exchange Syntax Standard","application/pkcs7-mime":"PKCS #7 - Cryptographic Message Syntax Standard","application/pkcs7-signature":"PKCS #7 - Cryptographic Message Syntax Standard","application/x-pkcs7-certreqresp":"PKCS #7 - Cryptographic Message Syntax Standard (Certificate Request Response)","application/x-pkcs7-certificates":"PKCS #7 - Cryptographic Message Syntax Standard (Certificates)","application/pkcs8":"PKCS #8 - Private-Key Information Syntax Standard","application/vnd.pocketlearn":"PocketLearn Viewers","image/x-portable-anymap":"Portable Anymap Image","image/x-portable-bitmap":"Portable Bitmap Format","application/x-font-pcf":"Portable Compiled Format","application/font-tdpfr":"Portable Font Resource","application/x-chess-pgn":"Portable Game Notation (Chess Games)","image/x-portable-graymap":"Portable Graymap Format","image/png":"PNG","image/x-citrix-png":"PNG","image/x-png":"PNG","image/x-portable-pixmap":"Portable Pixmap Format","application/pskc+xml":"Portable Symmetric Key Container","application/vnd.ctc-posml":"PosML","application/postscript":"PostScript","application/x-font-type1":"PostScript Fonts","application/vnd.powerbuilder6":"PowerBuilder","application/pgp-encrypted":"Pretty Good Privacy","application/pgp-signature":"Pretty Good Privacy - Signature","application/vnd.previewsystems.box":"Preview Systems ZipLock/VBox","application/vnd.pvi.ptid1":"Princeton Video Image","application/pls+xml":"Pronunciation Lexicon Specification","application/vnd.pg.format":"Proprietary P&G Standard Reporting System","application/vnd.pg.osasli":"Proprietary P&G Standard Reporting System","text/prs.lines.tag":"PRS Lines Tag","application/x-font-linux-psf":"PSF Fonts","application/vnd.publishare-delta-tree":"PubliShare Objects","application/vnd.pmi.widget":"Qualcomm's Plaza Mobile Internet","application/vnd.quark.quarkxpress":"QuarkXpress","application/vnd.epson.esf":"QUASS Stream Player","application/vnd.epson.msf":"QUASS Stream Player","application/vnd.epson.ssf":"QUASS Stream Player","application/vnd.epson.quickanime":"QuickAnime Player","application/vnd.intu.qfx":"Quicken","video/quicktime":"Quicktime Video","application/x-rar-compressed":"RAR Archive","audio/x-pn-realaudio":"Real Audio Sound","audio/x-pn-realaudio-plugin":"Real Audio Sound","application/rsd+xml":"Really Simple Discovery","application/vnd.rn-realmedia":"RealMedia","application/vnd.realvnc.bed":"RealVNC","application/vnd.recordare.musicxml":"Recordare Applications","application/vnd.recordare.musicxml+xml":"Recordare Applications","application/relax-ng-compact-syntax":"Relax NG Compact Syntax","application/vnd.data-vision.rdz":"RemoteDocs R-Viewer","application/rdf+xml":"Resource Description Framework","application/vnd.cloanto.rp9":"RetroPlatform Player","application/vnd.jisp":"RhymBox","application/rtf":"Rich Text","text/richtext":"Rich Text","application/vnd.route66.link66+xml":"ROUTE 66 Location Based Services","application/rss+xml":"RSS","application/shf+xml":"S Hexdump Format","application/vnd.sailingtracker.track":"SailingTracker","image/svg+xml":"SVG","application/vnd.sus-calendar":"ScheduleUs","application/sru+xml":"Search/Retrieve via URL Response Format","application/set-payment-initiation":"Secure Electronic Transaction - Payment","application/set-registration-initiation":"Secure Electronic Transaction - Registration","application/vnd.sema":"Secured eMail","application/vnd.semd":"Secured eMail","application/vnd.semf":"Secured eMail","application/vnd.seemail":"SeeMail","application/x-font-snf":"Server Normal Format","application/scvp-vp-request":"Server-Based Certificate Validation Protocol - Validation Policies - Request","application/scvp-vp-response":"Server-Based Certificate Validation Protocol - Validation Policies - Response","application/scvp-cv-request":"Server-Based Certificate Validation Protocol - Validation Request","application/scvp-cv-response":"Server-Based Certificate Validation Protocol - Validation Response","application/sdp":"Session Description Protocol","text/x-setext":"Setext","video/x-sgi-movie":"SGI Movie","application/vnd.shana.informed.formdata":"Shana Informed Filler","application/vnd.shana.informed.formtemplate":"Shana Informed Filler","application/vnd.shana.informed.interchange":"Shana Informed Filler","application/vnd.shana.informed.package":"Shana Informed Filler","application/thraud+xml":"Sharing Transaction Fraud Data","application/x-shar":"Shell Archive","image/x-rgb":"Silicon Graphics RGB Bitmap","application/vnd.epson.salt":"SimpleAnimeLite Player","application/vnd.accpac.simply.aso":"Simply Accounting","application/vnd.accpac.simply.imp":"Simply Accounting - Data Import","application/vnd.simtech-mindmapper":"SimTech MindMapper","application/vnd.commonspace":"Sixth Floor Media - CommonSpace","application/vnd.yamaha.smaf-audio":"SMAF Audio","application/vnd.smaf":"SMAF File","application/vnd.yamaha.smaf-phrase":"SMAF Phrase","application/vnd.smart.teacher":"SMART Technologies Apps","application/vnd.svd":"SourceView Document","application/sparql-query":"SPARQL - Query","application/sparql-results+xml":"SPARQL - Results","application/srgs":"Speech Recognition Grammar Specification","application/srgs+xml":"Speech Recognition Grammar Specification - XML","application/ssml+xml":"Speech Synthesis Markup Language","application/vnd.koan":"SSEYO Koan Play File","text/sgml":"SGML","application/vnd.stardivision.calc":"StarOffice - Calc","application/vnd.stardivision.draw":"StarOffice - Draw","application/vnd.stardivision.impress":"StarOffice - Impress","application/vnd.stardivision.math":"StarOffice - Math","application/vnd.stardivision.writer":"StarOffice - Writer","application/vnd.stardivision.writer-global":"StarOffice - Writer (Global)","application/vnd.stepmania.stepchart":"StepMania","application/x-stuffit":"Stuffit Archive","application/x-stuffitx":"Stuffit Archive","application/vnd.solent.sdkm+xml":"SudokuMagic","application/vnd.olpc-sugar":"Sugar Linux Application Bundle","audio/basic":"Sun Audio - Au file format","application/vnd.wqd":"SundaHus WQ","application/vnd.symbian.install":"Symbian Install Package","application/smil+xml":"Synchronized Multimedia Integration Language","application/vnd.syncml+xml":"SyncML","application/vnd.syncml.dm+wbxml":"SyncML - Device Management","application/vnd.syncml.dm+xml":"SyncML - Device Management","application/x-sv4cpio":"System V Release 4 CPIO Archive","application/x-sv4crc":"System V Release 4 CPIO Checksum Data","application/sbml+xml":"Systems Biology Markup Language","text/tab-separated-values":"Tab Separated Values","image/tiff":"TIFF","application/vnd.tao.intent-module-archive":"Tao Intent","application/x-tar":"Tar File","application/x-tcl":"Tcl Script","application/x-tex":"TeX","application/x-tex-tfm":"TeX Font Metric","application/tei+xml":"Text Encoding and Interchange","text/plain":"Text","application/vnd.spotfire.dxp":"TIBCO Spotfire","application/vnd.spotfire.sfs":"TIBCO Spotfire","application/timestamped-data":"Time Stamped Data Envelope","application/vnd.trid.tpt":"TRI Systems Config","application/vnd.triscape.mxs":"Triscape Map Explorer","text/troff":"troff","application/vnd.trueapp":"True BASIC","application/x-font-ttf":"TrueType Font","text/turtle":"Turtle (Terse RDF Triple Language)","application/vnd.umajin":"UMAJIN","application/vnd.uoml+xml":"Unique Object Markup Language","application/vnd.unity":"Unity 3d","application/vnd.ufdl":"Universal Forms Description Language","text/uri-list":"URI Resolution Services","application/vnd.uiq.theme":"User Interface Quartz - Theme (Symbian)","application/x-ustar":"Ustar (Uniform Standard Tape Archive)","text/x-uuencode":"UUEncode","text/x-vcalendar":"vCalendar","text/x-vcard":"vCard","application/x-cdlink":"Video CD","application/vnd.vsf":"Viewport+","model/vrml":"Virtual Reality Modeling Language","application/vnd.vcx":"VirtualCatalog","model/vnd.mts":"Virtue MTS","model/vnd.vtu":"Virtue VTU","application/vnd.visionary":"Visionary","video/vnd.vivo":"Vivo","application/ccxml+xml,":"Voice Browser Call Control","application/voicexml+xml":"VoiceXML","application/x-wais-source":"WAIS Source","application/vnd.wap.wbxml":"WAP Binary XML (WBXML)","image/vnd.wap.wbmp":"WBMP","audio/x-wav":"WAV","application/davmount+xml":"Web Distributed Authoring and Versioning","application/x-font-woff":"WOFF","application/wspolicy+xml":"Web Services Policy","image/webp":"WebP","application/vnd.webturbo":"WebTurbo","application/widget":"Widget Packaging and XML Configuration","application/winhlp":"WinHelp","text/vnd.wap.wml":"WML","text/vnd.wap.wmlscript":"WMLScript","application/vnd.wap.wmlscriptc":"WMLScript","application/vnd.wordperfect":"Wordperfect","application/vnd.wt.stf":"Worldtalk","application/wsdl+xml":"WSDL","image/x-xbitmap":"X BitMap","image/x-xpixmap":"X PixMap","image/x-xwindowdump":"X Window Dump","application/x-x509-ca-cert":"X.509 Certificate","application/x-xfig":"Xfig","application/xhtml+xml":"XHTML","application/xml":"XML","application/xcap-diff+xml":"XML Configuration Access Protocol - XCAP Diff","application/xenc+xml":"XML Encryption Syntax and Processing","application/patch-ops-error+xml":"XML Patch Framework","application/resource-lists+xml":"XML Resource Lists","application/rls-services+xml":"XML Resource Lists","application/resource-lists-diff+xml":"XML Resource Lists Diff","application/xslt+xml":"XML Transformations","application/xop+xml":"XML-Binary Optimized Packaging","application/x-xpinstall":"XPInstall - Mozilla","application/xspf+xml":"XSPF - XML Shareable Playlist Format","application/vnd.mozilla.xul+xml":"XUL - XML User Interface Language","chemical/x-xyz":"XYZ File Format","text/yaml":"YAML","application/yang":"YANG Data Modeling Language","application/yin+xml":"YIN (YANG - XML)","application/vnd.zul":"Z.U.L. Geometry","application/zip":"Zip Archive","application/vnd.handheld-entertainment+xml":"ZVUE Media Manager","application/vnd.zzazz.deck+xml":"Zzazz Deck"};function cm(n,e=!1){return e?$me[n]||null:Nme[n]||null}function Ys(n,e){const t=new URL(`assets/${n}`,v_());return e&&t.searchParams.set("download",""),t.href}const Bme={key:0,class:"extension"},jme=Lt({__name:"file",props:{value:{default:null}},setup(n){const e=n,t=Pe(),i=Pe(!1),o=we(()=>e.value?cm(e.value.type,!0):null),r=we(()=>{var a,s;return e.value?(a=e.value.type)!=null&&a.includes("svg")?Ys(e.value.id):((s=e.value.type)==null?void 0:s.includes("image"))===!1?null:Ys(`${e.value.id}?key=system-small-cover`):null});return(a,s)=>{var f,g;const l=q("v-image"),d=q("v-icon");return r.value&&!i.value?(V(),me(l,{key:0,src:r.value,class:An({"is-svg":a.value&&((f=a.value.type)==null?void 0:f.includes("svg"))}),alt:(g=a.value)==null?void 0:g.title,onError:s[0]||(s[0]=v=>i.value=!0)},null,8,["src","class","alt"])):(V(),De("div",{key:1,ref_key:"previewEl",ref:t,class:"preview"},[o.value?(V(),De("span",Bme,de(o.value),1)):(V(),me(d,{key:1,name:"folder_open"}))],512))}}}),Vme=qt(jme,[["__scopeId","data-v-0740e758"]]),Hme=jd({id:"file",name:"$t:displays.file.file",description:"$t:displays.file.description",icon:"insert_drive_file",component:Vme,types:["uuid"],localTypes:["file"],options:[],fields:["id","type","title"]});function _3(n=0,e=!0){const t=e?1e3:1024;if(!n)return"--";if(Math.abs(n)<t)return`${n} B`;const i=e?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let o=-1,r=n;do r/=t,o+=1;while(Math.abs(r)>=t&&o<i.length-1);return`${r.toFixed(1)} ${i[o]}`}const Ume=jd({id:"filesize",name:"$t:displays.filesize.filesize",description:"$t:displays.filesize.description",icon:"description",component:({value:n})=>v3("span",null,_3(n)),handler:n=>_3(n),options:[],types:["integer","bigInteger"]}),Wme=["onClick"],qme={class:"label"},Gme={key:2},Yme=Lt({__name:"formatted-json-value",props:{value:{default:null},format:{default:null}},setup(n){const e=n,{t}=vn(),i=we(()=>{if(!e.value)return null;try{return Array.isArray(e.value)?e.value.map(r=>o(r)):[o(e.value)]}catch{return null}});function o(r){return e.format?rm(e.format,r):rm("{{ value }}",{value:r})}return(r,a)=>{const s=q("value-null"),l=q("v-list-item-content"),d=q("v-list-item"),f=q("v-list"),g=q("v-menu");return i.value?i.value.length>1?(V(),me(g,{key:1,"show-arrow":""},{activator:P(({toggle:v})=>[xe("span",{class:"toggle",onClick:po(v,["stop"])},[xe("span",qme,de(i.value.length)+" "+de(h(t)("items")),1)],8,Wme)]),default:P(()=>[A(f,{class:"links"},{default:P(()=>[(V(!0),De(_n,null,Ii(i.value,(v,b)=>(V(),me(d,{key:b},{default:P(()=>[A(l,null,{default:P(()=>[Fe(de(v),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})):(V(),De("span",Gme,de(i.value[0]),1)):(V(),me(s,{key:0}))}}}),Xme=jd({id:"formatted-json-value",name:"$t:displays.formatted-json-value.formatted-json-value",description:"$t:displays.formatted-json-value.description",types:["json","geometry"],icon:"settings_ethernet",component:Yme,handler:(n,e)=>qu(n).map(t=>e.format?rm(t,e.format):t).join(", "),options:[{field:"format",name:"$t:display_template",type:"string",meta:{width:"full",interface:"input",options:{placeholder:"{{ field }}"}}}]});/*! @license DOMPurify 3.1.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.2/LICENSE */const{entries:jP,setPrototypeOf:yA,isFrozen:Kme,getPrototypeOf:Zme,getOwnPropertyDescriptor:Jme}=Object;let{freeze:Zf,seal:Vp,create:VP}=Object,{apply:ew,construct:tw}=typeof Reflect<"u"&&Reflect;Zf||(Zf=function(e){return e});Vp||(Vp=function(e){return e});ew||(ew=function(e,t,i){return e.apply(t,i)});tw||(tw=function(e,t){return new e(...t)});const D5=up(Array.prototype.forEach),_A=up(Array.prototype.pop),Ay=up(Array.prototype.push),N6=up(String.prototype.toLowerCase),s9=up(String.prototype.toString),bA=up(String.prototype.match),Ty=up(String.prototype.replace),Qme=up(String.prototype.indexOf),e2e=up(String.prototype.trim),lh=up(Object.prototype.hasOwnProperty),g1=up(RegExp.prototype.test),Ly=t2e(TypeError);function up(n){return function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return ew(n,e,i)}}function t2e(n){return function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return tw(n,t)}}function Xr(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:N6;yA&&yA(n,null);let i=e.length;for(;i--;){let o=e[i];if(typeof o=="string"){const r=t(o);r!==o&&(Kme(e)||(e[i]=r),o=r)}n[o]=!0}return n}function n2e(n){for(let e=0;e<n.length;e++)lh(n,e)||(n[e]=null);return n}function sg(n){const e=VP(null);for(const[t,i]of jP(n))lh(n,t)&&(Array.isArray(i)?e[t]=n2e(i):i&&typeof i=="object"&&i.constructor===Object?e[t]=sg(i):e[t]=i);return e}function P5(n,e){for(;n!==null;){const i=Jme(n,e);if(i){if(i.get)return up(i.get);if(typeof i.value=="function")return up(i.value)}n=Zme(n)}function t(){return null}return t}const xA=Zf(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),l9=Zf(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),c9=Zf(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),i2e=Zf(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),u9=Zf(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),o2e=Zf(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),wA=Zf(["#text"]),kA=Zf(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),d9=Zf(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),CA=Zf(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),O5=Zf(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),a2e=Vp(/\{\{[\w\W]*|[\w\W]*\}\}/gm),r2e=Vp(/<%[\w\W]*|[\w\W]*%>/gm),s2e=Vp(/\${[\w\W]*}/gm),l2e=Vp(/^data-[\-\w.\u00B7-\uFFFF]/),c2e=Vp(/^aria-[\-\w]+$/),HP=Vp(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),u2e=Vp(/^(?:\w+script|data):/i),d2e=Vp(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),UP=Vp(/^html$/i),f2e=Vp(/^[a-z][.\w]*(-[.\w]+)+$/i);var SA=Object.freeze({__proto__:null,MUSTACHE_EXPR:a2e,ERB_EXPR:r2e,TMPLIT_EXPR:s2e,DATA_ATTR:l2e,ARIA_ATTR:c2e,IS_ALLOWED_URI:HP,IS_SCRIPT_OR_DATA:u2e,ATTR_WHITESPACE:d2e,DOCTYPE_NAME:UP,CUSTOM_ELEMENT:f2e});const p2e=function(){return typeof window>"u"?null:window},h2e=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let i=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(i=t.getAttribute(o));const r="dompurify"+(i?"#"+i:"");try{return e.createPolicy(r,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}};function WP(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p2e();const e=Gn=>WP(Gn);if(e.version="3.1.2",e.removed=[],!n||!n.document||n.document.nodeType!==9)return e.isSupported=!1,e;let{document:t}=n;const i=t,o=i.currentScript,{DocumentFragment:r,HTMLTemplateElement:a,Node:s,Element:l,NodeFilter:d,NamedNodeMap:f=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:g,DOMParser:v,trustedTypes:b}=n,x=l.prototype,k=P5(x,"cloneNode"),S=P5(x,"nextSibling"),O=P5(x,"childNodes"),w=P5(x,"parentNode");if(typeof a=="function"){const Gn=t.createElement("template");Gn.content&&Gn.content.ownerDocument&&(t=Gn.content.ownerDocument)}let D,I="";const{implementation:$,createNodeIterator:B,createDocumentFragment:X,getElementsByTagName:Y}=t,{importNode:Q}=i;let ue={};e.isSupported=typeof jP=="function"&&typeof w=="function"&&$&&$.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:ce,ERB_EXPR:ve,TMPLIT_EXPR:ie,DATA_ATTR:se,ARIA_ATTR:te,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:Ee,CUSTOM_ELEMENT:Ce}=SA;let{IS_ALLOWED_URI:je}=SA,tt=null;const nt=Xr({},[...xA,...l9,...c9,...u9,...wA]);let Se=null;const Te=Xr({},[...kA,...d9,...CA,...O5]);let lt=Object.seal(VP(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ot=null,St=null,Et=!0,It=!0,_t=!1,Qt=!0,zt=!1,Nt=!0,kt=!1,Ct=!1,Bt=!1,ut=!1,sn=!1,dn=!1,Gt=!0,yt=!1;const cn="user-content-";let gn=!0,mn=!1,Xt={},In=null;const $n=Xr({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Hn=null;const Xn=Xr({},["audio","video","img","source","image","track"]);let Cn=null;const Pn=Xr({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Tn="http://www.w3.org/1998/Math/MathML",si="http://www.w3.org/2000/svg",Rn="http://www.w3.org/1999/xhtml";let Pi=Rn,Ai=!1,vi=null;const oo=Xr({},[Tn,si,Rn],s9);let Ci=null;const Kn=["application/xhtml+xml","text/html"],fo="text/html";let Yi=null,Bi=null;const Lo=255,$t=t.createElement("form"),Ht=function(kn){return kn instanceof RegExp||kn instanceof Function},ze=function(){let kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Bi&&Bi===kn)){if((!kn||typeof kn!="object")&&(kn={}),kn=sg(kn),Ci=Kn.indexOf(kn.PARSER_MEDIA_TYPE)===-1?fo:kn.PARSER_MEDIA_TYPE,Yi=Ci==="application/xhtml+xml"?s9:N6,tt=lh(kn,"ALLOWED_TAGS")?Xr({},kn.ALLOWED_TAGS,Yi):nt,Se=lh(kn,"ALLOWED_ATTR")?Xr({},kn.ALLOWED_ATTR,Yi):Te,vi=lh(kn,"ALLOWED_NAMESPACES")?Xr({},kn.ALLOWED_NAMESPACES,s9):oo,Cn=lh(kn,"ADD_URI_SAFE_ATTR")?Xr(sg(Pn),kn.ADD_URI_SAFE_ATTR,Yi):Pn,Hn=lh(kn,"ADD_DATA_URI_TAGS")?Xr(sg(Xn),kn.ADD_DATA_URI_TAGS,Yi):Xn,In=lh(kn,"FORBID_CONTENTS")?Xr({},kn.FORBID_CONTENTS,Yi):$n,Ot=lh(kn,"FORBID_TAGS")?Xr({},kn.FORBID_TAGS,Yi):{},St=lh(kn,"FORBID_ATTR")?Xr({},kn.FORBID_ATTR,Yi):{},Xt=lh(kn,"USE_PROFILES")?kn.USE_PROFILES:!1,Et=kn.ALLOW_ARIA_ATTR!==!1,It=kn.ALLOW_DATA_ATTR!==!1,_t=kn.ALLOW_UNKNOWN_PROTOCOLS||!1,Qt=kn.ALLOW_SELF_CLOSE_IN_ATTR!==!1,zt=kn.SAFE_FOR_TEMPLATES||!1,Nt=kn.SAFE_FOR_XML!==!1,kt=kn.WHOLE_DOCUMENT||!1,ut=kn.RETURN_DOM||!1,sn=kn.RETURN_DOM_FRAGMENT||!1,dn=kn.RETURN_TRUSTED_TYPE||!1,Bt=kn.FORCE_BODY||!1,Gt=kn.SANITIZE_DOM!==!1,yt=kn.SANITIZE_NAMED_PROPS||!1,gn=kn.KEEP_CONTENT!==!1,mn=kn.IN_PLACE||!1,je=kn.ALLOWED_URI_REGEXP||HP,Pi=kn.NAMESPACE||Rn,lt=kn.CUSTOM_ELEMENT_HANDLING||{},kn.CUSTOM_ELEMENT_HANDLING&&Ht(kn.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(lt.tagNameCheck=kn.CUSTOM_ELEMENT_HANDLING.tagNameCheck),kn.CUSTOM_ELEMENT_HANDLING&&Ht(kn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(lt.attributeNameCheck=kn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),kn.CUSTOM_ELEMENT_HANDLING&&typeof kn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(lt.allowCustomizedBuiltInElements=kn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),zt&&(It=!1),sn&&(ut=!0),Xt&&(tt=Xr({},wA),Se=[],Xt.html===!0&&(Xr(tt,xA),Xr(Se,kA)),Xt.svg===!0&&(Xr(tt,l9),Xr(Se,d9),Xr(Se,O5)),Xt.svgFilters===!0&&(Xr(tt,c9),Xr(Se,d9),Xr(Se,O5)),Xt.mathMl===!0&&(Xr(tt,u9),Xr(Se,CA),Xr(Se,O5))),kn.ADD_TAGS&&(tt===nt&&(tt=sg(tt)),Xr(tt,kn.ADD_TAGS,Yi)),kn.ADD_ATTR&&(Se===Te&&(Se=sg(Se)),Xr(Se,kn.ADD_ATTR,Yi)),kn.ADD_URI_SAFE_ATTR&&Xr(Cn,kn.ADD_URI_SAFE_ATTR,Yi),kn.FORBID_CONTENTS&&(In===$n&&(In=sg(In)),Xr(In,kn.FORBID_CONTENTS,Yi)),gn&&(tt["#text"]=!0),kt&&Xr(tt,["html","head","body"]),tt.table&&(Xr(tt,["tbody"]),delete Ot.tbody),kn.TRUSTED_TYPES_POLICY){if(typeof kn.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ly('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof kn.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ly('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');D=kn.TRUSTED_TYPES_POLICY,I=D.createHTML("")}else D===void 0&&(D=h2e(b,o)),D!==null&&typeof I=="string"&&(I=D.createHTML(""));Zf&&Zf(kn),Bi=kn}},Ze=Xr({},["mi","mo","mn","ms","mtext"]),it=Xr({},["foreignobject","annotation-xml"]),ft=Xr({},["title","style","font","a","script"]),Ft=Xr({},[...l9,...c9,...i2e]),Kt=Xr({},[...u9,...o2e]),pn=function(kn){let Ye=w(kn);(!Ye||!Ye.tagName)&&(Ye={namespaceURI:Pi,tagName:"template"});const u=N6(kn.tagName),p=N6(Ye.tagName);return vi[kn.namespaceURI]?kn.namespaceURI===si?Ye.namespaceURI===Rn?u==="svg":Ye.namespaceURI===Tn?u==="svg"&&(p==="annotation-xml"||Ze[p]):!!Ft[u]:kn.namespaceURI===Tn?Ye.namespaceURI===Rn?u==="math":Ye.namespaceURI===si?u==="math"&&it[p]:!!Kt[u]:kn.namespaceURI===Rn?Ye.namespaceURI===si&&!it[p]||Ye.namespaceURI===Tn&&!Ze[p]?!1:!Kt[u]&&(ft[u]||!Ft[u]):!!(Ci==="application/xhtml+xml"&&vi[kn.namespaceURI]):!1},Ut=function(kn){Ay(e.removed,{element:kn});try{kn.parentNode.removeChild(kn)}catch{kn.remove()}},At=function(kn,Ye){try{Ay(e.removed,{attribute:Ye.getAttributeNode(kn),from:Ye})}catch{Ay(e.removed,{attribute:null,from:Ye})}if(Ye.removeAttribute(kn),kn==="is"&&!Se[kn])if(ut||sn)try{Ut(Ye)}catch{}else try{Ye.setAttribute(kn,"")}catch{}},tn=function(kn){let Ye=null,u=null;if(Bt)kn="<remove></remove>"+kn;else{const L=bA(kn,/^[\r\n\t ]+/);u=L&&L[0]}Ci==="application/xhtml+xml"&&Pi===Rn&&(kn='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+kn+"</body></html>");const p=D?D.createHTML(kn):kn;if(Pi===Rn)try{Ye=new v().parseFromString(p,Ci)}catch{}if(!Ye||!Ye.documentElement){Ye=$.createDocument(Pi,"template",null);try{Ye.documentElement.innerHTML=Ai?I:p}catch{}}const _=Ye.body||Ye.documentElement;return kn&&u&&_.insertBefore(t.createTextNode(u),_.childNodes[0]||null),Pi===Rn?Y.call(Ye,kt?"html":"body")[0]:kt?Ye.documentElement:_},gi=function(kn){return B.call(kn.ownerDocument||kn,kn,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},Ti=function(kn){return kn instanceof g&&(typeof kn.__depth<"u"&&typeof kn.__depth!="number"||typeof kn.__removalCount<"u"&&typeof kn.__removalCount!="number"||typeof kn.nodeName!="string"||typeof kn.textContent!="string"||typeof kn.removeChild!="function"||!(kn.attributes instanceof f)||typeof kn.removeAttribute!="function"||typeof kn.setAttribute!="function"||typeof kn.namespaceURI!="string"||typeof kn.insertBefore!="function"||typeof kn.hasChildNodes!="function")},Qn=function(kn){return typeof s=="function"&&kn instanceof s},_i=function(kn,Ye,u){ue[kn]&&D5(ue[kn],p=>{p.call(e,Ye,u,Bi)})},Ji=function(kn){let Ye=null;if(_i("beforeSanitizeElements",kn,null),Ti(kn))return Ut(kn),!0;const u=Yi(kn.nodeName);if(_i("uponSanitizeElement",kn,{tagName:u,allowedTags:tt}),kn.hasChildNodes()&&!Qn(kn.firstElementChild)&&g1(/<[/\w]/g,kn.innerHTML)&&g1(/<[/\w]/g,kn.textContent)||kn.nodeType===7||Nt&&kn.nodeType===8&&g1(/<[/\w]/g,kn.data))return Ut(kn),!0;if(!tt[u]||Ot[u]){if(!Ot[u]&&go(u)&&(lt.tagNameCheck instanceof RegExp&&g1(lt.tagNameCheck,u)||lt.tagNameCheck instanceof Function&<.tagNameCheck(u)))return!1;if(gn&&!In[u]){const p=w(kn)||kn.parentNode,_=O(kn)||kn.childNodes;if(_&&p){const L=_.length;for(let F=L-1;F>=0;--F){const z=k(_[F],!0);z.__removalCount=(kn.__removalCount||0)+1,p.insertBefore(z,S(kn))}}}return Ut(kn),!0}return kn instanceof l&&!pn(kn)||(u==="noscript"||u==="noembed"||u==="noframes")&&g1(/<\/no(script|embed|frames)/i,kn.innerHTML)?(Ut(kn),!0):(zt&&kn.nodeType===3&&(Ye=kn.textContent,D5([ce,ve,ie],p=>{Ye=Ty(Ye,p," ")}),kn.textContent!==Ye&&(Ay(e.removed,{element:kn.cloneNode()}),kn.textContent=Ye)),_i("afterSanitizeElements",kn,null),!1)},no=function(kn,Ye,u){if(Gt&&(Ye==="id"||Ye==="name")&&(u in t||u in $t))return!1;if(!(It&&!St[Ye]&&g1(se,Ye))){if(!(Et&&g1(te,Ye))){if(!Se[Ye]||St[Ye]){if(!(go(kn)&&(lt.tagNameCheck instanceof RegExp&&g1(lt.tagNameCheck,kn)||lt.tagNameCheck instanceof Function&<.tagNameCheck(kn))&&(lt.attributeNameCheck instanceof RegExp&&g1(lt.attributeNameCheck,Ye)||lt.attributeNameCheck instanceof Function&<.attributeNameCheck(Ye))||Ye==="is"&<.allowCustomizedBuiltInElements&&(lt.tagNameCheck instanceof RegExp&&g1(lt.tagNameCheck,u)||lt.tagNameCheck instanceof Function&<.tagNameCheck(u))))return!1}else if(!Cn[Ye]){if(!g1(je,Ty(u,Ee,""))){if(!((Ye==="src"||Ye==="xlink:href"||Ye==="href")&&kn!=="script"&&Qme(u,"data:")===0&&Hn[kn])){if(!(_t&&!g1(ye,Ty(u,Ee,"")))){if(u)return!1}}}}}}return!0},go=function(kn){return kn!=="annotation-xml"&&bA(kn,Ce)},di=function(kn){_i("beforeSanitizeAttributes",kn,null);const{attributes:Ye}=kn;if(!Ye)return;const u={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};let p=Ye.length;for(;p--;){const _=Ye[p],{name:L,namespaceURI:F,value:z}=_,U=Yi(L);let J=L==="value"?z:e2e(z);if(u.attrName=U,u.attrValue=J,u.keepAttr=!0,u.forceKeepAttr=void 0,_i("uponSanitizeAttribute",kn,u),J=u.attrValue,u.forceKeepAttr||(At(L,kn),!u.keepAttr))continue;if(!Qt&&g1(/\/>/i,J)){At(L,kn);continue}zt&&D5([ce,ve,ie],he=>{J=Ty(J,he," ")});const oe=Yi(kn.nodeName);if(no(oe,U,J)){if(yt&&(U==="id"||U==="name")&&(At(L,kn),J=cn+J),D&&typeof b=="object"&&typeof b.getAttributeType=="function"&&!F)switch(b.getAttributeType(oe,U)){case"TrustedHTML":{J=D.createHTML(J);break}case"TrustedScriptURL":{J=D.createScriptURL(J);break}}try{F?kn.setAttributeNS(F,L,J):kn.setAttribute(L,J),_A(e.removed)}catch{}}}_i("afterSanitizeAttributes",kn,null)},Wi=function Gn(kn){let Ye=null;const u=gi(kn);for(_i("beforeSanitizeShadowDOM",kn,null);Ye=u.nextNode();){if(_i("uponSanitizeShadowNode",Ye,null),Ji(Ye))continue;const p=w(Ye);Ye.nodeType===1&&(p&&p.__depth?Ye.__depth=(Ye.__removalCount||0)+p.__depth+1:Ye.__depth=1),Ye.__depth>=Lo&&Ut(Ye),Ye.content instanceof r&&(Ye.content.__depth=Ye.__depth,Gn(Ye.content)),di(Ye)}_i("afterSanitizeShadowDOM",kn,null)};return e.sanitize=function(Gn){let kn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ye=null,u=null,p=null,_=null;if(Ai=!Gn,Ai&&(Gn="<!-->"),typeof Gn!="string"&&!Qn(Gn))if(typeof Gn.toString=="function"){if(Gn=Gn.toString(),typeof Gn!="string")throw Ly("dirty is not a string, aborting")}else throw Ly("toString is not a function");if(!e.isSupported)return Gn;if(Ct||ze(kn),e.removed=[],typeof Gn=="string"&&(mn=!1),mn){if(Gn.nodeName){const z=Yi(Gn.nodeName);if(!tt[z]||Ot[z])throw Ly("root node is forbidden and cannot be sanitized in-place")}}else if(Gn instanceof s)Ye=tn("<!---->"),u=Ye.ownerDocument.importNode(Gn,!0),u.nodeType===1&&u.nodeName==="BODY"||u.nodeName==="HTML"?Ye=u:Ye.appendChild(u);else{if(!ut&&!zt&&!kt&&Gn.indexOf("<")===-1)return D&&dn?D.createHTML(Gn):Gn;if(Ye=tn(Gn),!Ye)return ut?null:dn?I:""}Ye&&Bt&&Ut(Ye.firstChild);const L=gi(mn?Gn:Ye);for(;p=L.nextNode();){if(Ji(p))continue;const z=w(p);p.nodeType===1&&(z&&z.__depth?p.__depth=(p.__removalCount||0)+z.__depth+1:p.__depth=1),p.__depth>=Lo&&Ut(p),p.content instanceof r&&(p.content.__depth=p.__depth,Wi(p.content)),di(p)}if(mn)return Gn;if(ut){if(sn)for(_=X.call(Ye.ownerDocument);Ye.firstChild;)_.appendChild(Ye.firstChild);else _=Ye;return(Se.shadowroot||Se.shadowrootmode)&&(_=Q.call(i,_,!0)),_}let F=kt?Ye.outerHTML:Ye.innerHTML;return kt&&tt["!doctype"]&&Ye.ownerDocument&&Ye.ownerDocument.doctype&&Ye.ownerDocument.doctype.name&&g1(UP,Ye.ownerDocument.doctype.name)&&(F="<!DOCTYPE "+Ye.ownerDocument.doctype.name+`>
|
|
52
|
+
`,dont_have_an_account:"Don't have an account?",already_have_an_account:"Already have an account?",sign_up_now:"Sign up now",sign_in:"Sign In",sign_out:"Sign Out",sign_out_confirm:"Are you sure you want to sign out?",something_went_wrong:"Something went wrong.",sort_direction:"Sort Direction",export_location:"Export Location",export_started:"Export Started",export_started_copy:"Your export has started. You'll be notified when it's ready to download.",sort_asc:"Sort Ascending",sort_desc:"Sort Descending",disable_sort:"Disable Sorting",template:"Template",require_value_to_be_set:"Require value to be set on creation",translation:"Translation",translation_placeholder:"Enter a translation...",value:"Value",view_project:"View Project",report_error:"Report Error",start:"Start",table:"Table",list:"List",search_filter:"Search & Filter",enable_search_filter:"Enable searching & filtering",item_link:"Item link",show_link_to_item:"Show a link to the item",navigate_to_item:"Navigate to Item",undo_removed_item:"Undo Removed Item",remove_item:"Remove Item",delete_item:"Delete Item",interfaces:{"list-m2a":{prefix_note:"Uses the related item's collection name by default.",sorting_disabled:"Sorting is disabled because there are more items than can fit on one page."},filter:{name:"Filter",description:"Configure a filter object.",add_filter:"Add Filter",add_group:"And / Or group",add_value:"Add Value",logic_type_and:"AND",logic_type_or:"OR",all:"All",any:"Any",and:"and",of_the_following:"of the following",no_rules:"No configured rules",change_value:"Click to change value",placeholder:"Drag rules here",add_key_placeholder:"Add a key and press enter..."},fields:{name:"Fields"},"group-accordion":{name:"Accordion",description:"Display fields or groups as accordion sections",start:"Start",all_closed:"All Closed",first_opened:"First Opened",all_opened:"All Opened",accordion_mode:"Accordion Mode",max_one_section_open:"Max 1 Section Open"},"presentation-links":{"presentation-links":"Button Links",links:"Links",description:"Configurable link buttons for launching dynamic URLs",style:"Style",primary:"Primary",link:"Links",button:"Buttons",error:"Cannot perform action"},"select-multiple-checkbox":{checkboxes:"Checkboxes",description:"Choose between multiple options via checkboxes",allow_other:"Allow Other",show_more:"Show {count} more",items_shown:"Items Shown"},"select-multiple-checkbox-tree":{name:"Checkboxes (Tree)",description:"Choose between multiple options via nested checkboxes",value_combining:"Value Combining",value_combining_note:"Controls what value is stored when nested selections are made.",show_all:"Show All",show_selected:"Show Selected"},"input-code":{code:"Code",description:"Write or share code snippets",line_number:"Line Number",line_wrapping:"Line Wrapping",placeholder:"Enter code here..."},"system-collection":{collection:"Collection",description:"Select between existing collections",include_system_collections:"Include System Collections"},"system-collections":{collections:"Collections",description:"Select between existing collections",include_system_collections:"Include System Collections"},"select-color":{color:"Color",description:"Enter or select a color value",placeholder:"Choose a color...",preset_colors:"Preset Colors",opacity:"Opacity",preset_colors_add_label:"Add new color...",name_placeholder:"Enter color name..."},datetime:{datetime:"Datetime",description:"Enter dates and times",include_seconds:"Include Seconds",set_to_now:"Set to Now",use_24:"Use 24-Hour Format",placeholder:"Choose a datetime..."},"system-fields":{select_a_collection:"Select a Collection",no_fields:"No fields"},"system-display-template":{"display-template":"Display Template",description:"Mix static text and dynamic field values",collection_field:"Collection field",collection_field_not_setup:"The collection field option is misconfigured",select_a_collection:"Select a Collection"},"presentation-divider":{divider:"Divider",description:"Label and divide fields into sections",title_placeholder:"Enter a title, or leave blank to only show a line...",inline_title:"Inline Title",inline_title_label:"Show title inside line",margin_top:"Margin Top",margin_top_label:"Increase Top Margin"},"select-dropdown":{description:"Select a value from a dropdown",choices_placeholder:"Add a new choice",allow_other:"Allow Other",allow_other_label:"Allow Other Values",allow_none:"Allow None",allow_none_label:"Allow No Selection",choices_name_placeholder:"Enter a name...",choices_value_placeholder:"Enter a value...",preview_threshold:"Preview Threshold"},"select-multiple-dropdown":{"select-multiple-dropdown":"Dropdown (Multiple)",description:"Select multiple values from a dropdown"},file:{file:"File",description:"Select or upload a file"},files:{files:"Files",description:"Select or upload multiple files"},"input-hash":{hash:"Hash",description:"Enter a value to be hashed",masked:"Masked",masked_label:"Hide the true values"},"select-icon":{icon:"Icon",description:"Select an icon from a dropdown",search_for_icon:"Search for icon..."},"file-image":{image:"Image",description:"Select or upload an image",crop:"Crop to Fit",crop_label:"Crop image as needed"},"system-interface":{interface:"Interface",description:"Select an existing interface",placeholder:"Select an interface..."},"system-interface-options":{"interface-options":"Interface Options",description:"A modal for selecting options of an interface"},"system-display":{display:"Display",description:"Select an existing display",placeholder:"Select an display..."},"system-display-options":{"display-options":"Display Options",description:"A modal for selecting options of a display"},"list-m2m":{"many-to-many":"Many to Many",description:"Select multiple related junction items",columns_configure_notice:"You can configure the columns after creating this field.",display_template_configure_notice:"You can configure the display template after creating this field."},"select-dropdown-m2o":{"many-to-one":"Many to One",description:"Select a single related item",display_template:"Display Template"},"collection-item-dropdown":{"collection-item-dropdown":"Collection Item Dropdown",description:"Select an item from a collection in JSON format"},"input-rich-text-md":{markdown:"Markdown",description:"Enter and preview markdown",edit:"Edit",preview:"Preview",editorFont:"Editor Font",previewFont:"Preview Font",customSyntax:"Custom Blocks",customSyntax_label:"Add custom syntax types",customSyntax_add:"Add custom syntax",box:"Block / Inline",imageToken:"Static Access Token",imageToken_label:"Static access token is appended to the assets' URL"},map:{map:"Map",description:"Select a location on a map",zoom:"Zoom",geometry_type:"Geometry Type",geometry_format:"Geometry Format",default_view:"Default View",invalid_options:"Invalid options",invalid_format:"Invalid format ({format})",unexpected_geometry:"Expected {expected}, got {got}.",fit_bounds:"Fit view to data",native:"Native",geojson:"GeoJSON",lnglat:"Longitude, Latitude",wkt:"WKT",wkb:"WKB",click_to_select:"Click to select {geometry}"},"presentation-notice":{notice:"Notice",description:"Display a short notice",text:"Enter notice content here...",no_text:"No text configured..."},"list-o2m":{"one-to-many":"One to Many",description:"Select multiple related items",no_collection:"The collection could not be found"},"system-folder":{folder:"Root Folder",description:"Select a folder",field_hint:"Default folder for uploaded files without a folder specified. Does not affect existing files.",root_name:"File Library Root",system_default:"System Defaults"},"select-radio":{"radio-buttons":"Radio Buttons",description:"Select one of multiple choices"},list:{repeater:"Repeater",description:"Create multiple entries of the same structure",edit_fields:"Edit Fields",add_label:'"Create New" Label',sort:"Sort",sort_placeholder:"Manual",field_note_placeholder:"Enter field note...",incompatible_data:"The current data is not compatible with the repeater interface and will be overridden when adding items to the repeater",interface_group:"Interface Options",display_group:"Display Options"},slider:{slider:"Slider",description:"Select a number using a slider",always_show_value:"Always show value"},tags:{tags:"Tags",description:"Select or add tags",whitespace:"Whitespace",hyphen:"Replace with hyphen",underscore:"Replace with underscore",remove:"Remove whitespace",capitalization:"Capitalization",uppercase:"Convert Uppercase",lowercase:"Convert Lowercase",auto_formatter:"Use Title Auto-Formatter",alphabetize:"Alphabetize",alphabetize_label:"Force Alphabetical Order",add_tags:"Add a tag and press Enter..."},input:{input:"Input",description:"Manually enter a value",trim:"Trim",trim_label:"Trim the start and end",mask:"Masked",mask_label:"Hide the real value",clear:"Cleared Value",clear_label:"Save as empty string",minimum_value:"Minimum Value",maximum_value:"Maximum Value",step_interval:"Step Interval",slug:"Slugify",slug_label:"Make entered value URL safe"},"input-multiline":{textarea:"Textarea",description:"Enter multiline plain-text"},"input-translated-string":{"input-translated-string":"Translated Strings",description:"Select or add custom translation",search_placeholder:"Search...",new_custom_translation:"New Custom Translation"},boolean:{toggle:"Toggle",description:"Switch between on and off",color_on:"Color On",color_off:"Color Off",label_placeholder:"Enter a label...",label_default:"Enabled"},translations:{display_template:"Display Template",no_collection:"No Collection",toggle_split_view:"Toggle Split View",enable:"Enable",default_split_view_state:"Default Split View State",user_language:"Use Current User Language",default_language:"Default Language",language_field:"Language Indicator Field",language_direction_field:"Language Direction Field"},"list-o2m-tree-view":{description:"Tree view for nested recursive one-to-many items",recursive_only:"The tree view interface only works for recursive relationships."},user:{user:"User",description:"Select an existing directus user",select_mode:"Select Mode",modes:{auto:"Auto",dropdown:"Dropdown",modal:"Modal"}},"input-rich-text-html":{wysiwyg:"WYSIWYG",description:"A rich-text editor writing HTML content",toolbar:"Toolbar",custom_formats:"Custom Formats",custom_formats_note:"List of TinyMCE Content Formats. See the TinyMCE documentation about [Content Formatting](https://www.tiny.cloud/docs/tinymce/latest/content-formatting/) for more information.",options_override:"Options Override",options_override_note:"The TinyMCE User Formatting keys and their values. See the TinyMCE documentation about [User Formatting](https://www.tiny.cloud/docs/tinymce/latest/user-formatting-options/) for more information.",folder_note:"Folder for uploaded files. Does not affect existing files.",imageToken:"Static Access Token",imageToken_label:"Static access token is appended to the assets' URL"},"input-block-editor":{"input-block-editor":"Block Editor",description:"Block-styled editor for rich media stories, outputs clean data in JSON using Editor.js",tools:"Toolbar",tools_options:{header:"Header",nestedlist:"List",embed:"Embed",paragraph:"Paragraph",code:"Code",image:"Image",attaches:"Attaches",table:"Table",quote:"Quote",underline:"Underline",inlinecode:"Inline Code",delimiter:"Delimiter",checklist:"Checklist",toggle:"Toggle Block",alignment:"Alignment",raw:"Raw HTML"}},"input-autocomplete-api":{"input-autocomplete-api":"Autocomplete Input (API)",description:"A search typeahead for external API values.",results_path:"Results Path",value_path:"Value Path",text_path:"Text Path",trigger:"Trigger",rate:"Rate"},"group-raw":{name:"Raw Group",description:"Render the fields as-is"},"group-detail":{name:"Detail Group",description:"Render the fields as a collapsable section",show_header:"Show Group Header",header_icon:"Header Icon",header_color:"Header Color",start_open:"Start Open",start_closed:"Start Closed"},"system-token":{"system-token":"Token",description:"Manage static access token",placeholder:'Click "Generate Token" to create a new static access token',value_securely_saved:"Value Securely Saved",generate:"Generate Token",regenerate:"Regenerate Token",generate_success_copy:"Make sure to backup and copy the token above. For security reasons, you will not be able to view the token again after saving and navigate off this page.",remove_token:"Remove Token"},"system-raw-editor":{"system-raw-editor":"Raw Editor",description:"Allow entering of raw or mustache templating values"}},displays:{translations:{translations:"Translations",description:"Preview translations",enable:"Enable",user_language:"Use Current User Language",default_language:"Default Language",language_field:"Language Indicator Field"},boolean:{boolean:"Boolean",description:"Display on and off states",label_on:"Label On",label_on_placeholder:"Enter an on label...",label_off:"Label Off",label_off_placeholder:"Enter an off label...",icon_on:"Icon On",icon_off:"Icon Off",color_on:"Color On",color_off:"Color Off"},collection:{collection:"Collection",description:"Display a collection",icon_label:"Show the collection's icon"},color:{color:"Color",description:"Display a colored dot",default_color:"Default Color"},datetime:{datetime:"Datetime",description:"Display values related to time",format:"Format",format_note:"The custom format accepts the __[Date Field Symbol Table](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table)__",long:"Long",short:"Short",relative:"Relative",relative_label:"Show relative time, eg: 5 minutes ago",suffix:"Suffix",suffix_label:"Show relative indicator",suffix_note:"Uses words like 'in' and 'ago'",strict:"Strict",strict_label:"Use strict units",strict_note:"Removes words like 'almost', 'over', 'less than'",round:"Round",round_note:"Choose a rounding function to use",down:"Down",nearest:"Nearest",up:"Up"},file:{file:"File",description:"Display files"},filesize:{filesize:"File Size",description:"Display the size of a file"},"formatted-value":{"formatted-value":"Formatted Value",description:"Display a formatted version of the text",format:"Format",format_label:"Auto format",font:"Font",font_sans_serif:"Sans serif",font_serif:"Serif",font_monospace:"Monospace",bold:"Bold",bold_label:"Use bold style",italic:"Italic",italic_label:"Use italic style",prefix:"Prefix",prefix_label:"Prepend text",suffix:"Suffix",suffix_label:"Appended Text",color:"Color",background:"Background",icon:"Icon",border:"Border",border_label:"Show border",mask:"Masked",mask_label:"Hide the real value",text:"Text",text_placeholder:"Optional value override..."},"formatted-json-value":{"formatted-json-value":"Formatted JSON value",description:"Display a formatted version of the object"},hash:{hash:"Hash",description:"Display a redacted version of the value"},icon:{icon:"Icon",description:"Display an icon",filled:"Filled",filled_label:"Use the filled variant"},image:{image:"Image",description:"Display a tiny image preview",circle:"Circle",circle_label:"Display as a circle"},labels:{labels:"Labels",description:"Display either a single or a list of labels",default_foreground:"Default Foreground",default_background:"Default Background",format_label:"Format each label",show_as_dot:"Show As Dot",choices_value_placeholder:"Enter a value...",choices_text_placeholder:"Enter a text..."},"mime-type":{"mime-type":"MIME Type",description:"Show the MIME-Type of a file",extension_only:"Extension Only",extension_only_label:"Only show the file extension"},rating:{rating:"Rating",description:"Visualize a number as stars relative to the max-value",simple:"Simple",simple_label:"Show stars in a simple format"},raw:{raw:"Raw Value"},"related-values":{"related-values":"Related Values",description:"Display relative values",display_template_configure_notice:"You can configure the display template after creating this field."},user:{user:"User",description:"Display a directus user",avatar:"Avatar",name:"Name",both:"Both",circle_label:"Show user in a circle"}},layouts:{cards:{cards:"Cards",image_source:"Image Source",image_fit:"Image Fit",crop:"Crop",contain:"Contain",title:"Title",subtitle:"Subtitle"},tabular:{tabular:"Table",spacing:"Spacing",comfortable:"Comfortable",compact:"Compact",cozy:"Cozy"},calendar:{calendar:"Calendar",start_date_field:"Start Date Field",end_date_field:"End Date Field",optional:"Optional",first_day:"First Day of the Week"},map:{map:"Map",basemap:"Basemap",layers:"Layers",cluster_options:"Clustering options",cluster:"Cluster Nearby Data",cluster_radius:"Cluster radius",cluster_minpoints:"Cluster minimum size",cluster_maxzoom:"Maximum zoom for clustering",field:"Geospatial Field",invalid_geometry:"Invalid geometry",find_location:"Find location...",default_template:"Using Collection Default...",no_compatible_fields:"No compatible fields"},kanban:{name:"Kanban",group_field:"Group By",group_field_placeholder:"Field to group by...",group_title:"Group Title",group_title_placeholder:"Field for group titles...",title:"Card Title",title_placeholder:"Optional title field...",text:"Card Text",text_placeholder:"Optional text field...",date:"Card Date",date_placeholder:"Optional date field...",tags:"Card Tags",tags_placeholder:"Optional tags field...",user:"Card User",user_placeholder:"Optional user field...",image:"Card Image",image_placeholder:"Optional image field...",image_fit:"Card Image Fit",crop:"Crop",advanced:"Advanced",edit_group:"Edit Group",delete_group:"Delete Group",add_group:"Add Group",add_group_placeholder:"Enter a new group title...",show_ungrouped:"Show Ungrouped",show:"Show",no_group:"No Group",not_all_loaded:"Could only load the first 1000 items."}},horizontal:"Horizontal",vertical:"Vertical",axis:"Axis",x_axis:"X-Axis",y_axis:"Y-Axis",y_axis_function:"Y-Axis Function",show_x_only:"Show X-Axis Only",show_y_only:"Show Y-Axis Only",show_data_label:"Show Data Label",both:"Both",show_axis_labels:"Show Axis Labels",function:"Function",half_circle:"Half Circle",full_circle:"Full Circle",stroke_width:"Stroke Width",rounded_stroke:"Rounded Stroke",thin:"Thin",medium:"Medium",broad:"Broad",show_labels:"Show Labels",show_legend:"Show Legend",right:"Right",left:"Left",donut:"Donut",panels:{metric:{name:"Metric",description:"Show a single value based on a query",field:"Field"},metric_list:{name:"Metric List",description:"List and visualize aggregate metrics from a collection"},time_series:{name:"Time Series",description:"Render a line chart based on values over time",date_field:"Date Field",value_field:"Value Field",fill_type:"Fill Type",curve_type:"Curve Type"},label:{name:"Label",description:"Show some text"},list:{name:"List",description:"Filter and list fields from a collection"},barchart:{name:"Bar Chart",description:"Bar or column charts for comparing groups of values",horizontal:"Horizontal",select_collection:"You must select a collection."},linechart:{name:"Line Chart",description:"Line chart for comparing change of a field",disabled_grouping:"Disabled when grouping is selected.",disabled_no_grouping:"Disabled when no grouping is selected.",show_marker:"Show Tooltip Marker",curve_type:"Curve Type",smooth:"Smooth",straight:"Straight",step_line:"Step Line",show_legend:"Show Legend"},meter:{name:"Meter",description:"Meter for tracking values"},piechart:{name:"Pie or Donut Chart",description:"Circular chart showing the ratios of groups on a column"},variable:{name:"Global Variable",description:"Set a global value for use in other Panels' filters",variable_key:"Variable Key"},"relational-variable":{name:"Global Relational Variable",description:"Set a global relational value for use in other Panels' filters",variable_key:"Variable Key",multiple:"Multiple","multiple-label":"Select multiple items"}},triggers:{common:{response_body:"Response Body",response_body_all:"All Data",response_body_last:"Data of Last Operation"},event:{name:"Event Hook",description:"Triggers on platform or data events",action:"Action (Non-Blocking)",filter:"Filter (Blocking)"},webhook:{name:"Webhook",description:"Triggers on an incoming HTTP request",method:"Method",async:"Asynchronous"},operation:{name:"Another Flow",description:"Triggered by another Flow, for chaining",preview:"Triggered by an operation in a different Flow"},schedule:{name:"Schedule (CRON)",description:"Triggers at regular points in time",cron:"Interval"},manual:{name:"Manual",description:"Triggers on manual run within selected collection(s)",collection_and_item:"Collection & Item Pages",collection_only:"Collection Page Only",item_only:"Item Page Only",collection_page:"Collection Page",require_selection:"Requires Selection"}},a_flow_uuid:"Select a Flow to trigger...",any_string_or_json:"Any string or JSON...",item_payload_placeholder:"This is the JSON used to update the item's field values...",operation_variables_note:"You can access flow data with variables such as **{'{'}{'{'}$last{'}'}{'}'}**, **{'{'}{'{'}$trigger{'}'}{'}'}** and **{'{'}{'{'}$accountability{'}'}{'}'}**, or reference previous operations using **{'{'}{'{'}operation_key{'}'}{'}'}**.'",operations:{condition:{name:"Condition",description:"Route a flow based on If / Else logic"},exec:{name:"Run Script",description:"Execute arbitrary code to modify the payload",modules:"The following **Node modules** can be used:"},"item-create":{name:"Create Data",description:"Create items in the database",payload:"Payload",emit_events:"Emit Events"},"item-delete":{name:"Delete Data",description:"Delete items in the database",emit_events:"Emit Events",key:"IDs",query:"Query"},"item-read":{name:"Read Data",description:"Read items from the database",key:"IDs",query:"Query",emit_events:"Emit Events"},"item-update":{name:"Update Data",description:"Update items in the database",emit_events:"Emit Events",key:"IDs",payload:"Payload",query:"Query"},"json-web-token":{name:"JSON Web Token (JWT)",description:"Sign and verify JSON Web Tokens",operation:"Operation",secret:"Secret",secret_placeholder:"Enter a secret...",payload:"Payload",token:"Token",token_placeholder:"eyJhbGciOi......",options:"Options",options_placeholder:"Refer to https://www.npmjs.com/package/jsonwebtoken#usage for the available options",sign:"Sign Token",verify:"Verify Token",decode:"Decode Token"},log:{name:"Log to Console",description:"Output something to the console",message:"Message",message_placeholder:"Enter a message to show in the console..."},mail:{name:"Send Email",description:"Send an email to one or more people",to:"To",to_placeholder:"Add e-mail addresses and press enter...",body:"Body",template:"Template",data:"Data"},notification:{name:"Send Notification",description:"Send an in-app notification to one or more users",recipient:"User",recipient_placeholder:"Enter a UUID...",recipient_note:"Add user UUID and press enter...",item_note:"Item Key or Relative URL",message:"Message",subject:"Subject"},request:{name:"Webhook / Request URL",description:"Make a request to a URL",url:"URL",url_placeholder:"https://example.com/example",method:"Method",data:"Data",headers:"Headers",header:"Header",header_placeholder:"Authorization...",value_placeholder:"Bearer eyJhbGciOi..."},sleep:{name:"Sleep",description:"Wait a given number of milliseconds",milliseconds:"Milliseconds"},transform:{name:"Transform Payload",description:"Alter the Flow's JSON payload"},trigger:{name:"Trigger Flow",description:"Pass this data to another flow",flows:"Flows",flow:"Flow",data:"Data",iteration_mode:"Iteration Mode",iteration_mode_note:"Mode for iterating over arrays.",serial:"Serial",parallel:"Parallel",batch:"Batch",batch_size:"Batch Size",cache:"Cache"}},unit:"Unit",standard:"Standard",scientific:"Scientific",engineering:"Engineering",compact:"Compact",currency:"Currency",notation:"Notation",style:"Style",fonts:{thin:"Thin",extra_light:"Extra Light",light:"Light",normal:"Normal",medium:"Medium",semi_bold:"Semi Bold",bold:"Bold",extra_bold:"Extra Bold",black:"Black",italic:"Italic",oblique:"Oblique",small:"Small",large:"Large",auto:"Auto"},text_wrap:"Text Wrap",center:"Center",justify:"Justify",text_align:"Text Align",font_weight:"Font Weight",font_style:"Font Style",font_size:"Font Size",minimum_fraction_digits:"Minimum Decimals",maximum_fraction_digits:"Maximum Decimals",show_percentage:"Show Percentage",aggregation:"Aggregation",series_grouping:"Series Grouping",date_precision:"Date Precision",export_dashboard:"Export Dashboard",duplicate_dashboard:"Duplicate Dashboard",search_dashboard:"Search Dashboard...",search_flow:"Search Flow...",percent:"Percent"};const MP=le;var TY=le.about,LY=le.identifier,IY=le.avatar,MY=le.application,DY=le.default_provider,PY=le.method,OY=le.published,RY=le.draft,FY=le.archived,zY=le.marketplace,$Y=le.extensions,NY=le.modules,BY=le.module_bar,jY=le.logs,VY=le.unknown,HY=le.reset_width,UY=le.tile_size,WY=le.edit_field,qY=le.conditions,GY=le.location,YY=le.collection_names_are_case_sensitive,XY=le.condition_rules,KY=le.input,ZY=le.maps,JY=le.switch_user,QY=le.item_creation,eX=le.item_revision,tX=le.enter_a_name,nX=le.duplicate_field,iX=le.half_width,oX=le.full_width,aX=le.group,rX=le.popular,sX=le.recent,lX=le.export_items,cX=le.and,uX=le.or,dX=le.init,fX=le.dataset_too_large_currently_showing_n_items,pX=le.modifier,hX=le.extension_interface,mX=le.extension_display,vX=le.extension_layout,gX=le.extension_module,yX=le.extension_panel,_X=le.extension_theme,bX=le.extension_hook,xX=le.extension_endpoint,wX=le.extension_operation,kX=le.extension_bundle,CX=le.extension_interfaces,SX=le.extension_displays,EX=le.extension_layouts,AX=le.extension_modules,TX=le.extension_panels,LX=le.extension_themes,IX=le.extension_hooks,MX=le.extension_endpoints,DX=le.extension_operations,PX=le.extension_bundles,OX=le.extension_missing,RX=le.extension_reload_required,FX=le.extension_reload_required_copy,zX=le.extension_reload_now,$X=le.published_relative,NX=le.compatible_with_your_project,BX=le.compatible_with_your_project_copy,jX=le.last_updated_relative,VX=le.n_files,HX=le.verified,UX=le.homepage,WX=le.repository,qX=le.reload_page,GX=le.reload_required,YX=le.report_an_issue,XX=le.website,KX=le.github,ZX=le.beta,JX=le.n_downloads,QX=le.downloads,eK=le.compatibility_not_guaranteed,tK=le.compatibility_not_guaranteed_copy,nK=le.enable,iK=le.disable,oK=le.custom,aK=le.hook,rK=le.fill_width,sK=le.field_name_translations,lK=le.enter_password_to_enable_tfa,cK=le.add_field,uK=le.role_name,dK=le.branch,fK=le.leaf,pK=le.indeterminate,hK=le.edit_collection,mK=le.exclusive,vK=le.children,gK=le.db_only_click_to_configure,yK=le.show_active_items,_K=le.show_archived_items,bK=le.show_all_items,xK=le.edited,wK=le.required,kK=le.required_for_app_access,CK=le.requires_value,SK=le.create_preset,EK=le.create_panel,AK=le.create_role,TK=le.create_user,LK=le.message,IK=le.delete_panel,MK=le.create_webhook,DK=le.create_custom_translation,PK=le.edit_custom_translation,OK=le.no_custom_translations,RK=le.no_custom_translations_copy,FK=le.invite_users,zK=le.invite,$K=le.email_already_invited,NK=le.subject,BK=le.inbox,jK=le.emails,VK=le.connection_excellent,HK=le.connection_good,UK=le.connection_fair,WK=le.connection_poor,qK=le.primary,GK=le.rename_folder,YK=le.delete_folder,XK=le.prefix,KK=le.suffix,ZK=le.keep,JK=le.version,QK=le.version_key,eZ=le.version_name,tZ=le.main_version,nZ=le.switch_version,iZ=le.switch_version_copy,oZ=le.create_version,aZ=le.rename_version,rZ=le.compare_version,sZ=le.save_version,lZ=le.promote_version,cZ=le.promote_version_disabled,uZ=le.promote_version_drawer_title,dZ=le.promote_version_changes,fZ=le.promote_version_preview,pZ=le.outdated_notice,hZ=le.promote_notice,mZ=le.delete_version,vZ=le.delete_version_copy,gZ=le.delete_on_promote_copy,yZ=le.reset_bookmark,_Z=le.update_bookmark,bZ=le.delete_bookmark,xZ=le.delete_bookmark_copy,wZ=le.delete_personal_bookmark,kZ=le.delete_role_bookmark,CZ=le.delete_global_bookmark,SZ=le.logoutReason,EZ=le.public_label,AZ=le.public_description,TZ=le.admin_description,LZ=le.no_description,IZ=le.reached_maximum_number_of_extensions,MZ=le.not_allowed,DZ=le.archive,PZ=le.archive_confirm,OZ=le.archive_confirm_count,RZ=le.reset_system_permissions_to,FZ=le.reset_system_permissions_copy,zZ=le.the_following_are_minimum_permissions,$Z=le.app_access_minimum,NZ=le.recommended_defaults,BZ=le.unarchive,jZ=le.unarchive_confirm,VZ=le.nested_files_folders_will_be_moved,HZ=le.validation_errors_notice,UZ=le.validationError,WZ=le.all_access,qZ=le.no_access,GZ=le.use_custom,YZ=le.nullable,XZ=le.allow_null_value,KZ=le.allow_multiple,ZZ=le.allow_multiple_to_be_open,JZ=le.enter_value_to_replace_nulls,QZ=le.field_standard,eJ=le.field_presentation,tJ=le.field_file,nJ=le.field_files,iJ=le.field_m2o,oJ=le.field_m2a,aJ=le.field_o2m,rJ=le.field_m2m,sJ=le.field_translations,lJ=le.field_group,cJ=le.item_permissions,uJ=le.field_permissions,dJ=le.field_validation,fJ=le.field_presets,pJ=le.permissions_for_role,hJ=le.fields_for_role,mJ=le.validation_for_role,vJ=le.presets_for_role,gJ=le.presets_field_warning,yJ=le.presentation_and_aliases,_J=le.revision_post_create,bJ=le.revision_post_update,xJ=le.changes_made,wJ=le.no_relational_data,kJ=le.junction_field_location,CJ=le.top,SJ=le.bottom,EJ=le.hide_field,AJ=le.hide_field_on_detail,TJ=le.show_field_on_detail,LJ=le.delete_field,IJ=le.fields_and_layout,MJ=le.field_create_success,DJ=le.field_update_success,PJ=le.duplicate_where_to,OJ=le.language,RJ=le.language_placeholder,FJ=le.aggregate_function,zJ=le.aggregate_precision,$J=le.group_aggregation,NJ=le.group_precision,BJ=le.global,jJ=le.admins_have_all_permissions,VJ=le.camera,HJ=le.show_zero,UJ=le.create_in_advanced_field_creation_mode,WJ=le.continue_in_advanced_field_creation_mode,qJ=le.validation,GJ=le.sum,YJ=le.sum_distinct,XJ=le.avg,KJ=le.avg_distinct,ZJ=le.count,JJ=le.count_distinct,QJ=le.min,eQ=le.max,tQ=le.exposure,nQ=le.shutter,iQ=le.iso,oQ=le.focal_length,aQ=le.schema_setup_key,rQ=le.create_field,sQ=le.creating_new_field,lQ=le.field_in_collection,cQ=le.reset_page_preferences,uQ=le.hidden_field,dQ=le.hidden_on_detail,fQ=le.disabled_editing_value,pQ=le.key,hQ=le.alias,mQ=le.bigInteger,vQ=le.boolean,gQ=le.date,yQ=le.date_range,_Q=le.translation_key_placeholder,bQ=le.datetime,xQ=le.dateTime,wQ=le.precision,kQ=le.decimal,CQ=le.float,SQ=le.integer,EQ=le.json,AQ=le.xml,TQ=le.yaml,LQ=le.string,IQ=le.text,MQ=le.time,DQ=le.timestamp,PQ=le.uuid,OQ=le.hash,RQ=le.geometry,FQ=le.theme_auto,zQ=le.theme_light,$Q=le.theme_dark,NQ=le.theme_directus_default,BQ=le.theme_directus_minimal,jQ=le.theme_directus_colormatch,VQ=le.not_available_for_type,HQ=le.create_translations,UQ=le.auto_refresh,WQ=le.refresh_interval,qQ=le.no_refresh,GQ=le.refresh_interval_seconds,YQ=le.refresh_interval_minutes,XQ=le.auto_generate,KQ=le.this_will_auto_setup_fields_relations,ZQ=le.click_here,JQ=le.to_manually_setup_translations,QQ=le.manage,eee=le.click_to_manage_translated_fields,tee=le.fields_group,nee=le.no_collections_found,iee=le.new_data_alert,oee=le.search_collection,aee=le.search_role,ree=le.search_field,see=le.new_field,lee=le.new_collection,cee=le.add_m2o_to_collection,uee=le.add_o2m_to_collection,dee=le.add_m2m_to_collection,fee=le.choose_a_type,pee=le.determined_by_relationship,hee=le.add_note,mee=le.add_link,vee=le.custom_link,gee=le.default_value,yee=le.standard_field,_ee=le.single_file,bee=le.multiple_files,xee=le.m2o_relationship,wee=le.o2m_relationship,kee=le.m2m_relationship,Cee=le.m2a_relationship,See=le.invalid_item,Eee=le.require_confirmation,Aee=le.dialog,Tee=le.modal,Lee=le.confirmation_dialog,Iee=le.confirmation_description,Mee=le.confirmation_input_fields,Dee=le.next,Pee=le.field_name,Oee=le.translations,Ree=le.no_translations,Fee=le.left_to_right,zee=le.right_to_left,$ee=le.note,Nee=le.enter_a_value,Bee=le.enter_a_placeholder,jee=le.length,Vee=le.soft_length,Hee=le.precision_scale,Uee=le.readonly,Wee=le.unique,qee=le.updated_on,Gee=le.updated_by,Yee=le.primary_key,Xee=le.foreign_key,Kee=le.field_key,Zee=le.finish_setup,Jee=le.dismiss,Qee=le.toggle_raw_editor,ete=le.raw_editor_placeholder,tte=le.raw_value,nte=le.copy_raw_value,ite=le.copy_raw_value_success,ote=le.copy_raw_value_fail,ate=le.paste_raw_value,rte=le.paste_raw_value_success,ste=le.paste_raw_value_fail,lte=le.view_raw_value,cte=le.edit_raw_value,ute=le.enter_raw_value,dte=le.clear_value,fte=le.clear_changes,pte=le.clear_items,hte=le.reset_to_default,mte=le.undo_changes,vte=le.notifications,gte=le.archive_all,yte=le.show_all_activity,_te=le.page_not_found,bte=le.page_not_found_body,xte=le.confirm_revert,wte=le.confirm_revert_body,kte=le.display,Cte=le.settings_update_success,Ste=le.title,Ete=le.revision_delta_created,Ate=le.revision_delta_created_externally,Tte=le.revision_delta_updated,Lte=le.revision_delta_deleted,Ite=le.revision_delta_version_saved,Mte=le.revision_delta_reverted,Dte=le.revision_delta_update_message,Pte=le.revision_delta_other,Ote=le.revision_delta_by,Rte=le.presentation_text_values_cannot_be_reimported,Fte=le.download_page_as_csv,zte=le.download_page_as_csv_unsupported,$te=le.private_user,Nte=le.creation_preview,Bte=le.revision_preview,jte=le.updates_made,Vte=le.leave_comment,Hte=le.post_comment_success,Ute=le.post_comment_updated,Wte=le.item_create_success,qte=le.item_update_success,Gte=le.item_delete_success,Yte=le.this_collection,Xte=le.related_collection,Kte=le.related_collections,Zte=le.translations_collection,Jte=le.languages_collection,Qte=le.import_data_input_placeholder,ene=le.import_data_button,tne=le.import_data_indeterminate,nne=le.import_data_success,ine=le.import_data_error,one=le.label_import,ane=le.label_export,rne=le.import_export,sne=le.format,lne=le.last_page,cne=le.last_access,une=le.fill_template,dne=le.a_unique_table_name,fne=le.a_unique_column_name,pne=le.enable_custom_values,hne=le.submit,mne=le.move_to_folder,vne=le.move,gne=le.system,yne=le.add_field_related,_ne=le.interface_label,bne=le.display_label,xne=le.today,wne=le.yesterday,kne=le.delete_comment,Cne=le.delete_share,Sne=le.functions,Ene=le.minutes,Ane=le.hours,Tne=le.month,Lne=le.year,Ine=le.select_all,Mne=le.months,Dne=le.drag_mode,Pne=le.move_tool,One=le.crop_tool,Rne=le.focal_point_tool,Fne=le.cancel_crop,zne=le.cancel_selection,$ne=le.original,Nne=le.url,Bne=le.import_label,jne=le.file_details,Vne=le.dimensions,Hne=le.size,Une=le.created,Wne=le.modified,qne=le.owner,Gne=le.edited_by,Yne=le.folder,Xne=le.folders,Kne=le.zoom,Zne=le.download,Jne=le.open,Qne=le.open_in_new_window,eie=le.open_folder,tie=le.foreground_color,nie=le.background_color,iie=le.upload_from_device,oie=le.choose_from_library,aie=le.import_from_url,rie=le.replace_from_device,sie=le.replace_from_library,lie=le.replace_from_url,cie=le.no_image_selected,uie=le.no_file_selected,die=le.download_file,fie=le.open_file_in_tab,pie=le.start_export,hie=le.not_available_for_local_downloads,mie=le.exporting_all_items_in_collection,vie=le.exporting_limited_items_in_collection,gie=le.exporting_no_items_to_export,yie=le.exporting_download_hint,_ie=le.exporting_library_hint,bie=le.exporting_library_hint_forced,xie=le.collection_key,wie=le.name,kie=le.primary_key_field,Cie=le.type,Sie=le.creating_new_collection,Eie=le.created_by,Aie=le.created_on,Tie=le.creating_collection_info,Lie=le.creating_collection_system,Iie=le.auto_increment_integer,Mie=le.auto_increment_big_integer,Die=le.generated_uuid,Pie=le.manual_string,Oie=le.save_and_create_new,Rie=le.save_and_stay,Fie=le.save_and_quit,zie=le.save_as_copy,$ie=le.add_existing,Nie=le.creating_items,Bie=le.enable_create_button,jie=le.selecting_items,Vie=le.enable_select_button,Hie=le.allow_duplicates,Uie=le.comments,Wie=le.no_comments,qie=le.expand,Gie=le.collapse,Yie=le.select_item,Xie=le.no_items,Kie=le.search_items,Zie=le.search_extensions,Jie=le.disabled,Qie=le.information,eoe=le.report_bug,toe=le.request_feature,noe=le.request_body,ioe=le.interface_not_found,ooe=le.operation_not_found,aoe=le.reset_interface,roe=le.display_not_found,soe=le.reset_display,loe=le.item_count,coe=le.no_items_copy,uoe=le.file_count,doe=le.no_files_copy,foe=le.user_count,poe=le.no_users_copy,hoe=le.webhooks_count,moe=le.webhooks_deprecation_notice,voe=le.no_webhooks_copy,goe=le.no_notifications,yoe=le.no_notifications_copy,_oe=le.activity_log,boe=le.all_items,xoe=le.any,woe=le.csv,koe=le.no_collections,Coe=le.create_collection,Soe=le.no_collections_copy_admin,Eoe=le.no_collections_copy,Aoe=le.relationship_not_setup,Toe=le.no_singleton_relations,Loe=le.display_template_not_setup,Ioe=le.collection_field_not_setup,Moe=le.select_a_collection,Doe=le.select_a_field,Poe=le.active,Ooe=le.move_to,Roe=le.copy,Foe=le.copy_to,zoe=le.no_other_dashboards_copy,$oe=le.inactive,Noe=le.users,Boe=le.activity,joe=le.activity_item,Voe=le.action,Hoe=le.ip_address,Uoe=le.user_agent,Woe=le.origin,qoe=le.webhooks,Goe=le.decimals,Yoe=le.value_decimals,Xoe=le.min_value,Koe=le.max_value,Zoe=le.automatic,Joe=le.field_width,Qoe=le.add_filter,eae=le.upper_limit,tae=le.lower_limit,nae=le.user_directory,iae=le.documentation,oae=le.sidebar,aae=le.duration,rae=le.charset,sae=le.second,lae=le.file_moved,cae=le.collection_created,uae=le.modified_on,dae=le.card_size,fae=le.sort_field,pae=le.add_sort_field,hae=le.sort,mae=le.status,vae=le.remove,gae=le.toggle_manual_sorting,yae=le.bookmark_doesnt_exist,_ae=le.bookmark_doesnt_exist_copy,bae=le.bookmark_doesnt_exist_cta,xae=le.select_an_item,wae=le.edit,kae=le.edit_item,Cae=le.enabled,Sae=le.partially_enabled,Eae=le.enable_all,Aae=le.disable_all,Tae=le.enabled_dev_tooltip,Lae=le.disable_tfa,Iae=le.admin_disable_tfa_text,Mae=le.tfa_setup,Dae=le.tfa_scan_code,Pae=le.enter_otp_to_disable_tfa,Oae=le.create_account,Rae=le.account_created_successfully,Fae=le.auto_fill,zae=le.corresponding_field,$ae=le.errors,Nae=le.security,Bae=le.value_hashed,jae=le.bookmark_name,Vae=le.create_bookmark,Hae=le.edit_bookmark,Uae=le.edit_personal_bookmark,Wae=le.edit_role_bookmark,qae=le.edit_global_bookmark,Gae=le.cannot_edit_role_bookmarks,Yae=le.cannot_edit_global_bookmarks,Xae=le.bookmarks,Kae=le.presets,Zae=le.unexpected_error,Jae=le.unexpected_error_copy,Qae=le.copy_details,ere=le.no_app_access,tre=le.no_app_access_copy,nre=le.password_reset_sent,ire=le.password_reset_successful,ore=le.back,are=le.filter,rre=le.edit_image,sre=le.editing_image,lre=le.square,cre=le.free,ure=le.flip_horizontal,dre=le.flip_vertical,fre=le.aspect_ratio,pre=le.rotate,hre=le.all_users,mre=le.delete_collection,vre=le.update_collection_success,gre=le.delete_collection_success,yre=le.make_collection_visible,_re=le.make_collection_hidden,bre=le.make_folder_visible,xre=le.make_folder_hidden,wre=le.goto_collection_content,kre=le.start_end_of_count_items,Cre=le.start_end_of_count_filtered_items,Sre=le.one_item,Ere=le.one_filtered_item,Are=le.delete_collection_are_you_sure,Tre=le.delete_folder_are_you_sure,Lre=le.delete_collection_peer_dependencies,Ire=le.collections_shown,Mre=le.visible_collections,Dre=le.hidden_collections,Pre=le.show_hidden_collections,Ore=le.hide_hidden_collections,Rre=le.show_header,Fre=le.unmanaged_collections,zre=le.system_collections,$re=le.placeholder,Nre=le.icon_left,Bre=le.icon_right,jre=le.count_other_revisions,Vre=le.font,Hre=le.sans_serif,Ure=le.serif,Wre=le.monospace,qre=le.divider,Gre=le.color,Yre=le.circle,Xre=le.empty_item,Kre=le.log_in_with,Zre=le.conditional_styles,Jre=le.advanced_settings,Qre=le.advanced_filter,ese=le.delete_advanced_filter,tse=le.change_advanced_filter_operator,nse=le.advanced,ise=le.operators,ose=le.custom_validation_message,ase=le.loading,rse=le.extension_readme_missing,sse=le.drop_to_upload,lse=le.item,cse=le.items,use=le.upload_file,dse=le.upload_file_indeterminate,fse=le.upload_file_success,pse=le.upload_files_indeterminate,hse=le.upload_files_success,mse=le.upload_pending,vse=le.drag_file_here,gse=le.click_to_browse,yse=le.interface_options,_se=le.display_options,bse=le.layout_options,xse=le.rows,wse=le.columns,kse=le.collection_setup,Cse=le.optional_system_fields,Sse=le.value_unique,Ese=le.all_activity,Ase=le.create_item,Tse=le.display_template,Lse=le.language_display_template,Ise=le.translations_display_template,Mse=le.n_items_selected,Dse=le.per_page,Pse=le.all_files,Ose=le.my_files,Rse=le.recent_files,Fse=le.create_folder,zse=le.edit_folder,$se=le.folder_name,Nse=le.folder_key,Bse=le.add_file,jse=le.replace_file,Vse=le.no_results,Hse=le.no_results_copy,Use=le.no_visible_fields,Wse=le.no_visible_fields_copy,qse=le.clear_filters,Gse=le.saves_automatically,Yse=le.role,Xse=le.edit_role,Kse=le.rule,Zse=le.user,Jse=le.no_presets,Qse=le.no_presets_copy,ele=le.no_presets_cta,tle=le.presets_only,nle=le.create,ile=le.on_create,ole=le.on_update,ale=le.read,rle=le.update,sle=le.select_fields,lle=le.format_text,cle=le.format_value,ule=le.abbreviate_value,dle=le.operator,fle=le.bold,ple=le.toggle,hle=le.icon_on,mle=le.icon_off,vle=le.label,gle=le.flows,yle=le.flow,_le=le.select_a_flow,ble=le.run_flow_confirm,xle=le.run_flow_on_current_collection,wle=le.run_flow_on_current,kle=le.run_flow_on_current_edited_confirm,Cle=le.run_flow_on_selected,Sle=le.run_flow,Ele=le.run_flow_success,Ale=le.field_name_placeholder,Tle=le.field_key_placeholder,Lle=le.trigger,Ile=le.trigger_options,Mle=le.view_trigger,Dle=le.create_trigger,Ple=le.trigger_setup,Ole=le.change_trigger,Rle=le.flow_delete_confirm,Fle=le.set_flow_active,zle=le.set_flow_inactive,$le=le.edit_flow,Nle=le.delete_flow,Ble=le.no_other_flows_copy,jle=le.no_flows,Vle=le.no_flows_copy,Hle=le.create_flow,Ule=le.creating_new_flow,Wle=le.updating_flow,qle=le.flow_setup,Gle=le.flow_name,Yle=le.flow_tracking,Xle=le.flow_tracking_all,Kle=le.flow_tracking_activity,Zle=le.flow_tracking_null,Jle=le.start_flow,Qle=le.stop_flow,ece=le.create_operation,tce=le.edit_operation,nce=le.code,ice=le.operation_options,oce=le.operation_name,ace=le.operation_key,rce=le.operation_key_unique_error,sce=le.operation_handle_resolve,lce=le.operation_handle_reject,cce=le.insights,uce=le.dashboard,dce=le.panel,fce=le.panel_options,pce=le.panel_header,hce=le.panel_name_placeholder,mce=le.panel_note_placeholder,vce=le.panel_delete_confirm,gce=le.list_panel_allow_edit,yce=le.dashboard_delete_confirm,_ce=le.edit_dashboard,bce=le.delete_dashboard,xce=le.visible,wce=le.prefix_placeholder,kce=le.suffix_placeholder,Cce=le.decimals_placeholder,Sce=le.no_dashboards,Ece=le.no_dashboards_copy,Ace=le.create_dashboard,Tce=le.dashboard_name,Lce=le.no_data,Ice=le.no_data_in_flow,Mce=le.accountability,Dce=le.payload,Pce=le.details,Oce=le.full_screen,Rce=le.full_text_search,Fce=le.edit_panels,zce=le.center_align,$ce=le.left_align,Nce=le.right_align,Bce=le.fit_to_screen,jce=le.image_url,Vce=le.alt_text,Hce=le.media,Uce=le.quality,Wce=le.width,qce=le.height,Gce=le.transformation_preset_key,Yce=le.source,Xce=le.url_placeholder,Kce=le.display_text,Zce=le.display_text_placeholder,Jce=le.interface_group_text_and_numbers,Qce=le.interface_group_selection,eue=le.interface_group_relational,tue=le.interface_group_presentation,nue=le.interface_group_groups,iue=le.interface_group_other,oue=le.tooltip,aue=le.tooltip_placeholder,rue=le.unlimited,sue=le.open_link_in,lue=le.new_tab,cue=le.current_tab,uue=le.save_image,due=le.save_media,fue=le.wysiwyg_options,pue=le.dropdown,hue=le.choices,mue=le.choices_option_configured_incorrectly,vue=le.deselect,gue=le.deselect_all,yue=le.theme,_ue=le.select_a_theme,bue=le.default_sync_with_project,xue=le.appearance_auto,wue=le.appearance_light,kue=le.appearance_dark,Cue=le.other,Sue=le.adding_user,Eue=le.unknown_user,Aue=le.creating_in,Tue=le.editing_in,Lue=le.viewing_in,Iue=le.creating_unit,Mue=le.editing_unit,Due=le.editing_in_batch,Pue=le.no_options_available,Oue=le.settings_data_model,Rue=le.settings_permissions,Fue=le.settings_project,zue=le.settings_appearance,$ue=le.settings_webhooks,Nue=le.settings_flows,Bue=le.settings_presets,jue=le.settings_translations,Vue=le.one_or_more_options_are_missing,Hue=le.configure_field_key_to_continue,Uue=le.scope,Wue=le.actions,que=le.select,Gue=le.layout,Yue=le.tree_view,Xue=le.changes_are_permanent,Kue=le.preset_name_placeholder,Zue=le.preset_search_placeholder,Jue=le.editing_preset,Que=le.layout_preview,ede=le.layout_setup,le=le.data,tde=le.unsaved_changes,nde=le.unsaved_changes_copy,ide=le.discard_changes,ode=le.discard_all_changes,ade=le.discard_changes_copy,rde=le.show_x_axis,sde=le.show_y_axis,lde=le.keep_editing,cde=le.page_help_collections_overview,ude=le.page_help_collections_collection,dde=le.page_help_collections_item,fde=le.page_help_activity_collection,pde=le.page_help_docs_global,hde=le.page_help_files_collection,mde=le.page_help_files_item,vde=le.page_help_settings_project,gde=le.page_help_settings_appearance,yde=le.page_help_settings_extensions,_de=le.page_help_settings_datamodel_collections,bde=le.page_help_settings_datamodel_fields,xde=le.page_help_settings_roles_collection,wde=le.page_help_settings_roles_item,kde=le.page_help_settings_presets_collection,Cde=le.page_help_settings_presets_item,Sde=le.page_help_settings_webhooks_collection,Ede=le.page_help_settings_webhooks_item,Ade=le.page_help_settings_flows_collection,Tde=le.page_help_settings_flows_item,Lde=le.page_help_settings_translations_collection,Ide=le.page_help_settings_translations_item,Mde=le.page_help_users_collection,Dde=le.page_help_users_item,Pde=le.page_help_insights_overview,Ode=le.page_help_insights_dashboard,Rde=le.page_help_marketplace_account,Fde=le.page_help_marketplace_registry,zde=le.page_help_marketplace_extension,$de=le.activity_feed,Nde=le.add_new,Bde=le.create_new,jde=le.all,Vde=le.none,Hde=le.no_layout_collection_selected_yet,Ude=le.batch_delete_confirm,Wde=le.cancel,qde=le.no_upscale,Gde=le.no_extensions,Yde=le.no_extensions_copy,Xde=le.install_extension,Kde=le.uninstall_locked,Zde=le.uninstall,Jde=le.installed,Qde=le.reinstall,efe=le.open_in_marketplace,tfe=le.source_registry,nfe=le.source_local,ife=le.source_module,ofe=le.collection,afe=le.collections,rfe=le.content,sfe=le.singleton,lfe=le.singleton_label,cfe=le.system_fields_locked,ufe=le.directus_collection,dfe=le.fields,ffe=le.field_options,pfe=le.no_fields_in_collection,hfe=le.no_value,mfe=le.do_nothing,vfe=le.generate_and_save_uuid,gfe=le.save_current_user_id,yfe=le.save_current_user_role,_fe=le.save_current_datetime,bfe=le.always_open,xfe=le.start_open,wfe=le.start_collapsed,kfe=le.block,Cfe=le.inline,Sfe=le.comment,Efe=le.live_preview,Afe=le.shares,Tfe=le.unlimited_usage,Lfe=le.uses_left,Ife=le.no_shares,Mfe=le.new_share,Dfe=le.expired,Pfe=le.upcoming,Ofe=le.share,Rfe=le.share_item,Ffe=le.shared_with_you,zfe=le.shared_enter_passcode,$fe=le.shared_leave_blank_for_passwordless_access,Nfe=le.shared_leave_blank_for_unlimited,Bfe=le.shared_times_remaining,jfe=le.shared_last_remaining,Vfe=le.shared_uses_left,Hfe=le.share_access_page,Ufe=le.share_access_not_found,Wfe=le.share_access_not_found_desc,qfe=le.share_access_not_found_title,Gfe=le.share_copy_link,Yfe=le.share_copy_link_success,Xfe=le.share_copy_link_error,Kfe=le.share_send_link,Zfe=le.relational_triggers,Jfe=le.referential_action_field_label_m2o,Qfe=le.referential_action_field_label_o2m,e1e=le.referential_action_no_action,t1e=le.referential_action_cascade,n1e=le.referential_action_set_null,i1e=le.referential_action_set_default,o1e=le.choose_action,a1e=le.continue_label,r1e=le.continue_as,s1e=le.editing_role,l1e=le.creating_webhook,c1e=le.default_label,u1e=le.delete_label,d1e=le.delete_are_you_sure,f1e=le.delete_field_are_you_sure,p1e=le.description,h1e=le.done,m1e=le.duplicate,v1e=le.limit,g1e=le.email,y1e=le.embed,_1e=le.fallback_icon,b1e=le.field,x1e=le.file,w1e=le.file_library,k1e=le.forgot_password,C1e=le.hidden,S1e=le.hidden_in_group,E1e=le.icon,A1e=le.info,T1e=le.normal,L1e=le.success,I1e=le.warning,M1e=le.danger,D1e=le.colors,P1e=le.junction_collection,O1e=le.latency,R1e=le.login,F1e=le.my_activity,z1e=le.not_authenticated,$1e=le.authenticated,N1e=le.options,B1e=le.otp,j1e=le.password,V1e=le.confirm_password,H1e=le.permissions,U1e=le.relationship,W1e=le.reset,q1e=le.reset_password,G1e=le.revisions,Y1e=le.no_revisions,X1e=le.no_logs,K1e=le.revert,Z1e=le.save,J1e=le.schema,Q1e=le.search,epe=le.select_existing,tpe=le.select_field_type,npe=le.select_interface,ipe=le.select_display,ope=le.settings,ape=le.register,rpe=le.registration_successful_headline,spe=le.registration_successful_note,lpe=le.registration_successful_check_email_note,cpe=le.dont_have_an_account,upe=le.already_have_an_account,dpe=le.sign_up_now,fpe=le.sign_in,ppe=le.sign_out,hpe=le.sign_out_confirm,mpe=le.something_went_wrong,vpe=le.sort_direction,gpe=le.export_location,ype=le.export_started,_pe=le.export_started_copy,bpe=le.sort_asc,xpe=le.sort_desc,wpe=le.disable_sort,kpe=le.template,Cpe=le.require_value_to_be_set,Spe=le.translation,Epe=le.translation_placeholder,Ape=le.value,Tpe=le.view_project,Lpe=le.report_error,Ipe=le.start,Mpe=le.table,Dpe=le.list,Ppe=le.search_filter,Ope=le.enable_search_filter,Rpe=le.item_link,Fpe=le.show_link_to_item,zpe=le.navigate_to_item,$pe=le.undo_removed_item,Npe=le.remove_item,Bpe=le.delete_item,jpe=le.interfaces,Vpe=le.displays,Hpe=le.layouts,Upe=le.horizontal,Wpe=le.vertical,qpe=le.axis,Gpe=le.x_axis,Ype=le.y_axis,Xpe=le.y_axis_function,Kpe=le.show_x_only,Zpe=le.show_y_only,Jpe=le.show_data_label,Qpe=le.both,ehe=le.show_axis_labels,the=le.half_circle,nhe=le.full_circle,ihe=le.stroke_width,ohe=le.rounded_stroke,ahe=le.thin,rhe=le.medium,she=le.broad,lhe=le.show_labels,che=le.show_legend,uhe=le.right,dhe=le.left,fhe=le.donut,phe=le.panels,hhe=le.triggers,mhe=le.a_flow_uuid,vhe=le.any_string_or_json,ghe=le.item_payload_placeholder,yhe=le.operation_variables_note,_he=le.operations,bhe=le.unit,xhe=le.standard,whe=le.scientific,khe=le.engineering,Che=le.compact,She=le.currency,Ehe=le.notation,Ahe=le.style,The=le.fonts,Lhe=le.text_wrap,Ihe=le.center,Mhe=le.justify,Dhe=le.text_align,Phe=le.font_weight,Ohe=le.font_style,Rhe=le.font_size,Fhe=le.minimum_fraction_digits,zhe=le.maximum_fraction_digits,$he=le.show_percentage,Nhe=le.aggregation,Bhe=le.series_grouping,jhe=le.date_precision,Vhe=le.export_dashboard,Hhe=le.duplicate_dashboard,Uhe=le.search_dashboard,Whe=le.search_flow,qhe=le.percent;const Ghe=Object.freeze(Object.defineProperty({__proto__:null,a_flow_uuid:mhe,a_unique_column_name:fne,a_unique_table_name:dne,abbreviate_value:ule,about:TY,account_created_successfully:Rae,accountability:Mce,action:Voe,actions:Wue,active:Poe,activity:Boe,activity_feed:$de,activity_item:joe,activity_log:_oe,add_existing:$ie,add_field:cK,add_field_related:yne,add_file:Bse,add_filter:Qoe,add_link:mee,add_m2m_to_collection:dee,add_m2o_to_collection:cee,add_new:Nde,add_note:hee,add_o2m_to_collection:uee,add_sort_field:pae,adding_user:Sue,admin_description:TZ,admin_disable_tfa_text:Iae,admins_have_all_permissions:jJ,advanced:nse,advanced_filter:Qre,advanced_settings:Jre,aggregate_function:FJ,aggregate_precision:zJ,aggregation:Nhe,alias:hQ,all:jde,all_access:WZ,all_activity:Ese,all_files:Pse,all_items:boe,all_users:hre,allow_duplicates:Hie,allow_multiple:KZ,allow_multiple_to_be_open:ZZ,allow_null_value:XZ,already_have_an_account:upe,alt_text:Vce,always_open:bfe,and:cX,any:xoe,any_string_or_json:vhe,app_access_minimum:$Z,appearance_auto:xue,appearance_dark:kue,appearance_light:wue,application:MY,archive:DZ,archive_all:gte,archive_confirm:PZ,archive_confirm_count:OZ,archived:FY,aspect_ratio:fre,authenticated:$1e,auto_fill:Fae,auto_generate:XQ,auto_increment_big_integer:Mie,auto_increment_integer:Iie,auto_refresh:UQ,automatic:Zoe,avatar:IY,avg:XJ,avg_distinct:KJ,axis:qpe,back:ore,background_color:nie,batch_delete_confirm:Ude,beta:ZX,bigInteger:mQ,block:kfe,bold:fle,bookmark_doesnt_exist:yae,bookmark_doesnt_exist_copy:_ae,bookmark_doesnt_exist_cta:bae,bookmark_name:jae,bookmarks:Xae,boolean:vQ,both:Qpe,bottom:SJ,branch:dK,broad:she,camera:VJ,cancel:Wde,cancel_crop:Fne,cancel_selection:zne,cannot_edit_global_bookmarks:Yae,cannot_edit_role_bookmarks:Gae,card_size:dae,center:Ihe,center_align:zce,change_advanced_filter_operator:tse,change_trigger:Ole,changes_are_permanent:Xue,changes_made:xJ,charset:rae,children:vK,choices:hue,choices_option_configured_incorrectly:mue,choose_a_type:fee,choose_action:o1e,choose_from_library:oie,circle:Yre,clear_changes:fte,clear_filters:qse,clear_items:pte,clear_value:dte,click_here:ZQ,click_to_browse:gse,click_to_manage_translated_fields:eee,code:nce,collapse:Gie,collection:ofe,collection_created:cae,collection_field_not_setup:Ioe,collection_key:xie,collection_names_are_case_sensitive:YY,collection_setup:kse,collections:afe,collections_shown:Ire,color:Gre,colors:D1e,columns:wse,comment:Sfe,comments:Uie,compact:Che,compare_version:rZ,compatibility_not_guaranteed:eK,compatibility_not_guaranteed_copy:tK,compatible_with_your_project:NX,compatible_with_your_project_copy:BX,condition_rules:XY,conditional_styles:Zre,conditions:qY,configure_field_key_to_continue:Hue,confirm_password:V1e,confirm_revert:xte,confirm_revert_body:wte,confirmation_description:Iee,confirmation_dialog:Lee,confirmation_input_fields:Mee,connection_excellent:VK,connection_fair:UK,connection_good:HK,connection_poor:WK,content:rfe,continue_as:r1e,continue_in_advanced_field_creation_mode:WJ,continue_label:a1e,copy:Roe,copy_details:Qae,copy_raw_value:nte,copy_raw_value_fail:ote,copy_raw_value_success:ite,copy_to:Foe,corresponding_field:zae,count:ZJ,count_distinct:JJ,count_other_revisions:jre,create:nle,create_account:Oae,create_bookmark:Vae,create_collection:Coe,create_custom_translation:DK,create_dashboard:Ace,create_field:rQ,create_flow:Hle,create_folder:Fse,create_in_advanced_field_creation_mode:UJ,create_item:Ase,create_new:Bde,create_operation:ece,create_panel:EK,create_preset:SK,create_role:AK,create_translations:HQ,create_trigger:Dle,create_user:TK,create_version:oZ,create_webhook:MK,created:Une,created_by:Eie,created_on:Aie,creating_collection_info:Tie,creating_collection_system:Lie,creating_in:Aue,creating_items:Nie,creating_new_collection:Sie,creating_new_field:sQ,creating_new_flow:Ule,creating_unit:Iue,creating_webhook:l1e,creation_preview:Nte,crop_tool:One,csv:woe,currency:She,current_tab:cue,custom:oK,custom_link:vee,custom_validation_message:ose,danger:M1e,dashboard:uce,dashboard_delete_confirm:yce,dashboard_name:Tce,get data(){return le},dataset_too_large_currently_showing_n_items:fX,date:gQ,dateTime:xQ,date_precision:jhe,date_range:yQ,datetime:bQ,db_only_click_to_configure:gK,decimal:kQ,decimals:Goe,decimals_placeholder:Cce,default:MP,default_label:c1e,default_provider:DY,default_sync_with_project:bue,default_value:gee,delete_advanced_filter:ese,delete_are_you_sure:d1e,delete_bookmark:bZ,delete_bookmark_copy:xZ,delete_collection:mre,delete_collection_are_you_sure:Are,delete_collection_peer_dependencies:Lre,delete_collection_success:gre,delete_comment:kne,delete_dashboard:bce,delete_field:LJ,delete_field_are_you_sure:f1e,delete_flow:Nle,delete_folder:YK,delete_folder_are_you_sure:Tre,delete_global_bookmark:CZ,delete_item:Bpe,delete_label:u1e,delete_on_promote_copy:gZ,delete_panel:IK,delete_personal_bookmark:wZ,delete_role_bookmark:kZ,delete_share:Cne,delete_version:mZ,delete_version_copy:vZ,description:p1e,deselect:vue,deselect_all:gue,details:Pce,determined_by_relationship:pee,dialog:Aee,dimensions:Vne,directus_collection:ufe,disable:iK,disable_all:Aae,disable_sort:wpe,disable_tfa:Lae,disabled:Jie,disabled_editing_value:fQ,discard_all_changes:ode,discard_changes:ide,discard_changes_copy:ade,dismiss:Jee,display:kte,display_label:bne,display_not_found:roe,display_options:_se,display_template:Tse,display_template_not_setup:Loe,display_text:Kce,display_text_placeholder:Zce,displays:Vpe,divider:qre,do_nothing:mfe,documentation:iae,done:h1e,dont_have_an_account:cpe,donut:fhe,download:Zne,download_file:die,download_page_as_csv:Fte,download_page_as_csv_unsupported:zte,downloads:QX,draft:RY,drag_file_here:vse,drag_mode:Dne,drop_to_upload:sse,dropdown:pue,duplicate:m1e,duplicate_dashboard:Hhe,duplicate_field:nX,duplicate_where_to:PJ,duration:aae,edit:wae,edit_bookmark:Hae,edit_collection:hK,edit_custom_translation:PK,edit_dashboard:_ce,edit_field:WY,edit_flow:$le,edit_folder:zse,edit_global_bookmark:qae,edit_image:rre,edit_item:kae,edit_operation:tce,edit_panels:Fce,edit_personal_bookmark:Uae,edit_raw_value:cte,edit_role:Xse,edit_role_bookmark:Wae,edited:xK,edited_by:Gne,editing_image:sre,editing_in:Tue,editing_in_batch:Due,editing_preset:Jue,editing_role:s1e,editing_unit:Mue,email:g1e,email_already_invited:$K,emails:jK,embed:y1e,empty_item:Xre,enable:nK,enable_all:Eae,enable_create_button:Bie,enable_custom_values:pne,enable_search_filter:Ope,enable_select_button:Vie,enabled:Cae,enabled_dev_tooltip:Tae,engineering:khe,enter_a_name:tX,enter_a_placeholder:Bee,enter_a_value:Nee,enter_otp_to_disable_tfa:Pae,enter_password_to_enable_tfa:lK,enter_raw_value:ute,enter_value_to_replace_nulls:JZ,errors:$ae,exclusive:mK,expand:qie,expired:Dfe,export_dashboard:Vhe,export_items:lX,export_location:gpe,export_started:ype,export_started_copy:_pe,exporting_all_items_in_collection:mie,exporting_download_hint:yie,exporting_library_hint:_ie,exporting_library_hint_forced:bie,exporting_limited_items_in_collection:vie,exporting_no_items_to_export:gie,exposure:tQ,extension_bundle:kX,extension_bundles:PX,extension_display:mX,extension_displays:SX,extension_endpoint:xX,extension_endpoints:MX,extension_hook:bX,extension_hooks:IX,extension_interface:hX,extension_interfaces:CX,extension_layout:vX,extension_layouts:EX,extension_missing:OX,extension_module:gX,extension_modules:AX,extension_operation:wX,extension_operations:DX,extension_panel:yX,extension_panels:TX,extension_readme_missing:rse,extension_reload_now:zX,extension_reload_required:RX,extension_reload_required_copy:FX,extension_theme:_X,extension_themes:LX,extensions:$Y,fallback_icon:_1e,field:b1e,field_create_success:MJ,field_file:tJ,field_files:nJ,field_group:lJ,field_in_collection:lQ,field_key:Kee,field_key_placeholder:Tle,field_m2a:oJ,field_m2m:rJ,field_m2o:iJ,field_name:Pee,field_name_placeholder:Ale,field_name_translations:sK,field_o2m:aJ,field_options:ffe,field_permissions:uJ,field_presentation:eJ,field_presets:fJ,field_standard:QZ,field_translations:sJ,field_update_success:DJ,field_validation:dJ,field_width:Joe,fields:dfe,fields_and_layout:IJ,fields_for_role:hJ,fields_group:tee,file:x1e,file_count:uoe,file_details:jne,file_library:w1e,file_moved:lae,fill_template:une,fill_width:rK,filter:are,finish_setup:Zee,fit_to_screen:Bce,flip_horizontal:ure,flip_vertical:dre,float:CQ,flow:yle,flow_delete_confirm:Rle,flow_name:Gle,flow_setup:qle,flow_tracking:Yle,flow_tracking_activity:Kle,flow_tracking_all:Xle,flow_tracking_null:Zle,flows:gle,focal_length:oQ,focal_point_tool:Rne,folder:Yne,folder_key:Nse,folder_name:$se,folders:Xne,font:Vre,font_size:Rhe,font_style:Ohe,font_weight:Phe,fonts:The,foreground_color:tie,foreign_key:Xee,forgot_password:k1e,format:sne,format_text:lle,format_value:cle,free:cre,full_circle:nhe,full_screen:Oce,full_text_search:Rce,full_width:oX,functions:Sne,generate_and_save_uuid:vfe,generated_uuid:Die,geometry:RQ,github:KX,global:BJ,goto_collection_content:wre,group:aX,group_aggregation:$J,group_precision:NJ,half_circle:the,half_width:iX,hash:OQ,height:qce,hidden:C1e,hidden_collections:Dre,hidden_field:uQ,hidden_in_group:S1e,hidden_on_detail:dQ,hide_field:EJ,hide_field_on_detail:AJ,hide_hidden_collections:Ore,homepage:UX,hook:aK,horizontal:Upe,hours:Ane,icon:E1e,icon_left:Nre,icon_off:mle,icon_on:hle,icon_right:Bre,identifier:LY,image_url:jce,import_data_button:ene,import_data_error:ine,import_data_indeterminate:tne,import_data_input_placeholder:Qte,import_data_success:nne,import_export:rne,import_from_url:aie,import_label:Bne,inactive:$oe,inbox:BK,indeterminate:pK,info:A1e,information:Qie,init:dX,inline:Cfe,input:KY,insights:cce,install_extension:Xde,installed:Jde,integer:SQ,interface_group_groups:nue,interface_group_other:iue,interface_group_presentation:tue,interface_group_relational:eue,interface_group_selection:Qce,interface_group_text_and_numbers:Jce,interface_label:_ne,interface_not_found:ioe,interface_options:yse,interfaces:jpe,invalid_item:See,invite:zK,invite_users:FK,ip_address:Hoe,iso:iQ,item:lse,item_count:loe,item_create_success:Wte,item_creation:QY,item_delete_success:Gte,item_link:Rpe,item_payload_placeholder:ghe,item_permissions:cJ,item_revision:eX,item_update_success:qte,items:cse,json:EQ,junction_collection:P1e,junction_field_location:kJ,justify:Mhe,keep:ZK,keep_editing:lde,key:pQ,label:vle,label_export:ane,label_import:one,language:OJ,language_display_template:Lse,language_placeholder:RJ,languages_collection:Jte,last_access:cne,last_page:lne,last_updated_relative:jX,latency:O1e,layout:Gue,layout_options:bse,layout_preview:Que,layout_setup:ede,layouts:Hpe,leaf:fK,leave_comment:Vte,left:dhe,left_align:$ce,left_to_right:Fee,length:jee,limit:v1e,list:Dpe,list_panel_allow_edit:gce,live_preview:Efe,loading:ase,location:GY,log_in_with:Kre,login:R1e,logoutReason:SZ,logs:jY,lower_limit:tae,m2a_relationship:Cee,m2m_relationship:kee,m2o_relationship:xee,main_version:tZ,make_collection_hidden:_re,make_collection_visible:yre,make_folder_hidden:xre,make_folder_visible:bre,manage:QQ,manual_string:Pie,maps:ZY,marketplace:zY,max:eQ,max_value:Koe,maximum_fraction_digits:zhe,media:Hce,medium:rhe,message:LK,method:PY,min:QJ,min_value:Xoe,minimum_fraction_digits:Fhe,minutes:Ene,modal:Tee,modified:Wne,modified_on:uae,modifier:pX,module_bar:BY,modules:NY,monospace:Wre,month:Tne,months:Mne,move:vne,move_to:Ooe,move_to_folder:mne,move_tool:Pne,multiple_files:bee,my_activity:F1e,my_files:Ose,n_downloads:JX,n_files:VX,n_items_selected:Mse,name:wie,navigate_to_item:zpe,nested_files_folders_will_be_moved:VZ,new_collection:lee,new_data_alert:iee,new_field:see,new_share:Mfe,new_tab:lue,next:Dee,no_access:qZ,no_app_access:ere,no_app_access_copy:tre,no_collections:koe,no_collections_copy:Eoe,no_collections_copy_admin:Soe,no_collections_found:nee,no_comments:Wie,no_custom_translations:OK,no_custom_translations_copy:RK,no_dashboards:Sce,no_dashboards_copy:Ece,no_data:Lce,no_data_in_flow:Ice,no_description:LZ,no_extensions:Gde,no_extensions_copy:Yde,no_fields_in_collection:pfe,no_file_selected:uie,no_files_copy:doe,no_flows:jle,no_flows_copy:Vle,no_image_selected:cie,no_items:Xie,no_items_copy:coe,no_layout_collection_selected_yet:Hde,no_logs:X1e,no_notifications:goe,no_notifications_copy:yoe,no_options_available:Pue,no_other_dashboards_copy:zoe,no_other_flows_copy:Ble,no_presets:Jse,no_presets_copy:Qse,no_presets_cta:ele,no_refresh:qQ,no_relational_data:wJ,no_results:Vse,no_results_copy:Hse,no_revisions:Y1e,no_shares:Ife,no_singleton_relations:Toe,no_translations:Ree,no_upscale:qde,no_users_copy:poe,no_value:hfe,no_visible_fields:Use,no_visible_fields_copy:Wse,no_webhooks_copy:voe,none:Vde,normal:T1e,not_allowed:MZ,not_authenticated:z1e,not_available_for_local_downloads:hie,not_available_for_type:VQ,notation:Ehe,note:$ee,notifications:vte,nullable:YZ,o2m_relationship:wee,on_create:ile,on_update:ole,one_filtered_item:Ere,one_item:Sre,one_or_more_options_are_missing:Vue,open:Jne,open_file_in_tab:fie,open_folder:eie,open_in_marketplace:efe,open_in_new_window:Qne,open_link_in:sue,operation_handle_reject:lce,operation_handle_resolve:sce,operation_key:ace,operation_key_unique_error:rce,operation_name:oce,operation_not_found:ooe,operation_options:ice,operation_variables_note:yhe,operations:_he,operator:dle,operators:ise,optional_system_fields:Cse,options:N1e,or:uX,origin:Woe,original:$ne,other:Cue,otp:B1e,outdated_notice:pZ,owner:qne,page_help_activity_collection:fde,page_help_collections_collection:ude,page_help_collections_item:dde,page_help_collections_overview:cde,page_help_docs_global:pde,page_help_files_collection:hde,page_help_files_item:mde,page_help_insights_dashboard:Ode,page_help_insights_overview:Pde,page_help_marketplace_account:Rde,page_help_marketplace_extension:zde,page_help_marketplace_registry:Fde,page_help_settings_appearance:gde,page_help_settings_datamodel_collections:_de,page_help_settings_datamodel_fields:bde,page_help_settings_extensions:yde,page_help_settings_flows_collection:Ade,page_help_settings_flows_item:Tde,page_help_settings_presets_collection:kde,page_help_settings_presets_item:Cde,page_help_settings_project:vde,page_help_settings_roles_collection:xde,page_help_settings_roles_item:wde,page_help_settings_translations_collection:Lde,page_help_settings_translations_item:Ide,page_help_settings_webhooks_collection:Sde,page_help_settings_webhooks_item:Ede,page_help_users_collection:Mde,page_help_users_item:Dde,page_not_found:_te,page_not_found_body:bte,panel:dce,panel_delete_confirm:vce,panel_header:pce,panel_name_placeholder:hce,panel_note_placeholder:mce,panel_options:fce,panels:phe,partially_enabled:Sae,password:j1e,password_reset_sent:nre,password_reset_successful:ire,paste_raw_value:ate,paste_raw_value_fail:ste,paste_raw_value_success:rte,payload:Dce,per_page:Dse,percent:qhe,permissions:H1e,permissions_for_role:pJ,placeholder:$re,popular:rX,post_comment_success:Hte,post_comment_updated:Ute,precision:wQ,precision_scale:Hee,prefix:XK,prefix_placeholder:wce,presentation_and_aliases:yJ,presentation_text_values_cannot_be_reimported:Rte,preset_name_placeholder:Kue,preset_search_placeholder:Zue,presets:Kae,presets_field_warning:gJ,presets_for_role:vJ,presets_only:tle,primary:qK,primary_key:Yee,primary_key_field:kie,private_user:$te,promote_notice:hZ,promote_version:lZ,promote_version_changes:dZ,promote_version_disabled:cZ,promote_version_drawer_title:uZ,promote_version_preview:fZ,public_description:AZ,public_label:EZ,published:OY,published_relative:$X,quality:Uce,raw_editor_placeholder:ete,raw_value:tte,reached_maximum_number_of_extensions:IZ,read:ale,readonly:Uee,recent:sX,recent_files:Rse,recommended_defaults:NZ,referential_action_cascade:t1e,referential_action_field_label_m2o:Jfe,referential_action_field_label_o2m:Qfe,referential_action_no_action:e1e,referential_action_set_default:i1e,referential_action_set_null:n1e,refresh_interval:WQ,refresh_interval_minutes:YQ,refresh_interval_seconds:GQ,register:ape,registration_successful_check_email_note:lpe,registration_successful_headline:rpe,registration_successful_note:spe,reinstall:Qde,related_collection:Xte,related_collections:Kte,relational_triggers:Zfe,relationship:U1e,relationship_not_setup:Aoe,reload_page:qX,reload_required:GX,remove:vae,remove_item:Npe,rename_folder:GK,rename_version:aZ,replace_file:jse,replace_from_device:rie,replace_from_library:sie,replace_from_url:lie,report_an_issue:YX,report_bug:eoe,report_error:Lpe,repository:WX,request_body:noe,request_feature:toe,require_confirmation:Eee,require_value_to_be_set:Cpe,required:wK,required_for_app_access:kK,requires_value:CK,reset:W1e,reset_bookmark:yZ,reset_display:soe,reset_interface:aoe,reset_page_preferences:cQ,reset_password:q1e,reset_system_permissions_copy:FZ,reset_system_permissions_to:RZ,reset_to_default:hte,reset_width:HY,revert:K1e,revision_delta_by:Ote,revision_delta_created:Ete,revision_delta_created_externally:Ate,revision_delta_deleted:Lte,revision_delta_other:Pte,revision_delta_reverted:Mte,revision_delta_update_message:Dte,revision_delta_updated:Tte,revision_delta_version_saved:Ite,revision_post_create:_J,revision_post_update:bJ,revision_preview:Bte,revisions:G1e,right:uhe,right_align:Nce,right_to_left:zee,role:Yse,role_name:uK,rotate:pre,rounded_stroke:ohe,rows:xse,rule:Kse,run_flow:Sle,run_flow_confirm:ble,run_flow_on_current:wle,run_flow_on_current_collection:xle,run_flow_on_current_edited_confirm:kle,run_flow_on_selected:Cle,run_flow_success:Ele,sans_serif:Hre,save:Z1e,save_and_create_new:Oie,save_and_quit:Fie,save_and_stay:Rie,save_as_copy:zie,save_current_datetime:_fe,save_current_user_id:gfe,save_current_user_role:yfe,save_image:uue,save_media:due,save_version:sZ,saves_automatically:Gse,schema:J1e,schema_setup_key:aQ,scientific:whe,scope:Uue,search:Q1e,search_collection:oee,search_dashboard:Uhe,search_extensions:Zie,search_field:ree,search_filter:Ppe,search_flow:Whe,search_items:Kie,search_role:aee,second:sae,security:Nae,select:que,select_a_collection:Moe,select_a_field:Doe,select_a_flow:_le,select_a_theme:_ue,select_all:Ine,select_an_item:xae,select_display:ipe,select_existing:epe,select_field_type:tpe,select_fields:sle,select_interface:npe,select_item:Yie,selecting_items:jie,series_grouping:Bhe,serif:Ure,set_flow_active:Fle,set_flow_inactive:zle,settings:ope,settings_appearance:zue,settings_data_model:Oue,settings_flows:Nue,settings_permissions:Rue,settings_presets:Bue,settings_project:Fue,settings_translations:jue,settings_update_success:Cte,settings_webhooks:$ue,share:Ofe,share_access_not_found:Ufe,share_access_not_found_desc:Wfe,share_access_not_found_title:qfe,share_access_page:Hfe,share_copy_link:Gfe,share_copy_link_error:Xfe,share_copy_link_success:Yfe,share_item:Rfe,share_send_link:Kfe,shared_enter_passcode:zfe,shared_last_remaining:jfe,shared_leave_blank_for_passwordless_access:$fe,shared_leave_blank_for_unlimited:Nfe,shared_times_remaining:Bfe,shared_uses_left:Vfe,shared_with_you:Ffe,shares:Afe,show_active_items:yK,show_all_activity:yte,show_all_items:bK,show_archived_items:_K,show_axis_labels:ehe,show_data_label:Jpe,show_field_on_detail:TJ,show_header:Rre,show_hidden_collections:Pre,show_labels:lhe,show_legend:che,show_link_to_item:Fpe,show_percentage:$he,show_x_axis:rde,show_x_only:Kpe,show_y_axis:sde,show_y_only:Zpe,show_zero:HJ,shutter:nQ,sidebar:oae,sign_in:fpe,sign_out:ppe,sign_out_confirm:hpe,sign_up_now:dpe,single_file:_ee,singleton:sfe,singleton_label:lfe,size:Hne,soft_length:Vee,something_went_wrong:mpe,sort:hae,sort_asc:bpe,sort_desc:xpe,sort_direction:vpe,sort_field:fae,source:Yce,source_local:nfe,source_module:ife,source_registry:tfe,square:lre,standard:xhe,standard_field:yee,start:Ipe,start_collapsed:wfe,start_end_of_count_filtered_items:Cre,start_end_of_count_items:kre,start_export:pie,start_flow:Jle,start_open:xfe,status:mae,stop_flow:Qle,string:LQ,stroke_width:ihe,style:Ahe,subject:NK,submit:hne,success:L1e,suffix:KK,suffix_placeholder:kce,sum:GJ,sum_distinct:YJ,switch_user:JY,switch_version:nZ,switch_version_copy:iZ,system:gne,system_collections:zre,system_fields_locked:cfe,table:Mpe,template:kpe,text:IQ,text_align:Dhe,text_wrap:Lhe,tfa_scan_code:Dae,tfa_setup:Mae,the_following_are_minimum_permissions:zZ,theme:yue,theme_auto:FQ,theme_dark:$Q,theme_directus_colormatch:jQ,theme_directus_default:NQ,theme_directus_minimal:BQ,theme_light:zQ,thin:ahe,this_collection:Yte,this_will_auto_setup_fields_relations:KQ,tile_size:UY,time:MQ,timestamp:DQ,title:Ste,to_manually_setup_translations:JQ,today:xne,toggle:ple,toggle_manual_sorting:gae,toggle_raw_editor:Qee,tooltip:oue,tooltip_placeholder:aue,top:CJ,transformation_preset_key:Gce,translation:Spe,translation_key_placeholder:_Q,translation_placeholder:Epe,translations:Oee,translations_collection:Zte,translations_display_template:Ise,tree_view:Yue,trigger:Lle,trigger_options:Ile,trigger_setup:Ple,triggers:hhe,type:Cie,unarchive:BZ,unarchive_confirm:jZ,undo_changes:mte,undo_removed_item:$pe,unexpected_error:Zae,unexpected_error_copy:Jae,uninstall:Zde,uninstall_locked:Kde,unique:Wee,unit:bhe,unknown:VY,unknown_user:Eue,unlimited:rue,unlimited_usage:Tfe,unmanaged_collections:Fre,unsaved_changes:tde,unsaved_changes_copy:nde,upcoming:Pfe,update:rle,update_bookmark:_Z,update_collection_success:vre,updated_by:Gee,updated_on:qee,updates_made:jte,updating_flow:Wle,upload_file:use,upload_file_indeterminate:dse,upload_file_success:fse,upload_files_indeterminate:pse,upload_files_success:hse,upload_from_device:iie,upload_pending:mse,upper_limit:eae,url:Nne,url_placeholder:Xce,use_custom:GZ,user:Zse,user_agent:Uoe,user_count:foe,user_directory:nae,users:Noe,uses_left:Lfe,uuid:PQ,validation:qJ,validationError:UZ,validation_errors_notice:HZ,validation_for_role:mJ,value:Ape,value_decimals:Yoe,value_hashed:Bae,value_unique:Sse,verified:HX,version:JK,version_key:QK,version_name:eZ,vertical:Wpe,view_project:Tpe,view_raw_value:lte,view_trigger:Mle,viewing_in:Lue,visible:xce,visible_collections:Mre,warning:I1e,webhooks:qoe,webhooks_count:hoe,webhooks_deprecation_notice:moe,website:XX,width:Wce,wysiwyg_options:fue,x_axis:Gpe,xml:AQ,y_axis:Ype,y_axis_function:Xpe,yaml:TQ,year:Lne,yesterday:wne,zoom:Kne},Symbol.toStringTag,{value:"Module"})),$o=BU({legacy:!1,locale:"en-US",fallbackLocale:"en-US",messages:{"en-US":MP},silentTranslationWarn:!0,datetimeFormats:EY,numberFormats:AY}),mA=["en-US"];function lm(n){var r,a,s,l,d;const e=$o.global.t("unexpected_error");let t=n;if(typeof n=="object"&&(t=(d=(l=(s=(a=(r=n==null?void 0:n.response)==null?void 0:r.data)==null?void 0:a.errors)==null?void 0:s[0])==null?void 0:l.extensions)==null?void 0:d.code),!n||!t)return e;const i=`errors.${t}`;return $o.global.te(i)===!1?e:$o.global.t(i)}function u4(n,e=!1){const t=e?"@$|":"{}@$|";return n.replace(new RegExp(`([${t}])`,"g"),"{'$1'}")}function Gu(n){return n?n.first_name&&n.last_name?`${n.first_name} ${n.last_name}`:n.first_name?n.first_name:n.email?n.email:$o.global.t("unknown_user"):$o.global.t("unknown_user")}const Sr=lf({id:"userStore",state:()=>({currentUser:null,loading:!1,error:null}),getters:{fullName(){return this.currentUser===null||"share"in this.currentUser?null:Gu(this.currentUser)},isAdmin(){var n,e;return((e=(n=this.currentUser)==null?void 0:n.role)==null?void 0:e.admin_access)===!0||!1}},actions:{async hydrate(){this.loading=!0;try{const n=["*","avatar.id","role.admin_access","role.app_access","role.id","role.enforce_tfa"],{data:e}=await Zn.get("/users/me",{params:{fields:n}});this.currentUser=e.data}catch(n){this.error=n}finally{this.loading=!1}},async dehydrate(){this.$reset()},async hydrateAdditionalFields(n){try{const{data:e}=await Zn.get("/users/me",{params:{fields:n}});this.currentUser=st.merge({},this.currentUser,e.data)}catch{}},async trackPage(n){n.path.endsWith("/preview")||(await Zn.patch("/users/me/track/page",{last_page:n.fullPath},{measureLatency:!0}),this.currentUser&&!("share"in this.currentUser)&&(this.currentUser.last_page=n.fullPath))}}}),G3=lf({id:"notificationsStore",state:()=>({dialogs:[],queue:[],previous:[],notifications:[],unread:0}),actions:{async hydrate(){const n=Sr();n.currentUser&&!("share"in n.currentUser)&&await this.getUnreadCount()},async getUnreadCount(){const n=Sr();if(!n.currentUser||!("id"in n.currentUser))return;const e=await Zn.get("/notifications",{params:{filter:{_and:[{recipient:{_eq:n.currentUser.id}},{status:{_eq:"inbox"}}]},aggregate:{count:"id"}}});this.unread=e.data.data[0].count.id},setUnreadCount(n){this.unread=n<0?0:n},add(n){const e=hv(),t=Date.now();return n.dialog===!0?(n.persist=!0,this.dialogs=[...this.dialogs,{...n,id:e,timestamp:t}]):this.queue=[...this.queue,{...n,id:e,timestamp:t}],n.persist!==!0&&setTimeout(()=>{this.remove(e)},3e3),e},hide(n){const t=[...this.queue,...this.dialogs].find(i=>i.id===n);t&&(t.dialog===!0?this.dialogs=this.dialogs.filter(i=>i.id!==n):this.queue=this.queue.filter(i=>i.id!==n),this.previous=[...this.previous,t])},remove(n){const t=[...this.queue,...this.dialogs].find(i=>i.id===n);t&&(t.dialog===!0?this.dialogs=this.dialogs.filter(i=>i.id!==n):this.queue=this.queue.filter(i=>i.id!==n))},update(n,e){this.queue=this.queue.map(t),this.dialogs=this.dialogs.map(t),this.previous=this.queue.map(t);function t(i){return i.id===n?{...i,...e}:i}}},getters:{lastFour(){const n=[...this.queue,...this.previous.filter(i=>i.dialog!==!0)],t=st.reverse(st.sortBy(n,["timestamp"])).slice(0,4);return st.reverse(t)}}});let o9;function xc(n){o9||(o9=G3()),o9.add(n)}let a9;function Xi(n){var t,i,o,r,a,s;a9||(a9=G3());const e=((a=(r=(o=(i=(t=n.response)==null?void 0:t.data)==null?void 0:i.errors)==null?void 0:o[0])==null?void 0:r.extensions)==null?void 0:a.code)||((s=n==null?void 0:n.extensions)==null?void 0:s.code)||"UNKNOWN";console.warn(n),a9.add({title:$o.global.t(`errors.${e}`),type:"error",code:e,dialog:!0,error:n})}function Yhe(n){return n.replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/([A-Z]+)([A-Z][a-z\d]+)/g,"$1_$2").toLowerCase()}function Xhe(n){return n.charAt(0).toUpperCase()+n.substring(1)}var Khe=["2D","3D","4WD","A2O","AI","API","BIOS","CC","CCTV","CCV","CD","CD-ROM","CIA","CMS","COBOL","CSS","CSV","CV","DB","DIY","DNA","DVD","E3","EIN","ESPN","FAQ","FAQs","FBI","FORTRAN","FPS","FTP","HTML","HTTP","HTTPS","ID","IP","ISO","JS","JSON","LASER","M2A","M2M","M2MM","M2O","MMORPG","NAFTA","NASA","NDA","O2A","O2M","PDF","PHP","POP","RAM","RNGR","ROM","RPG","RTFM","RTS","SCUBA","SDK","SITCOM","SKU","SMTP","SQL","SSL","SSN","SWAT","TBS","TLS","TNA","TS","TTL","TV","UI","URL","USB","UWP","VIP","W3C","WWE","WWF","WWW","WYSIWYG"],Zhe=["a","an","the"],Jhe=["and","that","but","or","as","if","when","than","because","while","where","after","so","though","since","until","whether","before","although","nor","like","once","unless","now","except"],Qhe=["about","above","across","after","against","along","among","around","at","because of","before","behind","below","beneath","beside","besides","between","beyond","but","by","concerning","despite","down","during","except","excepting","for","from","in","in front of","inside","in spite of","instead of","into","like","near","of","off","on","onto","out","outside","over","past","regarding","since","through","throughout","to","toward","under","underneath","until","up","upon","up to","with","within","without","with regard to","with respect to"],eme=["2FA","4K","5K","8K","AGI","BI","ChatGPT","CTA","DateTime","FMS","GitHub","GPT","HD","IBMid","IDs","iMac","IMAX","iOS","iPad","iPhone","iPod","LDAP","LinkedIn","LLM","macOS","McDonalds","ML","MySQL","NLG","NLP","NLU","OpenAI","PDFs","PIM","PEFT","pH","PostgreSQL","SEO","TTS","UHD","UUID","XSS","YouTube"];function tme(n,e,t){const i=n.toLowerCase(),o=n.toUpperCase();for(const r of eme)if(r.toLowerCase()===i)return r;return Khe.includes(o)?o:e===0||e===t.length-1||n.length>=4?n:Qhe.includes(i)||Jhe.includes(i)||Zhe.includes(i)?i:n}function nme(n,e){return`${n} ${e}`}function ime(n,e=new RegExp("\\s|-|_","g")){return Yhe(n).split(e).map(Xhe).map(tme).reduce(nme)}var su=ime;function t2(n){let e=n;return typeof n=="string"&&n.startsWith("$t:")&&(e=$o.global.t(n.replace("$t:",""))),e}function Nc(n){if(typeof n=="string")return n.replaceAll(/(\$t:[a-zA-Z0-9.-]*)/gm,e=>t2(e));{const e=st.cloneDeep(n);return Object.entries(e).forEach(([t,i])=>{i&&typeof i=="object"&&(e[t]=Nc(i)),i&&typeof i=="string"&&(e[t]=t2(i))}),e}}const ome={collection:"directus_files",field:"$thumbnail",schema:null,name:"$thumbnail",type:"integer",meta:{id:-1,collection:"directus_files",field:"$thumbnail",sort:null,special:null,interface:null,options:null,display:"file",display_options:null,hidden:!1,translations:null,readonly:!0,width:"full",group:null,note:null,required:!1,conditions:null,validation:null,validation_message:null}};let vA;const xo=lf("fieldsStore",()=>{const n=Pe([]);return{fields:n,hydrate:e,dehydrate:t,parseField:i,translateFields:o,upsertField:r,createField:a,updateField:s,updateFields:l,deleteField:d,getPrimaryKeyFieldForCollection:f,getFieldsForCollection:g,getFieldsForCollectionAlphabetical:v,getFieldsForCollectionSorted:b,getField:x,getFieldGroupChildren:k};async function e(O){const D=(await Zn.get("/fields")).data.data;n.value=[...D.map(i),ome],(O==null?void 0:O.skipTranslation)!==!0&&o()}async function t(){n.value=[]}function i(O){var I;let w=su(O.field);const D=O.meta&&!st.isNil(O.meta.translations)&&Array.isArray(O.meta.translations)?O.meta.translations.map($=>$.language):[];for(const $ of $o.global.availableLocales)$o.global.te(`fields.${O.collection}.${O.field}`,$)&&!D.includes($)&&!((I=O.meta)!=null&&I.system)&&$o.global.mergeLocaleMessage($,{fields:{[O.collection]:{[O.field]:void 0}}});if(O.meta&&Array.isArray(O.meta.translations))for(const{language:$,translation:B}of O.meta.translations)$o.global.mergeLocaleMessage($,{...B?{fields:{[O.collection]:{[O.field]:u4(B)}}}:{}});return $o.global.te(`fields.${O.collection}.${O.field}`)&&(w=$o.global.t(`fields.${O.collection}.${O.field}`)),{...O,name:w}}function o(){n.value=n.value.map(O=>{var w,D,I,$;return $o.global.te(`fields.${O.collection}.${O.field}`)&&(O.name=$o.global.t(`fields.${O.collection}.${O.field}`)),(w=O.meta)!=null&&w.note&&(O.meta.note=t2(O.meta.note)),(D=O.meta)!=null&&D.options&&(O.meta.options=Nc(O.meta.options)),(I=O.meta)!=null&&I.display_options&&(O.meta.display_options=Nc(O.meta.display_options)),($=O.meta)!=null&&$.validation_message&&(O.meta.validation_message=t2(O.meta.validation_message)),O})}async function r(O,w,D){const I=x(O,w),$=st.omit(D,["name"]);return I?st.isEqual(D,I)?void 0:await s(O,w,$):await a(O,$)}async function a(O,w){const D=[...n.value];try{const I=await Zn.post(`/fields/${O}`,w),$=i(I.data.data);return n.value=[...n.value,$],$}catch(I){n.value=D,Xi(I)}}async function s(O,w,D){const I=[...n.value];n.value=n.value.map($=>$.collection===O&&$.field===w?st.merge({},$,D):$);try{const $=await Zn.patch(`/fields/${O}/${w}`,D);n.value=n.value.map(B=>B.collection===O&&B.field===w?i($.data.data):B)}catch($){n.value=I,Xi($)}}async function l(O,w){const D=hv(),I=[...n.value];vA=D,n.value=n.value.map($=>{if($.collection===O){const B=w.find(X=>X.field===$.field);if(B)return st.merge({},$,B)}return $});try{const $=await Zn.patch(`/fields/${O}`,w);vA===D&&(n.value=n.value.map(B=>{if(B.collection===O){const X=$.data.data.find(Y=>Y.field===B.field);if(X)return i(X)}return B}),o())}catch($){n.value=I,Xi($)}}async function d(O,w){const D=Ts(),I=gr(),$=[...n.value],B=[...D.relations];n.value=n.value.filter(X=>!(X.field===w&&X.collection===O)),D.relations=D.relations.filter(X=>{var Y;return!(X.collection===O&&X.field===w||X.related_collection===O&&((Y=X.meta)==null?void 0:Y.one_field)===w)});try{await Zn.delete(`/fields/${O}/${w}`),await I.hydrate()}catch(X){n.value=$,D.relations=B,Xi(X)}}function f(O){return n.value.find(D=>{var I;return D.collection===O&&((I=D.schema)==null?void 0:I.is_primary_key)===!0})??null}function g(O){return st.orderBy(n.value.filter(w=>w.collection===O),[w=>{var D;return((D=w.meta)==null?void 0:D.system)===!0},w=>{var D,I;return(D=w.meta)!=null&&D.sort?Number((I=w.meta)==null?void 0:I.sort):null}],["desc","asc"])}function v(O){return g(O).sort((w,D)=>w.field<D.field?-1:(w.field>D.field,1))}function b(O){const w=st.orderBy(n.value.filter(I=>I.collection===O),"meta.sort"),D=w.filter(I=>{var $;return!(($=I.meta)!=null&&$.group)});for(const[I,$]of D.entries()){const B=w.filter(X=>{var Y;return((Y=X.meta)==null?void 0:Y.group)===$.field});B.length&&D.splice(I+1,0,...st.orderBy(B,"meta.sort"))}return D}function x(O,w){return w.includes(".")?S(O,w)||null:n.value.find(D=>D.collection===O&&D.field===w)||null}function k(O,w){return n.value.filter(D=>{var I;return D.collection===O&&((I=D.meta)==null?void 0:I.group)===w})||null}function S(O,w){const D=Ts(),[I,...$]=w.split(".");if(I.includes(":")){const[ue,ce]=I.split(":");return x(ce,$.join("."))}const B=D.getRelationsForField(O,I),X=B==null?void 0:B.find(ue=>{var ce;return ue.field===I||((ce=ue.meta)==null?void 0:ce.one_field)===I});if(X===void 0)return!1;const Y=X.field===I?X.related_collection:X.collection;if(Y===null)return!1;const Q=$.join(".");return x(Y,Q)}}),Ts=lf({id:"relationsStore",state:()=>({relations:[]}),actions:{async hydrate(){const n=await Zn.get("/relations");this.relations=n.data.data},async dehydrate(){this.$reset()},getRelationsForCollection(n){return this.relations.filter(e=>e.collection===n||e.related_collection===n)},async upsertRelation(n,e,t){const i=this.getRelationForField(n,e);try{if(i){if(st.isEqual(i,t))return;const o=await Zn.patch(`/relations/${n}/${e}`,t);this.relations=this.relations.map(r=>r.collection===n&&r.field===e?o.data.data:r)}else{const o=await Zn.post("/relations",t);this.relations=[...this.relations,o.data.data]}}catch(o){Xi(o)}},getRelationsForField(n,e){var r;if(!xo().getField(n,e))return[];const o=this.getRelationsForCollection(n).filter(a=>{var s;return a.collection===n&&a.field===e||a.related_collection===n&&((s=a.meta)==null?void 0:s.one_field)===e});if(o.length>0){const a=o[0];if(((r=a.meta)==null?void 0:r.junction_field)!==null){const l=this.relations.find(d=>{var f;return d.collection===a.collection&&d.field===((f=a.meta)==null?void 0:f.junction_field)});l&&o.push(l)}}return o},getRelationForField(n,e){return xo().getField(n,e)&&this.getRelationsForCollection(n).filter(r=>{var a;return r.collection===n&&r.field===e||r.related_collection===n&&((a=r.meta)==null?void 0:a.one_field)===e}).find(r=>r.collection===n&&r.field===e)||null},getRelationTypes(n,e){var a;if(!e.includes("."))return[];const t=e.split("."),i=t[0].includes(":")?t[0].split(":")[0]:t[0],o=this.getRelationsForField(n,i).find(s=>s.collection===n||s.related_collection===n);if(!o)return[];switch(hb({collection:n,field:i,relation:o})){case"o2m":return["o2m",...this.getRelationTypes(o.collection,t.slice(1).join("."))];case"m2o":return o.related_collection?["m2o",...this.getRelationTypes(o.related_collection,t.slice(1).join("."))]:[];case"m2a":return(a=o.meta)!=null&&a.one_allowed_collections?["m2a",...this.getRelationTypes(t[0].split(":")[1],t.slice(1).join("."))]:["m2a"]}return[]}}}),gr=lf("collectionsStore",()=>{const n=Pe([]),e=we(()=>n.value.filter(({collection:b})=>oc(b)===!1).filter(b=>{var x;return b.meta&&((x=b.meta)==null?void 0:x.hidden)!==!0})),t=we(()=>n.value.filter(({collection:b})=>oc(b)===!1)),i=we(()=>t.value.filter(b=>b.schema)),o=we(()=>st.orderBy(n.value.filter(b=>oc(b.collection)),"collection").filter(b=>rq.includes(b.collection)===!1));return{collections:n,visibleCollections:e,allCollections:t,databaseCollections:i,crudSafeSystemCollections:o,hydrate:r,dehydrate:a,prepareCollectionForApp:s,translateCollections:l,upsertCollection:d,updateCollection:f,deleteCollection:g,getCollection:v};async function r(){const x=(await Zn.get("/collections")).data.data;n.value=x.map(s)}async function a(){n.value=[]}function s(b){var D,I;const x=((D=b.meta)==null?void 0:D.icon)||"database",k=(I=b.meta)==null?void 0:I.color;let S=su(b.collection);const O=cU(b),w=b.meta&&!st.isNil(b.meta.translations)&&Array.isArray(b.meta.translations)?b.meta.translations.map($=>$.language):[];for(const $ of $o.global.availableLocales)$o.global.te(`collection_names.${b.collection}`,$)&&!w.includes($)&&$o.global.mergeLocaleMessage($,{collection_names:{[b.collection]:void 0}});if(b.meta&&Array.isArray(b.meta.translations))for(const{language:$,translation:B,singular:X,plural:Y}of b.meta.translations)$o.global.mergeLocaleMessage($,{...B?{collection_names:{[b.collection]:u4(B)}}:{},...X?{collection_names_singular:{[b.collection]:u4(X)}}:{},...Y?{collection_names_plural:{[b.collection]:u4(Y)}}:{}});return $o.global.te(`collection_names.${b.collection}`)&&(S=$o.global.t(`collection_names.${b.collection}`)),{...b,name:S,type:O,icon:x,color:k}}function l(){n.value=n.value.map(b=>($o.global.te(`collection_names.${b.collection}`)&&(b.name=$o.global.t(`collection_names.${b.collection}`)),b))}async function d(b,x){const k=v(b),S=st.omit(x,["name","type","icon","color"]);try{if(k){if(st.isEqual(k,x))return;const O=await Zn.patch(`/collections/${b}`,S);n.value=n.value.map(w=>w.collection===b?s(O.data.data):w)}else{const O=await Zn.post("/collections",S);n.value=[...n.value,s(O.data.data)]}}catch(O){Xi(O)}}async function f(b,x){try{await Zn.patch(`/collections/${b}`,x),await r(),xc({title:$o.global.t("update_collection_success")})}catch(k){Xi(k)}}async function g(b){const x=Ts();try{await Zn.delete(`/collections/${b}`),await Promise.all([r(),x.hydrate()]),xc({title:$o.global.t("delete_collection_success")})}catch(k){Xi(k)}}function v(b){return n.value.find(x=>x.collection===b)||null}}),ame=jd({id:"collection",name:"$t:displays.collection.collection",description:"$t:displays.collection.description",types:["string"],icon:"label",component:SY,handler:n=>{var t;return((t=gr().getCollection(n))==null?void 0:t.name)??n},options:[{field:"icon",name:"$t:icon",type:"boolean",meta:{interface:"boolean",options:{label:"$t:displays.collection.icon_label"}},schema:{default_value:!1}}]});function _C(n){return/^#(([a-f\d]{3,4}))$/i.test(n)||/^#(([a-f\d]{2}){3,4})$/i.test(n)}var DP={exports:{}},PP={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},OP={exports:{}},rme=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")},sme=rme,lme=Array.prototype.concat,cme=Array.prototype.slice,gA=OP.exports=function(e){for(var t=[],i=0,o=e.length;i<o;i++){var r=e[i];sme(r)?t=lme.call(t,cme.call(r)):t.push(r)}return t};gA.wrap=function(n){return function(){return n(gA(arguments))}};var ume=OP.exports,d4=PP,g_=ume,RP=Object.hasOwnProperty,FP=Object.create(null);for(var r9 in d4)RP.call(d4,r9)&&(FP[d4[r9]]=r9);var np=DP.exports={to:{},get:{}};np.get=function(n){var e=n.substring(0,3).toLowerCase(),t,i;switch(e){case"hsl":t=np.get.hsl(n),i="hsl";break;case"hwb":t=np.get.hwb(n),i="hwb";break;default:t=np.get.rgb(n),i="rgb";break}return t?{model:i,value:t}:null};np.get.rgb=function(n){if(!n)return null;var e=/^#([a-f0-9]{3,4})$/i,t=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,i=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,o=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,r=/^(\w+)$/,a=[0,0,0,1],s,l,d;if(s=n.match(t)){for(d=s[2],s=s[1],l=0;l<3;l++){var f=l*2;a[l]=parseInt(s.slice(f,f+2),16)}d&&(a[3]=parseInt(d,16)/255)}else if(s=n.match(e)){for(s=s[1],d=s[3],l=0;l<3;l++)a[l]=parseInt(s[l]+s[l],16);d&&(a[3]=parseInt(d+d,16)/255)}else if(s=n.match(i)){for(l=0;l<3;l++)a[l]=parseInt(s[l+1],0);s[4]&&(s[5]?a[3]=parseFloat(s[4])*.01:a[3]=parseFloat(s[4]))}else if(s=n.match(o)){for(l=0;l<3;l++)a[l]=Math.round(parseFloat(s[l+1])*2.55);s[4]&&(s[5]?a[3]=parseFloat(s[4])*.01:a[3]=parseFloat(s[4]))}else return(s=n.match(r))?s[1]==="transparent"?[0,0,0,0]:RP.call(d4,s[1])?(a=d4[s[1]],a[3]=1,a):null:null;for(l=0;l<3;l++)a[l]=Q2(a[l],0,255);return a[3]=Q2(a[3],0,1),a};np.get.hsl=function(n){if(!n)return null;var e=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,t=n.match(e);if(t){var i=parseFloat(t[4]),o=(parseFloat(t[1])%360+360)%360,r=Q2(parseFloat(t[2]),0,100),a=Q2(parseFloat(t[3]),0,100),s=Q2(isNaN(i)?1:i,0,1);return[o,r,a,s]}return null};np.get.hwb=function(n){if(!n)return null;var e=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,t=n.match(e);if(t){var i=parseFloat(t[4]),o=(parseFloat(t[1])%360+360)%360,r=Q2(parseFloat(t[2]),0,100),a=Q2(parseFloat(t[3]),0,100),s=Q2(isNaN(i)?1:i,0,1);return[o,r,a,s]}return null};np.to.hex=function(){var n=g_(arguments);return"#"+M5(n[0])+M5(n[1])+M5(n[2])+(n[3]<1?M5(Math.round(n[3]*255)):"")};np.to.rgb=function(){var n=g_(arguments);return n.length<4||n[3]===1?"rgb("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+")":"rgba("+Math.round(n[0])+", "+Math.round(n[1])+", "+Math.round(n[2])+", "+n[3]+")"};np.to.rgb.percent=function(){var n=g_(arguments),e=Math.round(n[0]/255*100),t=Math.round(n[1]/255*100),i=Math.round(n[2]/255*100);return n.length<4||n[3]===1?"rgb("+e+"%, "+t+"%, "+i+"%)":"rgba("+e+"%, "+t+"%, "+i+"%, "+n[3]+")"};np.to.hsl=function(){var n=g_(arguments);return n.length<4||n[3]===1?"hsl("+n[0]+", "+n[1]+"%, "+n[2]+"%)":"hsla("+n[0]+", "+n[1]+"%, "+n[2]+"%, "+n[3]+")"};np.to.hwb=function(){var n=g_(arguments),e="";return n.length>=4&&n[3]!==1&&(e=", "+n[3]),"hwb("+n[0]+", "+n[1]+"%, "+n[2]+"%"+e+")"};np.to.keyword=function(n){return FP[n.slice(0,3)]};function Q2(n,e,t){return Math.min(Math.max(e,n),t)}function M5(n){var e=Math.round(n).toString(16).toUpperCase();return e.length<2?"0"+e:e}var dme=DP.exports;const O4=PP,zP={};for(const n of Object.keys(O4))zP[O4[n]]=n;const la={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};var $P=la;for(const n of Object.keys(la)){if(!("channels"in la[n]))throw new Error("missing channels property: "+n);if(!("labels"in la[n]))throw new Error("missing channel labels property: "+n);if(la[n].labels.length!==la[n].channels)throw new Error("channel and label counts mismatch: "+n);const{channels:e,labels:t}=la[n];delete la[n].channels,delete la[n].labels,Object.defineProperty(la[n],"channels",{value:e}),Object.defineProperty(la[n],"labels",{value:t})}la.rgb.hsl=function(n){const e=n[0]/255,t=n[1]/255,i=n[2]/255,o=Math.min(e,t,i),r=Math.max(e,t,i),a=r-o;let s,l;r===o?s=0:e===r?s=(t-i)/a:t===r?s=2+(i-e)/a:i===r&&(s=4+(e-t)/a),s=Math.min(s*60,360),s<0&&(s+=360);const d=(o+r)/2;return r===o?l=0:d<=.5?l=a/(r+o):l=a/(2-r-o),[s,l*100,d*100]};la.rgb.hsv=function(n){let e,t,i,o,r;const a=n[0]/255,s=n[1]/255,l=n[2]/255,d=Math.max(a,s,l),f=d-Math.min(a,s,l),g=function(v){return(d-v)/6/f+1/2};return f===0?(o=0,r=0):(r=f/d,e=g(a),t=g(s),i=g(l),a===d?o=i-t:s===d?o=1/3+e-i:l===d&&(o=2/3+t-e),o<0?o+=1:o>1&&(o-=1)),[o*360,r*100,d*100]};la.rgb.hwb=function(n){const e=n[0],t=n[1];let i=n[2];const o=la.rgb.hsl(n)[0],r=1/255*Math.min(e,Math.min(t,i));return i=1-1/255*Math.max(e,Math.max(t,i)),[o,r*100,i*100]};la.rgb.cmyk=function(n){const e=n[0]/255,t=n[1]/255,i=n[2]/255,o=Math.min(1-e,1-t,1-i),r=(1-e-o)/(1-o)||0,a=(1-t-o)/(1-o)||0,s=(1-i-o)/(1-o)||0;return[r*100,a*100,s*100,o*100]};function fme(n,e){return(n[0]-e[0])**2+(n[1]-e[1])**2+(n[2]-e[2])**2}la.rgb.keyword=function(n){const e=zP[n];if(e)return e;let t=1/0,i;for(const o of Object.keys(O4)){const r=O4[o],a=fme(n,r);a<t&&(t=a,i=o)}return i};la.keyword.rgb=function(n){return O4[n]};la.rgb.xyz=function(n){let e=n[0]/255,t=n[1]/255,i=n[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,t=t>.04045?((t+.055)/1.055)**2.4:t/12.92,i=i>.04045?((i+.055)/1.055)**2.4:i/12.92;const o=e*.4124+t*.3576+i*.1805,r=e*.2126+t*.7152+i*.0722,a=e*.0193+t*.1192+i*.9505;return[o*100,r*100,a*100]};la.rgb.lab=function(n){const e=la.rgb.xyz(n);let t=e[0],i=e[1],o=e[2];t/=95.047,i/=100,o/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,i=i>.008856?i**(1/3):7.787*i+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;const r=116*i-16,a=500*(t-i),s=200*(i-o);return[r,a,s]};la.hsl.rgb=function(n){const e=n[0]/360,t=n[1]/100,i=n[2]/100;let o,r,a;if(t===0)return a=i*255,[a,a,a];i<.5?o=i*(1+t):o=i+t-i*t;const s=2*i-o,l=[0,0,0];for(let d=0;d<3;d++)r=e+1/3*-(d-1),r<0&&r++,r>1&&r--,6*r<1?a=s+(o-s)*6*r:2*r<1?a=o:3*r<2?a=s+(o-s)*(2/3-r)*6:a=s,l[d]=a*255;return l};la.hsl.hsv=function(n){const e=n[0];let t=n[1]/100,i=n[2]/100,o=t;const r=Math.max(i,.01);i*=2,t*=i<=1?i:2-i,o*=r<=1?r:2-r;const a=(i+t)/2,s=i===0?2*o/(r+o):2*t/(i+t);return[e,s*100,a*100]};la.hsv.rgb=function(n){const e=n[0]/60,t=n[1]/100;let i=n[2]/100;const o=Math.floor(e)%6,r=e-Math.floor(e),a=255*i*(1-t),s=255*i*(1-t*r),l=255*i*(1-t*(1-r));switch(i*=255,o){case 0:return[i,l,a];case 1:return[s,i,a];case 2:return[a,i,l];case 3:return[a,s,i];case 4:return[l,a,i];case 5:return[i,a,s]}};la.hsv.hsl=function(n){const e=n[0],t=n[1]/100,i=n[2]/100,o=Math.max(i,.01);let r,a;a=(2-t)*i;const s=(2-t)*o;return r=t*o,r/=s<=1?s:2-s,r=r||0,a/=2,[e,r*100,a*100]};la.hwb.rgb=function(n){const e=n[0]/360;let t=n[1]/100,i=n[2]/100;const o=t+i;let r;o>1&&(t/=o,i/=o);const a=Math.floor(6*e),s=1-i;r=6*e-a,a&1&&(r=1-r);const l=t+r*(s-t);let d,f,g;switch(a){default:case 6:case 0:d=s,f=l,g=t;break;case 1:d=l,f=s,g=t;break;case 2:d=t,f=s,g=l;break;case 3:d=t,f=l,g=s;break;case 4:d=l,f=t,g=s;break;case 5:d=s,f=t,g=l;break}return[d*255,f*255,g*255]};la.cmyk.rgb=function(n){const e=n[0]/100,t=n[1]/100,i=n[2]/100,o=n[3]/100,r=1-Math.min(1,e*(1-o)+o),a=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,i*(1-o)+o);return[r*255,a*255,s*255]};la.xyz.rgb=function(n){const e=n[0]/100,t=n[1]/100,i=n[2]/100;let o,r,a;return o=e*3.2406+t*-1.5372+i*-.4986,r=e*-.9689+t*1.8758+i*.0415,a=e*.0557+t*-.204+i*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,o=Math.min(Math.max(0,o),1),r=Math.min(Math.max(0,r),1),a=Math.min(Math.max(0,a),1),[o*255,r*255,a*255]};la.xyz.lab=function(n){let e=n[0],t=n[1],i=n[2];e/=95.047,t/=100,i/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,t=t>.008856?t**(1/3):7.787*t+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;const o=116*t-16,r=500*(e-t),a=200*(t-i);return[o,r,a]};la.lab.xyz=function(n){const e=n[0],t=n[1],i=n[2];let o,r,a;r=(e+16)/116,o=t/500+r,a=r-i/200;const s=r**3,l=o**3,d=a**3;return r=s>.008856?s:(r-16/116)/7.787,o=l>.008856?l:(o-16/116)/7.787,a=d>.008856?d:(a-16/116)/7.787,o*=95.047,r*=100,a*=108.883,[o,r,a]};la.lab.lch=function(n){const e=n[0],t=n[1],i=n[2];let o;o=Math.atan2(i,t)*360/2/Math.PI,o<0&&(o+=360);const a=Math.sqrt(t*t+i*i);return[e,a,o]};la.lch.lab=function(n){const e=n[0],t=n[1],o=n[2]/360*2*Math.PI,r=t*Math.cos(o),a=t*Math.sin(o);return[e,r,a]};la.rgb.ansi16=function(n,e=null){const[t,i,o]=n;let r=e===null?la.rgb.hsv(n)[2]:e;if(r=Math.round(r/50),r===0)return 30;let a=30+(Math.round(o/255)<<2|Math.round(i/255)<<1|Math.round(t/255));return r===2&&(a+=60),a};la.hsv.ansi16=function(n){return la.rgb.ansi16(la.hsv.rgb(n),n[2])};la.rgb.ansi256=function(n){const e=n[0],t=n[1],i=n[2];return e===t&&t===i?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(i/255*5)};la.ansi16.rgb=function(n){let e=n%10;if(e===0||e===7)return n>50&&(e+=3.5),e=e/10.5*255,[e,e,e];const t=(~~(n>50)+1)*.5,i=(e&1)*t*255,o=(e>>1&1)*t*255,r=(e>>2&1)*t*255;return[i,o,r]};la.ansi256.rgb=function(n){if(n>=232){const r=(n-232)*10+8;return[r,r,r]}n-=16;let e;const t=Math.floor(n/36)/5*255,i=Math.floor((e=n%36)/6)/5*255,o=e%6/5*255;return[t,i,o]};la.rgb.hex=function(n){const t=(((Math.round(n[0])&255)<<16)+((Math.round(n[1])&255)<<8)+(Math.round(n[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t};la.hex.rgb=function(n){const e=n.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let t=e[0];e[0].length===3&&(t=t.split("").map(s=>s+s).join(""));const i=parseInt(t,16),o=i>>16&255,r=i>>8&255,a=i&255;return[o,r,a]};la.rgb.hcg=function(n){const e=n[0]/255,t=n[1]/255,i=n[2]/255,o=Math.max(Math.max(e,t),i),r=Math.min(Math.min(e,t),i),a=o-r;let s,l;return a<1?s=r/(1-a):s=0,a<=0?l=0:o===e?l=(t-i)/a%6:o===t?l=2+(i-e)/a:l=4+(e-t)/a,l/=6,l%=1,[l*360,a*100,s*100]};la.hsl.hcg=function(n){const e=n[1]/100,t=n[2]/100,i=t<.5?2*e*t:2*e*(1-t);let o=0;return i<1&&(o=(t-.5*i)/(1-i)),[n[0],i*100,o*100]};la.hsv.hcg=function(n){const e=n[1]/100,t=n[2]/100,i=e*t;let o=0;return i<1&&(o=(t-i)/(1-i)),[n[0],i*100,o*100]};la.hcg.rgb=function(n){const e=n[0]/360,t=n[1]/100,i=n[2]/100;if(t===0)return[i*255,i*255,i*255];const o=[0,0,0],r=e%1*6,a=r%1,s=1-a;let l=0;switch(Math.floor(r)){case 0:o[0]=1,o[1]=a,o[2]=0;break;case 1:o[0]=s,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=a;break;case 3:o[0]=0,o[1]=s,o[2]=1;break;case 4:o[0]=a,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=s}return l=(1-t)*i,[(t*o[0]+l)*255,(t*o[1]+l)*255,(t*o[2]+l)*255]};la.hcg.hsv=function(n){const e=n[1]/100,t=n[2]/100,i=e+t*(1-e);let o=0;return i>0&&(o=e/i),[n[0],o*100,i*100]};la.hcg.hsl=function(n){const e=n[1]/100,i=n[2]/100*(1-e)+.5*e;let o=0;return i>0&&i<.5?o=e/(2*i):i>=.5&&i<1&&(o=e/(2*(1-i))),[n[0],o*100,i*100]};la.hcg.hwb=function(n){const e=n[1]/100,t=n[2]/100,i=e+t*(1-e);return[n[0],(i-e)*100,(1-i)*100]};la.hwb.hcg=function(n){const e=n[1]/100,i=1-n[2]/100,o=i-e;let r=0;return o<1&&(r=(i-o)/(1-o)),[n[0],o*100,r*100]};la.apple.rgb=function(n){return[n[0]/65535*255,n[1]/65535*255,n[2]/65535*255]};la.rgb.apple=function(n){return[n[0]/255*65535,n[1]/255*65535,n[2]/255*65535]};la.gray.rgb=function(n){return[n[0]/100*255,n[0]/100*255,n[0]/100*255]};la.gray.hsl=function(n){return[0,0,n[0]]};la.gray.hsv=la.gray.hsl;la.gray.hwb=function(n){return[0,100,n[0]]};la.gray.cmyk=function(n){return[0,0,0,n[0]]};la.gray.lab=function(n){return[n[0],0,0]};la.gray.hex=function(n){const e=Math.round(n[0]/100*255)&255,i=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(i.length)+i};la.rgb.gray=function(n){return[(n[0]+n[1]+n[2])/3/255*100]};const _b=$P;function pme(){const n={},e=Object.keys(_b);for(let t=e.length,i=0;i<t;i++)n[e[i]]={distance:-1,parent:null};return n}function hme(n){const e=pme(),t=[n];for(e[n].distance=0;t.length;){const i=t.pop(),o=Object.keys(_b[i]);for(let r=o.length,a=0;a<r;a++){const s=o[a],l=e[s];l.distance===-1&&(l.distance=e[i].distance+1,l.parent=i,t.unshift(s))}}return e}function mme(n,e){return function(t){return e(n(t))}}function vme(n,e){const t=[e[n].parent,n];let i=_b[e[n].parent][n],o=e[n].parent;for(;e[o].parent;)t.unshift(e[o].parent),i=mme(_b[e[o].parent][o],i),o=e[o].parent;return i.conversion=t,i}var gme=function(n){const e=hme(n),t={},i=Object.keys(e);for(let o=i.length,r=0;r<o;r++){const a=i[r];e[a].parent!==null&&(t[a]=vme(a,e))}return t};const Zx=$P,yme=gme,S0={},_me=Object.keys(Zx);function bme(n){const e=function(...t){const i=t[0];return i==null?i:(i.length>1&&(t=i),n(t))};return"conversion"in n&&(e.conversion=n.conversion),e}function xme(n){const e=function(...t){const i=t[0];if(i==null)return i;i.length>1&&(t=i);const o=n(t);if(typeof o=="object")for(let r=o.length,a=0;a<r;a++)o[a]=Math.round(o[a]);return o};return"conversion"in n&&(e.conversion=n.conversion),e}_me.forEach(n=>{S0[n]={},Object.defineProperty(S0[n],"channels",{value:Zx[n].channels}),Object.defineProperty(S0[n],"labels",{value:Zx[n].labels});const e=yme(n);Object.keys(e).forEach(i=>{const o=e[i];S0[n][i]=xme(o),S0[n][i].raw=bme(o)})});var wme=S0;const E0=dme,tp=wme,NP=["keyword","gray","hex"],Jx={};for(const n of Object.keys(tp))Jx[[...tp[n].labels].sort().join("")]=n;const bb={};function zd(n,e){if(!(this instanceof zd))return new zd(n,e);if(e&&e in NP&&(e=null),e&&!(e in tp))throw new Error("Unknown model: "+e);let t,i;if(n==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(n instanceof zd)this.model=n.model,this.color=[...n.color],this.valpha=n.valpha;else if(typeof n=="string"){const o=E0.get(n);if(o===null)throw new Error("Unable to parse color from string: "+n);this.model=o.model,i=tp[this.model].channels,this.color=o.value.slice(0,i),this.valpha=typeof o.value[i]=="number"?o.value[i]:1}else if(n.length>0){this.model=e||"rgb",i=tp[this.model].channels;const o=Array.prototype.slice.call(n,0,i);this.color=Qx(o,i),this.valpha=typeof n[i]=="number"?n[i]:1}else if(typeof n=="number")this.model="rgb",this.color=[n>>16&255,n>>8&255,n&255],this.valpha=1;else{this.valpha=1;const o=Object.keys(n);"alpha"in n&&(o.splice(o.indexOf("alpha"),1),this.valpha=typeof n.alpha=="number"?n.alpha:0);const r=o.sort().join("");if(!(r in Jx))throw new Error("Unable to parse color from object: "+JSON.stringify(n));this.model=Jx[r];const{labels:a}=tp[this.model],s=[];for(t=0;t<a.length;t++)s.push(n[a[t]]);this.color=Qx(s)}if(bb[this.model])for(i=tp[this.model].channels,t=0;t<i;t++){const o=bb[this.model][t];o&&(this.color[t]=o(this.color[t]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}zd.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(n){let e=this.model in E0.to?this:this.rgb();e=e.round(typeof n=="number"?n:1);const t=e.valpha===1?e.color:[...e.color,this.valpha];return E0.to[e.model](t)},percentString(n){const e=this.rgb().round(typeof n=="number"?n:1),t=e.valpha===1?e.color:[...e.color,this.valpha];return E0.to.rgb.percent(t)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const n={},{channels:e}=tp[this.model],{labels:t}=tp[this.model];for(let i=0;i<e;i++)n[t[i]]=this.color[i];return this.valpha!==1&&(n.alpha=this.valpha),n},unitArray(){const n=this.rgb().color;return n[0]/=255,n[1]/=255,n[2]/=255,this.valpha!==1&&n.push(this.valpha),n},unitObject(){const n=this.rgb().object();return n.r/=255,n.g/=255,n.b/=255,this.valpha!==1&&(n.alpha=this.valpha),n},round(n){return n=Math.max(n||0,0),new zd([...this.color.map(Cme(n)),this.valpha],this.model)},alpha(n){return n!==void 0?new zd([...this.color,Math.max(0,Math.min(1,n))],this.model):this.valpha},red:tu("rgb",0,gd(255)),green:tu("rgb",1,gd(255)),blue:tu("rgb",2,gd(255)),hue:tu(["hsl","hsv","hsl","hwb","hcg"],0,n=>(n%360+360)%360),saturationl:tu("hsl",1,gd(100)),lightness:tu("hsl",2,gd(100)),saturationv:tu("hsv",1,gd(100)),value:tu("hsv",2,gd(100)),chroma:tu("hcg",1,gd(100)),gray:tu("hcg",2,gd(100)),white:tu("hwb",1,gd(100)),wblack:tu("hwb",2,gd(100)),cyan:tu("cmyk",0,gd(100)),magenta:tu("cmyk",1,gd(100)),yellow:tu("cmyk",2,gd(100)),black:tu("cmyk",3,gd(100)),x:tu("xyz",0,gd(95.047)),y:tu("xyz",1,gd(100)),z:tu("xyz",2,gd(108.833)),l:tu("lab",0,gd(100)),a:tu("lab",1),b:tu("lab",2),keyword(n){return n!==void 0?new zd(n):tp[this.model].keyword(this.color)},hex(n){return n!==void 0?new zd(n):E0.to.hex(this.rgb().round().color)},hexa(n){if(n!==void 0)return new zd(n);const e=this.rgb().round().color;let t=Math.round(this.valpha*255).toString(16).toUpperCase();return t.length===1&&(t="0"+t),E0.to.hex(e)+t},rgbNumber(){const n=this.rgb().color;return(n[0]&255)<<16|(n[1]&255)<<8|n[2]&255},luminosity(){const n=this.rgb().color,e=[];for(const[t,i]of n.entries()){const o=i/255;e[t]=o<=.04045?o/12.92:((o+.055)/1.055)**2.4}return .2126*e[0]+.7152*e[1]+.0722*e[2]},contrast(n){const e=this.luminosity(),t=n.luminosity();return e>t?(e+.05)/(t+.05):(t+.05)/(e+.05)},level(n){const e=this.contrast(n);return e>=7?"AAA":e>=4.5?"AA":""},isDark(){const n=this.rgb().color;return(n[0]*2126+n[1]*7152+n[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const n=this.rgb();for(let e=0;e<3;e++)n.color[e]=255-n.color[e];return n},lighten(n){const e=this.hsl();return e.color[2]+=e.color[2]*n,e},darken(n){const e=this.hsl();return e.color[2]-=e.color[2]*n,e},saturate(n){const e=this.hsl();return e.color[1]+=e.color[1]*n,e},desaturate(n){const e=this.hsl();return e.color[1]-=e.color[1]*n,e},whiten(n){const e=this.hwb();return e.color[1]+=e.color[1]*n,e},blacken(n){const e=this.hwb();return e.color[2]+=e.color[2]*n,e},grayscale(){const n=this.rgb().color,e=n[0]*.3+n[1]*.59+n[2]*.11;return zd.rgb(e,e,e)},fade(n){return this.alpha(this.valpha-this.valpha*n)},opaquer(n){return this.alpha(this.valpha+this.valpha*n)},rotate(n){const e=this.hsl();let t=e.color[0];return t=(t+n)%360,t=t<0?360+t:t,e.color[0]=t,e},mix(n,e){if(!n||!n.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof n);const t=n.rgb(),i=this.rgb(),o=e===void 0?.5:e,r=2*o-1,a=t.alpha()-i.alpha(),s=((r*a===-1?r:(r+a)/(1+r*a))+1)/2,l=1-s;return zd.rgb(s*t.red()+l*i.red(),s*t.green()+l*i.green(),s*t.blue()+l*i.blue(),t.alpha()*o+i.alpha()*(1-o))}};for(const n of Object.keys(tp)){if(NP.includes(n))continue;const{channels:e}=tp[n];zd.prototype[n]=function(...t){return this.model===n?new zd(this):t.length>0?new zd(t,n):new zd([...Sme(tp[this.model][n].raw(this.color)),this.valpha],n)},zd[n]=function(...t){let i=t[0];return typeof i=="number"&&(i=Qx(t,e)),new zd(i,n)}}function kme(n,e){return Number(n.toFixed(e))}function Cme(n){return function(e){return kme(e,n)}}function tu(n,e,t){n=Array.isArray(n)?n:[n];for(const i of n)(bb[i]||(bb[i]=[]))[e]=t;return n=n[0],function(i){let o;return i!==void 0?(t&&(i=t(i)),o=this[n](),o.color[e]=i,o):(o=this[n]().color[e],t&&(o=t(o)),o)}}function gd(n){return function(e){return Math.max(0,Math.min(n,e))}}function Sme(n){return Array.isArray(n)?n:[n]}function Qx(n,e){for(let t=0;t<e;t++)typeof n[t]!="number"&&(n[t]=0);return n}var Eme=zd;const ch=Jf(Eme),Ame={class:"color-dot"},Tme=Lt({__name:"color",props:{value:{type:String,default:null},defaultColor:{type:String,default:"#B0BEC5",validator:n=>n===null||_C(n)||n.startsWith("var(--")}},setup(n){mm(o=>({"44192b22":t.value}));const e=n,t=we(()=>e.value??e.defaultColor),i=we(()=>{try{const o=ch(t.value),r=ch(Fr("--theme--background"));return o.contrast(r)<1.1}catch{return!1}});return(o,r)=>{const a=q("value-null");return V(),De("div",Ame,[n.value===null&&n.defaultColor===null?(V(),me(a,{key:0})):He("",!0),xe("div",{class:An(["dot",{"with-border":i.value}])},null,2)])}}}),Lme=qt(Tme,[["__scopeId","data-v-982cc817"]]),Ime=jd({id:"color",name:"$t:displays.color.color",description:"$t:displays.color.description",types:["string"],icon:"flag",component:Lme,options:[{field:"defaultColor",name:"$t:displays.color.default_color",type:"string",meta:{interface:"select-color",width:"half"},schema:{default_value:"#B0BEC5"}}]}),BP=[];function bC(){var e;const n=$o.global.locale.value;return(e=BP.find(({lang:t})=>n===t))==null?void 0:e.locale}async function Mme(n){const e=[n,n.split("-")[0],"en-US"];let t;for(const i of e)try{t=(await Dme(i)).default,BP.push({lang:n,locale:t});break}catch{continue}return t}function Dme(n){switch(n){case"af":return jt(()=>import("./af-BhrWWdcg.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url);case"ar-DZ":return jt(()=>import("./ar-DZ-BA-CDKG8.js"),__vite__mapDeps([7,1,2,3,4,5,6]),import.meta.url);case"ar-MA":return jt(()=>import("./ar-MA-BA7hcxYb.js"),__vite__mapDeps([8,1,2,3,4,5,6]),import.meta.url);case"ar-SA":return jt(()=>import("./ar-SA-zicrkzI_.js"),__vite__mapDeps([9,1,2,3,4,5,6]),import.meta.url);case"az":return jt(()=>import("./az-DNNtL-64.js"),__vite__mapDeps([10,1,2,3,4,5,6]),import.meta.url);case"be":return jt(()=>import("./be-CYz-z_BF.js"),__vite__mapDeps([11,12,3,2,4,1,5,6]),import.meta.url);case"bg":return jt(()=>import("./bg-C6Qdt-df.js"),__vite__mapDeps([13,12,3,2,4,1,5,6]),import.meta.url);case"bn":return jt(()=>import("./bn-CTHgOrur.js"),__vite__mapDeps([14,1,2,3,4,5,6]),import.meta.url);case"ca":return jt(()=>import("./ca-Ejwj4qsB.js"),__vite__mapDeps([15,1,2,3,4,5,6]),import.meta.url);case"cs":return jt(()=>import("./cs-CkeVdjlU.js"),__vite__mapDeps([16,1,2,3,4,5,6]),import.meta.url);case"cy":return jt(()=>import("./cy-B0cIpZoI.js"),__vite__mapDeps([17,1,2,3,4,5,6]),import.meta.url);case"da":return jt(()=>import("./da-DhL3vBct.js"),__vite__mapDeps([18,1,2,3,4,5,6]),import.meta.url);case"de":return jt(()=>import("./de-DtSVn4de.js"),__vite__mapDeps([19,20,1,2,3,4,5,6]),import.meta.url);case"de-AT":return jt(()=>import("./de-AT-Bk9Tcfam.js"),__vite__mapDeps([21,20,1,2,3,4,5,6]),import.meta.url);case"el":return jt(()=>import("./el-C5To8X0W.js"),__vite__mapDeps([22,1,2,3,4,5,6]),import.meta.url);case"en-AU":return jt(()=>import("./en-AU-D5nVARLV.js"),__vite__mapDeps([23,1,2,3,4,5,6]),import.meta.url);case"en-CA":return jt(()=>import("./en-CA-CitnXpyc.js"),__vite__mapDeps([24,1,2,3,4,5,6]),import.meta.url);case"en-GB":return jt(()=>import("./en-GB-BXn3lA8f.js"),__vite__mapDeps([25,1,2,3,4,5,6]),import.meta.url);case"en-IN":return jt(()=>import("./en-IN-dL1OqWAr.js"),__vite__mapDeps([26,1,2,3,4,5,6]),import.meta.url);case"en-NZ":return jt(()=>import("./en-NZ-BZXHSBZJ.js"),__vite__mapDeps([27,1,2,3,4,5,6]),import.meta.url);case"en-US":return jt(()=>Promise.resolve().then(()=>uG),void 0,import.meta.url);case"en-ZA":return jt(()=>import("./en-ZA-CldfT1HZ.js"),__vite__mapDeps([28,1,2,3,4,5,6]),import.meta.url);case"eo":return jt(()=>import("./eo-e63h2vIn.js"),__vite__mapDeps([29,1,2,3,4,5,6]),import.meta.url);case"es":return jt(()=>import("./es-BUKdYOKe.js"),__vite__mapDeps([30,1,2,3,4,5,6]),import.meta.url);case"et":return jt(()=>import("./et-CSm2y8HM.js"),__vite__mapDeps([31,1,2,3,4,5,6]),import.meta.url);case"eu":return jt(()=>import("./eu-DyfJLZv1.js"),__vite__mapDeps([32,1,2,3,4,5,6]),import.meta.url);case"fa-IR":return jt(()=>import("./fa-IR-Bf8KOib2.js"),__vite__mapDeps([33,1,2,3,4,5,6]),import.meta.url);case"fi":return jt(()=>import("./fi-DGO_yhBO.js"),__vite__mapDeps([34,1,2,3,4,5,6]),import.meta.url);case"fr":return jt(()=>import("./fr-Cc3HAlzp.js"),__vite__mapDeps([35,36,37,1,2,3,4,5,6]),import.meta.url);case"fr-CA":return jt(()=>import("./fr-CA-DlyaeFWE.js"),__vite__mapDeps([38,36,37,1,2,3,4,5,6]),import.meta.url);case"fr-CH":return jt(()=>import("./fr-CH-DhY2LtOe.js"),__vite__mapDeps([39,36,1,2,3,4,5,6]),import.meta.url);case"gd":return jt(()=>import("./gd-A_OCNrNz.js"),__vite__mapDeps([40,1,2,3,4,5,6]),import.meta.url);case"gl":return jt(()=>import("./gl-EnGb9E5B.js"),__vite__mapDeps([41,1,2,3,4,5,6]),import.meta.url);case"gu":return jt(()=>import("./gu-Bgo3ZNZD.js"),__vite__mapDeps([42,1,2,3,4,5,6]),import.meta.url);case"he":return jt(()=>import("./he-JqsR106j.js"),__vite__mapDeps([43,1,2,3,4,5,6]),import.meta.url);case"hi":return jt(()=>import("./hi-DchThMA_.js"),__vite__mapDeps([44,1,2,3,4,5,6]),import.meta.url);case"hr":return jt(()=>import("./hr-CqwiGwLc.js"),__vite__mapDeps([45,1,2,3,4,5,6]),import.meta.url);case"ht":return jt(()=>import("./ht-L2Tw1feV.js"),__vite__mapDeps([46,1,2,3,4,5,6]),import.meta.url);case"hu":return jt(()=>import("./hu-B4gFqZWW.js"),__vite__mapDeps([47,1,2,3,4,5,6]),import.meta.url);case"hy":return jt(()=>import("./hy--PmYq-Bg.js"),__vite__mapDeps([48,1,2,3,4,5,6]),import.meta.url);case"id":return jt(()=>import("./id-JuSM4qTH.js"),__vite__mapDeps([49,1,2,3,4,5,6]),import.meta.url);case"is":return jt(()=>import("./is-Dy8rZGKe.js"),__vite__mapDeps([50,1,2,3,4,5,6]),import.meta.url);case"it":return jt(()=>import("./it-MZK5Wp01.js"),__vite__mapDeps([51,12,3,2,4,1,5,6]),import.meta.url);case"ja":return jt(()=>import("./ja-CpUT-M5O.js"),__vite__mapDeps([52,1,2,3,4,5,6]),import.meta.url);case"ka":return jt(()=>import("./ka-BbrRoLOD.js"),__vite__mapDeps([53,1,2,3,4,5,6]),import.meta.url);case"kk":return jt(()=>import("./kk-C59BjiFF.js"),__vite__mapDeps([54,12,3,2,4,1,5,6]),import.meta.url);case"kn":return jt(()=>import("./kn-D1i38NcB.js"),__vite__mapDeps([55,1,2,3,4,5,6]),import.meta.url);case"ko":return jt(()=>import("./ko-BVSA1DXL.js"),__vite__mapDeps([56,1,2,3,4,5,6]),import.meta.url);case"lb":return jt(()=>import("./lb-CSVrZ6iB.js"),__vite__mapDeps([57,1,2,3,4,5,6]),import.meta.url);case"lt":return jt(()=>import("./lt-DorJN_WN.js"),__vite__mapDeps([58,1,2,3,4,5,6]),import.meta.url);case"lv":return jt(()=>import("./lv-CwfsBOh9.js"),__vite__mapDeps([59,12,3,2,4,1,5,6]),import.meta.url);case"mk":return jt(()=>import("./mk-DyvQ5TIX.js"),__vite__mapDeps([60,12,3,2,4,1,5,6]),import.meta.url);case"mn":return jt(()=>import("./mn-CFhraaM5.js"),__vite__mapDeps([61,1,2,3,4,5,6]),import.meta.url);case"ms":return jt(()=>import("./ms-CuEu7KD5.js"),__vite__mapDeps([62,1,2,3,4,5,6]),import.meta.url);case"mt":return jt(()=>import("./mt-DJtuzNAM.js"),__vite__mapDeps([63,1,2,3,4,5,6]),import.meta.url);case"nb":return jt(()=>import("./nb-DVH_VPO2.js"),__vite__mapDeps([64,1,2,3,4,5,6]),import.meta.url);case"nl":return jt(()=>import("./nl-C5PXoMMG.js"),__vite__mapDeps([65,1,2,3,4,5,6]),import.meta.url);case"nl-BE":return jt(()=>import("./nl-BE-DPF7Xq93.js"),__vite__mapDeps([66,1,2,3,4,5,6]),import.meta.url);case"nn":return jt(()=>import("./nn-BTTpDHAh.js"),__vite__mapDeps([67,1,2,3,4,5,6]),import.meta.url);case"pl":return jt(()=>import("./pl-BpBZYMLt.js"),__vite__mapDeps([68,12,3,2,4,1,5,6]),import.meta.url);case"pt":return jt(()=>import("./pt-BTJMeJ5h.js"),__vite__mapDeps([69,1,2,3,4,5,6]),import.meta.url);case"pt-BR":return jt(()=>import("./pt-BR-B8ZcBUJ8.js"),__vite__mapDeps([70,1,2,3,4,5,6]),import.meta.url);case"ro":return jt(()=>import("./ro-CjQqruqJ.js"),__vite__mapDeps([71,1,2,3,4,5,6]),import.meta.url);case"ru":return jt(()=>import("./ru-CkbhvPKm.js"),__vite__mapDeps([72,12,3,2,4,1,5,6]),import.meta.url);case"sk":return jt(()=>import("./sk-Dr1oeXO1.js"),__vite__mapDeps([73,12,3,2,4,1,5,6]),import.meta.url);case"sl":return jt(()=>import("./sl-Da7GQDXM.js"),__vite__mapDeps([74,1,2,3,4,5,6]),import.meta.url);case"sq":return jt(()=>import("./sq-BqW8DSDi.js"),__vite__mapDeps([75,1,2,3,4,5,6]),import.meta.url);case"sr":return jt(()=>import("./sr-wy9ifneD.js"),__vite__mapDeps([76,1,2,3,4,5,6]),import.meta.url);case"sr-Latn":return jt(()=>import("./sr-Latn-Dmv8VOjD.js"),__vite__mapDeps([77,1,2,3,4,5,6]),import.meta.url);case"sv":return jt(()=>import("./sv-DDMsuLjG.js"),__vite__mapDeps([78,1,2,3,4,5,6]),import.meta.url);case"ta":return jt(()=>import("./ta-DYD1uoNz.js"),__vite__mapDeps([79,1,2,3,4,5,6]),import.meta.url);case"te":return jt(()=>import("./te-Bl0k8aUd.js"),__vite__mapDeps([80,1,2,3,4,5,6]),import.meta.url);case"th":return jt(()=>import("./th-CNqoUW0H.js"),__vite__mapDeps([81,1,2,3,4,5,6]),import.meta.url);case"tr":return jt(()=>import("./tr-BMH3DXnq.js"),__vite__mapDeps([82,1,2,3,4,5,6]),import.meta.url);case"ug":return jt(()=>import("./ug-pvjMHXvv.js"),__vite__mapDeps([83,1,2,3,4,5,6]),import.meta.url);case"uk":return jt(()=>import("./uk-jGNxiqS8.js"),__vite__mapDeps([84,12,3,2,4,1,5,6]),import.meta.url);case"uz":return jt(()=>import("./uz-D6OPlI8M.js"),__vite__mapDeps([85,1,2,3,4,5,6]),import.meta.url);case"vi":return jt(()=>import("./vi-DQfsRzht.js"),__vite__mapDeps([86,1,2,3,4,5,6]),import.meta.url);case"zh-CN":return jt(()=>import("./zh-CN-Dm3VDIF7.js"),__vite__mapDeps([87,12,3,2,4,1,5,6]),import.meta.url);case"zh-TW":return jt(()=>import("./zh-TW-DLgF3vX4.js"),__vite__mapDeps([88,1,2,3,4,5,6]),import.meta.url);default:return Promise.resolve()}}const bu=(n,e,t)=>tm(n,e,{...t,locale:bC()}),xC=(n,e,t)=>kG(n,e,{...t,locale:bC()}),_8=(n,e,t)=>CG(n,e,{...t,locale:bC()}),Pme=Lt({inheritAttrs:!1,__name:"use-datetime",props:{value:{},type:{},format:{default:"long"},relative:{type:Boolean,default:!1},strict:{type:Boolean,default:!1},round:{default:"round"},suffix:{type:Boolean,default:!0}},setup(n){const e=n,{t}=vn(),i=Pe(null),o=we(()=>e.value?e.type==="timestamp"?v8(e.value):e.type==="dateTime"?nm(e.value,"yyyy-MM-dd'T'HH:mm:ss",new Date):e.type==="date"?nm(e.value,"yyyy-MM-dd",new Date):e.type==="time"?nm(e.value,"HH:mm:ss",new Date):null:null),r=s=>e.strict?_8(s,new Date,{addSuffix:e.suffix,roundingMethod:e.round}):xC(s,new Date,{addSuffix:e.suffix});ii(o,s=>{if(s===null){i.value=null;return}if(e.relative)i.value=r(s);else{let l;e.format==="long"?(l=`${t("date-fns_date")} ${t("date-fns_time")}`,e.type==="date"&&(l=String(t("date-fns_date"))),e.type==="time"&&(l=String(t("date-fns_time")))):e.format==="short"?(l=`${t("date-fns_date_short")} ${t("date-fns_time_short")}`,e.type==="date"&&(l=String(t("date-fns_date_short"))),e.type==="time"&&(l=String(t("date-fns_time_short")))):l=e.format,i.value=bu(s,l)}},{immediate:!0});let a=null;return zr(()=>{e.relative&&(a=window.setInterval(()=>{o.value&&(i.value=r(o.value))},6e4))}),uu(()=>{a&&clearInterval(a)}),(s,l)=>Ei(s.$slots,"default",{datetime:i.value})}}),Ome={class:"datetime"},Rme=Lt({__name:"datetime",props:{value:{},type:{},format:{default:"long"},relative:{type:Boolean,default:!1},strict:{type:Boolean,default:!1},round:{default:"round"},suffix:{type:Boolean,default:!0}},setup(n){return(e,t)=>(V(),me(Pme,Aa(Ga(e.$props)),{default:P(({datetime:i})=>[xe("span",Ome,de(i),1)]),_:1},16))}}),Fme=qt(Rme,[["__scopeId","data-v-a2edaeb7"]]),zme=jd({id:"datetime",name:"$t:displays.datetime.datetime",description:"$t:displays.datetime.description",icon:"query_builder",component:Fme,handler:(n,e,{field:t})=>{if(!n)return n;const i=o=>xC(o,new Date,{addSuffix:!0});if((t==null?void 0:t.type)==="timestamp"?n=v8(n):(t==null?void 0:t.type)==="dateTime"?n=nm(n,"yyyy-MM-dd'T'HH:mm:ss",new Date):(t==null?void 0:t.type)==="date"?n=nm(n,"yyyy-MM-dd",new Date):(t==null?void 0:t.type)==="time"&&(n=nm(n,"HH:mm:ss",new Date)),e.relative)return i(n);{let o;return(e==null?void 0:e.format)===void 0||e.format==="long"?(o=`${$o.global.t("date-fns_date")} ${$o.global.t("date-fns_time")}`,(t==null?void 0:t.type)==="date"&&(o=String($o.global.t("date-fns_date"))),(t==null?void 0:t.type)==="time"&&(o=String($o.global.t("date-fns_time")))):e.format==="short"?(o=`${$o.global.t("date-fns_date_short")} ${$o.global.t("date-fns_time_short")}`,(t==null?void 0:t.type)==="date"&&(o=String($o.global.t("date-fns_date_short"))),(t==null?void 0:t.type)==="time"&&(o=String($o.global.t("date-fns_time_short")))):o=e.format,bu(n,o)}},options:({field:n})=>{var i;const e=((i=n.meta)==null?void 0:i.display_options)||{},t=[{field:"relative",name:"$t:displays.datetime.relative",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.datetime.relative_label"}},schema:{default_value:!1}}];return e.relative?t.push({field:"suffix",name:"$t:displays.datetime.suffix",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.datetime.suffix_label"},note:"$t:displays.datetime.suffix_note"},schema:{default_value:!0}},{field:"strict",name:"$t:displays.datetime.strict",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.datetime.strict_label"},note:"$t:displays.datetime.strict_note"},schema:{default_value:!1}},{field:"round",name:"$t:displays.datetime.round",type:"string",meta:{width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:displays.datetime.down",value:"floor"},{text:"$t:displays.datetime.nearest",value:"round"},{text:"$t:displays.datetime.up",value:"ceil"}]},note:"$t:displays.datetime.round_note"},schema:{default_value:"round"}}):t.push({field:"format",name:"$t:displays.datetime.format",type:"string",meta:{interface:"select-dropdown",width:"half",options:{choices:[{text:"$t:displays.datetime.long",value:"long"},{text:"$t:displays.datetime.short",value:"short"}],allowOther:!0},note:"$t:displays.datetime.format_note"},schema:{default_value:"long"}}),t},types:["dateTime","date","time","timestamp"]}),$me={"audio/aac":"aac","application/x-abiword":"abw","application/x-freearc":"arc","video/x-msvideo":"avi","image/avif":"avif","application/vnd.amazon.ebook":"azw","application/octet-stream":"file","image/bmp":"bmp","application/x-bzip":"bz","application/x-bzip2":"bz2","application/x-csh":"csh","text/css":"css","text/csv":"csv","application/msword":"doc","application/sql":"sql","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"docx","application/vnd.ms-fontobject":"eot","application/epub+zip":"epub","application/gzip":"gz","image/gif":"gif","text/html":"html","image/vnd.microsoft.icon":"ico","text/calendar":"ics","application/java-archive":"jar","image/jpeg":"jpg","text/javascript":"js","application/json":"json","application/ld+json":"jsonld","audio/midi audio/x-midi":"midi","audio/mpeg":"mp3","video/mpeg":"mpeg","audio/mp4":"mp4","video/mp4":"mp4","application/mp4":"mp4","application/vnd.apple.installer+xml":"mpkg","application/vnd.oasis.opendocument.presentation":"odp","application/vnd.oasis.opendocument.spreadsheet":"ods","application/vnd.oasis.opendocument.text":"odt","audio/ogg":"oga","video/ogg":"ogv","application/ogg":"ogx","audio/opus":"opus","font/otf":"otf","image/png":"png","application/pdf":"pdf","application/x-httpd-php":"php","application/vnd.ms-powerpoint":"ppt","application/vnd.openxmlformats-officedocument.presentationml.presentation":"pptx","application/vnd.rar":"rar","application/rtf":"rtf","application/x-sh":"sh","image/svg+xml":"svg","application/x-shockwave-flash":"swf","application/x-tar":"tar","image/tiff":"tiff","video/mp2t":"ts","font/ttf":"ttf","text/plain":"txt","application/vnd.visio":"vsd","audio/wav":"wav","audio/webm":"weba","video/webm":"webm","image/webp":"webp","font/woff":"woff","font/woff2":"woff2","application/xhtml+xml":"xhtml","application/vnd.ms-excel":"xls","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"xlsx","application/xml":"xml","application/vnd.mozilla.xul+xml":"xul","application/zip":"zip","video/3gpp":"3gp","video/3gpp2":"3g2","audio/3gpp":"3gp","audio/3gpp2":"3g2","application/x-7z-compressed":"7z"},Nme={"application/vnd.hzn-3d-crossword":"3D Crossword Plugin","video/3gpp":"3GP","video/3gpp2":"3GP2","application/vnd.mseq":"3GPP MSEQ File","application/vnd.3m.post-it-notes":"3M Post It Notes","application/vnd.3gpp.pic-bw-large":"3rd Generation Partnership Project - Pic Large","application/vnd.3gpp.pic-bw-small":"3rd Generation Partnership Project - Pic Small","application/vnd.3gpp.pic-bw-var":"3rd Generation Partnership Project - Pic Var","application/vnd.3gpp2.tcap":"3rd Generation Partnership Project - Transaction Capabilities Application Part","application/x-7z-compressed":"7-Zip","application/x-abiword":"AbiWord","application/x-ace-compressed":"Ace Archive","application/vnd.americandynamics.acc":"Active Content Compression","application/vnd.acucobol":"ACU Cobol","application/vnd.acucorp":"ACU Cobol","audio/adpcm":"Adaptive differential pulse-code modulation","application/x-authorware-bin":"Adobe (Macropedia) Authorware - Binary File","application/x-authorware-map":"Adobe (Macropedia) Authorware - Map","application/x-authorware-seg":"Adobe (Macropedia) Authorware - Segment File","application/vnd.adobe.air-application-installer-package+zip":"Adobe AIR Application","application/x-shockwave-flash":"Adobe Flash","application/vnd.adobe.fxp":"Adobe Flex Project","application/pdf":"PDF","application/sql":"SQL","application/vnd.cups-ppd":"Adobe PostScript Printer Description File Format","application/x-director":"Adobe Shockwave Player","application/vnd.adobe.xdp+xml":"Adobe XML Data Package","application/vnd.adobe.xfdf":"Adobe XML Forms Data Format","audio/x-aac":"Advanced Audio Coding (AAC)","application/vnd.ahead.space":"Ahead AIR Application","application/vnd.airzip.filesecure.azf":"AirZip FileSECURE","application/vnd.airzip.filesecure.azs":"AirZip FileSECURE","application/vnd.amazon.ebook":"Amazon Kindle eBook format","application/vnd.amiga.ami":"AmigaDE","application/andrew-inset":"Andrew Toolkit","application/vnd.android.package-archive":"Android Package Archive","application/vnd.anser-web-certificate-issue-initiation":"ANSER-WEB Terminal Client - Certificate Issue","application/vnd.anser-web-funds-transfer-initiation":"ANSER-WEB Terminal Client - Web Funds Transfer","application/vnd.antix.game-component":"Antix Game Player","application/x-apple-diskimage":"Apple Disk Image","application/vnd.apple.installer+xml":"Apple Installer Package","application/applixware":"Applixware","application/vnd.hhe.lesson-player":"Archipelago Lesson Player","application/vnd.aristanetworks.swi":"Arista Networks Software Image","text/x-asm":"Assembler Source File","application/atomcat+xml":"Atom Publishing Protocol","application/atomsvc+xml":"Atom Publishing Protocol Service Document","application/atom+xml":"Atom Syndication Format","application/pkix-attr-cert":"Attribute Certificate","audio/x-aiff":"AIFF","video/x-msvideo":"AVI","image/avif":"AVIF","application/vnd.audiograph":"Audiograph","image/vnd.dxf":"AutoCAD DXF","model/vnd.dwf":"Autodesk Design Web Format (DWF)","text/plain-bas":"BAS Partitur Format","application/x-bcpio":"Binary CPIO Archive","application/octet-stream":"Binary Data","image/bmp":"Bitmap Image","application/x-bittorrent":"BitTorrent","application/vnd.rim.cod":"Blackberry COD File","application/vnd.blueice.multipass":"Blueice Research Multipass","application/vnd.bmi":"BMI Drawing Data Interchange","application/x-sh":"Bourne Shell Script","image/prs.btif":"BTIF","application/vnd.businessobjects":"BusinessObjects","application/x-bzip":"Bzip Archive","application/x-bzip2":"Bzip2 Archive","application/x-csh":"C Shell Script","text/x-c":"C Source File","application/vnd.chemdraw+xml":"CambridgeSoft Chem Draw","text/css":"Cascading Style Sheets (CSS)","chemical/x-cdx":"ChemDraw eXchange file","chemical/x-cml":"Chemical Markup Language","chemical/x-csml":"Chemical Style Markup Language","application/vnd.contact.cmsg":"CIM Database","application/vnd.claymore":"Claymore Data Files","application/vnd.clonk.c4group":"Clonk Game","image/vnd.dvb.subtitle":"Close Captioning - Subtitle","application/cdmi-capability":"Cloud Data Management Interface (CDMI) - Capability","application/cdmi-container":"Cloud Data Management Interface (CDMI) - Container","application/cdmi-domain":"Cloud Data Management Interface (CDMI) - Domain","application/cdmi-object":"Cloud Data Management Interface (CDMI) - Object","application/cdmi-queue":"Cloud Data Management Interface (CDMI) - Queue","application/vnd.cluetrust.cartomobile-config":"ClueTrust CartoMobile - Config","application/vnd.cluetrust.cartomobile-config-pkg":"ClueTrust CartoMobile - Config Package","image/x-cmu-raster":"CMU Image","model/vnd.collada+xml":"COLLADA","text/csv":"CSV","application/mac-compactpro":"Compact Pro","application/vnd.wap.wmlc":"Compiled Wireless Markup Language (WMLC)","image/cgm":"Computer Graphics Metafile","x-conference/x-cooltalk":"CoolTalk","image/x-cmx":"Corel Metafile Exchange (CMX)","application/vnd.xara":"CorelXARA","application/vnd.cosmocaller":"CosmoCaller","application/x-cpio":"CPIO Archive","application/vnd.crick.clicker":"CrickSoftware - Clicker","application/vnd.crick.clicker.keyboard":"CrickSoftware - Clicker - Keyboard","application/vnd.crick.clicker.palette":"CrickSoftware - Clicker - Palette","application/vnd.crick.clicker.template":"CrickSoftware - Clicker - Template","application/vnd.crick.clicker.wordbank":"CrickSoftware - Clicker - Wordbank","application/vnd.criticaltools.wbs+xml":"Critical Tools - PERT Chart EXPERT","application/vnd.rig.cryptonote":"CryptoNote","chemical/x-cif":"Crystallographic Interchange Format","chemical/x-cmdf":"CrystalMaker Data Format","application/cu-seeme":"CU-SeeMe","application/prs.cww":"CU-Writer","text/vnd.curl":"Curl - Applet","text/vnd.curl.dcurl":"Curl - Detached Applet","text/vnd.curl.mcurl":"Curl - Manifest File","text/vnd.curl.scurl":"Curl - Source Code","application/vnd.curl.car":"CURL Applet","application/vnd.curl.pcurl":"CURL Applet","application/vnd.yellowriver-custom-menu":"CustomMenu","application/dssc+der":"Data Structure for the Security Suitability of Cryptographic Algorithms","application/dssc+xml":"Data Structure for the Security Suitability of Cryptographic Algorithms","application/x-debian-package":"Debian Package","audio/vnd.dece.audio":"DECE Audio","image/vnd.dece.graphic":"DECE Graphic","video/vnd.dece.hd":"DECE High Definition Video","video/vnd.dece.mobile":"DECE Mobile Video","video/vnd.uvvu.mp4":"DECE MP4","video/vnd.dece.pd":"DECE PD Video","video/vnd.dece.sd":"DECE SD Video","video/vnd.dece.video":"DECE Video","application/x-dvi":"DVI","application/vnd.fdsn.seed":"Digital Seismograph Networks - SEED Datafiles","application/x-dtbook+xml":"Digital Talking Book","application/x-dtbresource+xml":"Digital Talking Book - Resource File","application/vnd.dvb.ait":"Digital Video Broadcasting","application/vnd.dvb.service":"Digital Video Broadcasting","audio/vnd.digital-winds":"Digital Winds Music","image/vnd.djvu":"DjVu","application/xml-dtd":"Document Type Definition","application/vnd.dolby.mlp":"Dolby Meridian Lossless Packing","application/x-doom":"Doom Video Game","application/vnd.dpgraph":"DPGraph","audio/vnd.dra":"DRA Audio","application/vnd.dreamfactory":"DreamFactory","audio/vnd.dts":"DTS Audio","audio/vnd.dts.hd":"DTS High Definition Audio","image/vnd.dwg":"DWG Drawing","application/vnd.dynageo":"DynaGeo","application/ecmascript":"ECMAScript","application/vnd.ecowin.chart":"EcoWin Chart","image/vnd.fujixerox.edmics-mmr":"EDMICS 2000","image/vnd.fujixerox.edmics-rlc":"EDMICS 2000","application/exi":"Efficient XML Interchange","application/vnd.proteus.magazine":"EFI Proteus","application/epub+zip":"Electronic Publication","message/rfc822":"Email Message","application/vnd.enliven":"Enliven Viewer","application/vnd.is-xpr":"Express by Infoseek","image/vnd.xiff":"eXtended Image File Format (XIFF)","application/vnd.xfdl":"Extensible Forms Description Language","application/emma+xml":"Extensible MultiModal Annotation","application/vnd.ezpix-album":"EZPix Secure Photo Album","application/vnd.ezpix-package":"EZPix Secure Photo Album","image/vnd.fst":"FAST Search & Transfer ASA","video/vnd.fvt":"FAST Search & Transfer ASA","image/vnd.fastbidsheet":"FastBid Sheet","application/vnd.denovo.fcselayout-link":"FCS Express Layout Link","video/x-f4v":"Flash Video","video/x-flv":"Flash Video","image/vnd.fpx":"FlashPix","image/vnd.net-fpx":"FlashPix","text/vnd.fmi.flexstor":"FLEXSTOR","video/x-fli":"FLI/FLC Animation Format","application/vnd.fluxtime.clip":"FluxTime Clip","application/vnd.fdf":"Forms Data Format","text/x-fortran":"Fortran Source File","application/vnd.mif":"FrameMaker Interchange Format","application/vnd.framemaker":"FrameMaker Normal Format","image/x-freehand":"FreeHand MX","application/vnd.fsc.weblaunch":"Friendly Software Corporation","application/vnd.frogans.fnc":"Frogans Player","application/vnd.frogans.ltf":"Frogans Player","application/vnd.fujixerox.ddd":"Fujitsu - Xerox 2D CAD Data","application/vnd.fujixerox.docuworks":"Fujitsu - Xerox DocuWorks","application/vnd.fujixerox.docuworks.binder":"Fujitsu - Xerox DocuWorks Binder","application/vnd.fujitsu.oasys":"Fujitsu Oasys","application/vnd.fujitsu.oasys2":"Fujitsu Oasys","application/vnd.fujitsu.oasys3":"Fujitsu Oasys","application/vnd.fujitsu.oasysgp":"Fujitsu Oasys","application/vnd.fujitsu.oasysprs":"Fujitsu Oasys","application/x-futuresplash":"FutureSplash Animator","application/vnd.fuzzysheet":"FuzzySheet","image/g3fax":"G3 Fax Image","application/vnd.gmx":"GameMaker ActiveX","model/vnd.gtw":"Gen-Trix Studio","application/vnd.genomatix.tuxedo":"Genomatix Tuxedo Framework","application/vnd.geogebra.file":"GeoGebra","application/vnd.geogebra.tool":"GeoGebra","model/vnd.gdl":"Geometric Description Language (GDL)","application/vnd.geometry-explorer":"GeoMetry Explorer","application/vnd.geonext":"GEONExT and JSXGraph","application/vnd.geoplan":"GeoplanW","application/vnd.geospace":"GeospacW","application/x-font-ghostscript":"Ghostscript Font","application/x-font-bdf":"Glyph Bitmap Distribution Format","application/x-gtar":"GNU Tar Files","application/x-texinfo":"GNU Texinfo Document","application/x-gnumeric":"Gnumeric","application/vnd.google-earth.kml+xml":"Google Earth - KML","application/vnd.google-earth.kmz":"Google Earth - Zipped KML","application/vnd.grafeq":"GrafEq","image/gif":"GIF","text/vnd.graphviz":"Graphviz","application/vnd.groove-account":"Groove - Account","application/vnd.groove-help":"Groove - Help","application/vnd.groove-identity-message":"Groove - Identity Message","application/vnd.groove-injector":"Groove - Injector","application/vnd.groove-tool-message":"Groove - Tool Message","application/vnd.groove-tool-template":"Groove - Tool Template","application/vnd.groove-vcard":"Groove - Vcard","video/h261":"H.261","video/h263":"H.263","video/h264":"H.264","application/vnd.hp-hpid":"Hewlett Packard Instant Delivery","application/vnd.hp-hps":"Hewlett-Packard's WebPrintSmart","application/x-hdf":"Hierarchical Data Format","audio/vnd.rip":"Hit'n'Mix","application/vnd.hbci":"Homebanking Computer Interface (HBCI)","application/vnd.hp-jlyt":"HP Indigo Digital Press - Job Layout Language","application/vnd.hp-pcl":"HP Printer Command Language","application/vnd.hp-hpgl":"HP-GL/2 and HP RTL","application/vnd.yamaha.hv-script":"HV Script","application/vnd.yamaha.hv-dic":"HV Voice Dictionary","application/vnd.yamaha.hv-voice":"HV Voice Parameter","application/vnd.hydrostatix.sof-data":"Hydrostatix Master Suite","application/hyperstudio":"Hyperstudio","application/vnd.hal+xml":"Hypertext Application Language","text/html":"HTML","application/vnd.ibm.rights-management":"IBM DB2 Rights Manager","application/vnd.ibm.secure-container":"IBM Electronic Media Management System - Secure Container","text/calendar":"iCalendar","application/vnd.iccprofile":"ICC profile","image/x-icon":"Icon Image","application/vnd.igloader":"igLoader","image/ief":"Image Exchange Format","application/vnd.immervision-ivp":"ImmerVision PURE Players","application/vnd.immervision-ivu":"ImmerVision PURE Players","application/reginfo+xml":"IMS Networks","text/vnd.in3d.3dml":"In3D - 3DML","text/vnd.in3d.spot":"In3D - 3DML","model/iges":"Initial Graphics Exchange Specification (IGES)","application/vnd.intergeo":"Interactive Geometry Software","application/vnd.cinderella":"Interactive Geometry Software Cinderella","application/vnd.intercon.formnet":"Intercon FormNet","application/vnd.isac.fcs":"International Society for Advancement of Cytometry","application/ipfix":"Internet Protocol Flow Information Export","application/pkix-cert":"Internet Public Key Infrastructure - Certificate","application/pkixcmp":"Internet Public Key Infrastructure - Certificate Management Protocole","application/pkix-crl":"Internet Public Key Infrastructure - Certificate Revocation Lists","application/pkix-pkipath":"Internet Public Key Infrastructure - Certification Path","application/vnd.insors.igm":"IOCOM Visimeet","application/vnd.ipunplugged.rcprofile":"IP Unplugged Roaming Client","application/vnd.irepository.package+xml":"iRepository / Lucidoc Editor","text/vnd.sun.j2me.app-descriptor":"J2ME App Descriptor","application/java-archive":"Java Archive","application/java-vm":"Java Bytecode File","application/x-java-jnlp-file":"Java Network Launching Protocol","application/java-serialized-object":"Java Serialized Object","text/x-java-source,java":"Java Source File","application/javascript":"JavaScript","text/javascript":"JavaScript","application/json":"JSON","application/vnd.joost.joda-archive":"Joda Archive","video/jpm":"JPG","image/jpeg":"JPG","image/x-citrix-jpeg":"JPG","image/pjpeg":"JPG","video/jpeg":"JPGVideo","application/vnd.kahootz":"Kahootz","application/vnd.chipnuts.karaoke-mmd":"Karaoke on Chipnuts Chipsets","application/vnd.kde.karbon":"KDE KOffice Office Suite - Karbon","application/vnd.kde.kchart":"KDE KOffice Office Suite - KChart","application/vnd.kde.kformula":"KDE KOffice Office Suite - Kformula","application/vnd.kde.kivio":"KDE KOffice Office Suite - Kivio","application/vnd.kde.kontour":"KDE KOffice Office Suite - Kontour","application/vnd.kde.kpresenter":"KDE KOffice Office Suite - Kpresenter","application/vnd.kde.kspread":"KDE KOffice Office Suite - Kspread","application/vnd.kde.kword":"KDE KOffice Office Suite - Kword","application/vnd.kenameaapp":"Kenamea App","application/vnd.kidspiration":"Kidspiration","application/vnd.kinar":"Kinar Applications","application/vnd.kodak-descriptor":"Kodak Storyshare","application/vnd.las.las+xml":"Laser App Enterprise","application/x-latex":"LaTeX","application/vnd.llamagraphics.life-balance.desktop":"Life Balance - Desktop Edition","application/vnd.llamagraphics.life-balance.exchange+xml":"Life Balance - Exchange Format","application/vnd.jam":"Lightspeed Audio Lab","application/vnd.lotus-1-2-3":"Lotus 1-2-3","application/vnd.lotus-approach":"Lotus Approach","application/vnd.lotus-freelance":"Lotus Freelance","application/vnd.lotus-notes":"Lotus Notes","application/vnd.lotus-organizer":"Lotus Organizer","application/vnd.lotus-screencam":"Lotus Screencam","application/vnd.lotus-wordpro":"Lotus Wordpro","audio/vnd.lucent.voice":"Lucent Voice","audio/x-mpegurl":"M3U (Multimedia Playlist)","video/x-m4v":"M4v","application/mac-binhex40":"Macintosh BinHex 4.0","application/vnd.macports.portpkg":"MacPorts Port System","application/vnd.osgeo.mapguide.package":"MapGuide DBXML","application/marc":"MARC Formats","application/marcxml+xml":"MARC21 XML Schema","application/mxf":"Material Exchange Format","application/vnd.wolfram.player":"Mathematica Notebook Player","application/mathematica":"Mathematica Notebooks","application/mathml+xml":"Mathematical Markup Language","application/mbox":"Mbox database files","application/vnd.medcalcdata":"MedCalc","application/mediaservercontrol+xml":"Media Server Control Markup Language","application/vnd.mediastation.cdkey":"MediaRemote","application/vnd.mfer":"Medical Waveform Encoding Format","application/vnd.mfmp":"Melody Format for Mobile Platform","model/mesh":"Mesh Data Type","application/mads+xml":"Metadata Authority Description Schema","application/mets+xml":"Metadata Encoding and Transmission Standard","application/mods+xml":"Metadata Object Description Schema","application/metalink4+xml":"Metalink","application/vnd.mcd":"Micro CADAM Helix D&D","application/vnd.micrografx.flo":"Micrografx","application/vnd.micrografx.igx":"Micrografx iGrafx Professional","application/vnd.eszigno3+xml":"MICROSEC e-Szign¢","application/x-msaccess":"Access","video/x-ms-asf":"MS ASF","application/x-msdownload":"MS App","application/vnd.ms-artgalry":"MS Artgalry","application/vnd.ms-cab-compressed":"MS Cabinet File","application/vnd.ms-ims":"MS Class Server","application/x-ms-application":"MS ClickOnce","application/x-msclip":"MS Clipboard Clip","image/vnd.ms-modi":"MS Document Imaging Format","application/vnd.ms-fontobject":"MS Embedded OpenType","application/vnd.ms-excel":"Excel","application/vnd.ms-excel.addin.macroenabled.12":"MS Excel - Add-In File","application/vnd.ms-excel.sheet.binary.macroenabled.12":"MS Excel - Binary Workbook","application/vnd.ms-excel.template.macroenabled.12":"MS Excel - Macro-Enabled Template File","application/vnd.ms-excel.sheet.macroenabled.12":"MS Excel - Macro-Enabled Workbook","application/vnd.ms-htmlhelp":"MS Html Help File","application/x-mscardfile":"MS Information Card","application/vnd.ms-lrm":"MS Learning Resource Module","application/x-msmediaview":"MS MediaView","application/x-msmoney":"MS Money","application/vnd.openxmlformats-officedocument.presentationml.presentation":"MS Office - OOXML - Presentation","application/vnd.openxmlformats-officedocument.presentationml.slide":"MS Office - OOXML - Presentation (Slide)","application/vnd.openxmlformats-officedocument.presentationml.slideshow":"MS Office - OOXML - Presentation (Slideshow)","application/vnd.openxmlformats-officedocument.presentationml.template":"MS Office - OOXML - Presentation Template","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":"MS Office - OOXML - Spreadsheet","application/vnd.openxmlformats-officedocument.spreadsheetml.template":"MS Office - OOXML - Spreadsheet Template","application/vnd.openxmlformats-officedocument.wordprocessingml.document":"MS Office - OOXML - Word Document","application/vnd.openxmlformats-officedocument.wordprocessingml.template":"MS Office - OOXML - Word Document Template","application/x-msbinder":"MS Office Binder","application/vnd.ms-officetheme":"MS Office System Release Theme","application/onenote":"OneNote","audio/vnd.ms-playready.media.pya":"MS PlayReady Ecosystem","video/vnd.ms-playready.media.pyv":"MS PlayReady Ecosystem Video","application/vnd.ms-powerpoint":"PowerPoint","application/vnd.ms-powerpoint.addin.macroenabled.12":"PowerPoint - Add-in file","application/vnd.ms-powerpoint.slide.macroenabled.12":"PowerPoint - Macro-Enabled Open XML Slide","application/vnd.ms-powerpoint.presentation.macroenabled.12":"PowerPoint - Macro-Enabled Presentation File","application/vnd.ms-powerpoint.slideshow.macroenabled.12":"PowerPoint - Macro-Enabled Slide Show File","application/vnd.ms-powerpoint.template.macroenabled.12":"PowerPoint - Macro-Enabled Template File","application/vnd.ms-project":"MS Project","application/x-mspublisher":"MS Publisher","application/x-msschedule":"MS Schedule+","application/x-silverlight-app":"MS Silverlight","application/vnd.ms-pki.stl":"MS Trust UI Provider - Certificate Trust Link","application/vnd.ms-pki.seccat":"MS Trust UI Provider - Security Catalog","application/vnd.visio":"Visio","application/vnd.visio2013":"Visio 2013","video/x-ms-wm":"MS Windows Media","audio/x-ms-wma":"WMA","audio/x-ms-wax":"MS Windows Media Audio Redirector","video/x-ms-wmx":"MS Windows Media Audio/Video Playlist","application/x-ms-wmd":"MS Windows Media Player Download Package","application/vnd.ms-wpl":"MS Windows Media Player Playlist","application/x-ms-wmz":"MS Windows Media Player Skin Package","video/x-ms-wmv":"WMV","video/x-ms-wvx":"MS Windows Media Video Playlist","application/x-msmetafile":"MS Windows Metafile","application/x-msterminal":"MS Windows Terminal Services","application/msword":"Word","application/vnd.ms-word.document.macroenabled.12":"MS Word - Macro-Enabled Document","application/vnd.ms-word.template.macroenabled.12":"MS Word - Macro-Enabled Template","application/x-mswrite":"MS Wordpad","application/vnd.ms-works":"MS Works","application/x-ms-xbap":"MS XAML Browser Application","application/vnd.ms-xpsdocument":"MS XML Paper Specification","audio/midi":"MIDI","application/vnd.ibm.minipay":"MiniPay","application/vnd.ibm.modcap":"MO:DCA-P","application/vnd.jcp.javame.midlet-rms":"Mobile Information Device Profile","application/vnd.tmobile-livetv":"MobileTV","application/x-mobipocket-ebook":"Mobipocket","application/vnd.mobius.mbk":"Mobius Management Systems - Basket file","application/vnd.mobius.dis":"Mobius Management Systems - Distribution Database","application/vnd.mobius.plc":"Mobius Management Systems - Policy Definition Language File","application/vnd.mobius.mqy":"Mobius Management Systems - Query File","application/vnd.mobius.msl":"Mobius Management Systems - Script Language","application/vnd.mobius.txf":"Mobius Management Systems - Topic Index File","application/vnd.mobius.daf":"Mobius Management Systems - UniversalArchive","text/vnd.fly":"mod_fly / fly.cgi","application/vnd.mophun.certificate":"Mophun Certificate","application/vnd.mophun.application":"Mophun VM","video/mj2":"Motion JPEG 2000","audio/mpeg":"MPEG Audio","video/vnd.mpegurl":"MPEG Url","video/mpeg":"MPEG","application/mp21":"MPEG-21","audio/mp4":"MP4 Audio","video/mp4":"MP4 Video","application/mp4":"MP4","application/vnd.apple.mpegurl":"Multimedia Playlist Unicode","application/vnd.musician":"MUsical Score Interpreted Code Invented for the ASCII designation of Notation","application/vnd.muvee.style":"Muvee Automatic Video Editing","application/xv+xml":"MXML","application/vnd.nokia.n-gage.data":"N-Gage Game Data","application/vnd.nokia.n-gage.symbian.install":"N-Gage Game Installer","application/x-dtbncx+xml":"Navigation Control file for XML (for ePub)","application/x-netcdf":"Network Common Data Form (NetCDF)","application/vnd.neurolanguage.nlu":"neuroLanguage","application/vnd.dna":"New Moon Liftoff/DNA","application/vnd.noblenet-directory":"NobleNet Directory","application/vnd.noblenet-sealer":"NobleNet Sealer","application/vnd.noblenet-web":"NobleNet Web","application/vnd.nokia.radio-preset":"Nokia Radio Application - Preset","application/vnd.nokia.radio-presets":"Nokia Radio Application - Preset","text/n3":"Notation3","application/vnd.novadigm.edm":"Novadigm's RADIA and EDM products","application/vnd.novadigm.edx":"Novadigm's RADIA and EDM products","application/vnd.novadigm.ext":"Novadigm's RADIA and EDM products","application/vnd.flographit":"NpGraphIt","audio/vnd.nuera.ecelp4800":"Nuera ECELP 4800","audio/vnd.nuera.ecelp7470":"Nuera ECELP 7470","audio/vnd.nuera.ecelp9600":"Nuera ECELP 9600","application/oda":"Office Document Architecture","application/ogg":"Ogg","audio/ogg":"Ogg Audio","video/ogg":"Ogg Video","application/vnd.oma.dd2+xml":"OMA Download Agents","application/vnd.oasis.opendocument.text-web":"Open Document Text Web","application/oebps-package+xml":"Open eBook Publication Structure","application/vnd.intu.qbo":"Open Financial Exchange","application/vnd.openofficeorg.extension":"Open Office Extension","application/vnd.yamaha.openscoreformat":"Open Score Format","audio/webm":"WebM Audio","video/webm":"WebM Video","application/vnd.oasis.opendocument.chart":"OpenDocument Chart","application/vnd.oasis.opendocument.chart-template":"OpenDocument Chart Template","application/vnd.oasis.opendocument.database":"OpenDocument Database","application/vnd.oasis.opendocument.formula":"OpenDocument Formula","application/vnd.oasis.opendocument.formula-template":"OpenDocument Formula Template","application/vnd.oasis.opendocument.graphics":"OpenDocument Graphics","application/vnd.oasis.opendocument.graphics-template":"OpenDocument Graphics Template","application/vnd.oasis.opendocument.image":"OpenDocument Image","application/vnd.oasis.opendocument.image-template":"OpenDocument Image Template","application/vnd.oasis.opendocument.presentation":"OpenDocument Presentation","application/vnd.oasis.opendocument.presentation-template":"OpenDocument Presentation Template","application/vnd.oasis.opendocument.spreadsheet":"OpenDocument Spreadsheet","application/vnd.oasis.opendocument.spreadsheet-template":"OpenDocument Spreadsheet Template","application/vnd.oasis.opendocument.text":"OpenDocument Text","application/vnd.oasis.opendocument.text-master":"OpenDocument Text Master","application/vnd.oasis.opendocument.text-template":"OpenDocument Text Template","image/ktx":"OpenGL Textures (KTX)","application/vnd.sun.xml.calc":"OpenOffice - Calc (Spreadsheet)","application/vnd.sun.xml.calc.template":"OpenOffice - Calc Template (Spreadsheet)","application/vnd.sun.xml.draw":"OpenOffice - Draw (Graphics)","application/vnd.sun.xml.draw.template":"OpenOffice - Draw Template (Graphics)","application/vnd.sun.xml.impress":"OpenOffice - Impress (Presentation)","application/vnd.sun.xml.impress.template":"OpenOffice - Impress Template (Presentation)","application/vnd.sun.xml.math":"OpenOffice - Math (Formula)","application/vnd.sun.xml.writer":"OpenOffice - Writer (Text - HTML)","application/vnd.sun.xml.writer.global":"OpenOffice - Writer (Text - HTML)","application/vnd.sun.xml.writer.template":"OpenOffice - Writer Template (Text - HTML)","application/x-font-otf":"OpenType Font File","application/vnd.yamaha.openscoreformat.osfpvg+xml":"OSFPVG","application/vnd.osgi.dp":"OSGi Deployment Package","application/vnd.palm":"PalmOS Data","text/x-pascal":"Pascal Source File","application/vnd.pawaafile":"PawaaFILE","application/vnd.hp-pclxl":"PCL 6 Enhanced (Formerly PCL XL)","application/vnd.picsel":"Pcsel eFIF File","image/x-pcx":"PCX Image","image/vnd.adobe.photoshop":"Photoshop Document","application/pics-rules":"PICSRules","image/x-pict":"PICT Image","application/x-chat":"pIRCh","application/pkcs10":"PKCS #10 - Certification Request Standard","application/x-pkcs12":"PKCS #12 - Personal Information Exchange Syntax Standard","application/pkcs7-mime":"PKCS #7 - Cryptographic Message Syntax Standard","application/pkcs7-signature":"PKCS #7 - Cryptographic Message Syntax Standard","application/x-pkcs7-certreqresp":"PKCS #7 - Cryptographic Message Syntax Standard (Certificate Request Response)","application/x-pkcs7-certificates":"PKCS #7 - Cryptographic Message Syntax Standard (Certificates)","application/pkcs8":"PKCS #8 - Private-Key Information Syntax Standard","application/vnd.pocketlearn":"PocketLearn Viewers","image/x-portable-anymap":"Portable Anymap Image","image/x-portable-bitmap":"Portable Bitmap Format","application/x-font-pcf":"Portable Compiled Format","application/font-tdpfr":"Portable Font Resource","application/x-chess-pgn":"Portable Game Notation (Chess Games)","image/x-portable-graymap":"Portable Graymap Format","image/png":"PNG","image/x-citrix-png":"PNG","image/x-png":"PNG","image/x-portable-pixmap":"Portable Pixmap Format","application/pskc+xml":"Portable Symmetric Key Container","application/vnd.ctc-posml":"PosML","application/postscript":"PostScript","application/x-font-type1":"PostScript Fonts","application/vnd.powerbuilder6":"PowerBuilder","application/pgp-encrypted":"Pretty Good Privacy","application/pgp-signature":"Pretty Good Privacy - Signature","application/vnd.previewsystems.box":"Preview Systems ZipLock/VBox","application/vnd.pvi.ptid1":"Princeton Video Image","application/pls+xml":"Pronunciation Lexicon Specification","application/vnd.pg.format":"Proprietary P&G Standard Reporting System","application/vnd.pg.osasli":"Proprietary P&G Standard Reporting System","text/prs.lines.tag":"PRS Lines Tag","application/x-font-linux-psf":"PSF Fonts","application/vnd.publishare-delta-tree":"PubliShare Objects","application/vnd.pmi.widget":"Qualcomm's Plaza Mobile Internet","application/vnd.quark.quarkxpress":"QuarkXpress","application/vnd.epson.esf":"QUASS Stream Player","application/vnd.epson.msf":"QUASS Stream Player","application/vnd.epson.ssf":"QUASS Stream Player","application/vnd.epson.quickanime":"QuickAnime Player","application/vnd.intu.qfx":"Quicken","video/quicktime":"Quicktime Video","application/x-rar-compressed":"RAR Archive","audio/x-pn-realaudio":"Real Audio Sound","audio/x-pn-realaudio-plugin":"Real Audio Sound","application/rsd+xml":"Really Simple Discovery","application/vnd.rn-realmedia":"RealMedia","application/vnd.realvnc.bed":"RealVNC","application/vnd.recordare.musicxml":"Recordare Applications","application/vnd.recordare.musicxml+xml":"Recordare Applications","application/relax-ng-compact-syntax":"Relax NG Compact Syntax","application/vnd.data-vision.rdz":"RemoteDocs R-Viewer","application/rdf+xml":"Resource Description Framework","application/vnd.cloanto.rp9":"RetroPlatform Player","application/vnd.jisp":"RhymBox","application/rtf":"Rich Text","text/richtext":"Rich Text","application/vnd.route66.link66+xml":"ROUTE 66 Location Based Services","application/rss+xml":"RSS","application/shf+xml":"S Hexdump Format","application/vnd.sailingtracker.track":"SailingTracker","image/svg+xml":"SVG","application/vnd.sus-calendar":"ScheduleUs","application/sru+xml":"Search/Retrieve via URL Response Format","application/set-payment-initiation":"Secure Electronic Transaction - Payment","application/set-registration-initiation":"Secure Electronic Transaction - Registration","application/vnd.sema":"Secured eMail","application/vnd.semd":"Secured eMail","application/vnd.semf":"Secured eMail","application/vnd.seemail":"SeeMail","application/x-font-snf":"Server Normal Format","application/scvp-vp-request":"Server-Based Certificate Validation Protocol - Validation Policies - Request","application/scvp-vp-response":"Server-Based Certificate Validation Protocol - Validation Policies - Response","application/scvp-cv-request":"Server-Based Certificate Validation Protocol - Validation Request","application/scvp-cv-response":"Server-Based Certificate Validation Protocol - Validation Response","application/sdp":"Session Description Protocol","text/x-setext":"Setext","video/x-sgi-movie":"SGI Movie","application/vnd.shana.informed.formdata":"Shana Informed Filler","application/vnd.shana.informed.formtemplate":"Shana Informed Filler","application/vnd.shana.informed.interchange":"Shana Informed Filler","application/vnd.shana.informed.package":"Shana Informed Filler","application/thraud+xml":"Sharing Transaction Fraud Data","application/x-shar":"Shell Archive","image/x-rgb":"Silicon Graphics RGB Bitmap","application/vnd.epson.salt":"SimpleAnimeLite Player","application/vnd.accpac.simply.aso":"Simply Accounting","application/vnd.accpac.simply.imp":"Simply Accounting - Data Import","application/vnd.simtech-mindmapper":"SimTech MindMapper","application/vnd.commonspace":"Sixth Floor Media - CommonSpace","application/vnd.yamaha.smaf-audio":"SMAF Audio","application/vnd.smaf":"SMAF File","application/vnd.yamaha.smaf-phrase":"SMAF Phrase","application/vnd.smart.teacher":"SMART Technologies Apps","application/vnd.svd":"SourceView Document","application/sparql-query":"SPARQL - Query","application/sparql-results+xml":"SPARQL - Results","application/srgs":"Speech Recognition Grammar Specification","application/srgs+xml":"Speech Recognition Grammar Specification - XML","application/ssml+xml":"Speech Synthesis Markup Language","application/vnd.koan":"SSEYO Koan Play File","text/sgml":"SGML","application/vnd.stardivision.calc":"StarOffice - Calc","application/vnd.stardivision.draw":"StarOffice - Draw","application/vnd.stardivision.impress":"StarOffice - Impress","application/vnd.stardivision.math":"StarOffice - Math","application/vnd.stardivision.writer":"StarOffice - Writer","application/vnd.stardivision.writer-global":"StarOffice - Writer (Global)","application/vnd.stepmania.stepchart":"StepMania","application/x-stuffit":"Stuffit Archive","application/x-stuffitx":"Stuffit Archive","application/vnd.solent.sdkm+xml":"SudokuMagic","application/vnd.olpc-sugar":"Sugar Linux Application Bundle","audio/basic":"Sun Audio - Au file format","application/vnd.wqd":"SundaHus WQ","application/vnd.symbian.install":"Symbian Install Package","application/smil+xml":"Synchronized Multimedia Integration Language","application/vnd.syncml+xml":"SyncML","application/vnd.syncml.dm+wbxml":"SyncML - Device Management","application/vnd.syncml.dm+xml":"SyncML - Device Management","application/x-sv4cpio":"System V Release 4 CPIO Archive","application/x-sv4crc":"System V Release 4 CPIO Checksum Data","application/sbml+xml":"Systems Biology Markup Language","text/tab-separated-values":"Tab Separated Values","image/tiff":"TIFF","application/vnd.tao.intent-module-archive":"Tao Intent","application/x-tar":"Tar File","application/x-tcl":"Tcl Script","application/x-tex":"TeX","application/x-tex-tfm":"TeX Font Metric","application/tei+xml":"Text Encoding and Interchange","text/plain":"Text","application/vnd.spotfire.dxp":"TIBCO Spotfire","application/vnd.spotfire.sfs":"TIBCO Spotfire","application/timestamped-data":"Time Stamped Data Envelope","application/vnd.trid.tpt":"TRI Systems Config","application/vnd.triscape.mxs":"Triscape Map Explorer","text/troff":"troff","application/vnd.trueapp":"True BASIC","application/x-font-ttf":"TrueType Font","text/turtle":"Turtle (Terse RDF Triple Language)","application/vnd.umajin":"UMAJIN","application/vnd.uoml+xml":"Unique Object Markup Language","application/vnd.unity":"Unity 3d","application/vnd.ufdl":"Universal Forms Description Language","text/uri-list":"URI Resolution Services","application/vnd.uiq.theme":"User Interface Quartz - Theme (Symbian)","application/x-ustar":"Ustar (Uniform Standard Tape Archive)","text/x-uuencode":"UUEncode","text/x-vcalendar":"vCalendar","text/x-vcard":"vCard","application/x-cdlink":"Video CD","application/vnd.vsf":"Viewport+","model/vrml":"Virtual Reality Modeling Language","application/vnd.vcx":"VirtualCatalog","model/vnd.mts":"Virtue MTS","model/vnd.vtu":"Virtue VTU","application/vnd.visionary":"Visionary","video/vnd.vivo":"Vivo","application/ccxml+xml,":"Voice Browser Call Control","application/voicexml+xml":"VoiceXML","application/x-wais-source":"WAIS Source","application/vnd.wap.wbxml":"WAP Binary XML (WBXML)","image/vnd.wap.wbmp":"WBMP","audio/x-wav":"WAV","application/davmount+xml":"Web Distributed Authoring and Versioning","application/x-font-woff":"WOFF","application/wspolicy+xml":"Web Services Policy","image/webp":"WebP","application/vnd.webturbo":"WebTurbo","application/widget":"Widget Packaging and XML Configuration","application/winhlp":"WinHelp","text/vnd.wap.wml":"WML","text/vnd.wap.wmlscript":"WMLScript","application/vnd.wap.wmlscriptc":"WMLScript","application/vnd.wordperfect":"Wordperfect","application/vnd.wt.stf":"Worldtalk","application/wsdl+xml":"WSDL","image/x-xbitmap":"X BitMap","image/x-xpixmap":"X PixMap","image/x-xwindowdump":"X Window Dump","application/x-x509-ca-cert":"X.509 Certificate","application/x-xfig":"Xfig","application/xhtml+xml":"XHTML","application/xml":"XML","application/xcap-diff+xml":"XML Configuration Access Protocol - XCAP Diff","application/xenc+xml":"XML Encryption Syntax and Processing","application/patch-ops-error+xml":"XML Patch Framework","application/resource-lists+xml":"XML Resource Lists","application/rls-services+xml":"XML Resource Lists","application/resource-lists-diff+xml":"XML Resource Lists Diff","application/xslt+xml":"XML Transformations","application/xop+xml":"XML-Binary Optimized Packaging","application/x-xpinstall":"XPInstall - Mozilla","application/xspf+xml":"XSPF - XML Shareable Playlist Format","application/vnd.mozilla.xul+xml":"XUL - XML User Interface Language","chemical/x-xyz":"XYZ File Format","text/yaml":"YAML","application/yang":"YANG Data Modeling Language","application/yin+xml":"YIN (YANG - XML)","application/vnd.zul":"Z.U.L. Geometry","application/zip":"Zip Archive","application/vnd.handheld-entertainment+xml":"ZVUE Media Manager","application/vnd.zzazz.deck+xml":"Zzazz Deck"};function cm(n,e=!1){return e?$me[n]||null:Nme[n]||null}function Ys(n,e){const t=new URL(`assets/${n}`,v_());return e&&t.searchParams.set("download",""),t.href}const Bme={key:0,class:"extension"},jme=Lt({__name:"file",props:{value:{default:null}},setup(n){const e=n,t=Pe(),i=Pe(!1),o=we(()=>e.value?cm(e.value.type,!0):null),r=we(()=>{var a,s;return e.value?(a=e.value.type)!=null&&a.includes("svg")?Ys(e.value.id):((s=e.value.type)==null?void 0:s.includes("image"))===!1?null:Ys(`${e.value.id}?key=system-small-cover`):null});return(a,s)=>{var f,g;const l=q("v-image"),d=q("v-icon");return r.value&&!i.value?(V(),me(l,{key:0,src:r.value,class:An({"is-svg":a.value&&((f=a.value.type)==null?void 0:f.includes("svg"))}),alt:(g=a.value)==null?void 0:g.title,onError:s[0]||(s[0]=v=>i.value=!0)},null,8,["src","class","alt"])):(V(),De("div",{key:1,ref_key:"previewEl",ref:t,class:"preview"},[o.value?(V(),De("span",Bme,de(o.value),1)):(V(),me(d,{key:1,name:"folder_open"}))],512))}}}),Vme=qt(jme,[["__scopeId","data-v-0740e758"]]),Hme=jd({id:"file",name:"$t:displays.file.file",description:"$t:displays.file.description",icon:"insert_drive_file",component:Vme,types:["uuid"],localTypes:["file"],options:[],fields:["id","type","title"]});function _3(n=0,e=!0){const t=e?1e3:1024;if(!n)return"--";if(Math.abs(n)<t)return`${n} B`;const i=e?["kB","MB","GB","TB","PB","EB","ZB","YB"]:["KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"];let o=-1,r=n;do r/=t,o+=1;while(Math.abs(r)>=t&&o<i.length-1);return`${r.toFixed(1)} ${i[o]}`}const Ume=jd({id:"filesize",name:"$t:displays.filesize.filesize",description:"$t:displays.filesize.description",icon:"description",component:({value:n})=>v3("span",null,_3(n)),handler:n=>_3(n),options:[],types:["integer","bigInteger"]}),Wme=["onClick"],qme={class:"label"},Gme={key:2},Yme=Lt({__name:"formatted-json-value",props:{value:{default:null},format:{default:null}},setup(n){const e=n,{t}=vn(),i=we(()=>{if(!e.value)return null;try{return Array.isArray(e.value)?e.value.map(r=>o(r)):[o(e.value)]}catch{return null}});function o(r){return e.format?rm(e.format,r):rm("{{ value }}",{value:r})}return(r,a)=>{const s=q("value-null"),l=q("v-list-item-content"),d=q("v-list-item"),f=q("v-list"),g=q("v-menu");return i.value?i.value.length>1?(V(),me(g,{key:1,"show-arrow":""},{activator:P(({toggle:v})=>[xe("span",{class:"toggle",onClick:po(v,["stop"])},[xe("span",qme,de(i.value.length)+" "+de(h(t)("items")),1)],8,Wme)]),default:P(()=>[A(f,{class:"links"},{default:P(()=>[(V(!0),De(_n,null,Ii(i.value,(v,b)=>(V(),me(d,{key:b},{default:P(()=>[A(l,null,{default:P(()=>[Fe(de(v),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})):(V(),De("span",Gme,de(i.value[0]),1)):(V(),me(s,{key:0}))}}}),Xme=jd({id:"formatted-json-value",name:"$t:displays.formatted-json-value.formatted-json-value",description:"$t:displays.formatted-json-value.description",types:["json","geometry"],icon:"settings_ethernet",component:Yme,handler:(n,e)=>qu(n).map(t=>e.format?rm(t,e.format):t).join(", "),options:[{field:"format",name:"$t:display_template",type:"string",meta:{width:"full",interface:"input",options:{placeholder:"{{ field }}"}}}]});/*! @license DOMPurify 3.1.2 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.1.2/LICENSE */const{entries:jP,setPrototypeOf:yA,isFrozen:Kme,getPrototypeOf:Zme,getOwnPropertyDescriptor:Jme}=Object;let{freeze:Zf,seal:Vp,create:VP}=Object,{apply:ew,construct:tw}=typeof Reflect<"u"&&Reflect;Zf||(Zf=function(e){return e});Vp||(Vp=function(e){return e});ew||(ew=function(e,t,i){return e.apply(t,i)});tw||(tw=function(e,t){return new e(...t)});const D5=up(Array.prototype.forEach),_A=up(Array.prototype.pop),Ay=up(Array.prototype.push),N6=up(String.prototype.toLowerCase),s9=up(String.prototype.toString),bA=up(String.prototype.match),Ty=up(String.prototype.replace),Qme=up(String.prototype.indexOf),e2e=up(String.prototype.trim),lh=up(Object.prototype.hasOwnProperty),g1=up(RegExp.prototype.test),Ly=t2e(TypeError);function up(n){return function(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),o=1;o<t;o++)i[o-1]=arguments[o];return ew(n,e,i)}}function t2e(n){return function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return tw(n,t)}}function Xr(n,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:N6;yA&&yA(n,null);let i=e.length;for(;i--;){let o=e[i];if(typeof o=="string"){const r=t(o);r!==o&&(Kme(e)||(e[i]=r),o=r)}n[o]=!0}return n}function n2e(n){for(let e=0;e<n.length;e++)lh(n,e)||(n[e]=null);return n}function sg(n){const e=VP(null);for(const[t,i]of jP(n))lh(n,t)&&(Array.isArray(i)?e[t]=n2e(i):i&&typeof i=="object"&&i.constructor===Object?e[t]=sg(i):e[t]=i);return e}function P5(n,e){for(;n!==null;){const i=Jme(n,e);if(i){if(i.get)return up(i.get);if(typeof i.value=="function")return up(i.value)}n=Zme(n)}function t(){return null}return t}const xA=Zf(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),l9=Zf(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),c9=Zf(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),i2e=Zf(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),u9=Zf(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),o2e=Zf(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),wA=Zf(["#text"]),kA=Zf(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),d9=Zf(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),CA=Zf(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),O5=Zf(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),a2e=Vp(/\{\{[\w\W]*|[\w\W]*\}\}/gm),r2e=Vp(/<%[\w\W]*|[\w\W]*%>/gm),s2e=Vp(/\${[\w\W]*}/gm),l2e=Vp(/^data-[\-\w.\u00B7-\uFFFF]/),c2e=Vp(/^aria-[\-\w]+$/),HP=Vp(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),u2e=Vp(/^(?:\w+script|data):/i),d2e=Vp(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),UP=Vp(/^html$/i),f2e=Vp(/^[a-z][.\w]*(-[.\w]+)+$/i);var SA=Object.freeze({__proto__:null,MUSTACHE_EXPR:a2e,ERB_EXPR:r2e,TMPLIT_EXPR:s2e,DATA_ATTR:l2e,ARIA_ATTR:c2e,IS_ALLOWED_URI:HP,IS_SCRIPT_OR_DATA:u2e,ATTR_WHITESPACE:d2e,DOCTYPE_NAME:UP,CUSTOM_ELEMENT:f2e});const p2e=function(){return typeof window>"u"?null:window},h2e=function(e,t){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let i=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(i=t.getAttribute(o));const r="dompurify"+(i?"#"+i:"");try{return e.createPolicy(r,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}};function WP(){let n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:p2e();const e=Gn=>WP(Gn);if(e.version="3.1.2",e.removed=[],!n||!n.document||n.document.nodeType!==9)return e.isSupported=!1,e;let{document:t}=n;const i=t,o=i.currentScript,{DocumentFragment:r,HTMLTemplateElement:a,Node:s,Element:l,NodeFilter:d,NamedNodeMap:f=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:g,DOMParser:v,trustedTypes:b}=n,x=l.prototype,k=P5(x,"cloneNode"),S=P5(x,"nextSibling"),O=P5(x,"childNodes"),w=P5(x,"parentNode");if(typeof a=="function"){const Gn=t.createElement("template");Gn.content&&Gn.content.ownerDocument&&(t=Gn.content.ownerDocument)}let D,I="";const{implementation:$,createNodeIterator:B,createDocumentFragment:X,getElementsByTagName:Y}=t,{importNode:Q}=i;let ue={};e.isSupported=typeof jP=="function"&&typeof w=="function"&&$&&$.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:ce,ERB_EXPR:ve,TMPLIT_EXPR:ie,DATA_ATTR:se,ARIA_ATTR:te,IS_SCRIPT_OR_DATA:ye,ATTR_WHITESPACE:Ee,CUSTOM_ELEMENT:Ce}=SA;let{IS_ALLOWED_URI:je}=SA,tt=null;const nt=Xr({},[...xA,...l9,...c9,...u9,...wA]);let Se=null;const Te=Xr({},[...kA,...d9,...CA,...O5]);let lt=Object.seal(VP(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ot=null,St=null,Et=!0,It=!0,_t=!1,Qt=!0,zt=!1,Nt=!0,kt=!1,Ct=!1,Bt=!1,ut=!1,sn=!1,dn=!1,Gt=!0,yt=!1;const cn="user-content-";let gn=!0,mn=!1,Xt={},In=null;const $n=Xr({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Hn=null;const Xn=Xr({},["audio","video","img","source","image","track"]);let Cn=null;const Pn=Xr({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Tn="http://www.w3.org/1998/Math/MathML",si="http://www.w3.org/2000/svg",Rn="http://www.w3.org/1999/xhtml";let Pi=Rn,Ai=!1,vi=null;const oo=Xr({},[Tn,si,Rn],s9);let Ci=null;const Kn=["application/xhtml+xml","text/html"],fo="text/html";let Yi=null,Bi=null;const Lo=255,$t=t.createElement("form"),Ht=function(kn){return kn instanceof RegExp||kn instanceof Function},ze=function(){let kn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Bi&&Bi===kn)){if((!kn||typeof kn!="object")&&(kn={}),kn=sg(kn),Ci=Kn.indexOf(kn.PARSER_MEDIA_TYPE)===-1?fo:kn.PARSER_MEDIA_TYPE,Yi=Ci==="application/xhtml+xml"?s9:N6,tt=lh(kn,"ALLOWED_TAGS")?Xr({},kn.ALLOWED_TAGS,Yi):nt,Se=lh(kn,"ALLOWED_ATTR")?Xr({},kn.ALLOWED_ATTR,Yi):Te,vi=lh(kn,"ALLOWED_NAMESPACES")?Xr({},kn.ALLOWED_NAMESPACES,s9):oo,Cn=lh(kn,"ADD_URI_SAFE_ATTR")?Xr(sg(Pn),kn.ADD_URI_SAFE_ATTR,Yi):Pn,Hn=lh(kn,"ADD_DATA_URI_TAGS")?Xr(sg(Xn),kn.ADD_DATA_URI_TAGS,Yi):Xn,In=lh(kn,"FORBID_CONTENTS")?Xr({},kn.FORBID_CONTENTS,Yi):$n,Ot=lh(kn,"FORBID_TAGS")?Xr({},kn.FORBID_TAGS,Yi):{},St=lh(kn,"FORBID_ATTR")?Xr({},kn.FORBID_ATTR,Yi):{},Xt=lh(kn,"USE_PROFILES")?kn.USE_PROFILES:!1,Et=kn.ALLOW_ARIA_ATTR!==!1,It=kn.ALLOW_DATA_ATTR!==!1,_t=kn.ALLOW_UNKNOWN_PROTOCOLS||!1,Qt=kn.ALLOW_SELF_CLOSE_IN_ATTR!==!1,zt=kn.SAFE_FOR_TEMPLATES||!1,Nt=kn.SAFE_FOR_XML!==!1,kt=kn.WHOLE_DOCUMENT||!1,ut=kn.RETURN_DOM||!1,sn=kn.RETURN_DOM_FRAGMENT||!1,dn=kn.RETURN_TRUSTED_TYPE||!1,Bt=kn.FORCE_BODY||!1,Gt=kn.SANITIZE_DOM!==!1,yt=kn.SANITIZE_NAMED_PROPS||!1,gn=kn.KEEP_CONTENT!==!1,mn=kn.IN_PLACE||!1,je=kn.ALLOWED_URI_REGEXP||HP,Pi=kn.NAMESPACE||Rn,lt=kn.CUSTOM_ELEMENT_HANDLING||{},kn.CUSTOM_ELEMENT_HANDLING&&Ht(kn.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(lt.tagNameCheck=kn.CUSTOM_ELEMENT_HANDLING.tagNameCheck),kn.CUSTOM_ELEMENT_HANDLING&&Ht(kn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(lt.attributeNameCheck=kn.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),kn.CUSTOM_ELEMENT_HANDLING&&typeof kn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(lt.allowCustomizedBuiltInElements=kn.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),zt&&(It=!1),sn&&(ut=!0),Xt&&(tt=Xr({},wA),Se=[],Xt.html===!0&&(Xr(tt,xA),Xr(Se,kA)),Xt.svg===!0&&(Xr(tt,l9),Xr(Se,d9),Xr(Se,O5)),Xt.svgFilters===!0&&(Xr(tt,c9),Xr(Se,d9),Xr(Se,O5)),Xt.mathMl===!0&&(Xr(tt,u9),Xr(Se,CA),Xr(Se,O5))),kn.ADD_TAGS&&(tt===nt&&(tt=sg(tt)),Xr(tt,kn.ADD_TAGS,Yi)),kn.ADD_ATTR&&(Se===Te&&(Se=sg(Se)),Xr(Se,kn.ADD_ATTR,Yi)),kn.ADD_URI_SAFE_ATTR&&Xr(Cn,kn.ADD_URI_SAFE_ATTR,Yi),kn.FORBID_CONTENTS&&(In===$n&&(In=sg(In)),Xr(In,kn.FORBID_CONTENTS,Yi)),gn&&(tt["#text"]=!0),kt&&Xr(tt,["html","head","body"]),tt.table&&(Xr(tt,["tbody"]),delete Ot.tbody),kn.TRUSTED_TYPES_POLICY){if(typeof kn.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ly('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof kn.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ly('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');D=kn.TRUSTED_TYPES_POLICY,I=D.createHTML("")}else D===void 0&&(D=h2e(b,o)),D!==null&&typeof I=="string"&&(I=D.createHTML(""));Zf&&Zf(kn),Bi=kn}},Ze=Xr({},["mi","mo","mn","ms","mtext"]),it=Xr({},["foreignobject","annotation-xml"]),ft=Xr({},["title","style","font","a","script"]),Ft=Xr({},[...l9,...c9,...i2e]),Kt=Xr({},[...u9,...o2e]),pn=function(kn){let Ye=w(kn);(!Ye||!Ye.tagName)&&(Ye={namespaceURI:Pi,tagName:"template"});const u=N6(kn.tagName),p=N6(Ye.tagName);return vi[kn.namespaceURI]?kn.namespaceURI===si?Ye.namespaceURI===Rn?u==="svg":Ye.namespaceURI===Tn?u==="svg"&&(p==="annotation-xml"||Ze[p]):!!Ft[u]:kn.namespaceURI===Tn?Ye.namespaceURI===Rn?u==="math":Ye.namespaceURI===si?u==="math"&&it[p]:!!Kt[u]:kn.namespaceURI===Rn?Ye.namespaceURI===si&&!it[p]||Ye.namespaceURI===Tn&&!Ze[p]?!1:!Kt[u]&&(ft[u]||!Ft[u]):!!(Ci==="application/xhtml+xml"&&vi[kn.namespaceURI]):!1},Ut=function(kn){Ay(e.removed,{element:kn});try{kn.parentNode.removeChild(kn)}catch{kn.remove()}},At=function(kn,Ye){try{Ay(e.removed,{attribute:Ye.getAttributeNode(kn),from:Ye})}catch{Ay(e.removed,{attribute:null,from:Ye})}if(Ye.removeAttribute(kn),kn==="is"&&!Se[kn])if(ut||sn)try{Ut(Ye)}catch{}else try{Ye.setAttribute(kn,"")}catch{}},tn=function(kn){let Ye=null,u=null;if(Bt)kn="<remove></remove>"+kn;else{const L=bA(kn,/^[\r\n\t ]+/);u=L&&L[0]}Ci==="application/xhtml+xml"&&Pi===Rn&&(kn='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+kn+"</body></html>");const p=D?D.createHTML(kn):kn;if(Pi===Rn)try{Ye=new v().parseFromString(p,Ci)}catch{}if(!Ye||!Ye.documentElement){Ye=$.createDocument(Pi,"template",null);try{Ye.documentElement.innerHTML=Ai?I:p}catch{}}const _=Ye.body||Ye.documentElement;return kn&&u&&_.insertBefore(t.createTextNode(u),_.childNodes[0]||null),Pi===Rn?Y.call(Ye,kt?"html":"body")[0]:kt?Ye.documentElement:_},gi=function(kn){return B.call(kn.ownerDocument||kn,kn,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},Ti=function(kn){return kn instanceof g&&(typeof kn.__depth<"u"&&typeof kn.__depth!="number"||typeof kn.__removalCount<"u"&&typeof kn.__removalCount!="number"||typeof kn.nodeName!="string"||typeof kn.textContent!="string"||typeof kn.removeChild!="function"||!(kn.attributes instanceof f)||typeof kn.removeAttribute!="function"||typeof kn.setAttribute!="function"||typeof kn.namespaceURI!="string"||typeof kn.insertBefore!="function"||typeof kn.hasChildNodes!="function")},Qn=function(kn){return typeof s=="function"&&kn instanceof s},_i=function(kn,Ye,u){ue[kn]&&D5(ue[kn],p=>{p.call(e,Ye,u,Bi)})},Ji=function(kn){let Ye=null;if(_i("beforeSanitizeElements",kn,null),Ti(kn))return Ut(kn),!0;const u=Yi(kn.nodeName);if(_i("uponSanitizeElement",kn,{tagName:u,allowedTags:tt}),kn.hasChildNodes()&&!Qn(kn.firstElementChild)&&g1(/<[/\w]/g,kn.innerHTML)&&g1(/<[/\w]/g,kn.textContent)||kn.nodeType===7||Nt&&kn.nodeType===8&&g1(/<[/\w]/g,kn.data))return Ut(kn),!0;if(!tt[u]||Ot[u]){if(!Ot[u]&&go(u)&&(lt.tagNameCheck instanceof RegExp&&g1(lt.tagNameCheck,u)||lt.tagNameCheck instanceof Function&<.tagNameCheck(u)))return!1;if(gn&&!In[u]){const p=w(kn)||kn.parentNode,_=O(kn)||kn.childNodes;if(_&&p){const L=_.length;for(let F=L-1;F>=0;--F){const z=k(_[F],!0);z.__removalCount=(kn.__removalCount||0)+1,p.insertBefore(z,S(kn))}}}return Ut(kn),!0}return kn instanceof l&&!pn(kn)||(u==="noscript"||u==="noembed"||u==="noframes")&&g1(/<\/no(script|embed|frames)/i,kn.innerHTML)?(Ut(kn),!0):(zt&&kn.nodeType===3&&(Ye=kn.textContent,D5([ce,ve,ie],p=>{Ye=Ty(Ye,p," ")}),kn.textContent!==Ye&&(Ay(e.removed,{element:kn.cloneNode()}),kn.textContent=Ye)),_i("afterSanitizeElements",kn,null),!1)},no=function(kn,Ye,u){if(Gt&&(Ye==="id"||Ye==="name")&&(u in t||u in $t))return!1;if(!(It&&!St[Ye]&&g1(se,Ye))){if(!(Et&&g1(te,Ye))){if(!Se[Ye]||St[Ye]){if(!(go(kn)&&(lt.tagNameCheck instanceof RegExp&&g1(lt.tagNameCheck,kn)||lt.tagNameCheck instanceof Function&<.tagNameCheck(kn))&&(lt.attributeNameCheck instanceof RegExp&&g1(lt.attributeNameCheck,Ye)||lt.attributeNameCheck instanceof Function&<.attributeNameCheck(Ye))||Ye==="is"&<.allowCustomizedBuiltInElements&&(lt.tagNameCheck instanceof RegExp&&g1(lt.tagNameCheck,u)||lt.tagNameCheck instanceof Function&<.tagNameCheck(u))))return!1}else if(!Cn[Ye]){if(!g1(je,Ty(u,Ee,""))){if(!((Ye==="src"||Ye==="xlink:href"||Ye==="href")&&kn!=="script"&&Qme(u,"data:")===0&&Hn[kn])){if(!(_t&&!g1(ye,Ty(u,Ee,"")))){if(u)return!1}}}}}}return!0},go=function(kn){return kn!=="annotation-xml"&&bA(kn,Ce)},di=function(kn){_i("beforeSanitizeAttributes",kn,null);const{attributes:Ye}=kn;if(!Ye)return;const u={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Se};let p=Ye.length;for(;p--;){const _=Ye[p],{name:L,namespaceURI:F,value:z}=_,U=Yi(L);let J=L==="value"?z:e2e(z);if(u.attrName=U,u.attrValue=J,u.keepAttr=!0,u.forceKeepAttr=void 0,_i("uponSanitizeAttribute",kn,u),J=u.attrValue,u.forceKeepAttr||(At(L,kn),!u.keepAttr))continue;if(!Qt&&g1(/\/>/i,J)){At(L,kn);continue}zt&&D5([ce,ve,ie],he=>{J=Ty(J,he," ")});const oe=Yi(kn.nodeName);if(no(oe,U,J)){if(yt&&(U==="id"||U==="name")&&(At(L,kn),J=cn+J),D&&typeof b=="object"&&typeof b.getAttributeType=="function"&&!F)switch(b.getAttributeType(oe,U)){case"TrustedHTML":{J=D.createHTML(J);break}case"TrustedScriptURL":{J=D.createScriptURL(J);break}}try{F?kn.setAttributeNS(F,L,J):kn.setAttribute(L,J),_A(e.removed)}catch{}}}_i("afterSanitizeAttributes",kn,null)},Wi=function Gn(kn){let Ye=null;const u=gi(kn);for(_i("beforeSanitizeShadowDOM",kn,null);Ye=u.nextNode();){if(_i("uponSanitizeShadowNode",Ye,null),Ji(Ye))continue;const p=w(Ye);Ye.nodeType===1&&(p&&p.__depth?Ye.__depth=(Ye.__removalCount||0)+p.__depth+1:Ye.__depth=1),Ye.__depth>=Lo&&Ut(Ye),Ye.content instanceof r&&(Ye.content.__depth=Ye.__depth,Gn(Ye.content)),di(Ye)}_i("afterSanitizeShadowDOM",kn,null)};return e.sanitize=function(Gn){let kn=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ye=null,u=null,p=null,_=null;if(Ai=!Gn,Ai&&(Gn="<!-->"),typeof Gn!="string"&&!Qn(Gn))if(typeof Gn.toString=="function"){if(Gn=Gn.toString(),typeof Gn!="string")throw Ly("dirty is not a string, aborting")}else throw Ly("toString is not a function");if(!e.isSupported)return Gn;if(Ct||ze(kn),e.removed=[],typeof Gn=="string"&&(mn=!1),mn){if(Gn.nodeName){const z=Yi(Gn.nodeName);if(!tt[z]||Ot[z])throw Ly("root node is forbidden and cannot be sanitized in-place")}}else if(Gn instanceof s)Ye=tn("<!---->"),u=Ye.ownerDocument.importNode(Gn,!0),u.nodeType===1&&u.nodeName==="BODY"||u.nodeName==="HTML"?Ye=u:Ye.appendChild(u);else{if(!ut&&!zt&&!kt&&Gn.indexOf("<")===-1)return D&&dn?D.createHTML(Gn):Gn;if(Ye=tn(Gn),!Ye)return ut?null:dn?I:""}Ye&&Bt&&Ut(Ye.firstChild);const L=gi(mn?Gn:Ye);for(;p=L.nextNode();){if(Ji(p))continue;const z=w(p);p.nodeType===1&&(z&&z.__depth?p.__depth=(p.__removalCount||0)+z.__depth+1:p.__depth=1),p.__depth>=Lo&&Ut(p),p.content instanceof r&&(p.content.__depth=p.__depth,Wi(p.content)),di(p)}if(mn)return Gn;if(ut){if(sn)for(_=X.call(Ye.ownerDocument);Ye.firstChild;)_.appendChild(Ye.firstChild);else _=Ye;return(Se.shadowroot||Se.shadowrootmode)&&(_=Q.call(i,_,!0)),_}let F=kt?Ye.outerHTML:Ye.innerHTML;return kt&&tt["!doctype"]&&Ye.ownerDocument&&Ye.ownerDocument.doctype&&Ye.ownerDocument.doctype.name&&g1(UP,Ye.ownerDocument.doctype.name)&&(F="<!DOCTYPE "+Ye.ownerDocument.doctype.name+`>
|
|
53
53
|
`+F),zt&&D5([ce,ve,ie],z=>{F=Ty(F,z," ")}),D&&dn?D.createHTML(F):F},e.setConfig=function(){let Gn=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};ze(Gn),Ct=!0},e.clearConfig=function(){Bi=null,Ct=!1},e.isValidAttribute=function(Gn,kn,Ye){Bi||ze({});const u=Yi(Gn),p=Yi(kn);return no(u,p,Ye)},e.addHook=function(Gn,kn){typeof kn=="function"&&(ue[Gn]=ue[Gn]||[],Ay(ue[Gn],kn))},e.removeHook=function(Gn){if(ue[Gn])return _A(ue[Gn])},e.removeHooks=function(Gn){ue[Gn]&&(ue[Gn]=[])},e.removeAllHooks=function(){ue={}},e}var xb=WP(),b8={},x8={};Object.defineProperty(x8,"__esModule",{value:!0});x8.bodyRegExps={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/∉|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/·|℗|⋇|⪧|⩺|⋗|⦕|⩼|⪆|⥸|⋗|⋛|⪌|≷|≳|⪦|⩹|⋖|⋋|⋉|⥶|⩻|⦖|◃|⊴|◂|∉|⋹̸|⋵̸|∉|⋷|⋶|∌|∌|⋾|⋽|∥|⊠|⨱|⨰|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g};x8.namedReferences={xml:{entities:{"<":"<",">":">",""":'"',"'":"'","&":"&"},characters:{"<":"<",">":">",'"':""","'":"'","&":"&"}},html4:{entities:{"'":"'"," ":" "," ":" ","¡":"¡","¡":"¡","¢":"¢","¢":"¢","£":"£","£":"£","¤":"¤","¤":"¤","¥":"¥","¥":"¥","¦":"¦","¦":"¦","§":"§","§":"§","¨":"¨","¨":"¨","©":"©","©":"©","ª":"ª","ª":"ª","«":"«","«":"«","¬":"¬","¬":"¬","­":"","­":"","®":"®","®":"®","¯":"¯","¯":"¯","°":"°","°":"°","±":"±","±":"±","²":"²","²":"²","³":"³","³":"³","´":"´","´":"´","µ":"µ","µ":"µ","¶":"¶","¶":"¶","·":"·","·":"·","¸":"¸","¸":"¸","¹":"¹","¹":"¹","º":"º","º":"º","»":"»","»":"»","¼":"¼","¼":"¼","½":"½","½":"½","¾":"¾","¾":"¾","¿":"¿","¿":"¿","À":"À","À":"À","Á":"Á","Á":"Á","Â":"Â","Â":"Â","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","Å":"Å","Å":"Å","Æ":"Æ","Æ":"Æ","Ç":"Ç","Ç":"Ç","È":"È","È":"È","É":"É","É":"É","Ê":"Ê","Ê":"Ê","Ë":"Ë","Ë":"Ë","Ì":"Ì","Ì":"Ì","Í":"Í","Í":"Í","Î":"Î","Î":"Î","Ï":"Ï","Ï":"Ï","Ð":"Ð","Ð":"Ð","Ñ":"Ñ","Ñ":"Ñ","Ò":"Ò","Ò":"Ò","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","Õ":"Õ","Õ":"Õ","Ö":"Ö","Ö":"Ö","×":"×","×":"×","Ø":"Ø","Ø":"Ø","Ù":"Ù","Ù":"Ù","Ú":"Ú","Ú":"Ú","Û":"Û","Û":"Û","Ü":"Ü","Ü":"Ü","Ý":"Ý","Ý":"Ý","Þ":"Þ","Þ":"Þ","ß":"ß","ß":"ß","à":"à","à":"à","á":"á","á":"á","â":"â","â":"â","ã":"ã","ã":"ã","ä":"ä","ä":"ä","å":"å","å":"å","æ":"æ","æ":"æ","ç":"ç","ç":"ç","è":"è","è":"è","é":"é","é":"é","ê":"ê","ê":"ê","ë":"ë","ë":"ë","ì":"ì","ì":"ì","í":"í","í":"í","î":"î","î":"î","ï":"ï","ï":"ï","ð":"ð","ð":"ð","ñ":"ñ","ñ":"ñ","ò":"ò","ò":"ò","ó":"ó","ó":"ó","ô":"ô","ô":"ô","õ":"õ","õ":"õ","ö":"ö","ö":"ö","÷":"÷","÷":"÷","ø":"ø","ø":"ø","ù":"ù","ù":"ù","ú":"ú","ú":"ú","û":"û","û":"û","ü":"ü","ü":"ü","ý":"ý","ý":"ý","þ":"þ","þ":"þ","ÿ":"ÿ","ÿ":"ÿ",""":'"',""":'"',"&":"&","&":"&","<":"<","<":"<",">":">",">":">","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","‌":"","‍":"","‎":"","‏":"","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€","ƒ":"ƒ","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","ς":"ς","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","ϑ":"ϑ","ϒ":"ϒ","ϖ":"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","™":"™","ℵ":"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","⟨":"〈","⟩":"〉","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"},characters:{"'":"'"," ":" ","¡":"¡","¢":"¢","£":"£","¤":"¤","¥":"¥","¦":"¦","§":"§","¨":"¨","©":"©",ª:"ª","«":"«","¬":"¬","":"­","®":"®","¯":"¯","°":"°","±":"±","²":"²","³":"³","´":"´",µ:"µ","¶":"¶","·":"·","¸":"¸","¹":"¹",º:"º","»":"»","¼":"¼","½":"½","¾":"¾","¿":"¿",À:"À",Á:"Á",Â:"Â",Ã:"Ã",Ä:"Ä",Å:"Å",Æ:"Æ",Ç:"Ç",È:"È",É:"É",Ê:"Ê",Ë:"Ë",Ì:"Ì",Í:"Í",Î:"Î",Ï:"Ï",Ð:"Ð",Ñ:"Ñ",Ò:"Ò",Ó:"Ó",Ô:"Ô",Õ:"Õ",Ö:"Ö","×":"×",Ø:"Ø",Ù:"Ù",Ú:"Ú",Û:"Û",Ü:"Ü",Ý:"Ý",Þ:"Þ",ß:"ß",à:"à",á:"á",â:"â",ã:"ã",ä:"ä",å:"å",æ:"æ",ç:"ç",è:"è",é:"é",ê:"ê",ë:"ë",ì:"ì",í:"í",î:"î",ï:"ï",ð:"ð",ñ:"ñ",ò:"ò",ó:"ó",ô:"ô",õ:"õ",ö:"ö","÷":"÷",ø:"ø",ù:"ù",ú:"ú",û:"û",ü:"ü",ý:"ý",þ:"þ",ÿ:"ÿ",'"':""","&":"&","<":"<",">":">",Œ:"Œ",œ:"œ",Š:"Š",š:"š",Ÿ:"Ÿ","ˆ":"ˆ","˜":"˜"," ":" "," ":" "," ":" ","":"‌","":"‍","":"‎","":"‏","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","‰":"‰","‹":"‹","›":"›","€":"€",ƒ:"ƒ",Α:"Α",Β:"Β",Γ:"Γ",Δ:"Δ",Ε:"Ε",Ζ:"Ζ",Η:"Η",Θ:"Θ",Ι:"Ι",Κ:"Κ",Λ:"Λ",Μ:"Μ",Ν:"Ν",Ξ:"Ξ",Ο:"Ο",Π:"Π",Ρ:"Ρ",Σ:"Σ",Τ:"Τ",Υ:"Υ",Φ:"Φ",Χ:"Χ",Ψ:"Ψ",Ω:"Ω",α:"α",β:"β",γ:"γ",δ:"δ",ε:"ε",ζ:"ζ",η:"η",θ:"θ",ι:"ι",κ:"κ",λ:"λ",μ:"μ",ν:"ν",ξ:"ξ",ο:"ο",π:"π",ρ:"ρ",ς:"ς",σ:"σ",τ:"τ",υ:"υ",φ:"φ",χ:"χ",ψ:"ψ",ω:"ω",ϑ:"ϑ",ϒ:"ϒ",ϖ:"ϖ","•":"•","…":"…","′":"′","″":"″","‾":"‾","⁄":"⁄","℘":"℘",ℑ:"ℑ",ℜ:"ℜ","™":"™",ℵ:"ℵ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","∀":"∀","∂":"∂","∃":"∃","∅":"∅","∇":"∇","∈":"∈","∉":"∉","∋":"∋","∏":"∏","∑":"∑","−":"−","∗":"∗","√":"√","∝":"∝","∞":"∞","∠":"∠","∧":"∧","∨":"∨","∩":"∩","∪":"∪","∫":"∫","∴":"∴","∼":"∼","≅":"≅","≈":"≈","≠":"≠","≡":"≡","≤":"≤","≥":"≥","⊂":"⊂","⊃":"⊃","⊄":"⊄","⊆":"⊆","⊇":"⊇","⊕":"⊕","⊗":"⊗","⊥":"⊥","⋅":"⋅","⌈":"⌈","⌉":"⌉","⌊":"⌊","⌋":"⌋","〈":"⟨","〉":"⟩","◊":"◊","♠":"♠","♣":"♣","♥":"♥","♦":"♦"}},html5:{entities:{"Æ":"Æ","Æ":"Æ","&":"&","&":"&","Á":"Á","Á":"Á","Ă":"Ă","Â":"Â","Â":"Â","А":"А","𝔄":"𝔄","À":"À","À":"À","Α":"Α","Ā":"Ā","⩓":"⩓","Ą":"Ą","𝔸":"𝔸","⁡":"","Å":"Å","Å":"Å","𝒜":"𝒜","≔":"≔","Ã":"Ã","Ã":"Ã","Ä":"Ä","Ä":"Ä","∖":"∖","⫧":"⫧","⌆":"⌆","Б":"Б","∵":"∵","ℬ":"ℬ","Β":"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","ℬ":"ℬ","≎":"≎","Ч":"Ч","©":"©","©":"©","Ć":"Ć","⋒":"⋒","ⅅ":"ⅅ","ℭ":"ℭ","Č":"Č","Ç":"Ç","Ç":"Ç","Ĉ":"Ĉ","∰":"∰","Ċ":"Ċ","¸":"¸","·":"·","ℭ":"ℭ","Χ":"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮","ℂ":"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","ⅅ":"ⅅ","⤑":"⤑","Ђ":"Ђ","Ѕ":"Ѕ","Џ":"Џ","‡":"‡","↡":"↡","⫤":"⫤","Ď":"Ď","Д":"Д","∇":"∇","Δ":"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","∯":"∯","¨":"¨","⇓":"⇓","⇐":"⇐","⇔":"⇔","⫤":"⫤","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","⇓":"⇓","𝒟":"𝒟","Đ":"Đ","Ŋ":"Ŋ","Ð":"Ð","Ð":"Ð","É":"É","É":"É","Ě":"Ě","Ê":"Ê","Ê":"Ê","Э":"Э","Ė":"Ė","𝔈":"𝔈","È":"È","È":"È","∈":"∈","Ē":"Ē","◻":"◻","▫":"▫","Ę":"Ę","𝔼":"𝔼","Ε":"Ε","⩵":"⩵","≂":"≂","⇌":"⇌","ℰ":"ℰ","⩳":"⩳","Η":"Η","Ë":"Ë","Ë":"Ë","∃":"∃","ⅇ":"ⅇ","Ф":"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀","ℱ":"ℱ","ℱ":"ℱ","Ѓ":"Ѓ",">":">",">":">","Γ":"Γ","Ϝ":"Ϝ","Ğ":"Ğ","Ģ":"Ģ","Ĝ":"Ĝ","Г":"Г","Ġ":"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫","Ъ":"Ъ","ˇ":"ˇ","^":"^","Ĥ":"Ĥ","ℌ":"ℌ","ℋ":"ℋ","ℍ":"ℍ","─":"─","ℋ":"ℋ","Ħ":"Ħ","≎":"≎","≏":"≏","Е":"Е","IJ":"IJ","Ё":"Ё","Í":"Í","Í":"Í","Î":"Î","Î":"Î","И":"И","İ":"İ","ℑ":"ℑ","Ì":"Ì","Ì":"Ì","ℑ":"ℑ","Ī":"Ī","ⅈ":"ⅈ","⇒":"⇒","∬":"∬","∫":"∫","⋂":"⋂","⁣":"","⁢":"","Į":"Į","𝕀":"𝕀","Ι":"Ι","ℐ":"ℐ","Ĩ":"Ĩ","І":"І","Ï":"Ï","Ï":"Ï","Ĵ":"Ĵ","Й":"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥","Ј":"Ј","Є":"Є","Х":"Х","Ќ":"Ќ","Κ":"Κ","Ķ":"Ķ","К":"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦","Љ":"Љ","<":"<","<":"<","Ĺ":"Ĺ","Λ":"Λ","⟪":"⟪","ℒ":"ℒ","↞":"↞","Ľ":"Ľ","Ļ":"Ļ","Л":"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⇐":"⇐","⇔":"⇔","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚","Ŀ":"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","⟸":"⟸","⟺":"⟺","⟹":"⟹","𝕃":"𝕃","↙":"↙","↘":"↘","ℒ":"ℒ","↰":"↰","Ł":"Ł","≪":"≪","⤅":"⤅","М":"М"," ":" ","ℳ":"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄","ℳ":"ℳ","Μ":"Μ","Њ":"Њ","Ń":"Ń","Ň":"Ň","Ņ":"Ņ","Н":"Н","​":"","​":"","​":"","​":"","≫":"≫","≪":"≪","
":`
|
|
54
54
|
`,"𝔑":"𝔑","⁠":""," ":" ","ℕ":"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩","Ñ":"Ñ","Ñ":"Ñ","Ν":"Ν","Œ":"Œ","Ó":"Ó","Ó":"Ó","Ô":"Ô","Ô":"Ô","О":"О","Ő":"Ő","𝔒":"𝔒","Ò":"Ò","Ò":"Ò","Ō":"Ō","Ω":"Ω","Ο":"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪","Ø":"Ø","Ø":"Ø","Õ":"Õ","Õ":"Õ","⨷":"⨷","Ö":"Ö","Ö":"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂","П":"П","𝔓":"𝔓","Φ":"Φ","Π":"Π","±":"±","ℌ":"ℌ","ℙ":"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∷":"∷","∝":"∝","𝒫":"𝒫","Ψ":"Ψ",""":'"',""":'"',"𝔔":"𝔔","ℚ":"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®","®":"®","Ŕ":"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖","Ř":"Ř","Ŗ":"Ŗ","Р":"Р","ℜ":"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯","ℜ":"ℜ","Ρ":"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓","⇒":"⇒","ℝ":"ℝ","⥰":"⥰","⇛":"⇛","ℛ":"ℛ","↱":"↱","⧴":"⧴","Щ":"Щ","Ш":"Ш","Ь":"Ь","Ś":"Ś","⪼":"⪼","Š":"Š","Ş":"Ş","Ŝ":"Ŝ","С":"С","𝔖":"𝔖","↓":"↓","←":"←","→":"→","↑":"↑","Σ":"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∋":"∋","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇","⋑":"⋑","Þ":"Þ","Þ":"Þ","™":"™","Ћ":"Ћ","Ц":"Ц","	":" ","Τ":"Τ","Ť":"Ť","Ţ":"Ţ","Т":"Т","𝔗":"𝔗","∴":"∴","Θ":"Θ","  ":" "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯","Ŧ":"Ŧ","Ú":"Ú","Ú":"Ú","↟":"↟","⥉":"⥉","Ў":"Ў","Ŭ":"Ŭ","Û":"Û","Û":"Û","У":"У","Ű":"Ű","𝔘":"𝔘","Ù":"Ù","Ù":"Ù","Ū":"Ū","_":"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎","Ų":"Ų","𝕌":"𝕌","↑":"↑","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","⇑":"⇑","⇕":"⇕","↖":"↖","↗":"↗","ϒ":"ϒ","Υ":"Υ","Ů":"Ů","𝒰":"𝒰","Ũ":"Ũ","Ü":"Ü","Ü":"Ü","⊫":"⊫","⫫":"⫫","В":"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪","Ŵ":"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛","Ξ":"Ξ","𝕏":"𝕏","𝒳":"𝒳","Я":"Я","Ї":"Ї","Ю":"Ю","Ý":"Ý","Ý":"Ý","Ŷ":"Ŷ","Ы":"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴","Ÿ":"Ÿ","Ж":"Ж","Ź":"Ź","Ž":"Ž","З":"З","Ż":"Ż","​":"","Ζ":"Ζ","ℨ":"ℨ","ℤ":"ℤ","𝒵":"𝒵","á":"á","á":"á","ă":"ă","∾":"∾","∾̳":"∾̳","∿":"∿","â":"â","â":"â","´":"´","´":"´","а":"а","æ":"æ","æ":"æ","⁡":"","𝔞":"𝔞","à":"à","à":"à","ℵ":"ℵ","ℵ":"ℵ","α":"α","ā":"ā","⨿":"⨿","&":"&","&":"&","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∠":"∠","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","Å":"Å","⍼":"⍼","ą":"ą","𝕒":"𝕒","≈":"≈","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'","≈":"≈","≊":"≊","å":"å","å":"å","𝒶":"𝒶","*":"*","≈":"≈","≍":"≍","ã":"ã","ã":"ã","ä":"ä","ä":"ä","∳":"∳","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⌅":"⌅","⎵":"⎵","⎶":"⎶","≌":"≌","б":"б","„":"„","∵":"∵","∵":"∵","⦰":"⦰","϶":"϶","ℬ":"ℬ","β":"β","ℶ":"ℶ","≬":"≬","𝔟":"𝔟","⋂":"⋂","◯":"◯","⋃":"⋃","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⋁":"⋁","⋀":"⋀","⤍":"⤍","⧫":"⧫","▪":"▪","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⊥":"⊥","⊥":"⊥","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","─":"─","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","‵":"‵","˘":"˘","¦":"¦","¦":"¦","𝒷":"𝒷","⁏":"⁏","∽":"∽","⋍":"⋍","\":"\\","⧅":"⧅","⟈":"⟈","•":"•","•":"•","≎":"≎","⪮":"⪮","≏":"≏","≏":"≏","ć":"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","ˇ":"ˇ","⩍":"⩍","č":"č","ç":"ç","ç":"ç","ĉ":"ĉ","⩌":"⩌","⩐":"⩐","ċ":"ċ","¸":"¸","¸":"¸","⦲":"⦲","¢":"¢","¢":"¢","·":"·","𝔠":"𝔠","ч":"ч","✓":"✓","✓":"✓","χ":"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","®":"®","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","≗":"≗","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣","♣":"♣",":":":","≔":"≔","≔":"≔",",":",","@":"@","∁":"∁","∘":"∘","∁":"∁","ℂ":"ℂ","≅":"≅","⩭":"⩭","∮":"∮","𝕔":"𝕔","∐":"∐","©":"©","©":"©","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋞":"⋞","⋟":"⋟","⋎":"⋎","⋏":"⋏","¤":"¤","¤":"¤","↶":"↶","↷":"↷","⋎":"⋎","⋏":"⋏","∲":"∲","∱":"∱","⌭":"⌭","⇓":"⇓","⥥":"⥥","†":"†","ℸ":"ℸ","↓":"↓","‐":"‐","⊣":"⊣","⤏":"⤏","˝":"˝","ď":"ď","д":"д","ⅆ":"ⅆ","‡":"‡","⇊":"⇊","⩷":"⩷","°":"°","°":"°","δ":"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","⇃":"⇃","⇂":"⇂","⋄":"⋄","⋄":"⋄","♦":"♦","♦":"♦","¨":"¨","ϝ":"ϝ","⋲":"⋲","÷":"÷","÷":"÷","÷":"÷","⋇":"⋇","⋇":"⋇","ђ":"ђ","⌞":"⌞","⌍":"⌍","$":"$","𝕕":"𝕕","˙":"˙","≐":"≐","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌆":"⌆","↓":"↓","⇊":"⇊","⇃":"⇃","⇂":"⇂","⤐":"⤐","⌟":"⌟","⌌":"⌌","𝒹":"𝒹","ѕ":"ѕ","⧶":"⧶","đ":"đ","⋱":"⋱","▿":"▿","▾":"▾","⇵":"⇵","⥯":"⥯","⦦":"⦦","џ":"џ","⟿":"⟿","⩷":"⩷","≑":"≑","é":"é","é":"é","⩮":"⩮","ě":"ě","≖":"≖","ê":"ê","ê":"ê","≕":"≕","э":"э","ė":"ė","ⅇ":"ⅇ","≒":"≒","𝔢":"𝔢","⪚":"⪚","è":"è","è":"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧","ℓ":"ℓ","⪕":"⪕","⪗":"⪗","ē":"ē","∅":"∅","∅":"∅","∅":"∅"," ":" "," ":" "," ":" ","ŋ":"ŋ"," ":" ","ę":"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱","ε":"ε","ε":"ε","ϵ":"ϵ","≖":"≖","≕":"≕","≂":"≂","⪖":"⪖","⪕":"⪕","=":"=","≟":"≟","≡":"≡","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱","ℯ":"ℯ","≐":"≐","≂":"≂","η":"η","ð":"ð","ð":"ð","ë":"ë","ë":"ë","€":"€","!":"!","∃":"∃","ℰ":"ℰ","ⅇ":"ⅇ","≒":"≒","ф":"ф","♀":"♀","ffi":"ffi","ff":"ff","ffl":"ffl","𝔣":"𝔣","fi":"fi","fj":"fj","♭":"♭","fl":"fl","▱":"▱","ƒ":"ƒ","𝕗":"𝕗","∀":"∀","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","½":"½","⅓":"⅓","¼":"¼","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","≧":"≧","⪌":"⪌","ǵ":"ǵ","γ":"γ","ϝ":"ϝ","⪆":"⪆","ğ":"ğ","ĝ":"ĝ","г":"г","ġ":"ġ","≥":"≥","⋛":"⋛","≥":"≥","≧":"≧","⩾":"⩾","⩾":"⩾","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤","≫":"≫","⋙":"⋙","ℷ":"ℷ","ѓ":"ѓ","≷":"≷","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪊":"⪊","⪈":"⪈","⪈":"⪈","≩":"≩","⋧":"⋧","𝕘":"𝕘","`":"`","ℊ":"ℊ","≳":"≳","⪎":"⪎","⪐":"⪐",">":">",">":">","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⪆":"⪆","⥸":"⥸","⋗":"⋗","⋛":"⋛","⪌":"⪌","≷":"≷","≳":"≳","≩︀":"≩︀","≩︀":"≩︀","⇔":"⇔"," ":" ","½":"½","ℋ":"ℋ","ъ":"ъ","↔":"↔","⥈":"⥈","↭":"↭","ℏ":"ℏ","ĥ":"ĥ","♥":"♥","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽","ℏ":"ℏ","ħ":"ħ","⁃":"⁃","‐":"‐","í":"í","í":"í","⁣":"","î":"î","î":"î","и":"и","е":"е","¡":"¡","¡":"¡","⇔":"⇔","𝔦":"𝔦","ì":"ì","ì":"ì","ⅈ":"ⅈ","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩","ij":"ij","ī":"ī","ℑ":"ℑ","ℐ":"ℐ","ℑ":"ℑ","ı":"ı","⊷":"⊷","Ƶ":"Ƶ","∈":"∈","℅":"℅","∞":"∞","⧝":"⧝","ı":"ı","∫":"∫","⊺":"⊺","ℤ":"ℤ","⊺":"⊺","⨗":"⨗","⨼":"⨼","ё":"ё","į":"į","𝕚":"𝕚","ι":"ι","⨼":"⨼","¿":"¿","¿":"¿","𝒾":"𝒾","∈":"∈","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳","∈":"∈","⁢":"","ĩ":"ĩ","і":"і","ï":"ï","ï":"ï","ĵ":"ĵ","й":"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿","ј":"ј","є":"є","κ":"κ","ϰ":"ϰ","ķ":"ķ","к":"к","𝔨":"𝔨","ĸ":"ĸ","х":"х","ќ":"ќ","𝕜":"𝕜","𝓀":"𝓀","⇚":"⇚","⇐":"⇐","⤛":"⤛","⤎":"⤎","≦":"≦","⪋":"⪋","⥢":"⥢","ĺ":"ĺ","⦴":"⦴","ℒ":"ℒ","λ":"λ","⟨":"⟨","⦑":"⦑","⟨":"⟨","⪅":"⪅","«":"«","«":"«","←":"←","⇤":"⇤","⤟":"⤟","⤝":"⤝","↩":"↩","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍","ľ":"ľ","ļ":"ļ","⌈":"⌈","{":"{","л":"л","⤶":"⤶","“":"“","„":"„","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","←":"←","↢":"↢","↽":"↽","↼":"↼","⇇":"⇇","↔":"↔","⇆":"⇆","⇋":"⇋","↭":"↭","⋋":"⋋","⋚":"⋚","≤":"≤","≦":"≦","⩽":"⩽","⩽":"⩽","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⪅":"⪅","⋖":"⋖","⋚":"⋚","⪋":"⪋","≶":"≶","≲":"≲","⥼":"⥼","⌊":"⌊","𝔩":"𝔩","≶":"≶","⪑":"⪑","↽":"↽","↼":"↼","⥪":"⥪","▄":"▄","љ":"љ","≪":"≪","⇇":"⇇","⌞":"⌞","⥫":"⥫","◺":"◺","ŀ":"ŀ","⎰":"⎰","⎰":"⎰","≨":"≨","⪉":"⪉","⪉":"⪉","⪇":"⪇","⪇":"⪇","≨":"≨","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟦":"⟦","⟵":"⟵","⟷":"⟷","⟼":"⟼","⟶":"⟶","↫":"↫","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","_":"_","◊":"◊","◊":"◊","⧫":"⧫","(":"(","⦓":"⦓","⇆":"⇆","⌟":"⌟","⇋":"⇋","⥭":"⥭","‎":"","⊿":"⊿","‹":"‹","𝓁":"𝓁","↰":"↰","≲":"≲","⪍":"⪍","⪏":"⪏","[":"[","‘":"‘","‚":"‚","ł":"ł","<":"<","<":"<","⪦":"⪦","⩹":"⩹","⋖":"⋖","⋋":"⋋","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⊴":"⊴","◂":"◂","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","≨︀":"≨︀","∺":"∺","¯":"¯","¯":"¯","♂":"♂","✠":"✠","✠":"✠","↦":"↦","↦":"↦","↧":"↧","↤":"↤","↥":"↥","▮":"▮","⨩":"⨩","м":"м","—":"—","∡":"∡","𝔪":"𝔪","℧":"℧","µ":"µ","µ":"µ","∣":"∣","*":"*","⫰":"⫰","·":"·","·":"·","−":"−","⊟":"⊟","∸":"∸","⨪":"⨪","⫛":"⫛","…":"…","∓":"∓","⊧":"⊧","𝕞":"𝕞","∓":"∓","𝓂":"𝓂","∾":"∾","μ":"μ","⊸":"⊸","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","≫̸":"≫̸","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","≪̸":"≪̸","⇏":"⇏","⊯":"⊯","⊮":"⊮","∇":"∇","ń":"ń","∠⃒":"∠⃒","≉":"≉","⩰̸":"⩰̸","≋̸":"≋̸","ʼn":"ʼn","≉":"≉","♮":"♮","♮":"♮","ℕ":"ℕ"," ":" "," ":" ","≎̸":"≎̸","≏̸":"≏̸","⩃":"⩃","ň":"ň","ņ":"ņ","≇":"≇","⩭̸":"⩭̸","⩂":"⩂","н":"н","–":"–","≠":"≠","⇗":"⇗","⤤":"⤤","↗":"↗","↗":"↗","≐̸":"≐̸","≢":"≢","⤨":"⤨","≂̸":"≂̸","∄":"∄","∄":"∄","𝔫":"𝔫","≧̸":"≧̸","≱":"≱","≱":"≱","≧̸":"≧̸","⩾̸":"⩾̸","⩾̸":"⩾̸","≵":"≵","≯":"≯","≯":"≯","⇎":"⇎","↮":"↮","⫲":"⫲","∋":"∋","⋼":"⋼","⋺":"⋺","∋":"∋","њ":"њ","⇍":"⇍","≦̸":"≦̸","↚":"↚","‥":"‥","≰":"≰","↚":"↚","↮":"↮","≰":"≰","≦̸":"≦̸","⩽̸":"⩽̸","⩽̸":"⩽̸","≮":"≮","≴":"≴","≮":"≮","⋪":"⋪","⋬":"⋬","∤":"∤","𝕟":"𝕟","¬":"¬","¬":"¬","∉":"∉","⋹̸":"⋹̸","⋵̸":"⋵̸","∉":"∉","⋷":"⋷","⋶":"⋶","∌":"∌","∌":"∌","⋾":"⋾","⋽":"⋽","∦":"∦","∦":"∦","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","⊀":"⊀","⋠":"⋠","⪯̸":"⪯̸","⊀":"⊀","⪯̸":"⪯̸","⇏":"⇏","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","↛":"↛","⋫":"⋫","⋭":"⋭","⊁":"⊁","⋡":"⋡","⪰̸":"⪰̸","𝓃":"𝓃","∤":"∤","∦":"∦","≁":"≁","≄":"≄","≄":"≄","∤":"∤","∦":"∦","⋢":"⋢","⋣":"⋣","⊄":"⊄","⫅̸":"⫅̸","⊈":"⊈","⊂⃒":"⊂⃒","⊈":"⊈","⫅̸":"⫅̸","⊁":"⊁","⪰̸":"⪰̸","⊅":"⊅","⫆̸":"⫆̸","⊉":"⊉","⊃⃒":"⊃⃒","⊉":"⊉","⫆̸":"⫆̸","≹":"≹","ñ":"ñ","ñ":"ñ","≸":"≸","⋪":"⋪","⋬":"⋬","⋫":"⋫","⋭":"⋭","ν":"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","↖":"↖","↖":"↖","⤧":"⤧","Ⓢ":"Ⓢ","ó":"ó","ó":"ó","⊛":"⊛","⊚":"⊚","ô":"ô","ô":"ô","о":"о","⊝":"⊝","ő":"ő","⨸":"⨸","⊙":"⊙","⦼":"⦼","œ":"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛","ò":"ò","ò":"ò","⧁":"⧁","⦵":"⦵","Ω":"Ω","∮":"∮","↺":"↺","⦾":"⦾","⦻":"⦻","‾":"‾","⧀":"⧀","ō":"ō","ω":"ω","ο":"ο","⦶":"⦶","⊖":"⊖","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","⊕":"⊕","∨":"∨","↻":"↻","⩝":"⩝","ℴ":"ℴ","ℴ":"ℴ","ª":"ª","ª":"ª","º":"º","º":"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛","ℴ":"ℴ","ø":"ø","ø":"ø","⊘":"⊘","õ":"õ","õ":"õ","⊗":"⊗","⨶":"⨶","ö":"ö","ö":"ö","⌽":"⌽","∥":"∥","¶":"¶","¶":"¶","∥":"∥","⫳":"⫳","⫽":"⫽","∂":"∂","п":"п","%":"%",".":".","‰":"‰","⊥":"⊥","‱":"‱","𝔭":"𝔭","φ":"φ","ϕ":"ϕ","ℳ":"ℳ","☎":"☎","π":"π","⋔":"⋔","ϖ":"ϖ","ℏ":"ℏ","ℎ":"ℎ","ℏ":"ℏ","+":"+","⨣":"⨣","⊞":"⊞","⨢":"⨢","∔":"∔","⨥":"⨥","⩲":"⩲","±":"±","±":"±","⨦":"⨦","⨧":"⨧","±":"±","⨕":"⨕","𝕡":"𝕡","£":"£","£":"£","≺":"≺","⪳":"⪳","⪷":"⪷","≼":"≼","⪯":"⪯","≺":"≺","⪷":"⪷","≼":"≼","⪯":"⪯","⪹":"⪹","⪵":"⪵","⋨":"⋨","≾":"≾","′":"′","ℙ":"ℙ","⪵":"⪵","⪹":"⪹","⋨":"⋨","∏":"∏","⌮":"⌮","⌒":"⌒","⌓":"⌓","∝":"∝","∝":"∝","≾":"≾","⊰":"⊰","𝓅":"𝓅","ψ":"ψ"," ":" ","𝔮":"𝔮","⨌":"⨌","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","ℍ":"ℍ","⨖":"⨖","?":"?","≟":"≟",""":'"',""":'"',"⇛":"⇛","⇒":"⇒","⤜":"⤜","⤏":"⤏","⥤":"⥤","∽̱":"∽̱","ŕ":"ŕ","√":"√","⦳":"⦳","⟩":"⟩","⦒":"⦒","⦥":"⦥","⟩":"⟩","»":"»","»":"»","→":"→","⥵":"⥵","⇥":"⇥","⤠":"⤠","⤳":"⤳","⤞":"⤞","↪":"↪","↬":"↬","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","ℚ":"ℚ","⤍":"⤍","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐","ř":"ř","ŗ":"ŗ","⌉":"⌉","}":"}","р":"р","⤷":"⤷","⥩":"⥩","”":"”","”":"”","↳":"↳","ℜ":"ℜ","ℛ":"ℛ","ℜ":"ℜ","ℝ":"ℝ","▭":"▭","®":"®","®":"®","⥽":"⥽","⌋":"⌋","𝔯":"𝔯","⇁":"⇁","⇀":"⇀","⥬":"⥬","ρ":"ρ","ϱ":"ϱ","→":"→","↣":"↣","⇁":"⇁","⇀":"⇀","⇄":"⇄","⇌":"⇌","⇉":"⇉","↝":"↝","⋌":"⋌","˚":"˚","≓":"≓","⇄":"⇄","⇌":"⇌","‏":"","⎱":"⎱","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⟧":"⟧","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","⇉":"⇉","›":"›","𝓇":"𝓇","↱":"↱","]":"]","’":"’","’":"’","⋌":"⋌","⋊":"⋊","▹":"▹","⊵":"⊵","▸":"▸","⧎":"⧎","⥨":"⥨","℞":"℞","ś":"ś","‚":"‚","≻":"≻","⪴":"⪴","⪸":"⪸","š":"š","≽":"≽","⪰":"⪰","ş":"ş","ŝ":"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓","≿":"≿","с":"с","⋅":"⋅","⊡":"⊡","⩦":"⩦","⇘":"⇘","⤥":"⤥","↘":"↘","↘":"↘","§":"§","§":"§",";":";","⤩":"⤩","∖":"∖","∖":"∖","✶":"✶","𝔰":"𝔰","⌢":"⌢","♯":"♯","щ":"щ","ш":"ш","∣":"∣","∥":"∥","­":"","­":"","σ":"σ","ς":"ς","ς":"ς","∼":"∼","⩪":"⩪","≃":"≃","≃":"≃","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","←":"←","∖":"∖","⨳":"⨳","⧤":"⧤","∣":"∣","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀","ь":"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","♠":"♠","∥":"∥","⊓":"⊓","⊓︀":"⊓︀","⊔":"⊔","⊔︀":"⊔︀","⊏":"⊏","⊑":"⊑","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊐":"⊐","⊒":"⊒","□":"□","□":"□","▪":"▪","▪":"▪","→":"→","𝓈":"𝓈","∖":"∖","⌣":"⌣","⋆":"⋆","☆":"☆","★":"★","ϵ":"ϵ","ϕ":"ϕ","¯":"¯","⊂":"⊂","⫅":"⫅","⪽":"⪽","⊆":"⊆","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⊂":"⊂","⊆":"⊆","⫅":"⫅","⊊":"⊊","⫋":"⫋","⫇":"⫇","⫕":"⫕","⫓":"⫓","≻":"≻","⪸":"⪸","≽":"≽","⪰":"⪰","⪺":"⪺","⪶":"⪶","⋩":"⋩","≿":"≿","∑":"∑","♪":"♪","¹":"¹","¹":"¹","²":"²","²":"²","³":"³","³":"³","⊃":"⊃","⫆":"⫆","⪾":"⪾","⫘":"⫘","⊇":"⊇","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⊃":"⊃","⊇":"⊇","⫆":"⫆","⊋":"⊋","⫌":"⫌","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤦":"⤦","↙":"↙","↙":"↙","⤪":"⤪","ß":"ß","ß":"ß","⌖":"⌖","τ":"τ","⎴":"⎴","ť":"ť","ţ":"ţ","т":"т","⃛":"⃛","⌕":"⌕","𝔱":"𝔱","∴":"∴","∴":"∴","θ":"θ","ϑ":"ϑ","ϑ":"ϑ","≈":"≈","∼":"∼"," ":" ","≈":"≈","∼":"∼","þ":"þ","þ":"þ","˜":"˜","×":"×","×":"×","⊠":"⊠","⨱":"⨱","⨰":"⨰","∭":"∭","⤨":"⤨","⊤":"⊤","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","⤩":"⤩","‴":"‴","™":"™","▵":"▵","▿":"▿","◃":"◃","⊴":"⊴","≜":"≜","▹":"▹","⊵":"⊵","◬":"◬","≜":"≜","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉","ц":"ц","ћ":"ћ","ŧ":"ŧ","≬":"≬","↞":"↞","↠":"↠","⇑":"⇑","⥣":"⥣","ú":"ú","ú":"ú","↑":"↑","ў":"ў","ŭ":"ŭ","û":"û","û":"û","у":"у","⇅":"⇅","ű":"ű","⥮":"⥮","⥾":"⥾","𝔲":"𝔲","ù":"ù","ù":"ù","↿":"↿","↾":"↾","▀":"▀","⌜":"⌜","⌜":"⌜","⌏":"⌏","◸":"◸","ū":"ū","¨":"¨","¨":"¨","ų":"ų","𝕦":"𝕦","↑":"↑","↕":"↕","↿":"↿","↾":"↾","⊎":"⊎","υ":"υ","ϒ":"ϒ","υ":"υ","⇈":"⇈","⌝":"⌝","⌝":"⌝","⌎":"⌎","ů":"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰","ũ":"ũ","▵":"▵","▴":"▴","⇈":"⇈","ü":"ü","ü":"ü","⦧":"⦧","⇕":"⇕","⫨":"⫨","⫩":"⫩","⊨":"⊨","⦜":"⦜","ϵ":"ϵ","ϰ":"ϰ","∅":"∅","ϕ":"ϕ","ϖ":"ϖ","∝":"∝","↕":"↕","ϱ":"ϱ","ς":"ς","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀","ϑ":"ϑ","⊲":"⊲","⊳":"⊳","в":"в","⊢":"⊢","∨":"∨","⊻":"⊻","≚":"≚","⋮":"⋮","|":"|","|":"|","𝔳":"𝔳","⊲":"⊲","⊂⃒":"⊂⃒","⊃⃒":"⊃⃒","𝕧":"𝕧","∝":"∝","⊳":"⊳","𝓋":"𝓋","⫋︀":"⫋︀","⊊︀":"⊊︀","⫌︀":"⫌︀","⊋︀":"⊋︀","⦚":"⦚","ŵ":"ŵ","⩟":"⩟","∧":"∧","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","℘":"℘","≀":"≀","≀":"≀","𝓌":"𝓌","⋂":"⋂","◯":"◯","⋃":"⋃","▽":"▽","𝔵":"𝔵","⟺":"⟺","⟷":"⟷","ξ":"ξ","⟸":"⟸","⟵":"⟵","⟼":"⟼","⋻":"⋻","⨀":"⨀","𝕩":"𝕩","⨁":"⨁","⨂":"⨂","⟹":"⟹","⟶":"⟶","𝓍":"𝓍","⨆":"⨆","⨄":"⨄","△":"△","⋁":"⋁","⋀":"⋀","ý":"ý","ý":"ý","я":"я","ŷ":"ŷ","ы":"ы","¥":"¥","¥":"¥","𝔶":"𝔶","ї":"ї","𝕪":"𝕪","𝓎":"𝓎","ю":"ю","ÿ":"ÿ","ÿ":"ÿ","ź":"ź","ž":"ž","з":"з","ż":"ż","ℨ":"ℨ","ζ":"ζ","𝔷":"𝔷","ж":"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","‍":"","‌":""},characters:{Æ:"Æ","&":"&",Á:"Á",Ă:"Ă",Â:"Â",А:"А","𝔄":"𝔄",À:"À",Α:"Α",Ā:"Ā","⩓":"⩓",Ą:"Ą","𝔸":"𝔸","":"⁡",Å:"Å","𝒜":"𝒜","≔":"≔",Ã:"Ã",Ä:"Ä","∖":"∖","⫧":"⫧","⌆":"⌆",Б:"Б","∵":"∵",ℬ:"ℬ",Β:"Β","𝔅":"𝔅","𝔹":"𝔹","˘":"˘","≎":"≎",Ч:"Ч","©":"©",Ć:"Ć","⋒":"⋒","ⅅ":"ⅅ",ℭ:"ℭ",Č:"Č",Ç:"Ç",Ĉ:"Ĉ","∰":"∰",Ċ:"Ċ","¸":"¸","·":"·",Χ:"Χ","⊙":"⊙","⊖":"⊖","⊕":"⊕","⊗":"⊗","∲":"∲","”":"”","’":"’","∷":"∷","⩴":"⩴","≡":"≡","∯":"∯","∮":"∮",ℂ:"ℂ","∐":"∐","∳":"∳","⨯":"⨯","𝒞":"𝒞","⋓":"⋓","≍":"≍","⤑":"⤑",Ђ:"Ђ",Ѕ:"Ѕ",Џ:"Џ","‡":"‡","↡":"↡","⫤":"⫤",Ď:"Ď",Д:"Д","∇":"∇",Δ:"Δ","𝔇":"𝔇","´":"´","˙":"˙","˝":"˝","`":"`","˜":"˜","⋄":"⋄","ⅆ":"ⅆ","𝔻":"𝔻","¨":"¨","⃜":"⃜","≐":"≐","⇓":"⇓","⇐":"⇐","⇔":"⇔","⟸":"⟸","⟺":"⟺","⟹":"⟹","⇒":"⇒","⊨":"⊨","⇑":"⇑","⇕":"⇕","∥":"∥","↓":"↓","⤓":"⤓","⇵":"⇵","̑":"̑","⥐":"⥐","⥞":"⥞","↽":"↽","⥖":"⥖","⥟":"⥟","⇁":"⇁","⥗":"⥗","⊤":"⊤","↧":"↧","𝒟":"𝒟",Đ:"Đ",Ŋ:"Ŋ",Ð:"Ð",É:"É",Ě:"Ě",Ê:"Ê",Э:"Э",Ė:"Ė","𝔈":"𝔈",È:"È","∈":"∈",Ē:"Ē","◻":"◻","▫":"▫",Ę:"Ę","𝔼":"𝔼",Ε:"Ε","⩵":"⩵","≂":"≂","⇌":"⇌",ℰ:"ℰ","⩳":"⩳",Η:"Η",Ë:"Ë","∃":"∃","ⅇ":"ⅇ",Ф:"Ф","𝔉":"𝔉","◼":"◼","▪":"▪","𝔽":"𝔽","∀":"∀",ℱ:"ℱ",Ѓ:"Ѓ",">":">",Γ:"Γ",Ϝ:"Ϝ",Ğ:"Ğ",Ģ:"Ģ",Ĝ:"Ĝ",Г:"Г",Ġ:"Ġ","𝔊":"𝔊","⋙":"⋙","𝔾":"𝔾","≥":"≥","⋛":"⋛","≧":"≧","⪢":"⪢","≷":"≷","⩾":"⩾","≳":"≳","𝒢":"𝒢","≫":"≫",Ъ:"Ъ","ˇ":"ˇ","^":"^",Ĥ:"Ĥ",ℌ:"ℌ",ℋ:"ℋ",ℍ:"ℍ","─":"─",Ħ:"Ħ","≏":"≏",Е:"Е",IJ:"IJ",Ё:"Ё",Í:"Í",Î:"Î",И:"И",İ:"İ",ℑ:"ℑ",Ì:"Ì",Ī:"Ī","ⅈ":"ⅈ","∬":"∬","∫":"∫","⋂":"⋂","":"⁣","":"⁢",Į:"Į","𝕀":"𝕀",Ι:"Ι",ℐ:"ℐ",Ĩ:"Ĩ",І:"І",Ï:"Ï",Ĵ:"Ĵ",Й:"Й","𝔍":"𝔍","𝕁":"𝕁","𝒥":"𝒥",Ј:"Ј",Є:"Є",Х:"Х",Ќ:"Ќ",Κ:"Κ",Ķ:"Ķ",К:"К","𝔎":"𝔎","𝕂":"𝕂","𝒦":"𝒦",Љ:"Љ","<":"<",Ĺ:"Ĺ",Λ:"Λ","⟪":"⟪",ℒ:"ℒ","↞":"↞",Ľ:"Ľ",Ļ:"Ļ",Л:"Л","⟨":"⟨","←":"←","⇤":"⇤","⇆":"⇆","⌈":"⌈","⟦":"⟦","⥡":"⥡","⇃":"⇃","⥙":"⥙","⌊":"⌊","↔":"↔","⥎":"⥎","⊣":"⊣","↤":"↤","⥚":"⥚","⊲":"⊲","⧏":"⧏","⊴":"⊴","⥑":"⥑","⥠":"⥠","↿":"↿","⥘":"⥘","↼":"↼","⥒":"⥒","⋚":"⋚","≦":"≦","≶":"≶","⪡":"⪡","⩽":"⩽","≲":"≲","𝔏":"𝔏","⋘":"⋘","⇚":"⇚",Ŀ:"Ŀ","⟵":"⟵","⟷":"⟷","⟶":"⟶","𝕃":"𝕃","↙":"↙","↘":"↘","↰":"↰",Ł:"Ł","≪":"≪","⤅":"⤅",М:"М"," ":" ",ℳ:"ℳ","𝔐":"𝔐","∓":"∓","𝕄":"𝕄",Μ:"Μ",Њ:"Њ",Ń:"Ń",Ň:"Ň",Ņ:"Ņ",Н:"Н","":"​","\n":"
","𝔑":"𝔑","":"⁠"," ":" ",ℕ:"ℕ","⫬":"⫬","≢":"≢","≭":"≭","∦":"∦","∉":"∉","≠":"≠","≂̸":"≂̸","∄":"∄","≯":"≯","≱":"≱","≧̸":"≧̸","≫̸":"≫̸","≹":"≹","⩾̸":"⩾̸","≵":"≵","≎̸":"≎̸","≏̸":"≏̸","⋪":"⋪","⧏̸":"⧏̸","⋬":"⋬","≮":"≮","≰":"≰","≸":"≸","≪̸":"≪̸","⩽̸":"⩽̸","≴":"≴","⪢̸":"⪢̸","⪡̸":"⪡̸","⊀":"⊀","⪯̸":"⪯̸","⋠":"⋠","∌":"∌","⋫":"⋫","⧐̸":"⧐̸","⋭":"⋭","⊏̸":"⊏̸","⋢":"⋢","⊐̸":"⊐̸","⋣":"⋣","⊂⃒":"⊂⃒","⊈":"⊈","⊁":"⊁","⪰̸":"⪰̸","⋡":"⋡","≿̸":"≿̸","⊃⃒":"⊃⃒","⊉":"⊉","≁":"≁","≄":"≄","≇":"≇","≉":"≉","∤":"∤","𝒩":"𝒩",Ñ:"Ñ",Ν:"Ν",Œ:"Œ",Ó:"Ó",Ô:"Ô",О:"О",Ő:"Ő","𝔒":"𝔒",Ò:"Ò",Ō:"Ō",Ω:"Ω",Ο:"Ο","𝕆":"𝕆","“":"“","‘":"‘","⩔":"⩔","𝒪":"𝒪",Ø:"Ø",Õ:"Õ","⨷":"⨷",Ö:"Ö","‾":"‾","⏞":"⏞","⎴":"⎴","⏜":"⏜","∂":"∂",П:"П","𝔓":"𝔓",Φ:"Φ",Π:"Π","±":"±",ℙ:"ℙ","⪻":"⪻","≺":"≺","⪯":"⪯","≼":"≼","≾":"≾","″":"″","∏":"∏","∝":"∝","𝒫":"𝒫",Ψ:"Ψ",'"':""","𝔔":"𝔔",ℚ:"ℚ","𝒬":"𝒬","⤐":"⤐","®":"®",Ŕ:"Ŕ","⟫":"⟫","↠":"↠","⤖":"⤖",Ř:"Ř",Ŗ:"Ŗ",Р:"Р",ℜ:"ℜ","∋":"∋","⇋":"⇋","⥯":"⥯",Ρ:"Ρ","⟩":"⟩","→":"→","⇥":"⇥","⇄":"⇄","⌉":"⌉","⟧":"⟧","⥝":"⥝","⇂":"⇂","⥕":"⥕","⌋":"⌋","⊢":"⊢","↦":"↦","⥛":"⥛","⊳":"⊳","⧐":"⧐","⊵":"⊵","⥏":"⥏","⥜":"⥜","↾":"↾","⥔":"⥔","⇀":"⇀","⥓":"⥓",ℝ:"ℝ","⥰":"⥰","⇛":"⇛",ℛ:"ℛ","↱":"↱","⧴":"⧴",Щ:"Щ",Ш:"Ш",Ь:"Ь",Ś:"Ś","⪼":"⪼",Š:"Š",Ş:"Ş",Ŝ:"Ŝ",С:"С","𝔖":"𝔖","↑":"↑",Σ:"Σ","∘":"∘","𝕊":"𝕊","√":"√","□":"□","⊓":"⊓","⊏":"⊏","⊑":"⊑","⊐":"⊐","⊒":"⊒","⊔":"⊔","𝒮":"𝒮","⋆":"⋆","⋐":"⋐","⊆":"⊆","≻":"≻","⪰":"⪰","≽":"≽","≿":"≿","∑":"∑","⋑":"⋑","⊃":"⊃","⊇":"⊇",Þ:"Þ","™":"™",Ћ:"Ћ",Ц:"Ц"," ":"	",Τ:"Τ",Ť:"Ť",Ţ:"Ţ",Т:"Т","𝔗":"𝔗","∴":"∴",Θ:"Θ"," ":"  "," ":" ","∼":"∼","≃":"≃","≅":"≅","≈":"≈","𝕋":"𝕋","⃛":"⃛","𝒯":"𝒯",Ŧ:"Ŧ",Ú:"Ú","↟":"↟","⥉":"⥉",Ў:"Ў",Ŭ:"Ŭ",Û:"Û",У:"У",Ű:"Ű","𝔘":"𝔘",Ù:"Ù",Ū:"Ū",_:"_","⏟":"⏟","⎵":"⎵","⏝":"⏝","⋃":"⋃","⊎":"⊎",Ų:"Ų","𝕌":"𝕌","⤒":"⤒","⇅":"⇅","↕":"↕","⥮":"⥮","⊥":"⊥","↥":"↥","↖":"↖","↗":"↗",ϒ:"ϒ",Υ:"Υ",Ů:"Ů","𝒰":"𝒰",Ũ:"Ũ",Ü:"Ü","⊫":"⊫","⫫":"⫫",В:"В","⊩":"⊩","⫦":"⫦","⋁":"⋁","‖":"‖","∣":"∣","|":"|","❘":"❘","≀":"≀"," ":" ","𝔙":"𝔙","𝕍":"𝕍","𝒱":"𝒱","⊪":"⊪",Ŵ:"Ŵ","⋀":"⋀","𝔚":"𝔚","𝕎":"𝕎","𝒲":"𝒲","𝔛":"𝔛",Ξ:"Ξ","𝕏":"𝕏","𝒳":"𝒳",Я:"Я",Ї:"Ї",Ю:"Ю",Ý:"Ý",Ŷ:"Ŷ",Ы:"Ы","𝔜":"𝔜","𝕐":"𝕐","𝒴":"𝒴",Ÿ:"Ÿ",Ж:"Ж",Ź:"Ź",Ž:"Ž",З:"З",Ż:"Ż",Ζ:"Ζ",ℨ:"ℨ",ℤ:"ℤ","𝒵":"𝒵",á:"á",ă:"ă","∾":"∾","∾̳":"∾̳","∿":"∿",â:"â",а:"а",æ:"æ","𝔞":"𝔞",à:"à",ℵ:"ℵ",α:"α",ā:"ā","⨿":"⨿","∧":"∧","⩕":"⩕","⩜":"⩜","⩘":"⩘","⩚":"⩚","∠":"∠","⦤":"⦤","∡":"∡","⦨":"⦨","⦩":"⦩","⦪":"⦪","⦫":"⦫","⦬":"⦬","⦭":"⦭","⦮":"⦮","⦯":"⦯","∟":"∟","⊾":"⊾","⦝":"⦝","∢":"∢","⍼":"⍼",ą:"ą","𝕒":"𝕒","⩰":"⩰","⩯":"⩯","≊":"≊","≋":"≋","'":"'",å:"å","𝒶":"𝒶","*":"*",ã:"ã",ä:"ä","⨑":"⨑","⫭":"⫭","≌":"≌","϶":"϶","‵":"‵","∽":"∽","⋍":"⋍","⊽":"⊽","⌅":"⌅","⎶":"⎶",б:"б","„":"„","⦰":"⦰",β:"β",ℶ:"ℶ","≬":"≬","𝔟":"𝔟","◯":"◯","⨀":"⨀","⨁":"⨁","⨂":"⨂","⨆":"⨆","★":"★","▽":"▽","△":"△","⨄":"⨄","⤍":"⤍","⧫":"⧫","▴":"▴","▾":"▾","◂":"◂","▸":"▸","␣":"␣","▒":"▒","░":"░","▓":"▓","█":"█","=⃥":"=⃥","≡⃥":"≡⃥","⌐":"⌐","𝕓":"𝕓","⋈":"⋈","╗":"╗","╔":"╔","╖":"╖","╓":"╓","═":"═","╦":"╦","╩":"╩","╤":"╤","╧":"╧","╝":"╝","╚":"╚","╜":"╜","╙":"╙","║":"║","╬":"╬","╣":"╣","╠":"╠","╫":"╫","╢":"╢","╟":"╟","⧉":"⧉","╕":"╕","╒":"╒","┐":"┐","┌":"┌","╥":"╥","╨":"╨","┬":"┬","┴":"┴","⊟":"⊟","⊞":"⊞","⊠":"⊠","╛":"╛","╘":"╘","┘":"┘","└":"└","│":"│","╪":"╪","╡":"╡","╞":"╞","┼":"┼","┤":"┤","├":"├","¦":"¦","𝒷":"𝒷","⁏":"⁏","\\":"\","⧅":"⧅","⟈":"⟈","•":"•","⪮":"⪮",ć:"ć","∩":"∩","⩄":"⩄","⩉":"⩉","⩋":"⩋","⩇":"⩇","⩀":"⩀","∩︀":"∩︀","⁁":"⁁","⩍":"⩍",č:"č",ç:"ç",ĉ:"ĉ","⩌":"⩌","⩐":"⩐",ċ:"ċ","⦲":"⦲","¢":"¢","𝔠":"𝔠",ч:"ч","✓":"✓",χ:"χ","○":"○","⧃":"⧃","ˆ":"ˆ","≗":"≗","↺":"↺","↻":"↻","Ⓢ":"Ⓢ","⊛":"⊛","⊚":"⊚","⊝":"⊝","⨐":"⨐","⫯":"⫯","⧂":"⧂","♣":"♣",":":":",",":",","@":"@","∁":"∁","⩭":"⩭","𝕔":"𝕔","℗":"℗","↵":"↵","✗":"✗","𝒸":"𝒸","⫏":"⫏","⫑":"⫑","⫐":"⫐","⫒":"⫒","⋯":"⋯","⤸":"⤸","⤵":"⤵","⋞":"⋞","⋟":"⋟","↶":"↶","⤽":"⤽","∪":"∪","⩈":"⩈","⩆":"⩆","⩊":"⩊","⊍":"⊍","⩅":"⩅","∪︀":"∪︀","↷":"↷","⤼":"⤼","⋎":"⋎","⋏":"⋏","¤":"¤","∱":"∱","⌭":"⌭","⥥":"⥥","†":"†",ℸ:"ℸ","‐":"‐","⤏":"⤏",ď:"ď",д:"д","⇊":"⇊","⩷":"⩷","°":"°",δ:"δ","⦱":"⦱","⥿":"⥿","𝔡":"𝔡","♦":"♦",ϝ:"ϝ","⋲":"⋲","÷":"÷","⋇":"⋇",ђ:"ђ","⌞":"⌞","⌍":"⌍",$:"$","𝕕":"𝕕","≑":"≑","∸":"∸","∔":"∔","⊡":"⊡","⌟":"⌟","⌌":"⌌","𝒹":"𝒹",ѕ:"ѕ","⧶":"⧶",đ:"đ","⋱":"⋱","▿":"▿","⦦":"⦦",џ:"џ","⟿":"⟿",é:"é","⩮":"⩮",ě:"ě","≖":"≖",ê:"ê","≕":"≕",э:"э",ė:"ė","≒":"≒","𝔢":"𝔢","⪚":"⪚",è:"è","⪖":"⪖","⪘":"⪘","⪙":"⪙","⏧":"⏧",ℓ:"ℓ","⪕":"⪕","⪗":"⪗",ē:"ē","∅":"∅"," ":" "," ":" "," ":" ",ŋ:"ŋ"," ":" ",ę:"ę","𝕖":"𝕖","⋕":"⋕","⧣":"⧣","⩱":"⩱",ε:"ε","ϵ":"ϵ","=":"=","≟":"≟","⩸":"⩸","⧥":"⧥","≓":"≓","⥱":"⥱",ℯ:"ℯ",η:"η",ð:"ð",ë:"ë","€":"€","!":"!",ф:"ф","♀":"♀",ffi:"ffi",ff:"ff",ffl:"ffl","𝔣":"𝔣",fi:"fi",fj:"fj","♭":"♭",fl:"fl","▱":"▱",ƒ:"ƒ","𝕗":"𝕗","⋔":"⋔","⫙":"⫙","⨍":"⨍","½":"½","⅓":"⅓","¼":"¼","⅕":"⅕","⅙":"⅙","⅛":"⅛","⅔":"⅔","⅖":"⅖","¾":"¾","⅗":"⅗","⅜":"⅜","⅘":"⅘","⅚":"⅚","⅝":"⅝","⅞":"⅞","⁄":"⁄","⌢":"⌢","𝒻":"𝒻","⪌":"⪌",ǵ:"ǵ",γ:"γ","⪆":"⪆",ğ:"ğ",ĝ:"ĝ",г:"г",ġ:"ġ","⪩":"⪩","⪀":"⪀","⪂":"⪂","⪄":"⪄","⋛︀":"⋛︀","⪔":"⪔","𝔤":"𝔤",ℷ:"ℷ",ѓ:"ѓ","⪒":"⪒","⪥":"⪥","⪤":"⪤","≩":"≩","⪊":"⪊","⪈":"⪈","⋧":"⋧","𝕘":"𝕘",ℊ:"ℊ","⪎":"⪎","⪐":"⪐","⪧":"⪧","⩺":"⩺","⋗":"⋗","⦕":"⦕","⩼":"⩼","⥸":"⥸","≩︀":"≩︀",ъ:"ъ","⥈":"⥈","↭":"↭",ℏ:"ℏ",ĥ:"ĥ","♥":"♥","…":"…","⊹":"⊹","𝔥":"𝔥","⤥":"⤥","⤦":"⤦","⇿":"⇿","∻":"∻","↩":"↩","↪":"↪","𝕙":"𝕙","―":"―","𝒽":"𝒽",ħ:"ħ","⁃":"⁃",í:"í",î:"î",и:"и",е:"е","¡":"¡","𝔦":"𝔦",ì:"ì","⨌":"⨌","∭":"∭","⧜":"⧜","℩":"℩",ij:"ij",ī:"ī",ı:"ı","⊷":"⊷",Ƶ:"Ƶ","℅":"℅","∞":"∞","⧝":"⧝","⊺":"⊺","⨗":"⨗","⨼":"⨼",ё:"ё",į:"į","𝕚":"𝕚",ι:"ι","¿":"¿","𝒾":"𝒾","⋹":"⋹","⋵":"⋵","⋴":"⋴","⋳":"⋳",ĩ:"ĩ",і:"і",ï:"ï",ĵ:"ĵ",й:"й","𝔧":"𝔧","ȷ":"ȷ","𝕛":"𝕛","𝒿":"𝒿",ј:"ј",є:"є",κ:"κ",ϰ:"ϰ",ķ:"ķ",к:"к","𝔨":"𝔨",ĸ:"ĸ",х:"х",ќ:"ќ","𝕜":"𝕜","𝓀":"𝓀","⤛":"⤛","⤎":"⤎","⪋":"⪋","⥢":"⥢",ĺ:"ĺ","⦴":"⦴",λ:"λ","⦑":"⦑","⪅":"⪅","«":"«","⤟":"⤟","⤝":"⤝","↫":"↫","⤹":"⤹","⥳":"⥳","↢":"↢","⪫":"⪫","⤙":"⤙","⪭":"⪭","⪭︀":"⪭︀","⤌":"⤌","❲":"❲","{":"{","[":"[","⦋":"⦋","⦏":"⦏","⦍":"⦍",ľ:"ľ",ļ:"ļ",л:"л","⤶":"⤶","⥧":"⥧","⥋":"⥋","↲":"↲","≤":"≤","⇇":"⇇","⋋":"⋋","⪨":"⪨","⩿":"⩿","⪁":"⪁","⪃":"⪃","⋚︀":"⋚︀","⪓":"⪓","⋖":"⋖","⥼":"⥼","𝔩":"𝔩","⪑":"⪑","⥪":"⥪","▄":"▄",љ:"љ","⥫":"⥫","◺":"◺",ŀ:"ŀ","⎰":"⎰","≨":"≨","⪉":"⪉","⪇":"⪇","⋦":"⋦","⟬":"⟬","⇽":"⇽","⟼":"⟼","↬":"↬","⦅":"⦅","𝕝":"𝕝","⨭":"⨭","⨴":"⨴","∗":"∗","◊":"◊","(":"(","⦓":"⦓","⥭":"⥭","":"‎","⊿":"⊿","‹":"‹","𝓁":"𝓁","⪍":"⪍","⪏":"⪏","‚":"‚",ł:"ł","⪦":"⪦","⩹":"⩹","⋉":"⋉","⥶":"⥶","⩻":"⩻","⦖":"⦖","◃":"◃","⥊":"⥊","⥦":"⥦","≨︀":"≨︀","∺":"∺","¯":"¯","♂":"♂","✠":"✠","▮":"▮","⨩":"⨩",м:"м","—":"—","𝔪":"𝔪","℧":"℧",µ:"µ","⫰":"⫰","−":"−","⨪":"⨪","⫛":"⫛","⊧":"⊧","𝕞":"𝕞","𝓂":"𝓂",μ:"μ","⊸":"⊸","⋙̸":"⋙̸","≫⃒":"≫⃒","⇍":"⇍","⇎":"⇎","⋘̸":"⋘̸","≪⃒":"≪⃒","⇏":"⇏","⊯":"⊯","⊮":"⊮",ń:"ń","∠⃒":"∠⃒","⩰̸":"⩰̸","≋̸":"≋̸",ʼn:"ʼn","♮":"♮","⩃":"⩃",ň:"ň",ņ:"ņ","⩭̸":"⩭̸","⩂":"⩂",н:"н","–":"–","⇗":"⇗","⤤":"⤤","≐̸":"≐̸","⤨":"⤨","𝔫":"𝔫","↮":"↮","⫲":"⫲","⋼":"⋼","⋺":"⋺",њ:"њ","≦̸":"≦̸","↚":"↚","‥":"‥","𝕟":"𝕟","¬":"¬","⋹̸":"⋹̸","⋵̸":"⋵̸","⋷":"⋷","⋶":"⋶","⋾":"⋾","⋽":"⋽","⫽⃥":"⫽⃥","∂̸":"∂̸","⨔":"⨔","↛":"↛","⤳̸":"⤳̸","↝̸":"↝̸","𝓃":"𝓃","⊄":"⊄","⫅̸":"⫅̸","⊅":"⊅","⫆̸":"⫆̸",ñ:"ñ",ν:"ν","#":"#","№":"№"," ":" ","⊭":"⊭","⤄":"⤄","≍⃒":"≍⃒","⊬":"⊬","≥⃒":"≥⃒",">⃒":">⃒","⧞":"⧞","⤂":"⤂","≤⃒":"≤⃒","<⃒":"<⃒","⊴⃒":"⊴⃒","⤃":"⤃","⊵⃒":"⊵⃒","∼⃒":"∼⃒","⇖":"⇖","⤣":"⤣","⤧":"⤧",ó:"ó",ô:"ô",о:"о",ő:"ő","⨸":"⨸","⦼":"⦼",œ:"œ","⦿":"⦿","𝔬":"𝔬","˛":"˛",ò:"ò","⧁":"⧁","⦵":"⦵","⦾":"⦾","⦻":"⦻","⧀":"⧀",ō:"ō",ω:"ω",ο:"ο","⦶":"⦶","𝕠":"𝕠","⦷":"⦷","⦹":"⦹","∨":"∨","⩝":"⩝",ℴ:"ℴ",ª:"ª",º:"º","⊶":"⊶","⩖":"⩖","⩗":"⩗","⩛":"⩛",ø:"ø","⊘":"⊘",õ:"õ","⨶":"⨶",ö:"ö","⌽":"⌽","¶":"¶","⫳":"⫳","⫽":"⫽",п:"п","%":"%",".":".","‰":"‰","‱":"‱","𝔭":"𝔭",φ:"φ",ϕ:"ϕ","☎":"☎",π:"π",ϖ:"ϖ",ℎ:"ℎ","+":"+","⨣":"⨣","⨢":"⨢","⨥":"⨥","⩲":"⩲","⨦":"⨦","⨧":"⨧","⨕":"⨕","𝕡":"𝕡","£":"£","⪳":"⪳","⪷":"⪷","⪹":"⪹","⪵":"⪵","⋨":"⋨","′":"′","⌮":"⌮","⌒":"⌒","⌓":"⌓","⊰":"⊰","𝓅":"𝓅",ψ:"ψ"," ":" ","𝔮":"𝔮","𝕢":"𝕢","⁗":"⁗","𝓆":"𝓆","⨖":"⨖","?":"?","⤜":"⤜","⥤":"⥤","∽̱":"∽̱",ŕ:"ŕ","⦳":"⦳","⦒":"⦒","⦥":"⦥","»":"»","⥵":"⥵","⤠":"⤠","⤳":"⤳","⤞":"⤞","⥅":"⥅","⥴":"⥴","↣":"↣","↝":"↝","⤚":"⤚","∶":"∶","❳":"❳","}":"}","]":"]","⦌":"⦌","⦎":"⦎","⦐":"⦐",ř:"ř",ŗ:"ŗ",р:"р","⤷":"⤷","⥩":"⥩","↳":"↳","▭":"▭","⥽":"⥽","𝔯":"𝔯","⥬":"⥬",ρ:"ρ",ϱ:"ϱ","⇉":"⇉","⋌":"⋌","˚":"˚","":"‏","⎱":"⎱","⫮":"⫮","⟭":"⟭","⇾":"⇾","⦆":"⦆","𝕣":"𝕣","⨮":"⨮","⨵":"⨵",")":")","⦔":"⦔","⨒":"⨒","›":"›","𝓇":"𝓇","⋊":"⋊","▹":"▹","⧎":"⧎","⥨":"⥨","℞":"℞",ś:"ś","⪴":"⪴","⪸":"⪸",š:"š",ş:"ş",ŝ:"ŝ","⪶":"⪶","⪺":"⪺","⋩":"⋩","⨓":"⨓",с:"с","⋅":"⋅","⩦":"⩦","⇘":"⇘","§":"§",";":";","⤩":"⤩","✶":"✶","𝔰":"𝔰","♯":"♯",щ:"щ",ш:"ш","":"­",σ:"σ",ς:"ς","⩪":"⩪","⪞":"⪞","⪠":"⪠","⪝":"⪝","⪟":"⪟","≆":"≆","⨤":"⨤","⥲":"⥲","⨳":"⨳","⧤":"⧤","⌣":"⌣","⪪":"⪪","⪬":"⪬","⪬︀":"⪬︀",ь:"ь","/":"/","⧄":"⧄","⌿":"⌿","𝕤":"𝕤","♠":"♠","⊓︀":"⊓︀","⊔︀":"⊔︀","𝓈":"𝓈","☆":"☆","⊂":"⊂","⫅":"⫅","⪽":"⪽","⫃":"⫃","⫁":"⫁","⫋":"⫋","⊊":"⊊","⪿":"⪿","⥹":"⥹","⫇":"⫇","⫕":"⫕","⫓":"⫓","♪":"♪","¹":"¹","²":"²","³":"³","⫆":"⫆","⪾":"⪾","⫘":"⫘","⫄":"⫄","⟉":"⟉","⫗":"⫗","⥻":"⥻","⫂":"⫂","⫌":"⫌","⊋":"⊋","⫀":"⫀","⫈":"⫈","⫔":"⫔","⫖":"⫖","⇙":"⇙","⤪":"⤪",ß:"ß","⌖":"⌖",τ:"τ",ť:"ť",ţ:"ţ",т:"т","⌕":"⌕","𝔱":"𝔱",θ:"θ",ϑ:"ϑ",þ:"þ","×":"×","⨱":"⨱","⨰":"⨰","⌶":"⌶","⫱":"⫱","𝕥":"𝕥","⫚":"⫚","‴":"‴","▵":"▵","≜":"≜","◬":"◬","⨺":"⨺","⨹":"⨹","⧍":"⧍","⨻":"⨻","⏢":"⏢","𝓉":"𝓉",ц:"ц",ћ:"ћ",ŧ:"ŧ","⥣":"⥣",ú:"ú",ў:"ў",ŭ:"ŭ",û:"û",у:"у",ű:"ű","⥾":"⥾","𝔲":"𝔲",ù:"ù","▀":"▀","⌜":"⌜","⌏":"⌏","◸":"◸",ū:"ū",ų:"ų","𝕦":"𝕦",υ:"υ","⇈":"⇈","⌝":"⌝","⌎":"⌎",ů:"ů","◹":"◹","𝓊":"𝓊","⋰":"⋰",ũ:"ũ",ü:"ü","⦧":"⦧","⫨":"⫨","⫩":"⫩","⦜":"⦜","⊊︀":"⊊︀","⫋︀":"⫋︀","⊋︀":"⊋︀","⫌︀":"⫌︀",в:"в","⊻":"⊻","≚":"≚","⋮":"⋮","𝔳":"𝔳","𝕧":"𝕧","𝓋":"𝓋","⦚":"⦚",ŵ:"ŵ","⩟":"⩟","≙":"≙","℘":"℘","𝔴":"𝔴","𝕨":"𝕨","𝓌":"𝓌","𝔵":"𝔵",ξ:"ξ","⋻":"⋻","𝕩":"𝕩","𝓍":"𝓍",ý:"ý",я:"я",ŷ:"ŷ",ы:"ы","¥":"¥","𝔶":"𝔶",ї:"ї","𝕪":"𝕪","𝓎":"𝓎",ю:"ю",ÿ:"ÿ",ź:"ź",ž:"ž",з:"з",ż:"ż",ζ:"ζ","𝔷":"𝔷",ж:"ж","⇝":"⇝","𝕫":"𝕫","𝓏":"𝓏","":"‍","":"‌"}}};var wC={};Object.defineProperty(wC,"__esModule",{value:!0});wC.numericUnicodeMap={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376};var Y3={};Object.defineProperty(Y3,"__esModule",{value:!0});Y3.fromCodePoint=String.fromCodePoint||function(n){return String.fromCharCode(Math.floor((n-65536)/1024)+55296,(n-65536)%1024+56320)};Y3.getCodePoint=String.prototype.codePointAt?function(n,e){return n.codePointAt(e)}:function(n,e){return(n.charCodeAt(e)-55296)*1024+n.charCodeAt(e+1)-56320+65536};Y3.highSurrogateFrom=55296;Y3.highSurrogateTo=56319;var b3=kr&&kr.__assign||function(){return b3=Object.assign||function(n){for(var e,t=1,i=arguments.length;t<i;t++){e=arguments[t];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o])}return n},b3.apply(this,arguments)};Object.defineProperty(b8,"__esModule",{value:!0});var f4=x8,m2e=wC,qP=Y3,kC=b3(b3({},f4.namedReferences),{all:f4.namedReferences.html5});function GP(n,e,t){e.lastIndex=0;var i=e.exec(n),o;if(i){o="";var r=0;do{r!==i.index&&(o+=n.substring(r,i.index));var a=i[0];o+=t(a),r=i.index+a.length}while(i=e.exec(n));r!==n.length&&(o+=n.substring(r))}else o=n;return o}var v2e={specialChars:/[<>'"&]/g,nonAscii:/[<>'"&\u0080-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintable:/[<>'"&\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,nonAsciiPrintableOnly:/[\x01-\x08\x11-\x15\x17-\x1F\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g,extensive:/[\x01-\x0c\x0e-\x1f\x21-\x2c\x2e-\x2f\x3a-\x40\x5b-\x60\x7b-\x7d\x7f-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/g},g2e={mode:"specialChars",level:"all",numeric:"decimal"};function y2e(n,e){var t=e===void 0?g2e:e,i=t.mode,o=i===void 0?"specialChars":i,r=t.numeric,a=r===void 0?"decimal":r,s=t.level,l=s===void 0?"all":s;if(!n)return"";var d=v2e[o],f=kC[l].characters,g=a==="hexadecimal";return GP(n,d,function(v){var b=f[v];if(!b){var x=v.length>1?qP.getCodePoint(v,0):v.charCodeAt(0);b=(g?"&#x"+x.toString(16):"&#"+x)+";"}return b})}b8.encode=y2e;var _2e={scope:"body",level:"all"},f9=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,p9=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,EA={xml:{strict:f9,attribute:p9,body:f4.bodyRegExps.xml},html4:{strict:f9,attribute:p9,body:f4.bodyRegExps.html4},html5:{strict:f9,attribute:p9,body:f4.bodyRegExps.html5}},b2e=b3(b3({},EA),{all:EA.html5}),YP=String.fromCharCode,x2e=YP(65533),w2e={level:"all"};function XP(n,e,t,i){var o=n,r=n[n.length-1];if(t&&r==="=")o=n;else if(i&&r!==";")o=n;else{var a=e[n];if(a)o=a;else if(n[0]==="&"&&n[1]==="#"){var s=n[2],l=s=="x"||s=="X"?parseInt(n.substr(3),16):parseInt(n.substr(2));o=l>=1114111?x2e:l>65535?qP.fromCodePoint(l):YP(m2e.numericUnicodeMap[l]||l)}}return o}function k2e(n,e){var t=(e===void 0?w2e:e).level,i=t===void 0?"all":t;return n?XP(n,kC[i].entities,!1,!1):""}b8.decodeEntity=k2e;function C2e(n,e){var t=e===void 0?_2e:e,i=t.level,o=i===void 0?"all":i,r=t.scope,a=r===void 0?o==="xml"?"strict":"body":r;if(!n)return"";var s=b2e[o][a],l=kC[o].entities,d=a==="attribute",f=a==="strict";return GP(n,s,function(g){return XP(g,l,d,f)})}var KP=b8.decode=C2e;const S2e={class:"value"},E2e=Lt({__name:"formatted-value",props:{type:{},value:{},format:{type:Boolean},font:{default:"sans-serif"},bold:{type:Boolean},italic:{type:Boolean},prefix:{},suffix:{},color:{},background:{},icon:{},border:{type:Boolean},masked:{type:Boolean},conditionalFormatting:{default:()=>[]}},setup(n){const e=n,{t,n:i}=vn(),o=we(()=>(e.conditionalFormatting||[]).filter(({operator:f,value:g})=>{if(["string","text"].includes(e.type)){const v=String(e.value),b=String(g);return l(v,b,f)}else if(["float","decimal"].includes(e.type)){const v=parseFloat(String(e.value)),b=parseFloat(String(g));return d(v,b,f)}else{const v=parseInt(String(e.value)),b=parseInt(String(g));return d(v,b,f)}})),r=we(()=>{const{color:f,background:g,icon:v}=e;return o.value.reduce(({color:b,background:x,icon:k,text:S},O)=>({color:O.color||b,background:O.background||x,icon:O.icon||k,text:O.text||S}),{color:f,background:g,icon:v,text:""})}),a=we(()=>({color:r.value.color,borderStyle:"solid",borderWidth:e.border?"2px":0,borderColor:r.value.color,backgroundColor:r.value.background??"transparent"})),s=we(()=>{if(e.masked)return"**********";if(r.value.text){const{text:b}=r.value;return b.startsWith("$t:")?t(b.slice(3)):b}if(st.isNil(e.value)||e.value==="")return null;let f=String(e.value);f=xb.sanitize(f,{ALLOWED_TAGS:[]}),f=KP(f),e.format&&(["string","text"].includes(e.type)?f=su(f):["float","decimal"].includes(e.type)?f=i(parseFloat(f)):f=i(parseInt(f)));const g=e.prefix??"",v=e.suffix??"";return`${g}${f}${v}`});function l(f,g,v){switch(v){case"eq":return f===g;case"neq":return f!==g;case"contains":return f.includes(g);case"starts_with":return f.startsWith(g);case"ends_with":return f.endsWith(g)}}function d(f,g,v){switch(v){case"eq":return f===g;case"neq":return f!==g;case"gt":return f>g;case"gte":return f>=g;case"lt":return f<g;case"lte":return f<=g}}return(f,g)=>{const v=q("value-null"),b=q("v-icon");return s.value===null||s.value===void 0?(V(),me(v,{key:0})):(V(),De("div",{key:1,class:An(["display-formatted",[{bold:f.bold,italic:f.italic},f.font,{"has-background":r.value.background,"has-border":a.value.borderWidth!==0}]]),style:Ba(a.value)},[r.value.icon?(V(),me(b,{key:0,name:r.value.icon,color:r.value.color,left:"",small:""},null,8,["name","color"])):He("",!0),xe("span",S2e,de(s.value),1)],6))}}}),A2e=qt(E2e,[["__scopeId","data-v-a14a522b"]]),T2e=jd({id:"formatted-value",name:"$t:displays.formatted-value.formatted-value",description:"$t:displays.formatted-value.description",types:["string","text","integer","float","decimal","bigInteger"],icon:"text_format",component:A2e,handler:(n,e)=>{const t=e.prefix??"",i=e.suffix??"";let o=String(n);o=xb.sanitize(n,{ALLOWED_TAGS:[]}),o=KP(o);const r=e.format?su(o):o;return`${t}${r}${i}`},options:({field:n})=>{const e=["string","text"].includes(n.type??"unknown");return[{field:"format",name:"$t:displays.formatted-value.format",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.formatted-value.format_label"}},schema:{default_value:!1}},{field:"font",name:"$t:displays.formatted-value.font",meta:{width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:displays.formatted-value.font_sans_serif",value:"sans-serif"},{text:"$t:displays.formatted-value.font_serif",value:"serif"},{text:"$t:displays.formatted-value.font_monospace",value:"monospace"}]}},schema:{default_value:"sans-serif"}},{field:"bold",name:"$t:displays.formatted-value.bold",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.formatted-value.bold_label"}},schema:{default_value:!1}},{field:"italic",name:"$t:displays.formatted-value.italic",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.formatted-value.italic_label"}},schema:{default_value:!1}},{field:"prefix",name:"$t:displays.formatted-value.prefix",type:"string",meta:{width:"half",interface:"system-input-translated-string",options:{label:"$t:displays.formatted-value.prefix_label",trim:!1}}},{field:"suffix",name:"$t:displays.formatted-value.suffix",type:"string",meta:{width:"half",interface:"system-input-translated-string",options:{label:"$t:displays.formatted-value.suffix_label",trim:!1}}},{field:"color",name:"$t:displays.formatted-value.color",type:"string",meta:{interface:"select-color",width:"half"}},{field:"background",name:"$t:displays.formatted-value.background",type:"string",meta:{interface:"select-color",width:"half"}},{field:"icon",name:"$t:displays.formatted-value.icon",type:"string",meta:{width:"half",interface:"select-icon"}},{field:"border",name:"$t:displays.formatted-value.border",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.formatted-value.border_label"}},schema:{default_value:!1}},{field:"masked",name:"$t:displays.formatted-value.mask",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.formatted-value.mask_label"}},schema:{default_value:!1}},{field:"conditionalFormatting",type:"json",name:"$t:conditional_styles",meta:{interface:"list",width:"full",options:{template:"{{operator}} {{value}}",fields:[{field:"operator",name:"$t:operator",type:"string",schema:{default_value:"eq"},meta:{interface:"select-dropdown",options:{choices:(e?["eq","neq","contains","starts_with","ends_with"]:["eq","neq","gt","gte","lt","lte"]).map(o=>({text:`$t:operators.${o}`,value:o}))},width:"half"}},{field:"value",name:"$t:value",type:e?"string":"integer",schema:{default_value:e?"":0},meta:{interface:"input",width:"half"}},{field:"color",name:"$t:displays.formatted-value.color",type:"string",meta:{interface:"select-color",width:"half"}},{field:"background",name:"$t:displays.formatted-value.background",type:"string",meta:{interface:"select-color",width:"half"}},{field:"text",name:"$t:displays.formatted-value.text",type:"string",meta:{interface:"system-input-translated-string",width:"half",options:{placeholder:"$t:displays.formatted-value.text_placeholder"}}},{field:"icon",name:"$t:displays.formatted-value.icon",type:"string",meta:{width:"half",interface:"select-icon"}}]}}}]}}),L2e={key:1},I2e=Lt({__name:"hash",props:{value:{default:null}},setup(n){return(e,t)=>{const i=q("value-null");return e.value===null?(V(),me(i,{key:0})):(V(),De("div",L2e,"**********"))}}}),M2e=jd({id:"hash",name:"$t:displays.hash.hash",description:"$t:displays.hash.description",types:["hash"],icon:"fingerprint",component:I2e,options:[]}),D2e=Lt({__name:"icon",props:{value:{},color:{},filled:{type:Boolean}},setup(n){const e=n,t=we(()=>e.color&&_C(e.color)?{"--v-icon-color":e.color}:{});return(i,o)=>{const r=q("v-icon");return V(),me(r,{small:"",name:i.value,style:Ba(t.value),filled:i.filled},null,8,["name","style","filled"])}}}),P2e=jd({id:"icon",name:"$t:displays.icon.icon",description:"$t:displays.icon.description",icon:"insert_emoticon",component:D2e,options:[{field:"filled",name:"$t:displays.icon.filled",type:"boolean",meta:{interface:"boolean",width:"half",options:{label:"$t:displays.icon.filled_label"}},schema:{default_value:!1}},{field:"color",name:"$t:color",type:"string",meta:{interface:"select-color",width:"half"}}],types:["string"]}),O2e=Lt({__name:"image",props:{value:{},circle:{type:Boolean}},setup(n){const e=n,t=Pe(!1),i=we(()=>{var o,r;return((o=e.value)==null?void 0:o.id)===null||((r=e.value)==null?void 0:r.id)===void 0?null:Ys(`${e.value.id}?key=system-small-cover`)});return(o,r)=>{const a=q("v-icon"),s=q("v-image"),l=q("value-null");return t.value?(V(),me(a,{key:0,name:"image"})):i.value?(V(),me(s,{key:1,src:i.value,role:"presentation",alt:o.value&&o.value.title,class:An({circle:o.circle}),onError:r[0]||(r[0]=d=>t.value=!0)},null,8,["src","alt","class"])):(V(),me(l,{key:2}))}}}),R2e=qt(O2e,[["__scopeId","data-v-e3d4a50a"]]),F2e=jd({id:"image",name:"$t:displays.image.image",description:"$t:displays.image.description",types:["uuid"],localTypes:["file"],icon:"insert_photo",component:R2e,options:[{field:"circle",name:"$t:displays.image.circle",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.image.circle_label"}},schema:{default_value:!1}}],fields:["id","type","title"]}),z2e={class:"display-labels"},$2e=Lt({__name:"labels",props:{value:{},type:{},format:{type:Boolean,default:!0},showAsDot:{type:Boolean},choices:{default:()=>[]}},setup(n){const e=n,t=we(()=>{let i;return st.isEmpty(e.value)&&isNaN(e.value)?i=[]:e.type==="string"?i=[e.value]:["integer","bigInteger","float","decimal"].includes(e.type)?i=[e.value]:i=e.value,i.map(o=>{const r=(e.choices||[]).find(s=>s.value===o);let a;return typeof o=="object"?a=JSON.stringify(o):e.format&&isNaN(o)?a=su(o):a=o,r===void 0?{value:o,text:a,foreground:"var(--theme--foreground)",background:"var(--theme--background-normal)"}:{value:o,text:r.text||a,icon:r.icon,color:r.color,foreground:r.foreground||"var(--theme--foreground)",background:r.background||"var(--theme--background-normal)"}})});return(i,o)=>{const r=q("v-icon"),a=q("display-color"),s=q("v-chip"),l=ki("tooltip");return V(),De("div",z2e,[i.showAsDot?(V(!0),De(_n,{key:1},Ii(t.value,d=>rn((V(),me(a,{key:d.value,value:d.color??d.background},null,8,["value"])),[[l,d.text]])),128)):(V(!0),De(_n,{key:0},Ii(t.value,d=>(V(),me(s,{key:d.value,style:Ba({"--v-chip-color":d.foreground,"--v-chip-background-color":d.background}),small:"",disabled:"",label:"",class:An({"has-icon":!!d.icon||!!d.color})},{default:P(()=>[d.icon?(V(),me(r,{key:0,name:d.icon,color:d.color,left:"",small:""},null,8,["name","color"])):d.color?(V(),me(a,{key:1,class:"inline-dot",value:d.color},null,8,["value"])):He("",!0),Fe(" "+de(d.text),1)]),_:2},1032,["style","class"]))),128))])}}}),N2e=qt($2e,[["__scopeId","data-v-99d5dc54"]]),B2e=jd({id:"labels",name:"$t:displays.labels.labels",description:"$t:displays.labels.description",types:["string","json","csv","integer","float","decimal","bigInteger"],icon:"flag",component:N2e,handler:(n,e,{interfaceOptions:t})=>{if(Array.isArray(n))return n.map(o=>i(o)).join(", ");return i(n);function i(o){var a,s;const r=((a=e==null?void 0:e.choices)==null?void 0:a.find(l=>l.value===o))??((s=t==null?void 0:t.choices)==null?void 0:s.find(l=>l.value===o));return r!=null&&r.text?r.text:o}},options:[{field:"format",name:"$t:format_text",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.labels.format_label"}},schema:{default_value:!0}},{field:"showAsDot",name:"$t:displays.labels.show_as_dot",type:"boolean",meta:{width:"half",interface:"boolean"},schema:{default_value:!1}},{field:"choices",name:"$t:choices",type:"json",meta:{interface:"list",options:{template:"{{text}}",fields:[{field:"text",name:"$t:text",type:"string",meta:{interface:"system-input-translated-string",width:"half",required:!0,options:{placeholder:"$t:displays.labels.choices_text_placeholder"}}},{field:"value",name:"$t:value",type:"string",meta:{interface:"input",options:{font:"monospace",placeholder:"$t:displays.labels.choices_value_placeholder"},required:!0,width:"half"}},{field:"icon",name:"$t:icon",type:"string",meta:{interface:"select-icon",width:"half"}},{field:"color",name:"$t:color",type:"string",meta:{interface:"select-color",width:"half"}},{field:"foreground",name:"$t:foreground_color",type:"string",meta:{interface:"select-color",width:"half"}},{field:"background",name:"$t:background_color",type:"string",meta:{interface:"select-color",width:"half"}}]}}}]}),ZP={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/hsj2":["hsj2"],"image/ief":["ief"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpeg","jpg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(ZP);var Ap=function(n,e,t,i){if(t==="a"&&!i)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?n!==e||!i:!e.has(n))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t==="m"?i:t==="a"?i.call(n):i?i.value:e.get(n)},A0,Xy,lg;class j2e{constructor(...e){A0.set(this,new Map),Xy.set(this,new Map),lg.set(this,new Map);for(const t of e)this.define(t)}define(e,t=!1){for(let[i,o]of Object.entries(e)){i=i.toLowerCase(),o=o.map(s=>s.toLowerCase()),Ap(this,lg,"f").has(i)||Ap(this,lg,"f").set(i,new Set);const r=Ap(this,lg,"f").get(i);let a=!0;for(let s of o){const l=s.startsWith("*");if(s=l?s.slice(1):s,r==null||r.add(s),a&&Ap(this,Xy,"f").set(i,s),a=!1,l)continue;const d=Ap(this,A0,"f").get(s);if(d&&d!=i&&!t)throw new Error(`"${i} -> ${s}" conflicts with "${d} -> ${s}". Pass \`force=true\` to override this definition.`);Ap(this,A0,"f").set(s,i)}}return this}getType(e){if(typeof e!="string")return null;const t=e.replace(/^.*[/\\]/,"").toLowerCase(),i=t.replace(/^.*\./,"").toLowerCase(),o=t.length<e.length;return!(i.length<t.length-1)&&o?null:Ap(this,A0,"f").get(i)??null}getExtension(e){var t;return typeof e!="string"?null:(e=(t=e==null?void 0:e.split)==null?void 0:t.call(e,";")[0],(e&&Ap(this,Xy,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Ap(this,lg,"f").get(e.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(const e of Ap(this,lg,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Ap(this,A0,"f"),extensions:Ap(this,Xy,"f")}}}A0=new WeakMap,Xy=new WeakMap,lg=new WeakMap;const AA=new j2e(ZP)._freeze(),V2e=jd({id:"mime-type",name:"$t:displays.mime-type.mime-type",description:"$t:displays.mime-type.description",icon:"picture_as_pdf",options:[{field:"showAsExtension",name:"$t:displays.mime-type.extension_only",type:"boolean",meta:{interface:"boolean",options:{label:"$t:displays.mime-type.extension_only_label"}},schema:{default_value:!1}}],types:["string"],component:({value:n,showAsExtension:e})=>e?v3("span",AA.getExtension(n)):v3("span",cm(n)),handler:(n,e)=>e.showAsExtension?AA.getExtension(n):cm(n)}),H2e={key:0,class:"rating simple"},U2e={key:1,class:"rating detailed"},W2e={class:"inactive"},q2e=Lt({__name:"rating",props:{value:{default:void 0},simple:{type:Boolean,default:!1},interfaceOptions:{default:void 0}},setup(n){const e=n,t=we(()=>{var o;return e.interfaceOptions===null?5:Math.ceil(((o=e.interfaceOptions)==null?void 0:o.maxValue)??5)}),i=we(()=>({width:Number(e.value)/t.value*100+"%"}));return(o,r)=>{const a=q("v-icon"),s=ki("tooltip");return o.simple?(V(),De("span",H2e,[A(a,{small:"",name:"star",filled:""}),Fe(" "+de(o.value),1)])):rn((V(),De("div",U2e,[xe("div",{class:"active",style:Ba(i.value)},[(V(!0),De(_n,null,Ii(t.value,l=>(V(),me(a,{key:l,small:"",name:"star",filled:""}))),128))],4),xe("div",W2e,[(V(!0),De(_n,null,Ii(t.value,l=>(V(),me(a,{key:l,small:"",name:"star"}))),128))])])),[[s,o.value,void 0,{bottom:!0,start:!0}]])}}}),G2e=qt(q2e,[["__scopeId","data-v-100121da"]]),Y2e=jd({id:"rating",name:"$t:displays.rating.rating",description:"$t:displays.rating.description",icon:"star",component:G2e,options:[{field:"simple",name:"$t:displays.rating.simple",type:"boolean",meta:{interface:"boolean",width:"half",options:{label:"$t:displays.rating.simple_label"}},schema:{default_value:!1}}],types:["integer","decimal","float"]}),X2e=jd({id:"raw",name:"$t:displays.raw.raw",icon:"code",component:({value:n})=>typeof n=="string"?n:JSON.stringify(n),options:[],types:uU,localTypes:dU});function as(n,e){const t=Bd();return we(()=>h(e)===null?null:t[PD(h(n))].value.find(({id:i})=>i===h(e))??null)}function Nd(n,e){const t=xo();return n.map(o=>{var l,d,f;const r=t.getField(e,o);if(!r||((l=r.meta)==null?void 0:l.display)===null)return o;const a=as("display",we(()=>{var g;return((g=r.meta)==null?void 0:g.display)??null}));if(!a||!((d=a.value)!=null&&d.fields))return o;let s=null;return Array.isArray(a.value.fields)&&(s=a.value.fields.map(g=>`${o}.${g}`)),typeof a.value.fields=="function"&&(s=a.value.fields((f=r.meta)==null?void 0:f.display_options,{collection:r.collection,field:r.field,type:r.type}).map(g=>`${o}.${g}`)),s?s.map(g=>g.includes("$thumbnail")&&r.collection==="directus_files"?g.split(".").filter(v=>v!=="$thumbnail").join("."):g):o}).flat()}function y_(n,e){var a,s,l,d;const t=xo(),i=Ts(),o=t.getField(n,e),r=i.getRelationsForField(n,e);if(!o)return null;if(r.length===0)return o.type==="alias"?(s=(a=o.meta)==null?void 0:a.special)!=null&&s.includes("group")?"group":"presentation":"standard";if(r.length===1){const f=r[0];return f.related_collection==="directus_files"&&f.related_collection!==n?"file":f.collection===n&&f.field===e?"m2o":"o2m"}if(r.length===2){if((((l=o.meta)==null?void 0:l.special)||[]).includes("translations"))return"translations";if((((d=o.meta)==null?void 0:d.special)||[]).includes("m2a"))return"m2a";const f=r.find(g=>{var v;return g.collection===n&&g.field===e||g.related_collection===n&&((v=g.meta)==null?void 0:v.one_field)===e});return(f==null?void 0:f.collection)===n&&(f==null?void 0:f.field)===e?"m2o":r[0].related_collection==="directus_files"||r[1].related_collection==="directus_files"?"files":"m2m"}return"standard"}function R4(n,e){const i=Ts().getRelationsForField(n,e);if(i.length===0)return null;const o=y_(n,e);return o&&["o2m","m2m","m2a","translations","files"].includes(o)?o=="m2m"&&i.length>1?{relatedCollection:i[1].related_collection,junctionCollection:i[0].collection,path:[i[1].field]}:{relatedCollection:i[0].collection}:{relatedCollection:i[0].related_collection}}function K2e(n,e){const t=s4(e,n);return typeof t=="object"?JSON.stringify(t):t}function F4(n,e){const t=h(e),i=h(n),o=we(()=>jc(i)),r=we(()=>{if(!t||!i||!o.value)return!1;try{return fU(i,K2e,t,{propsExist:!0})}catch{return!1}});return{fieldsInTemplate:o,displayValue:r}}function CC(n,e){const t=jc(n);if(!e||!n||!t)return null;try{return rm(n,e,{propsExist:!0})}catch{return null}}function Z2e(n,e,t){var s,l,d,f,g;const i=xo(),o=jc(e),r={};for(const v of o)st.set(r,v,i.getField(n,v));const a={};for(const v of o){const b=s4(t,v),x=as("display",we(()=>{var k,S;return((S=(k=r[v])==null?void 0:k.meta)==null?void 0:S.display)??null}));b!=null?st.set(a,v,(s=x.value)!=null&&s.handler?x.value.handler(b,((d=(l=r[v])==null?void 0:l.meta)==null?void 0:d.display_options)??{},{interfaceOptions:((g=(f=r[v])==null?void 0:f.meta)==null?void 0:g.options)??{},field:r[v]??void 0,collection:n}):b):st.set(a,v,b)}return CC(e,a)}const SC={directus_users:{route:"/users"},directus_files:{route:"/files"},directus_dashboards:{route:"/insights"},directus_activity:{route:"/activity"},directus_settings:{route:"/settings/project",singleton:!0},directus_collections:{route:"/settings/data-model"},directus_roles:{route:"/settings/roles"},directus_presets:{route:"/settings/presets"},directus_translations:{route:"/settings/translations"},directus_webhooks:{route:"/settings/webhooks"},directus_flows:{route:"/settings/flows"}};function JP(n){return n in SC}function QP(n){return JP(n)?SC[n].route:""}function Gf(n){return n===null?"":oc(n)?QP(n):`/content/${n}`}function Cf(n,e){if(n===null)return"";const t=Gf(n);if(t==="")return"";if(JP(n)&&"singleton"in SC[n])return t;const i=e==="+"?e:encodeURIComponent(e);return`${t}/${i}`}const J2e=["onClick"],Q2e={class:"label"},eve=Lt({__name:"related-values",props:{collection:{},field:{},value:{},template:{}},setup(n){const e=n,{t,te:i}=vn(),o=we(()=>R4(e.collection,e.field)),r=we(()=>o.value.relatedCollection),a=we(()=>o.value.junctionCollection),s=we(()=>y_(e.collection,e.field)),{primaryKeyField:l}=Il(r),d=we(()=>{var b,x;return o.value.path?[...o.value.path,(b=l.value)==null?void 0:b.field].join("."):(x=l.value)==null?void 0:x.field}),f=we(()=>e.template||`{{ ${d.value} }}`),g=we(()=>Array.isArray(e.value)?e.value.length===1?i(`collection_names_singular.${r.value}`)?t(`collection_names_singular.${r.value}`):t("item"):i(`collection_names_plural.${r.value}`)?t(`collection_names_plural.${r.value}`):t("items"):null);function v(b){if(!o.value||!d.value)return null;const x=st.get(b,d.value);return Cf(r.value,x)}return(b,x)=>{var Y;const k=q("value-null"),S=q("render-template"),O=q("v-list-item-content"),w=q("v-icon"),D=q("router-link"),I=q("v-list-item-icon"),$=q("v-list-item"),B=q("v-list"),X=q("v-menu");return r.value?["o2m","m2m","m2a","translations","files"].includes(s.value.toLowerCase())?(V(),me(X,{key:1,"show-arrow":"",disabled:((Y=b.value)==null?void 0:Y.length)===0},{activator:P(({toggle:Q})=>{var ue,ce,ve;return[xe("span",{class:An(["toggle",{subdued:((ue=b.value)==null?void 0:ue.length)===0}]),onClick:po(Q,["stop"])},[xe("span",Q2e,[Fe(de((ce=b.value)==null?void 0:ce.length)+" ",1),((ve=b.value)==null?void 0:ve.length)>=100?(V(),De(_n,{key:0},[Fe("+")],64)):He("",!0),Fe(" "+de(g.value),1)])],10,J2e)]}),default:P(()=>[A(B,{class:"links"},{default:P(()=>[(V(!0),De(_n,null,Ii(b.value,Q=>(V(),me($,{key:Q[d.value]},{default:P(()=>[A(O,null,{default:P(()=>[A(S,{template:f.value,item:Q,collection:a.value??r.value},null,8,["template","item","collection"])]),_:2},1024),A(I,null,{default:P(()=>[A(D,{to:v(Q)},{default:P(()=>[A(w,{name:"launch",small:""})]),_:2},1032,["to"])]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1},8,["disabled"])):(V(),me(S,{key:2,template:f.value,item:b.value,collection:r.value},null,8,["template","item","collection"])):(V(),me(k,{key:0}))}}}),tve=qt(eve,[["__scopeId","data-v-4f3d8fb5"]]),nve=jd({id:"related-values",name:"$t:displays.related-values.related-values",description:"$t:displays.related-values.description",icon:"settings_ethernet",component:tve,options:({editing:n,relations:e})=>{var o,r;const t=((o=e.o2m)==null?void 0:o.collection)??((r=e.m2o)==null?void 0:r.related_collection);return[{field:"template",name:"$t:display_template",meta:n==="+"?{interface:"presentation-notice",options:{text:"$t:displays.related-values.display_template_configure_notice"},width:"full"}:{interface:"system-display-template",options:{collectionName:t},width:"full"}}]},handler:(n,e,{collection:t,field:i})=>{var d,f,g,v;if(!i||!t)return n;const o=R4(t,i.field);if(!o)return n;const r=xo(),s=jc(e.template).map(b=>({key:b,field:r.getField(o.junctionCollection??o.relatedCollection,b)})),l={};for(const{key:b,field:x}of s){const k=st.get(n,b);if(k==null)continue;if(!((d=x==null?void 0:x.meta)!=null&&d.display)){st.set(l,b,k);continue}const S=as("display",x.meta.display),O=(f=S.value)!=null&&f.handler?S.value.handler(k,((g=x==null?void 0:x.meta)==null?void 0:g.display_options)??{},{interfaceOptions:((v=x==null?void 0:x.meta)==null?void 0:v.options)??{},field:x??void 0,collection:t}):k;st.set(l,b,O)}return CC(e.template,l)},types:["alias","string","uuid","integer","bigInteger","json"],localTypes:["m2m","m2o","o2m","translations","m2a","file","files"],fields:(n,{field:e,collection:t})=>{const i=R4(t,e);if(!i)return[];const o=xo(),{junctionCollection:r,relatedCollection:a,path:s}=i,l=o.getPrimaryKeyFieldForCollection(a),d=n!=null&&n.template?Nd(jc(n.template),r??a):[];if(l){const f=s?[...s,l.field].join("."):l.field;d.includes(f)||d.push(f)}return d}});function w8(n,e){const t=Ts(),i=gr(),o=xo();return{relationInfo:we(()=>{var d,f,g;const a=t.getRelationsForField(n.value,e.value),s=a.find(v=>{var b;return v.related_collection===n.value&&((b=v.meta)==null?void 0:b.one_field)===e.value&&v.meta.junction_field});if(!s)return;const l=a.find(v=>{var b;return v.collection===s.collection&&v.field===((b=s.meta)==null?void 0:b.junction_field)});if(l)return{relation:l,relatedCollection:i.getCollection(l.related_collection),relatedPrimaryKeyField:o.getPrimaryKeyFieldForCollection(l.related_collection),sortField:((d=s.meta)==null?void 0:d.sort_field)??void 0,junctionCollection:i.getCollection(s.collection),junctionPrimaryKeyField:o.getPrimaryKeyFieldForCollection(s.collection),junctionField:o.getField(s.collection,(f=s.meta)==null?void 0:f.junction_field),reverseJunctionField:o.getField(s.collection,(g=l.meta)==null?void 0:g.junction_field),junction:s,type:"m2m"}})}}const ive={key:1,class:"display-translations"},ove={class:"header"},ave={class:"lang"},rve=Lt({__name:"translations",props:{collection:{},field:{},type:{},value:{default:()=>[]},template:{default:void 0},userLanguage:{type:Boolean,default:!1},defaultLanguage:{default:void 0},languageField:{default:void 0}},setup(n){const e=n,{collection:t,field:i}=Po(e),o=xo(),{relationInfo:r}=w8(t,i),a=we(()=>{var v,b;if(!r.value)return"";const f=r.value.junctionPrimaryKeyField.field,g=(b=(v=r.value.junctionCollection)==null?void 0:v.meta)==null?void 0:b.display_template;return e.template||g||`{{ ${f} }}`}),s=we(()=>{if(!r.value)return{};const f=r.value.relatedPrimaryKeyField.field,g=r.value.junctionField.field;let v=e.value.find(b=>{var x;return((x=b==null?void 0:b[g])==null?void 0:x[f])===e.defaultLanguage})??e.value[0];if(e.userLanguage){const b=Sr();v=e.value.find(x=>{var k,S;return((k=x==null?void 0:x[g])==null?void 0:k[f])===((S=b.currentUser)==null?void 0:S.language)})??v}return v??{}}),l=we(()=>r.value?o.getFieldsForCollection(r.value.junctionCollection.collection).filter(g=>{var v;return g.type!=="alias"&&((v=g.meta)==null?void 0:v.hidden)===!1&&g.meta.readonly===!1}):[]),d=we(()=>{if(!r.value)return[];const f=r.value.junctionPrimaryKeyField.field,g=r.value.relatedPrimaryKeyField.field,v=r.value.junctionField.field;return e.value.map(b=>{var k;const x=l.value.filter(S=>S.field in b&&!st.isNil(b==null?void 0:b[S.field])).length;return{id:b==null?void 0:b[f??"id"],lang:(k=b==null?void 0:b[v])==null?void 0:k[e.languageField??g],progress:Math.round(x/l.value.length*100),item:b}})});return(f,g)=>{var $,B;const v=q("value-null"),b=q("render-template"),x=q("v-icon"),k=q("v-progress-linear"),S=q("v-list-item-content"),O=q("v-list-item"),w=q("v-list"),D=q("v-menu"),I=ki("tooltip");return(B=($=h(r))==null?void 0:$.junctionCollection)!=null&&B.collection?(V(),De("div",ive,[A(b,{template:a.value,item:s.value,collection:h(r).junctionCollection.collection},null,8,["template","item","collection"]),A(D,{class:"menu","show-arrow":"",disabled:f.value.length===0},{activator:P(({toggle:X,deactivate:Y,active:Q})=>[A(x,{small:"",class:An(["icon",{active:Q}]),name:"info",onClick:po(X,["stop"]),onFocusout:Y},null,8,["class","onClick","onFocusout"])]),default:P(()=>[A(w,{class:"links"},{default:P(()=>[(V(!0),De(_n,null,Ii(d.value,X=>(V(),me(O,{key:X.id},{default:P(()=>[A(S,null,{default:P(()=>[xe("div",ove,[xe("div",ave,[A(x,{name:"translate",small:""}),Fe(" "+de(X.lang),1)]),rn(A(k,{value:X.progress,colorful:""},null,8,["value"]),[[I,`${X.progress}%`]])]),A(b,{template:a.value,item:X.item,collection:h(r).junctionCollection.collection},null,8,["template","item","collection"])]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1},8,["disabled"])])):(V(),me(v,{key:0}))}}}),sve=qt(rve,[["__scopeId","data-v-a22c639a"]]),lve=jd({id:"translations",name:"$t:displays.translations.translations",description:"$t:displays.translations.description",icon:"translate",component:sve,handler:(n,e,{collection:t,field:i})=>{var S,O,w,D;if(!i||!t||!Array.isArray(n))return n;const o=R4(t,i.field),r=xo(),s=Ts().getRelationsForField(t,i.field),l=s.find(I=>{var $;return I.related_collection===t&&(($=I.meta)==null?void 0:$.one_field)===i.field});if(!l)return n;const d=s.find(I=>{var $;return I.collection===l.collection&&I.field===(($=l.meta)==null?void 0:$.junction_field)});if(!o||!r.getPrimaryKeyFieldForCollection(o.relatedCollection)||!(d!=null&&d.related_collection))return n;const g=r.getPrimaryKeyFieldForCollection(d.related_collection);if(!g)return n;const v=n.find(I=>{const $=I[d.field][g.field];return $?e.userLanguage?$===$o.global.locale.value:$===e.defaultLanguage:!0})??n[0],x=jc(e.template).map(I=>({key:I,field:r.getField(o.relatedCollection,I)})),k={};for(const{key:I,field:$}of x){const B=st.get(v,I);if(B==null)continue;if(!((S=$==null?void 0:$.meta)!=null&&S.display)){st.set(k,I,B);continue}const X=as("display",$.meta.display),Y=(O=X.value)!=null&&O.handler?X.value.handler(B,((w=$==null?void 0:$.meta)==null?void 0:w.display_options)??{},{interfaceOptions:((D=$==null?void 0:$.meta)==null?void 0:D.options)??{},field:$??void 0,collection:t}):B;st.set(k,I,Y)}return CC(e.template,k)},options:({relations:n})=>{var r,a;const e=xo(),t=(r=n.o2m)==null?void 0:r.collection,i=(a=n.m2o)==null?void 0:a.related_collection,o=i?e.getFieldsForCollection(i):[];return[{field:"template",name:"$t:display_template",meta:{interface:"system-display-template",options:{collectionName:t},width:"half"}},{field:"languageField",name:"$t:displays.translations.language_field",meta:{interface:"select-dropdown",options:{choices:o.map(({field:s,name:l})=>({text:l,value:s}))},width:"half"}},{field:"defaultLanguage",name:"$t:displays.translations.default_language",meta:{interface:"input",width:"half",options:{placeholder:"$t:primary_key"}}},{field:"userLanguage",name:"$t:displays.translations.user_language",type:"string",schema:{default_value:!1},meta:{interface:"boolean",options:{label:"$t:displays.translations.enable"},width:"half"}}]},types:["alias"],localTypes:["translations"],fields:(n,{field:e,collection:t})=>{const i=xo(),r=Ts().getRelationsForField(t,e),a=r.find(v=>{var b;return v.related_collection===t&&((b=v.meta)==null?void 0:b.one_field)===e}),s=r.find(v=>v!==a),l=a==null?void 0:a.related_collection,d=s==null?void 0:s.related_collection;if(!l||!d)return[];const f=i.getPrimaryKeyFieldForCollection(d),g=new Set;return g.add("*"),n!=null&&n.template&&Nd(jc(n.template),l).forEach(b=>g.add(b)),s&&f&&!g.has(s.field)&&(g.add(`${s.field}.${f.field}`),n!=null&&n.languageField&&g.add(`${s.field}.${n.languageField}`)),Array.from(g)}}),cve="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2064%2064'%3e%3cg%20fill='none'%20fill-rule='evenodd'%3e%3cpath%20d='M32%2012a20%2020%200%20100%2040%2020%2020%200%20000-40zm-9.86%2032.56C23%2042.76%2028.24%2041%2032%2041s9.02%201.76%209.86%203.56a15.8%2015.8%200%2001-19.72%200zm22.58-2.9C41.86%2038.18%2034.92%2037%2032%2037s-9.86%201.18-12.72%204.66A16.02%2016.02%200%201148%2032a15.9%2015.9%200%2001-3.28%209.66zM32%2020c-3.88%200-7%203.12-7%207s3.12%207%207%207%207-3.12%207-7-3.12-7-7-7zm0%2010a3%203%200%20110-6%203%203%200%20010%206z'%20fill='%23B0BEC5'/%3e%3c/g%3e%3c/svg%3e",uve=["alt"],dve={key:2},fve=Lt({__name:"user",props:{value:{},display:{default:"both"},circle:{type:Boolean}},setup(n){const e=n,t=we(()=>{var i;return e.value===null?null:(i=e.value.avatar)!=null&&i.id?Ys(`${e.value.avatar.id}?key=system-small-cover`):null});return(i,o)=>{const r=q("v-image"),a=q("user-popover");return i.value?(V(),me(a,{key:0,user:i.value.id},{default:P(()=>[xe("div",{class:An(["user",i.display])},[(i.display==="avatar"||i.display==="both")&&t.value?(V(),me(r,{key:0,src:t.value,role:"presentation",alt:i.value&&h(Gu)(i.value),class:An({circle:i.circle})},null,8,["src","alt","class"])):(i.display==="avatar"||i.display==="both")&&t.value===null?(V(),De("img",{key:1,src:cve,role:"presentation",alt:i.value&&h(Gu)(i.value),class:An({circle:i.circle})},null,10,uve)):He("",!0),i.display==="name"||i.display==="both"?(V(),De("span",dve,de(h(Gu)(i.value)),1)):He("",!0)],2)]),_:1},8,["user"])):He("",!0)}}}),pve=qt(fve,[["__scopeId","data-v-75fd524b"]]),hve=jd({id:"user",name:"$t:displays.user.user",description:"$t:displays.user.description",types:["uuid","string"],localTypes:["m2o"],icon:"person",component:pve,handler:n=>Gu(n),options:[{field:"display",name:"$t:display",type:"string",meta:{width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:displays.user.avatar",value:"avatar"},{text:"$t:displays.user.name",value:"name"},{text:"$t:displays.user.both",value:"both"}]}},schema:{default_value:"both"}},{field:"circle",name:"$t:circle",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.user.circle_label"}},schema:{default_value:!1}}],fields:["id","avatar.id","email","first_name","last_name"]});function mve(){const n=Object.assign({"./boolean/index.ts":bq,"./collection/index.ts":ame,"./color/index.ts":Ime,"./datetime/index.ts":zme,"./file/index.ts":Hme,"./filesize/index.ts":Ume,"./formatted-json-value/index.ts":Xme,"./formatted-value/index.ts":T2e,"./hash/index.ts":M2e,"./icon/index.ts":P2e,"./image/index.ts":F2e,"./labels/index.ts":B2e,"./mime-type/index.ts":V2e,"./rating/index.ts":Y2e,"./raw/index.ts":X2e,"./related-values/index.ts":nve,"./translations/index.ts":lve,"./user/index.ts":hve});return st.sortBy(Object.values(n),"id")}function vve(n,e){for(const t of n)e.component(`display-${t.id}`,t.component),typeof t.options!="function"&&Array.isArray(t.options)===!1&&t.options!==null&&e.component(`display-options-${t.id}`,t.options)}const gve=Lt({__name:"system-collection",props:{value:{},disabled:{type:Boolean},includeSystem:{type:Boolean},includeSingleton:{type:Boolean,default:!0}},emits:["input"],setup(n){const e=n,{t}=vn(),i=gr(),o=we(()=>{let a=i.collections;return e.includeSingleton||(a=a.filter(s=>{var l;return((l=s==null?void 0:s.meta)==null?void 0:l.singleton)===!1})),[...a.filter(s=>oc(s.collection)===!1),...e.includeSystem?i.crudSafeSystemCollections:[]]}),r=we(()=>o.value.reduce((a,s)=>(s.type!=="alias"&&a.push({text:s.name,value:s.collection}),a),[]));return(a,s)=>{const l=q("v-select");return V(),me(l,{"model-value":a.value,disabled:a.disabled,items:r.value,placeholder:h(t)("select_a_collection"),"onUpdate:modelValue":s[0]||(s[0]=d=>a.$emit("input",d))},null,8,["model-value","disabled","items","placeholder"])}}}),yve=ha({id:"system-collection",name:"$t:interfaces.system-collection.collection",description:"$t:interfaces.system-collection.description",icon:"featured_play_list",component:gve,types:["string"],options:[{field:"includeSystem",name:"$t:system",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:interfaces.system-collection.include_system_collections"}},schema:{default_value:!1}}],system:!0,recommendedDisplays:["collection"]}),_ve=Lt({__name:"system-collections",props:{value:{},disabled:{type:Boolean},includeSystem:{type:Boolean},includeSingleton:{type:Boolean,default:!0}},emits:["input"],setup(n){const e=n,{t}=vn(),i=gr(),o=we(()=>{let a=i.collections.filter(s=>s.type==="table");return e.includeSingleton||(a=a.filter(s=>{var l;return((l=s==null?void 0:s.meta)==null?void 0:l.singleton)===!1})),e.includeSystem||(a=a.filter(s=>oc(s.collection)===!1)),a}),r=we(()=>o.value.map(a=>({text:a.name,value:a.collection})));return(a,s)=>{const l=q("v-notice"),d=q("interface-select-multiple-checkbox");return r.value.length===0?(V(),me(l,{key:0},{default:P(()=>[Fe(de(h(t)("no_collections")),1)]),_:1})):(V(),me(d,{key:1,choices:r.value,value:a.value,disabled:a.disabled,onInput:s[0]||(s[0]=f=>a.$emit("input",f))},null,8,["choices","value","disabled"]))}}}),bve=ha({id:"system-collections",name:"$t:interfaces.system-collections.collections",description:"$t:interfaces.system-collections.description",icon:"featured_play_list",component:_ve,types:["json","csv"],options:[{field:"includeSystem",name:"$t:system",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:interfaces.system-collections.include_system_collections"}},schema:{default_value:!1}}],system:!0,recommendedDisplays:["labels"]}),xve={key:2,class:"inset"},wve=Lt({__name:"system-display-options",props:{value:{},displayField:{},display:{},collection:{},disabled:{type:Boolean},context:{type:Function}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=vn(),r=we({get(){return t.value},set(g){i("input",g)}}),a=ku("values",Pe({})),s=we(()=>t.display??a.value[t.displayField]??null),l=as("display",s),d=we(()=>l.value?g8(l.value.options):!1),f=we(()=>{var v,b;if(!((v=l.value)!=null&&v.options)||d.value)return[];let g;return typeof l.value.options=="function"?g=l.value.options(((b=t.context)==null?void 0:b.call(t))??{field:{type:"unknown"},editing:"+",collection:t.collection,relations:{o2m:void 0,m2o:void 0,m2a:void 0},collections:{related:void 0,junction:void 0},fields:{corresponding:void 0,junctionCurrent:void 0,junctionRelated:void 0,sort:void 0},items:{},localType:"standard",autoGenerateJunctionRelation:!1,saving:!1}):g=l.value.options,Array.isArray(g)?g:[...g.standard,...g.advanced]});return(g,v)=>{const b=q("v-notice"),x=q("v-form");return h(l)?d.value===!1&&f.value.length===0?(V(),me(b,{key:1},{default:P(()=>[Fe(de(h(o)("no_options_available")),1)]),_:1})):(V(),De("div",xve,[d.value===!1?(V(),me(x,{key:0,modelValue:r.value,"onUpdate:modelValue":v[0]||(v[0]=k=>r.value=k),class:"extension-options",fields:f.value,disabled:g.disabled,"primary-key":"+"},null,8,["modelValue","fields","disabled"])):(V(),me(pa(`display-options-${h(l).id}`),{key:1,value:g.value,collection:g.collection,onInput:v[1]||(v[1]=k=>g.$emit("input",k))},null,40,["value","collection"]))])):(V(),me(b,{key:0},{default:P(()=>[Fe(de(h(o)("select_display")),1)]),_:1}))}}}),kve=qt(wve,[["__scopeId","data-v-75f3b63e"]]),Cve=ha({id:"system-display-options",name:"$t:interfaces.system-display-options.display-options",description:"$t:interfaces.system-display-options.description",icon:"box",component:kve,types:["string"],options:[],system:!0});function k8(n,e,t=()=>!0){const i=xo(),o=Ts(),r=Pe([]),a=Pe(new Set);return ii([n,()=>n.value&&i.getFieldsForCollectionSorted(n.value)],s,{immediate:!0}),{treeList:r,loadFieldRelations:b,refresh:s};function s(){a.value=new Set,r.value=l(n.value)??[];for(const x of r.value)x.relatedCollection&&(x.children=l(x.relatedCollection,x))}function l(x,k){var I;const S=(I=e==null?void 0:e.value)==null?void 0:I.fields.filter($=>$.collection===x),D=i.getFieldsForCollectionSorted(x).concat(S||[]).filter($=>{var B,X,Y,Q,ue,ce;return((X=(B=$.meta)==null?void 0:B.special)==null?void 0:X.includes("group"))||!((Q=(Y=$.meta)==null?void 0:Y.special)!=null&&Q.includes("alias"))&&!((ce=(ue=$.meta)==null?void 0:ue.special)!=null&&ce.includes("no-data"))}).filter($=>t($,k)).filter($=>{var B,X;return(k==null?void 0:k.group)===!0?((B=$.meta)==null?void 0:B.group)===(k==null?void 0:k.field):st.isNil((X=$.meta)==null?void 0:X.group)}).flatMap($=>d($,k));return D.length?D:void 0}function d(x,k){var I,$;const{relationType:S,relatedCollections:O}=f(x),w=k!=null&&k.path?k.path+".":"",D=k!=null&&k.key?k.key+".":"";if(($=(I=x==null?void 0:x.meta)==null?void 0:I.special)!=null&&$.includes("group")){const B={name:x.name,field:x.field,collection:x.collection,relatedCollection:void 0,key:k?k.key:"",path:w+x.field,group:!0,type:x.type},X=l(x.collection,B);if(X)for(const Y of X)Y.relatedCollection&&(Y.children=[{name:"Loading...",field:"",collection:"",key:"",path:"",type:"alias",_loading:!0}]);return{...B,children:X}}return O.length<=1&&S!=="m2a"?{name:x.name,field:x.field,collection:x.collection,relatedCollection:O[0],key:D+x.field,path:w+x.field,type:x.type}:O.map(B=>({name:`${x.name} (${B})`,field:`${x.field}:${B}`,collection:x.collection,relatedCollection:B,key:D+`${x.field}:${B}`,path:w+`${x.field}:${B}`,type:x.type}))}function f(x){const k=g(x);if(!(k!=null&&k.meta))return{relationType:null,relatedCollections:[]};switch(hb({relation:k,collection:x.collection,field:x.field})){case"o2m":return{relationType:"o2m",relatedCollections:[k.meta.many_collection]};case"m2o":return{relationType:"m2o",relatedCollections:[k.meta.one_collection]};case"m2a":return{relationType:"m2a",relatedCollections:k.meta.one_allowed_collections};default:return{relationType:null,relatedCollections:[]}}}function g(x){var S;return[...o.getRelationsForField(x.collection,x.field),...((S=e==null?void 0:e.value)==null?void 0:S.relations)||[]].find(O=>{var w;return O.collection===x.collection&&O.field===x.field||O.related_collection===x.collection&&((w=O.meta)==null?void 0:w.one_field)===x.field})}function v([x,...k],S){let O=S==null?void 0:S.find(w=>w.field===x);if(O||(O=S==null?void 0:S.reduce((w,D)=>(D.group===!0&&D.children&&D.children.length>0&&w.push(...D.children),w),[]).find(w=>w.field===x)),!!O)return k.length?v(k,O.children):O}function b(x){var k;if(!a.value.has(x)){a.value.add(x);const S=v(x.split("."),r.value);S&&((k=S.children)==null?void 0:k.length)===1&&S.children[0]._loading&&(S.children=l(S.relatedCollection,S));for(const O of(S==null?void 0:S.children)||[])O!=null&&O.relatedCollection&&(O.children=l(O.relatedCollection,O))}}}const Sve={class:"system-display-template"},Eve=Lt({__name:"system-display-template",props:{value:{},placeholder:{},disabled:{type:Boolean},collectionField:{},collectionName:{},fields:{},injectVersionField:{type:Boolean}},emits:["input"],setup(n){const e=n,{t}=vn(),i=gr(),o=ku("values",Pe({})),r=we(()=>{if(!e.collectionField)return e.collectionName?e.collectionName:null;const f=o.value[e.collectionField];return!!i.collections.find(v=>v.collection===f)===!1?null:f}),a=we(()=>!e.injectVersionField||!o.value.versioning?null:{fields:[{collection:h(r),field:"$version",schema:null,name:t("version"),type:"integer",meta:{id:-1,collection:h(r),field:"$version",sort:null,special:null,interface:null,options:null,display:null,display_options:null,hidden:!1,translations:null,readonly:!0,width:"full",group:null,note:null,required:!1,conditions:null,validation:null,validation_message:null}}]}),{treeList:s,loadFieldRelations:l}=k8(r,a),d=we(()=>e.fields?{list:e.fields}:r.value===null?null:{list:s.value,pathLoader:l});return(f,g)=>{const v=q("v-notice"),b=q("v-field-template");return V(),De("div",Sve,[d.value===null?(V(),me(v,{key:0},{default:P(()=>[Fe(de(h(t)("interfaces.system-display-template.select_a_collection")),1)]),_:1})):(V(),me(b,{key:1,tree:d.value.list,"model-value":f.value,disabled:f.disabled,placeholder:f.placeholder,"load-path-level":d.value.pathLoader,"onUpdate:modelValue":g[0]||(g[0]=x=>f.$emit("input",x))},null,8,["tree","model-value","disabled","placeholder","load-path-level"]))])}}}),Ave=ha({id:"system-display-template",name:"$t:interfaces.system-display-template.display-template",description:"$t:interfaces.system-display-template.description",icon:"arrow_drop_down_circle",component:Eve,types:["string"],system:!0,options:[{field:"collectionField",name:"$t:interfaces.system-display-template.collection_field",type:"string",meta:{width:"full",interface:"input"}}]}),Tve=Lt({__name:"system-display",props:{value:{},typeField:{}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=vn(),{displays:r}=Bd(),a=ku("values",Pe({})),s=we(()=>{if(!(!t.typeField||!a.value[t.typeField]))return a.value[t.typeField]});ii(()=>a.value[t.typeField],()=>{i("input",null)});const l=we(()=>r.value.filter(d=>{var f;return(((f=d.localTypes)==null?void 0:f.length)??0)===0}).filter(d=>s.value===void 0||d.types.includes(s.value)).map(d=>({text:d.name,value:d.id})));return(d,f)=>{const g=q("v-notice"),v=q("v-select");return s.value===void 0?(V(),me(g,{key:0},{default:P(()=>[Fe(de(h(o)("select_field_type")),1)]),_:1})):(V(),me(v,{key:1,items:l.value,"model-value":d.value,placeholder:h(o)("interfaces.system-display.placeholder"),"show-deselect":"","onUpdate:modelValue":f[0]||(f[0]=b=>d.$emit("input",b))},null,8,["items","model-value","placeholder"]))}}}),Lve=ha({id:"system-display",name:"$t:interfaces.system-display.display",description:"$t:interfaces.system-display.description",icon:"box",component:Tve,types:["string"],system:!0,options:[]}),Ive={key:2,class:"system-field-tree"},Mve=Lt({__name:"system-field-tree",props:{collectionField:{},collectionName:{},value:{},disabled:{type:Boolean},placeholder:{},allowNone:{type:Boolean}},emits:["input"],setup(n){const e=n,{t}=vn(),i=ku("values",Pe({})),o=we(()=>i.value[e.collectionField]||e.collectionName),{treeList:r,loadFieldRelations:a}=k8(o);return(s,l)=>{const d=q("v-notice"),f=q("v-checkbox-tree");return!s.collectionField&&!s.collectionName?(V(),me(d,{key:0,type:"warning"},{default:P(()=>[Fe(de(h(t)("collection_field_not_setup")),1)]),_:1})):o.value?(V(),De("div",Ive,[A(f,{"model-value":s.value,disabled:s.disabled,choices:h(r),"item-text":"name","item-value":"key","value-combining":"exclusive","onUpdate:modelValue":l[0]||(l[0]=g=>s.$emit("input",g)),onGroupToggle:l[1]||(l[1]=g=>h(a)(g.value))},null,8,["model-value","disabled","choices"])])):(V(),me(d,{key:1,type:"warning"},{default:P(()=>[Fe(de(h(t)("select_a_collection")),1)]),_:1}))}}}),Dve=qt(Mve,[["__scopeId","data-v-07a12b25"]]),Pve=ha({id:"system-field-tree",name:"$t:field",icon:"box",component:Dve,types:["string"],options:[],system:!0}),Ove=Lt({__name:"system-field",props:{value:{},collectionField:{},collectionName:{},typeAllowList:{default:()=>[]},disabled:{type:Boolean},placeholder:{},allowNone:{type:Boolean},allowPrimaryKey:{type:Boolean},allowForeignKeys:{type:Boolean,default:!0}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=vn(),r=xo(),a=ku("values",Pe({})),s=we(()=>a.value[t.collectionField]||t.collectionName),l=we(()=>!t.collectionField&&!t.collectionName?[]:r.getFieldsForCollection(s.value));ii(s,(f,g)=>{g&&f!==g&&i("input",null)});const d=we(()=>l.value.map(f=>{var v,b;let g=!1;return t.allowPrimaryKey===!1&&((v=f==null?void 0:f.schema)==null?void 0:v.is_primary_key)===!0&&(g=!0),t.allowForeignKeys===!1&&((b=f==null?void 0:f.schema)!=null&&b.foreign_key_table)&&(g=!0),t.typeAllowList.length>0&&t.typeAllowList.includes(f.type)===!1&&(g=!0),{text:f.name,value:f.field,disabled:g}}));return(f,g)=>{const v=q("v-notice"),b=q("v-select");return!f.collectionField&&!f.collectionName?(V(),me(v,{key:0,type:"warning"},{default:P(()=>[Fe(de(h(o)("collection_field_not_setup")),1)]),_:1})):d.value.length===0?(V(),me(v,{key:1,type:"warning"},{default:P(()=>[Fe(de(h(o)("select_a_collection")),1)]),_:1})):(V(),me(b,{key:2,"show-deselect":f.allowNone,"model-value":f.value,disabled:f.disabled,items:d.value,placeholder:f.placeholder||h(o)("select_a_field"),"onUpdate:modelValue":g[0]||(g[0]=x=>f.$emit("input",x))},null,8,["show-deselect","model-value","disabled","items","placeholder"]))}}}),Rve=ha({id:"system-field",name:"$t:field",icon:"box",component:Ove,types:["string"],options:[],system:!0});var eO={exports:{}};const Fve=nC(nU);/**!
|
|
55
55
|
* Sortable 1.14.0
|
|
@@ -60,7 +60,7 @@ Please use **Flows** with the [Webhook / Request URL operation](https://docs.dir
|
|
|
60
60
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Wve="1.14.0";function Zm(n){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(n)}var d2=Zm(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),__=Zm(/Edge/i),LA=Zm(/firefox/i),p4=Zm(/safari/i)&&!Zm(/chrome/i)&&!Zm(/android/i),tO=Zm(/iP(ad|od|hone)/i),qve=Zm(/chrome/i)&&Zm(/android/i),nO={capture:!1,passive:!1};function os(n,e,t){n.addEventListener(e,t,!d2&&nO)}function Wr(n,e,t){n.removeEventListener(e,t,!d2&&nO)}function wb(n,e){if(e){if(e[0]===">"&&(e=e.substring(1)),n)try{if(n.matches)return n.matches(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e)}catch{return!1}return!1}}function Gve(n){return n.host&&n!==document&&n.host.nodeType?n.host:n.parentNode}function uh(n,e,t,i){if(n){t=t||document;do{if(e!=null&&(e[0]===">"?n.parentNode===t&&wb(n,e):wb(n,e))||i&&n===t)return n;if(n===t)break}while(n=Gve(n))}return null}var IA=/\s+/g;function zc(n,e,t){if(n&&e)if(n.classList)n.classList[t?"add":"remove"](e);else{var i=(" "+n.className+" ").replace(IA," ").replace(" "+e+" "," ");n.className=(i+(t?" "+e:"")).replace(IA," ")}}function sa(n,e,t){var i=n&&n.style;if(i){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(n,""):n.currentStyle&&(t=n.currentStyle),e===void 0?t:t[e];!(e in i)&&e.indexOf("webkit")===-1&&(e="-webkit-"+e),i[e]=t+(typeof t=="string"?"":"px")}}function wg(n,e){var t="";if(typeof n=="string")t=n;else do{var i=sa(n,"transform");i&&i!=="none"&&(t=i+" "+t)}while(!e&&(n=n.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(t)}function iO(n,e,t){if(n){var i=n.getElementsByTagName(e),o=0,r=i.length;if(t)for(;o<r;o++)t(i[o],o);return i}return[]}function im(){var n=document.scrollingElement;return n||document.documentElement}function _c(n,e,t,i,o){if(!(!n.getBoundingClientRect&&n!==window)){var r,a,s,l,d,f,g;if(n!==window&&n.parentNode&&n!==im()?(r=n.getBoundingClientRect(),a=r.top,s=r.left,l=r.bottom,d=r.right,f=r.height,g=r.width):(a=0,s=0,l=window.innerHeight,d=window.innerWidth,f=window.innerHeight,g=window.innerWidth),(e||t)&&n!==window&&(o=o||n.parentNode,!d2))do if(o&&o.getBoundingClientRect&&(sa(o,"transform")!=="none"||t&&sa(o,"position")!=="static")){var v=o.getBoundingClientRect();a-=v.top+parseInt(sa(o,"border-top-width")),s-=v.left+parseInt(sa(o,"border-left-width")),l=a+r.height,d=s+r.width;break}while(o=o.parentNode);if(i&&n!==window){var b=wg(o||n),x=b&&b.a,k=b&&b.d;b&&(a/=k,s/=x,g/=x,f/=k,l=a+f,d=s+g)}return{top:a,left:s,bottom:l,right:d,width:g,height:f}}}function MA(n,e,t){for(var i=W2(n,!0),o=_c(n)[e];i;){var r=_c(i)[t],a=void 0;if(a=o>=r,!a)return i;if(i===im())break;i=W2(i,!1)}return!1}function x3(n,e,t,i){for(var o=0,r=0,a=n.children;r<a.length;){if(a[r].style.display!=="none"&&a[r]!==Ua.ghost&&(i||a[r]!==Ua.dragged)&&uh(a[r],t.draggable,n,!1)){if(o===e)return a[r];o++}r++}return null}function EC(n,e){for(var t=n.lastElementChild;t&&(t===Ua.ghost||sa(t,"display")==="none"||e&&!wb(t,e));)t=t.previousElementSibling;return t||null}function ou(n,e){var t=0;if(!n||!n.parentNode)return-1;for(;n=n.previousElementSibling;)n.nodeName.toUpperCase()!=="TEMPLATE"&&n!==Ua.clone&&(!e||wb(n,e))&&t++;return t}function DA(n){var e=0,t=0,i=im();if(n)do{var o=wg(n),r=o.a,a=o.d;e+=n.scrollLeft*r,t+=n.scrollTop*a}while(n!==i&&(n=n.parentNode));return[e,t]}function Yve(n,e){for(var t in n)if(n.hasOwnProperty(t)){for(var i in e)if(e.hasOwnProperty(i)&&e[i]===n[t][i])return Number(t)}return-1}function W2(n,e){if(!n||!n.getBoundingClientRect)return im();var t=n,i=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var o=sa(t);if(t.clientWidth<t.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return im();if(i||e)return t;i=!0}}while(t=t.parentNode);return im()}function Xve(n,e){if(n&&e)for(var t in e)e.hasOwnProperty(t)&&(n[t]=e[t]);return n}function h9(n,e){return Math.round(n.top)===Math.round(e.top)&&Math.round(n.left)===Math.round(e.left)&&Math.round(n.height)===Math.round(e.height)&&Math.round(n.width)===Math.round(e.width)}var h4;function oO(n,e){return function(){if(!h4){var t=arguments,i=this;t.length===1?n.call(i,t[0]):n.apply(i,t),h4=setTimeout(function(){h4=void 0},e)}}}function Kve(){clearTimeout(h4),h4=void 0}function aO(n,e,t){n.scrollLeft+=e,n.scrollTop+=t}function AC(n){var e=window.Polymer,t=window.jQuery||window.Zepto;return e&&e.dom?e.dom(n).cloneNode(!0):t?t(n).clone(!0)[0]:n.cloneNode(!0)}function PA(n,e){sa(n,"position","absolute"),sa(n,"top",e.top),sa(n,"left",e.left),sa(n,"width",e.width),sa(n,"height",e.height)}function m9(n){sa(n,"position",""),sa(n,"top",""),sa(n,"left",""),sa(n,"width",""),sa(n,"height","")}var bf="Sortable"+new Date().getTime();function Zve(){var n=[],e;return{captureAnimationState:function(){if(n=[],!!this.options.animation){var i=[].slice.call(this.el.children);i.forEach(function(o){if(!(sa(o,"display")==="none"||o===Ua.ghost)){n.push({target:o,rect:_c(o)});var r=um({},n[n.length-1].rect);if(o.thisAnimationDuration){var a=wg(o,!0);a&&(r.top-=a.f,r.left-=a.e)}o.fromRect=r}})}},addAnimationState:function(i){n.push(i)},removeAnimationState:function(i){n.splice(Yve(n,{target:i}),1)},animateAll:function(i){var o=this;if(!this.options.animation){clearTimeout(e),typeof i=="function"&&i();return}var r=!1,a=0;n.forEach(function(s){var l=0,d=s.target,f=d.fromRect,g=_c(d),v=d.prevFromRect,b=d.prevToRect,x=s.rect,k=wg(d,!0);k&&(g.top-=k.f,g.left-=k.e),d.toRect=g,d.thisAnimationDuration&&h9(v,g)&&!h9(f,g)&&(x.top-g.top)/(x.left-g.left)===(f.top-g.top)/(f.left-g.left)&&(l=Qve(x,v,b,o.options)),h9(g,f)||(d.prevFromRect=f,d.prevToRect=g,l||(l=o.options.animation),o.animate(d,x,g,l)),l&&(r=!0,a=Math.max(a,l),clearTimeout(d.animationResetTimer),d.animationResetTimer=setTimeout(function(){d.animationTime=0,d.prevFromRect=null,d.fromRect=null,d.prevToRect=null,d.thisAnimationDuration=null},l),d.thisAnimationDuration=l)}),clearTimeout(e),r?e=setTimeout(function(){typeof i=="function"&&i()},a):typeof i=="function"&&i(),n=[]},animate:function(i,o,r,a){if(a){sa(i,"transition",""),sa(i,"transform","");var s=wg(this.el),l=s&&s.a,d=s&&s.d,f=(o.left-r.left)/(l||1),g=(o.top-r.top)/(d||1);i.animatingX=!!f,i.animatingY=!!g,sa(i,"transform","translate3d("+f+"px,"+g+"px,0)"),this.forRepaintDummy=Jve(i),sa(i,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),sa(i,"transform","translate3d(0,0,0)"),typeof i.animated=="number"&&clearTimeout(i.animated),i.animated=setTimeout(function(){sa(i,"transition",""),sa(i,"transform",""),i.animated=!1,i.animatingX=!1,i.animatingY=!1},a)}}}}function Jve(n){return n.offsetWidth}function Qve(n,e,t,i){return Math.sqrt(Math.pow(e.top-n.top,2)+Math.pow(e.left-n.left,2))/Math.sqrt(Math.pow(e.top-t.top,2)+Math.pow(e.left-t.left,2))*i.animation}var h0=[],v9={initializeByDefault:!0},b_={mount:function(e){for(var t in v9)v9.hasOwnProperty(t)&&!(t in e)&&(e[t]=v9[t]);h0.forEach(function(i){if(i.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),h0.push(e)},pluginEvent:function(e,t,i){var o=this;this.eventCanceled=!1,i.cancel=function(){o.eventCanceled=!0};var r=e+"Global";h0.forEach(function(a){t[a.pluginName]&&(t[a.pluginName][r]&&t[a.pluginName][r](um({sortable:t},i)),t.options[a.pluginName]&&t[a.pluginName][e]&&t[a.pluginName][e](um({sortable:t},i)))})},initializePlugins:function(e,t,i,o){h0.forEach(function(s){var l=s.pluginName;if(!(!e.options[l]&&!s.initializeByDefault)){var d=new s(e,t,e.options);d.sortable=e,d.options=e.options,e[l]=d,Hp(i,d.defaults)}});for(var r in e.options)if(e.options.hasOwnProperty(r)){var a=this.modifyOption(e,r,e.options[r]);typeof a<"u"&&(e.options[r]=a)}},getEventProperties:function(e,t){var i={};return h0.forEach(function(o){typeof o.eventProperties=="function"&&Hp(i,o.eventProperties.call(t[o.pluginName],e))}),i},modifyOption:function(e,t,i){var o;return h0.forEach(function(r){e[r.pluginName]&&r.optionListeners&&typeof r.optionListeners[t]=="function"&&(o=r.optionListeners[t].call(e[r.pluginName],i))}),o}};function Ky(n){var e=n.sortable,t=n.rootEl,i=n.name,o=n.targetEl,r=n.cloneEl,a=n.toEl,s=n.fromEl,l=n.oldIndex,d=n.newIndex,f=n.oldDraggableIndex,g=n.newDraggableIndex,v=n.originalEvent,b=n.putSortable,x=n.extraEventProperties;if(e=e||t&&t[bf],!!e){var k,S=e.options,O="on"+i.charAt(0).toUpperCase()+i.substr(1);window.CustomEvent&&!d2&&!__?k=new CustomEvent(i,{bubbles:!0,cancelable:!0}):(k=document.createEvent("Event"),k.initEvent(i,!0,!0)),k.to=a||t,k.from=s||t,k.item=o||t,k.clone=r,k.oldIndex=l,k.newIndex=d,k.oldDraggableIndex=f,k.newDraggableIndex=g,k.originalEvent=v,k.pullMode=b?b.lastPutMode:void 0;var w=um(um({},x),b_.getEventProperties(i,e));for(var D in w)k[D]=w[D];t&&t.dispatchEvent(k),S[O]&&S[O].call(e,k)}}var ege=["evt"],y1=function(e,t){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=i.evt,r=Nve(i,ege);b_.pluginEvent.bind(Ua)(e,t,um({dragEl:To,parentEl:nu,ghostEl:wr,rootEl:gc,nextEl:cg,lastDownEl:j6,cloneEl:iu,cloneHidden:V2,dragStarted:Zy,putSortable:af,activeSortable:Ua.active,originalEvent:o,oldIndex:F0,oldDraggableIndex:m4,newIndex:Z1,newDraggableIndex:j2,hideGhostForTarget:cO,unhideGhostForTarget:uO,cloneNowHidden:function(){V2=!0},cloneNowShown:function(){V2=!1},dispatchSortableEvent:function(s){Wf({sortable:t,name:s,originalEvent:o})}},r))};function Wf(n){Ky(um({putSortable:af,cloneEl:iu,targetEl:To,rootEl:gc,oldIndex:F0,oldDraggableIndex:m4,newIndex:Z1,newDraggableIndex:j2},n))}var To,nu,wr,gc,cg,j6,iu,V2,F0,Z1,m4,j2,R5,af,T0=!1,kb=!1,Cb=[],tg,ah,g9,y9,OA,RA,Zy,m0,v4,g4=!1,F5=!1,V6,gf,_9=[],iw=!1,Sb=[],C8=typeof document<"u",z5=tO,FA=__||d2?"cssFloat":"float",tge=C8&&!qve&&!tO&&"draggable"in document.createElement("div"),rO=function(){if(C8){if(d2)return!1;var n=document.createElement("x");return n.style.cssText="pointer-events:auto",n.style.pointerEvents==="auto"}}(),sO=function(e,t){var i=sa(e),o=parseInt(i.width)-parseInt(i.paddingLeft)-parseInt(i.paddingRight)-parseInt(i.borderLeftWidth)-parseInt(i.borderRightWidth),r=x3(e,0,t),a=x3(e,1,t),s=r&&sa(r),l=a&&sa(a),d=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+_c(r).width,f=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+_c(a).width;if(i.display==="flex")return i.flexDirection==="column"||i.flexDirection==="column-reverse"?"vertical":"horizontal";if(i.display==="grid")return i.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&s.float&&s.float!=="none"){var g=s.float==="left"?"left":"right";return a&&(l.clear==="both"||l.clear===g)?"vertical":"horizontal"}return r&&(s.display==="block"||s.display==="flex"||s.display==="table"||s.display==="grid"||d>=o&&i[FA]==="none"||a&&i[FA]==="none"&&d+f>o)?"vertical":"horizontal"},nge=function(e,t,i){var o=i?e.left:e.top,r=i?e.right:e.bottom,a=i?e.width:e.height,s=i?t.left:t.top,l=i?t.right:t.bottom,d=i?t.width:t.height;return o===s||r===l||o+a/2===s+d/2},ige=function(e,t){var i;return Cb.some(function(o){var r=o[bf].options.emptyInsertThreshold;if(!(!r||EC(o))){var a=_c(o),s=e>=a.left-r&&e<=a.right+r,l=t>=a.top-r&&t<=a.bottom+r;if(s&&l)return i=o}}),i},lO=function(e){function t(r,a){return function(s,l,d,f){var g=s.options.group.name&&l.options.group.name&&s.options.group.name===l.options.group.name;if(r==null&&(a||g))return!0;if(r==null||r===!1)return!1;if(a&&r==="clone")return r;if(typeof r=="function")return t(r(s,l,d,f),a)(s,l,d,f);var v=(a?s:l).options.group.name;return r===!0||typeof r=="string"&&r===v||r.join&&r.indexOf(v)>-1}}var i={},o=e.group;(!o||B6(o)!="object")&&(o={name:o}),i.name=o.name,i.checkPull=t(o.pull,!0),i.checkPut=t(o.put),i.revertClone=o.revertClone,e.group=i},cO=function(){!rO&&wr&&sa(wr,"display","none")},uO=function(){!rO&&wr&&sa(wr,"display","")};C8&&document.addEventListener("click",function(n){if(kb)return n.preventDefault(),n.stopPropagation&&n.stopPropagation(),n.stopImmediatePropagation&&n.stopImmediatePropagation(),kb=!1,!1},!0);var ng=function(e){if(To){e=e.touches?e.touches[0]:e;var t=ige(e.clientX,e.clientY);if(t){var i={};for(var o in e)e.hasOwnProperty(o)&&(i[o]=e[o]);i.target=i.rootEl=t,i.preventDefault=void 0,i.stopPropagation=void 0,t[bf]._onDragOver(i)}}},oge=function(e){To&&To.parentNode[bf]._isOutsideThisEl(e.target)};function Ua(n,e){if(!(n&&n.nodeType&&n.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));this.el=n,this.options=e=Hp({},e),n[bf]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(n.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return sO(n,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(a,s){a.setData("Text",s.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Ua.supportPointer!==!1&&"PointerEvent"in window&&!p4,emptyInsertThreshold:5};b_.initializePlugins(this,n,t);for(var i in t)!(i in e)&&(e[i]=t[i]);lO(e);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=e.forceFallback?!1:tge,this.nativeDraggable&&(this.options.touchStartThreshold=1),e.supportPointer?os(n,"pointerdown",this._onTapStart):(os(n,"mousedown",this._onTapStart),os(n,"touchstart",this._onTapStart)),this.nativeDraggable&&(os(n,"dragover",this),os(n,"dragenter",this)),Cb.push(this.el),e.store&&e.store.get&&this.sort(e.store.get(this)||[]),Hp(this,Zve())}Ua.prototype={constructor:Ua,_isOutsideThisEl:function(e){!this.el.contains(e)&&e!==this.el&&(m0=null)},_getDirection:function(e,t){return typeof this.options.direction=="function"?this.options.direction.call(this,e,t,To):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,i=this.el,o=this.options,r=o.preventOnFilter,a=e.type,s=e.touches&&e.touches[0]||e.pointerType&&e.pointerType==="touch"&&e,l=(s||e).target,d=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||l,f=o.filter;if(fge(i),!To&&!(/mousedown|pointerdown/.test(a)&&e.button!==0||o.disabled)&&!d.isContentEditable&&!(!this.nativeDraggable&&p4&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=uh(l,o.draggable,i,!1),!(l&&l.animated)&&j6!==l)){if(F0=ou(l),m4=ou(l,o.draggable),typeof f=="function"){if(f.call(this,e,l,this)){Wf({sortable:t,rootEl:d,name:"filter",targetEl:l,toEl:i,fromEl:i}),y1("filter",t,{evt:e}),r&&e.cancelable&&e.preventDefault();return}}else if(f&&(f=f.split(",").some(function(g){if(g=uh(d,g.trim(),i,!1),g)return Wf({sortable:t,rootEl:g,name:"filter",targetEl:l,fromEl:i,toEl:i}),y1("filter",t,{evt:e}),!0}),f)){r&&e.cancelable&&e.preventDefault();return}o.handle&&!uh(d,o.handle,i,!1)||this._prepareDragStart(e,s,l)}}},_prepareDragStart:function(e,t,i){var o=this,r=o.el,a=o.options,s=r.ownerDocument,l;if(i&&!To&&i.parentNode===r){var d=_c(i);if(gc=r,To=i,nu=To.parentNode,cg=To.nextSibling,j6=i,R5=a.group,Ua.dragged=To,tg={target:To,clientX:(t||e).clientX,clientY:(t||e).clientY},OA=tg.clientX-d.left,RA=tg.clientY-d.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,To.style["will-change"]="all",l=function(){if(y1("delayEnded",o,{evt:e}),Ua.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!LA&&o.nativeDraggable&&(To.draggable=!0),o._triggerDragStart(e,t),Wf({sortable:o,name:"choose",originalEvent:e}),zc(To,a.chosenClass,!0)},a.ignore.split(",").forEach(function(f){iO(To,f.trim(),b9)}),os(s,"dragover",ng),os(s,"mousemove",ng),os(s,"touchmove",ng),os(s,"mouseup",o._onDrop),os(s,"touchend",o._onDrop),os(s,"touchcancel",o._onDrop),LA&&this.nativeDraggable&&(this.options.touchStartThreshold=4,To.draggable=!0),y1("delayStart",this,{evt:e}),a.delay&&(!a.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(__||d2))){if(Ua.eventCanceled){this._onDrop();return}os(s,"mouseup",o._disableDelayedDrag),os(s,"touchend",o._disableDelayedDrag),os(s,"touchcancel",o._disableDelayedDrag),os(s,"mousemove",o._delayedDragTouchMoveHandler),os(s,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&os(s,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(l,a.delay)}else l()}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){To&&b9(To),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;Wr(e,"mouseup",this._disableDelayedDrag),Wr(e,"touchend",this._disableDelayedDrag),Wr(e,"touchcancel",this._disableDelayedDrag),Wr(e,"mousemove",this._delayedDragTouchMoveHandler),Wr(e,"touchmove",this._delayedDragTouchMoveHandler),Wr(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||e.pointerType=="touch"&&e,!this.nativeDraggable||t?this.options.supportPointer?os(document,"pointermove",this._onTouchMove):t?os(document,"touchmove",this._onTouchMove):os(document,"mousemove",this._onTouchMove):(os(To,"dragend",this),os(gc,"dragstart",this._onDragStart));try{document.selection?H6(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(e,t){if(T0=!1,gc&&To){y1("dragStarted",this,{evt:t}),this.nativeDraggable&&os(document,"dragover",oge);var i=this.options;!e&&zc(To,i.dragClass,!1),zc(To,i.ghostClass,!0),Ua.active=this,e&&this._appendGhost(),Wf({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(ah){this._lastX=ah.clientX,this._lastY=ah.clientY,cO();for(var e=document.elementFromPoint(ah.clientX,ah.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(ah.clientX,ah.clientY),e!==t);)t=e;if(To.parentNode[bf]._isOutsideThisEl(e),t)do{if(t[bf]){var i=void 0;if(i=t[bf]._onDragOver({clientX:ah.clientX,clientY:ah.clientY,target:e,rootEl:t}),i&&!this.options.dragoverBubble)break}e=t}while(t=t.parentNode);uO()}},_onTouchMove:function(e){if(tg){var t=this.options,i=t.fallbackTolerance,o=t.fallbackOffset,r=e.touches?e.touches[0]:e,a=wr&&wg(wr,!0),s=wr&&a&&a.a,l=wr&&a&&a.d,d=z5&&gf&&DA(gf),f=(r.clientX-tg.clientX+o.x)/(s||1)+(d?d[0]-_9[0]:0)/(s||1),g=(r.clientY-tg.clientY+o.y)/(l||1)+(d?d[1]-_9[1]:0)/(l||1);if(!Ua.active&&!T0){if(i&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<i)return;this._onDragStart(e,!0)}if(wr){a?(a.e+=f-(g9||0),a.f+=g-(y9||0)):a={a:1,b:0,c:0,d:1,e:f,f:g};var v="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");sa(wr,"webkitTransform",v),sa(wr,"mozTransform",v),sa(wr,"msTransform",v),sa(wr,"transform",v),g9=f,y9=g,ah=r}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!wr){var e=this.options.fallbackOnBody?document.body:gc,t=_c(To,!0,z5,!0,e),i=this.options;if(z5){for(gf=e;sa(gf,"position")==="static"&&sa(gf,"transform")==="none"&&gf!==document;)gf=gf.parentNode;gf!==document.body&&gf!==document.documentElement?(gf===document&&(gf=im()),t.top+=gf.scrollTop,t.left+=gf.scrollLeft):gf=im(),_9=DA(gf)}wr=To.cloneNode(!0),zc(wr,i.ghostClass,!1),zc(wr,i.fallbackClass,!0),zc(wr,i.dragClass,!0),sa(wr,"transition",""),sa(wr,"transform",""),sa(wr,"box-sizing","border-box"),sa(wr,"margin",0),sa(wr,"top",t.top),sa(wr,"left",t.left),sa(wr,"width",t.width),sa(wr,"height",t.height),sa(wr,"opacity","0.8"),sa(wr,"position",z5?"absolute":"fixed"),sa(wr,"zIndex","100000"),sa(wr,"pointerEvents","none"),Ua.ghost=wr,e.appendChild(wr),sa(wr,"transform-origin",OA/parseInt(wr.style.width)*100+"% "+RA/parseInt(wr.style.height)*100+"%")}},_onDragStart:function(e,t){var i=this,o=e.dataTransfer,r=i.options;if(y1("dragStart",this,{evt:e}),Ua.eventCanceled){this._onDrop();return}y1("setupClone",this),Ua.eventCanceled||(iu=AC(To),iu.draggable=!1,iu.style["will-change"]="",this._hideClone(),zc(iu,this.options.chosenClass,!1),Ua.clone=iu),i.cloneId=H6(function(){y1("clone",i),!Ua.eventCanceled&&(i.options.removeCloneOnHide||gc.insertBefore(iu,To),i._hideClone(),Wf({sortable:i,name:"clone"}))}),!t&&zc(To,r.dragClass,!0),t?(kb=!0,i._loopId=setInterval(i._emulateDragOver,50)):(Wr(document,"mouseup",i._onDrop),Wr(document,"touchend",i._onDrop),Wr(document,"touchcancel",i._onDrop),o&&(o.effectAllowed="move",r.setData&&r.setData.call(i,o,To)),os(document,"drop",i),sa(To,"transform","translateZ(0)")),T0=!0,i._dragStartId=H6(i._dragStarted.bind(i,t,e)),os(document,"selectstart",i),Zy=!0,p4&&sa(document.body,"user-select","none")},_onDragOver:function(e){var t=this.el,i=e.target,o,r,a,s=this.options,l=s.group,d=Ua.active,f=R5===l,g=s.sort,v=af||d,b,x=this,k=!1;if(iw)return;function S(Ce,je){y1(Ce,x,um({evt:e,isOwner:f,axis:b?"vertical":"horizontal",revert:a,dragRect:o,targetRect:r,canSort:g,fromSortable:v,target:i,completed:w,onMove:function(nt,Se){return $5(gc,t,To,o,nt,_c(nt),e,Se)},changed:D},je))}function O(){S("dragOverAnimationCapture"),x.captureAnimationState(),x!==v&&v.captureAnimationState()}function w(Ce){return S("dragOverCompleted",{insertion:Ce}),Ce&&(f?d._hideClone():d._showClone(x),x!==v&&(zc(To,af?af.options.ghostClass:d.options.ghostClass,!1),zc(To,s.ghostClass,!0)),af!==x&&x!==Ua.active?af=x:x===Ua.active&&af&&(af=null),v===x&&(x._ignoreWhileAnimating=i),x.animateAll(function(){S("dragOverAnimationComplete"),x._ignoreWhileAnimating=null}),x!==v&&(v.animateAll(),v._ignoreWhileAnimating=null)),(i===To&&!To.animated||i===t&&!i.animated)&&(m0=null),!s.dragoverBubble&&!e.rootEl&&i!==document&&(To.parentNode[bf]._isOutsideThisEl(e.target),!Ce&&ng(e)),!s.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),k=!0}function D(){Z1=ou(To),j2=ou(To,s.draggable),Wf({sortable:x,name:"change",toEl:t,newIndex:Z1,newDraggableIndex:j2,originalEvent:e})}if(e.preventDefault!==void 0&&e.cancelable&&e.preventDefault(),i=uh(i,s.draggable,t,!0),S("dragOver"),Ua.eventCanceled)return k;if(To.contains(e.target)||i.animated&&i.animatingX&&i.animatingY||x._ignoreWhileAnimating===i)return w(!1);if(kb=!1,d&&!s.disabled&&(f?g||(a=nu!==gc):af===this||(this.lastPutMode=R5.checkPull(this,d,To,e))&&l.checkPut(this,d,To,e))){if(b=this._getDirection(e,i)==="vertical",o=_c(To),S("dragOverValid"),Ua.eventCanceled)return k;if(a)return nu=gc,O(),this._hideClone(),S("revert"),Ua.eventCanceled||(cg?gc.insertBefore(To,cg):gc.appendChild(To)),w(!0);var I=EC(t,s.draggable);if(!I||lge(e,b,this)&&!I.animated){if(I===To)return w(!1);if(I&&t===e.target&&(i=I),i&&(r=_c(i)),$5(gc,t,To,o,i,r,e,!!i)!==!1)return O(),t.appendChild(To),nu=t,D(),w(!0)}else if(I&&sge(e,b,this)){var $=x3(t,0,s,!0);if($===To)return w(!1);if(i=$,r=_c(i),$5(gc,t,To,o,i,r,e,!1)!==!1)return O(),t.insertBefore(To,$),nu=t,D(),w(!0)}else if(i.parentNode===t){r=_c(i);var B=0,X,Y=To.parentNode!==t,Q=!nge(To.animated&&To.toRect||o,i.animated&&i.toRect||r,b),ue=b?"top":"left",ce=MA(i,"top","top")||MA(To,"top","top"),ve=ce?ce.scrollTop:void 0;m0!==i&&(X=r[ue],g4=!1,F5=!Q&&s.invertSwap||Y),B=cge(e,i,r,b,Q?1:s.swapThreshold,s.invertedSwapThreshold==null?s.swapThreshold:s.invertedSwapThreshold,F5,m0===i);var ie;if(B!==0){var se=ou(To);do se-=B,ie=nu.children[se];while(ie&&(sa(ie,"display")==="none"||ie===wr))}if(B===0||ie===i)return w(!1);m0=i,v4=B;var te=i.nextElementSibling,ye=!1;ye=B===1;var Ee=$5(gc,t,To,o,i,r,e,ye);if(Ee!==!1)return(Ee===1||Ee===-1)&&(ye=Ee===1),iw=!0,setTimeout(rge,30),O(),ye&&!te?t.appendChild(To):i.parentNode.insertBefore(To,ye?te:i),ce&&aO(ce,0,ve-ce.scrollTop),nu=To.parentNode,X!==void 0&&!F5&&(V6=Math.abs(X-_c(i)[ue])),D(),w(!0)}if(t.contains(To))return w(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Wr(document,"mousemove",this._onTouchMove),Wr(document,"touchmove",this._onTouchMove),Wr(document,"pointermove",this._onTouchMove),Wr(document,"dragover",ng),Wr(document,"mousemove",ng),Wr(document,"touchmove",ng)},_offUpEvents:function(){var e=this.el.ownerDocument;Wr(e,"mouseup",this._onDrop),Wr(e,"touchend",this._onDrop),Wr(e,"pointerup",this._onDrop),Wr(e,"touchcancel",this._onDrop),Wr(document,"selectstart",this)},_onDrop:function(e){var t=this.el,i=this.options;if(Z1=ou(To),j2=ou(To,i.draggable),y1("drop",this,{evt:e}),nu=To&&To.parentNode,Z1=ou(To),j2=ou(To,i.draggable),Ua.eventCanceled){this._nulling();return}T0=!1,F5=!1,g4=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ow(this.cloneId),ow(this._dragStartId),this.nativeDraggable&&(Wr(document,"drop",this),Wr(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),p4&&sa(document.body,"user-select",""),sa(To,"transform",""),e&&(Zy&&(e.cancelable&&e.preventDefault(),!i.dropBubble&&e.stopPropagation()),wr&&wr.parentNode&&wr.parentNode.removeChild(wr),(gc===nu||af&&af.lastPutMode!=="clone")&&iu&&iu.parentNode&&iu.parentNode.removeChild(iu),To&&(this.nativeDraggable&&Wr(To,"dragend",this),b9(To),To.style["will-change"]="",Zy&&!T0&&zc(To,af?af.options.ghostClass:this.options.ghostClass,!1),zc(To,this.options.chosenClass,!1),Wf({sortable:this,name:"unchoose",toEl:nu,newIndex:null,newDraggableIndex:null,originalEvent:e}),gc!==nu?(Z1>=0&&(Wf({rootEl:nu,name:"add",toEl:nu,fromEl:gc,originalEvent:e}),Wf({sortable:this,name:"remove",toEl:nu,originalEvent:e}),Wf({rootEl:nu,name:"sort",toEl:nu,fromEl:gc,originalEvent:e}),Wf({sortable:this,name:"sort",toEl:nu,originalEvent:e})),af&&af.save()):Z1!==F0&&Z1>=0&&(Wf({sortable:this,name:"update",toEl:nu,originalEvent:e}),Wf({sortable:this,name:"sort",toEl:nu,originalEvent:e})),Ua.active&&((Z1==null||Z1===-1)&&(Z1=F0,j2=m4),Wf({sortable:this,name:"end",toEl:nu,originalEvent:e}),this.save()))),this._nulling()},_nulling:function(){y1("nulling",this),gc=To=nu=wr=cg=iu=j6=V2=tg=ah=Zy=Z1=j2=F0=m4=m0=v4=af=R5=Ua.dragged=Ua.ghost=Ua.clone=Ua.active=null,Sb.forEach(function(e){e.checked=!0}),Sb.length=g9=y9=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":To&&(this._onDragOver(e),age(e));break;case"selectstart":e.preventDefault();break}},toArray:function(){for(var e=[],t,i=this.el.children,o=0,r=i.length,a=this.options;o<r;o++)t=i[o],uh(t,a.draggable,this.el,!1)&&e.push(t.getAttribute(a.dataIdAttr)||dge(t));return e},sort:function(e,t){var i={},o=this.el;this.toArray().forEach(function(r,a){var s=o.children[a];uh(s,this.options.draggable,o,!1)&&(i[r]=s)},this),t&&this.captureAnimationState(),e.forEach(function(r){i[r]&&(o.removeChild(i[r]),o.appendChild(i[r]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return uh(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var i=this.options;if(t===void 0)return i[e];var o=b_.modifyOption(this,e,t);typeof o<"u"?i[e]=o:i[e]=t,e==="group"&&lO(i)},destroy:function(){y1("destroy",this);var e=this.el;e[bf]=null,Wr(e,"mousedown",this._onTapStart),Wr(e,"touchstart",this._onTapStart),Wr(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(Wr(e,"dragover",this),Wr(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Cb.splice(Cb.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!V2){if(y1("hideClone",this),Ua.eventCanceled)return;sa(iu,"display","none"),this.options.removeCloneOnHide&&iu.parentNode&&iu.parentNode.removeChild(iu),V2=!0}},_showClone:function(e){if(e.lastPutMode!=="clone"){this._hideClone();return}if(V2){if(y1("showClone",this),Ua.eventCanceled)return;To.parentNode==gc&&!this.options.group.revertClone?gc.insertBefore(iu,To):cg?gc.insertBefore(iu,cg):gc.appendChild(iu),this.options.group.revertClone&&this.animate(To,iu),sa(iu,"display",""),V2=!1}}};function age(n){n.dataTransfer&&(n.dataTransfer.dropEffect="move"),n.cancelable&&n.preventDefault()}function $5(n,e,t,i,o,r,a,s){var l,d=n[bf],f=d.options.onMove,g;return window.CustomEvent&&!d2&&!__?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=e,l.from=n,l.dragged=t,l.draggedRect=i,l.related=o||e,l.relatedRect=r||_c(e),l.willInsertAfter=s,l.originalEvent=a,n.dispatchEvent(l),f&&(g=f.call(d,l,a)),g}function b9(n){n.draggable=!1}function rge(){iw=!1}function sge(n,e,t){var i=_c(x3(t.el,0,t.options,!0)),o=10;return e?n.clientX<i.left-o||n.clientY<i.top&&n.clientX<i.right:n.clientY<i.top-o||n.clientY<i.bottom&&n.clientX<i.left}function lge(n,e,t){var i=_c(EC(t.el,t.options.draggable)),o=10;return e?n.clientX>i.right+o||n.clientX<=i.right&&n.clientY>i.bottom&&n.clientX>=i.left:n.clientX>i.right&&n.clientY>i.top||n.clientX<=i.right&&n.clientY>i.bottom+o}function cge(n,e,t,i,o,r,a,s){var l=i?n.clientY:n.clientX,d=i?t.height:t.width,f=i?t.top:t.left,g=i?t.bottom:t.right,v=!1;if(!a){if(s&&V6<d*o){if(!g4&&(v4===1?l>f+d*r/2:l<g-d*r/2)&&(g4=!0),g4)v=!0;else if(v4===1?l<f+V6:l>g-V6)return-v4}else if(l>f+d*(1-o)/2&&l<g-d*(1-o)/2)return uge(e)}return v=v||a,v&&(l<f+d*r/2||l>g-d*r/2)?l>f+d/2?1:-1:0}function uge(n){return ou(To)<ou(n)?1:-1}function dge(n){for(var e=n.tagName+n.className+n.src+n.href+n.textContent,t=e.length,i=0;t--;)i+=e.charCodeAt(t);return i.toString(36)}function fge(n){Sb.length=0;for(var e=n.getElementsByTagName("input"),t=e.length;t--;){var i=e[t];i.checked&&Sb.push(i)}}function H6(n){return setTimeout(n,0)}function ow(n){return clearTimeout(n)}C8&&os(document,"touchmove",function(n){(Ua.active||T0)&&n.cancelable&&n.preventDefault()});Ua.utils={on:os,off:Wr,css:sa,find:iO,is:function(e,t){return!!uh(e,t,e,!1)},extend:Xve,throttle:oO,closest:uh,toggleClass:zc,clone:AC,index:ou,nextTick:H6,cancelNextTick:ow,detectDirection:sO,getChild:x3};Ua.get=function(n){return n[bf]};Ua.mount=function(){for(var n=arguments.length,e=new Array(n),t=0;t<n;t++)e[t]=arguments[t];e[0].constructor===Array&&(e=e[0]),e.forEach(function(i){if(!i.prototype||!i.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(i));i.utils&&(Ua.utils=um(um({},Ua.utils),i.utils)),b_.mount(i)})};Ua.create=function(n,e){return new Ua(n,e)};Ua.version=Wve;var Hu=[],Jy,aw,rw=!1,x9,w9,Eb,Qy;function pge(){function n(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var e in this)e.charAt(0)==="_"&&typeof this[e]=="function"&&(this[e]=this[e].bind(this))}return n.prototype={dragStarted:function(t){var i=t.originalEvent;this.sortable.nativeDraggable?os(document,"dragover",this._handleAutoScroll):this.options.supportPointer?os(document,"pointermove",this._handleFallbackAutoScroll):i.touches?os(document,"touchmove",this._handleFallbackAutoScroll):os(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var i=t.originalEvent;!this.options.dragOverBubble&&!i.rootEl&&this._handleAutoScroll(i)},drop:function(){this.sortable.nativeDraggable?Wr(document,"dragover",this._handleAutoScroll):(Wr(document,"pointermove",this._handleFallbackAutoScroll),Wr(document,"touchmove",this._handleFallbackAutoScroll),Wr(document,"mousemove",this._handleFallbackAutoScroll)),zA(),U6(),Kve()},nulling:function(){Eb=aw=Jy=rw=Qy=x9=w9=null,Hu.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,i){var o=this,r=(t.touches?t.touches[0]:t).clientX,a=(t.touches?t.touches[0]:t).clientY,s=document.elementFromPoint(r,a);if(Eb=t,i||this.options.forceAutoScrollFallback||__||d2||p4){k9(t,this.options,s,i);var l=W2(s,!0);rw&&(!Qy||r!==x9||a!==w9)&&(Qy&&zA(),Qy=setInterval(function(){var d=W2(document.elementFromPoint(r,a),!0);d!==l&&(l=d,U6()),k9(t,o.options,d,i)},10),x9=r,w9=a)}else{if(!this.options.bubbleScroll||W2(s,!0)===im()){U6();return}k9(t,this.options,W2(s,!1),!1)}}},Hp(n,{pluginName:"scroll",initializeByDefault:!0})}function U6(){Hu.forEach(function(n){clearInterval(n.pid)}),Hu=[]}function zA(){clearInterval(Qy)}var k9=oO(function(n,e,t,i){if(e.scroll){var o=(n.touches?n.touches[0]:n).clientX,r=(n.touches?n.touches[0]:n).clientY,a=e.scrollSensitivity,s=e.scrollSpeed,l=im(),d=!1,f;aw!==t&&(aw=t,U6(),Jy=e.scroll,f=e.scrollFn,Jy===!0&&(Jy=W2(t,!0)));var g=0,v=Jy;do{var b=v,x=_c(b),k=x.top,S=x.bottom,O=x.left,w=x.right,D=x.width,I=x.height,$=void 0,B=void 0,X=b.scrollWidth,Y=b.scrollHeight,Q=sa(b),ue=b.scrollLeft,ce=b.scrollTop;b===l?($=D<X&&(Q.overflowX==="auto"||Q.overflowX==="scroll"||Q.overflowX==="visible"),B=I<Y&&(Q.overflowY==="auto"||Q.overflowY==="scroll"||Q.overflowY==="visible")):($=D<X&&(Q.overflowX==="auto"||Q.overflowX==="scroll"),B=I<Y&&(Q.overflowY==="auto"||Q.overflowY==="scroll"));var ve=$&&(Math.abs(w-o)<=a&&ue+D<X)-(Math.abs(O-o)<=a&&!!ue),ie=B&&(Math.abs(S-r)<=a&&ce+I<Y)-(Math.abs(k-r)<=a&&!!ce);if(!Hu[g])for(var se=0;se<=g;se++)Hu[se]||(Hu[se]={});(Hu[g].vx!=ve||Hu[g].vy!=ie||Hu[g].el!==b)&&(Hu[g].el=b,Hu[g].vx=ve,Hu[g].vy=ie,clearInterval(Hu[g].pid),(ve!=0||ie!=0)&&(d=!0,Hu[g].pid=setInterval((function(){i&&this.layer===0&&Ua.active._onTouchMove(Eb);var te=Hu[this.layer].vy?Hu[this.layer].vy*s:0,ye=Hu[this.layer].vx?Hu[this.layer].vx*s:0;typeof f=="function"&&f.call(Ua.dragged.parentNode[bf],ye,te,n,Eb,Hu[this.layer].el)!=="continue"||aO(Hu[this.layer].el,ye,te)}).bind({layer:g}),24))),g++}while(e.bubbleScroll&&v!==l&&(v=W2(v,!1)));rw=d}},30),dO=function(e){var t=e.originalEvent,i=e.putSortable,o=e.dragEl,r=e.activeSortable,a=e.dispatchSortableEvent,s=e.hideGhostForTarget,l=e.unhideGhostForTarget;if(t){var d=i||r;s();var f=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,g=document.elementFromPoint(f.clientX,f.clientY);l(),d&&!d.el.contains(g)&&(a("spill"),this.onSpill({dragEl:o,putSortable:i}))}};function TC(){}TC.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,i=e.putSortable;this.sortable.captureAnimationState(),i&&i.captureAnimationState();var o=x3(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(t,o):this.sortable.el.appendChild(t),this.sortable.animateAll(),i&&i.animateAll()},drop:dO};Hp(TC,{pluginName:"revertOnSpill"});function LC(){}LC.prototype={onSpill:function(e){var t=e.dragEl,i=e.putSortable,o=i||this.sortable;o.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),o.animateAll()},drop:dO};Hp(LC,{pluginName:"removeOnSpill"});var Tp;function hge(){function n(){this.defaults={swapClass:"sortable-swap-highlight"}}return n.prototype={dragStart:function(t){var i=t.dragEl;Tp=i},dragOverValid:function(t){var i=t.completed,o=t.target,r=t.onMove,a=t.activeSortable,s=t.changed,l=t.cancel;if(a.options.swap){var d=this.sortable.el,f=this.options;if(o&&o!==d){var g=Tp;r(o)!==!1?(zc(o,f.swapClass,!0),Tp=o):Tp=null,g&&g!==Tp&&zc(g,f.swapClass,!1)}s(),i(!0),l()}},drop:function(t){var i=t.activeSortable,o=t.putSortable,r=t.dragEl,a=o||this.sortable,s=this.options;Tp&&zc(Tp,s.swapClass,!1),Tp&&(s.swap||o&&o.options.swap)&&r!==Tp&&(a.captureAnimationState(),a!==i&&i.captureAnimationState(),mge(r,Tp),a.animateAll(),a!==i&&i.animateAll())},nulling:function(){Tp=null}},Hp(n,{pluginName:"swap",eventProperties:function(){return{swapItem:Tp}}})}function mge(n,e){var t=n.parentNode,i=e.parentNode,o,r;!t||!i||t.isEqualNode(e)||i.isEqualNode(n)||(o=ou(n),r=ou(e),t.isEqualNode(i)&&o<r&&r++,t.insertBefore(e,t.children[o]),i.insertBefore(n,i.children[r]))}var pr=[],Y1=[],Iy,rh,My=!1,_1=!1,v0=!1,Vl,Dy,N5;function vge(){function n(e){for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this));e.options.supportPointer?os(document,"pointerup",this._deselectMultiDrag):(os(document,"mouseup",this._deselectMultiDrag),os(document,"touchend",this._deselectMultiDrag)),os(document,"keydown",this._checkKeyDown),os(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(o,r){var a="";pr.length&&rh===e?pr.forEach(function(s,l){a+=(l?", ":"")+s.textContent}):a=r.textContent,o.setData("Text",a)}}}return n.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(t){var i=t.dragEl;Vl=i},delayEnded:function(){this.isMultiDrag=~pr.indexOf(Vl)},setupClone:function(t){var i=t.sortable,o=t.cancel;if(this.isMultiDrag){for(var r=0;r<pr.length;r++)Y1.push(AC(pr[r])),Y1[r].sortableIndex=pr[r].sortableIndex,Y1[r].draggable=!1,Y1[r].style["will-change"]="",zc(Y1[r],this.options.selectedClass,!1),pr[r]===Vl&&zc(Y1[r],this.options.chosenClass,!1);i._hideClone(),o()}},clone:function(t){var i=t.sortable,o=t.rootEl,r=t.dispatchSortableEvent,a=t.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||pr.length&&rh===i&&($A(!0,o),r("clone"),a()))},showClone:function(t){var i=t.cloneNowShown,o=t.rootEl,r=t.cancel;this.isMultiDrag&&($A(!1,o),Y1.forEach(function(a){sa(a,"display","")}),i(),N5=!1,r())},hideClone:function(t){var i=this;t.sortable;var o=t.cloneNowHidden,r=t.cancel;this.isMultiDrag&&(Y1.forEach(function(a){sa(a,"display","none"),i.options.removeCloneOnHide&&a.parentNode&&a.parentNode.removeChild(a)}),o(),N5=!0,r())},dragStartGlobal:function(t){t.sortable,!this.isMultiDrag&&rh&&rh.multiDrag._deselectMultiDrag(),pr.forEach(function(i){i.sortableIndex=ou(i)}),pr=pr.sort(function(i,o){return i.sortableIndex-o.sortableIndex}),v0=!0},dragStarted:function(t){var i=this,o=t.sortable;if(this.isMultiDrag){if(this.options.sort&&(o.captureAnimationState(),this.options.animation)){pr.forEach(function(a){a!==Vl&&sa(a,"position","absolute")});var r=_c(Vl,!1,!0,!0);pr.forEach(function(a){a!==Vl&&PA(a,r)}),_1=!0,My=!0}o.animateAll(function(){_1=!1,My=!1,i.options.animation&&pr.forEach(function(a){m9(a)}),i.options.sort&&B5()})}},dragOver:function(t){var i=t.target,o=t.completed,r=t.cancel;_1&&~pr.indexOf(i)&&(o(!1),r())},revert:function(t){var i=t.fromSortable,o=t.rootEl,r=t.sortable,a=t.dragRect;pr.length>1&&(pr.forEach(function(s){r.addAnimationState({target:s,rect:_1?_c(s):a}),m9(s),s.fromRect=a,i.removeAnimationState(s)}),_1=!1,gge(!this.options.removeCloneOnHide,o))},dragOverCompleted:function(t){var i=t.sortable,o=t.isOwner,r=t.insertion,a=t.activeSortable,s=t.parentEl,l=t.putSortable,d=this.options;if(r){if(o&&a._hideClone(),My=!1,d.animation&&pr.length>1&&(_1||!o&&!a.options.sort&&!l)){var f=_c(Vl,!1,!0,!0);pr.forEach(function(v){v!==Vl&&(PA(v,f),s.appendChild(v))}),_1=!0}if(!o)if(_1||B5(),pr.length>1){var g=N5;a._showClone(i),a.options.animation&&!N5&&g&&Y1.forEach(function(v){a.addAnimationState({target:v,rect:Dy}),v.fromRect=Dy,v.thisAnimationDuration=null})}else a._showClone(i)}},dragOverAnimationCapture:function(t){var i=t.dragRect,o=t.isOwner,r=t.activeSortable;if(pr.forEach(function(s){s.thisAnimationDuration=null}),r.options.animation&&!o&&r.multiDrag.isMultiDrag){Dy=Hp({},i);var a=wg(Vl,!0);Dy.top-=a.f,Dy.left-=a.e}},dragOverAnimationComplete:function(){_1&&(_1=!1,B5())},drop:function(t){var i=t.originalEvent,o=t.rootEl,r=t.parentEl,a=t.sortable,s=t.dispatchSortableEvent,l=t.oldIndex,d=t.putSortable,f=d||this.sortable;if(i){var g=this.options,v=r.children;if(!v0)if(g.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),zc(Vl,g.selectedClass,!~pr.indexOf(Vl)),~pr.indexOf(Vl))pr.splice(pr.indexOf(Vl),1),Iy=null,Ky({sortable:a,rootEl:o,name:"deselect",targetEl:Vl,originalEvt:i});else{if(pr.push(Vl),Ky({sortable:a,rootEl:o,name:"select",targetEl:Vl,originalEvt:i}),i.shiftKey&&Iy&&a.el.contains(Iy)){var b=ou(Iy),x=ou(Vl);if(~b&&~x&&b!==x){var k,S;for(x>b?(S=b,k=x):(S=x,k=b+1);S<k;S++)~pr.indexOf(v[S])||(zc(v[S],g.selectedClass,!0),pr.push(v[S]),Ky({sortable:a,rootEl:o,name:"select",targetEl:v[S],originalEvt:i}))}}else Iy=Vl;rh=f}if(v0&&this.isMultiDrag){if(_1=!1,(r[bf].options.sort||r!==o)&&pr.length>1){var O=_c(Vl),w=ou(Vl,":not(."+this.options.selectedClass+")");if(!My&&g.animation&&(Vl.thisAnimationDuration=null),f.captureAnimationState(),!My&&(g.animation&&(Vl.fromRect=O,pr.forEach(function(I){if(I.thisAnimationDuration=null,I!==Vl){var $=_1?_c(I):O;I.fromRect=$,f.addAnimationState({target:I,rect:$})}})),B5(),pr.forEach(function(I){v[w]?r.insertBefore(I,v[w]):r.appendChild(I),w++}),l===ou(Vl))){var D=!1;pr.forEach(function(I){if(I.sortableIndex!==ou(I)){D=!0;return}}),D&&s("update")}pr.forEach(function(I){m9(I)}),f.animateAll()}rh=f}(o===r||d&&d.lastPutMode!=="clone")&&Y1.forEach(function(I){I.parentNode&&I.parentNode.removeChild(I)})}},nullingGlobal:function(){this.isMultiDrag=v0=!1,Y1.length=0},destroyGlobal:function(){this._deselectMultiDrag(),Wr(document,"pointerup",this._deselectMultiDrag),Wr(document,"mouseup",this._deselectMultiDrag),Wr(document,"touchend",this._deselectMultiDrag),Wr(document,"keydown",this._checkKeyDown),Wr(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(t){if(!(typeof v0<"u"&&v0)&&rh===this.sortable&&!(t&&uh(t.target,this.options.draggable,this.sortable.el,!1))&&!(t&&t.button!==0))for(;pr.length;){var i=pr[0];zc(i,this.options.selectedClass,!1),pr.shift(),Ky({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:i,originalEvt:t})}},_checkKeyDown:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(t){t.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Hp(n,{pluginName:"multiDrag",utils:{select:function(t){var i=t.parentNode[bf];!i||!i.options.multiDrag||~pr.indexOf(t)||(rh&&rh!==i&&(rh.multiDrag._deselectMultiDrag(),rh=i),zc(t,i.options.selectedClass,!0),pr.push(t))},deselect:function(t){var i=t.parentNode[bf],o=pr.indexOf(t);!i||!i.options.multiDrag||!~o||(zc(t,i.options.selectedClass,!1),pr.splice(o,1))}},eventProperties:function(){var t=this,i=[],o=[];return pr.forEach(function(r){i.push({multiDragElement:r,index:r.sortableIndex});var a;_1&&r!==Vl?a=-1:_1?a=ou(r,":not(."+t.options.selectedClass+")"):a=ou(r),o.push({multiDragElement:r,index:a})}),{items:Bve(pr),clones:[].concat(Y1),oldIndicies:i,newIndicies:o}},optionListeners:{multiDragKey:function(t){return t=t.toLowerCase(),t==="ctrl"?t="Control":t.length>1&&(t=t.charAt(0).toUpperCase()+t.substr(1)),t}}})}function gge(n,e){pr.forEach(function(t,i){var o=e.children[t.sortableIndex+(n?Number(i):0)];o?e.insertBefore(t,o):e.appendChild(t)})}function $A(n,e){Y1.forEach(function(t,i){var o=e.children[t.sortableIndex+(n?Number(i):0)];o?e.insertBefore(t,o):e.appendChild(t)})}function B5(){pr.forEach(function(n){n!==Vl&&n.parentNode&&n.parentNode.removeChild(n)})}Ua.mount(new pge);Ua.mount(LC,TC);const yge=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:vge,Sortable:Ua,Swap:hge,default:Ua},Symbol.toStringTag,{value:"Module"})),_ge=nC(yge);(function(n,e){(function(i,o){n.exports=o(Fve,_ge)})(typeof self<"u"?self:kr,function(t,i){return function(o){var r={};function a(s){if(r[s])return r[s].exports;var l=r[s]={i:s,l:!1,exports:{}};return o[s].call(l.exports,l,l.exports,a),l.l=!0,l.exports}return a.m=o,a.c=r,a.d=function(s,l,d){a.o(s,l)||Object.defineProperty(s,l,{enumerable:!0,get:d})},a.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},a.t=function(s,l){if(l&1&&(s=a(s)),l&8||l&4&&typeof s=="object"&&s&&s.__esModule)return s;var d=Object.create(null);if(a.r(d),Object.defineProperty(d,"default",{enumerable:!0,value:s}),l&2&&typeof s!="string")for(var f in s)a.d(d,f,(function(g){return s[g]}).bind(null,f));return d},a.n=function(s){var l=s&&s.__esModule?function(){return s.default}:function(){return s};return a.d(l,"a",l),l},a.o=function(s,l){return Object.prototype.hasOwnProperty.call(s,l)},a.p="",a(a.s="fb15")}({"00ee":function(o,r,a){var s=a("b622"),l=s("toStringTag"),d={};d[l]="z",o.exports=String(d)==="[object z]"},"0366":function(o,r,a){var s=a("1c0b");o.exports=function(l,d,f){if(s(l),d===void 0)return l;switch(f){case 0:return function(){return l.call(d)};case 1:return function(g){return l.call(d,g)};case 2:return function(g,v){return l.call(d,g,v)};case 3:return function(g,v,b){return l.call(d,g,v,b)}}return function(){return l.apply(d,arguments)}}},"057f":function(o,r,a){var s=a("fc6a"),l=a("241c").f,d={}.toString,f=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],g=function(v){try{return l(v)}catch{return f.slice()}};o.exports.f=function(b){return f&&d.call(b)=="[object Window]"?g(b):l(s(b))}},"06cf":function(o,r,a){var s=a("83ab"),l=a("d1e7"),d=a("5c6c"),f=a("fc6a"),g=a("c04e"),v=a("5135"),b=a("0cfb"),x=Object.getOwnPropertyDescriptor;r.f=s?x:function(S,O){if(S=f(S),O=g(O,!0),b)try{return x(S,O)}catch{}if(v(S,O))return d(!l.f.call(S,O),S[O])}},"0cfb":function(o,r,a){var s=a("83ab"),l=a("d039"),d=a("cc12");o.exports=!s&&!l(function(){return Object.defineProperty(d("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(o,r,a){var s=a("23e7"),l=a("d58f").left,d=a("a640"),f=a("ae40"),g=d("reduce"),v=f("reduce",{1:0});s({target:"Array",proto:!0,forced:!g||!v},{reduce:function(x){return l(this,x,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(o,r,a){var s=a("c6b6"),l=a("9263");o.exports=function(d,f){var g=d.exec;if(typeof g=="function"){var v=g.call(d,f);if(typeof v!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return v}if(s(d)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(d,f)}},"159b":function(o,r,a){var s=a("da84"),l=a("fdbc"),d=a("17c2"),f=a("9112");for(var g in l){var v=s[g],b=v&&v.prototype;if(b&&b.forEach!==d)try{f(b,"forEach",d)}catch{b.forEach=d}}},"17c2":function(o,r,a){var s=a("b727").forEach,l=a("a640"),d=a("ae40"),f=l("forEach"),g=d("forEach");o.exports=!f||!g?function(b){return s(this,b,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(o,r,a){var s=a("d066");o.exports=s("document","documentElement")},"1c0b":function(o,r){o.exports=function(a){if(typeof a!="function")throw TypeError(String(a)+" is not a function");return a}},"1c7e":function(o,r,a){var s=a("b622"),l=s("iterator"),d=!1;try{var f=0,g={next:function(){return{done:!!f++}},return:function(){d=!0}};g[l]=function(){return this},Array.from(g,function(){throw 2})}catch{}o.exports=function(v,b){if(!b&&!d)return!1;var x=!1;try{var k={};k[l]=function(){return{next:function(){return{done:x=!0}}}},v(k)}catch{}return x}},"1d80":function(o,r){o.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},"1dde":function(o,r,a){var s=a("d039"),l=a("b622"),d=a("2d00"),f=l("species");o.exports=function(g){return d>=51||!s(function(){var v=[],b=v.constructor={};return b[f]=function(){return{foo:1}},v[g](Boolean).foo!==1})}},"23cb":function(o,r,a){var s=a("a691"),l=Math.max,d=Math.min;o.exports=function(f,g){var v=s(f);return v<0?l(v+g,0):d(v,g)}},"23e7":function(o,r,a){var s=a("da84"),l=a("06cf").f,d=a("9112"),f=a("6eeb"),g=a("ce4e"),v=a("e893"),b=a("94ca");o.exports=function(x,k){var S=x.target,O=x.global,w=x.stat,D,I,$,B,X,Y;if(O?I=s:w?I=s[S]||g(S,{}):I=(s[S]||{}).prototype,I)for($ in k){if(X=k[$],x.noTargetGet?(Y=l(I,$),B=Y&&Y.value):B=I[$],D=b(O?$:S+(w?".":"#")+$,x.forced),!D&&B!==void 0){if(typeof X==typeof B)continue;v(X,B)}(x.sham||B&&B.sham)&&d(X,"sham",!0),f(I,$,X,x)}}},"241c":function(o,r,a){var s=a("ca84"),l=a("7839"),d=l.concat("length","prototype");r.f=Object.getOwnPropertyNames||function(g){return s(g,d)}},"25f0":function(o,r,a){var s=a("6eeb"),l=a("825a"),d=a("d039"),f=a("ad6d"),g="toString",v=RegExp.prototype,b=v[g],x=d(function(){return b.call({source:"a",flags:"b"})!="/a/b"}),k=b.name!=g;(x||k)&&s(RegExp.prototype,g,function(){var O=l(this),w=String(O.source),D=O.flags,I=String(D===void 0&&O instanceof RegExp&&!("flags"in v)?f.call(O):D);return"/"+w+"/"+I},{unsafe:!0})},"2ca0":function(o,r,a){var s=a("23e7"),l=a("06cf").f,d=a("50c4"),f=a("5a34"),g=a("1d80"),v=a("ab13"),b=a("c430"),x="".startsWith,k=Math.min,S=v("startsWith"),O=!b&&!S&&!!function(){var w=l(String.prototype,"startsWith");return w&&!w.writable}();s({target:"String",proto:!0,forced:!O&&!S},{startsWith:function(D){var I=String(g(this));f(D);var $=d(k(arguments.length>1?arguments[1]:void 0,I.length)),B=String(D);return x?x.call(I,B,$):I.slice($,$+B.length)===B}})},"2d00":function(o,r,a){var s=a("da84"),l=a("342f"),d=s.process,f=d&&d.versions,g=f&&f.v8,v,b;g?(v=g.split("."),b=v[0]+v[1]):l&&(v=l.match(/Edge\/(\d+)/),(!v||v[1]>=74)&&(v=l.match(/Chrome\/(\d+)/),v&&(b=v[1]))),o.exports=b&&+b},"342f":function(o,r,a){var s=a("d066");o.exports=s("navigator","userAgent")||""},"35a1":function(o,r,a){var s=a("f5df"),l=a("3f8c"),d=a("b622"),f=d("iterator");o.exports=function(g){if(g!=null)return g[f]||g["@@iterator"]||l[s(g)]}},"37e8":function(o,r,a){var s=a("83ab"),l=a("9bf2"),d=a("825a"),f=a("df75");o.exports=s?Object.defineProperties:function(v,b){d(v);for(var x=f(b),k=x.length,S=0,O;k>S;)l.f(v,O=x[S++],b[O]);return v}},"3bbe":function(o,r,a){var s=a("861d");o.exports=function(l){if(!s(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(o,r,a){var s=a("6547").charAt,l=a("69f3"),d=a("7dd0"),f="String Iterator",g=l.set,v=l.getterFor(f);d(String,"String",function(b){g(this,{type:f,string:String(b),index:0})},function(){var x=v(this),k=x.string,S=x.index,O;return S>=k.length?{value:void 0,done:!0}:(O=s(k,S),x.index+=O.length,{value:O,done:!1})})},"3f8c":function(o,r){o.exports={}},4160:function(o,r,a){var s=a("23e7"),l=a("17c2");s({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(o,r,a){var s=a("da84");o.exports=s},"44ad":function(o,r,a){var s=a("d039"),l=a("c6b6"),d="".split;o.exports=s(function(){return!Object("z").propertyIsEnumerable(0)})?function(f){return l(f)=="String"?d.call(f,""):Object(f)}:Object},"44d2":function(o,r,a){var s=a("b622"),l=a("7c73"),d=a("9bf2"),f=s("unscopables"),g=Array.prototype;g[f]==null&&d.f(g,f,{configurable:!0,value:l(null)}),o.exports=function(v){g[f][v]=!0}},"44e7":function(o,r,a){var s=a("861d"),l=a("c6b6"),d=a("b622"),f=d("match");o.exports=function(g){var v;return s(g)&&((v=g[f])!==void 0?!!v:l(g)=="RegExp")}},4930:function(o,r,a){var s=a("d039");o.exports=!!Object.getOwnPropertySymbols&&!s(function(){return!String(Symbol())})},"4d64":function(o,r,a){var s=a("fc6a"),l=a("50c4"),d=a("23cb"),f=function(g){return function(v,b,x){var k=s(v),S=l(k.length),O=d(x,S),w;if(g&&b!=b){for(;S>O;)if(w=k[O++],w!=w)return!0}else for(;S>O;O++)if((g||O in k)&&k[O]===b)return g||O||0;return!g&&-1}};o.exports={includes:f(!0),indexOf:f(!1)}},"4de4":function(o,r,a){var s=a("23e7"),l=a("b727").filter,d=a("1dde"),f=a("ae40"),g=d("filter"),v=f("filter");s({target:"Array",proto:!0,forced:!g||!v},{filter:function(x){return l(this,x,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(o,r,a){var s=a("0366"),l=a("7b0b"),d=a("9bdd"),f=a("e95a"),g=a("50c4"),v=a("8418"),b=a("35a1");o.exports=function(k){var S=l(k),O=typeof this=="function"?this:Array,w=arguments.length,D=w>1?arguments[1]:void 0,I=D!==void 0,$=b(S),B=0,X,Y,Q,ue,ce,ve;if(I&&(D=s(D,w>2?arguments[2]:void 0,2)),$!=null&&!(O==Array&&f($)))for(ue=$.call(S),ce=ue.next,Y=new O;!(Q=ce.call(ue)).done;B++)ve=I?d(ue,D,[Q.value,B],!0):Q.value,v(Y,B,ve);else for(X=g(S.length),Y=new O(X);X>B;B++)ve=I?D(S[B],B):S[B],v(Y,B,ve);return Y.length=B,Y}},"4fad":function(o,r,a){var s=a("23e7"),l=a("6f53").entries;s({target:"Object",stat:!0},{entries:function(f){return l(f)}})},"50c4":function(o,r,a){var s=a("a691"),l=Math.min;o.exports=function(d){return d>0?l(s(d),9007199254740991):0}},5135:function(o,r){var a={}.hasOwnProperty;o.exports=function(s,l){return a.call(s,l)}},5319:function(o,r,a){var s=a("d784"),l=a("825a"),d=a("7b0b"),f=a("50c4"),g=a("a691"),v=a("1d80"),b=a("8aa5"),x=a("14c3"),k=Math.max,S=Math.min,O=Math.floor,w=/\$([$&'`]|\d\d?|<[^>]*>)/g,D=/\$([$&'`]|\d\d?)/g,I=function($){return $===void 0?$:String($)};s("replace",2,function($,B,X,Y){var Q=Y.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,ue=Y.REPLACE_KEEPS_$0,ce=Q?"$":"$0";return[function(se,te){var ye=v(this),Ee=se==null?void 0:se[$];return Ee!==void 0?Ee.call(se,ye,te):B.call(String(ye),se,te)},function(ie,se){if(!Q&&ue||typeof se=="string"&&se.indexOf(ce)===-1){var te=X(B,ie,this,se);if(te.done)return te.value}var ye=l(ie),Ee=String(this),Ce=typeof se=="function";Ce||(se=String(se));var je=ye.global;if(je){var tt=ye.unicode;ye.lastIndex=0}for(var nt=[];;){var Se=x(ye,Ee);if(Se===null||(nt.push(Se),!je))break;var Te=String(Se[0]);Te===""&&(ye.lastIndex=b(Ee,f(ye.lastIndex),tt))}for(var lt="",Ot=0,St=0;St<nt.length;St++){Se=nt[St];for(var Et=String(Se[0]),It=k(S(g(Se.index),Ee.length),0),_t=[],Qt=1;Qt<Se.length;Qt++)_t.push(I(Se[Qt]));var zt=Se.groups;if(Ce){var Nt=[Et].concat(_t,It,Ee);zt!==void 0&&Nt.push(zt);var kt=String(se.apply(void 0,Nt))}else kt=ve(Et,Ee,It,_t,zt,se);It>=Ot&&(lt+=Ee.slice(Ot,It)+kt,Ot=It+Et.length)}return lt+Ee.slice(Ot)}];function ve(ie,se,te,ye,Ee,Ce){var je=te+ie.length,tt=ye.length,nt=D;return Ee!==void 0&&(Ee=d(Ee),nt=w),B.call(Ce,nt,function(Se,Te){var lt;switch(Te.charAt(0)){case"$":return"$";case"&":return ie;case"`":return se.slice(0,te);case"'":return se.slice(je);case"<":lt=Ee[Te.slice(1,-1)];break;default:var Ot=+Te;if(Ot===0)return Se;if(Ot>tt){var St=O(Ot/10);return St===0?Se:St<=tt?ye[St-1]===void 0?Te.charAt(1):ye[St-1]+Te.charAt(1):Se}lt=ye[Ot-1]}return lt===void 0?"":lt})}})},5692:function(o,r,a){var s=a("c430"),l=a("c6cd");(o.exports=function(d,f){return l[d]||(l[d]=f!==void 0?f:{})})("versions",[]).push({version:"3.6.5",mode:s?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(o,r,a){var s=a("d066"),l=a("241c"),d=a("7418"),f=a("825a");o.exports=s("Reflect","ownKeys")||function(v){var b=l.f(f(v)),x=d.f;return x?b.concat(x(v)):b}},"5a34":function(o,r,a){var s=a("44e7");o.exports=function(l){if(s(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(o,r){o.exports=function(a,s){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:s}}},"5db7":function(o,r,a){var s=a("23e7"),l=a("a2bf"),d=a("7b0b"),f=a("50c4"),g=a("1c0b"),v=a("65f0");s({target:"Array",proto:!0},{flatMap:function(x){var k=d(this),S=f(k.length),O;return g(x),O=v(k,0),O.length=l(O,k,k,S,0,1,x,arguments.length>1?arguments[1]:void 0),O}})},6547:function(o,r,a){var s=a("a691"),l=a("1d80"),d=function(f){return function(g,v){var b=String(l(g)),x=s(v),k=b.length,S,O;return x<0||x>=k?f?"":void 0:(S=b.charCodeAt(x),S<55296||S>56319||x+1===k||(O=b.charCodeAt(x+1))<56320||O>57343?f?b.charAt(x):S:f?b.slice(x,x+2):(S-55296<<10)+(O-56320)+65536)}};o.exports={codeAt:d(!1),charAt:d(!0)}},"65f0":function(o,r,a){var s=a("861d"),l=a("e8b5"),d=a("b622"),f=d("species");o.exports=function(g,v){var b;return l(g)&&(b=g.constructor,typeof b=="function"&&(b===Array||l(b.prototype))?b=void 0:s(b)&&(b=b[f],b===null&&(b=void 0))),new(b===void 0?Array:b)(v===0?0:v)}},"69f3":function(o,r,a){var s=a("7f9a"),l=a("da84"),d=a("861d"),f=a("9112"),g=a("5135"),v=a("f772"),b=a("d012"),x=l.WeakMap,k,S,O,w=function(Q){return O(Q)?S(Q):k(Q,{})},D=function(Q){return function(ue){var ce;if(!d(ue)||(ce=S(ue)).type!==Q)throw TypeError("Incompatible receiver, "+Q+" required");return ce}};if(s){var I=new x,$=I.get,B=I.has,X=I.set;k=function(Q,ue){return X.call(I,Q,ue),ue},S=function(Q){return $.call(I,Q)||{}},O=function(Q){return B.call(I,Q)}}else{var Y=v("state");b[Y]=!0,k=function(Q,ue){return f(Q,Y,ue),ue},S=function(Q){return g(Q,Y)?Q[Y]:{}},O=function(Q){return g(Q,Y)}}o.exports={set:k,get:S,has:O,enforce:w,getterFor:D}},"6eeb":function(o,r,a){var s=a("da84"),l=a("9112"),d=a("5135"),f=a("ce4e"),g=a("8925"),v=a("69f3"),b=v.get,x=v.enforce,k=String(String).split("String");(o.exports=function(S,O,w,D){var I=D?!!D.unsafe:!1,$=D?!!D.enumerable:!1,B=D?!!D.noTargetGet:!1;if(typeof w=="function"&&(typeof O=="string"&&!d(w,"name")&&l(w,"name",O),x(w).source=k.join(typeof O=="string"?O:"")),S===s){$?S[O]=w:f(O,w);return}else I?!B&&S[O]&&($=!0):delete S[O];$?S[O]=w:l(S,O,w)})(Function.prototype,"toString",function(){return typeof this=="function"&&b(this).source||g(this)})},"6f53":function(o,r,a){var s=a("83ab"),l=a("df75"),d=a("fc6a"),f=a("d1e7").f,g=function(v){return function(b){for(var x=d(b),k=l(x),S=k.length,O=0,w=[],D;S>O;)D=k[O++],(!s||f.call(x,D))&&w.push(v?[D,x[D]]:x[D]);return w}};o.exports={entries:g(!0),values:g(!1)}},"73d9":function(o,r,a){var s=a("44d2");s("flatMap")},7418:function(o,r){r.f=Object.getOwnPropertySymbols},"746f":function(o,r,a){var s=a("428f"),l=a("5135"),d=a("e538"),f=a("9bf2").f;o.exports=function(g){var v=s.Symbol||(s.Symbol={});l(v,g)||f(v,g,{value:d.f(g)})}},7839:function(o,r){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(o,r,a){var s=a("1d80");o.exports=function(l){return Object(s(l))}},"7c73":function(o,r,a){var s=a("825a"),l=a("37e8"),d=a("7839"),f=a("d012"),g=a("1be4"),v=a("cc12"),b=a("f772"),x=">",k="<",S="prototype",O="script",w=b("IE_PROTO"),D=function(){},I=function(Q){return k+O+x+Q+k+"/"+O+x},$=function(Q){Q.write(I("")),Q.close();var ue=Q.parentWindow.Object;return Q=null,ue},B=function(){var Q=v("iframe"),ue="java"+O+":",ce;return Q.style.display="none",g.appendChild(Q),Q.src=String(ue),ce=Q.contentWindow.document,ce.open(),ce.write(I("document.F=Object")),ce.close(),ce.F},X,Y=function(){try{X=document.domain&&new ActiveXObject("htmlfile")}catch{}Y=X?$(X):B();for(var Q=d.length;Q--;)delete Y[S][d[Q]];return Y()};f[w]=!0,o.exports=Object.create||function(ue,ce){var ve;return ue!==null?(D[S]=s(ue),ve=new D,D[S]=null,ve[w]=ue):ve=Y(),ce===void 0?ve:l(ve,ce)}},"7dd0":function(o,r,a){var s=a("23e7"),l=a("9ed3"),d=a("e163"),f=a("d2bb"),g=a("d44e"),v=a("9112"),b=a("6eeb"),x=a("b622"),k=a("c430"),S=a("3f8c"),O=a("ae93"),w=O.IteratorPrototype,D=O.BUGGY_SAFARI_ITERATORS,I=x("iterator"),$="keys",B="values",X="entries",Y=function(){return this};o.exports=function(Q,ue,ce,ve,ie,se,te){l(ce,ue,ve);var ye=function(St){if(St===ie&&nt)return nt;if(!D&&St in je)return je[St];switch(St){case $:return function(){return new ce(this,St)};case B:return function(){return new ce(this,St)};case X:return function(){return new ce(this,St)}}return function(){return new ce(this)}},Ee=ue+" Iterator",Ce=!1,je=Q.prototype,tt=je[I]||je["@@iterator"]||ie&&je[ie],nt=!D&&tt||ye(ie),Se=ue=="Array"&&je.entries||tt,Te,lt,Ot;if(Se&&(Te=d(Se.call(new Q)),w!==Object.prototype&&Te.next&&(!k&&d(Te)!==w&&(f?f(Te,w):typeof Te[I]!="function"&&v(Te,I,Y)),g(Te,Ee,!0,!0),k&&(S[Ee]=Y))),ie==B&&tt&&tt.name!==B&&(Ce=!0,nt=function(){return tt.call(this)}),(!k||te)&&je[I]!==nt&&v(je,I,nt),S[ue]=nt,ie)if(lt={values:ye(B),keys:se?nt:ye($),entries:ye(X)},te)for(Ot in lt)(D||Ce||!(Ot in je))&&b(je,Ot,lt[Ot]);else s({target:ue,proto:!0,forced:D||Ce},lt);return lt}},"7f9a":function(o,r,a){var s=a("da84"),l=a("8925"),d=s.WeakMap;o.exports=typeof d=="function"&&/native code/.test(l(d))},"825a":function(o,r,a){var s=a("861d");o.exports=function(l){if(!s(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(o,r,a){var s=a("d039");o.exports=!s(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(o,r,a){var s=a("c04e"),l=a("9bf2"),d=a("5c6c");o.exports=function(f,g,v){var b=s(g);b in f?l.f(f,b,d(0,v)):f[b]=v}},"861d":function(o,r){o.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},8875:function(o,r,a){var s,l,d;(function(f,g){l=[],s=g,d=typeof s=="function"?s.apply(r,l):s,d!==void 0&&(o.exports=d)})(typeof self<"u"?self:this,function(){function f(){var g=Object.getOwnPropertyDescriptor(document,"currentScript");if(!g&&"currentScript"in document&&document.currentScript||g&&g.get!==f&&document.currentScript)return document.currentScript;try{throw new Error}catch(X){var v=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,b=/@([^@]*):(\d+):(\d+)\s*$/ig,x=v.exec(X.stack)||b.exec(X.stack),k=x&&x[1]||!1,S=x&&x[2]||!1,O=document.location.href.replace(document.location.hash,""),w,D,I,$=document.getElementsByTagName("script");k===O&&(w=document.documentElement.outerHTML,D=new RegExp("(?:[^\\n]+?\\n){0,"+(S-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),I=w.replace(D,"$1").trim());for(var B=0;B<$.length;B++)if($[B].readyState==="interactive"||$[B].src===k||k===O&&$[B].innerHTML&&$[B].innerHTML.trim()===I)return $[B];return null}}return f})},8925:function(o,r,a){var s=a("c6cd"),l=Function.toString;typeof s.inspectSource!="function"&&(s.inspectSource=function(d){return l.call(d)}),o.exports=s.inspectSource},"8aa5":function(o,r,a){var s=a("6547").charAt;o.exports=function(l,d,f){return d+(f?s(l,d).length:1)}},"8bbf":function(o,r){o.exports=t},"90e3":function(o,r){var a=0,s=Math.random();o.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++a+s).toString(36)}},9112:function(o,r,a){var s=a("83ab"),l=a("9bf2"),d=a("5c6c");o.exports=s?function(f,g,v){return l.f(f,g,d(1,v))}:function(f,g,v){return f[g]=v,f}},9263:function(o,r,a){var s=a("ad6d"),l=a("9f7f"),d=RegExp.prototype.exec,f=String.prototype.replace,g=d,v=function(){var S=/a/,O=/b*/g;return d.call(S,"a"),d.call(O,"a"),S.lastIndex!==0||O.lastIndex!==0}(),b=l.UNSUPPORTED_Y||l.BROKEN_CARET,x=/()??/.exec("")[1]!==void 0,k=v||x||b;k&&(g=function(O){var w=this,D,I,$,B,X=b&&w.sticky,Y=s.call(w),Q=w.source,ue=0,ce=O;return X&&(Y=Y.replace("y",""),Y.indexOf("g")===-1&&(Y+="g"),ce=String(O).slice(w.lastIndex),w.lastIndex>0&&(!w.multiline||w.multiline&&O[w.lastIndex-1]!==`
|
|
61
61
|
`)&&(Q="(?: "+Q+")",ce=" "+ce,ue++),I=new RegExp("^(?:"+Q+")",Y)),x&&(I=new RegExp("^"+Q+"$(?!\\s)",Y)),v&&(D=w.lastIndex),$=d.call(X?I:w,ce),X?$?($.input=$.input.slice(ue),$[0]=$[0].slice(ue),$.index=w.lastIndex,w.lastIndex+=$[0].length):w.lastIndex=0:v&&$&&(w.lastIndex=w.global?$.index+$[0].length:D),x&&$&&$.length>1&&f.call($[0],I,function(){for(B=1;B<arguments.length-2;B++)arguments[B]===void 0&&($[B]=void 0)}),$}),o.exports=g},"94ca":function(o,r,a){var s=a("d039"),l=/#|\.prototype\./,d=function(x,k){var S=g[f(x)];return S==b?!0:S==v?!1:typeof k=="function"?s(k):!!k},f=d.normalize=function(x){return String(x).replace(l,".").toLowerCase()},g=d.data={},v=d.NATIVE="N",b=d.POLYFILL="P";o.exports=d},"99af":function(o,r,a){var s=a("23e7"),l=a("d039"),d=a("e8b5"),f=a("861d"),g=a("7b0b"),v=a("50c4"),b=a("8418"),x=a("65f0"),k=a("1dde"),S=a("b622"),O=a("2d00"),w=S("isConcatSpreadable"),D=9007199254740991,I="Maximum allowed index exceeded",$=O>=51||!l(function(){var Q=[];return Q[w]=!1,Q.concat()[0]!==Q}),B=k("concat"),X=function(Q){if(!f(Q))return!1;var ue=Q[w];return ue!==void 0?!!ue:d(Q)},Y=!$||!B;s({target:"Array",proto:!0,forced:Y},{concat:function(ue){var ce=g(this),ve=x(ce,0),ie=0,se,te,ye,Ee,Ce;for(se=-1,ye=arguments.length;se<ye;se++)if(Ce=se===-1?ce:arguments[se],X(Ce)){if(Ee=v(Ce.length),ie+Ee>D)throw TypeError(I);for(te=0;te<Ee;te++,ie++)te in Ce&&b(ve,ie,Ce[te])}else{if(ie>=D)throw TypeError(I);b(ve,ie++,Ce)}return ve.length=ie,ve}})},"9bdd":function(o,r,a){var s=a("825a");o.exports=function(l,d,f,g){try{return g?d(s(f)[0],f[1]):d(f)}catch(b){var v=l.return;throw v!==void 0&&s(v.call(l)),b}}},"9bf2":function(o,r,a){var s=a("83ab"),l=a("0cfb"),d=a("825a"),f=a("c04e"),g=Object.defineProperty;r.f=s?g:function(b,x,k){if(d(b),x=f(x,!0),d(k),l)try{return g(b,x,k)}catch{}if("get"in k||"set"in k)throw TypeError("Accessors not supported");return"value"in k&&(b[x]=k.value),b}},"9ed3":function(o,r,a){var s=a("ae93").IteratorPrototype,l=a("7c73"),d=a("5c6c"),f=a("d44e"),g=a("3f8c"),v=function(){return this};o.exports=function(b,x,k){var S=x+" Iterator";return b.prototype=l(s,{next:d(1,k)}),f(b,S,!1,!0),g[S]=v,b}},"9f7f":function(o,r,a){var s=a("d039");function l(d,f){return RegExp(d,f)}r.UNSUPPORTED_Y=s(function(){var d=l("a","y");return d.lastIndex=2,d.exec("abcd")!=null}),r.BROKEN_CARET=s(function(){var d=l("^r","gy");return d.lastIndex=2,d.exec("str")!=null})},a2bf:function(o,r,a){var s=a("e8b5"),l=a("50c4"),d=a("0366"),f=function(g,v,b,x,k,S,O,w){for(var D=k,I=0,$=O?d(O,w,3):!1,B;I<x;){if(I in b){if(B=$?$(b[I],I,v):b[I],S>0&&s(B))D=f(g,v,B,l(B.length),D,S-1)-1;else{if(D>=9007199254740991)throw TypeError("Exceed the acceptable array length");g[D]=B}D++}I++}return D};o.exports=f},a352:function(o,r){o.exports=i},a434:function(o,r,a){var s=a("23e7"),l=a("23cb"),d=a("a691"),f=a("50c4"),g=a("7b0b"),v=a("65f0"),b=a("8418"),x=a("1dde"),k=a("ae40"),S=x("splice"),O=k("splice",{ACCESSORS:!0,0:0,1:2}),w=Math.max,D=Math.min,I=9007199254740991,$="Maximum allowed length exceeded";s({target:"Array",proto:!0,forced:!S||!O},{splice:function(X,Y){var Q=g(this),ue=f(Q.length),ce=l(X,ue),ve=arguments.length,ie,se,te,ye,Ee,Ce;if(ve===0?ie=se=0:ve===1?(ie=0,se=ue-ce):(ie=ve-2,se=D(w(d(Y),0),ue-ce)),ue+ie-se>I)throw TypeError($);for(te=v(Q,se),ye=0;ye<se;ye++)Ee=ce+ye,Ee in Q&&b(te,ye,Q[Ee]);if(te.length=se,ie<se){for(ye=ce;ye<ue-se;ye++)Ee=ye+se,Ce=ye+ie,Ee in Q?Q[Ce]=Q[Ee]:delete Q[Ce];for(ye=ue;ye>ue-se+ie;ye--)delete Q[ye-1]}else if(ie>se)for(ye=ue-se;ye>ce;ye--)Ee=ye+se-1,Ce=ye+ie-1,Ee in Q?Q[Ce]=Q[Ee]:delete Q[Ce];for(ye=0;ye<ie;ye++)Q[ye+ce]=arguments[ye+2];return Q.length=ue-se+ie,te}})},a4d3:function(o,r,a){var s=a("23e7"),l=a("da84"),d=a("d066"),f=a("c430"),g=a("83ab"),v=a("4930"),b=a("fdbf"),x=a("d039"),k=a("5135"),S=a("e8b5"),O=a("861d"),w=a("825a"),D=a("7b0b"),I=a("fc6a"),$=a("c04e"),B=a("5c6c"),X=a("7c73"),Y=a("df75"),Q=a("241c"),ue=a("057f"),ce=a("7418"),ve=a("06cf"),ie=a("9bf2"),se=a("d1e7"),te=a("9112"),ye=a("6eeb"),Ee=a("5692"),Ce=a("f772"),je=a("d012"),tt=a("90e3"),nt=a("b622"),Se=a("e538"),Te=a("746f"),lt=a("d44e"),Ot=a("69f3"),St=a("b727").forEach,Et=Ce("hidden"),It="Symbol",_t="prototype",Qt=nt("toPrimitive"),zt=Ot.set,Nt=Ot.getterFor(It),kt=Object[_t],Ct=l.Symbol,Bt=d("JSON","stringify"),ut=ve.f,sn=ie.f,dn=ue.f,Gt=se.f,yt=Ee("symbols"),cn=Ee("op-symbols"),gn=Ee("string-to-symbol-registry"),mn=Ee("symbol-to-string-registry"),Xt=Ee("wks"),In=l.QObject,$n=!In||!In[_t]||!In[_t].findChild,Hn=g&&x(function(){return X(sn({},"a",{get:function(){return sn(this,"a",{value:7}).a}})).a!=7})?function(Ci,Kn,fo){var Yi=ut(kt,Kn);Yi&&delete kt[Kn],sn(Ci,Kn,fo),Yi&&Ci!==kt&&sn(kt,Kn,Yi)}:sn,Xn=function(Ci,Kn){var fo=yt[Ci]=X(Ct[_t]);return zt(fo,{type:It,tag:Ci,description:Kn}),g||(fo.description=Kn),fo},Cn=b?function(Ci){return typeof Ci=="symbol"}:function(Ci){return Object(Ci)instanceof Ct},Pn=function(Kn,fo,Yi){Kn===kt&&Pn(cn,fo,Yi),w(Kn);var Bi=$(fo,!0);return w(Yi),k(yt,Bi)?(Yi.enumerable?(k(Kn,Et)&&Kn[Et][Bi]&&(Kn[Et][Bi]=!1),Yi=X(Yi,{enumerable:B(0,!1)})):(k(Kn,Et)||sn(Kn,Et,B(1,{})),Kn[Et][Bi]=!0),Hn(Kn,Bi,Yi)):sn(Kn,Bi,Yi)},Tn=function(Kn,fo){w(Kn);var Yi=I(fo),Bi=Y(Yi).concat(vi(Yi));return St(Bi,function(Lo){(!g||Rn.call(Yi,Lo))&&Pn(Kn,Lo,Yi[Lo])}),Kn},si=function(Kn,fo){return fo===void 0?X(Kn):Tn(X(Kn),fo)},Rn=function(Kn){var fo=$(Kn,!0),Yi=Gt.call(this,fo);return this===kt&&k(yt,fo)&&!k(cn,fo)?!1:Yi||!k(this,fo)||!k(yt,fo)||k(this,Et)&&this[Et][fo]?Yi:!0},Pi=function(Kn,fo){var Yi=I(Kn),Bi=$(fo,!0);if(!(Yi===kt&&k(yt,Bi)&&!k(cn,Bi))){var Lo=ut(Yi,Bi);return Lo&&k(yt,Bi)&&!(k(Yi,Et)&&Yi[Et][Bi])&&(Lo.enumerable=!0),Lo}},Ai=function(Kn){var fo=dn(I(Kn)),Yi=[];return St(fo,function(Bi){!k(yt,Bi)&&!k(je,Bi)&&Yi.push(Bi)}),Yi},vi=function(Kn){var fo=Kn===kt,Yi=dn(fo?cn:I(Kn)),Bi=[];return St(Yi,function(Lo){k(yt,Lo)&&(!fo||k(kt,Lo))&&Bi.push(yt[Lo])}),Bi};if(v||(Ct=function(){if(this instanceof Ct)throw TypeError("Symbol is not a constructor");var Kn=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),fo=tt(Kn),Yi=function(Bi){this===kt&&Yi.call(cn,Bi),k(this,Et)&&k(this[Et],fo)&&(this[Et][fo]=!1),Hn(this,fo,B(1,Bi))};return g&&$n&&Hn(kt,fo,{configurable:!0,set:Yi}),Xn(fo,Kn)},ye(Ct[_t],"toString",function(){return Nt(this).tag}),ye(Ct,"withoutSetter",function(Ci){return Xn(tt(Ci),Ci)}),se.f=Rn,ie.f=Pn,ve.f=Pi,Q.f=ue.f=Ai,ce.f=vi,Se.f=function(Ci){return Xn(nt(Ci),Ci)},g&&(sn(Ct[_t],"description",{configurable:!0,get:function(){return Nt(this).description}}),f||ye(kt,"propertyIsEnumerable",Rn,{unsafe:!0}))),s({global:!0,wrap:!0,forced:!v,sham:!v},{Symbol:Ct}),St(Y(Xt),function(Ci){Te(Ci)}),s({target:It,stat:!0,forced:!v},{for:function(Ci){var Kn=String(Ci);if(k(gn,Kn))return gn[Kn];var fo=Ct(Kn);return gn[Kn]=fo,mn[fo]=Kn,fo},keyFor:function(Kn){if(!Cn(Kn))throw TypeError(Kn+" is not a symbol");if(k(mn,Kn))return mn[Kn]},useSetter:function(){$n=!0},useSimple:function(){$n=!1}}),s({target:"Object",stat:!0,forced:!v,sham:!g},{create:si,defineProperty:Pn,defineProperties:Tn,getOwnPropertyDescriptor:Pi}),s({target:"Object",stat:!0,forced:!v},{getOwnPropertyNames:Ai,getOwnPropertySymbols:vi}),s({target:"Object",stat:!0,forced:x(function(){ce.f(1)})},{getOwnPropertySymbols:function(Kn){return ce.f(D(Kn))}}),Bt){var oo=!v||x(function(){var Ci=Ct();return Bt([Ci])!="[null]"||Bt({a:Ci})!="{}"||Bt(Object(Ci))!="{}"});s({target:"JSON",stat:!0,forced:oo},{stringify:function(Kn,fo,Yi){for(var Bi=[Kn],Lo=1,$t;arguments.length>Lo;)Bi.push(arguments[Lo++]);if($t=fo,!(!O(fo)&&Kn===void 0||Cn(Kn)))return S(fo)||(fo=function(Ht,ze){if(typeof $t=="function"&&(ze=$t.call(this,Ht,ze)),!Cn(ze))return ze}),Bi[1]=fo,Bt.apply(null,Bi)}})}Ct[_t][Qt]||te(Ct[_t],Qt,Ct[_t].valueOf),lt(Ct,It),je[Et]=!0},a630:function(o,r,a){var s=a("23e7"),l=a("4df4"),d=a("1c7e"),f=!d(function(g){Array.from(g)});s({target:"Array",stat:!0,forced:f},{from:l})},a640:function(o,r,a){var s=a("d039");o.exports=function(l,d){var f=[][l];return!!f&&s(function(){f.call(null,d||function(){throw 1},1)})}},a691:function(o,r){var a=Math.ceil,s=Math.floor;o.exports=function(l){return isNaN(l=+l)?0:(l>0?s:a)(l)}},ab13:function(o,r,a){var s=a("b622"),l=s("match");o.exports=function(d){var f=/./;try{"/./"[d](f)}catch{try{return f[l]=!1,"/./"[d](f)}catch{}}return!1}},ac1f:function(o,r,a){var s=a("23e7"),l=a("9263");s({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(o,r,a){var s=a("825a");o.exports=function(){var l=s(this),d="";return l.global&&(d+="g"),l.ignoreCase&&(d+="i"),l.multiline&&(d+="m"),l.dotAll&&(d+="s"),l.unicode&&(d+="u"),l.sticky&&(d+="y"),d}},ae40:function(o,r,a){var s=a("83ab"),l=a("d039"),d=a("5135"),f=Object.defineProperty,g={},v=function(b){throw b};o.exports=function(b,x){if(d(g,b))return g[b];x||(x={});var k=[][b],S=d(x,"ACCESSORS")?x.ACCESSORS:!1,O=d(x,0)?x[0]:v,w=d(x,1)?x[1]:void 0;return g[b]=!!k&&!l(function(){if(S&&!s)return!0;var D={length:-1};S?f(D,1,{enumerable:!0,get:v}):D[1]=1,k.call(D,O,w)})}},ae93:function(o,r,a){var s=a("e163"),l=a("9112"),d=a("5135"),f=a("b622"),g=a("c430"),v=f("iterator"),b=!1,x=function(){return this},k,S,O;[].keys&&(O=[].keys(),"next"in O?(S=s(s(O)),S!==Object.prototype&&(k=S)):b=!0),k==null&&(k={}),!g&&!d(k,v)&&l(k,v,x),o.exports={IteratorPrototype:k,BUGGY_SAFARI_ITERATORS:b}},b041:function(o,r,a){var s=a("00ee"),l=a("f5df");o.exports=s?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(o,r,a){var s=a("83ab"),l=a("9bf2").f,d=Function.prototype,f=d.toString,g=/^\s*function ([^ (]*)/,v="name";s&&!(v in d)&&l(d,v,{configurable:!0,get:function(){try{return f.call(this).match(g)[1]}catch{return""}}})},b622:function(o,r,a){var s=a("da84"),l=a("5692"),d=a("5135"),f=a("90e3"),g=a("4930"),v=a("fdbf"),b=l("wks"),x=s.Symbol,k=v?x:x&&x.withoutSetter||f;o.exports=function(S){return d(b,S)||(g&&d(x,S)?b[S]=x[S]:b[S]=k("Symbol."+S)),b[S]}},b64b:function(o,r,a){var s=a("23e7"),l=a("7b0b"),d=a("df75"),f=a("d039"),g=f(function(){d(1)});s({target:"Object",stat:!0,forced:g},{keys:function(b){return d(l(b))}})},b727:function(o,r,a){var s=a("0366"),l=a("44ad"),d=a("7b0b"),f=a("50c4"),g=a("65f0"),v=[].push,b=function(x){var k=x==1,S=x==2,O=x==3,w=x==4,D=x==6,I=x==5||D;return function($,B,X,Y){for(var Q=d($),ue=l(Q),ce=s(B,X,3),ve=f(ue.length),ie=0,se=Y||g,te=k?se($,ve):S?se($,0):void 0,ye,Ee;ve>ie;ie++)if((I||ie in ue)&&(ye=ue[ie],Ee=ce(ye,ie,Q),x)){if(k)te[ie]=Ee;else if(Ee)switch(x){case 3:return!0;case 5:return ye;case 6:return ie;case 2:v.call(te,ye)}else if(w)return!1}return D?-1:O||w?w:te}};o.exports={forEach:b(0),map:b(1),filter:b(2),some:b(3),every:b(4),find:b(5),findIndex:b(6)}},c04e:function(o,r,a){var s=a("861d");o.exports=function(l,d){if(!s(l))return l;var f,g;if(d&&typeof(f=l.toString)=="function"&&!s(g=f.call(l))||typeof(f=l.valueOf)=="function"&&!s(g=f.call(l))||!d&&typeof(f=l.toString)=="function"&&!s(g=f.call(l)))return g;throw TypeError("Can't convert object to primitive value")}},c430:function(o,r){o.exports=!1},c6b6:function(o,r){var a={}.toString;o.exports=function(s){return a.call(s).slice(8,-1)}},c6cd:function(o,r,a){var s=a("da84"),l=a("ce4e"),d="__core-js_shared__",f=s[d]||l(d,{});o.exports=f},c740:function(o,r,a){var s=a("23e7"),l=a("b727").findIndex,d=a("44d2"),f=a("ae40"),g="findIndex",v=!0,b=f(g);g in[]&&Array(1)[g](function(){v=!1}),s({target:"Array",proto:!0,forced:v||!b},{findIndex:function(k){return l(this,k,arguments.length>1?arguments[1]:void 0)}}),d(g)},c8ba:function(o,r){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch{typeof window=="object"&&(a=window)}o.exports=a},c975:function(o,r,a){var s=a("23e7"),l=a("4d64").indexOf,d=a("a640"),f=a("ae40"),g=[].indexOf,v=!!g&&1/[1].indexOf(1,-0)<0,b=d("indexOf"),x=f("indexOf",{ACCESSORS:!0,1:0});s({target:"Array",proto:!0,forced:v||!b||!x},{indexOf:function(S){return v?g.apply(this,arguments)||0:l(this,S,arguments.length>1?arguments[1]:void 0)}})},ca84:function(o,r,a){var s=a("5135"),l=a("fc6a"),d=a("4d64").indexOf,f=a("d012");o.exports=function(g,v){var b=l(g),x=0,k=[],S;for(S in b)!s(f,S)&&s(b,S)&&k.push(S);for(;v.length>x;)s(b,S=v[x++])&&(~d(k,S)||k.push(S));return k}},caad:function(o,r,a){var s=a("23e7"),l=a("4d64").includes,d=a("44d2"),f=a("ae40"),g=f("indexOf",{ACCESSORS:!0,1:0});s({target:"Array",proto:!0,forced:!g},{includes:function(b){return l(this,b,arguments.length>1?arguments[1]:void 0)}}),d("includes")},cc12:function(o,r,a){var s=a("da84"),l=a("861d"),d=s.document,f=l(d)&&l(d.createElement);o.exports=function(g){return f?d.createElement(g):{}}},ce4e:function(o,r,a){var s=a("da84"),l=a("9112");o.exports=function(d,f){try{l(s,d,f)}catch{s[d]=f}return f}},d012:function(o,r){o.exports={}},d039:function(o,r){o.exports=function(a){try{return!!a()}catch{return!0}}},d066:function(o,r,a){var s=a("428f"),l=a("da84"),d=function(f){return typeof f=="function"?f:void 0};o.exports=function(f,g){return arguments.length<2?d(s[f])||d(l[f]):s[f]&&s[f][g]||l[f]&&l[f][g]}},d1e7:function(o,r,a){var s={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,d=l&&!s.call({1:2},1);r.f=d?function(g){var v=l(this,g);return!!v&&v.enumerable}:s},d28b:function(o,r,a){var s=a("746f");s("iterator")},d2bb:function(o,r,a){var s=a("825a"),l=a("3bbe");o.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var d=!1,f={},g;try{g=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,g.call(f,[]),d=f instanceof Array}catch{}return function(b,x){return s(b),l(x),d?g.call(b,x):b.__proto__=x,b}}():void 0)},d3b7:function(o,r,a){var s=a("00ee"),l=a("6eeb"),d=a("b041");s||l(Object.prototype,"toString",d,{unsafe:!0})},d44e:function(o,r,a){var s=a("9bf2").f,l=a("5135"),d=a("b622"),f=d("toStringTag");o.exports=function(g,v,b){g&&!l(g=b?g:g.prototype,f)&&s(g,f,{configurable:!0,value:v})}},d58f:function(o,r,a){var s=a("1c0b"),l=a("7b0b"),d=a("44ad"),f=a("50c4"),g=function(v){return function(b,x,k,S){s(x);var O=l(b),w=d(O),D=f(O.length),I=v?D-1:0,$=v?-1:1;if(k<2)for(;;){if(I in w){S=w[I],I+=$;break}if(I+=$,v?I<0:D<=I)throw TypeError("Reduce of empty array with no initial value")}for(;v?I>=0:D>I;I+=$)I in w&&(S=x(S,w[I],I,O));return S}};o.exports={left:g(!1),right:g(!0)}},d784:function(o,r,a){a("ac1f");var s=a("6eeb"),l=a("d039"),d=a("b622"),f=a("9263"),g=a("9112"),v=d("species"),b=!l(function(){var w=/./;return w.exec=function(){var D=[];return D.groups={a:"7"},D},"".replace(w,"$<a>")!=="7"}),x=function(){return"a".replace(/./,"$0")==="$0"}(),k=d("replace"),S=function(){return/./[k]?/./[k]("a","$0")==="":!1}(),O=!l(function(){var w=/(?:)/,D=w.exec;w.exec=function(){return D.apply(this,arguments)};var I="ab".split(w);return I.length!==2||I[0]!=="a"||I[1]!=="b"});o.exports=function(w,D,I,$){var B=d(w),X=!l(function(){var ie={};return ie[B]=function(){return 7},""[w](ie)!=7}),Y=X&&!l(function(){var ie=!1,se=/a/;return w==="split"&&(se={},se.constructor={},se.constructor[v]=function(){return se},se.flags="",se[B]=/./[B]),se.exec=function(){return ie=!0,null},se[B](""),!ie});if(!X||!Y||w==="replace"&&!(b&&x&&!S)||w==="split"&&!O){var Q=/./[B],ue=I(B,""[w],function(ie,se,te,ye,Ee){return se.exec===f?X&&!Ee?{done:!0,value:Q.call(se,te,ye)}:{done:!0,value:ie.call(te,se,ye)}:{done:!1}},{REPLACE_KEEPS_$0:x,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:S}),ce=ue[0],ve=ue[1];s(String.prototype,w,ce),s(RegExp.prototype,B,D==2?function(ie,se){return ve.call(ie,this,se)}:function(ie){return ve.call(ie,this)})}$&&g(RegExp.prototype[B],"sham",!0)}},d81d:function(o,r,a){var s=a("23e7"),l=a("b727").map,d=a("1dde"),f=a("ae40"),g=d("map"),v=f("map");s({target:"Array",proto:!0,forced:!g||!v},{map:function(x){return l(this,x,arguments.length>1?arguments[1]:void 0)}})},da84:function(o,r,a){(function(s){var l=function(d){return d&&d.Math==Math&&d};o.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof s=="object"&&s)||Function("return this")()}).call(this,a("c8ba"))},dbb4:function(o,r,a){var s=a("23e7"),l=a("83ab"),d=a("56ef"),f=a("fc6a"),g=a("06cf"),v=a("8418");s({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(x){for(var k=f(x),S=g.f,O=d(k),w={},D=0,I,$;O.length>D;)$=S(k,I=O[D++]),$!==void 0&&v(w,I,$);return w}})},dbf1:function(o,r,a){(function(s){a.d(r,"a",function(){return d});function l(){return typeof window<"u"?window.console:s.console}var d=l()}).call(this,a("c8ba"))},ddb0:function(o,r,a){var s=a("da84"),l=a("fdbc"),d=a("e260"),f=a("9112"),g=a("b622"),v=g("iterator"),b=g("toStringTag"),x=d.values;for(var k in l){var S=s[k],O=S&&S.prototype;if(O){if(O[v]!==x)try{f(O,v,x)}catch{O[v]=x}if(O[b]||f(O,b,k),l[k]){for(var w in d)if(O[w]!==d[w])try{f(O,w,d[w])}catch{O[w]=d[w]}}}}},df75:function(o,r,a){var s=a("ca84"),l=a("7839");o.exports=Object.keys||function(f){return s(f,l)}},e01a:function(o,r,a){var s=a("23e7"),l=a("83ab"),d=a("da84"),f=a("5135"),g=a("861d"),v=a("9bf2").f,b=a("e893"),x=d.Symbol;if(l&&typeof x=="function"&&(!("description"in x.prototype)||x().description!==void 0)){var k={},S=function(){var B=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),X=this instanceof S?new x(B):B===void 0?x():x(B);return B===""&&(k[X]=!0),X};b(S,x);var O=S.prototype=x.prototype;O.constructor=S;var w=O.toString,D=String(x("test"))=="Symbol(test)",I=/^Symbol\((.*)\)[^)]+$/;v(O,"description",{configurable:!0,get:function(){var B=g(this)?this.valueOf():this,X=w.call(B);if(f(k,B))return"";var Y=D?X.slice(7,-1):X.replace(I,"$1");return Y===""?void 0:Y}}),s({global:!0,forced:!0},{Symbol:S})}},e163:function(o,r,a){var s=a("5135"),l=a("7b0b"),d=a("f772"),f=a("e177"),g=d("IE_PROTO"),v=Object.prototype;o.exports=f?Object.getPrototypeOf:function(b){return b=l(b),s(b,g)?b[g]:typeof b.constructor=="function"&&b instanceof b.constructor?b.constructor.prototype:b instanceof Object?v:null}},e177:function(o,r,a){var s=a("d039");o.exports=!s(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(o,r,a){var s=a("fc6a"),l=a("44d2"),d=a("3f8c"),f=a("69f3"),g=a("7dd0"),v="Array Iterator",b=f.set,x=f.getterFor(v);o.exports=g(Array,"Array",function(k,S){b(this,{type:v,target:s(k),index:0,kind:S})},function(){var k=x(this),S=k.target,O=k.kind,w=k.index++;return!S||w>=S.length?(k.target=void 0,{value:void 0,done:!0}):O=="keys"?{value:w,done:!1}:O=="values"?{value:S[w],done:!1}:{value:[w,S[w]],done:!1}},"values"),d.Arguments=d.Array,l("keys"),l("values"),l("entries")},e439:function(o,r,a){var s=a("23e7"),l=a("d039"),d=a("fc6a"),f=a("06cf").f,g=a("83ab"),v=l(function(){f(1)}),b=!g||v;s({target:"Object",stat:!0,forced:b,sham:!g},{getOwnPropertyDescriptor:function(k,S){return f(d(k),S)}})},e538:function(o,r,a){var s=a("b622");r.f=s},e893:function(o,r,a){var s=a("5135"),l=a("56ef"),d=a("06cf"),f=a("9bf2");o.exports=function(g,v){for(var b=l(v),x=f.f,k=d.f,S=0;S<b.length;S++){var O=b[S];s(g,O)||x(g,O,k(v,O))}}},e8b5:function(o,r,a){var s=a("c6b6");o.exports=Array.isArray||function(d){return s(d)=="Array"}},e95a:function(o,r,a){var s=a("b622"),l=a("3f8c"),d=s("iterator"),f=Array.prototype;o.exports=function(g){return g!==void 0&&(l.Array===g||f[d]===g)}},f5df:function(o,r,a){var s=a("00ee"),l=a("c6b6"),d=a("b622"),f=d("toStringTag"),g=l(function(){return arguments}())=="Arguments",v=function(b,x){try{return b[x]}catch{}};o.exports=s?l:function(b){var x,k,S;return b===void 0?"Undefined":b===null?"Null":typeof(k=v(x=Object(b),f))=="string"?k:g?l(x):(S=l(x))=="Object"&&typeof x.callee=="function"?"Arguments":S}},f772:function(o,r,a){var s=a("5692"),l=a("90e3"),d=s("keys");o.exports=function(f){return d[f]||(d[f]=l(f))}},fb15:function(o,r,a){if(a.r(r),typeof window<"u"){var s=window.document.currentScript;{var l=a("8875");s=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var d=s&&s.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);d&&(a.p=d[1])}a("99af"),a("4de4"),a("4160"),a("c975"),a("d81d"),a("a434"),a("159b"),a("a4d3"),a("e439"),a("dbb4"),a("b64b");function f(Cn,Pn,Tn){return Pn in Cn?Object.defineProperty(Cn,Pn,{value:Tn,enumerable:!0,configurable:!0,writable:!0}):Cn[Pn]=Tn,Cn}function g(Cn,Pn){var Tn=Object.keys(Cn);if(Object.getOwnPropertySymbols){var si=Object.getOwnPropertySymbols(Cn);Pn&&(si=si.filter(function(Rn){return Object.getOwnPropertyDescriptor(Cn,Rn).enumerable})),Tn.push.apply(Tn,si)}return Tn}function v(Cn){for(var Pn=1;Pn<arguments.length;Pn++){var Tn=arguments[Pn]!=null?arguments[Pn]:{};Pn%2?g(Object(Tn),!0).forEach(function(si){f(Cn,si,Tn[si])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Cn,Object.getOwnPropertyDescriptors(Tn)):g(Object(Tn)).forEach(function(si){Object.defineProperty(Cn,si,Object.getOwnPropertyDescriptor(Tn,si))})}return Cn}function b(Cn){if(Array.isArray(Cn))return Cn}a("e01a"),a("d28b"),a("e260"),a("d3b7"),a("3ca3"),a("ddb0");function x(Cn,Pn){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(Cn)))){var Tn=[],si=!0,Rn=!1,Pi=void 0;try{for(var Ai=Cn[Symbol.iterator](),vi;!(si=(vi=Ai.next()).done)&&(Tn.push(vi.value),!(Pn&&Tn.length===Pn));si=!0);}catch(oo){Rn=!0,Pi=oo}finally{try{!si&&Ai.return!=null&&Ai.return()}finally{if(Rn)throw Pi}}return Tn}}a("a630"),a("fb6a"),a("b0c0"),a("25f0");function k(Cn,Pn){(Pn==null||Pn>Cn.length)&&(Pn=Cn.length);for(var Tn=0,si=new Array(Pn);Tn<Pn;Tn++)si[Tn]=Cn[Tn];return si}function S(Cn,Pn){if(Cn){if(typeof Cn=="string")return k(Cn,Pn);var Tn=Object.prototype.toString.call(Cn).slice(8,-1);if(Tn==="Object"&&Cn.constructor&&(Tn=Cn.constructor.name),Tn==="Map"||Tn==="Set")return Array.from(Cn);if(Tn==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Tn))return k(Cn,Pn)}}function O(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
62
62
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function w(Cn,Pn){return b(Cn)||x(Cn,Pn)||S(Cn,Pn)||O()}function D(Cn){if(Array.isArray(Cn))return k(Cn)}function I(Cn){if(typeof Symbol<"u"&&Symbol.iterator in Object(Cn))return Array.from(Cn)}function $(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
63
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B(Cn){return D(Cn)||I(Cn)||S(Cn)||$()}var X=a("a352"),Y=a.n(X);function Q(Cn){Cn.parentElement!==null&&Cn.parentElement.removeChild(Cn)}function ue(Cn,Pn,Tn){var si=Tn===0?Cn.children[0]:Cn.children[Tn-1].nextSibling;Cn.insertBefore(Pn,si)}var ce=a("dbf1");a("13d5"),a("4fad"),a("ac1f"),a("5319");function ve(Cn){var Pn=Object.create(null);return function(si){var Rn=Pn[si];return Rn||(Pn[si]=Cn(si))}}var ie=/-(\w)/g,se=ve(function(Cn){return Cn.replace(ie,function(Pn,Tn){return Tn.toUpperCase()})});a("5db7"),a("73d9");var te=["Start","Add","Remove","Update","End"],ye=["Choose","Unchoose","Sort","Filter","Clone"],Ee=["Move"],Ce=[Ee,te,ye].flatMap(function(Cn){return Cn}).map(function(Cn){return"on".concat(Cn)}),je={manage:Ee,manageAndEmit:te,emit:ye};function tt(Cn){return Ce.indexOf(Cn)!==-1}a("caad"),a("2ca0");var nt=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function Se(Cn){return nt.includes(Cn)}function Te(Cn){return["transition-group","TransitionGroup"].includes(Cn)}function lt(Cn){return["id","class","role","style"].includes(Cn)||Cn.startsWith("data-")||Cn.startsWith("aria-")||Cn.startsWith("on")}function Ot(Cn){return Cn.reduce(function(Pn,Tn){var si=w(Tn,2),Rn=si[0],Pi=si[1];return Pn[Rn]=Pi,Pn},{})}function St(Cn){var Pn=Cn.$attrs,Tn=Cn.componentData,si=Tn===void 0?{}:Tn,Rn=Ot(Object.entries(Pn).filter(function(Pi){var Ai=w(Pi,2),vi=Ai[0];return Ai[1],lt(vi)}));return v(v({},Rn),si)}function Et(Cn){var Pn=Cn.$attrs,Tn=Cn.callBackBuilder,si=Ot(It(Pn));Object.entries(Tn).forEach(function(Pi){var Ai=w(Pi,2),vi=Ai[0],oo=Ai[1];je[vi].forEach(function(Ci){si["on".concat(Ci)]=oo(Ci)})});var Rn="[data-draggable]".concat(si.draggable||"");return v(v({},si),{},{draggable:Rn})}function It(Cn){return Object.entries(Cn).filter(function(Pn){var Tn=w(Pn,2),si=Tn[0];return Tn[1],!lt(si)}).map(function(Pn){var Tn=w(Pn,2),si=Tn[0],Rn=Tn[1];return[se(si),Rn]}).filter(function(Pn){var Tn=w(Pn,2),si=Tn[0];return Tn[1],!tt(si)})}a("c740");function _t(Cn,Pn){if(!(Cn instanceof Pn))throw new TypeError("Cannot call a class as a function")}function Qt(Cn,Pn){for(var Tn=0;Tn<Pn.length;Tn++){var si=Pn[Tn];si.enumerable=si.enumerable||!1,si.configurable=!0,"value"in si&&(si.writable=!0),Object.defineProperty(Cn,si.key,si)}}function zt(Cn,Pn,Tn){return Pn&&Qt(Cn.prototype,Pn),Cn}var Nt=function(Pn){var Tn=Pn.el;return Tn},kt=function(Pn,Tn){return Pn.__draggable_context=Tn},Ct=function(Pn){return Pn.__draggable_context},Bt=function(){function Cn(Pn){var Tn=Pn.nodes,si=Tn.header,Rn=Tn.default,Pi=Tn.footer,Ai=Pn.root,vi=Pn.realList;_t(this,Cn),this.defaultNodes=Rn,this.children=[].concat(B(si),B(Rn),B(Pi)),this.externalComponent=Ai.externalComponent,this.rootTransition=Ai.transition,this.tag=Ai.tag,this.realList=vi}return zt(Cn,[{key:"render",value:function(Tn,si){var Rn=this.tag,Pi=this.children,Ai=this._isRootComponent,vi=Ai?{default:function(){return Pi}}:Pi;return Tn(Rn,si,vi)}},{key:"updated",value:function(){var Tn=this.defaultNodes,si=this.realList;Tn.forEach(function(Rn,Pi){kt(Nt(Rn),{element:si[Pi],index:Pi})})}},{key:"getUnderlyingVm",value:function(Tn){return Ct(Tn)}},{key:"getVmIndexFromDomIndex",value:function(Tn,si){var Rn=this.defaultNodes,Pi=Rn.length,Ai=si.children,vi=Ai.item(Tn);if(vi===null)return Pi;var oo=Ct(vi);if(oo)return oo.index;if(Pi===0)return 0;var Ci=Nt(Rn[0]),Kn=B(Ai).findIndex(function(fo){return fo===Ci});return Tn<Kn?0:Pi}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),Cn}(),ut=a("8bbf");function sn(Cn,Pn){var Tn=Cn[Pn];return Tn?Tn():[]}function dn(Cn){var Pn=Cn.$slots,Tn=Cn.realList,si=Cn.getKey,Rn=Tn||[],Pi=["header","footer"].map(function(fo){return sn(Pn,fo)}),Ai=w(Pi,2),vi=Ai[0],oo=Ai[1],Ci=Pn.item;if(!Ci)throw new Error("draggable element must have an item slot");var Kn=Rn.flatMap(function(fo,Yi){return Ci({element:fo,index:Yi}).map(function(Bi){return Bi.key=si(fo),Bi.props=v(v({},Bi.props||{}),{},{"data-draggable":!0}),Bi})});if(Kn.length!==Rn.length)throw new Error("Item slot must have only one child");return{header:vi,footer:oo,default:Kn}}function Gt(Cn){var Pn=Te(Cn),Tn=!Se(Cn)&&!Pn;return{transition:Pn,externalComponent:Tn,tag:Tn?Object(ut.resolveComponent)(Cn):Pn?ut.TransitionGroup:Cn}}function yt(Cn){var Pn=Cn.$slots,Tn=Cn.tag,si=Cn.realList,Rn=Cn.getKey,Pi=dn({$slots:Pn,realList:si,getKey:Rn}),Ai=Gt(Tn);return new Bt({nodes:Pi,root:Ai,realList:si})}function cn(Cn,Pn){var Tn=this;Object(ut.nextTick)(function(){return Tn.$emit(Cn.toLowerCase(),Pn)})}function gn(Cn){var Pn=this;return function(Tn,si){if(Pn.realList!==null)return Pn["onDrag".concat(Cn)](Tn,si)}}function mn(Cn){var Pn=this,Tn=gn.call(this,Cn);return function(si,Rn){Tn.call(Pn,si,Rn),cn.call(Pn,Cn,si)}}var Xt=null,In={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(Pn){return Pn}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},$n=["update:modelValue","change"].concat(B([].concat(B(je.manageAndEmit),B(je.emit)).map(function(Cn){return Cn.toLowerCase()}))),Hn=Object(ut.defineComponent)({name:"draggable",inheritAttrs:!1,props:In,emits:$n,data:function(){return{error:!1}},render:function(){try{this.error=!1;var Pn=this.$slots,Tn=this.$attrs,si=this.tag,Rn=this.componentData,Pi=this.realList,Ai=this.getKey,vi=yt({$slots:Pn,tag:si,realList:Pi,getKey:Ai});this.componentStructure=vi;var oo=St({$attrs:Tn,componentData:Rn});return vi.render(ut.h,oo)}catch(Ci){return this.error=!0,Object(ut.h)("pre",{style:{color:"red"}},Ci.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&ce.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var Pn=this;if(!this.error){var Tn=this.$attrs,si=this.$el,Rn=this.componentStructure;Rn.updated();var Pi=Et({$attrs:Tn,callBackBuilder:{manageAndEmit:function(oo){return mn.call(Pn,oo)},emit:function(oo){return cn.bind(Pn,oo)},manage:function(oo){return gn.call(Pn,oo)}}}),Ai=si.nodeType===1?si:si.parentElement;this._sortable=new Y.a(Ai,Pi),this.targetDomElement=Ai,Ai.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var Pn=this.list;return Pn||this.modelValue},getKey:function(){var Pn=this.itemKey;return typeof Pn=="function"?Pn:function(Tn){return Tn[Pn]}}},watch:{$attrs:{handler:function(Pn){var Tn=this._sortable;Tn&&It(Pn).forEach(function(si){var Rn=w(si,2),Pi=Rn[0],Ai=Rn[1];Tn.option(Pi,Ai)})},deep:!0}},methods:{getUnderlyingVm:function(Pn){return this.componentStructure.getUnderlyingVm(Pn)||null},getUnderlyingPotencialDraggableComponent:function(Pn){return Pn.__draggable_component__},emitChanges:function(Pn){var Tn=this;Object(ut.nextTick)(function(){return Tn.$emit("change",Pn)})},alterList:function(Pn){if(this.list){Pn(this.list);return}var Tn=B(this.modelValue);Pn(Tn),this.$emit("update:modelValue",Tn)},spliceList:function(){var Pn=arguments,Tn=function(Rn){return Rn.splice.apply(Rn,B(Pn))};this.alterList(Tn)},updatePosition:function(Pn,Tn){var si=function(Pi){return Pi.splice(Tn,0,Pi.splice(Pn,1)[0])};this.alterList(si)},getRelatedContextFromMoveEvent:function(Pn){var Tn=Pn.to,si=Pn.related,Rn=this.getUnderlyingPotencialDraggableComponent(Tn);if(!Rn)return{component:Rn};var Pi=Rn.realList,Ai={list:Pi,component:Rn};if(Tn!==si&&Pi){var vi=Rn.getUnderlyingVm(si)||{};return v(v({},vi),Ai)}return Ai},getVmIndexFromDomIndex:function(Pn){return this.componentStructure.getVmIndexFromDomIndex(Pn,this.targetDomElement)},onDragStart:function(Pn){this.context=this.getUnderlyingVm(Pn.item),Pn.item._underlying_vm_=this.clone(this.context.element),Xt=Pn.item},onDragAdd:function(Pn){var Tn=Pn.item._underlying_vm_;if(Tn!==void 0){Q(Pn.item);var si=this.getVmIndexFromDomIndex(Pn.newIndex);this.spliceList(si,0,Tn);var Rn={element:Tn,newIndex:si};this.emitChanges({added:Rn})}},onDragRemove:function(Pn){if(ue(this.$el,Pn.item,Pn.oldIndex),Pn.pullMode==="clone"){Q(Pn.clone);return}var Tn=this.context,si=Tn.index,Rn=Tn.element;this.spliceList(si,1);var Pi={element:Rn,oldIndex:si};this.emitChanges({removed:Pi})},onDragUpdate:function(Pn){Q(Pn.item),ue(Pn.from,Pn.item,Pn.oldIndex);var Tn=this.context.index,si=this.getVmIndexFromDomIndex(Pn.newIndex);this.updatePosition(Tn,si);var Rn={element:this.context.element,oldIndex:Tn,newIndex:si};this.emitChanges({moved:Rn})},computeFutureIndex:function(Pn,Tn){if(!Pn.element)return 0;var si=B(Tn.to.children).filter(function(vi){return vi.style.display!=="none"}),Rn=si.indexOf(Tn.related),Pi=Pn.component.getVmIndexFromDomIndex(Rn),Ai=si.indexOf(Xt)!==-1;return Ai||!Tn.willInsertAfter?Pi:Pi+1},onDragMove:function(Pn,Tn){var si=this.move,Rn=this.realList;if(!si||!Rn)return!0;var Pi=this.getRelatedContextFromMoveEvent(Pn),Ai=this.computeFutureIndex(Pi,Pn),vi=v(v({},this.context),{},{futureIndex:Ai}),oo=v(v({},Pn),{},{relatedContext:Pi,draggedContext:vi});return si(oo,Tn)},onDragEnd:function(){Xt=null}}}),Xn=Hn;r.default=Xn},fb6a:function(o,r,a){var s=a("23e7"),l=a("861d"),d=a("e8b5"),f=a("23cb"),g=a("50c4"),v=a("fc6a"),b=a("8418"),x=a("b622"),k=a("1dde"),S=a("ae40"),O=k("slice"),w=S("slice",{ACCESSORS:!0,0:0,1:2}),D=x("species"),I=[].slice,$=Math.max;s({target:"Array",proto:!0,forced:!O||!w},{slice:function(X,Y){var Q=v(this),ue=g(Q.length),ce=f(X,ue),ve=f(Y===void 0?ue:Y,ue),ie,se,te;if(d(Q)&&(ie=Q.constructor,typeof ie=="function"&&(ie===Array||d(ie.prototype))?ie=void 0:l(ie)&&(ie=ie[D],ie===null&&(ie=void 0)),ie===Array||ie===void 0))return I.call(Q,ce,ve);for(se=new(ie===void 0?Array:ie)($(ve-ce,0)),te=0;ce<ve;ce++,te++)ce in Q&&b(se,te,Q[ce]);return se.length=te,se}})},fc6a:function(o,r,a){var s=a("44ad"),l=a("1d80");o.exports=function(d){return s(l(d))}},fdbc:function(o,r){o.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(o,r,a){var s=a("4930");o.exports=s&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(eO);var bge=eO.exports;const sf=Jf(bge);function Mg(n){let e;if(n.includes("(")&&n.includes(")")){e=n.split("(")[0];const t=n.match(pU);t&&(n=t[1])}return{fn:e??null,field:n}}const xge=n=>(nr("data-v-4aa39142"),n=n(),ir(),n),wge={class:"name"},kge=xge(()=>xe("div",{class:"spacer"},null,-1)),Cge=["onClick"],Sge=Lt({__name:"system-fields",props:{collectionName:{},value:{default:null},allowSelectAll:{type:Boolean,default:!1}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,o=xo(),r=we({get(){var f;return((f=t.value)==null?void 0:f.map(g=>({key:g,...o.getField(t.collectionName,g),displayName:d(g)})))??[];function d(g){const v=g.split(".");return v.map((x,k)=>{const S=x.includes("(")&&x.includes(")");let O=x,w;if(S){const{field:B,fn:X}=Mg(x);w=X,O=B}const D=v.slice(0,k),I=o.getField(t.collectionName,[...D,O].join(".")),$=(I==null?void 0:I.name)??O;return S?a(`functions.${w}`)+` (${$})`:$}).join(" -> ")}},set(d){const f=d.map(g=>g.key);i("input",f)}}),{t:a}=vn(),s=d=>{const f=new Set([...t.value??[],...d]);i("input",Array.from(f))},l=d=>{var g;const f=(g=t.value)==null?void 0:g.filter(v=>v!==d);(!f||f.length===0)&&i("input",null),i("input",f)};return(d,f)=>{const g=q("v-notice"),v=q("v-list"),b=q("v-icon"),x=q("v-list-item"),k=q("v-field-list"),S=q("v-menu");return d.collectionName?(V(),De(_n,{key:1},[r.value.length===0?(V(),me(v,{key:0},{default:P(()=>[A(g,{class:"no-fields"},{default:P(()=>[Fe(de(h(a)("interfaces.system-fields.no_fields")),1)]),_:1})]),_:1})):(V(),me(v,{key:1},{default:P(()=>[A(h(sf),vr({modelValue:r.value,"onUpdate:modelValue":f[0]||(f[0]=O=>r.value=O),"item-key":"key",handle:".drag-handle"},{"force-fallback":!0}),{item:P(({element:O})=>[A(x,{block:""},{default:P(()=>[A(b,{name:"drag_handle",class:"drag-handle",left:""}),xe("div",wge,de(O.displayName),1),kge,A(b,{name:"close",clickable:"",onClick:w=>l(O.key)},null,8,["onClick"])]),_:2},1024)]),_:1},16,["modelValue"])]),_:1})),A(S,{placement:"bottom-start","show-arrow":""},{activator:P(({toggle:O})=>[xe("button",{class:"toggle",onClick:O},[Fe(de(h(a)("add_field"))+" ",1),A(b,{name:"expand_more"})],8,Cge)]),default:P(()=>[A(k,{"disabled-fields":d.value,collection:d.collectionName,"allow-select-all":d.allowSelectAll,onAdd:s},null,8,["disabled-fields","collection","allow-select-all"])]),_:1})],64)):(V(),me(g,{key:0},{default:P(()=>[Fe(de(h(a)("interfaces.system-fields.select_a_collection")),1)]),_:1}))}}}),Ege=qt(Sge,[["__scopeId","data-v-4aa39142"]]),Age=ha({id:"system-fields",name:"$t:interfaces.fields.name",icon:"search",component:Ege,types:["csv","json"],options:[],system:!0}),Tge=["pattern","value"],Lge=["value"],Ige={class:"date-input"},Mge=["onClick"],Dge=Lt({__name:"input-component",props:{is:{},type:{},value:{type:[String,Number,Object,Boolean,null]},focus:{type:Boolean,default:!0},choices:{default:()=>[]}},emits:["input"],setup(n,{emit:e}){mm(x=>({"434d5965":l.value}));const t=n,i=e,{t:o}=vn(),r=Pe(),a=Pe(null),s=Pe(!0),l=we(()=>s.value?"none":"var(--theme--danger)"),d=we(()=>t.value===null||t.value===void 0?null:typeof t.value=="string"&&t.value.length>25?t.value.substring(0,22)+"...":t.value),f=we(()=>{switch(t.type){case"integer":case"bigInteger":return"[+\\-]?[0-9]+";case"decimal":case"float":return"[+\\-]?[0-9]+\\.?[0-9]*";case"uuid":return"[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}";default:return""}});zr(()=>{var x;t.focus&&((x=a.value)==null||x.focus())}),aC(()=>v(t.value)),ii(()=>t.value,x=>v(x),{immediate:!0});function g(x){return!!(x===""||typeof x!="string"||new RegExp(f.value).test(x)||typeof x=="string"&&(["$NOW","$CURRENT_USER","$CURRENT_ROLE"].some(k=>x.startsWith(k))||/^{{\s*?\S+?\s*?}}$/.test(x)))}function v(x){s.value=g(x)}function b(x){s.value=g(x),s.value&&i("input",x===""?null:x)}return(x,k)=>{const S=q("v-icon"),O=q("v-select"),w=q("v-date-picker"),D=q("v-menu"),I=ki("input-auto-width");return x.type==="boolean"?(V(),me(S,{key:0,name:x.value===null?"indeterminate_check_box":x.value?"check_box":"check_box_outline_blank",clickable:"",class:"preview",small:"",onClick:k[0]||(k[0]=$=>x.$emit("input",!x.value))},null,8,["name"])):x.is==="interface-input"?rn((V(),De("input",{key:1,ref_key:"inputEl",ref:a,type:"text",pattern:f.value,value:x.value,placeholder:"--",onInput:k[1]||(k[1]=$=>b($.target.value))},null,40,Tge)),[[I]]):x.is==="select"?(V(),me(O,{key:2,inline:"",items:x.choices,"model-value":x.value,placeholder:h(o)("select"),"allow-other":"","group-selectable":"","onUpdate:modelValue":k[2]||(k[2]=$=>b($))},null,8,["items","model-value","placeholder"])):x.is==="interface-datetime"?(V(),De(_n,{key:3},[rn(xe("input",{ref_key:"inputEl",ref:a,type:"text",value:x.value,placeholder:"--",onInput:k[3]||(k[3]=$=>b($.target.value))},null,40,Lge),[[I]]),A(D,{ref_key:"dateTimeMenu",ref:r,"close-on-content-click":!1,"show-arrow":"",placement:"bottom-start",seamless:"","full-height":""},{activator:P(({toggle:$})=>[A(S,{class:"preview",name:"event",small:"",onClick:$},null,8,["onClick"])]),default:P(()=>{var $;return[xe("div",Ige,[A(w,{type:x.type,"model-value":x.value,"onUpdate:modelValue":b,onClose:($=r.value)==null?void 0:$.deactivate},null,8,["type","model-value","onClose"])])]}),_:1},512)],64)):(V(),me(D,{key:4,"close-on-content-click":!1,"show-arrow":"",placement:"bottom-start"},{activator:P(({toggle:$})=>[x.type.startsWith("geometry")||x.type==="json"?(V(),me(S,{key:0,class:"preview",name:x.type==="json"?"integration_instructions":"map",small:"",onClick:$},null,8,["name","onClick"])):(V(),De("div",{key:1,class:"preview",onClick:$},de(d.value),9,Mge))]),default:P(()=>[xe("div",{class:An(["input",x.type])},[(V(),me(pa(x.is),{class:"input-component",small:"",type:x.type,value:x.value,onInput:k[4]||(k[4]=$=>b($))},null,40,["type","value"]))],2)]),_:1}))}}}),Py=qt(Dge,[["__scopeId","data-v-9392cce4"]]);function S8(n){return n?Object.keys(n)[0]:""}function qm(n){const e=S8(n);if(e.startsWith("_")||!st.isPlainObject(n[e]))return"";const t=qm(n[e]);return t!==""?`${e}.${t}`:e}function C9(n){return n.includes("(")&&n.includes(")")}function fO(n){return S8(st.get(n,qm(n)))}function sw(n,e,t){return i(n.split("."));function i(o){const r=o.shift();return r!==void 0?{[r]:i(o)}:{[e]:t}}}const Pge={key:2,class:"list"},Oge={class:"and"},Rge=Lt({__name:"input-group",props:{field:{},collection:{}},emits:["update:field"],setup(n,{emit:e}){const t=n,i=e,o=xo(),r=Ts(),{t:a}=vn(),s=we(()=>{const b=o.getField(t.collection,qm(t.field));if((b==null?void 0:b.type)==="alias"){const x=r.getRelationsForField(t.collection,qm(t.field));if(x[0])return o.getField(x[0].collection,x[0].field)}return b}),l=we(()=>fO(t.field)),d=we(()=>{var x,k,S,O;return(S=(k=(x=s.value)==null?void 0:x.meta)==null?void 0:k.options)!=null&&S.choices?"select":"interface-"+{bigInteger:"input",binary:"input",boolean:"boolean",date:"datetime",dateTime:"datetime",decimal:"input",float:"input",integer:"input",json:"input-code",string:"input",text:"input-multiline",time:"datetime",timestamp:"datetime",uuid:"input",csv:"input",hash:"input-hash",geometry:"map"}[((O=s.value)==null?void 0:O.type)||"string"]}),f=we({get(){const b=qm(t.field),x=st.get(t.field,`${b}.${l.value}`);return["_in","_nin"].includes(l.value)?[...x.filter(k=>k!==null&&k!==""),null]:x},set(b){const x=qm(t.field);let k;["_in","_nin"].includes(l.value)?k=b.flatMap(S=>typeof S=="string"?S.split(",").map(O=>O.trim()):"").filter(S=>S!==null&&S!==""):k=b,i("update:field",sw(x,l.value,k))}}),g=we(()=>{var b,x,k;return((k=(x=(b=s.value)==null?void 0:b.meta)==null?void 0:x.options)==null?void 0:k.choices)??[]});function v(b,x){const k=Array.isArray(f.value)?st.clone(f.value):new Array(b+1);k[b]=x,f.value=k}return(b,x)=>{var k,S,O,w;return["_eq","_neq","_lt","_gt","_lte","_gte"].includes(l.value)?(V(),me(Py,{key:0,is:d.value,choices:g.value,type:((k=s.value)==null?void 0:k.type)??"unknown",value:f.value,onInput:x[0]||(x[0]=D=>f.value=D)},null,8,["is","choices","type","value"])):["_contains","_ncontains","_icontains","_starts_with","_istarts_with","_nstarts_with","_nistarts_with","_ends_with","_iends_with","_nends_with","_niends_with","_regex"].includes(l.value)?(V(),me(Py,{key:1,is:"interface-input",choices:g.value,type:((S=s.value)==null?void 0:S.type)??"unknown",value:f.value,onInput:x[1]||(x[1]=D=>f.value=D)},null,8,["choices","type","value"])):["_in","_nin"].includes(l.value)?(V(),De("div",Pge,[(V(!0),De(_n,null,Ii(f.value,(D,I)=>{var $;return V(),De("div",{key:I,class:"value"},[A(Py,{is:d.value,type:(($=s.value)==null?void 0:$.type)??"unknown",value:D,focus:!1,choices:g.value,onInput:B=>v(I,B)},null,8,["is","type","value","choices","onInput"])])}),128))])):["_between","_nbetween"].includes(l.value)?(V(),De(_n,{key:3},[A(Py,{is:d.value,choices:g.value,type:((O=s.value)==null?void 0:O.type)??"unknown",value:f.value[0]??"",onInput:x[2]||(x[2]=D=>v(0,D))},null,8,["is","choices","type","value"]),xe("div",Oge,de(h(a)("interfaces.filter.and")),1),A(Py,{is:d.value,choices:g.value,type:((w=s.value)==null?void 0:w.type)??"unknown",value:f.value[1]??"",onInput:x[3]||(x[3]=D=>v(1,D))},null,8,["is","choices","type","value"])],64)):He("",!0)}}}),Fge=qt(Rge,[["__scopeId","data-v-a542a969"]]),zge={class:"row"},$ge={key:0,block:"",class:"node field"},Nge={key:0,class:"plain-name"},Bge=["onClick"],jge={class:"delete"},Vge={key:1,class:"node logic"},Hge=["onClick"],Uge={class:"text"},Wge={class:"delete"},qge=Lt({__name:"nodes",props:{filter:{},collection:{},field:{default:void 0},depth:{default:1},inline:{type:Boolean,default:!1},includeValidation:{type:Boolean,default:!1},includeRelations:{type:Boolean,default:!0},relationalFieldSelectable:{type:Boolean,default:!0},rawFieldNames:{type:Boolean,default:!1}},emits:["remove-node","update:filter","change"],setup(n,{emit:e}){const t=n,i=e,{collection:o}=Po(t),r=da(t,"filter",i),a=xo(),s=Ts(),{t:l}=vn(),d=we({get(){return t.filter.map((w,D)=>{const I=S8(w),$=I.startsWith("_")===!1;return $?{id:D,isField:$,name:I,field:qm(w),comparator:fO(w),node:w}:{id:D,name:I,isField:$,node:w}})},set(w){i("update:filter",w.map(D=>D.node))}});function f(w){const I=qm(w).split(".");return I.map((B,X)=>{const Y=C9(B);let Q=B,ue;if(Y){const{field:se,fn:te}=Mg(B);ue=te,Q=se}const ce=I.slice(0,X),ve=a.getField(t.collection,[...ce,Q].join(".")),ie=(t.rawFieldNames?ve==null?void 0:ve.field:ve==null?void 0:ve.name)??Q;return Y?l(`functions.${ue}`)+` (${ie})`:ie}).join(" -> ")}function g(w){return t.filter.findIndex(D=>D===w)}function v(w){const D=d.value[w];d.value[w].isField||("_and"in D.node?r.value=r.value.map((I,$)=>$===w?{_or:D.node._and}:I):r.value=r.value.map((I,$)=>$===w?{_and:D.node._or}:I))}function b(w,D){const I=d.value[w];if(I.isField===!1)return;const $=I.field+"."+I.comparator,B=st.get(I.node,$);switch(D){case"_in":case"_nin":X(qu(B)||[]);break;case"_between":case"_nbetween":X((qu(B)||[]).slice(0,2));break;case"_null":case"_nnull":case"_empty":case"_nempty":X(!0);break;case"_intersects":case"_nintersects":case"_intersects_bbox":case"_nintersects_bbox":["_intersects","_nintersects","_intersects_bbox","_nintersects_bbox"].includes(I.comparator)?X(B):X(null);break;default:["_null","_nnull","_empty","_nempty"].includes(I.comparator)?X(null):X(Array.isArray(B)?B[0]:B);break}function X(Y){I.isField!==!1&&(r.value=r.value.map((Q,ue)=>ue===w?sw(I.field,D,Y):Q))}}function x(w,D){const I=d.value[w],$=a.getField(t.collection,I.name),B=a.getField(t.collection,D);if(I.isField===!1)return;const X=I.field+"."+I.comparator;let Y=st.get(I.node,X),Q=I.comparator;($==null?void 0:$.type)!==(B==null?void 0:B.type)&&(Y=null,Q=S(D)[0].value),r.value=r.value.map((ue,ce)=>ce===w?sw(D,Q,Y):ue)}function k(w,D){r.value=r.value.map((I,$)=>$===w?D:I)}function S(w){var I;let D;if(C9(w)){const $=w.split("(")[0];D=RD($)}else{const $=a.getField(t.collection,w);if(D=($==null?void 0:$.type)||"unknown",D==="alias"){const B=s.getRelationsForField(t.collection,w);B[0]&&(D=((I=a.getField(B[0].collection,B[0].field))==null?void 0:I.type)||"unknown")}}return OD(D,{includeValidation:t.includeValidation}).map($=>({text:l(`operators.${$}`),value:`_${$}`}))}function O(w){if(!t.collection)return!1;let D=qm(w);if(C9(D)){const $=D.split("."),{field:B}=Mg($.at(-1));D=[...$.slice(0,-1),B].join(".")}return!!a.getField(t.collection,D)}return(w,D)=>{const I=q("v-icon"),$=q("v-field-list"),B=q("v-menu"),X=q("v-select"),Y=q("nodes",!0),Q=ki("tooltip");return V(),me(h(sf),vr({tag:"ul",draggable:".row",handle:".drag-handle",class:"group",list:h(r),group:{name:"g1"},"item-key":g,"swap-threshold":.3},{"force-fallback":!0},{onChange:D[1]||(D[1]=ue=>w.$emit("change"))}),{item:P(({element:ue,index:ce})=>[xe("li",zge,[d.value[ce].isField?(V(),De("div",$ge,[xe("div",{class:An(["header",{inline:w.inline,"raw-field-names":w.rawFieldNames}])},[A(I,{name:"drag_indicator",class:"drag-handle",small:""}),w.field||!O(ue)?(V(),De("span",Nge,de(f(ue)),1)):(V(),me(B,{key:1,placement:"bottom-start","show-arrow":""},{activator:P(({toggle:ve})=>[xe("button",{class:"name",onClick:ve},[xe("span",null,de(f(ue)),1)],8,Bge)]),default:P(()=>[A($,{collection:h(o),field:w.field,"include-functions":"","include-relations":w.includeRelations,"relational-field-selectable":w.relationalFieldSelectable,"allow-select-all":!1,"raw-field-names":w.rawFieldNames,onAdd:ve=>x(ce,ve[0])},null,8,["collection","field","include-relations","relational-field-selectable","raw-field-names","onAdd"])]),_:2},1024)),A(X,{inline:"",class:"comparator",placement:"bottom-start","model-value":d.value[ce].comparator,items:S(d.value[ce].field),"onUpdate:modelValue":ve=>b(ce,ve)},null,8,["model-value","items","onUpdate:modelValue"]),A(Fge,{field:ue,collection:h(o),"onUpdate:field":ve=>k(ce,ve)},null,8,["field","collection","onUpdate:field"]),xe("span",jge,[rn(A(I,{name:"close",small:"",clickable:"",onClick:ve=>w.$emit("remove-node",[ce])},null,8,["onClick"]),[[Q,h(l)("delete_label")]])])],2)])):(V(),De("div",Vge,[xe("div",{class:An(["header",{inline:w.inline}])},[A(I,{name:"drag_indicator",class:"drag-handle",small:""}),xe("div",{class:An(["logic-type",{or:d.value[ce].name==="_or"}])},[xe("span",{class:"key",onClick:ve=>v(ce)},de(d.value[ce].name==="_and"?h(l)("interfaces.filter.logic_type_and"):h(l)("interfaces.filter.logic_type_or")),9,Hge),xe("span",Uge,de(`— ${d.value[ce].name==="_and"?h(l)("interfaces.filter.all"):h(l)("interfaces.filter.any")} ${h(l)("interfaces.filter.of_the_following")}`),1)],2),xe("span",Wge,[rn(A(I,{name:"close",small:"",clickable:"",onClick:ve=>w.$emit("remove-node",[ce])},null,8,["onClick"]),[[Q,h(l)("delete_label")]])])],2),A(Y,{filter:ue[d.value[ce].name],collection:h(o),depth:w.depth+1,inline:w.inline,"raw-field-names":w.rawFieldNames,onChange:D[0]||(D[0]=ve=>w.$emit("change")),onRemoveNode:ve=>w.$emit("remove-node",[`${ce}.${d.value[ce].name}`,...ve]),"onUpdate:filter":ve=>k(ce,{[d.value[ce].name]:ve})},null,8,["filter","collection","depth","inline","raw-field-names","onRemoveNode","onUpdate:filter"])]))])]),_:1},16,["list"])}}}),Gge=qt(qge,[["__scopeId","data-v-c752b15e"]]),Yge={key:0,class:"no-rules"},Xge={key:0,class:"buttons"},Kge={key:1,class:"buttons"},Zge=["onClick"],Jge=["placeholder"],Qge=Lt({__name:"system-filter",props:{value:{default:void 0},disabled:{type:Boolean,default:!1},collectionName:{default:void 0},collectionField:{default:void 0},collectionRequired:{type:Boolean,default:!0},fieldName:{default:void 0},inline:{type:Boolean,default:!1},includeValidation:{type:Boolean,default:!1},includeRelations:{type:Boolean,default:!0},relationalFieldSelectable:{type:Boolean,default:!0},rawFieldNames:{type:Boolean,default:!1}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=vn(),r=Pe(),a=ku("values",Pe({})),s=we(()=>t.collectionName?t.collectionName:a.value[t.collectionField]??null),l=xo(),d=Ts(),f=we({get(){const S=typeof t.value=="string"?Hg(t.value):t.value;return!S||st.isEmpty(S)?[]:S8(S)==="_and"?st.cloneDeep(S._and):st.cloneDeep([S])},set(S){S.length===0?i("input",null):i("input",{_and:S})}});function g(){f.value.length===0?i("input",null):i("input",{_and:f.value})}function v(S){var O,w,D;if(S==="$group")f.value=f.value.concat({_and:[]});else{let I;const $=l.getField(s.value,S);if(S.includes("(")&&S.includes(")")){const ce=S.split("(")[0];I=RD(ce),S=hU(S)}else if(I=($==null?void 0:$.type)||"unknown",I==="alias"){const ce=d.getRelationsForField(s.value,S);ce[0]&&(I=((O=l.getField(ce[0].collection,ce[0].field))==null?void 0:O.type)||"unknown")}const B=OD(I,{includeValidation:t.includeValidation}),X=(D=(w=$==null?void 0:$.meta)==null?void 0:w.options)!=null&&D.choices&&B.includes("eq")?"eq":B[0],Q=X&&["empty","nempty","null","nnull"].includes(X)?!0:null,ue=st.set({},S,{["_"+X]:Q});f.value=f.value.concat(ue)}}function b(S){const O=S.pop();if(S.length===0){f.value=f.value.filter((D,I)=>I!==Number(O));return}let w=st.get(f.value,S.join("."));w=w.filter((D,I)=>I!==Number(O)),f.value=st.set(f.value,S.join("."),w)}const x=Pe(null);function k(){x.value&&(r.value&&r.value.deactivate(),v(x.value),x.value=null)}return(S,O)=>{const w=q("v-notice"),D=q("v-list"),I=q("v-icon"),$=q("v-text-overflow"),B=q("v-list-item-content"),X=q("v-list-item"),Y=q("v-divider"),Q=q("v-field-list"),ue=q("v-menu");return S.collectionRequired&&!S.collectionField&&!s.value?(V(),me(w,{key:0,type:"warning"},{default:P(()=>[Fe(de(h(o)("collection_field_not_setup")),1)]),_:1})):S.collectionRequired&&!s.value?(V(),me(w,{key:1,type:"warning"},{default:P(()=>[Fe(de(h(o)("select_a_collection")),1)]),_:1})):(V(),De("div",{key:2,class:An(["system-filter",{inline:S.inline,empty:f.value.length===0,field:S.fieldName!==void 0}])},[A(D,{mandatory:""},{default:P(()=>[f.value.length===0?(V(),De("div",Yge,de(h(o)("interfaces.filter.no_rules")),1)):(V(),me(Gge,{key:1,filter:f.value,"onUpdate:filter":O[0]||(O[0]=ce=>f.value=ce),collection:s.value,field:S.fieldName,depth:1,"include-validation":S.includeValidation,"include-relations":S.includeRelations,"relational-field-selectable":S.relationalFieldSelectable,"raw-field-names":S.rawFieldNames,onRemoveNode:O[1]||(O[1]=ce=>b(ce)),onChange:g},null,8,["filter","collection","field","include-validation","include-relations","relational-field-selectable","raw-field-names"]))]),_:1}),S.fieldName?(V(),De("div",Xge,[xe("button",{onClick:O[2]||(O[2]=ce=>v(S.fieldName))},de(h(o)("interfaces.filter.add_filter")),1),xe("button",{onClick:O[3]||(O[3]=ce=>v("$group"))},de(h(o)("interfaces.filter.add_group")),1)])):(V(),De("div",Kge,[A(ue,{ref_key:"menuEl",ref:r,placement:"bottom-start","show-arrow":""},{activator:P(({toggle:ce,active:ve})=>[xe("button",{class:An(["add-filter",{active:ve}]),onClick:ce},[S.inline?(V(),me(I,{key:0,name:"add",class:"add",small:""})):He("",!0),xe("span",null,de(h(o)("interfaces.filter.add_filter")),1),A(I,{name:"expand_more",class:"expand_more"})],10,Zge)]),default:P(()=>[S.collectionRequired?(V(),me(Q,{key:0,collection:s.value,"include-functions":"","include-relations":S.includeRelations,"relational-field-selectable":S.relationalFieldSelectable,"allow-select-all":!1,"raw-field-names":S.rawFieldNames,onAdd:O[5]||(O[5]=ce=>v(ce[0]))},{prepend:P(()=>[A(X,{clickable:"",onClick:O[4]||(O[4]=ce=>v("$group"))},{default:P(()=>[A(B,null,{default:P(()=>[A($,{text:h(o)("interfaces.filter.add_group")},null,8,["text"])]),_:1})]),_:1}),A(Y)]),_:1},8,["collection","include-relations","relational-field-selectable","raw-field-names"])):(V(),me(D,{key:1,mandatory:!1},{default:P(()=>[A(X,{clickable:"",onClick:O[6]||(O[6]=ce=>v("$group"))},{default:P(()=>[A(B,null,{default:P(()=>[A($,{text:h(o)("interfaces.filter.add_group")},null,8,["text"])]),_:1})]),_:1}),A(Y),A(X,{onClick:O[8]||(O[8]=po(()=>{},["stop"]))},{default:P(()=>[A(B,null,{default:P(()=>[rn(xe("input",{"onUpdate:modelValue":O[7]||(O[7]=ce=>x.value=ce),class:"new-key-input",placeholder:h(o)("interfaces.filter.add_key_placeholder"),onKeydown:$p(k,["enter"])},null,40,Jge),[[f_,x.value]])]),_:1})]),_:1})]),_:1}))]),_:1},512)]))],2))}}}),e0e=qt(Qge,[["__scopeId","data-v-965dd0d3"]]),t0e=ha({id:"system-filter",name:"$t:interfaces.filter.name",icon:"search",component:e0e,types:["json"],options:[],system:!0}),n0e=(n,e,t)=>{const i=n[e];return i?typeof i=="function"?i():Promise.resolve(i):new Promise((o,r)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+e+(e.split("/").length!==t?". Note that variables only represent file names one level deep.":""))))})},IC=lf("translations",()=>{const n=Pe(!1),e=Pe([]),t=Pe("en-US"),i=async(r=h(t))=>{n.value=!0;try{e.value=await Sf("/translations",{params:{fields:["language","key","value"],filter:{language:{_eq:r}}}}),t.value=r}catch{}finally{n.value=!1}},o=async r=>{try{await Zn.post("/translations",r),await i()}catch(a){Xi(a)}};return ii(e,r=>{const a=r==null?void 0:r.reduce((s,{key:l,value:d})=>(s[l]=u4(d,!0),s),{});a&&$o.global.mergeLocaleMessage(h(t),a)}),{loading:n,translations:e,loadTranslations:i,create:o}});var pO={"af-ZA":"Afrikaans (South Africa)","sq-AL":"Albanian (Albania)","ar-SA":"Arabic (Saudi Arabia)","bn-IN":"Bengali (India)","bs-BA":"Bosnian (Bosnia and Herzegovina)","br-FR":"Breton (France)","bg-BG":"Bulgarian (Bulgaria)","ca-ES":"Catalan (Spain)","zh-CN":"Chinese (Simplified)","zh-TW":"Chinese (Traditional)","hr-HR":"Croatian (Croatia)","cs-CZ":"Czech (Czech Republic)","da-DK":"Danish (Denmark)","nl-NL":"Dutch (Netherlands)","en-CA":"English (Canada)","en-GB":"English (United Kingdom)","en-US":"English (United States)","eo-UY":"Esperanto","et-EE":"Estonian (Estonia)","fo-FO":"Faroese (Faroe Islands)","fa-IR":"Farsi (Iran)","fi-FI":"Finnish (Finland)","fr-CA":"French (Canada)","fr-FR":"French (France)","ka-GE":"Georgian (Georgia)","de-DE":"German (Germany)","el-GR":"Greek (Greece)","he-IL":"Hebrew (Israel)","hi-IN":"Hindi (India)","hu-HU":"Hungarian (Hungary)","is-IS":"Icelandic (Iceland)","id-ID":"Indonesian (Indonesia)","it-IT":"Italian (Italy)","ja-JP":"Japanese (Japan)","km-KH":"Khmer (Cambodia)","ko-KR":"Korean (Korea)","kmr-TR":"Kurdish Kurmanji (Turkey)","ckb-IR":"Kurdish Sorani (Iraq)","lt-LT":"Lithuanian (Lithuania)","ms-MY":"Malay (Malaysia)","mn-MN":"Mongolian (Mongolia)","no-NO":"Norwegian (Norway)","pl-PL":"Polish (Poland)","pt-BR":"Portuguese (Brazil)","pt-PT":"Portuguese (Portugal)","ro-RO":"Romanian (Romania)","ru-RU":"Russian (Russian Federation)","sr-SP":"Serbian (Cyrillic) (Serbia and Montenegro)","sr-CS":"Serbian (Latin) (Serbia and Montenegro)","si-LK":"Sinhala (Sri Lanka)","sk-SK":"Slovak (Slovakia)","sl-SI":"Slovenian (Slovenia)","es-CL":"Spanish (Chile)","es-419":"Spanish (Latin America)","es-MX":"Spanish (Mexico)","es-ES":"Spanish (Spain)","sw-KE":"Swahili (Kenya)","sw-TZ":"Swahili (Tanzania)","sv-SE":"Swedish (Sweden)","tg-TJ":"Tajik","th-TH":"Thai (Thailand)","tr-TR":"Turkish (Turkey)","uk-UA":"Ukrainian (Ukraine)","vi-VN":"Vietnamese (Vietnam)"};async function MC(n){const e=gr(),t=xo(),i=IC();if(Object.keys(pO).includes(n)===!1)console.warn(`"${n}" is not an available language in the Directus app.`);else{if(mA.includes(n)===!1)try{const{default:o}=await n0e(Object.assign({"./translations/af-ZA.yaml":()=>jt(()=>import("./af-ZA-BijvYDVi.js"),[],import.meta.url),"./translations/ar-SA.yaml":()=>jt(()=>import("./ar-SA-CvHrqudF.js"),[],import.meta.url),"./translations/az-AZ.yaml":()=>jt(()=>import("./az-AZ-Cpf-zHHl.js"),[],import.meta.url),"./translations/bg-BG.yaml":()=>jt(()=>import("./bg-BG-VcVW0vHc.js"),[],import.meta.url),"./translations/bn-IN.yaml":()=>jt(()=>import("./bn-IN-Bi360iv0.js"),[],import.meta.url),"./translations/br-FR.yaml":()=>jt(()=>import("./br-FR-Tx2kYr5_.js"),[],import.meta.url),"./translations/bs-BA.yaml":()=>jt(()=>import("./bs-BA-CSlQH6zj.js"),[],import.meta.url),"./translations/ca-ES.yaml":()=>jt(()=>import("./ca-ES-Bklg_INd.js"),[],import.meta.url),"./translations/ckb-IR.yaml":()=>jt(()=>import("./ckb-IR-B5C0Hm89.js"),[],import.meta.url),"./translations/cs-CZ.yaml":()=>jt(()=>import("./cs-CZ-GjGbIWPq.js"),[],import.meta.url),"./translations/da-DK.yaml":()=>jt(()=>import("./da-DK-zPDpoJTy.js"),[],import.meta.url),"./translations/de-DE.yaml":()=>jt(()=>import("./de-DE-5kPV95dk.js"),[],import.meta.url),"./translations/el-GR.yaml":()=>jt(()=>import("./el-GR-XaN25370.js"),[],import.meta.url),"./translations/en-CA.yaml":()=>jt(()=>import("./en-CA-tnRkL9jy.js"),[],import.meta.url),"./translations/en-GB.yaml":()=>jt(()=>import("./en-GB-vm5_cNZO.js"),[],import.meta.url),"./translations/en-US.yaml":()=>jt(()=>Promise.resolve().then(()=>Ghe),void 0,import.meta.url),"./translations/eo-UY.yaml":()=>jt(()=>import("./eo-UY-CaO4nq9E.js"),[],import.meta.url),"./translations/es-419.yaml":()=>jt(()=>import("./es-419-m7q31vSC.js"),[],import.meta.url),"./translations/es-CL.yaml":()=>jt(()=>import("./es-CL-C2hx9Xcl.js"),[],import.meta.url),"./translations/es-ES.yaml":()=>jt(()=>import("./es-ES-DLE89aiQ.js"),[],import.meta.url),"./translations/es-MX.yaml":()=>jt(()=>import("./es-MX-Crt8xlLn.js"),[],import.meta.url),"./translations/et-EE.yaml":()=>jt(()=>import("./et-EE-DT4DbJ3v.js"),[],import.meta.url),"./translations/fa-IR.yaml":()=>jt(()=>import("./fa-IR-WgaVR0U2.js"),[],import.meta.url),"./translations/fi-FI.yaml":()=>jt(()=>import("./fi-FI-D3ZeAEsK.js"),[],import.meta.url),"./translations/fo-FO.yaml":()=>jt(()=>import("./fo-FO-C8VkGziH.js"),[],import.meta.url),"./translations/fr-CA.yaml":()=>jt(()=>import("./fr-CA-BDIP4d5g.js"),[],import.meta.url),"./translations/fr-FR.yaml":()=>jt(()=>import("./fr-FR-DmA4FKwH.js"),[],import.meta.url),"./translations/he-IL.yaml":()=>jt(()=>import("./he-IL-Dl5_pJsw.js"),[],import.meta.url),"./translations/hi-IN.yaml":()=>jt(()=>import("./hi-IN-K4Rrr7IY.js"),[],import.meta.url),"./translations/hr-HR.yaml":()=>jt(()=>import("./hr-HR-DCgvn6mS.js"),[],import.meta.url),"./translations/hu-HU.yaml":()=>jt(()=>import("./hu-HU-DCs_x-Lw.js"),[],import.meta.url),"./translations/id-ID.yaml":()=>jt(()=>import("./id-ID-CyCFejUc.js"),[],import.meta.url),"./translations/is-IS.yaml":()=>jt(()=>import("./is-IS-BUlyMZS1.js"),[],import.meta.url),"./translations/it-IT.yaml":()=>jt(()=>import("./it-IT-Ciz5hjam.js"),[],import.meta.url),"./translations/ja-JP.yaml":()=>jt(()=>import("./ja-JP-yeeNn3Nr.js"),[],import.meta.url),"./translations/ka-GE.yaml":()=>jt(()=>import("./ka-GE-B3OpZKfV.js"),[],import.meta.url),"./translations/km-KH.yaml":()=>jt(()=>import("./km-KH-BPjKOhO1.js"),[],import.meta.url),"./translations/kmr-TR.yaml":()=>jt(()=>import("./kmr-TR-CIEyP2s7.js"),[],import.meta.url),"./translations/ko-KR.yaml":()=>jt(()=>import("./ko-KR-C8DQNwjp.js"),[],import.meta.url),"./translations/ku-TR.yaml":()=>jt(()=>import("./ku-TR-J1sgNKdl.js"),[],import.meta.url),"./translations/lt-LT.yaml":()=>jt(()=>import("./lt-LT-D7w76K7T.js"),[],import.meta.url),"./translations/mn-MN.yaml":()=>jt(()=>import("./mn-MN-E1MqWkWa.js"),[],import.meta.url),"./translations/mr-IN.yaml":()=>jt(()=>import("./mr-IN-CIEyP2s7.js"),[],import.meta.url),"./translations/ms-MY.yaml":()=>jt(()=>import("./ms-MY-C_jY7pi9.js"),[],import.meta.url),"./translations/ne-NP.yaml":()=>jt(()=>import("./ne-NP-l4KRQAzm.js"),[],import.meta.url),"./translations/nl-NL.yaml":()=>jt(()=>import("./nl-NL-D_KAGHQ_.js"),[],import.meta.url),"./translations/no-NO.yaml":()=>jt(()=>import("./no-NO-Dq83R4Wq.js"),[],import.meta.url),"./translations/pl-PL.yaml":()=>jt(()=>import("./pl-PL-CNn1hwnk.js"),[],import.meta.url),"./translations/pt-BR.yaml":()=>jt(()=>import("./pt-BR-CYlw405l.js"),[],import.meta.url),"./translations/pt-PT.yaml":()=>jt(()=>import("./pt-PT-B2NhvtJg.js"),[],import.meta.url),"./translations/ro-RO.yaml":()=>jt(()=>import("./ro-RO-DP3HSeMs.js"),[],import.meta.url),"./translations/ru-RU.yaml":()=>jt(()=>import("./ru-RU-B3n3jXM7.js"),[],import.meta.url),"./translations/si-LK.yaml":()=>jt(()=>import("./si-LK-BFeKlcrN.js"),[],import.meta.url),"./translations/sk-SK.yaml":()=>jt(()=>import("./sk-SK-DnTrUgxh.js"),[],import.meta.url),"./translations/sl-SI.yaml":()=>jt(()=>import("./sl-SI-DsmWw196.js"),[],import.meta.url),"./translations/sq-AL.yaml":()=>jt(()=>import("./sq-AL-CliFkJUL.js"),[],import.meta.url),"./translations/sr-CS.yaml":()=>jt(()=>import("./sr-CS-BxTdlZ3i.js"),[],import.meta.url),"./translations/sr-SP.yaml":()=>jt(()=>import("./sr-SP-BTeM-iZ_.js"),[],import.meta.url),"./translations/sv-SE.yaml":()=>jt(()=>import("./sv-SE-BFGAPqpS.js"),[],import.meta.url),"./translations/sw-KE.yaml":()=>jt(()=>import("./sw-KE-CIEyP2s7.js"),[],import.meta.url),"./translations/sw-TZ.yaml":()=>jt(()=>import("./sw-TZ-CIEyP2s7.js"),[],import.meta.url),"./translations/te-IN.yaml":()=>jt(()=>import("./te-IN-B4fg5gC-.js"),[],import.meta.url),"./translations/tg-TJ.yaml":()=>jt(()=>import("./tg-TJ-CIEyP2s7.js"),[],import.meta.url),"./translations/th-TH.yaml":()=>jt(()=>import("./th-TH-B1p4tJB6.js"),[],import.meta.url),"./translations/tr-TR.yaml":()=>jt(()=>import("./tr-TR-BUDU_voA.js"),[],import.meta.url),"./translations/uk-UA.yaml":()=>jt(()=>import("./uk-UA-CljXcR8s.js"),[],import.meta.url),"./translations/vi-VN.yaml":()=>jt(()=>import("./vi-VN-BKLiiZTt.js"),[],import.meta.url),"./translations/zh-CN.yaml":()=>jt(()=>import("./zh-CN-B4ExvpdW.js"),[],import.meta.url),"./translations/zh-TW.yaml":()=>jt(()=>import("./zh-TW-gJkxrypx.js"),[],import.meta.url)}),`./translations/${n}.yaml`,3);$o.global.mergeLocaleMessage(n,o),mA.push(n)}catch(o){console.warn(o)}$o.global.locale.value=n,document.querySelector("html").setAttribute("lang",n)}try{await i.loadTranslations(n),e.translateCollections(),t.translateFields(),await Mme(n)}catch{console.error("Failed loading translations")}return!0}const Ul=lf("serverStore",()=>{const n=A1({project:null,extensions:void 0,rateLimit:void 0,queryLimit:void 0}),e=A1({providers:[],disableDefault:!1}),t=we(()=>{const r=e.providers.filter(a=>!hP.includes(a.driver)).map(a=>({text:su(a.name),value:a.name,driver:a.driver}));return e.disableDefault||r.unshift({text:$o.global.t("default_provider"),value:hC,driver:$6}),r});return{info:n,auth:e,providerOptions:t,hydrate:async r=>{var d,f,g,v,b,x,k,S;const[a,s]=await Promise.all([Zn.get("/server/info"),Zn.get("/auth?sessionOnly")]);n.project=(d=a.data.data)==null?void 0:d.project,n.queryLimit=(f=a.data.data)==null?void 0:f.queryLimit,n.extensions=(g=a.data.data)==null?void 0:g.extensions,n.version=(v=a.data.data)==null?void 0:v.version,e.providers=s.data.data,e.disableDefault=s.data.disableDefault;const{currentUser:l}=Sr();if((!l||r!=null&&r.isLanguageUpdated&&(!("language"in l)||"language"in l&&!(l!=null&&l.language)))&&await MC(((x=(b=h(n))==null?void 0:b.project)==null?void 0:x.default_language)??"en-US"),((k=a.data.data)==null?void 0:k.rateLimit)!==void 0)if(((S=a.data.data)==null?void 0:S.rateLimit)===!1)await cA();else{const{duration:O,points:w}=a.data.data.rateLimit,D=1,I=Math.ceil(O*1e3/w);await cA({intervalCap:D,interval:I})}},dehydrate:()=>{n.project=null,e.providers=[],e.disableDefault=!1}}}),Sf=async(n,e={},t=1/0)=>{var l;let i=1,o=!0;const{info:r}=Ul();if(!r.queryLimit||((l=r.queryLimit)==null?void 0:l.max)===-1){st.set(e,"params.limit",-1);const{data:d}=await Zn.get(n,e);return d.data}const a=r.queryLimit.max,s=[];for(;s.length<t&&o===!0;){const d=st.cloneDeep(e);st.set(d,"params.page",i),st.set(d,"params.limit",a);const{data:f}=await Zn.get(n,d);f.data.length===0?o=!1:s.push(...f.data),i++}return Number.isFinite(t)?s.slice(0,t):s},hO=["root"],j5=Pe(!1),S9=Pe(null),NA=Pe(null),BA=Pe(hO);function x_(n,e){const t=we(()=>vO(NA.value,n==null?void 0:n.value)),i=Pe(jA(n==null?void 0:n.value)),o=we({get(){return!(n!=null&&n.value)&&!(e!=null&&e.value)?BA.value:i.value},set(a){!(n!=null&&n.value)&&!(e!=null&&e.value)?BA.value=a:i.value=a}});return n&&ii(n,(a,s)=>{a&&s===void 0&&(i.value=jA(a))}),S9.value===null&&r(),{loading:j5,folders:S9,nestedFolders:t,fetchFolders:r,openFolders:o};async function r(){if(j5.value!==!0){j5.value=!0;try{const a=await Sf("/folders",{params:{sort:"name"}});S9.value=a,NA.value=i0e(a)}catch(a){Xi(a)}finally{j5.value=!1}}}}function i0e(n){return n.map(e=>mO(e,n)).filter(e=>e.parent===null)}function mO(n,e){const t={...n},i=e.reduce((o,r)=>(r.parent===n.id&&r.id!==n.id&&o.push(mO(r,e)),o),[]);return i.length>0&&(t.children=i),t}function vO(n,e){if(!n)return null;if(!e)return n;for(const t of n){if(t.id===e)return t.children??null;if(t.children){const i=vO(t.children,e);if(i)return i}}return null}function jA(n){return n?[n]:hO}const o0e=Lt({__name:"folder-list-item",props:{folder:{},currentFolder:{},disabled:{type:Boolean},disabledFolders:{}},emits:["click"],setup(n){return(e,t)=>{const i=q("v-icon"),o=q("v-list-item-icon"),r=q("v-list-item-content"),a=q("v-list-item"),s=q("folder-list-item",!0),l=q("v-list-group");return!e.folder.children||e.folder.children.length===0?(V(),me(a,{key:0,active:e.currentFolder===e.folder.id,disabled:e.disabled,clickable:"",onClick:t[0]||(t[0]=d=>e.$emit("click",e.folder.id))},{default:P(()=>[A(o,null,{default:P(()=>[A(i,{name:e.currentFolder===e.folder.id?"folder_open":"folder"},null,8,["name"])]),_:1}),A(r,null,{default:P(()=>[Fe(de(e.folder.name),1)]),_:1})]),_:1},8,["active","disabled"])):(V(),me(l,{key:1,clickable:"",active:e.currentFolder===e.folder.id,disabled:e.disabled,onClick:t[2]||(t[2]=d=>e.$emit("click",e.folder.id))},{activator:P(()=>[A(o,null,{default:P(()=>[A(i,{name:e.currentFolder===e.folder.id?"folder_open":"folder"},null,8,["name"])]),_:1}),A(r,null,{default:P(()=>[Fe(de(e.folder.name),1)]),_:1})]),default:P(()=>[(V(!0),De(_n,null,Ii(e.folder.children,d=>{var f;return V(),me(s,{key:d.id,folder:d,"current-folder":e.currentFolder,disabled:(f=e.disabledFolders)==null?void 0:f.includes(d.id),"disabled-folders":e.disabledFolders,onClick:t[1]||(t[1]=g=>e.$emit("click",g))},null,8,["folder","current-folder","disabled","disabled-folders"])}),128))]),_:1},8,["active","disabled"]))}}}),a0e=Lt({__name:"folder",props:{value:{},disabledFolders:{},disabled:{type:Boolean},placeholder:{}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=vn(),{nestedFolders:r,folders:a,loading:s}=x_(),l=we(()=>{if(!t.value||!a.value)return o("interfaces.system-folder.root_name");const g=a.value.find(v=>v.id===t.value);return g?f(g,a.value).map(v=>v.name).join(" / "):t.value});function d(g){return i("input",g)}function f(g,v){const b=new Map(v.map(k=>[k.id,k])),x=k=>(k.parent&&b.has(k.parent)?x(b.get(k.parent)):[]).concat(k);return x(g)}return(g,v)=>{const b=q("v-skeleton-loader"),x=q("v-icon"),k=q("v-input"),S=q("v-list-item-icon"),O=q("v-list-item-content"),w=q("v-list-item"),D=q("v-divider"),I=q("v-list"),$=q("v-menu");return h(s)?(V(),me(b,{key:0})):(V(),me($,{key:1,class:"v-select",attached:"","show-arrow":!1,disabled:g.disabled,"close-on-content-click":""},{activator:P(({toggle:B,active:X})=>[A(k,{readonly:"",active:X,"model-value":l.value,placeholder:g.placeholder,disabled:g.disabled,onClick:B},{prepend:P(()=>[A(x,{name:g.value?"folder_open":"folder_special"},null,8,["name"])]),append:P(()=>[A(x,{name:"expand_more",class:An({active:X})},null,8,["class"])]),_:2},1032,["active","model-value","placeholder","disabled","onClick"])]),default:P(()=>[A(I,null,{default:P(()=>[A(w,{clickable:"",active:!g.value,onClick:v[0]||(v[0]=B=>d(null))},{default:P(()=>[A(S,null,{default:P(()=>[A(x,{name:"folder_special"})]),_:1}),A(O,null,{default:P(()=>[Fe(de(h(o)("interfaces.system-folder.root_name")),1)]),_:1})]),_:1},8,["active"]),h(r)&&h(r).length>0?(V(),me(D,{key:0})):He("",!0),(V(!0),De(_n,null,Ii(h(r),B=>{var X;return V(),me(o0e,{key:B.id,clickable:"",folder:B,"current-folder":g.value,disabled:(X=g.disabledFolders)==null?void 0:X.includes(B.id),"disabled-folders":g.disabledFolders,onClick:d},null,8,["folder","current-folder","disabled","disabled-folders"])}),128))]),_:1})]),_:1},8,["disabled"]))}}}),r0e=qt(a0e,[["__scopeId","data-v-5f37a0bc"]]),s0e=ha({id:"system-folder",name:"$t:interfaces.system-folder.folder",description:"$t:interfaces.system-folder.description",icon:"folder",component:r0e,types:["uuid"],options:[],system:!0,recommendedDisplays:["raw"]}),l0e=Lt({__name:"system-inline-fields",props:{value:{}},emits:["input"],setup(n,{emit:e}){const{t}=vn(),i=n,o=e,r=we({get(){var s;return((s=i.value)==null?void 0:s.map(l=>{const{field:d,type:f,name:g,meta:v,schema:b}=l,x=!g&&d?su(d):g,k={field:d,type:f,name:x};for(const[S,O]of Object.entries(v??{}))k[`meta.${S}`]=O;for(const[S,O]of Object.entries(b??{}))k[`schema.${S}`]=O;return k}))??null},set(s){o("input",s==null?void 0:s.map(l=>{const d={};for(const[f,g]of Object.entries(l))st.set(d,f.split("."),g);return d}))}}),a=we(()=>[{name:t("field_key"),field:"field",type:"string",meta:{interface:"input",width:"half",required:!0,options:{dbSafe:!0,font:"monospace",placeholder:t("field_key_placeholder")}}},{name:t("field_name"),field:"name",type:"string",meta:{interface:"system-input-translated-string",width:"half",options:{placeholder:t("field_name_placeholder")}}},{name:t("type"),field:"type",type:"string",meta:{interface:"select-dropdown",width:"half",options:{choices:Nc(pC)}}},{name:t("interface_label"),field:"meta.interface",type:"string",meta:{interface:"system-interface",width:"half",options:{typeField:"type"}}},{name:t("note"),field:"meta.note",type:"string",meta:{interface:"system-input-translated-string",width:"full",options:{placeholder:t("interfaces.list.field_note_placeholder")}}},{name:t("field_width"),field:"meta.width",type:"string",meta:{interface:"select-dropdown",width:"half",options:{choices:[{value:"half",text:t("half_width")},{value:"full",text:t("full_width")}]}}},{name:t("required"),field:"meta.required",type:"boolean",meta:{interface:"boolean",options:{label:t("requires_value")},width:"half"}},{name:t("options"),field:"meta.options",type:"string",meta:{interface:"system-interface-options",width:"full",options:{interfaceField:"meta.interface"}}}]);return(s,l)=>{const d=q("interface-list");return V(),me(d,{value:r.value,template:"{{ name }} - {{ meta.interface }}",fields:a.value,onInput:l[0]||(l[0]=f=>r.value=f)},null,8,["value","fields"])}}}),c0e=ha({id:"system-inline-fields",name:"Inline Fields",description:"Inline Fields",icon:"box",component:l0e,system:!0,types:["json"],group:"standard",options:[]});function E8(n="en-US"){var o,r;const e=Sr(),t=Ul();let i=n;return(r=(o=t.info)==null?void 0:o.project)!=null&&r.default_language&&(i=t.info.project.default_language),e.currentUser&&"language"in e.currentUser&&e.currentUser.language&&(i=e.currentUser.language),i}function A8(n){return WD()?(PU(n),!0):!1}function n2(n){return typeof n=="function"?n():h(n)}const u0e=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const d0e=n=>n!=null,f0e=Object.prototype.toString,p0e=n=>f0e.call(n)==="[object Object]",kg=()=>{};function h0e(n,e){function t(...i){return new Promise((o,r)=>{Promise.resolve(n(()=>e.apply(this,i),{fn:e,thisArg:this,args:i})).then(o).catch(r)})}return t}const gO=n=>n();function m0e(n,e={}){let t,i,o=kg;const r=s=>{clearTimeout(s),o(),o=kg};return s=>{const l=n2(n),d=n2(e.maxWait);return t&&r(t),l<=0||d!==void 0&&d<=0?(i&&(r(i),i=null),Promise.resolve(s())):new Promise((f,g)=>{o=e.rejectOnCancel?g:f,d&&!i&&(i=setTimeout(()=>{t&&r(t),i=null,f(s())},d)),t=setTimeout(()=>{i&&r(i),i=null,f(s())},l)})}}function v0e(n=gO){const e=Pe(!0);function t(){e.value=!1}function i(){e.value=!0}const o=(...r)=>{e.value&&n(...r)};return{isActive:OU(e),pause:t,resume:i,eventFilter:o}}function g0e(n){return qD()}function yO(n,e,t={}){const{eventFilter:i=gO,...o}=t;return ii(n,h0e(i,e),o)}function y0e(n,e,t={}){const{eventFilter:i,...o}=t,{eventFilter:r,pause:a,resume:s,isActive:l}=v0e(i);return{stop:yO(n,e,{...o,eventFilter:r}),pause:a,resume:s,isActive:l}}function _0e(n,e=!0,t){g0e()?zr(n,t):e?n():vv(n)}function b0e(n,e,t={}){const{debounce:i=0,maxWait:o=void 0,...r}=t;return yO(n,e,{...r,eventFilter:m0e(i,{maxWait:o})})}function x0e(n,e,t){let i;zn(t)?i={evaluating:t}:i=t||{};const{lazy:o=!1,evaluating:r=void 0,shallow:a=!0,onError:s=kg}=i,l=Pe(!o),d=a?Wh(e):Pe(e);let f=0;return Lg(async g=>{if(!l.value)return;f++;const v=f;let b=!1;r&&Promise.resolve().then(()=>{r.value=!0});try{const x=await n(k=>{g(()=>{r&&(r.value=!1),b||k()})});v===f&&(d.value=x)}catch(x){s(x)}finally{r&&v===f&&(r.value=!1),b=!0}}),o?we(()=>(l.value=!0,d.value)):d}function W6(n){var e;const t=n2(n);return(e=t==null?void 0:t.$el)!=null?e:t}const Dg=u0e?window:void 0;function Jm(...n){let e,t,i,o;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,i,o]=n,e=Dg):[e,t,i,o]=n,!e)return kg;Array.isArray(t)||(t=[t]),Array.isArray(i)||(i=[i]);const r=[],a=()=>{r.forEach(f=>f()),r.length=0},s=(f,g,v,b)=>(f.addEventListener(g,v,b),()=>f.removeEventListener(g,v,b)),l=ii(()=>[W6(e),n2(o)],([f,g])=>{if(a(),!f)return;const v=p0e(g)?{...g}:g;r.push(...t.flatMap(b=>i.map(x=>s(f,b,x,v))))},{immediate:!0,flush:"post"}),d=()=>{l(),a()};return A8(d),d}function w0e(){const n=Pe(!1),e=qD();return e&&zr(()=>{n.value=!0},e),n}function _O(n){const e=w0e();return we(()=>(e.value,!!n()))}function k0e(n,e={}){const{window:t=Dg}=e,i=_O(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let o;const r=Pe(!1),a=d=>{r.value=d.matches},s=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",a):o.removeListener(a))},l=Lg(()=>{i.value&&(s(),o=t.matchMedia(n2(n)),"addEventListener"in o?o.addEventListener("change",a):o.addListener(a),r.value=o.matches)});return A8(()=>{l(),s(),o=void 0}),r}const V5=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},H5="__vueuse_ssr_handlers__",C0e=S0e();function S0e(){return H5 in V5||(V5[H5]=V5[H5]||{}),V5[H5]}function E0e(n,e){return C0e[n]||e}function A0e(n){return n==null?"any":n instanceof Set?"set":n instanceof Map?"map":n instanceof Date?"date":typeof n=="boolean"?"boolean":typeof n=="string"?"string":typeof n=="object"?"object":Number.isNaN(n)?"any":"number"}const T0e={boolean:{read:n=>n==="true",write:n=>String(n)},object:{read:n=>JSON.parse(n),write:n=>JSON.stringify(n)},number:{read:n=>Number.parseFloat(n),write:n=>String(n)},any:{read:n=>n,write:n=>String(n)},string:{read:n=>n,write:n=>String(n)},map:{read:n=>new Map(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n.entries()))},set:{read:n=>new Set(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n))},date:{read:n=>new Date(n),write:n=>n.toISOString()}},VA="vueuse-storage";function L0e(n,e,t,i={}){var o;const{flush:r="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:d=!1,shallow:f,window:g=Dg,eventFilter:v,onError:b=ue=>{console.error(ue)},initOnMounted:x}=i,k=(f?Wh:Pe)(typeof e=="function"?e():e);if(!t)try{t=E0e("getDefaultStorage",()=>{var ue;return(ue=Dg)==null?void 0:ue.localStorage})()}catch(ue){b(ue)}if(!t)return k;const S=n2(e),O=A0e(S),w=(o=i.serializer)!=null?o:T0e[O],{pause:D,resume:I}=y0e(k,()=>B(k.value),{flush:r,deep:a,eventFilter:v});g&&s&&_0e(()=>{Jm(g,"storage",Y),Jm(g,VA,Q),x&&Y()}),x||Y();function $(ue,ce){g&&g.dispatchEvent(new CustomEvent(VA,{detail:{key:n,oldValue:ue,newValue:ce,storageArea:t}}))}function B(ue){try{const ce=t.getItem(n);if(ue==null)$(ce,null),t.removeItem(n);else{const ve=w.write(ue);ce!==ve&&(t.setItem(n,ve),$(ce,ve))}}catch(ce){b(ce)}}function X(ue){const ce=ue?ue.newValue:t.getItem(n);if(ce==null)return l&&S!=null&&t.setItem(n,w.write(S)),S;if(!ue&&d){const ve=w.read(ce);return typeof d=="function"?d(ve,S):O==="object"&&!Array.isArray(ve)?{...S,...ve}:ve}else return typeof ce!="string"?ce:w.read(ce)}function Y(ue){if(!(ue&&ue.storageArea!==t)){if(ue&&ue.key==null){k.value=S;return}if(!(ue&&ue.key!==n)){D();try{(ue==null?void 0:ue.newValue)!==w.write(k.value)&&(k.value=X(ue))}catch(ce){b(ce)}finally{ue?vv(I):I()}}}}function Q(ue){Y(ue.detail)}return k}function I0e(n,e,t={}){const{root:i,rootMargin:o="0px",threshold:r=.1,window:a=Dg,immediate:s=!0}=t,l=_O(()=>a&&"IntersectionObserver"in a),d=we(()=>{const x=n2(n);return(Array.isArray(x)?x:[x]).map(W6).filter(d0e)});let f=kg;const g=Pe(s),v=l.value?ii(()=>[d.value,W6(i),g.value],([x,k])=>{if(f(),!g.value||!x.length)return;const S=new IntersectionObserver(e,{root:W6(k),rootMargin:o,threshold:r});x.forEach(O=>O&&S.observe(O)),f=()=>{S.disconnect(),f=kg}},{immediate:s,flush:"post"}):kg,b=()=>{f(),v(),g.value=!1};return A8(b),{isSupported:l,isActive:g,pause(){f(),g.value=!1},resume(){g.value=!0},stop:b}}function M0e(n,e={}){const{window:t=Dg,scrollTarget:i,threshold:o=0}=e,r=Pe(!1);return I0e(n,a=>{let s=r.value,l=0;for(const d of a)d.time>=l&&(l=d.time,s=d.isIntersecting);r.value=s},{root:i,window:t,threshold:o}),r}const Oy=new Map;function D0e(n){const e=WD();function t(s){var l;const d=Oy.get(n)||new Set;d.add(s),Oy.set(n,d);const f=()=>o(s);return(l=e==null?void 0:e.cleanups)==null||l.push(f),f}function i(s){function l(...d){o(l),s(...d)}return t(l)}function o(s){const l=Oy.get(n);l&&(l.delete(s),l.size||r())}function r(){Oy.delete(n)}function a(s,l){var d;(d=Oy.get(n))==null||d.forEach(f=>f(s,l))}return{on:t,once:i,off:o,emit:a,reset:r}}function HA(n,e,t={}){const{window:i=Dg}=t;return L0e(n,e,i==null?void 0:i.localStorage,t)}function P0e(n,e){Jm(document,"beforeunload",t=>{n.value&&t.preventDefault()}),cC(e),y8(e)}function qp(n,e){const t=Pe(!1),i=Pe(null);return P0e(n,s=>{const{path:l,query:d}=Sh();if(n.value&&(!o(l,s.path)&&!r(s.path)||a(d,s.query)))return t.value=!0,i.value=s.fullPath,!1}),{confirmLeave:t,leaveTo:i};function o(s,l){return s===l||l.startsWith(s)&&l.substring(s.length).includes("/")}function r(s){const l=h(e==null?void 0:e.ignorePrefix);return l?s.startsWith(l):!1}function a(s,l){const d=h(e==null?void 0:e.compareQuery);if(!d)return!1;for(const f of d)if(!st.isEqual(s[f],l[f]))return!0;return!1}}function Pg(n){const{currentUser:e}=Sr();if(!e)return n??{};if(!("id"in e))return n??{};const t={role:e.role.id,user:e.id};return mU(n,t,{$CURRENT_ROLE:e.role,$CURRENT_USER:e})??{}}function O0e(n){var i;const{currentUser:e}=Sr();if(!e)return n??{};if(!("id"in e))return n??{};const t={role:((i=e.role)==null?void 0:i.id)??null,user:e.id};return vU(n,t,{$CURRENT_ROLE:e.role,$CURRENT_USER:e})??{}}const Gp=lf({id:"permissionsStore",state:()=>({permissions:[]}),actions:{async hydrate(){const n=Sr(),e=await Zn.get("/permissions",{params:{filter:{role:{_eq:n.currentUser.role.id}}}}),t=i(e.data.data);t.length>0&&await n.hydrateAdditionalFields(t),this.permissions=e.data.data.map(o=>(o.permissions&&(o.permissions=Pg(o.permissions)),o.validation&&(o.validation=Pg(o.validation)),o.presets&&(o.presets=O0e(o.presets)),o));function i(o){const r=new Set,a=s=>{typeof s=="string"&&(s.startsWith("$CURRENT_USER.")?r.add(s.replace("$CURRENT_USER.","")):s.startsWith("$CURRENT_ROLE.")&&r.add(s.replace("$CURRENT_ROLE.","role.")))};return o.forEach(s=>{h3(s.presets,a),h3(s.permissions,a)}),Array.from(r)}},dehydrate(){this.$reset()},getPermission(n,e){return this.permissions.find(i=>i.action===e&&i.collection===n)||null},hasPermission(n,e){return Sr().isAdmin?!0:this.permissions.some(i=>i.action===e&&i.collection===n)}}}),bO=(n,e)=>n.fields?n.fields.includes("*")||n.fields.includes(e):!1,xO=(n,e)=>{const{info:t}=Il(Pe(n)),i=Sr(),{getPermission:o}=Gp();return we(()=>{var l,d;const r=h(n);if(!r)return!1;const a=(d=(l=t.value)==null?void 0:l.meta)==null?void 0:d.archive_field;if(!a)return!1;if(i.isAdmin)return!0;const s=o(r,"update");return!s||!bO(s,a)?!1:e.value})},U5=(n,e)=>{const{hasPermission:t}=Gp();return we(()=>{const i=h(n);return i?t(i,e):!1})},R0e=()=>{const{hasPermission:n}=Gp();return we(()=>n("directus_revisions","read"))},F0e=n=>{const{info:e}=Il(Pe(n)),t=Sr(),{getPermission:i}=Gp();return we(()=>{var s,l;const o=h(n);if(!o)return!1;const r=(l=(s=e.value)==null?void 0:s.meta)==null?void 0:l.sort_field;if(!r)return!1;if(t.isAdmin)return!0;const a=i(o,"update");return a?bO(a,r):!1})};function cu(n){const e=U5(n,"read"),t=U5(n,"create"),i=U5(n,"update"),o=U5(n,"delete"),r=F0e(n),a=xO(n,i),s=R0e();return{readAllowed:e,createAllowed:t,updateAllowed:i,deleteAllowed:o,sortAllowed:r,archiveAllowed:a,revisionsAllowed:s}}function z0e(n,e,t){const i=Sr(),{getPermission:o}=Gp(),{fields:r,info:a}=Il(Pe(n));return we(()=>{var v,b,x,k,S;const s=h(n);if(!s)return[];if(i.isAdmin)return r.value;let l=st.cloneDeep(r.value);const d=(v=o(s,"read"))==null?void 0:v.fields;d&&!d.includes("*")&&(l=l.filter(O=>d.includes(O.field)));const f=(x=(b=a.value)==null?void 0:b.meta)!=null&&x.singleton?t.value.update:o(s,h(e)?"create":"update");if(!((k=f==null?void 0:f.fields)!=null&&k.includes("*")))for(const O of l)(S=f==null?void 0:f.fields)!=null&&S.includes(O.field)||(O.meta={...O.meta||{},readonly:!0});const g=f==null?void 0:f.presets;if(g)for(const O of l)O.field in g&&(O.schema={...O.schema||{},default_value:g[O.field]});return l})}const $0e=n=>n.permissions===null||Object.keys(n.permissions).length===0,E9=(n,e,t,i)=>{const o=Sr(),{getPermission:r}=Gp(),a=we(()=>{const s=h(n);if(!s||h(e))return!1;if(o.isAdmin)return!0;const l=r(s,i);return l?$0e(l)?!0:null:!1});return we(()=>a.value!==null?a.value:t.value[i].access)},N0e={update:{access:!1},delete:{access:!1},share:{access:!1}},B0e=(n,e)=>{const t=Pe(!1),i=Pe(0),o=x0e(async()=>{i.value;const a=h(e);try{return(await Zn.get(`/permissions/me/${h(n)}${a!==null?`/${a}`:""}`)).data.data}catch(s){return Xi(s),{update:{access:!0},delete:{access:!0},share:{access:!0}}}},N0e,{lazy:!0,evaluating:t});return{loading:t,refresh:()=>i.value++,fetchedItemPermissions:o}};function w3(n,e,t){const{loading:i,fetchedItemPermissions:o,refresh:r}=B0e(n,e),a=E9(n,t,o,"update"),s=E9(n,t,o,"delete"),l=E9(n,t,o,"share"),d=xO(n,a),f=z0e(n,t,o);return{loading:i,refresh:r,updateAllowed:a,deleteAllowed:s,shareAllowed:l,archiveAllowed:d,fields:f}}const j0e=(n,e,t)=>we(()=>h(n)?e.value:t.value);function lw(n,e,t){const i=cu(n),o=w3(n,e,t),r=j0e(t,i.createAllowed,o.updateAllowed);return{collectionPermissions:i,itemPermissions:{...o,saveAllowed:r}}}function Ab(n,e,t){const i=Pe(),o=Pe(!1),r=Pe(null),a=we(()=>{var f,g,v;const d=(t==null?void 0:t.value)||((g=(f=n.value)==null?void 0:f.meta)==null?void 0:g.display_template);return!d||!n.value?null:Nd(jc(d),(v=n.value)==null?void 0:v.collection)}),s=we(()=>{var d,f;return!!((f=(d=n.value)==null?void 0:d.meta)!=null&&f.singleton)});return ii([n,e],l,{immediate:!0}),{templateData:i,loading:o,error:r,fetchTemplateValues:l};async function l(){if(!e.value&&!s.value||e.value==="+"||a.value===null||!n.value)return;o.value=!0;const d=nl(n.value.collection);let f;s.value?f=d:f=oc(n.value.collection)?`${d}/${e.value}`:`${d}/${encodeURIComponent(e.value)}`;try{const g=await Zn.get(f,{params:{fields:a.value}});i.value=g.data.data}catch(g){r.value=g}finally{o.value=!1}}}function DC(n){return we(()=>h(n).reduce(function(e,t){var i;return((i=t.schema)==null?void 0:i.default_value)!==void 0&&!(t.schema.is_primary_key&&t.schema.data_type==="integer"&&typeof t.schema.default_value=="string")&&(e[t.field]=t.schema.default_value),e},{}))}var V0e=(n,e,t=500)=>class extends Error{constructor(o,r){const a=typeof e=="string"?e:e(o);super(a,r);Ri(this,"name","DirectusError");Ri(this,"extensions");Ri(this,"code",n.toUpperCase());Ri(this,"status",t);this.extensions=o}toString(){return`${this.name} [${this.code}]: ${this.message}`}},q6=(n=>(n.ContainsNullValues="CONTAINS_NULL_VALUES",n.ContentTooLarge="CONTENT_TOO_LARGE",n.Forbidden="FORBIDDEN",n.IllegalAssetTransformation="ILLEGAL_ASSET_TRANSFORMATION",n.InvalidCredentials="INVALID_CREDENTIALS",n.InvalidForeignKey="INVALID_FOREIGN_KEY",n.InvalidIp="INVALID_IP",n.InvalidOtp="INVALID_OTP",n.InvalidPayload="INVALID_PAYLOAD",n.InvalidProvider="INVALID_PROVIDER",n.InvalidProviderConfig="INVALID_PROVIDER_CONFIG",n.InvalidQuery="INVALID_QUERY",n.InvalidToken="INVALID_TOKEN",n.LimitExceeded="LIMIT_EXCEEDED",n.MethodNotAllowed="METHOD_NOT_ALLOWED",n.NotNullViolation="NOT_NULL_VIOLATION",n.OutOfDate="OUT_OF_DATE",n.RangeNotSatisfiable="RANGE_NOT_SATISFIABLE",n.RecordNotUnique="RECORD_NOT_UNIQUE",n.RequestsExceeded="REQUESTS_EXCEEDED",n.RouteNotFound="ROUTE_NOT_FOUND",n.ServiceUnavailable="SERVICE_UNAVAILABLE",n.TokenExpired="TOKEN_EXPIRED",n.UnexpectedResponse="UNEXPECTED_RESPONSE",n.UnprocessableContent="UNPROCESSABLE_CONTENT",n.UnsupportedMediaType="UNSUPPORTED_MEDIA_TYPE",n.UserSuspended="USER_SUSPENDED",n.ValueOutOfRange="VALUE_OUT_OF_RANGE",n.ValueTooLong="VALUE_TOO_LONG",n))(q6||{}),H0e=n=>{let e=`Validation failed for field "${n.field}".`;if("valid"in n)switch(n.type){case"eq":e+=` Value has to be "${n.valid}".`;break;case"lt":e+=` Value has to be less than "${n.valid}".`;break;case"lte":e+=` Value has to be less than or equal to "${n.valid}".`;break;case"gt":e+=` Value has to be greater than "${n.valid}".`;break;case"gte":e+=` Value has to be greater than or equal to "${n.valid}".`;break;case"in":e+=` Value has to be one of ${qu(n.valid).map(t=>`"${t}"`).join(", ")}.`;break}if("invalid"in n)switch(n.type){case"neq":e+=` Value can't be "${n.invalid}".`;break;case"nin":e+=` Value can't be one of ${qu(n.invalid).map(t=>`"${t}"`).join(", ")}.`;break}if("substring"in n)switch(n.type){case"contains":case"icontains":e+=` Value has to contain "${n.substring}".`;break;case"ncontains":e+=` Value can't contain "${n.substring}".`;break}switch(n.type){case"null":e+=" Value has to be null.";break;case"nnull":e+=" Value can't be null.";break;case"empty":e+=" Value has to be empty.";break;case"nempty":e+=" Value can't be empty.";break;case"required":e+=" Value is required.";break;case"regex":e+=" Value doesn't have the correct format.";break;case"email":e+=" Value has to be a valid email address.";break}return e},U0e=V0e("FAILED_VALIDATION",H0e,400),W0e=n=>{var i,o,r,a,s,l,d,f,g,v,b,x,k,S,O,w;const e={field:n.path[0]},t=n.type;if(t.endsWith("only"))if(((i=n.context)==null?void 0:i.valids.length)>1)e.type="in",e.valid=(o=n.context)==null?void 0:o.valids;else{const D=(r=n.context)==null?void 0:r.valids[0];D===null?e.type="null":D===""?e.type="empty":(e.type="eq",e.valid=D)}if(t.endsWith("invalid"))if(((a=n.context)==null?void 0:a.invalids.length)>1)e.type="nin",e.invalid=(s=n.context)==null?void 0:s.invalids;else{const D=(l=n.context)==null?void 0:l.invalids[0];D===null?e.type="nnull":D===""?e.type="nempty":(e.type="neq",e.invalid=D)}if(t.endsWith("greater")&&(e.type="gt",e.valid=(d=n.context)==null?void 0:d.limit),t.endsWith("min")&&(e.type="gte",e.valid=(f=n.context)==null?void 0:f.limit),t.endsWith("less")&&(e.type="lt",e.valid=(g=n.context)==null?void 0:g.limit),t.endsWith("max")&&(e.type="lte",e.valid=(v=n.context)==null?void 0:v.limit),t.endsWith("contains")&&(e.type="contains",e.substring=(b=n.context)==null?void 0:b.substring),t.endsWith("ncontains")&&(e.type="ncontains",e.substring=(x=n.context)==null?void 0:x.substring),(t.endsWith("required")||t.endsWith(".base"))&&(e.type="required"),t.endsWith(".pattern.base")&&(e.type="regex",e.invalid=(k=n.context)==null?void 0:k.value),t.endsWith(".pattern.name")||t.endsWith(".pattern.invert.name")){e.type=(S=n.context)==null?void 0:S.name;const D=(w=(O=n.context)==null?void 0:O.regex)==null?void 0:w.toString();switch(e.type){case"starts_with":case"nstarts_with":case"istarts_with":case"nistarts_with":e.substring=D.substring(2,D.lastIndexOf("/")-2);break;case"ends_with":case"nends_with":case"iends_with":case"niends_with":e.substring=D.substring(3,D.lastIndexOf("/")-1);break}}if(!e.type)throw new Error("Couldn't extract validation error type from Joi validation error item");return e};function wO(n,e){var t;if(e.meta&&Array.isArray((t=e.meta)==null?void 0:t.conditions)){const o=[...e.meta.conditions].reverse().find(r=>{if(!r.rule||Object.keys(r.rule).length!==1)return;const a=Pg(r.rule);return FD(a,n,{requireAll:!0}).length===0});return o?{...e,meta:st.merge({},e.meta||{},{readonly:o.readonly,options:o.options,hidden:o.hidden,required:o.required})}:e}else return e}function cw(n,e,t){var l;const i=Ts(),o={_and:[]},a=e.map(d=>wO(n,d)).filter(d=>{var f;return((f=d.meta)==null?void 0:f.required)===!0}),s=st.cloneDeep(n);for(const d of a)t&&st.isNil((l=d.schema)==null?void 0:l.default_value)&&o._and.push({[d.field]:{_submitted:!0}}),i.getRelationsForField(d.collection,d.field).length>0&&Array.isArray(s[d.field])&&st.isEmpty(s[d.field])&&(s[d.field]=null),o._and.push({[d.field]:{_nnull:!0}});return st.flatten(FD(o,s).map(d=>d.details.map(f=>new U0e(W0e(f)).extensions))).map(d=>{var g,v;const f=e.find(b=>b.field===d.field);return{...d,hidden:(g=f==null?void 0:f.meta)==null?void 0:g.hidden,group:(v=f==null?void 0:f.meta)==null?void 0:v.group}})}const q0e={key:0,class:"image"},G0e={key:1,class:"video"},Y0e=["src"],X0e=["src"],K0e={key:3,class:"fallback"},Z0e=Lt({__name:"file-preview",props:{file:{},preset:{default:"system-large-contain"},inModal:{type:Boolean}},emits:["click"],setup(n){mm(l=>({"4eb0c3ac":a.value}));const e=n,t=RU(e,"file"),i=we(()=>Ys(`${t.value.id}?cache-buster=${t.value.modified_on}${e.preset?`&key=${e.preset}`:""}`)),o=we(()=>{const l=t.value.type;return l===null?"unknown":l.startsWith("image")?"image":l.startsWith("video")?"video":l.startsWith("audio")?"audio":cm(l,!0)??"unknown"}),r=we(()=>{var l;return(l=t.value.type)==null?void 0:l.includes("svg")}),a=we(()=>e.inModal?"85vh":Math.min(t.value.height??528,528)+"px"),s=we(()=>t.value.height&&t.value.height<528);return(l,d)=>{const f=q("v-image"),g=q("v-icon-file");return V(),De("div",{class:An(["file-preview",{modal:l.inModal,small:s.value,svg:r.value}]),onClick:d[0]||(d[0]=v=>l.$emit("click"))},[o.value==="image"?(V(),De("div",q0e,[A(f,{src:i.value,width:t.value.width,height:t.value.height,alt:t.value.title},null,8,["src","width","height","alt"])])):o.value==="video"?(V(),De("div",G0e,[xe("video",{controls:"",src:i.value},null,8,Y0e)])):o.value==="audio"?(V(),De("audio",{key:2,controls:"",src:i.value},null,8,X0e)):(V(),De("div",K0e,[A(g,{ext:o.value},null,8,["ext"])]))],2)}}}),kO=qt(Z0e,[["__scopeId","data-v-dad12311"]]),J0e={class:"file-preview-replace"},Q0e=Lt({__name:"file-preview-replace",props:{file:{},preset:{},inModal:{type:Boolean}},emits:["click","replace"],setup(n,{emit:e}){const t=e,{t:i}=vn(),o=Pe(!1);function r(){o.value=!1,t("replace")}return(a,s)=>{const l=q("v-card-title"),d=q("v-upload"),f=q("v-card-text"),g=q("v-button"),v=q("v-card-actions"),b=q("v-card"),x=q("v-dialog");return V(),De("div",J0e,[A(kO,{file:a.file},null,8,["file"]),xe("button",{class:"replace-toggle",onClick:s[0]||(s[0]=k=>o.value=!0)},de(h(i)("replace_file")),1),A(x,{"model-value":o.value,onEsc:s[2]||(s[2]=k=>o.value=!1)},{default:P(()=>[A(b,null,{default:P(()=>[A(l,null,{default:P(()=>[Fe(de(h(i)("replace_file")),1)]),_:1}),A(f,null,{default:P(()=>[A(d,{"file-id":a.file.id,"from-url":"",onInput:r},null,8,["file-id"])]),_:1}),A(v,null,{default:P(()=>[A(g,{secondary:"",onClick:s[1]||(s[1]=k=>o.value=!1)},{default:P(()=>[Fe(de(h(i)("done")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["model-value"])])}}}),CO=qt(Q0e,[["__scopeId","data-v-6e545fc5"]]),e3e={key:1,class:"type-title"},t3e={class:"drawer-item-content"},n3e=Lt({__name:"drawer-item",props:{collection:{},active:{type:Boolean},primaryKey:{default:null},edits:{},junctionField:{default:null},disabled:{type:Boolean},relatedPrimaryKey:{default:"+"},circularField:{default:null},junctionFieldLocation:{default:"bottom"}},emits:["update:active","input"],setup(n,{emit:e}){const t=n,i=e,{t:o,te:r}=vn(),a=Pe([]),s=xo(),l=Ts(),{internalActive:d}=Nt(),{junctionFieldInfo:f,relatedCollection:g,relatedCollectionInfo:v,setRelationEdits:b,relatedPrimaryKeyField:x}=Ct(),{internalEdits:k,loading:S,initialValues:O,refresh:w}=kt(),{save:D,cancel:I}=Bt(),{collection:$,primaryKey:B,relatedPrimaryKey:X}=Po(t),{info:Y,primaryKeyField:Q}=Il($),ue=we(()=>t.primaryKey==="+"&&t.relatedPrimaryKey==="+"),ce=we(()=>t.junctionFieldLocation==="top"),ve=we(()=>!st.isEmpty(k.value)),{confirmLeave:ie,leaveTo:se}=qp(ve),te=Dr();function ye(){se.value&&(k.value={},ie.value=!1,te.push(se.value))}const Ee=we(()=>{const ut=(v==null?void 0:v.value)||Y.value;return r(`collection_names_singular.${ut.collection}`)?ue.value?o("creating_unit",{unit:o(`collection_names_singular.${ut.collection}`)}):o("editing_unit",{unit:o(`collection_names_singular.${ut.collection}`)}):ue.value?o("creating_in",{collection:ut.name}):o("editing_in",{collection:ut.name})}),{fields:Ce}=w3($,B,we(()=>t.primaryKey==="+")),{fields:je}=w3(g,X,we(()=>t.primaryKey==="+")),tt=we(()=>t.circularField?Ce.value.map(ut=>(ut.field===t.circularField&&st.set(ut,"meta.readonly",!0),ut)):Ce.value),nt=we(()=>t.circularField?tt.value.filter(ut=>ut.field!==t.circularField):tt.value),Se=we(()=>je.value.some(ut=>{var sn;return!((sn=ut.meta)!=null&&sn.hidden)})),Te=we(()=>tt.value.some(ut=>{var sn;return!((sn=ut.meta)!=null&&sn.hidden)})),lt=we(()=>!Se.value&&!Te.value),Ot=we(()=>f.value?String(t.relatedPrimaryKey):String(t.primaryKey)),St=we(()=>v.value||Y.value),{templateData:Et,loading:It}=Ab(St,Ot),_t=we(()=>{var ut,sn,dn,Gt;return((sn=(ut=v.value)==null?void 0:ut.meta)==null?void 0:sn.display_template)||((Gt=(dn=Y.value)==null?void 0:dn.meta)==null?void 0:Gt.display_template)||null}),{file:Qt}=zt();function zt(){const ut=we(()=>t.collection==="directus_files"||g.value==="directus_files");return{file:we(()=>{var Gt;return ut.value===!1||!O.value?null:(t.junctionField?(Gt=O.value)==null?void 0:Gt[t.junctionField]:O.value)||null}),isDirectusFiles:ut}}function Nt(){const ut=Pe(!1);return{internalActive:we({get(){return t.active??ut.value},set(dn){ut.value=dn,i("update:active",dn)}})}}function kt(){const ut=Pe({}),sn=Pe(!1),dn=Pe(null);return ii(()=>t.active,gn=>{gn?(t.primaryKey!=="+"&&yt(),t.relatedPrimaryKey!=="+"&&cn(),ut.value=t.edits??{}):(sn.value=!1,dn.value=null,ut.value={})},{immediate:!0}),{internalEdits:ut,loading:sn,initialValues:dn,refresh:Gt};async function Gt(){t.active&&(sn.value=!1,t.primaryKey!=="+"&&yt(),t.relatedPrimaryKey!=="+"&&cn())}async function yt(){if(!t.primaryKey)return;sn.value=!0;const gn=nl(t.collection),mn=oc(t.collection)?`${gn}/${t.primaryKey}`:`${gn}/${encodeURIComponent(t.primaryKey)}`;let Xt="*";t.junctionField&&(Xt=`*,${t.junctionField}.*`);try{const In=await Zn.get(mn,{params:{fields:Xt}});dn.value=In.data.data}catch(In){Xi(In)}finally{sn.value=!1}}async function cn(){const gn=g.value;if(!gn||!f.value)return;sn.value=!0;const mn=nl(gn),Xt=oc(gn)?`${mn}/${t.relatedPrimaryKey}`:`${mn}/${encodeURIComponent(t.relatedPrimaryKey)}`;try{const In=await Zn.get(Xt);dn.value={...dn.value||{},[f.value.field]:In.data.data}}catch(In){Xi(In)}finally{sn.value=!1}}}function Ct(){const ut=we(()=>t.junctionField?s.getField(t.collection,t.junctionField):null),sn=we(()=>{var mn,Xt,In;if(!t.junctionField)return null;const gn=l.getRelationsForField(t.collection,t.junctionField).find($n=>$n.collection===t.collection&&$n.field===t.junctionField);return gn?gn.related_collection?gn.related_collection:(mn=gn.meta)!=null&&mn.one_collection_field?((Xt=t.edits)==null?void 0:Xt[gn.meta.one_collection_field])||((In=O.value)==null?void 0:In[gn.meta.one_collection_field]):null:null}),{info:dn,primaryKeyField:Gt}=Il(sn);return{junctionFieldInfo:ut,relatedCollection:sn,relatedCollectionInfo:dn,setRelationEdits:yt,relatedPrimaryKeyField:Gt};function yt(cn){t.junctionField&&(k.value[t.junctionField]=cn)}}function Bt(){return{save:ut,cancel:sn};function ut(){var mn;const dn=t.junctionField?k.value[t.junctionField]:k.value,Gt=t.junctionField?je.value:nt.value,yt=DC(Gt),cn=t.junctionField?(mn=O==null?void 0:O.value)==null?void 0:mn[t.junctionField]:O==null?void 0:O.value,gn=cw(st.merge({},yt.value,cn,dn),Gt,ue.value);if(gn.length>0){a.value=gn;return}else a.value=[];t.junctionField&&Object.values(yt.value).some(Xt=>Xt!==null)&&(k.value[t.junctionField]=k.value[t.junctionField]??{}),t.junctionField&&t.relatedPrimaryKey!=="+"&&x.value&&st.set(k.value,[t.junctionField,x.value.field],t.relatedPrimaryKey),t.primaryKey&&t.primaryKey!=="+"&&Q.value&&(k.value[Q.value.field]=t.primaryKey),i("input",k.value),d.value=!1,k.value={}}function sn(){a.value=[],d.value=!1,k.value={}}}return(ut,sn)=>{var si,Rn;const dn=q("v-skeleton-loader"),Gt=q("render-template"),yt=q("v-breadcrumb"),cn=q("v-icon"),gn=q("v-button"),mn=q("v-info"),Xt=q("v-form"),In=q("v-drawer"),$n=q("v-card-title"),Hn=q("v-card-text"),Xn=q("v-card-actions"),Cn=q("v-card"),Pn=q("v-dialog"),Tn=ki("tooltip");return V(),De(_n,null,[A(In,{modelValue:h(d),"onUpdate:modelValue":sn[1]||(sn[1]=Pi=>zn(d)?d.value=Pi:null),title:Ee.value,icon:((Rn=(si=h(Y))==null?void 0:si.meta)==null?void 0:Rn.icon)??void 0,persistent:"",onCancel:h(I)},Mr({subtitle:P(()=>{var Pi;return[A(yt,{items:[{name:(Pi=h(Y))==null?void 0:Pi.name,disabled:!0}]},null,8,["items"])]}),actions:P(()=>[Ei(ut.$slots,"actions",{},void 0,!0),rn((V(),me(gn,{icon:"",rounded:"",onClick:h(D)},{default:P(()=>[A(cn,{name:"check"})]),_:1},8,["onClick"])),[[Tn,h(o)("save"),void 0,{bottom:!0}]])]),default:P(()=>{var Pi,Ai;return[xe("div",t3e,[h(Qt)?(V(),me(CO,{key:0,class:"preview",file:h(Qt),"in-modal":"",onReplace:h(w)},null,8,["file","onReplace"])):He("",!0),lt.value?(V(),me(mn,{key:1,title:h(o)("no_visible_fields"),icon:"search",center:""},{default:P(()=>[Fe(de(h(o)("no_visible_fields_copy")),1)]),_:1},8,["title"])):(V(),De("div",{key:2,class:An(["drawer-item-order",{swap:ce.value}])},[ut.junctionField?(V(),me(Xt,{key:0,disabled:ut.disabled,loading:h(S),"show-no-visible-fields":!1,"initial-values":(Pi=h(O))==null?void 0:Pi[ut.junctionField],"primary-key":h(X),"model-value":(Ai=h(k))==null?void 0:Ai[ut.junctionField],fields:h(je),"validation-errors":ut.junctionField?a.value:void 0,autofocus:!ce.value,"show-divider":!ce.value&&Te.value,"onUpdate:modelValue":h(b)},null,8,["disabled","loading","initial-values","primary-key","model-value","fields","validation-errors","autofocus","show-divider","onUpdate:modelValue"])):He("",!0),A(Xt,{modelValue:h(k),"onUpdate:modelValue":sn[0]||(sn[0]=vi=>zn(k)?k.value=vi:null),disabled:ut.disabled,loading:h(S),"show-no-visible-fields":!1,"initial-values":h(O),autofocus:ce.value,"show-divider":ce.value&&Se.value,"primary-key":h(B),fields:tt.value,"validation-errors":ut.junctionField?void 0:a.value},null,8,["modelValue","disabled","loading","initial-values","autofocus","show-divider","primary-key","fields","validation-errors"])],2))])]}),_:2},[_t.value!==null&&h(Et)&&h(B)!=="+"?{name:"title",fn:P(()=>{var Pi;return[h(S)||h(It)?(V(),me(dn,{key:0,class:"title-loader",type:"text"})):(V(),De("h1",e3e,[A(Gt,{collection:(Pi=St.value)==null?void 0:Pi.collection,item:h(Et),template:_t.value},null,8,["collection","item","template"])]))]}),key:"0"}:void 0]),1032,["modelValue","title","icon","onCancel"]),A(Pn,{modelValue:h(ie),"onUpdate:modelValue":sn[3]||(sn[3]=Pi=>zn(ie)?ie.value=Pi:null),onEsc:sn[4]||(sn[4]=Pi=>ie.value=!1)},{default:P(()=>[A(Cn,null,{default:P(()=>[A($n,null,{default:P(()=>[Fe(de(h(o)("unsaved_changes")),1)]),_:1}),A(Hn,null,{default:P(()=>[Fe(de(h(o)("unsaved_changes_copy")),1)]),_:1}),A(Xn,null,{default:P(()=>[A(gn,{secondary:"",onClick:ye},{default:P(()=>[Fe(de(h(o)("discard_changes")),1)]),_:1}),A(gn,{onClick:sn[2]||(sn[2]=Pi=>ie.value=!1)},{default:P(()=>[Fe(de(h(o)("keep_editing")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}}}),Yp=qt(n3e,[["__scopeId","data-v-76f64b32"]]),i3e={class:"custom-translations-display"},o3e={class:"header"},a3e={class:"lang"},r3e={class:"header"},s3e={class:"lang"},l3e={key:1,class:"translation-item-text"},c3e=Lt({__name:"custom-translations-tooltip",props:{translationKey:{}},setup(n){const e=n,t=Pe([]),i=Pe(!1),{t:o}=vn(),r=async()=>{i.value=!0;try{t.value=await Sf("/translations",{params:{fields:["language","key","value"],sort:["language"],filter:{key:{_eq:e.translationKey}}}})}catch{}finally{i.value=!1}},a=s=>{s(),!i.value&&t.value.length===0&&r()};return(s,l)=>{const d=q("v-icon"),f=q("v-list-item-content"),g=q("v-list-item"),v=q("ValueNull"),b=q("v-list"),x=q("v-menu"),k=ki("tooltip");return V(),De("div",i3e,[A(x,{class:"menu","show-arrow":""},{activator:P(({toggle:S,deactivate:O,active:w})=>[rn(A(d,{small:!1,class:An(["icon",{active:w}]),name:"info",tabindex:"-1",onClick:po(D=>a(S),["stop"]),onBlur:O},null,8,["class","onClick","onBlur"]),[[k,t.value&&t.value.length===0&&h(o)("translations"),void 0,{bottom:!0}]])]),default:P(()=>[A(b,{class:"translations"},{default:P(()=>[t.value.length===0?(V(),me(g,{key:0},{default:P(()=>[A(f,null,{default:P(()=>[xe("div",o3e,[xe("div",a3e,de(h(o)("loading")),1)])]),_:1})]),_:1})):(V(!0),De(_n,{key:1},Ii(t.value,S=>(V(),me(g,{key:S.language},{default:P(()=>[A(f,null,{default:P(()=>[xe("div",r3e,[xe("div",s3e,[A(d,{name:"translate",small:""}),Fe(" "+de(S.language),1)])]),S.value?(V(),De("div",l3e,de(S.value),1)):(V(),me(v,{key:0}))]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})])}}}),u3e=qt(c3e,[["__scopeId","data-v-b890b69c"]]),d3e={class:"input-translated-string"},f3e=["disabled"],p3e={key:0,class:"search"},Ry="$t:",h3e=Lt({__name:"input-translated-string",props:{value:{default:null},autofocus:{type:Boolean},disabled:{type:Boolean},placeholder:{default:null}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=vn(),r=Pe(),a=Pe(!1),s=Pe(!1),l=Pe(null),d=Pe(!1),f=Pe([]),g=IC(),v=Pe(!1),b=async()=>{d.value=!0;try{const Y=await Sf("/translations",{params:{fields:["key"],groupBy:["key"]}});f.value=Y.map(Q=>Q.key)}catch(Y){Xi(Y)}finally{d.value=!1}};b();const x=we(()=>{const Y=h(f),Q=l.value?Y.filter(ue=>ue.includes(l.value)):Y;return Q.length>100?Q.slice(0,100):Q}),k=we({get(){return t.value},set(Y){t.value!==Y&&i("input",Y)}}),S=async Y=>{await g.create(Y),await b(),I(`${Ry}${Y.key}`)};ii(()=>t.value,Y=>I(Y),{immediate:!0});const O=we(()=>k.value?w(k.value):null);function w(Y){return Y.substring(Ry.length)}function D(Y){I(`${Ry}${Y}`),r.value.deactivate(),l.value=null}function I(Y){Y!=null&&Y.startsWith(Ry)&&(Y=Y.replace(/\s/g,"_")),k.value=Y,s.value||B()}function $(){s.value=!1,B()}function B(){var Y;a.value=((Y=k.value)==null?void 0:Y.startsWith(Ry))??!1}function X(){r.value.deactivate(),v.value=!0}return(Y,Q)=>{const ue=q("v-icon"),ce=q("v-input"),ve=q("v-list-item-icon"),ie=q("v-highlight"),se=q("v-list-item-content"),te=q("v-list-item"),ye=q("v-list"),Ee=q("v-menu");return V(),De("div",d3e,[A(Ee,{ref_key:"menuEl",ref:r,disabled:Y.disabled,"close-on-content-click":!1,attached:""},{activator:P(({toggle:Ce,active:je})=>[A(ce,{class:"translation-input","model-value":k.value,autofocus:Y.autofocus,placeholder:Y.placeholder,disabled:Y.disabled,active:je,"onUpdate:modelValue":Q[1]||(Q[1]=tt=>k.value=tt),onFocus:Q[2]||(Q[2]=tt=>s.value=!0),onBlur:$,onKeydown:$p(B,["enter"])},Mr({append:P(()=>[A(ue,{name:"translate",class:An(["translate-icon",{active:je}]),clickable:"",tabindex:-1,disabled:Y.disabled,onClick:Ce},null,8,["class","disabled","onClick"])]),_:2},[a.value?{name:"input",fn:P(()=>[xe("button",{disabled:Y.disabled,onClick:Q[0]||(Q[0]=po(tt=>I(null),["stop"]))},de(Y.value&&w(Y.value)),9,f3e)]),key:"0"}:void 0]),1032,["model-value","autofocus","placeholder","disabled","active"])]),default:P(()=>[l.value!==null||x.value.length>=25?(V(),De("div",p3e,[A(ce,{class:"search-input",type:"text","model-value":l.value,autofocus:"",placeholder:h(o)("interfaces.input-translated-string.search_placeholder"),"onUpdate:modelValue":Q[3]||(Q[3]=Ce=>l.value=Ce)},{append:P(()=>[A(ue,{name:"search",class:"search-icon"})]),_:1},8,["model-value","placeholder"])])):He("",!0),A(ye,{loading:d.value},{default:P(()=>[(V(!0),De(_n,null,Ii(x.value,Ce=>(V(),me(te,{key:Ce,class:An(["translation-key",{selected:k.value&&Ce===O.value}]),clickable:"",onClick:je=>D(Ce)},{default:P(()=>[A(ve,null,{default:P(()=>[A(ue,{name:"translate"})]),_:1}),A(se,null,{default:P(()=>[A(ie,{text:Ce,query:l.value},null,8,["text","query"])]),_:2},1024),A(ve,{class:"info"},{default:P(()=>[A(u3e,{"translation-key":Ce},null,8,["translation-key"])]),_:2},1024)]),_:2},1032,["class","onClick"]))),128)),A(te,{class:"new-custom-translation",clickable:"",onClick:X},{default:P(()=>[A(ve,null,{default:P(()=>[A(ue,{name:"add"})]),_:1}),A(se,null,{default:P(()=>[Fe(de(h(o)("interfaces.input-translated-string.new_custom_translation")),1)]),_:1})]),_:1})]),_:1},8,["loading"])]),_:1},8,["disabled"]),A(Yp,{active:v.value,"onUpdate:active":Q[4]||(Q[4]=Ce=>v.value=Ce),collection:"directus_translations","primary-key":"+",edits:{language:h(E8)()},onInput:S},null,8,["active","edits"])])}}}),m3e=qt(h3e,[["__scopeId","data-v-e1595b82"]]),v3e=`<svg width="156" height="96" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
63
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function B(Cn){return D(Cn)||I(Cn)||S(Cn)||$()}var X=a("a352"),Y=a.n(X);function Q(Cn){Cn.parentElement!==null&&Cn.parentElement.removeChild(Cn)}function ue(Cn,Pn,Tn){var si=Tn===0?Cn.children[0]:Cn.children[Tn-1].nextSibling;Cn.insertBefore(Pn,si)}var ce=a("dbf1");a("13d5"),a("4fad"),a("ac1f"),a("5319");function ve(Cn){var Pn=Object.create(null);return function(si){var Rn=Pn[si];return Rn||(Pn[si]=Cn(si))}}var ie=/-(\w)/g,se=ve(function(Cn){return Cn.replace(ie,function(Pn,Tn){return Tn.toUpperCase()})});a("5db7"),a("73d9");var te=["Start","Add","Remove","Update","End"],ye=["Choose","Unchoose","Sort","Filter","Clone"],Ee=["Move"],Ce=[Ee,te,ye].flatMap(function(Cn){return Cn}).map(function(Cn){return"on".concat(Cn)}),je={manage:Ee,manageAndEmit:te,emit:ye};function tt(Cn){return Ce.indexOf(Cn)!==-1}a("caad"),a("2ca0");var nt=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function Se(Cn){return nt.includes(Cn)}function Te(Cn){return["transition-group","TransitionGroup"].includes(Cn)}function lt(Cn){return["id","class","role","style"].includes(Cn)||Cn.startsWith("data-")||Cn.startsWith("aria-")||Cn.startsWith("on")}function Ot(Cn){return Cn.reduce(function(Pn,Tn){var si=w(Tn,2),Rn=si[0],Pi=si[1];return Pn[Rn]=Pi,Pn},{})}function St(Cn){var Pn=Cn.$attrs,Tn=Cn.componentData,si=Tn===void 0?{}:Tn,Rn=Ot(Object.entries(Pn).filter(function(Pi){var Ai=w(Pi,2),vi=Ai[0];return Ai[1],lt(vi)}));return v(v({},Rn),si)}function Et(Cn){var Pn=Cn.$attrs,Tn=Cn.callBackBuilder,si=Ot(It(Pn));Object.entries(Tn).forEach(function(Pi){var Ai=w(Pi,2),vi=Ai[0],oo=Ai[1];je[vi].forEach(function(Ci){si["on".concat(Ci)]=oo(Ci)})});var Rn="[data-draggable]".concat(si.draggable||"");return v(v({},si),{},{draggable:Rn})}function It(Cn){return Object.entries(Cn).filter(function(Pn){var Tn=w(Pn,2),si=Tn[0];return Tn[1],!lt(si)}).map(function(Pn){var Tn=w(Pn,2),si=Tn[0],Rn=Tn[1];return[se(si),Rn]}).filter(function(Pn){var Tn=w(Pn,2),si=Tn[0];return Tn[1],!tt(si)})}a("c740");function _t(Cn,Pn){if(!(Cn instanceof Pn))throw new TypeError("Cannot call a class as a function")}function Qt(Cn,Pn){for(var Tn=0;Tn<Pn.length;Tn++){var si=Pn[Tn];si.enumerable=si.enumerable||!1,si.configurable=!0,"value"in si&&(si.writable=!0),Object.defineProperty(Cn,si.key,si)}}function zt(Cn,Pn,Tn){return Pn&&Qt(Cn.prototype,Pn),Cn}var Nt=function(Pn){var Tn=Pn.el;return Tn},kt=function(Pn,Tn){return Pn.__draggable_context=Tn},Ct=function(Pn){return Pn.__draggable_context},Bt=function(){function Cn(Pn){var Tn=Pn.nodes,si=Tn.header,Rn=Tn.default,Pi=Tn.footer,Ai=Pn.root,vi=Pn.realList;_t(this,Cn),this.defaultNodes=Rn,this.children=[].concat(B(si),B(Rn),B(Pi)),this.externalComponent=Ai.externalComponent,this.rootTransition=Ai.transition,this.tag=Ai.tag,this.realList=vi}return zt(Cn,[{key:"render",value:function(Tn,si){var Rn=this.tag,Pi=this.children,Ai=this._isRootComponent,vi=Ai?{default:function(){return Pi}}:Pi;return Tn(Rn,si,vi)}},{key:"updated",value:function(){var Tn=this.defaultNodes,si=this.realList;Tn.forEach(function(Rn,Pi){kt(Nt(Rn),{element:si[Pi],index:Pi})})}},{key:"getUnderlyingVm",value:function(Tn){return Ct(Tn)}},{key:"getVmIndexFromDomIndex",value:function(Tn,si){var Rn=this.defaultNodes,Pi=Rn.length,Ai=si.children,vi=Ai.item(Tn);if(vi===null)return Pi;var oo=Ct(vi);if(oo)return oo.index;if(Pi===0)return 0;var Ci=Nt(Rn[0]),Kn=B(Ai).findIndex(function(fo){return fo===Ci});return Tn<Kn?0:Pi}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),Cn}(),ut=a("8bbf");function sn(Cn,Pn){var Tn=Cn[Pn];return Tn?Tn():[]}function dn(Cn){var Pn=Cn.$slots,Tn=Cn.realList,si=Cn.getKey,Rn=Tn||[],Pi=["header","footer"].map(function(fo){return sn(Pn,fo)}),Ai=w(Pi,2),vi=Ai[0],oo=Ai[1],Ci=Pn.item;if(!Ci)throw new Error("draggable element must have an item slot");var Kn=Rn.flatMap(function(fo,Yi){return Ci({element:fo,index:Yi}).map(function(Bi){return Bi.key=si(fo),Bi.props=v(v({},Bi.props||{}),{},{"data-draggable":!0}),Bi})});if(Kn.length!==Rn.length)throw new Error("Item slot must have only one child");return{header:vi,footer:oo,default:Kn}}function Gt(Cn){var Pn=Te(Cn),Tn=!Se(Cn)&&!Pn;return{transition:Pn,externalComponent:Tn,tag:Tn?Object(ut.resolveComponent)(Cn):Pn?ut.TransitionGroup:Cn}}function yt(Cn){var Pn=Cn.$slots,Tn=Cn.tag,si=Cn.realList,Rn=Cn.getKey,Pi=dn({$slots:Pn,realList:si,getKey:Rn}),Ai=Gt(Tn);return new Bt({nodes:Pi,root:Ai,realList:si})}function cn(Cn,Pn){var Tn=this;Object(ut.nextTick)(function(){return Tn.$emit(Cn.toLowerCase(),Pn)})}function gn(Cn){var Pn=this;return function(Tn,si){if(Pn.realList!==null)return Pn["onDrag".concat(Cn)](Tn,si)}}function mn(Cn){var Pn=this,Tn=gn.call(this,Cn);return function(si,Rn){Tn.call(Pn,si,Rn),cn.call(Pn,Cn,si)}}var Xt=null,In={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(Pn){return Pn}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},$n=["update:modelValue","change"].concat(B([].concat(B(je.manageAndEmit),B(je.emit)).map(function(Cn){return Cn.toLowerCase()}))),Hn=Object(ut.defineComponent)({name:"draggable",inheritAttrs:!1,props:In,emits:$n,data:function(){return{error:!1}},render:function(){try{this.error=!1;var Pn=this.$slots,Tn=this.$attrs,si=this.tag,Rn=this.componentData,Pi=this.realList,Ai=this.getKey,vi=yt({$slots:Pn,tag:si,realList:Pi,getKey:Ai});this.componentStructure=vi;var oo=St({$attrs:Tn,componentData:Rn});return vi.render(ut.h,oo)}catch(Ci){return this.error=!0,Object(ut.h)("pre",{style:{color:"red"}},Ci.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&ce.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var Pn=this;if(!this.error){var Tn=this.$attrs,si=this.$el,Rn=this.componentStructure;Rn.updated();var Pi=Et({$attrs:Tn,callBackBuilder:{manageAndEmit:function(oo){return mn.call(Pn,oo)},emit:function(oo){return cn.bind(Pn,oo)},manage:function(oo){return gn.call(Pn,oo)}}}),Ai=si.nodeType===1?si:si.parentElement;this._sortable=new Y.a(Ai,Pi),this.targetDomElement=Ai,Ai.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var Pn=this.list;return Pn||this.modelValue},getKey:function(){var Pn=this.itemKey;return typeof Pn=="function"?Pn:function(Tn){return Tn[Pn]}}},watch:{$attrs:{handler:function(Pn){var Tn=this._sortable;Tn&&It(Pn).forEach(function(si){var Rn=w(si,2),Pi=Rn[0],Ai=Rn[1];Tn.option(Pi,Ai)})},deep:!0}},methods:{getUnderlyingVm:function(Pn){return this.componentStructure.getUnderlyingVm(Pn)||null},getUnderlyingPotencialDraggableComponent:function(Pn){return Pn.__draggable_component__},emitChanges:function(Pn){var Tn=this;Object(ut.nextTick)(function(){return Tn.$emit("change",Pn)})},alterList:function(Pn){if(this.list){Pn(this.list);return}var Tn=B(this.modelValue);Pn(Tn),this.$emit("update:modelValue",Tn)},spliceList:function(){var Pn=arguments,Tn=function(Rn){return Rn.splice.apply(Rn,B(Pn))};this.alterList(Tn)},updatePosition:function(Pn,Tn){var si=function(Pi){return Pi.splice(Tn,0,Pi.splice(Pn,1)[0])};this.alterList(si)},getRelatedContextFromMoveEvent:function(Pn){var Tn=Pn.to,si=Pn.related,Rn=this.getUnderlyingPotencialDraggableComponent(Tn);if(!Rn)return{component:Rn};var Pi=Rn.realList,Ai={list:Pi,component:Rn};if(Tn!==si&&Pi){var vi=Rn.getUnderlyingVm(si)||{};return v(v({},vi),Ai)}return Ai},getVmIndexFromDomIndex:function(Pn){return this.componentStructure.getVmIndexFromDomIndex(Pn,this.targetDomElement)},onDragStart:function(Pn){this.context=this.getUnderlyingVm(Pn.item),Pn.item._underlying_vm_=this.clone(this.context.element),Xt=Pn.item},onDragAdd:function(Pn){var Tn=Pn.item._underlying_vm_;if(Tn!==void 0){Q(Pn.item);var si=this.getVmIndexFromDomIndex(Pn.newIndex);this.spliceList(si,0,Tn);var Rn={element:Tn,newIndex:si};this.emitChanges({added:Rn})}},onDragRemove:function(Pn){if(ue(this.$el,Pn.item,Pn.oldIndex),Pn.pullMode==="clone"){Q(Pn.clone);return}var Tn=this.context,si=Tn.index,Rn=Tn.element;this.spliceList(si,1);var Pi={element:Rn,oldIndex:si};this.emitChanges({removed:Pi})},onDragUpdate:function(Pn){Q(Pn.item),ue(Pn.from,Pn.item,Pn.oldIndex);var Tn=this.context.index,si=this.getVmIndexFromDomIndex(Pn.newIndex);this.updatePosition(Tn,si);var Rn={element:this.context.element,oldIndex:Tn,newIndex:si};this.emitChanges({moved:Rn})},computeFutureIndex:function(Pn,Tn){if(!Pn.element)return 0;var si=B(Tn.to.children).filter(function(vi){return vi.style.display!=="none"}),Rn=si.indexOf(Tn.related),Pi=Pn.component.getVmIndexFromDomIndex(Rn),Ai=si.indexOf(Xt)!==-1;return Ai||!Tn.willInsertAfter?Pi:Pi+1},onDragMove:function(Pn,Tn){var si=this.move,Rn=this.realList;if(!si||!Rn)return!0;var Pi=this.getRelatedContextFromMoveEvent(Pn),Ai=this.computeFutureIndex(Pi,Pn),vi=v(v({},this.context),{},{futureIndex:Ai}),oo=v(v({},Pn),{},{relatedContext:Pi,draggedContext:vi});return si(oo,Tn)},onDragEnd:function(){Xt=null}}}),Xn=Hn;r.default=Xn},fb6a:function(o,r,a){var s=a("23e7"),l=a("861d"),d=a("e8b5"),f=a("23cb"),g=a("50c4"),v=a("fc6a"),b=a("8418"),x=a("b622"),k=a("1dde"),S=a("ae40"),O=k("slice"),w=S("slice",{ACCESSORS:!0,0:0,1:2}),D=x("species"),I=[].slice,$=Math.max;s({target:"Array",proto:!0,forced:!O||!w},{slice:function(X,Y){var Q=v(this),ue=g(Q.length),ce=f(X,ue),ve=f(Y===void 0?ue:Y,ue),ie,se,te;if(d(Q)&&(ie=Q.constructor,typeof ie=="function"&&(ie===Array||d(ie.prototype))?ie=void 0:l(ie)&&(ie=ie[D],ie===null&&(ie=void 0)),ie===Array||ie===void 0))return I.call(Q,ce,ve);for(se=new(ie===void 0?Array:ie)($(ve-ce,0)),te=0;ce<ve;ce++,te++)ce in Q&&b(se,te,Q[ce]);return se.length=te,se}})},fc6a:function(o,r,a){var s=a("44ad"),l=a("1d80");o.exports=function(d){return s(l(d))}},fdbc:function(o,r){o.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(o,r,a){var s=a("4930");o.exports=s&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(eO);var bge=eO.exports;const sf=Jf(bge);function Mg(n){let e;if(n.includes("(")&&n.includes(")")){e=n.split("(")[0];const t=n.match(pU);t&&(n=t[1])}return{fn:e??null,field:n}}const xge=n=>(nr("data-v-4aa39142"),n=n(),ir(),n),wge={class:"name"},kge=xge(()=>xe("div",{class:"spacer"},null,-1)),Cge=["onClick"],Sge=Lt({__name:"system-fields",props:{collectionName:{},value:{default:null},allowSelectAll:{type:Boolean,default:!1}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,o=xo(),r=we({get(){var f;return((f=t.value)==null?void 0:f.map(g=>({key:g,...o.getField(t.collectionName,g),displayName:d(g)})))??[];function d(g){const v=g.split(".");return v.map((x,k)=>{const S=x.includes("(")&&x.includes(")");let O=x,w;if(S){const{field:B,fn:X}=Mg(x);w=X,O=B}const D=v.slice(0,k),I=o.getField(t.collectionName,[...D,O].join(".")),$=(I==null?void 0:I.name)??O;return S?a(`functions.${w}`)+` (${$})`:$}).join(" -> ")}},set(d){const f=d.map(g=>g.key);i("input",f)}}),{t:a}=vn(),s=d=>{const f=new Set([...t.value??[],...d]);i("input",Array.from(f))},l=d=>{var g;const f=(g=t.value)==null?void 0:g.filter(v=>v!==d);(!f||f.length===0)&&i("input",null),i("input",f)};return(d,f)=>{const g=q("v-notice"),v=q("v-list"),b=q("v-icon"),x=q("v-list-item"),k=q("v-field-list"),S=q("v-menu");return d.collectionName?(V(),De(_n,{key:1},[r.value.length===0?(V(),me(v,{key:0},{default:P(()=>[A(g,{class:"no-fields"},{default:P(()=>[Fe(de(h(a)("interfaces.system-fields.no_fields")),1)]),_:1})]),_:1})):(V(),me(v,{key:1},{default:P(()=>[A(h(sf),vr({modelValue:r.value,"onUpdate:modelValue":f[0]||(f[0]=O=>r.value=O),"item-key":"key",handle:".drag-handle"},{"force-fallback":!0}),{item:P(({element:O})=>[A(x,{block:""},{default:P(()=>[A(b,{name:"drag_handle",class:"drag-handle",left:""}),xe("div",wge,de(O.displayName),1),kge,A(b,{name:"close",clickable:"",onClick:w=>l(O.key)},null,8,["onClick"])]),_:2},1024)]),_:1},16,["modelValue"])]),_:1})),A(S,{placement:"bottom-start","show-arrow":""},{activator:P(({toggle:O})=>[xe("button",{class:"toggle",onClick:O},[Fe(de(h(a)("add_field"))+" ",1),A(b,{name:"expand_more"})],8,Cge)]),default:P(()=>[A(k,{"disabled-fields":d.value,collection:d.collectionName,"allow-select-all":d.allowSelectAll,onAdd:s},null,8,["disabled-fields","collection","allow-select-all"])]),_:1})],64)):(V(),me(g,{key:0},{default:P(()=>[Fe(de(h(a)("interfaces.system-fields.select_a_collection")),1)]),_:1}))}}}),Ege=qt(Sge,[["__scopeId","data-v-4aa39142"]]),Age=ha({id:"system-fields",name:"$t:interfaces.fields.name",icon:"search",component:Ege,types:["csv","json"],options:[],system:!0}),Tge=["pattern","value"],Lge=["value"],Ige={class:"date-input"},Mge=["onClick"],Dge=Lt({__name:"input-component",props:{is:{},type:{},value:{type:[String,Number,Object,Boolean,null]},focus:{type:Boolean,default:!0},choices:{default:()=>[]}},emits:["input"],setup(n,{emit:e}){mm(x=>({"434d5965":l.value}));const t=n,i=e,{t:o}=vn(),r=Pe(),a=Pe(null),s=Pe(!0),l=we(()=>s.value?"none":"var(--theme--danger)"),d=we(()=>t.value===null||t.value===void 0?null:typeof t.value=="string"&&t.value.length>25?t.value.substring(0,22)+"...":t.value),f=we(()=>{switch(t.type){case"integer":case"bigInteger":return"[+\\-]?[0-9]+";case"decimal":case"float":return"[+\\-]?[0-9]+\\.?[0-9]*";case"uuid":return"[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}";default:return""}});zr(()=>{var x;t.focus&&((x=a.value)==null||x.focus())}),aC(()=>v(t.value)),ii(()=>t.value,x=>v(x),{immediate:!0});function g(x){return!!(x===""||typeof x!="string"||new RegExp(f.value).test(x)||typeof x=="string"&&(["$NOW","$CURRENT_USER","$CURRENT_ROLE"].some(k=>x.startsWith(k))||/^{{\s*?\S+?\s*?}}$/.test(x)))}function v(x){s.value=g(x)}function b(x){s.value=g(x),s.value&&i("input",x===""?null:x)}return(x,k)=>{const S=q("v-icon"),O=q("v-select"),w=q("v-date-picker"),D=q("v-menu"),I=ki("input-auto-width");return x.type==="boolean"?(V(),me(S,{key:0,name:x.value===null?"indeterminate_check_box":x.value?"check_box":"check_box_outline_blank",clickable:"",class:"preview",small:"",onClick:k[0]||(k[0]=$=>x.$emit("input",!x.value))},null,8,["name"])):x.is==="interface-input"?rn((V(),De("input",{key:1,ref_key:"inputEl",ref:a,type:"text",pattern:f.value,value:x.value,placeholder:"--",onInput:k[1]||(k[1]=$=>b($.target.value))},null,40,Tge)),[[I]]):x.is==="select"?(V(),me(O,{key:2,inline:"",items:x.choices,"model-value":x.value,placeholder:h(o)("select"),"allow-other":"","group-selectable":"","onUpdate:modelValue":k[2]||(k[2]=$=>b($))},null,8,["items","model-value","placeholder"])):x.is==="interface-datetime"?(V(),De(_n,{key:3},[rn(xe("input",{ref_key:"inputEl",ref:a,type:"text",value:x.value,placeholder:"--",onInput:k[3]||(k[3]=$=>b($.target.value))},null,40,Lge),[[I]]),A(D,{ref_key:"dateTimeMenu",ref:r,"close-on-content-click":!1,"show-arrow":"",placement:"bottom-start",seamless:"","full-height":""},{activator:P(({toggle:$})=>[A(S,{class:"preview",name:"event",small:"",onClick:$},null,8,["onClick"])]),default:P(()=>{var $;return[xe("div",Ige,[A(w,{type:x.type,"model-value":x.value,"onUpdate:modelValue":b,onClose:($=r.value)==null?void 0:$.deactivate},null,8,["type","model-value","onClose"])])]}),_:1},512)],64)):(V(),me(D,{key:4,"close-on-content-click":!1,"show-arrow":"",placement:"bottom-start"},{activator:P(({toggle:$})=>[x.type.startsWith("geometry")||x.type==="json"?(V(),me(S,{key:0,class:"preview",name:x.type==="json"?"integration_instructions":"map",small:"",onClick:$},null,8,["name","onClick"])):(V(),De("div",{key:1,class:"preview",onClick:$},de(d.value),9,Mge))]),default:P(()=>[xe("div",{class:An(["input",x.type])},[(V(),me(pa(x.is),{class:"input-component",small:"",type:x.type,value:x.value,onInput:k[4]||(k[4]=$=>b($))},null,40,["type","value"]))],2)]),_:1}))}}}),Py=qt(Dge,[["__scopeId","data-v-9392cce4"]]);function S8(n){return n?Object.keys(n)[0]:""}function qm(n){const e=S8(n);if(e.startsWith("_")||!st.isPlainObject(n[e]))return"";const t=qm(n[e]);return t!==""?`${e}.${t}`:e}function C9(n){return n.includes("(")&&n.includes(")")}function fO(n){return S8(st.get(n,qm(n)))}function sw(n,e,t){return i(n.split("."));function i(o){const r=o.shift();return r!==void 0?{[r]:i(o)}:{[e]:t}}}const Pge={key:2,class:"list"},Oge={class:"and"},Rge=Lt({__name:"input-group",props:{field:{},collection:{}},emits:["update:field"],setup(n,{emit:e}){const t=n,i=e,o=xo(),r=Ts(),{t:a}=vn(),s=we(()=>{const b=o.getField(t.collection,qm(t.field));if((b==null?void 0:b.type)==="alias"){const x=r.getRelationsForField(t.collection,qm(t.field));if(x[0])return o.getField(x[0].collection,x[0].field)}return b}),l=we(()=>fO(t.field)),d=we(()=>{var x,k,S,O;return(S=(k=(x=s.value)==null?void 0:x.meta)==null?void 0:k.options)!=null&&S.choices?"select":"interface-"+{bigInteger:"input",binary:"input",boolean:"boolean",date:"datetime",dateTime:"datetime",decimal:"input",float:"input",integer:"input",json:"input-code",string:"input",text:"input-multiline",time:"datetime",timestamp:"datetime",uuid:"input",csv:"input",hash:"input-hash",geometry:"map"}[((O=s.value)==null?void 0:O.type)||"string"]}),f=we({get(){const b=qm(t.field),x=st.get(t.field,`${b}.${l.value}`);return["_in","_nin"].includes(l.value)?[...x.filter(k=>k!==null&&k!==""),null]:x},set(b){const x=qm(t.field);let k;["_in","_nin"].includes(l.value)?k=b.flatMap(S=>typeof S=="string"?S.split(",").map(O=>O.trim()):"").filter(S=>S!==null&&S!==""):k=b,i("update:field",sw(x,l.value,k))}}),g=we(()=>{var b,x,k;return((k=(x=(b=s.value)==null?void 0:b.meta)==null?void 0:x.options)==null?void 0:k.choices)??[]});function v(b,x){const k=Array.isArray(f.value)?st.clone(f.value):new Array(b+1);k[b]=x,f.value=k}return(b,x)=>{var k,S,O,w;return["_eq","_neq","_lt","_gt","_lte","_gte"].includes(l.value)?(V(),me(Py,{key:0,is:d.value,choices:g.value,type:((k=s.value)==null?void 0:k.type)??"unknown",value:f.value,onInput:x[0]||(x[0]=D=>f.value=D)},null,8,["is","choices","type","value"])):["_contains","_ncontains","_icontains","_starts_with","_istarts_with","_nstarts_with","_nistarts_with","_ends_with","_iends_with","_nends_with","_niends_with","_regex"].includes(l.value)?(V(),me(Py,{key:1,is:"interface-input",choices:g.value,type:((S=s.value)==null?void 0:S.type)??"unknown",value:f.value,onInput:x[1]||(x[1]=D=>f.value=D)},null,8,["choices","type","value"])):["_in","_nin"].includes(l.value)?(V(),De("div",Pge,[(V(!0),De(_n,null,Ii(f.value,(D,I)=>{var $;return V(),De("div",{key:I,class:"value"},[A(Py,{is:d.value,type:(($=s.value)==null?void 0:$.type)??"unknown",value:D,focus:!1,choices:g.value,onInput:B=>v(I,B)},null,8,["is","type","value","choices","onInput"])])}),128))])):["_between","_nbetween"].includes(l.value)?(V(),De(_n,{key:3},[A(Py,{is:d.value,choices:g.value,type:((O=s.value)==null?void 0:O.type)??"unknown",value:f.value[0]??"",onInput:x[2]||(x[2]=D=>v(0,D))},null,8,["is","choices","type","value"]),xe("div",Oge,de(h(a)("interfaces.filter.and")),1),A(Py,{is:d.value,choices:g.value,type:((w=s.value)==null?void 0:w.type)??"unknown",value:f.value[1]??"",onInput:x[3]||(x[3]=D=>v(1,D))},null,8,["is","choices","type","value"])],64)):He("",!0)}}}),Fge=qt(Rge,[["__scopeId","data-v-a542a969"]]),zge={class:"row"},$ge={key:0,block:"",class:"node field"},Nge={key:0,class:"plain-name"},Bge=["onClick"],jge={class:"delete"},Vge={key:1,class:"node logic"},Hge=["onClick"],Uge={class:"text"},Wge={class:"delete"},qge=Lt({__name:"nodes",props:{filter:{},collection:{},field:{default:void 0},depth:{default:1},inline:{type:Boolean,default:!1},includeValidation:{type:Boolean,default:!1},includeRelations:{type:Boolean,default:!0},relationalFieldSelectable:{type:Boolean,default:!0},rawFieldNames:{type:Boolean,default:!1}},emits:["remove-node","update:filter","change"],setup(n,{emit:e}){const t=n,i=e,{collection:o}=Po(t),r=da(t,"filter",i),a=xo(),s=Ts(),{t:l}=vn(),d=we({get(){return t.filter.map((w,D)=>{const I=S8(w),$=I.startsWith("_")===!1;return $?{id:D,isField:$,name:I,field:qm(w),comparator:fO(w),node:w}:{id:D,name:I,isField:$,node:w}})},set(w){i("update:filter",w.map(D=>D.node))}});function f(w){const I=qm(w).split(".");return I.map((B,X)=>{const Y=C9(B);let Q=B,ue;if(Y){const{field:se,fn:te}=Mg(B);ue=te,Q=se}const ce=I.slice(0,X),ve=a.getField(t.collection,[...ce,Q].join(".")),ie=(t.rawFieldNames?ve==null?void 0:ve.field:ve==null?void 0:ve.name)??Q;return Y?l(`functions.${ue}`)+` (${ie})`:ie}).join(" -> ")}function g(w){return t.filter.findIndex(D=>D===w)}function v(w){const D=d.value[w];d.value[w].isField||("_and"in D.node?r.value=r.value.map((I,$)=>$===w?{_or:D.node._and}:I):r.value=r.value.map((I,$)=>$===w?{_and:D.node._or}:I))}function b(w,D){const I=d.value[w];if(I.isField===!1)return;const $=I.field+"."+I.comparator,B=st.get(I.node,$);switch(D){case"_in":case"_nin":X(qu(B)||[]);break;case"_between":case"_nbetween":X((qu(B)||[]).slice(0,2));break;case"_null":case"_nnull":case"_empty":case"_nempty":X(!0);break;case"_intersects":case"_nintersects":case"_intersects_bbox":case"_nintersects_bbox":["_intersects","_nintersects","_intersects_bbox","_nintersects_bbox"].includes(I.comparator)?X(B):X(null);break;default:["_null","_nnull","_empty","_nempty"].includes(I.comparator)?X(null):X(Array.isArray(B)?B[0]:B);break}function X(Y){I.isField!==!1&&(r.value=r.value.map((Q,ue)=>ue===w?sw(I.field,D,Y):Q))}}function x(w,D){const I=d.value[w],$=a.getField(t.collection,I.name),B=a.getField(t.collection,D);if(I.isField===!1)return;const X=I.field+"."+I.comparator;let Y=st.get(I.node,X),Q=I.comparator;($==null?void 0:$.type)!==(B==null?void 0:B.type)&&(Y=null,Q=S(D)[0].value),r.value=r.value.map((ue,ce)=>ce===w?sw(D,Q,Y):ue)}function k(w,D){r.value=r.value.map((I,$)=>$===w?D:I)}function S(w){var I;let D;if(C9(w)){const $=w.split("(")[0];D=RD($)}else{const $=a.getField(t.collection,w);if(D=($==null?void 0:$.type)||"unknown",D==="alias"){const B=s.getRelationsForField(t.collection,w);B[0]&&(D=((I=a.getField(B[0].collection,B[0].field))==null?void 0:I.type)||"unknown")}}return OD(D,{includeValidation:t.includeValidation}).map($=>({text:l(`operators.${$}`),value:`_${$}`}))}function O(w){if(!t.collection)return!1;let D=qm(w);if(C9(D)){const $=D.split("."),{field:B}=Mg($.at(-1));D=[...$.slice(0,-1),B].join(".")}return!!a.getField(t.collection,D)}return(w,D)=>{const I=q("v-icon"),$=q("v-field-list"),B=q("v-menu"),X=q("v-select"),Y=q("nodes",!0),Q=ki("tooltip");return V(),me(h(sf),vr({tag:"ul",draggable:".row",handle:".drag-handle",class:"group",list:h(r),group:{name:"g1"},"item-key":g,"swap-threshold":.3},{"force-fallback":!0},{onChange:D[1]||(D[1]=ue=>w.$emit("change"))}),{item:P(({element:ue,index:ce})=>[xe("li",zge,[d.value[ce].isField?(V(),De("div",$ge,[xe("div",{class:An(["header",{inline:w.inline,"raw-field-names":w.rawFieldNames}])},[A(I,{name:"drag_indicator",class:"drag-handle",small:""}),w.field||!O(ue)?(V(),De("span",Nge,de(f(ue)),1)):(V(),me(B,{key:1,placement:"bottom-start","show-arrow":""},{activator:P(({toggle:ve})=>[xe("button",{class:"name",onClick:ve},[xe("span",null,de(f(ue)),1)],8,Bge)]),default:P(()=>[A($,{collection:h(o),field:w.field,"include-functions":"","include-relations":w.includeRelations,"relational-field-selectable":w.relationalFieldSelectable,"allow-select-all":!1,"raw-field-names":w.rawFieldNames,onAdd:ve=>x(ce,ve[0])},null,8,["collection","field","include-relations","relational-field-selectable","raw-field-names","onAdd"])]),_:2},1024)),A(X,{inline:"",class:"comparator",placement:"bottom-start","model-value":d.value[ce].comparator,items:S(d.value[ce].field),"onUpdate:modelValue":ve=>b(ce,ve)},null,8,["model-value","items","onUpdate:modelValue"]),A(Fge,{field:ue,collection:h(o),"onUpdate:field":ve=>k(ce,ve)},null,8,["field","collection","onUpdate:field"]),xe("span",jge,[rn(A(I,{name:"close",small:"",clickable:"",onClick:ve=>w.$emit("remove-node",[ce])},null,8,["onClick"]),[[Q,h(l)("delete_label")]])])],2)])):(V(),De("div",Vge,[xe("div",{class:An(["header",{inline:w.inline}])},[A(I,{name:"drag_indicator",class:"drag-handle",small:""}),xe("div",{class:An(["logic-type",{or:d.value[ce].name==="_or"}])},[xe("span",{class:"key",onClick:ve=>v(ce)},de(d.value[ce].name==="_and"?h(l)("interfaces.filter.logic_type_and"):h(l)("interfaces.filter.logic_type_or")),9,Hge),xe("span",Uge,de(`— ${d.value[ce].name==="_and"?h(l)("interfaces.filter.all"):h(l)("interfaces.filter.any")} ${h(l)("interfaces.filter.of_the_following")}`),1)],2),xe("span",Wge,[rn(A(I,{name:"close",small:"",clickable:"",onClick:ve=>w.$emit("remove-node",[ce])},null,8,["onClick"]),[[Q,h(l)("delete_label")]])])],2),A(Y,{filter:ue[d.value[ce].name],collection:h(o),depth:w.depth+1,inline:w.inline,"raw-field-names":w.rawFieldNames,onChange:D[0]||(D[0]=ve=>w.$emit("change")),onRemoveNode:ve=>w.$emit("remove-node",[`${ce}.${d.value[ce].name}`,...ve]),"onUpdate:filter":ve=>k(ce,{[d.value[ce].name]:ve})},null,8,["filter","collection","depth","inline","raw-field-names","onRemoveNode","onUpdate:filter"])]))])]),_:1},16,["list"])}}}),Gge=qt(qge,[["__scopeId","data-v-c752b15e"]]),Yge={key:0,class:"no-rules"},Xge={key:0,class:"buttons"},Kge={key:1,class:"buttons"},Zge=["onClick"],Jge=["placeholder"],Qge=Lt({__name:"system-filter",props:{value:{default:void 0},disabled:{type:Boolean,default:!1},collectionName:{default:void 0},collectionField:{default:void 0},collectionRequired:{type:Boolean,default:!0},fieldName:{default:void 0},inline:{type:Boolean,default:!1},includeValidation:{type:Boolean,default:!1},includeRelations:{type:Boolean,default:!0},relationalFieldSelectable:{type:Boolean,default:!0},rawFieldNames:{type:Boolean,default:!1}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=vn(),r=Pe(),a=ku("values",Pe({})),s=we(()=>t.collectionName?t.collectionName:a.value[t.collectionField]??null),l=xo(),d=Ts(),f=we({get(){const S=typeof t.value=="string"?Hg(t.value):t.value;return!S||st.isEmpty(S)?[]:S8(S)==="_and"?st.cloneDeep(S._and):st.cloneDeep([S])},set(S){S.length===0?i("input",null):i("input",{_and:S})}});function g(){f.value.length===0?i("input",null):i("input",{_and:f.value})}function v(S){var O,w,D;if(S==="$group")f.value=f.value.concat({_and:[]});else{let I;const $=l.getField(s.value,S);if(S.includes("(")&&S.includes(")")){const ce=S.split("(")[0];I=RD(ce),S=hU(S)}else if(I=($==null?void 0:$.type)||"unknown",I==="alias"){const ce=d.getRelationsForField(s.value,S);ce[0]&&(I=((O=l.getField(ce[0].collection,ce[0].field))==null?void 0:O.type)||"unknown")}const B=OD(I,{includeValidation:t.includeValidation}),X=(D=(w=$==null?void 0:$.meta)==null?void 0:w.options)!=null&&D.choices&&B.includes("eq")?"eq":B[0],Q=X&&["empty","nempty","null","nnull"].includes(X)?!0:null,ue=st.set({},S,{["_"+X]:Q});f.value=f.value.concat(ue)}}function b(S){const O=S.pop();if(S.length===0){f.value=f.value.filter((D,I)=>I!==Number(O));return}let w=st.get(f.value,S.join("."));w=w.filter((D,I)=>I!==Number(O)),f.value=st.set(f.value,S.join("."),w)}const x=Pe(null);function k(){x.value&&(r.value&&r.value.deactivate(),v(x.value),x.value=null)}return(S,O)=>{const w=q("v-notice"),D=q("v-list"),I=q("v-icon"),$=q("v-text-overflow"),B=q("v-list-item-content"),X=q("v-list-item"),Y=q("v-divider"),Q=q("v-field-list"),ue=q("v-menu");return S.collectionRequired&&!S.collectionField&&!s.value?(V(),me(w,{key:0,type:"warning"},{default:P(()=>[Fe(de(h(o)("collection_field_not_setup")),1)]),_:1})):S.collectionRequired&&!s.value?(V(),me(w,{key:1,type:"warning"},{default:P(()=>[Fe(de(h(o)("select_a_collection")),1)]),_:1})):(V(),De("div",{key:2,class:An(["system-filter",{inline:S.inline,empty:f.value.length===0,field:S.fieldName!==void 0}])},[A(D,{mandatory:""},{default:P(()=>[f.value.length===0?(V(),De("div",Yge,de(h(o)("interfaces.filter.no_rules")),1)):(V(),me(Gge,{key:1,filter:f.value,"onUpdate:filter":O[0]||(O[0]=ce=>f.value=ce),collection:s.value,field:S.fieldName,depth:1,"include-validation":S.includeValidation,"include-relations":S.includeRelations,"relational-field-selectable":S.relationalFieldSelectable,"raw-field-names":S.rawFieldNames,onRemoveNode:O[1]||(O[1]=ce=>b(ce)),onChange:g},null,8,["filter","collection","field","include-validation","include-relations","relational-field-selectable","raw-field-names"]))]),_:1}),S.fieldName?(V(),De("div",Xge,[xe("button",{onClick:O[2]||(O[2]=ce=>v(S.fieldName))},de(h(o)("interfaces.filter.add_filter")),1),xe("button",{onClick:O[3]||(O[3]=ce=>v("$group"))},de(h(o)("interfaces.filter.add_group")),1)])):(V(),De("div",Kge,[A(ue,{ref_key:"menuEl",ref:r,placement:"bottom-start","show-arrow":""},{activator:P(({toggle:ce,active:ve})=>[xe("button",{class:An(["add-filter",{active:ve}]),onClick:ce},[S.inline?(V(),me(I,{key:0,name:"add",class:"add",small:""})):He("",!0),xe("span",null,de(h(o)("interfaces.filter.add_filter")),1),A(I,{name:"expand_more",class:"expand_more"})],10,Zge)]),default:P(()=>[S.collectionRequired?(V(),me(Q,{key:0,collection:s.value,"include-functions":"","include-relations":S.includeRelations,"relational-field-selectable":S.relationalFieldSelectable,"allow-select-all":!1,"raw-field-names":S.rawFieldNames,onAdd:O[5]||(O[5]=ce=>v(ce[0]))},{prepend:P(()=>[A(X,{clickable:"",onClick:O[4]||(O[4]=ce=>v("$group"))},{default:P(()=>[A(B,null,{default:P(()=>[A($,{text:h(o)("interfaces.filter.add_group")},null,8,["text"])]),_:1})]),_:1}),A(Y)]),_:1},8,["collection","include-relations","relational-field-selectable","raw-field-names"])):(V(),me(D,{key:1,mandatory:!1},{default:P(()=>[A(X,{clickable:"",onClick:O[6]||(O[6]=ce=>v("$group"))},{default:P(()=>[A(B,null,{default:P(()=>[A($,{text:h(o)("interfaces.filter.add_group")},null,8,["text"])]),_:1})]),_:1}),A(Y),A(X,{onClick:O[8]||(O[8]=po(()=>{},["stop"]))},{default:P(()=>[A(B,null,{default:P(()=>[rn(xe("input",{"onUpdate:modelValue":O[7]||(O[7]=ce=>x.value=ce),class:"new-key-input",placeholder:h(o)("interfaces.filter.add_key_placeholder"),onKeydown:$p(k,["enter"])},null,40,Jge),[[f_,x.value]])]),_:1})]),_:1})]),_:1}))]),_:1},512)]))],2))}}}),e0e=qt(Qge,[["__scopeId","data-v-965dd0d3"]]),t0e=ha({id:"system-filter",name:"$t:interfaces.filter.name",icon:"search",component:e0e,types:["json"],options:[],system:!0}),n0e=(n,e,t)=>{const i=n[e];return i?typeof i=="function"?i():Promise.resolve(i):new Promise((o,r)=>{(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+e+(e.split("/").length!==t?". Note that variables only represent file names one level deep.":""))))})},IC=lf("translations",()=>{const n=Pe(!1),e=Pe([]),t=Pe("en-US"),i=async(r=h(t))=>{n.value=!0;try{e.value=await Sf("/translations",{params:{fields:["language","key","value"],filter:{language:{_eq:r}}}}),t.value=r}catch{}finally{n.value=!1}},o=async r=>{try{await Zn.post("/translations",r),await i()}catch(a){Xi(a)}};return ii(e,r=>{const a=r==null?void 0:r.reduce((s,{key:l,value:d})=>(s[l]=u4(d,!0),s),{});a&&$o.global.mergeLocaleMessage(h(t),a)}),{loading:n,translations:e,loadTranslations:i,create:o}});var pO={"af-ZA":"Afrikaans (South Africa)","sq-AL":"Albanian (Albania)","ar-SA":"Arabic (Saudi Arabia)","bn-IN":"Bengali (India)","bs-BA":"Bosnian (Bosnia and Herzegovina)","br-FR":"Breton (France)","bg-BG":"Bulgarian (Bulgaria)","ca-ES":"Catalan (Spain)","zh-CN":"Chinese (Simplified)","zh-TW":"Chinese (Traditional)","hr-HR":"Croatian (Croatia)","cs-CZ":"Czech (Czech Republic)","da-DK":"Danish (Denmark)","nl-NL":"Dutch (Netherlands)","en-CA":"English (Canada)","en-GB":"English (United Kingdom)","en-US":"English (United States)","eo-UY":"Esperanto","et-EE":"Estonian (Estonia)","fo-FO":"Faroese (Faroe Islands)","fa-IR":"Farsi (Iran)","fi-FI":"Finnish (Finland)","fr-CA":"French (Canada)","fr-FR":"French (France)","ka-GE":"Georgian (Georgia)","de-DE":"German (Germany)","el-GR":"Greek (Greece)","he-IL":"Hebrew (Israel)","hi-IN":"Hindi (India)","hu-HU":"Hungarian (Hungary)","is-IS":"Icelandic (Iceland)","id-ID":"Indonesian (Indonesia)","it-IT":"Italian (Italy)","ja-JP":"Japanese (Japan)","km-KH":"Khmer (Cambodia)","ko-KR":"Korean (Korea)","kmr-TR":"Kurdish Kurmanji (Turkey)","ckb-IR":"Kurdish Sorani (Iraq)","lt-LT":"Lithuanian (Lithuania)","ms-MY":"Malay (Malaysia)","mn-MN":"Mongolian (Mongolia)","no-NO":"Norwegian (Norway)","pl-PL":"Polish (Poland)","pt-BR":"Portuguese (Brazil)","pt-PT":"Portuguese (Portugal)","ro-RO":"Romanian (Romania)","ru-RU":"Russian (Russian Federation)","sr-SP":"Serbian (Cyrillic) (Serbia and Montenegro)","sr-CS":"Serbian (Latin) (Serbia and Montenegro)","si-LK":"Sinhala (Sri Lanka)","sk-SK":"Slovak (Slovakia)","sl-SI":"Slovenian (Slovenia)","es-CL":"Spanish (Chile)","es-419":"Spanish (Latin America)","es-MX":"Spanish (Mexico)","es-ES":"Spanish (Spain)","sw-KE":"Swahili (Kenya)","sw-TZ":"Swahili (Tanzania)","sv-SE":"Swedish (Sweden)","tg-TJ":"Tajik","th-TH":"Thai (Thailand)","tr-TR":"Turkish (Turkey)","uk-UA":"Ukrainian (Ukraine)","vi-VN":"Vietnamese (Vietnam)"};async function MC(n){const e=gr(),t=xo(),i=IC();if(Object.keys(pO).includes(n)===!1)console.warn(`"${n}" is not an available language in the Directus app.`);else{if(mA.includes(n)===!1)try{const{default:o}=await n0e(Object.assign({"./translations/af-ZA.yaml":()=>jt(()=>import("./af-ZA-BijvYDVi.js"),[],import.meta.url),"./translations/ar-SA.yaml":()=>jt(()=>import("./ar-SA-CvHrqudF.js"),[],import.meta.url),"./translations/az-AZ.yaml":()=>jt(()=>import("./az-AZ-Cpf-zHHl.js"),[],import.meta.url),"./translations/bg-BG.yaml":()=>jt(()=>import("./bg-BG-VcVW0vHc.js"),[],import.meta.url),"./translations/bn-IN.yaml":()=>jt(()=>import("./bn-IN-Bi360iv0.js"),[],import.meta.url),"./translations/br-FR.yaml":()=>jt(()=>import("./br-FR-Tx2kYr5_.js"),[],import.meta.url),"./translations/bs-BA.yaml":()=>jt(()=>import("./bs-BA-CSlQH6zj.js"),[],import.meta.url),"./translations/ca-ES.yaml":()=>jt(()=>import("./ca-ES-Bklg_INd.js"),[],import.meta.url),"./translations/ckb-IR.yaml":()=>jt(()=>import("./ckb-IR-B5C0Hm89.js"),[],import.meta.url),"./translations/cs-CZ.yaml":()=>jt(()=>import("./cs-CZ-GjGbIWPq.js"),[],import.meta.url),"./translations/da-DK.yaml":()=>jt(()=>import("./da-DK-zPDpoJTy.js"),[],import.meta.url),"./translations/de-DE.yaml":()=>jt(()=>import("./de-DE-5kPV95dk.js"),[],import.meta.url),"./translations/el-GR.yaml":()=>jt(()=>import("./el-GR-DbFQGZCB.js"),[],import.meta.url),"./translations/en-CA.yaml":()=>jt(()=>import("./en-CA-tnRkL9jy.js"),[],import.meta.url),"./translations/en-GB.yaml":()=>jt(()=>import("./en-GB-vm5_cNZO.js"),[],import.meta.url),"./translations/en-US.yaml":()=>jt(()=>Promise.resolve().then(()=>Ghe),void 0,import.meta.url),"./translations/eo-UY.yaml":()=>jt(()=>import("./eo-UY-CaO4nq9E.js"),[],import.meta.url),"./translations/es-419.yaml":()=>jt(()=>import("./es-419-m7q31vSC.js"),[],import.meta.url),"./translations/es-CL.yaml":()=>jt(()=>import("./es-CL-C2hx9Xcl.js"),[],import.meta.url),"./translations/es-ES.yaml":()=>jt(()=>import("./es-ES-DLE89aiQ.js"),[],import.meta.url),"./translations/es-MX.yaml":()=>jt(()=>import("./es-MX-Crt8xlLn.js"),[],import.meta.url),"./translations/et-EE.yaml":()=>jt(()=>import("./et-EE-DT4DbJ3v.js"),[],import.meta.url),"./translations/fa-IR.yaml":()=>jt(()=>import("./fa-IR-WgaVR0U2.js"),[],import.meta.url),"./translations/fi-FI.yaml":()=>jt(()=>import("./fi-FI-D3ZeAEsK.js"),[],import.meta.url),"./translations/fo-FO.yaml":()=>jt(()=>import("./fo-FO-C8VkGziH.js"),[],import.meta.url),"./translations/fr-CA.yaml":()=>jt(()=>import("./fr-CA-BDIP4d5g.js"),[],import.meta.url),"./translations/fr-FR.yaml":()=>jt(()=>import("./fr-FR-DmA4FKwH.js"),[],import.meta.url),"./translations/he-IL.yaml":()=>jt(()=>import("./he-IL-Dl5_pJsw.js"),[],import.meta.url),"./translations/hi-IN.yaml":()=>jt(()=>import("./hi-IN-K4Rrr7IY.js"),[],import.meta.url),"./translations/hr-HR.yaml":()=>jt(()=>import("./hr-HR-DCgvn6mS.js"),[],import.meta.url),"./translations/hu-HU.yaml":()=>jt(()=>import("./hu-HU-DCs_x-Lw.js"),[],import.meta.url),"./translations/id-ID.yaml":()=>jt(()=>import("./id-ID-CyCFejUc.js"),[],import.meta.url),"./translations/is-IS.yaml":()=>jt(()=>import("./is-IS-BUlyMZS1.js"),[],import.meta.url),"./translations/it-IT.yaml":()=>jt(()=>import("./it-IT-Ciz5hjam.js"),[],import.meta.url),"./translations/ja-JP.yaml":()=>jt(()=>import("./ja-JP-yeeNn3Nr.js"),[],import.meta.url),"./translations/ka-GE.yaml":()=>jt(()=>import("./ka-GE-B3OpZKfV.js"),[],import.meta.url),"./translations/km-KH.yaml":()=>jt(()=>import("./km-KH-BPjKOhO1.js"),[],import.meta.url),"./translations/kmr-TR.yaml":()=>jt(()=>import("./kmr-TR-CIEyP2s7.js"),[],import.meta.url),"./translations/ko-KR.yaml":()=>jt(()=>import("./ko-KR-C8DQNwjp.js"),[],import.meta.url),"./translations/ku-TR.yaml":()=>jt(()=>import("./ku-TR-J1sgNKdl.js"),[],import.meta.url),"./translations/lt-LT.yaml":()=>jt(()=>import("./lt-LT-D7w76K7T.js"),[],import.meta.url),"./translations/mn-MN.yaml":()=>jt(()=>import("./mn-MN-E1MqWkWa.js"),[],import.meta.url),"./translations/mr-IN.yaml":()=>jt(()=>import("./mr-IN-CIEyP2s7.js"),[],import.meta.url),"./translations/ms-MY.yaml":()=>jt(()=>import("./ms-MY-C_jY7pi9.js"),[],import.meta.url),"./translations/ne-NP.yaml":()=>jt(()=>import("./ne-NP-l4KRQAzm.js"),[],import.meta.url),"./translations/nl-NL.yaml":()=>jt(()=>import("./nl-NL-D_KAGHQ_.js"),[],import.meta.url),"./translations/no-NO.yaml":()=>jt(()=>import("./no-NO-Dq83R4Wq.js"),[],import.meta.url),"./translations/pl-PL.yaml":()=>jt(()=>import("./pl-PL-CNn1hwnk.js"),[],import.meta.url),"./translations/pt-BR.yaml":()=>jt(()=>import("./pt-BR-CYlw405l.js"),[],import.meta.url),"./translations/pt-PT.yaml":()=>jt(()=>import("./pt-PT-B2NhvtJg.js"),[],import.meta.url),"./translations/ro-RO.yaml":()=>jt(()=>import("./ro-RO-DP3HSeMs.js"),[],import.meta.url),"./translations/ru-RU.yaml":()=>jt(()=>import("./ru-RU-B3n3jXM7.js"),[],import.meta.url),"./translations/si-LK.yaml":()=>jt(()=>import("./si-LK-BFeKlcrN.js"),[],import.meta.url),"./translations/sk-SK.yaml":()=>jt(()=>import("./sk-SK-DnTrUgxh.js"),[],import.meta.url),"./translations/sl-SI.yaml":()=>jt(()=>import("./sl-SI-DsmWw196.js"),[],import.meta.url),"./translations/sq-AL.yaml":()=>jt(()=>import("./sq-AL-CliFkJUL.js"),[],import.meta.url),"./translations/sr-CS.yaml":()=>jt(()=>import("./sr-CS-BxTdlZ3i.js"),[],import.meta.url),"./translations/sr-SP.yaml":()=>jt(()=>import("./sr-SP-BTeM-iZ_.js"),[],import.meta.url),"./translations/sv-SE.yaml":()=>jt(()=>import("./sv-SE-BFGAPqpS.js"),[],import.meta.url),"./translations/sw-KE.yaml":()=>jt(()=>import("./sw-KE-CIEyP2s7.js"),[],import.meta.url),"./translations/sw-TZ.yaml":()=>jt(()=>import("./sw-TZ-CIEyP2s7.js"),[],import.meta.url),"./translations/te-IN.yaml":()=>jt(()=>import("./te-IN-B4fg5gC-.js"),[],import.meta.url),"./translations/tg-TJ.yaml":()=>jt(()=>import("./tg-TJ-CIEyP2s7.js"),[],import.meta.url),"./translations/th-TH.yaml":()=>jt(()=>import("./th-TH-B1p4tJB6.js"),[],import.meta.url),"./translations/tr-TR.yaml":()=>jt(()=>import("./tr-TR-BUDU_voA.js"),[],import.meta.url),"./translations/uk-UA.yaml":()=>jt(()=>import("./uk-UA-zOLdDA_O.js"),[],import.meta.url),"./translations/vi-VN.yaml":()=>jt(()=>import("./vi-VN-GkdvGhWu.js"),[],import.meta.url),"./translations/zh-CN.yaml":()=>jt(()=>import("./zh-CN-B4ExvpdW.js"),[],import.meta.url),"./translations/zh-TW.yaml":()=>jt(()=>import("./zh-TW-gJkxrypx.js"),[],import.meta.url)}),`./translations/${n}.yaml`,3);$o.global.mergeLocaleMessage(n,o),mA.push(n)}catch(o){console.warn(o)}$o.global.locale.value=n,document.querySelector("html").setAttribute("lang",n)}try{await i.loadTranslations(n),e.translateCollections(),t.translateFields(),await Mme(n)}catch{console.error("Failed loading translations")}return!0}const Ul=lf("serverStore",()=>{const n=A1({project:null,extensions:void 0,rateLimit:void 0,queryLimit:void 0}),e=A1({providers:[],disableDefault:!1}),t=we(()=>{const r=e.providers.filter(a=>!hP.includes(a.driver)).map(a=>({text:su(a.name),value:a.name,driver:a.driver}));return e.disableDefault||r.unshift({text:$o.global.t("default_provider"),value:hC,driver:$6}),r});return{info:n,auth:e,providerOptions:t,hydrate:async r=>{var d,f,g,v,b,x,k,S;const[a,s]=await Promise.all([Zn.get("/server/info"),Zn.get("/auth?sessionOnly")]);n.project=(d=a.data.data)==null?void 0:d.project,n.queryLimit=(f=a.data.data)==null?void 0:f.queryLimit,n.extensions=(g=a.data.data)==null?void 0:g.extensions,n.version=(v=a.data.data)==null?void 0:v.version,e.providers=s.data.data,e.disableDefault=s.data.disableDefault;const{currentUser:l}=Sr();if((!l||r!=null&&r.isLanguageUpdated&&(!("language"in l)||"language"in l&&!(l!=null&&l.language)))&&await MC(((x=(b=h(n))==null?void 0:b.project)==null?void 0:x.default_language)??"en-US"),((k=a.data.data)==null?void 0:k.rateLimit)!==void 0)if(((S=a.data.data)==null?void 0:S.rateLimit)===!1)await cA();else{const{duration:O,points:w}=a.data.data.rateLimit,D=1,I=Math.ceil(O*1e3/w);await cA({intervalCap:D,interval:I})}},dehydrate:()=>{n.project=null,e.providers=[],e.disableDefault=!1}}}),Sf=async(n,e={},t=1/0)=>{var l;let i=1,o=!0;const{info:r}=Ul();if(!r.queryLimit||((l=r.queryLimit)==null?void 0:l.max)===-1){st.set(e,"params.limit",-1);const{data:d}=await Zn.get(n,e);return d.data}const a=r.queryLimit.max,s=[];for(;s.length<t&&o===!0;){const d=st.cloneDeep(e);st.set(d,"params.page",i),st.set(d,"params.limit",a);const{data:f}=await Zn.get(n,d);f.data.length===0?o=!1:s.push(...f.data),i++}return Number.isFinite(t)?s.slice(0,t):s},hO=["root"],j5=Pe(!1),S9=Pe(null),NA=Pe(null),BA=Pe(hO);function x_(n,e){const t=we(()=>vO(NA.value,n==null?void 0:n.value)),i=Pe(jA(n==null?void 0:n.value)),o=we({get(){return!(n!=null&&n.value)&&!(e!=null&&e.value)?BA.value:i.value},set(a){!(n!=null&&n.value)&&!(e!=null&&e.value)?BA.value=a:i.value=a}});return n&&ii(n,(a,s)=>{a&&s===void 0&&(i.value=jA(a))}),S9.value===null&&r(),{loading:j5,folders:S9,nestedFolders:t,fetchFolders:r,openFolders:o};async function r(){if(j5.value!==!0){j5.value=!0;try{const a=await Sf("/folders",{params:{sort:"name"}});S9.value=a,NA.value=i0e(a)}catch(a){Xi(a)}finally{j5.value=!1}}}}function i0e(n){return n.map(e=>mO(e,n)).filter(e=>e.parent===null)}function mO(n,e){const t={...n},i=e.reduce((o,r)=>(r.parent===n.id&&r.id!==n.id&&o.push(mO(r,e)),o),[]);return i.length>0&&(t.children=i),t}function vO(n,e){if(!n)return null;if(!e)return n;for(const t of n){if(t.id===e)return t.children??null;if(t.children){const i=vO(t.children,e);if(i)return i}}return null}function jA(n){return n?[n]:hO}const o0e=Lt({__name:"folder-list-item",props:{folder:{},currentFolder:{},disabled:{type:Boolean},disabledFolders:{}},emits:["click"],setup(n){return(e,t)=>{const i=q("v-icon"),o=q("v-list-item-icon"),r=q("v-list-item-content"),a=q("v-list-item"),s=q("folder-list-item",!0),l=q("v-list-group");return!e.folder.children||e.folder.children.length===0?(V(),me(a,{key:0,active:e.currentFolder===e.folder.id,disabled:e.disabled,clickable:"",onClick:t[0]||(t[0]=d=>e.$emit("click",e.folder.id))},{default:P(()=>[A(o,null,{default:P(()=>[A(i,{name:e.currentFolder===e.folder.id?"folder_open":"folder"},null,8,["name"])]),_:1}),A(r,null,{default:P(()=>[Fe(de(e.folder.name),1)]),_:1})]),_:1},8,["active","disabled"])):(V(),me(l,{key:1,clickable:"",active:e.currentFolder===e.folder.id,disabled:e.disabled,onClick:t[2]||(t[2]=d=>e.$emit("click",e.folder.id))},{activator:P(()=>[A(o,null,{default:P(()=>[A(i,{name:e.currentFolder===e.folder.id?"folder_open":"folder"},null,8,["name"])]),_:1}),A(r,null,{default:P(()=>[Fe(de(e.folder.name),1)]),_:1})]),default:P(()=>[(V(!0),De(_n,null,Ii(e.folder.children,d=>{var f;return V(),me(s,{key:d.id,folder:d,"current-folder":e.currentFolder,disabled:(f=e.disabledFolders)==null?void 0:f.includes(d.id),"disabled-folders":e.disabledFolders,onClick:t[1]||(t[1]=g=>e.$emit("click",g))},null,8,["folder","current-folder","disabled","disabled-folders"])}),128))]),_:1},8,["active","disabled"]))}}}),a0e=Lt({__name:"folder",props:{value:{},disabledFolders:{},disabled:{type:Boolean},placeholder:{}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=vn(),{nestedFolders:r,folders:a,loading:s}=x_(),l=we(()=>{if(!t.value||!a.value)return o("interfaces.system-folder.root_name");const g=a.value.find(v=>v.id===t.value);return g?f(g,a.value).map(v=>v.name).join(" / "):t.value});function d(g){return i("input",g)}function f(g,v){const b=new Map(v.map(k=>[k.id,k])),x=k=>(k.parent&&b.has(k.parent)?x(b.get(k.parent)):[]).concat(k);return x(g)}return(g,v)=>{const b=q("v-skeleton-loader"),x=q("v-icon"),k=q("v-input"),S=q("v-list-item-icon"),O=q("v-list-item-content"),w=q("v-list-item"),D=q("v-divider"),I=q("v-list"),$=q("v-menu");return h(s)?(V(),me(b,{key:0})):(V(),me($,{key:1,class:"v-select",attached:"","show-arrow":!1,disabled:g.disabled,"close-on-content-click":""},{activator:P(({toggle:B,active:X})=>[A(k,{readonly:"",active:X,"model-value":l.value,placeholder:g.placeholder,disabled:g.disabled,onClick:B},{prepend:P(()=>[A(x,{name:g.value?"folder_open":"folder_special"},null,8,["name"])]),append:P(()=>[A(x,{name:"expand_more",class:An({active:X})},null,8,["class"])]),_:2},1032,["active","model-value","placeholder","disabled","onClick"])]),default:P(()=>[A(I,null,{default:P(()=>[A(w,{clickable:"",active:!g.value,onClick:v[0]||(v[0]=B=>d(null))},{default:P(()=>[A(S,null,{default:P(()=>[A(x,{name:"folder_special"})]),_:1}),A(O,null,{default:P(()=>[Fe(de(h(o)("interfaces.system-folder.root_name")),1)]),_:1})]),_:1},8,["active"]),h(r)&&h(r).length>0?(V(),me(D,{key:0})):He("",!0),(V(!0),De(_n,null,Ii(h(r),B=>{var X;return V(),me(o0e,{key:B.id,clickable:"",folder:B,"current-folder":g.value,disabled:(X=g.disabledFolders)==null?void 0:X.includes(B.id),"disabled-folders":g.disabledFolders,onClick:d},null,8,["folder","current-folder","disabled","disabled-folders"])}),128))]),_:1})]),_:1},8,["disabled"]))}}}),r0e=qt(a0e,[["__scopeId","data-v-5f37a0bc"]]),s0e=ha({id:"system-folder",name:"$t:interfaces.system-folder.folder",description:"$t:interfaces.system-folder.description",icon:"folder",component:r0e,types:["uuid"],options:[],system:!0,recommendedDisplays:["raw"]}),l0e=Lt({__name:"system-inline-fields",props:{value:{}},emits:["input"],setup(n,{emit:e}){const{t}=vn(),i=n,o=e,r=we({get(){var s;return((s=i.value)==null?void 0:s.map(l=>{const{field:d,type:f,name:g,meta:v,schema:b}=l,x=!g&&d?su(d):g,k={field:d,type:f,name:x};for(const[S,O]of Object.entries(v??{}))k[`meta.${S}`]=O;for(const[S,O]of Object.entries(b??{}))k[`schema.${S}`]=O;return k}))??null},set(s){o("input",s==null?void 0:s.map(l=>{const d={};for(const[f,g]of Object.entries(l))st.set(d,f.split("."),g);return d}))}}),a=we(()=>[{name:t("field_key"),field:"field",type:"string",meta:{interface:"input",width:"half",required:!0,options:{dbSafe:!0,font:"monospace",placeholder:t("field_key_placeholder")}}},{name:t("field_name"),field:"name",type:"string",meta:{interface:"system-input-translated-string",width:"half",options:{placeholder:t("field_name_placeholder")}}},{name:t("type"),field:"type",type:"string",meta:{interface:"select-dropdown",width:"half",options:{choices:Nc(pC)}}},{name:t("interface_label"),field:"meta.interface",type:"string",meta:{interface:"system-interface",width:"half",options:{typeField:"type"}}},{name:t("note"),field:"meta.note",type:"string",meta:{interface:"system-input-translated-string",width:"full",options:{placeholder:t("interfaces.list.field_note_placeholder")}}},{name:t("field_width"),field:"meta.width",type:"string",meta:{interface:"select-dropdown",width:"half",options:{choices:[{value:"half",text:t("half_width")},{value:"full",text:t("full_width")}]}}},{name:t("required"),field:"meta.required",type:"boolean",meta:{interface:"boolean",options:{label:t("requires_value")},width:"half"}},{name:t("options"),field:"meta.options",type:"string",meta:{interface:"system-interface-options",width:"full",options:{interfaceField:"meta.interface"}}}]);return(s,l)=>{const d=q("interface-list");return V(),me(d,{value:r.value,template:"{{ name }} - {{ meta.interface }}",fields:a.value,onInput:l[0]||(l[0]=f=>r.value=f)},null,8,["value","fields"])}}}),c0e=ha({id:"system-inline-fields",name:"Inline Fields",description:"Inline Fields",icon:"box",component:l0e,system:!0,types:["json"],group:"standard",options:[]});function E8(n="en-US"){var o,r;const e=Sr(),t=Ul();let i=n;return(r=(o=t.info)==null?void 0:o.project)!=null&&r.default_language&&(i=t.info.project.default_language),e.currentUser&&"language"in e.currentUser&&e.currentUser.language&&(i=e.currentUser.language),i}function A8(n){return WD()?(PU(n),!0):!1}function n2(n){return typeof n=="function"?n():h(n)}const u0e=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const d0e=n=>n!=null,f0e=Object.prototype.toString,p0e=n=>f0e.call(n)==="[object Object]",kg=()=>{};function h0e(n,e){function t(...i){return new Promise((o,r)=>{Promise.resolve(n(()=>e.apply(this,i),{fn:e,thisArg:this,args:i})).then(o).catch(r)})}return t}const gO=n=>n();function m0e(n,e={}){let t,i,o=kg;const r=s=>{clearTimeout(s),o(),o=kg};return s=>{const l=n2(n),d=n2(e.maxWait);return t&&r(t),l<=0||d!==void 0&&d<=0?(i&&(r(i),i=null),Promise.resolve(s())):new Promise((f,g)=>{o=e.rejectOnCancel?g:f,d&&!i&&(i=setTimeout(()=>{t&&r(t),i=null,f(s())},d)),t=setTimeout(()=>{i&&r(i),i=null,f(s())},l)})}}function v0e(n=gO){const e=Pe(!0);function t(){e.value=!1}function i(){e.value=!0}const o=(...r)=>{e.value&&n(...r)};return{isActive:OU(e),pause:t,resume:i,eventFilter:o}}function g0e(n){return qD()}function yO(n,e,t={}){const{eventFilter:i=gO,...o}=t;return ii(n,h0e(i,e),o)}function y0e(n,e,t={}){const{eventFilter:i,...o}=t,{eventFilter:r,pause:a,resume:s,isActive:l}=v0e(i);return{stop:yO(n,e,{...o,eventFilter:r}),pause:a,resume:s,isActive:l}}function _0e(n,e=!0,t){g0e()?zr(n,t):e?n():vv(n)}function b0e(n,e,t={}){const{debounce:i=0,maxWait:o=void 0,...r}=t;return yO(n,e,{...r,eventFilter:m0e(i,{maxWait:o})})}function x0e(n,e,t){let i;zn(t)?i={evaluating:t}:i=t||{};const{lazy:o=!1,evaluating:r=void 0,shallow:a=!0,onError:s=kg}=i,l=Pe(!o),d=a?Wh(e):Pe(e);let f=0;return Lg(async g=>{if(!l.value)return;f++;const v=f;let b=!1;r&&Promise.resolve().then(()=>{r.value=!0});try{const x=await n(k=>{g(()=>{r&&(r.value=!1),b||k()})});v===f&&(d.value=x)}catch(x){s(x)}finally{r&&v===f&&(r.value=!1),b=!0}}),o?we(()=>(l.value=!0,d.value)):d}function W6(n){var e;const t=n2(n);return(e=t==null?void 0:t.$el)!=null?e:t}const Dg=u0e?window:void 0;function Jm(...n){let e,t,i,o;if(typeof n[0]=="string"||Array.isArray(n[0])?([t,i,o]=n,e=Dg):[e,t,i,o]=n,!e)return kg;Array.isArray(t)||(t=[t]),Array.isArray(i)||(i=[i]);const r=[],a=()=>{r.forEach(f=>f()),r.length=0},s=(f,g,v,b)=>(f.addEventListener(g,v,b),()=>f.removeEventListener(g,v,b)),l=ii(()=>[W6(e),n2(o)],([f,g])=>{if(a(),!f)return;const v=p0e(g)?{...g}:g;r.push(...t.flatMap(b=>i.map(x=>s(f,b,x,v))))},{immediate:!0,flush:"post"}),d=()=>{l(),a()};return A8(d),d}function w0e(){const n=Pe(!1),e=qD();return e&&zr(()=>{n.value=!0},e),n}function _O(n){const e=w0e();return we(()=>(e.value,!!n()))}function k0e(n,e={}){const{window:t=Dg}=e,i=_O(()=>t&&"matchMedia"in t&&typeof t.matchMedia=="function");let o;const r=Pe(!1),a=d=>{r.value=d.matches},s=()=>{o&&("removeEventListener"in o?o.removeEventListener("change",a):o.removeListener(a))},l=Lg(()=>{i.value&&(s(),o=t.matchMedia(n2(n)),"addEventListener"in o?o.addEventListener("change",a):o.addListener(a),r.value=o.matches)});return A8(()=>{l(),s(),o=void 0}),r}const V5=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},H5="__vueuse_ssr_handlers__",C0e=S0e();function S0e(){return H5 in V5||(V5[H5]=V5[H5]||{}),V5[H5]}function E0e(n,e){return C0e[n]||e}function A0e(n){return n==null?"any":n instanceof Set?"set":n instanceof Map?"map":n instanceof Date?"date":typeof n=="boolean"?"boolean":typeof n=="string"?"string":typeof n=="object"?"object":Number.isNaN(n)?"any":"number"}const T0e={boolean:{read:n=>n==="true",write:n=>String(n)},object:{read:n=>JSON.parse(n),write:n=>JSON.stringify(n)},number:{read:n=>Number.parseFloat(n),write:n=>String(n)},any:{read:n=>n,write:n=>String(n)},string:{read:n=>n,write:n=>String(n)},map:{read:n=>new Map(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n.entries()))},set:{read:n=>new Set(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n))},date:{read:n=>new Date(n),write:n=>n.toISOString()}},VA="vueuse-storage";function L0e(n,e,t,i={}){var o;const{flush:r="pre",deep:a=!0,listenToStorageChanges:s=!0,writeDefaults:l=!0,mergeDefaults:d=!1,shallow:f,window:g=Dg,eventFilter:v,onError:b=ue=>{console.error(ue)},initOnMounted:x}=i,k=(f?Wh:Pe)(typeof e=="function"?e():e);if(!t)try{t=E0e("getDefaultStorage",()=>{var ue;return(ue=Dg)==null?void 0:ue.localStorage})()}catch(ue){b(ue)}if(!t)return k;const S=n2(e),O=A0e(S),w=(o=i.serializer)!=null?o:T0e[O],{pause:D,resume:I}=y0e(k,()=>B(k.value),{flush:r,deep:a,eventFilter:v});g&&s&&_0e(()=>{Jm(g,"storage",Y),Jm(g,VA,Q),x&&Y()}),x||Y();function $(ue,ce){g&&g.dispatchEvent(new CustomEvent(VA,{detail:{key:n,oldValue:ue,newValue:ce,storageArea:t}}))}function B(ue){try{const ce=t.getItem(n);if(ue==null)$(ce,null),t.removeItem(n);else{const ve=w.write(ue);ce!==ve&&(t.setItem(n,ve),$(ce,ve))}}catch(ce){b(ce)}}function X(ue){const ce=ue?ue.newValue:t.getItem(n);if(ce==null)return l&&S!=null&&t.setItem(n,w.write(S)),S;if(!ue&&d){const ve=w.read(ce);return typeof d=="function"?d(ve,S):O==="object"&&!Array.isArray(ve)?{...S,...ve}:ve}else return typeof ce!="string"?ce:w.read(ce)}function Y(ue){if(!(ue&&ue.storageArea!==t)){if(ue&&ue.key==null){k.value=S;return}if(!(ue&&ue.key!==n)){D();try{(ue==null?void 0:ue.newValue)!==w.write(k.value)&&(k.value=X(ue))}catch(ce){b(ce)}finally{ue?vv(I):I()}}}}function Q(ue){Y(ue.detail)}return k}function I0e(n,e,t={}){const{root:i,rootMargin:o="0px",threshold:r=.1,window:a=Dg,immediate:s=!0}=t,l=_O(()=>a&&"IntersectionObserver"in a),d=we(()=>{const x=n2(n);return(Array.isArray(x)?x:[x]).map(W6).filter(d0e)});let f=kg;const g=Pe(s),v=l.value?ii(()=>[d.value,W6(i),g.value],([x,k])=>{if(f(),!g.value||!x.length)return;const S=new IntersectionObserver(e,{root:W6(k),rootMargin:o,threshold:r});x.forEach(O=>O&&S.observe(O)),f=()=>{S.disconnect(),f=kg}},{immediate:s,flush:"post"}):kg,b=()=>{f(),v(),g.value=!1};return A8(b),{isSupported:l,isActive:g,pause(){f(),g.value=!1},resume(){g.value=!0},stop:b}}function M0e(n,e={}){const{window:t=Dg,scrollTarget:i,threshold:o=0}=e,r=Pe(!1);return I0e(n,a=>{let s=r.value,l=0;for(const d of a)d.time>=l&&(l=d.time,s=d.isIntersecting);r.value=s},{root:i,window:t,threshold:o}),r}const Oy=new Map;function D0e(n){const e=WD();function t(s){var l;const d=Oy.get(n)||new Set;d.add(s),Oy.set(n,d);const f=()=>o(s);return(l=e==null?void 0:e.cleanups)==null||l.push(f),f}function i(s){function l(...d){o(l),s(...d)}return t(l)}function o(s){const l=Oy.get(n);l&&(l.delete(s),l.size||r())}function r(){Oy.delete(n)}function a(s,l){var d;(d=Oy.get(n))==null||d.forEach(f=>f(s,l))}return{on:t,once:i,off:o,emit:a,reset:r}}function HA(n,e,t={}){const{window:i=Dg}=t;return L0e(n,e,i==null?void 0:i.localStorage,t)}function P0e(n,e){Jm(document,"beforeunload",t=>{n.value&&t.preventDefault()}),cC(e),y8(e)}function qp(n,e){const t=Pe(!1),i=Pe(null);return P0e(n,s=>{const{path:l,query:d}=Sh();if(n.value&&(!o(l,s.path)&&!r(s.path)||a(d,s.query)))return t.value=!0,i.value=s.fullPath,!1}),{confirmLeave:t,leaveTo:i};function o(s,l){return s===l||l.startsWith(s)&&l.substring(s.length).includes("/")}function r(s){const l=h(e==null?void 0:e.ignorePrefix);return l?s.startsWith(l):!1}function a(s,l){const d=h(e==null?void 0:e.compareQuery);if(!d)return!1;for(const f of d)if(!st.isEqual(s[f],l[f]))return!0;return!1}}function Pg(n){const{currentUser:e}=Sr();if(!e)return n??{};if(!("id"in e))return n??{};const t={role:e.role.id,user:e.id};return mU(n,t,{$CURRENT_ROLE:e.role,$CURRENT_USER:e})??{}}function O0e(n){var i;const{currentUser:e}=Sr();if(!e)return n??{};if(!("id"in e))return n??{};const t={role:((i=e.role)==null?void 0:i.id)??null,user:e.id};return vU(n,t,{$CURRENT_ROLE:e.role,$CURRENT_USER:e})??{}}const Gp=lf({id:"permissionsStore",state:()=>({permissions:[]}),actions:{async hydrate(){const n=Sr(),e=await Zn.get("/permissions",{params:{filter:{role:{_eq:n.currentUser.role.id}}}}),t=i(e.data.data);t.length>0&&await n.hydrateAdditionalFields(t),this.permissions=e.data.data.map(o=>(o.permissions&&(o.permissions=Pg(o.permissions)),o.validation&&(o.validation=Pg(o.validation)),o.presets&&(o.presets=O0e(o.presets)),o));function i(o){const r=new Set,a=s=>{typeof s=="string"&&(s.startsWith("$CURRENT_USER.")?r.add(s.replace("$CURRENT_USER.","")):s.startsWith("$CURRENT_ROLE.")&&r.add(s.replace("$CURRENT_ROLE.","role.")))};return o.forEach(s=>{h3(s.presets,a),h3(s.permissions,a)}),Array.from(r)}},dehydrate(){this.$reset()},getPermission(n,e){return this.permissions.find(i=>i.action===e&&i.collection===n)||null},hasPermission(n,e){return Sr().isAdmin?!0:this.permissions.some(i=>i.action===e&&i.collection===n)}}}),bO=(n,e)=>n.fields?n.fields.includes("*")||n.fields.includes(e):!1,xO=(n,e)=>{const{info:t}=Il(Pe(n)),i=Sr(),{getPermission:o}=Gp();return we(()=>{var l,d;const r=h(n);if(!r)return!1;const a=(d=(l=t.value)==null?void 0:l.meta)==null?void 0:d.archive_field;if(!a)return!1;if(i.isAdmin)return!0;const s=o(r,"update");return!s||!bO(s,a)?!1:e.value})},U5=(n,e)=>{const{hasPermission:t}=Gp();return we(()=>{const i=h(n);return i?t(i,e):!1})},R0e=()=>{const{hasPermission:n}=Gp();return we(()=>n("directus_revisions","read"))},F0e=n=>{const{info:e}=Il(Pe(n)),t=Sr(),{getPermission:i}=Gp();return we(()=>{var s,l;const o=h(n);if(!o)return!1;const r=(l=(s=e.value)==null?void 0:s.meta)==null?void 0:l.sort_field;if(!r)return!1;if(t.isAdmin)return!0;const a=i(o,"update");return a?bO(a,r):!1})};function cu(n){const e=U5(n,"read"),t=U5(n,"create"),i=U5(n,"update"),o=U5(n,"delete"),r=F0e(n),a=xO(n,i),s=R0e();return{readAllowed:e,createAllowed:t,updateAllowed:i,deleteAllowed:o,sortAllowed:r,archiveAllowed:a,revisionsAllowed:s}}function z0e(n,e,t){const i=Sr(),{getPermission:o}=Gp(),{fields:r,info:a}=Il(Pe(n));return we(()=>{var v,b,x,k,S;const s=h(n);if(!s)return[];if(i.isAdmin)return r.value;let l=st.cloneDeep(r.value);const d=(v=o(s,"read"))==null?void 0:v.fields;d&&!d.includes("*")&&(l=l.filter(O=>d.includes(O.field)));const f=(x=(b=a.value)==null?void 0:b.meta)!=null&&x.singleton?t.value.update:o(s,h(e)?"create":"update");if(!((k=f==null?void 0:f.fields)!=null&&k.includes("*")))for(const O of l)(S=f==null?void 0:f.fields)!=null&&S.includes(O.field)||(O.meta={...O.meta||{},readonly:!0});const g=f==null?void 0:f.presets;if(g)for(const O of l)O.field in g&&(O.schema={...O.schema||{},default_value:g[O.field]});return l})}const $0e=n=>n.permissions===null||Object.keys(n.permissions).length===0,E9=(n,e,t,i)=>{const o=Sr(),{getPermission:r}=Gp(),a=we(()=>{const s=h(n);if(!s||h(e))return!1;if(o.isAdmin)return!0;const l=r(s,i);return l?$0e(l)?!0:null:!1});return we(()=>a.value!==null?a.value:t.value[i].access)},N0e={update:{access:!1},delete:{access:!1},share:{access:!1}},B0e=(n,e)=>{const t=Pe(!1),i=Pe(0),o=x0e(async()=>{i.value;const a=h(e);try{return(await Zn.get(`/permissions/me/${h(n)}${a!==null?`/${a}`:""}`)).data.data}catch(s){return Xi(s),{update:{access:!0},delete:{access:!0},share:{access:!0}}}},N0e,{lazy:!0,evaluating:t});return{loading:t,refresh:()=>i.value++,fetchedItemPermissions:o}};function w3(n,e,t){const{loading:i,fetchedItemPermissions:o,refresh:r}=B0e(n,e),a=E9(n,t,o,"update"),s=E9(n,t,o,"delete"),l=E9(n,t,o,"share"),d=xO(n,a),f=z0e(n,t,o);return{loading:i,refresh:r,updateAllowed:a,deleteAllowed:s,shareAllowed:l,archiveAllowed:d,fields:f}}const j0e=(n,e,t)=>we(()=>h(n)?e.value:t.value);function lw(n,e,t){const i=cu(n),o=w3(n,e,t),r=j0e(t,i.createAllowed,o.updateAllowed);return{collectionPermissions:i,itemPermissions:{...o,saveAllowed:r}}}function Ab(n,e,t){const i=Pe(),o=Pe(!1),r=Pe(null),a=we(()=>{var f,g,v;const d=(t==null?void 0:t.value)||((g=(f=n.value)==null?void 0:f.meta)==null?void 0:g.display_template);return!d||!n.value?null:Nd(jc(d),(v=n.value)==null?void 0:v.collection)}),s=we(()=>{var d,f;return!!((f=(d=n.value)==null?void 0:d.meta)!=null&&f.singleton)});return ii([n,e],l,{immediate:!0}),{templateData:i,loading:o,error:r,fetchTemplateValues:l};async function l(){if(!e.value&&!s.value||e.value==="+"||a.value===null||!n.value)return;o.value=!0;const d=nl(n.value.collection);let f;s.value?f=d:f=oc(n.value.collection)?`${d}/${e.value}`:`${d}/${encodeURIComponent(e.value)}`;try{const g=await Zn.get(f,{params:{fields:a.value}});i.value=g.data.data}catch(g){r.value=g}finally{o.value=!1}}}function DC(n){return we(()=>h(n).reduce(function(e,t){var i;return((i=t.schema)==null?void 0:i.default_value)!==void 0&&!(t.schema.is_primary_key&&t.schema.data_type==="integer"&&typeof t.schema.default_value=="string")&&(e[t.field]=t.schema.default_value),e},{}))}var V0e=(n,e,t=500)=>class extends Error{constructor(o,r){const a=typeof e=="string"?e:e(o);super(a,r);Ri(this,"name","DirectusError");Ri(this,"extensions");Ri(this,"code",n.toUpperCase());Ri(this,"status",t);this.extensions=o}toString(){return`${this.name} [${this.code}]: ${this.message}`}},q6=(n=>(n.ContainsNullValues="CONTAINS_NULL_VALUES",n.ContentTooLarge="CONTENT_TOO_LARGE",n.Forbidden="FORBIDDEN",n.IllegalAssetTransformation="ILLEGAL_ASSET_TRANSFORMATION",n.InvalidCredentials="INVALID_CREDENTIALS",n.InvalidForeignKey="INVALID_FOREIGN_KEY",n.InvalidIp="INVALID_IP",n.InvalidOtp="INVALID_OTP",n.InvalidPayload="INVALID_PAYLOAD",n.InvalidProvider="INVALID_PROVIDER",n.InvalidProviderConfig="INVALID_PROVIDER_CONFIG",n.InvalidQuery="INVALID_QUERY",n.InvalidToken="INVALID_TOKEN",n.LimitExceeded="LIMIT_EXCEEDED",n.MethodNotAllowed="METHOD_NOT_ALLOWED",n.NotNullViolation="NOT_NULL_VIOLATION",n.OutOfDate="OUT_OF_DATE",n.RangeNotSatisfiable="RANGE_NOT_SATISFIABLE",n.RecordNotUnique="RECORD_NOT_UNIQUE",n.RequestsExceeded="REQUESTS_EXCEEDED",n.RouteNotFound="ROUTE_NOT_FOUND",n.ServiceUnavailable="SERVICE_UNAVAILABLE",n.TokenExpired="TOKEN_EXPIRED",n.UnexpectedResponse="UNEXPECTED_RESPONSE",n.UnprocessableContent="UNPROCESSABLE_CONTENT",n.UnsupportedMediaType="UNSUPPORTED_MEDIA_TYPE",n.UserSuspended="USER_SUSPENDED",n.ValueOutOfRange="VALUE_OUT_OF_RANGE",n.ValueTooLong="VALUE_TOO_LONG",n))(q6||{}),H0e=n=>{let e=`Validation failed for field "${n.field}".`;if("valid"in n)switch(n.type){case"eq":e+=` Value has to be "${n.valid}".`;break;case"lt":e+=` Value has to be less than "${n.valid}".`;break;case"lte":e+=` Value has to be less than or equal to "${n.valid}".`;break;case"gt":e+=` Value has to be greater than "${n.valid}".`;break;case"gte":e+=` Value has to be greater than or equal to "${n.valid}".`;break;case"in":e+=` Value has to be one of ${qu(n.valid).map(t=>`"${t}"`).join(", ")}.`;break}if("invalid"in n)switch(n.type){case"neq":e+=` Value can't be "${n.invalid}".`;break;case"nin":e+=` Value can't be one of ${qu(n.invalid).map(t=>`"${t}"`).join(", ")}.`;break}if("substring"in n)switch(n.type){case"contains":case"icontains":e+=` Value has to contain "${n.substring}".`;break;case"ncontains":e+=` Value can't contain "${n.substring}".`;break}switch(n.type){case"null":e+=" Value has to be null.";break;case"nnull":e+=" Value can't be null.";break;case"empty":e+=" Value has to be empty.";break;case"nempty":e+=" Value can't be empty.";break;case"required":e+=" Value is required.";break;case"regex":e+=" Value doesn't have the correct format.";break;case"email":e+=" Value has to be a valid email address.";break}return e},U0e=V0e("FAILED_VALIDATION",H0e,400),W0e=n=>{var i,o,r,a,s,l,d,f,g,v,b,x,k,S,O,w;const e={field:n.path[0]},t=n.type;if(t.endsWith("only"))if(((i=n.context)==null?void 0:i.valids.length)>1)e.type="in",e.valid=(o=n.context)==null?void 0:o.valids;else{const D=(r=n.context)==null?void 0:r.valids[0];D===null?e.type="null":D===""?e.type="empty":(e.type="eq",e.valid=D)}if(t.endsWith("invalid"))if(((a=n.context)==null?void 0:a.invalids.length)>1)e.type="nin",e.invalid=(s=n.context)==null?void 0:s.invalids;else{const D=(l=n.context)==null?void 0:l.invalids[0];D===null?e.type="nnull":D===""?e.type="nempty":(e.type="neq",e.invalid=D)}if(t.endsWith("greater")&&(e.type="gt",e.valid=(d=n.context)==null?void 0:d.limit),t.endsWith("min")&&(e.type="gte",e.valid=(f=n.context)==null?void 0:f.limit),t.endsWith("less")&&(e.type="lt",e.valid=(g=n.context)==null?void 0:g.limit),t.endsWith("max")&&(e.type="lte",e.valid=(v=n.context)==null?void 0:v.limit),t.endsWith("contains")&&(e.type="contains",e.substring=(b=n.context)==null?void 0:b.substring),t.endsWith("ncontains")&&(e.type="ncontains",e.substring=(x=n.context)==null?void 0:x.substring),(t.endsWith("required")||t.endsWith(".base"))&&(e.type="required"),t.endsWith(".pattern.base")&&(e.type="regex",e.invalid=(k=n.context)==null?void 0:k.value),t.endsWith(".pattern.name")||t.endsWith(".pattern.invert.name")){e.type=(S=n.context)==null?void 0:S.name;const D=(w=(O=n.context)==null?void 0:O.regex)==null?void 0:w.toString();switch(e.type){case"starts_with":case"nstarts_with":case"istarts_with":case"nistarts_with":e.substring=D.substring(2,D.lastIndexOf("/")-2);break;case"ends_with":case"nends_with":case"iends_with":case"niends_with":e.substring=D.substring(3,D.lastIndexOf("/")-1);break}}if(!e.type)throw new Error("Couldn't extract validation error type from Joi validation error item");return e};function wO(n,e){var t;if(e.meta&&Array.isArray((t=e.meta)==null?void 0:t.conditions)){const o=[...e.meta.conditions].reverse().find(r=>{if(!r.rule||Object.keys(r.rule).length!==1)return;const a=Pg(r.rule);return FD(a,n,{requireAll:!0}).length===0});return o?{...e,meta:st.merge({},e.meta||{},{readonly:o.readonly,options:o.options,hidden:o.hidden,required:o.required})}:e}else return e}function cw(n,e,t){var l;const i=Ts(),o={_and:[]},a=e.map(d=>wO(n,d)).filter(d=>{var f;return((f=d.meta)==null?void 0:f.required)===!0}),s=st.cloneDeep(n);for(const d of a)t&&st.isNil((l=d.schema)==null?void 0:l.default_value)&&o._and.push({[d.field]:{_submitted:!0}}),i.getRelationsForField(d.collection,d.field).length>0&&Array.isArray(s[d.field])&&st.isEmpty(s[d.field])&&(s[d.field]=null),o._and.push({[d.field]:{_nnull:!0}});return st.flatten(FD(o,s).map(d=>d.details.map(f=>new U0e(W0e(f)).extensions))).map(d=>{var g,v;const f=e.find(b=>b.field===d.field);return{...d,hidden:(g=f==null?void 0:f.meta)==null?void 0:g.hidden,group:(v=f==null?void 0:f.meta)==null?void 0:v.group}})}const q0e={key:0,class:"image"},G0e={key:1,class:"video"},Y0e=["src"],X0e=["src"],K0e={key:3,class:"fallback"},Z0e=Lt({__name:"file-preview",props:{file:{},preset:{default:"system-large-contain"},inModal:{type:Boolean}},emits:["click"],setup(n){mm(l=>({"4eb0c3ac":a.value}));const e=n,t=RU(e,"file"),i=we(()=>Ys(`${t.value.id}?cache-buster=${t.value.modified_on}${e.preset?`&key=${e.preset}`:""}`)),o=we(()=>{const l=t.value.type;return l===null?"unknown":l.startsWith("image")?"image":l.startsWith("video")?"video":l.startsWith("audio")?"audio":cm(l,!0)??"unknown"}),r=we(()=>{var l;return(l=t.value.type)==null?void 0:l.includes("svg")}),a=we(()=>e.inModal?"85vh":Math.min(t.value.height??528,528)+"px"),s=we(()=>t.value.height&&t.value.height<528);return(l,d)=>{const f=q("v-image"),g=q("v-icon-file");return V(),De("div",{class:An(["file-preview",{modal:l.inModal,small:s.value,svg:r.value}]),onClick:d[0]||(d[0]=v=>l.$emit("click"))},[o.value==="image"?(V(),De("div",q0e,[A(f,{src:i.value,width:t.value.width,height:t.value.height,alt:t.value.title},null,8,["src","width","height","alt"])])):o.value==="video"?(V(),De("div",G0e,[xe("video",{controls:"",src:i.value},null,8,Y0e)])):o.value==="audio"?(V(),De("audio",{key:2,controls:"",src:i.value},null,8,X0e)):(V(),De("div",K0e,[A(g,{ext:o.value},null,8,["ext"])]))],2)}}}),kO=qt(Z0e,[["__scopeId","data-v-dad12311"]]),J0e={class:"file-preview-replace"},Q0e=Lt({__name:"file-preview-replace",props:{file:{},preset:{},inModal:{type:Boolean}},emits:["click","replace"],setup(n,{emit:e}){const t=e,{t:i}=vn(),o=Pe(!1);function r(){o.value=!1,t("replace")}return(a,s)=>{const l=q("v-card-title"),d=q("v-upload"),f=q("v-card-text"),g=q("v-button"),v=q("v-card-actions"),b=q("v-card"),x=q("v-dialog");return V(),De("div",J0e,[A(kO,{file:a.file},null,8,["file"]),xe("button",{class:"replace-toggle",onClick:s[0]||(s[0]=k=>o.value=!0)},de(h(i)("replace_file")),1),A(x,{"model-value":o.value,onEsc:s[2]||(s[2]=k=>o.value=!1)},{default:P(()=>[A(b,null,{default:P(()=>[A(l,null,{default:P(()=>[Fe(de(h(i)("replace_file")),1)]),_:1}),A(f,null,{default:P(()=>[A(d,{"file-id":a.file.id,"from-url":"",onInput:r},null,8,["file-id"])]),_:1}),A(v,null,{default:P(()=>[A(g,{secondary:"",onClick:s[1]||(s[1]=k=>o.value=!1)},{default:P(()=>[Fe(de(h(i)("done")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["model-value"])])}}}),CO=qt(Q0e,[["__scopeId","data-v-6e545fc5"]]),e3e={key:1,class:"type-title"},t3e={class:"drawer-item-content"},n3e=Lt({__name:"drawer-item",props:{collection:{},active:{type:Boolean},primaryKey:{default:null},edits:{},junctionField:{default:null},disabled:{type:Boolean},relatedPrimaryKey:{default:"+"},circularField:{default:null},junctionFieldLocation:{default:"bottom"}},emits:["update:active","input"],setup(n,{emit:e}){const t=n,i=e,{t:o,te:r}=vn(),a=Pe([]),s=xo(),l=Ts(),{internalActive:d}=Nt(),{junctionFieldInfo:f,relatedCollection:g,relatedCollectionInfo:v,setRelationEdits:b,relatedPrimaryKeyField:x}=Ct(),{internalEdits:k,loading:S,initialValues:O,refresh:w}=kt(),{save:D,cancel:I}=Bt(),{collection:$,primaryKey:B,relatedPrimaryKey:X}=Po(t),{info:Y,primaryKeyField:Q}=Il($),ue=we(()=>t.primaryKey==="+"&&t.relatedPrimaryKey==="+"),ce=we(()=>t.junctionFieldLocation==="top"),ve=we(()=>!st.isEmpty(k.value)),{confirmLeave:ie,leaveTo:se}=qp(ve),te=Dr();function ye(){se.value&&(k.value={},ie.value=!1,te.push(se.value))}const Ee=we(()=>{const ut=(v==null?void 0:v.value)||Y.value;return r(`collection_names_singular.${ut.collection}`)?ue.value?o("creating_unit",{unit:o(`collection_names_singular.${ut.collection}`)}):o("editing_unit",{unit:o(`collection_names_singular.${ut.collection}`)}):ue.value?o("creating_in",{collection:ut.name}):o("editing_in",{collection:ut.name})}),{fields:Ce}=w3($,B,we(()=>t.primaryKey==="+")),{fields:je}=w3(g,X,we(()=>t.primaryKey==="+")),tt=we(()=>t.circularField?Ce.value.map(ut=>(ut.field===t.circularField&&st.set(ut,"meta.readonly",!0),ut)):Ce.value),nt=we(()=>t.circularField?tt.value.filter(ut=>ut.field!==t.circularField):tt.value),Se=we(()=>je.value.some(ut=>{var sn;return!((sn=ut.meta)!=null&&sn.hidden)})),Te=we(()=>tt.value.some(ut=>{var sn;return!((sn=ut.meta)!=null&&sn.hidden)})),lt=we(()=>!Se.value&&!Te.value),Ot=we(()=>f.value?String(t.relatedPrimaryKey):String(t.primaryKey)),St=we(()=>v.value||Y.value),{templateData:Et,loading:It}=Ab(St,Ot),_t=we(()=>{var ut,sn,dn,Gt;return((sn=(ut=v.value)==null?void 0:ut.meta)==null?void 0:sn.display_template)||((Gt=(dn=Y.value)==null?void 0:dn.meta)==null?void 0:Gt.display_template)||null}),{file:Qt}=zt();function zt(){const ut=we(()=>t.collection==="directus_files"||g.value==="directus_files");return{file:we(()=>{var Gt;return ut.value===!1||!O.value?null:(t.junctionField?(Gt=O.value)==null?void 0:Gt[t.junctionField]:O.value)||null}),isDirectusFiles:ut}}function Nt(){const ut=Pe(!1);return{internalActive:we({get(){return t.active??ut.value},set(dn){ut.value=dn,i("update:active",dn)}})}}function kt(){const ut=Pe({}),sn=Pe(!1),dn=Pe(null);return ii(()=>t.active,gn=>{gn?(t.primaryKey!=="+"&&yt(),t.relatedPrimaryKey!=="+"&&cn(),ut.value=t.edits??{}):(sn.value=!1,dn.value=null,ut.value={})},{immediate:!0}),{internalEdits:ut,loading:sn,initialValues:dn,refresh:Gt};async function Gt(){t.active&&(sn.value=!1,t.primaryKey!=="+"&&yt(),t.relatedPrimaryKey!=="+"&&cn())}async function yt(){if(!t.primaryKey)return;sn.value=!0;const gn=nl(t.collection),mn=oc(t.collection)?`${gn}/${t.primaryKey}`:`${gn}/${encodeURIComponent(t.primaryKey)}`;let Xt="*";t.junctionField&&(Xt=`*,${t.junctionField}.*`);try{const In=await Zn.get(mn,{params:{fields:Xt}});dn.value=In.data.data}catch(In){Xi(In)}finally{sn.value=!1}}async function cn(){const gn=g.value;if(!gn||!f.value)return;sn.value=!0;const mn=nl(gn),Xt=oc(gn)?`${mn}/${t.relatedPrimaryKey}`:`${mn}/${encodeURIComponent(t.relatedPrimaryKey)}`;try{const In=await Zn.get(Xt);dn.value={...dn.value||{},[f.value.field]:In.data.data}}catch(In){Xi(In)}finally{sn.value=!1}}}function Ct(){const ut=we(()=>t.junctionField?s.getField(t.collection,t.junctionField):null),sn=we(()=>{var mn,Xt,In;if(!t.junctionField)return null;const gn=l.getRelationsForField(t.collection,t.junctionField).find($n=>$n.collection===t.collection&&$n.field===t.junctionField);return gn?gn.related_collection?gn.related_collection:(mn=gn.meta)!=null&&mn.one_collection_field?((Xt=t.edits)==null?void 0:Xt[gn.meta.one_collection_field])||((In=O.value)==null?void 0:In[gn.meta.one_collection_field]):null:null}),{info:dn,primaryKeyField:Gt}=Il(sn);return{junctionFieldInfo:ut,relatedCollection:sn,relatedCollectionInfo:dn,setRelationEdits:yt,relatedPrimaryKeyField:Gt};function yt(cn){t.junctionField&&(k.value[t.junctionField]=cn)}}function Bt(){return{save:ut,cancel:sn};function ut(){var mn;const dn=t.junctionField?k.value[t.junctionField]:k.value,Gt=t.junctionField?je.value:nt.value,yt=DC(Gt),cn=t.junctionField?(mn=O==null?void 0:O.value)==null?void 0:mn[t.junctionField]:O==null?void 0:O.value,gn=cw(st.merge({},yt.value,cn,dn),Gt,ue.value);if(gn.length>0){a.value=gn;return}else a.value=[];t.junctionField&&Object.values(yt.value).some(Xt=>Xt!==null)&&(k.value[t.junctionField]=k.value[t.junctionField]??{}),t.junctionField&&t.relatedPrimaryKey!=="+"&&x.value&&st.set(k.value,[t.junctionField,x.value.field],t.relatedPrimaryKey),t.primaryKey&&t.primaryKey!=="+"&&Q.value&&(k.value[Q.value.field]=t.primaryKey),i("input",k.value),d.value=!1,k.value={}}function sn(){a.value=[],d.value=!1,k.value={}}}return(ut,sn)=>{var si,Rn;const dn=q("v-skeleton-loader"),Gt=q("render-template"),yt=q("v-breadcrumb"),cn=q("v-icon"),gn=q("v-button"),mn=q("v-info"),Xt=q("v-form"),In=q("v-drawer"),$n=q("v-card-title"),Hn=q("v-card-text"),Xn=q("v-card-actions"),Cn=q("v-card"),Pn=q("v-dialog"),Tn=ki("tooltip");return V(),De(_n,null,[A(In,{modelValue:h(d),"onUpdate:modelValue":sn[1]||(sn[1]=Pi=>zn(d)?d.value=Pi:null),title:Ee.value,icon:((Rn=(si=h(Y))==null?void 0:si.meta)==null?void 0:Rn.icon)??void 0,persistent:"",onCancel:h(I)},Mr({subtitle:P(()=>{var Pi;return[A(yt,{items:[{name:(Pi=h(Y))==null?void 0:Pi.name,disabled:!0}]},null,8,["items"])]}),actions:P(()=>[Ei(ut.$slots,"actions",{},void 0,!0),rn((V(),me(gn,{icon:"",rounded:"",onClick:h(D)},{default:P(()=>[A(cn,{name:"check"})]),_:1},8,["onClick"])),[[Tn,h(o)("save"),void 0,{bottom:!0}]])]),default:P(()=>{var Pi,Ai;return[xe("div",t3e,[h(Qt)?(V(),me(CO,{key:0,class:"preview",file:h(Qt),"in-modal":"",onReplace:h(w)},null,8,["file","onReplace"])):He("",!0),lt.value?(V(),me(mn,{key:1,title:h(o)("no_visible_fields"),icon:"search",center:""},{default:P(()=>[Fe(de(h(o)("no_visible_fields_copy")),1)]),_:1},8,["title"])):(V(),De("div",{key:2,class:An(["drawer-item-order",{swap:ce.value}])},[ut.junctionField?(V(),me(Xt,{key:0,disabled:ut.disabled,loading:h(S),"show-no-visible-fields":!1,"initial-values":(Pi=h(O))==null?void 0:Pi[ut.junctionField],"primary-key":h(X),"model-value":(Ai=h(k))==null?void 0:Ai[ut.junctionField],fields:h(je),"validation-errors":ut.junctionField?a.value:void 0,autofocus:!ce.value,"show-divider":!ce.value&&Te.value,"onUpdate:modelValue":h(b)},null,8,["disabled","loading","initial-values","primary-key","model-value","fields","validation-errors","autofocus","show-divider","onUpdate:modelValue"])):He("",!0),A(Xt,{modelValue:h(k),"onUpdate:modelValue":sn[0]||(sn[0]=vi=>zn(k)?k.value=vi:null),disabled:ut.disabled,loading:h(S),"show-no-visible-fields":!1,"initial-values":h(O),autofocus:ce.value,"show-divider":ce.value&&Se.value,"primary-key":h(B),fields:tt.value,"validation-errors":ut.junctionField?void 0:a.value},null,8,["modelValue","disabled","loading","initial-values","autofocus","show-divider","primary-key","fields","validation-errors"])],2))])]}),_:2},[_t.value!==null&&h(Et)&&h(B)!=="+"?{name:"title",fn:P(()=>{var Pi;return[h(S)||h(It)?(V(),me(dn,{key:0,class:"title-loader",type:"text"})):(V(),De("h1",e3e,[A(Gt,{collection:(Pi=St.value)==null?void 0:Pi.collection,item:h(Et),template:_t.value},null,8,["collection","item","template"])]))]}),key:"0"}:void 0]),1032,["modelValue","title","icon","onCancel"]),A(Pn,{modelValue:h(ie),"onUpdate:modelValue":sn[3]||(sn[3]=Pi=>zn(ie)?ie.value=Pi:null),onEsc:sn[4]||(sn[4]=Pi=>ie.value=!1)},{default:P(()=>[A(Cn,null,{default:P(()=>[A($n,null,{default:P(()=>[Fe(de(h(o)("unsaved_changes")),1)]),_:1}),A(Hn,null,{default:P(()=>[Fe(de(h(o)("unsaved_changes_copy")),1)]),_:1}),A(Xn,null,{default:P(()=>[A(gn,{secondary:"",onClick:ye},{default:P(()=>[Fe(de(h(o)("discard_changes")),1)]),_:1}),A(gn,{onClick:sn[2]||(sn[2]=Pi=>ie.value=!1)},{default:P(()=>[Fe(de(h(o)("keep_editing")),1)]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}}}),Yp=qt(n3e,[["__scopeId","data-v-76f64b32"]]),i3e={class:"custom-translations-display"},o3e={class:"header"},a3e={class:"lang"},r3e={class:"header"},s3e={class:"lang"},l3e={key:1,class:"translation-item-text"},c3e=Lt({__name:"custom-translations-tooltip",props:{translationKey:{}},setup(n){const e=n,t=Pe([]),i=Pe(!1),{t:o}=vn(),r=async()=>{i.value=!0;try{t.value=await Sf("/translations",{params:{fields:["language","key","value"],sort:["language"],filter:{key:{_eq:e.translationKey}}}})}catch{}finally{i.value=!1}},a=s=>{s(),!i.value&&t.value.length===0&&r()};return(s,l)=>{const d=q("v-icon"),f=q("v-list-item-content"),g=q("v-list-item"),v=q("ValueNull"),b=q("v-list"),x=q("v-menu"),k=ki("tooltip");return V(),De("div",i3e,[A(x,{class:"menu","show-arrow":""},{activator:P(({toggle:S,deactivate:O,active:w})=>[rn(A(d,{small:!1,class:An(["icon",{active:w}]),name:"info",tabindex:"-1",onClick:po(D=>a(S),["stop"]),onBlur:O},null,8,["class","onClick","onBlur"]),[[k,t.value&&t.value.length===0&&h(o)("translations"),void 0,{bottom:!0}]])]),default:P(()=>[A(b,{class:"translations"},{default:P(()=>[t.value.length===0?(V(),me(g,{key:0},{default:P(()=>[A(f,null,{default:P(()=>[xe("div",o3e,[xe("div",a3e,de(h(o)("loading")),1)])]),_:1})]),_:1})):(V(!0),De(_n,{key:1},Ii(t.value,S=>(V(),me(g,{key:S.language},{default:P(()=>[A(f,null,{default:P(()=>[xe("div",r3e,[xe("div",s3e,[A(d,{name:"translate",small:""}),Fe(" "+de(S.language),1)])]),S.value?(V(),De("div",l3e,de(S.value),1)):(V(),me(v,{key:0}))]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})])}}}),u3e=qt(c3e,[["__scopeId","data-v-b890b69c"]]),d3e={class:"input-translated-string"},f3e=["disabled"],p3e={key:0,class:"search"},Ry="$t:",h3e=Lt({__name:"input-translated-string",props:{value:{default:null},autofocus:{type:Boolean},disabled:{type:Boolean},placeholder:{default:null}},emits:["input"],setup(n,{emit:e}){const t=n,i=e,{t:o}=vn(),r=Pe(),a=Pe(!1),s=Pe(!1),l=Pe(null),d=Pe(!1),f=Pe([]),g=IC(),v=Pe(!1),b=async()=>{d.value=!0;try{const Y=await Sf("/translations",{params:{fields:["key"],groupBy:["key"]}});f.value=Y.map(Q=>Q.key)}catch(Y){Xi(Y)}finally{d.value=!1}};b();const x=we(()=>{const Y=h(f),Q=l.value?Y.filter(ue=>ue.includes(l.value)):Y;return Q.length>100?Q.slice(0,100):Q}),k=we({get(){return t.value},set(Y){t.value!==Y&&i("input",Y)}}),S=async Y=>{await g.create(Y),await b(),I(`${Ry}${Y.key}`)};ii(()=>t.value,Y=>I(Y),{immediate:!0});const O=we(()=>k.value?w(k.value):null);function w(Y){return Y.substring(Ry.length)}function D(Y){I(`${Ry}${Y}`),r.value.deactivate(),l.value=null}function I(Y){Y!=null&&Y.startsWith(Ry)&&(Y=Y.replace(/\s/g,"_")),k.value=Y,s.value||B()}function $(){s.value=!1,B()}function B(){var Y;a.value=((Y=k.value)==null?void 0:Y.startsWith(Ry))??!1}function X(){r.value.deactivate(),v.value=!0}return(Y,Q)=>{const ue=q("v-icon"),ce=q("v-input"),ve=q("v-list-item-icon"),ie=q("v-highlight"),se=q("v-list-item-content"),te=q("v-list-item"),ye=q("v-list"),Ee=q("v-menu");return V(),De("div",d3e,[A(Ee,{ref_key:"menuEl",ref:r,disabled:Y.disabled,"close-on-content-click":!1,attached:""},{activator:P(({toggle:Ce,active:je})=>[A(ce,{class:"translation-input","model-value":k.value,autofocus:Y.autofocus,placeholder:Y.placeholder,disabled:Y.disabled,active:je,"onUpdate:modelValue":Q[1]||(Q[1]=tt=>k.value=tt),onFocus:Q[2]||(Q[2]=tt=>s.value=!0),onBlur:$,onKeydown:$p(B,["enter"])},Mr({append:P(()=>[A(ue,{name:"translate",class:An(["translate-icon",{active:je}]),clickable:"",tabindex:-1,disabled:Y.disabled,onClick:Ce},null,8,["class","disabled","onClick"])]),_:2},[a.value?{name:"input",fn:P(()=>[xe("button",{disabled:Y.disabled,onClick:Q[0]||(Q[0]=po(tt=>I(null),["stop"]))},de(Y.value&&w(Y.value)),9,f3e)]),key:"0"}:void 0]),1032,["model-value","autofocus","placeholder","disabled","active"])]),default:P(()=>[l.value!==null||x.value.length>=25?(V(),De("div",p3e,[A(ce,{class:"search-input",type:"text","model-value":l.value,autofocus:"",placeholder:h(o)("interfaces.input-translated-string.search_placeholder"),"onUpdate:modelValue":Q[3]||(Q[3]=Ce=>l.value=Ce)},{append:P(()=>[A(ue,{name:"search",class:"search-icon"})]),_:1},8,["model-value","placeholder"])])):He("",!0),A(ye,{loading:d.value},{default:P(()=>[(V(!0),De(_n,null,Ii(x.value,Ce=>(V(),me(te,{key:Ce,class:An(["translation-key",{selected:k.value&&Ce===O.value}]),clickable:"",onClick:je=>D(Ce)},{default:P(()=>[A(ve,null,{default:P(()=>[A(ue,{name:"translate"})]),_:1}),A(se,null,{default:P(()=>[A(ie,{text:Ce,query:l.value},null,8,["text","query"])]),_:2},1024),A(ve,{class:"info"},{default:P(()=>[A(u3e,{"translation-key":Ce},null,8,["translation-key"])]),_:2},1024)]),_:2},1032,["class","onClick"]))),128)),A(te,{class:"new-custom-translation",clickable:"",onClick:X},{default:P(()=>[A(ve,null,{default:P(()=>[A(ue,{name:"add"})]),_:1}),A(se,null,{default:P(()=>[Fe(de(h(o)("interfaces.input-translated-string.new_custom_translation")),1)]),_:1})]),_:1})]),_:1},8,["loading"])]),_:1},8,["disabled"]),A(Yp,{active:v.value,"onUpdate:active":Q[4]||(Q[4]=Ce=>v.value=Ce),collection:"directus_translations","primary-key":"+",edits:{language:h(E8)()},onInput:S},null,8,["active","edits"])])}}}),m3e=qt(h3e,[["__scopeId","data-v-e1595b82"]]),v3e=`<svg width="156" height="96" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
64
64
|
<rect x="18" y="17.037" width="120" height="62" rx="6" fill="var(--theme--background)" />
|
|
65
65
|
<rect x="19" y="18.037" width="118" height="60" rx="5" stroke="var(--theme--primary)" stroke-opacity=".25"
|
|
66
66
|
stroke-width="2" />
|
|
@@ -315,7 +315,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
315
315
|
* @copyright CodeX 2018
|
|
316
316
|
* @license The MIT License (MIT)
|
|
317
317
|
* @version 2.0.0
|
|
318
|
-
*/let Y8e=class{static get isReadOnlySupported(){return!0}static get contentless(){return!0}constructor({data:e,config:t,api:i}){this.api=i,this._CSS={block:this.api.styles.block,wrapper:"ce-delimiter"},this._data={},this._element=this.drawView(),this.data=e}drawView(){let e=document.createElement("DIV");return e.classList.add(this._CSS.wrapper,this._CSS.block),e}render(){return this._element}save(e){return{}}static get toolbox(){return{icon:G8e,title:"Delimiter"}}};(function(){try{if(typeof document<"u"){var n=document.createElement("style");n.appendChild(document.createTextNode('.embed-tool--loading .embed-tool__caption{display:none}.embed-tool--loading .embed-tool__preloader{display:block}.embed-tool--loading .embed-tool__content{display:none}.embed-tool__preloader{display:none;position:relative;height:200px;box-sizing:border-box;border-radius:5px;border:1px solid #e6e9eb}.embed-tool__preloader:before{content:"";position:absolute;z-index:3;left:50%;top:50%;width:30px;height:30px;margin-top:-25px;margin-left:-15px;border-radius:50%;border:2px solid #cdd1e0;border-top-color:#388ae5;box-sizing:border-box;animation:embed-preloader-spin 2s infinite linear}.embed-tool__url{position:absolute;bottom:20px;left:50%;transform:translate(-50%);max-width:250px;color:#7b7e89;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.embed-tool__content{width:100%}.embed-tool__caption{margin-top:7px}.embed-tool__caption[contentEditable=true][data-placeholder]:before{position:absolute;content:attr(data-placeholder);color:#707684;font-weight:400;opacity:0}.embed-tool__caption[contentEditable=true][data-placeholder]:empty:before{opacity:1}.embed-tool__caption[contentEditable=true][data-placeholder]:empty:focus:before{opacity:0}@keyframes embed-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}')),document.head.appendChild(n)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();const X8e={vimeo:{regex:/(?:http[s]?:\/\/)?(?:www.)?(?:player.)?vimeo\.co(?:.+\/([^\/]\d+)(?:#t=[\d]+)?s?$)/,embedUrl:"https://player.vimeo.com/video/<%= remote_id %>?title=0&byline=0",html:'<iframe style="width:100%;" height="320" frameborder="0"></iframe>',height:320,width:580},youtube:{regex:/(?:https?:\/\/)?(?:www\.)?(?:(?:youtu\.be\/)|(?:youtube\.com)\/(?:v\/|u\/\w\/|embed\/|watch))(?:(?:\?v=)?([^#&?=]*))?((?:[?&]\w*=\w*)*)/,embedUrl:"https://www.youtube.com/embed/<%= remote_id %>",html:'<iframe style="width:100%;" height="320" frameborder="0" allowfullscreen></iframe>',height:320,width:580,id:([n,e])=>{if(!e&&n)return n;const t={start:"start",end:"end",t:"start",time_continue:"start",list:"list"};return e=e.slice(1).split("&").map(i=>{const[o,r]=i.split("=");return!n&&o==="v"?(n=r,null):!t[o]||r==="LL"||r.startsWith("RDMM")||r.startsWith("FL")?null:`${t[o]}=${r}`}).filter(i=>!!i),n+"?"+e.join("&")}},coub:{regex:/https?:\/\/coub\.com\/view\/([^\/\?\&]+)/,embedUrl:"https://coub.com/embed/<%= remote_id %>",html:'<iframe style="width:100%;" height="320" frameborder="0" allowfullscreen></iframe>',height:320,width:580},vine:{regex:/https?:\/\/vine\.co\/v\/([^\/\?\&]+)/,embedUrl:"https://vine.co/v/<%= remote_id %>/embed/simple/",html:'<iframe style="width:100%;" height="320" frameborder="0" allowfullscreen></iframe>',height:320,width:580},imgur:{regex:/https?:\/\/(?:i\.)?imgur\.com.*\/([a-zA-Z0-9]+)(?:\.gifv)?/,embedUrl:"http://imgur.com/<%= remote_id %>/embed",html:'<iframe allowfullscreen="true" scrolling="no" id="imgur-embed-iframe-pub-<%= remote_id %>" class="imgur-embed-iframe-pub" style="height: 500px; width: 100%; border: 1px solid #000"></iframe>',height:500,width:540},gfycat:{regex:/https?:\/\/gfycat\.com(?:\/detail)?\/([a-zA-Z]+)/,embedUrl:"https://gfycat.com/ifr/<%= remote_id %>",html:`<iframe frameborder='0' scrolling='no' style="width:100%;" height='436' allowfullscreen ></iframe>`,height:436,width:580},"twitch-channel":{regex:/https?:\/\/www\.twitch\.tv\/([^\/\?\&]*)\/?$/,embedUrl:"https://player.twitch.tv/?channel=<%= remote_id %>",html:'<iframe frameborder="0" allowfullscreen="true" scrolling="no" height="366" style="width:100%;"></iframe>',height:366,width:600},"twitch-video":{regex:/https?:\/\/www\.twitch\.tv\/(?:[^\/\?\&]*\/v|videos)\/([0-9]*)/,embedUrl:"https://player.twitch.tv/?video=v<%= remote_id %>",html:'<iframe frameborder="0" allowfullscreen="true" scrolling="no" height="366" style="width:100%;"></iframe>',height:366,width:600},"yandex-music-album":{regex:/https?:\/\/music\.yandex\.ru\/album\/([0-9]*)\/?$/,embedUrl:"https://music.yandex.ru/iframe/#album/<%= remote_id %>/",html:'<iframe frameborder="0" style="border:none;width:540px;height:400px;" style="width:100%;" height="400"></iframe>',height:400,width:540},"yandex-music-track":{regex:/https?:\/\/music\.yandex\.ru\/album\/([0-9]*)\/track\/([0-9]*)/,embedUrl:"https://music.yandex.ru/iframe/#track/<%= remote_id %>/",html:'<iframe frameborder="0" style="border:none;width:540px;height:100px;" style="width:100%;" height="100"></iframe>',height:100,width:540,id:n=>n.join("/")},"yandex-music-playlist":{regex:/https?:\/\/music\.yandex\.ru\/users\/([^\/\?\&]*)\/playlists\/([0-9]*)/,embedUrl:"https://music.yandex.ru/iframe/#playlist/<%= remote_id %>/show/cover/description/",html:'<iframe frameborder="0" style="border:none;width:540px;height:400px;" width="540" height="400"></iframe>',height:400,width:540,id:n=>n.join("/")},codepen:{regex:/https?:\/\/codepen\.io\/([^\/\?\&]*)\/pen\/([^\/\?\&]*)/,embedUrl:"https://codepen.io/<%= remote_id %>?height=300&theme-id=0&default-tab=css,result&embed-version=2",html:"<iframe height='300' scrolling='no' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%;'></iframe>",height:300,width:600,id:n=>n.join("/embed/")},instagram:{regex:/https?:\/\/www\.instagram\.com\/p\/([^\/\?\&]+)\/?.*/,embedUrl:"https://www.instagram.com/p/<%= remote_id %>/embed",html:'<iframe width="400" height="505" style="margin: 0 auto;" frameborder="0" scrolling="no" allowtransparency="true"></iframe>',height:505,width:400},twitter:{regex:/^https?:\/\/(www\.)?twitter\.com\/.+\/status\/(\d+)/,embedUrl:"https://platform.twitter.com/embed/Tweet.html?id=<%= remote_id %>",html:'<iframe width="600" height="600" style="margin: 0 auto;" frameborder="0" scrolling="no" allowtransparency="true"></iframe>',height:300,width:600,id:n=>n[1]},pinterest:{regex:/https?:\/\/([^\/\?\&]*).pinterest.com\/pin\/([^\/\?\&]*)\/?$/,embedUrl:"https://assets.pinterest.com/ext/embed.html?id=<%= remote_id %>",html:"<iframe scrolling='no' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%; min-height: 400px; max-height: 1000px;'></iframe>",id:n=>n[1]},facebook:{regex:/https?:\/\/www.facebook.com\/([^\/\?\&]*)\/(.*)/,embedUrl:"https://www.facebook.com/plugins/post.php?href=https://www.facebook.com/<%= remote_id %>&width=500",html:"<iframe scrolling='no' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%; min-height: 500px; max-height: 1000px;'></iframe>",id:n=>n.join("/")},aparat:{regex:/(?:http[s]?:\/\/)?(?:www.)?aparat\.com\/v\/([^\/\?\&]+)\/?/,embedUrl:"https://www.aparat.com/video/video/embed/videohash/<%= remote_id %>/vt/frame",html:'<iframe width="600" height="300" style="margin: 0 auto;" frameborder="0" scrolling="no" allowtransparency="true"></iframe>',height:300,width:600},miro:{regex:/https:\/\/miro.com\/\S+(\S{12})\/(\S+)?/,embedUrl:"https://miro.com/app/live-embed/<%= remote_id %>",html:'<iframe width="700" height="500" style="margin: 0 auto;" allowFullScreen frameBorder="0" scrolling="no"></iframe>'},github:{regex:/https?:\/\/gist.github.com\/([^\/\?\&]*)\/([^\/\?\&]*)/,embedUrl:'data:text/html;charset=utf-8,<head><base target="_blank" /></head><body><script src="https://gist.github.com/<%= remote_id %>" ><\/script></body>',html:'<iframe width="100%" height="350" frameborder="0" style="margin: 0 auto;"></iframe>',height:300,width:600,id:n=>`${n.join("/")}.js`}};function Rw(n,e,t){var i,o,r,a,s;e==null&&(e=100);function l(){var f=Date.now()-a;f<e&&f>=0?i=setTimeout(l,e-f):(i=null,t||(s=n.apply(r,o),r=o=null))}var d=function(){r=this,o=arguments,a=Date.now();var f=t&&!i;return i||(i=setTimeout(l,e)),f&&(s=n.apply(r,o),r=o=null),s};return d.clear=function(){i&&(clearTimeout(i),i=null)},d.flush=function(){i&&(s=n.apply(r,o),r=o=null,clearTimeout(i),i=null)},d}Rw.debounce=Rw;var K8e=Rw;let Z8e=class ug{constructor({data:e,api:t,readOnly:i}){this.api=t,this._data={},this.element=null,this.readOnly=i,this.data=e}set data(e){if(!(e instanceof Object))throw Error("Embed Tool data should be object");const{service:t,source:i,embed:o,width:r,height:a,caption:s=""}=e;this._data={service:t||this.data.service,source:i||this.data.source,embed:o||this.data.embed,width:r||this.data.width,height:a||this.data.height,caption:s||this.data.caption||""};const l=this.element;l&&l.parentNode.replaceChild(this.render(),l)}get data(){if(this.element){const e=this.element.querySelector(`.${this.api.styles.input}`);this._data.caption=e?e.innerHTML:""}return this._data}get CSS(){return{baseClass:this.api.styles.block,input:this.api.styles.input,container:"embed-tool",containerLoading:"embed-tool--loading",preloader:"embed-tool__preloader",caption:"embed-tool__caption",url:"embed-tool__url",content:"embed-tool__content"}}render(){if(!this.data.service){const s=document.createElement("div");return this.element=s,s}const{html:e}=ug.services[this.data.service],t=document.createElement("div"),i=document.createElement("div"),o=document.createElement("template"),r=this.createPreloader();t.classList.add(this.CSS.baseClass,this.CSS.container,this.CSS.containerLoading),i.classList.add(this.CSS.input,this.CSS.caption),t.appendChild(r),i.contentEditable=!this.readOnly,i.dataset.placeholder=this.api.i18n.t("Enter a caption"),i.innerHTML=this.data.caption||"",o.innerHTML=e,o.content.firstChild.setAttribute("src",this.data.embed),o.content.firstChild.classList.add(this.CSS.content);const a=this.embedIsReady(t);return t.appendChild(o.content.firstChild),t.appendChild(i),a.then(()=>{t.classList.remove(this.CSS.containerLoading)}),this.element=t,t}createPreloader(){const e=document.createElement("preloader"),t=document.createElement("div");return t.textContent=this.data.source,e.classList.add(this.CSS.preloader),t.classList.add(this.CSS.url),e.appendChild(t),e}save(){return this.data}onPaste(e){const{key:t,data:i}=e.detail,{regex:o,embedUrl:r,width:a,height:s,id:l=g=>g.shift()}=ug.services[t],d=o.exec(i).slice(1),f=r.replace(/<%= remote_id %>/g,l(d));this.data={service:t,source:i,embed:f,width:a,height:s}}static prepare({config:e={}}){const{services:t={}}=e;let i=Object.entries(X8e);const o=Object.entries(t).filter(([a,s])=>typeof s=="boolean"&&s===!0).map(([a])=>a),r=Object.entries(t).filter(([a,s])=>typeof s=="object").filter(([a,s])=>ug.checkServiceConfig(s)).map(([a,s])=>{const{regex:l,embedUrl:d,html:f,height:g,width:v,id:b}=s;return[a,{regex:l,embedUrl:d,html:f,height:g,width:v,id:b}]});o.length&&(i=i.filter(([a])=>o.includes(a))),i=i.concat(r),ug.services=i.reduce((a,[s,l])=>s in a?(a[s]=Object.assign({},a[s],l),a):(a[s]=l,a),{}),ug.patterns=i.reduce((a,[s,l])=>(a[s]=l.regex,a),{})}static checkServiceConfig(e){const{regex:t,embedUrl:i,html:o,height:r,width:a,id:s}=e;let l=t&&t instanceof RegExp&&i&&typeof i=="string"&&o&&typeof o=="string";return l=l&&(s!==void 0?s instanceof Function:!0),l=l&&(r!==void 0?Number.isFinite(r):!0),l=l&&(a!==void 0?Number.isFinite(a):!0),l}static get pasteConfig(){return{patterns:ug.patterns}}static get isReadOnlySupported(){return!0}embedIsReady(e){let t=null;return new Promise((i,o)=>{t=new MutationObserver(K8e.debounce(i,450)),t.observe(e,{childList:!0,subtree:!0})}).then(()=>{t.disconnect()})}};(function(){try{if(typeof document<"u"){var n=document.createElement("style");n.appendChild(document.createTextNode(".ce-header{padding:.6em 0 3px;margin:0;line-height:1.25em;outline:none}.ce-header p,.ce-header div{padding:0!important;margin:0!important}.ce-header[contentEditable=true][data-placeholder]:before{position:absolute;content:attr(data-placeholder);color:#707684;font-weight:400;display:none;cursor:text}.ce-header[contentEditable=true][data-placeholder]:empty:before{display:block}.ce-header[contentEditable=true][data-placeholder]:empty:focus:before{display:none}")),document.head.appendChild(n)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();const J8e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M19 17V10.2135C19 10.1287 18.9011 10.0824 18.836 10.1367L16 12.5"/></svg>',Q8e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16 11C16 10 19 9.5 19 12C19 13.9771 16.0684 13.9997 16.0012 16.8981C15.9999 16.9533 16.0448 17 16.1 17L19.3 17"/></svg>',e7e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16 11C16 10.5 16.8323 10 17.6 10C18.3677 10 19.5 10.311 19.5 11.5C19.5 12.5315 18.7474 12.9022 18.548 12.9823C18.5378 12.9864 18.5395 13.0047 18.5503 13.0063C18.8115 13.0456 20 13.3065 20 14.8C20 16 19.5 17 17.8 17C17.8 17 16 17 16 16.3"/></svg>',t7e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M18 10L15.2834 14.8511C15.246 14.9178 15.294 15 15.3704 15C16.8489 15 18.7561 15 20.2 15M19 17C19 15.7187 19 14.8813 19 13.6"/></svg>',n7e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16 15.9C16 15.9 16.3768 17 17.8 17C19.5 17 20 15.6199 20 14.7C20 12.7323 17.6745 12.0486 16.1635 12.9894C16.094 13.0327 16 12.9846 16 12.9027V10.1C16 10.0448 16.0448 10 16.1 10H19.8"/></svg>',i7e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M19.5 10C16.5 10.5 16 13.3285 16 15M16 15V15C16 16.1046 16.8954 17 18 17H18.3246C19.3251 17 20.3191 16.3492 20.2522 15.3509C20.0612 12.4958 16 12.6611 16 15Z"/></svg>',o7e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M9 7L9 12M9 17V12M9 12L15 12M15 7V12M15 17L15 12"/></svg>';/**
|
|
318
|
+
*/let Y8e=class{static get isReadOnlySupported(){return!0}static get contentless(){return!0}constructor({data:e,config:t,api:i}){this.api=i,this._CSS={block:this.api.styles.block,wrapper:"ce-delimiter"},this._data={},this._element=this.drawView(),this.data=e}drawView(){let e=document.createElement("DIV");return e.classList.add(this._CSS.wrapper,this._CSS.block),e}render(){return this._element}save(e){return{}}static get toolbox(){return{icon:G8e,title:"Delimiter"}}};(function(){try{if(typeof document<"u"){var n=document.createElement("style");n.appendChild(document.createTextNode('.embed-tool--loading .embed-tool__caption{display:none}.embed-tool--loading .embed-tool__preloader{display:block}.embed-tool--loading .embed-tool__content{display:none}.embed-tool__preloader{display:none;position:relative;height:200px;box-sizing:border-box;border-radius:5px;border:1px solid #e6e9eb}.embed-tool__preloader:before{content:"";position:absolute;z-index:3;left:50%;top:50%;width:30px;height:30px;margin-top:-25px;margin-left:-15px;border-radius:50%;border:2px solid #cdd1e0;border-top-color:#388ae5;box-sizing:border-box;animation:embed-preloader-spin 2s infinite linear}.embed-tool__url{position:absolute;bottom:20px;left:50%;transform:translate(-50%);max-width:250px;color:#7b7e89;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.embed-tool__content{width:100%}.embed-tool__caption{margin-top:7px}.embed-tool__caption[contentEditable=true][data-placeholder]:before{position:absolute;content:attr(data-placeholder);color:#707684;font-weight:400;opacity:0}.embed-tool__caption[contentEditable=true][data-placeholder]:empty:before{opacity:1}.embed-tool__caption[contentEditable=true][data-placeholder]:empty:focus:before{opacity:0}@keyframes embed-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}')),document.head.appendChild(n)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();const X8e={vimeo:{regex:/(?:http[s]?:\/\/)?(?:www.)?(?:player.)?vimeo\.co(?:.+\/([^\/]\d+)(?:#t=[\d]+)?s?$)/,embedUrl:"https://player.vimeo.com/video/<%= remote_id %>?title=0&byline=0",html:'<iframe style="width:100%;" height="320" frameborder="0"></iframe>',height:320,width:580},youtube:{regex:/(?:https?:\/\/)?(?:www\.)?(?:(?:youtu\.be\/)|(?:youtube\.com)\/(?:v\/|u\/\w\/|embed\/|watch))(?:(?:\?v=)?([^#&?=]*))?((?:[?&]\w*=\w*)*)/,embedUrl:"https://www.youtube.com/embed/<%= remote_id %>",html:'<iframe style="width:100%;" height="320" frameborder="0" allowfullscreen></iframe>',height:320,width:580,id:([n,e])=>{if(!e&&n)return n;const t={start:"start",end:"end",t:"start",time_continue:"start",list:"list"};return e=e.slice(1).split("&").map(i=>{const[o,r]=i.split("=");return!n&&o==="v"?(n=r,null):!t[o]||r==="LL"||r.startsWith("RDMM")||r.startsWith("FL")?null:`${t[o]}=${r}`}).filter(i=>!!i),n+"?"+e.join("&")}},coub:{regex:/https?:\/\/coub\.com\/view\/([^\/\?\&]+)/,embedUrl:"https://coub.com/embed/<%= remote_id %>",html:'<iframe style="width:100%;" height="320" frameborder="0" allowfullscreen></iframe>',height:320,width:580},vine:{regex:/https?:\/\/vine\.co\/v\/([^\/\?\&]+)/,embedUrl:"https://vine.co/v/<%= remote_id %>/embed/simple/",html:'<iframe style="width:100%;" height="320" frameborder="0" allowfullscreen></iframe>',height:320,width:580},imgur:{regex:/https?:\/\/(?:i\.)?imgur\.com.*\/([a-zA-Z0-9]+)(?:\.gifv)?/,embedUrl:"http://imgur.com/<%= remote_id %>/embed",html:'<iframe allowfullscreen="true" scrolling="no" id="imgur-embed-iframe-pub-<%= remote_id %>" class="imgur-embed-iframe-pub" style="height: 500px; width: 100%; border: 1px solid #000"></iframe>',height:500,width:540},gfycat:{regex:/https?:\/\/gfycat\.com(?:\/detail)?\/([a-zA-Z]+)/,embedUrl:"https://gfycat.com/ifr/<%= remote_id %>",html:`<iframe frameborder='0' scrolling='no' style="width:100%;" height='436' allowfullscreen ></iframe>`,height:436,width:580},"twitch-channel":{regex:/https?:\/\/www\.twitch\.tv\/([^\/\?\&]*)\/?$/,embedUrl:"https://player.twitch.tv/?channel=<%= remote_id %>",html:'<iframe frameborder="0" allowfullscreen="true" scrolling="no" height="366" style="width:100%;"></iframe>',height:366,width:600},"twitch-video":{regex:/https?:\/\/www\.twitch\.tv\/(?:[^\/\?\&]*\/v|videos)\/([0-9]*)/,embedUrl:"https://player.twitch.tv/?video=v<%= remote_id %>",html:'<iframe frameborder="0" allowfullscreen="true" scrolling="no" height="366" style="width:100%;"></iframe>',height:366,width:600},"yandex-music-album":{regex:/https?:\/\/music\.yandex\.ru\/album\/([0-9]*)\/?$/,embedUrl:"https://music.yandex.ru/iframe/#album/<%= remote_id %>/",html:'<iframe frameborder="0" style="border:none;width:540px;height:400px;" style="width:100%;" height="400"></iframe>',height:400,width:540},"yandex-music-track":{regex:/https?:\/\/music\.yandex\.ru\/album\/([0-9]*)\/track\/([0-9]*)/,embedUrl:"https://music.yandex.ru/iframe/#track/<%= remote_id %>/",html:'<iframe frameborder="0" style="border:none;width:540px;height:100px;" style="width:100%;" height="100"></iframe>',height:100,width:540,id:n=>n.join("/")},"yandex-music-playlist":{regex:/https?:\/\/music\.yandex\.ru\/users\/([^\/\?\&]*)\/playlists\/([0-9]*)/,embedUrl:"https://music.yandex.ru/iframe/#playlist/<%= remote_id %>/show/cover/description/",html:'<iframe frameborder="0" style="border:none;width:540px;height:400px;" width="540" height="400"></iframe>',height:400,width:540,id:n=>n.join("/")},codepen:{regex:/https?:\/\/codepen\.io\/([^\/\?\&]*)\/pen\/([^\/\?\&]*)/,embedUrl:"https://codepen.io/<%= remote_id %>?height=300&theme-id=0&default-tab=css,result&embed-version=2",html:"<iframe height='300' scrolling='no' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%;'></iframe>",height:300,width:600,id:n=>n.join("/embed/")},instagram:{regex:/https?:\/\/www\.instagram\.com\/p\/([^\/\?\&]+)\/?.*/,embedUrl:"https://www.instagram.com/p/<%= remote_id %>/embed",html:'<iframe width="400" height="505" style="margin: 0 auto;" frameborder="0" scrolling="no" allowtransparency="true"></iframe>',height:505,width:400},twitter:{regex:/^https?:\/\/(www\.)?(?:twitter\.com|x\.com)\/.+\/status\/(\d+)/,embedUrl:"https://platform.twitter.com/embed/Tweet.html?id=<%= remote_id %>",html:'<iframe width="600" height="600" style="margin: 0 auto;" frameborder="0" scrolling="no" allowtransparency="true"></iframe>',height:300,width:600,id:n=>n[1]},pinterest:{regex:/https?:\/\/([^\/\?\&]*).pinterest.com\/pin\/([^\/\?\&]*)\/?$/,embedUrl:"https://assets.pinterest.com/ext/embed.html?id=<%= remote_id %>",html:"<iframe scrolling='no' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%; min-height: 400px; max-height: 1000px;'></iframe>",id:n=>n[1]},facebook:{regex:/https?:\/\/www.facebook.com\/([^\/\?\&]*)\/(.*)/,embedUrl:"https://www.facebook.com/plugins/post.php?href=https://www.facebook.com/<%= remote_id %>&width=500",html:"<iframe scrolling='no' frameborder='no' allowtransparency='true' allowfullscreen='true' style='width: 100%; min-height: 500px; max-height: 1000px;'></iframe>",id:n=>n.join("/")},aparat:{regex:/(?:http[s]?:\/\/)?(?:www.)?aparat\.com\/v\/([^\/\?\&]+)\/?/,embedUrl:"https://www.aparat.com/video/video/embed/videohash/<%= remote_id %>/vt/frame",html:'<iframe width="600" height="300" style="margin: 0 auto;" frameborder="0" scrolling="no" allowtransparency="true"></iframe>',height:300,width:600},miro:{regex:/https:\/\/miro.com\/\S+(\S{12})\/(\S+)?/,embedUrl:"https://miro.com/app/live-embed/<%= remote_id %>",html:'<iframe width="700" height="500" style="margin: 0 auto;" allowFullScreen frameBorder="0" scrolling="no"></iframe>'},github:{regex:/https?:\/\/gist.github.com\/([^\/\?\&]*)\/([^\/\?\&]*)/,embedUrl:'data:text/html;charset=utf-8,<head><base target="_blank" /></head><body><script src="https://gist.github.com/<%= remote_id %>" ><\/script></body>',html:'<iframe width="100%" height="350" frameborder="0" style="margin: 0 auto;"></iframe>',height:300,width:600,id:n=>`${n.join("/")}.js`}};function Rw(n,e,t){var i,o,r,a,s;e==null&&(e=100);function l(){var f=Date.now()-a;f<e&&f>=0?i=setTimeout(l,e-f):(i=null,t||(s=n.apply(r,o),r=o=null))}var d=function(){r=this,o=arguments,a=Date.now();var f=t&&!i;return i||(i=setTimeout(l,e)),f&&(s=n.apply(r,o),r=o=null),s};return d.clear=function(){i&&(clearTimeout(i),i=null)},d.flush=function(){i&&(s=n.apply(r,o),r=o=null,clearTimeout(i),i=null)},d}Rw.debounce=Rw;var K8e=Rw;let Z8e=class ug{constructor({data:e,api:t,readOnly:i}){this.api=t,this._data={},this.element=null,this.readOnly=i,this.data=e}set data(e){if(!(e instanceof Object))throw Error("Embed Tool data should be object");const{service:t,source:i,embed:o,width:r,height:a,caption:s=""}=e;this._data={service:t||this.data.service,source:i||this.data.source,embed:o||this.data.embed,width:r||this.data.width,height:a||this.data.height,caption:s||this.data.caption||""};const l=this.element;l&&l.parentNode.replaceChild(this.render(),l)}get data(){if(this.element){const e=this.element.querySelector(`.${this.api.styles.input}`);this._data.caption=e?e.innerHTML:""}return this._data}get CSS(){return{baseClass:this.api.styles.block,input:this.api.styles.input,container:"embed-tool",containerLoading:"embed-tool--loading",preloader:"embed-tool__preloader",caption:"embed-tool__caption",url:"embed-tool__url",content:"embed-tool__content"}}render(){if(!this.data.service){const s=document.createElement("div");return this.element=s,s}const{html:e}=ug.services[this.data.service],t=document.createElement("div"),i=document.createElement("div"),o=document.createElement("template"),r=this.createPreloader();t.classList.add(this.CSS.baseClass,this.CSS.container,this.CSS.containerLoading),i.classList.add(this.CSS.input,this.CSS.caption),t.appendChild(r),i.contentEditable=!this.readOnly,i.dataset.placeholder=this.api.i18n.t("Enter a caption"),i.innerHTML=this.data.caption||"",o.innerHTML=e,o.content.firstChild.setAttribute("src",this.data.embed),o.content.firstChild.classList.add(this.CSS.content);const a=this.embedIsReady(t);return t.appendChild(o.content.firstChild),t.appendChild(i),a.then(()=>{t.classList.remove(this.CSS.containerLoading)}),this.element=t,t}createPreloader(){const e=document.createElement("preloader"),t=document.createElement("div");return t.textContent=this.data.source,e.classList.add(this.CSS.preloader),t.classList.add(this.CSS.url),e.appendChild(t),e}save(){return this.data}onPaste(e){const{key:t,data:i}=e.detail,{regex:o,embedUrl:r,width:a,height:s,id:l=g=>g.shift()}=ug.services[t],d=o.exec(i).slice(1),f=r.replace(/<%= remote_id %>/g,l(d));this.data={service:t,source:i,embed:f,width:a,height:s}}static prepare({config:e={}}){const{services:t={}}=e;let i=Object.entries(X8e);const o=Object.entries(t).filter(([a,s])=>typeof s=="boolean"&&s===!0).map(([a])=>a),r=Object.entries(t).filter(([a,s])=>typeof s=="object").filter(([a,s])=>ug.checkServiceConfig(s)).map(([a,s])=>{const{regex:l,embedUrl:d,html:f,height:g,width:v,id:b}=s;return[a,{regex:l,embedUrl:d,html:f,height:g,width:v,id:b}]});o.length&&(i=i.filter(([a])=>o.includes(a))),i=i.concat(r),ug.services=i.reduce((a,[s,l])=>s in a?(a[s]=Object.assign({},a[s],l),a):(a[s]=l,a),{}),ug.patterns=i.reduce((a,[s,l])=>(a[s]=l.regex,a),{})}static checkServiceConfig(e){const{regex:t,embedUrl:i,html:o,height:r,width:a,id:s}=e;let l=t&&t instanceof RegExp&&i&&typeof i=="string"&&o&&typeof o=="string";return l=l&&(s!==void 0?s instanceof Function:!0),l=l&&(r!==void 0?Number.isFinite(r):!0),l=l&&(a!==void 0?Number.isFinite(a):!0),l}static get pasteConfig(){return{patterns:ug.patterns}}static get isReadOnlySupported(){return!0}embedIsReady(e){let t=null;return new Promise((i,o)=>{t=new MutationObserver(K8e.debounce(i,450)),t.observe(e,{childList:!0,subtree:!0})}).then(()=>{t.disconnect()})}};(function(){try{if(typeof document<"u"){var n=document.createElement("style");n.appendChild(document.createTextNode(".ce-header{padding:.6em 0 3px;margin:0;line-height:1.25em;outline:none}.ce-header p,.ce-header div{padding:0!important;margin:0!important}.ce-header[contentEditable=true][data-placeholder]:before{position:absolute;content:attr(data-placeholder);color:#707684;font-weight:400;display:none;cursor:text}.ce-header[contentEditable=true][data-placeholder]:empty:before{display:block}.ce-header[contentEditable=true][data-placeholder]:empty:focus:before{display:none}")),document.head.appendChild(n)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}})();const J8e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M19 17V10.2135C19 10.1287 18.9011 10.0824 18.836 10.1367L16 12.5"/></svg>',Q8e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16 11C16 10 19 9.5 19 12C19 13.9771 16.0684 13.9997 16.0012 16.8981C15.9999 16.9533 16.0448 17 16.1 17L19.3 17"/></svg>',e7e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16 11C16 10.5 16.8323 10 17.6 10C18.3677 10 19.5 10.311 19.5 11.5C19.5 12.5315 18.7474 12.9022 18.548 12.9823C18.5378 12.9864 18.5395 13.0047 18.5503 13.0063C18.8115 13.0456 20 13.3065 20 14.8C20 16 19.5 17 17.8 17C17.8 17 16 17 16 16.3"/></svg>',t7e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M18 10L15.2834 14.8511C15.246 14.9178 15.294 15 15.3704 15C16.8489 15 18.7561 15 20.2 15M19 17C19 15.7187 19 14.8813 19 13.6"/></svg>',n7e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M16 15.9C16 15.9 16.3768 17 17.8 17C19.5 17 20 15.6199 20 14.7C20 12.7323 17.6745 12.0486 16.1635 12.9894C16.094 13.0327 16 12.9846 16 12.9027V10.1C16 10.0448 16.0448 10 16.1 10H19.8"/></svg>',i7e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M6 7L6 12M6 17L6 12M6 12L12 12M12 7V12M12 17L12 12"/><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M19.5 10C16.5 10.5 16 13.3285 16 15M16 15V15C16 16.1046 16.8954 17 18 17H18.3246C19.3251 17 20.3191 16.3492 20.2522 15.3509C20.0612 12.4958 16 12.6611 16 15Z"/></svg>',o7e='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24"><path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M9 7L9 12M9 17V12M9 12L15 12M15 7V12M15 17L15 12"/></svg>';/**
|
|
319
319
|
* Header block for the Editor.js.
|
|
320
320
|
*
|
|
321
321
|
* @author CodeX (team@ifmo.su)
|
|
@@ -599,7 +599,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
599
599
|
<rect x="46" y="55" width="40" height="6" rx="2" fill="var(--theme--primary)" fill-opacity=".25" />
|
|
600
600
|
<rect x="42" y="65" width="10" height="6" rx="2" fill="var(--theme--primary)" />
|
|
601
601
|
</svg>
|
|
602
|
-
`,n9e=ha({id:"input-block-editor",name:"$t:interfaces.input-block-editor.input-block-editor",description:"$t:interfaces.input-block-editor.description",icon:"code",component:e9e,types:["json"],group:"standard",preview:t9e,options:[{field:"placeholder",name:"$t:placeholder",meta:{width:"half",interface:"text-input",options:{placeholder:"$t:enter_a_placeholder"}}},{field:"font",name:"$t:font",type:"string",meta:{width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:sans_serif",value:"sans-serif"},{text:"$t:monospace",value:"monospace"},{text:"$t:serif",value:"serif"}]}},schema:{default_value:"sans-serif"}},{field:"tools",name:"$t:interfaces.input-block-editor.tools",type:"json",schema:{default_value:["header","nestedlist","code","image","paragraph","checklist","quote","underline"]},meta:{width:"half",interface:"select-multiple-dropdown",options:{choices:[{value:"header",text:"$t:interfaces.input-block-editor.tools_options.header"},{value:"nestedlist",text:"$t:interfaces.input-block-editor.tools_options.nestedlist"},{value:"embed",text:"$t:interfaces.input-block-editor.tools_options.embed"},{value:"paragraph",text:"$t:interfaces.input-block-editor.tools_options.paragraph"},{value:"code",text:"$t:interfaces.input-block-editor.tools_options.code"},{value:"image",text:"$t:interfaces.input-block-editor.tools_options.image"},{value:"attaches",text:"$t:interfaces.input-block-editor.tools_options.attaches"},{value:"table",text:"$t:interfaces.input-block-editor.tools_options.table"},{value:"quote",text:"$t:interfaces.input-block-editor.tools_options.quote"},{value:"underline",text:"$t:interfaces.input-block-editor.tools_options.underline"},{value:"inlinecode",text:"$t:interfaces.input-block-editor.tools_options.inlinecode"},{value:"delimiter",text:"$t:interfaces.input-block-editor.tools_options.delimiter"},{value:"checklist",text:"$t:interfaces.input-block-editor.tools_options.checklist"},{value:"toggle",text:"$t:interfaces.input-block-editor.tools_options.toggle"},{value:"alignment",text:"$t:interfaces.input-block-editor.tools_options.alignment"},{value:"raw",text:"$t:interfaces.input-block-editor.tools_options.raw"}]}}},{field:"bordered",name:"$t:displays.formatted-value.border",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.formatted-value.border_label"}},schema:{default_value:!0}},{field:"folder",name:"$t:interfaces.system-folder.folder",type:"uuid",meta:{width:"full",interface:"system-folder",note:"$t:interfaces.system-folder.field_hint"}}]});var i9e={exports:{}};(function(n,e){(function(t){t(Qf())})(function(t){t.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var i=0;i<t.modeInfo.length;i++){var o=t.modeInfo[i];o.mimes&&(o.mime=o.mimes[0])}t.findModeByMIME=function(r){r=r.toLowerCase();for(var a=0;a<t.modeInfo.length;a++){var s=t.modeInfo[a];if(s.mime==r)return s;if(s.mimes){for(var l=0;l<s.mimes.length;l++)if(s.mimes[l]==r)return s}}if(/\+xml$/.test(r))return t.findModeByMIME("application/xml");if(/\+json$/.test(r))return t.findModeByMIME("application/json")},t.findModeByExtension=function(r){r=r.toLowerCase();for(var a=0;a<t.modeInfo.length;a++){var s=t.modeInfo[a];if(s.ext){for(var l=0;l<s.ext.length;l++)if(s.ext[l]==r)return s}}},t.findModeByFileName=function(r){for(var a=0;a<t.modeInfo.length;a++){var s=t.modeInfo[a];if(s.file&&s.file.test(r))return s}var l=r.lastIndexOf("."),d=l>-1&&r.substring(l+1,r.length);if(d)return t.findModeByExtension(d)},t.findModeByName=function(r){r=r.toLowerCase();for(var a=0;a<t.modeInfo.length;a++){var s=t.modeInfo[a];if(s.name.toLowerCase()==r)return s;if(s.alias){for(var l=0;l<s.alias.length;l++)if(s.alias[l].toLowerCase()==r)return s}}}})})();var o9e=i9e.exports;function HT(n){switch(n){case"apl":return jt(()=>import("./apl-JPUuU32_.js").then(e=>e.a),__vite__mapDeps([89,3,2,4]),import.meta.url);case"asciiarmor":return jt(()=>import("./asciiarmor-Bu0mhHTp.js").then(e=>e.a),__vite__mapDeps([90,3,2,4]),import.meta.url);case"asn.1":return jt(()=>import("./asn.1-CeLtejaC.js").then(e=>e.a),__vite__mapDeps([91,3,2,4]),import.meta.url);case"asterisk":return jt(()=>import("./asterisk-CP4l0l5u.js").then(e=>e.a),__vite__mapDeps([92,3,2,4]),import.meta.url);case"brainfuck":return jt(()=>import("./brainfuck-CSk07kWZ.js").then(e=>e.b),__vite__mapDeps([93,3,2,4]),import.meta.url);case"clike":return jt(()=>import("./clike-BbPn8K_6.js").then(e=>e.c),__vite__mapDeps([94,3,2,4]),import.meta.url);case"clojure":return jt(()=>import("./clojure-CPevEN5B.js").then(e=>e.c),__vite__mapDeps([95,3,2,4]),import.meta.url);case"cmake":return jt(()=>import("./cmake-D87Jgut3.js").then(e=>e.c),__vite__mapDeps([96,3,2,4]),import.meta.url);case"cobol":return jt(()=>import("./cobol-BS3XuOiC.js").then(e=>e.c),__vite__mapDeps([97,3,2,4]),import.meta.url);case"coffeescript":return jt(()=>import("./coffeescript-CHR4b-xA.js").then(e=>e.c),__vite__mapDeps([98,3,2,4]),import.meta.url);case"commonlisp":return jt(()=>import("./commonlisp-BBjPHlNo.js").then(e=>e.c),__vite__mapDeps([99,3,2,4]),import.meta.url);case"crystal":return jt(()=>import("./crystal-CVaN49lp.js").then(e=>e.c),__vite__mapDeps([100,3,2,4]),import.meta.url);case"css":return jt(()=>import("./css-BPZlJ7Tv.js").then(e=>e.c),__vite__mapDeps([101,3,2,4]),import.meta.url);case"cypher":return jt(()=>import("./cypher-DK3fhVri.js").then(e=>e.c),__vite__mapDeps([102,3,2,4]),import.meta.url);case"d":return jt(()=>import("./d-Da2c3WOp.js").then(e=>e.d),__vite__mapDeps([103,3,2,4]),import.meta.url);case"dart":return jt(()=>import("./dart-Bx9DIcGx.js").then(e=>e.d),__vite__mapDeps([104,3,2,4,94]),import.meta.url);case"diff":return jt(()=>import("./diff-JhC3pg34.js").then(e=>e.d),__vite__mapDeps([105,3,2,4]),import.meta.url);case"django":return jt(()=>import("./django-CnJ1iCPr.js").then(e=>e.d),__vite__mapDeps([106,3,2,4,107,108,101,109]),import.meta.url);case"dockerfile":return jt(()=>import("./dockerfile-BEx2xOyT.js").then(e=>e.d),__vite__mapDeps([110,3,2,4]),import.meta.url);case"dtd":return jt(()=>import("./dtd-BBHVVuSU.js").then(e=>e.d),__vite__mapDeps([111,3,2,4]),import.meta.url);case"dylan":return jt(()=>import("./dylan-vmWUk9c4.js").then(e=>e.d),__vite__mapDeps([112,3,2,4]),import.meta.url);case"ebnf":return jt(()=>import("./ebnf-CnzL7SR4.js").then(e=>e.e),__vite__mapDeps([113,3,2,4]),import.meta.url);case"ecl":return jt(()=>import("./ecl-jqtxeKzF.js").then(e=>e.e),__vite__mapDeps([114,3,2,4]),import.meta.url);case"eiffel":return jt(()=>import("./eiffel-DWKT0cjT.js").then(e=>e.e),__vite__mapDeps([115,3,2,4]),import.meta.url);case"elm":return jt(()=>import("./elm-D6nnLjc3.js").then(e=>e.e),__vite__mapDeps([116,3,2,4]),import.meta.url);case"erlang":return jt(()=>import("./erlang-p2W7kPhd.js").then(e=>e.e),__vite__mapDeps([117,3,2,4]),import.meta.url);case"factor":return jt(()=>import("./factor-DFGby8je.js").then(e=>e.f),__vite__mapDeps([118,3,2,4]),import.meta.url);case"fcl":return jt(()=>import("./fcl-D7RknDTh.js").then(e=>e.f),__vite__mapDeps([119,3,2,4]),import.meta.url);case"forth":return jt(()=>import("./forth-CZZ7SkI3.js").then(e=>e.f),__vite__mapDeps([120,3,2,4]),import.meta.url);case"fortran":return jt(()=>import("./fortran-CA5uOIoR.js").then(e=>e.f),__vite__mapDeps([121,3,2,4]),import.meta.url);case"gas":return jt(()=>import("./gas-GX-AxT3e.js").then(e=>e.g),__vite__mapDeps([122,3,2,4]),import.meta.url);case"gfm":return jt(()=>import("./gfm-DVM0_OTE.js").then(e=>e.g),__vite__mapDeps([123,3,2,4,109]),import.meta.url);case"gherkin":return jt(()=>import("./gherkin-D2wWAfIx.js").then(e=>e.g),__vite__mapDeps([124,3,2,4]),import.meta.url);case"go":return jt(()=>import("./go-BsuNTBxU.js").then(e=>e.g),__vite__mapDeps([125,3,2,4]),import.meta.url);case"groovy":return jt(()=>import("./groovy-Aub2CtQT.js").then(e=>e.g),__vite__mapDeps([126,3,2,4]),import.meta.url);case"haml":return jt(()=>import("./haml-DaJR8CFf.js").then(e=>e.h),__vite__mapDeps([127,3,2,4,107,108,101,128]),import.meta.url);case"handlebars":return jt(()=>import("./handlebars-uyVnuZWb.js").then(e=>e.h),__vite__mapDeps([129,3,2,4,130]),import.meta.url);case"haskell":return jt(()=>import("./haskell-B-lgP7gT.js").then(e=>e.h),__vite__mapDeps([131,3,2,4]),import.meta.url);case"haskell-literate":return jt(()=>import("./haskell-literate-TgCIp0uR.js").then(e=>e.h),__vite__mapDeps([132,3,2,4,131]),import.meta.url);case"haxe":return jt(()=>import("./haxe-DKw3ZjC0.js").then(e=>e.h),__vite__mapDeps([133,3,2,4]),import.meta.url);case"htmlembedded":return jt(()=>import("./htmlembedded-Bq9naenF.js").then(e=>e.h),__vite__mapDeps([134,3,2,4,107,108,101,130]),import.meta.url);case"htmlmixed":return jt(()=>import("./htmlmixed-DGWAV2Yh.js").then(e=>e.h),__vite__mapDeps([135,3,2,4,107,108,101]),import.meta.url);case"http":return jt(()=>import("./http-mz3oMd5K.js").then(e=>e.h),__vite__mapDeps([136,3,2,4]),import.meta.url);case"idl":return jt(()=>import("./idl-DSvhC5hI.js").then(e=>e.i),__vite__mapDeps([137,3,2,4]),import.meta.url);case"javascript":return jt(()=>import("./javascript-DsvDqGb5.js").then(e=>e.j),__vite__mapDeps([108,3,2,4]),import.meta.url);case"jinja2":return jt(()=>import("./jinja2-CJSmHz3_.js").then(e=>e.j),__vite__mapDeps([138,3,2,4]),import.meta.url);case"jsx":return jt(()=>import("./jsx-Br4KJVPv.js").then(e=>e.j),__vite__mapDeps([139,3,2,4,108]),import.meta.url);case"julia":return jt(()=>import("./julia-DHdsfP35.js").then(e=>e.j),__vite__mapDeps([140,3,2,4]),import.meta.url);case"livescript":return jt(()=>import("./livescript-DopjX6lC.js").then(e=>e.l),__vite__mapDeps([141,3,2,4]),import.meta.url);case"lua":return jt(()=>import("./lua-DAw9kSXX.js").then(e=>e.l),__vite__mapDeps([142,3,2,4]),import.meta.url);case"markdown":return jt(()=>Promise.resolve().then(()=>D9e),void 0,import.meta.url);case"mathematica":return jt(()=>import("./mathematica-DD_P7M39.js").then(e=>e.m),__vite__mapDeps([143,3,2,4]),import.meta.url);case"mbox":return jt(()=>import("./mbox-Mtx1839E.js").then(e=>e.m),__vite__mapDeps([144,3,2,4]),import.meta.url);case"mirc":return jt(()=>import("./mirc-HjPVsNIM.js").then(e=>e.m),__vite__mapDeps([145,3,2,4]),import.meta.url);case"mllike":return jt(()=>import("./mllike-S7iyvazQ.js").then(e=>e.m),__vite__mapDeps([146,3,2,4]),import.meta.url);case"modelica":return jt(()=>import("./modelica-XNOx_gW4.js").then(e=>e.m),__vite__mapDeps([147,3,2,4]),import.meta.url);case"mscgen":return jt(()=>import("./mscgen-CJlEmW-7.js").then(e=>e.m),__vite__mapDeps([148,3,2,4]),import.meta.url);case"mumps":return jt(()=>import("./mumps-bDVjENCt.js").then(e=>e.m),__vite__mapDeps([149,3,2,4]),import.meta.url);case"nginx":return jt(()=>import("./nginx-CehJuLEA.js").then(e=>e.n),__vite__mapDeps([150,3,2,4]),import.meta.url);case"nsis":return jt(()=>import("./nsis-C_i-M1Hy.js").then(e=>e.n),__vite__mapDeps([151,3,2,4]),import.meta.url);case"ntriples":return jt(()=>import("./ntriples-BZ3bCOGa.js").then(e=>e.n),__vite__mapDeps([152,3,2,4]),import.meta.url);case"octave":return jt(()=>import("./octave-dMmYf812.js").then(e=>e.o),__vite__mapDeps([153,3,2,4]),import.meta.url);case"oz":return jt(()=>import("./oz-DHgq-80C.js").then(e=>e.o),__vite__mapDeps([154,3,2,4]),import.meta.url);case"pascal":return jt(()=>import("./pascal-VvkqUn9Q.js").then(e=>e.p),__vite__mapDeps([155,3,2,4]),import.meta.url);case"pegjs":return jt(()=>import("./pegjs-_vf4iwqn.js").then(e=>e.p),__vite__mapDeps([156,3,2,4,108]),import.meta.url);case"perl":return jt(()=>import("./perl-C0ln2LiK.js").then(e=>e.p),__vite__mapDeps([157,3,2,4]),import.meta.url);case"php":return jt(()=>import("./php-DPnbqJtW.js").then(e=>e.p),__vite__mapDeps([158,3,2,4,107,108,101,94]),import.meta.url);case"pig":return jt(()=>import("./pig-BPkUn2Kd.js").then(e=>e.p),__vite__mapDeps([159,3,2,4]),import.meta.url);case"powershell":return jt(()=>import("./powershell-BThE4gdO.js").then(e=>e.p),__vite__mapDeps([160,3,2,4]),import.meta.url);case"properties":return jt(()=>import("./properties-CmzP5Co6.js").then(e=>e.p),__vite__mapDeps([161,3,2,4]),import.meta.url);case"protobuf":return jt(()=>import("./protobuf-C6rUVVGr.js").then(e=>e.p),__vite__mapDeps([162,3,2,4]),import.meta.url);case"pug":return jt(()=>import("./pug-Cggej-Fh.js").then(e=>e.p),__vite__mapDeps([163,3,2,4,108,101,107]),import.meta.url);case"puppet":return jt(()=>import("./puppet-B2NnYp7j.js").then(e=>e.p),__vite__mapDeps([164,3,2,4]),import.meta.url);case"python":return jt(()=>import("./python-C4_A0EuR.js").then(e=>e.p),__vite__mapDeps([165,3,2,4]),import.meta.url);case"q":return jt(()=>import("./q-DVihHJiF.js").then(e=>e.q),__vite__mapDeps([166,3,2,4]),import.meta.url);case"r":return jt(()=>import("./r-re3cy-94.js").then(e=>e.r),__vite__mapDeps([167,3,2,4]),import.meta.url);case"rpm":return jt(()=>import("./rpm-CFV3tZT1.js").then(e=>e.r),__vite__mapDeps([168,3,2,4]),import.meta.url);case"rst":return jt(()=>import("./rst-0tA8AOmi.js").then(e=>e.r),__vite__mapDeps([169,3,2,4,165,170,109]),import.meta.url);case"ruby":return jt(()=>import("./ruby-BxCHoQfy.js").then(e=>e.r),__vite__mapDeps([171,3,2,4,128]),import.meta.url);case"rust":return jt(()=>import("./rust-DoTXh85i.js").then(e=>e.r),__vite__mapDeps([172,3,2,4]),import.meta.url);case"sas":return jt(()=>import("./sas-BUpTg6sn.js").then(e=>e.s),__vite__mapDeps([173,3,2,4]),import.meta.url);case"sass":return jt(()=>import("./sass-DwJ3GlPN.js").then(e=>e.s),__vite__mapDeps([174,3,2,4,101]),import.meta.url);case"scheme":return jt(()=>import("./scheme-CL4Nh6lO.js").then(e=>e.s),__vite__mapDeps([175,3,2,4]),import.meta.url);case"shell":return jt(()=>import("./shell-CKxQy37M.js").then(e=>e.s),__vite__mapDeps([176,3,2,4]),import.meta.url);case"sieve":return jt(()=>import("./sieve-CY2QVGer.js").then(e=>e.s),__vite__mapDeps([177,3,2,4]),import.meta.url);case"slim":return jt(()=>import("./slim-DBUbIaFM.js").then(e=>e.s),__vite__mapDeps([178,3,2,4,107,108,101,128]),import.meta.url);case"smalltalk":return jt(()=>import("./smalltalk-CR5Q9ni7.js").then(e=>e.s),__vite__mapDeps([179,3,2,4]),import.meta.url);case"smarty":return jt(()=>import("./smarty-BvjY7k8V.js").then(e=>e.s),__vite__mapDeps([180,3,2,4]),import.meta.url);case"solr":return jt(()=>import("./solr-lXfSHsqV.js").then(e=>e.s),__vite__mapDeps([181,3,2,4]),import.meta.url);case"soy":return jt(()=>import("./soy-Dt6EYWEK.js").then(e=>e.s),__vite__mapDeps([182,3,2,4,107,108,101]),import.meta.url);case"sparql":return jt(()=>import("./sparql-DokPzI6g.js").then(e=>e.s),__vite__mapDeps([183,3,2,4]),import.meta.url);case"spreadsheet":return jt(()=>import("./spreadsheet-Dsdis4W-.js").then(e=>e.s),__vite__mapDeps([184,3,2,4]),import.meta.url);case"sql":return jt(()=>import("./sql-B4Rg5IEG.js").then(e=>e.s),__vite__mapDeps([185,3,2,4]),import.meta.url);case"stex":return jt(()=>import("./stex-CCfCyFRv.js").then(e=>e.s),__vite__mapDeps([186,3,2,4,170]),import.meta.url);case"stylus":return jt(()=>import("./stylus-DGDZBSE8.js").then(e=>e.s),__vite__mapDeps([187,3,2,4]),import.meta.url);case"swift":return jt(()=>import("./swift-CPhcSNtT.js").then(e=>e.s),__vite__mapDeps([188,3,2,4]),import.meta.url);case"tcl":return jt(()=>import("./tcl-BRsN_Qvx.js").then(e=>e.t),__vite__mapDeps([189,3,2,4]),import.meta.url);case"textile":return jt(()=>import("./textile-YRTu9txJ.js").then(e=>e.t),__vite__mapDeps([190,3,2,4]),import.meta.url);case"tiddlywiki":return jt(()=>import("./tiddlywiki-xtZgbXRL.js").then(e=>e.t),__vite__mapDeps([191,3,2,4]),import.meta.url);case"tiki":return jt(()=>import("./tiki-BZwZMU1F.js").then(e=>e.t),__vite__mapDeps([192,3,2,4]),import.meta.url);case"toml":return jt(()=>import("./toml-D2D0sJES.js").then(e=>e.t),__vite__mapDeps([193,3,2,4]),import.meta.url);case"tornado":return jt(()=>import("./tornado-CJ3ZRmFj.js").then(e=>e.t),__vite__mapDeps([194,3,2,4,107,108,101,109]),import.meta.url);case"troff":return jt(()=>import("./troff-Dlvb6f-a.js").then(e=>e.t),__vite__mapDeps([195,3,2,4]),import.meta.url);case"ttcn":return jt(()=>import("./ttcn-CvygTswD.js").then(e=>e.t),__vite__mapDeps([196,3,2,4]),import.meta.url);case"ttcn-cfg":return jt(()=>import("./ttcn-cfg-CqLndy_k.js").then(e=>e.t),__vite__mapDeps([197,3,2,4]),import.meta.url);case"turtle":return jt(()=>import("./turtle-IGag2w54.js").then(e=>e.t),__vite__mapDeps([198,3,2,4]),import.meta.url);case"twig":return jt(()=>import("./twig-DkM2ocx1.js").then(e=>e.t),__vite__mapDeps([199,3,2,4,130]),import.meta.url);case"vb":return jt(()=>import("./vb-XfbSVnTU.js").then(e=>e.v),__vite__mapDeps([200,3,2,4]),import.meta.url);case"vbscript":return jt(()=>import("./vbscript-G81qzNZS.js").then(e=>e.v),__vite__mapDeps([201,3,2,4]),import.meta.url);case"velocity":return jt(()=>import("./velocity-BLYmbTRE.js").then(e=>e.v),__vite__mapDeps([202,3,2,4]),import.meta.url);case"verilog":return jt(()=>import("./verilog-CVsfuPGE.js").then(e=>e.v),__vite__mapDeps([203,3,2,4]),import.meta.url);case"vhdl":return jt(()=>import("./vhdl-CtiQwTxE.js").then(e=>e.v),__vite__mapDeps([204,3,2,4]),import.meta.url);case"vue":return jt(()=>import("./vue-CvLEWPRp.js").then(e=>e.v),__vite__mapDeps([205,3,2,4,109,108,98,101,174,187,163,107,129,130]),import.meta.url);case"wast":return jt(()=>import("./wast-CCSV_K9O.js").then(e=>e.w),__vite__mapDeps([206,3,2,4]),import.meta.url);case"webidl":return jt(()=>import("./webidl-VX3XlTnS.js").then(e=>e.w),__vite__mapDeps([207,3,2,4]),import.meta.url);case"xml":return jt(()=>import("./xml-Cg5sQm9y.js").then(e=>e.x),__vite__mapDeps([208,3,2,4]),import.meta.url);case"xquery":return jt(()=>import("./xquery-DwLKBPXJ.js").then(e=>e.x),__vite__mapDeps([209,3,2,4]),import.meta.url);case"yacas":return jt(()=>import("./yacas-CaLq8O7x.js").then(e=>e.y),__vite__mapDeps([210,3,2,4]),import.meta.url);case"yaml":return jt(()=>import("./yaml-BjFIKKsV.js").then(e=>e.y),__vite__mapDeps([211,3,2,4]),import.meta.url);case"yaml-frontmatter":return jt(()=>import("./yaml-frontmatter-C1Y6XiR-.js").then(e=>e.y),__vite__mapDeps([212,3,2,4,211]),import.meta.url);case"z80":return jt(()=>import("./z80-BjQhkAQ4.js").then(e=>e.z),__vite__mapDeps([213,3,2,4]),import.meta.url);default:return Promise.resolve()}}(function(n,e){(function(t){t(Qf())})(function(t){var i={},o=/[^\s\u00a0]/,r=t.Pos,a=t.cmpPos;function s(f){var g=f.search(o);return g==-1?0:g}t.commands.toggleComment=function(f){f.toggleComment()},t.defineExtension("toggleComment",function(f){f||(f=i);for(var g=this,v=1/0,b=this.listSelections(),x=null,k=b.length-1;k>=0;k--){var S=b[k].from(),O=b[k].to();S.line>=v||(O.line>=v&&(O=r(v,0)),v=S.line,x==null?g.uncomment(S,O,f)?x="un":(g.lineComment(S,O,f),x="line"):x=="un"?g.uncomment(S,O,f):g.lineComment(S,O,f))}});function l(f,g,v){return/\bstring\b/.test(f.getTokenTypeAt(r(g.line,0)))&&!/^[\'\"\`]/.test(v)}function d(f,g){var v=f.getMode();return v.useInnerComments===!1||!v.innerMode?v:f.getModeAt(g)}t.defineExtension("lineComment",function(f,g,v){v||(v=i);var b=this,x=d(b,f),k=b.getLine(f.line);if(!(k==null||l(b,f,k))){var S=v.lineComment||x.lineComment;if(!S){(v.blockCommentStart||x.blockCommentStart)&&(v.fullLines=!0,b.blockComment(f,g,v));return}var O=Math.min(g.ch!=0||g.line==f.line?g.line+1:g.line,b.lastLine()+1),w=v.padding==null?" ":v.padding,D=v.commentBlankLines||f.line==g.line;b.operation(function(){if(v.indent){for(var I=null,$=f.line;$<O;++$){var B=b.getLine($),X=B.search(o)===-1?B:B.slice(0,s(B));(I==null||I.length>X.length)&&(I=X)}for(var $=f.line;$<O;++$){var B=b.getLine($),Y=I.length;!D&&!o.test(B)||(B.slice(0,Y)!=I&&(Y=s(B)),b.replaceRange(I+S+w,r($,0),r($,Y)))}}else for(var $=f.line;$<O;++$)(D||o.test(b.getLine($)))&&b.replaceRange(S+w,r($,0))})}}),t.defineExtension("blockComment",function(f,g,v){v||(v=i);var b=this,x=d(b,f),k=v.blockCommentStart||x.blockCommentStart,S=v.blockCommentEnd||x.blockCommentEnd;if(!k||!S){(v.lineComment||x.lineComment)&&v.fullLines!=!1&&b.lineComment(f,g,v);return}if(!/\bcomment\b/.test(b.getTokenTypeAt(r(f.line,0)))){var O=Math.min(g.line,b.lastLine());O!=f.line&&g.ch==0&&o.test(b.getLine(O))&&--O;var w=v.padding==null?" ":v.padding;f.line>O||b.operation(function(){if(v.fullLines!=!1){var D=o.test(b.getLine(O));b.replaceRange(w+S,r(O)),b.replaceRange(k+w,r(f.line,0));var I=v.blockCommentLead||x.blockCommentLead;if(I!=null)for(var $=f.line+1;$<=O;++$)($!=O||D)&&b.replaceRange(I+w,r($,0))}else{var B=a(b.getCursor("to"),g)==0,X=!b.somethingSelected();b.replaceRange(S,g),B&&b.setSelection(X?g:b.getCursor("from"),g),b.replaceRange(k,f)}})}}),t.defineExtension("uncomment",function(f,g,v){v||(v=i);var b=this,x=d(b,f),k=Math.min(g.ch!=0||g.line==f.line?g.line:g.line-1,b.lastLine()),S=Math.min(f.line,k),O=v.lineComment||x.lineComment,w=[],D=v.padding==null?" ":v.padding,I;e:{if(!O)break e;for(var $=S;$<=k;++$){var B=b.getLine($),X=B.indexOf(O);if(X>-1&&!/comment/.test(b.getTokenTypeAt(r($,X+1)))&&(X=-1),X==-1&&o.test(B)||X>-1&&o.test(B.slice(0,X)))break e;w.push(B)}if(b.operation(function(){for(var tt=S;tt<=k;++tt){var nt=w[tt-S],Se=nt.indexOf(O),Te=Se+O.length;Se<0||(nt.slice(Te,Te+D.length)==D&&(Te+=D.length),I=!0,b.replaceRange("",r(tt,Se),r(tt,Te)))}}),I)return!0}var Y=v.blockCommentStart||x.blockCommentStart,Q=v.blockCommentEnd||x.blockCommentEnd;if(!Y||!Q)return!1;var ue=v.blockCommentLead||x.blockCommentLead,ce=b.getLine(S),ve=ce.indexOf(Y);if(ve==-1)return!1;var ie=k==S?ce:b.getLine(k),se=ie.indexOf(Q,k==S?ve+Y.length:0),te=r(S,ve+1),ye=r(k,se+1);if(se==-1||!/comment/.test(b.getTokenTypeAt(te))||!/comment/.test(b.getTokenTypeAt(ye))||b.getRange(te,ye,`
|
|
602
|
+
`,n9e=ha({id:"input-block-editor",name:"$t:interfaces.input-block-editor.input-block-editor",description:"$t:interfaces.input-block-editor.description",icon:"code",component:e9e,types:["json"],group:"standard",preview:t9e,options:[{field:"placeholder",name:"$t:placeholder",meta:{width:"half",interface:"text-input",options:{placeholder:"$t:enter_a_placeholder"}}},{field:"font",name:"$t:font",type:"string",meta:{width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:sans_serif",value:"sans-serif"},{text:"$t:monospace",value:"monospace"},{text:"$t:serif",value:"serif"}]}},schema:{default_value:"sans-serif"}},{field:"tools",name:"$t:interfaces.input-block-editor.tools",type:"json",schema:{default_value:["header","nestedlist","code","image","paragraph","checklist","quote","underline"]},meta:{width:"half",interface:"select-multiple-dropdown",options:{choices:[{value:"header",text:"$t:interfaces.input-block-editor.tools_options.header"},{value:"nestedlist",text:"$t:interfaces.input-block-editor.tools_options.nestedlist"},{value:"embed",text:"$t:interfaces.input-block-editor.tools_options.embed"},{value:"paragraph",text:"$t:interfaces.input-block-editor.tools_options.paragraph"},{value:"code",text:"$t:interfaces.input-block-editor.tools_options.code"},{value:"image",text:"$t:interfaces.input-block-editor.tools_options.image"},{value:"attaches",text:"$t:interfaces.input-block-editor.tools_options.attaches"},{value:"table",text:"$t:interfaces.input-block-editor.tools_options.table"},{value:"quote",text:"$t:interfaces.input-block-editor.tools_options.quote"},{value:"underline",text:"$t:interfaces.input-block-editor.tools_options.underline"},{value:"inlinecode",text:"$t:interfaces.input-block-editor.tools_options.inlinecode"},{value:"delimiter",text:"$t:interfaces.input-block-editor.tools_options.delimiter"},{value:"checklist",text:"$t:interfaces.input-block-editor.tools_options.checklist"},{value:"toggle",text:"$t:interfaces.input-block-editor.tools_options.toggle"},{value:"alignment",text:"$t:interfaces.input-block-editor.tools_options.alignment"},{value:"raw",text:"$t:interfaces.input-block-editor.tools_options.raw"}]}}},{field:"bordered",name:"$t:displays.formatted-value.border",type:"boolean",meta:{width:"half",interface:"boolean",options:{label:"$t:displays.formatted-value.border_label"}},schema:{default_value:!0}},{field:"folder",name:"$t:interfaces.system-folder.folder",type:"uuid",meta:{width:"full",interface:"system-folder",note:"$t:interfaces.system-folder.field_hint"}}]});var i9e={exports:{}};(function(n,e){(function(t){t(Qf())})(function(t){t.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var i=0;i<t.modeInfo.length;i++){var o=t.modeInfo[i];o.mimes&&(o.mime=o.mimes[0])}t.findModeByMIME=function(r){r=r.toLowerCase();for(var a=0;a<t.modeInfo.length;a++){var s=t.modeInfo[a];if(s.mime==r)return s;if(s.mimes){for(var l=0;l<s.mimes.length;l++)if(s.mimes[l]==r)return s}}if(/\+xml$/.test(r))return t.findModeByMIME("application/xml");if(/\+json$/.test(r))return t.findModeByMIME("application/json")},t.findModeByExtension=function(r){r=r.toLowerCase();for(var a=0;a<t.modeInfo.length;a++){var s=t.modeInfo[a];if(s.ext){for(var l=0;l<s.ext.length;l++)if(s.ext[l]==r)return s}}},t.findModeByFileName=function(r){for(var a=0;a<t.modeInfo.length;a++){var s=t.modeInfo[a];if(s.file&&s.file.test(r))return s}var l=r.lastIndexOf("."),d=l>-1&&r.substring(l+1,r.length);if(d)return t.findModeByExtension(d)},t.findModeByName=function(r){r=r.toLowerCase();for(var a=0;a<t.modeInfo.length;a++){var s=t.modeInfo[a];if(s.name.toLowerCase()==r)return s;if(s.alias){for(var l=0;l<s.alias.length;l++)if(s.alias[l].toLowerCase()==r)return s}}}})})();var o9e=i9e.exports;function HT(n){switch(n){case"apl":return jt(()=>import("./apl-D1pF2SfY.js").then(e=>e.a),__vite__mapDeps([89,3,2,4]),import.meta.url);case"asciiarmor":return jt(()=>import("./asciiarmor-9YqXvbAd.js").then(e=>e.a),__vite__mapDeps([90,3,2,4]),import.meta.url);case"asn.1":return jt(()=>import("./asn.1-e0GR6jy7.js").then(e=>e.a),__vite__mapDeps([91,3,2,4]),import.meta.url);case"asterisk":return jt(()=>import("./asterisk-Bu6rOanP.js").then(e=>e.a),__vite__mapDeps([92,3,2,4]),import.meta.url);case"brainfuck":return jt(()=>import("./brainfuck-DDHAMHcm.js").then(e=>e.b),__vite__mapDeps([93,3,2,4]),import.meta.url);case"clike":return jt(()=>import("./clike-CzrpN8bi.js").then(e=>e.c),__vite__mapDeps([94,3,2,4]),import.meta.url);case"clojure":return jt(()=>import("./clojure-CX6DXYf1.js").then(e=>e.c),__vite__mapDeps([95,3,2,4]),import.meta.url);case"cmake":return jt(()=>import("./cmake-BFLGw5Kw.js").then(e=>e.c),__vite__mapDeps([96,3,2,4]),import.meta.url);case"cobol":return jt(()=>import("./cobol-DyJLnzLb.js").then(e=>e.c),__vite__mapDeps([97,3,2,4]),import.meta.url);case"coffeescript":return jt(()=>import("./coffeescript-DwdF8hKi.js").then(e=>e.c),__vite__mapDeps([98,3,2,4]),import.meta.url);case"commonlisp":return jt(()=>import("./commonlisp-OYE83vBi.js").then(e=>e.c),__vite__mapDeps([99,3,2,4]),import.meta.url);case"crystal":return jt(()=>import("./crystal-DsXMX00j.js").then(e=>e.c),__vite__mapDeps([100,3,2,4]),import.meta.url);case"css":return jt(()=>import("./css-DqwzpRjU.js").then(e=>e.c),__vite__mapDeps([101,3,2,4]),import.meta.url);case"cypher":return jt(()=>import("./cypher-BQ0aYFEA.js").then(e=>e.c),__vite__mapDeps([102,3,2,4]),import.meta.url);case"d":return jt(()=>import("./d-PSwSFGN0.js").then(e=>e.d),__vite__mapDeps([103,3,2,4]),import.meta.url);case"dart":return jt(()=>import("./dart-CToftxMq.js").then(e=>e.d),__vite__mapDeps([104,3,2,4,94]),import.meta.url);case"diff":return jt(()=>import("./diff-2Ur3Zkzi.js").then(e=>e.d),__vite__mapDeps([105,3,2,4]),import.meta.url);case"django":return jt(()=>import("./django-oyMicMW8.js").then(e=>e.d),__vite__mapDeps([106,3,2,4,107,108,101,109]),import.meta.url);case"dockerfile":return jt(()=>import("./dockerfile-DsWd02JY.js").then(e=>e.d),__vite__mapDeps([110,3,2,4]),import.meta.url);case"dtd":return jt(()=>import("./dtd-J_B5jtoX.js").then(e=>e.d),__vite__mapDeps([111,3,2,4]),import.meta.url);case"dylan":return jt(()=>import("./dylan-qAftJvGU.js").then(e=>e.d),__vite__mapDeps([112,3,2,4]),import.meta.url);case"ebnf":return jt(()=>import("./ebnf-BwLu0H4v.js").then(e=>e.e),__vite__mapDeps([113,3,2,4]),import.meta.url);case"ecl":return jt(()=>import("./ecl-jytDGjZ8.js").then(e=>e.e),__vite__mapDeps([114,3,2,4]),import.meta.url);case"eiffel":return jt(()=>import("./eiffel-ShsIZyIA.js").then(e=>e.e),__vite__mapDeps([115,3,2,4]),import.meta.url);case"elm":return jt(()=>import("./elm-BN3PEOm8.js").then(e=>e.e),__vite__mapDeps([116,3,2,4]),import.meta.url);case"erlang":return jt(()=>import("./erlang-DeE2JPSY.js").then(e=>e.e),__vite__mapDeps([117,3,2,4]),import.meta.url);case"factor":return jt(()=>import("./factor-IS4IhBJh.js").then(e=>e.f),__vite__mapDeps([118,3,2,4]),import.meta.url);case"fcl":return jt(()=>import("./fcl-v9nGNJVq.js").then(e=>e.f),__vite__mapDeps([119,3,2,4]),import.meta.url);case"forth":return jt(()=>import("./forth-BCJ4NquQ.js").then(e=>e.f),__vite__mapDeps([120,3,2,4]),import.meta.url);case"fortran":return jt(()=>import("./fortran-l2Mv9hmJ.js").then(e=>e.f),__vite__mapDeps([121,3,2,4]),import.meta.url);case"gas":return jt(()=>import("./gas-CQ9waVX1.js").then(e=>e.g),__vite__mapDeps([122,3,2,4]),import.meta.url);case"gfm":return jt(()=>import("./gfm-hM61imtW.js").then(e=>e.g),__vite__mapDeps([123,3,2,4,109]),import.meta.url);case"gherkin":return jt(()=>import("./gherkin-BYMnr4Zk.js").then(e=>e.g),__vite__mapDeps([124,3,2,4]),import.meta.url);case"go":return jt(()=>import("./go-B9oyj0tu.js").then(e=>e.g),__vite__mapDeps([125,3,2,4]),import.meta.url);case"groovy":return jt(()=>import("./groovy-C9c0GiYE.js").then(e=>e.g),__vite__mapDeps([126,3,2,4]),import.meta.url);case"haml":return jt(()=>import("./haml-CUKGEPlx.js").then(e=>e.h),__vite__mapDeps([127,3,2,4,107,108,101,128]),import.meta.url);case"handlebars":return jt(()=>import("./handlebars-BeDkzwZJ.js").then(e=>e.h),__vite__mapDeps([129,3,2,4,130]),import.meta.url);case"haskell":return jt(()=>import("./haskell-BYpPpdXP.js").then(e=>e.h),__vite__mapDeps([131,3,2,4]),import.meta.url);case"haskell-literate":return jt(()=>import("./haskell-literate-BRF_OjgC.js").then(e=>e.h),__vite__mapDeps([132,3,2,4,131]),import.meta.url);case"haxe":return jt(()=>import("./haxe-O_J1v_XY.js").then(e=>e.h),__vite__mapDeps([133,3,2,4]),import.meta.url);case"htmlembedded":return jt(()=>import("./htmlembedded-DzatDa7E.js").then(e=>e.h),__vite__mapDeps([134,3,2,4,107,108,101,130]),import.meta.url);case"htmlmixed":return jt(()=>import("./htmlmixed-51ADzyde.js").then(e=>e.h),__vite__mapDeps([135,3,2,4,107,108,101]),import.meta.url);case"http":return jt(()=>import("./http-BtbFwkIx.js").then(e=>e.h),__vite__mapDeps([136,3,2,4]),import.meta.url);case"idl":return jt(()=>import("./idl-DtoLdhsR.js").then(e=>e.i),__vite__mapDeps([137,3,2,4]),import.meta.url);case"javascript":return jt(()=>import("./javascript-6x864wjq.js").then(e=>e.j),__vite__mapDeps([108,3,2,4]),import.meta.url);case"jinja2":return jt(()=>import("./jinja2-ClJp6yB9.js").then(e=>e.j),__vite__mapDeps([138,3,2,4]),import.meta.url);case"jsx":return jt(()=>import("./jsx-DiAW9hUb.js").then(e=>e.j),__vite__mapDeps([139,3,2,4,108]),import.meta.url);case"julia":return jt(()=>import("./julia-C2aDFL1r.js").then(e=>e.j),__vite__mapDeps([140,3,2,4]),import.meta.url);case"livescript":return jt(()=>import("./livescript-IIbQegHb.js").then(e=>e.l),__vite__mapDeps([141,3,2,4]),import.meta.url);case"lua":return jt(()=>import("./lua-CZ3R6Q6G.js").then(e=>e.l),__vite__mapDeps([142,3,2,4]),import.meta.url);case"markdown":return jt(()=>Promise.resolve().then(()=>D9e),void 0,import.meta.url);case"mathematica":return jt(()=>import("./mathematica-CM8bZ-C5.js").then(e=>e.m),__vite__mapDeps([143,3,2,4]),import.meta.url);case"mbox":return jt(()=>import("./mbox-D9uP9sRR.js").then(e=>e.m),__vite__mapDeps([144,3,2,4]),import.meta.url);case"mirc":return jt(()=>import("./mirc-DOA86--1.js").then(e=>e.m),__vite__mapDeps([145,3,2,4]),import.meta.url);case"mllike":return jt(()=>import("./mllike-w1iLpaku.js").then(e=>e.m),__vite__mapDeps([146,3,2,4]),import.meta.url);case"modelica":return jt(()=>import("./modelica-CYVL0Ne2.js").then(e=>e.m),__vite__mapDeps([147,3,2,4]),import.meta.url);case"mscgen":return jt(()=>import("./mscgen-BGlM-WLs.js").then(e=>e.m),__vite__mapDeps([148,3,2,4]),import.meta.url);case"mumps":return jt(()=>import("./mumps-C-vbOccD.js").then(e=>e.m),__vite__mapDeps([149,3,2,4]),import.meta.url);case"nginx":return jt(()=>import("./nginx-DmdybkpH.js").then(e=>e.n),__vite__mapDeps([150,3,2,4]),import.meta.url);case"nsis":return jt(()=>import("./nsis-Dzlq7Bzc.js").then(e=>e.n),__vite__mapDeps([151,3,2,4]),import.meta.url);case"ntriples":return jt(()=>import("./ntriples-C3dZiTNR.js").then(e=>e.n),__vite__mapDeps([152,3,2,4]),import.meta.url);case"octave":return jt(()=>import("./octave-DQNEDs7y.js").then(e=>e.o),__vite__mapDeps([153,3,2,4]),import.meta.url);case"oz":return jt(()=>import("./oz-DBattjwA.js").then(e=>e.o),__vite__mapDeps([154,3,2,4]),import.meta.url);case"pascal":return jt(()=>import("./pascal-CC6JfJz9.js").then(e=>e.p),__vite__mapDeps([155,3,2,4]),import.meta.url);case"pegjs":return jt(()=>import("./pegjs-CXTYt6fa.js").then(e=>e.p),__vite__mapDeps([156,3,2,4,108]),import.meta.url);case"perl":return jt(()=>import("./perl-CYWKa74D.js").then(e=>e.p),__vite__mapDeps([157,3,2,4]),import.meta.url);case"php":return jt(()=>import("./php-Dw9kPwat.js").then(e=>e.p),__vite__mapDeps([158,3,2,4,107,108,101,94]),import.meta.url);case"pig":return jt(()=>import("./pig-BWf6Lxbs.js").then(e=>e.p),__vite__mapDeps([159,3,2,4]),import.meta.url);case"powershell":return jt(()=>import("./powershell-CV4_aDqx.js").then(e=>e.p),__vite__mapDeps([160,3,2,4]),import.meta.url);case"properties":return jt(()=>import("./properties-DN-ev7lS.js").then(e=>e.p),__vite__mapDeps([161,3,2,4]),import.meta.url);case"protobuf":return jt(()=>import("./protobuf-DU5s5JNc.js").then(e=>e.p),__vite__mapDeps([162,3,2,4]),import.meta.url);case"pug":return jt(()=>import("./pug-C3oZPL3-.js").then(e=>e.p),__vite__mapDeps([163,3,2,4,108,101,107]),import.meta.url);case"puppet":return jt(()=>import("./puppet-J7NWnfwH.js").then(e=>e.p),__vite__mapDeps([164,3,2,4]),import.meta.url);case"python":return jt(()=>import("./python-DAv8Tvfc.js").then(e=>e.p),__vite__mapDeps([165,3,2,4]),import.meta.url);case"q":return jt(()=>import("./q-CsemHo97.js").then(e=>e.q),__vite__mapDeps([166,3,2,4]),import.meta.url);case"r":return jt(()=>import("./r-DkBKMmL4.js").then(e=>e.r),__vite__mapDeps([167,3,2,4]),import.meta.url);case"rpm":return jt(()=>import("./rpm-CPq6PvmR.js").then(e=>e.r),__vite__mapDeps([168,3,2,4]),import.meta.url);case"rst":return jt(()=>import("./rst-Bz-YKprp.js").then(e=>e.r),__vite__mapDeps([169,3,2,4,165,170,109]),import.meta.url);case"ruby":return jt(()=>import("./ruby-g0mWmgpe.js").then(e=>e.r),__vite__mapDeps([171,3,2,4,128]),import.meta.url);case"rust":return jt(()=>import("./rust-SzvZ1Wxm.js").then(e=>e.r),__vite__mapDeps([172,3,2,4]),import.meta.url);case"sas":return jt(()=>import("./sas-Dv2Fqs5f.js").then(e=>e.s),__vite__mapDeps([173,3,2,4]),import.meta.url);case"sass":return jt(()=>import("./sass-YK3SNo6R.js").then(e=>e.s),__vite__mapDeps([174,3,2,4,101]),import.meta.url);case"scheme":return jt(()=>import("./scheme-na_2SAK-.js").then(e=>e.s),__vite__mapDeps([175,3,2,4]),import.meta.url);case"shell":return jt(()=>import("./shell-BU_8-B4V.js").then(e=>e.s),__vite__mapDeps([176,3,2,4]),import.meta.url);case"sieve":return jt(()=>import("./sieve-BUwUZgu8.js").then(e=>e.s),__vite__mapDeps([177,3,2,4]),import.meta.url);case"slim":return jt(()=>import("./slim-ClqRjvar.js").then(e=>e.s),__vite__mapDeps([178,3,2,4,107,108,101,128]),import.meta.url);case"smalltalk":return jt(()=>import("./smalltalk-DvLyjv8j.js").then(e=>e.s),__vite__mapDeps([179,3,2,4]),import.meta.url);case"smarty":return jt(()=>import("./smarty-CVWVK8IB.js").then(e=>e.s),__vite__mapDeps([180,3,2,4]),import.meta.url);case"solr":return jt(()=>import("./solr-Hk_y-Y-m.js").then(e=>e.s),__vite__mapDeps([181,3,2,4]),import.meta.url);case"soy":return jt(()=>import("./soy-iLLOuFrD.js").then(e=>e.s),__vite__mapDeps([182,3,2,4,107,108,101]),import.meta.url);case"sparql":return jt(()=>import("./sparql-UGX8rcXZ.js").then(e=>e.s),__vite__mapDeps([183,3,2,4]),import.meta.url);case"spreadsheet":return jt(()=>import("./spreadsheet-Djpyn9d0.js").then(e=>e.s),__vite__mapDeps([184,3,2,4]),import.meta.url);case"sql":return jt(()=>import("./sql-BUr--cKa.js").then(e=>e.s),__vite__mapDeps([185,3,2,4]),import.meta.url);case"stex":return jt(()=>import("./stex-BfgxpNkl.js").then(e=>e.s),__vite__mapDeps([186,3,2,4,170]),import.meta.url);case"stylus":return jt(()=>import("./stylus-Dy8-ShbF.js").then(e=>e.s),__vite__mapDeps([187,3,2,4]),import.meta.url);case"swift":return jt(()=>import("./swift-GHtS3DHn.js").then(e=>e.s),__vite__mapDeps([188,3,2,4]),import.meta.url);case"tcl":return jt(()=>import("./tcl-4x45iV8j.js").then(e=>e.t),__vite__mapDeps([189,3,2,4]),import.meta.url);case"textile":return jt(()=>import("./textile-DhrTT1Sm.js").then(e=>e.t),__vite__mapDeps([190,3,2,4]),import.meta.url);case"tiddlywiki":return jt(()=>import("./tiddlywiki-hYTQxve7.js").then(e=>e.t),__vite__mapDeps([191,3,2,4]),import.meta.url);case"tiki":return jt(()=>import("./tiki-CB4OCRsg.js").then(e=>e.t),__vite__mapDeps([192,3,2,4]),import.meta.url);case"toml":return jt(()=>import("./toml-Czj0Y_6u.js").then(e=>e.t),__vite__mapDeps([193,3,2,4]),import.meta.url);case"tornado":return jt(()=>import("./tornado-BeBq73d4.js").then(e=>e.t),__vite__mapDeps([194,3,2,4,107,108,101,109]),import.meta.url);case"troff":return jt(()=>import("./troff-CV78ZAA2.js").then(e=>e.t),__vite__mapDeps([195,3,2,4]),import.meta.url);case"ttcn":return jt(()=>import("./ttcn-BZ6RHtNY.js").then(e=>e.t),__vite__mapDeps([196,3,2,4]),import.meta.url);case"ttcn-cfg":return jt(()=>import("./ttcn-cfg-D2qlamso.js").then(e=>e.t),__vite__mapDeps([197,3,2,4]),import.meta.url);case"turtle":return jt(()=>import("./turtle-BjrdFaPo.js").then(e=>e.t),__vite__mapDeps([198,3,2,4]),import.meta.url);case"twig":return jt(()=>import("./twig-D2T-X0dJ.js").then(e=>e.t),__vite__mapDeps([199,3,2,4,130]),import.meta.url);case"vb":return jt(()=>import("./vb-DI8j2lbg.js").then(e=>e.v),__vite__mapDeps([200,3,2,4]),import.meta.url);case"vbscript":return jt(()=>import("./vbscript-S_xkTysW.js").then(e=>e.v),__vite__mapDeps([201,3,2,4]),import.meta.url);case"velocity":return jt(()=>import("./velocity-BxXyhAbj.js").then(e=>e.v),__vite__mapDeps([202,3,2,4]),import.meta.url);case"verilog":return jt(()=>import("./verilog-GJ628has.js").then(e=>e.v),__vite__mapDeps([203,3,2,4]),import.meta.url);case"vhdl":return jt(()=>import("./vhdl-qSZgrAKe.js").then(e=>e.v),__vite__mapDeps([204,3,2,4]),import.meta.url);case"vue":return jt(()=>import("./vue-Ta4MkK5c.js").then(e=>e.v),__vite__mapDeps([205,3,2,4,109,108,98,101,174,187,163,107,129,130]),import.meta.url);case"wast":return jt(()=>import("./wast-C4koVhH9.js").then(e=>e.w),__vite__mapDeps([206,3,2,4]),import.meta.url);case"webidl":return jt(()=>import("./webidl-gKYBnOj1.js").then(e=>e.w),__vite__mapDeps([207,3,2,4]),import.meta.url);case"xml":return jt(()=>import("./xml-Nfp7Ap8C.js").then(e=>e.x),__vite__mapDeps([208,3,2,4]),import.meta.url);case"xquery":return jt(()=>import("./xquery-OTkq1VBr.js").then(e=>e.x),__vite__mapDeps([209,3,2,4]),import.meta.url);case"yacas":return jt(()=>import("./yacas-hvpKeT9g.js").then(e=>e.y),__vite__mapDeps([210,3,2,4]),import.meta.url);case"yaml":return jt(()=>import("./yaml-DvIp3ZtG.js").then(e=>e.y),__vite__mapDeps([211,3,2,4]),import.meta.url);case"yaml-frontmatter":return jt(()=>import("./yaml-frontmatter-B4NRcAH_.js").then(e=>e.y),__vite__mapDeps([212,3,2,4,211]),import.meta.url);case"z80":return jt(()=>import("./z80-Dlhosvnm.js").then(e=>e.z),__vite__mapDeps([213,3,2,4]),import.meta.url);default:return Promise.resolve()}}(function(n,e){(function(t){t(Qf())})(function(t){var i={},o=/[^\s\u00a0]/,r=t.Pos,a=t.cmpPos;function s(f){var g=f.search(o);return g==-1?0:g}t.commands.toggleComment=function(f){f.toggleComment()},t.defineExtension("toggleComment",function(f){f||(f=i);for(var g=this,v=1/0,b=this.listSelections(),x=null,k=b.length-1;k>=0;k--){var S=b[k].from(),O=b[k].to();S.line>=v||(O.line>=v&&(O=r(v,0)),v=S.line,x==null?g.uncomment(S,O,f)?x="un":(g.lineComment(S,O,f),x="line"):x=="un"?g.uncomment(S,O,f):g.lineComment(S,O,f))}});function l(f,g,v){return/\bstring\b/.test(f.getTokenTypeAt(r(g.line,0)))&&!/^[\'\"\`]/.test(v)}function d(f,g){var v=f.getMode();return v.useInnerComments===!1||!v.innerMode?v:f.getModeAt(g)}t.defineExtension("lineComment",function(f,g,v){v||(v=i);var b=this,x=d(b,f),k=b.getLine(f.line);if(!(k==null||l(b,f,k))){var S=v.lineComment||x.lineComment;if(!S){(v.blockCommentStart||x.blockCommentStart)&&(v.fullLines=!0,b.blockComment(f,g,v));return}var O=Math.min(g.ch!=0||g.line==f.line?g.line+1:g.line,b.lastLine()+1),w=v.padding==null?" ":v.padding,D=v.commentBlankLines||f.line==g.line;b.operation(function(){if(v.indent){for(var I=null,$=f.line;$<O;++$){var B=b.getLine($),X=B.search(o)===-1?B:B.slice(0,s(B));(I==null||I.length>X.length)&&(I=X)}for(var $=f.line;$<O;++$){var B=b.getLine($),Y=I.length;!D&&!o.test(B)||(B.slice(0,Y)!=I&&(Y=s(B)),b.replaceRange(I+S+w,r($,0),r($,Y)))}}else for(var $=f.line;$<O;++$)(D||o.test(b.getLine($)))&&b.replaceRange(S+w,r($,0))})}}),t.defineExtension("blockComment",function(f,g,v){v||(v=i);var b=this,x=d(b,f),k=v.blockCommentStart||x.blockCommentStart,S=v.blockCommentEnd||x.blockCommentEnd;if(!k||!S){(v.lineComment||x.lineComment)&&v.fullLines!=!1&&b.lineComment(f,g,v);return}if(!/\bcomment\b/.test(b.getTokenTypeAt(r(f.line,0)))){var O=Math.min(g.line,b.lastLine());O!=f.line&&g.ch==0&&o.test(b.getLine(O))&&--O;var w=v.padding==null?" ":v.padding;f.line>O||b.operation(function(){if(v.fullLines!=!1){var D=o.test(b.getLine(O));b.replaceRange(w+S,r(O)),b.replaceRange(k+w,r(f.line,0));var I=v.blockCommentLead||x.blockCommentLead;if(I!=null)for(var $=f.line+1;$<=O;++$)($!=O||D)&&b.replaceRange(I+w,r($,0))}else{var B=a(b.getCursor("to"),g)==0,X=!b.somethingSelected();b.replaceRange(S,g),B&&b.setSelection(X?g:b.getCursor("from"),g),b.replaceRange(k,f)}})}}),t.defineExtension("uncomment",function(f,g,v){v||(v=i);var b=this,x=d(b,f),k=Math.min(g.ch!=0||g.line==f.line?g.line:g.line-1,b.lastLine()),S=Math.min(f.line,k),O=v.lineComment||x.lineComment,w=[],D=v.padding==null?" ":v.padding,I;e:{if(!O)break e;for(var $=S;$<=k;++$){var B=b.getLine($),X=B.indexOf(O);if(X>-1&&!/comment/.test(b.getTokenTypeAt(r($,X+1)))&&(X=-1),X==-1&&o.test(B)||X>-1&&o.test(B.slice(0,X)))break e;w.push(B)}if(b.operation(function(){for(var tt=S;tt<=k;++tt){var nt=w[tt-S],Se=nt.indexOf(O),Te=Se+O.length;Se<0||(nt.slice(Te,Te+D.length)==D&&(Te+=D.length),I=!0,b.replaceRange("",r(tt,Se),r(tt,Te)))}}),I)return!0}var Y=v.blockCommentStart||x.blockCommentStart,Q=v.blockCommentEnd||x.blockCommentEnd;if(!Y||!Q)return!1;var ue=v.blockCommentLead||x.blockCommentLead,ce=b.getLine(S),ve=ce.indexOf(Y);if(ve==-1)return!1;var ie=k==S?ce:b.getLine(k),se=ie.indexOf(Q,k==S?ve+Y.length:0),te=r(S,ve+1),ye=r(k,se+1);if(se==-1||!/comment/.test(b.getTokenTypeAt(te))||!/comment/.test(b.getTokenTypeAt(ye))||b.getRange(te,ye,`
|
|
603
603
|
`).indexOf(Q)>-1)return!1;var Ee=ce.lastIndexOf(Y,f.ch),Ce=Ee==-1?-1:ce.slice(0,f.ch).indexOf(Q,Ee+Y.length);if(Ee!=-1&&Ce!=-1&&Ce+Q.length!=f.ch)return!1;Ce=ie.indexOf(Q,g.ch);var je=ie.slice(g.ch).lastIndexOf(Y,Ce-g.ch);return Ee=Ce==-1||je==-1?-1:g.ch+je,Ce!=-1&&Ee!=-1&&Ee!=g.ch?!1:(b.operation(function(){b.replaceRange("",r(k,se-(D&&ie.slice(se-D.length,se)==D?D.length:0)),r(k,se+Q.length));var tt=ve+Y.length;if(D&&ce.slice(tt,tt+D.length)==D&&(tt+=D.length),b.replaceRange("",r(S,ve),r(S,tt)),ue)for(var nt=S+1;nt<=k;++nt){var Se=b.getLine(nt),Te=Se.indexOf(ue);if(!(Te==-1||o.test(Se.slice(0,Te)))){var lt=Te+ue.length;D&&Se.slice(lt,lt+D.length)==D&&(lt+=D.length),b.replaceRange("",r(nt,Te),r(nt,lt))}}}),!0)})})})();var a9e={exports:{}};(function(n,e){(function(t){t(Qf())})(function(t){function i(r,a,s){var l=r.getWrapperElement(),d;return d=l.appendChild(document.createElement("div")),s?d.className="CodeMirror-dialog CodeMirror-dialog-bottom":d.className="CodeMirror-dialog CodeMirror-dialog-top",typeof a=="string"?d.innerHTML=a:d.appendChild(a),t.addClass(l,"dialog-opened"),d}function o(r,a){r.state.currentNotificationClose&&r.state.currentNotificationClose(),r.state.currentNotificationClose=a}t.defineExtension("openDialog",function(r,a,s){s||(s={}),o(this,null);var l=i(this,r,s.bottom),d=!1,f=this;function g(x){if(typeof x=="string")v.value=x;else{if(d)return;d=!0,t.rmClass(l.parentNode,"dialog-opened"),l.parentNode.removeChild(l),f.focus(),s.onClose&&s.onClose(l)}}var v=l.getElementsByTagName("input")[0],b;return v?(v.focus(),s.value&&(v.value=s.value,s.selectValueOnOpen!==!1&&v.select()),s.onInput&&t.on(v,"input",function(x){s.onInput(x,v.value,g)}),s.onKeyUp&&t.on(v,"keyup",function(x){s.onKeyUp(x,v.value,g)}),t.on(v,"keydown",function(x){s&&s.onKeyDown&&s.onKeyDown(x,v.value,g)||((x.keyCode==27||s.closeOnEnter!==!1&&x.keyCode==13)&&(v.blur(),t.e_stop(x),g()),x.keyCode==13&&a(v.value,x))}),s.closeOnBlur!==!1&&t.on(l,"focusout",function(x){x.relatedTarget!==null&&g()})):(b=l.getElementsByTagName("button")[0])&&(t.on(b,"click",function(){g(),f.focus()}),s.closeOnBlur!==!1&&t.on(b,"blur",g),b.focus()),g}),t.defineExtension("openConfirm",function(r,a,s){o(this,null);var l=i(this,r,s&&s.bottom),d=l.getElementsByTagName("button"),f=!1,g=this,v=1;function b(){f||(f=!0,t.rmClass(l.parentNode,"dialog-opened"),l.parentNode.removeChild(l),g.focus())}d[0].focus();for(var x=0;x<d.length;++x){var k=d[x];(function(S){t.on(k,"click",function(O){t.e_preventDefault(O),b(),S&&S(g)})})(a[x]),t.on(k,"blur",function(){--v,setTimeout(function(){v<=0&&b()},200)}),t.on(k,"focus",function(){++v})}}),t.defineExtension("openNotification",function(r,a){o(this,g);var s=i(this,r,a&&a.bottom),l=!1,d,f=a&&typeof a.duration<"u"?a.duration:5e3;function g(){l||(l=!0,clearTimeout(d),t.rmClass(s.parentNode,"dialog-opened"),s.parentNode.removeChild(s))}return t.on(s,"click",function(v){t.e_preventDefault(v),g()}),f&&(d=setTimeout(g,f)),g})})})();var r9e=a9e.exports;(function(n,e){(function(t){t(Qf())})(function(t){t.defineOption("placeholder","",function(d,f,g){var v=g&&g!=t.Init;if(f&&!v)d.on("blur",a),d.on("change",s),d.on("swapDoc",s),t.on(d.getInputField(),"compositionupdate",d.state.placeholderCompose=function(){r(d)}),s(d);else if(!f&&v){d.off("blur",a),d.off("change",s),d.off("swapDoc",s),t.off(d.getInputField(),"compositionupdate",d.state.placeholderCompose),i(d);var b=d.getWrapperElement();b.className=b.className.replace(" CodeMirror-empty","")}f&&!d.hasFocus()&&a(d)});function i(d){d.state.placeholder&&(d.state.placeholder.parentNode.removeChild(d.state.placeholder),d.state.placeholder=null)}function o(d){i(d);var f=d.state.placeholder=document.createElement("pre");f.style.cssText="height: 0; overflow: visible",f.style.direction=d.getOption("direction"),f.className="CodeMirror-placeholder CodeMirror-line-like";var g=d.getOption("placeholder");typeof g=="string"&&(g=document.createTextNode(g)),f.appendChild(g),d.display.lineSpace.insertBefore(f,d.display.lineSpace.firstChild)}function r(d){setTimeout(function(){var f=!1;if(d.lineCount()==1){var g=d.getInputField();f=g.nodeName=="TEXTAREA"?!d.getLine(0).length:!/[^\u200b]/.test(g.querySelector(".CodeMirror-line").textContent)}f?o(d):i(d)},20)}function a(d){l(d)&&o(d)}function s(d){var f=d.getWrapperElement(),g=l(d);f.className=f.className.replace(" CodeMirror-empty","")+(g?" CodeMirror-empty":""),g?o(d):i(d)}function l(d){return d.lineCount()===1&&d.getLine(0)===""}})})();(function(n,e){(function(t){t(Qf())})(function(t){var i="CodeMirror-lint-markers",o="CodeMirror-lint-line-";function r(X,Y,Q){var ue=document.createElement("div");ue.className="CodeMirror-lint-tooltip cm-s-"+X.options.theme,ue.appendChild(Q.cloneNode(!0)),X.state.lint.options.selfContain?X.getWrapperElement().appendChild(ue):document.body.appendChild(ue);function ce(ve){if(!ue.parentNode)return t.off(document,"mousemove",ce);var ie=Math.max(0,ve.clientY-ue.offsetHeight-5),se=Math.max(0,Math.min(ve.clientX+5,ue.ownerDocument.defaultView.innerWidth-ue.offsetWidth));ue.style.top=ie+"px",ue.style.left=se+"px"}return t.on(document,"mousemove",ce),ce(Y),ue.style.opacity!=null&&(ue.style.opacity=1),ue}function a(X){X.parentNode&&X.parentNode.removeChild(X)}function s(X){X.parentNode&&(X.style.opacity==null&&a(X),X.style.opacity=0,setTimeout(function(){a(X)},600))}function l(X,Y,Q,ue){var ce=r(X,Y,Q);function ve(){t.off(ue,"mouseout",ve),ce&&(s(ce),ce=null)}var ie=setInterval(function(){if(ce)for(var se=ue;;se=se.parentNode){if(se&&se.nodeType==11&&(se=se.host),se==document.body)return;if(!se){ve();break}}if(!ce)return clearInterval(ie)},400);t.on(ue,"mouseout",ve)}function d(X,Y,Q){this.marked=[],Y instanceof Function&&(Y={getAnnotations:Y}),(!Y||Y===!0)&&(Y={}),this.options={},this.linterOptions=Y.options||{};for(var ue in f)this.options[ue]=f[ue];for(var ue in Y)f.hasOwnProperty(ue)?Y[ue]!=null&&(this.options[ue]=Y[ue]):Y.options||(this.linterOptions[ue]=Y[ue]);this.timeout=null,this.hasGutter=Q,this.onMouseOver=function(ce){B(X,ce)},this.waitingFor=0}var f={highlightLines:!1,tooltips:!0,delay:500,lintOnChange:!0,getAnnotations:null,async:!1,selfContain:null,formatAnnotation:null,onUpdateLinting:null};function g(X){var Y=X.state.lint;Y.hasGutter&&X.clearGutter(i),Y.options.highlightLines&&v(X);for(var Q=0;Q<Y.marked.length;++Q)Y.marked[Q].clear();Y.marked.length=0}function v(X){X.eachLine(function(Y){var Q=Y.wrapClass&&/\bCodeMirror-lint-line-\w+\b/.exec(Y.wrapClass);Q&&X.removeLineClass(Y,"wrap",Q[0])})}function b(X,Y,Q,ue,ce){var ve=document.createElement("div"),ie=ve;return ve.className="CodeMirror-lint-marker CodeMirror-lint-marker-"+Q,ue&&(ie=ve.appendChild(document.createElement("div")),ie.className="CodeMirror-lint-marker CodeMirror-lint-marker-multiple"),ce!=!1&&t.on(ie,"mouseover",function(se){l(X,se,Y,ie)}),ve}function x(X,Y){return X=="error"?X:Y}function k(X){for(var Y=[],Q=0;Q<X.length;++Q){var ue=X[Q],ce=ue.from.line;(Y[ce]||(Y[ce]=[])).push(ue)}return Y}function S(X){var Y=X.severity;Y||(Y="error");var Q=document.createElement("div");return Q.className="CodeMirror-lint-message CodeMirror-lint-message-"+Y,typeof X.messageHTML<"u"?Q.innerHTML=X.messageHTML:Q.appendChild(document.createTextNode(X.message)),Q}function O(X,Y){var Q=X.state.lint,ue=++Q.waitingFor;function ce(){ue=-1,X.off("change",ce)}X.on("change",ce),Y(X.getValue(),function(ve,ie){X.off("change",ce),Q.waitingFor==ue&&(ie&&ve instanceof t&&(ve=ie),X.operation(function(){D(X,ve)}))},Q.linterOptions,X)}function w(X){var Y=X.state.lint;if(Y){var Q=Y.options,ue=Q.getAnnotations||X.getHelper(t.Pos(0,0),"lint");if(ue)if(Q.async||ue.async)O(X,ue);else{var ce=ue(X.getValue(),Y.linterOptions,X);if(!ce)return;ce.then?ce.then(function(ve){X.operation(function(){D(X,ve)})}):X.operation(function(){D(X,ce)})}}}function D(X,Y){var Q=X.state.lint;if(Q){var ue=Q.options;g(X);for(var ce=k(Y),ve=0;ve<ce.length;++ve){var ie=ce[ve];if(ie){for(var se=null,te=Q.hasGutter&&document.createDocumentFragment(),ye=0;ye<ie.length;++ye){var Ee=ie[ye],Ce=Ee.severity;Ce||(Ce="error"),se=x(se,Ce),ue.formatAnnotation&&(Ee=ue.formatAnnotation(Ee)),Q.hasGutter&&te.appendChild(S(Ee)),Ee.to&&Q.marked.push(X.markText(Ee.from,Ee.to,{className:"CodeMirror-lint-mark CodeMirror-lint-mark-"+Ce,__annotation:Ee}))}Q.hasGutter&&X.setGutterMarker(ve,i,b(X,te,se,ie.length>1,ue.tooltips)),ue.highlightLines&&X.addLineClass(ve,"wrap",o+se)}}ue.onUpdateLinting&&ue.onUpdateLinting(Y,ce,X)}}function I(X){var Y=X.state.lint;Y&&(clearTimeout(Y.timeout),Y.timeout=setTimeout(function(){w(X)},Y.options.delay))}function $(X,Y,Q){for(var ue=Q.target||Q.srcElement,ce=document.createDocumentFragment(),ve=0;ve<Y.length;ve++){var ie=Y[ve];ce.appendChild(S(ie))}l(X,Q,ce,ue)}function B(X,Y){var Q=Y.target||Y.srcElement;if(/\bCodeMirror-lint-mark-/.test(Q.className)){for(var ue=Q.getBoundingClientRect(),ce=(ue.left+ue.right)/2,ve=(ue.top+ue.bottom)/2,ie=X.findMarksAt(X.coordsChar({left:ce,top:ve},"client")),se=[],te=0;te<ie.length;++te){var ye=ie[te].__annotation;ye&&se.push(ye)}se.length&&$(X,se,Y)}}t.defineOption("lint",!1,function(X,Y,Q){if(Q&&Q!=t.Init&&(g(X),X.state.lint.options.lintOnChange!==!1&&X.off("change",I),t.off(X.getWrapperElement(),"mouseover",X.state.lint.onMouseOver),clearTimeout(X.state.lint.timeout),delete X.state.lint),Y){for(var ue=X.getOption("gutters"),ce=!1,ve=0;ve<ue.length;++ve)ue[ve]==i&&(ce=!0);var ie=X.state.lint=new d(X,Y,ce);ie.options.lintOnChange&&X.on("change",I),ie.options.tooltips!=!1&&ie.options.tooltips!="gutter"&&t.on(X.getWrapperElement(),"mouseover",ie.onMouseOver),w(X)}}),t.defineExtension("performLint",function(){w(this)})})})();var s9e={exports:{}};(function(n,e){(function(t){t(Qf())})(function(t){t.defineExtension("annotateScrollbar",function(o){return typeof o=="string"&&(o={className:o}),new i(this,o)}),t.defineOption("scrollButtonHeight",0);function i(o,r){this.cm=o,this.options=r,this.buttonHeight=r.scrollButtonHeight||o.getOption("scrollButtonHeight"),this.annotations=[],this.doRedraw=this.doUpdate=null,this.div=o.getWrapperElement().appendChild(document.createElement("div")),this.div.style.cssText="position: absolute; right: 0; top: 0; z-index: 7; pointer-events: none",this.computeScale();function a(l){clearTimeout(s.doRedraw),s.doRedraw=setTimeout(function(){s.redraw()},l)}var s=this;o.on("refresh",this.resizeHandler=function(){clearTimeout(s.doUpdate),s.doUpdate=setTimeout(function(){s.computeScale()&&a(20)},100)}),o.on("markerAdded",this.resizeHandler),o.on("markerCleared",this.resizeHandler),r.listenForChanges!==!1&&o.on("changes",this.changeHandler=function(){a(250)})}i.prototype.computeScale=function(){var o=this.cm,r=(o.getWrapperElement().clientHeight-o.display.barHeight-this.buttonHeight*2)/o.getScrollerElement().scrollHeight;if(r!=this.hScale)return this.hScale=r,!0},i.prototype.update=function(o){this.annotations=o,this.redraw()},i.prototype.redraw=function(o){o!==!1&&this.computeScale();var r=this.cm,a=this.hScale,s=document.createDocumentFragment(),l=this.annotations,d=r.getOption("lineWrapping"),f=d&&r.defaultTextHeight()*1.5,g=null,v=null;function b(B,X){if(g!=B.line){g=B.line,v=r.getLineHandle(B.line);var Y=r.getLineHandleVisualStart(v);Y!=v&&(g=r.getLineNumber(Y),v=Y)}if(v.widgets&&v.widgets.length||d&&v.height>f)return r.charCoords(B,"local")[X?"top":"bottom"];var Q=r.heightAtLine(v,"local");return Q+(X?0:v.height)}var x=r.lastLine();if(r.display.barWidth)for(var k=0,S;k<l.length;k++){var O=l[k];if(!(O.to.line>x)){for(var w=S||b(O.from,!0)*a,D=b(O.to,!1)*a;k<l.length-1&&!(l[k+1].to.line>x||(S=b(l[k+1].from,!0)*a,S>D+.9));)O=l[++k],D=b(O.to,!1)*a;if(D!=w){var I=Math.max(D-w,3),$=s.appendChild(document.createElement("div"));$.style.cssText="position: absolute; right: 0px; width: "+Math.max(r.display.barWidth-1,2)+"px; top: "+(w+this.buttonHeight)+"px; height: "+I+"px",$.className=this.options.className,O.id&&$.setAttribute("annotation-id",O.id)}}}this.div.textContent="",this.div.appendChild(s)},i.prototype.clear=function(){this.cm.off("refresh",this.resizeHandler),this.cm.off("markerAdded",this.resizeHandler),this.cm.off("markerCleared",this.resizeHandler),this.changeHandler&&this.cm.off("changes",this.changeHandler),this.div.parentNode.removeChild(this.div)}})})();var l9e=s9e.exports,c9e={exports:{}},UT={exports:{}},WT;function j8(){return WT||(WT=1,function(n,e){(function(t){t(Qf())})(function(t){var i=t.Pos;function o(w){var D=w.flags;return D??(w.ignoreCase?"i":"")+(w.global?"g":"")+(w.multiline?"m":"")}function r(w,D){for(var I=o(w),$=I,B=0;B<D.length;B++)$.indexOf(D.charAt(B))==-1&&($+=D.charAt(B));return I==$?w:new RegExp(w.source,$)}function a(w){return/\\s|\\n|\n|\\W|\\D|\[\^/.test(w.source)}function s(w,D,I){D=r(D,"g");for(var $=I.line,B=I.ch,X=w.lastLine();$<=X;$++,B=0){D.lastIndex=B;var Y=w.getLine($),Q=D.exec(Y);if(Q)return{from:i($,Q.index),to:i($,Q.index+Q[0].length),match:Q}}}function l(w,D,I){if(!a(D))return s(w,D,I);D=r(D,"gm");for(var $,B=1,X=I.line,Y=w.lastLine();X<=Y;){for(var Q=0;Q<B&&!(X>Y);Q++){var ue=w.getLine(X++);$=$==null?ue:$+`
|
|
604
604
|
`+ue}B=B*2,D.lastIndex=I.ch;var ce=D.exec($);if(ce){var ve=$.slice(0,ce.index).split(`
|
|
605
605
|
`),ie=ce[0].split(`
|
|
@@ -612,7 +612,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
612
612
|
`+ye,o(I.lastLine()),null,"+swapLine"):I.replaceRange(ye+`
|
|
613
613
|
`,o(te,0),null,"+swapLine")}I.setSelections(Y),I.scrollIntoView()})},i.swapLineDown=function(I){if(I.isReadOnly())return t.Pass;for(var $=I.listSelections(),B=[],X=I.lastLine()+1,Y=$.length-1;Y>=0;Y--){var Q=$[Y],ue=Q.to().line+1,ce=Q.from().line;Q.to().ch==0&&!Q.empty()&&ue--,ue<X?B.push(ue,ce):B.length&&(B[B.length-1]=ce),X=ce}I.operation(function(){for(var ve=B.length-2;ve>=0;ve-=2){var ie=B[ve],se=B[ve+1],te=I.getLine(ie);ie==I.lastLine()?I.replaceRange("",o(ie-1),o(ie),"+swapLine"):I.replaceRange("",o(ie,0),o(ie+1,0),"+swapLine"),I.replaceRange(te+`
|
|
614
614
|
`,o(se,0),null,"+swapLine")}I.scrollIntoView()})},i.toggleCommentIndented=function(I){I.toggleComment({indent:!0})},i.joinLines=function(I){for(var $=I.listSelections(),B=[],X=0;X<$.length;X++){for(var Y=$[X],Q=Y.from(),ue=Q.line,ce=Y.to().line;X<$.length-1&&$[X+1].from().line==ce;)ce=$[++X].to().line;B.push({start:ue,end:ce,anchor:!Y.empty()&&Q})}I.operation(function(){for(var ve=0,ie=[],se=0;se<B.length;se++){for(var te=B[se],ye=te.anchor&&o(te.anchor.line-ve,te.anchor.ch),Ee,Ce=te.start;Ce<=te.end;Ce++){var je=Ce-ve;Ce==te.end&&(Ee=o(je,I.getLine(je).length+1)),je<I.lastLine()&&(I.replaceRange(" ",o(je),o(je+1,/^\s*/.exec(I.getLine(je+1))[0].length)),++ve)}ie.push({anchor:ye||Ee,head:Ee})}I.setSelections(ie,0)})},i.duplicateLine=function(I){I.operation(function(){for(var $=I.listSelections().length,B=0;B<$;B++){var X=I.listSelections()[B];X.empty()?I.replaceRange(I.getLine(X.head.line)+`
|
|
615
|
-
`,o(X.head.line,0)):I.replaceRange(I.getRange(X.from(),X.to()),X.from())}I.scrollIntoView()})};function x(I,$,B){if(I.isReadOnly())return t.Pass;for(var X=I.listSelections(),Y=[],Q,ue=0;ue<X.length;ue++){var ce=X[ue];if(!ce.empty()){for(var ve=ce.from().line,ie=ce.to().line;ue<X.length-1&&X[ue+1].from().line==ie;)ie=X[++ue].to().line;X[ue].to().ch||ie--,Y.push(ve,ie)}}Y.length?Q=!0:Y.push(I.firstLine(),I.lastLine()),I.operation(function(){for(var se=[],te=0;te<Y.length;te+=2){var ye=Y[te],Ee=Y[te+1],Ce=o(ye,0),je=o(Ee),tt=I.getRange(Ce,je,!1);$?tt.sort(function(nt,Se){return nt<Se?-B:nt==Se?0:B}):tt.sort(function(nt,Se){var Te=nt.toUpperCase(),lt=Se.toUpperCase();return Te!=lt&&(nt=Te,Se=lt),nt<Se?-B:nt==Se?0:B}),I.replaceRange(tt,Ce,je),Q&&se.push({anchor:Ce,head:o(Ee+1,0)})}Q&&I.setSelections(se,0)})}i.sortLines=function(I){x(I,!0,1)},i.reverseSortLines=function(I){x(I,!0,-1)},i.sortLinesInsensitive=function(I){x(I,!1,1)},i.reverseSortLinesInsensitive=function(I){x(I,!1,-1)},i.nextBookmark=function(I){var $=I.state.sublimeBookmarks;if($)for(;$.length;){var B=$.shift(),X=B.find();if(X)return $.push(B),I.setSelection(X.from,X.to)}},i.prevBookmark=function(I){var $=I.state.sublimeBookmarks;if($)for(;$.length;){$.unshift($.pop());var B=$[$.length-1].find();if(!B)$.pop();else return I.setSelection(B.from,B.to)}},i.toggleBookmark=function(I){for(var $=I.listSelections(),B=I.state.sublimeBookmarks||(I.state.sublimeBookmarks=[]),X=0;X<$.length;X++){for(var Y=$[X].from(),Q=$[X].to(),ue=$[X].empty()?I.findMarksAt(Y):I.findMarks(Y,Q),ce=0;ce<ue.length;ce++)if(ue[ce].sublimeBookmark){ue[ce].clear();for(var ve=0;ve<B.length;ve++)B[ve]==ue[ce]&&B.splice(ve--,1);break}ce==ue.length&&B.push(I.markText(Y,Q,{sublimeBookmark:!0,clearWhenEmpty:!1}))}},i.clearBookmarks=function(I){var $=I.state.sublimeBookmarks;if($)for(var B=0;B<$.length;B++)$[B].clear();$.length=0},i.selectBookmarks=function(I){var $=I.state.sublimeBookmarks,B=[];if($)for(var X=0;X<$.length;X++){var Y=$[X].find();Y?B.push({anchor:Y.from,head:Y.to}):$.splice(X--,0)}B.length&&I.setSelections(B,0)};function k(I,$){I.operation(function(){for(var B=I.listSelections(),X=[],Y=[],Q=0;Q<B.length;Q++){var ue=B[Q];ue.empty()?(X.push(Q),Y.push("")):Y.push($(I.getRange(ue.from(),ue.to())))}I.replaceSelections(Y,"around","case");for(var Q=X.length-1,ce;Q>=0;Q--){var ue=B[X[Q]];if(!(ce&&t.cmpPos(ue.head,ce)>0)){var ve=l(I,ue.head);ce=ve.from,I.replaceRange($(ve.word),ve.from,ve.to)}}})}i.smartBackspace=function(I){if(I.somethingSelected())return t.Pass;I.operation(function(){for(var $=I.listSelections(),B=I.getOption("indentUnit"),X=$.length-1;X>=0;X--){var Y=$[X].head,Q=I.getRange({line:Y.line,ch:0},Y),ue=t.countColumn(Q,null,I.getOption("tabSize")),ce=I.findPosH(Y,-1,"char",!1);if(Q&&!/\S/.test(Q)&&ue%B==0){var ve=new o(Y.line,t.findColumn(Q,ue-B,B));ve.ch!=Y.ch&&(ce=ve)}I.replaceRange("",ce,Y,"+delete")}})},i.delLineRight=function(I){I.operation(function(){for(var $=I.listSelections(),B=$.length-1;B>=0;B--)I.replaceRange("",$[B].anchor,o($[B].to().line),"+delete");I.scrollIntoView()})},i.upcaseAtCursor=function(I){k(I,function($){return $.toUpperCase()})},i.downcaseAtCursor=function(I){k(I,function($){return $.toLowerCase()})},i.setSublimeMark=function(I){I.state.sublimeMark&&I.state.sublimeMark.clear(),I.state.sublimeMark=I.setBookmark(I.getCursor())},i.selectToSublimeMark=function(I){var $=I.state.sublimeMark&&I.state.sublimeMark.find();$&&I.setSelection(I.getCursor(),$)},i.deleteToSublimeMark=function(I){var $=I.state.sublimeMark&&I.state.sublimeMark.find();if($){var B=I.getCursor(),X=$;if(t.cmpPos(B,X)>0){var Y=X;X=B,B=Y}I.state.sublimeKilled=I.getRange(B,X),I.replaceRange("",B,X)}},i.swapWithSublimeMark=function(I){var $=I.state.sublimeMark&&I.state.sublimeMark.find();$&&(I.state.sublimeMark.clear(),I.state.sublimeMark=I.setBookmark(I.getCursor()),I.setCursor($))},i.sublimeYank=function(I){I.state.sublimeKilled!=null&&I.replaceSelection(I.state.sublimeKilled,null,"paste")},i.showInCenter=function(I){var $=I.cursorCoords(null,"local");I.scrollTo(null,($.top+$.bottom)/2-I.getScrollInfo().clientHeight/2)};function S(I){var $=I.getCursor("from"),B=I.getCursor("to");if(t.cmpPos($,B)==0){var X=l(I,$);if(!X.word)return;$=X.from,B=X.to}return{from:$,to:B,query:I.getRange($,B),word:X}}function O(I,$){var B=S(I);if(B){var X=B.query,Y=I.getSearchCursor(X,$?B.to:B.from);($?Y.findNext():Y.findPrevious())?I.setSelection(Y.from(),Y.to()):(Y=I.getSearchCursor(X,$?o(I.firstLine(),0):I.clipPos(o(I.lastLine()))),($?Y.findNext():Y.findPrevious())?I.setSelection(Y.from(),Y.to()):B.word&&I.setSelection(B.from,B.to))}}i.findUnder=function(I){O(I,!0)},i.findUnderPrevious=function(I){O(I,!1)},i.findAllUnder=function(I){var $=S(I);if($){for(var B=I.getSearchCursor($.query),X=[],Y=-1;B.findNext();)X.push({anchor:B.from(),head:B.to()}),B.from().line<=$.from.line&&B.from().ch<=$.from.ch&&Y++;I.setSelections(X,Y)}};var w=t.keyMap;w.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Shift-F5":"reverseSortLines","Cmd-F5":"sortLinesInsensitive","Shift-Cmd-F5":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-D":"skipAndSelectNextOccurrence","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-1":"foldAll","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},t.normalizeKeyMap(w.macSublime),w.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Shift-F9":"reverseSortLines","Ctrl-F9":"sortLinesInsensitive","Shift-Ctrl-F9":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-D":"skipAndSelectNextOccurrence","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-1":"foldAll","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},t.normalizeKeyMap(w.pcSublime);var D=w.default==w.macDefault;w.sublime=D?w.macSublime:w.pcSublime})})();const d9e=Lt({__name:"input-code",props:{value:{type:[String,Object,Array,Boolean,Number,null]},disabled:{type:Boolean},altOptions:{},template:{},lineNumber:{type:Boolean,default:!0},lineWrapping:{type:Boolean},placeholder:{},language:{default:"plaintext"},type:{}},emits:["input"],setup(n,{emit:e}){const t=/^\{\{\s*[^}\s]+\s*\}\}$/,i=n,o=e,{t:r}=vn(),{width:a}=D8(),s=Pe(null);let l,d=null;zr(async()=>{s.value&&(await v(k.value),await HT(k.value.mode),l=G2(s.value,{...k.value,value:f.value}),l.setOption("mode",{name:"javascript "}),await g(),l.on("change",(w,{origin:D})=>{const I=w.getValue();if(I!==d&&(d=I,D!=="setValue"))if(i.type==="json"){if(I.length===0)return o("input",null);if(O(I))return o("input",I);try{const $=JSON.parse(I);return typeof $!="string"?o("input",$):o("input",I)}catch{}}else o("input",I)}))});const f=we(()=>i.value===null||i.value===void 0?"":i.type==="json"&&O(i.value)?i.value:Ib(i.value,i.type==="json"));ii(()=>i.language,()=>{g()}),ii(f,()=>{i.type==="json"&&(l==null?void 0:l.getValue())===i.value||(l==null?void 0:l.getValue())!==f.value&&(l==null||l.setValue(f.value||""))});async function g(){if(l){const w=i.language.toLowerCase();if(i.type==="json"||w==="json"){await jt(()=>import("./javascript-DsvDqGb5.js").then(I=>I.j),__vite__mapDeps([108,3,2,4]),import.meta.url);const D=await jt(()=>import("./jsonlint-Beck-uF6.js").then(I=>I.j),__vite__mapDeps([214,3,2,4]),import.meta.url);l.setOption("mode",{name:"javascript",json:!0}),G2.registerHelper("lint","json",I=>{const $=[];if(O(I))return $;const B=D.parser;if(B.parseError=(X,Y)=>{const Q=Y.loc;$.push({from:G2.Pos(Q.first_line-1,Q.first_column),to:G2.Pos(Q.last_line-1,Q.last_column),message:X})},I.length>0)try{D.parse(I)}catch{}return $})}else w==="plaintext"?l.setOption("mode",{name:"plaintext"}):(await HT(w),l.setOption("mode",{name:w}))}}async function v(w){const D=[];w&&w.size>0&&(w.styleActiveLine&&D.push(jt(()=>import("./active-line-CtbuSVBs.js").then(I=>I.a),__vite__mapDeps([215,3,2,4]),import.meta.url)),w.markSelection&&D.push(jt(()=>import("./mark-selection-W5kBnEHR.js").then(I=>I.m),__vite__mapDeps([216,3,2,4]),import.meta.url)),w.highlightSelectionMatches&&D.push(jt(()=>import("./match-highlighter-BNTmKHLF.js").then(I=>I.m),__vite__mapDeps([217,3,2,4]),import.meta.url)),w.autoRefresh&&D.push(jt(()=>import("./autorefresh-BLAOJ-or.js").then(I=>I.a),__vite__mapDeps([218,3,2,4]),import.meta.url)),w.matchBrackets&&D.push(jt(()=>import("./matchbrackets-CYQB0eHN.js").then(I=>I.m),__vite__mapDeps([219,3,2,4]),import.meta.url)),(w.hintOptions||w.showHint)&&(D.push(jt(()=>import("./show-hint-Bp0YMeDb.js").then(I=>I.s),__vite__mapDeps([220,3,2,4]),import.meta.url)),D.push(jt(()=>Promise.resolve({}),__vite__mapDeps([221]),import.meta.url)),D.push(jt(()=>import("./javascript-hint-C99vfDCt.js").then(I=>I.j),__vite__mapDeps([222,3,2,4]),import.meta.url))),await Promise.all(D))}const b=we(()=>a.value<600?i.disabled?"nocursor":!1:i.disabled),x={tabSize:4,autoRefresh:!0,indentUnit:4,styleActiveLine:!0,highlightSelectionMatches:{showToken:/\w/,annotateScrollbar:!0,delay:100},hintOptions:{completeSingle:!0,hint:()=>{}},matchBrackets:!0,showCursorWhenSelecting:!0,lineWiseCopyCut:!1,theme:"default",extraKeys:{Ctrl:"autocomplete"},lint:!0,gutters:["CodeMirror-lint-markers"]},k=we(()=>Object.assign({},x,{lineNumbers:i.lineNumber,lineWrapping:i.lineWrapping,readOnly:b.value,cursorBlinkRate:i.disabled?-1:530,mode:i.language,placeholder:i.placeholder},i.altOptions?i.altOptions:{}));ii(()=>i.disabled,w=>{l==null||l.setOption("readOnly",b.value),l==null||l.setOption("cursorBlinkRate",w?-1:530)},{immediate:!0}),ii(()=>i.altOptions,async w=>{if(!(!w||w.size===0)){await v(w);for(const D in w)l==null||l.setOption(D,w[D])}}),ii(()=>i.lineNumber,w=>{l==null||l.setOption("lineNumbers",w)});function S(){if(i.type==="json"&&i.template)try{o("input",JSON.parse(i.template))}finally{}else o("input",i.template)}function O(w){return typeof w=="string"&&w.match(t)}return(w,D)=>{const I=q("v-icon"),$=q("v-button"),B=ki("tooltip");return V(),De("div",{class:An(["input-code codemirror-custom-styles",{disabled:w.disabled}])},[xe("div",{ref_key:"codemirrorEl",ref:s},null,512),w.template?rn((V(),me($,{key:0,small:"",icon:"",secondary:"",onClick:S},{default:P(()=>[A(I,{name:"playlist_add"})]),_:1})),[[B,h(r)("fill_template"),void 0,{left:!0}]]):He("",!0)],2)}}}),f9e=qt(d9e,[["__scopeId","data-v-79ddf547"]]),p9e=`<svg width="156" height="96" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
615
|
+
`,o(X.head.line,0)):I.replaceRange(I.getRange(X.from(),X.to()),X.from())}I.scrollIntoView()})};function x(I,$,B){if(I.isReadOnly())return t.Pass;for(var X=I.listSelections(),Y=[],Q,ue=0;ue<X.length;ue++){var ce=X[ue];if(!ce.empty()){for(var ve=ce.from().line,ie=ce.to().line;ue<X.length-1&&X[ue+1].from().line==ie;)ie=X[++ue].to().line;X[ue].to().ch||ie--,Y.push(ve,ie)}}Y.length?Q=!0:Y.push(I.firstLine(),I.lastLine()),I.operation(function(){for(var se=[],te=0;te<Y.length;te+=2){var ye=Y[te],Ee=Y[te+1],Ce=o(ye,0),je=o(Ee),tt=I.getRange(Ce,je,!1);$?tt.sort(function(nt,Se){return nt<Se?-B:nt==Se?0:B}):tt.sort(function(nt,Se){var Te=nt.toUpperCase(),lt=Se.toUpperCase();return Te!=lt&&(nt=Te,Se=lt),nt<Se?-B:nt==Se?0:B}),I.replaceRange(tt,Ce,je),Q&&se.push({anchor:Ce,head:o(Ee+1,0)})}Q&&I.setSelections(se,0)})}i.sortLines=function(I){x(I,!0,1)},i.reverseSortLines=function(I){x(I,!0,-1)},i.sortLinesInsensitive=function(I){x(I,!1,1)},i.reverseSortLinesInsensitive=function(I){x(I,!1,-1)},i.nextBookmark=function(I){var $=I.state.sublimeBookmarks;if($)for(;$.length;){var B=$.shift(),X=B.find();if(X)return $.push(B),I.setSelection(X.from,X.to)}},i.prevBookmark=function(I){var $=I.state.sublimeBookmarks;if($)for(;$.length;){$.unshift($.pop());var B=$[$.length-1].find();if(!B)$.pop();else return I.setSelection(B.from,B.to)}},i.toggleBookmark=function(I){for(var $=I.listSelections(),B=I.state.sublimeBookmarks||(I.state.sublimeBookmarks=[]),X=0;X<$.length;X++){for(var Y=$[X].from(),Q=$[X].to(),ue=$[X].empty()?I.findMarksAt(Y):I.findMarks(Y,Q),ce=0;ce<ue.length;ce++)if(ue[ce].sublimeBookmark){ue[ce].clear();for(var ve=0;ve<B.length;ve++)B[ve]==ue[ce]&&B.splice(ve--,1);break}ce==ue.length&&B.push(I.markText(Y,Q,{sublimeBookmark:!0,clearWhenEmpty:!1}))}},i.clearBookmarks=function(I){var $=I.state.sublimeBookmarks;if($)for(var B=0;B<$.length;B++)$[B].clear();$.length=0},i.selectBookmarks=function(I){var $=I.state.sublimeBookmarks,B=[];if($)for(var X=0;X<$.length;X++){var Y=$[X].find();Y?B.push({anchor:Y.from,head:Y.to}):$.splice(X--,0)}B.length&&I.setSelections(B,0)};function k(I,$){I.operation(function(){for(var B=I.listSelections(),X=[],Y=[],Q=0;Q<B.length;Q++){var ue=B[Q];ue.empty()?(X.push(Q),Y.push("")):Y.push($(I.getRange(ue.from(),ue.to())))}I.replaceSelections(Y,"around","case");for(var Q=X.length-1,ce;Q>=0;Q--){var ue=B[X[Q]];if(!(ce&&t.cmpPos(ue.head,ce)>0)){var ve=l(I,ue.head);ce=ve.from,I.replaceRange($(ve.word),ve.from,ve.to)}}})}i.smartBackspace=function(I){if(I.somethingSelected())return t.Pass;I.operation(function(){for(var $=I.listSelections(),B=I.getOption("indentUnit"),X=$.length-1;X>=0;X--){var Y=$[X].head,Q=I.getRange({line:Y.line,ch:0},Y),ue=t.countColumn(Q,null,I.getOption("tabSize")),ce=I.findPosH(Y,-1,"char",!1);if(Q&&!/\S/.test(Q)&&ue%B==0){var ve=new o(Y.line,t.findColumn(Q,ue-B,B));ve.ch!=Y.ch&&(ce=ve)}I.replaceRange("",ce,Y,"+delete")}})},i.delLineRight=function(I){I.operation(function(){for(var $=I.listSelections(),B=$.length-1;B>=0;B--)I.replaceRange("",$[B].anchor,o($[B].to().line),"+delete");I.scrollIntoView()})},i.upcaseAtCursor=function(I){k(I,function($){return $.toUpperCase()})},i.downcaseAtCursor=function(I){k(I,function($){return $.toLowerCase()})},i.setSublimeMark=function(I){I.state.sublimeMark&&I.state.sublimeMark.clear(),I.state.sublimeMark=I.setBookmark(I.getCursor())},i.selectToSublimeMark=function(I){var $=I.state.sublimeMark&&I.state.sublimeMark.find();$&&I.setSelection(I.getCursor(),$)},i.deleteToSublimeMark=function(I){var $=I.state.sublimeMark&&I.state.sublimeMark.find();if($){var B=I.getCursor(),X=$;if(t.cmpPos(B,X)>0){var Y=X;X=B,B=Y}I.state.sublimeKilled=I.getRange(B,X),I.replaceRange("",B,X)}},i.swapWithSublimeMark=function(I){var $=I.state.sublimeMark&&I.state.sublimeMark.find();$&&(I.state.sublimeMark.clear(),I.state.sublimeMark=I.setBookmark(I.getCursor()),I.setCursor($))},i.sublimeYank=function(I){I.state.sublimeKilled!=null&&I.replaceSelection(I.state.sublimeKilled,null,"paste")},i.showInCenter=function(I){var $=I.cursorCoords(null,"local");I.scrollTo(null,($.top+$.bottom)/2-I.getScrollInfo().clientHeight/2)};function S(I){var $=I.getCursor("from"),B=I.getCursor("to");if(t.cmpPos($,B)==0){var X=l(I,$);if(!X.word)return;$=X.from,B=X.to}return{from:$,to:B,query:I.getRange($,B),word:X}}function O(I,$){var B=S(I);if(B){var X=B.query,Y=I.getSearchCursor(X,$?B.to:B.from);($?Y.findNext():Y.findPrevious())?I.setSelection(Y.from(),Y.to()):(Y=I.getSearchCursor(X,$?o(I.firstLine(),0):I.clipPos(o(I.lastLine()))),($?Y.findNext():Y.findPrevious())?I.setSelection(Y.from(),Y.to()):B.word&&I.setSelection(B.from,B.to))}}i.findUnder=function(I){O(I,!0)},i.findUnderPrevious=function(I){O(I,!1)},i.findAllUnder=function(I){var $=S(I);if($){for(var B=I.getSearchCursor($.query),X=[],Y=-1;B.findNext();)X.push({anchor:B.from(),head:B.to()}),B.from().line<=$.from.line&&B.from().ch<=$.from.ch&&Y++;I.setSelections(X,Y)}};var w=t.keyMap;w.macSublime={"Cmd-Left":"goLineStartSmart","Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-Left":"goSubwordLeft","Ctrl-Right":"goSubwordRight","Ctrl-Alt-Up":"scrollLineUp","Ctrl-Alt-Down":"scrollLineDown","Cmd-L":"selectLine","Shift-Cmd-L":"splitSelectionByLine",Esc:"singleSelectionTop","Cmd-Enter":"insertLineAfter","Shift-Cmd-Enter":"insertLineBefore","Cmd-D":"selectNextOccurrence","Shift-Cmd-Space":"selectScope","Shift-Cmd-M":"selectBetweenBrackets","Cmd-M":"goToBracket","Cmd-Ctrl-Up":"swapLineUp","Cmd-Ctrl-Down":"swapLineDown","Cmd-/":"toggleCommentIndented","Cmd-J":"joinLines","Shift-Cmd-D":"duplicateLine",F5:"sortLines","Shift-F5":"reverseSortLines","Cmd-F5":"sortLinesInsensitive","Shift-Cmd-F5":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Cmd-F2":"toggleBookmark","Shift-Cmd-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Cmd-K Cmd-D":"skipAndSelectNextOccurrence","Cmd-K Cmd-K":"delLineRight","Cmd-K Cmd-U":"upcaseAtCursor","Cmd-K Cmd-L":"downcaseAtCursor","Cmd-K Cmd-Space":"setSublimeMark","Cmd-K Cmd-A":"selectToSublimeMark","Cmd-K Cmd-W":"deleteToSublimeMark","Cmd-K Cmd-X":"swapWithSublimeMark","Cmd-K Cmd-Y":"sublimeYank","Cmd-K Cmd-C":"showInCenter","Cmd-K Cmd-G":"clearBookmarks","Cmd-K Cmd-Backspace":"delLineLeft","Cmd-K Cmd-1":"foldAll","Cmd-K Cmd-0":"unfoldAll","Cmd-K Cmd-J":"unfoldAll","Ctrl-Shift-Up":"addCursorToPrevLine","Ctrl-Shift-Down":"addCursorToNextLine","Cmd-F3":"findUnder","Shift-Cmd-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Cmd-[":"fold","Shift-Cmd-]":"unfold","Cmd-I":"findIncremental","Shift-Cmd-I":"findIncrementalReverse","Cmd-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"macDefault"},t.normalizeKeyMap(w.macSublime),w.pcSublime={"Shift-Tab":"indentLess","Shift-Ctrl-K":"deleteLine","Alt-Q":"wrapLines","Ctrl-T":"transposeChars","Alt-Left":"goSubwordLeft","Alt-Right":"goSubwordRight","Ctrl-Up":"scrollLineUp","Ctrl-Down":"scrollLineDown","Ctrl-L":"selectLine","Shift-Ctrl-L":"splitSelectionByLine",Esc:"singleSelectionTop","Ctrl-Enter":"insertLineAfter","Shift-Ctrl-Enter":"insertLineBefore","Ctrl-D":"selectNextOccurrence","Shift-Ctrl-Space":"selectScope","Shift-Ctrl-M":"selectBetweenBrackets","Ctrl-M":"goToBracket","Shift-Ctrl-Up":"swapLineUp","Shift-Ctrl-Down":"swapLineDown","Ctrl-/":"toggleCommentIndented","Ctrl-J":"joinLines","Shift-Ctrl-D":"duplicateLine",F9:"sortLines","Shift-F9":"reverseSortLines","Ctrl-F9":"sortLinesInsensitive","Shift-Ctrl-F9":"reverseSortLinesInsensitive",F2:"nextBookmark","Shift-F2":"prevBookmark","Ctrl-F2":"toggleBookmark","Shift-Ctrl-F2":"clearBookmarks","Alt-F2":"selectBookmarks",Backspace:"smartBackspace","Ctrl-K Ctrl-D":"skipAndSelectNextOccurrence","Ctrl-K Ctrl-K":"delLineRight","Ctrl-K Ctrl-U":"upcaseAtCursor","Ctrl-K Ctrl-L":"downcaseAtCursor","Ctrl-K Ctrl-Space":"setSublimeMark","Ctrl-K Ctrl-A":"selectToSublimeMark","Ctrl-K Ctrl-W":"deleteToSublimeMark","Ctrl-K Ctrl-X":"swapWithSublimeMark","Ctrl-K Ctrl-Y":"sublimeYank","Ctrl-K Ctrl-C":"showInCenter","Ctrl-K Ctrl-G":"clearBookmarks","Ctrl-K Ctrl-Backspace":"delLineLeft","Ctrl-K Ctrl-1":"foldAll","Ctrl-K Ctrl-0":"unfoldAll","Ctrl-K Ctrl-J":"unfoldAll","Ctrl-Alt-Up":"addCursorToPrevLine","Ctrl-Alt-Down":"addCursorToNextLine","Ctrl-F3":"findUnder","Shift-Ctrl-F3":"findUnderPrevious","Alt-F3":"findAllUnder","Shift-Ctrl-[":"fold","Shift-Ctrl-]":"unfold","Ctrl-I":"findIncremental","Shift-Ctrl-I":"findIncrementalReverse","Ctrl-H":"replace",F3:"findNext","Shift-F3":"findPrev",fallthrough:"pcDefault"},t.normalizeKeyMap(w.pcSublime);var D=w.default==w.macDefault;w.sublime=D?w.macSublime:w.pcSublime})})();const d9e=Lt({__name:"input-code",props:{value:{type:[String,Object,Array,Boolean,Number,null]},disabled:{type:Boolean},altOptions:{},template:{},lineNumber:{type:Boolean,default:!0},lineWrapping:{type:Boolean},placeholder:{},language:{default:"plaintext"},type:{}},emits:["input"],setup(n,{emit:e}){const t=/^\{\{\s*[^}\s]+\s*\}\}$/,i=n,o=e,{t:r}=vn(),{width:a}=D8(),s=Pe(null);let l,d=null;zr(async()=>{s.value&&(await v(k.value),await HT(k.value.mode),l=G2(s.value,{...k.value,value:f.value}),l.setOption("mode",{name:"javascript "}),await g(),l.on("change",(w,{origin:D})=>{const I=w.getValue();if(I!==d&&(d=I,D!=="setValue"))if(i.type==="json"){if(I.length===0)return o("input",null);if(O(I))return o("input",I);try{const $=JSON.parse(I);return typeof $!="string"?o("input",$):o("input",I)}catch{}}else o("input",I)}))});const f=we(()=>i.value===null||i.value===void 0?"":i.type==="json"&&O(i.value)?i.value:Ib(i.value,i.type==="json"));ii(()=>i.language,()=>{g()}),ii(f,()=>{i.type==="json"&&(l==null?void 0:l.getValue())===i.value||(l==null?void 0:l.getValue())!==f.value&&(l==null||l.setValue(f.value||""))});async function g(){if(l){const w=i.language.toLowerCase();if(i.type==="json"||w==="json"){await jt(()=>import("./javascript-6x864wjq.js").then(I=>I.j),__vite__mapDeps([108,3,2,4]),import.meta.url);const D=await jt(()=>import("./jsonlint-B8sn4V7k.js").then(I=>I.j),__vite__mapDeps([214,3,2,4]),import.meta.url);l.setOption("mode",{name:"javascript",json:!0}),G2.registerHelper("lint","json",I=>{const $=[];if(O(I))return $;const B=D.parser;if(B.parseError=(X,Y)=>{const Q=Y.loc;$.push({from:G2.Pos(Q.first_line-1,Q.first_column),to:G2.Pos(Q.last_line-1,Q.last_column),message:X})},I.length>0)try{D.parse(I)}catch{}return $})}else w==="plaintext"?l.setOption("mode",{name:"plaintext"}):(await HT(w),l.setOption("mode",{name:w}))}}async function v(w){const D=[];w&&w.size>0&&(w.styleActiveLine&&D.push(jt(()=>import("./active-line-BtxbgRr2.js").then(I=>I.a),__vite__mapDeps([215,3,2,4]),import.meta.url)),w.markSelection&&D.push(jt(()=>import("./mark-selection-HjEJeHYA.js").then(I=>I.m),__vite__mapDeps([216,3,2,4]),import.meta.url)),w.highlightSelectionMatches&&D.push(jt(()=>import("./match-highlighter-DPTnUgI3.js").then(I=>I.m),__vite__mapDeps([217,3,2,4]),import.meta.url)),w.autoRefresh&&D.push(jt(()=>import("./autorefresh-DNfNNOoh.js").then(I=>I.a),__vite__mapDeps([218,3,2,4]),import.meta.url)),w.matchBrackets&&D.push(jt(()=>import("./matchbrackets-Bc_ZDO2m.js").then(I=>I.m),__vite__mapDeps([219,3,2,4]),import.meta.url)),(w.hintOptions||w.showHint)&&(D.push(jt(()=>import("./show-hint-W5IzIspQ.js").then(I=>I.s),__vite__mapDeps([220,3,2,4]),import.meta.url)),D.push(jt(()=>Promise.resolve({}),__vite__mapDeps([221]),import.meta.url)),D.push(jt(()=>import("./javascript-hint-BYkpmIx-.js").then(I=>I.j),__vite__mapDeps([222,3,2,4]),import.meta.url))),await Promise.all(D))}const b=we(()=>a.value<600?i.disabled?"nocursor":!1:i.disabled),x={tabSize:4,autoRefresh:!0,indentUnit:4,styleActiveLine:!0,highlightSelectionMatches:{showToken:/\w/,annotateScrollbar:!0,delay:100},hintOptions:{completeSingle:!0,hint:()=>{}},matchBrackets:!0,showCursorWhenSelecting:!0,lineWiseCopyCut:!1,theme:"default",extraKeys:{Ctrl:"autocomplete"},lint:!0,gutters:["CodeMirror-lint-markers"]},k=we(()=>Object.assign({},x,{lineNumbers:i.lineNumber,lineWrapping:i.lineWrapping,readOnly:b.value,cursorBlinkRate:i.disabled?-1:530,mode:i.language,placeholder:i.placeholder},i.altOptions?i.altOptions:{}));ii(()=>i.disabled,w=>{l==null||l.setOption("readOnly",b.value),l==null||l.setOption("cursorBlinkRate",w?-1:530)},{immediate:!0}),ii(()=>i.altOptions,async w=>{if(!(!w||w.size===0)){await v(w);for(const D in w)l==null||l.setOption(D,w[D])}}),ii(()=>i.lineNumber,w=>{l==null||l.setOption("lineNumbers",w)});function S(){if(i.type==="json"&&i.template)try{o("input",JSON.parse(i.template))}finally{}else o("input",i.template)}function O(w){return typeof w=="string"&&w.match(t)}return(w,D)=>{const I=q("v-icon"),$=q("v-button"),B=ki("tooltip");return V(),De("div",{class:An(["input-code codemirror-custom-styles",{disabled:w.disabled}])},[xe("div",{ref_key:"codemirrorEl",ref:s},null,512),w.template?rn((V(),me($,{key:0,small:"",icon:"",secondary:"",onClick:S},{default:P(()=>[A(I,{name:"playlist_add"})]),_:1})),[[B,h(r)("fill_template"),void 0,{left:!0}]]):He("",!0)],2)}}}),f9e=qt(d9e,[["__scopeId","data-v-79ddf547"]]),p9e=`<svg width="156" height="96" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
616
616
|
<rect x="18" y="15" width="120" height="66" rx="6" fill="var(--theme--background)" class="glow" />
|
|
617
617
|
<rect x="19" y="16" width="118" height="64" rx="5" stroke="var(--theme--primary)" stroke-width="2" />
|
|
618
618
|
<rect x="28" y="25" width="6" height="6" rx="2" fill="var(--theme--primary)" fill-opacity=".25" />
|
|
@@ -662,7 +662,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
662
662
|
<rect x="92" y="39" width="30" height="6" rx="2" fill="var(--theme--primary)" />
|
|
663
663
|
<rect x="72" y="49" width="50" height="6" rx="2" fill="var(--theme--primary)" fill-opacity=".25" />
|
|
664
664
|
</svg>
|
|
665
|
-
`,A9e=YD(()=>jt(()=>import("./input-rich-text-html-C1PHCqxK.js"),__vite__mapDeps([223,2,5,1,3,4,6,224]),import.meta.url)),T9e=ha({id:"input-rich-text-html",name:"$t:interfaces.input-rich-text-html.wysiwyg",description:"$t:interfaces.input-rich-text-html.description",icon:"format_quote",component:A9e,types:["text"],group:"standard",preview:E9e,options:{standard:[{field:"toolbar",name:"$t:interfaces.input-rich-text-html.toolbar",type:"json",schema:{default_value:["bold","italic","underline","h1","h2","h3","numlist","bullist","removeformat","blockquote","customLink","customImage","customMedia","hr","code","fullscreen"]},meta:{width:"half",interface:"select-multiple-dropdown",options:{choices:[{value:"undo",text:"$t:wysiwyg_options.undo"},{value:"redo",text:"$t:wysiwyg_options.redo"},{value:"bold",text:"$t:wysiwyg_options.bold"},{value:"italic",text:"$t:wysiwyg_options.italic"},{value:"underline",text:"$t:wysiwyg_options.underline"},{value:"strikethrough",text:"$t:wysiwyg_options.strikethrough"},{value:"subscript",text:"$t:wysiwyg_options.subscript"},{value:"superscript",text:"$t:wysiwyg_options.superscript"},{value:"fontfamily",text:"$t:wysiwyg_options.fontselect"},{value:"fontsize",text:"$t:wysiwyg_options.fontsizeselect"},{value:"h1",text:"$t:wysiwyg_options.h1"},{value:"h2",text:"$t:wysiwyg_options.h2"},{value:"h3",text:"$t:wysiwyg_options.h3"},{value:"h4",text:"$t:wysiwyg_options.h4"},{value:"h5",text:"$t:wysiwyg_options.h5"},{value:"h6",text:"$t:wysiwyg_options.h6"},{value:"alignleft",text:"$t:wysiwyg_options.alignleft"},{value:"aligncenter",text:"$t:wysiwyg_options.aligncenter"},{value:"alignright",text:"$t:wysiwyg_options.alignright"},{value:"alignjustify",text:"$t:wysiwyg_options.alignjustify"},{value:"alignnone",text:"$t:wysiwyg_options.alignnone"},{value:"indent",text:"$t:wysiwyg_options.indent"},{value:"outdent",text:"$t:wysiwyg_options.outdent"},{value:"numlist",text:"$t:wysiwyg_options.numlist"},{value:"bullist",text:"$t:wysiwyg_options.bullist"},{value:"forecolor",text:"$t:wysiwyg_options.forecolor"},{value:"backcolor",text:"$t:wysiwyg_options.backcolor"},{value:"removeformat",text:"$t:wysiwyg_options.removeformat"},{value:"cut",text:"$t:wysiwyg_options.cut"},{value:"copy",text:"$t:wysiwyg_options.copy"},{value:"paste",text:"$t:wysiwyg_options.paste"},{value:"remove",text:"$t:wysiwyg_options.remove"},{value:"selectall",text:"$t:wysiwyg_options.selectall"},{value:"blockquote",text:"$t:wysiwyg_options.blockquote"},{value:"customLink",text:"$t:wysiwyg_options.link"},{value:"unlink",text:"$t:wysiwyg_options.unlink"},{value:"customImage",text:"$t:wysiwyg_options.image"},{value:"customMedia",text:"$t:wysiwyg_options.media"},{value:"table",text:"$t:wysiwyg_options.table"},{value:"hr",text:"$t:wysiwyg_options.hr"},{value:"code",text:"$t:wysiwyg_options.source_code"},{value:"fullscreen",text:"$t:wysiwyg_options.fullscreen"},{value:"visualaid",text:"$t:wysiwyg_options.visualaid"},{value:"ltr rtl",text:"$t:wysiwyg_options.directionality"}]}}},{field:"font",name:"$t:font",type:"string",meta:{width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:sans_serif",value:"sans-serif"},{text:"$t:monospace",value:"monospace"},{text:"$t:serif",value:"serif"}]}},schema:{default_value:"sans-serif"}},{field:"folder",name:"$t:folder",type:"uuid",meta:{width:"half",interface:"system-folder",note:"$t:interfaces.input-rich-text-html.folder_note"}},{field:"imageToken",name:"$t:interfaces.input-rich-text-html.imageToken",type:"string",meta:{note:"$t:interfaces.input-rich-text-html.imageToken_label",width:"half",interface:"input"}}],advanced:[{field:"softLength",name:"$t:soft_length",type:"integer",meta:{width:"half",interface:"input",options:{placeholder:"255",min:1}}},{field:"customFormats",name:"$t:interfaces.input-rich-text-html.custom_formats",type:"json",meta:{interface:"code",note:"$t:interfaces.input-rich-text-html.custom_formats_note",options:{language:"json",template:JSON.stringify([{title:"My Custom Format",inline:"span",classes:"custom-wrapper",styles:{color:"#00ff00","font-size":"20px"},attributes:{title:"My Custom Wrapper"}}],null,4)}}},{field:"tinymceOverrides",name:"$t:interfaces.input-rich-text-html.options_override",type:"json",meta:{interface:"code",note:"$t:interfaces.input-rich-text-html.options_override_note",options:{language:"json",template:JSON.stringify({font_size_formats:"8pt 10pt 12pt 14pt 16pt 18pt 24pt 36pt 48pt",font_family_formats:"Arial=arial,helvetica,sans-serif; Courier New=courier new,courier,monospace;"},null,4)}}}]}});var L9e={exports:{}},YT={exports:{}},XT;function I9e(){return XT||(XT=1,function(n,e){(function(t){t(Qf())})(function(t){var i={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},o={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};t.defineMode("xml",function(r,a){var s=r.indentUnit,l={},d=a.htmlMode?i:o;for(var f in d)l[f]=d[f];for(var f in a)l[f]=a[f];var g,v;function b(te,ye){function Ee(tt){return ye.tokenize=tt,tt(te,ye)}var Ce=te.next();if(Ce=="<")return te.eat("!")?te.eat("[")?te.match("CDATA[")?Ee(S("atom","]]>")):null:te.match("--")?Ee(S("comment","-->")):te.match("DOCTYPE",!0,!0)?(te.eatWhile(/[\w\._\-]/),Ee(O(1))):null:te.eat("?")?(te.eatWhile(/[\w\._\-]/),ye.tokenize=S("meta","?>"),"meta"):(g=te.eat("/")?"closeTag":"openTag",ye.tokenize=x,"tag bracket");if(Ce=="&"){var je;return te.eat("#")?te.eat("x")?je=te.eatWhile(/[a-fA-F\d]/)&&te.eat(";"):je=te.eatWhile(/[\d]/)&&te.eat(";"):je=te.eatWhile(/[\w\.\-:]/)&&te.eat(";"),je?"atom":"error"}else return te.eatWhile(/[^&<]/),null}b.isInText=!0;function x(te,ye){var Ee=te.next();if(Ee==">"||Ee=="/"&&te.eat(">"))return ye.tokenize=b,g=Ee==">"?"endTag":"selfcloseTag","tag bracket";if(Ee=="=")return g="equals",null;if(Ee=="<"){ye.tokenize=b,ye.state=B,ye.tagName=ye.tagStart=null;var Ce=ye.tokenize(te,ye);return Ce?Ce+" tag error":"tag error"}else return/[\'\"]/.test(Ee)?(ye.tokenize=k(Ee),ye.stringStartCol=te.column(),ye.tokenize(te,ye)):(te.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function k(te){var ye=function(Ee,Ce){for(;!Ee.eol();)if(Ee.next()==te){Ce.tokenize=x;break}return"string"};return ye.isInAttribute=!0,ye}function S(te,ye){return function(Ee,Ce){for(;!Ee.eol();){if(Ee.match(ye)){Ce.tokenize=b;break}Ee.next()}return te}}function O(te){return function(ye,Ee){for(var Ce;(Ce=ye.next())!=null;){if(Ce=="<")return Ee.tokenize=O(te+1),Ee.tokenize(ye,Ee);if(Ce==">")if(te==1){Ee.tokenize=b;break}else return Ee.tokenize=O(te-1),Ee.tokenize(ye,Ee)}return"meta"}}function w(te){return te&&te.toLowerCase()}function D(te,ye,Ee){this.prev=te.context,this.tagName=ye||"",this.indent=te.indented,this.startOfLine=Ee,(l.doNotIndent.hasOwnProperty(ye)||te.context&&te.context.noIndent)&&(this.noIndent=!0)}function I(te){te.context&&(te.context=te.context.prev)}function $(te,ye){for(var Ee;;){if(!te.context||(Ee=te.context.tagName,!l.contextGrabbers.hasOwnProperty(w(Ee))||!l.contextGrabbers[w(Ee)].hasOwnProperty(w(ye))))return;I(te)}}function B(te,ye,Ee){return te=="openTag"?(Ee.tagStart=ye.column(),X):te=="closeTag"?Y:B}function X(te,ye,Ee){return te=="word"?(Ee.tagName=ye.current(),v="tag",ce):l.allowMissingTagName&&te=="endTag"?(v="tag bracket",ce(te,ye,Ee)):(v="error",X)}function Y(te,ye,Ee){if(te=="word"){var Ce=ye.current();return Ee.context&&Ee.context.tagName!=Ce&&l.implicitlyClosed.hasOwnProperty(w(Ee.context.tagName))&&I(Ee),Ee.context&&Ee.context.tagName==Ce||l.matchClosing===!1?(v="tag",Q):(v="tag error",ue)}else return l.allowMissingTagName&&te=="endTag"?(v="tag bracket",Q(te,ye,Ee)):(v="error",ue)}function Q(te,ye,Ee){return te!="endTag"?(v="error",Q):(I(Ee),B)}function ue(te,ye,Ee){return v="error",Q(te,ye,Ee)}function ce(te,ye,Ee){if(te=="word")return v="attribute",ve;if(te=="endTag"||te=="selfcloseTag"){var Ce=Ee.tagName,je=Ee.tagStart;return Ee.tagName=Ee.tagStart=null,te=="selfcloseTag"||l.autoSelfClosers.hasOwnProperty(w(Ce))?$(Ee,Ce):($(Ee,Ce),Ee.context=new D(Ee,Ce,je==Ee.indented)),B}return v="error",ce}function ve(te,ye,Ee){return te=="equals"?ie:(l.allowMissing||(v="error"),ce(te,ye,Ee))}function ie(te,ye,Ee){return te=="string"?se:te=="word"&&l.allowUnquoted?(v="string",ce):(v="error",ce(te,ye,Ee))}function se(te,ye,Ee){return te=="string"?se:ce(te,ye,Ee)}return{startState:function(te){var ye={tokenize:b,state:B,indented:te||0,tagName:null,tagStart:null,context:null};return te!=null&&(ye.baseIndent=te),ye},token:function(te,ye){if(!ye.tagName&&te.sol()&&(ye.indented=te.indentation()),te.eatSpace())return null;g=null;var Ee=ye.tokenize(te,ye);return(Ee||g)&&Ee!="comment"&&(v=null,ye.state=ye.state(g||Ee,te,ye),v&&(Ee=v=="error"?Ee+" error":v)),Ee},indent:function(te,ye,Ee){var Ce=te.context;if(te.tokenize.isInAttribute)return te.tagStart==te.indented?te.stringStartCol+1:te.indented+s;if(Ce&&Ce.noIndent)return t.Pass;if(te.tokenize!=x&&te.tokenize!=b)return Ee?Ee.match(/^(\s*)/)[0].length:0;if(te.tagName)return l.multilineTagIndentPastTag!==!1?te.tagStart+te.tagName.length+2:te.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(ye))return 0;var je=ye&&/^<(\/)?([\w_:\.-]*)/.exec(ye);if(je&&je[1])for(;Ce;)if(Ce.tagName==je[2]){Ce=Ce.prev;break}else if(l.implicitlyClosed.hasOwnProperty(w(Ce.tagName)))Ce=Ce.prev;else break;else if(je)for(;Ce;){var tt=l.contextGrabbers[w(Ce.tagName)];if(tt&&tt.hasOwnProperty(w(je[2])))Ce=Ce.prev;else break}for(;Ce&&Ce.prev&&!Ce.startOfLine;)Ce=Ce.prev;return Ce?Ce.indent+s:te.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(te){te.state==ie&&(te.state=ce)},xmlCurrentTag:function(te){return te.tagName?{name:te.tagName,close:te.type=="closeTag"}:null},xmlCurrentContext:function(te){for(var ye=[],Ee=te.context;Ee;Ee=Ee.prev)ye.push(Ee.tagName);return ye.reverse()}}}),t.defineMIME("text/xml","xml"),t.defineMIME("application/xml","xml"),t.mimeModes.hasOwnProperty("text/html")||t.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),YT.exports}(function(n,e){(function(t){t(Qf(),I9e(),o9e)})(function(t){t.defineMode("markdown",function(i,o){var r=t.getMode(i,"text/html"),a=r.name=="null";function s(Se){if(t.findModeByName){var Te=t.findModeByName(Se);Te&&(Se=Te.mime||Te.mimes[0])}var lt=t.getMode(i,Se);return lt.name=="null"?null:lt}o.highlightFormatting===void 0&&(o.highlightFormatting=!1),o.maxBlockquoteDepth===void 0&&(o.maxBlockquoteDepth=0),o.taskLists===void 0&&(o.taskLists=!1),o.strikethrough===void 0&&(o.strikethrough=!1),o.emoji===void 0&&(o.emoji=!1),o.fencedCodeBlockHighlighting===void 0&&(o.fencedCodeBlockHighlighting=!0),o.fencedCodeBlockDefaultMode===void 0&&(o.fencedCodeBlockDefaultMode="text/plain"),o.xml===void 0&&(o.xml=!0),o.tokenTypeOverrides===void 0&&(o.tokenTypeOverrides={});var l={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var d in l)l.hasOwnProperty(d)&&o.tokenTypeOverrides[d]&&(l[d]=o.tokenTypeOverrides[d]);var f=/^([*\-_])(?:\s*\1){2,}\s*$/,g=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,v=/^\[(x| )\](?=\s)/i,b=o.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,x=/^ {0,3}(?:\={1,}|-{2,})\s*$/,k=/^[^#!\[\]*_\\<>` "'(~:]+/,S=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,O=/^\s*\[[^\]]+?\]:.*$/,w=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,D=" ";function I(Se,Te,lt){return Te.f=Te.inline=lt,lt(Se,Te)}function $(Se,Te,lt){return Te.f=Te.block=lt,lt(Se,Te)}function B(Se){return!Se||!/\S/.test(Se.string)}function X(Se){if(Se.linkTitle=!1,Se.linkHref=!1,Se.linkText=!1,Se.em=!1,Se.strong=!1,Se.strikethrough=!1,Se.quote=0,Se.indentedCode=!1,Se.f==Q){var Te=a;if(!Te){var lt=t.innerMode(r,Se.htmlState);Te=lt.mode.name=="xml"&<.state.tagStart===null&&!lt.state.context&<.state.tokenize.isInText}Te&&(Se.f=ie,Se.block=Y,Se.htmlState=null)}return Se.trailingSpace=0,Se.trailingSpaceNewLine=!1,Se.prevLine=Se.thisLine,Se.thisLine={stream:null},null}function Y(Se,Te){var lt=Se.column()===Te.indentation,Ot=B(Te.prevLine.stream),St=Te.indentedCode,Et=Te.prevLine.hr,It=Te.list!==!1,_t=(Te.listStack[Te.listStack.length-1]||0)+3;Te.indentedCode=!1;var Qt=Te.indentation;if(Te.indentationDiff===null&&(Te.indentationDiff=Te.indentation,It)){for(Te.list=null;Qt<Te.listStack[Te.listStack.length-1];)Te.listStack.pop(),Te.listStack.length?Te.indentation=Te.listStack[Te.listStack.length-1]:Te.list=!1;Te.list!==!1&&(Te.indentationDiff=Qt-Te.listStack[Te.listStack.length-1])}var zt=!Ot&&!Et&&!Te.prevLine.header&&(!It||!St)&&!Te.prevLine.fencedCodeEnd,Nt=(Te.list===!1||Et||Ot)&&Te.indentation<=_t&&Se.match(f),kt=null;if(Te.indentationDiff>=4&&(St||Te.prevLine.fencedCodeEnd||Te.prevLine.header||Ot))return Se.skipToEnd(),Te.indentedCode=!0,l.code;if(Se.eatSpace())return null;if(lt&&Te.indentation<=_t&&(kt=Se.match(b))&&kt[1].length<=6)return Te.quote=0,Te.header=kt[1].length,Te.thisLine.header=!0,o.highlightFormatting&&(Te.formatting="header"),Te.f=Te.inline,ce(Te);if(Te.indentation<=_t&&Se.eat(">"))return Te.quote=lt?1:Te.quote+1,o.highlightFormatting&&(Te.formatting="quote"),Se.eatSpace(),ce(Te);if(!Nt&&!Te.setext&<&&Te.indentation<=_t&&(kt=Se.match(g))){var Ct=kt[1]?"ol":"ul";return Te.indentation=Qt+Se.current().length,Te.list=!0,Te.quote=0,Te.listStack.push(Te.indentation),Te.em=!1,Te.strong=!1,Te.code=!1,Te.strikethrough=!1,o.taskLists&&Se.match(v,!1)&&(Te.taskList=!0),Te.f=Te.inline,o.highlightFormatting&&(Te.formatting=["list","list-"+Ct]),ce(Te)}else{if(lt&&Te.indentation<=_t&&(kt=Se.match(S,!0)))return Te.quote=0,Te.fencedEndRE=new RegExp(kt[1]+"+ *$"),Te.localMode=o.fencedCodeBlockHighlighting&&s(kt[2]||o.fencedCodeBlockDefaultMode),Te.localMode&&(Te.localState=t.startState(Te.localMode)),Te.f=Te.block=ue,o.highlightFormatting&&(Te.formatting="code-block"),Te.code=-1,ce(Te);if(Te.setext||(!zt||!It)&&!Te.quote&&Te.list===!1&&!Te.code&&!Nt&&!O.test(Se.string)&&(kt=Se.lookAhead(1))&&(kt=kt.match(x)))return Te.setext?(Te.header=Te.setext,Te.setext=0,Se.skipToEnd(),o.highlightFormatting&&(Te.formatting="header")):(Te.header=kt[0].charAt(0)=="="?1:2,Te.setext=Te.header),Te.thisLine.header=!0,Te.f=Te.inline,ce(Te);if(Nt)return Se.skipToEnd(),Te.hr=!0,Te.thisLine.hr=!0,l.hr;if(Se.peek()==="[")return I(Se,Te,Ce)}return I(Se,Te,Te.inline)}function Q(Se,Te){var lt=r.token(Se,Te.htmlState);if(!a){var Ot=t.innerMode(r,Te.htmlState);(Ot.mode.name=="xml"&&Ot.state.tagStart===null&&!Ot.state.context&&Ot.state.tokenize.isInText||Te.md_inside&&Se.current().indexOf(">")>-1)&&(Te.f=ie,Te.block=Y,Te.htmlState=null)}return lt}function ue(Se,Te){var lt=Te.listStack[Te.listStack.length-1]||0,Ot=Te.indentation<lt,St=lt+3;if(Te.fencedEndRE&&Te.indentation<=St&&(Ot||Se.match(Te.fencedEndRE))){o.highlightFormatting&&(Te.formatting="code-block");var Et;return Ot||(Et=ce(Te)),Te.localMode=Te.localState=null,Te.block=Y,Te.f=ie,Te.fencedEndRE=null,Te.code=0,Te.thisLine.fencedCodeEnd=!0,Ot?$(Se,Te,Te.block):Et}else return Te.localMode?Te.localMode.token(Se,Te.localState):(Se.skipToEnd(),l.code)}function ce(Se){var Te=[];if(Se.formatting){Te.push(l.formatting),typeof Se.formatting=="string"&&(Se.formatting=[Se.formatting]);for(var lt=0;lt<Se.formatting.length;lt++)Te.push(l.formatting+"-"+Se.formatting[lt]),Se.formatting[lt]==="header"&&Te.push(l.formatting+"-"+Se.formatting[lt]+"-"+Se.header),Se.formatting[lt]==="quote"&&(!o.maxBlockquoteDepth||o.maxBlockquoteDepth>=Se.quote?Te.push(l.formatting+"-"+Se.formatting[lt]+"-"+Se.quote):Te.push("error"))}if(Se.taskOpen)return Te.push("meta"),Te.length?Te.join(" "):null;if(Se.taskClosed)return Te.push("property"),Te.length?Te.join(" "):null;if(Se.linkHref?Te.push(l.linkHref,"url"):(Se.strong&&Te.push(l.strong),Se.em&&Te.push(l.em),Se.strikethrough&&Te.push(l.strikethrough),Se.emoji&&Te.push(l.emoji),Se.linkText&&Te.push(l.linkText),Se.code&&Te.push(l.code),Se.image&&Te.push(l.image),Se.imageAltText&&Te.push(l.imageAltText,"link"),Se.imageMarker&&Te.push(l.imageMarker)),Se.header&&Te.push(l.header,l.header+"-"+Se.header),Se.quote&&(Te.push(l.quote),!o.maxBlockquoteDepth||o.maxBlockquoteDepth>=Se.quote?Te.push(l.quote+"-"+Se.quote):Te.push(l.quote+"-"+o.maxBlockquoteDepth)),Se.list!==!1){var Ot=(Se.listStack.length-1)%3;Ot?Ot===1?Te.push(l.list2):Te.push(l.list3):Te.push(l.list1)}return Se.trailingSpaceNewLine?Te.push("trailing-space-new-line"):Se.trailingSpace&&Te.push("trailing-space-"+(Se.trailingSpace%2?"a":"b")),Te.length?Te.join(" "):null}function ve(Se,Te){if(Se.match(k,!0))return ce(Te)}function ie(Se,Te){var lt=Te.text(Se,Te);if(typeof lt<"u")return lt;if(Te.list)return Te.list=null,ce(Te);if(Te.taskList){var Ot=Se.match(v,!0)[1]===" ";return Ot?Te.taskOpen=!0:Te.taskClosed=!0,o.highlightFormatting&&(Te.formatting="task"),Te.taskList=!1,ce(Te)}if(Te.taskOpen=!1,Te.taskClosed=!1,Te.header&&Se.match(/^#+$/,!0))return o.highlightFormatting&&(Te.formatting="header"),ce(Te);var St=Se.next();if(Te.linkTitle){Te.linkTitle=!1;var Et=St;St==="("&&(Et=")"),Et=(Et+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var It="^\\s*(?:[^"+Et+"\\\\]+|\\\\\\\\|\\\\.)"+Et;if(Se.match(new RegExp(It),!0))return l.linkHref}if(St==="`"){var _t=Te.formatting;o.highlightFormatting&&(Te.formatting="code"),Se.eatWhile("`");var Qt=Se.current().length;if(Te.code==0&&(!Te.quote||Qt==1))return Te.code=Qt,ce(Te);if(Qt==Te.code){var zt=ce(Te);return Te.code=0,zt}else return Te.formatting=_t,ce(Te)}else if(Te.code)return ce(Te);if(St==="\\"&&(Se.next(),o.highlightFormatting)){var Nt=ce(Te),kt=l.formatting+"-escape";return Nt?Nt+" "+kt:kt}if(St==="!"&&Se.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Te.imageMarker=!0,Te.image=!0,o.highlightFormatting&&(Te.formatting="image"),ce(Te);if(St==="["&&Te.imageMarker&&Se.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Te.imageMarker=!1,Te.imageAltText=!0,o.highlightFormatting&&(Te.formatting="image"),ce(Te);if(St==="]"&&Te.imageAltText){o.highlightFormatting&&(Te.formatting="image");var Nt=ce(Te);return Te.imageAltText=!1,Te.image=!1,Te.inline=Te.f=te,Nt}if(St==="["&&!Te.image)return Te.linkText&&Se.match(/^.*?\]/)||(Te.linkText=!0,o.highlightFormatting&&(Te.formatting="link")),ce(Te);if(St==="]"&&Te.linkText){o.highlightFormatting&&(Te.formatting="link");var Nt=ce(Te);return Te.linkText=!1,Te.inline=Te.f=Se.match(/\(.*?\)| ?\[.*?\]/,!1)?te:ie,Nt}if(St==="<"&&Se.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Te.f=Te.inline=se,o.highlightFormatting&&(Te.formatting="link");var Nt=ce(Te);return Nt?Nt+=" ":Nt="",Nt+l.linkInline}if(St==="<"&&Se.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Te.f=Te.inline=se,o.highlightFormatting&&(Te.formatting="link");var Nt=ce(Te);return Nt?Nt+=" ":Nt="",Nt+l.linkEmail}if(o.xml&&St==="<"&&Se.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Ct=Se.string.indexOf(">",Se.pos);if(Ct!=-1){var Bt=Se.string.substring(Se.start,Ct);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Bt)&&(Te.md_inside=!0)}return Se.backUp(1),Te.htmlState=t.startState(r),$(Se,Te,Q)}if(o.xml&&St==="<"&&Se.match(/^\/\w*?>/))return Te.md_inside=!1,"tag";if(St==="*"||St==="_"){for(var ut=1,sn=Se.pos==1?" ":Se.string.charAt(Se.pos-2);ut<3&&Se.eat(St);)ut++;var dn=Se.peek()||" ",Gt=!/\s/.test(dn)&&(!w.test(dn)||/\s/.test(sn)||w.test(sn)),yt=!/\s/.test(sn)&&(!w.test(sn)||/\s/.test(dn)||w.test(dn)),cn=null,gn=null;if(ut%2&&(!Te.em&&Gt&&(St==="*"||!yt||w.test(sn))?cn=!0:Te.em==St&&yt&&(St==="*"||!Gt||w.test(dn))&&(cn=!1)),ut>1&&(!Te.strong&&Gt&&(St==="*"||!yt||w.test(sn))?gn=!0:Te.strong==St&&yt&&(St==="*"||!Gt||w.test(dn))&&(gn=!1)),gn!=null||cn!=null){o.highlightFormatting&&(Te.formatting=cn==null?"strong":gn==null?"em":"strong em"),cn===!0&&(Te.em=St),gn===!0&&(Te.strong=St);var zt=ce(Te);return cn===!1&&(Te.em=!1),gn===!1&&(Te.strong=!1),zt}}else if(St===" "&&(Se.eat("*")||Se.eat("_"))){if(Se.peek()===" ")return ce(Te);Se.backUp(1)}if(o.strikethrough){if(St==="~"&&Se.eatWhile(St)){if(Te.strikethrough){o.highlightFormatting&&(Te.formatting="strikethrough");var zt=ce(Te);return Te.strikethrough=!1,zt}else if(Se.match(/^[^\s]/,!1))return Te.strikethrough=!0,o.highlightFormatting&&(Te.formatting="strikethrough"),ce(Te)}else if(St===" "&&Se.match("~~",!0)){if(Se.peek()===" ")return ce(Te);Se.backUp(2)}}if(o.emoji&&St===":"&&Se.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Te.emoji=!0,o.highlightFormatting&&(Te.formatting="emoji");var mn=ce(Te);return Te.emoji=!1,mn}return St===" "&&(Se.match(/^ +$/,!1)?Te.trailingSpace++:Te.trailingSpace&&(Te.trailingSpaceNewLine=!0)),ce(Te)}function se(Se,Te){var lt=Se.next();if(lt===">"){Te.f=Te.inline=ie,o.highlightFormatting&&(Te.formatting="link");var Ot=ce(Te);return Ot?Ot+=" ":Ot="",Ot+l.linkInline}return Se.match(/^[^>]+/,!0),l.linkInline}function te(Se,Te){if(Se.eatSpace())return null;var lt=Se.next();return lt==="("||lt==="["?(Te.f=Te.inline=Ee(lt==="("?")":"]"),o.highlightFormatting&&(Te.formatting="link-string"),Te.linkHref=!0,ce(Te)):"error"}var ye={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Ee(Se){return function(Te,lt){var Ot=Te.next();if(Ot===Se){lt.f=lt.inline=ie,o.highlightFormatting&&(lt.formatting="link-string");var St=ce(lt);return lt.linkHref=!1,St}return Te.match(ye[Se]),lt.linkHref=!0,ce(lt)}}function Ce(Se,Te){return Se.match(/^([^\]\\]|\\.)*\]:/,!1)?(Te.f=je,Se.next(),o.highlightFormatting&&(Te.formatting="link"),Te.linkText=!0,ce(Te)):I(Se,Te,ie)}function je(Se,Te){if(Se.match("]:",!0)){Te.f=Te.inline=tt,o.highlightFormatting&&(Te.formatting="link");var lt=ce(Te);return Te.linkText=!1,lt}return Se.match(/^([^\]\\]|\\.)+/,!0),l.linkText}function tt(Se,Te){return Se.eatSpace()?null:(Se.match(/^[^\s]+/,!0),Se.peek()===void 0?Te.linkTitle=!0:Se.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),Te.f=Te.inline=ie,l.linkHref+" url")}var nt={startState:function(){return{f:Y,prevLine:{stream:null},thisLine:{stream:null},block:Y,htmlState:null,indentation:0,inline:ie,text:ve,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(Se){return{f:Se.f,prevLine:Se.prevLine,thisLine:Se.thisLine,block:Se.block,htmlState:Se.htmlState&&t.copyState(r,Se.htmlState),indentation:Se.indentation,localMode:Se.localMode,localState:Se.localMode?t.copyState(Se.localMode,Se.localState):null,inline:Se.inline,text:Se.text,formatting:!1,linkText:Se.linkText,linkTitle:Se.linkTitle,linkHref:Se.linkHref,code:Se.code,em:Se.em,strong:Se.strong,strikethrough:Se.strikethrough,emoji:Se.emoji,header:Se.header,setext:Se.setext,hr:Se.hr,taskList:Se.taskList,list:Se.list,listStack:Se.listStack.slice(0),quote:Se.quote,indentedCode:Se.indentedCode,trailingSpace:Se.trailingSpace,trailingSpaceNewLine:Se.trailingSpaceNewLine,md_inside:Se.md_inside,fencedEndRE:Se.fencedEndRE}},token:function(Se,Te){if(Te.formatting=!1,Se!=Te.thisLine.stream){if(Te.header=0,Te.hr=!1,Se.match(/^\s*$/,!0))return X(Te),null;if(Te.prevLine=Te.thisLine,Te.thisLine={stream:Se},Te.taskList=!1,Te.trailingSpace=0,Te.trailingSpaceNewLine=!1,!Te.localState&&(Te.f=Te.block,Te.f!=Q)){var lt=Se.match(/^\s*/,!0)[0].replace(/\t/g,D).length;if(Te.indentation=lt,Te.indentationDiff=null,lt>0)return null}}return Te.f(Se,Te)},innerMode:function(Se){return Se.block==Q?{state:Se.htmlState,mode:r}:Se.localState?{state:Se.localState,mode:Se.localMode}:{state:Se,mode:nt}},indent:function(Se,Te,lt){return Se.block==Q&&r.indent?r.indent(Se.htmlState,Te,lt):Se.localState&&Se.localMode.indent?Se.localMode.indent(Se.localState,Te,lt):t.Pass},blankLine:X,getType:ce,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return nt},"xml"),t.defineMIME("text/markdown","markdown"),t.defineMIME("text/x-markdown","markdown")})})();var QR=L9e.exports;const M9e=Jf(QR),D9e=UU({__proto__:null,default:M9e},[QR]),eF={Control:"meta",Command:"meta"},KT=["meta","shift","alt","backspace","delete","tab","capslock","enter","home","end"],Pb=new Set([]),dg={};document.body.addEventListener("keydown",n=>{n.repeat||!n.key||(Pb.add(P9e(n)),O9e(n))});document.body.addEventListener("keyup",n=>{n.repeat||!n.key||Pb.clear()});function tl(n,e,t=Pe(document.body)){const i=(o,r)=>{if(!t.value)return;const a=t.value instanceof HTMLElement?t.value:t.value.$el;return document.activeElement===a||a.contains(document.activeElement)||document.activeElement===document.body?(o.preventDefault(),e(o,r)):!1};zr(()=>{[n].flat().forEach(o=>{var r;o in dg?(r=dg[o])==null||r.unshift(i):dg[o]=[i]})}),uu(()=>{[n].flat().forEach(o=>{const r=dg[o];if(r){const a=r.filter(s=>s!==i);dg[o]=a,a.length===0&&delete dg[o]}})})}function P9e(n){const e=/^[a-zA-Z0-9]*?$/g;let t=n.key.match(e)===null?n.code.replace(/(Key|Digit)/g,""):n.key;return t=eF[t]??t,t=t.toLowerCase(),t}function O9e(n){Object.entries(dg).forEach(([e,t])=>{var o;const i=e.split("+");for(e of Pb)if(i.includes(e)===!1)return;for(e of i)if(Pb.has(e)===!1)return;for(let r=0;r<t.length;r++){let a=!1;if((o=t[r])==null||o.call(t,n,()=>{a=!0}),typeof a=="boolean"&&a)break}})}const R9e=(n,e)=>e?n?100-n/Number(e)*100:100:null;function dh(n){return navigator.platform.toLowerCase().startsWith("mac")||navigator.platform.startsWith("iP")?n.map(t=>t==="meta"?"⌘":t==="option"?"⌥":t==="shift"?"⇧":t==="alt"?"⌥":st.capitalize(t)).join(""):n.map(t=>t==="meta"?"Ctrl":st.capitalize(t)).join("+")}const F9e={heading(n,{cursorTo:e},t){const i=(t==null?void 0:t.level)||3;let o=n;const r=e,a="#".repeat(i)+" ";return n.startsWith(a)?o=n.substring(a.length):(o=`${a}${n}`,r.ch=r.ch+a.length),{newSelection:o,newCursor:r}},bold(n,{cursorTo:e}){let t=n;const i=e;return n.startsWith("**")&&n.endsWith("**")?t=n.substring(2,n.length-2):(t=`**${n}**`,i.ch=i.ch+2),{newSelection:t,newCursor:i}},italic(n,{cursorTo:e}){let t=n;const i=e;return n.startsWith("*")&&n.endsWith("*")?t=n.substring(1,n.length-1):(t=`*${n}*`,i.ch=i.ch+1),{newSelection:t,newCursor:i}},strikethrough(n,{cursorTo:e}){let t=n;const i=e;return n.startsWith("~~")&&n.endsWith("~~")?t=n.substring(2,n.length-2):(t=`~~${n}~~`,i.ch=i.ch+2),{newSelection:t,newCursor:i}},listBulleted(n,{cursorTo:e}){let t=n;const i=e,o=n.split(`
|
|
665
|
+
`,A9e=YD(()=>jt(()=>import("./input-rich-text-html-C0H_E0tE.js"),__vite__mapDeps([223,2,5,1,3,4,6,224]),import.meta.url)),T9e=ha({id:"input-rich-text-html",name:"$t:interfaces.input-rich-text-html.wysiwyg",description:"$t:interfaces.input-rich-text-html.description",icon:"format_quote",component:A9e,types:["text"],group:"standard",preview:E9e,options:{standard:[{field:"toolbar",name:"$t:interfaces.input-rich-text-html.toolbar",type:"json",schema:{default_value:["bold","italic","underline","h1","h2","h3","numlist","bullist","removeformat","blockquote","customLink","customImage","customMedia","hr","code","fullscreen"]},meta:{width:"half",interface:"select-multiple-dropdown",options:{choices:[{value:"undo",text:"$t:wysiwyg_options.undo"},{value:"redo",text:"$t:wysiwyg_options.redo"},{value:"bold",text:"$t:wysiwyg_options.bold"},{value:"italic",text:"$t:wysiwyg_options.italic"},{value:"underline",text:"$t:wysiwyg_options.underline"},{value:"strikethrough",text:"$t:wysiwyg_options.strikethrough"},{value:"subscript",text:"$t:wysiwyg_options.subscript"},{value:"superscript",text:"$t:wysiwyg_options.superscript"},{value:"fontfamily",text:"$t:wysiwyg_options.fontselect"},{value:"fontsize",text:"$t:wysiwyg_options.fontsizeselect"},{value:"h1",text:"$t:wysiwyg_options.h1"},{value:"h2",text:"$t:wysiwyg_options.h2"},{value:"h3",text:"$t:wysiwyg_options.h3"},{value:"h4",text:"$t:wysiwyg_options.h4"},{value:"h5",text:"$t:wysiwyg_options.h5"},{value:"h6",text:"$t:wysiwyg_options.h6"},{value:"alignleft",text:"$t:wysiwyg_options.alignleft"},{value:"aligncenter",text:"$t:wysiwyg_options.aligncenter"},{value:"alignright",text:"$t:wysiwyg_options.alignright"},{value:"alignjustify",text:"$t:wysiwyg_options.alignjustify"},{value:"alignnone",text:"$t:wysiwyg_options.alignnone"},{value:"indent",text:"$t:wysiwyg_options.indent"},{value:"outdent",text:"$t:wysiwyg_options.outdent"},{value:"numlist",text:"$t:wysiwyg_options.numlist"},{value:"bullist",text:"$t:wysiwyg_options.bullist"},{value:"forecolor",text:"$t:wysiwyg_options.forecolor"},{value:"backcolor",text:"$t:wysiwyg_options.backcolor"},{value:"removeformat",text:"$t:wysiwyg_options.removeformat"},{value:"cut",text:"$t:wysiwyg_options.cut"},{value:"copy",text:"$t:wysiwyg_options.copy"},{value:"paste",text:"$t:wysiwyg_options.paste"},{value:"remove",text:"$t:wysiwyg_options.remove"},{value:"selectall",text:"$t:wysiwyg_options.selectall"},{value:"blockquote",text:"$t:wysiwyg_options.blockquote"},{value:"customLink",text:"$t:wysiwyg_options.link"},{value:"unlink",text:"$t:wysiwyg_options.unlink"},{value:"customImage",text:"$t:wysiwyg_options.image"},{value:"customMedia",text:"$t:wysiwyg_options.media"},{value:"table",text:"$t:wysiwyg_options.table"},{value:"hr",text:"$t:wysiwyg_options.hr"},{value:"code",text:"$t:wysiwyg_options.source_code"},{value:"fullscreen",text:"$t:wysiwyg_options.fullscreen"},{value:"visualaid",text:"$t:wysiwyg_options.visualaid"},{value:"ltr rtl",text:"$t:wysiwyg_options.directionality"}]}}},{field:"font",name:"$t:font",type:"string",meta:{width:"half",interface:"select-dropdown",options:{choices:[{text:"$t:sans_serif",value:"sans-serif"},{text:"$t:monospace",value:"monospace"},{text:"$t:serif",value:"serif"}]}},schema:{default_value:"sans-serif"}},{field:"folder",name:"$t:folder",type:"uuid",meta:{width:"half",interface:"system-folder",note:"$t:interfaces.input-rich-text-html.folder_note"}},{field:"imageToken",name:"$t:interfaces.input-rich-text-html.imageToken",type:"string",meta:{note:"$t:interfaces.input-rich-text-html.imageToken_label",width:"half",interface:"input"}}],advanced:[{field:"softLength",name:"$t:soft_length",type:"integer",meta:{width:"half",interface:"input",options:{placeholder:"255",min:1}}},{field:"customFormats",name:"$t:interfaces.input-rich-text-html.custom_formats",type:"json",meta:{interface:"code",note:"$t:interfaces.input-rich-text-html.custom_formats_note",options:{language:"json",template:JSON.stringify([{title:"My Custom Format",inline:"span",classes:"custom-wrapper",styles:{color:"#00ff00","font-size":"20px"},attributes:{title:"My Custom Wrapper"}}],null,4)}}},{field:"tinymceOverrides",name:"$t:interfaces.input-rich-text-html.options_override",type:"json",meta:{interface:"code",note:"$t:interfaces.input-rich-text-html.options_override_note",options:{language:"json",template:JSON.stringify({font_size_formats:"8pt 10pt 12pt 14pt 16pt 18pt 24pt 36pt 48pt",font_family_formats:"Arial=arial,helvetica,sans-serif; Courier New=courier new,courier,monospace;"},null,4)}}}]}});var L9e={exports:{}},YT={exports:{}},XT;function I9e(){return XT||(XT=1,function(n,e){(function(t){t(Qf())})(function(t){var i={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},o={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};t.defineMode("xml",function(r,a){var s=r.indentUnit,l={},d=a.htmlMode?i:o;for(var f in d)l[f]=d[f];for(var f in a)l[f]=a[f];var g,v;function b(te,ye){function Ee(tt){return ye.tokenize=tt,tt(te,ye)}var Ce=te.next();if(Ce=="<")return te.eat("!")?te.eat("[")?te.match("CDATA[")?Ee(S("atom","]]>")):null:te.match("--")?Ee(S("comment","-->")):te.match("DOCTYPE",!0,!0)?(te.eatWhile(/[\w\._\-]/),Ee(O(1))):null:te.eat("?")?(te.eatWhile(/[\w\._\-]/),ye.tokenize=S("meta","?>"),"meta"):(g=te.eat("/")?"closeTag":"openTag",ye.tokenize=x,"tag bracket");if(Ce=="&"){var je;return te.eat("#")?te.eat("x")?je=te.eatWhile(/[a-fA-F\d]/)&&te.eat(";"):je=te.eatWhile(/[\d]/)&&te.eat(";"):je=te.eatWhile(/[\w\.\-:]/)&&te.eat(";"),je?"atom":"error"}else return te.eatWhile(/[^&<]/),null}b.isInText=!0;function x(te,ye){var Ee=te.next();if(Ee==">"||Ee=="/"&&te.eat(">"))return ye.tokenize=b,g=Ee==">"?"endTag":"selfcloseTag","tag bracket";if(Ee=="=")return g="equals",null;if(Ee=="<"){ye.tokenize=b,ye.state=B,ye.tagName=ye.tagStart=null;var Ce=ye.tokenize(te,ye);return Ce?Ce+" tag error":"tag error"}else return/[\'\"]/.test(Ee)?(ye.tokenize=k(Ee),ye.stringStartCol=te.column(),ye.tokenize(te,ye)):(te.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function k(te){var ye=function(Ee,Ce){for(;!Ee.eol();)if(Ee.next()==te){Ce.tokenize=x;break}return"string"};return ye.isInAttribute=!0,ye}function S(te,ye){return function(Ee,Ce){for(;!Ee.eol();){if(Ee.match(ye)){Ce.tokenize=b;break}Ee.next()}return te}}function O(te){return function(ye,Ee){for(var Ce;(Ce=ye.next())!=null;){if(Ce=="<")return Ee.tokenize=O(te+1),Ee.tokenize(ye,Ee);if(Ce==">")if(te==1){Ee.tokenize=b;break}else return Ee.tokenize=O(te-1),Ee.tokenize(ye,Ee)}return"meta"}}function w(te){return te&&te.toLowerCase()}function D(te,ye,Ee){this.prev=te.context,this.tagName=ye||"",this.indent=te.indented,this.startOfLine=Ee,(l.doNotIndent.hasOwnProperty(ye)||te.context&&te.context.noIndent)&&(this.noIndent=!0)}function I(te){te.context&&(te.context=te.context.prev)}function $(te,ye){for(var Ee;;){if(!te.context||(Ee=te.context.tagName,!l.contextGrabbers.hasOwnProperty(w(Ee))||!l.contextGrabbers[w(Ee)].hasOwnProperty(w(ye))))return;I(te)}}function B(te,ye,Ee){return te=="openTag"?(Ee.tagStart=ye.column(),X):te=="closeTag"?Y:B}function X(te,ye,Ee){return te=="word"?(Ee.tagName=ye.current(),v="tag",ce):l.allowMissingTagName&&te=="endTag"?(v="tag bracket",ce(te,ye,Ee)):(v="error",X)}function Y(te,ye,Ee){if(te=="word"){var Ce=ye.current();return Ee.context&&Ee.context.tagName!=Ce&&l.implicitlyClosed.hasOwnProperty(w(Ee.context.tagName))&&I(Ee),Ee.context&&Ee.context.tagName==Ce||l.matchClosing===!1?(v="tag",Q):(v="tag error",ue)}else return l.allowMissingTagName&&te=="endTag"?(v="tag bracket",Q(te,ye,Ee)):(v="error",ue)}function Q(te,ye,Ee){return te!="endTag"?(v="error",Q):(I(Ee),B)}function ue(te,ye,Ee){return v="error",Q(te,ye,Ee)}function ce(te,ye,Ee){if(te=="word")return v="attribute",ve;if(te=="endTag"||te=="selfcloseTag"){var Ce=Ee.tagName,je=Ee.tagStart;return Ee.tagName=Ee.tagStart=null,te=="selfcloseTag"||l.autoSelfClosers.hasOwnProperty(w(Ce))?$(Ee,Ce):($(Ee,Ce),Ee.context=new D(Ee,Ce,je==Ee.indented)),B}return v="error",ce}function ve(te,ye,Ee){return te=="equals"?ie:(l.allowMissing||(v="error"),ce(te,ye,Ee))}function ie(te,ye,Ee){return te=="string"?se:te=="word"&&l.allowUnquoted?(v="string",ce):(v="error",ce(te,ye,Ee))}function se(te,ye,Ee){return te=="string"?se:ce(te,ye,Ee)}return{startState:function(te){var ye={tokenize:b,state:B,indented:te||0,tagName:null,tagStart:null,context:null};return te!=null&&(ye.baseIndent=te),ye},token:function(te,ye){if(!ye.tagName&&te.sol()&&(ye.indented=te.indentation()),te.eatSpace())return null;g=null;var Ee=ye.tokenize(te,ye);return(Ee||g)&&Ee!="comment"&&(v=null,ye.state=ye.state(g||Ee,te,ye),v&&(Ee=v=="error"?Ee+" error":v)),Ee},indent:function(te,ye,Ee){var Ce=te.context;if(te.tokenize.isInAttribute)return te.tagStart==te.indented?te.stringStartCol+1:te.indented+s;if(Ce&&Ce.noIndent)return t.Pass;if(te.tokenize!=x&&te.tokenize!=b)return Ee?Ee.match(/^(\s*)/)[0].length:0;if(te.tagName)return l.multilineTagIndentPastTag!==!1?te.tagStart+te.tagName.length+2:te.tagStart+s*(l.multilineTagIndentFactor||1);if(l.alignCDATA&&/<!\[CDATA\[/.test(ye))return 0;var je=ye&&/^<(\/)?([\w_:\.-]*)/.exec(ye);if(je&&je[1])for(;Ce;)if(Ce.tagName==je[2]){Ce=Ce.prev;break}else if(l.implicitlyClosed.hasOwnProperty(w(Ce.tagName)))Ce=Ce.prev;else break;else if(je)for(;Ce;){var tt=l.contextGrabbers[w(Ce.tagName)];if(tt&&tt.hasOwnProperty(w(je[2])))Ce=Ce.prev;else break}for(;Ce&&Ce.prev&&!Ce.startOfLine;)Ce=Ce.prev;return Ce?Ce.indent+s:te.baseIndent||0},electricInput:/<\/[\s\w:]+>$/,blockCommentStart:"<!--",blockCommentEnd:"-->",configuration:l.htmlMode?"html":"xml",helperType:l.htmlMode?"html":"xml",skipAttribute:function(te){te.state==ie&&(te.state=ce)},xmlCurrentTag:function(te){return te.tagName?{name:te.tagName,close:te.type=="closeTag"}:null},xmlCurrentContext:function(te){for(var ye=[],Ee=te.context;Ee;Ee=Ee.prev)ye.push(Ee.tagName);return ye.reverse()}}}),t.defineMIME("text/xml","xml"),t.defineMIME("application/xml","xml"),t.mimeModes.hasOwnProperty("text/html")||t.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),YT.exports}(function(n,e){(function(t){t(Qf(),I9e(),o9e)})(function(t){t.defineMode("markdown",function(i,o){var r=t.getMode(i,"text/html"),a=r.name=="null";function s(Se){if(t.findModeByName){var Te=t.findModeByName(Se);Te&&(Se=Te.mime||Te.mimes[0])}var lt=t.getMode(i,Se);return lt.name=="null"?null:lt}o.highlightFormatting===void 0&&(o.highlightFormatting=!1),o.maxBlockquoteDepth===void 0&&(o.maxBlockquoteDepth=0),o.taskLists===void 0&&(o.taskLists=!1),o.strikethrough===void 0&&(o.strikethrough=!1),o.emoji===void 0&&(o.emoji=!1),o.fencedCodeBlockHighlighting===void 0&&(o.fencedCodeBlockHighlighting=!0),o.fencedCodeBlockDefaultMode===void 0&&(o.fencedCodeBlockDefaultMode="text/plain"),o.xml===void 0&&(o.xml=!0),o.tokenTypeOverrides===void 0&&(o.tokenTypeOverrides={});var l={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var d in l)l.hasOwnProperty(d)&&o.tokenTypeOverrides[d]&&(l[d]=o.tokenTypeOverrides[d]);var f=/^([*\-_])(?:\s*\1){2,}\s*$/,g=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,v=/^\[(x| )\](?=\s)/i,b=o.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,x=/^ {0,3}(?:\={1,}|-{2,})\s*$/,k=/^[^#!\[\]*_\\<>` "'(~:]+/,S=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,O=/^\s*\[[^\]]+?\]:.*$/,w=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,D=" ";function I(Se,Te,lt){return Te.f=Te.inline=lt,lt(Se,Te)}function $(Se,Te,lt){return Te.f=Te.block=lt,lt(Se,Te)}function B(Se){return!Se||!/\S/.test(Se.string)}function X(Se){if(Se.linkTitle=!1,Se.linkHref=!1,Se.linkText=!1,Se.em=!1,Se.strong=!1,Se.strikethrough=!1,Se.quote=0,Se.indentedCode=!1,Se.f==Q){var Te=a;if(!Te){var lt=t.innerMode(r,Se.htmlState);Te=lt.mode.name=="xml"&<.state.tagStart===null&&!lt.state.context&<.state.tokenize.isInText}Te&&(Se.f=ie,Se.block=Y,Se.htmlState=null)}return Se.trailingSpace=0,Se.trailingSpaceNewLine=!1,Se.prevLine=Se.thisLine,Se.thisLine={stream:null},null}function Y(Se,Te){var lt=Se.column()===Te.indentation,Ot=B(Te.prevLine.stream),St=Te.indentedCode,Et=Te.prevLine.hr,It=Te.list!==!1,_t=(Te.listStack[Te.listStack.length-1]||0)+3;Te.indentedCode=!1;var Qt=Te.indentation;if(Te.indentationDiff===null&&(Te.indentationDiff=Te.indentation,It)){for(Te.list=null;Qt<Te.listStack[Te.listStack.length-1];)Te.listStack.pop(),Te.listStack.length?Te.indentation=Te.listStack[Te.listStack.length-1]:Te.list=!1;Te.list!==!1&&(Te.indentationDiff=Qt-Te.listStack[Te.listStack.length-1])}var zt=!Ot&&!Et&&!Te.prevLine.header&&(!It||!St)&&!Te.prevLine.fencedCodeEnd,Nt=(Te.list===!1||Et||Ot)&&Te.indentation<=_t&&Se.match(f),kt=null;if(Te.indentationDiff>=4&&(St||Te.prevLine.fencedCodeEnd||Te.prevLine.header||Ot))return Se.skipToEnd(),Te.indentedCode=!0,l.code;if(Se.eatSpace())return null;if(lt&&Te.indentation<=_t&&(kt=Se.match(b))&&kt[1].length<=6)return Te.quote=0,Te.header=kt[1].length,Te.thisLine.header=!0,o.highlightFormatting&&(Te.formatting="header"),Te.f=Te.inline,ce(Te);if(Te.indentation<=_t&&Se.eat(">"))return Te.quote=lt?1:Te.quote+1,o.highlightFormatting&&(Te.formatting="quote"),Se.eatSpace(),ce(Te);if(!Nt&&!Te.setext&<&&Te.indentation<=_t&&(kt=Se.match(g))){var Ct=kt[1]?"ol":"ul";return Te.indentation=Qt+Se.current().length,Te.list=!0,Te.quote=0,Te.listStack.push(Te.indentation),Te.em=!1,Te.strong=!1,Te.code=!1,Te.strikethrough=!1,o.taskLists&&Se.match(v,!1)&&(Te.taskList=!0),Te.f=Te.inline,o.highlightFormatting&&(Te.formatting=["list","list-"+Ct]),ce(Te)}else{if(lt&&Te.indentation<=_t&&(kt=Se.match(S,!0)))return Te.quote=0,Te.fencedEndRE=new RegExp(kt[1]+"+ *$"),Te.localMode=o.fencedCodeBlockHighlighting&&s(kt[2]||o.fencedCodeBlockDefaultMode),Te.localMode&&(Te.localState=t.startState(Te.localMode)),Te.f=Te.block=ue,o.highlightFormatting&&(Te.formatting="code-block"),Te.code=-1,ce(Te);if(Te.setext||(!zt||!It)&&!Te.quote&&Te.list===!1&&!Te.code&&!Nt&&!O.test(Se.string)&&(kt=Se.lookAhead(1))&&(kt=kt.match(x)))return Te.setext?(Te.header=Te.setext,Te.setext=0,Se.skipToEnd(),o.highlightFormatting&&(Te.formatting="header")):(Te.header=kt[0].charAt(0)=="="?1:2,Te.setext=Te.header),Te.thisLine.header=!0,Te.f=Te.inline,ce(Te);if(Nt)return Se.skipToEnd(),Te.hr=!0,Te.thisLine.hr=!0,l.hr;if(Se.peek()==="[")return I(Se,Te,Ce)}return I(Se,Te,Te.inline)}function Q(Se,Te){var lt=r.token(Se,Te.htmlState);if(!a){var Ot=t.innerMode(r,Te.htmlState);(Ot.mode.name=="xml"&&Ot.state.tagStart===null&&!Ot.state.context&&Ot.state.tokenize.isInText||Te.md_inside&&Se.current().indexOf(">")>-1)&&(Te.f=ie,Te.block=Y,Te.htmlState=null)}return lt}function ue(Se,Te){var lt=Te.listStack[Te.listStack.length-1]||0,Ot=Te.indentation<lt,St=lt+3;if(Te.fencedEndRE&&Te.indentation<=St&&(Ot||Se.match(Te.fencedEndRE))){o.highlightFormatting&&(Te.formatting="code-block");var Et;return Ot||(Et=ce(Te)),Te.localMode=Te.localState=null,Te.block=Y,Te.f=ie,Te.fencedEndRE=null,Te.code=0,Te.thisLine.fencedCodeEnd=!0,Ot?$(Se,Te,Te.block):Et}else return Te.localMode?Te.localMode.token(Se,Te.localState):(Se.skipToEnd(),l.code)}function ce(Se){var Te=[];if(Se.formatting){Te.push(l.formatting),typeof Se.formatting=="string"&&(Se.formatting=[Se.formatting]);for(var lt=0;lt<Se.formatting.length;lt++)Te.push(l.formatting+"-"+Se.formatting[lt]),Se.formatting[lt]==="header"&&Te.push(l.formatting+"-"+Se.formatting[lt]+"-"+Se.header),Se.formatting[lt]==="quote"&&(!o.maxBlockquoteDepth||o.maxBlockquoteDepth>=Se.quote?Te.push(l.formatting+"-"+Se.formatting[lt]+"-"+Se.quote):Te.push("error"))}if(Se.taskOpen)return Te.push("meta"),Te.length?Te.join(" "):null;if(Se.taskClosed)return Te.push("property"),Te.length?Te.join(" "):null;if(Se.linkHref?Te.push(l.linkHref,"url"):(Se.strong&&Te.push(l.strong),Se.em&&Te.push(l.em),Se.strikethrough&&Te.push(l.strikethrough),Se.emoji&&Te.push(l.emoji),Se.linkText&&Te.push(l.linkText),Se.code&&Te.push(l.code),Se.image&&Te.push(l.image),Se.imageAltText&&Te.push(l.imageAltText,"link"),Se.imageMarker&&Te.push(l.imageMarker)),Se.header&&Te.push(l.header,l.header+"-"+Se.header),Se.quote&&(Te.push(l.quote),!o.maxBlockquoteDepth||o.maxBlockquoteDepth>=Se.quote?Te.push(l.quote+"-"+Se.quote):Te.push(l.quote+"-"+o.maxBlockquoteDepth)),Se.list!==!1){var Ot=(Se.listStack.length-1)%3;Ot?Ot===1?Te.push(l.list2):Te.push(l.list3):Te.push(l.list1)}return Se.trailingSpaceNewLine?Te.push("trailing-space-new-line"):Se.trailingSpace&&Te.push("trailing-space-"+(Se.trailingSpace%2?"a":"b")),Te.length?Te.join(" "):null}function ve(Se,Te){if(Se.match(k,!0))return ce(Te)}function ie(Se,Te){var lt=Te.text(Se,Te);if(typeof lt<"u")return lt;if(Te.list)return Te.list=null,ce(Te);if(Te.taskList){var Ot=Se.match(v,!0)[1]===" ";return Ot?Te.taskOpen=!0:Te.taskClosed=!0,o.highlightFormatting&&(Te.formatting="task"),Te.taskList=!1,ce(Te)}if(Te.taskOpen=!1,Te.taskClosed=!1,Te.header&&Se.match(/^#+$/,!0))return o.highlightFormatting&&(Te.formatting="header"),ce(Te);var St=Se.next();if(Te.linkTitle){Te.linkTitle=!1;var Et=St;St==="("&&(Et=")"),Et=(Et+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var It="^\\s*(?:[^"+Et+"\\\\]+|\\\\\\\\|\\\\.)"+Et;if(Se.match(new RegExp(It),!0))return l.linkHref}if(St==="`"){var _t=Te.formatting;o.highlightFormatting&&(Te.formatting="code"),Se.eatWhile("`");var Qt=Se.current().length;if(Te.code==0&&(!Te.quote||Qt==1))return Te.code=Qt,ce(Te);if(Qt==Te.code){var zt=ce(Te);return Te.code=0,zt}else return Te.formatting=_t,ce(Te)}else if(Te.code)return ce(Te);if(St==="\\"&&(Se.next(),o.highlightFormatting)){var Nt=ce(Te),kt=l.formatting+"-escape";return Nt?Nt+" "+kt:kt}if(St==="!"&&Se.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return Te.imageMarker=!0,Te.image=!0,o.highlightFormatting&&(Te.formatting="image"),ce(Te);if(St==="["&&Te.imageMarker&&Se.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return Te.imageMarker=!1,Te.imageAltText=!0,o.highlightFormatting&&(Te.formatting="image"),ce(Te);if(St==="]"&&Te.imageAltText){o.highlightFormatting&&(Te.formatting="image");var Nt=ce(Te);return Te.imageAltText=!1,Te.image=!1,Te.inline=Te.f=te,Nt}if(St==="["&&!Te.image)return Te.linkText&&Se.match(/^.*?\]/)||(Te.linkText=!0,o.highlightFormatting&&(Te.formatting="link")),ce(Te);if(St==="]"&&Te.linkText){o.highlightFormatting&&(Te.formatting="link");var Nt=ce(Te);return Te.linkText=!1,Te.inline=Te.f=Se.match(/\(.*?\)| ?\[.*?\]/,!1)?te:ie,Nt}if(St==="<"&&Se.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){Te.f=Te.inline=se,o.highlightFormatting&&(Te.formatting="link");var Nt=ce(Te);return Nt?Nt+=" ":Nt="",Nt+l.linkInline}if(St==="<"&&Se.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){Te.f=Te.inline=se,o.highlightFormatting&&(Te.formatting="link");var Nt=ce(Te);return Nt?Nt+=" ":Nt="",Nt+l.linkEmail}if(o.xml&&St==="<"&&Se.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var Ct=Se.string.indexOf(">",Se.pos);if(Ct!=-1){var Bt=Se.string.substring(Se.start,Ct);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(Bt)&&(Te.md_inside=!0)}return Se.backUp(1),Te.htmlState=t.startState(r),$(Se,Te,Q)}if(o.xml&&St==="<"&&Se.match(/^\/\w*?>/))return Te.md_inside=!1,"tag";if(St==="*"||St==="_"){for(var ut=1,sn=Se.pos==1?" ":Se.string.charAt(Se.pos-2);ut<3&&Se.eat(St);)ut++;var dn=Se.peek()||" ",Gt=!/\s/.test(dn)&&(!w.test(dn)||/\s/.test(sn)||w.test(sn)),yt=!/\s/.test(sn)&&(!w.test(sn)||/\s/.test(dn)||w.test(dn)),cn=null,gn=null;if(ut%2&&(!Te.em&&Gt&&(St==="*"||!yt||w.test(sn))?cn=!0:Te.em==St&&yt&&(St==="*"||!Gt||w.test(dn))&&(cn=!1)),ut>1&&(!Te.strong&&Gt&&(St==="*"||!yt||w.test(sn))?gn=!0:Te.strong==St&&yt&&(St==="*"||!Gt||w.test(dn))&&(gn=!1)),gn!=null||cn!=null){o.highlightFormatting&&(Te.formatting=cn==null?"strong":gn==null?"em":"strong em"),cn===!0&&(Te.em=St),gn===!0&&(Te.strong=St);var zt=ce(Te);return cn===!1&&(Te.em=!1),gn===!1&&(Te.strong=!1),zt}}else if(St===" "&&(Se.eat("*")||Se.eat("_"))){if(Se.peek()===" ")return ce(Te);Se.backUp(1)}if(o.strikethrough){if(St==="~"&&Se.eatWhile(St)){if(Te.strikethrough){o.highlightFormatting&&(Te.formatting="strikethrough");var zt=ce(Te);return Te.strikethrough=!1,zt}else if(Se.match(/^[^\s]/,!1))return Te.strikethrough=!0,o.highlightFormatting&&(Te.formatting="strikethrough"),ce(Te)}else if(St===" "&&Se.match("~~",!0)){if(Se.peek()===" ")return ce(Te);Se.backUp(2)}}if(o.emoji&&St===":"&&Se.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){Te.emoji=!0,o.highlightFormatting&&(Te.formatting="emoji");var mn=ce(Te);return Te.emoji=!1,mn}return St===" "&&(Se.match(/^ +$/,!1)?Te.trailingSpace++:Te.trailingSpace&&(Te.trailingSpaceNewLine=!0)),ce(Te)}function se(Se,Te){var lt=Se.next();if(lt===">"){Te.f=Te.inline=ie,o.highlightFormatting&&(Te.formatting="link");var Ot=ce(Te);return Ot?Ot+=" ":Ot="",Ot+l.linkInline}return Se.match(/^[^>]+/,!0),l.linkInline}function te(Se,Te){if(Se.eatSpace())return null;var lt=Se.next();return lt==="("||lt==="["?(Te.f=Te.inline=Ee(lt==="("?")":"]"),o.highlightFormatting&&(Te.formatting="link-string"),Te.linkHref=!0,ce(Te)):"error"}var ye={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function Ee(Se){return function(Te,lt){var Ot=Te.next();if(Ot===Se){lt.f=lt.inline=ie,o.highlightFormatting&&(lt.formatting="link-string");var St=ce(lt);return lt.linkHref=!1,St}return Te.match(ye[Se]),lt.linkHref=!0,ce(lt)}}function Ce(Se,Te){return Se.match(/^([^\]\\]|\\.)*\]:/,!1)?(Te.f=je,Se.next(),o.highlightFormatting&&(Te.formatting="link"),Te.linkText=!0,ce(Te)):I(Se,Te,ie)}function je(Se,Te){if(Se.match("]:",!0)){Te.f=Te.inline=tt,o.highlightFormatting&&(Te.formatting="link");var lt=ce(Te);return Te.linkText=!1,lt}return Se.match(/^([^\]\\]|\\.)+/,!0),l.linkText}function tt(Se,Te){return Se.eatSpace()?null:(Se.match(/^[^\s]+/,!0),Se.peek()===void 0?Te.linkTitle=!0:Se.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),Te.f=Te.inline=ie,l.linkHref+" url")}var nt={startState:function(){return{f:Y,prevLine:{stream:null},thisLine:{stream:null},block:Y,htmlState:null,indentation:0,inline:ie,text:ve,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(Se){return{f:Se.f,prevLine:Se.prevLine,thisLine:Se.thisLine,block:Se.block,htmlState:Se.htmlState&&t.copyState(r,Se.htmlState),indentation:Se.indentation,localMode:Se.localMode,localState:Se.localMode?t.copyState(Se.localMode,Se.localState):null,inline:Se.inline,text:Se.text,formatting:!1,linkText:Se.linkText,linkTitle:Se.linkTitle,linkHref:Se.linkHref,code:Se.code,em:Se.em,strong:Se.strong,strikethrough:Se.strikethrough,emoji:Se.emoji,header:Se.header,setext:Se.setext,hr:Se.hr,taskList:Se.taskList,list:Se.list,listStack:Se.listStack.slice(0),quote:Se.quote,indentedCode:Se.indentedCode,trailingSpace:Se.trailingSpace,trailingSpaceNewLine:Se.trailingSpaceNewLine,md_inside:Se.md_inside,fencedEndRE:Se.fencedEndRE}},token:function(Se,Te){if(Te.formatting=!1,Se!=Te.thisLine.stream){if(Te.header=0,Te.hr=!1,Se.match(/^\s*$/,!0))return X(Te),null;if(Te.prevLine=Te.thisLine,Te.thisLine={stream:Se},Te.taskList=!1,Te.trailingSpace=0,Te.trailingSpaceNewLine=!1,!Te.localState&&(Te.f=Te.block,Te.f!=Q)){var lt=Se.match(/^\s*/,!0)[0].replace(/\t/g,D).length;if(Te.indentation=lt,Te.indentationDiff=null,lt>0)return null}}return Te.f(Se,Te)},innerMode:function(Se){return Se.block==Q?{state:Se.htmlState,mode:r}:Se.localState?{state:Se.localState,mode:Se.localMode}:{state:Se,mode:nt}},indent:function(Se,Te,lt){return Se.block==Q&&r.indent?r.indent(Se.htmlState,Te,lt):Se.localState&&Se.localMode.indent?Se.localMode.indent(Se.localState,Te,lt):t.Pass},blankLine:X,getType:ce,blockCommentStart:"<!--",blockCommentEnd:"-->",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return nt},"xml"),t.defineMIME("text/markdown","markdown"),t.defineMIME("text/x-markdown","markdown")})})();var QR=L9e.exports;const M9e=Jf(QR),D9e=UU({__proto__:null,default:M9e},[QR]),eF={Control:"meta",Command:"meta"},KT=["meta","shift","alt","backspace","delete","tab","capslock","enter","home","end"],Pb=new Set([]),dg={};document.body.addEventListener("keydown",n=>{n.repeat||!n.key||(Pb.add(P9e(n)),O9e(n))});document.body.addEventListener("keyup",n=>{n.repeat||!n.key||Pb.clear()});function tl(n,e,t=Pe(document.body)){const i=(o,r)=>{if(!t.value)return;const a=t.value instanceof HTMLElement?t.value:t.value.$el;return document.activeElement===a||a.contains(document.activeElement)||document.activeElement===document.body?(o.preventDefault(),e(o,r)):!1};zr(()=>{[n].flat().forEach(o=>{var r;o in dg?(r=dg[o])==null||r.unshift(i):dg[o]=[i]})}),uu(()=>{[n].flat().forEach(o=>{const r=dg[o];if(r){const a=r.filter(s=>s!==i);dg[o]=a,a.length===0&&delete dg[o]}})})}function P9e(n){const e=/^[a-zA-Z0-9]*?$/g;let t=n.key.match(e)===null?n.code.replace(/(Key|Digit)/g,""):n.key;return t=eF[t]??t,t=t.toLowerCase(),t}function O9e(n){Object.entries(dg).forEach(([e,t])=>{var o;const i=e.split("+");for(e of Pb)if(i.includes(e)===!1)return;for(e of i)if(Pb.has(e)===!1)return;for(let r=0;r<t.length;r++){let a=!1;if((o=t[r])==null||o.call(t,n,()=>{a=!0}),typeof a=="boolean"&&a)break}})}const R9e=(n,e)=>e?n?100-n/Number(e)*100:100:null;function dh(n){return navigator.platform.toLowerCase().startsWith("mac")||navigator.platform.startsWith("iP")?n.map(t=>t==="meta"?"⌘":t==="option"?"⌥":t==="shift"?"⇧":t==="alt"?"⌥":st.capitalize(t)).join(""):n.map(t=>t==="meta"?"Ctrl":st.capitalize(t)).join("+")}const F9e={heading(n,{cursorTo:e},t){const i=(t==null?void 0:t.level)||3;let o=n;const r=e,a="#".repeat(i)+" ";return n.startsWith(a)?o=n.substring(a.length):(o=`${a}${n}`,r.ch=r.ch+a.length),{newSelection:o,newCursor:r}},bold(n,{cursorTo:e}){let t=n;const i=e;return n.startsWith("**")&&n.endsWith("**")?t=n.substring(2,n.length-2):(t=`**${n}**`,i.ch=i.ch+2),{newSelection:t,newCursor:i}},italic(n,{cursorTo:e}){let t=n;const i=e;return n.startsWith("*")&&n.endsWith("*")?t=n.substring(1,n.length-1):(t=`*${n}*`,i.ch=i.ch+1),{newSelection:t,newCursor:i}},strikethrough(n,{cursorTo:e}){let t=n;const i=e;return n.startsWith("~~")&&n.endsWith("~~")?t=n.substring(2,n.length-2):(t=`~~${n}~~`,i.ch=i.ch+2),{newSelection:t,newCursor:i}},listBulleted(n,{cursorTo:e}){let t=n;const i=e,o=n.split(`
|
|
666
666
|
`);return o.every(a=>a.startsWith("- "))?t=o.map(a=>a.substring(2)).join(`
|
|
667
667
|
`):t=o.map(a=>`- ${a}`).join(`
|
|
668
668
|
`),n||(i.ch=i.ch+2),{newSelection:t,newCursor:i}},listNumbered(n,{cursorTo:e}){let t=n;const i=e,o=n.split(`
|
|
@@ -4356,5 +4356,5 @@ button.emoji-picker__category-button.active {
|
|
|
4356
4356
|
|
|
4357
4357
|
.fad.fa-inverse {
|
|
4358
4358
|
color: #fff;
|
|
4359
|
-
}`;if(t!==n||i!==e){var r=new RegExp("\\.".concat(n,"\\-"),"g"),a=new RegExp("\\--".concat(n,"\\-"),"g"),s=new RegExp("\\.".concat(e),"g");o=o.replace(r,".".concat(t,"-")).replace(a,"--".concat(t,"-")).replace(s,".".concat(i))}return o}()),ED=!0)}function D5t(n,e){return Object.defineProperty(n,"abstract",{get:e}),Object.defineProperty(n,"html",{get:function(){return n.abstract.map(function(t){return XV(t)})}}),Object.defineProperty(n,"node",{get:function(){if(JE){var t=Xf.createElement("div");return t.innerHTML=n.html,t.children}}}),n}function CD(n){var e=n.prefix,t=e===void 0?"fa":e,i=n.iconName;if(i)return wD(ZV.definitions,t,i)||wD(em.styles,t,i)}var SD,ZV=new(function(){function n(){(function(i,o){if(!(i instanceof o))throw new TypeError("Cannot call a class as a function")})(this,n),this.definitions={}}var e,t;return e=n,(t=[{key:"add",value:function(){for(var i=this,o=arguments.length,r=new Array(o),a=0;a<o;a++)r[a]=arguments[a];var s=r.reduce(this._pullDefinitions,{});Object.keys(s).forEach(function(l){i.definitions[l]=Gs({},i.definitions[l]||{},s[l]),GV(l,s[l]),YV()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(i,o){var r=o.prefix&&o.iconName&&o.icon?{0:o}:o;return Object.keys(r).map(function(a){var s=r[a],l=s.prefix,d=s.iconName,f=s.icon;i[l]||(i[l]={}),i[l][d]=f}),i}}])&&k5t(e.prototype,t),n}()),ED=!1,I1=(SD=function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=e.transform,i=t===void 0?U0:t,o=e.symbol,r=o!==void 0&&o,a=e.mask,s=a===void 0?null:a,l=e.maskId,d=l===void 0?null:l,f=e.title,g=f===void 0?null:f,v=e.titleId,b=v===void 0?null:v,x=e.classes,k=x===void 0?[]:x,S=e.attributes,O=S===void 0?{}:S,w=e.styles,D=w===void 0?{}:w;if(n){var I=n.prefix,$=n.iconName,B=n.icon;return D5t(Gs({type:"icon"},n),function(){return M5t(),cp.autoA11y&&(g?O["aria-labelledby"]="".concat(cp.replacementClass,"-title-").concat(b||db()):(O["aria-hidden"]="true",O.focusable="false")),L5t({icons:{main:kD(B),mask:s?kD(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:I,iconName:$,transform:Gs({},U0,i),symbol:r,title:g,maskId:d,titleId:b,extra:{attributes:O,styles:D,classes:k}})})}},function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=(n||{}).icon?n:CD(n||{}),i=e.mask;return i&&(i=(i||{}).icon?i:CD(i||{})),SD(t,Gs({},e,{mask:i}))});ZV.add({prefix:"far",iconName:"building",icon:[448,512,[],"f1ad","M128 148v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12zm140 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-128 96h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm128 0h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-76 84v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm76 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm180 124v36H0v-36c0-6.6 5.4-12 12-12h19.5V24c0-13.3 10.7-24 24-24h337c13.3 0 24 10.7 24 24v440H436c6.6 0 12 5.4 12 12zM79.5 463H192v-67c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v67h112.5V49L80 48l-.5 415z"]},{prefix:"fas",iconName:"cat",icon:[512,512,[],"f6be","M290.59 192c-20.18 0-106.82 1.98-162.59 85.95V192c0-52.94-43.06-96-96-96-17.67 0-32 14.33-32 32s14.33 32 32 32c17.64 0 32 14.36 32 32v256c0 35.3 28.7 64 64 64h176c8.84 0 16-7.16 16-16v-16c0-17.67-14.33-32-32-32h-32l128-96v144c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V289.86c-10.29 2.67-20.89 4.54-32 4.54-61.81 0-113.52-44.05-125.41-102.4zM448 96h-64l-64-64v134.4c0 53.02 42.98 96 96 96s96-42.98 96-96V32l-64 64zm-72 80c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16zm80 0c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16z"]},{prefix:"fas",iconName:"coffee",icon:[640,512,[],"f0f4","M192 384h192c53 0 96-43 96-96h32c70.6 0 128-57.4 128-128S582.6 32 512 32H120c-13.3 0-24 10.7-24 24v232c0 53 43 96 96 96zM512 96c35.3 0 64 28.7 64 64s-28.7 64-64 64h-32V96h32zm47.7 384H48.3c-47.6 0-61-64-36-64h583.3c25 0 11.8 64-35.9 64z"]},{prefix:"far",iconName:"flag",icon:[512,512,[],"f024","M336.174 80c-49.132 0-93.305-32-161.913-32-31.301 0-58.303 6.482-80.721 15.168a48.04 48.04 0 0 0 2.142-20.727C93.067 19.575 74.167 1.594 51.201.104 23.242-1.71 0 20.431 0 48c0 17.764 9.657 33.262 24 41.562V496c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-83.443C109.869 395.28 143.259 384 199.826 384c49.132 0 93.305 32 161.913 32 58.479 0 101.972-22.617 128.548-39.981C503.846 367.161 512 352.051 512 335.855V95.937c0-34.459-35.264-57.768-66.904-44.117C409.193 67.309 371.641 80 336.174 80zM464 336c-21.783 15.412-60.824 32-102.261 32-59.945 0-102.002-32-161.913-32-43.361 0-96.379 9.403-127.826 24V128c21.784-15.412 60.824-32 102.261-32 59.945 0 102.002 32 161.913 32 43.271 0 96.32-17.366 127.826-32v240z"]},{prefix:"far",iconName:"frown",icon:[496,512,[],"f119","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-80 128c-40.2 0-78 17.7-103.8 48.6-8.5 10.2-7.1 25.3 3.1 33.8 10.2 8.4 25.3 7.1 33.8-3.1 16.6-19.9 41-31.4 66.9-31.4s50.3 11.4 66.9 31.4c8.1 9.7 23.1 11.9 33.8 3.1 10.2-8.5 11.5-23.6 3.1-33.8C326 321.7 288.2 304 248 304z"]},{prefix:"fas",iconName:"futbol",icon:[512,512,[],"f1e3","M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zm-48 0l-.003-.282-26.064 22.741-62.679-58.5 16.454-84.355 34.303 3.072c-24.889-34.216-60.004-60.089-100.709-73.141l13.651 31.939L256 139l-74.953-41.525 13.651-31.939c-40.631 13.028-75.78 38.87-100.709 73.141l34.565-3.073 16.192 84.355-62.678 58.5-26.064-22.741-.003.282c0 43.015 13.497 83.952 38.472 117.991l7.704-33.897 85.138 10.447 36.301 77.826-29.902 17.786c40.202 13.122 84.29 13.148 124.572 0l-29.902-17.786 36.301-77.826 85.138-10.447 7.704 33.897C442.503 339.952 456 299.015 456 256zm-248.102 69.571l-29.894-91.312L256 177.732l77.996 56.527-29.622 91.312h-96.476z"]},{prefix:"fas",iconName:"history",icon:[512,512,[],"f1da","M504 255.531c.253 136.64-111.18 248.372-247.82 248.468-59.015.042-113.223-20.53-155.822-54.911-11.077-8.94-11.905-25.541-1.839-35.607l11.267-11.267c8.609-8.609 22.353-9.551 31.891-1.984C173.062 425.135 212.781 440 256 440c101.705 0 184-82.311 184-184 0-101.705-82.311-184-184-184-48.814 0-93.149 18.969-126.068 49.932l50.754 50.754c10.08 10.08 2.941 27.314-11.313 27.314H24c-8.837 0-16-7.163-16-16V38.627c0-14.254 17.234-21.393 27.314-11.314l49.372 49.372C129.209 34.136 189.552 8 256 8c136.81 0 247.747 110.78 248 247.531zm-180.912 78.784l9.823-12.63c8.138-10.463 6.253-25.542-4.21-33.679L288 256.349V152c0-13.255-10.745-24-24-24h-16c-13.255 0-24 10.745-24 24v135.651l65.409 50.874c10.463 8.137 25.541 6.253 33.679-4.21z"]},{prefix:"fas",iconName:"icons",icon:[512,512,[],"f86d","M116.65 219.35a15.68 15.68 0 0 0 22.65 0l96.75-99.83c28.15-29 26.5-77.1-4.91-103.88C203.75-7.7 163-3.5 137.86 22.44L128 32.58l-9.85-10.14C93.05-3.5 52.25-7.7 24.86 15.64c-31.41 26.78-33 74.85-5 103.88zm143.92 100.49h-48l-7.08-14.24a27.39 27.39 0 0 0-25.66-17.78h-71.71a27.39 27.39 0 0 0-25.66 17.78l-7 14.24h-48A27.45 27.45 0 0 0 0 347.3v137.25A27.44 27.44 0 0 0 27.43 512h233.14A27.45 27.45 0 0 0 288 484.55V347.3a27.45 27.45 0 0 0-27.43-27.46zM144 468a52 52 0 1 1 52-52 52 52 0 0 1-52 52zm355.4-115.9h-60.58l22.36-50.75c2.1-6.65-3.93-13.21-12.18-13.21h-75.59c-6.3 0-11.66 3.9-12.5 9.1l-16.8 106.93c-1 6.3 4.88 11.89 12.5 11.89h62.31l-24.2 83c-1.89 6.65 4.2 12.9 12.23 12.9a13.26 13.26 0 0 0 10.92-5.25l92.4-138.91c4.88-6.91-1.16-15.7-10.87-15.7zM478.08.33L329.51 23.17C314.87 25.42 304 38.92 304 54.83V161.6a83.25 83.25 0 0 0-16-1.7c-35.35 0-64 21.48-64 48s28.65 48 64 48c35.2 0 63.73-21.32 64-47.66V99.66l112-17.22v47.18a83.25 83.25 0 0 0-16-1.7c-35.35 0-64 21.48-64 48s28.65 48 64 48c35.2 0 63.73-21.32 64-47.66V32c0-19.48-16-34.42-33.92-31.67z"]},{prefix:"far",iconName:"lightbulb",icon:[352,512,[],"f0eb","M176 80c-52.94 0-96 43.06-96 96 0 8.84 7.16 16 16 16s16-7.16 16-16c0-35.3 28.72-64 64-64 8.84 0 16-7.16 16-16s-7.16-16-16-16zM96.06 459.17c0 3.15.93 6.22 2.68 8.84l24.51 36.84c2.97 4.46 7.97 7.14 13.32 7.14h78.85c5.36 0 10.36-2.68 13.32-7.14l24.51-36.84c1.74-2.62 2.67-5.7 2.68-8.84l.05-43.18H96.02l.04 43.18zM176 0C73.72 0 0 82.97 0 176c0 44.37 16.45 84.85 43.56 115.78 16.64 18.99 42.74 58.8 52.42 92.16v.06h48v-.12c-.01-4.77-.72-9.51-2.15-14.07-5.59-17.81-22.82-64.77-62.17-109.67-20.54-23.43-31.52-53.15-31.61-84.14-.2-73.64 59.67-128 127.95-128 70.58 0 128 57.42 128 128 0 30.97-11.24 60.85-31.65 84.14-39.11 44.61-56.42 91.47-62.1 109.46a47.507 47.507 0 0 0-2.22 14.3v.1h48v-.05c9.68-33.37 35.78-73.18 52.42-92.16C335.55 260.85 352 220.37 352 176 352 78.8 273.2 0 176 0z"]},{prefix:"fas",iconName:"music",icon:[512,512,[],"f001","M470.38 1.51L150.41 96A32 32 0 0 0 128 126.51v261.41A139 139 0 0 0 96 384c-53 0-96 28.66-96 64s43 64 96 64 96-28.66 96-64V214.32l256-75v184.61a138.4 138.4 0 0 0-32-3.93c-53 0-96 28.66-96 64s43 64 96 64 96-28.65 96-64V32a32 32 0 0 0-41.62-30.49z"]},{prefix:"fas",iconName:"search",icon:[512,512,[],"f002","M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"]},{prefix:"far",iconName:"smile",icon:[496,512,[],"f118","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"]},{prefix:"fas",iconName:"times",icon:[352,512,[],"f00d","M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"]},{prefix:"fas",iconName:"user",icon:[448,512,[],"f007","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"]});const P5t=I1({prefix:"far",iconName:"building"}).html[0],O5t=I1({prefix:"fas",iconName:"cat"}).html[0],R5t=I1({prefix:"fas",iconName:"coffee"}).html[0],F5t=I1({prefix:"far",iconName:"flag"}).html[0],z5t=I1({prefix:"fas",iconName:"futbol"}).html[0],$5t=I1({prefix:"far",iconName:"frown"}).html[0],N5t=I1({prefix:"fas",iconName:"history"}).html[0],B5t=I1({prefix:"fas",iconName:"icons"}).html[0],j5t=I1({prefix:"far",iconName:"lightbulb"}).html[0],V5t=I1({prefix:"fas",iconName:"music"}).html[0],jx=I1({prefix:"fas",iconName:"search"}).html[0],Xk=I1({prefix:"far",iconName:"smile"}).html[0],H5t=I1({prefix:"fas",iconName:"times"}).html[0],U5t=I1({prefix:"fas",iconName:"user"}).html[0];function W0(n){const e=document.createElement("img");return e.src=n,e}function Kk(){const n=localStorage.getItem("emojiPicker.recent");return(n?JSON.parse(n):[]).filter(e=>!!e.emoji)}class Zk{constructor(e,t,i,o,r,a=!0){this.emoji=e,this.showVariants=t,this.showPreview=i,this.events=o,this.options=r,this.lazy=a}render(){this.emojiButton=wc("button",op);let e=this.emoji.emoji;return this.emoji.custom?e=this.lazy?Xk:`<img class="emoji-picker__custom-emoji" src="${U3(this.emoji.emoji)}">`:this.options.style==="twemoji"&&(e=this.lazy?Xk:S7.parse(this.emoji.emoji,this.options.twemojiOptions)),this.emojiButton.innerHTML=e,this.emojiButton.tabIndex=-1,this.emojiButton.dataset.emoji=this.emoji.emoji,this.emoji.custom&&(this.emojiButton.dataset.custom="true"),this.emojiButton.title=this.emoji.name,this.emojiButton.addEventListener("focus",()=>this.onEmojiHover()),this.emojiButton.addEventListener("blur",()=>this.onEmojiLeave()),this.emojiButton.addEventListener("click",()=>this.onEmojiClick()),this.emojiButton.addEventListener("mouseover",()=>this.onEmojiHover()),this.emojiButton.addEventListener("mouseout",()=>this.onEmojiLeave()),this.options.style==="twemoji"&&this.lazy&&(this.emojiButton.style.opacity="0.25"),this.emojiButton}onEmojiClick(){this.emoji.variations&&this.showVariants&&this.options.showVariants||!this.options.showRecents||function(e,t){const i=Kk(),o={emoji:e.emoji,name:e.name,key:e.key||e.name,custom:e.custom};localStorage.setItem("emojiPicker.recent",JSON.stringify([o,...i.filter(r=>!!r.emoji&&r.key!==o.key)].slice(0,t.recentsCount)))}(this.emoji,this.options),this.events.emit("emoji",{emoji:this.emoji,showVariants:this.showVariants,button:this.emojiButton})}onEmojiHover(){this.showPreview&&this.events.emit("showPreview",this.emoji)}onEmojiLeave(){this.showPreview&&this.events.emit("hidePreview")}}class Jk{constructor(e,t,i,o,r=!0){this.showVariants=t,this.events=i,this.options=o,this.lazy=r,this.emojis=e.filter(a=>!a.version||parseFloat(a.version)<=parseFloat(o.emojiVersion))}render(){const e=wc("div","emoji-picker__container");return this.emojis.forEach(t=>e.appendChild(new Zk(t,this.showVariants,!0,this.events,this.options,this.lazy).render())),e}}var W5t=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vx,q5t=(function(n){var e,t;e=W5t,t=function(){var i=typeof window>"u",o=new Map,r=new Map,a=[];a.total=0;var s=[],l=[];function d(){o.clear(),r.clear(),s=[],l=[]}function f(k){for(var S=-9007199254740991,O=k.length-1;O>=0;--O){var w=k[O];if(w!==null){var D=w.score;D>S&&(S=D)}}return S===-9007199254740991?null:S}function g(k,S){var O=k[S];if(O!==void 0)return O;var w=S;Array.isArray(S)||(w=S.split("."));for(var D=w.length,I=-1;k&&++I<D;)k=k[w[I]];return k}function v(k){return typeof k=="object"}var b=function(){var k=[],S=0,O={};function w(){for(var D=0,I=k[D],$=1;$<S;){var B=$+1;D=$,B<S&&k[B].score<k[$].score&&(D=B),k[D-1>>1]=k[D],$=1+(D<<1)}for(var X=D-1>>1;D>0&&I.score<k[X].score;X=(D=X)-1>>1)k[D]=k[X];k[D]=I}return O.add=function(D){var I=S;k[S++]=D;for(var $=I-1>>1;I>0&&D.score<k[$].score;$=(I=$)-1>>1)k[I]=k[$];k[I]=D},O.poll=function(){if(S!==0){var D=k[0];return k[0]=k[--S],w(),D}},O.peek=function(D){if(S!==0)return k[0]},O.replaceTop=function(D){k[0]=D,w()},O},x=b();return function k(S){var O={single:function(w,D,I){return w?(v(w)||(w=O.getPreparedSearch(w)),D?(v(D)||(D=O.getPrepared(D)),((I&&I.allowTypo!==void 0?I.allowTypo:!S||S.allowTypo===void 0||S.allowTypo)?O.algorithm:O.algorithmNoTypo)(w,D,w[0])):null):null},go:function(w,D,I){if(!w)return a;var $=(w=O.prepareSearch(w))[0],B=I&&I.threshold||S&&S.threshold||-9007199254740991,X=I&&I.limit||S&&S.limit||9007199254740991,Y=(I&&I.allowTypo!==void 0?I.allowTypo:!S||S.allowTypo===void 0||S.allowTypo)?O.algorithm:O.algorithmNoTypo,Q=0,ue=0,ce=D.length;if(I&&I.keys)for(var ve=I.scoreFn||f,ie=I.keys,se=ie.length,te=ce-1;te>=0;--te){for(var ye=D[te],Ee=new Array(se),Ce=se-1;Ce>=0;--Ce)(nt=g(ye,tt=ie[Ce]))?(v(nt)||(nt=O.getPrepared(nt)),Ee[Ce]=Y(w,nt,$)):Ee[Ce]=null;Ee.obj=ye;var je=ve(Ee);je!==null&&(je<B||(Ee.score=je,Q<X?(x.add(Ee),++Q):(++ue,je>x.peek().score&&x.replaceTop(Ee))))}else if(I&&I.key){var tt=I.key;for(te=ce-1;te>=0;--te)(nt=g(ye=D[te],tt))&&(v(nt)||(nt=O.getPrepared(nt)),(Se=Y(w,nt,$))!==null&&(Se.score<B||(Se={target:Se.target,_targetLowerCodes:null,_nextBeginningIndexes:null,score:Se.score,indexes:Se.indexes,obj:ye},Q<X?(x.add(Se),++Q):(++ue,Se.score>x.peek().score&&x.replaceTop(Se)))))}else for(te=ce-1;te>=0;--te){var nt,Se;(nt=D[te])&&(v(nt)||(nt=O.getPrepared(nt)),(Se=Y(w,nt,$))!==null&&(Se.score<B||(Q<X?(x.add(Se),++Q):(++ue,Se.score>x.peek().score&&x.replaceTop(Se)))))}if(Q===0)return a;var Te=new Array(Q);for(te=Q-1;te>=0;--te)Te[te]=x.poll();return Te.total=Q+ue,Te},goAsync:function(w,D,I){var $=!1,B=new Promise(function(X,Y){if(!w)return X(a);var Q=(w=O.prepareSearch(w))[0],ue=b(),ce=D.length-1,ve=I&&I.threshold||S&&S.threshold||-9007199254740991,ie=I&&I.limit||S&&S.limit||9007199254740991,se=(I&&I.allowTypo!==void 0?I.allowTypo:!S||S.allowTypo===void 0||S.allowTypo)?O.algorithm:O.algorithmNoTypo,te=0,ye=0;function Ee(){if($)return Y("canceled");var Ce=Date.now();if(I&&I.keys)for(var je=I.scoreFn||f,tt=I.keys,nt=tt.length;ce>=0;--ce){for(var Se=D[ce],Te=new Array(nt),lt=nt-1;lt>=0;--lt)(Et=g(Se,St=tt[lt]))?(v(Et)||(Et=O.getPrepared(Et)),Te[lt]=se(w,Et,Q)):Te[lt]=null;Te.obj=Se;var Ot=je(Te);if(Ot!==null&&!(Ot<ve)&&(Te.score=Ot,te<ie?(ue.add(Te),++te):(++ye,Ot>ue.peek().score&&ue.replaceTop(Te)),ce%1e3==0&&Date.now()-Ce>=10))return void(i?setImmediate(Ee):setTimeout(Ee))}else if(I&&I.key){for(var St=I.key;ce>=0;--ce)if((Et=g(Se=D[ce],St))&&(v(Et)||(Et=O.getPrepared(Et)),(It=se(w,Et,Q))!==null&&!(It.score<ve)&&(It={target:It.target,_targetLowerCodes:null,_nextBeginningIndexes:null,score:It.score,indexes:It.indexes,obj:Se},te<ie?(ue.add(It),++te):(++ye,It.score>ue.peek().score&&ue.replaceTop(It)),ce%1e3==0&&Date.now()-Ce>=10)))return void(i?setImmediate(Ee):setTimeout(Ee))}else for(;ce>=0;--ce){var Et,It;if((Et=D[ce])&&(v(Et)||(Et=O.getPrepared(Et)),(It=se(w,Et,Q))!==null&&!(It.score<ve)&&(te<ie?(ue.add(It),++te):(++ye,It.score>ue.peek().score&&ue.replaceTop(It)),ce%1e3==0&&Date.now()-Ce>=10)))return void(i?setImmediate(Ee):setTimeout(Ee))}if(te===0)return X(a);for(var _t=new Array(te),Qt=te-1;Qt>=0;--Qt)_t[Qt]=ue.poll();_t.total=te+ye,X(_t)}i?setImmediate(Ee):Ee()});return B.cancel=function(){$=!0},B},highlight:function(w,D,I){if(w===null)return null;D===void 0&&(D="<b>"),I===void 0&&(I="</b>");for(var $="",B=0,X=!1,Y=w.target,Q=Y.length,ue=w.indexes,ce=0;ce<Q;++ce){var ve=Y[ce];if(ue[B]===ce){if(X||(X=!0,$+=D),++B===ue.length){$+=ve+I+Y.substr(ce+1);break}}else X&&(X=!1,$+=I);$+=ve}return $},prepare:function(w){if(w)return{target:w,_targetLowerCodes:O.prepareLowerCodes(w),_nextBeginningIndexes:null,score:null,indexes:null,obj:null}},prepareSlow:function(w){if(w)return{target:w,_targetLowerCodes:O.prepareLowerCodes(w),_nextBeginningIndexes:O.prepareNextBeginningIndexes(w),score:null,indexes:null,obj:null}},prepareSearch:function(w){if(w)return O.prepareLowerCodes(w)},getPrepared:function(w){if(w.length>999)return O.prepare(w);var D=o.get(w);return D!==void 0||(D=O.prepare(w),o.set(w,D)),D},getPreparedSearch:function(w){if(w.length>999)return O.prepareSearch(w);var D=r.get(w);return D!==void 0||(D=O.prepareSearch(w),r.set(w,D)),D},algorithm:function(w,D,I){for(var $=D._targetLowerCodes,B=w.length,X=$.length,Y=0,Q=0,ue=0,ce=0;;){if(I===$[Q]){if(s[ce++]=Q,++Y===B)break;I=w[ue===0?Y:ue===Y?Y+1:ue===Y-1?Y-1:Y]}if(++Q>=X)for(;;){if(Y<=1)return null;if(ue===0){if(I===w[--Y])continue;ue=Y}else{if(ue===1)return null;if((I=w[1+(Y=--ue)])===w[Y])continue}Q=s[(ce=Y)-1]+1;break}}Y=0;var ve=0,ie=!1,se=0,te=D._nextBeginningIndexes;te===null&&(te=D._nextBeginningIndexes=O.prepareNextBeginningIndexes(D.target));var ye=Q=s[0]===0?0:te[s[0]-1];if(Q!==X)for(;;)if(Q>=X){if(Y<=0){if(++ve>B-2)break;if(w[ve]===w[ve+1])continue;Q=ye;continue}--Y,Q=te[l[--se]]}else if(w[ve===0?Y:ve===Y?Y+1:ve===Y-1?Y-1:Y]===$[Q]){if(l[se++]=Q,++Y===B){ie=!0;break}++Q}else Q=te[Q];if(ie)var Ee=l,Ce=se;else Ee=s,Ce=ce;for(var je=0,tt=-1,nt=0;nt<B;++nt)tt!==(Q=Ee[nt])-1&&(je-=Q),tt=Q;for(ie?ve!==0&&(je+=-20):(je*=1e3,ue!==0&&(je+=-20)),je-=X-B,D.score=je,D.indexes=new Array(Ce),nt=Ce-1;nt>=0;--nt)D.indexes[nt]=Ee[nt];return D},algorithmNoTypo:function(w,D,I){for(var $=D._targetLowerCodes,B=w.length,X=$.length,Y=0,Q=0,ue=0;;){if(I===$[Q]){if(s[ue++]=Q,++Y===B)break;I=w[Y]}if(++Q>=X)return null}Y=0;var ce=!1,ve=0,ie=D._nextBeginningIndexes;if(ie===null&&(ie=D._nextBeginningIndexes=O.prepareNextBeginningIndexes(D.target)),(Q=s[0]===0?0:ie[s[0]-1])!==X)for(;;)if(Q>=X){if(Y<=0)break;--Y,Q=ie[l[--ve]]}else if(w[Y]===$[Q]){if(l[ve++]=Q,++Y===B){ce=!0;break}++Q}else Q=ie[Q];if(ce)var se=l,te=ve;else se=s,te=ue;for(var ye=0,Ee=-1,Ce=0;Ce<B;++Ce)Ee!==(Q=se[Ce])-1&&(ye-=Q),Ee=Q;for(ce||(ye*=1e3),ye-=X-B,D.score=ye,D.indexes=new Array(te),Ce=te-1;Ce>=0;--Ce)D.indexes[Ce]=se[Ce];return D},prepareLowerCodes:function(w){for(var D=w.length,I=[],$=w.toLowerCase(),B=0;B<D;++B)I[B]=$.charCodeAt(B);return I},prepareBeginningIndexes:function(w){for(var D=w.length,I=[],$=0,B=!1,X=!1,Y=0;Y<D;++Y){var Q=w.charCodeAt(Y),ue=Q>=65&&Q<=90,ce=ue||Q>=97&&Q<=122||Q>=48&&Q<=57,ve=ue&&!B||!X||!ce;B=ue,X=ce,ve&&(I[$++]=Y)}return I},prepareNextBeginningIndexes:function(w){for(var D=w.length,I=O.prepareBeginningIndexes(w),$=[],B=I[0],X=0,Y=0;Y<D;++Y)B>Y?$[Y]=B:(B=I[++X],$[Y]=B===void 0?D:B);return $},cleanup:d,new:k};return O}()},n.exports?n.exports=t():e.fuzzysort=t()}(Vx={exports:{}},Vx.exports),Vx.exports);class G5t{constructor(e,t){this.message=e,this.iconUrl=t}render(){const e=wc("div","emoji-picker__search-not-found"),t=wc("div","emoji-picker__search-not-found-icon");this.iconUrl?t.appendChild(W0(this.iconUrl)):t.innerHTML=$5t,e.appendChild(t);const i=wc("h2");return i.innerHTML=U3(this.message),e.appendChild(i),e}}class Y5t{constructor(e,t,i,o,r){if(this.events=e,this.i18n=t,this.options=i,this.focusedEmojiIndex=0,this.emojisPerRow=this.options.emojisPerRow||8,this.emojiData=o.filter(a=>a.version&&parseFloat(a.version)<=parseFloat(i.emojiVersion)&&a.category!==void 0&&r.indexOf(a.category)>=0),this.options.custom){const a=this.options.custom.map(s=>Object.assign(Object.assign({},s),{custom:!0}));this.emojiData=[...this.emojiData,...a]}this.events.on("hideVariantPopup",()=>{setTimeout(()=>this.setFocusedEmoji(this.focusedEmojiIndex))})}render(){return this.searchContainer=wc("div","emoji-picker__search-container"),this.searchField=wc("input","emoji-picker__search"),this.searchField.placeholder=this.i18n.search,this.searchContainer.appendChild(this.searchField),this.searchIcon=wc("span","emoji-picker__search-icon"),this.options.icons&&this.options.icons.search?this.searchIcon.appendChild(W0(this.options.icons.search)):this.searchIcon.innerHTML=jx,this.searchIcon.addEventListener("click",e=>this.onClearSearch(e)),this.searchContainer.appendChild(this.searchIcon),this.searchField.addEventListener("keydown",e=>this.onKeyDown(e)),this.searchField.addEventListener("keyup",e=>this.onKeyUp(e)),this.searchContainer}clear(){this.searchField.value=""}focus(){this.searchField.focus()}onClearSearch(e){e.stopPropagation(),this.searchField.value&&(this.searchField.value="",this.resultsContainer=null,this.options.icons&&this.options.icons.search?(o3(this.searchIcon),this.searchIcon.appendChild(W0(this.options.icons.search))):this.searchIcon.innerHTML=jx,this.searchIcon.style.cursor="default",this.events.emit("hideSearchResults"),setTimeout(()=>this.searchField.focus()))}setFocusedEmoji(e){if(this.resultsContainer){const t=this.resultsContainer.querySelectorAll("."+op);t[this.focusedEmojiIndex].tabIndex=-1,this.focusedEmojiIndex=e;const i=t[this.focusedEmojiIndex];i.tabIndex=0,i.focus()}}handleResultsKeydown(e){if(this.resultsContainer){const t=this.resultsContainer.querySelectorAll("."+op);e.key==="ArrowRight"?this.setFocusedEmoji(Math.min(this.focusedEmojiIndex+1,t.length-1)):e.key==="ArrowLeft"?this.setFocusedEmoji(Math.max(0,this.focusedEmojiIndex-1)):e.key==="ArrowDown"?(e.preventDefault(),this.focusedEmojiIndex<t.length-this.emojisPerRow&&this.setFocusedEmoji(this.focusedEmojiIndex+this.emojisPerRow)):e.key==="ArrowUp"?(e.preventDefault(),this.focusedEmojiIndex>=this.emojisPerRow&&this.setFocusedEmoji(this.focusedEmojiIndex-this.emojisPerRow)):e.key==="Escape"&&this.onClearSearch(e)}}onKeyDown(e){e.key==="Escape"&&this.searchField.value&&this.onClearSearch(e)}onKeyUp(e){if(e.key!=="Tab"&&e.key!=="Shift")if(this.searchField.value){this.options.icons&&this.options.icons.clearSearch?(o3(this.searchIcon),this.searchIcon.appendChild(W0(this.options.icons.clearSearch))):this.searchIcon.innerHTML=H5t,this.searchIcon.style.cursor="pointer";const t=q5t.go(this.searchField.value,this.emojiData,{allowTypo:!0,limit:100,key:"name"}).map(i=>i.obj);this.events.emit("hidePreview"),t.length?(this.resultsContainer=new Jk(t,!0,this.events,this.options,!1).render(),this.resultsContainer&&(this.resultsContainer.querySelector("."+op).tabIndex=0,this.focusedEmojiIndex=0,this.resultsContainer.addEventListener("keydown",i=>this.handleResultsKeydown(i)),this.events.emit("showSearchResults",this.resultsContainer))):this.events.emit("showSearchResults",new G5t(this.i18n.notFound,this.options.icons&&this.options.icons.notFound).render())}else this.options.icons&&this.options.icons.search?(o3(this.searchIcon),this.searchIcon.appendChild(W0(this.options.icons.search))):this.searchIcon.innerHTML=jx,this.searchIcon.style.cursor="default",this.events.emit("hideSearchResults")}}class X5t{constructor(e,t,i){this.events=e,this.emoji=t,this.options=i,this.focusedEmojiIndex=0}getEmoji(e){return this.popup.querySelectorAll("."+op)[e]}setFocusedEmoji(e){this.getEmoji(this.focusedEmojiIndex).tabIndex=-1,this.focusedEmojiIndex=e;const t=this.getEmoji(this.focusedEmojiIndex);t.tabIndex=0,t.focus()}render(){this.popup=wc("div","emoji-picker__variant-popup");const e=wc("div","emoji-picker__variant-overlay");e.addEventListener("click",i=>{i.stopPropagation(),this.popup.contains(i.target)||this.events.emit("hideVariantPopup")}),this.popup.appendChild(new Zk(this.emoji,!1,!1,this.events,this.options,!1).render()),(this.emoji.variations||[]).forEach((i,o)=>this.popup.appendChild(new Zk({name:this.emoji.name,emoji:i,key:this.emoji.name+o},!1,!1,this.events,this.options,!1).render()));const t=this.popup.querySelector("."+op);return this.focusedEmojiIndex=0,t.tabIndex=0,setTimeout(()=>t.focus()),this.popup.addEventListener("keydown",i=>{i.key==="ArrowRight"?this.setFocusedEmoji(Math.min(this.focusedEmojiIndex+1,this.popup.querySelectorAll("."+op).length-1)):i.key==="ArrowLeft"?this.setFocusedEmoji(Math.max(this.focusedEmojiIndex-1,0)):i.key==="Escape"&&(i.stopPropagation(),this.events.emit("hideVariantPopup"))}),e.appendChild(this.popup),e}}const JV={search:"Search emojis...",categories:{recents:"Recent Emojis",smileys:"Smileys & Emotion",people:"People & Body",animals:"Animals & Nature",food:"Food & Drink",activities:"Activities",travel:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"},notFound:"No emojis found"},K5t={recents:N5t,smileys:Xk,people:U5t,animals:O5t,food:R5t,activities:z5t,travel:P5t,objects:j5t,symbols:V5t,flags:F5t,custom:B5t};class Z5t{constructor(e,t,i){this.options=e,this.events=t,this.i18n=i,this.activeButton=0,this.buttons=[]}render(){var e;const t=wc("div","emoji-picker__category-buttons"),i=this.options.categories||((e=this.options.emojiData)===null||e===void 0?void 0:e.categories)||i3.categories;let o=this.options.showRecents?["recents",...i]:i;return this.options.custom&&(o=[...o,"custom"]),o.forEach(r=>{const a=wc("button","emoji-picker__category-button");this.options.icons&&this.options.icons.categories&&this.options.icons.categories[r]?a.appendChild(W0(this.options.icons.categories[r])):a.innerHTML=K5t[r],a.tabIndex=-1,a.title=this.i18n.categories[r],t.appendChild(a),this.buttons.push(a),a.addEventListener("click",()=>{this.events.emit("categoryClicked",r)})}),t.addEventListener("keydown",r=>{switch(r.key){case"ArrowRight":this.events.emit("categoryClicked",o[(this.activeButton+1)%this.buttons.length]);break;case"ArrowLeft":this.events.emit("categoryClicked",o[this.activeButton===0?this.buttons.length-1:this.activeButton-1]);break;case"ArrowUp":case"ArrowDown":r.stopPropagation(),r.preventDefault()}}),t}setActiveButton(e,t=!0){let i=this.buttons[this.activeButton];i.classList.remove("active"),i.tabIndex=-1,this.activeButton=e,i=this.buttons[this.activeButton],i.classList.add("active"),i.tabIndex=0,t&&i.focus()}}const AD=["recents","smileys","people","animals","food","activities","travel","objects","symbols","flags","custom"];class J5t{constructor(e,t,i,o){var r;this.events=e,this.i18n=t,this.options=i,this.emojiCategories=o,this.currentCategory=0,this.headers=[],this.focusedIndex=0,this.handleKeyDown=a=>{switch(this.emojis.removeEventListener("scroll",this.highlightCategory),a.key){case"ArrowRight":this.focusedEmoji.tabIndex=-1,this.focusedIndex===this.currentEmojiCount-1&&this.currentCategory<this.categories.length-1?(this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(++this.currentCategory),this.setFocusedEmoji(0)):this.focusedIndex<this.currentEmojiCount-1&&this.setFocusedEmoji(this.focusedIndex+1);break;case"ArrowLeft":this.focusedEmoji.tabIndex=-1,this.focusedIndex===0&&this.currentCategory>0?(this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(--this.currentCategory),this.setFocusedEmoji(this.currentEmojiCount-1)):this.setFocusedEmoji(Math.max(0,this.focusedIndex-1));break;case"ArrowDown":a.preventDefault(),this.focusedEmoji.tabIndex=-1,this.focusedIndex+this.emojisPerRow>=this.currentEmojiCount&&this.currentCategory<this.categories.length-1?(this.currentCategory++,this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory),this.setFocusedEmoji(Math.min(this.focusedIndex%this.emojisPerRow,this.currentEmojiCount-1))):this.currentEmojiCount-this.focusedIndex>this.emojisPerRow&&this.setFocusedEmoji(this.focusedIndex+this.emojisPerRow);break;case"ArrowUp":if(a.preventDefault(),this.focusedEmoji.tabIndex=-1,this.focusedIndex<this.emojisPerRow&&this.currentCategory>0){const s=this.getEmojiCount(this.currentCategory-1);let l=s%this.emojisPerRow;l===0&&(l=this.emojisPerRow);const d=this.focusedIndex,f=d>l-1?s-1:s-l+d;this.currentCategory--,this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory),this.setFocusedEmoji(f)}else this.setFocusedEmoji(this.focusedIndex>=this.emojisPerRow?this.focusedIndex-this.emojisPerRow:this.focusedIndex)}requestAnimationFrame(()=>this.emojis.addEventListener("scroll",this.highlightCategory))},this.addCategory=(a,s)=>{const l=wc("h2","emoji-picker__category-name");l.innerHTML=U3(this.i18n.categories[a]||JV.categories[a]),this.emojis.appendChild(l),this.headers.push(l),this.emojis.appendChild(new Jk(s,!0,this.events,this.options,a!=="recents").render())},this.selectCategory=(a,s=!0)=>{this.emojis.removeEventListener("scroll",this.highlightCategory),this.focusedEmoji&&(this.focusedEmoji.tabIndex=-1);const l=this.categories.indexOf(a);this.currentCategory=l,this.setFocusedEmoji(0,!1),this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory,s);const d=this.headerOffsets[l];this.emojis.scrollTop=d,requestAnimationFrame(()=>this.emojis.addEventListener("scroll",this.highlightCategory))},this.highlightCategory=()=>{if(document.activeElement&&document.activeElement.classList.contains("emoji-picker__emoji"))return;let a=this.headerOffsets.findIndex(s=>s>=Math.round(this.emojis.scrollTop));this.emojis.scrollTop+this.emojis.offsetHeight===this.emojis.scrollHeight&&(a=-1),a===0?a=1:a<0&&(a=this.headerOffsets.length),this.headerOffsets[a]===this.emojis.scrollTop&&a++,this.currentCategory=a-1,this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory)},this.emojisPerRow=i.emojisPerRow||8,this.categories=((r=i.emojiData)===null||r===void 0?void 0:r.categories)||i.categories||i3.categories,i.showRecents&&(this.categories=["recents",...this.categories]),i.custom&&(this.categories=[...this.categories,"custom"]),this.categories.sort((a,s)=>AD.indexOf(a)-AD.indexOf(s))}updateRecents(){if(this.options.showRecents){this.emojiCategories.recents=Kk();const e=this.emojis.querySelector(".emoji-picker__container");e&&e.parentNode&&e.parentNode.replaceChild(new Jk(this.emojiCategories.recents,!0,this.events,this.options,!1).render(),e)}}render(){return this.container=wc("div","emoji-picker__emoji-area"),this.options.showCategoryButtons&&(this.categoryButtons=new Z5t(this.options,this.events,this.i18n),this.container.appendChild(this.categoryButtons.render())),this.emojis=wc("div","emoji-picker__emojis"),this.options.showRecents&&(this.emojiCategories.recents=Kk()),this.options.custom&&(this.emojiCategories.custom=this.options.custom.map(e=>Object.assign(Object.assign({},e),{custom:!0}))),this.categories.forEach(e=>this.addCategory(e,this.emojiCategories[e])),requestAnimationFrame(()=>{setTimeout(()=>{setTimeout(()=>this.emojis.addEventListener("scroll",this.highlightCategory))})}),this.emojis.addEventListener("keydown",this.handleKeyDown),this.events.on("categoryClicked",this.selectCategory),this.container.appendChild(this.emojis),this.container.querySelectorAll("."+op)[0].tabIndex=0,this.container}reset(){this.headerOffsets=Array.prototype.map.call(this.headers,e=>e.offsetTop),this.selectCategory(this.options.initialCategory||"smileys",!1),this.currentCategory=this.categories.indexOf(this.options.initialCategory||"smileys"),this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory,!1)}get currentCategoryEl(){return this.emojis.querySelectorAll(".emoji-picker__container")[this.currentCategory]}get focusedEmoji(){return this.currentCategoryEl.querySelectorAll("."+op)[this.focusedIndex]}get currentEmojiCount(){return this.currentCategoryEl.querySelectorAll("."+op).length}getEmojiCount(e){return this.emojis.querySelectorAll(".emoji-picker__container")[e].querySelectorAll("."+op).length}setFocusedEmoji(e,t=!0){this.focusedIndex=e,this.focusedEmoji&&(this.focusedEmoji.tabIndex=0,t&&this.focusedEmoji.focus())}}const Q5t={position:"auto",autoHide:!0,autoFocusSearch:!0,showAnimation:!0,showPreview:!0,showSearch:!0,showRecents:!0,showVariants:!0,showCategoryButtons:!0,recentsCount:50,emojiData:i3,emojiVersion:"12.1",theme:"light",categories:["smileys","people","animals","food","activities","travel","objects","symbols","flags"],style:"native",twemojiOptions:{ext:".svg",folder:"svg"},emojisPerRow:8,rows:6,emojiSize:"1.8em",initialCategory:"smileys"};class e6t{constructor(e={}){this.events=new Uk,this.publicEvents=new Uk,this.pickerVisible=!1,this.options=Object.assign(Object.assign({},Q5t),e),this.options.rootElement||(this.options.rootElement=document.body),this.i18n=Object.assign(Object.assign({},JV),e.i18n),this.onDocumentClick=this.onDocumentClick.bind(this),this.onDocumentKeydown=this.onDocumentKeydown.bind(this),this.theme=this.options.theme||"light",this.emojiCategories=function(t){const i={};return t.emoji.forEach(o=>{let r=i[t.categories[o.category||0]];r||(r=i[t.categories[o.category||0]]=[]),r.push(o)}),i}(this.options.emojiData||i3),this.buildPicker()}on(e,t){this.publicEvents.on(e,t)}off(e,t){this.publicEvents.off(e,t)}setStyleProperties(){this.options.showAnimation||this.pickerEl.style.setProperty("--animation-duration","0s"),this.options.emojisPerRow&&this.pickerEl.style.setProperty("--emoji-per-row",this.options.emojisPerRow.toString()),this.options.rows&&this.pickerEl.style.setProperty("--row-count",this.options.rows.toString()),this.options.emojiSize&&this.pickerEl.style.setProperty("--emoji-size",this.options.emojiSize),this.options.showCategoryButtons||this.pickerEl.style.setProperty("--category-button-height","0"),this.options.styleProperties&&Object.keys(this.options.styleProperties).forEach(e=>{this.options.styleProperties&&this.pickerEl.style.setProperty(e,this.options.styleProperties[e])})}showSearchResults(e){o3(this.pickerContent),e.classList.add("search-results"),this.pickerContent.appendChild(e)}hideSearchResults(){this.pickerContent.firstChild!==this.emojiArea.container&&(o3(this.pickerContent),this.pickerContent.appendChild(this.emojiArea.container)),this.emojiArea.reset()}emitEmoji({emoji:e,showVariants:t}){return i5t(this,void 0,void 0,function*(){if(e.variations&&t&&this.options.showVariants)this.showVariantPopup(e);else{let i;setTimeout(()=>this.emojiArea.updateRecents()),i=e.custom?this.emitCustomEmoji(e):this.options.style==="twemoji"?yield this.emitTwemoji(e):this.emitNativeEmoji(e),this.publicEvents.emit("emoji",i),this.options.autoHide&&this.hidePicker()}})}emitNativeEmoji(e){return{emoji:e.emoji,name:e.name}}emitCustomEmoji(e){return{url:e.emoji,name:e.name,custom:!0}}emitTwemoji(e){return new Promise(t=>{S7.parse(e.emoji,Object.assign(Object.assign({},this.options.twemojiOptions),{callback:(i,{base:o,size:r,ext:a})=>{const s=`${o}${r}/${i}${a}`;return t({url:s,emoji:e.emoji,name:e.name}),s}}))})}buildSearch(){var e;this.options.showSearch&&(this.search=new Y5t(this.events,this.i18n,this.options,((e=this.options.emojiData)===null||e===void 0?void 0:e.emoji)||i3.emoji,(this.options.categories||[]).map(t=>(this.options.emojiData||i3).categories.indexOf(t))),this.pickerEl.appendChild(this.search.render()))}buildPreview(){this.options.showPreview&&this.pickerEl.appendChild(new w5t(this.events,this.options).render())}initPlugins(){if(this.options.plugins){const e=wc("div","emoji-picker__plugin-container");this.options.plugins.forEach(t=>{if(!t.render)throw new Error('Emoji Button plugins must have a "render" function.');e.appendChild(t.render(this))}),this.pickerEl.appendChild(e)}}initFocusTrap(){this.focusTrap=l5t(this.pickerEl,{clickOutsideDeactivates:!0,initialFocus:this.options.showSearch&&this.options.autoFocusSearch?".emoji-picker__search":'.emoji-picker__emoji[tabindex="0"]'})}buildPicker(){this.pickerEl=wc("div","emoji-picker"),this.pickerEl.classList.add(this.theme),this.setStyleProperties(),this.initFocusTrap(),this.pickerContent=wc("div","emoji-picker__content"),this.initPlugins(),this.buildSearch(),this.pickerEl.appendChild(this.pickerContent),this.emojiArea=new J5t(this.events,this.i18n,this.options,this.emojiCategories),this.pickerContent.appendChild(this.emojiArea.render()),this.events.on("showSearchResults",this.showSearchResults.bind(this)),this.events.on("hideSearchResults",this.hideSearchResults.bind(this)),this.events.on("emoji",this.emitEmoji.bind(this)),this.buildPreview(),this.wrapper=wc("div","emoji-picker__wrapper"),this.wrapper.appendChild(this.pickerEl),this.wrapper.style.display="none",this.options.zIndex&&(this.wrapper.style.zIndex=this.options.zIndex+""),this.options.rootElement&&this.options.rootElement.appendChild(this.wrapper),this.observeForLazyLoad()}showVariantPopup(e){const t=new X5t(this.events,e,this.options).render();t&&this.pickerEl.appendChild(t),this.events.on("hideVariantPopup",()=>{t&&(t.classList.add("hiding"),setTimeout(()=>{t&&this.pickerEl.removeChild(t)},175)),this.events.off("hideVariantPopup")})}observeForLazyLoad(){this.observer=new IntersectionObserver(this.handleIntersectionChange.bind(this),{root:this.emojiArea.emojis}),this.emojiArea.emojis.querySelectorAll("."+op).forEach(e=>{this.shouldLazyLoad(e)&&this.observer.observe(e)})}handleIntersectionChange(e){Array.prototype.filter.call(e,t=>t.intersectionRatio>0).map(t=>t.target).forEach(t=>{x5t(t,this.options)})}shouldLazyLoad(e){return this.options.style==="twemoji"||e.dataset.custom==="true"}onDocumentClick(e){this.pickerEl.contains(e.target)||this.hidePicker()}destroyPicker(){this.events.off("emoji"),this.events.off("hideVariantPopup"),this.options.rootElement&&(this.options.rootElement.removeChild(this.wrapper),this.popper&&this.popper.destroy()),this.observer&&this.observer.disconnect(),this.options.plugins&&this.options.plugins.forEach(e=>{e.destroy&&e.destroy()})}hidePicker(){this.hideInProgress=!0,this.focusTrap.deactivate(),this.pickerVisible=!1,this.overlay&&(document.body.removeChild(this.overlay),this.overlay=void 0),this.emojiArea.emojis.removeEventListener("scroll",this.emojiArea.highlightCategory),this.pickerEl.classList.add("hiding"),setTimeout(()=>{this.wrapper.style.display="none",this.pickerEl.classList.remove("hiding"),this.pickerContent.firstChild!==this.emojiArea.container&&(o3(this.pickerContent),this.pickerContent.appendChild(this.emojiArea.container)),this.search&&this.search.clear(),this.events.emit("hideVariantPopup"),this.hideInProgress=!1,this.popper&&this.popper.destroy(),this.publicEvents.emit("hidden")},this.options.showAnimation?170:0),setTimeout(()=>{document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onDocumentKeydown)})}showPicker(e){this.hideInProgress?setTimeout(()=>this.showPicker(e),100):(this.pickerVisible=!0,this.wrapper.style.display="block",this.determineDisplay(e),this.focusTrap.activate(),setTimeout(()=>{this.addEventListeners(),this.setInitialFocus()}),this.emojiArea.reset())}determineDisplay(e){window.matchMedia("screen and (max-width: 450px)").matches?this.showMobileView():typeof this.options.position=="string"?this.setRelativePosition(e):this.setFixedPosition()}setInitialFocus(){this.pickerEl.querySelector(this.options.showSearch&&this.options.autoFocusSearch?".emoji-picker__search":`.${op}[tabindex="0"]`).focus()}addEventListeners(){document.addEventListener("click",this.onDocumentClick),document.addEventListener("keydown",this.onDocumentKeydown)}setRelativePosition(e){this.popper=_5t(e,this.wrapper,{placement:this.options.position})}setFixedPosition(){var e;if(!((e=this.options)===null||e===void 0)&&e.position){this.wrapper.style.position="fixed";const t=this.options.position;Object.keys(t).forEach(i=>{this.wrapper.style[i]=t[i]})}}showMobileView(){const e=window.getComputedStyle(this.pickerEl),t=document.querySelector("html"),i=t&&t.clientHeight,o=t&&t.clientWidth,r=parseInt(e.height),a=i?i/2-r/2:0,s=parseInt(e.width),l=o?o/2-s/2:0;this.wrapper.style.position="fixed",this.wrapper.style.top=a+"px",this.wrapper.style.left=l+"px",this.wrapper.style.zIndex="5000",this.overlay=wc("div","emoji-picker__overlay"),document.body.appendChild(this.overlay)}togglePicker(e){this.pickerVisible?this.hidePicker():this.showPicker(e)}isPickerVisible(){return this.pickerVisible}onDocumentKeydown(e){e.key==="Escape"?this.hidePicker():e.key==="Tab"?this.pickerEl.classList.add("keyboard"):e.key.match(/^[\w]$/)&&this.search&&this.search.focus()}setTheme(e){e!==this.theme&&(this.pickerEl.classList.remove(this.theme),this.theme=e,this.pickerEl.classList.add(e))}}const t6t=Lt({__name:"v-emoji-picker",emits:["emoji-selected"],setup(n,{emit:e}){const t=new e6t({theme:"auto",zIndex:1e4,position:"bottom",emojisPerRow:8}),i=e;return t.on("emoji",o=>{i("emoji-selected",o.emoji)}),uu(()=>{t.destroyPicker()}),(o,r)=>{const a=q("v-icon"),s=q("v-button");return V(),me(s,{class:"emoji-button","x-small":"",secondary:"",icon:"",onClick:r[0]||(r[0]=l=>h(t).togglePicker(l.target))},{default:P(()=>[A(a,{name:"insert_emoticon"})]),_:1})}}}),n6t=Lt({__name:"v-workspace",props:{tiles:{},editMode:{type:Boolean,default:!1},zoomToFit:{type:Boolean,default:!1},resizable:{type:Boolean,default:!0}},emits:["update","move","delete","duplicate","edit","preview"],setup(n){const e=n,t=ku("main-element",Pe()),i=Tg(t),o=we(()=>{var l;return Number(((l=Fr("--content-padding",t.value))==null?void 0:l.slice(0,-2))||0)}),r=we(()=>{const l=e.tiles.reduce((f,g)=>(g.x+g.width>f.x+f.width&&(f.x=g.x,f.width=g.width),f),{x:0,width:0}),d=e.tiles.reduce((f,g)=>(g.y+g.height>f.y+f.height&&(f.y=g.y,f.height=g.height),f),{y:0,height:0});return e.editMode===!0?{width:(l.x+l.width+25)*20,height:(d.y+d.height+25)*20}:{width:(l.x+l.width-1)*20,height:(d.y+d.height-1)*20}}),a=we(()=>{if(e.zoomToFit===!1)return 1;const{width:l,height:d}=i,f=(l.value-o.value*2)/r.value.width,g=(d.value-114-o.value*2)/r.value.height;return Math.min(f,g)}),s=we(()=>({width:r.value.width*a.value+o.value*2,height:r.value.height*a.value+o.value*2}));return(l,d)=>{const f=q("v-workspace-tile");return V(),De("div",{class:An(["v-workspace",{editing:l.editMode}]),style:Ba({width:s.value.width+"px",height:s.value.height+"px"})},[xe("div",{class:"workspace",style:Ba({transform:`scale(${a.value})`,width:r.value.width+"px",height:r.value.height+"px"})},[l.$slots.tile?(V(!0),De(_n,{key:1},Ii(l.tiles,g=>Ei(l.$slots,"tile",{key:g.id,tile:g},void 0,!0)),128)):(V(!0),De(_n,{key:0},Ii(l.tiles,g=>(V(),me(f,vr({key:g.id,ref_for:!0},g,{"edit-mode":l.editMode,resizable:l.resizable,onPreview:v=>l.$emit("preview",g),onEdit:v=>l.$emit("edit",g),onUpdate:v=>l.$emit("update",{edits:v,id:g.id}),onMove:v=>l.$emit("move",g.id),onDelete:v=>l.$emit("delete",g.id),onDuplicate:v=>l.$emit("duplicate",g)}),{default:P(()=>[Ei(l.$slots,"default",{tile:g},void 0,!0)]),_:2},1040,["edit-mode","resizable","onPreview","onEdit","onUpdate","onMove","onDelete","onDuplicate"]))),128))],4)],6)}}}),i6t=qt(n6t,[["__scopeId","data-v-fb9948d7"]]),o6t=n=>(nr("data-v-9cd5799d"),n=n(),ir(),n),a6t={key:0,class:"header"},r6t=o6t(()=>xe("div",{class:"spacer"},null,-1)),s6t={class:"resize-details"},l6t={key:2,class:"resize-handlers"},c6t={key:0,class:"footer"},u6t=Lt({__name:"v-workspace-tile",props:{id:{},x:{},y:{},width:{},height:{},name:{default:void 0},icon:{default:"space_dashboard"},color:{default:"var(--theme--primary)"},note:{default:void 0},showHeader:{type:Boolean,default:!0},minWidth:{default:8},minHeight:{default:6},draggable:{type:Boolean,default:!0},borderRadius:{default:()=>[!0,!0,!0,!0]},resizable:{type:Boolean,default:!0},editMode:{type:Boolean,default:!1},showOptions:{type:Boolean,default:!0},alwaysUpdatePosition:{type:Boolean,default:!1}},emits:["update","move","duplicate","delete","edit","preview"],setup(n,{emit:e}){const t=n,i=e,{t:o}=vn(),r=A1({position_x:void 0,position_y:void 0,width:void 0,height:void 0}),{onPointerDown:a,dragging:s}=g(),l=we(()=>s.value?{x:r.position_x??t.x,y:r.position_y??t.y,width:r.width??t.width,height:r.height??t.height}:{x:t.x,y:t.y,width:t.width,height:t.height}),d=we(()=>s.value?{"--pos-x":r.position_x??t.x,"--pos-y":r.position_y??t.y,"--width":r.width??t.width,"--height":r.height??t.height}:{"--pos-x":t.x,"--pos-y":t.y,"--width":t.width,"--height":t.height}),f=we(()=>({"--v-icon-color":t.color}));function g(){const v=Pe(!1);let b=0,x=0,k=0,S=0,O=0,w=0,D="move";const I=st.throttle(X=>{if(t.editMode===!1||v.value===!1||t.draggable===!1)return;const Y=X.pageX-b,Q=X.pageY-x,ue=Math.round(Y/20),ce=Math.round(Q/20);if(D==="move")r.position_x=k+ue,r.position_y=S+ce,r.position_x<1&&(r.position_x=1),r.position_y<1&&(r.position_y=1);else{D.includes("top")&&(r.height=w-ce,r.position_y=S+ce),D.includes("right")&&(r.width=O+ue),D.includes("bottom")&&(r.height=w+ce),D.includes("left")&&(r.width=O-ue,r.position_x=k+ue);const ve=t.minWidth,ie=t.minHeight;r.position_x&&r.position_x<1&&(r.position_x=1),r.position_y&&r.position_y<1&&(r.position_y=1),r.width&&r.width<ve&&(r.width=ve),r.height&&r.height<ie&&(r.height=ie)}t.alwaysUpdatePosition&&i("update",r)},20);return{dragging:v,onPointerDown:$,onPointerUp:B,onPointerMove:I};function $(X,Y){t.editMode===!1||t.draggable===!1||(D=X,v.value=!0,b=Y.pageX,x=Y.pageY,k=t.x,S=t.y,O=t.width,w=t.height,window.addEventListener("pointerup",B),window.addEventListener("pointermove",I))}function B(){v.value=!1,!(t.editMode===!1||t.draggable===!1||Object.values(r).every(X=>X===void 0))&&(i("update",r),window.removeEventListener("pointerup",B),window.removeEventListener("pointermove",I),r.position_x=void 0,r.position_y=void 0,r.width=void 0,r.height=void 0)}}return(v,b)=>{const x=q("v-icon"),k=q("v-text-overflow"),S=q("v-list-item-icon"),O=q("v-list-item-content"),w=q("v-list-item"),D=q("v-list"),I=q("v-menu"),$=ki("tooltip");return V(),De("div",{class:An(["v-workspace-tile",{editing:v.editMode,draggable:v.draggable,dragging:h(s),"br-tl":h(s)||v.borderRadius[0],"br-tr":h(s)||v.borderRadius[1],"br-br":h(s)||v.borderRadius[2],"br-bl":h(s)||v.borderRadius[3]}]),style:Ba(d.value),"data-move":"",onPointerdown:b[13]||(b[13]=B=>h(a)("move",B))},[v.showHeader?(V(),De("div",a6t,[A(x,{class:"icon",style:Ba(f.value),name:v.icon,small:""},null,8,["style","name"]),A(k,{class:"name",text:v.name||""},null,8,["text"]),r6t,v.note?rn((V(),me(x,{key:0,class:"note",name:"info"},null,512)),[[$,v.note]]):He("",!0)])):He("",!0),v.editMode?(V(),De("div",{key:1,class:"edit-actions",onPointerdown:b[4]||(b[4]=po(()=>{},["stop"]))},[rn(A(x,{class:"edit-icon",name:"edit",clickable:"",onClick:b[0]||(b[0]=B=>v.$emit("edit"))},null,512),[[$,h(o)("edit")]]),v.showOptions?(V(),me(I,{key:0,placement:"bottom-end","show-arrow":""},{activator:P(({toggle:B})=>[A(x,{class:"more-icon",name:"more_vert",clickable:"",onClick:B},null,8,["onClick"])]),default:P(()=>[A(D,null,{default:P(()=>[A(w,{clickable:"",disabled:v.id.startsWith("_"),onClick:b[1]||(b[1]=B=>v.$emit("move"))},{default:P(()=>[A(S,null,{default:P(()=>[A(x,{class:"move-icon",name:"input"})]),_:1}),A(O,null,{default:P(()=>[Fe(de(h(o)("copy_to")),1)]),_:1})]),_:1},8,["disabled"]),A(w,{clickable:"",onClick:b[2]||(b[2]=B=>v.$emit("duplicate"))},{default:P(()=>[A(S,null,{default:P(()=>[A(x,{name:"control_point_duplicate"})]),_:1}),A(O,null,{default:P(()=>[Fe(de(h(o)("duplicate")),1)]),_:1})]),_:1}),A(w,{class:"delete-action",clickable:"",onClick:b[3]||(b[3]=B=>v.$emit("delete"))},{default:P(()=>[A(S,null,{default:P(()=>[A(x,{name:"delete"})]),_:1}),A(O,null,{default:P(()=>[Fe(de(h(o)("delete")),1)]),_:1})]),_:1})]),_:1})]),_:1})):He("",!0)],32)):He("",!0),xe("div",s6t,[Fe(" ("+de(l.value.x-1)+":"+de(l.value.y-1)+") ",1),v.resizable?(V(),De(_n,{key:0},[Fe(de(l.value.width)+"×"+de(l.value.height),1)],64)):He("",!0)]),v.editMode&&v.resizable?(V(),De("div",l6t,[xe("div",{class:"top",onPointerdown:b[5]||(b[5]=po(B=>h(a)("resize-top",B),["stop"]))},null,32),xe("div",{class:"right",onPointerdown:b[6]||(b[6]=po(B=>h(a)("resize-right",B),["stop"]))},null,32),xe("div",{class:"bottom",onPointerdown:b[7]||(b[7]=po(B=>h(a)("resize-bottom",B),["stop"]))},null,32),xe("div",{class:"left",onPointerdown:b[8]||(b[8]=po(B=>h(a)("resize-left",B),["stop"]))},null,32),xe("div",{class:"top-left",onPointerdown:b[9]||(b[9]=po(B=>h(a)("resize-top-left",B),["stop"]))},null,32),xe("div",{class:"top-right",onPointerdown:b[10]||(b[10]=po(B=>h(a)("resize-top-right",B),["stop"]))},null,32),xe("div",{class:"bottom-right",onPointerdown:b[11]||(b[11]=po(B=>h(a)("resize-bottom-right",B),["stop"]))},null,32),xe("div",{class:"bottom-left",onPointerdown:b[12]||(b[12]=po(B=>h(a)("resize-bottom-left",B),["stop"]))},null,32)])):He("",!0),xe("div",{class:An(["tile-content",{"has-header":v.showHeader}])},[Ei(v.$slots,"default",{},void 0,!0),v.$slots.footer?(V(),De("div",c6t,[Ei(v.$slots,"footer",{},void 0,!0)])):He("",!0)],2),Ei(v.$slots,"body",{},void 0,!0)],38)}}}),d6t=qt(u6t,[["__scopeId","data-v-9cd5799d"]]),f6t=Lt({__name:"v-error-boundary",props:{name:{default:void 0},stopPropagation:{type:Boolean,default:!0}},setup(n){const e=n,t=Pe(null),i=we(()=>!!t.value);return NU((o,r,a)=>{t.value=o;const s=e.name?st.kebabCase(e.name):JD(r);if(console.warn(`[${s}-error] ${a}`),console.warn(o),e.stopPropagation)return!1}),(o,r)=>i.value?(V(),De(_n,{key:0},[o.$slots.fallback?Ei(o.$slots,"fallback",Aa(vr({key:0},{error:t.value}))):He("",!0)],64)):Ei(o.$slots,"default",{key:1})}});function p6t(n){n.component("VAvatar",ggt),n.component("VBadge",bgt),n.component("VBreadcrumb",Cgt),n.component("VButton",Agt),n.component("VCardActions",Pgt),n.component("VCardSubtitle",zgt),n.component("VCardText",jgt),n.component("VCardTitle",Wgt),n.component("VCard",Lgt),n.component("VCheckbox",Kgt),n.component("VCheckboxTree",e0t),n.component("VChip",Ok),n.component("VDetail",i0t),n.component("VDialog",r0t),n.component("VDivider",Vw),n.component("VError",I0t),n.component("VFancySelect",$0t),n.component("VFieldTemplate",G0t),n.component("VCollectionFieldTemplate",X0t),n.component("VFieldList",e3t),n.component("VForm",Hw),n.component("VHover",t3t),n.component("VHighlight",a3t),n.component("VIcon",Bb),n.component("VImage",l3t),n.component("VIconFile",d3t),n.component("VInfo",v3t),n.component("VInput",A3t),n.component("VItemGroup",L3t),n.component("VItem",M3t),n.component("VListGroup",z3t),n.component("VListItemContent",H3t),n.component("VListItemHint",W3t),n.component("VListItemIcon",G3t),n.component("VListItem",N3t),n.component("VList",P3t),n.component("VMenu",Zyt),n.component("VDrawer",A0t),n.component("VNotice",Qyt),n.component("VOverlay",o4t),n.component("VPagination",c4t),n.component("VProgressCircular",Dj),n.component("VProgressLinear",d4t),n.component("VRadio",m4t),n.component("VResizeable",fV),n.component("VSelect",k4t),n.component("VSheet",A4t),n.component("VSkeletonLoader",M4t),n.component("VSlider",B4t),n.component("VTabItem",g_t),n.component("VTab",m_t),n.component("VTable",u_t),n.component("VTabsItems",y_t),n.component("VTabs",p_t),n.component("VTemplateInput",L_t),n.component("VTextarea",F_t),n.component("VTextOverflow",M_t),n.component("VUpload",U_t),n.component("VDatePicker",n5t),n.component("VEmojiPicker",t6t),n.component("VWorkspace",i6t),n.component("VWorkspaceTile",d6t),n.component("VErrorBoundary",f6t),n.component("TransitionBounce",ugt),n.component("TransitionDialog",pgt),n.component("TransitionExpand",mgt),n.component("RenderDisplay",Hvt),n.component("RenderTemplate",Xvt),n.component("ExportSidebarDetail",fE),n.component("SidebarDetail",egt),n.component("UserPopover",sgt),n.component("ValueNull",wE),n.component("DrawerCollection",f2),n.component("DrawerFiles",z8),n.component("DrawerItem",Yp),n.component("DrawerBatch",ty)}const QV=(n,{value:e})=>{const{handler:t,middleware:i,events:o,disabled:r}=m6t(e);ii(()=>e,a=>{JSON.stringify(a)!==JSON.stringify(e)&&tH(n,{value:a,oldValue:null})}),r!==!0&&(n.$clickOutsideHandlers=o.map(a=>({event:a,handler:s=>v6t({event:s,el:n,handler:t,middleware:i})})),n.$clickOutsideHandlers.forEach(({event:a,handler:s})=>{setTimeout(()=>{n.$clickOutsideHandlers&&document.documentElement.addEventListener(a,s,!1)})}))},eH=n=>{(n.$clickOutsideHandlers||[]).forEach(({event:t,handler:i})=>{document.documentElement.removeEventListener(t,i,!1)})},tH=(n,{value:e,oldValue:t})=>{JSON.stringify(e)!==JSON.stringify(t)&&(eH(n),QV(n,{value:e}))},h6t={beforeMount:QV,unmounted:eH,updated:tH};function m6t(n){const e=typeof n=="function";let t;if(e)t={handler:n,middleware:()=>!0,events:["pointerdown"],disabled:!1};else{const i=n;t={handler:i.handler||(()=>{}),middleware:i.middleware||(()=>!0),events:i.events||["pointerdown"],disabled:i.disabled!==void 0?!!i.disabled:!1}}return t}function v6t({el:n,event:e,handler:t,middleware:i}){e.stopPropagation();const o=e.composedPath();(o?o.indexOf(n)<0:n.contains(e.target)===!1)!==!1&&i(e)&&t(e)}function g6t(n,e){var i;const t=(i=e.instance)==null?void 0:i.$refs[e.value];t&&(n.addEventListener("contextmenu",nH(t)),document.documentElement.addEventListener("pointerdown",iH(t)))}function y6t(n,e){var i;const t=(i=e.instance)==null?void 0:i.$refs[e.value];t&&(n.removeEventListener("contextmenu",nH(t)),document.documentElement.removeEventListener("pointerdown",iH(t)))}const _6t={mounted:g6t,unmounted:y6t};function nH(n){return e=>{e.stopPropagation(),e.preventDefault(),n&&n.activate(e)}}function iH(n){return e=>{!n||e.composedPath().find(i=>i.id===n.id)||n.deactivate(e)}}const b6t={mounted(n,e){e.value?n.focus():n.blur()}},x6t={mounted:n=>{n.onUpdate=()=>TD(n),n.shadow=document.createElement("div"),n.shadow.setAttribute("aria-hidden","true"),w6t(n),document.body.appendChild(n.shadow),TD(n),n.addEventListener("input",n.onUpdate)},updated:n=>{n.onUpdate&&n.onUpdate()},unmounted:n=>{document.body.removeChild(n.shadow),n.onUpdate&&n.removeEventListener("input",n.onUpdate)}};function TD(n){const e=n.value||n.placeholder;n.shadow.textContent=e,n.style.width=`${n.shadow.scrollWidth}px`}function w6t(n){const e=window.getComputedStyle(n);Object.assign(n.shadow.style,{position:"absolute",top:"0",left:"0",visibility:"hidden",height:"0",overflow:"hidden",whiteSpace:"pre",fontSize:e.fontSize,fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontStyle:e.fontStyle,letterSpacing:e.letterSpacing,textTransform:e.textTransform,paddingRight:`calc(${e.paddingRight} + ${e.borderRightWidth})`,paddingLeft:`calc(${e.paddingLeft} + ${e.borderLeftWidth})`})}const k6t={beforeMount:LD,updated:LD};function LD(n,e){typeof e.value=="object"&&"value"in e.value?n.innerHTML=wk(e.value.value,e.value):n.innerHTML=wk(e.value??"")}function C6t(n){n.directive("click-outside",h6t),n.directive("context-menu",_6t),n.directive("focus",b6t),n.directive("input-auto-width",x6t),n.directive("md",k6t),n.directive("tooltip",tk)}const S6t="data:image/svg+xml,%3csvg%20width='64'%20height='39'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='%23FFFFFF'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.18%2024.61c-.3-.07-.55-.15-.77-.25-.16-.07-.3-.16-.42-.26a.31.31%200%200%201-.1-.27c.11-1.24-.02-2.33.1-3.56.5-5%203.64-3.41%206.46-4.23%201.62-.45%203.24-1.35%203.83-3.1.1-.3.01-.61-.19-.84a36.2%2036.2%200%200%200-6.12-5.54A36.73%2036.73%200%200%200%2027.94.36a.46.46%200%200%200-.33.7%2013.7%2013.7%200%200%200%204.31%204.24c.31.19.19.6-.17.52a8.2%208.2%200%200%201-2.92-1.26.35.35%200%200%200-.33-.04l-1.64.67a.45.45%200%200%200-.12.75A13.7%2013.7%200%200%200%2042.8%207.3c.3-.19.8.2.7.55a27%2027%200%200%200-.54%202.37c-1.26%206.37-4.9%205.87-9.4%204.27-9-3.26-14.12-.48-18.66-5.98-.31-.38-.87-.51-1.24-.19a4.25%204.25%200%200%200%20.43%206.8c.14.1.33.05.44-.08.28-.35.5-.59.8-.74.3-.16.46.29.2.52-.97.85-1.25%201.87-1.88%203.87-.99%203.13-.57%206.34-5.2%207.18-2.45.12-2.4%201.78-3.29%204.25-1.03%202.98-2.39%204.3-4.9%206.9-.34.36-.36.93.01%201.25%201%20.85%202.04.9%203.09.46%202.6-1.08%204.6-4.44%206.48-6.61%202.1-2.42%207.15-1.39%2010.97-3.76%202.05-1.25%203.29-2.86%202.9-5.27-.07-.38.37-.62.53-.26.31.68.51%201.4.6%202.16.02.2.2.34.39.33%204.12-.23%209.46%204.3%2014.44%205.53.3.08.52-.27.35-.53a9.17%209.17%200%200%201-1.3-3.02c-.1-.39.47-.5.66-.14a9.2%209.2%200%200%200%207.4%204.71c1.2.1%202.54-.05%203.93-.47%201.66-.5%203.19-1.14%205.02-.79%201.36.25%202.63.94%203.42%202.1%201.1%201.62%203.45%202.04%204.7.35a.81.81%200%200%200%20.08-.8c-2.76-6.43-9.75-6.88-12.75-7.65Z'%20/%3e%3c/svg%3e",A7=n=>(nr("data-v-9ac8a847"),n=n(),ir(),n),E6t={class:"public-view"},A6t={class:"title-box"},T6t=A7(()=>xe("img",{src:S6t,alt:"Directus",class:"directus-logo"},null,-1)),L6t=[T6t],I6t={class:"title"},M6t={class:"type-title"},D6t={class:"subtitle"},P6t={class:"content"},O6t={class:"notice"},R6t={key:0,class:"fallback"},F6t=A7(()=>xe("div",null,[xe("div")],-1)),z6t=A7(()=>xe("div",null,[xe("div")],-1)),$6t=A7(()=>xe("div",null,[xe("div")],-1)),N6t=[F6t,z6t,$6t],B6t=["src"],j6t={class:"note-container"},V6t={key:0,class:"note"},H6t=Lt({__name:"public-view",props:{wide:{type:Boolean,default:!1}},setup(n){const{t:e}=vn(),t=Ul(),{info:i}=Cc(t),o=we(()=>{var f,g;return!!((g=(f=i.value)==null?void 0:f.project)!=null&&g.public_background)}),r=we(()=>{var f,g,v,b;return(b=(v=(g=(f=i.value)==null?void 0:f.project)==null?void 0:g.public_background)==null?void 0:v.type)==null?void 0:b.startsWith("video/")}),a=we(()=>{var f,g,v;return Ys(((v=(g=(f=i.value)==null?void 0:f.project)==null?void 0:g.public_background)==null?void 0:v.id)??"")}),s=we(()=>o.value?{background:`url(${a.value})`,backgroundSize:"cover",backgroundPosition:"center center"}:{}),l=we(()=>{var f,g,v;return(g=(f=i.value)==null?void 0:f.project)!=null&&g.public_foreground?Ys((v=i.value.project)==null?void 0:v.public_foreground):null}),d=we(()=>{var f,g,v;return(g=(f=i.value)==null?void 0:f.project)!=null&&g.project_logo?Ys((v=i.value.project)==null?void 0:v.project_logo):null});return(f,g)=>{var x,k,S,O,w,D,I,$,B,X,Y,Q,ue;const v=q("v-image"),b=ki("md");return V(),De("div",E6t,[xe("div",{class:An(["container",{wide:f.wide}])},[xe("div",A6t,[(k=(x=h(i))==null?void 0:x.project)!=null&&k.project_logo?(V(),De("div",{key:0,class:"logo",style:Ba((S=h(i))!=null&&S.project.project_color?{backgroundColor:h(i).project.project_color}:{})},[A(v,{src:d.value,alt:((O=h(i))==null?void 0:O.project.project_name)||"Logo"},null,8,["src","alt"])],4)):(V(),De("div",{key:1,class:"logo",style:Ba((D=(w=h(i))==null?void 0:w.project)!=null&&D.project_color?{backgroundColor:h(i).project.project_color}:{})},L6t,4)),xe("div",I6t,[xe("h1",M6t,de(($=(I=h(i))==null?void 0:I.project)==null?void 0:$.project_name),1),xe("p",D6t,de(((X=(B=h(i))==null?void 0:B.project)==null?void 0:X.project_descriptor)??h(e)("application")),1)])]),xe("div",P6t,[Ei(f.$slots,"default")]),xe("div",O6t,[Ei(f.$slots,"notice")])],2),xe("div",{class:"art",style:Ba(s.value)},[o.value?r.value?(V(),De("video",{key:1,src:a.value,autoplay:"",muted:"",loop:""},null,8,B6t)):He("",!0):(V(),De("div",R6t,N6t)),A(E1,{name:"scale"},{default:P(()=>{var ce,ve;return[l.value?(V(),me(v,{key:0,class:"foreground",src:l.value,alt:(ve=(ce=h(i))==null?void 0:ce.project)==null?void 0:ve.project_name},null,8,["src","alt"])):He("",!0)]}),_:1}),xe("div",j6t,[(Q=(Y=h(i))==null?void 0:Y.project)!=null&&Q.public_note?rn((V(),De("div",V6t,null,512)),[[b,(ue=h(i))==null?void 0:ue.project.public_note]]):He("",!0)])],4)])}}}),U6t=qt(H6t,[["__scopeId","data-v-9ac8a847"]]),W6t="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='64'%20height='39'%3e%3cpath%20fill='%23FFF'%20fill-rule='evenodd'%20d='M51.166%2024.51a4.636%204.636%200%200%201-.763-.246%201.751%201.751%200%200%201-.54-.368c.147-1.304%200-2.435.122-3.713.492-4.967%203.615-3.393%206.418-4.204%201.745-.492%203.491-1.5%203.934-3.566a36.074%2036.074%200%200%200-6.393-5.876C46.347%201.128%2036.414-1.036%2027.39.464a13.635%2013.635%200%200%200%205.968%205.532s-2.445%200-4.541-1.565c-.615.245-1.845.73-2.435%201.024%204.794%204.598%2012.293%205.114%2017.678.984-.025.049-.492.762-1.057%203.737-1.254%206.343-4.869%205.852-9.343%204.254-9.294-3.369-14.408-.246-19.055-6.639a4.29%204.29%200%200%200-2.189%203.737c0%201.598.886%202.95%202.164%203.688.698-.926%201.011-1.189%202.228-1.189-1.883%201.068-2.105%202-2.916%204.582-.984%203.123-.566%206.32-5.164%207.155-2.434.123-2.385%201.77-3.27%204.23C4.352%2033.188%202.877%2034.467%200%2037.491c1.18%201.426%202.41%201.598%203.663%201.082%202.582-1.082%204.574-4.426%206.442-6.59%202.09-2.409%207.106-1.376%2010.892-3.737%202.607-1.598%203.885-3.761%202.164-7.425a7.254%207.254%200%200%201%201.869%204.426c4.376-.566%2010.228%204.77%2015.563%205.655a9.53%209.53%200%200%201-1.303-2.188c-.615-1.476-.811-2.828-.688-4.008.491%202.926%203.442%206.688%208.187%207.032%201.205.098%202.533-.05%203.91-.467%201.647-.492%203.171-1.131%204.99-.787%201.353.246%202.607.934%203.394%202.09%201.18%201.72%203.761%202.09%204.917-.025-2.606-6.81-9.786-7.253-12.834-8.04z'/%3e%3c/svg%3e",q6t=n=>(nr("data-v-cfdcd3fb"),n=n(),ir(),n),G6t={class:"inline-container"},Y6t={class:"container"},X6t={class:"title-box"},K6t=["src","alt"],Z6t=q6t(()=>xe("img",{src:W6t,alt:"Directus",class:"directus-logo"},null,-1)),J6t=[Z6t],Q6t={class:"title"},ebt={class:"subtitle"},tbt={class:"type-title"},nbt={class:"container"},ibt={class:"content"},obt=Lt({__name:"shared-view",props:{title:{},inline:{type:Boolean}},setup(n){const e=Ul(),{info:t}=Cc(e),{t:i}=vn(),o=we(()=>{var r,a,s;return(a=(r=e.info)==null?void 0:r.project)!=null&&a.project_logo?Ys((s=e.info.project)==null?void 0:s.project_logo):null});return(r,a)=>{var s,l,d,f,g,v,b,x,k;return V(),De("div",{class:An(["shared",{inline:r.inline}])},[xe("div",G6t,[xe("header",null,[xe("div",Y6t,[xe("div",X6t,[(l=(s=h(t))==null?void 0:s.project)!=null&&l.project_logo?(V(),De("div",{key:0,class:"logo",style:Ba((f=(d=h(t))==null?void 0:d.project)!=null&&f.project_color?{backgroundColor:h(t).project.project_color}:{})},[xe("img",{src:o.value,alt:((g=h(t))==null?void 0:g.project.project_name)||"Logo"},null,8,K6t)],4)):(V(),De("div",{key:1,class:"logo",style:Ba((b=(v=h(t))==null?void 0:v.project)!=null&&b.project_color?{backgroundColor:h(t).project.project_color}:{})},J6t,4)),xe("div",Q6t,[xe("p",ebt,de((k=(x=h(t))==null?void 0:x.project)==null?void 0:k.project_name),1),Ei(r.$slots,"title",{},()=>[xe("h1",tbt,de(r.title??h(i)("share_access_page")),1)],!0)])])])]),xe("div",nbt,[xe("div",ibt,[Ei(r.$slots,"default",{},void 0,!0)])])])],2)}}}),abt=qt(obt,[["__scopeId","data-v-cfdcd3fb"]]),rbt=YD(()=>jt(()=>import("./index-FJKG3ti3.js"),__vite__mapDeps([225,1,2,3,4,5,6,226]),import.meta.url));function sbt(n){n.component("PublicView",U6t),n.component("PrivateView",rbt),n.component("SharedView",abt)}lbt();async function lbt(){console.log(aq),console.info(`Hey! Interested in helping build this open-source data management platform?
|
|
4359
|
+
}`;if(t!==n||i!==e){var r=new RegExp("\\.".concat(n,"\\-"),"g"),a=new RegExp("\\--".concat(n,"\\-"),"g"),s=new RegExp("\\.".concat(e),"g");o=o.replace(r,".".concat(t,"-")).replace(a,"--".concat(t,"-")).replace(s,".".concat(i))}return o}()),ED=!0)}function D5t(n,e){return Object.defineProperty(n,"abstract",{get:e}),Object.defineProperty(n,"html",{get:function(){return n.abstract.map(function(t){return XV(t)})}}),Object.defineProperty(n,"node",{get:function(){if(JE){var t=Xf.createElement("div");return t.innerHTML=n.html,t.children}}}),n}function CD(n){var e=n.prefix,t=e===void 0?"fa":e,i=n.iconName;if(i)return wD(ZV.definitions,t,i)||wD(em.styles,t,i)}var SD,ZV=new(function(){function n(){(function(i,o){if(!(i instanceof o))throw new TypeError("Cannot call a class as a function")})(this,n),this.definitions={}}var e,t;return e=n,(t=[{key:"add",value:function(){for(var i=this,o=arguments.length,r=new Array(o),a=0;a<o;a++)r[a]=arguments[a];var s=r.reduce(this._pullDefinitions,{});Object.keys(s).forEach(function(l){i.definitions[l]=Gs({},i.definitions[l]||{},s[l]),GV(l,s[l]),YV()})}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(i,o){var r=o.prefix&&o.iconName&&o.icon?{0:o}:o;return Object.keys(r).map(function(a){var s=r[a],l=s.prefix,d=s.iconName,f=s.icon;i[l]||(i[l]={}),i[l][d]=f}),i}}])&&k5t(e.prototype,t),n}()),ED=!1,I1=(SD=function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=e.transform,i=t===void 0?U0:t,o=e.symbol,r=o!==void 0&&o,a=e.mask,s=a===void 0?null:a,l=e.maskId,d=l===void 0?null:l,f=e.title,g=f===void 0?null:f,v=e.titleId,b=v===void 0?null:v,x=e.classes,k=x===void 0?[]:x,S=e.attributes,O=S===void 0?{}:S,w=e.styles,D=w===void 0?{}:w;if(n){var I=n.prefix,$=n.iconName,B=n.icon;return D5t(Gs({type:"icon"},n),function(){return M5t(),cp.autoA11y&&(g?O["aria-labelledby"]="".concat(cp.replacementClass,"-title-").concat(b||db()):(O["aria-hidden"]="true",O.focusable="false")),L5t({icons:{main:kD(B),mask:s?kD(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:I,iconName:$,transform:Gs({},U0,i),symbol:r,title:g,maskId:d,titleId:b,extra:{attributes:O,styles:D,classes:k}})})}},function(n){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=(n||{}).icon?n:CD(n||{}),i=e.mask;return i&&(i=(i||{}).icon?i:CD(i||{})),SD(t,Gs({},e,{mask:i}))});ZV.add({prefix:"far",iconName:"building",icon:[448,512,[],"f1ad","M128 148v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12zm140 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-128 96h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm128 0h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-76 84v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm76 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm180 124v36H0v-36c0-6.6 5.4-12 12-12h19.5V24c0-13.3 10.7-24 24-24h337c13.3 0 24 10.7 24 24v440H436c6.6 0 12 5.4 12 12zM79.5 463H192v-67c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v67h112.5V49L80 48l-.5 415z"]},{prefix:"fas",iconName:"cat",icon:[512,512,[],"f6be","M290.59 192c-20.18 0-106.82 1.98-162.59 85.95V192c0-52.94-43.06-96-96-96-17.67 0-32 14.33-32 32s14.33 32 32 32c17.64 0 32 14.36 32 32v256c0 35.3 28.7 64 64 64h176c8.84 0 16-7.16 16-16v-16c0-17.67-14.33-32-32-32h-32l128-96v144c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V289.86c-10.29 2.67-20.89 4.54-32 4.54-61.81 0-113.52-44.05-125.41-102.4zM448 96h-64l-64-64v134.4c0 53.02 42.98 96 96 96s96-42.98 96-96V32l-64 64zm-72 80c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16zm80 0c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16z"]},{prefix:"fas",iconName:"coffee",icon:[640,512,[],"f0f4","M192 384h192c53 0 96-43 96-96h32c70.6 0 128-57.4 128-128S582.6 32 512 32H120c-13.3 0-24 10.7-24 24v232c0 53 43 96 96 96zM512 96c35.3 0 64 28.7 64 64s-28.7 64-64 64h-32V96h32zm47.7 384H48.3c-47.6 0-61-64-36-64h583.3c25 0 11.8 64-35.9 64z"]},{prefix:"far",iconName:"flag",icon:[512,512,[],"f024","M336.174 80c-49.132 0-93.305-32-161.913-32-31.301 0-58.303 6.482-80.721 15.168a48.04 48.04 0 0 0 2.142-20.727C93.067 19.575 74.167 1.594 51.201.104 23.242-1.71 0 20.431 0 48c0 17.764 9.657 33.262 24 41.562V496c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-83.443C109.869 395.28 143.259 384 199.826 384c49.132 0 93.305 32 161.913 32 58.479 0 101.972-22.617 128.548-39.981C503.846 367.161 512 352.051 512 335.855V95.937c0-34.459-35.264-57.768-66.904-44.117C409.193 67.309 371.641 80 336.174 80zM464 336c-21.783 15.412-60.824 32-102.261 32-59.945 0-102.002-32-161.913-32-43.361 0-96.379 9.403-127.826 24V128c21.784-15.412 60.824-32 102.261-32 59.945 0 102.002 32 161.913 32 43.271 0 96.32-17.366 127.826-32v240z"]},{prefix:"far",iconName:"frown",icon:[496,512,[],"f119","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160-64c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm-80 128c-40.2 0-78 17.7-103.8 48.6-8.5 10.2-7.1 25.3 3.1 33.8 10.2 8.4 25.3 7.1 33.8-3.1 16.6-19.9 41-31.4 66.9-31.4s50.3 11.4 66.9 31.4c8.1 9.7 23.1 11.9 33.8 3.1 10.2-8.5 11.5-23.6 3.1-33.8C326 321.7 288.2 304 248 304z"]},{prefix:"fas",iconName:"futbol",icon:[512,512,[],"f1e3","M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zm-48 0l-.003-.282-26.064 22.741-62.679-58.5 16.454-84.355 34.303 3.072c-24.889-34.216-60.004-60.089-100.709-73.141l13.651 31.939L256 139l-74.953-41.525 13.651-31.939c-40.631 13.028-75.78 38.87-100.709 73.141l34.565-3.073 16.192 84.355-62.678 58.5-26.064-22.741-.003.282c0 43.015 13.497 83.952 38.472 117.991l7.704-33.897 85.138 10.447 36.301 77.826-29.902 17.786c40.202 13.122 84.29 13.148 124.572 0l-29.902-17.786 36.301-77.826 85.138-10.447 7.704 33.897C442.503 339.952 456 299.015 456 256zm-248.102 69.571l-29.894-91.312L256 177.732l77.996 56.527-29.622 91.312h-96.476z"]},{prefix:"fas",iconName:"history",icon:[512,512,[],"f1da","M504 255.531c.253 136.64-111.18 248.372-247.82 248.468-59.015.042-113.223-20.53-155.822-54.911-11.077-8.94-11.905-25.541-1.839-35.607l11.267-11.267c8.609-8.609 22.353-9.551 31.891-1.984C173.062 425.135 212.781 440 256 440c101.705 0 184-82.311 184-184 0-101.705-82.311-184-184-184-48.814 0-93.149 18.969-126.068 49.932l50.754 50.754c10.08 10.08 2.941 27.314-11.313 27.314H24c-8.837 0-16-7.163-16-16V38.627c0-14.254 17.234-21.393 27.314-11.314l49.372 49.372C129.209 34.136 189.552 8 256 8c136.81 0 247.747 110.78 248 247.531zm-180.912 78.784l9.823-12.63c8.138-10.463 6.253-25.542-4.21-33.679L288 256.349V152c0-13.255-10.745-24-24-24h-16c-13.255 0-24 10.745-24 24v135.651l65.409 50.874c10.463 8.137 25.541 6.253 33.679-4.21z"]},{prefix:"fas",iconName:"icons",icon:[512,512,[],"f86d","M116.65 219.35a15.68 15.68 0 0 0 22.65 0l96.75-99.83c28.15-29 26.5-77.1-4.91-103.88C203.75-7.7 163-3.5 137.86 22.44L128 32.58l-9.85-10.14C93.05-3.5 52.25-7.7 24.86 15.64c-31.41 26.78-33 74.85-5 103.88zm143.92 100.49h-48l-7.08-14.24a27.39 27.39 0 0 0-25.66-17.78h-71.71a27.39 27.39 0 0 0-25.66 17.78l-7 14.24h-48A27.45 27.45 0 0 0 0 347.3v137.25A27.44 27.44 0 0 0 27.43 512h233.14A27.45 27.45 0 0 0 288 484.55V347.3a27.45 27.45 0 0 0-27.43-27.46zM144 468a52 52 0 1 1 52-52 52 52 0 0 1-52 52zm355.4-115.9h-60.58l22.36-50.75c2.1-6.65-3.93-13.21-12.18-13.21h-75.59c-6.3 0-11.66 3.9-12.5 9.1l-16.8 106.93c-1 6.3 4.88 11.89 12.5 11.89h62.31l-24.2 83c-1.89 6.65 4.2 12.9 12.23 12.9a13.26 13.26 0 0 0 10.92-5.25l92.4-138.91c4.88-6.91-1.16-15.7-10.87-15.7zM478.08.33L329.51 23.17C314.87 25.42 304 38.92 304 54.83V161.6a83.25 83.25 0 0 0-16-1.7c-35.35 0-64 21.48-64 48s28.65 48 64 48c35.2 0 63.73-21.32 64-47.66V99.66l112-17.22v47.18a83.25 83.25 0 0 0-16-1.7c-35.35 0-64 21.48-64 48s28.65 48 64 48c35.2 0 63.73-21.32 64-47.66V32c0-19.48-16-34.42-33.92-31.67z"]},{prefix:"far",iconName:"lightbulb",icon:[352,512,[],"f0eb","M176 80c-52.94 0-96 43.06-96 96 0 8.84 7.16 16 16 16s16-7.16 16-16c0-35.3 28.72-64 64-64 8.84 0 16-7.16 16-16s-7.16-16-16-16zM96.06 459.17c0 3.15.93 6.22 2.68 8.84l24.51 36.84c2.97 4.46 7.97 7.14 13.32 7.14h78.85c5.36 0 10.36-2.68 13.32-7.14l24.51-36.84c1.74-2.62 2.67-5.7 2.68-8.84l.05-43.18H96.02l.04 43.18zM176 0C73.72 0 0 82.97 0 176c0 44.37 16.45 84.85 43.56 115.78 16.64 18.99 42.74 58.8 52.42 92.16v.06h48v-.12c-.01-4.77-.72-9.51-2.15-14.07-5.59-17.81-22.82-64.77-62.17-109.67-20.54-23.43-31.52-53.15-31.61-84.14-.2-73.64 59.67-128 127.95-128 70.58 0 128 57.42 128 128 0 30.97-11.24 60.85-31.65 84.14-39.11 44.61-56.42 91.47-62.1 109.46a47.507 47.507 0 0 0-2.22 14.3v.1h48v-.05c9.68-33.37 35.78-73.18 52.42-92.16C335.55 260.85 352 220.37 352 176 352 78.8 273.2 0 176 0z"]},{prefix:"fas",iconName:"music",icon:[512,512,[],"f001","M470.38 1.51L150.41 96A32 32 0 0 0 128 126.51v261.41A139 139 0 0 0 96 384c-53 0-96 28.66-96 64s43 64 96 64 96-28.66 96-64V214.32l256-75v184.61a138.4 138.4 0 0 0-32-3.93c-53 0-96 28.66-96 64s43 64 96 64 96-28.65 96-64V32a32 32 0 0 0-41.62-30.49z"]},{prefix:"fas",iconName:"search",icon:[512,512,[],"f002","M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"]},{prefix:"far",iconName:"smile",icon:[496,512,[],"f118","M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm-80-216c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm160 0c17.7 0 32-14.3 32-32s-14.3-32-32-32-32 14.3-32 32 14.3 32 32 32zm4 72.6c-20.8 25-51.5 39.4-84 39.4s-63.2-14.3-84-39.4c-8.5-10.2-23.7-11.5-33.8-3.1-10.2 8.5-11.5 23.6-3.1 33.8 30 36 74.1 56.6 120.9 56.6s90.9-20.6 120.9-56.6c8.5-10.2 7.1-25.3-3.1-33.8-10.1-8.4-25.3-7.1-33.8 3.1z"]},{prefix:"fas",iconName:"times",icon:[352,512,[],"f00d","M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"]},{prefix:"fas",iconName:"user",icon:[448,512,[],"f007","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0 96 57.3 96 128s57.3 128 128 128zm89.6 32h-16.7c-22.2 10.2-46.9 16-72.9 16s-50.6-5.8-72.9-16h-16.7C60.2 288 0 348.2 0 422.4V464c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48v-41.6c0-74.2-60.2-134.4-134.4-134.4z"]});const P5t=I1({prefix:"far",iconName:"building"}).html[0],O5t=I1({prefix:"fas",iconName:"cat"}).html[0],R5t=I1({prefix:"fas",iconName:"coffee"}).html[0],F5t=I1({prefix:"far",iconName:"flag"}).html[0],z5t=I1({prefix:"fas",iconName:"futbol"}).html[0],$5t=I1({prefix:"far",iconName:"frown"}).html[0],N5t=I1({prefix:"fas",iconName:"history"}).html[0],B5t=I1({prefix:"fas",iconName:"icons"}).html[0],j5t=I1({prefix:"far",iconName:"lightbulb"}).html[0],V5t=I1({prefix:"fas",iconName:"music"}).html[0],jx=I1({prefix:"fas",iconName:"search"}).html[0],Xk=I1({prefix:"far",iconName:"smile"}).html[0],H5t=I1({prefix:"fas",iconName:"times"}).html[0],U5t=I1({prefix:"fas",iconName:"user"}).html[0];function W0(n){const e=document.createElement("img");return e.src=n,e}function Kk(){const n=localStorage.getItem("emojiPicker.recent");return(n?JSON.parse(n):[]).filter(e=>!!e.emoji)}class Zk{constructor(e,t,i,o,r,a=!0){this.emoji=e,this.showVariants=t,this.showPreview=i,this.events=o,this.options=r,this.lazy=a}render(){this.emojiButton=wc("button",op);let e=this.emoji.emoji;return this.emoji.custom?e=this.lazy?Xk:`<img class="emoji-picker__custom-emoji" src="${U3(this.emoji.emoji)}">`:this.options.style==="twemoji"&&(e=this.lazy?Xk:S7.parse(this.emoji.emoji,this.options.twemojiOptions)),this.emojiButton.innerHTML=e,this.emojiButton.tabIndex=-1,this.emojiButton.dataset.emoji=this.emoji.emoji,this.emoji.custom&&(this.emojiButton.dataset.custom="true"),this.emojiButton.title=this.emoji.name,this.emojiButton.addEventListener("focus",()=>this.onEmojiHover()),this.emojiButton.addEventListener("blur",()=>this.onEmojiLeave()),this.emojiButton.addEventListener("click",()=>this.onEmojiClick()),this.emojiButton.addEventListener("mouseover",()=>this.onEmojiHover()),this.emojiButton.addEventListener("mouseout",()=>this.onEmojiLeave()),this.options.style==="twemoji"&&this.lazy&&(this.emojiButton.style.opacity="0.25"),this.emojiButton}onEmojiClick(){this.emoji.variations&&this.showVariants&&this.options.showVariants||!this.options.showRecents||function(e,t){const i=Kk(),o={emoji:e.emoji,name:e.name,key:e.key||e.name,custom:e.custom};localStorage.setItem("emojiPicker.recent",JSON.stringify([o,...i.filter(r=>!!r.emoji&&r.key!==o.key)].slice(0,t.recentsCount)))}(this.emoji,this.options),this.events.emit("emoji",{emoji:this.emoji,showVariants:this.showVariants,button:this.emojiButton})}onEmojiHover(){this.showPreview&&this.events.emit("showPreview",this.emoji)}onEmojiLeave(){this.showPreview&&this.events.emit("hidePreview")}}class Jk{constructor(e,t,i,o,r=!0){this.showVariants=t,this.events=i,this.options=o,this.lazy=r,this.emojis=e.filter(a=>!a.version||parseFloat(a.version)<=parseFloat(o.emojiVersion))}render(){const e=wc("div","emoji-picker__container");return this.emojis.forEach(t=>e.appendChild(new Zk(t,this.showVariants,!0,this.events,this.options,this.lazy).render())),e}}var W5t=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Vx,q5t=(function(n){var e,t;e=W5t,t=function(){var i=typeof window>"u",o=new Map,r=new Map,a=[];a.total=0;var s=[],l=[];function d(){o.clear(),r.clear(),s=[],l=[]}function f(k){for(var S=-9007199254740991,O=k.length-1;O>=0;--O){var w=k[O];if(w!==null){var D=w.score;D>S&&(S=D)}}return S===-9007199254740991?null:S}function g(k,S){var O=k[S];if(O!==void 0)return O;var w=S;Array.isArray(S)||(w=S.split("."));for(var D=w.length,I=-1;k&&++I<D;)k=k[w[I]];return k}function v(k){return typeof k=="object"}var b=function(){var k=[],S=0,O={};function w(){for(var D=0,I=k[D],$=1;$<S;){var B=$+1;D=$,B<S&&k[B].score<k[$].score&&(D=B),k[D-1>>1]=k[D],$=1+(D<<1)}for(var X=D-1>>1;D>0&&I.score<k[X].score;X=(D=X)-1>>1)k[D]=k[X];k[D]=I}return O.add=function(D){var I=S;k[S++]=D;for(var $=I-1>>1;I>0&&D.score<k[$].score;$=(I=$)-1>>1)k[I]=k[$];k[I]=D},O.poll=function(){if(S!==0){var D=k[0];return k[0]=k[--S],w(),D}},O.peek=function(D){if(S!==0)return k[0]},O.replaceTop=function(D){k[0]=D,w()},O},x=b();return function k(S){var O={single:function(w,D,I){return w?(v(w)||(w=O.getPreparedSearch(w)),D?(v(D)||(D=O.getPrepared(D)),((I&&I.allowTypo!==void 0?I.allowTypo:!S||S.allowTypo===void 0||S.allowTypo)?O.algorithm:O.algorithmNoTypo)(w,D,w[0])):null):null},go:function(w,D,I){if(!w)return a;var $=(w=O.prepareSearch(w))[0],B=I&&I.threshold||S&&S.threshold||-9007199254740991,X=I&&I.limit||S&&S.limit||9007199254740991,Y=(I&&I.allowTypo!==void 0?I.allowTypo:!S||S.allowTypo===void 0||S.allowTypo)?O.algorithm:O.algorithmNoTypo,Q=0,ue=0,ce=D.length;if(I&&I.keys)for(var ve=I.scoreFn||f,ie=I.keys,se=ie.length,te=ce-1;te>=0;--te){for(var ye=D[te],Ee=new Array(se),Ce=se-1;Ce>=0;--Ce)(nt=g(ye,tt=ie[Ce]))?(v(nt)||(nt=O.getPrepared(nt)),Ee[Ce]=Y(w,nt,$)):Ee[Ce]=null;Ee.obj=ye;var je=ve(Ee);je!==null&&(je<B||(Ee.score=je,Q<X?(x.add(Ee),++Q):(++ue,je>x.peek().score&&x.replaceTop(Ee))))}else if(I&&I.key){var tt=I.key;for(te=ce-1;te>=0;--te)(nt=g(ye=D[te],tt))&&(v(nt)||(nt=O.getPrepared(nt)),(Se=Y(w,nt,$))!==null&&(Se.score<B||(Se={target:Se.target,_targetLowerCodes:null,_nextBeginningIndexes:null,score:Se.score,indexes:Se.indexes,obj:ye},Q<X?(x.add(Se),++Q):(++ue,Se.score>x.peek().score&&x.replaceTop(Se)))))}else for(te=ce-1;te>=0;--te){var nt,Se;(nt=D[te])&&(v(nt)||(nt=O.getPrepared(nt)),(Se=Y(w,nt,$))!==null&&(Se.score<B||(Q<X?(x.add(Se),++Q):(++ue,Se.score>x.peek().score&&x.replaceTop(Se)))))}if(Q===0)return a;var Te=new Array(Q);for(te=Q-1;te>=0;--te)Te[te]=x.poll();return Te.total=Q+ue,Te},goAsync:function(w,D,I){var $=!1,B=new Promise(function(X,Y){if(!w)return X(a);var Q=(w=O.prepareSearch(w))[0],ue=b(),ce=D.length-1,ve=I&&I.threshold||S&&S.threshold||-9007199254740991,ie=I&&I.limit||S&&S.limit||9007199254740991,se=(I&&I.allowTypo!==void 0?I.allowTypo:!S||S.allowTypo===void 0||S.allowTypo)?O.algorithm:O.algorithmNoTypo,te=0,ye=0;function Ee(){if($)return Y("canceled");var Ce=Date.now();if(I&&I.keys)for(var je=I.scoreFn||f,tt=I.keys,nt=tt.length;ce>=0;--ce){for(var Se=D[ce],Te=new Array(nt),lt=nt-1;lt>=0;--lt)(Et=g(Se,St=tt[lt]))?(v(Et)||(Et=O.getPrepared(Et)),Te[lt]=se(w,Et,Q)):Te[lt]=null;Te.obj=Se;var Ot=je(Te);if(Ot!==null&&!(Ot<ve)&&(Te.score=Ot,te<ie?(ue.add(Te),++te):(++ye,Ot>ue.peek().score&&ue.replaceTop(Te)),ce%1e3==0&&Date.now()-Ce>=10))return void(i?setImmediate(Ee):setTimeout(Ee))}else if(I&&I.key){for(var St=I.key;ce>=0;--ce)if((Et=g(Se=D[ce],St))&&(v(Et)||(Et=O.getPrepared(Et)),(It=se(w,Et,Q))!==null&&!(It.score<ve)&&(It={target:It.target,_targetLowerCodes:null,_nextBeginningIndexes:null,score:It.score,indexes:It.indexes,obj:Se},te<ie?(ue.add(It),++te):(++ye,It.score>ue.peek().score&&ue.replaceTop(It)),ce%1e3==0&&Date.now()-Ce>=10)))return void(i?setImmediate(Ee):setTimeout(Ee))}else for(;ce>=0;--ce){var Et,It;if((Et=D[ce])&&(v(Et)||(Et=O.getPrepared(Et)),(It=se(w,Et,Q))!==null&&!(It.score<ve)&&(te<ie?(ue.add(It),++te):(++ye,It.score>ue.peek().score&&ue.replaceTop(It)),ce%1e3==0&&Date.now()-Ce>=10)))return void(i?setImmediate(Ee):setTimeout(Ee))}if(te===0)return X(a);for(var _t=new Array(te),Qt=te-1;Qt>=0;--Qt)_t[Qt]=ue.poll();_t.total=te+ye,X(_t)}i?setImmediate(Ee):Ee()});return B.cancel=function(){$=!0},B},highlight:function(w,D,I){if(w===null)return null;D===void 0&&(D="<b>"),I===void 0&&(I="</b>");for(var $="",B=0,X=!1,Y=w.target,Q=Y.length,ue=w.indexes,ce=0;ce<Q;++ce){var ve=Y[ce];if(ue[B]===ce){if(X||(X=!0,$+=D),++B===ue.length){$+=ve+I+Y.substr(ce+1);break}}else X&&(X=!1,$+=I);$+=ve}return $},prepare:function(w){if(w)return{target:w,_targetLowerCodes:O.prepareLowerCodes(w),_nextBeginningIndexes:null,score:null,indexes:null,obj:null}},prepareSlow:function(w){if(w)return{target:w,_targetLowerCodes:O.prepareLowerCodes(w),_nextBeginningIndexes:O.prepareNextBeginningIndexes(w),score:null,indexes:null,obj:null}},prepareSearch:function(w){if(w)return O.prepareLowerCodes(w)},getPrepared:function(w){if(w.length>999)return O.prepare(w);var D=o.get(w);return D!==void 0||(D=O.prepare(w),o.set(w,D)),D},getPreparedSearch:function(w){if(w.length>999)return O.prepareSearch(w);var D=r.get(w);return D!==void 0||(D=O.prepareSearch(w),r.set(w,D)),D},algorithm:function(w,D,I){for(var $=D._targetLowerCodes,B=w.length,X=$.length,Y=0,Q=0,ue=0,ce=0;;){if(I===$[Q]){if(s[ce++]=Q,++Y===B)break;I=w[ue===0?Y:ue===Y?Y+1:ue===Y-1?Y-1:Y]}if(++Q>=X)for(;;){if(Y<=1)return null;if(ue===0){if(I===w[--Y])continue;ue=Y}else{if(ue===1)return null;if((I=w[1+(Y=--ue)])===w[Y])continue}Q=s[(ce=Y)-1]+1;break}}Y=0;var ve=0,ie=!1,se=0,te=D._nextBeginningIndexes;te===null&&(te=D._nextBeginningIndexes=O.prepareNextBeginningIndexes(D.target));var ye=Q=s[0]===0?0:te[s[0]-1];if(Q!==X)for(;;)if(Q>=X){if(Y<=0){if(++ve>B-2)break;if(w[ve]===w[ve+1])continue;Q=ye;continue}--Y,Q=te[l[--se]]}else if(w[ve===0?Y:ve===Y?Y+1:ve===Y-1?Y-1:Y]===$[Q]){if(l[se++]=Q,++Y===B){ie=!0;break}++Q}else Q=te[Q];if(ie)var Ee=l,Ce=se;else Ee=s,Ce=ce;for(var je=0,tt=-1,nt=0;nt<B;++nt)tt!==(Q=Ee[nt])-1&&(je-=Q),tt=Q;for(ie?ve!==0&&(je+=-20):(je*=1e3,ue!==0&&(je+=-20)),je-=X-B,D.score=je,D.indexes=new Array(Ce),nt=Ce-1;nt>=0;--nt)D.indexes[nt]=Ee[nt];return D},algorithmNoTypo:function(w,D,I){for(var $=D._targetLowerCodes,B=w.length,X=$.length,Y=0,Q=0,ue=0;;){if(I===$[Q]){if(s[ue++]=Q,++Y===B)break;I=w[Y]}if(++Q>=X)return null}Y=0;var ce=!1,ve=0,ie=D._nextBeginningIndexes;if(ie===null&&(ie=D._nextBeginningIndexes=O.prepareNextBeginningIndexes(D.target)),(Q=s[0]===0?0:ie[s[0]-1])!==X)for(;;)if(Q>=X){if(Y<=0)break;--Y,Q=ie[l[--ve]]}else if(w[Y]===$[Q]){if(l[ve++]=Q,++Y===B){ce=!0;break}++Q}else Q=ie[Q];if(ce)var se=l,te=ve;else se=s,te=ue;for(var ye=0,Ee=-1,Ce=0;Ce<B;++Ce)Ee!==(Q=se[Ce])-1&&(ye-=Q),Ee=Q;for(ce||(ye*=1e3),ye-=X-B,D.score=ye,D.indexes=new Array(te),Ce=te-1;Ce>=0;--Ce)D.indexes[Ce]=se[Ce];return D},prepareLowerCodes:function(w){for(var D=w.length,I=[],$=w.toLowerCase(),B=0;B<D;++B)I[B]=$.charCodeAt(B);return I},prepareBeginningIndexes:function(w){for(var D=w.length,I=[],$=0,B=!1,X=!1,Y=0;Y<D;++Y){var Q=w.charCodeAt(Y),ue=Q>=65&&Q<=90,ce=ue||Q>=97&&Q<=122||Q>=48&&Q<=57,ve=ue&&!B||!X||!ce;B=ue,X=ce,ve&&(I[$++]=Y)}return I},prepareNextBeginningIndexes:function(w){for(var D=w.length,I=O.prepareBeginningIndexes(w),$=[],B=I[0],X=0,Y=0;Y<D;++Y)B>Y?$[Y]=B:(B=I[++X],$[Y]=B===void 0?D:B);return $},cleanup:d,new:k};return O}()},n.exports?n.exports=t():e.fuzzysort=t()}(Vx={exports:{}},Vx.exports),Vx.exports);class G5t{constructor(e,t){this.message=e,this.iconUrl=t}render(){const e=wc("div","emoji-picker__search-not-found"),t=wc("div","emoji-picker__search-not-found-icon");this.iconUrl?t.appendChild(W0(this.iconUrl)):t.innerHTML=$5t,e.appendChild(t);const i=wc("h2");return i.innerHTML=U3(this.message),e.appendChild(i),e}}class Y5t{constructor(e,t,i,o,r){if(this.events=e,this.i18n=t,this.options=i,this.focusedEmojiIndex=0,this.emojisPerRow=this.options.emojisPerRow||8,this.emojiData=o.filter(a=>a.version&&parseFloat(a.version)<=parseFloat(i.emojiVersion)&&a.category!==void 0&&r.indexOf(a.category)>=0),this.options.custom){const a=this.options.custom.map(s=>Object.assign(Object.assign({},s),{custom:!0}));this.emojiData=[...this.emojiData,...a]}this.events.on("hideVariantPopup",()=>{setTimeout(()=>this.setFocusedEmoji(this.focusedEmojiIndex))})}render(){return this.searchContainer=wc("div","emoji-picker__search-container"),this.searchField=wc("input","emoji-picker__search"),this.searchField.placeholder=this.i18n.search,this.searchContainer.appendChild(this.searchField),this.searchIcon=wc("span","emoji-picker__search-icon"),this.options.icons&&this.options.icons.search?this.searchIcon.appendChild(W0(this.options.icons.search)):this.searchIcon.innerHTML=jx,this.searchIcon.addEventListener("click",e=>this.onClearSearch(e)),this.searchContainer.appendChild(this.searchIcon),this.searchField.addEventListener("keydown",e=>this.onKeyDown(e)),this.searchField.addEventListener("keyup",e=>this.onKeyUp(e)),this.searchContainer}clear(){this.searchField.value=""}focus(){this.searchField.focus()}onClearSearch(e){e.stopPropagation(),this.searchField.value&&(this.searchField.value="",this.resultsContainer=null,this.options.icons&&this.options.icons.search?(o3(this.searchIcon),this.searchIcon.appendChild(W0(this.options.icons.search))):this.searchIcon.innerHTML=jx,this.searchIcon.style.cursor="default",this.events.emit("hideSearchResults"),setTimeout(()=>this.searchField.focus()))}setFocusedEmoji(e){if(this.resultsContainer){const t=this.resultsContainer.querySelectorAll("."+op);t[this.focusedEmojiIndex].tabIndex=-1,this.focusedEmojiIndex=e;const i=t[this.focusedEmojiIndex];i.tabIndex=0,i.focus()}}handleResultsKeydown(e){if(this.resultsContainer){const t=this.resultsContainer.querySelectorAll("."+op);e.key==="ArrowRight"?this.setFocusedEmoji(Math.min(this.focusedEmojiIndex+1,t.length-1)):e.key==="ArrowLeft"?this.setFocusedEmoji(Math.max(0,this.focusedEmojiIndex-1)):e.key==="ArrowDown"?(e.preventDefault(),this.focusedEmojiIndex<t.length-this.emojisPerRow&&this.setFocusedEmoji(this.focusedEmojiIndex+this.emojisPerRow)):e.key==="ArrowUp"?(e.preventDefault(),this.focusedEmojiIndex>=this.emojisPerRow&&this.setFocusedEmoji(this.focusedEmojiIndex-this.emojisPerRow)):e.key==="Escape"&&this.onClearSearch(e)}}onKeyDown(e){e.key==="Escape"&&this.searchField.value&&this.onClearSearch(e)}onKeyUp(e){if(e.key!=="Tab"&&e.key!=="Shift")if(this.searchField.value){this.options.icons&&this.options.icons.clearSearch?(o3(this.searchIcon),this.searchIcon.appendChild(W0(this.options.icons.clearSearch))):this.searchIcon.innerHTML=H5t,this.searchIcon.style.cursor="pointer";const t=q5t.go(this.searchField.value,this.emojiData,{allowTypo:!0,limit:100,key:"name"}).map(i=>i.obj);this.events.emit("hidePreview"),t.length?(this.resultsContainer=new Jk(t,!0,this.events,this.options,!1).render(),this.resultsContainer&&(this.resultsContainer.querySelector("."+op).tabIndex=0,this.focusedEmojiIndex=0,this.resultsContainer.addEventListener("keydown",i=>this.handleResultsKeydown(i)),this.events.emit("showSearchResults",this.resultsContainer))):this.events.emit("showSearchResults",new G5t(this.i18n.notFound,this.options.icons&&this.options.icons.notFound).render())}else this.options.icons&&this.options.icons.search?(o3(this.searchIcon),this.searchIcon.appendChild(W0(this.options.icons.search))):this.searchIcon.innerHTML=jx,this.searchIcon.style.cursor="default",this.events.emit("hideSearchResults")}}class X5t{constructor(e,t,i){this.events=e,this.emoji=t,this.options=i,this.focusedEmojiIndex=0}getEmoji(e){return this.popup.querySelectorAll("."+op)[e]}setFocusedEmoji(e){this.getEmoji(this.focusedEmojiIndex).tabIndex=-1,this.focusedEmojiIndex=e;const t=this.getEmoji(this.focusedEmojiIndex);t.tabIndex=0,t.focus()}render(){this.popup=wc("div","emoji-picker__variant-popup");const e=wc("div","emoji-picker__variant-overlay");e.addEventListener("click",i=>{i.stopPropagation(),this.popup.contains(i.target)||this.events.emit("hideVariantPopup")}),this.popup.appendChild(new Zk(this.emoji,!1,!1,this.events,this.options,!1).render()),(this.emoji.variations||[]).forEach((i,o)=>this.popup.appendChild(new Zk({name:this.emoji.name,emoji:i,key:this.emoji.name+o},!1,!1,this.events,this.options,!1).render()));const t=this.popup.querySelector("."+op);return this.focusedEmojiIndex=0,t.tabIndex=0,setTimeout(()=>t.focus()),this.popup.addEventListener("keydown",i=>{i.key==="ArrowRight"?this.setFocusedEmoji(Math.min(this.focusedEmojiIndex+1,this.popup.querySelectorAll("."+op).length-1)):i.key==="ArrowLeft"?this.setFocusedEmoji(Math.max(this.focusedEmojiIndex-1,0)):i.key==="Escape"&&(i.stopPropagation(),this.events.emit("hideVariantPopup"))}),e.appendChild(this.popup),e}}const JV={search:"Search emojis...",categories:{recents:"Recent Emojis",smileys:"Smileys & Emotion",people:"People & Body",animals:"Animals & Nature",food:"Food & Drink",activities:"Activities",travel:"Travel & Places",objects:"Objects",symbols:"Symbols",flags:"Flags",custom:"Custom"},notFound:"No emojis found"},K5t={recents:N5t,smileys:Xk,people:U5t,animals:O5t,food:R5t,activities:z5t,travel:P5t,objects:j5t,symbols:V5t,flags:F5t,custom:B5t};class Z5t{constructor(e,t,i){this.options=e,this.events=t,this.i18n=i,this.activeButton=0,this.buttons=[]}render(){var e;const t=wc("div","emoji-picker__category-buttons"),i=this.options.categories||((e=this.options.emojiData)===null||e===void 0?void 0:e.categories)||i3.categories;let o=this.options.showRecents?["recents",...i]:i;return this.options.custom&&(o=[...o,"custom"]),o.forEach(r=>{const a=wc("button","emoji-picker__category-button");this.options.icons&&this.options.icons.categories&&this.options.icons.categories[r]?a.appendChild(W0(this.options.icons.categories[r])):a.innerHTML=K5t[r],a.tabIndex=-1,a.title=this.i18n.categories[r],t.appendChild(a),this.buttons.push(a),a.addEventListener("click",()=>{this.events.emit("categoryClicked",r)})}),t.addEventListener("keydown",r=>{switch(r.key){case"ArrowRight":this.events.emit("categoryClicked",o[(this.activeButton+1)%this.buttons.length]);break;case"ArrowLeft":this.events.emit("categoryClicked",o[this.activeButton===0?this.buttons.length-1:this.activeButton-1]);break;case"ArrowUp":case"ArrowDown":r.stopPropagation(),r.preventDefault()}}),t}setActiveButton(e,t=!0){let i=this.buttons[this.activeButton];i.classList.remove("active"),i.tabIndex=-1,this.activeButton=e,i=this.buttons[this.activeButton],i.classList.add("active"),i.tabIndex=0,t&&i.focus()}}const AD=["recents","smileys","people","animals","food","activities","travel","objects","symbols","flags","custom"];class J5t{constructor(e,t,i,o){var r;this.events=e,this.i18n=t,this.options=i,this.emojiCategories=o,this.currentCategory=0,this.headers=[],this.focusedIndex=0,this.handleKeyDown=a=>{switch(this.emojis.removeEventListener("scroll",this.highlightCategory),a.key){case"ArrowRight":this.focusedEmoji.tabIndex=-1,this.focusedIndex===this.currentEmojiCount-1&&this.currentCategory<this.categories.length-1?(this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(++this.currentCategory),this.setFocusedEmoji(0)):this.focusedIndex<this.currentEmojiCount-1&&this.setFocusedEmoji(this.focusedIndex+1);break;case"ArrowLeft":this.focusedEmoji.tabIndex=-1,this.focusedIndex===0&&this.currentCategory>0?(this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(--this.currentCategory),this.setFocusedEmoji(this.currentEmojiCount-1)):this.setFocusedEmoji(Math.max(0,this.focusedIndex-1));break;case"ArrowDown":a.preventDefault(),this.focusedEmoji.tabIndex=-1,this.focusedIndex+this.emojisPerRow>=this.currentEmojiCount&&this.currentCategory<this.categories.length-1?(this.currentCategory++,this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory),this.setFocusedEmoji(Math.min(this.focusedIndex%this.emojisPerRow,this.currentEmojiCount-1))):this.currentEmojiCount-this.focusedIndex>this.emojisPerRow&&this.setFocusedEmoji(this.focusedIndex+this.emojisPerRow);break;case"ArrowUp":if(a.preventDefault(),this.focusedEmoji.tabIndex=-1,this.focusedIndex<this.emojisPerRow&&this.currentCategory>0){const s=this.getEmojiCount(this.currentCategory-1);let l=s%this.emojisPerRow;l===0&&(l=this.emojisPerRow);const d=this.focusedIndex,f=d>l-1?s-1:s-l+d;this.currentCategory--,this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory),this.setFocusedEmoji(f)}else this.setFocusedEmoji(this.focusedIndex>=this.emojisPerRow?this.focusedIndex-this.emojisPerRow:this.focusedIndex)}requestAnimationFrame(()=>this.emojis.addEventListener("scroll",this.highlightCategory))},this.addCategory=(a,s)=>{const l=wc("h2","emoji-picker__category-name");l.innerHTML=U3(this.i18n.categories[a]||JV.categories[a]),this.emojis.appendChild(l),this.headers.push(l),this.emojis.appendChild(new Jk(s,!0,this.events,this.options,a!=="recents").render())},this.selectCategory=(a,s=!0)=>{this.emojis.removeEventListener("scroll",this.highlightCategory),this.focusedEmoji&&(this.focusedEmoji.tabIndex=-1);const l=this.categories.indexOf(a);this.currentCategory=l,this.setFocusedEmoji(0,!1),this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory,s);const d=this.headerOffsets[l];this.emojis.scrollTop=d,requestAnimationFrame(()=>this.emojis.addEventListener("scroll",this.highlightCategory))},this.highlightCategory=()=>{if(document.activeElement&&document.activeElement.classList.contains("emoji-picker__emoji"))return;let a=this.headerOffsets.findIndex(s=>s>=Math.round(this.emojis.scrollTop));this.emojis.scrollTop+this.emojis.offsetHeight===this.emojis.scrollHeight&&(a=-1),a===0?a=1:a<0&&(a=this.headerOffsets.length),this.headerOffsets[a]===this.emojis.scrollTop&&a++,this.currentCategory=a-1,this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory)},this.emojisPerRow=i.emojisPerRow||8,this.categories=((r=i.emojiData)===null||r===void 0?void 0:r.categories)||i.categories||i3.categories,i.showRecents&&(this.categories=["recents",...this.categories]),i.custom&&(this.categories=[...this.categories,"custom"]),this.categories.sort((a,s)=>AD.indexOf(a)-AD.indexOf(s))}updateRecents(){if(this.options.showRecents){this.emojiCategories.recents=Kk();const e=this.emojis.querySelector(".emoji-picker__container");e&&e.parentNode&&e.parentNode.replaceChild(new Jk(this.emojiCategories.recents,!0,this.events,this.options,!1).render(),e)}}render(){return this.container=wc("div","emoji-picker__emoji-area"),this.options.showCategoryButtons&&(this.categoryButtons=new Z5t(this.options,this.events,this.i18n),this.container.appendChild(this.categoryButtons.render())),this.emojis=wc("div","emoji-picker__emojis"),this.options.showRecents&&(this.emojiCategories.recents=Kk()),this.options.custom&&(this.emojiCategories.custom=this.options.custom.map(e=>Object.assign(Object.assign({},e),{custom:!0}))),this.categories.forEach(e=>this.addCategory(e,this.emojiCategories[e])),requestAnimationFrame(()=>{setTimeout(()=>{setTimeout(()=>this.emojis.addEventListener("scroll",this.highlightCategory))})}),this.emojis.addEventListener("keydown",this.handleKeyDown),this.events.on("categoryClicked",this.selectCategory),this.container.appendChild(this.emojis),this.container.querySelectorAll("."+op)[0].tabIndex=0,this.container}reset(){this.headerOffsets=Array.prototype.map.call(this.headers,e=>e.offsetTop),this.selectCategory(this.options.initialCategory||"smileys",!1),this.currentCategory=this.categories.indexOf(this.options.initialCategory||"smileys"),this.options.showCategoryButtons&&this.categoryButtons.setActiveButton(this.currentCategory,!1)}get currentCategoryEl(){return this.emojis.querySelectorAll(".emoji-picker__container")[this.currentCategory]}get focusedEmoji(){return this.currentCategoryEl.querySelectorAll("."+op)[this.focusedIndex]}get currentEmojiCount(){return this.currentCategoryEl.querySelectorAll("."+op).length}getEmojiCount(e){return this.emojis.querySelectorAll(".emoji-picker__container")[e].querySelectorAll("."+op).length}setFocusedEmoji(e,t=!0){this.focusedIndex=e,this.focusedEmoji&&(this.focusedEmoji.tabIndex=0,t&&this.focusedEmoji.focus())}}const Q5t={position:"auto",autoHide:!0,autoFocusSearch:!0,showAnimation:!0,showPreview:!0,showSearch:!0,showRecents:!0,showVariants:!0,showCategoryButtons:!0,recentsCount:50,emojiData:i3,emojiVersion:"12.1",theme:"light",categories:["smileys","people","animals","food","activities","travel","objects","symbols","flags"],style:"native",twemojiOptions:{ext:".svg",folder:"svg"},emojisPerRow:8,rows:6,emojiSize:"1.8em",initialCategory:"smileys"};class e6t{constructor(e={}){this.events=new Uk,this.publicEvents=new Uk,this.pickerVisible=!1,this.options=Object.assign(Object.assign({},Q5t),e),this.options.rootElement||(this.options.rootElement=document.body),this.i18n=Object.assign(Object.assign({},JV),e.i18n),this.onDocumentClick=this.onDocumentClick.bind(this),this.onDocumentKeydown=this.onDocumentKeydown.bind(this),this.theme=this.options.theme||"light",this.emojiCategories=function(t){const i={};return t.emoji.forEach(o=>{let r=i[t.categories[o.category||0]];r||(r=i[t.categories[o.category||0]]=[]),r.push(o)}),i}(this.options.emojiData||i3),this.buildPicker()}on(e,t){this.publicEvents.on(e,t)}off(e,t){this.publicEvents.off(e,t)}setStyleProperties(){this.options.showAnimation||this.pickerEl.style.setProperty("--animation-duration","0s"),this.options.emojisPerRow&&this.pickerEl.style.setProperty("--emoji-per-row",this.options.emojisPerRow.toString()),this.options.rows&&this.pickerEl.style.setProperty("--row-count",this.options.rows.toString()),this.options.emojiSize&&this.pickerEl.style.setProperty("--emoji-size",this.options.emojiSize),this.options.showCategoryButtons||this.pickerEl.style.setProperty("--category-button-height","0"),this.options.styleProperties&&Object.keys(this.options.styleProperties).forEach(e=>{this.options.styleProperties&&this.pickerEl.style.setProperty(e,this.options.styleProperties[e])})}showSearchResults(e){o3(this.pickerContent),e.classList.add("search-results"),this.pickerContent.appendChild(e)}hideSearchResults(){this.pickerContent.firstChild!==this.emojiArea.container&&(o3(this.pickerContent),this.pickerContent.appendChild(this.emojiArea.container)),this.emojiArea.reset()}emitEmoji({emoji:e,showVariants:t}){return i5t(this,void 0,void 0,function*(){if(e.variations&&t&&this.options.showVariants)this.showVariantPopup(e);else{let i;setTimeout(()=>this.emojiArea.updateRecents()),i=e.custom?this.emitCustomEmoji(e):this.options.style==="twemoji"?yield this.emitTwemoji(e):this.emitNativeEmoji(e),this.publicEvents.emit("emoji",i),this.options.autoHide&&this.hidePicker()}})}emitNativeEmoji(e){return{emoji:e.emoji,name:e.name}}emitCustomEmoji(e){return{url:e.emoji,name:e.name,custom:!0}}emitTwemoji(e){return new Promise(t=>{S7.parse(e.emoji,Object.assign(Object.assign({},this.options.twemojiOptions),{callback:(i,{base:o,size:r,ext:a})=>{const s=`${o}${r}/${i}${a}`;return t({url:s,emoji:e.emoji,name:e.name}),s}}))})}buildSearch(){var e;this.options.showSearch&&(this.search=new Y5t(this.events,this.i18n,this.options,((e=this.options.emojiData)===null||e===void 0?void 0:e.emoji)||i3.emoji,(this.options.categories||[]).map(t=>(this.options.emojiData||i3).categories.indexOf(t))),this.pickerEl.appendChild(this.search.render()))}buildPreview(){this.options.showPreview&&this.pickerEl.appendChild(new w5t(this.events,this.options).render())}initPlugins(){if(this.options.plugins){const e=wc("div","emoji-picker__plugin-container");this.options.plugins.forEach(t=>{if(!t.render)throw new Error('Emoji Button plugins must have a "render" function.');e.appendChild(t.render(this))}),this.pickerEl.appendChild(e)}}initFocusTrap(){this.focusTrap=l5t(this.pickerEl,{clickOutsideDeactivates:!0,initialFocus:this.options.showSearch&&this.options.autoFocusSearch?".emoji-picker__search":'.emoji-picker__emoji[tabindex="0"]'})}buildPicker(){this.pickerEl=wc("div","emoji-picker"),this.pickerEl.classList.add(this.theme),this.setStyleProperties(),this.initFocusTrap(),this.pickerContent=wc("div","emoji-picker__content"),this.initPlugins(),this.buildSearch(),this.pickerEl.appendChild(this.pickerContent),this.emojiArea=new J5t(this.events,this.i18n,this.options,this.emojiCategories),this.pickerContent.appendChild(this.emojiArea.render()),this.events.on("showSearchResults",this.showSearchResults.bind(this)),this.events.on("hideSearchResults",this.hideSearchResults.bind(this)),this.events.on("emoji",this.emitEmoji.bind(this)),this.buildPreview(),this.wrapper=wc("div","emoji-picker__wrapper"),this.wrapper.appendChild(this.pickerEl),this.wrapper.style.display="none",this.options.zIndex&&(this.wrapper.style.zIndex=this.options.zIndex+""),this.options.rootElement&&this.options.rootElement.appendChild(this.wrapper),this.observeForLazyLoad()}showVariantPopup(e){const t=new X5t(this.events,e,this.options).render();t&&this.pickerEl.appendChild(t),this.events.on("hideVariantPopup",()=>{t&&(t.classList.add("hiding"),setTimeout(()=>{t&&this.pickerEl.removeChild(t)},175)),this.events.off("hideVariantPopup")})}observeForLazyLoad(){this.observer=new IntersectionObserver(this.handleIntersectionChange.bind(this),{root:this.emojiArea.emojis}),this.emojiArea.emojis.querySelectorAll("."+op).forEach(e=>{this.shouldLazyLoad(e)&&this.observer.observe(e)})}handleIntersectionChange(e){Array.prototype.filter.call(e,t=>t.intersectionRatio>0).map(t=>t.target).forEach(t=>{x5t(t,this.options)})}shouldLazyLoad(e){return this.options.style==="twemoji"||e.dataset.custom==="true"}onDocumentClick(e){this.pickerEl.contains(e.target)||this.hidePicker()}destroyPicker(){this.events.off("emoji"),this.events.off("hideVariantPopup"),this.options.rootElement&&(this.options.rootElement.removeChild(this.wrapper),this.popper&&this.popper.destroy()),this.observer&&this.observer.disconnect(),this.options.plugins&&this.options.plugins.forEach(e=>{e.destroy&&e.destroy()})}hidePicker(){this.hideInProgress=!0,this.focusTrap.deactivate(),this.pickerVisible=!1,this.overlay&&(document.body.removeChild(this.overlay),this.overlay=void 0),this.emojiArea.emojis.removeEventListener("scroll",this.emojiArea.highlightCategory),this.pickerEl.classList.add("hiding"),setTimeout(()=>{this.wrapper.style.display="none",this.pickerEl.classList.remove("hiding"),this.pickerContent.firstChild!==this.emojiArea.container&&(o3(this.pickerContent),this.pickerContent.appendChild(this.emojiArea.container)),this.search&&this.search.clear(),this.events.emit("hideVariantPopup"),this.hideInProgress=!1,this.popper&&this.popper.destroy(),this.publicEvents.emit("hidden")},this.options.showAnimation?170:0),setTimeout(()=>{document.removeEventListener("click",this.onDocumentClick),document.removeEventListener("keydown",this.onDocumentKeydown)})}showPicker(e){this.hideInProgress?setTimeout(()=>this.showPicker(e),100):(this.pickerVisible=!0,this.wrapper.style.display="block",this.determineDisplay(e),this.focusTrap.activate(),setTimeout(()=>{this.addEventListeners(),this.setInitialFocus()}),this.emojiArea.reset())}determineDisplay(e){window.matchMedia("screen and (max-width: 450px)").matches?this.showMobileView():typeof this.options.position=="string"?this.setRelativePosition(e):this.setFixedPosition()}setInitialFocus(){this.pickerEl.querySelector(this.options.showSearch&&this.options.autoFocusSearch?".emoji-picker__search":`.${op}[tabindex="0"]`).focus()}addEventListeners(){document.addEventListener("click",this.onDocumentClick),document.addEventListener("keydown",this.onDocumentKeydown)}setRelativePosition(e){this.popper=_5t(e,this.wrapper,{placement:this.options.position})}setFixedPosition(){var e;if(!((e=this.options)===null||e===void 0)&&e.position){this.wrapper.style.position="fixed";const t=this.options.position;Object.keys(t).forEach(i=>{this.wrapper.style[i]=t[i]})}}showMobileView(){const e=window.getComputedStyle(this.pickerEl),t=document.querySelector("html"),i=t&&t.clientHeight,o=t&&t.clientWidth,r=parseInt(e.height),a=i?i/2-r/2:0,s=parseInt(e.width),l=o?o/2-s/2:0;this.wrapper.style.position="fixed",this.wrapper.style.top=a+"px",this.wrapper.style.left=l+"px",this.wrapper.style.zIndex="5000",this.overlay=wc("div","emoji-picker__overlay"),document.body.appendChild(this.overlay)}togglePicker(e){this.pickerVisible?this.hidePicker():this.showPicker(e)}isPickerVisible(){return this.pickerVisible}onDocumentKeydown(e){e.key==="Escape"?this.hidePicker():e.key==="Tab"?this.pickerEl.classList.add("keyboard"):e.key.match(/^[\w]$/)&&this.search&&this.search.focus()}setTheme(e){e!==this.theme&&(this.pickerEl.classList.remove(this.theme),this.theme=e,this.pickerEl.classList.add(e))}}const t6t=Lt({__name:"v-emoji-picker",emits:["emoji-selected"],setup(n,{emit:e}){const t=new e6t({theme:"auto",zIndex:1e4,position:"bottom",emojisPerRow:8}),i=e;return t.on("emoji",o=>{i("emoji-selected",o.emoji)}),uu(()=>{t.destroyPicker()}),(o,r)=>{const a=q("v-icon"),s=q("v-button");return V(),me(s,{class:"emoji-button","x-small":"",secondary:"",icon:"",onClick:r[0]||(r[0]=l=>h(t).togglePicker(l.target))},{default:P(()=>[A(a,{name:"insert_emoticon"})]),_:1})}}}),n6t=Lt({__name:"v-workspace",props:{tiles:{},editMode:{type:Boolean,default:!1},zoomToFit:{type:Boolean,default:!1},resizable:{type:Boolean,default:!0}},emits:["update","move","delete","duplicate","edit","preview"],setup(n){const e=n,t=ku("main-element",Pe()),i=Tg(t),o=we(()=>{var l;return Number(((l=Fr("--content-padding",t.value))==null?void 0:l.slice(0,-2))||0)}),r=we(()=>{const l=e.tiles.reduce((f,g)=>(g.x+g.width>f.x+f.width&&(f.x=g.x,f.width=g.width),f),{x:0,width:0}),d=e.tiles.reduce((f,g)=>(g.y+g.height>f.y+f.height&&(f.y=g.y,f.height=g.height),f),{y:0,height:0});return e.editMode===!0?{width:(l.x+l.width+25)*20,height:(d.y+d.height+25)*20}:{width:(l.x+l.width-1)*20,height:(d.y+d.height-1)*20}}),a=we(()=>{if(e.zoomToFit===!1)return 1;const{width:l,height:d}=i,f=(l.value-o.value*2)/r.value.width,g=(d.value-114-o.value*2)/r.value.height;return Math.min(f,g)}),s=we(()=>({width:r.value.width*a.value+o.value*2,height:r.value.height*a.value+o.value*2}));return(l,d)=>{const f=q("v-workspace-tile");return V(),De("div",{class:An(["v-workspace",{editing:l.editMode}]),style:Ba({width:s.value.width+"px",height:s.value.height+"px"})},[xe("div",{class:"workspace",style:Ba({transform:`scale(${a.value})`,width:r.value.width+"px",height:r.value.height+"px"})},[l.$slots.tile?(V(!0),De(_n,{key:1},Ii(l.tiles,g=>Ei(l.$slots,"tile",{key:g.id,tile:g},void 0,!0)),128)):(V(!0),De(_n,{key:0},Ii(l.tiles,g=>(V(),me(f,vr({key:g.id,ref_for:!0},g,{"edit-mode":l.editMode,resizable:l.resizable,onPreview:v=>l.$emit("preview",g),onEdit:v=>l.$emit("edit",g),onUpdate:v=>l.$emit("update",{edits:v,id:g.id}),onMove:v=>l.$emit("move",g.id),onDelete:v=>l.$emit("delete",g.id),onDuplicate:v=>l.$emit("duplicate",g)}),{default:P(()=>[Ei(l.$slots,"default",{tile:g},void 0,!0)]),_:2},1040,["edit-mode","resizable","onPreview","onEdit","onUpdate","onMove","onDelete","onDuplicate"]))),128))],4)],6)}}}),i6t=qt(n6t,[["__scopeId","data-v-fb9948d7"]]),o6t=n=>(nr("data-v-9cd5799d"),n=n(),ir(),n),a6t={key:0,class:"header"},r6t=o6t(()=>xe("div",{class:"spacer"},null,-1)),s6t={class:"resize-details"},l6t={key:2,class:"resize-handlers"},c6t={key:0,class:"footer"},u6t=Lt({__name:"v-workspace-tile",props:{id:{},x:{},y:{},width:{},height:{},name:{default:void 0},icon:{default:"space_dashboard"},color:{default:"var(--theme--primary)"},note:{default:void 0},showHeader:{type:Boolean,default:!0},minWidth:{default:8},minHeight:{default:6},draggable:{type:Boolean,default:!0},borderRadius:{default:()=>[!0,!0,!0,!0]},resizable:{type:Boolean,default:!0},editMode:{type:Boolean,default:!1},showOptions:{type:Boolean,default:!0},alwaysUpdatePosition:{type:Boolean,default:!1}},emits:["update","move","duplicate","delete","edit","preview"],setup(n,{emit:e}){const t=n,i=e,{t:o}=vn(),r=A1({position_x:void 0,position_y:void 0,width:void 0,height:void 0}),{onPointerDown:a,dragging:s}=g(),l=we(()=>s.value?{x:r.position_x??t.x,y:r.position_y??t.y,width:r.width??t.width,height:r.height??t.height}:{x:t.x,y:t.y,width:t.width,height:t.height}),d=we(()=>s.value?{"--pos-x":r.position_x??t.x,"--pos-y":r.position_y??t.y,"--width":r.width??t.width,"--height":r.height??t.height}:{"--pos-x":t.x,"--pos-y":t.y,"--width":t.width,"--height":t.height}),f=we(()=>({"--v-icon-color":t.color}));function g(){const v=Pe(!1);let b=0,x=0,k=0,S=0,O=0,w=0,D="move";const I=st.throttle(X=>{if(t.editMode===!1||v.value===!1||t.draggable===!1)return;const Y=X.pageX-b,Q=X.pageY-x,ue=Math.round(Y/20),ce=Math.round(Q/20);if(D==="move")r.position_x=k+ue,r.position_y=S+ce,r.position_x<1&&(r.position_x=1),r.position_y<1&&(r.position_y=1);else{D.includes("top")&&(r.height=w-ce,r.position_y=S+ce),D.includes("right")&&(r.width=O+ue),D.includes("bottom")&&(r.height=w+ce),D.includes("left")&&(r.width=O-ue,r.position_x=k+ue);const ve=t.minWidth,ie=t.minHeight;r.position_x&&r.position_x<1&&(r.position_x=1),r.position_y&&r.position_y<1&&(r.position_y=1),r.width&&r.width<ve&&(r.width=ve),r.height&&r.height<ie&&(r.height=ie)}t.alwaysUpdatePosition&&i("update",r)},20);return{dragging:v,onPointerDown:$,onPointerUp:B,onPointerMove:I};function $(X,Y){t.editMode===!1||t.draggable===!1||(D=X,v.value=!0,b=Y.pageX,x=Y.pageY,k=t.x,S=t.y,O=t.width,w=t.height,window.addEventListener("pointerup",B),window.addEventListener("pointermove",I))}function B(){v.value=!1,!(t.editMode===!1||t.draggable===!1||Object.values(r).every(X=>X===void 0))&&(i("update",r),window.removeEventListener("pointerup",B),window.removeEventListener("pointermove",I),r.position_x=void 0,r.position_y=void 0,r.width=void 0,r.height=void 0)}}return(v,b)=>{const x=q("v-icon"),k=q("v-text-overflow"),S=q("v-list-item-icon"),O=q("v-list-item-content"),w=q("v-list-item"),D=q("v-list"),I=q("v-menu"),$=ki("tooltip");return V(),De("div",{class:An(["v-workspace-tile",{editing:v.editMode,draggable:v.draggable,dragging:h(s),"br-tl":h(s)||v.borderRadius[0],"br-tr":h(s)||v.borderRadius[1],"br-br":h(s)||v.borderRadius[2],"br-bl":h(s)||v.borderRadius[3]}]),style:Ba(d.value),"data-move":"",onPointerdown:b[13]||(b[13]=B=>h(a)("move",B))},[v.showHeader?(V(),De("div",a6t,[A(x,{class:"icon",style:Ba(f.value),name:v.icon,small:""},null,8,["style","name"]),A(k,{class:"name",text:v.name||""},null,8,["text"]),r6t,v.note?rn((V(),me(x,{key:0,class:"note",name:"info"},null,512)),[[$,v.note]]):He("",!0)])):He("",!0),v.editMode?(V(),De("div",{key:1,class:"edit-actions",onPointerdown:b[4]||(b[4]=po(()=>{},["stop"]))},[rn(A(x,{class:"edit-icon",name:"edit",clickable:"",onClick:b[0]||(b[0]=B=>v.$emit("edit"))},null,512),[[$,h(o)("edit")]]),v.showOptions?(V(),me(I,{key:0,placement:"bottom-end","show-arrow":""},{activator:P(({toggle:B})=>[A(x,{class:"more-icon",name:"more_vert",clickable:"",onClick:B},null,8,["onClick"])]),default:P(()=>[A(D,null,{default:P(()=>[A(w,{clickable:"",disabled:v.id.startsWith("_"),onClick:b[1]||(b[1]=B=>v.$emit("move"))},{default:P(()=>[A(S,null,{default:P(()=>[A(x,{class:"move-icon",name:"input"})]),_:1}),A(O,null,{default:P(()=>[Fe(de(h(o)("copy_to")),1)]),_:1})]),_:1},8,["disabled"]),A(w,{clickable:"",onClick:b[2]||(b[2]=B=>v.$emit("duplicate"))},{default:P(()=>[A(S,null,{default:P(()=>[A(x,{name:"control_point_duplicate"})]),_:1}),A(O,null,{default:P(()=>[Fe(de(h(o)("duplicate")),1)]),_:1})]),_:1}),A(w,{class:"delete-action",clickable:"",onClick:b[3]||(b[3]=B=>v.$emit("delete"))},{default:P(()=>[A(S,null,{default:P(()=>[A(x,{name:"delete"})]),_:1}),A(O,null,{default:P(()=>[Fe(de(h(o)("delete")),1)]),_:1})]),_:1})]),_:1})]),_:1})):He("",!0)],32)):He("",!0),xe("div",s6t,[Fe(" ("+de(l.value.x-1)+":"+de(l.value.y-1)+") ",1),v.resizable?(V(),De(_n,{key:0},[Fe(de(l.value.width)+"×"+de(l.value.height),1)],64)):He("",!0)]),v.editMode&&v.resizable?(V(),De("div",l6t,[xe("div",{class:"top",onPointerdown:b[5]||(b[5]=po(B=>h(a)("resize-top",B),["stop"]))},null,32),xe("div",{class:"right",onPointerdown:b[6]||(b[6]=po(B=>h(a)("resize-right",B),["stop"]))},null,32),xe("div",{class:"bottom",onPointerdown:b[7]||(b[7]=po(B=>h(a)("resize-bottom",B),["stop"]))},null,32),xe("div",{class:"left",onPointerdown:b[8]||(b[8]=po(B=>h(a)("resize-left",B),["stop"]))},null,32),xe("div",{class:"top-left",onPointerdown:b[9]||(b[9]=po(B=>h(a)("resize-top-left",B),["stop"]))},null,32),xe("div",{class:"top-right",onPointerdown:b[10]||(b[10]=po(B=>h(a)("resize-top-right",B),["stop"]))},null,32),xe("div",{class:"bottom-right",onPointerdown:b[11]||(b[11]=po(B=>h(a)("resize-bottom-right",B),["stop"]))},null,32),xe("div",{class:"bottom-left",onPointerdown:b[12]||(b[12]=po(B=>h(a)("resize-bottom-left",B),["stop"]))},null,32)])):He("",!0),xe("div",{class:An(["tile-content",{"has-header":v.showHeader}])},[Ei(v.$slots,"default",{},void 0,!0),v.$slots.footer?(V(),De("div",c6t,[Ei(v.$slots,"footer",{},void 0,!0)])):He("",!0)],2),Ei(v.$slots,"body",{},void 0,!0)],38)}}}),d6t=qt(u6t,[["__scopeId","data-v-9cd5799d"]]),f6t=Lt({__name:"v-error-boundary",props:{name:{default:void 0},stopPropagation:{type:Boolean,default:!0}},setup(n){const e=n,t=Pe(null),i=we(()=>!!t.value);return NU((o,r,a)=>{t.value=o;const s=e.name?st.kebabCase(e.name):JD(r);if(console.warn(`[${s}-error] ${a}`),console.warn(o),e.stopPropagation)return!1}),(o,r)=>i.value?(V(),De(_n,{key:0},[o.$slots.fallback?Ei(o.$slots,"fallback",Aa(vr({key:0},{error:t.value}))):He("",!0)],64)):Ei(o.$slots,"default",{key:1})}});function p6t(n){n.component("VAvatar",ggt),n.component("VBadge",bgt),n.component("VBreadcrumb",Cgt),n.component("VButton",Agt),n.component("VCardActions",Pgt),n.component("VCardSubtitle",zgt),n.component("VCardText",jgt),n.component("VCardTitle",Wgt),n.component("VCard",Lgt),n.component("VCheckbox",Kgt),n.component("VCheckboxTree",e0t),n.component("VChip",Ok),n.component("VDetail",i0t),n.component("VDialog",r0t),n.component("VDivider",Vw),n.component("VError",I0t),n.component("VFancySelect",$0t),n.component("VFieldTemplate",G0t),n.component("VCollectionFieldTemplate",X0t),n.component("VFieldList",e3t),n.component("VForm",Hw),n.component("VHover",t3t),n.component("VHighlight",a3t),n.component("VIcon",Bb),n.component("VImage",l3t),n.component("VIconFile",d3t),n.component("VInfo",v3t),n.component("VInput",A3t),n.component("VItemGroup",L3t),n.component("VItem",M3t),n.component("VListGroup",z3t),n.component("VListItemContent",H3t),n.component("VListItemHint",W3t),n.component("VListItemIcon",G3t),n.component("VListItem",N3t),n.component("VList",P3t),n.component("VMenu",Zyt),n.component("VDrawer",A0t),n.component("VNotice",Qyt),n.component("VOverlay",o4t),n.component("VPagination",c4t),n.component("VProgressCircular",Dj),n.component("VProgressLinear",d4t),n.component("VRadio",m4t),n.component("VResizeable",fV),n.component("VSelect",k4t),n.component("VSheet",A4t),n.component("VSkeletonLoader",M4t),n.component("VSlider",B4t),n.component("VTabItem",g_t),n.component("VTab",m_t),n.component("VTable",u_t),n.component("VTabsItems",y_t),n.component("VTabs",p_t),n.component("VTemplateInput",L_t),n.component("VTextarea",F_t),n.component("VTextOverflow",M_t),n.component("VUpload",U_t),n.component("VDatePicker",n5t),n.component("VEmojiPicker",t6t),n.component("VWorkspace",i6t),n.component("VWorkspaceTile",d6t),n.component("VErrorBoundary",f6t),n.component("TransitionBounce",ugt),n.component("TransitionDialog",pgt),n.component("TransitionExpand",mgt),n.component("RenderDisplay",Hvt),n.component("RenderTemplate",Xvt),n.component("ExportSidebarDetail",fE),n.component("SidebarDetail",egt),n.component("UserPopover",sgt),n.component("ValueNull",wE),n.component("DrawerCollection",f2),n.component("DrawerFiles",z8),n.component("DrawerItem",Yp),n.component("DrawerBatch",ty)}const QV=(n,{value:e})=>{const{handler:t,middleware:i,events:o,disabled:r}=m6t(e);ii(()=>e,a=>{JSON.stringify(a)!==JSON.stringify(e)&&tH(n,{value:a,oldValue:null})}),r!==!0&&(n.$clickOutsideHandlers=o.map(a=>({event:a,handler:s=>v6t({event:s,el:n,handler:t,middleware:i})})),n.$clickOutsideHandlers.forEach(({event:a,handler:s})=>{setTimeout(()=>{n.$clickOutsideHandlers&&document.documentElement.addEventListener(a,s,!1)})}))},eH=n=>{(n.$clickOutsideHandlers||[]).forEach(({event:t,handler:i})=>{document.documentElement.removeEventListener(t,i,!1)})},tH=(n,{value:e,oldValue:t})=>{JSON.stringify(e)!==JSON.stringify(t)&&(eH(n),QV(n,{value:e}))},h6t={beforeMount:QV,unmounted:eH,updated:tH};function m6t(n){const e=typeof n=="function";let t;if(e)t={handler:n,middleware:()=>!0,events:["pointerdown"],disabled:!1};else{const i=n;t={handler:i.handler||(()=>{}),middleware:i.middleware||(()=>!0),events:i.events||["pointerdown"],disabled:i.disabled!==void 0?!!i.disabled:!1}}return t}function v6t({el:n,event:e,handler:t,middleware:i}){e.stopPropagation();const o=e.composedPath();(o?o.indexOf(n)<0:n.contains(e.target)===!1)!==!1&&i(e)&&t(e)}function g6t(n,e){var i;const t=(i=e.instance)==null?void 0:i.$refs[e.value];t&&(n.addEventListener("contextmenu",nH(t)),document.documentElement.addEventListener("pointerdown",iH(t)))}function y6t(n,e){var i;const t=(i=e.instance)==null?void 0:i.$refs[e.value];t&&(n.removeEventListener("contextmenu",nH(t)),document.documentElement.removeEventListener("pointerdown",iH(t)))}const _6t={mounted:g6t,unmounted:y6t};function nH(n){return e=>{e.stopPropagation(),e.preventDefault(),n&&n.activate(e)}}function iH(n){return e=>{!n||e.composedPath().find(i=>i.id===n.id)||n.deactivate(e)}}const b6t={mounted(n,e){e.value?n.focus():n.blur()}},x6t={mounted:n=>{n.onUpdate=()=>TD(n),n.shadow=document.createElement("div"),n.shadow.setAttribute("aria-hidden","true"),w6t(n),document.body.appendChild(n.shadow),TD(n),n.addEventListener("input",n.onUpdate)},updated:n=>{n.onUpdate&&n.onUpdate()},unmounted:n=>{document.body.removeChild(n.shadow),n.onUpdate&&n.removeEventListener("input",n.onUpdate)}};function TD(n){const e=n.value||n.placeholder;n.shadow.textContent=e,n.style.width=`${n.shadow.scrollWidth}px`}function w6t(n){const e=window.getComputedStyle(n);Object.assign(n.shadow.style,{position:"absolute",top:"0",left:"0",visibility:"hidden",height:"0",overflow:"hidden",whiteSpace:"pre",fontSize:e.fontSize,fontFamily:e.fontFamily,fontWeight:e.fontWeight,fontStyle:e.fontStyle,letterSpacing:e.letterSpacing,textTransform:e.textTransform,paddingRight:`calc(${e.paddingRight} + ${e.borderRightWidth})`,paddingLeft:`calc(${e.paddingLeft} + ${e.borderLeftWidth})`})}const k6t={beforeMount:LD,updated:LD};function LD(n,e){typeof e.value=="object"&&"value"in e.value?n.innerHTML=wk(e.value.value,e.value):n.innerHTML=wk(e.value??"")}function C6t(n){n.directive("click-outside",h6t),n.directive("context-menu",_6t),n.directive("focus",b6t),n.directive("input-auto-width",x6t),n.directive("md",k6t),n.directive("tooltip",tk)}const S6t="data:image/svg+xml,%3csvg%20width='64'%20height='39'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='%23FFFFFF'%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M51.18%2024.61c-.3-.07-.55-.15-.77-.25-.16-.07-.3-.16-.42-.26a.31.31%200%200%201-.1-.27c.11-1.24-.02-2.33.1-3.56.5-5%203.64-3.41%206.46-4.23%201.62-.45%203.24-1.35%203.83-3.1.1-.3.01-.61-.19-.84a36.2%2036.2%200%200%200-6.12-5.54A36.73%2036.73%200%200%200%2027.94.36a.46.46%200%200%200-.33.7%2013.7%2013.7%200%200%200%204.31%204.24c.31.19.19.6-.17.52a8.2%208.2%200%200%201-2.92-1.26.35.35%200%200%200-.33-.04l-1.64.67a.45.45%200%200%200-.12.75A13.7%2013.7%200%200%200%2042.8%207.3c.3-.19.8.2.7.55a27%2027%200%200%200-.54%202.37c-1.26%206.37-4.9%205.87-9.4%204.27-9-3.26-14.12-.48-18.66-5.98-.31-.38-.87-.51-1.24-.19a4.25%204.25%200%200%200%20.43%206.8c.14.1.33.05.44-.08.28-.35.5-.59.8-.74.3-.16.46.29.2.52-.97.85-1.25%201.87-1.88%203.87-.99%203.13-.57%206.34-5.2%207.18-2.45.12-2.4%201.78-3.29%204.25-1.03%202.98-2.39%204.3-4.9%206.9-.34.36-.36.93.01%201.25%201%20.85%202.04.9%203.09.46%202.6-1.08%204.6-4.44%206.48-6.61%202.1-2.42%207.15-1.39%2010.97-3.76%202.05-1.25%203.29-2.86%202.9-5.27-.07-.38.37-.62.53-.26.31.68.51%201.4.6%202.16.02.2.2.34.39.33%204.12-.23%209.46%204.3%2014.44%205.53.3.08.52-.27.35-.53a9.17%209.17%200%200%201-1.3-3.02c-.1-.39.47-.5.66-.14a9.2%209.2%200%200%200%207.4%204.71c1.2.1%202.54-.05%203.93-.47%201.66-.5%203.19-1.14%205.02-.79%201.36.25%202.63.94%203.42%202.1%201.1%201.62%203.45%202.04%204.7.35a.81.81%200%200%200%20.08-.8c-2.76-6.43-9.75-6.88-12.75-7.65Z'%20/%3e%3c/svg%3e",A7=n=>(nr("data-v-9ac8a847"),n=n(),ir(),n),E6t={class:"public-view"},A6t={class:"title-box"},T6t=A7(()=>xe("img",{src:S6t,alt:"Directus",class:"directus-logo"},null,-1)),L6t=[T6t],I6t={class:"title"},M6t={class:"type-title"},D6t={class:"subtitle"},P6t={class:"content"},O6t={class:"notice"},R6t={key:0,class:"fallback"},F6t=A7(()=>xe("div",null,[xe("div")],-1)),z6t=A7(()=>xe("div",null,[xe("div")],-1)),$6t=A7(()=>xe("div",null,[xe("div")],-1)),N6t=[F6t,z6t,$6t],B6t=["src"],j6t={class:"note-container"},V6t={key:0,class:"note"},H6t=Lt({__name:"public-view",props:{wide:{type:Boolean,default:!1}},setup(n){const{t:e}=vn(),t=Ul(),{info:i}=Cc(t),o=we(()=>{var f,g;return!!((g=(f=i.value)==null?void 0:f.project)!=null&&g.public_background)}),r=we(()=>{var f,g,v,b;return(b=(v=(g=(f=i.value)==null?void 0:f.project)==null?void 0:g.public_background)==null?void 0:v.type)==null?void 0:b.startsWith("video/")}),a=we(()=>{var f,g,v;return Ys(((v=(g=(f=i.value)==null?void 0:f.project)==null?void 0:g.public_background)==null?void 0:v.id)??"")}),s=we(()=>o.value?{background:`url(${a.value})`,backgroundSize:"cover",backgroundPosition:"center center"}:{}),l=we(()=>{var f,g,v;return(g=(f=i.value)==null?void 0:f.project)!=null&&g.public_foreground?Ys((v=i.value.project)==null?void 0:v.public_foreground):null}),d=we(()=>{var f,g,v;return(g=(f=i.value)==null?void 0:f.project)!=null&&g.project_logo?Ys((v=i.value.project)==null?void 0:v.project_logo):null});return(f,g)=>{var x,k,S,O,w,D,I,$,B,X,Y,Q,ue;const v=q("v-image"),b=ki("md");return V(),De("div",E6t,[xe("div",{class:An(["container",{wide:f.wide}])},[xe("div",A6t,[(k=(x=h(i))==null?void 0:x.project)!=null&&k.project_logo?(V(),De("div",{key:0,class:"logo",style:Ba((S=h(i))!=null&&S.project.project_color?{backgroundColor:h(i).project.project_color}:{})},[A(v,{src:d.value,alt:((O=h(i))==null?void 0:O.project.project_name)||"Logo"},null,8,["src","alt"])],4)):(V(),De("div",{key:1,class:"logo",style:Ba((D=(w=h(i))==null?void 0:w.project)!=null&&D.project_color?{backgroundColor:h(i).project.project_color}:{})},L6t,4)),xe("div",I6t,[xe("h1",M6t,de(($=(I=h(i))==null?void 0:I.project)==null?void 0:$.project_name),1),xe("p",D6t,de(((X=(B=h(i))==null?void 0:B.project)==null?void 0:X.project_descriptor)??h(e)("application")),1)])]),xe("div",P6t,[Ei(f.$slots,"default")]),xe("div",O6t,[Ei(f.$slots,"notice")])],2),xe("div",{class:"art",style:Ba(s.value)},[o.value?r.value?(V(),De("video",{key:1,src:a.value,autoplay:"",muted:"",loop:""},null,8,B6t)):He("",!0):(V(),De("div",R6t,N6t)),A(E1,{name:"scale"},{default:P(()=>{var ce,ve;return[l.value?(V(),me(v,{key:0,class:"foreground",src:l.value,alt:(ve=(ce=h(i))==null?void 0:ce.project)==null?void 0:ve.project_name},null,8,["src","alt"])):He("",!0)]}),_:1}),xe("div",j6t,[(Q=(Y=h(i))==null?void 0:Y.project)!=null&&Q.public_note?rn((V(),De("div",V6t,null,512)),[[b,(ue=h(i))==null?void 0:ue.project.public_note]]):He("",!0)])],4)])}}}),U6t=qt(H6t,[["__scopeId","data-v-9ac8a847"]]),W6t="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='64'%20height='39'%3e%3cpath%20fill='%23FFF'%20fill-rule='evenodd'%20d='M51.166%2024.51a4.636%204.636%200%200%201-.763-.246%201.751%201.751%200%200%201-.54-.368c.147-1.304%200-2.435.122-3.713.492-4.967%203.615-3.393%206.418-4.204%201.745-.492%203.491-1.5%203.934-3.566a36.074%2036.074%200%200%200-6.393-5.876C46.347%201.128%2036.414-1.036%2027.39.464a13.635%2013.635%200%200%200%205.968%205.532s-2.445%200-4.541-1.565c-.615.245-1.845.73-2.435%201.024%204.794%204.598%2012.293%205.114%2017.678.984-.025.049-.492.762-1.057%203.737-1.254%206.343-4.869%205.852-9.343%204.254-9.294-3.369-14.408-.246-19.055-6.639a4.29%204.29%200%200%200-2.189%203.737c0%201.598.886%202.95%202.164%203.688.698-.926%201.011-1.189%202.228-1.189-1.883%201.068-2.105%202-2.916%204.582-.984%203.123-.566%206.32-5.164%207.155-2.434.123-2.385%201.77-3.27%204.23C4.352%2033.188%202.877%2034.467%200%2037.491c1.18%201.426%202.41%201.598%203.663%201.082%202.582-1.082%204.574-4.426%206.442-6.59%202.09-2.409%207.106-1.376%2010.892-3.737%202.607-1.598%203.885-3.761%202.164-7.425a7.254%207.254%200%200%201%201.869%204.426c4.376-.566%2010.228%204.77%2015.563%205.655a9.53%209.53%200%200%201-1.303-2.188c-.615-1.476-.811-2.828-.688-4.008.491%202.926%203.442%206.688%208.187%207.032%201.205.098%202.533-.05%203.91-.467%201.647-.492%203.171-1.131%204.99-.787%201.353.246%202.607.934%203.394%202.09%201.18%201.72%203.761%202.09%204.917-.025-2.606-6.81-9.786-7.253-12.834-8.04z'/%3e%3c/svg%3e",q6t=n=>(nr("data-v-cfdcd3fb"),n=n(),ir(),n),G6t={class:"inline-container"},Y6t={class:"container"},X6t={class:"title-box"},K6t=["src","alt"],Z6t=q6t(()=>xe("img",{src:W6t,alt:"Directus",class:"directus-logo"},null,-1)),J6t=[Z6t],Q6t={class:"title"},ebt={class:"subtitle"},tbt={class:"type-title"},nbt={class:"container"},ibt={class:"content"},obt=Lt({__name:"shared-view",props:{title:{},inline:{type:Boolean}},setup(n){const e=Ul(),{info:t}=Cc(e),{t:i}=vn(),o=we(()=>{var r,a,s;return(a=(r=e.info)==null?void 0:r.project)!=null&&a.project_logo?Ys((s=e.info.project)==null?void 0:s.project_logo):null});return(r,a)=>{var s,l,d,f,g,v,b,x,k;return V(),De("div",{class:An(["shared",{inline:r.inline}])},[xe("div",G6t,[xe("header",null,[xe("div",Y6t,[xe("div",X6t,[(l=(s=h(t))==null?void 0:s.project)!=null&&l.project_logo?(V(),De("div",{key:0,class:"logo",style:Ba((f=(d=h(t))==null?void 0:d.project)!=null&&f.project_color?{backgroundColor:h(t).project.project_color}:{})},[xe("img",{src:o.value,alt:((g=h(t))==null?void 0:g.project.project_name)||"Logo"},null,8,K6t)],4)):(V(),De("div",{key:1,class:"logo",style:Ba((b=(v=h(t))==null?void 0:v.project)!=null&&b.project_color?{backgroundColor:h(t).project.project_color}:{})},J6t,4)),xe("div",Q6t,[xe("p",ebt,de((k=(x=h(t))==null?void 0:x.project)==null?void 0:k.project_name),1),Ei(r.$slots,"title",{},()=>[xe("h1",tbt,de(r.title??h(i)("share_access_page")),1)],!0)])])])]),xe("div",nbt,[xe("div",ibt,[Ei(r.$slots,"default",{},void 0,!0)])])])],2)}}}),abt=qt(obt,[["__scopeId","data-v-cfdcd3fb"]]),rbt=YD(()=>jt(()=>import("./index-BruAGqzh.js"),__vite__mapDeps([225,1,2,3,4,5,6,226]),import.meta.url));function sbt(n){n.component("PublicView",U6t),n.component("PrivateView",rbt),n.component("SharedView",abt)}lbt();async function lbt(){console.log(aq),console.info(`Hey! Interested in helping build this open-source data management platform?
|
|
4360
4360
|
If so, join our growing team of contributors at: https://directus.chat`),console.info("%c🐰 Starting Directus...","color:Green"),console.time("🕓 Application Loaded");const n=iU(jvt);n.use($o),n.use(DU()),n.use(MU()),n.config.errorHandler=(e,t,i)=>{const o=JD(t);return console.warn(`[app-${o}-error] ${i}`),console.warn(e),!1},C6t(n),p6t(n),sbt(n),await Avt(),Tvt(n),n.use(ru),n.mount("#app"),console.timeEnd("🕓 Application Loaded"),console.group("%c✨ Project Information","color:DodgerBlue"),console.info("%cEnvironment: production","color:DodgerBlue"),console.groupEnd(),window.addEventListener("dragover",e=>e.preventDefault(),!1),window.addEventListener("drop",e=>e.preventDefault(),!1)}export{Bd as A,gr as B,Gf as C,sq as D,Cf as E,Pme as F,Zn as G,uC as H,Ul as I,Jm as J,D8 as K,u7 as L,eg as M,g0t as N,pp as S,fV as V,qt as _,I9e as a,Sy as b,i9 as c,Nq as d,Qf as e,Pq as f,t8t as g,QR as h,Kq as i,Ey as j,$o as k,Gq as l,cG as m,v_ as n,uR as o,R9e as p,U2 as q,u9e as r,vbt as s,Ys as t,gm as u,xd as v,G3 as w,Sr as x,st as y,Nc as z};
|