import{d as be,w as rt,_ as j,S as K,i as $,s as ee,b as we,a as mt,c as V,e as ne,m as z,f as I,g as fo,h as co,j as _o,k as oe,t as D,l as X,n as ae,o as x,p as S,q as it,r as on,u as po,v as mo,x as je,y as ho,z as go,A as xe,B as E,C as ie,D as h,E as re,F as w,G as L,H as P,I as _e,J as B,K as Pe,L as vo,M as De,N as ye,O as ht,P as bo,Q as yo,R as Eo,T as So,U as To,V as wo}from"./index.37b24c07.js";import{B as ot,a as at}from"./Empty.svelte_svelte_type_style_lang.94e7c7a3.js";var Io=function(t){return Ao(t)&&!Po(t)};function Ao(e){return!!e&&typeof e=="object"}function Po(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||ko(e)}var Co=typeof Symbol=="function"&&Symbol.for,Oo=Co?Symbol.for("react.element"):60103;function ko(e){return e.$$typeof===Oo}function xo(e){return Array.isArray(e)?[]:{}}function Ie(e,t){return t.clone!==!1&&t.isMergeableObject(e)?de(xo(e),e,t):e}function Lo(e,t,n){return e.concat(t).map(function(r){return Ie(r,n)})}function Ro(e,t){if(!t.customMerge)return de;var n=t.customMerge(e);return typeof n=="function"?n:de}function No(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[]}function gt(e){return Object.keys(e).concat(No(e))}function an(e,t){try{return t in e}catch{return!1}}function jo(e,t){return an(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Do(e,t,n){var r={};return n.isMergeableObject(e)&&gt(e).forEach(function(i){r[i]=Ie(e[i],n)}),gt(t).forEach(function(i){jo(e,i)||(an(e,i)&&n.isMergeableObject(t[i])?r[i]=Ro(i,n)(e[i],t[i],n):r[i]=Ie(t[i],n))}),r}function de(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||Lo,n.isMergeableObject=n.isMergeableObject||Io,n.cloneUnlessOtherwiseSpecified=Ie;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):Do(e,t,n):Ie(t,n)}de.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(r,i){return de(r,i,n)},{})};var Mo=de,Fo=Mo;/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */var Je=function(e,t){return Je=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,r){n.__proto__=r}||function(n,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[i]=r[i])},Je(e,t)};function Fe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Je(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var G=function(){return G=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},G.apply(this,arguments)};function Xe(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var M;(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"})(M||(M={}));var U;(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"})(U||(U={}));var me;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(me||(me={}));function vt(e){return e.type===U.literal}function Go(e){return e.type===U.argument}function ln(e){return e.type===U.number}function sn(e){return e.type===U.date}function un(e){return e.type===U.time}function fn(e){return e.type===U.select}function cn(e){return e.type===U.plural}function Uo(e){return e.type===U.pound}function _n(e){return e.type===U.tag}function pn(e){return!!(e&&typeof e=="object"&&e.type===me.number)}function Ye(e){return!!(e&&typeof e=="object"&&e.type===me.dateTime)}var dn=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Vo=/(?:[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 zo(e){var t={};return e.replace(Vo,function(n){var r=n.length;switch(n[0]){case"G":t.era=r===4?"long":r===5?"narrow":"short";break;case"y":t.year=r===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"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][r-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=r===4?"short":r===5?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][r-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"][r-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][r-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][r-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][r-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"][r-1];break;case"s":t.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=r<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 Xo=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function Bo(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(Xo).filter(function(c){return c.length>0}),n=[],r=0,i=t;r<i.length;r++){var o=i[r],s=o.split("/");if(s.length===0)throw new Error("Invalid number skeleton");for(var a=s[0],f=s.slice(1),l=0,u=f;l<u.length;l++){var _=u[l];if(_.length===0)throw new Error("Invalid number skeleton")}n.push({stem:a,options:f})}return n}function qo(e){return e.replace(/^(.*?)-/,"")}var bt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,mn=/^(@+)?(\+|#+)?[rs]?$/g,Ho=/(\*)(0+)|(#+)(0+)|(0+)/g,hn=/^(0+)$/;function yt(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(mn,function(n,r,i){return typeof i!="string"?(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length):i==="+"?t.minimumSignificantDigits=r.length:r[0]==="#"?t.maximumSignificantDigits=r.length:(t.minimumSignificantDigits=r.length,t.maximumSignificantDigits=r.length+(typeof i=="string"?i.length:0)),""}),t}function gn(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 Wo(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 n=e.slice(0,2);if(n==="+!"?(t.signDisplay="always",e=e.slice(2)):n==="+?"&&(t.signDisplay="exceptZero",e=e.slice(2)),!hn.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Et(e){var t={},n=gn(e);return n||t}function Zo(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];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=qo(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=G(G(G({},t),{notation:"scientific"}),i.options.reduce(function(f,l){return G(G({},f),Et(l))},{}));continue;case"engineering":t=G(G(G({},t),{notation:"engineering"}),i.options.reduce(function(f,l){return G(G({},f),Et(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"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ho,function(f,l,u,_,c,g){if(l)t.minimumIntegerDigits=u.length;else{if(_&&c)throw new Error("We currently do not support maximum integer digits");if(g)throw new Error("We currently do not support exact integer digits")}return""});continue}if(hn.test(i.stem)){t.minimumIntegerDigits=i.stem.length;continue}if(bt.test(i.stem)){if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(bt,function(f,l,u,_,c,g){return u==="*"?t.minimumFractionDigits=l.length:_&&_[0]==="#"?t.maximumFractionDigits=_.length:c&&g?(t.minimumFractionDigits=c.length,t.maximumFractionDigits=c.length+g.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var o=i.options[0];o==="w"?t=G(G({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=G(G({},t),yt(o)));continue}if(mn.test(i.stem)){t=G(G({},t),yt(i.stem));continue}var s=gn(i.stem);s&&(t=G(G({},t),s));var a=Wo(i.stem);a&&(t=G(G({},t),a))}return t}var Be,Jo=new RegExp("^".concat(dn.source,"*")),Yo=new RegExp("".concat(dn.source,"*$"));function F(e,t){return{start:e,end:t}}var Qo=!!String.prototype.startsWith,Ko=!!String.fromCodePoint,$o=!!Object.fromEntries,ea=!!String.prototype.codePointAt,ta=!!String.prototype.trimStart,na=!!String.prototype.trimEnd,ra=!!Number.isSafeInteger,ia=ra?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Qe=!0;try{var oa=bn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Qe=((Be=oa.exec("a"))===null||Be===void 0?void 0:Be[0])==="a"}catch{Qe=!1}var St=Qo?function(t,n,r){return t.startsWith(n,r)}:function(t,n,r){return t.slice(r,r+n.length)===n},Ke=Ko?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var r="",i=t.length,o=0,s;i>o;){if(s=t[o++],s>1114111)throw RangeError(s+" is not a valid code point");r+=s<65536?String.fromCharCode(s):String.fromCharCode(((s-=65536)>>10)+55296,s%1024+56320)}return r},Tt=$o?Object.fromEntries:function(t){for(var n={},r=0,i=t;r<i.length;r++){var o=i[r],s=o[0],a=o[1];n[s]=a}return n},vn=ea?function(t,n){return t.codePointAt(n)}:function(t,n){var r=t.length;if(!(n<0||n>=r)){var i=t.charCodeAt(n),o;return i<55296||i>56319||n+1===r||(o=t.charCodeAt(n+1))<56320||o>57343?i:(i-55296<<10)+(o-56320)+65536}},aa=ta?function(t){return t.trimStart()}:function(t){return t.replace(Jo,"")},la=na?function(t){return t.trimEnd()}:function(t){return t.replace(Yo,"")};function bn(e,t){return new RegExp(e,t)}var $e;if(Qe){var wt=bn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");$e=function(t,n){var r;wt.lastIndex=n;var i=wt.exec(t);return(r=i[1])!==null&&r!==void 0?r:""}}else $e=function(t,n){for(var r=[];;){var i=vn(t,n);if(i===void 0||yn(i)||ca(i))break;r.push(i),n+=i>=65536?2:1}return Ke.apply(void 0,r)};var sa=function(){function e(t,n){n===void 0&&(n={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!n.ignoreTag,this.requiresOtherClause=!!n.requiresOtherClause,this.shouldParseSkeletons=!!n.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,n,r){for(var i=[];!this.isEOF();){var o=this.char();if(o===123){var s=this.parseArgument(t,r);if(s.err)return s;i.push(s.val)}else{if(o===125&&t>0)break;if(o===35&&(n==="plural"||n==="selectordinal")){var a=this.clonePosition();this.bump(),i.push({type:U.pound,location:F(a,this.clonePosition())})}else if(o===60&&!this.ignoreTag&&this.peek()===47){if(r)break;return this.error(M.UNMATCHED_CLOSING_TAG,F(this.clonePosition(),this.clonePosition()))}else if(o===60&&!this.ignoreTag&&et(this.peek()||0)){var s=this.parseTag(t,n);if(s.err)return s;i.push(s.val)}else{var s=this.parseLiteral(t,n);if(s.err)return s;i.push(s.val)}}}return{val:i,err:null}},e.prototype.parseTag=function(t,n){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:U.literal,value:"<".concat(i,"/>"),location:F(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var o=this.parseMessage(t+1,n,!0);if(o.err)return o;var s=o.val,a=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!et(this.char()))return this.error(M.INVALID_TAG,F(a,this.clonePosition()));var f=this.clonePosition(),l=this.parseTagName();return i!==l?this.error(M.UNMATCHED_CLOSING_TAG,F(f,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:U.tag,value:i,children:s,location:F(r,this.clonePosition())},err:null}:this.error(M.INVALID_TAG,F(a,this.clonePosition())))}else return this.error(M.UNCLOSED_TAG,F(r,this.clonePosition()))}else return this.error(M.INVALID_TAG,F(r,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&fa(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var r=this.clonePosition(),i="";;){var o=this.tryParseQuote(n);if(o){i+=o;continue}var s=this.tryParseUnquoted(t,n);if(s){i+=s;continue}var a=this.tryParseLeftAngleBracket();if(a){i+=a;continue}break}var f=F(r,this.clonePosition());return{val:{type:U.literal,value:i,location:f},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!ua(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 n=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(r===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(r);this.bump()}return Ke.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var r=this.char();return r===60||r===123||r===35&&(n==="plural"||n==="selectordinal")||r===125&&t>0?null:(this.bump(),Ke(r))},e.prototype.parseArgument=function(t,n){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE,F(r,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(M.EMPTY_ARGUMENT,F(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(M.MALFORMED_ARGUMENT,F(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE,F(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:U.argument,value:i,location:F(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE,F(r,this.clonePosition())):this.parseArgumentOptions(t,n,i,r);default:return this.error(M.MALFORMED_ARGUMENT,F(r,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),r=$e(this.message,n),i=n+r.length;this.bumpTo(i);var o=this.clonePosition(),s=F(t,o);return{value:r,location:s}},e.prototype.parseArgumentOptions=function(t,n,r,i){var o,s=this.clonePosition(),a=this.parseIdentifierIfPossible().value,f=this.clonePosition();switch(a){case"":return this.error(M.EXPECT_ARGUMENT_TYPE,F(s,f));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),_=this.parseSimpleArgStyleIfPossible();if(_.err)return _;var c=la(_.val);if(c.length===0)return this.error(M.EXPECT_ARGUMENT_STYLE,F(this.clonePosition(),this.clonePosition()));var g=F(u,this.clonePosition());l={style:c,styleLocation:g}}var p=this.tryParseArgumentClose(i);if(p.err)return p;var m=F(i,this.clonePosition());if(l&&St(l?.style,"::",0)){var d=aa(l.style.slice(2));if(a==="number"){var _=this.parseNumberSkeletonFromString(d,l.styleLocation);return _.err?_:{val:{type:U.number,value:r,location:m,style:_.val},err:null}}else{if(d.length===0)return this.error(M.EXPECT_DATE_TIME_SKELETON,m);var c={type:me.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?zo(d):{}},C=a==="date"?U.date:U.time;return{val:{type:C,value:r,location:m,style:c},err:null}}}return{val:{type:a==="number"?U.number:a==="date"?U.date:U.time,value:r,location:m,style:(o=l?.style)!==null&&o!==void 0?o:null},err:null}}case"plural":case"selectordinal":case"select":{var T=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(M.EXPECT_SELECT_ARGUMENT_OPTIONS,F(T,G({},T)));this.bumpSpace();var y=this.parseIdentifierIfPossible(),b=0;if(a!=="select"&&y.value==="offset"){if(!this.bumpIf(":"))return this.error(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,F(this.clonePosition(),this.clonePosition()));this.bumpSpace();var _=this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,M.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(_.err)return _;this.bumpSpace(),y=this.parseIdentifierIfPossible(),b=_.val}var A=this.tryParsePluralOrSelectOptions(t,a,n,y);if(A.err)return A;var p=this.tryParseArgumentClose(i);if(p.err)return p;var O=F(i,this.clonePosition());return a==="select"?{val:{type:U.select,value:r,options:Tt(A.val),location:O},err:null}:{val:{type:U.plural,value:r,options:Tt(A.val),offset:b,pluralType:a==="plural"?"cardinal":"ordinal",location:O},err:null}}default:return this.error(M.INVALID_ARGUMENT_TYPE,F(s,f))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(M.EXPECT_ARGUMENT_CLOSING_BRACE,F(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var r=this.char();switch(r){case 39:{this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(M.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,F(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(n.offset,this.offset()),err:null};break}default:this.bump();break}}return{val:this.message.slice(n.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(t,n){var r=[];try{r=Bo(t)}catch{return this.error(M.INVALID_NUMBER_SKELETON,n)}return{val:{type:me.number,tokens:r,location:n,parsedOptions:this.shouldParseSkeletons?Zo(r):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,r,i){for(var o,s=!1,a=[],f=new Set,l=i.value,u=i.location;;){if(l.length===0){var _=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var c=this.tryParseDecimalInteger(M.EXPECT_PLURAL_ARGUMENT_SELECTOR,M.INVALID_PLURAL_ARGUMENT_SELECTOR);if(c.err)return c;u=F(_,this.clonePosition()),l=this.message.slice(_.offset,this.offset())}else break}if(f.has(l))return this.error(n==="select"?M.DUPLICATE_SELECT_ARGUMENT_SELECTOR:M.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);l==="other"&&(s=!0),this.bumpSpace();var g=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?M.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:M.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,F(this.clonePosition(),this.clonePosition()));var p=this.parseMessage(t+1,n,r);if(p.err)return p;var m=this.tryParseArgumentClose(g);if(m.err)return m;a.push([l,{value:p.val,location:F(g,this.clonePosition())}]),f.add(l),this.bumpSpace(),o=this.parseIdentifierIfPossible(),l=o.value,u=o.location}return a.length===0?this.error(n==="select"?M.EXPECT_SELECT_ARGUMENT_SELECTOR:M.EXPECT_PLURAL_ARGUMENT_SELECTOR,F(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!s?this.error(M.MISSING_OTHER_CLAUSE,F(this.clonePosition(),this.clonePosition())):{val:a,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var o=!1,s=0;!this.isEOF();){var a=this.char();if(a>=48&&a<=57)o=!0,s=s*10+(a-48),this.bump();else break}var f=F(i,this.clonePosition());return o?(s*=r,ia(s)?{val:s,err:null}:this.error(n,f)):this.error(t,f)},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 n=vn(this.message,t);if(n===void 0)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return n},e.prototype.error=function(t,n){return{val:null,err:{kind:t,message:this.message,location:n}}},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(St(this.message,t,this.offset())){for(var n=0;n<t.length;n++)this.bump();return!0}return!1},e.prototype.bumpUntil=function(t){var n=this.offset(),r=this.message.indexOf(t,n);return r>=0?(this.bumpTo(r),!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 n=this.offset();if(n===t)break;if(n>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()&&yn(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),r=this.message.charCodeAt(n+(t>=65536?2:1));return r??null},e}();function et(e){return e>=97&&e<=122||e>=65&&e<=90}function ua(e){return et(e)||e===47}function fa(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 yn(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function ca(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 tt(e){e.forEach(function(t){if(delete t.location,fn(t)||cn(t))for(var n in t.options)delete t.options[n].location,tt(t.options[n].value);else ln(t)&&pn(t.style)||(sn(t)||un(t))&&Ye(t.style)?delete t.style.location:_n(t)&&tt(t.children)})}function _a(e,t){t===void 0&&(t={}),t=G({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new sa(e,t).parse();if(n.err){var r=SyntaxError(M[n.err.kind]);throw r.location=n.err.location,r.originalMessage=n.err.message,r}return t?.captureLocation||tt(n.val),n.val}function qe(e,t){var n=t&&t.cache?t.cache:va,r=t&&t.serializer?t.serializer:ga,i=t&&t.strategy?t.strategy:da;return i(e,{cache:n,serializer:r})}function pa(e){return e==null||typeof e=="number"||typeof e=="boolean"}function En(e,t,n,r){var i=pa(r)?r:n(r),o=t.get(i);return typeof o>"u"&&(o=e.call(this,r),t.set(i,o)),o}function Sn(e,t,n){var r=Array.prototype.slice.call(arguments,3),i=n(r),o=t.get(i);return typeof o>"u"&&(o=e.apply(this,r),t.set(i,o)),o}function lt(e,t,n,r,i){return n.bind(t,e,r,i)}function da(e,t){var n=e.length===1?En:Sn;return lt(e,this,n,t.cache.create(),t.serializer)}function ma(e,t){return lt(e,this,Sn,t.cache.create(),t.serializer)}function ha(e,t){return lt(e,this,En,t.cache.create(),t.serializer)}var ga=function(){return JSON.stringify(arguments)};function st(){this.cache=Object.create(null)}st.prototype.get=function(e){return this.cache[e]};st.prototype.set=function(e,t){this.cache[e]=t};var va={create:function(){return new st}},He={variadic:ma,monadic:ha},he;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(he||(he={}));var Ge=function(e){Fe(t,e);function t(n,r,i){var o=e.call(this,n)||this;return o.code=r,o.originalMessage=i,o}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),It=function(e){Fe(t,e);function t(n,r,i,o){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(r,'". Options are "').concat(Object.keys(i).join('", "'),'"'),he.INVALID_VALUE,o)||this}return t}(Ge),ba=function(e){Fe(t,e);function t(n,r,i){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(r),he.INVALID_VALUE,i)||this}return t}(Ge),ya=function(e){Fe(t,e);function t(n,r){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(r,'"'),he.MISSING_VALUE,r)||this}return t}(Ge),Z;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(Z||(Z={}));function Ea(e){return e.length<2?e:e.reduce(function(t,n){var r=t[t.length-1];return!r||r.type!==Z.literal||n.type!==Z.literal?t.push(n):r.value+=n.value,t},[])}function Sa(e){return typeof e=="function"}function Le(e,t,n,r,i,o,s){if(e.length===1&&vt(e[0]))return[{type:Z.literal,value:e[0].value}];for(var a=[],f=0,l=e;f<l.length;f++){var u=l[f];if(vt(u)){a.push({type:Z.literal,value:u.value});continue}if(Uo(u)){typeof o=="number"&&a.push({type:Z.literal,value:n.getNumberFormat(t).format(o)});continue}var _=u.value;if(!(i&&_ in i))throw new ya(_,s);var c=i[_];if(Go(u)){(!c||typeof c=="string"||typeof c=="number")&&(c=typeof c=="string"||typeof c=="number"?String(c):""),a.push({type:typeof c=="string"?Z.literal:Z.object,value:c});continue}if(sn(u)){var g=typeof u.style=="string"?r.date[u.style]:Ye(u.style)?u.style.parsedOptions:void 0;a.push({type:Z.literal,value:n.getDateTimeFormat(t,g).format(c)});continue}if(un(u)){var g=typeof u.style=="string"?r.time[u.style]:Ye(u.style)?u.style.parsedOptions:void 0;a.push({type:Z.literal,value:n.getDateTimeFormat(t,g).format(c)});continue}if(ln(u)){var g=typeof u.style=="string"?r.number[u.style]:pn(u.style)?u.style.parsedOptions:void 0;g&&g.scale&&(c=c*(g.scale||1)),a.push({type:Z.literal,value:n.getNumberFormat(t,g).format(c)});continue}if(_n(u)){var p=u.children,m=u.value,d=i[m];if(!Sa(d))throw new ba(m,"function",s);var C=Le(p,t,n,r,i,o),T=d(C.map(function(A){return A.value}));Array.isArray(T)||(T=[T]),a.push.apply(a,T.map(function(A){return{type:typeof A=="string"?Z.literal:Z.object,value:A}}))}if(fn(u)){var y=u.options[c]||u.options.other;if(!y)throw new It(u.value,c,Object.keys(u.options),s);a.push.apply(a,Le(y.value,t,n,r,i));continue}if(cn(u)){var y=u.options["=".concat(c)];if(!y){if(!Intl.PluralRules)throw new Ge(`Intl.PluralRules is not available in this environment.
Try polyfilling it using "@formatjs/intl-pluralrules"
`,he.MISSING_INTL_API,s);var b=n.getPluralRules(t,{type:u.pluralType}).select(c-(u.offset||0));y=u.options[b]||u.options.other}if(!y)throw new It(u.value,c,Object.keys(u.options),s);a.push.apply(a,Le(y.value,t,n,r,i,c-(u.offset||0)));continue}}return Ea(a)}function Ta(e,t){return t?G(G(G({},e||{}),t||{}),Object.keys(e).reduce(function(n,r){return n[r]=G(G({},e[r]),t[r]||{}),n},{})):e}function wa(e,t){return t?Object.keys(e).reduce(function(n,r){return n[r]=Ta(e[r],t[r]),n},G({},e)):e}function We(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function Ia(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:qe(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.NumberFormat).bind.apply(t,Xe([void 0],n,!1)))},{cache:We(e.number),strategy:He.variadic}),getDateTimeFormat:qe(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.DateTimeFormat).bind.apply(t,Xe([void 0],n,!1)))},{cache:We(e.dateTime),strategy:He.variadic}),getPluralRules:qe(function(){for(var t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];return new((t=Intl.PluralRules).bind.apply(t,Xe([void 0],n,!1)))},{cache:We(e.pluralRules),strategy:He.variadic})}}var Aa=function(){function e(t,n,r,i){var o=this;if(n===void 0&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(s){var a=o.formatToParts(s);if(a.length===1)return a[0].value;var f=a.reduce(function(l,u){return!l.length||u.type!==Z.literal||typeof l[l.length-1]!="string"?l.push(u.value):l[l.length-1]+=u.value,l},[]);return f.length<=1?f[0]||"":f},this.formatToParts=function(s){return Le(o.ast,o.locales,o.formatters,o.formats,s,void 0,o.message)},this.resolvedOptions=function(){return{locale:Intl.NumberFormat.supportedLocalesOf(o.locales)[0]}},this.getAst=function(){return o.ast},typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");this.ast=e.__parse(t,{ignoreTag:i?.ignoreTag})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=wa(e.formats,r),this.locales=n,this.formatters=i&&i.formatters||Ia(this.formatterCache)}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=new Intl.NumberFormat().resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.__parse=_a,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}(),Pa=Aa;const fe={},Ca=(e,t,n)=>n&&(t in fe||(fe[t]={}),e in fe[t]||(fe[t][e]=n),n),Tn=(e,t)=>{if(t==null)return;if(t in fe&&e in fe[t])return fe[t][e];const n=Oe(t);for(let r=0;r<n.length;r++){const i=Oa(n[r],e);if(i)return Ca(e,t,i)}};let ut;const Ce=rt({});function wn(e){return e in ut}function Oa(e,t){return wn(e)?function(n,r){if(r==null)return;if(r in n)return n[r];const i=r.split(".");let o=n;for(let s=0;s<i.length;s++)if(typeof o=="object"){if(s>0){const a=i.slice(s,i.length).join(".");if(a in o){o=o[a];break}}o=o[i[s]]}else o=void 0;return o}(function(n){return ut[n]||null}(e),t):null}function In(e,...t){delete fe[e],Ce.update(n=>(n[e]=Fo.all([n[e]||{},...t]),n))}be([Ce],([e])=>Object.keys(e));Ce.subscribe(e=>ut=e);const Re={};function An(e){return Re[e]}function Me(e){return e!=null&&Oe(e).some(t=>{var n;return(n=An(t))===null||n===void 0?void 0:n.size})}function ka(e,t){return Promise.all(t.map(n=>(function(r,i){Re[r].delete(i),Re[r].size===0&&delete Re[r]}(e,n),n().then(r=>r.default||r)))).then(n=>In(e,...n))}const Se={};function Pn(e){if(!Me(e))return e in Se?Se[e]:Promise.resolve();const t=function(n){return Oe(n).map(r=>{const i=An(r);return[r,i?[...i]:[]]}).filter(([,r])=>r.length>0)}(e);return Se[e]=Promise.all(t.map(([n,r])=>ka(n,r))).then(()=>{if(Me(e))return Pn(e);delete Se[e]}),Se[e]}/*! *****************************************************************************
Copyright (c) Microsoft Corporation.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
***************************************************************************** */function pe(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function"){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}const Te={fallbackLocale:null,loadingDelay:200,formats:{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"}}},warnOnMissingMessages:!0,ignoreTag:!0};function ge(){return Te}function xa(e){const{formats:t}=e,n=pe(e,["formats"]),r=e.initialLocale||e.fallbackLocale;return Object.assign(Te,n,{initialLocale:r}),t&&("number"in t&&Object.assign(Te.formats.number,t.number),"date"in t&&Object.assign(Te.formats.date,t.date),"time"in t&&Object.assign(Te.formats.time,t.time)),Ee.set(r)}const Ze=rt(!1);let nt;const Ne=rt(null);function At(e){return e.split("-").map((t,n,r)=>r.slice(0,n+1).join("-")).reverse()}function Oe(e,t=ge().fallbackLocale){const n=At(e);return t?[...new Set([...n,...At(t)])]:n}function ce(){return nt??void 0}Ne.subscribe(e=>{nt=e??void 0,typeof window<"u"&&e!=null&&document.documentElement.setAttribute("lang",e)});const Ee=Object.assign(Object.assign({},Ne),{set:e=>{if(e&&function(t){if(t==null)return;const n=Oe(t);for(let r=0;r<n.length;r++){const i=n[r];if(wn(i))return i}}(e)&&Me(e)){const{loadingDelay:t}=ge();let n;return typeof window<"u"&&ce()!=null&&t?n=window.setTimeout(()=>Ze.set(!0),t):Ze.set(!0),Pn(e).then(()=>{Ne.set(e)}).finally(()=>{clearTimeout(n),Ze.set(!1)})}return Ne.set(e)}}),La=()=>typeof window>"u"?null:window.navigator.language||window.navigator.languages[0],Ue=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},Ae=(e,t)=>{const{formats:n}=ge();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Ra=Ue(e=>{var{locale:t,format:n}=e,r=pe(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Ae("number",n)),new Intl.NumberFormat(t,r)}),Na=Ue(e=>{var{locale:t,format:n}=e,r=pe(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Ae("date",n):Object.keys(r).length===0&&(r=Ae("date","short")),new Intl.DateTimeFormat(t,r)}),ja=Ue(e=>{var{locale:t,format:n}=e,r=pe(e,["locale","format"]);if(t==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Ae("time",n):Object.keys(r).length===0&&(r=Ae("time","short")),new Intl.DateTimeFormat(t,r)}),Da=(e={})=>{var{locale:t=ce()}=e,n=pe(e,["locale"]);return Ra(Object.assign({locale:t},n))},Ma=(e={})=>{var{locale:t=ce()}=e,n=pe(e,["locale"]);return Na(Object.assign({locale:t},n))},Fa=(e={})=>{var{locale:t=ce()}=e,n=pe(e,["locale"]);return ja(Object.assign({locale:t},n))},Ga=Ue((e,t=ce())=>new Pa(e,t,ge().formats,{ignoreTag:ge().ignoreTag})),Ua=(e,t={})=>{let n=t;typeof e=="object"&&(n=e,e=n.id);const{values:r,locale:i=ce(),default:o}=n;if(i==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let s=Tn(e,i);if(s){if(typeof s!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof s}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),s}else ge().warnOnMissingMessages&&console.warn(`[svelte-i18n] The message "${e}" was not found in "${Oe(i).join('", "')}".${Me(ce())?`

Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`),s=o??e;if(!r)return s;let a=s;try{a=Ga(s,i).format(r)}catch(f){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,f.message)}return a},Va=(e,t)=>Fa(t).format(e),za=(e,t)=>Ma(t).format(e),Xa=(e,t)=>Da(t).format(e),Ba=(e,t=ce())=>Tn(e,t),Ds=be([Ee,Ce],()=>Ua);be([Ee],()=>Va);be([Ee],()=>za);be([Ee],()=>Xa);be([Ee,Ce],()=>Ba);const qa={accordion:()=>j(()=>import("./index.161aa114.js"),["assets/index.161aa114.js","assets/index.5aa71568.css","assets/Column.svelte_svelte_type_style_lang.c4c23b6e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/Column.899c996b.js"]),audio:()=>j(()=>import("./index.f7b4af26.js"),["assets/index.f7b4af26.js","assets/index.949232a2.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/UploadText.dca45b41.js","assets/UploadText.41b55f5d.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/Upload.233e3186.js","assets/ModifyUpload.svelte_svelte_type_style_lang.e946db2d.js","assets/ModifyUpload.svelte_svelte_type_style_lang.8c17392b.css","assets/ModifyUpload.6b6d2d33.js","assets/BlockLabel.7ce695d8.js","assets/Empty.ae5c2506.js"]),box:()=>j(()=>import("./index.9e3b8e14.js"),["assets/index.9e3b8e14.js","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css"]),button:()=>j(()=>import("./index.ec5895b1.js"),["assets/index.ec5895b1.js","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css"]),chatbot:()=>j(()=>import("./index.f7288490.js"),["assets/index.f7288490.js","assets/index.c402ae1d.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockLabel.7ce695d8.js","assets/ModifyUpload.svelte_svelte_type_style_lang.e946db2d.js","assets/ModifyUpload.svelte_svelte_type_style_lang.8c17392b.css"]),checkbox:()=>j(()=>import("./index.9bb1e80a.js"),["assets/index.9bb1e80a.js","assets/ColorPicker.svelte_svelte_type_style_lang.adee3b52.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/Info.1218d587.js"]),checkboxgroup:()=>j(()=>import("./index.d846d8ec.js"),["assets/index.d846d8ec.js","assets/ColorPicker.svelte_svelte_type_style_lang.adee3b52.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockTitle.78628404.js","assets/Info.1218d587.js"]),code:()=>j(()=>import("./index.8f4ac20d.js").then(function(e){return e.F}),["assets/index.8f4ac20d.js","assets/index.4d8c967c.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockLabel.7ce695d8.js","assets/Empty.ae5c2506.js","assets/Copy.d6bfc6ec.js","assets/Download.5a6e5fa3.js"]),colorpicker:()=>j(()=>import("./index.9eaac145.js"),["assets/index.9eaac145.js","assets/ColorPicker.svelte_svelte_type_style_lang.adee3b52.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockTitle.78628404.js","assets/Info.1218d587.js"]),column:()=>j(()=>import("./index.c6373c8b.js"),["assets/index.c6373c8b.js","assets/Column.svelte_svelte_type_style_lang.c4c23b6e.css","assets/Column.899c996b.js","assets/index.37b24c07.js","assets/index.f554ccc1.css"]),dataframe:()=>j(()=>import("./index.11c5f2d6.js"),["assets/index.11c5f2d6.js","assets/index.ed3a7ba6.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Upload.233e3186.js","assets/ModifyUpload.svelte_svelte_type_style_lang.e946db2d.js","assets/ModifyUpload.svelte_svelte_type_style_lang.8c17392b.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/dsv.7fe76a93.js"]),dataset:()=>j(()=>import("./index.fc9bbd69.js"),["assets/index.fc9bbd69.js","assets/index.a3fdfec5.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/_commonjsHelpers.a5007c1f.js","assets/Image.3b7bf79b.js","assets/Image.3a14ca24.css","assets/csv.27f5436c.js","assets/dsv.7fe76a93.js","assets/Model3D.e4f84941.js","assets/Model3D.586493bd.css"]),dropdown:()=>j(()=>import("./index.a5a7351b.js"),["assets/index.a5a7351b.js","assets/ColorPicker.svelte_svelte_type_style_lang.adee3b52.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockTitle.78628404.js","assets/Info.1218d587.js"]),file:()=>j(()=>import("./index.e78e7e3f.js"),["assets/index.e78e7e3f.js","assets/index.6da2d824.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockLabel.7ce695d8.js","assets/Empty.ae5c2506.js","assets/File.92a85ebc.js","assets/Upload.233e3186.js","assets/ModifyUpload.svelte_svelte_type_style_lang.e946db2d.js","assets/ModifyUpload.svelte_svelte_type_style_lang.8c17392b.css","assets/ModifyUpload.6b6d2d33.js","assets/UploadText.dca45b41.js","assets/UploadText.41b55f5d.css"]),form:()=>j(()=>import("./index.d9197354.js"),["assets/index.d9197354.js","assets/Form.829e1388.js","assets/Form.0a7d9dad.css","assets/index.37b24c07.js","assets/index.f554ccc1.css"]),gallery:()=>j(()=>import("./index.309797c9.js"),["assets/index.309797c9.js","assets/index.5c217706.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockLabel.7ce695d8.js","assets/Empty.ae5c2506.js","assets/ModifyUpload.svelte_svelte_type_style_lang.e946db2d.js","assets/ModifyUpload.svelte_svelte_type_style_lang.8c17392b.css","assets/ModifyUpload.6b6d2d33.js","assets/Image.5624fd80.js"]),group:()=>j(()=>import("./index.625f0989.js"),["assets/index.625f0989.js","assets/index.722bec8b.css","assets/index.37b24c07.js","assets/index.f554ccc1.css"]),highlightedtext:()=>j(()=>import("./index.f15f2c31.js"),["assets/index.f15f2c31.js","assets/index.6f761b5e.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/color.b4725534.js","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockLabel.7ce695d8.js","assets/Empty.ae5c2506.js"]),html:()=>j(()=>import("./index.34c6276f.js"),["assets/index.34c6276f.js","assets/index.f6ac8e97.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css"]),image:()=>j(()=>import("./index.148fc4b9.js"),["assets/index.148fc4b9.js","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockLabel.7ce695d8.js","assets/Image.5624fd80.js","assets/StaticImage.svelte_svelte_type_style_lang.c3c14c87.js","assets/StaticImage.svelte_svelte_type_style_lang.b09e12d3.css","assets/ModifyUpload.6b6d2d33.js","assets/ModifyUpload.svelte_svelte_type_style_lang.e946db2d.js","assets/ModifyUpload.svelte_svelte_type_style_lang.8c17392b.css","assets/Upload.233e3186.js","assets/Empty.ae5c2506.js","assets/Download.5a6e5fa3.js","assets/UploadText.dca45b41.js","assets/UploadText.41b55f5d.css","assets/Image.3b7bf79b.js","assets/Image.3a14ca24.css"]),interpretation:()=>j(()=>import("./index.a103cc61.js"),["assets/index.a103cc61.js","assets/index.8b2a7651.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockTitle.78628404.js","assets/Info.1218d587.js"]),json:()=>j(()=>import("./index.2de5e818.js"),["assets/index.2de5e818.js","assets/index.61c7b416.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Copy.d6bfc6ec.js","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/Empty.ae5c2506.js","assets/BlockLabel.7ce695d8.js"]),label:()=>j(()=>import("./index.60be8090.js"),["assets/index.60be8090.js","assets/index.b68d5aeb.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockLabel.7ce695d8.js","assets/Empty.ae5c2506.js"]),markdown:()=>j(()=>import("./index.941e34fd.js"),["assets/index.941e34fd.js","assets/index.24229075.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css"]),model3d:()=>j(()=>import("./index.a791a429.js"),["assets/index.a791a429.js","assets/index.00ec9920.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/ModifyUpload.svelte_svelte_type_style_lang.e946db2d.js","assets/ModifyUpload.svelte_svelte_type_style_lang.8c17392b.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockLabel.7ce695d8.js","assets/Empty.ae5c2506.js","assets/File.92a85ebc.js","assets/ModifyUpload.6b6d2d33.js","assets/Download.5a6e5fa3.js","assets/_commonjsHelpers.a5007c1f.js","assets/Upload.233e3186.js","assets/UploadText.dca45b41.js","assets/UploadText.41b55f5d.css","assets/Model3D.e4f84941.js","assets/Model3D.586493bd.css"]),number:()=>j(()=>import("./index.0c78303c.js"),["assets/index.0c78303c.js","assets/ColorPicker.svelte_svelte_type_style_lang.adee3b52.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockTitle.78628404.js","assets/Info.1218d587.js"]),plot:()=>j(()=>import("./index.756cf7e0.js"),["assets/index.756cf7e0.js","assets/index.84ff132c.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/_commonjsHelpers.a5007c1f.js","assets/color.b4725534.js","assets/linear.955f0731.js","assets/dsv.7fe76a93.js","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/Empty.ae5c2506.js","assets/BlockLabel.7ce695d8.js"]),radio:()=>j(()=>import("./index.66bc5f70.js"),["assets/index.66bc5f70.js","assets/ColorPicker.svelte_svelte_type_style_lang.adee3b52.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockTitle.78628404.js","assets/Info.1218d587.js"]),row:()=>j(()=>import("./index.e53bc184.js"),["assets/index.e53bc184.js","assets/index.1c646c8a.css","assets/index.37b24c07.js","assets/index.f554ccc1.css"]),slider:()=>j(()=>import("./index.52f19625.js"),["assets/index.52f19625.js","assets/ColorPicker.svelte_svelte_type_style_lang.adee3b52.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockTitle.78628404.js","assets/Info.1218d587.js"]),state:()=>j(()=>import("./index.be0857c3.js"),["assets/index.be0857c3.js","assets/index.37b24c07.js","assets/index.f554ccc1.css"]),statustracker:()=>j(()=>import("./index.4e431560.js"),["assets/index.4e431560.js","assets/index.37b24c07.js","assets/index.f554ccc1.css"]),tabs:()=>j(()=>import("./index.668532cc.js"),["assets/index.668532cc.js","assets/Column.svelte_svelte_type_style_lang.c4c23b6e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/TabItem.svelte_svelte_type_style_lang.40c372e9.js","assets/TabItem.svelte_svelte_type_style_lang.8ca4f84d.css"]),tabitem:()=>j(()=>import("./index.e0c7a81b.js"),["assets/index.e0c7a81b.js","assets/Column.svelte_svelte_type_style_lang.c4c23b6e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/TabItem.svelte_svelte_type_style_lang.40c372e9.js","assets/TabItem.svelte_svelte_type_style_lang.8ca4f84d.css","assets/Column.899c996b.js"]),textbox:()=>j(()=>import("./index.0df6cff0.js"),["assets/index.0df6cff0.js","assets/ColorPicker.svelte_svelte_type_style_lang.adee3b52.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/Textbox.08748353.js","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockTitle.78628404.js","assets/Info.1218d587.js","assets/Copy.d6bfc6ec.js"]),timeseries:()=>j(()=>import("./index.f57736a7.js"),["assets/index.f57736a7.js","assets/index.8f9fffde.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Upload.233e3186.js","assets/ModifyUpload.svelte_svelte_type_style_lang.e946db2d.js","assets/ModifyUpload.svelte_svelte_type_style_lang.8c17392b.css","assets/ModifyUpload.6b6d2d33.js","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/BlockLabel.7ce695d8.js","assets/Empty.ae5c2506.js","assets/color.b4725534.js","assets/linear.955f0731.js","assets/csv.27f5436c.js","assets/dsv.7fe76a93.js","assets/UploadText.dca45b41.js","assets/UploadText.41b55f5d.css"]),uploadbutton:()=>j(()=>import("./index.d3c29361.js"),["assets/index.d3c29361.js","assets/index.89ce7356.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/ModifyUpload.svelte_svelte_type_style_lang.e946db2d.js","assets/ModifyUpload.svelte_svelte_type_style_lang.8c17392b.css"]),video:()=>j(()=>import("./index.d860e796.js"),["assets/index.d860e796.js","assets/index.ff5c67e2.css","assets/DropdownArrow.svelte_svelte_type_style_lang.a71c0c1e.css","assets/index.37b24c07.js","assets/index.f554ccc1.css","assets/ModifyUpload.svelte_svelte_type_style_lang.e946db2d.js","assets/ModifyUpload.svelte_svelte_type_style_lang.8c17392b.css","assets/Empty.svelte_svelte_type_style_lang.94e7c7a3.js","assets/Empty.svelte_svelte_type_style_lang.04656a45.css","assets/Upload.233e3186.js","assets/ModifyUpload.6b6d2d33.js","assets/BlockLabel.7ce695d8.js","assets/StaticImage.svelte_svelte_type_style_lang.c3c14c87.js","assets/StaticImage.svelte_svelte_type_style_lang.b09e12d3.css","assets/Empty.ae5c2506.js","assets/UploadText.dca45b41.js","assets/UploadText.41b55f5d.css"])},Cn="\u0623\u0631\u0633\u0644",On="\u0623\u0645\u0633\u062D",kn="\u0641\u0633\u0650\u0651\u0631",xn="\u0628\u0644\u0650\u0651\u063A",Ln="\u0623\u0645\u062B\u0644\u0629",Rn="\u0623\u0648";var Ha={interface:{drop_image:"\u0623\u0633\u0642\u0637 \u0627\u0644\u0635\u0648\u0631\u0629 \u0647\u0646\u0627",drop_video:"\u0623\u0633\u0642\u0637 \u0627\u0644\u0641\u064A\u062F\u064A\u0648 \u0647\u0646\u0627",drop_audio:"\u0623\u0633\u0642\u0637 \u0627\u0644\u0645\u0644\u0641 \u0627\u0644\u0635\u0648\u062A\u064A \u0647\u0646\u0627",drop_file:"\u0623\u0633\u0642\u0637 \u0627\u0644\u0645\u0644\u0641 \u0647\u0646\u0627",drop_csv:"\u0623\u0633\u0642\u0637 \u0645\u0644\u0641 \u0627\u0644\u0628\u064A\u0627\u0646\u0627\u062A \u0647\u0646\u0627",click_to_upload:"\u0625\u0636\u063A\u0637 \u0644\u0644\u062A\u062D\u0645\u064A\u0644",view_api:"\u0625\u0633\u062A\u062E\u062F\u0645 \u0648\u0627\u062C\u0647\u0629 \u0627\u0644\u0628\u0631\u0645\u062C\u0629",built_with_Gradio:"\u062A\u0645 \u0627\u0644\u0625\u0646\u0634\u0627\u0621 \u0628\u0625\u0633\u062A\u062E\u062F\u0627\u0645 Gradio"},Submit:Cn,Clear:On,Interpret:kn,Flag:xn,Examples:Ln,or:Rn},Wa=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:Cn,Clear:On,Interpret:kn,Flag:xn,Examples:Ln,or:Rn,default:Ha});const Nn="Absenden",jn="L\xF6schen",Dn="Ersteller",Mn="Flag",Fn="Beispiele",Gn="oder";var Za={interface:{drop_image:"Bild hier ablegen",drop_video:"Video hier ablegen",drop_audio:"Audio hier ablegen",drop_file:"Datei hier ablegen",drop_csv:"CSV Datei hier ablegen",click_to_upload:"Hochladen",view_api:"API anschauen",built_with_Gradio:"Mit Gradio erstellt"},Submit:Nn,Clear:jn,Interpret:Dn,Flag:Mn,Examples:Fn,or:Gn},Ja=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:Nn,Clear:jn,Interpret:Dn,Flag:Mn,Examples:Fn,or:Gn,default:Za});const Un="Submit",Vn="Clear",zn="Interpret",Xn="Flag",Bn="Examples",qn="or";var Ya={interface:{drop_image:"Drop Image Here",drop_video:"Drop Video Here",drop_audio:"Drop Audio Here",drop_file:"Drop File Here",drop_csv:"Drop CSV Here",click_to_upload:"Click to Upload",view_api:"view the api",built_with_Gradio:"Built with gradio",copy_to_clipboard:"copy json",loading:"Loading",error:"ERROR",empty:"Empty"},Submit:Un,Clear:Vn,Interpret:zn,Flag:Xn,Examples:Bn,or:qn},Qa=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:Un,Clear:Vn,Interpret:zn,Flag:Xn,Examples:Bn,or:qn,default:Ya});const Hn="Enviar",Wn="Limpiar",Zn="Interpretar",Jn="Avisar",Yn="Ejemplos",Qn="o";var Ka={interface:{drop_image:"Coloque la imagen aqu\xED",drop_video:"Coloque el video aqu\xED",drop_audio:"Coloque el audio aqu\xED",drop_file:"Coloque el archivo aqu\xED",drop_csv:"Coloque el CSV aqu\xED",click_to_upload:"Haga click para cargar",view_api:"Ver la API",built_with_Gradio:"Construido con Gradio"},Submit:Hn,Clear:Wn,Interpret:Zn,Flag:Jn,Examples:Yn,or:Qn},$a=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:Hn,Clear:Wn,Interpret:Zn,Flag:Jn,Examples:Yn,or:Qn,default:Ka});const Kn="\u0627\u0631\u0633\u0627\u0644",$n="\u062D\u0630\u0641",er="\u062A\u0641\u0633\u06CC\u0631",tr="\u067E\u0631\u0686\u0645",nr="\u0645\u062B\u0627\u0644 \u0647\u0627",rr="\u06CC\u0627";var el={interface:{drop_image:"\u062A\u0635\u0648\u06CC\u0631 \u0631\u0627 \u0627\u06CC\u0646\u062C\u0627 \u0631\u0647\u0627 \u06A9\u0646\u06CC\u062F",drop_video:"\u0648\u06CC\u062F\u06CC\u0648 \u0631\u0627 \u0627\u06CC\u0646\u062C\u0627 \u0631\u0647\u0627 \u06A9\u0646\u06CC\u062F",drop_audio:"\u0635\u0648\u062A \u0631\u0627 \u0627\u06CC\u0646\u062C\u0627 \u0631\u0647\u0627 \u06A9\u0646\u06CC\u062F",drop_file:"\u0641\u0627\u06CC\u0644 \u0631\u0627 \u0627\u06CC\u0646\u062C\u0627 \u0631\u0647\u0627 \u06A9\u0646\u06CC\u062F",drop_csv:"\u0641\u0627\u06CC\u0644 csv \u0631\u0627  \u0627\u06CC\u0646\u062C\u0627 \u0631\u0647\u0627 \u06A9\u0646\u06CC\u062F",click_to_upload:"\u0628\u0631\u0627\u06CC \u0622\u067E\u0644\u0648\u062F \u06A9\u0644\u06CC\u06A9 \u06A9\u0646\u06CC\u062F",view_api:"api \u0631\u0627 \u0645\u0634\u0627\u0647\u062F\u0647 \u06A9\u0646\u06CC\u062F",built_with_Gradio:"\u0633\u0627\u062E\u062A\u0647 \u0634\u062F\u0647 \u0628\u0627 gradio"},Submit:Kn,Clear:$n,Interpret:er,Flag:tr,Examples:nr,or:rr},tl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:Kn,Clear:$n,Interpret:er,Flag:tr,Examples:nr,or:rr,default:el});const ir="Soumettre",or="Nettoyer",ar="Interpr\xE9ter",lr="Signaler",sr="Exemples",ur="ou";var nl={interface:{drop_image:"D\xE9poser l'Image Ici",drop_video:"D\xE9poser la Vid\xE9o Ici",drop_audio:"D\xE9poser l'Audio Ici",drop_file:"D\xE9poser le Fichier Ici",drop_csv:"D\xE9poser le CSV Ici",click_to_upload:"Cliquer pour T\xE9l\xE9charger",view_api:"Voir l'API",built_with_Gradio:"Con\xE7u avec Gradio"},Submit:ir,Clear:or,Interpret:ar,Flag:lr,Examples:sr,or:ur},rl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:ir,Clear:or,Interpret:ar,Flag:lr,Examples:sr,or:ur,default:nl});const fr="\u05E9\u05DC\u05D7",cr="\u05E0\u05E7\u05D4",_r="\u05DC\u05E4\u05E8\u05E9",pr="\u05E1\u05DE\u05DF",dr="\u05D3\u05D5\u05D2\u05DE\u05D5\u05EA",mr="\u05D0\u05D5";var il={interface:{drop_image:"\u05D2\u05E8\u05D5\u05E8 \u05E7\u05D5\u05D1\u05E5 \u05EA\u05DE\u05D5\u05E0\u05D4 \u05DC\u05DB\u05D0\u05DF",drop_video:"\u05D2\u05E8\u05D5\u05E8 \u05E7\u05D5\u05D1\u05E5 \u05E1\u05E8\u05D8\u05D5\u05DF \u05DC\u05DB\u05D0\u05DF",drop_audio:"\u05D2\u05E8\u05D5\u05E8 \u05DC\u05DB\u05D0\u05DF \u05E7\u05D5\u05D1\u05E5 \u05E9\u05DE\u05E2",drop_file:"\u05D2\u05E8\u05D5\u05E8 \u05E7\u05D5\u05D1\u05E5 \u05DC\u05DB\u05D0\u05DF",drop_csv:"\u05D2\u05E8\u05D5\u05E8 csv \u05E7\u05D5\u05D1\u05E5 \u05DC\u05DB\u05D0\u05DF",click_to_upload:"\u05DC\u05D7\u05E5 \u05DB\u05D3\u05D9 \u05DC\u05D4\u05E2\u05DC\u05D5\u05EA",view_api:"\u05E6\u05E4\u05D4 \u05D1 API",built_with_Gradio:"\u05D1\u05E0\u05D5\u05D9 \u05E2\u05DD \u05D2\u05E8\u05D3\u05D9\u05D5"},Submit:fr,Clear:cr,Interpret:_r,Flag:pr,Examples:dr,or:mr},ol=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:fr,Clear:cr,Interpret:_r,Flag:pr,Examples:dr,or:mr,default:il});const hr="\u0938\u092C\u092E\u093F\u091F \u0915\u0930\u0947",gr="\u0939\u091F\u093E\u092F\u0947",vr="\u0935\u094D\u092F\u093E\u0916\u094D\u092F\u093E \u0915\u0930\u0947",br="\u091A\u093F\u0939\u094D\u0928\u093F\u0924 \u0915\u0930\u0947",yr="\u0909\u0926\u093E\u0939\u0930\u0923",Er="\u092F\u093E";var al={interface:{drop_image:"\u092F\u0939\u093E\u0901 \u0907\u092E\u0947\u091C \u0921\u094D\u0930\u0949\u092A \u0915\u0930\u0947\u0902",drop_video:"\u092F\u0939\u093E\u0901 \u0935\u0940\u0921\u093F\u092F\u094B \u0921\u094D\u0930\u0949\u092A \u0915\u0930\u0947\u0902",drop_audio:"\u092F\u0939\u093E\u0901 \u0911\u0921\u093F\u092F\u094B \u0921\u094D\u0930\u0949\u092A \u0915\u0930\u0947\u0902",drop_file:"\u092F\u0939\u093E\u0901 File \u0921\u094D\u0930\u0949\u092A \u0915\u0930\u0947\u0902",drop_csv:"\u092F\u0939\u093E\u0901 CSV \u0921\u094D\u0930\u0949\u092A \u0915\u0930\u0947\u0902",click_to_upload:"\u0905\u092A\u0932\u094B\u0921 \u0915\u0947 \u0932\u093F\u090F \u092C\u091F\u0928 \u0926\u092C\u093E\u092F\u0947\u0902",view_api:"API \u0915\u094B \u0926\u0947\u0916\u0947",built_with_Gradio:"Gradio \u0938\u0947 \u092C\u0928\u093E"},Submit:hr,Clear:gr,Interpret:vr,Flag:br,Examples:yr,or:Er},ll=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:hr,Clear:gr,Interpret:vr,Flag:br,Examples:yr,or:Er,default:al});const Sr="\u9001\u4FE1",Tr="\u30AF\u30EA\u30A2",wr="\u89E3\u91C8",Ir="\u30D5\u30E9\u30B0\u3059\u308B",Ar="\u5165\u529B\u4F8B",Pr="\u307E\u305F\u306F";var sl={interface:{drop_image:"\u3053\u3053\u306B\u753B\u50CF\u3092\u30C9\u30ED\u30C3\u30D7",drop_video:"\u3053\u3053\u306B\u52D5\u753B\u3092\u30C9\u30ED\u30C3\u30D7",drop_audio:"\u3053\u3053\u306B\u97F3\u58F0\u3092\u30C9\u30ED\u30C3\u30D7",drop_file:"\u3053\u3053\u306B\u30D5\u30A1\u30A4\u30EB\u3092\u30C9\u30ED\u30C3\u30D7",drop_csv:"\u3053\u3053\u306BCSV\u3092\u30C9\u30ED\u30C3\u30D7",click_to_upload:"\u30AF\u30EA\u30C3\u30AF\u3057\u3066\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9",view_api:"API\u3092\u898B\u308B",built_with_Gradio:"gradio\u3067\u4F5C\u308D\u3046"},Submit:Sr,Clear:Tr,Interpret:wr,Flag:Ir,Examples:Ar,or:Pr},ul=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:Sr,Clear:Tr,Interpret:wr,Flag:Ir,Examples:Ar,or:Pr,default:sl});const Cr="\uC81C\uCD9C\uD558\uAE30",Or="\uD074\uB9AC\uC5B4",kr="\uC124\uBA85\uD558\uAE30",xr="\uD50C\uB798\uADF8",Lr="\uC608\uC2DC",Rr="\uB610\uB294";var fl={interface:{drop_image:"\uC774\uBBF8\uC9C0\uB97C \uB04C\uC5B4 \uB193\uC73C\uC138\uC694",drop_video:"\uBE44\uB514\uC624\uB97C \uB04C\uC5B4 \uB193\uC73C\uC138\uC694",drop_audio:"\uC624\uB514\uC624\uB97C \uB04C\uC5B4 \uB193\uC73C\uC138\uC694",drop_file:"\uD30C\uC77C\uC744 \uB04C\uC5B4 \uB193\uC73C\uC138\uC694",drop_csv:"CSV\uD30C\uC77C\uC744 \uB04C\uC5B4 \uB193\uC73C\uC138\uC694",click_to_upload:"\uD074\uB9AD\uD574\uC11C \uC5C5\uB85C\uB4DC\uD558\uAE30",view_api:"API \uBCF4\uAE30",built_with_Gradio:"gradio\uB85C \uC81C\uC791\uB418\uC5C8\uC2B5\uB2C8\uB2E4"},Submit:Cr,Clear:Or,Interpret:kr,Flag:xr,Examples:Lr,or:Rr},cl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:Cr,Clear:Or,Interpret:kr,Flag:xr,Examples:Lr,or:Rr,default:fl});const Nr="Pateikti",jr="Trinti",Dr="Interpretuoti",Mr="Pa\u017Eym\u0117ti",Fr="Pavyzd\u017Eiai",Gr="arba";var _l={interface:{drop_image:"\u012Ekelkite paveiksl\u0117l\u012F \u010Dia",drop_video:"\u012Ekelkite vaizdo \u012Fra\u0161\u0105 \u010Dia",drop_audio:"\u012Ekelkite garso \u012Fra\u0161\u0105 \u010Dia",drop_file:"\u012Ekelkite byl\u0105 \u010Dia",drop_csv:"\u012Ekelkite CSV \u010Dia",click_to_upload:"Spustel\u0117kite nor\u0117dami \u012Fkelti",view_api:"per\u017Ei\u016Br\u0117ti api",built_with_Gradio:"sukurta su gradio"},Submit:Nr,Clear:jr,Interpret:Dr,Flag:Mr,Examples:Fr,or:Gr},pl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:Nr,Clear:jr,Interpret:Dr,Flag:Mr,Examples:Fr,or:Gr,default:_l});const Ur="Zend in",Vr="Wis",zr="Interpreteer",Xr="Vlag",Br="Voorbeelden",qr="of";var dl={interface:{drop_image:"Sleep een Afbeelding hier",drop_video:"Sleep een Video hier",drop_audio:"Sleep een Geluidsbestand hier",drop_file:"Sleep een Document hier",drop_csv:"Sleep een CSV hier",click_to_upload:"Klik om the Uploaden",view_api:"zie de api",built_with_Gradio:"gemaakt met gradio"},Submit:Ur,Clear:Vr,Interpret:zr,Flag:Xr,Examples:Br,or:qr},ml=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:Ur,Clear:Vr,Interpret:zr,Flag:Xr,Examples:Br,or:qr,default:dl});const Hr="Zatwierd\u017A",Wr="Wyczy\u015B\u0107",Zr="Interpretuj",Jr="Oznacz",Yr="Przyk\u0142ady",Qr="lub";var hl={interface:{drop_image:"Przeci\u0105gnij tutaj zdj\u0119cie",drop_video:"Przeci\u0105gnij tutaj video",drop_audio:"Przeci\u0105gnij tutaj audio",drop_file:"Przeci\u0105gnij tutaj plik",drop_csv:"Przeci\u0105gnij tutaj CSV",click_to_upload:"Kliknij, aby przes\u0142a\u0107",view_api:"zobacz api",built_with_Gradio:"utworzone z gradio"},Submit:Hr,Clear:Wr,Interpret:Zr,Flag:Jr,Examples:Yr,or:Qr},gl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:Hr,Clear:Wr,Interpret:Zr,Flag:Jr,Examples:Yr,or:Qr,default:hl});const Kr="Enviar",$r="Limpar",ei="Interpretar",ti="Marcar",ni="Exemplos",ri="ou";var vl={interface:{drop_image:"Solte a Imagem Aqui",drop_video:"Solte o V\xEDdeo Aqui",drop_audio:"Solte o \xC1udio Aqui",drop_file:"Solte o Arquivo Aqui",drop_csv:"Solte o CSV Aqui",click_to_upload:"Clique para o Upload",view_api:"Veja a API",built_with_Gradio:"Constru\xEDdo com gradio",copy_to_clipboard:"copiar para o clipboard",loading:"Carregando",error:"ERRO",empty:"Vazio"},Submit:Kr,Clear:$r,Interpret:ei,Flag:ti,Examples:ni,or:ri},bl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:Kr,Clear:$r,Interpret:ei,Flag:ti,Examples:ni,or:ri,default:vl});const ii="\u0418\u0441\u043F\u043E\u043B\u043D\u0438\u0442\u044C",oi="\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C",ai="\u0418\u043D\u0442\u0435\u0440\u043F\u0440\u0435\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C",li="\u041F\u043E\u043C\u0435\u0442\u0438\u0442\u044C",si="\u041F\u0440\u0438\u043C\u0435\u0440\u044B",ui="\u0438\u043B\u0438";var yl={interface:{drop_image:"\u041F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u0435 \u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 \u0417\u0434\u0435\u0441\u044C",drop_video:"\u041F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u0435 \u0412\u0438\u0434\u0435\u043E \u0417\u0434\u0435\u0441\u044C",drop_audio:"\u041F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u0435 \u0410\u0443\u0434\u0438\u043E \u0417\u0434\u0435\u0441\u044C",drop_file:"\u041F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u0435 \u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442 \u0417\u0434\u0435\u0441\u044C",drop_csv:"\u041F\u043E\u043C\u0435\u0441\u0442\u0438\u0442\u0435 CSV \u0417\u0434\u0435\u0441\u044C",click_to_upload:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044C",view_api:"\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 api",built_with_Gradio:"\u0441\u0434\u0435\u043B\u0430\u043D\u043E \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E gradio"},Submit:ii,Clear:oi,Interpret:ai,Flag:li,Examples:si,or:ui},El=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:ii,Clear:oi,Interpret:ai,Flag:li,Examples:si,or:ui,default:yl});const fi="\u0B9A\u0BAE\u0BB0\u0BCD\u0BAA\u0BCD\u0BAA\u0BBF",ci="\u0B85\u0BB4\u0BBF",_i="\u0B89\u0B9F\u0BCD\u0BAA\u0BCA\u0BB0\u0BC1\u0BB3\u0BCD",pi="\u0B95\u0BCA\u0B9F\u0BBF\u0BAF\u0BBF\u0B9F\u0BC1",di="\u0B8E\u0B9F\u0BC1\u0BA4\u0BCD\u0BA4\u0BC1\u0B95\u0BCD\u0B95\u0BBE\u0B9F\u0BCD\u0B9F\u0BC1\u0B95\u0BB3\u0BCD",mi="\u0B85\u0BB2\u0BCD\u0BB2\u0BA4\u0BC1";var Sl={interface:{drop_image:"\u0BAA\u0B9F\u0BA4\u0BCD\u0BA4\u0BC8 \u0BB5\u0BC8",drop_video:"\u0BB5\u0BC0\u0B9F\u0BBF\u0BAF\u0BCB\u0BB5\u0BC8 \u0BB5\u0BC8",drop_audio:"\u0B86\u0B9F\u0BBF\u0BAF\u0BCB\u0BB5\u0BC8 \u0BB5\u0BC8",drop_file:"\u0B95\u0BCB\u0BAA\u0BCD\u0BAA\u0BC8 \u0BB5\u0BC8",drop_csv:"\u0B9A\u0BBF\u0B8E\u0BB8\u0BCD\u0BB5\u0BBF \u0BB5\u0BC8",click_to_upload:"\u0BAA\u0BA4\u0BBF\u0BB5\u0BC7\u0BB1\u0BCD\u0BB1 \u0B95\u0BBF\u0BB3\u0BBF\u0B95\u0BCD \u0B9A\u0BC6\u0BAF\u0BCD",view_api:"\u0B85\u0BAA\u0BBF\u0BAF\u0BC8 \u0B95\u0BBE\u0BA3\u0BCD",built_with_Gradio:"\u0B95\u0BCD\u0BB0\u0BC7\u0B9F\u0BBF\u0BAF\u0BCB-\u0BB5\u0BC1\u0B9F\u0BA9\u0BCD \u0B95\u0B9F\u0BCD\u0B9F\u0BAA\u0BCD\u0BAA\u0B9F\u0BCD\u0B9F\u0BA4\u0BC1"},Submit:fi,Clear:ci,Interpret:_i,Flag:pi,Examples:di,or:mi},Tl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:fi,Clear:ci,Interpret:_i,Flag:pi,Examples:di,or:mi,default:Sl});const hi="Y\xFCkle",gi="Temizle",vi="Yorumla",bi="Etiketle",yi="\xF6rnekler",Ei="veya";var wl={interface:{drop_image:"Resmi Buraya S\xFCr\xFCkle",drop_video:"Videoyu Buraya S\xFCr\xFCkle",drop_audio:"Kayd\u0131 Buraya S\xFCr\xFCkle",drop_file:"Dosyay\u0131 Buraya S\xFCr\xFCkle",drop_csv:"CSV'yi Buraya S\xFCr\xFCkle",click_to_upload:"Y\xFCklemek i\xE7in T\u0131kla",view_api:"api'yi g\xF6r\xFCnt\xFCle",built_with_Gradio:"Gradio ile olu\u015Fturulmu\u015Ftur"},Submit:hi,Clear:gi,Interpret:vi,Flag:bi,Examples:yi,or:Ei},Il=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:hi,Clear:gi,Interpret:vi,Flag:bi,Examples:yi,or:Ei,default:wl});const Si="\u041D\u0430\u0434\u0456\u0441\u043B\u0430\u0442\u0438",Ti="\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438",wi="\u041F\u043E\u044F\u0441\u043D\u0438\u0442\u0438 \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442",Ii="\u041F\u043E\u0437\u043D\u0430\u0447\u0438\u0442\u0438",Ai="\u041F\u0440\u0438\u043A\u043B\u0430\u0434\u0438",Pi="\u0430\u0431\u043E";var Al={interface:{drop_image:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0456\u0442\u044C \u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F \u0441\u044E\u0434\u0438",drop_video:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0456\u0442\u044C \u0432\u0456\u0434\u0435\u043E \u0441\u044E\u0434\u0438",drop_audio:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0456\u0442\u044C \u0430\u0443\u0434\u0456\u043E \u0441\u044E\u0434\u0438",drop_file:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0456\u0442\u044C \u0444\u0430\u0439\u043B \u0441\u044E\u0434\u0438",drop_csv:"\u041F\u0435\u0440\u0435\u0442\u044F\u0433\u043D\u0456\u0442\u044C CSV-\u0444\u0430\u0439\u043B \u0441\u044E\u0434\u0438",click_to_upload:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \u0449\u043E\u0431 \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0438\u0442\u0438",view_api:"\u041F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u0443\u0442\u0438 API",built_with_Gradio:"\u0417\u0440\u043E\u0431\u043B\u0435\u043D\u043E \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0456 gradio"},Submit:Si,Clear:Ti,Interpret:wi,Flag:Ii,Examples:Ai,or:Pi},Pl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:Si,Clear:Ti,Interpret:wi,Flag:Ii,Examples:Ai,or:Pi,default:Al});const Ci="\u062C\u0645\u0639 \u06A9\u0631\u06CC\u06BA",Oi="\u06C1\u0679\u0627 \u062F\u06CC\u06BA",ki="\u062A\u0634\u0631\u06CC\u062D \u06A9\u0631\u06CC\u06BA",xi="\u0646\u0634\u0627\u0646 \u0644\u06AF\u0627\u0626\u06CC\u06BA",Li="\u0645\u062B\u0627\u0644\u06CC\u06BA",Ri="\u06CC\u0627";var Cl={interface:{drop_image:"\u06CC\u06C1\u0627\u06BA \u062A\u0635\u0648\u06CC\u0631 \u0688\u0631\u0627\u067E \u06A9\u0631\u06CC\u06BA",drop_video:"\u06CC\u06C1\u0627\u06BA \u0648\u06CC\u0688\u06CC\u0648 \u0688\u0631\u0627\u067E \u06A9\u0631\u06CC\u06BA",drop_audio:"\u06CC\u06C1\u0627\u06BA \u0622\u0688\u06CC\u0648 \u0688\u0631\u0627\u067E \u06A9\u0631\u06CC\u06BA",drop_file:"\u06CC\u06C1\u0627\u06BA \u0641\u0627\u0626\u0644 \u0688\u0631\u0627\u067E \u06A9\u0631\u06CC\u06BA",drop_csv:"\u06CC\u06C1\u0627\u06BA \u0641\u0627\u0626\u0644 \u0688\u0631\u0627\u067E \u06A9\u0631\u06CC\u06BA",click_to_upload:"\u0627\u067E \u0644\u0648\u0688 \u06A9\u06D2 \u0644\u06CC\u06D2 \u06A9\u0644\u06A9 \u06A9\u0631\u06CC\u06BA",view_api:"API \u062F\u06CC\u06A9\u06BE\u06CC\u06BA",built_with_Gradio:"\u06A9\u06D2 \u0633\u0627\u062A\u06BE \u0628\u0646\u0627\u06CC\u0627 \u06AF\u06CC\u0627 Gradio"},Submit:Ci,Clear:Oi,Interpret:ki,Flag:xi,Examples:Li,or:Ri},Ol=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:Ci,Clear:Oi,Interpret:ki,Flag:xi,Examples:Li,or:Ri,default:Cl});const Ni="Yubor",ji="Tozalash",Di="Tushuntirish",Mi="Bayroq",Fi="Namunalar",Gi="\u6216";var kl={interface:{drop_image:"Rasmni Shu Yerga Tashlang",drop_video:"Videoni Shu Yerga Tashlang",drop_audio:"Audioni Shu Yerga Tashlang",drop_file:"Faylni Shu Yerga Tashlang",drop_csv:"CSVni Shu Yerga Tashlang",click_to_upload:"Yuklash uchun Bosing",view_api:"apini ko'ring",built_with_Gradio:"gradio bilan qilingan"},Submit:Ni,Clear:ji,Interpret:Di,Flag:Mi,Examples:Fi,or:Gi},xl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:Ni,Clear:ji,Interpret:Di,Flag:Mi,Examples:Fi,or:Gi,default:kl});const Ui="\u63D0\u4EA4",Vi="\u6E05\u9664",zi="\u89E3\u91CA",Xi="\u6807\u8BB0",Bi="\u793A\u4F8B",qi="\u6216";var Ll={interface:{drop_image:"\u62D6\u653E\u56FE\u7247\u81F3\u6B64\u5904",drop_video:"\u62D6\u653E\u89C6\u9891\u81F3\u6B64\u5904",drop_audio:"\u62D6\u653E\u97F3\u9891\u81F3\u6B64\u5904",drop_file:"\u62D6\u653E\u6587\u4EF6\u81F3\u6B64\u5904",drop_csv:"\u62D6\u653ECSV\u81F3\u6B64\u5904",click_to_upload:"\u70B9\u51FB\u4E0A\u4F20",view_api:"\u67E5\u770BAPI",built_with_Gradio:"\u4F7F\u7528Gradio\u6784\u5EFA"},Submit:Ui,Clear:Vi,Interpret:zi,Flag:Xi,Examples:Bi,or:qi},Rl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:Ui,Clear:Vi,Interpret:zi,Flag:Xi,Examples:Bi,or:qi,default:Ll});const Hi="\u63D0\u4EA4",Wi="\u6E05\u9664",Zi="\u89E3\u91CB",Ji="Flag",Yi="\u7BC4\u4F8B",Qi="\u6216";var Nl={interface:{drop_image:"\u522A\u9664\u5716\u7247",drop_video:"\u522A\u9664\u5F71\u7247",drop_audio:"\u522A\u9664\u97F3\u983B",drop_file:"\u522A\u9664\u6A94\u6848",drop_csv:"\u522A\u9664CSV",click_to_upload:"\u9EDE\u64CA\u4E0A\u50B3",view_api:"\u67E5\u770BAPI",built_with_Gradio:"\u4F7F\u7528Gradio\u69CB\u5EFA"},Submit:Hi,Clear:Wi,Interpret:Zi,Flag:Ji,Examples:Yi,or:Qi},jl=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",Submit:Hi,Clear:Wi,Interpret:Zi,Flag:Ji,Examples:Yi,or:Qi,default:Nl});const Pt={"./lang/ar.json":Wa,"./lang/de.json":Ja,"./lang/en.json":Qa,"./lang/es.json":$a,"./lang/fa.json":tl,"./lang/fr.json":rl,"./lang/he.json":ol,"./lang/hi.json":ll,"./lang/ja.json":ul,"./lang/ko.json":cl,"./lang/lt.json":pl,"./lang/nl.json":ml,"./lang/pl.json":gl,"./lang/pt-BR.json":bl,"./lang/ru.json":El,"./lang/ta.json":Tl,"./lang/tr.json":Il,"./lang/uk.json":Pl,"./lang/ur.json":Ol,"./lang/uz.json":xl,"./lang/zh-cn.json":Rl,"./lang/zh-tw.json":jl};function Dl(){let e={};for(const t in Pt){const n=t.split("/").pop().split(".").shift();e[n]=Pt[t].default}return e}const Ct=Dl();for(const e in Ct)In(e,Ct[e]);function Ml(){xa({fallbackLocale:"en",initialLocale:La()})}function Ot(e,t,n){const r=e.slice();return r[8]=t[n].component,r[17]=t[n].id,r[2]=t[n].props,r[18]=t[n].children,r[9]=t[n].has_modes,r}function kt(e){let t=[],n=new Map,r,i,o=e[1];const s=a=>a[17];for(let a=0;a<o.length;a+=1){let f=Ot(e,o,a),l=s(f);n.set(l,t[a]=xt(l,f))}return{c(){for(let a=0;a<t.length;a+=1)t[a].c();r=ne()},m(a,f){for(let l=0;l<t.length;l+=1)t[l].m(a,f);I(a,r,f),i=!0},p(a,f){f&235&&(o=a[1],oe(),t=ho(t,f,s,1,a,o,n,r.parentNode,go,xt,r,Ot),ae())},i(a){if(!i){for(let f=0;f<o.length;f+=1)x(t[f]);i=!0}},o(a){for(let f=0;f<t.length;f+=1)D(t[f]);i=!1},d(a){for(let f=0;f<t.length;f+=1)t[f].d(a);a&&S(r)}}}function xt(e,t){let n,r,i;return r=new Ki({props:{component:t[8],target:t[6],id:t[17],props:t[2],root:t[3],instance_map:t[0],children:t[18],dynamic_ids:t[5],has_modes:t[9],theme:t[7]}}),r.$on("destroy",t[12]),r.$on("mount",t[13]),{key:e,first:null,c(){n=ne(),V(r.$$.fragment),this.first=n},m(o,s){I(o,n,s),z(r,o,s),i=!0},p(o,s){t=o;const a={};s&2&&(a.component=t[8]),s&64&&(a.target=t[6]),s&2&&(a.id=t[17]),s&2&&(a.props=t[2]),s&8&&(a.root=t[3]),s&1&&(a.instance_map=t[0]),s&2&&(a.children=t[18]),s&32&&(a.dynamic_ids=t[5]),s&2&&(a.has_modes=t[9]),s&128&&(a.theme=t[7]),r.$set(a)},i(o){i||(x(r.$$.fragment,o),i=!0)},o(o){D(r.$$.fragment,o),i=!1},d(o){o&&S(n),X(r,o)}}}function Fl(e){let t,n,r=e[1]&&e[1].length&&kt(e);return{c(){r&&r.c(),t=ne()},m(i,o){r&&r.m(i,o),I(i,t,o),n=!0},p(i,o){i[1]&&i[1].length?r?(r.p(i,o),o&2&&x(r,1)):(r=kt(i),r.c(),x(r,1),r.m(t.parentNode,t)):r&&(oe(),D(r,1,1,()=>{r=null}),ae())},i(i){n||(x(r),n=!0)},o(i){D(r),n=!1},d(i){r&&r.d(i),i&&S(t)}}}function Gl(e){let t,n,r,i;const o=[{elem_id:"elem_id"in e[2]&&e[2].elem_id||`component-${e[4]}`},{elem_classes:"elem_classes"in e[2]&&e[2].elem_classes||[]},{target:e[6]},e[2],{theme:e[7]},{root:e[3]}];function s(l){e[15](l)}var a=e[8];function f(l){let u={$$slots:{default:[Fl]},$$scope:{ctx:l}};for(let _=0;_<o.length;_+=1)u=mo(u,o[_]);return l[0][l[4]].props.value!==void 0&&(u.value=l[0][l[4]].props.value),{props:u}}return a&&(t=new a(f(e)),e[14](t),we.push(()=>mt(t,"value",s)),t.$on("prop_change",e[10])),{c(){t&&V(t.$$.fragment),r=ne()},m(l,u){t&&z(t,l,u),I(l,r,u),i=!0},p(l,[u]){const _=u&220?fo(o,[u&20&&{elem_id:"elem_id"in l[2]&&l[2].elem_id||`component-${l[4]}`},u&4&&{elem_classes:"elem_classes"in l[2]&&l[2].elem_classes||[]},u&64&&{target:l[6]},u&4&&co(l[2]),u&128&&{theme:l[7]},u&8&&{root:l[3]}]):{};if(u&2097387&&(_.$$scope={dirty:u,ctx:l}),!n&&u&17&&(n=!0,_.value=l[0][l[4]].props.value,_o(()=>n=!1)),a!==(a=l[8])){if(t){oe();const c=t;D(c.$$.fragment,1,0,()=>{X(c,1)}),ae()}a?(t=new a(f(l)),l[14](t),we.push(()=>mt(t,"value",s)),t.$on("prop_change",l[10]),V(t.$$.fragment),x(t.$$.fragment,1),z(t,r.parentNode,r)):t=null}else a&&t.$set(_)},i(l){i||(t&&x(t.$$.fragment,l),i=!0)},o(l){t&&D(t.$$.fragment,l),i=!1},d(l){e[14](null),l&&S(r),t&&X(t,l)}}}function Ul(e,t,n){let{root:r}=t,{component:i}=t,{instance_map:o}=t,{id:s}=t,{props:a}=t,{children:f}=t,{dynamic_ids:l}=t,{has_modes:u}=t,{parent:_=null}=t,{target:c}=t,{theme:g}=t;const p=it();u&&(a.interactive===!1?a.mode="static":a.interactive===!0||l.has(s)?a.mode="dynamic":a.mode="static"),on(()=>(p("mount",s),()=>p("destroy",s))),po("BLOCK_KEY",_);function m(b){for(const A in b.detail)n(0,o[s].props[A]=b.detail[A],o)}function d(b){je.call(this,e,b)}function C(b){je.call(this,e,b)}function T(b){we[b?"unshift":"push"](()=>{o[s].instance=b,n(0,o)})}function y(b){e.$$.not_equal(o[s].props.value,b)&&(o[s].props.value=b,n(0,o))}return e.$$set=b=>{"root"in b&&n(3,r=b.root),"component"in b&&n(8,i=b.component),"instance_map"in b&&n(0,o=b.instance_map),"id"in b&&n(4,s=b.id),"props"in b&&n(2,a=b.props),"children"in b&&n(1,f=b.children),"dynamic_ids"in b&&n(5,l=b.dynamic_ids),"has_modes"in b&&n(9,u=b.has_modes),"parent"in b&&n(11,_=b.parent),"target"in b&&n(6,c=b.target),"theme"in b&&n(7,g=b.theme)},e.$$.update=()=>{e.$$.dirty&3&&n(1,f=f&&f.filter(b=>o[b.id].type!=="statustracker")),e.$$.dirty&19&&o[s].type==="form"&&(f?.every(b=>!b.props.visible)?n(2,a.visible=!1,a):n(2,a.visible=!0,a))},[o,f,a,r,s,l,c,g,i,u,m,_,d,C,T,y]}class Ki extends K{constructor(t){super(),$(this,t,Ul,Gl,ee,{root:3,component:8,instance_map:0,id:4,props:2,children:1,dynamic_ids:5,has_modes:9,parent:11,target:6,theme:7})}}function Vl(e){let t,n,r,i;return{c(){t=xe("svg"),n=xe("g"),r=xe("path"),i=xe("path"),E(r,"d","M3.789,0.09C3.903,-0.024 4.088,-0.024 4.202,0.09L4.817,0.705C4.931,0.819 4.931,1.004 4.817,1.118L1.118,4.817C1.004,4.931 0.819,4.931 0.705,4.817L0.09,4.202C-0.024,4.088 -0.024,3.903 0.09,3.789L3.789,0.09Z"),E(i,"d","M4.825,3.797C4.934,3.907 4.934,4.084 4.825,4.193L4.193,4.825C4.084,4.934 3.907,4.934 3.797,4.825L0.082,1.11C-0.027,1.001 -0.027,0.823 0.082,0.714L0.714,0.082C0.823,-0.027 1.001,-0.027 1.11,0.082L4.825,3.797Z"),E(t,"width","100%"),E(t,"height","100%"),E(t,"viewBox","0 0 5 5"),E(t,"version","1.1"),E(t,"xmlns","http://www.w3.org/2000/svg"),E(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),E(t,"xml:space","preserve"),ie(t,"fill","currentColor"),ie(t,"fill-rule","evenodd"),ie(t,"clip-rule","evenodd"),ie(t,"stroke-linejoin","round"),ie(t,"stroke-miterlimit","2")},m(o,s){I(o,t,s),h(t,n),h(n,r),h(n,i)},p:re,i:re,o:re,d(o){o&&S(t)}}}class $i extends K{constructor(t){super(),$(this,t,null,Vl,ee,{})}}function zl(e){let t,n,r,i,o,s,a,f,l,u,_,c,g,p,m;return c=new $i({}),{c(){t=w("div"),n=w("h1"),n.textContent="API Docs",r=L(),i=w("p"),o=P(`No named API Routes found for
		`),s=w("code"),a=P(e[0]),f=L(),l=w("p"),l.innerHTML=`To expose an API endpoint of your app in this page, set the <code>api_name</code>
		parameter of the event listener.
		<br/>
		For more information, visit the
		<a href="https://gradio.app/sharing_your_app/#api-page" target="_blank">API Page guide</a>
		. To hide the API documentation button and this page, set
		<code>show_api=False</code>
		in the
		<code>Blocks.launch()</code>
		method.`,u=L(),_=w("button"),V(c.$$.fragment),E(s,"class","svelte-1i3r921"),E(i,"class","attention svelte-1i3r921"),E(t,"class","wrap prose svelte-1i3r921"),E(_,"class","svelte-1i3r921")},m(d,C){I(d,t,C),h(t,n),h(t,r),h(t,i),h(i,o),h(i,s),h(s,a),h(t,f),h(t,l),I(d,u,C),I(d,_,C),z(c,_,null),g=!0,p||(m=_e(_,"click",e[2]),p=!0)},p(d,[C]){(!g||C&1)&&B(a,d[0])},i(d){g||(x(c.$$.fragment,d),g=!0)},o(d){D(c.$$.fragment,d),g=!1},d(d){d&&S(t),d&&S(u),d&&S(_),X(c),p=!1,m()}}}function Xl(e,t,n){const r=it();let{root:i}=t;const o=()=>r("close");return e.$$set=s=>{"root"in s&&n(0,i=s.root)},[i,r,o]}class Bl extends K{constructor(t){super(),$(this,t,Xl,zl,ee,{root:0})}}function ve(e,t,n=null){return t===void 0?n==="py"?"None":null:t==="string"?n===null?e:'"'+e+'"':t==="number"?n===null?parseFloat(e):e:t==="boolean"?n==="py"?e==="true"?"True":"False":n==="js"?e:e==="true":n===null?e===""?null:JSON.parse(e):typeof e=="string"?e===""?n==="py"?"None":"null":e:JSON.stringify(e)}var ql="./assets/api-logo.5346f193.svg";function Lt(e){let t,n,r;return{c(){t=w("div"),n=P(e[1]),r=P(" API endpoints:")},m(i,o){I(i,t,o),h(t,n),h(t,r)},p(i,o){o&2&&B(n,i[1])},d(i){i&&S(t)}}}function Hl(e){let t,n,r,i,o,s,a,f,l,u,_,c,g,p=e[1]>1&&Lt(e);return u=new $i({}),{c(){t=w("h2"),n=w("img"),i=P(`
	API documentation for\xA0
	`),o=w("span"),s=P(e[0]),a=L(),p&&p.c(),f=L(),l=w("button"),V(u.$$.fragment),Pe(n.src,r=ql)||E(n,"src",r),E(n,"alt",""),E(n,"class","svelte-155na5k"),E(o,"class","url svelte-155na5k"),E(t,"class","svelte-155na5k"),E(l,"class","svelte-155na5k")},m(m,d){I(m,t,d),h(t,n),h(t,i),h(t,o),h(o,s),I(m,a,d),p&&p.m(m,d),I(m,f,d),I(m,l,d),z(u,l,null),_=!0,c||(g=_e(l,"click",e[3]),c=!0)},p(m,[d]){(!_||d&1)&&B(s,m[0]),m[1]>1?p?p.p(m,d):(p=Lt(m),p.c(),p.m(f.parentNode,f)):p&&(p.d(1),p=null)},i(m){_||(x(u.$$.fragment,m),_=!0)},o(m){D(u.$$.fragment,m),_=!1},d(m){m&&S(t),m&&S(a),p&&p.d(m),m&&S(f),m&&S(l),X(u),c=!1,g()}}}function Wl(e,t,n){let{root:r}=t,{active_api_count:i}=t;const o=it(),s=()=>o("close");return e.$$set=a=>{"root"in a&&n(0,r=a.root),"active_api_count"in a&&n(1,i=a.active_api_count)},[r,i,o,s]}class Zl extends K{constructor(t){super(),$(this,t,Wl,Hl,ee,{root:0,active_api_count:1})}}function Jl(e){let t;return{c(){t=P("copy")},m(n,r){I(n,t,r)},d(n){n&&S(t)}}}function Yl(e){let t;return{c(){t=P("copied!")},m(n,r){I(n,t,r)},d(n){n&&S(t)}}}function Ql(e){let t;function n(o,s){return o[3]===o[2]?Yl:Jl}let r=n(e),i=r(e);return{c(){i.c(),t=ne()},m(o,s){i.m(o,s),I(o,t,s)},p(o,s){r!==(r=n(o))&&(i.d(1),i=r(o),i&&(i.c(),i.m(t.parentNode,t)))},d(o){i.d(o),o&&S(t)}}}function Kl(e){let t,n,r,i,o,s,a,f,l,u,_,c,g;return c=new ot({props:{size:"sm",variant:"secondary",$$slots:{default:[Ql]},$$scope:{ctx:e}}}),c.$on("click",e[4]),{c(){t=w("h3"),n=w("span"),n.textContent="POST",r=P(`
	/run/`),i=P(e[0]),o=L(),s=w("div"),a=w("div"),f=P(e[1]),l=P("run/"),u=P(e[0]),_=L(),V(c.$$.fragment),E(n,"class","post svelte-vs3f38"),E(t,"class","svelte-vs3f38"),E(a,"class","url svelte-vs3f38"),E(s,"class","endpoint prose svelte-vs3f38")},m(p,m){I(p,t,m),h(t,n),h(t,r),h(t,i),I(p,o,m),I(p,s,m),h(s,a),h(a,f),h(a,l),h(a,u),h(a,_),z(c,a,null),g=!0},p(p,[m]){(!g||m&1)&&B(i,p[0]),(!g||m&2)&&B(f,p[1]),(!g||m&1)&&B(u,p[0]);const d={};m&44&&(d.$$scope={dirty:m,ctx:p}),c.$set(d)},i(p){g||(x(c.$$.fragment,p),g=!0)},o(p){D(c.$$.fragment,p),g=!1},d(p){p&&S(t),p&&S(o),p&&S(s),X(c)}}}function $l(e,t,n){let{api_name:r}=t,{root:i}=t,{dependency_index:o}=t,s=-1;function a(){navigator.clipboard.writeText(i+"run/"+r),n(3,s=o),setTimeout(()=>{n(3,s=-1)},1500)}return e.$$set=f=>{"api_name"in f&&n(0,r=f.api_name),"root"in f&&n(1,i=f.root),"dependency_index"in f&&n(2,o=f.dependency_index)},[r,i,o,s,a]}class es extends K{constructor(t){super(),$(this,t,$l,Kl,ee,{api_name:0,root:1,dependency_index:2})}}function Rt(e,t,n){const r=e.slice();return r[7]=t[n],r[8]=t,r[9]=n,r}function Nt(e){let t;return{c(){t=w("span"),t.textContent="ERROR",E(t,"class","error svelte-j5il63")},m(n,r){I(n,t,r)},d(n){n&&S(t)}}}function jt(e){let t,n,r,i,o,s,a=(e[4][e[7]].documentation?.type?.input_payload||e[4][e[7]].documentation?.type?.payload)+"",f,l,u,_,c,g=(e[4][e[7]].documentation?.description?.input_payload||e[4][e[7]].documentation?.description?.payload)+"",p,m,d=Dt(e[4][e[7]].props.label)+"",C,T,y,b=e[4][e[7]].props.name+"",A,O,J,ke;function q(){e[6].call(n,e[9])}let W=e[2][e[3]][e[9]]&&Nt();return{c(){t=w("div"),n=w("input"),r=L(),W&&W.c(),i=L(),o=w("span"),s=P(": "),f=P(a),l=P(","),u=L(),_=w("span"),c=P("// represents "),p=P(g),m=P(` of
					`),C=P(d),T=L(),y=w("span"),A=P(b),O=P(`
					component`),E(n,"class"," svelte-j5il63"),E(n,"type","text"),E(o,"class","type svelte-j5il63"),E(y,"class","name svelte-j5il63"),E(_,"class","desc svelte-j5il63"),E(t,"class","second-level svelte-j5il63")},m(le,te){I(le,t,te),h(t,n),De(n,e[0][e[3]][e[9]]),h(t,r),W&&W.m(t,null),h(t,i),h(t,o),h(o,s),h(o,f),h(o,l),h(t,u),h(t,_),h(_,c),h(_,p),h(_,m),h(_,C),h(_,T),h(_,y),h(y,A),h(_,O),J||(ke=_e(n,"input",q),J=!0)},p(le,te){e=le,te&9&&n.value!==e[0][e[3]][e[9]]&&De(n,e[0][e[3]][e[9]]),e[2][e[3]][e[9]]?W||(W=Nt(),W.c(),W.m(t,i)):W&&(W.d(1),W=null),te&18&&a!==(a=(e[4][e[7]].documentation?.type?.input_payload||e[4][e[7]].documentation?.type?.payload)+"")&&B(f,a),te&18&&g!==(g=(e[4][e[7]].documentation?.description?.input_payload||e[4][e[7]].documentation?.description?.payload)+"")&&B(p,g),te&18&&d!==(d=Dt(e[4][e[7]].props.label)+"")&&B(C,d),te&18&&b!==(b=e[4][e[7]].props.name+"")&&B(A,b)},d(le){le&&S(t),W&&W.d(),J=!1,ke()}}}function ts(e){let t,n,r,i,o,s,a,f=e[1].inputs,l=[];for(let u=0;u<f.length;u+=1)l[u]=jt(Rt(e,f,u));return{c(){t=w("div"),n=P(`{
		`),r=w("div"),r.textContent='"data": [',i=L();for(let u=0;u<l.length;u+=1)l[u].c();o=L(),s=w("div"),s.textContent="]",a=P(`
		}`),E(r,"class","first-level svelte-j5il63"),E(s,"class","first-level svelte-j5il63"),E(t,"class","payload-details svelte-j5il63")},m(u,_){I(u,t,_),h(t,n),h(t,r),h(t,i);for(let c=0;c<l.length;c+=1)l[c].m(t,null);h(t,o),h(t,s),h(t,a)},p(u,_){if(_&31){f=u[1].inputs;let c;for(c=0;c<f.length;c+=1){const g=Rt(u,f,c);l[c]?l[c].p(g,_):(l[c]=jt(g),l[c].c(),l[c].m(t,o))}for(;c<l.length;c+=1)l[c].d(1);l.length=f.length}},d(u){u&&S(t),ye(l,u)}}}function ns(e){let t;return{c(){t=P("Try It Out")},m(n,r){I(n,t,r)},d(n){n&&S(t)}}}function rs(e){let t,n,r,i,o,s,a,f;return r=new at({props:{$$slots:{default:[ts]},$$scope:{ctx:e}}}),a=new ot({props:{variant:"primary",style:{full_width:!0},$$slots:{default:[ns]},$$scope:{ctx:e}}}),a.$on("click",function(){vo(e[5].bind(null,e[3]))&&e[5].bind(null,e[3]).apply(this,arguments)}),{c(){t=w("h4"),t.innerHTML=`<div class="toggle-icon svelte-j5il63"><div class="toggle-dot svelte-j5il63"></div></div>
	Input Payload`,n=L(),V(r.$$.fragment),i=L(),o=w("span"),s=L(),V(a.$$.fragment),E(t,"class","svelte-j5il63"),E(o,"class","space svelte-j5il63")},m(l,u){I(l,t,u),I(l,n,u),z(r,l,u),I(l,i,u),I(l,o,u),I(l,s,u),z(a,l,u),f=!0},p(l,[u]){e=l;const _={};u&1055&&(_.$$scope={dirty:u,ctx:e}),r.$set(_);const c={};u&1024&&(c.$$scope={dirty:u,ctx:e}),a.$set(c)},i(l){f||(x(r.$$.fragment,l),x(a.$$.fragment,l),f=!0)},o(l){D(r.$$.fragment,l),D(a.$$.fragment,l),f=!1},d(l){l&&S(t),l&&S(n),X(r,l),l&&S(i),l&&S(o),l&&S(s),X(a,l)}}}function Dt(e){return e?"'"+e+"'":"the"}function is(e,t,n){let{dependency:r}=t,{dependency_failures:i}=t,{dependency_index:o}=t,{instance_map:s}=t,{run:a}=t,{dependency_inputs:f}=t;function l(u){f[o][u]=this.value,n(0,f)}return e.$$set=u=>{"dependency"in u&&n(1,r=u.dependency),"dependency_failures"in u&&n(2,i=u.dependency_failures),"dependency_index"in u&&n(3,o=u.dependency_index),"instance_map"in u&&n(4,s=u.instance_map),"run"in u&&n(5,a=u.run),"dependency_inputs"in u&&n(0,f=u.dependency_inputs)},[f,r,i,o,s,a,l]}class os extends K{constructor(t){super(),$(this,t,is,rs,ee,{dependency:1,dependency_failures:2,dependency_index:3,instance_map:4,run:5,dependency_inputs:0})}}function Mt(e,t,n){const r=e.slice();return r[8]=t[n],r[9]=t,r[10]=n,r}function Ft(e){let t,n,r,i;function o(){e[7].call(t,e[10])}return{c(){t=w("input"),n=P(`
						:`),t.disabled=!0,E(t,"type","text"),E(t,"class","svelte-fxtbel")},m(s,a){I(s,t,a),De(t,e[0][e[2]][e[10]]),I(s,n,a),r||(i=_e(t,"input",o),r=!0)},p(s,a){e=s,a&5&&t.value!==e[0][e[2]][e[10]]&&De(t,e[0][e[2]][e[10]])},d(s){s&&S(t),s&&S(n),r=!1,i()}}}function Gt(e){let t,n,r,i=(e[3][e[8]].documentation?.type?.response_object||e[3][e[8]].documentation?.type?.payload)+"",o,s,a,f,l,u=e[5](e[3][e[8]].documentation?.description?.response_object||e[3][e[8]].documentation?.description?.payload,e[0][e[2]][e[10]])+"",_,c,g=Vt(e[3][e[8]].props.label)+"",p,m,d,C=e[3][e[8]].props.name+"",T,y,b=e[0][e[2]][e[10]]!==void 0&&Ft(e);return{c(){t=w("div"),b&&b.c(),n=L(),r=w("span"),o=P(i),s=P(","),a=L(),f=w("span"),l=P("// represents "),_=P(u),c=P(` of
						`),p=P(g),m=L(),d=w("span"),T=P(C),y=P(`
						component`),E(r,"class","type svelte-fxtbel"),E(d,"class","name capitalize svelte-fxtbel"),E(f,"class","desc svelte-fxtbel"),E(t,"class","second-level svelte-fxtbel")},m(A,O){I(A,t,O),b&&b.m(t,null),h(t,n),h(t,r),h(r,o),h(r,s),h(t,a),h(t,f),h(f,l),h(f,_),h(f,c),h(f,p),h(f,m),h(f,d),h(d,T),h(f,y)},p(A,O){A[0][A[2]][A[10]]!==void 0?b?b.p(A,O):(b=Ft(A),b.c(),b.m(t,n)):b&&(b.d(1),b=null),O&10&&i!==(i=(A[3][A[8]].documentation?.type?.response_object||A[3][A[8]].documentation?.type?.payload)+"")&&B(o,i),O&15&&u!==(u=A[5](A[3][A[8]].documentation?.description?.response_object||A[3][A[8]].documentation?.description?.payload,A[0][A[2]][A[10]])+"")&&B(_,u),O&10&&g!==(g=Vt(A[3][A[8]].props.label)+"")&&B(p,g),O&10&&C!==(C=A[3][A[8]].props.name+"")&&B(T,C)},d(A){A&&S(t),b&&b.d()}}}function Ut(e){let t,n,r;return n=new bo({props:{margin:!1}}),{c(){t=w("div"),V(n.$$.fragment),E(t,"class","load-wrap svelte-fxtbel")},m(i,o){I(i,t,o),z(n,t,null),r=!0},i(i){r||(x(n.$$.fragment,i),r=!0)},o(i){D(n.$$.fragment,i),r=!1},d(i){i&&S(t),X(n)}}}function as(e){let t,n,r,i,o,s,a,f,l,u,_,c,g=e[1].outputs,p=[];for(let d=0;d<g.length;d+=1)p[d]=Gt(Mt(e,g,d));let m=e[4]&&Ut();return{c(){t=w("div"),n=w("div"),r=P(`{
			`),i=w("div"),i.textContent='"data": [',o=L();for(let d=0;d<p.length;d+=1)p[d].c();s=L(),a=w("div"),a.textContent="],",f=L(),l=w("div"),l.innerHTML=`&quot;duration&quot;: (float)
				<span class="desc svelte-fxtbel">// number of seconds to run function call</span>`,u=P(`
			}`),_=L(),m&&m.c(),E(i,"class","first-level svelte-fxtbel"),E(a,"class","first-level svelte-fxtbel"),E(l,"class","first-level svelte-fxtbel"),E(n,"class","svelte-fxtbel"),ht(n,"hide",e[4]),E(t,"class","response-wrap svelte-fxtbel")},m(d,C){I(d,t,C),h(t,n),h(n,r),h(n,i),h(n,o);for(let T=0;T<p.length;T+=1)p[T].m(n,null);h(n,s),h(n,a),h(n,f),h(n,l),h(n,u),h(t,_),m&&m.m(t,null),c=!0},p(d,C){if(C&47){g=d[1].outputs;let T;for(T=0;T<g.length;T+=1){const y=Mt(d,g,T);p[T]?p[T].p(y,C):(p[T]=Gt(y),p[T].c(),p[T].m(n,s))}for(;T<p.length;T+=1)p[T].d(1);p.length=g.length}C&16&&ht(n,"hide",d[4]),d[4]?m?C&16&&x(m,1):(m=Ut(),m.c(),x(m,1),m.m(t,null)):m&&(oe(),D(m,1,1,()=>{m=null}),ae())},i(d){c||(x(m),c=!0)},o(d){D(m),c=!1},d(d){d&&S(t),ye(p,d),m&&m.d()}}}function ls(e){let t,n,r,i;return r=new at({props:{$$slots:{default:[as]},$$scope:{ctx:e}}}),{c(){t=w("h4"),t.innerHTML=`<div class="toggle-icon svelte-fxtbel"><div class="toggle-dot svelte-fxtbel"></div></div>
	Response Object`,n=L(),V(r.$$.fragment),E(t,"class","svelte-fxtbel")},m(o,s){I(o,t,s),I(o,n,s),z(r,o,s),i=!0},p(o,[s]){const a={};s&2079&&(a.$$scope={dirty:s,ctx:o}),r.$set(a)},i(o){i||(x(r.$$.fragment,o),i=!0)},o(o){D(r.$$.fragment,o),i=!1},d(o){o&&S(t),o&&S(n),X(r,o)}}}const Vt=e=>e?"'"+e+"'":"the";function ss(e,t,n){let{dependency:r}=t,{dependency_index:i}=t,{instance_map:o}=t,{dependency_outputs:s}=t,{is_running:a}=t,{root:f}=t;const l=(_,c)=>_?.replace("{ROOT}",f)?.replace("{name}",c?JSON.parse(`${c}`)?.name:"{name}");function u(_){s[i][_]=this.value,n(0,s)}return e.$$set=_=>{"dependency"in _&&n(1,r=_.dependency),"dependency_index"in _&&n(2,i=_.dependency_index),"instance_map"in _&&n(3,o=_.instance_map),"dependency_outputs"in _&&n(0,s=_.dependency_outputs),"is_running"in _&&n(4,a=_.is_running),"root"in _&&n(6,f=_.root)},[s,r,i,o,a,l,f,u]}class us extends K{constructor(t){super(),$(this,t,ss,ls,ee,{dependency:1,dependency_index:2,instance_map:3,dependency_outputs:0,is_running:4,root:6})}}function fs(e){let t;return{c(){t=P(e[0])},m(n,r){I(n,t,r)},p(n,r){r&1&&B(t,n[0])},d(n){n&&S(t)}}}function cs(e){let t,n;return t=new ot({props:{size:"sm",$$slots:{default:[fs]},$$scope:{ctx:e}}}),t.$on("click",e[1]),{c(){V(t.$$.fragment)},m(r,i){z(t,r,i),n=!0},p(r,[i]){const o={};i&9&&(o.$$scope={dirty:i,ctx:r}),t.$set(o)},i(r){n||(x(t.$$.fragment,r),n=!0)},o(r){D(t.$$.fragment,r),n=!1},d(r){X(t,r)}}}function _s(e,t,n){let{code:r}=t,i="copy";function o(){navigator.clipboard.writeText(r),n(0,i="copied!"),setTimeout(()=>{n(0,i="copy")},1500)}return e.$$set=s=>{"code"in s&&n(2,r=s.code)},[i,o,r]}class eo extends K{constructor(t){super(),$(this,t,_s,cs,ee,{code:2})}}var ps="./assets/python.20e39c92.svg",ds="./assets/javascript.850cf94b.svg";function zt(e,t,n){const r=e.slice();return r[13]=t[n],r[15]=n,r}function Xt(e,t,n){const r=e.slice();return r[13]=t[n],r[15]=n,r}function Bt(e,t,n){const r=e.slice();return r[17]=t[n][0],r[18]=t[n][1],r}function qt(e){let t,n,r,i,o=e[17]+"",s,a,f,l,u;function _(){return e[10](e[17])}return{c(){t=w("li"),n=w("img"),i=L(),s=P(o),a=L(),Pe(n.src,r=e[18])||E(n,"src",r),E(n,"alt",""),E(n,"class","svelte-dks0o4"),E(t,"class",f="snippet "+(e[0]===e[17]?"current-lang":"inactive-lang")+" svelte-dks0o4")},m(c,g){I(c,t,g),h(t,n),h(t,i),h(t,s),h(t,a),l||(u=_e(t,"click",_),l=!0)},p(c,g){e=c,g&1&&f!==(f="snippet "+(e[0]===e[17]?"current-lang":"inactive-lang")+" svelte-dks0o4")&&E(t,"class",f)},d(c){c&&S(t),l=!1,u()}}}function ms(e){let t;return{c(){t=w("pre"),t.textContent="Hello World",E(t,"class","client svelte-dks0o4")},m(n,r){I(n,t,r)},p:re,i:re,o:re,d(n){n&&S(t)}}}function hs(e){let t,n,r,i,o,s,a,f,l=e[5]+"run/"+e[1].api_name,u,_,c,g,p,m,d;n=new eo({props:{code:e[8]?.innerText}});let C=e[6][e[3]],T=[];for(let y=0;y<C.length;y+=1)T[y]=Ht(zt(e,C,y));return{c(){t=w("div"),V(n.$$.fragment),r=L(),i=w("div"),o=w("pre"),s=P("const response = await fetch("),a=w("span"),f=P('"'),u=P(l),_=P('"'),c=P(`, {
	method: "POST",
	headers: { "Content-Type": "application/json" },
	body: JSON.stringify({
		data: [`);for(let y=0;y<T.length;y+=1)T[y].c();g=P(`
		]
	})
});

