@softistx/pulsarix-widget 0.8.5 → 0.9.1

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.
Files changed (116) hide show
  1. package/README.md +45 -22
  2. package/dist/chunks/{abnfDiagram-XWFEHMT6.b9yk4x5x.js → abnfDiagram-XWFEHMT6.xef4vppv.js} +1 -1
  3. package/dist/chunks/architecture-WOLXFQ4H.pp4drcrh.js +1 -0
  4. package/dist/chunks/{architectureDiagram-CSQXQB3N.qz18rz0g.js → architectureDiagram-CSQXQB3N.0bddzt5e.js} +1 -1
  5. package/dist/chunks/{blockDiagram-BEDRHYPZ.bb08b9nt.js → blockDiagram-BEDRHYPZ.wgdr8xfr.js} +1 -1
  6. package/dist/chunks/{c4Diagram-M2UUVUY5.px0epccd.js → c4Diagram-M2UUVUY5.t09pndbz.js} +1 -1
  7. package/dist/chunks/{chat-markdown-CrbWbK1O.k4nmgyey.js → chat-markdown-CQ4fSIYN.cv3fprzq.js} +2 -2
  8. package/dist/chunks/{classDiagram-v2-KXABOMEV.f02387t9.js → classDiagram-v2-KXABOMEV.9yfjtevj.js} +1 -1
  9. package/dist/chunks/{cose-bilkent-JH36ORCC.azq9k24r.js → cose-bilkent-JH36ORCC.qam7r9b1.js} +1 -1
  10. package/dist/chunks/cynefin-EF2NZ3EQ.wgr8qmb2.js +1 -0
  11. package/dist/chunks/{cynefinDiagram-NJNITYFG.zt7gprt1.js → cynefinDiagram-NJNITYFG.k6mhek0s.js} +1 -1
  12. package/dist/chunks/{dagre-KIHZ2IZ3.702bqbr9.js → dagre-KIHZ2IZ3.sqeg911s.js} +1 -1
  13. package/dist/chunks/{diagram-7YQZDPLS.m7vf21j6.js → diagram-7YQZDPLS.k1qvmctj.js} +1 -1
  14. package/dist/chunks/{diagram-QBROCOUO.33e5hv7x.js → diagram-QBROCOUO.v7fe7e4g.js} +1 -1
  15. package/dist/chunks/{diagram-RJJCUUZO.94k74bz7.js → diagram-RJJCUUZO.12s15pm6.js} +1 -1
  16. package/dist/chunks/{diagram-WERXNKYE.7fe849z6.js → diagram-WERXNKYE.tmrcv4we.js} +1 -1
  17. package/dist/chunks/{diagram-YHHI257C.qjjjfq7w.js → diagram-YHHI257C.7735ve6v.js} +1 -1
  18. package/dist/chunks/{diagram-YR4HJLHV.310x2we2.js → diagram-YR4HJLHV.nytxr7pa.js} +1 -1
  19. package/dist/chunks/{ebnfDiagram-N527522P.a4crteq1.js → ebnfDiagram-N527522P.6eqw92nv.js} +1 -1
  20. package/dist/chunks/{editor-shortcuts-dialog-B0ppoiza.x3p4h07t.js → editor-shortcuts-dialog-VmvMTjnq.mm7ab69f.js} +1 -1
  21. package/dist/chunks/editor.wb4jsrjy.js +4 -0
  22. package/dist/chunks/{elk-O5DQBFGD.dx61etan.js → elk-O5DQBFGD.a5rqryhg.js} +1 -1
  23. package/dist/chunks/{emoji-picker-CbvQZ2ZL.nst616hd.js → emoji-picker-bnO0yA8e.bymgjc9a.js} +1 -1
  24. package/dist/chunks/{erDiagram-K3K3BIDK.qzqv67zm.js → erDiagram-K3K3BIDK.exfeddaa.js} +1 -1
  25. package/dist/chunks/eventmodeling-K75KTNOO.nkahp6zg.js +1 -0
  26. package/dist/chunks/{flow-diagram-AiM6FiIm.73jr19pb.js → flow-diagram-Byy7DBZZ.pf5vdbkn.js} +1 -1
  27. package/dist/chunks/flowDiagram-Z6JWZHQI.54yz6gfm.js +1 -0
  28. package/dist/chunks/{ganttDiagram-3PRQTZWP.xngzb32h.js → ganttDiagram-3PRQTZWP.0tjaeqjw.js} +1 -1
  29. package/dist/chunks/gitGraph-VSP46ZUC.2a0am491.js +1 -0
  30. package/dist/chunks/{gitGraphDiagram-VXDFKS5L.1sm36z2q.js → gitGraphDiagram-VXDFKS5L.6vvbj88t.js} +1 -1
  31. package/dist/chunks/{grid-E2QIVN74.76pgtn2n.js → grid-E2QIVN74.frpdy6t3.js} +1 -1
  32. package/dist/chunks/illustration-BfueshiW.syv54ccw.js +1 -0
  33. package/dist/chunks/{index.fbeztcp3.js → index.0kv7tp87.js} +1 -1
  34. package/dist/chunks/{index.r0p3fm9f.js → index.3pn4wy4j.js} +1 -1
  35. package/dist/chunks/{index.0e4s8r4m.js → index.7q6v461v.js} +1 -1
  36. package/dist/chunks/{index.hvdnkr5m.js → index.93zpfh3k.js} +1 -1
  37. package/dist/chunks/{index.32jxrb9b.js → index.bs3ygyp2.js} +1 -1
  38. package/dist/chunks/{index.7gxz6d1f.js → index.d8b8y928.js} +2 -2
  39. package/dist/chunks/{index.t34t6kpe.js → index.f6jhkm5c.js} +1 -1
  40. package/dist/chunks/{index.8f3x951p.js → index.kh3f3gw8.js} +1 -1
  41. package/dist/chunks/{index.zm5x44tn.js → index.mcyw2bze.js} +1 -1
  42. package/dist/chunks/{index.7k5v3p25.js → index.newjn1k4.js} +1 -1
  43. package/dist/chunks/{index.1d7qpsyx.js → index.nrd5w1x0.js} +1 -1
  44. package/dist/chunks/{index.9bf5qrah.js → index.pyz71tqx.js} +1 -1
  45. package/dist/chunks/index.rn0vxns6.js +44 -0
  46. package/dist/chunks/{index.0k4tbjhp.js → index.sv013f1z.js} +1 -1
  47. package/dist/chunks/{index.dnnzjw18.js → index.xrg5yg8d.js} +1 -1
  48. package/dist/chunks/{index.wrjdgn4c.js → index.yexf86bf.js} +1 -1
  49. package/dist/chunks/{index.a1bxkgd3.js → index.yfbwd99n.js} +2 -2
  50. package/dist/chunks/{index.rfyzb2yv.js → index.zjykrx6y.js} +1 -1
  51. package/dist/chunks/info-OHQRW6UA.4824y3cd.js +1 -0
  52. package/dist/chunks/{infoDiagram-EZ3ZOAHP.pfd0fjwn.js → infoDiagram-EZ3ZOAHP.qh2bwz3m.js} +1 -1
  53. package/dist/chunks/{ishikawaDiagram-S3EKX5GW.h5kjez1x.js → ishikawaDiagram-S3EKX5GW.w2v6vnwd.js} +1 -1
  54. package/dist/chunks/{journeyDiagram-POQNLL5X.55cqc9p0.js → journeyDiagram-POQNLL5X.ftkfdsrw.js} +1 -1
  55. package/dist/chunks/{kanban-definition-BH5XI6FM.pkdvda4y.js → kanban-definition-BH5XI6FM.9scqhcx5.js} +1 -1
  56. package/dist/chunks/{markup-color-chrome-ykGNUl8y.0ds56d6x.js → markup-color-chrome-ykGNUl8y.8cysjsfb.js} +1 -1
  57. package/dist/chunks/{markup-custom-color-Dgm2hHI7.7darvajx.js → markup-custom-color-CytmKw-R.d25j0pcj.js} +1 -1
  58. package/dist/chunks/{mention-list-CkAUzPBG.mtjgmmzb.js → mention-list-5h2lZwEU.wffam6eb.js} +1 -1
  59. package/dist/chunks/{mermaid.core.j7s05j63.js → mermaid.core.tnh468qk.js} +2 -2
  60. package/dist/chunks/{mindmap-definition-WVAN44T4.x3jbxvft.js → mindmap-definition-WVAN44T4.gskntx1f.js} +1 -1
  61. package/dist/chunks/packet-JDAUHWVQ.w0pv2dxr.js +1 -0
  62. package/dist/chunks/{panel.9tp7gr60.js → panel.dq8vt40k.js} +1 -1
  63. package/dist/chunks/{pegDiagram-D4NLKWP3.xq15gqy9.js → pegDiagram-D4NLKWP3.yb58dpky.js} +1 -1
  64. package/dist/chunks/pie-XZMESJXO.zq72f2fq.js +1 -0
  65. package/dist/chunks/{pieDiagram-36ENHN4W.8h0wam54.js → pieDiagram-36ENHN4W.7pgn8ayz.js} +1 -1
  66. package/dist/chunks/{plated-illustration-COZYWJ81.xy7ba5mq.js → plated-illustration-VrnsTz7H.tcyq0sxa.js} +1 -1
  67. package/dist/chunks/{quadrantDiagram-ZQUDMS73.k28g8jpn.js → quadrantDiagram-ZQUDMS73.1a721ces.js} +1 -1
  68. package/dist/chunks/radar-ABXABTNO.288gs0b8.js +1 -0
  69. package/dist/chunks/railroad-I3PHUGI6.aadrd13j.js +1 -0
  70. package/dist/chunks/railroad-abnf-LNEFI6M7.6btgmncj.js +1 -0
  71. package/dist/chunks/railroad-ebnf-DWYD2UWJ.y44ppt8p.js +1 -0
  72. package/dist/chunks/railroad-peg-JR7BVNR7.328jgxkz.js +1 -0
  73. package/dist/chunks/{railroadDiagram-JIZHGYPL.e7p2vqgg.js → railroadDiagram-JIZHGYPL.xpgkt1zp.js} +1 -1
  74. package/dist/chunks/{render-VIF2ZAQL.w5ytncsg.js → render-VIF2ZAQL.khtqjmgm.js} +1 -1
  75. package/dist/chunks/{requirementDiagram-AXW2TVFA.arekdz02.js → requirementDiagram-AXW2TVFA.ms6anxwg.js} +1 -1
  76. package/dist/chunks/{sankeyDiagram-FBCJTAIF.1d04xcmb.js → sankeyDiagram-FBCJTAIF.40yzed7d.js} +1 -1
  77. package/dist/chunks/{sequenceDiagram-3LA2ROMG.j4xywwp1.js → sequenceDiagram-3LA2ROMG.z0h3shw2.js} +1 -1
  78. package/dist/chunks/{sizeCapture-2Q2CQKSF.862bnf6p.js → sizeCapture-2Q2CQKSF.4dh5g271.js} +1 -1
  79. package/dist/chunks/{stateDiagram-v2-ATKHQDJO.xvvtr0y2.js → stateDiagram-v2-ATKHQDJO.5ftcgs8s.js} +1 -1
  80. package/dist/chunks/{swimlanes-YQL5WMAO.dtnjb4xt.js → swimlanes-YQL5WMAO.r6vmskrb.js} +1 -1
  81. package/dist/chunks/swimlanesDiagram-UCCPES4V.exhrz16x.js +8 -0
  82. package/dist/chunks/{timeline-definition-7Z437IG3.zfhqzc4r.js → timeline-definition-7Z437IG3.eke70hfq.js} +1 -1
  83. package/dist/chunks/treeView-D4JQ5SDB.xz61fh4x.js +1 -0
  84. package/dist/chunks/treemap-SAJKECNS.8gv7pmqr.js +1 -0
  85. package/dist/chunks/{usecaseDiagram-RDK6N6HP.ewxnyz4c.js → usecaseDiagram-RDK6N6HP.d8p4tnc6.js} +1 -1
  86. package/dist/chunks/{vennDiagram-SHRQU5PJ.wkzf1f00.js → vennDiagram-SHRQU5PJ.4s46abxd.js} +1 -1
  87. package/dist/chunks/wardley-7MLQ67FV.6v9j3be8.js +1 -0
  88. package/dist/chunks/{wardleyDiagram-F3OXNVQS.srjfm4nb.js → wardleyDiagram-F3OXNVQS.mq49fny4.js} +1 -1
  89. package/dist/chunks/{xychartDiagram-GDYJKCDI.xfa2vexk.js → xychartDiagram-GDYJKCDI.d7he0fxa.js} +1 -1
  90. package/dist/index.js +10 -10
  91. package/dist/react.js +74 -0
  92. package/dist/server.js +20 -0
  93. package/dist/types/react.d.ts +27 -0
  94. package/dist/types/server.d.ts +15 -0
  95. package/docs/integration.md +78 -11
  96. package/package.json +18 -3
  97. package/dist/chunks/architecture-WOLXFQ4H.aft3rkrr.js +0 -1
  98. package/dist/chunks/cynefin-EF2NZ3EQ.dk039jny.js +0 -1
  99. package/dist/chunks/editor.arg3zy29.js +0 -4
  100. package/dist/chunks/eventmodeling-K75KTNOO.gmm1bcak.js +0 -1
  101. package/dist/chunks/flowDiagram-Z6JWZHQI.fzwqg115.js +0 -1
  102. package/dist/chunks/gitGraph-VSP46ZUC.0m8jykgw.js +0 -1
  103. package/dist/chunks/illustration-BOW28wq5.bkz28k1x.js +0 -1
  104. package/dist/chunks/index.e35b4yh5.js +0 -44
  105. package/dist/chunks/info-OHQRW6UA.e0a85drn.js +0 -1
  106. package/dist/chunks/packet-JDAUHWVQ.52409p3r.js +0 -1
  107. package/dist/chunks/pie-XZMESJXO.q5kre8cx.js +0 -1
  108. package/dist/chunks/radar-ABXABTNO.yk872k2n.js +0 -1
  109. package/dist/chunks/railroad-I3PHUGI6.9wfa6vs3.js +0 -1
  110. package/dist/chunks/railroad-abnf-LNEFI6M7.70zznk3b.js +0 -1
  111. package/dist/chunks/railroad-ebnf-DWYD2UWJ.4pvdng0p.js +0 -1
  112. package/dist/chunks/railroad-peg-JR7BVNR7.ev15ebp6.js +0 -1
  113. package/dist/chunks/swimlanesDiagram-UCCPES4V.0q8kd5qn.js +0 -8
  114. package/dist/chunks/treeView-D4JQ5SDB.3fzswdjp.js +0 -1
  115. package/dist/chunks/treemap-SAJKECNS.cgh74bhn.js +0 -1
  116. package/dist/chunks/wardley-7MLQ67FV.6q5tgt0s.js +0 -1
