PageSourceSearch

https://sunilgopal-musiclm.hf.space/assets/Index-p668Ffoz.js

js sunilgopal-musiclm.hf.space collected 2026-10-03 10:21:34 UTC 156,940 bytes, 16 lines download raw bytes

1const __vite__fileDeps=["./Blocks-BPGBf-rO.js","./index-BKm0EBOh.js","./index-BLavTiqJ.css","./Button-6TkjCjn0.js","./Button-CTZL5Nos.css","./Blocks-yLdzXwzS.css","./Login-BnLWozZj.js","./Index-DDCF2BFd.js","./Index-B0JJ6p9c.css","./Textbox-OklDBmQP.js","./BlockTitle-yhl9OFRY.js","./Info-DpYOu-hg.js","./Check-Ck0iADAu.js","./Copy-ZPOKSMtK.js","./Textbox-D8IAzrZj.css","./Index-7lbRtq1n.js","./Index-CptIZeFZ.css","./Login-BCwzjozv.css","./Example-Cj3ii62O.css"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
2import{m as Bs,a as bo,_ as vo}from"./index-BKm0EBOh.js";function nt(){}const uh=e=>e;function Us(e){return e()}function Fs(e){e.forEach(Us)}function Gs(e){return typeof e=="function"}function js(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function yr(e,...t){if(e==null){for(const o of t)o(void 0);return nt}const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function ch(e){let t;return yr(e,n=>t=n)(),t}function fh(e){const t=typeof e=="string"&&e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);return t?[parseFloat(t[1]),t[2]||"px"]:[e,"px"]}const Er=typeof window<"u";let yo=Er?()=>window.performance.now():()=>Date.now(),wr=Er?e=>requestAnimationFrame(e):nt;const mt=new Set;function Tr(e){mt.forEach(t=>{t.c(e)||(mt.delete(t),t.f())}),mt.size!==0&&wr(Tr)}function zs(e){let t;return mt.size===0&&wr(Tr),{promise:new Promise(n=>{mt.add(t={c:e,f:n})}),abort(){mt.delete(t)}}}const ft=[];function Vs(e,t){return{subscribe:yt(e,t).subscribe}}function yt(e,t=nt){let n;const o=new Set;function r(s){if(js(e,s)&&(e=s,n)){const c=!ft.length;for(const l of o)l[1](),ft.push(l,e);if(c){for(let l=0;l<ft.length;l+=2)ft[l][0](ft[l+1]);ft.length=0}}}function i(s){r(s(e))}function a(s,c=nt){const l=[s,c];return o.add(l),o.size===1&&(n=t(r,i)||nt),s(e),()=>{o.delete(l),o.size===0&&n&&(n(),n=null)}}return{set:r,update:i,subscribe:a}}function Et(e,t,n){const o=!Array.isArray(e),r=o?[e]:e;if(!r.every(Boolean))throw new Error("derived() expects stores as input, got a falsy value");const i=t.length<2;return Vs(n,(a,s)=>{let c=!1;const l=[];let u=0,d=nt;const h=()=>{if(u)return;d();const E=t(o?l[0]:l,a,s);i?a(E):d=Gs(E)?E:nt}
vendor: 4,828 bytes, line 2
2,p=r.map((E,k)=>yr(E,y=>{l[k]=y,u&=~(1<<k),c&&h()},()=>{u|=1<<k}));return c=!0,h(),function(){Fs(p),d(),c=!1}})}const qs="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='10'%20height='10'%20fill='none'%3e%3cpath%20fill='%23FF3270'%20d='M1.93%206.03v2.04h2.04V6.03H1.93Z'/%3e%3cpath%20fill='%23861FFF'%20d='M6.03%206.03v2.04h2.04V6.03H6.03Z'/%3e%3cpath%20fill='%23097EFF'%20d='M1.93%201.93v2.04h2.04V1.93H1.93Z'/%3e%3cpath%20fill='%23000'%20fill-rule='evenodd'%20d='M.5%201.4c0-.5.4-.9.9-.9h3.1a.9.9%200%200%201%20.87.67A2.44%202.44%200%200%201%209.5%202.95c0%20.65-.25%201.24-.67%201.68.39.1.67.46.67.88v3.08c0%20.5-.4.91-.9.91H1.4a.9.9%200%200%201-.9-.9V1.4Zm1.43.53v2.04h2.04V1.93H1.93Zm0%206.14V6.03h2.04v2.04H1.93Zm4.1%200V6.03h2.04v2.04H6.03Zm0-5.12a1.02%201.02%200%201%201%202.04%200%201.02%201.02%200%200%201-2.04%200Z'%20clip-rule='evenodd'/%3e%3cpath%20fill='%23FFD702'%20d='M7.05%201.93a1.02%201.02%200%201%200%200%202.04%201.02%201.02%200%200%200%200-2.04Z'/%3e%3c/svg%3e";var dh=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ws(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function hh(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function o(){return this instanceof o?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(n,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),n}var Xs=function(t){return Zs(t)&&!Ys(t)};function Zs(e){return!!e&&typeof e=="object"}function Ys(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Qs(e)}var $s=typeof Symbol=="function"&&Symbol.for,Js=$s?Symbol.for("react.element"):60103;function Qs(e){return e.$$typeof===Js}function Ks(e){return Array.isArray(e)?[]:{}}function It(e,t){return t.clone!==!1&&t.isMergeableObject(e)?pt(Ks(e),e,t):e}function el(e,t,n){return e.concat(t).map(function(o){return It(o,n)})}function tl(e,t){if(!t.customMerge)return pt;var n=t.customMerge(e);return typeof n=="function"?n:pt}function nl(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function Eo(e){return Object.keys(e).concat(nl(e))}function Sr(e,t){try{return t in e}catch{return!1}}function ol(e,t){return Sr(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function rl(e,t,n){var o={};return n.isMergeableObject(e)&&Eo(e).forEach(function(r){o[r]=It(e[r],n)}),Eo(t).forEach(function(r){ol(e,r)||(Sr(e,r)&&n.isMergeableObject(t[r])?o[r]=tl(r,n)(e[r],t[r],n):o[r]=It(t[r],n))}),o}function pt(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||el,n.isMergeableObject=n.isMergeableObject||Xs,n.cloneUnlessOtherwiseSpecified=It;var o=Array.isArray(t),r=Array.isArray(e),i=o===r;return i?o?n.arrayMerge(e,t,n):rl(e,t,n):It(t,n)}pt.all=function(t,n){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(o,r){return pt(o,r,n)},{})};var il=pt,al=il;const sl=Ws(al);var Dn=function(e,t){return Dn=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,o){n.__proto__=o}||function(n,o){for(var r in o)Object.prototype.hasOwnProperty.call(o,r)&&(n[r]=o[r])},Dn(e,t)};function un(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Dn(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}var I=function(){return I=Object.assign||function(t){for(var n,o=1,r=arguments.length;o<r;o++){n=arguments[o];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},I.apply(this,arguments)};function ll(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var r=0,o=Object.getOwnPropertySymbols(e);r<o.length;r++)t.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(e,o[r])&&(n[o[r]]=e[o[r]]);return n}function wn(e,t,n){if(n||arguments.length===2)for(var o=0,r=t.length,i;o<r;o++)(i||!(o in t))&&(i||(i=Array.prototype.slice.call(t,0,o)),i[o]=t[o]);return e.concat(i||Array.prototype.slice.call(t))}var O;(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_
vendor: 8,949 bytes, line 2
2NUMBER_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"})(O||(O={}));var G;(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"})(G||(G={}));var gt;(function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"})(gt||(gt={}));function wo(e){return e.type===G.literal}function ul(e){return e.type===G.argument}function Ar(e){return e.type===G.number}function xr(e){return e.type===G.date}function kr(e){return e.type===G.time}function Cr(e){return e.type===G.select}function Or(e){return e.type===G.plural}function cl(e){return e.type===G.pound}function Lr(e){return e.type===G.tag}function Pr(e){return!!(e&&typeof e=="object"&&e.type===gt.number)}function Bn(e){return!!(e&&typeof e=="object"&&e.type===gt.dateTime)}var Ir=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,fl=/(?:[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 dl(e){var t={};return e.replace(fl,function(n){var o=n.length;switch(n[0]){case"G":t.era=o===4?"long":o===5?"narrow":"short";break;case"y":t.year=o===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"][o-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":t.day=["numeric","2-digit"][o-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=o===4?"long":o===5?"narrow":"short";break;case"e":if(o<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][o-4];break;case"c":if(o<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");t.weekday=["short","long","narrow","short"][o-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"][o-1];break;case"H":t.hourCycle="h23",t.hour=["numeric","2-digit"][o-1];break;case"K":t.hourCycle="h11",t.hour=["numeric","2-digit"][o-1];break;case"k":t.hourCycle="h24",t.hour=["numeric","2-digit"][o-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"][o-1];break;case"s":t.second=["numeric","2-digit"][o-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":t.timeZoneName=o<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 hl=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;function _l(e){if(e.length===0)throw new Error("Number skeleton cannot be empty");for(var t=e.split(hl).filter(function(h){return h.length>0}),n=[],o=0,r=t;o<r.length;o++){var i=r[o],a=i.split("/");if(a.length===0)throw new Error("Invalid number skeleton");for(var s=a[0],c=a.slice(1),l=0,u=c;l<u.length;l++){var d=u[l];if(d.length===0)throw new Error("Invalid number skeleton")}n.push({stem:s,options:c})}return n}function ml(e){return e.replace(/^(.*?)-/,"")}var To=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Nr=/^(@+)?(\+|#+)?[rs]?$/g,pl=/(\*)(0+)|(#+)(0+)|(0+)/g,Mr=/^(0+)$/;function So(e){var t={};return e[e.length-1]==="r"?t.roundingPriority="morePrecision":e[e.length-1]==="s"&&(t.roundingPriority="lessPrecision"),e.replace(Nr,function(n,o,r){return typeof r!="string"?(t.minimumSignificantDigits=o.length,t.maximumSignificantDigits=o.length):r==="+"?t.minimumSignificantDigits=o.length:o[0]==="#"?t.maximumSignificantDigits=o.length:(t.minimumSignificantDigits=o.length,t.maximumSignificantDigits=o.length+(typeof r=="string"?r.length:0)),""}),t}function Rr(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 gl(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)),!Mr.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ao(e){var t={},n=Rr(e);return n||t}function bl(e){for(var t={},n=0,o=e;n<o.length;n++){var r=o[n];switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.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=ml(r.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=I(I(I({},t),{notation:"scientific"}),r.options.reduce(function(c,l){return I(I({},c),Ao(l))},{}));continue;case"engineering":t=I(I(I({},t),{notation:"engineering"}),r.options.reduce(function(c,l){return I(I({},c),Ao(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(r.options[0]);continue;case"rounding-mode-floor":t.roundingMode="floor";continue;case"rounding-mode-ceiling":t.roundingMode="ceil";continue;case"rounding-mode-down":t.roundingMode="trunc";continue;case"rounding-mode-up":t.roundingMode="expand";continue;case"rounding-mode-half-even":t.roundingMode="halfEven";continue;case"rounding-mode-half-down":t.roundingMode="halfTrunc";continue;case"rounding-mode-half-up":t.roundingMode="halfExpand";continue;case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(pl,function(c,l,u,d,h,p){if(l)t.minimumIntegerDigits=u.length;else{if(d&&h)throw new Error("We currently do not support maximum integer digits");if(p)throw new Error("We currently do not support exact integer digits")}return""});continue}if(Mr.test(r.stem)){t.minimumIntegerDigits=r.stem.length;continue}if(To.test(r.stem)){if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(To,function(c,l,u,d,h,p){return u==="*"?t.minimumFractionDigits=l.length:d&&d[0]==="#"?t.maximumFractionDigits=d.length:h&&p?(t.minimumFractionDigits=h.length,t.maximumFractionDigits=h.length+p.length):(t.minimumFractionDigits=l.length,t.maximumFractionDigits=l.length),""});var i=r.options[0];i==="w"?t=I(I({}
vendor: 48,100 bytes, lines 2-6
2,t),{trailingZeroDisplay:"stripIfInteger"}):i&&(t=I(I({},t),So(i)));continue}if(Nr.test(r.stem)){t=I(I({},t),So(r.stem));continue}var a=Rr(r.stem);a&&(t=I(I({},t),a));var s=gl(r.stem);s&&(t=I(I({},t),s))}return t}var Vt={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]};function vl(e,t){for(var n="",o=0;o<e.length;o++){var r=e.charAt(o);if(r==="j"){for(var i=0;o+1<e.length&&e.charAt(o+1)===r;)i++,o++;var a=1+(i&1),s=i<2?1:3+(i>>1),c="a",l=yl(t);for((l=="H"||l=="k")&&(s=0);s-- >0;)n+=c;for(;a-- >0;)n=l+n}else r==="J"?n+="H":n+=r}return n}function yl(e){var t=e.hourCycle;if(t===void 0&&e.hourCycles&&e.hourCycles.length&&(t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var n=e.language,o;n!=="root"&&(o=e.maximize().region);var r=Vt[o||""]||Vt[n||""]||Vt["".concat(n,"-001")]||Vt["001"];return r[0]}var Tn,El=new RegExp("^".concat(Ir.source,"*")),wl=new RegExp("".concat(Ir.source,"*$"));function L(e,t){return{start:e,end:t}}var Tl=!!String.prototype.startsWith&&"_a".startsWith("a",1),Sl=!!String.fromCodePoint,Al=!!Object.fromEntries,xl=!!String.prototype.codePointAt,kl=!!String.prototype.trimStart,Cl=!!String.prototype.trimEnd,Ol=!!Number.isSafeInteger,Ll=Ol?Number.isSafeInteger:function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Un=!0;try{var Pl=Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Un=((Tn=Pl.exec("a"))===null||Tn===void 0?void 0:Tn[0])==="a"}catch{Un=!1}var xo=Tl?function(t,n,o){return t.startsWith(n,o)}:function(t,n,o){return t.slice(o,o+n.length)===n},Fn=Sl?String.fromCodePoint:function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];for(var o="",r=t.length,i=0,a;r>i;){if(a=t[i++],a>1114111)throw RangeError(a+" is not a valid code point");o+=a<65536?String.fromCharCode(a):String.fromCharCode(((a-=65536)>>10)+55296,a%1024+56320)}return o},ko=Al?Object.fromEntries:function(t){for(var n={},o=0,r=t;o<r.length;o++){var i=r[o],a=i[0],s=i[1];n[a]=s}return n},Hr=xl?function(t,n){return t.codePointAt(n)}:function(t,n){var o=t.length;if(!(n<0||n>=o)){var r=t.charCodeAt(n),i;return r<55296||r>56319||n+1===o||(i=t.charCodeAt(n+1))<56320||i>57343?r:(r-55296<<10)+(i-56320)+65536}},Il=kl?function(t){return t.trimStart()}:function(t){return t.replace(El,"")},Nl=Cl?function(t){return t.trimEnd()}:function(t){return t.replace(wl,"")};function Dr(e,t){return new RegExp(e,t)}var Gn;if(Un){var Co=Dr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Gn=function(t,n){var o;Co.lastIndex=n;var r=Co.exec(t);return(o=r[1])!==null&&o!==void 0?o:""}}else Gn=function(t,n){for(var o=[];;){var r=Hr(t,n);if(r===void 0||Br(r)||Dl(r))break;o.push(r),n+=r>=65536?2:1}return Fn.apply(void 0,o)};var Ml=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.locale=n.locale,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,o){for(var r=[];!this.isEOF();){var i=this.char();if(i===123){var a=this.parseArgument(t,o);if(a.err)return a;r.push(a.val)}else{if(i===125&&t>0)break;if(i===35&&(n==="plural"||n==="selectordinal")){var s=this.clonePosition();this.bump(),r.push({type:G.pound,location:L(s,this.clonePosition())})}else if(i===60&&!this.ignoreTag&&this.peek()===47){if(o)break;return this.error(O.UNMATCHED_CLOSING_TAG,L(this.clonePosition(),this.clonePosition()))}else if(i===60&&!this.ignoreTag&&jn(this.peek()||0)){var a=this.parseTag(t,n);if(a.err)return a;r.push(a.val)}else{var a=this.parseLiteral(t,n);if(a.err)return a;r.push(a.val)}}}return{val:r,err:null}},e.prototype.parseTag=function(t,n){var o=this.clonePosition();this.bump();var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:G.literal,value:"<".concat(r,"/>"),location:L(o,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(t+1,n,!0);if(i.err)return i;var a=i.val,s=this.clonePosition();if(this.bumpIf("</")){if(this.isEOF()||!jn(this.char()))return this.error(O.INVALID_TAG,L(s,this.clonePosition()));var c=this.clonePosition(),l=this.parseTagName();return r!==l?this.error(O.UNMATCHED_CLOSING_TAG,L(c,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:G.tag,value:r,children:a,location:L(o,this.clonePosition())},err:null}:this.error(O.INVALID_TAG,L(s,this.clonePosition())))}else return this.error(O.UNCLOSED_TAG,L(o,this.clonePosition()))}else return this.error(O.INVALID_TAG,L(o,this.clonePosition()))},e.prototype.parseTagName=function(){var t=this.offset();for(this.bump();!this.isEOF()&&Hl(this.char());)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(t,n){for(var o=this.clonePosition(),r="";;){var i=this.tryParseQuote(n);if(i){r+=i;continue}var a=this.tryParseUnquoted(t,n);if(a){r+=a;continue}var s=this.tryParseLeftAngleBracket();if(s){r+=s;continue}break}var c=L(o,this.clonePosition());return{val:{type:G.literal,value:r,location:c},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return!this.isEOF()&&this.char()===60&&(this.ignoreTag||!Rl(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 o=this.char();if(o===39)if(this.peek()===39)n.push(39),this.bump();else{this.bump();break}else n.push(o);this.bump()}return Fn.apply(void 0,n)},e.prototype.tryParseUnquoted=function(t,n){if(this.isEOF())return null;var o=this.char();return o===60||o===123||o===35&&(n==="plural"||n==="selectordinal")||o===125&&t>0?null:(this.bump(),Fn(o))},e.prototype.parseArgument=function(t,n){var o=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,L(o,this.clonePosition()));if(this.char()===125)return this.bump(),this.error(O.EMPTY_ARGUMENT,L(o,this.clonePosition()));var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(O.MALFORMED_ARGUMENT,L(o,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,L(o,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:G.argument,value:r,location:L(o,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,L(o,this.clonePosition())):this.parseArgumentOptions(t,n,r,o);default:return this.error(O.MALFORMED_ARGUMENT,L(o,this.clonePosition()))}},e.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),n=this.offset(),o=Gn(this.message,n),r=n+o.length;this.bumpTo(r);var i=this.clonePosition(),a=L(t,i);return{value:o,location:a}},e.prototype.parseArgumentOptions=function(t,n,o,r){var i,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,c=this.clonePosition();switch(s){case"":return this.error(O.EXPECT_ARGUMENT_TYPE,L(a,c));case"number":case"date":case"time":{this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition(),d=this.parseSimpleArgStyleIfPossible();if(d.err)return d;var h=Nl(d.val);if(h.length===0)return this.error(O.EXPECT_ARGUMENT_STYLE,L(this.clonePosition(),this.clonePosition()));var p=L(u,this.clonePosition());l={style:h,styleLocation:p}}var E=this.tryParseArgumentClose(r);if(E.err)return E;var k=L(r,this.clonePosition());if(l&&xo(l?.style,"::",0)){var y=Il(l.style.slice(2));if(s==="number"){var d=this.parseNumberSkeletonFromString(y,l.styleLocation);return d.err?d:{val:{type:G.number,value:o,location:k,style:d.val},err:null}}else{if(y.length===0)return this.error(O.EXPECT_DATE_TIME_SKELETON,k);var N=y;this.locale&&(N=vl(y,this.locale));var h={type:gt.dateTime,pattern:N,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?dl(N):{}},g=s==="date"?G.date:G.time;return{val:{type:g,value:o,location:k,style:h},err:null}}}return{val:{type:s==="number"?G.number:s==="date"?G.date:G.time,value:o,location:k,style:(i=l?.style)!==null&&i!==void 0?i:null},err:null}}case"plural":case"selectordinal":case"select":{var _=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(O.EXPECT_SELECT_ARGUMENT_OPTIONS,L(_,I({},_)));this.bumpSpace();var S=this.parseIdentifierIfPossible(),U=0;if(s!=="select"&&S.value==="offset"){if(!this.bumpIf(":"))return this.error(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,L(this.clonePosition(),this.clonePosition()));this.bumpSpace();var d=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,O.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);if(d.err)return d;this.bumpSpace(),S=this.parseIdentifierIfPossible(),U=d.val}var oe=this.tryParsePluralOrSelectOptions(t,s,n,S);if(oe.err)return oe;var E=this.tryParseArgumentClose(r);if(E.err)return E;var ie=L(r,this.clonePosition());return s==="select"?{val:{type:G.select,value:o,options:ko(oe.val),location:ie},err:null}:{val:{type:G.plural,value:o,options:ko(oe.val),offset:U,pluralType:s==="plural"?"cardinal":"ordinal",location:ie},err:null}}default:return this.error(O.INVALID_ARGUMENT_TYPE,L(a,c))}},e.prototype.tryParseArgumentClose=function(t){return this.isEOF()||this.char()!==125?this.error(O.EXPECT_ARGUMENT_CLOSING_BRACE,L(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},e.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,n=this.clonePosition();!this.isEOF();){var o=this.char();switch(o){case 39:{this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(O.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,L(r,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 o=[];try{o=_l(t)}catch{return this.error(O.INVALID_NUMBER_SKELETON,n)}return{val:{type:gt.number,tokens:o,location:n,parsedOptions:this.shouldParseSkeletons?bl(o):{}},err:null}},e.prototype.tryParsePluralOrSelectOptions=function(t,n,o,r){for(var i,a=!1,s=[],c=new Set,l=r.value,u=r.location;;){if(l.length===0){var d=this.clonePosition();if(n!=="select"&&this.bumpIf("=")){var h=this.tryParseDecimalInteger(O.EXPECT_PLURAL_ARGUMENT_SELECTOR,O.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=L(d,this.clonePosition()),l=this.message.slice(d.offset,this.offset())}else break}if(c.has(l))return this.error(n==="select"?O.DUPLICATE_SELECT_ARGUMENT_SELECTOR:O.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);l==="other"&&(a=!0),this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error(n==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:O.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,L(this.clonePosition(),this.clonePosition()));var E=this.parseMessage(t+1,n,o);if(E.err)return E;var k=this.tryParseArgumentClose(p);if(k.err)return k;s.push([l,{value:E.val,location:L(p,this.clonePosition())}]),c.add(l),this.bumpSpace(),i=this.parseIdentifierIfPossible(),l=i.value,u=i.location}return s.length===0?this.error(n==="select"?O.EXPECT_SELECT_ARGUMENT_SELECTOR:O.EXPECT_PLURAL_ARGUMENT_SELECTOR,L(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(O.MISSING_OTHER_CLAUSE,L(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(t,n){var o=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(o=-1);for(var i=!1,a=0;!this.isEOF();){var s=this.char();if(s>=48&&s<=57)i=!0,a=a*10+(s-48),this.bump();else break}var c=L(r,this.clonePosition());return i?(a*=o,Ll(a)?{val:a,err:null}:this.error(n,c)):this.error(t,c)},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=Hr(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(xo(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(),o=this.message.indexOf(t,n);return o>=0?(this.bumpTo(o),!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()&&Br(this.char());)this.bump()},e.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),n=this.offset(),o=this.message.charCodeAt(n+(t>=65536?2:1));return o??null},e}();function jn(e){return e>=97&&e<=122||e>=65&&e<=90}function Rl(e){return jn(e)||e===47}function Hl(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 Br(e){return e>=9&&e<=13||e===32||e===133||e>=8206&&e<=8207||e===8232||e===8233}function Dl(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 zn(e){e.forEach(function(t){if(delete t.location,Cr(t)||Or(t))for(var n in t.options)delete t.options[n].location,zn(t.options[n].value);else Ar(t)&&Pr(t.style)||(xr(t)||kr(t))&&Bn(t.style)?delete t.style.location:Lr(t)&&zn(t.children)})}function Bl(e,t){t===void 0&&(t={}),t=I({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Ml(e,t).parse();if(n.err){var o=SyntaxError(O[n.err.kind]);throw o.location=n.err.location,o.originalMessage=n.err.message,o}return t?.captureLocation||zn(n.val),n.val}function Sn(e,t){var n=t&&t.cache?t.cache:Vl,o=t&&t.serializer?t.serializer:zl,r=t&&t.strategy?t.strategy:Fl;return r(e,{cache:n,serializer:o})}function Ul(e){return e==null||typeof e=="number"||typeof e=="boolean"}function Ur(e,t,n,o){var r=Ul(o)?o:n(o),i=t.get(r);return typeof i>"u"&&(i=e.call(this,o),t.set(r,i)),i}function Fr(e,t,n){var o=Array.prototype.slice.call(arguments,3),r=n(o),i=t.get(r);return typeof i>"u"&&(i=e.apply(this,o),t.set(r,i)),i}function Kn(e,t,n,o,r){return n.bind(t,e,o,r)}function Fl(e,t){var n=e.length===1?Ur:Fr;return Kn(e,this,n,t.cache.create(),t.serializer)}function Gl(e,t){return Kn(e,this,Fr,t.cache.create(),t.serializer)}function jl(e,t){return Kn(e,this,Ur,t.cache.create(),t.serializer)}var zl=function(){return JSON.stringify(arguments)};function eo(){this.cache=Object.create(null)}eo.prototype.get=function(e){return this.cache[e]};eo.prototype.set=function(e,t){this.cache[e]=t};var Vl={create:function(){return new eo}},An={variadic:Gl,monadic:jl},bt;(function(e){e.MISSING_VALUE="MISSING_VALUE",e.INVALID_VALUE="INVALID_VALUE",e.MISSING_INTL_API="MISSING_INTL_API"})(bt||(bt={}));var cn=function(e){un(t,e);function t(n,o,r){var i=e.call(this,n)||this;return i.code=o,i.originalMessage=r,i}return t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Oo=function(e){un(t,e);function t(n,o,r,i){return e.call(this,'Invalid values for "'.concat(n,'": "').concat(o,'". Options are "').concat(Object.keys(r).join('", "'),'"'),bt.INVALID_VALUE,i)||this}return t}(cn),ql=function(e){un(t,e);function t(n,o,r){return e.call(this,'Value for "'.concat(n,'" must be of type ').concat(o),bt.INVALID_VALUE,r)||this}return t}(cn),Wl=function(e){un(t,e);function t(n,o){return e.call(this,'The intl string context variable "'.concat(n,'" was not provided to the string "').concat(o,'"'),bt.MISSING_VALUE,o)||this}return t}(cn),te;(function(e){e[e.literal=0]="literal",e[e.object=1]="object"})(te||(te={}));function Xl(e){return e.length<2?e:e.reduce(function(t,n){var o=t[t.length-1];return!o||o.type!==te.literal||n.type!==te.literal?t.push(n):o.value+=n.value,t},[])}function Zl(e){return typeof e=="function"}function Qt(e,t,n,o,r,i,a){if(e.length===1&&wo(e[0]))return[{type:te.literal,value:e[0].value}];for(var s=[],c=0,l=e;c<l.length;c++){var u=l[c];if(wo(u)){s.push({type:te.literal,value:u.value});continue}if(cl(u)){typeof i=="number"&&s.push({type:te.literal,value:n.getNumberFormat(t).format(i)});continue}var d=u.value;if(!(r&&d in r))throw new Wl(d,a);var h=r[d];if(ul(u)){(!h||typeof h=="string"||typeof h=="number")&&(h=typeof h=="string"||typeof h=="number"?String(h):""),s.push({type:typeof h=="string"?te.literal:te.object,value:h});continue}if(xr(u)){var p=typeof u.style=="string"?o.date[u.style]:Bn(u.style)?u.style.parsedOptions:void 0;s.push({type:te.literal,value:n.getDateTimeFormat(t,p).format(h)});continue}if(kr(u)){var p=typeof u.style=="string"?o.time[u.style]:Bn(u.style)?u.style.parsedOptions:o.time.medium;s.push({type:te.literal,value:n.getDateTimeFormat(t,p).format(h)});continue}if(Ar(u)){var p=typeof u.style=="string"?o.number[u.style]:Pr(u.style)?u.style.parsedOptions:void 0;p&&p.scale&&(h=h*(p.scale||1)),s.push({type:te.literal,value:n.getNumberFormat(t,p).format(h)});continue}if(Lr(u)){var E=u.children,k=u.value,y=r[k];if(!Zl(y))throw new ql(k,"function",a);var N=Qt(E,t,n,o,r,i),g=y(N.map(function(U){return U.value}));Array.isArray(g)||(g=[g]),s.push.apply(s,g.map(function(U){return{type:typeof U=="string"?te.literal:te.object,value:U}}))}if(Cr(u)){var _=u.options[h]||u.options.other;if(!_)throw new Oo(u.value,h,Object.keys(u.options),a);s.push.apply(s,Qt(_.value,t,n,o,r));continue}if(Or(u)){var _=u.options["=".concat(h)];if(!_){if(!Intl.PluralRules)throw new cn(`Intl.PluralRules is not available in this environment.
3Try polyfilling it using "@formatjs/intl-pluralrules"
4`,bt.MISSING_INTL_API,a);var S=n.getPluralRules(t,{type:u.pluralType}).select(h-(u.offset||0));_=u.options[S]||u.options.other}if(!_)throw new Oo(u.value,h,Object.keys(u.options),a);s.push.apply(s,Qt(_.value,t,n,o,r,h-(u.offset||0)));continue}}return Xl(s)}function Yl(e,t){return t?I(I(I({},e||{}),t||{}),Object.keys(e).reduce(function(n,o){return n[o]=I(I({},e[o]),t[o]||{}),n},{})):e}function $l(e,t){return t?Object.keys(e).reduce(function(n,o){return n[o]=Yl(e[o],t[o]),n},I({},e)):e}function xn(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}function Jl(e){return e===void 0&&(e={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:Sn(function(){for(var t,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return new((t=Intl.NumberFormat).bind.apply(t,wn([void 0],n,!1)))},{cache:xn(e.number),strategy:An.variadic}),getDateTimeFormat:Sn(function(){for(var t,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return new((t=Intl.DateTimeFormat).bind.apply(t,wn([void 0],n,!1)))},{cache:xn(e.dateTime),strategy:An.variadic}),getPluralRules:Sn(function(){for(var t,n=[],o=0;o<arguments.length;o++)n[o]=arguments[o];return new((t=Intl.PluralRules).bind.apply(t,wn([void 0],n,!1)))},{cache:xn(e.pluralRules),strategy:An.variadic})}}var Gr=function(){function e(t,n,o,r){var i=this;if(n===void 0&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(c){var l=i.formatToParts(c);if(l.length===1)return l[0].value;var u=l.reduce(function(d,h){return!d.length||h.type!==te.literal||typeof d[d.length-1]!="string"?d.push(h.value):d[d.length-1]+=h.value,d},[]);return u.length<=1?u[0]||"":u},this.formatToParts=function(c){return Qt(i.ast,i.locales,i.formatters,i.formats,c,void 0,i.message)},this.resolvedOptions=function(){var c;return{locale:((c=i.resolvedLocale)===null||c===void 0?void 0:c.toString())||Intl.NumberFormat.supportedLocalesOf(i.locales)[0]}},this.getAst=function(){return i.ast},this.locales=n,this.resolvedLocale=e.resolveLocale(n),typeof t=="string"){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var a=r||{};a.formatters;var s=ll(a,["formatters"]);this.ast=e.__parse(t,I(I({},s),{locale:this.resolvedLocale}))}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=$l(e.formats,o),this.formatters=r&&r.formatters||Jl(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.resolveLocale=function(t){if(!(typeof Intl.Locale>"u")){var n=Intl.NumberFormat.supportedLocalesOf(t);return n.length>0?new Intl.Locale(n[0]):new Intl.Locale(typeof t=="string"?t:t[0])}},e.__parse=Bl,e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();function Ql(e,t){if(t==null)return;if(t in e)return e[t];const n=t.split(".");let o=e;for(let r=0;r<n.length;r++)if(typeof o=="object"){if(r>0){const i=n.slice(r,n.length).join(".");if(i in o){o=o[i];break}}o=o[n[r]]}else o=void 0;return o}const Ze={},Kl=(e,t,n)=>n&&(t in Ze||(Ze[t]={}),e in Ze[t]||(Ze[t][e]=n),n),jr=(e,t)=>{if(t==null)return;if(t in Ze&&e in Ze[t])return Ze[t][e];const n=Rt(t);for(let o=0;o<n.length;o++){const r=n[o],i=tu(r,e);if(i)return Kl(e,t,i)}};let to;const Mt=yt({});function eu(e){return to[e]||null}function zr(e){return e in to}function tu(e,t){if(!zr(e))return null;const n=eu(e);return Ql(n,t)}function nu(e){if(e==null)return;const t=Rt(e);for(let n=0;n<t.length;n++){const o=t[n];if(zr(o))return o}}function Vr(e,...t){delete Ze[e],Mt.update(n=>(n[e]=sl.all([n[e]||{},...t]),n))}Et([Mt],([e])=>Object.keys(e));Mt.subscribe(e=>to=e);const Kt={};function ou(e,t){Kt[e].delete(t),Kt[e].size===0&&delete Kt[e]}function qr(e){return Kt[e]}function ru(e){return Rt(e).map(t=>{const n=qr(t);return[t,n?[...n]:[]]}).filter(([,t])=>t.length>0)}function rn(e){return e==null?!1:Rt(e).some(t=>{var n;return(n=qr(t))==null?void 0:n.size})}function iu(e,t){return Promise.all(t.map(o=>(ou(e,o),o().then(r=>r.default||r)))).then(o=>Vr(e,...o))}const xt={};function Wr(e){if(!rn(e))return e in xt?xt[e]:Promise.resolve();const t=ru(e);return xt[e]=Promise.all(t.map(([n,o])=>iu(n,o))).then(()=>{if(rn(e))return Wr(e);delete xt[e]}),xt[e]}var Lo=Object.getOwnPropertySymbols,au=Object.prototype.hasOwnProperty,su=Object.prototype.propertyIsEnumerable,lu=(e,t)=>{var n={};for(var o in e)au.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&Lo)for(var o of Lo(e))t.indexOf(o)<0&&su.call(e,o)&&(n[o]=e[o]);return n};const uu={number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}};function cu({locale:e,id:t}){console.warn(`[svelte-i18n] The message "${t}" was not found in "${Rt(e).join('", "')}".${rn(Qe())?`
5
6Note: there are at least one loader still registered to this locale that wasn't executed.`:""}`)}const fu={fallbackLocale:null,loadingDelay:200,formats:uu,warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0},Ot=fu;function vt(){return Ot}function du(e){const t=e,{formats:n}=t,o=lu(t,["formats"]);let r=e.fallbackLocale;if(e.initialLocale)try{Gr.resolveLocale(e.initialLocale)&&(r=e.initialLocale)}catch{console.warn(`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`)}return o.warnOnMissingMessages&&(delete o.warnOnMissingMessages,o.handleMissingMessage==null?o.handleMissingMessage=cu:console.warn('[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.')),Object.assign(Ot,o,{initialLocale:r}),n&&("number"in n&&Object.assign(Ot.formats.number,n.number),"date"in n&&Object.assign(Ot.formats.date,n.date),"time"in n&&Object.assign(Ot.formats.time,n.time)),wt.set(r)}const kn=yt(!1);var hu=Object.defineProperty,_u=Object.defineProperties,mu=Object.getOwnPropertyDescriptors,Po=Object.getOwnPropertySymbols,pu=Object.prototype.hasOwnProperty,gu=Object.prototype.propertyIsEnumerable,Io=(e,t,n)=>t in e?hu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,bu=(e,t)=>{for(var n in t||(t={}))pu.call(t,n)&&Io(e,n,t[n]);if(Po)for(var n of Po(t))gu.call(t,n)&&Io(e,n,t[n]);return e},vu=(e,t)=>_u(e,mu(t));let Vn;const an=yt(null);function No(e){return e.split("-").map((t,n,o)=>o.slice(0,n+1).join("-")).reverse()}function Rt(e,t=vt().fallbackLocale){const n=No(e);return t?[...new Set([...n,...No(t)])]:n}function Qe(){return Vn??void 0}an.subscribe(e=>{Vn=e??void 0,typeof window<"u"&&e!=null&&document.documentElement.setAttribute("lang",e)});const yu=e=>{if(e&&nu(e)&&rn(e)){const{loadingDelay:t}=vt();let n;return typeof window<"u"&&Qe()!=null&&t?n=window.setTimeout(()=>kn.set(!0),t):kn.set(!0),Wr(e).then(()=>{an.set(e)}).finally(()=>{clearTimeout(n),kn.set(!1)})}return an.set(e)},wt=vu(bu({},an),{set:yu}),Eu=()=>typeof window>"u"?null:window.navigator.language||window.navigator.languages[0],fn=e=>{const t=Object.create(null);return o=>{const r=JSON.stringify(o);return r in t?t[r]:t[r]=e(o)}};var wu=Object.defineProperty,sn=Object.getOwnPropertySymbols,Xr=Object.prototype.hasOwnProperty,Zr=Object.prototype.propertyIsEnumerable,Mo=(e,t,n)=>t in e?wu(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,no=(e,t)=>{for(var n in t||(t={}))Xr.call(t,n)&&Mo(e,n,t[n]);if(sn)for(var n of sn(t))Zr.call(t,n)&&Mo(e,n,t[n]);return e},Tt=(e,t)=>{var n={};for(var o in e)Xr.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(e!=null&&sn)for(var o of sn(e))t.indexOf(o)<0&&Zr.call(e,o)&&(n[o]=e[o]);return n};const Nt=(e,t)=>{const{formats:n}=vt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Tu=fn(e=>{var t=e,{locale:n,format:o}=t,r=Tt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return o&&(r=Nt("number",o)),new Intl.NumberFormat(n,r)}),Su=fn(e=>{var t=e,{locale:n,format:o}=t,r=Tt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return o?r=Nt("date",o):Object.keys(r).length===0&&(r=Nt("date","short")),new Intl.DateTimeFormat(n,r)}),Au=fn(e=>{var t=e,{locale:n,format:o}=t,r=Tt(t,["locale","format"]);if(n==null)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return o?r=Nt("time",o):Object.keys(r).length===0&&(r=Nt("time","short")),new Intl.DateTimeFormat(n,r)}),xu=(e={})=>{var t=e,{locale:n=Qe()}=t,o=Tt(t,["locale"]);return Tu(no({locale:n},o))},ku=(e={})=>{var t=e,{locale:n=Qe()}=t,o=Tt(t,["locale"]);return Su(no({locale:n},o))},Cu=(e={})=>{var t=e,{locale:n=Qe()}=t,o=Tt(t,["locale"]);return Au(no({locale:n},o))},Ou=fn((e,t=Qe())=>new Gr(e,t,vt().formats,{ignoreTag:vt().ignoreTag})),Lu=(e,t={})=>{var n,o,r,i;let a=t;typeof e=="object"&&(a=e,e=a.id);const{values:s,locale:c=Qe(),default:l}=a;if(c==null)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=jr(e,c);if(!u)u=(i=(r=(o=(n=vt()).handleMissingMessage)==null?void 0:o.call(n,{locale:c,id:e,defaultValue:l}))!=null?r:l)!=null?i:e;else if(typeof u!="string")return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u;if(!s)return u;let d=u;try{d=Ou(u,c).format(s)}catch(h){h instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,h.message)}return d},Pu=(e,t)=>Cu(t).format(e),Iu=(e,t)=>ku(t).format(e),Nu=(e,t)=>xu(t).format(e),Mu=(e,t=Qe())=>jr(e,t),Yr=Et([wt,Mt],()=>Lu);Et([wt],()=>Pu);Et([wt],()=>Iu);Et([wt],()=>Nu);Et([wt,Mt],()=>Mu);const{SvelteComponent:Ru,append:J,attr:ee,binding_callbacks:Hu,component_subscribe:Du,create_slot:Bu,detach:$r,element:Be,flush:He,get_all_dirty_from_scope:Uu,get_slot_changes:Fu,init:Gu,insert:Jr,safe_not_equal:ju,set_data:Cn,set_style:qt,space:Lt,text:Wt,toggle_class:Xe,transition_in:zu,transition_out:Vu,update_slot_base:qu}=window.__gradio__svelte__internal;function Ro(e){let t,n,o,r,i,a,s,c=e[9]("common.built_with")+"",l,u,d,h,p,E,k=e[9]("common.hosted_on")+"",y,N,g;return{c(){t=Be("div"),n=Be("span"),o=Be("a"),r=Wt(e[5]),a=Lt(),s=Be("span"),l=Wt(c),u=Lt(),d=Be("a"),d.textContent="Gradio",h=Wt("."),p=Lt(),E=Be("span"),y=Wt(k),N=Lt(),g=Be("a"),g.innerHTML=`<span class="space-logo svelte-wpkpf6"><img src="${qs}" alt="Hugging Face Space" class="svelte-wpkpf6"/></span> Spaces`,ee(o,"href",i="https://huggingface.co/spaces/"+e[5]),ee(o,"class","title svelte-wpkpf6"),ee(n,"class","svelte-wpkpf6"),ee(d,"class","gradio svelte-wpkpf6"),ee(d,"href","https://gradio.app"),ee(s,"class","svelte-wpkpf6"),ee(g,"class","hf svelte-wpkpf6"),ee(g,"href","https://huggingface.co/spaces"),ee(E,"class","svelte-wpkpf6"),ee(t,"class","info svelte-wpkpf6")},m(_,S){Jr(_,t,S),J(t,n),J(n,o),J(o,r),J(t,a),J(t,s),J(s,l),J(s,u),J(s,d),J(s,h),J(t,p),J(t,E),J(E,y),J(E,N),J(E,g)},p(_,S){S&32&&Cn(r,_[5]),S&32&&i!==(i="https://huggingface.co/spaces/"+_[5])&&ee(o,"href",i),S&512&&c!==(c=_[9]("common.built_with")+"")&&Cn(l,c),S&512&&k!==(k=_[9]("common.hosted_on")+"")&&Cn(y,k)},d(_){_&&$r(t)}}}function Wu(e){let t,n,o,r,i;const a=e[11].default,s=Bu(a,e,e[10],null);let c=e[6]&&e[5]&&e[7]&&Ro(e);return{c(){t=Be("div"),n=Be("div"),s&&s.c(),o=Lt(),c&&c.c(),ee(n,"class","main svelte-wpkpf6"),ee(t,"class",r="gradio-container gradio-container-"+e[1]+" svelte-wpkpf6"),ee(t,"data-iframe-height",""),Xe(t,"app",!e[6]&&!e[4]),Xe(t,"fill_width",e[3]),Xe(t,"embed-container",e[6]),Xe(t,"with-info",e[7]),qt(t,"min-height",e[8]?"initial":e[2]),qt(t,"flex-grow",e[6]?"auto":"1")},m(l,u){Jr(l,t,u),J(t,n),s&&s.m(n,null),J(t,o),c&&c.m(t,null),e[12](t),i=!0},p(l,[u]){s&&s.p&&(!i||u&1024)&&qu(s,a,l,l[10],i?Fu(a,l[10],u,null):Uu(l[10]),null),l[6]&&l[5]&&l[7]?c?c.p(l,u):(c=Ro(l),c.c(),c.m(t,null)):c&&(c.d(1),c=null),(!i||u&2&&r!==(r="gradio-container gradio-container-"+l[1]+" svelte-wpkpf6"))&&ee(t,"class",r),(!i||u&82)&&Xe(t,"app",!l[6]&&!l[4]),(!i||u&10)&&Xe(t,"fill_width",l[3]),(!i||u&66)&&Xe(t,"embed-container",l[6]),(!i||u&130)&&Xe(t,"with-info",l[7]),u&260&&qt(t,"min-height",l[8]?"initial":l[2]),u&64&&qt(t,"flex-grow",l[6]?"auto":"1")},i(l){i||(zu(s,l),i=!0)},o(l){Vu(s,l),i=!1},d(l){l&&$r(t),s&&s.d(l),c&&c.d(),e[12](null)}}}function Xu(e,t,n){let o;Du(e,Yr,y=>n(9,o=y));let{$$slots:r={},$$scope:i}=t,{wrapper:a}=t,{version:s}=t,{initial_height:c}=t,{fill_width:l}=t,{is_embed:u}=t,{space:d}=t,{display:h}=t,{info:p}=t,{loaded:E}=t;function k(y){Hu[y?"unshift":"push"](()=>{a=y,n(0,a)})}return e.$$set=y=>{"wrapper"in y&&n(0,a=y.wrapper),"version"in y&&n(1,s=y.version),"initial_height"in y&&n(2,c=y.initial_height),"fill_width"in y&&n(3,l=y.fill_width),"is_embed"in y&&n(4,u=y.is_embed),"space"in y&&n(5,d=y.space),"display"in y&&n(6,h=y.display),"info"in y&&n(7,p=y.info),"loaded"in y&&n(8,E=y.loaded),"$$scope"in y&&n(10,i=y.$$scope)},[a,s,c,l,u,d,h,p,E,o,i,r,k]}class Zu extends Ru{constructor(t){super(),Gu(this,t,Xu,Wu,ju,{wrapper:0,version:1,initial_height:2,fill_width:3,is_embed:4,space:5,display:6,info:7,loaded:8})}get wrapper(){return this.$$.ctx[0]}set wrapper(t){this.$$set({wrapper:t}),He()}get version(){return this.$$.ctx[1]}set version(t){this.$$set({version:t}),He()}get initial_height(){return this.$$.ctx[2]}set initial_height(t){this.$$set({initial_height:t}),He()}get fill_width(){return this.$$.ctx[3]}set fill_width(t){this.$$set({fill_width:t}),He()}get is_embed(){return this.$$.ctx[4]}set is_embed(t){this.$$set({is_embed:t}),He()}get space(){return this.$$.ctx[5]}set space(t){this.$$set({space:t}),He()}get display(){return this.$$.ctx[6]}set display(t){this.$$set({display:t}),He()}get info(){return this.$$.ctx[7]}set info(t){this.$$set({info:t}),He()}get loaded(){return this.$$.ctx[8]}set loaded(t){this.$$set({loaded:t}),He()}}function _t(e){let t=["","k","M","G","T","P","E","Z"],n=0;for(;e>1e3&&n<t.length-1;)e/=1e3,n++;let o=t[n];return(Number.isInteger(e)?e:e.toFixed(1))+o}function Ho(e){return Object.prototype.toString.call(e)==="[object Date]"}function qn(e,t,n,o){if(typeof n=="number"||Ho(n)){const r=o-n,i=(n-t)/(e.dt||1/60),a=e.opts.stiffness*r,s=e.opts.damping*i,c=(a-s)*e.inv_mass,l=(i+c)*e.dt;return Math.abs(l)<e.opts.precision&&Math.abs(r)<e.opts.precision?o:(e.settled=!1,Ho(n)?new Date(n.getTime()+l):n+l)}else{if(Array.isArray(n))return n.map((r,i)=>qn(e,t[i],n[i],o[i]));if(typeof n=="object"){const r={};for(const i in n)r[i]=qn(e,t[i],n[i],o[i]);return r}else throw new Error(`Cannot spring ${typeof n} values`)}}function Do(e,t={}){const n=yt(e),{stiffness:o=.15,damping:r=.8,precision:i=.01}=t;let a,s,c,l=e,u=e,d=1,h=0,p=!1;function E(y,N={}){u=y;const g=c={};return e==null||N.hard||k.stiffness>=1&&k.damping>=1?(p=!0,a=yo(),l=y,n.set(e=u),Promise.resolve()):(N.soft&&(h=1/((N.soft===!0?.5:+N.soft)*60),d=0),s||(a=yo(),p=!1,s=zs(_=>{if(p)return p=!1,s=null,!1;d=Math.min(d+h,1);const S={inv_mass:d,opts:k,settled:!0,dt:(_-a)*60/1e3},U=qn(S,l,e,u);return a=_,l=e,n.set(e=U),S.settled&&(s=null),!S.settled})),new Promise(_=>{s.promise.then(()=>{g===c&&_()})}))}const k={set:E,update:(y,N)=>E(y(u,e),N),subscribe:n.subscribe,stiffness:o,damping:r,precision:i};return k}const{SvelteComponent:Yu,append:ge,attr:P,component_subscribe:Bo,detach:$u,element:Ju,flush:Qu,init:Ku,insert:ec,noop:Uo,safe_not_equal:tc,set_style:Xt,svg_element:be,toggle_class:Fo}=window.__gradio__svelte__internal,{onMount:nc}=window.__gradio__svelte__internal;function oc(e){let t,n,o,r,i,a,s,c,l,u,d,h;return{c(){t=Ju("div"),n=be("svg"),o=be("g"),r=be("path"),i=be("path"),a=be("path"),s=be("path"),c=be("g"),l=be("path"),u=be("path"),d=be("path"),h=be("path"),P(r,"d","M255.926 0.754768L509.702 139.936V221.027L255.926 81.8465V0.754768Z"),P(r,"fill","#FF7C00"),P(r,"fill-opacity","0.4"),P(r,"class","svelte-zyxd38"),P(i,"d","M509.69 139.936L254.981 279.641V361.255L509.69 221.55V139.936Z"),P(i,"fill","#FF7C00"),P(i,"class","svelte-zyxd38"),P(a,"d","M0.250138 139.937L254.981 279.641V361.255L0.250138 221.55V139.937Z"),P(a,"fill","#FF7C00"),P(a,"fill-opacity","0.4"),P(a,"class","svelte-zyxd38"),P(s,"d","M255.923 0.232622L0.236328 139.936V221.55L255.923 81.8469V0.232622Z"),P(s,"fill","#FF7C00"),P(s,"class","svelte-zyxd38"),Xt(o,"transform","translate("+e[1][0]+"px, "+e[1][1]+"px)"),P(l,"d","M255.926 141.5L509.702 280.681V361.773L255.926 222.592V141.5Z"),P(l,"fill","#FF7C00"),P(l,"fill-opacity","0.4"),P(l,"class","svelte-zyxd38"),P(u,"d","M509.69 280.679L254.981 420.384V501.998L509.69 362.293V280.679Z"),P(u,"fill","#FF7C00"),P(u,"class","svelte-zyxd38"),P(d,"d","M0.250138 280.681L254.981 420.386V502L0.250138 362.295V280.681Z"),P(d,"fill","#FF7C00"),P(d,"fill-opacity","0.4"),P(d,"class","svelte-zyxd38"),P(h,"d","M255.923 140.977L0.236328 280.68V362.294L255.923 222.591V140.977Z"),P(h,"fill","#FF7C00"),P(h,"class","svelte-zyxd38"),Xt(c,"transform","translate("+e[2][0]+"px, "+e[2][1]+"px)"),P(n,"viewBox","-1200 -1200 3000 3000"),P(n,"fill","none"),P(n,"xmlns","http://www.w3.org/2000/svg"),P(n,"class","svelte-zyxd38"),P(t,"class","svelte-zyxd38"),Fo(t,"margin",e[0])},m(p,E){ec(p,t,E),ge(t,n),ge(n,o),ge(o,r),ge(o,i),ge(o,a),ge(o,s),ge(n,c),ge(c,l),ge(c,u),ge(c,d),ge(c,h)},p(p,[E]){E&2&&Xt(o,"transform","translate("+p[1][0]+"px, "+p[1][1]+"px)"),E&4&&Xt(c,"transform","translate("+p[2][0]+"px, "+p[2][1]+"px)"),E&1&&Fo(t,"margin",p[0])},i:Uo,o:Uo,d(p){p&&$u(t)}}}function rc(e,t,n){let o,r,{margin:i=!0}=t;const a=Do([0,0]);Bo(e,a,h=>n(1,o=h));const s=Do([0,0]);Bo(e,s,h=>n(2,r=h));let c;async function l(){await Promise.all([a.set([125,140]),s.set([-125,-140])]),await Promise.all([a.set([-125,140]),s.set([125,-140])]),await Promise.all([a.set([-125,0]),s.set([125,-0])]),await Promise.all([a.set([125,0]),s.set([-125,0])])}async function u(){await l(),c||u()}async function d(){await Promise.all([a.set([125,0]),s.set([-125,0])]),u()}return nc(()=>(d(),()=>c=!0)),e.$$set=h=>{"margin"in h&&n(0,i=h.margin)},[i,o,r,a,s]}class ic extends Yu{constructor(t){super(),Ku(this,t,rc,oc,tc,{margin:0})}get margin(){return this.$$.ctx[0]}set margin(t){this.$$set({margin:t}),Qu()}}const{SvelteComponent:ac,append:Wn,attr:De,bubble:sc,create_component:lc,destroy_component:uc,detach:Qr,element:Xn,flush:le,init:cc,insert:Kr,listen:fc,mount_component:dc,safe_not_equal:hc,set_data:_c,set_style:dt,space:mc,text:pc,toggle_class:re,transition_in:gc,transition_out:bc}=window.__gradio__svelte__internal;function Go(e){let t,n;return{c(){t=Xn("span"),n=pc(e[1]),De(t,"class","svelte-rk35yg")},m(o,r){Kr(o,t,r),Wn(t,n)},p(o,r){r&2&&_c(n,o[1])},d(o){o&&Qr(t)}}}function vc(e){let t,n,o,r,i,a,s,c=e[2]&&Go(e);return r=new e[0]({}),{c(){t=Xn("button"),c&&c.c(),n=mc(),o=Xn("div"),lc(r.$$.fragment),De(o,"class","svelte-rk35yg"),re(o,"small",e[4]==="small"),re(o,"large",e[4]==="large"),re(o,"medium",e[4]==="medium"),t.disabled=e[7],De(t,"aria-label",e[1]),De(t,"aria-haspopup",e[8]),De(t,"title",e[1]),De(t,"class","svelte-rk35yg"),re(t,"pending",e[3]),re(t,"padded",e[5]),re(t,"highlight",e[6]),re(t,"transparent",e[9]),dt(t,"color",!e[7]&&e[12]?e[12]:"var(--block-label-text-color)"),dt(t,"--bg-color",e[7]?"auto":e[10]),dt(t,"margin-left",e[11]+"px")},m(l,u){Kr(l,t,u),c&&c.m(t,null),Wn(t,n),Wn(t,o),dc(r,o,null),i=!0,a||(s=fc(t,"click",e[14]),a=!0)},p(l,[u]){l[2]?c?c.p(l,u):(c=Go(l),c.c(),c.m(t,n)):c&&(c.d(1),c=null),(!i||u&16)&&re(o,"small",l[4]==="small"),(!i||u&16)&&re(o,"large",l[4]==="large"),(!i||u&16)&&re(o,"medium",l[4]==="medium"),(!i||u&128)&&(t.disabled=l[7]),(!i||u&2)&&De(t,"aria-label",l[1]),(!i||u&256)&&De(t,"aria-haspopup",l[8]),(!i||u&2)&&De(t,"title",l[1]),(!i||u&8)&&re(t,"pen
6ding",l[3]),(!i||u&32)&&re(t,"padded",l[5]),(!i||u&64)&&re(t,"highlight",l[6]),(!i||u&512)&&re(t,"transparent",l[9]),u&4224&&dt(t,"color",!l[7]&&l[12]?l[12]:"var(--block-label-text-color)"),u&1152&&dt(t,"--bg-color",l[7]?"auto":l[10]),u&2048&&dt(t,"margin-left",l[11]+"px")},i(l){i||(gc(r.$$.fragment,l),i=!0)},o(l){bc(r.$$.fragment,l),i=!1},d(l){l&&Qr(t),c&&c.d(),uc(r),a=!1,s()}}}function yc(e,t,n){let o,{Icon:r}=t,{label:i=""}=t,{show_label:a=!1}=t,{pending:s=!1}=t,{size:c="small"}=t,{padded:l=!0}=t,{highlight:u=!1}=t,{disabled:d=!1}=t,{hasPopup:h=!1}=t,{color:p="var(--block-label-text-color)"}=t,{transparent:E=!1}=t,{background:k="var(--background-fill-primary)"}=t,{offset:y=0}=t;function N(g){sc.call(this,e,g)}return e.$$set=g=>{"Icon"in g&&n(0,r=g.Icon),"label"in g&&n(1,i=g.label),"show_label"in g&&n(2,a=g.show_label),"pending"in g&&n(3,s=g.pending),"size"in g&&n(4,c=g.size),"padded"in g&&n(5,l=g.padded),"highlight"in g&&n(6,u=g.highlight),"disabled"in g&&n(7,d=g.disabled),"hasPopup"in g&&n(8,h=g.hasPopup),"color"in g&&n(13,p=g.color),"transparent"in g&&n(9,E=g.transparent),"background"in g&&n(10,k=g.background),"offset"in g&&n(11,y=g.offset)},e.$$.update=()=>{e.$$.dirty&8256&&n(12,o=u?"var(--color-accent)":p)},[r,i,a,s,c,l,u,d,h,E,k,y,o,p,N]}class Ec extends ac{constructor(t){super(),cc(this,t,yc,vc,hc,{Icon:0,label:1,show_label:2,pending:3,size:4,padded:5,highlight:6,disabled:7,hasPopup:8,color:13,transparent:9,background:10,offset:11})}get Icon(){return this.$$.ctx[0]}set Icon(t){this.$$set({Icon:t}),le()}get label(){return this.$$.ctx[1]}set label(t){this.$$set({label:t}),le()}get show_label(){return this.$$.ctx[2]}set show_label(t){this.$$set({show_label:t}),le()}get pending(){return this.$$.ctx[3]}set pending(t){this.$$set({pending:t}),le()}get size(){return this.$$.ctx[4]}set size(t){this.$$set({size:t}),le()}get padded(){return this.$$.ctx[5]}set padded(t){this.$$set({padded:t}),le()}get highlight(){return this.$$.ctx[6]}set highlight(t){this.$$set({highlight:t}),le()}get disabled(){return this.$$.ctx[7]}set disabled(t){this.$$set({disabled:t}),le()}get hasPopup(){return this.$$.ctx[8]}set hasPopup(t){this.$$set({hasPopup:t}),le()}get color(){return this.$$.ctx[13]}set color(t){this.$$set({color:t}),le()}get transparent(){return this.$$.ctx[9]}set transparent(t){this.$$set({transparent:t}),le()}get background(){return this.$$.ctx[10]}set background(t){this.$$set({background:t}),le()}get offset(){return this.$$.ctx[11]}set offset(t){this.$$set({offset:t}),le()}}const{SvelteComponent:wc,append:On,attr:ve,detach:Tc,init:Sc,insert:Ac,noop:Ln,safe_not_equal:xc,set_style:ke,svg_element:Zt}=window.__gradio__svelte__internal;function kc(e){let t,n,o,r;return{c(){t=Zt("svg"),n=Zt("g"),o=Zt("path"),r=Zt("path"),ve(o,"d","M18,6L6.087,17.913"),ke(o,"fill","none"),ke(o,"fill-rule","nonzero"),ke(o,"stroke-width","2px"),ve(n,"transform","matrix(1.14096,-0.140958,-0.140958,1.14096,-0.0559523,0.0559523)"),ve(r,"d","M4.364,4.364L19.636,19.636"),ke(r,"fill","none"),ke(r,"fill-rule","nonzero"),ke(r,"stroke-width","2px"),ve(t,"width","100%"),ve(t,"height","100%"),ve(t,"viewBox","0 0 24 24"),ve(t,"version","1.1"),ve(t,"xmlns","http://www.w3.org/2000/svg"),ve(t,"xmlns:xlink","http://www.w3.org/1999/xlink"),ve(t,"xml:space","preserve"),ve(t,"stroke","currentColor"),ke(t,"fill-rule","evenodd"),ke(t,"clip-rule","evenodd"),ke(t,"stroke-linecap","round"),ke(t,"stroke-linejoin","round")},m(i,a){Ac(i,t,a),On(t,n),On(n,o),On(t,r)},p:Ln,i:Ln,o:Ln,d(i){i&&Tc(t)}}}class Cc extends wc{constructor(t){super(),Sc(this,t,null,kc,xc,{})}}const _h=["red","green","blue","yellow","purple","teal","orange","cyan","lime","pink"],Oc=[{color:"red",primary:600,secondary:100},{color:"green",primary:600,secondary:100},{color:"blue",primary:600,secondary:100},{color:"yellow",primary:500,secondary:100},{color:"purple",primary:600,secondary:100},{color:"teal",primary:600,secondary:100},{color:"orange",primary:600,secondary:100},{color:"cyan",primary:600,secondary:100},{color:"lime",primary:500,secondary:100},{color:"pink",primary:600,secondary:100}],jo={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"}},mh=Oc.reduce((e,{color:t,primary:n,secondary:o})=>({...e,[t]:{primary:jo[t][n],secondary:jo[t][o]}}),{}),{SvelteComponent:Lc,append:tt,attr:we,binding_callbacks:zo,check_outros:Zn,create_component:ei,create_slot:ti,destroy_component:ni,destroy_each:oi,detach:A,element:Ce,empty:St,ensure_array_like:ln,flush:Y,get_all_dirty_from_scope:ri,get_slot_changes:ii,group_outros:Yn,init:Pc,insert:x,mount_component:ai,noop:$n,safe_not_equal:Ic,set_data:me,set_style:Ye,space:_e,text:V,toggle_class:he,transition_in:Ee,transition_out:Oe,update_slot_base:si}=window.__gradio__svelte__internal,{tick:Nc}=window.__gradio__svelte__internal,{onDestroy:Mc}=window.__gradio__svelte__internal,{createEventDispatcher:Rc}=window.__gradio__svelte__internal,Hc=e=>({}),Vo=e=>({}),Dc=e=>({}),qo=e=>({});function Wo(e,t,n){const o=e.slice();return o[40]=t[n],o[42]=n,o}function Xo(e,t,n){const o=e.slice();return o[40]=t[n],o}function Bc(e){let t,n,o,r,i=e[1]("common.error")+"",a,s,c;n=new Ec({props:{Icon:Cc,label:e[1]("common.clear"),disabled:!1}}),n.$on("click",e[32]);const l=e[30].error,u=ti(l,e,e[29],Vo);return{c(){t=Ce("div"),ei(n.$$.fragment),o=_e(),r=Ce("span"),a=V(i),s=_e(),u&&u.c(),we(t,"class","clear-status svelte-au1olv"),we(r,"class","error svelte-au1olv")},m(d,h){x(d,t,h),ai(n,t,null),x(d,o,h),x(d,r,h),tt(r,a),x(d,s,h),u&&u.m(d,h),c=!0},p(d,h){const p={};h[0]&2&&(p.label=d[1]("common.clear")),n.$set(p),(!c||h[0]&2)&&i!==(i=d[1]("common.error")+"")&&me(a,i),u&&u.p&&(!c||h[0]&536870912)&&si(u,l,d,d[29],c?ii(l,d[29],h,Hc):ri(d[29]),Vo)},i(d){c||(Ee(n.$$.fragment,d),Ee(u,d),c=!0)},o(d){Oe(n.$$.fragment,d),Oe(u,d),c=!1}
vendor: 8,385 bytes, line 6
6,d(d){d&&(A(t),A(o),A(r),A(s)),ni(n),u&&u.d(d)}}}function Uc(e){let t,n,o,r,i,a,s,c,l,u=e[8]==="default"&&e[18]&&e[6]==="full"&&Zo(e);function d(_,S){if(_[7])return jc;if(_[2]!==null&&_[3]!==void 0&&_[2]>=0)return Gc;if(_[2]===0)return Fc}let h=d(e),p=h&&h(e),E=e[5]&&Jo(e);const k=[Wc,qc],y=[];function N(_,S){return _[15]!=null?0:_[6]==="full"?1:-1}~(i=N(e))&&(a=y[i]=k[i](e));let g=!e[5]&&rr(e);return{c(){u&&u.c(),t=_e(),n=Ce("div"),p&&p.c(),o=_e(),E&&E.c(),r=_e(),a&&a.c(),s=_e(),g&&g.c(),c=St(),we(n,"class","progress-text svelte-au1olv"),he(n,"meta-text-center",e[8]==="center"),he(n,"meta-text",e[8]==="default")},m(_,S){u&&u.m(_,S),x(_,t,S),x(_,n,S),p&&p.m(n,null),tt(n,o),E&&E.m(n,null),x(_,r,S),~i&&y[i].m(_,S),x(_,s,S),g&&g.m(_,S),x(_,c,S),l=!0},p(_,S){_[8]==="default"&&_[18]&&_[6]==="full"?u?u.p(_,S):(u=Zo(_),u.c(),u.m(t.parentNode,t)):u&&(u.d(1),u=null),h===(h=d(_))&&p?p.p(_,S):(p&&p.d(1),p=h&&h(_),p&&(p.c(),p.m(n,o))),_[5]?E?E.p(_,S):(E=Jo(_),E.c(),E.m(n,null)):E&&(E.d(1),E=null),(!l||S[0]&256)&&he(n,"meta-text-center",_[8]==="center"),(!l||S[0]&256)&&he(n,"meta-text",_[8]==="default");let U=i;i=N(_),i===U?~i&&y[i].p(_,S):(a&&(Yn(),Oe(y[U],1,1,()=>{y[U]=null}),Zn()),~i?(a=y[i],a?a.p(_,S):(a=y[i]=k[i](_),a.c()),Ee(a,1),a.m(s.parentNode,s)):a=null),_[5]?g&&(Yn(),Oe(g,1,1,()=>{g=null}),Zn()):g?(g.p(_,S),S[0]&32&&Ee(g,1)):(g=rr(_),g.c(),Ee(g,1),g.m(c.parentNode,c))},i(_){l||(Ee(a),Ee(g),l=!0)},o(_){Oe(a),Oe(g),l=!1},d(_){_&&(A(t),A(n),A(r),A(s),A(c)),u&&u.d(_),p&&p.d(),E&&E.d(),~i&&y[i].d(_),g&&g.d(_)}}}function Zo(e){let t,n=`translateX(${(e[17]||0)*100-100}%)`;return{c(){t=Ce("div"),we(t,"class","eta-bar svelte-au1olv"),Ye(t,"transform",n)},m(o,r){x(o,t,r)},p(o,r){r[0]&131072&&n!==(n=`translateX(${(o[17]||0)*100-100}%)`)&&Ye(t,"transform",n)},d(o){o&&A(t)}}}function Fc(e){let t;return{c(){t=V("processing |")},m(n,o){x(n,t,o)},p:$n,d(n){n&&A(t)}}}function Gc(e){let t,n=e[2]+1+"",o,r,i,a;return{c(){t=V("queue: "),o=V(n),r=V("/"),i=V(e[3]),a=V(" |")},m(s,c){x(s,t,c),x(s,o,c),x(s,r,c),x(s,i,c),x(s,a,c)},p(s,c){c[0]&4&&n!==(n=s[2]+1+"")&&me(o,n),c[0]&8&&me(i,s[3])},d(s){s&&(A(t),A(o),A(r),A(i),A(a))}}}function jc(e){let t,n=ln(e[7]),o=[];for(let r=0;r<n.length;r+=1)o[r]=$o(Xo(e,n,r));return{c(){for(let r=0;r<o.length;r+=1)o[r].c();t=St()},m(r,i){for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(r,i);x(r,t,i)},p(r,i){if(i[0]&128){n=ln(r[7]);let a;for(a=0;a<n.length;a+=1){const s=Xo(r,n,a);o[a]?o[a].p(s,i):(o[a]=$o(s),o[a].c(),o[a].m(t.parentNode,t))}for(;a<o.length;a+=1)o[a].d(1);o.length=n.length}},d(r){r&&A(t),oi(o,r)}}}function Yo(e){let t,n=e[40].unit+"",o,r,i=" ",a;function s(u,d){return u[40].length!=null?Vc:zc}let c=s(e),l=c(e);return{c(){l.c(),t=_e(),o=V(n),r=V(" | "),a=V(i)},m(u,d){l.m(u,d),x(u,t,d),x(u,o,d),x(u,r,d),x(u,a,d)},p(u,d){c===(c=s(u))&&l?l.p(u,d):(l.d(1),l=c(u),l&&(l.c(),l.m(t.parentNode,t))),d[0]&128&&n!==(n=u[40].unit+"")&&me(o,n)},d(u){u&&(A(t),A(o),A(r),A(a)),l.d(u)}}}function zc(e){let t=_t(e[40].index||0)+"",n;return{c(){n=V(t)},m(o,r){x(o,n,r)},p(o,r){r[0]&128&&t!==(t=_t(o[40].index||0)+"")&&me(n,t)},d(o){o&&A(n)}}}function Vc(e){let t=_t(e[40].index||0)+"",n,o,r=_t(e[40].length)+"",i;return{c(){n=V(t),o=V("/"),i=V(r)},m(a,s){x(a,n,s),x(a,o,s),x(a,i,s)},p(a,s){s[0]&128&&t!==(t=_t(a[40].index||0)+"")&&me(n,t),s[0]&128&&r!==(r=_t(a[40].length)+"")&&me(i,r)},d(a){a&&(A(n),A(o),A(i))}}}function $o(e){let t,n=e[40].index!=null&&Yo(e);return{c(){n&&n.c(),t=St()},m(o,r){n&&n.m(o,r),x(o,t,r)},p(o,r){o[40].index!=null?n?n.p(o,r):(n=Yo(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(o){o&&A(t),n&&n.d(o)}}}function Jo(e){let t,n=e[0]?`/${e[19]}`:"",o,r;return{c(){t=V(e[20]),o=V(n),r=V("s")},m(i,a){x(i,t,a),x(i,o,a),x(i,r,a)},p(i,a){a[0]&1048576&&me(t,i[20]),a[0]&524289&&n!==(n=i[0]?`/${i[19]}`:"")&&me(o,n)},d(i){i&&(A(t),A(o),A(r))}}}function qc(e){let t,n;return t=new ic({props:{margin:e[8]==="default"}}),{c(){ei(t.$$.fragment)},m(o,r){ai(t,o,r),n=!0},p(o,r){const i={};r[0]&256&&(i.margin=o[8]==="default"),t.$set(i)},i(o){n||(Ee(t.$$.fragment,o),n=!0)},o(o){Oe(t.$$.fragment,o),n=!1},d(o){ni(t,o)}}}function Wc(e){let t,n,o,r,i,a=`${e[15]*100}%`,s=e[7]!=null&&Qo(e);return{c(){t=Ce("div"),n=Ce("div"),s&&s.c(),o=_e(),r=Ce("div"),i=Ce("div"),we(n,"class","progress-level-inner svelte-au1olv"),we(i,"class","progress-bar svelte-au1olv"),Ye(i,"width",a),we(r,"class","progress-bar-wrap svelte-au1olv"),we(t,"class","progress-level svelte-au1olv")},m(c,l){x(c,t,l),tt(t,n),s&&s.m(n,null),tt(t,o),tt(t,r),tt(r,i),e[31](i)},p(c,l){c[7]!=null?s?s.p(c,l):(s=Qo(c),s.c(),s.m(n,null)):s&&(s.d(1),s=null),l[0]&32768&&a!==(a=`${c[15]*100}%`)&&Ye(i,"width",a)},i:$n,o:$n,d(c){c&&A(t),s&&s.d(),e[31](null)}}}function Qo(e){let t,n=ln(e[7]),o=[];for(let r=0;r<n.length;r+=1)o[r]=or(Wo(e,n,r));return{c(){for(let r=0;r<o.length;r+=1)o[r].c();t=St()},m(r,i){for(let a=0;a<o.length;a+=1)o[a]&&o[a].m(r,i);x(r,t,i)},p(r,i){if(i[0]&16512){n=ln(r[7]);let a;for(a=0;a<n.length;a+=1){const s=Wo(r,n,a);o[a]?o[a].p(s,i):(o[a]=or(s),o[a].c(),o[a].m(t.parentNode,t))}for(;a<o.length;a+=1)o[a].d(1);o.length=n.length}},d(r){r&&A(t),oi(o,r)}}}function Ko(e){let t,n,o,r,i=e[42]!==0&&Xc(),a=e[40].desc!=null&&er(e),s=e[40].desc!=null&&e[14]&&e[14][e[42]]!=null&&tr(),c=e[14]!=null&&nr(e);return{c(){i&&i.c(),t=_e(),a&&a.c(),n=_e(),s&&s.c(),o=_e(),c&&c.c(),r=St()},m(l,u){i&&i.m(l,u),x(l,t,u),a&&a.m(l,u),x(l,n,u),s&&s.m(l,u),x(l,o,u),c&&c.m(l,u),x(l,r,u)},p(l,u){l[40].desc!=null?a?a.p(l,u):(a=er(l),a.c(),a.m(n.parentNode,n)):a&&(a.d(1),a=null),l[40].desc!=null&&l[14]&&l[14][l[42]]!=null?s||(s=tr(),s.c(),s.m(o.parentNode,o)):s&&(s.d(1),s=null),l[14]!=null?c?c.p(l,u):(c=nr(l),c.c(),c.m(r.parentNode,r)):c&&(c.d(1),c=null)},d(l){l&&(A(t),A(n),A(o),A(r)),i&&i.d(l),a&&a.d(l),s&&s.d(l),c&&c.d(l)}}}function Xc(e){let t;return{c(){t=V(" /")},m(n,o){x(n,t,o)},d(n){n&&A(t)}}}function er(e){let t=e[40].desc+"",n;return{c(){n=V(t)},m(o,r){x(o,n,r)},p(o,r){r[0]&128&&t!==(t=o[40].desc+"")&&me(n,t)},d(o){o&&A(n)}}}function tr(e){let t;return{c(){t=V("-")},m(n,o){x(n,t,o)},d(n){n&&A(t)}}}function nr(e){let t=(100*(e[14][e[42]]||0)).toFixed(1)+"",n,o;return{c(){n=V(t),o=V("%")},m(r,i){x(r,n,i),x(r,o,i)},p(r,i){i[0]&16384&&t!==(t=(100*(r[14][r[42]]||0)).toFixed(1)+"")&&me(n,t)},d(r){r&&(A(n),A(o))}}}function or(e){let t,n=(e[40].desc!=null||e[14]&&e[14][e[42]]!=null)&&Ko(e);return{c(){n&&n.c(),t=St()},m(o,r){n&&n.m(o,r),x(o,t,r)},p(o,r){o[40].desc!=null||o[14]&&o[14][o[42]]!=null?n?n.p(o,r):(n=Ko(o),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(o){o&&A(t),n&&n.d(o)}}}function rr(e){let t,n,o,r;const i=e[30]["additional-loading-text"],a=ti(i,e,e[29],qo);return{c(){t=Ce("p"),n=V(e[9]),o=_e(),a&&a.c(),we(t,"class","loading svelte-au1olv")},m(s,c){x(s,t,c),tt(t,n),x(s,o,c),a&&a.m(s,c),r=!0},p(s,c){(!r||c[0]&512)&&me(n,s[9]),a&&a.p&&(!r||c[0]&536870912)&&si(a,i,s,s[29],r?ii(i,s[29],c,Dc):ri(s[29]),qo)},i(s){r||(Ee(a,s),r=!0)},o(s){Oe(a,s),r=!1},d(s){s&&(A(t),A(o)),a&&a.d(s)}}}function Zc(e){let t,n,o,r,i;const a=[Uc,Bc],s=[];function c(l,u){return l[4]==="pending"?0:l[4]==="error"?1:-1}return~(n=c(e))&&(o=s[n]=a[n](e)),{c(){t=Ce("div"),o&&o.c(),we(t,"class",r="wrap "+e[8]+" "+e[6]+" svelte-au1olv"),he(t,"hide",!e[4]||e[4]==="complete"||e[6]==="hidden"),he(t,"translucent",e[8]==="center"&&(e[4]==="pending"||e[4]==="error")||e[11]||e[6]==="minimal"),he(t,"generating",e[4]==="generating"&&e[6]==="full"),he(t,"border",e[12]),Ye(t,"position",e[10]?"absolute":"static"),Ye(t,"padding",e[10]?"0":"var(--size-8) 0")},m(l,u){x(l,t,u),~n&&s[n].m(t,null),e[33](t),i=!0},p(l,u){let d=n;n=c(l),n===d?~n&&s[n].p(l,u):(o&&(Yn(),Oe(s[d],1,1,()=>{s[d]=null}),Zn()),~n?(o=s[n],o?o.p(l,u):(o=s[n]=a[n](l),o.c()),Ee(o,1),o.m(t,null)):o=null),(!i||u[0]&320&&r!==(r="wrap "+l[8]+" "+l[6]+" svelte-au1olv"))&&we(t,"class",r),(!i||u[0]&336)&&he(t,"hide",!l[4]||l[4]==="complete"||l[6]==="hidden"),(!i||u[0]&2384)&&he(t,"translucent",l[8]==="center"&&(l[4]==="pending"||l[4]==="error")||l[11]||l[6]==="minimal"),(!i||u[0]&336)&&he(t,"generating",l[4]==="generating"&&l[6]==="full"),(!i||u[0]&4416)&&he(t,"border",l[12]),u[0]&1024&&Ye(t,"position",l[10]?"absolute":"static"),u[0]&1024&&Ye(t,"padding",l[10]?"0":"var(--size-8) 0")},i(l){i||(Ee(o),i=!0)},o(l){Oe(o),i=!1},d(l){l&&A(t),~n&&s[n].d(),e[33](null)}}}let Yt=[],Pn=!1;async function Yc(e,t=!0){if(!(window.__gradio_mode__==="website"||window.__gradio_mode__!=="app"&&t!==!0)){if
6(Yt.push(e),!Pn)Pn=!0;else return;await Nc(),requestAnimationFrame(()=>{let n=[0,0];for(let o=0;o<Yt.length;o++){const i=Yt[o].getBoundingClientRect();(o===0||i.top+window.scrollY<=n[0])&&(n[0]=i.top+window.scrollY,n[1]=o)}window.scrollTo({top:n[0]-20,behavior:"smooth"}),Pn=!1,Yt=[]})}}function $c(e,t,n){let o,{$$slots:r={},$$scope:i}=t;const a=Rc();let{i18n:s}=t,{eta:c=null}=t,{queue_position:l}=t,{queue_size:u}=t,{status:d}=t,{scroll_to_output:h=!1}=t,{timer:p=!0}=t,{show_progress:E="full"}=t,{message:k=null}=t,{progress:y=null}=t,{variant:N="default"}=t,{loading_text:g="Loading..."}=t,{absolute:_=!0}=t,{translucent:S=!1}=t,{border:U=!1}=t,{autoscroll:oe}=t,ie,Se=!1,ae=0,F=0,Q=null,M=null,Pe=0,ce=null,fe,se=null,Ge=!0;const it=()=>{n(0,c=n(27,Q=n(19,R=null))),n(25,ae=performance.now()),n(26,F=0),Se=!0,j()};function j(){requestAnimationFrame(()=>{n(26,F=(performance.now()-ae)/1e3),Se&&j()})}function je(){n(26,F=0),n(0,c=n(27,Q=n(19,R=null))),Se&&(Se=!1)}Mc(()=>{Se&&je()});let R=null;function K(T){zo[T?"unshift":"push"](()=>{se=T,n(16,se),n(7,y),n(14,ce),n(15,fe)})}const D=()=>{a("clear_status")};function Ae(T){zo[T?"unshift":"push"](()=>{ie=T,n(13,ie)})}return e.$$set=T=>{"i18n"in T&&n(1,s=T.i18n),"eta"in T&&n(0,c=T.eta),"queue_position"in T&&n(2,l=T.queue_position),"queue_size"in T&&n(3,u=T.queue_size),"status"in T&&n(4,d=T.status),"scroll_to_output"in T&&n(22,h=T.scroll_to_output),"timer"in T&&n(5,p=T.timer),"show_progress"in T&&n(6,E=T.show_progress),"message"in T&&n(23,k=T.message),"progress"in T&&n(7,y=T.progress),"variant"in T&&n(8,N=T.variant),"loading_text"in T&&n(9,g=T.loading_text),"absolute"in T&&n(10,_=T.absolute),"translucent"in T&&n(11,S=T.translucent),"border"in T&&n(12,U=T.border),"autoscroll"in T&&n(24,oe=T.autoscroll),"$$scope"in T&&n(29,i=T.$$scope)},e.$$.update=()=>{e.$$.dirty[0]&436207617&&(c===null&&n(0,c=Q),c!=null&&Q!==c&&(n(28,M=(performance.now()-ae)/1e3+c),n(19,R=M.toFixed(1)),n(27,Q=c))),e.$$.dirty[0]&335544320&&n(17,Pe=M===null||M<=0||!F?null:Math.min(F/M,1)),e.$$.dirty[0]&128&&y!=null&&n(18,Ge=!1),e.$$.dirty[0]&114816&&(y!=null?n(14,ce=y.map(T=>{if(T.index!=null&&T.length!=null)return T.index/T.length;if(T.progress!=null)return T.progress})):n(14,ce=null),ce?(n(15,fe=ce[ce.length-1]),se&&(fe===0?n(16,se.style.transition="0",se):n(16,se.style.transition="150ms",se))):n(15,fe=void 0)),e.$$.dirty[0]&16&&(d==="pending"?it():je()),e.$$.dirty[0]&20979728&&ie&&h&&(d==="pending"||d==="complete")&&Yc(ie,oe),e.$$.dirty[0]&8388624,e.$$.dirty[0]&67108864&&n(20,o=F.toFixed(1))},[c,s,l,u,d,p,E,y,N,g,_,S,U,ie,ce,fe,se,Pe,Ge,R,o,a,h,k,oe,ae,F,Q,M,i,r,K,D,Ae]}class Jc extends Lc{constructor(t){super(),Pc(this,t,$c,Zc,Ic,{i18n:1,eta:0,queue_position:2,queue_size:3,status:4,scroll_to_output:22,timer:5,show_progress:6,message:23,progress:7,variant:8,loading_text:9,absolute:10,translucent:11,border:12,autoscroll:24},null,[-1,-1])}get i18n(){return this.$$.ctx[1]}set i18n(t){this.$$set({i18n:t}),Y()}get eta(){return this.$$.ctx[0]}set eta(t){this.$$set({eta:t}),Y()}get queue_position(){return this.$$.ctx[2]}set queue_position(t){this.$$set({queue_position:t}),Y()}get queue_size(){return this.$$.ctx[3]}set queue_size(t){this.$$set({queue_size:t}),Y()}get status(){return this.$$.ctx[4]}set status(t){this.$$set({status:t}),Y()}get scroll_to_output(){return this.$$.ctx[22]}set scroll_to_output(t){this.$$set({scroll_to_output:t}),Y()}get timer(){return this.$$.ctx[5]}set timer(t){this.$$set({timer:t}),Y()}get show_progress(){return this.$$.ctx[6]}set show_progress(t){this.$$set({show_progress:t}),Y()}get message(){return this.$$.ctx[23]}set message(t){this.$$set({message:t}),Y()}get progress(){return this.$$.ctx[7]}set progress(t){this.$$set({progress:t}),Y()}get variant(){return this.$$.ctx[8]}set variant(t){this.$$set({variant:t}),Y()}get loading_text(){return this.$$.ctx[9]}set loading_text(t){this.$$set({loading_text:t}),Y()}get absolute(){return this.$$.ctx[10]}set absolute(t){this.$$set({absolute:t}),Y()}get translucent(){return this.$$.ctx[11]}set translucent(t){this.$$set({translucent:t}),Y()}get border(){return this.$$.ctx[12]}set border(t){this.$$set({border:t}),Y()}get autoscroll(){return this.$$.ctx[24]}set autoscroll(t){this.$$set({autoscroll:t}),Y()}}/*! @license DOMPurify 3.0.3 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.3/LICENSE */const{entries:li,setPrototypeOf:ir,isFrozen:Qc,getPrototypeOf:Kc,getOwnPropertyDescriptor:ef}=Object;let{freeze:ne,seal:Te,create:tf}=Object,{apply:Jn,construct:Qn}=typeof Reflect<"u"&&Reflect;Jn||(Jn=function(t,n,o){return t.apply(n,o)});ne||(ne=function(t){return t});Te||(Te=function(t){return t});Qn||(Qn=function(t,n){return new t(...n)});const nf=pe(Array.prototype.forEach),ar=pe(Array.prototype.pop),kt=pe(Array.prototype.push),en=pe(String.prototype.toLowerCase),In=pe(String.prototype.toString),of=pe(String.prototype.match),ye=pe(String.prototype.replace),rf=pe(String.prototype.indexOf),af=pe(String.prototype.trim),ue=pe(RegExp.prototype.test),Ct=sf(TypeError);function pe(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return Jn(e,t,o)}}function sf(e){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return Qn(e,n)}}
6function C(e,t,n){var o;n=(o=n)!==null&&o!==void 0?o:en,ir&&ir(e,null);let r=t.length;for(;r--;){let i=t[r];if(typeof i=="string"){const a=n(i);a!==i&&(Qc(t)||(t[r]=a),i=a)}e[i]=!0}return e}function ht(e){const t=tf(null);for(const[n,o]of li(e))t[n]=o;return t}function $t(e,t){for(;e!==null;){const o=ef(e,t);if(o){if(o.get)return pe(o.get);if(typeof o.value=="function")return pe(o.value)}e=Kc(e)}function n(o){return console.warn("fallback value for",o),null}return n}const sr=ne(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Nn=ne(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Mn=ne(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),lf=ne(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Rn=ne(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),uf=ne(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),lr=ne(["#text"]),ur=ne(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Hn=ne(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),cr=ne(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","
6subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Jt=ne(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),cf=Te(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ff=Te(/<%[\w\W]*|[\w\W]*%>/gm),df=Te(/\${[\w\W]*}/gm),hf=Te(/^data-[\-\w.\u00B7-\uFFFF]/),_f=Te(/^aria-[\-\w]+$/),ui=Te(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),mf=Te(/^(?:\w+script|data):/i),pf=Te(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ci=Te(/^html$/i);var fr=Object.freeze({__proto__:null,MUSTACHE_EXPR:cf,ERB_EXPR:ff,TMPLIT_EXPR:df,DATA_ATTR:hf,ARIA_ATTR:_f,IS_ALLOWED_URI:ui,IS_SCRIPT_OR_DATA:mf,ATTR_WHITESPACE:pf,DOCTYPE_NAME:ci});const gf=()=>typeof window>"u"?null:window,bf=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let o=null;const r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(o=n.getAttribute(r));const i="dompurify"+(o?"#"+o:"");try{return t.createPolicy(i,{createHTML(a){return a},createScriptURL(a){return a}})}catch{return console.warn("TrustedTypes policy "+i+" could not be created."),null}};function fi(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:gf();const t=w=>fi(w);if(t.version="3.0.3",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;const n=e.document,o=n.currentScript;let{document:r}=e;const{DocumentFragment:i,HTMLTemplateElement:a,Node:s,Element:c,NodeFilter:l,NamedNodeMap:u=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:d,DOMParser:h,trustedTypes:p}=e,E=c.prototype,k=$t(E,"cloneNode"),y=$t(E,"nextSibling"),N=$t(E,"childNodes"),g=$t(E,"parentNode");if(typeof a=="function"){const w=r.createElement("template");w.content&&w.content.ownerDocument&&(r=w.content.ownerDocument)}let _,S="";const{implementation:U,createNodeIterator:oe,createDocumentFragment:ie,getElementsByTagName:Se}=r,{importNode:ae}=n;let F={};t.isSupported=typeof li=="function"&&typeof g=="function"&&U&&U.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Q,ERB_EXPR:M,TMPLIT_EXPR:Pe,DATA_ATTR:ce,ARIA_ATTR:fe,IS_SCRIPT_OR_DATA:se,ATTR_WHITESPACE:Ge}=fr;let{IS_ALLOWED_URI:it}=fr,j=null;const je=C({},[...sr,...Nn,...Mn,...Rn,...lr]);let R=null;const K=C({},[...ur,...Hn,...cr,...Jt]);let D=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ae=null,T=null,At=!0,at=!0,Ht=!1,Dt=!0,ze=!1,Ie=!1,Ve=!1,Ne=!1,qe=!1,st=!1,lt=!1,Bt=!0,Ut=!1;const b="user-content-";let q=!0,B=!1,W={},We=null;const oo=C({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ro=null;const io=C({},["audio","video","img","source","image","track"]);let mn=null;const ao=C({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ft="http://www.w3.org/1998/Math/MathML",Gt="http://www.w3.org/2000/svg",Me="http://www.w3.org/1999/xhtml";let ut=Me,pn=!1,gn=null;const Ls=C({},[Ft,Gt,Me],In);let Ke;const Ps=["application/xhtml+xml","text/html"],Is="text/html";let X,ct=null;const Ns=r.createElement("form"),so=function(f){return f instanceof RegExp||f instanceof Function},bn=function(f){if(!(ct&&ct===f)){if((!f||typeof f!="object")&&(f={}),f=ht(f),Ke=Ps.indexOf(f.PARSER_MEDIA_TYPE)===-1?Ke=Is:Ke=f.PARSER_MEDIA_TYPE,X=Ke==="application/xhtml+xml"?In:en,j="ALLOWED_TAGS"in f?C({},f.ALLOWED_TAGS,X):je,R="ALLOWED_ATTR"in f?C({},f.ALLOWED_ATTR,X):K,gn="ALLOWED_NAMESPACES"in f?C({},f.ALLOWED_NAMESPACES,In):Ls,mn="ADD_URI_SAFE_ATTR"in f?C(ht(ao),f.ADD_URI_SAFE_ATTR,X):ao,ro="ADD_DATA_URI_TAGS"in f?C(ht(io),f.ADD_DATA_URI_TAGS,X):io,We="FORBID_CONTENTS"in f?C({},f.FORBID_CONTENTS,X):oo,Ae="FORBID_TAGS"in f?C({},f.FORBID_TAGS,X):{},T="FORBID_ATTR"in f?C({},f.FORBID_ATTR,X):{},W="USE_PROFILES"in f?f.USE_PROFILES:!1,At=f.ALLOW_ARIA_ATTR!==!1,at=f.ALLOW_DATA_ATTR!==!1,Ht=f.ALLOW_UNKNOWN_PROTOCOLS||!1,Dt=f.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ze=f.SAFE_FOR_TEMPLATES||!1,Ie=f.WHOLE_DOCUMENT||!1,qe=f.RETURN_DOM||!1,st=f.RETURN_DOM_FRAGMENT||!1,lt=f.RETURN_TRUSTED_TYPE||!1,Ne=f.FORCE_BODY||!1,Bt=f.SANITIZE_DOM!==!1,Ut=f.SANITIZE_NAMED_PROPS||!1,q=f.KEEP_CONTENT!==!1,B=f.IN_PLACE||!1,it=f.ALLOWED_URI_REGEXP||ui,ut=f.NAMESPACE||Me,D=f.CUSTOM_ELEMENT_HANDLING||{},f.CUSTOM_ELEMENT_HANDLING&&so(f.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(D.tagNameCheck=f.CUSTOM_ELEMENT_HANDLING.tagNameCheck),f.CUSTOM_ELEMENT_HANDLING&&so(f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(D.attributeNameCheck=f.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),f.CUSTOM_ELEMENT_HANDLING&&typeof f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(D.allowCustomizedBuiltInElements=f.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ze&&(at=!1),st&&(qe=!0),W&&(j=C({},[...lr]),R=[],W.html===!0&&(C(j,sr),C(R,ur)),W.svg===!0&&(C(j,Nn),C(R,Hn),C(R,Jt)),W.svgFilters===!0&&(C(j,Mn),C(R,Hn),C(R,Jt)),W.mathMl===!0&&(C(j,Rn),C(R,cr),C(R,Jt))),f.ADD_TAGS&&(j===je&&(j=ht(j)),C(j,f.ADD_TAGS,X)),f.ADD_ATTR&&(R===K&&(R=ht(R)),C(R,f.ADD_ATTR,X)),f.ADD_URI_SAFE_ATTR&&C(mn,f.ADD_URI_SAFE_ATTR,X),f.FORBID_CONTENTS&&(We===oo&&(We=ht(We)),C(We,f.FORBID_CONTENTS,X)),q&&(j["#text"]=!0),Ie&&C(j,["html","head","body"]),j.table&&(C(j,["tbody"]),delete Ae.tbody),f.TRUSTED_TYPES_POLICY){if(typeof f.TRUSTED_TYPES_POLICY.createHTML!="function")throw Ct('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof f.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Ct('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_=f.TRUSTED_TYPES_POLICY,S=_.createHTML("")}else _===void 0&&(_=bf(p,o)),_!==null&&typeof S=="string"&&(S=_.createHTML(""));ne&&ne(f),ct=f}},lo=C({},["mi","mo","mn","ms","mtext"]),uo=C({},["foreignobject","desc","title","annotation-xml"]),Ms=C({},["title","style","font","a","script"]),jt=C({},Nn);C(jt,Mn),C(jt,lf);const vn=C({},Rn);C(vn,uf);const Rs=function(f){let m=g(f);(!m||!m.tagName)&&(m={namespaceURI:ut,tagName:"template"});const v=en(f.tagName),H=en(m.tagName);return gn[f.namespaceURI]?f.namespaceURI===Gt?m.namespaceURI===Me?v==="svg":m.namespaceURI===Ft?v==="svg"&&(H==="annotation-xml"||lo[H]):!!jt[v]:f.namespaceURI===Ft?m.namespaceURI===Me?v==="math":m.namespaceURI===Gt?v==="math"&&uo[H]:!!vn[v]:f.namespaceURI===Me?m.namespaceURI===Gt&&!uo[H]||m.namespaceURI===Ft&&!lo[H]?!1:!vn[v]&&(Ms[v]||!jt[v]):!!(Ke==="application/xhtml+xml"&&gn[f.namespaceURI]):!1},et=function(f){kt(t.removed,{element:f});try{f.parentNode.removeChild(f)}catch{f.remove()}},yn=function(f,m){try{kt(t.removed,{attribute:m.getAttributeNode(f),from:m})}catch{kt(t.removed,{attribute:null,from:m})}if(m.removeAttribute(f),f==="is"&&!R[f])if(qe||st)try{et(m)}catch{}else try{m.setAttribute(f,"")}catch{}},co=function(f){let m,v;if(Ne)f="<remove></remove>"+f;else{const de=of(f,/^[\r\n\t ]+/);v=de&&de[0]}Ke==="application/xhtml+xml"&&ut===Me&&(f='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+f+"</body></html>");const H=_?_.createHTML(f):f;if(ut===Me)try{m=new h().parseFromString(H,Ke)}catch{}if(!m||!m.documentElement){m=U.createDocument(ut,"template",null);try{m.documentElement.innerHTML=pn?S:H}catch{}}const Z=m.body||m.documentElement;return f&&v&&Z.insertBefore(r.createTextNode(v),Z.childNodes[0]||null),ut===Me?Se.call(m,Ie?"html":"body")[0]:Ie?m.documentElement:Z},fo=function(f){return oe.call(f.ownerDocument||f,f,l.SHOW_ELEMENT|l.SHOW_COMMENT|l.SHOW_TEXT,null,!1)},Hs=function(f){return f instanceof d&&(typeof f.nodeName!="string"||typeof f.textContent!="string"||typeof f.removeChild!="function"||!(f.attributes instanceof u)||typeof f.removeAttribute!="function"||typeof f.setAttribute!="function"||typeof f.namespaceURI!="string"||typeof f.insertBefore!="function"||typeof f.hasChildNodes!="function")},zt=function(f){return typeof s=="object"?f instanceof s:f&&typeof f=="object"&&typeof f.nodeType=="number"&&typeof f.nodeName=="string"},Re=function(f,m,v){F[f]&&nf(F[f],H=>{H.call(t,m,v,ct)})},ho=function(f){let m;if(Re("beforeSanitizeElements",f,null),Hs(f))return et(f),!0;const v=X(f.nodeName);if(Re("uponSanitizeElement",f,{tagName:v,allowedTags:j}),f.hasChildNodes()&&!zt(f.firstElementChild)&&(!zt(f.content)||!zt(f.content.firstElementChild))&&ue(/<[/\w]/g,f.innerHTML)&&ue(/<[/\w]/g,f.textContent))return et(f),!0;if(!j[v]||Ae[v]){if(!Ae[v]&&mo(v)&&(D.tagNameCheck instanceof RegExp&&ue(D.tagNameCheck,v)||D.tagNameCheck instanceof Function&&D.tagNameCheck(v)))return!1;if(q&&!We[v]){const H=g(f)||f.parentNode,Z=N(f)||f.childNodes;if(Z&&H){const de=Z.length;for(let z=de-1;z>=0;--z)H.insertBefore(k(Z[z],!0),y(f))}}return et(f),!0}return f instanceof c&&!Rs(f)||(v==="noscript"||v==="noembed")&&ue(/<\/no(script|embed)/i,f.innerHTML)?(et(f),!0):(ze&&f.nodeType===3&&(m=f.textContent,m=ye(m,Q," "),m=ye(m,M," "),m=ye(m,Pe," "),f.textContent!==m&&(kt(t.removed,{element:f.cloneNode()}),f.textContent=m)),Re("afterSanitizeElements",f,null),!1)},_o=function(f,m,v){if(Bt&&(m==="id"||m==="name")&&(v in r||v in Ns))return!1;
vendor: 4,285 bytes, lines 6-7
6if(!(at&&!T[m]&&ue(ce,m))){if(!(At&&ue(fe,m))){if(!R[m]||T[m]){if(!(mo(f)&&(D.tagNameCheck instanceof RegExp&&ue(D.tagNameCheck,f)||D.tagNameCheck instanceof Function&&D.tagNameCheck(f))&&(D.attributeNameCheck instanceof RegExp&&ue(D.attributeNameCheck,m)||D.attributeNameCheck instanceof Function&&D.attributeNameCheck(m))||m==="is"&&D.allowCustomizedBuiltInElements&&(D.tagNameCheck instanceof RegExp&&ue(D.tagNameCheck,v)||D.tagNameCheck instanceof Function&&D.tagNameCheck(v))))return!1}else if(!mn[m]){if(!ue(it,ye(v,Ge,""))){if(!((m==="src"||m==="xlink:href"||m==="href")&&f!=="script"&&rf(v,"data:")===0&&ro[f])){if(!(Ht&&!ue(se,ye(v,Ge,"")))){if(v)return!1}}}}}}return!0},mo=function(f){return f.indexOf("-")>0},po=function(f){let m,v,H,Z;Re("beforeSanitizeAttributes",f,null);const{attributes:de}=f;if(!de)return;const z={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:R};for(Z=de.length;Z--;){m=de[Z];const{name:xe,namespaceURI:En}=m;if(v=xe==="value"?m.value:af(m.value),H=X(xe),z.attrName=H,z.attrValue=v,z.keepAttr=!0,z.forceKeepAttr=void 0,Re("uponSanitizeAttribute",f,z),v=z.attrValue,z.forceKeepAttr||(yn(xe,f),!z.keepAttr))continue;if(!Dt&&ue(/\/>/i,v)){yn(xe,f);continue}ze&&(v=ye(v,Q," "),v=ye(v,M," "),v=ye(v,Pe," "));const go=X(f.nodeName);if(_o(go,H,v)){if(Ut&&(H==="id"||H==="name")&&(yn(xe,f),v=b+v),_&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!En)switch(p.getAttributeType(go,H)){case"TrustedHTML":{v=_.createHTML(v);break}case"TrustedScriptURL":{v=_.createScriptURL(v);break}}try{En?f.setAttributeNS(En,xe,v):f.setAttribute(xe,v),ar(t.removed)}catch{}}}Re("afterSanitizeAttributes",f,null)},Ds=function w(f){let m;const v=fo(f);for(Re("beforeSanitizeShadowDOM",f,null);m=v.nextNode();)Re("uponSanitizeShadowNode",m,null),!ho(m)&&(m.content instanceof i&&w(m.content),po(m));Re("afterSanitizeShadowDOM",f,null)};return t.sanitize=function(w){let f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},m,v,H,Z;if(pn=!w,pn&&(w="<!-->"),typeof w!="string"&&!zt(w))if(typeof w.toString=="function"){if(w=w.toString(),typeof w!="string")throw Ct("dirty is not a string, aborting")}else throw Ct("toString is not a function");if(!t.isSupported)return w;if(Ve||bn(f),t.removed=[],typeof w=="string"&&(B=!1),B){if(w.nodeName){const xe=X(w.nodeName);if(!j[xe]||Ae[xe])throw Ct("root node is forbidden and cannot be sanitized in-place")}}else if(w instanceof s)m=co("<!---->"),v=m.ownerDocument.importNode(w,!0),v.nodeType===1&&v.nodeName==="BODY"||v.nodeName==="HTML"?m=v:m.appendChild(v);else{if(!qe&&!ze&&!Ie&&w.indexOf("<")===-1)return _&&lt?_.createHTML(w):w;if(m=co(w),!m)return qe?null:lt?S:""}m&&Ne&&et(m.firstChild);const de=fo(B?w:m);for(;H=de.nextNode();)ho(H)||(H.content instanceof i&&Ds(H.content),po(H));if(B)return w;if(qe){if(st)for(Z=ie.call(m.ownerDocument);m.firstChild;)Z.appendChild(m.firstChild);else Z=m;return(R.shadowroot||R.shadowrootmod)&&(Z=ae.call(n,Z,!0)),Z}let z=Ie?m.outerHTML:m.innerHTML;return Ie&&j["!doctype"]&&m.ownerDocument&&m.ownerDocument.doctype&&m.ownerDocument.doctype.name&&ue(ci,m.ownerDocument.doctype.name)&&(z="<!DOCTYPE "+m.ownerDocument.doctype.name+`>
7`+z),ze&&(z=ye(z,Q," "),z=ye(z,M," "),z=ye(z,Pe," ")),_&&lt?_.createHTML(z):z},t.setConfig=function(w){bn(w),Ve=!0},t.clearConfig=function(){ct=null,Ve=!1},t.isValidAttribute=function(w,f,m){ct||bn({});const v=X(w),H=X(f);return _o(v,H,m)},t.addHook=function(w,f){typeof f=="function"&&(F[w]=F[w]||[],kt(F[w],f))},t.removeHook=function(w){if(F[w])return ar(F[w])},t.removeHooks=function(w){F[w]&&(F[w]=[])},t.removeAllHooks=function(){F={}},t}var ph=fi();const di={built_with_gradio:"تم الإنشاء بإستخدام Gradio",clear:"أمسح",or:"أو",submit:"أرسل"},hi={click_to_upload:"إضغط للتحميل",drop_audio:"أسقط الملف الصوتي هنا",drop_csv:"أسقط ملف البيانات هنا",drop_file:"أسقط الملف هنا",drop_image:"أسقط الصورة هنا",drop_video:"أسقط الفيديو هنا"},vf={common:di,upload_text:hi},yf=Object.freeze(Object.defineProperty({__proto__:null,common:di,default:vf,upload_text:hi},Symbol.toStringTag,{value:"Module"})),_i={built_with_gradio:"Construït amb gradio",clear:"Neteja",empty:"Buit",error:"Error",loading:"S'està carregant",or:"o",
7submit:"Envia"},mi={click_to_upload:"Feu clic per pujar",drop_audio:"Deixeu anar l'àudio aquí",drop_csv:"Deixeu anar el CSV aquí",drop_file:"Deixeu anar el fitxer aquí",drop_image:"Deixeu anar la imatge aquí",drop_video:"Deixeu anar el vídeo aquí"},Ef={common:_i,upload_text:mi},wf=Object.freeze(Object.defineProperty({__proto__:null,common:_i,default:Ef,upload_text:mi},Symbol.toStringTag,{value:"Module"})),pi={annotated_image:"وێنەی نیشانە کراو"},gi={allow_recording_access:"تکایە ڕێگە بدە بە بەکارهێنانی مایکرۆفۆنەکە بۆ تۆمارکردن.",audio:"دەنگ",record_from_microphone:"تۆمارکردن لە مایکەوە",stop_recording:"تۆمارکردن بوەستێنە"},bi={connection_can_break:"لە مۆبایلدا، پەیوەندییەکە دەکرێت بپچڕێت ئەگەر ئەم تابە چالاک نەبێت یان ئامێرەکە بچێتە دۆخی پشوو، ئەمەش شوێنی خۆت لە ڕیزدا لەدەست دەدات.",long_requests_queue:"ڕیزێکی درێژی داواکاری Ù
7‡Û•یە. ئەم سپەیسە دووباد بکە بۆی چاوەڕوان نەبیت.",lost_connection:"پەیوەندی پچڕا بەهۆی جێهێشتنی پەیج. "},vi={checkbox:"بۆکسی هەڵبژاردن",checkbox_group:"گروپی بۆکسی هەڵبژاردن"},yi={code:"کۆد"},Ei={color_picker:"ڕەنگ هەڵبژاردە"},wi={built_with:"دروستکراوە لەگەڵ...",built_with_gradio:"Gradio دروستکراوە بە",clear:"خاوێنکردنەوە",download:"دابەزاندن",edit:"بژارکردن",empty:"بەتاڵ",error:"هەڵە",hosted_on:"میوانداری کراوە لە",loading:"بارکردن",logo:"لۆگۆ",or:"یان",remove:"لابردن",share:"هاوبەشکردن",submit:"پێشکەشکردن",undo:"پووچکردنەوە"},Ti={incorrect_format:"فۆرماتێکی هەڵە، تەنها فایلەکانی CSV و TSV پشتگیری دەکرێن",new_column:"ستوونی نوێ",new_row:"ڕیزێکی نوێ"},Si={dropdown:"فڕێدانە خوار"},Ai={build_error:"هەڵەی دروستکردن هەیە",config_error:"هەڵەی ڕێکخستن هەیە",contact_page_author:"تکایە پەیوەندی بە نووسەری پەیجەوە بکەن بۆ ئەوەی ئاگاداریان بکەنەوە.",no_app_file:"هیچ فایلێکی ئەپ نییە",runtime_error:"هەڵەیەکی runtime هەیە",space_not_working:'"سپەیسەکە کارناکات چونکە" {0}',space_paused:"فەزاکە وەستاوە",use_via_api:"لە ڕێگەی API بەکاری بهێنە"},xi={uploading:"بارکردن..."},ki={highlighted_text:"دەقی ڕۆشن کراو"},Ci={allow_webcam_access:"تکایە ڕێگە بدە بە بەکارهێنانی وێبکامەکە بۆ تۆمارکردن.",brush_color:"ڕەنگی فڵچە",brush_radius:"تیژڕەوی فڵچە",image:"وێنە",remove_image:"لابردنی وێنە",select_brush_color:"ڕەنگی فڵچە هەڵبژێرە",start_drawing:"دەست بکە بە وێنەکێشان",use_brush:"فڵچە بەکاربهێنە"},Oi={label:"لەیبڵ"},Li={enable_cookies:"ئەگەر تۆ سەردانی HuggingFace Space دەکەیت لە دۆخی نادیاردا، پێویستە کووکی لایەنی سێیەم چالاک بکەیت.",incorrect_credentials:"بڕوانامەی هەڵە",login:"چونه‌ ژووره‌وه‌"},Pi={number:"ژمارە"},Ii={plot:"هێڵکاری"},Ni={radio:"ڕادیۆ"},Mi={slider:"خلیسکە"},Ri={click_to_upload:"کلیک بکە بۆ بارکردن",drop_audio:"دەنگ لێرە دابنێ",drop_csv:"لێرەدا CSV دابنێ",drop_file:"فایل لێرە دابنێ",drop_image:"وێنە لێرەدا دابنێ",drop_video:"ڤیدیۆ لێرە دابنێ"},Tf={"3D_model":{"3d_model":"مۆدێلی سێ ڕەهەندی"},annotated_image:pi,audio:gi,blocks:bi,checkbox:vi,code:yi,color_picker:Ei,common:wi,dataframe:Ti,dropdown:Si,errors:Ai,file:xi,highlighted_text:ki,image:Ci,label:Oi,login:Li,number:Pi,plot:Ii,radio:Ni,slider:Mi,upload_text:Ri},Sf=Object.freeze(Object.defineProperty({__proto__:null,annotated_image:pi,audio:gi,blocks:bi,checkbox:vi,code:yi,color_picker:Ei,common:wi,dataframe:Ti,default:Tf,dropdown:Si,errors:Ai,file:xi,highlighted_text:ki,image:Ci,label:Oi,login:Li,number:Pi,plot:Ii,radio:Ni,slider:Mi,upload_text:Ri},Symbol.toStringTag,{value:"Module"})),Hi={built_with_gradio:"Mit Gradio erstellt",clear:"Löschen",or:"oder",submit:"Absenden"},Di={click_to_upload:"Hochladen",drop_audio:"Audio hier ablegen",drop_csv:"CSV Datei hier ablegen",drop_file:"Datei hier ablegen",drop_image:"Bild hier ablegen",drop_video:"Video hier ablegen"},Af={common:Hi,upload_text:Di},xf=Object.freeze(Object.defineProperty({__proto__:null,common:Hi,default:Af,upload_text:Di},Symbol.toStringTag,{value:"Module"})),Bi={annotated_image:"Annotated Image"},Ui={allow_recording_access:"Please allow access to the microphone for recording.",audio:"Audio",record_from_microphone:"Record from microphone",stop_recording:"Stop recording",no_device_support:"Media devices could not be accessed. Check that you are running on a secure origin (https) or localhost (
7or you have passed a valid SSL certificate to ssl_verify), and you have allowed browser access to your device.",stop:"Stop",resume:"Resume",record:"Record",no_microphone:"No microphone found",pause:"Pause",play:"Play"},Fi={connection_can_break:"On mobile, the connection can break if this tab is unfocused or the device sleeps, losing your position in queue.",long_requests_queue:"There is a long queue of requests pending. Duplicate this Space to skip.",lost_connection:"Lost connection due to leaving page. Rejoining queue..."},Gi={checkbox:"Checkbox",checkbox_group:"Checkbox Group"},ji={code:"Code"},zi={color_picker:"Color Picker"},Vi={built_with:"built with",built_with_gradio:"Built with Gradio",clear:"Clear",download:"Download",edit:"Edit",empty:"Empty",error:"Error",hosted_on:"Hosted on",loading:"Loading",logo:"logo",or:"or",remove:"Remove",share:"Share",submit:"Submit",undo:"Undo",no_devices:"No devices found"},qi={incorrect_format:"Incorrect format, only CSV and TSV files are supported",new_column:"New column",new_row:"New row"},Wi={dropdown:"Dropdown"},Xi={build_error:"there is a build error",config_error:"there is a config error",contact_page_author:"Please contact the author of the page to let them know.",no_app_file:"there is no app file",runtime_error:"there is a runtime error",space_not_working:`"Space isn't working because" {0}`,space_paused:"the space is paused",use_via_api:"Use via API"},Zi={uploading:"Uploading..."},Yi={highlighted_text:"Highlighted Text"},$i={allow_webcam_access:"Please allow access to the webcam for recording.",brush_color:"Brush color",brush_radius:"Brush radius",image:"Image",remove_image:"Remove Image",select_brush_color:"Select brush color",start_drawing:"Start drawing",use_brush:"Use brush"},Ji={label:"Label"},Qi={enable_cookies:"If you are visiting a HuggingFace Space in Incognito mode, you must enable third party cookies.",incorrect_credentials:"Incorrect Credentials",login:"Login"},Ki={number:"Number"},ea={plot:"Plot"},ta={radio:"Radio"},na={slider:"Slider"},oa={click_to_upload:"Click to Upload",drop_audio:"Drop Audio Here",drop_csv:"Drop CSV Here",drop_file:"Drop File Here",drop_image:"Drop Image Here",drop_video:"Drop Video Here",drop_gallery:"Drop Image(s) Here",paste_clipboard:"Paste from Clipboard"},kf={"3D_model":{"3d_model":"3D Model"},annotated_image:Bi,audio:Ui,blocks:Fi,checkbox:Gi,code:ji,color_picker:zi,common:Vi,dataframe:qi,dropdown:Wi,errors:Xi,file:Zi,highlighted_text:Yi,image:$i,label:Ji,login:Qi,number:Ki,plot:ea,radio:ta,slider:na,upload_text:oa},Cf=Object.freeze(Object.defineProperty({__proto__:null,annotated_image:Bi,audio:Ui,blocks:Fi,checkbox:Gi,code:ji,color_picker:zi,common:Vi,dataframe:qi,default:kf,dropdown:Wi,errors:Xi,file:Zi,highlighted_text:Yi,image:$i,label:Ji,login:Qi,number:Ki,plot:ea,radio:ta,slider:na,upload_text:oa},Symbol.toStringTag,{value:"Module"})),ra={built_with_gradio:"Construido con Gradio",clear:"Limpiar",or:"o",submit:"Enviar"},ia={click_to_upload:"Haga click para cargar",drop_audio:"Coloque el audio aquí",drop_csv:"Coloque el CSV aquí",drop_file:"Coloque el archivo aquí",drop_image:"Coloque la imagen aquí",drop_video:"Coloque el video aquí",drop_gallery:"Coloque las imagenes aquí"},Of={common:ra,upload_text:ia},Lf=Object.freeze(Object.defineProperty({__proto__:null,common:ra,default:Of,upload_text:ia},Symbol.toStringTag,{value:"Module"})),aa={built_with_gradio:"Gradiorekin eraikia",clear:"Garbitu",or:"edo",submit:"Bidali"},sa={click_to_upload:"Klik egin kargatzeko",drop_audio:"Jarri hemen audioa",drop_csv:"Jarri hemen CSVa",drop_file:"Jarri hemen fitxategia",drop_image:"Jarri hemen irudia",drop_video:"Jarri hemen bideoa"},Pf={common:aa,upload_text:sa},If=Object.freeze(Object.defineProperty({__proto__:null,common:aa,default:Pf,upload_text:sa},Symbol.toStringTag,{value:"Module"})),la={built_with_gradio:"ساخته شده با gradio",clear:"حذف",or:"یا",submit:"ارسال"},ua={click_to_upload:"برای آپلود کلیک کنید",drop_audio:"صوت را اینجا رها کنید",drop_csv:"فایل csv را  اینجا رها کنید",drop_file:"فایل را اینجا رها کنید",drop_image:"تصویر را اینجا رها کنید",drop_video:"ویدیو را اینجا رها کنید"},Nf={common:la,upload_text:ua},Mf=Object.freeze(Object.defineProperty({__proto__:null,common:la,default:Nf,upload_text:ua},Symbol.toStringTag,{value:"Module"})),ca={allow_recording_access:"Veuillez autoriser l'accès à l'enregistrement",audio:"Audio",record_from_microphone:"Enregistrer avec le microphone",stop_recording:"Arrêter l'enregistrement"},fa={built_with:"Construit avec",built_with_gradio:"Construit avec Gradio",clear:"Effacer",download:"Télécharger",edit:"Éditer",error:"Erreur",loading:"Chargement",logo:"logo",or:"ou",remove:"Supprimer",share:"Partager",submit:"Soumettre"},da={click_to_upload:"Cliquer pour Télécharger",drop_audio:"Déposer l'Audio Ici",drop_csv:"Déposer le CSV Ici",drop_file:"Déposer le Fichier Ici",drop_image:"Déposer l'Image Ici",drop_video:"Déposer la Vidéo Ici"},Rf={audio:ca,common:fa,upload_text:da},Hf=Object.freeze(Object.defineProperty({__proto__:null,audio:ca,common:fa,default:Rf,upload_text:da},Symbol.toStringTag,{value:"Module"})),ha={built_with_gradio:"בנוי עם גרדיו",clear:"נקה",or:"או",submit:"שלח"},_a={click_to_upload:"לחץ כדי להעלות",drop_audio:"גרור לכא×
7Ÿ קובץ שמע",drop_csv:"גרור csv קובץ לכאן",drop_file:"גרור קובץ לכאן",drop_image:"גרור קובץ תמונה לכאן",drop_video:"גרור קובץ סרטון לכאן"},Df={common:ha,upload_text:_a},Bf=Object.freeze(Object.defineProperty({__proto__:null,common:ha,default:Df,upload_text:_a},Symbol.toStringTag,{value:"Module"})),ma={built_with_gradio:"Gradio से बना",clear:"हटाये",or:"या",submit:"सबमिट करे"},pa={click_to_upload:"अपलोड के लिए बटन दबायें",drop_audio:"यहाँ ऑडियो ड्रॉप करें",drop_csv:"यहाँ CSV ड्रॉप करें",drop_file:"यहाँ File ड्रॉप करें",drop_image:"यहाँ इमेज ड्रॉप करें",drop_video:"यहाँ वीडियो ड्रॉप करें"},Uf={common:ma,upload_text:pa},Ff=Object.freeze(Object.defineProperty({__proto__:null,common:ma,default:Uf,upload_text:pa},Symbol.toStringTag,{value:"Module"})),ga={built_with_gradio:"gradioで作ろう",clear:"クリア",or:"または",submit:"送信"},ba={click_to_upload:"クリックしてアップロード",drop_audio:"ここに音声をドロップ",drop_csv:"ここにCSVをドロップ",drop_file:"ここにファイルをドロップ",drop_image:"ここに画像をドロップ",drop_video:"ここに動画をドロップ"},Gf={common:ga,upload_text:ba},jf=Object.freeze(Object.defineProperty({__proto__:null,common:ga,default:Gf,upload_text:ba},Symbol.toStringTag,{value:"Module"})),va={built_with_gradio:"gradio로 제작되었습니다",clear:"클리어",or:"또는",submit:"제출하기"},ya={click_to_upload:"클릭해서 업로드하기",drop_audio:"오디오를 끌어 놓으세요",drop_csv:"CSV파일을 끌어 놓으세요",drop_file:"파일을 끌어 놓으세요",drop_image:"이미지를 끌어 놓으세요",drop_video:"비디오를 끌어 놓으세요"},zf={common:va,upload_text:ya},Vf=Object.freeze(Object.defineProperty({__proto__:null,common:va,default:zf,upload_text:ya},Symbol.toStringTag,{value:"Module"})),Ea={built_with_gradio:"sukurta su gradio",clear:"Trinti",or:"arba",submit:"Pateikti"},wa={click_to_upload:"Spustelėkite norėdami įkelti",drop_audio:"Ä®kelkite garso įrašą čia",drop_csv:"Ä®kelkite CSV čia",drop_file:"Ä®kelkite bylą čia",drop_image:"Ä®kelkite paveikslėlį čia",drop_video:"Ä®kelkite vaizdo įrašą čia"},qf={common:Ea,upload_text:wa},Wf=Object.freeze(Object.defineProperty({__proto__:null,common:Ea,default:qf,upload_text:wa},Symbol.toStringTag,{value:"Module"})),Ta={built_with_gradio:"gemaakt met gradio",clear:"Wis",or:"of",submit:"Zend in"},Sa={click_to_upload:"Klik om the Uploaden",drop_audio:"Sleep een Geluidsbestand hier",drop_csv:"Sleep een CSV hier",drop_file:"Sleep een Document hier",drop_image:"Sleep een Afbeelding hier",drop_video:"Sleep een Video hier"},Xf={common:Ta,upload_text:Sa},Zf=Object.freeze(Object.defineProperty({__proto__:null,common:Ta,default:Xf,upload_text:Sa},Symbol.toStringTag,{value:"Module"})),Aa={built_with_gradio:"utworzone z gradio",clear:"Wyczyść",or:"lub",submit:"Zatwierdź"},xa={click_to_upload:"Kliknij, aby przesłać",drop_audio:"Przeciągnij tutaj audio",drop_csv:"Przeciągnij tutaj CSV",drop_file:"Przeciągnij tutaj plik",drop_image:"Przeciągnij tutaj zdjęcie",drop_video:"Przeciągnij tutaj video"},Yf={common:Aa,upload_text:xa},$f=Object.freeze(Object.defineProperty({__proto__:null,common:Aa,default:Yf,upload_text:xa},Symbol.toStringTag,{value:"Module"})),ka={built_with_gradio:"Construído com gradio",clear:"Limpar",error:"Erro",flag:"Marcar",loading:"Carregando",or:"ou",submit:"Enviar"},Ca={click_to_upload:"Clique para o Upload",drop_audio:"Solte o Áudio Aqui",drop_csv:"Solte o CSV Aqui",drop_file:"Solte o Arquivo Aqui",drop_image:"Solte a Imagem Aqui",drop_video:"Solte o Vídeo Aqui"},Jf={common:ka,upload_text:Ca},Qf=Object.freeze(Object.defineProperty({__proto__:null,common:ka,default:Jf,upload_text:Ca},Symbol.toStringTag,{value:"Module"})),Oa={annotated_image:"Аннотированное изображение"},La={allow_recording_access:"Пожалуйста, предоставьте доступ к микрофону для записи.",audio:"Аудио",record_from_microphone:"Записать с микрофона",stop_recording:"Остановить запись",no_device_support:"Не удалось получить доступ к медиаустройствам. Убедитесь, что вы работаете на защищенном источнике (https) или localhost (или передали действительный SSL-сертификат в ssl_verify), и разрешили браузеру доступ к устройству.",stop:"Стоп",resume:"Продолжить",record:"Записать",no_microphone:"Микрофон не найден",pause:"Пауза",play:"Воспроизвести"},Pa={connection_can_break:"На мобильных устройствах соединение может прерваться, если вкладка будет переключена или устройство отключится, что приведет к потере вашей позиции в очереди.",long_requests_queue:"Очередь запросов длинная. Продублируйте это пространство, чтобы пропустить.",lost_connection:"Потеряно соединение из-за ухода со страницы. Повторное подключение..."},Ia={checkbox:"Чекбокс",checkbox_group:"Группа чекбоксов"},Na={code:"Код"},Ma={color_picker:"Выбор цвета"},Ra={built_with:"создано с",built_with_gradio:"Создано с помощью Gradio",clear:"Очистить",download:"Скачать",edit:"Изменить",empty:"Пусто",error:"Ошибка",hosted_on:"Размещено на",loading:"Загрузка",logo:"логотип",or:"или",remove:"Удалить",share:"Поделиться",submit:"Отправить",undo:"Отменить",no_devices:"Не найдено ни одного устройства"},Ha={incorrect_format:"Неправильный формат, поддерживаются только файлы CSV и TSV",new_column:"Новая колонка",new_row:"Новый ряд"},Da={dropdown:"Dropdown"},Ba={build_error:"возникла ошибка сборки",config_error:"возникла ошибка конфигурации",contact_page_author:"Пожалуйста, свяжитесь с автором страницы, чтобы сообщить ему об этом.",no_app_file:"отсутствует файл приложения",runtime_error:"возникла проблема с выполнением",space_not_working:'"Пространство не работает, потому что" {0}',space_paused:"пространство приостановлено",use_via_api:"Использовать через API"},Ua={uploading:"Загружаем..."},Fa={highlighted_text:"Выделенный текст"},Ga={allow_webcam_access:"Пожалуйста, разрешите доступ к веб-камере для записи.",brush_color:"Цвет кисти",brush_radius:"Радиус кисти",image:"Изображение",remove_image:"Удалить изображение",select_brush_color:"Выберите цвет кисти",start_drawing:"Начните рисовать",use_brush:"Используйте кисть"},ja={label:"Лейбл"},za={enable_cookies:"Если вы посещаете пространство HuggingFace в режиме инкогнито, вы должны разрешить сторонние файлы cookie.",incorrect_credentials:"Неправильные учетные данные",login:"Вход в систему"},Va={number:"Число"},qa={plot:"Схема"},Wa={radio:"Радио"},Xa={slider:"Слайдер"},Za={click_to_upload:"Нажмите, чтобы загрузить",drop_audio:"Перетащите аудио сюда",drop_csv:"Перетащите файл CSV сюда",drop_file:"Перетащите файл сюда",drop_image:"Перетащите изображение сюда",drop_video:"Перетащите видео сюда",drop_gallery:"Перетащите изображение(-я) сюда",paste_clipboard:"Вставка из буфера обмена"},Kf={"3D_model":{"3d_model":"3D-модель"}
7,annotated_image:Oa,audio:La,blocks:Pa,checkbox:Ia,code:Na,color_picker:Ma,common:Ra,dataframe:Ha,dropdown:Da,errors:Ba,file:Ua,highlighted_text:Fa,image:Ga,label:ja,login:za,number:Va,plot:qa,radio:Wa,slider:Xa,upload_text:Za},ed=Object.freeze(Object.defineProperty({__proto__:null,annotated_image:Oa,audio:La,blocks:Pa,checkbox:Ia,code:Na,color_picker:Ma,common:Ra,dataframe:Ha,default:Kf,dropdown:Da,errors:Ba,file:Ua,highlighted_text:Fa,image:Ga,label:ja,login:za,number:Va,plot:qa,radio:Wa,slider:Xa,upload_text:Za},Symbol.toStringTag,{value:"Module"})),Ya={built_with_gradio:"கிரேடியோ வுடன் உருவாக்கப்பட்டது",clear:"அழிக்கவும்",or:"அல்லது",submit:"சமர்ப்பிக்கவும்"},$a={click_to_upload:"பதிவேற்ற அழுத்தவும்",drop_audio:"ஆடியோவை பதிவேற்றவும்",drop_csv:"csv ஐ பதிவேற்றவும்",drop_file:"கோப்பை பதிவேற்றவும்",drop_image:"படத்தை பதிவேற்றவும்",drop_video:"காணொளியை பதிவேற்றவும்"},td={common:Ya,upload_text:$a},nd=Object.freeze(Object.defineProperty({__proto__:null,common:Ya,default:td,upload_text:$a},Symbol.toStringTag,{value:"Module"})),Ja={built_with_gradio:"Gradio ile oluşturulmuştur",clear:"Temizle",or:"veya",submit:"Yükle"},Qa={click_to_upload:"Yüklemek için Tıkla",drop_audio:"Kaydı Buraya Sürükle",drop_csv:"CSV'yi Buraya Sürükle",drop_file:"Dosyayı Buraya Sürükle",drop_image:"Resmi Buraya Sürükle",drop_video:"Videoyu Buraya Sürükle"},od={common:Ja,upload_text:Qa},rd=Object.freeze(Object.defineProperty({__proto__:null,common:Ja,default:od,upload_text:Qa},Symbol.toStringTag,{value:"Module"})),Ka={built_with_gradio:"Зроблено на основі gradio",clear:"Очистити",or:"або",submit:"Надіслати"},es={click_to_upload:"Натисніть щоб завантажити",drop_audio:"Перетягніть аудіо сюди",drop_csv:"Перетягніть CSV-файл сюди",drop_file:"Перетягніть файл сюди",drop_image:"Перетягніть зображення сюди",drop_video:"Перетягніть відео сюди"},id={common:Ka,upload_text:es},ad=Object.freeze(Object.defineProperty({__proto__:null,common:Ka,default:id,upload_text:es},Symbol.toStringTag,{value:"Module"})),ts={built_with_gradio:"کے ساتھ بنایا گیا Gradio",clear:"ہٹا دیں",or:"یا",submit:"جمع کریں"},ns={click_to_upload:"اپ لوڈ کے لیے کلک کریں",drop_audio:"یہاں آڈیو ڈراپ کریں",drop_csv:"یہاں فائل ڈراپ کریں",drop_file:"یہاں فائل ڈراپ کریں",drop_image:"یہاں تصویر ڈراپ کریں",drop_video:"یہاں ویڈیو ڈراپ کریں"},sd={common:ts,upload_text:ns},ld=Object.freeze(Object.defineProperty({__proto__:null,common:ts,default:sd,upload_text:ns},Symbol.toStringTag,{value:"Module"})),os={built_with_gradio:"gradio bilan qilingan",clear:"Tozalash",submit:"Yubor"},rs={click_to_upload:"Yuklash uchun Bosing",drop_audio:"Audioni Shu Yerga Tashlang",drop_csv:"CSVni Shu Yerga Tashlang",drop_file:"Faylni Shu Yerga Tashlang",drop_image:"Rasmni Shu Yerga Tashlang",drop_video:"Videoni Shu Yerga Tashlang"},ud={common:os,upload_text:rs},cd=Object.freeze(Object.defineProperty({__proto__:null,common:os,default:ud,upload_text:rs},Symbol.toStringTag,{value:"Module"})),is={annotated_image:"标注图像"},as={allow_recording_access:"请允许访问麦克风以进行录音。",audio:"音频",record_from_microphone:"从麦克风录制",stop_recording:"停止录制",no_device_support:"无法访问媒体设备。请检查您是否在安全来源(https)或本地主机上运行(或者您已经通过 ssl_verify 传递了有效的 SSL 证书),并且您已经允许浏览器访问您的设备。",stop:"停止",resume:"继续",record:"录制",no_microphone:"找不到麦克风",pause:"暂停",play:"播放"},ss={connection_can_break:"在移动设备上,如果此标签页失去焦点或设备休眠,连接可能会中断,导致您在队列中失去位置。",long_requests_queue:"有一个长时间的待处理请求队列。复制此空间以跳过。",lost_connection:"由于离开页面,连接已丢失。重新加入队列..."},ls={checkbox:"复选框",checkbox_group:"复选框组"},us={code:"代码"},cs={color_picker:"颜色选择器"},fs={built_with:"构建于",built_with_gradio:"使用 Gradio 构建",clear:"清除",download:"下载",edit:"编辑",empty:"空",error:"错误",hosted_on:"托管在",loading:"加载中",logo:"标志",or:"或",remove:"移除",share:"分享",submit:"提交",undo:"撤销"},ds={incorrect_format:"格式不正确,仅支持 CSV 和 TSV 文件",new_column:"新列",new_row:"新行"},hs={dropdown:"下拉菜单"},_s={build_error:"存在构建错误",config_error:"存在配置错误",contact_page_author:"请联系页面的作者并告知他们。",no_app_file:"不存在应用文件",runtime_error:"存在运行时错误",space_not_working:'"空间无法工作,原因:" {0}',space_paused:"空间已暂停",use_via_api:"通过 API 使用"},ms={uploading:"正在上传..."},ps={highlighted_text:"高亮文本"},gs={allow_webcam_access:"请允许访问网络摄像头以进行录制。",brush_color:"画笔颜色",brush_radius:"画笔半径",image:"图像",remove_image:"移除图像",select_brush_color:"选择画笔颜色",start_drawing:"开始绘画",use_brush:"使用画笔"},bs={label:"标签"},vs={enable_cookies:"如果您正在使用隐身模式访问 HuggingFace 空间,您必须启用第三方 cookie。",incorrect_credentials:"凭据不正确",login:"登录"},ys={number:"数字"},Es={plot:"图表"},ws={radio:"单选框"},Ts={slider:"滑块"},Ss={click_to_upload:"点击上传",drop_audio:"将音频拖放到此处",drop_csv:"将 CSV 文件拖放到此处",drop_file:"将文件拖放到此处",drop_image:"将图像拖放到此处",drop_video:"将视频拖放到此处"},fd={"3D_model":{"3d_model":"3D模型"},annotated_image:is,audio:as,blocks:ss,checkbox:ls,code:us,color_picker:cs,common:fs,dataframe:ds,dropdown:hs,errors:_s,file:ms,highlighted_text:ps,image:gs,label:bs,login:vs,number:ys,plot:Es,radio:ws,slider:Ts,upload_text:Ss},dd=Object.freeze(Object.defineProperty({__proto__:null,annotated_image:is,audio:as,blocks:ss,checkbox:ls,code:us,color_picker:cs,common:fs,dataframe:ds,default:fd,dropdown:hs,errors:_s,file:ms,highlighted_text:ps,image:gs,label:bs,login:vs,number:ys,plot:Es,radio:ws,slider:Ts,upload_text:Ss},Symbol.toStringTag,{value:"Module"})),As={built_with_gradio:"使用Gradio構建",clear:"清除",or:"或",submit:"提交"},xs={click_to_upload:"點擊上傳",drop_audio:"拖放音訊至此處",drop_csv:"拖放CSV至此處",drop_file:"拖放檔案至此處",drop_image:"拖放圖片至此處",drop_video:"拖放影片至此處"},hd={common:As,upload_text:xs},_d=Object.freeze(Object.defineProperty({__proto__:null,common:As,default:hd,upload_text:xs},Symbol.toStringTag,{value:"Module"})),dr=Object.assign({"./lang/ar.json":yf,"./lang/ca.json":wf,"./lang/ckb.json":Sf,"./lang/de.json":xf,"./lang/en.json":Cf,"./lang/es.json":Lf,"./lang/eu.json":If,"./lang/fa.json":Mf,"./lang/fr.json":Hf,"./lang/he.json":Bf,"./lang/hi.json":Ff,"./lang/ja.json":jf,"./lang/ko.json":Vf,"./lang/lt.json":Wf,"./lang/nl.json":Zf,"./lang/pl.json":$f,"./lang/pt-BR.json":Qf,"./lang/ru.json":ed,"./lang/ta.json":nd,"./lang/tr.json":rd,"./lang/uk.json":ad,"./lang/ur.json":ld,"./lang/uz.json":cd,"./lang/zh-CN.json":dd,"./lang/zh-TW.json":_d}
7);function md(){let e={};for(const t in dr){const n=t.split("/").pop().split(".").shift();e[n]=dr[t].default}return e}const hr=md();for(const e in hr)Vr(e,hr[e]);async function pd(){await du({fallbackLocale:"en",initialLocale:Eu()})}const{setContext:gd,getContext:bd}=window.__gradio__svelte__internal,ks="WORKER_PROXY_CONTEXT_KEY";function vd(e){gd(ks,e)}function gh(){return bd(ks)}var yd=()=>{const e=document.createElement("link");e.href="https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap",e.rel="stylesheet";const t=document.createElement("link");t.href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;600;700&display=swap",t.rel="stylesheet",document.head.appendChild(e),document.head.appendChild(t)},Ed=()=>{const e=document.createElement("div");return e.style.backgroundImage="linear-gradient(to top, #f9fafb, white)",e.style.border="1px solid #e5e7eb",e.style.borderRadius="0.75rem",e.style.boxShadow="0 0 10px rgba(0, 0, 0, 0.1)",e.style.color="#374151",e.style.display="flex",e.style.flexDirection="row",e.style.alignItems="center",e.style.height="40px",e.style.justifyContent="space-between",e.style.overflow="hidden",e.style.position="fixed",e.style.right=".75rem",e.style.top=".75rem",e.style.width="auto",e.style.zIndex="20",e.style.paddingLeft="1rem",e.setAttribute("id","huggingface-space-header"),window.matchMedia("(max-width: 768px)").addEventListener("change",t=>{t.matches?e.style.display="none":e.style.display="flex"}),e},wd=()=>{const e=document.createElementNS("http://www.w3.org/2000/svg","svg");e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("xmlns:link","http://www.w3.org/1999/xlink"),e.setAttribute("aria-hidden","true"),e.setAttribute("focusable","false"),e.setAttribute("role","img"),e.setAttribute("width","1em"),e.setAttribute("height","1em"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("viewBox","0 0 12 12"),e.setAttribute("fill","currentColor");const t=document.createElementNS("http://www.w3.org/2000/svg","path");return t.setAttribute("d","M0.375001 10.3828L0.375 1.61719C0.375 1.104 0.816001 0.687501 1.35938 0.687501L10.6406 0.6875C10.9017 0.6875 11.1521 0.785449 11.3367 0.959797C11.5213 1.13415 11.625 1.37062 11.625 1.61719V10.3828C11.625 10.6294 11.5213 10.8659 11.3367 11.0402C11.1521 11.2145 10.9017 11.3125 10.6406 11.3125H1.35938C0.816001 11.3125 0.375001 10.896 0.375001 10.3828ZM1.35938 10.5156H10.6406C10.7183 10.5156 10.7813 10.4561 10.7813 10.3828V4.40625H1.21875V10.3828C1.21875 10.418 1.23356 10.4518 1.25994 10.4767C1.28631 10.5017 1.32208 10.5156 1.35938 10.5156ZM4.61052 6.38251L5.9999 7.69472L7.38927 6.38251C7.44083 6.33007 7.50645 6.29173 7.57913 6.27153C7.6518 6.25134 7.72898 6.25003 7.8024 6.26776C7.87583 6.28549 7.9428 6.3216 7.99628 6.37227C8.04983 6.42295 8.08785 6.48631 8.10645 6.5557C8.12528 6.62497 8.12393 6.69773 8.10263 6.76635C8.0814 6.83497 8.0409 6.8969 7.98555 6.94564L6.29802 8.53936C6.21892 8.61399 6.11169 8.65592 5.9999 8.65592C5.8881 8.65592 5.78087 8.61399 5.70177 8.53936L4.01427 6.94564C3.95874 6.89694 3.91814 6.835 3.89676 6.76633C3.87538 6.69766 3.874 6.62483 3.89277 6.55549C3.91154 6.48615 3.94977 6.42287 4.00343 6.37233C4.05708 6.32179 4.12418 6.28585 4.19765 6.2683C4.27098 6.25054 4.34803 6.25178 4.42068 6.27188C4.49334 6.29198 4.55891 6.3302 4.61052 6.38251Z"),e.appendChild(t),e},Td=(e,t)=>{const n=document.createElement("div");return n.setAttribute("id","space-header__collapse"),n.style.display="flex",n.style.flexDirection="row",n.style.alignItems="center",n.style.justifyContent="center",n.style.fontSize="16px",n.style.paddingLeft="10px",n.style.paddingRight="10px",n.style.height="40px",n.style.cursor="pointer",n.style.color="#40546e",n.style.transitionDuration="0.1s",n.style.transitionProperty="all",n.style.transitionTimingFunction="ease-in-out",n.appendChild(wd()),n.addEventListener("click",o=>{o.preventDefault(),o.stopPropagation(),t()}),n.addEventListener("mouseenter",()=>{n.style.color="#213551"}),n.addEventListener("mouseleave",()=>{n.style.color="#40546e"}),n},Sd=e=>{const t=document.createElement("p");return t.style.margin="0",t.style.padding="0",t.style.color="#9ca3af",t.style.fontSize="14px",t.style.fontFamily="Source Sans Pro, sans-serif",t.style.padding="0px 6px",t.style.borderLeft="1px solid #e5e7eb",t.style.marginLeft="4px",t.textContent=(e??0).toString(),t},Ad=()=>{const e=document.createElementNS("http://www.w3.org/2000/svg","svg");e.setAttribute("xmlns","http://www.w3.org/2000/svg"),e.setAttribute("xmlns:link","http://www.w3.org/1999/xlink"),e.setAttribute("aria-hidden","true"),e.setAttribute("focusable","false"),e.setAttribute("role","img"),e.setAttribute("width","1em"),e.setAttribute("height","1em"),e.setAttribute("preserveAspectRatio","xMidYMid meet"),e.setAttribute("viewBox","0 0 32 32"),e.setAttribute("fill","#6b7280");const t=document.createElementNS("http://www.w3.org/2000/svg","path");return t.setAttribute("d","M22.45,6a5.47,5.47,0,0,1,3.91,1.64,5.7,5.7,0,0,1,0,8L16,26.13,5.64,15.64a5.7,5.7,0,0,1,0-8,5.48,5.48,0,0,1,7.82,0L16,10.24l2.53-2.58A5.44,5.44,0,0,1,22.45,6m0-2a7.47,7.47,0,0,0-5.34,2.24L16,7.36,14.89,6.24a7.49,7.49,0,0,0-10.68,0,7.72,7.72,0,0,0,0,10.82L16,29,27.79,17.06a7.72,7.72,0,0,0,0-10.82A7.49,7.49,0,0,0,22.45,4Z"),e.appendChild(t),e},xd=e=>{const t=document.createElement("a");
vendor: 5,222 bytes, line 7
7return t.setAttribute("href",`https://huggingface.co/spaces/${e.id}`),t.setAttribute("rel","noopener noreferrer"),t.setAttribute("target","_blank"),t.style.border="1px solid #e5e7eb",t.style.borderRadius="6px",t.style.display="flex",t.style.flexDirection="row",t.style.alignItems="center",t.style.margin="0 0 0 12px",t.style.fontSize="14px",t.style.paddingLeft="4px",t.style.textDecoration="none",t.appendChild(Ad()),t.appendChild(Sd(e.likes)),t},kd=e=>{const t=document.createElement("img");return t.src=`https://huggingface.co/api/users/${e}/avatar`,t.style.width="0.875rem",t.style.height="0.875rem",t.style.borderRadius="50%",t.style.flex="none",t.style.marginRight="0.375rem",t},Cd=e=>{const[t,n]=e.split("/"),o=document.createElement("a");return o.setAttribute("href",`https://huggingface.co/spaces/${e}`),o.setAttribute("rel","noopener noreferrer"),o.setAttribute("target","_blank"),o.style.color="#1f2937",o.style.textDecoration="none",o.style.fontWeight="600",o.style.fontSize="15px",o.style.lineHeight="24px",o.style.flex="none",o.style.fontFamily="IBM Plex Mono, sans-serif",o.addEventListener("mouseover",()=>{o.style.color="#2563eb"}),o.addEventListener("mouseout",()=>{o.style.color="#1f2937"}),o.textContent=n,o},Od=()=>{const e=document.createElement("div");return e.style.marginLeft=".125rem",e.style.marginRight=".125rem",e.style.color="#d1d5db",e.textContent="/",e},Ld=e=>{const t=document.createElement("a");return t.setAttribute("href",`https://huggingface.co/${e}`),t.setAttribute("rel","noopener noreferrer"),t.setAttribute("target","_blank"),t.style.color="rgb(107, 114, 128)",t.style.textDecoration="none",t.style.fontWeight="400",t.style.fontSize="16px",t.style.lineHeight="24px",t.style.flex="none",t.style.fontFamily="Source Sans Pro, sans-serif",t.addEventListener("mouseover",()=>{t.style.color="#2563eb"}),t.addEventListener("mouseout",()=>{t.style.color="rgb(107, 114, 128)"}),t.textContent=e,t},Pd=e=>{const t=document.createElement("div");return t.style.display="flex",t.style.flexDirection="row",t.style.alignItems="center",t.style.justifyContent="center",t.style.borderRight="1px solid #e5e7eb",t.style.paddingRight="12px",t.style.height="40px",t.appendChild(kd(e.author)),t.appendChild(Ld(e.author)),t.appendChild(Od()),t.appendChild(Cd(e.id)),t.appendChild(xd(e)),t},Id=e=>{const t=Ed(),n=()=>t.style.display="none";return t.appendChild(Pd(e)),t.appendChild(Td(e,n)),t},Nd=async e=>{try{return await(await fetch(`https://huggingface.co/api/spaces/${e}`)).json()}catch{return null}},Md=(e,t)=>{if(document.body===null)return console.error("document.body is null");document.body.appendChild(e)};async function Rd(e,t){var n,o;if(window===void 0)return console.error("Please run this script in a browser environment");if(Object.values((o=(n=window.location)==null?void 0:n.ancestorOrigins)!=null?o:{0:window.document.referrer}).some(s=>{var c;return((c=new URL(s))==null?void 0:c.origin)==="https://huggingface.co"}))return;yd();let i;if(typeof e=="string"){if(i=await Nd(e),i===null)return console.error("Space not found")}else i=e;const a=Id(i);return Md(a),{element:a}}var Hd=(e,t)=>Rd(e);const{SvelteComponent:Dd,add_flush_callback:tn,append:Fe,assign:Bd,attr:Le,bind:nn,binding_callbacks:on,check_outros:_r,component_subscribe:mr,create_component:dn,destroy_component:hn,detach:ot,element:Je,empty:Ud,flush:$,get_spread_object:Fd,get_spread_update:Gd,group_outros:pr,init:jd,insert:rt,mount_component:_n,noop:zd,safe_not_equal:Vd,set_data:Cs,space:Os,text:Pt,transition_in:Ue,transition_out:$e}=window.__gradio__svelte__internal,{onMount:gr,createEventDispatcher:qd,onDestroy:Wd}=window.__gradio__svelte__internal;function br(e){let t,n;return t=new Jc({props:{absolute:!e[4],status:e[15],timer:!1,queue_position:null,queue_size:null,translucent:!0,loading_text:e[16],i18n:e[22],autoscroll:e[0],$$slots:{error:[Jd],"additional-loading-text":[Zd]},$$scope:{ctx:e}}}),{c(){dn(t.$$.fragment)},m(o,r){_n(t,o,r),n=!0},p(o,r){const i={};r[0]&16&&(i.absolute=!o[4]),r[0]&32768&&(i.status=o[15]),r[0]&65536&&(i.loading_text=o[16]),r[0]&4194304&&(i.i18n=o[22]),r[0]&1&&(i.autoscroll=o[0]),r[0]&4202752|r[1]&4194304&&(i.$$scope={dirty:r,ctx:o}),t.$set(i)},i(o){n||(Ue(t.$$.fragment,o),n=!0)},o(o){$e(t.$$.fragment,o),n=!1},d(o){hn(t,o)}}}function Xd(e){let t;return{c(){t=Je("p"),t.innerHTML='If your custom component never loads, consult the troubleshooting <a style="color: blue;" href="https://www.gradio.app/guides/frequently-asked-questions#the-development-server-didnt-work-for-me" class="svelte-y6l4b">guide</a>.'},m(n,o){rt(n,t,o)},d(n){n&&ot(t)}}}function Zd(e){let t,n=e[23]==="dev"&&Xd();return{c(){t=Je("div"),n&&n.c(),Le(t,"class","load-text"),Le(t,"slot","additional-loading-text")},m(o,r){rt(o,t,r),n&&n.m(t,null)},p:zd,d(o){o&&ot(t),n&&n.d()}}}function Yd(e){let t,n=e[22]("errors.contact_page_author")+"",o;return{c(){t=Je("p"),o=Pt(n),Le(t,"class","svelte-y6l4b")},m(r,i){rt(r,t,i),Fe(t,o)},p(r,i){i[0]&4194304&&n!==(n=r[22]("errors.contact_page_author")+"")&&Cs(o,n)},d(r){r&&ot(t)}}}function $d(e){let t,n,o,r,i,a;return{c(){t=Je("p"),n=Pt("Please "),o=Je("a"),r=Pt("contact the author of the space"),a=Pt(" to let them know."),Le(o,"href",i="https://huggingface.co/spaces
7/"+e[8]+"/discussions/new?title="+e[24].title(e[13]?.detail)+"&description="+e[24].description(e[13]?.detail,location.origin)),Le(o,"class","svelte-y6l4b"),Le(t,"class","svelte-y6l4b")},m(s,c){rt(s,t,c),Fe(t,n),Fe(t,o),Fe(o,r),Fe(t,a)},p(s,c){c[0]&8448&&i!==(i="https://huggingface.co/spaces/"+s[8]+"/discussions/new?title="+s[24].title(s[13]?.detail)+"&description="+s[24].description(s[13]?.detail,location.origin))&&Le(o,"href",i)},d(s){s&&ot(t)}}}function Jd(e){let t,n,o,r=(e[13]?.message||"")+"",i,a;function s(u,d){return(u[13].status==="space_error"||u[13].status==="paused")&&u[13].discussions_enabled?$d:Yd}let c=s(e),l=c(e);return{c(){t=Je("div"),n=Je("p"),o=Je("strong"),i=Pt(r),a=Os(),l.c(),Le(n,"class","svelte-y6l4b"),Le(t,"class","error svelte-y6l4b"),Le(t,"slot","error")},m(u,d){rt(u,t,d),Fe(t,n),Fe(n,o),Fe(o,i),Fe(t,a),l.m(t,null)},p(u,d){d[0]&8192&&r!==(r=(u[13]?.message||"")+"")&&Cs(i,r),c===(c=s(u))&&l?l.p(u,d):(l.d(1),l=c(u),l&&(l.c(),l.m(t,null)))},d(u){u&&ot(t),l.d()}}}function Qd(e){let t,n,o,r,i;const a=[{app:e[14]},e[12],{fill_height:!e[4]&&e[12].fill_height},{theme_mode:e[17]},{control_page_title:e[5]},{target:e[9]},{autoscroll:e[0]},{show_footer:!e[4]},{app_mode:e[3]},{version:e[1]}];function s(d){e[33](d)}function c(d){e[34](d)}function l(d){e[35](d)}let u={};for(let d=0;d<a.length;
vendor: 5,027 bytes, line 7
7d+=1)u=Bd(u,a[d]);return e[10]!==void 0&&(u.ready=e[10]),e[11]!==void 0&&(u.render_complete=e[11]),e[21]!==void 0&&(u.add_new_message=e[21]),t=new e[19]({props:u}),on.push(()=>nn(t,"ready",s)),on.push(()=>nn(t,"render_complete",c)),on.push(()=>nn(t,"add_new_message",l)),{c(){dn(t.$$.fragment)},m(d,h){_n(t,d,h),i=!0},p(d,h){const p=h[0]&152123?Gd(a,[h[0]&16384&&{app:d[14]},h[0]&4096&&Fd(d[12]),h[0]&4112&&{fill_height:!d[4]&&d[12].fill_height},h[0]&131072&&{theme_mode:d[17]},h[0]&32&&{control_page_title:d[5]},h[0]&512&&{target:d[9]},h[0]&1&&{autoscroll:d[0]},h[0]&16&&{show_footer:!d[4]},h[0]&8&&{app_mode:d[3]},h[0]&2&&{version:d[1]}]):{};!n&&h[0]&1024&&(n=!0,p.ready=d[10],tn(()=>n=!1)),!o&&h[0]&2048&&(o=!0,p.render_complete=d[11],tn(()=>o=!1)),!r&&h[0]&2097152&&(r=!0,p.add_new_message=d[21],tn(()=>r=!1)),t.$set(p)},i(d){i||(Ue(t.$$.fragment,d),i=!0)},o(d){$e(t.$$.fragment,d),i=!1},d(d){hn(t,d)}}}function Kd(e){let t,n;return t=new e[20]({props:{auth_message:e[12].auth_message,root:e[12].root,space_id:e[8],app_mode:e[3]}}),{c(){dn(t.$$.fragment)},m(o,r){_n(t,o,r),n=!0},p(o,r){const i={};r[0]&4096&&(i.auth_message=o[12].auth_message),r[0]&4096&&(i.root=o[12].root),r[0]&256&&(i.space_id=o[8]),r[0]&8&&(i.app_mode=o[3]),t.$set(i)},i(o){n||(Ue(t.$$.fragment,o),n=!0)},o(o){$e(t.$$.fragment,o),n=!1},d(o){hn(t,o)}}}function eh(e){let t,n,o,r,i,a=(e[15]==="pending"||e[15]==="error")&&!(e[12]&&e[12]?.auth_required)&&br(e);const s=[Kd,Qd],c=[];function l(u,d){return u[12]?.auth_required&&u[20]?0:u[12]&&u[19]&&u[18]?1:-1}return~(n=l(e))&&(o=c[n]=s[n](e)),{c(){a&&a.c(),t=Os(),o&&o.c(),r=Ud()},m(u,d){a&&a.m(u,d),rt(u,t,d),~n&&c[n].m(u,d),rt(u,r,d),i=!0},p(u,d){(u[15]==="pending"||u[15]==="error")&&!(u[12]&&u[12]?.auth_required)?a?(a.p(u,d),d[0]&36864&&Ue(a,1)):(a=br(u),a.c(),Ue(a,1),a.m(t.parentNode,t)):a&&(pr(),$e(a,1,1,()=>{a=null}),_r());let h=n;n=l(u),n===h?~n&&c[n].p(u,d):(o&&(pr(),$e(c[h],1,1,()=>{c[h]=null}),_r()),~n?(o=c[n],o?o.p(u,d):(o=c[n]=s[n](u),o.c()),Ue(o,1),o.m(r.parentNode,r)):o=null)},i(u){i||(Ue(a),Ue(o),i=!0)},o(u){$e(a),$e(o),i=!1},d(u){u&&(ot(t),ot(r)),a&&a.d(u),~n&&c[n].d(u)}}}function th(e){let t,n,o;function r(a){e[36](a)}let i={display:e[6]&&e[4],is_embed:e[4],info:!!e[8]&&e[7],version:e[1],initial_height:e[2],space:e[8],loaded:e[15]==="complete",fill_width:e[12]?.fill_width||!1,$$slots:{default:[eh]},$$scope:{ctx:e}};return e[9]!==void 0&&(i.wrapper=e[9]),t=new Zu({props:i}),on.push(()=>nn(t,"wrapper",r)),{c(){dn(t.$$.fragment)},m(a,s){_n(t,a,s),o=!0},p(a,s){const c={};s[0]&80&&(c.display=a[6]&&a[4]),s[0]&16&&(c.is_embed=a[4]),s[0]&384&&(c.info=!!a[8]&&a[7]),s[0]&2&&(c.version=a[1]),s[0]&4&&(c.initial_height=a[2]),s[0]&256&&(c.space=a[8]),s[0]&32768&&(c.loaded=a[15]==="complete"),s[0]&4096&&(c.fill_width=a[12]?.fill_width||!1),s[0]&8388411|s[1]&4194304&&(c.$$scope={dirty:s,ctx:a}),!n&&s[0]&512&&(n=!0,c.wrapper=a[9],tn(()=>n=!1)),t.$set(c)},i(a){o||(Ue(t.$$.fragment,a),o=!0)},o(a){$e(t.$$.fragment,a),o=!1},d(a){hn(t,a)}}}let nh=-1;function oh(){const e=yt({}),t=new Map,n=new IntersectionObserver(r=>{r.forEach(i=>{if(i.isIntersecting){let a=t.get(i.target);a!==void 0&&e.update(s=>({...s,[a]:!0}))}})});function o(r,i){t.set(i,r),n.observe(i)}return{register:o,subscribe:e.subscribe}}const vr=oh();async function rh(e){if(e){const t=new DOMParser,n=Array.from(t.parseFromString(e,"text/html").head.children);if(n)for(let o of n){let r=document.createElement(o.tagName);if(Array.from(o.attributes).forEach(i=>{r.setAttribute(i.name,i.value)}),r.textContent=o.textContent,r.tagName=="META"&&r.getAttribute("property")){const a=Array.from(document.head.getElementsByTagName("meta")??[]).find(s=>s.getAttribute("property")==r.getAttribute("property")&&!s.isEqualNode(r));if(a){document.head.replaceChild(r,a);continue}}document.head.appendChild(r)}}}function ih(e,t,n){let o,r;mr(e,Yr,b=>n(22,o=b)),mr(e,vr,b=>n(32,r=b)),pd();const i=qd();let{autoscroll:a}=t,{version:s}=t,{initial_height:c}=t,{app_mode:l}=t,{is_embed:u}=t,{theme_mode:d="system"}=t,{control_page_title:h}=t,{container:p}=t,{info:E}=t,{eager:k}=t,y,{mount_css:N=Bs}=t,{Client:g}=t,{worker_proxy:_=void 0}=t;_&&(vd(_),_.addEventListener("progress-update",b=>{n(16,Pe=b.detail+"...")}));let{space:S}=t,{host:U}=t,{src:oe}=t,ie=nh++,Se="pending",ae,F=!1,Q=!1,M,Pe=o("common.loading")+"...",ce,fe,se=null;async function Ge(b){b&&(se=bo(b,s,se||void 0)),await N(M.root+"/theme.css?v="+M.theme_hash,document.head),M.stylesheets&&await Promise.all(M.stylesheets.map(q=>q.startsWith("http:")||q.startsWith("https:")?N(q,document.head):fetch(M.root+"/"+q).then(W=>W.text()).then(W=>{bo(W,s)})))}function it(b){const q=window.__gradio_mode__==="website";let B;if(q)B="light";else{const We=new URL(window.location.toString()).searchParams.get("__theme");B=d||We||"system"}return B==="dark"||B==="light"?je(b,B):B=j(b),B}function j(b){const q=B();window?.matchMedia("(prefers-color-scheme: dark)")?.addEventListener("change",B);function B(){let W=window?.matchMedia?.("(prefers-color-scheme: dark)").matches?"dar
7k":"light";return je(b,W),W}return q}function je(b,q){const B=u?b.parentElement:document.body,W=u?b:b.parentElement;W.style.background="var(--body-background-fill)",q==="dark"?B.classList.add("dark"):B.classList.remove("dark")}let R={message:"",load_status:"pending",status:"sleeping",detail:"SLEEPING"},K,D=!1;function Ae(b){n(13,R=b)}const T=window.__GRADIO_DEV__;gr(async()=>{n(17,ce=it(ae));const b=window.__GRADIO__SERVER_PORT__;if(fe=T==="dev"?`http://localhost:${typeof b=="number"?b:7860}`:U||S||oe||location.origin,n(14,K=await g.connect(fe,{status_callback:Ae,with_null_state:!0,events:["data","log","status","render"]})),!K.config)throw new Error("Could not resolve app config");n(12,M=K.config),window.__gradio_space__=M.space_id,n(13,R={message:"",load_status:"complete",status:"running",detail:"RUNNING"}),await Ge(M.css),await rh(M.head),n(18,D=!0),window.__is_colab__=M.is_colab,i("loaded"),M.dev_mode&&setTimeout(()=>{const{host:q}=new URL(fe);let B=new URL(`http://${q}/dev/reload`);y=new EventSource(B),y.addEventListener("error",async W=>{Ve("Error reloading app","error"),console.error(JSON.parse(W.data))}),y.addEventListener("reload",async W=>{if(K.close(),n(14,K=await g.connect(fe,{status_callback:Ae,with_null_state:!0,events:["data","log","status","render"]})),!K.config)throw new Error("Could not resolve app config");n(12,M=K.config),window.__gradio_space__=M.space_id,await Ge(M.css)})},200)});let At,at;async function Ht(){n(19,At=(await vo(()=>import("./Blocks-BPGBf-rO.js").then(b=>b.B),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url)).default)}async function Dt(){n(20,at=(await vo(()=>import("./Login-BnLWozZj.js"),__vite__mapDeps([6,7,8,9,10,11,12,13,3,1,2,4,14,15,16,17,18]),import.meta.url)).default)}function ze(){M.auth_required?Dt():Ht()}const Ie={readable_error:{NO_APP_FILE:o("errors.no_app_file"),CONFIG_ERROR:o("errors.config_error"),BUILD_ERROR:o("errors.build_error"),RUNTIME_ERROR:o("errors.runtime_error"),PAUSED:o("errors.space_paused")},title(b){return encodeURIComponent(o("errors.space_not_working"))},description(b,q){return encodeURIComponent(`Hello,
8
9Firstly, thanks for creating this space!
10
11I noticed that the space isn't working correctly because there is ${this.readable_error[b]||"an error"}.
12
13It would be great if you could take a look at this because this space is being embedded on ${q}.
14
15Thanks!`)}};let Ve;gr(async()=>{vr.register(ie,ae)});let Ne;async function qe(b,q){if(b&&!q&&window.self===window.top){Ne&&(Ne.remove(),Ne=void 0);const B=await Hd(b);B&&(Ne=B.element)}}Wd(()=>{Ne?.remove()});function st(b){F=b,n(10,F)}function lt(b){Q=b,n(11,Q)}function Bt(b){Ve=b,n(21,Ve)}function Ut(b){ae=b,n(9,ae)}return e.$$set=b=>{"autoscroll"in b&&n(0,a=b.autoscroll),"version"in b&&n(1,s=b.version),"initial_height"in b&&n(2,c=b.initial_height),"app_mode"in b&&n(3,l=b.app_mode),"is_embed"in b&&n(4,u=b.is_embed),"theme_mode"in b&&n(25,d=b.theme_mode),"control_page_title"in b&&n(5,h=b.control_page_title),"container"in b&&n(6,p=b.container),"info"in b&&n(7,E=b.info),"eager"in b&&n(26,k=b.eager),"mount_css"in b&&n(27,N=b.mount_css),"Client"in b&&n(28,g=b.Client),"worker_proxy"in b&&n(29,_=b.worker_proxy),"space"in b&&n(8,S=b.space),"host"in b&&n(30,U=b.host),"src"in b&&n(31,oe=b.src)},e.$$.update=()=>{e.$$.dirty[0]&4096&&M?.app_id&&M.app_id,e.$$.dirty[0]&9216&&n(15,Se=!F&&R.load_status!=="error"?"pending":!F&&R.load_status==="error"?"error":R.load_status),e.$$.dirty[0]&67112960|e.$$.dirty[1]&2&&M&&(k||r[ie])&&ze(),e.$$.dirty[0]&2560&&Q&&ae.dispatchEvent(new CustomEvent("render",{bubbles:!0,cancelable:!1,composed:!0})),e.$$.dirty[0]&16400&&K?.config&&qe(K?.config?.space_id,u)},[a,s,c,l,u,h,p,E,S,ae,F,Q,M,R,K,Se,Pe,ce,D,At,at,Ve,o,T,Ie,d,k,N,g,_,U,oe,r,st,lt,Bt,Ut]}class ah extends Dd{constructor(t){super(),jd(this,t,ih,th,Vd,{autoscroll:0,version:1,initial_height:2,app_mode:3,is_embed:4,theme_mode:25,control_page_title:5,container:6,info:7,eager:26,mount_css:27,Client:28,worker_proxy:29,space:8,host:30,src:31},null,[-1,-1])}get autoscroll(){return this.$$.ctx[0]}set autoscroll(t){this.$$set({autoscroll:t}),$()}get version(){return this.$$.ctx[1]}
15set version(t){this.$$set({version:t}),$()}get initial_height(){return this.$$.ctx[2]}set initial_height(t){this.$$set({initial_height:t}),$()}get app_mode(){return this.$$.ctx[3]}set app_mode(t){this.$$set({app_mode:t}),$()}get is_embed(){return this.$$.ctx[4]}set is_embed(t){this.$$set({is_embed:t}),$()}get theme_mode(){return this.$$.ctx[25]}set theme_mode(t){this.$$set({theme_mode:t}),$()}get control_page_title(){return this.$$.ctx[5]}set control_page_title(t){this.$$set({control_page_title:t}),$()}get container(){return this.$$.ctx[6]}set container(t){this.$$set({container:t}),$()}get info(){return this.$$.ctx[7]}set info(t){this.$$set({info:t}),$()}get eager(){return this.$$.ctx[26]}set eager(t){this.$$set({eager:t}),$()}get mount_css(){return this.$$.ctx[27]}set mount_css(t){this.$$set({mount_css:t}),$()}get Client(){return this.$$.ctx[28]}set Client(t){this.$$set({Client:t}),$()}get worker_proxy(){return this.$$.ctx[29]}set worker_proxy(t){this.$$set({worker_proxy:t}),$()}get space(){return this.$$.ctx[8]}set space(t){this.$$set({space:t}),$()}get host(){return this.$$.ctx[30]}set host(t){this.$$set({host:t}),$()}get src(){return this.$$.ctx[31]}set src(t){this.$$set({src:t}),$()}}const bh=Object.freeze(Object.defineProperty({__proto__:null,default:ah},Symbol.toStringTag,{value:"Module"}));export{Yr as $,Cc as C,Ec as I,ic as L,Jc as S,Ws as a,mh as b,dh as c,Gs as d,ch as e,pd as f,gh as g,hh as h,uh as i,Do as j,bh as k,_h as o,ph as p,fh as s,yt as w};
16//# sourceMappingURL=Index-p668Ffoz.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.