const data = await `),p=w("span"),p.textContent="response",m=P(`.json();
`),E(t,"class","copy svelte-dks0o4"),E(a,"class","token string svelte-dks0o4"),E(p,"class","token string svelte-dks0o4"),E(o,"class","svelte-dks0o4")},m(y,b){I(y,t,b),z(n,t,null),I(y,r,b),I(y,i,b),h(i,o),h(o,s),h(o,a),h(a,f),h(a,u),h(a,_),h(o,c);for(let A=0;A<T.length;A+=1)T[A].m(o,null);h(o,g),h(o,p),h(o,m),e[12](i),d=!0},p(y,b){const A={};if(b&256&&(A.code=y[8]?.innerText),n.$set(A),(!d||b&34)&&l!==(l=y[5]+"run/"+y[1].api_name)&&B(u,l),b&92){C=y[6][y[3]];let O;for(O=0;O<C.length;O+=1){const J=zt(y,C,O);T[O]?T[O].p(J,b):(T[O]=Ht(J),T[O].c(),T[O].m(o,g))}for(;O<T.length;O+=1)T[O].d(1);T.length=C.length}},i(y){d||(x(n.$$.fragment,y),d=!0)},o(y){D(n.$$.fragment,y),d=!1},d(y){y&&S(t),X(n),y&&S(r),y&&S(i),ye(T,y),e[12](null)}}}function gs(e){let t,n,r,i,o,s,a,f,l=e[5]+"run/"+e[1].api_name,u,_,c,g,p,m,d;n=new eo({props:{code:e[7]?.innerText}});let C=e[6][e[3]],T=[];for(let y=0;y<C.length;y+=1)T[y]=Wt(Xt(e,C,y));return{c(){t=w("div"),V(n.$$.fragment),r=L(),i=w("div"),o=w("pre"),s=P(`import requests