@@ -1 +1 @@
1
- import{_,me,oe,Ha,H,w,r,xe,la,si,ca,Zr,Jr,Hs,Us,Ho,Ci,$l,Si,Uo,qo,ba}from"./index.e35b4yh5.js";var I=Symbol("glyphs");function x(e){let t=Math.trunc(e)*2654435761>>>0||1;return()=>{t=t+1831565813|0;let a=Math.imul(t^t>>>15,1|t);return a=a+Math.imul(a^a>>>7,61|a)^a,((a^a>>>14)>>>0)/4294967296}}var P={2:[[[40,42,30],[204,50,26]],[[206,48,32],[36,138,28]],[[44,48,28],[200,104,32]]],3:[[[40,42,30],[204,50,26],[202,138,28]],[[198,38,30],[40,76,26],[192,146,26]],[[44,148,28],[198,44,30],[208,142,24]],[[38,130,30],[122,22,24],[208,104,28]],[[202,36,28],[34,100,28],[122,154,22]],[[34,56,28],[208,60,28],[120,156,22]]],4:[[[40,42,30],[204,50,26],[202,138,28],[38,140,24]],[[36,44,26],[122,24,22],[206,64,26],[204,142,26]]]},C=[7,6,4.5,4],R=[[[88,26],[172,160],[214,96],[24,92]],[[170,24],[60,160],[26,100],[220,120]],[[30,26],[210,24],[150,162],[100,164]],[[120,170],[70,26],[222,74],[18,70]]],G=(e,t,a)=>`M${e} ${t-a}Q${e} ${t} ${e+a} ${t}Q${e} ${t} ${e} ${t+a}Q${e} ${t} ${e-a} ${t}Q${e} ${t} ${e} ${t-a}Z`;function D(e){let t=e.satellites??[];if(t.length>4)throw new xe("count",`${t.length} satellites: at most 4 are drawn.`);let a=e.sparkles??4;if(!(a>=0&&a<=4))throw new xe("count",`${a} sparkles: use 0 to 4.`);let n=e.layout??0;if(!(Number.isInteger(n)&&n>=0))throw new xe("count","The layout is a whole number, 0 or more.");let s=P[Math.min(4,Math.max(2,t.length))];return{sats:t,sparkles:a,places:s[(n>>2)%s.length],sparks:R[n&3]}}var Q=64,i=(e,t,a)=>a?{tag:e,attrs:t,children:a}:{tag:e,attrs:t};function U(e,t,a,n,s,o,{styles:c,rand:d,spriteBase:m,mapIcon:p,glyphs:l}){let u=typeof e==="string"?{name:e}:e;if(!ca(u.name))throw new xe("name",`${JSON.stringify(u.name)} is not an icon name: use lowercase words joined by dashes ("graduation-cap").`);let g=l&&Object.hasOwn(l,u.name)?l[u.name]:void 0;if(g){let v=n-o/2,S=s-o/2,{d:O,detail:M}=g,L=Math.round(o/Q*1000)/1000;return i("g",{id:t,class:a},[i("rect",{class:"ic-box",fill:"none",x:v,y:S,width:o,height:o}),i("g",{transform:`translate(${v} ${S}) scale(${L})`},[i("path",{d:M,fill:"currentColor","fill-opacity":0.4}),i("path",{d:O,fill:"currentColor"})])])}let y=c[c.length>1?Math.floor(d()*c.length):0],[b]=ba({family:u.family??y.family,type:u.type??y.type}),k={name:u.name,...b},h=n-o/2,f=s-o/2;return i("g",{id:t,class:a},[i("rect",{class:"ic-box",fill:"none",x:h,y:f,width:o,height:o}),i("use",{href:si(p?p(k):k,m),x:h,y:f,width:o,height:o})])}function q(e,t){let a=(typeof e==="string"?t?.(e):e?.d)??"M124 62A62 62 0 1 1 0 62A62 62 0 1 1 124 62Z";if(!/^[\d\sMLHVCSQTAZmlhvcsqtaz.,+eE-]*$/.test(a))throw new xe("name","A plate path holds path commands and numbers only.");return a}var E={empty:["cookie-9","primary",0,"box-open","inbox","folder-open"],"no-results":["soft-burst","secondary",0,"magnifying-glass","file-circle-question","sparkles"],"not-found":["flower","tertiary",0,"compass","map","location-dot","ghost"],error:["gem","error",0,"triangle-exclamation","server","bug","gear"],offline:["clover-4","warning",0,"wifi-slash","cloud-slash","plug-circle-xmark"],success:["sunny","success",0,"circle-check","party-horn","trophy"],welcome:["squircle","primary",0,"hand-wave","rocket","lightbulb","star"],forbidden:["gem","error",2,"lock-keyhole","ban","shield-halved","key"],maintenance:["triangle","warning",20,"screwdriver-wrench","gear","helmet-safety","traffic-cone"],invitation:["flower","primary",17,"envelope-open-text","user-plus","paper-plane","handshake"],"sign-in":["squircle","tertiary",15,"door-open","key","user","lock"],"empty-inbox":["oval","secondary",4,"envelope-open","inbox","circle-check","bell"]},N=Object.keys(E);function Ro(e,{idPrefix:t,spriteBase:a=la,plates:n,mapIcon:s}){if(!/^[A-Za-z][\w-]*$/.test(t))throw new xe("name",`The id prefix ${JSON.stringify(t)} is not safe: letters, digits, "_" and "-", a letter first.`);let{sats:o,sparkles:c,places:d,sparks:m}=D(e),p=ba(e.iconStyle),l=x(e.seed??0),u=(h)=>`${t}-${h}`,g=(h,f,v,S,O,M)=>U(h,u(f),v,S,O,M,{styles:p,rand:l,spriteBase:a,mapIcon:s,glyphs:e.glyphs}),y=B(u("plate"),q(e.plate,n)),b=o.flatMap((h,f)=>{let[v,S,O]=d[f];return[i("circle",{class:`ill-satbg ill-s${f}`,cx:v,cy:S,r:Math.round(O*78)/100}),g(h,`sat${f}`,`ill-sat ill-s${f}`,v,S,O)]}),k=g(e.hero,"hero","ill-hero",120,90,76);return i("svg",{id:u("root"),class:`ill ill-${e.tone??"primary"} ill-duo-${e.duotone??"opacity"}`,viewBox:"0 0 240 180",preserveAspectRatio:"xMidYMid meet","aria-hidden":"true",focusable:"false"},[...y,...b,k,...J(m,c)])}var B=(e,t)=>[i("g",{transform:"translate(58 28)"},[i("path",{id:e,class:"ill-plate",d:t})]),i("circle",{class:"ill-ring",cx:120,cy:90,r:74,fill:"none","stroke-dasharray":"2 5"})],J=(e,t)=>Array.from({length:t},(a,n)=>{let[s,o]=e[n];return i("path",{class:`ill-spark ill-k${n%2}`,d:G(s,o,C[n])})});function A(e,t={},a=E){if(!Object.hasOwn(a,e))throw new xe("name",`${JSON.stringify(e)} is not a scene of the table: use one of its ids.`);let[n,s,o,c,...d]=a[e],m=a[I];return{hero:c,satellites:d,plate:n,tone:s,layout:o,...m?{glyphs:m}:{},...t}}var Y=/^(aria|data)-/,Z=(e)=>e==="class"?"className":Y.test(e)?e:e.replace(/-([a-z])/g,(t,a)=>a.toUpperCase()),Mo=Ha(function e({node:t}){let a=Object.fromEntries(Object.entries(t.attrs).map(([n,s])=>[Z(n),s]));return oe(t.tag,a,...(t.children??[]).map((n,s)=>r(e,{node:n},s)))});function K(e,t,a){let n=Ho(),s=a??(V(e)?void 0:$l(n,e)),o=Hs(),c=Us(),d=`ill${H().replace(/[^\w-]/g,"-")}`,m=JSON.stringify([t,Ci(n,e),n?.iconStyle]);return{built:w(()=>{let p=Object.fromEntries(Object.entries(t).filter(([,l])=>l!==void 0));try{let l=A(e,{...n?.iconStyle===void 0?{}:{iconStyle:n.iconStyle},...Ci(n,e),...p},s);return{spec:l,flat:Ro(l,{idPrefix:d,spriteBase:o,...c==="free"?{mapIcon:Zr}:{}})}}catch(l){if(!(l instanceof xe))throw l;return F(`Illustration: ${l.message} Drawing the built-in art instead.`),null}},[e,s,m,d,o,c]),idPrefix:d,base:o,edition:c}}var j=new Set;function F(e){Jr()||j.has(e)||(j.add(e),console.warn(e))}var V=(e)=>N.includes(e);function T({kind:e}){return r(Si,{kind:e,"data-fallback":"",className:"h-full w-full"})}var X=Uo("plated-illustration",async()=>(await (_("xy7ba5mq"),import("./plated-illustration-COZYWJ81.xy7ba5mq.js"))).default,T);function yc({scene:e,scenes:t,size:a="md",title:n,animated:s,monochrome:o,hero:c,satellites:d,iconStyle:m,tone:p,duotone:l,className:u,...g}){let y=qo[e]??"empty",{built:b,idPrefix:k,base:h,edition:f}=K(e,{hero:c,satellites:d,iconStyle:m,tone:p,duotone:l},t);return r("div",{"data-slot":"illustration",...g,...n?{role:"img","aria-label":n}:{"aria-hidden":!0},"data-scene":e,"data-size":a,"data-animated":s?"":void 0,"data-monochrome":o?"":void 0,className:u,children:b?r(me,{fallback:r(Mo,{node:b.flat}),children:r(X,{spec:b.spec,idPrefix:k,base:h,edition:f,kind:y})}):r(T,{kind:y})})}export{Ro,Mo,yc};
1
+ import{_,me,oe,Ha,H,w,r,xe,la,si,ca,Zr,Jr,Hs,Us,Ho,Ci,$l,Si,Uo,qo,ba}from"./index.rn0vxns6.js";var I=Symbol("glyphs");function x(e){let t=Math.trunc(e)*2654435761>>>0||1;return()=>{t=t+1831565813|0;let a=Math.imul(t^t>>>15,1|t);return a=a+Math.imul(a^a>>>7,61|a)^a,((a^a>>>14)>>>0)/4294967296}}var P={2:[[[40,42,30],[204,50,26]],[[206,48,32],[36,138,28]],[[44,48,28],[200,104,32]]],3:[[[40,42,30],[204,50,26],[202,138,28]],[[198,38,30],[40,76,26],[192,146,26]],[[44,148,28],[198,44,30],[208,142,24]],[[38,130,30],[122,22,24],[208,104,28]],[[202,36,28],[34,100,28],[122,154,22]],[[34,56,28],[208,60,28],[120,156,22]]],4:[[[40,42,30],[204,50,26],[202,138,28],[38,140,24]],[[36,44,26],[122,24,22],[206,64,26],[204,142,26]]]},C=[7,6,4.5,4],R=[[[88,26],[172,160],[214,96],[24,92]],[[170,24],[60,160],[26,100],[220,120]],[[30,26],[210,24],[150,162],[100,164]],[[120,170],[70,26],[222,74],[18,70]]],G=(e,t,a)=>`M${e} ${t-a}Q${e} ${t} ${e+a} ${t}Q${e} ${t} ${e} ${t+a}Q${e} ${t} ${e-a} ${t}Q${e} ${t} ${e} ${t-a}Z`;function D(e){let t=e.satellites??[];if(t.length>4)throw new xe("count",`${t.length} satellites: at most 4 are drawn.`);let a=e.sparkles??4;if(!(a>=0&&a<=4))throw new xe("count",`${a} sparkles: use 0 to 4.`);let n=e.layout??0;if(!(Number.isInteger(n)&&n>=0))throw new xe("count","The layout is a whole number, 0 or more.");let s=P[Math.min(4,Math.max(2,t.length))];return{sats:t,sparkles:a,places:s[(n>>2)%s.length],sparks:R[n&3]}}var Q=64,i=(e,t,a)=>a?{tag:e,attrs:t,children:a}:{tag:e,attrs:t};function U(e,t,a,n,s,o,{styles:c,rand:d,spriteBase:m,mapIcon:p,glyphs:l}){let u=typeof e==="string"?{name:e}:e;if(!ca(u.name))throw new xe("name",`${JSON.stringify(u.name)} is not an icon name: use lowercase words joined by dashes ("graduation-cap").`);let g=l&&Object.hasOwn(l,u.name)?l[u.name]:void 0;if(g){let v=n-o/2,S=s-o/2,{d:O,detail:M}=g,L=Math.round(o/Q*1000)/1000;return i("g",{id:t,class:a},[i("rect",{class:"ic-box",fill:"none",x:v,y:S,width:o,height:o}),i("g",{transform:`translate(${v} ${S}) scale(${L})`},[i("path",{d:M,fill:"currentColor","fill-opacity":0.4}),i("path",{d:O,fill:"currentColor"})])])}let y=c[c.length>1?Math.floor(d()*c.length):0],[b]=ba({family:u.family??y.family,type:u.type??y.type}),k={name:u.name,...b},h=n-o/2,f=s-o/2;return i("g",{id:t,class:a},[i("rect",{class:"ic-box",fill:"none",x:h,y:f,width:o,height:o}),i("use",{href:si(p?p(k):k,m),x:h,y:f,width:o,height:o})])}function q(e,t){let a=(typeof e==="string"?t?.(e):e?.d)??"M124 62A62 62 0 1 1 0 62A62 62 0 1 1 124 62Z";if(!/^[\d\sMLHVCSQTAZmlhvcsqtaz.,+eE-]*$/.test(a))throw new xe("name","A plate path holds path commands and numbers only.");return a}var E={empty:["cookie-9","primary",0,"box-open","inbox","folder-open"],"no-results":["soft-burst","secondary",0,"magnifying-glass","file-circle-question","sparkles"],"not-found":["flower","tertiary",0,"compass","map","location-dot","ghost"],error:["gem","error",0,"triangle-exclamation","server","bug","gear"],offline:["clover-4","warning",0,"wifi-slash","cloud-slash","plug-circle-xmark"],success:["sunny","success",0,"circle-check","party-horn","trophy"],welcome:["squircle","primary",0,"hand-wave","rocket","lightbulb","star"],forbidden:["gem","error",2,"lock-keyhole","ban","shield-halved","key"],maintenance:["triangle","warning",20,"screwdriver-wrench","gear","helmet-safety","traffic-cone"],invitation:["flower","primary",17,"envelope-open-text","user-plus","paper-plane","handshake"],"sign-in":["squircle","tertiary",15,"door-open","key","user","lock"],"empty-inbox":["oval","secondary",4,"envelope-open","inbox","circle-check","bell"]},N=Object.keys(E);function Ro(e,{idPrefix:t,spriteBase:a=la,plates:n,mapIcon:s}){if(!/^[A-Za-z][\w-]*$/.test(t))throw new xe("name",`The id prefix ${JSON.stringify(t)} is not safe: letters, digits, "_" and "-", a letter first.`);let{sats:o,sparkles:c,places:d,sparks:m}=D(e),p=ba(e.iconStyle),l=x(e.seed??0),u=(h)=>`${t}-${h}`,g=(h,f,v,S,O,M)=>U(h,u(f),v,S,O,M,{styles:p,rand:l,spriteBase:a,mapIcon:s,glyphs:e.glyphs}),y=B(u("plate"),q(e.plate,n)),b=o.flatMap((h,f)=>{let[v,S,O]=d[f];return[i("circle",{class:`ill-satbg ill-s${f}`,cx:v,cy:S,r:Math.round(O*78)/100}),g(h,`sat${f}`,`ill-sat ill-s${f}`,v,S,O)]}),k=g(e.hero,"hero","ill-hero",120,90,76);return i("svg",{id:u("root"),class:`ill ill-${e.tone??"primary"} ill-duo-${e.duotone??"opacity"}`,viewBox:"0 0 240 180",preserveAspectRatio:"xMidYMid meet","aria-hidden":"true",focusable:"false"},[...y,...b,k,...J(m,c)])}var B=(e,t)=>[i("g",{transform:"translate(58 28)"},[i("path",{id:e,class:"ill-plate",d:t})]),i("circle",{class:"ill-ring",cx:120,cy:90,r:74,fill:"none","stroke-dasharray":"2 5"})],J=(e,t)=>Array.from({length:t},(a,n)=>{let[s,o]=e[n];return i("path",{class:`ill-spark ill-k${n%2}`,d:G(s,o,C[n])})});function A(e,t={},a=E){if(!Object.hasOwn(a,e))throw new xe("name",`${JSON.stringify(e)} is not a scene of the table: use one of its ids.`);let[n,s,o,c,...d]=a[e],m=a[I];return{hero:c,satellites:d,plate:n,tone:s,layout:o,...m?{glyphs:m}:{},...t}}var Y=/^(aria|data)-/,Z=(e)=>e==="class"?"className":Y.test(e)?e:e.replace(/-([a-z])/g,(t,a)=>a.toUpperCase()),Mo=Ha(function e({node:t}){let a=Object.fromEntries(Object.entries(t.attrs).map(([n,s])=>[Z(n),s]));return oe(t.tag,a,...(t.children??[]).map((n,s)=>r(e,{node:n},s)))});function K(e,t,a){let n=Ho(),s=a??(V(e)?void 0:$l(n,e)),o=Hs(),c=Us(),d=`ill${H().replace(/[^\w-]/g,"-")}`,m=JSON.stringify([t,Ci(n,e),n?.iconStyle]);return{built:w(()=>{let p=Object.fromEntries(Object.entries(t).filter(([,l])=>l!==void 0));try{let l=A(e,{...n?.iconStyle===void 0?{}:{iconStyle:n.iconStyle},...Ci(n,e),...p},s);return{spec:l,flat:Ro(l,{idPrefix:d,spriteBase:o,...c==="free"?{mapIcon:Zr}:{}})}}catch(l){if(!(l instanceof xe))throw l;return F(`Illustration: ${l.message} Drawing the built-in art instead.`),null}},[e,s,m,d,o,c]),idPrefix:d,base:o,edition:c}}var j=new Set;function F(e){Jr()||j.has(e)||(j.add(e),console.warn(e))}var V=(e)=>N.includes(e);function T({kind:e}){return r(Si,{kind:e,"data-fallback":"",className:"h-full w-full"})}var X=Uo("plated-illustration",async()=>(await (_("tcyq0sxa"),import("./plated-illustration-VrnsTz7H.tcyq0sxa.js"))).default,T);function yc({scene:e,scenes:t,size:a="md",title:n,animated:s,monochrome:o,hero:c,satellites:d,iconStyle:m,tone:p,duotone:l,className:u,...g}){let y=qo[e]??"empty",{built:b,idPrefix:k,base:h,edition:f}=K(e,{hero:c,satellites:d,iconStyle:m,tone:p,duotone:l},t);return r("div",{"data-slot":"illustration",...g,...n?{role:"img","aria-label":n}:{"aria-hidden":!0},"data-scene":e,"data-size":a,"data-animated":s?"":void 0,"data-monochrome":o?"":void 0,className:u,children:b?r(me,{fallback:r(Mo,{node:b.flat}),children:r(X,{spec:b.spec,idPrefix:k,base:h,edition:f,kind:y})}):r(T,{kind:y})})}export{Ro,Mo,yc};
@@ -1,4 +1,4 @@
1
- import{e}from"./index.a1bxkgd3.js";var Xe=e(()=>`
1
+ import{e}from"./index.yfbwd99n.js";var Xe=e(()=>`
2
2
  /* Font Awesome icon styling - consolidated */
3
3
  .label-icon {
4
4
  display: inline-block;
@@ -1,2 +1,2 @@
1
- import{sa}from"./index.e35b4yh5.js";var X={};sa(X,{default:()=>Dt});var J={};sa(J,{default:()=>sr});var Mr=typeof global=="object"&&global&&global.Object===Object&&global,H=Mr;var Nr=typeof self=="object"&&self&&self.Object===Object&&self,Dr=H||Nr||Function("return this")(),Le=Dr;var Rr=Le.Symbol,Ge=Rr;var Pt=Object.prototype,{hasOwnProperty:Fr,toString:Br}=Pt,G=Ge?Ge.toStringTag:void 0;function Wr(t){var e=Fr.call(t,G),r=t[G];try{t[G]=void 0;var o=!0}catch(f){}var a=Br.call(t);if(o)if(e)t[G]=r;else delete t[G];return a}var Ct=Wr;var Kr=Object.prototype,kr=Kr.toString;function Yr(t){return kr.call(t)}var Et=Yr;var Xr="[object Null]",Zr="[object Undefined]",It=Ge?Ge.toStringTag:void 0;function Jr(t){if(t==null)return t===void 0?Zr:Xr;return It&&It in Object(t)?Ct(t):Et(t)}var st=Jr;function Qr(t){return t!=null&&typeof t=="object"}var Oe=Qr;var to="[object Symbol]";function eo(t){return typeof t=="symbol"||Oe(t)&&st(t)==to}var vt=eo;function ro(t,e){var r=-1,o=t==null?0:t.length,a=Array(o);while(++r<o)a[r]=e(t[r],r,t);return a}var ir=ro;var oo=Array.isArray,te=oo;var ao=1/0,Lt=Ge?Ge.prototype:void 0,jt=Lt?Lt.toString:void 0;function Mt(t){if(typeof t=="string")return t;if(te(t))return ir(t,Mt)+"";if(vt(t))return jt?jt.call(t):"";var e=t+"";return e=="0"&&1/t==-ao?"-0":e}var Nt=Mt;function fo(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Te=fo;function io(t){return t}var pt=io;var no="[object AsyncFunction]",so="[object Function]",po="[object GeneratorFunction]",uo="[object Proxy]";function mo(t){if(!Te(t))return!1;var e=st(t);return e==so||e==po||e==no||e==uo}var or=mo;var lo=Le["__core-js_shared__"],q=lo;var Rt=function(){var t=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function xo(t){return!!Rt&&Rt in t}var Ft=xo;var ho=Function.prototype,co=ho.toString;function go(t){if(t!=null){try{return co.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var y=go;var yo=/[\\^$.*+?()[\]{}|]/g,_o=/^\[object .+?Constructor\]$/,bo=Function.prototype,vo=Object.prototype,Oo=bo.toString,Ao=vo.hasOwnProperty,To=RegExp("^"+Oo.call(Ao).replace(yo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function wo(t){if(!Te(t)||Ft(t))return!1;var e=or(t)?To:_o;return e.test(y(t))}var Bt=wo;function So(t,e){return t==null?void 0:t[e]}var Gt=So;function Po(t,e){var r=Gt(t,e);return Bt(r)?r:void 0}var x=Po;var Co=x(Le,"WeakMap"),k=Co;function Eo(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var Ut=Eo;function Io(){}var zt=Io;var Lo=800,jo=16,Mo=Date.now;function No(t){var e=0,r=0;return function(){var o=Mo(),a=jo-(o-r);if(r=o,a>0){if(++e>=Lo)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Wt=No;function Do(t){return function(){return t}}var mt=Do;var Ro=function(){try{var t=x(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),Hn=Ro;var Fo=!Hn?pt:function(t,e){return Hn(t,"toString",{configurable:!0,enumerable:!1,value:mt(e),writable:!0})},Kt=Fo;var Bo=Wt(Kt),Di=Bo;function Go(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t)===!1)break;return t}var Pi=Go;function Uo(t,e,r,o){var a=t.length,f=r+(o?1:-1);while(o?f--:++f<a)if(e(t[f],f,t))return f;return-1}var Bi=Uo;function zo(t){return t!==t}var Ht=zo;function Wo(t,e,r){var o=r-1,a=t.length;while(++o<a)if(t[o]===e)return o;return-1}var qt=Wo;function Ko(t,e,r){return e===e?qt(t,e,r):Bi(t,Ht,r)}var $t=Ko;function Ho(t,e){var r=t==null?0:t.length;return!!r&&$t(t,e,0)>-1}var kt=Ho;var qo=9007199254740991,$o=/^(?:0|[1-9]\d*)$/;function ko(t,e){var r=typeof t;return e=e==null?qo:e,!!e&&(r=="number"||r!="symbol"&&$o.test(t))&&(t>-1&&t%1==0&&t<e)}var $r=ko;function Yo(t,e){return t===e||t!==t&&e!==e}var Ot=Yo;var Xt=Math.max;function Xo(t,e,r){return e=Xt(e===void 0?t.length-1:e,0),function(){var o=arguments,a=-1,f=Xt(o.length-e,0),i=Array(f);while(++a<f)i[a]=o[e+a];a=-1;var n=Array(e+1);while(++a<e)n[a]=o[a];return n[e]=r(i),Ut(t,this,n)}}var Fi=Xo;function Zo(t,e){return Di(Fi(t,e,pt),t+"")}var zr=Zo;var Jo=9007199254740991;function Qo(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Jo}var j=Qo;function Vo(t){return t!=null&&j(t.length)&&!or(t)}var Ve=Vo;var ta=Object.prototype;function ea(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||ta;return t===r}var Hr=ea;function ra(t,e){var r=-1,o=Array(t);while(++r<t)o[r]=e(r);return o}var Zt=ra;var oa="[object Arguments]";function aa(t){return Oe(t)&&st(t)==oa}var ct=aa;var Jt=Object.prototype,{hasOwnProperty:fa,propertyIsEnumerable:ia}=Jt,na=ct(function(){return arguments}())?ct:function(t){return Oe(t)&&fa.call(t,"callee")&&!ia.call(t,"callee")},Yt=na;function pa(){return!1}var Qt=pa;var re=typeof X=="object"&&X&&!X.nodeType&&X,Vt=re&&typeof Y=="object"&&Y&&!Y.nodeType&&Y,ua=Vt&&Vt.exports===re,ee=ua?Le.Buffer:void 0,ma=ee?ee.isBuffer:void 0,la=ma||Qt,Dt=la;var da="[object Arguments]",xa="[object Array]",ha="[object Boolean]",ca="[object Date]",ga="[object Error]",ya="[object Function]",_a="[object Map]",ba="[object Number]",va="[object Object]",Oa="[object RegExp]",Aa="[object Set]",wa="[object String]",Sa="[object WeakMap]",Pa="[object ArrayBuffer]",Ca="[object DataView]",Ea="[object Float32Array]",Ia="[object Float64Array]",La="[object Int8Array]",ja="[object Int16Array]",Ma="[object Int32Array]",Na="[object Uint8Array]",Da="[object Uint8ClampedArray]",Ra="[object Uint16Array]",Fa="[object Uint32Array]",u={};u[Ea]=u[Ia]=u[La]=u[ja]=u[Ma]=u[Na]=u[Da]=u[Ra]=u[Fa]=!0;u[da]=u[xa]=u[Pa]=u[ha]=u[Ca]=u[ca]=u[ga]=u[ya]=u[_a]=u[ba]=u[va]=u[Oa]=u[Aa]=u[wa]=u[Sa]=!1;function Ba(t){return Oe(t)&&j(t.length)&&!!u[st(t)]}var oe=Ba;function Ga(t){return function(e){return t(e)}}var Ur=Ga;var ae=typeof J=="object"&&J&&!J.nodeType&&J,U=ae&&typeof Z=="object"&&Z&&!Z.nodeType&&Z,Ua=U&&U.exports===ae,gt=Ua&&H.process,za=function(){try{var t=U&&U.require&&U.require("util").types;if(t)return t;return gt&&gt.binding&&gt.binding("util")}catch(e){}}(),sr=za;var fe=sr&&sr.isTypedArray,Wa=fe?Ur(fe):oe,qr=Wa;var Ka=Object.prototype,Ha=Ka.hasOwnProperty;function qa(t,e){var r=te(t),o=!r&&Yt(t),a=!r&&!o&&Dt(t),f=!r&&!o&&!a&&qr(t),i=r||o||a||f,n=i?Zt(t.length,String):[],s=n.length;for(var p in t)if((e||Ha.call(t,p))&&!(i&&(p=="length"||a&&(p=="offset"||p=="parent")||f&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||$r(p,s))))n.push(p);return n}var $i=qa;function $a(t,e){return function(r){return t(e(r))}}var zi=$a;var ka=zi(Object.keys,Object),ie=ka;var Ya=Object.prototype,Xa=Ya.hasOwnProperty;function Za(t){if(!Hr(t))return ie(t);var e=[];for(var r in Object(t))if(Xa.call(t,r)&&r!="constructor")e.push(r);return e}var Un=Za;function Ja(t){return Ve(t)?$i(t):Un(t)}var Ie=Ja;var Qa=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Va=/^\w*$/;function tf(t,e){if(te(t))return!1;var r=typeof t;if(r=="number"||r=="symbol"||r=="boolean"||t==null||vt(t))return!0;return Va.test(t)||!Qa.test(t)||e!=null&&t in Object(e)}var M=tf;var ef=x(Object,"create"),_=ef;function rf(){this.__data__=_?_(null):{},this.size=0}var ne=rf;function of(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var se=of;var af="__lodash_hash_undefined__",ff=Object.prototype,nf=ff.hasOwnProperty;function sf(t){var e=this.__data__;if(_){var r=e[t];return r===af?void 0:r}return nf.call(e,t)?e[t]:void 0}var pe=sf;var pf=Object.prototype,uf=pf.hasOwnProperty;function mf(t){var e=this.__data__;return _?e[t]!==void 0:uf.call(e,t)}var me=mf;var lf="__lodash_hash_undefined__";function df(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=_&&e===void 0?lf:e,this}var le=df;function N(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}N.prototype.clear=ne;N.prototype.delete=se;N.prototype.get=pe;N.prototype.has=me;N.prototype.set=le;var _t=N;function xf(){this.__data__=[],this.size=0}var de=xf;function hf(t,e){var r=t.length;while(r--)if(Ot(t[r][0],e))return r;return-1}var O=hf;var cf=Array.prototype,gf=cf.splice;function yf(t){var e=this.__data__,r=O(e,t);if(r<0)return!1;var o=e.length-1;if(r==o)e.pop();else gf.call(e,r,1);return--this.size,!0}var xe=yf;function _f(t){var e=this.__data__,r=O(e,t);return r<0?void 0:e[r][1]}var he=_f;function bf(t){return O(this.__data__,t)>-1}var ce=bf;function vf(t,e){var r=this.__data__,o=O(r,t);if(o<0)++this.size,r.push([t,e]);else r[o][1]=e;return this}var ge=vf;function D(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}D.prototype.clear=de;D.prototype.delete=xe;D.prototype.get=he;D.prototype.has=ce;D.prototype.set=ge;var A=D;var Of=x(Le,"Map"),T=Of;function Af(){this.size=0,this.__data__={hash:new _t,map:new(T||A),string:new _t}}var ye=Af;function Tf(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var _e=Tf;function wf(t,e){var r=t.__data__;return _e(e)?r[typeof e=="string"?"string":"hash"]:r.map}var w=wf;function Sf(t){var e=w(this,t).delete(t);return this.size-=e?1:0,e}var be=Sf;function Pf(t){return w(this,t).get(t)}var ve=Pf;function Cf(t){return w(this,t).has(t)}var Ae=Cf;function Ef(t,e){var r=w(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}var we=Ef;function R(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}R.prototype.clear=ye;R.prototype.delete=be;R.prototype.get=ve;R.prototype.has=Ae;R.prototype.set=we;var E=R;var If="Expected a function";function bt(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw TypeError(If);var r=function(){var o=arguments,a=e?e.apply(this,o):o[0],f=r.cache;if(f.has(a))return f.get(a);var i=t.apply(this,o);return r.cache=f.set(a,i)||f,i};return r.cache=new(bt.Cache||E),r}bt.Cache=E;var Se=bt;var Lf=500;function jf(t){var e=Se(t,function(o){if(r.size===Lf)r.clear();return o}),r=e.cache;return e}var Pe=jf;var Mf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Nf=/\\(\\)?/g,Df=Pe(function(t){var e=[];if(t.charCodeAt(0)===46)e.push("");return t.replace(Mf,function(r,o,a,f){e.push(a?f.replace(Nf,"$1"):o||r)}),e}),Ce=Df;function Rf(t){return t==null?"":Nt(t)}var Hi=Rf;function Ff(t,e){if(te(t))return t;return M(t,e)?[t]:Ce(Hi(t))}var jr=Ff;var Bf=1/0;function Gf(t){if(typeof t=="string"||vt(t))return t;var e=t+"";return e=="0"&&1/t==-Bf?"-0":e}var lr=Gf;function Uf(t,e){e=jr(e,t);var r=0,o=e.length;while(t!=null&&r<o)t=t[lr(e[r++])];return r&&r==o?t:void 0}var Gr=Uf;function zf(t,e,r){var o=t==null?void 0:Gr(t,e);return o===void 0?r:o}var Ee=zf;function Wf(t,e){var r=-1,o=e.length,a=t.length;while(++r<o)t[a+r]=e[r];return t}var qn=Wf;var je=Ge?Ge.isConcatSpreadable:void 0;function Kf(t){return te(t)||Yt(t)||!!(je&&t&&t[je])}var Me=Kf;function Ne(t,e,r,o,a){var f=-1,i=t.length;r||(r=Me),a||(a=[]);while(++f<i){var n=t[f];if(e>0&&r(n))if(e>1)Ne(n,e-1,r,o,a);else qn(a,n);else if(!o)a[a.length]=n}return a}var jn=Ne;function Hf(t,e,r,o){var a=-1,f=t==null?0:t.length;if(o&&f)r=t[++a];while(++a<f)r=e(r,t[a],a,t);return r}var De=Hf;function qf(){this.__data__=new A,this.size=0}var Fe=qf;function $f(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var Be=$f;function kf(t){return this.__data__.get(t)}var Ue=kf;function Yf(t){return this.__data__.has(t)}var ze=Yf;var Xf=200;function Zf(t,e){var r=this.__data__;if(r instanceof A){var o=r.__data__;if(!T||o.length<Xf-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new E(o)}return r.set(t,e),this.size=r.size,this}var We=Zf;function F(t){var e=this.__data__=new A(t);this.size=e.size}F.prototype.clear=Fe;F.prototype.delete=Be;F.prototype.get=Ue;F.prototype.has=ze;F.prototype.set=We;var cr=F;function Jf(t,e){var r=-1,o=t==null?0:t.length,a=0,f=[];while(++r<o){var i=t[r];if(e(i,r,t))f[a++]=i}return f}var Q=Jf;function Qf(){return[]}var Ui=Qf;var Vf=Object.prototype,ti=Vf.propertyIsEnumerable,Ke=Object.getOwnPropertySymbols,ei=!Ke?Ui:function(t){if(t==null)return[];return t=Object(t),Q(Ke(t),function(e){return ti.call(t,e)})},Gn=ei;function ri(t,e,r){var o=e(t);return te(t)?o:qn(o,r(t))}var qi=ri;function oi(t){return qi(t,Ie,Gn)}var Ta=oi;var ai=x(Le,"DataView"),V=ai;var fi=x(Le,"Promise"),tt=fi;var ii=x(Le,"Set"),S=ii;var He="[object Map]",ni="[object Object]",qe="[object Promise]",$e="[object Set]",ke="[object WeakMap]",Ye="[object DataView]",si=y(V),pi=y(T),ui=y(tt),mi=y(S),li=y(k),I=st;if(V&&I(new V(new ArrayBuffer(1)))!=Ye||T&&I(new T)!=He||tt&&I(tt.resolve())!=qe||S&&I(new S)!=$e||k&&I(new k)!=ke)I=function(t){var e=st(t),r=e==ni?t.constructor:void 0,o=r?y(r):"";if(o)switch(o){case si:return Ye;case pi:return He;case ui:return qe;case mi:return $e;case li:return ke}return e};var yt=I;var di=Le.Uint8Array,Vn=di;var xi="__lodash_hash_undefined__";function hi(t){return this.__data__.set(t,xi),this}var Xe=hi;function ci(t){return this.__data__.has(t)}var Ze=ci;function rt(t){var e=-1,r=t==null?0:t.length;this.__data__=new E;while(++e<r)this.add(t[e])}rt.prototype.add=rt.prototype.push=Xe;rt.prototype.has=Ze;var ot=rt;function gi(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t))return!0;return!1}var Je=gi;function yi(t,e){return t.has(e)}var at=yi;var _i=1,bi=2;function vi(t,e,r,o,a,f){var i=r&_i,n=t.length,s=e.length;if(n!=s&&!(i&&s>n))return!1;var p=f.get(t),d=f.get(e);if(p&&d)return p==e&&d==t;var l=-1,m=!0,g=r&bi?new ot:void 0;f.set(t,e),f.set(e,t);while(++l<n){var h=t[l],c=e[l];if(o)var v=i?o(c,h,l,e,t,f):o(h,c,l,t,e,f);if(v!==void 0){if(v)continue;m=!1;break}if(g){if(!Je(e,function(P,C){if(!at(g,C)&&(h===P||a(h,P,r,o,f)))return g.push(C)})){m=!1;break}}else if(!(h===c||a(h,c,r,o,f))){m=!1;break}}return f.delete(t),f.delete(e),m}var ft=vi;function Oi(t){var e=-1,r=Array(t.size);return t.forEach(function(o,a){r[++e]=[a,o]}),r}var Qe=Oi;function Ai(t){var e=-1,r=Array(t.size);return t.forEach(function(o){r[++e]=o}),r}var B=Ai;var Ti=1,wi=2,Si="[object Boolean]",Ci="[object Date]",Ei="[object Error]",Ii="[object Map]",Li="[object Number]",Mi="[object RegExp]",Ni="[object Set]",Ri="[object String]",Ki="[object Symbol]",ki="[object ArrayBuffer]",Yi="[object DataView]",tr=Ge?Ge.prototype:void 0,At=tr?tr.valueOf:void 0;function Xi(t,e,r,o,a,f,i){switch(r){case Yi:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ki:if(t.byteLength!=e.byteLength||!f(new Vn(t),new Vn(e)))return!1;return!0;case Si:case Ci:case Li:return Ot(+t,+e);case Ei:return t.name==e.name&&t.message==e.message;case Mi:case Ri:return t==e+"";case Ii:var n=Qe;case Ni:var s=o&Ti;if(n||(n=B),t.size!=e.size&&!s)return!1;var p=i.get(t);if(p)return p==e;o|=wi,i.set(t,e);var d=ft(n(t),n(e),o,a,f,i);return i.delete(t),d;case Ki:if(At)return At.call(t)==At.call(e)}return!1}var er=Xi;var Zi=1,Ji=Object.prototype,Qi=Ji.hasOwnProperty;function tn(t,e,r,o,a,f){var i=r&Zi,n=Ta(t),s=n.length,p=Ta(e),d=p.length;if(s!=d&&!i)return!1;var l=s;while(l--){var m=n[l];if(!(i?m in e:Qi.call(e,m)))return!1}var g=f.get(t),h=f.get(e);if(g&&h)return g==e&&h==t;var c=!0;f.set(t,e),f.set(e,t);var v=i;while(++l<s){m=n[l];var P=t[m],C=e[m];if(o)var St=i?o(C,P,m,e,t,f):o(P,C,m,t,e,f);if(!(St===void 0?P===C||a(P,C,r,o,f):St)){c=!1;break}v||(v=m=="constructor")}if(c&&!v){var W=t.constructor,K=e.constructor;if(W!=K&&(("constructor"in t)&&("constructor"in e))&&!(typeof W=="function"&&W instanceof W&&typeof K=="function"&&K instanceof K))c=!1}return f.delete(t),f.delete(e),c}var rr=tn;var en=1,ar="[object Arguments]",fr="[object Array]",it="[object Object]",rn=Object.prototype,nr=rn.hasOwnProperty;function on(t,e,r,o,a,f){var i=te(t),n=te(e),s=i?fr:yt(t),p=n?fr:yt(e);s=s==ar?it:s,p=p==ar?it:p;var d=s==it,l=p==it,m=s==p;if(m&&Dt(t)){if(!Dt(e))return!1;i=!0,d=!1}if(m&&!d)return f||(f=new cr),i||qr(t)?ft(t,e,r,o,a,f):er(t,e,s,r,o,a,f);if(!(r&en)){var g=d&&nr.call(t,"__wrapped__"),h=l&&nr.call(e,"__wrapped__");if(g||h){var c=g?t.value():t,v=h?e.value():e;return f||(f=new cr),a(c,v,r,o,f)}}if(!m)return!1;return f||(f=new cr),rr(t,e,r,o,a,f)}var pr=on;function mr(t,e,r,o,a){if(t===e)return!0;if(t==null||e==null||!Oe(t)&&!Oe(e))return t!==t&&e!==e;return pr(t,e,r,o,mr,a)}var nt=mr;var an=1,fn=2;function nn(t,e,r,o){var a=r.length,f=a,i=!o;if(t==null)return!f;t=Object(t);while(a--){var n=r[a];if(i&&n[2]?n[1]!==t[n[0]]:!(n[0]in t))return!1}while(++a<f){n=r[a];var s=n[0],p=t[s],d=n[1];if(i&&n[2]){if(p===void 0&&!(s in t))return!1}else{var l=new cr;if(o)var m=o(p,d,s,t,e,l);if(!(m===void 0?nt(d,p,an|fn,o,l):m))return!1}}return!0}var dr=nn;function sn(t){return t===t&&!Te(t)}var ut=sn;function pn(t){var e=Ie(t),r=e.length;while(r--){var o=e[r],a=t[o];e[r]=[o,a,ut(a)]}return e}var xr=pn;function un(t,e){return function(r){if(r==null)return!1;return r[t]===e&&(e!==void 0||(t in Object(r)))}}var dt=un;function mn(t){var e=xr(t);if(e.length==1&&e[0][2])return dt(e[0][0],e[0][1]);return function(r){return r===t||dr(r,t,e)}}var hr=mn;function ln(t,e){return t!=null&&e in Object(t)}var gr=ln;function dn(t,e,r){e=jr(e,t);var o=-1,a=e.length,f=!1;while(++o<a){var i=lr(e[o]);if(!(f=t!=null&&r(t,i)))break;t=t[i]}if(f||++o!=a)return f;return a=t==null?0:t.length,!!a&&j(a)&&$r(i,a)&&(te(t)||Yt(t))}var ji=dn;function xn(t,e){return t!=null&&ji(t,e,gr)}var Gi=xn;var hn=1,cn=2;function gn(t,e){if(M(t)&&ut(e))return dt(lr(t),e);return function(r){var o=Ee(r,t);return o===void 0&&o===e?Gi(r,t):nt(e,o,hn|cn)}}var yr=gn;function yn(t){return function(e){return e==null?void 0:e[t]}}var Vi=yn;function _n(t){return function(e){return Gr(e,t)}}var _r=_n;function bn(t){return M(t)?Vi(lr(t)):_r(t)}var br=bn;function vn(t){if(typeof t=="function")return t;if(t==null)return pt;if(typeof t=="object")return te(t)?yr(t[0],t[1]):hr(t);return br(t)}var et=vn;function On(t){return function(e,r,o){var a=-1,f=Object(e),i=o(e),n=i.length;while(n--){var s=i[t?n:++a];if(r(f[s],s,f)===!1)break}return e}}var vr=On;var An=vr(),Wn=An;function Tn(t,e){return t&&Wn(t,e,Ie)}var Kn=Tn;function wn(t,e){return function(r,o){if(r==null)return r;if(!Ve(r))return t(r,o);var a=r.length,f=e?a:-1,i=Object(r);while(e?f--:++f<a)if(o(i[f],f,i)===!1)break;return r}}var Or=wn;var Sn=Or(Kn),Vr=Sn;function Pn(t){return Oe(t)&&Ve(t)}var Wi=Pn;function Cn(t,e,r){var o=-1,a=t==null?0:t.length;while(++o<a)if(r(e,t[o]))return!0;return!1}var Ar=Cn;function En(t){return typeof t=="function"?t:pt}var Yn=En;function In(t,e){var r=te(t)?Pi:Vr;return r(t,Yn(e))}var b=In;function Ln(t,e){var r=[];return Vr(t,function(o,a,f){if(e(o,a,f))r.push(o)}),r}var Tr=Ln;function Mn(t,e){var r=te(t)?Q:Tr;return r(t,et(e,3))}var lt=Mn;function Nn(t,e){return ir(e,function(r){return t[r]})}var wr=Nn;function Dn(t){return t==null?[]:wr(t,Ie(t))}var xt=Dn;var Rn="[object Map]",Fn="[object Set]",Bn=Object.prototype,zn=Bn.hasOwnProperty;function $n(t){if(t==null)return!0;if(Ve(t)&&(te(t)||typeof t=="string"||typeof t.splice=="function"||Dt(t)||qr(t)||Yt(t)))return!t.length;var e=yt(t);if(e==Rn||e==Fn)return!t.size;if(Hr(t))return!Un(t).length;for(var r in t)if(zn.call(t,r))return!1;return!0}var ht=$n;function kn(t){return t===void 0}var Re=kn;function Xn(t,e,r,o,a){return a(t,function(f,i,n){r=o?(o=!1,f):e(r,f,i,n)}),r}var Sr=Xn;function Zn(t,e,r){var o=te(t)?De:Sr,a=arguments.length<3;return o(t,et(e,4),r,a,Vr)}var ur=Zn;var Jn=1/0,Qn=!(S&&1/B(new S([,-0]))[1]==Jn)?zt:function(t){return new S(t)},Pr=Qn;var ts=200;function es(t,e,r){var o=-1,a=kt,f=t.length,i=!0,n=[],s=n;if(r)i=!1,a=Ar;else if(f>=ts){var p=e?null:Pr(t);if(p)return B(p);i=!1,a=at,s=new ot}else s=e?[]:n;t:while(++o<f){var d=t[o],l=e?e(d):d;if(d=r||d!==0?d:0,i&&l===l){var m=s.length;while(m--)if(s[m]===l)continue t;if(e)s.push(l);n.push(d)}else if(!a(s,l,r)){if(s!==n)s.push(l);n.push(d)}}return n}var Cr=es;var rs=zr(function(t){return Cr(jn(t,1,Wi,!0))}),Tt=rs;var as="\x00",L="\x00",Er="\x01";class ue{constructor(t={}){if(this._isDirected=Object.prototype.hasOwnProperty.call(t,"directed")?t.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(t,"multigraph")?t.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(t,"compound")?t.compound:!1,this._label=void 0,this._defaultNodeLabelFn=mt(void 0),this._defaultEdgeLabelFn=mt(void 0),this._nodes={},this._isCompound)this._parent={},this._children={},this._children[L]={};this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){if(!or(t))t=mt(t);return this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return Ie(this._nodes)}sources(){var t=this;return lt(this.nodes(),function(e){return ht(t._in[e])})}sinks(){var t=this;return lt(this.nodes(),function(e){return ht(t._out[e])})}setNodes(t,e){var r=arguments,o=this;return b(t,function(a){if(r.length>1)o.setNode(a,e);else o.setNode(a)}),this}setNode(t,e){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){if(arguments.length>1)this._nodes[t]=e;return this}if(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound)this._parent[t]=L,this._children[t]={},this._children[L][t]=!0;return this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=(r)=>this.removeEdge(this._edgeObjs[r]);if(delete this._nodes[t],this._isCompound)this._removeFromParentsChildList(t),delete this._parent[t],b(this.children(t),(r)=>{this.setParent(r)}),delete this._children[t];b(Ie(this._in[t]),e),delete this._in[t],delete this._preds[t],b(Ie(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(Re(e))e=L;else{e+="";for(var r=e;!Re(r);r=this.parent(r))if(r===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==L)return e}}children(t){if(Re(t))t=L;if(this._isCompound){var e=this._children[t];if(e)return Ie(e)}else if(t===L)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return Ie(e)}successors(t){var e=this._sucs[t];if(e)return Ie(e)}neighbors(t){var e=this.predecessors(t);if(e)return Tt(e,this.successors(t))}isLeaf(t){var e;if(this.isDirected())e=this.successors(t);else e=this.neighbors(t);return e.length===0}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;b(this._nodes,function(f,i){if(t(i))e.setNode(i,f)}),b(this._edgeObjs,function(f){if(e.hasNode(f.v)&&e.hasNode(f.w))e.setEdge(f,r.edge(f))});var o={};function a(f){var i=r.parent(f);if(i===void 0||e.hasNode(i))return o[f]=i,i;else if(i in o)return o[i];else return a(i)}if(this._isCompound)b(e.nodes(),function(f){e.setParent(f,a(f))});return e}setDefaultEdgeLabel(t){if(!or(t))t=mt(t);return this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return xt(this._edgeObjs)}setPath(t,e){var r=this,o=arguments;return ur(t,function(a,f){if(o.length>1)r.setEdge(a,f,e);else r.setEdge(a,f);return f}),this}setEdge(){var t,e,r,o,a=!1,f=arguments[0];if(typeof f==="object"&&f!==null&&"v"in f){if(t=f.v,e=f.w,r=f.name,arguments.length===2)o=arguments[1],a=!0}else if(t=f,e=arguments[1],r=arguments[3],arguments.length>2)o=arguments[2],a=!0;if(t=""+t,e=""+e,!Re(r))r=""+r;var i=z(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,i)){if(a)this._edgeLabels[i]=o;return this}if(!Re(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[i]=a?o:this._defaultEdgeLabelFn(t,e,r);var n=fs(this._isDirected,t,e,r);return t=n.v,e=n.w,Object.freeze(n),this._edgeObjs[i]=n,Ir(this._preds[e],t),Ir(this._sucs[t],e),this._in[e][i]=n,this._out[t][i]=n,this._edgeCount++,this}edge(t,e,r){var o=arguments.length===1?wt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return this._edgeLabels[o]}hasEdge(t,e,r){var o=arguments.length===1?wt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,o)}removeEdge(t,e,r){var o=arguments.length===1?wt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r),a=this._edgeObjs[o];if(a)t=a.v,e=a.w,delete this._edgeLabels[o],delete this._edgeObjs[o],Lr(this._preds[e],t),Lr(this._sucs[t],e),delete this._in[e][o],delete this._out[t][o],this._edgeCount--;return this}inEdges(t,e){var r=this._in[t];if(r){var o=xt(r);if(!e)return o;return lt(o,function(a){return a.v===e})}}outEdges(t,e){var r=this._out[t];if(r){var o=xt(r);if(!e)return o;return lt(o,function(a){return a.w===e})}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}ue.prototype._nodeCount=0;ue.prototype._edgeCount=0;function Ir(t,e){if(t[e])t[e]++;else t[e]=1}function Lr(t,e){if(!--t[e])delete t[e]}function z(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}return a+Er+f+Er+(Re(o)?as:o)}function fs(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}var n={v:a,w:f};if(o)n.name=o;return n}function wt(t,e){return z(t,e.v,e.w,e.name)}
1
+ import{sa}from"./index.rn0vxns6.js";var X={};sa(X,{default:()=>Dt});var J={};sa(J,{default:()=>sr});var Mr=typeof global=="object"&&global&&global.Object===Object&&global,H=Mr;var Nr=typeof self=="object"&&self&&self.Object===Object&&self,Dr=H||Nr||Function("return this")(),Le=Dr;var Rr=Le.Symbol,Ge=Rr;var Pt=Object.prototype,{hasOwnProperty:Fr,toString:Br}=Pt,G=Ge?Ge.toStringTag:void 0;function Wr(t){var e=Fr.call(t,G),r=t[G];try{t[G]=void 0;var o=!0}catch(f){}var a=Br.call(t);if(o)if(e)t[G]=r;else delete t[G];return a}var Ct=Wr;var Kr=Object.prototype,kr=Kr.toString;function Yr(t){return kr.call(t)}var Et=Yr;var Xr="[object Null]",Zr="[object Undefined]",It=Ge?Ge.toStringTag:void 0;function Jr(t){if(t==null)return t===void 0?Zr:Xr;return It&&It in Object(t)?Ct(t):Et(t)}var st=Jr;function Qr(t){return t!=null&&typeof t=="object"}var Oe=Qr;var to="[object Symbol]";function eo(t){return typeof t=="symbol"||Oe(t)&&st(t)==to}var vt=eo;function ro(t,e){var r=-1,o=t==null?0:t.length,a=Array(o);while(++r<o)a[r]=e(t[r],r,t);return a}var ir=ro;var oo=Array.isArray,te=oo;var ao=1/0,Lt=Ge?Ge.prototype:void 0,jt=Lt?Lt.toString:void 0;function Mt(t){if(typeof t=="string")return t;if(te(t))return ir(t,Mt)+"";if(vt(t))return jt?jt.call(t):"";var e=t+"";return e=="0"&&1/t==-ao?"-0":e}var Nt=Mt;function fo(t){var e=typeof t;return t!=null&&(e=="object"||e=="function")}var Te=fo;function io(t){return t}var pt=io;var no="[object AsyncFunction]",so="[object Function]",po="[object GeneratorFunction]",uo="[object Proxy]";function mo(t){if(!Te(t))return!1;var e=st(t);return e==so||e==po||e==no||e==uo}var or=mo;var lo=Le["__core-js_shared__"],q=lo;var Rt=function(){var t=/[^.]+$/.exec(q&&q.keys&&q.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function xo(t){return!!Rt&&Rt in t}var Ft=xo;var ho=Function.prototype,co=ho.toString;function go(t){if(t!=null){try{return co.call(t)}catch(e){}try{return t+""}catch(e){}}return""}var y=go;var yo=/[\\^$.*+?()[\]{}|]/g,_o=/^\[object .+?Constructor\]$/,bo=Function.prototype,vo=Object.prototype,Oo=bo.toString,Ao=vo.hasOwnProperty,To=RegExp("^"+Oo.call(Ao).replace(yo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function wo(t){if(!Te(t)||Ft(t))return!1;var e=or(t)?To:_o;return e.test(y(t))}var Bt=wo;function So(t,e){return t==null?void 0:t[e]}var Gt=So;function Po(t,e){var r=Gt(t,e);return Bt(r)?r:void 0}var x=Po;var Co=x(Le,"WeakMap"),k=Co;function Eo(t,e,r){switch(r.length){case 0:return t.call(e);case 1:return t.call(e,r[0]);case 2:return t.call(e,r[0],r[1]);case 3:return t.call(e,r[0],r[1],r[2])}return t.apply(e,r)}var Ut=Eo;function Io(){}var zt=Io;var Lo=800,jo=16,Mo=Date.now;function No(t){var e=0,r=0;return function(){var o=Mo(),a=jo-(o-r);if(r=o,a>0){if(++e>=Lo)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}var Wt=No;function Do(t){return function(){return t}}var mt=Do;var Ro=function(){try{var t=x(Object,"defineProperty");return t({},"",{}),t}catch(e){}}(),Hn=Ro;var Fo=!Hn?pt:function(t,e){return Hn(t,"toString",{configurable:!0,enumerable:!1,value:mt(e),writable:!0})},Kt=Fo;var Bo=Wt(Kt),Di=Bo;function Go(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t)===!1)break;return t}var Pi=Go;function Uo(t,e,r,o){var a=t.length,f=r+(o?1:-1);while(o?f--:++f<a)if(e(t[f],f,t))return f;return-1}var Bi=Uo;function zo(t){return t!==t}var Ht=zo;function Wo(t,e,r){var o=r-1,a=t.length;while(++o<a)if(t[o]===e)return o;return-1}var qt=Wo;function Ko(t,e,r){return e===e?qt(t,e,r):Bi(t,Ht,r)}var $t=Ko;function Ho(t,e){var r=t==null?0:t.length;return!!r&&$t(t,e,0)>-1}var kt=Ho;var qo=9007199254740991,$o=/^(?:0|[1-9]\d*)$/;function ko(t,e){var r=typeof t;return e=e==null?qo:e,!!e&&(r=="number"||r!="symbol"&&$o.test(t))&&(t>-1&&t%1==0&&t<e)}var $r=ko;function Yo(t,e){return t===e||t!==t&&e!==e}var Ot=Yo;var Xt=Math.max;function Xo(t,e,r){return e=Xt(e===void 0?t.length-1:e,0),function(){var o=arguments,a=-1,f=Xt(o.length-e,0),i=Array(f);while(++a<f)i[a]=o[e+a];a=-1;var n=Array(e+1);while(++a<e)n[a]=o[a];return n[e]=r(i),Ut(t,this,n)}}var Fi=Xo;function Zo(t,e){return Di(Fi(t,e,pt),t+"")}var zr=Zo;var Jo=9007199254740991;function Qo(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=Jo}var j=Qo;function Vo(t){return t!=null&&j(t.length)&&!or(t)}var Ve=Vo;var ta=Object.prototype;function ea(t){var e=t&&t.constructor,r=typeof e=="function"&&e.prototype||ta;return t===r}var Hr=ea;function ra(t,e){var r=-1,o=Array(t);while(++r<t)o[r]=e(r);return o}var Zt=ra;var oa="[object Arguments]";function aa(t){return Oe(t)&&st(t)==oa}var ct=aa;var Jt=Object.prototype,{hasOwnProperty:fa,propertyIsEnumerable:ia}=Jt,na=ct(function(){return arguments}())?ct:function(t){return Oe(t)&&fa.call(t,"callee")&&!ia.call(t,"callee")},Yt=na;function pa(){return!1}var Qt=pa;var re=typeof X=="object"&&X&&!X.nodeType&&X,Vt=re&&typeof Y=="object"&&Y&&!Y.nodeType&&Y,ua=Vt&&Vt.exports===re,ee=ua?Le.Buffer:void 0,ma=ee?ee.isBuffer:void 0,la=ma||Qt,Dt=la;var da="[object Arguments]",xa="[object Array]",ha="[object Boolean]",ca="[object Date]",ga="[object Error]",ya="[object Function]",_a="[object Map]",ba="[object Number]",va="[object Object]",Oa="[object RegExp]",Aa="[object Set]",wa="[object String]",Sa="[object WeakMap]",Pa="[object ArrayBuffer]",Ca="[object DataView]",Ea="[object Float32Array]",Ia="[object Float64Array]",La="[object Int8Array]",ja="[object Int16Array]",Ma="[object Int32Array]",Na="[object Uint8Array]",Da="[object Uint8ClampedArray]",Ra="[object Uint16Array]",Fa="[object Uint32Array]",u={};u[Ea]=u[Ia]=u[La]=u[ja]=u[Ma]=u[Na]=u[Da]=u[Ra]=u[Fa]=!0;u[da]=u[xa]=u[Pa]=u[ha]=u[Ca]=u[ca]=u[ga]=u[ya]=u[_a]=u[ba]=u[va]=u[Oa]=u[Aa]=u[wa]=u[Sa]=!1;function Ba(t){return Oe(t)&&j(t.length)&&!!u[st(t)]}var oe=Ba;function Ga(t){return function(e){return t(e)}}var Ur=Ga;var ae=typeof J=="object"&&J&&!J.nodeType&&J,U=ae&&typeof Z=="object"&&Z&&!Z.nodeType&&Z,Ua=U&&U.exports===ae,gt=Ua&&H.process,za=function(){try{var t=U&&U.require&&U.require("util").types;if(t)return t;return gt&&gt.binding&&gt.binding("util")}catch(e){}}(),sr=za;var fe=sr&&sr.isTypedArray,Wa=fe?Ur(fe):oe,qr=Wa;var Ka=Object.prototype,Ha=Ka.hasOwnProperty;function qa(t,e){var r=te(t),o=!r&&Yt(t),a=!r&&!o&&Dt(t),f=!r&&!o&&!a&&qr(t),i=r||o||a||f,n=i?Zt(t.length,String):[],s=n.length;for(var p in t)if((e||Ha.call(t,p))&&!(i&&(p=="length"||a&&(p=="offset"||p=="parent")||f&&(p=="buffer"||p=="byteLength"||p=="byteOffset")||$r(p,s))))n.push(p);return n}var $i=qa;function $a(t,e){return function(r){return t(e(r))}}var zi=$a;var ka=zi(Object.keys,Object),ie=ka;var Ya=Object.prototype,Xa=Ya.hasOwnProperty;function Za(t){if(!Hr(t))return ie(t);var e=[];for(var r in Object(t))if(Xa.call(t,r)&&r!="constructor")e.push(r);return e}var Un=Za;function Ja(t){return Ve(t)?$i(t):Un(t)}var Ie=Ja;var Qa=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Va=/^\w*$/;function tf(t,e){if(te(t))return!1;var r=typeof t;if(r=="number"||r=="symbol"||r=="boolean"||t==null||vt(t))return!0;return Va.test(t)||!Qa.test(t)||e!=null&&t in Object(e)}var M=tf;var ef=x(Object,"create"),_=ef;function rf(){this.__data__=_?_(null):{},this.size=0}var ne=rf;function of(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var se=of;var af="__lodash_hash_undefined__",ff=Object.prototype,nf=ff.hasOwnProperty;function sf(t){var e=this.__data__;if(_){var r=e[t];return r===af?void 0:r}return nf.call(e,t)?e[t]:void 0}var pe=sf;var pf=Object.prototype,uf=pf.hasOwnProperty;function mf(t){var e=this.__data__;return _?e[t]!==void 0:uf.call(e,t)}var me=mf;var lf="__lodash_hash_undefined__";function df(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=_&&e===void 0?lf:e,this}var le=df;function N(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}N.prototype.clear=ne;N.prototype.delete=se;N.prototype.get=pe;N.prototype.has=me;N.prototype.set=le;var _t=N;function xf(){this.__data__=[],this.size=0}var de=xf;function hf(t,e){var r=t.length;while(r--)if(Ot(t[r][0],e))return r;return-1}var O=hf;var cf=Array.prototype,gf=cf.splice;function yf(t){var e=this.__data__,r=O(e,t);if(r<0)return!1;var o=e.length-1;if(r==o)e.pop();else gf.call(e,r,1);return--this.size,!0}var xe=yf;function _f(t){var e=this.__data__,r=O(e,t);return r<0?void 0:e[r][1]}var he=_f;function bf(t){return O(this.__data__,t)>-1}var ce=bf;function vf(t,e){var r=this.__data__,o=O(r,t);if(o<0)++this.size,r.push([t,e]);else r[o][1]=e;return this}var ge=vf;function D(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}D.prototype.clear=de;D.prototype.delete=xe;D.prototype.get=he;D.prototype.has=ce;D.prototype.set=ge;var A=D;var Of=x(Le,"Map"),T=Of;function Af(){this.size=0,this.__data__={hash:new _t,map:new(T||A),string:new _t}}var ye=Af;function Tf(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}var _e=Tf;function wf(t,e){var r=t.__data__;return _e(e)?r[typeof e=="string"?"string":"hash"]:r.map}var w=wf;function Sf(t){var e=w(this,t).delete(t);return this.size-=e?1:0,e}var be=Sf;function Pf(t){return w(this,t).get(t)}var ve=Pf;function Cf(t){return w(this,t).has(t)}var Ae=Cf;function Ef(t,e){var r=w(this,t),o=r.size;return r.set(t,e),this.size+=r.size==o?0:1,this}var we=Ef;function R(t){var e=-1,r=t==null?0:t.length;this.clear();while(++e<r){var o=t[e];this.set(o[0],o[1])}}R.prototype.clear=ye;R.prototype.delete=be;R.prototype.get=ve;R.prototype.has=Ae;R.prototype.set=we;var E=R;var If="Expected a function";function bt(t,e){if(typeof t!="function"||e!=null&&typeof e!="function")throw TypeError(If);var r=function(){var o=arguments,a=e?e.apply(this,o):o[0],f=r.cache;if(f.has(a))return f.get(a);var i=t.apply(this,o);return r.cache=f.set(a,i)||f,i};return r.cache=new(bt.Cache||E),r}bt.Cache=E;var Se=bt;var Lf=500;function jf(t){var e=Se(t,function(o){if(r.size===Lf)r.clear();return o}),r=e.cache;return e}var Pe=jf;var Mf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Nf=/\\(\\)?/g,Df=Pe(function(t){var e=[];if(t.charCodeAt(0)===46)e.push("");return t.replace(Mf,function(r,o,a,f){e.push(a?f.replace(Nf,"$1"):o||r)}),e}),Ce=Df;function Rf(t){return t==null?"":Nt(t)}var Hi=Rf;function Ff(t,e){if(te(t))return t;return M(t,e)?[t]:Ce(Hi(t))}var jr=Ff;var Bf=1/0;function Gf(t){if(typeof t=="string"||vt(t))return t;var e=t+"";return e=="0"&&1/t==-Bf?"-0":e}var lr=Gf;function Uf(t,e){e=jr(e,t);var r=0,o=e.length;while(t!=null&&r<o)t=t[lr(e[r++])];return r&&r==o?t:void 0}var Gr=Uf;function zf(t,e,r){var o=t==null?void 0:Gr(t,e);return o===void 0?r:o}var Ee=zf;function Wf(t,e){var r=-1,o=e.length,a=t.length;while(++r<o)t[a+r]=e[r];return t}var qn=Wf;var je=Ge?Ge.isConcatSpreadable:void 0;function Kf(t){return te(t)||Yt(t)||!!(je&&t&&t[je])}var Me=Kf;function Ne(t,e,r,o,a){var f=-1,i=t.length;r||(r=Me),a||(a=[]);while(++f<i){var n=t[f];if(e>0&&r(n))if(e>1)Ne(n,e-1,r,o,a);else qn(a,n);else if(!o)a[a.length]=n}return a}var jn=Ne;function Hf(t,e,r,o){var a=-1,f=t==null?0:t.length;if(o&&f)r=t[++a];while(++a<f)r=e(r,t[a],a,t);return r}var De=Hf;function qf(){this.__data__=new A,this.size=0}var Fe=qf;function $f(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}var Be=$f;function kf(t){return this.__data__.get(t)}var Ue=kf;function Yf(t){return this.__data__.has(t)}var ze=Yf;var Xf=200;function Zf(t,e){var r=this.__data__;if(r instanceof A){var o=r.__data__;if(!T||o.length<Xf-1)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new E(o)}return r.set(t,e),this.size=r.size,this}var We=Zf;function F(t){var e=this.__data__=new A(t);this.size=e.size}F.prototype.clear=Fe;F.prototype.delete=Be;F.prototype.get=Ue;F.prototype.has=ze;F.prototype.set=We;var cr=F;function Jf(t,e){var r=-1,o=t==null?0:t.length,a=0,f=[];while(++r<o){var i=t[r];if(e(i,r,t))f[a++]=i}return f}var Q=Jf;function Qf(){return[]}var Ui=Qf;var Vf=Object.prototype,ti=Vf.propertyIsEnumerable,Ke=Object.getOwnPropertySymbols,ei=!Ke?Ui:function(t){if(t==null)return[];return t=Object(t),Q(Ke(t),function(e){return ti.call(t,e)})},Gn=ei;function ri(t,e,r){var o=e(t);return te(t)?o:qn(o,r(t))}var qi=ri;function oi(t){return qi(t,Ie,Gn)}var Ta=oi;var ai=x(Le,"DataView"),V=ai;var fi=x(Le,"Promise"),tt=fi;var ii=x(Le,"Set"),S=ii;var He="[object Map]",ni="[object Object]",qe="[object Promise]",$e="[object Set]",ke="[object WeakMap]",Ye="[object DataView]",si=y(V),pi=y(T),ui=y(tt),mi=y(S),li=y(k),I=st;if(V&&I(new V(new ArrayBuffer(1)))!=Ye||T&&I(new T)!=He||tt&&I(tt.resolve())!=qe||S&&I(new S)!=$e||k&&I(new k)!=ke)I=function(t){var e=st(t),r=e==ni?t.constructor:void 0,o=r?y(r):"";if(o)switch(o){case si:return Ye;case pi:return He;case ui:return qe;case mi:return $e;case li:return ke}return e};var yt=I;var di=Le.Uint8Array,Vn=di;var xi="__lodash_hash_undefined__";function hi(t){return this.__data__.set(t,xi),this}var Xe=hi;function ci(t){return this.__data__.has(t)}var Ze=ci;function rt(t){var e=-1,r=t==null?0:t.length;this.__data__=new E;while(++e<r)this.add(t[e])}rt.prototype.add=rt.prototype.push=Xe;rt.prototype.has=Ze;var ot=rt;function gi(t,e){var r=-1,o=t==null?0:t.length;while(++r<o)if(e(t[r],r,t))return!0;return!1}var Je=gi;function yi(t,e){return t.has(e)}var at=yi;var _i=1,bi=2;function vi(t,e,r,o,a,f){var i=r&_i,n=t.length,s=e.length;if(n!=s&&!(i&&s>n))return!1;var p=f.get(t),d=f.get(e);if(p&&d)return p==e&&d==t;var l=-1,m=!0,g=r&bi?new ot:void 0;f.set(t,e),f.set(e,t);while(++l<n){var h=t[l],c=e[l];if(o)var v=i?o(c,h,l,e,t,f):o(h,c,l,t,e,f);if(v!==void 0){if(v)continue;m=!1;break}if(g){if(!Je(e,function(P,C){if(!at(g,C)&&(h===P||a(h,P,r,o,f)))return g.push(C)})){m=!1;break}}else if(!(h===c||a(h,c,r,o,f))){m=!1;break}}return f.delete(t),f.delete(e),m}var ft=vi;function Oi(t){var e=-1,r=Array(t.size);return t.forEach(function(o,a){r[++e]=[a,o]}),r}var Qe=Oi;function Ai(t){var e=-1,r=Array(t.size);return t.forEach(function(o){r[++e]=o}),r}var B=Ai;var Ti=1,wi=2,Si="[object Boolean]",Ci="[object Date]",Ei="[object Error]",Ii="[object Map]",Li="[object Number]",Mi="[object RegExp]",Ni="[object Set]",Ri="[object String]",Ki="[object Symbol]",ki="[object ArrayBuffer]",Yi="[object DataView]",tr=Ge?Ge.prototype:void 0,At=tr?tr.valueOf:void 0;function Xi(t,e,r,o,a,f,i){switch(r){case Yi:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case ki:if(t.byteLength!=e.byteLength||!f(new Vn(t),new Vn(e)))return!1;return!0;case Si:case Ci:case Li:return Ot(+t,+e);case Ei:return t.name==e.name&&t.message==e.message;case Mi:case Ri:return t==e+"";case Ii:var n=Qe;case Ni:var s=o&Ti;if(n||(n=B),t.size!=e.size&&!s)return!1;var p=i.get(t);if(p)return p==e;o|=wi,i.set(t,e);var d=ft(n(t),n(e),o,a,f,i);return i.delete(t),d;case Ki:if(At)return At.call(t)==At.call(e)}return!1}var er=Xi;var Zi=1,Ji=Object.prototype,Qi=Ji.hasOwnProperty;function tn(t,e,r,o,a,f){var i=r&Zi,n=Ta(t),s=n.length,p=Ta(e),d=p.length;if(s!=d&&!i)return!1;var l=s;while(l--){var m=n[l];if(!(i?m in e:Qi.call(e,m)))return!1}var g=f.get(t),h=f.get(e);if(g&&h)return g==e&&h==t;var c=!0;f.set(t,e),f.set(e,t);var v=i;while(++l<s){m=n[l];var P=t[m],C=e[m];if(o)var St=i?o(C,P,m,e,t,f):o(P,C,m,t,e,f);if(!(St===void 0?P===C||a(P,C,r,o,f):St)){c=!1;break}v||(v=m=="constructor")}if(c&&!v){var W=t.constructor,K=e.constructor;if(W!=K&&(("constructor"in t)&&("constructor"in e))&&!(typeof W=="function"&&W instanceof W&&typeof K=="function"&&K instanceof K))c=!1}return f.delete(t),f.delete(e),c}var rr=tn;var en=1,ar="[object Arguments]",fr="[object Array]",it="[object Object]",rn=Object.prototype,nr=rn.hasOwnProperty;function on(t,e,r,o,a,f){var i=te(t),n=te(e),s=i?fr:yt(t),p=n?fr:yt(e);s=s==ar?it:s,p=p==ar?it:p;var d=s==it,l=p==it,m=s==p;if(m&&Dt(t)){if(!Dt(e))return!1;i=!0,d=!1}if(m&&!d)return f||(f=new cr),i||qr(t)?ft(t,e,r,o,a,f):er(t,e,s,r,o,a,f);if(!(r&en)){var g=d&&nr.call(t,"__wrapped__"),h=l&&nr.call(e,"__wrapped__");if(g||h){var c=g?t.value():t,v=h?e.value():e;return f||(f=new cr),a(c,v,r,o,f)}}if(!m)return!1;return f||(f=new cr),rr(t,e,r,o,a,f)}var pr=on;function mr(t,e,r,o,a){if(t===e)return!0;if(t==null||e==null||!Oe(t)&&!Oe(e))return t!==t&&e!==e;return pr(t,e,r,o,mr,a)}var nt=mr;var an=1,fn=2;function nn(t,e,r,o){var a=r.length,f=a,i=!o;if(t==null)return!f;t=Object(t);while(a--){var n=r[a];if(i&&n[2]?n[1]!==t[n[0]]:!(n[0]in t))return!1}while(++a<f){n=r[a];var s=n[0],p=t[s],d=n[1];if(i&&n[2]){if(p===void 0&&!(s in t))return!1}else{var l=new cr;if(o)var m=o(p,d,s,t,e,l);if(!(m===void 0?nt(d,p,an|fn,o,l):m))return!1}}return!0}var dr=nn;function sn(t){return t===t&&!Te(t)}var ut=sn;function pn(t){var e=Ie(t),r=e.length;while(r--){var o=e[r],a=t[o];e[r]=[o,a,ut(a)]}return e}var xr=pn;function un(t,e){return function(r){if(r==null)return!1;return r[t]===e&&(e!==void 0||(t in Object(r)))}}var dt=un;function mn(t){var e=xr(t);if(e.length==1&&e[0][2])return dt(e[0][0],e[0][1]);return function(r){return r===t||dr(r,t,e)}}var hr=mn;function ln(t,e){return t!=null&&e in Object(t)}var gr=ln;function dn(t,e,r){e=jr(e,t);var o=-1,a=e.length,f=!1;while(++o<a){var i=lr(e[o]);if(!(f=t!=null&&r(t,i)))break;t=t[i]}if(f||++o!=a)return f;return a=t==null?0:t.length,!!a&&j(a)&&$r(i,a)&&(te(t)||Yt(t))}var ji=dn;function xn(t,e){return t!=null&&ji(t,e,gr)}var Gi=xn;var hn=1,cn=2;function gn(t,e){if(M(t)&&ut(e))return dt(lr(t),e);return function(r){var o=Ee(r,t);return o===void 0&&o===e?Gi(r,t):nt(e,o,hn|cn)}}var yr=gn;function yn(t){return function(e){return e==null?void 0:e[t]}}var Vi=yn;function _n(t){return function(e){return Gr(e,t)}}var _r=_n;function bn(t){return M(t)?Vi(lr(t)):_r(t)}var br=bn;function vn(t){if(typeof t=="function")return t;if(t==null)return pt;if(typeof t=="object")return te(t)?yr(t[0],t[1]):hr(t);return br(t)}var et=vn;function On(t){return function(e,r,o){var a=-1,f=Object(e),i=o(e),n=i.length;while(n--){var s=i[t?n:++a];if(r(f[s],s,f)===!1)break}return e}}var vr=On;var An=vr(),Wn=An;function Tn(t,e){return t&&Wn(t,e,Ie)}var Kn=Tn;function wn(t,e){return function(r,o){if(r==null)return r;if(!Ve(r))return t(r,o);var a=r.length,f=e?a:-1,i=Object(r);while(e?f--:++f<a)if(o(i[f],f,i)===!1)break;return r}}var Or=wn;var Sn=Or(Kn),Vr=Sn;function Pn(t){return Oe(t)&&Ve(t)}var Wi=Pn;function Cn(t,e,r){var o=-1,a=t==null?0:t.length;while(++o<a)if(r(e,t[o]))return!0;return!1}var Ar=Cn;function En(t){return typeof t=="function"?t:pt}var Yn=En;function In(t,e){var r=te(t)?Pi:Vr;return r(t,Yn(e))}var b=In;function Ln(t,e){var r=[];return Vr(t,function(o,a,f){if(e(o,a,f))r.push(o)}),r}var Tr=Ln;function Mn(t,e){var r=te(t)?Q:Tr;return r(t,et(e,3))}var lt=Mn;function Nn(t,e){return ir(e,function(r){return t[r]})}var wr=Nn;function Dn(t){return t==null?[]:wr(t,Ie(t))}var xt=Dn;var Rn="[object Map]",Fn="[object Set]",Bn=Object.prototype,zn=Bn.hasOwnProperty;function $n(t){if(t==null)return!0;if(Ve(t)&&(te(t)||typeof t=="string"||typeof t.splice=="function"||Dt(t)||qr(t)||Yt(t)))return!t.length;var e=yt(t);if(e==Rn||e==Fn)return!t.size;if(Hr(t))return!Un(t).length;for(var r in t)if(zn.call(t,r))return!1;return!0}var ht=$n;function kn(t){return t===void 0}var Re=kn;function Xn(t,e,r,o,a){return a(t,function(f,i,n){r=o?(o=!1,f):e(r,f,i,n)}),r}var Sr=Xn;function Zn(t,e,r){var o=te(t)?De:Sr,a=arguments.length<3;return o(t,et(e,4),r,a,Vr)}var ur=Zn;var Jn=1/0,Qn=!(S&&1/B(new S([,-0]))[1]==Jn)?zt:function(t){return new S(t)},Pr=Qn;var ts=200;function es(t,e,r){var o=-1,a=kt,f=t.length,i=!0,n=[],s=n;if(r)i=!1,a=Ar;else if(f>=ts){var p=e?null:Pr(t);if(p)return B(p);i=!1,a=at,s=new ot}else s=e?[]:n;t:while(++o<f){var d=t[o],l=e?e(d):d;if(d=r||d!==0?d:0,i&&l===l){var m=s.length;while(m--)if(s[m]===l)continue t;if(e)s.push(l);n.push(d)}else if(!a(s,l,r)){if(s!==n)s.push(l);n.push(d)}}return n}var Cr=es;var rs=zr(function(t){return Cr(jn(t,1,Wi,!0))}),Tt=rs;var as="\x00",L="\x00",Er="\x01";class ue{constructor(t={}){if(this._isDirected=Object.prototype.hasOwnProperty.call(t,"directed")?t.directed:!0,this._isMultigraph=Object.prototype.hasOwnProperty.call(t,"multigraph")?t.multigraph:!1,this._isCompound=Object.prototype.hasOwnProperty.call(t,"compound")?t.compound:!1,this._label=void 0,this._defaultNodeLabelFn=mt(void 0),this._defaultEdgeLabelFn=mt(void 0),this._nodes={},this._isCompound)this._parent={},this._children={},this._children[L]={};this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){if(!or(t))t=mt(t);return this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return Ie(this._nodes)}sources(){var t=this;return lt(this.nodes(),function(e){return ht(t._in[e])})}sinks(){var t=this;return lt(this.nodes(),function(e){return ht(t._out[e])})}setNodes(t,e){var r=arguments,o=this;return b(t,function(a){if(r.length>1)o.setNode(a,e);else o.setNode(a)}),this}setNode(t,e){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){if(arguments.length>1)this._nodes[t]=e;return this}if(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound)this._parent[t]=L,this._children[t]={},this._children[L][t]=!0;return this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=(r)=>this.removeEdge(this._edgeObjs[r]);if(delete this._nodes[t],this._isCompound)this._removeFromParentsChildList(t),delete this._parent[t],b(this.children(t),(r)=>{this.setParent(r)}),delete this._children[t];b(Ie(this._in[t]),e),delete this._in[t],delete this._preds[t],b(Ie(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(Re(e))e=L;else{e+="";for(var r=e;!Re(r);r=this.parent(r))if(r===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==L)return e}}children(t){if(Re(t))t=L;if(this._isCompound){var e=this._children[t];if(e)return Ie(e)}else if(t===L)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return Ie(e)}successors(t){var e=this._sucs[t];if(e)return Ie(e)}neighbors(t){var e=this.predecessors(t);if(e)return Tt(e,this.successors(t))}isLeaf(t){var e;if(this.isDirected())e=this.successors(t);else e=this.neighbors(t);return e.length===0}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var r=this;b(this._nodes,function(f,i){if(t(i))e.setNode(i,f)}),b(this._edgeObjs,function(f){if(e.hasNode(f.v)&&e.hasNode(f.w))e.setEdge(f,r.edge(f))});var o={};function a(f){var i=r.parent(f);if(i===void 0||e.hasNode(i))return o[f]=i,i;else if(i in o)return o[i];else return a(i)}if(this._isCompound)b(e.nodes(),function(f){e.setParent(f,a(f))});return e}setDefaultEdgeLabel(t){if(!or(t))t=mt(t);return this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return xt(this._edgeObjs)}setPath(t,e){var r=this,o=arguments;return ur(t,function(a,f){if(o.length>1)r.setEdge(a,f,e);else r.setEdge(a,f);return f}),this}setEdge(){var t,e,r,o,a=!1,f=arguments[0];if(typeof f==="object"&&f!==null&&"v"in f){if(t=f.v,e=f.w,r=f.name,arguments.length===2)o=arguments[1],a=!0}else if(t=f,e=arguments[1],r=arguments[3],arguments.length>2)o=arguments[2],a=!0;if(t=""+t,e=""+e,!Re(r))r=""+r;var i=z(this._isDirected,t,e,r);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,i)){if(a)this._edgeLabels[i]=o;return this}if(!Re(r)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[i]=a?o:this._defaultEdgeLabelFn(t,e,r);var n=fs(this._isDirected,t,e,r);return t=n.v,e=n.w,Object.freeze(n),this._edgeObjs[i]=n,Ir(this._preds[e],t),Ir(this._sucs[t],e),this._in[e][i]=n,this._out[t][i]=n,this._edgeCount++,this}edge(t,e,r){var o=arguments.length===1?wt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return this._edgeLabels[o]}hasEdge(t,e,r){var o=arguments.length===1?wt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r);return Object.prototype.hasOwnProperty.call(this._edgeLabels,o)}removeEdge(t,e,r){var o=arguments.length===1?wt(this._isDirected,arguments[0]):z(this._isDirected,t,e,r),a=this._edgeObjs[o];if(a)t=a.v,e=a.w,delete this._edgeLabels[o],delete this._edgeObjs[o],Lr(this._preds[e],t),Lr(this._sucs[t],e),delete this._in[e][o],delete this._out[t][o],this._edgeCount--;return this}inEdges(t,e){var r=this._in[t];if(r){var o=xt(r);if(!e)return o;return lt(o,function(a){return a.v===e})}}outEdges(t,e){var r=this._out[t];if(r){var o=xt(r);if(!e)return o;return lt(o,function(a){return a.w===e})}}nodeEdges(t,e){var r=this.inEdges(t,e);if(r)return r.concat(this.outEdges(t,e))}}ue.prototype._nodeCount=0;ue.prototype._edgeCount=0;function Ir(t,e){if(t[e])t[e]++;else t[e]=1}function Lr(t,e){if(!--t[e])delete t[e]}function z(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}return a+Er+f+Er+(Re(o)?as:o)}function fs(t,e,r,o){var a=""+e,f=""+r;if(!t&&a>f){var i=a;a=f,f=i}var n={v:a,w:f};if(o)n.name=o;return n}function wt(t,e){return z(t,e.v,e.w,e.name)}
2
2
  export{Le,Ge,st,Oe,vt,ir,te,Te,pt,or,mt,Hn,Di,Pi,Bi,$r,Ot,Fi,zr,Ve,Hr,Yt,Dt,Ur,sr,qr,$i,zi,Un,Ie,Hi,jr,lr,Gr,qn,jn,cr,Ui,Gn,qi,Ta,yt,Vn,ji,Gi,Vi,et,Wn,Kn,Vr,Wi,Yn,b,lt,xt,Re,ur,ue};
@@ -1,4 +1,4 @@
1
- import{Fe,Ke,_}from"./index.e35b4yh5.js";var Qi=Ke(function($l,Dl){(function(r,t){typeof $l=="object"&&typeof Dl<"u"?Dl.exports=t():typeof define=="function"&&define.amd?define(t):(r=typeof globalThis<"u"?globalThis:r||self).dayjs=t()})($l,function(){var r=1000,t=60000,i=3600000,s="millisecond",o="second",a="minute",c="hour",l="day",d="week",x="month",f="quarter",b="year",T="date",w="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,E=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,P={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(xt){var et=["th","st","nd","rd"],ot=xt%100;return"["+xt+(et[(ot-20)%10]||et[ot]||et[0])+"]"}},W=function(xt,et,ot){var bt=String(xt);return!bt||bt.length>=et?xt:""+Array(et+1-bt.length).join(ot)+xt},H={s:W,z:function(xt){var et=-xt.utcOffset(),ot=Math.abs(et),bt=Math.floor(ot/60),it=ot%60;return(et<=0?"+":"-")+W(bt,2,"0")+":"+W(it,2,"0")},m:function xt(et,ot){if(et.date()<ot.date())return-xt(ot,et);var bt=12*(ot.year()-et.year())+(ot.month()-et.month()),it=et.clone().add(bt,x),Lt=ot-it<0,Et=et.clone().add(bt+(Lt?-1:1),x);return+(-(bt+(ot-it)/(Lt?it-Et:Et-it))||0)},a:function(xt){return xt<0?Math.ceil(xt)||0:Math.floor(xt)},p:function(xt){return{M:x,y:b,w:d,d:l,D:T,h:c,m:a,s:o,ms:s,Q:f}[xt]||String(xt||"").toLowerCase().replace(/s$/,"")},u:function(xt){return xt===void 0}},V="en",Q={};Q[V]=P;var J="$isDayjsObject",st=function(xt){return xt instanceof wt||!(!xt||!xt[J])},lt=function xt(et,ot,bt){var it;if(!et)return V;if(typeof et=="string"){var Lt=et.toLowerCase();Q[Lt]&&(it=Lt),ot&&(Q[Lt]=ot,it=Lt);var Et=et.split("-");if(!it&&Et.length>1)return xt(Et[0])}else{var yt=et.name;Q[yt]=et,it=yt}return!bt&&it&&(V=it),it||!bt&&V},pt=function(xt,et){if(st(xt))return xt.clone();var ot=typeof et=="object"?et:{};return ot.date=xt,ot.args=arguments,new wt(ot)},ft=H;ft.l=lt,ft.i=st,ft.w=function(xt,et){return pt(xt,{locale:et.$L,utc:et.$u,x:et.$x,$offset:et.$offset})};var wt=function(){function xt(ot){this.$L=lt(ot.locale,null,!0),this.parse(ot),this.$x=this.$x||ot.x||{},this[J]=!0}var et=xt.prototype;return et.parse=function(ot){this.$d=function(bt){var{date:it,utc:Lt}=bt;if(it===null)return new Date(NaN);if(ft.u(it))return new Date;if(it instanceof Date)return new Date(it);if(typeof it=="string"&&!/Z$/i.test(it)){var Et=it.match(v);if(Et){var yt=Et[2]-1||0,qt=(Et[7]||"0").substring(0,3);return Lt?new Date(Date.UTC(Et[1],yt,Et[3]||1,Et[4]||0,Et[5]||0,Et[6]||0,qt)):new Date(Et[1],yt,Et[3]||1,Et[4]||0,Et[5]||0,Et[6]||0,qt)}}return new Date(it)}(ot),this.init()},et.init=function(){var ot=this.$d;this.$y=ot.getFullYear(),this.$M=ot.getMonth(),this.$D=ot.getDate(),this.$W=ot.getDay(),this.$H=ot.getHours(),this.$m=ot.getMinutes(),this.$s=ot.getSeconds(),this.$ms=ot.getMilliseconds()},et.$utils=function(){return ft},et.isValid=function(){return this.$d.toString()!==w},et.isSame=function(ot,bt){var it=pt(ot);return this.startOf(bt)<=it&&it<=this.endOf(bt)},et.isAfter=function(ot,bt){return pt(ot)<this.startOf(bt)},et.isBefore=function(ot,bt){return this.endOf(bt)<pt(ot)},et.$g=function(ot,bt,it){return ft.u(ot)?this[bt]:this.set(it,ot)},et.unix=function(){return Math.floor(this.valueOf()/1000)},et.valueOf=function(){return this.$d.getTime()},et.startOf=function(ot,bt){var it=this,Lt=!!ft.u(bt)||bt,Et=ft.p(ot),yt=function(te,ee){var de=ft.w(it.$u?Date.UTC(it.$y,ee,te):new Date(it.$y,ee,te),it);return Lt?de:de.endOf(l)},qt=function(te,ee){return ft.w(it.toDate()[te].apply(it.toDate("s"),(Lt?[0,0,0,0]:[23,59,59,999]).slice(ee)),it)},Wt=this.$W,Xt=this.$M,oe=this.$D,ne="set"+(this.$u?"UTC":"");switch(Et){case b:return Lt?yt(1,0):yt(31,11);case x:return Lt?yt(1,Xt):yt(0,Xt+1);case d:var Kt=this.$locale().weekStart||0,zt=(Wt<Kt?Wt+7:Wt)-Kt;return yt(Lt?oe-zt:oe+(6-zt),Xt);case l:case T:return qt(ne+"Hours",0);case c:return qt(ne+"Minutes",1);case a:return qt(ne+"Seconds",2);case o:return qt(ne+"Milliseconds",3);default:return this.clone()}},et.endOf=function(ot){return this.startOf(ot,!1)},et.$set=function(ot,bt){var it,Lt=ft.p(ot),Et="set"+(this.$u?"UTC":""),yt=(it={},it[l]=Et+"Date",it[T]=Et+"Date",it[x]=Et+"Month",it[b]=Et+"FullYear",it[c]=Et+"Hours",it[a]=Et+"Minutes",it[o]=Et+"Seconds",it[s]=Et+"Milliseconds",it)[Lt],qt=Lt===l?this.$D+(bt-this.$W):bt;if(Lt===x||Lt===b){var Wt=this.clone().set(T,1);Wt.$d[yt](qt),Wt.init(),this.$d=Wt.set(T,Math.min(this.$D,Wt.daysInMonth())).$d}else yt&&this.$d[yt](qt);return this.init(),this},et.set=function(ot,bt){return this.clone().$set(ot,bt)},et.get=function(ot){return this[ft.p(ot)]()},et.add=function(ot,bt){var it,Lt=this;ot=Number(ot);var Et=ft.p(bt),yt=function(Xt){var oe=pt(Lt);return ft.w(oe.date(oe.date()+Math.round(Xt*ot)),Lt)};if(Et===x)return this.set(x,this.$M+ot);if(Et===b)return this.set(b,this.$y+ot);if(Et===l)return yt(1);if(Et===d)return yt(7);var qt=(it={},it[a]=t,it[c]=i,it[o]=r,it)[Et]||1,Wt=this.$d.getTime()+ot*qt;return ft.w(Wt,this)},et.subtract=function(ot,bt){return this.add(-1*ot,bt)},et.format=function(ot){var bt=this,it=this.$locale();if(!this.isValid())return it.invalidDate||w;var Lt=ot||"YYYY-MM-DDTHH:mm:ssZ",Et=ft.z(this),yt=this.$H,qt=this.$m,Wt=this.$M,{weekdays:Xt,months:oe,meridiem:ne}=it,Kt=function(ee,de,me,Te){return ee&&(ee[de]||ee(bt,Lt))||me[de].slice(0,Te)},zt=function(ee){return ft.s(yt%12||12,ee,"0")},te=ne||function(ee,de,me){var Te=ee<12?"AM":"PM";return me?Te.toLowerCase():Te};return Lt.replace(E,function(ee,de){return de||function(me){switch(me){case"YY":return String(bt.$y).slice(-2);case"YYYY":return ft.s(bt.$y,4,"0");case"M":return Wt+1;case"MM":return ft.s(Wt+1,2,"0");case"MMM":return Kt(it.monthsShort,Wt,oe,3);case"MMMM":return Kt(oe,Wt);case"D":return bt.$D;case"DD":return ft.s(bt.$D,2,"0");case"d":return String(bt.$W);case"dd":return Kt(it.weekdaysMin,bt.$W,Xt,2);case"ddd":return Kt(it.weekdaysShort,bt.$W,Xt,3);case"dddd":return Xt[bt.$W];case"H":return String(yt);case"HH":return ft.s(yt,2,"0");case"h":return zt(1);case"hh":return zt(2);case"a":return te(yt,qt,!0);case"A":return te(yt,qt,!1);case"m":return String(qt);case"mm":return ft.s(qt,2,"0");case"s":return String(bt.$s);case"ss":return ft.s(bt.$s,2,"0");case"SSS":return ft.s(bt.$ms,3,"0");case"Z":return Et}return null}(ee)||Et.replace(":","")})},et.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},et.diff=function(ot,bt,it){var Lt,Et=this,yt=ft.p(bt),qt=pt(ot),Wt=(qt.utcOffset()-this.utcOffset())*t,Xt=this-qt,oe=function(){return ft.m(Et,qt)};switch(yt){case b:Lt=oe()/12;break;case x:Lt=oe();break;case f:Lt=oe()/3;break;case d:Lt=(Xt-Wt)/604800000;break;case l:Lt=(Xt-Wt)/86400000;break;case c:Lt=Xt/i;break;case a:Lt=Xt/t;break;case o:Lt=Xt/r;break;default:Lt=Xt}return it?Lt:ft.a(Lt)},et.daysInMonth=function(){return this.endOf(x).$D},et.$locale=function(){return Q[this.$L]},et.locale=function(ot,bt){if(!ot)return this.$L;var it=this.clone(),Lt=lt(ot,bt,!0);return Lt&&(it.$L=Lt),it},et.clone=function(){return ft.w(this.$d,this)},et.toDate=function(){return new Date(this.valueOf())},et.toJSON=function(){return this.isValid()?this.toISOString():null},et.toISOString=function(){return this.$d.toISOString()},et.toString=function(){return this.$d.toUTCString()},xt}(),_t=wt.prototype;return pt.prototype=_t,[["$ms",s],["$s",o],["$m",a],["$H",c],["$W",l],["$M",x],["$y",b],["$D",T]].forEach(function(xt){_t[xt[1]]=function(et){return this.$g(et,xt[0],xt[1])}}),pt.extend=function(xt,et){return xt.$i||(xt(et,wt,pt),xt.$i=!0),pt},pt.locale=lt,pt.isDayjs=st,pt.unix=function(xt){return pt(1000*xt)},pt.en=Q[V],pt.Ls=Q,pt.p={},pt})});var tf=Ke(function(Qp){Object.defineProperty(Qp,"__esModule",{value:!0});Qp.BLANK_URL=Qp.relativeFirstCharacters=Qp.whitespaceEscapeCharsRegex=Qp.urlSchemeRegex=Qp.ctrlCharactersRegex=Qp.htmlCtrlEntityRegex=Qp.htmlEntitiesRegex=Qp.invalidProtocolRegex=void 0;Qp.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im;Qp.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g;Qp.htmlCtrlEntityRegex=/&(newline|tab);/gi;Qp.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;Qp.urlSchemeRegex=/^.+(:|&colon;)/gim;Qp.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g;Qp.relativeFirstCharacters=[".","/"];Qp.BLANK_URL="about:blank"});var pn=Ke(function(rf){Object.defineProperty(rf,"__esModule",{value:!0});rf.sanitizeUrl=m1;var xr=tf();function p1(r){return xr.relativeFirstCharacters.indexOf(r[0])>-1}function f1(r){var t=r.replace(xr.ctrlCharactersRegex,"");return t.replace(xr.htmlEntitiesRegex,function(i,s){return String.fromCharCode(s)})}function g1(r){return URL.canParse(r)}function ef(r){try{return decodeURIComponent(r)}catch(t){return r}}function m1(r){if(!r)return xr.BLANK_URL;var t,i=ef(r.trim());do i=f1(i).replace(xr.htmlCtrlEntityRegex,"").replace(xr.ctrlCharactersRegex,"").replace(xr.whitespaceEscapeCharsRegex,"").trim(),i=ef(i),t=i.match(xr.ctrlCharactersRegex)||i.match(xr.htmlEntitiesRegex)||i.match(xr.htmlCtrlEntityRegex)||i.match(xr.whitespaceEscapeCharsRegex);while(t&&t.length>0);var s=i;if(!s)return xr.BLANK_URL;if(p1(s))return s;var o=s.trimStart(),a=o.match(xr.urlSchemeRegex);if(!a)return s;var c=a[0].toLowerCase().trim();if(xr.invalidProtocolRegex.test(c))return xr.BLANK_URL;var l=o.replace(/\\/g,"/");if(c==="mailto:"||c.includes("://"))return l;if(c==="http:"||c==="https:"){if(!g1(l))return xr.BLANK_URL;var d=new URL(l);return d.protocol=d.protocol.toLowerCase(),d.hostname=d.hostname.toLowerCase(),d.toString()}return l}});var Bu=Object.defineProperty,e=(r,t)=>Bu(r,"name",{value:t,configurable:!0}),dr=(r,t)=>{for(var i in t)Bu(r,i,{get:t[i],enumerable:!0})};var _u=Fe(Qi(),1),xi={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},n={trace:e((...r)=>{},"trace"),debug:e((...r)=>{},"debug"),info:e((...r)=>{},"info"),warn:e((...r)=>{},"warn"),error:e((...r)=>{},"error"),fatal:e((...r)=>{},"fatal")},Sa=e(function(r="fatal"){let t=xi.fatal;if(typeof r==="string"){if(r.toLowerCase()in xi)t=xi[r]}else if(typeof r==="number")t=r;if(n.trace=()=>{},n.debug=()=>{},n.info=()=>{},n.warn=()=>{},n.error=()=>{},n.fatal=()=>{},t<=xi.fatal)n.fatal=console.error?console.error.bind(console,Hr("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",Hr("FATAL"));if(t<=xi.error)n.error=console.error?console.error.bind(console,Hr("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",Hr("ERROR"));if(t<=xi.warn)n.warn=console.warn?console.warn.bind(console,Hr("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",Hr("WARN"));if(t<=xi.info)n.info=console.info?console.info.bind(console,Hr("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",Hr("INFO"));if(t<=xi.debug)n.debug=console.debug?console.debug.bind(console,Hr("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Hr("DEBUG"));if(t<=xi.trace)n.trace=console.debug?console.debug.bind(console,Hr("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Hr("TRACE"))},"setLogLevel"),Hr=e((r)=>`%c${_u.default().format("ss.SSS")} : ${r} : `,"format");var xa={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:(r)=>r>=255?255:r<0?0:r,g:(r)=>r>=255?255:r<0?0:r,b:(r)=>r>=255?255:r<0?0:r,h:(r)=>r%360,s:(r)=>r>=100?100:r<0?0:r,l:(r)=>r>=100?100:r<0?0:r,a:(r)=>r>=1?1:r<0?0:r},toLinear:(r)=>{let t=r/255;return r>0.03928?Math.pow((t+0.055)/1.055,2.4):t/12.92},hue2rgb:(r,t,i)=>{if(i<0)i+=1;if(i>1)i-=1;if(i<0.16666666666666666)return r+(t-r)*6*i;if(i<0.5)return t;if(i<0.6666666666666666)return r+(t-r)*(0.6666666666666666-i)*6;return r},hsl2rgb:({h:r,s:t,l:i},s)=>{if(!t)return i*2.55;r/=360,t/=100,i/=100;let o=i<0.5?i*(1+t):i+t-i*t,a=2*i-o;switch(s){case"r":return xa.hue2rgb(a,o,r+0.3333333333333333)*255;case"g":return xa.hue2rgb(a,o,r)*255;case"b":return xa.hue2rgb(a,o,r-0.3333333333333333)*255}},rgb2hsl:({r,g:t,b:i},s)=>{r/=255,t/=255,i/=255;let o=Math.max(r,t,i),a=Math.min(r,t,i),c=(o+a)/2;if(s==="l")return c*100;if(o===a)return 0;let l=o-a,d=c>0.5?l/(2-o-a):l/(o+a);if(s==="s")return d*100;switch(o){case r:return((t-i)/l+(t<i?6:0))*60;case t:return((i-r)/l+2)*60;case i:return((r-t)/l+4)*60;default:return-1}}},vu=xa;var zx={clamp:(r,t,i)=>{if(t>i)return Math.min(t,Math.max(i,r));return Math.min(i,Math.max(t,r))},round:(r)=>Math.round(r*10000000000)/10000000000},Lu=zx;var Hx={dec2hex:(r)=>{let t=Math.round(r).toString(16);return t.length>1?t:`0${t}`}},Au=Hx;var Yx={channel:vu,lang:Lu,unit:Au},ce=Yx;var Ci={};for(let r=0;r<=255;r++)Ci[r]=ce.unit.dec2hex(r);var er={ALL:0,RGB:1,HSL:2};class Fu{constructor(){this.type=er.ALL}get(){return this.type}set(r){if(this.type&&this.type!==r)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=r}reset(){this.type=er.ALL}is(r){return this.type===r}}var Mu=Fu;class Eu{constructor(r,t){this.color=t,this.changed=!1,this.data=r,this.type=new Mu}set(r,t){return this.color=t,this.changed=!1,this.data=r,this.type.type=er.ALL,this}_ensureHSL(){let r=this.data,{h:t,s:i,l:s}=r;if(t===void 0)r.h=ce.channel.rgb2hsl(r,"h");if(i===void 0)r.s=ce.channel.rgb2hsl(r,"s");if(s===void 0)r.l=ce.channel.rgb2hsl(r,"l")}_ensureRGB(){let r=this.data,{r:t,g:i,b:s}=r;if(t===void 0)r.r=ce.channel.hsl2rgb(r,"r");if(i===void 0)r.g=ce.channel.hsl2rgb(r,"g");if(s===void 0)r.b=ce.channel.hsl2rgb(r,"b")}get r(){let r=this.data,t=r.r;if(!this.type.is(er.HSL)&&t!==void 0)return t;return this._ensureHSL(),ce.channel.hsl2rgb(r,"r")}get g(){let r=this.data,t=r.g;if(!this.type.is(er.HSL)&&t!==void 0)return t;return this._ensureHSL(),ce.channel.hsl2rgb(r,"g")}get b(){let r=this.data,t=r.b;if(!this.type.is(er.HSL)&&t!==void 0)return t;return this._ensureHSL(),ce.channel.hsl2rgb(r,"b")}get h(){let r=this.data,t=r.h;if(!this.type.is(er.RGB)&&t!==void 0)return t;return this._ensureRGB(),ce.channel.rgb2hsl(r,"h")}get s(){let r=this.data,t=r.s;if(!this.type.is(er.RGB)&&t!==void 0)return t;return this._ensureRGB(),ce.channel.rgb2hsl(r,"s")}get l(){let r=this.data,t=r.l;if(!this.type.is(er.RGB)&&t!==void 0)return t;return this._ensureRGB(),ce.channel.rgb2hsl(r,"l")}get a(){return this.data.a}set r(r){this.type.set(er.RGB),this.changed=!0,this.data.r=r}set g(r){this.type.set(er.RGB),this.changed=!0,this.data.g=r}set b(r){this.type.set(er.RGB),this.changed=!0,this.data.b=r}set h(r){this.type.set(er.HSL),this.changed=!0,this.data.h=r}set s(r){this.type.set(er.HSL),this.changed=!0,this.data.s=r}set l(r){this.type.set(er.HSL),this.changed=!0,this.data.l=r}set a(r){this.changed=!0,this.data.a=r}}var Ou=Eu;var Ux=new Ou({r:0,g:0,b:0,a:0},"transparent"),$i=Ux;var Iu={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:(r)=>{if(r.charCodeAt(0)!==35)return;let t=r.match(Iu.re);if(!t)return;let i=t[1],s=parseInt(i,16),o=i.length,a=o%4===0,c=o>4,l=c?1:17,d=c?8:4,x=a?0:-1,f=c?255:15;return $i.set({r:(s>>d*(x+3)&f)*l,g:(s>>d*(x+2)&f)*l,b:(s>>d*(x+1)&f)*l,a:a?(s&f)*l/255:1},r)},stringify:(r)=>{let{r:t,g:i,b:s,a:o}=r;if(o<1)return`#${Ci[Math.round(t)]}${Ci[Math.round(i)]}${Ci[Math.round(s)]}${Ci[Math.round(o*255)]}`;else return`#${Ci[Math.round(t)]}${Ci[Math.round(i)]}${Ci[Math.round(s)]}`}},Hi=Iu;var Ca={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:(r)=>{let t=r.match(Ca.hueRe);if(t){let[,i,s]=t;switch(s){case"grad":return ce.channel.clamp.h(parseFloat(i)*0.9);case"rad":return ce.channel.clamp.h(parseFloat(i)*180/Math.PI);case"turn":return ce.channel.clamp.h(parseFloat(i)*360)}}return ce.channel.clamp.h(parseFloat(r))},parse:(r)=>{let t=r.charCodeAt(0);if(t!==104&&t!==72)return;let i=r.match(Ca.re);if(!i)return;let[,s,o,a,c,l]=i;return $i.set({h:Ca._hue2deg(s),s:ce.channel.clamp.s(parseFloat(o)),l:ce.channel.clamp.l(parseFloat(a)),a:c?ce.channel.clamp.a(l?parseFloat(c)/100:parseFloat(c)):1},r)},stringify:(r)=>{let{h:t,s:i,l:s,a:o}=r;if(o<1)return`hsla(${ce.lang.round(t)}, ${ce.lang.round(i)}%, ${ce.lang.round(s)}%, ${o})`;else return`hsl(${ce.lang.round(t)}, ${ce.lang.round(i)}%, ${ce.lang.round(s)}%)`}},ls=Ca;var ba={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:(r)=>{r=r.toLowerCase();let t=ba.colors[r];if(!t)return;return Hi.parse(t)},stringify:(r)=>{let t=Hi.stringify(r);for(let i in ba.colors)if(ba.colors[i]===t)return i;return}},Pl=ba;var $u={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:(r)=>{let t=r.charCodeAt(0);if(t!==114&&t!==82)return;let i=r.match($u.re);if(!i)return;let[,s,o,a,c,l,d,x,f]=i;return $i.set({r:ce.channel.clamp.r(o?parseFloat(s)*2.55:parseFloat(s)),g:ce.channel.clamp.g(c?parseFloat(a)*2.55:parseFloat(a)),b:ce.channel.clamp.b(d?parseFloat(l)*2.55:parseFloat(l)),a:x?ce.channel.clamp.a(f?parseFloat(x)/100:parseFloat(x)):1},r)},stringify:(r)=>{let{r:t,g:i,b:s,a:o}=r;if(o<1)return`rgba(${ce.lang.round(t)}, ${ce.lang.round(i)}, ${ce.lang.round(s)}, ${ce.lang.round(o)})`;else return`rgb(${ce.lang.round(t)}, ${ce.lang.round(i)}, ${ce.lang.round(s)})`}},cs=$u;var jx={format:{keyword:Pl,hex:Hi,rgb:cs,rgba:cs,hsl:ls,hsla:ls},parse:(r)=>{if(typeof r!=="string")return r;let t=Hi.parse(r)||cs.parse(r)||ls.parse(r)||Pl.parse(r);if(t)return t;throw Error(`Unsupported color format: "${r}"`)},stringify:(r)=>{if(!r.changed&&r.color)return r.color;if(r.type.is(er.HSL)||r.data.r===void 0)return ls.stringify(r);else if(r.a<1||!Number.isInteger(r.r)||!Number.isInteger(r.g)||!Number.isInteger(r.b))return cs.stringify(r);else return Hi.stringify(r)}},rr=jx;var Gx=(r,t)=>{let i=rr.parse(r);for(let s in t)i[s]=ce.channel.clamp[s](t[s]);return rr.stringify(i)},ka=Gx;var Xx=(r,t,i=0,s=1)=>{if(typeof r!=="number")return ka(r,{a:t});let o=$i.set({r:ce.channel.clamp.r(r),g:ce.channel.clamp.g(t),b:ce.channel.clamp.b(i),a:ce.channel.clamp.a(s)});return rr.stringify(o)},be=Xx;var Vx=(r,t)=>ce.lang.round(rr.parse(r)[t]),gt=Vx;var Kx=(r)=>{let{r:t,g:i,b:s}=rr.parse(r),o=0.2126*ce.channel.toLinear(t)+0.7152*ce.channel.toLinear(i)+0.0722*ce.channel.toLinear(s);return ce.lang.round(o)},Du=Kx;var Zx=(r)=>Du(r)>=0.5,Pu=Zx;var Qx=(r)=>!Pu(r),ae=Qx;var Jx=(r,t,i)=>{let s=rr.parse(r),o=s[t],a=ce.channel.clamp[t](o+i);if(o!==a)s[t]=a;return rr.stringify(s)},Qn=Jx;var t0=(r,t)=>Qn(r,"l",t),h=t0;var e0=(r,t)=>Qn(r,"l",-t),p=e0;var r0=(r,t)=>{let i=rr.parse(r),s={};for(let o in t){if(!t[o])continue;s[o]=i[o]+t[o]}return ka(r,s)},X=r0;var i0=(r,t,i=50)=>{let{r:s,g:o,b:a,a:c}=rr.parse(r),{r:l,g:d,b:x,a:f}=rr.parse(t),b=i/100,T=b*2-1,w=c-f,E=((T*w===-1?T:(T+w)/(1+T*w))+1)/2,P=1-E,W=s*E+l*P,H=o*E+d*P,V=a*E+x*P,Q=c*b+f*(1-b);return be(W,H,V,Q)},Ru=i0;var o0=(r,t=100)=>{let i=rr.parse(r);return i.r=255-i.r,i.g=255-i.g,i.b=255-i.b,Ru(i,r,t)},ht=o0;/*! @license DOMPurify 3.4.17 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.17/LICENSE */function s0(r,t){this.v=r,this.k=t}function Nu(r,t){(t==null||t>r.length)&&(t=r.length);for(var i=0,s=Array(t);i<t;i++)s[i]=r[i];return s}function a0(r){if(Array.isArray(r))return r}function n0(r,t){var i=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(i!=null){var s,o,a,c,l=[],d=!0,x=!1;try{if(a=(i=i.call(r)).next,t===0){if(Object(i)!==i)return;d=!1}else for(;!(d=(s=a.call(i)).done)&&(l.push(s.value),l.length!==t);d=!0);}catch(f){x=!0,o=f}finally{try{if(!d&&i.return!=null&&(c=i.return(),Object(c)!==c))return}finally{if(x)throw o}}return l}}function l0(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
1
+ import{Fe,Ke,_}from"./index.rn0vxns6.js";var Qi=Ke(function($l,Dl){(function(r,t){typeof $l=="object"&&typeof Dl<"u"?Dl.exports=t():typeof define=="function"&&define.amd?define(t):(r=typeof globalThis<"u"?globalThis:r||self).dayjs=t()})($l,function(){var r=1000,t=60000,i=3600000,s="millisecond",o="second",a="minute",c="hour",l="day",d="week",x="month",f="quarter",b="year",T="date",w="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,E=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,P={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(xt){var et=["th","st","nd","rd"],ot=xt%100;return"["+xt+(et[(ot-20)%10]||et[ot]||et[0])+"]"}},W=function(xt,et,ot){var bt=String(xt);return!bt||bt.length>=et?xt:""+Array(et+1-bt.length).join(ot)+xt},H={s:W,z:function(xt){var et=-xt.utcOffset(),ot=Math.abs(et),bt=Math.floor(ot/60),it=ot%60;return(et<=0?"+":"-")+W(bt,2,"0")+":"+W(it,2,"0")},m:function xt(et,ot){if(et.date()<ot.date())return-xt(ot,et);var bt=12*(ot.year()-et.year())+(ot.month()-et.month()),it=et.clone().add(bt,x),Lt=ot-it<0,Et=et.clone().add(bt+(Lt?-1:1),x);return+(-(bt+(ot-it)/(Lt?it-Et:Et-it))||0)},a:function(xt){return xt<0?Math.ceil(xt)||0:Math.floor(xt)},p:function(xt){return{M:x,y:b,w:d,d:l,D:T,h:c,m:a,s:o,ms:s,Q:f}[xt]||String(xt||"").toLowerCase().replace(/s$/,"")},u:function(xt){return xt===void 0}},V="en",Q={};Q[V]=P;var J="$isDayjsObject",st=function(xt){return xt instanceof wt||!(!xt||!xt[J])},lt=function xt(et,ot,bt){var it;if(!et)return V;if(typeof et=="string"){var Lt=et.toLowerCase();Q[Lt]&&(it=Lt),ot&&(Q[Lt]=ot,it=Lt);var Et=et.split("-");if(!it&&Et.length>1)return xt(Et[0])}else{var yt=et.name;Q[yt]=et,it=yt}return!bt&&it&&(V=it),it||!bt&&V},pt=function(xt,et){if(st(xt))return xt.clone();var ot=typeof et=="object"?et:{};return ot.date=xt,ot.args=arguments,new wt(ot)},ft=H;ft.l=lt,ft.i=st,ft.w=function(xt,et){return pt(xt,{locale:et.$L,utc:et.$u,x:et.$x,$offset:et.$offset})};var wt=function(){function xt(ot){this.$L=lt(ot.locale,null,!0),this.parse(ot),this.$x=this.$x||ot.x||{},this[J]=!0}var et=xt.prototype;return et.parse=function(ot){this.$d=function(bt){var{date:it,utc:Lt}=bt;if(it===null)return new Date(NaN);if(ft.u(it))return new Date;if(it instanceof Date)return new Date(it);if(typeof it=="string"&&!/Z$/i.test(it)){var Et=it.match(v);if(Et){var yt=Et[2]-1||0,qt=(Et[7]||"0").substring(0,3);return Lt?new Date(Date.UTC(Et[1],yt,Et[3]||1,Et[4]||0,Et[5]||0,Et[6]||0,qt)):new Date(Et[1],yt,Et[3]||1,Et[4]||0,Et[5]||0,Et[6]||0,qt)}}return new Date(it)}(ot),this.init()},et.init=function(){var ot=this.$d;this.$y=ot.getFullYear(),this.$M=ot.getMonth(),this.$D=ot.getDate(),this.$W=ot.getDay(),this.$H=ot.getHours(),this.$m=ot.getMinutes(),this.$s=ot.getSeconds(),this.$ms=ot.getMilliseconds()},et.$utils=function(){return ft},et.isValid=function(){return this.$d.toString()!==w},et.isSame=function(ot,bt){var it=pt(ot);return this.startOf(bt)<=it&&it<=this.endOf(bt)},et.isAfter=function(ot,bt){return pt(ot)<this.startOf(bt)},et.isBefore=function(ot,bt){return this.endOf(bt)<pt(ot)},et.$g=function(ot,bt,it){return ft.u(ot)?this[bt]:this.set(it,ot)},et.unix=function(){return Math.floor(this.valueOf()/1000)},et.valueOf=function(){return this.$d.getTime()},et.startOf=function(ot,bt){var it=this,Lt=!!ft.u(bt)||bt,Et=ft.p(ot),yt=function(te,ee){var de=ft.w(it.$u?Date.UTC(it.$y,ee,te):new Date(it.$y,ee,te),it);return Lt?de:de.endOf(l)},qt=function(te,ee){return ft.w(it.toDate()[te].apply(it.toDate("s"),(Lt?[0,0,0,0]:[23,59,59,999]).slice(ee)),it)},Wt=this.$W,Xt=this.$M,oe=this.$D,ne="set"+(this.$u?"UTC":"");switch(Et){case b:return Lt?yt(1,0):yt(31,11);case x:return Lt?yt(1,Xt):yt(0,Xt+1);case d:var Kt=this.$locale().weekStart||0,zt=(Wt<Kt?Wt+7:Wt)-Kt;return yt(Lt?oe-zt:oe+(6-zt),Xt);case l:case T:return qt(ne+"Hours",0);case c:return qt(ne+"Minutes",1);case a:return qt(ne+"Seconds",2);case o:return qt(ne+"Milliseconds",3);default:return this.clone()}},et.endOf=function(ot){return this.startOf(ot,!1)},et.$set=function(ot,bt){var it,Lt=ft.p(ot),Et="set"+(this.$u?"UTC":""),yt=(it={},it[l]=Et+"Date",it[T]=Et+"Date",it[x]=Et+"Month",it[b]=Et+"FullYear",it[c]=Et+"Hours",it[a]=Et+"Minutes",it[o]=Et+"Seconds",it[s]=Et+"Milliseconds",it)[Lt],qt=Lt===l?this.$D+(bt-this.$W):bt;if(Lt===x||Lt===b){var Wt=this.clone().set(T,1);Wt.$d[yt](qt),Wt.init(),this.$d=Wt.set(T,Math.min(this.$D,Wt.daysInMonth())).$d}else yt&&this.$d[yt](qt);return this.init(),this},et.set=function(ot,bt){return this.clone().$set(ot,bt)},et.get=function(ot){return this[ft.p(ot)]()},et.add=function(ot,bt){var it,Lt=this;ot=Number(ot);var Et=ft.p(bt),yt=function(Xt){var oe=pt(Lt);return ft.w(oe.date(oe.date()+Math.round(Xt*ot)),Lt)};if(Et===x)return this.set(x,this.$M+ot);if(Et===b)return this.set(b,this.$y+ot);if(Et===l)return yt(1);if(Et===d)return yt(7);var qt=(it={},it[a]=t,it[c]=i,it[o]=r,it)[Et]||1,Wt=this.$d.getTime()+ot*qt;return ft.w(Wt,this)},et.subtract=function(ot,bt){return this.add(-1*ot,bt)},et.format=function(ot){var bt=this,it=this.$locale();if(!this.isValid())return it.invalidDate||w;var Lt=ot||"YYYY-MM-DDTHH:mm:ssZ",Et=ft.z(this),yt=this.$H,qt=this.$m,Wt=this.$M,{weekdays:Xt,months:oe,meridiem:ne}=it,Kt=function(ee,de,me,Te){return ee&&(ee[de]||ee(bt,Lt))||me[de].slice(0,Te)},zt=function(ee){return ft.s(yt%12||12,ee,"0")},te=ne||function(ee,de,me){var Te=ee<12?"AM":"PM";return me?Te.toLowerCase():Te};return Lt.replace(E,function(ee,de){return de||function(me){switch(me){case"YY":return String(bt.$y).slice(-2);case"YYYY":return ft.s(bt.$y,4,"0");case"M":return Wt+1;case"MM":return ft.s(Wt+1,2,"0");case"MMM":return Kt(it.monthsShort,Wt,oe,3);case"MMMM":return Kt(oe,Wt);case"D":return bt.$D;case"DD":return ft.s(bt.$D,2,"0");case"d":return String(bt.$W);case"dd":return Kt(it.weekdaysMin,bt.$W,Xt,2);case"ddd":return Kt(it.weekdaysShort,bt.$W,Xt,3);case"dddd":return Xt[bt.$W];case"H":return String(yt);case"HH":return ft.s(yt,2,"0");case"h":return zt(1);case"hh":return zt(2);case"a":return te(yt,qt,!0);case"A":return te(yt,qt,!1);case"m":return String(qt);case"mm":return ft.s(qt,2,"0");case"s":return String(bt.$s);case"ss":return ft.s(bt.$s,2,"0");case"SSS":return ft.s(bt.$ms,3,"0");case"Z":return Et}return null}(ee)||Et.replace(":","")})},et.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},et.diff=function(ot,bt,it){var Lt,Et=this,yt=ft.p(bt),qt=pt(ot),Wt=(qt.utcOffset()-this.utcOffset())*t,Xt=this-qt,oe=function(){return ft.m(Et,qt)};switch(yt){case b:Lt=oe()/12;break;case x:Lt=oe();break;case f:Lt=oe()/3;break;case d:Lt=(Xt-Wt)/604800000;break;case l:Lt=(Xt-Wt)/86400000;break;case c:Lt=Xt/i;break;case a:Lt=Xt/t;break;case o:Lt=Xt/r;break;default:Lt=Xt}return it?Lt:ft.a(Lt)},et.daysInMonth=function(){return this.endOf(x).$D},et.$locale=function(){return Q[this.$L]},et.locale=function(ot,bt){if(!ot)return this.$L;var it=this.clone(),Lt=lt(ot,bt,!0);return Lt&&(it.$L=Lt),it},et.clone=function(){return ft.w(this.$d,this)},et.toDate=function(){return new Date(this.valueOf())},et.toJSON=function(){return this.isValid()?this.toISOString():null},et.toISOString=function(){return this.$d.toISOString()},et.toString=function(){return this.$d.toUTCString()},xt}(),_t=wt.prototype;return pt.prototype=_t,[["$ms",s],["$s",o],["$m",a],["$H",c],["$W",l],["$M",x],["$y",b],["$D",T]].forEach(function(xt){_t[xt[1]]=function(et){return this.$g(et,xt[0],xt[1])}}),pt.extend=function(xt,et){return xt.$i||(xt(et,wt,pt),xt.$i=!0),pt},pt.locale=lt,pt.isDayjs=st,pt.unix=function(xt){return pt(1000*xt)},pt.en=Q[V],pt.Ls=Q,pt.p={},pt})});var tf=Ke(function(Qp){Object.defineProperty(Qp,"__esModule",{value:!0});Qp.BLANK_URL=Qp.relativeFirstCharacters=Qp.whitespaceEscapeCharsRegex=Qp.urlSchemeRegex=Qp.ctrlCharactersRegex=Qp.htmlCtrlEntityRegex=Qp.htmlEntitiesRegex=Qp.invalidProtocolRegex=void 0;Qp.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im;Qp.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g;Qp.htmlCtrlEntityRegex=/&(newline|tab);/gi;Qp.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim;Qp.urlSchemeRegex=/^.+(:|&colon;)/gim;Qp.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g;Qp.relativeFirstCharacters=[".","/"];Qp.BLANK_URL="about:blank"});var pn=Ke(function(rf){Object.defineProperty(rf,"__esModule",{value:!0});rf.sanitizeUrl=m1;var xr=tf();function p1(r){return xr.relativeFirstCharacters.indexOf(r[0])>-1}function f1(r){var t=r.replace(xr.ctrlCharactersRegex,"");return t.replace(xr.htmlEntitiesRegex,function(i,s){return String.fromCharCode(s)})}function g1(r){return URL.canParse(r)}function ef(r){try{return decodeURIComponent(r)}catch(t){return r}}function m1(r){if(!r)return xr.BLANK_URL;var t,i=ef(r.trim());do i=f1(i).replace(xr.htmlCtrlEntityRegex,"").replace(xr.ctrlCharactersRegex,"").replace(xr.whitespaceEscapeCharsRegex,"").trim(),i=ef(i),t=i.match(xr.ctrlCharactersRegex)||i.match(xr.htmlEntitiesRegex)||i.match(xr.htmlCtrlEntityRegex)||i.match(xr.whitespaceEscapeCharsRegex);while(t&&t.length>0);var s=i;if(!s)return xr.BLANK_URL;if(p1(s))return s;var o=s.trimStart(),a=o.match(xr.urlSchemeRegex);if(!a)return s;var c=a[0].toLowerCase().trim();if(xr.invalidProtocolRegex.test(c))return xr.BLANK_URL;var l=o.replace(/\\/g,"/");if(c==="mailto:"||c.includes("://"))return l;if(c==="http:"||c==="https:"){if(!g1(l))return xr.BLANK_URL;var d=new URL(l);return d.protocol=d.protocol.toLowerCase(),d.hostname=d.hostname.toLowerCase(),d.toString()}return l}});var Bu=Object.defineProperty,e=(r,t)=>Bu(r,"name",{value:t,configurable:!0}),dr=(r,t)=>{for(var i in t)Bu(r,i,{get:t[i],enumerable:!0})};var _u=Fe(Qi(),1),xi={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},n={trace:e((...r)=>{},"trace"),debug:e((...r)=>{},"debug"),info:e((...r)=>{},"info"),warn:e((...r)=>{},"warn"),error:e((...r)=>{},"error"),fatal:e((...r)=>{},"fatal")},Sa=e(function(r="fatal"){let t=xi.fatal;if(typeof r==="string"){if(r.toLowerCase()in xi)t=xi[r]}else if(typeof r==="number")t=r;if(n.trace=()=>{},n.debug=()=>{},n.info=()=>{},n.warn=()=>{},n.error=()=>{},n.fatal=()=>{},t<=xi.fatal)n.fatal=console.error?console.error.bind(console,Hr("FATAL"),"color: orange"):console.log.bind(console,"\x1B[35m",Hr("FATAL"));if(t<=xi.error)n.error=console.error?console.error.bind(console,Hr("ERROR"),"color: orange"):console.log.bind(console,"\x1B[31m",Hr("ERROR"));if(t<=xi.warn)n.warn=console.warn?console.warn.bind(console,Hr("WARN"),"color: orange"):console.log.bind(console,"\x1B[33m",Hr("WARN"));if(t<=xi.info)n.info=console.info?console.info.bind(console,Hr("INFO"),"color: lightblue"):console.log.bind(console,"\x1B[34m",Hr("INFO"));if(t<=xi.debug)n.debug=console.debug?console.debug.bind(console,Hr("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Hr("DEBUG"));if(t<=xi.trace)n.trace=console.debug?console.debug.bind(console,Hr("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1B[32m",Hr("TRACE"))},"setLogLevel"),Hr=e((r)=>`%c${_u.default().format("ss.SSS")} : ${r} : `,"format");var xa={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:(r)=>r>=255?255:r<0?0:r,g:(r)=>r>=255?255:r<0?0:r,b:(r)=>r>=255?255:r<0?0:r,h:(r)=>r%360,s:(r)=>r>=100?100:r<0?0:r,l:(r)=>r>=100?100:r<0?0:r,a:(r)=>r>=1?1:r<0?0:r},toLinear:(r)=>{let t=r/255;return r>0.03928?Math.pow((t+0.055)/1.055,2.4):t/12.92},hue2rgb:(r,t,i)=>{if(i<0)i+=1;if(i>1)i-=1;if(i<0.16666666666666666)return r+(t-r)*6*i;if(i<0.5)return t;if(i<0.6666666666666666)return r+(t-r)*(0.6666666666666666-i)*6;return r},hsl2rgb:({h:r,s:t,l:i},s)=>{if(!t)return i*2.55;r/=360,t/=100,i/=100;let o=i<0.5?i*(1+t):i+t-i*t,a=2*i-o;switch(s){case"r":return xa.hue2rgb(a,o,r+0.3333333333333333)*255;case"g":return xa.hue2rgb(a,o,r)*255;case"b":return xa.hue2rgb(a,o,r-0.3333333333333333)*255}},rgb2hsl:({r,g:t,b:i},s)=>{r/=255,t/=255,i/=255;let o=Math.max(r,t,i),a=Math.min(r,t,i),c=(o+a)/2;if(s==="l")return c*100;if(o===a)return 0;let l=o-a,d=c>0.5?l/(2-o-a):l/(o+a);if(s==="s")return d*100;switch(o){case r:return((t-i)/l+(t<i?6:0))*60;case t:return((i-r)/l+2)*60;case i:return((r-t)/l+4)*60;default:return-1}}},vu=xa;var zx={clamp:(r,t,i)=>{if(t>i)return Math.min(t,Math.max(i,r));return Math.min(i,Math.max(t,r))},round:(r)=>Math.round(r*10000000000)/10000000000},Lu=zx;var Hx={dec2hex:(r)=>{let t=Math.round(r).toString(16);return t.length>1?t:`0${t}`}},Au=Hx;var Yx={channel:vu,lang:Lu,unit:Au},ce=Yx;var Ci={};for(let r=0;r<=255;r++)Ci[r]=ce.unit.dec2hex(r);var er={ALL:0,RGB:1,HSL:2};class Fu{constructor(){this.type=er.ALL}get(){return this.type}set(r){if(this.type&&this.type!==r)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=r}reset(){this.type=er.ALL}is(r){return this.type===r}}var Mu=Fu;class Eu{constructor(r,t){this.color=t,this.changed=!1,this.data=r,this.type=new Mu}set(r,t){return this.color=t,this.changed=!1,this.data=r,this.type.type=er.ALL,this}_ensureHSL(){let r=this.data,{h:t,s:i,l:s}=r;if(t===void 0)r.h=ce.channel.rgb2hsl(r,"h");if(i===void 0)r.s=ce.channel.rgb2hsl(r,"s");if(s===void 0)r.l=ce.channel.rgb2hsl(r,"l")}_ensureRGB(){let r=this.data,{r:t,g:i,b:s}=r;if(t===void 0)r.r=ce.channel.hsl2rgb(r,"r");if(i===void 0)r.g=ce.channel.hsl2rgb(r,"g");if(s===void 0)r.b=ce.channel.hsl2rgb(r,"b")}get r(){let r=this.data,t=r.r;if(!this.type.is(er.HSL)&&t!==void 0)return t;return this._ensureHSL(),ce.channel.hsl2rgb(r,"r")}get g(){let r=this.data,t=r.g;if(!this.type.is(er.HSL)&&t!==void 0)return t;return this._ensureHSL(),ce.channel.hsl2rgb(r,"g")}get b(){let r=this.data,t=r.b;if(!this.type.is(er.HSL)&&t!==void 0)return t;return this._ensureHSL(),ce.channel.hsl2rgb(r,"b")}get h(){let r=this.data,t=r.h;if(!this.type.is(er.RGB)&&t!==void 0)return t;return this._ensureRGB(),ce.channel.rgb2hsl(r,"h")}get s(){let r=this.data,t=r.s;if(!this.type.is(er.RGB)&&t!==void 0)return t;return this._ensureRGB(),ce.channel.rgb2hsl(r,"s")}get l(){let r=this.data,t=r.l;if(!this.type.is(er.RGB)&&t!==void 0)return t;return this._ensureRGB(),ce.channel.rgb2hsl(r,"l")}get a(){return this.data.a}set r(r){this.type.set(er.RGB),this.changed=!0,this.data.r=r}set g(r){this.type.set(er.RGB),this.changed=!0,this.data.g=r}set b(r){this.type.set(er.RGB),this.changed=!0,this.data.b=r}set h(r){this.type.set(er.HSL),this.changed=!0,this.data.h=r}set s(r){this.type.set(er.HSL),this.changed=!0,this.data.s=r}set l(r){this.type.set(er.HSL),this.changed=!0,this.data.l=r}set a(r){this.changed=!0,this.data.a=r}}var Ou=Eu;var Ux=new Ou({r:0,g:0,b:0,a:0},"transparent"),$i=Ux;var Iu={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:(r)=>{if(r.charCodeAt(0)!==35)return;let t=r.match(Iu.re);if(!t)return;let i=t[1],s=parseInt(i,16),o=i.length,a=o%4===0,c=o>4,l=c?1:17,d=c?8:4,x=a?0:-1,f=c?255:15;return $i.set({r:(s>>d*(x+3)&f)*l,g:(s>>d*(x+2)&f)*l,b:(s>>d*(x+1)&f)*l,a:a?(s&f)*l/255:1},r)},stringify:(r)=>{let{r:t,g:i,b:s,a:o}=r;if(o<1)return`#${Ci[Math.round(t)]}${Ci[Math.round(i)]}${Ci[Math.round(s)]}${Ci[Math.round(o*255)]}`;else return`#${Ci[Math.round(t)]}${Ci[Math.round(i)]}${Ci[Math.round(s)]}`}},Hi=Iu;var Ca={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:(r)=>{let t=r.match(Ca.hueRe);if(t){let[,i,s]=t;switch(s){case"grad":return ce.channel.clamp.h(parseFloat(i)*0.9);case"rad":return ce.channel.clamp.h(parseFloat(i)*180/Math.PI);case"turn":return ce.channel.clamp.h(parseFloat(i)*360)}}return ce.channel.clamp.h(parseFloat(r))},parse:(r)=>{let t=r.charCodeAt(0);if(t!==104&&t!==72)return;let i=r.match(Ca.re);if(!i)return;let[,s,o,a,c,l]=i;return $i.set({h:Ca._hue2deg(s),s:ce.channel.clamp.s(parseFloat(o)),l:ce.channel.clamp.l(parseFloat(a)),a:c?ce.channel.clamp.a(l?parseFloat(c)/100:parseFloat(c)):1},r)},stringify:(r)=>{let{h:t,s:i,l:s,a:o}=r;if(o<1)return`hsla(${ce.lang.round(t)}, ${ce.lang.round(i)}%, ${ce.lang.round(s)}%, ${o})`;else return`hsl(${ce.lang.round(t)}, ${ce.lang.round(i)}%, ${ce.lang.round(s)}%)`}},ls=Ca;var ba={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:(r)=>{r=r.toLowerCase();let t=ba.colors[r];if(!t)return;return Hi.parse(t)},stringify:(r)=>{let t=Hi.stringify(r);for(let i in ba.colors)if(ba.colors[i]===t)return i;return}},Pl=ba;var $u={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:(r)=>{let t=r.charCodeAt(0);if(t!==114&&t!==82)return;let i=r.match($u.re);if(!i)return;let[,s,o,a,c,l,d,x,f]=i;return $i.set({r:ce.channel.clamp.r(o?parseFloat(s)*2.55:parseFloat(s)),g:ce.channel.clamp.g(c?parseFloat(a)*2.55:parseFloat(a)),b:ce.channel.clamp.b(d?parseFloat(l)*2.55:parseFloat(l)),a:x?ce.channel.clamp.a(f?parseFloat(x)/100:parseFloat(x)):1},r)},stringify:(r)=>{let{r:t,g:i,b:s,a:o}=r;if(o<1)return`rgba(${ce.lang.round(t)}, ${ce.lang.round(i)}, ${ce.lang.round(s)}, ${ce.lang.round(o)})`;else return`rgb(${ce.lang.round(t)}, ${ce.lang.round(i)}, ${ce.lang.round(s)})`}},cs=$u;var jx={format:{keyword:Pl,hex:Hi,rgb:cs,rgba:cs,hsl:ls,hsla:ls},parse:(r)=>{if(typeof r!=="string")return r;let t=Hi.parse(r)||cs.parse(r)||ls.parse(r)||Pl.parse(r);if(t)return t;throw Error(`Unsupported color format: "${r}"`)},stringify:(r)=>{if(!r.changed&&r.color)return r.color;if(r.type.is(er.HSL)||r.data.r===void 0)return ls.stringify(r);else if(r.a<1||!Number.isInteger(r.r)||!Number.isInteger(r.g)||!Number.isInteger(r.b))return cs.stringify(r);else return Hi.stringify(r)}},rr=jx;var Gx=(r,t)=>{let i=rr.parse(r);for(let s in t)i[s]=ce.channel.clamp[s](t[s]);return rr.stringify(i)},ka=Gx;var Xx=(r,t,i=0,s=1)=>{if(typeof r!=="number")return ka(r,{a:t});let o=$i.set({r:ce.channel.clamp.r(r),g:ce.channel.clamp.g(t),b:ce.channel.clamp.b(i),a:ce.channel.clamp.a(s)});return rr.stringify(o)},be=Xx;var Vx=(r,t)=>ce.lang.round(rr.parse(r)[t]),gt=Vx;var Kx=(r)=>{let{r:t,g:i,b:s}=rr.parse(r),o=0.2126*ce.channel.toLinear(t)+0.7152*ce.channel.toLinear(i)+0.0722*ce.channel.toLinear(s);return ce.lang.round(o)},Du=Kx;var Zx=(r)=>Du(r)>=0.5,Pu=Zx;var Qx=(r)=>!Pu(r),ae=Qx;var Jx=(r,t,i)=>{let s=rr.parse(r),o=s[t],a=ce.channel.clamp[t](o+i);if(o!==a)s[t]=a;return rr.stringify(s)},Qn=Jx;var t0=(r,t)=>Qn(r,"l",t),h=t0;var e0=(r,t)=>Qn(r,"l",-t),p=e0;var r0=(r,t)=>{let i=rr.parse(r),s={};for(let o in t){if(!t[o])continue;s[o]=i[o]+t[o]}return ka(r,s)},X=r0;var i0=(r,t,i=50)=>{let{r:s,g:o,b:a,a:c}=rr.parse(r),{r:l,g:d,b:x,a:f}=rr.parse(t),b=i/100,T=b*2-1,w=c-f,E=((T*w===-1?T:(T+w)/(1+T*w))+1)/2,P=1-E,W=s*E+l*P,H=o*E+d*P,V=a*E+x*P,Q=c*b+f*(1-b);return be(W,H,V,Q)},Ru=i0;var o0=(r,t=100)=>{let i=rr.parse(r);return i.r=255-i.r,i.g=255-i.g,i.b=255-i.b,Ru(i,r,t)},ht=o0;/*! @license DOMPurify 3.4.17 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.17/LICENSE */function s0(r,t){this.v=r,this.k=t}function Nu(r,t){(t==null||t>r.length)&&(t=r.length);for(var i=0,s=Array(t);i<t;i++)s[i]=r[i];return s}function a0(r){if(Array.isArray(r))return r}function n0(r,t){var i=r==null?null:typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"];if(i!=null){var s,o,a,c,l=[],d=!0,x=!1;try{if(a=(i=i.call(r)).next,t===0){if(Object(i)!==i)return;d=!1}else for(;!(d=(s=a.call(i)).done)&&(l.push(s.value),l.length!==t);d=!0);}catch(f){x=!0,o=f}finally{try{if(!d&&i.return!=null&&(c=i.return(),Object(c)!==c))return}finally{if(x)throw o}}return l}}function l0(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
2
2
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */function h0(r,t){return a0(r)||n0(r,t)||c0(r,t)||l0()}function c0(r,t){if(r){if(typeof r=="string")return Nu(r,t);var i={}.toString.call(r).slice(8,-1);return i==="Object"&&r.constructor&&(i=r.constructor.name),i==="Map"||i==="Set"?Array.from(r):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?Nu(r,t):void 0}}function Ta(r){var t,i;function s(a,c){try{var l=r[a](c),d=l.value,x=d instanceof s0;Promise.resolve(x?d.v:d).then(function(f){if(x){var b=a==="return"&&d.k?a:"next";if(!d.k||f.done)return s(b,f);f=r[b](f).value}o(!!l.done,f)},function(f){s("throw",f)})}catch(f){o(2,f)}}function o(a,c){a===2?t.reject(c):t.resolve({value:c,done:a}),(t=t.next)?s(t.key,t.arg):i=null}this._invoke=function(a,c){return new Promise(function(l,d){var x={key:a,arg:c,resolve:l,reject:d,next:null};i?i=i.next=x:(t=i=x,s(a,c))})},typeof r.return!="function"&&(this.return=void 0)}Ta.prototype[typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},Ta.prototype.next=function(r){return this._invoke("next",r)},Ta.prototype.throw=function(r){return this._invoke("throw",r)},Ta.prototype.return=function(r){return this._invoke("return",r)};var{entries:td,setPrototypeOf:qu,isFrozen:u0,getPrototypeOf:ed,getOwnPropertyDescriptor:rd,freeze:ir,seal:ar,create:Ro}=Object,id=typeof Reflect<"u"&&Reflect,{apply:Gl,construct:Xl}=id;if(!ir)ir=function(t){return t};if(!ar)ar=function(t){return t};if(!Gl)Gl=function(t,i){for(var s=arguments.length,o=Array(s>2?s-2:0),a=2;a<s;a++)o[a-2]=arguments[a];return t.apply(i,o)};if(!Xl)Xl=function(t){for(var i=arguments.length,s=Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];return new t(...s)};var bi=qe(Array.prototype.forEach);Array.prototype.indexOf;var d0=qe(Array.prototype.lastIndexOf),Wu=qe(Array.prototype.pop),us=qe(Array.prototype.push),p0=qe(Array.prototype.slice),f0=qe(Array.prototype.splice),No=Array.isArray,Rl=od(Set),Nl=qe(Set.prototype.add),Bs=qe(Set.prototype.has),Yi=qe(String.prototype.toLowerCase),ql=qe(String.prototype.toString),zu=qe(String.prototype.match),Fs=qe(String.prototype.replace),Hu=qe(String.prototype.indexOf),g0=qe(String.prototype.trim),m0=qe(Number.prototype.toString),y0=qe(Boolean.prototype.toString),Yu=typeof BigInt>"u"?null:qe(BigInt.prototype.toString),Uu=typeof Symbol>"u"?null:qe(Symbol.prototype.toString),vr=qe(Object.prototype.hasOwnProperty),Ms=qe(Object.prototype.toString),sr=qe(RegExp.prototype.test),ki=od(TypeError);function qe(r){return function(t){if(t instanceof RegExp)t.lastIndex=0;for(var i=arguments.length,s=Array(i>1?i-1:0),o=1;o<i;o++)s[o-1]=arguments[o];return Gl(r,t,s)}}function od(r){return function(){for(var t=arguments.length,i=Array(t),s=0;s<t;s++)i[s]=arguments[s];return Xl(r,i)}}function Oe(r,t){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Yi;if(qu)qu(r,null);if(!No(t))return r;let s=t.length;while(s--){let o=t[s];if(typeof o==="string"){let a=i(o);if(a!==o){if(!u0(t))t[s]=a;o=a}}r[o]=!0}return r}function x0(r){for(let t=0;t<r.length;t++)if(!vr(r,t))r[t]=null;return r}function Or(r){let t=Ro(null);for(let s of td(r)){var i=h0(s,2);let o=i[0],a=i[1];if(vr(r,o))if(No(a))t[o]=x0(a);else if(a&&typeof a==="object"&&a.constructor===Object)t[o]=Or(a);else t[o]=a}return t}function C0(r){switch(typeof r){case"string":return r;case"number":return m0(r);case"boolean":return y0(r);case"bigint":return Yu?Yu(r):"0";case"symbol":return Uu?Uu(r):"Symbol()";case"undefined":return Ms(r);case"function":case"object":{if(r===null)return Ms(r);let t=r,i=Ur(t,"toString");if(typeof i==="function"){let s=i(t);return typeof s==="string"?s:Ms(s)}return Ms(r)}default:return Ms(r)}}function Ur(r,t){while(r!==null){let s=rd(r,t);if(s){if(s.get)return qe(s.get);if(typeof s.value==="function")return qe(s.value)}r=ed(r)}function i(){return null}return i}function b0(r,t){while(r!==null){let i=rd(r,t);if(i)return i.get?qe(i.get):null;r=ed(r)}return null}function k0(r){try{return sr(r,""),!0}catch(t){return!1}}var ju=ir(["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","search","section","select","shadow","slot","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"]),Wl=ir(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),zl=ir(["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"]),S0=ir(["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"]),Hl=ir(["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"]),T0=ir(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Gu=ir(["#text"]),Xu=ir(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","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","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Yl=ir(["accent-height","accumulate","additive","alignment-baseline","amplitude","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","dominant-baseline","dur","edgemode","elevation","end","exponent","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","intercept","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","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","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","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","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"]),Vu=ir(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","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"]),wa=ir(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),w0=ar(/{{[\w\W]*|^[\w\W]*}}/g),B0=ar(/<%[\w\W]*|^[\w\W]*%>/g),_0=ar(/\${[\w\W]*/g),v0=ar(/^data-[\-\w.\u00B7-\uFFFF]+$/),L0=ar(/^aria-[\-\w]+$/),Ku=ar(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),A0=ar(/^(?:\w+script|data):/i),F0=ar(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),M0=ar(/^html$/i),E0=ar(/^[a-z][.\w]*(-[.\w]+)+$/i),Ul=ar(/<[/\w!]/g),Zu=ar(/<[/\w]/g),O0=ar(/<\/no(script|embed|frames)/i),Qu=ar(/\/>/i),Ze={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},I0=ir(Oe({},["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"])),$0=function(){return typeof window>"u"?null:window},D0=function(t,i){if(typeof t!=="object"||typeof t.createPolicy!=="function")return null;let s=null,o="data-tt-policy-suffix";if(i&&i.hasAttribute(o))s=i.getAttribute(o);let a="dompurify"+(s?"#"+s:"");try{return t.createPolicy(a,{createHTML(c){return c},createScriptURL(c){return c}})}catch(c){return console.warn("TrustedTypes policy "+a+" could not be created."),null}},Ju=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},Di=function(t,i,s,o){return vr(t,i)&&No(t[i])?Oe(o.base?Or(o.base):{},t[i],o.transform):s},jl=function(t,i,s){let o=vr(t,i)?t[i]:void 0;return o&&typeof o==="object"?Or(o):s()};function sd(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$0(),t=(Yt)=>sd(Yt);if(t.version="3.4.17",t.removed=[],!r||!r.document||r.document.nodeType!==Ze.document||!r.Element)return t.isSupported=!1,t;let i=r.document,s=i,o=s.currentScript;r.DocumentFragment;let{HTMLTemplateElement:a,Node:c,Element:l,NodeFilter:d}=r;r.NamedNodeMap===void 0&&(r.NamedNodeMap||r.MozNamedAttrMap),r.HTMLFormElement;let{DOMParser:x,trustedTypes:f}=r,b=l.prototype,T=Ur(b,"cloneNode"),w=Ur(b,"remove"),v=Ur(b,"removeAttributeNode"),E=Ur(b,"nextSibling"),P=Ur(b,"childNodes"),W=Ur(b,"parentNode"),H=Ur(b,"shadowRoot"),V=Ur(b,"attributes"),Q=c&&c.prototype?Ur(c.prototype,"nodeType"):null,J=c&&c.prototype?Ur(c.prototype,"nodeName"):null,st=c&&c.prototype?Ur(c.prototype,"ownerDocument"):null,lt=function(Z){return Q?Q(Z):Z.nodeType},pt=function(Z){return J?J(Z):Z.nodeName},ft=b0(b,"namespaceURI"),wt=function(Z){return ft?ft(Z):Z.namespaceURI};if(typeof a==="function"){let Yt=i.createElement("template");if(Yt.content&&Yt.content.ownerDocument)i=Yt.content.ownerDocument}let _t,xt="",et,ot=!1,bt=0,it=function(){if(bt>0)throw ki('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},Lt=function(Z){it(),bt++;try{return _t.createHTML(Z)}finally{bt--}},Et=function(Z){it(),bt++;try{return _t.createScriptURL(Z)}finally{bt--}},yt=function(){if(!ot)et=D0(f,o),ot=!0;return et},qt=i,{implementation:Wt,createNodeIterator:Xt,createDocumentFragment:oe,getElementsByTagName:ne}=qt,Kt=s.importNode,zt=Ju();t.isSupported=typeof td==="function"&&typeof W==="function"&&Wt&&Wt.createHTMLDocument!==void 0;let te=w0,ee=B0,de=_0,me=v0,Te=L0,Ve=A0,gi=F0,qr=E0,Ai=Ku,Re=null,Mr=Oe({},[...ju,...Wl,...zl,...Hl,...Gu]),$e=null,ri=Oe({},[...Xu,...Yl,...Vu,...wa]),or=Object.seal(Ro(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}})),zr=null,Fi=null,Cr=Object.seal(Ro(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Er=!0,mi=!0,ii=!1,yi=!0,kr=!1,B=!0,mt=!1,It=!1,Dt=null,Mt=null,G=!1,vt=!1,At=!1,Ht=!1,Ut=!0,jt=!1,Ot="user-content-",Gt=!0,ie=!1,se=null,le={},ge=null,Se=Oe({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),Gr=null,Mi=Oe({},["audio","video","img","source","image","track"]),Ei=null,lu=Oe({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pa="http://www.w3.org/1998/Math/MathML",fa="http://www.w3.org/2000/svg",oi="http://www.w3.org/1999/xhtml",Mo=oi,nl=!1,ll=null,Sx=Oe({},[pa,fa,oi],ql),hu=ir(["mi","mo","mn","ms","mtext"]),cl=Oe({},hu),cu=ir(["annotation-xml"]),ul=Oe({},cu),Tx=Oe({},["title","style","font","a","script"]),ss=null,wx=["application/xhtml+xml","text/html"],Bx="text/html",je=null,Oo=null,_x=i.createElement("form"),uu=function(Z){return Z instanceof RegExp||Z instanceof Function},Sl=function(){let Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Oo&&Oo===Z)return;if(!Z||typeof Z!=="object")Z={};Z=Or(Z),ss=wx.indexOf(Z.PARSER_MEDIA_TYPE)===-1?Bx:Z.PARSER_MEDIA_TYPE,je=ss==="application/xhtml+xml"?ql:Yi,Re=Di(Z,"ALLOWED_TAGS",Mr,{transform:je}),$e=Di(Z,"ALLOWED_ATTR",ri,{transform:je}),ll=Di(Z,"ALLOWED_NAMESPACES",Sx,{transform:ql}),Ei=Di(Z,"ADD_URI_SAFE_ATTR",lu,{transform:je,base:lu}),Gr=Di(Z,"ADD_DATA_URI_TAGS",Mi,{transform:je,base:Mi}),ge=Di(Z,"FORBID_CONTENTS",Se,{transform:je}),zr=Di(Z,"FORBID_TAGS",Or({}),{transform:je}),Fi=Di(Z,"FORBID_ATTR",Or({}),{transform:je}),le=vr(Z,"USE_PROFILES")?Z.USE_PROFILES&&typeof Z.USE_PROFILES==="object"?Or(Z.USE_PROFILES):Z.USE_PROFILES:!1,Er=Z.ALLOW_ARIA_ATTR!==!1,mi=Z.ALLOW_DATA_ATTR!==!1,ii=Z.ALLOW_UNKNOWN_PROTOCOLS||!1,yi=Z.ALLOW_SELF_CLOSE_IN_ATTR!==!1,kr=Z.SAFE_FOR_TEMPLATES||!1,B=Z.SAFE_FOR_XML!==!1,mt=Z.WHOLE_DOCUMENT||!1,vt=Z.RETURN_DOM||!1,At=Z.RETURN_DOM_FRAGMENT||!1,Ht=Z.RETURN_TRUSTED_TYPE||!1,G=Z.FORCE_BODY||!1,Ut=Z.SANITIZE_DOM!==!1,jt=Z.SANITIZE_NAMED_PROPS||!1,Gt=Z.KEEP_CONTENT!==!1,ie=Z.IN_PLACE||!1,Ai=k0(Z.ALLOWED_URI_REGEXP)?Z.ALLOWED_URI_REGEXP:Ku,Mo=typeof Z.NAMESPACE==="string"?Z.NAMESPACE:oi,cl=jl(Z,"MATHML_TEXT_INTEGRATION_POINTS",()=>Oe({},hu)),ul=jl(Z,"HTML_INTEGRATION_POINTS",()=>Oe({},cu));let ct=jl(Z,"CUSTOM_ELEMENT_HANDLING",()=>Ro(null));if(or=Ro(null),vr(ct,"tagNameCheck")&&uu(ct.tagNameCheck))or.tagNameCheck=ct.tagNameCheck;if(vr(ct,"attributeNameCheck")&&uu(ct.attributeNameCheck))or.attributeNameCheck=ct.attributeNameCheck;if(vr(ct,"allowCustomizedBuiltInElements")&&typeof ct.allowCustomizedBuiltInElements==="boolean")or.allowCustomizedBuiltInElements=ct.allowCustomizedBuiltInElements;if(ar(or),kr)mi=!1;if(At)vt=!0;if(le){if(Re=Oe({},Gu),$e=Ro(null),le.html===!0)Oe(Re,ju),Oe($e,Xu);if(le.svg===!0)Oe(Re,Wl),Oe($e,Yl),Oe($e,wa);if(le.svgFilters===!0)Oe(Re,zl),Oe($e,Yl),Oe($e,wa);if(le.mathMl===!0)Oe(Re,Hl),Oe($e,Vu),Oe($e,wa)}if(Cr.tagCheck=null,Cr.attributeCheck=null,vr(Z,"ADD_TAGS")){if(typeof Z.ADD_TAGS==="function")Cr.tagCheck=Z.ADD_TAGS;else if(No(Z.ADD_TAGS)){if(Re===Mr)Re=Or(Re);Oe(Re,Z.ADD_TAGS,je)}}if(vr(Z,"ADD_ATTR")){if(typeof Z.ADD_ATTR==="function")Cr.attributeCheck=Z.ADD_ATTR;else if(No(Z.ADD_ATTR)){if($e===ri)$e=Or($e);Oe($e,Z.ADD_ATTR,je)}}if(vr(Z,"ADD_FORBID_CONTENTS")&&No(Z.ADD_FORBID_CONTENTS)){if(ge===Se)ge=Or(ge);Oe(ge,Z.ADD_FORBID_CONTENTS,je)}if(Gt)Re["#text"]=!0;if(mt)Oe(Re,["html","head","body"]);if(Re.table)Oe(Re,["tbody"]),delete zr.tbody;if(Z.TRUSTED_TYPES_POLICY){if(typeof Z.TRUSTED_TYPES_POLICY.createHTML!=="function")throw ki('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof Z.TRUSTED_TYPES_POLICY.createScriptURL!=="function")throw ki('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let Rt=_t;_t=Z.TRUSTED_TYPES_POLICY;try{xt=Lt("")}catch(Nt){throw _t=Rt,Nt}}else if(Z.TRUSTED_TYPES_POLICY===null)_t=void 0,xt="";else{if(_t===void 0)_t=yt();if(_t&&typeof xt==="string")xt=Lt("")}if(ir)ir(Z);Oo=Z},du=Oe({},[...Wl,...zl,...S0]),pu=Oe({},[...Hl,...T0]),vx=function(Z,ct,Rt){if(ct.namespaceURI===oi)return Z==="svg";if(ct.namespaceURI===pa)return Z==="svg"&&(Rt==="annotation-xml"||cl[Rt]);return Boolean(du[Z])},Lx=function(Z,ct,Rt){if(ct.namespaceURI===oi)return Z==="math";if(ct.namespaceURI===fa)return Z==="math"&&ul[Rt];return Boolean(pu[Z])},Ax=function(Z,ct,Rt){if(ct.namespaceURI===fa&&!ul[Rt])return!1;if(ct.namespaceURI===pa&&!cl[Rt])return!1;return!pu[Z]&&(Tx[Z]||!du[Z])},Fx=function(Z){let ct=wt(Z),Rt=Yi(pt(Z)),Nt=W(Z),ue,ke;if(Nt&&lt(Nt)===Ze.element)ue={namespaceURI:wt(Nt)},ke=Yi(pt(Nt));else ue={namespaceURI:Mo},ke="template";if(!ll[ct])return!1;if(ct===fa)return vx(Rt,ue,ke);if(ct===pa)return Lx(Rt,ue,ke);if(ct===oi)return Ax(Rt,ue,ke);if(ss==="application/xhtml+xml"&&ll[ct])return!0;return!1},Oi=function(Z){us(t.removed,{element:Z});try{W(Z).removeChild(Z)}catch(ct){if(w(Z),!W(Z))throw ki("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},fu=function(Z,ct,Rt){try{v(Z,ct)}catch(Nt){try{Z.removeAttribute(Rt)}catch(ue){}}},Bl=function(Z){Ll(Z);let ct=P(Z);if(ct)bi(p0(ct),(Nt)=>{try{w(Nt)}catch(ue){}});let Rt=lt(Z)===Ze.element?V(Z):null;if(Rt)for(let Nt=Rt.length-1;Nt>=0;--Nt){let ue=Rt[Nt],ke=ue&&ue.name;if(typeof ke==="string")fu(Z,ue,ke)}},$o=function(Z,ct,Rt){if(!Rt)try{Rt=ct.getAttributeNode(Z)}catch(Nt){Rt=null}us(t.removed,{attribute:Rt||null,from:ct});try{if(Rt)v(ct,Rt);else ct.removeAttribute(Z)}catch(Nt){try{ct.removeAttribute(Z)}catch(ue){}}if(Z==="is")if(vt||At)try{Oi(ct)}catch(Nt){}else try{ct.setAttribute(Z,"")}catch(Nt){}},gu=function(Z){let ct=V(Z);if(!ct)return;for(let Rt=ct.length-1;Rt>=0;--Rt){let Nt=ct[Rt],ue=Nt&&Nt.name;if(typeof ue!=="string"||$e[je(ue)])continue;fu(Z,Nt,ue)}},_l=function(Z,ct){let Rt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Nt=[Z];while(Nt.length>0){let ue=Nt.pop();if(ct(ue)===!1)continue;if(Rt&&lt(ue)===Ze.element){let Le=H(ue);if(Ii(Le))Nt.push(Le)}let ke=P(ue);if(ke)for(let Le=ke.length-1;Le>=0;--Le)Nt.push(ke[Le])}},Ll=function(Z){_l(Z,(ct)=>{if(lt(ct)===Ze.element)gu(ct)})},Al=function(Z){let ct=[];return _l(Z,(Rt)=>{ct.push(Rt)},!0),ct},Mx=function(Z,ct){let Rt=Rl();bi(Al(Z),(Nt)=>{if(lt(Nt)===Ze.element)Nl(Rt,Nt)}),bi(ct,(Nt)=>{if(lt(Nt)===Ze.element&&!Bs(Rt,Nt))gu(Nt)})},mu=function(Z,ct){let Rt=!1;return bi(t.removed,(Nt)=>{if(Nt.element)Rt=Rt||Nt.element===Z,Ll(Nt.element)}),Mx(Z,ct),Rt},Ex=8,Ox=function(Z,ct){let Rt=se,Nt=null,ue=()=>{if(!Nt)Nt=Rl(),bi(ct,(ke)=>{Nl(Nt,ke)});return Nt};for(let ke=0;;ke++){let Le=Al(Z),tr=[Z],si=!1;if(bi(Le,(Sr)=>{if(lt(Sr)===Ze.documentFragment)us(tr,Sr);else if(!si&&!Bs(Rt,Sr))si=Bs(ue(),Sr)}),!si)return;if(ke>=Ex)throw ki("the tree kept changing during in-place sanitization; refusing to return it");bi(tr,(Sr,Br)=>{Ix(Sr,Br>0,Z,ue())})}},Ix=function(Z,ct,Rt,Nt){let ue=Fl(Z),ke;while(ke=ue.nextNode()){if(!Bs(Nt,ke)||Bs(se,ke))continue;if(ct)Vr(zt.uponSanitizeShadowNode,ke,null);if(El(ke,Rt),Ol(ke,Rt),Ii(ke.content))ns(ke.content)}},$x=function(Z){if(se)Nl(se,Z)},yu=function(Z,ct){if(!B)return!1;if(Z==="patchsrc")return!0;return Z==="for"&&ct!=="label"&&ct!=="output"},Dx=function(Z){if(!B)return;_l(Z,(ct)=>{let Rt=lt(ct);if(Rt===Ze.processingInstruction||Rt===Ze.comment&&sr(Zu,ct.data)){try{w(ct)}catch(Nt){}return!1}if(Rt===Ze.element){let Nt=ct,ue=je(pt(ct));try{if(Nt.hasAttribute&&Nt.hasAttribute("patchsrc"))Nt.removeAttribute("patchsrc");if(Nt.hasAttribute&&Nt.hasAttribute("for")&&yu("for",ue))Nt.removeAttribute("for")}catch(ke){}}return!0})},xu=function(Z){let ct=null,Rt=null;if(G)Z="<remove></remove>"+Z;else{let ke=zu(Z,/^[\r\n\t ]+/);Rt=ke&&ke[0]}if(ss==="application/xhtml+xml"&&Mo===oi)Z='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+Z+"</body></html>";let Nt=_t?Lt(Z):Z;if(Mo===oi)try{ct=new x().parseFromString(Nt,ss)}catch(ke){}if(!ct||!ct.documentElement){ct=Wt.createDocument(Mo,"template",null);try{ct.documentElement.innerHTML=nl?xt:Nt}catch(ke){}}let ue=ct.body||ct.documentElement;if(Z&&Rt)ue.insertBefore(i.createTextNode(Rt),ue.childNodes[0]||null);if(Mo===oi)return ne.call(ct,mt?"html":"body")[0];return mt?ct.documentElement:ue},Fl=function(Z){let ct=st?st(Z):Z.ownerDocument;return Xt.call(ct||Z,Z,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},ga=function(Z){return Z=Fs(Z,te," "),Z=Fs(Z,ee," "),Z=Fs(Z,de," "),Z},Ml=function(Z){var ct;Cu(Z);let Rt=(ct=Z.querySelectorAll)===null||ct===void 0?void 0:ct.call(Z,"template");if(Rt)bi(Rt,(Nt)=>{if(Ii(Nt.content))Ml(Nt.content)})},Cu=function(Z){Z.normalize();let ct=st?st(Z):Z.ownerDocument,Rt=Xt.call(ct||Z,Z,d.SHOW_TEXT|d.SHOW_COMMENT|d.SHOW_CDATA_SECTION|d.SHOW_PROCESSING_INSTRUCTION,null),Nt=Rt.nextNode();while(Nt)Nt.data=ga(Nt.data),Nt=Rt.nextNode()},ma=function(Z){let ct=J?J(Z):null;if(typeof ct!=="string")return!1;if(je(ct)!=="form")return!1;return typeof Z.nodeName!=="string"||typeof Z.textContent!=="string"||typeof Z.removeChild!=="function"||Z.attributes!==V(Z)||typeof Z.removeAttribute!=="function"||typeof Z.removeAttributeNode!=="function"||typeof Z.getAttributeNode!=="function"||typeof Z.setAttribute!=="function"||typeof Z.namespaceURI!=="string"||typeof Z.insertBefore!=="function"||typeof Z.hasChildNodes!=="function"||Z.nodeType!==Q(Z)||Z.childNodes!==P(Z)},Ii=function(Z){if(!Q||typeof Z!=="object"||Z===null)return!1;try{return Q(Z)===Ze.documentFragment}catch(ct){return!1}},as=function(Z){if(!Q||typeof Z!=="object"||Z===null)return!1;try{return typeof Q(Z)==="number"}catch(ct){return!1}};function Vr(Yt,Z,ct){if(Yt.length===0)return;bi(Yt,(Rt)=>{Rt.call(t,Z,ct,Oo)})}let Px=function(Z,ct){if(B&&Z.hasChildNodes()&&!as(Z.firstElementChild)&&sr(Ul,Z.textContent)&&sr(Ul,Z.innerHTML))return!0;if(B&&I0[ct]&&lt(Z)===Ze.element&&wt(Z)===oi&&(as(Z.firstElementChild)||typeof Z.textContent==="string"&&sr(Ul,Z.textContent)))return!0;if(Z.nodeType===Ze.processingInstruction)return!0;if(B&&Z.nodeType===Ze.comment&&sr(Zu,Z.data))return!0;return!1},ya=function(Z,ct){if(Z instanceof RegExp)return sr(Z,ct);if(Z instanceof Function){for(var Rt=arguments.length,Nt=Array(Rt>2?Rt-2:0),ue=2;ue<Rt;ue++)Nt[ue-2]=arguments[ue];return Boolean(Z(ct,...Nt))}return!1},Rx=function(Z,ct,Rt){if(!zr[ct]&&Su(ct)&&ya(or.tagNameCheck,ct))return!1;if(Gt&&!ge[ct]&&!ge[Yi(ct)]){let Nt=W(Z),ue=P(Z);if(ue&&Nt){let ke=ue.length;for(let Le=ke-1;Le>=0;--Le){let tr=Z===Rt?T(ue[Le],!0):ue[Le];Nt.insertBefore(tr,E(Z))}}}return Oi(Z),!0},bu=function(Z,ct,Rt,Nt){if(Z.length===0)return ct;return ct===Rt||ct===Nt?Or(ct):ct},Do=function(Z,ct){if(Z===ct||W(Z)!==null)return!1;if(ie)Ll(Z);return!0},El=function(Z,ct){if($x(Z),Vr(zt.beforeSanitizeElements,Z,null),Do(Z,ct))return!0;if(ma(Z))return Oi(Z),!0;let Rt=je(pt(Z));if(Re=bu(zt.uponSanitizeElement,Re,Mr,Dt),Vr(zt.uponSanitizeElement,Z,{tagName:Rt,allowedTags:Re}),Do(Z,ct))return!0;if(Px(Z,Rt))return Oi(Z),!0;if(zr[Rt]||!(Cr.tagCheck instanceof Function&&Cr.tagCheck(Rt))&&!Re[Rt]){let Nt=Rx(Z,Rt,ct);if(Nt===!1){if(Vr(zt.afterSanitizeElements,Z,null),Do(Z,ct))return!0}return Nt}if(lt(Z)===Ze.element&&!Fx(Z))return Oi(Z),!0;if((Rt==="noscript"||Rt==="noembed"||Rt==="noframes")&&sr(O0,Z.innerHTML))return Oi(Z),!0;if(kr&&Z.nodeType===Ze.text){let Nt=ga(Z.textContent);if(Z.textContent!==Nt)us(t.removed,{element:Z.cloneNode()}),Z.textContent=Nt}return Vr(zt.afterSanitizeElements,Z,null),Do(Z,ct)},ku=function(Z,ct,Rt){if(Fi[ct])return!1;if(yu(ct,Z))return!1;if(Ut&&(ct==="id"||ct==="name")&&((Rt in i)||(Rt in _x)))return!1;let Nt=$e[ct]||Cr.attributeCheck instanceof Function&&Cr.attributeCheck(ct,Z);if(mi&&sr(me,ct))return!0;if(Er&&sr(Te,ct))return!0;if(!Nt)return Su(Z)&&ya(or.tagNameCheck,Z)&&ya(or.attributeNameCheck,ct,Z)||ct==="is"&&or.allowCustomizedBuiltInElements&&ya(or.tagNameCheck,Rt);if(Ei[ct])return!0;if(sr(Ai,Fs(Rt,gi,"")))return!0;if((ct==="src"||ct==="xlink:href"||ct==="href")&&Z!=="script"&&Hu(Rt,"data:")===0&&Gr[Z])return!0;if(ii&&!sr(Ve,Fs(Rt,gi,"")))return!0;return!Rt},Nx=Oe({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Su=function(Z){return!Nx[Yi(Z)]&&sr(qr,Z)},qx=function(Z,ct,Rt,Nt){if(_t&&typeof f==="object"&&typeof f.getAttributeType==="function"&&!Rt)switch(f.getAttributeType(Z,ct)){case"TrustedHTML":return Lt(Nt);case"TrustedScriptURL":return Et(Nt)}return Nt},Wx=function(Z,ct,Rt,Nt){try{if(Rt)Z.setAttributeNS(Rt,ct,Nt);else Z.setAttribute(ct,Nt);if(ma(Z))return Oi(Z),!1;return!0}catch(ue){return $o(ct,Z),!1}},Tu=function(Z,ct){if(B&&sr(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,ct))return!0;return Yi(Z)==="attributename"&&zu(ct,"href")!==null},Ol=function(Z,ct){if(Vr(zt.beforeSanitizeAttributes,Z,null),Do(Z,ct))return;let Rt=Z.attributes;if(!Rt||ma(Z))return;$e=bu(zt.uponSanitizeAttribute,$e,ri,Mt);let Nt={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:$e,forceKeepAttr:void 0},ue=Rt.length,ke=je(Z.nodeName);while(ue--){let Le=Rt[ue],{name:tr,namespaceURI:si,value:Sr}=Le,Br=je(tr),Po=Sr,_r=tr==="value"?Po:g0(Po),wu=!1;if(Nt.attrName=Br,Nt.attrValue=_r,Nt.keepAttr=!0,Nt.forceKeepAttr=void 0,Vr(zt.uponSanitizeAttribute,Z,Nt),_r=Nt.attrValue,jt&&(Br==="id"||Br==="name")&&Hu(_r,Ot)!==0)$o(tr,Z,Le),_r=Ot+_r,wu=!0;if(Tu(tr,_r)){$o(tr,Z,Le);continue}if(Nt.forceKeepAttr)continue;if(!Nt.keepAttr){$o(tr,Z,Le);continue}if(!yi&&sr(Qu,_r)){$o(tr,Z,Le);continue}if(kr)_r=ga(_r);if(!ku(ke,Br,_r)){$o(tr,Z,Le);continue}if(_r=qx(ke,Br,si,_r),_r!==Po){if(Wx(Z,tr,si,_r)&&wu)Wu(t.removed)}}Vr(zt.afterSanitizeAttributes,Z,null),Do(Z,ct)},ns=function(Z){let ct=null,Rt=Fl(Z);Vr(zt.beforeSanitizeShadowDOM,Z,null);while(ct=Rt.nextNode()){if(Vr(zt.uponSanitizeShadowNode,ct,null),El(ct,Z),Ol(ct,Z),Ii(ct.content))ns(ct.content);if(lt(ct)===Ze.element){let Nt=H(ct);if(Ii(Nt))Il(Nt),ns(Nt)}}if(kr)Cu(Z);Vr(zt.afterSanitizeShadowDOM,Z,null)},Il=function(Z){let ct=[{node:Z,shadow:null}];while(ct.length>0){let Rt=ct.pop();if(Rt.shadow){ns(Rt.shadow);continue}let Nt=Rt.node,ue=lt(Nt)===Ze.element,ke=P(Nt);if(ke)for(let Le=ke.length-1;Le>=0;--Le)ct.push({node:ke[Le],shadow:null});if(ue){let Le=J?J(Nt):null;if(typeof Le==="string"&&je(Le)==="template"){let tr=Nt.content;if(Ii(tr))ct.push({node:tr,shadow:null})}}if(ue){let Le=H(Nt);if(Ii(Le))ct.push({node:null,shadow:Le},{node:Le,shadow:null})}}};return t.sanitize=function(Yt){let Z=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ct=null,Rt=null,Nt=null,ue=null;if(nl=!Yt,nl)Yt="<!-->";if(typeof Yt!=="string"&&!as(Yt)){if(Yt=C0(Yt),typeof Yt!=="string")throw ki("dirty is not a string, aborting")}if(!t.isSupported)return Yt;if(It)Re=Dt,$e=Mt;else Sl(Z);if(zt.uponSanitizeElement.length>0||zt.uponSanitizeAttribute.length>0)Re=Or(Re);if(zt.uponSanitizeAttribute.length>0)$e=Or($e);t.removed=[];let ke=ie&&typeof Yt!=="string"&&as(Yt),Le=[],tr=se;if(ke){Dx(Yt);let Br=pt(Yt);if(typeof Br==="string"){let Po=je(Br);if(!Re[Po]||zr[Po])throw Bl(Yt),ki("root node is forbidden and cannot be sanitized in-place")}if(ma(Yt))throw Bl(Yt),ki("root node is clobbered and cannot be sanitized in-place");Le=Al(Yt),se=Rl()}else if(as(Yt)){if(ct=xu("<!---->"),Rt=ct.ownerDocument.importNode(Yt,!0),Rt.nodeType===Ze.element&&Rt.nodeName==="BODY")ct=Rt;else if(Rt.nodeName==="HTML")ct=Rt;else ct.appendChild(Rt);Il(ct)}else{if(!vt&&!kr&&!mt&&Yt.indexOf("<")===-1)return _t&&Ht?Lt(Yt):Yt;if(ct=xu(Yt),!ct)return vt?null:Ht?xt:""}if(ct&&G)Oi(ct.firstChild);let si=ke?Yt:ct;try{if(ke)Il(Yt);let Br=Fl(si);while(Nt=Br.nextNode())if(El(Nt,si),Ol(Nt,si),Ii(Nt.content))ns(Nt.content);if(ke)Ox(Yt,Le)}catch(Br){if(ke)Bl(Yt),mu(Yt,Le);throw Br}finally{se=tr}if(ke){if(mu(Yt,Le))throw ki("a node selected for removal could not be safely returned; refusing to sanitize in place");if(kr)Ml(Yt);return Yt}if(vt){if(kr)Ml(ct);if(At){ue=oe.call(ct.ownerDocument);while(ct.firstChild)ue.appendChild(ct.firstChild)}else ue=ct;if($e.shadowroot||$e.shadowrootmode)ue=Kt.call(s,ue,!0);return ue}let Sr=mt?ct.outerHTML:ct.innerHTML;if(mt&&Re["!doctype"]&&ct.ownerDocument&&ct.ownerDocument.doctype&&ct.ownerDocument.doctype.name&&sr(M0,ct.ownerDocument.doctype.name))Sr="<!DOCTYPE "+ct.ownerDocument.doctype.name+`>
3
3
  `+Sr;if(kr)Sr=ga(Sr);return _t&&Ht?Lt(Sr):Sr},t.setConfig=function(){let Yt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Sl(Yt),It=!0,Dt=Re,Mt=$e},t.clearConfig=function(){Oo=null,It=!1,Dt=null,Mt=null,_t=et,xt=""},t.isValidAttribute=function(Yt,Z,ct){if(!Oo)Sl({});let Rt=je(Yt),Nt=je(Z);if(typeof ct==="string"&&(Tu(Z,ct)||!yi&&sr(Qu,ct)))return!1;return ku(Rt,Nt,ct)},t.addHook=function(Yt,Z){if(typeof Z!=="function")return;if(!vr(zt,Yt))return;us(zt[Yt],Z)},t.removeHook=function(Yt,Z){if(!vr(zt,Yt))return;if(Z!==void 0){let ct=d0(zt[Yt],Z);return ct===-1?void 0:f0(zt[Yt],ct,1)[0]}return Wu(zt[Yt])},t.removeHooks=function(Yt){if(!vr(zt,Yt))return;zt[Yt]=[]},t.removeAllHooks=function(){zt=Ju()},t}var Pe=sd();var qo=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,za=/\s/,P0=e((r)=>{let t="",i=0,s=0;while(s<r.length){let o=r.indexOf("%%",s);if(o===-1)break;let a=r.indexOf(`
4
4
  `,o);if(a===-1)break;let c=o;while(c>i&&za.test(r[c-1]))c--;t+=r.slice(i,c)+`
@@ -299,5 +299,5 @@ ${o.join(`
299
299
  L0,20`)},"requirement_arrow"),VT=e((r,t,i)=>{let s=k(),{themeVariables:o}=s,{strokeWidth:a}=o;r.append("defs").append("marker").attr("id",i+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${a}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0
300
300
  L20,10
301
301
  M20,10
302
- L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),KT=e((r,t,i)=>{let s=r.append("defs").append("marker").attr("id",i+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");s.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),s.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),s.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),ZT=e((r,t,i)=>{let s=k(),{themeVariables:o}=s,{strokeWidth:a}=o,c=r.append("defs").append("marker").attr("id",i+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");c.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),c.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),c.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),c.selectAll("*").attr("stroke-width",`${a}`)},"requirement_contains_neo"),QT=e((r,t,i)=>{r.append("marker").attr("id",i+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",i+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),JT=e((r,t,i)=>{r.append("marker").attr("id",i+"_"+t+"-openArrowEnd").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",11).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1 1 L 11 6 L 1 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",i+"_"+t+"-openArrowStart").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",1).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 11 1 L 1 6 L 11 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none")},"openArrow"),tw=e((r,t,i)=>{r.append("marker").attr("id",i+"_"+t+"-hollowCircleStart").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",i+"_"+t+"-hollowCircleEnd").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none")},"hollowCircle"),ew={extension:FT,composition:MT,aggregation:ET,dependency:OT,lollipop:IT,point:$T,circle:DT,cross:PT,barb:RT,barbNeo:NT,hierarchy:QT,only_one:qT,zero_or_one:WT,one_or_more:zT,zero_or_more:HT,only_one_neo:YT,zero_or_one_neo:UT,one_or_more_neo:jT,zero_or_more_neo:GT,requirement_arrow:XT,requirement_contains:KT,requirement_arrow_neo:VT,requirement_contains_neo:ZT,openArrow:JT,hollowCircle:tw},xn=AT;var rw={common:y,getConfig:k,insertCluster:gr,insertEdge:br,insertEdgeLabel:$t,insertMarkers:xn,insertNode:Ft,interpolateToCurve:Fn,labelHelper:U,log:n,positionEdgeLabel:yn},iw=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],da=Object.create(null),Is=e((r)=>{for(let t of r)da[t.name]=t},"registerLayoutLoaders"),ow=e(()=>{let r=e(async()=>await (_("dx61etan"),import("./elk-O5DQBFGD.dx61etan.js")),"loader");return[{name:"elk",loader:r,algorithm:"elk.layered"},...iw.map((t)=>({name:t,loader:r,algorithm:t}))]},"elkLayoutLoaders"),sw=e(()=>{Is([{name:"dagre",loader:e(async()=>await (_("702bqbr9"),import("./dagre-KIHZ2IZ3.702bqbr9.js")),"loader")},{name:"swimlane",loader:e(async()=>await (_("dtnjb4xt"),import("./swimlanes-YQL5WMAO.dtnjb4xt.js")),"loader")},{name:"grid",loader:e(async()=>await (_("76pgtn2n"),import("./grid-E2QIVN74.76pgtn2n.js")),"loader")},{name:"layered",loader:e(async()=>await (_("w5ytncsg"),import("./render-VIF2ZAQL.w5ytncsg.js")),"loader")},{name:"cose-bilkent",loader:e(async()=>await (_("azq9k24r"),import("./cose-bilkent-JH36ORCC.azq9k24r.js")),"loader")},...ow()])},"registerDefaultLayoutLoaders");sw();var Ae=e(async(r,t)=>{if(!Object.hasOwn(da,r.layoutAlgorithm))throw Error(`Unknown layout algorithm: ${r.layoutAlgorithm}`);if(r.diagramId)for(let a of r.nodes){let c=a.domId||a.id;a.domId=`${r.diagramId}-${c}`}let i=da[r.layoutAlgorithm],s=await i.loader();no(t,r.config);let o=await s.render(r,t,rw,{algorithm:i.algorithm});return sx(t.node()),o},"render"),nu="dagre",_e=e((r="",{fallback:t=nu}={})=>{if(Object.hasOwn(da,r))return r;for(let i of[t,nu])if(Object.hasOwn(da,i))return n.warn(`Layout algorithm ${r} is not registered. Using ${i} as fallback.`),i;throw Error(`Neither layout algorithm ${r}, ${t}, nor ${nu} is registered.`)},"getRegisteredLayoutAlgorithm");
302
+ L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),KT=e((r,t,i)=>{let s=r.append("defs").append("marker").attr("id",i+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");s.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),s.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),s.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),ZT=e((r,t,i)=>{let s=k(),{themeVariables:o}=s,{strokeWidth:a}=o,c=r.append("defs").append("marker").attr("id",i+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");c.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),c.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),c.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),c.selectAll("*").attr("stroke-width",`${a}`)},"requirement_contains_neo"),QT=e((r,t,i)=>{r.append("marker").attr("id",i+"_"+t+"-hierarchyEnd").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 0 0 L 6 5 L 0 10 M 4 0 L 10 5 L 4 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",i+"_"+t+"-hierarchyStart").attr("class","marker hierarchy "+t).attr("viewBox","0 0 12 10").attr("refX",2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",10).attr("orient","auto").append("path").attr("d","M 12 0 L 6 5 L 12 10 M 8 0 L 2 5 L 8 10").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0").style("fill","none")},"hierarchy"),JT=e((r,t,i)=>{r.append("marker").attr("id",i+"_"+t+"-openArrowEnd").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",11).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1 1 L 11 6 L 1 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",i+"_"+t+"-openArrowStart").attr("class","marker openArrow "+t).attr("viewBox","0 0 12 12").attr("refX",1).attr("refY",6).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 11 1 L 1 6 L 11 11").attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-linecap","round").style("stroke-linejoin","round").style("stroke-dasharray","1,0").style("fill","none")},"openArrow"),tw=e((r,t,i)=>{r.append("marker").attr("id",i+"_"+t+"-hollowCircleStart").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none"),r.append("marker").attr("id",i+"_"+t+"-hollowCircleEnd").attr("class","marker hollowCircle "+t).attr("viewBox","0 0 10 10").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10).attr("markerHeight",10).attr("orient","auto").append("circle").attr("cx",5).attr("cy",5).attr("r",3.6).attr("class","arrowMarkerPath").style("stroke-width",1.4).style("stroke-dasharray","1,0").style("fill","none")},"hollowCircle"),ew={extension:FT,composition:MT,aggregation:ET,dependency:OT,lollipop:IT,point:$T,circle:DT,cross:PT,barb:RT,barbNeo:NT,hierarchy:QT,only_one:qT,zero_or_one:WT,one_or_more:zT,zero_or_more:HT,only_one_neo:YT,zero_or_one_neo:UT,one_or_more_neo:jT,zero_or_more_neo:GT,requirement_arrow:XT,requirement_contains:KT,requirement_arrow_neo:VT,requirement_contains_neo:ZT,openArrow:JT,hollowCircle:tw},xn=AT;var rw={common:y,getConfig:k,insertCluster:gr,insertEdge:br,insertEdgeLabel:$t,insertMarkers:xn,insertNode:Ft,interpolateToCurve:Fn,labelHelper:U,log:n,positionEdgeLabel:yn},iw=["elk.stress","elk.force","elk.mrtree","elk.sporeOverlap","elk.box","elk.rectpacking"],da=Object.create(null),Is=e((r)=>{for(let t of r)da[t.name]=t},"registerLayoutLoaders"),ow=e(()=>{let r=e(async()=>await (_("a5rqryhg"),import("./elk-O5DQBFGD.a5rqryhg.js")),"loader");return[{name:"elk",loader:r,algorithm:"elk.layered"},...iw.map((t)=>({name:t,loader:r,algorithm:t}))]},"elkLayoutLoaders"),sw=e(()=>{Is([{name:"dagre",loader:e(async()=>await (_("sqeg911s"),import("./dagre-KIHZ2IZ3.sqeg911s.js")),"loader")},{name:"swimlane",loader:e(async()=>await (_("r6vmskrb"),import("./swimlanes-YQL5WMAO.r6vmskrb.js")),"loader")},{name:"grid",loader:e(async()=>await (_("frpdy6t3"),import("./grid-E2QIVN74.frpdy6t3.js")),"loader")},{name:"layered",loader:e(async()=>await (_("khtqjmgm"),import("./render-VIF2ZAQL.khtqjmgm.js")),"loader")},{name:"cose-bilkent",loader:e(async()=>await (_("qam7r9b1"),import("./cose-bilkent-JH36ORCC.qam7r9b1.js")),"loader")},...ow()])},"registerDefaultLayoutLoaders");sw();var Ae=e(async(r,t)=>{if(!Object.hasOwn(da,r.layoutAlgorithm))throw Error(`Unknown layout algorithm: ${r.layoutAlgorithm}`);if(r.diagramId)for(let a of r.nodes){let c=a.domId||a.id;a.domId=`${r.diagramId}-${c}`}let i=da[r.layoutAlgorithm],s=await i.loader();no(t,r.config);let o=await s.render(r,t,rw,{algorithm:i.algorithm});return sx(t.node()),o},"render"),nu="dagre",_e=e((r="",{fallback:t=nu}={})=>{if(Object.hasOwn(da,r))return r;for(let i of[t,nu])if(Object.hasOwn(da,i))return n.warn(`Layout algorithm ${r} is not registered. Using ${i} as fallback.`),i;throw Error(`Neither layout algorithm ${r}, ${t}, nor ${nu} is registered.`)},"getRegisteredLayoutAlgorithm");
303
303
  export{e,dr,Qi,n,Sa,be,gt,ae,Qn,h,p,Pe,ds,fs,Wr,Zn,Zi,dl,fe,Me,fr,F,Ea,Aa,Lr,Ir,hs,Rr,kt,Ji,fl,hl,pl,ps,ms,k,ml,Jn,gl,Ne,hn,q,gs,hr,Ce,ea,ta,y,j,Tt,eo,bl,to,A,L,R,I,M,D,O,u,Pt,Kr,ra,_a,ro,m,Qt,pr,La,vl,Y,ut,dt,no,Ia,C,Ra,ve,he,pe,Ct,tt,rt,bs,mr,nt,pn,Yr,mn,ao,Ma,Na,Oa,Da,io,oo,so,lo,co,uo,fo,ho,po,mo,go,bo,vo,yo,xo,wo,ko,gn,Zt,na,Pa,To,vs,yl,Co,ys,xs,Xr,Ba,at,Fa,So,ws,Qe,K,z,xl,Jt,We,Eo,Ao,ks,Be,g,U,N,_o,S,$a,aa,Bt,Ft,wl,kl,St,Ts,gr,Tl,we,Lo,Cs,bn,Ss,Es,Qr,As,Io,ia,vn,Ue,Cl,_s,$t,Ls,yn,br,xn,Is,Ae,_e};
@@ -1,4 +1,4 @@
1
- import{e,n,Me,k,q,j,A,u,Y}from"./index.a1bxkgd3.js";var M="",O="",D="",E=[],b=new Map,S=e((t)=>q(t,u()),"sanitizeText"),R=e((t)=>{switch(t.type){case"terminal":return{...t,value:S(t.value)};case"nonterminal":return{...t,name:S(t.name)};case"sequence":return{...t,elements:t.elements.map(R)};case"choice":return{...t,alternatives:t.alternatives.map(R)};case"optional":return{...t,element:R(t.element)};case"repetition":return{...t,element:R(t.element),separator:t.separator?R(t.separator):void 0};case"special":return{...t,text:S(t.text)}}},"sanitizeAstNode"),G=e(()=>{M="",O="",D="",E.length=0,b.clear(),A(),n.debug("[Railroad] Database cleared")},"clear"),P=e((t)=>{M=S(t),n.debug("[Railroad] Title set:",t)},"setTitle"),L=e(()=>M,"getTitle"),U=e((t)=>{let a={...t,name:S(t.name),definition:R(t.definition),comment:t.comment?S(t.comment):void 0};if(n.debug("[Railroad] Adding rule:",a.name),b.has(a.name))n.warn(`[Railroad] Rule '${a.name}' is already defined. Overwriting.`);E.push(a),b.set(a.name,a)},"addRule"),K=e(()=>E,"getRules"),J=e((t)=>b.get(t),"getRule"),Q=e((t)=>{O=S(t).replace(/^\s+/g,""),n.debug("[Railroad] Accessibility title set:",t)},"setAccTitle"),Z=e(()=>O,"getAccTitle"),V=e((t)=>{D=S(t).replace(/\n\s+/g,`
1
+ import{e,n,Me,k,q,j,A,u,Y}from"./index.yfbwd99n.js";var M="",O="",D="",E=[],b=new Map,S=e((t)=>q(t,u()),"sanitizeText"),R=e((t)=>{switch(t.type){case"terminal":return{...t,value:S(t.value)};case"nonterminal":return{...t,name:S(t.name)};case"sequence":return{...t,elements:t.elements.map(R)};case"choice":return{...t,alternatives:t.alternatives.map(R)};case"optional":return{...t,element:R(t.element)};case"repetition":return{...t,element:R(t.element),separator:t.separator?R(t.separator):void 0};case"special":return{...t,text:S(t.text)}}},"sanitizeAstNode"),G=e(()=>{M="",O="",D="",E.length=0,b.clear(),A(),n.debug("[Railroad] Database cleared")},"clear"),P=e((t)=>{M=S(t),n.debug("[Railroad] Title set:",t)},"setTitle"),L=e(()=>M,"getTitle"),U=e((t)=>{let a={...t,name:S(t.name),definition:R(t.definition),comment:t.comment?S(t.comment):void 0};if(n.debug("[Railroad] Adding rule:",a.name),b.has(a.name))n.warn(`[Railroad] Rule '${a.name}' is already defined. Overwriting.`);E.push(a),b.set(a.name,a)},"addRule"),K=e(()=>E,"getRules"),J=e((t)=>b.get(t),"getRule"),Q=e((t)=>{O=S(t).replace(/^\s+/g,""),n.debug("[Railroad] Accessibility title set:",t)},"setAccTitle"),Z=e(()=>O,"getAccTitle"),V=e((t)=>{D=S(t).replace(/\n\s+/g,`
2
2
  `),n.debug("[Railroad] Accessibility description set:",t)},"setAccDescription"),ee=e(()=>D,"getAccDescription"),te=P,re=L,ce={clear:G,setTitle:P,getTitle:L,addRule:U,getRules:K,getRule:J,setAccTitle:Q,getAccTitle:Z,setAccDescription:V,getAccDescription:ee,setDiagramTitle:te,getDiagramTitle:re},T={compactMode:!1,padding:10,verticalSeparation:8,horizontalSeparation:10,arcRadius:10,fontSize:14,fontFamily:"monospace",terminalFill:"#FFFFC0",terminalStroke:"#000000",terminalTextColor:"#000000",nonTerminalFill:"#FFFFFF",nonTerminalStroke:"#000000",nonTerminalTextColor:"#000000",lineColor:"#000000",strokeWidth:2,markerFill:"#000000",commentFill:"#E8E8E8",commentStroke:"#888888",commentTextColor:"#666666",specialFill:"#F0E0FF",specialStroke:"#8800CC",ruleNameColor:"#000066",showMarkers:!0,markerRadius:5},ie=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$|^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch)\([\d\s%+,./-]+\)$|^[a-z]+$/i,ne=/^[\w "',.-]+$/,ae=new Set(["compactMode","padding","verticalSeparation","horizontalSeparation","arcRadius","fontSize","fontFamily","terminalFill","terminalStroke","terminalTextColor","nonTerminalFill","nonTerminalStroke","nonTerminalTextColor","lineColor","strokeWidth","markerFill","commentFill","commentStroke","commentTextColor","specialFill","specialStroke","ruleNameColor","showMarkers","markerRadius"]),I=e((t)=>{if(!t)return!1;return Object.keys(t).every((a)=>a==="railroad"||ae.has(a))},"isRailroadStyleOptions"),oe=e((t)=>{if(!t)return{};if("railroad"in t&&t.railroad)return t.railroad;return I(t)?t:{}},"extractRailroadOverrides"),le=e((t)=>{if(!t||I(t))return{};let{railroad:a,svgId:l,theme:i,look:r,...o}=t;return o},"extractThemeOverrides"),p=e((t,a)=>{if(typeof t!=="string")return a;let l=t.trim();return ie.test(l)?l:a},"sanitizeColorValue"),X=e((t,a)=>{if(typeof t!=="string")return a;let l=t.trim();return ne.test(l)?l:a},"sanitizeFontFamilyValue"),y=e((t,a)=>{let l=typeof t==="number"?t:typeof t==="string"?Number.parseFloat(t):Number.NaN;return Number.isFinite(l)&&l>=0?l:a},"sanitizeNumberValue"),se=e((t)=>{let a=typeof t==="number"?t:typeof t==="string"?Number.parseFloat(t):Number.NaN;return Number.isFinite(a)&&a>0?a:void 0},"parseThemeFontSize"),de=e((t)=>{let a=X(t.fontFamily,T.fontFamily),l=se(t.fontSize)??T.fontSize;return{...T,fontFamily:a,fontSize:l,terminalFill:p(t.secondBkg??t.secondaryColor,T.terminalFill),terminalStroke:p(t.secondaryBorderColor??t.lineColor,T.terminalStroke),terminalTextColor:p(t.secondaryTextColor??t.textColor,T.terminalTextColor),nonTerminalFill:p(t.mainBkg??t.background,T.nonTerminalFill),nonTerminalStroke:p(t.primaryBorderColor??t.lineColor,T.nonTerminalStroke),nonTerminalTextColor:p(t.primaryTextColor??t.textColor,T.nonTerminalTextColor),lineColor:p(t.lineColor,T.lineColor),markerFill:p(t.lineColor,T.markerFill),commentFill:p(t.labelBackground??t.tertiaryColor,T.commentFill),commentStroke:p(t.tertiaryBorderColor??t.lineColor,T.commentStroke),commentTextColor:p(t.tertiaryTextColor??t.textColor,T.commentTextColor),specialFill:p(t.tertiaryColor??t.secondaryColor,T.specialFill),specialStroke:p(t.tertiaryBorderColor??t.secondaryBorderColor,T.specialStroke),ruleNameColor:p(t.titleColor??t.textColor,T.ruleNameColor)}},"buildThemeDefaults"),W=e((t)=>{let a=k(),l={...Me(),...a.themeVariables??{},...le(t)},i=de(l),r={...a.railroad??{},...oe(t)};return{compactMode:r.compactMode??i.compactMode,padding:y(r.padding,i.padding),verticalSeparation:y(r.verticalSeparation,i.verticalSeparation),horizontalSeparation:y(r.horizontalSeparation,i.horizontalSeparation),arcRadius:y(r.arcRadius,i.arcRadius),fontSize:y(r.fontSize,i.fontSize),fontFamily:X(r.fontFamily,i.fontFamily),terminalFill:p(r.terminalFill,i.terminalFill),terminalStroke:p(r.terminalStroke,i.terminalStroke),terminalTextColor:p(r.terminalTextColor,i.terminalTextColor),nonTerminalFill:p(r.nonTerminalFill,i.nonTerminalFill),nonTerminalStroke:p(r.nonTerminalStroke,i.nonTerminalStroke),nonTerminalTextColor:p(r.nonTerminalTextColor,i.nonTerminalTextColor),lineColor:p(r.lineColor,i.lineColor),strokeWidth:y(r.strokeWidth,i.strokeWidth),markerFill:p(r.markerFill,i.markerFill),commentFill:p(r.commentFill,i.commentFill),commentStroke:p(r.commentStroke,i.commentStroke),commentTextColor:p(r.commentTextColor,i.commentTextColor),specialFill:p(r.specialFill,i.specialFill),specialStroke:p(r.specialStroke,i.specialStroke),ruleNameColor:p(r.ruleNameColor,i.ruleNameColor),showMarkers:r.showMarkers??i.showMarkers,markerRadius:y(r.markerRadius,i.markerRadius)}},"buildRailroadStyleOptions"),Gt=e((t)=>{let{fontFamily:a,fontSize:l,terminalFill:i,terminalStroke:r,terminalTextColor:o,nonTerminalFill:g,nonTerminalStroke:c,nonTerminalTextColor:s,lineColor:f,strokeWidth:h,markerFill:m,commentFill:C,commentStroke:d,commentTextColor:x,specialFill:z,specialStroke:F,ruleNameColor:v}=W(t);return`
3
3
  .railroad-diagram {
4
4
  font-family: ${a};
@@ -0,0 +1 @@
1
+ import{Jo}from"./index.d8b8y928.js";export{Jo as createInfoServices};
@@ -1,2 +1,2 @@
1
- import{e,n,j,Y}from"./index.a1bxkgd3.js";import{se}from"./index.7gxz6d1f.js";var i={parse:e(async(r)=>{let t=await se("info",r);n.debug(t)},"parse")},s={version:"12.4.0"},p=e(()=>s.version,"getVersion"),g={getVersion:p},m=e((r,t,o)=>{n.debug(`rendering info diagram
1
+ import{e,n,j,Y}from"./index.yfbwd99n.js";import{se}from"./index.d8b8y928.js";var i={parse:e(async(r)=>{let t=await se("info",r);n.debug(t)},"parse")},s={version:"12.4.0"},p=e(()=>s.version,"getVersion"),g={getVersion:p},m=e((r,t,o)=>{n.debug(`rendering info diagram
2
2
  `+r);let a=Y(t);j(a,100,400,!0),a.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${o}`)},"draw"),v={draw:m},y={parser:i,db:g,renderer:v};export{y as diagram};
@@ -1,4 +1,4 @@
1
- import{e,y,j,A,L,R,I,M,D,O,u,Y,Qe,g}from"./index.a1bxkgd3.js";var dt=function(){var t=e(function(z,i,n,s){for(n=n||{},s=z.length;s--;n[z[s]]=i);return n},"o"),f=[1,4],r=[1,14],l=[1,12],o=[1,13],p=[6,7,8],m=[1,20],d=[1,18],x=[1,19],c=[6,7,11],_=[1,6,13,14],b=[1,23],S=[1,24],E=[1,6,7,11,13,14],U={trace:e(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:e(function(i,n,s,h,k,a,T){var v=a.length-1;switch(k){case 6:case 7:return h;case 15:h.addNode(a[v-1].length,a[v].trim());break;case 16:h.addNode(0,a[v].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:f},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:f},{6:r,7:[1,10],9:9,12:11,13:l,14:o},t(p,[2,3]),{1:[2,2]},t(p,[2,4]),t(p,[2,5]),{1:[2,6],6:r,12:15,13:l,14:o},{6:r,9:16,12:11,13:l,14:o},{6:m,7:d,10:17,11:x},t(c,[2,18],{14:[1,21]}),t(c,[2,16]),t(c,[2,17]),{6:m,7:d,10:22,11:x},{1:[2,7],6:r,12:15,13:l,14:o},t(_,[2,14],{7:b,11:S}),t(E,[2,8]),t(E,[2,9]),t(E,[2,10]),t(c,[2,15]),t(_,[2,13],{7:b,11:S}),t(E,[2,11]),t(E,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:e(function(i,n){if(n.recoverable)this.trace(i);else{var s=Error(i);throw s.hash=n,s}},"parseError"),parse:e(function(i){var n=this,s=[0],h=[],k=[null],a=[],T=this.table,v="",V=0,P=0,C=0,W=2,X=1,rt=a.slice.call(arguments,1),w=Object.create(this.lexer),B={yy:{}};for(var q in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,q))B.yy[q]=this.yy[q];if(w.setInput(i,B.yy),B.yy.lexer=w,B.yy.parser=this,typeof w.yylloc>"u")w.yylloc={};var Q=w.yylloc;a.push(Q);var lt=w.options&&w.options.ranges;if(typeof B.yy.parseError==="function")this.parseError=B.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function xt(G){s.length=s.length-2*G,k.length=k.length-G,a.length=a.length-G}e(xt,"popStack");function yt(){var G=h.pop()||w.lex()||X;if(typeof G!=="number"){if(G instanceof Array)h=G,G=h.pop();G=n.symbols_[G]||G}return G}e(yt,"lex");var F,ot,J,H,Vt,ht,tt={},st,K,ft,nt;while(!0){if(J=s[s.length-1],this.defaultActions[J])H=this.defaultActions[J];else{if(F===null||typeof F>"u")F=yt();H=T[J]&&T[J][F]}if(typeof H>"u"||!H.length||!H[0]){var ct="";nt=[];for(st in T[J])if(this.terminals_[st]&&st>W)nt.push("'"+this.terminals_[st]+"'");if(w.showPosition)ct="Parse error on line "+(V+1)+`:
1
+ import{e,y,j,A,L,R,I,M,D,O,u,Y,Qe,g}from"./index.yfbwd99n.js";var dt=function(){var t=e(function(z,i,n,s){for(n=n||{},s=z.length;s--;n[z[s]]=i);return n},"o"),f=[1,4],r=[1,14],l=[1,12],o=[1,13],p=[6,7,8],m=[1,20],d=[1,18],x=[1,19],c=[6,7,11],_=[1,6,13,14],b=[1,23],S=[1,24],E=[1,6,7,11,13,14],U={trace:e(function(){},"trace"),yy:{},symbols_:{error:2,start:3,ishikawa:4,spaceLines:5,SPACELINE:6,NL:7,ISHIKAWA:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,TEXT:14,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"ISHIKAWA",11:"EOF",13:"SPACELIST",14:"TEXT"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,1],[12,1],[12,1]],performAction:e(function(i,n,s,h,k,a,T){var v=a.length-1;switch(k){case 6:case 7:return h;case 15:h.addNode(a[v-1].length,a[v].trim());break;case 16:h.addNode(0,a[v].trim());break}},"anonymous"),table:[{3:1,4:2,5:3,6:[1,5],8:f},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:f},{6:r,7:[1,10],9:9,12:11,13:l,14:o},t(p,[2,3]),{1:[2,2]},t(p,[2,4]),t(p,[2,5]),{1:[2,6],6:r,12:15,13:l,14:o},{6:r,9:16,12:11,13:l,14:o},{6:m,7:d,10:17,11:x},t(c,[2,18],{14:[1,21]}),t(c,[2,16]),t(c,[2,17]),{6:m,7:d,10:22,11:x},{1:[2,7],6:r,12:15,13:l,14:o},t(_,[2,14],{7:b,11:S}),t(E,[2,8]),t(E,[2,9]),t(E,[2,10]),t(c,[2,15]),t(_,[2,13],{7:b,11:S}),t(E,[2,11]),t(E,[2,12])],defaultActions:{2:[2,1],6:[2,2]},parseError:e(function(i,n){if(n.recoverable)this.trace(i);else{var s=Error(i);throw s.hash=n,s}},"parseError"),parse:e(function(i){var n=this,s=[0],h=[],k=[null],a=[],T=this.table,v="",V=0,P=0,C=0,W=2,X=1,rt=a.slice.call(arguments,1),w=Object.create(this.lexer),B={yy:{}};for(var q in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,q))B.yy[q]=this.yy[q];if(w.setInput(i,B.yy),B.yy.lexer=w,B.yy.parser=this,typeof w.yylloc>"u")w.yylloc={};var Q=w.yylloc;a.push(Q);var lt=w.options&&w.options.ranges;if(typeof B.yy.parseError==="function")this.parseError=B.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function xt(G){s.length=s.length-2*G,k.length=k.length-G,a.length=a.length-G}e(xt,"popStack");function yt(){var G=h.pop()||w.lex()||X;if(typeof G!=="number"){if(G instanceof Array)h=G,G=h.pop();G=n.symbols_[G]||G}return G}e(yt,"lex");var F,ot,J,H,Vt,ht,tt={},st,K,ft,nt;while(!0){if(J=s[s.length-1],this.defaultActions[J])H=this.defaultActions[J];else{if(F===null||typeof F>"u")F=yt();H=T[J]&&T[J][F]}if(typeof H>"u"||!H.length||!H[0]){var ct="";nt=[];for(st in T[J])if(this.terminals_[st]&&st>W)nt.push("'"+this.terminals_[st]+"'");if(w.showPosition)ct="Parse error on line "+(V+1)+`:
2
2
  `+w.showPosition()+`
3
3
  Expecting `+nt.join(", ")+", got '"+(this.terminals_[F]||F)+"'";else ct="Parse error on line "+(V+1)+": Unexpected "+(F==X?"end of input":"'"+(this.terminals_[F]||F)+"'");this.parseError(ct,{text:w.match,token:this.terminals_[F]||F,line:w.yylineno,loc:Q,expected:nt})}if(H[0]instanceof Array&&H.length>1)throw Error("Parse Error: multiple actions possible at state: "+J+", token: "+F);switch(H[0]){case 1:if(s.push(F),k.push(w.yytext),a.push(w.yylloc),s.push(H[1]),F=null,!ot){if(P=w.yyleng,v=w.yytext,V=w.yylineno,Q=w.yylloc,C>0)C--}else F=ot,ot=null;break;case 2:if(K=this.productions_[H[1]][1],tt.$=k[k.length-K],tt._$={first_line:a[a.length-(K||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(K||1)].first_column,last_column:a[a.length-1].last_column},lt)tt._$.range=[a[a.length-(K||1)].range[0],a[a.length-1].range[1]];if(ht=this.performAction.apply(tt,[v,P,V,B.yy,H[1],k,a].concat(rt)),typeof ht<"u")return ht;if(K)s=s.slice(0,-1*K*2),k=k.slice(0,-1*K),a=a.slice(0,-1*K);s.push(this.productions_[H[1]][0]),k.push(tt.$),a.push(tt._$),ft=T[s[s.length-2]][s[s.length-1]],s.push(ft);break;case 3:return!0}}return!0},"parse")},Z=function(){var z={EOF:1,parseError:e(function(n,s){if(this.yy.parser)this.yy.parser.parseError(n,s);else throw Error(n)},"parseError"),setInput:e(function(i,n){if(this.yy=n||this.yy||{},this._input=i,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:e(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var n=i.match(/(?:\r\n?|\n).*/g);if(n)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),i},"input"),unput:e(function(i){var n=i.length,s=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-n),this.offset-=n;var h=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1)this.yylineno-=s.length-1;var k=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===h.length?this.yylloc.first_column:0)+h[h.length-s.length].length-s[0].length:this.yylloc.first_column-n},this.options.ranges)this.yylloc.range=[k[0],k[0]+this.yyleng-n];return this.yyleng=this.yytext.length,this},"unput"),more:e(function(){return this._more=!0,this},"more"),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:e(function(i){this.unput(this.match.slice(i))},"less"),pastInput:e(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:e(function(){var i=this.match;if(i.length<20)i+=this._input.substr(0,20-i.length);return(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:e(function(){var i=this.pastInput(),n=Array(i.length+1).join("-");return i+this.upcomingInput()+`
@@ -1,4 +1,4 @@
1
- import{e,j,A,L,R,I,M,D,O,u,m,Qt}from"./index.a1bxkgd3.js";import{_r,Ca,ul,ct}from"./index.0e4s8r4m.js";import{Xe}from"./index.dnnzjw18.js";var nt=function(){var t=e(function(h,n,s,l){for(s=s||{},l=h.length;l--;s[h[l]]=n);return s},"o"),r=[6,8,10,11,12,14,16,17,18],a=[1,9],p=[1,10],i=[1,11],y=[1,12],g=[1,13],o=[1,14],x={trace:e(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:e(function(n,s,l,d,f,c,w){var _=c.length-1;switch(f){case 1:return c[_-1];case 2:this.$=[];break;case 3:c[_-1].push(c[_]),this.$=c[_-1];break;case 4:case 5:this.$=c[_];break;case 6:case 7:this.$=[];break;case 8:d.setDiagramTitle(c[_].substr(6)),this.$=c[_].substr(6);break;case 9:this.$=c[_].trim(),d.setAccTitle(this.$);break;case 10:case 11:this.$=c[_].trim(),d.setAccDescription(this.$);break;case 12:d.addSection(c[_].substr(8)),this.$=c[_].substr(8);break;case 13:d.addTask(c[_-1],c[_]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:p,14:i,16:y,17:g,18:o},t(r,[2,7],{1:[2,1]}),t(r,[2,3]),{9:15,11:a,12:p,14:i,16:y,17:g,18:o},t(r,[2,5]),t(r,[2,6]),t(r,[2,8]),{13:[1,16]},{15:[1,17]},t(r,[2,11]),t(r,[2,12]),{19:[1,18]},t(r,[2,4]),t(r,[2,9]),t(r,[2,10]),t(r,[2,13])],defaultActions:{},parseError:e(function(n,s){if(s.recoverable)this.trace(n);else{var l=Error(n);throw l.hash=s,l}},"parseError"),parse:e(function(n){var s=this,l=[0],d=[],f=[null],c=[],w=this.table,_="",B=0,ot=0,ht=0,vt=2,ut=1,wt=c.slice.call(arguments,1),v=Object.create(this.lexer),z={yy:{}};for(var K in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,K))z.yy[K]=this.yy[K];if(v.setInput(n,z.yy),z.yy.lexer=v,z.yy.parser=this,typeof v.yylloc>"u")v.yylloc={};var Q=v.yylloc;c.push(Q);var Tt=v.options&&v.options.ranges;if(typeof z.yy.parseError==="function")this.parseError=z.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function St(E){l.length=l.length-2*E,f.length=f.length-E,c.length=c.length-E}e(St,"popStack");function yt(){var E=d.pop()||v.lex()||ut;if(typeof E!=="number"){if(E instanceof Array)d=E,E=d.pop();E=s.symbols_[E]||E}return E}e(yt,"lex");var T,tt,W,S,Gt,et,Y={},U,F,dt,Z;while(!0){if(W=l[l.length-1],this.defaultActions[W])S=this.defaultActions[W];else{if(T===null||typeof T>"u")T=yt();S=w[W]&&w[W][T]}if(typeof S>"u"||!S.length||!S[0]){var rt="";Z=[];for(U in w[W])if(this.terminals_[U]&&U>vt)Z.push("'"+this.terminals_[U]+"'");if(v.showPosition)rt="Parse error on line "+(B+1)+`:
1
+ import{e,j,A,L,R,I,M,D,O,u,m,Qt}from"./index.yfbwd99n.js";import{_r,Ca,ul,ct}from"./index.7q6v461v.js";import{Xe}from"./index.xrg5yg8d.js";var nt=function(){var t=e(function(h,n,s,l){for(s=s||{},l=h.length;l--;s[h[l]]=n);return s},"o"),r=[6,8,10,11,12,14,16,17,18],a=[1,9],p=[1,10],i=[1,11],y=[1,12],g=[1,13],o=[1,14],x={trace:e(function(){},"trace"),yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:e(function(n,s,l,d,f,c,w){var _=c.length-1;switch(f){case 1:return c[_-1];case 2:this.$=[];break;case 3:c[_-1].push(c[_]),this.$=c[_-1];break;case 4:case 5:this.$=c[_];break;case 6:case 7:this.$=[];break;case 8:d.setDiagramTitle(c[_].substr(6)),this.$=c[_].substr(6);break;case 9:this.$=c[_].trim(),d.setAccTitle(this.$);break;case 10:case 11:this.$=c[_].trim(),d.setAccDescription(this.$);break;case 12:d.addSection(c[_].substr(8)),this.$=c[_].substr(8);break;case 13:d.addTask(c[_-1],c[_]),this.$="task";break}},"anonymous"),table:[{3:1,4:[1,2]},{1:[3]},t(r,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:a,12:p,14:i,16:y,17:g,18:o},t(r,[2,7],{1:[2,1]}),t(r,[2,3]),{9:15,11:a,12:p,14:i,16:y,17:g,18:o},t(r,[2,5]),t(r,[2,6]),t(r,[2,8]),{13:[1,16]},{15:[1,17]},t(r,[2,11]),t(r,[2,12]),{19:[1,18]},t(r,[2,4]),t(r,[2,9]),t(r,[2,10]),t(r,[2,13])],defaultActions:{},parseError:e(function(n,s){if(s.recoverable)this.trace(n);else{var l=Error(n);throw l.hash=s,l}},"parseError"),parse:e(function(n){var s=this,l=[0],d=[],f=[null],c=[],w=this.table,_="",B=0,ot=0,ht=0,vt=2,ut=1,wt=c.slice.call(arguments,1),v=Object.create(this.lexer),z={yy:{}};for(var K in this.yy)if(Object.prototype.hasOwnProperty.call(this.yy,K))z.yy[K]=this.yy[K];if(v.setInput(n,z.yy),z.yy.lexer=v,z.yy.parser=this,typeof v.yylloc>"u")v.yylloc={};var Q=v.yylloc;c.push(Q);var Tt=v.options&&v.options.ranges;if(typeof z.yy.parseError==="function")this.parseError=z.yy.parseError;else this.parseError=Object.getPrototypeOf(this).parseError;function St(E){l.length=l.length-2*E,f.length=f.length-E,c.length=c.length-E}e(St,"popStack");function yt(){var E=d.pop()||v.lex()||ut;if(typeof E!=="number"){if(E instanceof Array)d=E,E=d.pop();E=s.symbols_[E]||E}return E}e(yt,"lex");var T,tt,W,S,Gt,et,Y={},U,F,dt,Z;while(!0){if(W=l[l.length-1],this.defaultActions[W])S=this.defaultActions[W];else{if(T===null||typeof T>"u")T=yt();S=w[W]&&w[W][T]}if(typeof S>"u"||!S.length||!S[0]){var rt="";Z=[];for(U in w[W])if(this.terminals_[U]&&U>vt)Z.push("'"+this.terminals_[U]+"'");if(v.showPosition)rt="Parse error on line "+(B+1)+`:
2
2
  `+v.showPosition()+`
3
3
  Expecting `+Z.join(", ")+", got '"+(this.terminals_[T]||T)+"'";else rt="Parse error on line "+(B+1)+": Unexpected "+(T==ut?"end of input":"'"+(this.terminals_[T]||T)+"'");this.parseError(rt,{text:v.match,token:this.terminals_[T]||T,line:v.yylineno,loc:Q,expected:Z})}if(S[0]instanceof Array&&S.length>1)throw Error("Parse Error: multiple actions possible at state: "+W+", token: "+T);switch(S[0]){case 1:if(l.push(T),f.push(v.yytext),c.push(v.yylloc),l.push(S[1]),T=null,!tt){if(ot=v.yyleng,_=v.yytext,B=v.yylineno,Q=v.yylloc,ht>0)ht--}else T=tt,tt=null;break;case 2:if(F=this.productions_[S[1]][1],Y.$=f[f.length-F],Y._$={first_line:c[c.length-(F||1)].first_line,last_line:c[c.length-1].last_line,first_column:c[c.length-(F||1)].first_column,last_column:c[c.length-1].last_column},Tt)Y._$.range=[c[c.length-(F||1)].range[0],c[c.length-1].range[1]];if(et=this.performAction.apply(Y,[_,ot,B,z.yy,S[1],f,c].concat(wt)),typeof et<"u")return et;if(F)l=l.slice(0,-1*F*2),f=f.slice(0,-1*F),c=c.slice(0,-1*F);l.push(this.productions_[S[1]][0]),f.push(Y.$),c.push(Y._$),dt=w[l[l.length-2]][l[l.length-1]],l.push(dt);break;case 3:return!0}}return!0},"parse")},k=function(){var h={EOF:1,parseError:e(function(s,l){if(this.yy.parser)this.yy.parser.parseError(s,l);else throw Error(s)},"parseError"),setInput:e(function(n,s){if(this.yy=s||this.yy||{},this._input=n,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges)this.yylloc.range=[0,0];return this.offset=0,this},"setInput"),input:e(function(){var n=this._input[0];this.yytext+=n,this.yyleng++,this.offset++,this.match+=n,this.matched+=n;var s=n.match(/(?:\r\n?|\n).*/g);if(s)this.yylineno++,this.yylloc.last_line++;else this.yylloc.last_column++;if(this.options.ranges)this.yylloc.range[1]++;return this._input=this._input.slice(1),n},"input"),unput:e(function(n){var s=n.length,l=n.split(/(?:\r\n?|\n)/g);this._input=n+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-s),this.offset-=s;var d=this.match.split(/(?:\r\n?|\n)/g);if(this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),l.length-1)this.yylineno-=l.length-1;var f=this.yylloc.range;if(this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:l?(l.length===d.length?this.yylloc.first_column:0)+d[d.length-l.length].length-l[0].length:this.yylloc.first_column-s},this.options.ranges)this.yylloc.range=[f[0],f[0]+this.yyleng-s];return this.yyleng=this.yytext.length,this},"unput"),more:e(function(){return this._more=!0,this},"more"),reject:e(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
4
4
  `+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:e(function(n){this.unput(this.match.slice(n))},"less"),pastInput:e(function(){var n=this.matched.substr(0,this.matched.length-this.match.length);return(n.length>20?"...":"")+n.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:e(function(){var n=this.match;if(n.length<20)n+=this._input.substr(0,20-n.length);return(n.substr(0,20)+(n.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:e(function(){var n=this.pastInput(),s=Array(n.length+1).join("-");return n+this.upcomingInput()+`