1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Index-BNz3TOgL.js","./index-9Ev7iYt6.js","./index-CJjI6XC6.css","./Block-MCGnkHAA.js","./ScrollFade.svelte_svelte_type_style_lang-ogAEaD61.js","./snippet-xbRfGdXG.js","./ScrollFade-DV-0xzhB.css","./index-BKfLiH8b.js","./StreamingBar.svelte_svelte_type_style_lang-D07DuzRz.js","./html-CfSn455r.js","./index-B_pwUImq.js","./StreamingBar-CMuqaV2j.css","./Clear-D8pztZ4O.js","./Index.svelte_svelte_type_style_lang-Cf19ZTCK.js","./Index-BDcHJDzf.css","./Index-DHz84ApK.css","./Index-BwKMkb_R.js","./BlockLabel-CqQRDPfZ.js","./Empty-B_oS1nZx.js","./Image-BtruDAal.js","./IconButtonWrapper-DATTLsrh.js","./FullscreenButton-CgU9eLeA.js","./Maximize-DX4p_OSq.js","./Index-DIMxqS5W.css","./StaticAudio-l4w18DLY.js","./DownloadLink-hEoT-mAd.js","./ShareButton-qU8V1sqI.js","./Download-BvDI8Efl.js","./Music-D5Y3DRDy.js","./MinimalAudioPlayer-CM9lBoeL.js","./MinimalAudioPlayer-COky8gQS.css","./VolumeLevels-D1Dix7A4.js","./Play-CcfJa8Qv.js","./Undo-DTF74Pc_.js","./StaticAudio-aRR9yp0X.css","./Example-BCu6Jpvf.js","./Example-PnzFsODt.css","./index-D6gV4Ntr.js","./Upload-yxDsxAyc.js","./actions-DWbx7e_v.js","./Upload-C2I0h_eD.css","./ModifyUpload-B3fYKBFw.js","./Edit-DmAqHUCp.js","./StreamingBar-DNDaYYJd.js","./record.esm-EHLfhwCm.js","./Spinner-BMpW1YeX.js","./UploadText-CYZU968p.js","./index-DEPmb5JS.css","./Index-977bTfya.js","./Index-DaE681xv.js","./__vite-browser-external-D7Ct-6yo.js","./Index-DK9ETqTX.js","./Button-U40IzBe8.js","./Image-CVAEcPj3.js","./Image-Da_XA0w6.css","./ImagePreview-DJ7FK62O.js","./ImagePreview-CCVfwC4m.css","./Button-BZ4d-rtD.css","./Index-DGYv0xkF.js","./input-BhZahYna.js","./Check-Co0nFbKx.js","./Copy-BpOY43se.js","./File--0kuwvN1.js","./MarkdownCode-Z0ZAv0RM.js","./prism-python-GAh9CqE4.js","./MarkdownCode-sGRY2bbQ.css","./event-modifiers-CdEA5IGF.js","./Trash-D1dcw8zl.js","./Index-B80bIer5.css","./Example-DbPNHvC6.js","./Example-Cpi22WGa.css","./Index-Z-AqfFzF.js","./Info-CgD-fkwu.js","./Checkbox-gSai2vcm.js","./universal-B2tAZ-5T.js","./Checkbox-BbySKLMz.css","./Example-Di6zioG2.js","./Example-QWdMqwA5.css","./Index-C9j1jM-s.js","./BlockTitle-C13HXRtc.js","./index-tFQomdd2.js","./Index-BV5kouZe.css","./Example-8XWa5FWF.js","./Example-BK-tWmkG.css","./Index-BYkPX-0y.js","./Code-BPhHpuUj.js","./Code-wZDUWKrz.css","./Code-Z-8sh-bu.js","./Example-BKKGLUN2.js","./Example-bHSd0VUC.css","./Index-4d-sSM18.js","./tinycolor-egYvDMV9.js","./Index-Ci-0XPiC.css","./Index-Cmktal3O.js","./index-BlQXYsaG.js","./Example-CEJEU5_P.js","./Example-jts6u4zx.css","./Index-C6UwzwlC.js","./size-COeWeQdF.js","./DropdownArrow-BMS-fktN.js","./dsv-DB8NKgIY.js","./Index-wgdu9Zy3.css","./Index-DZ-A4Q5W.js","./key-1gw8CZtw.js","./Textbox-CZwW9a5L.js","./Send-D7mbLzJf.js","./Square-WO7xGPv5.js","./Textbox-B5AH0EoL.css","./Example-DniwxFdJ.js","./Example-Cvv6PwrD.css","./Index-DpH7sR6h.css","./Example-DQUX63oZ.js","./Index-DrswRpQs.js","./Index-EYuwUe6R.css","./Example-DSc3ypbJ.js","./Example-BUUMH8K0.css","./Index-BZClasNf.js","./Plus-Cx4pgVJ2.js","./Dropdown-DpToUdib.js","./window-CWHy3o9R.js","./Dropdown--Uz_kS2s.css","./Index-BL27_CUo.css","./Example-BeU1J4ps.css","./Index-DOK0JLO4.js","./Index-3FqI08xq.css","./Index-CS0Roxez.js","./Index-C3kmU5RB.css","./Example-Cg5xeeov.js","./Index-CQ1f1kkS.js","./Example-CArteVmL.js","./Example-CbN4r5yx.css","./Index-BXcb73No.js","./FileUpload-BC11z3oy.js","./FileUpload-DiuLlPU9.css","./Example--SnWdfEX.js","./Example--V2chS2k.css","./Index-BEeVQJtd.js","./Index-CEhk7M0s.css","./Index-cbBjmo7h.js","./BaseForm-CtCLD5Mv.js","./BaseForm-DJxyhkeW.css","./Gallery-Rc-LszOL.js","./Video-DNjhtblL.js","./Video-emdvV6JL.css","./Gallery-D2TV53eD.css","./Example-DaCEcGv9.js","./Example-CA1DPrcM.css","./Index-Bp6luteB.js","./ImageUploader-D709Dl1d.js","./ImageUploader-Dpdel1G9.css","./Index-DKIzZVIo.css","./Example-CZSJmqDf.css","./Index-XDUYUSI3.js","./Index-D7AuRLbO.css","./Index-D3wh-4f5.js","./color-DC0FHloY.js","./Index-Dg9ut_M4.css","./HTML-D9Cuw6oI.js","./HTML-CCquOCqP.css","./Example-BXH05Bi-.js","./Example-BG5zdIqX.css","./Index-Cw4z42XJ.js","./Index-5RnUXY9l.css","./Example-B4VvyoB4.js","./Index-Cechxe7n.js","./Example-jxKW55GY.js","./Example-C7vkYQeg.css","./Index-Dd1rNo_D.js","./ArrowUp-Bn6JTRK6.js","./Index-BiPluRv8.css","./Example-aim8itlG.js","./Example-CD_WZEqN.css","./Index-D93x7TPB.js","./select-BigU4G0v.js","./dispatch-kxCwF96_.js","./Index-CKDSEi0w.css","./Example-DBXWP_fd.js","./JSON-BtmntSKl.js","./JSON-BjG2a1Vu.css","./Example-BlpJt4zj.css","./Index-ByNMXTD5.js","./Index-D7h5f5wF.js","./LineChart-AHy7TIJ9.js","./Index--e-Yppt2.css","./Example-C9Mtqdhb.js","./Example-CgIc4GLa.css","./Index-fnlUCjh8.js","./Index.svelte_svelte_type_style_lang-CrnWSkSn.js","./Index-cY7HT1Ac.css","./ScrollFade-2Lh-Dltn.js","./Model3D-D83Ely8D.js","./Model3D-CvGLqGnb.css","./Example-CDimnxYe.js","./Example-RXDI_Ar6.css","./Index-aVqY9PBQ.js","./Index-CvyxbOJU.css","./Example-B_I9kr1D.js","./Example-BIrWl-Kd.css","./Index-O7hZBsl6.js","./Index-bJ8TG0Hn.css","./Example-BSTUcsnQ.js","./Index-DVmUYoBj.js","./Index-fPjHowzi.css","./Index-uy4EnVmI.js","./Example-Nalnt16J.js","./Example-X9TNZEKd.js","./Example-guFL0Sj1.css","./Index-BH9_4xR_.js","./Index-CTDY4JGM.css","./Example-C4fWSsrD.js","./Example-Do5iR6B9.css","./Index-CBBsuLbj.js","./Index-Vva-EkxI.css","./Plot-BYBt_x6Q.js","./Index-BXBbNpAw.js","./Example-BqvumIbo.js","./Example-DWDv4qx4.css","./Index-CLgg_u-p.js","./Index-pc9XuoeO.css","./Index-BFA6YBHT.js","./Index-BijVyRsD.css","./Index-NeqR9k5O.js","./Index-DMaj38-p.css","./Example-CiIOLgnc.js","./Example-DSMNiXnn.css","./Index-C7uKoLYb.js","./Index-CwinLc1f.css","./Index-8jrMHb_1.js","./index-BBSjzOux.js","./state.svelte-x6BRflgj.js","./Index-W2-b5GwR.js","./Walkthrough-DHpk9slc.js","./Walkthrough-CuFkIZNj.css","./Index-Ds3FAhOq.css","./Index-CJPhRzmx.js","./Index-OsPdQoVu.js","./Index-D_LD7Sg0.js","./Index-BrBKPOx2.js","./Index-Xhg3Ucw_.css","./Index-Ndq1pfS0.js","./Index-DP8ihX8q.css","./VideoPreview-CEh5M2_9.js","./VideoPreview-CgLypBdz.css","./Example-Bo-TCfFU.js","./Example-4NTZ2aku.css","./index-Faos0Rfq.js","./index-uLojFN0n.css","./Index-DNe4oOPt.js","./Index-CZyRWkvl.css","./Example-CHVjBuEx.js","./Example-D2nbjfVb.css","./Index-qwx6cm10.js","./Index-CWNyXNuq.css"])))=>i.map(i=>d[i]); 2import{D as z,a$ as Ft,b1 as Gr,b2 as ni,B as he,b3 as $t,b4 as ne,b5 as zt,ak as Ie,b6 as oe,b7 as ii,b8 as kr,h as D,i as Ae,p as jr,E as oi,e as Xt,b9 as Fr,aF as $r,aG as Ot,s as ze,an as ie,X as L,ay as lr,ba as zr,ab as Xr,bb as Wt,bc as ai,bd as si,a0 as Se,aC as wt,be as ui,bf as Y,bg as ct,J as Zt,bh as li,bi as fi,j as ci,g as hi,C as pi,bj as _i,bk as Wr,u as tt,bl as di,L as mi,I as Zr,z as vi,K as bi,bm as gi,aL as Ei,bn as yi,bo as xi,bp as Ti,bq as Ai,af as P
2i,ah as Oi,br as wi,aD as Ii,bs as Si,bt as Li,bu as Ri,bv as Hi,w as Di,v as Z,bw as qt,bx as Bi,ae as Ni,aa as Le,by as It,bz as Ci,x as Xe,bA as qr,aZ as ee,y as Mi,$ as te,bB as Vi,bC as St,bD as Ui,bE as Yr,a9 as Lt,b as Yt,bF as Gi,bG as ki,bH as ji,bI as Fi,bJ as $i,aY as ge,bK as Qr,aJ as fr,bL as cr,bM as zi,bN as Xi,bO as Wi,bP as Zi,bQ as qi,bR as Yi,bS as Qi,M as Ji,Z as ht,_ as Ki,t as Ge,a as ke,O as eo,R as rt,P as k,S as Ee,Q as $,U as je,Y as to,aq as ro,T as j,a3 as hr,ad as c,a8 as pt}from"./index-9Ev7iYt6.js";var no="font-weight: bold",io="font-weight: normal";function pr(e){z?console.warn(`%c[svelte] state_snapshot_uncloneable 3%c${e?`The following properties cannot be cloned with \`$state.snapshot\` â the return value contains the originals: 4 5${e}`:"Value cannot be cloned with `$state.snapshot` â the original value was returned"} 6https://svelte.dev/e/state_snapshot_uncloneable`,no,io):console.warn("https://svelte.dev/e/state_snapshot_uncloneable")}const oo=[];function ao(e,t=!1,r=!1){if(z&&!t){const n=[],i=Re(e,new Map,"",n,null,r);if(n.length===1&&n[0]==="")pr();else if(n.length>0){const o=n.length>10?n.slice(0,7):n.slice(0,10),a=n.length-o.length;let s=o.map(u=>`- <value>${u}`).join(` 7`);a>0&&(s+=` 8- ...and ${a} more`),pr(s)}return i}return Re(e,new Map,"",oo,null,r)}function Re(e,t,r,n,i=null,o=!1){if(typeof e=="object"&&e!==null){var a=t.get(e);if(a!==void 0)return a;if(e instanceof Map)return new Map(e);if(e instanceof Set)return new Set(e);if(Ft(e)){var s=Array(e.length);t.set(e,s),i!==null&&t.set(i,s);for(var u=0;u<e.length;u+=1){var l=e[u];u in e&&(s[u]=Re(l,t,z?`${r}[${u}]`:r,n,null,o))}return s}if(Gr(e)===ni){s={},t.set(e,s),i!==null&&t.set(i,s);for(var f in e)s[f]=Re(e[f],t,z?`${r}.${f}`:r,n,null,o);return s}if(e instanceof Date)return structuredClone(e);if(typeof e.toJSON=="function"&&!o)return Re(e.toJSON(),t,z?`${r}.toJSON()`:r,n,e)}if(e instanceof EventTarget)return e;try{return structuredClone(e)}catch{return z&&n.push(r),e}}class so{anchor;#t=new Map;#r=new Map;#e=new Map;#n=new Set;#i=!0;constructor(t,r=!0){this.anchor=t,this.#i=r}#o=()=>{var t=he;if(this.#t.has(t)){var r=this.#t.get(t),n=this.#r.get(r);if(n)$t(n),this.#n.delete(r);else{var i=this.#e.get(r);i&&(this.#r.set(r,i.effect),this.#e.delete(r),i.fragment.lastChild.remove(),this.anchor.before(i.fragment),n=i.effect)}for(const[o,a]of this.#t){if(this.#t.delete(o),o===t)break;const s=this.#e.get(a);s&&(ne(s.effect),this.#e.delete(a))}for(const[o,a]of this.#r){if(o===r||this.#n.has(o))continue;const s=()=>
8{if(Array.from(this.#t.values()).includes(o)){var l=document.createDocumentFragment();ii(a,l),l.append(Ie()),this.#e.set(o,{effect:a,fragment:l})}else ne(a);this.#n.delete(o),this.#r.delete(o)};this.#i||!n?(this.#n.add(o),zt(a,s,!1)):s()}}};#a=t=>{this.#t.delete(t);const r=Array.from(this.#t.values());for(const[n,i]of this.#e)r.includes(n)||(ne(i.effect),this.#e.delete(n))};ensure(t,r){var n=he,i=kr();if(r&&!this.#r.has(t)&&!this.#e.has(t))if(i){var o=document.createDocumentFragment(),a=Ie();o.append(a),this.#e.set(t,{effect:oe(()=>r(a)),fragment:o})}else this.#r.set(t,oe(()=>r(this.anchor)));if(this.#t.set(n,t),i){for(const[s,u]of this.#r)s===t?n.skipped_effects.delete(u):n.skipped_effects.add(u);for(const[s,u]of this.#e)s===t?n.skipped_effects.delete(u.effect):n.skipped_effects.add(u.effect);n.oncommit(this.#o),n.ondiscard(this.#a)}else D&&(this.anchor=Ae),this.#o()}}function _r(e,t,r=!1){D&&Xt();var n=new so(e),i=r?oi:0;function o(a,s){if(D){const l=Fr(e)===$r;if(a===l){var u=Ot();ze(u),n.anchor=u,ie(!1),n.ensure(a,s),ie(!0);return}}n.ensure(a,s)}jr(()=>{var a=!1;t((s,u=!0)=>{a=!0,o(u,s)}),a||o(!1,null)},i)}function uo(e,t){return t}function lo(e,t,r){for(var n=[],i=t.length,o,a=t.length,s=0;s<i;s++){let _=t[s];zt(_,()=>{if(o){if(o.pending.delete(_),o.done.add(_),o.pending.size===0){var h=e.outrogroups;Rt(Wt(o.done)),h.delete(o),h.size===0&&(e.outrogroups=null)}}else a-=1},!1)}if(a===0){var u=n.length===0&&r!==null;if(u){var l=r,f=l.parentNode;fi(f),f.append(l),e.items.clear()}Rt(t,!u)}else o={pending:new Set(t),done:new Set},(e.outrogroups??=new Set).add(o)}function Rt(e,t=!0){for(var r=0;r<e.length;r++)ne(e[r],t)}var dr;function fo(e,t,r,n,i,o=null){var a=e,s=new Map,u=(t&zr)!==0;if(u){var l=e;a=D?ze(hi(l)):l.appendChild(Ie())}D&&Xt();var f=null,_=Xr(()=>{var p=r();return Ft(p)?p:p==null?[]:Wt(p)}),h,v=!0;function g(){d.fallback=f,co(d,h,a,t,n),f!==null&&(h.length===0?(f.f&Y)===0?$t(f):(f.f^=Y,Pe(f,null,a)):zt(f,()=>{f=null}))}var x=jr(()=>{h=L(_);var p=h.length;let b=!1;if(D){var m=Fr(a)===$r;m!==(p===0)&&(a=Ot(),ze(a),ie(!1),b=!0)}for(var y=new Set,A=he,E=kr(),P=0;P<p;P+=1){D&&Ae.nodeType===pi&&Ae.data===_i&&(a=Ae,b=!0,ie(!1));var H=h[P],C=n(H,P),O=v?null:s.get(C);O?(O.v&&lr(O.v,H),O.i&&lr(O.i,P),E&&A.skipped_effects.delete(O.e)):(O=ho(s,v?a:dr??=Ie(),H,C,P,i,t,r),v||(O.e.f|=Y),s.set(C,O)),y.add(C)}if(p===0&&o&&!f&&(v?f=oe(()=>o(a)):(f=oe(()=>o(dr??=Ie())),f.f|=Y)),D&&p>0&&ze(Ot()),!v)if(E){for(const[ue,le]of s)y.has(ue)||A.skipped_effects.add(le.e);A.oncommit(g),A.ondiscard(()=>{})}else g();b&&ie(!0),L(_)}),d={effect:x,items:s,outrogroups:null,fallback:f};v=!1,D&&(a=Ae)}function co(e,t,r,n,i){var o=(n&li)!==0,a=t.length,s=e.items,u=e.effect.first,l,f=null,_,h=[],v=[],g,x,d,p;if(o)for(p=0;p<a;p+=1)g=t[p],x=i(g,p),d=s.get(x).e,(d.f&Y)===0&&(d.nodes?.a?.measure(),(_??=new Set).add(d));for(p=0;p<a;p+=1){if(g=t[p],x=i(g,p),d=s.get(x).e,e.outrogroups!==null)for(const O of e.outrogroups)O.pending.delete(d),O.done.delete(d);if((d.f&Y)!==0)if(d.f^=Y,d===u)Pe(d,null,r);else{var b=f?f.next:u;d===e.effect.last&&(e.effect.last=d.prev),d.prev&&(d.prev.next=d.next),d.next&&(d.next.prev=d.prev),Q(e,f,d),Q(e,d,b),Pe(d,b,r),f=d,h=[],v=[],u=f.next;continue}if((d.f&ct)!==0&&($t(d),o&&(d.nodes?.a?.unfix(),(_??=new Set).delete(d))),d!==u){if(l!==void 0&&l.has(d)){if(h.length<v.length){var m=v[0],y;f=m.prev;var A=h[0],E=h[h.length-1];for(y=0;y<h.length;y+=1)Pe(h[y],m,r);for(y=0;y<v.length;y+=1)l.delete(v[y]);Q(e,A.prev,E.next),Q(e,f,A),Q(e,E,m),u=m,f=E,p-=1,h=[],v=[]}else l.delete(d),Pe(d,u,r),Q(e,d.prev,d.next),Q(e,d,f===null?e.effect.first:f.next),Q(e,f,d),f=d;continue}for(h=[],v=[];u!==null&&u!==d;)(l??=new Set).add(u),v.push(u),u=u.next;if(u===null)continue}(d.f&Y)===0&&h.push(d),f=d,u=d.next}if(e.outrogroups!==null){for(const O of e.outrogroups)O.pending.size===0&&(Rt(Wt(O.done)),e.outrogroups?.delete(O));e.outrogroups.size===0&&(e.outrogroups=null)}if(u!==null||l!==void 0){var P=[];if(l!==void 0)for(d of l)(d.f&ct)===0&&P.push(d);for(;u!==null;)(u.f&ct)===0&&u!==e.fallback&&P.push(u),u=u.next;var H=P.length;if(H>0){var C=(n&zr)!==0&&a===0?r:null;if(o){for(p=0;p<H;p+=1)P[p].nodes?.a?.measure();for(p=0;p<H;p+=1)P[p].nodes?.a?.fix()}lo(e,P,C)}}o&&Zt(()=>{if(_!==void 0)for(d of _)d.nodes?.a?.apply()})}function ho(e,t,r,n,i,o,a,s){var u=(a&ai)!==0?(a&si)===0?Se(r,!1,!1):wt(r):null,l=(a&ui)!==0?wt(i):null;return z&&u&&(u.trace=()=>{s()[l?.v??i]}),{v:u,i:l,e:oe(()=>(o(t,u??r,l??i,s),()=>{e.delete(n)}))}}function Pe(e,t,r){if(e.nodes)for(var n=e.nodes.start,i=e.nodes.end,o=t&&(t.f&Y)===0?t.nodes.start:r;n!==null;){var a=ci(n);if(o.before(n),n===i)return;n=a}}function Q(e,t,r){t===null?e.effect.first=r:t.next=r,r===null?e.effect.last=t:r.prev=t}function po(e,t,r,n,i){D&&Xt();var o=t.$$slots?.[r],a=!1;o===!0&&(o=t[r==="default"?"children":r],a=!0),o===void 0||o(e,a?()=>n:n)}function _o(e,t){var r=void 0,n;Wr(()=>{r!==(r=t())&&(n&&(ne(n),n=null),r&&(n=oe(()=>{tt(()=>r(e))})))})}function Jr(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=Jr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function mo(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=Jr(e))&&(n&&(n+=" "),n+=t);return n}function vo(e){return typeof e=="object"?mo(e):e??""}const mr=[...` 9\r\f \v\uFEFF`];function bo(e,t,r){var n=e==null?"":""+e;if(t&&(n=n?n+" "+t:t),r){for(var i in r)if(r[i])n=n?n+" "+i:i;else if(n.length)for(var o=i.length,a=0;(a=n.indexOf(i,a))>=0;){var s=a+o;
9(a===0||mr.includes(n[a-1]))&&(s===n.length||mr.includes(n[s]))?n=(a===0?"":n.substring(0,a))+n.substring(s+1):a=s}}return n===""?null:n}function vr(e,t=!1){var r=t?" !important;":";",n="";for(var i in e){var o=e[i];o!=null&&o!==""&&(n+=" "+i+": "+o+r)}return n}function _t(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function go(e,t){if(t){var r="",n,i;if(Array.isArray(t)?(n=t[0],i=t[1]):n=t,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var o=!1,a=0,s=!1,u=[];n&&u.push(...Object.keys(n).map(_t)),i&&u.push(...Object.keys(i).map(_t));var l=0,f=-1;const x=e.length;for(var _=0;_<x;_++){var h=e[_];if(s?h==="/"&&e[_-1]==="*"&&(s=!1):o?o===h&&(o=!1):h==="/"&&e[_+1]==="*"?s=!0:h==='"'||h==="'"?o=h:h==="("?a++:h===")"&&a--,!s&&o===!1&&a===0){if(h===":"&&f===-1)f=_;else if(h===";"||_===x-1){if(f!==-1){var v=_t(e.substring(l,f).trim());if(!u.includes(v)){h!==";"&&_++;var g=e.substring(l,_).trim();r+=" "+g+";"}}l=_+1,f=-1}}}}return n&&(r+=vr(n)),i&&(r+=vr(i,!0)),r=r.trim(),r===""?null:r}return e==null?null:String(e)}function Oe(e,t,r,n,i,o){var a=e.__className;if(D||a!==r||a===void 0){var s=bo(r,n,o);(!D||s!==e.getAttribute("class"))&&(s==null?e.removeAttribute("class"):t?e.className=s:e.setAttribute("class",s)),e.__className=r}else if(o&&i!==o)for(var u in o){var l=!!o[u];(i==null||l!==!!i[u])&&e.classList.toggle(u,l)}return o}function dt(e,t={},r,n){for(var i in r){var o=r[i];t[i]!==o&&(r[i]==null?e.style.removeProperty(i):e.style.setProperty(i,o,n))}}function Kr(e,t,r,n){var i=e.__style;if(D||i!==t){var o=go(t,n);(!D||o!==e.getAttribute("style"))&&(o==null?e.removeAttribute("style"):e.style.cssText=o),e.__style=t}else n&&(Array.isArray(n)?(dt(e,r?.[0],n[0]),dt(e,r?.[1],n[1],"important")):dt(e,r,n));return n}function qe(e,t,r=!1){if(e.multiple){if(t==null)return;if(!Ft(t))return di();for(var n of e.options)n.selected=t.includes(He(n));return}for(n of e.options){var i=He(n);if(mi(i,t)){n.selected=!0;return}}(!r||t!==void 0)&&(e.selectedIndex=-1)}function en(e){var t=new MutationObserver(()=>{qe(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Zr(()=>{t.disconnect()})}function Vs(e,t,r=t){var n=new WeakSet,i=!0;vi(e,"change",o=>{var a=o?"[selected]":":checked",s;if(e.multiple)s=[].map.call(e.querySelectorAll(a),He);else{var u=e.querySelector(a)??e.querySelector("option:not([disabled])");s=u&&He(u)}r(s),he!==null&&n.add(he)}),tt(()=>{var o=t();if(e===document.activeElement){var a=bi??he;if(n.has(a))return}if(qe(e,o,i),i&&o===void 0){var s=e.querySelector(":checked");s!==null&&(o=He(s),r(o))}e.__value=o,i=!1}),en(e)}function He(e){return"__value"in e?e.__value:e.value}const ye=Symbol("class"),xe=Symbol("style"),tn=Symbol("is custom element"),rn=Symbol("is html");function Eo(e){if(D){var t=!1,r=()=>{if(!t){if(t=!0,e.hasAttribute("value")){var n=e.value;q(e,"value",null),e.value=n}if(e.hasAttribute("checked")){var i=e.checked;q(e,"checked",null),e.checked=i}}};e.__on_r=r,Zt(r),Ri()}}function Us(e,t){var r=nt(e);r.value===(r.value=t??void 0)||e.value===t&&(t!==0||e.nodeName!=="PROGRESS")||(e.value=t??"")}function Gs(e,t){var r=nt(e);r.checked!==(r.checked=t??void 0)&&(e.checked=t)}function yo(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function q(e,t,r,n){var i=nt(e);if(D&&(i[t]=e.getAttribute(t),t==="src"||t==="srcset"||t==="href"&&e.nodeName==="LINK")){n||To(e,t,r??"");return}i[t]!==(i[t]=r)&&(t==="loading"&&(e[gi]=r),r==null?e.removeAttribute(t):typeof r!="string"&&nn(e).includes(t)?e[t]=r:e.setAttribute(t,r))}function xo(e,t,r,n,i=!1,o=!1){if(D&&i&&e.tagName==="INPUT"){var a=e,s=a.type==="checkbox"?"defaultChecked":"defaultValue";s in r||Eo(a)}var u=nt(e),l=u[tn],f=!u[rn];let _=D&&l;_&&ie(!1);var h=t||{},v=e.tagName==="OPTION";for(var g in t)g in r||(r[g]=null);r.class?r.class=vo(r.class):(n||r[ye])&&(r.class=null),r[xe]&&(r.style??=null);var x=nn(e);for(const E in r){let P=r[E];if(v&&E==="value"&&P==null){e.value=e.__value="",h[E]=P;continue}if(E==="class"){var d=e.namespaceURI==="http://www.w3.org/1999/xhtml";Oe(e,d,P,n,t?.[ye],r[ye]),h[E]=P,h[ye]=r[ye];continue}if(E==="style"){Kr(e,P,t?.[xe],r[xe]),h[E]=P,h[xe]=r[xe];continue}var p=h[E];if(!(P===p&&!(P===void 0&&e.hasAttribute(E)))){h[E]=P;var b=E[0]+E[1];if(b!=="$$")if(b==="on"){const H={},C="$$"+E;let O=E.slice(2);var m=Si(O);if(Ti(O)&&(O=O.slice(0,-7),H.capture=!0),!m&&p){if(P!=null)continue;e.removeEventListener(O,h[C],H),h[C]=null}if(P!=null)if(m)e[`__${O}`]=P,Pi([O]);else{let ue=function(le){h[E].call(this,le)};h[C]=Ai(O,e,ue,H)}else m&&(e[`__${O}`]=void 0)}else if(E==="style")q(e,E,P);else if(E==="autofocus")Oi(e,!!P);else if(!l&&(E==="__value"||E==="value"&&P!=null))e.value=e.__value=P;else if(E==="selected"&&v)yo(e,P);else{var y=E;f||(y=wi(y));var A=y==="defaultValue"||y==="defaultChecked";if(P==null&&!l&&!A)if(u[E]=null,y==="value"||y==="checked"){let H=e;const C=t===void 0;if(y==="value"){let O=H.defaultValue;H.removeAttribute(y),H.defaultValue=O,H.value=H.__value=C?O:null}else{let O=H.defaultChecked;H.removeAttribute(y),H.defaultChecked=O,H.checked=C?O:!1}}else e.removeAttribute(E);else A||x.includes(y)&&(l||typeof P!="string")?(e[y]=P,y in u&&(u[y]=Ii)):typeof P!="function"&&q(e,y,P,o)}}}return _&&ie(!0),h}function ks(e,t,r=[],n=[],i=[],o,a=!1,s=!1){Ei(i,r,n,u=>{var l=void 0,f={},_=e.nodeName==="SELECT",h=!1;if(Wr(()=>{var g=t(...u.map(L)),x=xo(e,l,g,o,a,s);h&&_&&"value"in g&&qe(e,g.value);for(let p of Object.getOwnPropertySymbols(f))g[p]||ne(f[p]);for(let p of Object.getOwnPropertySymbols(g)){var d=g[p];p.description===yi&&(!l||d!==l[p])&&(f[p]&&ne(f[p]),f[p]=oe(()=>_o(e,()=>d))),x[p]=d}l=x}),_){var v=e;tt(()=>{qe(v,l.value,!0),en(v)})}h=!0})}function nt(e){return e.__attributes??={[tn]:e.nodeName.includes("-"),[rn]:e.namespaceURI===xi}}var br=new Map;function nn(e){var t=e.getAttribute("is")||e.nodeName,r=br.get(t);if(r)return r;br.set(t,r=[]);for(var n,i=e,o=Element.prototype;o!==i;){n=Li(i);for(var a in n)n[a].set&&r.push(a);i=Gr(i)}return r}function To(e,t,r){z&&(t==="srcset"&&Ao(e,r)||Ht(e.getAttribute(t)??"",r)||Hi(t,e.outerHTML.replace(e.innerHTML,e.innerHTML&&"..."),String(r)))}function Ht(e,t){return e===t?!0:new URL(e,document.baseURI).href===new URL(t,document.baseURI).href}function gr(e){return e.split(",").map(t=>
9t.trim().split(" ").filter(Boolean))}function Ao(e,t){var r=gr(e.srcset),n=gr(t);return n.length===r.length&&n.every(([i,o],a)=>o===r[a][1]&&(Ht(r[a][0],i)||Ht(i,r[a][0])))}function Er(e,t){return e===t||e?.[qt]===t}function Po(e={},t,r,n){return tt(()=>{var i,o;return Di(()=>{i=o,o=n?.()||[],Z(()=>{e!==r(...o)&&(t(e,...o),i&&Er(r(...i),e)&&t(null,...i))})}),()=>{Zt(()=>{o&&Er(r(...o),e)&&t(null,...o)})}}),e}function Oo(e=!1){const t=Bi,r=t.l.u;if(!r)return;let n=()=>Xe(t.s);if(e){let i=0,o={};const a=qr(()=>{let s=!1;const u=t.s;for(const l in u)u[l]!==o[l]&&(o[l]=u[l],s=!0);return s&&i++,i});n=()=>L(a)}r.b.length&&Ni(()=>{yr(t,n),It(r.b)}),Le(()=>{const i=Z(()=>r.m.map(Ci));return()=>{for(const o of i)typeof o=="function"&&o()}}),r.a.length&&Le(()=>{yr(t,n),It(r.a)})}function yr(e,t){if(e.l.s)for(const r of e.l.s)L(r);t()}function Qt(e,t,r){if(e==null)return t(void 0),r&&r(void 0),ee;const n=Z(()=>e.subscribe(t,r));return n.unsubscribe?()=>n.unsubscribe():n}const fe=[];function wo(e,t){return{subscribe:Ce(e,t).subscribe}}function Ce(e,t=ee){let r=null;const n=new Set;function i(s){if(Mi(e,s)&&(e=s,r)){const u=!fe.length;for(const l of n)l[1](),fe.push(l,e);if(u){for(let l=0;l<fe.length;l+=2)fe[l][0](fe[l+1]);fe.length=0}}}function o(s){i(s(e))}function a(s,u=ee){const l=[s,u];return n.add(l),n.size===1&&(r=t(i,o)||ee),s(e),()=>{n.delete(l),n.size===0&&r&&(r(),r=null)}}return{set:i,update:o,subscribe:a}}function ae(e,t,r){const n=!Array.isArray(e),i=n?[e]:e;if(!i.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const o=t.length<2;return wo(r,(a,s)=>{let u=!1;const l=[];let f=0,_=ee;const h=()=>{if(f)return;_();const g=t(n?l[0]:l,a,s);o?a(g):_=typeof g=="function"?g:ee},v=i.map((g,x)=>Qt(g,d=>{l[x]=d,f&=~(1<<x),u&&h()},()=>{f|=1<<x}));return u=!0,h(),function(){It(v),_(),u=!1}})}function Jt(e){let t;return Qt(e,r=>t=r)(),t}let Fe=!1,Dt=Symbol();function xr(e,t,r){const n=r[t]??={store:null,source:Se(void 0),unsubscribe:ee};if(z&&(n.source.label=t),n.store!==e&&!(Dt in r))if(n.unsubscribe(),n.store=e??null,e==null)n.source.v=void 0,n.unsubscribe=ee;else{var i=!0;n.unsubscribe=Qt(e,o=>{i?n.source.v=o:te(n.source,o)}),i=!1}return e&&Dt in r?Jt(e):L(n.source)}function js(e,t){return e.set(t),t}function Io(){const e={};function t(){Zr(()=>{for(var r in e)e[r].unsubscribe();Vi(e,Dt,{enumerable:!1,value:!0})})}return[e,t]}function So(e){var t=Fe;try{return Fe=!1,[e(),Fe]}finally{Fe=t}}function Fs(e,t=1){const r=e();return e(r+t),r}const Lo={get(e,t){if(!e.exclude.includes(t))return e.props[t]},set(e,t){return z&&zi(`${e.name}.${String(t)}`),!1},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function $s(e,t,r){return new Proxy(z?{props:e,exclude:t,name:r,other:{},to_proxy:[]}:{props:e,exclude:t},Lo)}const Ro={get(e,t){if(!e.exclude.includes(t))return L(e.version),t in e.special?e.special[t]():e.props[t]},set(e,t,r){if(!(t in e.special)){var n=Yt;try{cr(e.parent_effect),e.special[t]=G({get[t](){return e.props[t]}},t,Yr)}finally{cr(n)}}return e.special[t](r),fr(e.version),!0},getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t)&&t in e.props)return{enumerable:!0,configurable:!0,value:e.props[t]}},deleteProperty(e,t){return e.exclude.includes(t)||(e.exclude.push(t),fr(e.version)),!0},has(e,t){return e.exclude.includes(t)?!1:t in e.props},ownKeys(e){return Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))}};function zs(e,t){return new Proxy({props:e,exclude:t,special:{},version:wt(0),parent_effect:Yt},Ro)}const Ho={get(e,t){let r=e.props.length;for(;r--;){let n=e.props[r];if(ge(n)&&(n=n()),typeof n=="object"&&n!==null&&t in n)return n[t]}},set(e,t,r){let n=e.props.length;for(;n--;){let i=e.props[n];ge(i)&&(i=i());const o=St(i,t);if(o&&o.set)return o.set(r),!0}return!1},getOwnPropertyDescriptor(e,t){let r=e.props.length;for(;r--;){let n=e.props[r];if(ge(n)&&(n=n()),typeof n=="object"&&n!==null&&t in n){const i=St(n,t);return i&&!i.configurable&&(i.configurable=!0),i}}},has(e,t){if(t===qt||t===Qr)return!1;for(let r of e.props)if(ge(r)&&(r=r()),r!=null&&t in r)return!0;return!1},ownKeys(e){const t=[];for(let r of e.props)if(ge(r)&&(r=r()),!!r){for(const n in r)t.includes(n)||t.push(n);for(const n of Object.getOwnPropertySymbols(r))t.includes(n)||t.push(n)}return t}};function Xs(...e){return new Proxy({props:e},Ho)}function G(e,t,r,n){var i=!Xi||(r&Wi)!==0,o=(r&ki)!==0,a=(r&Fi)!==0,s=n,u=!0,l=()=>(u&&(u=!1,s=a?Z(n):n),s),f;if(o){var _=qt in e||Qr in e;f=St(e,t)?.set??(_&&t in e?m=>e[t]=m:void 0)}var h,v=!1;o?[h,v]=So(()=>e[t]):h=e[t],h===void 0&&n!==void 0&&(h=l(),f&&(i&&Ui(t),f(h)));var g;if(i?g=()=>{var m=e[t];return m===void 0?l():(u=!0,m)}:g=()=>{var m=e[t];return m!==void 0&&(s=void 0),m===void 0?s:m},i&&(r&Yr)===0)return g;if(f){var x=e.$$legacy;return(function(m,y){return arguments.length>0?((!i||!y||x||v)&&f(y?g():m),m):g()})}var d=!1,p=((r&ji)!==0?qr:Xr)(()=>(d=!1,g()));z&&(p.label=t),o&&L(p);var b=Yt;return(function(m,y){if(arguments.length>0){const A=y?L(p):i&&o?Lt(m):m;return te(p,A),d=!0,s!==void 0&&(s=A),m}
9return $i&&d||(b.f&Gi)!==0?p.v:L(p)})}Zi();qi();function Do(e){let t;const r=Yi(i=>{let o=!1;const a=e.subscribe(s=>{t=s,o&&i()});return o=!0,a});function n(){return Qi()?(r(),t):Jt(e)}return"set"in e?{get current(){return n()},set current(i){e.set(i)}}:{get current(){return n()}}}const Bo="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='10'%20fill='none'%3e%3cpath%20fill='%23FF3270'%20d='M1.93%206.03v2.04h2.04V6.03H1.93Z'/%3e%3cpath%20fill='%23861FFF'%20d='M6.03%206.03v2.04h2.04V6.03H6.03Z'/%3e%3cpath%20fill='%23097EFF'%20d='M1.93%201.93v2.04h2.04V1.93H1.93Z'/%3e%3cpath%20fill='%23000'%20fill-rule='evenodd'%20d='M.5%201.4c0-.5.4-.9.9-.9h3.1a.9.9%200%200%201%20.87.67A2.44%202.44%200%200%201%209.5%202.95c0%20.65-.25%201.24-.67%201.68.39.1.67.46.67.88v3.08c0%20.5-.4.91-.9.91H1.4a.9.9%200%200%201-.9-.9V1.4Zm1.43.53v2.04h2.04V1.93H1.93Zm0%206.14V6.03h2.04v2.04H1.93Zm4.1%200V6.03h2.04v2.04H6.03Zm0-5.12a1.02%201.02%200%201%201%202.04%200%201.02%201.02%200%200%201-2.04%200Z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23FFD702'%20d='M7.05%201.93a1.02%201.02%200%201%200%200%202.04%201.02%201.02%200%200%200%200-2.04Z'/%3e%3c/svg%3e";var Ws=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function No(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Zs(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){var i=!1;try{i=this instanceof n}catch{}return i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var mt,Tr;function Co(){if(Tr)return mt;Tr=1;var e=function(b){return t(b)&&!r(b)};function t(p){return!!p&&typeof p=="object"}function r(p){var b=Object.prototype.toString.call(p);return b==="[object RegExp]"||b==="[object Date]"||o(p)}var n=typeof Symbol=="function"&&Symbol.for,i=n?Symbol.for("react.element"):60103;function o(p){return p.$$typeof===i}function a(p){return Array.isArray(p)?[]:{}}function s(p,b){return b.clone!==!1&&b.isMergeableObject(p)?x(a(p),p,b):p}function u(p,b,m){return p.concat(b).map(function(y){return s(y,m)})}function l(p,b){if(!b.customMerge)return x;var m=b.customMerge(p);return typeof m=="function"?m:x}function f(p){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(p).filter(function(b){return Object.propertyIsEnumerable.call(p,b)}):[]}function _(p){return Object.keys(p).concat(f(p))}function h(p,b){try{return b in p}catch{return!1}}function v(p,b){return h(p,b)&&!(Object.hasOwnProperty.call(p,b)&&Object.propertyIsEnumerable.call(p,b))}function g(p,b,m){var y={};return m.isMergeableObject(p)&&_(p).forEach(function(A){y[A]=s(p[A],m)}),_(b).forEach(function(A){v(p,A)||(h(p,A)&&m.isMergeableObject(b[A])?y[A]=l(A,m)(p[A],b[A],m):y[A]=s(b[A],m))}),y}function x(p,b,m){m=m||{},m.arrayMerge=m.arrayMerge||u,m.isMergeableObject=m.isMergeableObject||e,m.cloneUnlessOtherwiseSpecified=s;var y=Array.isArray(b),A=Array.isArray(p),E=y===A;return E?y?m.arrayMerge(p,b,m):g(p,b,m):s(b,m)}x.all=function(b,m){if(!Array.isArray(b))throw new Error("first argument should be an array");return b.reduce(function(y,A){return x(y,A,m)},{})};var d=x;return mt=d,mt}var Mo=Co();const Vo=No(Mo);var Bt=function(e,t){return Bt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},Bt(e,t)};function it(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Bt(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var S=function(){return S=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},S.apply(this,arguments)};function Uo(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function vt(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;
vendor: 6,530 bytes, line 9
9n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function bt(e,t){var r=t&&t.cache?t.cache:Xo,n=t&&t.serializer?t.serializer:$o,i=t&&t.strategy?t.strategy:jo;return i(e,{cache:r,serializer:n})}function Go(e){return e==null||typeof e=="number"||typeof e=="boolean"}function ko(e,t,r,n){var i=Go(n)?n:r(n),o=t.get(i);return typeof o>"u"&&(o=e.call(this,n),t.set(i,o)),o}function on(e,t,r){var n=Array.prototype.slice.call(arguments,3),i=r(n),o=t.get(i);return typeof o>"u"&&(o=e.apply(this,n),t.set(i,o)),o}function an(e,t,r,n,i){return r.bind(t,e,n,i)}function jo(e,t){var r=e.length===1?ko:on;return an(e,this,r,t.cache.create(),t.serializer)}function Fo(e,t){return an(e,this,on,t.cache.create(),t.serializer)}var $o=function(){return JSON.stringify(arguments)},zo=(function(){function e(){this.cache=Object.create(null)}return e.prototype.get=function(t){return this.cache[t]},e.prototype.set=function(t,r){this.cache[t]=r},e})(),Xo={create:function(){return new zo}},gt={variadic:Fo},w;(function(e){e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",e[e.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",e[e.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",e[e.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",e[e.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",e[e.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",e[e.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",e[e.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",e[e.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",e[e.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",e[e.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",e[e.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",e[e.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",e[e.INVALID_TAG=23]="INVALID_TAG",e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"})(w||(w={}));var R;(function(e){e[e.literal=0]="literal",e[e.argument=1]="argument",e[e.number=2]="number",e[e.date=3]="date",e[e.time=4]="time",e[e.select=5]="select",e[e.plural=6]="plural",e[e.pound=7]="pound",e[e.tag=8]="tag"})(R||(R={}));var pe;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(pe||(pe={}));function Ar(e){return e.type===R.literal}function Wo(e){return e.type===R.argument}function sn(e){return e.type===R.number}function un(e){return e.type===R.date}function ln(e){return e.type===R.time}function fn(e){return e.type===R.select}function cn(e){return e.type===R.plural}function Zo(e){return e.type===R.pound}function hn(e){return e.type===R.tag}function pn(e){return!!(e&&typeof e=="object"&&e.type===pe.number)}function Nt(e){return!!(e&&typeof e=="object"&&e.type===pe.dateTime)}var _n=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,qo=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function Yo(e){var t={};return e.replace(qo,function(r){var n=r.length;switch(r[0]){case"G":t.era=n===4?"long":n===5?"narrow":"short";break;case"y":t.year=n===2?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":t.month=["numeric","2-digit","short","long","narrow"][n-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][n-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":t.weekday=n===4?"long":n===5?"narrow":"short";break;case"e":if(n<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"c":if(n<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][n-4];break;case"a":t.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":t.hourCycle="h12",t.hour=["numeric","2-digit"][n-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][n-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][n-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][n-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":t.minute=["numeric","2-digit"][n-1];break;case"s":t.second=["numeric","2-digit"][n-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=n<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""}),t}var Qo=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Jo(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Qo).filter(function(h){return h.length>0}),r=[],n=0,i=t;n<i.length;n++){var o=i[n],a=o.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var s=a[0],u=a.slice(1),l=0,f=u;l<f.length;l++){var _=f[l];if(_.length===0)throw new Error("Invalid number skeleton")}r.push({stem:s,options:u})}return r}function Ko(e){return e.replace(/^(.*?)-/,"")}var Pr=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,dn=/^(@+)?(\+|#+)?[rs]?$/g,ea=/(\*)(0+)|(#+)(0+)|(0+)/g,mn=/^(0+)$/;function Or(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(dn,function(r,n,i){return typeof i!="str
9ing"?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):i==="+"?t.minimumSignificantDigits=n.length:n[0]==="#"?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+(typeof i=="string"?i.length:0)),""}),t}function vn(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function ta(e){var t;if(e[0]==="E"&&e[1]==="E"?(t={notation:"engineering"},e=e.slice(2)):e[0]==="E"&&(t={notation:"scientific"},e=e.slice(1)),t){var r=e.slice(0,2);if(r==="+!"?(t.signDisplay="always",e=e.slice(2)):r==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!mn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function wr(e){var t={},r=vn(e);return r||t}function ra(e){for(var t={},r=0,n=e;r<n.length;r++){var i=n[r];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=Ko(i.options[0]);continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=S(S(S({},t),{notation:"scientific"}),i.options.reduce(function(u,l){return S(S({},u),wr(l))},{}));continue;case"engineering":t=S(S(S({},t),{notation:"engineering"}),i.options.reduce(function(u,l){return S(S({},u),wr(l))},{}));continue;case"notation-simple":t.notation="standard";continue;case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(ea,function(u,l,f,_,h,v){if(l)t.minimumIntegerDigits=f.length;else{if(_&&h)throw new Error("We currently do not support maximum integer digits");if(v)throw new Error("We currently do not support exact integer digits")}return""});continue}if(mn.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(Pr.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Pr,function(u,l,f,_,h,v){return f==="*"?t.minimumFractionDigits=l.length:_&&_[0]==="#"?t.maximumFractionDigits=_.length:h&&v?(t.minimumFractionDigits=h.length,t.maximumFractionDigits=h.length+v.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=i.options[0];o==="w"?t=S(S({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=S(S({},t),Or(o)));continue}if(dn.test(i.stem)){t=S(S({},t),Or(i.stem));continue}var a=vn(i.stem);a&&(t=S(S({},t),a));var s=ta(i.stem);s&&(t=S(S({},t),s))}return t}var $e={"001":["H","h"],419:["h","H","hB","hb"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["h","H","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["h","H","hB","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["h","H","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["h","H","hB","hb"],CU:["h","H","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["h","H","hB","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["h","H","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["h","H","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA
vendor: 20,180 bytes, line 9
9:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["h","H","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["h","H","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["h","H","hB","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["h","H","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["h","H","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["h","H","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"en-HK":["h","hb","H","hB"],"en-IL":["H","h","hb","hB"],"en-MY":["h","hb","H","hB"],"es-BR":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function na(e,t){for(var r="",n=0;n<e.length;n++){var i=e.charAt(n);if(i==="j"){for(var o=0;n+1<e.length&&e.charAt(n+1)===i;)o++,n++;var a=1+(o&1),s=o<2?1:3+(o>>1),u="a",l=ia(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)r+=u;for(;a-- >0;)r=l+r}else i==="J"?r+="H":r+=i}return r}function ia(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r=e.language,n;r!=="root"&&(n=e.maximize().region);var i=$e[n||""]||$e[r||""]||$e["".concat(r,"-001")]||$e["001"];return i[0]}var Et,oa=new RegExp("^".concat(_n.source,"*")),aa=new RegExp("".concat(_n.source,"*$"));function I(e,t){return{start:e,end:t}}var sa=!!String.prototype.startsWith&&"_a".startsWith("a",1),ua=!!String.fromCodePoint,la=!!Object.fromEntries,fa=!!String.prototype.codePointAt,ca=!!String.prototype.trimStart,ha=!!String.prototype.trimEnd,pa=!!Number.isSafeInteger,_a=pa?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ct=!0;try{var da=gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ct=((Et=da.exec("a"))===null||Et===void 0?void 0:Et[0])==="a"}catch{Ct=!1}var Ir=sa?function(t,r,n){return t.startsWith(r,n)}:function(t,r,n){return t.slice(n,n+r.length)===r},Mt=ua?String.fromCodePoint:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var n="",i=t.length,o=0,a;i>o;){if(a=t[o++],a>1114111)throw RangeError(a+" is not a valid code point");n+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return n},Sr=la?Object.fromEntries:function(t){for(var r={},n=0,i=t;n<i.length;n++){var o=i[n],a=o[0],s=o[1];r[a]=s}return r},bn=fa?function(t,r){return t.codePointAt(r)}:function(t,r){var n=t.length;if(!(r<0||r>=n)){var i=t.charCodeAt(r),o;return i<55296||i>56319||r+1===n||(o=t.charCodeAt(r+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},ma=ca?function(t){return t.trimStart()}:function(t){return t.replace(oa,"")},va=ha?function(t){return t.trimEnd()}:function(t){return t.replace(aa,"")};function gn(e,t){return new RegExp(e,t)}var Vt;if(Ct){var Lr=gn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Vt=function(t,r){var n;Lr.lastIndex=r;var i=Lr.exec(t);return(n=i[1])!==null&&n!==void 0?n:""}}else Vt=function(t,r){for(var n=[];;){var i=bn(t,r);if(i===void 0||En(i)||ya(i))break;n.push(i),r+=i>=65536?2:1}return Mt.apply(void 0,n)};var ba=(function(){function e(t,r){r===void 0&&(r={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!r.ignoreTag,this.locale=r.locale,this.requiresOtherClause=!!r.requiresOtherClause,this.shouldParseSkeletons=!!r.shouldParseSkeletons}return e.prototype.parse=function(){if(this.offset()!==0)throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(t,r,n){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var a=this.parseArgument(t,n);if(a.err)return a;i.push(a.val)}else{if(o===125&&t>0)break;if(o===35&&(r==="plural"||r==="selectordinal")){var s=this.clonePosition();this.bump(),i.push({type:R.pound,location:I(s,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(n)break;return this.error(w.UNMATCHED_CLOSING_TAG,I(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&Ut(this.peek()||0)){var a=this.parseTag(t,r);if(a.err)return a;i.push(a.val)}else{var a=this.parseLiteral(t,r);if(a.err)return a;i.push(a.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,r){var n=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:R.literal,value:"<".concat(i,"/>"),location:I(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,r,!0);if(o.err)return o;var a=o.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!Ut(this.char()))return this.error(w.INVALID_TAG,I(s,this.clonePosition()));var u=this.clonePosition(),l=this.parseTagName();return i!==l?this.error(w.UNMATCHED_CLOSING_TAG,I(u,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:R.tag,value:i,children:a,location:I(n,this.clonePosition())},err:null}:this.error(w.INVALID_TAG,I(s,this.clonePosition())))}else return this.error(w.UNCLOSED_TAG,I(n,this.clonePosition()))}else return this.error(w.INVALID_TAG,I(n,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Ea(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,r){for(var n=this.clonePosition(),i="";;){var o=this.tryParseQuote(r);if(o){i+=o;continue}var a=this.tryParseUnquoted(t,r);if(a){i+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){i+=s;continue}break}var u=I(n,this.clonePosition());return{val:{type:R.literal,value:i,location:u},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ga(this.peek()||0))?(this.bump(),"<"):null},e.prototype.tryParseQuote=function(t){if(this.isEOF()||this.char()!==39)return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if(t==="plural"||t==="selectordinal")break;return null;default:return null}this.bump();var r=[this.char()];for(this.bump();!this.isEOF();){var n=this.char();if(n===39)if(this.peek()===39)r.push(39),this.bump();else{this.bump();break}else r.push(n);this.bump()}return Mt.apply(void 0,r)},e.prototype.tryParseUnquoted=function(t,r){if(this.isEOF())return null;var n=this.char();return n===60||n===123||n===35&&(r==="plural"||r==="selectordinal")||n===125&&t>0?null:(this.bump(),Mt(n))},e.prototype.parseArgument=function(t,r){var n=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,I(n,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(w.EMPTY_ARGUMENT,I(n,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(w.MALFORMED_ARGUMENT,I(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,I(n,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:R.argument,value:i,location:I(n,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,I(n,this.clonePosition())):this.parseArgumentOptions(t,r,i,n);default:return this.error(w.MALFORMED_ARGUMENT,I(n,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),r=this.offset(),n=Vt(this.message,r),i=r+n.length;this.bumpTo(i);var o=this.clonePosition(),a=I(t,o);return{value:n,location:a}},e.prototype.parseArgumentOptions=function(t,r,n,i){var o,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,u=this.clonePosition();switch(s){case"":return this.error(w.EXPECT_ARGUMENT_TYPE,I(a,u));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var f=this.clonePosition(),_=this.parseSimpleArgStyleIfPossible();if(_.err)return _;var h=va(_.val);if(h.length===0)return this.error(w.EXPECT_ARGUMENT_STYLE,I(this.clonePosition(),this.clonePosition()));var v=I(f,this.clonePosition());l={style:h,styleLocation:v}}var g=this.tryParseArgumentClose(i);if(g.err)return g;var x=I(i,this.clonePosition());if(l&&Ir(l?.style,"::",0)){var d=ma(l.style.slice(2));if(s==="number"){var _=this.parseNumberSkeletonFromString(d,l.styleLocation);return _.err?_:{val:{type:R.number,value:n,location:x,style:_.val},err:null}}else{if(d.length===0)return this.error(w.EXPECT_DATE_TIME_SKELETON,x);var p=d;this.locale&&(p=na(d,this.locale));var h={type:pe.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Yo(p):{}},b=s==="date"?R.date:R.time;return{val:{type:b,value:n,location:x,style:h},err:null}}}return{val:{type:s==="number"?R.number:s==="date"?R.date:R.time,value:n,location:x,style:(o=l?.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS,I(m,S({},m)));this.bumpSpace();var y=this.parseIdentifierIfPossible(),A=0;if(s!=="select"&&y.value==="offset"){if(!this.bumpIf(":"))return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,I(this.clonePosition(),this.clonePosition()));this.bumpSpace();var _=this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(_.err)return _;this.bumpSpace(),y=this.parseIdentifierIfPossible(),A=_.val}var E=this.tryParsePluralOrSelectOptions(t,s,r,y);if(E.err)return E;var g=this.tryParseArgumentClose(i);if(g.err)return g;var P=I(i,this.clonePosition());return s==="select"?{val:{type:R.select,value:n,options:Sr(E.val),location:P},err:null}:{val:{type:R.plural,value:n,options:Sr(E.val),offset:A,pluralType:s==="plural"?"cardinal":"ordinal",location:P},err:null}}default:return this.error(w.INVALID_ARGUMENT_TYPE,I(a,u))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(w.EXPECT_ARGUMENT_CLOSING_BRACE,I(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,r=this.clonePosition();!this.isEOF();){var n=this.char();switch(n){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(w.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,I(i,this.clonePosition()));this.bump();break}case 123:{t+=1,this.bump();break}case 125:{if(t>0)t-=1;else return{val:this.message.slice(r.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(r.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,r){var n=[];try{n=Jo(t)}catch{return this.error(w.INVALID_NUMBER_SKELETON,r)}return{val:{type:pe.number,tokens:n,location:r,parsedOptions:this.shouldParseSkeletons?ra(n):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,r,n,i){for(var o,a=!1,s=[],u=new Set,l=i.value,f=i.location;;){if(l.length===0){var _=this.clonePosition();if(r!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_SELECTOR,w.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;f=I(_,this.clonePosition()),l=this.message.slice(_.offset,this.offset())}else break}if(u.has(l))return this.error(r==="select"?w.DUPLICATE_SELECT_ARGUMENT_SELECTOR:w.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,f);l==="other"&&(a=!0),this.bumpSpace();var v=this.clonePosition();if(!this.bumpIf("{"))return this.error(r==="select"?w.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:w.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,I(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,r,n);if(g.err)return g;var x=this.tryParseArgumentClose(v);if(x.err)return x;s.push([l,{value:g.val,location:I(v,this.clonePosition())}]),u.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,f=o.location}return s.length===0?this.error(r==="select"?w.EXPECT_SELECT_ARGUMENT_SELECTOR:w.EXPECT_PLURAL_ARGUMENT_SELECTOR,I(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(w.MISSING_OTHER_CLAUSE,I(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,r){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var o=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)o=!0,a=a*10+(s-48),this.bump();else break}var u=I(i,this.clonePosition());return o?(a*=n,_a(a)?{val:a,err:null}:this.error(r,u)):this.error(t,u)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},e.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var r=bn(this.message,t);if(r===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return r},e.prototype.error=function(t,r){return{val:null,err:{kind:t,message:this.message,location:r}}},e.prototype.bump=function(){if(!this.isEOF()){var t=this.char();t===10?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},e.prototype.bumpIf=function(t){if(Ir(this.message,t,this.offset())){for(var r=0;r<t.length;r++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var r=this.offset(),n=this.message.indexOf(t,r);return n>=0?(this.bumpTo(n),!0):(this.bumpTo(this.message.length),!1)},e.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var r=this.offset();if(r===t)break;if(r>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},e.prototype.bumpSpace=function(){for(;!this.isEOF()&&En(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),r=this.offset(),n=this.message.charCodeAt(r+(t>=65536?2:1));return n??null},e})();function Ut(e){return e>=97&&e<=122||e>=65&&e<=90}function ga(e){return Ut(e)||e===47}function Ea(e){return e===45||e===46||e>=48&&e<=57||e===95||e>=97&&e<=122||e>=65&&e<=90||e==183||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}function En(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ya(e){return e>=33&&e<=35||e===36||e>=37&&e<=39||e===40||e===41||e===42||e===43||e===44||e===45||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||e===91||e===92||e===93||e===94||e===96||e===123||e===124||e===125||e===126||e===161||e>=162&&e<=165||e===166||e===167||e===169||e===171||e===172||e===174||e===176||e===177||e===182||e===187||e===191||e===215||e===247||e>=8208&&e<=8213||e>=8214&&e<=8215||e===8216||e===8217||e===8218||e>=8219&&e<=8220||e===8221||e===8222||e===8223||e>=8224&&e<=8231||e>=8240&&e<=8248||e===8249||e===8250||e>=8251&&e<=8254||e>=8257&&e<=8259||e===8260||e===8261||e===8262||e>=8263&&e<=8273||e===8274||e===8275||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||e===8608||e>=8609&&e<=8610||e===8611||e>=8612&&e<=8613||e===8614||e>=8615&&e<=8621||e===8622||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||e===8658||e===8659||e===8660||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||e===8968||e===8969||e===8970||e===8971||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||e===9001||e===9002||e>=9003&&e<=9083||e===9084||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||e===9655||e>=9656&&e<=9664||e===9665||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||e===9839||e>=9840&&e<=10087||e===10088||e===10089||e===10090||e===10091||e===10092||e===10093||e===10094||e===10095||e===10096||e===10097||e===10098||e===10099||e===10100||e===10101||e>=10132&&e<=10175||e>=10176&&e<=10180||e===10181||e===10182||e>=10183&&e<=10213||e===10214||e===10215||e===10216||e===10217||e===10218||e===10219||e===10220||e===10221||e===10222||e===10223||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||e===10627||e===10628||e===10629||e===10630||e===10631||e===10632||e===10633||e===10634||e===10635||e===10636||e===10637||e===10638||e===10639||e===10640||e===10641||e===10642||e===10643||e===10644||e===10645||e===10646||e===10647||e===10648||e>=10649&&e<=10711||e===10712||e===10713||e===10714||e===10715||e>=10716&&e<=10747||e===10748||e===10749||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||e===11158||e>=11159&&e<=11263||e>=11776&&e<=11777||e===11778||e===11779||e===11780||e===11781||e>=11782&&e<=11784||e===11785||e===11786||e===11787||e===11788||e===11789||e>=11790&&e<=11798||e===11799||e>=11800&&e<=11801||e===11802||e===11803||e===11804||e===11805||e>=11806&&e<=11807||e===11808||e===11809||e===11810||e===11811||e===11812||e===11813||e===11814||e===11815||e===11816||e===11817||e>=11818&&e<=11822||e===11823||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||e===11840||e===11841||e===11842||e>=11843&&e<=11855||e>=11856&&e<=11857||e===11858||e>=11859&&e<=11903||e>=12289&&e<=12291||e===12296||e===12297||e===12298||e===12299||e===12300||e===12301||e===12302||e===12303||e===12304||e===12305||e>=12306&&e<=12307||e===12308||e===12309||e===12310||e===12311||e===12312||e===12313||e===12314||e===12315||e===12316||e===12317||e>=12318&&e<=12319||e===12320||e===12336||e===64830||e===64831||e>=65093&&e<=65094}function Gt(e){e.forEach(function(t){if(delete t.location,fn(t)||cn(t))for(var r in t.options)delete t.options[r].location,Gt(t.options[r].value);else sn(t)&&pn(t.style)||(un(t)||ln(t))&&Nt(t.style)?delete t.style.location:hn(t)&&Gt(t.children)})}
vendor: 5,890 bytes, lines 9-11
9function xa(e,t){t===void 0&&(t={}),t=S({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var r=new ba(e,t).parse();if(r.err){var n=SyntaxError(w[r.err.kind]);throw n.location=r.err.location,n.originalMessage=r.err.message,n}return t?.captureLocation||Gt(r.val),r.val}var _e;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(_e||(_e={}));var ot=(function(e){it(t,e);function t(r,n,i){var o=e.call(this,r)||this;return o.code=n,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t})(Error),Rr=(function(e){it(t,e);function t(r,n,i,o){return e.call(this,'Invalid values for "'.concat(r,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),_e.INVALID_VALUE,o)||this}return t})(ot),Ta=(function(e){it(t,e);function t(r,n,i){return e.call(this,'Value for "'.concat(r,'" must be of type ').concat(n),_e.INVALID_VALUE,i)||this}return t})(ot),Aa=(function(e){it(t,e);function t(r,n){return e.call(this,'The intl string context variable "'.concat(r,'" was not provided to the string "').concat(n,'"'),_e.MISSING_VALUE,n)||this}return t})(ot),V;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(V||(V={}));function Pa(e){return e.length<2?e:e.reduce(function(t,r){var n=t[t.length-1];return!n||n.type!==V.literal||r.type!==V.literal?t.push(r):n.value+=r.value,t},[])}function Oa(e){return typeof e=="function"}function We(e,t,r,n,i,o,a){if(e.length===1&&Ar(e[0]))return[{type:V.literal,value:e[0].value}];for(var s=[],u=0,l=e;u<l.length;u++){var f=l[u];if(Ar(f)){s.push({type:V.literal,value:f.value});continue}if(Zo(f)){typeof o=="number"&&s.push({type:V.literal,value:r.getNumberFormat(t).format(o)});continue}var _=f.value;if(!(i&&_ in i))throw new Aa(_,a);var h=i[_];if(Wo(f)){(!h||typeof h=="string"||typeof h=="number")&&(h=typeof h=="string"||typeof h=="number"?String(h):""),s.push({type:typeof h=="string"?V.literal:V.object,value:h});continue}if(un(f)){var v=typeof f.style=="string"?n.date[f.style]:Nt(f.style)?f.style.parsedOptions:void 0;s.push({type:V.literal,value:r.getDateTimeFormat(t,v).format(h)});continue}if(ln(f)){var v=typeof f.style=="string"?n.time[f.style]:Nt(f.style)?f.style.parsedOptions:n.time.medium;s.push({type:V.literal,value:r.getDateTimeFormat(t,v).format(h)});continue}if(sn(f)){var v=typeof f.style=="string"?n.number[f.style]:pn(f.style)?f.style.parsedOptions:void 0;v&&v.scale&&(h=h*(v.scale||1)),s.push({type:V.literal,value:r.getNumberFormat(t,v).format(h)});continue}if(hn(f)){var g=f.children,x=f.value,d=i[x];if(!Oa(d))throw new Ta(x,"function",a);var p=We(g,t,r,n,i,o),b=d(p.map(function(A){return A.value}));Array.isArray(b)||(b=[b]),s.push.apply(s,b.map(function(A){return{type:typeof A=="string"?V.literal:V.object,value:A}}))}if(fn(f)){var m=f.options[h]||f.options.other;if(!m)throw new Rr(f.value,h,Object.keys(f.options),a);s.push.apply(s,We(m.value,t,r,n,i));continue}if(cn(f)){var m=f.options["=".concat(h)];if(!m){if(!Intl.PluralRules)throw new ot(`Intl.PluralRules is not available in this environment. 10Try polyfilling it using "@formatjs/intl-pluralrules" 11`,_e.MISSING_INTL_API,a);var y=r.getPluralRules(t,{type:f.pluralType}).select(h-(f.offset||0));m=f.options[y]||f.options.other}if(!m)throw new Rr(f.value,h,Object.keys(f.options),a);s.push.apply(s,We(m.value,t,r,n,i,h-(f.offset||0)));continue}}return Pa(s)}function wa(e,t){return t?S(S(S({},e||{}),t||{}),Object.keys(e).reduce(function(r,n){return r[n]=S(S({},e[n]),t[n]||{}),r},{})):e}function Ia(e,t){return t?Object.keys(e).reduce(function(r,n){return r[n]=wa(e[n],t[n]),r},S({},e)):e}function yt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,r){e[t]=r}}}}}function Sa(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:bt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.NumberFormat).bind.apply(t,vt([void 0],r,!1)))},{cache:yt(e.number),strategy:gt.variadic}),getDateTimeFormat:bt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.DateTimeFormat).bind.apply(t,vt([void 0],r,!1)))},{cache:yt(e.dateTime),strategy:gt.variadic}),getPluralRules:bt(function(){for(var t,r=[],n=0;n<arguments.length;n++)r[n]=arguments[n];return new((t=Intl.PluralRules).bind.apply(t,vt([void 0],r,!1)))},{cache:yt(e.pluralRules),strategy:gt.variadic})}}var yn=(function(){function e(t,r,n,i){r===void 0&&(r=e.defaultLocale);var o=this;if(this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(u){var l=o.formatToParts(u);if(l.length===1)return l[0].value;var f=l.reduce(function(_,h){return!_.length||h.type!==V.literal||typeof _[_.length-1]!="string"?_.push(h.value):_[_.length-1]+=h.value,_},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(u){return We(o.ast,o.locales,o.formatters,o.formats,u,void 0,o.message)},this.resolvedOptions=function(){var u;return{locale:((u=o.resolvedLocale)===null||u===void 0?void 0:u.toString())||Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},this.locales=r,this.resolvedLocale=e.resolveLocale(r),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=i||{};a.formatters;var s=Uo(a,["formatters"]);this.ast=e.__parse(t,S(S({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=Ia(e.formats,n),this.formatters=i&&i.formatters||Sa(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale}
vendor: 5,908 bytes, lines 11-13
11,enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var r=Intl.NumberFormat.supportedLocalesOf(t);return r.length>0?new Intl.Locale(r[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=xa,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e})();function La(e,t){if(t==null)return;if(t in e)return e[t];const r=t.split(".");let n=e;for(let i=0;i<r.length;i++)if(typeof n=="object"){if(i>0){const o=r.slice(i,r.length).join(".");if(o in n){n=n[o];break}}n=n[r[i]]}else n=void 0;return n}const K={},Ra=(e,t,r)=>r&&(t in K||(K[t]={}),e in K[t]||(K[t][e]=r),r),xn=(e,t)=>{if(t==null)return;if(t in K&&e in K[t])return K[t][e];const r=Me(t);for(let n=0;n<r.length;n++){const i=r[n],o=Da(i,e);if(o)return Ra(e,t,o)}};let Kt;const me=Ce({});function Ha(e){return Kt[e]||null}function er(e){return e in Kt}function Da(e,t){if(!er(e))return null;const r=Ha(e);return La(r,t)}function Ba(e){if(e==null)return;const t=Me(e);for(let r=0;r<t.length;r++){const n=t[r];if(er(n))return n}}function Ze(e,...t){delete K[e],me.update(r=>(r[e]=Vo.all([r[e]||{},...t]),r))}ae([me],([e])=>Object.keys(e));me.subscribe(e=>Kt=e);const De={};function Na(e){De[e]=new Set}function Ca(e,t){De[e].delete(t),De[e].size===0&&delete De[e]}function Be(e){return De[e]}function Ma(e){return Me(e).map(t=>{const r=Be(t);return[t,r?[...r]:[]]}).filter(([,t])=>t.length>0)}function Ye(e){return e==null?!1:Me(e).some(t=>{var r;return(r=Be(t))==null?void 0:r.size})}function Va(e,t){return Promise.all(t.map(n=>(Ca(e,n),n().then(i=>i.default||i)))).then(n=>Ze(e,...n))}const Te={};function Tn(e){if(!Ye(e))return e in Te?Te[e]:Promise.resolve();const t=Ma(e);return Te[e]=Promise.all(t.map(([r,n])=>Va(r,n))).then(()=>{if(Ye(e))return Tn(e);delete Te[e]}),Te[e]}function Ua(e,t){Be(e)||Na(e);const r=Be(e);Be(e).has(t)||(er(e)||me.update(n=>(n[e]={},n)),r.add(t))}var Hr=Object.getOwnPropertySymbols,Ga=Object.prototype.hasOwnProperty,ka=Object.prototype.propertyIsEnumerable,ja=(e,t)=>{var r={};for(var n in e)Ga.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Hr)for(var n of Hr(e))t.indexOf(n)<0&&ka.call(e,n)&&(r[n]=e[n]);return r};const Fa={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};function $a({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${Me(e).join('", "')}".${Ye(re())?` 12 13Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const za={fallbackLocale:null,loadingDelay:200,formats:Fa,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},we=za;function de(){return we}function Xa(e){const t=e,{formats:r}=t,n=ja(t,["formats"]);let i=e.fallbackLocale;if(e.initialLocale)try{yn.resolveLocale(e.initialLocale)&&(i=e.initialLocale)}catch{console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return n.warnOnMissingMessages&&(delete n.warnOnMissingMessages,n.handleMissingMessage==null?n.handleMissingMessage=$a:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(we,n,{initialLocale:i}),r&&("number"in r&&Object.assign(we.formats.number,r.number),"date"in r&&Object.assign(we.formats.date,r.date),"time"in r&&Object.assign(we.formats.time,r.time)),se.set(i)}const xt=Ce(!1);var Wa=Object.defineProperty,Za=Object.defineProperties,qa=Object.getOwnPropertyDescriptors,Dr=Object.getOwnPropertySymbols,Ya=Object.prototype.hasOwnProperty,Qa=Object.prototype.propertyIsEnumerable,Br=(e,t,r)=>t in e?Wa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ja=(e,t)=>{for(var r in t||(t={}))Ya.call(t,r)&&Br(e,r,t[r]);if(Dr)for(var r of Dr(t))Qa.call(t,r)&&Br(e,r,t[r]);return e},Ka=(e,t)=>Za(e,qa(t));let kt;const Qe=Ce(null);function Nr(e){return e.split("-").map((t,r,n)=>n.slice(0,r+1).join("-")).reverse()}function Me(e,t=de().fallbackLocale){const r=Nr(e);return t?[...new Set([...r,...Nr(t)])]:r}function re(){return kt??void 0}Qe.subscribe(e=>{kt=e??void 0,typeof window<"u"&&e!=null&&document.documentElement.setAttribute("lang",e)});const es=e=>{if(e&&Ba(e)&&Ye(e)){const{loadingDelay:t}=de();let r;return typeof window<"u"&&re()!=null&&t?r=window.setTimeout(()=>xt.set(!0),t):xt.set(!0),Tn(e).then(()=>{Qe.set(e)}).finally(()=>{clearTimeout(r),xt.set(!1)})}return Qe.set(e)},se=Ka(Ja({},Qe),{set:es}),ts=()=>typeof window>"u"?null:window.navigator.language||window.navigator.languages[0],at=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}};var rs=Object.defineProperty,Je=Object.getOwnPropertySymbols,An=Object.prototype.hasOwnProperty,Pn=Object.prototype.propertyIsEnumerable,Cr=(e,t,r)=>
13t in e?rs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,tr=(e,t)=>{for(var r in t||(t={}))An.call(t,r)&&Cr(e,r,t[r]);if(Je)for(var r of Je(t))Pn.call(t,r)&&Cr(e,r,t[r]);return e},ve=(e,t)=>{var r={};for(var n in e)An.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Je)for(var n of Je(e))t.indexOf(n)<0&&Pn.call(e,n)&&(r[n]=e[n]);return r};const Ne=(e,t)=>{const{formats:r}=de();if(e in r&&t in r[e])return r[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ns=at(e=>{var t=e,{locale:r,format:n}=t,i=ve(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Ne("number",n)),new Intl.NumberFormat(r,i)}),is=at(e=>{var t=e,{locale:r,format:n}=t,i=ve(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Ne("date",n):Object.keys(i).length===0&&(i=Ne("date","short")),new Intl.DateTimeFormat(r,i)}),os=at(e=>{var t=e,{locale:r,format:n}=t,i=ve(t,["locale","format"]);if(r==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Ne("time",n):Object.keys(i).length===0&&(i=Ne("time","short")),new Intl.DateTimeFormat(r,i)}),as=(e={})=>{var t=e,{locale:r=re()}=t,n=ve(t,["locale"]);return ns(tr({locale:r},n))},ss=(e={})=>{var t=e,{locale:r=re()}=t,n=ve(t,["locale"]);return is(tr({locale:r},n))},us=(e={})=>{var t=e,{locale:r=re()}=t,n=ve(t,["locale"]);return os(tr({locale:r},n))},ls=at((e,t=re())=>new yn(e,t,de().formats,{ignoreTag:de().ignoreTag})),fs=(e,t={})=>{var r,n,i,o;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:s,locale:u=re(),default:l}=a;if(u==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let f=xn(e,u);if(!f)f=(o=(i=(n=(r=de()).handleMissingMessage)==null?void 0:n.call(r,{locale:u,id:e,defaultValue:l}))!=null?i:l)!=null?o:e;else if(typeof f!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof f}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),f;if(!s)return f;let _=f;try{_=ls(f,u).format(s)}catch(h){h instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,h.message)}return _},cs=(e,t)=>us(t).format(e),hs=(e,t)=>ss(t).format(e),ps=(e,t)=>as(t).format(e),_s=(e,t=re())=>xn(e,t),rr=ae([se,me],()=>fs);ae([se],()=>cs);ae([se],()=>hs);ae([se],()=>ps);ae([se,me],()=>_s);const Mr=Ce(null);var ds=rt('<a data-sveltekit-reload=""> </a>'),ms=rt('<div class="nav-holder svelte-99kmwu"><nav></nav></div>'),vs=rt('<div class="info svelte-99kmwu"><span class="svelte-99kmwu"><a class="title svelte-99kmwu"> </a></span> <span class="svelte-99kmwu"> <a class="gradio svelte-99kmwu" href="https://gradio.app">Gradio</a>.</span> <span class="svelte-99kmwu"> <a class="hf svelte-99kmwu" href="https://huggingface.co/spaces"><span class="space-logo svelte-99kmwu"><img alt="Hugging Face Space" class="svelte-99kmwu"/></span> Spaces</a></span></div>'),bs=rt('<div data-iframe-height=""><!> <div><!> <div><!></div></div></div>');function qs(e,t){Ji(t,!1);const r=()=>xr(Mr,"$navbar_config",i),n=()=>xr(rr,"$_",i),[i,o]=Io(),a=Se(),s=Se();let u=G(t,"wrapper",12),l=G(t,"version",12),f=G(t,"initial_height",12),_=G(t,"fill_width",12),h=G(t,"is_embed",12),v=G(t,"space",12),g=G(t,"display",12),x=G(t,"info",12),d=G(t,"loaded",12),p=G(t,"pages",28,()=>[]),b=G(t,"current_page",12,""),m=G(t,"root",12),y=G(t,"components",28,()=>[]),A=y().find(T=>T.type==="navbar"),E=Se(A?{visible:A.props.visible,main_page_name:A.props.main_page_name,value:A.props.value}:null);L(E)&&Mr.set(L(E));function P(T){let B=T.split("?")[0].split("#")[0];return B=B.replace(/^\/+|\/+$/g,""),B}function H(T,B){return T.startsWith("http://")||T.startsWith("https://")?!1:P(T)===P(B)}ht(()=>r(),()=>{r()&&te(E,{visible:r().visible??!0,main_page_name:r().main_page_name??"Home",value:r().value??null})}),ht(()=>(Xe(p()),L(E)),()=>{te(a,p().length>1&&(L(E)===null||L(E).visible!==!1))}),ht(()=>(Xe(p()),L(E)),()=>{te(s,(()=>{let T=p().filter(([N,U,F],X)=>X===0&&N===""?L(E)?.main_page_name!==!1:F!==!1),B=L(E)&&L(E).main_page_name!==!1&&L(E).main_page_name!=="Home"?T.map(([N,U,F],X)=>X===0&&N===""&&U==="Home"?[N,L(E).main_page_name]:[N,U]):T.map(([N,U])=>[N,U]);if(L(E)?.value&&L(E).value.length>0){const N=new Set(B.map(([F])=>F)),U=L(E).value.map(([F,X])=>[X,F]).filter(([F])=>!N.has(F));return[...B,...U]}return B})())}),Ki();var C={get wrapper(){return u()},set wrapper(T){u(T),k()},get version(){return l()},set version(T){l(T),k()},get initial_height(){return f()},set initial_height(T){f(T),k()},get fill_width(){return _()},set fill_width(T){_(T),k()},get is_embed(){return h()},set is_embed(T){h(T),k()},get space(){return v()},set space(T){v(T),k()},get display(){return g()},set display(T){g(T),k()},get info(){return x()},set info(T){x(T),k()},get loaded(){return d()},set loaded(T){d(T),k()},get pages(){return p()},set pages(T){p(T),k()},get current_page(){return b()},set current_page(T){b(T),k()},get root(){return m()},set root(T){m(T),k()},get components(){return y()},set components(T){y(T),k()}};Oo();var O=bs();let ue,le;var or=$(O);{var Qn=T=>{var B=ms(),N=$(B);let U;fo(N,5,()=>L(s),uo,(F,X)=>{var Ve=to(()=>ro(L(X),2));let M=()=>L(Ve)[0],Ue=()=>L(Ve)[1];var W=ds();let be;var ut=$(W,!0);j(W),Ge((lt,ft,ti,ri)=>{q(W,"href",lt),q(W,"target",ft),q(W,"rel",ti),be=Oe(W,1,"svelte-99kmwu",null,be,ri),je(ut,Ue())},[()=>(M(),Xe(m()),Z(()=>M().startsWith("http://")||M().startsWith("https://")?M():`${m()}/${M()}`)),()=>(M(),Z(()=>M().startsWith("http://")||M().startsWith("https://")?"_blank":"_self")),()=>(M(),Z(()=>M().startsWith("http://")||M().startsWith("https://")?"noopener noreferrer":"")),()=>({active:H(M(),b())})]),ke(F,W)}),j(N),j(B),Ge(()=>
13U=Oe(N,1,"fillable svelte-99kmwu",null,U,{fill_width:_()})),ke(T,B)};_r(or,T=>{L(a)&&T(Qn)})}var st=Ee(or,2);let ar;var sr=$(st);po(sr,t,"default",{});var ur=Ee(sr,2),Jn=$(ur);{var Kn=T=>{var B=vs(),N=$(B),U=$(N),F=$(U,!0);j(U),j(N);var X=Ee(N,2),Ve=$(X);hr(2),j(X);var M=Ee(X,2),Ue=$(M),W=Ee(Ue),be=$(W),ut=$(be);j(be),hr(),j(W),j(M),j(B),Ge((lt,ft)=>{q(U,"href",`https://huggingface.co/spaces/${v()??""}`),je(F,v()),je(Ve,`${lt??""} `),je(Ue,`${ft??""} `),q(ut,"src",Bo)},[()=>(n(),Z(()=>n()("common.built_with"))),()=>(n(),Z(()=>n()("common.hosted_on")))]),ke(T,B)};_r(Jn,T=>{g()&&v()&&x()&&T(Kn)})}j(ur),j(st),j(O),Po(O,T=>u(T),()=>u()),Ge(()=>{ue=Oe(O,1,`gradio-container gradio-container-${l()??""}`,"svelte-99kmwu",ue,{fill_width:_(),"embed-container":g(),"with-info":x()}),le=Kr(O,"",le,{"min-height":d()?"initial":f(),"flex-grow":g()?"auto":"1"}),ar=Oe(st,1,"main fillable svelte-99kmwu",null,ar,{fill_width:_(),app:!g()&&!h()})}),ke(e,O);var ei=eo(C);return o(),ei}let On=!1;typeof window<"u"&&"attachShadow"in Element.prototype&&"adoptedStyleSheets"in Document.prototype&&(On="adoptedStyleSheets"in document.createElement("div").attachShadow({mode:"open"}));function Ys(e,t){const r=new URL(import.meta.url).origin;var n=e;if(window.location.origin!==r&&(n=new URL(e,r).href),document.querySelector(`link[href='${n}']`))return Promise.resolve();const o=document.createElement("link");return o.rel="stylesheet",o.href=n,new Promise((a,s)=>{o.addEventListener("load",()=>a()),o.addEventListener("error",()=>{console.error(`Unable to preload CSS for ${n}`),a()}),t.appendChild(o)})}function Qs(e,t,r){if(!On)return e;r||(r=document.createElement("style")),r.remove();const n=new CSSStyleSheet;n.replaceSync(e);let i="";e=e.replace(/@import\s+url\((.*?)\);\s*/g,(u,l)=>(i+=`@import url(${l}); 14`,""));const o=n.cssRules;let a="",s=`.gradio-container.gradio-container-${t} .contain `;for(let u=0;u<o.length;u++){const l=o[u];let f=l.cssText.includes(".dark");if(l instanceof CSSStyleRule){const _=l.selectorText;if(_){const h=_.replace(".dark","").split(",").map(v=>`${f?".dark":""} ${s} ${v.trim()} `).join(",");a+=l.cssText,a+=l.cssText.replace(_,h)}}else if(l instanceof CSSMediaRule){let _=`@media ${l.media.mediaText} {`;for(let h=0;h<l.cssRules.length;h++){const v=l.cssRules[h];if(v instanceof CSSStyleRule){let g=v.cssText.includes(".dark ");const x=v.selectorText,d=x.replace(".dark","").split(",").map(p=>`${g?".dark":""} ${s} ${p.trim()} `).join(",");_+=v.cssText.replace(x,d)}}_+="}",a+=_}else if(l instanceof CSSKeyframesRule){a+=`@keyframes ${l.name} {`;for(let _=0;_<l.cssRules.length;_++){const h=l.cssRules[_];h instanceof CSSKeyframeRule&&(a+=`${h.keyText} { ${h.style.cssText} }`)}a+="}"}else l instanceof CSSFontFaceRule&&(a+=`@font-face { ${l.style.cssText} }`)}return i+a}const gs={accordion:{component:()=>c(()=>import("./Index-BNz3TOgL.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]),import.meta.url)},annotatedimage:{component:()=>c(()=>import("./Index-BwKMkb_R.js"),__vite__mapDeps([16,1,2,3,4,5,6,17,18,19,20,21,22,7,8,9,10,11,12,23]),import.meta.url)},audio:{base:()=>c(()=>import("./StaticAudio-l4w18DLY.js").then(e=>e.a),__vite__mapDeps([24,1,2,4,5,6,17,25,18,26,27,28,20,29,30,31,32,33,34]),import.meta.url),example:()=>c(()=>import("./Example-BCu6Jpvf.js"),__vite__mapDeps([35,1,2,36]),import.meta.url),component:()=>c(()=>import("./index-D6gV4Ntr.js"),__vite__mapDeps([37,1,2,7,8,9,4,5,6,10,11,12,24,17,25,18,26,27,28,20,29,30,31,32,33,34,38,39,40,41,42,43,44,45,3,46,35,36,47]),import.meta.url)},box:{component:()=>c(()=>import("./Index-977bTfya.js"),__vite__mapDeps([48,1,2,3,4,5,6]),import.meta.url)},browserstate:{component:()=>c(()=>import("./Index-DaE681xv.js"),__vite__mapDeps([49,1,2,50]),import.meta.url)},button:{component:()=>c(()=>import("./Index-DK9ETqTX.js"),__vite__mapDeps([51,1,2,52,5,53,54,55,4,6,17,25,18,26,27,19,20,21,22,56,57]),import.meta.url)},chatbot:{component:()=>c(()=>import("./Index-DGYv0xkF.js"),__vite__mapDeps([58,1,2,39,59,53,54,55,4,5,6,17,25,18,26,27,19,20,21,22,56,60,61,12,42,33,62,63,9,64,10,65,8,11,66,67,28,3,7,68]),import.meta.url)},checkbox:{example:()=>c(()=>import("./Example-DbPNHvC6.js"),__vite__mapDeps([69,1,2,70]),import.meta.url),component:()=>c(()=>import("./Index-Z-AqfFzF.js"),__vite__mapDeps([71,1,2,3,4,5,6,72,9,20,7,8,10,11,12,73,59,74,75]),import.meta.url)},checkboxgroup:{example:()=>c(()=>import("./Example-Di6zioG2.js"),__vite__mapDeps([76,1,2,77]),import.meta.url),component:()=>c(()=>import("./Index-C9j1jM-s.js"),__vite__mapDeps([78,1,2,3,4,5,6,79,72,9,20,7,8,10,11,12,80,81]),import.meta.url)},code:{example:()=>c(()=>import("./Example-8XWa5FWF.js"),__vite__mapDeps([82,1,2,83]),import.meta.url),component:()=>c(()=>import("./Index-BYkPX-0y.js"),__vite__mapDeps([84,1,2,7,8,9,4,5,6,10,11,12,85,86,60,61,27,25,20,3,17,18,87,82,83]),import.meta.url)},colorpicker:{example:()=>c(()=>import("./Example-BKKGLUN2.js"),__vite__mapDeps([88,1,2,89]),import.meta.url),component:()=>c(()=>import("./Index-4d-sSM18.js"),__vite__mapDeps([90,1,2,39,59,91,4,5,6,79,72,9,3,7,8,10,11,12,88,89,92]),import.meta.url)},column:{component:()=>c(()=>import("./Index-Cmktal3O.js"),__vite__mapDeps([93,1,2,13,7,8,9,4,5,6,10,11,12,14]),import.meta.url)},core:{component:()=>c(()=>import("./index-BlQXYsaG.js"),__vite__mapDeps([94,1,2,80]),import.meta.url)},dataframe:{example:()=>c(()=>
14import("./Example-CEJEU5_P.js"),__vite__mapDeps([95,1,2,96]),import.meta.url),component:()=>c(()=>import("./Index-C6UwzwlC.js"),__vite__mapDeps([97,1,2,9,39,98,38,5,40,4,6,63,64,10,65,59,8,11,73,74,75,60,99,61,21,22,100,7,12,3,95,96,101]),import.meta.url)},dataset:{component:()=>c(()=>import("./Index-DZ-A4Q5W.js"),__vite__mapDeps([102,1,2,3,4,5,6,103,104,39,59,79,72,9,60,61,105,106,20,107,8,10,11,108,98,109,110]),import.meta.url)},datetime:{example:()=>c(()=>import("./Example-DQUX63oZ.js"),__vite__mapDeps([111,1,2]),import.meta.url),component:()=>c(()=>import("./Index-DrswRpQs.js"),__vite__mapDeps([112,1,2,59,3,4,5,6,79,72,9,20,111,113]),import.meta.url)},dialogue:{example:()=>c(()=>import("./Example-DSc3ypbJ.js"),__vite__mapDeps([114,1,2,115]),import.meta.url),component:()=>c(()=>import("./Index-BZClasNf.js"),__vite__mapDeps([116,1,2,8,9,4,5,6,10,11,59,79,72,60,61,117,105,67,20,118,119,99,120,3,7,12,114,115,121,122]),import.meta.url)},downloadbutton:{component:()=>c(()=>import("./Index-DOK0JLO4.js"),__vite__mapDeps([123,1,2,5,52,53,54,55,4,6,17,25,18,26,27,19,20,21,22,56,57,124]),import.meta.url)},draggable:{component:()=>c(()=>import("./Index-CS0Roxez.js"),__vite__mapDeps([125,1,2,7,8,9,4,5,6,10,11,12,126]),import.meta.url)},dropdown:{example:()=>c(()=>import("./Example-Cg5xeeov.js"),__vite__mapDeps([127,1,2,122]),import.meta.url),component:()=>c(()=>import("./Index-CQ1f1kkS.js"),__vite__mapDeps([128,1,2,59,66,4,5,6,79,72,9,99,20,118,8,10,11,119,120,3,7,12,127,122]),import.meta.url)},file:{example:()=>c(()=>import("./Example-CArteVmL.js"),__vite__mapDeps([129,1,2,130]),import.meta.url),component:()=>c(()=>import("./Index-BXcb73No.js"),__vite__mapDeps([131,1,2,4,5,6,17,18,62,20,132,38,39,40,12,9,25,133,3,46,7,8,10,11,129,130]),import.meta.url)},fileexplorer:{example:()=>c(()=>import("./Example--SnWdfEX.js"),__vite__mapDeps([134,1,2,135]),import.meta.url),component:()=>c(()=>import("./Index-BEeVQJtd.js"),__vite__mapDeps([136,1,2,103,4,5,6,62,3,17,20,59,7,8,9,10,11,12,137]),import.meta.url)},form:{component:()=>c(()=>import("./Index-cbBjmo7h.js"),__vite__mapDeps([138,1,2,139,140]),import.meta.url)},gallery:{base:()=>c(()=>import("./Gallery-Rc-LszOL.js").then(e=>e.a),__vite__mapDeps([141,1,2,119,66,4,5,6,17,18,26,12,27,19,32,20,21,22,38,39,40,41,25,42,33,53,54,55,56,142,74,143,80,144]),import.meta.url),example:()=>c(()=>import("./Example-DaCEcGv9.js"),__vite__mapDeps([145,1,2,146]),import.meta.url),component:()=>c(()=>import("./Index-Bp6luteB.js"),__vite__mapDeps([147,1,2,3,4,5,6,46,141,119,66,17,18,26,12,27,19,32,20,21,22,38,39,40,41,25,42,33,53,54,55,56,142,74,143,80,144,7,8,9,10,11,132,62,133,148,99,106,45,43,149,145,146,150,130,151]),import.meta.url)},group:{component:()=>c(()=>import("./Index-XDUYUSI3.js"),__vite__mapDeps([152,1,2,153]),import.meta.url)},highlightedtext:{component:()=>c(()=>import("./Index-D3wh-4f5.js"),__vite__mapDeps([154,1,2,155,12,4,5,6,3,17,18,20,7,8,9,10,11,156]),import.meta.url)},html:{base:()=>c(()=>import("./HTML-D9Cuw6oI.js"),__vite__mapDeps([157,1,2,5,158]),import.meta.url),example:()=>c(()=>import("./Example-BXH05Bi-.js"),__vite__mapDeps([159,1,2,9,160]),import.meta.url),component:()=>c(()=>import("./Index-Cw4z42XJ.js"),__vite__mapDeps([161,1,2,157,5,158,7,8,9,4,6,10,11,12,3,17,87,20,159,160,162]),import.meta.url)},image:{base:()=>c(()=>import("./ImagePreview-DJ7FK62O.js").then(e=>e.a),__vite__mapDeps([55,1,2,4,5,6,17,25,18,26,27,19,20,21,22,53,54,56]),import.meta.url),example:()=>c(()=>import("./Example-B4VvyoB4.js"),__vite__mapDeps([163,1,2,53,54,151]),import.meta.url),component:()=>c(()=>import("./Index-Cechxe7n.js"),__vite__mapDeps([164,1,2,55,4,5,6,17,25,18,26,27,19,20,21,22,53,54,56,148,12,8,9,10,11,39,99,106,45,43,38,40,149,3,46,7,163,151]),import.meta.url)},imageeditor:{example:()=>c(()=>import("./Example-jxKW55GY.js"),__vite__mapDeps([165,1,2,55,4,5,6,17,25,18,26,27,19,20,21,22,53,54,56,148,12,8,9,10,11,39,99,106,45,43,38,40,149,166,151]),import.meta.url),component:()=>c(()=>import("./Index-Dd1rNo_D.js").then(e=>e.au),__vite__mapDeps([167,1,2,55,4,5,6,17,25,18,26,27,19,20,21,22,53,54,56,148,12,8,9,10,11,39,99,106,45,43,38,40,149,3,7,119,91,117,59,60,168,67,33,169,151]),import.meta.url)},imageslider:{example:()=>c(()=>import("./Example-aim8itlG.js"),__vite__mapDeps([170,1,2,171]),import.meta.url),component:()=>c(()=>import("./Index-D93x7TPB.js"),__vite__mapDeps([172,1,2,98,5,173,174,4,6,17,25,18,12,27,19,33,20,21,22,8,9,10,11,7,38,39,40,3,46,175]),import.meta.url)},json:{example:()=>c(()=>import("./Example-DBXWP_fd.js"),__vite__mapDeps([176,1,2,177,60,61,4,5,6,18,20,178,179]),import.meta.url),component:()=>c(()=>import("./Index-ByNMXTD5.js"),__vite__mapDeps([180,1,2,98,177,60,61,4,5,6,18,20,178,3,17,7,8,9,10,11,12]),import.meta.url)},label:{component:()=>c(()=>import("./Index-D7h5f5wF.js"),__vite__mapDeps([181,1,2,4,5,6,182,3,17,18,20,7,8,9,10,11,12,183]),import.meta.url)},markdown:{example:()=>c(()=>import("./Example-C9Mtqdhb.js"),__vite__mapDeps([184,1,2,63,9,64,10,65,185]),import.meta.url),component:()=>c(()=>import("./Index-fnlUCjh8.js"),__vite__mapDeps([186,1,2,187,39,60,61,4,5,6,20,63,9,64,10,65,188,7,8,11,12,3,189,184,185]),import.meta.url)},model3d:{base:()=>c(()=>import("./Model3D-D83Ely8D.js"),__vite__mapDeps([190,1,2,4,5,6,17,27,62,33,20,80,191]),import.meta.url),example:()=>c(()=>import("./Example-CDimnxYe.js"),__vite__mapDeps([192,1,2,193]),import.meta.url),component:()=>c(()=>import("./Index-aVqY9PBQ.js"),__vite__mapDeps([194,1,2,190,4,5,6,17,27,62,33,20,80,191,38,39,40,41,25,12,42,3,18,46,7,8,9,10,11,192,193,195]),import.meta.url)},multimodaltextbox:{example:()=>c(()=>import("./Example-B_I9kr1D.js"),__vite__mapDeps([196,1,2,98,53,54,55,4,5,6,17,25,18,26,27,19,20,21,22,56,142,39,74,143,197]),import.meta.url),component:()=>c(()=>import("./Index-O7hZBsl6.js"),__vite__mapDeps([198,1,2,39,59,4,5,6,79,72,9,168,60,12,62,28,106,189,38,40,53,54,55,17,25,18,26,27,19,20,21,22,56,29,30,44,3,7,8,10,11,196,98,142,74,143,197,199]),import.meta.url)},nativeplot:{example:()=>c(()=>import("./Example-BSTUcsnQ.js"),__vite__mapDeps([200,1,2]),import.meta.url),component:()=>c(()=>import("./Index-DVmUYoBj.js"),__vite__mapDeps([201,1,2,3,4,5,6,79,72,9,18,27,182,20,21,22,7,8,10,11,12,202]),import.meta.url)}
14,navbar:{base:()=>c(()=>import("./Index-uy4EnVmI.js"),__vite__mapDeps([203,1,2]),import.meta.url),example:()=>c(()=>import("./Example-Nalnt16J.js"),__vite__mapDeps([204,1,2]),import.meta.url),component:()=>c(()=>import("./Index-uy4EnVmI.js"),__vite__mapDeps([203,1,2]),import.meta.url)},number:{example:()=>c(()=>import("./Example-X9TNZEKd.js"),__vite__mapDeps([205,1,2,206]),import.meta.url),component:()=>c(()=>import("./Index-BH9_4xR_.js"),__vite__mapDeps([207,1,2,59,3,4,5,6,79,72,9,20,7,8,10,11,12,208]),import.meta.url)},paramviewer:{example:()=>c(()=>import("./Example-C4fWSsrD.js"),__vite__mapDeps([209,1,2,210]),import.meta.url),component:()=>c(()=>import("./Index-CBBsuLbj.js"),__vite__mapDeps([211,1,2,9,64,212]),import.meta.url)},plot:{base:()=>c(()=>import("./Plot-BYBt_x6Q.js").then(e=>e.b),__vite__mapDeps([213,1,2,103,4,5,6,18]),import.meta.url),component:()=>c(()=>import("./Index-BXBbNpAw.js"),__vite__mapDeps([214,1,2,213,103,4,5,6,18,3,17,20,21,22,7,8,9,10,11,12]),import.meta.url)},radio:{example:()=>c(()=>import("./Example-BqvumIbo.js"),__vite__mapDeps([215,1,2,216]),import.meta.url),component:()=>c(()=>import("./Index-CLgg_u-p.js"),__vite__mapDeps([217,1,2,3,4,5,6,79,72,9,20,7,8,10,11,12,59,215,216,218]),import.meta.url)},row:{component:()=>c(()=>import("./Index-BFA6YBHT.js"),__vite__mapDeps([219,1,2,7,8,9,4,5,6,10,11,12,220]),import.meta.url)},sidebar:{component:()=>c(()=>import("./Index-NeqR9k5O.js"),__vite__mapDeps([221,1,2,7,8,9,4,5,6,10,11,12,13,14,222]),import.meta.url)},slider:{example:()=>c(()=>import("./Example-CiIOLgnc.js"),__vite__mapDeps([223,1,2,224]),import.meta.url),component:()=>c(()=>import("./Index-C7uKoLYb.js"),__vite__mapDeps([225,1,2,59,3,4,5,6,79,72,9,7,8,10,11,12,226]),import.meta.url)},state:{component:()=>c(()=>import("./Index-8jrMHb_1.js"),__vite__mapDeps([227,1,2]),import.meta.url)},statustracker:{component:()=>c(()=>import("./index-BBSjzOux.js"),__vite__mapDeps([228,7,1,2,8,9,4,5,6,10,11,12,229,43]),import.meta.url)},tabitem:{component:()=>c(()=>import("./Index-W2-b5GwR.js"),__vite__mapDeps([230,1,2,231,232,13,7,8,9,4,5,6,10,11,12,14,233]),import.meta.url)},tabs:{component:()=>c(()=>import("./Index-CJPhRzmx.js"),__vite__mapDeps([234,1,2,231,232]),import.meta.url)},textbox:{example:()=>c(()=>import("./Example-DniwxFdJ.js"),__vite__mapDeps([108,1,2,98,109]),import.meta.url),component:()=>c(()=>import("./Index-OsPdQoVu.js"),__vite__mapDeps([235,1,2,104,39,59,4,5,6,79,72,9,60,61,105,106,20,107,7,8,10,11,12,3,108,98,109]),import.meta.url)},timer:{component:()=>c(()=>import("./Index-D_LD7Sg0.js"),__vite__mapDeps([236,1,2]),import.meta.url)},uploadbutton:{component:()=>c(()=>import("./Index-BrBKPOx2.js"),__vite__mapDeps([237,1,2,5,52,53,54,55,4,6,17,25,18,26,27,19,20,21,22,56,57,38,39,40,238]),import.meta.url)},vibeeditor:{component:()=>c(()=>import("./Index-Ndq1pfS0.js"),__vite__mapDeps([239,1,2,59,8,9,4,5,6,10,11,85,86,187,39,60,61,20,63,64,65,188,240,83,185]),import.meta.url)},video:{base:()=>c(()=>import("./VideoPreview-CEh5M2_9.js").then(e=>e.a),__vite__mapDeps([241,1,2,103,4,5,6,17,25,18,26,27,20,22,31,32,33,142,39,74,143,38,40,41,12,42,242]),import.meta.url),example:()=>c(()=>import("./Example-Bo-TCfFU.js"),__vite__mapDeps([243,1,2,142,5,39,74,143,244]),import.meta.url),component:()=>c(()=>import("./index-Faos0Rfq.js"),__vite__mapDeps([245,1,2,103,5,38,39,40,4,6,17,55,25,18,26,27,19,20,21,22,53,54,56,148,12,8,9,10,11,99,106,45,43,149,142,74,143,241,31,32,33,41,42,242,243,244,3,46,7,246,151]),import.meta.url)},workflowcanvas:{component:()=>c(()=>import("./Index-DNe4oOPt.js"),__vite__mapDeps([247,1,2,103,8,9,4,5,6,10,11,104,39,59,79,72,60,61,105,106,20,107,55,17,25,18,26,27,19,21,22,53,54,56,148,12,99,45,43,38,40,149,248,109,151]),import.meta.url)},walkthrough:{component:()=>c(()=>import("./Index-CJPhRzmx.js"),__vite__mapDeps([234,1,2,231,232]),import.meta.url)},walkthroughstep:{component:()=>c(()=>import("./Index-W2-b5GwR.js"),__vite__mapDeps([230,1,2,231,232,13,7,8,9,4,5,6,10,11,12,14,233]),import.meta.url)}},J={},ce={},Ke=typeof window<"u";function Es({api_url:e,name:t,id:r,variant:n}){const i=Ke&&window.__GRADIO__CC__,o={...gs,...i||{}};let a=r||t;if(J[`${a}-${n}`])return{component:J[`${a}-${n}`],name:t,runtime:ce[`${a}-${n}`]};try{if(!o?.[a]?.[n]&&!o?.[t]?.[n])throw new Error;return J[`${a}-${n}`]=(o?.[a]?.[n]||o?.[t]?.[n])(),ce[`${a}-${n}`]=Ke&&window.__GRADIO__CC__RUNTIMES__?.[r]||!1,{name:t,component:J[`${a}-${n}`],runtime:ce[`${a}-${n}`]}}catch{if(!a)throw new Error(`Component not found: ${t}`);try{const u=xs(e,a,n),[l,f]=u;return J[`${a}-${n}`]=l,ce[`${a}-${n}`]=f,{name:t,component:J[`${a}-${n}`],runtime:ce[`${a}-${n}`]}}catch(u){if(n==="example")return J[`${a}-${n}`]=c(()=>import("./Example-CHVjBuEx.js"),__vite__mapDeps([249,1,2,250]),import.meta.url),{name:t,component:J[`${a}-${n}`],runtime:ce[`${a}-${n}`]};throw console.error(`failed to load: ${t}`),console.error(u),u}}}function ys(e){return Ke?new Promise((t,r)=>{const n=document.createElement("link");n.rel="stylesheet",n.href=e,document.head.appendChild(n),n.onload=()=>t(),n.onerror=()=>r()}):Promise.resolve()}function xs(e,t,r){const n=Ke?"client":"server";if(n==="server")return[c(()=>import("./Index-qwx6cm10.js"),__vite__mapDeps([251,1,2,3,4,5,6,7,8,9,10,11,12,252]),import.meta.url),Promise.resolve(!1)];const i=`${e}/custom_component/${t}/${n}/${r}/index.js`;return[Promise.all([ys(`${e}/custom_component/${t}/${n}/${r}/style.css`),import(i)]).then(([o,a])=>a),c(()=>import(`${e}/custom_component/${t}/${n}/${r}/svelte_runtime_entry.js`),[],import.meta.url)]}function Js(e,t,r,n="component"){return e==="api"&&(e="state"),Es({api_url:r,name:e,id:t,variant:n})}function Ks(e){const t=new Set,r=new Set;
14for(const n of e)n.inputs.forEach(i=>t.add(i)),n.outputs.forEach(i=>r.add(i));return[t,r]}function eu(e,t,r,n){const[i,o]=n;return t===!1?!1:t===!0?!0:!!(i.has(e)||!o.has(e)&&Ts(r))}function Ts(e){return Array.isArray(e)&&e.length===0||e===""||e===0||!e}const tu=Object.getPrototypeOf(async function(){}).constructor,ru=["red","green","blue","yellow","purple","teal","orange","cyan","lime","pink"],As=[{color:"red",primary:600,secondary:100},{color:"green",primary:600,secondary:100},{color:"blue",primary:600,secondary:100},{color:"yellow",primary:500,secondary:100},{color:"purple",primary:600,secondary:100},{color:"teal",primary:600,secondary:100},{color:"orange",primary:600,secondary:100},{color:"cyan",primary:600,secondary:100},{color:"lime",primary:500,secondary:100},{color:"pink",primary:600,secondary:100}],Vr={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"}},nu=As.reduce((e,{color:t,primary:r,secondary:n}
14)=>({...e,[t]:{primary:Vr[t][r],secondary:Vr[t][n]}}),{}),et="__i18n__",Ps=["label","info","placeholder","description","title","value"];class Tt extends Error{constructor(t){super(t),this.name="ShareError"}}async function iu(e,t){if(window.__gradio_space__==null)throw new Tt("Must be on Spaces to share.");let r,n,i;{let u;if(typeof e=="object"&&e.url)u=e.url;else if(typeof e=="string")u=e;else throw new Error("Invalid data format for URL type");const l=await fetch(u);r=await l.blob(),n=l.headers.get("content-type")||"",i=l.headers.get("content-disposition")||""}const o=new File([r],i,{type:n}),a=await fetch("https://huggingface.co/uploads",{method:"POST",body:o,headers:{"Content-Type":o.type,"X-Requested-With":"XMLHttpRequest"}});if(!a.ok){if(a.headers.get("content-type")?.includes("application/json")){const u=await a.json();throw new Tt(`Upload failed: ${u.error}`)}throw new Tt("Upload failed.")}return await a.text()}function ou(e){e.addEventListener("click",t);async function t(r){const n=r.composedPath(),[i]=n.filter(o=>o?.tagName==="BUTTON"&&o.classList.contains("copy_code_button"));if(i){let o=function(l){l.style.opacity="1",setTimeout(()=>{l.style.opacity="0"},2e3)};r.stopImmediatePropagation();const a=i.parentElement.innerText.trim(),s=Array.from(i.children)[1];await Os(a)&&o(s)}}return{destroy(){e.removeEventListener("click",t)}}}async function Os(e){let t=!1;if("clipboard"in navigator)await navigator.clipboard.writeText(e),t=!0;else{const r=document.createElement("textarea");r.value=e,r.style.position="absolute",r.style.left="-999999px",document.body.prepend(r),r.select();try{document.execCommand("copy"),t=!0}catch(n){console.error(n),t=!1}finally{r.remove()}}return t}const au=e=>{const t=Math.floor(e/3600),r=Math.floor(e%3600/60),n=Math.round(e)%60,i=`${r<10?"0":""}${r}`,o=`${n<10?"0":""}${n}`;return t>0?`${t}:${i}:${o}`:`${r}:${o}`},ws=["elem_id","elem_classes","visible","interactive","server_fns","server","id","target","theme_mode","version","root","autoscroll","max_file_size","formatter","client","load_component","scale","min_width","theme","padding","loading_status","label","show_label","validation_error","show_progress","api_prefix","container","attached_events","register_component","dispatcher"];function Is(e){return typeof e=="string"&&e.includes(et)}function Ss(e,t){const r=e.indexOf(et);if(r===-1)return e;const n=r+et.length,i=e.indexOf("}",n)+1;if(i===0)return e;try{const o=JSON.parse(e.slice(n,i));if(o?.key){const a=t(o.key),s=a!==o.key?a:o.key;return e.slice(0,r)+s+e.slice(i)}}catch{}return e}class su{load_component;#t=pt(Lt({}));get shared(){return L(this.#t)}set shared(t){te(this.#t,t,!0)}#r=pt(Lt({}));get props(){return L(this.#r)}set props(t){te(this.#r,t,!0)}#e=pt(t=>t);get i18n(){return L(this.#e)}set i18n(t){te(this.#e,t,!0)}i18n_store;_i18n_from_store;translatable_props={};dispatcher;last_update=null;shared_props=ws;mounted=!1;old_value;register_component;constructor(t,r){for(const n in t.shared_props)this.shared[n]=t.shared_props[n];for(const n in t.props)n!=="i18n_store"&&(this.props[n]=t.props[n]);if(r)for(const n in r)this.props[n]===void 0&&(this.props[n]=r[n]);this.i18n=this.props.i18n??(n=>n),this.i18n_store=t.props.i18n_store,this._i18n_from_store=this.i18n_store?Do(this.i18n_store):void 0;for(const n of Ps)this.shared[n]=this._translate_and_store("shared",n,t.shared_props[n]),this.props[n]=this._translate_and_store("props",n,t.props[n]);this.load_component=this.shared.load_component,this.register_component=this.shared.register_component||(()=>{}),this.dispatcher=this.shared.dispatcher||(()=>{}),this.register_component(t.shared_props.id,this.set_data.bind(this),this.get_data.bind(this)),Le(()=>{for(const n in t.shared_props)this._is_i18n_managed(`shared.${n}`,t.shared_props[n])||(this.shared[n]=t.shared_props[n]);for(const n in t.props)n!=="i18n_store"&&(this._is_i18n_managed(`props.${n}`,t.props[n])||(this.props[n]=t.props[n]));this.register_component(t.shared_props.id,this.set_data.bind(this),this.get_data.bind(this)),Z(()=>{this.shared.id=t.shared_props.id})}),Le(()=>this.i18n_store?this.i18n_store.subscribe(()=>{for(const[i,o]of Object.entries(this.translatable_props)){const[a,s]=i.split("."),u=this.i18n(o);a==="shared"?this.shared[s]=u:this.props[s]=u}}):void 0)}_is_i18n_managed(t,r){const n=this.translatable_props[t];return n?r===n?!0:(delete this.translatable_props[t],!1):!1}
14_translate_and_store(t,r,n){if(typeof n!="string")return n;const i=this.i18n(n);return i!==n&&(this.translatable_props[`${t}.${r}`]=n),i}live_i18n=t=>(this._i18n_from_store?.current,this.i18n(t));dispatch(t,r){this.dispatcher(this.shared.id,t,r)}async get_data(){return ao(this.props)}update(t){this.set_data(t)}set_data(t){for(const r in t){const n=t[r],i=Is(n)?this._translate_and_store(this.shared_props.includes(r)?"shared":"props",r,n):n;if(this.shared_props.includes(r)){const o=r;this.shared[o]=i;continue}this.props[r]=i}}watch_for_change(){Le(()=>{this.mounted||(this.old_value=this.props.value,this.mounted=!0),this.old_value!=this.props.value&&(this.old_value=this.props.value,this.dispatch("change"))})}}const uu=e=>typeof e=="number"?e+"px":e;function lu(e){if(!e)return!1;const t=e.scrollHeight>e.clientHeight,r=e.scrollTop>=e.scrollHeight-e.clientHeight-1;return t&&!r}function Ls(e){if(e==null)return"";const t=String(e),r=Jt(rr);if(t.includes(et))return Ss(t,r);const n=r(t);return typeof n=="string"&&n!==t?n:t}const fu=ae(rr,()=>Ls),Ur={ar:"Ø¬Ø§Ø±Ù Ø§ÙØªØÙ
ÙÙ",ca:"S'està carregant",ckb:"بارکردÙ",de:"Laden",en:"Loading",es:"Cargando",et:"Laen",eu:"Kargatzen",fa:"در ØØ§Ù بارگذارÛ",fi:"Ladataan",fr:"Chargement",he:"×××¢×",hi:"लà¥à¤¡ हॠरहा हà¥",ja:"èªã¿è¾¼ã¿ä¸",ko:"ë¡ë© ì¤",lt:"Kraunama",nb:"Laster",nl:"Laden",pl:"Åadowanie","pt-BR":"Carregando",pt:"A carregar",ro:"Se încarcÄ",ru:"ÐагÑÑзка",sv:"Laddar",ta:"à®à®±à¯à®±à¯à®à®¿à®±à®¤à¯",th:"à¸à¸³à¸¥à¸±à¸à¹à¸«à¸¥à¸",tr:"Yükleniyor",uk:"ÐаванÑаженнÑ",ur:"ÙÙÚ ÛÙ Ø±ÛØ§ ÛÛ",uz:"Yuklanmoqda","zh-CN":"å è½½ä¸","zh-TW":"è¼å
¥ä¸"},wn="English",In={annotated_image:"Annotated Image"},Sn={allow_recording_access:"Please allow access to the microphone for recording.",audio:"Audio",drop_to_upload:"Drop an audio file here to upload",record_from_microphone:"Record from microphone",stop_recording:"Stop recording",no_device_support:"Media devices could not be accessed. Check that you are running on a secure origin (https) or localhost (or you have passed a valid SSL certificate to ssl_verify), and you have allowed browser access to your device.",stop:"Stop",resume:"Resume",record:"Record",no_microphone:"No microphone found",pause:"Pause",play:"Play",waiting:"Waiting"},Ln={connection_can_break:"On mobile, the connection can break if this tab is unfocused or the device sleeps, losing your position in queue.",long_requests_queue:"There is a long queue of requests pending. Duplicate this Space to skip.",lost_connection:"Lost connection due to leaving page. Rejoining queue...",waiting_for_inputs:"Waiting for file(s) to finish uploading, please retry."},Rn={edit:"Edit",retry:"Retry",undo:"Undo",submit:"Submit",cancel:"Cancel",like:"Like",dislike:"Dislike",clear:"Clear",copy_message:"Copy message",copied_message:"Copied message"},Hn={new_chat:"New chat",message_placeholder:"Type a message...",additional_inputs:"Additional inputs",chatbot:"Chatbot",conversation:"Conversation"},Dn={checkbox:"Checkbox",checkbox_group:"Checkbox Group"},Bn={code:"Code"},Nn={color_picker:"Color Picker"},Cn={built_with:"built with",built_with_gradio:"Built with Gradio",clear:"Clear",download:"Download",download_all:"Download All",edit:"Edit",empty:"Empty",error:"Error",hosted_on:"Hosted on",loading:"Loading",logo:"logo",or:"or",remove:"Remove",settings:"Settings",share:"Share",submit:"Submit",undo:"Undo",no_devices:"No devices found",language:"Language",display_theme:"Display Theme",pwa:"Progressive Web App",record:"Record",stop_recording:"Stop Recording",screen_studio:"Screen Studio",share_gradio_tab:"[Sharing] Gradio Tab",run:"Run"},Mn={incorrect_format:"Incorrect format, only CSV and TSV files are supported",new_column:"Add column",new_row:"New row",add_row_above:"Add row above",add_row_below:"Add row below",delete_row:"Delete row",delete_column:"Delete column",add_column_left:"Add column to the left",add_column_right:"Add column to the right",sort_column:"Sort column",sort_ascending:"Sort ascending",sort_descending:"Sort descending",drop_to_upload:"Drop CSV or TSV files here to import data into dataframe",clear_sort:"Clear sort",filter:"Filter",clear_filter:"Clear filters"},Vn={dropdown:"Dropdown"},Un={build_error:"there is a build error",config_error:"there is a config error",contact_page_author:"Please contact the author of the page to let them know.",no_app_file:"there is no app file",runtime_error:"there is a runtime error",space_not_working:`"Space isn't working because" {0}`,space_paused:"the space is paused",use_via_api:"Use via API",use_via_api_or_mcp:"Use via API or MCP"},Gn={uploading:"Uploading..."},kn={highlighted_text:"Highlighted Text"},jn={allow_webcam_access:"Please allow access to the webcam for recording.",brush_color:"Brush color",brush_radius:"Brush radius",image:"Image",remove_image:"Remove Image",select_brush_color:"Select brush color",start_drawing:"Start drawing",use_brush:"Use brush",drop_to_upload:"Drop an image file here to upload"},Fn={label:"Label"},$n={enable_cookies:"If you are visiting a HuggingFace Space in Incognito mode, you must enable third party cookies.",incorrect_credentials:"Incorrect Credentials",username:"username",password:"password",login:"Login"},zn={number:"Number"},Xn={plot:"Plot"},Wn={radio:"Radio"},Zn={slider:"Slider"},qn={click_to_upload:"Click to Upload",drop_audio:"Drop Audio Here",drop_csv:"Drop CSV Here",drop_file:"Drop File Here",drop_image:"Drop Image Here",drop_video:"Drop Video Here",drop_gallery:"Drop Media Here",paste_clipboard:"Paste from Clipboard"},Yn={drop_to_upload:"Drop a video file here to upload"},nr={_name:wn,"3D_model":{"3d_model":"3D Model",drop_to_upload:"Drop a 3D model (.obj, .glb, .stl, .gltf, .splat, or .ply) file here to upload"},annotated_image:In,audio:Sn,blocks:Ln,chatbot:Rn,chat_interface:Hn,checkbox:Dn,code:Bn,color_picker:Nn,common:Cn,dataframe:Mn,dropdown:Vn,errors:Un,file:Gn,highlighted_text:kn,image:jn,label:Fn,login:$n,number:zn,plot:Xn,radio:Wn,slider:Zn,upload_text:qn,video:Yn},Rs=Object.freeze(Object.defineProperty({__proto__:null,_name:wn,annotated_image:In,audio:Sn,blocks:Ln,chat_interface:Hn,chatbot:Rn,checkbox:Dn,code:Bn,color_picker:Nn,common:Cn,dataframe:Mn,default:nr,dropdown:Vn,errors:Un,file:Gn,highlighted_text:kn,image:jn,label:Fn,login:$n,number:zn,plot:Xn,radio:Wn,slider:Zn,upload_text:qn,video:Yn},Symbol.toStringTag,{value:"Module"})),Hs={ar:"Ø§ÙØ¹Ø±Ø¨ÙØ©",ca:"Català ",ckb:"Ú©ÙØ±Ø¯Û",de:"Deutsch",en:"English",es:"Español",et:"eesti keel",eu:"Euskara",fa:"ÙØ§Ø±Ø³Û",fi:"Suomi",fr:"Français",he:"×¢×ר×ת",hi:"हिà¤à¤¦à¥",ja:"æ¥æ¬èª",ko:"íêµì´",lt:"Lietuvių",nb:"Norsk bokmÃ¥l",nl:"Nederlands",pl:"Polski","pt-B
14R":"Português do Brasil",pt:"Português",ro:"RomânÄ",ru:"Ð ÑÑÑкий",sv:"Svenska",ta:"தமிழà¯",th:"ภาษาà¹à¸à¸¢",tr:"Türkçe",uk:"УкÑаÑнÑÑка",ur:"اردÙ",uz:"O'zbek","zh-CN":"ç®ä½ä¸æ","zh-TW":"ç¹é«ä¸æ"},Ds=Object.assign({
14"./lang/ar.json":()=>c(()=>import("./ar-DI02TNDn.js"),[],import.meta.url),
14"./lang/ca.json":()=>c(()=>import("./ca-MwjfTPYe.js"),[],import.meta.url),
14"./lang/ckb.json":()=>c(()=>import("./ckb-DEn8SQcv.js"),[],import.meta.url),
14"./lang/de.json":()=>c(()=>import("./de-BczWVYc-.js"),[],import.meta.url),
14"./lang/en.json":()=>c(()=>Promise.resolve().then(()=>Rs),void 0,import.meta.url),
14"./lang/es.json":()=>c(()=>import("./es-5B0rLSyK.js"),[],import.meta.url),
14"./lang/et.json":()=>c(()=>import("./et-BS1B_BYV.js"),[],import.meta.url),
14"./lang/eu.json":()=>c(()=>import("./eu-FEV4b8Yc.js"),[],import.meta.url),
14"./lang/fa.json":()=>c(()=>import("./fa-xqCN2YBh.js"),[],import.meta.url),
14"./lang/fi.json":()=>c(()=>import("./fi-CzBLDS5V.js"),[],import.meta.url),
14"./lang/fr.json":()=>c(()=>import("./fr-D-jLF3ix.js"),[],import.meta.url),
14"./lang/he.json":()=>c(()=>import("./he-D0pPJnuh.js"),[],import.meta.url),
14"./lang/hi.json":()=>c(()=>import("./hi-ui5-o8Zq.js"),[],import.meta.url),
14"./lang/id.json":()=>c(()=>import("./id-ClfVqkNd.js"),[],import.meta.url),
14"./lang/ja.json":()=>c(()=>import("./ja-us1feo4m.js"),[],import.meta.url),
14"./lang/ko.json":()=>c(()=>import("./ko-olQgpapS.js"),[],import.meta.url),
14"./lang/lt.json":()=>c(()=>import("./lt-C3SHU62J.js"),[],import.meta.url),
14"./lang/nb.json":()=>c(()=>import("./nb-FznSaSMV.js"),[],import.meta.url),
14"./lang/nl.json":()=>c(()=>import("./nl-B4KNpP3D.js"),[],import.meta.url),
14"./lang/pl.json":()=>c(()=>import("./pl-DgzvenUF.js"),[],import.meta.url),
14"./lang/pt-BR.json":()=>c(()=>import("./pt-BR-BumPWABt.js"),[],import.meta.url),
14"./lang/pt.json":()=>c(()=>import("./pt-CMxRi3jz.js"),[],import.meta.url),
14"./lang/ro.json":()=>c(()=>import("./ro-BwkPWvaL.js"),[],import.meta.url),
14"./lang/ru.json":()=>c(()=>import("./ru-Cyxgs-16.js"),[],import.meta.url),
14"./lang/sv.json":()=>c(()=>import("./sv-DRLxo-M4.js"),[],import.meta.url),
14"./lang/ta.json":()=>c(()=>import("./ta-ChNEShjw.js"),[],import.meta.url),
14"./lang/th.json":()=>c(()=>import("./th-CTbdxu88.js"),[],import.meta.url),
14"./lang/tr.json":()=>c(()=>import("./tr-yUbHBZLl.js"),[],import.meta.url),
14"./lang/uk.json":()=>c(()=>import("./uk-CaUFw2Pq.js"),[],import.meta.url),
14"./lang/ur.json":()=>c(()=>import("./ur-Z4lbsgev.js"),[],import.meta.url),
14"./lang/uz.json":()=>c(()=>import("./uz-CDq7fxDa.js"),[],import.meta.url),
14"./lang/zh-CN.json":()=>c(()=>import("./zh-CN-D4oMFiss.js"),[],import.meta.url),
14"./lang/zh-TW.json":()=>c(()=>import("./zh-TW-R6BiSpm2.js"),[],import.meta.url)
14});function cu(e){return e&&typeof e=="object"&&e.__type__==="translation_metadata"&&typeof e.key=="string"}function Bs(){return{...Object.fromEntries(Object.entries(Ds).map(([t,r])=>[t.split("/").pop().split(".")[0],{type:"lazy",data:r}])),en:{type:"static",data:nr}}}const ir=Bs(),jt=Object.keys(ir),hu=Object.entries(ir).map(([e])=>[Hs[e]||e,e]);let At=!1,Pt;function Ns(e){const t=e.split(",").map(r=>r.includes(";")?r.split(";").slice(0,2):[r,1]);t.sort((r,n)=>parseFloat(n[1])-parseFloat(r[1]));for(const[r,n]of t)if(jt.includes(r))return r;return null}async function pu(e,t){if(At&&!(At&&e!==Pt))return;const n=e??Pt??{};e!==void 0&&(Pt=e),Cs({processed_langs:ir,custom_translations:n});let i=null;const o=ts();if(t?i=Ns(t):i=o&&jt.includes(o)?o:null,!i){const a=o?.split("-")[0];i=a&&jt.includes(a)?a:"en"}await Xa({fallbackLocale:"en",initialLocale:i}),At=!0}function _u(e){se.set(e)}function du(e,t,r="en"){return e&&t.includes(e)?e:r}function Cs(e){if(e){try{for(const t in e.custom_translations)Ze(t,e.custom_translations[t]);for(const t in e.processed_langs)t==="en"&&e.processed_langs[t].type==="static"?Ze(t,nr):e.processed_langs[t].type==="lazy"&&Ua(t,e.processed_langs[t].data)}catch(t){console.error("Error loading translations:",t)}for(const t in Ur)Ze(t,{common:{loading:Ur[t]}})}}export{rr as $,pu as A,so as B,ye as C,Ce as D,qs as E,Qs as F,su as G,Ys as H,iu as I,Us as J,ou as K,No as L,au as M,js as N,se as O,hu as P,_u as Q,Ws as R,xe as S,Fs as T,nu as U,Vs as V,yo as W,tu as X,fu as Y,en as Z,qe as _,q as a,Zs as a0,Ks as a1,Js as a2,ws as a3,eu as a4,du as a5,et as a6,cu as a7,Cs as a8,Bs as a9,Oe as b,Oo as c,ks as d,Po as e,Kr as f,Xs as g,lu as h,_r as i,vo as j,Jt as k,zs as l,ao as m,Mr as n,ru as o,G as p,fo as q,$s as r,po as s,Io as t,xr as u,Eo as v,uo as w,Tt as x,Gs as y,uu as z};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.