>1;return
a?-l:l}qi.encode=function(a){var l="",u,h=bd(a);do
u=h&ws,h>>>=al,h>0&&(u|=xs),l+=ys.encode(u);while(h>0);return
l},qi.decode=function(a,l,u){var
h=a.length,p=0,S=0,b,g;do{if(l>=h)throw new Error("Expected more
digits in base 64 VLQ
value.");if(g=ys.decode(a.charCodeAt(l++)),g===-1)throw new
Error("Invalid base64 digit:
"+a.charAt(l-1));b=!!(g&xs),g&=ws,p=p+(g<=0;U--)j=L[U],j==="."?L.splice(U,1):j===".."?B++:B>0&&(j===""?(L.splice(U+1,B),B=0):(L.splice(U,2),B--));return
w=L.join("/"),w===""&&(w=O?"/":"."),k?(k.path=w,p(k)):w}o.normalize=S;function
b(c,w){c===""&&(c="."),w===""&&(w=".");var
k=h(w),O=h(c);if(O&&(c=O.path||"/"),k&&!k.scheme)return
O&&(k.scheme=O.scheme),p(k);if(k||w.match(u))return
w;if(O&&!O.host&&!O.path)return O.host=w,p(O);var
L=w.charAt(0)==="/"?w:S(c.replace(/\/+$/,"")+"/"+w);return
O?(O.path=L,p(O)):L}o.join=b,o.isAbsolute=function(c){return
c.charAt(0)==="/"||l.test(c)};function
g(c,w){c===""&&(c="."),c=c.replace(/\/$/,"");for(var
k=0;w.indexOf(c+"/")!==0;){var
O=c.lastIndexOf("/");if(O<0||(c=c.slice(0,O),c.match(/^([^\/]+:\/)?\/*$/)))return
w;++k}return
Array(k+1).join("../")+w.substr(c.length+1)}o.relative=g;var
x=function(){var c=Object.create(null);return!("__proto__"in
c)}();function y(c){return c}function A(c){return
_(c)?"$"+c:c}o.toSetString=x?y:A;function m(c){return
_(c)?c.slice(1):c}o.fromSetString=x?y:m;function _(c){if(!c)return!1;var
w=c.length;if(w<9||c.charCodeAt(w-1)!==95||c.charCodeAt(w-2)!==95||c.charCodeAt(w-3)!==111||c.charCodeAt(w-4)!==116||c.charCodeAt(w-5)!==111||c.charCodeAt(w-6)!==114||c.charCodeAt(w-7)!==112||c.charCodeAt(w-8)!==95||c.charCodeAt(w-9)!==95)return!1;for(var
k=w-10;k>=0;k--)if(c.charCodeAt(k)!==36)return!1;return!0}function
R(c,w,k){var O=W(c.source,w.source);return
O!==0||(O=c.originalLine-w.originalLine,O!==0)||(O=c.originalColumn-w.originalColumn,O!==0||k)||(O=c.generatedColumn-w.generatedColumn,O!==0)||(O=c.generatedLine-w.generatedLine,O!==0)?O:W(c.name,w.name)}o.compareByOriginalPositions=R;function
I(c,w,k){var O=c.generatedLine-w.generatedLine;return
O!==0||(O=c.generatedColumn-w.generatedColumn,O!==0||k)||(O=W(c.source,w.source),O!==0)||(O=c.originalLine-w.originalLine,O!==0)||(O=c.originalColumn-w.originalColumn,O!==0)?O:W(c.name,w.name)}o.compareByGeneratedPositionsDeflated=I;function
W(c,w){return c===w?0:c===null?1:w===null?-1:c>w?1:-1}function
N(c,w){var k=c.generatedLine-w.generatedLine;return
k!==0||(k=c.generatedColumn-w.generatedColumn,k!==0)||(k=W(c.source,w.source),k!==0)||(k=c.originalLine-w.originalLine,k!==0)||(k=c.originalColumn-w.originalColumn,k!==0)?k:W(c.name,w.name)}o.compareByGeneratedPositionsInflated=N;function
T(c){return
JSON.parse(c.replace(/^\)]}'[^\n]*\n/,""))}o.parseSourceMapInput=T;function
E(c,w,k){if(w=w||"",c&&(c[c.length-1]!=="/"&&w[0]!=="/"&&(c+="/"),w=c+w),k){var
O=h(k);if(!O)throw new Error("sourceMapURL could not be
parsed");if(O.path){var
L=O.path.lastIndexOf("/");L>=0&&(O.path=O.path.substring(0,L+1))}w=b(p(O),w)}return
S(w)}o.computeSourceURL=E})(gn);var
sl={},ul=gn,fl=Object.prototype.hasOwnProperty,$r=typeof
Map!="undefined";function Mr(){this._array=[],this._set=$r?new
Map:Object.create(null)}Mr.fromArray=function(a,l){for(var u=new
Mr,h=0,p=a.length;h=0)return
l}else{var u=ul.toSetString(a);if(fl.call(this._set,u))return
this._set[u]}throw new Error('"'+a+'" is not in the
set.')},Mr.prototype.at=function(a){if(a>=0&&al||u==l&&p>=h||Ss.compareByGeneratedPositionsInflated(o,a)<=0}function
Xi(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Xi.prototype.unsortedForEach=function(a,l){this._array.forEach(a,l)},Xi.prototype.add=function(a){xd(this._last,a)?(this._last=a,this._array.push(a)):(this._sorted=!1,this._array.push(a))},Xi.prototype.toArray=function(){return
this._sorted||(this._array.sort(Ss.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},ks.MappingList=Xi;var
Yn=qi,mt=gn,Yi=sl.ArraySet,kd=ks.MappingList;function
er(o){o||(o={}),this._file=mt.getArg(o,"file",null),this._sourceRoot=mt.getArg(o,"sourceRoot",null),this._skipValidation=mt.getArg(o,"skipValidation",!1),this._sources=new
Yi,this._names=new Yi,this._mappings=new
kd,this._sourcesContents=null}er.prototype._version=3,er.fromSourceMap=function(a){var
l=a.sourceRoot,u=new er({file:a.file,sourceRoot:l});return
a.eachMapping(function(h){var
p={generated:{line:h.generatedLine,column:h.generatedColumn}};h.source!=null&&(p.source=h.source,l!=null&&(p.source=mt.relative(l,p.source)),p.original={line:h.originalLine,column:h.originalColumn},h.name!=null&&(p.name=h.name)),u.addMapping(p)}),a.sources.forEach(function(h){var
p=h;l!==null&&(p=mt.relative(l,h)),u._sources.has(p)||u._sources.add(p);var
S=a.sourceContentFor(h);S!=null&&u.setSourceContent(h,S)}),u},er.prototype.addMapping=function(a){var
l=mt.getArg(a,"generated"),u=mt.getArg(a,"original",null),h=mt.getArg(a,"source",null),p=mt.getArg(a,"name",null);this._skipValidation||this._validateMapping(l,u,h,p),h!=null&&(h=String(h),this._sources.has(h)||this._sources.add(h)),p!=null&&(p=String(p),this._names.has(p)||this._names.add(p)),this._mappings.add({generatedLine:l.line,generatedColumn:l.column,originalLine:u!=null&&u.line,originalColumn:u!=null&&u.column,source:h,name:p})},er.prototype.setSourceContent=function(a,l){var
u=a;this._sourceRoot!=null&&(u=mt.relative(this._sourceRoot,u)),l!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[mt.toSetString(u)]=l):this._sourcesContents&&(delete
this._sourcesContents[mt.toSetString(u)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},er.prototype.applySourceMap=function(a,l,u){var
h=l;if(l==null){if(a.file==null)throw new
Error(`SourceMapGenerator.prototype.applySourceMap requires either an
explicit source file, or the source map's "file" property. Both were
omitted.`);h=a.file}var
p=this._sourceRoot;p!=null&&(h=mt.relative(p,h));var S=new
Yi,b=new
Yi;this._mappings.unsortedForEach(function(g){if(g.source===h&&g.originalLine!=null){var
x=a.originalPositionFor({line:g.originalLine,column:g.originalColumn});x.source!=null&&(g.source=x.source,u!=null&&(g.source=mt.join(u,g.source)),p!=null&&(g.source=mt.relative(p,g.source)),g.originalLine=x.line,g.originalColumn=x.column,x.name!=null&&(g.name=x.name))}var
y=g.source;y!=null&&!S.has(y)&&S.add(y);var
A=g.name;A!=null&&!b.has(A)&&b.add(A)},this),this._sources=S,this._names=b,a.sources.forEach(function(g){var
x=a.sourceContentFor(g);x!=null&&(u!=null&&(g=mt.join(u,g)),p!=null&&(g=mt.relative(p,g)),this.setSourceContent(g,x))},this)},er.prototype._validateMapping=function(a,l,u,h){if(l&&typeof
l.line!="number"&&typeof l.column!="number")throw new
Error("original.line and original.column are not numbers -- you probably
meant to omit the original mapping entirely and only map the generated
position. If so, pass null for the original mapping instead of an object
with empty or null values.");if(!(a&&"line"in
a&&"column"in
a&&a.line>0&&a.column>=0&&!l&&!u&&!h)){if(a&&"line"in
a&&"column"in a&&l&&"line"in
l&&"column"in
l&&a.line>0&&a.column>=0&&l.line>0&&l.column>=0&&u)return;throw
new Error("Invalid mapping:
"+JSON.stringify({generated:a,source:u,original:l,name:h}))}},er.prototype._serializeMappings=function(){for(var
a=0,l=1,u=0,h=0,p=0,S=0,b="",g,x,y,A,m=this._mappings.toArray(),_=0,R=m.length;_0){if(!mt.compareByGeneratedPositionsInflated(x,m[_-1]))continue;g+=","}g+=Yn.encode(x.generatedColumn-a),a=x.generatedColumn,x.source!=null&&(A=this._sources.indexOf(x.source),g+=Yn.encode(A-S),S=A,g+=Yn.encode(x.originalLine-1-h),h=x.originalLine-1,g+=Yn.encode(x.originalColumn-u),u=x.originalColumn,x.name!=null&&(y=this._names.indexOf(x.name),g+=Yn.encode(y-p),p=y)),b+=g}return
b},er.prototype._generateSourcesContent=function(a,l){return
a.map(function(u){if(!this._sourcesContents)return
null;l!=null&&(u=mt.relative(l,u));var
h=mt.toSetString(u);return
Object.prototype.hasOwnProperty.call(this._sourcesContents,h)?this._sourcesContents[h]:null},this)},er.prototype.toJSON=function(){var
a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return
this._file!=null&&(a.file=this._file),this._sourceRoot!=null&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},er.prototype.toString=function(){return
JSON.stringify(this.toJSON())},ol.SourceMapGenerator=er;var
Qi={},Cs={};(function(o){o.GREATEST_LOWER_BOUND=1,o.LEAST_UPPER_BOUND=2;function
a(l,u,h,p,S,b){var g=Math.floor((u-l)/2)+l,x=S(h,p[g],!0);return
x===0?g:x>0?u-g>1?a(g,u,h,p,S,b):b==o.LEAST_UPPER_BOUND?u1?a(l,g,h,p,S,b):b==o.LEAST_UPPER_BOUND?g:l<0?-1:l}o.search=function(u,h,p,S){if(h.length===0)return-1;var
b=a(-1,h.length,u,h,p,S||o.GREATEST_LOWER_BOUND);if(b<0)return-1;for(;b-1>=0&&p(h[b],h[b-1],!0)===0;)--b;return
b}})(Cs);var Ls={};function cl(o,a,l){var
u=o[a];o[a]=o[l],o[l]=u}function Sd(o,a){return
Math.round(o+Math.random()*(a-o))}function hl(o,a,l,u){if(l=0){var
S=this._originalMappings[p];if(a.column===void 0)for(var
b=S.originalLine;S&&S.originalLine===b;)h.push({line:ke.getArg(S,"generatedLine",null),column:ke.getArg(S,"generatedColumn",null),lastColumn:ke.getArg(S,"lastGeneratedColumn",null)}),S=this._originalMappings[++p];else
for(var
g=S.originalColumn;S&&S.originalLine===l&&S.originalColumn==g;)h.push({line:ke.getArg(S,"generatedLine",null),column:ke.getArg(S,"generatedColumn",null),lastColumn:ke.getArg(S,"lastGeneratedColumn",null)}),S=this._originalMappings[++p]}return
h},Qi.SourceMapConsumer=tt;function Mt(o,a){var l=o;typeof
o=="string"&&(l=ke.parseSourceMapInput(o));var
u=ke.getArg(l,"version"),h=ke.getArg(l,"sources"),p=ke.getArg(l,"names",[]),S=ke.getArg(l,"sourceRoot",null),b=ke.getArg(l,"sourcesContent",null),g=ke.getArg(l,"mappings"),x=ke.getArg(l,"file",null);if(u!=this._version)throw
new Error("Unsupported version:
"+u);S&&(S=ke.normalize(S)),h=h.map(String).map(ke.normalize).map(function(y){return
S&&ke.isAbsolute(S)&&ke.isAbsolute(y)?ke.relative(S,y):y}),this._names=vn.fromArray(p.map(String),!0),this._sources=vn.fromArray(h,!0),this._absoluteSources=this._sources.toArray().map(function(y){return
ke.computeSourceURL(S,y,a)}),this.sourceRoot=S,this.sourcesContent=b,this._mappings=g,this._sourceMapURL=a,this.file=x}Mt.prototype=Object.create(tt.prototype),Mt.prototype.consumer=tt,Mt.prototype._findSourceIndex=function(o){var
a=o;if(this.sourceRoot!=null&&(a=ke.relative(this.sourceRoot,a)),this._sources.has(a))return
this._sources.indexOf(a);var l;for(l=0;l1&&(I.source=b+N[1],b+=N[1],I.originalLine=p+N[2],p=I.originalLine,I.originalLine+=1,I.originalColumn=S+N[3],S=I.originalColumn,N.length>4&&(I.name=g+N[4],g+=N[4])),R.push(I),typeof
I.originalLine=="number"&&_.push(I)}Qn(R,ke.compareByGeneratedPositionsDeflated),this.__generatedMappings=R,Qn(_,ke.compareByOriginalPositions),this.__originalMappings=_},Mt.prototype._findMapping=function(a,l,u,h,p,S){if(a[u]<=0)throw
new TypeError("Line must be greater than or equal to 1, got
"+a[u]);if(a[h]<0)throw new TypeError("Column must be greater than or
equal to 0, got "+a[h]);return
dl.search(a,l,p,S)},Mt.prototype.computeColumnSpans=function(){for(var
a=0;a=0){var
h=this._generatedMappings[u];if(h.generatedLine===l.generatedLine){var
p=ke.getArg(h,"source",null);p!==null&&(p=this._sources.at(p),p=ke.computeSourceURL(this.sourceRoot,p,this._sourceMapURL));var
S=ke.getArg(h,"name",null);return
S!==null&&(S=this._names.at(S)),{source:p,line:ke.getArg(h,"originalLine",null),column:ke.getArg(h,"originalColumn",null),name:S}}}return{source:null,line:null,column:null,name:null}},Mt.prototype.hasContentsOfAllSources=function(){return
this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(a){return
a==null}):!1},Mt.prototype.sourceContentFor=function(a,l){if(!this.sourcesContent)return
null;var u=this._findSourceIndex(a);if(u>=0)return
this.sourcesContent[u];var
h=a;this.sourceRoot!=null&&(h=ke.relative(this.sourceRoot,h));var
p;if(this.sourceRoot!=null&&(p=ke.urlParse(this.sourceRoot))){var
S=h.replace(/^file:\/\//,"");if(p.scheme=="file"&&this._sources.has(S))return
this.sourcesContent[this._sources.indexOf(S)];if((!p.path||p.path=="/")&&this._sources.has("/"+h))return
this.sourcesContent[this._sources.indexOf("/"+h)]}if(l)return
null;throw new Error('"'+h+'" is not in the
SourceMap.')},Mt.prototype.generatedPositionFor=function(a){var
l=ke.getArg(a,"source");if(l=this._findSourceIndex(l),l<0)return{line:null,column:null,lastColumn:null};var
u={source:l,originalLine:ke.getArg(a,"line"),originalColumn:ke.getArg(a,"column")},h=this._findMapping(u,this._originalMappings,"originalLine","originalColumn",ke.compareByOriginalPositions,ke.getArg(a,"bias",tt.GREATEST_LOWER_BOUND));if(h>=0){var
p=this._originalMappings[h];if(p.source===u.source)return{line:ke.getArg(p,"generatedLine",null),column:ke.getArg(p,"generatedColumn",null),lastColumn:ke.getArg(p,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},Qi.BasicSourceMapConsumer=Mt;function
or(o,a){var l=o;typeof
o=="string"&&(l=ke.parseSourceMapInput(o));var
u=ke.getArg(l,"version"),h=ke.getArg(l,"sections");if(u!=this._version)throw
new Error("Unsupported version: "+u);this._sources=new
vn,this._names=new vn;var
p={line:-1,column:0};this._sections=h.map(function(S){if(S.url)throw new
Error("Support for url field in sections not implemented.");var
b=ke.getArg(S,"offset"),g=ke.getArg(b,"line"),x=ke.getArg(b,"column");if(g=0;l--)this.prepend(a[l]);else
if(a[mn]||typeof a=="string")this.children.unshift(a);else throw new
TypeError("Expected a SourceNode, string, or an array of SourceNodes and
strings. Got "+a);return this},Yt.prototype.walk=function(a){for(var
l,u=0,h=this.children.length;u0){for(l=[],u=0;uS.onchange(o.state),p=V=>pe=>(V(pe),h());o.selected.map(V=>o.state.selected=V.url||V.name);const
S={onchange:()=>{},setMiddle:V=>o.state.middle=V,toggleConsole:p(V=>o.state.console=o.state.console===!0?"collapsed":!0),resetSize:p(()=>S.setMiddle(50)),loaded:()=>{o.loading=!1,o.console.clearOnNext&&(o.console.output=[],o.console.clearOnNext=!1),typeof
S.onloaded=="function"&&S.onloaded(o.state)},fileSelectionChange:z,selectFileByIndex:L,toggleAutoReload:I,onConsoleKeyDown:T,onConsoleInput:N,consoleOutput:Q,startDragging:_,stopDragging:R,changeMiddle:te,setShareUrl:m,clearErrors:x,clearLogs:y,fileChange:X,initIframe:j,setState:A,resizing:ue,refresh:de,getLink:k,select:O,scroll:W};return
b(),S;function
b(){Promise.all(o.state.links.map(k)).then(()=>de({force:!0}))}function
g(){o.console.output=[{content:[Le("i","Console was
cleared")]}]}function
x(){o.console.output=o.console.output.filter(V=>V.type!=="error")}function
y(){o.console.output=o.console.output.filter(V=>V.type==="error")}function
A(V){o.state=$a(V),O(Gn(o.state,o.state.selected),!0),D(),Le.redraw()}function
m({dom:V}){V.addEventListener("mousedown",pe=>{V.href=Za(o.state)},!0)}function
_(){o.dragging=!0}function
R(){o.dragging=!1,o.refreshCm(!0),h()}function
I(){o.state.autoReload=!o.state.autoReload,h(),o.state.autoReload&&de()}function
W(V){o.state.scroll=V,h()}function
N(V){o.console.input=V.target.value}function
T(V){if((V.key==="Enter"||V.keyCode===13)&&!V.shiftKey&&!V.altKey)return
V.preventDefault(),o.console.output.push({type:"input",content:[">
"+o.console.input],number:"i"+o.console.inputNumber++}),o.console.input.indexOf("console.clear()")===0&&g(),E(),!1;(V.key==="ArrowUp"||V.keyCode===38)&&(o.console.historyNavigated||V.target.selectionStart===0)?(V.preventDefault(),c()):(V.key==="ArrowDown"||V.keyCode===40)&&(o.console.historyNavigated||o.console.input==="")?(V.preventDefault(),w()):o.console.historyNavigated=!1}function
E(V){!o.console.input||(o.iframe.contentWindow.postMessage({name:"eval",content:o.console.input},"*"),o.console.position=o.console.history.push(o.console.input),o.console.input="")}function
c(){o.console.historyNavigated=!0,o.console.position>=0&&(o.console.position-=1),o.console.input=o.console.history[o.console.position]||""}function
w(){o.console.historyNavigated=!0,o.console.position{pe=pe.replace(/\r\n/g,`
`),!(pe.length>3e5)&&(V.content=pe,V.patched=V.patches?pd(pe,V.patches)[0]:pe,o.selected()===V&&O(V))}).catch(()=>{})}function
O(V,pe){typeof
V=="string"&&(V=Gn(o.state,V)),o.selected(V),!pe&&h()}function
L(V){const
pe=o.state.files.concat(o.state.links)[V];pe&&O(pe)}function
j(V){o.iframe=V,o.iframe.addEventListener("load",B)}function
B(){o.iframe.contentWindow.postMessage({name:"init",content:{id:o.id,state:{scroll:o.state.scroll,files:u,links:o.state.links.map(V=>({type:V.type,name:V.name,url:V.url,content:V.patched||V.content}))}}},"*")}function
U(V){const
pe=V.compiler==="function"?V.compiler:Qa[V.compiler||Ri(V.name)];return
pe?pe(V).then(Ne=>(Ne.error&&Q(Ne.error),Ne.map&&(V.map=Ne.map),{name:V.name,type:V.type,content:Ne.code})).catch(Ne=>(Q({content:["Error
compiling
"+V.compiler+":",Ph(Ne)],type:"error",stack:[]}),{name:V.name,type:V.type,content:V.content})):{name:V.name,type:V.type,content:V.content}}function
Q(V){o.console.clearOnNext&&(o.console.output=[],o.console.clearOnNext=!1),V.stack.forEach(pe=>{const
Ne=Gn(o.state,pe.file);if(!Ne||!Ne.map)return;const je=new
ji.SourceMapConsumer(Ne.map).originalPositionFor({line:pe.line,column:pe.column});pe.line=je.line,pe.column=je.column}),V.content&&!Array.isArray(V.content)&&(V.content=[V.content]),o.console.output.push(V)}function
X(V,pe,Ne){V.url?V.patched=pe:V.content=pe,Ne&&(V.selections=Ne==="0:0"?void
0:Ne),typeof S.onload=="function"&&S.onload(),D(V),h()}function
D(V){clearTimeout(l),l=setTimeout(()=>{if(!V)return
de();V.url&&(V.patches=cd(V.content,V.patched)),o.state.autoReload&&(V.type==="style"||V.type==="css")?(o.iframe.contentWindow.postMessage({name:"css",content:{name:V.name,url:V.url,content:V.patched||V.content}},"*"),typeof
S.onloaded=="function"&&S.onloaded(o.state),h()):de()},o.state.autoReloadDelay||400)}function
z(V,pe){pe=pe==="0:0"?void
0:pe,pe!==V.selections&&(V.selections=pe,h())}function
te(V){const{top:pe,left:Ne}=o.dom.getBoundingClientRect();o.state.middle=Math.min(Math.max(Math.round((o.vertical()?(V.clientY-pe+5)/(o.dom.offsetHeight-o.console.dom.offsetHeight):(V.clientX-Ne+5)/o.dom.offsetWidth)*1e4)/100,0),100),Le.redraw()}function
ue(){o.iOS||(o.resizing=!0,clearTimeout(a),a=setTimeout(()=>{o.resizing=!1,Le.redraw()},1e3))}function
de(V={}){if(!V.force&&!o.state.autoReload)return
o.hasChanges=!0;o.hasChanges=!1,o.loading=!0,o.console.clearOnNext=!0,Promise.all(o.state.files.map(U)).then(Me),Le.redraw()}function
Me(V){if(!o.iframe)return
setTimeout(Me,10,V);Ad&&(o.iframe.src+="?"),u=V,o.iframe.src=o.runtimeUrl}}var
_d={listen:(o,a)=>{const
l={loaded:a.loaded,console:a.consoleOutput,resize:a.resizing,scroll:a.scroll};window.addEventListener("message",({data:u})=>{u.flems!==o.id||!(u.name
in l)||(l[u.name](u.content),Le.redraw())})}};let As=!1;function
Zi(o,a={},l){const u=Sh(o,a,l),h=Od(u);return
As||(window.addEventListener("resize",()=>Le.redraw()),As=!0),_d.listen(u,h),Le.mount(o,{view:()=>bh(u,h)}),{focus:u.focus,reload:()=>h.refresh({force:!0}),onchange:p=>h.onchange=p,onload:p=>h.onload=p,onloaded:p=>h.onloaded=p,getLink:h.getLink,set:h.setState,redraw:Le.redraw}}return
Zi.defaults=Bi,Zi.createFlemsIoLink=Za,Zi.version="1.5.8",Zi});
//# sourceMappingURL=flems.js.map
// -->