response = requests.post(`),a=w("span"),f=P('"'),u=P(l),_=P('"'),c=P(`, json={
	"data": [`);for(let y=0;y<T.length;y+=1)T[y].c();g=P(`
	]
}).json()

data = response[`),p=w("span"),p.textContent='"data"',m=P("]"),E(t,"class","copy svelte-dks0o4"),E(a,"class","token string svelte-dks0o4"),E(p,"class","token string svelte-dks0o4"),E(o,"class","svelte-dks0o4")},m(y,b){I(y,t,b),z(n,t,null),I(y,r,b),I(y,i,b),h(i,o),h(o,s),h(o,a),h(a,f),h(a,u),h(a,_),h(o,c);for(let A=0;A<T.length;A+=1)T[A].m(o,null);h(o,g),h(o,p),h(o,m),e[11](i),d=!0},p(y,b){const A={};if(b&128&&(A.code=y[7]?.innerText),n.$set(A),(!d||b&34)&&l!==(l=y[5]+"run/"+y[1].api_name)&&B(u,l),b&92){C=y[6][y[3]];let O;for(O=0;O<C.length;O+=1){const J=Xt(y,C,O);T[O]?T[O].p(J,b):(T[O]=Wt(J),T[O].c(),T[O].m(o,g))}for(;O<T.length;O+=1)T[O].d(1);T.length=C.length}},i(y){d||(x(n.$$.fragment,y),d=!0)},o(y){D(n.$$.fragment,y),d=!1},d(y){y&&S(t),X(n),y&&S(r),y&&S(i),ye(T,y),e[11](null)}}}function Ht(e){let t,n,r,i=ve(e[13],e[4][e[2][e[3]].inputs[e[15]]].documentation?.type?.input_payload||e[4][e[2][e[3]].inputs[e[15]]].documentation?.type?.payload,"js")+"",o,s;return{c(){t=w("br"),n=P("			"),r=w("span"),o=P(i),s=P(","),E(r,"class","token string svelte-dks0o4")},m(a,f){I(a,t,f),I(a,n,f),I(a,r,f),h(r,o),I(a,s,f)},p(a,f){f&92&&i!==(i=ve(a[13],a[4][a[2][a[3]].inputs[a[15]]].documentation?.type?.input_payload||a[4][a[2][a[3]].inputs[a[15]]].documentation?.type?.payload,"js")+"")&&B(o,i)},d(a){a&&S(t),a&&S(n),a&&S(r),a&&S(s)}}}function Wt(e){let t,n,r,i=ve(e[13],e[4][e[2][e[3]].inputs[e[15]]].documentation?.type?.input_payload||e[4][e[2][e[3]].inputs[e[15]]].documentation?.type?.payload,"py")+"",o,s;return{c(){t=w("br"),n=P("		"),r=w("span"),o=P(i),s=P(","),E(r,"class","token string svelte-dks0o4")},m(a,f){I(a,t,f),I(a,n,f),I(a,r,f),h(r,o),I(a,s,f)},p(a,f){f&92&&i!==(i=ve(a[13],a[4][a[2][a[3]].inputs[a[15]]].documentation?.type?.input_payload||a[4][a[2][a[3]].inputs[a[15]]].documentation?.type?.payload,"py")+"")&&B(o,i)},d(a){a&&S(t),a&&S(n),a&&S(r),a&&S(s)}}}function vs(e){let t,n,r,i;const o=[gs,hs,ms],s=[];function a(f,l){return f[0]==="python"?0:f[0]==="javascript"?1:f[0]==="gradio client"?2:-1}return~(n=a(e))&&(r=s[n]=o[n](e)),{c(){t=w("code"),r&&r.c(),E(t,"class","svelte-dks0o4")},m(f,l){I(f,t,l),~n&&s[n].m(t,null),i=!0},p(f,l){let u=n;n=a(f),n===u?~n&&s[n].p(f,l):(r&&(oe(),D(s[u],1,1,()=>{s[u]=null}),ae()),~n?(r=s[n],r?r.p(f,l):(r=s[n]=o[n](f),r.c()),x(r,1),r.m(t,null)):r=null)},i(f){i||(x(r),i=!0)},o(f){D(r),i=!1},d(f){f&&S(t),~n&&s[n].d()}}}function bs(e){let t,n,r,i,o,s,a=e[9],f=[];for(let l=0;l<a.length;l+=1)f[l]=qt(Bt(e,a,l));return o=new at({props:{$$slots:{default:[vs]},$$scope:{ctx:e}}}),{c(){t=w("h4"),t.innerHTML=`<svg width="1em" height="1em" viewBox="0 0 24 24" class="svelte-dks0o4"><path fill="currentColor" d="m8 18l-6-6l6-6l1.425 1.425l-4.6 4.6L9.4 16.6Zm8 0l-1.425-1.425l4.6-4.6L14.6 7.4L16 6l6 6Z"></path></svg>
	Code snippets`,n=L(),r=w("div");for(let l=0;l<f.length;l+=1)f[l].c();i=L(),V(o.$$.fragment),E(t,"class","svelte-dks0o4"),E(r,"class","snippets svelte-dks0o4")},m(l,u){I(l,t,u),I(l,n,u),I(l,r,u);for(let _=0;_<f.length;_+=1)f[_].m(r,null);I(l,i,u),z(o,l,u),s=!0},p(l,[u]){if(u&513){a=l[9];let c;for(c=0;c<a.length;c+=1){const g=Bt(l,a,c);f[c]?f[c].p(g,u):(f[c]=qt(g),f[c].c(),f[c].m(r,null))}for(;c<f.length;c+=1)f[c].d(1);f.length=a.length}const _={};u&2097663&&(_.$$scope={dirty:u,ctx:l}),o.$set(_)},i(l){s||(x(o.$$.fragment,l),s=!0)},o(l){D(o.$$.fragment,l),s=!1},d(l){l&&S(t),l&&S(n),l&&S(r),ye(f,l),l&&S(i),X(o,l)}}}function ys(e,t,n){let{dependency:r}=t,{dependencies:i}=t,{dependency_index:o}=t,{instance_map:s}=t,{root:a}=t,{dependency_inputs:f}=t,{current_language:l}=t;const u=[["python",ps],["javascript",ds]];let _,c;const g=d=>n(0,l=d);function p(d){we[d?"unshift":"push"](()=>{_=d,n(7,_)})}function m(d){we[d?"unshift":"push"](()=>{c=d,n(8,c)})}return e.$$set=d=>{"dependency"in d&&n(1,r=d.dependency),"dependencies"in d&&n(2,i=d.dependencies),"dependency_index"in d&&n(3,o=d.dependency_index),"instance_map"in d&&n(4,s=d.instance_map),"root"in d&&n(5,a=d.root),"dependency_inputs"in d&&n(6,f=d.dependency_inputs),"current_language"in d&&n(0,l=d.current_language)},[l,r,i,o,s,a,f,_,c,u,g,p,m]}class Es extends K{constructor(t){super(),$(this,t,ys,bs,ee,{dependency:1,dependencies:2,dependency_index:3,instance_map:4,root:5,dependency_inputs:6,current_language:0})}}function Zt(e,t,n){const r=e.slice();return r[11]=t[n],r[13]=n,r}function Ss(e){let t,n;return t=new Bl({props:{root:e[0]}}),t.$on("close",e[10]),{c(){V(t.$$.fragment)},m(r,i){z(t,r,i),n=!0},p(r,i){const o={};i&1&&(o.root=r[0]),t.$set(o)},i(r){n||(x(t.$$.fragment,r),n=!0)},o(r){D(t.$$.fragment,r),n=!1},d(r){X(t,r)}}}function Ts(e){let t,n,r,i,o;n=new Zl({props:{root:e[0],active_api_count:e[7]}}),n.$on("close",e[9]);let s=e[2],a=[];for(let l=0;l<s.length;l+=1)a[l]=Yt(Zt(e,s,l));const f=l=>D(a[l],1,1,()=>{a[l]=null});return{c(){t=w("div"),V(n.$$.fragment),r=L(),i=w("div");for(let l=0;l<a.length;l+=1)a[l].c();E(t,"class","banner-wrap  svelte-1kj0q1l"),E(i,"class","docs-wrap svelte-1kj0q1l")},m(l,u){I(l,t,u),z(n,t,null),I(l,r,u),I(l,i,u);for(let _=0;_<a.length;_+=1)a[_].m(i,null);o=!0},p(l,u){const _={};if(u&1&&(_.root=l[0]),n.$set(_),u&383){s=l[2];let c;for(c=0;c<s.length;c+=1){const g=Zt(l,s,c);a[c]?(a[c].p(g,u),x(a[c],1)):(a[c]=Yt(g),a[c].c(),x(a[c],1),a[c].m(i,null))}for(oe(),c=s.length;c<a.length;c+=1)f(c);ae()}},i(l){if(!o){x(n.$$.fragment,l);for(let u=0;u<s.length;u+=1)x(a[u]);o=!0}},o(l){D(n.$$.fragment,l),a=a.filter(Boolean);for(let u=0;u<a.length;u+=1)D(a[u]);o=!1},d(l){l&&S(t),X(n),l&&S(r),l&&S(i),ye(a,l)}}}function Jt(e){let t,n,r,i,o,s,a,f,l,u;return n=new es({props:{dependency_index:e[13],root:e[0],api_name:e[11].api_name}}),i=new os({props:{dependency:e[11],dependency_failures:e[5],dependency_index:e[13],dependency_inputs:e[6],instance_map:e[1],run:e[8]}}),s=new us({props:{instance_map:e[1],dependency:e[11],dependency_index:e[13],is_running:e[3],dependency_outputs:e[4],root:e[0]}}),f=new Es({props:{instance_map:e[1],dependency:e[11],dependency_index:e[13],current_language:Is,root:e[0],dependency_inputs:e[6],dependencies:e[2]}}),{c(){t=w("div"),V(n.$$.fragment),r=L(),V(i.$$.fragment),o=L(),V(s.$$.fragment),a=L(),V(f.$$.fragment),l=L(),E(t,"class","endpoint svelte-1kj0q1l")},m(_,c){I(_,t,c),z(n,t,null),h(t,r),z(i,t,null),h(t,o),z(s,t,null),h(t,a),z(f,t,null),h(t,l),u=!0},p(_,c){const g={};c&1&&(g.root=_[0]),c&4&&(g.api_name=_[11].api_name),n.$set(g);const p={};c&4&&(p.dependency=_[11]),c&32&&(p.dependency_failures=_[5]),c&2&&(p.instance_map=_[1]),i.$set(p);const m={};c&2&&(m.instance_map=_[1]),c&4&&(m.dependency=_[11]),c&8&&(m.is_running=_[3]),c&16&&(m.dependency_outputs=_[4]),c&1&&(m.root=_[0]),s.$set(m);const d={};c&2&&(d.instance_map=_[1]),c&4&&(d.dependency=_[11]),c&1&&(d.root=_[0]),c&4&&(d.dependencies=_[2]),f.$set(d)},i(_){u||(x(n.$$.fragment,_),x(i.$$.fragment,_),x(s.$$.fragment,_),x(f.$$.fragment,_),u=!0)},o(_){D(n.$$.fragment,_),D(i.$$.fragment,_),D(s.$$.fragment,_),D(f.$$.fragment,_),u=!1},d(_){_&&S(t),X(n),X(i),X(s),X(f)}}}function Yt(e){let t,n,r=e[11].api_name&&Jt(e);return{c(){r&&r.c(),t=ne()},m(i,o){r&&r.m(i,o),I(i,t,o),n=!0},p(i,o){i[11].api_name?r?(r.p(i,o),o&4&&x(r,1)):(r=Jt(i),r.c(),x(r,1),r.m(t.parentNode,t)):r&&(oe(),D(r,1,1,()=>{r=null}),ae())},i(i){n||(x(r),n=!0)},o(i){D(r),n=!1},d(i){r&&r.d(i),i&&S(t)}}}function ws(e){let t,n,r,i;const o=[Ts,Ss],s=[];function a(f,l){return f[7]?0:1}return t=a(e),n=s[t]=o[t](e),{c(){n.c(),r=ne()},m(f,l){s[t].m(f,l),I(f,r,l),i=!0},p(f,[l]){n.p(f,l)},i(f){i||(x(n),i=!0)},o(f){D(n),i=!1},d(f){s[t].d(f),f&&S(r)}}}let Is="python";function As(e,t,n){let{instance_map:r}=t,{dependencies:i}=t,{root:o}=t;o===""&&(o=location.protocol+"//"+location.host+location.pathname),o.endsWith("/")||(o+="/");let s=!1,a=i.map(p=>p.inputs.map(m=>{let d=r[m].documentation?.example_data;return d===void 0?d="":typeof d=="object"&&(d=JSON.stringify(d)),d})),f=i.map(p=>new Array(p.outputs.length)),l=i.map(p=>new Array(p.inputs.length).fill(!1)),u=i.filter(p=>p.api_name).length;const _=async p=>{n(3,s=!0);let m=i[p],d=0;try{var C=a[p].map((b,A)=>{d=A;let O=r[m.inputs[A]];return b=ve(b,O.documentation?.type?.input_payload||O.documentation?.type?.payload),n(5,l[p][d]=!1,l),b})}catch{n(5,l[p][d]=!0,l),n(3,s=!1);return}let[T,y]=await yo(`${o}/run/${m.api_name}`,{data:C});n(3,s=!1),y==200?n(4,f[p]=T.data.map((b,A)=>{let O=r[m.outputs[A]];return ve(b,O.documentation?.type?.response_object||O.documentation?.type?.payload,"js")}),f):n(5,l[p]=new Array(l[p].length).fill(!0),l)};on(()=>(document.body.style.overflow="hidden",()=>{document.body.style.overflow="auto"}));function c(p){je.call(this,e,p)}function g(p){je.call(this,e,p)}return e.$$set=p=>{"instance_map"in p&&n(1,r=p.instance_map),"dependencies"in p&&n(2,i=p.dependencies),"root"in p&&n(0,o=p.root)},[o,r,i,s,f,l,a,u,_,c,g]}class Ps extends K{constructor(t){super(),$(this,t,As,ws,ee,{instance_map:1,dependencies:2,root:0})}}var Cs="./assets/logo.0a070fcf.svg",Os="./static/img/api-logo.svg";function Qt(e){return document.title=e[3],{c:re,m:re,d:re}}function Kt(e){let t,n;return{c(){t=w("script"),t.async=!0,t.defer=!0,Pe(t.src,n="https://www.googletagmanager.com/gtag/js?id=UA-156449732-1")||E(t,"src",n)},m(r,i){I(r,t,i)},d(r){r&&S(t)}}}function $t(e){let t,n;return t=new Ki({props:{has_modes:e[11].has_modes,component:e[11].component,id:e[11].id,props:e[11].props,children:e[11].children,dynamic_ids:e[16],instance_map:e[13],root:e[1],target:e[5],theme:e[10]}}),t.$on("mount",e[17]),t.$on("destroy",e[24]),{c(){V(t.$$.fragment)},m(r,i){z(t,r,i),n=!0},p(r,i){const o={};i[0]&2048&&(o.has_modes=r[11].has_modes),i[0]&2048&&(o.component=r[11].component),i[0]&2048&&(o.id=r[11].id),i[0]&2048&&(o.props=r[11].props),i[0]&2048&&(o.children=r[11].children),i[0]&8192&&(o.instance_map=r[13]),i[0]&2&&(o.root=r[1]),i[0]&32&&(o.target=r[5]),i[0]&1024&&(o.theme=r[10]),t.$set(o)},i(r){n||(x(t.$$.fragment,r),n=!0)},o(r){D(t.$$.fragment,r),n=!1},d(r){X(t,r)}}}function en(e){let t,n,r,i,o,s,a=e[6]&&tn(e);return{c(){t=w("footer"),a&&a.c(),n=L(),r=w("a"),i=P(`Built with Gradio
				`),o=w("img"),Pe(o.src,s=Cs)||E(o,"src",s),E(o,"alt","logo"),E(o,"class","svelte-1lyswbr"),E(r,"href","https://gradio.app"),E(r,"class","built-with svelte-1lyswbr"),E(r,"target","_blank"),E(r,"rel","noreferrer"),E(t,"class","svelte-1lyswbr")},m(f,l){I(f,t,l),a&&a.m(t,null),h(t,n),h(t,r),h(r,i),h(r,o)},p(f,l){f[6]?a?a.p(f,l):(a=tn(f),a.c(),a.m(t,n)):a&&(a.d(1),a=null)},d(f){f&&S(t),a&&a.d()}}}function tn(e){let t,n,r,i,o,s,a,f;return{c(){t=w("button"),n=P("Use via API "),r=w("img"),o=L(),s=w("div"),s.textContent="\xB7",Pe(r.src,i=Os)||E(r,"src",i),E(r,"alt",""),E(r,"class","svelte-1lyswbr"),E(t,"class","show-api svelte-1lyswbr"),E(s,"class","svelte-1lyswbr")},m(l,u){I(l,t,u),h(t,n),h(t,r),I(l,o,u),I(l,s,u),a||(f=_e(t,"click",e[25]),a=!0)},p:re,d(l){l&&S(t),l&&S(o),l&&S(s),a=!1,f()}}}function nn(e){let t,n,r,i,o,s,a,f;return o=new Ps({props:{instance_map:e[13],dependencies:e[2],root:e[1]}}),o.$on("close",e[27]),{c(){t=w("div"),n=w("div"),r=L(),i=w("div"),V(o.$$.fragment),E(n,"class","backdrop svelte-1lyswbr"),E(i,"class","api-docs-wrap  svelte-1lyswbr"),E(t,"class","api-docs svelte-1lyswbr")},m(l,u){I(l,t,u),h(t,n),h(t,r),h(t,i),z(o,i,null),s=!0,a||(f=_e(n,"click",e[26]),a=!0)},p(l,u){const _={};u[0]&8192&&(_.instance_map=l[13]),u[0]&4&&(_.dependencies=l[2]),u[0]&2&&(_.root=l[1]),o.$set(_)},i(l){s||(x(o.$$.fragment,l),s=!0)},o(l){D(o.$$.fragment,l),s=!1},d(l){l&&S(t),X(o),a=!1,f()}}}function ks(e){let t,n,r,i,o,s,a,f,l,u=e[8]&&Qt(e),_=e[4]&&Kt(),c=e[0]&&$t(e),g=e[7]&&en(e),p=e[12]&&e[0]&&nn(e);return{c(){u&&u.c(),t=ne(),_&&_.c(),n=ne(),r=L(),i=w("div"),o=w("div"),c&&c.c(),s=L(),g&&g.c(),a=L(),p&&p.c(),f=ne(),E(o,"class","contain"),ie(o,"flex-grow",e[9]?"1":"auto",!1),E(i,"class","wrap svelte-1lyswbr"),ie(i,"min-height",e[9]?"100%":"auto",!1)},m(m,d){u&&u.m(document.head,null),h(document.head,t),_&&_.m(document.head,null),h(document.head,n),I(m,r,d),I(m,i,d),h(i,o),c&&c.m(o,null),h(i,s),g&&g.m(i,null),I(m,a,d),p&&p.m(m,d),I(m,f,d),l=!0},p(m,d){m[8]?u||(u=Qt(m),u.c(),u.m(t.parentNode,t)):u&&(u.d(1),u=null),m[4]?_||(_=Kt(),_.c(),_.m(n.parentNode,n)):_&&(_.d(1),_=null),m[0]?c?(c.p(m,d),d[0]&1&&x(c,1)):(c=$t(m),c.c(),x(c,1),c.m(o,null)):c&&(oe(),D(c,1,1,()=>{c=null}),ae()),d[0]&512&&ie(o,"flex-grow",m[9]?"1":"auto",!1),m[7]?g?g.p(m,d):(g=en(m),g.c(),g.m(i,null)):g&&(g.d(1),g=null),d[0]&512&&ie(i,"min-height",m[9]?"100%":"auto",!1),m[12]&&m[0]?p?(p.p(m,d),d[0]&4097&&x(p,1)):(p=nn(m),p.c(),x(p,1),p.m(f.parentNode,f)):p&&(oe(),D(p,1,1,()=>{p=null}),ae())},i(m){l||(x(c),x(p),l=!0)},o(m){D(c),D(p),l=!1},d(m){u&&u.d(m),S(t),_&&_.d(m),S(n),m&&S(r),m&&S(i),c&&c.d(),g&&g.d(),m&&S(a),p&&p.d(m),m&&S(f)}}}function rn(e,t,n){let r=0;for(;;){const i=n[r];if(i===void 0)break;let o=0;for(;;){const s=i[t][o];if(s===void 0)break;if(s===e)return!0;o++}r++}return!1}function xs(e){return Array.isArray(e)&&e.length===0||e===""||e===0||!e}function Ls(e,t,n){let r;Ml();let{root:i}=t,{components:o}=t,{layout:s}=t,{dependencies:a}=t,{title:f="Gradio"}=t,{analytics_enabled:l=!1}=t,{target:u}=t,{autoscroll:_}=t,{show_api:c=!0}=t,{show_footer:g=!0}=t,{control_page_title:p=!1}=t,{app_mode:m}=t,{theme:d}=t,{app:C}=t,T=Eo();So(e,T,v=>n(23,r=v));let y={id:s.id,type:"column",props:{},has_modes:!1,instance:{},component:{}};o.push(y);const b=Object.getPrototypeOf(async function(){}).constructor;a.forEach(v=>{if(v.js){const k=v.backend_fn?v.inputs.length===1:v.outputs.length===1;try{v.frontend_fn=new b("__fn_args",`let result = await (${v.js})(...__fn_args);
					return ${k} ? [result] : result;`)}catch(R){console.error("Could not parse custom js method."),console.error(R)}}});let O=new URLSearchParams(window.location.search).get("view")==="api";const J=v=>{n(12,O=v);let k=new URLSearchParams(window.location.search);v?k.set("view","api"):k.delete("view"),history.replaceState(null,"","?"+k.toString())},ke=o.reduce((v,{id:k,props:R})=>{const N=rn(k,"inputs",a),H=rn(k,"outputs",a);return!N&&!H&&xs(R?.value)&&v.add(k),N&&v.add(k),v},new Set);let q=o.reduce((v,k)=>(v[k.id]=k,v),{});function W(v){return new Promise(async(k,R)=>{try{const N=await qa[v]();k({name:v,component:N})}catch(N){console.error("failed to load: "+v),console.error(N),R(N)}})}const le=new Set,te=new Map;async function ft(v){let k=q[v.id];const R=(await te.get(k.type)).component;k.component=R.Component,R.document&&(k.documentation=R.document(k.props)),R.modes&&R.modes.length>1&&(k.has_modes=!0),v.children&&(k.children=v.children.map(N=>q[N.id]),await Promise.all(v.children.map(N=>ft(N))))}o.forEach(async v=>{const k=W(v.type);le.add(k),te.set(v.type,k)});let{ready:Ve=!1}=t;Promise.all(Array.from(le)).then(()=>{ft(s).then(async()=>{n(0,Ve=!0)}).catch(v=>{console.error(v)})});function ct(v,k){const R=a[k].outputs;v.forEach((N,H)=>{if(typeof N=="object"&&N!==null&&N.__type__==="update"){for(const[ue,Y]of Object.entries(N))ue!=="__type__"&&n(13,q[R[H]].props[ue]=Y,q);n(11,y)}else n(13,q[R[H]].props.value=N,q)})}C.on("data",({data:v,fn_index:k})=>{ct(v,k);let R=T.get_status_for_fn(k);(R==="complete"||R==="error")&&a.forEach((N,H)=>{N.trigger_after===k&&(!N.trigger_only_on_success||R==="complete")&&ze(H,null)})}),C.on("status",({fn_index:v,...k})=>{T.update({...k,fn_index:v})});function _t(v,k,R){v?.props||(v.props={}),v.props[k]=R,n(11,y)}let se=[];const ze=(v,k)=>{let R=a[v];const N=T.get_status_for_fn(v);if(N==="pending"||N==="generating")return;R.cancels&&R.cancels.forEach(Y=>{C.cancel("/predict",Y)});let H={fn_index:v,data:R.inputs.map(Y=>q[Y].props.value),event_data:R.collects_event_data?k:null};R.frontend_fn?R.frontend_fn(H.data.concat(R.outputs.map(Y=>q[Y].props.value))).then(Y=>{R.backend_fn?(H.data=Y,ue()):ct(Y,v)}):R.backend_fn&&ue();function ue(){C.predict("/predict",H)}};async function to(){await wo();for(var v=u.getElementsByTagName("a"),k=0;k<v.length;k++)v[k].getAttribute("target")!=="_blank"&&v[k].setAttribute("target","_blank");a.forEach((R,N)=>{let{targets:H,trigger:ue,inputs:Y,outputs:lo}=R;const so=H.map(Q=>[Q,q[Q]]);H.length===0&&!se[N]?.includes(-1)&&ue==="load"&&lo.every(Q=>q?.[Q].instance)&&Y.every(Q=>q?.[Q].instance)&&(ze(N,null),se[N]=[-1]),so.filter(Q=>!!Q&&!!Q[1]).forEach(([Q,{instance:dt}])=>{se[N]?.includes(Q)||!dt||(dt?.$on(ue,uo=>{ze(N,uo.detail)}),se[N]||(se[N]=[]),se[N].push(Q))})})}function pt(v){se=se.map(k=>k.filter(R=>R!==v))}a.forEach((v,k)=>{T.register(k,v.inputs,v.outputs)});function no(v){for(const R in v){let N=v[R],H=a[N.fn_index];N.scroll_to_output=H.scroll_to_output,N.visible=H.show_progress,_t(q[R],"loading_status",N)}const k=T.get_inputs_to_update();for(const[R,N]of k)_t(q[R],"pending",N==="pending")}const ro=({detail:v})=>pt(v),io=()=>{J(!O)},oo=()=>{J(!1)},ao=()=>{J(!1)};return e.$$set=v=>{"root"in v&&n(1,i=v.root),"components"in v&&n(19,o=v.components),"layout"in v&&n(20,s=v.layout),"dependencies"in v&&n(2,a=v.dependencies),"title"in v&&n(3,f=v.title),"analytics_enabled"in v&&n(4,l=v.analytics_enabled),"target"in v&&n(5,u=v.target),"autoscroll"in v&&n(21,_=v.autoscroll),"show_api"in v&&n(6,c=v.show_api),"show_footer"in v&&n(7,g=v.show_footer),"control_page_title"in v&&n(8,p=v.control_page_title),"app_mode"in v&&n(9,m=v.app_mode),"theme"in v&&n(10,d=v.theme),"app"in v&&n(22,C=v.app),"ready"in v&&n(0,Ve=v.ready)},e.$$.update=()=>{e.$$.dirty[0]&2097152&&To.update(v=>({...v,autoscroll:_})),e.$$.dirty[0]&8388608&&no(r)},[Ve,i,a,f,l,u,c,g,p,m,d,y,O,q,T,J,ke,to,pt,o,s,_,C,r,ro,io,oo,ao]}class Rs extends K{constructor(t){super(),$(this,t,Ls,ks,ee,{root:1,components:19,layout:20,dependencies:2,title:3,analytics_enabled:4,target:5,autoscroll:21,show_api:6,show_footer:7,control_page_title:8,app_mode:9,theme:10,app:22,ready:0},null,[-1,-1])}}var Ms=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:Rs});export{Ms as B,Ds as X};
//# sourceMappingURL=Blocks.5efe22d4.js.map