diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d585737..518bbac5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # pastebar-app +## 0.2.1 + +### Patch Changes + +- Contact Form and Pro Support Form added + ## 0.2.0 ### Minor Changes diff --git a/dist-ui/assets/apl-CFnSufPM.js b/dist-ui/assets/apl-uWNl4Rnd.js similarity index 97% rename from dist-ui/assets/apl-CFnSufPM.js rename to dist-ui/assets/apl-uWNl4Rnd.js index 1f1b9227..dae15686 100644 --- a/dist-ui/assets/apl-CFnSufPM.js +++ b/dist-ui/assets/apl-uWNl4Rnd.js @@ -1 +1 @@ -import{g as x,c as h}from"./index-CHg1vBCc.js";function m(u,s){for(var l=0;li[t]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(u,s){(function(l){l(h)})(function(l){l.defineMode("apl",function(){var i={".":"innerProduct","\\":"scan","/":"reduce","⌿":"reduce1Axis","⍀":"scan1Axis","¨":"each","⍣":"power"},t={"+":["conjugate","add"],"−":["negate","subtract"],"×":["signOf","multiply"],"÷":["reciprocal","divide"],"⌈":["ceiling","greaterOf"],"⌊":["floor","lesserOf"],"∣":["absolute","residue"],"⍳":["indexGenerate","indexOf"],"?":["roll","deal"],"⋆":["exponentiate","toThePowerOf"],"⍟":["naturalLog","logToTheBase"],"○":["piTimes","circularFuncs"],"!":["factorial","binomial"],"⌹":["matrixInverse","matrixDivide"],"<":[null,"lessThan"],"≤":[null,"lessThanOrEqual"],"=":[null,"equals"],">":[null,"greaterThan"],"≥":[null,"greaterThanOrEqual"],"≠":[null,"notEqual"],"≡":["depth","match"],"≢":[null,"notMatch"],"∈":["enlist","membership"],"⍷":[null,"find"],"∪":["unique","union"],"∩":[null,"intersection"],"∼":["not","without"],"∨":[null,"or"],"∧":[null,"and"],"⍱":[null,"nor"],"⍲":[null,"nand"],"⍴":["shapeOf","reshape"],",":["ravel","catenate"],"⍪":[null,"firstAxisCatenate"],"⌽":["reverse","rotate"],"⊖":["axis1Reverse","axis1Rotate"],"⍉":["transpose",null],"↑":["first","take"],"↓":[null,"drop"],"⊂":["enclose","partitionWithAxis"],"⊃":["diclose","pick"],"⌷":[null,"index"],"⍋":["gradeUp",null],"⍒":["gradeDown",null],"⊤":["encode",null],"⊥":["decode",null],"⍕":["format","formatByExample"],"⍎":["execute",null],"⊣":["stop","left"],"⊢":["pass","right"]},a=/[\.\/⌿⍀¨⍣]/,c=/⍬/,p=/[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/,d=/←/,v=/[⍝#].*$/,g=function(n){var r;return r=!1,function(e){return r=e,e===n?r==="\\":!0}};return{startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(n,r){var e,o;return n.eatSpace()?null:(e=n.next(),e==='"'||e==="'"?(n.eatWhile(g(e)),n.next(),r.prev=!0,"string"):/[\[{\(]/.test(e)?(r.prev=!1,null):/[\]}\)]/.test(e)?(r.prev=!0,null):c.test(e)?(r.prev=!1,"niladic"):/[¯\d]/.test(e)?(r.func?(r.func=!1,r.prev=!1):r.prev=!0,n.eatWhile(/[\w\.]/),"number"):a.test(e)?"operator apl-"+i[e]:d.test(e)?"apl-arrow":p.test(e)?(o="apl-",t[e]!=null&&(r.prev?o+=t[e][1]:o+=t[e][0]),r.func=!0,r.prev=!1,"function "+o):v.test(e)?(n.skipToEnd(),"comment"):e==="∘"&&n.peek()==="."?(n.next(),"function jot-dot"):(n.eatWhile(/[\w\$_]/),r.prev=!0,"keyword"))}}}),l.defineMIME("text/apl","apl")})})();var f=O.exports;const b=x(f),y=m({__proto__:null,default:b},[f]);export{y as a}; +import{g as x,c as h}from"./index-rXwcQ1j1.js";function m(u,s){for(var l=0;li[t]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(u,s){(function(l){l(h)})(function(l){l.defineMode("apl",function(){var i={".":"innerProduct","\\":"scan","/":"reduce","⌿":"reduce1Axis","⍀":"scan1Axis","¨":"each","⍣":"power"},t={"+":["conjugate","add"],"−":["negate","subtract"],"×":["signOf","multiply"],"÷":["reciprocal","divide"],"⌈":["ceiling","greaterOf"],"⌊":["floor","lesserOf"],"∣":["absolute","residue"],"⍳":["indexGenerate","indexOf"],"?":["roll","deal"],"⋆":["exponentiate","toThePowerOf"],"⍟":["naturalLog","logToTheBase"],"○":["piTimes","circularFuncs"],"!":["factorial","binomial"],"⌹":["matrixInverse","matrixDivide"],"<":[null,"lessThan"],"≤":[null,"lessThanOrEqual"],"=":[null,"equals"],">":[null,"greaterThan"],"≥":[null,"greaterThanOrEqual"],"≠":[null,"notEqual"],"≡":["depth","match"],"≢":[null,"notMatch"],"∈":["enlist","membership"],"⍷":[null,"find"],"∪":["unique","union"],"∩":[null,"intersection"],"∼":["not","without"],"∨":[null,"or"],"∧":[null,"and"],"⍱":[null,"nor"],"⍲":[null,"nand"],"⍴":["shapeOf","reshape"],",":["ravel","catenate"],"⍪":[null,"firstAxisCatenate"],"⌽":["reverse","rotate"],"⊖":["axis1Reverse","axis1Rotate"],"⍉":["transpose",null],"↑":["first","take"],"↓":[null,"drop"],"⊂":["enclose","partitionWithAxis"],"⊃":["diclose","pick"],"⌷":[null,"index"],"⍋":["gradeUp",null],"⍒":["gradeDown",null],"⊤":["encode",null],"⊥":["decode",null],"⍕":["format","formatByExample"],"⍎":["execute",null],"⊣":["stop","left"],"⊢":["pass","right"]},a=/[\.\/⌿⍀¨⍣]/,c=/⍬/,p=/[\+−×÷⌈⌊∣⍳\?⋆⍟○!⌹<≤=>≥≠≡≢∈⍷∪∩∼∨∧⍱⍲⍴,⍪⌽⊖⍉↑↓⊂⊃⌷⍋⍒⊤⊥⍕⍎⊣⊢]/,d=/←/,v=/[⍝#].*$/,g=function(n){var r;return r=!1,function(e){return r=e,e===n?r==="\\":!0}};return{startState:function(){return{prev:!1,func:!1,op:!1,string:!1,escape:!1}},token:function(n,r){var e,o;return n.eatSpace()?null:(e=n.next(),e==='"'||e==="'"?(n.eatWhile(g(e)),n.next(),r.prev=!0,"string"):/[\[{\(]/.test(e)?(r.prev=!1,null):/[\]}\)]/.test(e)?(r.prev=!0,null):c.test(e)?(r.prev=!1,"niladic"):/[¯\d]/.test(e)?(r.func?(r.func=!1,r.prev=!1):r.prev=!0,n.eatWhile(/[\w\.]/),"number"):a.test(e)?"operator apl-"+i[e]:d.test(e)?"apl-arrow":p.test(e)?(o="apl-",t[e]!=null&&(r.prev?o+=t[e][1]:o+=t[e][0]),r.func=!0,r.prev=!1,"function "+o):v.test(e)?(n.skipToEnd(),"comment"):e==="∘"&&n.peek()==="."?(n.next(),"function jot-dot"):(n.eatWhile(/[\w\$_]/),r.prev=!0,"keyword"))}}}),l.defineMIME("text/apl","apl")})})();var f=O.exports;const b=x(f),y=m({__proto__:null,default:b},[f]);export{y as a}; diff --git a/dist-ui/assets/asciiarmor-BYTtikW4.js b/dist-ui/assets/asciiarmor-uLnLNHQs.js similarity index 95% rename from dist-ui/assets/asciiarmor-BYTtikW4.js rename to dist-ui/assets/asciiarmor-uLnLNHQs.js index bb00bd65..2b07851e 100644 --- a/dist-ui/assets/asciiarmor-BYTtikW4.js +++ b/dist-ui/assets/asciiarmor-uLnLNHQs.js @@ -1 +1 @@ -import{g as p,c as s}from"./index-CHg1vBCc.js";function u(i,a){for(var t=0;tn[e]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(i,a){(function(t){t(s)})(function(t){function n(e){var r=e.match(/^\s*\S/);return e.skipToEnd(),r?"error":null}t.defineMode("asciiarmor",function(){return{token:function(e,r){var o;if(r.state=="top")return e.sol()&&(o=e.match(/^-----BEGIN (.*)?-----\s*$/))?(r.state="headers",r.type=o[1],"tag"):n(e);if(r.state=="headers"){if(e.sol()&&e.match(/^\w+:/))return r.state="header","atom";var c=n(e);return c&&(r.state="body"),c}else{if(r.state=="header")return e.skipToEnd(),r.state="headers","string";if(r.state=="body")return e.sol()&&(o=e.match(/^-----END (.*)?-----\s*$/))?o[1]!=r.type?"error":(r.state="end","tag"):e.eatWhile(/[A-Za-z0-9+\/=]/)?null:(e.next(),"error");if(r.state=="end")return n(e)}},blankLine:function(e){e.state=="headers"&&(e.state="body")},startState:function(){return{state:"top",type:null}}}}),t.defineMIME("application/pgp","asciiarmor"),t.defineMIME("application/pgp-encrypted","asciiarmor"),t.defineMIME("application/pgp-keys","asciiarmor"),t.defineMIME("application/pgp-signature","asciiarmor")})})();var f=l.exports;const d=p(f),y=u({__proto__:null,default:d},[f]);export{y as a}; +import{g as p,c as s}from"./index-rXwcQ1j1.js";function u(i,a){for(var t=0;tn[e]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(i,a){(function(t){t(s)})(function(t){function n(e){var r=e.match(/^\s*\S/);return e.skipToEnd(),r?"error":null}t.defineMode("asciiarmor",function(){return{token:function(e,r){var o;if(r.state=="top")return e.sol()&&(o=e.match(/^-----BEGIN (.*)?-----\s*$/))?(r.state="headers",r.type=o[1],"tag"):n(e);if(r.state=="headers"){if(e.sol()&&e.match(/^\w+:/))return r.state="header","atom";var c=n(e);return c&&(r.state="body"),c}else{if(r.state=="header")return e.skipToEnd(),r.state="headers","string";if(r.state=="body")return e.sol()&&(o=e.match(/^-----END (.*)?-----\s*$/))?o[1]!=r.type?"error":(r.state="end","tag"):e.eatWhile(/[A-Za-z0-9+\/=]/)?null:(e.next(),"error");if(r.state=="end")return n(e)}},blankLine:function(e){e.state=="headers"&&(e.state="body")},startState:function(){return{state:"top",type:null}}}}),t.defineMIME("application/pgp","asciiarmor"),t.defineMIME("application/pgp-encrypted","asciiarmor"),t.defineMIME("application/pgp-keys","asciiarmor"),t.defineMIME("application/pgp-signature","asciiarmor")})})();var f=l.exports;const d=p(f),y=u({__proto__:null,default:d},[f]);export{y as a}; diff --git a/dist-ui/assets/asn.1-CwSg7ZbB.js b/dist-ui/assets/asn.1-CLnHba09.js similarity index 98% rename from dist-ui/assets/asn.1-CwSg7ZbB.js rename to dist-ui/assets/asn.1-CLnHba09.js index 1cc8481b..c230dc9c 100644 --- a/dist-ui/assets/asn.1-CwSg7ZbB.js +++ b/dist-ui/assets/asn.1-CLnHba09.js @@ -1 +1 @@ -import{g as x,c as v}from"./index-CHg1vBCc.js";function h(a,f){for(var s=0;so[u]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var G={exports:{}};(function(a,f){(function(s){s(v)})(function(s){s.defineMode("asn.1",function(u,i){var S=u.indentUnit,T=i.keywords||{},m=i.cmipVerbs||{},y=i.compareTypes||{},C=i.status||{},g=i.tags||{},R=i.storage||{},D=i.modifier||{},b=i.accessTypes||{},L=i.multiLineStrings,P=i.indentStatements!==!1,A=/[\|\^]/,E;function M(e,t){var n=e.next();if(n=='"'||n=="'")return t.tokenize=U(n),t.tokenize(e,t);if(/[\[\]\(\){}:=,;]/.test(n))return E=n,"punctuation";if(n=="-"&&e.eat("-"))return e.skipToEnd(),"comment";if(/\d/.test(n))return e.eatWhile(/[\w\.]/),"number";if(A.test(n))return e.eatWhile(A),"operator";e.eatWhile(/[\w\-]/);var r=e.current();return T.propertyIsEnumerable(r)?"keyword":m.propertyIsEnumerable(r)?"variable cmipVerbs":y.propertyIsEnumerable(r)?"atom compareTypes":C.propertyIsEnumerable(r)?"comment status":g.propertyIsEnumerable(r)?"variable-3 tags":R.propertyIsEnumerable(r)?"builtin storage":D.propertyIsEnumerable(r)?"string-2 modifier":b.propertyIsEnumerable(r)?"atom accessTypes":"variable"}function U(e){return function(t,n){for(var r=!1,c,O=!1;(c=t.next())!=null;){if(c==e&&!r){var I=t.peek();I&&(I=I.toLowerCase(),(I=="b"||I=="h"||I=="o")&&t.next()),O=!0;break}r=!r&&c=="\\"}return(O||!(r||L))&&(n.tokenize=null),"string"}}function d(e,t,n,r,c){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=c}function p(e,t,n){var r=e.indented;return e.context&&e.context.type=="statement"&&(r=e.context.indented),e.context=new d(r,t,n,null,e.context)}function l(e){var t=e.context.type;return(t==")"||t=="]"||t=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:null,context:new d((e||0)-S,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(n.align==null&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;E=null;var r=(t.tokenize||M)(e,t);if(r=="comment")return r;if(n.align==null&&(n.align=!0),(E==";"||E==":"||E==",")&&n.type=="statement")l(t);else if(E=="{")p(t,e.column(),"}");else if(E=="[")p(t,e.column(),"]");else if(E=="(")p(t,e.column(),")");else if(E=="}"){for(;n.type=="statement";)n=l(t);for(n.type=="}"&&(n=l(t));n.type=="statement";)n=l(t)}else E==n.type?l(t):P&&((n.type=="}"||n.type=="top")&&E!=";"||n.type=="statement"&&E=="newstatement")&&p(t,e.column(),"statement");return t.startOfLine=!1,r},electricChars:"{}",lineComment:"--",fold:"brace"}});function o(u){for(var i={},S=u.split(" "),T=0;To[u]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var G={exports:{}};(function(a,f){(function(s){s(v)})(function(s){s.defineMode("asn.1",function(u,i){var S=u.indentUnit,T=i.keywords||{},m=i.cmipVerbs||{},y=i.compareTypes||{},C=i.status||{},g=i.tags||{},R=i.storage||{},D=i.modifier||{},b=i.accessTypes||{},L=i.multiLineStrings,P=i.indentStatements!==!1,A=/[\|\^]/,E;function M(e,t){var n=e.next();if(n=='"'||n=="'")return t.tokenize=U(n),t.tokenize(e,t);if(/[\[\]\(\){}:=,;]/.test(n))return E=n,"punctuation";if(n=="-"&&e.eat("-"))return e.skipToEnd(),"comment";if(/\d/.test(n))return e.eatWhile(/[\w\.]/),"number";if(A.test(n))return e.eatWhile(A),"operator";e.eatWhile(/[\w\-]/);var r=e.current();return T.propertyIsEnumerable(r)?"keyword":m.propertyIsEnumerable(r)?"variable cmipVerbs":y.propertyIsEnumerable(r)?"atom compareTypes":C.propertyIsEnumerable(r)?"comment status":g.propertyIsEnumerable(r)?"variable-3 tags":R.propertyIsEnumerable(r)?"builtin storage":D.propertyIsEnumerable(r)?"string-2 modifier":b.propertyIsEnumerable(r)?"atom accessTypes":"variable"}function U(e){return function(t,n){for(var r=!1,c,O=!1;(c=t.next())!=null;){if(c==e&&!r){var I=t.peek();I&&(I=I.toLowerCase(),(I=="b"||I=="h"||I=="o")&&t.next()),O=!0;break}r=!r&&c=="\\"}return(O||!(r||L))&&(n.tokenize=null),"string"}}function d(e,t,n,r,c){this.indented=e,this.column=t,this.type=n,this.align=r,this.prev=c}function p(e,t,n){var r=e.indented;return e.context&&e.context.type=="statement"&&(r=e.context.indented),e.context=new d(r,t,n,null,e.context)}function l(e){var t=e.context.type;return(t==")"||t=="]"||t=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:null,context:new d((e||0)-S,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,t){var n=t.context;if(e.sol()&&(n.align==null&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),e.eatSpace())return null;E=null;var r=(t.tokenize||M)(e,t);if(r=="comment")return r;if(n.align==null&&(n.align=!0),(E==";"||E==":"||E==",")&&n.type=="statement")l(t);else if(E=="{")p(t,e.column(),"}");else if(E=="[")p(t,e.column(),"]");else if(E=="(")p(t,e.column(),")");else if(E=="}"){for(;n.type=="statement";)n=l(t);for(n.type=="}"&&(n=l(t));n.type=="statement";)n=l(t)}else E==n.type?l(t):P&&((n.type=="}"||n.type=="top")&&E!=";"||n.type=="statement"&&E=="newstatement")&&p(t,e.column(),"statement");return t.startOfLine=!1,r},electricChars:"{}",lineComment:"--",fold:"brace"}});function o(u){for(var i={},S=u.split(" "),T=0;Tr[o]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(s,l){(function(t){t(f)})(function(t){t.defineMode("asterisk",function(){var r=["exten","same","include","ignorepat","switch"],o=["#include","#exec"],c=["addqueuemember","adsiprog","aelsub","agentlogin","agentmonitoroutgoing","agi","alarmreceiver","amd","answer","authenticate","background","backgrounddetect","bridge","busy","callcompletioncancel","callcompletionrequest","celgenuserevent","changemonitor","chanisavail","channelredirect","chanspy","clearhash","confbridge","congestion","continuewhile","controlplayback","dahdiacceptr2call","dahdibarge","dahdiras","dahdiscan","dahdisendcallreroutingfacility","dahdisendkeypadfacility","datetime","dbdel","dbdeltree","deadagi","dial","dictate","directory","disa","dumpchan","eagi","echo","endwhile","exec","execif","execiftime","exitwhile","extenspy","externalivr","festival","flash","followme","forkcdr","getcpeid","gosub","gosubif","goto","gotoif","gotoiftime","hangup","iax2provision","ices","importvar","incomplete","ivrdemo","jabberjoin","jabberleave","jabbersend","jabbersendgroup","jabberstatus","jack","log","macro","macroexclusive","macroexit","macroif","mailboxexists","meetme","meetmeadmin","meetmechanneladmin","meetmecount","milliwatt","minivmaccmess","minivmdelete","minivmgreet","minivmmwi","minivmnotify","minivmrecord","mixmonitor","monitor","morsecode","mp3player","mset","musiconhold","nbscat","nocdr","noop","odbc","odbc","odbcfinish","originate","ospauth","ospfinish","osplookup","ospnext","page","park","parkandannounce","parkedcall","pausemonitor","pausequeuemember","pickup","pickupchan","playback","playtones","privacymanager","proceeding","progress","queue","queuelog","raiseexception","read","readexten","readfile","receivefax","receivefax","receivefax","record","removequeuemember","resetcdr","retrydial","return","ringing","sayalpha","saycountedadj","saycountednoun","saycountpl","saydigits","saynumber","sayphonetic","sayunixtime","senddtmf","sendfax","sendfax","sendfax","sendimage","sendtext","sendurl","set","setamaflags","setcallerpres","setmusiconhold","sipaddheader","sipdtmfmode","sipremoveheader","skel","slastation","slatrunk","sms","softhangup","speechactivategrammar","speechbackground","speechcreate","speechdeactivategrammar","speechdestroy","speechloadgrammar","speechprocessingsound","speechstart","speechunloadgrammar","stackpop","startmusiconhold","stopmixmonitor","stopmonitor","stopmusiconhold","stopplaytones","system","testclient","testserver","transfer","tryexec","trysystem","unpausemonitor","unpausequeuemember","userevent","verbose","vmauthenticate","vmsayname","voicemail","voicemailmain","wait","waitexten","waitfornoise","waitforring","waitforsilence","waitmusiconhold","waituntil","while","zapateller"];function d(e,n){var i="",a=e.next();if(n.blockComment)return a=="-"&&e.match("-;",!0)?n.blockComment=!1:e.skipTo("--;")?(e.next(),e.next(),e.next(),n.blockComment=!1):e.skipToEnd(),"comment";if(a==";")return e.match("--",!0)&&!e.match("-",!1)?(n.blockComment=!0,"comment"):(e.skipToEnd(),"comment");if(a=="[")return e.skipTo("]"),e.eat("]"),"header";if(a=='"')return e.skipTo('"'),"string";if(a=="'")return e.skipTo("'"),"string-2";if(a=="#"&&(e.eatWhile(/\w/),i=e.current(),o.indexOf(i)!==-1))return e.skipToEnd(),"strong";if(a=="$"){var p=e.peek();if(p=="{")return e.skipTo("}"),e.eat("}"),"variable-3"}if(e.eatWhile(/\w/),i=e.current(),r.indexOf(i)!==-1){switch(n.extenStart=!0,i){case"same":n.extenSame=!0;break;case"include":case"switch":case"ignorepat":n.extenInclude=!0;break}return"atom"}}return{startState:function(){return{blockComment:!1,extenStart:!1,extenSame:!1,extenInclude:!1,extenExten:!1,extenPriority:!1,extenApplication:!1}},token:function(e,n){var i="";if(e.eatSpace())return null;if(n.extenStart)return e.eatWhile(/[^\s]/),i=e.current(),/^=>?$/.test(i)?(n.extenExten=!0,n.extenStart=!1,"strong"):(n.extenStart=!1,e.skipToEnd(),"error");if(n.extenExten)return n.extenExten=!1,n.extenPriority=!0,e.eatWhile(/[^,]/),n.extenInclude&&(e.skipToEnd(),n.extenPriority=!1,n.extenInclude=!1),n.extenSame&&(n.extenPriority=!1,n.extenSame=!1,n.extenApplication=!0),"tag";if(n.extenPriority)return n.extenPriority=!1,n.extenApplication=!0,e.next(),n.extenSame?null:(e.eatWhile(/[^,]/),"number");if(n.extenApplication){if(e.eatWhile(/,/),i=e.current(),i===",")return null;if(e.eatWhile(/\w/),i=e.current().toLowerCase(),n.extenApplication=!1,c.indexOf(i)!==-1)return"def strong"}else return d(e,n);return null},blockCommentStart:";--",blockCommentEnd:"--;",lineComment:";"}}),t.defineMIME("text/x-asterisk","asterisk")})})();var u=g.exports;const h=m(u),k=x({__proto__:null,default:h},[u]);export{k as a}; +import{g as m,c as f}from"./index-rXwcQ1j1.js";function x(s,l){for(var t=0;tr[o]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(s,l){(function(t){t(f)})(function(t){t.defineMode("asterisk",function(){var r=["exten","same","include","ignorepat","switch"],o=["#include","#exec"],c=["addqueuemember","adsiprog","aelsub","agentlogin","agentmonitoroutgoing","agi","alarmreceiver","amd","answer","authenticate","background","backgrounddetect","bridge","busy","callcompletioncancel","callcompletionrequest","celgenuserevent","changemonitor","chanisavail","channelredirect","chanspy","clearhash","confbridge","congestion","continuewhile","controlplayback","dahdiacceptr2call","dahdibarge","dahdiras","dahdiscan","dahdisendcallreroutingfacility","dahdisendkeypadfacility","datetime","dbdel","dbdeltree","deadagi","dial","dictate","directory","disa","dumpchan","eagi","echo","endwhile","exec","execif","execiftime","exitwhile","extenspy","externalivr","festival","flash","followme","forkcdr","getcpeid","gosub","gosubif","goto","gotoif","gotoiftime","hangup","iax2provision","ices","importvar","incomplete","ivrdemo","jabberjoin","jabberleave","jabbersend","jabbersendgroup","jabberstatus","jack","log","macro","macroexclusive","macroexit","macroif","mailboxexists","meetme","meetmeadmin","meetmechanneladmin","meetmecount","milliwatt","minivmaccmess","minivmdelete","minivmgreet","minivmmwi","minivmnotify","minivmrecord","mixmonitor","monitor","morsecode","mp3player","mset","musiconhold","nbscat","nocdr","noop","odbc","odbc","odbcfinish","originate","ospauth","ospfinish","osplookup","ospnext","page","park","parkandannounce","parkedcall","pausemonitor","pausequeuemember","pickup","pickupchan","playback","playtones","privacymanager","proceeding","progress","queue","queuelog","raiseexception","read","readexten","readfile","receivefax","receivefax","receivefax","record","removequeuemember","resetcdr","retrydial","return","ringing","sayalpha","saycountedadj","saycountednoun","saycountpl","saydigits","saynumber","sayphonetic","sayunixtime","senddtmf","sendfax","sendfax","sendfax","sendimage","sendtext","sendurl","set","setamaflags","setcallerpres","setmusiconhold","sipaddheader","sipdtmfmode","sipremoveheader","skel","slastation","slatrunk","sms","softhangup","speechactivategrammar","speechbackground","speechcreate","speechdeactivategrammar","speechdestroy","speechloadgrammar","speechprocessingsound","speechstart","speechunloadgrammar","stackpop","startmusiconhold","stopmixmonitor","stopmonitor","stopmusiconhold","stopplaytones","system","testclient","testserver","transfer","tryexec","trysystem","unpausemonitor","unpausequeuemember","userevent","verbose","vmauthenticate","vmsayname","voicemail","voicemailmain","wait","waitexten","waitfornoise","waitforring","waitforsilence","waitmusiconhold","waituntil","while","zapateller"];function d(e,n){var i="",a=e.next();if(n.blockComment)return a=="-"&&e.match("-;",!0)?n.blockComment=!1:e.skipTo("--;")?(e.next(),e.next(),e.next(),n.blockComment=!1):e.skipToEnd(),"comment";if(a==";")return e.match("--",!0)&&!e.match("-",!1)?(n.blockComment=!0,"comment"):(e.skipToEnd(),"comment");if(a=="[")return e.skipTo("]"),e.eat("]"),"header";if(a=='"')return e.skipTo('"'),"string";if(a=="'")return e.skipTo("'"),"string-2";if(a=="#"&&(e.eatWhile(/\w/),i=e.current(),o.indexOf(i)!==-1))return e.skipToEnd(),"strong";if(a=="$"){var p=e.peek();if(p=="{")return e.skipTo("}"),e.eat("}"),"variable-3"}if(e.eatWhile(/\w/),i=e.current(),r.indexOf(i)!==-1){switch(n.extenStart=!0,i){case"same":n.extenSame=!0;break;case"include":case"switch":case"ignorepat":n.extenInclude=!0;break}return"atom"}}return{startState:function(){return{blockComment:!1,extenStart:!1,extenSame:!1,extenInclude:!1,extenExten:!1,extenPriority:!1,extenApplication:!1}},token:function(e,n){var i="";if(e.eatSpace())return null;if(n.extenStart)return e.eatWhile(/[^\s]/),i=e.current(),/^=>?$/.test(i)?(n.extenExten=!0,n.extenStart=!1,"strong"):(n.extenStart=!1,e.skipToEnd(),"error");if(n.extenExten)return n.extenExten=!1,n.extenPriority=!0,e.eatWhile(/[^,]/),n.extenInclude&&(e.skipToEnd(),n.extenPriority=!1,n.extenInclude=!1),n.extenSame&&(n.extenPriority=!1,n.extenSame=!1,n.extenApplication=!0),"tag";if(n.extenPriority)return n.extenPriority=!1,n.extenApplication=!0,e.next(),n.extenSame?null:(e.eatWhile(/[^,]/),"number");if(n.extenApplication){if(e.eatWhile(/,/),i=e.current(),i===",")return null;if(e.eatWhile(/\w/),i=e.current().toLowerCase(),n.extenApplication=!1,c.indexOf(i)!==-1)return"def strong"}else return d(e,n);return null},blockCommentStart:";--",blockCommentEnd:"--;",lineComment:";"}}),t.defineMIME("text/x-asterisk","asterisk")})})();var u=g.exports;const h=m(u),k=x({__proto__:null,default:h},[u]);export{k as a}; diff --git a/dist-ui/assets/brainfuck-DPFAy9w-.js b/dist-ui/assets/brainfuck-CZMfAm49.js similarity index 94% rename from dist-ui/assets/brainfuck-DPFAy9w-.js rename to dist-ui/assets/brainfuck-CZMfAm49.js index c5a5df45..ac005792 100644 --- a/dist-ui/assets/brainfuck-DPFAy9w-.js +++ b/dist-ui/assets/brainfuck-CZMfAm49.js @@ -1 +1 @@ -import{g as u,c as l}from"./index-CHg1vBCc.js";function a(f,i){for(var t=0;to[e]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var m={exports:{}};(function(f,i){(function(t){t(l)})(function(t){var o="><+-.,[]".split("");t.defineMode("brainfuck",function(){return{startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(e,n){if(e.eatSpace())return null;e.sol()&&(n.commentLine=!1);var r=e.next().toString();if(o.indexOf(r)!==-1){if(n.commentLine===!0)return e.eol()&&(n.commentLine=!1),"comment";if(r==="]"||r==="[")return r==="["?n.left++:n.right++,"bracket";if(r==="+"||r==="-")return"keyword";if(r==="<"||r===">")return"atom";if(r==="."||r===",")return"def"}else return n.commentLine=!0,e.eol()&&(n.commentLine=!1),"comment";e.eol()&&(n.commentLine=!1)}}}),t.defineMIME("text/x-brainfuck","brainfuck")})})();var c=m.exports;const s=u(c),b=a({__proto__:null,default:s},[c]);export{b}; +import{g as u,c as l}from"./index-rXwcQ1j1.js";function a(f,i){for(var t=0;to[e]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var m={exports:{}};(function(f,i){(function(t){t(l)})(function(t){var o="><+-.,[]".split("");t.defineMode("brainfuck",function(){return{startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(e,n){if(e.eatSpace())return null;e.sol()&&(n.commentLine=!1);var r=e.next().toString();if(o.indexOf(r)!==-1){if(n.commentLine===!0)return e.eol()&&(n.commentLine=!1),"comment";if(r==="]"||r==="[")return r==="["?n.left++:n.right++,"bracket";if(r==="+"||r==="-")return"keyword";if(r==="<"||r===">")return"atom";if(r==="."||r===",")return"def"}else return n.commentLine=!0,e.eol()&&(n.commentLine=!1),"comment";e.eol()&&(n.commentLine=!1)}}}),t.defineMIME("text/x-brainfuck","brainfuck")})})();var c=m.exports;const s=u(c),b=a({__proto__:null,default:s},[c]);export{b}; diff --git a/dist-ui/assets/clike-CxakbZz2.js b/dist-ui/assets/clike-DTXsj3bR.js similarity index 99% rename from dist-ui/assets/clike-CxakbZz2.js rename to dist-ui/assets/clike-DTXsj3bR.js index eb317547..79814762 100644 --- a/dist-ui/assets/clike-CxakbZz2.js +++ b/dist-ui/assets/clike-DTXsj3bR.js @@ -1 +1 @@ -import{g as me,c as ge}from"./index-CHg1vBCc.js";function ke(N,z){for(var y=0;yg[m]})}}}return Object.freeze(Object.defineProperty(N,Symbol.toStringTag,{value:"Module"}))}var be={exports:{}};(function(N,z){(function(y){y(ge)})(function(y){function g(e,t,n,l,u,d){this.indented=e,this.column=t,this.type=n,this.info=l,this.align=u,this.prev=d}function m(e,t,n,l){var u=e.indented;return e.context&&e.context.type=="statement"&&n!="statement"&&(u=e.context.indented),e.context=new g(u,t,n,l,null,e.context)}function k(e){var t=e.context.type;return(t==")"||t=="]"||t=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}function R(e,t,n){if(t.prevToken=="variable"||t.prevToken=="type"||/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||t.typeAtEndOfLine&&e.column()==e.indentation())return!0}function O(e){for(;;){if(!e||e.type=="top")return!0;if(e.type=="}"&&e.prev.info!="namespace")return!1;e=e.prev}}y.defineMode("clike",function(e,t){var n=e.indentUnit,l=t.statementIndentUnit||n,u=t.dontAlignCalls,d=t.keywords||{},M=t.types||{},oe=t.builtin||{},G=t.blockKeywords||{},ae=t.defKeywords||{},le=t.atoms||{},v=t.hooks||{},ce=t.multiLineStrings,se=t.indentStatements!==!1,ue=t.indentSwitch!==!1,H=t.namespaceSeparator,fe=t.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,de=t.numberStart||/[\d\.]/,pe=t.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,Q=t.isOperatorChar||/[+\-*&%=<>!?|\/]/,X=t.isIdentifierChar||/[\w\$_\xa1-\uffff]/,Y=t.isReservedIdentifier||!1,p,F;function Z(o,a){var i=o.next();if(v[i]){var c=v[i](o,a);if(c!==!1)return c}if(i=='"'||i=="'")return a.tokenize=he(i),a.tokenize(o,a);if(de.test(i)){if(o.backUp(1),o.match(pe))return"number";o.next()}if(fe.test(i))return p=i,null;if(i=="/"){if(o.eat("*"))return a.tokenize=J,J(o,a);if(o.eat("/"))return o.skipToEnd(),"comment"}if(Q.test(i)){for(;!o.match(/^\/[\/*]/,!1)&&o.eat(Q););return"operator"}if(o.eatWhile(X),H)for(;o.match(H);)o.eatWhile(X);var f=o.current();return b(d,f)?(b(G,f)&&(p="newstatement"),b(ae,f)&&(F=!0),"keyword"):b(M,f)?"type":b(oe,f)||Y&&Y(f)?(b(G,f)&&(p="newstatement"),"builtin"):b(le,f)?"atom":"variable"}function he(o){return function(a,i){for(var c=!1,f,I=!1;(f=a.next())!=null;){if(f==o&&!c){I=!0;break}c=!c&&f=="\\"}return(I||!(c||ce))&&(i.tokenize=null),"string"}}function J(o,a){for(var i=!1,c;c=o.next();){if(c=="/"&&i){a.tokenize=null;break}i=c=="*"}return"comment"}function ee(o,a){t.typeFirstDefinitions&&o.eol()&&O(a.context)&&(a.typeAtEndOfLine=R(o,a,o.pos))}return{startState:function(o){return{tokenize:null,context:new g((o||0)-n,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(o,a){var i=a.context;if(o.sol()&&(i.align==null&&(i.align=!1),a.indented=o.indentation(),a.startOfLine=!0),o.eatSpace())return ee(o,a),null;p=F=null;var c=(a.tokenize||Z)(o,a);if(c=="comment"||c=="meta")return c;if(i.align==null&&(i.align=!0),p==";"||p==":"||p==","&&o.match(/^\s*(?:\/\/.*)?$/,!1))for(;a.context.type=="statement";)k(a);else if(p=="{")m(a,o.column(),"}");else if(p=="[")m(a,o.column(),"]");else if(p=="(")m(a,o.column(),")");else if(p=="}"){for(;i.type=="statement";)i=k(a);for(i.type=="}"&&(i=k(a));i.type=="statement";)i=k(a)}else p==i.type?k(a):se&&((i.type=="}"||i.type=="top")&&p!=";"||i.type=="statement"&&p=="newstatement")&&m(a,o.column(),"statement",o.current());if(c=="variable"&&(a.prevToken=="def"||t.typeFirstDefinitions&&R(o,a,o.start)&&O(a.context)&&o.match(/^\s*\(/,!1))&&(c="def"),v.token){var f=v.token(o,a,c);f!==void 0&&(c=f)}return c=="def"&&t.styleDefs===!1&&(c="variable"),a.startOfLine=!1,a.prevToken=F?"def":c||p,ee(o,a),c},indent:function(o,a){if(o.tokenize!=Z&&o.tokenize!=null||o.typeAtEndOfLine&&O(o.context))return y.Pass;var i=o.context,c=a&&a.charAt(0),f=c==i.type;if(i.type=="statement"&&c=="}"&&(i=i.prev),t.dontIndentStatements)for(;i.type=="statement"&&t.dontIndentStatements.test(i.info);)i=i.prev;if(v.indent){var I=v.indent(o,i,a,n);if(typeof I=="number")return I}var ye=i.prev&&i.prev.info=="switch";if(t.allmanIndentation&&/[{(]/.test(c)){for(;i.type!="top"&&i.type!="}";)i=i.prev;return i.indented}return i.type=="statement"?i.indented+(c=="{"?0:l):i.align&&(!u||i.type!=")")?i.column+(f?0:1):i.type==")"&&!f?i.indented+l:i.indented+(f?0:n)+(!f&&ye&&!/^(?:case|default)\b/.test(a)?n:0)},electricInput:ue?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});function r(e){for(var t={},n=e.split(" "),l=0;l!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return e.match('""')?(t.tokenize=V,t.tokenize(e,t)):!1},"'":function(e){return e.match(/^(\\[^'\s]+|[^\\'])'/)?"string-2":(e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom")},"=":function(e,t){var n=t.context;return n.type=="}"&&n.align&&e.eat(">")?(t.context=new g(n.indented,n.column,n.type,n.info,null,n.prev),"operator"):!1},"/":function(e,t){return e.eat("*")?(t.tokenize=E(1),t.tokenize(e,t)):!1}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}});function ie(e){return function(t,n){for(var l=!1,u,d=!1;!t.eol();){if(!e&&!l&&t.match('"')){d=!0;break}if(e&&t.match('"""')){d=!0;break}u=t.next(),!l&&u=="$"&&t.match("{")&&t.skipTo("}"),l=!l&&u=="\\"&&!e}return(d||!e)&&(n.tokenize=null),"string"}}h("text/x-kotlin",{name:"clike",keywords:r("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam value"),types:r("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:r("catch class do else finally for if where try while enum"),defKeywords:r("class val var object interface fun"),atoms:r("true false null this"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},"*":function(e,t){return t.prevToken=="."?"variable":"operator"},'"':function(e,t){return t.tokenize=ie(e.match('""')),t.tokenize(e,t)},"/":function(e,t){return e.eat("*")?(t.tokenize=E(1),t.tokenize(e,t)):!1},indent:function(e,t,n,l){var u=n&&n.charAt(0);if((e.prevToken=="}"||e.prevToken==")")&&n=="")return e.indented;if(e.prevToken=="operator"&&n!="}"&&e.context.type!="}"||e.prevToken=="variable"&&u=="."||(e.prevToken=="}"||e.prevToken==")")&&u==".")return l*2+t.indented;if(t.align&&t.type=="}")return t.indented+(e.context.type==(n||"").charAt(0)?0:l)}},modeProps:{closeBrackets:{triples:'"'}}}),h(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:r("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:r("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:r("for while do if else struct"),builtin:r("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:r("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":w},modeProps:{fold:["brace","include"]}}),h("text/x-nesc",{name:"clike",keywords:r(_+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:S,blockKeywords:r(T),atoms:r("null true false"),hooks:{"#":w},modeProps:{fold:["brace","include"]}}),h("text/x-objectivec",{name:"clike",keywords:r(_+" "+U),types:A,builtin:r(B),blockKeywords:r(T+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:r(L+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:r("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:P,hooks:{"#":w,"*":D},modeProps:{fold:["brace","include"]}}),h("text/x-objectivec++",{name:"clike",keywords:r(_+" "+U+" "+j),types:A,builtin:r(B),blockKeywords:r(T+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:r(L+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:r("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:P,hooks:{"#":w,"*":D,u:x,U:x,L:x,R:x,0:s,1:s,2:s,3:s,4:s,5:s,6:s,7:s,8:s,9:s,token:function(e,t,n){if(n=="variable"&&e.peek()=="("&&(t.prevToken==";"||t.prevToken==null||t.prevToken=="}")&&K(e.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),h("text/x-squirrel",{name:"clike",keywords:r("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:S,blockKeywords:r("case catch class else for foreach if switch try while"),defKeywords:r("function local class"),typeFirstDefinitions:!0,atoms:r("true false null"),hooks:{"#":w},modeProps:{fold:["brace","include"]}});var C=null;function W(e){return function(t,n){for(var l=!1,u,d=!1;!t.eol();){if(!l&&t.match('"')&&(e=="single"||t.match('""'))){d=!0;break}if(!l&&t.match("``")){C=W(e),d=!0;break}u=t.next(),l=e=="single"&&!l&&u=="\\"}return d&&(n.tokenize=null),"string"}}h("text/x-ceylon",{name:"clike",keywords:r("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:r("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:r("class dynamic function interface module object package value"),builtin:r("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:r("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=W(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!C||!e.match("`")?!1:(t.tokenize=C,C=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,n){if((n=="variable"||n=="type")&&t.prevToken==".")return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})})();var te=be.exports;const we=me(te),ve=ke({__proto__:null,default:we},[te]);export{te as a,ve as c}; +import{g as me,c as ge}from"./index-rXwcQ1j1.js";function ke(N,z){for(var y=0;yg[m]})}}}return Object.freeze(Object.defineProperty(N,Symbol.toStringTag,{value:"Module"}))}var be={exports:{}};(function(N,z){(function(y){y(ge)})(function(y){function g(e,t,n,l,u,d){this.indented=e,this.column=t,this.type=n,this.info=l,this.align=u,this.prev=d}function m(e,t,n,l){var u=e.indented;return e.context&&e.context.type=="statement"&&n!="statement"&&(u=e.context.indented),e.context=new g(u,t,n,l,null,e.context)}function k(e){var t=e.context.type;return(t==")"||t=="]"||t=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}function R(e,t,n){if(t.prevToken=="variable"||t.prevToken=="type"||/\S(?:[^- ]>|[*\]])\s*$|\*$/.test(e.string.slice(0,n))||t.typeAtEndOfLine&&e.column()==e.indentation())return!0}function O(e){for(;;){if(!e||e.type=="top")return!0;if(e.type=="}"&&e.prev.info!="namespace")return!1;e=e.prev}}y.defineMode("clike",function(e,t){var n=e.indentUnit,l=t.statementIndentUnit||n,u=t.dontAlignCalls,d=t.keywords||{},M=t.types||{},oe=t.builtin||{},G=t.blockKeywords||{},ae=t.defKeywords||{},le=t.atoms||{},v=t.hooks||{},ce=t.multiLineStrings,se=t.indentStatements!==!1,ue=t.indentSwitch!==!1,H=t.namespaceSeparator,fe=t.isPunctuationChar||/[\[\]{}\(\),;\:\.]/,de=t.numberStart||/[\d\.]/,pe=t.number||/^(?:0x[a-f\d]+|0b[01]+|(?:\d+\.?\d*|\.\d+)(?:e[-+]?\d+)?)(u|ll?|l|f)?/i,Q=t.isOperatorChar||/[+\-*&%=<>!?|\/]/,X=t.isIdentifierChar||/[\w\$_\xa1-\uffff]/,Y=t.isReservedIdentifier||!1,p,F;function Z(o,a){var i=o.next();if(v[i]){var c=v[i](o,a);if(c!==!1)return c}if(i=='"'||i=="'")return a.tokenize=he(i),a.tokenize(o,a);if(de.test(i)){if(o.backUp(1),o.match(pe))return"number";o.next()}if(fe.test(i))return p=i,null;if(i=="/"){if(o.eat("*"))return a.tokenize=J,J(o,a);if(o.eat("/"))return o.skipToEnd(),"comment"}if(Q.test(i)){for(;!o.match(/^\/[\/*]/,!1)&&o.eat(Q););return"operator"}if(o.eatWhile(X),H)for(;o.match(H);)o.eatWhile(X);var f=o.current();return b(d,f)?(b(G,f)&&(p="newstatement"),b(ae,f)&&(F=!0),"keyword"):b(M,f)?"type":b(oe,f)||Y&&Y(f)?(b(G,f)&&(p="newstatement"),"builtin"):b(le,f)?"atom":"variable"}function he(o){return function(a,i){for(var c=!1,f,I=!1;(f=a.next())!=null;){if(f==o&&!c){I=!0;break}c=!c&&f=="\\"}return(I||!(c||ce))&&(i.tokenize=null),"string"}}function J(o,a){for(var i=!1,c;c=o.next();){if(c=="/"&&i){a.tokenize=null;break}i=c=="*"}return"comment"}function ee(o,a){t.typeFirstDefinitions&&o.eol()&&O(a.context)&&(a.typeAtEndOfLine=R(o,a,o.pos))}return{startState:function(o){return{tokenize:null,context:new g((o||0)-n,0,"top",null,!1),indented:0,startOfLine:!0,prevToken:null}},token:function(o,a){var i=a.context;if(o.sol()&&(i.align==null&&(i.align=!1),a.indented=o.indentation(),a.startOfLine=!0),o.eatSpace())return ee(o,a),null;p=F=null;var c=(a.tokenize||Z)(o,a);if(c=="comment"||c=="meta")return c;if(i.align==null&&(i.align=!0),p==";"||p==":"||p==","&&o.match(/^\s*(?:\/\/.*)?$/,!1))for(;a.context.type=="statement";)k(a);else if(p=="{")m(a,o.column(),"}");else if(p=="[")m(a,o.column(),"]");else if(p=="(")m(a,o.column(),")");else if(p=="}"){for(;i.type=="statement";)i=k(a);for(i.type=="}"&&(i=k(a));i.type=="statement";)i=k(a)}else p==i.type?k(a):se&&((i.type=="}"||i.type=="top")&&p!=";"||i.type=="statement"&&p=="newstatement")&&m(a,o.column(),"statement",o.current());if(c=="variable"&&(a.prevToken=="def"||t.typeFirstDefinitions&&R(o,a,o.start)&&O(a.context)&&o.match(/^\s*\(/,!1))&&(c="def"),v.token){var f=v.token(o,a,c);f!==void 0&&(c=f)}return c=="def"&&t.styleDefs===!1&&(c="variable"),a.startOfLine=!1,a.prevToken=F?"def":c||p,ee(o,a),c},indent:function(o,a){if(o.tokenize!=Z&&o.tokenize!=null||o.typeAtEndOfLine&&O(o.context))return y.Pass;var i=o.context,c=a&&a.charAt(0),f=c==i.type;if(i.type=="statement"&&c=="}"&&(i=i.prev),t.dontIndentStatements)for(;i.type=="statement"&&t.dontIndentStatements.test(i.info);)i=i.prev;if(v.indent){var I=v.indent(o,i,a,n);if(typeof I=="number")return I}var ye=i.prev&&i.prev.info=="switch";if(t.allmanIndentation&&/[{(]/.test(c)){for(;i.type!="top"&&i.type!="}";)i=i.prev;return i.indented}return i.type=="statement"?i.indented+(c=="{"?0:l):i.align&&(!u||i.type!=")")?i.column+(f?0:1):i.type==")"&&!f?i.indented+l:i.indented+(f?0:n)+(!f&&ye&&!/^(?:case|default)\b/.test(a)?n:0)},electricInput:ue?/^\s*(?:case .*?:|default:|\{\}?|\})$/:/^\s*[{}]$/,blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});function r(e){for(var t={},n=e.split(" "),l=0;l!?|\/#:@]/,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return e.match('""')?(t.tokenize=V,t.tokenize(e,t)):!1},"'":function(e){return e.match(/^(\\[^'\s]+|[^\\'])'/)?"string-2":(e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom")},"=":function(e,t){var n=t.context;return n.type=="}"&&n.align&&e.eat(">")?(t.context=new g(n.indented,n.column,n.type,n.info,null,n.prev),"operator"):!1},"/":function(e,t){return e.eat("*")?(t.tokenize=E(1),t.tokenize(e,t)):!1}},modeProps:{closeBrackets:{pairs:'()[]{}""',triples:'"'}}});function ie(e){return function(t,n){for(var l=!1,u,d=!1;!t.eol();){if(!e&&!l&&t.match('"')){d=!0;break}if(e&&t.match('"""')){d=!0;break}u=t.next(),!l&&u=="$"&&t.match("{")&&t.skipTo("}"),l=!l&&u=="\\"&&!e}return(d||!e)&&(n.tokenize=null),"string"}}h("text/x-kotlin",{name:"clike",keywords:r("package as typealias class interface this super val operator var fun for is in This throw return annotation break continue object if else while do try when !in !is as? file import where by get set abstract enum open inner override private public internal protected catch finally out final vararg reified dynamic companion constructor init sealed field property receiver param sparam lateinit data inline noinline tailrec external annotation crossinline const operator infix suspend actual expect setparam value"),types:r("Boolean Byte Character CharSequence Class ClassLoader Cloneable Comparable Compiler Double Exception Float Integer Long Math Number Object Package Pair Process Runtime Runnable SecurityManager Short StackTraceElement StrictMath String StringBuffer System Thread ThreadGroup ThreadLocal Throwable Triple Void Annotation Any BooleanArray ByteArray Char CharArray DeprecationLevel DoubleArray Enum FloatArray Function Int IntArray Lazy LazyThreadSafetyMode LongArray Nothing ShortArray Unit"),intendSwitch:!1,indentStatements:!1,multiLineStrings:!0,number:/^(?:0x[a-f\d_]+|0b[01_]+|(?:[\d_]+(\.\d+)?|\.\d+)(?:e[-+]?[\d_]+)?)(u|ll?|l|f)?/i,blockKeywords:r("catch class do else finally for if where try while enum"),defKeywords:r("class val var object interface fun"),atoms:r("true false null this"),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},"*":function(e,t){return t.prevToken=="."?"variable":"operator"},'"':function(e,t){return t.tokenize=ie(e.match('""')),t.tokenize(e,t)},"/":function(e,t){return e.eat("*")?(t.tokenize=E(1),t.tokenize(e,t)):!1},indent:function(e,t,n,l){var u=n&&n.charAt(0);if((e.prevToken=="}"||e.prevToken==")")&&n=="")return e.indented;if(e.prevToken=="operator"&&n!="}"&&e.context.type!="}"||e.prevToken=="variable"&&u=="."||(e.prevToken=="}"||e.prevToken==")")&&u==".")return l*2+t.indented;if(t.align&&t.type=="}")return t.indented+(e.context.type==(n||"").charAt(0)?0:l)}},modeProps:{closeBrackets:{triples:'"'}}}),h(["x-shader/x-vertex","x-shader/x-fragment"],{name:"clike",keywords:r("sampler1D sampler2D sampler3D samplerCube sampler1DShadow sampler2DShadow const attribute uniform varying break continue discard return for while do if else struct in out inout"),types:r("float int bool void vec2 vec3 vec4 ivec2 ivec3 ivec4 bvec2 bvec3 bvec4 mat2 mat3 mat4"),blockKeywords:r("for while do if else struct"),builtin:r("radians degrees sin cos tan asin acos atan pow exp log exp2 sqrt inversesqrt abs sign floor ceil fract mod min max clamp mix step smoothstep length distance dot cross normalize ftransform faceforward reflect refract matrixCompMult lessThan lessThanEqual greaterThan greaterThanEqual equal notEqual any all not texture1D texture1DProj texture1DLod texture1DProjLod texture2D texture2DProj texture2DLod texture2DProjLod texture3D texture3DProj texture3DLod texture3DProjLod textureCube textureCubeLod shadow1D shadow2D shadow1DProj shadow2DProj shadow1DLod shadow2DLod shadow1DProjLod shadow2DProjLod dFdx dFdy fwidth noise1 noise2 noise3 noise4"),atoms:r("true false gl_FragColor gl_SecondaryColor gl_Normal gl_Vertex gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_FogCoord gl_PointCoord gl_Position gl_PointSize gl_ClipVertex gl_FrontColor gl_BackColor gl_FrontSecondaryColor gl_BackSecondaryColor gl_TexCoord gl_FogFragCoord gl_FragCoord gl_FrontFacing gl_FragData gl_FragDepth gl_ModelViewMatrix gl_ProjectionMatrix gl_ModelViewProjectionMatrix gl_TextureMatrix gl_NormalMatrix gl_ModelViewMatrixInverse gl_ProjectionMatrixInverse gl_ModelViewProjectionMatrixInverse gl_TextureMatrixTranspose gl_ModelViewMatrixInverseTranspose gl_ProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixInverseTranspose gl_TextureMatrixInverseTranspose gl_NormalScale gl_DepthRange gl_ClipPlane gl_Point gl_FrontMaterial gl_BackMaterial gl_LightSource gl_LightModel gl_FrontLightModelProduct gl_BackLightModelProduct gl_TextureColor gl_EyePlaneS gl_EyePlaneT gl_EyePlaneR gl_EyePlaneQ gl_FogParameters gl_MaxLights gl_MaxClipPlanes gl_MaxTextureUnits gl_MaxTextureCoords gl_MaxVertexAttribs gl_MaxVertexUniformComponents gl_MaxVaryingFloats gl_MaxVertexTextureImageUnits gl_MaxTextureImageUnits gl_MaxFragmentUniformComponents gl_MaxCombineTextureImageUnits gl_MaxDrawBuffers"),indentSwitch:!1,hooks:{"#":w},modeProps:{fold:["brace","include"]}}),h("text/x-nesc",{name:"clike",keywords:r(_+" as atomic async call command component components configuration event generic implementation includes interface module new norace nx_struct nx_union post provides signal task uses abstract extends"),types:S,blockKeywords:r(T),atoms:r("null true false"),hooks:{"#":w},modeProps:{fold:["brace","include"]}}),h("text/x-objectivec",{name:"clike",keywords:r(_+" "+U),types:A,builtin:r(B),blockKeywords:r(T+" @synthesize @try @catch @finally @autoreleasepool @synchronized"),defKeywords:r(L+" @interface @implementation @protocol @class"),dontIndentStatements:/^@.*$/,typeFirstDefinitions:!0,atoms:r("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:P,hooks:{"#":w,"*":D},modeProps:{fold:["brace","include"]}}),h("text/x-objectivec++",{name:"clike",keywords:r(_+" "+U+" "+j),types:A,builtin:r(B),blockKeywords:r(T+" @synthesize @try @catch @finally @autoreleasepool @synchronized class try catch"),defKeywords:r(L+" @interface @implementation @protocol @class class namespace"),dontIndentStatements:/^@.*$|^template$/,typeFirstDefinitions:!0,atoms:r("YES NO NULL Nil nil true false nullptr"),isReservedIdentifier:P,hooks:{"#":w,"*":D,u:x,U:x,L:x,R:x,0:s,1:s,2:s,3:s,4:s,5:s,6:s,7:s,8:s,9:s,token:function(e,t,n){if(n=="variable"&&e.peek()=="("&&(t.prevToken==";"||t.prevToken==null||t.prevToken=="}")&&K(e.current()))return"def"}},namespaceSeparator:"::",modeProps:{fold:["brace","include"]}}),h("text/x-squirrel",{name:"clike",keywords:r("base break clone continue const default delete enum extends function in class foreach local resume return this throw typeof yield constructor instanceof static"),types:S,blockKeywords:r("case catch class else for foreach if switch try while"),defKeywords:r("function local class"),typeFirstDefinitions:!0,atoms:r("true false null"),hooks:{"#":w},modeProps:{fold:["brace","include"]}});var C=null;function W(e){return function(t,n){for(var l=!1,u,d=!1;!t.eol();){if(!l&&t.match('"')&&(e=="single"||t.match('""'))){d=!0;break}if(!l&&t.match("``")){C=W(e),d=!0;break}u=t.next(),l=e=="single"&&!l&&u=="\\"}return d&&(n.tokenize=null),"string"}}h("text/x-ceylon",{name:"clike",keywords:r("abstracts alias assembly assert assign break case catch class continue dynamic else exists extends finally for function given if import in interface is let module new nonempty object of out outer package return satisfies super switch then this throw try value void while"),types:function(e){var t=e.charAt(0);return t===t.toUpperCase()&&t!==t.toLowerCase()},blockKeywords:r("case catch class dynamic else finally for function if interface module new object switch try while"),defKeywords:r("class dynamic function interface module object package value"),builtin:r("abstract actual aliased annotation by default deprecated doc final formal late license native optional sealed see serializable shared suppressWarnings tagged throws variable"),isPunctuationChar:/[\[\]{}\(\),;\:\.`]/,isOperatorChar:/[+\-*&%=<>!?|^~:\/]/,numberStart:/[\d#$]/,number:/^(?:#[\da-fA-F_]+|\$[01_]+|[\d_]+[kMGTPmunpf]?|[\d_]+\.[\d_]+(?:[eE][-+]?\d+|[kMGTPmunpf]|)|)/i,multiLineStrings:!0,typeFirstDefinitions:!0,atoms:r("true false null larger smaller equal empty finished"),indentSwitch:!1,styleDefs:!1,hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"},'"':function(e,t){return t.tokenize=W(e.match('""')?"triple":"single"),t.tokenize(e,t)},"`":function(e,t){return!C||!e.match("`")?!1:(t.tokenize=C,C=null,t.tokenize(e,t))},"'":function(e){return e.eatWhile(/[\w\$_\xa1-\uffff]/),"atom"},token:function(e,t,n){if((n=="variable"||n=="type")&&t.prevToken==".")return"variable-2"}},modeProps:{fold:["brace","import"],closeBrackets:{triples:'"'}}})})})();var te=be.exports;const we=me(te),ve=ke({__proto__:null,default:we},[te]);export{te as a,ve as c}; diff --git a/dist-ui/assets/clojure-DPMkRcmr.js b/dist-ui/assets/clojure-CrtOjAI7.js similarity index 99% rename from dist-ui/assets/clojure-DPMkRcmr.js rename to dist-ui/assets/clojure-CrtOjAI7.js index f4cd548a..bf4d2ba8 100644 --- a/dist-ui/assets/clojure-DPMkRcmr.js +++ b/dist-ui/assets/clojure-CrtOjAI7.js @@ -1 +1 @@ -import{g as S,c as A}from"./index-CHg1vBCc.js";function M(d,u){for(var o=0;oi[a]})}}}return Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(d,u){(function(o){o(A)})(function(o){o.defineMode("clojure",function(i){var a=["false","nil","true"],s=[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],m=["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],b=["->","->>","as->","binding","bound-fn","case","catch","comment","cond","cond->","cond->>","condp","def","definterface","defmethod","defn","defmacro","defprotocol","defrecord","defstruct","deftype","do","doseq","dotimes","doto","extend","extend-protocol","extend-type","fn","for","future","if","if-let","if-not","if-some","let","letfn","locking","loop","ns","proxy","reify","struct-map","some->","some->>","try","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn"];o.registerHelper("hintWords","clojure",[].concat(a,s,m));var v=l(a),g=l(s),x=l(m),k=l(b),w=/^(?:[\\\[\]\s"(),;@^`{}~]|$)/,q=/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,j=/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,T=/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;function p(t,e){if(t.eatSpace()||t.eat(","))return["space",null];if(t.match(q))return[null,"number"];if(t.match(j))return[null,"string-2"];if(t.eat(/^"/))return(e.tokenize=z)(t,e);if(t.eat(/^[(\[{]/))return["open","bracket"];if(t.eat(/^[)\]}]/))return["close","bracket"];if(t.eat(/^;/))return t.skipToEnd(),["space","comment"];if(t.eat(/^[#'@^`~]/))return[null,"meta"];var r=t.match(T),n=r&&r[0];return n?n==="comment"&&e.lastToken==="("?(e.tokenize=E)(t,e):c(n,v)||n.charAt(0)===":"?["symbol","atom"]:c(n,g)||c(n,x)?["symbol","keyword"]:e.lastToken==="("?["symbol","builtin"]:["symbol","variable"]:(t.next(),t.eatWhile(function(f){return!c(f,w)}),[null,"error"])}function z(t,e){for(var r=!1,n;n=t.next();){if(n==='"'&&!r){e.tokenize=p;break}r=!r&&n==="\\"}return[null,"string"]}function E(t,e){for(var r=1,n;n=t.next();)if(n===")"&&r--,n==="("&&r++,r===0){t.backUp(1),e.tokenize=p;break}return["space","comment"]}function l(t){for(var e={},r=0;ri[a]})}}}return Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(d,u){(function(o){o(A)})(function(o){o.defineMode("clojure",function(i){var a=["false","nil","true"],s=[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],m=["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","group-by","halt-when","hash","hash-combine","hash-map","hash-ordered-coll","hash-set","hash-unordered-coll","ident?","identical?","identity","if-let","if-not","if-some","ifn?","import","in-ns","inc","inc'","indexed?","init-proxy","inst-ms","inst-ms*","inst?","instance?","int","int-array","int?","integer?","interleave","intern","interpose","into","into-array","ints","io!","isa?","iterate","iterator-seq","juxt","keep","keep-indexed","key","keys","keyword","keyword?","last","lazy-cat","lazy-seq","let","letfn","line-seq","list","list*","list?","load","load-file","load-reader","load-string","loaded-libs","locking","long","long-array","longs","loop","macroexpand","macroexpand-1","make-array","make-hierarchy","map","map-entry?","map-indexed","map?","mapcat","mapv","max","max-key","memfn","memoize","merge","merge-with","meta","method-sig","methods","min","min-key","mix-collection-hash","mod","munge","name","namespace","namespace-munge","nat-int?","neg-int?","neg?","newline","next","nfirst","nil?","nnext","not","not-any?","not-empty","not-every?","not=","ns","ns-aliases","ns-imports","ns-interns","ns-map","ns-name","ns-publics","ns-refers","ns-resolve","ns-unalias","ns-unmap","nth","nthnext","nthrest","num","number?","numerator","object-array","odd?","or","parents","partial","partition","partition-all","partition-by","pcalls","peek","persistent!","pmap","pop","pop!","pop-thread-bindings","pos-int?","pos?","pr","pr-str","prefer-method","prefers","primitives-classnames","print","print-ctor","print-dup","print-method","print-simple","print-str","printf","println","println-str","prn","prn-str","promise","proxy","proxy-call-with-super","proxy-mappings","proxy-name","proxy-super","push-thread-bindings","pvalues","qualified-ident?","qualified-keyword?","qualified-symbol?","quot","rand","rand-int","rand-nth","random-sample","range","ratio?","rational?","rationalize","re-find","re-groups","re-matcher","re-matches","re-pattern","re-seq","read","read-line","read-string","reader-conditional","reader-conditional?","realized?","record?","reduce","reduce-kv","reduced","reduced?","reductions","ref","ref-history-count","ref-max-history","ref-min-history","ref-set","refer","refer-clojure","reify","release-pending-sends","rem","remove","remove-all-methods","remove-method","remove-ns","remove-watch","repeat","repeatedly","replace","replicate","require","reset!","reset-meta!","reset-vals!","resolve","rest","restart-agent","resultset-seq","reverse","reversible?","rseq","rsubseq","run!","satisfies?","second","select-keys","send","send-off","send-via","seq","seq?","seqable?","seque","sequence","sequential?","set","set-agent-send-executor!","set-agent-send-off-executor!","set-error-handler!","set-error-mode!","set-validator!","set?","short","short-array","shorts","shuffle","shutdown-agents","simple-ident?","simple-keyword?","simple-symbol?","slurp","some","some->","some->>","some-fn","some?","sort","sort-by","sorted-map","sorted-map-by","sorted-set","sorted-set-by","sorted?","special-symbol?","spit","split-at","split-with","str","string?","struct","struct-map","subs","subseq","subvec","supers","swap!","swap-vals!","symbol","symbol?","sync","tagged-literal","tagged-literal?","take","take-last","take-nth","take-while","test","the-ns","thread-bound?","time","to-array","to-array-2d","trampoline","transduce","transient","tree-seq","true?","type","unchecked-add","unchecked-add-int","unchecked-byte","unchecked-char","unchecked-dec","unchecked-dec-int","unchecked-divide-int","unchecked-double","unchecked-float","unchecked-inc","unchecked-inc-int","unchecked-int","unchecked-long","unchecked-multiply","unchecked-multiply-int","unchecked-negate","unchecked-negate-int","unchecked-remainder-int","unchecked-short","unchecked-subtract","unchecked-subtract-int","underive","unquote","unquote-splicing","unreduced","unsigned-bit-shift-right","update","update-in","update-proxy","uri?","use","uuid?","val","vals","var-get","var-set","var?","vary-meta","vec","vector","vector-of","vector?","volatile!","volatile?","vreset!","vswap!","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn","xml-seq","zero?","zipmap"],b=["->","->>","as->","binding","bound-fn","case","catch","comment","cond","cond->","cond->>","condp","def","definterface","defmethod","defn","defmacro","defprotocol","defrecord","defstruct","deftype","do","doseq","dotimes","doto","extend","extend-protocol","extend-type","fn","for","future","if","if-let","if-not","if-some","let","letfn","locking","loop","ns","proxy","reify","struct-map","some->","some->>","try","when","when-first","when-let","when-not","when-some","while","with-bindings","with-bindings*","with-in-str","with-loading-context","with-local-vars","with-meta","with-open","with-out-str","with-precision","with-redefs","with-redefs-fn"];o.registerHelper("hintWords","clojure",[].concat(a,s,m));var v=l(a),g=l(s),x=l(m),k=l(b),w=/^(?:[\\\[\]\s"(),;@^`{}~]|$)/,q=/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,j=/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,T=/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~.][^\\\[\]\s"(),;@^`{}~.\/]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/;function p(t,e){if(t.eatSpace()||t.eat(","))return["space",null];if(t.match(q))return[null,"number"];if(t.match(j))return[null,"string-2"];if(t.eat(/^"/))return(e.tokenize=z)(t,e);if(t.eat(/^[(\[{]/))return["open","bracket"];if(t.eat(/^[)\]}]/))return["close","bracket"];if(t.eat(/^;/))return t.skipToEnd(),["space","comment"];if(t.eat(/^[#'@^`~]/))return[null,"meta"];var r=t.match(T),n=r&&r[0];return n?n==="comment"&&e.lastToken==="("?(e.tokenize=E)(t,e):c(n,v)||n.charAt(0)===":"?["symbol","atom"]:c(n,g)||c(n,x)?["symbol","keyword"]:e.lastToken==="("?["symbol","builtin"]:["symbol","variable"]:(t.next(),t.eatWhile(function(f){return!c(f,w)}),[null,"error"])}function z(t,e){for(var r=!1,n;n=t.next();){if(n==='"'&&!r){e.tokenize=p;break}r=!r&&n==="\\"}return[null,"string"]}function E(t,e){for(var r=1,n;n=t.next();)if(n===")"&&r--,n==="("&&r++,r===0){t.backUp(1),e.tokenize=p;break}return["space","comment"]}function l(t){for(var e={},r=0;ro[i]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var b={exports:{}};(function(f,u){(function(t){t(d)})(function(t){t.defineMode("cmake",function(){var o=/({)?[a-zA-Z0-9_]+(})?/;function i(e,r){for(var n,a,l=!1;!e.eol()&&(n=e.next())!=r.pending;){if(n==="$"&&a!="\\"&&r.pending=='"'){l=!0;break}a=n}return l&&e.backUp(1),n==r.pending?r.continueString=!1:r.continueString=!0,"string"}function c(e,r){var n=e.next();return n==="$"?e.match(o)?"variable-2":"variable":r.continueString?(e.backUp(1),i(e,r)):e.match(/(\s+)?\w+\(/)||e.match(/(\s+)?\w+\ \(/)?(e.backUp(1),"def"):n=="#"?(e.skipToEnd(),"comment"):n=="'"||n=='"'?(r.pending=n,i(e,r)):n=="("||n==")"?"bracket":n.match(/[0-9]/)?"number":(e.eatWhile(/[\w-]/),null)}return{startState:function(){var e={};return e.inDefinition=!1,e.inInclude=!1,e.continueString=!1,e.pending=!1,e},token:function(e,r){return e.eatSpace()?null:c(e,r)}}}),t.defineMIME("text/x-cmake","cmake")})})();var p=b.exports;const s=g(p),x=k({__proto__:null,default:s},[p]);export{x as c}; +import{g,c as d}from"./index-rXwcQ1j1.js";function k(f,u){for(var t=0;to[i]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var b={exports:{}};(function(f,u){(function(t){t(d)})(function(t){t.defineMode("cmake",function(){var o=/({)?[a-zA-Z0-9_]+(})?/;function i(e,r){for(var n,a,l=!1;!e.eol()&&(n=e.next())!=r.pending;){if(n==="$"&&a!="\\"&&r.pending=='"'){l=!0;break}a=n}return l&&e.backUp(1),n==r.pending?r.continueString=!1:r.continueString=!0,"string"}function c(e,r){var n=e.next();return n==="$"?e.match(o)?"variable-2":"variable":r.continueString?(e.backUp(1),i(e,r)):e.match(/(\s+)?\w+\(/)||e.match(/(\s+)?\w+\ \(/)?(e.backUp(1),"def"):n=="#"?(e.skipToEnd(),"comment"):n=="'"||n=='"'?(r.pending=n,i(e,r)):n=="("||n==")"?"bracket":n.match(/[0-9]/)?"number":(e.eatWhile(/[\w-]/),null)}return{startState:function(){var e={};return e.inDefinition=!1,e.inInclude=!1,e.continueString=!1,e.pending=!1,e},token:function(e,r){return e.eatSpace()?null:c(e,r)}}}),t.defineMIME("text/x-cmake","cmake")})})();var p=b.exports;const s=g(p),x=k({__proto__:null,default:s},[p]);export{x as c}; diff --git a/dist-ui/assets/cobol-BxLtmPIM.js b/dist-ui/assets/cobol-BbwjrtMi.js similarity index 99% rename from dist-ui/assets/cobol-BxLtmPIM.js rename to dist-ui/assets/cobol-BbwjrtMi.js index 4179b9cb..6ce6ae3a 100644 --- a/dist-ui/assets/cobol-BxLtmPIM.js +++ b/dist-ui/assets/cobol-BbwjrtMi.js @@ -1 +1 @@ -import{g as u,c as Y}from"./index-CHg1vBCc.js";function d(U,e){for(var R=0;RO[A]})}}}return Object.freeze(Object.defineProperty(U,Symbol.toStringTag,{value:"Module"}))}var H={exports:{}};(function(U,e){(function(R){R(Y)})(function(R){R.defineMode("cobol",function(){var O="builtin",A="comment",D="string",M="atom",o="number",r="keyword",B="header",l="def",F="link";function P(E){for(var T={},I=E.split(" "),L=0;L >= "),N={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+\-]/};function f(E,T){return E==="0"&&T.eat(/x/i)?(T.eatWhile(N.hex),!0):((E=="+"||E=="-")&&N.digit.test(T.peek())&&(T.eat(N.sign),E=T.next()),N.digit.test(E)?(T.eat(E),T.eatWhile(N.digit),T.peek()=="."&&(T.eat("."),T.eatWhile(N.digit)),T.eat(N.exponent)&&(T.eat(N.sign),T.eatWhile(N.digit)),!0):!1)}return{startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(E,T){if(T.indentStack==null&&E.sol()&&(T.indentation=6),E.eatSpace())return null;var I=null;switch(T.mode){case"string":for(var L=!1;(L=E.next())!=null;)if((L=='"'||L=="'")&&!E.match(/['"]/,!1)){T.mode=!1;break}I=D;break;default:var S=E.next(),C=E.column();if(C>=0&&C<=5)I=l;else if(C>=72&&C<=79)E.skipToEnd(),I=B;else if(S=="*"&&C==6)E.skipToEnd(),I=A;else if(S=='"'||S=="'")T.mode="string",I=D;else if(S=="'"&&!N.digit_or_colon.test(E.peek()))I=M;else if(S==".")I=F;else if(f(S,E))I=o;else{if(E.current().match(N.symbol))for(;C<71&&E.eat(N.symbol)!==void 0;)C++;t&&t.propertyIsEnumerable(E.current().toUpperCase())?I=r:i&&i.propertyIsEnumerable(E.current().toUpperCase())?I=O:n&&n.propertyIsEnumerable(E.current().toUpperCase())?I=M:I=null}}return I},indent:function(E){return E.indentStack==null?E.indentation:E.indentStack.indent}}}),R.defineMIME("text/x-cobol","cobol")})})();var G=H.exports;const a=u(G),p=d({__proto__:null,default:a},[G]);export{p as c}; +import{g as u,c as Y}from"./index-rXwcQ1j1.js";function d(U,e){for(var R=0;RO[A]})}}}return Object.freeze(Object.defineProperty(U,Symbol.toStringTag,{value:"Module"}))}var H={exports:{}};(function(U,e){(function(R){R(Y)})(function(R){R.defineMode("cobol",function(){var O="builtin",A="comment",D="string",M="atom",o="number",r="keyword",B="header",l="def",F="link";function P(E){for(var T={},I=E.split(" "),L=0;L >= "),N={digit:/\d/,digit_or_colon:/[\d:]/,hex:/[0-9a-f]/i,sign:/[+-]/,exponent:/e/i,keyword_char:/[^\s\(\[\;\)\]]/,symbol:/[\w*+\-]/};function f(E,T){return E==="0"&&T.eat(/x/i)?(T.eatWhile(N.hex),!0):((E=="+"||E=="-")&&N.digit.test(T.peek())&&(T.eat(N.sign),E=T.next()),N.digit.test(E)?(T.eat(E),T.eatWhile(N.digit),T.peek()=="."&&(T.eat("."),T.eatWhile(N.digit)),T.eat(N.exponent)&&(T.eat(N.sign),T.eatWhile(N.digit)),!0):!1)}return{startState:function(){return{indentStack:null,indentation:0,mode:!1}},token:function(E,T){if(T.indentStack==null&&E.sol()&&(T.indentation=6),E.eatSpace())return null;var I=null;switch(T.mode){case"string":for(var L=!1;(L=E.next())!=null;)if((L=='"'||L=="'")&&!E.match(/['"]/,!1)){T.mode=!1;break}I=D;break;default:var S=E.next(),C=E.column();if(C>=0&&C<=5)I=l;else if(C>=72&&C<=79)E.skipToEnd(),I=B;else if(S=="*"&&C==6)E.skipToEnd(),I=A;else if(S=='"'||S=="'")T.mode="string",I=D;else if(S=="'"&&!N.digit_or_colon.test(E.peek()))I=M;else if(S==".")I=F;else if(f(S,E))I=o;else{if(E.current().match(N.symbol))for(;C<71&&E.eat(N.symbol)!==void 0;)C++;t&&t.propertyIsEnumerable(E.current().toUpperCase())?I=r:i&&i.propertyIsEnumerable(E.current().toUpperCase())?I=O:n&&n.propertyIsEnumerable(E.current().toUpperCase())?I=M:I=null}}return I},indent:function(E){return E.indentStack==null?E.indentation:E.indentStack.indent}}}),R.defineMIME("text/x-cobol","cobol")})})();var G=H.exports;const a=u(G),p=d({__proto__:null,default:a},[G]);export{p as c}; diff --git a/dist-ui/assets/coffeescript-C2IqjQP0.js b/dist-ui/assets/coffeescript-CSI3jYdr.js similarity index 98% rename from dist-ui/assets/coffeescript-C2IqjQP0.js rename to dist-ui/assets/coffeescript-CSI3jYdr.js index d2e3a546..60be97ec 100644 --- a/dist-ui/assets/coffeescript-C2IqjQP0.js +++ b/dist-ui/assets/coffeescript-CSI3jYdr.js @@ -1 +1 @@ -import{g as Z,c as N}from"./index-CHg1vBCc.js";function T(v,a){for(var c=0;cp[u]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var U={exports:{}};(function(v,a){(function(c){c(N)})(function(c){c.defineMode("coffeescript",function(p,u){var l="error";function h(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var z=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,s=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,x=/^[_A-Za-z$][_A-Za-z$0-9]*/,E=/^@[_A-Za-z$][_A-Za-z$0-9]*/,A=h(["and","or","not","is","isnt","in","instanceof","typeof"]),g=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],O=["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"],_=h(g.concat(O));g=h(g);var S=/^('{3}|\"{3}|['\"])/,j=/^(\/{3}|\/)/,P=["Infinity","NaN","undefined","null","true","false","on","off","yes","no"],$=h(P);function d(e,n){if(e.sol()){n.scope.align===null&&(n.scope.align=!1);var r=n.scope.offset;if(e.eatSpace()){var f=e.indentation();return f>r&&n.scope.type=="coffee"?"indent":f0&&y(e,n)}if(e.eatSpace())return null;var i=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return n.tokenize=M,n.tokenize(e,n);if(i==="#")return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var t=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(t=!0),e.match(/^-?\d+\.\d*/)&&(t=!0),e.match(/^-?\.\d+/)&&(t=!0),t)return e.peek()=="."&&e.backUp(1),"number";var o=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(o=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(o=!0),e.match(/^-?0(?![\dx])/i)&&(o=!0),o)return"number"}if(e.match(S))return n.tokenize=b(e.current(),!1,"string"),n.tokenize(e,n);if(e.match(j)){if(e.current()!="/"||e.match(/^.*\//,!1))return n.tokenize=b(e.current(),!0,"string-2"),n.tokenize(e,n);e.backUp(1)}return e.match(z)||e.match(A)?"operator":e.match(s)?"punctuation":e.match($)?"atom":e.match(E)||n.prop&&e.match(x)?"property":e.match(_)?"keyword":e.match(x)?"variable":(e.next(),l)}function b(e,n,r){return function(f,i){for(;!f.eol();)if(f.eatWhile(/[^'"\/\\]/),f.eat("\\")){if(f.next(),n&&f.eol())return r}else{if(f.match(e))return i.tokenize=d,r;f.eat(/['"\/]/)}return n&&(u.singleLineStringErrors?r=l:i.tokenize=d),r}}function M(e,n){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){n.tokenize=d;break}e.eatWhile("#")}return"comment"}function k(e,n,r){r=r||"coffee";for(var f=0,i=!1,t=null,o=n.scope;o;o=o.prev)if(o.type==="coffee"||o.type=="}"){f=o.offset+p.indentUnit;break}r!=="coffee"?(i=null,t=e.column()+e.current().length):n.scope.align&&(n.scope.align=!1),n.scope={offset:f,type:r,prev:n.scope,align:i,alignOffset:t}}function y(e,n){if(n.scope.prev)if(n.scope.type==="coffee"){for(var r=e.indentation(),f=!1,i=n.scope;i;i=i.prev)if(r===i.offset){f=!0;break}if(!f)return!0;for(;n.scope.prev&&n.scope.offset!==r;)n.scope=n.scope.prev;return!1}else return n.scope=n.scope.prev,!1}function R(e,n){var r=n.tokenize(e,n),f=e.current();f==="return"&&(n.dedent=!0),((f==="->"||f==="=>")&&e.eol()||r==="indent")&&k(e,n);var i="[({".indexOf(f);if(i!==-1&&k(e,n,"])}".slice(i,i+1)),g.exec(f)&&k(e,n),f=="then"&&y(e,n),r==="dedent"&&y(e,n))return l;if(i="])}".indexOf(f),i!==-1){for(;n.scope.type=="coffee"&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==f&&(n.scope=n.scope.prev)}return n.dedent&&e.eol()&&(n.scope.type=="coffee"&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),r}var I={startState:function(e){return{tokenize:d,scope:{offset:e||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,n){var r=n.scope.align===null&&n.scope;r&&e.sol()&&(r.align=!1);var f=R(e,n);return f&&f!="comment"&&(r&&(r.align=!0),n.prop=f=="punctuation"&&e.current()=="."),f},indent:function(e,n){if(e.tokenize!=d)return 0;var r=e.scope,f=n&&"])}".indexOf(n.charAt(0))>-1;if(f)for(;r.type=="coffee"&&r.prev;)r=r.prev;var i=f&&r.type===n.charAt(0);return r.align?r.alignOffset-(i?1:0):(i?r.prev:r).offset},lineComment:"#",fold:"indent"};return I}),c.defineMIME("application/vnd.coffeescript","coffeescript"),c.defineMIME("text/x-coffeescript","coffeescript"),c.defineMIME("text/coffeescript","coffeescript")})})();var w=U.exports;const W=Z(w),D=T({__proto__:null,default:W},[w]);export{w as a,D as c}; +import{g as Z,c as N}from"./index-rXwcQ1j1.js";function T(v,a){for(var c=0;cp[u]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var U={exports:{}};(function(v,a){(function(c){c(N)})(function(c){c.defineMode("coffeescript",function(p,u){var l="error";function h(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var z=/^(?:->|=>|\+[+=]?|-[\-=]?|\*[\*=]?|\/[\/=]?|[=!]=|<[><]?=?|>>?=?|%=?|&=?|\|=?|\^=?|\~|!|\?|(or|and|\|\||&&|\?)=)/,s=/^(?:[()\[\]{},:`=;]|\.\.?\.?)/,x=/^[_A-Za-z$][_A-Za-z$0-9]*/,E=/^@[_A-Za-z$][_A-Za-z$0-9]*/,A=h(["and","or","not","is","isnt","in","instanceof","typeof"]),g=["for","while","loop","if","unless","else","switch","try","catch","finally","class"],O=["break","by","continue","debugger","delete","do","in","of","new","return","then","this","@","throw","when","until","extends"],_=h(g.concat(O));g=h(g);var S=/^('{3}|\"{3}|['\"])/,j=/^(\/{3}|\/)/,P=["Infinity","NaN","undefined","null","true","false","on","off","yes","no"],$=h(P);function d(e,n){if(e.sol()){n.scope.align===null&&(n.scope.align=!1);var r=n.scope.offset;if(e.eatSpace()){var f=e.indentation();return f>r&&n.scope.type=="coffee"?"indent":f0&&y(e,n)}if(e.eatSpace())return null;var i=e.peek();if(e.match("####"))return e.skipToEnd(),"comment";if(e.match("###"))return n.tokenize=M,n.tokenize(e,n);if(i==="#")return e.skipToEnd(),"comment";if(e.match(/^-?[0-9\.]/,!1)){var t=!1;if(e.match(/^-?\d*\.\d+(e[\+\-]?\d+)?/i)&&(t=!0),e.match(/^-?\d+\.\d*/)&&(t=!0),e.match(/^-?\.\d+/)&&(t=!0),t)return e.peek()=="."&&e.backUp(1),"number";var o=!1;if(e.match(/^-?0x[0-9a-f]+/i)&&(o=!0),e.match(/^-?[1-9]\d*(e[\+\-]?\d+)?/)&&(o=!0),e.match(/^-?0(?![\dx])/i)&&(o=!0),o)return"number"}if(e.match(S))return n.tokenize=b(e.current(),!1,"string"),n.tokenize(e,n);if(e.match(j)){if(e.current()!="/"||e.match(/^.*\//,!1))return n.tokenize=b(e.current(),!0,"string-2"),n.tokenize(e,n);e.backUp(1)}return e.match(z)||e.match(A)?"operator":e.match(s)?"punctuation":e.match($)?"atom":e.match(E)||n.prop&&e.match(x)?"property":e.match(_)?"keyword":e.match(x)?"variable":(e.next(),l)}function b(e,n,r){return function(f,i){for(;!f.eol();)if(f.eatWhile(/[^'"\/\\]/),f.eat("\\")){if(f.next(),n&&f.eol())return r}else{if(f.match(e))return i.tokenize=d,r;f.eat(/['"\/]/)}return n&&(u.singleLineStringErrors?r=l:i.tokenize=d),r}}function M(e,n){for(;!e.eol();){if(e.eatWhile(/[^#]/),e.match("###")){n.tokenize=d;break}e.eatWhile("#")}return"comment"}function k(e,n,r){r=r||"coffee";for(var f=0,i=!1,t=null,o=n.scope;o;o=o.prev)if(o.type==="coffee"||o.type=="}"){f=o.offset+p.indentUnit;break}r!=="coffee"?(i=null,t=e.column()+e.current().length):n.scope.align&&(n.scope.align=!1),n.scope={offset:f,type:r,prev:n.scope,align:i,alignOffset:t}}function y(e,n){if(n.scope.prev)if(n.scope.type==="coffee"){for(var r=e.indentation(),f=!1,i=n.scope;i;i=i.prev)if(r===i.offset){f=!0;break}if(!f)return!0;for(;n.scope.prev&&n.scope.offset!==r;)n.scope=n.scope.prev;return!1}else return n.scope=n.scope.prev,!1}function R(e,n){var r=n.tokenize(e,n),f=e.current();f==="return"&&(n.dedent=!0),((f==="->"||f==="=>")&&e.eol()||r==="indent")&&k(e,n);var i="[({".indexOf(f);if(i!==-1&&k(e,n,"])}".slice(i,i+1)),g.exec(f)&&k(e,n),f=="then"&&y(e,n),r==="dedent"&&y(e,n))return l;if(i="])}".indexOf(f),i!==-1){for(;n.scope.type=="coffee"&&n.scope.prev;)n.scope=n.scope.prev;n.scope.type==f&&(n.scope=n.scope.prev)}return n.dedent&&e.eol()&&(n.scope.type=="coffee"&&n.scope.prev&&(n.scope=n.scope.prev),n.dedent=!1),r}var I={startState:function(e){return{tokenize:d,scope:{offset:e||0,type:"coffee",prev:null,align:!1},prop:!1,dedent:0}},token:function(e,n){var r=n.scope.align===null&&n.scope;r&&e.sol()&&(r.align=!1);var f=R(e,n);return f&&f!="comment"&&(r&&(r.align=!0),n.prop=f=="punctuation"&&e.current()=="."),f},indent:function(e,n){if(e.tokenize!=d)return 0;var r=e.scope,f=n&&"])}".indexOf(n.charAt(0))>-1;if(f)for(;r.type=="coffee"&&r.prev;)r=r.prev;var i=f&&r.type===n.charAt(0);return r.align?r.alignOffset-(i?1:0):(i?r.prev:r).offset},lineComment:"#",fold:"indent"};return I}),c.defineMIME("application/vnd.coffeescript","coffeescript"),c.defineMIME("text/x-coffeescript","coffeescript"),c.defineMIME("text/coffeescript","coffeescript")})})();var w=U.exports;const W=Z(w),D=T({__proto__:null,default:W},[w]);export{w as a,D as c}; diff --git a/dist-ui/assets/commonlisp-BcUNd6H0.js b/dist-ui/assets/commonlisp-CM6pBWWL.js similarity index 97% rename from dist-ui/assets/commonlisp-BcUNd6H0.js rename to dist-ui/assets/commonlisp-CM6pBWWL.js index 8c73be04..6626332d 100644 --- a/dist-ui/assets/commonlisp-BcUNd6H0.js +++ b/dist-ui/assets/commonlisp-CM6pBWWL.js @@ -1 +1 @@ -import{g as y,c as k}from"./index-CHg1vBCc.js";function g(f,p){for(var i=0;il[c]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var h={exports:{}};(function(f,p){(function(i){i(k)})(function(i){i.defineMode("commonlisp",function(l){var c=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,u=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,a=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,b=/[^\s'`,@()\[\]";]/,o;function s(e){for(var n;n=e.next();)if(n=="\\")e.next();else if(!b.test(n)){e.backUp(1);break}return e.current()}function d(e,n){if(e.eatSpace())return o="ws",null;if(e.match(a))return"number";var t=e.next();if(t=="\\"&&(t=e.next()),t=='"')return(n.tokenize=m)(e,n);if(t=="(")return o="open","bracket";if(t==")"||t=="]")return o="close","bracket";if(t==";")return e.skipToEnd(),o="ws","comment";if(/['`,@]/.test(t))return null;if(t=="|")return e.skipTo("|")?(e.next(),"symbol"):(e.skipToEnd(),"error");if(t=="#"){var t=e.next();return t=="("?(o="open","bracket"):/[+\-=\.']/.test(t)||/\d/.test(t)&&e.match(/^\d*#/)?null:t=="|"?(n.tokenize=v)(e,n):t==":"?(s(e),"meta"):t=="\\"?(e.next(),s(e),"string-2"):"error"}else{var r=s(e);return r=="."?null:(o="symbol",r=="nil"||r=="t"||r.charAt(0)==":"?"atom":n.lastType=="open"&&(c.test(r)||u.test(r))?"keyword":r.charAt(0)=="&"?"variable-2":"variable")}}function m(e,n){for(var t=!1,r;r=e.next();){if(r=='"'&&!t){n.tokenize=d;break}t=!t&&r=="\\"}return"string"}function v(e,n){for(var t,r;t=e.next();){if(t=="#"&&r=="|"){n.tokenize=d;break}r=t}return o="ws","comment"}return{startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:d}},token:function(e,n){e.sol()&&typeof n.ctx.indentTo!="number"&&(n.ctx.indentTo=n.ctx.start+1),o=null;var t=n.tokenize(e,n);return o!="ws"&&(n.ctx.indentTo==null?o=="symbol"&&u.test(e.current())?n.ctx.indentTo=n.ctx.start+l.indentUnit:n.ctx.indentTo="next":n.ctx.indentTo=="next"&&(n.ctx.indentTo=e.column()),n.lastType=o),o=="open"?n.ctx={prev:n.ctx,start:e.column(),indentTo:null}:o=="close"&&(n.ctx=n.ctx.prev||n.ctx),t},indent:function(e,n){var t=e.ctx.indentTo;return typeof t=="number"?t:e.ctx.start+1},closeBrackets:{pairs:'()[]{}""'},lineComment:";;",fold:"brace-paren",blockCommentStart:"#|",blockCommentEnd:"|#"}}),i.defineMIME("text/x-common-lisp","commonlisp")})})();var x=h.exports;const T=y(x),$=g({__proto__:null,default:T},[x]);export{$ as c}; +import{g as y,c as k}from"./index-rXwcQ1j1.js";function g(f,p){for(var i=0;il[c]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var h={exports:{}};(function(f,p){(function(i){i(k)})(function(i){i.defineMode("commonlisp",function(l){var c=/^(block|let*|return-from|catch|load-time-value|setq|eval-when|locally|symbol-macrolet|flet|macrolet|tagbody|function|multiple-value-call|the|go|multiple-value-prog1|throw|if|progn|unwind-protect|labels|progv|let|quote)$/,u=/^with|^def|^do|^prog|case$|^cond$|bind$|when$|unless$/,a=/^(?:[+\-]?(?:\d+|\d*\.\d+)(?:[efd][+\-]?\d+)?|[+\-]?\d+(?:\/[+\-]?\d+)?|#b[+\-]?[01]+|#o[+\-]?[0-7]+|#x[+\-]?[\da-f]+)/,b=/[^\s'`,@()\[\]";]/,o;function s(e){for(var n;n=e.next();)if(n=="\\")e.next();else if(!b.test(n)){e.backUp(1);break}return e.current()}function d(e,n){if(e.eatSpace())return o="ws",null;if(e.match(a))return"number";var t=e.next();if(t=="\\"&&(t=e.next()),t=='"')return(n.tokenize=m)(e,n);if(t=="(")return o="open","bracket";if(t==")"||t=="]")return o="close","bracket";if(t==";")return e.skipToEnd(),o="ws","comment";if(/['`,@]/.test(t))return null;if(t=="|")return e.skipTo("|")?(e.next(),"symbol"):(e.skipToEnd(),"error");if(t=="#"){var t=e.next();return t=="("?(o="open","bracket"):/[+\-=\.']/.test(t)||/\d/.test(t)&&e.match(/^\d*#/)?null:t=="|"?(n.tokenize=v)(e,n):t==":"?(s(e),"meta"):t=="\\"?(e.next(),s(e),"string-2"):"error"}else{var r=s(e);return r=="."?null:(o="symbol",r=="nil"||r=="t"||r.charAt(0)==":"?"atom":n.lastType=="open"&&(c.test(r)||u.test(r))?"keyword":r.charAt(0)=="&"?"variable-2":"variable")}}function m(e,n){for(var t=!1,r;r=e.next();){if(r=='"'&&!t){n.tokenize=d;break}t=!t&&r=="\\"}return"string"}function v(e,n){for(var t,r;t=e.next();){if(t=="#"&&r=="|"){n.tokenize=d;break}r=t}return o="ws","comment"}return{startState:function(){return{ctx:{prev:null,start:0,indentTo:0},lastType:null,tokenize:d}},token:function(e,n){e.sol()&&typeof n.ctx.indentTo!="number"&&(n.ctx.indentTo=n.ctx.start+1),o=null;var t=n.tokenize(e,n);return o!="ws"&&(n.ctx.indentTo==null?o=="symbol"&&u.test(e.current())?n.ctx.indentTo=n.ctx.start+l.indentUnit:n.ctx.indentTo="next":n.ctx.indentTo=="next"&&(n.ctx.indentTo=e.column()),n.lastType=o),o=="open"?n.ctx={prev:n.ctx,start:e.column(),indentTo:null}:o=="close"&&(n.ctx=n.ctx.prev||n.ctx),t},indent:function(e,n){var t=e.ctx.indentTo;return typeof t=="number"?t:e.ctx.start+1},closeBrackets:{pairs:'()[]{}""'},lineComment:";;",fold:"brace-paren",blockCommentStart:"#|",blockCommentEnd:"|#"}}),i.defineMIME("text/x-common-lisp","commonlisp")})})();var x=h.exports;const T=y(x),$=g({__proto__:null,default:T},[x]);export{$ as c}; diff --git a/dist-ui/assets/crystal-CBG_-D6z.js b/dist-ui/assets/crystal-Bs_OmcfS.js similarity index 98% rename from dist-ui/assets/crystal-CBG_-D6z.js rename to dist-ui/assets/crystal-Bs_OmcfS.js index 6167d021..f61d86bf 100644 --- a/dist-ui/assets/crystal-CBG_-D6z.js +++ b/dist-ui/assets/crystal-Bs_OmcfS.js @@ -1 +1 @@ -import{g as L,c as q}from"./index-CHg1vBCc.js";function U(v,y){for(var f=0;fl[i]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var B={exports:{}};(function(v,y){(function(f){f(q)})(function(f){f.defineMode("crystal",function(l){function i(n,e){return new RegExp((e?"":"^")+"(?:"+n.join("|")+")"+(e?"$":"\\b"))}function c(n,e,r){return r.tokenize.push(n),n(e,r)}var _=/^(?:[-+/%|&^]|\*\*?|[<>]{2})/,z=/^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/,x=/^(?:\[\][?=]?)/,O=/^(?:\.(?:\.{2})?|->|[?:])/,h=/^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,F=/^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,T=i(["abstract","alias","as","asm","begin","break","case","class","def","do","else","elsif","end","ensure","enum","extend","for","fun","if","include","instance_sizeof","lib","macro","module","next","of","out","pointerof","private","protected","rescue","return","require","select","sizeof","struct","super","then","type","typeof","uninitialized","union","unless","until","when","while","with","yield","__DIR__","__END_LINE__","__FILE__","__LINE__"]),j=i(["true","false","nil","self"]),P=["def","fun","macro","class","module","struct","lib","enum","union","do","for"],D=i(P),K=["if","unless","case","while","until","begin","then"],M=i(K),b=["end","else","elsif","rescue","ensure"],N=i(b),I=["\\)","\\}","\\]"],Z=new RegExp("^(?:"+I.join("|")+")$"),E={def:S,fun:S,macro:$,class:p,module:p,struct:p,lib:p,enum:p,union:p},s={"[":"]","{":"}","(":")","<":">"};function g(n,e){if(n.eatSpace())return null;if(e.lastToken!="\\"&&n.match("{%",!1))return c(a("%","%"),n,e);if(e.lastToken!="\\"&&n.match("{{",!1))return c(a("{","}"),n,e);if(n.peek()=="#")return n.skipToEnd(),"comment";var r;if(n.match(h))return n.eat(/[?!]/),r=n.current(),n.eat(":")?"atom":e.lastToken=="."?"property":T.test(r)?(D.test(r)?!(r=="fun"&&e.blocks.indexOf("lib")>=0)&&!(r=="def"&&e.lastToken=="abstract")&&(e.blocks.push(r),e.currentIndent+=1):(e.lastStyle=="operator"||!e.lastStyle)&&M.test(r)?(e.blocks.push(r),e.currentIndent+=1):r=="end"&&(e.blocks.pop(),e.currentIndent-=1),E.hasOwnProperty(r)&&e.tokenize.push(E[r]),"keyword"):j.test(r)?"atom":"variable";if(n.eat("@"))return n.peek()=="["?c(d("[","]","meta"),n,e):(n.eat("@"),n.match(h)||n.match(F),"variable-2");if(n.match(F))return"tag";if(n.eat(":"))return n.eat('"')?c(w('"',"atom",!1),n,e):n.match(h)||n.match(F)||n.match(_)||n.match(z)||n.match(x)?"atom":(n.eat(":"),"operator");if(n.eat('"'))return c(w('"',"string",!0),n,e);if(n.peek()=="%"){var u="string",t=!0,o;if(n.match("%r"))u="string-2",o=n.next();else if(n.match("%w"))t=!1,o=n.next();else if(n.match("%q"))t=!1,o=n.next();else if(o=n.match(/^%([^\w\s=])/))o=o[1];else{if(n.match(/^%[a-zA-Z_\u009F-\uFFFF][\w\u009F-\uFFFF]*/))return"meta";if(n.eat("%"))return"operator"}return s.hasOwnProperty(o)&&(o=s[o]),c(w(o,u,t),n,e)}return(r=n.match(/^<<-('?)([A-Z]\w*)\1/))?c(R(r[2],!r[1]),n,e):n.eat("'")?(n.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/),n.eat("'"),"atom"):n.eat("0")?(n.eat("x")?n.match(/^[0-9a-fA-F_]+/):n.eat("o")?n.match(/^[0-7_]+/):n.eat("b")&&n.match(/^[01_]+/),"number"):n.eat(/^\d/)?(n.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+-]?\d+)?/),"number"):n.match(_)?(n.eat("="),"operator"):n.match(z)||n.match(O)?"operator":(r=n.match(/[({[]/,!1))?(r=r[0],c(d(r,s[r],null),n,e)):n.eat("\\")?(n.next(),"meta"):(n.next(),null)}function d(n,e,r,u){return function(t,o){if(!u&&t.match(n))return o.tokenize[o.tokenize.length-1]=d(n,e,r,!0),o.currentIndent+=1,r;var k=g(t,o);return t.current()===e&&(o.tokenize.pop(),o.currentIndent-=1,k=r),k}}function a(n,e,r){return function(u,t){return!r&&u.match("{"+n)?(t.currentIndent+=1,t.tokenize[t.tokenize.length-1]=a(n,e,!0),"meta"):u.match(e+"}")?(t.currentIndent-=1,t.tokenize.pop(),"meta"):g(u,t)}}function $(n,e){if(n.eatSpace())return null;var r;if(r=n.match(h)){if(r=="def")return"keyword";n.eat(/[?!]/)}return e.tokenize.pop(),"def"}function S(n,e){return n.eatSpace()?null:(n.match(h)?n.eat(/[!?]/):n.match(_)||n.match(z)||n.match(x),e.tokenize.pop(),"def")}function p(n,e){return n.eatSpace()?null:(n.match(F),e.tokenize.pop(),"def")}function w(n,e,r){return function(u,t){for(var o=!1;u.peek();)if(o)u.next(),o=!1;else{if(u.match("{%",!1))return t.tokenize.push(a("%","%")),e;if(u.match("{{",!1))return t.tokenize.push(a("{","}")),e;if(r&&u.match("#{",!1))return t.tokenize.push(d("#{","}","meta")),e;var k=u.next();if(k==n)return t.tokenize.pop(),e;o=r&&k=="\\"}return e}}function R(n,e){return function(r,u){if(r.sol()&&(r.eatSpace(),r.match(n)))return u.tokenize.pop(),"string";for(var t=!1;r.peek();)if(t)r.next(),t=!1;else{if(r.match("{%",!1))return u.tokenize.push(a("%","%")),"string";if(r.match("{{",!1))return u.tokenize.push(a("{","}")),"string";if(e&&r.match("#{",!1))return u.tokenize.push(d("#{","}","meta")),"string";t=e&&r.next()=="\\"}return"string"}}return{startState:function(){return{tokenize:[g],currentIndent:0,lastToken:null,lastStyle:null,blocks:[]}},token:function(n,e){var r=e.tokenize[e.tokenize.length-1](n,e),u=n.current();return r&&r!="comment"&&(e.lastToken=u,e.lastStyle=r),r},indent:function(n,e){return e=e.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g,""),N.test(e)||Z.test(e)?l.indentUnit*(n.currentIndent-1):l.indentUnit*n.currentIndent},fold:"indent",electricInput:i(I.concat(b),!0),lineComment:"#"}}),f.defineMIME("text/x-crystal","crystal")})})();var A=B.exports;const C=L(A),Q=U({__proto__:null,default:C},[A]);export{Q as c}; +import{g as L,c as q}from"./index-rXwcQ1j1.js";function U(v,y){for(var f=0;fl[i]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var B={exports:{}};(function(v,y){(function(f){f(q)})(function(f){f.defineMode("crystal",function(l){function i(n,e){return new RegExp((e?"":"^")+"(?:"+n.join("|")+")"+(e?"$":"\\b"))}function c(n,e,r){return r.tokenize.push(n),n(e,r)}var _=/^(?:[-+/%|&^]|\*\*?|[<>]{2})/,z=/^(?:[=!]~|===|<=>|[<>=!]=?|[|&]{2}|~)/,x=/^(?:\[\][?=]?)/,O=/^(?:\.(?:\.{2})?|->|[?:])/,h=/^[a-z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,F=/^[A-Z_\u009F-\uFFFF][a-zA-Z0-9_\u009F-\uFFFF]*/,T=i(["abstract","alias","as","asm","begin","break","case","class","def","do","else","elsif","end","ensure","enum","extend","for","fun","if","include","instance_sizeof","lib","macro","module","next","of","out","pointerof","private","protected","rescue","return","require","select","sizeof","struct","super","then","type","typeof","uninitialized","union","unless","until","when","while","with","yield","__DIR__","__END_LINE__","__FILE__","__LINE__"]),j=i(["true","false","nil","self"]),P=["def","fun","macro","class","module","struct","lib","enum","union","do","for"],D=i(P),K=["if","unless","case","while","until","begin","then"],M=i(K),b=["end","else","elsif","rescue","ensure"],N=i(b),I=["\\)","\\}","\\]"],Z=new RegExp("^(?:"+I.join("|")+")$"),E={def:S,fun:S,macro:$,class:p,module:p,struct:p,lib:p,enum:p,union:p},s={"[":"]","{":"}","(":")","<":">"};function g(n,e){if(n.eatSpace())return null;if(e.lastToken!="\\"&&n.match("{%",!1))return c(a("%","%"),n,e);if(e.lastToken!="\\"&&n.match("{{",!1))return c(a("{","}"),n,e);if(n.peek()=="#")return n.skipToEnd(),"comment";var r;if(n.match(h))return n.eat(/[?!]/),r=n.current(),n.eat(":")?"atom":e.lastToken=="."?"property":T.test(r)?(D.test(r)?!(r=="fun"&&e.blocks.indexOf("lib")>=0)&&!(r=="def"&&e.lastToken=="abstract")&&(e.blocks.push(r),e.currentIndent+=1):(e.lastStyle=="operator"||!e.lastStyle)&&M.test(r)?(e.blocks.push(r),e.currentIndent+=1):r=="end"&&(e.blocks.pop(),e.currentIndent-=1),E.hasOwnProperty(r)&&e.tokenize.push(E[r]),"keyword"):j.test(r)?"atom":"variable";if(n.eat("@"))return n.peek()=="["?c(d("[","]","meta"),n,e):(n.eat("@"),n.match(h)||n.match(F),"variable-2");if(n.match(F))return"tag";if(n.eat(":"))return n.eat('"')?c(w('"',"atom",!1),n,e):n.match(h)||n.match(F)||n.match(_)||n.match(z)||n.match(x)?"atom":(n.eat(":"),"operator");if(n.eat('"'))return c(w('"',"string",!0),n,e);if(n.peek()=="%"){var u="string",t=!0,o;if(n.match("%r"))u="string-2",o=n.next();else if(n.match("%w"))t=!1,o=n.next();else if(n.match("%q"))t=!1,o=n.next();else if(o=n.match(/^%([^\w\s=])/))o=o[1];else{if(n.match(/^%[a-zA-Z_\u009F-\uFFFF][\w\u009F-\uFFFF]*/))return"meta";if(n.eat("%"))return"operator"}return s.hasOwnProperty(o)&&(o=s[o]),c(w(o,u,t),n,e)}return(r=n.match(/^<<-('?)([A-Z]\w*)\1/))?c(R(r[2],!r[1]),n,e):n.eat("'")?(n.match(/^(?:[^']|\\(?:[befnrtv0'"]|[0-7]{3}|u(?:[0-9a-fA-F]{4}|\{[0-9a-fA-F]{1,6}\})))/),n.eat("'"),"atom"):n.eat("0")?(n.eat("x")?n.match(/^[0-9a-fA-F_]+/):n.eat("o")?n.match(/^[0-7_]+/):n.eat("b")&&n.match(/^[01_]+/),"number"):n.eat(/^\d/)?(n.match(/^[\d_]*(?:\.[\d_]+)?(?:[eE][+-]?\d+)?/),"number"):n.match(_)?(n.eat("="),"operator"):n.match(z)||n.match(O)?"operator":(r=n.match(/[({[]/,!1))?(r=r[0],c(d(r,s[r],null),n,e)):n.eat("\\")?(n.next(),"meta"):(n.next(),null)}function d(n,e,r,u){return function(t,o){if(!u&&t.match(n))return o.tokenize[o.tokenize.length-1]=d(n,e,r,!0),o.currentIndent+=1,r;var k=g(t,o);return t.current()===e&&(o.tokenize.pop(),o.currentIndent-=1,k=r),k}}function a(n,e,r){return function(u,t){return!r&&u.match("{"+n)?(t.currentIndent+=1,t.tokenize[t.tokenize.length-1]=a(n,e,!0),"meta"):u.match(e+"}")?(t.currentIndent-=1,t.tokenize.pop(),"meta"):g(u,t)}}function $(n,e){if(n.eatSpace())return null;var r;if(r=n.match(h)){if(r=="def")return"keyword";n.eat(/[?!]/)}return e.tokenize.pop(),"def"}function S(n,e){return n.eatSpace()?null:(n.match(h)?n.eat(/[!?]/):n.match(_)||n.match(z)||n.match(x),e.tokenize.pop(),"def")}function p(n,e){return n.eatSpace()?null:(n.match(F),e.tokenize.pop(),"def")}function w(n,e,r){return function(u,t){for(var o=!1;u.peek();)if(o)u.next(),o=!1;else{if(u.match("{%",!1))return t.tokenize.push(a("%","%")),e;if(u.match("{{",!1))return t.tokenize.push(a("{","}")),e;if(r&&u.match("#{",!1))return t.tokenize.push(d("#{","}","meta")),e;var k=u.next();if(k==n)return t.tokenize.pop(),e;o=r&&k=="\\"}return e}}function R(n,e){return function(r,u){if(r.sol()&&(r.eatSpace(),r.match(n)))return u.tokenize.pop(),"string";for(var t=!1;r.peek();)if(t)r.next(),t=!1;else{if(r.match("{%",!1))return u.tokenize.push(a("%","%")),"string";if(r.match("{{",!1))return u.tokenize.push(a("{","}")),"string";if(e&&r.match("#{",!1))return u.tokenize.push(d("#{","}","meta")),"string";t=e&&r.next()=="\\"}return"string"}}return{startState:function(){return{tokenize:[g],currentIndent:0,lastToken:null,lastStyle:null,blocks:[]}},token:function(n,e){var r=e.tokenize[e.tokenize.length-1](n,e),u=n.current();return r&&r!="comment"&&(e.lastToken=u,e.lastStyle=r),r},indent:function(n,e){return e=e.replace(/^\s*(?:\{%)?\s*|\s*(?:%\})?\s*$/g,""),N.test(e)||Z.test(e)?l.indentUnit*(n.currentIndent-1):l.indentUnit*n.currentIndent},fold:"indent",electricInput:i(I.concat(b),!0),lineComment:"#"}}),f.defineMIME("text/x-crystal","crystal")})})();var A=B.exports;const C=L(A),Q=U({__proto__:null,default:C},[A]);export{Q as c}; diff --git a/dist-ui/assets/css-BRan0Fyo.js b/dist-ui/assets/css-DspWBOZK.js similarity index 99% rename from dist-ui/assets/css-BRan0Fyo.js rename to dist-ui/assets/css-DspWBOZK.js index 706e49ed..3ca626f5 100644 --- a/dist-ui/assets/css-BRan0Fyo.js +++ b/dist-ui/assets/css-DspWBOZK.js @@ -1 +1 @@ -import{g as de,c as ue}from"./index-CHg1vBCc.js";function pe(x,O){for(var u=0;ud[g]})}}}return Object.freeze(Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}))}var me={exports:{}};(function(x,O){(function(u){u(ue)})(function(u){u.defineMode("css",function(t,i){var f=i.inline;i.propertyKeywords||(i=u.resolveMode("text/css"));var w=t.indentUnit,L=i.tokenHooks,ee=i.documentTypes||{},re=i.mediaTypes||{},oe=i.mediaFeatures||{},te=i.mediaValueKeywords||{},N=i.propertyKeywords||{},M=i.nonStandardPropertyKeywords||{},ie=i.fontProperties||{},ne=i.counterDescriptors||{},C=i.colorKeywords||{},I=i.valueKeywords||{},y=i.allowNested,ae=i.lineComment,le=i.supportsAtComponent===!0,X=t.highlightNonStandardPropertyKeywords!==!1,B,n;function c(e,o){return B=o,e}function se(e,o){var r=e.next();if(L[r]){var a=L[r](e,o);if(a!==!1)return a}if(r=="@")return e.eatWhile(/[\w\\\-]/),c("def",e.current());if(r=="="||(r=="~"||r=="|")&&e.eat("="))return c(null,"compare");if(r=='"'||r=="'")return o.tokenize=Y(r),o.tokenize(e,o);if(r=="#")return e.eatWhile(/[\w\\\-]/),c("atom","hash");if(r=="!")return e.match(/^\s*\w*/),c("keyword","important");if(/\d/.test(r)||r=="."&&e.eat(/\d/))return e.eatWhile(/[\w.%]/),c("number","unit");if(r==="-"){if(/[\d.]/.test(e.peek()))return e.eatWhile(/[\w.%]/),c("number","unit");if(e.match(/^-[\w\\\-]*/))return e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?c("variable-2","variable-definition"):c("variable-2","variable");if(e.match(/^\w+-/))return c("meta","meta")}else return/[,+>*\/]/.test(r)?c(null,"select-op"):r=="."&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?c("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?c(null,r):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(o.tokenize=ce),c("variable callee","variable")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),c("property","word")):c(null,null)}function Y(e){return function(o,r){for(var a=!1,p;(p=o.next())!=null;){if(p==e&&!a){e==")"&&o.backUp(1);break}a=!a&&p=="\\"}return(p==e||!a&&e!=")")&&(r.tokenize=null),c("string","string")}}function ce(e,o){return e.next(),e.match(/^\s*[\"\')]/,!1)?o.tokenize=null:o.tokenize=Y(")"),c(null,"(")}function U(e,o,r){this.type=e,this.indent=o,this.prev=r}function s(e,o,r,a){return e.context=new U(r,o.indentation()+(a===!1?0:w),e.context),r}function m(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function v(e,o,r){return l[r.context.type](e,o,r)}function b(e,o,r,a){for(var p=a||1;p>0;p--)r.context=r.context.prev;return v(e,o,r)}function Z(e){var o=e.current().toLowerCase();I.hasOwnProperty(o)?n="atom":C.hasOwnProperty(o)?n="keyword":n="variable"}var l={};return l.top=function(e,o,r){if(e=="{")return s(r,o,"block");if(e=="}"&&r.context.prev)return m(r);if(le&&/@component/i.test(e))return s(r,o,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return s(r,o,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return s(r,o,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&e.charAt(0)=="@")return s(r,o,"at");if(e=="hash")n="builtin";else if(e=="word")n="tag";else{if(e=="variable-definition")return"maybeprop";if(e=="interpolation")return s(r,o,"interpolation");if(e==":")return"pseudo";if(y&&e=="(")return s(r,o,"parens")}return r.context.type},l.block=function(e,o,r){if(e=="word"){var a=o.current().toLowerCase();return N.hasOwnProperty(a)?(n="property","maybeprop"):M.hasOwnProperty(a)?(n=X?"string-2":"property","maybeprop"):y?(n=o.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(n+=" error","maybeprop")}else return e=="meta"?"block":!y&&(e=="hash"||e=="qualifier")?(n="error","block"):l.top(e,o,r)},l.maybeprop=function(e,o,r){return e==":"?s(r,o,"prop"):v(e,o,r)},l.prop=function(e,o,r){if(e==";")return m(r);if(e=="{"&&y)return s(r,o,"propBlock");if(e=="}"||e=="{")return b(e,o,r);if(e=="(")return s(r,o,"parens");if(e=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(o.current()))n+=" error";else if(e=="word")Z(o);else if(e=="interpolation")return s(r,o,"interpolation");return"prop"},l.propBlock=function(e,o,r){return e=="}"?m(r):e=="word"?(n="property","maybeprop"):r.context.type},l.parens=function(e,o,r){return e=="{"||e=="}"?b(e,o,r):e==")"?m(r):e=="("?s(r,o,"parens"):e=="interpolation"?s(r,o,"interpolation"):(e=="word"&&Z(o),"parens")},l.pseudo=function(e,o,r){return e=="meta"?"pseudo":e=="word"?(n="variable-3",r.context.type):v(e,o,r)},l.documentTypes=function(e,o,r){return e=="word"&&ee.hasOwnProperty(o.current())?(n="tag",r.context.type):l.atBlock(e,o,r)},l.atBlock=function(e,o,r){if(e=="(")return s(r,o,"atBlock_parens");if(e=="}"||e==";")return b(e,o,r);if(e=="{")return m(r)&&s(r,o,y?"block":"top");if(e=="interpolation")return s(r,o,"interpolation");if(e=="word"){var a=o.current().toLowerCase();a=="only"||a=="not"||a=="and"||a=="or"?n="keyword":re.hasOwnProperty(a)?n="attribute":oe.hasOwnProperty(a)?n="property":te.hasOwnProperty(a)?n="keyword":N.hasOwnProperty(a)?n="property":M.hasOwnProperty(a)?n=X?"string-2":"property":I.hasOwnProperty(a)?n="atom":C.hasOwnProperty(a)?n="keyword":n="error"}return r.context.type},l.atComponentBlock=function(e,o,r){return e=="}"?b(e,o,r):e=="{"?m(r)&&s(r,o,y?"block":"top",!1):(e=="word"&&(n="error"),r.context.type)},l.atBlock_parens=function(e,o,r){return e==")"?m(r):e=="{"||e=="}"?b(e,o,r,2):l.atBlock(e,o,r)},l.restricted_atBlock_before=function(e,o,r){return e=="{"?s(r,o,"restricted_atBlock"):e=="word"&&r.stateArg=="@counter-style"?(n="variable","restricted_atBlock_before"):v(e,o,r)},l.restricted_atBlock=function(e,o,r){return e=="}"?(r.stateArg=null,m(r)):e=="word"?(r.stateArg=="@font-face"&&!ie.hasOwnProperty(o.current().toLowerCase())||r.stateArg=="@counter-style"&&!ne.hasOwnProperty(o.current().toLowerCase())?n="error":n="property","maybeprop"):"restricted_atBlock"},l.keyframes=function(e,o,r){return e=="word"?(n="variable","keyframes"):e=="{"?s(r,o,"top"):v(e,o,r)},l.at=function(e,o,r){return e==";"?m(r):e=="{"||e=="}"?b(e,o,r):(e=="word"?n="tag":e=="hash"&&(n="builtin"),"at")},l.interpolation=function(e,o,r){return e=="}"?m(r):e=="{"||e==";"?b(e,o,r):(e=="word"?n="variable":e!="variable"&&e!="("&&e!=")"&&(n="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:f?"block":"top",stateArg:null,context:new U(f?"block":"top",e||0,null)}},token:function(e,o){if(!o.tokenize&&e.eatSpace())return null;var r=(o.tokenize||se)(e,o);return r&&typeof r=="object"&&(B=r[1],r=r[0]),n=r,B!="comment"&&(o.state=l[o.state](B,e,o)),n},indent:function(e,o){var r=e.context,a=o&&o.charAt(0),p=r.indent;return r.type=="prop"&&(a=="}"||a==")")&&(r=r.prev),r.prev&&(a=="}"&&(r.type=="block"||r.type=="top"||r.type=="interpolation"||r.type=="restricted_atBlock")?(r=r.prev,p=r.indent):(a==")"&&(r.type=="parens"||r.type=="atBlock_parens")||a=="{"&&(r.type=="at"||r.type=="atBlock"))&&(p=Math.max(0,r.indent-w))),p},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:ae,fold:"brace"}});function d(t){for(var i={},f=0;fd[g]})}}}return Object.freeze(Object.defineProperty(x,Symbol.toStringTag,{value:"Module"}))}var me={exports:{}};(function(x,O){(function(u){u(ue)})(function(u){u.defineMode("css",function(t,i){var f=i.inline;i.propertyKeywords||(i=u.resolveMode("text/css"));var w=t.indentUnit,L=i.tokenHooks,ee=i.documentTypes||{},re=i.mediaTypes||{},oe=i.mediaFeatures||{},te=i.mediaValueKeywords||{},N=i.propertyKeywords||{},M=i.nonStandardPropertyKeywords||{},ie=i.fontProperties||{},ne=i.counterDescriptors||{},C=i.colorKeywords||{},I=i.valueKeywords||{},y=i.allowNested,ae=i.lineComment,le=i.supportsAtComponent===!0,X=t.highlightNonStandardPropertyKeywords!==!1,B,n;function c(e,o){return B=o,e}function se(e,o){var r=e.next();if(L[r]){var a=L[r](e,o);if(a!==!1)return a}if(r=="@")return e.eatWhile(/[\w\\\-]/),c("def",e.current());if(r=="="||(r=="~"||r=="|")&&e.eat("="))return c(null,"compare");if(r=='"'||r=="'")return o.tokenize=Y(r),o.tokenize(e,o);if(r=="#")return e.eatWhile(/[\w\\\-]/),c("atom","hash");if(r=="!")return e.match(/^\s*\w*/),c("keyword","important");if(/\d/.test(r)||r=="."&&e.eat(/\d/))return e.eatWhile(/[\w.%]/),c("number","unit");if(r==="-"){if(/[\d.]/.test(e.peek()))return e.eatWhile(/[\w.%]/),c("number","unit");if(e.match(/^-[\w\\\-]*/))return e.eatWhile(/[\w\\\-]/),e.match(/^\s*:/,!1)?c("variable-2","variable-definition"):c("variable-2","variable");if(e.match(/^\w+-/))return c("meta","meta")}else return/[,+>*\/]/.test(r)?c(null,"select-op"):r=="."&&e.match(/^-?[_a-z][_a-z0-9-]*/i)?c("qualifier","qualifier"):/[:;{}\[\]\(\)]/.test(r)?c(null,r):e.match(/^[\w-.]+(?=\()/)?(/^(url(-prefix)?|domain|regexp)$/i.test(e.current())&&(o.tokenize=ce),c("variable callee","variable")):/[\w\\\-]/.test(r)?(e.eatWhile(/[\w\\\-]/),c("property","word")):c(null,null)}function Y(e){return function(o,r){for(var a=!1,p;(p=o.next())!=null;){if(p==e&&!a){e==")"&&o.backUp(1);break}a=!a&&p=="\\"}return(p==e||!a&&e!=")")&&(r.tokenize=null),c("string","string")}}function ce(e,o){return e.next(),e.match(/^\s*[\"\')]/,!1)?o.tokenize=null:o.tokenize=Y(")"),c(null,"(")}function U(e,o,r){this.type=e,this.indent=o,this.prev=r}function s(e,o,r,a){return e.context=new U(r,o.indentation()+(a===!1?0:w),e.context),r}function m(e){return e.context.prev&&(e.context=e.context.prev),e.context.type}function v(e,o,r){return l[r.context.type](e,o,r)}function b(e,o,r,a){for(var p=a||1;p>0;p--)r.context=r.context.prev;return v(e,o,r)}function Z(e){var o=e.current().toLowerCase();I.hasOwnProperty(o)?n="atom":C.hasOwnProperty(o)?n="keyword":n="variable"}var l={};return l.top=function(e,o,r){if(e=="{")return s(r,o,"block");if(e=="}"&&r.context.prev)return m(r);if(le&&/@component/i.test(e))return s(r,o,"atComponentBlock");if(/^@(-moz-)?document$/i.test(e))return s(r,o,"documentTypes");if(/^@(media|supports|(-moz-)?document|import)$/i.test(e))return s(r,o,"atBlock");if(/^@(font-face|counter-style)/i.test(e))return r.stateArg=e,"restricted_atBlock_before";if(/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(e))return"keyframes";if(e&&e.charAt(0)=="@")return s(r,o,"at");if(e=="hash")n="builtin";else if(e=="word")n="tag";else{if(e=="variable-definition")return"maybeprop";if(e=="interpolation")return s(r,o,"interpolation");if(e==":")return"pseudo";if(y&&e=="(")return s(r,o,"parens")}return r.context.type},l.block=function(e,o,r){if(e=="word"){var a=o.current().toLowerCase();return N.hasOwnProperty(a)?(n="property","maybeprop"):M.hasOwnProperty(a)?(n=X?"string-2":"property","maybeprop"):y?(n=o.match(/^\s*:(?:\s|$)/,!1)?"property":"tag","block"):(n+=" error","maybeprop")}else return e=="meta"?"block":!y&&(e=="hash"||e=="qualifier")?(n="error","block"):l.top(e,o,r)},l.maybeprop=function(e,o,r){return e==":"?s(r,o,"prop"):v(e,o,r)},l.prop=function(e,o,r){if(e==";")return m(r);if(e=="{"&&y)return s(r,o,"propBlock");if(e=="}"||e=="{")return b(e,o,r);if(e=="(")return s(r,o,"parens");if(e=="hash"&&!/^#([0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(o.current()))n+=" error";else if(e=="word")Z(o);else if(e=="interpolation")return s(r,o,"interpolation");return"prop"},l.propBlock=function(e,o,r){return e=="}"?m(r):e=="word"?(n="property","maybeprop"):r.context.type},l.parens=function(e,o,r){return e=="{"||e=="}"?b(e,o,r):e==")"?m(r):e=="("?s(r,o,"parens"):e=="interpolation"?s(r,o,"interpolation"):(e=="word"&&Z(o),"parens")},l.pseudo=function(e,o,r){return e=="meta"?"pseudo":e=="word"?(n="variable-3",r.context.type):v(e,o,r)},l.documentTypes=function(e,o,r){return e=="word"&&ee.hasOwnProperty(o.current())?(n="tag",r.context.type):l.atBlock(e,o,r)},l.atBlock=function(e,o,r){if(e=="(")return s(r,o,"atBlock_parens");if(e=="}"||e==";")return b(e,o,r);if(e=="{")return m(r)&&s(r,o,y?"block":"top");if(e=="interpolation")return s(r,o,"interpolation");if(e=="word"){var a=o.current().toLowerCase();a=="only"||a=="not"||a=="and"||a=="or"?n="keyword":re.hasOwnProperty(a)?n="attribute":oe.hasOwnProperty(a)?n="property":te.hasOwnProperty(a)?n="keyword":N.hasOwnProperty(a)?n="property":M.hasOwnProperty(a)?n=X?"string-2":"property":I.hasOwnProperty(a)?n="atom":C.hasOwnProperty(a)?n="keyword":n="error"}return r.context.type},l.atComponentBlock=function(e,o,r){return e=="}"?b(e,o,r):e=="{"?m(r)&&s(r,o,y?"block":"top",!1):(e=="word"&&(n="error"),r.context.type)},l.atBlock_parens=function(e,o,r){return e==")"?m(r):e=="{"||e=="}"?b(e,o,r,2):l.atBlock(e,o,r)},l.restricted_atBlock_before=function(e,o,r){return e=="{"?s(r,o,"restricted_atBlock"):e=="word"&&r.stateArg=="@counter-style"?(n="variable","restricted_atBlock_before"):v(e,o,r)},l.restricted_atBlock=function(e,o,r){return e=="}"?(r.stateArg=null,m(r)):e=="word"?(r.stateArg=="@font-face"&&!ie.hasOwnProperty(o.current().toLowerCase())||r.stateArg=="@counter-style"&&!ne.hasOwnProperty(o.current().toLowerCase())?n="error":n="property","maybeprop"):"restricted_atBlock"},l.keyframes=function(e,o,r){return e=="word"?(n="variable","keyframes"):e=="{"?s(r,o,"top"):v(e,o,r)},l.at=function(e,o,r){return e==";"?m(r):e=="{"||e=="}"?b(e,o,r):(e=="word"?n="tag":e=="hash"&&(n="builtin"),"at")},l.interpolation=function(e,o,r){return e=="}"?m(r):e=="{"||e==";"?b(e,o,r):(e=="word"?n="variable":e!="variable"&&e!="("&&e!=")"&&(n="error"),"interpolation")},{startState:function(e){return{tokenize:null,state:f?"block":"top",stateArg:null,context:new U(f?"block":"top",e||0,null)}},token:function(e,o){if(!o.tokenize&&e.eatSpace())return null;var r=(o.tokenize||se)(e,o);return r&&typeof r=="object"&&(B=r[1],r=r[0]),n=r,B!="comment"&&(o.state=l[o.state](B,e,o)),n},indent:function(e,o){var r=e.context,a=o&&o.charAt(0),p=r.indent;return r.type=="prop"&&(a=="}"||a==")")&&(r=r.prev),r.prev&&(a=="}"&&(r.type=="block"||r.type=="top"||r.type=="interpolation"||r.type=="restricted_atBlock")?(r=r.prev,p=r.indent):(a==")"&&(r.type=="parens"||r.type=="atBlock_parens")||a=="{"&&(r.type=="at"||r.type=="atBlock"))&&(p=Math.max(0,r.indent-w))),p},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:ae,fold:"brace"}});function d(t){for(var i={},f=0;fl[r]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var j={exports:{}};(function(u,d){(function(c){c(k)})(function(c){var l=function(r){return new RegExp("^(?:"+r.join("|")+")$","i")};c.defineMode("cypher",function(r){var i=function(n){s=null;var e=n.next();if(e==='"')return n.match(/^[^"]*"/),"string";if(e==="'")return n.match(/^[^']*'/),"string";if(/[{}\(\),\.;\[\]]/.test(e))return s=e,"node";if(e==="/"&&n.eat("/"))return n.skipToEnd(),"comment";if(f.test(e))return n.eatWhile(f),null;if(n.eatWhile(/[_\w\d]/),n.eat(":"))return n.eatWhile(/[\w\d_\-]/),"atom";var t=n.current();return y.test(t)?"builtin":v.test(t)?"def":m.test(t)||b.test(t)?"keyword":"variable"},a=function(n,e,t){return n.context={prev:n.context,indent:n.indent,col:t,type:e}},p=function(n){return n.indent=n.context.indent,n.context=n.context.prev},g=r.indentUnit,s,y=l(["abs","acos","allShortestPaths","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endnode","exp","extract","filter","floor","haversin","head","id","keys","labels","last","left","length","log","log10","lower","ltrim","max","min","node","nodes","percentileCont","percentileDisc","pi","radians","rand","range","reduce","rel","relationship","relationships","replace","reverse","right","round","rtrim","shortestPath","sign","sin","size","split","sqrt","startnode","stdev","stdevp","str","substring","sum","tail","tan","timestamp","toFloat","toInt","toString","trim","type","upper"]),v=l(["all","and","any","contains","exists","has","in","none","not","or","single","xor"]),m=l(["as","asc","ascending","assert","by","case","commit","constraint","create","csv","cypher","delete","desc","descending","detach","distinct","drop","else","end","ends","explain","false","fieldterminator","foreach","from","headers","in","index","is","join","limit","load","match","merge","null","on","optional","order","periodic","profile","remove","return","scan","set","skip","start","starts","then","true","union","unique","unwind","using","when","where","with","call","yield"]),b=l(["access","active","assign","all","alter","as","catalog","change","copy","create","constraint","constraints","current","database","databases","dbms","default","deny","drop","element","elements","exists","from","grant","graph","graphs","if","index","indexes","label","labels","management","match","name","names","new","node","nodes","not","of","on","or","password","populated","privileges","property","read","relationship","relationships","remove","replace","required","revoke","role","roles","set","show","start","status","stop","suspended","to","traverse","type","types","user","users","with","write"]),f=/[*+\-<>=&|~%^]/;return{startState:function(){return{tokenize:i,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!=="comment"&&e.context&&e.context.align==null&&e.context.type!=="pattern"&&(e.context.align=!0),s==="(")a(e,")",n.column());else if(s==="[")a(e,"]",n.column());else if(s==="{")a(e,"}",n.column());else if(/[\]\}\)]/.test(s)){for(;e.context&&e.context.type==="pattern";)p(e);e.context&&s===e.context.type&&p(e)}else s==="."&&e.context&&e.context.type==="pattern"?p(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?a(e,"pattern",n.column()):e.context.type==="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e){var t=e&&e.charAt(0),o=n.context;if(/[\]\}]/.test(t))for(;o&&o.type==="pattern";)o=o.prev;var h=o&&t===o.type;return o?o.type==="keywords"?c.commands.newlineAndIndent:o.align?o.col+(h?0:1):o.indent+(h?0:g):0}}}),c.modeExtensions.cypher={autoFormatLineBreaks:function(r){for(var i,a,p,a=r.split("\n"),p=/\s+\b(return|where|order by|match|with|skip|limit|create|delete|set)\b\s/g,i=0;il[r]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var j={exports:{}};(function(u,d){(function(c){c(k)})(function(c){var l=function(r){return new RegExp("^(?:"+r.join("|")+")$","i")};c.defineMode("cypher",function(r){var i=function(n){s=null;var e=n.next();if(e==='"')return n.match(/^[^"]*"/),"string";if(e==="'")return n.match(/^[^']*'/),"string";if(/[{}\(\),\.;\[\]]/.test(e))return s=e,"node";if(e==="/"&&n.eat("/"))return n.skipToEnd(),"comment";if(f.test(e))return n.eatWhile(f),null;if(n.eatWhile(/[_\w\d]/),n.eat(":"))return n.eatWhile(/[\w\d_\-]/),"atom";var t=n.current();return y.test(t)?"builtin":v.test(t)?"def":m.test(t)||b.test(t)?"keyword":"variable"},a=function(n,e,t){return n.context={prev:n.context,indent:n.indent,col:t,type:e}},p=function(n){return n.indent=n.context.indent,n.context=n.context.prev},g=r.indentUnit,s,y=l(["abs","acos","allShortestPaths","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endnode","exp","extract","filter","floor","haversin","head","id","keys","labels","last","left","length","log","log10","lower","ltrim","max","min","node","nodes","percentileCont","percentileDisc","pi","radians","rand","range","reduce","rel","relationship","relationships","replace","reverse","right","round","rtrim","shortestPath","sign","sin","size","split","sqrt","startnode","stdev","stdevp","str","substring","sum","tail","tan","timestamp","toFloat","toInt","toString","trim","type","upper"]),v=l(["all","and","any","contains","exists","has","in","none","not","or","single","xor"]),m=l(["as","asc","ascending","assert","by","case","commit","constraint","create","csv","cypher","delete","desc","descending","detach","distinct","drop","else","end","ends","explain","false","fieldterminator","foreach","from","headers","in","index","is","join","limit","load","match","merge","null","on","optional","order","periodic","profile","remove","return","scan","set","skip","start","starts","then","true","union","unique","unwind","using","when","where","with","call","yield"]),b=l(["access","active","assign","all","alter","as","catalog","change","copy","create","constraint","constraints","current","database","databases","dbms","default","deny","drop","element","elements","exists","from","grant","graph","graphs","if","index","indexes","label","labels","management","match","name","names","new","node","nodes","not","of","on","or","password","populated","privileges","property","read","relationship","relationships","remove","replace","required","revoke","role","roles","set","show","start","status","stop","suspended","to","traverse","type","types","user","users","with","write"]),f=/[*+\-<>=&|~%^]/;return{startState:function(){return{tokenize:i,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!=="comment"&&e.context&&e.context.align==null&&e.context.type!=="pattern"&&(e.context.align=!0),s==="(")a(e,")",n.column());else if(s==="[")a(e,"]",n.column());else if(s==="{")a(e,"}",n.column());else if(/[\]\}\)]/.test(s)){for(;e.context&&e.context.type==="pattern";)p(e);e.context&&s===e.context.type&&p(e)}else s==="."&&e.context&&e.context.type==="pattern"?p(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?a(e,"pattern",n.column()):e.context.type==="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e){var t=e&&e.charAt(0),o=n.context;if(/[\]\}]/.test(t))for(;o&&o.type==="pattern";)o=o.prev;var h=o&&t===o.type;return o?o.type==="keywords"?c.commands.newlineAndIndent:o.align?o.col+(h?0:1):o.indent+(h?0:g):0}}}),c.modeExtensions.cypher={autoFormatLineBreaks:function(r){for(var i,a,p,a=r.split("\n"),p=/\s+\b(return|where|order by|match|with|skip|limit|create|delete|set)\b\s/g,i=0;iu[f]})}}}return Object.freeze(Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}))}var U={exports:{}};(function(m,h){(function(c){c(P)})(function(c){c.defineMode("d",function(a,l){var d=a.indentUnit,s=l.statementIndentUnit||d,I=l.keywords||{},O=l.builtin||{},b=l.blockKeywords||{},S=l.atoms||{},k=l.hooks||{},L=l.multiLineStrings,x=/[+\-*&%=<>!?|\/]/,i;function v(e,n){var t=e.next();if(k[t]){var r=k[t](e,n);if(r!==!1)return r}if(t=='"'||t=="'"||t=="`")return n.tokenize=j(t),n.tokenize(e,n);if(/[\[\]{}\(\),;\:\.]/.test(t))return i=t,null;if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if(t=="/"){if(e.eat("+"))return n.tokenize=_,_(e,n);if(e.eat("*"))return n.tokenize=w,w(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(x.test(t))return e.eatWhile(x),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var o=e.current();return I.propertyIsEnumerable(o)?(b.propertyIsEnumerable(o)&&(i="newstatement"),"keyword"):O.propertyIsEnumerable(o)?(b.propertyIsEnumerable(o)&&(i="newstatement"),"builtin"):S.propertyIsEnumerable(o)?"atom":"variable"}function j(e){return function(n,t){for(var r=!1,o,z=!1;(o=n.next())!=null;){if(o==e&&!r){z=!0;break}r=!r&&o=="\\"}return(z||!(r||L))&&(t.tokenize=null),"string"}}function w(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=null;break}t=r=="*"}return"comment"}function _(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=null;break}t=r=="+"}return"comment"}function g(e,n,t,r,o){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=o}function y(e,n,t){var r=e.indented;return e.context&&e.context.type=="statement"&&(r=e.context.indented),e.context=new g(r,n,t,null,e.context)}function p(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:null,context:new g((e||0)-d,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;i=null;var r=(n.tokenize||v)(e,n);if(r=="comment"||r=="meta")return r;if(t.align==null&&(t.align=!0),(i==";"||i==":"||i==",")&&t.type=="statement")p(n);else if(i=="{")y(n,e.column(),"}");else if(i=="[")y(n,e.column(),"]");else if(i=="(")y(n,e.column(),")");else if(i=="}"){for(;t.type=="statement";)t=p(n);for(t.type=="}"&&(t=p(n));t.type=="statement";)t=p(n)}else i==t.type?p(n):((t.type=="}"||t.type=="top")&&i!=";"||t.type=="statement"&&i=="newstatement")&&y(n,e.column(),"statement");return n.startOfLine=!1,r},indent:function(e,n){if(e.tokenize!=v&&e.tokenize!=null)return c.Pass;var t=e.context,r=n&&n.charAt(0);t.type=="statement"&&r=="}"&&(t=t.prev);var o=r==t.type;return t.type=="statement"?t.indented+(r=="{"?0:s):t.align?t.column+(o?0:1):t.indented+(o?0:d)},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});function u(a){for(var l={},d=a.split(" "),s=0;su[f]})}}}return Object.freeze(Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}))}var U={exports:{}};(function(m,h){(function(c){c(P)})(function(c){c.defineMode("d",function(a,l){var d=a.indentUnit,s=l.statementIndentUnit||d,I=l.keywords||{},O=l.builtin||{},b=l.blockKeywords||{},S=l.atoms||{},k=l.hooks||{},L=l.multiLineStrings,x=/[+\-*&%=<>!?|\/]/,i;function v(e,n){var t=e.next();if(k[t]){var r=k[t](e,n);if(r!==!1)return r}if(t=='"'||t=="'"||t=="`")return n.tokenize=j(t),n.tokenize(e,n);if(/[\[\]{}\(\),;\:\.]/.test(t))return i=t,null;if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if(t=="/"){if(e.eat("+"))return n.tokenize=_,_(e,n);if(e.eat("*"))return n.tokenize=w,w(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(x.test(t))return e.eatWhile(x),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var o=e.current();return I.propertyIsEnumerable(o)?(b.propertyIsEnumerable(o)&&(i="newstatement"),"keyword"):O.propertyIsEnumerable(o)?(b.propertyIsEnumerable(o)&&(i="newstatement"),"builtin"):S.propertyIsEnumerable(o)?"atom":"variable"}function j(e){return function(n,t){for(var r=!1,o,z=!1;(o=n.next())!=null;){if(o==e&&!r){z=!0;break}r=!r&&o=="\\"}return(z||!(r||L))&&(t.tokenize=null),"string"}}function w(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=null;break}t=r=="*"}return"comment"}function _(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=null;break}t=r=="+"}return"comment"}function g(e,n,t,r,o){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=o}function y(e,n,t){var r=e.indented;return e.context&&e.context.type=="statement"&&(r=e.context.indented),e.context=new g(r,n,t,null,e.context)}function p(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:null,context:new g((e||0)-d,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;i=null;var r=(n.tokenize||v)(e,n);if(r=="comment"||r=="meta")return r;if(t.align==null&&(t.align=!0),(i==";"||i==":"||i==",")&&t.type=="statement")p(n);else if(i=="{")y(n,e.column(),"}");else if(i=="[")y(n,e.column(),"]");else if(i=="(")y(n,e.column(),")");else if(i=="}"){for(;t.type=="statement";)t=p(n);for(t.type=="}"&&(t=p(n));t.type=="statement";)t=p(n)}else i==t.type?p(n):((t.type=="}"||t.type=="top")&&i!=";"||t.type=="statement"&&i=="newstatement")&&y(n,e.column(),"statement");return n.startOfLine=!1,r},indent:function(e,n){if(e.tokenize!=v&&e.tokenize!=null)return c.Pass;var t=e.context,r=n&&n.charAt(0);t.type=="statement"&&r=="}"&&(t=t.prev);var o=r==t.type;return t.type=="statement"?t.indented+(r=="{"?0:s):t.align?t.column+(o?0:1):t.indented+(o?0:d)},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"brace"}});function u(a){for(var l={},d=a.split(" "),s=0;si[a]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(c,s){(function(r){r(I,j)})(function(r){var i="this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required sealed base interface when".split(" "),a="try catch finally do else for if switch while".split(" "),l="true false null".split(" "),v="void bool num int double dynamic var String Null Never".split(" ");function u(e){for(var n={},t=0;t0?(n.tokenize=g(n),null):!1},"/":function(e,n){return e.eat("*")?(n.tokenize=d(1),n.tokenize(e,n)):!1},token:function(e,n,t){if(t=="variable"){var o=RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$","g");if(o.test(e.current()))return"variable-2"}}}});function k(e,n,t,o){var b=!1;if(n.eat(e))if(n.eat(e))b=!0;else return"string";function y(f,h){for(var p=!1;!f.eol();){if(!o&&!p&&f.peek()=="$")return x(h),h.tokenize=S,"string";var w=f.next();if(w==e&&!p&&(!b||f.match(e+e))){h.tokenize=null;break}p=!o&&!p&&w=="\\"}return"string"}return t.tokenize=y,y(n,t)}function S(e,n){return e.eat("$"),e.eat("{")?n.tokenize=null:n.tokenize=_,null}function _(e,n){return e.eatWhile(/[\w_]/),n.tokenize=g(n),"variable"}function d(e){return function(n,t){for(var o;o=n.next();)if(o=="*"&&n.eat("/"))if(e==1){t.tokenize=null;break}else return t.tokenize=d(e-1),t.tokenize(n,t);else if(o=="/"&&n.eat("*"))return t.tokenize=d(e+1),t.tokenize(n,t);return"comment"}}r.registerHelper("hintWords","application/dart",i.concat(l).concat(v)),r.defineMode("dart",function(e){return r.getMode(e,"application/dart")},"clike")})})();var z=O.exports;const A=$(z),W=E({__proto__:null,default:A},[z]);export{W as d}; +import{g as $,c as I}from"./index-rXwcQ1j1.js";import{a as j}from"./clike-DTXsj3bR.js";function E(c,s){for(var r=0;ri[a]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(c,s){(function(r){r(I,j)})(function(r){var i="this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required sealed base interface when".split(" "),a="try catch finally do else for if switch while".split(" "),l="true false null".split(" "),v="void bool num int double dynamic var String Null Never".split(" ");function u(e){for(var n={},t=0;t0?(n.tokenize=g(n),null):!1},"/":function(e,n){return e.eat("*")?(n.tokenize=d(1),n.tokenize(e,n)):!1},token:function(e,n,t){if(t=="variable"){var o=RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$","g");if(o.test(e.current()))return"variable-2"}}}});function k(e,n,t,o){var b=!1;if(n.eat(e))if(n.eat(e))b=!0;else return"string";function y(f,h){for(var p=!1;!f.eol();){if(!o&&!p&&f.peek()=="$")return x(h),h.tokenize=S,"string";var w=f.next();if(w==e&&!p&&(!b||f.match(e+e))){h.tokenize=null;break}p=!o&&!p&&w=="\\"}return"string"}return t.tokenize=y,y(n,t)}function S(e,n){return e.eat("$"),e.eat("{")?n.tokenize=null:n.tokenize=_,null}function _(e,n){return e.eatWhile(/[\w_]/),n.tokenize=g(n),"variable"}function d(e){return function(n,t){for(var o;o=n.next();)if(o=="*"&&n.eat("/"))if(e==1){t.tokenize=null;break}else return t.tokenize=d(e-1),t.tokenize(n,t);else if(o=="/"&&n.eat("*"))return t.tokenize=d(e+1),t.tokenize(n,t);return"comment"}}r.registerHelper("hintWords","application/dart",i.concat(l).concat(v)),r.defineMode("dart",function(e){return r.getMode(e,"application/dart")},"clike")})})();var z=O.exports;const A=$(z),W=E({__proto__:null,default:A},[z]);export{W as d}; diff --git a/dist-ui/assets/diff-DaAejCLY.js b/dist-ui/assets/diff-BvMxvVID.js similarity index 92% rename from dist-ui/assets/diff-DaAejCLY.js rename to dist-ui/assets/diff-BvMxvVID.js index 3a8fb7d1..705c3af5 100644 --- a/dist-ui/assets/diff-DaAejCLY.js +++ b/dist-ui/assets/diff-BvMxvVID.js @@ -1 +1 @@ -import{g as s,c}from"./index-CHg1vBCc.js";function d(n,f){for(var t=0;tr[e]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(n,f){(function(t){t(c)})(function(t){t.defineMode("diff",function(){var r={"+":"positive","-":"negative","@":"meta"};return{token:function(e){var o=e.string.search(/[\t ]+?$/);if(!e.sol()||o===0)return e.skipToEnd(),("error "+(r[e.string.charAt(0)]||"")).replace(/ $/,"");var p=r[e.peek()]||e.skipToEnd();return o===-1?e.skipToEnd():e.pos=o,p}}}),t.defineMIME("text/x-diff","diff")})})();var i=u.exports;const a=s(i),g=d({__proto__:null,default:a},[i]);export{g as d}; +import{g as s,c}from"./index-rXwcQ1j1.js";function d(n,f){for(var t=0;tr[e]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(n,f){(function(t){t(c)})(function(t){t.defineMode("diff",function(){var r={"+":"positive","-":"negative","@":"meta"};return{token:function(e){var o=e.string.search(/[\t ]+?$/);if(!e.sol()||o===0)return e.skipToEnd(),("error "+(r[e.string.charAt(0)]||"")).replace(/ $/,"");var p=r[e.peek()]||e.skipToEnd();return o===-1?e.skipToEnd():e.pos=o,p}}}),t.defineMIME("text/x-diff","diff")})})();var i=u.exports;const a=s(i),g=d({__proto__:null,default:a},[i]);export{g as d}; diff --git a/dist-ui/assets/django-Sjro81jv.js b/dist-ui/assets/django-BysLYoq4.js similarity index 97% rename from dist-ui/assets/django-Sjro81jv.js rename to dist-ui/assets/django-BysLYoq4.js index fa0b2f5d..e8b03931 100644 --- a/dist-ui/assets/django-Sjro81jv.js +++ b/dist-ui/assets/django-BysLYoq4.js @@ -1 +1 @@ -import{g as s,c as y}from"./index-CHg1vBCc.js";import{r as x}from"./htmlmixed-dNmc4jG3.js";import{r as z}from"./overlay-dm0rKfhE.js";function j(f,p){for(var n=0;ni[t]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var P={exports:{}};(function(f,p){(function(n){n(y,x(),z())})(function(n){n.defineMode("django:inner",function(){var i=["block","endblock","for","endfor","true","false","filter","endfilter","loop","none","self","super","if","elif","endif","as","else","import","with","endwith","without","context","ifequal","endifequal","ifnotequal","endifnotequal","extends","include","load","comment","endcomment","empty","url","static","trans","blocktrans","endblocktrans","now","regroup","lorem","ifchanged","endifchanged","firstof","debug","cycle","csrf_token","autoescape","endautoescape","spaceless","endspaceless","ssi","templatetag","verbatim","endverbatim","widthratio"],t=["add","addslashes","capfirst","center","cut","date","default","default_if_none","dictsort","dictsortreversed","divisibleby","escape","escapejs","filesizeformat","first","floatformat","force_escape","get_digit","iriencode","join","last","length","length_is","linebreaks","linebreaksbr","linenumbers","ljust","lower","make_list","phone2numeric","pluralize","pprint","random","removetags","rjust","safe","safeseq","slice","slugify","stringformat","striptags","time","timesince","timeuntil","title","truncatechars","truncatechars_html","truncatewords","truncatewords_html","unordered_list","upper","urlencode","urlize","urlizetrunc","wordcount","wordwrap","yesno"],o=["==","!=","<",">","<=",">="],d=["in","not","or","and"];i=new RegExp("^\\b("+i.join("|")+")\\b"),t=new RegExp("^\\b("+t.join("|")+")\\b"),o=new RegExp("^\\b("+o.join("|")+")\\b"),d=new RegExp("^\\b("+d.join("|")+")\\b");function a(r,e){if(r.match("{{"))return e.tokenize=g,"tag";if(r.match("{%"))return e.tokenize=w,"tag";if(r.match("{#"))return e.tokenize=h,"comment";for(;r.next()!=null&&!r.match(/\{[{%#]/,!1););return null}function c(r,e){return function(l,u){if(!u.escapeNext&&l.eat(r))u.tokenize=e;else{u.escapeNext&&(u.escapeNext=!1);var k=l.next();k=="\\"&&(u.escapeNext=!0)}return"string"}}function g(r,e){if(e.waitDot){if(e.waitDot=!1,r.peek()!=".")return"null";if(r.match(/\.\W+/))return"error";if(r.eat("."))return e.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(e.waitPipe){if(e.waitPipe=!1,r.peek()!="|")return"null";if(r.match(/\.\W+/))return"error";if(r.eat("|"))return e.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}return e.waitProperty&&(e.waitProperty=!1,r.match(/\b(\w+)\b/))?(e.waitDot=!0,e.waitPipe=!0,"property"):e.waitFilter&&(e.waitFilter=!1,r.match(t))?"variable-2":r.eatSpace()?(e.waitProperty=!1,"null"):r.match(/\b\d+(\.\d+)?\b/)?"number":r.match("'")?(e.tokenize=c("'",e.tokenize),"string"):r.match('"')?(e.tokenize=c('"',e.tokenize),"string"):r.match(/\b(\w+)\b/)&&!e.foundVariable?(e.waitDot=!0,e.waitPipe=!0,"variable"):r.match("}}")?(e.waitProperty=null,e.waitFilter=null,e.waitDot=null,e.waitPipe=null,e.tokenize=a,"tag"):(r.next(),"null")}function w(r,e){if(e.waitDot){if(e.waitDot=!1,r.peek()!=".")return"null";if(r.match(/\.\W+/))return"error";if(r.eat("."))return e.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(e.waitPipe){if(e.waitPipe=!1,r.peek()!="|")return"null";if(r.match(/\.\W+/))return"error";if(r.eat("|"))return e.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}if(e.waitProperty&&(e.waitProperty=!1,r.match(/\b(\w+)\b/)))return e.waitDot=!0,e.waitPipe=!0,"property";if(e.waitFilter&&(e.waitFilter=!1,r.match(t)))return"variable-2";if(r.eatSpace())return e.waitProperty=!1,"null";if(r.match(/\b\d+(\.\d+)?\b/))return"number";if(r.match("'"))return e.tokenize=c("'",e.tokenize),"string";if(r.match('"'))return e.tokenize=c('"',e.tokenize),"string";if(r.match(o))return"operator";if(r.match(d))return"keyword";var l=r.match(i);return l?(l[0]=="comment"&&(e.blockCommentTag=!0),"keyword"):r.match(/\b(\w+)\b/)?(e.waitDot=!0,e.waitPipe=!0,"variable"):r.match("%}")?(e.waitProperty=null,e.waitFilter=null,e.waitDot=null,e.waitPipe=null,e.blockCommentTag?(e.blockCommentTag=!1,e.tokenize=b):e.tokenize=a,"tag"):(r.next(),"null")}function h(r,e){return r.match(/^.*?#\}/)?e.tokenize=a:r.skipToEnd(),"comment"}function b(r,e){return r.match(/\{%\s*endcomment\s*%\}/,!1)?(e.tokenize=w,r.match("{%"),"tag"):(r.next(),"comment")}return{startState:function(){return{tokenize:a}},token:function(r,e){return e.tokenize(r,e)},blockCommentStart:"{% comment %}",blockCommentEnd:"{% endcomment %}"}}),n.defineMode("django",function(i){var t=n.getMode(i,"text/html"),o=n.getMode(i,"django:inner");return n.overlayMode(t,o)}),n.defineMIME("text/x-django","django")})})();var m=P.exports;const v=s(m),F=j({__proto__:null,default:v},[m]);export{F as d}; +import{g as s,c as y}from"./index-rXwcQ1j1.js";import{r as x}from"./htmlmixed-BkyqFvnk.js";import{r as z}from"./overlay-DtxTNIBP.js";function j(f,p){for(var n=0;ni[t]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var P={exports:{}};(function(f,p){(function(n){n(y,x(),z())})(function(n){n.defineMode("django:inner",function(){var i=["block","endblock","for","endfor","true","false","filter","endfilter","loop","none","self","super","if","elif","endif","as","else","import","with","endwith","without","context","ifequal","endifequal","ifnotequal","endifnotequal","extends","include","load","comment","endcomment","empty","url","static","trans","blocktrans","endblocktrans","now","regroup","lorem","ifchanged","endifchanged","firstof","debug","cycle","csrf_token","autoescape","endautoescape","spaceless","endspaceless","ssi","templatetag","verbatim","endverbatim","widthratio"],t=["add","addslashes","capfirst","center","cut","date","default","default_if_none","dictsort","dictsortreversed","divisibleby","escape","escapejs","filesizeformat","first","floatformat","force_escape","get_digit","iriencode","join","last","length","length_is","linebreaks","linebreaksbr","linenumbers","ljust","lower","make_list","phone2numeric","pluralize","pprint","random","removetags","rjust","safe","safeseq","slice","slugify","stringformat","striptags","time","timesince","timeuntil","title","truncatechars","truncatechars_html","truncatewords","truncatewords_html","unordered_list","upper","urlencode","urlize","urlizetrunc","wordcount","wordwrap","yesno"],o=["==","!=","<",">","<=",">="],d=["in","not","or","and"];i=new RegExp("^\\b("+i.join("|")+")\\b"),t=new RegExp("^\\b("+t.join("|")+")\\b"),o=new RegExp("^\\b("+o.join("|")+")\\b"),d=new RegExp("^\\b("+d.join("|")+")\\b");function a(r,e){if(r.match("{{"))return e.tokenize=g,"tag";if(r.match("{%"))return e.tokenize=w,"tag";if(r.match("{#"))return e.tokenize=h,"comment";for(;r.next()!=null&&!r.match(/\{[{%#]/,!1););return null}function c(r,e){return function(l,u){if(!u.escapeNext&&l.eat(r))u.tokenize=e;else{u.escapeNext&&(u.escapeNext=!1);var k=l.next();k=="\\"&&(u.escapeNext=!0)}return"string"}}function g(r,e){if(e.waitDot){if(e.waitDot=!1,r.peek()!=".")return"null";if(r.match(/\.\W+/))return"error";if(r.eat("."))return e.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(e.waitPipe){if(e.waitPipe=!1,r.peek()!="|")return"null";if(r.match(/\.\W+/))return"error";if(r.eat("|"))return e.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}return e.waitProperty&&(e.waitProperty=!1,r.match(/\b(\w+)\b/))?(e.waitDot=!0,e.waitPipe=!0,"property"):e.waitFilter&&(e.waitFilter=!1,r.match(t))?"variable-2":r.eatSpace()?(e.waitProperty=!1,"null"):r.match(/\b\d+(\.\d+)?\b/)?"number":r.match("'")?(e.tokenize=c("'",e.tokenize),"string"):r.match('"')?(e.tokenize=c('"',e.tokenize),"string"):r.match(/\b(\w+)\b/)&&!e.foundVariable?(e.waitDot=!0,e.waitPipe=!0,"variable"):r.match("}}")?(e.waitProperty=null,e.waitFilter=null,e.waitDot=null,e.waitPipe=null,e.tokenize=a,"tag"):(r.next(),"null")}function w(r,e){if(e.waitDot){if(e.waitDot=!1,r.peek()!=".")return"null";if(r.match(/\.\W+/))return"error";if(r.eat("."))return e.waitProperty=!0,"null";throw Error("Unexpected error while waiting for property.")}if(e.waitPipe){if(e.waitPipe=!1,r.peek()!="|")return"null";if(r.match(/\.\W+/))return"error";if(r.eat("|"))return e.waitFilter=!0,"null";throw Error("Unexpected error while waiting for filter.")}if(e.waitProperty&&(e.waitProperty=!1,r.match(/\b(\w+)\b/)))return e.waitDot=!0,e.waitPipe=!0,"property";if(e.waitFilter&&(e.waitFilter=!1,r.match(t)))return"variable-2";if(r.eatSpace())return e.waitProperty=!1,"null";if(r.match(/\b\d+(\.\d+)?\b/))return"number";if(r.match("'"))return e.tokenize=c("'",e.tokenize),"string";if(r.match('"'))return e.tokenize=c('"',e.tokenize),"string";if(r.match(o))return"operator";if(r.match(d))return"keyword";var l=r.match(i);return l?(l[0]=="comment"&&(e.blockCommentTag=!0),"keyword"):r.match(/\b(\w+)\b/)?(e.waitDot=!0,e.waitPipe=!0,"variable"):r.match("%}")?(e.waitProperty=null,e.waitFilter=null,e.waitDot=null,e.waitPipe=null,e.blockCommentTag?(e.blockCommentTag=!1,e.tokenize=b):e.tokenize=a,"tag"):(r.next(),"null")}function h(r,e){return r.match(/^.*?#\}/)?e.tokenize=a:r.skipToEnd(),"comment"}function b(r,e){return r.match(/\{%\s*endcomment\s*%\}/,!1)?(e.tokenize=w,r.match("{%"),"tag"):(r.next(),"comment")}return{startState:function(){return{tokenize:a}},token:function(r,e){return e.tokenize(r,e)},blockCommentStart:"{% comment %}",blockCommentEnd:"{% endcomment %}"}}),n.defineMode("django",function(i){var t=n.getMode(i,"text/html"),o=n.getMode(i,"django:inner");return n.overlayMode(t,o)}),n.defineMIME("text/x-django","django")})})();var m=P.exports;const v=s(m),F=j({__proto__:null,default:v},[m]);export{F as d}; diff --git a/dist-ui/assets/dockerfile-DPmpInxY.js b/dist-ui/assets/dockerfile-DHpsbdJo.js similarity index 97% rename from dist-ui/assets/dockerfile-DPmpInxY.js rename to dist-ui/assets/dockerfile-DHpsbdJo.js index a390e4fd..abbc4b9b 100644 --- a/dist-ui/assets/dockerfile-DPmpInxY.js +++ b/dist-ui/assets/dockerfile-DHpsbdJo.js @@ -1 +1 @@ -import{g as d,c as f,b as m}from"./index-CHg1vBCc.js";function y(o,s){for(var e=0;et[r]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var b={exports:{}};(function(o,s){(function(e){e(f,m())})(function(e){var t="from",r=new RegExp("^(\\s*)\\b("+t+")\\b","i"),n=["run","cmd","entrypoint","shell"],u=new RegExp("^(\\s*)("+n.join("|")+")(\\s+\\[)","i"),l="expose",i=new RegExp("^(\\s*)("+l+")(\\s+)","i"),a=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"],k=[t,l].concat(n).concat(a),x="("+k.join("|")+")",c=new RegExp("^(\\s*)"+x+"(\\s*)(#.*)?$","i"),p=new RegExp("^(\\s*)"+x+"(\\s+)","i");e.defineSimpleMode("dockerfile",{start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:r,token:[null,"keyword"],sol:!0,next:"from"},{regex:c,token:[null,"keyword",null,"error"],sol:!0},{regex:u,token:[null,"keyword",null],sol:!0,next:"array"},{regex:i,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:p,token:[null,"keyword",null],sol:!0,next:"arguments"},{regex:/./,token:null}],from:[{regex:/\s*$/,token:null,next:"start"},{regex:/(\s*)(#.*)$/,token:[null,"error"],next:"start"},{regex:/(\s*\S+\s+)(as)/i,token:[null,"keyword"],next:"start"},{token:null,next:"start"}],single:[{regex:/(?:[^\\']|\\.)/,token:"string"},{regex:/'/,token:"string",pop:!0}],double:[{regex:/(?:[^\\"]|\\.)/,token:"string"},{regex:/"/,token:"string",pop:!0}],array:[{regex:/\]/,token:null,next:"start"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"}],expose:[{regex:/\d+$/,token:"number",next:"start"},{regex:/[^\d]+$/,token:null,next:"start"},{regex:/\d+/,token:"number"},{regex:/[^\d]+/,token:null},{token:null,next:"start"}],arguments:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:/"(?:[^\\"]|\\.)*"?$/,token:"string",next:"start"},{regex:/"/,token:"string",push:"double"},{regex:/'(?:[^\\']|\\.)*'?$/,token:"string",next:"start"},{regex:/'/,token:"string",push:"single"},{regex:/[^#"']+[\\`]$/,token:null},{regex:/[^#"']+$/,token:null,next:"start"},{regex:/[^#"']+/,token:null},{token:null,next:"start"}],meta:{lineComment:"#"}}),e.defineMIME("text/x-dockerfile","dockerfile")})})();var g=b.exports;const v=d(g),$=y({__proto__:null,default:v},[g]);export{$ as d}; +import{g as d,c as f,b as m}from"./index-rXwcQ1j1.js";function y(o,s){for(var e=0;et[r]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var b={exports:{}};(function(o,s){(function(e){e(f,m())})(function(e){var t="from",r=new RegExp("^(\\s*)\\b("+t+")\\b","i"),n=["run","cmd","entrypoint","shell"],u=new RegExp("^(\\s*)("+n.join("|")+")(\\s+\\[)","i"),l="expose",i=new RegExp("^(\\s*)("+l+")(\\s+)","i"),a=["arg","from","maintainer","label","env","add","copy","volume","user","workdir","onbuild","stopsignal","healthcheck","shell"],k=[t,l].concat(n).concat(a),x="("+k.join("|")+")",c=new RegExp("^(\\s*)"+x+"(\\s*)(#.*)?$","i"),p=new RegExp("^(\\s*)"+x+"(\\s+)","i");e.defineSimpleMode("dockerfile",{start:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:r,token:[null,"keyword"],sol:!0,next:"from"},{regex:c,token:[null,"keyword",null,"error"],sol:!0},{regex:u,token:[null,"keyword",null],sol:!0,next:"array"},{regex:i,token:[null,"keyword",null],sol:!0,next:"expose"},{regex:p,token:[null,"keyword",null],sol:!0,next:"arguments"},{regex:/./,token:null}],from:[{regex:/\s*$/,token:null,next:"start"},{regex:/(\s*)(#.*)$/,token:[null,"error"],next:"start"},{regex:/(\s*\S+\s+)(as)/i,token:[null,"keyword"],next:"start"},{token:null,next:"start"}],single:[{regex:/(?:[^\\']|\\.)/,token:"string"},{regex:/'/,token:"string",pop:!0}],double:[{regex:/(?:[^\\"]|\\.)/,token:"string"},{regex:/"/,token:"string",pop:!0}],array:[{regex:/\]/,token:null,next:"start"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"}],expose:[{regex:/\d+$/,token:"number",next:"start"},{regex:/[^\d]+$/,token:null,next:"start"},{regex:/\d+/,token:"number"},{regex:/[^\d]+/,token:null},{token:null,next:"start"}],arguments:[{regex:/^\s*#.*$/,sol:!0,token:"comment"},{regex:/"(?:[^\\"]|\\.)*"?$/,token:"string",next:"start"},{regex:/"/,token:"string",push:"double"},{regex:/'(?:[^\\']|\\.)*'?$/,token:"string",next:"start"},{regex:/'/,token:"string",push:"single"},{regex:/[^#"']+[\\`]$/,token:null},{regex:/[^#"']+$/,token:null,next:"start"},{regex:/[^#"']+/,token:null},{token:null,next:"start"}],meta:{lineComment:"#"}}),e.defineMIME("text/x-dockerfile","dockerfile")})})();var g=b.exports;const v=d(g),$=y({__proto__:null,default:v},[g]);export{$ as d}; diff --git a/dist-ui/assets/dtd-ow_clEEc.js b/dist-ui/assets/dtd-Bn_CyHBm.js similarity index 97% rename from dist-ui/assets/dtd-ow_clEEc.js rename to dist-ui/assets/dtd-Bn_CyHBm.js index 64c16faa..b2646aa9 100644 --- a/dist-ui/assets/dtd-ow_clEEc.js +++ b/dist-ui/assets/dtd-Bn_CyHBm.js @@ -1 +1 @@ -import{g as b,c as v}from"./index-CHg1vBCc.js";function y(f,d){for(var o=0;ou[c]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(f,d){(function(o){o(v)})(function(o){o.defineMode("dtd",function(u){var c=u.indentUnit,r;function l(i,e){return r=e,i}function a(i,e){var n=i.next();if(n=="<"&&i.eat("!")){if(i.eatWhile(/[\-]/))return e.tokenize=k,k(i,e);if(i.eatWhile(/[\w]/))return l("keyword","doindent")}else{if(n=="<"&&i.eat("?"))return e.tokenize=p("meta","?>"),l("meta",n);if(n=="#"&&i.eatWhile(/[\w]/))return l("atom","tag");if(n=="|")return l("keyword","separator");if(n.match(/[\(\)\[\]\-\.,\+\?>]/))return l(null,n);if(n.match(/[\[\]]/))return l("rule",n);if(n=='"'||n=="'")return e.tokenize=h(n),e.tokenize(i,e);if(i.eatWhile(/[a-zA-Z\?\+\d]/)){var t=i.current();return t.substr(t.length-1,t.length).match(/\?|\+/)!==null&&i.backUp(1),l("tag","tag")}else return n=="%"||n=="*"?l("number","number"):(i.eatWhile(/[\w\\\-_%.{,]/),l(null,null))}}function k(i,e){for(var n=0,t;(t=i.next())!=null;){if(n>=2&&t==">"){e.tokenize=a;break}n=t=="-"?n+1:0}return l("comment","comment")}function h(i){return function(e,n){for(var t=!1,s;(s=e.next())!=null;){if(s==i&&!t){n.tokenize=a;break}t=!t&&s=="\\"}return l("string","tag")}}function p(i,e){return function(n,t){for(;!n.eol();){if(n.match(e)){t.tokenize=a;break}n.next()}return i}}return{startState:function(i){return{tokenize:a,baseIndent:i||0,stack:[]}},token:function(i,e){if(i.eatSpace())return null;var n=e.tokenize(i,e),t=e.stack[e.stack.length-1];return i.current()=="["||r==="doindent"||r=="["?e.stack.push("rule"):r==="endtag"?e.stack[e.stack.length-1]="endtag":i.current()=="]"||r=="]"||r==">"&&t=="rule"?e.stack.pop():r=="["&&e.stack.push("["),n},indent:function(i,e){var n=i.stack.length;return e.charAt(0)==="]"?n--:e.substr(e.length-1,e.length)===">"&&(e.substr(0,1)==="<"||r=="doindent"&&e.length>1||(r=="doindent"?n--:r==">"&&e.length>1||r=="tag"&&e!==">"||(r=="tag"&&i.stack[i.stack.length-1]=="rule"?n--:r=="tag"?n++:e===">"&&i.stack[i.stack.length-1]=="rule"&&r===">"?n--:e===">"&&i.stack[i.stack.length-1]=="rule"||(e.substr(0,1)!=="<"&&e.substr(0,1)===">"?n=n-1:e===">"||(n=n-1)))),(r==null||r=="]")&&n--),i.baseIndent+n*c},electricChars:"]>"}}),o.defineMIME("application/xml-dtd","dtd")})})();var g=z.exports;const w=b(g),S=y({__proto__:null,default:w},[g]);export{S as d}; +import{g as b,c as v}from"./index-rXwcQ1j1.js";function y(f,d){for(var o=0;ou[c]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(f,d){(function(o){o(v)})(function(o){o.defineMode("dtd",function(u){var c=u.indentUnit,r;function l(i,e){return r=e,i}function a(i,e){var n=i.next();if(n=="<"&&i.eat("!")){if(i.eatWhile(/[\-]/))return e.tokenize=k,k(i,e);if(i.eatWhile(/[\w]/))return l("keyword","doindent")}else{if(n=="<"&&i.eat("?"))return e.tokenize=p("meta","?>"),l("meta",n);if(n=="#"&&i.eatWhile(/[\w]/))return l("atom","tag");if(n=="|")return l("keyword","separator");if(n.match(/[\(\)\[\]\-\.,\+\?>]/))return l(null,n);if(n.match(/[\[\]]/))return l("rule",n);if(n=='"'||n=="'")return e.tokenize=h(n),e.tokenize(i,e);if(i.eatWhile(/[a-zA-Z\?\+\d]/)){var t=i.current();return t.substr(t.length-1,t.length).match(/\?|\+/)!==null&&i.backUp(1),l("tag","tag")}else return n=="%"||n=="*"?l("number","number"):(i.eatWhile(/[\w\\\-_%.{,]/),l(null,null))}}function k(i,e){for(var n=0,t;(t=i.next())!=null;){if(n>=2&&t==">"){e.tokenize=a;break}n=t=="-"?n+1:0}return l("comment","comment")}function h(i){return function(e,n){for(var t=!1,s;(s=e.next())!=null;){if(s==i&&!t){n.tokenize=a;break}t=!t&&s=="\\"}return l("string","tag")}}function p(i,e){return function(n,t){for(;!n.eol();){if(n.match(e)){t.tokenize=a;break}n.next()}return i}}return{startState:function(i){return{tokenize:a,baseIndent:i||0,stack:[]}},token:function(i,e){if(i.eatSpace())return null;var n=e.tokenize(i,e),t=e.stack[e.stack.length-1];return i.current()=="["||r==="doindent"||r=="["?e.stack.push("rule"):r==="endtag"?e.stack[e.stack.length-1]="endtag":i.current()=="]"||r=="]"||r==">"&&t=="rule"?e.stack.pop():r=="["&&e.stack.push("["),n},indent:function(i,e){var n=i.stack.length;return e.charAt(0)==="]"?n--:e.substr(e.length-1,e.length)===">"&&(e.substr(0,1)==="<"||r=="doindent"&&e.length>1||(r=="doindent"?n--:r==">"&&e.length>1||r=="tag"&&e!==">"||(r=="tag"&&i.stack[i.stack.length-1]=="rule"?n--:r=="tag"?n++:e===">"&&i.stack[i.stack.length-1]=="rule"&&r===">"?n--:e===">"&&i.stack[i.stack.length-1]=="rule"||(e.substr(0,1)!=="<"&&e.substr(0,1)===">"?n=n-1:e===">"||(n=n-1)))),(r==null||r=="]")&&n--),i.baseIndent+n*c},electricChars:"]>"}}),o.defineMIME("application/xml-dtd","dtd")})})();var g=z.exports;const w=b(g),S=y({__proto__:null,default:w},[g]);export{S as d}; diff --git a/dist-ui/assets/dylan-BVfhrTWK.js b/dist-ui/assets/dylan-BcKt62m8.js similarity index 98% rename from dist-ui/assets/dylan-BVfhrTWK.js rename to dist-ui/assets/dylan-BcKt62m8.js index 0fdaad0c..2cf47305 100644 --- a/dist-ui/assets/dylan-BVfhrTWK.js +++ b/dist-ui/assets/dylan-BcKt62m8.js @@ -1 +1 @@ -import{g as S,c as E}from"./index-CHg1vBCc.js";function O(b,y){for(var f=0;fu[s]})}}}return Object.freeze(Object.defineProperty(b,Symbol.toStringTag,{value:"Module"}))}var _={exports:{}};(function(b,y){(function(f){f(E)})(function(f){function u(a,t){for(var r=0;r",symbolGlobal:"\\*"+r+"\\*",symbolConstant:"\\$"+r},z={symbolKeyword:"atom",symbolClass:"tag",symbolGlobal:"variable-2",symbolConstant:"variable-3"};for(var h in c)c.hasOwnProperty(h)&&(c[h]=new RegExp("^"+c[h]));c.keyword=[/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];var p={};p.keyword="keyword",p.definition="def",p.simpleDefinition="def",p.signalingCalls="builtin";var v={},g={};u(["keyword","definition","simpleDefinition","signalingCalls"],function(e){u(t[e],function(i){v[i]=e,g[i]=p[e]})});function x(e,i,n){return i.tokenize=n,n(e,i)}function k(e,i){var n=e.peek();if(n=="'"||n=='"')return e.next(),x(e,i,m(n,"string"));if(n=="/"){if(e.next(),e.eat("*"))return x(e,i,P);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}else if(/[+\-\d\.]/.test(n)){if(e.match(/^[+-]?[0-9]*\.[0-9]*([esdx][+-]?[0-9]+)?/i)||e.match(/^[+-]?[0-9]+([esdx][+-]?[0-9]+)/i)||e.match(/^[+-]?\d+/))return"number"}else{if(n=="#")return e.next(),n=e.peek(),n=='"'?(e.next(),x(e,i,m('"',"string"))):n=="b"?(e.next(),e.eatWhile(/[01]/),"number"):n=="x"?(e.next(),e.eatWhile(/[\da-f]/i),"number"):n=="o"?(e.next(),e.eatWhile(/[0-7]/),"number"):n=="#"?(e.next(),"punctuation"):n=="["||n=="("?(e.next(),"bracket"):e.match(/f|t|all-keys|include|key|next|rest/i)?"atom":(e.eatWhile(/[-a-zA-Z]/),"error");if(n=="~")return e.next(),n=e.peek(),n=="="?(e.next(),n=e.peek(),n=="="&&e.next(),"operator"):"operator";if(n==":"){if(e.next(),n=e.peek(),n=="=")return e.next(),"operator";if(n==":")return e.next(),"punctuation"}else{if("[](){}".indexOf(n)!=-1)return e.next(),"bracket";if(".,".indexOf(n)!=-1)return e.next(),"punctuation";if(e.match("end"))return"keyword"}}for(var d in c)if(c.hasOwnProperty(d)){var o=c[d];if(o instanceof Array&&s(o,function(l){return e.match(l)})||e.match(o))return z[d]}return/[+\-*\/^=<>&|]/.test(n)?(e.next(),"operator"):e.match("define")?"def":(e.eatWhile(/[\w\-]/),v.hasOwnProperty(e.current())?g[e.current()]:e.current().match(C)?"variable":(e.next(),"variable-2"))}function P(e,i){for(var n=!1,d=!1,o=0,l;l=e.next();){if(l=="/"&&n)if(o>0)o--;else{i.tokenize=k;break}else l=="*"&&d&&o++;n=l=="*",d=l=="/"}return"comment"}function m(e,i){return function(n,d){for(var o=!1,l,w=!1;(l=n.next())!=null;){if(l==e&&!o){w=!0;break}o=!o&&l=="\\"}return(w||!o)&&(d.tokenize=k),i}}return{startState:function(){return{tokenize:k,currentIndent:0}},token:function(e,i){if(e.eatSpace())return null;var n=i.tokenize(e,i);return n},blockCommentStart:"/*",blockCommentEnd:"*/"}}),f.defineMIME("text/x-dylan","dylan")})})();var D=_.exports;const A=S(D),W=O({__proto__:null,default:A},[D]);export{W as d}; +import{g as S,c as E}from"./index-rXwcQ1j1.js";function O(b,y){for(var f=0;fu[s]})}}}return Object.freeze(Object.defineProperty(b,Symbol.toStringTag,{value:"Module"}))}var _={exports:{}};(function(b,y){(function(f){f(E)})(function(f){function u(a,t){for(var r=0;r",symbolGlobal:"\\*"+r+"\\*",symbolConstant:"\\$"+r},z={symbolKeyword:"atom",symbolClass:"tag",symbolGlobal:"variable-2",symbolConstant:"variable-3"};for(var h in c)c.hasOwnProperty(h)&&(c[h]=new RegExp("^"+c[h]));c.keyword=[/^with(?:out)?-[-_a-zA-Z?!*@<>$%]+/];var p={};p.keyword="keyword",p.definition="def",p.simpleDefinition="def",p.signalingCalls="builtin";var v={},g={};u(["keyword","definition","simpleDefinition","signalingCalls"],function(e){u(t[e],function(i){v[i]=e,g[i]=p[e]})});function x(e,i,n){return i.tokenize=n,n(e,i)}function k(e,i){var n=e.peek();if(n=="'"||n=='"')return e.next(),x(e,i,m(n,"string"));if(n=="/"){if(e.next(),e.eat("*"))return x(e,i,P);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}else if(/[+\-\d\.]/.test(n)){if(e.match(/^[+-]?[0-9]*\.[0-9]*([esdx][+-]?[0-9]+)?/i)||e.match(/^[+-]?[0-9]+([esdx][+-]?[0-9]+)/i)||e.match(/^[+-]?\d+/))return"number"}else{if(n=="#")return e.next(),n=e.peek(),n=='"'?(e.next(),x(e,i,m('"',"string"))):n=="b"?(e.next(),e.eatWhile(/[01]/),"number"):n=="x"?(e.next(),e.eatWhile(/[\da-f]/i),"number"):n=="o"?(e.next(),e.eatWhile(/[0-7]/),"number"):n=="#"?(e.next(),"punctuation"):n=="["||n=="("?(e.next(),"bracket"):e.match(/f|t|all-keys|include|key|next|rest/i)?"atom":(e.eatWhile(/[-a-zA-Z]/),"error");if(n=="~")return e.next(),n=e.peek(),n=="="?(e.next(),n=e.peek(),n=="="&&e.next(),"operator"):"operator";if(n==":"){if(e.next(),n=e.peek(),n=="=")return e.next(),"operator";if(n==":")return e.next(),"punctuation"}else{if("[](){}".indexOf(n)!=-1)return e.next(),"bracket";if(".,".indexOf(n)!=-1)return e.next(),"punctuation";if(e.match("end"))return"keyword"}}for(var d in c)if(c.hasOwnProperty(d)){var o=c[d];if(o instanceof Array&&s(o,function(l){return e.match(l)})||e.match(o))return z[d]}return/[+\-*\/^=<>&|]/.test(n)?(e.next(),"operator"):e.match("define")?"def":(e.eatWhile(/[\w\-]/),v.hasOwnProperty(e.current())?g[e.current()]:e.current().match(C)?"variable":(e.next(),"variable-2"))}function P(e,i){for(var n=!1,d=!1,o=0,l;l=e.next();){if(l=="/"&&n)if(o>0)o--;else{i.tokenize=k;break}else l=="*"&&d&&o++;n=l=="*",d=l=="/"}return"comment"}function m(e,i){return function(n,d){for(var o=!1,l,w=!1;(l=n.next())!=null;){if(l==e&&!o){w=!0;break}o=!o&&l=="\\"}return(w||!o)&&(d.tokenize=k),i}}return{startState:function(){return{tokenize:k,currentIndent:0}},token:function(e,i){if(e.eatSpace())return null;var n=i.tokenize(e,i);return n},blockCommentStart:"/*",blockCommentEnd:"*/"}}),f.defineMIME("text/x-dylan","dylan")})})();var D=_.exports;const A=S(D),W=O({__proto__:null,default:A},[D]);export{W as d}; diff --git a/dist-ui/assets/ebnf-B9M224A_.js b/dist-ui/assets/ebnf-B_0Uc901.js similarity index 97% rename from dist-ui/assets/ebnf-B9M224A_.js rename to dist-ui/assets/ebnf-B_0Uc901.js index 07dd8830..5b077a54 100644 --- a/dist-ui/assets/ebnf-B9M224A_.js +++ b/dist-ui/assets/ebnf-B_0Uc901.js @@ -1 +1 @@ -import{g as b,c as k}from"./index-CHg1vBCc.js";function d(f,u){for(var r=0;ri[t]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(f,u){(function(r){r(k)})(function(r){r.defineMode("ebnf",function(i){var t={slash:0,parenthesis:1},c={comment:0,_string:1,characterClass:2},l=null;return i.bracesMode&&(l=r.getMode(i,i.bracesMode)),{startState:function(){return{stringType:null,commentType:null,braced:0,lhs:!0,localState:null,stack:[],inDefinition:!1}},token:function(e,n){if(e){switch(n.stack.length===0&&(e.peek()=='"'||e.peek()=="'"?(n.stringType=e.peek(),e.next(),n.stack.unshift(c._string)):e.match("/*")?(n.stack.unshift(c.comment),n.commentType=t.slash):e.match("(*")&&(n.stack.unshift(c.comment),n.commentType=t.parenthesis)),n.stack[0]){case c._string:for(;n.stack[0]===c._string&&!e.eol();)e.peek()===n.stringType?(e.next(),n.stack.shift()):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return n.lhs?"property string":"string";case c.comment:for(;n.stack[0]===c.comment&&!e.eol();)n.commentType===t.slash&&e.match("*/")||n.commentType===t.parenthesis&&e.match("*)")?(n.stack.shift(),n.commentType=null):e.match(/^.[^\*]*/);return"comment";case c.characterClass:for(;n.stack[0]===c.characterClass&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(".")||n.stack.shift();return"operator"}var h=e.peek();if(l!==null&&(n.braced||h==="{")){n.localState===null&&(n.localState=r.startState(l));var a=l.token(e,n.localState),p=e.current();if(!a)for(var o=0;o>/))return"builtin"}return e.match("//")?(e.skipToEnd(),"comment"):e.match("return")?"operator":e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)?e.match(/(?=[\(.])/)?"variable":e.match(/(?=[\s\n]*[:=])/)?"def":"variable-2":["[","]","(",")"].indexOf(e.peek())!=-1?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}),r.defineMIME("text/x-ebnf","ebnf")})})();var s=g.exports;const y=b(s),x=d({__proto__:null,default:y},[s]);export{x as e}; +import{g as b,c as k}from"./index-rXwcQ1j1.js";function d(f,u){for(var r=0;ri[t]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(f,u){(function(r){r(k)})(function(r){r.defineMode("ebnf",function(i){var t={slash:0,parenthesis:1},c={comment:0,_string:1,characterClass:2},l=null;return i.bracesMode&&(l=r.getMode(i,i.bracesMode)),{startState:function(){return{stringType:null,commentType:null,braced:0,lhs:!0,localState:null,stack:[],inDefinition:!1}},token:function(e,n){if(e){switch(n.stack.length===0&&(e.peek()=='"'||e.peek()=="'"?(n.stringType=e.peek(),e.next(),n.stack.unshift(c._string)):e.match("/*")?(n.stack.unshift(c.comment),n.commentType=t.slash):e.match("(*")&&(n.stack.unshift(c.comment),n.commentType=t.parenthesis)),n.stack[0]){case c._string:for(;n.stack[0]===c._string&&!e.eol();)e.peek()===n.stringType?(e.next(),n.stack.shift()):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return n.lhs?"property string":"string";case c.comment:for(;n.stack[0]===c.comment&&!e.eol();)n.commentType===t.slash&&e.match("*/")||n.commentType===t.parenthesis&&e.match("*)")?(n.stack.shift(),n.commentType=null):e.match(/^.[^\*]*/);return"comment";case c.characterClass:for(;n.stack[0]===c.characterClass&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(".")||n.stack.shift();return"operator"}var h=e.peek();if(l!==null&&(n.braced||h==="{")){n.localState===null&&(n.localState=r.startState(l));var a=l.token(e,n.localState),p=e.current();if(!a)for(var o=0;o>/))return"builtin"}return e.match("//")?(e.skipToEnd(),"comment"):e.match("return")?"operator":e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)?e.match(/(?=[\(.])/)?"variable":e.match(/(?=[\s\n]*[:=])/)?"def":"variable-2":["[","]","(",")"].indexOf(e.peek())!=-1?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}),r.defineMIME("text/x-ebnf","ebnf")})})();var s=g.exports;const y=b(s),x=d({__proto__:null,default:y},[s]);export{x as e}; diff --git a/dist-ui/assets/ecl-B5meh9gw.js b/dist-ui/assets/ecl-ThHHYZiK.js similarity index 98% rename from dist-ui/assets/ecl-B5meh9gw.js rename to dist-ui/assets/ecl-ThHHYZiK.js index 3abe3db1..6c43378a 100644 --- a/dist-ui/assets/ecl-B5meh9gw.js +++ b/dist-ui/assets/ecl-ThHHYZiK.js @@ -1 +1 @@ -import{g as L,c as S}from"./index-CHg1vBCc.js";function P(d,v){for(var c=0;cs[a]})}}}return Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(d,v){(function(c){c(S)})(function(c){c.defineMode("ecl",function(s){function a(n){for(var t={},e=n.split(" "),r=0;r!?|\/]/,i;function m(n,t){var e=n.next();if(g[e]){var r=g[e](n,t);if(r!==!1)return r}if(e=='"'||e=="'")return t.tokenize=q(e),t.tokenize(n,t);if(/[\[\]{}\(\),;\:\.]/.test(e))return i=e,null;if(/\d/.test(e))return n.eatWhile(/[\w\.]/),"number";if(e=="/"){if(n.eat("*"))return t.tokenize=w,w(n,t);if(n.eat("/"))return n.skipToEnd(),"comment"}if(x.test(e))return n.eatWhile(x),"operator";n.eatWhile(/[\w\$_]/);var o=n.current().toLowerCase();if(I.propertyIsEnumerable(o))return u.propertyIsEnumerable(o)&&(i="newstatement"),"keyword";if(_.propertyIsEnumerable(o))return u.propertyIsEnumerable(o)&&(i="newstatement"),"variable";if(j.propertyIsEnumerable(o))return u.propertyIsEnumerable(o)&&(i="newstatement"),"variable-2";if(b.propertyIsEnumerable(o))return u.propertyIsEnumerable(o)&&(i="newstatement"),"variable-3";if(O.propertyIsEnumerable(o))return u.propertyIsEnumerable(o)&&(i="newstatement"),"builtin";for(var l=o.length-1;l>=0&&(!isNaN(o[l])||o[l]=="_");)--l;if(l>0){var E=o.substr(0,l+1);if(b.propertyIsEnumerable(E))return u.propertyIsEnumerable(E)&&(i="newstatement"),"variable-3"}return C.propertyIsEnumerable(o)?"atom":null}function q(n){return function(t,e){for(var r=!1,o,l=!1;(o=t.next())!=null;){if(o==n&&!r){l=!0;break}r=!r&&o=="\\"}return(l||!r)&&(e.tokenize=m),"string"}}function w(n,t){for(var e=!1,r;r=n.next();){if(r=="/"&&e){t.tokenize=m;break}e=r=="*"}return"comment"}function k(n,t,e,r,o){this.indented=n,this.column=t,this.type=e,this.align=r,this.prev=o}function h(n,t,e){return n.context=new k(n.indented,t,e,null,n.context)}function p(n){var t=n.context.type;return(t==")"||t=="]"||t=="}")&&(n.indented=n.context.indented),n.context=n.context.prev}return{startState:function(n){return{tokenize:null,context:new k((n||0)-y,0,"top",!1),indented:0,startOfLine:!0}},token:function(n,t){var e=t.context;if(n.sol()&&(e.align==null&&(e.align=!1),t.indented=n.indentation(),t.startOfLine=!0),n.eatSpace())return null;i=null;var r=(t.tokenize||m)(n,t);if(r=="comment"||r=="meta")return r;if(e.align==null&&(e.align=!0),(i==";"||i==":")&&e.type=="statement")p(t);else if(i=="{")h(t,n.column(),"}");else if(i=="[")h(t,n.column(),"]");else if(i=="(")h(t,n.column(),")");else if(i=="}"){for(;e.type=="statement";)e=p(t);for(e.type=="}"&&(e=p(t));e.type=="statement";)e=p(t)}else i==e.type?p(t):(e.type=="}"||e.type=="top"||e.type=="statement"&&i=="newstatement")&&h(t,n.column(),"statement");return t.startOfLine=!1,r},indent:function(n,t){if(n.tokenize!=m&&n.tokenize!=null)return 0;var e=n.context,r=t&&t.charAt(0);e.type=="statement"&&r=="}"&&(e=e.prev);var o=r==e.type;return e.type=="statement"?e.indented+(r=="{"?0:y):e.align?e.column+(o?0:1):e.indented+(o?0:y)},electricChars:"{}"}}),c.defineMIME("text/x-ecl","ecl")})})();var z=M.exports;const N=L(z),W=P({__proto__:null,default:N},[z]);export{W as e}; +import{g as L,c as S}from"./index-rXwcQ1j1.js";function P(d,v){for(var c=0;cs[a]})}}}return Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(d,v){(function(c){c(S)})(function(c){c.defineMode("ecl",function(s){function a(n){for(var t={},e=n.split(" "),r=0;r!?|\/]/,i;function m(n,t){var e=n.next();if(g[e]){var r=g[e](n,t);if(r!==!1)return r}if(e=='"'||e=="'")return t.tokenize=q(e),t.tokenize(n,t);if(/[\[\]{}\(\),;\:\.]/.test(e))return i=e,null;if(/\d/.test(e))return n.eatWhile(/[\w\.]/),"number";if(e=="/"){if(n.eat("*"))return t.tokenize=w,w(n,t);if(n.eat("/"))return n.skipToEnd(),"comment"}if(x.test(e))return n.eatWhile(x),"operator";n.eatWhile(/[\w\$_]/);var o=n.current().toLowerCase();if(I.propertyIsEnumerable(o))return u.propertyIsEnumerable(o)&&(i="newstatement"),"keyword";if(_.propertyIsEnumerable(o))return u.propertyIsEnumerable(o)&&(i="newstatement"),"variable";if(j.propertyIsEnumerable(o))return u.propertyIsEnumerable(o)&&(i="newstatement"),"variable-2";if(b.propertyIsEnumerable(o))return u.propertyIsEnumerable(o)&&(i="newstatement"),"variable-3";if(O.propertyIsEnumerable(o))return u.propertyIsEnumerable(o)&&(i="newstatement"),"builtin";for(var l=o.length-1;l>=0&&(!isNaN(o[l])||o[l]=="_");)--l;if(l>0){var E=o.substr(0,l+1);if(b.propertyIsEnumerable(E))return u.propertyIsEnumerable(E)&&(i="newstatement"),"variable-3"}return C.propertyIsEnumerable(o)?"atom":null}function q(n){return function(t,e){for(var r=!1,o,l=!1;(o=t.next())!=null;){if(o==n&&!r){l=!0;break}r=!r&&o=="\\"}return(l||!r)&&(e.tokenize=m),"string"}}function w(n,t){for(var e=!1,r;r=n.next();){if(r=="/"&&e){t.tokenize=m;break}e=r=="*"}return"comment"}function k(n,t,e,r,o){this.indented=n,this.column=t,this.type=e,this.align=r,this.prev=o}function h(n,t,e){return n.context=new k(n.indented,t,e,null,n.context)}function p(n){var t=n.context.type;return(t==")"||t=="]"||t=="}")&&(n.indented=n.context.indented),n.context=n.context.prev}return{startState:function(n){return{tokenize:null,context:new k((n||0)-y,0,"top",!1),indented:0,startOfLine:!0}},token:function(n,t){var e=t.context;if(n.sol()&&(e.align==null&&(e.align=!1),t.indented=n.indentation(),t.startOfLine=!0),n.eatSpace())return null;i=null;var r=(t.tokenize||m)(n,t);if(r=="comment"||r=="meta")return r;if(e.align==null&&(e.align=!0),(i==";"||i==":")&&e.type=="statement")p(t);else if(i=="{")h(t,n.column(),"}");else if(i=="[")h(t,n.column(),"]");else if(i=="(")h(t,n.column(),")");else if(i=="}"){for(;e.type=="statement";)e=p(t);for(e.type=="}"&&(e=p(t));e.type=="statement";)e=p(t)}else i==e.type?p(t):(e.type=="}"||e.type=="top"||e.type=="statement"&&i=="newstatement")&&h(t,n.column(),"statement");return t.startOfLine=!1,r},indent:function(n,t){if(n.tokenize!=m&&n.tokenize!=null)return 0;var e=n.context,r=t&&t.charAt(0);e.type=="statement"&&r=="}"&&(e=e.prev);var o=r==e.type;return e.type=="statement"?e.indented+(r=="{"?0:y):e.align?e.column+(o?0:1):e.indented+(o?0:y)},electricChars:"{}"}}),c.defineMIME("text/x-ecl","ecl")})})();var z=M.exports;const N=L(z),W=P({__proto__:null,default:N},[z]);export{W as e}; diff --git a/dist-ui/assets/eiffel-DD7t-ryp.js b/dist-ui/assets/eiffel-aG3JCqy2.js similarity index 97% rename from dist-ui/assets/eiffel-DD7t-ryp.js rename to dist-ui/assets/eiffel-aG3JCqy2.js index bfbf2d42..5c120ab6 100644 --- a/dist-ui/assets/eiffel-DD7t-ryp.js +++ b/dist-ui/assets/eiffel-aG3JCqy2.js @@ -1 +1 @@ -import{g as h,c as v}from"./index-CHg1vBCc.js";function k(f,l){for(var i=0;io[u]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(f,l){(function(i){i(v)})(function(i){i.defineMode("eiffel",function(){function o(e){for(var r={},t=0,n=e.length;t>"]);function d(e,r,t){return t.tokenize.push(e),e(r,t)}function g(e,r){if(e.eatSpace())return null;var t=e.next();return t=='"'||t=="'"?d(b(t,"string"),e,r):t=="-"&&e.eat("-")?(e.skipToEnd(),"comment"):t==":"&&e.eat("=")?"operator":/[0-9]/.test(t)?(e.eatWhile(/[xXbBCc0-9\.]/),e.eat(/[\?\!]/),"ident"):/[a-zA-Z_0-9]/.test(t)?(e.eatWhile(/[a-zA-Z_0-9]/),e.eat(/[\?\!]/),"ident"):/[=+\-\/*^%<>~]/.test(t)?(e.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}function b(e,r,t){return function(n,x){for(var c=!1,s;(s=n.next())!=null;){if(s==e&&(t||!c)){x.tokenize.pop();break}c=!c&&s=="%"}return r}}return{startState:function(){return{tokenize:[g]}},token:function(e,r){var t=r.tokenize[r.tokenize.length-1](e,r);if(t=="ident"){var n=e.current();t=u.propertyIsEnumerable(e.current())?"keyword":a.propertyIsEnumerable(e.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(n)?"tag":/^0[bB][0-1]+$/g.test(n)||/^0[cC][0-7]+$/g.test(n)||/^0[xX][a-fA-F0-9]+$/g.test(n)||/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(n)||/^[0-9]+$/g.test(n)?"number":"variable"}return t},lineComment:"--"}}),i.defineMIME("text/x-eiffel","eiffel")})})();var p=y.exports;const m=h(p),_=k({__proto__:null,default:m},[p]);export{_ as e}; +import{g as h,c as v}from"./index-rXwcQ1j1.js";function k(f,l){for(var i=0;io[u]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(f,l){(function(i){i(v)})(function(i){i.defineMode("eiffel",function(){function o(e){for(var r={},t=0,n=e.length;t>"]);function d(e,r,t){return t.tokenize.push(e),e(r,t)}function g(e,r){if(e.eatSpace())return null;var t=e.next();return t=='"'||t=="'"?d(b(t,"string"),e,r):t=="-"&&e.eat("-")?(e.skipToEnd(),"comment"):t==":"&&e.eat("=")?"operator":/[0-9]/.test(t)?(e.eatWhile(/[xXbBCc0-9\.]/),e.eat(/[\?\!]/),"ident"):/[a-zA-Z_0-9]/.test(t)?(e.eatWhile(/[a-zA-Z_0-9]/),e.eat(/[\?\!]/),"ident"):/[=+\-\/*^%<>~]/.test(t)?(e.eatWhile(/[=+\-\/*^%<>~]/),"operator"):null}function b(e,r,t){return function(n,x){for(var c=!1,s;(s=n.next())!=null;){if(s==e&&(t||!c)){x.tokenize.pop();break}c=!c&&s=="%"}return r}}return{startState:function(){return{tokenize:[g]}},token:function(e,r){var t=r.tokenize[r.tokenize.length-1](e,r);if(t=="ident"){var n=e.current();t=u.propertyIsEnumerable(e.current())?"keyword":a.propertyIsEnumerable(e.current())?"operator":/^[A-Z][A-Z_0-9]*$/g.test(n)?"tag":/^0[bB][0-1]+$/g.test(n)||/^0[cC][0-7]+$/g.test(n)||/^0[xX][a-fA-F0-9]+$/g.test(n)||/^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(n)||/^[0-9]+$/g.test(n)?"number":"variable"}return t},lineComment:"--"}}),i.defineMIME("text/x-eiffel","eiffel")})})();var p=y.exports;const m=h(p),_=k({__proto__:null,default:m},[p]);export{_ as e}; diff --git a/dist-ui/assets/elm-BHV4d9RV.js b/dist-ui/assets/elm-DUTg0fXQ.js similarity index 97% rename from dist-ui/assets/elm-BHV4d9RV.js rename to dist-ui/assets/elm-DUTg0fXQ.js index 20800910..cae0fb21 100644 --- a/dist-ui/assets/elm-BHV4d9RV.js +++ b/dist-ui/assets/elm-DUTg0fXQ.js @@ -1 +1 @@ -import{g as _,c as O}from"./index-CHg1vBCc.js";function j(p,h){for(var a=0;ar[f]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var A={exports:{}};(function(p,h){(function(a){a(O)})(function(a){a.defineMode("elm",function(){function r(t,n,e){return n(e),e(t,n)}var f=/[a-z]/,o=/[A-Z]/,u=/[a-zA-Z0-9_]/,m=/[0-9]/,d=/[0-9A-Fa-f]/,g=/[-&*+.\\/<>=?^|:]/,w=/[(),[\]{}]/,E=/[ \v\f]/;function i(){return function(t,n){if(t.eatWhile(E))return null;var e=t.next();if(w.test(e))return e==="{"&&t.eat("-")?r(t,n,v(1)):e==="["&&t.match("glsl|")?r(t,n,W):"builtin";if(e==="'")return r(t,n,k);if(e==='"')return t.eat('"')?t.eat('"')?r(t,n,y):"string":r(t,n,b);if(o.test(e))return t.eatWhile(u),"variable-2";if(f.test(e)){var l=t.pos===1;return t.eatWhile(u),l?"def":"variable"}if(m.test(e)){if(e==="0"){if(t.eat(/[xX]/))return t.eatWhile(d),"number"}else t.eatWhile(m);return t.eat(".")&&t.eatWhile(m),t.eat(/[eE]/)&&(t.eat(/[-+]/),t.eatWhile(m)),"number"}return g.test(e)?e==="-"&&t.eat("-")?(t.skipToEnd(),"comment"):(t.eatWhile(g),"keyword"):e==="_"?"keyword":"error"}}function v(t){return t==0?i():function(n,e){for(;!n.eol();){var l=n.next();if(l=="{"&&n.eat("-"))++t;else if(l=="-"&&n.eat("}")&&(--t,t===0))return e(i()),"comment"}return e(v(t)),"comment"}}function y(t,n){for(;!t.eol();){var e=t.next();if(e==='"'&&t.eat('"')&&t.eat('"'))return n(i()),"string"}return"string"}function b(t,n){for(;t.skipTo('\\"');)t.next(),t.next();return t.skipTo('"')?(t.next(),n(i()),"string"):(t.skipToEnd(),n(i()),"error")}function k(t,n){for(;t.skipTo("\\'");)t.next(),t.next();return t.skipTo("'")?(t.next(),n(i()),"string"):(t.skipToEnd(),n(i()),"error")}function W(t,n){for(;!t.eol();){var e=t.next();if(e==="|"&&t.eat("]"))return n(i()),"string"}return"string"}var R={case:1,of:1,as:1,if:1,then:1,else:1,let:1,in:1,type:1,alias:1,module:1,where:1,import:1,exposing:1,port:1};return{startState:function(){return{f:i()}},copyState:function(t){return{f:t.f}},lineComment:"--",token:function(t,n){var e=n.f(t,function(T){n.f=T}),l=t.current();return R.hasOwnProperty(l)?"keyword":e}}}),a.defineMIME("text/x-elm","elm")})})();var x=A.exports;const M=_(x),P=j({__proto__:null,default:M},[x]);export{P as e}; +import{g as _,c as O}from"./index-rXwcQ1j1.js";function j(p,h){for(var a=0;ar[f]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var A={exports:{}};(function(p,h){(function(a){a(O)})(function(a){a.defineMode("elm",function(){function r(t,n,e){return n(e),e(t,n)}var f=/[a-z]/,o=/[A-Z]/,u=/[a-zA-Z0-9_]/,m=/[0-9]/,d=/[0-9A-Fa-f]/,g=/[-&*+.\\/<>=?^|:]/,w=/[(),[\]{}]/,E=/[ \v\f]/;function i(){return function(t,n){if(t.eatWhile(E))return null;var e=t.next();if(w.test(e))return e==="{"&&t.eat("-")?r(t,n,v(1)):e==="["&&t.match("glsl|")?r(t,n,W):"builtin";if(e==="'")return r(t,n,k);if(e==='"')return t.eat('"')?t.eat('"')?r(t,n,y):"string":r(t,n,b);if(o.test(e))return t.eatWhile(u),"variable-2";if(f.test(e)){var l=t.pos===1;return t.eatWhile(u),l?"def":"variable"}if(m.test(e)){if(e==="0"){if(t.eat(/[xX]/))return t.eatWhile(d),"number"}else t.eatWhile(m);return t.eat(".")&&t.eatWhile(m),t.eat(/[eE]/)&&(t.eat(/[-+]/),t.eatWhile(m)),"number"}return g.test(e)?e==="-"&&t.eat("-")?(t.skipToEnd(),"comment"):(t.eatWhile(g),"keyword"):e==="_"?"keyword":"error"}}function v(t){return t==0?i():function(n,e){for(;!n.eol();){var l=n.next();if(l=="{"&&n.eat("-"))++t;else if(l=="-"&&n.eat("}")&&(--t,t===0))return e(i()),"comment"}return e(v(t)),"comment"}}function y(t,n){for(;!t.eol();){var e=t.next();if(e==='"'&&t.eat('"')&&t.eat('"'))return n(i()),"string"}return"string"}function b(t,n){for(;t.skipTo('\\"');)t.next(),t.next();return t.skipTo('"')?(t.next(),n(i()),"string"):(t.skipToEnd(),n(i()),"error")}function k(t,n){for(;t.skipTo("\\'");)t.next(),t.next();return t.skipTo("'")?(t.next(),n(i()),"string"):(t.skipToEnd(),n(i()),"error")}function W(t,n){for(;!t.eol();){var e=t.next();if(e==="|"&&t.eat("]"))return n(i()),"string"}return"string"}var R={case:1,of:1,as:1,if:1,then:1,else:1,let:1,in:1,type:1,alias:1,module:1,where:1,import:1,exposing:1,port:1};return{startState:function(){return{f:i()}},copyState:function(t){return{f:t.f}},lineComment:"--",token:function(t,n){var e=n.f(t,function(T){n.f=T}),l=t.current();return R.hasOwnProperty(l)?"keyword":e}}}),a.defineMIME("text/x-elm","elm")})})();var x=A.exports;const M=_(x),P=j({__proto__:null,default:M},[x]);export{P as e}; diff --git a/dist-ui/assets/emoji-picker-react.esm-DEq_jukF.js b/dist-ui/assets/emoji-picker-react.esm-bTiyonTo.js similarity index 99% rename from dist-ui/assets/emoji-picker-react.esm-DEq_jukF.js rename to dist-ui/assets/emoji-picker-react.esm-bTiyonTo.js index 286aa36f..82ed2c3c 100644 --- a/dist-ui/assets/emoji-picker-react.esm-DEq_jukF.js +++ b/dist-ui/assets/emoji-picker-react.esm-bTiyonTo.js @@ -1 +1 @@ -import{e as o,R as gf}from"./index-CHg1vBCc.js";var b;(function(f){f.hiddenOnSearch="epr-hidden-on-search",f.searchActive="epr-search-active",f.hidden="epr-hidden",f.visible="epr-visible",f.active="epr-active",f.emoji="epr-emoji",f.category="epr-emoji-category",f.label="epr-emoji-category-label",f.categoryContent="epr-emoji-category-content",f.emojiHasVariations="epr-emoji-has-variations",f.scrollBody="epr-body",f.emojiList="epr-emoji-list",f.external="__EmojiPicker__",f.emojiPicker="EmojiPickerReact",f.open="epr-open",f.vertical="epr-vertical",f.horizontal="epr-horizontal",f.variationPicker="epr-emoji-variation-picker",f.darkTheme="epr-dark-theme",f.autoTheme="epr-auto-theme"})(b||(b={}));function x(){for(var f=arguments.length,e=new Array(f),a=0;a=0)&&(a[r]=f[r]);return a}function g1(f,e){if(f){if(typeof f=="string")return Zf(f,e);var a=Object.prototype.toString.call(f).slice(8,-1);if(a==="Object"&&f.constructor&&(a=f.constructor.name),a==="Map"||a==="Set")return Array.from(f);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Zf(f,e)}}function Zf(f,e){(e==null||e>f.length)&&(e=f.length);for(var a=0,n=new Array(e);a=f.length?{done:!0}:{done:!1,value:f[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var af;(function(f){f.RECENT="recent",f.FREQUENT="frequent"})(af||(af={}));var S;(function(f){f.NATIVE="native",f.APPLE="apple",f.TWITTER="twitter",f.GOOGLE="google",f.FACEBOOK="facebook"})(S||(S={}));var nf;(function(f){f.DARK="dark",f.LIGHT="light",f.AUTO="auto"})(nf||(nf={}));var _;(function(f){f.NEUTRAL="neutral",f.LIGHT="1f3fb",f.MEDIUM_LIGHT="1f3fc",f.MEDIUM="1f3fd",f.MEDIUM_DARK="1f3fe",f.DARK="1f3ff"})(_||(_={}));var m;(function(f){f.SUGGESTED="suggested",f.CUSTOM="custom",f.SMILEYS_PEOPLE="smileys_people",f.ANIMALS_NATURE="animals_nature",f.FOOD_DRINK="food_drink",f.TRAVEL_PLACES="travel_places",f.ACTIVITIES="activities",f.OBJECTS="objects",f.SYMBOLS="symbols",f.FLAGS="flags"})(m||(m={}));var K;(function(f){f.SEARCH="SEARCH",f.PREVIEW="PREVIEW"})(K||(K={}));var T,m1=[m.SUGGESTED,m.CUSTOM,m.SMILEYS_PEOPLE,m.ANIMALS_NATURE,m.FOOD_DRINK,m.TRAVEL_PLACES,m.ACTIVITIES,m.OBJECTS,m.SYMBOLS,m.FLAGS],p1={name:"Recently Used",category:m.SUGGESTED},pe=(T={},T[m.SUGGESTED]={category:m.SUGGESTED,name:"Frequently Used"},T[m.CUSTOM]={category:m.CUSTOM,name:"Custom Emojis"},T[m.SMILEYS_PEOPLE]={category:m.SMILEYS_PEOPLE,name:"Smileys & People"},T[m.ANIMALS_NATURE]={category:m.ANIMALS_NATURE,name:"Animals & Nature"},T[m.FOOD_DRINK]={category:m.FOOD_DRINK,name:"Food & Drink"},T[m.TRAVEL_PLACES]={category:m.TRAVEL_PLACES,name:"Travel & Places"},T[m.ACTIVITIES]={category:m.ACTIVITIES,name:"Activities"},T[m.OBJECTS]={category:m.OBJECTS,name:"Objects"},T[m.SYMBOLS]={category:m.SYMBOLS,name:"Symbols"},T[m.FLAGS]={category:m.FLAGS,name:"Flags"},T);function he(f){return m1.map(function(e){return B({},pe[e],f&&f[e]&&f[e])})}function _f(f){return f.category}function ve(f){return f.name}function h1(f,e){var a;f===void 0&&(f=[]),e===void 0&&(e={});var n={};e.suggestionMode===af.RECENT&&(n[m.SUGGESTED]=p1);var r=he(n);return(a=f)!=null&&a.length?f.map(function(i){return typeof i=="string"?Qf(i,n[i]):B({},Qf(i.category,n[i.category]),i)}):r}function Qf(f,e){return e===void 0&&(e={}),Object.assign(pe[f],e)}var v1="https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/",k1="https://cdn.jsdelivr.net/npm/emoji-datasource-facebook/img/facebook/64/",w1="https://cdn.jsdelivr.net/npm/emoji-datasource-twitter/img/twitter/64/",y1="https://cdn.jsdelivr.net/npm/emoji-datasource-google/img/google/64/";function E1(f){switch(f){case S.TWITTER:return w1;case S.GOOGLE:return y1;case S.FACEBOOK:return k1;case S.APPLE:default:return v1}}var j1=[],C1=[{n:["grinning","grinning face"],u:"1f600",a:"1.0"},{n:["smiley","smiling face with open mouth"],u:"1f603",a:"0.6"},{n:["smile","smiling face with open mouth and smiling eyes"],u:"1f604",a:"0.6"},{n:["grin","grinning face with smiling eyes"],u:"1f601",a:"0.6"},{n:["laughing","satisfied","smiling face with open mouth and tightly-closed eyes"],u:"1f606",a:"0.6"},{n:["sweat smile","smiling face with open mouth and cold sweat"],u:"1f605",a:"0.6"},{n:["rolling on the floor laughing"],u:"1f923",a:"3.0"},{n:["joy","face with tears of joy"],u:"1f602",a:"0.6"},{n:["slightly smiling face"],u:"1f642",a:"1.0"},{n:["upside-down face","upside down face"],u:"1f643",a:"1.0"},{n:["melting face"],u:"1fae0",a:"14.0"},{n:["wink","winking face"],u:"1f609",a:"0.6"},{n:["blush","smiling face with smiling eyes"],u:"1f60a",a:"0.6"},{n:["innocent","smiling face with halo"],u:"1f607",a:"1.0"},{n:["smiling face with 3 hearts","smiling face with smiling eyes and three hearts"],u:"1f970",a:"11.0"},{n:["heart eyes","smiling face with heart-shaped eyes"],u:"1f60d",a:"0.6"},{n:["star-struck","grinning face with star eyes"],u:"1f929",a:"5.0"},{n:["kissing heart","face throwing a kiss"],u:"1f618",a:"0.6"},{n:["kissing","kissing face"],u:"1f617",a:"1.0"},{n:["relaxed","white smiling face"],u:"263a-fe0f",a:"0.6"},{n:["kissing closed eyes","kissing face with closed eyes"],u:"1f61a",a:"0.6"},{n:["kissing smiling eyes","kissing face with smiling eyes"],u:"1f619",a:"1.0"},{n:["smiling face with tear"],u:"1f972",a:"13.0"},{n:["yum","face savouring delicious food"],u:"1f60b",a:"0.6"},{n:["stuck out tongue","face with stuck-out tongue"],u:"1f61b",a:"1.0"},{n:["stuck out tongue winking eye","face with stuck-out tongue and winking eye"],u:"1f61c",a:"0.6"},{n:["zany face","grinning face with one large and one small eye"],u:"1f92a",a:"5.0"},{n:["stuck out tongue closed eyes","face with stuck-out tongue and tightly-closed eyes"],u:"1f61d",a:"0.6"},{n:["money-mouth face","money mouth face"],u:"1f911",a:"1.0"},{n:["hugging face"],u:"1f917",a:"1.0"},{n:["face with hand over mouth","smiling face with smiling eyes and hand covering mouth"],u:"1f92d",a:"5.0"},{n:["face with open eyes and hand over mouth"],u:"1fae2",a:"14.0"},{n:["face with peeking eye"],u:"1fae3",a:"14.0"},{n:["shushing face","face with finger covering closed lips"],u:"1f92b",a:"5.0"},{n:["thinking face"],u:"1f914",a:"1.0"},{n:["saluting face"],u:"1fae1",a:"14.0"},{n:["zipper-mouth face","zipper mouth face"],u:"1f910",a:"1.0"},{n:["face with raised eyebrow","face with one eyebrow raised"],u:"1f928",a:"5.0"},{n:["neutral face"],u:"1f610",a:"0.7"},{n:["expressionless","expressionless face"],u:"1f611",a:"1.0"},{n:["no mouth","face without mouth"],u:"1f636",a:"1.0"},{n:["dotted line face"],u:"1fae5",a:"14.0"},{n:["face in clouds"],u:"1f636-200d-1f32b-fe0f",a:"13.1"},{n:["smirk","smirking face"],u:"1f60f",a:"0.6"},{n:["unamused","unamused face"],u:"1f612",a:"0.6"},{n:["face with rolling eyes"],u:"1f644",a:"1.0"},{n:["grimacing","grimacing face"],u:"1f62c",a:"1.0"},{n:["face exhaling"],u:"1f62e-200d-1f4a8",a:"13.1"},{n:["lying face"],u:"1f925",a:"3.0"},{n:["relieved","relieved face"],u:"1f60c",a:"0.6"},{n:["pensive","pensive face"],u:"1f614",a:"0.6"},{n:["sleepy","sleepy face"],u:"1f62a",a:"0.6"},{n:["drooling face"],u:"1f924",a:"3.0"},{n:["sleeping","sleeping face"],u:"1f634",a:"1.0"},{n:["mask","face with medical mask"],u:"1f637",a:"0.6"},{n:["face with thermometer"],u:"1f912",a:"1.0"},{n:["face with head-bandage","face with head bandage"],u:"1f915",a:"1.0"},{n:["nauseated face"],u:"1f922",a:"3.0"},{n:["face vomiting","face with open mouth vomiting"],u:"1f92e",a:"5.0"},{n:["sneezing face"],u:"1f927",a:"3.0"},{n:["hot face","overheated face"],u:"1f975",a:"11.0"},{n:["cold face","freezing face"],u:"1f976",a:"11.0"},{n:["woozy face","face with uneven eyes and wavy mouth"],u:"1f974",a:"11.0"},{n:["dizzy face"],u:"1f635",a:"0.6"},{n:["face with spiral eyes"],u:"1f635-200d-1f4ab",a:"13.1"},{n:["exploding head","shocked face with exploding head"],u:"1f92f",a:"5.0"},{n:["face with cowboy hat"],u:"1f920",a:"3.0"},{n:["partying face","face with party horn and party hat"],u:"1f973",a:"11.0"},{n:["disguised face"],u:"1f978",a:"13.0"},{n:["sunglasses","smiling face with sunglasses"],u:"1f60e",a:"1.0"},{n:["nerd face"],u:"1f913",a:"1.0"},{n:["face with monocle"],u:"1f9d0",a:"5.0"},{n:["confused","confused face"],u:"1f615",a:"1.0"},{n:["face with diagonal mouth"],u:"1fae4",a:"14.0"},{n:["worried","worried face"],u:"1f61f",a:"1.0"},{n:["slightly frowning face"],u:"1f641",a:"1.0"},{n:["frowning face","white frowning face"],u:"2639-fe0f",a:"0.7"},{n:["open mouth","face with open mouth"],u:"1f62e",a:"1.0"},{n:["hushed","hushed face"],u:"1f62f",a:"1.0"},{n:["astonished","astonished face"],u:"1f632",a:"0.6"},{n:["flushed","flushed face"],u:"1f633",a:"0.6"},{n:["pleading face","face with pleading eyes"],u:"1f97a",a:"11.0"},{n:["face holding back tears"],u:"1f979",a:"14.0"},{n:["frowning","frowning face with open mouth"],u:"1f626",a:"1.0"},{n:["anguished","anguished face"],u:"1f627",a:"1.0"},{n:["fearful","fearful face"],u:"1f628",a:"0.6"},{n:["cold sweat","face with open mouth and cold sweat"],u:"1f630",a:"0.6"},{n:["disappointed relieved","disappointed but relieved face"],u:"1f625",a:"0.6"},{n:["cry","crying face"],u:"1f622",a:"0.6"},{n:["sob","loudly crying face"],u:"1f62d",a:"0.6"},{n:["scream","face screaming in fear"],u:"1f631",a:"0.6"},{n:["confounded","confounded face"],u:"1f616",a:"0.6"},{n:["persevere","persevering face"],u:"1f623",a:"0.6"},{n:["disappointed","disappointed face"],u:"1f61e",a:"0.6"},{n:["sweat","face with cold sweat"],u:"1f613",a:"0.6"},{n:["weary","weary face"],u:"1f629",a:"0.6"},{n:["tired face"],u:"1f62b",a:"0.6"},{n:["yawning face"],u:"1f971",a:"12.0"},{n:["triumph","face with look of triumph"],u:"1f624",a:"0.6"},{n:["rage","pouting face"],u:"1f621",a:"0.6"},{n:["angry","angry face"],u:"1f620",a:"0.6"},{n:["face with symbols on mouth","serious face with symbols covering mouth"],u:"1f92c",a:"5.0"},{n:["smiling imp","smiling face with horns"],u:"1f608",a:"1.0"},{n:["imp"],u:"1f47f",a:"0.6"},{n:["skull"],u:"1f480",a:"0.6"},{n:["skull and crossbones"],u:"2620-fe0f",a:"1.0"},{n:["poop","shit","hankey","pile of poo"],u:"1f4a9",a:"0.6"},{n:["clown face"],u:"1f921",a:"3.0"},{n:["japanese ogre"],u:"1f479",a:"0.6"},{n:["japanese goblin"],u:"1f47a",a:"0.6"},{n:["ghost"],u:"1f47b",a:"0.6"},{n:["alien","extraterrestrial alien"],u:"1f47d",a:"0.6"},{n:["alien monster","space invader"],u:"1f47e",a:"0.6"},{n:["robot face"],u:"1f916",a:"1.0"},{n:["smiley cat","smiling cat face with open mouth"],u:"1f63a",a:"0.6"},{n:["smile cat","grinning cat face with smiling eyes"],u:"1f638",a:"0.6"},{n:["joy cat","cat face with tears of joy"],u:"1f639",a:"0.6"},{n:["heart eyes cat","smiling cat face with heart-shaped eyes"],u:"1f63b",a:"0.6"},{n:["smirk cat","cat face with wry smile"],u:"1f63c",a:"0.6"},{n:["kissing cat","kissing cat face with closed eyes"],u:"1f63d",a:"0.6"},{n:["scream cat","weary cat face"],u:"1f640",a:"0.6"},{n:["crying cat face"],u:"1f63f",a:"0.6"},{n:["pouting cat","pouting cat face"],u:"1f63e",a:"0.6"},{n:["see no evil","see-no-evil monkey"],u:"1f648",a:"0.6"},{n:["hear no evil","hear-no-evil monkey"],u:"1f649",a:"0.6"},{n:["speak no evil","speak-no-evil monkey"],u:"1f64a",a:"0.6"},{n:["kiss","kiss mark"],u:"1f48b",a:"0.6"},{n:["love letter"],u:"1f48c",a:"0.6"},{n:["cupid","heart with arrow"],u:"1f498",a:"0.6"},{n:["gift heart","heart with ribbon"],u:"1f49d",a:"0.6"},{n:["sparkling heart"],u:"1f496",a:"0.6"},{n:["heartpulse","growing heart"],u:"1f497",a:"0.6"},{n:["heartbeat","beating heart"],u:"1f493",a:"0.6"},{n:["revolving hearts"],u:"1f49e",a:"0.6"},{n:["two hearts"],u:"1f495",a:"0.6"},{n:["heart decoration"],u:"1f49f",a:"0.6"},{n:["heart exclamation","heavy heart exclamation mark ornament"],u:"2763-fe0f",a:"1.0"},{n:["broken heart"],u:"1f494",a:"0.6"},{n:["heart on fire"],u:"2764-fe0f-200d-1f525",a:"13.1"},{n:["mending heart"],u:"2764-fe0f-200d-1fa79",a:"13.1"},{n:["heart","heavy black heart"],u:"2764-fe0f",a:"0.6"},{n:["orange heart"],u:"1f9e1",a:"5.0"},{n:["yellow heart"],u:"1f49b",a:"0.6"},{n:["green heart"],u:"1f49a",a:"0.6"},{n:["blue heart"],u:"1f499",a:"0.6"},{n:["purple heart"],u:"1f49c",a:"0.6"},{n:["brown heart"],u:"1f90e",a:"12.0"},{n:["black heart"],u:"1f5a4",a:"3.0"},{n:["white heart"],u:"1f90d",a:"12.0"},{n:["100","hundred points symbol"],u:"1f4af",a:"0.6"},{n:["anger","anger symbol"],u:"1f4a2",a:"0.6"},{n:["boom","collision","collision symbol"],u:"1f4a5",a:"0.6"},{n:["dizzy","dizzy symbol"],u:"1f4ab",a:"0.6"},{n:["sweat drops","splashing sweat symbol"],u:"1f4a6",a:"0.6"},{n:["dash","dash symbol"],u:"1f4a8",a:"0.6"},{n:["hole"],u:"1f573-fe0f",a:"0.7"},{n:["bomb"],u:"1f4a3",a:"0.6"},{n:["speech balloon"],u:"1f4ac",a:"0.6"},{n:["eye in speech bubble","eye-in-speech-bubble"],u:"1f441-fe0f-200d-1f5e8-fe0f",a:"2.0"},{n:["left speech bubble"],u:"1f5e8-fe0f",a:"2.0"},{n:["right anger bubble"],u:"1f5ef-fe0f",a:"0.7"},{n:["thought balloon"],u:"1f4ad",a:"1.0"},{n:["zzz","sleeping symbol"],u:"1f4a4",a:"0.6"},{n:["wave","waving hand sign"],u:"1f44b",v:["1f44b-1f3fb","1f44b-1f3fc","1f44b-1f3fd","1f44b-1f3fe","1f44b-1f3ff"],a:"0.6"},{n:["raised back of hand"],u:"1f91a",v:["1f91a-1f3fb","1f91a-1f3fc","1f91a-1f3fd","1f91a-1f3fe","1f91a-1f3ff"],a:"3.0"},{n:["hand with fingers splayed","raised hand with fingers splayed"],u:"1f590-fe0f",v:["1f590-1f3fb","1f590-1f3fc","1f590-1f3fd","1f590-1f3fe","1f590-1f3ff"],a:"0.7"},{n:["hand","raised hand"],u:"270b",v:["270b-1f3fb","270b-1f3fc","270b-1f3fd","270b-1f3fe","270b-1f3ff"],a:"0.6"},{n:["spock-hand","raised hand with part between middle and ring fingers"],u:"1f596",v:["1f596-1f3fb","1f596-1f3fc","1f596-1f3fd","1f596-1f3fe","1f596-1f3ff"],a:"1.0"},{n:["rightwards hand"],u:"1faf1",v:["1faf1-1f3fb","1faf1-1f3fc","1faf1-1f3fd","1faf1-1f3fe","1faf1-1f3ff"],a:"14.0"},{n:["leftwards hand"],u:"1faf2",v:["1faf2-1f3fb","1faf2-1f3fc","1faf2-1f3fd","1faf2-1f3fe","1faf2-1f3ff"],a:"14.0"},{n:["palm down hand"],u:"1faf3",v:["1faf3-1f3fb","1faf3-1f3fc","1faf3-1f3fd","1faf3-1f3fe","1faf3-1f3ff"],a:"14.0"},{n:["palm up hand"],u:"1faf4",v:["1faf4-1f3fb","1faf4-1f3fc","1faf4-1f3fd","1faf4-1f3fe","1faf4-1f3ff"],a:"14.0"},{n:["ok hand","ok hand sign"],u:"1f44c",v:["1f44c-1f3fb","1f44c-1f3fc","1f44c-1f3fd","1f44c-1f3fe","1f44c-1f3ff"],a:"0.6"},{n:["pinched fingers"],u:"1f90c",v:["1f90c-1f3fb","1f90c-1f3fc","1f90c-1f3fd","1f90c-1f3fe","1f90c-1f3ff"],a:"13.0"},{n:["pinching hand"],u:"1f90f",v:["1f90f-1f3fb","1f90f-1f3fc","1f90f-1f3fd","1f90f-1f3fe","1f90f-1f3ff"],a:"12.0"},{n:["v","victory hand"],u:"270c-fe0f",v:["270c-1f3fb","270c-1f3fc","270c-1f3fd","270c-1f3fe","270c-1f3ff"],a:"0.6"},{n:["crossed fingers","hand with index and middle fingers crossed"],u:"1f91e",v:["1f91e-1f3fb","1f91e-1f3fc","1f91e-1f3fd","1f91e-1f3fe","1f91e-1f3ff"],a:"3.0"},{n:["hand with index finger and thumb crossed"],u:"1faf0",v:["1faf0-1f3fb","1faf0-1f3fc","1faf0-1f3fd","1faf0-1f3fe","1faf0-1f3ff"],a:"14.0"},{n:["i love you hand sign"],u:"1f91f",v:["1f91f-1f3fb","1f91f-1f3fc","1f91f-1f3fd","1f91f-1f3fe","1f91f-1f3ff"],a:"5.0"},{n:["the horns","sign of the horns"],u:"1f918",v:["1f918-1f3fb","1f918-1f3fc","1f918-1f3fd","1f918-1f3fe","1f918-1f3ff"],a:"1.0"},{n:["call me hand"],u:"1f919",v:["1f919-1f3fb","1f919-1f3fc","1f919-1f3fd","1f919-1f3fe","1f919-1f3ff"],a:"3.0"},{n:["point left","white left pointing backhand index"],u:"1f448",v:["1f448-1f3fb","1f448-1f3fc","1f448-1f3fd","1f448-1f3fe","1f448-1f3ff"],a:"0.6"},{n:["point right","white right pointing backhand index"],u:"1f449",v:["1f449-1f3fb","1f449-1f3fc","1f449-1f3fd","1f449-1f3fe","1f449-1f3ff"],a:"0.6"},{n:["point up 2","white up pointing backhand index"],u:"1f446",v:["1f446-1f3fb","1f446-1f3fc","1f446-1f3fd","1f446-1f3fe","1f446-1f3ff"],a:"0.6"},{n:["middle finger","reversed hand with middle finger extended"],u:"1f595",v:["1f595-1f3fb","1f595-1f3fc","1f595-1f3fd","1f595-1f3fe","1f595-1f3ff"],a:"1.0"},{n:["point down","white down pointing backhand index"],u:"1f447",v:["1f447-1f3fb","1f447-1f3fc","1f447-1f3fd","1f447-1f3fe","1f447-1f3ff"],a:"0.6"},{n:["point up","white up pointing index"],u:"261d-fe0f",v:["261d-1f3fb","261d-1f3fc","261d-1f3fd","261d-1f3fe","261d-1f3ff"],a:"0.6"},{n:["index pointing at the viewer"],u:"1faf5",v:["1faf5-1f3fb","1faf5-1f3fc","1faf5-1f3fd","1faf5-1f3fe","1faf5-1f3ff"],a:"14.0"},{n:["+1","thumbsup","thumbs up sign"],u:"1f44d",v:["1f44d-1f3fb","1f44d-1f3fc","1f44d-1f3fd","1f44d-1f3fe","1f44d-1f3ff"],a:"0.6"},{n:["-1","thumbsdown","thumbs down sign"],u:"1f44e",v:["1f44e-1f3fb","1f44e-1f3fc","1f44e-1f3fd","1f44e-1f3fe","1f44e-1f3ff"],a:"0.6"},{n:["fist","raised fist"],u:"270a",v:["270a-1f3fb","270a-1f3fc","270a-1f3fd","270a-1f3fe","270a-1f3ff"],a:"0.6"},{n:["punch","facepunch","fisted hand sign"],u:"1f44a",v:["1f44a-1f3fb","1f44a-1f3fc","1f44a-1f3fd","1f44a-1f3fe","1f44a-1f3ff"],a:"0.6"},{n:["left-facing fist"],u:"1f91b",v:["1f91b-1f3fb","1f91b-1f3fc","1f91b-1f3fd","1f91b-1f3fe","1f91b-1f3ff"],a:"3.0"},{n:["right-facing fist"],u:"1f91c",v:["1f91c-1f3fb","1f91c-1f3fc","1f91c-1f3fd","1f91c-1f3fe","1f91c-1f3ff"],a:"3.0"},{n:["clap","clapping hands sign"],u:"1f44f",v:["1f44f-1f3fb","1f44f-1f3fc","1f44f-1f3fd","1f44f-1f3fe","1f44f-1f3ff"],a:"0.6"},{n:["raised hands","person raising both hands in celebration"],u:"1f64c",v:["1f64c-1f3fb","1f64c-1f3fc","1f64c-1f3fd","1f64c-1f3fe","1f64c-1f3ff"],a:"0.6"},{n:["heart hands"],u:"1faf6",v:["1faf6-1f3fb","1faf6-1f3fc","1faf6-1f3fd","1faf6-1f3fe","1faf6-1f3ff"],a:"14.0"},{n:["open hands","open hands sign"],u:"1f450",v:["1f450-1f3fb","1f450-1f3fc","1f450-1f3fd","1f450-1f3fe","1f450-1f3ff"],a:"0.6"},{n:["palms up together"],u:"1f932",v:["1f932-1f3fb","1f932-1f3fc","1f932-1f3fd","1f932-1f3fe","1f932-1f3ff"],a:"5.0"},{n:["handshake"],u:"1f91d",v:["1f91d-1f3fb","1f91d-1f3fc","1f91d-1f3fd","1f91d-1f3fe","1f91d-1f3ff","1faf1-1f3fb-200d-1faf2-1f3fc","1faf1-1f3fb-200d-1faf2-1f3fd","1faf1-1f3fb-200d-1faf2-1f3fe","1faf1-1f3fb-200d-1faf2-1f3ff","1faf1-1f3fc-200d-1faf2-1f3fb","1faf1-1f3fc-200d-1faf2-1f3fd","1faf1-1f3fc-200d-1faf2-1f3fe","1faf1-1f3fc-200d-1faf2-1f3ff","1faf1-1f3fd-200d-1faf2-1f3fb","1faf1-1f3fd-200d-1faf2-1f3fc","1faf1-1f3fd-200d-1faf2-1f3fe","1faf1-1f3fd-200d-1faf2-1f3ff","1faf1-1f3fe-200d-1faf2-1f3fb","1faf1-1f3fe-200d-1faf2-1f3fc","1faf1-1f3fe-200d-1faf2-1f3fd","1faf1-1f3fe-200d-1faf2-1f3ff","1faf1-1f3ff-200d-1faf2-1f3fb","1faf1-1f3ff-200d-1faf2-1f3fc","1faf1-1f3ff-200d-1faf2-1f3fd","1faf1-1f3ff-200d-1faf2-1f3fe"],a:"3.0"},{n:["pray","person with folded hands"],u:"1f64f",v:["1f64f-1f3fb","1f64f-1f3fc","1f64f-1f3fd","1f64f-1f3fe","1f64f-1f3ff"],a:"0.6"},{n:["writing hand"],u:"270d-fe0f",v:["270d-1f3fb","270d-1f3fc","270d-1f3fd","270d-1f3fe","270d-1f3ff"],a:"0.7"},{n:["nail care","nail polish"],u:"1f485",v:["1f485-1f3fb","1f485-1f3fc","1f485-1f3fd","1f485-1f3fe","1f485-1f3ff"],a:"0.6"},{n:["selfie"],u:"1f933",v:["1f933-1f3fb","1f933-1f3fc","1f933-1f3fd","1f933-1f3fe","1f933-1f3ff"],a:"3.0"},{n:["muscle","flexed biceps"],u:"1f4aa",v:["1f4aa-1f3fb","1f4aa-1f3fc","1f4aa-1f3fd","1f4aa-1f3fe","1f4aa-1f3ff"],a:"0.6"},{n:["mechanical arm"],u:"1f9be",a:"12.0"},{n:["mechanical leg"],u:"1f9bf",a:"12.0"},{n:["leg"],u:"1f9b5",v:["1f9b5-1f3fb","1f9b5-1f3fc","1f9b5-1f3fd","1f9b5-1f3fe","1f9b5-1f3ff"],a:"11.0"},{n:["foot"],u:"1f9b6",v:["1f9b6-1f3fb","1f9b6-1f3fc","1f9b6-1f3fd","1f9b6-1f3fe","1f9b6-1f3ff"],a:"11.0"},{n:["ear"],u:"1f442",v:["1f442-1f3fb","1f442-1f3fc","1f442-1f3fd","1f442-1f3fe","1f442-1f3ff"],a:"0.6"},{n:["ear with hearing aid"],u:"1f9bb",v:["1f9bb-1f3fb","1f9bb-1f3fc","1f9bb-1f3fd","1f9bb-1f3fe","1f9bb-1f3ff"],a:"12.0"},{n:["nose"],u:"1f443",v:["1f443-1f3fb","1f443-1f3fc","1f443-1f3fd","1f443-1f3fe","1f443-1f3ff"],a:"0.6"},{n:["brain"],u:"1f9e0",a:"5.0"},{n:["anatomical heart"],u:"1fac0",a:"13.0"},{n:["lungs"],u:"1fac1",a:"13.0"},{n:["tooth"],u:"1f9b7",a:"11.0"},{n:["bone"],u:"1f9b4",a:"11.0"},{n:["eyes"],u:"1f440",a:"0.6"},{n:["eye"],u:"1f441-fe0f",a:"0.7"},{n:["tongue"],u:"1f445",a:"0.6"},{n:["lips","mouth"],u:"1f444",a:"0.6"},{n:["biting lip"],u:"1fae6",a:"14.0"},{n:["baby"],u:"1f476",v:["1f476-1f3fb","1f476-1f3fc","1f476-1f3fd","1f476-1f3fe","1f476-1f3ff"],a:"0.6"},{n:["child"],u:"1f9d2",v:["1f9d2-1f3fb","1f9d2-1f3fc","1f9d2-1f3fd","1f9d2-1f3fe","1f9d2-1f3ff"],a:"5.0"},{n:["boy"],u:"1f466",v:["1f466-1f3fb","1f466-1f3fc","1f466-1f3fd","1f466-1f3fe","1f466-1f3ff"],a:"0.6"},{n:["girl"],u:"1f467",v:["1f467-1f3fb","1f467-1f3fc","1f467-1f3fd","1f467-1f3fe","1f467-1f3ff"],a:"0.6"},{n:["adult"],u:"1f9d1",v:["1f9d1-1f3fb","1f9d1-1f3fc","1f9d1-1f3fd","1f9d1-1f3fe","1f9d1-1f3ff"],a:"5.0"},{n:["person with blond hair"],u:"1f471",v:["1f471-1f3fb","1f471-1f3fc","1f471-1f3fd","1f471-1f3fe","1f471-1f3ff"],a:"0.6"},{n:["man"],u:"1f468",v:["1f468-1f3fb","1f468-1f3fc","1f468-1f3fd","1f468-1f3fe","1f468-1f3ff"],a:"0.6"},{n:["bearded person"],u:"1f9d4",v:["1f9d4-1f3fb","1f9d4-1f3fc","1f9d4-1f3fd","1f9d4-1f3fe","1f9d4-1f3ff"],a:"5.0"},{n:["man: beard","man with beard"],u:"1f9d4-200d-2642-fe0f",v:["1f9d4-1f3fb-200d-2642-fe0f","1f9d4-1f3fc-200d-2642-fe0f","1f9d4-1f3fd-200d-2642-fe0f","1f9d4-1f3fe-200d-2642-fe0f","1f9d4-1f3ff-200d-2642-fe0f"],a:"13.1"},{n:["woman: beard","woman with beard"],u:"1f9d4-200d-2640-fe0f",v:["1f9d4-1f3fb-200d-2640-fe0f","1f9d4-1f3fc-200d-2640-fe0f","1f9d4-1f3fd-200d-2640-fe0f","1f9d4-1f3fe-200d-2640-fe0f","1f9d4-1f3ff-200d-2640-fe0f"],a:"13.1"},{n:["man: red hair","red haired man"],u:"1f468-200d-1f9b0",v:["1f468-1f3fb-200d-1f9b0","1f468-1f3fc-200d-1f9b0","1f468-1f3fd-200d-1f9b0","1f468-1f3fe-200d-1f9b0","1f468-1f3ff-200d-1f9b0"],a:"11.0"},{n:["man: curly hair","curly haired man"],u:"1f468-200d-1f9b1",v:["1f468-1f3fb-200d-1f9b1","1f468-1f3fc-200d-1f9b1","1f468-1f3fd-200d-1f9b1","1f468-1f3fe-200d-1f9b1","1f468-1f3ff-200d-1f9b1"],a:"11.0"},{n:["man: white hair","white haired man"],u:"1f468-200d-1f9b3",v:["1f468-1f3fb-200d-1f9b3","1f468-1f3fc-200d-1f9b3","1f468-1f3fd-200d-1f9b3","1f468-1f3fe-200d-1f9b3","1f468-1f3ff-200d-1f9b3"],a:"11.0"},{n:["bald man","man: bald"],u:"1f468-200d-1f9b2",v:["1f468-1f3fb-200d-1f9b2","1f468-1f3fc-200d-1f9b2","1f468-1f3fd-200d-1f9b2","1f468-1f3fe-200d-1f9b2","1f468-1f3ff-200d-1f9b2"],a:"11.0"},{n:["woman"],u:"1f469",v:["1f469-1f3fb","1f469-1f3fc","1f469-1f3fd","1f469-1f3fe","1f469-1f3ff"],a:"0.6"},{n:["woman: red hair","red haired woman"],u:"1f469-200d-1f9b0",v:["1f469-1f3fb-200d-1f9b0","1f469-1f3fc-200d-1f9b0","1f469-1f3fd-200d-1f9b0","1f469-1f3fe-200d-1f9b0","1f469-1f3ff-200d-1f9b0"],a:"11.0"},{n:["person: red hair","red haired person"],u:"1f9d1-200d-1f9b0",v:["1f9d1-1f3fb-200d-1f9b0","1f9d1-1f3fc-200d-1f9b0","1f9d1-1f3fd-200d-1f9b0","1f9d1-1f3fe-200d-1f9b0","1f9d1-1f3ff-200d-1f9b0"],a:"12.1"},{n:["woman: curly hair","curly haired woman"],u:"1f469-200d-1f9b1",v:["1f469-1f3fb-200d-1f9b1","1f469-1f3fc-200d-1f9b1","1f469-1f3fd-200d-1f9b1","1f469-1f3fe-200d-1f9b1","1f469-1f3ff-200d-1f9b1"],a:"11.0"},{n:["person: curly hair","curly haired person"],u:"1f9d1-200d-1f9b1",v:["1f9d1-1f3fb-200d-1f9b1","1f9d1-1f3fc-200d-1f9b1","1f9d1-1f3fd-200d-1f9b1","1f9d1-1f3fe-200d-1f9b1","1f9d1-1f3ff-200d-1f9b1"],a:"12.1"},{n:["woman: white hair","white haired woman"],u:"1f469-200d-1f9b3",v:["1f469-1f3fb-200d-1f9b3","1f469-1f3fc-200d-1f9b3","1f469-1f3fd-200d-1f9b3","1f469-1f3fe-200d-1f9b3","1f469-1f3ff-200d-1f9b3"],a:"11.0"},{n:["person: white hair","white haired person"],u:"1f9d1-200d-1f9b3",v:["1f9d1-1f3fb-200d-1f9b3","1f9d1-1f3fc-200d-1f9b3","1f9d1-1f3fd-200d-1f9b3","1f9d1-1f3fe-200d-1f9b3","1f9d1-1f3ff-200d-1f9b3"],a:"12.1"},{n:["bald woman","woman: bald"],u:"1f469-200d-1f9b2",v:["1f469-1f3fb-200d-1f9b2","1f469-1f3fc-200d-1f9b2","1f469-1f3fd-200d-1f9b2","1f469-1f3fe-200d-1f9b2","1f469-1f3ff-200d-1f9b2"],a:"11.0"},{n:["bald person","person: bald"],u:"1f9d1-200d-1f9b2",v:["1f9d1-1f3fb-200d-1f9b2","1f9d1-1f3fc-200d-1f9b2","1f9d1-1f3fd-200d-1f9b2","1f9d1-1f3fe-200d-1f9b2","1f9d1-1f3ff-200d-1f9b2"],a:"12.1"},{n:["woman: blond hair","blond-haired-woman"],u:"1f471-200d-2640-fe0f",v:["1f471-1f3fb-200d-2640-fe0f","1f471-1f3fc-200d-2640-fe0f","1f471-1f3fd-200d-2640-fe0f","1f471-1f3fe-200d-2640-fe0f","1f471-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["man: blond hair","blond-haired-man"],u:"1f471-200d-2642-fe0f",v:["1f471-1f3fb-200d-2642-fe0f","1f471-1f3fc-200d-2642-fe0f","1f471-1f3fd-200d-2642-fe0f","1f471-1f3fe-200d-2642-fe0f","1f471-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["older adult"],u:"1f9d3",v:["1f9d3-1f3fb","1f9d3-1f3fc","1f9d3-1f3fd","1f9d3-1f3fe","1f9d3-1f3ff"],a:"5.0"},{n:["older man"],u:"1f474",v:["1f474-1f3fb","1f474-1f3fc","1f474-1f3fd","1f474-1f3fe","1f474-1f3ff"],a:"0.6"},{n:["older woman"],u:"1f475",v:["1f475-1f3fb","1f475-1f3fc","1f475-1f3fd","1f475-1f3fe","1f475-1f3ff"],a:"0.6"},{n:["person frowning"],u:"1f64d",v:["1f64d-1f3fb","1f64d-1f3fc","1f64d-1f3fd","1f64d-1f3fe","1f64d-1f3ff"],a:"0.6"},{n:["man frowning","man-frowning"],u:"1f64d-200d-2642-fe0f",v:["1f64d-1f3fb-200d-2642-fe0f","1f64d-1f3fc-200d-2642-fe0f","1f64d-1f3fd-200d-2642-fe0f","1f64d-1f3fe-200d-2642-fe0f","1f64d-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman frowning","woman-frowning"],u:"1f64d-200d-2640-fe0f",v:["1f64d-1f3fb-200d-2640-fe0f","1f64d-1f3fc-200d-2640-fe0f","1f64d-1f3fd-200d-2640-fe0f","1f64d-1f3fe-200d-2640-fe0f","1f64d-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with pouting face"],u:"1f64e",v:["1f64e-1f3fb","1f64e-1f3fc","1f64e-1f3fd","1f64e-1f3fe","1f64e-1f3ff"],a:"0.6"},{n:["man pouting","man-pouting"],u:"1f64e-200d-2642-fe0f",v:["1f64e-1f3fb-200d-2642-fe0f","1f64e-1f3fc-200d-2642-fe0f","1f64e-1f3fd-200d-2642-fe0f","1f64e-1f3fe-200d-2642-fe0f","1f64e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman pouting","woman-pouting"],u:"1f64e-200d-2640-fe0f",v:["1f64e-1f3fb-200d-2640-fe0f","1f64e-1f3fc-200d-2640-fe0f","1f64e-1f3fd-200d-2640-fe0f","1f64e-1f3fe-200d-2640-fe0f","1f64e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["no good","face with no good gesture"],u:"1f645",v:["1f645-1f3fb","1f645-1f3fc","1f645-1f3fd","1f645-1f3fe","1f645-1f3ff"],a:"0.6"},{n:["man gesturing no","man-gesturing-no"],u:"1f645-200d-2642-fe0f",v:["1f645-1f3fb-200d-2642-fe0f","1f645-1f3fc-200d-2642-fe0f","1f645-1f3fd-200d-2642-fe0f","1f645-1f3fe-200d-2642-fe0f","1f645-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman gesturing no","woman-gesturing-no"],u:"1f645-200d-2640-fe0f",v:["1f645-1f3fb-200d-2640-fe0f","1f645-1f3fc-200d-2640-fe0f","1f645-1f3fd-200d-2640-fe0f","1f645-1f3fe-200d-2640-fe0f","1f645-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["ok woman","face with ok gesture"],u:"1f646",v:["1f646-1f3fb","1f646-1f3fc","1f646-1f3fd","1f646-1f3fe","1f646-1f3ff"],a:"0.6"},{n:["man gesturing ok","man-gesturing-ok"],u:"1f646-200d-2642-fe0f",v:["1f646-1f3fb-200d-2642-fe0f","1f646-1f3fc-200d-2642-fe0f","1f646-1f3fd-200d-2642-fe0f","1f646-1f3fe-200d-2642-fe0f","1f646-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman gesturing ok","woman-gesturing-ok"],u:"1f646-200d-2640-fe0f",v:["1f646-1f3fb-200d-2640-fe0f","1f646-1f3fc-200d-2640-fe0f","1f646-1f3fd-200d-2640-fe0f","1f646-1f3fe-200d-2640-fe0f","1f646-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["information desk person"],u:"1f481",v:["1f481-1f3fb","1f481-1f3fc","1f481-1f3fd","1f481-1f3fe","1f481-1f3ff"],a:"0.6"},{n:["man tipping hand","man-tipping-hand"],u:"1f481-200d-2642-fe0f",v:["1f481-1f3fb-200d-2642-fe0f","1f481-1f3fc-200d-2642-fe0f","1f481-1f3fd-200d-2642-fe0f","1f481-1f3fe-200d-2642-fe0f","1f481-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman tipping hand","woman-tipping-hand"],u:"1f481-200d-2640-fe0f",v:["1f481-1f3fb-200d-2640-fe0f","1f481-1f3fc-200d-2640-fe0f","1f481-1f3fd-200d-2640-fe0f","1f481-1f3fe-200d-2640-fe0f","1f481-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["raising hand","happy person raising one hand"],u:"1f64b",v:["1f64b-1f3fb","1f64b-1f3fc","1f64b-1f3fd","1f64b-1f3fe","1f64b-1f3ff"],a:"0.6"},{n:["man raising hand","man-raising-hand"],u:"1f64b-200d-2642-fe0f",v:["1f64b-1f3fb-200d-2642-fe0f","1f64b-1f3fc-200d-2642-fe0f","1f64b-1f3fd-200d-2642-fe0f","1f64b-1f3fe-200d-2642-fe0f","1f64b-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman raising hand","woman-raising-hand"],u:"1f64b-200d-2640-fe0f",v:["1f64b-1f3fb-200d-2640-fe0f","1f64b-1f3fc-200d-2640-fe0f","1f64b-1f3fd-200d-2640-fe0f","1f64b-1f3fe-200d-2640-fe0f","1f64b-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["deaf person"],u:"1f9cf",v:["1f9cf-1f3fb","1f9cf-1f3fc","1f9cf-1f3fd","1f9cf-1f3fe","1f9cf-1f3ff"],a:"12.0"},{n:["deaf man"],u:"1f9cf-200d-2642-fe0f",v:["1f9cf-1f3fb-200d-2642-fe0f","1f9cf-1f3fc-200d-2642-fe0f","1f9cf-1f3fd-200d-2642-fe0f","1f9cf-1f3fe-200d-2642-fe0f","1f9cf-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["deaf woman"],u:"1f9cf-200d-2640-fe0f",v:["1f9cf-1f3fb-200d-2640-fe0f","1f9cf-1f3fc-200d-2640-fe0f","1f9cf-1f3fd-200d-2640-fe0f","1f9cf-1f3fe-200d-2640-fe0f","1f9cf-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["bow","person bowing deeply"],u:"1f647",v:["1f647-1f3fb","1f647-1f3fc","1f647-1f3fd","1f647-1f3fe","1f647-1f3ff"],a:"0.6"},{n:["man bowing","man-bowing"],u:"1f647-200d-2642-fe0f",v:["1f647-1f3fb-200d-2642-fe0f","1f647-1f3fc-200d-2642-fe0f","1f647-1f3fd-200d-2642-fe0f","1f647-1f3fe-200d-2642-fe0f","1f647-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman bowing","woman-bowing"],u:"1f647-200d-2640-fe0f",v:["1f647-1f3fb-200d-2640-fe0f","1f647-1f3fc-200d-2640-fe0f","1f647-1f3fd-200d-2640-fe0f","1f647-1f3fe-200d-2640-fe0f","1f647-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["face palm"],u:"1f926",v:["1f926-1f3fb","1f926-1f3fc","1f926-1f3fd","1f926-1f3fe","1f926-1f3ff"],a:"3.0"},{n:["man facepalming","man-facepalming"],u:"1f926-200d-2642-fe0f",v:["1f926-1f3fb-200d-2642-fe0f","1f926-1f3fc-200d-2642-fe0f","1f926-1f3fd-200d-2642-fe0f","1f926-1f3fe-200d-2642-fe0f","1f926-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman facepalming","woman-facepalming"],u:"1f926-200d-2640-fe0f",v:["1f926-1f3fb-200d-2640-fe0f","1f926-1f3fc-200d-2640-fe0f","1f926-1f3fd-200d-2640-fe0f","1f926-1f3fe-200d-2640-fe0f","1f926-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["shrug"],u:"1f937",v:["1f937-1f3fb","1f937-1f3fc","1f937-1f3fd","1f937-1f3fe","1f937-1f3ff"],a:"3.0"},{n:["man shrugging","man-shrugging"],u:"1f937-200d-2642-fe0f",v:["1f937-1f3fb-200d-2642-fe0f","1f937-1f3fc-200d-2642-fe0f","1f937-1f3fd-200d-2642-fe0f","1f937-1f3fe-200d-2642-fe0f","1f937-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman shrugging","woman-shrugging"],u:"1f937-200d-2640-fe0f",v:["1f937-1f3fb-200d-2640-fe0f","1f937-1f3fc-200d-2640-fe0f","1f937-1f3fd-200d-2640-fe0f","1f937-1f3fe-200d-2640-fe0f","1f937-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["health worker"],u:"1f9d1-200d-2695-fe0f",v:["1f9d1-1f3fb-200d-2695-fe0f","1f9d1-1f3fc-200d-2695-fe0f","1f9d1-1f3fd-200d-2695-fe0f","1f9d1-1f3fe-200d-2695-fe0f","1f9d1-1f3ff-200d-2695-fe0f"],a:"12.1"},{n:["male-doctor","man health worker"],u:"1f468-200d-2695-fe0f",v:["1f468-1f3fb-200d-2695-fe0f","1f468-1f3fc-200d-2695-fe0f","1f468-1f3fd-200d-2695-fe0f","1f468-1f3fe-200d-2695-fe0f","1f468-1f3ff-200d-2695-fe0f"],a:"4.0"},{n:["female-doctor","woman health worker"],u:"1f469-200d-2695-fe0f",v:["1f469-1f3fb-200d-2695-fe0f","1f469-1f3fc-200d-2695-fe0f","1f469-1f3fd-200d-2695-fe0f","1f469-1f3fe-200d-2695-fe0f","1f469-1f3ff-200d-2695-fe0f"],a:"4.0"},{n:["student"],u:"1f9d1-200d-1f393",v:["1f9d1-1f3fb-200d-1f393","1f9d1-1f3fc-200d-1f393","1f9d1-1f3fd-200d-1f393","1f9d1-1f3fe-200d-1f393","1f9d1-1f3ff-200d-1f393"],a:"12.1"},{n:["man student","male-student"],u:"1f468-200d-1f393",v:["1f468-1f3fb-200d-1f393","1f468-1f3fc-200d-1f393","1f468-1f3fd-200d-1f393","1f468-1f3fe-200d-1f393","1f468-1f3ff-200d-1f393"],a:"4.0"},{n:["woman student","female-student"],u:"1f469-200d-1f393",v:["1f469-1f3fb-200d-1f393","1f469-1f3fc-200d-1f393","1f469-1f3fd-200d-1f393","1f469-1f3fe-200d-1f393","1f469-1f3ff-200d-1f393"],a:"4.0"},{n:["teacher"],u:"1f9d1-200d-1f3eb",v:["1f9d1-1f3fb-200d-1f3eb","1f9d1-1f3fc-200d-1f3eb","1f9d1-1f3fd-200d-1f3eb","1f9d1-1f3fe-200d-1f3eb","1f9d1-1f3ff-200d-1f3eb"],a:"12.1"},{n:["man teacher","male-teacher"],u:"1f468-200d-1f3eb",v:["1f468-1f3fb-200d-1f3eb","1f468-1f3fc-200d-1f3eb","1f468-1f3fd-200d-1f3eb","1f468-1f3fe-200d-1f3eb","1f468-1f3ff-200d-1f3eb"],a:"4.0"},{n:["woman teacher","female-teacher"],u:"1f469-200d-1f3eb",v:["1f469-1f3fb-200d-1f3eb","1f469-1f3fc-200d-1f3eb","1f469-1f3fd-200d-1f3eb","1f469-1f3fe-200d-1f3eb","1f469-1f3ff-200d-1f3eb"],a:"4.0"},{n:["judge"],u:"1f9d1-200d-2696-fe0f",v:["1f9d1-1f3fb-200d-2696-fe0f","1f9d1-1f3fc-200d-2696-fe0f","1f9d1-1f3fd-200d-2696-fe0f","1f9d1-1f3fe-200d-2696-fe0f","1f9d1-1f3ff-200d-2696-fe0f"],a:"12.1"},{n:["man judge","male-judge"],u:"1f468-200d-2696-fe0f",v:["1f468-1f3fb-200d-2696-fe0f","1f468-1f3fc-200d-2696-fe0f","1f468-1f3fd-200d-2696-fe0f","1f468-1f3fe-200d-2696-fe0f","1f468-1f3ff-200d-2696-fe0f"],a:"4.0"},{n:["woman judge","female-judge"],u:"1f469-200d-2696-fe0f",v:["1f469-1f3fb-200d-2696-fe0f","1f469-1f3fc-200d-2696-fe0f","1f469-1f3fd-200d-2696-fe0f","1f469-1f3fe-200d-2696-fe0f","1f469-1f3ff-200d-2696-fe0f"],a:"4.0"},{n:["farmer"],u:"1f9d1-200d-1f33e",v:["1f9d1-1f3fb-200d-1f33e","1f9d1-1f3fc-200d-1f33e","1f9d1-1f3fd-200d-1f33e","1f9d1-1f3fe-200d-1f33e","1f9d1-1f3ff-200d-1f33e"],a:"12.1"},{n:["man farmer","male-farmer"],u:"1f468-200d-1f33e",v:["1f468-1f3fb-200d-1f33e","1f468-1f3fc-200d-1f33e","1f468-1f3fd-200d-1f33e","1f468-1f3fe-200d-1f33e","1f468-1f3ff-200d-1f33e"],a:"4.0"},{n:["woman farmer","female-farmer"],u:"1f469-200d-1f33e",v:["1f469-1f3fb-200d-1f33e","1f469-1f3fc-200d-1f33e","1f469-1f3fd-200d-1f33e","1f469-1f3fe-200d-1f33e","1f469-1f3ff-200d-1f33e"],a:"4.0"},{n:["cook"],u:"1f9d1-200d-1f373",v:["1f9d1-1f3fb-200d-1f373","1f9d1-1f3fc-200d-1f373","1f9d1-1f3fd-200d-1f373","1f9d1-1f3fe-200d-1f373","1f9d1-1f3ff-200d-1f373"],a:"12.1"},{n:["man cook","male-cook"],u:"1f468-200d-1f373",v:["1f468-1f3fb-200d-1f373","1f468-1f3fc-200d-1f373","1f468-1f3fd-200d-1f373","1f468-1f3fe-200d-1f373","1f468-1f3ff-200d-1f373"],a:"4.0"},{n:["woman cook","female-cook"],u:"1f469-200d-1f373",v:["1f469-1f3fb-200d-1f373","1f469-1f3fc-200d-1f373","1f469-1f3fd-200d-1f373","1f469-1f3fe-200d-1f373","1f469-1f3ff-200d-1f373"],a:"4.0"},{n:["mechanic"],u:"1f9d1-200d-1f527",v:["1f9d1-1f3fb-200d-1f527","1f9d1-1f3fc-200d-1f527","1f9d1-1f3fd-200d-1f527","1f9d1-1f3fe-200d-1f527","1f9d1-1f3ff-200d-1f527"],a:"12.1"},{n:["man mechanic","male-mechanic"],u:"1f468-200d-1f527",v:["1f468-1f3fb-200d-1f527","1f468-1f3fc-200d-1f527","1f468-1f3fd-200d-1f527","1f468-1f3fe-200d-1f527","1f468-1f3ff-200d-1f527"],a:"4.0"},{n:["woman mechanic","female-mechanic"],u:"1f469-200d-1f527",v:["1f469-1f3fb-200d-1f527","1f469-1f3fc-200d-1f527","1f469-1f3fd-200d-1f527","1f469-1f3fe-200d-1f527","1f469-1f3ff-200d-1f527"],a:"4.0"},{n:["factory worker"],u:"1f9d1-200d-1f3ed",v:["1f9d1-1f3fb-200d-1f3ed","1f9d1-1f3fc-200d-1f3ed","1f9d1-1f3fd-200d-1f3ed","1f9d1-1f3fe-200d-1f3ed","1f9d1-1f3ff-200d-1f3ed"],a:"12.1"},{n:["man factory worker","male-factory-worker"],u:"1f468-200d-1f3ed",v:["1f468-1f3fb-200d-1f3ed","1f468-1f3fc-200d-1f3ed","1f468-1f3fd-200d-1f3ed","1f468-1f3fe-200d-1f3ed","1f468-1f3ff-200d-1f3ed"],a:"4.0"},{n:["woman factory worker","female-factory-worker"],u:"1f469-200d-1f3ed",v:["1f469-1f3fb-200d-1f3ed","1f469-1f3fc-200d-1f3ed","1f469-1f3fd-200d-1f3ed","1f469-1f3fe-200d-1f3ed","1f469-1f3ff-200d-1f3ed"],a:"4.0"},{n:["office worker"],u:"1f9d1-200d-1f4bc",v:["1f9d1-1f3fb-200d-1f4bc","1f9d1-1f3fc-200d-1f4bc","1f9d1-1f3fd-200d-1f4bc","1f9d1-1f3fe-200d-1f4bc","1f9d1-1f3ff-200d-1f4bc"],a:"12.1"},{n:["man office worker","male-office-worker"],u:"1f468-200d-1f4bc",v:["1f468-1f3fb-200d-1f4bc","1f468-1f3fc-200d-1f4bc","1f468-1f3fd-200d-1f4bc","1f468-1f3fe-200d-1f4bc","1f468-1f3ff-200d-1f4bc"],a:"4.0"},{n:["woman office worker","female-office-worker"],u:"1f469-200d-1f4bc",v:["1f469-1f3fb-200d-1f4bc","1f469-1f3fc-200d-1f4bc","1f469-1f3fd-200d-1f4bc","1f469-1f3fe-200d-1f4bc","1f469-1f3ff-200d-1f4bc"],a:"4.0"},{n:["scientist"],u:"1f9d1-200d-1f52c",v:["1f9d1-1f3fb-200d-1f52c","1f9d1-1f3fc-200d-1f52c","1f9d1-1f3fd-200d-1f52c","1f9d1-1f3fe-200d-1f52c","1f9d1-1f3ff-200d-1f52c"],a:"12.1"},{n:["man scientist","male-scientist"],u:"1f468-200d-1f52c",v:["1f468-1f3fb-200d-1f52c","1f468-1f3fc-200d-1f52c","1f468-1f3fd-200d-1f52c","1f468-1f3fe-200d-1f52c","1f468-1f3ff-200d-1f52c"],a:"4.0"},{n:["woman scientist","female-scientist"],u:"1f469-200d-1f52c",v:["1f469-1f3fb-200d-1f52c","1f469-1f3fc-200d-1f52c","1f469-1f3fd-200d-1f52c","1f469-1f3fe-200d-1f52c","1f469-1f3ff-200d-1f52c"],a:"4.0"},{n:["technologist"],u:"1f9d1-200d-1f4bb",v:["1f9d1-1f3fb-200d-1f4bb","1f9d1-1f3fc-200d-1f4bb","1f9d1-1f3fd-200d-1f4bb","1f9d1-1f3fe-200d-1f4bb","1f9d1-1f3ff-200d-1f4bb"],a:"12.1"},{n:["man technologist","male-technologist"],u:"1f468-200d-1f4bb",v:["1f468-1f3fb-200d-1f4bb","1f468-1f3fc-200d-1f4bb","1f468-1f3fd-200d-1f4bb","1f468-1f3fe-200d-1f4bb","1f468-1f3ff-200d-1f4bb"],a:"4.0"},{n:["woman technologist","female-technologist"],u:"1f469-200d-1f4bb",v:["1f469-1f3fb-200d-1f4bb","1f469-1f3fc-200d-1f4bb","1f469-1f3fd-200d-1f4bb","1f469-1f3fe-200d-1f4bb","1f469-1f3ff-200d-1f4bb"],a:"4.0"},{n:["singer"],u:"1f9d1-200d-1f3a4",v:["1f9d1-1f3fb-200d-1f3a4","1f9d1-1f3fc-200d-1f3a4","1f9d1-1f3fd-200d-1f3a4","1f9d1-1f3fe-200d-1f3a4","1f9d1-1f3ff-200d-1f3a4"],a:"12.1"},{n:["man singer","male-singer"],u:"1f468-200d-1f3a4",v:["1f468-1f3fb-200d-1f3a4","1f468-1f3fc-200d-1f3a4","1f468-1f3fd-200d-1f3a4","1f468-1f3fe-200d-1f3a4","1f468-1f3ff-200d-1f3a4"],a:"4.0"},{n:["woman singer","female-singer"],u:"1f469-200d-1f3a4",v:["1f469-1f3fb-200d-1f3a4","1f469-1f3fc-200d-1f3a4","1f469-1f3fd-200d-1f3a4","1f469-1f3fe-200d-1f3a4","1f469-1f3ff-200d-1f3a4"],a:"4.0"},{n:["artist"],u:"1f9d1-200d-1f3a8",v:["1f9d1-1f3fb-200d-1f3a8","1f9d1-1f3fc-200d-1f3a8","1f9d1-1f3fd-200d-1f3a8","1f9d1-1f3fe-200d-1f3a8","1f9d1-1f3ff-200d-1f3a8"],a:"12.1"},{n:["man artist","male-artist"],u:"1f468-200d-1f3a8",v:["1f468-1f3fb-200d-1f3a8","1f468-1f3fc-200d-1f3a8","1f468-1f3fd-200d-1f3a8","1f468-1f3fe-200d-1f3a8","1f468-1f3ff-200d-1f3a8"],a:"4.0"},{n:["woman artist","female-artist"],u:"1f469-200d-1f3a8",v:["1f469-1f3fb-200d-1f3a8","1f469-1f3fc-200d-1f3a8","1f469-1f3fd-200d-1f3a8","1f469-1f3fe-200d-1f3a8","1f469-1f3ff-200d-1f3a8"],a:"4.0"},{n:["pilot"],u:"1f9d1-200d-2708-fe0f",v:["1f9d1-1f3fb-200d-2708-fe0f","1f9d1-1f3fc-200d-2708-fe0f","1f9d1-1f3fd-200d-2708-fe0f","1f9d1-1f3fe-200d-2708-fe0f","1f9d1-1f3ff-200d-2708-fe0f"],a:"12.1"},{n:["man pilot","male-pilot"],u:"1f468-200d-2708-fe0f",v:["1f468-1f3fb-200d-2708-fe0f","1f468-1f3fc-200d-2708-fe0f","1f468-1f3fd-200d-2708-fe0f","1f468-1f3fe-200d-2708-fe0f","1f468-1f3ff-200d-2708-fe0f"],a:"4.0"},{n:["woman pilot","female-pilot"],u:"1f469-200d-2708-fe0f",v:["1f469-1f3fb-200d-2708-fe0f","1f469-1f3fc-200d-2708-fe0f","1f469-1f3fd-200d-2708-fe0f","1f469-1f3fe-200d-2708-fe0f","1f469-1f3ff-200d-2708-fe0f"],a:"4.0"},{n:["astronaut"],u:"1f9d1-200d-1f680",v:["1f9d1-1f3fb-200d-1f680","1f9d1-1f3fc-200d-1f680","1f9d1-1f3fd-200d-1f680","1f9d1-1f3fe-200d-1f680","1f9d1-1f3ff-200d-1f680"],a:"12.1"},{n:["man astronaut","male-astronaut"],u:"1f468-200d-1f680",v:["1f468-1f3fb-200d-1f680","1f468-1f3fc-200d-1f680","1f468-1f3fd-200d-1f680","1f468-1f3fe-200d-1f680","1f468-1f3ff-200d-1f680"],a:"4.0"},{n:["woman astronaut","female-astronaut"],u:"1f469-200d-1f680",v:["1f469-1f3fb-200d-1f680","1f469-1f3fc-200d-1f680","1f469-1f3fd-200d-1f680","1f469-1f3fe-200d-1f680","1f469-1f3ff-200d-1f680"],a:"4.0"},{n:["firefighter"],u:"1f9d1-200d-1f692",v:["1f9d1-1f3fb-200d-1f692","1f9d1-1f3fc-200d-1f692","1f9d1-1f3fd-200d-1f692","1f9d1-1f3fe-200d-1f692","1f9d1-1f3ff-200d-1f692"],a:"12.1"},{n:["man firefighter","male-firefighter"],u:"1f468-200d-1f692",v:["1f468-1f3fb-200d-1f692","1f468-1f3fc-200d-1f692","1f468-1f3fd-200d-1f692","1f468-1f3fe-200d-1f692","1f468-1f3ff-200d-1f692"],a:"4.0"},{n:["woman firefighter","female-firefighter"],u:"1f469-200d-1f692",v:["1f469-1f3fb-200d-1f692","1f469-1f3fc-200d-1f692","1f469-1f3fd-200d-1f692","1f469-1f3fe-200d-1f692","1f469-1f3ff-200d-1f692"],a:"4.0"},{n:["cop","police officer"],u:"1f46e",v:["1f46e-1f3fb","1f46e-1f3fc","1f46e-1f3fd","1f46e-1f3fe","1f46e-1f3ff"],a:"0.6"},{n:["man police officer","male-police-officer"],u:"1f46e-200d-2642-fe0f",v:["1f46e-1f3fb-200d-2642-fe0f","1f46e-1f3fc-200d-2642-fe0f","1f46e-1f3fd-200d-2642-fe0f","1f46e-1f3fe-200d-2642-fe0f","1f46e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman police officer","female-police-officer"],u:"1f46e-200d-2640-fe0f",v:["1f46e-1f3fb-200d-2640-fe0f","1f46e-1f3fc-200d-2640-fe0f","1f46e-1f3fd-200d-2640-fe0f","1f46e-1f3fe-200d-2640-fe0f","1f46e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["detective","sleuth or spy"],u:"1f575-fe0f",v:["1f575-1f3fb","1f575-1f3fc","1f575-1f3fd","1f575-1f3fe","1f575-1f3ff"],a:"0.7"},{n:["man detective","male-detective"],u:"1f575-fe0f-200d-2642-fe0f",v:["1f575-1f3fb-200d-2642-fe0f","1f575-1f3fc-200d-2642-fe0f","1f575-1f3fd-200d-2642-fe0f","1f575-1f3fe-200d-2642-fe0f","1f575-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman detective","female-detective"],u:"1f575-fe0f-200d-2640-fe0f",v:["1f575-1f3fb-200d-2640-fe0f","1f575-1f3fc-200d-2640-fe0f","1f575-1f3fd-200d-2640-fe0f","1f575-1f3fe-200d-2640-fe0f","1f575-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["guardsman"],u:"1f482",v:["1f482-1f3fb","1f482-1f3fc","1f482-1f3fd","1f482-1f3fe","1f482-1f3ff"],a:"0.6"},{n:["man guard","male-guard"],u:"1f482-200d-2642-fe0f",v:["1f482-1f3fb-200d-2642-fe0f","1f482-1f3fc-200d-2642-fe0f","1f482-1f3fd-200d-2642-fe0f","1f482-1f3fe-200d-2642-fe0f","1f482-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman guard","female-guard"],u:"1f482-200d-2640-fe0f",v:["1f482-1f3fb-200d-2640-fe0f","1f482-1f3fc-200d-2640-fe0f","1f482-1f3fd-200d-2640-fe0f","1f482-1f3fe-200d-2640-fe0f","1f482-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["ninja"],u:"1f977",v:["1f977-1f3fb","1f977-1f3fc","1f977-1f3fd","1f977-1f3fe","1f977-1f3ff"],a:"13.0"},{n:["construction worker"],u:"1f477",v:["1f477-1f3fb","1f477-1f3fc","1f477-1f3fd","1f477-1f3fe","1f477-1f3ff"],a:"0.6"},{n:["man construction worker","male-construction-worker"],u:"1f477-200d-2642-fe0f",v:["1f477-1f3fb-200d-2642-fe0f","1f477-1f3fc-200d-2642-fe0f","1f477-1f3fd-200d-2642-fe0f","1f477-1f3fe-200d-2642-fe0f","1f477-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman construction worker","female-construction-worker"],u:"1f477-200d-2640-fe0f",v:["1f477-1f3fb-200d-2640-fe0f","1f477-1f3fc-200d-2640-fe0f","1f477-1f3fd-200d-2640-fe0f","1f477-1f3fe-200d-2640-fe0f","1f477-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with crown"],u:"1fac5",v:["1fac5-1f3fb","1fac5-1f3fc","1fac5-1f3fd","1fac5-1f3fe","1fac5-1f3ff"],a:"14.0"},{n:["prince"],u:"1f934",v:["1f934-1f3fb","1f934-1f3fc","1f934-1f3fd","1f934-1f3fe","1f934-1f3ff"],a:"3.0"},{n:["princess"],u:"1f478",v:["1f478-1f3fb","1f478-1f3fc","1f478-1f3fd","1f478-1f3fe","1f478-1f3ff"],a:"0.6"},{n:["man with turban"],u:"1f473",v:["1f473-1f3fb","1f473-1f3fc","1f473-1f3fd","1f473-1f3fe","1f473-1f3ff"],a:"0.6"},{n:["man wearing turban","man-wearing-turban"],u:"1f473-200d-2642-fe0f",v:["1f473-1f3fb-200d-2642-fe0f","1f473-1f3fc-200d-2642-fe0f","1f473-1f3fd-200d-2642-fe0f","1f473-1f3fe-200d-2642-fe0f","1f473-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman wearing turban","woman-wearing-turban"],u:"1f473-200d-2640-fe0f",v:["1f473-1f3fb-200d-2640-fe0f","1f473-1f3fc-200d-2640-fe0f","1f473-1f3fd-200d-2640-fe0f","1f473-1f3fe-200d-2640-fe0f","1f473-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["man with gua pi mao"],u:"1f472",v:["1f472-1f3fb","1f472-1f3fc","1f472-1f3fd","1f472-1f3fe","1f472-1f3ff"],a:"0.6"},{n:["person with headscarf"],u:"1f9d5",v:["1f9d5-1f3fb","1f9d5-1f3fc","1f9d5-1f3fd","1f9d5-1f3fe","1f9d5-1f3ff"],a:"5.0"},{n:["man in tuxedo","person in tuxedo"],u:"1f935",v:["1f935-1f3fb","1f935-1f3fc","1f935-1f3fd","1f935-1f3fe","1f935-1f3ff"],a:"3.0"},{n:["man in tuxedo"],u:"1f935-200d-2642-fe0f",v:["1f935-1f3fb-200d-2642-fe0f","1f935-1f3fc-200d-2642-fe0f","1f935-1f3fd-200d-2642-fe0f","1f935-1f3fe-200d-2642-fe0f","1f935-1f3ff-200d-2642-fe0f"],a:"13.0"},{n:["woman in tuxedo"],u:"1f935-200d-2640-fe0f",v:["1f935-1f3fb-200d-2640-fe0f","1f935-1f3fc-200d-2640-fe0f","1f935-1f3fd-200d-2640-fe0f","1f935-1f3fe-200d-2640-fe0f","1f935-1f3ff-200d-2640-fe0f"],a:"13.0"},{n:["bride with veil"],u:"1f470",v:["1f470-1f3fb","1f470-1f3fc","1f470-1f3fd","1f470-1f3fe","1f470-1f3ff"],a:"0.6"},{n:["man with veil"],u:"1f470-200d-2642-fe0f",v:["1f470-1f3fb-200d-2642-fe0f","1f470-1f3fc-200d-2642-fe0f","1f470-1f3fd-200d-2642-fe0f","1f470-1f3fe-200d-2642-fe0f","1f470-1f3ff-200d-2642-fe0f"],a:"13.0"},{n:["woman with veil"],u:"1f470-200d-2640-fe0f",v:["1f470-1f3fb-200d-2640-fe0f","1f470-1f3fc-200d-2640-fe0f","1f470-1f3fd-200d-2640-fe0f","1f470-1f3fe-200d-2640-fe0f","1f470-1f3ff-200d-2640-fe0f"],a:"13.0"},{n:["pregnant woman"],u:"1f930",v:["1f930-1f3fb","1f930-1f3fc","1f930-1f3fd","1f930-1f3fe","1f930-1f3ff"],a:"3.0"},{n:["pregnant man"],u:"1fac3",v:["1fac3-1f3fb","1fac3-1f3fc","1fac3-1f3fd","1fac3-1f3fe","1fac3-1f3ff"],a:"14.0"},{n:["pregnant person"],u:"1fac4",v:["1fac4-1f3fb","1fac4-1f3fc","1fac4-1f3fd","1fac4-1f3fe","1fac4-1f3ff"],a:"14.0"},{n:["breast-feeding"],u:"1f931",v:["1f931-1f3fb","1f931-1f3fc","1f931-1f3fd","1f931-1f3fe","1f931-1f3ff"],a:"5.0"},{n:["woman feeding baby"],u:"1f469-200d-1f37c",v:["1f469-1f3fb-200d-1f37c","1f469-1f3fc-200d-1f37c","1f469-1f3fd-200d-1f37c","1f469-1f3fe-200d-1f37c","1f469-1f3ff-200d-1f37c"],a:"13.0"},{n:["man feeding baby"],u:"1f468-200d-1f37c",v:["1f468-1f3fb-200d-1f37c","1f468-1f3fc-200d-1f37c","1f468-1f3fd-200d-1f37c","1f468-1f3fe-200d-1f37c","1f468-1f3ff-200d-1f37c"],a:"13.0"},{n:["person feeding baby"],u:"1f9d1-200d-1f37c",v:["1f9d1-1f3fb-200d-1f37c","1f9d1-1f3fc-200d-1f37c","1f9d1-1f3fd-200d-1f37c","1f9d1-1f3fe-200d-1f37c","1f9d1-1f3ff-200d-1f37c"],a:"13.0"},{n:["angel","baby angel"],u:"1f47c",v:["1f47c-1f3fb","1f47c-1f3fc","1f47c-1f3fd","1f47c-1f3fe","1f47c-1f3ff"],a:"0.6"},{n:["santa","father christmas"],u:"1f385",v:["1f385-1f3fb","1f385-1f3fc","1f385-1f3fd","1f385-1f3fe","1f385-1f3ff"],a:"0.6"},{n:["mrs claus","mother christmas"],u:"1f936",v:["1f936-1f3fb","1f936-1f3fc","1f936-1f3fd","1f936-1f3fe","1f936-1f3ff"],a:"3.0"},{n:["mx claus"],u:"1f9d1-200d-1f384",v:["1f9d1-1f3fb-200d-1f384","1f9d1-1f3fc-200d-1f384","1f9d1-1f3fd-200d-1f384","1f9d1-1f3fe-200d-1f384","1f9d1-1f3ff-200d-1f384"],a:"13.0"},{n:["superhero"],u:"1f9b8",v:["1f9b8-1f3fb","1f9b8-1f3fc","1f9b8-1f3fd","1f9b8-1f3fe","1f9b8-1f3ff"],a:"11.0"},{n:["man superhero","male superhero"],u:"1f9b8-200d-2642-fe0f",v:["1f9b8-1f3fb-200d-2642-fe0f","1f9b8-1f3fc-200d-2642-fe0f","1f9b8-1f3fd-200d-2642-fe0f","1f9b8-1f3fe-200d-2642-fe0f","1f9b8-1f3ff-200d-2642-fe0f"],a:"11.0"},{n:["woman superhero","female superhero"],u:"1f9b8-200d-2640-fe0f",v:["1f9b8-1f3fb-200d-2640-fe0f","1f9b8-1f3fc-200d-2640-fe0f","1f9b8-1f3fd-200d-2640-fe0f","1f9b8-1f3fe-200d-2640-fe0f","1f9b8-1f3ff-200d-2640-fe0f"],a:"11.0"},{n:["supervillain"],u:"1f9b9",v:["1f9b9-1f3fb","1f9b9-1f3fc","1f9b9-1f3fd","1f9b9-1f3fe","1f9b9-1f3ff"],a:"11.0"},{n:["man supervillain","male supervillain"],u:"1f9b9-200d-2642-fe0f",v:["1f9b9-1f3fb-200d-2642-fe0f","1f9b9-1f3fc-200d-2642-fe0f","1f9b9-1f3fd-200d-2642-fe0f","1f9b9-1f3fe-200d-2642-fe0f","1f9b9-1f3ff-200d-2642-fe0f"],a:"11.0"},{n:["woman supervillain","female supervillain"],u:"1f9b9-200d-2640-fe0f",v:["1f9b9-1f3fb-200d-2640-fe0f","1f9b9-1f3fc-200d-2640-fe0f","1f9b9-1f3fd-200d-2640-fe0f","1f9b9-1f3fe-200d-2640-fe0f","1f9b9-1f3ff-200d-2640-fe0f"],a:"11.0"},{n:["mage"],u:"1f9d9",v:["1f9d9-1f3fb","1f9d9-1f3fc","1f9d9-1f3fd","1f9d9-1f3fe","1f9d9-1f3ff"],a:"5.0"},{n:["man mage","male mage"],u:"1f9d9-200d-2642-fe0f",v:["1f9d9-1f3fb-200d-2642-fe0f","1f9d9-1f3fc-200d-2642-fe0f","1f9d9-1f3fd-200d-2642-fe0f","1f9d9-1f3fe-200d-2642-fe0f","1f9d9-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman mage","female mage"],u:"1f9d9-200d-2640-fe0f",v:["1f9d9-1f3fb-200d-2640-fe0f","1f9d9-1f3fc-200d-2640-fe0f","1f9d9-1f3fd-200d-2640-fe0f","1f9d9-1f3fe-200d-2640-fe0f","1f9d9-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["fairy"],u:"1f9da",v:["1f9da-1f3fb","1f9da-1f3fc","1f9da-1f3fd","1f9da-1f3fe","1f9da-1f3ff"],a:"5.0"},{n:["man fairy","male fairy"],u:"1f9da-200d-2642-fe0f",v:["1f9da-1f3fb-200d-2642-fe0f","1f9da-1f3fc-200d-2642-fe0f","1f9da-1f3fd-200d-2642-fe0f","1f9da-1f3fe-200d-2642-fe0f","1f9da-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman fairy","female fairy"],u:"1f9da-200d-2640-fe0f",v:["1f9da-1f3fb-200d-2640-fe0f","1f9da-1f3fc-200d-2640-fe0f","1f9da-1f3fd-200d-2640-fe0f","1f9da-1f3fe-200d-2640-fe0f","1f9da-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["vampire"],u:"1f9db",v:["1f9db-1f3fb","1f9db-1f3fc","1f9db-1f3fd","1f9db-1f3fe","1f9db-1f3ff"],a:"5.0"},{n:["man vampire","male vampire"],u:"1f9db-200d-2642-fe0f",v:["1f9db-1f3fb-200d-2642-fe0f","1f9db-1f3fc-200d-2642-fe0f","1f9db-1f3fd-200d-2642-fe0f","1f9db-1f3fe-200d-2642-fe0f","1f9db-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman vampire","female vampire"],u:"1f9db-200d-2640-fe0f",v:["1f9db-1f3fb-200d-2640-fe0f","1f9db-1f3fc-200d-2640-fe0f","1f9db-1f3fd-200d-2640-fe0f","1f9db-1f3fe-200d-2640-fe0f","1f9db-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["merperson"],u:"1f9dc",v:["1f9dc-1f3fb","1f9dc-1f3fc","1f9dc-1f3fd","1f9dc-1f3fe","1f9dc-1f3ff"],a:"5.0"},{n:["merman"],u:"1f9dc-200d-2642-fe0f",v:["1f9dc-1f3fb-200d-2642-fe0f","1f9dc-1f3fc-200d-2642-fe0f","1f9dc-1f3fd-200d-2642-fe0f","1f9dc-1f3fe-200d-2642-fe0f","1f9dc-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["mermaid"],u:"1f9dc-200d-2640-fe0f",v:["1f9dc-1f3fb-200d-2640-fe0f","1f9dc-1f3fc-200d-2640-fe0f","1f9dc-1f3fd-200d-2640-fe0f","1f9dc-1f3fe-200d-2640-fe0f","1f9dc-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["elf"],u:"1f9dd",v:["1f9dd-1f3fb","1f9dd-1f3fc","1f9dd-1f3fd","1f9dd-1f3fe","1f9dd-1f3ff"],a:"5.0"},{n:["man elf","male elf"],u:"1f9dd-200d-2642-fe0f",v:["1f9dd-1f3fb-200d-2642-fe0f","1f9dd-1f3fc-200d-2642-fe0f","1f9dd-1f3fd-200d-2642-fe0f","1f9dd-1f3fe-200d-2642-fe0f","1f9dd-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman elf","female elf"],u:"1f9dd-200d-2640-fe0f",v:["1f9dd-1f3fb-200d-2640-fe0f","1f9dd-1f3fc-200d-2640-fe0f","1f9dd-1f3fd-200d-2640-fe0f","1f9dd-1f3fe-200d-2640-fe0f","1f9dd-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["genie"],u:"1f9de",a:"5.0"},{n:["man genie","male genie"],u:"1f9de-200d-2642-fe0f",a:"5.0"},{n:["woman genie","female genie"],u:"1f9de-200d-2640-fe0f",a:"5.0"},{n:["zombie"],u:"1f9df",a:"5.0"},{n:["man zombie","male zombie"],u:"1f9df-200d-2642-fe0f",a:"5.0"},{n:["woman zombie","female zombie"],u:"1f9df-200d-2640-fe0f",a:"5.0"},{n:["troll"],u:"1f9cc",a:"14.0"},{n:["massage","face massage"],u:"1f486",v:["1f486-1f3fb","1f486-1f3fc","1f486-1f3fd","1f486-1f3fe","1f486-1f3ff"],a:"0.6"},{n:["man getting massage","man-getting-massage"],u:"1f486-200d-2642-fe0f",v:["1f486-1f3fb-200d-2642-fe0f","1f486-1f3fc-200d-2642-fe0f","1f486-1f3fd-200d-2642-fe0f","1f486-1f3fe-200d-2642-fe0f","1f486-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman getting massage","woman-getting-massage"],u:"1f486-200d-2640-fe0f",v:["1f486-1f3fb-200d-2640-fe0f","1f486-1f3fc-200d-2640-fe0f","1f486-1f3fd-200d-2640-fe0f","1f486-1f3fe-200d-2640-fe0f","1f486-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["haircut"],u:"1f487",v:["1f487-1f3fb","1f487-1f3fc","1f487-1f3fd","1f487-1f3fe","1f487-1f3ff"],a:"0.6"},{n:["man getting haircut","man-getting-haircut"],u:"1f487-200d-2642-fe0f",v:["1f487-1f3fb-200d-2642-fe0f","1f487-1f3fc-200d-2642-fe0f","1f487-1f3fd-200d-2642-fe0f","1f487-1f3fe-200d-2642-fe0f","1f487-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman getting haircut","woman-getting-haircut"],u:"1f487-200d-2640-fe0f",v:["1f487-1f3fb-200d-2640-fe0f","1f487-1f3fc-200d-2640-fe0f","1f487-1f3fd-200d-2640-fe0f","1f487-1f3fe-200d-2640-fe0f","1f487-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["walking","pedestrian"],u:"1f6b6",v:["1f6b6-1f3fb","1f6b6-1f3fc","1f6b6-1f3fd","1f6b6-1f3fe","1f6b6-1f3ff"],a:"0.6"},{n:["man walking","man-walking"],u:"1f6b6-200d-2642-fe0f",v:["1f6b6-1f3fb-200d-2642-fe0f","1f6b6-1f3fc-200d-2642-fe0f","1f6b6-1f3fd-200d-2642-fe0f","1f6b6-1f3fe-200d-2642-fe0f","1f6b6-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman walking","woman-walking"],u:"1f6b6-200d-2640-fe0f",v:["1f6b6-1f3fb-200d-2640-fe0f","1f6b6-1f3fc-200d-2640-fe0f","1f6b6-1f3fd-200d-2640-fe0f","1f6b6-1f3fe-200d-2640-fe0f","1f6b6-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["standing person"],u:"1f9cd",v:["1f9cd-1f3fb","1f9cd-1f3fc","1f9cd-1f3fd","1f9cd-1f3fe","1f9cd-1f3ff"],a:"12.0"},{n:["man standing"],u:"1f9cd-200d-2642-fe0f",v:["1f9cd-1f3fb-200d-2642-fe0f","1f9cd-1f3fc-200d-2642-fe0f","1f9cd-1f3fd-200d-2642-fe0f","1f9cd-1f3fe-200d-2642-fe0f","1f9cd-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["woman standing"],u:"1f9cd-200d-2640-fe0f",v:["1f9cd-1f3fb-200d-2640-fe0f","1f9cd-1f3fc-200d-2640-fe0f","1f9cd-1f3fd-200d-2640-fe0f","1f9cd-1f3fe-200d-2640-fe0f","1f9cd-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["kneeling person"],u:"1f9ce",v:["1f9ce-1f3fb","1f9ce-1f3fc","1f9ce-1f3fd","1f9ce-1f3fe","1f9ce-1f3ff"],a:"12.0"},{n:["man kneeling"],u:"1f9ce-200d-2642-fe0f",v:["1f9ce-1f3fb-200d-2642-fe0f","1f9ce-1f3fc-200d-2642-fe0f","1f9ce-1f3fd-200d-2642-fe0f","1f9ce-1f3fe-200d-2642-fe0f","1f9ce-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["woman kneeling"],u:"1f9ce-200d-2640-fe0f",v:["1f9ce-1f3fb-200d-2640-fe0f","1f9ce-1f3fc-200d-2640-fe0f","1f9ce-1f3fd-200d-2640-fe0f","1f9ce-1f3fe-200d-2640-fe0f","1f9ce-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["person with white cane","person with probing cane"],u:"1f9d1-200d-1f9af",v:["1f9d1-1f3fb-200d-1f9af","1f9d1-1f3fc-200d-1f9af","1f9d1-1f3fd-200d-1f9af","1f9d1-1f3fe-200d-1f9af","1f9d1-1f3ff-200d-1f9af"],a:"12.1"},{n:["man with white cane","man with probing cane"],u:"1f468-200d-1f9af",v:["1f468-1f3fb-200d-1f9af","1f468-1f3fc-200d-1f9af","1f468-1f3fd-200d-1f9af","1f468-1f3fe-200d-1f9af","1f468-1f3ff-200d-1f9af"],a:"12.0"},{n:["woman with white cane","woman with probing cane"],u:"1f469-200d-1f9af",v:["1f469-1f3fb-200d-1f9af","1f469-1f3fc-200d-1f9af","1f469-1f3fd-200d-1f9af","1f469-1f3fe-200d-1f9af","1f469-1f3ff-200d-1f9af"],a:"12.0"},{n:["person in motorized wheelchair"],u:"1f9d1-200d-1f9bc",v:["1f9d1-1f3fb-200d-1f9bc","1f9d1-1f3fc-200d-1f9bc","1f9d1-1f3fd-200d-1f9bc","1f9d1-1f3fe-200d-1f9bc","1f9d1-1f3ff-200d-1f9bc"],a:"12.1"},{n:["man in motorized wheelchair"],u:"1f468-200d-1f9bc",v:["1f468-1f3fb-200d-1f9bc","1f468-1f3fc-200d-1f9bc","1f468-1f3fd-200d-1f9bc","1f468-1f3fe-200d-1f9bc","1f468-1f3ff-200d-1f9bc"],a:"12.0"},{n:["woman in motorized wheelchair"],u:"1f469-200d-1f9bc",v:["1f469-1f3fb-200d-1f9bc","1f469-1f3fc-200d-1f9bc","1f469-1f3fd-200d-1f9bc","1f469-1f3fe-200d-1f9bc","1f469-1f3ff-200d-1f9bc"],a:"12.0"},{n:["person in manual wheelchair"],u:"1f9d1-200d-1f9bd",v:["1f9d1-1f3fb-200d-1f9bd","1f9d1-1f3fc-200d-1f9bd","1f9d1-1f3fd-200d-1f9bd","1f9d1-1f3fe-200d-1f9bd","1f9d1-1f3ff-200d-1f9bd"],a:"12.1"},{n:["man in manual wheelchair"],u:"1f468-200d-1f9bd",v:["1f468-1f3fb-200d-1f9bd","1f468-1f3fc-200d-1f9bd","1f468-1f3fd-200d-1f9bd","1f468-1f3fe-200d-1f9bd","1f468-1f3ff-200d-1f9bd"],a:"12.0"},{n:["woman in manual wheelchair"],u:"1f469-200d-1f9bd",v:["1f469-1f3fb-200d-1f9bd","1f469-1f3fc-200d-1f9bd","1f469-1f3fd-200d-1f9bd","1f469-1f3fe-200d-1f9bd","1f469-1f3ff-200d-1f9bd"],a:"12.0"},{n:["runner","running"],u:"1f3c3",v:["1f3c3-1f3fb","1f3c3-1f3fc","1f3c3-1f3fd","1f3c3-1f3fe","1f3c3-1f3ff"],a:"0.6"},{n:["man running","man-running"],u:"1f3c3-200d-2642-fe0f",v:["1f3c3-1f3fb-200d-2642-fe0f","1f3c3-1f3fc-200d-2642-fe0f","1f3c3-1f3fd-200d-2642-fe0f","1f3c3-1f3fe-200d-2642-fe0f","1f3c3-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman running","woman-running"],u:"1f3c3-200d-2640-fe0f",v:["1f3c3-1f3fb-200d-2640-fe0f","1f3c3-1f3fc-200d-2640-fe0f","1f3c3-1f3fd-200d-2640-fe0f","1f3c3-1f3fe-200d-2640-fe0f","1f3c3-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["dancer"],u:"1f483",v:["1f483-1f3fb","1f483-1f3fc","1f483-1f3fd","1f483-1f3fe","1f483-1f3ff"],a:"0.6"},{n:["man dancing"],u:"1f57a",v:["1f57a-1f3fb","1f57a-1f3fc","1f57a-1f3fd","1f57a-1f3fe","1f57a-1f3ff"],a:"3.0"},{n:["person in suit levitating","man in business suit levitating"],u:"1f574-fe0f",v:["1f574-1f3fb","1f574-1f3fc","1f574-1f3fd","1f574-1f3fe","1f574-1f3ff"],a:"0.7"},{n:["dancers","woman with bunny ears"],u:"1f46f",a:"0.6"},{n:["men with bunny ears","men-with-bunny-ears-partying","man-with-bunny-ears-partying"],u:"1f46f-200d-2642-fe0f",a:"4.0"},{n:["women with bunny ears","women-with-bunny-ears-partying","woman-with-bunny-ears-partying"],u:"1f46f-200d-2640-fe0f",a:"4.0"},{n:["person in steamy room"],u:"1f9d6",v:["1f9d6-1f3fb","1f9d6-1f3fc","1f9d6-1f3fd","1f9d6-1f3fe","1f9d6-1f3ff"],a:"5.0"},{n:["man in steamy room"],u:"1f9d6-200d-2642-fe0f",v:["1f9d6-1f3fb-200d-2642-fe0f","1f9d6-1f3fc-200d-2642-fe0f","1f9d6-1f3fd-200d-2642-fe0f","1f9d6-1f3fe-200d-2642-fe0f","1f9d6-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman in steamy room"],u:"1f9d6-200d-2640-fe0f",v:["1f9d6-1f3fb-200d-2640-fe0f","1f9d6-1f3fc-200d-2640-fe0f","1f9d6-1f3fd-200d-2640-fe0f","1f9d6-1f3fe-200d-2640-fe0f","1f9d6-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["person climbing"],u:"1f9d7",v:["1f9d7-1f3fb","1f9d7-1f3fc","1f9d7-1f3fd","1f9d7-1f3fe","1f9d7-1f3ff"],a:"5.0"},{n:["man climbing"],u:"1f9d7-200d-2642-fe0f",v:["1f9d7-1f3fb-200d-2642-fe0f","1f9d7-1f3fc-200d-2642-fe0f","1f9d7-1f3fd-200d-2642-fe0f","1f9d7-1f3fe-200d-2642-fe0f","1f9d7-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman climbing"],u:"1f9d7-200d-2640-fe0f",v:["1f9d7-1f3fb-200d-2640-fe0f","1f9d7-1f3fc-200d-2640-fe0f","1f9d7-1f3fd-200d-2640-fe0f","1f9d7-1f3fe-200d-2640-fe0f","1f9d7-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["fencer"],u:"1f93a",a:"3.0"},{n:["horse racing"],u:"1f3c7",v:["1f3c7-1f3fb","1f3c7-1f3fc","1f3c7-1f3fd","1f3c7-1f3fe","1f3c7-1f3ff"],a:"1.0"},{n:["skier"],u:"26f7-fe0f",a:"0.7"},{n:["snowboarder"],u:"1f3c2",v:["1f3c2-1f3fb","1f3c2-1f3fc","1f3c2-1f3fd","1f3c2-1f3fe","1f3c2-1f3ff"],a:"0.6"},{n:["golfer","person golfing"],u:"1f3cc-fe0f",v:["1f3cc-1f3fb","1f3cc-1f3fc","1f3cc-1f3fd","1f3cc-1f3fe","1f3cc-1f3ff"],a:"0.7"},{n:["man golfing","man-golfing"],u:"1f3cc-fe0f-200d-2642-fe0f",v:["1f3cc-1f3fb-200d-2642-fe0f","1f3cc-1f3fc-200d-2642-fe0f","1f3cc-1f3fd-200d-2642-fe0f","1f3cc-1f3fe-200d-2642-fe0f","1f3cc-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman golfing","woman-golfing"],u:"1f3cc-fe0f-200d-2640-fe0f",v:["1f3cc-1f3fb-200d-2640-fe0f","1f3cc-1f3fc-200d-2640-fe0f","1f3cc-1f3fd-200d-2640-fe0f","1f3cc-1f3fe-200d-2640-fe0f","1f3cc-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["surfer"],u:"1f3c4",v:["1f3c4-1f3fb","1f3c4-1f3fc","1f3c4-1f3fd","1f3c4-1f3fe","1f3c4-1f3ff"],a:"0.6"},{n:["man surfing","man-surfing"],u:"1f3c4-200d-2642-fe0f",v:["1f3c4-1f3fb-200d-2642-fe0f","1f3c4-1f3fc-200d-2642-fe0f","1f3c4-1f3fd-200d-2642-fe0f","1f3c4-1f3fe-200d-2642-fe0f","1f3c4-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman surfing","woman-surfing"],u:"1f3c4-200d-2640-fe0f",v:["1f3c4-1f3fb-200d-2640-fe0f","1f3c4-1f3fc-200d-2640-fe0f","1f3c4-1f3fd-200d-2640-fe0f","1f3c4-1f3fe-200d-2640-fe0f","1f3c4-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["rowboat"],u:"1f6a3",v:["1f6a3-1f3fb","1f6a3-1f3fc","1f6a3-1f3fd","1f6a3-1f3fe","1f6a3-1f3ff"],a:"1.0"},{n:["man rowing boat","man-rowing-boat"],u:"1f6a3-200d-2642-fe0f",v:["1f6a3-1f3fb-200d-2642-fe0f","1f6a3-1f3fc-200d-2642-fe0f","1f6a3-1f3fd-200d-2642-fe0f","1f6a3-1f3fe-200d-2642-fe0f","1f6a3-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman rowing boat","woman-rowing-boat"],u:"1f6a3-200d-2640-fe0f",v:["1f6a3-1f3fb-200d-2640-fe0f","1f6a3-1f3fc-200d-2640-fe0f","1f6a3-1f3fd-200d-2640-fe0f","1f6a3-1f3fe-200d-2640-fe0f","1f6a3-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["swimmer"],u:"1f3ca",v:["1f3ca-1f3fb","1f3ca-1f3fc","1f3ca-1f3fd","1f3ca-1f3fe","1f3ca-1f3ff"],a:"0.6"},{n:["man swimming","man-swimming"],u:"1f3ca-200d-2642-fe0f",v:["1f3ca-1f3fb-200d-2642-fe0f","1f3ca-1f3fc-200d-2642-fe0f","1f3ca-1f3fd-200d-2642-fe0f","1f3ca-1f3fe-200d-2642-fe0f","1f3ca-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman swimming","woman-swimming"],u:"1f3ca-200d-2640-fe0f",v:["1f3ca-1f3fb-200d-2640-fe0f","1f3ca-1f3fc-200d-2640-fe0f","1f3ca-1f3fd-200d-2640-fe0f","1f3ca-1f3fe-200d-2640-fe0f","1f3ca-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with ball","person bouncing ball"],u:"26f9-fe0f",v:["26f9-1f3fb","26f9-1f3fc","26f9-1f3fd","26f9-1f3fe","26f9-1f3ff"],a:"0.7"},{n:["man bouncing ball","man-bouncing-ball"],u:"26f9-fe0f-200d-2642-fe0f",v:["26f9-1f3fb-200d-2642-fe0f","26f9-1f3fc-200d-2642-fe0f","26f9-1f3fd-200d-2642-fe0f","26f9-1f3fe-200d-2642-fe0f","26f9-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman bouncing ball","woman-bouncing-ball"],u:"26f9-fe0f-200d-2640-fe0f",v:["26f9-1f3fb-200d-2640-fe0f","26f9-1f3fc-200d-2640-fe0f","26f9-1f3fd-200d-2640-fe0f","26f9-1f3fe-200d-2640-fe0f","26f9-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["weight lifter","person lifting weights"],u:"1f3cb-fe0f",v:["1f3cb-1f3fb","1f3cb-1f3fc","1f3cb-1f3fd","1f3cb-1f3fe","1f3cb-1f3ff"],a:"0.7"},{n:["man lifting weights","man-lifting-weights"],u:"1f3cb-fe0f-200d-2642-fe0f",v:["1f3cb-1f3fb-200d-2642-fe0f","1f3cb-1f3fc-200d-2642-fe0f","1f3cb-1f3fd-200d-2642-fe0f","1f3cb-1f3fe-200d-2642-fe0f","1f3cb-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman lifting weights","woman-lifting-weights"],u:"1f3cb-fe0f-200d-2640-fe0f",v:["1f3cb-1f3fb-200d-2640-fe0f","1f3cb-1f3fc-200d-2640-fe0f","1f3cb-1f3fd-200d-2640-fe0f","1f3cb-1f3fe-200d-2640-fe0f","1f3cb-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["bicyclist"],u:"1f6b4",v:["1f6b4-1f3fb","1f6b4-1f3fc","1f6b4-1f3fd","1f6b4-1f3fe","1f6b4-1f3ff"],a:"1.0"},{n:["man biking","man-biking"],u:"1f6b4-200d-2642-fe0f",v:["1f6b4-1f3fb-200d-2642-fe0f","1f6b4-1f3fc-200d-2642-fe0f","1f6b4-1f3fd-200d-2642-fe0f","1f6b4-1f3fe-200d-2642-fe0f","1f6b4-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman biking","woman-biking"],u:"1f6b4-200d-2640-fe0f",v:["1f6b4-1f3fb-200d-2640-fe0f","1f6b4-1f3fc-200d-2640-fe0f","1f6b4-1f3fd-200d-2640-fe0f","1f6b4-1f3fe-200d-2640-fe0f","1f6b4-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["mountain bicyclist"],u:"1f6b5",v:["1f6b5-1f3fb","1f6b5-1f3fc","1f6b5-1f3fd","1f6b5-1f3fe","1f6b5-1f3ff"],a:"1.0"},{n:["man mountain biking","man-mountain-biking"],u:"1f6b5-200d-2642-fe0f",v:["1f6b5-1f3fb-200d-2642-fe0f","1f6b5-1f3fc-200d-2642-fe0f","1f6b5-1f3fd-200d-2642-fe0f","1f6b5-1f3fe-200d-2642-fe0f","1f6b5-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman mountain biking","woman-mountain-biking"],u:"1f6b5-200d-2640-fe0f",v:["1f6b5-1f3fb-200d-2640-fe0f","1f6b5-1f3fc-200d-2640-fe0f","1f6b5-1f3fd-200d-2640-fe0f","1f6b5-1f3fe-200d-2640-fe0f","1f6b5-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person doing cartwheel"],u:"1f938",v:["1f938-1f3fb","1f938-1f3fc","1f938-1f3fd","1f938-1f3fe","1f938-1f3ff"],a:"3.0"},{n:["man cartwheeling","man-cartwheeling"],u:"1f938-200d-2642-fe0f",v:["1f938-1f3fb-200d-2642-fe0f","1f938-1f3fc-200d-2642-fe0f","1f938-1f3fd-200d-2642-fe0f","1f938-1f3fe-200d-2642-fe0f","1f938-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman cartwheeling","woman-cartwheeling"],u:"1f938-200d-2640-fe0f",v:["1f938-1f3fb-200d-2640-fe0f","1f938-1f3fc-200d-2640-fe0f","1f938-1f3fd-200d-2640-fe0f","1f938-1f3fe-200d-2640-fe0f","1f938-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["wrestlers"],u:"1f93c",a:"3.0"},{n:["men wrestling","man-wrestling"],u:"1f93c-200d-2642-fe0f",a:"4.0"},{n:["women wrestling","woman-wrestling"],u:"1f93c-200d-2640-fe0f",a:"4.0"},{n:["water polo"],u:"1f93d",v:["1f93d-1f3fb","1f93d-1f3fc","1f93d-1f3fd","1f93d-1f3fe","1f93d-1f3ff"],a:"3.0"},{n:["man playing water polo","man-playing-water-polo"],u:"1f93d-200d-2642-fe0f",v:["1f93d-1f3fb-200d-2642-fe0f","1f93d-1f3fc-200d-2642-fe0f","1f93d-1f3fd-200d-2642-fe0f","1f93d-1f3fe-200d-2642-fe0f","1f93d-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman playing water polo","woman-playing-water-polo"],u:"1f93d-200d-2640-fe0f",v:["1f93d-1f3fb-200d-2640-fe0f","1f93d-1f3fc-200d-2640-fe0f","1f93d-1f3fd-200d-2640-fe0f","1f93d-1f3fe-200d-2640-fe0f","1f93d-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["handball"],u:"1f93e",v:["1f93e-1f3fb","1f93e-1f3fc","1f93e-1f3fd","1f93e-1f3fe","1f93e-1f3ff"],a:"3.0"},{n:["man playing handball","man-playing-handball"],u:"1f93e-200d-2642-fe0f",v:["1f93e-1f3fb-200d-2642-fe0f","1f93e-1f3fc-200d-2642-fe0f","1f93e-1f3fd-200d-2642-fe0f","1f93e-1f3fe-200d-2642-fe0f","1f93e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman playing handball","woman-playing-handball"],u:"1f93e-200d-2640-fe0f",v:["1f93e-1f3fb-200d-2640-fe0f","1f93e-1f3fc-200d-2640-fe0f","1f93e-1f3fd-200d-2640-fe0f","1f93e-1f3fe-200d-2640-fe0f","1f93e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["juggling"],u:"1f939",v:["1f939-1f3fb","1f939-1f3fc","1f939-1f3fd","1f939-1f3fe","1f939-1f3ff"],a:"3.0"},{n:["man juggling","man-juggling"],u:"1f939-200d-2642-fe0f",v:["1f939-1f3fb-200d-2642-fe0f","1f939-1f3fc-200d-2642-fe0f","1f939-1f3fd-200d-2642-fe0f","1f939-1f3fe-200d-2642-fe0f","1f939-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman juggling","woman-juggling"],u:"1f939-200d-2640-fe0f",v:["1f939-1f3fb-200d-2640-fe0f","1f939-1f3fc-200d-2640-fe0f","1f939-1f3fd-200d-2640-fe0f","1f939-1f3fe-200d-2640-fe0f","1f939-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person in lotus position"],u:"1f9d8",v:["1f9d8-1f3fb","1f9d8-1f3fc","1f9d8-1f3fd","1f9d8-1f3fe","1f9d8-1f3ff"],a:"5.0"},{n:["man in lotus position"],u:"1f9d8-200d-2642-fe0f",v:["1f9d8-1f3fb-200d-2642-fe0f","1f9d8-1f3fc-200d-2642-fe0f","1f9d8-1f3fd-200d-2642-fe0f","1f9d8-1f3fe-200d-2642-fe0f","1f9d8-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman in lotus position"],u:"1f9d8-200d-2640-fe0f",v:["1f9d8-1f3fb-200d-2640-fe0f","1f9d8-1f3fc-200d-2640-fe0f","1f9d8-1f3fd-200d-2640-fe0f","1f9d8-1f3fe-200d-2640-fe0f","1f9d8-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["bath"],u:"1f6c0",v:["1f6c0-1f3fb","1f6c0-1f3fc","1f6c0-1f3fd","1f6c0-1f3fe","1f6c0-1f3ff"],a:"0.6"},{n:["sleeping accommodation"],u:"1f6cc",v:["1f6cc-1f3fb","1f6cc-1f3fc","1f6cc-1f3fd","1f6cc-1f3fe","1f6cc-1f3ff"],a:"1.0"},{n:["people holding hands"],u:"1f9d1-200d-1f91d-200d-1f9d1",v:["1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3ff"],a:"12.0"},{n:["women holding hands","two women holding hands"],u:"1f46d",v:["1f46d-1f3fb","1f46d-1f3fc","1f46d-1f3fd","1f46d-1f3fe","1f46d-1f3ff","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fb-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fc-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fd-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fe-200d-1f91d-200d-1f469-1f3ff","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fb","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fc","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fd","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fe"],a:"1.0"},{n:["couple","man and woman holding hands","woman and man holding hands"],u:"1f46b",v:["1f46b-1f3fb","1f46b-1f3fc","1f46b-1f3fd","1f46b-1f3fe","1f46b-1f3ff","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fb-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fc-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fd-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fe-200d-1f91d-200d-1f468-1f3ff","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fb","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fc","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fd","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fe"],a:"0.6"},{n:["men holding hands","two men holding hands"],u:"1f46c",v:["1f46c-1f3fb","1f46c-1f3fc","1f46c-1f3fd","1f46c-1f3fe","1f46c-1f3ff","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fb-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fc-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fd-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fe-200d-1f91d-200d-1f468-1f3ff","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fb","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fc","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fd","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fe"],a:"1.0"},{n:["kiss","couplekiss"],u:"1f48f",v:["1f48f-1f3fb","1f48f-1f3fc","1f48f-1f3fd","1f48f-1f3fe","1f48f-1f3ff","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe"],a:"0.6"},{n:["woman-kiss-man","kiss: woman, man"],u:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f468",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"],a:"2.0"},{n:["man-kiss-man","kiss: man, man"],u:"1f468-200d-2764-fe0f-200d-1f48b-200d-1f468",v:["1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"],a:"2.0"},{n:["woman-kiss-woman","kiss: woman, woman"],u:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f469",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff"],a:"2.0"},{n:["couple with heart"],u:"1f491",v:["1f491-1f3fb","1f491-1f3fc","1f491-1f3fd","1f491-1f3fe","1f491-1f3ff","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fe"],a:"0.6"},{n:["woman-heart-man","couple with heart: woman, man"],u:"1f469-200d-2764-fe0f-200d-1f468",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff"],a:"2.0"},{n:["man-heart-man","couple with heart: man, man"],u:"1f468-200d-2764-fe0f-200d-1f468",v:["1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff"],a:"2.0"},{n:["woman-heart-woman","couple with heart: woman, woman"],u:"1f469-200d-2764-fe0f-200d-1f469",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3ff"],a:"2.0"},{n:["family"],u:"1f46a",a:"0.6"},{n:["man-woman-boy","family: man, woman, boy"],u:"1f468-200d-1f469-200d-1f466",a:"2.0"},{n:["man-woman-girl","family: man, woman, girl"],u:"1f468-200d-1f469-200d-1f467",a:"2.0"},{n:["man-woman-girl-boy","family: man, woman, girl, boy"],u:"1f468-200d-1f469-200d-1f467-200d-1f466",a:"2.0"},{n:["man-woman-boy-boy","family: man, woman, boy, boy"],u:"1f468-200d-1f469-200d-1f466-200d-1f466",a:"2.0"},{n:["man-woman-girl-girl","family: man, woman, girl, girl"],u:"1f468-200d-1f469-200d-1f467-200d-1f467",a:"2.0"},{n:["man-man-boy","family: man, man, boy"],u:"1f468-200d-1f468-200d-1f466",a:"2.0"},{n:["man-man-girl","family: man, man, girl"],u:"1f468-200d-1f468-200d-1f467",a:"2.0"},{n:["man-man-girl-boy","family: man, man, girl, boy"],u:"1f468-200d-1f468-200d-1f467-200d-1f466",a:"2.0"},{n:["man-man-boy-boy","family: man, man, boy, boy"],u:"1f468-200d-1f468-200d-1f466-200d-1f466",a:"2.0"},{n:["man-man-girl-girl","family: man, man, girl, girl"],u:"1f468-200d-1f468-200d-1f467-200d-1f467",a:"2.0"},{n:["woman-woman-boy","family: woman, woman, boy"],u:"1f469-200d-1f469-200d-1f466",a:"2.0"},{n:["woman-woman-girl","family: woman, woman, girl"],u:"1f469-200d-1f469-200d-1f467",a:"2.0"},{n:["woman-woman-girl-boy","family: woman, woman, girl, boy"],u:"1f469-200d-1f469-200d-1f467-200d-1f466",a:"2.0"},{n:["woman-woman-boy-boy","family: woman, woman, boy, boy"],u:"1f469-200d-1f469-200d-1f466-200d-1f466",a:"2.0"},{n:["woman-woman-girl-girl","family: woman, woman, girl, girl"],u:"1f469-200d-1f469-200d-1f467-200d-1f467",a:"2.0"},{n:["man-boy","family: man, boy"],u:"1f468-200d-1f466",a:"4.0"},{n:["man-boy-boy","family: man, boy, boy"],u:"1f468-200d-1f466-200d-1f466",a:"4.0"},{n:["man-girl","family: man, girl"],u:"1f468-200d-1f467",a:"4.0"},{n:["man-girl-boy","family: man, girl, boy"],u:"1f468-200d-1f467-200d-1f466",a:"4.0"},{n:["man-girl-girl","family: man, girl, girl"],u:"1f468-200d-1f467-200d-1f467",a:"4.0"},{n:["woman-boy","family: woman, boy"],u:"1f469-200d-1f466",a:"4.0"},{n:["woman-boy-boy","family: woman, boy, boy"],u:"1f469-200d-1f466-200d-1f466",a:"4.0"},{n:["woman-girl","family: woman, girl"],u:"1f469-200d-1f467",a:"4.0"},{n:["woman-girl-boy","family: woman, girl, boy"],u:"1f469-200d-1f467-200d-1f466",a:"4.0"},{n:["woman-girl-girl","family: woman, girl, girl"],u:"1f469-200d-1f467-200d-1f467",a:"4.0"},{n:["speaking head","speaking head in silhouette"],u:"1f5e3-fe0f",a:"0.7"},{n:["bust in silhouette"],u:"1f464",a:"0.6"},{n:["busts in silhouette"],u:"1f465",a:"1.0"},{n:["people hugging"],u:"1fac2",a:"13.0"},{n:["footprints"],u:"1f463",a:"0.6"}],x1=[{n:["monkey face"],u:"1f435",a:"0.6"},{n:["monkey"],u:"1f412",a:"0.6"},{n:["gorilla"],u:"1f98d",a:"3.0"},{n:["orangutan"],u:"1f9a7",a:"12.0"},{n:["dog","dog face"],u:"1f436",a:"0.6"},{n:["dog","dog2"],u:"1f415",a:"0.7"},{n:["guide dog"],u:"1f9ae",a:"12.0"},{n:["service dog"],u:"1f415-200d-1f9ba",a:"12.0"},{n:["poodle"],u:"1f429",a:"0.6"},{n:["wolf","wolf face"],u:"1f43a",a:"0.6"},{n:["fox face"],u:"1f98a",a:"3.0"},{n:["raccoon"],u:"1f99d",a:"11.0"},{n:["cat","cat face"],u:"1f431",a:"0.6"},{n:["cat","cat2"],u:"1f408",a:"0.7"},{n:["black cat"],u:"1f408-200d-2b1b",a:"13.0"},{n:["lion face"],u:"1f981",a:"1.0"},{n:["tiger","tiger face"],u:"1f42f",a:"0.6"},{n:["tiger","tiger2"],u:"1f405",a:"1.0"},{n:["leopard"],u:"1f406",a:"1.0"},{n:["horse","horse face"],u:"1f434",a:"0.6"},{n:["horse","racehorse"],u:"1f40e",a:"0.6"},{n:["unicorn face"],u:"1f984",a:"1.0"},{n:["zebra face"],u:"1f993",a:"5.0"},{n:["deer"],u:"1f98c",a:"3.0"},{n:["bison"],u:"1f9ac",a:"13.0"},{n:["cow","cow face"],u:"1f42e",a:"0.6"},{n:["ox"],u:"1f402",a:"1.0"},{n:["water buffalo"],u:"1f403",a:"1.0"},{n:["cow","cow2"],u:"1f404",a:"1.0"},{n:["pig","pig face"],u:"1f437",a:"0.6"},{n:["pig","pig2"],u:"1f416",a:"1.0"},{n:["boar"],u:"1f417",a:"0.6"},{n:["pig nose"],u:"1f43d",a:"0.6"},{n:["ram"],u:"1f40f",a:"1.0"},{n:["sheep"],u:"1f411",a:"0.6"},{n:["goat"],u:"1f410",a:"1.0"},{n:["dromedary camel"],u:"1f42a",a:"1.0"},{n:["camel","bactrian camel"],u:"1f42b",a:"0.6"},{n:["llama"],u:"1f999",a:"11.0"},{n:["giraffe face"],u:"1f992",a:"5.0"},{n:["elephant"],u:"1f418",a:"0.6"},{n:["mammoth"],u:"1f9a3",a:"13.0"},{n:["rhinoceros"],u:"1f98f",a:"3.0"},{n:["hippopotamus"],u:"1f99b",a:"11.0"},{n:["mouse","mouse face"],u:"1f42d",a:"0.6"},{n:["mouse","mouse2"],u:"1f401",a:"1.0"},{n:["rat"],u:"1f400",a:"1.0"},{n:["hamster","hamster face"],u:"1f439",a:"0.6"},{n:["rabbit","rabbit face"],u:"1f430",a:"0.6"},{n:["rabbit","rabbit2"],u:"1f407",a:"1.0"},{n:["chipmunk"],u:"1f43f-fe0f",a:"0.7"},{n:["beaver"],u:"1f9ab",a:"13.0"},{n:["hedgehog"],u:"1f994",a:"5.0"},{n:["bat"],u:"1f987",a:"3.0"},{n:["bear","bear face"],u:"1f43b",a:"0.6"},{n:["polar bear"],u:"1f43b-200d-2744-fe0f",a:"13.0"},{n:["koala"],u:"1f428",a:"0.6"},{n:["panda face"],u:"1f43c",a:"0.6"},{n:["sloth"],u:"1f9a5",a:"12.0"},{n:["otter"],u:"1f9a6",a:"12.0"},{n:["skunk"],u:"1f9a8",a:"12.0"},{n:["kangaroo"],u:"1f998",a:"11.0"},{n:["badger"],u:"1f9a1",a:"11.0"},{n:["feet","paw prints"],u:"1f43e",a:"0.6"},{n:["turkey"],u:"1f983",a:"1.0"},{n:["chicken"],u:"1f414",a:"0.6"},{n:["rooster"],u:"1f413",a:"1.0"},{n:["hatching chick"],u:"1f423",a:"0.6"},{n:["baby chick"],u:"1f424",a:"0.6"},{n:["hatched chick","front-facing baby chick"],u:"1f425",a:"0.6"},{n:["bird"],u:"1f426",a:"0.6"},{n:["penguin"],u:"1f427",a:"0.6"},{n:["dove","dove of peace"],u:"1f54a-fe0f",a:"0.7"},{n:["eagle"],u:"1f985",a:"3.0"},{n:["duck"],u:"1f986",a:"3.0"},{n:["swan"],u:"1f9a2",a:"11.0"},{n:["owl"],u:"1f989",a:"3.0"},{n:["dodo"],u:"1f9a4",a:"13.0"},{n:["feather"],u:"1fab6",a:"13.0"},{n:["flamingo"],u:"1f9a9",a:"12.0"},{n:["peacock"],u:"1f99a",a:"11.0"},{n:["parrot"],u:"1f99c",a:"11.0"},{n:["frog","frog face"],u:"1f438",a:"0.6"},{n:["crocodile"],u:"1f40a",a:"1.0"},{n:["turtle"],u:"1f422",a:"0.6"},{n:["lizard"],u:"1f98e",a:"3.0"},{n:["snake"],u:"1f40d",a:"0.6"},{n:["dragon face"],u:"1f432",a:"0.6"},{n:["dragon"],u:"1f409",a:"1.0"},{n:["sauropod"],u:"1f995",a:"5.0"},{n:["t-rex"],u:"1f996",a:"5.0"},{n:["whale","spouting whale"],u:"1f433",a:"0.6"},{n:["whale","whale2"],u:"1f40b",a:"1.0"},{n:["dolphin","flipper"],u:"1f42c",a:"0.6"},{n:["seal"],u:"1f9ad",a:"13.0"},{n:["fish"],u:"1f41f",a:"0.6"},{n:["tropical fish"],u:"1f420",a:"0.6"},{n:["blowfish"],u:"1f421",a:"0.6"},{n:["shark"],u:"1f988",a:"3.0"},{n:["octopus"],u:"1f419",a:"0.6"},{n:["shell","spiral shell"],u:"1f41a",a:"0.6"},{n:["coral"],u:"1fab8",a:"14.0"},{n:["snail"],u:"1f40c",a:"0.6"},{n:["butterfly"],u:"1f98b",a:"3.0"},{n:["bug"],u:"1f41b",a:"0.6"},{n:["ant"],u:"1f41c",a:"0.6"},{n:["bee","honeybee"],u:"1f41d",a:"0.6"},{n:["beetle"],u:"1fab2",a:"13.0"},{n:["ladybug","lady beetle"],u:"1f41e",a:"0.6"},{n:["cricket"],u:"1f997",a:"5.0"},{n:["cockroach"],u:"1fab3",a:"13.0"},{n:["spider"],u:"1f577-fe0f",a:"0.7"},{n:["spider web"],u:"1f578-fe0f",a:"0.7"},{n:["scorpion"],u:"1f982",a:"1.0"},{n:["mosquito"],u:"1f99f",a:"11.0"},{n:["fly"],u:"1fab0",a:"13.0"},{n:["worm"],u:"1fab1",a:"13.0"},{n:["microbe"],u:"1f9a0",a:"11.0"},{n:["bouquet"],u:"1f490",a:"0.6"},{n:["cherry blossom"],u:"1f338",a:"0.6"},{n:["white flower"],u:"1f4ae",a:"0.6"},{n:["lotus"],u:"1fab7",a:"14.0"},{n:["rosette"],u:"1f3f5-fe0f",a:"0.7"},{n:["rose"],u:"1f339",a:"0.6"},{n:["wilted flower"],u:"1f940",a:"3.0"},{n:["hibiscus"],u:"1f33a",a:"0.6"},{n:["sunflower"],u:"1f33b",a:"0.6"},{n:["blossom"],u:"1f33c",a:"0.6"},{n:["tulip"],u:"1f337",a:"0.6"},{n:["seedling"],u:"1f331",a:"0.6"},{n:["potted plant"],u:"1fab4",a:"13.0"},{n:["evergreen tree"],u:"1f332",a:"1.0"},{n:["deciduous tree"],u:"1f333",a:"1.0"},{n:["palm tree"],u:"1f334",a:"0.6"},{n:["cactus"],u:"1f335",a:"0.6"},{n:["ear of rice"],u:"1f33e",a:"0.6"},{n:["herb"],u:"1f33f",a:"0.6"},{n:["shamrock"],u:"2618-fe0f",a:"1.0"},{n:["four leaf clover"],u:"1f340",a:"0.6"},{n:["maple leaf"],u:"1f341",a:"0.6"},{n:["fallen leaf"],u:"1f342",a:"0.6"},{n:["leaves","leaf fluttering in wind"],u:"1f343",a:"0.6"},{n:["empty nest"],u:"1fab9",a:"14.0"},{n:["nest with eggs"],u:"1faba",a:"14.0"}],S1=[{n:["grapes"],u:"1f347",a:"0.6"},{n:["melon"],u:"1f348",a:"0.6"},{n:["watermelon"],u:"1f349",a:"0.6"},{n:["tangerine"],u:"1f34a",a:"0.6"},{n:["lemon"],u:"1f34b",a:"1.0"},{n:["banana"],u:"1f34c",a:"0.6"},{n:["pineapple"],u:"1f34d",a:"0.6"},{n:["mango"],u:"1f96d",a:"11.0"},{n:["apple","red apple"],u:"1f34e",a:"0.6"},{n:["green apple"],u:"1f34f",a:"0.6"},{n:["pear"],u:"1f350",a:"1.0"},{n:["peach"],u:"1f351",a:"0.6"},{n:["cherries"],u:"1f352",a:"0.6"},{n:["strawberry"],u:"1f353",a:"0.6"},{n:["blueberries"],u:"1fad0",a:"13.0"},{n:["kiwifruit"],u:"1f95d",a:"3.0"},{n:["tomato"],u:"1f345",a:"0.6"},{n:["olive"],u:"1fad2",a:"13.0"},{n:["coconut"],u:"1f965",a:"5.0"},{n:["avocado"],u:"1f951",a:"3.0"},{n:["eggplant","aubergine"],u:"1f346",a:"0.6"},{n:["potato"],u:"1f954",a:"3.0"},{n:["carrot"],u:"1f955",a:"3.0"},{n:["corn","ear of maize"],u:"1f33d",a:"0.6"},{n:["hot pepper"],u:"1f336-fe0f",a:"0.7"},{n:["bell pepper"],u:"1fad1",a:"13.0"},{n:["cucumber"],u:"1f952",a:"3.0"},{n:["leafy green"],u:"1f96c",a:"11.0"},{n:["broccoli"],u:"1f966",a:"5.0"},{n:["garlic"],u:"1f9c4",a:"12.0"},{n:["onion"],u:"1f9c5",a:"12.0"},{n:["mushroom"],u:"1f344",a:"0.6"},{n:["peanuts"],u:"1f95c",a:"3.0"},{n:["beans"],u:"1fad8",a:"14.0"},{n:["chestnut"],u:"1f330",a:"0.6"},{n:["bread"],u:"1f35e",a:"0.6"},{n:["croissant"],u:"1f950",a:"3.0"},{n:["baguette bread"],u:"1f956",a:"3.0"},{n:["flatbread"],u:"1fad3",a:"13.0"},{n:["pretzel"],u:"1f968",a:"5.0"},{n:["bagel"],u:"1f96f",a:"11.0"},{n:["pancakes"],u:"1f95e",a:"3.0"},{n:["waffle"],u:"1f9c7",a:"12.0"},{n:["cheese wedge"],u:"1f9c0",a:"1.0"},{n:["meat on bone"],u:"1f356",a:"0.6"},{n:["poultry leg"],u:"1f357",a:"0.6"},{n:["cut of meat"],u:"1f969",a:"5.0"},{n:["bacon"],u:"1f953",a:"3.0"},{n:["hamburger"],u:"1f354",a:"0.6"},{n:["fries","french fries"],u:"1f35f",a:"0.6"},{n:["pizza","slice of pizza"],u:"1f355",a:"0.6"},{n:["hotdog","hot dog"],u:"1f32d",a:"1.0"},{n:["sandwich"],u:"1f96a",a:"5.0"},{n:["taco"],u:"1f32e",a:"1.0"},{n:["burrito"],u:"1f32f",a:"1.0"},{n:["tamale"],u:"1fad4",a:"13.0"},{n:["stuffed flatbread"],u:"1f959",a:"3.0"},{n:["falafel"],u:"1f9c6",a:"12.0"},{n:["egg"],u:"1f95a",a:"3.0"},{n:["cooking","fried egg"],u:"1f373",a:"0.6"},{n:["shallow pan of food"],u:"1f958",a:"3.0"},{n:["stew","pot of food"],u:"1f372",a:"0.6"},{n:["fondue"],u:"1fad5",a:"13.0"},{n:["bowl with spoon"],u:"1f963",a:"5.0"},{n:["green salad"],u:"1f957",a:"3.0"},{n:["popcorn"],u:"1f37f",a:"1.0"},{n:["butter"],u:"1f9c8",a:"12.0"},{n:["salt","salt shaker"],u:"1f9c2",a:"11.0"},{n:["canned food"],u:"1f96b",a:"5.0"},{n:["bento","bento box"],u:"1f371",a:"0.6"},{n:["rice cracker"],u:"1f358",a:"0.6"},{n:["rice ball"],u:"1f359",a:"0.6"},{n:["rice","cooked rice"],u:"1f35a",a:"0.6"},{n:["curry","curry and rice"],u:"1f35b",a:"0.6"},{n:["ramen","steaming bowl"],u:"1f35c",a:"0.6"},{n:["spaghetti"],u:"1f35d",a:"0.6"},{n:["sweet potato","roasted sweet potato"],u:"1f360",a:"0.6"},{n:["oden"],u:"1f362",a:"0.6"},{n:["sushi"],u:"1f363",a:"0.6"},{n:["fried shrimp"],u:"1f364",a:"0.6"},{n:["fish cake","fish cake with swirl design"],u:"1f365",a:"0.6"},{n:["moon cake"],u:"1f96e",a:"11.0"},{n:["dango"],u:"1f361",a:"0.6"},{n:["dumpling"],u:"1f95f",a:"5.0"},{n:["fortune cookie"],u:"1f960",a:"5.0"},{n:["takeout box"],u:"1f961",a:"5.0"},{n:["crab"],u:"1f980",a:"1.0"},{n:["lobster"],u:"1f99e",a:"11.0"},{n:["shrimp"],u:"1f990",a:"3.0"},{n:["squid"],u:"1f991",a:"3.0"},{n:["oyster"],u:"1f9aa",a:"12.0"},{n:["icecream","soft ice cream"],u:"1f366",a:"0.6"},{n:["shaved ice"],u:"1f367",a:"0.6"},{n:["ice cream"],u:"1f368",a:"0.6"},{n:["doughnut"],u:"1f369",a:"0.6"},{n:["cookie"],u:"1f36a",a:"0.6"},{n:["birthday","birthday cake"],u:"1f382",a:"0.6"},{n:["cake","shortcake"],u:"1f370",a:"0.6"},{n:["cupcake"],u:"1f9c1",a:"11.0"},{n:["pie"],u:"1f967",a:"5.0"},{n:["chocolate bar"],u:"1f36b",a:"0.6"},{n:["candy"],u:"1f36c",a:"0.6"},{n:["lollipop"],u:"1f36d",a:"0.6"},{n:["custard"],u:"1f36e",a:"0.6"},{n:["honey pot"],u:"1f36f",a:"0.6"},{n:["baby bottle"],u:"1f37c",a:"1.0"},{n:["glass of milk"],u:"1f95b",a:"3.0"},{n:["coffee","hot beverage"],u:"2615",a:"0.6"},{n:["teapot"],u:"1fad6",a:"13.0"},{n:["tea","teacup without handle"],u:"1f375",a:"0.6"},{n:["sake","sake bottle and cup"],u:"1f376",a:"0.6"},{n:["champagne","bottle with popping cork"],u:"1f37e",a:"1.0"},{n:["wine glass"],u:"1f377",a:"0.6"},{n:["cocktail","cocktail glass"],u:"1f378",a:"0.6"},{n:["tropical drink"],u:"1f379",a:"0.6"},{n:["beer","beer mug"],u:"1f37a",a:"0.6"},{n:["beers","clinking beer mugs"],u:"1f37b",a:"0.6"},{n:["clinking glasses"],u:"1f942",a:"3.0"},{n:["tumbler glass"],u:"1f943",a:"3.0"},{n:["pouring liquid"],u:"1fad7",a:"14.0"},{n:["cup with straw"],u:"1f964",a:"5.0"},{n:["bubble tea"],u:"1f9cb",a:"13.0"},{n:["beverage box"],u:"1f9c3",a:"12.0"},{n:["mate drink"],u:"1f9c9",a:"12.0"},{n:["ice cube"],u:"1f9ca",a:"12.0"},{n:["chopsticks"],u:"1f962",a:"5.0"},{n:["knife fork plate","fork and knife with plate"],u:"1f37d-fe0f",a:"0.7"},{n:["fork and knife"],u:"1f374",a:"0.6"},{n:["spoon"],u:"1f944",a:"3.0"},{n:["hocho","knife"],u:"1f52a",a:"0.6"},{n:["jar"],u:"1fad9",a:"14.0"},{n:["amphora"],u:"1f3fa",a:"1.0"}],R1=[{n:["earth africa","earth globe europe-africa"],u:"1f30d",a:"0.7"},{n:["earth americas","earth globe americas"],u:"1f30e",a:"0.7"},{n:["earth asia","earth globe asia-australia"],u:"1f30f",a:"0.6"},{n:["globe with meridians"],u:"1f310",a:"1.0"},{n:["world map"],u:"1f5fa-fe0f",a:"0.7"},{n:["japan","silhouette of japan"],u:"1f5fe",a:"0.6"},{n:["compass"],u:"1f9ed",a:"11.0"},{n:["snow-capped mountain","snow capped mountain"],u:"1f3d4-fe0f",a:"0.7"},{n:["mountain"],u:"26f0-fe0f",a:"0.7"},{n:["volcano"],u:"1f30b",a:"0.6"},{n:["mount fuji"],u:"1f5fb",a:"0.6"},{n:["camping"],u:"1f3d5-fe0f",a:"0.7"},{n:["beach with umbrella"],u:"1f3d6-fe0f",a:"0.7"},{n:["desert"],u:"1f3dc-fe0f",a:"0.7"},{n:["desert island"],u:"1f3dd-fe0f",a:"0.7"},{n:["national park"],u:"1f3de-fe0f",a:"0.7"},{n:["stadium"],u:"1f3df-fe0f",a:"0.7"},{n:["classical building"],u:"1f3db-fe0f",a:"0.7"},{n:["building construction"],u:"1f3d7-fe0f",a:"0.7"},{n:["brick","bricks"],u:"1f9f1",a:"11.0"},{n:["rock"],u:"1faa8",a:"13.0"},{n:["wood"],u:"1fab5",a:"13.0"},{n:["hut"],u:"1f6d6",a:"13.0"},{n:["houses","house buildings"],u:"1f3d8-fe0f",a:"0.7"},{n:["derelict house","derelict house building"],u:"1f3da-fe0f",a:"0.7"},{n:["house","house building"],u:"1f3e0",a:"0.6"},{n:["house with garden"],u:"1f3e1",a:"0.6"},{n:["office","office building"],u:"1f3e2",a:"0.6"},{n:["post office","japanese post office"],u:"1f3e3",a:"0.6"},{n:["european post office"],u:"1f3e4",a:"1.0"},{n:["hospital"],u:"1f3e5",a:"0.6"},{n:["bank"],u:"1f3e6",a:"0.6"},{n:["hotel"],u:"1f3e8",a:"0.6"},{n:["love hotel"],u:"1f3e9",a:"0.6"},{n:["convenience store"],u:"1f3ea",a:"0.6"},{n:["school"],u:"1f3eb",a:"0.6"},{n:["department store"],u:"1f3ec",a:"0.6"},{n:["factory"],u:"1f3ed",a:"0.6"},{n:["japanese castle"],u:"1f3ef",a:"0.6"},{n:["european castle"],u:"1f3f0",a:"0.6"},{n:["wedding"],u:"1f492",a:"0.6"},{n:["tokyo tower"],u:"1f5fc",a:"0.6"},{n:["statue of liberty"],u:"1f5fd",a:"0.6"},{n:["church"],u:"26ea",a:"0.6"},{n:["mosque"],u:"1f54c",a:"1.0"},{n:["hindu temple"],u:"1f6d5",a:"12.0"},{n:["synagogue"],u:"1f54d",a:"1.0"},{n:["shinto shrine"],u:"26e9-fe0f",a:"0.7"},{n:["kaaba"],u:"1f54b",a:"1.0"},{n:["fountain"],u:"26f2",a:"0.6"},{n:["tent"],u:"26fa",a:"0.6"},{n:["foggy"],u:"1f301",a:"0.6"},{n:["night with stars"],u:"1f303",a:"0.6"},{n:["cityscape"],u:"1f3d9-fe0f",a:"0.7"},{n:["sunrise over mountains"],u:"1f304",a:"0.6"},{n:["sunrise"],u:"1f305",a:"0.6"},{n:["city sunset","cityscape at dusk"],u:"1f306",a:"0.6"},{n:["city sunrise","sunset over buildings"],u:"1f307",a:"0.6"},{n:["bridge at night"],u:"1f309",a:"0.6"},{n:["hotsprings","hot springs"],u:"2668-fe0f",a:"0.6"},{n:["carousel horse"],u:"1f3a0",a:"0.6"},{n:["playground slide"],u:"1f6dd",a:"14.0"},{n:["ferris wheel"],u:"1f3a1",a:"0.6"},{n:["roller coaster"],u:"1f3a2",a:"0.6"},{n:["barber","barber pole"],u:"1f488",a:"0.6"},{n:["circus tent"],u:"1f3aa",a:"0.6"},{n:["steam locomotive"],u:"1f682",a:"1.0"},{n:["railway car"],u:"1f683",a:"0.6"},{n:["high-speed train","bullettrain side"],u:"1f684",a:"0.6"},{n:["bullettrain front","high-speed train with bullet nose"],u:"1f685",a:"0.6"},{n:["train","train2"],u:"1f686",a:"1.0"},{n:["metro"],u:"1f687",a:"0.6"},{n:["light rail"],u:"1f688",a:"1.0"},{n:["station"],u:"1f689",a:"0.6"},{n:["tram"],u:"1f68a",a:"1.0"},{n:["monorail"],u:"1f69d",a:"1.0"},{n:["mountain railway"],u:"1f69e",a:"1.0"},{n:["train","tram car"],u:"1f68b",a:"1.0"},{n:["bus"],u:"1f68c",a:"0.6"},{n:["oncoming bus"],u:"1f68d",a:"0.7"},{n:["trolleybus"],u:"1f68e",a:"1.0"},{n:["minibus"],u:"1f690",a:"1.0"},{n:["ambulance"],u:"1f691",a:"0.6"},{n:["fire engine"],u:"1f692",a:"0.6"},{n:["police car"],u:"1f693",a:"0.6"},{n:["oncoming police car"],u:"1f694",a:"0.7"},{n:["taxi"],u:"1f695",a:"0.6"},{n:["oncoming taxi"],u:"1f696",a:"1.0"},{n:["car","red car","automobile"],u:"1f697",a:"0.6"},{n:["oncoming automobile"],u:"1f698",a:"0.7"},{n:["blue car","recreational vehicle"],u:"1f699",a:"0.6"},{n:["pickup truck"],u:"1f6fb",a:"13.0"},{n:["truck","delivery truck"],u:"1f69a",a:"0.6"},{n:["articulated lorry"],u:"1f69b",a:"1.0"},{n:["tractor"],u:"1f69c",a:"1.0"},{n:["racing car"],u:"1f3ce-fe0f",a:"0.7"},{n:["motorcycle","racing motorcycle"],u:"1f3cd-fe0f",a:"0.7"},{n:["motor scooter"],u:"1f6f5",a:"3.0"},{n:["manual wheelchair"],u:"1f9bd",a:"12.0"},{n:["motorized wheelchair"],u:"1f9bc",a:"12.0"},{n:["auto rickshaw"],u:"1f6fa",a:"12.0"},{n:["bike","bicycle"],u:"1f6b2",a:"0.6"},{n:["scooter"],u:"1f6f4",a:"3.0"},{n:["skateboard"],u:"1f6f9",a:"11.0"},{n:["roller skate"],u:"1f6fc",a:"13.0"},{n:["busstop","bus stop"],u:"1f68f",a:"0.6"},{n:["motorway"],u:"1f6e3-fe0f",a:"0.7"},{n:["railway track"],u:"1f6e4-fe0f",a:"0.7"},{n:["oil drum"],u:"1f6e2-fe0f",a:"0.7"},{n:["fuelpump","fuel pump"],u:"26fd",a:"0.6"},{n:["wheel"],u:"1f6de",a:"14.0"},{n:["rotating light","police cars revolving light"],u:"1f6a8",a:"0.6"},{n:["traffic light","horizontal traffic light"],u:"1f6a5",a:"0.6"},{n:["vertical traffic light"],u:"1f6a6",a:"1.0"},{n:["octagonal sign"],u:"1f6d1",a:"3.0"},{n:["construction","construction sign"],u:"1f6a7",a:"0.6"},{n:["anchor"],u:"2693",a:"0.6"},{n:["ring buoy"],u:"1f6df",a:"14.0"},{n:["boat","sailboat"],u:"26f5",a:"0.6"},{n:["canoe"],u:"1f6f6",a:"3.0"},{n:["speedboat"],u:"1f6a4",a:"0.6"},{n:["passenger ship"],u:"1f6f3-fe0f",a:"0.7"},{n:["ferry"],u:"26f4-fe0f",a:"0.7"},{n:["motor boat"],u:"1f6e5-fe0f",a:"0.7"},{n:["ship"],u:"1f6a2",a:"0.6"},{n:["airplane"],u:"2708-fe0f",a:"0.6"},{n:["small airplane"],u:"1f6e9-fe0f",a:"0.7"},{n:["airplane departure"],u:"1f6eb",a:"1.0"},{n:["airplane arriving"],u:"1f6ec",a:"1.0"},{n:["parachute"],u:"1fa82",a:"12.0"},{n:["seat"],u:"1f4ba",a:"0.6"},{n:["helicopter"],u:"1f681",a:"1.0"},{n:["suspension railway"],u:"1f69f",a:"1.0"},{n:["mountain cableway"],u:"1f6a0",a:"1.0"},{n:["aerial tramway"],u:"1f6a1",a:"1.0"},{n:["satellite"],u:"1f6f0-fe0f",a:"0.7"},{n:["rocket"],u:"1f680",a:"0.6"},{n:["flying saucer"],u:"1f6f8",a:"5.0"},{n:["bellhop bell"],u:"1f6ce-fe0f",a:"0.7"},{n:["luggage"],u:"1f9f3",a:"11.0"},{n:["hourglass"],u:"231b",a:"0.6"},{n:["hourglass flowing sand","hourglass with flowing sand"],u:"23f3",a:"0.6"},{n:["watch"],u:"231a",a:"0.6"},{n:["alarm clock"],u:"23f0",a:"0.6"},{n:["stopwatch"],u:"23f1-fe0f",a:"1.0"},{n:["timer clock"],u:"23f2-fe0f",a:"1.0"},{n:["mantelpiece clock"],u:"1f570-fe0f",a:"0.7"},{n:["clock12","clock face twelve oclock"],u:"1f55b",a:"0.6"},{n:["clock1230","clock face twelve-thirty"],u:"1f567",a:"0.7"},{n:["clock1","clock face one oclock"],u:"1f550",a:"0.6"},{n:["clock130","clock face one-thirty"],u:"1f55c",a:"0.7"},{n:["clock2","clock face two oclock"],u:"1f551",a:"0.6"},{n:["clock230","clock face two-thirty"],u:"1f55d",a:"0.7"},{n:["clock3","clock face three oclock"],u:"1f552",a:"0.6"},{n:["clock330","clock face three-thirty"],u:"1f55e",a:"0.7"},{n:["clock4","clock face four oclock"],u:"1f553",a:"0.6"},{n:["clock430","clock face four-thirty"],u:"1f55f",a:"0.7"},{n:["clock5","clock face five oclock"],u:"1f554",a:"0.6"},{n:["clock530","clock face five-thirty"],u:"1f560",a:"0.7"},{n:["clock6","clock face six oclock"],u:"1f555",a:"0.6"},{n:["clock630","clock face six-thirty"],u:"1f561",a:"0.7"},{n:["clock7","clock face seven oclock"],u:"1f556",a:"0.6"},{n:["clock730","clock face seven-thirty"],u:"1f562",a:"0.7"},{n:["clock8","clock face eight oclock"],u:"1f557",a:"0.6"},{n:["clock830","clock face eight-thirty"],u:"1f563",a:"0.7"},{n:["clock9","clock face nine oclock"],u:"1f558",a:"0.6"},{n:["clock930","clock face nine-thirty"],u:"1f564",a:"0.7"},{n:["clock10","clock face ten oclock"],u:"1f559",a:"0.6"},{n:["clock1030","clock face ten-thirty"],u:"1f565",a:"0.7"},{n:["clock11","clock face eleven oclock"],u:"1f55a",a:"0.6"},{n:["clock1130","clock face eleven-thirty"],u:"1f566",a:"0.7"},{n:["new moon","new moon symbol"],u:"1f311",a:"0.6"},{n:["waxing crescent moon","waxing crescent moon symbol"],u:"1f312",a:"1.0"},{n:["first quarter moon","first quarter moon symbol"],u:"1f313",a:"0.6"},{n:["moon","waxing gibbous moon","waxing gibbous moon symbol"],u:"1f314",a:"0.6"},{n:["full moon","full moon symbol"],u:"1f315",a:"0.6"},{n:["waning gibbous moon","waning gibbous moon symbol"],u:"1f316",a:"1.0"},{n:["last quarter moon","last quarter moon symbol"],u:"1f317",a:"1.0"},{n:["waning crescent moon","waning crescent moon symbol"],u:"1f318",a:"1.0"},{n:["crescent moon"],u:"1f319",a:"0.6"},{n:["new moon with face"],u:"1f31a",a:"1.0"},{n:["first quarter moon with face"],u:"1f31b",a:"0.6"},{n:["last quarter moon with face"],u:"1f31c",a:"0.7"},{n:["thermometer"],u:"1f321-fe0f",a:"0.7"},{n:["sunny","black sun with rays"],u:"2600-fe0f",a:"0.6"},{n:["full moon with face"],u:"1f31d",a:"1.0"},{n:["sun with face"],u:"1f31e",a:"1.0"},{n:["ringed planet"],u:"1fa90",a:"12.0"},{n:["star","white medium star"],u:"2b50",a:"0.6"},{n:["star2","glowing star"],u:"1f31f",a:"0.6"},{n:["stars","shooting star"],u:"1f320",a:"0.6"},{n:["milky way"],u:"1f30c",a:"0.6"},{n:["cloud"],u:"2601-fe0f",a:"0.6"},{n:["partly sunny","sun behind cloud"],u:"26c5",a:"0.6"},{n:["thunder cloud and rain","cloud with lightning and rain"],u:"26c8-fe0f",a:"0.7"},{n:["mostly sunny","sun small cloud","sun behind small cloud"],u:"1f324-fe0f",a:"0.7"},{n:["barely sunny","sun behind cloud","sun behind large cloud"],u:"1f325-fe0f",a:"0.7"},{n:["partly sunny rain","sun behind rain cloud"],u:"1f326-fe0f",a:"0.7"},{n:["rain cloud","cloud with rain"],u:"1f327-fe0f",a:"0.7"},{n:["snow cloud","cloud with snow"],u:"1f328-fe0f",a:"0.7"},{n:["lightning","lightning cloud","cloud with lightning"],u:"1f329-fe0f",a:"0.7"},{n:["tornado","tornado cloud"],u:"1f32a-fe0f",a:"0.7"},{n:["fog"],u:"1f32b-fe0f",a:"0.7"},{n:["wind face","wind blowing face"],u:"1f32c-fe0f",a:"0.7"},{n:["cyclone"],u:"1f300",a:"0.6"},{n:["rainbow"],u:"1f308",a:"0.6"},{n:["closed umbrella"],u:"1f302",a:"0.6"},{n:["umbrella"],u:"2602-fe0f",a:"0.7"},{n:["umbrella with rain drops"],u:"2614",a:"0.6"},{n:["umbrella on ground"],u:"26f1-fe0f",a:"0.7"},{n:["zap","high voltage sign"],u:"26a1",a:"0.6"},{n:["snowflake"],u:"2744-fe0f",a:"0.6"},{n:["snowman"],u:"2603-fe0f",a:"0.7"},{n:["snowman without snow"],u:"26c4",a:"0.6"},{n:["comet"],u:"2604-fe0f",a:"1.0"},{n:["fire"],u:"1f525",a:"0.6"},{n:["droplet"],u:"1f4a7",a:"0.6"},{n:["ocean","water wave"],u:"1f30a",a:"0.6"}],z1=[{n:["jack-o-lantern","jack o lantern"],u:"1f383",a:"0.6"},{n:["christmas tree"],u:"1f384",a:"0.6"},{n:["fireworks"],u:"1f386",a:"0.6"},{n:["sparkler","firework sparkler"],u:"1f387",a:"0.6"},{n:["firecracker"],u:"1f9e8",a:"11.0"},{n:["sparkles"],u:"2728",a:"0.6"},{n:["balloon"],u:"1f388",a:"0.6"},{n:["tada","party popper"],u:"1f389",a:"0.6"},{n:["confetti ball"],u:"1f38a",a:"0.6"},{n:["tanabata tree"],u:"1f38b",a:"0.6"},{n:["bamboo","pine decoration"],u:"1f38d",a:"0.6"},{n:["dolls","japanese dolls"],u:"1f38e",a:"0.6"},{n:["flags","carp streamer"],u:"1f38f",a:"0.6"},{n:["wind chime"],u:"1f390",a:"0.6"},{n:["rice scene","moon viewing ceremony"],u:"1f391",a:"0.6"},{n:["red envelope","red gift envelope"],u:"1f9e7",a:"11.0"},{n:["ribbon"],u:"1f380",a:"0.6"},{n:["gift","wrapped present"],u:"1f381",a:"0.6"},{n:["reminder ribbon"],u:"1f397-fe0f",a:"0.7"},{n:["admission tickets"],u:"1f39f-fe0f",a:"0.7"},{n:["ticket"],u:"1f3ab",a:"0.6"},{n:["medal","military medal"],u:"1f396-fe0f",a:"0.7"},{n:["trophy"],u:"1f3c6",a:"0.6"},{n:["sports medal"],u:"1f3c5",a:"1.0"},{n:["first place medal"],u:"1f947",a:"3.0"},{n:["second place medal"],u:"1f948",a:"3.0"},{n:["third place medal"],u:"1f949",a:"3.0"},{n:["soccer","soccer ball"],u:"26bd",a:"0.6"},{n:["baseball"],u:"26be",a:"0.6"},{n:["softball"],u:"1f94e",a:"11.0"},{n:["basketball","basketball and hoop"],u:"1f3c0",a:"0.6"},{n:["volleyball"],u:"1f3d0",a:"1.0"},{n:["football","american football"],u:"1f3c8",a:"0.6"},{n:["rugby football"],u:"1f3c9",a:"1.0"},{n:["tennis","tennis racquet and ball"],u:"1f3be",a:"0.6"},{n:["flying disc"],u:"1f94f",a:"11.0"},{n:["bowling"],u:"1f3b3",a:"0.6"},{n:["cricket bat and ball"],u:"1f3cf",a:"1.0"},{n:["field hockey stick and ball"],u:"1f3d1",a:"1.0"},{n:["ice hockey stick and puck"],u:"1f3d2",a:"1.0"},{n:["lacrosse","lacrosse stick and ball"],u:"1f94d",a:"11.0"},{n:["table tennis paddle and ball"],u:"1f3d3",a:"1.0"},{n:["badminton racquet and shuttlecock"],u:"1f3f8",a:"1.0"},{n:["boxing glove"],u:"1f94a",a:"3.0"},{n:["martial arts uniform"],u:"1f94b",a:"3.0"},{n:["goal net"],u:"1f945",a:"3.0"},{n:["golf","flag in hole"],u:"26f3",a:"0.6"},{n:["ice skate"],u:"26f8-fe0f",a:"0.7"},{n:["fishing pole and fish"],u:"1f3a3",a:"0.6"},{n:["diving mask"],u:"1f93f",a:"12.0"},{n:["running shirt with sash"],u:"1f3bd",a:"0.6"},{n:["ski","ski and ski boot"],u:"1f3bf",a:"0.6"},{n:["sled"],u:"1f6f7",a:"5.0"},{n:["curling stone"],u:"1f94c",a:"5.0"},{n:["dart","direct hit"],u:"1f3af",a:"0.6"},{n:["yo-yo"],u:"1fa80",a:"12.0"},{n:["kite"],u:"1fa81",a:"12.0"},{n:["8ball","billiards"],u:"1f3b1",a:"0.6"},{n:["crystal ball"],u:"1f52e",a:"0.6"},{n:["magic wand"],u:"1fa84",a:"13.0"},{n:["nazar amulet"],u:"1f9ff",a:"11.0"},{n:["hamsa"],u:"1faac",a:"14.0"},{n:["video game"],u:"1f3ae",a:"0.6"},{n:["joystick"],u:"1f579-fe0f",a:"0.7"},{n:["slot machine"],u:"1f3b0",a:"0.6"},{n:["game die"],u:"1f3b2",a:"0.6"},{n:["jigsaw","jigsaw puzzle piece"],u:"1f9e9",a:"11.0"},{n:["teddy bear"],u:"1f9f8",a:"11.0"},{n:["pinata"],u:"1fa85",a:"13.0"},{n:["mirror ball"],u:"1faa9",a:"14.0"},{n:["nesting dolls"],u:"1fa86",a:"13.0"},{n:["spades","black spade suit"],u:"2660-fe0f",a:"0.6"},{n:["hearts","black heart suit"],u:"2665-fe0f",a:"0.6"},{n:["diamonds","black diamond suit"],u:"2666-fe0f",a:"0.6"},{n:["clubs","black club suit"],u:"2663-fe0f",a:"0.6"},{n:["chess pawn"],u:"265f-fe0f",a:"11.0"},{n:["black joker","playing card black joker"],u:"1f0cf",a:"0.6"},{n:["mahjong","mahjong tile red dragon"],u:"1f004",a:"0.6"},{n:["flower playing cards"],u:"1f3b4",a:"0.6"},{n:["performing arts"],u:"1f3ad",a:"0.6"},{n:["framed picture","frame with picture"],u:"1f5bc-fe0f",a:"0.7"},{n:["art","artist palette"],u:"1f3a8",a:"0.6"},{n:["thread","spool of thread"],u:"1f9f5",a:"11.0"},{n:["sewing needle"],u:"1faa1",a:"13.0"},{n:["yarn","ball of yarn"],u:"1f9f6",a:"11.0"},{n:["knot"],u:"1faa2",a:"13.0"}],P1=[{n:["eyeglasses"],u:"1f453",a:"0.6"},{n:["sunglasses","dark sunglasses"],u:"1f576-fe0f",a:"0.7"},{n:["goggles"],u:"1f97d",a:"11.0"},{n:["lab coat"],u:"1f97c",a:"11.0"},{n:["safety vest"],u:"1f9ba",a:"12.0"},{n:["necktie"],u:"1f454",a:"0.6"},{n:["shirt","tshirt","t-shirt"],u:"1f455",a:"0.6"},{n:["jeans"],u:"1f456",a:"0.6"},{n:["scarf"],u:"1f9e3",a:"5.0"},{n:["gloves"],u:"1f9e4",a:"5.0"},{n:["coat"],u:"1f9e5",a:"5.0"},{n:["socks"],u:"1f9e6",a:"5.0"},{n:["dress"],u:"1f457",a:"0.6"},{n:["kimono"],u:"1f458",a:"0.6"},{n:["sari"],u:"1f97b",a:"12.0"},{n:["one-piece swimsuit"],u:"1fa71",a:"12.0"},{n:["briefs"],u:"1fa72",a:"12.0"},{n:["shorts"],u:"1fa73",a:"12.0"},{n:["bikini"],u:"1f459",a:"0.6"},{n:["womans clothes"],u:"1f45a",a:"0.6"},{n:["purse"],u:"1f45b",a:"0.6"},{n:["handbag"],u:"1f45c",a:"0.6"},{n:["pouch"],u:"1f45d",a:"0.6"},{n:["shopping bags"],u:"1f6cd-fe0f",a:"0.7"},{n:["school satchel"],u:"1f392",a:"0.6"},{n:["thong sandal"],u:"1fa74",a:"13.0"},{n:["shoe","mans shoe"],u:"1f45e",a:"0.6"},{n:["athletic shoe"],u:"1f45f",a:"0.6"},{n:["hiking boot"],u:"1f97e",a:"11.0"},{n:["flat shoe","womans flat shoe"],u:"1f97f",a:"11.0"},{n:["high heel","high-heeled shoe"],u:"1f460",a:"0.6"},{n:["sandal","womans sandal"],u:"1f461",a:"0.6"},{n:["ballet shoes"],u:"1fa70",a:"12.0"},{n:["boot","womans boots"],u:"1f462",a:"0.6"},{n:["crown"],u:"1f451",a:"0.6"},{n:["womans hat"],u:"1f452",a:"0.6"},{n:["tophat","top hat"],u:"1f3a9",a:"0.6"},{n:["mortar board","graduation cap"],u:"1f393",a:"0.6"},{n:["billed cap"],u:"1f9e2",a:"5.0"},{n:["military helmet"],u:"1fa96",a:"13.0"},{n:["rescue worker’s helmet","helmet with white cross"],u:"26d1-fe0f",a:"0.7"},{n:["prayer beads"],u:"1f4ff",a:"1.0"},{n:["lipstick"],u:"1f484",a:"0.6"},{n:["ring"],u:"1f48d",a:"0.6"},{n:["gem","gem stone"],u:"1f48e",a:"0.6"},{n:["mute","speaker with cancellation stroke"],u:"1f507",a:"1.0"},{n:["speaker"],u:"1f508",a:"0.7"},{n:["sound","speaker with one sound wave"],u:"1f509",a:"1.0"},{n:["loud sound","speaker with three sound waves"],u:"1f50a",a:"0.6"},{n:["loudspeaker","public address loudspeaker"],u:"1f4e2",a:"0.6"},{n:["mega","cheering megaphone"],u:"1f4e3",a:"0.6"},{n:["postal horn"],u:"1f4ef",a:"1.0"},{n:["bell"],u:"1f514",a:"0.6"},{n:["no bell","bell with cancellation stroke"],u:"1f515",a:"1.0"},{n:["musical score"],u:"1f3bc",a:"0.6"},{n:["musical note"],u:"1f3b5",a:"0.6"},{n:["notes","multiple musical notes"],u:"1f3b6",a:"0.6"},{n:["studio microphone"],u:"1f399-fe0f",a:"0.7"},{n:["level slider"],u:"1f39a-fe0f",a:"0.7"},{n:["control knobs"],u:"1f39b-fe0f",a:"0.7"},{n:["microphone"],u:"1f3a4",a:"0.6"},{n:["headphone","headphones"],u:"1f3a7",a:"0.6"},{n:["radio"],u:"1f4fb",a:"0.6"},{n:["saxophone"],u:"1f3b7",a:"0.6"},{n:["accordion"],u:"1fa97",a:"13.0"},{n:["guitar"],u:"1f3b8",a:"0.6"},{n:["musical keyboard"],u:"1f3b9",a:"0.6"},{n:["trumpet"],u:"1f3ba",a:"0.6"},{n:["violin"],u:"1f3bb",a:"0.6"},{n:["banjo"],u:"1fa95",a:"12.0"},{n:["drum with drumsticks"],u:"1f941",a:"3.0"},{n:["long drum"],u:"1fa98",a:"13.0"},{n:["iphone","mobile phone"],u:"1f4f1",a:"0.6"},{n:["calling","mobile phone with rightwards arrow at left"],u:"1f4f2",a:"0.6"},{n:["phone","telephone","black telephone"],u:"260e-fe0f",a:"0.6"},{n:["telephone receiver"],u:"1f4de",a:"0.6"},{n:["pager"],u:"1f4df",a:"0.6"},{n:["fax","fax machine"],u:"1f4e0",a:"0.6"},{n:["battery"],u:"1f50b",a:"0.6"},{n:["low battery"],u:"1faab",a:"14.0"},{n:["electric plug"],u:"1f50c",a:"0.6"},{n:["computer","personal computer"],u:"1f4bb",a:"0.6"},{n:["desktop computer"],u:"1f5a5-fe0f",a:"0.7"},{n:["printer"],u:"1f5a8-fe0f",a:"0.7"},{n:["keyboard"],u:"2328-fe0f",a:"1.0"},{n:["computer mouse","three button mouse"],u:"1f5b1-fe0f",a:"0.7"},{n:["trackball"],u:"1f5b2-fe0f",a:"0.7"},{n:["minidisc"],u:"1f4bd",a:"0.6"},{n:["floppy disk"],u:"1f4be",a:"0.6"},{n:["cd","optical disc"],u:"1f4bf",a:"0.6"},{n:["dvd"],u:"1f4c0",a:"0.6"},{n:["abacus"],u:"1f9ee",a:"11.0"},{n:["movie camera"],u:"1f3a5",a:"0.6"},{n:["film frames"],u:"1f39e-fe0f",a:"0.7"},{n:["film projector"],u:"1f4fd-fe0f",a:"0.7"},{n:["clapper","clapper board"],u:"1f3ac",a:"0.6"},{n:["tv","television"],u:"1f4fa",a:"0.6"},{n:["camera"],u:"1f4f7",a:"0.6"},{n:["camera with flash"],u:"1f4f8",a:"1.0"},{n:["video camera"],u:"1f4f9",a:"0.6"},{n:["vhs","videocassette"],u:"1f4fc",a:"0.6"},{n:["mag","left-pointing magnifying glass"],u:"1f50d",a:"0.6"},{n:["mag right","right-pointing magnifying glass"],u:"1f50e",a:"0.6"},{n:["candle"],u:"1f56f-fe0f",a:"0.7"},{n:["bulb","electric light bulb"],u:"1f4a1",a:"0.6"},{n:["flashlight","electric torch"],u:"1f526",a:"0.6"},{n:["lantern","izakaya lantern"],u:"1f3ee",a:"0.6"},{n:["diya lamp"],u:"1fa94",a:"12.0"},{n:["notebook with decorative cover"],u:"1f4d4",a:"0.6"},{n:["closed book"],u:"1f4d5",a:"0.6"},{n:["book","open book"],u:"1f4d6",a:"0.6"},{n:["green book"],u:"1f4d7",a:"0.6"},{n:["blue book"],u:"1f4d8",a:"0.6"},{n:["orange book"],u:"1f4d9",a:"0.6"},{n:["books"],u:"1f4da",a:"0.6"},{n:["notebook"],u:"1f4d3",a:"0.6"},{n:["ledger"],u:"1f4d2",a:"0.6"},{n:["page with curl"],u:"1f4c3",a:"0.6"},{n:["scroll"],u:"1f4dc",a:"0.6"},{n:["page facing up"],u:"1f4c4",a:"0.6"},{n:["newspaper"],u:"1f4f0",a:"0.6"},{n:["rolled-up newspaper","rolled up newspaper"],u:"1f5de-fe0f",a:"0.7"},{n:["bookmark tabs"],u:"1f4d1",a:"0.6"},{n:["bookmark"],u:"1f516",a:"0.6"},{n:["label"],u:"1f3f7-fe0f",a:"0.7"},{n:["moneybag","money bag"],u:"1f4b0",a:"0.6"},{n:["coin"],u:"1fa99",a:"13.0"},{n:["yen","banknote with yen sign"],u:"1f4b4",a:"0.6"},{n:["dollar","banknote with dollar sign"],u:"1f4b5",a:"0.6"},{n:["euro","banknote with euro sign"],u:"1f4b6",a:"1.0"},{n:["pound","banknote with pound sign"],u:"1f4b7",a:"1.0"},{n:["money with wings"],u:"1f4b8",a:"0.6"},{n:["credit card"],u:"1f4b3",a:"0.6"},{n:["receipt"],u:"1f9fe",a:"11.0"},{n:["chart","chart with upwards trend and yen sign"],u:"1f4b9",a:"0.6"},{n:["email","envelope"],u:"2709-fe0f",a:"0.6"},{n:["e-mail","e-mail symbol"],u:"1f4e7",a:"0.6"},{n:["incoming envelope"],u:"1f4e8",a:"0.6"},{n:["envelope with arrow","envelope with downwards arrow above"],u:"1f4e9",a:"0.6"},{n:["outbox tray"],u:"1f4e4",a:"0.6"},{n:["inbox tray"],u:"1f4e5",a:"0.6"},{n:["package"],u:"1f4e6",a:"0.6"},{n:["mailbox","closed mailbox with raised flag"],u:"1f4eb",a:"0.6"},{n:["mailbox closed","closed mailbox with lowered flag"],u:"1f4ea",a:"0.6"},{n:["mailbox with mail","open mailbox with raised flag"],u:"1f4ec",a:"0.7"},{n:["mailbox with no mail","open mailbox with lowered flag"],u:"1f4ed",a:"0.7"},{n:["postbox"],u:"1f4ee",a:"0.6"},{n:["ballot box with ballot"],u:"1f5f3-fe0f",a:"0.7"},{n:["pencil","pencil2"],u:"270f-fe0f",a:"0.6"},{n:["black nib"],u:"2712-fe0f",a:"0.6"},{n:["fountain pen","lower left fountain pen"],u:"1f58b-fe0f",a:"0.7"},{n:["pen","lower left ballpoint pen"],u:"1f58a-fe0f",a:"0.7"},{n:["paintbrush","lower left paintbrush"],u:"1f58c-fe0f",a:"0.7"},{n:["crayon","lower left crayon"],u:"1f58d-fe0f",a:"0.7"},{n:["memo","pencil"],u:"1f4dd",a:"0.6"},{n:["briefcase"],u:"1f4bc",a:"0.6"},{n:["file folder"],u:"1f4c1",a:"0.6"},{n:["open file folder"],u:"1f4c2",a:"0.6"},{n:["card index dividers"],u:"1f5c2-fe0f",a:"0.7"},{n:["date","calendar"],u:"1f4c5",a:"0.6"},{n:["calendar","tear-off calendar"],u:"1f4c6",a:"0.6"},{n:["spiral notepad","spiral note pad"],u:"1f5d2-fe0f",a:"0.7"},{n:["spiral calendar","spiral calendar pad"],u:"1f5d3-fe0f",a:"0.7"},{n:["card index"],u:"1f4c7",a:"0.6"},{n:["chart with upwards trend"],u:"1f4c8",a:"0.6"},{n:["chart with downwards trend"],u:"1f4c9",a:"0.6"},{n:["bar chart"],u:"1f4ca",a:"0.6"},{n:["clipboard"],u:"1f4cb",a:"0.6"},{n:["pushpin"],u:"1f4cc",a:"0.6"},{n:["round pushpin"],u:"1f4cd",a:"0.6"},{n:["paperclip"],u:"1f4ce",a:"0.6"},{n:["linked paperclips"],u:"1f587-fe0f",a:"0.7"},{n:["straight ruler"],u:"1f4cf",a:"0.6"},{n:["triangular ruler"],u:"1f4d0",a:"0.6"},{n:["scissors","black scissors"],u:"2702-fe0f",a:"0.6"},{n:["card file box"],u:"1f5c3-fe0f",a:"0.7"},{n:["file cabinet"],u:"1f5c4-fe0f",a:"0.7"},{n:["wastebasket"],u:"1f5d1-fe0f",a:"0.7"},{n:["lock"],u:"1f512",a:"0.6"},{n:["unlock","open lock"],u:"1f513",a:"0.6"},{n:["lock with ink pen"],u:"1f50f",a:"0.6"},{n:["closed lock with key"],u:"1f510",a:"0.6"},{n:["key"],u:"1f511",a:"0.6"},{n:["old key"],u:"1f5dd-fe0f",a:"0.7"},{n:["hammer"],u:"1f528",a:"0.6"},{n:["axe"],u:"1fa93",a:"12.0"},{n:["pick"],u:"26cf-fe0f",a:"0.7"},{n:["hammer and pick"],u:"2692-fe0f",a:"1.0"},{n:["hammer and wrench"],u:"1f6e0-fe0f",a:"0.7"},{n:["dagger","dagger knife"],u:"1f5e1-fe0f",a:"0.7"},{n:["crossed swords"],u:"2694-fe0f",a:"1.0"},{n:["gun","pistol"],u:"1f52b",a:"0.6"},{n:["boomerang"],u:"1fa83",a:"13.0"},{n:["bow and arrow"],u:"1f3f9",a:"1.0"},{n:["shield"],u:"1f6e1-fe0f",a:"0.7"},{n:["carpentry saw"],u:"1fa9a",a:"13.0"},{n:["wrench"],u:"1f527",a:"0.6"},{n:["screwdriver"],u:"1fa9b",a:"13.0"},{n:["nut and bolt"],u:"1f529",a:"0.6"},{n:["gear"],u:"2699-fe0f",a:"1.0"},{n:["clamp","compression"],u:"1f5dc-fe0f",a:"0.7"},{n:["scales","balance scale"],u:"2696-fe0f",a:"1.0"},{n:["probing cane"],u:"1f9af",a:"12.0"},{n:["link","link symbol"],u:"1f517",a:"0.6"},{n:["chains"],u:"26d3-fe0f",a:"0.7"},{n:["hook"],u:"1fa9d",a:"13.0"},{n:["toolbox"],u:"1f9f0",a:"11.0"},{n:["magnet"],u:"1f9f2",a:"11.0"},{n:["ladder"],u:"1fa9c",a:"13.0"},{n:["alembic"],u:"2697-fe0f",a:"1.0"},{n:["test tube"],u:"1f9ea",a:"11.0"},{n:["petri dish"],u:"1f9eb",a:"11.0"},{n:["dna","dna double helix"],u:"1f9ec",a:"11.0"},{n:["microscope"],u:"1f52c",a:"1.0"},{n:["telescope"],u:"1f52d",a:"1.0"},{n:["satellite antenna"],u:"1f4e1",a:"0.6"},{n:["syringe"],u:"1f489",a:"0.6"},{n:["drop of blood"],u:"1fa78",a:"12.0"},{n:["pill"],u:"1f48a",a:"0.6"},{n:["adhesive bandage"],u:"1fa79",a:"12.0"},{n:["crutch"],u:"1fa7c",a:"14.0"},{n:["stethoscope"],u:"1fa7a",a:"12.0"},{n:["x-ray"],u:"1fa7b",a:"14.0"},{n:["door"],u:"1f6aa",a:"0.6"},{n:["elevator"],u:"1f6d7",a:"13.0"},{n:["mirror"],u:"1fa9e",a:"13.0"},{n:["window"],u:"1fa9f",a:"13.0"},{n:["bed"],u:"1f6cf-fe0f",a:"0.7"},{n:["couch and lamp"],u:"1f6cb-fe0f",a:"0.7"},{n:["chair"],u:"1fa91",a:"12.0"},{n:["toilet"],u:"1f6bd",a:"0.6"},{n:["plunger"],u:"1faa0",a:"13.0"},{n:["shower"],u:"1f6bf",a:"1.0"},{n:["bathtub"],u:"1f6c1",a:"1.0"},{n:["mouse trap"],u:"1faa4",a:"13.0"},{n:["razor"],u:"1fa92",a:"12.0"},{n:["lotion bottle"],u:"1f9f4",a:"11.0"},{n:["safety pin"],u:"1f9f7",a:"11.0"},{n:["broom"],u:"1f9f9",a:"11.0"},{n:["basket"],u:"1f9fa",a:"11.0"},{n:["roll of paper"],u:"1f9fb",a:"11.0"},{n:["bucket"],u:"1faa3",a:"13.0"},{n:["soap","bar of soap"],u:"1f9fc",a:"11.0"},{n:["bubbles"],u:"1fae7",a:"14.0"},{n:["toothbrush"],u:"1faa5",a:"13.0"},{n:["sponge"],u:"1f9fd",a:"11.0"},{n:["fire extinguisher"],u:"1f9ef",a:"11.0"},{n:["shopping trolley"],u:"1f6d2",a:"3.0"},{n:["smoking","smoking symbol"],u:"1f6ac",a:"0.6"},{n:["coffin"],u:"26b0-fe0f",a:"1.0"},{n:["headstone"],u:"1faa6",a:"13.0"},{n:["funeral urn"],u:"26b1-fe0f",a:"1.0"},{n:["moyai"],u:"1f5ff",a:"0.6"},{n:["placard"],u:"1faa7",a:"13.0"},{n:["identification card"],u:"1faaa",a:"14.0"}],T1=[{n:["atm","automated teller machine"],u:"1f3e7",a:"0.6"},{n:["put litter in its place","put litter in its place symbol"],u:"1f6ae",a:"1.0"},{n:["potable water","potable water symbol"],u:"1f6b0",a:"1.0"},{n:["wheelchair","wheelchair symbol"],u:"267f",a:"0.6"},{n:["mens","mens symbol"],u:"1f6b9",a:"0.6"},{n:["womens","womens symbol"],u:"1f6ba",a:"0.6"},{n:["restroom"],u:"1f6bb",a:"0.6"},{n:["baby symbol"],u:"1f6bc",a:"0.6"},{n:["wc","water closet"],u:"1f6be",a:"0.6"},{n:["passport control"],u:"1f6c2",a:"1.0"},{n:["customs"],u:"1f6c3",a:"1.0"},{n:["baggage claim"],u:"1f6c4",a:"1.0"},{n:["left luggage"],u:"1f6c5",a:"1.0"},{n:["warning","warning sign"],u:"26a0-fe0f",a:"0.6"},{n:["children crossing"],u:"1f6b8",a:"1.0"},{n:["no entry"],u:"26d4",a:"0.6"},{n:["no entry sign"],u:"1f6ab",a:"0.6"},{n:["no bicycles"],u:"1f6b3",a:"1.0"},{n:["no smoking","no smoking symbol"],u:"1f6ad",a:"0.6"},{n:["do not litter","do not litter symbol"],u:"1f6af",a:"1.0"},{n:["non-potable water","non-potable water symbol"],u:"1f6b1",a:"1.0"},{n:["no pedestrians"],u:"1f6b7",a:"1.0"},{n:["no mobile phones"],u:"1f4f5",a:"1.0"},{n:["underage","no one under eighteen symbol"],u:"1f51e",a:"0.6"},{n:["radioactive","radioactive sign"],u:"2622-fe0f",a:"1.0"},{n:["biohazard","biohazard sign"],u:"2623-fe0f",a:"1.0"},{n:["arrow up","upwards black arrow"],u:"2b06-fe0f",a:"0.6"},{n:["north east arrow","arrow upper right"],u:"2197-fe0f",a:"0.6"},{n:["arrow right","black rightwards arrow"],u:"27a1-fe0f",a:"0.6"},{n:["south east arrow","arrow lower right"],u:"2198-fe0f",a:"0.6"},{n:["arrow down","downwards black arrow"],u:"2b07-fe0f",a:"0.6"},{n:["south west arrow","arrow lower left"],u:"2199-fe0f",a:"0.6"},{n:["arrow left","leftwards black arrow"],u:"2b05-fe0f",a:"0.6"},{n:["north west arrow","arrow upper left"],u:"2196-fe0f",a:"0.6"},{n:["up down arrow","arrow up down"],u:"2195-fe0f",a:"0.6"},{n:["left right arrow"],u:"2194-fe0f",a:"0.6"},{n:["leftwards arrow with hook"],u:"21a9-fe0f",a:"0.6"},{n:["arrow right hook","rightwards arrow with hook"],u:"21aa-fe0f",a:"0.6"},{n:["arrow heading up","arrow pointing rightwards then curving upwards"],u:"2934-fe0f",a:"0.6"},{n:["arrow heading down","arrow pointing rightwards then curving downwards"],u:"2935-fe0f",a:"0.6"},{n:["arrows clockwise","clockwise downwards and upwards open circle arrows"],u:"1f503",a:"0.6"},{n:["arrows counterclockwise","anticlockwise downwards and upwards open circle arrows"],u:"1f504",a:"1.0"},{n:["back","back with leftwards arrow above"],u:"1f519",a:"0.6"},{n:["end","end with leftwards arrow above"],u:"1f51a",a:"0.6"},{n:["on","on with exclamation mark with left right arrow above"],u:"1f51b",a:"0.6"},{n:["soon","soon with rightwards arrow above"],u:"1f51c",a:"0.6"},{n:["top","top with upwards arrow above"],u:"1f51d",a:"0.6"},{n:["place of worship"],u:"1f6d0",a:"1.0"},{n:["atom symbol"],u:"269b-fe0f",a:"1.0"},{n:["om","om symbol"],u:"1f549-fe0f",a:"0.7"},{n:["star of david"],u:"2721-fe0f",a:"0.7"},{n:["wheel of dharma"],u:"2638-fe0f",a:"0.7"},{n:["yin yang"],u:"262f-fe0f",a:"0.7"},{n:["latin cross"],u:"271d-fe0f",a:"0.7"},{n:["orthodox cross"],u:"2626-fe0f",a:"1.0"},{n:["star and crescent"],u:"262a-fe0f",a:"0.7"},{n:["peace symbol"],u:"262e-fe0f",a:"1.0"},{n:["menorah with nine branches"],u:"1f54e",a:"1.0"},{n:["six pointed star","six pointed star with middle dot"],u:"1f52f",a:"0.6"},{n:["aries"],u:"2648",a:"0.6"},{n:["taurus"],u:"2649",a:"0.6"},{n:["gemini"],u:"264a",a:"0.6"},{n:["cancer"],u:"264b",a:"0.6"},{n:["leo"],u:"264c",a:"0.6"},{n:["virgo"],u:"264d",a:"0.6"},{n:["libra"],u:"264e",a:"0.6"},{n:["scorpius"],u:"264f",a:"0.6"},{n:["sagittarius"],u:"2650",a:"0.6"},{n:["capricorn"],u:"2651",a:"0.6"},{n:["aquarius"],u:"2652",a:"0.6"},{n:["pisces"],u:"2653",a:"0.6"},{n:["ophiuchus"],u:"26ce",a:"0.6"},{n:["twisted rightwards arrows"],u:"1f500",a:"1.0"},{n:["repeat","clockwise rightwards and leftwards open circle arrows"],u:"1f501",a:"1.0"},{n:["repeat one","clockwise rightwards and leftwards open circle arrows with circled one overlay"],u:"1f502",a:"1.0"},{n:["arrow forward","black right-pointing triangle"],u:"25b6-fe0f",a:"0.6"},{n:["fast forward","black right-pointing double triangle"],u:"23e9",a:"0.6"},{n:["next track button","black right pointing double triangle with vertical bar"],u:"23ed-fe0f",a:"0.7"},{n:["play or pause button","black right pointing triangle with double vertical bar"],u:"23ef-fe0f",a:"1.0"},{n:["arrow backward","black left-pointing triangle"],u:"25c0-fe0f",a:"0.6"},{n:["rewind","black left-pointing double triangle"],u:"23ea",a:"0.6"},{n:["last track button","black left pointing double triangle with vertical bar"],u:"23ee-fe0f",a:"0.7"},{n:["arrow up small","up-pointing small red triangle"],u:"1f53c",a:"0.6"},{n:["arrow double up","black up-pointing double triangle"],u:"23eb",a:"0.6"},{n:["arrow down small","down-pointing small red triangle"],u:"1f53d",a:"0.6"},{n:["arrow double down","black down-pointing double triangle"],u:"23ec",a:"0.6"},{n:["pause button","double vertical bar"],u:"23f8-fe0f",a:"0.7"},{n:["stop button","black square for stop"],u:"23f9-fe0f",a:"0.7"},{n:["record button","black circle for record"],u:"23fa-fe0f",a:"0.7"},{n:["eject","eject button"],u:"23cf-fe0f",a:"1.0"},{n:["cinema"],u:"1f3a6",a:"0.6"},{n:["low brightness","low brightness symbol"],u:"1f505",a:"1.0"},{n:["high brightness","high brightness symbol"],u:"1f506",a:"1.0"},{n:["signal strength","antenna with bars"],u:"1f4f6",a:"0.6"},{n:["vibration mode"],u:"1f4f3",a:"0.6"},{n:["mobile phone off"],u:"1f4f4",a:"0.6"},{n:["female sign"],u:"2640-fe0f",a:"4.0"},{n:["male sign"],u:"2642-fe0f",a:"4.0"},{n:["transgender symbol"],u:"26a7-fe0f",a:"13.0"},{n:["heavy multiplication x"],u:"2716-fe0f",a:"0.6"},{n:["heavy plus sign"],u:"2795",a:"0.6"},{n:["heavy minus sign"],u:"2796",a:"0.6"},{n:["heavy division sign"],u:"2797",a:"0.6"},{n:["heavy equals sign"],u:"1f7f0",a:"14.0"},{n:["infinity"],u:"267e-fe0f",a:"11.0"},{n:["bangbang","double exclamation mark"],u:"203c-fe0f",a:"0.6"},{n:["interrobang","exclamation question mark"],u:"2049-fe0f",a:"0.6"},{n:["question","black question mark ornament"],u:"2753",a:"0.6"},{n:["grey question","white question mark ornament"],u:"2754",a:"0.6"},{n:["grey exclamation","white exclamation mark ornament"],u:"2755",a:"0.6"},{n:["exclamation","heavy exclamation mark","heavy exclamation mark symbol"],u:"2757",a:"0.6"},{n:["wavy dash"],u:"3030-fe0f",a:"0.6"},{n:["currency exchange"],u:"1f4b1",a:"0.6"},{n:["heavy dollar sign"],u:"1f4b2",a:"0.6"},{n:["medical symbol","staff of aesculapius"],u:"2695-fe0f",a:"4.0"},{n:["recycle","black universal recycling symbol"],u:"267b-fe0f",a:"0.6"},{n:["fleur-de-lis","fleur de lis"],u:"269c-fe0f",a:"1.0"},{n:["trident","trident emblem"],u:"1f531",a:"0.6"},{n:["name badge"],u:"1f4db",a:"0.6"},{n:["beginner","japanese symbol for beginner"],u:"1f530",a:"0.6"},{n:["o","heavy large circle"],u:"2b55",a:"0.6"},{n:["white check mark","white heavy check mark"],u:"2705",a:"0.6"},{n:["ballot box with check"],u:"2611-fe0f",a:"0.6"},{n:["heavy check mark"],u:"2714-fe0f",a:"0.6"},{n:["x","cross mark"],u:"274c",a:"0.6"},{n:["negative squared cross mark"],u:"274e",a:"0.6"},{n:["curly loop"],u:"27b0",a:"0.6"},{n:["loop","double curly loop"],u:"27bf",a:"1.0"},{n:["part alternation mark"],u:"303d-fe0f",a:"0.6"},{n:["eight spoked asterisk"],u:"2733-fe0f",a:"0.6"},{n:["eight pointed black star"],u:"2734-fe0f",a:"0.6"},{n:["sparkle"],u:"2747-fe0f",a:"0.6"},{n:["copyright","copyright sign"],u:"00a9-fe0f",a:"0.6"},{n:["registered","registered sign"],u:"00ae-fe0f",a:"0.6"},{n:["tm","trade mark sign"],u:"2122-fe0f",a:"0.6"},{n:["hash","hash key"],u:"0023-fe0f-20e3",a:"0.6"},{n:["keycap: *","keycap star"],u:"002a-fe0f-20e3",a:"2.0"},{n:["zero","keycap 0"],u:"0030-fe0f-20e3",a:"0.6"},{n:["one","keycap 1"],u:"0031-fe0f-20e3",a:"0.6"},{n:["two","keycap 2"],u:"0032-fe0f-20e3",a:"0.6"},{n:["three","keycap 3"],u:"0033-fe0f-20e3",a:"0.6"},{n:["four","keycap 4"],u:"0034-fe0f-20e3",a:"0.6"},{n:["five","keycap 5"],u:"0035-fe0f-20e3",a:"0.6"},{n:["six","keycap 6"],u:"0036-fe0f-20e3",a:"0.6"},{n:["seven","keycap 7"],u:"0037-fe0f-20e3",a:"0.6"},{n:["eight","keycap 8"],u:"0038-fe0f-20e3",a:"0.6"},{n:["nine","keycap 9"],u:"0039-fe0f-20e3",a:"0.6"},{n:["keycap ten"],u:"1f51f",a:"0.6"},{n:["capital abcd","input symbol for latin capital letters"],u:"1f520",a:"0.6"},{n:["abcd","input symbol for latin small letters"],u:"1f521",a:"0.6"},{n:["1234","input symbol for numbers"],u:"1f522",a:"0.6"},{n:["symbols","input symbol for symbols"],u:"1f523",a:"0.6"},{n:["abc","input symbol for latin letters"],u:"1f524",a:"0.6"},{n:["a","negative squared latin capital letter a"],u:"1f170-fe0f",a:"0.6"},{n:["ab","negative squared ab"],u:"1f18e",a:"0.6"},{n:["b","negative squared latin capital letter b"],u:"1f171-fe0f",a:"0.6"},{n:["cl","squared cl"],u:"1f191",a:"0.6"},{n:["cool","squared cool"],u:"1f192",a:"0.6"},{n:["free","squared free"],u:"1f193",a:"0.6"},{n:["information source"],u:"2139-fe0f",a:"0.6"},{n:["id","squared id"],u:"1f194",a:"0.6"},{n:["m","circled latin capital letter m"],u:"24c2-fe0f",a:"0.6"},{n:["new","squared new"],u:"1f195",a:"0.6"},{n:["ng","squared ng"],u:"1f196",a:"0.6"},{n:["o2","negative squared latin capital letter o"],u:"1f17e-fe0f",a:"0.6"},{n:["ok","squared ok"],u:"1f197",a:"0.6"},{n:["parking","negative squared latin capital letter p"],u:"1f17f-fe0f",a:"0.6"},{n:["sos","squared sos"],u:"1f198",a:"0.6"},{n:["up","squared up with exclamation mark"],u:"1f199",a:"0.6"},{n:["vs","squared vs"],u:"1f19a",a:"0.6"},{n:["koko","squared katakana koko"],u:"1f201",a:"0.6"},{n:["sa","squared katakana sa"],u:"1f202-fe0f",a:"0.6"},{n:["u6708","squared cjk unified ideograph-6708"],u:"1f237-fe0f",a:"0.6"},{n:["u6709","squared cjk unified ideograph-6709"],u:"1f236",a:"0.6"},{n:["u6307","squared cjk unified ideograph-6307"],u:"1f22f",a:"0.6"},{n:["ideograph advantage","circled ideograph advantage"],u:"1f250",a:"0.6"},{n:["u5272","squared cjk unified ideograph-5272"],u:"1f239",a:"0.6"},{n:["u7121","squared cjk unified ideograph-7121"],u:"1f21a",a:"0.6"},{n:["u7981","squared cjk unified ideograph-7981"],u:"1f232",a:"0.6"},{n:["accept","circled ideograph accept"],u:"1f251",a:"0.6"},{n:["u7533","squared cjk unified ideograph-7533"],u:"1f238",a:"0.6"},{n:["u5408","squared cjk unified ideograph-5408"],u:"1f234",a:"0.6"},{n:["u7a7a","squared cjk unified ideograph-7a7a"],u:"1f233",a:"0.6"},{n:["congratulations","circled ideograph congratulation"],u:"3297-fe0f",a:"0.6"},{n:["secret","circled ideograph secret"],u:"3299-fe0f",a:"0.6"},{n:["u55b6","squared cjk unified ideograph-55b6"],u:"1f23a",a:"0.6"},{n:["u6e80","squared cjk unified ideograph-6e80"],u:"1f235",a:"0.6"},{n:["red circle","large red circle"],u:"1f534",a:"0.6"},{n:["large orange circle"],u:"1f7e0",a:"12.0"},{n:["large yellow circle"],u:"1f7e1",a:"12.0"},{n:["large green circle"],u:"1f7e2",a:"12.0"},{n:["large blue circle"],u:"1f535",a:"0.6"},{n:["large purple circle"],u:"1f7e3",a:"12.0"},{n:["large brown circle"],u:"1f7e4",a:"12.0"},{n:["black circle","medium black circle"],u:"26ab",a:"0.6"},{n:["white circle","medium white circle"],u:"26aa",a:"0.6"},{n:["large red square"],u:"1f7e5",a:"12.0"},{n:["large orange square"],u:"1f7e7",a:"12.0"},{n:["large yellow square"],u:"1f7e8",a:"12.0"},{n:["large green square"],u:"1f7e9",a:"12.0"},{n:["large blue square"],u:"1f7e6",a:"12.0"},{n:["large purple square"],u:"1f7ea",a:"12.0"},{n:["large brown square"],u:"1f7eb",a:"12.0"},{n:["black large square"],u:"2b1b",a:"0.6"},{n:["white large square"],u:"2b1c",a:"0.6"},{n:["black medium square"],u:"25fc-fe0f",a:"0.6"},{n:["white medium square"],u:"25fb-fe0f",a:"0.6"},{n:["black medium small square"],u:"25fe",a:"0.6"},{n:["white medium small square"],u:"25fd",a:"0.6"},{n:["black small square"],u:"25aa-fe0f",a:"0.6"},{n:["white small square"],u:"25ab-fe0f",a:"0.6"},{n:["large orange diamond"],u:"1f536",a:"0.6"},{n:["large blue diamond"],u:"1f537",a:"0.6"},{n:["small orange diamond"],u:"1f538",a:"0.6"},{n:["small blue diamond"],u:"1f539",a:"0.6"},{n:["small red triangle","up-pointing red triangle"],u:"1f53a",a:"0.6"},{n:["small red triangle down","down-pointing red triangle"],u:"1f53b",a:"0.6"},{n:["diamond shape with a dot inside"],u:"1f4a0",a:"0.6"},{n:["radio button"],u:"1f518",a:"0.6"},{n:["white square button"],u:"1f533",a:"0.6"},{n:["black square button"],u:"1f532",a:"0.6"}],A1=[{n:["chequered flag","checkered flag"],u:"1f3c1",a:"0.6"},{n:["triangular flag on post"],u:"1f6a9",a:"0.6"},{n:["crossed flags"],u:"1f38c",a:"0.6"},{n:["waving black flag"],u:"1f3f4",a:"1.0"},{n:["white flag","waving white flag"],u:"1f3f3-fe0f",a:"0.7"},{n:["rainbow flag","rainbow-flag"],u:"1f3f3-fe0f-200d-1f308",a:"4.0"},{n:["transgender flag"],u:"1f3f3-fe0f-200d-26a7-fe0f",a:"13.0"},{n:["pirate flag"],u:"1f3f4-200d-2620-fe0f",a:"11.0"},{n:["flag-ac","ascension island flag"],u:"1f1e6-1f1e8",a:"2.0"},{n:["flag-ad","andorra flag"],u:"1f1e6-1f1e9",a:"2.0"},{n:["flag-ae","united arab emirates flag"],u:"1f1e6-1f1ea",a:"2.0"},{n:["flag-af","afghanistan flag"],u:"1f1e6-1f1eb",a:"2.0"},{n:["flag-ag","antigua & barbuda flag"],u:"1f1e6-1f1ec",a:"2.0"},{n:["flag-ai","anguilla flag"],u:"1f1e6-1f1ee",a:"2.0"},{n:["flag-al","albania flag"],u:"1f1e6-1f1f1",a:"2.0"},{n:["flag-am","armenia flag"],u:"1f1e6-1f1f2",a:"2.0"},{n:["flag-ao","angola flag"],u:"1f1e6-1f1f4",a:"2.0"},{n:["flag-aq","antarctica flag"],u:"1f1e6-1f1f6",a:"2.0"},{n:["flag-ar","argentina flag"],u:"1f1e6-1f1f7",a:"2.0"},{n:["flag-as","american samoa flag"],u:"1f1e6-1f1f8",a:"2.0"},{n:["flag-at","austria flag"],u:"1f1e6-1f1f9",a:"2.0"},{n:["flag-au","australia flag"],u:"1f1e6-1f1fa",a:"2.0"},{n:["flag-aw","aruba flag"],u:"1f1e6-1f1fc",a:"2.0"},{n:["flag-ax","åland islands flag"],u:"1f1e6-1f1fd",a:"2.0"},{n:["flag-az","azerbaijan flag"],u:"1f1e6-1f1ff",a:"2.0"},{n:["flag-ba","bosnia & herzegovina flag"],u:"1f1e7-1f1e6",a:"2.0"},{n:["flag-bb","barbados flag"],u:"1f1e7-1f1e7",a:"2.0"},{n:["flag-bd","bangladesh flag"],u:"1f1e7-1f1e9",a:"2.0"},{n:["flag-be","belgium flag"],u:"1f1e7-1f1ea",a:"2.0"},{n:["flag-bf","burkina faso flag"],u:"1f1e7-1f1eb",a:"2.0"},{n:["flag-bg","bulgaria flag"],u:"1f1e7-1f1ec",a:"2.0"},{n:["flag-bh","bahrain flag"],u:"1f1e7-1f1ed",a:"2.0"},{n:["flag-bi","burundi flag"],u:"1f1e7-1f1ee",a:"2.0"},{n:["flag-bj","benin flag"],u:"1f1e7-1f1ef",a:"2.0"},{n:["flag-bl","st. barthélemy flag"],u:"1f1e7-1f1f1",a:"2.0"},{n:["flag-bm","bermuda flag"],u:"1f1e7-1f1f2",a:"2.0"},{n:["flag-bn","brunei flag"],u:"1f1e7-1f1f3",a:"2.0"},{n:["flag-bo","bolivia flag"],u:"1f1e7-1f1f4",a:"2.0"},{n:["flag-bq","caribbean netherlands flag"],u:"1f1e7-1f1f6",a:"2.0"},{n:["flag-br","brazil flag"],u:"1f1e7-1f1f7",a:"2.0"},{n:["flag-bs","bahamas flag"],u:"1f1e7-1f1f8",a:"2.0"},{n:["flag-bt","bhutan flag"],u:"1f1e7-1f1f9",a:"2.0"},{n:["flag-bv","bouvet island flag"],u:"1f1e7-1f1fb",a:"2.0"},{n:["flag-bw","botswana flag"],u:"1f1e7-1f1fc",a:"2.0"},{n:["flag-by","belarus flag"],u:"1f1e7-1f1fe",a:"2.0"},{n:["flag-bz","belize flag"],u:"1f1e7-1f1ff",a:"2.0"},{n:["flag-ca","canada flag"],u:"1f1e8-1f1e6",a:"2.0"},{n:["flag-cc","cocos (keeling) islands flag"],u:"1f1e8-1f1e8",a:"2.0"},{n:["flag-cd","congo - kinshasa flag"],u:"1f1e8-1f1e9",a:"2.0"},{n:["flag-cf","central african republic flag"],u:"1f1e8-1f1eb",a:"2.0"},{n:["flag-cg","congo - brazzaville flag"],u:"1f1e8-1f1ec",a:"2.0"},{n:["flag-ch","switzerland flag"],u:"1f1e8-1f1ed",a:"2.0"},{n:["flag-ci","côte d’ivoire flag"],u:"1f1e8-1f1ee",a:"2.0"},{n:["flag-ck","cook islands flag"],u:"1f1e8-1f1f0",a:"2.0"},{n:["flag-cl","chile flag"],u:"1f1e8-1f1f1",a:"2.0"},{n:["flag-cm","cameroon flag"],u:"1f1e8-1f1f2",a:"2.0"},{n:["cn","flag-cn","china flag"],u:"1f1e8-1f1f3",a:"0.6"},{n:["flag-co","colombia flag"],u:"1f1e8-1f1f4",a:"2.0"},{n:["flag-cp","clipperton island flag"],u:"1f1e8-1f1f5",a:"2.0"},{n:["flag-cr","costa rica flag"],u:"1f1e8-1f1f7",a:"2.0"},{n:["flag-cu","cuba flag"],u:"1f1e8-1f1fa",a:"2.0"},{n:["flag-cv","cape verde flag"],u:"1f1e8-1f1fb",a:"2.0"},{n:["flag-cw","curaçao flag"],u:"1f1e8-1f1fc",a:"2.0"},{n:["flag-cx","christmas island flag"],u:"1f1e8-1f1fd",a:"2.0"},{n:["flag-cy","cyprus flag"],u:"1f1e8-1f1fe",a:"2.0"},{n:["flag-cz","czechia flag"],u:"1f1e8-1f1ff",a:"2.0"},{n:["de","flag-de","germany flag"],u:"1f1e9-1f1ea",a:"0.6"},{n:["flag-dg","diego garcia flag"],u:"1f1e9-1f1ec",a:"2.0"},{n:["flag-dj","djibouti flag"],u:"1f1e9-1f1ef",a:"2.0"},{n:["flag-dk","denmark flag"],u:"1f1e9-1f1f0",a:"2.0"},{n:["flag-dm","dominica flag"],u:"1f1e9-1f1f2",a:"2.0"},{n:["flag-do","dominican republic flag"],u:"1f1e9-1f1f4",a:"2.0"},{n:["flag-dz","algeria flag"],u:"1f1e9-1f1ff",a:"2.0"},{n:["flag-ea","ceuta & melilla flag"],u:"1f1ea-1f1e6",a:"2.0"},{n:["flag-ec","ecuador flag"],u:"1f1ea-1f1e8",a:"2.0"},{n:["flag-ee","estonia flag"],u:"1f1ea-1f1ea",a:"2.0"},{n:["flag-eg","egypt flag"],u:"1f1ea-1f1ec",a:"2.0"},{n:["flag-eh","western sahara flag"],u:"1f1ea-1f1ed",a:"2.0"},{n:["flag-er","eritrea flag"],u:"1f1ea-1f1f7",a:"2.0"},{n:["es","flag-es","spain flag"],u:"1f1ea-1f1f8",a:"0.6"},{n:["flag-et","ethiopia flag"],u:"1f1ea-1f1f9",a:"2.0"},{n:["flag-eu","european union flag"],u:"1f1ea-1f1fa",a:"2.0"},{n:["flag-fi","finland flag"],u:"1f1eb-1f1ee",a:"2.0"},{n:["flag-fj","fiji flag"],u:"1f1eb-1f1ef",a:"2.0"},{n:["flag-fk","falkland islands flag"],u:"1f1eb-1f1f0",a:"2.0"},{n:["flag-fm","micronesia flag"],u:"1f1eb-1f1f2",a:"2.0"},{n:["flag-fo","faroe islands flag"],u:"1f1eb-1f1f4",a:"2.0"},{n:["fr","flag-fr","france flag"],u:"1f1eb-1f1f7",a:"0.6"},{n:["flag-ga","gabon flag"],u:"1f1ec-1f1e6",a:"2.0"},{n:["gb","uk","flag-gb","united kingdom flag"],u:"1f1ec-1f1e7",a:"0.6"},{n:["flag-gd","grenada flag"],u:"1f1ec-1f1e9",a:"2.0"},{n:["flag-ge","georgia flag"],u:"1f1ec-1f1ea",a:"2.0"},{n:["flag-gf","french guiana flag"],u:"1f1ec-1f1eb",a:"2.0"},{n:["flag-gg","guernsey flag"],u:"1f1ec-1f1ec",a:"2.0"},{n:["flag-gh","ghana flag"],u:"1f1ec-1f1ed",a:"2.0"},{n:["flag-gi","gibraltar flag"],u:"1f1ec-1f1ee",a:"2.0"},{n:["flag-gl","greenland flag"],u:"1f1ec-1f1f1",a:"2.0"},{n:["flag-gm","gambia flag"],u:"1f1ec-1f1f2",a:"2.0"},{n:["flag-gn","guinea flag"],u:"1f1ec-1f1f3",a:"2.0"},{n:["flag-gp","guadeloupe flag"],u:"1f1ec-1f1f5",a:"2.0"},{n:["flag-gq","equatorial guinea flag"],u:"1f1ec-1f1f6",a:"2.0"},{n:["flag-gr","greece flag"],u:"1f1ec-1f1f7",a:"2.0"},{n:["flag-gs","south georgia & south sandwich islands flag"],u:"1f1ec-1f1f8",a:"2.0"},{n:["flag-gt","guatemala flag"],u:"1f1ec-1f1f9",a:"2.0"},{n:["flag-gu","guam flag"],u:"1f1ec-1f1fa",a:"2.0"},{n:["flag-gw","guinea-bissau flag"],u:"1f1ec-1f1fc",a:"2.0"},{n:["flag-gy","guyana flag"],u:"1f1ec-1f1fe",a:"2.0"},{n:["flag-hk","hong kong sar china flag"],u:"1f1ed-1f1f0",a:"2.0"},{n:["flag-hm","heard & mcdonald islands flag"],u:"1f1ed-1f1f2",a:"2.0"},{n:["flag-hn","honduras flag"],u:"1f1ed-1f1f3",a:"2.0"},{n:["flag-hr","croatia flag"],u:"1f1ed-1f1f7",a:"2.0"},{n:["flag-ht","haiti flag"],u:"1f1ed-1f1f9",a:"2.0"},{n:["flag-hu","hungary flag"],u:"1f1ed-1f1fa",a:"2.0"},{n:["flag-ic","canary islands flag"],u:"1f1ee-1f1e8",a:"2.0"},{n:["flag-id","indonesia flag"],u:"1f1ee-1f1e9",a:"2.0"},{n:["flag-ie","ireland flag"],u:"1f1ee-1f1ea",a:"2.0"},{n:["flag-il","israel flag"],u:"1f1ee-1f1f1",a:"2.0"},{n:["flag-im","isle of man flag"],u:"1f1ee-1f1f2",a:"2.0"},{n:["flag-in","india flag"],u:"1f1ee-1f1f3",a:"2.0"},{n:["flag-io","british indian ocean territory flag"],u:"1f1ee-1f1f4",a:"2.0"},{n:["flag-iq","iraq flag"],u:"1f1ee-1f1f6",a:"2.0"},{n:["flag-ir","iran flag"],u:"1f1ee-1f1f7",a:"2.0"},{n:["flag-is","iceland flag"],u:"1f1ee-1f1f8",a:"2.0"},{n:["it","flag-it","italy flag"],u:"1f1ee-1f1f9",a:"0.6"},{n:["flag-je","jersey flag"],u:"1f1ef-1f1ea",a:"2.0"},{n:["flag-jm","jamaica flag"],u:"1f1ef-1f1f2",a:"2.0"},{n:["flag-jo","jordan flag"],u:"1f1ef-1f1f4",a:"2.0"},{n:["jp","flag-jp","japan flag"],u:"1f1ef-1f1f5",a:"0.6"},{n:["flag-ke","kenya flag"],u:"1f1f0-1f1ea",a:"2.0"},{n:["flag-kg","kyrgyzstan flag"],u:"1f1f0-1f1ec",a:"2.0"},{n:["flag-kh","cambodia flag"],u:"1f1f0-1f1ed",a:"2.0"},{n:["flag-ki","kiribati flag"],u:"1f1f0-1f1ee",a:"2.0"},{n:["flag-km","comoros flag"],u:"1f1f0-1f1f2",a:"2.0"},{n:["flag-kn","st. kitts & nevis flag"],u:"1f1f0-1f1f3",a:"2.0"},{n:["flag-kp","north korea flag"],u:"1f1f0-1f1f5",a:"2.0"},{n:["kr","flag-kr","south korea flag"],u:"1f1f0-1f1f7",a:"0.6"},{n:["flag-kw","kuwait flag"],u:"1f1f0-1f1fc",a:"2.0"},{n:["flag-ky","cayman islands flag"],u:"1f1f0-1f1fe",a:"2.0"},{n:["flag-kz","kazakhstan flag"],u:"1f1f0-1f1ff",a:"2.0"},{n:["flag-la","laos flag"],u:"1f1f1-1f1e6",a:"2.0"},{n:["flag-lb","lebanon flag"],u:"1f1f1-1f1e7",a:"2.0"},{n:["flag-lc","st. lucia flag"],u:"1f1f1-1f1e8",a:"2.0"},{n:["flag-li","liechtenstein flag"],u:"1f1f1-1f1ee",a:"2.0"},{n:["flag-lk","sri lanka flag"],u:"1f1f1-1f1f0",a:"2.0"},{n:["flag-lr","liberia flag"],u:"1f1f1-1f1f7",a:"2.0"},{n:["flag-ls","lesotho flag"],u:"1f1f1-1f1f8",a:"2.0"},{n:["flag-lt","lithuania flag"],u:"1f1f1-1f1f9",a:"2.0"},{n:["flag-lu","luxembourg flag"],u:"1f1f1-1f1fa",a:"2.0"},{n:["flag-lv","latvia flag"],u:"1f1f1-1f1fb",a:"2.0"},{n:["flag-ly","libya flag"],u:"1f1f1-1f1fe",a:"2.0"},{n:["flag-ma","morocco flag"],u:"1f1f2-1f1e6",a:"2.0"},{n:["flag-mc","monaco flag"],u:"1f1f2-1f1e8",a:"2.0"},{n:["flag-md","moldova flag"],u:"1f1f2-1f1e9",a:"2.0"},{n:["flag-me","montenegro flag"],u:"1f1f2-1f1ea",a:"2.0"},{n:["flag-mf","st. martin flag"],u:"1f1f2-1f1eb",a:"2.0"},{n:["flag-mg","madagascar flag"],u:"1f1f2-1f1ec",a:"2.0"},{n:["flag-mh","marshall islands flag"],u:"1f1f2-1f1ed",a:"2.0"},{n:["flag-mk","north macedonia flag"],u:"1f1f2-1f1f0",a:"2.0"},{n:["flag-ml","mali flag"],u:"1f1f2-1f1f1",a:"2.0"},{n:["flag-mm","myanmar (burma) flag"],u:"1f1f2-1f1f2",a:"2.0"},{n:["flag-mn","mongolia flag"],u:"1f1f2-1f1f3",a:"2.0"},{n:["flag-mo","macao sar china flag"],u:"1f1f2-1f1f4",a:"2.0"},{n:["flag-mp","northern mariana islands flag"],u:"1f1f2-1f1f5",a:"2.0"},{n:["flag-mq","martinique flag"],u:"1f1f2-1f1f6",a:"2.0"},{n:["flag-mr","mauritania flag"],u:"1f1f2-1f1f7",a:"2.0"},{n:["flag-ms","montserrat flag"],u:"1f1f2-1f1f8",a:"2.0"},{n:["flag-mt","malta flag"],u:"1f1f2-1f1f9",a:"2.0"},{n:["flag-mu","mauritius flag"],u:"1f1f2-1f1fa",a:"2.0"},{n:["flag-mv","maldives flag"],u:"1f1f2-1f1fb",a:"2.0"},{n:["flag-mw","malawi flag"],u:"1f1f2-1f1fc",a:"2.0"},{n:["flag-mx","mexico flag"],u:"1f1f2-1f1fd",a:"2.0"},{n:["flag-my","malaysia flag"],u:"1f1f2-1f1fe",a:"2.0"},{n:["flag-mz","mozambique flag"],u:"1f1f2-1f1ff",a:"2.0"},{n:["flag-na","namibia flag"],u:"1f1f3-1f1e6",a:"2.0"},{n:["flag-nc","new caledonia flag"],u:"1f1f3-1f1e8",a:"2.0"},{n:["flag-ne","niger flag"],u:"1f1f3-1f1ea",a:"2.0"},{n:["flag-nf","norfolk island flag"],u:"1f1f3-1f1eb",a:"2.0"},{n:["flag-ng","nigeria flag"],u:"1f1f3-1f1ec",a:"2.0"},{n:["flag-ni","nicaragua flag"],u:"1f1f3-1f1ee",a:"2.0"},{n:["flag-nl","netherlands flag"],u:"1f1f3-1f1f1",a:"2.0"},{n:["flag-no","norway flag"],u:"1f1f3-1f1f4",a:"2.0"},{n:["flag-np","nepal flag"],u:"1f1f3-1f1f5",a:"2.0"},{n:["flag-nr","nauru flag"],u:"1f1f3-1f1f7",a:"2.0"},{n:["flag-nu","niue flag"],u:"1f1f3-1f1fa",a:"2.0"},{n:["flag-nz","new zealand flag"],u:"1f1f3-1f1ff",a:"2.0"},{n:["flag-om","oman flag"],u:"1f1f4-1f1f2",a:"2.0"},{n:["flag-pa","panama flag"],u:"1f1f5-1f1e6",a:"2.0"},{n:["flag-pe","peru flag"],u:"1f1f5-1f1ea",a:"2.0"},{n:["flag-pf","french polynesia flag"],u:"1f1f5-1f1eb",a:"2.0"},{n:["flag-pg","papua new guinea flag"],u:"1f1f5-1f1ec",a:"2.0"},{n:["flag-ph","philippines flag"],u:"1f1f5-1f1ed",a:"2.0"},{n:["flag-pk","pakistan flag"],u:"1f1f5-1f1f0",a:"2.0"},{n:["flag-pl","poland flag"],u:"1f1f5-1f1f1",a:"2.0"},{n:["flag-pm","st. pierre & miquelon flag"],u:"1f1f5-1f1f2",a:"2.0"},{n:["flag-pn","pitcairn islands flag"],u:"1f1f5-1f1f3",a:"2.0"},{n:["flag-pr","puerto rico flag"],u:"1f1f5-1f1f7",a:"2.0"},{n:["flag-ps","palestinian territories flag"],u:"1f1f5-1f1f8",a:"2.0"},{n:["flag-pt","portugal flag"],u:"1f1f5-1f1f9",a:"2.0"},{n:["flag-pw","palau flag"],u:"1f1f5-1f1fc",a:"2.0"},{n:["flag-py","paraguay flag"],u:"1f1f5-1f1fe",a:"2.0"},{n:["flag-qa","qatar flag"],u:"1f1f6-1f1e6",a:"2.0"},{n:["flag-re","réunion flag"],u:"1f1f7-1f1ea",a:"2.0"},{n:["flag-ro","romania flag"],u:"1f1f7-1f1f4",a:"2.0"},{n:["flag-rs","serbia flag"],u:"1f1f7-1f1f8",a:"2.0"},{n:["ru","flag-ru","russia flag"],u:"1f1f7-1f1fa",a:"0.6"},{n:["flag-rw","rwanda flag"],u:"1f1f7-1f1fc",a:"2.0"},{n:["flag-sa","saudi arabia flag"],u:"1f1f8-1f1e6",a:"2.0"},{n:["flag-sb","solomon islands flag"],u:"1f1f8-1f1e7",a:"2.0"},{n:["flag-sc","seychelles flag"],u:"1f1f8-1f1e8",a:"2.0"},{n:["flag-sd","sudan flag"],u:"1f1f8-1f1e9",a:"2.0"},{n:["flag-se","sweden flag"],u:"1f1f8-1f1ea",a:"2.0"},{n:["flag-sg","singapore flag"],u:"1f1f8-1f1ec",a:"2.0"},{n:["flag-sh","st. helena flag"],u:"1f1f8-1f1ed",a:"2.0"},{n:["flag-si","slovenia flag"],u:"1f1f8-1f1ee",a:"2.0"},{n:["flag-sj","svalbard & jan mayen flag"],u:"1f1f8-1f1ef",a:"2.0"},{n:["flag-sk","slovakia flag"],u:"1f1f8-1f1f0",a:"2.0"},{n:["flag-sl","sierra leone flag"],u:"1f1f8-1f1f1",a:"2.0"},{n:["flag-sm","san marino flag"],u:"1f1f8-1f1f2",a:"2.0"},{n:["flag-sn","senegal flag"],u:"1f1f8-1f1f3",a:"2.0"},{n:["flag-so","somalia flag"],u:"1f1f8-1f1f4",a:"2.0"},{n:["flag-sr","suriname flag"],u:"1f1f8-1f1f7",a:"2.0"},{n:["flag-ss","south sudan flag"],u:"1f1f8-1f1f8",a:"2.0"},{n:["flag-st","são tomé & príncipe flag"],u:"1f1f8-1f1f9",a:"2.0"},{n:["flag-sv","el salvador flag"],u:"1f1f8-1f1fb",a:"2.0"},{n:["flag-sx","sint maarten flag"],u:"1f1f8-1f1fd",a:"2.0"},{n:["flag-sy","syria flag"],u:"1f1f8-1f1fe",a:"2.0"},{n:["flag-sz","eswatini flag"],u:"1f1f8-1f1ff",a:"2.0"},{n:["flag-ta","tristan da cunha flag"],u:"1f1f9-1f1e6",a:"2.0"},{n:["flag-tc","turks & caicos islands flag"],u:"1f1f9-1f1e8",a:"2.0"},{n:["flag-td","chad flag"],u:"1f1f9-1f1e9",a:"2.0"},{n:["flag-tf","french southern territories flag"],u:"1f1f9-1f1eb",a:"2.0"},{n:["flag-tg","togo flag"],u:"1f1f9-1f1ec",a:"2.0"},{n:["flag-th","thailand flag"],u:"1f1f9-1f1ed",a:"2.0"},{n:["flag-tj","tajikistan flag"],u:"1f1f9-1f1ef",a:"2.0"},{n:["flag-tk","tokelau flag"],u:"1f1f9-1f1f0",a:"2.0"},{n:["flag-tl","timor-leste flag"],u:"1f1f9-1f1f1",a:"2.0"},{n:["flag-tm","turkmenistan flag"],u:"1f1f9-1f1f2",a:"2.0"},{n:["flag-tn","tunisia flag"],u:"1f1f9-1f1f3",a:"2.0"},{n:["flag-to","tonga flag"],u:"1f1f9-1f1f4",a:"2.0"},{n:["flag-tr","turkey flag"],u:"1f1f9-1f1f7",a:"2.0"},{n:["flag-tt","trinidad & tobago flag"],u:"1f1f9-1f1f9",a:"2.0"},{n:["flag-tv","tuvalu flag"],u:"1f1f9-1f1fb",a:"2.0"},{n:["flag-tw","taiwan flag"],u:"1f1f9-1f1fc",a:"2.0"},{n:["flag-tz","tanzania flag"],u:"1f1f9-1f1ff",a:"2.0"},{n:["flag-ua","ukraine flag"],u:"1f1fa-1f1e6",a:"2.0"},{n:["flag-ug","uganda flag"],u:"1f1fa-1f1ec",a:"2.0"},{n:["flag-um","u.s. outlying islands flag"],u:"1f1fa-1f1f2",a:"2.0"},{n:["flag-un","united nations flag"],u:"1f1fa-1f1f3",a:"4.0"},{n:["us","flag-us","united states flag"],u:"1f1fa-1f1f8",a:"0.6"},{n:["flag-uy","uruguay flag"],u:"1f1fa-1f1fe",a:"2.0"},{n:["flag-uz","uzbekistan flag"],u:"1f1fa-1f1ff",a:"2.0"},{n:["flag-va","vatican city flag"],u:"1f1fb-1f1e6",a:"2.0"},{n:["flag-vc","st. vincent & grenadines flag"],u:"1f1fb-1f1e8",a:"2.0"},{n:["flag-ve","venezuela flag"],u:"1f1fb-1f1ea",a:"2.0"},{n:["flag-vg","british virgin islands flag"],u:"1f1fb-1f1ec",a:"2.0"},{n:["flag-vi","u.s. virgin islands flag"],u:"1f1fb-1f1ee",a:"2.0"},{n:["flag-vn","vietnam flag"],u:"1f1fb-1f1f3",a:"2.0"},{n:["flag-vu","vanuatu flag"],u:"1f1fb-1f1fa",a:"2.0"},{n:["flag-wf","wallis & futuna flag"],u:"1f1fc-1f1eb",a:"2.0"},{n:["flag-ws","samoa flag"],u:"1f1fc-1f1f8",a:"2.0"},{n:["flag-xk","kosovo flag"],u:"1f1fd-1f1f0",a:"2.0"},{n:["flag-ye","yemen flag"],u:"1f1fe-1f1ea",a:"2.0"},{n:["flag-yt","mayotte flag"],u:"1f1fe-1f1f9",a:"2.0"},{n:["flag-za","south africa flag"],u:"1f1ff-1f1e6",a:"2.0"},{n:["flag-zm","zambia flag"],u:"1f1ff-1f1f2",a:"2.0"},{n:["flag-zw","zimbabwe flag"],u:"1f1ff-1f1fc",a:"2.0"},{n:["england flag","flag-england"],u:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f",a:"5.0"},{n:["scotland flag","flag-scotland"],u:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f",a:"5.0"},{n:["wales flag","flag-wales"],u:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",a:"5.0"}],rf={custom:j1,smileys_people:C1,animals_nature:x1,food_drink:S1,travel_places:R1,activities:z1,objects:P1,symbols:T1,flags:A1},bf=[_.NEUTRAL,_.LIGHT,_.MEDIUM_LIGHT,_.MEDIUM,_.MEDIUM_DARK,_.DARK],M1=Object.entries(_).reduce(function(f,e){var a=e[0],n=e[1];return f[n]=a,f},{}),D1=bf.reduce(function(f,e){var a;return Object.assign(f,(a={},a[e]=e,a))},{}),A;(function(f){f.name="n",f.unified="u",f.variations="v",f.added_in="a",f.imgUrl="imgUrl"})(A||(A={}));var ef={};setTimeout(function(){kf.reduce(function(f,e){return ke(e),f},ef)});function ke(f){var e=uf(f).flat().join("").toLowerCase().replace(/[^a-zA-Z\d]/g,"").split("");e.forEach(function(a){var n;ef[a]=(n=ef[a])!=null?n:{},ef[a][C(f)]=f})}function uf(f){var e;return(e=f[A.name])!=null?e:[]}function L1(f){return parseFloat(f[A.added_in])}function Tf(f){return f?uf(f)[0]:""}function Of(f){var e=f.split("-"),a=e.splice(1,1),n=a[0];return D1[n]?e.join("-"):f}function C(f,e){var a,n=f[A.unified];return!e||!Y(f)?n:(a=O1(f,e))!=null?a:n}function _1(f){var e;return(e=rf==null?void 0:rf[f])!=null?e:[]}function we(f,e){return""+E1(e)+f+".png"}function lf(f){var e;return(e=f[A.variations])!=null?e:[]}function Y(f){return lf(f).length>0}function O1(f,e){return e?lf(f).find(function(a){return a.includes(e)}):C(f)}function of(f){if(f){if($[f])return $[f];var e=Of(f);return $[e]}}var kf=Object.values(rf).flat();function F1(f){rf[m.CUSTOM].length=0,f.forEach(function(e){var a=B1(e);rf[m.CUSTOM].push(a),!$[a[A.unified]]&&(kf.push(a),$[a[A.unified]]=a,ke(a))})}function B1(f){var e;return e={},e[A.name]=f.names.map(function(a){return a.toLowerCase()}),e[A.unified]=f.id.toLowerCase(),e[A.added_in]="0",e[A.imgUrl]=f.imgUrl,e}var $={};setTimeout(function(){kf.reduce(function(f,e){return f[C(e)]=e,Y(e)&&lf(e).forEach(function(a){f[a]=e}),f},$)});function I1(f){var e=f.split("-"),a=e[1];return bf.includes(a)?a:null}var U1=["2640-fe0f","2642-fe0f","2695-fe0f"],mf="Search",N1="No results found",ye=" found. Use up and down arrow keys to navigate.",V1="1 result"+ye,q1="%n results"+ye;function Xf(f){var e,a;f===void 0&&(f={});var n=Ee(),r=Object.assign(n.previewConfig,(e=f.previewConfig)!=null?e:{}),i=Object.assign(n,f),t=h1(f.categories,{suggestionMode:i.suggestedEmojisMode});F1((a=i.customEmojis)!=null?a:[]);var d=i.searchDisabled?K.PREVIEW:i.skinTonePickerLocation;return B({},i,{categories:t,previewConfig:r,skinTonePickerLocation:d})}function Ee(){return{autoFocusSearch:!0,categories:he(),customEmojis:[],defaultSkinTone:_.NEUTRAL,emojiStyle:S.APPLE,emojiVersion:null,getEmojiUrl:we,height:450,lazyLoadEmojis:!1,previewConfig:B({},H1),searchDisabled:!1,searchPlaceHolder:mf,searchPlaceholder:mf,skinTonePickerLocation:K.SEARCH,skinTonesDisabled:!1,suggestedEmojisMode:af.FREQUENT,theme:nf.LIGHT,unicodeToHide:new Set(U1),width:350}}var H1={defaultEmoji:"1f60a",defaultCaption:"What's your mood?",showPreview:!0},$1=["children"],je=o.createContext(Ee());function G1(f){var e=f.children,a=s1(f,$1),n=K1(a);return o.createElement(je.Provider,{value:n},e)}function K1(f){var e,a=o.useState(function(){return Xf(f)}),n=a[0],r=a[1];return o.useEffect(function(){var i,t;((i=f.customEmojis)==null?void 0:i.length)!==((t=n.customEmojis)==null?void 0:t.length)&&r(Xf(f))},[(e=f.customEmojis)==null?void 0:e.length]),n}function E(){return o.useContext(je)}var Ce=gf.createContext({});function W1(){var f=gf.useContext(Ce);return f}function Y1(f){var e=gf.useRef({onEmojiClick:f.onEmojiClick||fe});return gf.useEffect(function(){e.current.onEmojiClick=f.onEmojiClick||fe},[f.onEmojiClick]),e}function fe(){}function J1(){var f,e=E(),a=e.searchPlaceHolder,n=e.searchPlaceholder;return(f=[a,n].find(function(r){return r!==mf}))!=null?f:mf}function Z1(){var f=E(),e=f.defaultSkinTone;return e}function xe(){var f=E(),e=f.skinTonesDisabled;return e}function J(){var f=E(),e=f.emojiStyle;return e}function Q1(){var f=E(),e=f.autoFocusSearch;return e}function Se(){var f=E(),e=f.categories;return e}function X1(){var f=E(),e=f.customEmojis;return e}function fa(){var f=W1(),e=f.current;return e.onEmojiClick||function(){}}function Re(){var f=E(),e=f.previewConfig;return e}function ea(){var f=E(),e=f.theme;return e}function aa(){var f=E(),e=f.suggestedEmojisMode;return e}function na(){var f=E(),e=f.lazyLoadEmojis;return e}function ra(){var f=E(),e=f.height,a=f.width;return{height:ee(e),width:ee(a)}}function ia(){var f=E(),e=f.emojiVersion;return e}function ze(){var f=E(),e=f.searchDisabled;return e}function Pe(){var f=E(),e=f.skinTonePickerLocation;return e}function oa(){var f=E(),e=f.unicodeToHide;return e}function Z(){var f=E(),e=f.getEmojiUrl;return e}function ee(f){return typeof f=="number"?f+"px":f}function ta(f){var e=f>0,a=f>1;return e?a?q1.replace("%n",f.toString()):V1:N1}function ae(f,e){e===void 0&&(e=0);var a=o.useState(f),n=a[0],r=a[1],i=o.useRef(null);function t(d){return new Promise(function(c){var l;i.current&&clearTimeout(i.current),i.current=(l=window)==null?void 0:l.setTimeout(function(){r(d),c(d)},e)})}return[n,t]}function da(){var f=oa();return function(e){return f.has(e)}}function Te(){var f=o.useRef({}),e=ia();return o.useMemo(function(){var a=parseFloat(""+e);return!e||Number.isNaN(a)?f.current:kf.reduce(function(n,r){return ua(r,a)&&(n[C(r)]=!0),n},f.current)},[e])}function ca(){var f=Te(),e=da();return function(n){var r=Of(C(n));return!!(f[r]||e(r))}}function ua(f,e){return L1(f)>e}function la(f){o.useEffect(function(){f(!0)},[f])}function sa(f){var e=f.children,a=Te(),n=Z1(),r=o.useRef(ef),i=o.useRef(!1),t=o.useRef(!1),d=o.useRef(a),c=ae(Date.now(),200),l=ae("",100),u=o.useState(!1),s=o.useState(n),g=o.useState(null),p=o.useState(new Set),y=o.useState(null),v=o.useState(!1),w=v[0],h=v[1];return la(h),o.createElement(F.Provider,{value:{activeCategoryState:g,activeSkinTone:s,disallowClickRef:i,disallowMouseRef:t,disallowedEmojisRef:d,emojiVariationPickerState:y,emojisThatFailedToLoadState:p,filterRef:r,isPastInitialLoad:w,searchTerm:l,skinToneFanOpenState:u,suggestedUpdateState:c}},e)}var F=o.createContext({activeCategoryState:[null,function(){}],activeSkinTone:[_.NEUTRAL,function(){}],disallowClickRef:{current:!1},disallowMouseRef:{current:!1},disallowedEmojisRef:{current:{}},emojiVariationPickerState:[null,function(){}],emojisThatFailedToLoadState:[new Set,function(){}],filterRef:{current:{}},isPastInitialLoad:!0,searchTerm:["",function(){return new Promise(function(){})}],skinToneFanOpenState:[!1,function(){}],suggestedUpdateState:[Date.now(),function(){}]});function Ff(){var f=o.useContext(F),e=f.filterRef;return e}function ga(){var f=o.useContext(F),e=f.disallowClickRef;return e}function Bf(){var f=o.useContext(F),e=f.disallowMouseRef;return e}function wf(){var f=o.useContext(F),e=f.searchTerm;return e}function If(){var f=o.useContext(F),e=f.activeSkinTone;return e}function Ae(){var f=o.useContext(F),e=f.emojisThatFailedToLoadState;return e}function ba(){var f=o.useContext(F),e=f.isPastInitialLoad;return e}function Q(){var f=o.useContext(F),e=f.emojiVariationPickerState;return e}function sf(){var f=o.useContext(F),e=f.skinToneFanOpenState;return e}function Me(){var f=o.useContext(F),e=f.suggestedUpdateState,a=e[0],n=e[1];return[a,function(){n(Date.now())}]}function ma(){var f=Bf();return function(){f.current=!0}}function De(){var f=Bf();return function(){f.current=!1}}function Le(){var f=Bf();return function(){return f.current}}function pa(){var f=M(),e=De(),a=Le();o.useEffect(function(){var n=f.current;n==null||n.addEventListener("mousemove",r,{passive:!0});function r(){a()&&e()}return function(){n==null||n.removeEventListener("mousemove",r)}},[f,e,a])}function _e(f,e){if(!f||!e)return 0;var a=f.getBoundingClientRect().width,n=e.getBoundingClientRect().width;return Math.floor(a/n)}function Oe(f,e){if(!f||!e)return 0;var a=e.getBoundingClientRect().width,n=e.getBoundingClientRect().left,r=f.getBoundingClientRect().left;return Math.floor((n-r)/a)}function Fe(f,e){if(!f||!e)return 0;var a=e.getBoundingClientRect().height,n=e.getBoundingClientRect().top,r=f.getBoundingClientRect().top;return Math.round((n-r)/a)}function ha(f,e){if(!f||!e)return!1;var a=e.getBoundingClientRect().height,n=e.getBoundingClientRect().top,r=f.getBoundingClientRect().top,i=f.getBoundingClientRect().height;return Math.round(n-r+a)f.length?[]:Uf(f,n,a)}function Be(f,e,a,n){var r=Uf(f,e,a);return r[n]||r[r.length-1]||null}function ka(f,e,a,n){var r=va(f,e,a);return r[n]||r[r.length-1]||null}function wa(f,e,a,n){var r=Uf(f,e-1,a);return r[n]||r[r.length-1]||null}function ya(f,e){if(!f||!e.length)return null;var a=f.getBoundingClientRect().top,n=f.getBoundingClientRect().bottom,r=e.find(function(i){var t=i.getBoundingClientRect().top,d=i.getBoundingClientRect().bottom;return t>=a&&t<=n||d>=a&&d<=n});return r||null}function Ea(f){return!!f.nextElementSibling}var pf="button"+x(b.emoji),ja=[pf,x(b.visible),":not("+x(b.hidden)+")"].join("");function O(f){var e;return(e=f==null?void 0:f.closest(pf))!=null?e:null}function Nf(f){var e=qe(f),a=qf(f);if(!e)return[];var n=of(a!=null?a:e);return n?[n,a]:[]}function Ca(f){var e;return!!(f!=null&&f.matches(pf)||!(f==null||(e=f.parentElement)==null)&&e.matches(pf))}function ne(f){var e;return(e=f==null?void 0:f.clientHeight)!=null?e:0}function Ie(f){if(!f)return 0;var e=O(f),a=N(e),n=Vf(a);return re(e)+re(a)+n}function Vf(f){var e,a;if(!f)return 0;var n=f.querySelector(x(b.categoryContent));return((e=f==null?void 0:f.clientHeight)!=null?e:0)-((a=n==null?void 0:n.clientHeight)!=null?a:0)}function xa(f){return f?Ne(f)0?[]:_1(e);p.length>0&&n.current++;var y=0,v=p.map(function(w){var h=C(w,l),P=r(w),D=P.failedToLoad,L=P.filteredOut,I=P.hidden,X=u(w);return(I||X)&&y++,X?null:o.createElement(Wf,{showVariations:g,key:h,emoji:w,unified:h,hidden:D,hiddenOnSearch:L,emojiStyle:t,lazyLoad:i,getEmojiUrl:s})});return o.createElement(n1,{categoryConfig:a,hidden:y===v.length},v)}function xf(f){var e=Gf(f);R(e),jf(e)}function en(f){var e=Gf(f);R(e),e==null||e.click()}function an(f){R($e(f))}function nn(f){if(f){var e=Ge(f);if(!e)return xf(Ef(f));R(e),jf(e)}}function rn(f){if(f){var e=$f(f);if(!e)return an(yf(f));R(e),jf(e)}}function on(f,e){if(f){var a=dn(f);if(!a)return e();R(a),jf(a)}}function tn(f){if(f){var e=cn(f);return R(e)}}function dn(f){if(!f)return null;var e=Ke(f),a=N(e),n=Oe(e,f),r=Fe(e,f),i=_e(e,f);if(r===0){var t=yf(a);return t?Be(W(t),-1,i,n):null}return wa(W(e),r,i,n)}function cn(f){if(!f)return null;var e=Ke(f),a=N(e),n=Oe(e,f),r=Fe(e,f),i=_e(e,f);if(!ha(e,f)){var t=Ef(a);return t?Be(W(t),0,i,n):null}var d=ka(W(e),r,i,n);return d}var un=".EmojiPickerReact .epr-emoji-variation-picker{align-items:center;background:var(--epr-emoji-variation-picker-bg-color);border:1px solid var(--epr-picker-border-color);border-radius:3px;box-shadow:0 2px 5px rgba(0,0,0,.2);display:flex;height:0;height:var(--epr-emoji-variation-picker-height);justify-content:space-around;left:15px;opacity:0;padding:5px;pointer-events:none;position:absolute;right:15px;top:0;top:-100%;transform:scale(.9);transition:transform .1s ease-out,opacity .2s ease-out;visibility:hidden;z-index:var(--epr-skin-variation-picker-z-index)}.EmojiPickerReact .epr-emoji-variation-picker.pointing-up{transform:scale(.9);transform-origin:center 0}.EmojiPickerReact .epr-emoji-variation-picker.visible{opacity:1;pointer-events:all;transform:scale(1);visibility:visible}.EmojiPickerReact .epr-emoji-variation-picker .EmojiPickerReact .epr-emoji-variation-picker button.epr-emoji:hover{background:none}.EmojiPickerReact .epr-emoji-variation-picker .epr-emoji-pointer{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='15' xml:space='preserve'%3E%3Cg stroke-miterlimit='10'%3E%3Cpath fill='%23FFF' stroke='%23E8E7E7' d='m1.86-.43 9.83 11.53c.59.69 1.56.69 2.14 0L23.66-.43'/%3E%3Cpath fill='%23010202' stroke='%23151617' d='m26.86-.43 9.83 11.53c.59.69 1.56.69 2.14 0L48.66-.43'/%3E%3C/g%3E%3C/svg%3E\");background-position:0 0;background-repeat:no-repeat;background-size:50px 15px;content:\"\";height:15px;position:absolute;top:-10px;width:25px}.EmojiPickerReact.epr-dark-theme .epr-emoji-variation-picker .epr-emoji-pointer{background-position:-25px 0}@media (prefers-color-scheme:dark){.EmojiPickerReact.epr-auto-theme .epr-emoji-variation-picker .epr-emoji-pointer{background-position:-25px 0}}.EmojiPickerReact .epr-emoji-variation-picker .epr-emoji-pointer{top:100%;transform:translateX(-18px)}.EmojiPickerReact .epr-emoji-variation-picker.pointing-up .epr-emoji-pointer{top:0;transform:rotate(180deg) translateY(100%) translateX(18px)}";z(un);var G;(function(f){f[f.Up=0]="Up",f[f.Down=1]="Down"})(G||(G={}));function ln(){var f=vf(),e=u1(),a=Q(),n=a[0],r=J(),i=gn(e),t=i.getTop,d=i.getMenuDirection,c=me(),l=sn(e),u=Z(),s=O(f.current),g=n&&s&&Y(n)&&s.classList.contains(b.emojiHasVariations);o.useEffect(function(){g&&xf(e.current)},[e,g,f]);var p,y;return!g&&f.current?c(null):(p=t(),y=l()),o.createElement("div",{ref:e,className:j(b.variationPicker,{visible:g,"pointing-up":d()===G.Down}),style:{top:p}},g&&n?[C(n)].concat(lf(n)).slice(0,6).map(function(v){return o.createElement(Wf,{key:v,emoji:n,unified:v,emojiStyle:r,showVariations:!1,getEmojiUrl:u})}):null,o.createElement("div",{className:"epr-emoji-pointer",style:y}))}function sn(f){var e=vf();return function(){var n={};if(!f.current)return n;if(e.current){var r=O(e.current),i=Sa(r);if(!r)return n;n.left=i+(r==null?void 0:r.clientWidth)/2}return n}}function gn(f){var e=vf(),a=M(),n=G.Up;return{getMenuDirection:r,getTop:i};function r(){return n}function i(){n=G.Up;var t=0;if(!f.current)return 0;var d=ne(f.current);if(e.current){var c,l=a.current,u=O(e.current),s=ne(u);t=Ie(u);var g=(c=l==null?void 0:l.scrollTop)!=null?c:0;g>t-d&&(n=G.Down,t+=s+d)}return t-d}}var bn=".EmojiPickerReact .epr-body{flex:1;overflow-x:hidden;overflow-y:scroll;position:relative}";z(bn);function mn(){var f=M();return Da(f),Aa(f),pa(),o.createElement("div",{className:b.scrollBody,ref:f},o.createElement(ln,null),o.createElement(Xa,null))}function pn(f,e){var a=M(),n=Le(),r=De();o.useEffect(function(){if(!f)return;var i=a.current;i==null||i.addEventListener("keydown",c,{passive:!0}),i==null||i.addEventListener("mouseover",l,!0),i==null||i.addEventListener("focus",t,!0),i==null||i.addEventListener("mouseout",d,{passive:!0}),i==null||i.addEventListener("blur",d,!0);function t(u){var s=O(u.target);if(!s)return d();var g=qf(s),p=qe(s);if(!g||!p)return d();e({unified:g,originalUnified:p})}function d(u){if(u){var s=u.relatedTarget;if(!O(s))return e(null)}e(null)}function c(u){u.key==="Escape"&&e(null)}function l(u){if(!n()){var s=O(u.target);s&&R(s)}}return function(){i==null||i.removeEventListener("mouseover",l),i==null||i.removeEventListener("mouseout",d),i==null||i.removeEventListener("focus",t,!0),i==null||i.removeEventListener("blur",d,!0),i==null||i.removeEventListener("keydown",c)}},[a,f,e,n,r])}function Yf(){var f=Pe();return f===K.SEARCH}function r1(){var f=Pe();return f===K.PREVIEW}var hn=".EmojiPickerReact .Flex{display:flex}.EmojiPickerReact .Flex.FlexRow{flex-direction:row}.EmojiPickerReact .Flex.FlexColumn{flex-direction:column}";z(hn);var Mf;(function(f){f.ROW="FlexRow",f.COLUMN="FlexColumn"})(Mf||(Mf={}));function i1(f){var e=f.children,a=f.className,n=f.style,r=n===void 0?{}:n,i=f.direction,t=i===void 0?Mf.ROW:i;return o.createElement("div",{style:B({},r),className:j("Flex",a,t)},e)}function vn(f){var e=f.className,a=f.style,n=a===void 0?{}:a;return o.createElement("div",{style:B({flex:1},n),className:j(e)})}var kn=".EmojiPickerReact .epr-preview{align-items:center;border-top:1px solid var(--epr-preview-border-color);height:var(--epr-preview-height);padding:0 var(--epr-horizontal-padding);position:relative;z-index:1;z-index:var(--epr-preview-z-index)}.EmojiPickerReact .epr-preview .epr-preview-emoji-label{color:var(--epr-preview-text-color);font-size:var(--epr-preview-text-size);padding:var(--epr-preview-text-padding);text-transform:capitalize}";z(kn);function wn(f){var e=f.children,a=f.className,n=f.style;return o.createElement("div",{style:B({},n,{position:"absolute"}),className:a},e)}function Sf(f){var e=f.children,a=f.className,n=f.style;return o.createElement("div",{style:B({},n,{position:"relative"}),className:a},e)}var yn='.EmojiPickerReact .epr-skin-tones{--epr-skin-tone-size:15px;align-items:center;display:flex;justify-content:flex-end;padding:10px 0;transition:all .3s ease-in-out}.EmojiPickerReact .epr-skin-tones.epr-vertical{align-items:flex-end;border:1px solid var(--epr-bg-color);border-radius:6px;flex-direction:column;padding:5px}.EmojiPickerReact .epr-skin-tones.epr-vertical.epr-open{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:var(--epr-skin-tone-picker-menu-color);border:1px solid var(--epr-picker-border-color)}.EmojiPickerReact .epr-skin-tone-select{height:var(--epr-skin-tone-size);position:relative;width:var(--epr-skin-tone-size)}.EmojiPickerReact .epr-skin-tones.epr-open .epr-tone{transition:transform .3s ease-in-out,opacity .3s ease-in-out}.EmojiPickerReact .epr-skin-tones:not(.epr-open) .epr-tone{opacity:0;z-index:0}.EmojiPickerReact .epr-skin-tones .epr-tone{border-radius:4px;box-shadow:0 0 0 0 var(--epr-active-skin-hover-color);cursor:pointer;display:block;height:var(--epr-skin-tone-size);position:absolute;right:0;transition:transform .3s ease-in-out,opacity .5s ease-in-out;width:var(--epr-skin-tone-size);z-index:1}.EmojiPickerReact .epr-skin-tones .epr-tone:hover{box-shadow:0 0 0 3px var(--epr-active-skin-hover-color)}.EmojiPickerReact .epr-skin-tones .epr-tone:focus{box-shadow:0 0 0 3px var(--epr-focus-bg-color)}.EmojiPickerReact .epr-skin-tones.epr-open .epr-skin-tone-select .epr-tone.epr-active:after{border:1px solid var(--epr-active-skin-tone-indicator-border-color);border-radius:5px;bottom:-2px;content:"";left:-2px;position:absolute;right:-2px;top:-2px}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-active{opacity:1;z-index:1}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-neutral{background-color:#ffd225}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-1f3fb{background-color:#ffdfbd}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-1f3fc{background-color:#e9c197}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-1f3fd{background-color:#c88e62}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-1f3fe{background-color:#a86637}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-1f3ff{background-color:#60463a}';z(yn);var ff=28;function En(){return o.createElement(Sf,{style:{height:ff}},o.createElement(wn,{style:{bottom:0,right:0}},o.createElement(o1,{direction:tf.VERTICAL})))}function o1(f){var e,a=f.direction,n=a===void 0?tf.HORIZONTAL:a,r=Df(),i=xe(),t=sf(),d=t[0],c=t[1],l=If(),u=l[0],s=l[1],g=q(),p=H();if(i)return null;var y=ff*bf.length+"px",v=d?y:ff+"px",w=n===tf.VERTICAL;return o.createElement(Sf,{className:j("epr-skin-tones",n,(e={},e[b.open]=d,e)),style:w?{flexBasis:v,height:v}:{flexBasis:v}},o.createElement("div",{className:"epr-skin-tone-select",ref:r},bf.map(function(h,P){var D,L=h===u;return o.createElement(Cf,{style:{transform:j(w?"translateY(-"+P*(d?ff:0)+"px)":"translateX(-"+P*(d?ff:0)+"px)",d&&L&&"scale(1.3)")},onClick:function(){d?(s(h),p()):c(!0),g()},key:h,className:j("epr-tone-"+h,"epr-tone",(D={},D[b.active]=L,D)),tabIndex:d?0:-1,"aria-pressed":L,"aria-label":"Skin tone "+M1[h]})})))}var tf;(function(f){f.VERTICAL="epr-vertical",f.HORIZONTAL="epr-horizontal"})(tf||(tf={}));function jn(){var f=Re(),e=r1();return f.showPreview?o.createElement(i1,{className:"epr-preview"},o.createElement(Cn,null),o.createElement(vn,null),e?o.createElement(En,null):null):null}function Cn(){var f,e=Re(),a=o.useState(null),n=a[0],r=a[1],i=J(),t=Q(),d=t[0],c=Z();pn(e.showPreview,r);var l=of((f=n==null?void 0:n.unified)!=null?f:n==null?void 0:n.originalUnified),u=l!=null&&n!=null;return o.createElement(s,null);function s(){var g=d!=null?d:of(e.defaultEmoji);if(!g)return null;var p=d?Tf(d):e.defaultCaption;return o.createElement(o.Fragment,null,o.createElement("div",null,u?o.createElement(hf,{unified:n==null?void 0:n.unified,emoji:l,emojiStyle:i,size:45,getEmojiUrl:c}):g?o.createElement(hf,{unified:C(g),emoji:g,emojiStyle:i,size:45,getEmojiUrl:c}):null),u?o.createElement("div",{className:"epr-preview-emoji-label"},Tf(l)):o.createElement("div",{className:"epr-preview-emoji-label"},p))}}var xn=".EmojiPickerReact .epr-category-nav{display:flex;flex-direction:row;justify-content:space-around;padding:var(--epr-header-padding)}.EmojiPickerReact .epr-category-nav>button.epr-cat-btn{background-size:calc(var(--epr-category-navigation-button-size)*10);display:inline-block;height:var(--epr-category-navigation-button-size);outline:none;position:relative;transition:opacity .2s ease-in-out;width:var(--epr-category-navigation-button-size)}.EmojiPickerReact .epr-category-nav>button.epr-cat-btn:focus:before{border:2px solid var(--epr-category-icon-active-color);border-radius:50%;bottom:-2px;content:\"\";left:-2px;position:absolute;right:-2px;top:-2px}aside.EmojiPickerReact.epr-main:has(input:not(:-moz-placeholder-shown)) .epr-category-nav{cursor:default;opacity:.3;pointer-events:none}aside.EmojiPickerReact.epr-main:has(input:not(:placeholder-shown)) .epr-category-nav{cursor:default;opacity:.3;pointer-events:none}.EmojiPickerReact.epr-search-active .epr-category-nav{cursor:default;opacity:.3;pointer-events:none}aside.EmojiPickerReact.epr-main:has(input:not(:-moz-placeholder-shown)) .epr-category-nav>button.epr-cat-btn:hover{background-position-y:var(--epr-category-navigation-button-size);opacity:1}aside.EmojiPickerReact.epr-main:has(input:not(:placeholder-shown)) .epr-category-nav>button.epr-cat-btn:hover{background-position-y:var(--epr-category-navigation-button-size);opacity:1}.EmojiPickerReact:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn.epr-active,.EmojiPickerReact:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn:hover{background-position-y:var(--epr-category-navigation-button-size);opacity:1}.EmojiPickerReact .epr-category-nav>button.epr-cat-btn{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='80' xml:space='preserve'%3E%3Cg fill='%233371B7' stroke='%233371B7' stroke-width='.1' stroke-miterlimit='10'%3E%3Cpath d='M12.8 29.5c.6 0 1.1-.5 1.1-1.1 0-.6-.5-1.2-1.1-1.2-.6 0-1.2.5-1.2 1.2 0 .6.6 1.1 1.2 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4z'/%3E%3Cpath d='M10 23c-3.8 0-7 3.1-7 7 0 3.8 3.1 7 7 7s7-3.1 7-7c0-3.8-3.2-7-7-7zm0 13.2c-3.4 0-6.2-2.8-6.2-6.2 0-3.4 2.8-6.2 6.2-6.2s6.2 2.8 6.2 6.2c0 3.4-2.8 6.2-6.2 6.2z'/%3E%3Cpath d='M14.6 31.2c-.1-.1-.2-.2-.3-.2H5.7c-.1 0-.2.1-.3.2-.1.1-.1.2 0 .4.7 2 2.5 3.3 4.6 3.3s3.9-1.3 4.6-3.3c.1-.1.1-.3 0-.4zM10 34.1c-1.6 0-3-.9-3.7-2.2h7.3c-.6 1.3-2 2.2-3.6 2.2zm-2.8-4.6c.6 0 1.2-.5 1.2-1.1 0-.6-.5-1.2-1.2-1.2-.6 0-1.1.5-1.1 1.2 0 .6.5 1.1 1.1 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%233371B7' d='M64.1 33.4h2.3c.2 0 .4.2.4.4v2.1c0 .2-.2.4-.4.4h-2.3c-.2 0-.4-.2-.4-.4v-2.1c0-.2.1-.4.4-.4zm9.4.1h2.4c.2 0 .4.2.4.4v2c0 .2-.2.4-.4.4h-2.4c-.2 0-.4-.2-.4-.4v-2c0-.3.2-.4.4-.4zm-9.8-5.1h12.6v5H63.7v-5z'/%3E%3Cpath fill='none' stroke='%233371B7' d='M65.5 23.6h8.9c1 0 1.9.8 1.9 1.9v3.1H63.7v-3.1c0-1 .8-1.9 1.8-1.9z'/%3E%3Cellipse fill='%233371B7' cx='66.2' cy='30.9' rx='.9' ry='1'/%3E%3Cellipse fill='%233371B7' cx='73.8' cy='30.9' rx='.9' ry='1'/%3E%3Cg fill='none' stroke='%233371B7'%3E%3Cpath d='M96.4 30c0 3.6-2.9 6.5-6.4 6.5s-6.4-2.9-6.4-6.5 2.9-6.5 6.4-6.5 6.4 2.9 6.4 6.5z'/%3E%3Cpath d='M96.3 28.6v.1c-.9.1-2.9.1-4.6-1.1-1.1-.8-2-1.7-2.6-2.5-.3-.4-.6-.8-.7-1-.1-.1-.1-.1-.1-.2.5-.1 1.2-.2 2-.1 1.2 0 2.5.3 3.5 1.1s1.7 1.8 2.1 2.8c.2.2.3.6.4.9zM84 32.2v-.1c.9-.2 2.9-.4 4.7.6 1.1.7 1.9 1.5 2.4 2.3.4.5.6 1 .7 1.3-.4.1-1 .2-1.7.3-1 0-2.1-.1-3.2-.8s-1.9-1.6-2.4-2.5c-.3-.5-.4-.8-.5-1.1z'/%3E%3C/g%3E%3Cg fill='none' stroke='%233371B7'%3E%3Cpath stroke-linecap='round' d='m116.3 26.8-1.4 2-.8-.8-.6-.6v.9l-.1 8.2h-6.8l-.1-8.2v-.9l-.6.6-.8.8-1.4-2 2.6-2.9c.1-.1.2-.1.3-.1h1.3l.4.7c.7 1.3 2.6 1.3 3.3-.1l.3-.6h1.2c.1 0 .2 0 .3.1l.3-.3-.3.3 2.9 2.9z'/%3E%3Cpath d='M110.1 27.7h2v.9c0 .4-.4.7-1 .7s-1-.3-1-.7v-.9z'/%3E%3C/g%3E%3Cpath d='M126.8 34.3c0 1.2-1 2.2-2.2 2.2s-2.2-1-2.2-2.2 1-2.2 2.2-2.2 2.2 1 2.2 2.2zm10.8 0c0 1.2-1 2.2-2.2 2.2-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2c1.2 0 2.2 1 2.2 2.2zm-10.8-9.9v9.9m10.9-9.9v9.9m-10.9-10.8h10.8v2.7h-10.8v-2.7z' fill='none' stroke='%233371B7'/%3E%3Cg fill='%233371B7'%3E%3Cpath d='M170.8 23.1h-.8c-2.1 0-4 1-5.3 2.5h-.1l-.1-.1-1-1.2-.3 3.4 3.4.3-1.1-1.3-.1-.1.1-.1c1.1-1.5 3-2.3 5-2.1 3.2.3 5.5 3.1 5.2 6.3-.3 3-3.1 5.3-6.1 5.1-3.1-.2-5.4-2.9-5.3-6l-1.3-.1c-.2 3.8 2.6 7.1 6.3 7.4 3.9.3 7.3-2.6 7.6-6.5.3-3.8-2.5-7.1-6.1-7.5z'/%3E%3Cpath d='M170.3 27.4c0-.3-.3-.6-.6-.6s-.6.3-.6.6v3.2c0 .2.1.3.2.4.1.1.3.2.4.2h2.4c.4 0 .6-.3.6-.6 0-.4-.3-.6-.6-.6h-1.8v-2.6z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%233371B7' d='M186.2 23.4h7.7c1.5 0 2.7 1.2 2.7 2.7v7.7c0 1.5-1.2 2.7-2.7 2.7h-7.7c-1.5 0-2.7-1.2-2.7-2.7v-7.7c-.1-1.5 1.2-2.7 2.7-2.7z'/%3E%3Ccircle fill='%233371B7' cx='186' cy='28.9' r='.7'/%3E%3Ccircle fill='%233371B7' cx='194' cy='26.7' r='.7'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='m186 33.3.4-.3c.4-.3 1-.3 1.5-.1l1 .4c.5.2 1 .2 1.5-.1l.8-.5c.4-.3 1-.3 1.5-.1l1.8.8'/%3E%3Cpath fill='%233371B7' stroke='%233371B7' stroke-width='.25' stroke-miterlimit='10' d='M156 24.3c-.2-.1-.4-.1-.5 0 0 0-.2.1-.9.2-.7 0-2.4-.1-3.8-.6-.8-.3-1.7-.5-2.5-.5h-.5c-1.3 0-2.5.3-3.6 1-.2.1-.2.2-.2.4v11.6c0 .3.1.5.3.5.6 0 .5-.4.5-.6v-5.7c.7-.3 3.2-1.1 5.8-.1 1.6.6 3.5.7 4.3.7.8 0 1.3-.3 1.3-.3.2-.1.3-.2.3-.4v-5.7c-.3-.2-.4-.4-.5-.5zm-.4 5.9c-.1 0-.7.1-1 .1-.7 0-2.4-.1-3.8-.6-2.5-1-5-.5-6.2-.1v-4.9c.9-.5 2.2-.7 3.2-.7h.4c.7 0 1.5.2 2.2.4 1.6.6 3.5.7 4.3.7.2 0 .8 0 1-.1v5.2z'/%3E%3Cpath fill='none' stroke='%233371B7' d='M48.1 23.5h3.7c2.5 0 4.5 2 4.5 4.5 0 .5-.4.9-.9.9H44.5c-.5 0-.9-.4-.9-.9 0-2.5 2-4.5 4.5-4.5z'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='M43.5 28.8c-.2.1-.5 1.2 0 1.5 1.4 1 8.5.8 11.3.6.8-.1 1.6-.4 1.7-1.2 0-.3-.1-.6-.6-.9'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='m43.5 30.6-.2.4c-.2.5.2 1 .7.9.3-.1.5 0 .7.3l.1.2c.3.5 1 .6 1.5.2h0c.3-.2.7-.3 1-.2l.8.3c.4.2.8.1 1.2 0l.5-.2c.4-.2.9-.2 1.3 0l.5.2c.4.2.8.2 1.2 0l.2-.1c.3-.2.8-.2 1.1.1l.2.2c.3.3.8.2 1-.2l.1-.2c.1-.2 0-.3.2-.3.5 0 1.2-.3 1.1-.7l-.4-1.1'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='M43.5 32.2c-.1.2-.3.8 0 1.1.3.4 3 1.1 6.4 1.1 2.2 0 4.6-.3 6-.6.5-.1.9-.5.8-.9 0-.2-.2-.5-.4-.7'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='M43.5 33.3c0 .5.6 2.3 1.3 2.7 1.8.8 5.7.7 8.1.5 1.3-.1 2.5-.7 3.2-1.8.3-.5.5-1 .5-1.4'/%3E%3Cellipse fill='%233371B7' cx='51.6' cy='26.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%233371B7' cx='53' cy='25' rx='.3' ry='.4'/%3E%3Cellipse fill='%233371B7' cx='53' cy='27.2' rx='.3' ry='.4'/%3E%3Cellipse fill='%233371B7' cx='54.3' cy='26.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%233371B7' cx='50.9' cy='25' rx='.3' ry='.4'/%3E%3Cpath fill='none' stroke='%233371B7' d='M24.2 31v-7.6c.1.1.8.9 2.8 3.1 2.5-1.6 5.6-.7 6.9 0l2.4-3.1v7.1c0 1.2-.1 2.5-.9 3.4-1 1.2-2.7 2.5-5.3 2.5-2.9 0-4.5-1.5-5.3-2.9-.6-.6-.6-1.5-.6-2.5z'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='m21.2 30 5.4 1.2m-5.4 2.9 5.4-1.2M38.8 30l-5.4 1.2m5.4 2.9-5.4-1.2'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%233371B7' d='m29.5 32.4-.5-.7c-.2-.3 0-.6.3-.6h1.4c.3 0 .5.4.3.6l-.7 1c-.7 1.2-2.6 1.1-3.1-.3l-.1-.2c-.1-.2 0-.4.2-.5s.4 0 .5.2l.1.2c.4.7 1.2.8 1.6.3z'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='m32.4 32.1-.1.2c-.4 1-1.8 1.1-2.3.2'/%3E%3Ccircle fill='%233371B7' cx='27.6' cy='29.7' r='.7'/%3E%3Ccircle fill='%233371B7' cx='32.4' cy='29.7' r='.7'/%3E%3Cg fill='%23C0C0BF' stroke='%23C0C0BF' stroke-width='.1' stroke-miterlimit='10'%3E%3Cpath d='M12.8 49.5c.6 0 1.1-.5 1.1-1.1 0-.6-.5-1.2-1.1-1.2-.6 0-1.2.5-1.2 1.2 0 .6.6 1.1 1.2 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4zm1.8 3.2c-.1-.1-.2-.2-.3-.2H5.7c-.1 0-.2.1-.3.2-.1.1-.1.2 0 .4.7 2 2.5 3.3 4.6 3.3s3.9-1.3 4.6-3.3c.1-.1.1-.3 0-.4zM10 54.1c-1.6 0-3-.9-3.7-2.2h7.3c-.6 1.3-2 2.2-3.6 2.2zm-2.8-4.6c.6 0 1.2-.5 1.2-1.1 0-.6-.5-1.2-1.2-1.2-.6 0-1.1.5-1.1 1.2 0 .6.5 1.1 1.1 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4z'/%3E%3Cpath d='M10 43c-3.8 0-7 3.1-7 7 0 3.8 3.1 7 7 7s7-3.1 7-7c0-3.8-3.2-7-7-7zm0 13.2c-3.4 0-6.2-2.8-6.2-6.2 0-3.4 2.8-6.2 6.2-6.2s6.2 2.8 6.2 6.2c0 3.4-2.8 6.2-6.2 6.2z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%23C0C0BF' d='M64.1 53.4h2.3c.2 0 .4.2.4.4v2.1c0 .2-.2.4-.4.4h-2.3c-.2 0-.4-.2-.4-.4v-2.1c0-.2.1-.4.4-.4zm9.4.1h2.4c.2 0 .4.2.4.4v2c0 .2-.2.4-.4.4h-2.4c-.2 0-.4-.2-.4-.4v-2c0-.3.2-.4.4-.4zm-9.8-5.1h12.6v5H63.7v-5z'/%3E%3Cpath fill='none' stroke='%23C0C0BF' d='M65.5 43.6h8.9c1 0 1.9.8 1.9 1.9v3.1H63.7v-3.1c0-1 .8-1.9 1.8-1.9z'/%3E%3Cellipse fill='%23C0C0BF' cx='66.2' cy='50.9' rx='.9' ry='1'/%3E%3Cellipse fill='%23C0C0BF' cx='73.8' cy='50.9' rx='.9' ry='1'/%3E%3Cg fill='none' stroke='%23C0C0BF'%3E%3Cpath d='M96.4 50c0 3.6-2.9 6.5-6.4 6.5s-6.4-2.9-6.4-6.5 2.9-6.5 6.4-6.5 6.4 2.9 6.4 6.5z'/%3E%3Cpath d='M96.3 48.6v.1c-.9.1-2.9.1-4.6-1.2-1.1-.8-2-1.7-2.6-2.5-.3-.4-.6-.8-.7-1-.1-.1-.1-.2-.1-.2.5-.1 1.2-.2 2-.2 1.2 0 2.5.3 3.5 1.1s1.7 1.8 2.1 2.8c.2.4.3.8.4 1.1zM84 52.2v-.1c.9-.2 2.9-.4 4.7.6 1.1.7 1.9 1.5 2.4 2.3.4.5.6 1 .7 1.3-.4.1-1 .2-1.7.3-1 0-2.1-.1-3.2-.8s-1.9-1.6-2.4-2.5c-.3-.5-.4-.8-.5-1.1z'/%3E%3C/g%3E%3Cg fill='none' stroke='%23C0C0BF'%3E%3Cpath stroke-linecap='round' d='m116.3 46.8-1.4 2-.8-.8-.6-.7v.9l-.1 8.2h-6.8l-.1-8.2v-.9l-.6.7-.8.8-1.4-2 2.6-2.9c.1-.1.2-.1.3-.1h1.3l.4.7c.7 1.3 2.6 1.3 3.3-.1l.3-.6h1.2c.1 0 .2 0 .3.1l.3-.3-.3.3 2.9 2.9z'/%3E%3Cpath d='M110.1 47.7h2v.9c0 .4-.4.7-1 .7s-1-.3-1-.7v-.9z'/%3E%3C/g%3E%3Cpath d='M126.8 54.3c0 1.2-1 2.2-2.2 2.2s-2.2-1-2.2-2.2 1-2.2 2.2-2.2 2.2 1 2.2 2.2zm10.8 0c0 1.2-1 2.2-2.2 2.2-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2c1.2 0 2.2 1 2.2 2.2zm-10.8-9.9v9.9m10.9-9.9v9.9m-10.9-10.8h10.8v2.7h-10.8v-2.7z' fill='none' stroke='%23C0C0BF'/%3E%3Cg fill='%23C0C0BF'%3E%3Cpath d='M170.8 43.1h-.8c-2.1 0-4 1-5.3 2.5h-.1l-.1-.1-1-1.2-.3 3.4 3.4.3-1.1-1.3-.1-.1.1-.1c1.1-1.5 3-2.3 5-2.1 3.2.3 5.5 3.1 5.2 6.3-.3 3-3.1 5.3-6.1 5.1-3.1-.2-5.4-2.9-5.3-6l-1.3-.1c-.2 3.8 2.6 7.1 6.3 7.4 3.9.3 7.3-2.6 7.6-6.5.3-3.8-2.5-7.1-6.1-7.5z'/%3E%3Cpath d='M170.3 47.4c0-.3-.3-.6-.6-.6s-.6.3-.6.6v3.2c0 .2.1.3.2.4.1.1.3.2.4.2h2.4c.4 0 .6-.3.6-.6s-.3-.6-.6-.6h-1.8v-2.6z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%23C0C0BF' d='M186.2 43.4h7.7c1.5 0 2.7 1.2 2.7 2.7v7.7c0 1.5-1.2 2.7-2.7 2.7h-7.7c-1.5 0-2.7-1.2-2.7-2.7v-7.7c-.1-1.4 1.2-2.7 2.7-2.7z'/%3E%3Ccircle fill='%23C0C0BF' cx='186' cy='48.9' r='.7'/%3E%3Ccircle fill='%23C0C0BF' cx='194' cy='46.7' r='.7'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='m186 53.3.4-.3c.4-.3 1-.3 1.5-.1l1 .4c.5.2 1 .2 1.5-.1l.8-.5c.4-.3 1-.3 1.5-.1l1.8.8'/%3E%3Cpath fill='%23C0C0BF' stroke='%23C0C0BF' stroke-width='.25' stroke-miterlimit='10' d='M156 44.3c-.2-.1-.4-.1-.5 0 0 0-.2.1-.9.2-.7 0-2.4-.1-3.8-.6-.8-.3-1.7-.5-2.5-.5h-.5c-1.3 0-2.5.3-3.6 1-.2.1-.2.2-.2.4v11.6c0 .3.1.5.3.5.6 0 .5-.4.5-.6v-5.7c.7-.3 3.2-1.1 5.8-.1 1.6.6 3.5.7 4.3.7.8 0 1.3-.3 1.3-.3.2-.1.3-.2.3-.4v-5.7c-.3-.2-.4-.4-.5-.5zm-.4 5.9c-.1 0-.7.1-1 .1-.7 0-2.4-.1-3.8-.6-2.5-1-5-.5-6.2-.1v-4.9c.9-.5 2.2-.7 3.2-.7h.4c.7 0 1.5.2 2.2.4 1.6.6 3.5.7 4.3.7.2 0 .8 0 1-.1v5.2z'/%3E%3Cpath fill='none' stroke='%23C0C0BF' d='M48.1 43.5h3.7c2.5 0 4.5 2 4.5 4.5 0 .5-.4.9-.9.9H44.5c-.5 0-.9-.4-.9-.9 0-2.5 2-4.5 4.5-4.5z'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='M43.5 48.8c-.2.1-.5 1.2 0 1.5 1.4 1 8.5.8 11.3.6.8-.1 1.6-.4 1.7-1.2 0-.3-.1-.6-.6-.9'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='m43.5 50.6-.2.4c-.2.5.2 1 .7.9.3-.1.5 0 .7.3l.1.2c.3.5 1 .6 1.5.2h0c.3-.2.7-.3 1-.2l.8.3c.4.2.8.1 1.2 0l.5-.2c.4-.2.9-.2 1.3 0l.5.2c.4.2.8.2 1.2 0l.2-.1c.3-.2.8-.2 1.1.1l.2.2c.3.3.8.2 1-.2l.1-.2c.1-.2 0-.3.2-.3.5 0 1.2-.3 1.1-.7l-.4-1.1'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='M43.5 52.2c-.1.2-.3.8 0 1.1.3.4 3 1.1 6.4 1.1 2.2 0 4.6-.3 6-.6.5-.1.9-.5.8-.9 0-.2-.2-.5-.4-.7'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='M43.5 53.3c0 .5.6 2.3 1.3 2.7 1.8.8 5.7.7 8.1.5 1.3-.1 2.5-.7 3.2-1.8.3-.5.5-1 .5-1.4'/%3E%3Cellipse fill='%23C0C0BF' cx='51.6' cy='46.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%23C0C0BF' cx='53' cy='45' rx='.3' ry='.4'/%3E%3Cellipse fill='%23C0C0BF' cx='53' cy='47.2' rx='.3' ry='.4'/%3E%3Cellipse fill='%23C0C0BF' cx='54.3' cy='46.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%23C0C0BF' cx='50.9' cy='45' rx='.3' ry='.4'/%3E%3Cpath fill='none' stroke='%23C0C0BF' d='M24.2 51v-7.6c.1.1.8.9 2.8 3.1 2.5-1.7 5.6-.7 6.9 0l2.4-3.1v7.1c0 1.2-.1 2.5-.9 3.4-1 1.2-2.7 2.5-5.3 2.5-2.9 0-4.5-1.5-5.3-2.9-.6-.6-.6-1.5-.6-2.5z'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='m21.2 50 5.4 1.2m-5.4 2.9 5.4-1.2M38.8 50l-5.4 1.2m5.4 2.9-5.4-1.2'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%23C0C0BF' d='m29.5 52.4-.5-.7c-.2-.3 0-.6.3-.6h1.4c.3 0 .5.4.3.6l-.7 1c-.7 1.2-2.6 1.1-3.1-.3l-.1-.2c-.1-.2 0-.4.2-.5s.4 0 .5.2l.1.2c.4.7 1.2.8 1.6.3z'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='m32.4 52.1-.1.2c-.4 1-1.8 1.1-2.3.2'/%3E%3Ccircle fill='%23C0C0BF' cx='27.6' cy='49.7' r='.7'/%3E%3Ccircle fill='%23C0C0BF' cx='32.4' cy='49.7' r='.7'/%3E%3Cg fill='%236AA9DD' stroke='%236AA9DD' stroke-width='.1' stroke-miterlimit='10'%3E%3Cpath d='M14.6 71.2c-.1-.1-.2-.2-.3-.2H5.7c-.1 0-.2.1-.3.2-.1.1-.1.2 0 .4.7 2 2.5 3.3 4.6 3.3s3.9-1.3 4.6-3.3c.1-.1.1-.3 0-.4zM10 74.1c-1.6 0-3-.9-3.7-2.2h7.3c-.6 1.3-2 2.2-3.6 2.2zm2.8-4.6c.6 0 1.1-.5 1.1-1.1 0-.6-.5-1.2-1.1-1.2-.6 0-1.2.5-1.2 1.2 0 .6.6 1.1 1.2 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4zm-5.6 1.5c.6 0 1.2-.5 1.2-1.1 0-.6-.5-1.2-1.2-1.2-.6 0-1.1.5-1.1 1.2 0 .6.5 1.1 1.1 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4z'/%3E%3Cpath d='M10 63c-3.8 0-7 3.1-7 7 0 3.8 3.1 7 7 7s7-3.1 7-7c0-3.8-3.2-7-7-7zm0 13.2c-3.4 0-6.2-2.8-6.2-6.2 0-3.4 2.8-6.2 6.2-6.2s6.2 2.8 6.2 6.2c0 3.4-2.8 6.2-6.2 6.2z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%236AA9DD' d='M64.1 73.4h2.3c.2 0 .4.2.4.4v2.1c0 .2-.2.4-.4.4h-2.3c-.2 0-.4-.2-.4-.4v-2.1c0-.2.1-.4.4-.4zm9.4.1h2.4c.2 0 .4.2.4.4V76c0 .2-.2.4-.4.4h-2.4c-.2 0-.4-.2-.4-.4v-2.1c0-.3.2-.4.4-.4zm-9.8-5.1h12.6v5H63.7v-5z'/%3E%3Cpath fill='none' stroke='%236AA9DD' d='M65.5 63.6h8.9c1 0 1.9.8 1.9 1.9v3.1H63.7v-3.1c0-1 .8-1.9 1.8-1.9z'/%3E%3Ccircle fill='%236AA9DD' cx='66.2' cy='70.9' r='.9'/%3E%3Ccircle fill='%236AA9DD' cx='73.8' cy='70.9' r='.9'/%3E%3Cg fill='none' stroke='%236AA9DD'%3E%3Cpath d='M96.4 70c0 3.6-2.9 6.5-6.4 6.5s-6.4-2.9-6.4-6.5 2.9-6.5 6.4-6.5 6.4 2.9 6.4 6.5z'/%3E%3Cpath d='M96.3 68.6v.1c-.9.1-2.9.1-4.6-1.2-1.1-.8-2-1.7-2.6-2.5-.3-.4-.6-.8-.7-1.1-.1-.1-.1-.2-.1-.2.5-.1 1.2-.2 2-.2 1.2 0 2.5.3 3.5 1.1s1.7 1.8 2.1 2.8c.2.5.3.9.4 1.2zM84 72.2v-.1c.9-.2 2.9-.4 4.7.6 1.1.7 1.9 1.5 2.4 2.3.4.5.6 1 .7 1.3-.4.1-1 .2-1.7.3-1 0-2.1-.1-3.2-.8s-1.9-1.6-2.4-2.5c-.3-.5-.4-.9-.5-1.1z'/%3E%3C/g%3E%3Cg fill='none' stroke='%236AA9DD'%3E%3Cpath stroke-linecap='round' d='m116.3 66.8-1.4 2-.8-.8-.6-.7v.9l-.1 8.2h-6.8l-.1-8.2v-.9l-.6.7-.8.8-1.4-2 2.6-2.9c.1-.1.2-.1.3-.1h1.3l.4.7c.7 1.3 2.6 1.3 3.3-.1l.3-.6h1.2c.1 0 .2 0 .3.1l.3-.3-.3.3 2.9 2.9z'/%3E%3Cpath d='M110.1 67.7h2v.9c0 .4-.4.7-1 .7s-1-.3-1-.7v-.9z'/%3E%3C/g%3E%3Cpath d='M126.8 74.3c0 1.2-1 2.2-2.2 2.2s-2.2-1-2.2-2.2 1-2.2 2.2-2.2 2.2 1 2.2 2.2zm10.8 0c0 1.2-1 2.2-2.2 2.2-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2c1.2 0 2.2 1 2.2 2.2zm-10.8-9.9v9.9m10.9-9.9v9.9m-10.9-10.8h10.8v2.7h-10.8v-2.7z' fill='none' stroke='%236AA9DD'/%3E%3Cg fill='%236AA9DD'%3E%3Cpath d='M170.8 63.1h-.8c-2.1 0-4 1-5.3 2.5h-.1l-.1-.1-1-1.2-.3 3.4 3.4.3-1.1-1.3-.1-.1.1-.1c1.1-1.4 3-2.3 5-2.1 3.2.3 5.5 3.1 5.2 6.3-.3 3-3.1 5.3-6.1 5.1-3.1-.2-5.4-2.9-5.3-6l-1.3-.1c-.2 3.8 2.6 7.1 6.3 7.4 3.9.3 7.3-2.6 7.6-6.5.3-3.8-2.5-7.1-6.1-7.5z'/%3E%3Cpath d='M170.3 67.4c0-.3-.3-.6-.6-.6s-.6.3-.6.6v3.2c0 .2.1.3.2.4.1.1.3.2.4.2h2.4c.4 0 .6-.3.6-.6s-.3-.6-.7-.6h-1.8v-.2l.1-2.4z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%236AA9DD' d='M186.2 63.4h7.7c1.5 0 2.7 1.2 2.7 2.7v7.7c0 1.5-1.2 2.7-2.7 2.7h-7.7c-1.5 0-2.7-1.2-2.7-2.7v-7.7c-.1-1.4 1.2-2.7 2.7-2.7z'/%3E%3Ccircle fill='%236AA9DD' cx='186' cy='68.9' r='.7'/%3E%3Ccircle fill='%236AA9DD' cx='194' cy='66.7' r='.7'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='m186 73.3.4-.3c.4-.3 1-.3 1.5-.1l1 .4c.5.2 1 .2 1.5-.1l.8-.5c.4-.3 1-.3 1.5-.1l1.8.8'/%3E%3Cpath fill='%236AA9DD' stroke='%236AA9DD' stroke-width='.25' stroke-miterlimit='10' d='M156 64.3c-.2-.1-.4-.1-.5 0 0 0-.2.1-.9.2-.7 0-2.4-.1-3.8-.6-.8-.3-1.7-.5-2.5-.5h-.5c-1.3 0-2.5.3-3.6 1-.2.1-.2.2-.2.4v11.6c0 .3.1.5.3.5.6 0 .5-.4.5-.6v-5.7c.7-.3 3.2-1.1 5.8-.1 1.6.6 3.5.7 4.3.7.8 0 1.3-.3 1.3-.3.2-.1.3-.2.3-.4v-5.7c-.3-.2-.4-.4-.5-.5zm-.4 5.9c-.1 0-.7.1-1 .1-.7 0-2.4-.1-3.8-.6-2.5-1-5-.5-6.2-.1v-4.9c.9-.5 2.2-.7 3.2-.7h.4c.7 0 1.5.2 2.2.4 1.6.6 3.5.7 4.3.7.2 0 .8 0 1-.1v5.2z'/%3E%3Cpath fill='none' stroke='%236AA9DD' d='M48.1 63.5h3.7c2.5 0 4.5 2 4.5 4.5 0 .5-.4.9-.9.9H44.5c-.5 0-.9-.4-.9-.9 0-2.5 2-4.5 4.5-4.5z'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='M43.5 68.8c-.2.1-.5 1.2 0 1.5 1.4.9 8.5.8 11.3.6.8-.1 1.6-.4 1.7-1.2 0-.3-.1-.6-.6-.9'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='m43.5 70.6-.2.4c-.2.5.2 1 .7.9.3-.1.5.1.7.3l.1.2c.3.5 1 .6 1.5.2h0c.3-.2.7-.3 1-.2l.8.3c.4.2.8.1 1.2 0l.5-.2c.4-.2.9-.2 1.3 0l.5.2c.4.2.8.2 1.2-.1l.2-.1c.3-.2.8-.2 1.1.1l.2.2c.3.3.8.2 1-.2l.1-.2c.1-.2 0-.3.2-.3.5 0 1.2-.3 1.1-.7l-.4-1.1'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='M43.5 72.2c-.1.2-.3.8 0 1.1.3.4 3 1.1 6.4 1.1 2.2 0 4.6-.3 6-.6.5-.1.9-.4.8-.9 0-.2-.2-.5-.4-.7'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='M43.5 73.3c0 .5.6 2.3 1.3 2.7 1.8.8 5.7.7 8.1.5 1.3-.1 2.5-.7 3.2-1.8.3-.5.5-1 .5-1.4'/%3E%3Cellipse fill='%236AA9DD' cx='51.6' cy='66.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%236AA9DD' cx='53' cy='65' rx='.3' ry='.4'/%3E%3Cellipse fill='%236AA9DD' cx='53' cy='67.2' rx='.3' ry='.4'/%3E%3Cellipse fill='%236AA9DD' cx='54.3' cy='66.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%236AA9DD' cx='50.9' cy='65' rx='.3' ry='.4'/%3E%3Cpath fill='none' stroke='%236AA9DD' d='M24.2 71v-7.6c.1.1.8.9 2.8 3.1 2.5-1.7 5.6-.7 6.9 0l2.4-3.1v7.1c0 1.2-.1 2.5-.9 3.4-1 1.2-2.7 2.5-5.3 2.5-2.9 0-4.5-1.5-5.3-2.9-.6-.6-.6-1.5-.6-2.5z'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='m21.2 70.1 5.4 1.2m-5.4 2.8 5.4-1.2m12.2-2.8-5.4 1.2m5.4 2.8-5.4-1.2'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%236AA9DD' d='m29.5 72.4-.5-.7c-.2-.3 0-.6.3-.6h1.4c.3 0 .5.4.3.6l-.7 1c-.7 1.2-2.6 1.1-3.1-.3l-.1-.2c-.1-.2 0-.4.2-.5.2-.1.4 0 .5.2l.1.2c.4.7 1.2.8 1.6.3z'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='m32.4 72.1-.1.2c-.4 1-1.8 1.1-2.3.2'/%3E%3Ccircle fill='%236AA9DD' cx='27.6' cy='69.7' r='.7'/%3E%3Ccircle fill='%236AA9DD' cx='32.4' cy='69.7' r='.7'/%3E%3Cg fill='%23868686' stroke='%23868686' stroke-width='.1' stroke-miterlimit='10'%3E%3Cpath d='M12.8 9.5c.6 0 1.1-.5 1.1-1.2 0-.6-.5-1.1-1.1-1.1-.6 0-1.2.5-1.2 1.1s.6 1.2 1.2 1.2zm0-1.6c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4.2-.4.4-.4zM7.2 9.5c.6 0 1.2-.5 1.2-1.2 0-.6-.5-1.1-1.2-1.1-.6 0-1.1.5-1.1 1.1s.5 1.2 1.1 1.2zm0-1.6c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4.2-.4.4-.4zm7.4 3.3c-.1-.1-.2-.2-.3-.2H5.7c-.1 0-.2.1-.3.2-.1.1-.1.2 0 .4.7 2 2.5 3.3 4.6 3.3s3.9-1.3 4.6-3.3c.1-.2.1-.3 0-.4zM10 14.1c-1.6 0-3-.9-3.7-2.2h7.3c-.6 1.3-2 2.2-3.6 2.2z'/%3E%3Cpath d='M10 3c-3.8 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.2-7-7-7zm0 13.2c-3.4 0-6.2-2.8-6.2-6.2S6.6 3.8 10 3.8s6.2 2.8 6.2 6.2-2.8 6.2-6.2 6.2z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%23868686' d='M64.1 13.4h2.3c.2 0 .4.2.4.4v2.1c0 .2-.2.4-.4.4h-2.3c-.2 0-.4-.2-.4-.4v-2.1c0-.2.1-.4.4-.4zm9.4 0h2.4c.2 0 .4.2.4.4v2.1c0 .2-.2.4-.4.4h-2.4c-.2 0-.4-.2-.4-.4v-2.1c0-.2.2-.4.4-.4zm-9.8-5h12.6v5H63.7v-5z'/%3E%3Cpath fill='none' stroke='%23868686' d='M65.5 3.6h8.9c1 0 1.9.8 1.9 1.9v3.1H63.7V5.5c0-1.1.8-1.9 1.8-1.9z'/%3E%3Ccircle fill='%23868686' cx='66.2' cy='10.9' r='.9'/%3E%3Ccircle fill='%23868686' cx='73.8' cy='10.9' r='.9'/%3E%3Cg fill='none' stroke='%23868686'%3E%3Cpath d='M96.4 10c0 3.6-2.9 6.5-6.4 6.5s-6.4-2.9-6.4-6.5 2.9-6.5 6.4-6.5 6.4 2.9 6.4 6.5z'/%3E%3Cpath d='M96.3 8.6v.1c-.9.1-2.9.1-4.6-1.2-1.1-.8-2-1.7-2.6-2.5-.3-.4-.6-.8-.7-1.1-.1-.1-.1-.2-.1-.2.5-.1 1.2-.2 2-.2 1.2 0 2.5.3 3.5 1.1s1.7 1.8 2.1 2.8c.2.5.3.9.4 1.2zM84 12.1V12c.9-.2 2.9-.4 4.7.6 1.1.6 1.9 1.5 2.4 2.3.4.5.6 1 .7 1.3-.4.1-1 .2-1.7.3-1 0-2.1-.1-3.2-.8-1.1-.6-1.9-1.6-2.4-2.5-.3-.4-.4-.8-.5-1.1z'/%3E%3C/g%3E%3Cg fill='none' stroke='%23868686'%3E%3Cpath stroke-linecap='round' d='m116.3 6.8-1.4 2-.8-.8-.6-.7v.9l-.1 8.2h-6.8l-.1-8.2v-.9l-.6.7-.8.8-1.4-2 2.6-2.9c.1-.1.2-.1.3-.1h1.3l.4.7c.7 1.3 2.6 1.3 3.3-.1l.3-.6h1.2c.1 0 .2 0 .3.1l.3-.3-.3.3 2.9 2.9z'/%3E%3Cpath d='M110.1 7.7h2v.9c0 .4-.4.7-1 .7s-1-.3-1-.7v-.9z'/%3E%3C/g%3E%3Cpath d='M126.8 14.3c0 1.2-1 2.2-2.2 2.2s-2.2-1-2.2-2.2 1-2.2 2.2-2.2 2.2 1 2.2 2.2zm10.8 0c0 1.2-1 2.2-2.2 2.2-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2c1.2 0 2.2 1 2.2 2.2zm-10.8-9.9v9.9m10.9-9.9v9.9M126.8 3.5h10.8v2.7h-10.8V3.5z' fill='none' stroke='%23868686'/%3E%3Cg fill='%23868686'%3E%3Cpath d='M170.8 3.1h-.8c-2.1 0-4 1-5.3 2.5h-.1l-.1-.1-1-1.2-.3 3.4 3.4.3-1.1-1.3-.1-.1.1-.1c1.1-1.4 3-2.3 5-2.1 3.2.3 5.5 3.1 5.2 6.3-.3 3-3.1 5.3-6.1 5.1-3.1-.2-5.4-2.9-5.3-6l-1.3-.3c-.2 3.8 2.6 7.1 6.3 7.4 3.9.4 7.3-2.6 7.6-6.5.3-3.6-2.5-6.9-6.1-7.3z'/%3E%3Cpath d='M170.3 7.4c0-.3-.3-.6-.6-.6s-.7.3-.7.6v3.2c0 .2.1.3.2.4.1.1.3.2.4.2h2.4c.4 0 .6-.3.6-.6s-.3-.6-.6-.6h-1.8v-.2l.1-2.4z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%23868686' d='M186.2 3.4h7.7c1.5 0 2.7 1.2 2.7 2.7v7.7c0 1.5-1.2 2.7-2.7 2.7h-7.7c-1.5 0-2.7-1.2-2.7-2.7V6.1c-.1-1.5 1.2-2.7 2.7-2.7z'/%3E%3Ccircle fill='%23868686' cx='186' cy='8.9' r='.7'/%3E%3Ccircle fill='%23868686' cx='194' cy='6.7' r='.7'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='m186 13.3.4-.3c.4-.3 1-.3 1.5-.1l1 .4c.5.2 1 .2 1.5-.1l.8-.5c.4-.3 1-.3 1.5-.1l1.8.8'/%3E%3Cpath fill='%23868686' stroke='%23868686' stroke-width='.25' stroke-miterlimit='10' d='M156 4.3c-.2-.1-.4-.1-.5 0 0 0-.2.1-.9.1s-2.4-.1-3.8-.6c-.8-.3-1.7-.5-2.5-.5h-.5c-1.3 0-2.5.3-3.6 1-.2.1-.2.2-.2.4v11.6c0 .3.1.5.3.5.6 0 .5-.4.5-.6v-5.7c.7-.3 3.2-1.1 5.8-.1 1.6.6 3.5.7 4.3.7.8 0 1.3-.3 1.3-.3.2-.1.3-.2.3-.4V4.7c-.3-.2-.4-.3-.5-.4zm-.4 5.9c-.1 0-.7.1-1 .1-.7 0-2.4-.1-3.8-.6-2.5-1-5-.5-6.2-.1V4.7c.9-.5 2.2-.7 3.2-.7h.4c.7 0 1.5.2 2.2.4 1.6.6 3.5.7 4.3.7.2 0 .8 0 1-.1v5.2z'/%3E%3Cpath fill='none' stroke='%23868686' d='M48.1 3.5h3.7c2.5 0 4.5 2 4.5 4.5 0 .5-.4.9-.9.9H44.5c-.5 0-.9-.4-.9-.9 0-2.5 2-4.5 4.5-4.5z'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='M43.5 8.7c-.2.1-.5 1.2 0 1.5 1.4.9 8.5.8 11.3.6.8-.1 1.6-.4 1.7-1.2 0-.3-.1-.6-.6-.9'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='m43.5 10.6-.2.4c-.2.5.2 1 .7.9.3-.1.5.1.7.3l.1.2c.3.5 1 .6 1.5.2h0c.3-.2.7-.3 1-.2l.8.3c.4.1.8.1 1.2 0l.5-.2c.4-.2.9-.2 1.3 0l.5.2c.4.2.8.1 1.2-.1l.2-.1c.3-.2.8-.1 1.1.1l.2.2c.3.3.8.2 1-.2l.1-.2c.1-.2 0-.3.2-.4.5 0 1.2-.3 1.1-.7l-.4-1.1'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='M43.5 12.1c-.1.2-.3.8 0 1.1.3.4 3 1.1 6.4 1.1 2.2 0 4.6-.3 6-.6.5-.1.9-.4.8-.9 0-.2-.2-.5-.4-.7'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='M43.5 13.3c0 .5.6 2.4 1.3 2.6 1.8.8 5.7.7 8.1.5 1.3-.1 2.5-.7 3.2-1.8.3-.5.5-1 .5-1.4'/%3E%3Cellipse fill='%23868686' cx='51.6' cy='6.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%23868686' cx='53' cy='4.9' rx='.3' ry='.4'/%3E%3Cellipse fill='%23868686' cx='53' cy='7.2' rx='.3' ry='.4'/%3E%3Cellipse fill='%23868686' cx='54.3' cy='6.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%23868686' cx='50.9' cy='4.9' rx='.3' ry='.4'/%3E%3Cpath fill='none' stroke='%23868686' d='M24.2 11V3.5c.1.1.8.9 2.8 3.1 2.5-1.7 5.6-.7 6.9 0l2.4-3.1v7.1c0 1.2-.1 2.5-.9 3.4-1 1.2-2.7 2.5-5.3 2.5-2.9 0-4.5-1.5-5.3-2.9-.6-.7-.6-1.7-.6-2.6z'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='m21.2 10 5.4 1.2m-5.4 2.9 5.4-1.2M38.8 10l-5.4 1.2m5.4 2.9-5.4-1.2'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%23868686' d='m29.5 12.4-.5-.7c-.2-.3 0-.6.3-.6h1.4c.3 0 .5.4.3.6l-.7 1c-.7 1.2-2.6 1.1-3.1-.3l-.1-.2c-.1-.2 0-.4.2-.5s.4 0 .5.2l.1.2c.4.6 1.2.8 1.6.3z'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='m32.4 12.1-.1.2c-.4 1-1.8 1.1-2.3.2'/%3E%3Ccircle fill='%23868686' cx='27.6' cy='9.7' r='.7'/%3E%3Ccircle fill='%23868686' cx='32.4' cy='9.7' r='.7'/%3E%3C/svg%3E\");background-position:0 0}.EmojiPickerReact.epr-dark-theme .epr-category-nav>button.epr-cat-btn{background-position-y:calc(var(--epr-category-navigation-button-size)*2)}aside.EmojiPickerReact.epr-main:has(input:-moz-placeholder-shown) .epr-category-nav{background-position-y:calc(var(--epr-category-navigation-button-size)*3)}aside.EmojiPickerReact.epr-main:has(input:placeholder-shown) .epr-category-nav{background-position-y:calc(var(--epr-category-navigation-button-size)*3)}.EmojiPickerReact.epr-dark-theme:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn.epr-active,.EmojiPickerReact.epr-dark-theme:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn:hover{background-position-y:calc(var(--epr-category-navigation-button-size)*3)}@media (prefers-color-scheme:dark){.EmojiPickerReact.epr-auto-theme .epr-category-nav>button.epr-cat-btn{background-position-y:calc(var(--epr-category-navigation-button-size)*2)}.EmojiPickerReact.epr-auto-theme:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn.epr-active,.EmojiPickerReact.epr-auto-theme:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn:hover{background-position-y:calc(var(--epr-category-navigation-button-size)*3)}}.EmojiPickerReact button.epr-cat-btn.epr-icn-suggested{background-position-x:calc(var(--epr-category-navigation-button-size)*-8)}.EmojiPickerReact button.epr-cat-btn.epr-icn-custom{background-position-x:calc(var(--epr-category-navigation-button-size)*-9)}.EmojiPickerReact button.epr-cat-btn.epr-icn-activities{background-position-x:calc(var(--epr-category-navigation-button-size)*-4)}.EmojiPickerReact button.epr-cat-btn.epr-icn-animals_nature{background-position-x:calc(var(--epr-category-navigation-button-size)*-1)}.EmojiPickerReact button.epr-cat-btn.epr-icn-flags{background-position-x:calc(var(--epr-category-navigation-button-size)*-7)}.EmojiPickerReact button.epr-cat-btn.epr-icn-food_drink{background-position-x:calc(var(--epr-category-navigation-button-size)*-2)}.EmojiPickerReact button.epr-cat-btn.epr-icn-objects{background-position-x:calc(var(--epr-category-navigation-button-size)*-5)}.EmojiPickerReact button.epr-cat-btn.epr-icn-smileys_people{background-position-x:0}.EmojiPickerReact button.epr-cat-btn.epr-icn-symbols{background-position-x:calc(var(--epr-category-navigation-button-size)*-6)}.EmojiPickerReact button.epr-cat-btn.epr-icn-travel_places{background-position-x:calc(var(--epr-category-navigation-button-size)*-3)}";z(xn);function Sn(f){var e;return(e=f==null?void 0:f.getAttribute("data-name"))!=null?e:null}function Rn(f){var e=M();o.useEffect(function(){var a=new Map,n=e.current,r=new IntersectionObserver(function(i){if(n){for(var t=b1(i),d;!(d=t()).done;){var c=d.value,l=Sn(c.target);a.set(l,c.intersectionRatio)}var u=Array.from(a),s=u[u.length-1];if(s[1]==1)return f(s[0]);for(var g=0,p=u;g=0)&&(a[r]=f[r]);return a}function g1(f,e){if(f){if(typeof f=="string")return Zf(f,e);var a=Object.prototype.toString.call(f).slice(8,-1);if(a==="Object"&&f.constructor&&(a=f.constructor.name),a==="Map"||a==="Set")return Array.from(f);if(a==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return Zf(f,e)}}function Zf(f,e){(e==null||e>f.length)&&(e=f.length);for(var a=0,n=new Array(e);a=f.length?{done:!0}:{done:!1,value:f[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var af;(function(f){f.RECENT="recent",f.FREQUENT="frequent"})(af||(af={}));var S;(function(f){f.NATIVE="native",f.APPLE="apple",f.TWITTER="twitter",f.GOOGLE="google",f.FACEBOOK="facebook"})(S||(S={}));var nf;(function(f){f.DARK="dark",f.LIGHT="light",f.AUTO="auto"})(nf||(nf={}));var _;(function(f){f.NEUTRAL="neutral",f.LIGHT="1f3fb",f.MEDIUM_LIGHT="1f3fc",f.MEDIUM="1f3fd",f.MEDIUM_DARK="1f3fe",f.DARK="1f3ff"})(_||(_={}));var m;(function(f){f.SUGGESTED="suggested",f.CUSTOM="custom",f.SMILEYS_PEOPLE="smileys_people",f.ANIMALS_NATURE="animals_nature",f.FOOD_DRINK="food_drink",f.TRAVEL_PLACES="travel_places",f.ACTIVITIES="activities",f.OBJECTS="objects",f.SYMBOLS="symbols",f.FLAGS="flags"})(m||(m={}));var K;(function(f){f.SEARCH="SEARCH",f.PREVIEW="PREVIEW"})(K||(K={}));var T,m1=[m.SUGGESTED,m.CUSTOM,m.SMILEYS_PEOPLE,m.ANIMALS_NATURE,m.FOOD_DRINK,m.TRAVEL_PLACES,m.ACTIVITIES,m.OBJECTS,m.SYMBOLS,m.FLAGS],p1={name:"Recently Used",category:m.SUGGESTED},pe=(T={},T[m.SUGGESTED]={category:m.SUGGESTED,name:"Frequently Used"},T[m.CUSTOM]={category:m.CUSTOM,name:"Custom Emojis"},T[m.SMILEYS_PEOPLE]={category:m.SMILEYS_PEOPLE,name:"Smileys & People"},T[m.ANIMALS_NATURE]={category:m.ANIMALS_NATURE,name:"Animals & Nature"},T[m.FOOD_DRINK]={category:m.FOOD_DRINK,name:"Food & Drink"},T[m.TRAVEL_PLACES]={category:m.TRAVEL_PLACES,name:"Travel & Places"},T[m.ACTIVITIES]={category:m.ACTIVITIES,name:"Activities"},T[m.OBJECTS]={category:m.OBJECTS,name:"Objects"},T[m.SYMBOLS]={category:m.SYMBOLS,name:"Symbols"},T[m.FLAGS]={category:m.FLAGS,name:"Flags"},T);function he(f){return m1.map(function(e){return B({},pe[e],f&&f[e]&&f[e])})}function _f(f){return f.category}function ve(f){return f.name}function h1(f,e){var a;f===void 0&&(f=[]),e===void 0&&(e={});var n={};e.suggestionMode===af.RECENT&&(n[m.SUGGESTED]=p1);var r=he(n);return(a=f)!=null&&a.length?f.map(function(i){return typeof i=="string"?Qf(i,n[i]):B({},Qf(i.category,n[i.category]),i)}):r}function Qf(f,e){return e===void 0&&(e={}),Object.assign(pe[f],e)}var v1="https://cdn.jsdelivr.net/npm/emoji-datasource-apple/img/apple/64/",k1="https://cdn.jsdelivr.net/npm/emoji-datasource-facebook/img/facebook/64/",w1="https://cdn.jsdelivr.net/npm/emoji-datasource-twitter/img/twitter/64/",y1="https://cdn.jsdelivr.net/npm/emoji-datasource-google/img/google/64/";function E1(f){switch(f){case S.TWITTER:return w1;case S.GOOGLE:return y1;case S.FACEBOOK:return k1;case S.APPLE:default:return v1}}var j1=[],C1=[{n:["grinning","grinning face"],u:"1f600",a:"1.0"},{n:["smiley","smiling face with open mouth"],u:"1f603",a:"0.6"},{n:["smile","smiling face with open mouth and smiling eyes"],u:"1f604",a:"0.6"},{n:["grin","grinning face with smiling eyes"],u:"1f601",a:"0.6"},{n:["laughing","satisfied","smiling face with open mouth and tightly-closed eyes"],u:"1f606",a:"0.6"},{n:["sweat smile","smiling face with open mouth and cold sweat"],u:"1f605",a:"0.6"},{n:["rolling on the floor laughing"],u:"1f923",a:"3.0"},{n:["joy","face with tears of joy"],u:"1f602",a:"0.6"},{n:["slightly smiling face"],u:"1f642",a:"1.0"},{n:["upside-down face","upside down face"],u:"1f643",a:"1.0"},{n:["melting face"],u:"1fae0",a:"14.0"},{n:["wink","winking face"],u:"1f609",a:"0.6"},{n:["blush","smiling face with smiling eyes"],u:"1f60a",a:"0.6"},{n:["innocent","smiling face with halo"],u:"1f607",a:"1.0"},{n:["smiling face with 3 hearts","smiling face with smiling eyes and three hearts"],u:"1f970",a:"11.0"},{n:["heart eyes","smiling face with heart-shaped eyes"],u:"1f60d",a:"0.6"},{n:["star-struck","grinning face with star eyes"],u:"1f929",a:"5.0"},{n:["kissing heart","face throwing a kiss"],u:"1f618",a:"0.6"},{n:["kissing","kissing face"],u:"1f617",a:"1.0"},{n:["relaxed","white smiling face"],u:"263a-fe0f",a:"0.6"},{n:["kissing closed eyes","kissing face with closed eyes"],u:"1f61a",a:"0.6"},{n:["kissing smiling eyes","kissing face with smiling eyes"],u:"1f619",a:"1.0"},{n:["smiling face with tear"],u:"1f972",a:"13.0"},{n:["yum","face savouring delicious food"],u:"1f60b",a:"0.6"},{n:["stuck out tongue","face with stuck-out tongue"],u:"1f61b",a:"1.0"},{n:["stuck out tongue winking eye","face with stuck-out tongue and winking eye"],u:"1f61c",a:"0.6"},{n:["zany face","grinning face with one large and one small eye"],u:"1f92a",a:"5.0"},{n:["stuck out tongue closed eyes","face with stuck-out tongue and tightly-closed eyes"],u:"1f61d",a:"0.6"},{n:["money-mouth face","money mouth face"],u:"1f911",a:"1.0"},{n:["hugging face"],u:"1f917",a:"1.0"},{n:["face with hand over mouth","smiling face with smiling eyes and hand covering mouth"],u:"1f92d",a:"5.0"},{n:["face with open eyes and hand over mouth"],u:"1fae2",a:"14.0"},{n:["face with peeking eye"],u:"1fae3",a:"14.0"},{n:["shushing face","face with finger covering closed lips"],u:"1f92b",a:"5.0"},{n:["thinking face"],u:"1f914",a:"1.0"},{n:["saluting face"],u:"1fae1",a:"14.0"},{n:["zipper-mouth face","zipper mouth face"],u:"1f910",a:"1.0"},{n:["face with raised eyebrow","face with one eyebrow raised"],u:"1f928",a:"5.0"},{n:["neutral face"],u:"1f610",a:"0.7"},{n:["expressionless","expressionless face"],u:"1f611",a:"1.0"},{n:["no mouth","face without mouth"],u:"1f636",a:"1.0"},{n:["dotted line face"],u:"1fae5",a:"14.0"},{n:["face in clouds"],u:"1f636-200d-1f32b-fe0f",a:"13.1"},{n:["smirk","smirking face"],u:"1f60f",a:"0.6"},{n:["unamused","unamused face"],u:"1f612",a:"0.6"},{n:["face with rolling eyes"],u:"1f644",a:"1.0"},{n:["grimacing","grimacing face"],u:"1f62c",a:"1.0"},{n:["face exhaling"],u:"1f62e-200d-1f4a8",a:"13.1"},{n:["lying face"],u:"1f925",a:"3.0"},{n:["relieved","relieved face"],u:"1f60c",a:"0.6"},{n:["pensive","pensive face"],u:"1f614",a:"0.6"},{n:["sleepy","sleepy face"],u:"1f62a",a:"0.6"},{n:["drooling face"],u:"1f924",a:"3.0"},{n:["sleeping","sleeping face"],u:"1f634",a:"1.0"},{n:["mask","face with medical mask"],u:"1f637",a:"0.6"},{n:["face with thermometer"],u:"1f912",a:"1.0"},{n:["face with head-bandage","face with head bandage"],u:"1f915",a:"1.0"},{n:["nauseated face"],u:"1f922",a:"3.0"},{n:["face vomiting","face with open mouth vomiting"],u:"1f92e",a:"5.0"},{n:["sneezing face"],u:"1f927",a:"3.0"},{n:["hot face","overheated face"],u:"1f975",a:"11.0"},{n:["cold face","freezing face"],u:"1f976",a:"11.0"},{n:["woozy face","face with uneven eyes and wavy mouth"],u:"1f974",a:"11.0"},{n:["dizzy face"],u:"1f635",a:"0.6"},{n:["face with spiral eyes"],u:"1f635-200d-1f4ab",a:"13.1"},{n:["exploding head","shocked face with exploding head"],u:"1f92f",a:"5.0"},{n:["face with cowboy hat"],u:"1f920",a:"3.0"},{n:["partying face","face with party horn and party hat"],u:"1f973",a:"11.0"},{n:["disguised face"],u:"1f978",a:"13.0"},{n:["sunglasses","smiling face with sunglasses"],u:"1f60e",a:"1.0"},{n:["nerd face"],u:"1f913",a:"1.0"},{n:["face with monocle"],u:"1f9d0",a:"5.0"},{n:["confused","confused face"],u:"1f615",a:"1.0"},{n:["face with diagonal mouth"],u:"1fae4",a:"14.0"},{n:["worried","worried face"],u:"1f61f",a:"1.0"},{n:["slightly frowning face"],u:"1f641",a:"1.0"},{n:["frowning face","white frowning face"],u:"2639-fe0f",a:"0.7"},{n:["open mouth","face with open mouth"],u:"1f62e",a:"1.0"},{n:["hushed","hushed face"],u:"1f62f",a:"1.0"},{n:["astonished","astonished face"],u:"1f632",a:"0.6"},{n:["flushed","flushed face"],u:"1f633",a:"0.6"},{n:["pleading face","face with pleading eyes"],u:"1f97a",a:"11.0"},{n:["face holding back tears"],u:"1f979",a:"14.0"},{n:["frowning","frowning face with open mouth"],u:"1f626",a:"1.0"},{n:["anguished","anguished face"],u:"1f627",a:"1.0"},{n:["fearful","fearful face"],u:"1f628",a:"0.6"},{n:["cold sweat","face with open mouth and cold sweat"],u:"1f630",a:"0.6"},{n:["disappointed relieved","disappointed but relieved face"],u:"1f625",a:"0.6"},{n:["cry","crying face"],u:"1f622",a:"0.6"},{n:["sob","loudly crying face"],u:"1f62d",a:"0.6"},{n:["scream","face screaming in fear"],u:"1f631",a:"0.6"},{n:["confounded","confounded face"],u:"1f616",a:"0.6"},{n:["persevere","persevering face"],u:"1f623",a:"0.6"},{n:["disappointed","disappointed face"],u:"1f61e",a:"0.6"},{n:["sweat","face with cold sweat"],u:"1f613",a:"0.6"},{n:["weary","weary face"],u:"1f629",a:"0.6"},{n:["tired face"],u:"1f62b",a:"0.6"},{n:["yawning face"],u:"1f971",a:"12.0"},{n:["triumph","face with look of triumph"],u:"1f624",a:"0.6"},{n:["rage","pouting face"],u:"1f621",a:"0.6"},{n:["angry","angry face"],u:"1f620",a:"0.6"},{n:["face with symbols on mouth","serious face with symbols covering mouth"],u:"1f92c",a:"5.0"},{n:["smiling imp","smiling face with horns"],u:"1f608",a:"1.0"},{n:["imp"],u:"1f47f",a:"0.6"},{n:["skull"],u:"1f480",a:"0.6"},{n:["skull and crossbones"],u:"2620-fe0f",a:"1.0"},{n:["poop","shit","hankey","pile of poo"],u:"1f4a9",a:"0.6"},{n:["clown face"],u:"1f921",a:"3.0"},{n:["japanese ogre"],u:"1f479",a:"0.6"},{n:["japanese goblin"],u:"1f47a",a:"0.6"},{n:["ghost"],u:"1f47b",a:"0.6"},{n:["alien","extraterrestrial alien"],u:"1f47d",a:"0.6"},{n:["alien monster","space invader"],u:"1f47e",a:"0.6"},{n:["robot face"],u:"1f916",a:"1.0"},{n:["smiley cat","smiling cat face with open mouth"],u:"1f63a",a:"0.6"},{n:["smile cat","grinning cat face with smiling eyes"],u:"1f638",a:"0.6"},{n:["joy cat","cat face with tears of joy"],u:"1f639",a:"0.6"},{n:["heart eyes cat","smiling cat face with heart-shaped eyes"],u:"1f63b",a:"0.6"},{n:["smirk cat","cat face with wry smile"],u:"1f63c",a:"0.6"},{n:["kissing cat","kissing cat face with closed eyes"],u:"1f63d",a:"0.6"},{n:["scream cat","weary cat face"],u:"1f640",a:"0.6"},{n:["crying cat face"],u:"1f63f",a:"0.6"},{n:["pouting cat","pouting cat face"],u:"1f63e",a:"0.6"},{n:["see no evil","see-no-evil monkey"],u:"1f648",a:"0.6"},{n:["hear no evil","hear-no-evil monkey"],u:"1f649",a:"0.6"},{n:["speak no evil","speak-no-evil monkey"],u:"1f64a",a:"0.6"},{n:["kiss","kiss mark"],u:"1f48b",a:"0.6"},{n:["love letter"],u:"1f48c",a:"0.6"},{n:["cupid","heart with arrow"],u:"1f498",a:"0.6"},{n:["gift heart","heart with ribbon"],u:"1f49d",a:"0.6"},{n:["sparkling heart"],u:"1f496",a:"0.6"},{n:["heartpulse","growing heart"],u:"1f497",a:"0.6"},{n:["heartbeat","beating heart"],u:"1f493",a:"0.6"},{n:["revolving hearts"],u:"1f49e",a:"0.6"},{n:["two hearts"],u:"1f495",a:"0.6"},{n:["heart decoration"],u:"1f49f",a:"0.6"},{n:["heart exclamation","heavy heart exclamation mark ornament"],u:"2763-fe0f",a:"1.0"},{n:["broken heart"],u:"1f494",a:"0.6"},{n:["heart on fire"],u:"2764-fe0f-200d-1f525",a:"13.1"},{n:["mending heart"],u:"2764-fe0f-200d-1fa79",a:"13.1"},{n:["heart","heavy black heart"],u:"2764-fe0f",a:"0.6"},{n:["orange heart"],u:"1f9e1",a:"5.0"},{n:["yellow heart"],u:"1f49b",a:"0.6"},{n:["green heart"],u:"1f49a",a:"0.6"},{n:["blue heart"],u:"1f499",a:"0.6"},{n:["purple heart"],u:"1f49c",a:"0.6"},{n:["brown heart"],u:"1f90e",a:"12.0"},{n:["black heart"],u:"1f5a4",a:"3.0"},{n:["white heart"],u:"1f90d",a:"12.0"},{n:["100","hundred points symbol"],u:"1f4af",a:"0.6"},{n:["anger","anger symbol"],u:"1f4a2",a:"0.6"},{n:["boom","collision","collision symbol"],u:"1f4a5",a:"0.6"},{n:["dizzy","dizzy symbol"],u:"1f4ab",a:"0.6"},{n:["sweat drops","splashing sweat symbol"],u:"1f4a6",a:"0.6"},{n:["dash","dash symbol"],u:"1f4a8",a:"0.6"},{n:["hole"],u:"1f573-fe0f",a:"0.7"},{n:["bomb"],u:"1f4a3",a:"0.6"},{n:["speech balloon"],u:"1f4ac",a:"0.6"},{n:["eye in speech bubble","eye-in-speech-bubble"],u:"1f441-fe0f-200d-1f5e8-fe0f",a:"2.0"},{n:["left speech bubble"],u:"1f5e8-fe0f",a:"2.0"},{n:["right anger bubble"],u:"1f5ef-fe0f",a:"0.7"},{n:["thought balloon"],u:"1f4ad",a:"1.0"},{n:["zzz","sleeping symbol"],u:"1f4a4",a:"0.6"},{n:["wave","waving hand sign"],u:"1f44b",v:["1f44b-1f3fb","1f44b-1f3fc","1f44b-1f3fd","1f44b-1f3fe","1f44b-1f3ff"],a:"0.6"},{n:["raised back of hand"],u:"1f91a",v:["1f91a-1f3fb","1f91a-1f3fc","1f91a-1f3fd","1f91a-1f3fe","1f91a-1f3ff"],a:"3.0"},{n:["hand with fingers splayed","raised hand with fingers splayed"],u:"1f590-fe0f",v:["1f590-1f3fb","1f590-1f3fc","1f590-1f3fd","1f590-1f3fe","1f590-1f3ff"],a:"0.7"},{n:["hand","raised hand"],u:"270b",v:["270b-1f3fb","270b-1f3fc","270b-1f3fd","270b-1f3fe","270b-1f3ff"],a:"0.6"},{n:["spock-hand","raised hand with part between middle and ring fingers"],u:"1f596",v:["1f596-1f3fb","1f596-1f3fc","1f596-1f3fd","1f596-1f3fe","1f596-1f3ff"],a:"1.0"},{n:["rightwards hand"],u:"1faf1",v:["1faf1-1f3fb","1faf1-1f3fc","1faf1-1f3fd","1faf1-1f3fe","1faf1-1f3ff"],a:"14.0"},{n:["leftwards hand"],u:"1faf2",v:["1faf2-1f3fb","1faf2-1f3fc","1faf2-1f3fd","1faf2-1f3fe","1faf2-1f3ff"],a:"14.0"},{n:["palm down hand"],u:"1faf3",v:["1faf3-1f3fb","1faf3-1f3fc","1faf3-1f3fd","1faf3-1f3fe","1faf3-1f3ff"],a:"14.0"},{n:["palm up hand"],u:"1faf4",v:["1faf4-1f3fb","1faf4-1f3fc","1faf4-1f3fd","1faf4-1f3fe","1faf4-1f3ff"],a:"14.0"},{n:["ok hand","ok hand sign"],u:"1f44c",v:["1f44c-1f3fb","1f44c-1f3fc","1f44c-1f3fd","1f44c-1f3fe","1f44c-1f3ff"],a:"0.6"},{n:["pinched fingers"],u:"1f90c",v:["1f90c-1f3fb","1f90c-1f3fc","1f90c-1f3fd","1f90c-1f3fe","1f90c-1f3ff"],a:"13.0"},{n:["pinching hand"],u:"1f90f",v:["1f90f-1f3fb","1f90f-1f3fc","1f90f-1f3fd","1f90f-1f3fe","1f90f-1f3ff"],a:"12.0"},{n:["v","victory hand"],u:"270c-fe0f",v:["270c-1f3fb","270c-1f3fc","270c-1f3fd","270c-1f3fe","270c-1f3ff"],a:"0.6"},{n:["crossed fingers","hand with index and middle fingers crossed"],u:"1f91e",v:["1f91e-1f3fb","1f91e-1f3fc","1f91e-1f3fd","1f91e-1f3fe","1f91e-1f3ff"],a:"3.0"},{n:["hand with index finger and thumb crossed"],u:"1faf0",v:["1faf0-1f3fb","1faf0-1f3fc","1faf0-1f3fd","1faf0-1f3fe","1faf0-1f3ff"],a:"14.0"},{n:["i love you hand sign"],u:"1f91f",v:["1f91f-1f3fb","1f91f-1f3fc","1f91f-1f3fd","1f91f-1f3fe","1f91f-1f3ff"],a:"5.0"},{n:["the horns","sign of the horns"],u:"1f918",v:["1f918-1f3fb","1f918-1f3fc","1f918-1f3fd","1f918-1f3fe","1f918-1f3ff"],a:"1.0"},{n:["call me hand"],u:"1f919",v:["1f919-1f3fb","1f919-1f3fc","1f919-1f3fd","1f919-1f3fe","1f919-1f3ff"],a:"3.0"},{n:["point left","white left pointing backhand index"],u:"1f448",v:["1f448-1f3fb","1f448-1f3fc","1f448-1f3fd","1f448-1f3fe","1f448-1f3ff"],a:"0.6"},{n:["point right","white right pointing backhand index"],u:"1f449",v:["1f449-1f3fb","1f449-1f3fc","1f449-1f3fd","1f449-1f3fe","1f449-1f3ff"],a:"0.6"},{n:["point up 2","white up pointing backhand index"],u:"1f446",v:["1f446-1f3fb","1f446-1f3fc","1f446-1f3fd","1f446-1f3fe","1f446-1f3ff"],a:"0.6"},{n:["middle finger","reversed hand with middle finger extended"],u:"1f595",v:["1f595-1f3fb","1f595-1f3fc","1f595-1f3fd","1f595-1f3fe","1f595-1f3ff"],a:"1.0"},{n:["point down","white down pointing backhand index"],u:"1f447",v:["1f447-1f3fb","1f447-1f3fc","1f447-1f3fd","1f447-1f3fe","1f447-1f3ff"],a:"0.6"},{n:["point up","white up pointing index"],u:"261d-fe0f",v:["261d-1f3fb","261d-1f3fc","261d-1f3fd","261d-1f3fe","261d-1f3ff"],a:"0.6"},{n:["index pointing at the viewer"],u:"1faf5",v:["1faf5-1f3fb","1faf5-1f3fc","1faf5-1f3fd","1faf5-1f3fe","1faf5-1f3ff"],a:"14.0"},{n:["+1","thumbsup","thumbs up sign"],u:"1f44d",v:["1f44d-1f3fb","1f44d-1f3fc","1f44d-1f3fd","1f44d-1f3fe","1f44d-1f3ff"],a:"0.6"},{n:["-1","thumbsdown","thumbs down sign"],u:"1f44e",v:["1f44e-1f3fb","1f44e-1f3fc","1f44e-1f3fd","1f44e-1f3fe","1f44e-1f3ff"],a:"0.6"},{n:["fist","raised fist"],u:"270a",v:["270a-1f3fb","270a-1f3fc","270a-1f3fd","270a-1f3fe","270a-1f3ff"],a:"0.6"},{n:["punch","facepunch","fisted hand sign"],u:"1f44a",v:["1f44a-1f3fb","1f44a-1f3fc","1f44a-1f3fd","1f44a-1f3fe","1f44a-1f3ff"],a:"0.6"},{n:["left-facing fist"],u:"1f91b",v:["1f91b-1f3fb","1f91b-1f3fc","1f91b-1f3fd","1f91b-1f3fe","1f91b-1f3ff"],a:"3.0"},{n:["right-facing fist"],u:"1f91c",v:["1f91c-1f3fb","1f91c-1f3fc","1f91c-1f3fd","1f91c-1f3fe","1f91c-1f3ff"],a:"3.0"},{n:["clap","clapping hands sign"],u:"1f44f",v:["1f44f-1f3fb","1f44f-1f3fc","1f44f-1f3fd","1f44f-1f3fe","1f44f-1f3ff"],a:"0.6"},{n:["raised hands","person raising both hands in celebration"],u:"1f64c",v:["1f64c-1f3fb","1f64c-1f3fc","1f64c-1f3fd","1f64c-1f3fe","1f64c-1f3ff"],a:"0.6"},{n:["heart hands"],u:"1faf6",v:["1faf6-1f3fb","1faf6-1f3fc","1faf6-1f3fd","1faf6-1f3fe","1faf6-1f3ff"],a:"14.0"},{n:["open hands","open hands sign"],u:"1f450",v:["1f450-1f3fb","1f450-1f3fc","1f450-1f3fd","1f450-1f3fe","1f450-1f3ff"],a:"0.6"},{n:["palms up together"],u:"1f932",v:["1f932-1f3fb","1f932-1f3fc","1f932-1f3fd","1f932-1f3fe","1f932-1f3ff"],a:"5.0"},{n:["handshake"],u:"1f91d",v:["1f91d-1f3fb","1f91d-1f3fc","1f91d-1f3fd","1f91d-1f3fe","1f91d-1f3ff","1faf1-1f3fb-200d-1faf2-1f3fc","1faf1-1f3fb-200d-1faf2-1f3fd","1faf1-1f3fb-200d-1faf2-1f3fe","1faf1-1f3fb-200d-1faf2-1f3ff","1faf1-1f3fc-200d-1faf2-1f3fb","1faf1-1f3fc-200d-1faf2-1f3fd","1faf1-1f3fc-200d-1faf2-1f3fe","1faf1-1f3fc-200d-1faf2-1f3ff","1faf1-1f3fd-200d-1faf2-1f3fb","1faf1-1f3fd-200d-1faf2-1f3fc","1faf1-1f3fd-200d-1faf2-1f3fe","1faf1-1f3fd-200d-1faf2-1f3ff","1faf1-1f3fe-200d-1faf2-1f3fb","1faf1-1f3fe-200d-1faf2-1f3fc","1faf1-1f3fe-200d-1faf2-1f3fd","1faf1-1f3fe-200d-1faf2-1f3ff","1faf1-1f3ff-200d-1faf2-1f3fb","1faf1-1f3ff-200d-1faf2-1f3fc","1faf1-1f3ff-200d-1faf2-1f3fd","1faf1-1f3ff-200d-1faf2-1f3fe"],a:"3.0"},{n:["pray","person with folded hands"],u:"1f64f",v:["1f64f-1f3fb","1f64f-1f3fc","1f64f-1f3fd","1f64f-1f3fe","1f64f-1f3ff"],a:"0.6"},{n:["writing hand"],u:"270d-fe0f",v:["270d-1f3fb","270d-1f3fc","270d-1f3fd","270d-1f3fe","270d-1f3ff"],a:"0.7"},{n:["nail care","nail polish"],u:"1f485",v:["1f485-1f3fb","1f485-1f3fc","1f485-1f3fd","1f485-1f3fe","1f485-1f3ff"],a:"0.6"},{n:["selfie"],u:"1f933",v:["1f933-1f3fb","1f933-1f3fc","1f933-1f3fd","1f933-1f3fe","1f933-1f3ff"],a:"3.0"},{n:["muscle","flexed biceps"],u:"1f4aa",v:["1f4aa-1f3fb","1f4aa-1f3fc","1f4aa-1f3fd","1f4aa-1f3fe","1f4aa-1f3ff"],a:"0.6"},{n:["mechanical arm"],u:"1f9be",a:"12.0"},{n:["mechanical leg"],u:"1f9bf",a:"12.0"},{n:["leg"],u:"1f9b5",v:["1f9b5-1f3fb","1f9b5-1f3fc","1f9b5-1f3fd","1f9b5-1f3fe","1f9b5-1f3ff"],a:"11.0"},{n:["foot"],u:"1f9b6",v:["1f9b6-1f3fb","1f9b6-1f3fc","1f9b6-1f3fd","1f9b6-1f3fe","1f9b6-1f3ff"],a:"11.0"},{n:["ear"],u:"1f442",v:["1f442-1f3fb","1f442-1f3fc","1f442-1f3fd","1f442-1f3fe","1f442-1f3ff"],a:"0.6"},{n:["ear with hearing aid"],u:"1f9bb",v:["1f9bb-1f3fb","1f9bb-1f3fc","1f9bb-1f3fd","1f9bb-1f3fe","1f9bb-1f3ff"],a:"12.0"},{n:["nose"],u:"1f443",v:["1f443-1f3fb","1f443-1f3fc","1f443-1f3fd","1f443-1f3fe","1f443-1f3ff"],a:"0.6"},{n:["brain"],u:"1f9e0",a:"5.0"},{n:["anatomical heart"],u:"1fac0",a:"13.0"},{n:["lungs"],u:"1fac1",a:"13.0"},{n:["tooth"],u:"1f9b7",a:"11.0"},{n:["bone"],u:"1f9b4",a:"11.0"},{n:["eyes"],u:"1f440",a:"0.6"},{n:["eye"],u:"1f441-fe0f",a:"0.7"},{n:["tongue"],u:"1f445",a:"0.6"},{n:["lips","mouth"],u:"1f444",a:"0.6"},{n:["biting lip"],u:"1fae6",a:"14.0"},{n:["baby"],u:"1f476",v:["1f476-1f3fb","1f476-1f3fc","1f476-1f3fd","1f476-1f3fe","1f476-1f3ff"],a:"0.6"},{n:["child"],u:"1f9d2",v:["1f9d2-1f3fb","1f9d2-1f3fc","1f9d2-1f3fd","1f9d2-1f3fe","1f9d2-1f3ff"],a:"5.0"},{n:["boy"],u:"1f466",v:["1f466-1f3fb","1f466-1f3fc","1f466-1f3fd","1f466-1f3fe","1f466-1f3ff"],a:"0.6"},{n:["girl"],u:"1f467",v:["1f467-1f3fb","1f467-1f3fc","1f467-1f3fd","1f467-1f3fe","1f467-1f3ff"],a:"0.6"},{n:["adult"],u:"1f9d1",v:["1f9d1-1f3fb","1f9d1-1f3fc","1f9d1-1f3fd","1f9d1-1f3fe","1f9d1-1f3ff"],a:"5.0"},{n:["person with blond hair"],u:"1f471",v:["1f471-1f3fb","1f471-1f3fc","1f471-1f3fd","1f471-1f3fe","1f471-1f3ff"],a:"0.6"},{n:["man"],u:"1f468",v:["1f468-1f3fb","1f468-1f3fc","1f468-1f3fd","1f468-1f3fe","1f468-1f3ff"],a:"0.6"},{n:["bearded person"],u:"1f9d4",v:["1f9d4-1f3fb","1f9d4-1f3fc","1f9d4-1f3fd","1f9d4-1f3fe","1f9d4-1f3ff"],a:"5.0"},{n:["man: beard","man with beard"],u:"1f9d4-200d-2642-fe0f",v:["1f9d4-1f3fb-200d-2642-fe0f","1f9d4-1f3fc-200d-2642-fe0f","1f9d4-1f3fd-200d-2642-fe0f","1f9d4-1f3fe-200d-2642-fe0f","1f9d4-1f3ff-200d-2642-fe0f"],a:"13.1"},{n:["woman: beard","woman with beard"],u:"1f9d4-200d-2640-fe0f",v:["1f9d4-1f3fb-200d-2640-fe0f","1f9d4-1f3fc-200d-2640-fe0f","1f9d4-1f3fd-200d-2640-fe0f","1f9d4-1f3fe-200d-2640-fe0f","1f9d4-1f3ff-200d-2640-fe0f"],a:"13.1"},{n:["man: red hair","red haired man"],u:"1f468-200d-1f9b0",v:["1f468-1f3fb-200d-1f9b0","1f468-1f3fc-200d-1f9b0","1f468-1f3fd-200d-1f9b0","1f468-1f3fe-200d-1f9b0","1f468-1f3ff-200d-1f9b0"],a:"11.0"},{n:["man: curly hair","curly haired man"],u:"1f468-200d-1f9b1",v:["1f468-1f3fb-200d-1f9b1","1f468-1f3fc-200d-1f9b1","1f468-1f3fd-200d-1f9b1","1f468-1f3fe-200d-1f9b1","1f468-1f3ff-200d-1f9b1"],a:"11.0"},{n:["man: white hair","white haired man"],u:"1f468-200d-1f9b3",v:["1f468-1f3fb-200d-1f9b3","1f468-1f3fc-200d-1f9b3","1f468-1f3fd-200d-1f9b3","1f468-1f3fe-200d-1f9b3","1f468-1f3ff-200d-1f9b3"],a:"11.0"},{n:["bald man","man: bald"],u:"1f468-200d-1f9b2",v:["1f468-1f3fb-200d-1f9b2","1f468-1f3fc-200d-1f9b2","1f468-1f3fd-200d-1f9b2","1f468-1f3fe-200d-1f9b2","1f468-1f3ff-200d-1f9b2"],a:"11.0"},{n:["woman"],u:"1f469",v:["1f469-1f3fb","1f469-1f3fc","1f469-1f3fd","1f469-1f3fe","1f469-1f3ff"],a:"0.6"},{n:["woman: red hair","red haired woman"],u:"1f469-200d-1f9b0",v:["1f469-1f3fb-200d-1f9b0","1f469-1f3fc-200d-1f9b0","1f469-1f3fd-200d-1f9b0","1f469-1f3fe-200d-1f9b0","1f469-1f3ff-200d-1f9b0"],a:"11.0"},{n:["person: red hair","red haired person"],u:"1f9d1-200d-1f9b0",v:["1f9d1-1f3fb-200d-1f9b0","1f9d1-1f3fc-200d-1f9b0","1f9d1-1f3fd-200d-1f9b0","1f9d1-1f3fe-200d-1f9b0","1f9d1-1f3ff-200d-1f9b0"],a:"12.1"},{n:["woman: curly hair","curly haired woman"],u:"1f469-200d-1f9b1",v:["1f469-1f3fb-200d-1f9b1","1f469-1f3fc-200d-1f9b1","1f469-1f3fd-200d-1f9b1","1f469-1f3fe-200d-1f9b1","1f469-1f3ff-200d-1f9b1"],a:"11.0"},{n:["person: curly hair","curly haired person"],u:"1f9d1-200d-1f9b1",v:["1f9d1-1f3fb-200d-1f9b1","1f9d1-1f3fc-200d-1f9b1","1f9d1-1f3fd-200d-1f9b1","1f9d1-1f3fe-200d-1f9b1","1f9d1-1f3ff-200d-1f9b1"],a:"12.1"},{n:["woman: white hair","white haired woman"],u:"1f469-200d-1f9b3",v:["1f469-1f3fb-200d-1f9b3","1f469-1f3fc-200d-1f9b3","1f469-1f3fd-200d-1f9b3","1f469-1f3fe-200d-1f9b3","1f469-1f3ff-200d-1f9b3"],a:"11.0"},{n:["person: white hair","white haired person"],u:"1f9d1-200d-1f9b3",v:["1f9d1-1f3fb-200d-1f9b3","1f9d1-1f3fc-200d-1f9b3","1f9d1-1f3fd-200d-1f9b3","1f9d1-1f3fe-200d-1f9b3","1f9d1-1f3ff-200d-1f9b3"],a:"12.1"},{n:["bald woman","woman: bald"],u:"1f469-200d-1f9b2",v:["1f469-1f3fb-200d-1f9b2","1f469-1f3fc-200d-1f9b2","1f469-1f3fd-200d-1f9b2","1f469-1f3fe-200d-1f9b2","1f469-1f3ff-200d-1f9b2"],a:"11.0"},{n:["bald person","person: bald"],u:"1f9d1-200d-1f9b2",v:["1f9d1-1f3fb-200d-1f9b2","1f9d1-1f3fc-200d-1f9b2","1f9d1-1f3fd-200d-1f9b2","1f9d1-1f3fe-200d-1f9b2","1f9d1-1f3ff-200d-1f9b2"],a:"12.1"},{n:["woman: blond hair","blond-haired-woman"],u:"1f471-200d-2640-fe0f",v:["1f471-1f3fb-200d-2640-fe0f","1f471-1f3fc-200d-2640-fe0f","1f471-1f3fd-200d-2640-fe0f","1f471-1f3fe-200d-2640-fe0f","1f471-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["man: blond hair","blond-haired-man"],u:"1f471-200d-2642-fe0f",v:["1f471-1f3fb-200d-2642-fe0f","1f471-1f3fc-200d-2642-fe0f","1f471-1f3fd-200d-2642-fe0f","1f471-1f3fe-200d-2642-fe0f","1f471-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["older adult"],u:"1f9d3",v:["1f9d3-1f3fb","1f9d3-1f3fc","1f9d3-1f3fd","1f9d3-1f3fe","1f9d3-1f3ff"],a:"5.0"},{n:["older man"],u:"1f474",v:["1f474-1f3fb","1f474-1f3fc","1f474-1f3fd","1f474-1f3fe","1f474-1f3ff"],a:"0.6"},{n:["older woman"],u:"1f475",v:["1f475-1f3fb","1f475-1f3fc","1f475-1f3fd","1f475-1f3fe","1f475-1f3ff"],a:"0.6"},{n:["person frowning"],u:"1f64d",v:["1f64d-1f3fb","1f64d-1f3fc","1f64d-1f3fd","1f64d-1f3fe","1f64d-1f3ff"],a:"0.6"},{n:["man frowning","man-frowning"],u:"1f64d-200d-2642-fe0f",v:["1f64d-1f3fb-200d-2642-fe0f","1f64d-1f3fc-200d-2642-fe0f","1f64d-1f3fd-200d-2642-fe0f","1f64d-1f3fe-200d-2642-fe0f","1f64d-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman frowning","woman-frowning"],u:"1f64d-200d-2640-fe0f",v:["1f64d-1f3fb-200d-2640-fe0f","1f64d-1f3fc-200d-2640-fe0f","1f64d-1f3fd-200d-2640-fe0f","1f64d-1f3fe-200d-2640-fe0f","1f64d-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with pouting face"],u:"1f64e",v:["1f64e-1f3fb","1f64e-1f3fc","1f64e-1f3fd","1f64e-1f3fe","1f64e-1f3ff"],a:"0.6"},{n:["man pouting","man-pouting"],u:"1f64e-200d-2642-fe0f",v:["1f64e-1f3fb-200d-2642-fe0f","1f64e-1f3fc-200d-2642-fe0f","1f64e-1f3fd-200d-2642-fe0f","1f64e-1f3fe-200d-2642-fe0f","1f64e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman pouting","woman-pouting"],u:"1f64e-200d-2640-fe0f",v:["1f64e-1f3fb-200d-2640-fe0f","1f64e-1f3fc-200d-2640-fe0f","1f64e-1f3fd-200d-2640-fe0f","1f64e-1f3fe-200d-2640-fe0f","1f64e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["no good","face with no good gesture"],u:"1f645",v:["1f645-1f3fb","1f645-1f3fc","1f645-1f3fd","1f645-1f3fe","1f645-1f3ff"],a:"0.6"},{n:["man gesturing no","man-gesturing-no"],u:"1f645-200d-2642-fe0f",v:["1f645-1f3fb-200d-2642-fe0f","1f645-1f3fc-200d-2642-fe0f","1f645-1f3fd-200d-2642-fe0f","1f645-1f3fe-200d-2642-fe0f","1f645-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman gesturing no","woman-gesturing-no"],u:"1f645-200d-2640-fe0f",v:["1f645-1f3fb-200d-2640-fe0f","1f645-1f3fc-200d-2640-fe0f","1f645-1f3fd-200d-2640-fe0f","1f645-1f3fe-200d-2640-fe0f","1f645-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["ok woman","face with ok gesture"],u:"1f646",v:["1f646-1f3fb","1f646-1f3fc","1f646-1f3fd","1f646-1f3fe","1f646-1f3ff"],a:"0.6"},{n:["man gesturing ok","man-gesturing-ok"],u:"1f646-200d-2642-fe0f",v:["1f646-1f3fb-200d-2642-fe0f","1f646-1f3fc-200d-2642-fe0f","1f646-1f3fd-200d-2642-fe0f","1f646-1f3fe-200d-2642-fe0f","1f646-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman gesturing ok","woman-gesturing-ok"],u:"1f646-200d-2640-fe0f",v:["1f646-1f3fb-200d-2640-fe0f","1f646-1f3fc-200d-2640-fe0f","1f646-1f3fd-200d-2640-fe0f","1f646-1f3fe-200d-2640-fe0f","1f646-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["information desk person"],u:"1f481",v:["1f481-1f3fb","1f481-1f3fc","1f481-1f3fd","1f481-1f3fe","1f481-1f3ff"],a:"0.6"},{n:["man tipping hand","man-tipping-hand"],u:"1f481-200d-2642-fe0f",v:["1f481-1f3fb-200d-2642-fe0f","1f481-1f3fc-200d-2642-fe0f","1f481-1f3fd-200d-2642-fe0f","1f481-1f3fe-200d-2642-fe0f","1f481-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman tipping hand","woman-tipping-hand"],u:"1f481-200d-2640-fe0f",v:["1f481-1f3fb-200d-2640-fe0f","1f481-1f3fc-200d-2640-fe0f","1f481-1f3fd-200d-2640-fe0f","1f481-1f3fe-200d-2640-fe0f","1f481-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["raising hand","happy person raising one hand"],u:"1f64b",v:["1f64b-1f3fb","1f64b-1f3fc","1f64b-1f3fd","1f64b-1f3fe","1f64b-1f3ff"],a:"0.6"},{n:["man raising hand","man-raising-hand"],u:"1f64b-200d-2642-fe0f",v:["1f64b-1f3fb-200d-2642-fe0f","1f64b-1f3fc-200d-2642-fe0f","1f64b-1f3fd-200d-2642-fe0f","1f64b-1f3fe-200d-2642-fe0f","1f64b-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman raising hand","woman-raising-hand"],u:"1f64b-200d-2640-fe0f",v:["1f64b-1f3fb-200d-2640-fe0f","1f64b-1f3fc-200d-2640-fe0f","1f64b-1f3fd-200d-2640-fe0f","1f64b-1f3fe-200d-2640-fe0f","1f64b-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["deaf person"],u:"1f9cf",v:["1f9cf-1f3fb","1f9cf-1f3fc","1f9cf-1f3fd","1f9cf-1f3fe","1f9cf-1f3ff"],a:"12.0"},{n:["deaf man"],u:"1f9cf-200d-2642-fe0f",v:["1f9cf-1f3fb-200d-2642-fe0f","1f9cf-1f3fc-200d-2642-fe0f","1f9cf-1f3fd-200d-2642-fe0f","1f9cf-1f3fe-200d-2642-fe0f","1f9cf-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["deaf woman"],u:"1f9cf-200d-2640-fe0f",v:["1f9cf-1f3fb-200d-2640-fe0f","1f9cf-1f3fc-200d-2640-fe0f","1f9cf-1f3fd-200d-2640-fe0f","1f9cf-1f3fe-200d-2640-fe0f","1f9cf-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["bow","person bowing deeply"],u:"1f647",v:["1f647-1f3fb","1f647-1f3fc","1f647-1f3fd","1f647-1f3fe","1f647-1f3ff"],a:"0.6"},{n:["man bowing","man-bowing"],u:"1f647-200d-2642-fe0f",v:["1f647-1f3fb-200d-2642-fe0f","1f647-1f3fc-200d-2642-fe0f","1f647-1f3fd-200d-2642-fe0f","1f647-1f3fe-200d-2642-fe0f","1f647-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman bowing","woman-bowing"],u:"1f647-200d-2640-fe0f",v:["1f647-1f3fb-200d-2640-fe0f","1f647-1f3fc-200d-2640-fe0f","1f647-1f3fd-200d-2640-fe0f","1f647-1f3fe-200d-2640-fe0f","1f647-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["face palm"],u:"1f926",v:["1f926-1f3fb","1f926-1f3fc","1f926-1f3fd","1f926-1f3fe","1f926-1f3ff"],a:"3.0"},{n:["man facepalming","man-facepalming"],u:"1f926-200d-2642-fe0f",v:["1f926-1f3fb-200d-2642-fe0f","1f926-1f3fc-200d-2642-fe0f","1f926-1f3fd-200d-2642-fe0f","1f926-1f3fe-200d-2642-fe0f","1f926-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman facepalming","woman-facepalming"],u:"1f926-200d-2640-fe0f",v:["1f926-1f3fb-200d-2640-fe0f","1f926-1f3fc-200d-2640-fe0f","1f926-1f3fd-200d-2640-fe0f","1f926-1f3fe-200d-2640-fe0f","1f926-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["shrug"],u:"1f937",v:["1f937-1f3fb","1f937-1f3fc","1f937-1f3fd","1f937-1f3fe","1f937-1f3ff"],a:"3.0"},{n:["man shrugging","man-shrugging"],u:"1f937-200d-2642-fe0f",v:["1f937-1f3fb-200d-2642-fe0f","1f937-1f3fc-200d-2642-fe0f","1f937-1f3fd-200d-2642-fe0f","1f937-1f3fe-200d-2642-fe0f","1f937-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman shrugging","woman-shrugging"],u:"1f937-200d-2640-fe0f",v:["1f937-1f3fb-200d-2640-fe0f","1f937-1f3fc-200d-2640-fe0f","1f937-1f3fd-200d-2640-fe0f","1f937-1f3fe-200d-2640-fe0f","1f937-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["health worker"],u:"1f9d1-200d-2695-fe0f",v:["1f9d1-1f3fb-200d-2695-fe0f","1f9d1-1f3fc-200d-2695-fe0f","1f9d1-1f3fd-200d-2695-fe0f","1f9d1-1f3fe-200d-2695-fe0f","1f9d1-1f3ff-200d-2695-fe0f"],a:"12.1"},{n:["male-doctor","man health worker"],u:"1f468-200d-2695-fe0f",v:["1f468-1f3fb-200d-2695-fe0f","1f468-1f3fc-200d-2695-fe0f","1f468-1f3fd-200d-2695-fe0f","1f468-1f3fe-200d-2695-fe0f","1f468-1f3ff-200d-2695-fe0f"],a:"4.0"},{n:["female-doctor","woman health worker"],u:"1f469-200d-2695-fe0f",v:["1f469-1f3fb-200d-2695-fe0f","1f469-1f3fc-200d-2695-fe0f","1f469-1f3fd-200d-2695-fe0f","1f469-1f3fe-200d-2695-fe0f","1f469-1f3ff-200d-2695-fe0f"],a:"4.0"},{n:["student"],u:"1f9d1-200d-1f393",v:["1f9d1-1f3fb-200d-1f393","1f9d1-1f3fc-200d-1f393","1f9d1-1f3fd-200d-1f393","1f9d1-1f3fe-200d-1f393","1f9d1-1f3ff-200d-1f393"],a:"12.1"},{n:["man student","male-student"],u:"1f468-200d-1f393",v:["1f468-1f3fb-200d-1f393","1f468-1f3fc-200d-1f393","1f468-1f3fd-200d-1f393","1f468-1f3fe-200d-1f393","1f468-1f3ff-200d-1f393"],a:"4.0"},{n:["woman student","female-student"],u:"1f469-200d-1f393",v:["1f469-1f3fb-200d-1f393","1f469-1f3fc-200d-1f393","1f469-1f3fd-200d-1f393","1f469-1f3fe-200d-1f393","1f469-1f3ff-200d-1f393"],a:"4.0"},{n:["teacher"],u:"1f9d1-200d-1f3eb",v:["1f9d1-1f3fb-200d-1f3eb","1f9d1-1f3fc-200d-1f3eb","1f9d1-1f3fd-200d-1f3eb","1f9d1-1f3fe-200d-1f3eb","1f9d1-1f3ff-200d-1f3eb"],a:"12.1"},{n:["man teacher","male-teacher"],u:"1f468-200d-1f3eb",v:["1f468-1f3fb-200d-1f3eb","1f468-1f3fc-200d-1f3eb","1f468-1f3fd-200d-1f3eb","1f468-1f3fe-200d-1f3eb","1f468-1f3ff-200d-1f3eb"],a:"4.0"},{n:["woman teacher","female-teacher"],u:"1f469-200d-1f3eb",v:["1f469-1f3fb-200d-1f3eb","1f469-1f3fc-200d-1f3eb","1f469-1f3fd-200d-1f3eb","1f469-1f3fe-200d-1f3eb","1f469-1f3ff-200d-1f3eb"],a:"4.0"},{n:["judge"],u:"1f9d1-200d-2696-fe0f",v:["1f9d1-1f3fb-200d-2696-fe0f","1f9d1-1f3fc-200d-2696-fe0f","1f9d1-1f3fd-200d-2696-fe0f","1f9d1-1f3fe-200d-2696-fe0f","1f9d1-1f3ff-200d-2696-fe0f"],a:"12.1"},{n:["man judge","male-judge"],u:"1f468-200d-2696-fe0f",v:["1f468-1f3fb-200d-2696-fe0f","1f468-1f3fc-200d-2696-fe0f","1f468-1f3fd-200d-2696-fe0f","1f468-1f3fe-200d-2696-fe0f","1f468-1f3ff-200d-2696-fe0f"],a:"4.0"},{n:["woman judge","female-judge"],u:"1f469-200d-2696-fe0f",v:["1f469-1f3fb-200d-2696-fe0f","1f469-1f3fc-200d-2696-fe0f","1f469-1f3fd-200d-2696-fe0f","1f469-1f3fe-200d-2696-fe0f","1f469-1f3ff-200d-2696-fe0f"],a:"4.0"},{n:["farmer"],u:"1f9d1-200d-1f33e",v:["1f9d1-1f3fb-200d-1f33e","1f9d1-1f3fc-200d-1f33e","1f9d1-1f3fd-200d-1f33e","1f9d1-1f3fe-200d-1f33e","1f9d1-1f3ff-200d-1f33e"],a:"12.1"},{n:["man farmer","male-farmer"],u:"1f468-200d-1f33e",v:["1f468-1f3fb-200d-1f33e","1f468-1f3fc-200d-1f33e","1f468-1f3fd-200d-1f33e","1f468-1f3fe-200d-1f33e","1f468-1f3ff-200d-1f33e"],a:"4.0"},{n:["woman farmer","female-farmer"],u:"1f469-200d-1f33e",v:["1f469-1f3fb-200d-1f33e","1f469-1f3fc-200d-1f33e","1f469-1f3fd-200d-1f33e","1f469-1f3fe-200d-1f33e","1f469-1f3ff-200d-1f33e"],a:"4.0"},{n:["cook"],u:"1f9d1-200d-1f373",v:["1f9d1-1f3fb-200d-1f373","1f9d1-1f3fc-200d-1f373","1f9d1-1f3fd-200d-1f373","1f9d1-1f3fe-200d-1f373","1f9d1-1f3ff-200d-1f373"],a:"12.1"},{n:["man cook","male-cook"],u:"1f468-200d-1f373",v:["1f468-1f3fb-200d-1f373","1f468-1f3fc-200d-1f373","1f468-1f3fd-200d-1f373","1f468-1f3fe-200d-1f373","1f468-1f3ff-200d-1f373"],a:"4.0"},{n:["woman cook","female-cook"],u:"1f469-200d-1f373",v:["1f469-1f3fb-200d-1f373","1f469-1f3fc-200d-1f373","1f469-1f3fd-200d-1f373","1f469-1f3fe-200d-1f373","1f469-1f3ff-200d-1f373"],a:"4.0"},{n:["mechanic"],u:"1f9d1-200d-1f527",v:["1f9d1-1f3fb-200d-1f527","1f9d1-1f3fc-200d-1f527","1f9d1-1f3fd-200d-1f527","1f9d1-1f3fe-200d-1f527","1f9d1-1f3ff-200d-1f527"],a:"12.1"},{n:["man mechanic","male-mechanic"],u:"1f468-200d-1f527",v:["1f468-1f3fb-200d-1f527","1f468-1f3fc-200d-1f527","1f468-1f3fd-200d-1f527","1f468-1f3fe-200d-1f527","1f468-1f3ff-200d-1f527"],a:"4.0"},{n:["woman mechanic","female-mechanic"],u:"1f469-200d-1f527",v:["1f469-1f3fb-200d-1f527","1f469-1f3fc-200d-1f527","1f469-1f3fd-200d-1f527","1f469-1f3fe-200d-1f527","1f469-1f3ff-200d-1f527"],a:"4.0"},{n:["factory worker"],u:"1f9d1-200d-1f3ed",v:["1f9d1-1f3fb-200d-1f3ed","1f9d1-1f3fc-200d-1f3ed","1f9d1-1f3fd-200d-1f3ed","1f9d1-1f3fe-200d-1f3ed","1f9d1-1f3ff-200d-1f3ed"],a:"12.1"},{n:["man factory worker","male-factory-worker"],u:"1f468-200d-1f3ed",v:["1f468-1f3fb-200d-1f3ed","1f468-1f3fc-200d-1f3ed","1f468-1f3fd-200d-1f3ed","1f468-1f3fe-200d-1f3ed","1f468-1f3ff-200d-1f3ed"],a:"4.0"},{n:["woman factory worker","female-factory-worker"],u:"1f469-200d-1f3ed",v:["1f469-1f3fb-200d-1f3ed","1f469-1f3fc-200d-1f3ed","1f469-1f3fd-200d-1f3ed","1f469-1f3fe-200d-1f3ed","1f469-1f3ff-200d-1f3ed"],a:"4.0"},{n:["office worker"],u:"1f9d1-200d-1f4bc",v:["1f9d1-1f3fb-200d-1f4bc","1f9d1-1f3fc-200d-1f4bc","1f9d1-1f3fd-200d-1f4bc","1f9d1-1f3fe-200d-1f4bc","1f9d1-1f3ff-200d-1f4bc"],a:"12.1"},{n:["man office worker","male-office-worker"],u:"1f468-200d-1f4bc",v:["1f468-1f3fb-200d-1f4bc","1f468-1f3fc-200d-1f4bc","1f468-1f3fd-200d-1f4bc","1f468-1f3fe-200d-1f4bc","1f468-1f3ff-200d-1f4bc"],a:"4.0"},{n:["woman office worker","female-office-worker"],u:"1f469-200d-1f4bc",v:["1f469-1f3fb-200d-1f4bc","1f469-1f3fc-200d-1f4bc","1f469-1f3fd-200d-1f4bc","1f469-1f3fe-200d-1f4bc","1f469-1f3ff-200d-1f4bc"],a:"4.0"},{n:["scientist"],u:"1f9d1-200d-1f52c",v:["1f9d1-1f3fb-200d-1f52c","1f9d1-1f3fc-200d-1f52c","1f9d1-1f3fd-200d-1f52c","1f9d1-1f3fe-200d-1f52c","1f9d1-1f3ff-200d-1f52c"],a:"12.1"},{n:["man scientist","male-scientist"],u:"1f468-200d-1f52c",v:["1f468-1f3fb-200d-1f52c","1f468-1f3fc-200d-1f52c","1f468-1f3fd-200d-1f52c","1f468-1f3fe-200d-1f52c","1f468-1f3ff-200d-1f52c"],a:"4.0"},{n:["woman scientist","female-scientist"],u:"1f469-200d-1f52c",v:["1f469-1f3fb-200d-1f52c","1f469-1f3fc-200d-1f52c","1f469-1f3fd-200d-1f52c","1f469-1f3fe-200d-1f52c","1f469-1f3ff-200d-1f52c"],a:"4.0"},{n:["technologist"],u:"1f9d1-200d-1f4bb",v:["1f9d1-1f3fb-200d-1f4bb","1f9d1-1f3fc-200d-1f4bb","1f9d1-1f3fd-200d-1f4bb","1f9d1-1f3fe-200d-1f4bb","1f9d1-1f3ff-200d-1f4bb"],a:"12.1"},{n:["man technologist","male-technologist"],u:"1f468-200d-1f4bb",v:["1f468-1f3fb-200d-1f4bb","1f468-1f3fc-200d-1f4bb","1f468-1f3fd-200d-1f4bb","1f468-1f3fe-200d-1f4bb","1f468-1f3ff-200d-1f4bb"],a:"4.0"},{n:["woman technologist","female-technologist"],u:"1f469-200d-1f4bb",v:["1f469-1f3fb-200d-1f4bb","1f469-1f3fc-200d-1f4bb","1f469-1f3fd-200d-1f4bb","1f469-1f3fe-200d-1f4bb","1f469-1f3ff-200d-1f4bb"],a:"4.0"},{n:["singer"],u:"1f9d1-200d-1f3a4",v:["1f9d1-1f3fb-200d-1f3a4","1f9d1-1f3fc-200d-1f3a4","1f9d1-1f3fd-200d-1f3a4","1f9d1-1f3fe-200d-1f3a4","1f9d1-1f3ff-200d-1f3a4"],a:"12.1"},{n:["man singer","male-singer"],u:"1f468-200d-1f3a4",v:["1f468-1f3fb-200d-1f3a4","1f468-1f3fc-200d-1f3a4","1f468-1f3fd-200d-1f3a4","1f468-1f3fe-200d-1f3a4","1f468-1f3ff-200d-1f3a4"],a:"4.0"},{n:["woman singer","female-singer"],u:"1f469-200d-1f3a4",v:["1f469-1f3fb-200d-1f3a4","1f469-1f3fc-200d-1f3a4","1f469-1f3fd-200d-1f3a4","1f469-1f3fe-200d-1f3a4","1f469-1f3ff-200d-1f3a4"],a:"4.0"},{n:["artist"],u:"1f9d1-200d-1f3a8",v:["1f9d1-1f3fb-200d-1f3a8","1f9d1-1f3fc-200d-1f3a8","1f9d1-1f3fd-200d-1f3a8","1f9d1-1f3fe-200d-1f3a8","1f9d1-1f3ff-200d-1f3a8"],a:"12.1"},{n:["man artist","male-artist"],u:"1f468-200d-1f3a8",v:["1f468-1f3fb-200d-1f3a8","1f468-1f3fc-200d-1f3a8","1f468-1f3fd-200d-1f3a8","1f468-1f3fe-200d-1f3a8","1f468-1f3ff-200d-1f3a8"],a:"4.0"},{n:["woman artist","female-artist"],u:"1f469-200d-1f3a8",v:["1f469-1f3fb-200d-1f3a8","1f469-1f3fc-200d-1f3a8","1f469-1f3fd-200d-1f3a8","1f469-1f3fe-200d-1f3a8","1f469-1f3ff-200d-1f3a8"],a:"4.0"},{n:["pilot"],u:"1f9d1-200d-2708-fe0f",v:["1f9d1-1f3fb-200d-2708-fe0f","1f9d1-1f3fc-200d-2708-fe0f","1f9d1-1f3fd-200d-2708-fe0f","1f9d1-1f3fe-200d-2708-fe0f","1f9d1-1f3ff-200d-2708-fe0f"],a:"12.1"},{n:["man pilot","male-pilot"],u:"1f468-200d-2708-fe0f",v:["1f468-1f3fb-200d-2708-fe0f","1f468-1f3fc-200d-2708-fe0f","1f468-1f3fd-200d-2708-fe0f","1f468-1f3fe-200d-2708-fe0f","1f468-1f3ff-200d-2708-fe0f"],a:"4.0"},{n:["woman pilot","female-pilot"],u:"1f469-200d-2708-fe0f",v:["1f469-1f3fb-200d-2708-fe0f","1f469-1f3fc-200d-2708-fe0f","1f469-1f3fd-200d-2708-fe0f","1f469-1f3fe-200d-2708-fe0f","1f469-1f3ff-200d-2708-fe0f"],a:"4.0"},{n:["astronaut"],u:"1f9d1-200d-1f680",v:["1f9d1-1f3fb-200d-1f680","1f9d1-1f3fc-200d-1f680","1f9d1-1f3fd-200d-1f680","1f9d1-1f3fe-200d-1f680","1f9d1-1f3ff-200d-1f680"],a:"12.1"},{n:["man astronaut","male-astronaut"],u:"1f468-200d-1f680",v:["1f468-1f3fb-200d-1f680","1f468-1f3fc-200d-1f680","1f468-1f3fd-200d-1f680","1f468-1f3fe-200d-1f680","1f468-1f3ff-200d-1f680"],a:"4.0"},{n:["woman astronaut","female-astronaut"],u:"1f469-200d-1f680",v:["1f469-1f3fb-200d-1f680","1f469-1f3fc-200d-1f680","1f469-1f3fd-200d-1f680","1f469-1f3fe-200d-1f680","1f469-1f3ff-200d-1f680"],a:"4.0"},{n:["firefighter"],u:"1f9d1-200d-1f692",v:["1f9d1-1f3fb-200d-1f692","1f9d1-1f3fc-200d-1f692","1f9d1-1f3fd-200d-1f692","1f9d1-1f3fe-200d-1f692","1f9d1-1f3ff-200d-1f692"],a:"12.1"},{n:["man firefighter","male-firefighter"],u:"1f468-200d-1f692",v:["1f468-1f3fb-200d-1f692","1f468-1f3fc-200d-1f692","1f468-1f3fd-200d-1f692","1f468-1f3fe-200d-1f692","1f468-1f3ff-200d-1f692"],a:"4.0"},{n:["woman firefighter","female-firefighter"],u:"1f469-200d-1f692",v:["1f469-1f3fb-200d-1f692","1f469-1f3fc-200d-1f692","1f469-1f3fd-200d-1f692","1f469-1f3fe-200d-1f692","1f469-1f3ff-200d-1f692"],a:"4.0"},{n:["cop","police officer"],u:"1f46e",v:["1f46e-1f3fb","1f46e-1f3fc","1f46e-1f3fd","1f46e-1f3fe","1f46e-1f3ff"],a:"0.6"},{n:["man police officer","male-police-officer"],u:"1f46e-200d-2642-fe0f",v:["1f46e-1f3fb-200d-2642-fe0f","1f46e-1f3fc-200d-2642-fe0f","1f46e-1f3fd-200d-2642-fe0f","1f46e-1f3fe-200d-2642-fe0f","1f46e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman police officer","female-police-officer"],u:"1f46e-200d-2640-fe0f",v:["1f46e-1f3fb-200d-2640-fe0f","1f46e-1f3fc-200d-2640-fe0f","1f46e-1f3fd-200d-2640-fe0f","1f46e-1f3fe-200d-2640-fe0f","1f46e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["detective","sleuth or spy"],u:"1f575-fe0f",v:["1f575-1f3fb","1f575-1f3fc","1f575-1f3fd","1f575-1f3fe","1f575-1f3ff"],a:"0.7"},{n:["man detective","male-detective"],u:"1f575-fe0f-200d-2642-fe0f",v:["1f575-1f3fb-200d-2642-fe0f","1f575-1f3fc-200d-2642-fe0f","1f575-1f3fd-200d-2642-fe0f","1f575-1f3fe-200d-2642-fe0f","1f575-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman detective","female-detective"],u:"1f575-fe0f-200d-2640-fe0f",v:["1f575-1f3fb-200d-2640-fe0f","1f575-1f3fc-200d-2640-fe0f","1f575-1f3fd-200d-2640-fe0f","1f575-1f3fe-200d-2640-fe0f","1f575-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["guardsman"],u:"1f482",v:["1f482-1f3fb","1f482-1f3fc","1f482-1f3fd","1f482-1f3fe","1f482-1f3ff"],a:"0.6"},{n:["man guard","male-guard"],u:"1f482-200d-2642-fe0f",v:["1f482-1f3fb-200d-2642-fe0f","1f482-1f3fc-200d-2642-fe0f","1f482-1f3fd-200d-2642-fe0f","1f482-1f3fe-200d-2642-fe0f","1f482-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman guard","female-guard"],u:"1f482-200d-2640-fe0f",v:["1f482-1f3fb-200d-2640-fe0f","1f482-1f3fc-200d-2640-fe0f","1f482-1f3fd-200d-2640-fe0f","1f482-1f3fe-200d-2640-fe0f","1f482-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["ninja"],u:"1f977",v:["1f977-1f3fb","1f977-1f3fc","1f977-1f3fd","1f977-1f3fe","1f977-1f3ff"],a:"13.0"},{n:["construction worker"],u:"1f477",v:["1f477-1f3fb","1f477-1f3fc","1f477-1f3fd","1f477-1f3fe","1f477-1f3ff"],a:"0.6"},{n:["man construction worker","male-construction-worker"],u:"1f477-200d-2642-fe0f",v:["1f477-1f3fb-200d-2642-fe0f","1f477-1f3fc-200d-2642-fe0f","1f477-1f3fd-200d-2642-fe0f","1f477-1f3fe-200d-2642-fe0f","1f477-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman construction worker","female-construction-worker"],u:"1f477-200d-2640-fe0f",v:["1f477-1f3fb-200d-2640-fe0f","1f477-1f3fc-200d-2640-fe0f","1f477-1f3fd-200d-2640-fe0f","1f477-1f3fe-200d-2640-fe0f","1f477-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with crown"],u:"1fac5",v:["1fac5-1f3fb","1fac5-1f3fc","1fac5-1f3fd","1fac5-1f3fe","1fac5-1f3ff"],a:"14.0"},{n:["prince"],u:"1f934",v:["1f934-1f3fb","1f934-1f3fc","1f934-1f3fd","1f934-1f3fe","1f934-1f3ff"],a:"3.0"},{n:["princess"],u:"1f478",v:["1f478-1f3fb","1f478-1f3fc","1f478-1f3fd","1f478-1f3fe","1f478-1f3ff"],a:"0.6"},{n:["man with turban"],u:"1f473",v:["1f473-1f3fb","1f473-1f3fc","1f473-1f3fd","1f473-1f3fe","1f473-1f3ff"],a:"0.6"},{n:["man wearing turban","man-wearing-turban"],u:"1f473-200d-2642-fe0f",v:["1f473-1f3fb-200d-2642-fe0f","1f473-1f3fc-200d-2642-fe0f","1f473-1f3fd-200d-2642-fe0f","1f473-1f3fe-200d-2642-fe0f","1f473-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman wearing turban","woman-wearing-turban"],u:"1f473-200d-2640-fe0f",v:["1f473-1f3fb-200d-2640-fe0f","1f473-1f3fc-200d-2640-fe0f","1f473-1f3fd-200d-2640-fe0f","1f473-1f3fe-200d-2640-fe0f","1f473-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["man with gua pi mao"],u:"1f472",v:["1f472-1f3fb","1f472-1f3fc","1f472-1f3fd","1f472-1f3fe","1f472-1f3ff"],a:"0.6"},{n:["person with headscarf"],u:"1f9d5",v:["1f9d5-1f3fb","1f9d5-1f3fc","1f9d5-1f3fd","1f9d5-1f3fe","1f9d5-1f3ff"],a:"5.0"},{n:["man in tuxedo","person in tuxedo"],u:"1f935",v:["1f935-1f3fb","1f935-1f3fc","1f935-1f3fd","1f935-1f3fe","1f935-1f3ff"],a:"3.0"},{n:["man in tuxedo"],u:"1f935-200d-2642-fe0f",v:["1f935-1f3fb-200d-2642-fe0f","1f935-1f3fc-200d-2642-fe0f","1f935-1f3fd-200d-2642-fe0f","1f935-1f3fe-200d-2642-fe0f","1f935-1f3ff-200d-2642-fe0f"],a:"13.0"},{n:["woman in tuxedo"],u:"1f935-200d-2640-fe0f",v:["1f935-1f3fb-200d-2640-fe0f","1f935-1f3fc-200d-2640-fe0f","1f935-1f3fd-200d-2640-fe0f","1f935-1f3fe-200d-2640-fe0f","1f935-1f3ff-200d-2640-fe0f"],a:"13.0"},{n:["bride with veil"],u:"1f470",v:["1f470-1f3fb","1f470-1f3fc","1f470-1f3fd","1f470-1f3fe","1f470-1f3ff"],a:"0.6"},{n:["man with veil"],u:"1f470-200d-2642-fe0f",v:["1f470-1f3fb-200d-2642-fe0f","1f470-1f3fc-200d-2642-fe0f","1f470-1f3fd-200d-2642-fe0f","1f470-1f3fe-200d-2642-fe0f","1f470-1f3ff-200d-2642-fe0f"],a:"13.0"},{n:["woman with veil"],u:"1f470-200d-2640-fe0f",v:["1f470-1f3fb-200d-2640-fe0f","1f470-1f3fc-200d-2640-fe0f","1f470-1f3fd-200d-2640-fe0f","1f470-1f3fe-200d-2640-fe0f","1f470-1f3ff-200d-2640-fe0f"],a:"13.0"},{n:["pregnant woman"],u:"1f930",v:["1f930-1f3fb","1f930-1f3fc","1f930-1f3fd","1f930-1f3fe","1f930-1f3ff"],a:"3.0"},{n:["pregnant man"],u:"1fac3",v:["1fac3-1f3fb","1fac3-1f3fc","1fac3-1f3fd","1fac3-1f3fe","1fac3-1f3ff"],a:"14.0"},{n:["pregnant person"],u:"1fac4",v:["1fac4-1f3fb","1fac4-1f3fc","1fac4-1f3fd","1fac4-1f3fe","1fac4-1f3ff"],a:"14.0"},{n:["breast-feeding"],u:"1f931",v:["1f931-1f3fb","1f931-1f3fc","1f931-1f3fd","1f931-1f3fe","1f931-1f3ff"],a:"5.0"},{n:["woman feeding baby"],u:"1f469-200d-1f37c",v:["1f469-1f3fb-200d-1f37c","1f469-1f3fc-200d-1f37c","1f469-1f3fd-200d-1f37c","1f469-1f3fe-200d-1f37c","1f469-1f3ff-200d-1f37c"],a:"13.0"},{n:["man feeding baby"],u:"1f468-200d-1f37c",v:["1f468-1f3fb-200d-1f37c","1f468-1f3fc-200d-1f37c","1f468-1f3fd-200d-1f37c","1f468-1f3fe-200d-1f37c","1f468-1f3ff-200d-1f37c"],a:"13.0"},{n:["person feeding baby"],u:"1f9d1-200d-1f37c",v:["1f9d1-1f3fb-200d-1f37c","1f9d1-1f3fc-200d-1f37c","1f9d1-1f3fd-200d-1f37c","1f9d1-1f3fe-200d-1f37c","1f9d1-1f3ff-200d-1f37c"],a:"13.0"},{n:["angel","baby angel"],u:"1f47c",v:["1f47c-1f3fb","1f47c-1f3fc","1f47c-1f3fd","1f47c-1f3fe","1f47c-1f3ff"],a:"0.6"},{n:["santa","father christmas"],u:"1f385",v:["1f385-1f3fb","1f385-1f3fc","1f385-1f3fd","1f385-1f3fe","1f385-1f3ff"],a:"0.6"},{n:["mrs claus","mother christmas"],u:"1f936",v:["1f936-1f3fb","1f936-1f3fc","1f936-1f3fd","1f936-1f3fe","1f936-1f3ff"],a:"3.0"},{n:["mx claus"],u:"1f9d1-200d-1f384",v:["1f9d1-1f3fb-200d-1f384","1f9d1-1f3fc-200d-1f384","1f9d1-1f3fd-200d-1f384","1f9d1-1f3fe-200d-1f384","1f9d1-1f3ff-200d-1f384"],a:"13.0"},{n:["superhero"],u:"1f9b8",v:["1f9b8-1f3fb","1f9b8-1f3fc","1f9b8-1f3fd","1f9b8-1f3fe","1f9b8-1f3ff"],a:"11.0"},{n:["man superhero","male superhero"],u:"1f9b8-200d-2642-fe0f",v:["1f9b8-1f3fb-200d-2642-fe0f","1f9b8-1f3fc-200d-2642-fe0f","1f9b8-1f3fd-200d-2642-fe0f","1f9b8-1f3fe-200d-2642-fe0f","1f9b8-1f3ff-200d-2642-fe0f"],a:"11.0"},{n:["woman superhero","female superhero"],u:"1f9b8-200d-2640-fe0f",v:["1f9b8-1f3fb-200d-2640-fe0f","1f9b8-1f3fc-200d-2640-fe0f","1f9b8-1f3fd-200d-2640-fe0f","1f9b8-1f3fe-200d-2640-fe0f","1f9b8-1f3ff-200d-2640-fe0f"],a:"11.0"},{n:["supervillain"],u:"1f9b9",v:["1f9b9-1f3fb","1f9b9-1f3fc","1f9b9-1f3fd","1f9b9-1f3fe","1f9b9-1f3ff"],a:"11.0"},{n:["man supervillain","male supervillain"],u:"1f9b9-200d-2642-fe0f",v:["1f9b9-1f3fb-200d-2642-fe0f","1f9b9-1f3fc-200d-2642-fe0f","1f9b9-1f3fd-200d-2642-fe0f","1f9b9-1f3fe-200d-2642-fe0f","1f9b9-1f3ff-200d-2642-fe0f"],a:"11.0"},{n:["woman supervillain","female supervillain"],u:"1f9b9-200d-2640-fe0f",v:["1f9b9-1f3fb-200d-2640-fe0f","1f9b9-1f3fc-200d-2640-fe0f","1f9b9-1f3fd-200d-2640-fe0f","1f9b9-1f3fe-200d-2640-fe0f","1f9b9-1f3ff-200d-2640-fe0f"],a:"11.0"},{n:["mage"],u:"1f9d9",v:["1f9d9-1f3fb","1f9d9-1f3fc","1f9d9-1f3fd","1f9d9-1f3fe","1f9d9-1f3ff"],a:"5.0"},{n:["man mage","male mage"],u:"1f9d9-200d-2642-fe0f",v:["1f9d9-1f3fb-200d-2642-fe0f","1f9d9-1f3fc-200d-2642-fe0f","1f9d9-1f3fd-200d-2642-fe0f","1f9d9-1f3fe-200d-2642-fe0f","1f9d9-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman mage","female mage"],u:"1f9d9-200d-2640-fe0f",v:["1f9d9-1f3fb-200d-2640-fe0f","1f9d9-1f3fc-200d-2640-fe0f","1f9d9-1f3fd-200d-2640-fe0f","1f9d9-1f3fe-200d-2640-fe0f","1f9d9-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["fairy"],u:"1f9da",v:["1f9da-1f3fb","1f9da-1f3fc","1f9da-1f3fd","1f9da-1f3fe","1f9da-1f3ff"],a:"5.0"},{n:["man fairy","male fairy"],u:"1f9da-200d-2642-fe0f",v:["1f9da-1f3fb-200d-2642-fe0f","1f9da-1f3fc-200d-2642-fe0f","1f9da-1f3fd-200d-2642-fe0f","1f9da-1f3fe-200d-2642-fe0f","1f9da-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman fairy","female fairy"],u:"1f9da-200d-2640-fe0f",v:["1f9da-1f3fb-200d-2640-fe0f","1f9da-1f3fc-200d-2640-fe0f","1f9da-1f3fd-200d-2640-fe0f","1f9da-1f3fe-200d-2640-fe0f","1f9da-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["vampire"],u:"1f9db",v:["1f9db-1f3fb","1f9db-1f3fc","1f9db-1f3fd","1f9db-1f3fe","1f9db-1f3ff"],a:"5.0"},{n:["man vampire","male vampire"],u:"1f9db-200d-2642-fe0f",v:["1f9db-1f3fb-200d-2642-fe0f","1f9db-1f3fc-200d-2642-fe0f","1f9db-1f3fd-200d-2642-fe0f","1f9db-1f3fe-200d-2642-fe0f","1f9db-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman vampire","female vampire"],u:"1f9db-200d-2640-fe0f",v:["1f9db-1f3fb-200d-2640-fe0f","1f9db-1f3fc-200d-2640-fe0f","1f9db-1f3fd-200d-2640-fe0f","1f9db-1f3fe-200d-2640-fe0f","1f9db-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["merperson"],u:"1f9dc",v:["1f9dc-1f3fb","1f9dc-1f3fc","1f9dc-1f3fd","1f9dc-1f3fe","1f9dc-1f3ff"],a:"5.0"},{n:["merman"],u:"1f9dc-200d-2642-fe0f",v:["1f9dc-1f3fb-200d-2642-fe0f","1f9dc-1f3fc-200d-2642-fe0f","1f9dc-1f3fd-200d-2642-fe0f","1f9dc-1f3fe-200d-2642-fe0f","1f9dc-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["mermaid"],u:"1f9dc-200d-2640-fe0f",v:["1f9dc-1f3fb-200d-2640-fe0f","1f9dc-1f3fc-200d-2640-fe0f","1f9dc-1f3fd-200d-2640-fe0f","1f9dc-1f3fe-200d-2640-fe0f","1f9dc-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["elf"],u:"1f9dd",v:["1f9dd-1f3fb","1f9dd-1f3fc","1f9dd-1f3fd","1f9dd-1f3fe","1f9dd-1f3ff"],a:"5.0"},{n:["man elf","male elf"],u:"1f9dd-200d-2642-fe0f",v:["1f9dd-1f3fb-200d-2642-fe0f","1f9dd-1f3fc-200d-2642-fe0f","1f9dd-1f3fd-200d-2642-fe0f","1f9dd-1f3fe-200d-2642-fe0f","1f9dd-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman elf","female elf"],u:"1f9dd-200d-2640-fe0f",v:["1f9dd-1f3fb-200d-2640-fe0f","1f9dd-1f3fc-200d-2640-fe0f","1f9dd-1f3fd-200d-2640-fe0f","1f9dd-1f3fe-200d-2640-fe0f","1f9dd-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["genie"],u:"1f9de",a:"5.0"},{n:["man genie","male genie"],u:"1f9de-200d-2642-fe0f",a:"5.0"},{n:["woman genie","female genie"],u:"1f9de-200d-2640-fe0f",a:"5.0"},{n:["zombie"],u:"1f9df",a:"5.0"},{n:["man zombie","male zombie"],u:"1f9df-200d-2642-fe0f",a:"5.0"},{n:["woman zombie","female zombie"],u:"1f9df-200d-2640-fe0f",a:"5.0"},{n:["troll"],u:"1f9cc",a:"14.0"},{n:["massage","face massage"],u:"1f486",v:["1f486-1f3fb","1f486-1f3fc","1f486-1f3fd","1f486-1f3fe","1f486-1f3ff"],a:"0.6"},{n:["man getting massage","man-getting-massage"],u:"1f486-200d-2642-fe0f",v:["1f486-1f3fb-200d-2642-fe0f","1f486-1f3fc-200d-2642-fe0f","1f486-1f3fd-200d-2642-fe0f","1f486-1f3fe-200d-2642-fe0f","1f486-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman getting massage","woman-getting-massage"],u:"1f486-200d-2640-fe0f",v:["1f486-1f3fb-200d-2640-fe0f","1f486-1f3fc-200d-2640-fe0f","1f486-1f3fd-200d-2640-fe0f","1f486-1f3fe-200d-2640-fe0f","1f486-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["haircut"],u:"1f487",v:["1f487-1f3fb","1f487-1f3fc","1f487-1f3fd","1f487-1f3fe","1f487-1f3ff"],a:"0.6"},{n:["man getting haircut","man-getting-haircut"],u:"1f487-200d-2642-fe0f",v:["1f487-1f3fb-200d-2642-fe0f","1f487-1f3fc-200d-2642-fe0f","1f487-1f3fd-200d-2642-fe0f","1f487-1f3fe-200d-2642-fe0f","1f487-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman getting haircut","woman-getting-haircut"],u:"1f487-200d-2640-fe0f",v:["1f487-1f3fb-200d-2640-fe0f","1f487-1f3fc-200d-2640-fe0f","1f487-1f3fd-200d-2640-fe0f","1f487-1f3fe-200d-2640-fe0f","1f487-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["walking","pedestrian"],u:"1f6b6",v:["1f6b6-1f3fb","1f6b6-1f3fc","1f6b6-1f3fd","1f6b6-1f3fe","1f6b6-1f3ff"],a:"0.6"},{n:["man walking","man-walking"],u:"1f6b6-200d-2642-fe0f",v:["1f6b6-1f3fb-200d-2642-fe0f","1f6b6-1f3fc-200d-2642-fe0f","1f6b6-1f3fd-200d-2642-fe0f","1f6b6-1f3fe-200d-2642-fe0f","1f6b6-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman walking","woman-walking"],u:"1f6b6-200d-2640-fe0f",v:["1f6b6-1f3fb-200d-2640-fe0f","1f6b6-1f3fc-200d-2640-fe0f","1f6b6-1f3fd-200d-2640-fe0f","1f6b6-1f3fe-200d-2640-fe0f","1f6b6-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["standing person"],u:"1f9cd",v:["1f9cd-1f3fb","1f9cd-1f3fc","1f9cd-1f3fd","1f9cd-1f3fe","1f9cd-1f3ff"],a:"12.0"},{n:["man standing"],u:"1f9cd-200d-2642-fe0f",v:["1f9cd-1f3fb-200d-2642-fe0f","1f9cd-1f3fc-200d-2642-fe0f","1f9cd-1f3fd-200d-2642-fe0f","1f9cd-1f3fe-200d-2642-fe0f","1f9cd-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["woman standing"],u:"1f9cd-200d-2640-fe0f",v:["1f9cd-1f3fb-200d-2640-fe0f","1f9cd-1f3fc-200d-2640-fe0f","1f9cd-1f3fd-200d-2640-fe0f","1f9cd-1f3fe-200d-2640-fe0f","1f9cd-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["kneeling person"],u:"1f9ce",v:["1f9ce-1f3fb","1f9ce-1f3fc","1f9ce-1f3fd","1f9ce-1f3fe","1f9ce-1f3ff"],a:"12.0"},{n:["man kneeling"],u:"1f9ce-200d-2642-fe0f",v:["1f9ce-1f3fb-200d-2642-fe0f","1f9ce-1f3fc-200d-2642-fe0f","1f9ce-1f3fd-200d-2642-fe0f","1f9ce-1f3fe-200d-2642-fe0f","1f9ce-1f3ff-200d-2642-fe0f"],a:"12.0"},{n:["woman kneeling"],u:"1f9ce-200d-2640-fe0f",v:["1f9ce-1f3fb-200d-2640-fe0f","1f9ce-1f3fc-200d-2640-fe0f","1f9ce-1f3fd-200d-2640-fe0f","1f9ce-1f3fe-200d-2640-fe0f","1f9ce-1f3ff-200d-2640-fe0f"],a:"12.0"},{n:["person with white cane","person with probing cane"],u:"1f9d1-200d-1f9af",v:["1f9d1-1f3fb-200d-1f9af","1f9d1-1f3fc-200d-1f9af","1f9d1-1f3fd-200d-1f9af","1f9d1-1f3fe-200d-1f9af","1f9d1-1f3ff-200d-1f9af"],a:"12.1"},{n:["man with white cane","man with probing cane"],u:"1f468-200d-1f9af",v:["1f468-1f3fb-200d-1f9af","1f468-1f3fc-200d-1f9af","1f468-1f3fd-200d-1f9af","1f468-1f3fe-200d-1f9af","1f468-1f3ff-200d-1f9af"],a:"12.0"},{n:["woman with white cane","woman with probing cane"],u:"1f469-200d-1f9af",v:["1f469-1f3fb-200d-1f9af","1f469-1f3fc-200d-1f9af","1f469-1f3fd-200d-1f9af","1f469-1f3fe-200d-1f9af","1f469-1f3ff-200d-1f9af"],a:"12.0"},{n:["person in motorized wheelchair"],u:"1f9d1-200d-1f9bc",v:["1f9d1-1f3fb-200d-1f9bc","1f9d1-1f3fc-200d-1f9bc","1f9d1-1f3fd-200d-1f9bc","1f9d1-1f3fe-200d-1f9bc","1f9d1-1f3ff-200d-1f9bc"],a:"12.1"},{n:["man in motorized wheelchair"],u:"1f468-200d-1f9bc",v:["1f468-1f3fb-200d-1f9bc","1f468-1f3fc-200d-1f9bc","1f468-1f3fd-200d-1f9bc","1f468-1f3fe-200d-1f9bc","1f468-1f3ff-200d-1f9bc"],a:"12.0"},{n:["woman in motorized wheelchair"],u:"1f469-200d-1f9bc",v:["1f469-1f3fb-200d-1f9bc","1f469-1f3fc-200d-1f9bc","1f469-1f3fd-200d-1f9bc","1f469-1f3fe-200d-1f9bc","1f469-1f3ff-200d-1f9bc"],a:"12.0"},{n:["person in manual wheelchair"],u:"1f9d1-200d-1f9bd",v:["1f9d1-1f3fb-200d-1f9bd","1f9d1-1f3fc-200d-1f9bd","1f9d1-1f3fd-200d-1f9bd","1f9d1-1f3fe-200d-1f9bd","1f9d1-1f3ff-200d-1f9bd"],a:"12.1"},{n:["man in manual wheelchair"],u:"1f468-200d-1f9bd",v:["1f468-1f3fb-200d-1f9bd","1f468-1f3fc-200d-1f9bd","1f468-1f3fd-200d-1f9bd","1f468-1f3fe-200d-1f9bd","1f468-1f3ff-200d-1f9bd"],a:"12.0"},{n:["woman in manual wheelchair"],u:"1f469-200d-1f9bd",v:["1f469-1f3fb-200d-1f9bd","1f469-1f3fc-200d-1f9bd","1f469-1f3fd-200d-1f9bd","1f469-1f3fe-200d-1f9bd","1f469-1f3ff-200d-1f9bd"],a:"12.0"},{n:["runner","running"],u:"1f3c3",v:["1f3c3-1f3fb","1f3c3-1f3fc","1f3c3-1f3fd","1f3c3-1f3fe","1f3c3-1f3ff"],a:"0.6"},{n:["man running","man-running"],u:"1f3c3-200d-2642-fe0f",v:["1f3c3-1f3fb-200d-2642-fe0f","1f3c3-1f3fc-200d-2642-fe0f","1f3c3-1f3fd-200d-2642-fe0f","1f3c3-1f3fe-200d-2642-fe0f","1f3c3-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman running","woman-running"],u:"1f3c3-200d-2640-fe0f",v:["1f3c3-1f3fb-200d-2640-fe0f","1f3c3-1f3fc-200d-2640-fe0f","1f3c3-1f3fd-200d-2640-fe0f","1f3c3-1f3fe-200d-2640-fe0f","1f3c3-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["dancer"],u:"1f483",v:["1f483-1f3fb","1f483-1f3fc","1f483-1f3fd","1f483-1f3fe","1f483-1f3ff"],a:"0.6"},{n:["man dancing"],u:"1f57a",v:["1f57a-1f3fb","1f57a-1f3fc","1f57a-1f3fd","1f57a-1f3fe","1f57a-1f3ff"],a:"3.0"},{n:["person in suit levitating","man in business suit levitating"],u:"1f574-fe0f",v:["1f574-1f3fb","1f574-1f3fc","1f574-1f3fd","1f574-1f3fe","1f574-1f3ff"],a:"0.7"},{n:["dancers","woman with bunny ears"],u:"1f46f",a:"0.6"},{n:["men with bunny ears","men-with-bunny-ears-partying","man-with-bunny-ears-partying"],u:"1f46f-200d-2642-fe0f",a:"4.0"},{n:["women with bunny ears","women-with-bunny-ears-partying","woman-with-bunny-ears-partying"],u:"1f46f-200d-2640-fe0f",a:"4.0"},{n:["person in steamy room"],u:"1f9d6",v:["1f9d6-1f3fb","1f9d6-1f3fc","1f9d6-1f3fd","1f9d6-1f3fe","1f9d6-1f3ff"],a:"5.0"},{n:["man in steamy room"],u:"1f9d6-200d-2642-fe0f",v:["1f9d6-1f3fb-200d-2642-fe0f","1f9d6-1f3fc-200d-2642-fe0f","1f9d6-1f3fd-200d-2642-fe0f","1f9d6-1f3fe-200d-2642-fe0f","1f9d6-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman in steamy room"],u:"1f9d6-200d-2640-fe0f",v:["1f9d6-1f3fb-200d-2640-fe0f","1f9d6-1f3fc-200d-2640-fe0f","1f9d6-1f3fd-200d-2640-fe0f","1f9d6-1f3fe-200d-2640-fe0f","1f9d6-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["person climbing"],u:"1f9d7",v:["1f9d7-1f3fb","1f9d7-1f3fc","1f9d7-1f3fd","1f9d7-1f3fe","1f9d7-1f3ff"],a:"5.0"},{n:["man climbing"],u:"1f9d7-200d-2642-fe0f",v:["1f9d7-1f3fb-200d-2642-fe0f","1f9d7-1f3fc-200d-2642-fe0f","1f9d7-1f3fd-200d-2642-fe0f","1f9d7-1f3fe-200d-2642-fe0f","1f9d7-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman climbing"],u:"1f9d7-200d-2640-fe0f",v:["1f9d7-1f3fb-200d-2640-fe0f","1f9d7-1f3fc-200d-2640-fe0f","1f9d7-1f3fd-200d-2640-fe0f","1f9d7-1f3fe-200d-2640-fe0f","1f9d7-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["fencer"],u:"1f93a",a:"3.0"},{n:["horse racing"],u:"1f3c7",v:["1f3c7-1f3fb","1f3c7-1f3fc","1f3c7-1f3fd","1f3c7-1f3fe","1f3c7-1f3ff"],a:"1.0"},{n:["skier"],u:"26f7-fe0f",a:"0.7"},{n:["snowboarder"],u:"1f3c2",v:["1f3c2-1f3fb","1f3c2-1f3fc","1f3c2-1f3fd","1f3c2-1f3fe","1f3c2-1f3ff"],a:"0.6"},{n:["golfer","person golfing"],u:"1f3cc-fe0f",v:["1f3cc-1f3fb","1f3cc-1f3fc","1f3cc-1f3fd","1f3cc-1f3fe","1f3cc-1f3ff"],a:"0.7"},{n:["man golfing","man-golfing"],u:"1f3cc-fe0f-200d-2642-fe0f",v:["1f3cc-1f3fb-200d-2642-fe0f","1f3cc-1f3fc-200d-2642-fe0f","1f3cc-1f3fd-200d-2642-fe0f","1f3cc-1f3fe-200d-2642-fe0f","1f3cc-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman golfing","woman-golfing"],u:"1f3cc-fe0f-200d-2640-fe0f",v:["1f3cc-1f3fb-200d-2640-fe0f","1f3cc-1f3fc-200d-2640-fe0f","1f3cc-1f3fd-200d-2640-fe0f","1f3cc-1f3fe-200d-2640-fe0f","1f3cc-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["surfer"],u:"1f3c4",v:["1f3c4-1f3fb","1f3c4-1f3fc","1f3c4-1f3fd","1f3c4-1f3fe","1f3c4-1f3ff"],a:"0.6"},{n:["man surfing","man-surfing"],u:"1f3c4-200d-2642-fe0f",v:["1f3c4-1f3fb-200d-2642-fe0f","1f3c4-1f3fc-200d-2642-fe0f","1f3c4-1f3fd-200d-2642-fe0f","1f3c4-1f3fe-200d-2642-fe0f","1f3c4-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman surfing","woman-surfing"],u:"1f3c4-200d-2640-fe0f",v:["1f3c4-1f3fb-200d-2640-fe0f","1f3c4-1f3fc-200d-2640-fe0f","1f3c4-1f3fd-200d-2640-fe0f","1f3c4-1f3fe-200d-2640-fe0f","1f3c4-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["rowboat"],u:"1f6a3",v:["1f6a3-1f3fb","1f6a3-1f3fc","1f6a3-1f3fd","1f6a3-1f3fe","1f6a3-1f3ff"],a:"1.0"},{n:["man rowing boat","man-rowing-boat"],u:"1f6a3-200d-2642-fe0f",v:["1f6a3-1f3fb-200d-2642-fe0f","1f6a3-1f3fc-200d-2642-fe0f","1f6a3-1f3fd-200d-2642-fe0f","1f6a3-1f3fe-200d-2642-fe0f","1f6a3-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman rowing boat","woman-rowing-boat"],u:"1f6a3-200d-2640-fe0f",v:["1f6a3-1f3fb-200d-2640-fe0f","1f6a3-1f3fc-200d-2640-fe0f","1f6a3-1f3fd-200d-2640-fe0f","1f6a3-1f3fe-200d-2640-fe0f","1f6a3-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["swimmer"],u:"1f3ca",v:["1f3ca-1f3fb","1f3ca-1f3fc","1f3ca-1f3fd","1f3ca-1f3fe","1f3ca-1f3ff"],a:"0.6"},{n:["man swimming","man-swimming"],u:"1f3ca-200d-2642-fe0f",v:["1f3ca-1f3fb-200d-2642-fe0f","1f3ca-1f3fc-200d-2642-fe0f","1f3ca-1f3fd-200d-2642-fe0f","1f3ca-1f3fe-200d-2642-fe0f","1f3ca-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman swimming","woman-swimming"],u:"1f3ca-200d-2640-fe0f",v:["1f3ca-1f3fb-200d-2640-fe0f","1f3ca-1f3fc-200d-2640-fe0f","1f3ca-1f3fd-200d-2640-fe0f","1f3ca-1f3fe-200d-2640-fe0f","1f3ca-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person with ball","person bouncing ball"],u:"26f9-fe0f",v:["26f9-1f3fb","26f9-1f3fc","26f9-1f3fd","26f9-1f3fe","26f9-1f3ff"],a:"0.7"},{n:["man bouncing ball","man-bouncing-ball"],u:"26f9-fe0f-200d-2642-fe0f",v:["26f9-1f3fb-200d-2642-fe0f","26f9-1f3fc-200d-2642-fe0f","26f9-1f3fd-200d-2642-fe0f","26f9-1f3fe-200d-2642-fe0f","26f9-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman bouncing ball","woman-bouncing-ball"],u:"26f9-fe0f-200d-2640-fe0f",v:["26f9-1f3fb-200d-2640-fe0f","26f9-1f3fc-200d-2640-fe0f","26f9-1f3fd-200d-2640-fe0f","26f9-1f3fe-200d-2640-fe0f","26f9-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["weight lifter","person lifting weights"],u:"1f3cb-fe0f",v:["1f3cb-1f3fb","1f3cb-1f3fc","1f3cb-1f3fd","1f3cb-1f3fe","1f3cb-1f3ff"],a:"0.7"},{n:["man lifting weights","man-lifting-weights"],u:"1f3cb-fe0f-200d-2642-fe0f",v:["1f3cb-1f3fb-200d-2642-fe0f","1f3cb-1f3fc-200d-2642-fe0f","1f3cb-1f3fd-200d-2642-fe0f","1f3cb-1f3fe-200d-2642-fe0f","1f3cb-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman lifting weights","woman-lifting-weights"],u:"1f3cb-fe0f-200d-2640-fe0f",v:["1f3cb-1f3fb-200d-2640-fe0f","1f3cb-1f3fc-200d-2640-fe0f","1f3cb-1f3fd-200d-2640-fe0f","1f3cb-1f3fe-200d-2640-fe0f","1f3cb-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["bicyclist"],u:"1f6b4",v:["1f6b4-1f3fb","1f6b4-1f3fc","1f6b4-1f3fd","1f6b4-1f3fe","1f6b4-1f3ff"],a:"1.0"},{n:["man biking","man-biking"],u:"1f6b4-200d-2642-fe0f",v:["1f6b4-1f3fb-200d-2642-fe0f","1f6b4-1f3fc-200d-2642-fe0f","1f6b4-1f3fd-200d-2642-fe0f","1f6b4-1f3fe-200d-2642-fe0f","1f6b4-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman biking","woman-biking"],u:"1f6b4-200d-2640-fe0f",v:["1f6b4-1f3fb-200d-2640-fe0f","1f6b4-1f3fc-200d-2640-fe0f","1f6b4-1f3fd-200d-2640-fe0f","1f6b4-1f3fe-200d-2640-fe0f","1f6b4-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["mountain bicyclist"],u:"1f6b5",v:["1f6b5-1f3fb","1f6b5-1f3fc","1f6b5-1f3fd","1f6b5-1f3fe","1f6b5-1f3ff"],a:"1.0"},{n:["man mountain biking","man-mountain-biking"],u:"1f6b5-200d-2642-fe0f",v:["1f6b5-1f3fb-200d-2642-fe0f","1f6b5-1f3fc-200d-2642-fe0f","1f6b5-1f3fd-200d-2642-fe0f","1f6b5-1f3fe-200d-2642-fe0f","1f6b5-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman mountain biking","woman-mountain-biking"],u:"1f6b5-200d-2640-fe0f",v:["1f6b5-1f3fb-200d-2640-fe0f","1f6b5-1f3fc-200d-2640-fe0f","1f6b5-1f3fd-200d-2640-fe0f","1f6b5-1f3fe-200d-2640-fe0f","1f6b5-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person doing cartwheel"],u:"1f938",v:["1f938-1f3fb","1f938-1f3fc","1f938-1f3fd","1f938-1f3fe","1f938-1f3ff"],a:"3.0"},{n:["man cartwheeling","man-cartwheeling"],u:"1f938-200d-2642-fe0f",v:["1f938-1f3fb-200d-2642-fe0f","1f938-1f3fc-200d-2642-fe0f","1f938-1f3fd-200d-2642-fe0f","1f938-1f3fe-200d-2642-fe0f","1f938-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman cartwheeling","woman-cartwheeling"],u:"1f938-200d-2640-fe0f",v:["1f938-1f3fb-200d-2640-fe0f","1f938-1f3fc-200d-2640-fe0f","1f938-1f3fd-200d-2640-fe0f","1f938-1f3fe-200d-2640-fe0f","1f938-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["wrestlers"],u:"1f93c",a:"3.0"},{n:["men wrestling","man-wrestling"],u:"1f93c-200d-2642-fe0f",a:"4.0"},{n:["women wrestling","woman-wrestling"],u:"1f93c-200d-2640-fe0f",a:"4.0"},{n:["water polo"],u:"1f93d",v:["1f93d-1f3fb","1f93d-1f3fc","1f93d-1f3fd","1f93d-1f3fe","1f93d-1f3ff"],a:"3.0"},{n:["man playing water polo","man-playing-water-polo"],u:"1f93d-200d-2642-fe0f",v:["1f93d-1f3fb-200d-2642-fe0f","1f93d-1f3fc-200d-2642-fe0f","1f93d-1f3fd-200d-2642-fe0f","1f93d-1f3fe-200d-2642-fe0f","1f93d-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman playing water polo","woman-playing-water-polo"],u:"1f93d-200d-2640-fe0f",v:["1f93d-1f3fb-200d-2640-fe0f","1f93d-1f3fc-200d-2640-fe0f","1f93d-1f3fd-200d-2640-fe0f","1f93d-1f3fe-200d-2640-fe0f","1f93d-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["handball"],u:"1f93e",v:["1f93e-1f3fb","1f93e-1f3fc","1f93e-1f3fd","1f93e-1f3fe","1f93e-1f3ff"],a:"3.0"},{n:["man playing handball","man-playing-handball"],u:"1f93e-200d-2642-fe0f",v:["1f93e-1f3fb-200d-2642-fe0f","1f93e-1f3fc-200d-2642-fe0f","1f93e-1f3fd-200d-2642-fe0f","1f93e-1f3fe-200d-2642-fe0f","1f93e-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman playing handball","woman-playing-handball"],u:"1f93e-200d-2640-fe0f",v:["1f93e-1f3fb-200d-2640-fe0f","1f93e-1f3fc-200d-2640-fe0f","1f93e-1f3fd-200d-2640-fe0f","1f93e-1f3fe-200d-2640-fe0f","1f93e-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["juggling"],u:"1f939",v:["1f939-1f3fb","1f939-1f3fc","1f939-1f3fd","1f939-1f3fe","1f939-1f3ff"],a:"3.0"},{n:["man juggling","man-juggling"],u:"1f939-200d-2642-fe0f",v:["1f939-1f3fb-200d-2642-fe0f","1f939-1f3fc-200d-2642-fe0f","1f939-1f3fd-200d-2642-fe0f","1f939-1f3fe-200d-2642-fe0f","1f939-1f3ff-200d-2642-fe0f"],a:"4.0"},{n:["woman juggling","woman-juggling"],u:"1f939-200d-2640-fe0f",v:["1f939-1f3fb-200d-2640-fe0f","1f939-1f3fc-200d-2640-fe0f","1f939-1f3fd-200d-2640-fe0f","1f939-1f3fe-200d-2640-fe0f","1f939-1f3ff-200d-2640-fe0f"],a:"4.0"},{n:["person in lotus position"],u:"1f9d8",v:["1f9d8-1f3fb","1f9d8-1f3fc","1f9d8-1f3fd","1f9d8-1f3fe","1f9d8-1f3ff"],a:"5.0"},{n:["man in lotus position"],u:"1f9d8-200d-2642-fe0f",v:["1f9d8-1f3fb-200d-2642-fe0f","1f9d8-1f3fc-200d-2642-fe0f","1f9d8-1f3fd-200d-2642-fe0f","1f9d8-1f3fe-200d-2642-fe0f","1f9d8-1f3ff-200d-2642-fe0f"],a:"5.0"},{n:["woman in lotus position"],u:"1f9d8-200d-2640-fe0f",v:["1f9d8-1f3fb-200d-2640-fe0f","1f9d8-1f3fc-200d-2640-fe0f","1f9d8-1f3fd-200d-2640-fe0f","1f9d8-1f3fe-200d-2640-fe0f","1f9d8-1f3ff-200d-2640-fe0f"],a:"5.0"},{n:["bath"],u:"1f6c0",v:["1f6c0-1f3fb","1f6c0-1f3fc","1f6c0-1f3fd","1f6c0-1f3fe","1f6c0-1f3ff"],a:"0.6"},{n:["sleeping accommodation"],u:"1f6cc",v:["1f6cc-1f3fb","1f6cc-1f3fc","1f6cc-1f3fd","1f6cc-1f3fe","1f6cc-1f3ff"],a:"1.0"},{n:["people holding hands"],u:"1f9d1-200d-1f91d-200d-1f9d1",v:["1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3fe-200d-1f91d-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3fe","1f9d1-1f3ff-200d-1f91d-200d-1f9d1-1f3ff"],a:"12.0"},{n:["women holding hands","two women holding hands"],u:"1f46d",v:["1f46d-1f3fb","1f46d-1f3fc","1f46d-1f3fd","1f46d-1f3fe","1f46d-1f3ff","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fb-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fb-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fc-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fc-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fd-200d-1f91d-200d-1f469-1f3fe","1f469-1f3fd-200d-1f91d-200d-1f469-1f3ff","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fb","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fc","1f469-1f3fe-200d-1f91d-200d-1f469-1f3fd","1f469-1f3fe-200d-1f91d-200d-1f469-1f3ff","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fb","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fc","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fd","1f469-1f3ff-200d-1f91d-200d-1f469-1f3fe"],a:"1.0"},{n:["couple","man and woman holding hands","woman and man holding hands"],u:"1f46b",v:["1f46b-1f3fb","1f46b-1f3fc","1f46b-1f3fd","1f46b-1f3fe","1f46b-1f3ff","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fb-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fb-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fc-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fc-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fd-200d-1f91d-200d-1f468-1f3fe","1f469-1f3fd-200d-1f91d-200d-1f468-1f3ff","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fb","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fc","1f469-1f3fe-200d-1f91d-200d-1f468-1f3fd","1f469-1f3fe-200d-1f91d-200d-1f468-1f3ff","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fb","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fc","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fd","1f469-1f3ff-200d-1f91d-200d-1f468-1f3fe"],a:"0.6"},{n:["men holding hands","two men holding hands"],u:"1f46c",v:["1f46c-1f3fb","1f46c-1f3fc","1f46c-1f3fd","1f46c-1f3fe","1f46c-1f3ff","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fb-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fb-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fc-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fc-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fd-200d-1f91d-200d-1f468-1f3fe","1f468-1f3fd-200d-1f91d-200d-1f468-1f3ff","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fb","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fc","1f468-1f3fe-200d-1f91d-200d-1f468-1f3fd","1f468-1f3fe-200d-1f91d-200d-1f468-1f3ff","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fb","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fc","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fd","1f468-1f3ff-200d-1f91d-200d-1f468-1f3fe"],a:"1.0"},{n:["kiss","couplekiss"],u:"1f48f",v:["1f48f-1f3fb","1f48f-1f3fc","1f48f-1f3fd","1f48f-1f3fe","1f48f-1f3ff","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f9d1-1f3fe"],a:"0.6"},{n:["woman-kiss-man","kiss: woman, man"],u:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f468",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"],a:"2.0"},{n:["man-kiss-man","kiss: man, man"],u:"1f468-200d-2764-fe0f-200d-1f48b-200d-1f468",v:["1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fb","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fc","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fd","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3fe","1f468-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f468-1f3ff"],a:"2.0"},{n:["woman-kiss-woman","kiss: woman, woman"],u:"1f469-200d-2764-fe0f-200d-1f48b-200d-1f469",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f48b-200d-1f469-1f3ff"],a:"2.0"},{n:["couple with heart"],u:"1f491",v:["1f491-1f3fb","1f491-1f3fc","1f491-1f3fd","1f491-1f3fe","1f491-1f3ff","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fb-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fc-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3fe","1f9d1-1f3fd-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3fe-200d-2764-fe0f-200d-1f9d1-1f3ff","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fb","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fc","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fd","1f9d1-1f3ff-200d-2764-fe0f-200d-1f9d1-1f3fe"],a:"0.6"},{n:["woman-heart-man","couple with heart: woman, man"],u:"1f469-200d-2764-fe0f-200d-1f468",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f468-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff"],a:"2.0"},{n:["man-heart-man","couple with heart: man, man"],u:"1f468-200d-2764-fe0f-200d-1f468",v:["1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fb-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fc-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fd-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3fe-200d-2764-fe0f-200d-1f468-1f3ff","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fb","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fc","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fd","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3fe","1f468-1f3ff-200d-2764-fe0f-200d-1f468-1f3ff"],a:"2.0"},{n:["woman-heart-woman","couple with heart: woman, woman"],u:"1f469-200d-2764-fe0f-200d-1f469",v:["1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fb-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fc-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fd-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3fe-200d-2764-fe0f-200d-1f469-1f3ff","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fb","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fc","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fd","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3fe","1f469-1f3ff-200d-2764-fe0f-200d-1f469-1f3ff"],a:"2.0"},{n:["family"],u:"1f46a",a:"0.6"},{n:["man-woman-boy","family: man, woman, boy"],u:"1f468-200d-1f469-200d-1f466",a:"2.0"},{n:["man-woman-girl","family: man, woman, girl"],u:"1f468-200d-1f469-200d-1f467",a:"2.0"},{n:["man-woman-girl-boy","family: man, woman, girl, boy"],u:"1f468-200d-1f469-200d-1f467-200d-1f466",a:"2.0"},{n:["man-woman-boy-boy","family: man, woman, boy, boy"],u:"1f468-200d-1f469-200d-1f466-200d-1f466",a:"2.0"},{n:["man-woman-girl-girl","family: man, woman, girl, girl"],u:"1f468-200d-1f469-200d-1f467-200d-1f467",a:"2.0"},{n:["man-man-boy","family: man, man, boy"],u:"1f468-200d-1f468-200d-1f466",a:"2.0"},{n:["man-man-girl","family: man, man, girl"],u:"1f468-200d-1f468-200d-1f467",a:"2.0"},{n:["man-man-girl-boy","family: man, man, girl, boy"],u:"1f468-200d-1f468-200d-1f467-200d-1f466",a:"2.0"},{n:["man-man-boy-boy","family: man, man, boy, boy"],u:"1f468-200d-1f468-200d-1f466-200d-1f466",a:"2.0"},{n:["man-man-girl-girl","family: man, man, girl, girl"],u:"1f468-200d-1f468-200d-1f467-200d-1f467",a:"2.0"},{n:["woman-woman-boy","family: woman, woman, boy"],u:"1f469-200d-1f469-200d-1f466",a:"2.0"},{n:["woman-woman-girl","family: woman, woman, girl"],u:"1f469-200d-1f469-200d-1f467",a:"2.0"},{n:["woman-woman-girl-boy","family: woman, woman, girl, boy"],u:"1f469-200d-1f469-200d-1f467-200d-1f466",a:"2.0"},{n:["woman-woman-boy-boy","family: woman, woman, boy, boy"],u:"1f469-200d-1f469-200d-1f466-200d-1f466",a:"2.0"},{n:["woman-woman-girl-girl","family: woman, woman, girl, girl"],u:"1f469-200d-1f469-200d-1f467-200d-1f467",a:"2.0"},{n:["man-boy","family: man, boy"],u:"1f468-200d-1f466",a:"4.0"},{n:["man-boy-boy","family: man, boy, boy"],u:"1f468-200d-1f466-200d-1f466",a:"4.0"},{n:["man-girl","family: man, girl"],u:"1f468-200d-1f467",a:"4.0"},{n:["man-girl-boy","family: man, girl, boy"],u:"1f468-200d-1f467-200d-1f466",a:"4.0"},{n:["man-girl-girl","family: man, girl, girl"],u:"1f468-200d-1f467-200d-1f467",a:"4.0"},{n:["woman-boy","family: woman, boy"],u:"1f469-200d-1f466",a:"4.0"},{n:["woman-boy-boy","family: woman, boy, boy"],u:"1f469-200d-1f466-200d-1f466",a:"4.0"},{n:["woman-girl","family: woman, girl"],u:"1f469-200d-1f467",a:"4.0"},{n:["woman-girl-boy","family: woman, girl, boy"],u:"1f469-200d-1f467-200d-1f466",a:"4.0"},{n:["woman-girl-girl","family: woman, girl, girl"],u:"1f469-200d-1f467-200d-1f467",a:"4.0"},{n:["speaking head","speaking head in silhouette"],u:"1f5e3-fe0f",a:"0.7"},{n:["bust in silhouette"],u:"1f464",a:"0.6"},{n:["busts in silhouette"],u:"1f465",a:"1.0"},{n:["people hugging"],u:"1fac2",a:"13.0"},{n:["footprints"],u:"1f463",a:"0.6"}],x1=[{n:["monkey face"],u:"1f435",a:"0.6"},{n:["monkey"],u:"1f412",a:"0.6"},{n:["gorilla"],u:"1f98d",a:"3.0"},{n:["orangutan"],u:"1f9a7",a:"12.0"},{n:["dog","dog face"],u:"1f436",a:"0.6"},{n:["dog","dog2"],u:"1f415",a:"0.7"},{n:["guide dog"],u:"1f9ae",a:"12.0"},{n:["service dog"],u:"1f415-200d-1f9ba",a:"12.0"},{n:["poodle"],u:"1f429",a:"0.6"},{n:["wolf","wolf face"],u:"1f43a",a:"0.6"},{n:["fox face"],u:"1f98a",a:"3.0"},{n:["raccoon"],u:"1f99d",a:"11.0"},{n:["cat","cat face"],u:"1f431",a:"0.6"},{n:["cat","cat2"],u:"1f408",a:"0.7"},{n:["black cat"],u:"1f408-200d-2b1b",a:"13.0"},{n:["lion face"],u:"1f981",a:"1.0"},{n:["tiger","tiger face"],u:"1f42f",a:"0.6"},{n:["tiger","tiger2"],u:"1f405",a:"1.0"},{n:["leopard"],u:"1f406",a:"1.0"},{n:["horse","horse face"],u:"1f434",a:"0.6"},{n:["horse","racehorse"],u:"1f40e",a:"0.6"},{n:["unicorn face"],u:"1f984",a:"1.0"},{n:["zebra face"],u:"1f993",a:"5.0"},{n:["deer"],u:"1f98c",a:"3.0"},{n:["bison"],u:"1f9ac",a:"13.0"},{n:["cow","cow face"],u:"1f42e",a:"0.6"},{n:["ox"],u:"1f402",a:"1.0"},{n:["water buffalo"],u:"1f403",a:"1.0"},{n:["cow","cow2"],u:"1f404",a:"1.0"},{n:["pig","pig face"],u:"1f437",a:"0.6"},{n:["pig","pig2"],u:"1f416",a:"1.0"},{n:["boar"],u:"1f417",a:"0.6"},{n:["pig nose"],u:"1f43d",a:"0.6"},{n:["ram"],u:"1f40f",a:"1.0"},{n:["sheep"],u:"1f411",a:"0.6"},{n:["goat"],u:"1f410",a:"1.0"},{n:["dromedary camel"],u:"1f42a",a:"1.0"},{n:["camel","bactrian camel"],u:"1f42b",a:"0.6"},{n:["llama"],u:"1f999",a:"11.0"},{n:["giraffe face"],u:"1f992",a:"5.0"},{n:["elephant"],u:"1f418",a:"0.6"},{n:["mammoth"],u:"1f9a3",a:"13.0"},{n:["rhinoceros"],u:"1f98f",a:"3.0"},{n:["hippopotamus"],u:"1f99b",a:"11.0"},{n:["mouse","mouse face"],u:"1f42d",a:"0.6"},{n:["mouse","mouse2"],u:"1f401",a:"1.0"},{n:["rat"],u:"1f400",a:"1.0"},{n:["hamster","hamster face"],u:"1f439",a:"0.6"},{n:["rabbit","rabbit face"],u:"1f430",a:"0.6"},{n:["rabbit","rabbit2"],u:"1f407",a:"1.0"},{n:["chipmunk"],u:"1f43f-fe0f",a:"0.7"},{n:["beaver"],u:"1f9ab",a:"13.0"},{n:["hedgehog"],u:"1f994",a:"5.0"},{n:["bat"],u:"1f987",a:"3.0"},{n:["bear","bear face"],u:"1f43b",a:"0.6"},{n:["polar bear"],u:"1f43b-200d-2744-fe0f",a:"13.0"},{n:["koala"],u:"1f428",a:"0.6"},{n:["panda face"],u:"1f43c",a:"0.6"},{n:["sloth"],u:"1f9a5",a:"12.0"},{n:["otter"],u:"1f9a6",a:"12.0"},{n:["skunk"],u:"1f9a8",a:"12.0"},{n:["kangaroo"],u:"1f998",a:"11.0"},{n:["badger"],u:"1f9a1",a:"11.0"},{n:["feet","paw prints"],u:"1f43e",a:"0.6"},{n:["turkey"],u:"1f983",a:"1.0"},{n:["chicken"],u:"1f414",a:"0.6"},{n:["rooster"],u:"1f413",a:"1.0"},{n:["hatching chick"],u:"1f423",a:"0.6"},{n:["baby chick"],u:"1f424",a:"0.6"},{n:["hatched chick","front-facing baby chick"],u:"1f425",a:"0.6"},{n:["bird"],u:"1f426",a:"0.6"},{n:["penguin"],u:"1f427",a:"0.6"},{n:["dove","dove of peace"],u:"1f54a-fe0f",a:"0.7"},{n:["eagle"],u:"1f985",a:"3.0"},{n:["duck"],u:"1f986",a:"3.0"},{n:["swan"],u:"1f9a2",a:"11.0"},{n:["owl"],u:"1f989",a:"3.0"},{n:["dodo"],u:"1f9a4",a:"13.0"},{n:["feather"],u:"1fab6",a:"13.0"},{n:["flamingo"],u:"1f9a9",a:"12.0"},{n:["peacock"],u:"1f99a",a:"11.0"},{n:["parrot"],u:"1f99c",a:"11.0"},{n:["frog","frog face"],u:"1f438",a:"0.6"},{n:["crocodile"],u:"1f40a",a:"1.0"},{n:["turtle"],u:"1f422",a:"0.6"},{n:["lizard"],u:"1f98e",a:"3.0"},{n:["snake"],u:"1f40d",a:"0.6"},{n:["dragon face"],u:"1f432",a:"0.6"},{n:["dragon"],u:"1f409",a:"1.0"},{n:["sauropod"],u:"1f995",a:"5.0"},{n:["t-rex"],u:"1f996",a:"5.0"},{n:["whale","spouting whale"],u:"1f433",a:"0.6"},{n:["whale","whale2"],u:"1f40b",a:"1.0"},{n:["dolphin","flipper"],u:"1f42c",a:"0.6"},{n:["seal"],u:"1f9ad",a:"13.0"},{n:["fish"],u:"1f41f",a:"0.6"},{n:["tropical fish"],u:"1f420",a:"0.6"},{n:["blowfish"],u:"1f421",a:"0.6"},{n:["shark"],u:"1f988",a:"3.0"},{n:["octopus"],u:"1f419",a:"0.6"},{n:["shell","spiral shell"],u:"1f41a",a:"0.6"},{n:["coral"],u:"1fab8",a:"14.0"},{n:["snail"],u:"1f40c",a:"0.6"},{n:["butterfly"],u:"1f98b",a:"3.0"},{n:["bug"],u:"1f41b",a:"0.6"},{n:["ant"],u:"1f41c",a:"0.6"},{n:["bee","honeybee"],u:"1f41d",a:"0.6"},{n:["beetle"],u:"1fab2",a:"13.0"},{n:["ladybug","lady beetle"],u:"1f41e",a:"0.6"},{n:["cricket"],u:"1f997",a:"5.0"},{n:["cockroach"],u:"1fab3",a:"13.0"},{n:["spider"],u:"1f577-fe0f",a:"0.7"},{n:["spider web"],u:"1f578-fe0f",a:"0.7"},{n:["scorpion"],u:"1f982",a:"1.0"},{n:["mosquito"],u:"1f99f",a:"11.0"},{n:["fly"],u:"1fab0",a:"13.0"},{n:["worm"],u:"1fab1",a:"13.0"},{n:["microbe"],u:"1f9a0",a:"11.0"},{n:["bouquet"],u:"1f490",a:"0.6"},{n:["cherry blossom"],u:"1f338",a:"0.6"},{n:["white flower"],u:"1f4ae",a:"0.6"},{n:["lotus"],u:"1fab7",a:"14.0"},{n:["rosette"],u:"1f3f5-fe0f",a:"0.7"},{n:["rose"],u:"1f339",a:"0.6"},{n:["wilted flower"],u:"1f940",a:"3.0"},{n:["hibiscus"],u:"1f33a",a:"0.6"},{n:["sunflower"],u:"1f33b",a:"0.6"},{n:["blossom"],u:"1f33c",a:"0.6"},{n:["tulip"],u:"1f337",a:"0.6"},{n:["seedling"],u:"1f331",a:"0.6"},{n:["potted plant"],u:"1fab4",a:"13.0"},{n:["evergreen tree"],u:"1f332",a:"1.0"},{n:["deciduous tree"],u:"1f333",a:"1.0"},{n:["palm tree"],u:"1f334",a:"0.6"},{n:["cactus"],u:"1f335",a:"0.6"},{n:["ear of rice"],u:"1f33e",a:"0.6"},{n:["herb"],u:"1f33f",a:"0.6"},{n:["shamrock"],u:"2618-fe0f",a:"1.0"},{n:["four leaf clover"],u:"1f340",a:"0.6"},{n:["maple leaf"],u:"1f341",a:"0.6"},{n:["fallen leaf"],u:"1f342",a:"0.6"},{n:["leaves","leaf fluttering in wind"],u:"1f343",a:"0.6"},{n:["empty nest"],u:"1fab9",a:"14.0"},{n:["nest with eggs"],u:"1faba",a:"14.0"}],S1=[{n:["grapes"],u:"1f347",a:"0.6"},{n:["melon"],u:"1f348",a:"0.6"},{n:["watermelon"],u:"1f349",a:"0.6"},{n:["tangerine"],u:"1f34a",a:"0.6"},{n:["lemon"],u:"1f34b",a:"1.0"},{n:["banana"],u:"1f34c",a:"0.6"},{n:["pineapple"],u:"1f34d",a:"0.6"},{n:["mango"],u:"1f96d",a:"11.0"},{n:["apple","red apple"],u:"1f34e",a:"0.6"},{n:["green apple"],u:"1f34f",a:"0.6"},{n:["pear"],u:"1f350",a:"1.0"},{n:["peach"],u:"1f351",a:"0.6"},{n:["cherries"],u:"1f352",a:"0.6"},{n:["strawberry"],u:"1f353",a:"0.6"},{n:["blueberries"],u:"1fad0",a:"13.0"},{n:["kiwifruit"],u:"1f95d",a:"3.0"},{n:["tomato"],u:"1f345",a:"0.6"},{n:["olive"],u:"1fad2",a:"13.0"},{n:["coconut"],u:"1f965",a:"5.0"},{n:["avocado"],u:"1f951",a:"3.0"},{n:["eggplant","aubergine"],u:"1f346",a:"0.6"},{n:["potato"],u:"1f954",a:"3.0"},{n:["carrot"],u:"1f955",a:"3.0"},{n:["corn","ear of maize"],u:"1f33d",a:"0.6"},{n:["hot pepper"],u:"1f336-fe0f",a:"0.7"},{n:["bell pepper"],u:"1fad1",a:"13.0"},{n:["cucumber"],u:"1f952",a:"3.0"},{n:["leafy green"],u:"1f96c",a:"11.0"},{n:["broccoli"],u:"1f966",a:"5.0"},{n:["garlic"],u:"1f9c4",a:"12.0"},{n:["onion"],u:"1f9c5",a:"12.0"},{n:["mushroom"],u:"1f344",a:"0.6"},{n:["peanuts"],u:"1f95c",a:"3.0"},{n:["beans"],u:"1fad8",a:"14.0"},{n:["chestnut"],u:"1f330",a:"0.6"},{n:["bread"],u:"1f35e",a:"0.6"},{n:["croissant"],u:"1f950",a:"3.0"},{n:["baguette bread"],u:"1f956",a:"3.0"},{n:["flatbread"],u:"1fad3",a:"13.0"},{n:["pretzel"],u:"1f968",a:"5.0"},{n:["bagel"],u:"1f96f",a:"11.0"},{n:["pancakes"],u:"1f95e",a:"3.0"},{n:["waffle"],u:"1f9c7",a:"12.0"},{n:["cheese wedge"],u:"1f9c0",a:"1.0"},{n:["meat on bone"],u:"1f356",a:"0.6"},{n:["poultry leg"],u:"1f357",a:"0.6"},{n:["cut of meat"],u:"1f969",a:"5.0"},{n:["bacon"],u:"1f953",a:"3.0"},{n:["hamburger"],u:"1f354",a:"0.6"},{n:["fries","french fries"],u:"1f35f",a:"0.6"},{n:["pizza","slice of pizza"],u:"1f355",a:"0.6"},{n:["hotdog","hot dog"],u:"1f32d",a:"1.0"},{n:["sandwich"],u:"1f96a",a:"5.0"},{n:["taco"],u:"1f32e",a:"1.0"},{n:["burrito"],u:"1f32f",a:"1.0"},{n:["tamale"],u:"1fad4",a:"13.0"},{n:["stuffed flatbread"],u:"1f959",a:"3.0"},{n:["falafel"],u:"1f9c6",a:"12.0"},{n:["egg"],u:"1f95a",a:"3.0"},{n:["cooking","fried egg"],u:"1f373",a:"0.6"},{n:["shallow pan of food"],u:"1f958",a:"3.0"},{n:["stew","pot of food"],u:"1f372",a:"0.6"},{n:["fondue"],u:"1fad5",a:"13.0"},{n:["bowl with spoon"],u:"1f963",a:"5.0"},{n:["green salad"],u:"1f957",a:"3.0"},{n:["popcorn"],u:"1f37f",a:"1.0"},{n:["butter"],u:"1f9c8",a:"12.0"},{n:["salt","salt shaker"],u:"1f9c2",a:"11.0"},{n:["canned food"],u:"1f96b",a:"5.0"},{n:["bento","bento box"],u:"1f371",a:"0.6"},{n:["rice cracker"],u:"1f358",a:"0.6"},{n:["rice ball"],u:"1f359",a:"0.6"},{n:["rice","cooked rice"],u:"1f35a",a:"0.6"},{n:["curry","curry and rice"],u:"1f35b",a:"0.6"},{n:["ramen","steaming bowl"],u:"1f35c",a:"0.6"},{n:["spaghetti"],u:"1f35d",a:"0.6"},{n:["sweet potato","roasted sweet potato"],u:"1f360",a:"0.6"},{n:["oden"],u:"1f362",a:"0.6"},{n:["sushi"],u:"1f363",a:"0.6"},{n:["fried shrimp"],u:"1f364",a:"0.6"},{n:["fish cake","fish cake with swirl design"],u:"1f365",a:"0.6"},{n:["moon cake"],u:"1f96e",a:"11.0"},{n:["dango"],u:"1f361",a:"0.6"},{n:["dumpling"],u:"1f95f",a:"5.0"},{n:["fortune cookie"],u:"1f960",a:"5.0"},{n:["takeout box"],u:"1f961",a:"5.0"},{n:["crab"],u:"1f980",a:"1.0"},{n:["lobster"],u:"1f99e",a:"11.0"},{n:["shrimp"],u:"1f990",a:"3.0"},{n:["squid"],u:"1f991",a:"3.0"},{n:["oyster"],u:"1f9aa",a:"12.0"},{n:["icecream","soft ice cream"],u:"1f366",a:"0.6"},{n:["shaved ice"],u:"1f367",a:"0.6"},{n:["ice cream"],u:"1f368",a:"0.6"},{n:["doughnut"],u:"1f369",a:"0.6"},{n:["cookie"],u:"1f36a",a:"0.6"},{n:["birthday","birthday cake"],u:"1f382",a:"0.6"},{n:["cake","shortcake"],u:"1f370",a:"0.6"},{n:["cupcake"],u:"1f9c1",a:"11.0"},{n:["pie"],u:"1f967",a:"5.0"},{n:["chocolate bar"],u:"1f36b",a:"0.6"},{n:["candy"],u:"1f36c",a:"0.6"},{n:["lollipop"],u:"1f36d",a:"0.6"},{n:["custard"],u:"1f36e",a:"0.6"},{n:["honey pot"],u:"1f36f",a:"0.6"},{n:["baby bottle"],u:"1f37c",a:"1.0"},{n:["glass of milk"],u:"1f95b",a:"3.0"},{n:["coffee","hot beverage"],u:"2615",a:"0.6"},{n:["teapot"],u:"1fad6",a:"13.0"},{n:["tea","teacup without handle"],u:"1f375",a:"0.6"},{n:["sake","sake bottle and cup"],u:"1f376",a:"0.6"},{n:["champagne","bottle with popping cork"],u:"1f37e",a:"1.0"},{n:["wine glass"],u:"1f377",a:"0.6"},{n:["cocktail","cocktail glass"],u:"1f378",a:"0.6"},{n:["tropical drink"],u:"1f379",a:"0.6"},{n:["beer","beer mug"],u:"1f37a",a:"0.6"},{n:["beers","clinking beer mugs"],u:"1f37b",a:"0.6"},{n:["clinking glasses"],u:"1f942",a:"3.0"},{n:["tumbler glass"],u:"1f943",a:"3.0"},{n:["pouring liquid"],u:"1fad7",a:"14.0"},{n:["cup with straw"],u:"1f964",a:"5.0"},{n:["bubble tea"],u:"1f9cb",a:"13.0"},{n:["beverage box"],u:"1f9c3",a:"12.0"},{n:["mate drink"],u:"1f9c9",a:"12.0"},{n:["ice cube"],u:"1f9ca",a:"12.0"},{n:["chopsticks"],u:"1f962",a:"5.0"},{n:["knife fork plate","fork and knife with plate"],u:"1f37d-fe0f",a:"0.7"},{n:["fork and knife"],u:"1f374",a:"0.6"},{n:["spoon"],u:"1f944",a:"3.0"},{n:["hocho","knife"],u:"1f52a",a:"0.6"},{n:["jar"],u:"1fad9",a:"14.0"},{n:["amphora"],u:"1f3fa",a:"1.0"}],R1=[{n:["earth africa","earth globe europe-africa"],u:"1f30d",a:"0.7"},{n:["earth americas","earth globe americas"],u:"1f30e",a:"0.7"},{n:["earth asia","earth globe asia-australia"],u:"1f30f",a:"0.6"},{n:["globe with meridians"],u:"1f310",a:"1.0"},{n:["world map"],u:"1f5fa-fe0f",a:"0.7"},{n:["japan","silhouette of japan"],u:"1f5fe",a:"0.6"},{n:["compass"],u:"1f9ed",a:"11.0"},{n:["snow-capped mountain","snow capped mountain"],u:"1f3d4-fe0f",a:"0.7"},{n:["mountain"],u:"26f0-fe0f",a:"0.7"},{n:["volcano"],u:"1f30b",a:"0.6"},{n:["mount fuji"],u:"1f5fb",a:"0.6"},{n:["camping"],u:"1f3d5-fe0f",a:"0.7"},{n:["beach with umbrella"],u:"1f3d6-fe0f",a:"0.7"},{n:["desert"],u:"1f3dc-fe0f",a:"0.7"},{n:["desert island"],u:"1f3dd-fe0f",a:"0.7"},{n:["national park"],u:"1f3de-fe0f",a:"0.7"},{n:["stadium"],u:"1f3df-fe0f",a:"0.7"},{n:["classical building"],u:"1f3db-fe0f",a:"0.7"},{n:["building construction"],u:"1f3d7-fe0f",a:"0.7"},{n:["brick","bricks"],u:"1f9f1",a:"11.0"},{n:["rock"],u:"1faa8",a:"13.0"},{n:["wood"],u:"1fab5",a:"13.0"},{n:["hut"],u:"1f6d6",a:"13.0"},{n:["houses","house buildings"],u:"1f3d8-fe0f",a:"0.7"},{n:["derelict house","derelict house building"],u:"1f3da-fe0f",a:"0.7"},{n:["house","house building"],u:"1f3e0",a:"0.6"},{n:["house with garden"],u:"1f3e1",a:"0.6"},{n:["office","office building"],u:"1f3e2",a:"0.6"},{n:["post office","japanese post office"],u:"1f3e3",a:"0.6"},{n:["european post office"],u:"1f3e4",a:"1.0"},{n:["hospital"],u:"1f3e5",a:"0.6"},{n:["bank"],u:"1f3e6",a:"0.6"},{n:["hotel"],u:"1f3e8",a:"0.6"},{n:["love hotel"],u:"1f3e9",a:"0.6"},{n:["convenience store"],u:"1f3ea",a:"0.6"},{n:["school"],u:"1f3eb",a:"0.6"},{n:["department store"],u:"1f3ec",a:"0.6"},{n:["factory"],u:"1f3ed",a:"0.6"},{n:["japanese castle"],u:"1f3ef",a:"0.6"},{n:["european castle"],u:"1f3f0",a:"0.6"},{n:["wedding"],u:"1f492",a:"0.6"},{n:["tokyo tower"],u:"1f5fc",a:"0.6"},{n:["statue of liberty"],u:"1f5fd",a:"0.6"},{n:["church"],u:"26ea",a:"0.6"},{n:["mosque"],u:"1f54c",a:"1.0"},{n:["hindu temple"],u:"1f6d5",a:"12.0"},{n:["synagogue"],u:"1f54d",a:"1.0"},{n:["shinto shrine"],u:"26e9-fe0f",a:"0.7"},{n:["kaaba"],u:"1f54b",a:"1.0"},{n:["fountain"],u:"26f2",a:"0.6"},{n:["tent"],u:"26fa",a:"0.6"},{n:["foggy"],u:"1f301",a:"0.6"},{n:["night with stars"],u:"1f303",a:"0.6"},{n:["cityscape"],u:"1f3d9-fe0f",a:"0.7"},{n:["sunrise over mountains"],u:"1f304",a:"0.6"},{n:["sunrise"],u:"1f305",a:"0.6"},{n:["city sunset","cityscape at dusk"],u:"1f306",a:"0.6"},{n:["city sunrise","sunset over buildings"],u:"1f307",a:"0.6"},{n:["bridge at night"],u:"1f309",a:"0.6"},{n:["hotsprings","hot springs"],u:"2668-fe0f",a:"0.6"},{n:["carousel horse"],u:"1f3a0",a:"0.6"},{n:["playground slide"],u:"1f6dd",a:"14.0"},{n:["ferris wheel"],u:"1f3a1",a:"0.6"},{n:["roller coaster"],u:"1f3a2",a:"0.6"},{n:["barber","barber pole"],u:"1f488",a:"0.6"},{n:["circus tent"],u:"1f3aa",a:"0.6"},{n:["steam locomotive"],u:"1f682",a:"1.0"},{n:["railway car"],u:"1f683",a:"0.6"},{n:["high-speed train","bullettrain side"],u:"1f684",a:"0.6"},{n:["bullettrain front","high-speed train with bullet nose"],u:"1f685",a:"0.6"},{n:["train","train2"],u:"1f686",a:"1.0"},{n:["metro"],u:"1f687",a:"0.6"},{n:["light rail"],u:"1f688",a:"1.0"},{n:["station"],u:"1f689",a:"0.6"},{n:["tram"],u:"1f68a",a:"1.0"},{n:["monorail"],u:"1f69d",a:"1.0"},{n:["mountain railway"],u:"1f69e",a:"1.0"},{n:["train","tram car"],u:"1f68b",a:"1.0"},{n:["bus"],u:"1f68c",a:"0.6"},{n:["oncoming bus"],u:"1f68d",a:"0.7"},{n:["trolleybus"],u:"1f68e",a:"1.0"},{n:["minibus"],u:"1f690",a:"1.0"},{n:["ambulance"],u:"1f691",a:"0.6"},{n:["fire engine"],u:"1f692",a:"0.6"},{n:["police car"],u:"1f693",a:"0.6"},{n:["oncoming police car"],u:"1f694",a:"0.7"},{n:["taxi"],u:"1f695",a:"0.6"},{n:["oncoming taxi"],u:"1f696",a:"1.0"},{n:["car","red car","automobile"],u:"1f697",a:"0.6"},{n:["oncoming automobile"],u:"1f698",a:"0.7"},{n:["blue car","recreational vehicle"],u:"1f699",a:"0.6"},{n:["pickup truck"],u:"1f6fb",a:"13.0"},{n:["truck","delivery truck"],u:"1f69a",a:"0.6"},{n:["articulated lorry"],u:"1f69b",a:"1.0"},{n:["tractor"],u:"1f69c",a:"1.0"},{n:["racing car"],u:"1f3ce-fe0f",a:"0.7"},{n:["motorcycle","racing motorcycle"],u:"1f3cd-fe0f",a:"0.7"},{n:["motor scooter"],u:"1f6f5",a:"3.0"},{n:["manual wheelchair"],u:"1f9bd",a:"12.0"},{n:["motorized wheelchair"],u:"1f9bc",a:"12.0"},{n:["auto rickshaw"],u:"1f6fa",a:"12.0"},{n:["bike","bicycle"],u:"1f6b2",a:"0.6"},{n:["scooter"],u:"1f6f4",a:"3.0"},{n:["skateboard"],u:"1f6f9",a:"11.0"},{n:["roller skate"],u:"1f6fc",a:"13.0"},{n:["busstop","bus stop"],u:"1f68f",a:"0.6"},{n:["motorway"],u:"1f6e3-fe0f",a:"0.7"},{n:["railway track"],u:"1f6e4-fe0f",a:"0.7"},{n:["oil drum"],u:"1f6e2-fe0f",a:"0.7"},{n:["fuelpump","fuel pump"],u:"26fd",a:"0.6"},{n:["wheel"],u:"1f6de",a:"14.0"},{n:["rotating light","police cars revolving light"],u:"1f6a8",a:"0.6"},{n:["traffic light","horizontal traffic light"],u:"1f6a5",a:"0.6"},{n:["vertical traffic light"],u:"1f6a6",a:"1.0"},{n:["octagonal sign"],u:"1f6d1",a:"3.0"},{n:["construction","construction sign"],u:"1f6a7",a:"0.6"},{n:["anchor"],u:"2693",a:"0.6"},{n:["ring buoy"],u:"1f6df",a:"14.0"},{n:["boat","sailboat"],u:"26f5",a:"0.6"},{n:["canoe"],u:"1f6f6",a:"3.0"},{n:["speedboat"],u:"1f6a4",a:"0.6"},{n:["passenger ship"],u:"1f6f3-fe0f",a:"0.7"},{n:["ferry"],u:"26f4-fe0f",a:"0.7"},{n:["motor boat"],u:"1f6e5-fe0f",a:"0.7"},{n:["ship"],u:"1f6a2",a:"0.6"},{n:["airplane"],u:"2708-fe0f",a:"0.6"},{n:["small airplane"],u:"1f6e9-fe0f",a:"0.7"},{n:["airplane departure"],u:"1f6eb",a:"1.0"},{n:["airplane arriving"],u:"1f6ec",a:"1.0"},{n:["parachute"],u:"1fa82",a:"12.0"},{n:["seat"],u:"1f4ba",a:"0.6"},{n:["helicopter"],u:"1f681",a:"1.0"},{n:["suspension railway"],u:"1f69f",a:"1.0"},{n:["mountain cableway"],u:"1f6a0",a:"1.0"},{n:["aerial tramway"],u:"1f6a1",a:"1.0"},{n:["satellite"],u:"1f6f0-fe0f",a:"0.7"},{n:["rocket"],u:"1f680",a:"0.6"},{n:["flying saucer"],u:"1f6f8",a:"5.0"},{n:["bellhop bell"],u:"1f6ce-fe0f",a:"0.7"},{n:["luggage"],u:"1f9f3",a:"11.0"},{n:["hourglass"],u:"231b",a:"0.6"},{n:["hourglass flowing sand","hourglass with flowing sand"],u:"23f3",a:"0.6"},{n:["watch"],u:"231a",a:"0.6"},{n:["alarm clock"],u:"23f0",a:"0.6"},{n:["stopwatch"],u:"23f1-fe0f",a:"1.0"},{n:["timer clock"],u:"23f2-fe0f",a:"1.0"},{n:["mantelpiece clock"],u:"1f570-fe0f",a:"0.7"},{n:["clock12","clock face twelve oclock"],u:"1f55b",a:"0.6"},{n:["clock1230","clock face twelve-thirty"],u:"1f567",a:"0.7"},{n:["clock1","clock face one oclock"],u:"1f550",a:"0.6"},{n:["clock130","clock face one-thirty"],u:"1f55c",a:"0.7"},{n:["clock2","clock face two oclock"],u:"1f551",a:"0.6"},{n:["clock230","clock face two-thirty"],u:"1f55d",a:"0.7"},{n:["clock3","clock face three oclock"],u:"1f552",a:"0.6"},{n:["clock330","clock face three-thirty"],u:"1f55e",a:"0.7"},{n:["clock4","clock face four oclock"],u:"1f553",a:"0.6"},{n:["clock430","clock face four-thirty"],u:"1f55f",a:"0.7"},{n:["clock5","clock face five oclock"],u:"1f554",a:"0.6"},{n:["clock530","clock face five-thirty"],u:"1f560",a:"0.7"},{n:["clock6","clock face six oclock"],u:"1f555",a:"0.6"},{n:["clock630","clock face six-thirty"],u:"1f561",a:"0.7"},{n:["clock7","clock face seven oclock"],u:"1f556",a:"0.6"},{n:["clock730","clock face seven-thirty"],u:"1f562",a:"0.7"},{n:["clock8","clock face eight oclock"],u:"1f557",a:"0.6"},{n:["clock830","clock face eight-thirty"],u:"1f563",a:"0.7"},{n:["clock9","clock face nine oclock"],u:"1f558",a:"0.6"},{n:["clock930","clock face nine-thirty"],u:"1f564",a:"0.7"},{n:["clock10","clock face ten oclock"],u:"1f559",a:"0.6"},{n:["clock1030","clock face ten-thirty"],u:"1f565",a:"0.7"},{n:["clock11","clock face eleven oclock"],u:"1f55a",a:"0.6"},{n:["clock1130","clock face eleven-thirty"],u:"1f566",a:"0.7"},{n:["new moon","new moon symbol"],u:"1f311",a:"0.6"},{n:["waxing crescent moon","waxing crescent moon symbol"],u:"1f312",a:"1.0"},{n:["first quarter moon","first quarter moon symbol"],u:"1f313",a:"0.6"},{n:["moon","waxing gibbous moon","waxing gibbous moon symbol"],u:"1f314",a:"0.6"},{n:["full moon","full moon symbol"],u:"1f315",a:"0.6"},{n:["waning gibbous moon","waning gibbous moon symbol"],u:"1f316",a:"1.0"},{n:["last quarter moon","last quarter moon symbol"],u:"1f317",a:"1.0"},{n:["waning crescent moon","waning crescent moon symbol"],u:"1f318",a:"1.0"},{n:["crescent moon"],u:"1f319",a:"0.6"},{n:["new moon with face"],u:"1f31a",a:"1.0"},{n:["first quarter moon with face"],u:"1f31b",a:"0.6"},{n:["last quarter moon with face"],u:"1f31c",a:"0.7"},{n:["thermometer"],u:"1f321-fe0f",a:"0.7"},{n:["sunny","black sun with rays"],u:"2600-fe0f",a:"0.6"},{n:["full moon with face"],u:"1f31d",a:"1.0"},{n:["sun with face"],u:"1f31e",a:"1.0"},{n:["ringed planet"],u:"1fa90",a:"12.0"},{n:["star","white medium star"],u:"2b50",a:"0.6"},{n:["star2","glowing star"],u:"1f31f",a:"0.6"},{n:["stars","shooting star"],u:"1f320",a:"0.6"},{n:["milky way"],u:"1f30c",a:"0.6"},{n:["cloud"],u:"2601-fe0f",a:"0.6"},{n:["partly sunny","sun behind cloud"],u:"26c5",a:"0.6"},{n:["thunder cloud and rain","cloud with lightning and rain"],u:"26c8-fe0f",a:"0.7"},{n:["mostly sunny","sun small cloud","sun behind small cloud"],u:"1f324-fe0f",a:"0.7"},{n:["barely sunny","sun behind cloud","sun behind large cloud"],u:"1f325-fe0f",a:"0.7"},{n:["partly sunny rain","sun behind rain cloud"],u:"1f326-fe0f",a:"0.7"},{n:["rain cloud","cloud with rain"],u:"1f327-fe0f",a:"0.7"},{n:["snow cloud","cloud with snow"],u:"1f328-fe0f",a:"0.7"},{n:["lightning","lightning cloud","cloud with lightning"],u:"1f329-fe0f",a:"0.7"},{n:["tornado","tornado cloud"],u:"1f32a-fe0f",a:"0.7"},{n:["fog"],u:"1f32b-fe0f",a:"0.7"},{n:["wind face","wind blowing face"],u:"1f32c-fe0f",a:"0.7"},{n:["cyclone"],u:"1f300",a:"0.6"},{n:["rainbow"],u:"1f308",a:"0.6"},{n:["closed umbrella"],u:"1f302",a:"0.6"},{n:["umbrella"],u:"2602-fe0f",a:"0.7"},{n:["umbrella with rain drops"],u:"2614",a:"0.6"},{n:["umbrella on ground"],u:"26f1-fe0f",a:"0.7"},{n:["zap","high voltage sign"],u:"26a1",a:"0.6"},{n:["snowflake"],u:"2744-fe0f",a:"0.6"},{n:["snowman"],u:"2603-fe0f",a:"0.7"},{n:["snowman without snow"],u:"26c4",a:"0.6"},{n:["comet"],u:"2604-fe0f",a:"1.0"},{n:["fire"],u:"1f525",a:"0.6"},{n:["droplet"],u:"1f4a7",a:"0.6"},{n:["ocean","water wave"],u:"1f30a",a:"0.6"}],z1=[{n:["jack-o-lantern","jack o lantern"],u:"1f383",a:"0.6"},{n:["christmas tree"],u:"1f384",a:"0.6"},{n:["fireworks"],u:"1f386",a:"0.6"},{n:["sparkler","firework sparkler"],u:"1f387",a:"0.6"},{n:["firecracker"],u:"1f9e8",a:"11.0"},{n:["sparkles"],u:"2728",a:"0.6"},{n:["balloon"],u:"1f388",a:"0.6"},{n:["tada","party popper"],u:"1f389",a:"0.6"},{n:["confetti ball"],u:"1f38a",a:"0.6"},{n:["tanabata tree"],u:"1f38b",a:"0.6"},{n:["bamboo","pine decoration"],u:"1f38d",a:"0.6"},{n:["dolls","japanese dolls"],u:"1f38e",a:"0.6"},{n:["flags","carp streamer"],u:"1f38f",a:"0.6"},{n:["wind chime"],u:"1f390",a:"0.6"},{n:["rice scene","moon viewing ceremony"],u:"1f391",a:"0.6"},{n:["red envelope","red gift envelope"],u:"1f9e7",a:"11.0"},{n:["ribbon"],u:"1f380",a:"0.6"},{n:["gift","wrapped present"],u:"1f381",a:"0.6"},{n:["reminder ribbon"],u:"1f397-fe0f",a:"0.7"},{n:["admission tickets"],u:"1f39f-fe0f",a:"0.7"},{n:["ticket"],u:"1f3ab",a:"0.6"},{n:["medal","military medal"],u:"1f396-fe0f",a:"0.7"},{n:["trophy"],u:"1f3c6",a:"0.6"},{n:["sports medal"],u:"1f3c5",a:"1.0"},{n:["first place medal"],u:"1f947",a:"3.0"},{n:["second place medal"],u:"1f948",a:"3.0"},{n:["third place medal"],u:"1f949",a:"3.0"},{n:["soccer","soccer ball"],u:"26bd",a:"0.6"},{n:["baseball"],u:"26be",a:"0.6"},{n:["softball"],u:"1f94e",a:"11.0"},{n:["basketball","basketball and hoop"],u:"1f3c0",a:"0.6"},{n:["volleyball"],u:"1f3d0",a:"1.0"},{n:["football","american football"],u:"1f3c8",a:"0.6"},{n:["rugby football"],u:"1f3c9",a:"1.0"},{n:["tennis","tennis racquet and ball"],u:"1f3be",a:"0.6"},{n:["flying disc"],u:"1f94f",a:"11.0"},{n:["bowling"],u:"1f3b3",a:"0.6"},{n:["cricket bat and ball"],u:"1f3cf",a:"1.0"},{n:["field hockey stick and ball"],u:"1f3d1",a:"1.0"},{n:["ice hockey stick and puck"],u:"1f3d2",a:"1.0"},{n:["lacrosse","lacrosse stick and ball"],u:"1f94d",a:"11.0"},{n:["table tennis paddle and ball"],u:"1f3d3",a:"1.0"},{n:["badminton racquet and shuttlecock"],u:"1f3f8",a:"1.0"},{n:["boxing glove"],u:"1f94a",a:"3.0"},{n:["martial arts uniform"],u:"1f94b",a:"3.0"},{n:["goal net"],u:"1f945",a:"3.0"},{n:["golf","flag in hole"],u:"26f3",a:"0.6"},{n:["ice skate"],u:"26f8-fe0f",a:"0.7"},{n:["fishing pole and fish"],u:"1f3a3",a:"0.6"},{n:["diving mask"],u:"1f93f",a:"12.0"},{n:["running shirt with sash"],u:"1f3bd",a:"0.6"},{n:["ski","ski and ski boot"],u:"1f3bf",a:"0.6"},{n:["sled"],u:"1f6f7",a:"5.0"},{n:["curling stone"],u:"1f94c",a:"5.0"},{n:["dart","direct hit"],u:"1f3af",a:"0.6"},{n:["yo-yo"],u:"1fa80",a:"12.0"},{n:["kite"],u:"1fa81",a:"12.0"},{n:["8ball","billiards"],u:"1f3b1",a:"0.6"},{n:["crystal ball"],u:"1f52e",a:"0.6"},{n:["magic wand"],u:"1fa84",a:"13.0"},{n:["nazar amulet"],u:"1f9ff",a:"11.0"},{n:["hamsa"],u:"1faac",a:"14.0"},{n:["video game"],u:"1f3ae",a:"0.6"},{n:["joystick"],u:"1f579-fe0f",a:"0.7"},{n:["slot machine"],u:"1f3b0",a:"0.6"},{n:["game die"],u:"1f3b2",a:"0.6"},{n:["jigsaw","jigsaw puzzle piece"],u:"1f9e9",a:"11.0"},{n:["teddy bear"],u:"1f9f8",a:"11.0"},{n:["pinata"],u:"1fa85",a:"13.0"},{n:["mirror ball"],u:"1faa9",a:"14.0"},{n:["nesting dolls"],u:"1fa86",a:"13.0"},{n:["spades","black spade suit"],u:"2660-fe0f",a:"0.6"},{n:["hearts","black heart suit"],u:"2665-fe0f",a:"0.6"},{n:["diamonds","black diamond suit"],u:"2666-fe0f",a:"0.6"},{n:["clubs","black club suit"],u:"2663-fe0f",a:"0.6"},{n:["chess pawn"],u:"265f-fe0f",a:"11.0"},{n:["black joker","playing card black joker"],u:"1f0cf",a:"0.6"},{n:["mahjong","mahjong tile red dragon"],u:"1f004",a:"0.6"},{n:["flower playing cards"],u:"1f3b4",a:"0.6"},{n:["performing arts"],u:"1f3ad",a:"0.6"},{n:["framed picture","frame with picture"],u:"1f5bc-fe0f",a:"0.7"},{n:["art","artist palette"],u:"1f3a8",a:"0.6"},{n:["thread","spool of thread"],u:"1f9f5",a:"11.0"},{n:["sewing needle"],u:"1faa1",a:"13.0"},{n:["yarn","ball of yarn"],u:"1f9f6",a:"11.0"},{n:["knot"],u:"1faa2",a:"13.0"}],P1=[{n:["eyeglasses"],u:"1f453",a:"0.6"},{n:["sunglasses","dark sunglasses"],u:"1f576-fe0f",a:"0.7"},{n:["goggles"],u:"1f97d",a:"11.0"},{n:["lab coat"],u:"1f97c",a:"11.0"},{n:["safety vest"],u:"1f9ba",a:"12.0"},{n:["necktie"],u:"1f454",a:"0.6"},{n:["shirt","tshirt","t-shirt"],u:"1f455",a:"0.6"},{n:["jeans"],u:"1f456",a:"0.6"},{n:["scarf"],u:"1f9e3",a:"5.0"},{n:["gloves"],u:"1f9e4",a:"5.0"},{n:["coat"],u:"1f9e5",a:"5.0"},{n:["socks"],u:"1f9e6",a:"5.0"},{n:["dress"],u:"1f457",a:"0.6"},{n:["kimono"],u:"1f458",a:"0.6"},{n:["sari"],u:"1f97b",a:"12.0"},{n:["one-piece swimsuit"],u:"1fa71",a:"12.0"},{n:["briefs"],u:"1fa72",a:"12.0"},{n:["shorts"],u:"1fa73",a:"12.0"},{n:["bikini"],u:"1f459",a:"0.6"},{n:["womans clothes"],u:"1f45a",a:"0.6"},{n:["purse"],u:"1f45b",a:"0.6"},{n:["handbag"],u:"1f45c",a:"0.6"},{n:["pouch"],u:"1f45d",a:"0.6"},{n:["shopping bags"],u:"1f6cd-fe0f",a:"0.7"},{n:["school satchel"],u:"1f392",a:"0.6"},{n:["thong sandal"],u:"1fa74",a:"13.0"},{n:["shoe","mans shoe"],u:"1f45e",a:"0.6"},{n:["athletic shoe"],u:"1f45f",a:"0.6"},{n:["hiking boot"],u:"1f97e",a:"11.0"},{n:["flat shoe","womans flat shoe"],u:"1f97f",a:"11.0"},{n:["high heel","high-heeled shoe"],u:"1f460",a:"0.6"},{n:["sandal","womans sandal"],u:"1f461",a:"0.6"},{n:["ballet shoes"],u:"1fa70",a:"12.0"},{n:["boot","womans boots"],u:"1f462",a:"0.6"},{n:["crown"],u:"1f451",a:"0.6"},{n:["womans hat"],u:"1f452",a:"0.6"},{n:["tophat","top hat"],u:"1f3a9",a:"0.6"},{n:["mortar board","graduation cap"],u:"1f393",a:"0.6"},{n:["billed cap"],u:"1f9e2",a:"5.0"},{n:["military helmet"],u:"1fa96",a:"13.0"},{n:["rescue worker’s helmet","helmet with white cross"],u:"26d1-fe0f",a:"0.7"},{n:["prayer beads"],u:"1f4ff",a:"1.0"},{n:["lipstick"],u:"1f484",a:"0.6"},{n:["ring"],u:"1f48d",a:"0.6"},{n:["gem","gem stone"],u:"1f48e",a:"0.6"},{n:["mute","speaker with cancellation stroke"],u:"1f507",a:"1.0"},{n:["speaker"],u:"1f508",a:"0.7"},{n:["sound","speaker with one sound wave"],u:"1f509",a:"1.0"},{n:["loud sound","speaker with three sound waves"],u:"1f50a",a:"0.6"},{n:["loudspeaker","public address loudspeaker"],u:"1f4e2",a:"0.6"},{n:["mega","cheering megaphone"],u:"1f4e3",a:"0.6"},{n:["postal horn"],u:"1f4ef",a:"1.0"},{n:["bell"],u:"1f514",a:"0.6"},{n:["no bell","bell with cancellation stroke"],u:"1f515",a:"1.0"},{n:["musical score"],u:"1f3bc",a:"0.6"},{n:["musical note"],u:"1f3b5",a:"0.6"},{n:["notes","multiple musical notes"],u:"1f3b6",a:"0.6"},{n:["studio microphone"],u:"1f399-fe0f",a:"0.7"},{n:["level slider"],u:"1f39a-fe0f",a:"0.7"},{n:["control knobs"],u:"1f39b-fe0f",a:"0.7"},{n:["microphone"],u:"1f3a4",a:"0.6"},{n:["headphone","headphones"],u:"1f3a7",a:"0.6"},{n:["radio"],u:"1f4fb",a:"0.6"},{n:["saxophone"],u:"1f3b7",a:"0.6"},{n:["accordion"],u:"1fa97",a:"13.0"},{n:["guitar"],u:"1f3b8",a:"0.6"},{n:["musical keyboard"],u:"1f3b9",a:"0.6"},{n:["trumpet"],u:"1f3ba",a:"0.6"},{n:["violin"],u:"1f3bb",a:"0.6"},{n:["banjo"],u:"1fa95",a:"12.0"},{n:["drum with drumsticks"],u:"1f941",a:"3.0"},{n:["long drum"],u:"1fa98",a:"13.0"},{n:["iphone","mobile phone"],u:"1f4f1",a:"0.6"},{n:["calling","mobile phone with rightwards arrow at left"],u:"1f4f2",a:"0.6"},{n:["phone","telephone","black telephone"],u:"260e-fe0f",a:"0.6"},{n:["telephone receiver"],u:"1f4de",a:"0.6"},{n:["pager"],u:"1f4df",a:"0.6"},{n:["fax","fax machine"],u:"1f4e0",a:"0.6"},{n:["battery"],u:"1f50b",a:"0.6"},{n:["low battery"],u:"1faab",a:"14.0"},{n:["electric plug"],u:"1f50c",a:"0.6"},{n:["computer","personal computer"],u:"1f4bb",a:"0.6"},{n:["desktop computer"],u:"1f5a5-fe0f",a:"0.7"},{n:["printer"],u:"1f5a8-fe0f",a:"0.7"},{n:["keyboard"],u:"2328-fe0f",a:"1.0"},{n:["computer mouse","three button mouse"],u:"1f5b1-fe0f",a:"0.7"},{n:["trackball"],u:"1f5b2-fe0f",a:"0.7"},{n:["minidisc"],u:"1f4bd",a:"0.6"},{n:["floppy disk"],u:"1f4be",a:"0.6"},{n:["cd","optical disc"],u:"1f4bf",a:"0.6"},{n:["dvd"],u:"1f4c0",a:"0.6"},{n:["abacus"],u:"1f9ee",a:"11.0"},{n:["movie camera"],u:"1f3a5",a:"0.6"},{n:["film frames"],u:"1f39e-fe0f",a:"0.7"},{n:["film projector"],u:"1f4fd-fe0f",a:"0.7"},{n:["clapper","clapper board"],u:"1f3ac",a:"0.6"},{n:["tv","television"],u:"1f4fa",a:"0.6"},{n:["camera"],u:"1f4f7",a:"0.6"},{n:["camera with flash"],u:"1f4f8",a:"1.0"},{n:["video camera"],u:"1f4f9",a:"0.6"},{n:["vhs","videocassette"],u:"1f4fc",a:"0.6"},{n:["mag","left-pointing magnifying glass"],u:"1f50d",a:"0.6"},{n:["mag right","right-pointing magnifying glass"],u:"1f50e",a:"0.6"},{n:["candle"],u:"1f56f-fe0f",a:"0.7"},{n:["bulb","electric light bulb"],u:"1f4a1",a:"0.6"},{n:["flashlight","electric torch"],u:"1f526",a:"0.6"},{n:["lantern","izakaya lantern"],u:"1f3ee",a:"0.6"},{n:["diya lamp"],u:"1fa94",a:"12.0"},{n:["notebook with decorative cover"],u:"1f4d4",a:"0.6"},{n:["closed book"],u:"1f4d5",a:"0.6"},{n:["book","open book"],u:"1f4d6",a:"0.6"},{n:["green book"],u:"1f4d7",a:"0.6"},{n:["blue book"],u:"1f4d8",a:"0.6"},{n:["orange book"],u:"1f4d9",a:"0.6"},{n:["books"],u:"1f4da",a:"0.6"},{n:["notebook"],u:"1f4d3",a:"0.6"},{n:["ledger"],u:"1f4d2",a:"0.6"},{n:["page with curl"],u:"1f4c3",a:"0.6"},{n:["scroll"],u:"1f4dc",a:"0.6"},{n:["page facing up"],u:"1f4c4",a:"0.6"},{n:["newspaper"],u:"1f4f0",a:"0.6"},{n:["rolled-up newspaper","rolled up newspaper"],u:"1f5de-fe0f",a:"0.7"},{n:["bookmark tabs"],u:"1f4d1",a:"0.6"},{n:["bookmark"],u:"1f516",a:"0.6"},{n:["label"],u:"1f3f7-fe0f",a:"0.7"},{n:["moneybag","money bag"],u:"1f4b0",a:"0.6"},{n:["coin"],u:"1fa99",a:"13.0"},{n:["yen","banknote with yen sign"],u:"1f4b4",a:"0.6"},{n:["dollar","banknote with dollar sign"],u:"1f4b5",a:"0.6"},{n:["euro","banknote with euro sign"],u:"1f4b6",a:"1.0"},{n:["pound","banknote with pound sign"],u:"1f4b7",a:"1.0"},{n:["money with wings"],u:"1f4b8",a:"0.6"},{n:["credit card"],u:"1f4b3",a:"0.6"},{n:["receipt"],u:"1f9fe",a:"11.0"},{n:["chart","chart with upwards trend and yen sign"],u:"1f4b9",a:"0.6"},{n:["email","envelope"],u:"2709-fe0f",a:"0.6"},{n:["e-mail","e-mail symbol"],u:"1f4e7",a:"0.6"},{n:["incoming envelope"],u:"1f4e8",a:"0.6"},{n:["envelope with arrow","envelope with downwards arrow above"],u:"1f4e9",a:"0.6"},{n:["outbox tray"],u:"1f4e4",a:"0.6"},{n:["inbox tray"],u:"1f4e5",a:"0.6"},{n:["package"],u:"1f4e6",a:"0.6"},{n:["mailbox","closed mailbox with raised flag"],u:"1f4eb",a:"0.6"},{n:["mailbox closed","closed mailbox with lowered flag"],u:"1f4ea",a:"0.6"},{n:["mailbox with mail","open mailbox with raised flag"],u:"1f4ec",a:"0.7"},{n:["mailbox with no mail","open mailbox with lowered flag"],u:"1f4ed",a:"0.7"},{n:["postbox"],u:"1f4ee",a:"0.6"},{n:["ballot box with ballot"],u:"1f5f3-fe0f",a:"0.7"},{n:["pencil","pencil2"],u:"270f-fe0f",a:"0.6"},{n:["black nib"],u:"2712-fe0f",a:"0.6"},{n:["fountain pen","lower left fountain pen"],u:"1f58b-fe0f",a:"0.7"},{n:["pen","lower left ballpoint pen"],u:"1f58a-fe0f",a:"0.7"},{n:["paintbrush","lower left paintbrush"],u:"1f58c-fe0f",a:"0.7"},{n:["crayon","lower left crayon"],u:"1f58d-fe0f",a:"0.7"},{n:["memo","pencil"],u:"1f4dd",a:"0.6"},{n:["briefcase"],u:"1f4bc",a:"0.6"},{n:["file folder"],u:"1f4c1",a:"0.6"},{n:["open file folder"],u:"1f4c2",a:"0.6"},{n:["card index dividers"],u:"1f5c2-fe0f",a:"0.7"},{n:["date","calendar"],u:"1f4c5",a:"0.6"},{n:["calendar","tear-off calendar"],u:"1f4c6",a:"0.6"},{n:["spiral notepad","spiral note pad"],u:"1f5d2-fe0f",a:"0.7"},{n:["spiral calendar","spiral calendar pad"],u:"1f5d3-fe0f",a:"0.7"},{n:["card index"],u:"1f4c7",a:"0.6"},{n:["chart with upwards trend"],u:"1f4c8",a:"0.6"},{n:["chart with downwards trend"],u:"1f4c9",a:"0.6"},{n:["bar chart"],u:"1f4ca",a:"0.6"},{n:["clipboard"],u:"1f4cb",a:"0.6"},{n:["pushpin"],u:"1f4cc",a:"0.6"},{n:["round pushpin"],u:"1f4cd",a:"0.6"},{n:["paperclip"],u:"1f4ce",a:"0.6"},{n:["linked paperclips"],u:"1f587-fe0f",a:"0.7"},{n:["straight ruler"],u:"1f4cf",a:"0.6"},{n:["triangular ruler"],u:"1f4d0",a:"0.6"},{n:["scissors","black scissors"],u:"2702-fe0f",a:"0.6"},{n:["card file box"],u:"1f5c3-fe0f",a:"0.7"},{n:["file cabinet"],u:"1f5c4-fe0f",a:"0.7"},{n:["wastebasket"],u:"1f5d1-fe0f",a:"0.7"},{n:["lock"],u:"1f512",a:"0.6"},{n:["unlock","open lock"],u:"1f513",a:"0.6"},{n:["lock with ink pen"],u:"1f50f",a:"0.6"},{n:["closed lock with key"],u:"1f510",a:"0.6"},{n:["key"],u:"1f511",a:"0.6"},{n:["old key"],u:"1f5dd-fe0f",a:"0.7"},{n:["hammer"],u:"1f528",a:"0.6"},{n:["axe"],u:"1fa93",a:"12.0"},{n:["pick"],u:"26cf-fe0f",a:"0.7"},{n:["hammer and pick"],u:"2692-fe0f",a:"1.0"},{n:["hammer and wrench"],u:"1f6e0-fe0f",a:"0.7"},{n:["dagger","dagger knife"],u:"1f5e1-fe0f",a:"0.7"},{n:["crossed swords"],u:"2694-fe0f",a:"1.0"},{n:["gun","pistol"],u:"1f52b",a:"0.6"},{n:["boomerang"],u:"1fa83",a:"13.0"},{n:["bow and arrow"],u:"1f3f9",a:"1.0"},{n:["shield"],u:"1f6e1-fe0f",a:"0.7"},{n:["carpentry saw"],u:"1fa9a",a:"13.0"},{n:["wrench"],u:"1f527",a:"0.6"},{n:["screwdriver"],u:"1fa9b",a:"13.0"},{n:["nut and bolt"],u:"1f529",a:"0.6"},{n:["gear"],u:"2699-fe0f",a:"1.0"},{n:["clamp","compression"],u:"1f5dc-fe0f",a:"0.7"},{n:["scales","balance scale"],u:"2696-fe0f",a:"1.0"},{n:["probing cane"],u:"1f9af",a:"12.0"},{n:["link","link symbol"],u:"1f517",a:"0.6"},{n:["chains"],u:"26d3-fe0f",a:"0.7"},{n:["hook"],u:"1fa9d",a:"13.0"},{n:["toolbox"],u:"1f9f0",a:"11.0"},{n:["magnet"],u:"1f9f2",a:"11.0"},{n:["ladder"],u:"1fa9c",a:"13.0"},{n:["alembic"],u:"2697-fe0f",a:"1.0"},{n:["test tube"],u:"1f9ea",a:"11.0"},{n:["petri dish"],u:"1f9eb",a:"11.0"},{n:["dna","dna double helix"],u:"1f9ec",a:"11.0"},{n:["microscope"],u:"1f52c",a:"1.0"},{n:["telescope"],u:"1f52d",a:"1.0"},{n:["satellite antenna"],u:"1f4e1",a:"0.6"},{n:["syringe"],u:"1f489",a:"0.6"},{n:["drop of blood"],u:"1fa78",a:"12.0"},{n:["pill"],u:"1f48a",a:"0.6"},{n:["adhesive bandage"],u:"1fa79",a:"12.0"},{n:["crutch"],u:"1fa7c",a:"14.0"},{n:["stethoscope"],u:"1fa7a",a:"12.0"},{n:["x-ray"],u:"1fa7b",a:"14.0"},{n:["door"],u:"1f6aa",a:"0.6"},{n:["elevator"],u:"1f6d7",a:"13.0"},{n:["mirror"],u:"1fa9e",a:"13.0"},{n:["window"],u:"1fa9f",a:"13.0"},{n:["bed"],u:"1f6cf-fe0f",a:"0.7"},{n:["couch and lamp"],u:"1f6cb-fe0f",a:"0.7"},{n:["chair"],u:"1fa91",a:"12.0"},{n:["toilet"],u:"1f6bd",a:"0.6"},{n:["plunger"],u:"1faa0",a:"13.0"},{n:["shower"],u:"1f6bf",a:"1.0"},{n:["bathtub"],u:"1f6c1",a:"1.0"},{n:["mouse trap"],u:"1faa4",a:"13.0"},{n:["razor"],u:"1fa92",a:"12.0"},{n:["lotion bottle"],u:"1f9f4",a:"11.0"},{n:["safety pin"],u:"1f9f7",a:"11.0"},{n:["broom"],u:"1f9f9",a:"11.0"},{n:["basket"],u:"1f9fa",a:"11.0"},{n:["roll of paper"],u:"1f9fb",a:"11.0"},{n:["bucket"],u:"1faa3",a:"13.0"},{n:["soap","bar of soap"],u:"1f9fc",a:"11.0"},{n:["bubbles"],u:"1fae7",a:"14.0"},{n:["toothbrush"],u:"1faa5",a:"13.0"},{n:["sponge"],u:"1f9fd",a:"11.0"},{n:["fire extinguisher"],u:"1f9ef",a:"11.0"},{n:["shopping trolley"],u:"1f6d2",a:"3.0"},{n:["smoking","smoking symbol"],u:"1f6ac",a:"0.6"},{n:["coffin"],u:"26b0-fe0f",a:"1.0"},{n:["headstone"],u:"1faa6",a:"13.0"},{n:["funeral urn"],u:"26b1-fe0f",a:"1.0"},{n:["moyai"],u:"1f5ff",a:"0.6"},{n:["placard"],u:"1faa7",a:"13.0"},{n:["identification card"],u:"1faaa",a:"14.0"}],T1=[{n:["atm","automated teller machine"],u:"1f3e7",a:"0.6"},{n:["put litter in its place","put litter in its place symbol"],u:"1f6ae",a:"1.0"},{n:["potable water","potable water symbol"],u:"1f6b0",a:"1.0"},{n:["wheelchair","wheelchair symbol"],u:"267f",a:"0.6"},{n:["mens","mens symbol"],u:"1f6b9",a:"0.6"},{n:["womens","womens symbol"],u:"1f6ba",a:"0.6"},{n:["restroom"],u:"1f6bb",a:"0.6"},{n:["baby symbol"],u:"1f6bc",a:"0.6"},{n:["wc","water closet"],u:"1f6be",a:"0.6"},{n:["passport control"],u:"1f6c2",a:"1.0"},{n:["customs"],u:"1f6c3",a:"1.0"},{n:["baggage claim"],u:"1f6c4",a:"1.0"},{n:["left luggage"],u:"1f6c5",a:"1.0"},{n:["warning","warning sign"],u:"26a0-fe0f",a:"0.6"},{n:["children crossing"],u:"1f6b8",a:"1.0"},{n:["no entry"],u:"26d4",a:"0.6"},{n:["no entry sign"],u:"1f6ab",a:"0.6"},{n:["no bicycles"],u:"1f6b3",a:"1.0"},{n:["no smoking","no smoking symbol"],u:"1f6ad",a:"0.6"},{n:["do not litter","do not litter symbol"],u:"1f6af",a:"1.0"},{n:["non-potable water","non-potable water symbol"],u:"1f6b1",a:"1.0"},{n:["no pedestrians"],u:"1f6b7",a:"1.0"},{n:["no mobile phones"],u:"1f4f5",a:"1.0"},{n:["underage","no one under eighteen symbol"],u:"1f51e",a:"0.6"},{n:["radioactive","radioactive sign"],u:"2622-fe0f",a:"1.0"},{n:["biohazard","biohazard sign"],u:"2623-fe0f",a:"1.0"},{n:["arrow up","upwards black arrow"],u:"2b06-fe0f",a:"0.6"},{n:["north east arrow","arrow upper right"],u:"2197-fe0f",a:"0.6"},{n:["arrow right","black rightwards arrow"],u:"27a1-fe0f",a:"0.6"},{n:["south east arrow","arrow lower right"],u:"2198-fe0f",a:"0.6"},{n:["arrow down","downwards black arrow"],u:"2b07-fe0f",a:"0.6"},{n:["south west arrow","arrow lower left"],u:"2199-fe0f",a:"0.6"},{n:["arrow left","leftwards black arrow"],u:"2b05-fe0f",a:"0.6"},{n:["north west arrow","arrow upper left"],u:"2196-fe0f",a:"0.6"},{n:["up down arrow","arrow up down"],u:"2195-fe0f",a:"0.6"},{n:["left right arrow"],u:"2194-fe0f",a:"0.6"},{n:["leftwards arrow with hook"],u:"21a9-fe0f",a:"0.6"},{n:["arrow right hook","rightwards arrow with hook"],u:"21aa-fe0f",a:"0.6"},{n:["arrow heading up","arrow pointing rightwards then curving upwards"],u:"2934-fe0f",a:"0.6"},{n:["arrow heading down","arrow pointing rightwards then curving downwards"],u:"2935-fe0f",a:"0.6"},{n:["arrows clockwise","clockwise downwards and upwards open circle arrows"],u:"1f503",a:"0.6"},{n:["arrows counterclockwise","anticlockwise downwards and upwards open circle arrows"],u:"1f504",a:"1.0"},{n:["back","back with leftwards arrow above"],u:"1f519",a:"0.6"},{n:["end","end with leftwards arrow above"],u:"1f51a",a:"0.6"},{n:["on","on with exclamation mark with left right arrow above"],u:"1f51b",a:"0.6"},{n:["soon","soon with rightwards arrow above"],u:"1f51c",a:"0.6"},{n:["top","top with upwards arrow above"],u:"1f51d",a:"0.6"},{n:["place of worship"],u:"1f6d0",a:"1.0"},{n:["atom symbol"],u:"269b-fe0f",a:"1.0"},{n:["om","om symbol"],u:"1f549-fe0f",a:"0.7"},{n:["star of david"],u:"2721-fe0f",a:"0.7"},{n:["wheel of dharma"],u:"2638-fe0f",a:"0.7"},{n:["yin yang"],u:"262f-fe0f",a:"0.7"},{n:["latin cross"],u:"271d-fe0f",a:"0.7"},{n:["orthodox cross"],u:"2626-fe0f",a:"1.0"},{n:["star and crescent"],u:"262a-fe0f",a:"0.7"},{n:["peace symbol"],u:"262e-fe0f",a:"1.0"},{n:["menorah with nine branches"],u:"1f54e",a:"1.0"},{n:["six pointed star","six pointed star with middle dot"],u:"1f52f",a:"0.6"},{n:["aries"],u:"2648",a:"0.6"},{n:["taurus"],u:"2649",a:"0.6"},{n:["gemini"],u:"264a",a:"0.6"},{n:["cancer"],u:"264b",a:"0.6"},{n:["leo"],u:"264c",a:"0.6"},{n:["virgo"],u:"264d",a:"0.6"},{n:["libra"],u:"264e",a:"0.6"},{n:["scorpius"],u:"264f",a:"0.6"},{n:["sagittarius"],u:"2650",a:"0.6"},{n:["capricorn"],u:"2651",a:"0.6"},{n:["aquarius"],u:"2652",a:"0.6"},{n:["pisces"],u:"2653",a:"0.6"},{n:["ophiuchus"],u:"26ce",a:"0.6"},{n:["twisted rightwards arrows"],u:"1f500",a:"1.0"},{n:["repeat","clockwise rightwards and leftwards open circle arrows"],u:"1f501",a:"1.0"},{n:["repeat one","clockwise rightwards and leftwards open circle arrows with circled one overlay"],u:"1f502",a:"1.0"},{n:["arrow forward","black right-pointing triangle"],u:"25b6-fe0f",a:"0.6"},{n:["fast forward","black right-pointing double triangle"],u:"23e9",a:"0.6"},{n:["next track button","black right pointing double triangle with vertical bar"],u:"23ed-fe0f",a:"0.7"},{n:["play or pause button","black right pointing triangle with double vertical bar"],u:"23ef-fe0f",a:"1.0"},{n:["arrow backward","black left-pointing triangle"],u:"25c0-fe0f",a:"0.6"},{n:["rewind","black left-pointing double triangle"],u:"23ea",a:"0.6"},{n:["last track button","black left pointing double triangle with vertical bar"],u:"23ee-fe0f",a:"0.7"},{n:["arrow up small","up-pointing small red triangle"],u:"1f53c",a:"0.6"},{n:["arrow double up","black up-pointing double triangle"],u:"23eb",a:"0.6"},{n:["arrow down small","down-pointing small red triangle"],u:"1f53d",a:"0.6"},{n:["arrow double down","black down-pointing double triangle"],u:"23ec",a:"0.6"},{n:["pause button","double vertical bar"],u:"23f8-fe0f",a:"0.7"},{n:["stop button","black square for stop"],u:"23f9-fe0f",a:"0.7"},{n:["record button","black circle for record"],u:"23fa-fe0f",a:"0.7"},{n:["eject","eject button"],u:"23cf-fe0f",a:"1.0"},{n:["cinema"],u:"1f3a6",a:"0.6"},{n:["low brightness","low brightness symbol"],u:"1f505",a:"1.0"},{n:["high brightness","high brightness symbol"],u:"1f506",a:"1.0"},{n:["signal strength","antenna with bars"],u:"1f4f6",a:"0.6"},{n:["vibration mode"],u:"1f4f3",a:"0.6"},{n:["mobile phone off"],u:"1f4f4",a:"0.6"},{n:["female sign"],u:"2640-fe0f",a:"4.0"},{n:["male sign"],u:"2642-fe0f",a:"4.0"},{n:["transgender symbol"],u:"26a7-fe0f",a:"13.0"},{n:["heavy multiplication x"],u:"2716-fe0f",a:"0.6"},{n:["heavy plus sign"],u:"2795",a:"0.6"},{n:["heavy minus sign"],u:"2796",a:"0.6"},{n:["heavy division sign"],u:"2797",a:"0.6"},{n:["heavy equals sign"],u:"1f7f0",a:"14.0"},{n:["infinity"],u:"267e-fe0f",a:"11.0"},{n:["bangbang","double exclamation mark"],u:"203c-fe0f",a:"0.6"},{n:["interrobang","exclamation question mark"],u:"2049-fe0f",a:"0.6"},{n:["question","black question mark ornament"],u:"2753",a:"0.6"},{n:["grey question","white question mark ornament"],u:"2754",a:"0.6"},{n:["grey exclamation","white exclamation mark ornament"],u:"2755",a:"0.6"},{n:["exclamation","heavy exclamation mark","heavy exclamation mark symbol"],u:"2757",a:"0.6"},{n:["wavy dash"],u:"3030-fe0f",a:"0.6"},{n:["currency exchange"],u:"1f4b1",a:"0.6"},{n:["heavy dollar sign"],u:"1f4b2",a:"0.6"},{n:["medical symbol","staff of aesculapius"],u:"2695-fe0f",a:"4.0"},{n:["recycle","black universal recycling symbol"],u:"267b-fe0f",a:"0.6"},{n:["fleur-de-lis","fleur de lis"],u:"269c-fe0f",a:"1.0"},{n:["trident","trident emblem"],u:"1f531",a:"0.6"},{n:["name badge"],u:"1f4db",a:"0.6"},{n:["beginner","japanese symbol for beginner"],u:"1f530",a:"0.6"},{n:["o","heavy large circle"],u:"2b55",a:"0.6"},{n:["white check mark","white heavy check mark"],u:"2705",a:"0.6"},{n:["ballot box with check"],u:"2611-fe0f",a:"0.6"},{n:["heavy check mark"],u:"2714-fe0f",a:"0.6"},{n:["x","cross mark"],u:"274c",a:"0.6"},{n:["negative squared cross mark"],u:"274e",a:"0.6"},{n:["curly loop"],u:"27b0",a:"0.6"},{n:["loop","double curly loop"],u:"27bf",a:"1.0"},{n:["part alternation mark"],u:"303d-fe0f",a:"0.6"},{n:["eight spoked asterisk"],u:"2733-fe0f",a:"0.6"},{n:["eight pointed black star"],u:"2734-fe0f",a:"0.6"},{n:["sparkle"],u:"2747-fe0f",a:"0.6"},{n:["copyright","copyright sign"],u:"00a9-fe0f",a:"0.6"},{n:["registered","registered sign"],u:"00ae-fe0f",a:"0.6"},{n:["tm","trade mark sign"],u:"2122-fe0f",a:"0.6"},{n:["hash","hash key"],u:"0023-fe0f-20e3",a:"0.6"},{n:["keycap: *","keycap star"],u:"002a-fe0f-20e3",a:"2.0"},{n:["zero","keycap 0"],u:"0030-fe0f-20e3",a:"0.6"},{n:["one","keycap 1"],u:"0031-fe0f-20e3",a:"0.6"},{n:["two","keycap 2"],u:"0032-fe0f-20e3",a:"0.6"},{n:["three","keycap 3"],u:"0033-fe0f-20e3",a:"0.6"},{n:["four","keycap 4"],u:"0034-fe0f-20e3",a:"0.6"},{n:["five","keycap 5"],u:"0035-fe0f-20e3",a:"0.6"},{n:["six","keycap 6"],u:"0036-fe0f-20e3",a:"0.6"},{n:["seven","keycap 7"],u:"0037-fe0f-20e3",a:"0.6"},{n:["eight","keycap 8"],u:"0038-fe0f-20e3",a:"0.6"},{n:["nine","keycap 9"],u:"0039-fe0f-20e3",a:"0.6"},{n:["keycap ten"],u:"1f51f",a:"0.6"},{n:["capital abcd","input symbol for latin capital letters"],u:"1f520",a:"0.6"},{n:["abcd","input symbol for latin small letters"],u:"1f521",a:"0.6"},{n:["1234","input symbol for numbers"],u:"1f522",a:"0.6"},{n:["symbols","input symbol for symbols"],u:"1f523",a:"0.6"},{n:["abc","input symbol for latin letters"],u:"1f524",a:"0.6"},{n:["a","negative squared latin capital letter a"],u:"1f170-fe0f",a:"0.6"},{n:["ab","negative squared ab"],u:"1f18e",a:"0.6"},{n:["b","negative squared latin capital letter b"],u:"1f171-fe0f",a:"0.6"},{n:["cl","squared cl"],u:"1f191",a:"0.6"},{n:["cool","squared cool"],u:"1f192",a:"0.6"},{n:["free","squared free"],u:"1f193",a:"0.6"},{n:["information source"],u:"2139-fe0f",a:"0.6"},{n:["id","squared id"],u:"1f194",a:"0.6"},{n:["m","circled latin capital letter m"],u:"24c2-fe0f",a:"0.6"},{n:["new","squared new"],u:"1f195",a:"0.6"},{n:["ng","squared ng"],u:"1f196",a:"0.6"},{n:["o2","negative squared latin capital letter o"],u:"1f17e-fe0f",a:"0.6"},{n:["ok","squared ok"],u:"1f197",a:"0.6"},{n:["parking","negative squared latin capital letter p"],u:"1f17f-fe0f",a:"0.6"},{n:["sos","squared sos"],u:"1f198",a:"0.6"},{n:["up","squared up with exclamation mark"],u:"1f199",a:"0.6"},{n:["vs","squared vs"],u:"1f19a",a:"0.6"},{n:["koko","squared katakana koko"],u:"1f201",a:"0.6"},{n:["sa","squared katakana sa"],u:"1f202-fe0f",a:"0.6"},{n:["u6708","squared cjk unified ideograph-6708"],u:"1f237-fe0f",a:"0.6"},{n:["u6709","squared cjk unified ideograph-6709"],u:"1f236",a:"0.6"},{n:["u6307","squared cjk unified ideograph-6307"],u:"1f22f",a:"0.6"},{n:["ideograph advantage","circled ideograph advantage"],u:"1f250",a:"0.6"},{n:["u5272","squared cjk unified ideograph-5272"],u:"1f239",a:"0.6"},{n:["u7121","squared cjk unified ideograph-7121"],u:"1f21a",a:"0.6"},{n:["u7981","squared cjk unified ideograph-7981"],u:"1f232",a:"0.6"},{n:["accept","circled ideograph accept"],u:"1f251",a:"0.6"},{n:["u7533","squared cjk unified ideograph-7533"],u:"1f238",a:"0.6"},{n:["u5408","squared cjk unified ideograph-5408"],u:"1f234",a:"0.6"},{n:["u7a7a","squared cjk unified ideograph-7a7a"],u:"1f233",a:"0.6"},{n:["congratulations","circled ideograph congratulation"],u:"3297-fe0f",a:"0.6"},{n:["secret","circled ideograph secret"],u:"3299-fe0f",a:"0.6"},{n:["u55b6","squared cjk unified ideograph-55b6"],u:"1f23a",a:"0.6"},{n:["u6e80","squared cjk unified ideograph-6e80"],u:"1f235",a:"0.6"},{n:["red circle","large red circle"],u:"1f534",a:"0.6"},{n:["large orange circle"],u:"1f7e0",a:"12.0"},{n:["large yellow circle"],u:"1f7e1",a:"12.0"},{n:["large green circle"],u:"1f7e2",a:"12.0"},{n:["large blue circle"],u:"1f535",a:"0.6"},{n:["large purple circle"],u:"1f7e3",a:"12.0"},{n:["large brown circle"],u:"1f7e4",a:"12.0"},{n:["black circle","medium black circle"],u:"26ab",a:"0.6"},{n:["white circle","medium white circle"],u:"26aa",a:"0.6"},{n:["large red square"],u:"1f7e5",a:"12.0"},{n:["large orange square"],u:"1f7e7",a:"12.0"},{n:["large yellow square"],u:"1f7e8",a:"12.0"},{n:["large green square"],u:"1f7e9",a:"12.0"},{n:["large blue square"],u:"1f7e6",a:"12.0"},{n:["large purple square"],u:"1f7ea",a:"12.0"},{n:["large brown square"],u:"1f7eb",a:"12.0"},{n:["black large square"],u:"2b1b",a:"0.6"},{n:["white large square"],u:"2b1c",a:"0.6"},{n:["black medium square"],u:"25fc-fe0f",a:"0.6"},{n:["white medium square"],u:"25fb-fe0f",a:"0.6"},{n:["black medium small square"],u:"25fe",a:"0.6"},{n:["white medium small square"],u:"25fd",a:"0.6"},{n:["black small square"],u:"25aa-fe0f",a:"0.6"},{n:["white small square"],u:"25ab-fe0f",a:"0.6"},{n:["large orange diamond"],u:"1f536",a:"0.6"},{n:["large blue diamond"],u:"1f537",a:"0.6"},{n:["small orange diamond"],u:"1f538",a:"0.6"},{n:["small blue diamond"],u:"1f539",a:"0.6"},{n:["small red triangle","up-pointing red triangle"],u:"1f53a",a:"0.6"},{n:["small red triangle down","down-pointing red triangle"],u:"1f53b",a:"0.6"},{n:["diamond shape with a dot inside"],u:"1f4a0",a:"0.6"},{n:["radio button"],u:"1f518",a:"0.6"},{n:["white square button"],u:"1f533",a:"0.6"},{n:["black square button"],u:"1f532",a:"0.6"}],A1=[{n:["chequered flag","checkered flag"],u:"1f3c1",a:"0.6"},{n:["triangular flag on post"],u:"1f6a9",a:"0.6"},{n:["crossed flags"],u:"1f38c",a:"0.6"},{n:["waving black flag"],u:"1f3f4",a:"1.0"},{n:["white flag","waving white flag"],u:"1f3f3-fe0f",a:"0.7"},{n:["rainbow flag","rainbow-flag"],u:"1f3f3-fe0f-200d-1f308",a:"4.0"},{n:["transgender flag"],u:"1f3f3-fe0f-200d-26a7-fe0f",a:"13.0"},{n:["pirate flag"],u:"1f3f4-200d-2620-fe0f",a:"11.0"},{n:["flag-ac","ascension island flag"],u:"1f1e6-1f1e8",a:"2.0"},{n:["flag-ad","andorra flag"],u:"1f1e6-1f1e9",a:"2.0"},{n:["flag-ae","united arab emirates flag"],u:"1f1e6-1f1ea",a:"2.0"},{n:["flag-af","afghanistan flag"],u:"1f1e6-1f1eb",a:"2.0"},{n:["flag-ag","antigua & barbuda flag"],u:"1f1e6-1f1ec",a:"2.0"},{n:["flag-ai","anguilla flag"],u:"1f1e6-1f1ee",a:"2.0"},{n:["flag-al","albania flag"],u:"1f1e6-1f1f1",a:"2.0"},{n:["flag-am","armenia flag"],u:"1f1e6-1f1f2",a:"2.0"},{n:["flag-ao","angola flag"],u:"1f1e6-1f1f4",a:"2.0"},{n:["flag-aq","antarctica flag"],u:"1f1e6-1f1f6",a:"2.0"},{n:["flag-ar","argentina flag"],u:"1f1e6-1f1f7",a:"2.0"},{n:["flag-as","american samoa flag"],u:"1f1e6-1f1f8",a:"2.0"},{n:["flag-at","austria flag"],u:"1f1e6-1f1f9",a:"2.0"},{n:["flag-au","australia flag"],u:"1f1e6-1f1fa",a:"2.0"},{n:["flag-aw","aruba flag"],u:"1f1e6-1f1fc",a:"2.0"},{n:["flag-ax","åland islands flag"],u:"1f1e6-1f1fd",a:"2.0"},{n:["flag-az","azerbaijan flag"],u:"1f1e6-1f1ff",a:"2.0"},{n:["flag-ba","bosnia & herzegovina flag"],u:"1f1e7-1f1e6",a:"2.0"},{n:["flag-bb","barbados flag"],u:"1f1e7-1f1e7",a:"2.0"},{n:["flag-bd","bangladesh flag"],u:"1f1e7-1f1e9",a:"2.0"},{n:["flag-be","belgium flag"],u:"1f1e7-1f1ea",a:"2.0"},{n:["flag-bf","burkina faso flag"],u:"1f1e7-1f1eb",a:"2.0"},{n:["flag-bg","bulgaria flag"],u:"1f1e7-1f1ec",a:"2.0"},{n:["flag-bh","bahrain flag"],u:"1f1e7-1f1ed",a:"2.0"},{n:["flag-bi","burundi flag"],u:"1f1e7-1f1ee",a:"2.0"},{n:["flag-bj","benin flag"],u:"1f1e7-1f1ef",a:"2.0"},{n:["flag-bl","st. barthélemy flag"],u:"1f1e7-1f1f1",a:"2.0"},{n:["flag-bm","bermuda flag"],u:"1f1e7-1f1f2",a:"2.0"},{n:["flag-bn","brunei flag"],u:"1f1e7-1f1f3",a:"2.0"},{n:["flag-bo","bolivia flag"],u:"1f1e7-1f1f4",a:"2.0"},{n:["flag-bq","caribbean netherlands flag"],u:"1f1e7-1f1f6",a:"2.0"},{n:["flag-br","brazil flag"],u:"1f1e7-1f1f7",a:"2.0"},{n:["flag-bs","bahamas flag"],u:"1f1e7-1f1f8",a:"2.0"},{n:["flag-bt","bhutan flag"],u:"1f1e7-1f1f9",a:"2.0"},{n:["flag-bv","bouvet island flag"],u:"1f1e7-1f1fb",a:"2.0"},{n:["flag-bw","botswana flag"],u:"1f1e7-1f1fc",a:"2.0"},{n:["flag-by","belarus flag"],u:"1f1e7-1f1fe",a:"2.0"},{n:["flag-bz","belize flag"],u:"1f1e7-1f1ff",a:"2.0"},{n:["flag-ca","canada flag"],u:"1f1e8-1f1e6",a:"2.0"},{n:["flag-cc","cocos (keeling) islands flag"],u:"1f1e8-1f1e8",a:"2.0"},{n:["flag-cd","congo - kinshasa flag"],u:"1f1e8-1f1e9",a:"2.0"},{n:["flag-cf","central african republic flag"],u:"1f1e8-1f1eb",a:"2.0"},{n:["flag-cg","congo - brazzaville flag"],u:"1f1e8-1f1ec",a:"2.0"},{n:["flag-ch","switzerland flag"],u:"1f1e8-1f1ed",a:"2.0"},{n:["flag-ci","côte d’ivoire flag"],u:"1f1e8-1f1ee",a:"2.0"},{n:["flag-ck","cook islands flag"],u:"1f1e8-1f1f0",a:"2.0"},{n:["flag-cl","chile flag"],u:"1f1e8-1f1f1",a:"2.0"},{n:["flag-cm","cameroon flag"],u:"1f1e8-1f1f2",a:"2.0"},{n:["cn","flag-cn","china flag"],u:"1f1e8-1f1f3",a:"0.6"},{n:["flag-co","colombia flag"],u:"1f1e8-1f1f4",a:"2.0"},{n:["flag-cp","clipperton island flag"],u:"1f1e8-1f1f5",a:"2.0"},{n:["flag-cr","costa rica flag"],u:"1f1e8-1f1f7",a:"2.0"},{n:["flag-cu","cuba flag"],u:"1f1e8-1f1fa",a:"2.0"},{n:["flag-cv","cape verde flag"],u:"1f1e8-1f1fb",a:"2.0"},{n:["flag-cw","curaçao flag"],u:"1f1e8-1f1fc",a:"2.0"},{n:["flag-cx","christmas island flag"],u:"1f1e8-1f1fd",a:"2.0"},{n:["flag-cy","cyprus flag"],u:"1f1e8-1f1fe",a:"2.0"},{n:["flag-cz","czechia flag"],u:"1f1e8-1f1ff",a:"2.0"},{n:["de","flag-de","germany flag"],u:"1f1e9-1f1ea",a:"0.6"},{n:["flag-dg","diego garcia flag"],u:"1f1e9-1f1ec",a:"2.0"},{n:["flag-dj","djibouti flag"],u:"1f1e9-1f1ef",a:"2.0"},{n:["flag-dk","denmark flag"],u:"1f1e9-1f1f0",a:"2.0"},{n:["flag-dm","dominica flag"],u:"1f1e9-1f1f2",a:"2.0"},{n:["flag-do","dominican republic flag"],u:"1f1e9-1f1f4",a:"2.0"},{n:["flag-dz","algeria flag"],u:"1f1e9-1f1ff",a:"2.0"},{n:["flag-ea","ceuta & melilla flag"],u:"1f1ea-1f1e6",a:"2.0"},{n:["flag-ec","ecuador flag"],u:"1f1ea-1f1e8",a:"2.0"},{n:["flag-ee","estonia flag"],u:"1f1ea-1f1ea",a:"2.0"},{n:["flag-eg","egypt flag"],u:"1f1ea-1f1ec",a:"2.0"},{n:["flag-eh","western sahara flag"],u:"1f1ea-1f1ed",a:"2.0"},{n:["flag-er","eritrea flag"],u:"1f1ea-1f1f7",a:"2.0"},{n:["es","flag-es","spain flag"],u:"1f1ea-1f1f8",a:"0.6"},{n:["flag-et","ethiopia flag"],u:"1f1ea-1f1f9",a:"2.0"},{n:["flag-eu","european union flag"],u:"1f1ea-1f1fa",a:"2.0"},{n:["flag-fi","finland flag"],u:"1f1eb-1f1ee",a:"2.0"},{n:["flag-fj","fiji flag"],u:"1f1eb-1f1ef",a:"2.0"},{n:["flag-fk","falkland islands flag"],u:"1f1eb-1f1f0",a:"2.0"},{n:["flag-fm","micronesia flag"],u:"1f1eb-1f1f2",a:"2.0"},{n:["flag-fo","faroe islands flag"],u:"1f1eb-1f1f4",a:"2.0"},{n:["fr","flag-fr","france flag"],u:"1f1eb-1f1f7",a:"0.6"},{n:["flag-ga","gabon flag"],u:"1f1ec-1f1e6",a:"2.0"},{n:["gb","uk","flag-gb","united kingdom flag"],u:"1f1ec-1f1e7",a:"0.6"},{n:["flag-gd","grenada flag"],u:"1f1ec-1f1e9",a:"2.0"},{n:["flag-ge","georgia flag"],u:"1f1ec-1f1ea",a:"2.0"},{n:["flag-gf","french guiana flag"],u:"1f1ec-1f1eb",a:"2.0"},{n:["flag-gg","guernsey flag"],u:"1f1ec-1f1ec",a:"2.0"},{n:["flag-gh","ghana flag"],u:"1f1ec-1f1ed",a:"2.0"},{n:["flag-gi","gibraltar flag"],u:"1f1ec-1f1ee",a:"2.0"},{n:["flag-gl","greenland flag"],u:"1f1ec-1f1f1",a:"2.0"},{n:["flag-gm","gambia flag"],u:"1f1ec-1f1f2",a:"2.0"},{n:["flag-gn","guinea flag"],u:"1f1ec-1f1f3",a:"2.0"},{n:["flag-gp","guadeloupe flag"],u:"1f1ec-1f1f5",a:"2.0"},{n:["flag-gq","equatorial guinea flag"],u:"1f1ec-1f1f6",a:"2.0"},{n:["flag-gr","greece flag"],u:"1f1ec-1f1f7",a:"2.0"},{n:["flag-gs","south georgia & south sandwich islands flag"],u:"1f1ec-1f1f8",a:"2.0"},{n:["flag-gt","guatemala flag"],u:"1f1ec-1f1f9",a:"2.0"},{n:["flag-gu","guam flag"],u:"1f1ec-1f1fa",a:"2.0"},{n:["flag-gw","guinea-bissau flag"],u:"1f1ec-1f1fc",a:"2.0"},{n:["flag-gy","guyana flag"],u:"1f1ec-1f1fe",a:"2.0"},{n:["flag-hk","hong kong sar china flag"],u:"1f1ed-1f1f0",a:"2.0"},{n:["flag-hm","heard & mcdonald islands flag"],u:"1f1ed-1f1f2",a:"2.0"},{n:["flag-hn","honduras flag"],u:"1f1ed-1f1f3",a:"2.0"},{n:["flag-hr","croatia flag"],u:"1f1ed-1f1f7",a:"2.0"},{n:["flag-ht","haiti flag"],u:"1f1ed-1f1f9",a:"2.0"},{n:["flag-hu","hungary flag"],u:"1f1ed-1f1fa",a:"2.0"},{n:["flag-ic","canary islands flag"],u:"1f1ee-1f1e8",a:"2.0"},{n:["flag-id","indonesia flag"],u:"1f1ee-1f1e9",a:"2.0"},{n:["flag-ie","ireland flag"],u:"1f1ee-1f1ea",a:"2.0"},{n:["flag-il","israel flag"],u:"1f1ee-1f1f1",a:"2.0"},{n:["flag-im","isle of man flag"],u:"1f1ee-1f1f2",a:"2.0"},{n:["flag-in","india flag"],u:"1f1ee-1f1f3",a:"2.0"},{n:["flag-io","british indian ocean territory flag"],u:"1f1ee-1f1f4",a:"2.0"},{n:["flag-iq","iraq flag"],u:"1f1ee-1f1f6",a:"2.0"},{n:["flag-ir","iran flag"],u:"1f1ee-1f1f7",a:"2.0"},{n:["flag-is","iceland flag"],u:"1f1ee-1f1f8",a:"2.0"},{n:["it","flag-it","italy flag"],u:"1f1ee-1f1f9",a:"0.6"},{n:["flag-je","jersey flag"],u:"1f1ef-1f1ea",a:"2.0"},{n:["flag-jm","jamaica flag"],u:"1f1ef-1f1f2",a:"2.0"},{n:["flag-jo","jordan flag"],u:"1f1ef-1f1f4",a:"2.0"},{n:["jp","flag-jp","japan flag"],u:"1f1ef-1f1f5",a:"0.6"},{n:["flag-ke","kenya flag"],u:"1f1f0-1f1ea",a:"2.0"},{n:["flag-kg","kyrgyzstan flag"],u:"1f1f0-1f1ec",a:"2.0"},{n:["flag-kh","cambodia flag"],u:"1f1f0-1f1ed",a:"2.0"},{n:["flag-ki","kiribati flag"],u:"1f1f0-1f1ee",a:"2.0"},{n:["flag-km","comoros flag"],u:"1f1f0-1f1f2",a:"2.0"},{n:["flag-kn","st. kitts & nevis flag"],u:"1f1f0-1f1f3",a:"2.0"},{n:["flag-kp","north korea flag"],u:"1f1f0-1f1f5",a:"2.0"},{n:["kr","flag-kr","south korea flag"],u:"1f1f0-1f1f7",a:"0.6"},{n:["flag-kw","kuwait flag"],u:"1f1f0-1f1fc",a:"2.0"},{n:["flag-ky","cayman islands flag"],u:"1f1f0-1f1fe",a:"2.0"},{n:["flag-kz","kazakhstan flag"],u:"1f1f0-1f1ff",a:"2.0"},{n:["flag-la","laos flag"],u:"1f1f1-1f1e6",a:"2.0"},{n:["flag-lb","lebanon flag"],u:"1f1f1-1f1e7",a:"2.0"},{n:["flag-lc","st. lucia flag"],u:"1f1f1-1f1e8",a:"2.0"},{n:["flag-li","liechtenstein flag"],u:"1f1f1-1f1ee",a:"2.0"},{n:["flag-lk","sri lanka flag"],u:"1f1f1-1f1f0",a:"2.0"},{n:["flag-lr","liberia flag"],u:"1f1f1-1f1f7",a:"2.0"},{n:["flag-ls","lesotho flag"],u:"1f1f1-1f1f8",a:"2.0"},{n:["flag-lt","lithuania flag"],u:"1f1f1-1f1f9",a:"2.0"},{n:["flag-lu","luxembourg flag"],u:"1f1f1-1f1fa",a:"2.0"},{n:["flag-lv","latvia flag"],u:"1f1f1-1f1fb",a:"2.0"},{n:["flag-ly","libya flag"],u:"1f1f1-1f1fe",a:"2.0"},{n:["flag-ma","morocco flag"],u:"1f1f2-1f1e6",a:"2.0"},{n:["flag-mc","monaco flag"],u:"1f1f2-1f1e8",a:"2.0"},{n:["flag-md","moldova flag"],u:"1f1f2-1f1e9",a:"2.0"},{n:["flag-me","montenegro flag"],u:"1f1f2-1f1ea",a:"2.0"},{n:["flag-mf","st. martin flag"],u:"1f1f2-1f1eb",a:"2.0"},{n:["flag-mg","madagascar flag"],u:"1f1f2-1f1ec",a:"2.0"},{n:["flag-mh","marshall islands flag"],u:"1f1f2-1f1ed",a:"2.0"},{n:["flag-mk","north macedonia flag"],u:"1f1f2-1f1f0",a:"2.0"},{n:["flag-ml","mali flag"],u:"1f1f2-1f1f1",a:"2.0"},{n:["flag-mm","myanmar (burma) flag"],u:"1f1f2-1f1f2",a:"2.0"},{n:["flag-mn","mongolia flag"],u:"1f1f2-1f1f3",a:"2.0"},{n:["flag-mo","macao sar china flag"],u:"1f1f2-1f1f4",a:"2.0"},{n:["flag-mp","northern mariana islands flag"],u:"1f1f2-1f1f5",a:"2.0"},{n:["flag-mq","martinique flag"],u:"1f1f2-1f1f6",a:"2.0"},{n:["flag-mr","mauritania flag"],u:"1f1f2-1f1f7",a:"2.0"},{n:["flag-ms","montserrat flag"],u:"1f1f2-1f1f8",a:"2.0"},{n:["flag-mt","malta flag"],u:"1f1f2-1f1f9",a:"2.0"},{n:["flag-mu","mauritius flag"],u:"1f1f2-1f1fa",a:"2.0"},{n:["flag-mv","maldives flag"],u:"1f1f2-1f1fb",a:"2.0"},{n:["flag-mw","malawi flag"],u:"1f1f2-1f1fc",a:"2.0"},{n:["flag-mx","mexico flag"],u:"1f1f2-1f1fd",a:"2.0"},{n:["flag-my","malaysia flag"],u:"1f1f2-1f1fe",a:"2.0"},{n:["flag-mz","mozambique flag"],u:"1f1f2-1f1ff",a:"2.0"},{n:["flag-na","namibia flag"],u:"1f1f3-1f1e6",a:"2.0"},{n:["flag-nc","new caledonia flag"],u:"1f1f3-1f1e8",a:"2.0"},{n:["flag-ne","niger flag"],u:"1f1f3-1f1ea",a:"2.0"},{n:["flag-nf","norfolk island flag"],u:"1f1f3-1f1eb",a:"2.0"},{n:["flag-ng","nigeria flag"],u:"1f1f3-1f1ec",a:"2.0"},{n:["flag-ni","nicaragua flag"],u:"1f1f3-1f1ee",a:"2.0"},{n:["flag-nl","netherlands flag"],u:"1f1f3-1f1f1",a:"2.0"},{n:["flag-no","norway flag"],u:"1f1f3-1f1f4",a:"2.0"},{n:["flag-np","nepal flag"],u:"1f1f3-1f1f5",a:"2.0"},{n:["flag-nr","nauru flag"],u:"1f1f3-1f1f7",a:"2.0"},{n:["flag-nu","niue flag"],u:"1f1f3-1f1fa",a:"2.0"},{n:["flag-nz","new zealand flag"],u:"1f1f3-1f1ff",a:"2.0"},{n:["flag-om","oman flag"],u:"1f1f4-1f1f2",a:"2.0"},{n:["flag-pa","panama flag"],u:"1f1f5-1f1e6",a:"2.0"},{n:["flag-pe","peru flag"],u:"1f1f5-1f1ea",a:"2.0"},{n:["flag-pf","french polynesia flag"],u:"1f1f5-1f1eb",a:"2.0"},{n:["flag-pg","papua new guinea flag"],u:"1f1f5-1f1ec",a:"2.0"},{n:["flag-ph","philippines flag"],u:"1f1f5-1f1ed",a:"2.0"},{n:["flag-pk","pakistan flag"],u:"1f1f5-1f1f0",a:"2.0"},{n:["flag-pl","poland flag"],u:"1f1f5-1f1f1",a:"2.0"},{n:["flag-pm","st. pierre & miquelon flag"],u:"1f1f5-1f1f2",a:"2.0"},{n:["flag-pn","pitcairn islands flag"],u:"1f1f5-1f1f3",a:"2.0"},{n:["flag-pr","puerto rico flag"],u:"1f1f5-1f1f7",a:"2.0"},{n:["flag-ps","palestinian territories flag"],u:"1f1f5-1f1f8",a:"2.0"},{n:["flag-pt","portugal flag"],u:"1f1f5-1f1f9",a:"2.0"},{n:["flag-pw","palau flag"],u:"1f1f5-1f1fc",a:"2.0"},{n:["flag-py","paraguay flag"],u:"1f1f5-1f1fe",a:"2.0"},{n:["flag-qa","qatar flag"],u:"1f1f6-1f1e6",a:"2.0"},{n:["flag-re","réunion flag"],u:"1f1f7-1f1ea",a:"2.0"},{n:["flag-ro","romania flag"],u:"1f1f7-1f1f4",a:"2.0"},{n:["flag-rs","serbia flag"],u:"1f1f7-1f1f8",a:"2.0"},{n:["ru","flag-ru","russia flag"],u:"1f1f7-1f1fa",a:"0.6"},{n:["flag-rw","rwanda flag"],u:"1f1f7-1f1fc",a:"2.0"},{n:["flag-sa","saudi arabia flag"],u:"1f1f8-1f1e6",a:"2.0"},{n:["flag-sb","solomon islands flag"],u:"1f1f8-1f1e7",a:"2.0"},{n:["flag-sc","seychelles flag"],u:"1f1f8-1f1e8",a:"2.0"},{n:["flag-sd","sudan flag"],u:"1f1f8-1f1e9",a:"2.0"},{n:["flag-se","sweden flag"],u:"1f1f8-1f1ea",a:"2.0"},{n:["flag-sg","singapore flag"],u:"1f1f8-1f1ec",a:"2.0"},{n:["flag-sh","st. helena flag"],u:"1f1f8-1f1ed",a:"2.0"},{n:["flag-si","slovenia flag"],u:"1f1f8-1f1ee",a:"2.0"},{n:["flag-sj","svalbard & jan mayen flag"],u:"1f1f8-1f1ef",a:"2.0"},{n:["flag-sk","slovakia flag"],u:"1f1f8-1f1f0",a:"2.0"},{n:["flag-sl","sierra leone flag"],u:"1f1f8-1f1f1",a:"2.0"},{n:["flag-sm","san marino flag"],u:"1f1f8-1f1f2",a:"2.0"},{n:["flag-sn","senegal flag"],u:"1f1f8-1f1f3",a:"2.0"},{n:["flag-so","somalia flag"],u:"1f1f8-1f1f4",a:"2.0"},{n:["flag-sr","suriname flag"],u:"1f1f8-1f1f7",a:"2.0"},{n:["flag-ss","south sudan flag"],u:"1f1f8-1f1f8",a:"2.0"},{n:["flag-st","são tomé & príncipe flag"],u:"1f1f8-1f1f9",a:"2.0"},{n:["flag-sv","el salvador flag"],u:"1f1f8-1f1fb",a:"2.0"},{n:["flag-sx","sint maarten flag"],u:"1f1f8-1f1fd",a:"2.0"},{n:["flag-sy","syria flag"],u:"1f1f8-1f1fe",a:"2.0"},{n:["flag-sz","eswatini flag"],u:"1f1f8-1f1ff",a:"2.0"},{n:["flag-ta","tristan da cunha flag"],u:"1f1f9-1f1e6",a:"2.0"},{n:["flag-tc","turks & caicos islands flag"],u:"1f1f9-1f1e8",a:"2.0"},{n:["flag-td","chad flag"],u:"1f1f9-1f1e9",a:"2.0"},{n:["flag-tf","french southern territories flag"],u:"1f1f9-1f1eb",a:"2.0"},{n:["flag-tg","togo flag"],u:"1f1f9-1f1ec",a:"2.0"},{n:["flag-th","thailand flag"],u:"1f1f9-1f1ed",a:"2.0"},{n:["flag-tj","tajikistan flag"],u:"1f1f9-1f1ef",a:"2.0"},{n:["flag-tk","tokelau flag"],u:"1f1f9-1f1f0",a:"2.0"},{n:["flag-tl","timor-leste flag"],u:"1f1f9-1f1f1",a:"2.0"},{n:["flag-tm","turkmenistan flag"],u:"1f1f9-1f1f2",a:"2.0"},{n:["flag-tn","tunisia flag"],u:"1f1f9-1f1f3",a:"2.0"},{n:["flag-to","tonga flag"],u:"1f1f9-1f1f4",a:"2.0"},{n:["flag-tr","turkey flag"],u:"1f1f9-1f1f7",a:"2.0"},{n:["flag-tt","trinidad & tobago flag"],u:"1f1f9-1f1f9",a:"2.0"},{n:["flag-tv","tuvalu flag"],u:"1f1f9-1f1fb",a:"2.0"},{n:["flag-tw","taiwan flag"],u:"1f1f9-1f1fc",a:"2.0"},{n:["flag-tz","tanzania flag"],u:"1f1f9-1f1ff",a:"2.0"},{n:["flag-ua","ukraine flag"],u:"1f1fa-1f1e6",a:"2.0"},{n:["flag-ug","uganda flag"],u:"1f1fa-1f1ec",a:"2.0"},{n:["flag-um","u.s. outlying islands flag"],u:"1f1fa-1f1f2",a:"2.0"},{n:["flag-un","united nations flag"],u:"1f1fa-1f1f3",a:"4.0"},{n:["us","flag-us","united states flag"],u:"1f1fa-1f1f8",a:"0.6"},{n:["flag-uy","uruguay flag"],u:"1f1fa-1f1fe",a:"2.0"},{n:["flag-uz","uzbekistan flag"],u:"1f1fa-1f1ff",a:"2.0"},{n:["flag-va","vatican city flag"],u:"1f1fb-1f1e6",a:"2.0"},{n:["flag-vc","st. vincent & grenadines flag"],u:"1f1fb-1f1e8",a:"2.0"},{n:["flag-ve","venezuela flag"],u:"1f1fb-1f1ea",a:"2.0"},{n:["flag-vg","british virgin islands flag"],u:"1f1fb-1f1ec",a:"2.0"},{n:["flag-vi","u.s. virgin islands flag"],u:"1f1fb-1f1ee",a:"2.0"},{n:["flag-vn","vietnam flag"],u:"1f1fb-1f1f3",a:"2.0"},{n:["flag-vu","vanuatu flag"],u:"1f1fb-1f1fa",a:"2.0"},{n:["flag-wf","wallis & futuna flag"],u:"1f1fc-1f1eb",a:"2.0"},{n:["flag-ws","samoa flag"],u:"1f1fc-1f1f8",a:"2.0"},{n:["flag-xk","kosovo flag"],u:"1f1fd-1f1f0",a:"2.0"},{n:["flag-ye","yemen flag"],u:"1f1fe-1f1ea",a:"2.0"},{n:["flag-yt","mayotte flag"],u:"1f1fe-1f1f9",a:"2.0"},{n:["flag-za","south africa flag"],u:"1f1ff-1f1e6",a:"2.0"},{n:["flag-zm","zambia flag"],u:"1f1ff-1f1f2",a:"2.0"},{n:["flag-zw","zimbabwe flag"],u:"1f1ff-1f1fc",a:"2.0"},{n:["england flag","flag-england"],u:"1f3f4-e0067-e0062-e0065-e006e-e0067-e007f",a:"5.0"},{n:["scotland flag","flag-scotland"],u:"1f3f4-e0067-e0062-e0073-e0063-e0074-e007f",a:"5.0"},{n:["wales flag","flag-wales"],u:"1f3f4-e0067-e0062-e0077-e006c-e0073-e007f",a:"5.0"}],rf={custom:j1,smileys_people:C1,animals_nature:x1,food_drink:S1,travel_places:R1,activities:z1,objects:P1,symbols:T1,flags:A1},bf=[_.NEUTRAL,_.LIGHT,_.MEDIUM_LIGHT,_.MEDIUM,_.MEDIUM_DARK,_.DARK],M1=Object.entries(_).reduce(function(f,e){var a=e[0],n=e[1];return f[n]=a,f},{}),D1=bf.reduce(function(f,e){var a;return Object.assign(f,(a={},a[e]=e,a))},{}),A;(function(f){f.name="n",f.unified="u",f.variations="v",f.added_in="a",f.imgUrl="imgUrl"})(A||(A={}));var ef={};setTimeout(function(){kf.reduce(function(f,e){return ke(e),f},ef)});function ke(f){var e=uf(f).flat().join("").toLowerCase().replace(/[^a-zA-Z\d]/g,"").split("");e.forEach(function(a){var n;ef[a]=(n=ef[a])!=null?n:{},ef[a][C(f)]=f})}function uf(f){var e;return(e=f[A.name])!=null?e:[]}function L1(f){return parseFloat(f[A.added_in])}function Tf(f){return f?uf(f)[0]:""}function Of(f){var e=f.split("-"),a=e.splice(1,1),n=a[0];return D1[n]?e.join("-"):f}function C(f,e){var a,n=f[A.unified];return!e||!Y(f)?n:(a=O1(f,e))!=null?a:n}function _1(f){var e;return(e=rf==null?void 0:rf[f])!=null?e:[]}function we(f,e){return""+E1(e)+f+".png"}function lf(f){var e;return(e=f[A.variations])!=null?e:[]}function Y(f){return lf(f).length>0}function O1(f,e){return e?lf(f).find(function(a){return a.includes(e)}):C(f)}function of(f){if(f){if($[f])return $[f];var e=Of(f);return $[e]}}var kf=Object.values(rf).flat();function F1(f){rf[m.CUSTOM].length=0,f.forEach(function(e){var a=B1(e);rf[m.CUSTOM].push(a),!$[a[A.unified]]&&(kf.push(a),$[a[A.unified]]=a,ke(a))})}function B1(f){var e;return e={},e[A.name]=f.names.map(function(a){return a.toLowerCase()}),e[A.unified]=f.id.toLowerCase(),e[A.added_in]="0",e[A.imgUrl]=f.imgUrl,e}var $={};setTimeout(function(){kf.reduce(function(f,e){return f[C(e)]=e,Y(e)&&lf(e).forEach(function(a){f[a]=e}),f},$)});function I1(f){var e=f.split("-"),a=e[1];return bf.includes(a)?a:null}var U1=["2640-fe0f","2642-fe0f","2695-fe0f"],mf="Search",N1="No results found",ye=" found. Use up and down arrow keys to navigate.",V1="1 result"+ye,q1="%n results"+ye;function Xf(f){var e,a;f===void 0&&(f={});var n=Ee(),r=Object.assign(n.previewConfig,(e=f.previewConfig)!=null?e:{}),i=Object.assign(n,f),t=h1(f.categories,{suggestionMode:i.suggestedEmojisMode});F1((a=i.customEmojis)!=null?a:[]);var d=i.searchDisabled?K.PREVIEW:i.skinTonePickerLocation;return B({},i,{categories:t,previewConfig:r,skinTonePickerLocation:d})}function Ee(){return{autoFocusSearch:!0,categories:he(),customEmojis:[],defaultSkinTone:_.NEUTRAL,emojiStyle:S.APPLE,emojiVersion:null,getEmojiUrl:we,height:450,lazyLoadEmojis:!1,previewConfig:B({},H1),searchDisabled:!1,searchPlaceHolder:mf,searchPlaceholder:mf,skinTonePickerLocation:K.SEARCH,skinTonesDisabled:!1,suggestedEmojisMode:af.FREQUENT,theme:nf.LIGHT,unicodeToHide:new Set(U1),width:350}}var H1={defaultEmoji:"1f60a",defaultCaption:"What's your mood?",showPreview:!0},$1=["children"],je=o.createContext(Ee());function G1(f){var e=f.children,a=s1(f,$1),n=K1(a);return o.createElement(je.Provider,{value:n},e)}function K1(f){var e,a=o.useState(function(){return Xf(f)}),n=a[0],r=a[1];return o.useEffect(function(){var i,t;((i=f.customEmojis)==null?void 0:i.length)!==((t=n.customEmojis)==null?void 0:t.length)&&r(Xf(f))},[(e=f.customEmojis)==null?void 0:e.length]),n}function E(){return o.useContext(je)}var Ce=gf.createContext({});function W1(){var f=gf.useContext(Ce);return f}function Y1(f){var e=gf.useRef({onEmojiClick:f.onEmojiClick||fe});return gf.useEffect(function(){e.current.onEmojiClick=f.onEmojiClick||fe},[f.onEmojiClick]),e}function fe(){}function J1(){var f,e=E(),a=e.searchPlaceHolder,n=e.searchPlaceholder;return(f=[a,n].find(function(r){return r!==mf}))!=null?f:mf}function Z1(){var f=E(),e=f.defaultSkinTone;return e}function xe(){var f=E(),e=f.skinTonesDisabled;return e}function J(){var f=E(),e=f.emojiStyle;return e}function Q1(){var f=E(),e=f.autoFocusSearch;return e}function Se(){var f=E(),e=f.categories;return e}function X1(){var f=E(),e=f.customEmojis;return e}function fa(){var f=W1(),e=f.current;return e.onEmojiClick||function(){}}function Re(){var f=E(),e=f.previewConfig;return e}function ea(){var f=E(),e=f.theme;return e}function aa(){var f=E(),e=f.suggestedEmojisMode;return e}function na(){var f=E(),e=f.lazyLoadEmojis;return e}function ra(){var f=E(),e=f.height,a=f.width;return{height:ee(e),width:ee(a)}}function ia(){var f=E(),e=f.emojiVersion;return e}function ze(){var f=E(),e=f.searchDisabled;return e}function Pe(){var f=E(),e=f.skinTonePickerLocation;return e}function oa(){var f=E(),e=f.unicodeToHide;return e}function Z(){var f=E(),e=f.getEmojiUrl;return e}function ee(f){return typeof f=="number"?f+"px":f}function ta(f){var e=f>0,a=f>1;return e?a?q1.replace("%n",f.toString()):V1:N1}function ae(f,e){e===void 0&&(e=0);var a=o.useState(f),n=a[0],r=a[1],i=o.useRef(null);function t(d){return new Promise(function(c){var l;i.current&&clearTimeout(i.current),i.current=(l=window)==null?void 0:l.setTimeout(function(){r(d),c(d)},e)})}return[n,t]}function da(){var f=oa();return function(e){return f.has(e)}}function Te(){var f=o.useRef({}),e=ia();return o.useMemo(function(){var a=parseFloat(""+e);return!e||Number.isNaN(a)?f.current:kf.reduce(function(n,r){return ua(r,a)&&(n[C(r)]=!0),n},f.current)},[e])}function ca(){var f=Te(),e=da();return function(n){var r=Of(C(n));return!!(f[r]||e(r))}}function ua(f,e){return L1(f)>e}function la(f){o.useEffect(function(){f(!0)},[f])}function sa(f){var e=f.children,a=Te(),n=Z1(),r=o.useRef(ef),i=o.useRef(!1),t=o.useRef(!1),d=o.useRef(a),c=ae(Date.now(),200),l=ae("",100),u=o.useState(!1),s=o.useState(n),g=o.useState(null),p=o.useState(new Set),y=o.useState(null),v=o.useState(!1),w=v[0],h=v[1];return la(h),o.createElement(F.Provider,{value:{activeCategoryState:g,activeSkinTone:s,disallowClickRef:i,disallowMouseRef:t,disallowedEmojisRef:d,emojiVariationPickerState:y,emojisThatFailedToLoadState:p,filterRef:r,isPastInitialLoad:w,searchTerm:l,skinToneFanOpenState:u,suggestedUpdateState:c}},e)}var F=o.createContext({activeCategoryState:[null,function(){}],activeSkinTone:[_.NEUTRAL,function(){}],disallowClickRef:{current:!1},disallowMouseRef:{current:!1},disallowedEmojisRef:{current:{}},emojiVariationPickerState:[null,function(){}],emojisThatFailedToLoadState:[new Set,function(){}],filterRef:{current:{}},isPastInitialLoad:!0,searchTerm:["",function(){return new Promise(function(){})}],skinToneFanOpenState:[!1,function(){}],suggestedUpdateState:[Date.now(),function(){}]});function Ff(){var f=o.useContext(F),e=f.filterRef;return e}function ga(){var f=o.useContext(F),e=f.disallowClickRef;return e}function Bf(){var f=o.useContext(F),e=f.disallowMouseRef;return e}function wf(){var f=o.useContext(F),e=f.searchTerm;return e}function If(){var f=o.useContext(F),e=f.activeSkinTone;return e}function Ae(){var f=o.useContext(F),e=f.emojisThatFailedToLoadState;return e}function ba(){var f=o.useContext(F),e=f.isPastInitialLoad;return e}function Q(){var f=o.useContext(F),e=f.emojiVariationPickerState;return e}function sf(){var f=o.useContext(F),e=f.skinToneFanOpenState;return e}function Me(){var f=o.useContext(F),e=f.suggestedUpdateState,a=e[0],n=e[1];return[a,function(){n(Date.now())}]}function ma(){var f=Bf();return function(){f.current=!0}}function De(){var f=Bf();return function(){f.current=!1}}function Le(){var f=Bf();return function(){return f.current}}function pa(){var f=M(),e=De(),a=Le();o.useEffect(function(){var n=f.current;n==null||n.addEventListener("mousemove",r,{passive:!0});function r(){a()&&e()}return function(){n==null||n.removeEventListener("mousemove",r)}},[f,e,a])}function _e(f,e){if(!f||!e)return 0;var a=f.getBoundingClientRect().width,n=e.getBoundingClientRect().width;return Math.floor(a/n)}function Oe(f,e){if(!f||!e)return 0;var a=e.getBoundingClientRect().width,n=e.getBoundingClientRect().left,r=f.getBoundingClientRect().left;return Math.floor((n-r)/a)}function Fe(f,e){if(!f||!e)return 0;var a=e.getBoundingClientRect().height,n=e.getBoundingClientRect().top,r=f.getBoundingClientRect().top;return Math.round((n-r)/a)}function ha(f,e){if(!f||!e)return!1;var a=e.getBoundingClientRect().height,n=e.getBoundingClientRect().top,r=f.getBoundingClientRect().top,i=f.getBoundingClientRect().height;return Math.round(n-r+a)f.length?[]:Uf(f,n,a)}function Be(f,e,a,n){var r=Uf(f,e,a);return r[n]||r[r.length-1]||null}function ka(f,e,a,n){var r=va(f,e,a);return r[n]||r[r.length-1]||null}function wa(f,e,a,n){var r=Uf(f,e-1,a);return r[n]||r[r.length-1]||null}function ya(f,e){if(!f||!e.length)return null;var a=f.getBoundingClientRect().top,n=f.getBoundingClientRect().bottom,r=e.find(function(i){var t=i.getBoundingClientRect().top,d=i.getBoundingClientRect().bottom;return t>=a&&t<=n||d>=a&&d<=n});return r||null}function Ea(f){return!!f.nextElementSibling}var pf="button"+x(b.emoji),ja=[pf,x(b.visible),":not("+x(b.hidden)+")"].join("");function O(f){var e;return(e=f==null?void 0:f.closest(pf))!=null?e:null}function Nf(f){var e=qe(f),a=qf(f);if(!e)return[];var n=of(a!=null?a:e);return n?[n,a]:[]}function Ca(f){var e;return!!(f!=null&&f.matches(pf)||!(f==null||(e=f.parentElement)==null)&&e.matches(pf))}function ne(f){var e;return(e=f==null?void 0:f.clientHeight)!=null?e:0}function Ie(f){if(!f)return 0;var e=O(f),a=N(e),n=Vf(a);return re(e)+re(a)+n}function Vf(f){var e,a;if(!f)return 0;var n=f.querySelector(x(b.categoryContent));return((e=f==null?void 0:f.clientHeight)!=null?e:0)-((a=n==null?void 0:n.clientHeight)!=null?a:0)}function xa(f){return f?Ne(f)0?[]:_1(e);p.length>0&&n.current++;var y=0,v=p.map(function(w){var h=C(w,l),P=r(w),D=P.failedToLoad,L=P.filteredOut,I=P.hidden,X=u(w);return(I||X)&&y++,X?null:o.createElement(Wf,{showVariations:g,key:h,emoji:w,unified:h,hidden:D,hiddenOnSearch:L,emojiStyle:t,lazyLoad:i,getEmojiUrl:s})});return o.createElement(n1,{categoryConfig:a,hidden:y===v.length},v)}function xf(f){var e=Gf(f);R(e),jf(e)}function en(f){var e=Gf(f);R(e),e==null||e.click()}function an(f){R($e(f))}function nn(f){if(f){var e=Ge(f);if(!e)return xf(Ef(f));R(e),jf(e)}}function rn(f){if(f){var e=$f(f);if(!e)return an(yf(f));R(e),jf(e)}}function on(f,e){if(f){var a=dn(f);if(!a)return e();R(a),jf(a)}}function tn(f){if(f){var e=cn(f);return R(e)}}function dn(f){if(!f)return null;var e=Ke(f),a=N(e),n=Oe(e,f),r=Fe(e,f),i=_e(e,f);if(r===0){var t=yf(a);return t?Be(W(t),-1,i,n):null}return wa(W(e),r,i,n)}function cn(f){if(!f)return null;var e=Ke(f),a=N(e),n=Oe(e,f),r=Fe(e,f),i=_e(e,f);if(!ha(e,f)){var t=Ef(a);return t?Be(W(t),0,i,n):null}var d=ka(W(e),r,i,n);return d}var un=".EmojiPickerReact .epr-emoji-variation-picker{align-items:center;background:var(--epr-emoji-variation-picker-bg-color);border:1px solid var(--epr-picker-border-color);border-radius:3px;box-shadow:0 2px 5px rgba(0,0,0,.2);display:flex;height:0;height:var(--epr-emoji-variation-picker-height);justify-content:space-around;left:15px;opacity:0;padding:5px;pointer-events:none;position:absolute;right:15px;top:0;top:-100%;transform:scale(.9);transition:transform .1s ease-out,opacity .2s ease-out;visibility:hidden;z-index:var(--epr-skin-variation-picker-z-index)}.EmojiPickerReact .epr-emoji-variation-picker.pointing-up{transform:scale(.9);transform-origin:center 0}.EmojiPickerReact .epr-emoji-variation-picker.visible{opacity:1;pointer-events:all;transform:scale(1);visibility:visible}.EmojiPickerReact .epr-emoji-variation-picker .EmojiPickerReact .epr-emoji-variation-picker button.epr-emoji:hover{background:none}.EmojiPickerReact .epr-emoji-variation-picker .epr-emoji-pointer{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='15' xml:space='preserve'%3E%3Cg stroke-miterlimit='10'%3E%3Cpath fill='%23FFF' stroke='%23E8E7E7' d='m1.86-.43 9.83 11.53c.59.69 1.56.69 2.14 0L23.66-.43'/%3E%3Cpath fill='%23010202' stroke='%23151617' d='m26.86-.43 9.83 11.53c.59.69 1.56.69 2.14 0L48.66-.43'/%3E%3C/g%3E%3C/svg%3E\");background-position:0 0;background-repeat:no-repeat;background-size:50px 15px;content:\"\";height:15px;position:absolute;top:-10px;width:25px}.EmojiPickerReact.epr-dark-theme .epr-emoji-variation-picker .epr-emoji-pointer{background-position:-25px 0}@media (prefers-color-scheme:dark){.EmojiPickerReact.epr-auto-theme .epr-emoji-variation-picker .epr-emoji-pointer{background-position:-25px 0}}.EmojiPickerReact .epr-emoji-variation-picker .epr-emoji-pointer{top:100%;transform:translateX(-18px)}.EmojiPickerReact .epr-emoji-variation-picker.pointing-up .epr-emoji-pointer{top:0;transform:rotate(180deg) translateY(100%) translateX(18px)}";z(un);var G;(function(f){f[f.Up=0]="Up",f[f.Down=1]="Down"})(G||(G={}));function ln(){var f=vf(),e=u1(),a=Q(),n=a[0],r=J(),i=gn(e),t=i.getTop,d=i.getMenuDirection,c=me(),l=sn(e),u=Z(),s=O(f.current),g=n&&s&&Y(n)&&s.classList.contains(b.emojiHasVariations);o.useEffect(function(){g&&xf(e.current)},[e,g,f]);var p,y;return!g&&f.current?c(null):(p=t(),y=l()),o.createElement("div",{ref:e,className:j(b.variationPicker,{visible:g,"pointing-up":d()===G.Down}),style:{top:p}},g&&n?[C(n)].concat(lf(n)).slice(0,6).map(function(v){return o.createElement(Wf,{key:v,emoji:n,unified:v,emojiStyle:r,showVariations:!1,getEmojiUrl:u})}):null,o.createElement("div",{className:"epr-emoji-pointer",style:y}))}function sn(f){var e=vf();return function(){var n={};if(!f.current)return n;if(e.current){var r=O(e.current),i=Sa(r);if(!r)return n;n.left=i+(r==null?void 0:r.clientWidth)/2}return n}}function gn(f){var e=vf(),a=M(),n=G.Up;return{getMenuDirection:r,getTop:i};function r(){return n}function i(){n=G.Up;var t=0;if(!f.current)return 0;var d=ne(f.current);if(e.current){var c,l=a.current,u=O(e.current),s=ne(u);t=Ie(u);var g=(c=l==null?void 0:l.scrollTop)!=null?c:0;g>t-d&&(n=G.Down,t+=s+d)}return t-d}}var bn=".EmojiPickerReact .epr-body{flex:1;overflow-x:hidden;overflow-y:scroll;position:relative}";z(bn);function mn(){var f=M();return Da(f),Aa(f),pa(),o.createElement("div",{className:b.scrollBody,ref:f},o.createElement(ln,null),o.createElement(Xa,null))}function pn(f,e){var a=M(),n=Le(),r=De();o.useEffect(function(){if(!f)return;var i=a.current;i==null||i.addEventListener("keydown",c,{passive:!0}),i==null||i.addEventListener("mouseover",l,!0),i==null||i.addEventListener("focus",t,!0),i==null||i.addEventListener("mouseout",d,{passive:!0}),i==null||i.addEventListener("blur",d,!0);function t(u){var s=O(u.target);if(!s)return d();var g=qf(s),p=qe(s);if(!g||!p)return d();e({unified:g,originalUnified:p})}function d(u){if(u){var s=u.relatedTarget;if(!O(s))return e(null)}e(null)}function c(u){u.key==="Escape"&&e(null)}function l(u){if(!n()){var s=O(u.target);s&&R(s)}}return function(){i==null||i.removeEventListener("mouseover",l),i==null||i.removeEventListener("mouseout",d),i==null||i.removeEventListener("focus",t,!0),i==null||i.removeEventListener("blur",d,!0),i==null||i.removeEventListener("keydown",c)}},[a,f,e,n,r])}function Yf(){var f=Pe();return f===K.SEARCH}function r1(){var f=Pe();return f===K.PREVIEW}var hn=".EmojiPickerReact .Flex{display:flex}.EmojiPickerReact .Flex.FlexRow{flex-direction:row}.EmojiPickerReact .Flex.FlexColumn{flex-direction:column}";z(hn);var Mf;(function(f){f.ROW="FlexRow",f.COLUMN="FlexColumn"})(Mf||(Mf={}));function i1(f){var e=f.children,a=f.className,n=f.style,r=n===void 0?{}:n,i=f.direction,t=i===void 0?Mf.ROW:i;return o.createElement("div",{style:B({},r),className:j("Flex",a,t)},e)}function vn(f){var e=f.className,a=f.style,n=a===void 0?{}:a;return o.createElement("div",{style:B({flex:1},n),className:j(e)})}var kn=".EmojiPickerReact .epr-preview{align-items:center;border-top:1px solid var(--epr-preview-border-color);height:var(--epr-preview-height);padding:0 var(--epr-horizontal-padding);position:relative;z-index:1;z-index:var(--epr-preview-z-index)}.EmojiPickerReact .epr-preview .epr-preview-emoji-label{color:var(--epr-preview-text-color);font-size:var(--epr-preview-text-size);padding:var(--epr-preview-text-padding);text-transform:capitalize}";z(kn);function wn(f){var e=f.children,a=f.className,n=f.style;return o.createElement("div",{style:B({},n,{position:"absolute"}),className:a},e)}function Sf(f){var e=f.children,a=f.className,n=f.style;return o.createElement("div",{style:B({},n,{position:"relative"}),className:a},e)}var yn='.EmojiPickerReact .epr-skin-tones{--epr-skin-tone-size:15px;align-items:center;display:flex;justify-content:flex-end;padding:10px 0;transition:all .3s ease-in-out}.EmojiPickerReact .epr-skin-tones.epr-vertical{align-items:flex-end;border:1px solid var(--epr-bg-color);border-radius:6px;flex-direction:column;padding:5px}.EmojiPickerReact .epr-skin-tones.epr-vertical.epr-open{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:var(--epr-skin-tone-picker-menu-color);border:1px solid var(--epr-picker-border-color)}.EmojiPickerReact .epr-skin-tone-select{height:var(--epr-skin-tone-size);position:relative;width:var(--epr-skin-tone-size)}.EmojiPickerReact .epr-skin-tones.epr-open .epr-tone{transition:transform .3s ease-in-out,opacity .3s ease-in-out}.EmojiPickerReact .epr-skin-tones:not(.epr-open) .epr-tone{opacity:0;z-index:0}.EmojiPickerReact .epr-skin-tones .epr-tone{border-radius:4px;box-shadow:0 0 0 0 var(--epr-active-skin-hover-color);cursor:pointer;display:block;height:var(--epr-skin-tone-size);position:absolute;right:0;transition:transform .3s ease-in-out,opacity .5s ease-in-out;width:var(--epr-skin-tone-size);z-index:1}.EmojiPickerReact .epr-skin-tones .epr-tone:hover{box-shadow:0 0 0 3px var(--epr-active-skin-hover-color)}.EmojiPickerReact .epr-skin-tones .epr-tone:focus{box-shadow:0 0 0 3px var(--epr-focus-bg-color)}.EmojiPickerReact .epr-skin-tones.epr-open .epr-skin-tone-select .epr-tone.epr-active:after{border:1px solid var(--epr-active-skin-tone-indicator-border-color);border-radius:5px;bottom:-2px;content:"";left:-2px;position:absolute;right:-2px;top:-2px}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-active{opacity:1;z-index:1}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-neutral{background-color:#ffd225}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-1f3fb{background-color:#ffdfbd}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-1f3fc{background-color:#e9c197}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-1f3fd{background-color:#c88e62}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-1f3fe{background-color:#a86637}.EmojiPickerReact .epr-skin-tones .epr-tone.epr-tone-1f3ff{background-color:#60463a}';z(yn);var ff=28;function En(){return o.createElement(Sf,{style:{height:ff}},o.createElement(wn,{style:{bottom:0,right:0}},o.createElement(o1,{direction:tf.VERTICAL})))}function o1(f){var e,a=f.direction,n=a===void 0?tf.HORIZONTAL:a,r=Df(),i=xe(),t=sf(),d=t[0],c=t[1],l=If(),u=l[0],s=l[1],g=q(),p=H();if(i)return null;var y=ff*bf.length+"px",v=d?y:ff+"px",w=n===tf.VERTICAL;return o.createElement(Sf,{className:j("epr-skin-tones",n,(e={},e[b.open]=d,e)),style:w?{flexBasis:v,height:v}:{flexBasis:v}},o.createElement("div",{className:"epr-skin-tone-select",ref:r},bf.map(function(h,P){var D,L=h===u;return o.createElement(Cf,{style:{transform:j(w?"translateY(-"+P*(d?ff:0)+"px)":"translateX(-"+P*(d?ff:0)+"px)",d&&L&&"scale(1.3)")},onClick:function(){d?(s(h),p()):c(!0),g()},key:h,className:j("epr-tone-"+h,"epr-tone",(D={},D[b.active]=L,D)),tabIndex:d?0:-1,"aria-pressed":L,"aria-label":"Skin tone "+M1[h]})})))}var tf;(function(f){f.VERTICAL="epr-vertical",f.HORIZONTAL="epr-horizontal"})(tf||(tf={}));function jn(){var f=Re(),e=r1();return f.showPreview?o.createElement(i1,{className:"epr-preview"},o.createElement(Cn,null),o.createElement(vn,null),e?o.createElement(En,null):null):null}function Cn(){var f,e=Re(),a=o.useState(null),n=a[0],r=a[1],i=J(),t=Q(),d=t[0],c=Z();pn(e.showPreview,r);var l=of((f=n==null?void 0:n.unified)!=null?f:n==null?void 0:n.originalUnified),u=l!=null&&n!=null;return o.createElement(s,null);function s(){var g=d!=null?d:of(e.defaultEmoji);if(!g)return null;var p=d?Tf(d):e.defaultCaption;return o.createElement(o.Fragment,null,o.createElement("div",null,u?o.createElement(hf,{unified:n==null?void 0:n.unified,emoji:l,emojiStyle:i,size:45,getEmojiUrl:c}):g?o.createElement(hf,{unified:C(g),emoji:g,emojiStyle:i,size:45,getEmojiUrl:c}):null),u?o.createElement("div",{className:"epr-preview-emoji-label"},Tf(l)):o.createElement("div",{className:"epr-preview-emoji-label"},p))}}var xn=".EmojiPickerReact .epr-category-nav{display:flex;flex-direction:row;justify-content:space-around;padding:var(--epr-header-padding)}.EmojiPickerReact .epr-category-nav>button.epr-cat-btn{background-size:calc(var(--epr-category-navigation-button-size)*10);display:inline-block;height:var(--epr-category-navigation-button-size);outline:none;position:relative;transition:opacity .2s ease-in-out;width:var(--epr-category-navigation-button-size)}.EmojiPickerReact .epr-category-nav>button.epr-cat-btn:focus:before{border:2px solid var(--epr-category-icon-active-color);border-radius:50%;bottom:-2px;content:\"\";left:-2px;position:absolute;right:-2px;top:-2px}aside.EmojiPickerReact.epr-main:has(input:not(:-moz-placeholder-shown)) .epr-category-nav{cursor:default;opacity:.3;pointer-events:none}aside.EmojiPickerReact.epr-main:has(input:not(:placeholder-shown)) .epr-category-nav{cursor:default;opacity:.3;pointer-events:none}.EmojiPickerReact.epr-search-active .epr-category-nav{cursor:default;opacity:.3;pointer-events:none}aside.EmojiPickerReact.epr-main:has(input:not(:-moz-placeholder-shown)) .epr-category-nav>button.epr-cat-btn:hover{background-position-y:var(--epr-category-navigation-button-size);opacity:1}aside.EmojiPickerReact.epr-main:has(input:not(:placeholder-shown)) .epr-category-nav>button.epr-cat-btn:hover{background-position-y:var(--epr-category-navigation-button-size);opacity:1}.EmojiPickerReact:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn.epr-active,.EmojiPickerReact:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn:hover{background-position-y:var(--epr-category-navigation-button-size);opacity:1}.EmojiPickerReact .epr-category-nav>button.epr-cat-btn{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='80' xml:space='preserve'%3E%3Cg fill='%233371B7' stroke='%233371B7' stroke-width='.1' stroke-miterlimit='10'%3E%3Cpath d='M12.8 29.5c.6 0 1.1-.5 1.1-1.1 0-.6-.5-1.2-1.1-1.2-.6 0-1.2.5-1.2 1.2 0 .6.6 1.1 1.2 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4z'/%3E%3Cpath d='M10 23c-3.8 0-7 3.1-7 7 0 3.8 3.1 7 7 7s7-3.1 7-7c0-3.8-3.2-7-7-7zm0 13.2c-3.4 0-6.2-2.8-6.2-6.2 0-3.4 2.8-6.2 6.2-6.2s6.2 2.8 6.2 6.2c0 3.4-2.8 6.2-6.2 6.2z'/%3E%3Cpath d='M14.6 31.2c-.1-.1-.2-.2-.3-.2H5.7c-.1 0-.2.1-.3.2-.1.1-.1.2 0 .4.7 2 2.5 3.3 4.6 3.3s3.9-1.3 4.6-3.3c.1-.1.1-.3 0-.4zM10 34.1c-1.6 0-3-.9-3.7-2.2h7.3c-.6 1.3-2 2.2-3.6 2.2zm-2.8-4.6c.6 0 1.2-.5 1.2-1.1 0-.6-.5-1.2-1.2-1.2-.6 0-1.1.5-1.1 1.2 0 .6.5 1.1 1.1 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%233371B7' d='M64.1 33.4h2.3c.2 0 .4.2.4.4v2.1c0 .2-.2.4-.4.4h-2.3c-.2 0-.4-.2-.4-.4v-2.1c0-.2.1-.4.4-.4zm9.4.1h2.4c.2 0 .4.2.4.4v2c0 .2-.2.4-.4.4h-2.4c-.2 0-.4-.2-.4-.4v-2c0-.3.2-.4.4-.4zm-9.8-5.1h12.6v5H63.7v-5z'/%3E%3Cpath fill='none' stroke='%233371B7' d='M65.5 23.6h8.9c1 0 1.9.8 1.9 1.9v3.1H63.7v-3.1c0-1 .8-1.9 1.8-1.9z'/%3E%3Cellipse fill='%233371B7' cx='66.2' cy='30.9' rx='.9' ry='1'/%3E%3Cellipse fill='%233371B7' cx='73.8' cy='30.9' rx='.9' ry='1'/%3E%3Cg fill='none' stroke='%233371B7'%3E%3Cpath d='M96.4 30c0 3.6-2.9 6.5-6.4 6.5s-6.4-2.9-6.4-6.5 2.9-6.5 6.4-6.5 6.4 2.9 6.4 6.5z'/%3E%3Cpath d='M96.3 28.6v.1c-.9.1-2.9.1-4.6-1.1-1.1-.8-2-1.7-2.6-2.5-.3-.4-.6-.8-.7-1-.1-.1-.1-.1-.1-.2.5-.1 1.2-.2 2-.1 1.2 0 2.5.3 3.5 1.1s1.7 1.8 2.1 2.8c.2.2.3.6.4.9zM84 32.2v-.1c.9-.2 2.9-.4 4.7.6 1.1.7 1.9 1.5 2.4 2.3.4.5.6 1 .7 1.3-.4.1-1 .2-1.7.3-1 0-2.1-.1-3.2-.8s-1.9-1.6-2.4-2.5c-.3-.5-.4-.8-.5-1.1z'/%3E%3C/g%3E%3Cg fill='none' stroke='%233371B7'%3E%3Cpath stroke-linecap='round' d='m116.3 26.8-1.4 2-.8-.8-.6-.6v.9l-.1 8.2h-6.8l-.1-8.2v-.9l-.6.6-.8.8-1.4-2 2.6-2.9c.1-.1.2-.1.3-.1h1.3l.4.7c.7 1.3 2.6 1.3 3.3-.1l.3-.6h1.2c.1 0 .2 0 .3.1l.3-.3-.3.3 2.9 2.9z'/%3E%3Cpath d='M110.1 27.7h2v.9c0 .4-.4.7-1 .7s-1-.3-1-.7v-.9z'/%3E%3C/g%3E%3Cpath d='M126.8 34.3c0 1.2-1 2.2-2.2 2.2s-2.2-1-2.2-2.2 1-2.2 2.2-2.2 2.2 1 2.2 2.2zm10.8 0c0 1.2-1 2.2-2.2 2.2-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2c1.2 0 2.2 1 2.2 2.2zm-10.8-9.9v9.9m10.9-9.9v9.9m-10.9-10.8h10.8v2.7h-10.8v-2.7z' fill='none' stroke='%233371B7'/%3E%3Cg fill='%233371B7'%3E%3Cpath d='M170.8 23.1h-.8c-2.1 0-4 1-5.3 2.5h-.1l-.1-.1-1-1.2-.3 3.4 3.4.3-1.1-1.3-.1-.1.1-.1c1.1-1.5 3-2.3 5-2.1 3.2.3 5.5 3.1 5.2 6.3-.3 3-3.1 5.3-6.1 5.1-3.1-.2-5.4-2.9-5.3-6l-1.3-.1c-.2 3.8 2.6 7.1 6.3 7.4 3.9.3 7.3-2.6 7.6-6.5.3-3.8-2.5-7.1-6.1-7.5z'/%3E%3Cpath d='M170.3 27.4c0-.3-.3-.6-.6-.6s-.6.3-.6.6v3.2c0 .2.1.3.2.4.1.1.3.2.4.2h2.4c.4 0 .6-.3.6-.6 0-.4-.3-.6-.6-.6h-1.8v-2.6z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%233371B7' d='M186.2 23.4h7.7c1.5 0 2.7 1.2 2.7 2.7v7.7c0 1.5-1.2 2.7-2.7 2.7h-7.7c-1.5 0-2.7-1.2-2.7-2.7v-7.7c-.1-1.5 1.2-2.7 2.7-2.7z'/%3E%3Ccircle fill='%233371B7' cx='186' cy='28.9' r='.7'/%3E%3Ccircle fill='%233371B7' cx='194' cy='26.7' r='.7'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='m186 33.3.4-.3c.4-.3 1-.3 1.5-.1l1 .4c.5.2 1 .2 1.5-.1l.8-.5c.4-.3 1-.3 1.5-.1l1.8.8'/%3E%3Cpath fill='%233371B7' stroke='%233371B7' stroke-width='.25' stroke-miterlimit='10' d='M156 24.3c-.2-.1-.4-.1-.5 0 0 0-.2.1-.9.2-.7 0-2.4-.1-3.8-.6-.8-.3-1.7-.5-2.5-.5h-.5c-1.3 0-2.5.3-3.6 1-.2.1-.2.2-.2.4v11.6c0 .3.1.5.3.5.6 0 .5-.4.5-.6v-5.7c.7-.3 3.2-1.1 5.8-.1 1.6.6 3.5.7 4.3.7.8 0 1.3-.3 1.3-.3.2-.1.3-.2.3-.4v-5.7c-.3-.2-.4-.4-.5-.5zm-.4 5.9c-.1 0-.7.1-1 .1-.7 0-2.4-.1-3.8-.6-2.5-1-5-.5-6.2-.1v-4.9c.9-.5 2.2-.7 3.2-.7h.4c.7 0 1.5.2 2.2.4 1.6.6 3.5.7 4.3.7.2 0 .8 0 1-.1v5.2z'/%3E%3Cpath fill='none' stroke='%233371B7' d='M48.1 23.5h3.7c2.5 0 4.5 2 4.5 4.5 0 .5-.4.9-.9.9H44.5c-.5 0-.9-.4-.9-.9 0-2.5 2-4.5 4.5-4.5z'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='M43.5 28.8c-.2.1-.5 1.2 0 1.5 1.4 1 8.5.8 11.3.6.8-.1 1.6-.4 1.7-1.2 0-.3-.1-.6-.6-.9'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='m43.5 30.6-.2.4c-.2.5.2 1 .7.9.3-.1.5 0 .7.3l.1.2c.3.5 1 .6 1.5.2h0c.3-.2.7-.3 1-.2l.8.3c.4.2.8.1 1.2 0l.5-.2c.4-.2.9-.2 1.3 0l.5.2c.4.2.8.2 1.2 0l.2-.1c.3-.2.8-.2 1.1.1l.2.2c.3.3.8.2 1-.2l.1-.2c.1-.2 0-.3.2-.3.5 0 1.2-.3 1.1-.7l-.4-1.1'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='M43.5 32.2c-.1.2-.3.8 0 1.1.3.4 3 1.1 6.4 1.1 2.2 0 4.6-.3 6-.6.5-.1.9-.5.8-.9 0-.2-.2-.5-.4-.7'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='M43.5 33.3c0 .5.6 2.3 1.3 2.7 1.8.8 5.7.7 8.1.5 1.3-.1 2.5-.7 3.2-1.8.3-.5.5-1 .5-1.4'/%3E%3Cellipse fill='%233371B7' cx='51.6' cy='26.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%233371B7' cx='53' cy='25' rx='.3' ry='.4'/%3E%3Cellipse fill='%233371B7' cx='53' cy='27.2' rx='.3' ry='.4'/%3E%3Cellipse fill='%233371B7' cx='54.3' cy='26.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%233371B7' cx='50.9' cy='25' rx='.3' ry='.4'/%3E%3Cpath fill='none' stroke='%233371B7' d='M24.2 31v-7.6c.1.1.8.9 2.8 3.1 2.5-1.6 5.6-.7 6.9 0l2.4-3.1v7.1c0 1.2-.1 2.5-.9 3.4-1 1.2-2.7 2.5-5.3 2.5-2.9 0-4.5-1.5-5.3-2.9-.6-.6-.6-1.5-.6-2.5z'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='m21.2 30 5.4 1.2m-5.4 2.9 5.4-1.2M38.8 30l-5.4 1.2m5.4 2.9-5.4-1.2'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%233371B7' d='m29.5 32.4-.5-.7c-.2-.3 0-.6.3-.6h1.4c.3 0 .5.4.3.6l-.7 1c-.7 1.2-2.6 1.1-3.1-.3l-.1-.2c-.1-.2 0-.4.2-.5s.4 0 .5.2l.1.2c.4.7 1.2.8 1.6.3z'/%3E%3Cpath fill='none' stroke='%233371B7' stroke-linecap='round' d='m32.4 32.1-.1.2c-.4 1-1.8 1.1-2.3.2'/%3E%3Ccircle fill='%233371B7' cx='27.6' cy='29.7' r='.7'/%3E%3Ccircle fill='%233371B7' cx='32.4' cy='29.7' r='.7'/%3E%3Cg fill='%23C0C0BF' stroke='%23C0C0BF' stroke-width='.1' stroke-miterlimit='10'%3E%3Cpath d='M12.8 49.5c.6 0 1.1-.5 1.1-1.1 0-.6-.5-1.2-1.1-1.2-.6 0-1.2.5-1.2 1.2 0 .6.6 1.1 1.2 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4zm1.8 3.2c-.1-.1-.2-.2-.3-.2H5.7c-.1 0-.2.1-.3.2-.1.1-.1.2 0 .4.7 2 2.5 3.3 4.6 3.3s3.9-1.3 4.6-3.3c.1-.1.1-.3 0-.4zM10 54.1c-1.6 0-3-.9-3.7-2.2h7.3c-.6 1.3-2 2.2-3.6 2.2zm-2.8-4.6c.6 0 1.2-.5 1.2-1.1 0-.6-.5-1.2-1.2-1.2-.6 0-1.1.5-1.1 1.2 0 .6.5 1.1 1.1 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4z'/%3E%3Cpath d='M10 43c-3.8 0-7 3.1-7 7 0 3.8 3.1 7 7 7s7-3.1 7-7c0-3.8-3.2-7-7-7zm0 13.2c-3.4 0-6.2-2.8-6.2-6.2 0-3.4 2.8-6.2 6.2-6.2s6.2 2.8 6.2 6.2c0 3.4-2.8 6.2-6.2 6.2z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%23C0C0BF' d='M64.1 53.4h2.3c.2 0 .4.2.4.4v2.1c0 .2-.2.4-.4.4h-2.3c-.2 0-.4-.2-.4-.4v-2.1c0-.2.1-.4.4-.4zm9.4.1h2.4c.2 0 .4.2.4.4v2c0 .2-.2.4-.4.4h-2.4c-.2 0-.4-.2-.4-.4v-2c0-.3.2-.4.4-.4zm-9.8-5.1h12.6v5H63.7v-5z'/%3E%3Cpath fill='none' stroke='%23C0C0BF' d='M65.5 43.6h8.9c1 0 1.9.8 1.9 1.9v3.1H63.7v-3.1c0-1 .8-1.9 1.8-1.9z'/%3E%3Cellipse fill='%23C0C0BF' cx='66.2' cy='50.9' rx='.9' ry='1'/%3E%3Cellipse fill='%23C0C0BF' cx='73.8' cy='50.9' rx='.9' ry='1'/%3E%3Cg fill='none' stroke='%23C0C0BF'%3E%3Cpath d='M96.4 50c0 3.6-2.9 6.5-6.4 6.5s-6.4-2.9-6.4-6.5 2.9-6.5 6.4-6.5 6.4 2.9 6.4 6.5z'/%3E%3Cpath d='M96.3 48.6v.1c-.9.1-2.9.1-4.6-1.2-1.1-.8-2-1.7-2.6-2.5-.3-.4-.6-.8-.7-1-.1-.1-.1-.2-.1-.2.5-.1 1.2-.2 2-.2 1.2 0 2.5.3 3.5 1.1s1.7 1.8 2.1 2.8c.2.4.3.8.4 1.1zM84 52.2v-.1c.9-.2 2.9-.4 4.7.6 1.1.7 1.9 1.5 2.4 2.3.4.5.6 1 .7 1.3-.4.1-1 .2-1.7.3-1 0-2.1-.1-3.2-.8s-1.9-1.6-2.4-2.5c-.3-.5-.4-.8-.5-1.1z'/%3E%3C/g%3E%3Cg fill='none' stroke='%23C0C0BF'%3E%3Cpath stroke-linecap='round' d='m116.3 46.8-1.4 2-.8-.8-.6-.7v.9l-.1 8.2h-6.8l-.1-8.2v-.9l-.6.7-.8.8-1.4-2 2.6-2.9c.1-.1.2-.1.3-.1h1.3l.4.7c.7 1.3 2.6 1.3 3.3-.1l.3-.6h1.2c.1 0 .2 0 .3.1l.3-.3-.3.3 2.9 2.9z'/%3E%3Cpath d='M110.1 47.7h2v.9c0 .4-.4.7-1 .7s-1-.3-1-.7v-.9z'/%3E%3C/g%3E%3Cpath d='M126.8 54.3c0 1.2-1 2.2-2.2 2.2s-2.2-1-2.2-2.2 1-2.2 2.2-2.2 2.2 1 2.2 2.2zm10.8 0c0 1.2-1 2.2-2.2 2.2-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2c1.2 0 2.2 1 2.2 2.2zm-10.8-9.9v9.9m10.9-9.9v9.9m-10.9-10.8h10.8v2.7h-10.8v-2.7z' fill='none' stroke='%23C0C0BF'/%3E%3Cg fill='%23C0C0BF'%3E%3Cpath d='M170.8 43.1h-.8c-2.1 0-4 1-5.3 2.5h-.1l-.1-.1-1-1.2-.3 3.4 3.4.3-1.1-1.3-.1-.1.1-.1c1.1-1.5 3-2.3 5-2.1 3.2.3 5.5 3.1 5.2 6.3-.3 3-3.1 5.3-6.1 5.1-3.1-.2-5.4-2.9-5.3-6l-1.3-.1c-.2 3.8 2.6 7.1 6.3 7.4 3.9.3 7.3-2.6 7.6-6.5.3-3.8-2.5-7.1-6.1-7.5z'/%3E%3Cpath d='M170.3 47.4c0-.3-.3-.6-.6-.6s-.6.3-.6.6v3.2c0 .2.1.3.2.4.1.1.3.2.4.2h2.4c.4 0 .6-.3.6-.6s-.3-.6-.6-.6h-1.8v-2.6z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%23C0C0BF' d='M186.2 43.4h7.7c1.5 0 2.7 1.2 2.7 2.7v7.7c0 1.5-1.2 2.7-2.7 2.7h-7.7c-1.5 0-2.7-1.2-2.7-2.7v-7.7c-.1-1.4 1.2-2.7 2.7-2.7z'/%3E%3Ccircle fill='%23C0C0BF' cx='186' cy='48.9' r='.7'/%3E%3Ccircle fill='%23C0C0BF' cx='194' cy='46.7' r='.7'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='m186 53.3.4-.3c.4-.3 1-.3 1.5-.1l1 .4c.5.2 1 .2 1.5-.1l.8-.5c.4-.3 1-.3 1.5-.1l1.8.8'/%3E%3Cpath fill='%23C0C0BF' stroke='%23C0C0BF' stroke-width='.25' stroke-miterlimit='10' d='M156 44.3c-.2-.1-.4-.1-.5 0 0 0-.2.1-.9.2-.7 0-2.4-.1-3.8-.6-.8-.3-1.7-.5-2.5-.5h-.5c-1.3 0-2.5.3-3.6 1-.2.1-.2.2-.2.4v11.6c0 .3.1.5.3.5.6 0 .5-.4.5-.6v-5.7c.7-.3 3.2-1.1 5.8-.1 1.6.6 3.5.7 4.3.7.8 0 1.3-.3 1.3-.3.2-.1.3-.2.3-.4v-5.7c-.3-.2-.4-.4-.5-.5zm-.4 5.9c-.1 0-.7.1-1 .1-.7 0-2.4-.1-3.8-.6-2.5-1-5-.5-6.2-.1v-4.9c.9-.5 2.2-.7 3.2-.7h.4c.7 0 1.5.2 2.2.4 1.6.6 3.5.7 4.3.7.2 0 .8 0 1-.1v5.2z'/%3E%3Cpath fill='none' stroke='%23C0C0BF' d='M48.1 43.5h3.7c2.5 0 4.5 2 4.5 4.5 0 .5-.4.9-.9.9H44.5c-.5 0-.9-.4-.9-.9 0-2.5 2-4.5 4.5-4.5z'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='M43.5 48.8c-.2.1-.5 1.2 0 1.5 1.4 1 8.5.8 11.3.6.8-.1 1.6-.4 1.7-1.2 0-.3-.1-.6-.6-.9'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='m43.5 50.6-.2.4c-.2.5.2 1 .7.9.3-.1.5 0 .7.3l.1.2c.3.5 1 .6 1.5.2h0c.3-.2.7-.3 1-.2l.8.3c.4.2.8.1 1.2 0l.5-.2c.4-.2.9-.2 1.3 0l.5.2c.4.2.8.2 1.2 0l.2-.1c.3-.2.8-.2 1.1.1l.2.2c.3.3.8.2 1-.2l.1-.2c.1-.2 0-.3.2-.3.5 0 1.2-.3 1.1-.7l-.4-1.1'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='M43.5 52.2c-.1.2-.3.8 0 1.1.3.4 3 1.1 6.4 1.1 2.2 0 4.6-.3 6-.6.5-.1.9-.5.8-.9 0-.2-.2-.5-.4-.7'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='M43.5 53.3c0 .5.6 2.3 1.3 2.7 1.8.8 5.7.7 8.1.5 1.3-.1 2.5-.7 3.2-1.8.3-.5.5-1 .5-1.4'/%3E%3Cellipse fill='%23C0C0BF' cx='51.6' cy='46.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%23C0C0BF' cx='53' cy='45' rx='.3' ry='.4'/%3E%3Cellipse fill='%23C0C0BF' cx='53' cy='47.2' rx='.3' ry='.4'/%3E%3Cellipse fill='%23C0C0BF' cx='54.3' cy='46.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%23C0C0BF' cx='50.9' cy='45' rx='.3' ry='.4'/%3E%3Cpath fill='none' stroke='%23C0C0BF' d='M24.2 51v-7.6c.1.1.8.9 2.8 3.1 2.5-1.7 5.6-.7 6.9 0l2.4-3.1v7.1c0 1.2-.1 2.5-.9 3.4-1 1.2-2.7 2.5-5.3 2.5-2.9 0-4.5-1.5-5.3-2.9-.6-.6-.6-1.5-.6-2.5z'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='m21.2 50 5.4 1.2m-5.4 2.9 5.4-1.2M38.8 50l-5.4 1.2m5.4 2.9-5.4-1.2'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%23C0C0BF' d='m29.5 52.4-.5-.7c-.2-.3 0-.6.3-.6h1.4c.3 0 .5.4.3.6l-.7 1c-.7 1.2-2.6 1.1-3.1-.3l-.1-.2c-.1-.2 0-.4.2-.5s.4 0 .5.2l.1.2c.4.7 1.2.8 1.6.3z'/%3E%3Cpath fill='none' stroke='%23C0C0BF' stroke-linecap='round' d='m32.4 52.1-.1.2c-.4 1-1.8 1.1-2.3.2'/%3E%3Ccircle fill='%23C0C0BF' cx='27.6' cy='49.7' r='.7'/%3E%3Ccircle fill='%23C0C0BF' cx='32.4' cy='49.7' r='.7'/%3E%3Cg fill='%236AA9DD' stroke='%236AA9DD' stroke-width='.1' stroke-miterlimit='10'%3E%3Cpath d='M14.6 71.2c-.1-.1-.2-.2-.3-.2H5.7c-.1 0-.2.1-.3.2-.1.1-.1.2 0 .4.7 2 2.5 3.3 4.6 3.3s3.9-1.3 4.6-3.3c.1-.1.1-.3 0-.4zM10 74.1c-1.6 0-3-.9-3.7-2.2h7.3c-.6 1.3-2 2.2-3.6 2.2zm2.8-4.6c.6 0 1.1-.5 1.1-1.1 0-.6-.5-1.2-1.1-1.2-.6 0-1.2.5-1.2 1.2 0 .6.6 1.1 1.2 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4zm-5.6 1.5c.6 0 1.2-.5 1.2-1.1 0-.6-.5-1.2-1.2-1.2-.6 0-1.1.5-1.1 1.2 0 .6.5 1.1 1.1 1.1zm0-1.5c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4c0-.3.2-.4.4-.4z'/%3E%3Cpath d='M10 63c-3.8 0-7 3.1-7 7 0 3.8 3.1 7 7 7s7-3.1 7-7c0-3.8-3.2-7-7-7zm0 13.2c-3.4 0-6.2-2.8-6.2-6.2 0-3.4 2.8-6.2 6.2-6.2s6.2 2.8 6.2 6.2c0 3.4-2.8 6.2-6.2 6.2z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%236AA9DD' d='M64.1 73.4h2.3c.2 0 .4.2.4.4v2.1c0 .2-.2.4-.4.4h-2.3c-.2 0-.4-.2-.4-.4v-2.1c0-.2.1-.4.4-.4zm9.4.1h2.4c.2 0 .4.2.4.4V76c0 .2-.2.4-.4.4h-2.4c-.2 0-.4-.2-.4-.4v-2.1c0-.3.2-.4.4-.4zm-9.8-5.1h12.6v5H63.7v-5z'/%3E%3Cpath fill='none' stroke='%236AA9DD' d='M65.5 63.6h8.9c1 0 1.9.8 1.9 1.9v3.1H63.7v-3.1c0-1 .8-1.9 1.8-1.9z'/%3E%3Ccircle fill='%236AA9DD' cx='66.2' cy='70.9' r='.9'/%3E%3Ccircle fill='%236AA9DD' cx='73.8' cy='70.9' r='.9'/%3E%3Cg fill='none' stroke='%236AA9DD'%3E%3Cpath d='M96.4 70c0 3.6-2.9 6.5-6.4 6.5s-6.4-2.9-6.4-6.5 2.9-6.5 6.4-6.5 6.4 2.9 6.4 6.5z'/%3E%3Cpath d='M96.3 68.6v.1c-.9.1-2.9.1-4.6-1.2-1.1-.8-2-1.7-2.6-2.5-.3-.4-.6-.8-.7-1.1-.1-.1-.1-.2-.1-.2.5-.1 1.2-.2 2-.2 1.2 0 2.5.3 3.5 1.1s1.7 1.8 2.1 2.8c.2.5.3.9.4 1.2zM84 72.2v-.1c.9-.2 2.9-.4 4.7.6 1.1.7 1.9 1.5 2.4 2.3.4.5.6 1 .7 1.3-.4.1-1 .2-1.7.3-1 0-2.1-.1-3.2-.8s-1.9-1.6-2.4-2.5c-.3-.5-.4-.9-.5-1.1z'/%3E%3C/g%3E%3Cg fill='none' stroke='%236AA9DD'%3E%3Cpath stroke-linecap='round' d='m116.3 66.8-1.4 2-.8-.8-.6-.7v.9l-.1 8.2h-6.8l-.1-8.2v-.9l-.6.7-.8.8-1.4-2 2.6-2.9c.1-.1.2-.1.3-.1h1.3l.4.7c.7 1.3 2.6 1.3 3.3-.1l.3-.6h1.2c.1 0 .2 0 .3.1l.3-.3-.3.3 2.9 2.9z'/%3E%3Cpath d='M110.1 67.7h2v.9c0 .4-.4.7-1 .7s-1-.3-1-.7v-.9z'/%3E%3C/g%3E%3Cpath d='M126.8 74.3c0 1.2-1 2.2-2.2 2.2s-2.2-1-2.2-2.2 1-2.2 2.2-2.2 2.2 1 2.2 2.2zm10.8 0c0 1.2-1 2.2-2.2 2.2-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2c1.2 0 2.2 1 2.2 2.2zm-10.8-9.9v9.9m10.9-9.9v9.9m-10.9-10.8h10.8v2.7h-10.8v-2.7z' fill='none' stroke='%236AA9DD'/%3E%3Cg fill='%236AA9DD'%3E%3Cpath d='M170.8 63.1h-.8c-2.1 0-4 1-5.3 2.5h-.1l-.1-.1-1-1.2-.3 3.4 3.4.3-1.1-1.3-.1-.1.1-.1c1.1-1.4 3-2.3 5-2.1 3.2.3 5.5 3.1 5.2 6.3-.3 3-3.1 5.3-6.1 5.1-3.1-.2-5.4-2.9-5.3-6l-1.3-.1c-.2 3.8 2.6 7.1 6.3 7.4 3.9.3 7.3-2.6 7.6-6.5.3-3.8-2.5-7.1-6.1-7.5z'/%3E%3Cpath d='M170.3 67.4c0-.3-.3-.6-.6-.6s-.6.3-.6.6v3.2c0 .2.1.3.2.4.1.1.3.2.4.2h2.4c.4 0 .6-.3.6-.6s-.3-.6-.7-.6h-1.8v-.2l.1-2.4z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%236AA9DD' d='M186.2 63.4h7.7c1.5 0 2.7 1.2 2.7 2.7v7.7c0 1.5-1.2 2.7-2.7 2.7h-7.7c-1.5 0-2.7-1.2-2.7-2.7v-7.7c-.1-1.4 1.2-2.7 2.7-2.7z'/%3E%3Ccircle fill='%236AA9DD' cx='186' cy='68.9' r='.7'/%3E%3Ccircle fill='%236AA9DD' cx='194' cy='66.7' r='.7'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='m186 73.3.4-.3c.4-.3 1-.3 1.5-.1l1 .4c.5.2 1 .2 1.5-.1l.8-.5c.4-.3 1-.3 1.5-.1l1.8.8'/%3E%3Cpath fill='%236AA9DD' stroke='%236AA9DD' stroke-width='.25' stroke-miterlimit='10' d='M156 64.3c-.2-.1-.4-.1-.5 0 0 0-.2.1-.9.2-.7 0-2.4-.1-3.8-.6-.8-.3-1.7-.5-2.5-.5h-.5c-1.3 0-2.5.3-3.6 1-.2.1-.2.2-.2.4v11.6c0 .3.1.5.3.5.6 0 .5-.4.5-.6v-5.7c.7-.3 3.2-1.1 5.8-.1 1.6.6 3.5.7 4.3.7.8 0 1.3-.3 1.3-.3.2-.1.3-.2.3-.4v-5.7c-.3-.2-.4-.4-.5-.5zm-.4 5.9c-.1 0-.7.1-1 .1-.7 0-2.4-.1-3.8-.6-2.5-1-5-.5-6.2-.1v-4.9c.9-.5 2.2-.7 3.2-.7h.4c.7 0 1.5.2 2.2.4 1.6.6 3.5.7 4.3.7.2 0 .8 0 1-.1v5.2z'/%3E%3Cpath fill='none' stroke='%236AA9DD' d='M48.1 63.5h3.7c2.5 0 4.5 2 4.5 4.5 0 .5-.4.9-.9.9H44.5c-.5 0-.9-.4-.9-.9 0-2.5 2-4.5 4.5-4.5z'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='M43.5 68.8c-.2.1-.5 1.2 0 1.5 1.4.9 8.5.8 11.3.6.8-.1 1.6-.4 1.7-1.2 0-.3-.1-.6-.6-.9'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='m43.5 70.6-.2.4c-.2.5.2 1 .7.9.3-.1.5.1.7.3l.1.2c.3.5 1 .6 1.5.2h0c.3-.2.7-.3 1-.2l.8.3c.4.2.8.1 1.2 0l.5-.2c.4-.2.9-.2 1.3 0l.5.2c.4.2.8.2 1.2-.1l.2-.1c.3-.2.8-.2 1.1.1l.2.2c.3.3.8.2 1-.2l.1-.2c.1-.2 0-.3.2-.3.5 0 1.2-.3 1.1-.7l-.4-1.1'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='M43.5 72.2c-.1.2-.3.8 0 1.1.3.4 3 1.1 6.4 1.1 2.2 0 4.6-.3 6-.6.5-.1.9-.4.8-.9 0-.2-.2-.5-.4-.7'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='M43.5 73.3c0 .5.6 2.3 1.3 2.7 1.8.8 5.7.7 8.1.5 1.3-.1 2.5-.7 3.2-1.8.3-.5.5-1 .5-1.4'/%3E%3Cellipse fill='%236AA9DD' cx='51.6' cy='66.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%236AA9DD' cx='53' cy='65' rx='.3' ry='.4'/%3E%3Cellipse fill='%236AA9DD' cx='53' cy='67.2' rx='.3' ry='.4'/%3E%3Cellipse fill='%236AA9DD' cx='54.3' cy='66.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%236AA9DD' cx='50.9' cy='65' rx='.3' ry='.4'/%3E%3Cpath fill='none' stroke='%236AA9DD' d='M24.2 71v-7.6c.1.1.8.9 2.8 3.1 2.5-1.7 5.6-.7 6.9 0l2.4-3.1v7.1c0 1.2-.1 2.5-.9 3.4-1 1.2-2.7 2.5-5.3 2.5-2.9 0-4.5-1.5-5.3-2.9-.6-.6-.6-1.5-.6-2.5z'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='m21.2 70.1 5.4 1.2m-5.4 2.8 5.4-1.2m12.2-2.8-5.4 1.2m5.4 2.8-5.4-1.2'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%236AA9DD' d='m29.5 72.4-.5-.7c-.2-.3 0-.6.3-.6h1.4c.3 0 .5.4.3.6l-.7 1c-.7 1.2-2.6 1.1-3.1-.3l-.1-.2c-.1-.2 0-.4.2-.5.2-.1.4 0 .5.2l.1.2c.4.7 1.2.8 1.6.3z'/%3E%3Cpath fill='none' stroke='%236AA9DD' stroke-linecap='round' d='m32.4 72.1-.1.2c-.4 1-1.8 1.1-2.3.2'/%3E%3Ccircle fill='%236AA9DD' cx='27.6' cy='69.7' r='.7'/%3E%3Ccircle fill='%236AA9DD' cx='32.4' cy='69.7' r='.7'/%3E%3Cg fill='%23868686' stroke='%23868686' stroke-width='.1' stroke-miterlimit='10'%3E%3Cpath d='M12.8 9.5c.6 0 1.1-.5 1.1-1.2 0-.6-.5-1.1-1.1-1.1-.6 0-1.2.5-1.2 1.1s.6 1.2 1.2 1.2zm0-1.6c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4.2-.4.4-.4zM7.2 9.5c.6 0 1.2-.5 1.2-1.2 0-.6-.5-1.1-1.2-1.1-.6 0-1.1.5-1.1 1.1s.5 1.2 1.1 1.2zm0-1.6c.2 0 .4.2.4.4s-.2.4-.4.4-.4-.2-.4-.4.2-.4.4-.4zm7.4 3.3c-.1-.1-.2-.2-.3-.2H5.7c-.1 0-.2.1-.3.2-.1.1-.1.2 0 .4.7 2 2.5 3.3 4.6 3.3s3.9-1.3 4.6-3.3c.1-.2.1-.3 0-.4zM10 14.1c-1.6 0-3-.9-3.7-2.2h7.3c-.6 1.3-2 2.2-3.6 2.2z'/%3E%3Cpath d='M10 3c-3.8 0-7 3.1-7 7s3.1 7 7 7 7-3.1 7-7-3.2-7-7-7zm0 13.2c-3.4 0-6.2-2.8-6.2-6.2S6.6 3.8 10 3.8s6.2 2.8 6.2 6.2-2.8 6.2-6.2 6.2z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%23868686' d='M64.1 13.4h2.3c.2 0 .4.2.4.4v2.1c0 .2-.2.4-.4.4h-2.3c-.2 0-.4-.2-.4-.4v-2.1c0-.2.1-.4.4-.4zm9.4 0h2.4c.2 0 .4.2.4.4v2.1c0 .2-.2.4-.4.4h-2.4c-.2 0-.4-.2-.4-.4v-2.1c0-.2.2-.4.4-.4zm-9.8-5h12.6v5H63.7v-5z'/%3E%3Cpath fill='none' stroke='%23868686' d='M65.5 3.6h8.9c1 0 1.9.8 1.9 1.9v3.1H63.7V5.5c0-1.1.8-1.9 1.8-1.9z'/%3E%3Ccircle fill='%23868686' cx='66.2' cy='10.9' r='.9'/%3E%3Ccircle fill='%23868686' cx='73.8' cy='10.9' r='.9'/%3E%3Cg fill='none' stroke='%23868686'%3E%3Cpath d='M96.4 10c0 3.6-2.9 6.5-6.4 6.5s-6.4-2.9-6.4-6.5 2.9-6.5 6.4-6.5 6.4 2.9 6.4 6.5z'/%3E%3Cpath d='M96.3 8.6v.1c-.9.1-2.9.1-4.6-1.2-1.1-.8-2-1.7-2.6-2.5-.3-.4-.6-.8-.7-1.1-.1-.1-.1-.2-.1-.2.5-.1 1.2-.2 2-.2 1.2 0 2.5.3 3.5 1.1s1.7 1.8 2.1 2.8c.2.5.3.9.4 1.2zM84 12.1V12c.9-.2 2.9-.4 4.7.6 1.1.6 1.9 1.5 2.4 2.3.4.5.6 1 .7 1.3-.4.1-1 .2-1.7.3-1 0-2.1-.1-3.2-.8-1.1-.6-1.9-1.6-2.4-2.5-.3-.4-.4-.8-.5-1.1z'/%3E%3C/g%3E%3Cg fill='none' stroke='%23868686'%3E%3Cpath stroke-linecap='round' d='m116.3 6.8-1.4 2-.8-.8-.6-.7v.9l-.1 8.2h-6.8l-.1-8.2v-.9l-.6.7-.8.8-1.4-2 2.6-2.9c.1-.1.2-.1.3-.1h1.3l.4.7c.7 1.3 2.6 1.3 3.3-.1l.3-.6h1.2c.1 0 .2 0 .3.1l.3-.3-.3.3 2.9 2.9z'/%3E%3Cpath d='M110.1 7.7h2v.9c0 .4-.4.7-1 .7s-1-.3-1-.7v-.9z'/%3E%3C/g%3E%3Cpath d='M126.8 14.3c0 1.2-1 2.2-2.2 2.2s-2.2-1-2.2-2.2 1-2.2 2.2-2.2 2.2 1 2.2 2.2zm10.8 0c0 1.2-1 2.2-2.2 2.2-1.2 0-2.2-1-2.2-2.2s1-2.2 2.2-2.2c1.2 0 2.2 1 2.2 2.2zm-10.8-9.9v9.9m10.9-9.9v9.9M126.8 3.5h10.8v2.7h-10.8V3.5z' fill='none' stroke='%23868686'/%3E%3Cg fill='%23868686'%3E%3Cpath d='M170.8 3.1h-.8c-2.1 0-4 1-5.3 2.5h-.1l-.1-.1-1-1.2-.3 3.4 3.4.3-1.1-1.3-.1-.1.1-.1c1.1-1.4 3-2.3 5-2.1 3.2.3 5.5 3.1 5.2 6.3-.3 3-3.1 5.3-6.1 5.1-3.1-.2-5.4-2.9-5.3-6l-1.3-.3c-.2 3.8 2.6 7.1 6.3 7.4 3.9.4 7.3-2.6 7.6-6.5.3-3.6-2.5-6.9-6.1-7.3z'/%3E%3Cpath d='M170.3 7.4c0-.3-.3-.6-.6-.6s-.7.3-.7.6v3.2c0 .2.1.3.2.4.1.1.3.2.4.2h2.4c.4 0 .6-.3.6-.6s-.3-.6-.6-.6h-1.8v-.2l.1-2.4z'/%3E%3C/g%3E%3Cpath fill='none' stroke='%23868686' d='M186.2 3.4h7.7c1.5 0 2.7 1.2 2.7 2.7v7.7c0 1.5-1.2 2.7-2.7 2.7h-7.7c-1.5 0-2.7-1.2-2.7-2.7V6.1c-.1-1.5 1.2-2.7 2.7-2.7z'/%3E%3Ccircle fill='%23868686' cx='186' cy='8.9' r='.7'/%3E%3Ccircle fill='%23868686' cx='194' cy='6.7' r='.7'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='m186 13.3.4-.3c.4-.3 1-.3 1.5-.1l1 .4c.5.2 1 .2 1.5-.1l.8-.5c.4-.3 1-.3 1.5-.1l1.8.8'/%3E%3Cpath fill='%23868686' stroke='%23868686' stroke-width='.25' stroke-miterlimit='10' d='M156 4.3c-.2-.1-.4-.1-.5 0 0 0-.2.1-.9.1s-2.4-.1-3.8-.6c-.8-.3-1.7-.5-2.5-.5h-.5c-1.3 0-2.5.3-3.6 1-.2.1-.2.2-.2.4v11.6c0 .3.1.5.3.5.6 0 .5-.4.5-.6v-5.7c.7-.3 3.2-1.1 5.8-.1 1.6.6 3.5.7 4.3.7.8 0 1.3-.3 1.3-.3.2-.1.3-.2.3-.4V4.7c-.3-.2-.4-.3-.5-.4zm-.4 5.9c-.1 0-.7.1-1 .1-.7 0-2.4-.1-3.8-.6-2.5-1-5-.5-6.2-.1V4.7c.9-.5 2.2-.7 3.2-.7h.4c.7 0 1.5.2 2.2.4 1.6.6 3.5.7 4.3.7.2 0 .8 0 1-.1v5.2z'/%3E%3Cpath fill='none' stroke='%23868686' d='M48.1 3.5h3.7c2.5 0 4.5 2 4.5 4.5 0 .5-.4.9-.9.9H44.5c-.5 0-.9-.4-.9-.9 0-2.5 2-4.5 4.5-4.5z'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='M43.5 8.7c-.2.1-.5 1.2 0 1.5 1.4.9 8.5.8 11.3.6.8-.1 1.6-.4 1.7-1.2 0-.3-.1-.6-.6-.9'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='m43.5 10.6-.2.4c-.2.5.2 1 .7.9.3-.1.5.1.7.3l.1.2c.3.5 1 .6 1.5.2h0c.3-.2.7-.3 1-.2l.8.3c.4.1.8.1 1.2 0l.5-.2c.4-.2.9-.2 1.3 0l.5.2c.4.2.8.1 1.2-.1l.2-.1c.3-.2.8-.1 1.1.1l.2.2c.3.3.8.2 1-.2l.1-.2c.1-.2 0-.3.2-.4.5 0 1.2-.3 1.1-.7l-.4-1.1'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='M43.5 12.1c-.1.2-.3.8 0 1.1.3.4 3 1.1 6.4 1.1 2.2 0 4.6-.3 6-.6.5-.1.9-.4.8-.9 0-.2-.2-.5-.4-.7'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='M43.5 13.3c0 .5.6 2.4 1.3 2.6 1.8.8 5.7.7 8.1.5 1.3-.1 2.5-.7 3.2-1.8.3-.5.5-1 .5-1.4'/%3E%3Cellipse fill='%23868686' cx='51.6' cy='6.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%23868686' cx='53' cy='4.9' rx='.3' ry='.4'/%3E%3Cellipse fill='%23868686' cx='53' cy='7.2' rx='.3' ry='.4'/%3E%3Cellipse fill='%23868686' cx='54.3' cy='6.5' rx='.3' ry='.4'/%3E%3Cellipse fill='%23868686' cx='50.9' cy='4.9' rx='.3' ry='.4'/%3E%3Cpath fill='none' stroke='%23868686' d='M24.2 11V3.5c.1.1.8.9 2.8 3.1 2.5-1.7 5.6-.7 6.9 0l2.4-3.1v7.1c0 1.2-.1 2.5-.9 3.4-1 1.2-2.7 2.5-5.3 2.5-2.9 0-4.5-1.5-5.3-2.9-.6-.7-.6-1.7-.6-2.6z'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='m21.2 10 5.4 1.2m-5.4 2.9 5.4-1.2M38.8 10l-5.4 1.2m5.4 2.9-5.4-1.2'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' fill='%23868686' d='m29.5 12.4-.5-.7c-.2-.3 0-.6.3-.6h1.4c.3 0 .5.4.3.6l-.7 1c-.7 1.2-2.6 1.1-3.1-.3l-.1-.2c-.1-.2 0-.4.2-.5s.4 0 .5.2l.1.2c.4.6 1.2.8 1.6.3z'/%3E%3Cpath fill='none' stroke='%23868686' stroke-linecap='round' d='m32.4 12.1-.1.2c-.4 1-1.8 1.1-2.3.2'/%3E%3Ccircle fill='%23868686' cx='27.6' cy='9.7' r='.7'/%3E%3Ccircle fill='%23868686' cx='32.4' cy='9.7' r='.7'/%3E%3C/svg%3E\");background-position:0 0}.EmojiPickerReact.epr-dark-theme .epr-category-nav>button.epr-cat-btn{background-position-y:calc(var(--epr-category-navigation-button-size)*2)}aside.EmojiPickerReact.epr-main:has(input:-moz-placeholder-shown) .epr-category-nav{background-position-y:calc(var(--epr-category-navigation-button-size)*3)}aside.EmojiPickerReact.epr-main:has(input:placeholder-shown) .epr-category-nav{background-position-y:calc(var(--epr-category-navigation-button-size)*3)}.EmojiPickerReact.epr-dark-theme:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn.epr-active,.EmojiPickerReact.epr-dark-theme:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn:hover{background-position-y:calc(var(--epr-category-navigation-button-size)*3)}@media (prefers-color-scheme:dark){.EmojiPickerReact.epr-auto-theme .epr-category-nav>button.epr-cat-btn{background-position-y:calc(var(--epr-category-navigation-button-size)*2)}.EmojiPickerReact.epr-auto-theme:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn.epr-active,.EmojiPickerReact.epr-auto-theme:not(.epr-search-active) .epr-category-nav>button.epr-cat-btn:hover{background-position-y:calc(var(--epr-category-navigation-button-size)*3)}}.EmojiPickerReact button.epr-cat-btn.epr-icn-suggested{background-position-x:calc(var(--epr-category-navigation-button-size)*-8)}.EmojiPickerReact button.epr-cat-btn.epr-icn-custom{background-position-x:calc(var(--epr-category-navigation-button-size)*-9)}.EmojiPickerReact button.epr-cat-btn.epr-icn-activities{background-position-x:calc(var(--epr-category-navigation-button-size)*-4)}.EmojiPickerReact button.epr-cat-btn.epr-icn-animals_nature{background-position-x:calc(var(--epr-category-navigation-button-size)*-1)}.EmojiPickerReact button.epr-cat-btn.epr-icn-flags{background-position-x:calc(var(--epr-category-navigation-button-size)*-7)}.EmojiPickerReact button.epr-cat-btn.epr-icn-food_drink{background-position-x:calc(var(--epr-category-navigation-button-size)*-2)}.EmojiPickerReact button.epr-cat-btn.epr-icn-objects{background-position-x:calc(var(--epr-category-navigation-button-size)*-5)}.EmojiPickerReact button.epr-cat-btn.epr-icn-smileys_people{background-position-x:0}.EmojiPickerReact button.epr-cat-btn.epr-icn-symbols{background-position-x:calc(var(--epr-category-navigation-button-size)*-6)}.EmojiPickerReact button.epr-cat-btn.epr-icn-travel_places{background-position-x:calc(var(--epr-category-navigation-button-size)*-3)}";z(xn);function Sn(f){var e;return(e=f==null?void 0:f.getAttribute("data-name"))!=null?e:null}function Rn(f){var e=M();o.useEffect(function(){var a=new Map,n=e.current,r=new IntersectionObserver(function(i){if(n){for(var t=b1(i),d;!(d=t()).done;){var c=d.value,l=Sn(c.target);a.set(l,c.intersectionRatio)}var u=Array.from(a),s=u[u.length-1];if(s[1]==1)return f(s[0]);for(var g=0,p=u;g_[p]})}}}return Object.freeze(Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}))}var ee={exports:{}};(function(g,h){(function(a){a(Y)})(function(a){a.defineMIME("text/x-erlang","erlang"),a.defineMode("erlang",function(_){var p=["-type","-spec","-export_type","-opaque"],s=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],A=/[\->,;]/,R=["->",";",","],U=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],j=/[\+\-\*\/<>=\|:!]/,O=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],Z=/[<\(\[\{]/,y=["<<","(","[","{"],q=/[>\)\]\}]/,x=["}","]",")",">>"],$=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],D=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],v=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,I=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function Q(e,n){if(n.in_string)return n.in_string=!E(e),o(n,e,"string");if(n.in_atom)return n.in_atom=!z(e),o(n,e,"atom");if(e.eatSpace())return o(n,e,"whitespace");if(!b(n)&&e.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return u(e.current(),p)?o(n,e,"type"):o(n,e,"attribute");var r=e.next();if(r=="%")return e.skipToEnd(),o(n,e,"comment");if(r==":")return o(n,e,"colon");if(r=="?")return e.eatSpace(),e.eatWhile(v),o(n,e,"macro");if(r=="#")return e.eatSpace(),e.eatWhile(v),o(n,e,"record");if(r=="$")return e.next()=="\\"&&!e.match(I)?o(n,e,"error"):o(n,e,"number");if(r==".")return o(n,e,"dot");if(r=="'"){if(!(n.in_atom=!z(e))){if(e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),o(n,e,"fun");if(e.match(/\s*\(/,!1)||e.match(/\s*:/,!1))return o(n,e,"function")}return o(n,e,"atom")}if(r=='"')return n.in_string=!E(e),o(n,e,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(r))return e.eatWhile(v),o(n,e,"variable");if(/[a-z_ß-öø-ÿ]/.test(r)){if(e.eatWhile(v),e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),o(n,e,"fun");var t=e.current();return u(t,s)?o(n,e,"keyword"):u(t,U)?o(n,e,"operator"):e.match(/\s*\(/,!1)?u(t,D)&&(b(n).token!=":"||b(n,2).token=="erlang")?o(n,e,"builtin"):u(t,$)?o(n,e,"guard"):o(n,e,"function"):F(e)==":"?t=="erlang"?o(n,e,"builtin"):o(n,e,"function"):u(t,["true","false"])?o(n,e,"boolean"):o(n,e,"atom")}var c=/[0-9]/,i=/[0-9a-zA-Z]/;return c.test(r)?(e.eatWhile(c),e.eat("#")?e.eatWhile(i)||e.backUp(1):e.eat(".")&&(e.eatWhile(c)?e.eat(/[eE]/)&&(e.eat(/[-+]/)?e.eatWhile(c)||e.backUp(2):e.eatWhile(c)||e.backUp(1)):e.backUp(1)),o(n,e,"number")):S(e,Z,y)?o(n,e,"open_paren"):S(e,q,x)?o(n,e,"close_paren"):W(e,A,R)?o(n,e,"separator"):W(e,j,O)?o(n,e,"operator"):o(n,e,null)}function S(e,n,r){if(e.current().length==1&&n.test(e.current())){for(e.backUp(1);n.test(e.peek());)if(e.next(),u(e.current(),r))return!0;e.backUp(e.current().length-1)}return!1}function W(e,n,r){if(e.current().length==1&&n.test(e.current())){for(;n.test(e.peek());)e.next();for(;01&&e[n].type==="fun"&&e[n-1].token==="fun")return e.slice(0,n-1);switch(e[n].token){case"}":return f(e,{g:["{"]});case"]":return f(e,{i:["["]});case")":return f(e,{i:["("]});case">>":return f(e,{i:["<<"]});case"end":return f(e,{i:["begin","case","fun","if","receive","try"]});case",":return f(e,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return f(e,{r:["when"],m:["try","if","case","receive"]});case";":return f(e,{E:["case","fun","if","receive","try","when"]});case"catch":return f(e,{e:["try"]});case"of":return f(e,{e:["case"]});case"after":return f(e,{e:["receive","try"]});default:return e}}function f(e,n){for(var r in n)for(var t=e.length-1,c=n[r],i=t-1;-1"?u(l.token,["receive","case","if","try"])?l.column+t+t:l.column+t:u(i.token,y)?i.column+i.token.length:(r=V(e),d(r)?r.column+t:0):0}function L(e){var n=e.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return d(n)&&n.index===0?n[0]:""}function M(e){var n=e.tokenStack.slice(0,-1),r=k(n,"type",["open_paren"]);return d(n[r])?n[r]:!1}function V(e){var n=e.tokenStack,r=k(n,"type",["open_paren","separator","keyword"]),t=k(n,"type",["operator"]);return d(r)&&d(t)&&r_[p]})}}}return Object.freeze(Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}))}var ee={exports:{}};(function(g,h){(function(a){a(Y)})(function(a){a.defineMIME("text/x-erlang","erlang"),a.defineMode("erlang",function(_){var p=["-type","-spec","-export_type","-opaque"],s=["after","begin","catch","case","cond","end","fun","if","let","of","query","receive","try","when"],A=/[\->,;]/,R=["->",";",","],U=["and","andalso","band","bnot","bor","bsl","bsr","bxor","div","not","or","orelse","rem","xor"],j=/[\+\-\*\/<>=\|:!]/,O=["=","+","-","*","/",">",">=","<","=<","=:=","==","=/=","/=","||","<-","!"],Z=/[<\(\[\{]/,y=["<<","(","[","{"],q=/[>\)\]\}]/,x=["}","]",")",">>"],$=["is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_record","is_reference","is_tuple","atom","binary","bitstring","boolean","function","integer","list","number","pid","port","record","reference","tuple"],D=["abs","adler32","adler32_combine","alive","apply","atom_to_binary","atom_to_list","binary_to_atom","binary_to_existing_atom","binary_to_list","binary_to_term","bit_size","bitstring_to_list","byte_size","check_process_code","contact_binary","crc32","crc32_combine","date","decode_packet","delete_module","disconnect_node","element","erase","exit","float","float_to_list","garbage_collect","get","get_keys","group_leader","halt","hd","integer_to_list","internal_bif","iolist_size","iolist_to_binary","is_alive","is_atom","is_binary","is_bitstring","is_boolean","is_float","is_function","is_integer","is_list","is_number","is_pid","is_port","is_process_alive","is_record","is_reference","is_tuple","length","link","list_to_atom","list_to_binary","list_to_bitstring","list_to_existing_atom","list_to_float","list_to_integer","list_to_pid","list_to_tuple","load_module","make_ref","module_loaded","monitor_node","node","node_link","node_unlink","nodes","notalive","now","open_port","pid_to_list","port_close","port_command","port_connect","port_control","pre_loaded","process_flag","process_info","processes","purge_module","put","register","registered","round","self","setelement","size","spawn","spawn_link","spawn_monitor","spawn_opt","split_binary","statistics","term_to_binary","time","throw","tl","trunc","tuple_size","tuple_to_list","unlink","unregister","whereis"],v=/[\w@Ø-ÞÀ-Öß-öø-ÿ]/,I=/[0-7]{1,3}|[bdefnrstv\\"']|\^[a-zA-Z]|x[0-9a-zA-Z]{2}|x{[0-9a-zA-Z]+}/;function Q(e,n){if(n.in_string)return n.in_string=!E(e),o(n,e,"string");if(n.in_atom)return n.in_atom=!z(e),o(n,e,"atom");if(e.eatSpace())return o(n,e,"whitespace");if(!b(n)&&e.match(/-\s*[a-zß-öø-ÿ][\wØ-ÞÀ-Öß-öø-ÿ]*/))return u(e.current(),p)?o(n,e,"type"):o(n,e,"attribute");var r=e.next();if(r=="%")return e.skipToEnd(),o(n,e,"comment");if(r==":")return o(n,e,"colon");if(r=="?")return e.eatSpace(),e.eatWhile(v),o(n,e,"macro");if(r=="#")return e.eatSpace(),e.eatWhile(v),o(n,e,"record");if(r=="$")return e.next()=="\\"&&!e.match(I)?o(n,e,"error"):o(n,e,"number");if(r==".")return o(n,e,"dot");if(r=="'"){if(!(n.in_atom=!z(e))){if(e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),o(n,e,"fun");if(e.match(/\s*\(/,!1)||e.match(/\s*:/,!1))return o(n,e,"function")}return o(n,e,"atom")}if(r=='"')return n.in_string=!E(e),o(n,e,"string");if(/[A-Z_Ø-ÞÀ-Ö]/.test(r))return e.eatWhile(v),o(n,e,"variable");if(/[a-z_ß-öø-ÿ]/.test(r)){if(e.eatWhile(v),e.match(/\s*\/\s*[0-9]/,!1))return e.match(/\s*\/\s*[0-9]/,!0),o(n,e,"fun");var t=e.current();return u(t,s)?o(n,e,"keyword"):u(t,U)?o(n,e,"operator"):e.match(/\s*\(/,!1)?u(t,D)&&(b(n).token!=":"||b(n,2).token=="erlang")?o(n,e,"builtin"):u(t,$)?o(n,e,"guard"):o(n,e,"function"):F(e)==":"?t=="erlang"?o(n,e,"builtin"):o(n,e,"function"):u(t,["true","false"])?o(n,e,"boolean"):o(n,e,"atom")}var c=/[0-9]/,i=/[0-9a-zA-Z]/;return c.test(r)?(e.eatWhile(c),e.eat("#")?e.eatWhile(i)||e.backUp(1):e.eat(".")&&(e.eatWhile(c)?e.eat(/[eE]/)&&(e.eat(/[-+]/)?e.eatWhile(c)||e.backUp(2):e.eatWhile(c)||e.backUp(1)):e.backUp(1)),o(n,e,"number")):S(e,Z,y)?o(n,e,"open_paren"):S(e,q,x)?o(n,e,"close_paren"):W(e,A,R)?o(n,e,"separator"):W(e,j,O)?o(n,e,"operator"):o(n,e,null)}function S(e,n,r){if(e.current().length==1&&n.test(e.current())){for(e.backUp(1);n.test(e.peek());)if(e.next(),u(e.current(),r))return!0;e.backUp(e.current().length-1)}return!1}function W(e,n,r){if(e.current().length==1&&n.test(e.current())){for(;n.test(e.peek());)e.next();for(;01&&e[n].type==="fun"&&e[n-1].token==="fun")return e.slice(0,n-1);switch(e[n].token){case"}":return f(e,{g:["{"]});case"]":return f(e,{i:["["]});case")":return f(e,{i:["("]});case">>":return f(e,{i:["<<"]});case"end":return f(e,{i:["begin","case","fun","if","receive","try"]});case",":return f(e,{e:["begin","try","when","->",",","(","[","{","<<"]});case"->":return f(e,{r:["when"],m:["try","if","case","receive"]});case";":return f(e,{E:["case","fun","if","receive","try","when"]});case"catch":return f(e,{e:["try"]});case"of":return f(e,{e:["case"]});case"after":return f(e,{e:["receive","try"]});default:return e}}function f(e,n){for(var r in n)for(var t=e.length-1,c=n[r],i=t-1;-1"?u(l.token,["receive","case","if","try"])?l.column+t+t:l.column+t:u(i.token,y)?i.column+i.token.length:(r=V(e),d(r)?r.column+t:0):0}function L(e){var n=e.match(/,|[a-z]+|\}|\]|\)|>>|\|+|\(/);return d(n)&&n.index===0?n[0]:""}function M(e){var n=e.tokenStack.slice(0,-1),r=k(n,"type",["open_paren"]);return d(n[r])?n[r]:!1}function V(e){var n=e.tokenStack,r=k(n,"type",["open_paren","separator","keyword"]),t=k(n,"type",["operator"]);return d(r)&&d(t)&&rt[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(n,o){(function(e){e(x,k())})(function(e){e.defineSimpleMode("factor",{start:[{regex:/#?!.*/,token:"comment"},{regex:/"""/,token:"string",next:"string3"},{regex:/(STRING:)(\s)/,token:["keyword",null],next:"string2"},{regex:/\S*?"/,token:"string",next:"string"},{regex:/(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\-?\d+.?\d*)(?=\s)/,token:"number"},{regex:/((?:GENERIC)|\:?\:)(\s+)(\S+)(\s+)(\()/,token:["keyword",null,"def",null,"bracket"],next:"stack"},{regex:/(M\:)(\s+)(\S+)(\s+)(\S+)/,token:["keyword",null,"def",null,"tag"]},{regex:/USING\:/,token:"keyword",next:"vocabulary"},{regex:/(USE\:|IN\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"tag"]},{regex:/(\S+\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"def"]},{regex:/(?:;|\\|t|f|if|loop|while|until|do|PRIVATE>|\.\*\?]+(?=\s|$)/,token:"builtin"},{regex:/[\)><]+\S+(?=\s|$)/,token:"builtin"},{regex:/(?:[\+\-\=\/\*<>])(?=\s|$)/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/\s+|./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"tag"},{regex:/\s+|./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string2:[{regex:/^;/,token:"keyword",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"bracket",next:"start"},{regex:/--/,token:"bracket"},{regex:/\S+/,token:"meta"},{regex:/\s+|./,token:null}],meta:{dontIndentStates:["start","vocabulary","string","string3","stack"],lineComment:"!"}}),e.defineMIME("text/x-factor","factor")})})();var g=l.exports;const c=a(g),u=i({__proto__:null,default:c},[g]);export{u as f}; +import{g as a,c as x,b as k}from"./index-rXwcQ1j1.js";function i(n,o){for(var e=0;et[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(n,o){(function(e){e(x,k())})(function(e){e.defineSimpleMode("factor",{start:[{regex:/#?!.*/,token:"comment"},{regex:/"""/,token:"string",next:"string3"},{regex:/(STRING:)(\s)/,token:["keyword",null],next:"string2"},{regex:/\S*?"/,token:"string",next:"string"},{regex:/(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\-?\d+.?\d*)(?=\s)/,token:"number"},{regex:/((?:GENERIC)|\:?\:)(\s+)(\S+)(\s+)(\()/,token:["keyword",null,"def",null,"bracket"],next:"stack"},{regex:/(M\:)(\s+)(\S+)(\s+)(\S+)/,token:["keyword",null,"def",null,"tag"]},{regex:/USING\:/,token:"keyword",next:"vocabulary"},{regex:/(USE\:|IN\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"tag"]},{regex:/(\S+\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"def"]},{regex:/(?:;|\\|t|f|if|loop|while|until|do|PRIVATE>|\.\*\?]+(?=\s|$)/,token:"builtin"},{regex:/[\)><]+\S+(?=\s|$)/,token:"builtin"},{regex:/(?:[\+\-\=\/\*<>])(?=\s|$)/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/\s+|./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"tag"},{regex:/\s+|./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string2:[{regex:/^;/,token:"keyword",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"bracket",next:"start"},{regex:/--/,token:"bracket"},{regex:/\S+/,token:"meta"},{regex:/\s+|./,token:null}],meta:{dontIndentStates:["start","vocabulary","string","string3","stack"],lineComment:"!"}}),e.defineMIME("text/x-factor","factor")})})();var g=l.exports;const c=a(g),u=i({__proto__:null,default:c},[g]);export{u as f}; diff --git a/dist-ui/assets/fcl-CZ8p5lKk.js b/dist-ui/assets/fcl-BwvxB4LC.js similarity index 97% rename from dist-ui/assets/fcl-CZ8p5lKk.js rename to dist-ui/assets/fcl-BwvxB4LC.js index 8abd156b..702be9b5 100644 --- a/dist-ui/assets/fcl-CZ8p5lKk.js +++ b/dist-ui/assets/fcl-BwvxB4LC.js @@ -1 +1 @@ -import{g,c as _}from"./index-CHg1vBCc.js";function E(c,a){for(var o=0;oi[u]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(c,a){(function(o){o(_)})(function(o){o.defineMode("fcl",function(i){var u=i.indentUnit,f={term:!0,method:!0,accu:!0,rule:!0,then:!0,is:!0,and:!0,or:!0,if:!0,default:!0},s={var_input:!0,var_output:!0,fuzzify:!0,defuzzify:!0,function_block:!0,ruleblock:!0},d={end_ruleblock:!0,end_defuzzify:!0,end_function_block:!0,end_fuzzify:!0,end_var:!0},k={true:!0,false:!0,nan:!0,real:!0,min:!0,max:!0,cog:!0,cogs:!0},x=/[+\-*&^%:=<>!|\/]/;function p(e,n){var t=e.next();if(/[\d\.]/.test(t))return t=="."?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):t=="0"?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(t=="/"||t=="("){if(e.eat("*"))return n.tokenize=b,b(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(x.test(t))return e.eatWhile(x),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current().toLowerCase();return f.propertyIsEnumerable(r)||s.propertyIsEnumerable(r)||d.propertyIsEnumerable(r)?"keyword":k.propertyIsEnumerable(r)?"atom":"variable"}function b(e,n){for(var t=!1,r;r=e.next();){if((r=="/"||r==")")&&t){n.tokenize=p;break}t=r=="*"}return"comment"}function m(e,n,t,r,l){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=l}function y(e,n,t){return e.context=new m(e.indented,n,t,null,e.context)}function h(e){if(e.context.prev){var n=e.context.type;return n=="end_block"&&(e.indented=e.context.indented),e.context=e.context.prev}}return{startState:function(e){return{tokenize:null,context:new m((e||0)-u,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;var r=(n.tokenize||p)(e,n);if(r=="comment")return r;t.align==null&&(t.align=!0);var l=e.current().toLowerCase();return s.propertyIsEnumerable(l)?y(n,e.column(),"end_block"):d.propertyIsEnumerable(l)&&h(n),n.startOfLine=!1,r},indent:function(e,n){if(e.tokenize!=p&&e.tokenize!=null)return 0;var t=e.context,r=d.propertyIsEnumerable(n);return t.align?t.column+(r?0:1):t.indented+(r?0:u)},electricChars:"ryk",fold:"brace",blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:"//"}}),o.defineMIME("text/x-fcl","fcl")})})();var v=z.exports;const C=g(v),O=E({__proto__:null,default:C},[v]);export{O as f}; +import{g,c as _}from"./index-rXwcQ1j1.js";function E(c,a){for(var o=0;oi[u]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(c,a){(function(o){o(_)})(function(o){o.defineMode("fcl",function(i){var u=i.indentUnit,f={term:!0,method:!0,accu:!0,rule:!0,then:!0,is:!0,and:!0,or:!0,if:!0,default:!0},s={var_input:!0,var_output:!0,fuzzify:!0,defuzzify:!0,function_block:!0,ruleblock:!0},d={end_ruleblock:!0,end_defuzzify:!0,end_function_block:!0,end_fuzzify:!0,end_var:!0},k={true:!0,false:!0,nan:!0,real:!0,min:!0,max:!0,cog:!0,cogs:!0},x=/[+\-*&^%:=<>!|\/]/;function p(e,n){var t=e.next();if(/[\d\.]/.test(t))return t=="."?e.match(/^[0-9]+([eE][\-+]?[0-9]+)?/):t=="0"?e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^0[0-7]+/):e.match(/^[0-9]*\.?[0-9]*([eE][\-+]?[0-9]+)?/),"number";if(t=="/"||t=="("){if(e.eat("*"))return n.tokenize=b,b(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(x.test(t))return e.eatWhile(x),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var r=e.current().toLowerCase();return f.propertyIsEnumerable(r)||s.propertyIsEnumerable(r)||d.propertyIsEnumerable(r)?"keyword":k.propertyIsEnumerable(r)?"atom":"variable"}function b(e,n){for(var t=!1,r;r=e.next();){if((r=="/"||r==")")&&t){n.tokenize=p;break}t=r=="*"}return"comment"}function m(e,n,t,r,l){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=l}function y(e,n,t){return e.context=new m(e.indented,n,t,null,e.context)}function h(e){if(e.context.prev){var n=e.context.type;return n=="end_block"&&(e.indented=e.context.indented),e.context=e.context.prev}}return{startState:function(e){return{tokenize:null,context:new m((e||0)-u,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;var r=(n.tokenize||p)(e,n);if(r=="comment")return r;t.align==null&&(t.align=!0);var l=e.current().toLowerCase();return s.propertyIsEnumerable(l)?y(n,e.column(),"end_block"):d.propertyIsEnumerable(l)&&h(n),n.startOfLine=!1,r},indent:function(e,n){if(e.tokenize!=p&&e.tokenize!=null)return 0;var t=e.context,r=d.propertyIsEnumerable(n);return t.align?t.column+(r?0:1):t.indented+(r?0:u)},electricChars:"ryk",fold:"brace",blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:"//"}}),o.defineMIME("text/x-fcl","fcl")})})();var v=z.exports;const C=g(v),O=E({__proto__:null,default:C},[v]);export{O as f}; diff --git a/dist-ui/assets/forth-CnszaCOu.js b/dist-ui/assets/forth-Dh9I33-m.js similarity index 98% rename from dist-ui/assets/forth-CnszaCOu.js rename to dist-ui/assets/forth-Dh9I33-m.js index 7c8952f8..23a76ca3 100644 --- a/dist-ui/assets/forth-CnszaCOu.js +++ b/dist-ui/assets/forth-Dh9I33-m.js @@ -1 +1 @@ -import{g as S,c as T}from"./index-CHg1vBCc.js";function A(O,a){for(var E=0;En[i]})}}}return Object.freeze(Object.defineProperty(O,Symbol.toStringTag,{value:"Module"}))}var L={exports:{}};(function(O,a){(function(E){E(T)})(function(E){function n(f){var r=[];return f.split(" ").forEach(function(e){r.push({name:e})}),r}var i=n("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),o=n("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");E.defineMode("forth",function(){function f(r,e){var t;for(t=r.length-1;t>=0;t--)if(r[t].name===e.toUpperCase())return r[t]}return{startState:function(){return{state:"",base:10,coreWordList:i,immediateWordList:o,wordList:[]}},token:function(r,e){var t;if(r.eatSpace())return null;if(e.state===""){if(r.match(/^(\]|:NONAME)(\s|$)/i))return e.state=" compilation","builtin compilation";if(t=r.match(/^(\:)\s+(\S+)(\s|$)+/),t)return e.wordList.push({name:t[2].toUpperCase()}),e.state=" compilation","def"+e.state;if(t=r.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i),t)return e.wordList.push({name:t[2].toUpperCase()}),"def"+e.state;if(t=r.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/),t)return"builtin"+e.state}else{if(r.match(/^(\;|\[)(\s)/))return e.state="",r.backUp(1),"builtin compilation";if(r.match(/^(\;|\[)($)/))return e.state="","builtin compilation";if(r.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}if(t=r.match(/^(\S+)(\s+|$)/),t)return f(e.wordList,t[1])!==void 0?"variable"+e.state:t[1]==="\\"?(r.skipToEnd(),"comment"+e.state):f(e.coreWordList,t[1])!==void 0?"builtin"+e.state:f(e.immediateWordList,t[1])!==void 0?"keyword"+e.state:t[1]==="("?(r.eatWhile(function(R){return R!==")"}),r.eat(")"),"comment"+e.state):t[1]===".("?(r.eatWhile(function(R){return R!==")"}),r.eat(")"),"string"+e.state):t[1]==='S"'||t[1]==='."'||t[1]==='C"'?(r.eatWhile(function(R){return R!=='"'}),r.eat('"'),"string"+e.state):t[1]-68719476735?"number"+e.state:"atom"+e.state}}}),E.defineMIME("text/x-forth","forth")})})();var u=L.exports;const D=S(u),c=A({__proto__:null,default:D},[u]);export{c as f}; +import{g as S,c as T}from"./index-rXwcQ1j1.js";function A(O,a){for(var E=0;En[i]})}}}return Object.freeze(Object.defineProperty(O,Symbol.toStringTag,{value:"Module"}))}var L={exports:{}};(function(O,a){(function(E){E(T)})(function(E){function n(f){var r=[];return f.split(" ").forEach(function(e){r.push({name:e})}),r}var i=n("INVERT AND OR XOR 2* 2/ LSHIFT RSHIFT 0= = 0< < > U< MIN MAX 2DROP 2DUP 2OVER 2SWAP ?DUP DEPTH DROP DUP OVER ROT SWAP >R R> R@ + - 1+ 1- ABS NEGATE S>D * M* UM* FM/MOD SM/REM UM/MOD */ */MOD / /MOD MOD HERE , @ ! CELL+ CELLS C, C@ C! CHARS 2@ 2! ALIGN ALIGNED +! ALLOT CHAR [CHAR] [ ] BL FIND EXECUTE IMMEDIATE COUNT LITERAL STATE ; DOES> >BODY EVALUATE SOURCE >IN <# # #S #> HOLD SIGN BASE >NUMBER HEX DECIMAL FILL MOVE . CR EMIT SPACE SPACES TYPE U. .R U.R ACCEPT TRUE FALSE <> U> 0<> 0> NIP TUCK ROLL PICK 2>R 2R@ 2R> WITHIN UNUSED MARKER I J TO COMPILE, [COMPILE] SAVE-INPUT RESTORE-INPUT PAD ERASE 2LITERAL DNEGATE D- D+ D0< D0= D2* D2/ D< D= DMAX DMIN D>S DABS M+ M*/ D. D.R 2ROT DU< CATCH THROW FREE RESIZE ALLOCATE CS-PICK CS-ROLL GET-CURRENT SET-CURRENT FORTH-WORDLIST GET-ORDER SET-ORDER PREVIOUS SEARCH-WORDLIST WORDLIST FIND ALSO ONLY FORTH DEFINITIONS ORDER -TRAILING /STRING SEARCH COMPARE CMOVE CMOVE> BLANK SLITERAL"),o=n("IF ELSE THEN BEGIN WHILE REPEAT UNTIL RECURSE [IF] [ELSE] [THEN] ?DO DO LOOP +LOOP UNLOOP LEAVE EXIT AGAIN CASE OF ENDOF ENDCASE");E.defineMode("forth",function(){function f(r,e){var t;for(t=r.length-1;t>=0;t--)if(r[t].name===e.toUpperCase())return r[t]}return{startState:function(){return{state:"",base:10,coreWordList:i,immediateWordList:o,wordList:[]}},token:function(r,e){var t;if(r.eatSpace())return null;if(e.state===""){if(r.match(/^(\]|:NONAME)(\s|$)/i))return e.state=" compilation","builtin compilation";if(t=r.match(/^(\:)\s+(\S+)(\s|$)+/),t)return e.wordList.push({name:t[2].toUpperCase()}),e.state=" compilation","def"+e.state;if(t=r.match(/^(VARIABLE|2VARIABLE|CONSTANT|2CONSTANT|CREATE|POSTPONE|VALUE|WORD)\s+(\S+)(\s|$)+/i),t)return e.wordList.push({name:t[2].toUpperCase()}),"def"+e.state;if(t=r.match(/^(\'|\[\'\])\s+(\S+)(\s|$)+/),t)return"builtin"+e.state}else{if(r.match(/^(\;|\[)(\s)/))return e.state="",r.backUp(1),"builtin compilation";if(r.match(/^(\;|\[)($)/))return e.state="","builtin compilation";if(r.match(/^(POSTPONE)\s+\S+(\s|$)+/))return"builtin"}if(t=r.match(/^(\S+)(\s+|$)/),t)return f(e.wordList,t[1])!==void 0?"variable"+e.state:t[1]==="\\"?(r.skipToEnd(),"comment"+e.state):f(e.coreWordList,t[1])!==void 0?"builtin"+e.state:f(e.immediateWordList,t[1])!==void 0?"keyword"+e.state:t[1]==="("?(r.eatWhile(function(R){return R!==")"}),r.eat(")"),"comment"+e.state):t[1]===".("?(r.eatWhile(function(R){return R!==")"}),r.eat(")"),"string"+e.state):t[1]==='S"'||t[1]==='."'||t[1]==='C"'?(r.eatWhile(function(R){return R!=='"'}),r.eat('"'),"string"+e.state):t[1]-68719476735?"number"+e.state:"atom"+e.state}}}),E.defineMIME("text/x-forth","forth")})})();var u=L.exports;const D=S(u),c=A({__proto__:null,default:D},[u]);export{c as f}; diff --git a/dist-ui/assets/fortran-DLzQJYhh.js b/dist-ui/assets/fortran-ohqMCNna.js similarity index 98% rename from dist-ui/assets/fortran-DLzQJYhh.js rename to dist-ui/assets/fortran-ohqMCNna.js index 9b07c657..89eaa318 100644 --- a/dist-ui/assets/fortran-DLzQJYhh.js +++ b/dist-ui/assets/fortran-ohqMCNna.js @@ -1 +1 @@ -import{g as h,c as x}from"./index-CHg1vBCc.js";function y(s,l){for(var i=0;ir[o]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var v={exports:{}};(function(s,l){(function(i){i(x)})(function(i){i.defineMode("fortran",function(){function r(t){for(var n={},e=0;e\/\:]/,m=/^\.(and|or|eq|lt|le|gt|ge|ne|not|eqv|neqv)\./i;function g(t,n){if(t.match(m))return"operator";var e=t.next();if(e=="!")return t.skipToEnd(),"comment";if(e=='"'||e=="'")return n.tokenize=b(e),n.tokenize(t,n);if(/[\[\]\(\),]/.test(e))return null;if(/\d/.test(e))return t.eatWhile(/[\w\.]/),"number";if(_.test(e))return t.eatWhile(_),"operator";t.eatWhile(/[\w\$_]/);var a=t.current().toLowerCase();return o.hasOwnProperty(a)?"keyword":c.hasOwnProperty(a)||p.hasOwnProperty(a)?"builtin":"variable"}function b(t){return function(n,e){for(var a=!1,d,u=!1;(d=n.next())!=null;){if(d==t&&!a){u=!0;break}a=!a&&d=="\\"}return(u||!a)&&(e.tokenize=null),"string"}}return{startState:function(){return{tokenize:null}},token:function(t,n){if(t.eatSpace())return null;var e=(n.tokenize||g)(t,n);return e=="comment"||e=="meta",e}}}),i.defineMIME("text/x-fortran","fortran")})})();var f=v.exports;const k=h(f),z=y({__proto__:null,default:k},[f]);export{z as f}; +import{g as h,c as x}from"./index-rXwcQ1j1.js";function y(s,l){for(var i=0;ir[o]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var v={exports:{}};(function(s,l){(function(i){i(x)})(function(i){i.defineMode("fortran",function(){function r(t){for(var n={},e=0;e\/\:]/,m=/^\.(and|or|eq|lt|le|gt|ge|ne|not|eqv|neqv)\./i;function g(t,n){if(t.match(m))return"operator";var e=t.next();if(e=="!")return t.skipToEnd(),"comment";if(e=='"'||e=="'")return n.tokenize=b(e),n.tokenize(t,n);if(/[\[\]\(\),]/.test(e))return null;if(/\d/.test(e))return t.eatWhile(/[\w\.]/),"number";if(_.test(e))return t.eatWhile(_),"operator";t.eatWhile(/[\w\$_]/);var a=t.current().toLowerCase();return o.hasOwnProperty(a)?"keyword":c.hasOwnProperty(a)||p.hasOwnProperty(a)?"builtin":"variable"}function b(t){return function(n,e){for(var a=!1,d,u=!1;(d=n.next())!=null;){if(d==t&&!a){u=!0;break}a=!a&&d=="\\"}return(u||!a)&&(e.tokenize=null),"string"}}return{startState:function(){return{tokenize:null}},token:function(t,n){if(t.eatSpace())return null;var e=(n.tokenize||g)(t,n);return e=="comment"||e=="meta",e}}}),i.defineMIME("text/x-fortran","fortran")})})();var f=v.exports;const k=h(f),z=y({__proto__:null,default:k},[f]);export{z as f}; diff --git a/dist-ui/assets/gas-BJvADs7P.js b/dist-ui/assets/gas-BD87IpR3.js similarity index 98% rename from dist-ui/assets/gas-BJvADs7P.js rename to dist-ui/assets/gas-BD87IpR3.js index 4fad81b0..ac349f3f 100644 --- a/dist-ui/assets/gas-BJvADs7P.js +++ b/dist-ui/assets/gas-BD87IpR3.js @@ -1 +1 @@ -import{g as w,c as y}from"./index-CHg1vBCc.js";function _(c,s){for(var b=0;bo[a]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var C={exports:{}};(function(c,s){(function(b){b(y)})(function(b){b.defineMode("gas",function(o,a){var u=[],v="",p={".abort":"builtin",".align":"builtin",".altmacro":"builtin",".ascii":"builtin",".asciz":"builtin",".balign":"builtin",".balignw":"builtin",".balignl":"builtin",".bundle_align_mode":"builtin",".bundle_lock":"builtin",".bundle_unlock":"builtin",".byte":"builtin",".cfi_startproc":"builtin",".comm":"builtin",".data":"builtin",".def":"builtin",".desc":"builtin",".dim":"builtin",".double":"builtin",".eject":"builtin",".else":"builtin",".elseif":"builtin",".end":"builtin",".endef":"builtin",".endfunc":"builtin",".endif":"builtin",".equ":"builtin",".equiv":"builtin",".eqv":"builtin",".err":"builtin",".error":"builtin",".exitm":"builtin",".extern":"builtin",".fail":"builtin",".file":"builtin",".fill":"builtin",".float":"builtin",".func":"builtin",".global":"builtin",".gnu_attribute":"builtin",".hidden":"builtin",".hword":"builtin",".ident":"builtin",".if":"builtin",".incbin":"builtin",".include":"builtin",".int":"builtin",".internal":"builtin",".irp":"builtin",".irpc":"builtin",".lcomm":"builtin",".lflags":"builtin",".line":"builtin",".linkonce":"builtin",".list":"builtin",".ln":"builtin",".loc":"builtin",".loc_mark_labels":"builtin",".local":"builtin",".long":"builtin",".macro":"builtin",".mri":"builtin",".noaltmacro":"builtin",".nolist":"builtin",".octa":"builtin",".offset":"builtin",".org":"builtin",".p2align":"builtin",".popsection":"builtin",".previous":"builtin",".print":"builtin",".protected":"builtin",".psize":"builtin",".purgem":"builtin",".pushsection":"builtin",".quad":"builtin",".reloc":"builtin",".rept":"builtin",".sbttl":"builtin",".scl":"builtin",".section":"builtin",".set":"builtin",".short":"builtin",".single":"builtin",".size":"builtin",".skip":"builtin",".sleb128":"builtin",".space":"builtin",".stab":"builtin",".string":"builtin",".struct":"builtin",".subsection":"builtin",".symver":"builtin",".tag":"builtin",".text":"builtin",".title":"builtin",".type":"builtin",".uleb128":"builtin",".val":"builtin",".version":"builtin",".vtable_entry":"builtin",".vtable_inherit":"builtin",".warning":"builtin",".weak":"builtin",".weakref":"builtin",".word":"builtin"},i={};function m(l){v="#",i.al="variable",i.ah="variable",i.ax="variable",i.eax="variable-2",i.rax="variable-3",i.bl="variable",i.bh="variable",i.bx="variable",i.ebx="variable-2",i.rbx="variable-3",i.cl="variable",i.ch="variable",i.cx="variable",i.ecx="variable-2",i.rcx="variable-3",i.dl="variable",i.dh="variable",i.dx="variable",i.edx="variable-2",i.rdx="variable-3",i.si="variable",i.esi="variable-2",i.rsi="variable-3",i.di="variable",i.edi="variable-2",i.rdi="variable-3",i.sp="variable",i.esp="variable-2",i.rsp="variable-3",i.bp="variable",i.ebp="variable-2",i.rbp="variable-3",i.ip="variable",i.eip="variable-2",i.rip="variable-3",i.cs="keyword",i.ds="keyword",i.ss="keyword",i.es="keyword",i.fs="keyword",i.gs="keyword"}function k(l){v="@",p.syntax="builtin",i.r0="variable",i.r1="variable",i.r2="variable",i.r3="variable",i.r4="variable",i.r5="variable",i.r6="variable",i.r7="variable",i.r8="variable",i.r9="variable",i.r10="variable",i.r11="variable",i.r12="variable",i.sp="variable-2",i.lr="variable-2",i.pc="variable-2",i.r13=i.sp,i.r14=i.lr,i.r15=i.pc,u.push(function(t,e){if(t==="#")return e.eatWhile(/\w/),"number"})}var f=(a.architecture||"x86").toLowerCase();f==="x86"?m():(f==="arm"||f==="armv6")&&k();function h(l,t){for(var e=!1,n;(n=l.next())!=null;){if(n===t&&!e)return!1;e=!e&&n==="\\"}return e}function g(l,t){for(var e=!1,n;(n=l.next())!=null;){if(n==="/"&&e){t.tokenize=null;break}e=n==="*"}return"comment"}return{startState:function(){return{tokenize:null}},token:function(l,t){if(t.tokenize)return t.tokenize(l,t);if(l.eatSpace())return null;var e,n,r=l.next();if(r==="/"&&l.eat("*"))return t.tokenize=g,g(l,t);if(r===v)return l.skipToEnd(),"comment";if(r==='"')return h(l,'"'),"string";if(r===".")return l.eatWhile(/\w/),n=l.current().toLowerCase(),e=p[n],e||null;if(r==="=")return l.eatWhile(/\w/),"tag";if(r==="{"||r==="}")return"bracket";if(/\d/.test(r))return r==="0"&&l.eat("x")?(l.eatWhile(/[0-9a-fA-F]/),"number"):(l.eatWhile(/\d/),"number");if(/\w/.test(r))return l.eatWhile(/\w/),l.eat(":")?"tag":(n=l.current().toLowerCase(),e=i[n],e||null);for(var d=0;do[a]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var C={exports:{}};(function(c,s){(function(b){b(y)})(function(b){b.defineMode("gas",function(o,a){var u=[],v="",p={".abort":"builtin",".align":"builtin",".altmacro":"builtin",".ascii":"builtin",".asciz":"builtin",".balign":"builtin",".balignw":"builtin",".balignl":"builtin",".bundle_align_mode":"builtin",".bundle_lock":"builtin",".bundle_unlock":"builtin",".byte":"builtin",".cfi_startproc":"builtin",".comm":"builtin",".data":"builtin",".def":"builtin",".desc":"builtin",".dim":"builtin",".double":"builtin",".eject":"builtin",".else":"builtin",".elseif":"builtin",".end":"builtin",".endef":"builtin",".endfunc":"builtin",".endif":"builtin",".equ":"builtin",".equiv":"builtin",".eqv":"builtin",".err":"builtin",".error":"builtin",".exitm":"builtin",".extern":"builtin",".fail":"builtin",".file":"builtin",".fill":"builtin",".float":"builtin",".func":"builtin",".global":"builtin",".gnu_attribute":"builtin",".hidden":"builtin",".hword":"builtin",".ident":"builtin",".if":"builtin",".incbin":"builtin",".include":"builtin",".int":"builtin",".internal":"builtin",".irp":"builtin",".irpc":"builtin",".lcomm":"builtin",".lflags":"builtin",".line":"builtin",".linkonce":"builtin",".list":"builtin",".ln":"builtin",".loc":"builtin",".loc_mark_labels":"builtin",".local":"builtin",".long":"builtin",".macro":"builtin",".mri":"builtin",".noaltmacro":"builtin",".nolist":"builtin",".octa":"builtin",".offset":"builtin",".org":"builtin",".p2align":"builtin",".popsection":"builtin",".previous":"builtin",".print":"builtin",".protected":"builtin",".psize":"builtin",".purgem":"builtin",".pushsection":"builtin",".quad":"builtin",".reloc":"builtin",".rept":"builtin",".sbttl":"builtin",".scl":"builtin",".section":"builtin",".set":"builtin",".short":"builtin",".single":"builtin",".size":"builtin",".skip":"builtin",".sleb128":"builtin",".space":"builtin",".stab":"builtin",".string":"builtin",".struct":"builtin",".subsection":"builtin",".symver":"builtin",".tag":"builtin",".text":"builtin",".title":"builtin",".type":"builtin",".uleb128":"builtin",".val":"builtin",".version":"builtin",".vtable_entry":"builtin",".vtable_inherit":"builtin",".warning":"builtin",".weak":"builtin",".weakref":"builtin",".word":"builtin"},i={};function m(l){v="#",i.al="variable",i.ah="variable",i.ax="variable",i.eax="variable-2",i.rax="variable-3",i.bl="variable",i.bh="variable",i.bx="variable",i.ebx="variable-2",i.rbx="variable-3",i.cl="variable",i.ch="variable",i.cx="variable",i.ecx="variable-2",i.rcx="variable-3",i.dl="variable",i.dh="variable",i.dx="variable",i.edx="variable-2",i.rdx="variable-3",i.si="variable",i.esi="variable-2",i.rsi="variable-3",i.di="variable",i.edi="variable-2",i.rdi="variable-3",i.sp="variable",i.esp="variable-2",i.rsp="variable-3",i.bp="variable",i.ebp="variable-2",i.rbp="variable-3",i.ip="variable",i.eip="variable-2",i.rip="variable-3",i.cs="keyword",i.ds="keyword",i.ss="keyword",i.es="keyword",i.fs="keyword",i.gs="keyword"}function k(l){v="@",p.syntax="builtin",i.r0="variable",i.r1="variable",i.r2="variable",i.r3="variable",i.r4="variable",i.r5="variable",i.r6="variable",i.r7="variable",i.r8="variable",i.r9="variable",i.r10="variable",i.r11="variable",i.r12="variable",i.sp="variable-2",i.lr="variable-2",i.pc="variable-2",i.r13=i.sp,i.r14=i.lr,i.r15=i.pc,u.push(function(t,e){if(t==="#")return e.eatWhile(/\w/),"number"})}var f=(a.architecture||"x86").toLowerCase();f==="x86"?m():(f==="arm"||f==="armv6")&&k();function h(l,t){for(var e=!1,n;(n=l.next())!=null;){if(n===t&&!e)return!1;e=!e&&n==="\\"}return e}function g(l,t){for(var e=!1,n;(n=l.next())!=null;){if(n==="/"&&e){t.tokenize=null;break}e=n==="*"}return"comment"}return{startState:function(){return{tokenize:null}},token:function(l,t){if(t.tokenize)return t.tokenize(l,t);if(l.eatSpace())return null;var e,n,r=l.next();if(r==="/"&&l.eat("*"))return t.tokenize=g,g(l,t);if(r===v)return l.skipToEnd(),"comment";if(r==='"')return h(l,'"'),"string";if(r===".")return l.eatWhile(/\w/),n=l.current().toLowerCase(),e=p[n],e||null;if(r==="=")return l.eatWhile(/\w/),"tag";if(r==="{"||r==="}")return"bracket";if(/\d/.test(r))return r==="0"&&l.eat("x")?(l.eatWhile(/[0-9a-fA-F]/),"number"):(l.eatWhile(/\d/),"number");if(/\w/.test(r))return l.eatWhile(/\w/),l.eat(":")?"tag":(n=l.current().toLowerCase(),e=i[n],e||null);for(var d=0;do[r]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(a,c){(function(t){t(b,v(),h())})(function(t){var o=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;t.defineMode("gfm",function(r,i){var p=0;function d(e){return e.code=!1,null}var m={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(e){return{code:e.code,codeBlock:e.codeBlock,ateSpace:e.ateSpace}},token:function(e,n){if(n.combineTokens=null,n.codeBlock)return e.match(/^```+/)?(n.codeBlock=!1,null):(e.skipToEnd(),null);if(e.sol()&&(n.code=!1),e.sol()&&e.match(/^```+/))return e.skipToEnd(),n.codeBlock=!0,null;if(e.peek()==="`"){e.next();var g=e.pos;e.eatWhile("`");var f=1+e.pos-g;return n.code?f===p&&(n.code=!1):(p=f,n.code=!0),null}else if(n.code)return e.next(),null;if(e.eatSpace())return n.ateSpace=!0,null;if((e.sol()||n.ateSpace)&&(n.ateSpace=!1,i.gitHubSpice!==!1)){if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return n.combineTokens=!0,"link";if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return n.combineTokens=!0,"link"}return e.match(o)&&e.string.slice(e.start-2,e.start)!="]("&&(e.start==0||/\W/.test(e.string.charAt(e.start-1)))?(n.combineTokens=!0,"link"):(e.next(),null)},blankLine:d},s={taskLists:!0,strikethrough:!0,emoji:!0};for(var l in i)s[l]=i[l];return s.name="markdown",t.overlayMode(t.getMode(r,s),m)},"markdown"),t.defineMIME("text/x-gfm","gfm")})})();var u=y.exports;const w=k(u),_=x({__proto__:null,default:w},[u]);export{_ as g}; +import{g as k,c as b}from"./index-rXwcQ1j1.js";import{r as v}from"./markdown-Ci5MD4xz.js";import{r as h}from"./overlay-DtxTNIBP.js";function x(a,c){for(var t=0;to[r]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(a,c){(function(t){t(b,v(),h())})(function(t){var o=/^((?:(?:aaas?|about|acap|adiumxtra|af[ps]|aim|apt|attachment|aw|beshare|bitcoin|bolo|callto|cap|chrome(?:-extension)?|cid|coap|com-eventbrite-attendee|content|crid|cvs|data|dav|dict|dlna-(?:playcontainer|playsingle)|dns|doi|dtn|dvb|ed2k|facetime|feed|file|finger|fish|ftp|geo|gg|git|gizmoproject|go|gopher|gtalk|h323|hcp|https?|iax|icap|icon|im|imap|info|ipn|ipp|irc[6s]?|iris(?:\.beep|\.lwz|\.xpc|\.xpcs)?|itms|jar|javascript|jms|keyparc|lastfm|ldaps?|magnet|mailto|maps|market|message|mid|mms|ms-help|msnim|msrps?|mtqp|mumble|mupdate|mvn|news|nfs|nih?|nntp|notes|oid|opaquelocktoken|palm|paparazzi|platform|pop|pres|proxy|psyc|query|res(?:ource)?|rmi|rsync|rtmp|rtsp|secondlife|service|session|sftp|sgn|shttp|sieve|sips?|skype|sm[bs]|snmp|soap\.beeps?|soldat|spotify|ssh|steam|svn|tag|teamspeak|tel(?:net)?|tftp|things|thismessage|tip|tn3270|tv|udp|unreal|urn|ut2004|vemmi|ventrilo|view-source|webcal|wss?|wtai|wyciwyg|xcon(?:-userid)?|xfire|xmlrpc\.beeps?|xmpp|xri|ymsgr|z39\.50[rs]?):(?:\/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}\/)(?:[^\s()<>]|\([^\s()<>]*\))+(?:\([^\s()<>]*\)|[^\s`*!()\[\]{};:'".,<>?«»“”‘’]))/i;t.defineMode("gfm",function(r,i){var p=0;function d(e){return e.code=!1,null}var m={startState:function(){return{code:!1,codeBlock:!1,ateSpace:!1}},copyState:function(e){return{code:e.code,codeBlock:e.codeBlock,ateSpace:e.ateSpace}},token:function(e,n){if(n.combineTokens=null,n.codeBlock)return e.match(/^```+/)?(n.codeBlock=!1,null):(e.skipToEnd(),null);if(e.sol()&&(n.code=!1),e.sol()&&e.match(/^```+/))return e.skipToEnd(),n.codeBlock=!0,null;if(e.peek()==="`"){e.next();var g=e.pos;e.eatWhile("`");var f=1+e.pos-g;return n.code?f===p&&(n.code=!1):(p=f,n.code=!0),null}else if(n.code)return e.next(),null;if(e.eatSpace())return n.ateSpace=!0,null;if((e.sol()||n.ateSpace)&&(n.ateSpace=!1,i.gitHubSpice!==!1)){if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+@)?(?=.{0,6}\d)(?:[a-f0-9]{7,40}\b)/))return n.combineTokens=!0,"link";if(e.match(/^(?:[a-zA-Z0-9\-_]+\/)?(?:[a-zA-Z0-9\-_]+)?#[0-9]+\b/))return n.combineTokens=!0,"link"}return e.match(o)&&e.string.slice(e.start-2,e.start)!="]("&&(e.start==0||/\W/.test(e.string.charAt(e.start-1)))?(n.combineTokens=!0,"link"):(e.next(),null)},blankLine:d},s={taskLists:!0,strikethrough:!0,emoji:!0};for(var l in i)s[l]=i[l];return s.name="markdown",t.overlayMode(t.getMode(r,s),m)},"markdown"),t.defineMIME("text/x-gfm","gfm")})})();var u=y.exports;const w=k(u),_=x({__proto__:null,default:w},[u]);export{_ as g}; diff --git a/dist-ui/assets/gherkin-PRnSAK5P.js b/dist-ui/assets/gherkin-CILK4XJC.js similarity index 99% rename from dist-ui/assets/gherkin-PRnSAK5P.js rename to dist-ui/assets/gherkin-CILK4XJC.js index 24aad6c2..d2d9c961 100644 --- a/dist-ui/assets/gherkin-PRnSAK5P.js +++ b/dist-ui/assets/gherkin-CILK4XJC.js @@ -1 +1 @@ -import{g as t,c as u}from"./index-CHg1vBCc.js";function d(i,r){for(var a=0;an[e]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var c={exports:{}};(function(i,r){(function(a){a(u)})(function(a){a.defineMode("gherkin",function(){return{startState:function(){return{lineNumber:0,tableHeaderLine:!1,allowFeature:!0,allowBackground:!1,allowScenario:!1,allowSteps:!1,allowPlaceholders:!1,allowMultilineArgument:!1,inMultilineString:!1,inMultilineTable:!1,inKeywordLine:!1}},token:function(n,e){if(n.sol()&&(e.lineNumber++,e.inKeywordLine=!1,e.inMultilineTable&&(e.tableHeaderLine=!1,n.match(/\s*\|/,!1)||(e.allowMultilineArgument=!1,e.inMultilineTable=!1))),n.eatSpace(),e.allowMultilineArgument){if(e.inMultilineString)return n.match('"""')?(e.inMultilineString=!1,e.allowMultilineArgument=!1):n.match(/.*/),"string";if(e.inMultilineTable)return n.match(/\|\s*/)?"bracket":(n.match(/[^\|]*/),e.tableHeaderLine?"header":"string");if(n.match('"""'))return e.inMultilineString=!0,"string";if(n.match("|"))return e.inMultilineTable=!0,e.tableHeaderLine=!0,"bracket"}return n.match(/#.*/)?"comment":!e.inKeywordLine&&n.match(/@\S+/)?"tag":!e.inKeywordLine&&e.allowFeature&&n.match(/(機能|功能|フィーチャ|기능|โครงหลัก|ความสามารถ|ความต้องการทางธุรกิจ|ಹೆಚ್ಚಳ|గుణము|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ|ਖਾਸੀਅਤ|रूप लेख|وِیژگی|خاصية|תכונה|Функціонал|Функция|Функционалност|Функционал|Үзенчәлеклелек|Свойство|Особина|Мөмкинлек|Могућност|Λειτουργία|Δυνατότητα|Właściwość|Vlastnosť|Trajto|Tính năng|Savybė|Pretty much|Požiadavka|Požadavek|Potrzeba biznesowa|Özellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Hwæt|Hwaet|Funzionalità|Funktionalitéit|Funktionalität|Funkcja|Funkcionalnost|Funkcionalitāte|Funkcia|Fungsi|Functionaliteit|Funcționalitate|Funcţionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Fīča|Feature|Eiginleiki|Egenskap|Egenskab|Característica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/)?(e.allowScenario=!0,e.allowBackground=!0,e.allowPlaceholders=!1,e.allowSteps=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowBackground&&n.match(/(背景|배경|แนวคิด|ಹಿನ್ನೆಲೆ|నేపథ్యం|ਪਿਛੋਕੜ|पृष्ठभूमि|زمینه|الخلفية|רקע|Тарих|Предыстория|Предистория|Позадина|Передумова|Основа|Контекст|Кереш|Υπόβαθρο|Założenia|Yo\-ho\-ho|Tausta|Taust|Situācija|Rerefons|Pozadina|Pozadie|Pozadí|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|Háttér|Hannergrond|Grundlage|Geçmiş|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cenário de Fundo|Cenario de Fundo|Cefndir|Bối cảnh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|Ær|Aer|Achtergrond):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&n.match(/(場景大綱|场景大纲|劇本大綱|剧本大纲|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|시나리오 개요|สรุปเหตุการณ์|โครงสร้างของเหตุการณ์|ವಿವರಣೆ|కథనం|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ|परिदृश्य रूपरेखा|سيناريو مخطط|الگوی سناریو|תבנית תרחיש|Сценарийның төзелеше|Сценарий структураси|Структура сценарію|Структура сценария|Структура сценарија|Скица|Рамка на сценарий|Концепт|Περιγραφή Σεναρίου|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hwær swa|Swa hwaer swa|Struktura scenarija|Structură scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo taslağı|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scenārijs pēc parauga|Scenarijaus šablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Scénario|Plan du scénario|Osnova scénáře|Osnova Scenára|Náčrt Scenáru|Náčrt Scénáře|Náčrt Scenára|MISHUN SRSLY|Menggariskan Senario|Lýsing Dæma|Lýsing Atburðarásar|Konturo de la scenaro|Koncept|Khung tình huống|Khung kịch bản|Forgatókönyv vázlat|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delineação do Cenário|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/)?(e.allowPlaceholders=!0,e.allowSteps=!0,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):e.allowScenario&&n.match(/(例子|例|サンプル|예|ชุดของเหตุการณ์|ชุดของตัวอย่าง|ಉದಾಹರಣೆಗಳು|ఉదాహరణలు|ਉਦਾਹਰਨਾਂ|उदाहरण|نمونه ها|امثلة|דוגמאות|Үрнәкләр|Сценарији|Примеры|Примери|Приклади|Мисоллар|Мисаллар|Σενάρια|Παραδείγματα|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se þe|Se the|Se ðe|Scenarios|Scenariji|Scenarijai|Przykłady|Primjeri|Primeri|Příklady|Príklady|Piemēri|Példák|Pavyzdžiai|Paraugs|Örnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|Dữ liệu|Dead men tell no tales|Dæmi|Contoh|Cenários|Cenarios|Beispiller|Beispiele|Atburðarásir):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&n.match(/(場景|场景|劇本|剧本|シナリオ|시나리오|เหตุการณ์|ಕಥಾಸಾರಾಂಶ|సన్నివేశం|ਪਟਕਥਾ|परिदृश्य|سيناريو|سناریو|תרחיש|Сценарій|Сценарио|Сценарий|Пример|Σενάριο|Tình huống|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Scénario|Scenario|Scenarijus|Scenārijs|Scenarij|Scenarie|Scénář|Scenár|Primer|MISHUN|Kịch bản|Keadaan|Heave to|Forgatókönyv|Escenario|Escenari|Cenário|Cenario|Awww, look mate|Atburðarás):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowSteps&&n.match(/(那麼|那么|而且|當|当|并且|同時|同时|前提|假设|假設|假定|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|하지만|조건|먼저|만일|만약|단|그리고|그러면|และ |เมื่อ |แต่ |ดังนั้น |กำหนดให้ |ಸ್ಥಿತಿಯನ್ನು |ಮತ್ತು |ನೀಡಿದ |ನಂತರ |ಆದರೆ |మరియు |చెప్పబడినది |కాని |ఈ పరిస్థితిలో |అప్పుడు |ਪਰ |ਤਦ |ਜੇਕਰ |ਜਿਵੇਂ ਕਿ |ਜਦੋਂ |ਅਤੇ |यदि |परन्तु |पर |तब |तदा |तथा |जब |चूंकि |किन्तु |कदा |और |अगर |و |هنگامی |متى |لكن |عندما |ثم |بفرض |با فرض |اما |اذاً |آنگاه |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Һәм |Унда |Тоді |Тогда |То |Также |Та |Пусть |Припустимо, що |Припустимо |Онда |Но |Нехай |Нәтиҗәдә |Лекин |Ләкин |Коли |Когда |Когато |Када |Кад |К тому же |І |И |Задато |Задати |Задате |Если |Допустим |Дано |Дадено |Вә |Ва |Бирок |Әмма |Әйтик |Әгәр |Аммо |Али |Але |Агар |А також |А |Τότε |Όταν |Και |Δεδομένου |Αλλά |Þurh |Þegar |Þa þe |Þá |Þa |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Za předpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |Và |Und |Un |ugeholl |Too right |Thurh |Thì |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |Și |Şi |Si |Sed |Se |Så |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nhưng |När |Når |Mutta |Men |Mas |Maka |Majd |Mając |Mais |Maar |mä |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Keď |Když |Kaj |Kai |Kada |Kad |Jeżeli |Jeśli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |Étant donnés |Etant donnés |Étant données |Etant données |Étant donnée |Etant donnée |Étant donné |Etant donné |Et |És |Entonces |Entón |Então |Entao |En |Eğer ki |Ef |Eeldades |E |Ðurh |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Dați fiind |Daţi fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |Ða ðe |Ða |Cuando |Cho |Cando |Când |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Biết |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |Atès |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A zároveň |A tiež |A taktiež |A také |A |a |7 |\* )/)?(e.inStep=!0,e.allowPlaceholders=!0,e.allowMultilineArgument=!0,e.inKeywordLine=!0,"keyword"):n.match(/"[^"]*"?/)?"string":e.allowPlaceholders&&n.match(/<[^>]*>?/)?"variable":(n.next(),n.eatWhile(/[^@"<#]/),null)}}}),a.defineMIME("text/x-feature","gherkin")})})();var o=c.exports;const s=t(o),h=d({__proto__:null,default:s},[o]);export{h as g}; +import{g as t,c as u}from"./index-rXwcQ1j1.js";function d(i,r){for(var a=0;an[e]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var c={exports:{}};(function(i,r){(function(a){a(u)})(function(a){a.defineMode("gherkin",function(){return{startState:function(){return{lineNumber:0,tableHeaderLine:!1,allowFeature:!0,allowBackground:!1,allowScenario:!1,allowSteps:!1,allowPlaceholders:!1,allowMultilineArgument:!1,inMultilineString:!1,inMultilineTable:!1,inKeywordLine:!1}},token:function(n,e){if(n.sol()&&(e.lineNumber++,e.inKeywordLine=!1,e.inMultilineTable&&(e.tableHeaderLine=!1,n.match(/\s*\|/,!1)||(e.allowMultilineArgument=!1,e.inMultilineTable=!1))),n.eatSpace(),e.allowMultilineArgument){if(e.inMultilineString)return n.match('"""')?(e.inMultilineString=!1,e.allowMultilineArgument=!1):n.match(/.*/),"string";if(e.inMultilineTable)return n.match(/\|\s*/)?"bracket":(n.match(/[^\|]*/),e.tableHeaderLine?"header":"string");if(n.match('"""'))return e.inMultilineString=!0,"string";if(n.match("|"))return e.inMultilineTable=!0,e.tableHeaderLine=!0,"bracket"}return n.match(/#.*/)?"comment":!e.inKeywordLine&&n.match(/@\S+/)?"tag":!e.inKeywordLine&&e.allowFeature&&n.match(/(機能|功能|フィーチャ|기능|โครงหลัก|ความสามารถ|ความต้องการทางธุรกิจ|ಹೆಚ್ಚಳ|గుణము|ਮੁਹਾਂਦਰਾ|ਨਕਸ਼ ਨੁਹਾਰ|ਖਾਸੀਅਤ|रूप लेख|وِیژگی|خاصية|תכונה|Функціонал|Функция|Функционалност|Функционал|Үзенчәлеклелек|Свойство|Особина|Мөмкинлек|Могућност|Λειτουργία|Δυνατότητα|Właściwość|Vlastnosť|Trajto|Tính năng|Savybė|Pretty much|Požiadavka|Požadavek|Potrzeba biznesowa|Özellik|Osobina|Ominaisuus|Omadus|OH HAI|Mogućnost|Mogucnost|Jellemző|Hwæt|Hwaet|Funzionalità|Funktionalitéit|Funktionalität|Funkcja|Funkcionalnost|Funkcionalitāte|Funkcia|Fungsi|Functionaliteit|Funcționalitate|Funcţionalitate|Functionalitate|Funcionalitat|Funcionalidade|Fonctionnalité|Fitur|Fīča|Feature|Eiginleiki|Egenskap|Egenskab|Característica|Caracteristica|Business Need|Aspekt|Arwedd|Ahoy matey!|Ability):/)?(e.allowScenario=!0,e.allowBackground=!0,e.allowPlaceholders=!1,e.allowSteps=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowBackground&&n.match(/(背景|배경|แนวคิด|ಹಿನ್ನೆಲೆ|నేపథ్యం|ਪਿਛੋਕੜ|पृष्ठभूमि|زمینه|الخلفية|רקע|Тарих|Предыстория|Предистория|Позадина|Передумова|Основа|Контекст|Кереш|Υπόβαθρο|Założenia|Yo\-ho\-ho|Tausta|Taust|Situācija|Rerefons|Pozadina|Pozadie|Pozadí|Osnova|Latar Belakang|Kontext|Konteksts|Kontekstas|Kontekst|Háttér|Hannergrond|Grundlage|Geçmiş|Fundo|Fono|First off|Dis is what went down|Dasar|Contexto|Contexte|Context|Contesto|Cenário de Fundo|Cenario de Fundo|Cefndir|Bối cảnh|Bakgrunnur|Bakgrunn|Bakgrund|Baggrund|Background|B4|Antecedents|Antecedentes|Ær|Aer|Achtergrond):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&n.match(/(場景大綱|场景大纲|劇本大綱|剧本大纲|テンプレ|シナリオテンプレート|シナリオテンプレ|シナリオアウトライン|시나리오 개요|สรุปเหตุการณ์|โครงสร้างของเหตุการณ์|ವಿವರಣೆ|కథనం|ਪਟਕਥਾ ਰੂਪ ਰੇਖਾ|ਪਟਕਥਾ ਢਾਂਚਾ|परिदृश्य रूपरेखा|سيناريو مخطط|الگوی سناریو|תבנית תרחיש|Сценарийның төзелеше|Сценарий структураси|Структура сценарію|Структура сценария|Структура сценарија|Скица|Рамка на сценарий|Концепт|Περιγραφή Σεναρίου|Wharrimean is|Template Situai|Template Senario|Template Keadaan|Tapausaihio|Szenariogrundriss|Szablon scenariusza|Swa hwær swa|Swa hwaer swa|Struktura scenarija|Structură scenariu|Structura scenariu|Skica|Skenario konsep|Shiver me timbers|Senaryo taslağı|Schema dello scenario|Scenariomall|Scenariomal|Scenario Template|Scenario Outline|Scenario Amlinellol|Scenārijs pēc parauga|Scenarijaus šablonas|Reckon it's like|Raamstsenaarium|Plang vum Szenario|Plan du Scénario|Plan du scénario|Osnova scénáře|Osnova Scenára|Náčrt Scenáru|Náčrt Scénáře|Náčrt Scenára|MISHUN SRSLY|Menggariskan Senario|Lýsing Dæma|Lýsing Atburðarásar|Konturo de la scenaro|Koncept|Khung tình huống|Khung kịch bản|Forgatókönyv vázlat|Esquema do Cenário|Esquema do Cenario|Esquema del escenario|Esquema de l'escenari|Esbozo do escenario|Delineação do Cenário|Delineacao do Cenario|All y'all|Abstrakt Scenario|Abstract Scenario):/)?(e.allowPlaceholders=!0,e.allowSteps=!0,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):e.allowScenario&&n.match(/(例子|例|サンプル|예|ชุดของเหตุการณ์|ชุดของตัวอย่าง|ಉದಾಹರಣೆಗಳು|ఉదాహరణలు|ਉਦਾਹਰਨਾਂ|उदाहरण|نمونه ها|امثلة|דוגמאות|Үрнәкләр|Сценарији|Примеры|Примери|Приклади|Мисоллар|Мисаллар|Σενάρια|Παραδείγματα|You'll wanna|Voorbeelden|Variantai|Tapaukset|Se þe|Se the|Se ðe|Scenarios|Scenariji|Scenarijai|Przykłady|Primjeri|Primeri|Příklady|Príklady|Piemēri|Példák|Pavyzdžiai|Paraugs|Örnekler|Juhtumid|Exemplos|Exemples|Exemple|Exempel|EXAMPLZ|Examples|Esempi|Enghreifftiau|Ekzemploj|Eksempler|Ejemplos|Dữ liệu|Dead men tell no tales|Dæmi|Contoh|Cenários|Cenarios|Beispiller|Beispiele|Atburðarásir):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!0,"keyword"):!e.inKeywordLine&&e.allowScenario&&n.match(/(場景|场景|劇本|剧本|シナリオ|시나리오|เหตุการณ์|ಕಥಾಸಾರಾಂಶ|సన్నివేశం|ਪਟਕਥਾ|परिदृश्य|سيناريو|سناریو|תרחיש|Сценарій|Сценарио|Сценарий|Пример|Σενάριο|Tình huống|The thing of it is|Tapaus|Szenario|Swa|Stsenaarium|Skenario|Situai|Senaryo|Senario|Scenaro|Scenariusz|Scenariu|Scénario|Scenario|Scenarijus|Scenārijs|Scenarij|Scenarie|Scénář|Scenár|Primer|MISHUN|Kịch bản|Keadaan|Heave to|Forgatókönyv|Escenario|Escenari|Cenário|Cenario|Awww, look mate|Atburðarás):/)?(e.allowPlaceholders=!1,e.allowSteps=!0,e.allowBackground=!1,e.allowMultilineArgument=!1,e.inKeywordLine=!0,"keyword"):!e.inKeywordLine&&e.allowSteps&&n.match(/(那麼|那么|而且|當|当|并且|同時|同时|前提|假设|假設|假定|假如|但是|但し|並且|もし|ならば|ただし|しかし|かつ|하지만|조건|먼저|만일|만약|단|그리고|그러면|และ |เมื่อ |แต่ |ดังนั้น |กำหนดให้ |ಸ್ಥಿತಿಯನ್ನು |ಮತ್ತು |ನೀಡಿದ |ನಂತರ |ಆದರೆ |మరియు |చెప్పబడినది |కాని |ఈ పరిస్థితిలో |అప్పుడు |ਪਰ |ਤਦ |ਜੇਕਰ |ਜਿਵੇਂ ਕਿ |ਜਦੋਂ |ਅਤੇ |यदि |परन्तु |पर |तब |तदा |तथा |जब |चूंकि |किन्तु |कदा |और |अगर |و |هنگامی |متى |لكن |عندما |ثم |بفرض |با فرض |اما |اذاً |آنگاه |כאשר |וגם |בהינתן |אזי |אז |אבל |Якщо |Һәм |Унда |Тоді |Тогда |То |Также |Та |Пусть |Припустимо, що |Припустимо |Онда |Но |Нехай |Нәтиҗәдә |Лекин |Ләкин |Коли |Когда |Когато |Када |Кад |К тому же |І |И |Задато |Задати |Задате |Если |Допустим |Дано |Дадено |Вә |Ва |Бирок |Әмма |Әйтик |Әгәр |Аммо |Али |Але |Агар |А також |А |Τότε |Όταν |Και |Δεδομένου |Αλλά |Þurh |Þegar |Þa þe |Þá |Þa |Zatati |Zakładając |Zadato |Zadate |Zadano |Zadani |Zadan |Za předpokladu |Za predpokladu |Youse know when youse got |Youse know like when |Yna |Yeah nah |Y'know |Y |Wun |Wtedy |When y'all |When |Wenn |WEN |wann |Ve |Và |Und |Un |ugeholl |Too right |Thurh |Thì |Then y'all |Then |Tha the |Tha |Tetapi |Tapi |Tak |Tada |Tad |Stel |Soit |Siis |Și |Şi |Si |Sed |Se |Så |Quando |Quand |Quan |Pryd |Potom |Pokud |Pokiaľ |Però |Pero |Pak |Oraz |Onda |Ond |Oletetaan |Og |Och |O zaman |Niin |Nhưng |När |Når |Mutta |Men |Mas |Maka |Majd |Mając |Mais |Maar |mä |Ma |Lorsque |Lorsqu'|Logo |Let go and haul |Kun |Kuid |Kui |Kiedy |Khi |Ketika |Kemudian |Keď |Když |Kaj |Kai |Kada |Kad |Jeżeli |Jeśli |Ja |It's just unbelievable |Ir |I CAN HAZ |I |Ha |Givun |Givet |Given y'all |Given |Gitt |Gegeven |Gegeben seien |Gegeben sei |Gdy |Gangway! |Fakat |Étant donnés |Etant donnés |Étant données |Etant données |Étant donnée |Etant donnée |Étant donné |Etant donné |Et |És |Entonces |Entón |Então |Entao |En |Eğer ki |Ef |Eeldades |E |Ðurh |Duota |Dun |Donitaĵo |Donat |Donada |Do |Diyelim ki |Diberi |Dengan |Den youse gotta |DEN |De |Dato |Dați fiind |Daţi fiind |Dati fiind |Dati |Date fiind |Date |Data |Dat fiind |Dar |Dann |dann |Dan |Dados |Dado |Dadas |Dada |Ða ðe |Ða |Cuando |Cho |Cando |Când |Cand |Cal |But y'all |But at the end of the day I reckon |BUT |But |Buh |Blimey! |Biết |Bet |Bagi |Aye |awer |Avast! |Atunci |Atesa |Atès |Apabila |Anrhegedig a |Angenommen |And y'all |And |AN |An |an |Amikor |Amennyiben |Ama |Als |Alors |Allora |Ali |Aleshores |Ale |Akkor |Ak |Adott |Ac |Aber |A zároveň |A tiež |A taktiež |A také |A |a |7 |\* )/)?(e.inStep=!0,e.allowPlaceholders=!0,e.allowMultilineArgument=!0,e.inKeywordLine=!0,"keyword"):n.match(/"[^"]*"?/)?"string":e.allowPlaceholders&&n.match(/<[^>]*>?/)?"variable":(n.next(),n.eatWhile(/[^@"<#]/),null)}}}),a.defineMIME("text/x-feature","gherkin")})})();var o=c.exports;const s=t(o),h=d({__proto__:null,default:s},[o]);export{h as g}; diff --git a/dist-ui/assets/go-BgTqU-sj.js b/dist-ui/assets/go-D77YzpTg.js similarity index 98% rename from dist-ui/assets/go-BgTqU-sj.js rename to dist-ui/assets/go-D77YzpTg.js index b3c7ad18..3d59b6e2 100644 --- a/dist-ui/assets/go-BgTqU-sj.js +++ b/dist-ui/assets/go-D77YzpTg.js @@ -1 +1 @@ -import{g as _,c as E}from"./index-CHg1vBCc.js";function w(a,d){for(var u=0;ul[o]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(a,d){(function(u){u(E)})(function(u){u.defineMode("go",function(l){var o=l.indentUnit,f={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0,any:!0,comparable:!0},v={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},g=/[+\-*&^%:=<>!|\/]/,i;function p(e,r){var t=e.next();if(t=='"'||t=="'"||t=="`")return r.tokenize=b(t),r.tokenize(e,r);if(/[\d\.]/.test(t))return t=="."?e.match(/^[0-9_]+([eE][\-+]?[0-9_]+)?/):t=="0"?e.match(/^[xX][0-9a-fA-F_]+/)||e.match(/^[0-7_]+/):e.match(/^[0-9_]*\.?[0-9_]*([eE][\-+]?[0-9_]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(t))return i=t,null;if(t=="/"){if(e.eat("*"))return r.tokenize=x,x(e,r);if(e.eat("/"))return e.skipToEnd(),"comment"}if(g.test(t))return e.eatWhile(g),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var n=e.current();return f.propertyIsEnumerable(n)?((n=="case"||n=="default")&&(i="case"),"keyword"):v.propertyIsEnumerable(n)?"atom":"variable"}function b(e){return function(r,t){for(var n=!1,c,h=!1;(c=r.next())!=null;){if(c==e&&!n){h=!0;break}n=!n&&e!="`"&&c=="\\"}return(h||!(n||e=="`"))&&(t.tokenize=p),"string"}}function x(e,r){for(var t=!1,n;n=e.next();){if(n=="/"&&t){r.tokenize=p;break}t=n=="*"}return"comment"}function m(e,r,t,n,c){this.indented=e,this.column=r,this.type=t,this.align=n,this.prev=c}function s(e,r,t){return e.context=new m(e.indented,r,t,null,e.context)}function y(e){if(e.context.prev){var r=e.context.type;return(r==")"||r=="]"||r=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}}return{startState:function(e){return{tokenize:null,context:new m((e||0)-o,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,r){var t=r.context;if(e.sol()&&(t.align==null&&(t.align=!1),r.indented=e.indentation(),r.startOfLine=!0,t.type=="case"&&(t.type="}")),e.eatSpace())return null;i=null;var n=(r.tokenize||p)(e,r);return n=="comment"||(t.align==null&&(t.align=!0),i=="{"?s(r,e.column(),"}"):i=="["?s(r,e.column(),"]"):i=="("?s(r,e.column(),")"):i=="case"?t.type="case":(i=="}"&&t.type=="}"||i==t.type)&&y(r),r.startOfLine=!1),n},indent:function(e,r){if(e.tokenize!=p&&e.tokenize!=null)return u.Pass;var t=e.context,n=r&&r.charAt(0);if(t.type=="case"&&/^(?:case|default)\b/.test(r))return e.context.type="}",t.indented;var c=n==t.type;return t.align?t.column+(c?0:1):t.indented+(c?0:o)},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),u.defineMIME("text/x-go","go")})})();var k=z.exports;const C=_(k),S=w({__proto__:null,default:C},[k]);export{S as g}; +import{g as _,c as E}from"./index-rXwcQ1j1.js";function w(a,d){for(var u=0;ul[o]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(a,d){(function(u){u(E)})(function(u){u.defineMode("go",function(l){var o=l.indentUnit,f={break:!0,case:!0,chan:!0,const:!0,continue:!0,default:!0,defer:!0,else:!0,fallthrough:!0,for:!0,func:!0,go:!0,goto:!0,if:!0,import:!0,interface:!0,map:!0,package:!0,range:!0,return:!0,select:!0,struct:!0,switch:!0,type:!0,var:!0,bool:!0,byte:!0,complex64:!0,complex128:!0,float32:!0,float64:!0,int8:!0,int16:!0,int32:!0,int64:!0,string:!0,uint8:!0,uint16:!0,uint32:!0,uint64:!0,int:!0,uint:!0,uintptr:!0,error:!0,rune:!0,any:!0,comparable:!0},v={true:!0,false:!0,iota:!0,nil:!0,append:!0,cap:!0,close:!0,complex:!0,copy:!0,delete:!0,imag:!0,len:!0,make:!0,new:!0,panic:!0,print:!0,println:!0,real:!0,recover:!0},g=/[+\-*&^%:=<>!|\/]/,i;function p(e,r){var t=e.next();if(t=='"'||t=="'"||t=="`")return r.tokenize=b(t),r.tokenize(e,r);if(/[\d\.]/.test(t))return t=="."?e.match(/^[0-9_]+([eE][\-+]?[0-9_]+)?/):t=="0"?e.match(/^[xX][0-9a-fA-F_]+/)||e.match(/^[0-7_]+/):e.match(/^[0-9_]*\.?[0-9_]*([eE][\-+]?[0-9_]+)?/),"number";if(/[\[\]{}\(\),;\:\.]/.test(t))return i=t,null;if(t=="/"){if(e.eat("*"))return r.tokenize=x,x(e,r);if(e.eat("/"))return e.skipToEnd(),"comment"}if(g.test(t))return e.eatWhile(g),"operator";e.eatWhile(/[\w\$_\xa1-\uffff]/);var n=e.current();return f.propertyIsEnumerable(n)?((n=="case"||n=="default")&&(i="case"),"keyword"):v.propertyIsEnumerable(n)?"atom":"variable"}function b(e){return function(r,t){for(var n=!1,c,h=!1;(c=r.next())!=null;){if(c==e&&!n){h=!0;break}n=!n&&e!="`"&&c=="\\"}return(h||!(n||e=="`"))&&(t.tokenize=p),"string"}}function x(e,r){for(var t=!1,n;n=e.next();){if(n=="/"&&t){r.tokenize=p;break}t=n=="*"}return"comment"}function m(e,r,t,n,c){this.indented=e,this.column=r,this.type=t,this.align=n,this.prev=c}function s(e,r,t){return e.context=new m(e.indented,r,t,null,e.context)}function y(e){if(e.context.prev){var r=e.context.type;return(r==")"||r=="]"||r=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}}return{startState:function(e){return{tokenize:null,context:new m((e||0)-o,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,r){var t=r.context;if(e.sol()&&(t.align==null&&(t.align=!1),r.indented=e.indentation(),r.startOfLine=!0,t.type=="case"&&(t.type="}")),e.eatSpace())return null;i=null;var n=(r.tokenize||p)(e,r);return n=="comment"||(t.align==null&&(t.align=!0),i=="{"?s(r,e.column(),"}"):i=="["?s(r,e.column(),"]"):i=="("?s(r,e.column(),")"):i=="case"?t.type="case":(i=="}"&&t.type=="}"||i==t.type)&&y(r),r.startOfLine=!1),n},indent:function(e,r){if(e.tokenize!=p&&e.tokenize!=null)return u.Pass;var t=e.context,n=r&&r.charAt(0);if(t.type=="case"&&/^(?:case|default)\b/.test(r))return e.context.type="}",t.indented;var c=n==t.type;return t.align?t.column+(c?0:1):t.indented+(c?0:o)},electricChars:"{}):",closeBrackets:"()[]{}''\"\"``",fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),u.defineMIME("text/x-go","go")})})();var k=z.exports;const C=_(k),S=w({__proto__:null,default:C},[k]);export{S as g}; diff --git a/dist-ui/assets/groovy-ChovKpKQ.js b/dist-ui/assets/groovy-zMN2AHil.js similarity index 98% rename from dist-ui/assets/groovy-ChovKpKQ.js rename to dist-ui/assets/groovy-zMN2AHil.js index 060cefd8..77cba3ee 100644 --- a/dist-ui/assets/groovy-ChovKpKQ.js +++ b/dist-ui/assets/groovy-zMN2AHil.js @@ -1 +1 @@ -import{g as j,c as S}from"./index-CHg1vBCc.js";function $(a,k){for(var l=0;lf[o]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var I={exports:{}};(function(a,k){(function(l){l(S)})(function(l){l.defineMode("groovy",function(f){function o(e){for(var n={},t=e.split(" "),r=0;r"))return i="->",null;if(/[+\-*&%=<>!?|\/~]/.test(t))return e.eatWhile(/[+\-*&%=<>|~]/),"operator";if(e.eatWhile(/[\w\$_]/),t=="@")return e.eatWhile(/[\w\$_\.]/),"meta";if(n.lastToken==".")return"property";if(e.eat(":"))return i="proplabel","property";var r=e.current();return T.propertyIsEnumerable(r)?"atom":p.propertyIsEnumerable(r)?(C.propertyIsEnumerable(r)?i="newstatement":O.propertyIsEnumerable(r)&&(i="standalone"),"keyword"):"variable"}v.isBase=!0;function x(e,n,t){var r=!1;if(e!="/"&&n.eat(e))if(n.eat(e))r=!0;else return"string";function c(s,b){for(var y=!1,h,z=!r;(h=s.next())!=null;){if(h==e&&!y){if(!r)break;if(s.match(e+e)){z=!0;break}}if(e=='"'&&h=="$"&&!y){if(s.eat("{"))return b.tokenize.push(_()),"string";if(s.match(/^\w/,!1))return b.tokenize.push(B),"string"}y=!y&&h=="\\"}return z&&b.tokenize.pop(),"string"}return t.tokenize.push(c),c(n,t)}function _(){var e=1;function n(t,r){if(t.peek()=="}"){if(e--,e==0)return r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r)}else t.peek()=="{"&&e++;return v(t,r)}return n.isBase=!0,n}function B(e,n){var t=e.match(/^(\.|[\w\$_]+)/);return t?t[0]=="."?null:"variable":(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](e,n))}function w(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize.pop();break}t=r=="*"}return"comment"}function g(e,n){return!e||e=="operator"||e=="->"||/[\.\[\{\(,;:]/.test(e)||e=="newstatement"||e=="keyword"||e=="proplabel"||e=="standalone"&&!n}function m(e,n,t,r,c){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=c}function d(e,n,t){return e.context=new m(e.indented,n,t,null,e.context)}function u(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:[v],context:new m((e||0)-f.indentUnit,0,"top",!1),indented:0,startOfLine:!0,lastToken:null}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0,t.type=="statement"&&!g(n.lastToken,!0)&&(u(n),t=n.context)),e.eatSpace())return null;i=null;var r=n.tokenize[n.tokenize.length-1](e,n);if(r=="comment")return r;if(t.align==null&&(t.align=!0),(i==";"||i==":")&&t.type=="statement")u(n);else if(i=="->"&&t.type=="statement"&&t.prev.type=="}")u(n),n.context.align=!1;else if(i=="{")d(n,e.column(),"}");else if(i=="[")d(n,e.column(),"]");else if(i=="(")d(n,e.column(),")");else if(i=="}"){for(;t.type=="statement";)t=u(n);for(t.type=="}"&&(t=u(n));t.type=="statement";)t=u(n)}else i==t.type?u(n):(t.type=="}"||t.type=="top"||t.type=="statement"&&i=="newstatement")&&d(n,e.column(),"statement");return n.startOfLine=!1,n.lastToken=i||r,r},indent:function(e,n){if(!e.tokenize[e.tokenize.length-1].isBase)return l.Pass;var t=n&&n.charAt(0),r=e.context;r.type=="statement"&&!g(e.lastToken,!0)&&(r=r.prev);var c=t==r.type;return r.type=="statement"?r.indented+(t=="{"?0:f.indentUnit):r.align?r.column+(c?0:1):r.indented+(c?0:f.indentUnit)},electricChars:"{}",closeBrackets:{triples:"'\""},fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),l.defineMIME("text/x-groovy","groovy")})})();var E=I.exports;const P=j(E),U=$({__proto__:null,default:P},[E]);export{U as g}; +import{g as j,c as S}from"./index-rXwcQ1j1.js";function $(a,k){for(var l=0;lf[o]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var I={exports:{}};(function(a,k){(function(l){l(S)})(function(l){l.defineMode("groovy",function(f){function o(e){for(var n={},t=e.split(" "),r=0;r"))return i="->",null;if(/[+\-*&%=<>!?|\/~]/.test(t))return e.eatWhile(/[+\-*&%=<>|~]/),"operator";if(e.eatWhile(/[\w\$_]/),t=="@")return e.eatWhile(/[\w\$_\.]/),"meta";if(n.lastToken==".")return"property";if(e.eat(":"))return i="proplabel","property";var r=e.current();return T.propertyIsEnumerable(r)?"atom":p.propertyIsEnumerable(r)?(C.propertyIsEnumerable(r)?i="newstatement":O.propertyIsEnumerable(r)&&(i="standalone"),"keyword"):"variable"}v.isBase=!0;function x(e,n,t){var r=!1;if(e!="/"&&n.eat(e))if(n.eat(e))r=!0;else return"string";function c(s,b){for(var y=!1,h,z=!r;(h=s.next())!=null;){if(h==e&&!y){if(!r)break;if(s.match(e+e)){z=!0;break}}if(e=='"'&&h=="$"&&!y){if(s.eat("{"))return b.tokenize.push(_()),"string";if(s.match(/^\w/,!1))return b.tokenize.push(B),"string"}y=!y&&h=="\\"}return z&&b.tokenize.pop(),"string"}return t.tokenize.push(c),c(n,t)}function _(){var e=1;function n(t,r){if(t.peek()=="}"){if(e--,e==0)return r.tokenize.pop(),r.tokenize[r.tokenize.length-1](t,r)}else t.peek()=="{"&&e++;return v(t,r)}return n.isBase=!0,n}function B(e,n){var t=e.match(/^(\.|[\w\$_]+)/);return t?t[0]=="."?null:"variable":(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](e,n))}function w(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize.pop();break}t=r=="*"}return"comment"}function g(e,n){return!e||e=="operator"||e=="->"||/[\.\[\{\(,;:]/.test(e)||e=="newstatement"||e=="keyword"||e=="proplabel"||e=="standalone"&&!n}function m(e,n,t,r,c){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=c}function d(e,n,t){return e.context=new m(e.indented,n,t,null,e.context)}function u(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:[v],context:new m((e||0)-f.indentUnit,0,"top",!1),indented:0,startOfLine:!0,lastToken:null}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0,t.type=="statement"&&!g(n.lastToken,!0)&&(u(n),t=n.context)),e.eatSpace())return null;i=null;var r=n.tokenize[n.tokenize.length-1](e,n);if(r=="comment")return r;if(t.align==null&&(t.align=!0),(i==";"||i==":")&&t.type=="statement")u(n);else if(i=="->"&&t.type=="statement"&&t.prev.type=="}")u(n),n.context.align=!1;else if(i=="{")d(n,e.column(),"}");else if(i=="[")d(n,e.column(),"]");else if(i=="(")d(n,e.column(),")");else if(i=="}"){for(;t.type=="statement";)t=u(n);for(t.type=="}"&&(t=u(n));t.type=="statement";)t=u(n)}else i==t.type?u(n):(t.type=="}"||t.type=="top"||t.type=="statement"&&i=="newstatement")&&d(n,e.column(),"statement");return n.startOfLine=!1,n.lastToken=i||r,r},indent:function(e,n){if(!e.tokenize[e.tokenize.length-1].isBase)return l.Pass;var t=n&&n.charAt(0),r=e.context;r.type=="statement"&&!g(e.lastToken,!0)&&(r=r.prev);var c=t==r.type;return r.type=="statement"?r.indented+(t=="{"?0:f.indentUnit):r.align?r.column+(c?0:1):r.indented+(c?0:f.indentUnit)},electricChars:"{}",closeBrackets:{triples:"'\""},fold:"brace",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),l.defineMIME("text/x-groovy","groovy")})})();var E=I.exports;const P=j(E),U=$({__proto__:null,default:P},[E]);export{U as g}; diff --git a/dist-ui/assets/haml-8gzcTXOb.js b/dist-ui/assets/haml-6yD3wHUa.js similarity index 95% rename from dist-ui/assets/haml-8gzcTXOb.js rename to dist-ui/assets/haml-6yD3wHUa.js index ed09bbc5..64fdae43 100644 --- a/dist-ui/assets/haml-8gzcTXOb.js +++ b/dist-ui/assets/haml-6yD3wHUa.js @@ -1 +1 @@ -import{g as d,c as a}from"./index-CHg1vBCc.js";import{r as y}from"./htmlmixed-dNmc4jG3.js";import{r as b}from"./ruby-D0Mw3ILv.js";function T(l,p){for(var i=0;ir[o]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(l,p){(function(i){i(a,y(),b())})(function(i){i.defineMode("haml",function(r){var o=i.getMode(r,{name:"htmlmixed"}),u=i.getMode(r,"ruby");function k(n){return function(e,t){var c=e.peek();return c==n&&t.rubyState.tokenize.length==1?(e.next(),t.tokenize=m,"closeAttributeTag"):f(e,t)}}function f(n,e){return n.match("-#")?(n.skipToEnd(),"comment"):u.token(n,e.rubyState)}function m(n,e){var t=n.peek();if(e.previousToken.style=="comment"&&e.indented>e.previousToken.indented)return n.skipToEnd(),"commentLine";if(e.startOfLine){if(t=="!"&&n.match("!!"))return n.skipToEnd(),"tag";if(n.match(/^%[\w:#\.]+=/))return e.tokenize=f,"hamlTag";if(n.match(/^%[\w:]+/))return"hamlTag";if(t=="/")return n.skipToEnd(),"comment"}if((e.startOfLine||e.previousToken.style=="hamlTag")&&(t=="#"||t=="."))return n.match(/[\w-#\.]*/),"hamlAttribute";if(e.startOfLine&&!n.match("-->",!1)&&(t=="="||t=="-"))return e.tokenize=f,e.tokenize(n,e);if(e.previousToken.style=="hamlTag"||e.previousToken.style=="closeAttributeTag"||e.previousToken.style=="hamlAttribute"){if(t=="(")return e.tokenize=k(")"),e.tokenize(n,e);if(t=="{"&&!n.match(/^\{%.*/))return e.tokenize=k("}"),e.tokenize(n,e)}return o.token(n,e.htmlState)}return{startState:function(){var n=i.startState(o),e=i.startState(u);return{htmlState:n,rubyState:e,indented:0,previousToken:{style:null,indented:0},tokenize:m}},copyState:function(n){return{htmlState:i.copyState(o,n.htmlState),rubyState:i.copyState(u,n.rubyState),indented:n.indented,previousToken:n.previousToken,tokenize:n.tokenize}},token:function(n,e){if(n.sol()&&(e.indented=n.indentation(),e.startOfLine=!0),n.eatSpace())return null;var t=e.tokenize(n,e);if(e.startOfLine=!1,t&&t!="commentLine"&&(e.previousToken={style:t,indented:e.indented}),n.eol()&&e.tokenize==f){n.backUp(1);var c=n.peek();n.next(),c&&c!=","&&(e.tokenize=m)}return t=="hamlTag"?t="tag":t=="commentLine"?t="comment":t=="hamlAttribute"?t="attribute":t=="closeAttributeTag"&&(t=null),t}}},"htmlmixed","ruby"),i.defineMIME("text/x-haml","haml")})})();var h=g.exports;const v=d(h),O=T({__proto__:null,default:v},[h]);export{O as h}; +import{g as d,c as a}from"./index-rXwcQ1j1.js";import{r as y}from"./htmlmixed-BkyqFvnk.js";import{r as b}from"./ruby-hRRXQ7Ll.js";function T(l,p){for(var i=0;ir[o]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(l,p){(function(i){i(a,y(),b())})(function(i){i.defineMode("haml",function(r){var o=i.getMode(r,{name:"htmlmixed"}),u=i.getMode(r,"ruby");function k(n){return function(e,t){var c=e.peek();return c==n&&t.rubyState.tokenize.length==1?(e.next(),t.tokenize=m,"closeAttributeTag"):f(e,t)}}function f(n,e){return n.match("-#")?(n.skipToEnd(),"comment"):u.token(n,e.rubyState)}function m(n,e){var t=n.peek();if(e.previousToken.style=="comment"&&e.indented>e.previousToken.indented)return n.skipToEnd(),"commentLine";if(e.startOfLine){if(t=="!"&&n.match("!!"))return n.skipToEnd(),"tag";if(n.match(/^%[\w:#\.]+=/))return e.tokenize=f,"hamlTag";if(n.match(/^%[\w:]+/))return"hamlTag";if(t=="/")return n.skipToEnd(),"comment"}if((e.startOfLine||e.previousToken.style=="hamlTag")&&(t=="#"||t=="."))return n.match(/[\w-#\.]*/),"hamlAttribute";if(e.startOfLine&&!n.match("-->",!1)&&(t=="="||t=="-"))return e.tokenize=f,e.tokenize(n,e);if(e.previousToken.style=="hamlTag"||e.previousToken.style=="closeAttributeTag"||e.previousToken.style=="hamlAttribute"){if(t=="(")return e.tokenize=k(")"),e.tokenize(n,e);if(t=="{"&&!n.match(/^\{%.*/))return e.tokenize=k("}"),e.tokenize(n,e)}return o.token(n,e.htmlState)}return{startState:function(){var n=i.startState(o),e=i.startState(u);return{htmlState:n,rubyState:e,indented:0,previousToken:{style:null,indented:0},tokenize:m}},copyState:function(n){return{htmlState:i.copyState(o,n.htmlState),rubyState:i.copyState(u,n.rubyState),indented:n.indented,previousToken:n.previousToken,tokenize:n.tokenize}},token:function(n,e){if(n.sol()&&(e.indented=n.indentation(),e.startOfLine=!0),n.eatSpace())return null;var t=e.tokenize(n,e);if(e.startOfLine=!1,t&&t!="commentLine"&&(e.previousToken={style:t,indented:e.indented}),n.eol()&&e.tokenize==f){n.backUp(1);var c=n.peek();n.next(),c&&c!=","&&(e.tokenize=m)}return t=="hamlTag"?t="tag":t=="commentLine"?t="comment":t=="hamlAttribute"?t="attribute":t=="closeAttributeTag"&&(t=null),t}}},"htmlmixed","ruby"),i.defineMIME("text/x-haml","haml")})})();var h=g.exports;const v=d(h),O=T({__proto__:null,default:v},[h]);export{O as h}; diff --git a/dist-ui/assets/handlebars-Ck0LrJI6.js b/dist-ui/assets/handlebars-CTdSxJnI.js similarity index 92% rename from dist-ui/assets/handlebars-Ck0LrJI6.js rename to dist-ui/assets/handlebars-CTdSxJnI.js index 61835778..6f625a77 100644 --- a/dist-ui/assets/handlebars-Ck0LrJI6.js +++ b/dist-ui/assets/handlebars-CTdSxJnI.js @@ -1 +1 @@ -import{g as m,c as l,b as g}from"./index-CHg1vBCc.js";import{r as p}from"./multiplex-Bj2U2ayT.js";function d(a,o){for(var e=0;er[t]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(a,o){(function(e){e(l,g(),p())})(function(e){e.defineSimpleMode("handlebars-tags",{start:[{regex:/\{\{\{/,push:"handlebars_raw",token:"tag"},{regex:/\{\{!--/,push:"dash_comment",token:"comment"},{regex:/\{\{!/,push:"comment",token:"comment"},{regex:/\{\{/,push:"handlebars",token:"tag"}],handlebars_raw:[{regex:/\}\}\}/,pop:!0,token:"tag"}],handlebars:[{regex:/\}\}/,pop:!0,token:"tag"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/>|[#\/]([A-Za-z_]\w*)/,token:"keyword"},{regex:/(?:else|this)\b/,token:"keyword"},{regex:/\d+/i,token:"number"},{regex:/=|~|@|true|false/,token:"atom"},{regex:/(?:\.\.\/)*(?:[A-Za-z_][\w\.]*)+/,token:"variable-2"}],dash_comment:[{regex:/--\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],comment:[{regex:/\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],meta:{blockCommentStart:"{{--",blockCommentEnd:"--}}"}}),e.defineMode("handlebars",function(r,t){var n=e.getMode(r,"handlebars-tags");return!t||!t.base?n:e.multiplexingMode(e.getMode(r,t.base),{open:"{{",close:/\}\}\}?/,mode:n,parseDelimiters:!0})}),e.defineMIME("text/x-handlebars-template","handlebars")})})();var s=u.exports;const c=m(s),i=d({__proto__:null,default:c},[s]);export{s as a,i as h}; +import{g as m,c as l,b as g}from"./index-rXwcQ1j1.js";import{r as p}from"./multiplex-Cg9R4o6F.js";function d(a,o){for(var e=0;er[t]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(a,o){(function(e){e(l,g(),p())})(function(e){e.defineSimpleMode("handlebars-tags",{start:[{regex:/\{\{\{/,push:"handlebars_raw",token:"tag"},{regex:/\{\{!--/,push:"dash_comment",token:"comment"},{regex:/\{\{!/,push:"comment",token:"comment"},{regex:/\{\{/,push:"handlebars",token:"tag"}],handlebars_raw:[{regex:/\}\}\}/,pop:!0,token:"tag"}],handlebars:[{regex:/\}\}/,pop:!0,token:"tag"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/>|[#\/]([A-Za-z_]\w*)/,token:"keyword"},{regex:/(?:else|this)\b/,token:"keyword"},{regex:/\d+/i,token:"number"},{regex:/=|~|@|true|false/,token:"atom"},{regex:/(?:\.\.\/)*(?:[A-Za-z_][\w\.]*)+/,token:"variable-2"}],dash_comment:[{regex:/--\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],comment:[{regex:/\}\}/,pop:!0,token:"comment"},{regex:/./,token:"comment"}],meta:{blockCommentStart:"{{--",blockCommentEnd:"--}}"}}),e.defineMode("handlebars",function(r,t){var n=e.getMode(r,"handlebars-tags");return!t||!t.base?n:e.multiplexingMode(e.getMode(r,t.base),{open:"{{",close:/\}\}\}?/,mode:n,parseDelimiters:!0})}),e.defineMIME("text/x-handlebars-template","handlebars")})})();var s=u.exports;const c=m(s),i=d({__proto__:null,default:c},[s]);export{s as a,i as h}; diff --git a/dist-ui/assets/haskell-BasAunqf.js b/dist-ui/assets/haskell-4oxNvi7O.js similarity index 98% rename from dist-ui/assets/haskell-BasAunqf.js rename to dist-ui/assets/haskell-4oxNvi7O.js index 960f8e06..5cfef2a8 100644 --- a/dist-ui/assets/haskell-BasAunqf.js +++ b/dist-ui/assets/haskell-4oxNvi7O.js @@ -1 +1 @@ -import{g as W,c as I}from"./index-CHg1vBCc.js";function T(d,m){for(var a=0;af[o]})}}}return Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var _={exports:{}};(function(d,m){(function(a){a(I)})(function(a){a.defineMode("haskell",function(f,o){function l(e,r,t){return r(t),t(e,r)}var b=/[a-z_]/,y=/[A-Z]/,h=/\d/,F=/[0-9A-Fa-f]/,R=/[0-7]/,c=/[a-z_A-Z0-9'\xa1-\uffff]/,p=/[-!#$%&*+.\/<=>?@\\^|~:]/,k=/[(),;[\]`{}]/,g=/[ \t\v\f]/;function u(e,r){if(e.eatWhile(g))return null;var t=e.next();if(k.test(t)){if(t=="{"&&e.eat("-")){var n="comment";return e.eat("#")&&(n="meta"),l(e,r,v(n,1))}return null}if(t=="'")return e.eat("\\"),e.next(),e.eat("'")?"string":"string error";if(t=='"')return l(e,r,w);if(y.test(t))return e.eatWhile(c),e.eat(".")?"qualifier":"variable-2";if(b.test(t))return e.eatWhile(c),"variable";if(h.test(t)){if(t=="0"){if(e.eat(/[xX]/))return e.eatWhile(F),"integer";if(e.eat(/[oO]/))return e.eatWhile(R),"number"}e.eatWhile(h);var n="number";return e.match(/^\.\d+/)&&(n="number"),e.eat(/[eE]/)&&(n="number",e.eat(/[-+]/),e.eatWhile(h)),n}if(t=="."&&e.eat("."))return"keyword";if(p.test(t)){if(t=="-"&&e.eat(/-/)&&(e.eatWhile(/-/),!e.eat(p)))return e.skipToEnd(),"comment";var n="variable";return t==":"&&(n="variable-2"),e.eatWhile(p),n}return"error"}function v(e,r){return r==0?u:function(t,n){for(var i=r;!t.eol();){var s=t.next();if(s=="{"&&t.eat("-"))++i;else if(s=="-"&&t.eat("}")&&(--i,i==0))return n(u),e}return n(v(e,i)),e}}function w(e,r){for(;!e.eol();){var t=e.next();if(t=='"')return r(u),"string";if(t=="\\"){if(e.eol()||e.eat(g))return r(O),"string";e.eat("&")||e.next()}}return r(u),"string error"}function O(e,r){return e.eat("\\")?l(e,r,w):(e.next(),r(u),"error")}var x=function(){var e={};function r(i){return function(){for(var s=0;s","@","~","=>"),r("builtin")("!!","$!","$","&&","+","++","-",".","/","/=","<","<*","<=","<$>","<*>","=<<","==",">",">=",">>",">>=","^","^^","||","*","*>","**"),r("builtin")("Applicative","Bool","Bounded","Char","Double","EQ","Either","Enum","Eq","False","FilePath","Float","Floating","Fractional","Functor","GT","IO","IOError","Int","Integer","Integral","Just","LT","Left","Maybe","Monad","Nothing","Num","Ord","Ordering","Rational","Read","ReadS","Real","RealFloat","RealFrac","Right","Show","ShowS","String","True"),r("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","pure","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3");var t=o.overrideKeywords;if(t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}();return{startState:function(){return{f:u}},copyState:function(e){return{f:e.f}},token:function(e,r){var t=r.f(e,function(i){r.f=i}),n=e.current();return x.hasOwnProperty(n)?x[n]:t},blockCommentStart:"{-",blockCommentEnd:"-}",lineComment:"--"}}),a.defineMIME("text/x-haskell","haskell")})})();var E=_.exports;const z=W(E),C=T({__proto__:null,default:z},[E]);export{E as a,C as h}; +import{g as W,c as I}from"./index-rXwcQ1j1.js";function T(d,m){for(var a=0;af[o]})}}}return Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var _={exports:{}};(function(d,m){(function(a){a(I)})(function(a){a.defineMode("haskell",function(f,o){function l(e,r,t){return r(t),t(e,r)}var b=/[a-z_]/,y=/[A-Z]/,h=/\d/,F=/[0-9A-Fa-f]/,R=/[0-7]/,c=/[a-z_A-Z0-9'\xa1-\uffff]/,p=/[-!#$%&*+.\/<=>?@\\^|~:]/,k=/[(),;[\]`{}]/,g=/[ \t\v\f]/;function u(e,r){if(e.eatWhile(g))return null;var t=e.next();if(k.test(t)){if(t=="{"&&e.eat("-")){var n="comment";return e.eat("#")&&(n="meta"),l(e,r,v(n,1))}return null}if(t=="'")return e.eat("\\"),e.next(),e.eat("'")?"string":"string error";if(t=='"')return l(e,r,w);if(y.test(t))return e.eatWhile(c),e.eat(".")?"qualifier":"variable-2";if(b.test(t))return e.eatWhile(c),"variable";if(h.test(t)){if(t=="0"){if(e.eat(/[xX]/))return e.eatWhile(F),"integer";if(e.eat(/[oO]/))return e.eatWhile(R),"number"}e.eatWhile(h);var n="number";return e.match(/^\.\d+/)&&(n="number"),e.eat(/[eE]/)&&(n="number",e.eat(/[-+]/),e.eatWhile(h)),n}if(t=="."&&e.eat("."))return"keyword";if(p.test(t)){if(t=="-"&&e.eat(/-/)&&(e.eatWhile(/-/),!e.eat(p)))return e.skipToEnd(),"comment";var n="variable";return t==":"&&(n="variable-2"),e.eatWhile(p),n}return"error"}function v(e,r){return r==0?u:function(t,n){for(var i=r;!t.eol();){var s=t.next();if(s=="{"&&t.eat("-"))++i;else if(s=="-"&&t.eat("}")&&(--i,i==0))return n(u),e}return n(v(e,i)),e}}function w(e,r){for(;!e.eol();){var t=e.next();if(t=='"')return r(u),"string";if(t=="\\"){if(e.eol()||e.eat(g))return r(O),"string";e.eat("&")||e.next()}}return r(u),"string error"}function O(e,r){return e.eat("\\")?l(e,r,w):(e.next(),r(u),"error")}var x=function(){var e={};function r(i){return function(){for(var s=0;s","@","~","=>"),r("builtin")("!!","$!","$","&&","+","++","-",".","/","/=","<","<*","<=","<$>","<*>","=<<","==",">",">=",">>",">>=","^","^^","||","*","*>","**"),r("builtin")("Applicative","Bool","Bounded","Char","Double","EQ","Either","Enum","Eq","False","FilePath","Float","Floating","Fractional","Functor","GT","IO","IOError","Int","Integer","Integral","Just","LT","Left","Maybe","Monad","Nothing","Num","Ord","Ordering","Rational","Read","ReadS","Real","RealFloat","RealFrac","Right","Show","ShowS","String","True"),r("builtin")("abs","acos","acosh","all","and","any","appendFile","asTypeOf","asin","asinh","atan","atan2","atanh","break","catch","ceiling","compare","concat","concatMap","const","cos","cosh","curry","cycle","decodeFloat","div","divMod","drop","dropWhile","either","elem","encodeFloat","enumFrom","enumFromThen","enumFromThenTo","enumFromTo","error","even","exp","exponent","fail","filter","flip","floatDigits","floatRadix","floatRange","floor","fmap","foldl","foldl1","foldr","foldr1","fromEnum","fromInteger","fromIntegral","fromRational","fst","gcd","getChar","getContents","getLine","head","id","init","interact","ioError","isDenormalized","isIEEE","isInfinite","isNaN","isNegativeZero","iterate","last","lcm","length","lex","lines","log","logBase","lookup","map","mapM","mapM_","max","maxBound","maximum","maybe","min","minBound","minimum","mod","negate","not","notElem","null","odd","or","otherwise","pi","pred","print","product","properFraction","pure","putChar","putStr","putStrLn","quot","quotRem","read","readFile","readIO","readList","readLn","readParen","reads","readsPrec","realToFrac","recip","rem","repeat","replicate","return","reverse","round","scaleFloat","scanl","scanl1","scanr","scanr1","seq","sequence","sequence_","show","showChar","showList","showParen","showString","shows","showsPrec","significand","signum","sin","sinh","snd","span","splitAt","sqrt","subtract","succ","sum","tail","take","takeWhile","tan","tanh","toEnum","toInteger","toRational","truncate","uncurry","undefined","unlines","until","unwords","unzip","unzip3","userError","words","writeFile","zip","zip3","zipWith","zipWith3");var t=o.overrideKeywords;if(t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}();return{startState:function(){return{f:u}},copyState:function(e){return{f:e.f}},token:function(e,r){var t=r.f(e,function(i){r.f=i}),n=e.current();return x.hasOwnProperty(n)?x[n]:t},blockCommentStart:"{-",blockCommentEnd:"-}",lineComment:"--"}}),a.defineMIME("text/x-haskell","haskell")})})();var E=_.exports;const z=W(E),C=T({__proto__:null,default:z},[E]);export{E as a,C as h}; diff --git a/dist-ui/assets/haskell-literate-D2j-XC2X.js b/dist-ui/assets/haskell-literate-aJuXZtaZ.js similarity index 87% rename from dist-ui/assets/haskell-literate-D2j-XC2X.js rename to dist-ui/assets/haskell-literate-aJuXZtaZ.js index 91522720..d0681754 100644 --- a/dist-ui/assets/haskell-literate-D2j-XC2X.js +++ b/dist-ui/assets/haskell-literate-aJuXZtaZ.js @@ -1 +1 @@ -import{g as f,c as u}from"./index-CHg1vBCc.js";import{a as c}from"./haskell-BasAunqf.js";function d(a,l){for(var e=0;er[t]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var p={exports:{}};(function(a,l){(function(e){e(u,c)})(function(e){e.defineMode("haskell-literate",function(r,t){var n=e.getMode(r,t&&t.base||"haskell");return{startState:function(){return{inCode:!1,baseState:e.startState(n)}},token:function(o,s){return o.sol()&&(s.inCode=o.eat(">"))?"meta":s.inCode?n.token(o,s.baseState):(o.skipToEnd(),"comment")},innerMode:function(o){return o.inCode?{state:o.baseState,mode:n}:null}}},"haskell"),e.defineMIME("text/x-literate-haskell","haskell-literate")})})();var i=p.exports;const k=f(i),m=d({__proto__:null,default:k},[i]);export{m as h}; +import{g as f,c as u}from"./index-rXwcQ1j1.js";import{a as c}from"./haskell-4oxNvi7O.js";function d(a,l){for(var e=0;er[t]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var p={exports:{}};(function(a,l){(function(e){e(u,c)})(function(e){e.defineMode("haskell-literate",function(r,t){var n=e.getMode(r,t&&t.base||"haskell");return{startState:function(){return{inCode:!1,baseState:e.startState(n)}},token:function(o,s){return o.sol()&&(s.inCode=o.eat(">"))?"meta":s.inCode?n.token(o,s.baseState):(o.skipToEnd(),"comment")},innerMode:function(o){return o.inCode?{state:o.baseState,mode:n}:null}}},"haskell"),e.defineMIME("text/x-literate-haskell","haskell-literate")})})();var i=p.exports;const k=f(i),m=d({__proto__:null,default:k},[i]);export{m as h}; diff --git a/dist-ui/assets/haxe-CYaZzleH.js b/dist-ui/assets/haxe-BszN7sTQ.js similarity index 99% rename from dist-ui/assets/haxe-CYaZzleH.js rename to dist-ui/assets/haxe-BszN7sTQ.js index 84949736..df99ffb7 100644 --- a/dist-ui/assets/haxe-CYaZzleH.js +++ b/dist-ui/assets/haxe-BszN7sTQ.js @@ -1 +1 @@ -import{g as ve,c as me}from"./index-CHg1vBCc.js";function ke(E,j){for(var m=0;mu[c]})}}}return Object.freeze(Object.defineProperty(E,Symbol.toStringTag,{value:"Module"}))}var ge={exports:{}};(function(E,j){(function(m){m(me)})(function(m){m.defineMode("haxe",function(u,c){var v=u.indentUnit;function a(e){return{type:e,style:"keyword"}}var y=a("keyword a"),P=a("keyword b"),A=a("keyword c"),ee=a("operator"),D={type:"atom",style:"atom"},O={type:"attribute",style:"attribute"},s=a("typedef"),C={if:y,while:y,else:P,do:P,try:P,return:A,break:A,continue:A,new:A,throw:A,var:a("var"),inline:O,static:O,using:a("import"),public:O,private:O,cast:a("cast"),import:a("import"),macro:a("macro"),function:a("function"),catch:a("catch"),untyped:a("untyped"),callback:a("cb"),for:a("for"),switch:a("switch"),case:a("case"),default:a("default"),in:ee,never:a("property_access"),trace:a("trace"),class:s,abstract:s,enum:s,interface:s,typedef:s,extends:s,implements:s,dynamic:s,true:D,false:D,null:D},Z=/[+\-*&%=<>!?|]/;function F(e,r,t){return r.tokenize=t,t(e,r)}function H(e,r){for(var t=!1,i;(i=e.next())!=null;){if(i==r&&!t)return!0;t=!t&&i=="\\"}}var s,L;function p(e,r,t){return s=e,L=t,r}function T(e,r){var t=e.next();if(t=='"'||t=="'")return F(e,r,re(t));if(/[\[\]{}\(\),;\:\.]/.test(t))return p(t);if(t=="0"&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),p("number","number");if(/\d/.test(t)||t=="-"&&e.eat(/\d/))return e.match(/^\d*(?:\.\d*(?!\.))?(?:[eE][+\-]?\d+)?/),p("number","number");if(r.reAllowed&&t=="~"&&e.eat(/\//))return H(e,"/"),e.eatWhile(/[gimsu]/),p("regexp","string-2");if(t=="/")return e.eat("*")?F(e,r,te):e.eat("/")?(e.skipToEnd(),p("comment","comment")):(e.eatWhile(Z),p("operator",null,e.current()));if(t=="#")return e.skipToEnd(),p("conditional","meta");if(t=="@")return e.eat(/:/),e.eatWhile(/[\w_]/),p("metadata","meta");if(Z.test(t))return e.eatWhile(Z),p("operator",null,e.current());var i;if(/[A-Z]/.test(t))return e.eatWhile(/[\w_<>]/),i=e.current(),p("type","variable-3",i);e.eatWhile(/[\w_]/);var i=e.current(),x=C.propertyIsEnumerable(i)&&C[i];return x&&r.kwAllowed?p(x.type,x.style,i):p("variable","variable",i)}function re(e){return function(r,t){return H(r,e)&&(t.tokenize=T),p("string","string")}}function te(e,r){for(var t=!1,i;i=e.next();){if(i=="/"&&t){r.tokenize=T;break}t=i=="*"}return p("comment","comment")}var N={atom:!0,number:!0,variable:!0,string:!0,regexp:!0};function q(e,r,t,i,x,h){this.indented=e,this.column=r,this.type=t,this.prev=x,this.info=h,i!=null&&(this.align=i)}function ne(e,r){for(var t=e.localVars;t;t=t.next)if(t.name==r)return!0}function ie(e,r,t,i,x){var h=e.cc;for(o.state=e,o.stream=x,o.marked=null,o.cc=h,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){var be=h.length?h.pop():w;if(be(t,i)){for(;h.length&&h[h.length-1].lex;)h.pop()();return o.marked?o.marked:t=="variable"&&ne(e,i)?"variable-2":t=="variable"&&ue(e,i)?"variable-3":r}}}function ue(e,r){if(/[a-z]/.test(r.charAt(0)))return!1;for(var t=e.importedtypes.length,i=0;i=0;e--)o.cc.push(arguments[e])}function n(){return g.apply(null,arguments),!0}function J(e,r){for(var t=r;t;t=t.next)if(t.name==e)return!0;return!1}function _(e){var r=o.state;if(r.context){if(o.marked="def",J(e,r.localVars))return;r.localVars={name:e,next:r.localVars}}else if(r.globalVars){if(J(e,r.globalVars))return;r.globalVars={name:e,next:r.globalVars}}}var ae={name:"this",next:null};function I(){o.state.context||(o.state.localVars=ae),o.state.context={prev:o.state.context,vars:o.state.localVars}}function z(){o.state.localVars=o.state.context.vars,o.state.context=o.state.context.prev}z.lex=!0;function l(e,r){var t=function(){var i=o.state;i.lexical=new q(i.indented,o.stream.column(),e,null,i.lexical,r)};return t.lex=!0,t}function f(){var e=o.state;e.lexical.prev&&(e.lexical.type==")"&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}f.lex=!0;function d(e){function r(t){return t==e?n():e==";"?g():n(r)}return r}function w(e){return e=="@"?n(B):e=="var"?n(l("vardef"),$,d(";"),f):e=="keyword a"?n(l("form"),b,w,f):e=="keyword b"?n(l("form"),w,f):e=="{"?n(l("}"),I,U,f,z):e==";"?n():e=="attribute"?n(K):e=="function"?n(S):e=="for"?n(l("form"),d("("),l(")"),de,d(")"),f,w,f):e=="variable"?n(l("stat"),le):e=="switch"?n(l("form"),b,l("}","switch"),d("{"),U,f,f):e=="case"?n(b,d(":")):e=="default"?n(d(":")):e=="catch"?n(l("form"),I,d("("),X,d(")"),w,f,z):e=="import"?n(Q,d(";")):e=="typedef"?n(fe):g(l("stat"),b,d(";"),f)}function b(e){return N.hasOwnProperty(e)||e=="type"?n(k):e=="function"?n(S):e=="keyword c"?n(M):e=="("?n(l(")"),M,d(")"),f,k):e=="operator"?n(b):e=="["?n(l("]"),V(M,"]"),f,k):e=="{"?n(l("}"),V(se,"}"),f,k):n()}function M(e){return e.match(/[;\}\)\],]/)?g():g(b)}function k(e,r){if(e=="operator"&&/\+\+|--/.test(r))return n(k);if(e=="operator"||e==":")return n(b);if(e!=";"){if(e=="(")return n(l(")"),V(b,")"),f,k);if(e==".")return n(ce,k);if(e=="[")return n(l("]"),b,d("]"),f,k)}}function K(e){if(e=="attribute")return n(K);if(e=="function")return n(S);if(e=="var")return n($)}function B(e){if(e==":"||e=="variable")return n(B);if(e=="(")return n(l(")"),V(oe,")"),f,w)}function oe(e){if(e=="variable")return n()}function Q(e,r){if(e=="variable"&&/[A-Z]/.test(r.charAt(0)))return G(r),n();if(e=="variable"||e=="property"||e=="."||r=="*")return n(Q)}function fe(e,r){if(e=="variable"&&/[A-Z]/.test(r.charAt(0)))return G(r),n();if(e=="type"&&/[A-Z]/.test(r.charAt(0)))return n()}function le(e){return e==":"?n(f,w):g(k,d(";"),f)}function ce(e){if(e=="variable")return o.marked="property",n()}function se(e){if(e=="variable"&&(o.marked="property"),N.hasOwnProperty(e))return n(d(":"),b)}function V(e,r){function t(i){return i==","?n(e,t):i==r?n():n(d(r))}return function(i){return i==r?n():g(e,t)}}function U(e){return e=="}"?n():g(w,U)}function $(e,r){return e=="variable"?(_(r),n(W,R)):n()}function R(e,r){if(r=="=")return n(b,R);if(e==",")return n($)}function de(e,r){return e=="variable"?(_(r),n(pe,b)):g()}function pe(e,r){if(r=="in")return n()}function S(e,r){if(e=="variable"||e=="type")return _(r),n(S);if(r=="new")return n(S);if(e=="(")return n(l(")"),I,V(X,")"),f,W,w,z)}function W(e){if(e==":")return n(xe)}function xe(e){if(e=="type"||e=="variable")return n();if(e=="{")return n(l("}"),V(he,"}"),f)}function he(e){if(e=="variable")return n(W)}function X(e,r){if(e=="variable")return _(r),n(W)}return{startState:function(e){var r=["Int","Float","String","Void","Std","Bool","Dynamic","Array"],t={tokenize:T,reAllowed:!0,kwAllowed:!0,cc:[],lexical:new q((e||0)-v,0,"block",!1),localVars:c.localVars,importedtypes:r,context:c.localVars&&{vars:c.localVars},indented:0};return c.globalVars&&typeof c.globalVars=="object"&&(t.globalVars=c.globalVars),t},token:function(e,r){if(e.sol()&&(r.lexical.hasOwnProperty("align")||(r.lexical.align=!1),r.indented=e.indentation()),e.eatSpace())return null;var t=r.tokenize(e,r);return s=="comment"?t:(r.reAllowed=!!(s=="operator"||s=="keyword c"||s.match(/^[\[{}\(,;:]$/)),r.kwAllowed=s!=".",ie(r,t,s,L,e))},indent:function(e,r){if(e.tokenize!=T)return 0;var t=r&&r.charAt(0),i=e.lexical;i.type=="stat"&&t=="}"&&(i=i.prev);var x=i.type,h=t==x;return x=="vardef"?i.indented+4:x=="form"&&t=="{"?i.indented:x=="stat"||x=="form"?i.indented+v:i.info=="switch"&&!h?i.indented+(/^(?:case|default)\b/.test(r)?v:2*v):i.align?i.column+(h?0:1):i.indented+(h?0:v)},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),m.defineMIME("text/x-haxe","haxe"),m.defineMode("hxml",function(){return{startState:function(){return{define:!1,inString:!1}},token:function(u,c){var y=u.peek(),v=u.sol();if(y=="#")return u.skipToEnd(),"comment";if(v&&y=="-"){var a="variable-2";return u.eat(/-/),u.peek()=="-"&&(u.eat(/-/),a="keyword a"),u.peek()=="D"&&(u.eat(/[D]/),a="keyword c",c.define=!0),u.eatWhile(/[A-Z]/i),a}var y=u.peek();return c.inString==!1&&y=="'"&&(c.inString=!0,u.next()),c.inString==!0?(u.skipTo("'")||u.skipToEnd(),u.peek()=="'"&&(u.next(),c.inString=!1),"string"):(u.next(),null)},lineComment:"#"}}),m.defineMIME("text/x-hxml","hxml")})})();var Y=ge.exports;const we=ve(Y),Ve=ke({__proto__:null,default:we},[Y]);export{Ve as h}; +import{g as ve,c as me}from"./index-rXwcQ1j1.js";function ke(E,j){for(var m=0;mu[c]})}}}return Object.freeze(Object.defineProperty(E,Symbol.toStringTag,{value:"Module"}))}var ge={exports:{}};(function(E,j){(function(m){m(me)})(function(m){m.defineMode("haxe",function(u,c){var v=u.indentUnit;function a(e){return{type:e,style:"keyword"}}var y=a("keyword a"),P=a("keyword b"),A=a("keyword c"),ee=a("operator"),D={type:"atom",style:"atom"},O={type:"attribute",style:"attribute"},s=a("typedef"),C={if:y,while:y,else:P,do:P,try:P,return:A,break:A,continue:A,new:A,throw:A,var:a("var"),inline:O,static:O,using:a("import"),public:O,private:O,cast:a("cast"),import:a("import"),macro:a("macro"),function:a("function"),catch:a("catch"),untyped:a("untyped"),callback:a("cb"),for:a("for"),switch:a("switch"),case:a("case"),default:a("default"),in:ee,never:a("property_access"),trace:a("trace"),class:s,abstract:s,enum:s,interface:s,typedef:s,extends:s,implements:s,dynamic:s,true:D,false:D,null:D},Z=/[+\-*&%=<>!?|]/;function F(e,r,t){return r.tokenize=t,t(e,r)}function H(e,r){for(var t=!1,i;(i=e.next())!=null;){if(i==r&&!t)return!0;t=!t&&i=="\\"}}var s,L;function p(e,r,t){return s=e,L=t,r}function T(e,r){var t=e.next();if(t=='"'||t=="'")return F(e,r,re(t));if(/[\[\]{}\(\),;\:\.]/.test(t))return p(t);if(t=="0"&&e.eat(/x/i))return e.eatWhile(/[\da-f]/i),p("number","number");if(/\d/.test(t)||t=="-"&&e.eat(/\d/))return e.match(/^\d*(?:\.\d*(?!\.))?(?:[eE][+\-]?\d+)?/),p("number","number");if(r.reAllowed&&t=="~"&&e.eat(/\//))return H(e,"/"),e.eatWhile(/[gimsu]/),p("regexp","string-2");if(t=="/")return e.eat("*")?F(e,r,te):e.eat("/")?(e.skipToEnd(),p("comment","comment")):(e.eatWhile(Z),p("operator",null,e.current()));if(t=="#")return e.skipToEnd(),p("conditional","meta");if(t=="@")return e.eat(/:/),e.eatWhile(/[\w_]/),p("metadata","meta");if(Z.test(t))return e.eatWhile(Z),p("operator",null,e.current());var i;if(/[A-Z]/.test(t))return e.eatWhile(/[\w_<>]/),i=e.current(),p("type","variable-3",i);e.eatWhile(/[\w_]/);var i=e.current(),x=C.propertyIsEnumerable(i)&&C[i];return x&&r.kwAllowed?p(x.type,x.style,i):p("variable","variable",i)}function re(e){return function(r,t){return H(r,e)&&(t.tokenize=T),p("string","string")}}function te(e,r){for(var t=!1,i;i=e.next();){if(i=="/"&&t){r.tokenize=T;break}t=i=="*"}return p("comment","comment")}var N={atom:!0,number:!0,variable:!0,string:!0,regexp:!0};function q(e,r,t,i,x,h){this.indented=e,this.column=r,this.type=t,this.prev=x,this.info=h,i!=null&&(this.align=i)}function ne(e,r){for(var t=e.localVars;t;t=t.next)if(t.name==r)return!0}function ie(e,r,t,i,x){var h=e.cc;for(o.state=e,o.stream=x,o.marked=null,o.cc=h,e.lexical.hasOwnProperty("align")||(e.lexical.align=!0);;){var be=h.length?h.pop():w;if(be(t,i)){for(;h.length&&h[h.length-1].lex;)h.pop()();return o.marked?o.marked:t=="variable"&&ne(e,i)?"variable-2":t=="variable"&&ue(e,i)?"variable-3":r}}}function ue(e,r){if(/[a-z]/.test(r.charAt(0)))return!1;for(var t=e.importedtypes.length,i=0;i=0;e--)o.cc.push(arguments[e])}function n(){return g.apply(null,arguments),!0}function J(e,r){for(var t=r;t;t=t.next)if(t.name==e)return!0;return!1}function _(e){var r=o.state;if(r.context){if(o.marked="def",J(e,r.localVars))return;r.localVars={name:e,next:r.localVars}}else if(r.globalVars){if(J(e,r.globalVars))return;r.globalVars={name:e,next:r.globalVars}}}var ae={name:"this",next:null};function I(){o.state.context||(o.state.localVars=ae),o.state.context={prev:o.state.context,vars:o.state.localVars}}function z(){o.state.localVars=o.state.context.vars,o.state.context=o.state.context.prev}z.lex=!0;function l(e,r){var t=function(){var i=o.state;i.lexical=new q(i.indented,o.stream.column(),e,null,i.lexical,r)};return t.lex=!0,t}function f(){var e=o.state;e.lexical.prev&&(e.lexical.type==")"&&(e.indented=e.lexical.indented),e.lexical=e.lexical.prev)}f.lex=!0;function d(e){function r(t){return t==e?n():e==";"?g():n(r)}return r}function w(e){return e=="@"?n(B):e=="var"?n(l("vardef"),$,d(";"),f):e=="keyword a"?n(l("form"),b,w,f):e=="keyword b"?n(l("form"),w,f):e=="{"?n(l("}"),I,U,f,z):e==";"?n():e=="attribute"?n(K):e=="function"?n(S):e=="for"?n(l("form"),d("("),l(")"),de,d(")"),f,w,f):e=="variable"?n(l("stat"),le):e=="switch"?n(l("form"),b,l("}","switch"),d("{"),U,f,f):e=="case"?n(b,d(":")):e=="default"?n(d(":")):e=="catch"?n(l("form"),I,d("("),X,d(")"),w,f,z):e=="import"?n(Q,d(";")):e=="typedef"?n(fe):g(l("stat"),b,d(";"),f)}function b(e){return N.hasOwnProperty(e)||e=="type"?n(k):e=="function"?n(S):e=="keyword c"?n(M):e=="("?n(l(")"),M,d(")"),f,k):e=="operator"?n(b):e=="["?n(l("]"),V(M,"]"),f,k):e=="{"?n(l("}"),V(se,"}"),f,k):n()}function M(e){return e.match(/[;\}\)\],]/)?g():g(b)}function k(e,r){if(e=="operator"&&/\+\+|--/.test(r))return n(k);if(e=="operator"||e==":")return n(b);if(e!=";"){if(e=="(")return n(l(")"),V(b,")"),f,k);if(e==".")return n(ce,k);if(e=="[")return n(l("]"),b,d("]"),f,k)}}function K(e){if(e=="attribute")return n(K);if(e=="function")return n(S);if(e=="var")return n($)}function B(e){if(e==":"||e=="variable")return n(B);if(e=="(")return n(l(")"),V(oe,")"),f,w)}function oe(e){if(e=="variable")return n()}function Q(e,r){if(e=="variable"&&/[A-Z]/.test(r.charAt(0)))return G(r),n();if(e=="variable"||e=="property"||e=="."||r=="*")return n(Q)}function fe(e,r){if(e=="variable"&&/[A-Z]/.test(r.charAt(0)))return G(r),n();if(e=="type"&&/[A-Z]/.test(r.charAt(0)))return n()}function le(e){return e==":"?n(f,w):g(k,d(";"),f)}function ce(e){if(e=="variable")return o.marked="property",n()}function se(e){if(e=="variable"&&(o.marked="property"),N.hasOwnProperty(e))return n(d(":"),b)}function V(e,r){function t(i){return i==","?n(e,t):i==r?n():n(d(r))}return function(i){return i==r?n():g(e,t)}}function U(e){return e=="}"?n():g(w,U)}function $(e,r){return e=="variable"?(_(r),n(W,R)):n()}function R(e,r){if(r=="=")return n(b,R);if(e==",")return n($)}function de(e,r){return e=="variable"?(_(r),n(pe,b)):g()}function pe(e,r){if(r=="in")return n()}function S(e,r){if(e=="variable"||e=="type")return _(r),n(S);if(r=="new")return n(S);if(e=="(")return n(l(")"),I,V(X,")"),f,W,w,z)}function W(e){if(e==":")return n(xe)}function xe(e){if(e=="type"||e=="variable")return n();if(e=="{")return n(l("}"),V(he,"}"),f)}function he(e){if(e=="variable")return n(W)}function X(e,r){if(e=="variable")return _(r),n(W)}return{startState:function(e){var r=["Int","Float","String","Void","Std","Bool","Dynamic","Array"],t={tokenize:T,reAllowed:!0,kwAllowed:!0,cc:[],lexical:new q((e||0)-v,0,"block",!1),localVars:c.localVars,importedtypes:r,context:c.localVars&&{vars:c.localVars},indented:0};return c.globalVars&&typeof c.globalVars=="object"&&(t.globalVars=c.globalVars),t},token:function(e,r){if(e.sol()&&(r.lexical.hasOwnProperty("align")||(r.lexical.align=!1),r.indented=e.indentation()),e.eatSpace())return null;var t=r.tokenize(e,r);return s=="comment"?t:(r.reAllowed=!!(s=="operator"||s=="keyword c"||s.match(/^[\[{}\(,;:]$/)),r.kwAllowed=s!=".",ie(r,t,s,L,e))},indent:function(e,r){if(e.tokenize!=T)return 0;var t=r&&r.charAt(0),i=e.lexical;i.type=="stat"&&t=="}"&&(i=i.prev);var x=i.type,h=t==x;return x=="vardef"?i.indented+4:x=="form"&&t=="{"?i.indented:x=="stat"||x=="form"?i.indented+v:i.info=="switch"&&!h?i.indented+(/^(?:case|default)\b/.test(r)?v:2*v):i.align?i.column+(h?0:1):i.indented+(h?0:v)},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),m.defineMIME("text/x-haxe","haxe"),m.defineMode("hxml",function(){return{startState:function(){return{define:!1,inString:!1}},token:function(u,c){var y=u.peek(),v=u.sol();if(y=="#")return u.skipToEnd(),"comment";if(v&&y=="-"){var a="variable-2";return u.eat(/-/),u.peek()=="-"&&(u.eat(/-/),a="keyword a"),u.peek()=="D"&&(u.eat(/[D]/),a="keyword c",c.define=!0),u.eatWhile(/[A-Z]/i),a}var y=u.peek();return c.inString==!1&&y=="'"&&(c.inString=!0,u.next()),c.inString==!0?(u.skipTo("'")||u.skipToEnd(),u.peek()=="'"&&(u.next(),c.inString=!1),"string"):(u.next(),null)},lineComment:"#"}}),m.defineMIME("text/x-hxml","hxml")})})();var Y=ge.exports;const we=ve(Y),Ve=ke({__proto__:null,default:we},[Y]);export{Ve as h}; diff --git a/dist-ui/assets/htmlembedded-BMIfsus1.js b/dist-ui/assets/htmlembedded-_L-jPqW8.js similarity index 90% rename from dist-ui/assets/htmlembedded-BMIfsus1.js rename to dist-ui/assets/htmlembedded-_L-jPqW8.js index 1bd10895..b006dadd 100644 --- a/dist-ui/assets/htmlembedded-BMIfsus1.js +++ b/dist-ui/assets/htmlembedded-_L-jPqW8.js @@ -1 +1 @@ -import{g as i,c as l}from"./index-CHg1vBCc.js";import{r as s}from"./htmlmixed-dNmc4jG3.js";import{r}from"./multiplex-Bj2U2ayT.js";function a(o,d){for(var e=0;em[t]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(o,d){(function(e){e(l,s(),r())})(function(e){e.defineMode("htmlembedded",function(m,t){var n=t.closeComment||"--%>";return e.multiplexingMode(e.getMode(m,"htmlmixed"),{open:t.openComment||"<%--",close:n,delimStyle:"comment",mode:{token:function(c){return c.skipTo(n)||c.skipToEnd(),"comment"}}},{open:t.open||t.scriptStartRegex||"<%",close:t.close||t.scriptEndRegex||"%>",mode:e.getMode(m,t.scriptingModeSpec)})},"htmlmixed"),e.defineMIME("application/x-ejs",{name:"htmlembedded",scriptingModeSpec:"javascript"}),e.defineMIME("application/x-aspx",{name:"htmlembedded",scriptingModeSpec:"text/x-csharp"}),e.defineMIME("application/x-jsp",{name:"htmlembedded",scriptingModeSpec:"text/x-java"}),e.defineMIME("application/x-erb",{name:"htmlembedded",scriptingModeSpec:"ruby"})})})();var p=u.exports;const x=i(p),g=a({__proto__:null,default:x},[p]);export{g as h}; +import{g as i,c as l}from"./index-rXwcQ1j1.js";import{r as s}from"./htmlmixed-BkyqFvnk.js";import{r}from"./multiplex-Cg9R4o6F.js";function a(o,d){for(var e=0;em[t]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(o,d){(function(e){e(l,s(),r())})(function(e){e.defineMode("htmlembedded",function(m,t){var n=t.closeComment||"--%>";return e.multiplexingMode(e.getMode(m,"htmlmixed"),{open:t.openComment||"<%--",close:n,delimStyle:"comment",mode:{token:function(c){return c.skipTo(n)||c.skipToEnd(),"comment"}}},{open:t.open||t.scriptStartRegex||"<%",close:t.close||t.scriptEndRegex||"%>",mode:e.getMode(m,t.scriptingModeSpec)})},"htmlmixed"),e.defineMIME("application/x-ejs",{name:"htmlembedded",scriptingModeSpec:"javascript"}),e.defineMIME("application/x-aspx",{name:"htmlembedded",scriptingModeSpec:"text/x-csharp"}),e.defineMIME("application/x-jsp",{name:"htmlembedded",scriptingModeSpec:"text/x-java"}),e.defineMIME("application/x-erb",{name:"htmlembedded",scriptingModeSpec:"ruby"})})})();var p=u.exports;const x=i(p),g=a({__proto__:null,default:x},[p]);export{g as h}; diff --git a/dist-ui/assets/htmlmixed-dNmc4jG3.js b/dist-ui/assets/htmlmixed-BkyqFvnk.js similarity index 95% rename from dist-ui/assets/htmlmixed-dNmc4jG3.js rename to dist-ui/assets/htmlmixed-BkyqFvnk.js index 3c838ec7..07892345 100644 --- a/dist-ui/assets/htmlmixed-dNmc4jG3.js +++ b/dist-ui/assets/htmlmixed-BkyqFvnk.js @@ -1 +1 @@ -import{c as q,r as I,a as P}from"./index-CHg1vBCc.js";import{a as F}from"./css-BRan0Fyo.js";var M={exports:{}},y;function L(){return y||(y=1,function(H,U){(function(i){i(q,I(),P(),F)})(function(i){var k={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function $(n,l,a){var c=n.current(),o=c.search(l);return o>-1?n.backUp(c.length-o):c.match(/<\/?$/)&&(n.backUp(c.length),n.match(l,!1)||n.match(c)),a}var d={};function b(n){var l=d[n];return l||(d[n]=new RegExp("\\s+"+n+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}function j(n,l){var a=n.match(b(l));return a?/^\s*(.*?)\s*$/.exec(a[2])[1]:""}function p(n,l){return new RegExp((l?"^":"")+"","i")}function v(n,l){for(var a in n)for(var c=l[a]||(l[a]=[]),o=n[a],r=o.length-1;r>=0;r--)c.unshift(o[r])}function w(n,l){for(var a=0;a=0;f--)c.script.unshift(["type",r[f].matches,r[f].mode]);function x(t,e){var u=a.token(t,e.htmlState),S=/\btag\b/.test(u),s;if(S&&!/[<>\s\/]/.test(t.current())&&(s=e.htmlState.tagName&&e.htmlState.tagName.toLowerCase())&&c.hasOwnProperty(s))e.inTag=s+" ";else if(e.inTag&&S&&/>$/.test(t.current())){var g=/^([\S]+) (.*)/.exec(e.inTag);e.inTag=null;var R=t.current()==">"&&w(c[g[1]],g[2]),T=i.getMode(n,R),E=p(g[1],!0),N=p(g[1],!1);e.token=function(h,m){return h.match(E,!1)?(m.token=x,m.localState=m.localMode=null,null):$(h,N,m.localMode.token(h,m.localState))},e.localMode=T,e.localState=i.startState(T,a.indent(e.htmlState,"",""))}else e.inTag&&(e.inTag+=t.current(),t.eol()&&(e.inTag+=" "));return u}return{startState:function(){var t=i.startState(a);return{token:x,inTag:null,localMode:null,localState:null,htmlState:t}},copyState:function(t){var e;return t.localState&&(e=i.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:e,htmlState:i.copyState(a,t.htmlState)}},token:function(t,e){return e.token(t,e)},indent:function(t,e,u){return!t.localMode||/^\s*<\//.test(e)?a.indent(t.htmlState,e,u):t.localMode.indent?t.localMode.indent(t.localState,e,u):i.Pass},innerMode:function(t){return{state:t.localState||t.htmlState,mode:t.localMode||a}}}},"xml","javascript","css"),i.defineMIME("text/html","htmlmixed")})}()),M.exports}export{L as r}; +import{c as q,r as I,a as P}from"./index-rXwcQ1j1.js";import{a as F}from"./css-DspWBOZK.js";var M={exports:{}},y;function L(){return y||(y=1,function(H,U){(function(i){i(q,I(),P(),F)})(function(i){var k={script:[["lang",/(javascript|babel)/i,"javascript"],["type",/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i,"javascript"],["type",/./,"text/plain"],[null,null,"javascript"]],style:[["lang",/^css$/i,"css"],["type",/^(text\/)?(x-)?(stylesheet|css)$/i,"css"],["type",/./,"text/plain"],[null,null,"css"]]};function $(n,l,a){var c=n.current(),o=c.search(l);return o>-1?n.backUp(c.length-o):c.match(/<\/?$/)&&(n.backUp(c.length),n.match(l,!1)||n.match(c)),a}var d={};function b(n){var l=d[n];return l||(d[n]=new RegExp("\\s+"+n+"\\s*=\\s*('|\")?([^'\"]+)('|\")?\\s*"))}function j(n,l){var a=n.match(b(l));return a?/^\s*(.*?)\s*$/.exec(a[2])[1]:""}function p(n,l){return new RegExp((l?"^":"")+"","i")}function v(n,l){for(var a in n)for(var c=l[a]||(l[a]=[]),o=n[a],r=o.length-1;r>=0;r--)c.unshift(o[r])}function w(n,l){for(var a=0;a=0;f--)c.script.unshift(["type",r[f].matches,r[f].mode]);function x(t,e){var u=a.token(t,e.htmlState),S=/\btag\b/.test(u),s;if(S&&!/[<>\s\/]/.test(t.current())&&(s=e.htmlState.tagName&&e.htmlState.tagName.toLowerCase())&&c.hasOwnProperty(s))e.inTag=s+" ";else if(e.inTag&&S&&/>$/.test(t.current())){var g=/^([\S]+) (.*)/.exec(e.inTag);e.inTag=null;var R=t.current()==">"&&w(c[g[1]],g[2]),T=i.getMode(n,R),E=p(g[1],!0),N=p(g[1],!1);e.token=function(h,m){return h.match(E,!1)?(m.token=x,m.localState=m.localMode=null,null):$(h,N,m.localMode.token(h,m.localState))},e.localMode=T,e.localState=i.startState(T,a.indent(e.htmlState,"",""))}else e.inTag&&(e.inTag+=t.current(),t.eol()&&(e.inTag+=" "));return u}return{startState:function(){var t=i.startState(a);return{token:x,inTag:null,localMode:null,localState:null,htmlState:t}},copyState:function(t){var e;return t.localState&&(e=i.copyState(t.localMode,t.localState)),{token:t.token,inTag:t.inTag,localMode:t.localMode,localState:e,htmlState:i.copyState(a,t.htmlState)}},token:function(t,e){return e.token(t,e)},indent:function(t,e,u){return!t.localMode||/^\s*<\//.test(e)?a.indent(t.htmlState,e,u):t.localMode.indent?t.localMode.indent(t.localState,e,u):i.Pass},innerMode:function(t){return{state:t.localState||t.htmlState,mode:t.localMode||a}}}},"xml","javascript","css"),i.defineMIME("text/html","htmlmixed")})}()),M.exports}export{L as r}; diff --git a/dist-ui/assets/htmlmixed-FAPcF2ck.js b/dist-ui/assets/htmlmixed-Dg5Ceo2a.js similarity index 74% rename from dist-ui/assets/htmlmixed-FAPcF2ck.js rename to dist-ui/assets/htmlmixed-Dg5Ceo2a.js index 4dcac2d1..af930b16 100644 --- a/dist-ui/assets/htmlmixed-FAPcF2ck.js +++ b/dist-ui/assets/htmlmixed-Dg5Ceo2a.js @@ -1 +1 @@ -import{g as a}from"./index-CHg1vBCc.js";import{r as f}from"./htmlmixed-dNmc4jG3.js";function s(r,m){for(var o=0;oe[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var n=f();const l=a(n),u=s({__proto__:null,default:l},[n]);export{u as h}; +import{g as a}from"./index-rXwcQ1j1.js";import{r as f}from"./htmlmixed-BkyqFvnk.js";function s(r,m){for(var o=0;oe[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var n=f();const l=a(n),u=s({__proto__:null,default:l},[n]);export{u as h}; diff --git a/dist-ui/assets/http-CCHm4SZB.js b/dist-ui/assets/http-Da24_iL5.js similarity index 95% rename from dist-ui/assets/http-CCHm4SZB.js rename to dist-ui/assets/http-Da24_iL5.js index 43759a31..9846f68d 100644 --- a/dist-ui/assets/http-CCHm4SZB.js +++ b/dist-ui/assets/http-Da24_iL5.js @@ -1 +1 @@ -import{g as v,c as k}from"./index-CHg1vBCc.js";function y(f,l){for(var o=0;on[u]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var T={exports:{}};(function(f,l){(function(o){o(k)})(function(o){o.defineMode("http",function(){function n(e,r){return e.skipToEnd(),r.cur=s,"error"}function u(e,r){return e.match(/^HTTP\/\d\.\d/)?(r.cur=c,"keyword"):e.match(/^[A-Z]+/)&&/[ \t]/.test(e.peek())?(r.cur=h,"keyword"):n(e,r)}function c(e,r){var i=e.match(/^\d+/);if(!i)return n(e,r);r.cur=d;var t=Number(i[0]);return t>=100&&t<200?"positive informational":t>=200&&t<300?"positive success":t>=300&&t<400?"positive redirect":t>=400&&t<500?"negative client-error":t>=500&&t<600?"negative server-error":"error"}function d(e,r){return e.skipToEnd(),r.cur=s,null}function h(e,r){return e.eatWhile(/\S/),r.cur=g,"string-2"}function g(e,r){return e.match(/^HTTP\/\d\.\d$/)?(r.cur=s,"keyword"):n(e,r)}function s(e){return e.sol()&&!e.eat(/[ \t]/)?e.match(/^.*?:/)?"atom":(e.skipToEnd(),"error"):(e.skipToEnd(),"string")}function p(e){return e.skipToEnd(),null}return{token:function(e,r){var i=r.cur;return i!=s&&i!=p&&e.eatSpace()?null:i(e,r)},blankLine:function(e){e.cur=p},startState:function(){return{cur:u}}}}),o.defineMIME("message/http","http")})})();var a=T.exports;const b=v(a),x=y({__proto__:null,default:b},[a]);export{x as h}; +import{g as v,c as k}from"./index-rXwcQ1j1.js";function y(f,l){for(var o=0;on[u]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var T={exports:{}};(function(f,l){(function(o){o(k)})(function(o){o.defineMode("http",function(){function n(e,r){return e.skipToEnd(),r.cur=s,"error"}function u(e,r){return e.match(/^HTTP\/\d\.\d/)?(r.cur=c,"keyword"):e.match(/^[A-Z]+/)&&/[ \t]/.test(e.peek())?(r.cur=h,"keyword"):n(e,r)}function c(e,r){var i=e.match(/^\d+/);if(!i)return n(e,r);r.cur=d;var t=Number(i[0]);return t>=100&&t<200?"positive informational":t>=200&&t<300?"positive success":t>=300&&t<400?"positive redirect":t>=400&&t<500?"negative client-error":t>=500&&t<600?"negative server-error":"error"}function d(e,r){return e.skipToEnd(),r.cur=s,null}function h(e,r){return e.eatWhile(/\S/),r.cur=g,"string-2"}function g(e,r){return e.match(/^HTTP\/\d\.\d$/)?(r.cur=s,"keyword"):n(e,r)}function s(e){return e.sol()&&!e.eat(/[ \t]/)?e.match(/^.*?:/)?"atom":(e.skipToEnd(),"error"):(e.skipToEnd(),"string")}function p(e){return e.skipToEnd(),null}return{token:function(e,r){var i=r.cur;return i!=s&&i!=p&&e.eatSpace()?null:i(e,r)},blankLine:function(e){e.cur=p},startState:function(){return{cur:u}}}}),o.defineMIME("message/http","http")})})();var a=T.exports;const b=v(a),x=y({__proto__:null,default:b},[a]);export{x as h}; diff --git a/dist-ui/assets/idl-cghddQ8I.js b/dist-ui/assets/idl-Caw2jBuQ.js similarity index 99% rename from dist-ui/assets/idl-cghddQ8I.js rename to dist-ui/assets/idl-Caw2jBuQ.js index dcc847df..c0ab7766 100644 --- a/dist-ui/assets/idl-cghddQ8I.js +++ b/dist-ui/assets/idl-Caw2jBuQ.js @@ -1 +1 @@ -import{g as f,c as u}from"./index-CHg1vBCc.js";function g(o,_){for(var t=0;t<_.length;t++){const r=_[t];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in o)){const a=Object.getOwnPropertyDescriptor(r,i);a&&Object.defineProperty(o,i,a.get?a:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(o,_){(function(t){t(u)})(function(t){function r(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var i=["a_correlate","abs","acos","adapt_hist_equal","alog","alog2","alog10","amoeba","annotate","app_user_dir","app_user_dir_query","arg_present","array_equal","array_indices","arrow","ascii_template","asin","assoc","atan","axis","axis","bandpass_filter","bandreject_filter","barplot","bar_plot","beseli","beselj","beselk","besely","beta","biginteger","bilinear","bin_date","binary_template","bindgen","binomial","bit_ffs","bit_population","blas_axpy","blk_con","boolarr","boolean","boxplot","box_cursor","breakpoint","broyden","bubbleplot","butterworth","bytarr","byte","byteorder","bytscl","c_correlate","calendar","caldat","call_external","call_function","call_method","call_procedure","canny","catch","cd","cdf","ceil","chebyshev","check_math","chisqr_cvf","chisqr_pdf","choldc","cholsol","cindgen","cir_3pnt","clipboard","close","clust_wts","cluster","cluster_tree","cmyk_convert","code_coverage","color_convert","color_exchange","color_quan","color_range_map","colorbar","colorize_sample","colormap_applicable","colormap_gradient","colormap_rotation","colortable","comfit","command_line_args","common","compile_opt","complex","complexarr","complexround","compute_mesh_normals","cond","congrid","conj","constrained_min","contour","contour","convert_coord","convol","convol_fft","coord2to3","copy_lun","correlate","cos","cosh","cpu","cramer","createboxplotdata","create_cursor","create_struct","create_view","crossp","crvlength","ct_luminance","cti_test","cursor","curvefit","cv_coord","cvttobm","cw_animate","cw_animate_getp","cw_animate_load","cw_animate_run","cw_arcball","cw_bgroup","cw_clr_index","cw_colorsel","cw_defroi","cw_field","cw_filesel","cw_form","cw_fslider","cw_light_editor","cw_light_editor_get","cw_light_editor_set","cw_orient","cw_palette_editor","cw_palette_editor_get","cw_palette_editor_set","cw_pdmenu","cw_rgbslider","cw_tmpl","cw_zoom","db_exists","dblarr","dcindgen","dcomplex","dcomplexarr","define_key","define_msgblk","define_msgblk_from_file","defroi","defsysv","delvar","dendro_plot","dendrogram","deriv","derivsig","determ","device","dfpmin","diag_matrix","dialog_dbconnect","dialog_message","dialog_pickfile","dialog_printersetup","dialog_printjob","dialog_read_image","dialog_write_image","dictionary","digital_filter","dilate","dindgen","dissolve","dist","distance_measure","dlm_load","dlm_register","doc_library","double","draw_roi","edge_dog","efont","eigenql","eigenvec","ellipse","elmhes","emboss","empty","enable_sysrtn","eof","eos","erase","erf","erfc","erfcx","erode","errorplot","errplot","estimator_filter","execute","exit","exp","expand","expand_path","expint","extract","extract_slice","f_cvf","f_pdf","factorial","fft","file_basename","file_chmod","file_copy","file_delete","file_dirname","file_expand_path","file_gunzip","file_gzip","file_info","file_lines","file_link","file_mkdir","file_move","file_poll_input","file_readlink","file_same","file_search","file_tar","file_test","file_untar","file_unzip","file_which","file_zip","filepath","findgen","finite","fix","flick","float","floor","flow3","fltarr","flush","format_axis_values","forward_function","free_lun","fstat","fulstr","funct","function","fv_test","fx_root","fz_roots","gamma","gamma_ct","gauss_cvf","gauss_pdf","gauss_smooth","gauss2dfit","gaussfit","gaussian_function","gaussint","get_drive_list","get_dxf_objects","get_kbrd","get_login_info","get_lun","get_screen_size","getenv","getwindows","greg2jul","grib","grid_input","grid_tps","grid3","griddata","gs_iter","h_eq_ct","h_eq_int","hanning","hash","hdf","hdf5","heap_free","heap_gc","heap_nosave","heap_refcount","heap_save","help","hilbert","hist_2d","hist_equal","histogram","hls","hough","hqr","hsv","i18n_multibytetoutf8","i18n_multibytetowidechar","i18n_utf8tomultibyte","i18n_widechartomultibyte","ibeta","icontour","iconvertcoord","idelete","identity","idl_base64","idl_container","idl_validname","idlexbr_assistant","idlitsys_createtool","idlunit","iellipse","igamma","igetcurrent","igetdata","igetid","igetproperty","iimage","image","image_cont","image_statistics","image_threshold","imaginary","imap","indgen","int_2d","int_3d","int_tabulated","intarr","interpol","interpolate","interval_volume","invert","ioctl","iopen","ir_filter","iplot","ipolygon","ipolyline","iputdata","iregister","ireset","iresolve","irotate","isa","isave","iscale","isetcurrent","isetproperty","ishft","isocontour","isosurface","isurface","itext","itranslate","ivector","ivolume","izoom","journal","json_parse","json_serialize","jul2greg","julday","keyword_set","krig2d","kurtosis","kw_test","l64indgen","la_choldc","la_cholmprove","la_cholsol","la_determ","la_eigenproblem","la_eigenql","la_eigenvec","la_elmhes","la_gm_linear_model","la_hqr","la_invert","la_least_square_equality","la_least_squares","la_linear_equation","la_ludc","la_lumprove","la_lusol","la_svd","la_tridc","la_trimprove","la_triql","la_trired","la_trisol","label_date","label_region","ladfit","laguerre","lambda","lambdap","lambertw","laplacian","least_squares_filter","leefilt","legend","legendre","linbcg","lindgen","linfit","linkimage","list","ll_arc_distance","lmfit","lmgr","lngamma","lnp_test","loadct","locale_get","logical_and","logical_or","logical_true","lon64arr","lonarr","long","long64","lsode","lu_complex","ludc","lumprove","lusol","m_correlate","machar","make_array","make_dll","make_rt","map","mapcontinents","mapgrid","map_2points","map_continents","map_grid","map_image","map_patch","map_proj_forward","map_proj_image","map_proj_info","map_proj_init","map_proj_inverse","map_set","matrix_multiply","matrix_power","max","md_test","mean","meanabsdev","mean_filter","median","memory","mesh_clip","mesh_decimate","mesh_issolid","mesh_merge","mesh_numtriangles","mesh_obj","mesh_smooth","mesh_surfacearea","mesh_validate","mesh_volume","message","min","min_curve_surf","mk_html_help","modifyct","moment","morph_close","morph_distance","morph_gradient","morph_hitormiss","morph_open","morph_thin","morph_tophat","multi","n_elements","n_params","n_tags","ncdf","newton","noise_hurl","noise_pick","noise_scatter","noise_slur","norm","obj_class","obj_destroy","obj_hasmethod","obj_isa","obj_new","obj_valid","objarr","on_error","on_ioerror","online_help","openr","openu","openw","oplot","oploterr","orderedhash","p_correlate","parse_url","particle_trace","path_cache","path_sep","pcomp","plot","plot3d","plot","plot_3dbox","plot_field","ploterr","plots","polar_contour","polar_surface","polyfill","polyshade","pnt_line","point_lun","polarplot","poly","poly_2d","poly_area","poly_fit","polyfillv","polygon","polyline","polywarp","popd","powell","pref_commit","pref_get","pref_set","prewitt","primes","print","printf","printd","pro","product","profile","profiler","profiles","project_vol","ps_show_fonts","psafm","pseudo","ptr_free","ptr_new","ptr_valid","ptrarr","pushd","qgrid3","qhull","qromb","qromo","qsimp","query_*","query_ascii","query_bmp","query_csv","query_dicom","query_gif","query_image","query_jpeg","query_jpeg2000","query_mrsid","query_pict","query_png","query_ppm","query_srf","query_tiff","query_video","query_wav","r_correlate","r_test","radon","randomn","randomu","ranks","rdpix","read","readf","read_ascii","read_binary","read_bmp","read_csv","read_dicom","read_gif","read_image","read_interfile","read_jpeg","read_jpeg2000","read_mrsid","read_pict","read_png","read_ppm","read_spr","read_srf","read_sylk","read_tiff","read_video","read_wav","read_wave","read_x11_bitmap","read_xwd","reads","readu","real_part","rebin","recall_commands","recon3","reduce_colors","reform","region_grow","register_cursor","regress","replicate","replicate_inplace","resolve_all","resolve_routine","restore","retall","return","reverse","rk4","roberts","rot","rotate","round","routine_filepath","routine_info","rs_test","s_test","save","savgol","scale3","scale3d","scatterplot","scatterplot3d","scope_level","scope_traceback","scope_varfetch","scope_varname","search2d","search3d","sem_create","sem_delete","sem_lock","sem_release","set_plot","set_shading","setenv","sfit","shade_surf","shade_surf_irr","shade_volume","shift","shift_diff","shmdebug","shmmap","shmunmap","shmvar","show3","showfont","signum","simplex","sin","sindgen","sinh","size","skewness","skip_lun","slicer3","slide_image","smooth","sobel","socket","sort","spawn","sph_4pnt","sph_scat","spher_harm","spl_init","spl_interp","spline","spline_p","sprsab","sprsax","sprsin","sprstp","sqrt","standardize","stddev","stop","strarr","strcmp","strcompress","streamline","streamline","stregex","stretch","string","strjoin","strlen","strlowcase","strmatch","strmessage","strmid","strpos","strput","strsplit","strtrim","struct_assign","struct_hide","strupcase","surface","surface","surfr","svdc","svdfit","svsol","swap_endian","swap_endian_inplace","symbol","systime","t_cvf","t_pdf","t3d","tag_names","tan","tanh","tek_color","temporary","terminal_size","tetra_clip","tetra_surface","tetra_volume","text","thin","thread","threed","tic","time_test2","timegen","timer","timestamp","timestamptovalues","tm_test","toc","total","trace","transpose","tri_surf","triangulate","trigrid","triql","trired","trisol","truncate_lun","ts_coef","ts_diff","ts_fcast","ts_smooth","tv","tvcrs","tvlct","tvrd","tvscl","typename","uindgen","uint","uintarr","ul64indgen","ulindgen","ulon64arr","ulonarr","ulong","ulong64","uniq","unsharp_mask","usersym","value_locate","variance","vector","vector_field","vel","velovect","vert_t3d","voigt","volume","voronoi","voxel_proj","wait","warp_tri","watershed","wdelete","wf_draw","where","widget_base","widget_button","widget_combobox","widget_control","widget_displaycontextmenu","widget_draw","widget_droplist","widget_event","widget_info","widget_label","widget_list","widget_propertysheet","widget_slider","widget_tab","widget_table","widget_text","widget_tree","widget_tree_move","widget_window","wiener_filter","window","window","write_bmp","write_csv","write_gif","write_image","write_jpeg","write_jpeg2000","write_nrif","write_pict","write_png","write_ppm","write_spr","write_srf","write_sylk","write_tiff","write_video","write_wav","write_wave","writeu","wset","wshow","wtn","wv_applet","wv_cwt","wv_cw_wavelet","wv_denoise","wv_dwt","wv_fn_coiflet","wv_fn_daubechies","wv_fn_gaussian","wv_fn_haar","wv_fn_morlet","wv_fn_paul","wv_fn_symlet","wv_import_data","wv_import_wavelet","wv_plot3d_wps","wv_plot_multires","wv_pwt","wv_tool_denoise","xbm_edit","xdisplayfile","xdxf","xfont","xinteranimate","xloadct","xmanager","xmng_tmpl","xmtool","xobjview","xobjview_rotate","xobjview_write_image","xpalette","xpcolor","xplot3d","xregistered","xroi","xsq_test","xsurface","xvaredit","xvolume","xvolume_rotate","xvolume_write_image","xyouts","zlib_compress","zlib_uncompress","zoom","zoom_24"],a=r(i),l=["begin","end","endcase","endfor","endwhile","endif","endrep","endforeach","break","case","continue","for","foreach","goto","if","then","else","repeat","until","switch","while","do","pro","function"],n=r(l);t.registerHelper("hintWords","idl",i.concat(l));var d=new RegExp("^[_a-z¡-￿][_a-z0-9¡-￿]*","i"),c=/[+\-*&=<>\/@#~$]/,p=new RegExp("(and|or|eq|lt|le|gt|ge|ne|not)","i");function m(e){return e.eatSpace()?null:e.match(";")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(n)?"keyword":e.match(a)?"builtin":e.match(d)?"variable":e.match(c)||e.match(p)?"operator":(e.next(),null)}t.defineMode("idl",function(){return{token:function(e){return m(e)}}}),t.defineMIME("text/x-idl","idl")})})();var s=w.exports;const h=f(s),b=g({__proto__:null,default:h},[s]);export{b as i}; +import{g as f,c as u}from"./index-rXwcQ1j1.js";function g(o,_){for(var t=0;t<_.length;t++){const r=_[t];if(typeof r!="string"&&!Array.isArray(r)){for(const i in r)if(i!=="default"&&!(i in o)){const a=Object.getOwnPropertyDescriptor(r,i);a&&Object.defineProperty(o,i,a.get?a:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(o,_){(function(t){t(u)})(function(t){function r(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var i=["a_correlate","abs","acos","adapt_hist_equal","alog","alog2","alog10","amoeba","annotate","app_user_dir","app_user_dir_query","arg_present","array_equal","array_indices","arrow","ascii_template","asin","assoc","atan","axis","axis","bandpass_filter","bandreject_filter","barplot","bar_plot","beseli","beselj","beselk","besely","beta","biginteger","bilinear","bin_date","binary_template","bindgen","binomial","bit_ffs","bit_population","blas_axpy","blk_con","boolarr","boolean","boxplot","box_cursor","breakpoint","broyden","bubbleplot","butterworth","bytarr","byte","byteorder","bytscl","c_correlate","calendar","caldat","call_external","call_function","call_method","call_procedure","canny","catch","cd","cdf","ceil","chebyshev","check_math","chisqr_cvf","chisqr_pdf","choldc","cholsol","cindgen","cir_3pnt","clipboard","close","clust_wts","cluster","cluster_tree","cmyk_convert","code_coverage","color_convert","color_exchange","color_quan","color_range_map","colorbar","colorize_sample","colormap_applicable","colormap_gradient","colormap_rotation","colortable","comfit","command_line_args","common","compile_opt","complex","complexarr","complexround","compute_mesh_normals","cond","congrid","conj","constrained_min","contour","contour","convert_coord","convol","convol_fft","coord2to3","copy_lun","correlate","cos","cosh","cpu","cramer","createboxplotdata","create_cursor","create_struct","create_view","crossp","crvlength","ct_luminance","cti_test","cursor","curvefit","cv_coord","cvttobm","cw_animate","cw_animate_getp","cw_animate_load","cw_animate_run","cw_arcball","cw_bgroup","cw_clr_index","cw_colorsel","cw_defroi","cw_field","cw_filesel","cw_form","cw_fslider","cw_light_editor","cw_light_editor_get","cw_light_editor_set","cw_orient","cw_palette_editor","cw_palette_editor_get","cw_palette_editor_set","cw_pdmenu","cw_rgbslider","cw_tmpl","cw_zoom","db_exists","dblarr","dcindgen","dcomplex","dcomplexarr","define_key","define_msgblk","define_msgblk_from_file","defroi","defsysv","delvar","dendro_plot","dendrogram","deriv","derivsig","determ","device","dfpmin","diag_matrix","dialog_dbconnect","dialog_message","dialog_pickfile","dialog_printersetup","dialog_printjob","dialog_read_image","dialog_write_image","dictionary","digital_filter","dilate","dindgen","dissolve","dist","distance_measure","dlm_load","dlm_register","doc_library","double","draw_roi","edge_dog","efont","eigenql","eigenvec","ellipse","elmhes","emboss","empty","enable_sysrtn","eof","eos","erase","erf","erfc","erfcx","erode","errorplot","errplot","estimator_filter","execute","exit","exp","expand","expand_path","expint","extract","extract_slice","f_cvf","f_pdf","factorial","fft","file_basename","file_chmod","file_copy","file_delete","file_dirname","file_expand_path","file_gunzip","file_gzip","file_info","file_lines","file_link","file_mkdir","file_move","file_poll_input","file_readlink","file_same","file_search","file_tar","file_test","file_untar","file_unzip","file_which","file_zip","filepath","findgen","finite","fix","flick","float","floor","flow3","fltarr","flush","format_axis_values","forward_function","free_lun","fstat","fulstr","funct","function","fv_test","fx_root","fz_roots","gamma","gamma_ct","gauss_cvf","gauss_pdf","gauss_smooth","gauss2dfit","gaussfit","gaussian_function","gaussint","get_drive_list","get_dxf_objects","get_kbrd","get_login_info","get_lun","get_screen_size","getenv","getwindows","greg2jul","grib","grid_input","grid_tps","grid3","griddata","gs_iter","h_eq_ct","h_eq_int","hanning","hash","hdf","hdf5","heap_free","heap_gc","heap_nosave","heap_refcount","heap_save","help","hilbert","hist_2d","hist_equal","histogram","hls","hough","hqr","hsv","i18n_multibytetoutf8","i18n_multibytetowidechar","i18n_utf8tomultibyte","i18n_widechartomultibyte","ibeta","icontour","iconvertcoord","idelete","identity","idl_base64","idl_container","idl_validname","idlexbr_assistant","idlitsys_createtool","idlunit","iellipse","igamma","igetcurrent","igetdata","igetid","igetproperty","iimage","image","image_cont","image_statistics","image_threshold","imaginary","imap","indgen","int_2d","int_3d","int_tabulated","intarr","interpol","interpolate","interval_volume","invert","ioctl","iopen","ir_filter","iplot","ipolygon","ipolyline","iputdata","iregister","ireset","iresolve","irotate","isa","isave","iscale","isetcurrent","isetproperty","ishft","isocontour","isosurface","isurface","itext","itranslate","ivector","ivolume","izoom","journal","json_parse","json_serialize","jul2greg","julday","keyword_set","krig2d","kurtosis","kw_test","l64indgen","la_choldc","la_cholmprove","la_cholsol","la_determ","la_eigenproblem","la_eigenql","la_eigenvec","la_elmhes","la_gm_linear_model","la_hqr","la_invert","la_least_square_equality","la_least_squares","la_linear_equation","la_ludc","la_lumprove","la_lusol","la_svd","la_tridc","la_trimprove","la_triql","la_trired","la_trisol","label_date","label_region","ladfit","laguerre","lambda","lambdap","lambertw","laplacian","least_squares_filter","leefilt","legend","legendre","linbcg","lindgen","linfit","linkimage","list","ll_arc_distance","lmfit","lmgr","lngamma","lnp_test","loadct","locale_get","logical_and","logical_or","logical_true","lon64arr","lonarr","long","long64","lsode","lu_complex","ludc","lumprove","lusol","m_correlate","machar","make_array","make_dll","make_rt","map","mapcontinents","mapgrid","map_2points","map_continents","map_grid","map_image","map_patch","map_proj_forward","map_proj_image","map_proj_info","map_proj_init","map_proj_inverse","map_set","matrix_multiply","matrix_power","max","md_test","mean","meanabsdev","mean_filter","median","memory","mesh_clip","mesh_decimate","mesh_issolid","mesh_merge","mesh_numtriangles","mesh_obj","mesh_smooth","mesh_surfacearea","mesh_validate","mesh_volume","message","min","min_curve_surf","mk_html_help","modifyct","moment","morph_close","morph_distance","morph_gradient","morph_hitormiss","morph_open","morph_thin","morph_tophat","multi","n_elements","n_params","n_tags","ncdf","newton","noise_hurl","noise_pick","noise_scatter","noise_slur","norm","obj_class","obj_destroy","obj_hasmethod","obj_isa","obj_new","obj_valid","objarr","on_error","on_ioerror","online_help","openr","openu","openw","oplot","oploterr","orderedhash","p_correlate","parse_url","particle_trace","path_cache","path_sep","pcomp","plot","plot3d","plot","plot_3dbox","plot_field","ploterr","plots","polar_contour","polar_surface","polyfill","polyshade","pnt_line","point_lun","polarplot","poly","poly_2d","poly_area","poly_fit","polyfillv","polygon","polyline","polywarp","popd","powell","pref_commit","pref_get","pref_set","prewitt","primes","print","printf","printd","pro","product","profile","profiler","profiles","project_vol","ps_show_fonts","psafm","pseudo","ptr_free","ptr_new","ptr_valid","ptrarr","pushd","qgrid3","qhull","qromb","qromo","qsimp","query_*","query_ascii","query_bmp","query_csv","query_dicom","query_gif","query_image","query_jpeg","query_jpeg2000","query_mrsid","query_pict","query_png","query_ppm","query_srf","query_tiff","query_video","query_wav","r_correlate","r_test","radon","randomn","randomu","ranks","rdpix","read","readf","read_ascii","read_binary","read_bmp","read_csv","read_dicom","read_gif","read_image","read_interfile","read_jpeg","read_jpeg2000","read_mrsid","read_pict","read_png","read_ppm","read_spr","read_srf","read_sylk","read_tiff","read_video","read_wav","read_wave","read_x11_bitmap","read_xwd","reads","readu","real_part","rebin","recall_commands","recon3","reduce_colors","reform","region_grow","register_cursor","regress","replicate","replicate_inplace","resolve_all","resolve_routine","restore","retall","return","reverse","rk4","roberts","rot","rotate","round","routine_filepath","routine_info","rs_test","s_test","save","savgol","scale3","scale3d","scatterplot","scatterplot3d","scope_level","scope_traceback","scope_varfetch","scope_varname","search2d","search3d","sem_create","sem_delete","sem_lock","sem_release","set_plot","set_shading","setenv","sfit","shade_surf","shade_surf_irr","shade_volume","shift","shift_diff","shmdebug","shmmap","shmunmap","shmvar","show3","showfont","signum","simplex","sin","sindgen","sinh","size","skewness","skip_lun","slicer3","slide_image","smooth","sobel","socket","sort","spawn","sph_4pnt","sph_scat","spher_harm","spl_init","spl_interp","spline","spline_p","sprsab","sprsax","sprsin","sprstp","sqrt","standardize","stddev","stop","strarr","strcmp","strcompress","streamline","streamline","stregex","stretch","string","strjoin","strlen","strlowcase","strmatch","strmessage","strmid","strpos","strput","strsplit","strtrim","struct_assign","struct_hide","strupcase","surface","surface","surfr","svdc","svdfit","svsol","swap_endian","swap_endian_inplace","symbol","systime","t_cvf","t_pdf","t3d","tag_names","tan","tanh","tek_color","temporary","terminal_size","tetra_clip","tetra_surface","tetra_volume","text","thin","thread","threed","tic","time_test2","timegen","timer","timestamp","timestamptovalues","tm_test","toc","total","trace","transpose","tri_surf","triangulate","trigrid","triql","trired","trisol","truncate_lun","ts_coef","ts_diff","ts_fcast","ts_smooth","tv","tvcrs","tvlct","tvrd","tvscl","typename","uindgen","uint","uintarr","ul64indgen","ulindgen","ulon64arr","ulonarr","ulong","ulong64","uniq","unsharp_mask","usersym","value_locate","variance","vector","vector_field","vel","velovect","vert_t3d","voigt","volume","voronoi","voxel_proj","wait","warp_tri","watershed","wdelete","wf_draw","where","widget_base","widget_button","widget_combobox","widget_control","widget_displaycontextmenu","widget_draw","widget_droplist","widget_event","widget_info","widget_label","widget_list","widget_propertysheet","widget_slider","widget_tab","widget_table","widget_text","widget_tree","widget_tree_move","widget_window","wiener_filter","window","window","write_bmp","write_csv","write_gif","write_image","write_jpeg","write_jpeg2000","write_nrif","write_pict","write_png","write_ppm","write_spr","write_srf","write_sylk","write_tiff","write_video","write_wav","write_wave","writeu","wset","wshow","wtn","wv_applet","wv_cwt","wv_cw_wavelet","wv_denoise","wv_dwt","wv_fn_coiflet","wv_fn_daubechies","wv_fn_gaussian","wv_fn_haar","wv_fn_morlet","wv_fn_paul","wv_fn_symlet","wv_import_data","wv_import_wavelet","wv_plot3d_wps","wv_plot_multires","wv_pwt","wv_tool_denoise","xbm_edit","xdisplayfile","xdxf","xfont","xinteranimate","xloadct","xmanager","xmng_tmpl","xmtool","xobjview","xobjview_rotate","xobjview_write_image","xpalette","xpcolor","xplot3d","xregistered","xroi","xsq_test","xsurface","xvaredit","xvolume","xvolume_rotate","xvolume_write_image","xyouts","zlib_compress","zlib_uncompress","zoom","zoom_24"],a=r(i),l=["begin","end","endcase","endfor","endwhile","endif","endrep","endforeach","break","case","continue","for","foreach","goto","if","then","else","repeat","until","switch","while","do","pro","function"],n=r(l);t.registerHelper("hintWords","idl",i.concat(l));var d=new RegExp("^[_a-z¡-￿][_a-z0-9¡-￿]*","i"),c=/[+\-*&=<>\/@#~$]/,p=new RegExp("(and|or|eq|lt|le|gt|ge|ne|not)","i");function m(e){return e.eatSpace()?null:e.match(";")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(n)?"keyword":e.match(a)?"builtin":e.match(d)?"variable":e.match(c)||e.match(p)?"operator":(e.next(),null)}t.defineMode("idl",function(){return{token:function(e){return m(e)}}}),t.defineMIME("text/x-idl","idl")})})();var s=w.exports;const h=f(s),b=g({__proto__:null,default:h},[s]);export{b as i}; diff --git a/dist-ui/assets/index-B1P1bdpo.css b/dist-ui/assets/index-B1P1bdpo.css new file mode 100644 index 00000000..edd04bdd --- /dev/null +++ b/dist-ui/assets/index-B1P1bdpo.css @@ -0,0 +1,9 @@ +.CodeMirror{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;direction:ltr;font-size:14px;z-index:0;border-radius:5px;height:auto;background:transparent;position:relative;overflow:hidden}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px;border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-gutters{background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px;min-width:25px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-cursor{border-left:2px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}span.cm-header,span.cm-strong{font-weight:700}span.cm-em{font-style:italic}span.cm-link{text-decoration:underline}.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#c0dbfd}.code-is-dark{font-weight:350;color:#abb2bf;background-color:#282c34}.code-is-dark .CodeMirror-selected{background-color:#3e4451}.code-is-dark .CodeMirror-gutters{background:#20242a}.code-is-dark .CodeMirror-linenumber{color:#5c6370!important}.code-is-dark .CodeMirror-cursor{border-left:2px solid #aaaaaa!important}.code-is-dark .cm-comment{color:#6a9955}.code-is-dark .cm-builtin,.code-is-dark .cm-keyword{color:#569cd6}.code-is-dark .cm-number{color:#b5cea8}.code-is-dark .cm-def{color:#646695}.code-is-dark .cm-variable,.code-is-dark .cm-attribute{color:#9cdcfe}.code-is-dark .cm-string{color:#ce9178}.code-is-dark .cm-tag{color:#4ec9b0}.code-is-dark .cm-punctuation,.code-is-dark .cm-operator{color:#d4d4d4}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.code-is-dark .CodeMirror-scrollbar-filler,.code-is-dark .CodeMirror-gutter-filler{background-color:#282c34}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper{-webkit-user-select:none;-moz-user-select:none;user-select:none}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-code{outline:none}.CodeMirror-code>div{padding-left:3px}.CodeMirror-code>pre{padding-left:8px}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#c0dbfd}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#c0dbfd}.cm-searching{background:#ffa;background:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-overlayscroll .CodeMirror-scrollbar-filler,.CodeMirror-overlayscroll .CodeMirror-gutter-filler{display:none}.CodeMirror-overlayscroll-horizontal div,.CodeMirror-overlayscroll-vertical div{position:absolute;background:#bcd;border-radius:3px}.CodeMirror-overlayscroll-horizontal,.CodeMirror-overlayscroll-vertical{position:absolute;z-index:6}.CodeMirror-overlayscroll-horizontal{bottom:0;left:0;height:6px}.CodeMirror-overlayscroll-horizontal div{bottom:0;height:100%}.CodeMirror-overlayscroll-vertical{right:0;top:0;width:6px}.CodeMirror-overlayscroll-vertical div{right:2px;width:100%}.CodeMirror-simplescroll-horizontal div,.CodeMirror-simplescroll-vertical div{position:absolute;background:#ccc;box-sizing:border-box;border:1px solid #bbb;border-radius:2px}.CodeMirror-simplescroll-horizontal,.CodeMirror-simplescroll-vertical{position:absolute;z-index:6;opacity:.4;background:#f4f4f4}.code-is-dark .CodeMirror-simplescroll-horizontal,.code-is-dark .CodeMirror-simplescroll-vertical{background:#282c34}.code-is-dark .CodeMirror-simplescroll-horizontal div,.code-is-dark .CodeMirror-simplescroll-vertical div{background:#424242;border:1px solid #212121}.code-is-dark .CodeMirror-simplescroll-horizontal div{background:#424242;border-bottom:0}.code-is-dark .CodeMirror-simplescroll-horizontal{bottom:-1px}.CodeMirror-simplescroll-horizontal{bottom:1px;left:0;height:8px}.CodeMirror-simplescroll-horizontal div{bottom:0;height:100%}.CodeMirror-simplescroll-vertical{right:1px;top:0;width:8px}.code-is-dark .CodeMirror-simplescroll-vertical{right:0;width:9px}.CodeMirror-simplescroll-vertical div{right:0;width:100%}.CodeMirror-activeline-background{background:#f7f7f9}.code-is-dark .CodeMirror-activeline-background{background-color:#99bbff0a}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link,.code-is-light .cm-link,.code-is-light span.cm-link{text-decoration:underline;color:#00c}.cm-strikethrough{text-decoration:line-through}.cm-invalidchar,.code-is-light .cm-error,.code-is-light span.cm-error{color:red}.code-is-light .cm-header,.code-is-light span.cm-header{color:#00f}.code-is-light .cm-quote,.code-is-light span.cm-quote{color:#090}.code-is-light .cm-keyword,.code-is-light span.cm-keyword{color:#00a4db}.code-is-light .cm-string,.code-is-light .cm-string-2,.code-is-light span.cm-string,.code-is-light span.cm-string-2{color:#e3116c}.code-is-light .cm-comment,.code-is-light span.cm-comment{color:#998}.code-is-light .cm-variable,.code-is-light .cm-variable-2,.code-is-light .cm-variable-3,.code-is-light .cm-property,.code-is-light span.cm-variable,.code-is-light span.cm-variable-2,.code-is-light span.cm-variable-3,.code-is-light span.cm-property{color:#36acaa}.code-is-light .cm-operator,.code-is-light .cm-punctuation,.code-is-light span.cm-operator,.code-is-light span.cm-punctuation{color:#393a34}.code-is-light .cm-def,.code-is-light span.cm-def{color:#d73a49}.code-is-light .cm-atom,.code-is-light .cm-tag,.code-is-light span.cm-atom,.code-is-light span.cm-tag{color:#00009f}.code-is-light .cm-attribute,.code-is-light span.cm-attr,.code-is-light span.cm-attribute,.code-is-light span.cm-hr{color:#00a4db}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}._TopRow_16h0h_1{flex:0 0 auto;text-align:center}._BottomRow_16h0h_5{flex:1 1 auto}._Panel_16h0h_9{display:flex;flex-direction:column}._PanelContent_16h0h_14{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;overflow:hidden;border-radius:.5rem}._ResizeHandleOuter_16h0h_24{flex:0 0 .8em;position:relative;outline:none;--background-color: transparent}._ResizeHandleOuter_16h0h_24[data-resize-handle-active]{--background-color: var(--color-solid-resize-bar-handle)}._ResizeHandleInner_16h0h_35{position:absolute;top:.15em;bottom:.15em;left:.15em;right:.15em;border-radius:.25em;background-color:var(--background-color);transition:background-color .2s linear}._Button_16h0h_46{color:var(--color-default);background-color:var(--color-button-background);border:1px solid var(--color-button-border);border-radius:.25rem;padding:.25rem .5rem;cursor:pointer}._Button_16h0h_46:hover{background-color:var(--color-button-background-hover)}._Icon_16h0h_58{width:14px;height:14px;position:absolute;left:calc(50% - 7px);top:calc(50% - 7px)}:root{--rct-color-tree-bg: #f6f8fa;--rct-color-tree-focus-outline: #0366d6;--rct-color-focustree-item-selected-bg: #e8eaed;--rct-color-focustree-item-selected-text: inherit;--rct-color-focustree-item-focused-border: #0366d6;--rct-color-focustree-item-draggingover-bg: #ebf0f4;--rct-color-focustree-item-draggingover-color: inherit;--rct-color-nonfocustree-item-selected-bg: #e8eaed;--rct-color-nonfocustree-item-selected-text: inherit;--rct-color-nonfocustree-item-focused-border: #dbdbdb;--rct-color-search-highlight-bg: #a2aed2;--rct-color-drag-between-line-bg: #0366d6;--rct-color-arrow: #373a3f;--rct-item-height: 22px;--rct-color-renaming-input-submitbutton-bg: inherit;--rct-color-renaming-input-submitbutton-bg-hover: #0366d6;--rct-color-renaming-input-submitbutton-bg-active: #095fc1;--rct-color-renaming-input-submitbutton-text: inherit;--rct-color-renaming-input-submitbutton-text-hover: #ffffff;--rct-color-renaming-input-submitbutton-text-active: #ffffff}.rct-tree-root{font-family:sans-serif;background-color:var(--rct-color-tree-bg);padding:4px 0}.rct-tree-root-focus{outline:1px solid var(--rct-color-tree-focus-outline)}.rct-tree-item-li{font-size:.8rem;list-style-type:none;padding:0;margin:0}.rct-tree-item-title-container{display:flex;align-items:center;border-top:1px solid transparent;border-bottom:1px solid transparent}.rct-tree-item-button{flex-grow:1;display:flex;align-items:center;box-sizing:border-box;background-color:transparent;font-family:inherit;font-size:inherit;border:none;width:100%;height:var(--rct-item-height);text-align:left;color:inherit;outline:none}.rct-tree-item-arrow{width:10px}.rct-tree-item-arrow svg{width:10px}.rct-tree-item-arrow-path{fill:var(--rct-color-arrow)}.rct-tree-items-container{margin:0;padding:0}.rct-tree-root:not(.rct-tree-root-focus) .rct-tree-item-title-container-selected{background-color:var(--rct-color-nonfocustree-item-selected-bg);color:var(--rct-color-nonfocustree-item-selected-text)}.rct-tree-root.rct-tree-root-focus .rct-tree-item-title-container-selected{background-color:var(--rct-color-focustree-item-selected-bg);color:var(--rct-color-focustree-item-selected-text)}.rct-tree-root.rct-tree-root-focus .rct-tree-item-title-container-focused{outline:none;border-color:var(--rct-color-focustree-item-focused-border)}.rct-tree-root:not(.rct-tree-root-focus) .rct-tree-item-title-container-focused{outline:none;border-color:var(--rct-color-nonfocustree-item-focused-border)}.rct-tree-item-title-container-dragging-over{background-color:var(--rct-color-focustree-item-draggingover-bg);color:var(--rct-color-focustree-item-draggingover-color)}.rct-tree-item-button-search-match{font-style:italic}.rct-tree-item-search-highlight{background-color:var(--rct-color-search-highlight-bg)}.rct-tree-drag-between-line{position:absolute;right:0;top:-2px;height:4px;background-color:var(--rct-color-drag-between-line-bg)}.rct-tree-drag-between-line-top{top:0}.rct-tree-drag-between-line-bottom{top:-4px}.rct-tree-search-input-container{position:absolute;top:0;right:0;width:120px}.rct-tree-search-input{position:fixed;width:120px}.rct-tree-item-renaming-form{flex-grow:1;display:flex}.rct-tree-item-renaming-input{flex-grow:1;background-color:inherit;border:none;color:inherit;outline:none}.rct-tree-item-renaming-submit-button{border:none;background-color:var(--rct-color-renaming-input-submitbutton-bg);border-radius:999px;color:var(--rct-color-renaming-input-submitbutton-text);cursor:pointer}.rct-tree-item-renaming-submit-button:hover{background-color:var(--rct-color-renaming-input-submitbutton-bg-hover);color:var(--rct-color-renaming-input-submitbutton-text-hover)}.rct-tree-item-renaming-submit-button:active{background-color:var(--rct-color-renaming-input-submitbutton-bg-active);color:var(--rct-color-renaming-input-submitbutton-text-active)}:root{--rct-color-tree-bg: transparent;--rct-item-height: 28px;--rct-color-search-highlight-bg: #acccf1;--rct-color-tree-focus-outline: transparent;--rct-item-margin: 1px;--rct-item-padding: 8px;--rct-radius: 4px;--rct-bar-offset: 6px;--rct-bar-width: 4px;--rct-bar-color: #0366d6;--rct-focus-outline: #000000;--rct-color-focustree-item-selected-bg: #f0f2f5;--rct-color-focustree-item-hover-bg: #f0f2f5;--rct-color-focustree-item-hover-text: inherit;--rct-color-focustree-item-active-bg: #e4e6eb;--rct-color-focustree-item-active-text: #4f4f4f;--rct-arrow-size: 10px;--rct-arrow-container-size: 16px;--rct-arrow-padding: 6px;--rct-cursor: pointer;--rct-search-width: 120px;--rct-search-height: 16px;--rct-search-padding: 8px;--rct-search-border: #b4b7bd;--rct-search-border-bottom: #0366d6;--rct-search-bg: #f8f9fa;--rct-search-text: #000000;--rct-search-text-offset: calc(var(--rct-search-padding) * 2 + 16px);--rct-search-container-width: calc(var(--rct-search-width) + var(--rct-search-text-offset) + var(--rct-search-padding) + 2px)}.rct-dark{--rct-color-search-highlight-bg: #2f5381;--rct-bar-color: #1d7be5;--rct-focus-outline: #ffffff;--rct-color-focustree-item-selected-text: #ffffff;--rct-color-focustree-item-selected-bg: #373737;--rct-color-focustree-item-hover-bg: #373737;--rct-color-focustree-item-hover-text: #ffffff;--rct-color-focustree-item-active-bg: #313131;--rct-color-focustree-item-active-text: #ffffff;--rct-color-focustree-item-draggingover-bg: #313131;--rct-color-focustree-item-draggingover-color: #ffffff;--rct-color-arrow: #ffffff;--rct-search-border: #4f4f4f;--rct-search-border-bottom: #1d7be5;--rct-search-bg: #373737;--rct-search-text: #ffffff;--rct-search-text-offset: calc(var(--rct-search-padding) * 2 + 16px)}.rct-tree-item-button{padding:0 var(--rct-item-padding) 0 calc(var(--rct-item-padding) + var(--rct-arrow-container-size) + var(--rct-arrow-padding));margin-left:calc(-1 * var(--rct-arrow-size));cursor:var(--rct-cursor);transition:color .1s ease-out,background-color .1s ease-out}.rct-tree-item-button:focus-visible{outline:2px solid var(--rct-focus-outline)}.rct-tree-item-button:hover{background-color:var(--rct-color-focustree-item-hover-bg);color:var(--rct-color-focustree-item-hover-text)}.rct-tree-item-button:active{background-color:var(--rct-color-focustree-item-active-bg);color:var(--rct-color-focustree-item-active-text)}.rct-tree-item-title-container-selected .rct-tree-item-button{background-color:var(--rct-color-focustree-item-selected-bg);color:var(--rct-color-focustree-item-selected-text)}.rct-tree-item-title-container-selected .rct-tree-item-button:before{content:" ";position:absolute;top:calc(var(--rct-bar-offset) + var(--rct-item-margin));left:calc(-.5 * var(--rct-bar-width));height:calc(var(--rct-item-height) - 2 * var(--rct-bar-offset));width:var(--rct-bar-width);background-color:var(--rct-bar-color);border-radius:99px}.rct-tree-item-button{margin-top:var(--rct-item-margin);margin-bottom:var(--rct-item-margin);position:relative;border-radius:var(--rct-radius)}.rct-tree-item-title-container-dragging-over .rct-tree-item-button{background-color:var(--rct-color-focustree-item-draggingover-bg);color:var(--rct-color-focustree-item-draggingover-color)}.rct-tree-item-title-container{border:none;background-color:unset!important}.rct-tree-item-arrow{z-index:1;margin-right:calc(-1 * var(--rct-arrow-container-size) + var(--rct-arrow-padding));width:var(--rct-arrow-container-size);height:var(--rct-arrow-container-size);display:flex;justify-content:center;align-content:center;border-radius:var(--rct-radius);cursor:var(--rct-cursor)}.rct-tree-item-arrow.rct-tree-item-arrow-isFolder:hover{background-color:var(--rct-color-focustree-item-hover-bg);color:var(--rct-color-focustree-item-hover-text)}.rct-tree-item-arrow svg{width:var(--rct-arrow-size)}.rct-tree-item-renaming-submit-button{border-radius:var(--rct-radius);visibility:hidden}.rct-tree-drag-between-line{border-radius:99px;height:3px}.rct-tree-search-input-container{width:var(--rct-search-container-width)}.rct-tree-search-input{width:var(--rct-search-width);height:var(--rct-search-height);padding:var(--rct-search-padding);padding-left:var(--rct-search-text-offset);margin:0;border:1px solid var(--rct-search-border);border-bottom:2px solid var(--rct-search-border-bottom);border-radius:var(--rct-radius);background-color:var(--rct-search-bg);color:var(--rct-search-text)}.rct-tree-search-input:focus{outline:none}.rct-tree-input-icon{content:url(data:image/svg+xml,%3Csvg%20stroke%3D%22currentColor%22%20fill%3D%22currentColor%22%20stroke-width%3D%220%22%20viewBox%3D%220%200%2016%2016%22%20height%3D%221em%22%20width%3D%221em%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.742%2010.344a6.5%206.5%200%201%200-1.397%201.398h-.001c.03.04.062.078.098.115l3.85%203.85a1%201%200%200%200%201.415-1.414l-3.85-3.85a1.007%201.007%200%200%200-.115-.1zM12%206.5a5.5%205.5%200%201%201-11%200%205.5%205.5%200%200%201%2011%200z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E);position:fixed;transform:translateY(var(--rct-search-padding)) translate(var(--rct-search-padding));z-index:1}.rct-dark .rct-tree-input-icon{content:url(data:image/svg+xml,%3Csvg%20stroke%3D%22%23ffffff%22%20fill%3D%22%23ffffff%22%20stroke-width%3D%220%22%20viewBox%3D%220%200%2016%2016%22%20height%3D%221em%22%20width%3D%221em%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.742%2010.344a6.5%206.5%200%201%200-1.397%201.398h-.001c.03.04.062.078.098.115l3.85%203.85a1%201%200%200%200%201.415-1.414l-3.85-3.85a1.007%201.007%200%200%200-.115-.1zM12%206.5a5.5%205.5%200%201%201-11%200%205.5%205.5%200%200%201%2011%200z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E)}[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.dashboard-tabs .simplebar-content-wrapper{margin:0}.dashboard-tabs .simplebar-track.simplebar-horizontal,.scroll-h-tabs-wrap .simplebar-track.simplebar-horizontal{left:0;height:7px}.simplebar-content:before,.simplebar-content:after{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;-moz-user-select:none;user-select:none;-webkit-user-select:none;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:100;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}/*! + * OverlayScrollbars + * Version: 2.4.5 + * + * Copyright (c) Rene Haas | KingSora. + * https://github.com/KingSora + * + * Released under the MIT license. + */.os-size-observer,.os-size-observer-listener{scroll-behavior:auto!important;direction:inherit;pointer-events:none;overflow:hidden;visibility:hidden;box-sizing:border-box}.os-size-observer,.os-size-observer-listener,.os-size-observer-listener-item,.os-size-observer-listener-item-final{writing-mode:horizontal-tb;position:absolute;left:0;top:0}.os-size-observer{z-index:-1;contain:strict;display:flex;flex-direction:row;flex-wrap:nowrap;padding:inherit;border:inherit;box-sizing:inherit;margin:-133px;top:0;right:0;bottom:0;left:0;transform:scale(.1)}.os-size-observer:before{content:"";flex:none;box-sizing:inherit;padding:10px;width:10px;height:10px}.os-size-observer-appear{animation:os-size-observer-appear-animation 1ms forwards}.os-size-observer-listener{box-sizing:border-box;position:relative;flex:auto;padding:inherit;border:inherit;margin:-133px;transform:scale(10)}.os-size-observer-listener.ltr{margin-right:-266px;margin-left:0}.os-size-observer-listener.rtl{margin-left:-266px;margin-right:0}.os-size-observer-listener:empty:before{content:"";width:100%;height:100%}.os-size-observer-listener:empty:before,.os-size-observer-listener>.os-size-observer-listener-item{display:block;position:relative;padding:inherit;border:inherit;box-sizing:content-box;flex:auto}.os-size-observer-listener-scroll{box-sizing:border-box;display:flex}.os-size-observer-listener-item{right:0;bottom:0;overflow:hidden;direction:ltr;flex:none}.os-size-observer-listener-item-final{transition:none}@keyframes os-size-observer-appear-animation{0%{cursor:auto}to{cursor:none}}.os-trinsic-observer{flex:none;box-sizing:border-box;position:relative;max-width:0px;max-height:1px;padding:0;margin:0;border:none;overflow:hidden;z-index:-1;height:0;top:calc(100% + 1px);contain:strict}.os-trinsic-observer:not(:empty){height:calc(100% + 1px);top:-1px}.os-trinsic-observer:not(:empty)>.os-size-observer{width:1000%;height:1000%;min-height:1px;min-width:1px}.os-environment{scroll-behavior:auto!important;--os-custom-prop: -1;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:var(--os-custom-prop)}.os-environment div{width:200%;height:200%;margin:10px 0}.os-environment.os-environment-flexbox-glue{display:flex;flex-direction:row;flex-wrap:nowrap;height:auto;width:auto;min-height:200px;min-width:200px}.os-environment.os-environment-flexbox-glue div{flex:auto;width:auto;height:auto;max-height:100%;max-width:100%;margin:0}.os-environment.os-environment-flexbox-glue-max{max-height:200px}.os-environment.os-environment-flexbox-glue-max div{overflow:visible}.os-environment.os-environment-flexbox-glue-max div:before{content:"";display:block;height:999px;width:999px}.os-environment,[data-overlayscrollbars-viewport]{-ms-overflow-style:scrollbar!important}[data-overlayscrollbars-initialize],[data-overlayscrollbars~=scrollbarHidden],[data-overlayscrollbars-viewport~=scrollbarHidden],.os-scrollbar-hidden.os-environment{scrollbar-width:none!important}[data-overlayscrollbars-initialize]::-webkit-scrollbar,[data-overlayscrollbars-initialize]::-webkit-scrollbar-corner,[data-overlayscrollbars~=scrollbarHidden]::-webkit-scrollbar,[data-overlayscrollbars~=scrollbarHidden]::-webkit-scrollbar-corner,[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar,[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar-corner,.os-scrollbar-hidden.os-environment::-webkit-scrollbar,.os-scrollbar-hidden.os-environment::-webkit-scrollbar-corner{-webkit-appearance:none!important;appearance:none!important;display:none!important;width:0!important;height:0!important}[data-overlayscrollbars-initialize]:not([data-overlayscrollbars]):not(html):not(body){overflow:auto}[data-overlayscrollbars~=host],[data-overlayscrollbars-padding]{display:flex;align-items:stretch!important;flex-direction:row!important;flex-wrap:nowrap!important}[data-overlayscrollbars-padding],[data-overlayscrollbars-viewport]{box-sizing:inherit;position:relative;flex:auto!important;height:auto;width:100%;min-width:0;padding:0;margin:0;border:none;z-index:0}[data-overlayscrollbars-viewport]{--os-vaw: 0;--os-vah: 0}[data-overlayscrollbars-viewport][data-overlayscrollbars-viewport~=arrange]:before{content:"";position:absolute;pointer-events:none;z-index:-1;min-width:1px;min-height:1px;width:var(--os-vaw);height:var(--os-vah)}[data-overlayscrollbars-padding],[data-overlayscrollbars-viewport]{overflow:hidden}[data-overlayscrollbars~=host],[data-overlayscrollbars~=viewport]{position:relative}[data-overlayscrollbars~=overflowVisible],[data-overlayscrollbars-padding~=overflowVisible],[data-overlayscrollbars-viewport~=overflowVisible]{overflow:visible}[data-overlayscrollbars-overflow-x=hidden]{overflow-x:hidden}[data-overlayscrollbars-overflow-x=scroll]{overflow-x:scroll}[data-overlayscrollbars-overflow-x=hidden]{overflow-y:hidden}[data-overlayscrollbars-overflow-y=scroll]{overflow-y:scroll}[data-overlayscrollbars~=scrollbarPressed],[data-overlayscrollbars~=scrollbarPressed] [data-overlayscrollbars-viewport]{scroll-behavior:auto!important}[data-overlayscrollbars-content]{box-sizing:inherit}[data-overlayscrollbars-contents]{text-overflow:ellipsis}.code-scroll-x [data-overlayscrollbars-contents]{text-overflow:unset}[data-overlayscrollbars-contents]:not([data-overlayscrollbars-padding]):not([data-overlayscrollbars-viewport]):not([data-overlayscrollbars-content]){display:contents}[data-overlayscrollbars-grid],[data-overlayscrollbars-grid] [data-overlayscrollbars-padding]{display:grid;grid-template:1fr/1fr}[data-overlayscrollbars-grid]>[data-overlayscrollbars-padding],[data-overlayscrollbars-grid]>[data-overlayscrollbars-viewport],[data-overlayscrollbars-grid]>[data-overlayscrollbars-padding]>[data-overlayscrollbars-viewport]{height:auto!important;width:auto!important}.os-scrollbar{contain:size layout;contain:size layout style;transition:opacity .15s,visibility .15s,top .15s,right .15s,bottom .15s,left .15s;pointer-events:none;position:absolute;opacity:0;visibility:hidden}body>.os-scrollbar{position:fixed;z-index:99999}.os-scrollbar-transitionless{transition:none}.os-scrollbar-track{position:relative;direction:ltr!important;padding:0!important;border:none!important}.os-scrollbar-handle{position:absolute}.os-scrollbar-track,.os-scrollbar-handle{pointer-events:none;width:100%;height:100%}.os-scrollbar.os-scrollbar-track-interactive .os-scrollbar-track,.os-scrollbar.os-scrollbar-handle-interactive .os-scrollbar-handle{pointer-events:auto;touch-action:none}.os-scrollbar-horizontal{bottom:0;left:0}.os-scrollbar-vertical{top:0;right:0}.os-scrollbar-rtl.os-scrollbar-horizontal{right:0}.os-scrollbar-rtl.os-scrollbar-vertical{right:auto;left:0}.os-scrollbar-visible,.os-scrollbar-interaction.os-scrollbar-visible{opacity:1;visibility:visible}.os-scrollbar-auto-hide.os-scrollbar-auto-hide-hidden{opacity:0;visibility:hidden}.os-scrollbar-unusable,.os-scrollbar-unusable *,.os-scrollbar-wheel,.os-scrollbar-wheel *{pointer-events:none!important}.os-scrollbar-unusable .os-scrollbar-handle{opacity:0!important}.os-scrollbar-horizontal .os-scrollbar-handle{bottom:0}.os-scrollbar-vertical .os-scrollbar-handle{right:0}.os-scrollbar-rtl.os-scrollbar-vertical .os-scrollbar-handle{right:auto;left:0}.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless.os-scrollbar-rtl{left:0;right:0}.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl{top:0;bottom:0}.os-scrollbar{--os-size: 0;--os-padding-perpendicular: 0;--os-padding-axis: 0;--os-track-border-radius: 0;--os-track-bg: none;--os-track-bg-hover: none;--os-track-bg-active: none;--os-track-border: none;--os-track-border-hover: none;--os-track-border-active: none;--os-handle-border-radius: 0;--os-handle-bg: none;--os-handle-bg-hover: none;--os-handle-bg-active: none;--os-handle-border: none;--os-handle-border-hover: none;--os-handle-border-active: none;--os-handle-min-size: 33px;--os-handle-max-size: none;--os-handle-perpendicular-size: 100%;--os-handle-perpendicular-size-hover: 100%;--os-handle-perpendicular-size-active: 100%;--os-handle-interactive-area-offset: 0}.os-scrollbar .os-scrollbar-track{border:var(--os-track-border);border-radius:var(--os-track-border-radius);background:var(--os-track-bg);transition:opacity .15s,background-color .15s,border-color .15s}.os-scrollbar .os-scrollbar-track:hover{border:var(--os-track-border-hover);background:var(--os-track-bg-hover)}.os-scrollbar .os-scrollbar-track:active{border:var(--os-track-border-active);background:var(--os-track-bg-active)}.os-scrollbar .os-scrollbar-handle{border:var(--os-handle-border);border-radius:var(--os-handle-border-radius);background:var(--os-handle-bg)}.os-scrollbar .os-scrollbar-handle:before{content:"";position:absolute;left:0;right:0;top:0;bottom:0;display:block}.os-scrollbar .os-scrollbar-handle:hover{border:var(--os-handle-border-hover);background:var(--os-handle-bg-hover)}.os-scrollbar .os-scrollbar-handle:active{border:var(--os-handle-border-active);background:var(--os-handle-bg-active)}.os-scrollbar-horizontal{padding:var(--os-padding-perpendicular) var(--os-padding-axis);right:var(--os-size-horizontal);height:var(--os-size-horizontal)}.os-scrollbar-horizontal.os-scrollbar-rtl{left:var(--os-size-horizontal);right:0}.os-scrollbar-horizontal .os-scrollbar-handle{min-width:var(--os-handle-min-size);max-width:var(--os-handle-max-size);height:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,height .15s}.os-scrollbar-horizontal .os-scrollbar-handle:before{top:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);bottom:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-horizontal:hover .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-horizontal:active .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-active)}.os-scrollbar-vertical{padding:var(--os-padding-axis) var(--os-padding-perpendicular);bottom:var(--os-size);width:var(--os-size)}.os-scrollbar-vertical .os-scrollbar-handle{min-height:var(--os-handle-min-size);max-height:var(--os-handle-max-size);width:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,width .15s}.os-scrollbar-vertical .os-scrollbar-handle:before{left:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);right:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before{right:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);left:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical:hover .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-vertical:active .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-active)}[data-overlayscrollbars~=updating]>.os-scrollbar,.os-theme-none.os-scrollbar{display:none!important}.os-theme-dark,.os-theme-light{box-sizing:border-box;margin-right:-11px;--os-size: 10px;--os-size-horizontal: 8px;--os-padding-perpendicular: 2px;--os-padding-axis: 2px;--os-track-border-radius: 10px;--os-handle-interactive-area-offset: 4px;--os-handle-border-radius: 10px}.os-theme-dark{--os-handle-bg: rgba(0, 0, 0, .24);--os-handle-bg-hover: rgba(0, 0, 0, .35);--os-handle-bg-active: rgba(0, 0, 0, .42)}.os-theme-light{--os-handle-bg: rgba(255, 255, 255, .24);--os-handle-bg-hover: rgba(255, 255, 255, .35);--os-handle-bg-active: rgba(255, 255, 255, .42)}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*{scrollbar-color:initial;scrollbar-width:initial}:root{--color-solid-resize-bar: rgb(226, 232, 240);--background: 0 0% 100%;--foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 47.4% 11.2%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--card: 0 0% 99.5%;--card-foreground: 222.2 47.4% 11.2%;--primary: 222.2 47.4% 11.2%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 100% 50%;--destructive-foreground: 210 40% 98%;--ring: 215 20.2% 65.1%;--radius: .5rem}.dark{--background: 217 18.41% 8.5%;--foreground: 213 31% 91%;--muted: 223 47% 11%;--muted-foreground: 215.4 16.3% 56.9%;--accent: 216 34% 17%;--accent-foreground: 210 40% 98%;--popover: 224 71% 4%;--popover-foreground: 215 20.2% 65.1%;--border: 216 34% 17%;--input: 216 34% 17%;--card: 213.91, 16.28%, 9.46%;--card-foreground: 213 31% 91%;--primary: 210 40% 98%;--primary-foreground: 222.2 47.4% 1.2%;--secondary: 222.2 47.4% 11.2%;--secondary-foreground: 210 40% 98%;--destructive: 0 63% 31%;--destructive-foreground: 210 40% 98%;--ring: 216 34% 17%;--radius: .5rem}*{border-color:hsl(var(--border))}body{overscroll-behavior:none;overflow:hidden;margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:hsl(var(--background));color:hsl(var(--foreground));-webkit-user-select:none;-moz-user-select:none;user-select:none;font-feature-settings:"rlig" 1,"calt" 1}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 1400px){.container{max-width:1400px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-1\.5{bottom:.375rem}.bottom-2{bottom:.5rem}.bottom-4{bottom:1rem}.bottom-\[-100px\]{bottom:-100px}.bottom-\[-13px\]{bottom:-13px}.bottom-\[-45px\]{bottom:-45px}.bottom-\[-50px\]{bottom:-50px}.bottom-full{bottom:100%}.left-0{left:0}.left-1{left:.25rem}.left-1\/2{left:50%}.left-2{left:.5rem}.left-2\/4{left:50%}.left-\[-10px\]{left:-10px}.left-\[-12px\]{left:-12px}.left-\[-4px\]{left:-4px}.left-\[-5px\]{left:-5px}.left-\[30px\]{left:30px}.right-0{right:0}.right-1{right:.25rem}.right-1\.5{right:.375rem}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-3{right:.75rem}.right-4{right:1rem}.right-\[-10px\]{right:-10px}.right-\[-16px\]{right:-16px}.right-\[-3px\]{right:-3px}.right-\[-5px\]{right:-5px}.right-\[-63px\]{right:-63px}.right-\[10px\]{right:10px}.right-\[36px\]{right:36px}.right-\[4px\]{right:4px}.top-0{top:0}.top-1{top:.25rem}.top-1\.5{top:.375rem}.top-1\/2{top:50%}.top-10{top:2.5rem}.top-14{top:3.5rem}.top-2{top:.5rem}.top-2\/4{top:50%}.top-3{top:.75rem}.top-4{top:1rem}.top-9{top:2.25rem}.top-\[-10px\]{top:-10px}.top-\[-12px\]{top:-12px}.top-\[-13px\]{top:-13px}.top-\[-15px\]{top:-15px}.top-\[-16px\]{top:-16px}.top-\[-17px\]{top:-17px}.top-\[-2px\]{top:-2px}.top-\[-3px\]{top:-3px}.top-\[-5px\]{top:-5px}.top-\[-6px\]{top:-6px}.top-\[1px\]{top:1px}.top-\[3px\]{top:3px}.top-\[49px\]{top:49px}.top-\[4px\]{top:4px}.top-\[5px\]{top:5px}.top-\[60\%\]{top:60%}.top-\[64px\]{top:64px}.top-\[calc\(100\%\+8px\)\]{top:calc(100% + 8px)}.top-full{top:100%}.z-10{z-index:10}.z-100{z-index:100}.z-30{z-index:30}.z-50{z-index:50}.z-\[100000\]{z-index:100000}.z-\[10001\]{z-index:10001}.z-\[1\]{z-index:1}.z-\[60\]{z-index:60}.z-auto{z-index:auto}.\!m-0{margin:0!important}.m-0{margin:0}.m-0\.5{margin:.125rem}.m-1{margin:.25rem}.m-2{margin:.5rem}.m-auto{margin:auto}.\!mx-0{margin-left:0!important;margin-right:0!important}.\!my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.mx-0{margin-left:0;margin-right:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-1\.5{margin-top:.375rem;margin-bottom:.375rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-\[1px\]{margin-top:1px;margin-bottom:1px}.\!-mt-\[100px\]{margin-top:-100px!important}.\!mb-1{margin-bottom:.25rem!important}.\!mt-0{margin-top:0!important}.\!mt-2{margin-top:.5rem!important}.\!mt-3{margin-top:.75rem!important}.\!mt-4{margin-top:1rem!important}.\!mt-\[43px\]{margin-top:43px!important}.-ml-1{margin-left:-.25rem}.-mt-0{margin-top:-0px}.-mt-0\.5{margin-top:-.125rem}.-mt-1{margin-top:-.25rem}.-mt-5{margin-top:-1.25rem}.-mt-80{margin-top:-20rem}.mb-0{margin-bottom:0}.mb-0\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\[2px\]{margin-bottom:2px}.ml-0{margin-left:0}.ml-0\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\.5{margin-left:.375rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-5{margin-left:1.25rem}.ml-6{margin-left:1.5rem}.ml-\[-12px\]{margin-left:-12px}.ml-\[-2px\]{margin-left:-2px}.ml-\[-5px\]{margin-left:-5px}.ml-\[-8px\]{margin-left:-8px}.ml-\[10px\]{margin-left:10px}.ml-\[120px\]{margin-left:120px}.ml-\[150px\]{margin-left:150px}.ml-\[20px\]{margin-left:20px}.ml-\[30px\]{margin-left:30px}.ml-\[40px\]{margin-left:40px}.ml-\[50px\]{margin-left:50px}.ml-\[60px\]{margin-left:60px}.ml-\[90px\]{margin-left:90px}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-0\.5{margin-right:.125rem}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mr-\[-10px\]{margin-right:-10px}.mr-\[-6px\]{margin-right:-6px}.mr-\[-8px\]{margin-right:-8px}.mr-\[11px\]{margin-right:11px}.mr-\[13px\]{margin-right:13px}.mr-\[14px\]{margin-right:14px}.mr-\[2px\]{margin-right:2px}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-2\.5{margin-top:.625rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-\[-12px\]{margin-top:-12px}.mt-\[-3px\]{margin-top:-3px}.mt-\[1px\]{margin-top:1px}.mt-\[20px\]{margin-top:20px}.mt-\[2px\]{margin-top:2px}.mt-\[40px\]{margin-top:40px}.mt-px{margin-top:1px}.box-border{box-sizing:border-box}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.\!block{display:block!important}.block{display:block}.\!inline-block{display:inline-block!important}.inline-block{display:inline-block}.inline{display:inline}.\!flex{display:flex!important}.flex{display:flex}.\!inline-flex{display:inline-flex!important}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.\!h-4{height:1rem!important}.\!h-full{height:100%!important}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-1\/2{height:50%}.h-1\/3{height:33.333333%}.h-1\/4{height:25%}.h-1\/5{height:20%}.h-1\/6{height:16.666667%}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-2\/3{height:66.666667%}.h-2\/4{height:50%}.h-2\/5{height:40%}.h-2\/6{height:33.333333%}.h-20{height:5rem}.h-24{height:6rem}.h-28{height:7rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-3\/4{height:75%}.h-3\/5{height:60%}.h-3\/6{height:50%}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-4\/6{height:66.666667%}.h-40{height:10rem}.h-44{height:11rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-5\/6{height:83.333333%}.h-52{height:13rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-72{height:18rem}.h-8{height:2rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\[13px\]{height:13px}.h-\[16px\]{height:16px}.h-\[18px\]{height:18px}.h-\[1px\]{height:1px}.h-\[20px\]{height:20px}.h-\[22px\]{height:22px}.h-\[23px\]{height:23px}.h-\[24px\]{height:24px}.h-\[26px\]{height:26px}.h-\[28px\]{height:28px}.h-\[30px\]{height:30px}.h-\[32px\]{height:32px}.h-\[34px\]{height:34px}.h-\[380px\]{height:380px}.h-\[40px\]{height:40px}.h-\[41px\]{height:41px}.h-\[48px\]{height:48px}.h-\[8px\]{height:8px}.h-\[calc\(100vh-50px\)\]{height:calc(100vh - 50px)}.h-\[calc\(100vh-70px\)\]{height:calc(100vh - 70px)}.h-\[calc\(100vh-95px\)\]{height:calc(100vh - 95px)}.h-\[full\]{height:full}.h-\[var\(--radix-navigation-menu-viewport-height\)\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-min{height:-moz-min-content;height:min-content}.h-px{height:1px}.h-screen{height:100vh}.max-h-56{max-height:14rem}.max-h-\[200px\]{max-height:200px}.max-h-\[300px\]{max-height:300px}.max-h-\[380px\]{max-height:380px}.max-h-\[600px\]{max-height:600px}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-\[0px\]{min-height:0px}.min-h-\[100px\]{min-height:100px}.min-h-\[120px\]{min-height:120px}.min-h-\[130px\]{min-height:130px}.min-h-\[30px\]{min-height:30px}.min-h-\[32px\]{min-height:32px}.min-h-\[40px\]{min-height:40px}.\!w-36{width:9rem!important}.\!w-40{width:10rem!important}.\!w-60{width:15rem!important}.\!w-9{width:2.25rem!important}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/12{width:8.333333%}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-1\/4{width:25%}.w-1\/5{width:20%}.w-1\/6{width:16.666667%}.w-10{width:2.5rem}.w-10\/12{width:83.333333%}.w-11{width:2.75rem}.w-11\/12{width:91.666667%}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-2\/12{width:16.666667%}.w-2\/3{width:66.666667%}.w-2\/4{width:50%}.w-2\/5{width:40%}.w-2\/6{width:33.333333%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/12{width:25%}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-3\/6{width:50%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-4\/12{width:33.333333%}.w-4\/5{width:80%}.w-4\/6{width:66.666667%}.w-40{width:10rem}.w-44{width:11rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-5\/12{width:41.666667%}.w-5\/6{width:83.333333%}.w-52{width:13rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-6\/12{width:50%}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-7\/12{width:58.333333%}.w-72{width:18rem}.w-8{width:2rem}.w-8\/12{width:66.666667%}.w-80{width:20rem}.w-9{width:2.25rem}.w-9\/12{width:75%}.w-96{width:24rem}.w-\[1\.5rem\]{width:1.5rem}.w-\[112px\]{width:112px}.w-\[120px\]{width:120px}.w-\[13px\]{width:13px}.w-\[150px\]{width:150px}.w-\[16px\]{width:16px}.w-\[180px\]{width:180px}.w-\[18px\]{width:18px}.w-\[190px\]{width:190px}.w-\[1px\]{width:1px}.w-\[20px\]{width:20px}.w-\[22px\]{width:22px}.w-\[230px\]{width:230px}.w-\[235px\]{width:235px}.w-\[24px\]{width:24px}.w-\[25px\]{width:25px}.w-\[260px\]{width:260px}.w-\[270px\]{width:270px}.w-\[280px\]{width:280px}.w-\[28px\]{width:28px}.w-\[2px\]{width:2px}.w-\[30px\]{width:30px}.w-\[32px\]{width:32px}.w-\[34px\]{width:34px}.w-\[37px\]{width:37px}.w-\[380px\]{width:380px}.w-\[38px\]{width:38px}.w-\[400px\]{width:400px}.w-\[40px\]{width:40px}.w-\[580px\]{width:580px}.w-\[70px\]{width:70px}.w-\[80\%\]{width:80%}.w-\[90\%\]{width:90%}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-min{width:-moz-min-content;width:min-content}.w-px{width:1px}.w-screen{width:100vw}.\!min-w-\[390px\]{min-width:390px!important}.min-w-\[120px\]{min-width:120px}.min-w-\[12rem\]{min-width:12rem}.min-w-\[140px\]{min-width:140px}.min-w-\[150px\]{min-width:150px}.min-w-\[16px\]{min-width:16px}.min-w-\[200px\]{min-width:200px}.min-w-\[24px\]{min-width:24px}.min-w-\[265px\]{min-width:265px}.min-w-\[270px\]{min-width:270px}.min-w-\[280px\]{min-width:280px}.min-w-\[300px\]{min-width:300px}.min-w-\[320px\]{min-width:320px}.min-w-\[340px\]{min-width:340px}.min-w-\[400px\]{min-width:400px}.min-w-\[40px\]{min-width:40px}.min-w-\[80\%\]{min-width:80%}.min-w-\[80px\]{min-width:80px}.min-w-\[8rem\]{min-width:8rem}.min-w-\[90px\]{min-width:90px}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.min-w-full{min-width:100%}.\!max-w-\[450px\]{max-width:450px!important}.max-w-2xl{max-width:42rem}.max-w-\[120px\]{max-width:120px}.max-w-\[160px\]{max-width:160px}.max-w-\[16rem\]{max-width:16rem}.max-w-\[200px\]{max-width:200px}.max-w-\[22px\]{max-width:22px}.max-w-\[260px\]{max-width:260px}.max-w-\[300px\]{max-width:300px}.max-w-\[340px\]{max-width:340px}.max-w-\[420px\]{max-width:420px}.max-w-\[50\%\]{max-width:50%}.max-w-\[640px\]{max-width:640px}.max-w-fit{max-width:-moz-fit-content;max-width:fit-content}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-max{max-width:-moz-max-content;max-width:max-content}.max-w-md{max-width:28rem}.max-w-min{max-width:-moz-min-content;max-width:min-content}.max-w-prose{max-width:65ch}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-none{flex:none}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.basis-1\/2{flex-basis:50%}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2,.-translate-x-2\/4{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2,.-translate-y-2\/4{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-\[-90deg\]{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-scale-y-100,.scale-y-\[-1\]{--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}.select-auto{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.resize{resize:both}.list-none{list-style-type:none}.list-image-none{list-style-image:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.place-items-end{place-items:end}.place-items-center{place-items:center}.\!items-start{align-items:flex-start!important}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-normal{justify-content:normal}.\!justify-start{justify-content:flex-start!important}.justify-start{justify-content:flex-start}.\!justify-end{justify-content:flex-end!important}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.\!gap-2{gap:.5rem!important}.gap-0{gap:0px}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(0px * var(--tw-space-x-reverse));margin-left:calc(0px * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.self-stretch{align-self:stretch}.justify-self-end{justify-self:end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-clip{overflow:clip}.\!overflow-visible{overflow:visible!important}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-ellipsis,.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.whitespace-break-spaces{white-space:break-spaces}.break-words{overflow-wrap:break-word}.\!rounded-lg{border-radius:var(--radius)!important}.\!rounded-md{border-radius:calc(var(--radius) - 2px)!important}.rounded{border-radius:.25rem}.rounded-\[4px\]{border-radius:4px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.rounded-b-md{border-bottom-right-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-tl-sm{border-top-left-radius:calc(var(--radius) - 4px)}.\!border{border-width:1px!important}.\!border-0{border-width:0px!important}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-\[0\]{border-width:0}.border-\[0px\]{border-width:0px}.border-\[1px\]{border-width:1px}.border-\[2px\]{border-width:2px}.border-\[3px\]{border-width:3px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-l-\[0\]{border-left-width:0}.border-l-\[0px\]{border-left-width:0px}.border-l-\[1px\]{border-left-width:1px}.border-l-\[2px\]{border-left-width:2px}.border-l-\[3px\]{border-left-width:3px}.border-l-\[4px\]{border-left-width:4px}.border-l-\[5px\]{border-left-width:5px}.border-r-0{border-right-width:0px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0px}.border-t-2{border-top-width:2px}.border-dashed{border-style:dashed}.border-none{border-style:none}.\!border-blue-400{--tw-border-opacity: 1 !important;border-color:rgb(96 165 250 / var(--tw-border-opacity))!important}.\!border-green-400{--tw-border-opacity: 1 !important;border-color:rgb(74 222 128 / var(--tw-border-opacity))!important}.\!border-green-500{--tw-border-opacity: 1 !important;border-color:rgb(34 197 94 / var(--tw-border-opacity))!important}.\!border-green-600{--tw-border-opacity: 1 !important;border-color:rgb(22 163 74 / var(--tw-border-opacity))!important}.\!border-red-400{--tw-border-opacity: 1 !important;border-color:rgb(248 113 113 / var(--tw-border-opacity))!important}.\!border-yellow-600{--tw-border-opacity: 1 !important;border-color:rgb(202 138 4 / var(--tw-border-opacity))!important}.border-amber-100{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity))}.border-amber-400{--tw-border-opacity: 1;border-color:rgb(251 191 36 / var(--tw-border-opacity))}.border-amber-50{--tw-border-opacity: 1;border-color:rgb(255 251 235 / var(--tw-border-opacity))}.border-amber-500{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity))}.border-amber-600{--tw-border-opacity: 1;border-color:rgb(217 119 6 / var(--tw-border-opacity))}.border-amber-700{--tw-border-opacity: 1;border-color:rgb(180 83 9 / var(--tw-border-opacity))}.border-amber-800{--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity))}.border-amber-900{--tw-border-opacity: 1;border-color:rgb(120 53 15 / var(--tw-border-opacity))}.border-amber-950{--tw-border-opacity: 1;border-color:rgb(69 26 3 / var(--tw-border-opacity))}.border-blue-100{--tw-border-opacity: 1;border-color:rgb(219 234 254 / var(--tw-border-opacity))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity))}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-blue-400{--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}.border-blue-50{--tw-border-opacity: 1;border-color:rgb(239 246 255 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity))}.border-blue-800{--tw-border-opacity: 1;border-color:rgb(30 64 175 / var(--tw-border-opacity))}.border-blue-900{--tw-border-opacity: 1;border-color:rgb(30 58 138 / var(--tw-border-opacity))}.border-blue-950{--tw-border-opacity: 1;border-color:rgb(23 37 84 / var(--tw-border-opacity))}.border-border{border-color:hsl(var(--border))}.border-cyan-100{--tw-border-opacity: 1;border-color:rgb(207 250 254 / var(--tw-border-opacity))}.border-cyan-200{--tw-border-opacity: 1;border-color:rgb(165 243 252 / var(--tw-border-opacity))}.border-cyan-300{--tw-border-opacity: 1;border-color:rgb(103 232 249 / var(--tw-border-opacity))}.border-cyan-400{--tw-border-opacity: 1;border-color:rgb(34 211 238 / var(--tw-border-opacity))}.border-cyan-50{--tw-border-opacity: 1;border-color:rgb(236 254 255 / var(--tw-border-opacity))}.border-cyan-500{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity))}.border-cyan-600{--tw-border-opacity: 1;border-color:rgb(8 145 178 / var(--tw-border-opacity))}.border-cyan-700{--tw-border-opacity: 1;border-color:rgb(14 116 144 / var(--tw-border-opacity))}.border-cyan-800{--tw-border-opacity: 1;border-color:rgb(21 94 117 / var(--tw-border-opacity))}.border-cyan-900{--tw-border-opacity: 1;border-color:rgb(22 78 99 / var(--tw-border-opacity))}.border-cyan-950{--tw-border-opacity: 1;border-color:rgb(8 51 68 / var(--tw-border-opacity))}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-emerald-100{--tw-border-opacity: 1;border-color:rgb(209 250 229 / var(--tw-border-opacity))}.border-emerald-200{--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity))}.border-emerald-300{--tw-border-opacity: 1;border-color:rgb(110 231 183 / var(--tw-border-opacity))}.border-emerald-400{--tw-border-opacity: 1;border-color:rgb(52 211 153 / var(--tw-border-opacity))}.border-emerald-50{--tw-border-opacity: 1;border-color:rgb(236 253 245 / var(--tw-border-opacity))}.border-emerald-500{--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity))}.border-emerald-600{--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity))}.border-emerald-700{--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity))}.border-emerald-800{--tw-border-opacity: 1;border-color:rgb(6 95 70 / var(--tw-border-opacity))}.border-emerald-900{--tw-border-opacity: 1;border-color:rgb(6 78 59 / var(--tw-border-opacity))}.border-emerald-950{--tw-border-opacity: 1;border-color:rgb(2 44 34 / var(--tw-border-opacity))}.border-fuchsia-100{--tw-border-opacity: 1;border-color:rgb(250 232 255 / var(--tw-border-opacity))}.border-fuchsia-200{--tw-border-opacity: 1;border-color:rgb(245 208 254 / var(--tw-border-opacity))}.border-fuchsia-300{--tw-border-opacity: 1;border-color:rgb(240 171 252 / var(--tw-border-opacity))}.border-fuchsia-400{--tw-border-opacity: 1;border-color:rgb(232 121 249 / var(--tw-border-opacity))}.border-fuchsia-50{--tw-border-opacity: 1;border-color:rgb(253 244 255 / var(--tw-border-opacity))}.border-fuchsia-500{--tw-border-opacity: 1;border-color:rgb(217 70 239 / var(--tw-border-opacity))}.border-fuchsia-600{--tw-border-opacity: 1;border-color:rgb(192 38 211 / var(--tw-border-opacity))}.border-fuchsia-700{--tw-border-opacity: 1;border-color:rgb(162 28 175 / var(--tw-border-opacity))}.border-fuchsia-800{--tw-border-opacity: 1;border-color:rgb(134 25 143 / var(--tw-border-opacity))}.border-fuchsia-900{--tw-border-opacity: 1;border-color:rgb(112 26 117 / var(--tw-border-opacity))}.border-fuchsia-950{--tw-border-opacity: 1;border-color:rgb(74 4 78 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-200\/80{border-color:#e5e7ebcc}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-300\/70{border-color:#d1d5dbb3}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-gray-50{--tw-border-opacity: 1;border-color:rgb(249 250 251 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-gray-950{--tw-border-opacity: 1;border-color:rgb(3 7 18 / var(--tw-border-opacity))}.border-green-100{--tw-border-opacity: 1;border-color:rgb(220 252 231 / var(--tw-border-opacity))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}.border-green-400{--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity))}.border-green-50{--tw-border-opacity: 1;border-color:rgb(240 253 244 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity))}.border-green-800{--tw-border-opacity: 1;border-color:rgb(22 101 52 / var(--tw-border-opacity))}.border-green-900{--tw-border-opacity: 1;border-color:rgb(20 83 45 / var(--tw-border-opacity))}.border-green-950{--tw-border-opacity: 1;border-color:rgb(5 46 22 / var(--tw-border-opacity))}.border-grey-20{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-grey-30{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-indigo-100{--tw-border-opacity: 1;border-color:rgb(224 231 255 / var(--tw-border-opacity))}.border-indigo-200{--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity))}.border-indigo-300{--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity))}.border-indigo-400{--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity))}.border-indigo-50{--tw-border-opacity: 1;border-color:rgb(238 242 255 / var(--tw-border-opacity))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-indigo-600{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity))}.border-indigo-700{--tw-border-opacity: 1;border-color:rgb(67 56 202 / var(--tw-border-opacity))}.border-indigo-800{--tw-border-opacity: 1;border-color:rgb(55 48 163 / var(--tw-border-opacity))}.border-indigo-900{--tw-border-opacity: 1;border-color:rgb(49 46 129 / var(--tw-border-opacity))}.border-indigo-950{--tw-border-opacity: 1;border-color:rgb(30 27 75 / var(--tw-border-opacity))}.border-input{border-color:hsl(var(--input))}.border-lime-100{--tw-border-opacity: 1;border-color:rgb(236 252 203 / var(--tw-border-opacity))}.border-lime-200{--tw-border-opacity: 1;border-color:rgb(217 249 157 / var(--tw-border-opacity))}.border-lime-300{--tw-border-opacity: 1;border-color:rgb(190 242 100 / var(--tw-border-opacity))}.border-lime-400{--tw-border-opacity: 1;border-color:rgb(163 230 53 / var(--tw-border-opacity))}.border-lime-50{--tw-border-opacity: 1;border-color:rgb(247 254 231 / var(--tw-border-opacity))}.border-lime-500{--tw-border-opacity: 1;border-color:rgb(132 204 22 / var(--tw-border-opacity))}.border-lime-600{--tw-border-opacity: 1;border-color:rgb(101 163 13 / var(--tw-border-opacity))}.border-lime-700{--tw-border-opacity: 1;border-color:rgb(77 124 15 / var(--tw-border-opacity))}.border-lime-800{--tw-border-opacity: 1;border-color:rgb(63 98 18 / var(--tw-border-opacity))}.border-lime-900{--tw-border-opacity: 1;border-color:rgb(54 83 20 / var(--tw-border-opacity))}.border-lime-950{--tw-border-opacity: 1;border-color:rgb(26 46 5 / var(--tw-border-opacity))}.border-neutral-100{--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity))}.border-neutral-200{--tw-border-opacity: 1;border-color:rgb(229 229 229 / var(--tw-border-opacity))}.border-neutral-300{--tw-border-opacity: 1;border-color:rgb(212 212 212 / var(--tw-border-opacity))}.border-neutral-400{--tw-border-opacity: 1;border-color:rgb(163 163 163 / var(--tw-border-opacity))}.border-neutral-50{--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}.border-neutral-500{--tw-border-opacity: 1;border-color:rgb(115 115 115 / var(--tw-border-opacity))}.border-neutral-600{--tw-border-opacity: 1;border-color:rgb(82 82 82 / var(--tw-border-opacity))}.border-neutral-700{--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}.border-neutral-800{--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity))}.border-neutral-900{--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity))}.border-neutral-950{--tw-border-opacity: 1;border-color:rgb(10 10 10 / var(--tw-border-opacity))}.border-orange-100{--tw-border-opacity: 1;border-color:rgb(255 237 213 / var(--tw-border-opacity))}.border-orange-200{--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity: 1;border-color:rgb(253 186 116 / var(--tw-border-opacity))}.border-orange-300\/50{border-color:#fdba7480}.border-orange-400{--tw-border-opacity: 1;border-color:rgb(251 146 60 / var(--tw-border-opacity))}.border-orange-50{--tw-border-opacity: 1;border-color:rgb(255 247 237 / var(--tw-border-opacity))}.border-orange-500{--tw-border-opacity: 1;border-color:rgb(249 115 22 / var(--tw-border-opacity))}.border-orange-600{--tw-border-opacity: 1;border-color:rgb(234 88 12 / var(--tw-border-opacity))}.border-orange-700{--tw-border-opacity: 1;border-color:rgb(194 65 12 / var(--tw-border-opacity))}.border-orange-800{--tw-border-opacity: 1;border-color:rgb(154 52 18 / var(--tw-border-opacity))}.border-orange-900{--tw-border-opacity: 1;border-color:rgb(124 45 18 / var(--tw-border-opacity))}.border-orange-950{--tw-border-opacity: 1;border-color:rgb(67 20 7 / var(--tw-border-opacity))}.border-pink-100{--tw-border-opacity: 1;border-color:rgb(252 231 243 / var(--tw-border-opacity))}.border-pink-200{--tw-border-opacity: 1;border-color:rgb(251 207 232 / var(--tw-border-opacity))}.border-pink-300{--tw-border-opacity: 1;border-color:rgb(249 168 212 / var(--tw-border-opacity))}.border-pink-400{--tw-border-opacity: 1;border-color:rgb(244 114 182 / var(--tw-border-opacity))}.border-pink-50{--tw-border-opacity: 1;border-color:rgb(253 242 248 / var(--tw-border-opacity))}.border-pink-500{--tw-border-opacity: 1;border-color:rgb(236 72 153 / var(--tw-border-opacity))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(219 39 119 / var(--tw-border-opacity))}.border-pink-700{--tw-border-opacity: 1;border-color:rgb(190 24 93 / var(--tw-border-opacity))}.border-pink-800{--tw-border-opacity: 1;border-color:rgb(157 23 77 / var(--tw-border-opacity))}.border-pink-900{--tw-border-opacity: 1;border-color:rgb(131 24 67 / var(--tw-border-opacity))}.border-pink-950{--tw-border-opacity: 1;border-color:rgb(80 7 36 / var(--tw-border-opacity))}.border-primary{border-color:hsl(var(--primary))}.border-purple-100{--tw-border-opacity: 1;border-color:rgb(243 232 255 / var(--tw-border-opacity))}.border-purple-200{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity))}.border-purple-300{--tw-border-opacity: 1;border-color:rgb(216 180 254 / var(--tw-border-opacity))}.border-purple-400{--tw-border-opacity: 1;border-color:rgb(192 132 252 / var(--tw-border-opacity))}.border-purple-50{--tw-border-opacity: 1;border-color:rgb(250 245 255 / var(--tw-border-opacity))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity))}.border-purple-600{--tw-border-opacity: 1;border-color:rgb(147 51 234 / var(--tw-border-opacity))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity))}.border-purple-800{--tw-border-opacity: 1;border-color:rgb(107 33 168 / var(--tw-border-opacity))}.border-purple-900{--tw-border-opacity: 1;border-color:rgb(88 28 135 / var(--tw-border-opacity))}.border-purple-950{--tw-border-opacity: 1;border-color:rgb(59 7 100 / var(--tw-border-opacity))}.border-red-100{--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}.border-red-400{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity))}.border-red-50{--tw-border-opacity: 1;border-color:rgb(254 242 242 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}.border-red-700{--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity))}.border-red-800{--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity))}.border-red-900{--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}.border-red-950{--tw-border-opacity: 1;border-color:rgb(69 10 10 / var(--tw-border-opacity))}.border-rose-100{--tw-border-opacity: 1;border-color:rgb(255 228 230 / var(--tw-border-opacity))}.border-rose-200{--tw-border-opacity: 1;border-color:rgb(254 205 211 / var(--tw-border-opacity))}.border-rose-300{--tw-border-opacity: 1;border-color:rgb(253 164 175 / var(--tw-border-opacity))}.border-rose-400{--tw-border-opacity: 1;border-color:rgb(251 113 133 / var(--tw-border-opacity))}.border-rose-50{--tw-border-opacity: 1;border-color:rgb(255 241 242 / var(--tw-border-opacity))}.border-rose-500{--tw-border-opacity: 1;border-color:rgb(244 63 94 / var(--tw-border-opacity))}.border-rose-600{--tw-border-opacity: 1;border-color:rgb(225 29 72 / var(--tw-border-opacity))}.border-rose-700{--tw-border-opacity: 1;border-color:rgb(190 18 60 / var(--tw-border-opacity))}.border-rose-800{--tw-border-opacity: 1;border-color:rgb(159 18 57 / var(--tw-border-opacity))}.border-rose-900{--tw-border-opacity: 1;border-color:rgb(136 19 55 / var(--tw-border-opacity))}.border-rose-950{--tw-border-opacity: 1;border-color:rgb(76 5 25 / var(--tw-border-opacity))}.border-sky-100{--tw-border-opacity: 1;border-color:rgb(224 242 254 / var(--tw-border-opacity))}.border-sky-200{--tw-border-opacity: 1;border-color:rgb(186 230 253 / var(--tw-border-opacity))}.border-sky-300{--tw-border-opacity: 1;border-color:rgb(125 211 252 / var(--tw-border-opacity))}.border-sky-400{--tw-border-opacity: 1;border-color:rgb(56 189 248 / var(--tw-border-opacity))}.border-sky-50{--tw-border-opacity: 1;border-color:rgb(240 249 255 / var(--tw-border-opacity))}.border-sky-500{--tw-border-opacity: 1;border-color:rgb(14 165 233 / var(--tw-border-opacity))}.border-sky-600{--tw-border-opacity: 1;border-color:rgb(2 132 199 / var(--tw-border-opacity))}.border-sky-700{--tw-border-opacity: 1;border-color:rgb(3 105 161 / var(--tw-border-opacity))}.border-sky-800{--tw-border-opacity: 1;border-color:rgb(7 89 133 / var(--tw-border-opacity))}.border-sky-900{--tw-border-opacity: 1;border-color:rgb(12 74 110 / var(--tw-border-opacity))}.border-sky-950{--tw-border-opacity: 1;border-color:rgb(8 47 73 / var(--tw-border-opacity))}.border-slate-100{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.border-slate-200\/50{border-color:#e2e8f080}.border-slate-300{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity))}.border-slate-300\/80{border-color:#cbd5e1cc}.border-slate-400{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.border-slate-400\/70{border-color:#94a3b8b3}.border-slate-50{--tw-border-opacity: 1;border-color:rgb(248 250 252 / var(--tw-border-opacity))}.border-slate-500{--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity))}.border-slate-600{--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity))}.border-slate-700{--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}.border-slate-800{--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}.border-slate-900{--tw-border-opacity: 1;border-color:rgb(15 23 42 / var(--tw-border-opacity))}.border-slate-950{--tw-border-opacity: 1;border-color:rgb(2 6 23 / var(--tw-border-opacity))}.border-stone-100{--tw-border-opacity: 1;border-color:rgb(245 245 244 / var(--tw-border-opacity))}.border-stone-200{--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity))}.border-stone-300{--tw-border-opacity: 1;border-color:rgb(214 211 209 / var(--tw-border-opacity))}.border-stone-400{--tw-border-opacity: 1;border-color:rgb(168 162 158 / var(--tw-border-opacity))}.border-stone-50{--tw-border-opacity: 1;border-color:rgb(250 250 249 / var(--tw-border-opacity))}.border-stone-500{--tw-border-opacity: 1;border-color:rgb(120 113 108 / var(--tw-border-opacity))}.border-stone-600{--tw-border-opacity: 1;border-color:rgb(87 83 78 / var(--tw-border-opacity))}.border-stone-700{--tw-border-opacity: 1;border-color:rgb(68 64 60 / var(--tw-border-opacity))}.border-stone-800{--tw-border-opacity: 1;border-color:rgb(41 37 36 / var(--tw-border-opacity))}.border-stone-900{--tw-border-opacity: 1;border-color:rgb(28 25 23 / var(--tw-border-opacity))}.border-stone-950{--tw-border-opacity: 1;border-color:rgb(12 10 9 / var(--tw-border-opacity))}.border-teal-100{--tw-border-opacity: 1;border-color:rgb(204 251 241 / var(--tw-border-opacity))}.border-teal-200{--tw-border-opacity: 1;border-color:rgb(153 246 228 / var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity: 1;border-color:rgb(94 234 212 / var(--tw-border-opacity))}.border-teal-400{--tw-border-opacity: 1;border-color:rgb(45 212 191 / var(--tw-border-opacity))}.border-teal-50{--tw-border-opacity: 1;border-color:rgb(240 253 250 / var(--tw-border-opacity))}.border-teal-500{--tw-border-opacity: 1;border-color:rgb(20 184 166 / var(--tw-border-opacity))}.border-teal-600{--tw-border-opacity: 1;border-color:rgb(13 148 136 / var(--tw-border-opacity))}.border-teal-700{--tw-border-opacity: 1;border-color:rgb(15 118 110 / var(--tw-border-opacity))}.border-teal-800{--tw-border-opacity: 1;border-color:rgb(17 94 89 / var(--tw-border-opacity))}.border-teal-900{--tw-border-opacity: 1;border-color:rgb(19 78 74 / var(--tw-border-opacity))}.border-teal-950{--tw-border-opacity: 1;border-color:rgb(4 47 46 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-violet-100{--tw-border-opacity: 1;border-color:rgb(237 233 254 / var(--tw-border-opacity))}.border-violet-200{--tw-border-opacity: 1;border-color:rgb(221 214 254 / var(--tw-border-opacity))}.border-violet-300{--tw-border-opacity: 1;border-color:rgb(196 181 253 / var(--tw-border-opacity))}.border-violet-400{--tw-border-opacity: 1;border-color:rgb(167 139 250 / var(--tw-border-opacity))}.border-violet-50{--tw-border-opacity: 1;border-color:rgb(245 243 255 / var(--tw-border-opacity))}.border-violet-500{--tw-border-opacity: 1;border-color:rgb(139 92 246 / var(--tw-border-opacity))}.border-violet-600{--tw-border-opacity: 1;border-color:rgb(124 58 237 / var(--tw-border-opacity))}.border-violet-700{--tw-border-opacity: 1;border-color:rgb(109 40 217 / var(--tw-border-opacity))}.border-violet-800{--tw-border-opacity: 1;border-color:rgb(91 33 182 / var(--tw-border-opacity))}.border-violet-900{--tw-border-opacity: 1;border-color:rgb(76 29 149 / var(--tw-border-opacity))}.border-violet-950{--tw-border-opacity: 1;border-color:rgb(46 16 101 / var(--tw-border-opacity))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-100{--tw-border-opacity: 1;border-color:rgb(254 249 195 / var(--tw-border-opacity))}.border-yellow-200{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity))}.border-yellow-50{--tw-border-opacity: 1;border-color:rgb(254 252 232 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity))}.border-yellow-600{--tw-border-opacity: 1;border-color:rgb(202 138 4 / var(--tw-border-opacity))}.border-yellow-700{--tw-border-opacity: 1;border-color:rgb(161 98 7 / var(--tw-border-opacity))}.border-yellow-800{--tw-border-opacity: 1;border-color:rgb(133 77 14 / var(--tw-border-opacity))}.border-yellow-900{--tw-border-opacity: 1;border-color:rgb(113 63 18 / var(--tw-border-opacity))}.border-yellow-950{--tw-border-opacity: 1;border-color:rgb(66 32 6 / var(--tw-border-opacity))}.border-zinc-100{--tw-border-opacity: 1;border-color:rgb(244 244 245 / var(--tw-border-opacity))}.border-zinc-200{--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity))}.border-zinc-300{--tw-border-opacity: 1;border-color:rgb(212 212 216 / var(--tw-border-opacity))}.border-zinc-400{--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity))}.border-zinc-50{--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}.border-zinc-500{--tw-border-opacity: 1;border-color:rgb(113 113 122 / var(--tw-border-opacity))}.border-zinc-600{--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity))}.border-zinc-700{--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity))}.border-zinc-800{--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity))}.border-zinc-900{--tw-border-opacity: 1;border-color:rgb(24 24 27 / var(--tw-border-opacity))}.border-zinc-950{--tw-border-opacity: 1;border-color:rgb(9 9 11 / var(--tw-border-opacity))}.border-l-amber-100{--tw-border-opacity: 1;border-left-color:rgb(254 243 199 / var(--tw-border-opacity))}.border-l-amber-200{--tw-border-opacity: 1;border-left-color:rgb(253 230 138 / var(--tw-border-opacity))}.border-l-amber-300{--tw-border-opacity: 1;border-left-color:rgb(252 211 77 / var(--tw-border-opacity))}.border-l-amber-400{--tw-border-opacity: 1;border-left-color:rgb(251 191 36 / var(--tw-border-opacity))}.border-l-amber-50{--tw-border-opacity: 1;border-left-color:rgb(255 251 235 / var(--tw-border-opacity))}.border-l-amber-500{--tw-border-opacity: 1;border-left-color:rgb(245 158 11 / var(--tw-border-opacity))}.border-l-amber-600{--tw-border-opacity: 1;border-left-color:rgb(217 119 6 / var(--tw-border-opacity))}.border-l-amber-700{--tw-border-opacity: 1;border-left-color:rgb(180 83 9 / var(--tw-border-opacity))}.border-l-amber-800{--tw-border-opacity: 1;border-left-color:rgb(146 64 14 / var(--tw-border-opacity))}.border-l-amber-900{--tw-border-opacity: 1;border-left-color:rgb(120 53 15 / var(--tw-border-opacity))}.border-l-amber-950{--tw-border-opacity: 1;border-left-color:rgb(69 26 3 / var(--tw-border-opacity))}.border-l-blue-100{--tw-border-opacity: 1;border-left-color:rgb(219 234 254 / var(--tw-border-opacity))}.border-l-blue-200{--tw-border-opacity: 1;border-left-color:rgb(191 219 254 / var(--tw-border-opacity))}.border-l-blue-300{--tw-border-opacity: 1;border-left-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-l-blue-400{--tw-border-opacity: 1;border-left-color:rgb(96 165 250 / var(--tw-border-opacity))}.border-l-blue-50{--tw-border-opacity: 1;border-left-color:rgb(239 246 255 / var(--tw-border-opacity))}.border-l-blue-500{--tw-border-opacity: 1;border-left-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-l-blue-600{--tw-border-opacity: 1;border-left-color:rgb(37 99 235 / var(--tw-border-opacity))}.border-l-blue-700{--tw-border-opacity: 1;border-left-color:rgb(29 78 216 / var(--tw-border-opacity))}.border-l-blue-800{--tw-border-opacity: 1;border-left-color:rgb(30 64 175 / var(--tw-border-opacity))}.border-l-blue-900{--tw-border-opacity: 1;border-left-color:rgb(30 58 138 / var(--tw-border-opacity))}.border-l-blue-950{--tw-border-opacity: 1;border-left-color:rgb(23 37 84 / var(--tw-border-opacity))}.border-l-cyan-100{--tw-border-opacity: 1;border-left-color:rgb(207 250 254 / var(--tw-border-opacity))}.border-l-cyan-200{--tw-border-opacity: 1;border-left-color:rgb(165 243 252 / var(--tw-border-opacity))}.border-l-cyan-300{--tw-border-opacity: 1;border-left-color:rgb(103 232 249 / var(--tw-border-opacity))}.border-l-cyan-400{--tw-border-opacity: 1;border-left-color:rgb(34 211 238 / var(--tw-border-opacity))}.border-l-cyan-50{--tw-border-opacity: 1;border-left-color:rgb(236 254 255 / var(--tw-border-opacity))}.border-l-cyan-500{--tw-border-opacity: 1;border-left-color:rgb(6 182 212 / var(--tw-border-opacity))}.border-l-cyan-600{--tw-border-opacity: 1;border-left-color:rgb(8 145 178 / var(--tw-border-opacity))}.border-l-cyan-700{--tw-border-opacity: 1;border-left-color:rgb(14 116 144 / var(--tw-border-opacity))}.border-l-cyan-800{--tw-border-opacity: 1;border-left-color:rgb(21 94 117 / var(--tw-border-opacity))}.border-l-cyan-900{--tw-border-opacity: 1;border-left-color:rgb(22 78 99 / var(--tw-border-opacity))}.border-l-cyan-950{--tw-border-opacity: 1;border-left-color:rgb(8 51 68 / var(--tw-border-opacity))}.border-l-emerald-100{--tw-border-opacity: 1;border-left-color:rgb(209 250 229 / var(--tw-border-opacity))}.border-l-emerald-200{--tw-border-opacity: 1;border-left-color:rgb(167 243 208 / var(--tw-border-opacity))}.border-l-emerald-300{--tw-border-opacity: 1;border-left-color:rgb(110 231 183 / var(--tw-border-opacity))}.border-l-emerald-400{--tw-border-opacity: 1;border-left-color:rgb(52 211 153 / var(--tw-border-opacity))}.border-l-emerald-50{--tw-border-opacity: 1;border-left-color:rgb(236 253 245 / var(--tw-border-opacity))}.border-l-emerald-500{--tw-border-opacity: 1;border-left-color:rgb(16 185 129 / var(--tw-border-opacity))}.border-l-emerald-600{--tw-border-opacity: 1;border-left-color:rgb(5 150 105 / var(--tw-border-opacity))}.border-l-emerald-700{--tw-border-opacity: 1;border-left-color:rgb(4 120 87 / var(--tw-border-opacity))}.border-l-emerald-800{--tw-border-opacity: 1;border-left-color:rgb(6 95 70 / var(--tw-border-opacity))}.border-l-emerald-900{--tw-border-opacity: 1;border-left-color:rgb(6 78 59 / var(--tw-border-opacity))}.border-l-emerald-950{--tw-border-opacity: 1;border-left-color:rgb(2 44 34 / var(--tw-border-opacity))}.border-l-fuchsia-100{--tw-border-opacity: 1;border-left-color:rgb(250 232 255 / var(--tw-border-opacity))}.border-l-fuchsia-200{--tw-border-opacity: 1;border-left-color:rgb(245 208 254 / var(--tw-border-opacity))}.border-l-fuchsia-300{--tw-border-opacity: 1;border-left-color:rgb(240 171 252 / var(--tw-border-opacity))}.border-l-fuchsia-400{--tw-border-opacity: 1;border-left-color:rgb(232 121 249 / var(--tw-border-opacity))}.border-l-fuchsia-50{--tw-border-opacity: 1;border-left-color:rgb(253 244 255 / var(--tw-border-opacity))}.border-l-fuchsia-500{--tw-border-opacity: 1;border-left-color:rgb(217 70 239 / var(--tw-border-opacity))}.border-l-fuchsia-600{--tw-border-opacity: 1;border-left-color:rgb(192 38 211 / var(--tw-border-opacity))}.border-l-fuchsia-700{--tw-border-opacity: 1;border-left-color:rgb(162 28 175 / var(--tw-border-opacity))}.border-l-fuchsia-800{--tw-border-opacity: 1;border-left-color:rgb(134 25 143 / var(--tw-border-opacity))}.border-l-fuchsia-900{--tw-border-opacity: 1;border-left-color:rgb(112 26 117 / var(--tw-border-opacity))}.border-l-fuchsia-950{--tw-border-opacity: 1;border-left-color:rgb(74 4 78 / var(--tw-border-opacity))}.border-l-gray-100{--tw-border-opacity: 1;border-left-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-l-gray-200{--tw-border-opacity: 1;border-left-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-l-gray-300{--tw-border-opacity: 1;border-left-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-l-gray-400{--tw-border-opacity: 1;border-left-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-l-gray-50{--tw-border-opacity: 1;border-left-color:rgb(249 250 251 / var(--tw-border-opacity))}.border-l-gray-500{--tw-border-opacity: 1;border-left-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-l-gray-600{--tw-border-opacity: 1;border-left-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-l-gray-700{--tw-border-opacity: 1;border-left-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-l-gray-800{--tw-border-opacity: 1;border-left-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-l-gray-900{--tw-border-opacity: 1;border-left-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-l-gray-950{--tw-border-opacity: 1;border-left-color:rgb(3 7 18 / var(--tw-border-opacity))}.border-l-green-100{--tw-border-opacity: 1;border-left-color:rgb(220 252 231 / var(--tw-border-opacity))}.border-l-green-200{--tw-border-opacity: 1;border-left-color:rgb(187 247 208 / var(--tw-border-opacity))}.border-l-green-300{--tw-border-opacity: 1;border-left-color:rgb(134 239 172 / var(--tw-border-opacity))}.border-l-green-400{--tw-border-opacity: 1;border-left-color:rgb(74 222 128 / var(--tw-border-opacity))}.border-l-green-50{--tw-border-opacity: 1;border-left-color:rgb(240 253 244 / var(--tw-border-opacity))}.border-l-green-500{--tw-border-opacity: 1;border-left-color:rgb(34 197 94 / var(--tw-border-opacity))}.border-l-green-600{--tw-border-opacity: 1;border-left-color:rgb(22 163 74 / var(--tw-border-opacity))}.border-l-green-700{--tw-border-opacity: 1;border-left-color:rgb(21 128 61 / var(--tw-border-opacity))}.border-l-green-800{--tw-border-opacity: 1;border-left-color:rgb(22 101 52 / var(--tw-border-opacity))}.border-l-green-900{--tw-border-opacity: 1;border-left-color:rgb(20 83 45 / var(--tw-border-opacity))}.border-l-green-950{--tw-border-opacity: 1;border-left-color:rgb(5 46 22 / var(--tw-border-opacity))}.border-l-indigo-100{--tw-border-opacity: 1;border-left-color:rgb(224 231 255 / var(--tw-border-opacity))}.border-l-indigo-200{--tw-border-opacity: 1;border-left-color:rgb(199 210 254 / var(--tw-border-opacity))}.border-l-indigo-300{--tw-border-opacity: 1;border-left-color:rgb(165 180 252 / var(--tw-border-opacity))}.border-l-indigo-400{--tw-border-opacity: 1;border-left-color:rgb(129 140 248 / var(--tw-border-opacity))}.border-l-indigo-50{--tw-border-opacity: 1;border-left-color:rgb(238 242 255 / var(--tw-border-opacity))}.border-l-indigo-500{--tw-border-opacity: 1;border-left-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-l-indigo-600{--tw-border-opacity: 1;border-left-color:rgb(79 70 229 / var(--tw-border-opacity))}.border-l-indigo-700{--tw-border-opacity: 1;border-left-color:rgb(67 56 202 / var(--tw-border-opacity))}.border-l-indigo-800{--tw-border-opacity: 1;border-left-color:rgb(55 48 163 / var(--tw-border-opacity))}.border-l-indigo-900{--tw-border-opacity: 1;border-left-color:rgb(49 46 129 / var(--tw-border-opacity))}.border-l-indigo-950{--tw-border-opacity: 1;border-left-color:rgb(30 27 75 / var(--tw-border-opacity))}.border-l-lime-100{--tw-border-opacity: 1;border-left-color:rgb(236 252 203 / var(--tw-border-opacity))}.border-l-lime-200{--tw-border-opacity: 1;border-left-color:rgb(217 249 157 / var(--tw-border-opacity))}.border-l-lime-300{--tw-border-opacity: 1;border-left-color:rgb(190 242 100 / var(--tw-border-opacity))}.border-l-lime-400{--tw-border-opacity: 1;border-left-color:rgb(163 230 53 / var(--tw-border-opacity))}.border-l-lime-50{--tw-border-opacity: 1;border-left-color:rgb(247 254 231 / var(--tw-border-opacity))}.border-l-lime-500{--tw-border-opacity: 1;border-left-color:rgb(132 204 22 / var(--tw-border-opacity))}.border-l-lime-600{--tw-border-opacity: 1;border-left-color:rgb(101 163 13 / var(--tw-border-opacity))}.border-l-lime-700{--tw-border-opacity: 1;border-left-color:rgb(77 124 15 / var(--tw-border-opacity))}.border-l-lime-800{--tw-border-opacity: 1;border-left-color:rgb(63 98 18 / var(--tw-border-opacity))}.border-l-lime-900{--tw-border-opacity: 1;border-left-color:rgb(54 83 20 / var(--tw-border-opacity))}.border-l-lime-950{--tw-border-opacity: 1;border-left-color:rgb(26 46 5 / var(--tw-border-opacity))}.border-l-neutral-100{--tw-border-opacity: 1;border-left-color:rgb(245 245 245 / var(--tw-border-opacity))}.border-l-neutral-200{--tw-border-opacity: 1;border-left-color:rgb(229 229 229 / var(--tw-border-opacity))}.border-l-neutral-300{--tw-border-opacity: 1;border-left-color:rgb(212 212 212 / var(--tw-border-opacity))}.border-l-neutral-400{--tw-border-opacity: 1;border-left-color:rgb(163 163 163 / var(--tw-border-opacity))}.border-l-neutral-50{--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}.border-l-neutral-500{--tw-border-opacity: 1;border-left-color:rgb(115 115 115 / var(--tw-border-opacity))}.border-l-neutral-600{--tw-border-opacity: 1;border-left-color:rgb(82 82 82 / var(--tw-border-opacity))}.border-l-neutral-700{--tw-border-opacity: 1;border-left-color:rgb(64 64 64 / var(--tw-border-opacity))}.border-l-neutral-800{--tw-border-opacity: 1;border-left-color:rgb(38 38 38 / var(--tw-border-opacity))}.border-l-neutral-900{--tw-border-opacity: 1;border-left-color:rgb(23 23 23 / var(--tw-border-opacity))}.border-l-neutral-950{--tw-border-opacity: 1;border-left-color:rgb(10 10 10 / var(--tw-border-opacity))}.border-l-orange-100{--tw-border-opacity: 1;border-left-color:rgb(255 237 213 / var(--tw-border-opacity))}.border-l-orange-200{--tw-border-opacity: 1;border-left-color:rgb(254 215 170 / var(--tw-border-opacity))}.border-l-orange-300{--tw-border-opacity: 1;border-left-color:rgb(253 186 116 / var(--tw-border-opacity))}.border-l-orange-400{--tw-border-opacity: 1;border-left-color:rgb(251 146 60 / var(--tw-border-opacity))}.border-l-orange-50{--tw-border-opacity: 1;border-left-color:rgb(255 247 237 / var(--tw-border-opacity))}.border-l-orange-500{--tw-border-opacity: 1;border-left-color:rgb(249 115 22 / var(--tw-border-opacity))}.border-l-orange-600{--tw-border-opacity: 1;border-left-color:rgb(234 88 12 / var(--tw-border-opacity))}.border-l-orange-700{--tw-border-opacity: 1;border-left-color:rgb(194 65 12 / var(--tw-border-opacity))}.border-l-orange-800{--tw-border-opacity: 1;border-left-color:rgb(154 52 18 / var(--tw-border-opacity))}.border-l-orange-900{--tw-border-opacity: 1;border-left-color:rgb(124 45 18 / var(--tw-border-opacity))}.border-l-orange-950{--tw-border-opacity: 1;border-left-color:rgb(67 20 7 / var(--tw-border-opacity))}.border-l-pink-100{--tw-border-opacity: 1;border-left-color:rgb(252 231 243 / var(--tw-border-opacity))}.border-l-pink-200{--tw-border-opacity: 1;border-left-color:rgb(251 207 232 / var(--tw-border-opacity))}.border-l-pink-300{--tw-border-opacity: 1;border-left-color:rgb(249 168 212 / var(--tw-border-opacity))}.border-l-pink-400{--tw-border-opacity: 1;border-left-color:rgb(244 114 182 / var(--tw-border-opacity))}.border-l-pink-50{--tw-border-opacity: 1;border-left-color:rgb(253 242 248 / var(--tw-border-opacity))}.border-l-pink-500{--tw-border-opacity: 1;border-left-color:rgb(236 72 153 / var(--tw-border-opacity))}.border-l-pink-600{--tw-border-opacity: 1;border-left-color:rgb(219 39 119 / var(--tw-border-opacity))}.border-l-pink-700{--tw-border-opacity: 1;border-left-color:rgb(190 24 93 / var(--tw-border-opacity))}.border-l-pink-800{--tw-border-opacity: 1;border-left-color:rgb(157 23 77 / var(--tw-border-opacity))}.border-l-pink-900{--tw-border-opacity: 1;border-left-color:rgb(131 24 67 / var(--tw-border-opacity))}.border-l-pink-950{--tw-border-opacity: 1;border-left-color:rgb(80 7 36 / var(--tw-border-opacity))}.border-l-purple-100{--tw-border-opacity: 1;border-left-color:rgb(243 232 255 / var(--tw-border-opacity))}.border-l-purple-200{--tw-border-opacity: 1;border-left-color:rgb(233 213 255 / var(--tw-border-opacity))}.border-l-purple-300{--tw-border-opacity: 1;border-left-color:rgb(216 180 254 / var(--tw-border-opacity))}.border-l-purple-400{--tw-border-opacity: 1;border-left-color:rgb(192 132 252 / var(--tw-border-opacity))}.border-l-purple-50{--tw-border-opacity: 1;border-left-color:rgb(250 245 255 / var(--tw-border-opacity))}.border-l-purple-500{--tw-border-opacity: 1;border-left-color:rgb(168 85 247 / var(--tw-border-opacity))}.border-l-purple-600{--tw-border-opacity: 1;border-left-color:rgb(147 51 234 / var(--tw-border-opacity))}.border-l-purple-700{--tw-border-opacity: 1;border-left-color:rgb(126 34 206 / var(--tw-border-opacity))}.border-l-purple-800{--tw-border-opacity: 1;border-left-color:rgb(107 33 168 / var(--tw-border-opacity))}.border-l-purple-900{--tw-border-opacity: 1;border-left-color:rgb(88 28 135 / var(--tw-border-opacity))}.border-l-purple-950{--tw-border-opacity: 1;border-left-color:rgb(59 7 100 / var(--tw-border-opacity))}.border-l-red-100{--tw-border-opacity: 1;border-left-color:rgb(254 226 226 / var(--tw-border-opacity))}.border-l-red-200{--tw-border-opacity: 1;border-left-color:rgb(254 202 202 / var(--tw-border-opacity))}.border-l-red-300{--tw-border-opacity: 1;border-left-color:rgb(252 165 165 / var(--tw-border-opacity))}.border-l-red-400{--tw-border-opacity: 1;border-left-color:rgb(248 113 113 / var(--tw-border-opacity))}.border-l-red-50{--tw-border-opacity: 1;border-left-color:rgb(254 242 242 / var(--tw-border-opacity))}.border-l-red-500{--tw-border-opacity: 1;border-left-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-l-red-600{--tw-border-opacity: 1;border-left-color:rgb(220 38 38 / var(--tw-border-opacity))}.border-l-red-700{--tw-border-opacity: 1;border-left-color:rgb(185 28 28 / var(--tw-border-opacity))}.border-l-red-800{--tw-border-opacity: 1;border-left-color:rgb(153 27 27 / var(--tw-border-opacity))}.border-l-red-900{--tw-border-opacity: 1;border-left-color:rgb(127 29 29 / var(--tw-border-opacity))}.border-l-red-950{--tw-border-opacity: 1;border-left-color:rgb(69 10 10 / var(--tw-border-opacity))}.border-l-rose-100{--tw-border-opacity: 1;border-left-color:rgb(255 228 230 / var(--tw-border-opacity))}.border-l-rose-200{--tw-border-opacity: 1;border-left-color:rgb(254 205 211 / var(--tw-border-opacity))}.border-l-rose-300{--tw-border-opacity: 1;border-left-color:rgb(253 164 175 / var(--tw-border-opacity))}.border-l-rose-400{--tw-border-opacity: 1;border-left-color:rgb(251 113 133 / var(--tw-border-opacity))}.border-l-rose-50{--tw-border-opacity: 1;border-left-color:rgb(255 241 242 / var(--tw-border-opacity))}.border-l-rose-500{--tw-border-opacity: 1;border-left-color:rgb(244 63 94 / var(--tw-border-opacity))}.border-l-rose-600{--tw-border-opacity: 1;border-left-color:rgb(225 29 72 / var(--tw-border-opacity))}.border-l-rose-700{--tw-border-opacity: 1;border-left-color:rgb(190 18 60 / var(--tw-border-opacity))}.border-l-rose-800{--tw-border-opacity: 1;border-left-color:rgb(159 18 57 / var(--tw-border-opacity))}.border-l-rose-900{--tw-border-opacity: 1;border-left-color:rgb(136 19 55 / var(--tw-border-opacity))}.border-l-rose-950{--tw-border-opacity: 1;border-left-color:rgb(76 5 25 / var(--tw-border-opacity))}.border-l-sky-100{--tw-border-opacity: 1;border-left-color:rgb(224 242 254 / var(--tw-border-opacity))}.border-l-sky-200{--tw-border-opacity: 1;border-left-color:rgb(186 230 253 / var(--tw-border-opacity))}.border-l-sky-300{--tw-border-opacity: 1;border-left-color:rgb(125 211 252 / var(--tw-border-opacity))}.border-l-sky-400{--tw-border-opacity: 1;border-left-color:rgb(56 189 248 / var(--tw-border-opacity))}.border-l-sky-50{--tw-border-opacity: 1;border-left-color:rgb(240 249 255 / var(--tw-border-opacity))}.border-l-sky-500{--tw-border-opacity: 1;border-left-color:rgb(14 165 233 / var(--tw-border-opacity))}.border-l-sky-600{--tw-border-opacity: 1;border-left-color:rgb(2 132 199 / var(--tw-border-opacity))}.border-l-sky-700{--tw-border-opacity: 1;border-left-color:rgb(3 105 161 / var(--tw-border-opacity))}.border-l-sky-800{--tw-border-opacity: 1;border-left-color:rgb(7 89 133 / var(--tw-border-opacity))}.border-l-sky-900{--tw-border-opacity: 1;border-left-color:rgb(12 74 110 / var(--tw-border-opacity))}.border-l-sky-950{--tw-border-opacity: 1;border-left-color:rgb(8 47 73 / var(--tw-border-opacity))}.border-l-slate-100{--tw-border-opacity: 1;border-left-color:rgb(241 245 249 / var(--tw-border-opacity))}.border-l-slate-200{--tw-border-opacity: 1;border-left-color:rgb(226 232 240 / var(--tw-border-opacity))}.border-l-slate-300{--tw-border-opacity: 1;border-left-color:rgb(203 213 225 / var(--tw-border-opacity))}.border-l-slate-400{--tw-border-opacity: 1;border-left-color:rgb(148 163 184 / var(--tw-border-opacity))}.border-l-slate-50{--tw-border-opacity: 1;border-left-color:rgb(248 250 252 / var(--tw-border-opacity))}.border-l-slate-500{--tw-border-opacity: 1;border-left-color:rgb(100 116 139 / var(--tw-border-opacity))}.border-l-slate-600{--tw-border-opacity: 1;border-left-color:rgb(71 85 105 / var(--tw-border-opacity))}.border-l-slate-700{--tw-border-opacity: 1;border-left-color:rgb(51 65 85 / var(--tw-border-opacity))}.border-l-slate-800{--tw-border-opacity: 1;border-left-color:rgb(30 41 59 / var(--tw-border-opacity))}.border-l-slate-900{--tw-border-opacity: 1;border-left-color:rgb(15 23 42 / var(--tw-border-opacity))}.border-l-slate-950{--tw-border-opacity: 1;border-left-color:rgb(2 6 23 / var(--tw-border-opacity))}.border-l-stone-100{--tw-border-opacity: 1;border-left-color:rgb(245 245 244 / var(--tw-border-opacity))}.border-l-stone-200{--tw-border-opacity: 1;border-left-color:rgb(231 229 228 / var(--tw-border-opacity))}.border-l-stone-300{--tw-border-opacity: 1;border-left-color:rgb(214 211 209 / var(--tw-border-opacity))}.border-l-stone-400{--tw-border-opacity: 1;border-left-color:rgb(168 162 158 / var(--tw-border-opacity))}.border-l-stone-50{--tw-border-opacity: 1;border-left-color:rgb(250 250 249 / var(--tw-border-opacity))}.border-l-stone-500{--tw-border-opacity: 1;border-left-color:rgb(120 113 108 / var(--tw-border-opacity))}.border-l-stone-600{--tw-border-opacity: 1;border-left-color:rgb(87 83 78 / var(--tw-border-opacity))}.border-l-stone-700{--tw-border-opacity: 1;border-left-color:rgb(68 64 60 / var(--tw-border-opacity))}.border-l-stone-800{--tw-border-opacity: 1;border-left-color:rgb(41 37 36 / var(--tw-border-opacity))}.border-l-stone-900{--tw-border-opacity: 1;border-left-color:rgb(28 25 23 / var(--tw-border-opacity))}.border-l-stone-950{--tw-border-opacity: 1;border-left-color:rgb(12 10 9 / var(--tw-border-opacity))}.border-l-teal-100{--tw-border-opacity: 1;border-left-color:rgb(204 251 241 / var(--tw-border-opacity))}.border-l-teal-200{--tw-border-opacity: 1;border-left-color:rgb(153 246 228 / var(--tw-border-opacity))}.border-l-teal-300{--tw-border-opacity: 1;border-left-color:rgb(94 234 212 / var(--tw-border-opacity))}.border-l-teal-400{--tw-border-opacity: 1;border-left-color:rgb(45 212 191 / var(--tw-border-opacity))}.border-l-teal-50{--tw-border-opacity: 1;border-left-color:rgb(240 253 250 / var(--tw-border-opacity))}.border-l-teal-500{--tw-border-opacity: 1;border-left-color:rgb(20 184 166 / var(--tw-border-opacity))}.border-l-teal-600{--tw-border-opacity: 1;border-left-color:rgb(13 148 136 / var(--tw-border-opacity))}.border-l-teal-700{--tw-border-opacity: 1;border-left-color:rgb(15 118 110 / var(--tw-border-opacity))}.border-l-teal-800{--tw-border-opacity: 1;border-left-color:rgb(17 94 89 / var(--tw-border-opacity))}.border-l-teal-900{--tw-border-opacity: 1;border-left-color:rgb(19 78 74 / var(--tw-border-opacity))}.border-l-teal-950{--tw-border-opacity: 1;border-left-color:rgb(4 47 46 / var(--tw-border-opacity))}.border-l-transparent{border-left-color:transparent}.border-l-violet-100{--tw-border-opacity: 1;border-left-color:rgb(237 233 254 / var(--tw-border-opacity))}.border-l-violet-200{--tw-border-opacity: 1;border-left-color:rgb(221 214 254 / var(--tw-border-opacity))}.border-l-violet-300{--tw-border-opacity: 1;border-left-color:rgb(196 181 253 / var(--tw-border-opacity))}.border-l-violet-400{--tw-border-opacity: 1;border-left-color:rgb(167 139 250 / var(--tw-border-opacity))}.border-l-violet-50{--tw-border-opacity: 1;border-left-color:rgb(245 243 255 / var(--tw-border-opacity))}.border-l-violet-500{--tw-border-opacity: 1;border-left-color:rgb(139 92 246 / var(--tw-border-opacity))}.border-l-violet-600{--tw-border-opacity: 1;border-left-color:rgb(124 58 237 / var(--tw-border-opacity))}.border-l-violet-700{--tw-border-opacity: 1;border-left-color:rgb(109 40 217 / var(--tw-border-opacity))}.border-l-violet-800{--tw-border-opacity: 1;border-left-color:rgb(91 33 182 / var(--tw-border-opacity))}.border-l-violet-900{--tw-border-opacity: 1;border-left-color:rgb(76 29 149 / var(--tw-border-opacity))}.border-l-violet-950{--tw-border-opacity: 1;border-left-color:rgb(46 16 101 / var(--tw-border-opacity))}.border-l-yellow-100{--tw-border-opacity: 1;border-left-color:rgb(254 249 195 / var(--tw-border-opacity))}.border-l-yellow-200{--tw-border-opacity: 1;border-left-color:rgb(254 240 138 / var(--tw-border-opacity))}.border-l-yellow-300{--tw-border-opacity: 1;border-left-color:rgb(253 224 71 / var(--tw-border-opacity))}.border-l-yellow-400{--tw-border-opacity: 1;border-left-color:rgb(250 204 21 / var(--tw-border-opacity))}.border-l-yellow-50{--tw-border-opacity: 1;border-left-color:rgb(254 252 232 / var(--tw-border-opacity))}.border-l-yellow-500{--tw-border-opacity: 1;border-left-color:rgb(234 179 8 / var(--tw-border-opacity))}.border-l-yellow-600{--tw-border-opacity: 1;border-left-color:rgb(202 138 4 / var(--tw-border-opacity))}.border-l-yellow-700{--tw-border-opacity: 1;border-left-color:rgb(161 98 7 / var(--tw-border-opacity))}.border-l-yellow-800{--tw-border-opacity: 1;border-left-color:rgb(133 77 14 / var(--tw-border-opacity))}.border-l-yellow-900{--tw-border-opacity: 1;border-left-color:rgb(113 63 18 / var(--tw-border-opacity))}.border-l-yellow-950{--tw-border-opacity: 1;border-left-color:rgb(66 32 6 / var(--tw-border-opacity))}.border-l-zinc-100{--tw-border-opacity: 1;border-left-color:rgb(244 244 245 / var(--tw-border-opacity))}.border-l-zinc-200{--tw-border-opacity: 1;border-left-color:rgb(228 228 231 / var(--tw-border-opacity))}.border-l-zinc-300{--tw-border-opacity: 1;border-left-color:rgb(212 212 216 / var(--tw-border-opacity))}.border-l-zinc-400{--tw-border-opacity: 1;border-left-color:rgb(161 161 170 / var(--tw-border-opacity))}.border-l-zinc-50{--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}.border-l-zinc-500{--tw-border-opacity: 1;border-left-color:rgb(113 113 122 / var(--tw-border-opacity))}.border-l-zinc-600{--tw-border-opacity: 1;border-left-color:rgb(82 82 91 / var(--tw-border-opacity))}.border-l-zinc-700{--tw-border-opacity: 1;border-left-color:rgb(63 63 70 / var(--tw-border-opacity))}.border-l-zinc-800{--tw-border-opacity: 1;border-left-color:rgb(39 39 42 / var(--tw-border-opacity))}.border-l-zinc-900{--tw-border-opacity: 1;border-left-color:rgb(24 24 27 / var(--tw-border-opacity))}.border-l-zinc-950{--tw-border-opacity: 1;border-left-color:rgb(9 9 11 / var(--tw-border-opacity))}.border-t-transparent{border-top-color:transparent}.border-opacity-40{--tw-border-opacity: .4}.border-opacity-50{--tw-border-opacity: .5}.border-opacity-60{--tw-border-opacity: .6}.border-opacity-70{--tw-border-opacity: .7}.\!bg-gray-100{--tw-bg-opacity: 1 !important;background-color:rgb(243 244 246 / var(--tw-bg-opacity))!important}.\!bg-gray-200{--tw-bg-opacity: 1 !important;background-color:rgb(229 231 235 / var(--tw-bg-opacity))!important}.\!bg-gray-300{--tw-bg-opacity: 1 !important;background-color:rgb(209 213 219 / var(--tw-bg-opacity))!important}.\!bg-green-100{--tw-bg-opacity: 1 !important;background-color:rgb(220 252 231 / var(--tw-bg-opacity))!important}.\!bg-green-50{--tw-bg-opacity: 1 !important;background-color:rgb(240 253 244 / var(--tw-bg-opacity))!important}.\!bg-grey-90{--tw-bg-opacity: 1 !important;background-color:rgb(17 24 39 / var(--tw-bg-opacity))!important}.\!bg-orange-100{--tw-bg-opacity: 1 !important;background-color:rgb(255 237 213 / var(--tw-bg-opacity))!important}.\!bg-red-100{--tw-bg-opacity: 1 !important;background-color:rgb(254 226 226 / var(--tw-bg-opacity))!important}.\!bg-red-300\/90{background-color:#fca5a5e6!important}.\!bg-red-50{--tw-bg-opacity: 1 !important;background-color:rgb(254 242 242 / var(--tw-bg-opacity))!important}.\!bg-slate-50{--tw-bg-opacity: 1 !important;background-color:rgb(248 250 252 / var(--tw-bg-opacity))!important}.\!bg-slate-50\/60{background-color:#f8fafc99!important}.\!bg-transparent{background-color:transparent!important}.bg-accent{background-color:hsl(var(--accent))}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.bg-amber-100\/70{background-color:#fef3c7b3}.bg-amber-200{--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}.bg-amber-300{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.bg-amber-600{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.bg-amber-700{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}.bg-amber-800{--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}.bg-amber-900{--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}.bg-amber-950{--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}.bg-background{background-color:hsl(var(--background))}.bg-background\/80{background-color:hsl(var(--background) / .8)}.bg-black\/30{background-color:#0000004d}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.bg-blue-800{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.bg-blue-900{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}.bg-blue-950{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-cyan-100{--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}.bg-cyan-200{--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}.bg-cyan-300{--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}.bg-cyan-400{--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}.bg-cyan-50{--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}.bg-cyan-500{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}.bg-cyan-600{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}.bg-cyan-700{--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}.bg-cyan-800{--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}.bg-cyan-900{--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}.bg-cyan-950{--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-emerald-100{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}.bg-emerald-100\/20{background-color:#d1fae533}.bg-emerald-200{--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}.bg-emerald-300{--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}.bg-emerald-400{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}.bg-emerald-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.bg-emerald-700{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}.bg-emerald-800{--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}.bg-emerald-900{--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}.bg-emerald-950{--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}.bg-fuchsia-100{--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}.bg-fuchsia-200{--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}.bg-fuchsia-300{--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}.bg-fuchsia-400{--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}.bg-fuchsia-50{--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}.bg-fuchsia-500{--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}.bg-fuchsia-600{--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}.bg-fuchsia-700{--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}.bg-fuchsia-800{--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}.bg-fuchsia-900{--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}.bg-fuchsia-950{--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-200\/50{background-color:#e5e7eb80}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-400\/90{background-color:#9ca3afe6}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-gray-950{--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-green-100\/80{background-color:#dcfce7cc}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.bg-green-300\/20{background-color:#86efac33}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-green-50\/30{background-color:#f0fdf44d}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.bg-green-800{--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}.bg-green-900{--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}.bg-green-950{--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}.bg-grey-0{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-grey-10{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-grey-20{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-grey-40{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-grey-5{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-grey-70{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.bg-indigo-300{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}.bg-indigo-400{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.bg-indigo-50{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-indigo-700{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.bg-indigo-800{--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}.bg-indigo-900{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}.bg-indigo-950{--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}.bg-inherit{background-color:inherit}.bg-lime-100{--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}.bg-lime-200{--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}.bg-lime-300{--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}.bg-lime-400{--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}.bg-lime-50{--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}.bg-lime-500{--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}.bg-lime-600{--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}.bg-lime-700{--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}.bg-lime-800{--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}.bg-lime-900{--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}.bg-lime-950{--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-neutral-100{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.bg-neutral-200{--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}.bg-neutral-300{--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}.bg-neutral-400{--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}.bg-neutral-50{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.bg-neutral-500{--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}.bg-neutral-600{--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}.bg-neutral-700{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}.bg-neutral-800{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.bg-neutral-900{--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}.bg-neutral-950{--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.bg-orange-200{--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}.bg-orange-200\/70{background-color:#fed7aab3}.bg-orange-300{--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}.bg-orange-300\/20{background-color:#fdba7433}.bg-orange-300\/40{background-color:#fdba7466}.bg-orange-400{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.bg-orange-50{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}.bg-orange-500{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}.bg-orange-600{--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}.bg-orange-700{--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}.bg-orange-800{--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}.bg-orange-900{--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}.bg-orange-950{--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}.bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}.bg-pink-300{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}.bg-pink-400{--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}.bg-pink-50{--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}.bg-pink-500{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}.bg-pink-600{--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}.bg-pink-700{--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}.bg-pink-800{--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}.bg-pink-900{--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}.bg-pink-950{--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}.bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}.bg-purple-300{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}.bg-purple-400{--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}.bg-purple-50{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.bg-purple-800{--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}.bg-purple-900{--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}.bg-purple-950{--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-100\/70{background-color:#fee2e2b3}.bg-red-100\/80{background-color:#fee2e2cc}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-red-50\/50{background-color:#fef2f280}.bg-red-50\/80{background-color:#fef2f2cc}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.bg-red-800{--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}.bg-red-900{--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}.bg-red-950{--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}.bg-rose-100{--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}.bg-rose-200{--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}.bg-rose-300{--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}.bg-rose-400{--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}.bg-rose-50{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}.bg-rose-500{--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}.bg-rose-600{--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}.bg-rose-700{--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}.bg-rose-800{--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}.bg-rose-900{--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}.bg-rose-950{--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-sky-100{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.bg-sky-200{--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}.bg-sky-300{--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}.bg-sky-400{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.bg-sky-50{--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}.bg-sky-50\/70{background-color:#f0f9ffb3}.bg-sky-500{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.bg-sky-600{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}.bg-sky-700{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}.bg-sky-800{--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}.bg-sky-900{--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}.bg-sky-950{--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.bg-slate-100\/90{background-color:#f1f5f9e6}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.bg-slate-200\/70{background-color:#e2e8f0b3}.bg-slate-200\/90{background-color:#e2e8f0e6}.bg-slate-300{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.bg-slate-300\/80{background-color:#cbd5e1cc}.bg-slate-400{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}.bg-slate-400\/80{background-color:#94a3b8cc}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.bg-slate-50\/50{background-color:#f8fafc80}.bg-slate-500{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.bg-slate-600{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.bg-slate-700{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}.bg-slate-800{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.bg-slate-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.bg-slate-900\/80{background-color:#0f172acc}.bg-slate-950{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}.bg-stone-100{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}.bg-stone-200{--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}.bg-stone-300{--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}.bg-stone-400{--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}.bg-stone-50{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}.bg-stone-500{--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}.bg-stone-600{--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}.bg-stone-700{--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}.bg-stone-800{--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}.bg-stone-900{--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}.bg-stone-950{--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}.bg-teal-100{--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}.bg-teal-100\/70{background-color:#ccfbf1b3}.bg-teal-200{--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}.bg-teal-300{--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}.bg-teal-400{--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}.bg-teal-50{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}.bg-teal-50\/80{background-color:#f0fdfacc}.bg-teal-50\/90{background-color:#f0fdfae6}.bg-teal-500{--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}.bg-teal-600{--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}.bg-teal-700{--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}.bg-teal-800{--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}.bg-teal-900{--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}.bg-teal-950{--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-violet-100{--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}.bg-violet-200{--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}.bg-violet-300{--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}.bg-violet-400{--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}.bg-violet-50{--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}.bg-violet-500{--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}.bg-violet-600{--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}.bg-violet-700{--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}.bg-violet-800{--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}.bg-violet-900{--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}.bg-violet-950{--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/80{background-color:#fffc}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.bg-yellow-100\/80{background-color:#fef9c3cc}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}.bg-yellow-300{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.bg-yellow-600{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.bg-yellow-700{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}.bg-yellow-800{--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}.bg-yellow-900{--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}.bg-yellow-950{--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}.bg-zinc-100{--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}.bg-zinc-200{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.bg-zinc-300{--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}.bg-zinc-400{--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}.bg-zinc-50{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.bg-zinc-500{--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}.bg-zinc-600{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}.bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.bg-zinc-800{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.bg-zinc-950{--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}.bg-opacity-100{--tw-bg-opacity: 1}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-80{--tw-bg-opacity: .8}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-transparent{--tw-gradient-from: transparent var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-grey-0{--tw-gradient-to: #FFFFFF var(--tw-gradient-to-position)}.bg-cover{background-size:cover}.fill-blue-500{fill:#3b82f6}.fill-current{fill:currentColor}.fill-green-200{fill:#bbf7d0}.fill-green-600{fill:#16a34a}.fill-orange-400{fill:#fb923c}.fill-primary{fill:hsl(var(--primary))}.fill-red-500{fill:#ef4444}.fill-transparent{fill:transparent}.fill-yellow-400{fill:#facc15}.stroke-current{stroke:currentColor}.stroke-grey-40{stroke:#9ca3af}.stroke-\[1\.3px\]{stroke-width:1.3px}.object-cover{-o-object-fit:cover;object-fit:cover}.object-scale-down{-o-object-fit:scale-down;object-fit:scale-down}.\!p-0{padding:0!important}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[14px\]{padding:14px}.p-\[1px\]{padding:1px}.p-\[2px\]{padding:2px}.\!px-0{padding-left:0!important;padding-right:0!important}.\!px-1{padding-left:.25rem!important;padding-right:.25rem!important}.\!px-1\.5{padding-left:.375rem!important;padding-right:.375rem!important}.\!px-2{padding-left:.5rem!important;padding-right:.5rem!important}.\!py-0{padding-top:0!important;padding-bottom:0!important}.\!py-0\.5{padding-top:.125rem!important;padding-bottom:.125rem!important}.\!py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.\!py-1\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}.\!py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.px-0{padding-left:0;padding-right:0}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.px-8{padding-left:2rem;padding-right:2rem}.px-\[12px\]{padding-left:12px;padding-right:12px}.px-\[6px\]{padding-left:6px;padding-right:6px}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-\[1\.5px\]{padding-top:1.5px;padding-bottom:1.5px}.py-\[1px\]{padding-top:1px;padding-bottom:1px}.py-\[2px\]{padding-top:2px;padding-bottom:2px}.py-\[3px\]{padding-top:3px;padding-bottom:3px}.py-\[6px\]{padding-top:6px;padding-bottom:6px}.\!pb-1{padding-bottom:.25rem!important}.\!pb-2{padding-bottom:.5rem!important}.\!pb-3{padding-bottom:.75rem!important}.\!pb-5{padding-bottom:1.25rem!important}.\!pl-0{padding-left:0!important}.\!pl-0\.5{padding-left:.125rem!important}.\!pr-8{padding-right:2rem!important}.\!pt-0{padding-top:0!important}.\!pt-2{padding-top:.5rem!important}.\!pt-3{padding-top:.75rem!important}.pb-0{padding-bottom:0}.pb-0\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pb-1\.5{padding-bottom:.375rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-6{padding-bottom:1.5rem}.pb-7{padding-bottom:1.75rem}.pb-8{padding-bottom:2rem}.pb-\[100px\]{padding-bottom:100px}.pb-\[2px\]{padding-bottom:2px}.pb-px{padding-bottom:1px}.pl-0{padding-left:0}.pl-0\.5{padding-left:.125rem}.pl-1{padding-left:.25rem}.pl-1\.5{padding-left:.375rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-3{padding-left:.75rem}.pl-8{padding-left:2rem}.pl-\[6px\]{padding-left:6px}.pr-0{padding-right:0}.pr-0\.5{padding-right:.125rem}.pr-1{padding-right:.25rem}.pr-1\.5{padding-right:.375rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-2\.5{padding-right:.625rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-5{padding-right:1.25rem}.pr-6{padding-right:1.5rem}.pr-7{padding-right:1.75rem}.pr-\[10px\]{padding-right:10px}.pr-\[6px\]{padding-right:6px}.pt-0{padding-top:0}.pt-0\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-1\.5{padding-top:.375rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-\[10px\]{padding-top:10px}.pt-\[140px\]{padding-top:140px}.pt-\[1px\]{padding-top:1px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-justify{text-align:justify}.align-middle{vertical-align:middle}.\!font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\!text-\[12px\]{font-size:12px!important}.\!text-\[13px\]{font-size:13px!important}.\!text-\[34px\]{font-size:34px!important}.\!text-sm{font-size:.875rem!important;line-height:1.25rem!important}.\!text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.\!text-xs{font-size:.75rem!important;line-height:1rem!important}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[14px\]{font-size:14px}.text-\[15px\]{font-size:15px}.text-\[16px\]{font-size:16px}.text-\[19px\]{font-size:19px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.\!font-bold{font-weight:700!important}.\!font-light{font-weight:300!important}.\!font-medium{font-weight:500!important}.\!font-normal{font-weight:400!important}.\!font-semibold{font-weight:600!important}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-6{line-height:1.5rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.\!text-amber-500{--tw-text-opacity: 1 !important;color:rgb(245 158 11 / var(--tw-text-opacity))!important}.\!text-amber-700{--tw-text-opacity: 1 !important;color:rgb(180 83 9 / var(--tw-text-opacity))!important}.\!text-amber-800{--tw-text-opacity: 1 !important;color:rgb(146 64 14 / var(--tw-text-opacity))!important}.\!text-blue-500{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity))!important}.\!text-blue-600{--tw-text-opacity: 1 !important;color:rgb(37 99 235 / var(--tw-text-opacity))!important}.\!text-gray-300{--tw-text-opacity: 1 !important;color:rgb(209 213 219 / var(--tw-text-opacity))!important}.\!text-gray-400{--tw-text-opacity: 1 !important;color:rgb(156 163 175 / var(--tw-text-opacity))!important}.\!text-gray-400\/80{color:#9ca3afcc!important}.\!text-gray-500{--tw-text-opacity: 1 !important;color:rgb(107 114 128 / var(--tw-text-opacity))!important}.\!text-green-500{--tw-text-opacity: 1 !important;color:rgb(34 197 94 / var(--tw-text-opacity))!important}.\!text-green-600{--tw-text-opacity: 1 !important;color:rgb(22 163 74 / var(--tw-text-opacity))!important}.\!text-grey-40{--tw-text-opacity: 1 !important;color:rgb(156 163 175 / var(--tw-text-opacity))!important}.\!text-orange-400{--tw-text-opacity: 1 !important;color:rgb(251 146 60 / var(--tw-text-opacity))!important}.\!text-orange-500\/80{color:#f97316cc!important}.\!text-orange-600{--tw-text-opacity: 1 !important;color:rgb(234 88 12 / var(--tw-text-opacity))!important}.\!text-red-400{--tw-text-opacity: 1 !important;color:rgb(248 113 113 / var(--tw-text-opacity))!important}.\!text-red-500{--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}.\!text-red-600{--tw-text-opacity: 1 !important;color:rgb(220 38 38 / var(--tw-text-opacity))!important}.\!text-slate-300{--tw-text-opacity: 1 !important;color:rgb(203 213 225 / var(--tw-text-opacity))!important}.\!text-slate-400{--tw-text-opacity: 1 !important;color:rgb(148 163 184 / var(--tw-text-opacity))!important}.\!text-slate-500{--tw-text-opacity: 1 !important;color:rgb(100 116 139 / var(--tw-text-opacity))!important}.\!text-slate-600{--tw-text-opacity: 1 !important;color:rgb(71 85 105 / var(--tw-text-opacity))!important}.\!text-slate-700{--tw-text-opacity: 1 !important;color:rgb(51 65 85 / var(--tw-text-opacity))!important}.\!text-slate-800{--tw-text-opacity: 1 !important;color:rgb(30 41 59 / var(--tw-text-opacity))!important}.\!text-yellow-500{--tw-text-opacity: 1 !important;color:rgb(234 179 8 / var(--tw-text-opacity))!important}.\!text-yellow-600{--tw-text-opacity: 1 !important;color:rgb(202 138 4 / var(--tw-text-opacity))!important}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-amber-100{--tw-text-opacity: 1;color:rgb(254 243 199 / var(--tw-text-opacity))}.text-amber-200{--tw-text-opacity: 1;color:rgb(253 230 138 / var(--tw-text-opacity))}.text-amber-300{--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity))}.text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity))}.text-amber-50{--tw-text-opacity: 1;color:rgb(255 251 235 / var(--tw-text-opacity))}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity))}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity))}.text-amber-900{--tw-text-opacity: 1;color:rgb(120 53 15 / var(--tw-text-opacity))}.text-amber-950{--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-100{--tw-text-opacity: 1;color:rgb(219 234 254 / var(--tw-text-opacity))}.text-blue-200{--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity))}.text-blue-300{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-blue-50{--tw-text-opacity: 1;color:rgb(239 246 255 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-blue-900{--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity))}.text-blue-950{--tw-text-opacity: 1;color:rgb(23 37 84 / var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-cyan-100{--tw-text-opacity: 1;color:rgb(207 250 254 / var(--tw-text-opacity))}.text-cyan-200{--tw-text-opacity: 1;color:rgb(165 243 252 / var(--tw-text-opacity))}.text-cyan-300{--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity))}.text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity))}.text-cyan-50{--tw-text-opacity: 1;color:rgb(236 254 255 / var(--tw-text-opacity))}.text-cyan-500{--tw-text-opacity: 1;color:rgb(6 182 212 / var(--tw-text-opacity))}.text-cyan-600{--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity))}.text-cyan-700{--tw-text-opacity: 1;color:rgb(14 116 144 / var(--tw-text-opacity))}.text-cyan-800{--tw-text-opacity: 1;color:rgb(21 94 117 / var(--tw-text-opacity))}.text-cyan-900{--tw-text-opacity: 1;color:rgb(22 78 99 / var(--tw-text-opacity))}.text-cyan-950{--tw-text-opacity: 1;color:rgb(8 51 68 / var(--tw-text-opacity))}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-emerald-100{--tw-text-opacity: 1;color:rgb(209 250 229 / var(--tw-text-opacity))}.text-emerald-200{--tw-text-opacity: 1;color:rgb(167 243 208 / var(--tw-text-opacity))}.text-emerald-300{--tw-text-opacity: 1;color:rgb(110 231 183 / var(--tw-text-opacity))}.text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity))}.text-emerald-50{--tw-text-opacity: 1;color:rgb(236 253 245 / var(--tw-text-opacity))}.text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity))}.text-emerald-800{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity))}.text-emerald-900{--tw-text-opacity: 1;color:rgb(6 78 59 / var(--tw-text-opacity))}.text-emerald-950{--tw-text-opacity: 1;color:rgb(2 44 34 / var(--tw-text-opacity))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/50{color:hsl(var(--foreground) / .5)}.text-fuchsia-100{--tw-text-opacity: 1;color:rgb(250 232 255 / var(--tw-text-opacity))}.text-fuchsia-200{--tw-text-opacity: 1;color:rgb(245 208 254 / var(--tw-text-opacity))}.text-fuchsia-300{--tw-text-opacity: 1;color:rgb(240 171 252 / var(--tw-text-opacity))}.text-fuchsia-400{--tw-text-opacity: 1;color:rgb(232 121 249 / var(--tw-text-opacity))}.text-fuchsia-50{--tw-text-opacity: 1;color:rgb(253 244 255 / var(--tw-text-opacity))}.text-fuchsia-500{--tw-text-opacity: 1;color:rgb(217 70 239 / var(--tw-text-opacity))}.text-fuchsia-600{--tw-text-opacity: 1;color:rgb(192 38 211 / var(--tw-text-opacity))}.text-fuchsia-700{--tw-text-opacity: 1;color:rgb(162 28 175 / var(--tw-text-opacity))}.text-fuchsia-800{--tw-text-opacity: 1;color:rgb(134 25 143 / var(--tw-text-opacity))}.text-fuchsia-900{--tw-text-opacity: 1;color:rgb(112 26 117 / var(--tw-text-opacity))}.text-fuchsia-950{--tw-text-opacity: 1;color:rgb(74 4 78 / var(--tw-text-opacity))}.text-gray-100{--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-400\/80{color:#9ca3afcc}.text-gray-400\/90{color:#9ca3afe6}.text-gray-50{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-500\/60{color:#6b728099}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-gray-950{--tw-text-opacity: 1;color:rgb(3 7 18 / var(--tw-text-opacity))}.text-green-100{--tw-text-opacity: 1;color:rgb(220 252 231 / var(--tw-text-opacity))}.text-green-200{--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity))}.text-green-300{--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.text-green-50{--tw-text-opacity: 1;color:rgb(240 253 244 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-green-900{--tw-text-opacity: 1;color:rgb(20 83 45 / var(--tw-text-opacity))}.text-green-950{--tw-text-opacity: 1;color:rgb(5 46 22 / var(--tw-text-opacity))}.text-grey-0{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-grey-20{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-grey-30{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-grey-40{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-grey-50{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-grey-90{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-indigo-100{--tw-text-opacity: 1;color:rgb(224 231 255 / var(--tw-text-opacity))}.text-indigo-200{--tw-text-opacity: 1;color:rgb(199 210 254 / var(--tw-text-opacity))}.text-indigo-300{--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}.text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}.text-indigo-50{--tw-text-opacity: 1;color:rgb(238 242 255 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(55 48 163 / var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(49 46 129 / var(--tw-text-opacity))}.text-indigo-950{--tw-text-opacity: 1;color:rgb(30 27 75 / var(--tw-text-opacity))}.text-lime-100{--tw-text-opacity: 1;color:rgb(236 252 203 / var(--tw-text-opacity))}.text-lime-200{--tw-text-opacity: 1;color:rgb(217 249 157 / var(--tw-text-opacity))}.text-lime-300{--tw-text-opacity: 1;color:rgb(190 242 100 / var(--tw-text-opacity))}.text-lime-400{--tw-text-opacity: 1;color:rgb(163 230 53 / var(--tw-text-opacity))}.text-lime-50{--tw-text-opacity: 1;color:rgb(247 254 231 / var(--tw-text-opacity))}.text-lime-500{--tw-text-opacity: 1;color:rgb(132 204 22 / var(--tw-text-opacity))}.text-lime-600{--tw-text-opacity: 1;color:rgb(101 163 13 / var(--tw-text-opacity))}.text-lime-700{--tw-text-opacity: 1;color:rgb(77 124 15 / var(--tw-text-opacity))}.text-lime-800{--tw-text-opacity: 1;color:rgb(63 98 18 / var(--tw-text-opacity))}.text-lime-900{--tw-text-opacity: 1;color:rgb(54 83 20 / var(--tw-text-opacity))}.text-lime-950{--tw-text-opacity: 1;color:rgb(26 46 5 / var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-neutral-100{--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity))}.text-neutral-200{--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity))}.text-neutral-300{--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}.text-neutral-400{--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}.text-neutral-50{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity))}.text-neutral-500{--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}.text-neutral-600{--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity))}.text-neutral-700{--tw-text-opacity: 1;color:rgb(64 64 64 / var(--tw-text-opacity))}.text-neutral-800{--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity))}.text-neutral-900{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity))}.text-neutral-950{--tw-text-opacity: 1;color:rgb(10 10 10 / var(--tw-text-opacity))}.text-orange-100{--tw-text-opacity: 1;color:rgb(255 237 213 / var(--tw-text-opacity))}.text-orange-200{--tw-text-opacity: 1;color:rgb(254 215 170 / var(--tw-text-opacity))}.text-orange-300{--tw-text-opacity: 1;color:rgb(253 186 116 / var(--tw-text-opacity))}.text-orange-400{--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity))}.text-orange-50{--tw-text-opacity: 1;color:rgb(255 247 237 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-orange-500\/80{color:#f97316cc}.text-orange-600{--tw-text-opacity: 1;color:rgb(234 88 12 / var(--tw-text-opacity))}.text-orange-700{--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity))}.text-orange-800{--tw-text-opacity: 1;color:rgb(154 52 18 / var(--tw-text-opacity))}.text-orange-900{--tw-text-opacity: 1;color:rgb(124 45 18 / var(--tw-text-opacity))}.text-orange-950{--tw-text-opacity: 1;color:rgb(67 20 7 / var(--tw-text-opacity))}.text-pink-100{--tw-text-opacity: 1;color:rgb(252 231 243 / var(--tw-text-opacity))}.text-pink-200{--tw-text-opacity: 1;color:rgb(251 207 232 / var(--tw-text-opacity))}.text-pink-300{--tw-text-opacity: 1;color:rgb(249 168 212 / var(--tw-text-opacity))}.text-pink-400{--tw-text-opacity: 1;color:rgb(244 114 182 / var(--tw-text-opacity))}.text-pink-50{--tw-text-opacity: 1;color:rgb(253 242 248 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(236 72 153 / var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity: 1;color:rgb(219 39 119 / var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity: 1;color:rgb(190 24 93 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(157 23 77 / var(--tw-text-opacity))}.text-pink-900{--tw-text-opacity: 1;color:rgb(131 24 67 / var(--tw-text-opacity))}.text-pink-950{--tw-text-opacity: 1;color:rgb(80 7 36 / var(--tw-text-opacity))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-primary\/30{color:hsl(var(--primary) / .3)}.text-primary\/40{color:hsl(var(--primary) / .4)}.text-primary\/50{color:hsl(var(--primary) / .5)}.text-purple-100{--tw-text-opacity: 1;color:rgb(243 232 255 / var(--tw-text-opacity))}.text-purple-200{--tw-text-opacity: 1;color:rgb(233 213 255 / var(--tw-text-opacity))}.text-purple-300{--tw-text-opacity: 1;color:rgb(216 180 254 / var(--tw-text-opacity))}.text-purple-400{--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity))}.text-purple-50{--tw-text-opacity: 1;color:rgb(250 245 255 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(107 33 168 / var(--tw-text-opacity))}.text-purple-900{--tw-text-opacity: 1;color:rgb(88 28 135 / var(--tw-text-opacity))}.text-purple-950{--tw-text-opacity: 1;color:rgb(59 7 100 / var(--tw-text-opacity))}.text-red-100{--tw-text-opacity: 1;color:rgb(254 226 226 / var(--tw-text-opacity))}.text-red-200{--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity))}.text-red-300{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-red-50{--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}.text-red-950{--tw-text-opacity: 1;color:rgb(69 10 10 / var(--tw-text-opacity))}.text-rose-100{--tw-text-opacity: 1;color:rgb(255 228 230 / var(--tw-text-opacity))}.text-rose-200{--tw-text-opacity: 1;color:rgb(254 205 211 / var(--tw-text-opacity))}.text-rose-300{--tw-text-opacity: 1;color:rgb(253 164 175 / var(--tw-text-opacity))}.text-rose-400{--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity))}.text-rose-50{--tw-text-opacity: 1;color:rgb(255 241 242 / var(--tw-text-opacity))}.text-rose-500{--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity))}.text-rose-600{--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity))}.text-rose-700{--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity))}.text-rose-800{--tw-text-opacity: 1;color:rgb(159 18 57 / var(--tw-text-opacity))}.text-rose-900{--tw-text-opacity: 1;color:rgb(136 19 55 / var(--tw-text-opacity))}.text-rose-950{--tw-text-opacity: 1;color:rgb(76 5 25 / var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-secondary-foreground\/50{color:hsl(var(--secondary-foreground) / .5)}.text-sky-100{--tw-text-opacity: 1;color:rgb(224 242 254 / var(--tw-text-opacity))}.text-sky-200{--tw-text-opacity: 1;color:rgb(186 230 253 / var(--tw-text-opacity))}.text-sky-300{--tw-text-opacity: 1;color:rgb(125 211 252 / var(--tw-text-opacity))}.text-sky-400{--tw-text-opacity: 1;color:rgb(56 189 248 / var(--tw-text-opacity))}.text-sky-50{--tw-text-opacity: 1;color:rgb(240 249 255 / var(--tw-text-opacity))}.text-sky-500{--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}.text-sky-600{--tw-text-opacity: 1;color:rgb(2 132 199 / var(--tw-text-opacity))}.text-sky-700{--tw-text-opacity: 1;color:rgb(3 105 161 / var(--tw-text-opacity))}.text-sky-800{--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity))}.text-sky-900{--tw-text-opacity: 1;color:rgb(12 74 110 / var(--tw-text-opacity))}.text-sky-950{--tw-text-opacity: 1;color:rgb(8 47 73 / var(--tw-text-opacity))}.text-slate-100{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.text-slate-200{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}.text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.text-slate-400\/90{color:#94a3b8e6}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.text-slate-800{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.text-slate-900\/50{color:#0f172a80}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-stone-100{--tw-text-opacity: 1;color:rgb(245 245 244 / var(--tw-text-opacity))}.text-stone-200{--tw-text-opacity: 1;color:rgb(231 229 228 / var(--tw-text-opacity))}.text-stone-300{--tw-text-opacity: 1;color:rgb(214 211 209 / var(--tw-text-opacity))}.text-stone-400{--tw-text-opacity: 1;color:rgb(168 162 158 / var(--tw-text-opacity))}.text-stone-50{--tw-text-opacity: 1;color:rgb(250 250 249 / var(--tw-text-opacity))}.text-stone-500{--tw-text-opacity: 1;color:rgb(120 113 108 / var(--tw-text-opacity))}.text-stone-600{--tw-text-opacity: 1;color:rgb(87 83 78 / var(--tw-text-opacity))}.text-stone-700{--tw-text-opacity: 1;color:rgb(68 64 60 / var(--tw-text-opacity))}.text-stone-800{--tw-text-opacity: 1;color:rgb(41 37 36 / var(--tw-text-opacity))}.text-stone-900{--tw-text-opacity: 1;color:rgb(28 25 23 / var(--tw-text-opacity))}.text-stone-950{--tw-text-opacity: 1;color:rgb(12 10 9 / var(--tw-text-opacity))}.text-teal-100{--tw-text-opacity: 1;color:rgb(204 251 241 / var(--tw-text-opacity))}.text-teal-200{--tw-text-opacity: 1;color:rgb(153 246 228 / var(--tw-text-opacity))}.text-teal-300{--tw-text-opacity: 1;color:rgb(94 234 212 / var(--tw-text-opacity))}.text-teal-400{--tw-text-opacity: 1;color:rgb(45 212 191 / var(--tw-text-opacity))}.text-teal-50{--tw-text-opacity: 1;color:rgb(240 253 250 / var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity: 1;color:rgb(13 148 136 / var(--tw-text-opacity))}.text-teal-700{--tw-text-opacity: 1;color:rgb(15 118 110 / var(--tw-text-opacity))}.text-teal-800{--tw-text-opacity: 1;color:rgb(17 94 89 / var(--tw-text-opacity))}.text-teal-900{--tw-text-opacity: 1;color:rgb(19 78 74 / var(--tw-text-opacity))}.text-teal-950{--tw-text-opacity: 1;color:rgb(4 47 46 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-violet-100{--tw-text-opacity: 1;color:rgb(237 233 254 / var(--tw-text-opacity))}.text-violet-200{--tw-text-opacity: 1;color:rgb(221 214 254 / var(--tw-text-opacity))}.text-violet-300{--tw-text-opacity: 1;color:rgb(196 181 253 / var(--tw-text-opacity))}.text-violet-400{--tw-text-opacity: 1;color:rgb(167 139 250 / var(--tw-text-opacity))}.text-violet-50{--tw-text-opacity: 1;color:rgb(245 243 255 / var(--tw-text-opacity))}.text-violet-500{--tw-text-opacity: 1;color:rgb(139 92 246 / var(--tw-text-opacity))}.text-violet-600{--tw-text-opacity: 1;color:rgb(124 58 237 / var(--tw-text-opacity))}.text-violet-700{--tw-text-opacity: 1;color:rgb(109 40 217 / var(--tw-text-opacity))}.text-violet-800{--tw-text-opacity: 1;color:rgb(91 33 182 / var(--tw-text-opacity))}.text-violet-900{--tw-text-opacity: 1;color:rgb(76 29 149 / var(--tw-text-opacity))}.text-violet-950{--tw-text-opacity: 1;color:rgb(46 16 101 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-100{--tw-text-opacity: 1;color:rgb(254 249 195 / var(--tw-text-opacity))}.text-yellow-200{--tw-text-opacity: 1;color:rgb(254 240 138 / var(--tw-text-opacity))}.text-yellow-300{--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity))}.text-yellow-50{--tw-text-opacity: 1;color:rgb(254 252 232 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(113 63 18 / var(--tw-text-opacity))}.text-yellow-950{--tw-text-opacity: 1;color:rgb(66 32 6 / var(--tw-text-opacity))}.text-zinc-100{--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}.text-zinc-200{--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity))}.text-zinc-300{--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity))}.text-zinc-400{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity))}.text-zinc-50{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity))}.text-zinc-500{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}.text-zinc-600{--tw-text-opacity: 1;color:rgb(82 82 91 / var(--tw-text-opacity))}.text-zinc-700{--tw-text-opacity: 1;color:rgb(63 63 70 / var(--tw-text-opacity))}.text-zinc-800{--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity))}.text-zinc-900{--tw-text-opacity: 1;color:rgb(24 24 27 / var(--tw-text-opacity))}.text-zinc-950{--tw-text-opacity: 1;color:rgb(9 9 11 / var(--tw-text-opacity))}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.line-through{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}.decoration-gray-300{-webkit-text-decoration-color:#d1d5db;text-decoration-color:#d1d5db}.decoration-gray-400{-webkit-text-decoration-color:#9ca3af;text-decoration-color:#9ca3af}.decoration-slate-400{-webkit-text-decoration-color:#94a3b8;text-decoration-color:#94a3b8}.\!decoration-dashed{text-decoration-style:dashed!important}.decoration-1{text-decoration-thickness:1px}.\!underline-offset-4{text-underline-offset:4px!important}.underline-offset-4{text-underline-offset:4px}.placeholder-grey-40::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.placeholder-grey-40::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.\!opacity-60{opacity:.6!important}.\!opacity-80{opacity:.8!important}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_-2px_12px_0_rgb\(0\,0\,0\,0\.1\)\]{--tw-shadow: 0 -2px 12px 0 rgb(0,0,0,.1);--tw-shadow-colored: 0 -2px 12px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_0_0_1px\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_0_0_2px\]{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-window{--tw-shadow: 1px 2px 3px 0 rgb(0 0 0 / .1), 0 2px 4px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 1px 2px 3px 0 var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[\#D1D5DB\]{--tw-shadow-color: #D1D5DB;--tw-shadow: var(--tw-shadow-colored)}.shadow-border{--tw-shadow-color: hsl(var(--border));--tw-shadow: var(--tw-shadow-colored)}.shadow-input{--tw-shadow-color: hsl(var(--input));--tw-shadow: var(--tw-shadow-colored)}.\!outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-0{outline-width:0px}.outline-1{outline-width:1px}.outline-4{outline-width:4px}.outline-grey-20{outline-color:#e5e7eb}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-0{--tw-ring-offset-width: 0px}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-brightness-50{--tw-backdrop-brightness: brightness(.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-none{transition-property:none}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-1000{transition-duration:1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.animate-out{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.fade-in{--tw-enter-opacity: 0}.fade-in-50{--tw-enter-opacity: .5}.fade-in-80{--tw-enter-opacity: .8}.fade-in-90{--tw-enter-opacity: .9}.fade-out{--tw-exit-opacity: 0}.zoom-in-90{--tw-enter-scale: .9}.slide-in-from-bottom{--tw-enter-translate-y: 100%}.slide-in-from-bottom-1{--tw-enter-translate-y: .25rem}.slide-in-from-bottom-10{--tw-enter-translate-y: 2.5rem}.slide-in-from-left{--tw-enter-translate-x: -100%}.slide-in-from-left-1{--tw-enter-translate-x: -.25rem}.slide-in-from-right{--tw-enter-translate-x: 100%}.slide-in-from-top{--tw-enter-translate-y: -100%}.slide-in-from-top-1{--tw-enter-translate-y: -.25rem}.slide-in-from-top-10{--tw-enter-translate-y: -2.5rem}.duration-100{animation-duration:.1s}.duration-1000{animation-duration:1s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.duration-700{animation-duration:.7s}.ease-in{animation-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.\!fill-mode-forwards{animation-fill-mode:forwards!important}.fill-mode-forwards{animation-fill-mode:forwards}.\!scrollbar{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)!important}.scrollbar{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.\!scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track)!important;border-radius:var(--scrollbar-track-radius)!important}.scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.\!scrollbar::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))!important}.scrollbar::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.\!scrollbar::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))!important}.scrollbar::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.\!scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb)!important;border-radius:var(--scrollbar-thumb-radius)!important}.scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.\!scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))!important}.scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.\!scrollbar::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))!important}.scrollbar::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.\!scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner)!important;border-radius:var(--scrollbar-corner-radius)!important}.scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.\!scrollbar::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))!important}.scrollbar::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.\!scrollbar::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))!important}.scrollbar::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.\!scrollbar{scrollbar-width:auto!important}.scrollbar{scrollbar-width:auto}.\!scrollbar::-webkit-scrollbar{display:block!important;width:var(--scrollbar-width, 16px)!important;height:var(--scrollbar-height, 16px)!important}.scrollbar::-webkit-scrollbar{display:block;width:var(--scrollbar-width, 16px);height:var(--scrollbar-height, 16px)}.step{counter-increment:step}.step:before{position:absolute;display:inline-flex;height:2rem;width:2rem;align-items:center;justify-content:center;border-radius:9999px;background-color:hsl(var(--muted));text-align:center;text-indent:-1px;font-size:1rem;line-height:1.5rem;font-weight:500;margin-left:-41px;content:counter(step)}@font-face{font-family:Country Flags;src:url(/assets/TwemojiCountryFlags-Bje2crD2.woff2) format("woff2");unicode-range:U+1F1E6-1F1FF,U+1F3F4,U+E0062-E0063,U+E0065,U+E0067,U+E006C,U+E006E,U+E0073-E0074,U+E0077,U+E007F;font-display:swap}@font-face{font-family:Inter;src:url(/assets/Inter-Regular-B0QUfDW0.woff2) format("woff2")}@font-face{font-family:Inter;font-weight:500;src:url(/assets/Inter-Medium-B0NFony0.woff2) format("woff2")}@font-face{font-family:Inter;font-weight:500;src:url(/assets/Inter-Medium-B0NFony0.woff2) format("woff2")}@font-face{font-family:Inter;font-weight:600;src:url(/assets/Inter-SemiBold-_JLwM7Yv.woff2) format("woff2")}@font-face{font-family:SourceCode;src:url(/assets/SourceCodePro-Regular.otf-Chr7uwKk.woff2) format("woff2")}[data-radix-popper-content-wrapper]{z-index:999!important}input::-ms-reveal{display:none}input[type=number]::-webkit-inner-spin-button{display:none}[type=button]{-webkit-appearance:none;-moz-appearance:none}::-webkit-scrollbar{width:0;height:0;background:transparent}::-webkit-scrollbar-corner{background:transparent}::-webkit-scrollbar-track{border-radius:.75rem;background:transparent}.dark ::-webkit-scrollbar-thumb{border-radius:.75rem;--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}::-webkit-scrollbar-thumb{border-radius:.75rem;--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}textarea::-webkit-scrollbar{width:8px;height:8px;background:transparent}.flags{font-family:Country Flags}.simplebar-scrollbar:before{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.body-overlay{position:absolute;margin-top:40px;top:0;right:0;bottom:0;left:0;z-index:999;animation:.3s cubic-bezier(.16,1,.3,1) 0s 1 normal none running fadeInOpacity}.note-content{line-height:1.4}.note-content p:last-child{margin-bottom:.1rem}.note-content h1,.note-content h2,.note-content h3,.note-content h4,.note-content h5,.note-content h6,.note-content p,.note-content ul,.note-content ol,.note-content pre,.note-content blockquote,.note-content table,.note-content img,.note-content hr{margin-bottom:.5rem}.note-content b,.note-content strong{font-weight:700}.note-content h1{font-size:1.25rem;font-weight:700;margin-bottom:.25rem}.note-content h2{font-size:1.125rem;font-weight:700;margin-bottom:.25rem}.note-content h3{font-size:1rem;font-weight:700;margin-bottom:.25rem}.note-content h4{font-size:.875rem;font-weight:700;margin-bottom:.25rem}.note-content h5{font-size:.75rem;font-weight:700;margin-bottom:.25rem}.note-content h6{font-size:.625rem;font-weight:700}.note-content a{color:#007bff;text-decoration:underline}.note-content a:hover{text-decoration:none}.note-content ul,.note-content ol{margin-bottom:.5rem;padding-left:1.25rem}.note-content ul li,.note-content ol li{margin-bottom:.15rem;position:relative}.note-content ul{list-style-type:none}.note-content ul li{display:flex;gap:.25rem}.note-content ul li.task-list-item{justify-content:flex-start;item-align:center;margin-left:-.35rem}.note-content ul li.task-list-item input{width:.95rem;height:1rem;margin-top:.15rem}.note-content ul li.task-list-item:before{content:""}.note-content ul li:before{content:"•";padding-right:.15rem;color:#ddd;margin-left:-1rem;vertical-align:middle}.note-content ol{list-style:none;counter-reset:list-counter}.note-content ol li{counter-increment:list-counter;display:flex;gap:.25rem}.note-content ol li:before{content:counter(list-counter) ".";color:#ddd;margin-left:-1rem;text-align:right;vertical-align:middle}.note-content pre,.note-content code{background-color:#f5f5f5;border:1px solid #ddd;padding:0 .25rem;border-radius:.25rem;overflow:auto}.note-content blockquote{padding:.25rem .5rem;border-left:5px solid #ddd;background-color:#f9f9f9;color:#555}.note-content table{width:100%;border-collapse:collapse}.note-content table th,.note-content table td{border:1px solid #ddd;padding:.5rem;text-align:left}.note-content img{max-width:100%;height:auto}.note-content hr{border:none;border-top:1px solid #ccc}.dark .note-content a{color:#4ca3dd;text-decoration:underline}.dark .note-content a:hover{text-decoration:none}.dark .note-content ul li:before,.dark .note-content ol li:before{color:#555}.dark .note-content pre,.dark .note-content code{background-color:#222;border:1px solid #444}.dark .note-content blockquote{border-left:4px solid #444;background-color:#222;color:#bbb}.dark .note-content table th,.dark .note-content table td{border:1px solid #666}.dark .note-content hr{border-top:1px solid #666}.esc-key{background-image:url("data:image/svg+xml,%3Csvg width='16' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.506 6h3.931V4.986H1.736v-1.39h2.488V2.583H1.736V1.196h2.69V.182H.506V6ZM8.56 1.855h1.18C9.721.818 8.87.102 7.574.102c-1.276 0-2.21.705-2.205 1.762-.003.858.602 1.35 1.585 1.585l.634.159c.633.153.986.335.988.727-.002.426-.406.716-1.03.716-.64 0-1.1-.295-1.14-.878h-1.19c.03 1.259.931 1.91 2.343 1.91 1.42 0 2.256-.68 2.259-1.745-.003-.969-.733-1.483-1.744-1.71l-.523-.125c-.506-.117-.93-.304-.92-.722 0-.375.332-.65.934-.65.588 0 .949.267.994.724ZM15.78 2.219C15.618.875 14.6.102 13.254.102c-1.537 0-2.71 1.086-2.71 2.989 0 1.898 1.153 2.989 2.71 2.989 1.492 0 2.392-.992 2.526-2.063l-1.244-.006c-.117.623-.606.98-1.262.98-.883 0-1.483-.656-1.483-1.9 0-1.21.591-1.9 1.492-1.9.673 0 1.159.389 1.253 1.028h1.244Z' fill='%235b697d'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:57.1428571429% auto}.code-filter .simplebar-content-wrapper{outline:none;margin-right:10px;margin-left:0}.simplebar-content-wrapper{outline:none;margin-right:12px;margin-left:6px}.simplebar-height-auto-observer-wrapper{z-index:1}.animation-pulse-copy{animation:pulse2 2s infinite}.fade-in-init{opacity:0}.fade-in-init-hover{opacity:100%;transition-delay:1.5s;transition-property:opacity;transition-duration:.3s}.fade-in-animation{animation:fadeInAnimation;animation-timing-function:ease-linear;animation-duration:.2s}.fade-in-opacity-with-delay{animation:fadeInOpacityWithDelay;animation-timing-function:ease-in-out;animation-duration:.3s}.search-pulse-animation{display:inline-block;animation:searchPulseAnimation;animation-timing-function:ease-in-out;animation-duration:.3s}@keyframes fadeInAnimation{0%{transform:scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes fadeInOpacityWithDelay{0%{opacity:0}70%{opacity:0}to{opacity:1}}@keyframes searchPulseAnimation{0%{transform:scale(1)}50%{transform:scale(1.2)}to{transform:scale(1)}}@keyframes pulse2{0%{box-shadow:0 0 #e53e3e}70%{box-shadow:0 0 0 10px #e53e3e00}}.pulse-clip{animation:pulseClip 1s 1}.dark .pulse-clip{animation:pulseClipDark 1s 1}@keyframes fadeInOpacity{0%{opacity:0}to{opacity:1}}@keyframes pulseClipDark{50%{opacity:.7;transform:scale(1)}60%{transform:scale(1.05);--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}90%{opacity:1;transform:scale(1)}}@keyframes pulseClip{50%{opacity:.7;transform:scale(1)}60%{transform:scale(1.05);--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}90%{opacity:1;transform:scale(1)}}body,.bg-background,[role=menubar]{-webkit-user-select:none;-moz-user-select:none;user-select:none}code{font-family:SourceCode,source-code-pro,ui-monospace,SFMono-Regular,SF Mono,Menlo,Monaco,Consolas,Courier New,monospace;font-size:.875rem}body [type=button]{-webkit-appearance:none}body[style*="pointer-events: none"] .overflow-auto,body[style*="pointer-events: none"] .overflow-y-auto,body[style*="pointer-events: none"] .overflow-x-auto{overflow:hidden!important}@media (max-width: 640px){.container{padding-left:1rem;padding-right:1rem}}.code-editor-wrapper{font-family:sans-serif;text-align:center}pre.code-editor-pre{text-align:left;margin:1em 0;padding:.5em;overflow:scroll}pre.code-editor-pre .token-line{line-height:1.3em;height:1.3em}.code-editor-line{display:table-row}.code-editor-line-number{display:table-cell;text-align:right;padding-right:1em;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:.5}.code-editor-line-content{display:table-cell}.not-active-background{background-size:10px 10px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23CCCCCC' stroke-width='0.7' %3E%3Cpath d='M0,20 L20,0 M15,25 L25,15 M-5,5 L5,-5'/%3E%3C/g%3E%3C/svg%3E")}.dark .not-active-background{background-size:10px 10px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23333333' stroke-width='0.7' %3E%3Cpath d='M0,20 L20,0 M15,25 L25,15 M-5,5 L5,-5'/%3E%3C/g%3E%3C/svg%3E")}.boarding-coutout-svg,#boarding-popover-item{display:none}.first-letter\:uppercase:first-letter{text-transform:uppercase}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-grey-40::-moz-placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.placeholder\:text-grey-40::placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:left-2\/4:before{content:var(--tw-content);left:50%}.before\:top-2\/4:before{content:var(--tw-content);top:50%}.before\:block:before{content:var(--tw-content);display:block}.before\:h-11:before{content:var(--tw-content);height:2.75rem}.before\:w-11:before{content:var(--tw-content);width:2.75rem}.before\:-translate-x-2\/4:before{content:var(--tw-content);--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.before\:-translate-y-2\/4:before{content:var(--tw-content);--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.before\:rounded-full:before{content:var(--tw-content);border-radius:9999px}.before\:bg-red-500:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.before\:bg-slate-500:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.before\:opacity-0:before{content:var(--tw-content);opacity:0}.before\:transition-opacity:before{content:var(--tw-content);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-0:after{content:var(--tw-content);top:0;right:0;bottom:0;left:0}.after\:m-auto:after{content:var(--tw-content);margin:auto}.after\:block:after{content:var(--tw-content);display:block}.after\:h-\[12px\]:after{content:var(--tw-content);height:12px}.after\:w-\[12px\]:after{content:var(--tw-content);width:12px}.after\:content-\[\'\,\'\]:after{--tw-content: ",";content:var(--tw-content)}.last\:mb-0:last-child{margin-bottom:0}.last\:mr-0:last-child{margin-right:0}.checked\:border-2:checked{border-width:2px}.checked\:border-red-500:checked{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.checked\:border-slate-500:checked{--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity))}.checked\:bg-red-500:checked{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.checked\:bg-slate-500:checked{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.focus-within\:relative:focus-within{position:relative}.focus-within\:z-20:focus-within{z-index:20}.focus-within\:border-none:focus-within{border-style:none}.focus-within\:shadow-none:focus-within{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus-within\:shadow-input:focus-within{--tw-shadow-color: hsl(var(--input));--tw-shadow: var(--tw-shadow-colored)}.focus-within\:outline:focus-within{outline-style:solid}.focus-within\:outline-4:focus-within{outline-width:4px}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:hidden{display:none}.group:hover .group-hover\:scale-125{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.group:hover .group-hover\:bg-grey-5{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.group:hover .group-hover\:fill-red-500{fill:#ef4444}.group:hover .group-hover\:pr-1{padding-right:.25rem}.group:hover .group-hover\:pr-1\.5{padding-right:.375rem}.group:hover .group-hover\:\!text-amber-500{--tw-text-opacity: 1 !important;color:rgb(245 158 11 / var(--tw-text-opacity))!important}.group:hover .group-hover\:\!text-blue-500{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity))!important}.group:hover .group-hover\:text-blue-300{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}.group:hover .group-hover\:text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.group:hover .group-hover\:text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.group:focus .group-focus\:visible{visibility:visible}.group.destructive .group-\[\.destructive\]\:border-destructive\/30{border-color:hsl(var(--destructive) / .3)}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}.peer:checked~.peer-checked\:opacity-100{opacity:1}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.aria-selected\:bg-accent[aria-selected=true]{background-color:hsl(var(--accent))}.aria-selected\:text-accent-foreground[aria-selected=true]{color:hsl(var(--accent-foreground))}.aria-selected\:opacity-100[aria-selected=true]{opacity:1}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:pointer-events-auto[data-disabled]{pointer-events:auto}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x: var(--radix-toast-swipe-end-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x: var(--radix-toast-swipe-move-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-in-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-in-out}.data-\[active\]\:bg-accent\/50[data-active]{background-color:hsl(var(--accent) / .5)}.data-\[state\=active\]\:bg-amber-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=active\]\:bg-blue-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}.data-\[state\=checked\]\:bg-slate-500[data-state=checked]{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.data-\[state\=on\]\:bg-accent[data-state=on],.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:hsl(var(--accent) / .5)}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=active\]\:text-slate-300[data-state=active]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.data-\[state\=active\]\:text-slate-500[data-state=active]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.data-\[state\=on\]\:text-accent-foreground[data-state=on],.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-black[data-state=open]{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[motion\^\=from-\]\:animate-in[data-motion^=from-],.data-\[state\=open\]\:animate-in[data-state=open],.data-\[state\=visible\]\:animate-in[data-state=visible]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[motion\^\=to-\]\:animate-out[data-motion^=to-],.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[state\=hidden\]\:animate-out[data-state=hidden],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[motion\^\=from-\]\:fade-in[data-motion^=from-]{--tw-enter-opacity: 0}.data-\[motion\^\=to-\]\:fade-out[data-motion^=to-],.data-\[state\=closed\]\:fade-out[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=closed\]\:fade-out-10[data-state=closed]{--tw-exit-opacity: .1}.data-\[state\=hidden\]\:fade-out[data-state=hidden]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=open\]\:fade-in-90[data-state=open]{--tw-enter-opacity: .9}.data-\[state\=visible\]\:fade-in[data-state=visible]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-90[data-state=open]{--tw-enter-scale: .9}.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x: 13rem}.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x: -13rem}.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x: 13rem}.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x: -13rem}.data-\[side\=bottom\]\:slide-in-from-top-1[data-side=bottom]{--tw-enter-translate-y: -.25rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-1[data-side=left]{--tw-enter-translate-x: .25rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-1[data-side=right]{--tw-enter-translate-x: -.25rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-1[data-side=top]{--tw-enter-translate-y: .25rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-bottom-10[data-state=open]{--tw-enter-translate-y: 2.5rem}.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y: -100%}.group[data-state=open] .group-data-\[state\=open\]\:rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:z-100:hover{z-index:100}.hover\:scale-125:hover{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.hover\:animate-pulse:hover{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.hover\:\!border-orange-300\/90:hover{border-color:#fdba74e6!important}.hover\:border-amber-100:hover{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity))}.hover\:border-amber-200:hover{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity))}.hover\:border-amber-300:hover{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity))}.hover\:border-amber-300\/80:hover{border-color:#fcd34dcc}.hover\:border-amber-400:hover{--tw-border-opacity: 1;border-color:rgb(251 191 36 / var(--tw-border-opacity))}.hover\:border-amber-50:hover{--tw-border-opacity: 1;border-color:rgb(255 251 235 / var(--tw-border-opacity))}.hover\:border-amber-500:hover{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity))}.hover\:border-amber-600:hover{--tw-border-opacity: 1;border-color:rgb(217 119 6 / var(--tw-border-opacity))}.hover\:border-amber-700:hover{--tw-border-opacity: 1;border-color:rgb(180 83 9 / var(--tw-border-opacity))}.hover\:border-amber-800:hover{--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity))}.hover\:border-amber-900:hover{--tw-border-opacity: 1;border-color:rgb(120 53 15 / var(--tw-border-opacity))}.hover\:border-amber-950:hover{--tw-border-opacity: 1;border-color:rgb(69 26 3 / var(--tw-border-opacity))}.hover\:border-blue-100:hover{--tw-border-opacity: 1;border-color:rgb(219 234 254 / var(--tw-border-opacity))}.hover\:border-blue-200:hover{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity))}.hover\:border-blue-300:hover{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.hover\:border-blue-400:hover{--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}.hover\:border-blue-50:hover{--tw-border-opacity: 1;border-color:rgb(239 246 255 / var(--tw-border-opacity))}.hover\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.hover\:border-blue-600:hover{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}.hover\:border-blue-700:hover{--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity))}.hover\:border-blue-800:hover{--tw-border-opacity: 1;border-color:rgb(30 64 175 / var(--tw-border-opacity))}.hover\:border-blue-900:hover{--tw-border-opacity: 1;border-color:rgb(30 58 138 / var(--tw-border-opacity))}.hover\:border-blue-950:hover{--tw-border-opacity: 1;border-color:rgb(23 37 84 / var(--tw-border-opacity))}.hover\:border-cyan-100:hover{--tw-border-opacity: 1;border-color:rgb(207 250 254 / var(--tw-border-opacity))}.hover\:border-cyan-200:hover{--tw-border-opacity: 1;border-color:rgb(165 243 252 / var(--tw-border-opacity))}.hover\:border-cyan-300:hover{--tw-border-opacity: 1;border-color:rgb(103 232 249 / var(--tw-border-opacity))}.hover\:border-cyan-400:hover{--tw-border-opacity: 1;border-color:rgb(34 211 238 / var(--tw-border-opacity))}.hover\:border-cyan-50:hover{--tw-border-opacity: 1;border-color:rgb(236 254 255 / var(--tw-border-opacity))}.hover\:border-cyan-500:hover{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity))}.hover\:border-cyan-600:hover{--tw-border-opacity: 1;border-color:rgb(8 145 178 / var(--tw-border-opacity))}.hover\:border-cyan-700:hover{--tw-border-opacity: 1;border-color:rgb(14 116 144 / var(--tw-border-opacity))}.hover\:border-cyan-800:hover{--tw-border-opacity: 1;border-color:rgb(21 94 117 / var(--tw-border-opacity))}.hover\:border-cyan-900:hover{--tw-border-opacity: 1;border-color:rgb(22 78 99 / var(--tw-border-opacity))}.hover\:border-cyan-950:hover{--tw-border-opacity: 1;border-color:rgb(8 51 68 / var(--tw-border-opacity))}.hover\:border-emerald-100:hover{--tw-border-opacity: 1;border-color:rgb(209 250 229 / var(--tw-border-opacity))}.hover\:border-emerald-200:hover{--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity))}.hover\:border-emerald-300:hover{--tw-border-opacity: 1;border-color:rgb(110 231 183 / var(--tw-border-opacity))}.hover\:border-emerald-400:hover{--tw-border-opacity: 1;border-color:rgb(52 211 153 / var(--tw-border-opacity))}.hover\:border-emerald-50:hover{--tw-border-opacity: 1;border-color:rgb(236 253 245 / var(--tw-border-opacity))}.hover\:border-emerald-500:hover{--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity))}.hover\:border-emerald-600:hover{--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity))}.hover\:border-emerald-700:hover{--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity))}.hover\:border-emerald-800:hover{--tw-border-opacity: 1;border-color:rgb(6 95 70 / var(--tw-border-opacity))}.hover\:border-emerald-900:hover{--tw-border-opacity: 1;border-color:rgb(6 78 59 / var(--tw-border-opacity))}.hover\:border-emerald-950:hover{--tw-border-opacity: 1;border-color:rgb(2 44 34 / var(--tw-border-opacity))}.hover\:border-fuchsia-100:hover{--tw-border-opacity: 1;border-color:rgb(250 232 255 / var(--tw-border-opacity))}.hover\:border-fuchsia-200:hover{--tw-border-opacity: 1;border-color:rgb(245 208 254 / var(--tw-border-opacity))}.hover\:border-fuchsia-300:hover{--tw-border-opacity: 1;border-color:rgb(240 171 252 / var(--tw-border-opacity))}.hover\:border-fuchsia-400:hover{--tw-border-opacity: 1;border-color:rgb(232 121 249 / var(--tw-border-opacity))}.hover\:border-fuchsia-50:hover{--tw-border-opacity: 1;border-color:rgb(253 244 255 / var(--tw-border-opacity))}.hover\:border-fuchsia-500:hover{--tw-border-opacity: 1;border-color:rgb(217 70 239 / var(--tw-border-opacity))}.hover\:border-fuchsia-600:hover{--tw-border-opacity: 1;border-color:rgb(192 38 211 / var(--tw-border-opacity))}.hover\:border-fuchsia-700:hover{--tw-border-opacity: 1;border-color:rgb(162 28 175 / var(--tw-border-opacity))}.hover\:border-fuchsia-800:hover{--tw-border-opacity: 1;border-color:rgb(134 25 143 / var(--tw-border-opacity))}.hover\:border-fuchsia-900:hover{--tw-border-opacity: 1;border-color:rgb(112 26 117 / var(--tw-border-opacity))}.hover\:border-fuchsia-950:hover{--tw-border-opacity: 1;border-color:rgb(74 4 78 / var(--tw-border-opacity))}.hover\:border-gray-100:hover{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.hover\:border-gray-200:hover{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\:border-gray-50:hover{--tw-border-opacity: 1;border-color:rgb(249 250 251 / var(--tw-border-opacity))}.hover\:border-gray-500:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.hover\:border-gray-600:hover{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.hover\:border-gray-700:hover{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.hover\:border-gray-800:hover{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.hover\:border-gray-900:hover{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.hover\:border-gray-950:hover{--tw-border-opacity: 1;border-color:rgb(3 7 18 / var(--tw-border-opacity))}.hover\:border-green-100:hover{--tw-border-opacity: 1;border-color:rgb(220 252 231 / var(--tw-border-opacity))}.hover\:border-green-200:hover{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity))}.hover\:border-green-300:hover{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}.hover\:border-green-400:hover{--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity))}.hover\:border-green-50:hover{--tw-border-opacity: 1;border-color:rgb(240 253 244 / var(--tw-border-opacity))}.hover\:border-green-500:hover{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}.hover\:border-green-600:hover{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity))}.hover\:border-green-700:hover{--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity))}.hover\:border-green-800:hover{--tw-border-opacity: 1;border-color:rgb(22 101 52 / var(--tw-border-opacity))}.hover\:border-green-900:hover{--tw-border-opacity: 1;border-color:rgb(20 83 45 / var(--tw-border-opacity))}.hover\:border-green-950:hover{--tw-border-opacity: 1;border-color:rgb(5 46 22 / var(--tw-border-opacity))}.hover\:border-indigo-100:hover{--tw-border-opacity: 1;border-color:rgb(224 231 255 / var(--tw-border-opacity))}.hover\:border-indigo-200:hover{--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity))}.hover\:border-indigo-300:hover{--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity))}.hover\:border-indigo-400:hover{--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity))}.hover\:border-indigo-50:hover{--tw-border-opacity: 1;border-color:rgb(238 242 255 / var(--tw-border-opacity))}.hover\:border-indigo-500:hover{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.hover\:border-indigo-600:hover{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity))}.hover\:border-indigo-700:hover{--tw-border-opacity: 1;border-color:rgb(67 56 202 / var(--tw-border-opacity))}.hover\:border-indigo-800:hover{--tw-border-opacity: 1;border-color:rgb(55 48 163 / var(--tw-border-opacity))}.hover\:border-indigo-900:hover{--tw-border-opacity: 1;border-color:rgb(49 46 129 / var(--tw-border-opacity))}.hover\:border-indigo-950:hover{--tw-border-opacity: 1;border-color:rgb(30 27 75 / var(--tw-border-opacity))}.hover\:border-lime-100:hover{--tw-border-opacity: 1;border-color:rgb(236 252 203 / var(--tw-border-opacity))}.hover\:border-lime-200:hover{--tw-border-opacity: 1;border-color:rgb(217 249 157 / var(--tw-border-opacity))}.hover\:border-lime-300:hover{--tw-border-opacity: 1;border-color:rgb(190 242 100 / var(--tw-border-opacity))}.hover\:border-lime-400:hover{--tw-border-opacity: 1;border-color:rgb(163 230 53 / var(--tw-border-opacity))}.hover\:border-lime-50:hover{--tw-border-opacity: 1;border-color:rgb(247 254 231 / var(--tw-border-opacity))}.hover\:border-lime-500:hover{--tw-border-opacity: 1;border-color:rgb(132 204 22 / var(--tw-border-opacity))}.hover\:border-lime-600:hover{--tw-border-opacity: 1;border-color:rgb(101 163 13 / var(--tw-border-opacity))}.hover\:border-lime-700:hover{--tw-border-opacity: 1;border-color:rgb(77 124 15 / var(--tw-border-opacity))}.hover\:border-lime-800:hover{--tw-border-opacity: 1;border-color:rgb(63 98 18 / var(--tw-border-opacity))}.hover\:border-lime-900:hover{--tw-border-opacity: 1;border-color:rgb(54 83 20 / var(--tw-border-opacity))}.hover\:border-lime-950:hover{--tw-border-opacity: 1;border-color:rgb(26 46 5 / var(--tw-border-opacity))}.hover\:border-neutral-100:hover{--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity))}.hover\:border-neutral-200:hover{--tw-border-opacity: 1;border-color:rgb(229 229 229 / var(--tw-border-opacity))}.hover\:border-neutral-300:hover{--tw-border-opacity: 1;border-color:rgb(212 212 212 / var(--tw-border-opacity))}.hover\:border-neutral-400:hover{--tw-border-opacity: 1;border-color:rgb(163 163 163 / var(--tw-border-opacity))}.hover\:border-neutral-50:hover{--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}.hover\:border-neutral-500:hover{--tw-border-opacity: 1;border-color:rgb(115 115 115 / var(--tw-border-opacity))}.hover\:border-neutral-600:hover{--tw-border-opacity: 1;border-color:rgb(82 82 82 / var(--tw-border-opacity))}.hover\:border-neutral-700:hover{--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}.hover\:border-neutral-800:hover{--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity))}.hover\:border-neutral-900:hover{--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity))}.hover\:border-neutral-950:hover{--tw-border-opacity: 1;border-color:rgb(10 10 10 / var(--tw-border-opacity))}.hover\:border-orange-100:hover{--tw-border-opacity: 1;border-color:rgb(255 237 213 / var(--tw-border-opacity))}.hover\:border-orange-200:hover{--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity))}.hover\:border-orange-300:hover{--tw-border-opacity: 1;border-color:rgb(253 186 116 / var(--tw-border-opacity))}.hover\:border-orange-400:hover{--tw-border-opacity: 1;border-color:rgb(251 146 60 / var(--tw-border-opacity))}.hover\:border-orange-50:hover{--tw-border-opacity: 1;border-color:rgb(255 247 237 / var(--tw-border-opacity))}.hover\:border-orange-500:hover{--tw-border-opacity: 1;border-color:rgb(249 115 22 / var(--tw-border-opacity))}.hover\:border-orange-600:hover{--tw-border-opacity: 1;border-color:rgb(234 88 12 / var(--tw-border-opacity))}.hover\:border-orange-700:hover{--tw-border-opacity: 1;border-color:rgb(194 65 12 / var(--tw-border-opacity))}.hover\:border-orange-800:hover{--tw-border-opacity: 1;border-color:rgb(154 52 18 / var(--tw-border-opacity))}.hover\:border-orange-900:hover{--tw-border-opacity: 1;border-color:rgb(124 45 18 / var(--tw-border-opacity))}.hover\:border-orange-950:hover{--tw-border-opacity: 1;border-color:rgb(67 20 7 / var(--tw-border-opacity))}.hover\:border-pink-100:hover{--tw-border-opacity: 1;border-color:rgb(252 231 243 / var(--tw-border-opacity))}.hover\:border-pink-200:hover{--tw-border-opacity: 1;border-color:rgb(251 207 232 / var(--tw-border-opacity))}.hover\:border-pink-300:hover{--tw-border-opacity: 1;border-color:rgb(249 168 212 / var(--tw-border-opacity))}.hover\:border-pink-400:hover{--tw-border-opacity: 1;border-color:rgb(244 114 182 / var(--tw-border-opacity))}.hover\:border-pink-50:hover{--tw-border-opacity: 1;border-color:rgb(253 242 248 / var(--tw-border-opacity))}.hover\:border-pink-500:hover{--tw-border-opacity: 1;border-color:rgb(236 72 153 / var(--tw-border-opacity))}.hover\:border-pink-600:hover{--tw-border-opacity: 1;border-color:rgb(219 39 119 / var(--tw-border-opacity))}.hover\:border-pink-700:hover{--tw-border-opacity: 1;border-color:rgb(190 24 93 / var(--tw-border-opacity))}.hover\:border-pink-800:hover{--tw-border-opacity: 1;border-color:rgb(157 23 77 / var(--tw-border-opacity))}.hover\:border-pink-900:hover{--tw-border-opacity: 1;border-color:rgb(131 24 67 / var(--tw-border-opacity))}.hover\:border-pink-950:hover{--tw-border-opacity: 1;border-color:rgb(80 7 36 / var(--tw-border-opacity))}.hover\:border-purple-100:hover{--tw-border-opacity: 1;border-color:rgb(243 232 255 / var(--tw-border-opacity))}.hover\:border-purple-200:hover{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity))}.hover\:border-purple-300:hover{--tw-border-opacity: 1;border-color:rgb(216 180 254 / var(--tw-border-opacity))}.hover\:border-purple-400:hover{--tw-border-opacity: 1;border-color:rgb(192 132 252 / var(--tw-border-opacity))}.hover\:border-purple-50:hover{--tw-border-opacity: 1;border-color:rgb(250 245 255 / var(--tw-border-opacity))}.hover\:border-purple-500:hover{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity))}.hover\:border-purple-600:hover{--tw-border-opacity: 1;border-color:rgb(147 51 234 / var(--tw-border-opacity))}.hover\:border-purple-700:hover{--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity))}.hover\:border-purple-800:hover{--tw-border-opacity: 1;border-color:rgb(107 33 168 / var(--tw-border-opacity))}.hover\:border-purple-900:hover{--tw-border-opacity: 1;border-color:rgb(88 28 135 / var(--tw-border-opacity))}.hover\:border-purple-950:hover{--tw-border-opacity: 1;border-color:rgb(59 7 100 / var(--tw-border-opacity))}.hover\:border-red-100:hover{--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity))}.hover\:border-red-200:hover{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity))}.hover\:border-red-300:hover{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}.hover\:border-red-400:hover{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity))}.hover\:border-red-50:hover{--tw-border-opacity: 1;border-color:rgb(254 242 242 / var(--tw-border-opacity))}.hover\:border-red-500:hover{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.hover\:border-red-600:hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}.hover\:border-red-700:hover{--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity))}.hover\:border-red-800:hover{--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity))}.hover\:border-red-900:hover{--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}.hover\:border-red-950:hover{--tw-border-opacity: 1;border-color:rgb(69 10 10 / var(--tw-border-opacity))}.hover\:border-rose-100:hover{--tw-border-opacity: 1;border-color:rgb(255 228 230 / var(--tw-border-opacity))}.hover\:border-rose-200:hover{--tw-border-opacity: 1;border-color:rgb(254 205 211 / var(--tw-border-opacity))}.hover\:border-rose-300:hover{--tw-border-opacity: 1;border-color:rgb(253 164 175 / var(--tw-border-opacity))}.hover\:border-rose-400:hover{--tw-border-opacity: 1;border-color:rgb(251 113 133 / var(--tw-border-opacity))}.hover\:border-rose-50:hover{--tw-border-opacity: 1;border-color:rgb(255 241 242 / var(--tw-border-opacity))}.hover\:border-rose-500:hover{--tw-border-opacity: 1;border-color:rgb(244 63 94 / var(--tw-border-opacity))}.hover\:border-rose-600:hover{--tw-border-opacity: 1;border-color:rgb(225 29 72 / var(--tw-border-opacity))}.hover\:border-rose-700:hover{--tw-border-opacity: 1;border-color:rgb(190 18 60 / var(--tw-border-opacity))}.hover\:border-rose-800:hover{--tw-border-opacity: 1;border-color:rgb(159 18 57 / var(--tw-border-opacity))}.hover\:border-rose-900:hover{--tw-border-opacity: 1;border-color:rgb(136 19 55 / var(--tw-border-opacity))}.hover\:border-rose-950:hover{--tw-border-opacity: 1;border-color:rgb(76 5 25 / var(--tw-border-opacity))}.hover\:border-sky-100:hover{--tw-border-opacity: 1;border-color:rgb(224 242 254 / var(--tw-border-opacity))}.hover\:border-sky-200:hover{--tw-border-opacity: 1;border-color:rgb(186 230 253 / var(--tw-border-opacity))}.hover\:border-sky-300:hover{--tw-border-opacity: 1;border-color:rgb(125 211 252 / var(--tw-border-opacity))}.hover\:border-sky-300\/80:hover{border-color:#7dd3fccc}.hover\:border-sky-400:hover{--tw-border-opacity: 1;border-color:rgb(56 189 248 / var(--tw-border-opacity))}.hover\:border-sky-50:hover{--tw-border-opacity: 1;border-color:rgb(240 249 255 / var(--tw-border-opacity))}.hover\:border-sky-500:hover{--tw-border-opacity: 1;border-color:rgb(14 165 233 / var(--tw-border-opacity))}.hover\:border-sky-600:hover{--tw-border-opacity: 1;border-color:rgb(2 132 199 / var(--tw-border-opacity))}.hover\:border-sky-700:hover{--tw-border-opacity: 1;border-color:rgb(3 105 161 / var(--tw-border-opacity))}.hover\:border-sky-800:hover{--tw-border-opacity: 1;border-color:rgb(7 89 133 / var(--tw-border-opacity))}.hover\:border-sky-900:hover{--tw-border-opacity: 1;border-color:rgb(12 74 110 / var(--tw-border-opacity))}.hover\:border-sky-950:hover{--tw-border-opacity: 1;border-color:rgb(8 47 73 / var(--tw-border-opacity))}.hover\:border-slate-100:hover{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity))}.hover\:border-slate-200:hover{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.hover\:border-slate-300:hover{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity))}.hover\:border-slate-400:hover{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.hover\:border-slate-50:hover{--tw-border-opacity: 1;border-color:rgb(248 250 252 / var(--tw-border-opacity))}.hover\:border-slate-500:hover{--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity))}.hover\:border-slate-600:hover{--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity))}.hover\:border-slate-700:hover{--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}.hover\:border-slate-800:hover{--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}.hover\:border-slate-900:hover{--tw-border-opacity: 1;border-color:rgb(15 23 42 / var(--tw-border-opacity))}.hover\:border-slate-950:hover{--tw-border-opacity: 1;border-color:rgb(2 6 23 / var(--tw-border-opacity))}.hover\:border-stone-100:hover{--tw-border-opacity: 1;border-color:rgb(245 245 244 / var(--tw-border-opacity))}.hover\:border-stone-200:hover{--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity))}.hover\:border-stone-300:hover{--tw-border-opacity: 1;border-color:rgb(214 211 209 / var(--tw-border-opacity))}.hover\:border-stone-400:hover{--tw-border-opacity: 1;border-color:rgb(168 162 158 / var(--tw-border-opacity))}.hover\:border-stone-50:hover{--tw-border-opacity: 1;border-color:rgb(250 250 249 / var(--tw-border-opacity))}.hover\:border-stone-500:hover{--tw-border-opacity: 1;border-color:rgb(120 113 108 / var(--tw-border-opacity))}.hover\:border-stone-600:hover{--tw-border-opacity: 1;border-color:rgb(87 83 78 / var(--tw-border-opacity))}.hover\:border-stone-700:hover{--tw-border-opacity: 1;border-color:rgb(68 64 60 / var(--tw-border-opacity))}.hover\:border-stone-800:hover{--tw-border-opacity: 1;border-color:rgb(41 37 36 / var(--tw-border-opacity))}.hover\:border-stone-900:hover{--tw-border-opacity: 1;border-color:rgb(28 25 23 / var(--tw-border-opacity))}.hover\:border-stone-950:hover{--tw-border-opacity: 1;border-color:rgb(12 10 9 / var(--tw-border-opacity))}.hover\:border-teal-100:hover{--tw-border-opacity: 1;border-color:rgb(204 251 241 / var(--tw-border-opacity))}.hover\:border-teal-200:hover{--tw-border-opacity: 1;border-color:rgb(153 246 228 / var(--tw-border-opacity))}.hover\:border-teal-300:hover{--tw-border-opacity: 1;border-color:rgb(94 234 212 / var(--tw-border-opacity))}.hover\:border-teal-400:hover{--tw-border-opacity: 1;border-color:rgb(45 212 191 / var(--tw-border-opacity))}.hover\:border-teal-50:hover{--tw-border-opacity: 1;border-color:rgb(240 253 250 / var(--tw-border-opacity))}.hover\:border-teal-500:hover{--tw-border-opacity: 1;border-color:rgb(20 184 166 / var(--tw-border-opacity))}.hover\:border-teal-600:hover{--tw-border-opacity: 1;border-color:rgb(13 148 136 / var(--tw-border-opacity))}.hover\:border-teal-700:hover{--tw-border-opacity: 1;border-color:rgb(15 118 110 / var(--tw-border-opacity))}.hover\:border-teal-800:hover{--tw-border-opacity: 1;border-color:rgb(17 94 89 / var(--tw-border-opacity))}.hover\:border-teal-900:hover{--tw-border-opacity: 1;border-color:rgb(19 78 74 / var(--tw-border-opacity))}.hover\:border-teal-950:hover{--tw-border-opacity: 1;border-color:rgb(4 47 46 / var(--tw-border-opacity))}.hover\:border-violet-100:hover{--tw-border-opacity: 1;border-color:rgb(237 233 254 / var(--tw-border-opacity))}.hover\:border-violet-200:hover{--tw-border-opacity: 1;border-color:rgb(221 214 254 / var(--tw-border-opacity))}.hover\:border-violet-300:hover{--tw-border-opacity: 1;border-color:rgb(196 181 253 / var(--tw-border-opacity))}.hover\:border-violet-400:hover{--tw-border-opacity: 1;border-color:rgb(167 139 250 / var(--tw-border-opacity))}.hover\:border-violet-50:hover{--tw-border-opacity: 1;border-color:rgb(245 243 255 / var(--tw-border-opacity))}.hover\:border-violet-500:hover{--tw-border-opacity: 1;border-color:rgb(139 92 246 / var(--tw-border-opacity))}.hover\:border-violet-600:hover{--tw-border-opacity: 1;border-color:rgb(124 58 237 / var(--tw-border-opacity))}.hover\:border-violet-700:hover{--tw-border-opacity: 1;border-color:rgb(109 40 217 / var(--tw-border-opacity))}.hover\:border-violet-800:hover{--tw-border-opacity: 1;border-color:rgb(91 33 182 / var(--tw-border-opacity))}.hover\:border-violet-900:hover{--tw-border-opacity: 1;border-color:rgb(76 29 149 / var(--tw-border-opacity))}.hover\:border-violet-950:hover{--tw-border-opacity: 1;border-color:rgb(46 16 101 / var(--tw-border-opacity))}.hover\:border-yellow-100:hover{--tw-border-opacity: 1;border-color:rgb(254 249 195 / var(--tw-border-opacity))}.hover\:border-yellow-200:hover{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity))}.hover\:border-yellow-300:hover{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}.hover\:border-yellow-300\/80:hover{border-color:#fde047cc}.hover\:border-yellow-400:hover{--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity))}.hover\:border-yellow-50:hover{--tw-border-opacity: 1;border-color:rgb(254 252 232 / var(--tw-border-opacity))}.hover\:border-yellow-500:hover{--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity))}.hover\:border-yellow-600:hover{--tw-border-opacity: 1;border-color:rgb(202 138 4 / var(--tw-border-opacity))}.hover\:border-yellow-700:hover{--tw-border-opacity: 1;border-color:rgb(161 98 7 / var(--tw-border-opacity))}.hover\:border-yellow-800:hover{--tw-border-opacity: 1;border-color:rgb(133 77 14 / var(--tw-border-opacity))}.hover\:border-yellow-900:hover{--tw-border-opacity: 1;border-color:rgb(113 63 18 / var(--tw-border-opacity))}.hover\:border-yellow-950:hover{--tw-border-opacity: 1;border-color:rgb(66 32 6 / var(--tw-border-opacity))}.hover\:border-zinc-100:hover{--tw-border-opacity: 1;border-color:rgb(244 244 245 / var(--tw-border-opacity))}.hover\:border-zinc-200:hover{--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity))}.hover\:border-zinc-300:hover{--tw-border-opacity: 1;border-color:rgb(212 212 216 / var(--tw-border-opacity))}.hover\:border-zinc-400:hover{--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity))}.hover\:border-zinc-50:hover{--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}.hover\:border-zinc-500:hover{--tw-border-opacity: 1;border-color:rgb(113 113 122 / var(--tw-border-opacity))}.hover\:border-zinc-600:hover{--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity))}.hover\:border-zinc-700:hover{--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity))}.hover\:border-zinc-800:hover{--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity))}.hover\:border-zinc-900:hover{--tw-border-opacity: 1;border-color:rgb(24 24 27 / var(--tw-border-opacity))}.hover\:border-zinc-950:hover{--tw-border-opacity: 1;border-color:rgb(9 9 11 / var(--tw-border-opacity))}.hover\:border-l-amber-100:hover{--tw-border-opacity: 1;border-left-color:rgb(254 243 199 / var(--tw-border-opacity))}.hover\:border-l-amber-200:hover{--tw-border-opacity: 1;border-left-color:rgb(253 230 138 / var(--tw-border-opacity))}.hover\:border-l-amber-300:hover{--tw-border-opacity: 1;border-left-color:rgb(252 211 77 / var(--tw-border-opacity))}.hover\:border-l-amber-400:hover{--tw-border-opacity: 1;border-left-color:rgb(251 191 36 / var(--tw-border-opacity))}.hover\:border-l-amber-50:hover{--tw-border-opacity: 1;border-left-color:rgb(255 251 235 / var(--tw-border-opacity))}.hover\:border-l-amber-500:hover{--tw-border-opacity: 1;border-left-color:rgb(245 158 11 / var(--tw-border-opacity))}.hover\:border-l-amber-600:hover{--tw-border-opacity: 1;border-left-color:rgb(217 119 6 / var(--tw-border-opacity))}.hover\:border-l-amber-700:hover{--tw-border-opacity: 1;border-left-color:rgb(180 83 9 / var(--tw-border-opacity))}.hover\:border-l-amber-800:hover{--tw-border-opacity: 1;border-left-color:rgb(146 64 14 / var(--tw-border-opacity))}.hover\:border-l-amber-900:hover{--tw-border-opacity: 1;border-left-color:rgb(120 53 15 / var(--tw-border-opacity))}.hover\:border-l-amber-950:hover{--tw-border-opacity: 1;border-left-color:rgb(69 26 3 / var(--tw-border-opacity))}.hover\:border-l-blue-100:hover{--tw-border-opacity: 1;border-left-color:rgb(219 234 254 / var(--tw-border-opacity))}.hover\:border-l-blue-200:hover{--tw-border-opacity: 1;border-left-color:rgb(191 219 254 / var(--tw-border-opacity))}.hover\:border-l-blue-300:hover{--tw-border-opacity: 1;border-left-color:rgb(147 197 253 / var(--tw-border-opacity))}.hover\:border-l-blue-400:hover{--tw-border-opacity: 1;border-left-color:rgb(96 165 250 / var(--tw-border-opacity))}.hover\:border-l-blue-50:hover{--tw-border-opacity: 1;border-left-color:rgb(239 246 255 / var(--tw-border-opacity))}.hover\:border-l-blue-500:hover{--tw-border-opacity: 1;border-left-color:rgb(59 130 246 / var(--tw-border-opacity))}.hover\:border-l-blue-600:hover{--tw-border-opacity: 1;border-left-color:rgb(37 99 235 / var(--tw-border-opacity))}.hover\:border-l-blue-700:hover{--tw-border-opacity: 1;border-left-color:rgb(29 78 216 / var(--tw-border-opacity))}.hover\:border-l-blue-800:hover{--tw-border-opacity: 1;border-left-color:rgb(30 64 175 / var(--tw-border-opacity))}.hover\:border-l-blue-900:hover{--tw-border-opacity: 1;border-left-color:rgb(30 58 138 / var(--tw-border-opacity))}.hover\:border-l-blue-950:hover{--tw-border-opacity: 1;border-left-color:rgb(23 37 84 / var(--tw-border-opacity))}.hover\:border-l-cyan-100:hover{--tw-border-opacity: 1;border-left-color:rgb(207 250 254 / var(--tw-border-opacity))}.hover\:border-l-cyan-200:hover{--tw-border-opacity: 1;border-left-color:rgb(165 243 252 / var(--tw-border-opacity))}.hover\:border-l-cyan-300:hover{--tw-border-opacity: 1;border-left-color:rgb(103 232 249 / var(--tw-border-opacity))}.hover\:border-l-cyan-400:hover{--tw-border-opacity: 1;border-left-color:rgb(34 211 238 / var(--tw-border-opacity))}.hover\:border-l-cyan-50:hover{--tw-border-opacity: 1;border-left-color:rgb(236 254 255 / var(--tw-border-opacity))}.hover\:border-l-cyan-500:hover{--tw-border-opacity: 1;border-left-color:rgb(6 182 212 / var(--tw-border-opacity))}.hover\:border-l-cyan-600:hover{--tw-border-opacity: 1;border-left-color:rgb(8 145 178 / var(--tw-border-opacity))}.hover\:border-l-cyan-700:hover{--tw-border-opacity: 1;border-left-color:rgb(14 116 144 / var(--tw-border-opacity))}.hover\:border-l-cyan-800:hover{--tw-border-opacity: 1;border-left-color:rgb(21 94 117 / var(--tw-border-opacity))}.hover\:border-l-cyan-900:hover{--tw-border-opacity: 1;border-left-color:rgb(22 78 99 / var(--tw-border-opacity))}.hover\:border-l-cyan-950:hover{--tw-border-opacity: 1;border-left-color:rgb(8 51 68 / var(--tw-border-opacity))}.hover\:border-l-emerald-100:hover{--tw-border-opacity: 1;border-left-color:rgb(209 250 229 / var(--tw-border-opacity))}.hover\:border-l-emerald-200:hover{--tw-border-opacity: 1;border-left-color:rgb(167 243 208 / var(--tw-border-opacity))}.hover\:border-l-emerald-300:hover{--tw-border-opacity: 1;border-left-color:rgb(110 231 183 / var(--tw-border-opacity))}.hover\:border-l-emerald-400:hover{--tw-border-opacity: 1;border-left-color:rgb(52 211 153 / var(--tw-border-opacity))}.hover\:border-l-emerald-50:hover{--tw-border-opacity: 1;border-left-color:rgb(236 253 245 / var(--tw-border-opacity))}.hover\:border-l-emerald-500:hover{--tw-border-opacity: 1;border-left-color:rgb(16 185 129 / var(--tw-border-opacity))}.hover\:border-l-emerald-600:hover{--tw-border-opacity: 1;border-left-color:rgb(5 150 105 / var(--tw-border-opacity))}.hover\:border-l-emerald-700:hover{--tw-border-opacity: 1;border-left-color:rgb(4 120 87 / var(--tw-border-opacity))}.hover\:border-l-emerald-800:hover{--tw-border-opacity: 1;border-left-color:rgb(6 95 70 / var(--tw-border-opacity))}.hover\:border-l-emerald-900:hover{--tw-border-opacity: 1;border-left-color:rgb(6 78 59 / var(--tw-border-opacity))}.hover\:border-l-emerald-950:hover{--tw-border-opacity: 1;border-left-color:rgb(2 44 34 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-100:hover{--tw-border-opacity: 1;border-left-color:rgb(250 232 255 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-200:hover{--tw-border-opacity: 1;border-left-color:rgb(245 208 254 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-300:hover{--tw-border-opacity: 1;border-left-color:rgb(240 171 252 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-400:hover{--tw-border-opacity: 1;border-left-color:rgb(232 121 249 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-50:hover{--tw-border-opacity: 1;border-left-color:rgb(253 244 255 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-500:hover{--tw-border-opacity: 1;border-left-color:rgb(217 70 239 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-600:hover{--tw-border-opacity: 1;border-left-color:rgb(192 38 211 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-700:hover{--tw-border-opacity: 1;border-left-color:rgb(162 28 175 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-800:hover{--tw-border-opacity: 1;border-left-color:rgb(134 25 143 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-900:hover{--tw-border-opacity: 1;border-left-color:rgb(112 26 117 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-950:hover{--tw-border-opacity: 1;border-left-color:rgb(74 4 78 / var(--tw-border-opacity))}.hover\:border-l-gray-100:hover{--tw-border-opacity: 1;border-left-color:rgb(243 244 246 / var(--tw-border-opacity))}.hover\:border-l-gray-200:hover{--tw-border-opacity: 1;border-left-color:rgb(229 231 235 / var(--tw-border-opacity))}.hover\:border-l-gray-300:hover{--tw-border-opacity: 1;border-left-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-l-gray-400:hover{--tw-border-opacity: 1;border-left-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\:border-l-gray-50:hover{--tw-border-opacity: 1;border-left-color:rgb(249 250 251 / var(--tw-border-opacity))}.hover\:border-l-gray-500:hover{--tw-border-opacity: 1;border-left-color:rgb(107 114 128 / var(--tw-border-opacity))}.hover\:border-l-gray-600:hover{--tw-border-opacity: 1;border-left-color:rgb(75 85 99 / var(--tw-border-opacity))}.hover\:border-l-gray-700:hover{--tw-border-opacity: 1;border-left-color:rgb(55 65 81 / var(--tw-border-opacity))}.hover\:border-l-gray-800:hover{--tw-border-opacity: 1;border-left-color:rgb(31 41 55 / var(--tw-border-opacity))}.hover\:border-l-gray-900:hover{--tw-border-opacity: 1;border-left-color:rgb(17 24 39 / var(--tw-border-opacity))}.hover\:border-l-gray-950:hover{--tw-border-opacity: 1;border-left-color:rgb(3 7 18 / var(--tw-border-opacity))}.hover\:border-l-green-100:hover{--tw-border-opacity: 1;border-left-color:rgb(220 252 231 / var(--tw-border-opacity))}.hover\:border-l-green-200:hover{--tw-border-opacity: 1;border-left-color:rgb(187 247 208 / var(--tw-border-opacity))}.hover\:border-l-green-300:hover{--tw-border-opacity: 1;border-left-color:rgb(134 239 172 / var(--tw-border-opacity))}.hover\:border-l-green-400:hover{--tw-border-opacity: 1;border-left-color:rgb(74 222 128 / var(--tw-border-opacity))}.hover\:border-l-green-50:hover{--tw-border-opacity: 1;border-left-color:rgb(240 253 244 / var(--tw-border-opacity))}.hover\:border-l-green-500:hover{--tw-border-opacity: 1;border-left-color:rgb(34 197 94 / var(--tw-border-opacity))}.hover\:border-l-green-600:hover{--tw-border-opacity: 1;border-left-color:rgb(22 163 74 / var(--tw-border-opacity))}.hover\:border-l-green-700:hover{--tw-border-opacity: 1;border-left-color:rgb(21 128 61 / var(--tw-border-opacity))}.hover\:border-l-green-800:hover{--tw-border-opacity: 1;border-left-color:rgb(22 101 52 / var(--tw-border-opacity))}.hover\:border-l-green-900:hover{--tw-border-opacity: 1;border-left-color:rgb(20 83 45 / var(--tw-border-opacity))}.hover\:border-l-green-950:hover{--tw-border-opacity: 1;border-left-color:rgb(5 46 22 / var(--tw-border-opacity))}.hover\:border-l-indigo-100:hover{--tw-border-opacity: 1;border-left-color:rgb(224 231 255 / var(--tw-border-opacity))}.hover\:border-l-indigo-200:hover{--tw-border-opacity: 1;border-left-color:rgb(199 210 254 / var(--tw-border-opacity))}.hover\:border-l-indigo-300:hover{--tw-border-opacity: 1;border-left-color:rgb(165 180 252 / var(--tw-border-opacity))}.hover\:border-l-indigo-400:hover{--tw-border-opacity: 1;border-left-color:rgb(129 140 248 / var(--tw-border-opacity))}.hover\:border-l-indigo-50:hover{--tw-border-opacity: 1;border-left-color:rgb(238 242 255 / var(--tw-border-opacity))}.hover\:border-l-indigo-500:hover{--tw-border-opacity: 1;border-left-color:rgb(99 102 241 / var(--tw-border-opacity))}.hover\:border-l-indigo-600:hover{--tw-border-opacity: 1;border-left-color:rgb(79 70 229 / var(--tw-border-opacity))}.hover\:border-l-indigo-700:hover{--tw-border-opacity: 1;border-left-color:rgb(67 56 202 / var(--tw-border-opacity))}.hover\:border-l-indigo-800:hover{--tw-border-opacity: 1;border-left-color:rgb(55 48 163 / var(--tw-border-opacity))}.hover\:border-l-indigo-900:hover{--tw-border-opacity: 1;border-left-color:rgb(49 46 129 / var(--tw-border-opacity))}.hover\:border-l-indigo-950:hover{--tw-border-opacity: 1;border-left-color:rgb(30 27 75 / var(--tw-border-opacity))}.hover\:border-l-lime-100:hover{--tw-border-opacity: 1;border-left-color:rgb(236 252 203 / var(--tw-border-opacity))}.hover\:border-l-lime-200:hover{--tw-border-opacity: 1;border-left-color:rgb(217 249 157 / var(--tw-border-opacity))}.hover\:border-l-lime-300:hover{--tw-border-opacity: 1;border-left-color:rgb(190 242 100 / var(--tw-border-opacity))}.hover\:border-l-lime-400:hover{--tw-border-opacity: 1;border-left-color:rgb(163 230 53 / var(--tw-border-opacity))}.hover\:border-l-lime-50:hover{--tw-border-opacity: 1;border-left-color:rgb(247 254 231 / var(--tw-border-opacity))}.hover\:border-l-lime-500:hover{--tw-border-opacity: 1;border-left-color:rgb(132 204 22 / var(--tw-border-opacity))}.hover\:border-l-lime-600:hover{--tw-border-opacity: 1;border-left-color:rgb(101 163 13 / var(--tw-border-opacity))}.hover\:border-l-lime-700:hover{--tw-border-opacity: 1;border-left-color:rgb(77 124 15 / var(--tw-border-opacity))}.hover\:border-l-lime-800:hover{--tw-border-opacity: 1;border-left-color:rgb(63 98 18 / var(--tw-border-opacity))}.hover\:border-l-lime-900:hover{--tw-border-opacity: 1;border-left-color:rgb(54 83 20 / var(--tw-border-opacity))}.hover\:border-l-lime-950:hover{--tw-border-opacity: 1;border-left-color:rgb(26 46 5 / var(--tw-border-opacity))}.hover\:border-l-neutral-100:hover{--tw-border-opacity: 1;border-left-color:rgb(245 245 245 / var(--tw-border-opacity))}.hover\:border-l-neutral-200:hover{--tw-border-opacity: 1;border-left-color:rgb(229 229 229 / var(--tw-border-opacity))}.hover\:border-l-neutral-300:hover{--tw-border-opacity: 1;border-left-color:rgb(212 212 212 / var(--tw-border-opacity))}.hover\:border-l-neutral-400:hover{--tw-border-opacity: 1;border-left-color:rgb(163 163 163 / var(--tw-border-opacity))}.hover\:border-l-neutral-50:hover{--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}.hover\:border-l-neutral-500:hover{--tw-border-opacity: 1;border-left-color:rgb(115 115 115 / var(--tw-border-opacity))}.hover\:border-l-neutral-600:hover{--tw-border-opacity: 1;border-left-color:rgb(82 82 82 / var(--tw-border-opacity))}.hover\:border-l-neutral-700:hover{--tw-border-opacity: 1;border-left-color:rgb(64 64 64 / var(--tw-border-opacity))}.hover\:border-l-neutral-800:hover{--tw-border-opacity: 1;border-left-color:rgb(38 38 38 / var(--tw-border-opacity))}.hover\:border-l-neutral-900:hover{--tw-border-opacity: 1;border-left-color:rgb(23 23 23 / var(--tw-border-opacity))}.hover\:border-l-neutral-950:hover{--tw-border-opacity: 1;border-left-color:rgb(10 10 10 / var(--tw-border-opacity))}.hover\:border-l-orange-100:hover{--tw-border-opacity: 1;border-left-color:rgb(255 237 213 / var(--tw-border-opacity))}.hover\:border-l-orange-200:hover{--tw-border-opacity: 1;border-left-color:rgb(254 215 170 / var(--tw-border-opacity))}.hover\:border-l-orange-300:hover{--tw-border-opacity: 1;border-left-color:rgb(253 186 116 / var(--tw-border-opacity))}.hover\:border-l-orange-400:hover{--tw-border-opacity: 1;border-left-color:rgb(251 146 60 / var(--tw-border-opacity))}.hover\:border-l-orange-50:hover{--tw-border-opacity: 1;border-left-color:rgb(255 247 237 / var(--tw-border-opacity))}.hover\:border-l-orange-500:hover{--tw-border-opacity: 1;border-left-color:rgb(249 115 22 / var(--tw-border-opacity))}.hover\:border-l-orange-600:hover{--tw-border-opacity: 1;border-left-color:rgb(234 88 12 / var(--tw-border-opacity))}.hover\:border-l-orange-700:hover{--tw-border-opacity: 1;border-left-color:rgb(194 65 12 / var(--tw-border-opacity))}.hover\:border-l-orange-800:hover{--tw-border-opacity: 1;border-left-color:rgb(154 52 18 / var(--tw-border-opacity))}.hover\:border-l-orange-900:hover{--tw-border-opacity: 1;border-left-color:rgb(124 45 18 / var(--tw-border-opacity))}.hover\:border-l-orange-950:hover{--tw-border-opacity: 1;border-left-color:rgb(67 20 7 / var(--tw-border-opacity))}.hover\:border-l-pink-100:hover{--tw-border-opacity: 1;border-left-color:rgb(252 231 243 / var(--tw-border-opacity))}.hover\:border-l-pink-200:hover{--tw-border-opacity: 1;border-left-color:rgb(251 207 232 / var(--tw-border-opacity))}.hover\:border-l-pink-300:hover{--tw-border-opacity: 1;border-left-color:rgb(249 168 212 / var(--tw-border-opacity))}.hover\:border-l-pink-400:hover{--tw-border-opacity: 1;border-left-color:rgb(244 114 182 / var(--tw-border-opacity))}.hover\:border-l-pink-50:hover{--tw-border-opacity: 1;border-left-color:rgb(253 242 248 / var(--tw-border-opacity))}.hover\:border-l-pink-500:hover{--tw-border-opacity: 1;border-left-color:rgb(236 72 153 / var(--tw-border-opacity))}.hover\:border-l-pink-600:hover{--tw-border-opacity: 1;border-left-color:rgb(219 39 119 / var(--tw-border-opacity))}.hover\:border-l-pink-700:hover{--tw-border-opacity: 1;border-left-color:rgb(190 24 93 / var(--tw-border-opacity))}.hover\:border-l-pink-800:hover{--tw-border-opacity: 1;border-left-color:rgb(157 23 77 / var(--tw-border-opacity))}.hover\:border-l-pink-900:hover{--tw-border-opacity: 1;border-left-color:rgb(131 24 67 / var(--tw-border-opacity))}.hover\:border-l-pink-950:hover{--tw-border-opacity: 1;border-left-color:rgb(80 7 36 / var(--tw-border-opacity))}.hover\:border-l-purple-100:hover{--tw-border-opacity: 1;border-left-color:rgb(243 232 255 / var(--tw-border-opacity))}.hover\:border-l-purple-200:hover{--tw-border-opacity: 1;border-left-color:rgb(233 213 255 / var(--tw-border-opacity))}.hover\:border-l-purple-300:hover{--tw-border-opacity: 1;border-left-color:rgb(216 180 254 / var(--tw-border-opacity))}.hover\:border-l-purple-400:hover{--tw-border-opacity: 1;border-left-color:rgb(192 132 252 / var(--tw-border-opacity))}.hover\:border-l-purple-50:hover{--tw-border-opacity: 1;border-left-color:rgb(250 245 255 / var(--tw-border-opacity))}.hover\:border-l-purple-500:hover{--tw-border-opacity: 1;border-left-color:rgb(168 85 247 / var(--tw-border-opacity))}.hover\:border-l-purple-600:hover{--tw-border-opacity: 1;border-left-color:rgb(147 51 234 / var(--tw-border-opacity))}.hover\:border-l-purple-700:hover{--tw-border-opacity: 1;border-left-color:rgb(126 34 206 / var(--tw-border-opacity))}.hover\:border-l-purple-800:hover{--tw-border-opacity: 1;border-left-color:rgb(107 33 168 / var(--tw-border-opacity))}.hover\:border-l-purple-900:hover{--tw-border-opacity: 1;border-left-color:rgb(88 28 135 / var(--tw-border-opacity))}.hover\:border-l-purple-950:hover{--tw-border-opacity: 1;border-left-color:rgb(59 7 100 / var(--tw-border-opacity))}.hover\:border-l-red-100:hover{--tw-border-opacity: 1;border-left-color:rgb(254 226 226 / var(--tw-border-opacity))}.hover\:border-l-red-200:hover{--tw-border-opacity: 1;border-left-color:rgb(254 202 202 / var(--tw-border-opacity))}.hover\:border-l-red-300:hover{--tw-border-opacity: 1;border-left-color:rgb(252 165 165 / var(--tw-border-opacity))}.hover\:border-l-red-400:hover{--tw-border-opacity: 1;border-left-color:rgb(248 113 113 / var(--tw-border-opacity))}.hover\:border-l-red-50:hover{--tw-border-opacity: 1;border-left-color:rgb(254 242 242 / var(--tw-border-opacity))}.hover\:border-l-red-500:hover{--tw-border-opacity: 1;border-left-color:rgb(239 68 68 / var(--tw-border-opacity))}.hover\:border-l-red-600:hover{--tw-border-opacity: 1;border-left-color:rgb(220 38 38 / var(--tw-border-opacity))}.hover\:border-l-red-700:hover{--tw-border-opacity: 1;border-left-color:rgb(185 28 28 / var(--tw-border-opacity))}.hover\:border-l-red-800:hover{--tw-border-opacity: 1;border-left-color:rgb(153 27 27 / var(--tw-border-opacity))}.hover\:border-l-red-900:hover{--tw-border-opacity: 1;border-left-color:rgb(127 29 29 / var(--tw-border-opacity))}.hover\:border-l-red-950:hover{--tw-border-opacity: 1;border-left-color:rgb(69 10 10 / var(--tw-border-opacity))}.hover\:border-l-rose-100:hover{--tw-border-opacity: 1;border-left-color:rgb(255 228 230 / var(--tw-border-opacity))}.hover\:border-l-rose-200:hover{--tw-border-opacity: 1;border-left-color:rgb(254 205 211 / var(--tw-border-opacity))}.hover\:border-l-rose-300:hover{--tw-border-opacity: 1;border-left-color:rgb(253 164 175 / var(--tw-border-opacity))}.hover\:border-l-rose-400:hover{--tw-border-opacity: 1;border-left-color:rgb(251 113 133 / var(--tw-border-opacity))}.hover\:border-l-rose-50:hover{--tw-border-opacity: 1;border-left-color:rgb(255 241 242 / var(--tw-border-opacity))}.hover\:border-l-rose-500:hover{--tw-border-opacity: 1;border-left-color:rgb(244 63 94 / var(--tw-border-opacity))}.hover\:border-l-rose-600:hover{--tw-border-opacity: 1;border-left-color:rgb(225 29 72 / var(--tw-border-opacity))}.hover\:border-l-rose-700:hover{--tw-border-opacity: 1;border-left-color:rgb(190 18 60 / var(--tw-border-opacity))}.hover\:border-l-rose-800:hover{--tw-border-opacity: 1;border-left-color:rgb(159 18 57 / var(--tw-border-opacity))}.hover\:border-l-rose-900:hover{--tw-border-opacity: 1;border-left-color:rgb(136 19 55 / var(--tw-border-opacity))}.hover\:border-l-rose-950:hover{--tw-border-opacity: 1;border-left-color:rgb(76 5 25 / var(--tw-border-opacity))}.hover\:border-l-sky-100:hover{--tw-border-opacity: 1;border-left-color:rgb(224 242 254 / var(--tw-border-opacity))}.hover\:border-l-sky-200:hover{--tw-border-opacity: 1;border-left-color:rgb(186 230 253 / var(--tw-border-opacity))}.hover\:border-l-sky-300:hover{--tw-border-opacity: 1;border-left-color:rgb(125 211 252 / var(--tw-border-opacity))}.hover\:border-l-sky-400:hover{--tw-border-opacity: 1;border-left-color:rgb(56 189 248 / var(--tw-border-opacity))}.hover\:border-l-sky-50:hover{--tw-border-opacity: 1;border-left-color:rgb(240 249 255 / var(--tw-border-opacity))}.hover\:border-l-sky-500:hover{--tw-border-opacity: 1;border-left-color:rgb(14 165 233 / var(--tw-border-opacity))}.hover\:border-l-sky-600:hover{--tw-border-opacity: 1;border-left-color:rgb(2 132 199 / var(--tw-border-opacity))}.hover\:border-l-sky-700:hover{--tw-border-opacity: 1;border-left-color:rgb(3 105 161 / var(--tw-border-opacity))}.hover\:border-l-sky-800:hover{--tw-border-opacity: 1;border-left-color:rgb(7 89 133 / var(--tw-border-opacity))}.hover\:border-l-sky-900:hover{--tw-border-opacity: 1;border-left-color:rgb(12 74 110 / var(--tw-border-opacity))}.hover\:border-l-sky-950:hover{--tw-border-opacity: 1;border-left-color:rgb(8 47 73 / var(--tw-border-opacity))}.hover\:border-l-slate-100:hover{--tw-border-opacity: 1;border-left-color:rgb(241 245 249 / var(--tw-border-opacity))}.hover\:border-l-slate-200:hover{--tw-border-opacity: 1;border-left-color:rgb(226 232 240 / var(--tw-border-opacity))}.hover\:border-l-slate-300:hover{--tw-border-opacity: 1;border-left-color:rgb(203 213 225 / var(--tw-border-opacity))}.hover\:border-l-slate-400:hover{--tw-border-opacity: 1;border-left-color:rgb(148 163 184 / var(--tw-border-opacity))}.hover\:border-l-slate-50:hover{--tw-border-opacity: 1;border-left-color:rgb(248 250 252 / var(--tw-border-opacity))}.hover\:border-l-slate-500:hover{--tw-border-opacity: 1;border-left-color:rgb(100 116 139 / var(--tw-border-opacity))}.hover\:border-l-slate-600:hover{--tw-border-opacity: 1;border-left-color:rgb(71 85 105 / var(--tw-border-opacity))}.hover\:border-l-slate-700:hover{--tw-border-opacity: 1;border-left-color:rgb(51 65 85 / var(--tw-border-opacity))}.hover\:border-l-slate-800:hover{--tw-border-opacity: 1;border-left-color:rgb(30 41 59 / var(--tw-border-opacity))}.hover\:border-l-slate-900:hover{--tw-border-opacity: 1;border-left-color:rgb(15 23 42 / var(--tw-border-opacity))}.hover\:border-l-slate-950:hover{--tw-border-opacity: 1;border-left-color:rgb(2 6 23 / var(--tw-border-opacity))}.hover\:border-l-stone-100:hover{--tw-border-opacity: 1;border-left-color:rgb(245 245 244 / var(--tw-border-opacity))}.hover\:border-l-stone-200:hover{--tw-border-opacity: 1;border-left-color:rgb(231 229 228 / var(--tw-border-opacity))}.hover\:border-l-stone-300:hover{--tw-border-opacity: 1;border-left-color:rgb(214 211 209 / var(--tw-border-opacity))}.hover\:border-l-stone-400:hover{--tw-border-opacity: 1;border-left-color:rgb(168 162 158 / var(--tw-border-opacity))}.hover\:border-l-stone-50:hover{--tw-border-opacity: 1;border-left-color:rgb(250 250 249 / var(--tw-border-opacity))}.hover\:border-l-stone-500:hover{--tw-border-opacity: 1;border-left-color:rgb(120 113 108 / var(--tw-border-opacity))}.hover\:border-l-stone-600:hover{--tw-border-opacity: 1;border-left-color:rgb(87 83 78 / var(--tw-border-opacity))}.hover\:border-l-stone-700:hover{--tw-border-opacity: 1;border-left-color:rgb(68 64 60 / var(--tw-border-opacity))}.hover\:border-l-stone-800:hover{--tw-border-opacity: 1;border-left-color:rgb(41 37 36 / var(--tw-border-opacity))}.hover\:border-l-stone-900:hover{--tw-border-opacity: 1;border-left-color:rgb(28 25 23 / var(--tw-border-opacity))}.hover\:border-l-stone-950:hover{--tw-border-opacity: 1;border-left-color:rgb(12 10 9 / var(--tw-border-opacity))}.hover\:border-l-teal-100:hover{--tw-border-opacity: 1;border-left-color:rgb(204 251 241 / var(--tw-border-opacity))}.hover\:border-l-teal-200:hover{--tw-border-opacity: 1;border-left-color:rgb(153 246 228 / var(--tw-border-opacity))}.hover\:border-l-teal-300:hover{--tw-border-opacity: 1;border-left-color:rgb(94 234 212 / var(--tw-border-opacity))}.hover\:border-l-teal-400:hover{--tw-border-opacity: 1;border-left-color:rgb(45 212 191 / var(--tw-border-opacity))}.hover\:border-l-teal-50:hover{--tw-border-opacity: 1;border-left-color:rgb(240 253 250 / var(--tw-border-opacity))}.hover\:border-l-teal-500:hover{--tw-border-opacity: 1;border-left-color:rgb(20 184 166 / var(--tw-border-opacity))}.hover\:border-l-teal-600:hover{--tw-border-opacity: 1;border-left-color:rgb(13 148 136 / var(--tw-border-opacity))}.hover\:border-l-teal-700:hover{--tw-border-opacity: 1;border-left-color:rgb(15 118 110 / var(--tw-border-opacity))}.hover\:border-l-teal-800:hover{--tw-border-opacity: 1;border-left-color:rgb(17 94 89 / var(--tw-border-opacity))}.hover\:border-l-teal-900:hover{--tw-border-opacity: 1;border-left-color:rgb(19 78 74 / var(--tw-border-opacity))}.hover\:border-l-teal-950:hover{--tw-border-opacity: 1;border-left-color:rgb(4 47 46 / var(--tw-border-opacity))}.hover\:border-l-violet-100:hover{--tw-border-opacity: 1;border-left-color:rgb(237 233 254 / var(--tw-border-opacity))}.hover\:border-l-violet-200:hover{--tw-border-opacity: 1;border-left-color:rgb(221 214 254 / var(--tw-border-opacity))}.hover\:border-l-violet-300:hover{--tw-border-opacity: 1;border-left-color:rgb(196 181 253 / var(--tw-border-opacity))}.hover\:border-l-violet-400:hover{--tw-border-opacity: 1;border-left-color:rgb(167 139 250 / var(--tw-border-opacity))}.hover\:border-l-violet-50:hover{--tw-border-opacity: 1;border-left-color:rgb(245 243 255 / var(--tw-border-opacity))}.hover\:border-l-violet-500:hover{--tw-border-opacity: 1;border-left-color:rgb(139 92 246 / var(--tw-border-opacity))}.hover\:border-l-violet-600:hover{--tw-border-opacity: 1;border-left-color:rgb(124 58 237 / var(--tw-border-opacity))}.hover\:border-l-violet-700:hover{--tw-border-opacity: 1;border-left-color:rgb(109 40 217 / var(--tw-border-opacity))}.hover\:border-l-violet-800:hover{--tw-border-opacity: 1;border-left-color:rgb(91 33 182 / var(--tw-border-opacity))}.hover\:border-l-violet-900:hover{--tw-border-opacity: 1;border-left-color:rgb(76 29 149 / var(--tw-border-opacity))}.hover\:border-l-violet-950:hover{--tw-border-opacity: 1;border-left-color:rgb(46 16 101 / var(--tw-border-opacity))}.hover\:border-l-yellow-100:hover{--tw-border-opacity: 1;border-left-color:rgb(254 249 195 / var(--tw-border-opacity))}.hover\:border-l-yellow-200:hover{--tw-border-opacity: 1;border-left-color:rgb(254 240 138 / var(--tw-border-opacity))}.hover\:border-l-yellow-300:hover{--tw-border-opacity: 1;border-left-color:rgb(253 224 71 / var(--tw-border-opacity))}.hover\:border-l-yellow-400:hover{--tw-border-opacity: 1;border-left-color:rgb(250 204 21 / var(--tw-border-opacity))}.hover\:border-l-yellow-50:hover{--tw-border-opacity: 1;border-left-color:rgb(254 252 232 / var(--tw-border-opacity))}.hover\:border-l-yellow-500:hover{--tw-border-opacity: 1;border-left-color:rgb(234 179 8 / var(--tw-border-opacity))}.hover\:border-l-yellow-600:hover{--tw-border-opacity: 1;border-left-color:rgb(202 138 4 / var(--tw-border-opacity))}.hover\:border-l-yellow-700:hover{--tw-border-opacity: 1;border-left-color:rgb(161 98 7 / var(--tw-border-opacity))}.hover\:border-l-yellow-800:hover{--tw-border-opacity: 1;border-left-color:rgb(133 77 14 / var(--tw-border-opacity))}.hover\:border-l-yellow-900:hover{--tw-border-opacity: 1;border-left-color:rgb(113 63 18 / var(--tw-border-opacity))}.hover\:border-l-yellow-950:hover{--tw-border-opacity: 1;border-left-color:rgb(66 32 6 / var(--tw-border-opacity))}.hover\:border-l-zinc-100:hover{--tw-border-opacity: 1;border-left-color:rgb(244 244 245 / var(--tw-border-opacity))}.hover\:border-l-zinc-200:hover{--tw-border-opacity: 1;border-left-color:rgb(228 228 231 / var(--tw-border-opacity))}.hover\:border-l-zinc-300:hover{--tw-border-opacity: 1;border-left-color:rgb(212 212 216 / var(--tw-border-opacity))}.hover\:border-l-zinc-400:hover{--tw-border-opacity: 1;border-left-color:rgb(161 161 170 / var(--tw-border-opacity))}.hover\:border-l-zinc-50:hover{--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}.hover\:border-l-zinc-500:hover{--tw-border-opacity: 1;border-left-color:rgb(113 113 122 / var(--tw-border-opacity))}.hover\:border-l-zinc-600:hover{--tw-border-opacity: 1;border-left-color:rgb(82 82 91 / var(--tw-border-opacity))}.hover\:border-l-zinc-700:hover{--tw-border-opacity: 1;border-left-color:rgb(63 63 70 / var(--tw-border-opacity))}.hover\:border-l-zinc-800:hover{--tw-border-opacity: 1;border-left-color:rgb(39 39 42 / var(--tw-border-opacity))}.hover\:border-l-zinc-900:hover{--tw-border-opacity: 1;border-left-color:rgb(24 24 27 / var(--tw-border-opacity))}.hover\:border-l-zinc-950:hover{--tw-border-opacity: 1;border-left-color:rgb(9 9 11 / var(--tw-border-opacity))}.hover\:\!bg-red-100:hover{--tw-bg-opacity: 1 !important;background-color:rgb(254 226 226 / var(--tw-bg-opacity))!important}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-amber-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.hover\:bg-amber-200:hover{--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}.hover\:bg-amber-300:hover{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}.hover\:bg-amber-400:hover{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.hover\:bg-amber-50:hover{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}.hover\:bg-amber-50\/80:hover{background-color:#fffbebcc}.hover\:bg-amber-500:hover{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.hover\:bg-amber-600:hover{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.hover\:bg-amber-700:hover{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}.hover\:bg-amber-800:hover{--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}.hover\:bg-amber-900:hover{--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}.hover\:bg-amber-950:hover{--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.hover\:bg-blue-100\/50:hover{background-color:#dbeafe80}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200\/80:hover{background-color:#bfdbfecc}.hover\:bg-blue-300:hover{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.hover\:bg-blue-300\/80:hover{background-color:#93c5fdcc}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.hover\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.hover\:bg-blue-500:hover{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.hover\:bg-blue-900:hover{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}.hover\:bg-blue-950:hover{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.hover\:bg-cyan-100:hover{--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}.hover\:bg-cyan-200:hover{--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}.hover\:bg-cyan-300:hover{--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}.hover\:bg-cyan-400:hover{--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}.hover\:bg-cyan-50:hover{--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}.hover\:bg-cyan-500:hover{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}.hover\:bg-cyan-600:hover{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}.hover\:bg-cyan-700:hover{--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}.hover\:bg-cyan-800:hover{--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}.hover\:bg-cyan-900:hover{--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}.hover\:bg-cyan-950:hover{--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive) / .8)}.hover\:bg-emerald-100:hover{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}.hover\:bg-emerald-200:hover{--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}.hover\:bg-emerald-300:hover{--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}.hover\:bg-emerald-400:hover{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}.hover\:bg-emerald-50:hover{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}.hover\:bg-emerald-500:hover{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.hover\:bg-emerald-600:hover{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.hover\:bg-emerald-700:hover{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}.hover\:bg-emerald-800:hover{--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}.hover\:bg-emerald-900:hover{--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}.hover\:bg-emerald-950:hover{--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-100:hover{--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-200:hover{--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-300:hover{--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-400:hover{--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-50:hover{--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-500:hover{--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-600:hover{--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-700:hover{--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-800:hover{--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-900:hover{--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-950:hover{--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-100\/70:hover{background-color:#f3f4f6b3}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.hover\:bg-gray-400:hover{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-500:hover{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:bg-gray-800:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-gray-950:hover{--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}.hover\:bg-green-100:hover{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.hover\:bg-green-100\/70:hover{background-color:#dcfce7b3}.hover\:bg-green-100\/80:hover{background-color:#dcfce7cc}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.hover\:bg-green-300:hover{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.hover\:bg-green-400:hover{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.hover\:bg-green-50:hover{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.hover\:bg-green-50\/50:hover{background-color:#f0fdf480}.hover\:bg-green-50\/80:hover{background-color:#f0fdf4cc}.hover\:bg-green-500:hover{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.hover\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.hover\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}.hover\:bg-green-900:hover{--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}.hover\:bg-green-950:hover{--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}.hover\:bg-grey-10:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-grey-5:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-indigo-100:hover{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.hover\:bg-indigo-200:hover{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.hover\:bg-indigo-300:hover{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}.hover\:bg-indigo-400:hover{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.hover\:bg-indigo-50:hover{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}.hover\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-indigo-600:hover{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.hover\:bg-indigo-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.hover\:bg-indigo-800:hover{--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}.hover\:bg-indigo-900:hover{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}.hover\:bg-indigo-950:hover{--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}.hover\:bg-lime-100:hover{--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}.hover\:bg-lime-200:hover{--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}.hover\:bg-lime-300:hover{--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}.hover\:bg-lime-400:hover{--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}.hover\:bg-lime-50:hover{--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}.hover\:bg-lime-500:hover{--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}.hover\:bg-lime-600:hover{--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}.hover\:bg-lime-700:hover{--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}.hover\:bg-lime-800:hover{--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}.hover\:bg-lime-900:hover{--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}.hover\:bg-lime-950:hover{--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\:bg-neutral-100:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.hover\:bg-neutral-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}.hover\:bg-neutral-300:hover{--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}.hover\:bg-neutral-400:hover{--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}.hover\:bg-neutral-50:hover{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.hover\:bg-neutral-500:hover{--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}.hover\:bg-neutral-600:hover{--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}.hover\:bg-neutral-700:hover{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}.hover\:bg-neutral-800:hover{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.hover\:bg-neutral-900:hover{--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}.hover\:bg-neutral-950:hover{--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}.hover\:bg-orange-100:hover{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.hover\:bg-orange-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}.hover\:bg-orange-300:hover{--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}.hover\:bg-orange-400:hover{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.hover\:bg-orange-50:hover{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}.hover\:bg-orange-500:hover{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}.hover\:bg-orange-600:hover{--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}.hover\:bg-orange-700:hover{--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}.hover\:bg-orange-800:hover{--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}.hover\:bg-orange-900:hover{--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}.hover\:bg-orange-950:hover{--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}.hover\:bg-pink-100:hover{--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}.hover\:bg-pink-200:hover{--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}.hover\:bg-pink-300:hover{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}.hover\:bg-pink-400:hover{--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}.hover\:bg-pink-50:hover{--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}.hover\:bg-pink-500:hover{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}.hover\:bg-pink-600:hover{--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}.hover\:bg-pink-700:hover{--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}.hover\:bg-pink-800:hover{--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}.hover\:bg-pink-900:hover{--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}.hover\:bg-pink-950:hover{--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}.hover\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\:bg-purple-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}.hover\:bg-purple-200:hover{--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}.hover\:bg-purple-300:hover{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}.hover\:bg-purple-400:hover{--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}.hover\:bg-purple-50:hover{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}.hover\:bg-purple-500:hover{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}.hover\:bg-purple-600:hover{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}.hover\:bg-purple-700:hover{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.hover\:bg-purple-800:hover{--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}.hover\:bg-purple-900:hover{--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}.hover\:bg-purple-950:hover{--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}.hover\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}.hover\:bg-red-300:hover{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.hover\:bg-red-300\/80:hover{background-color:#fca5a5cc}.hover\:bg-red-400:hover{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.hover\:bg-red-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.hover\:bg-red-50\/100:hover{background-color:#fef2f2}.hover\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.hover\:bg-red-500\/80:hover{background-color:#ef4444cc}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}.hover\:bg-red-900:hover{--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}.hover\:bg-red-900\/90:hover{background-color:#7f1d1de6}.hover\:bg-red-950:hover{--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}.hover\:bg-rose-100:hover{--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}.hover\:bg-rose-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}.hover\:bg-rose-300:hover{--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}.hover\:bg-rose-400:hover{--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}.hover\:bg-rose-50:hover{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}.hover\:bg-rose-500:hover{--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}.hover\:bg-rose-600:hover{--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}.hover\:bg-rose-700:hover{--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}.hover\:bg-rose-800:hover{--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}.hover\:bg-rose-900:hover{--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}.hover\:bg-rose-950:hover{--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:bg-sky-100:hover{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.hover\:bg-sky-200:hover{--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}.hover\:bg-sky-300:hover{--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}.hover\:bg-sky-400:hover{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.hover\:bg-sky-50:hover{--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}.hover\:bg-sky-500:hover{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.hover\:bg-sky-600:hover{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}.hover\:bg-sky-700:hover{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}.hover\:bg-sky-800:hover{--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}.hover\:bg-sky-900:hover{--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}.hover\:bg-sky-950:hover{--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}.hover\:bg-slate-100:hover{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.hover\:bg-slate-100\/70:hover{background-color:#f1f5f9b3}.hover\:bg-slate-100\/80:hover{background-color:#f1f5f9cc}.hover\:bg-slate-200:hover{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.hover\:bg-slate-300:hover{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.hover\:bg-slate-400:hover{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}.hover\:bg-slate-50:hover{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.hover\:bg-slate-50\/100:hover{background-color:#f8fafc}.hover\:bg-slate-500:hover{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.hover\:bg-slate-500\/100:hover{background-color:#64748b}.hover\:bg-slate-500\/80:hover{background-color:#64748bcc}.hover\:bg-slate-600:hover{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.hover\:bg-slate-700:hover{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}.hover\:bg-slate-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.hover\:bg-slate-900:hover{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.hover\:bg-slate-900\/90:hover{background-color:#0f172ae6}.hover\:bg-slate-950:hover{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}.hover\:bg-stone-100:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}.hover\:bg-stone-200:hover{--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}.hover\:bg-stone-300:hover{--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}.hover\:bg-stone-400:hover{--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}.hover\:bg-stone-50:hover{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}.hover\:bg-stone-500:hover{--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}.hover\:bg-stone-600:hover{--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}.hover\:bg-stone-700:hover{--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}.hover\:bg-stone-800:hover{--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}.hover\:bg-stone-900:hover{--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}.hover\:bg-stone-950:hover{--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}.hover\:bg-teal-100:hover{--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}.hover\:bg-teal-200:hover{--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}.hover\:bg-teal-300:hover{--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}.hover\:bg-teal-400:hover{--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}.hover\:bg-teal-50:hover{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}.hover\:bg-teal-50\/90:hover{background-color:#f0fdfae6}.hover\:bg-teal-500:hover{--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}.hover\:bg-teal-600:hover{--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}.hover\:bg-teal-700:hover{--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}.hover\:bg-teal-800:hover{--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}.hover\:bg-teal-900:hover{--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}.hover\:bg-teal-950:hover{--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}.hover\:bg-transparent:hover{background-color:transparent}.hover\:bg-violet-100:hover{--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}.hover\:bg-violet-200:hover{--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}.hover\:bg-violet-300:hover{--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}.hover\:bg-violet-400:hover{--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}.hover\:bg-violet-50:hover{--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}.hover\:bg-violet-500:hover{--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}.hover\:bg-violet-600:hover{--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}.hover\:bg-violet-700:hover{--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}.hover\:bg-violet-800:hover{--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}.hover\:bg-violet-900:hover{--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}.hover\:bg-violet-950:hover{--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-yellow-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}.hover\:bg-yellow-200\/80:hover{background-color:#fef08acc}.hover\:bg-yellow-300:hover{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.hover\:bg-yellow-400:hover{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}.hover\:bg-yellow-400\/80:hover{background-color:#facc15cc}.hover\:bg-yellow-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.hover\:bg-yellow-50\/80:hover{background-color:#fefce8cc}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.hover\:bg-yellow-600:hover{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.hover\:bg-yellow-700:hover{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}.hover\:bg-yellow-800:hover{--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}.hover\:bg-yellow-900:hover{--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}.hover\:bg-yellow-950:hover{--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}.hover\:bg-zinc-100:hover{--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}.hover\:bg-zinc-200:hover{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.hover\:bg-zinc-300:hover{--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}.hover\:bg-zinc-400:hover{--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}.hover\:bg-zinc-50:hover{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.hover\:bg-zinc-500:hover{--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}.hover\:bg-zinc-600:hover{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}.hover\:bg-zinc-700:hover{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.hover\:bg-zinc-800:hover{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.hover\:bg-zinc-900:hover{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.hover\:bg-zinc-950:hover{--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}.hover\:bg-opacity-100:hover{--tw-bg-opacity: 1}.hover\:bg-opacity-80:hover{--tw-bg-opacity: .8}.hover\:fill-red-500:hover{fill:#ef4444}.hover\:\!text-blue-500:hover{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity))!important}.hover\:\!text-orange-400:hover{--tw-text-opacity: 1 !important;color:rgb(251 146 60 / var(--tw-text-opacity))!important}.hover\:\!text-orange-500:hover{--tw-text-opacity: 1 !important;color:rgb(249 115 22 / var(--tw-text-opacity))!important}.hover\:\!text-red-500:hover{--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}.hover\:\!text-red-600:hover{--tw-text-opacity: 1 !important;color:rgb(220 38 38 / var(--tw-text-opacity))!important}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-blue-400:hover{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.hover\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.hover\:text-blue-500\/70:hover{color:#3b82f6b3}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-green-600:hover{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.hover\:text-green-700:hover{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-orange-400:hover{--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:text-primary\/50:hover{color:hsl(var(--primary) / .5)}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:text-slate-200:hover{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}.hover\:text-slate-400\/70:hover{color:#94a3b8b3}.hover\:text-slate-500:hover{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.hover\:text-slate-600:hover{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:text-yellow-600:hover{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity))}.hover\:underline:hover{-webkit-text-decoration-line:underline;text-decoration-line:underline}.hover\:decoration-blue-700:hover{-webkit-text-decoration-color:#1d4ed8;text-decoration-color:#1d4ed8}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-90:hover{opacity:.9}.hover\:shadow-sm:hover{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:animate-in:hover{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.hover\:before\:opacity-5:hover:before{content:var(--tw-content);opacity:.05}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:hsl(var(--destructive) / .3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{background-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity))}.data-\[state\=active\]\:hover\:text-slate-300:hover[data-state=active]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.data-\[state\=active\]\:hover\:text-slate-500:hover[data-state=active]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.focus\:overflow-auto:focus{overflow:auto}.focus\:border-none:focus{border-style:none}.focus\:border-blue-400:focus{--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.focus\:border-red-500:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.focus\:\!bg-amber-100:focus{--tw-bg-opacity: 1 !important;background-color:rgb(254 243 199 / var(--tw-bg-opacity))!important}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:bg-grey-20:focus{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.focus\:bg-grey-5:focus{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.focus\:bg-primary:focus{background-color:hsl(var(--primary))}.focus\:bg-slate-200:focus{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.focus\:bg-transparent:focus{background-color:transparent}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:text-amber-700:focus{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity))}.focus\:text-primary-foreground:focus{color:hsl(var(--primary-foreground))}.focus\:text-red-500:focus{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.focus\:opacity-100:focus{opacity:1}.focus\:shadow-none:focus{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-color: hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color: #dc2626}.focus-visible\:shadow-input:focus-visible{--tw-shadow-color: hsl(var(--input));--tw-shadow: var(--tw-shadow-colored)}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-blue-500:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-opacity-75:focus-visible{--tw-ring-opacity: .75}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background))}.active\:cursor-move:active{cursor:move}.active\:bg-grey-0:active,.active\:bg-white:active{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}:is(.dark .dark\:\!border-green-600){--tw-border-opacity: 1 !important;border-color:rgb(22 163 74 / var(--tw-border-opacity))!important}:is(.dark .dark\:\!border-green-700){--tw-border-opacity: 1 !important;border-color:rgb(21 128 61 / var(--tw-border-opacity))!important}:is(.dark .dark\:\!border-green-800){--tw-border-opacity: 1 !important;border-color:rgb(22 101 52 / var(--tw-border-opacity))!important}:is(.dark .dark\:\!border-orange-800\/60){border-color:#9a341299!important}:is(.dark .dark\:\!border-red-800){--tw-border-opacity: 1 !important;border-color:rgb(153 27 27 / var(--tw-border-opacity))!important}:is(.dark .dark\:border-amber-100){--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-200){--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-300){--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-400){--tw-border-opacity: 1;border-color:rgb(251 191 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-50){--tw-border-opacity: 1;border-color:rgb(255 251 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-500){--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-600){--tw-border-opacity: 1;border-color:rgb(217 119 6 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-700){--tw-border-opacity: 1;border-color:rgb(180 83 9 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-800){--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-900){--tw-border-opacity: 1;border-color:rgb(120 53 15 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-900\/80){border-color:#78350fcc}:is(.dark .dark\:border-amber-950){--tw-border-opacity: 1;border-color:rgb(69 26 3 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-950\/80){border-color:#451a03cc}:is(.dark .dark\:border-blue-100){--tw-border-opacity: 1;border-color:rgb(219 234 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-200){--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-300){--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-400){--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-50){--tw-border-opacity: 1;border-color:rgb(239 246 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-500){--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-600){--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-700){--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-800){--tw-border-opacity: 1;border-color:rgb(30 64 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-900){--tw-border-opacity: 1;border-color:rgb(30 58 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-950){--tw-border-opacity: 1;border-color:rgb(23 37 84 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-100){--tw-border-opacity: 1;border-color:rgb(207 250 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-200){--tw-border-opacity: 1;border-color:rgb(165 243 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-300){--tw-border-opacity: 1;border-color:rgb(103 232 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-400){--tw-border-opacity: 1;border-color:rgb(34 211 238 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-50){--tw-border-opacity: 1;border-color:rgb(236 254 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-500){--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-600){--tw-border-opacity: 1;border-color:rgb(8 145 178 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-700){--tw-border-opacity: 1;border-color:rgb(14 116 144 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-800){--tw-border-opacity: 1;border-color:rgb(21 94 117 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-900){--tw-border-opacity: 1;border-color:rgb(22 78 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-950){--tw-border-opacity: 1;border-color:rgb(8 51 68 / var(--tw-border-opacity))}:is(.dark .dark\:border-destructive){border-color:hsl(var(--destructive))}:is(.dark .dark\:border-emerald-100){--tw-border-opacity: 1;border-color:rgb(209 250 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-200){--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-300){--tw-border-opacity: 1;border-color:rgb(110 231 183 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-400){--tw-border-opacity: 1;border-color:rgb(52 211 153 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-50){--tw-border-opacity: 1;border-color:rgb(236 253 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-500){--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-600){--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-700){--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-800){--tw-border-opacity: 1;border-color:rgb(6 95 70 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-900){--tw-border-opacity: 1;border-color:rgb(6 78 59 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-950){--tw-border-opacity: 1;border-color:rgb(2 44 34 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-100){--tw-border-opacity: 1;border-color:rgb(250 232 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-200){--tw-border-opacity: 1;border-color:rgb(245 208 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-300){--tw-border-opacity: 1;border-color:rgb(240 171 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-400){--tw-border-opacity: 1;border-color:rgb(232 121 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-50){--tw-border-opacity: 1;border-color:rgb(253 244 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-500){--tw-border-opacity: 1;border-color:rgb(217 70 239 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-600){--tw-border-opacity: 1;border-color:rgb(192 38 211 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-700){--tw-border-opacity: 1;border-color:rgb(162 28 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-800){--tw-border-opacity: 1;border-color:rgb(134 25 143 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-900){--tw-border-opacity: 1;border-color:rgb(112 26 117 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-950){--tw-border-opacity: 1;border-color:rgb(74 4 78 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-100){--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-200){--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-300){--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-400){--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-50){--tw-border-opacity: 1;border-color:rgb(249 250 251 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600\/70){border-color:#4b5563b3}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700\/80){border-color:#374151cc}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-950){--tw-border-opacity: 1;border-color:rgb(3 7 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-100){--tw-border-opacity: 1;border-color:rgb(220 252 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-200){--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-300){--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-400){--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-50){--tw-border-opacity: 1;border-color:rgb(240 253 244 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-500){--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-600){--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-700){--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-800){--tw-border-opacity: 1;border-color:rgb(22 101 52 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-900){--tw-border-opacity: 1;border-color:rgb(20 83 45 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-950){--tw-border-opacity: 1;border-color:rgb(5 46 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-100){--tw-border-opacity: 1;border-color:rgb(224 231 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-200){--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-300){--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-400){--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-50){--tw-border-opacity: 1;border-color:rgb(238 242 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-500){--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-600){--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-700){--tw-border-opacity: 1;border-color:rgb(67 56 202 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-800){--tw-border-opacity: 1;border-color:rgb(55 48 163 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-900){--tw-border-opacity: 1;border-color:rgb(49 46 129 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-950){--tw-border-opacity: 1;border-color:rgb(30 27 75 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-100){--tw-border-opacity: 1;border-color:rgb(236 252 203 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-200){--tw-border-opacity: 1;border-color:rgb(217 249 157 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-300){--tw-border-opacity: 1;border-color:rgb(190 242 100 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-400){--tw-border-opacity: 1;border-color:rgb(163 230 53 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-50){--tw-border-opacity: 1;border-color:rgb(247 254 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-500){--tw-border-opacity: 1;border-color:rgb(132 204 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-600){--tw-border-opacity: 1;border-color:rgb(101 163 13 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-700){--tw-border-opacity: 1;border-color:rgb(77 124 15 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-800){--tw-border-opacity: 1;border-color:rgb(63 98 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-900){--tw-border-opacity: 1;border-color:rgb(54 83 20 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-950){--tw-border-opacity: 1;border-color:rgb(26 46 5 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-100){--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-200){--tw-border-opacity: 1;border-color:rgb(229 229 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-300){--tw-border-opacity: 1;border-color:rgb(212 212 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-400){--tw-border-opacity: 1;border-color:rgb(163 163 163 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-50){--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-500){--tw-border-opacity: 1;border-color:rgb(115 115 115 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-600){--tw-border-opacity: 1;border-color:rgb(82 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-700){--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-800){--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-900){--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-950){--tw-border-opacity: 1;border-color:rgb(10 10 10 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-100){--tw-border-opacity: 1;border-color:rgb(255 237 213 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-200){--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-300){--tw-border-opacity: 1;border-color:rgb(253 186 116 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-400){--tw-border-opacity: 1;border-color:rgb(251 146 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-400\/80){border-color:#fb923ccc}:is(.dark .dark\:border-orange-50){--tw-border-opacity: 1;border-color:rgb(255 247 237 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-500){--tw-border-opacity: 1;border-color:rgb(249 115 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-600){--tw-border-opacity: 1;border-color:rgb(234 88 12 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-700){--tw-border-opacity: 1;border-color:rgb(194 65 12 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-800){--tw-border-opacity: 1;border-color:rgb(154 52 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-800\/50){border-color:#9a341280}:is(.dark .dark\:border-orange-900){--tw-border-opacity: 1;border-color:rgb(124 45 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-950){--tw-border-opacity: 1;border-color:rgb(67 20 7 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-100){--tw-border-opacity: 1;border-color:rgb(252 231 243 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-200){--tw-border-opacity: 1;border-color:rgb(251 207 232 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-300){--tw-border-opacity: 1;border-color:rgb(249 168 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-400){--tw-border-opacity: 1;border-color:rgb(244 114 182 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-50){--tw-border-opacity: 1;border-color:rgb(253 242 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-500){--tw-border-opacity: 1;border-color:rgb(236 72 153 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-600){--tw-border-opacity: 1;border-color:rgb(219 39 119 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-700){--tw-border-opacity: 1;border-color:rgb(190 24 93 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-800){--tw-border-opacity: 1;border-color:rgb(157 23 77 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-900){--tw-border-opacity: 1;border-color:rgb(131 24 67 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-950){--tw-border-opacity: 1;border-color:rgb(80 7 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-100){--tw-border-opacity: 1;border-color:rgb(243 232 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-200){--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-300){--tw-border-opacity: 1;border-color:rgb(216 180 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-400){--tw-border-opacity: 1;border-color:rgb(192 132 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-50){--tw-border-opacity: 1;border-color:rgb(250 245 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-500){--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-600){--tw-border-opacity: 1;border-color:rgb(147 51 234 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-700){--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-800){--tw-border-opacity: 1;border-color:rgb(107 33 168 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-900){--tw-border-opacity: 1;border-color:rgb(88 28 135 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-950){--tw-border-opacity: 1;border-color:rgb(59 7 100 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-100){--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-200){--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-300){--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-400){--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-50){--tw-border-opacity: 1;border-color:rgb(254 242 242 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-500){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-600){--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-700){--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-800){--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-900){--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-900\/80){border-color:#7f1d1dcc}:is(.dark .dark\:border-red-950){--tw-border-opacity: 1;border-color:rgb(69 10 10 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-100){--tw-border-opacity: 1;border-color:rgb(255 228 230 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-200){--tw-border-opacity: 1;border-color:rgb(254 205 211 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-300){--tw-border-opacity: 1;border-color:rgb(253 164 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-400){--tw-border-opacity: 1;border-color:rgb(251 113 133 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-50){--tw-border-opacity: 1;border-color:rgb(255 241 242 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-500){--tw-border-opacity: 1;border-color:rgb(244 63 94 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-600){--tw-border-opacity: 1;border-color:rgb(225 29 72 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-700){--tw-border-opacity: 1;border-color:rgb(190 18 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-800){--tw-border-opacity: 1;border-color:rgb(159 18 57 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-900){--tw-border-opacity: 1;border-color:rgb(136 19 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-950){--tw-border-opacity: 1;border-color:rgb(76 5 25 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-100){--tw-border-opacity: 1;border-color:rgb(224 242 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-200){--tw-border-opacity: 1;border-color:rgb(186 230 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-300){--tw-border-opacity: 1;border-color:rgb(125 211 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-400){--tw-border-opacity: 1;border-color:rgb(56 189 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-50){--tw-border-opacity: 1;border-color:rgb(240 249 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-500){--tw-border-opacity: 1;border-color:rgb(14 165 233 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-600){--tw-border-opacity: 1;border-color:rgb(2 132 199 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-700){--tw-border-opacity: 1;border-color:rgb(3 105 161 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-800){--tw-border-opacity: 1;border-color:rgb(7 89 133 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-900){--tw-border-opacity: 1;border-color:rgb(12 74 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-900\/80){border-color:#0c4a6ecc}:is(.dark .dark\:border-sky-950){--tw-border-opacity: 1;border-color:rgb(8 47 73 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-100){--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-200){--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-300){--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-400){--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-400\/80){border-color:#94a3b8cc}:is(.dark .dark\:border-slate-50){--tw-border-opacity: 1;border-color:rgb(248 250 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-500){--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-500\/50){border-color:#64748b80}:is(.dark .dark\:border-slate-600){--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-700){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-700\/80){border-color:#334155cc}:is(.dark .dark\:border-slate-800){--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-800\/70){border-color:#1e293bb3}:is(.dark .dark\:border-slate-800\/90){border-color:#1e293be6}:is(.dark .dark\:border-slate-900){--tw-border-opacity: 1;border-color:rgb(15 23 42 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-900\/20){border-color:#0f172a33}:is(.dark .dark\:border-slate-950){--tw-border-opacity: 1;border-color:rgb(2 6 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-100){--tw-border-opacity: 1;border-color:rgb(245 245 244 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-200){--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-300){--tw-border-opacity: 1;border-color:rgb(214 211 209 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-400){--tw-border-opacity: 1;border-color:rgb(168 162 158 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-50){--tw-border-opacity: 1;border-color:rgb(250 250 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-500){--tw-border-opacity: 1;border-color:rgb(120 113 108 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-600){--tw-border-opacity: 1;border-color:rgb(87 83 78 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-700){--tw-border-opacity: 1;border-color:rgb(68 64 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-800){--tw-border-opacity: 1;border-color:rgb(41 37 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-900){--tw-border-opacity: 1;border-color:rgb(28 25 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-950){--tw-border-opacity: 1;border-color:rgb(12 10 9 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-100){--tw-border-opacity: 1;border-color:rgb(204 251 241 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-200){--tw-border-opacity: 1;border-color:rgb(153 246 228 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-300){--tw-border-opacity: 1;border-color:rgb(94 234 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-400){--tw-border-opacity: 1;border-color:rgb(45 212 191 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-50){--tw-border-opacity: 1;border-color:rgb(240 253 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-500){--tw-border-opacity: 1;border-color:rgb(20 184 166 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-600){--tw-border-opacity: 1;border-color:rgb(13 148 136 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-700){--tw-border-opacity: 1;border-color:rgb(15 118 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-800){--tw-border-opacity: 1;border-color:rgb(17 94 89 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-900){--tw-border-opacity: 1;border-color:rgb(19 78 74 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-950){--tw-border-opacity: 1;border-color:rgb(4 47 46 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-100){--tw-border-opacity: 1;border-color:rgb(237 233 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-200){--tw-border-opacity: 1;border-color:rgb(221 214 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-300){--tw-border-opacity: 1;border-color:rgb(196 181 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-400){--tw-border-opacity: 1;border-color:rgb(167 139 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-50){--tw-border-opacity: 1;border-color:rgb(245 243 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-500){--tw-border-opacity: 1;border-color:rgb(139 92 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-600){--tw-border-opacity: 1;border-color:rgb(124 58 237 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-700){--tw-border-opacity: 1;border-color:rgb(109 40 217 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-800){--tw-border-opacity: 1;border-color:rgb(91 33 182 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-900){--tw-border-opacity: 1;border-color:rgb(76 29 149 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-950){--tw-border-opacity: 1;border-color:rgb(46 16 101 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-100){--tw-border-opacity: 1;border-color:rgb(254 249 195 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-200){--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-300){--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-400){--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-50){--tw-border-opacity: 1;border-color:rgb(254 252 232 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-500){--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-600){--tw-border-opacity: 1;border-color:rgb(202 138 4 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-700){--tw-border-opacity: 1;border-color:rgb(161 98 7 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-800){--tw-border-opacity: 1;border-color:rgb(133 77 14 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-900){--tw-border-opacity: 1;border-color:rgb(113 63 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-950){--tw-border-opacity: 1;border-color:rgb(66 32 6 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-100){--tw-border-opacity: 1;border-color:rgb(244 244 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-200){--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-300){--tw-border-opacity: 1;border-color:rgb(212 212 216 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-400){--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-50){--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-500){--tw-border-opacity: 1;border-color:rgb(113 113 122 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-600){--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-700){--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-800){--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-900){--tw-border-opacity: 1;border-color:rgb(24 24 27 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-950){--tw-border-opacity: 1;border-color:rgb(9 9 11 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-100){--tw-border-opacity: 1;border-left-color:rgb(254 243 199 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-200){--tw-border-opacity: 1;border-left-color:rgb(253 230 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-300){--tw-border-opacity: 1;border-left-color:rgb(252 211 77 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-400){--tw-border-opacity: 1;border-left-color:rgb(251 191 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-50){--tw-border-opacity: 1;border-left-color:rgb(255 251 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-500){--tw-border-opacity: 1;border-left-color:rgb(245 158 11 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-600){--tw-border-opacity: 1;border-left-color:rgb(217 119 6 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-700){--tw-border-opacity: 1;border-left-color:rgb(180 83 9 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-800){--tw-border-opacity: 1;border-left-color:rgb(146 64 14 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-900){--tw-border-opacity: 1;border-left-color:rgb(120 53 15 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-950){--tw-border-opacity: 1;border-left-color:rgb(69 26 3 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-100){--tw-border-opacity: 1;border-left-color:rgb(219 234 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-200){--tw-border-opacity: 1;border-left-color:rgb(191 219 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-300){--tw-border-opacity: 1;border-left-color:rgb(147 197 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-400){--tw-border-opacity: 1;border-left-color:rgb(96 165 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-50){--tw-border-opacity: 1;border-left-color:rgb(239 246 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-500){--tw-border-opacity: 1;border-left-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-600){--tw-border-opacity: 1;border-left-color:rgb(37 99 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-700){--tw-border-opacity: 1;border-left-color:rgb(29 78 216 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-800){--tw-border-opacity: 1;border-left-color:rgb(30 64 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-900){--tw-border-opacity: 1;border-left-color:rgb(30 58 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-950){--tw-border-opacity: 1;border-left-color:rgb(23 37 84 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-100){--tw-border-opacity: 1;border-left-color:rgb(207 250 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-200){--tw-border-opacity: 1;border-left-color:rgb(165 243 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-300){--tw-border-opacity: 1;border-left-color:rgb(103 232 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-400){--tw-border-opacity: 1;border-left-color:rgb(34 211 238 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-50){--tw-border-opacity: 1;border-left-color:rgb(236 254 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-500){--tw-border-opacity: 1;border-left-color:rgb(6 182 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-600){--tw-border-opacity: 1;border-left-color:rgb(8 145 178 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-700){--tw-border-opacity: 1;border-left-color:rgb(14 116 144 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-800){--tw-border-opacity: 1;border-left-color:rgb(21 94 117 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-900){--tw-border-opacity: 1;border-left-color:rgb(22 78 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-950){--tw-border-opacity: 1;border-left-color:rgb(8 51 68 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-100){--tw-border-opacity: 1;border-left-color:rgb(209 250 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-200){--tw-border-opacity: 1;border-left-color:rgb(167 243 208 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-300){--tw-border-opacity: 1;border-left-color:rgb(110 231 183 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-400){--tw-border-opacity: 1;border-left-color:rgb(52 211 153 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-50){--tw-border-opacity: 1;border-left-color:rgb(236 253 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-500){--tw-border-opacity: 1;border-left-color:rgb(16 185 129 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-600){--tw-border-opacity: 1;border-left-color:rgb(5 150 105 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-700){--tw-border-opacity: 1;border-left-color:rgb(4 120 87 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-800){--tw-border-opacity: 1;border-left-color:rgb(6 95 70 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-900){--tw-border-opacity: 1;border-left-color:rgb(6 78 59 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-950){--tw-border-opacity: 1;border-left-color:rgb(2 44 34 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-100){--tw-border-opacity: 1;border-left-color:rgb(250 232 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-200){--tw-border-opacity: 1;border-left-color:rgb(245 208 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-300){--tw-border-opacity: 1;border-left-color:rgb(240 171 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-400){--tw-border-opacity: 1;border-left-color:rgb(232 121 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-50){--tw-border-opacity: 1;border-left-color:rgb(253 244 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-500){--tw-border-opacity: 1;border-left-color:rgb(217 70 239 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-600){--tw-border-opacity: 1;border-left-color:rgb(192 38 211 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-700){--tw-border-opacity: 1;border-left-color:rgb(162 28 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-800){--tw-border-opacity: 1;border-left-color:rgb(134 25 143 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-900){--tw-border-opacity: 1;border-left-color:rgb(112 26 117 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-950){--tw-border-opacity: 1;border-left-color:rgb(74 4 78 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-100){--tw-border-opacity: 1;border-left-color:rgb(243 244 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-200){--tw-border-opacity: 1;border-left-color:rgb(229 231 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-300){--tw-border-opacity: 1;border-left-color:rgb(209 213 219 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-400){--tw-border-opacity: 1;border-left-color:rgb(156 163 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-50){--tw-border-opacity: 1;border-left-color:rgb(249 250 251 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-500){--tw-border-opacity: 1;border-left-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-600){--tw-border-opacity: 1;border-left-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-700){--tw-border-opacity: 1;border-left-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-800){--tw-border-opacity: 1;border-left-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-900){--tw-border-opacity: 1;border-left-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-950){--tw-border-opacity: 1;border-left-color:rgb(3 7 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-100){--tw-border-opacity: 1;border-left-color:rgb(220 252 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-200){--tw-border-opacity: 1;border-left-color:rgb(187 247 208 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-300){--tw-border-opacity: 1;border-left-color:rgb(134 239 172 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-400){--tw-border-opacity: 1;border-left-color:rgb(74 222 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-50){--tw-border-opacity: 1;border-left-color:rgb(240 253 244 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-500){--tw-border-opacity: 1;border-left-color:rgb(34 197 94 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-600){--tw-border-opacity: 1;border-left-color:rgb(22 163 74 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-700){--tw-border-opacity: 1;border-left-color:rgb(21 128 61 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-800){--tw-border-opacity: 1;border-left-color:rgb(22 101 52 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-900){--tw-border-opacity: 1;border-left-color:rgb(20 83 45 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-950){--tw-border-opacity: 1;border-left-color:rgb(5 46 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-100){--tw-border-opacity: 1;border-left-color:rgb(224 231 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-200){--tw-border-opacity: 1;border-left-color:rgb(199 210 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-300){--tw-border-opacity: 1;border-left-color:rgb(165 180 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-400){--tw-border-opacity: 1;border-left-color:rgb(129 140 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-50){--tw-border-opacity: 1;border-left-color:rgb(238 242 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-500){--tw-border-opacity: 1;border-left-color:rgb(99 102 241 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-600){--tw-border-opacity: 1;border-left-color:rgb(79 70 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-700){--tw-border-opacity: 1;border-left-color:rgb(67 56 202 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-800){--tw-border-opacity: 1;border-left-color:rgb(55 48 163 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-900){--tw-border-opacity: 1;border-left-color:rgb(49 46 129 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-950){--tw-border-opacity: 1;border-left-color:rgb(30 27 75 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-100){--tw-border-opacity: 1;border-left-color:rgb(236 252 203 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-200){--tw-border-opacity: 1;border-left-color:rgb(217 249 157 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-300){--tw-border-opacity: 1;border-left-color:rgb(190 242 100 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-400){--tw-border-opacity: 1;border-left-color:rgb(163 230 53 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-50){--tw-border-opacity: 1;border-left-color:rgb(247 254 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-500){--tw-border-opacity: 1;border-left-color:rgb(132 204 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-600){--tw-border-opacity: 1;border-left-color:rgb(101 163 13 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-700){--tw-border-opacity: 1;border-left-color:rgb(77 124 15 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-800){--tw-border-opacity: 1;border-left-color:rgb(63 98 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-900){--tw-border-opacity: 1;border-left-color:rgb(54 83 20 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-950){--tw-border-opacity: 1;border-left-color:rgb(26 46 5 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-100){--tw-border-opacity: 1;border-left-color:rgb(245 245 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-200){--tw-border-opacity: 1;border-left-color:rgb(229 229 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-300){--tw-border-opacity: 1;border-left-color:rgb(212 212 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-400){--tw-border-opacity: 1;border-left-color:rgb(163 163 163 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-50){--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-500){--tw-border-opacity: 1;border-left-color:rgb(115 115 115 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-600){--tw-border-opacity: 1;border-left-color:rgb(82 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-700){--tw-border-opacity: 1;border-left-color:rgb(64 64 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-800){--tw-border-opacity: 1;border-left-color:rgb(38 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-900){--tw-border-opacity: 1;border-left-color:rgb(23 23 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-950){--tw-border-opacity: 1;border-left-color:rgb(10 10 10 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-100){--tw-border-opacity: 1;border-left-color:rgb(255 237 213 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-200){--tw-border-opacity: 1;border-left-color:rgb(254 215 170 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-300){--tw-border-opacity: 1;border-left-color:rgb(253 186 116 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-400){--tw-border-opacity: 1;border-left-color:rgb(251 146 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-50){--tw-border-opacity: 1;border-left-color:rgb(255 247 237 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-500){--tw-border-opacity: 1;border-left-color:rgb(249 115 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-600){--tw-border-opacity: 1;border-left-color:rgb(234 88 12 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-700){--tw-border-opacity: 1;border-left-color:rgb(194 65 12 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-800){--tw-border-opacity: 1;border-left-color:rgb(154 52 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-900){--tw-border-opacity: 1;border-left-color:rgb(124 45 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-950){--tw-border-opacity: 1;border-left-color:rgb(67 20 7 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-100){--tw-border-opacity: 1;border-left-color:rgb(252 231 243 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-200){--tw-border-opacity: 1;border-left-color:rgb(251 207 232 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-300){--tw-border-opacity: 1;border-left-color:rgb(249 168 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-400){--tw-border-opacity: 1;border-left-color:rgb(244 114 182 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-50){--tw-border-opacity: 1;border-left-color:rgb(253 242 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-500){--tw-border-opacity: 1;border-left-color:rgb(236 72 153 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-600){--tw-border-opacity: 1;border-left-color:rgb(219 39 119 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-700){--tw-border-opacity: 1;border-left-color:rgb(190 24 93 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-800){--tw-border-opacity: 1;border-left-color:rgb(157 23 77 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-900){--tw-border-opacity: 1;border-left-color:rgb(131 24 67 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-950){--tw-border-opacity: 1;border-left-color:rgb(80 7 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-100){--tw-border-opacity: 1;border-left-color:rgb(243 232 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-200){--tw-border-opacity: 1;border-left-color:rgb(233 213 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-300){--tw-border-opacity: 1;border-left-color:rgb(216 180 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-400){--tw-border-opacity: 1;border-left-color:rgb(192 132 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-50){--tw-border-opacity: 1;border-left-color:rgb(250 245 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-500){--tw-border-opacity: 1;border-left-color:rgb(168 85 247 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-600){--tw-border-opacity: 1;border-left-color:rgb(147 51 234 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-700){--tw-border-opacity: 1;border-left-color:rgb(126 34 206 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-800){--tw-border-opacity: 1;border-left-color:rgb(107 33 168 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-900){--tw-border-opacity: 1;border-left-color:rgb(88 28 135 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-950){--tw-border-opacity: 1;border-left-color:rgb(59 7 100 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-100){--tw-border-opacity: 1;border-left-color:rgb(254 226 226 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-200){--tw-border-opacity: 1;border-left-color:rgb(254 202 202 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-300){--tw-border-opacity: 1;border-left-color:rgb(252 165 165 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-400){--tw-border-opacity: 1;border-left-color:rgb(248 113 113 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-50){--tw-border-opacity: 1;border-left-color:rgb(254 242 242 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-500){--tw-border-opacity: 1;border-left-color:rgb(239 68 68 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-600){--tw-border-opacity: 1;border-left-color:rgb(220 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-700){--tw-border-opacity: 1;border-left-color:rgb(185 28 28 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-800){--tw-border-opacity: 1;border-left-color:rgb(153 27 27 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-900){--tw-border-opacity: 1;border-left-color:rgb(127 29 29 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-950){--tw-border-opacity: 1;border-left-color:rgb(69 10 10 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-100){--tw-border-opacity: 1;border-left-color:rgb(255 228 230 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-200){--tw-border-opacity: 1;border-left-color:rgb(254 205 211 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-300){--tw-border-opacity: 1;border-left-color:rgb(253 164 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-400){--tw-border-opacity: 1;border-left-color:rgb(251 113 133 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-50){--tw-border-opacity: 1;border-left-color:rgb(255 241 242 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-500){--tw-border-opacity: 1;border-left-color:rgb(244 63 94 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-600){--tw-border-opacity: 1;border-left-color:rgb(225 29 72 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-700){--tw-border-opacity: 1;border-left-color:rgb(190 18 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-800){--tw-border-opacity: 1;border-left-color:rgb(159 18 57 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-900){--tw-border-opacity: 1;border-left-color:rgb(136 19 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-950){--tw-border-opacity: 1;border-left-color:rgb(76 5 25 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-100){--tw-border-opacity: 1;border-left-color:rgb(224 242 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-200){--tw-border-opacity: 1;border-left-color:rgb(186 230 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-300){--tw-border-opacity: 1;border-left-color:rgb(125 211 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-400){--tw-border-opacity: 1;border-left-color:rgb(56 189 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-50){--tw-border-opacity: 1;border-left-color:rgb(240 249 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-500){--tw-border-opacity: 1;border-left-color:rgb(14 165 233 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-600){--tw-border-opacity: 1;border-left-color:rgb(2 132 199 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-700){--tw-border-opacity: 1;border-left-color:rgb(3 105 161 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-800){--tw-border-opacity: 1;border-left-color:rgb(7 89 133 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-900){--tw-border-opacity: 1;border-left-color:rgb(12 74 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-950){--tw-border-opacity: 1;border-left-color:rgb(8 47 73 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-100){--tw-border-opacity: 1;border-left-color:rgb(241 245 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-200){--tw-border-opacity: 1;border-left-color:rgb(226 232 240 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-300){--tw-border-opacity: 1;border-left-color:rgb(203 213 225 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-400){--tw-border-opacity: 1;border-left-color:rgb(148 163 184 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-50){--tw-border-opacity: 1;border-left-color:rgb(248 250 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-500){--tw-border-opacity: 1;border-left-color:rgb(100 116 139 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-600){--tw-border-opacity: 1;border-left-color:rgb(71 85 105 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-700){--tw-border-opacity: 1;border-left-color:rgb(51 65 85 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-800){--tw-border-opacity: 1;border-left-color:rgb(30 41 59 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-900){--tw-border-opacity: 1;border-left-color:rgb(15 23 42 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-950){--tw-border-opacity: 1;border-left-color:rgb(2 6 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-100){--tw-border-opacity: 1;border-left-color:rgb(245 245 244 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-200){--tw-border-opacity: 1;border-left-color:rgb(231 229 228 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-300){--tw-border-opacity: 1;border-left-color:rgb(214 211 209 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-400){--tw-border-opacity: 1;border-left-color:rgb(168 162 158 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-50){--tw-border-opacity: 1;border-left-color:rgb(250 250 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-500){--tw-border-opacity: 1;border-left-color:rgb(120 113 108 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-600){--tw-border-opacity: 1;border-left-color:rgb(87 83 78 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-700){--tw-border-opacity: 1;border-left-color:rgb(68 64 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-800){--tw-border-opacity: 1;border-left-color:rgb(41 37 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-900){--tw-border-opacity: 1;border-left-color:rgb(28 25 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-950){--tw-border-opacity: 1;border-left-color:rgb(12 10 9 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-100){--tw-border-opacity: 1;border-left-color:rgb(204 251 241 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-200){--tw-border-opacity: 1;border-left-color:rgb(153 246 228 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-300){--tw-border-opacity: 1;border-left-color:rgb(94 234 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-400){--tw-border-opacity: 1;border-left-color:rgb(45 212 191 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-50){--tw-border-opacity: 1;border-left-color:rgb(240 253 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-500){--tw-border-opacity: 1;border-left-color:rgb(20 184 166 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-600){--tw-border-opacity: 1;border-left-color:rgb(13 148 136 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-700){--tw-border-opacity: 1;border-left-color:rgb(15 118 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-800){--tw-border-opacity: 1;border-left-color:rgb(17 94 89 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-900){--tw-border-opacity: 1;border-left-color:rgb(19 78 74 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-950){--tw-border-opacity: 1;border-left-color:rgb(4 47 46 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-100){--tw-border-opacity: 1;border-left-color:rgb(237 233 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-200){--tw-border-opacity: 1;border-left-color:rgb(221 214 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-300){--tw-border-opacity: 1;border-left-color:rgb(196 181 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-400){--tw-border-opacity: 1;border-left-color:rgb(167 139 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-50){--tw-border-opacity: 1;border-left-color:rgb(245 243 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-500){--tw-border-opacity: 1;border-left-color:rgb(139 92 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-600){--tw-border-opacity: 1;border-left-color:rgb(124 58 237 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-700){--tw-border-opacity: 1;border-left-color:rgb(109 40 217 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-800){--tw-border-opacity: 1;border-left-color:rgb(91 33 182 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-900){--tw-border-opacity: 1;border-left-color:rgb(76 29 149 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-950){--tw-border-opacity: 1;border-left-color:rgb(46 16 101 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-100){--tw-border-opacity: 1;border-left-color:rgb(254 249 195 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-200){--tw-border-opacity: 1;border-left-color:rgb(254 240 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-300){--tw-border-opacity: 1;border-left-color:rgb(253 224 71 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-400){--tw-border-opacity: 1;border-left-color:rgb(250 204 21 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-50){--tw-border-opacity: 1;border-left-color:rgb(254 252 232 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-500){--tw-border-opacity: 1;border-left-color:rgb(234 179 8 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-600){--tw-border-opacity: 1;border-left-color:rgb(202 138 4 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-700){--tw-border-opacity: 1;border-left-color:rgb(161 98 7 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-800){--tw-border-opacity: 1;border-left-color:rgb(133 77 14 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-900){--tw-border-opacity: 1;border-left-color:rgb(113 63 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-950){--tw-border-opacity: 1;border-left-color:rgb(66 32 6 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-100){--tw-border-opacity: 1;border-left-color:rgb(244 244 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-200){--tw-border-opacity: 1;border-left-color:rgb(228 228 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-300){--tw-border-opacity: 1;border-left-color:rgb(212 212 216 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-400){--tw-border-opacity: 1;border-left-color:rgb(161 161 170 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-50){--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-500){--tw-border-opacity: 1;border-left-color:rgb(113 113 122 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-600){--tw-border-opacity: 1;border-left-color:rgb(82 82 91 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-700){--tw-border-opacity: 1;border-left-color:rgb(63 63 70 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-800){--tw-border-opacity: 1;border-left-color:rgb(39 39 42 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-900){--tw-border-opacity: 1;border-left-color:rgb(24 24 27 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-950){--tw-border-opacity: 1;border-left-color:rgb(9 9 11 / var(--tw-border-opacity))}:is(.dark .dark\:border-opacity-40){--tw-border-opacity: .4}:is(.dark .dark\:border-opacity-50){--tw-border-opacity: .5}:is(.dark .dark\:border-opacity-60){--tw-border-opacity: .6}:is(.dark .dark\:border-opacity-70){--tw-border-opacity: .7}:is(.dark .dark\:\!bg-amber-950){--tw-bg-opacity: 1 !important;background-color:rgb(69 26 3 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-gray-600){--tw-bg-opacity: 1 !important;background-color:rgb(75 85 99 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-gray-700){--tw-bg-opacity: 1 !important;background-color:rgb(55 65 81 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-gray-900){--tw-bg-opacity: 1 !important;background-color:rgb(17 24 39 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-green-900){--tw-bg-opacity: 1 !important;background-color:rgb(20 83 45 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-green-900\/80){background-color:#14532dcc!important}:is(.dark .dark\:\!bg-green-950){--tw-bg-opacity: 1 !important;background-color:rgb(5 46 22 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-orange-500\/40){background-color:#f9731666!important}:is(.dark .dark\:\!bg-red-800){--tw-bg-opacity: 1 !important;background-color:rgb(153 27 27 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-red-900){--tw-bg-opacity: 1 !important;background-color:rgb(127 29 29 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-red-900\/90){background-color:#7f1d1de6!important}:is(.dark .dark\:\!bg-red-950){--tw-bg-opacity: 1 !important;background-color:rgb(69 10 10 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-red-950\/80){background-color:#450a0acc!important}:is(.dark .dark\:\!bg-slate-600){--tw-bg-opacity: 1 !important;background-color:rgb(71 85 105 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-slate-800){--tw-bg-opacity: 1 !important;background-color:rgb(30 41 59 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-slate-900){--tw-bg-opacity: 1 !important;background-color:rgb(15 23 42 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-slate-950\/60){background-color:#02061799!important}:is(.dark .dark\:\!bg-transparent){background-color:transparent!important}:is(.dark .dark\:bg-amber-100){--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-200){--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-300){--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-400){--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-50){--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-500){--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-600){--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-700){--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-800){--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-900){--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-900\/70){background-color:#78350fb3}:is(.dark .dark\:bg-amber-950){--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-950\/80){background-color:#451a03cc}:is(.dark .dark\:bg-black\/70){background-color:#000000b3}:is(.dark .dark\:bg-blue-100){--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-200){--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-300){--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-400){--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-50){--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-500){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-700){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-800){--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-900){--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-950){--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-100){--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-200){--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-300){--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-400){--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-50){--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-500){--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-600){--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-700){--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-800){--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-900){--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-950){--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-100){--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-200){--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-300){--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-400){--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-50){--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-500){--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-500\/20){background-color:#10b98133}:is(.dark .dark\:bg-emerald-600){--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-700){--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-800){--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-800\/30){background-color:#065f464d}:is(.dark .dark\:bg-emerald-900){--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-950){--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-100){--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-200){--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-300){--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-400){--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-50){--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-500){--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-600){--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-700){--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-800){--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-900){--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-950){--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-100){--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-200){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-400){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-50){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500\/70){background-color:#6b7280b3}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700\/50){background-color:#37415180}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800\/70){background-color:#1f2937b3}:is(.dark .dark\:bg-gray-800\/80){background-color:#1f2937cc}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900\/60){background-color:#11182799}:is(.dark .dark\:bg-gray-900\/80){background-color:#111827cc}:is(.dark .dark\:bg-gray-900\/90){background-color:#111827e6}:is(.dark .dark\:bg-gray-950){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-100){--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-200){--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-300){--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-400){--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-50){--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-50\/20){background-color:#f0fdf433}:is(.dark .dark\:bg-green-500){--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-600){--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-700){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-800){--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-900){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-900\/40){background-color:#14532d66}:is(.dark .dark\:bg-green-950){--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-950\/30){background-color:#052e164d}:is(.dark .dark\:bg-green-950\/80){background-color:#052e16cc}:is(.dark .dark\:bg-indigo-100){--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-200){--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-300){--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-400){--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-50){--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-500){--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-600){--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-700){--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-800){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-900){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-950){--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-100){--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-200){--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-300){--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-400){--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-50){--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-500){--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-600){--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-700){--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-800){--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-900){--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-950){--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-100){--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-200){--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-300){--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-400){--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-50){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-500){--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-600){--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-700){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-800){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-900){--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-950){--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-100){--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-200){--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-300){--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-400){--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-50){--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-500){--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-500\/70){background-color:#f97316b3}:is(.dark .dark\:bg-orange-600){--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-600\/70){background-color:#ea580cb3}:is(.dark .dark\:bg-orange-700){--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-700\/40){background-color:#c2410c66}:is(.dark .dark\:bg-orange-800){--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-800\/40){background-color:#9a341266}:is(.dark .dark\:bg-orange-900){--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-900\/40){background-color:#7c2d1266}:is(.dark .dark\:bg-orange-900\/60){background-color:#7c2d1299}:is(.dark .dark\:bg-orange-900\/70){background-color:#7c2d12b3}:is(.dark .dark\:bg-orange-900\/80){background-color:#7c2d12cc}:is(.dark .dark\:bg-orange-950){--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-100){--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-200){--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-300){--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-400){--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-50){--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-500){--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-600){--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-700){--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-800){--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-900){--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-950){--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-100){--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-200){--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-300){--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-400){--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-50){--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-500){--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-600){--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-700){--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-800){--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-900){--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-950){--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-100){--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-200){--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-300){--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-400){--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-50){--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500\/20){background-color:#ef444433}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-700){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-800){--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-900){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-900\/70){background-color:#7f1d1db3}:is(.dark .dark\:bg-red-950){--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-950\/80){background-color:#450a0acc}:is(.dark .dark\:bg-rose-100){--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-200){--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-300){--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-400){--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-50){--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-500){--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-600){--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-700){--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-800){--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-900){--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-950){--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-100){--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-200){--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-300){--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-400){--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-50){--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-500){--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-600){--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-700){--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-800){--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-900){--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-900\/40){background-color:#0c4a6e66}:is(.dark .dark\:bg-sky-900\/80){background-color:#0c4a6ecc}:is(.dark .dark\:bg-sky-950){--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-950\/70){background-color:#082f49b3}:is(.dark .dark\:bg-sky-950\/80){background-color:#082f49cc}:is(.dark .dark\:bg-slate-100){--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-200){--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-300){--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-300\/90){background-color:#cbd5e1e6}:is(.dark .dark\:bg-slate-400){--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-50){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-500){--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-600){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-600\/90){background-color:#475569e6}:is(.dark .dark\:bg-slate-700){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-700\/50){background-color:#33415580}:is(.dark .dark\:bg-slate-700\/80){background-color:#334155cc}:is(.dark .dark\:bg-slate-800){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800\/50){background-color:#1e293b80}:is(.dark .dark\:bg-slate-900){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-900\/60){background-color:#0f172a99}:is(.dark .dark\:bg-slate-900\/80){background-color:#0f172acc}:is(.dark .dark\:bg-slate-900\/90){background-color:#0f172ae6}:is(.dark .dark\:bg-slate-950){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-950\/80){background-color:#020617cc}:is(.dark .dark\:bg-slate-950\/90){background-color:#020617e6}:is(.dark .dark\:bg-stone-100){--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-200){--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-300){--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-400){--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-50){--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-500){--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-600){--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-700){--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-800){--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-900){--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-950){--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-100){--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-200){--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-300){--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-400){--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-50){--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-500){--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-600){--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-700){--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-800){--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-900){--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-900\/70){background-color:#134e4ab3}:is(.dark .dark\:bg-teal-950){--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-transparent){background-color:transparent}:is(.dark .dark\:bg-violet-100){--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-200){--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-300){--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-400){--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-50){--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-500){--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-600){--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-700){--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-800){--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-900){--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-950){--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-100){--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-200){--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-300){--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-400){--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-50){--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-500){--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-600){--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-700){--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-800){--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-900){--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-900\/70){background-color:#713f12b3}:is(.dark .dark\:bg-yellow-950){--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-100){--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-200){--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-300){--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-400){--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-50){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-500){--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-600){--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-700){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-800){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-900){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-950){--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-70){--tw-bg-opacity: .7}:is(.dark .dark\:bg-opacity-80){--tw-bg-opacity: .8}:is(.dark .dark\:fill-green-700){fill:#15803d}:is(.dark .dark\:fill-orange-500\/60){fill:#f9731699}:is(.dark .dark\:fill-yellow-500\/70){fill:#eab308b3}:is(.dark .dark\:\!text-amber-400){--tw-text-opacity: 1 !important;color:rgb(251 191 36 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-amber-500){--tw-text-opacity: 1 !important;color:rgb(245 158 11 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-amber-600){--tw-text-opacity: 1 !important;color:rgb(217 119 6 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-blue-400){--tw-text-opacity: 1 !important;color:rgb(96 165 250 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-gray-300){--tw-text-opacity: 1 !important;color:rgb(209 213 219 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-gray-500){--tw-text-opacity: 1 !important;color:rgb(107 114 128 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-gray-600){--tw-text-opacity: 1 !important;color:rgb(75 85 99 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-gray-700){--tw-text-opacity: 1 !important;color:rgb(55 65 81 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-green-400){--tw-text-opacity: 1 !important;color:rgb(74 222 128 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-green-500){--tw-text-opacity: 1 !important;color:rgb(34 197 94 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-green-600){--tw-text-opacity: 1 !important;color:rgb(22 163 74 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-orange-300){--tw-text-opacity: 1 !important;color:rgb(253 186 116 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-orange-400\/80){color:#fb923ccc!important}:is(.dark .dark\:\!text-orange-500){--tw-text-opacity: 1 !important;color:rgb(249 115 22 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-red-400){--tw-text-opacity: 1 !important;color:rgb(248 113 113 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-red-500){--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-red-500\/90){color:#ef4444e6!important}:is(.dark .dark\:\!text-red-600){--tw-text-opacity: 1 !important;color:rgb(220 38 38 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-slate-300){--tw-text-opacity: 1 !important;color:rgb(203 213 225 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-slate-400){--tw-text-opacity: 1 !important;color:rgb(148 163 184 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-slate-50){--tw-text-opacity: 1 !important;color:rgb(248 250 252 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-slate-500){--tw-text-opacity: 1 !important;color:rgb(100 116 139 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-slate-600){--tw-text-opacity: 1 !important;color:rgb(71 85 105 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-yellow-300){--tw-text-opacity: 1 !important;color:rgb(253 224 71 / var(--tw-text-opacity))!important}:is(.dark .dark\:text-amber-100){--tw-text-opacity: 1;color:rgb(254 243 199 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-200){--tw-text-opacity: 1;color:rgb(253 230 138 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-300){--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-400){--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-50){--tw-text-opacity: 1;color:rgb(255 251 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-500){--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-600){--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-700){--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-800){--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-900){--tw-text-opacity: 1;color:rgb(120 53 15 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-950){--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity))}:is(.dark .dark\:text-black){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-100){--tw-text-opacity: 1;color:rgb(219 234 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-200){--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-300){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-400){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-50){--tw-text-opacity: 1;color:rgb(239 246 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-500){--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-600){--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-700){--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-800){--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-900){--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-950){--tw-text-opacity: 1;color:rgb(23 37 84 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-100){--tw-text-opacity: 1;color:rgb(207 250 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-200){--tw-text-opacity: 1;color:rgb(165 243 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-300){--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-400){--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-50){--tw-text-opacity: 1;color:rgb(236 254 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-500){--tw-text-opacity: 1;color:rgb(6 182 212 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-600){--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-700){--tw-text-opacity: 1;color:rgb(14 116 144 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-800){--tw-text-opacity: 1;color:rgb(21 94 117 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-900){--tw-text-opacity: 1;color:rgb(22 78 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-950){--tw-text-opacity: 1;color:rgb(8 51 68 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-100){--tw-text-opacity: 1;color:rgb(209 250 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-200){--tw-text-opacity: 1;color:rgb(167 243 208 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-300){--tw-text-opacity: 1;color:rgb(110 231 183 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-400){--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-50){--tw-text-opacity: 1;color:rgb(236 253 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-500){--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-600){--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-700){--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-800){--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-900){--tw-text-opacity: 1;color:rgb(6 78 59 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-950){--tw-text-opacity: 1;color:rgb(2 44 34 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-100){--tw-text-opacity: 1;color:rgb(250 232 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-200){--tw-text-opacity: 1;color:rgb(245 208 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-300){--tw-text-opacity: 1;color:rgb(240 171 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-400){--tw-text-opacity: 1;color:rgb(232 121 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-50){--tw-text-opacity: 1;color:rgb(253 244 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-500){--tw-text-opacity: 1;color:rgb(217 70 239 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-600){--tw-text-opacity: 1;color:rgb(192 38 211 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-700){--tw-text-opacity: 1;color:rgb(162 28 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-800){--tw-text-opacity: 1;color:rgb(134 25 143 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-900){--tw-text-opacity: 1;color:rgb(112 26 117 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-950){--tw-text-opacity: 1;color:rgb(74 4 78 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-200){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-50){--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-700){--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-800){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-900){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-950){--tw-text-opacity: 1;color:rgb(3 7 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-100){--tw-text-opacity: 1;color:rgb(220 252 231 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-200){--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-300){--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-400){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-50){--tw-text-opacity: 1;color:rgb(240 253 244 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-600){--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-700){--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-800){--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-900){--tw-text-opacity: 1;color:rgb(20 83 45 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-950){--tw-text-opacity: 1;color:rgb(5 46 22 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-100){--tw-text-opacity: 1;color:rgb(224 231 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-200){--tw-text-opacity: 1;color:rgb(199 210 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-300){--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-400){--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-50){--tw-text-opacity: 1;color:rgb(238 242 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-500){--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-600){--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-700){--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-800){--tw-text-opacity: 1;color:rgb(55 48 163 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-900){--tw-text-opacity: 1;color:rgb(49 46 129 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-950){--tw-text-opacity: 1;color:rgb(30 27 75 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-100){--tw-text-opacity: 1;color:rgb(236 252 203 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-200){--tw-text-opacity: 1;color:rgb(217 249 157 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-300){--tw-text-opacity: 1;color:rgb(190 242 100 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-400){--tw-text-opacity: 1;color:rgb(163 230 53 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-50){--tw-text-opacity: 1;color:rgb(247 254 231 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-500){--tw-text-opacity: 1;color:rgb(132 204 22 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-600){--tw-text-opacity: 1;color:rgb(101 163 13 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-700){--tw-text-opacity: 1;color:rgb(77 124 15 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-800){--tw-text-opacity: 1;color:rgb(63 98 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-900){--tw-text-opacity: 1;color:rgb(54 83 20 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-950){--tw-text-opacity: 1;color:rgb(26 46 5 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-100){--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-200){--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-300){--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-400){--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-50){--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-500){--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-600){--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-700){--tw-text-opacity: 1;color:rgb(64 64 64 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-800){--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-900){--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-950){--tw-text-opacity: 1;color:rgb(10 10 10 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-100){--tw-text-opacity: 1;color:rgb(255 237 213 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-200){--tw-text-opacity: 1;color:rgb(254 215 170 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-300){--tw-text-opacity: 1;color:rgb(253 186 116 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-400){--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-50){--tw-text-opacity: 1;color:rgb(255 247 237 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-500){--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-500\/60){color:#f9731699}:is(.dark .dark\:text-orange-600){--tw-text-opacity: 1;color:rgb(234 88 12 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-700){--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-800){--tw-text-opacity: 1;color:rgb(154 52 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-900){--tw-text-opacity: 1;color:rgb(124 45 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-950){--tw-text-opacity: 1;color:rgb(67 20 7 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-100){--tw-text-opacity: 1;color:rgb(252 231 243 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-200){--tw-text-opacity: 1;color:rgb(251 207 232 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-300){--tw-text-opacity: 1;color:rgb(249 168 212 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-400){--tw-text-opacity: 1;color:rgb(244 114 182 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-50){--tw-text-opacity: 1;color:rgb(253 242 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-500){--tw-text-opacity: 1;color:rgb(236 72 153 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-600){--tw-text-opacity: 1;color:rgb(219 39 119 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-700){--tw-text-opacity: 1;color:rgb(190 24 93 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-800){--tw-text-opacity: 1;color:rgb(157 23 77 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-900){--tw-text-opacity: 1;color:rgb(131 24 67 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-950){--tw-text-opacity: 1;color:rgb(80 7 36 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-100){--tw-text-opacity: 1;color:rgb(243 232 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-200){--tw-text-opacity: 1;color:rgb(233 213 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-300){--tw-text-opacity: 1;color:rgb(216 180 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-400){--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-50){--tw-text-opacity: 1;color:rgb(250 245 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-500){--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-600){--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-700){--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-800){--tw-text-opacity: 1;color:rgb(107 33 168 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-900){--tw-text-opacity: 1;color:rgb(88 28 135 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-950){--tw-text-opacity: 1;color:rgb(59 7 100 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-100){--tw-text-opacity: 1;color:rgb(254 226 226 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-200){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-300){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-400){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-50){--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-600){--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-700){--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-800){--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-900){--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-950){--tw-text-opacity: 1;color:rgb(69 10 10 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-100){--tw-text-opacity: 1;color:rgb(255 228 230 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-200){--tw-text-opacity: 1;color:rgb(254 205 211 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-300){--tw-text-opacity: 1;color:rgb(253 164 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-400){--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-50){--tw-text-opacity: 1;color:rgb(255 241 242 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-500){--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-600){--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-700){--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-800){--tw-text-opacity: 1;color:rgb(159 18 57 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-900){--tw-text-opacity: 1;color:rgb(136 19 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-950){--tw-text-opacity: 1;color:rgb(76 5 25 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-100){--tw-text-opacity: 1;color:rgb(224 242 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-200){--tw-text-opacity: 1;color:rgb(186 230 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-300){--tw-text-opacity: 1;color:rgb(125 211 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-400){--tw-text-opacity: 1;color:rgb(56 189 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-50){--tw-text-opacity: 1;color:rgb(240 249 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-500){--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-600){--tw-text-opacity: 1;color:rgb(2 132 199 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-700){--tw-text-opacity: 1;color:rgb(3 105 161 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-800){--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-900){--tw-text-opacity: 1;color:rgb(12 74 110 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-950){--tw-text-opacity: 1;color:rgb(8 47 73 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-100){--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-200){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-200\/80){color:#e2e8f0cc}:is(.dark .dark\:text-slate-300){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-300\/80){color:#cbd5e1cc}:is(.dark .dark\:text-slate-400){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-400\/80){color:#94a3b8cc}:is(.dark .dark\:text-slate-50){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-500){--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-600){--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-700){--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-800){--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-900){--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-950){--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-100){--tw-text-opacity: 1;color:rgb(245 245 244 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-200){--tw-text-opacity: 1;color:rgb(231 229 228 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-300){--tw-text-opacity: 1;color:rgb(214 211 209 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-400){--tw-text-opacity: 1;color:rgb(168 162 158 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-50){--tw-text-opacity: 1;color:rgb(250 250 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-500){--tw-text-opacity: 1;color:rgb(120 113 108 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-600){--tw-text-opacity: 1;color:rgb(87 83 78 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-700){--tw-text-opacity: 1;color:rgb(68 64 60 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-800){--tw-text-opacity: 1;color:rgb(41 37 36 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-900){--tw-text-opacity: 1;color:rgb(28 25 23 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-950){--tw-text-opacity: 1;color:rgb(12 10 9 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-100){--tw-text-opacity: 1;color:rgb(204 251 241 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-200){--tw-text-opacity: 1;color:rgb(153 246 228 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-300){--tw-text-opacity: 1;color:rgb(94 234 212 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-400){--tw-text-opacity: 1;color:rgb(45 212 191 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-50){--tw-text-opacity: 1;color:rgb(240 253 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-500){--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-600){--tw-text-opacity: 1;color:rgb(13 148 136 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-700){--tw-text-opacity: 1;color:rgb(15 118 110 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-800){--tw-text-opacity: 1;color:rgb(17 94 89 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-900){--tw-text-opacity: 1;color:rgb(19 78 74 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-950){--tw-text-opacity: 1;color:rgb(4 47 46 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-100){--tw-text-opacity: 1;color:rgb(237 233 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-200){--tw-text-opacity: 1;color:rgb(221 214 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-300){--tw-text-opacity: 1;color:rgb(196 181 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-400){--tw-text-opacity: 1;color:rgb(167 139 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-50){--tw-text-opacity: 1;color:rgb(245 243 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-500){--tw-text-opacity: 1;color:rgb(139 92 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-600){--tw-text-opacity: 1;color:rgb(124 58 237 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-700){--tw-text-opacity: 1;color:rgb(109 40 217 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-800){--tw-text-opacity: 1;color:rgb(91 33 182 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-900){--tw-text-opacity: 1;color:rgb(76 29 149 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-950){--tw-text-opacity: 1;color:rgb(46 16 101 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-100){--tw-text-opacity: 1;color:rgb(254 249 195 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-200){--tw-text-opacity: 1;color:rgb(254 240 138 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-300){--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-400){--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-50){--tw-text-opacity: 1;color:rgb(254 252 232 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-500){--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-600){--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-700){--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-800){--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-900){--tw-text-opacity: 1;color:rgb(113 63 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-950){--tw-text-opacity: 1;color:rgb(66 32 6 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-100){--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-200){--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-300){--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-400){--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-50){--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-500){--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-600){--tw-text-opacity: 1;color:rgb(82 82 91 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-700){--tw-text-opacity: 1;color:rgb(63 63 70 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-800){--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-900){--tw-text-opacity: 1;color:rgb(24 24 27 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-950){--tw-text-opacity: 1;color:rgb(9 9 11 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:opacity-100){opacity:1}:is(.dark .dark\:opacity-40){opacity:.4}:is(.dark .dark\:opacity-50){opacity:.5}:is(.dark .dark\:opacity-70){opacity:.7}:is(.dark .dark\:shadow-slate-700\/\[\.7\]){--tw-shadow-color: rgb(51 65 85 / .7);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-slate-700\/\[\.8\]){--tw-shadow-color: rgb(51 65 85 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:before\:bg-red-100):before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}:is(.dark .dark\:before\:bg-slate-100):before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:checked\:border-red-500:checked){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}:is(.dark .group:hover .dark\:group-hover\:\!text-blue-400){--tw-text-opacity: 1 !important;color:rgb(96 165 250 / var(--tw-text-opacity))!important}:is(.dark .group:hover .dark\:group-hover\:text-blue-300){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-blue-400){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-slate-300\/80){color:#cbd5e1cc}:is(.dark .group:hover .dark\:group-hover\:text-slate-500){--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=checked\]\:bg-slate-300[data-state=checked]){--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=unchecked\]\:bg-slate-600[data-state=unchecked]){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:text-slate-200[data-state=active]){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:\!border-orange-900:hover){--tw-border-opacity: 1 !important;border-color:rgb(124 45 18 / var(--tw-border-opacity))!important}:is(.dark .dark\:hover\:border-amber-800:hover){--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-blue-500:hover){--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-blue-800:hover){--tw-border-opacity: 1;border-color:rgb(30 64 175 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-gray-900:hover){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-green-700:hover){--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-orange-500\/70:hover){border-color:#f97316b3}:is(.dark .dark\:hover\:border-red-800:hover){--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-red-900:hover){--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-sky-800:hover){--tw-border-opacity: 1;border-color:rgb(7 89 133 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-slate-700:hover){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}:is(.dark .hover\:dark\:border-blue-500):hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .hover\:dark\:border-slate-500):hover{--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:\!bg-slate-800:hover){--tw-bg-opacity: 1 !important;background-color:rgb(30 41 59 / var(--tw-bg-opacity))!important}:is(.dark .dark\:hover\:\!bg-slate-950:hover){--tw-bg-opacity: 1 !important;background-color:rgb(2 6 23 / var(--tw-bg-opacity))!important}:is(.dark .dark\:hover\:bg-accent\/80:hover){background-color:hsl(var(--accent) / .8)}:is(.dark .dark\:hover\:bg-amber-100:hover){--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-200:hover){--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-300:hover){--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-400:hover){--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-50:hover){--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-500:hover){--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-600:hover){--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-700:hover){--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-800:hover){--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-900:hover){--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-950:hover){--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-100:hover){--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-200:hover){--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-300:hover){--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-400:hover){--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-50:hover){--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-500:hover){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-600:hover){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-800:hover){--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-800\/50:hover){background-color:#1e40af80}:is(.dark .dark\:hover\:bg-blue-900:hover){--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-950:hover){--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-950\/80:hover){background-color:#172554cc}:is(.dark .dark\:hover\:bg-cyan-100:hover){--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-200:hover){--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-300:hover){--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-400:hover){--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-50:hover){--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-500:hover){--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-600:hover){--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-700:hover){--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-800:hover){--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-900:hover){--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-950:hover){--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-100:hover){--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-200:hover){--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-300:hover){--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-400:hover){--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-50:hover){--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-500:hover){--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-600:hover){--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-700:hover){--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-800:hover){--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-900:hover){--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-950:hover){--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-100:hover){--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-200:hover){--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-300:hover){--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-400:hover){--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-50:hover){--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-500:hover){--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-600:hover){--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-700:hover){--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-800:hover){--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-900:hover){--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-950:hover){--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-100:hover){--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-200:hover){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-300:hover){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-400:hover){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-50:hover){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-500:hover){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700\/70:hover){background-color:#374151b3}:is(.dark .dark\:hover\:bg-gray-700\/80:hover){background-color:#374151cc}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-900:hover){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-950:hover){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-100:hover){--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-200:hover){--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-300:hover){--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-400:hover){--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-50:hover){--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-500:hover){--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-600:hover){--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-700:hover){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-800:hover){--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-900:hover){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-900\/50:hover){background-color:#14532d80}:is(.dark .dark\:hover\:bg-green-900\/70:hover){background-color:#14532db3}:is(.dark .dark\:hover\:bg-green-900\/80:hover){background-color:#14532dcc}:is(.dark .dark\:hover\:bg-green-950:hover){--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-100:hover){--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-200:hover){--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-300:hover){--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-400:hover){--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-50:hover){--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-500:hover){--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-600:hover){--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-700:hover){--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-800:hover){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-900:hover){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-950:hover){--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-100:hover){--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-200:hover){--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-300:hover){--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-400:hover){--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-50:hover){--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-500:hover){--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-600:hover){--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-700:hover){--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-800:hover){--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-900:hover){--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-950:hover){--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-100:hover){--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-200:hover){--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-300:hover){--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-400:hover){--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-50:hover){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-500:hover){--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-600:hover){--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-700:hover){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-800:hover){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-900:hover){--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-950:hover){--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-100:hover){--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-200:hover){--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-300:hover){--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-400:hover){--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-50:hover){--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-500:hover){--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-600:hover){--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-700:hover){--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-800:hover){--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-900:hover){--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-950:hover){--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-100:hover){--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-200:hover){--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-300:hover){--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-400:hover){--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-50:hover){--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-500:hover){--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-600:hover){--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-700:hover){--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-800:hover){--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-900:hover){--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-950:hover){--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-100:hover){--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-200:hover){--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-300:hover){--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-400:hover){--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-50:hover){--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-500:hover){--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-600:hover){--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-700:hover){--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-800:hover){--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-900:hover){--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-950:hover){--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-100:hover){--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-200:hover){--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-300:hover){--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-400:hover){--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-50:hover){--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-500:hover){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-600:hover){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-700:hover){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-800:hover){--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-900:hover){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-950:hover){--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-100:hover){--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-200:hover){--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-300:hover){--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-400:hover){--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-50:hover){--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-500:hover){--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-600:hover){--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-700:hover){--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-800:hover){--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-900:hover){--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-950:hover){--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-100:hover){--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-200:hover){--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-300:hover){--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-400:hover){--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-50:hover){--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-500:hover){--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-600:hover){--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-700:hover){--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-800:hover){--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-900:hover){--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-950:hover){--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-100:hover){--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-200:hover){--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-300:hover){--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-400:hover){--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-50:hover){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-500:hover){--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-600:hover){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-600\/90:hover){background-color:#475569e6}:is(.dark .dark\:hover\:bg-slate-700:hover){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-700\/70:hover){background-color:#334155b3}:is(.dark .dark\:hover\:bg-slate-700\/80:hover){background-color:#334155cc}:is(.dark .dark\:hover\:bg-slate-800:hover){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-800\/80:hover){background-color:#1e293bcc}:is(.dark .dark\:hover\:bg-slate-900:hover){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-900\/70:hover){background-color:#0f172ab3}:is(.dark .dark\:hover\:bg-slate-950:hover){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-950\/80:hover){background-color:#020617cc}:is(.dark .dark\:hover\:bg-stone-100:hover){--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-200:hover){--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-300:hover){--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-400:hover){--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-50:hover){--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-500:hover){--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-600:hover){--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-700:hover){--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-800:hover){--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-900:hover){--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-950:hover){--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-100:hover){--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-200:hover){--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-300:hover){--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-400:hover){--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-50:hover){--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-500:hover){--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-600:hover){--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-700:hover){--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-800:hover){--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-900:hover){--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-950:hover){--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-transparent:hover){background-color:transparent}:is(.dark .dark\:hover\:bg-violet-100:hover){--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-200:hover){--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-300:hover){--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-400:hover){--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-50:hover){--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-500:hover){--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-600:hover){--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-700:hover){--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-800:hover){--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-900:hover){--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-950:hover){--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-100:hover){--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-200:hover){--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-300:hover){--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-400:hover){--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-50:hover){--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-500:hover){--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-600:hover){--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-700:hover){--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-700\/80:hover){background-color:#a16207cc}:is(.dark .dark\:hover\:bg-yellow-800:hover){--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-900:hover){--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-950:hover){--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-950\/80:hover){background-color:#422006cc}:is(.dark .dark\:hover\:bg-zinc-100:hover){--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-200:hover){--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-300:hover){--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-400:hover){--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-50:hover){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-500:hover){--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-600:hover){--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-700:hover){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-800:hover){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-900:hover){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-950:hover){--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-blue-700\/80):hover{background-color:#1d4ed8cc}:is(.dark .hover\:dark\:bg-gray-700):hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-red-400\/80):hover{background-color:#f87171cc}:is(.dark .hover\:dark\:bg-red-900\/80):hover{background-color:#7f1d1dcc}:is(.dark .hover\:dark\:bg-sky-950):hover{--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-400):hover{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-600):hover{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-700):hover{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-800):hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-opacity-60:hover){--tw-bg-opacity: .6}:is(.dark .dark\:hover\:\!text-blue-300:hover){--tw-text-opacity: 1 !important;color:rgb(147 197 253 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-blue-400:hover){--tw-text-opacity: 1 !important;color:rgb(96 165 250 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-blue-600:hover){--tw-text-opacity: 1 !important;color:rgb(37 99 235 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-blue-700:hover){--tw-text-opacity: 1 !important;color:rgb(29 78 216 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-orange-300:hover){--tw-text-opacity: 1 !important;color:rgb(253 186 116 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-red-300:hover){--tw-text-opacity: 1 !important;color:rgb(252 165 165 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-red-500:hover){--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:text-blue-400:hover){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-blue-500:hover){--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-400:hover){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-green-600:hover){--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-red-200:hover){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-red-400:hover){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-red-500:hover){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-red-700:hover){--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-slate-200:hover){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:text-gray-300):hover{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:text-green-600):hover{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:text-slate-300):hover{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:text-slate-400):hover{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:decoration-blue-400:hover){-webkit-text-decoration-color:#60a5fa;text-decoration-color:#60a5fa}:is(.dark .dark\:focus\:border-blue-500:focus){--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-red-500:focus){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:bg-slate-800:focus){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .focus\:dark\:\!bg-amber-950):focus{--tw-bg-opacity: 1 !important;background-color:rgb(69 26 3 / var(--tw-bg-opacity))!important}:is(.dark .dark\:focus\:text-slate-200:focus){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}:is(.dark .focus\:dark\:text-amber-600):focus{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}:is(.dark .dark\:focus\:ring-blue-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}:is(.dark .dark\:active\:bg-amber-100:active){--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-200:active){--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-300:active){--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-400:active){--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-50:active){--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-500:active){--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-600:active){--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-700:active){--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-800:active){--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-900:active){--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-950:active){--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-100:active){--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-200:active){--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-300:active){--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-400:active){--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-50:active){--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-500:active){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-600:active){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-700:active){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-800:active){--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-900:active){--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-950:active){--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-100:active){--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-200:active){--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-300:active){--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-400:active){--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-50:active){--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-500:active){--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-600:active){--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-700:active){--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-800:active){--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-900:active){--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-950:active){--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-100:active){--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-200:active){--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-300:active){--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-400:active){--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-50:active){--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-500:active){--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-600:active){--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-700:active){--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-800:active){--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-900:active){--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-950:active){--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-100:active){--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-200:active){--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-300:active){--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-400:active){--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-50:active){--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-500:active){--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-600:active){--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-700:active){--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-800:active){--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-900:active){--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-950:active){--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-100:active){--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-200:active){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-300:active){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-400:active){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-50:active){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-500:active){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-600:active){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-700:active){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-800:active){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-900:active){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-950:active){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-100:active){--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-200:active){--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-300:active){--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-400:active){--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-50:active){--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-500:active){--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-600:active){--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-700:active){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-800:active){--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-900:active){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-950:active){--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-100:active){--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-200:active){--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-300:active){--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-400:active){--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-50:active){--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-500:active){--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-600:active){--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-700:active){--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-800:active){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-900:active){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-950:active){--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-100:active){--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-200:active){--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-300:active){--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-400:active){--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-50:active){--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-500:active){--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-600:active){--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-700:active){--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-800:active){--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-900:active){--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-950:active){--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-100:active){--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-200:active){--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-300:active){--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-400:active){--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-50:active){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-500:active){--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-600:active){--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-700:active){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-800:active){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-900:active){--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-950:active){--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-100:active){--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-200:active){--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-300:active){--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-400:active){--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-50:active){--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-500:active){--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-600:active){--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-700:active){--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-800:active){--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-900:active){--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-950:active){--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-100:active){--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-200:active){--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-300:active){--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-400:active){--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-50:active){--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-500:active){--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-600:active){--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-700:active){--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-800:active){--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-900:active){--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-950:active){--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-100:active){--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-200:active){--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-300:active){--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-400:active){--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-50:active){--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-500:active){--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-600:active){--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-700:active){--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-800:active){--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-900:active){--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-950:active){--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-100:active){--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-200:active){--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-300:active){--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-400:active){--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-50:active){--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-500:active){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-600:active){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-700:active){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-800:active){--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-900:active){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-950:active){--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-100:active){--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-200:active){--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-300:active){--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-400:active){--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-50:active){--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-500:active){--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-600:active){--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-700:active){--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-800:active){--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-900:active){--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-950:active){--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-100:active){--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-200:active){--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-300:active){--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-400:active){--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-50:active){--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-500:active){--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-600:active){--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-700:active){--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-800:active){--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-900:active){--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-950:active){--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-100:active){--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-200:active){--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-300:active){--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-400:active){--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-50:active){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-500:active){--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-600:active){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-700:active){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-800:active){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-900:active){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-950:active){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-100:active){--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-200:active){--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-300:active){--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-400:active){--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-50:active){--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-500:active){--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-600:active){--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-700:active){--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-800:active){--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-900:active){--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-950:active){--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-100:active){--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-200:active){--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-300:active){--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-400:active){--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-50:active){--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-500:active){--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-600:active){--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-700:active){--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-800:active){--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-900:active){--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-950:active){--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-100:active){--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-200:active){--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-300:active){--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-400:active){--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-50:active){--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-500:active){--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-600:active){--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-700:active){--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-800:active){--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-900:active){--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-950:active){--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-100:active){--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-200:active){--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-300:active){--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-400:active){--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-50:active){--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-500:active){--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-600:active){--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-700:active){--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-800:active){--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-900:active){--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-950:active){--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-100:active){--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-200:active){--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-300:active){--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-400:active){--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-50:active){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-500:active){--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-600:active){--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-700:active){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-800:active){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-900:active){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-950:active){--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:hidden{display:none}.sm\:max-w-lg{max-width:32rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.sm\:text-left{text-align:left}.sm\:zoom-in-90{--tw-enter-scale: .9}.sm\:slide-in-from-bottom-0,.data-\[state\=open\]\:sm\:slide-in-from-bottom-0[data-state=open]{--tw-enter-translate-y: 0px}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:block{display:block}.md\:hidden{display:none}.md\:w-\[var\(--radix-navigation-menu-viewport-width\)\]{width:var(--radix-navigation-menu-viewport-width)}.md\:w-auto{width:auto}.md\:w-full{width:100%}.md\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:px-8{padding-left:2rem;padding-right:2rem}}@media (min-width: 1024px){.lg\:block{display:block}.lg\:hidden{display:none}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1280px){.xl\:block{display:block}.xl\:hidden{display:none}}@media (min-width: 1536px){.\32xl\:block{display:block}.\32xl\:hidden{display:none}.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.\[\&\:has\(\[aria-selected\]\)\]\:bg-accent:has([aria-selected]){background-color:hsl(var(--accent))}.first\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-l-md:has([aria-selected]):first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.last\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-r-md:has([aria-selected]):last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\:has\(svg\)\]\:pl-11:has(svg){padding-left:2.75rem}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0px}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}._visible_1g3i7_1{opacity:0;transform:translate(-20%,60%);pointer-events:none}._arrow_1g3i7_7{content:"";position:absolute;left:50%;transform:translate(-50%);bottom:-4px;width:0;height:0;border:5px solid transparent;--tw-border-opacity: 1;border-top-color:rgb(71 85 105 / var(--tw-border-opacity));border-bottom:0}._empty-data_1g3i7_20{pointer-events:none;padding:0 10px;font-family:sans-serif;line-height:1.5;letter-spacing:1}._shared-container_1g3i7_28{position:absolute;transform:translate(-20%,40%);z-index:999;--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity));box-shadow:0 9px 28px 8px #0000000d;transition:opacity .3s,transform .3s;border-radius:calc(var(--radius) - 2px)}._PanelGroupWrapper_13ky4_1{height:20rem}._PanelGroup_13ky4_1{font-size:2rem}._Panel_13ky4_1{display:flex;flex-direction:row;font-size:2rem}._PanelColumn_13ky4_15,._PanelRow_13ky4_16{display:flex}._PanelColumn_13ky4_15{flex-direction:column}._PanelRow_13ky4_16{flex-direction:row}._Centered_13ky4_26{flex:1 1 auto;display:flex;align-items:center;justify-content:center;background-color:var(--color-panel-background);border-radius:.5rem;overflow:auto;font-size:1rem;padding:.5rem;word-break:break-all}._Overflow_13ky4_42{width:100%;height:100%;overflow:auto;padding:1rem;scrollbar-width:thin;scrollbar-color:var(--color-scroll-thumb) transparent}._Button_13ky4_53,._ButtonDisabled_13ky4_54{background-color:var(--color-button-background);color:var(--color-default);border:none;border-radius:.5rem;padding:.25rem .5rem}._Button_13ky4_53:hover{background-color:var(--color-button-background-hover)}._ButtonDisabled_13ky4_54{opacity:.5}._Buttons_13ky4_68{display:flex;flex-direction:row;align-items:center;gap:1ch;margin-bottom:1rem}._Capitalize_13ky4_76{text-transform:capitalize}._WarningBlock_13ky4_80{display:inline-block;background:var(--color-warning-background);padding:.25em 1ch;border-radius:.5rem}._InlineCode_13ky4_87{margin-right:1.5ch}._ResizeHandleOuter_13ky4_91{flex:0 0 1.25rem;display:flex;justify-content:stretch;align-items:stretch;padding:.4rem;padding-top:0;padding-bottom:0;outline:none;--background-color: transparent}._ResizeHandleOuter_13ky4_91[data-resize-handle-active],._ResizeHandleInner_13ky4_104[data-collapsed]{--background-color: var(--color-solid-resize-bar)}@media (max-width: 500px){._ResizeHandleOuter_13ky4_91{flex:0 0 2.5rem}}._ResizeHandleInner_13ky4_104{flex:1;border-radius:.75rem;background-color:var(--background-color);transition:background-color .2s linear;position:relative}._ResizeHandleInner_13ky4_104:after{height:.75rem;width:.75rem;display:flex;align-items:center;justify-content:center;font-size:.75rem;color:var(--color-solid-resize-bar);position:absolute;left:calc(50% - .5rem);top:calc(50% - .5rem)}._HorizontalIcon_13ky4_135,._VerticalIcon_13ky4_136{position:absolute;left:calc(50% - 8px);top:calc(50% - .5rem)}._ResizeHandleOuter_13ky4_91[data-panel-group-direction=horizontal] ._HorizontalIcon_13ky4_135,._ResizeHandleOuter_13ky4_91[data-panel-group-direction=vertical] ._VerticalIcon_13ky4_136{display:block}._ResizeHandleOuter_13ky4_91[data-panel-group-direction=vertical] ._HorizontalIcon_13ky4_135,._ResizeHandleOuter_13ky4_91[data-panel-group-direction=horizontal] ._VerticalIcon_13ky4_136,._ResizeHandleOuter_13ky4_91[data-resize-handle-active] ._HorizontalIcon_13ky4_135,._ResizeHandleOuter_13ky4_91[data-resize-handle-active] ._VerticalIcon_13ky4_136{display:none}[role=treeitem]:has(._node_1usvv_1){border-radius:8px;padding:0 4px;cursor:pointer;font-weight:400;-webkit-user-select:none;-moz-user-select:none;user-select:none}[role=treeitem]:has(._node_1usvv_1):focus-visible{background-color:#fff3;outline:none}[role=treeitem][aria-selected=true]:has(._node_1usvv_1):focus-visible{background-color:#cbd5e1e6;outline:none}[role=treeitem][aria-selected=true]:has(._node_1usvv_1){background-color:#cbd5e1e6;font-weight:600}[role=treeitem]:has(._node_1usvv_1.willReceiveDrop){background-color:#fff6;border:2px dashed}._node_1usvv_1{margin:0 12px 0 8px;height:100%;white-space:nowrap}._node_1usvv_1 span:nth-child(1){width:20px;display:flex}._node_1usvv_1 span:nth-child(2){margin-right:18px;display:flex;align-items:center}._node_1usvv_1 span:nth-child(3){flex:1;overflow:hidden;text-overflow:ellipsis}._dropCursor_1usvv_55{width:100%;height:18px;position:absolute}._mainContent_1usvv_61{flex:1;display:flex;min-height:0;gap:8px}._mobileWarning_1usvv_68{background:var(--primaryColor);color:#fff;padding:1em;font-weight:700;text-align:center;border-radius:4px;display:none}@media screen and (max-width: 600px){._mainContent_1usvv_61{flex-direction:column;padding-right:0}._content_1usvv_83{order:1;margin:6px}._sidebar_1usvv_89{order:2;height:80vh;width:100%}._mobileWarning_1usvv_68{display:block}} diff --git a/dist-ui/assets/index-CcNwvzUl.css b/dist-ui/assets/index-CcNwvzUl.css deleted file mode 100644 index 5217234a..00000000 --- a/dist-ui/assets/index-CcNwvzUl.css +++ /dev/null @@ -1,9 +0,0 @@ -.CodeMirror{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;direction:ltr;font-size:14px;z-index:0;border-radius:5px;height:auto;background:transparent;position:relative;overflow:hidden}.CodeMirror-lines{padding:4px 0}.CodeMirror pre{padding:0 4px;border-radius:0;border-width:0;background:transparent;font-family:inherit;font-size:inherit;margin:0;white-space:pre;word-wrap:normal;line-height:inherit;color:inherit;z-index:2;position:relative;overflow:visible;-webkit-tap-highlight-color:transparent;font-variant-ligatures:contextual}.CodeMirror-gutters{background-color:#f7f7f7;white-space:nowrap}.CodeMirror-linenumber{padding:0 3px;min-width:25px;text-align:right;color:#999;white-space:nowrap}.CodeMirror-cursor{border-left:2px solid black;border-right:none;width:0}.CodeMirror div.CodeMirror-secondarycursor{border-left:1px solid silver}span.cm-header,span.cm-strong{font-weight:700}span.cm-em{font-style:italic}span.cm-link{text-decoration:underline}.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-selected{background:#c0dbfd}.code-is-dark{font-weight:350;color:#abb2bf;background-color:#282c34}.code-is-dark .CodeMirror-selected{background-color:#3e4451}.code-is-dark .CodeMirror-gutters{background:#20242a}.code-is-dark .CodeMirror-linenumber{color:#5c6370!important}.code-is-dark .CodeMirror-cursor{border-left:2px solid #aaaaaa!important}.code-is-dark .cm-comment{color:#6a9955}.code-is-dark .cm-builtin,.code-is-dark .cm-keyword{color:#569cd6}.code-is-dark .cm-number{color:#b5cea8}.code-is-dark .cm-def{color:#646695}.code-is-dark .cm-variable,.code-is-dark .cm-attribute{color:#9cdcfe}.code-is-dark .cm-string{color:#ce9178}.code-is-dark .cm-tag{color:#4ec9b0}.code-is-dark .cm-punctuation,.code-is-dark .cm-operator{color:#d4d4d4}.CodeMirror-scroll{overflow:scroll!important;margin-bottom:-30px;margin-right:-30px;padding-bottom:30px;height:100%;outline:none;position:relative}.CodeMirror-sizer{position:relative;border-right:30px solid transparent}.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{background-color:#fff}.code-is-dark .CodeMirror-scrollbar-filler,.code-is-dark .CodeMirror-gutter-filler{background-color:#282c34}.CodeMirror-vscrollbar,.CodeMirror-hscrollbar,.CodeMirror-scrollbar-filler,.CodeMirror-gutter-filler{position:absolute;z-index:6;display:none}.CodeMirror-vscrollbar{right:0;top:0;overflow-x:hidden;overflow-y:scroll}.CodeMirror-hscrollbar{bottom:0;left:0;overflow-y:hidden;overflow-x:scroll}.CodeMirror-scrollbar-filler{right:0;bottom:0}.CodeMirror-gutter-filler{left:0;bottom:0}.CodeMirror-gutters{position:absolute;left:0;top:0;min-height:100%;z-index:3}.CodeMirror-gutter{white-space:normal;height:100%;display:inline-block;vertical-align:top;margin-bottom:-30px}.CodeMirror-gutter-wrapper{position:absolute;z-index:4;background:none!important;border:none!important}.CodeMirror-gutter-background{position:absolute;top:0;bottom:0;z-index:4}.CodeMirror-gutter-elt{position:absolute;cursor:default;z-index:4}.CodeMirror-gutter-wrapper{-webkit-user-select:none;-moz-user-select:none;user-select:none}.CodeMirror-lines{cursor:text;min-height:1px}.CodeMirror-wrap pre{word-wrap:break-word;white-space:pre-wrap;word-break:normal}.CodeMirror-linebackground{position:absolute;left:0;right:0;top:0;bottom:0;z-index:0}.CodeMirror-linewidget{position:relative;z-index:2;overflow:auto}.CodeMirror-code{outline:none}.CodeMirror-code>div{padding-left:3px}.CodeMirror-code>pre{padding-left:8px}.CodeMirror-scroll,.CodeMirror-sizer,.CodeMirror-gutter,.CodeMirror-gutters,.CodeMirror-linenumber{box-sizing:content-box}.CodeMirror-measure{position:absolute;width:100%;height:0;overflow:hidden;visibility:hidden}.CodeMirror-cursor{position:absolute;pointer-events:none}.CodeMirror-measure pre{position:static}div.CodeMirror-cursors{visibility:hidden;position:relative;z-index:3}div.CodeMirror-dragcursors,.CodeMirror-focused div.CodeMirror-cursors{visibility:visible}.CodeMirror-crosshair{cursor:crosshair}.CodeMirror-line::selection,.CodeMirror-line>span::selection,.CodeMirror-line>span>span::selection{background:#c0dbfd}.CodeMirror-line::-moz-selection,.CodeMirror-line>span::-moz-selection,.CodeMirror-line>span>span::-moz-selection{background:#c0dbfd}.cm-searching{background:#ffa;background:#ff06}.cm-force-border{padding-right:.1px}@media print{.CodeMirror div.CodeMirror-cursors{visibility:hidden}}.cm-tab-wrap-hack:after{content:""}span.CodeMirror-selectedtext{background:none}.CodeMirror-overlayscroll .CodeMirror-scrollbar-filler,.CodeMirror-overlayscroll .CodeMirror-gutter-filler{display:none}.CodeMirror-overlayscroll-horizontal div,.CodeMirror-overlayscroll-vertical div{position:absolute;background:#bcd;border-radius:3px}.CodeMirror-overlayscroll-horizontal,.CodeMirror-overlayscroll-vertical{position:absolute;z-index:6}.CodeMirror-overlayscroll-horizontal{bottom:0;left:0;height:6px}.CodeMirror-overlayscroll-horizontal div{bottom:0;height:100%}.CodeMirror-overlayscroll-vertical{right:0;top:0;width:6px}.CodeMirror-overlayscroll-vertical div{right:2px;width:100%}.CodeMirror-simplescroll-horizontal div,.CodeMirror-simplescroll-vertical div{position:absolute;background:#ccc;box-sizing:border-box;border:1px solid #bbb;border-radius:2px}.CodeMirror-simplescroll-horizontal,.CodeMirror-simplescroll-vertical{position:absolute;z-index:6;opacity:.4;background:#f4f4f4}.code-is-dark .CodeMirror-simplescroll-horizontal,.code-is-dark .CodeMirror-simplescroll-vertical{background:#282c34}.code-is-dark .CodeMirror-simplescroll-horizontal div,.code-is-dark .CodeMirror-simplescroll-vertical div{background:#424242;border:1px solid #212121}.code-is-dark .CodeMirror-simplescroll-horizontal div{background:#424242;border-bottom:0}.code-is-dark .CodeMirror-simplescroll-horizontal{bottom:-1px}.CodeMirror-simplescroll-horizontal{bottom:1px;left:0;height:8px}.CodeMirror-simplescroll-horizontal div{bottom:0;height:100%}.CodeMirror-simplescroll-vertical{right:1px;top:0;width:8px}.code-is-dark .CodeMirror-simplescroll-vertical{right:0;width:9px}.CodeMirror-simplescroll-vertical div{right:0;width:100%}.CodeMirror-activeline-background{background:#f7f7f9}.code-is-dark .CodeMirror-activeline-background{background-color:#99bbff0a}.cm-negative{color:#d44}.cm-positive{color:#292}.cm-header,.cm-strong{font-weight:700}.cm-em{font-style:italic}.cm-link,.code-is-light .cm-link,.code-is-light span.cm-link{text-decoration:underline;color:#00c}.cm-strikethrough{text-decoration:line-through}.cm-invalidchar,.code-is-light .cm-error,.code-is-light span.cm-error{color:red}.code-is-light .cm-header,.code-is-light span.cm-header{color:#00f}.code-is-light .cm-quote,.code-is-light span.cm-quote{color:#090}.code-is-light .cm-keyword,.code-is-light span.cm-keyword{color:#00a4db}.code-is-light .cm-string,.code-is-light .cm-string-2,.code-is-light span.cm-string,.code-is-light span.cm-string-2{color:#e3116c}.code-is-light .cm-comment,.code-is-light span.cm-comment{color:#998}.code-is-light .cm-variable,.code-is-light .cm-variable-2,.code-is-light .cm-variable-3,.code-is-light .cm-property,.code-is-light span.cm-variable,.code-is-light span.cm-variable-2,.code-is-light span.cm-variable-3,.code-is-light span.cm-property{color:#36acaa}.code-is-light .cm-operator,.code-is-light .cm-punctuation,.code-is-light span.cm-operator,.code-is-light span.cm-punctuation{color:#393a34}.code-is-light .cm-def,.code-is-light span.cm-def{color:#d73a49}.code-is-light .cm-atom,.code-is-light .cm-tag,.code-is-light span.cm-atom,.code-is-light span.cm-tag{color:#00009f}.code-is-light .cm-attribute,.code-is-light span.cm-attr,.code-is-light span.cm-attribute,.code-is-light span.cm-hr{color:#00a4db}.CodeMirror-composing{border-bottom:2px solid}div.CodeMirror span.CodeMirror-matchingbracket{color:#0f0}div.CodeMirror span.CodeMirror-nonmatchingbracket{color:#f22}._TopRow_16h0h_1{flex:0 0 auto;text-align:center}._BottomRow_16h0h_5{flex:1 1 auto}._Panel_16h0h_9{display:flex;flex-direction:column}._PanelContent_16h0h_14{width:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;overflow:hidden;border-radius:.5rem}._ResizeHandleOuter_16h0h_24{flex:0 0 .8em;position:relative;outline:none;--background-color: transparent}._ResizeHandleOuter_16h0h_24[data-resize-handle-active]{--background-color: var(--color-solid-resize-bar-handle)}._ResizeHandleInner_16h0h_35{position:absolute;top:.15em;bottom:.15em;left:.15em;right:.15em;border-radius:.25em;background-color:var(--background-color);transition:background-color .2s linear}._Button_16h0h_46{color:var(--color-default);background-color:var(--color-button-background);border:1px solid var(--color-button-border);border-radius:.25rem;padding:.25rem .5rem;cursor:pointer}._Button_16h0h_46:hover{background-color:var(--color-button-background-hover)}._Icon_16h0h_58{width:14px;height:14px;position:absolute;left:calc(50% - 7px);top:calc(50% - 7px)}:root{--rct-color-tree-bg: #f6f8fa;--rct-color-tree-focus-outline: #0366d6;--rct-color-focustree-item-selected-bg: #e8eaed;--rct-color-focustree-item-selected-text: inherit;--rct-color-focustree-item-focused-border: #0366d6;--rct-color-focustree-item-draggingover-bg: #ebf0f4;--rct-color-focustree-item-draggingover-color: inherit;--rct-color-nonfocustree-item-selected-bg: #e8eaed;--rct-color-nonfocustree-item-selected-text: inherit;--rct-color-nonfocustree-item-focused-border: #dbdbdb;--rct-color-search-highlight-bg: #a2aed2;--rct-color-drag-between-line-bg: #0366d6;--rct-color-arrow: #373a3f;--rct-item-height: 22px;--rct-color-renaming-input-submitbutton-bg: inherit;--rct-color-renaming-input-submitbutton-bg-hover: #0366d6;--rct-color-renaming-input-submitbutton-bg-active: #095fc1;--rct-color-renaming-input-submitbutton-text: inherit;--rct-color-renaming-input-submitbutton-text-hover: #ffffff;--rct-color-renaming-input-submitbutton-text-active: #ffffff}.rct-tree-root{font-family:sans-serif;background-color:var(--rct-color-tree-bg);padding:4px 0}.rct-tree-root-focus{outline:1px solid var(--rct-color-tree-focus-outline)}.rct-tree-item-li{font-size:.8rem;list-style-type:none;padding:0;margin:0}.rct-tree-item-title-container{display:flex;align-items:center;border-top:1px solid transparent;border-bottom:1px solid transparent}.rct-tree-item-button{flex-grow:1;display:flex;align-items:center;box-sizing:border-box;background-color:transparent;font-family:inherit;font-size:inherit;border:none;width:100%;height:var(--rct-item-height);text-align:left;color:inherit;outline:none}.rct-tree-item-arrow{width:10px}.rct-tree-item-arrow svg{width:10px}.rct-tree-item-arrow-path{fill:var(--rct-color-arrow)}.rct-tree-items-container{margin:0;padding:0}.rct-tree-root:not(.rct-tree-root-focus) .rct-tree-item-title-container-selected{background-color:var(--rct-color-nonfocustree-item-selected-bg);color:var(--rct-color-nonfocustree-item-selected-text)}.rct-tree-root.rct-tree-root-focus .rct-tree-item-title-container-selected{background-color:var(--rct-color-focustree-item-selected-bg);color:var(--rct-color-focustree-item-selected-text)}.rct-tree-root.rct-tree-root-focus .rct-tree-item-title-container-focused{outline:none;border-color:var(--rct-color-focustree-item-focused-border)}.rct-tree-root:not(.rct-tree-root-focus) .rct-tree-item-title-container-focused{outline:none;border-color:var(--rct-color-nonfocustree-item-focused-border)}.rct-tree-item-title-container-dragging-over{background-color:var(--rct-color-focustree-item-draggingover-bg);color:var(--rct-color-focustree-item-draggingover-color)}.rct-tree-item-button-search-match{font-style:italic}.rct-tree-item-search-highlight{background-color:var(--rct-color-search-highlight-bg)}.rct-tree-drag-between-line{position:absolute;right:0;top:-2px;height:4px;background-color:var(--rct-color-drag-between-line-bg)}.rct-tree-drag-between-line-top{top:0}.rct-tree-drag-between-line-bottom{top:-4px}.rct-tree-search-input-container{position:absolute;top:0;right:0;width:120px}.rct-tree-search-input{position:fixed;width:120px}.rct-tree-item-renaming-form{flex-grow:1;display:flex}.rct-tree-item-renaming-input{flex-grow:1;background-color:inherit;border:none;color:inherit;outline:none}.rct-tree-item-renaming-submit-button{border:none;background-color:var(--rct-color-renaming-input-submitbutton-bg);border-radius:999px;color:var(--rct-color-renaming-input-submitbutton-text);cursor:pointer}.rct-tree-item-renaming-submit-button:hover{background-color:var(--rct-color-renaming-input-submitbutton-bg-hover);color:var(--rct-color-renaming-input-submitbutton-text-hover)}.rct-tree-item-renaming-submit-button:active{background-color:var(--rct-color-renaming-input-submitbutton-bg-active);color:var(--rct-color-renaming-input-submitbutton-text-active)}:root{--rct-color-tree-bg: transparent;--rct-item-height: 28px;--rct-color-search-highlight-bg: #acccf1;--rct-color-tree-focus-outline: transparent;--rct-item-margin: 1px;--rct-item-padding: 8px;--rct-radius: 4px;--rct-bar-offset: 6px;--rct-bar-width: 4px;--rct-bar-color: #0366d6;--rct-focus-outline: #000000;--rct-color-focustree-item-selected-bg: #f0f2f5;--rct-color-focustree-item-hover-bg: #f0f2f5;--rct-color-focustree-item-hover-text: inherit;--rct-color-focustree-item-active-bg: #e4e6eb;--rct-color-focustree-item-active-text: #4f4f4f;--rct-arrow-size: 10px;--rct-arrow-container-size: 16px;--rct-arrow-padding: 6px;--rct-cursor: pointer;--rct-search-width: 120px;--rct-search-height: 16px;--rct-search-padding: 8px;--rct-search-border: #b4b7bd;--rct-search-border-bottom: #0366d6;--rct-search-bg: #f8f9fa;--rct-search-text: #000000;--rct-search-text-offset: calc(var(--rct-search-padding) * 2 + 16px);--rct-search-container-width: calc(var(--rct-search-width) + var(--rct-search-text-offset) + var(--rct-search-padding) + 2px)}.rct-dark{--rct-color-search-highlight-bg: #2f5381;--rct-bar-color: #1d7be5;--rct-focus-outline: #ffffff;--rct-color-focustree-item-selected-text: #ffffff;--rct-color-focustree-item-selected-bg: #373737;--rct-color-focustree-item-hover-bg: #373737;--rct-color-focustree-item-hover-text: #ffffff;--rct-color-focustree-item-active-bg: #313131;--rct-color-focustree-item-active-text: #ffffff;--rct-color-focustree-item-draggingover-bg: #313131;--rct-color-focustree-item-draggingover-color: #ffffff;--rct-color-arrow: #ffffff;--rct-search-border: #4f4f4f;--rct-search-border-bottom: #1d7be5;--rct-search-bg: #373737;--rct-search-text: #ffffff;--rct-search-text-offset: calc(var(--rct-search-padding) * 2 + 16px)}.rct-tree-item-button{padding:0 var(--rct-item-padding) 0 calc(var(--rct-item-padding) + var(--rct-arrow-container-size) + var(--rct-arrow-padding));margin-left:calc(-1 * var(--rct-arrow-size));cursor:var(--rct-cursor);transition:color .1s ease-out,background-color .1s ease-out}.rct-tree-item-button:focus-visible{outline:2px solid var(--rct-focus-outline)}.rct-tree-item-button:hover{background-color:var(--rct-color-focustree-item-hover-bg);color:var(--rct-color-focustree-item-hover-text)}.rct-tree-item-button:active{background-color:var(--rct-color-focustree-item-active-bg);color:var(--rct-color-focustree-item-active-text)}.rct-tree-item-title-container-selected .rct-tree-item-button{background-color:var(--rct-color-focustree-item-selected-bg);color:var(--rct-color-focustree-item-selected-text)}.rct-tree-item-title-container-selected .rct-tree-item-button:before{content:" ";position:absolute;top:calc(var(--rct-bar-offset) + var(--rct-item-margin));left:calc(-.5 * var(--rct-bar-width));height:calc(var(--rct-item-height) - 2 * var(--rct-bar-offset));width:var(--rct-bar-width);background-color:var(--rct-bar-color);border-radius:99px}.rct-tree-item-button{margin-top:var(--rct-item-margin);margin-bottom:var(--rct-item-margin);position:relative;border-radius:var(--rct-radius)}.rct-tree-item-title-container-dragging-over .rct-tree-item-button{background-color:var(--rct-color-focustree-item-draggingover-bg);color:var(--rct-color-focustree-item-draggingover-color)}.rct-tree-item-title-container{border:none;background-color:unset!important}.rct-tree-item-arrow{z-index:1;margin-right:calc(-1 * var(--rct-arrow-container-size) + var(--rct-arrow-padding));width:var(--rct-arrow-container-size);height:var(--rct-arrow-container-size);display:flex;justify-content:center;align-content:center;border-radius:var(--rct-radius);cursor:var(--rct-cursor)}.rct-tree-item-arrow.rct-tree-item-arrow-isFolder:hover{background-color:var(--rct-color-focustree-item-hover-bg);color:var(--rct-color-focustree-item-hover-text)}.rct-tree-item-arrow svg{width:var(--rct-arrow-size)}.rct-tree-item-renaming-submit-button{border-radius:var(--rct-radius);visibility:hidden}.rct-tree-drag-between-line{border-radius:99px;height:3px}.rct-tree-search-input-container{width:var(--rct-search-container-width)}.rct-tree-search-input{width:var(--rct-search-width);height:var(--rct-search-height);padding:var(--rct-search-padding);padding-left:var(--rct-search-text-offset);margin:0;border:1px solid var(--rct-search-border);border-bottom:2px solid var(--rct-search-border-bottom);border-radius:var(--rct-radius);background-color:var(--rct-search-bg);color:var(--rct-search-text)}.rct-tree-search-input:focus{outline:none}.rct-tree-input-icon{content:url(data:image/svg+xml,%3Csvg%20stroke%3D%22currentColor%22%20fill%3D%22currentColor%22%20stroke-width%3D%220%22%20viewBox%3D%220%200%2016%2016%22%20height%3D%221em%22%20width%3D%221em%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.742%2010.344a6.5%206.5%200%201%200-1.397%201.398h-.001c.03.04.062.078.098.115l3.85%203.85a1%201%200%200%200%201.415-1.414l-3.85-3.85a1.007%201.007%200%200%200-.115-.1zM12%206.5a5.5%205.5%200%201%201-11%200%205.5%205.5%200%200%201%2011%200z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E);position:fixed;transform:translateY(var(--rct-search-padding)) translate(var(--rct-search-padding));z-index:1}.rct-dark .rct-tree-input-icon{content:url(data:image/svg+xml,%3Csvg%20stroke%3D%22%23ffffff%22%20fill%3D%22%23ffffff%22%20stroke-width%3D%220%22%20viewBox%3D%220%200%2016%2016%22%20height%3D%221em%22%20width%3D%221em%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M11.742%2010.344a6.5%206.5%200%201%200-1.397%201.398h-.001c.03.04.062.078.098.115l3.85%203.85a1%201%200%200%200%201.415-1.414l-3.85-3.85a1.007%201.007%200%200%200-.115-.1zM12%206.5a5.5%205.5%200%201%201-11%200%205.5%205.5%200%200%201%2011%200z%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E)}[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.dashboard-tabs .simplebar-content-wrapper{margin:0}.dashboard-tabs .simplebar-track.simplebar-horizontal,.scroll-h-tabs-wrap .simplebar-track.simplebar-horizontal{left:0;height:7px}.simplebar-content:before,.simplebar-content:after{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;-moz-user-select:none;user-select:none;-webkit-user-select:none;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:100;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}/*! - * OverlayScrollbars - * Version: 2.4.5 - * - * Copyright (c) Rene Haas | KingSora. - * https://github.com/KingSora - * - * Released under the MIT license. - */.os-size-observer,.os-size-observer-listener{scroll-behavior:auto!important;direction:inherit;pointer-events:none;overflow:hidden;visibility:hidden;box-sizing:border-box}.os-size-observer,.os-size-observer-listener,.os-size-observer-listener-item,.os-size-observer-listener-item-final{writing-mode:horizontal-tb;position:absolute;left:0;top:0}.os-size-observer{z-index:-1;contain:strict;display:flex;flex-direction:row;flex-wrap:nowrap;padding:inherit;border:inherit;box-sizing:inherit;margin:-133px;top:0;right:0;bottom:0;left:0;transform:scale(.1)}.os-size-observer:before{content:"";flex:none;box-sizing:inherit;padding:10px;width:10px;height:10px}.os-size-observer-appear{animation:os-size-observer-appear-animation 1ms forwards}.os-size-observer-listener{box-sizing:border-box;position:relative;flex:auto;padding:inherit;border:inherit;margin:-133px;transform:scale(10)}.os-size-observer-listener.ltr{margin-right:-266px;margin-left:0}.os-size-observer-listener.rtl{margin-left:-266px;margin-right:0}.os-size-observer-listener:empty:before{content:"";width:100%;height:100%}.os-size-observer-listener:empty:before,.os-size-observer-listener>.os-size-observer-listener-item{display:block;position:relative;padding:inherit;border:inherit;box-sizing:content-box;flex:auto}.os-size-observer-listener-scroll{box-sizing:border-box;display:flex}.os-size-observer-listener-item{right:0;bottom:0;overflow:hidden;direction:ltr;flex:none}.os-size-observer-listener-item-final{transition:none}@keyframes os-size-observer-appear-animation{0%{cursor:auto}to{cursor:none}}.os-trinsic-observer{flex:none;box-sizing:border-box;position:relative;max-width:0px;max-height:1px;padding:0;margin:0;border:none;overflow:hidden;z-index:-1;height:0;top:calc(100% + 1px);contain:strict}.os-trinsic-observer:not(:empty){height:calc(100% + 1px);top:-1px}.os-trinsic-observer:not(:empty)>.os-size-observer{width:1000%;height:1000%;min-height:1px;min-width:1px}.os-environment{scroll-behavior:auto!important;--os-custom-prop: -1;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:var(--os-custom-prop)}.os-environment div{width:200%;height:200%;margin:10px 0}.os-environment.os-environment-flexbox-glue{display:flex;flex-direction:row;flex-wrap:nowrap;height:auto;width:auto;min-height:200px;min-width:200px}.os-environment.os-environment-flexbox-glue div{flex:auto;width:auto;height:auto;max-height:100%;max-width:100%;margin:0}.os-environment.os-environment-flexbox-glue-max{max-height:200px}.os-environment.os-environment-flexbox-glue-max div{overflow:visible}.os-environment.os-environment-flexbox-glue-max div:before{content:"";display:block;height:999px;width:999px}.os-environment,[data-overlayscrollbars-viewport]{-ms-overflow-style:scrollbar!important}[data-overlayscrollbars-initialize],[data-overlayscrollbars~=scrollbarHidden],[data-overlayscrollbars-viewport~=scrollbarHidden],.os-scrollbar-hidden.os-environment{scrollbar-width:none!important}[data-overlayscrollbars-initialize]::-webkit-scrollbar,[data-overlayscrollbars-initialize]::-webkit-scrollbar-corner,[data-overlayscrollbars~=scrollbarHidden]::-webkit-scrollbar,[data-overlayscrollbars~=scrollbarHidden]::-webkit-scrollbar-corner,[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar,[data-overlayscrollbars-viewport~=scrollbarHidden]::-webkit-scrollbar-corner,.os-scrollbar-hidden.os-environment::-webkit-scrollbar,.os-scrollbar-hidden.os-environment::-webkit-scrollbar-corner{-webkit-appearance:none!important;appearance:none!important;display:none!important;width:0!important;height:0!important}[data-overlayscrollbars-initialize]:not([data-overlayscrollbars]):not(html):not(body){overflow:auto}[data-overlayscrollbars~=host],[data-overlayscrollbars-padding]{display:flex;align-items:stretch!important;flex-direction:row!important;flex-wrap:nowrap!important}[data-overlayscrollbars-padding],[data-overlayscrollbars-viewport]{box-sizing:inherit;position:relative;flex:auto!important;height:auto;width:100%;min-width:0;padding:0;margin:0;border:none;z-index:0}[data-overlayscrollbars-viewport]{--os-vaw: 0;--os-vah: 0}[data-overlayscrollbars-viewport][data-overlayscrollbars-viewport~=arrange]:before{content:"";position:absolute;pointer-events:none;z-index:-1;min-width:1px;min-height:1px;width:var(--os-vaw);height:var(--os-vah)}[data-overlayscrollbars-padding],[data-overlayscrollbars-viewport]{overflow:hidden}[data-overlayscrollbars~=host],[data-overlayscrollbars~=viewport]{position:relative}[data-overlayscrollbars~=overflowVisible],[data-overlayscrollbars-padding~=overflowVisible],[data-overlayscrollbars-viewport~=overflowVisible]{overflow:visible}[data-overlayscrollbars-overflow-x=hidden]{overflow-x:hidden}[data-overlayscrollbars-overflow-x=scroll]{overflow-x:scroll}[data-overlayscrollbars-overflow-x=hidden]{overflow-y:hidden}[data-overlayscrollbars-overflow-y=scroll]{overflow-y:scroll}[data-overlayscrollbars~=scrollbarPressed],[data-overlayscrollbars~=scrollbarPressed] [data-overlayscrollbars-viewport]{scroll-behavior:auto!important}[data-overlayscrollbars-content]{box-sizing:inherit}[data-overlayscrollbars-contents]{text-overflow:ellipsis}.code-scroll-x [data-overlayscrollbars-contents]{text-overflow:unset}[data-overlayscrollbars-contents]:not([data-overlayscrollbars-padding]):not([data-overlayscrollbars-viewport]):not([data-overlayscrollbars-content]){display:contents}[data-overlayscrollbars-grid],[data-overlayscrollbars-grid] [data-overlayscrollbars-padding]{display:grid;grid-template:1fr/1fr}[data-overlayscrollbars-grid]>[data-overlayscrollbars-padding],[data-overlayscrollbars-grid]>[data-overlayscrollbars-viewport],[data-overlayscrollbars-grid]>[data-overlayscrollbars-padding]>[data-overlayscrollbars-viewport]{height:auto!important;width:auto!important}.os-scrollbar{contain:size layout;contain:size layout style;transition:opacity .15s,visibility .15s,top .15s,right .15s,bottom .15s,left .15s;pointer-events:none;position:absolute;opacity:0;visibility:hidden}body>.os-scrollbar{position:fixed;z-index:99999}.os-scrollbar-transitionless{transition:none}.os-scrollbar-track{position:relative;direction:ltr!important;padding:0!important;border:none!important}.os-scrollbar-handle{position:absolute}.os-scrollbar-track,.os-scrollbar-handle{pointer-events:none;width:100%;height:100%}.os-scrollbar.os-scrollbar-track-interactive .os-scrollbar-track,.os-scrollbar.os-scrollbar-handle-interactive .os-scrollbar-handle{pointer-events:auto;touch-action:none}.os-scrollbar-horizontal{bottom:0;left:0}.os-scrollbar-vertical{top:0;right:0}.os-scrollbar-rtl.os-scrollbar-horizontal{right:0}.os-scrollbar-rtl.os-scrollbar-vertical{right:auto;left:0}.os-scrollbar-visible,.os-scrollbar-interaction.os-scrollbar-visible{opacity:1;visibility:visible}.os-scrollbar-auto-hide.os-scrollbar-auto-hide-hidden{opacity:0;visibility:hidden}.os-scrollbar-unusable,.os-scrollbar-unusable *,.os-scrollbar-wheel,.os-scrollbar-wheel *{pointer-events:none!important}.os-scrollbar-unusable .os-scrollbar-handle{opacity:0!important}.os-scrollbar-horizontal .os-scrollbar-handle{bottom:0}.os-scrollbar-vertical .os-scrollbar-handle{right:0}.os-scrollbar-rtl.os-scrollbar-vertical .os-scrollbar-handle{right:auto;left:0}.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-horizontal.os-scrollbar-cornerless.os-scrollbar-rtl{left:0;right:0}.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless,.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless.os-scrollbar-rtl{top:0;bottom:0}.os-scrollbar{--os-size: 0;--os-padding-perpendicular: 0;--os-padding-axis: 0;--os-track-border-radius: 0;--os-track-bg: none;--os-track-bg-hover: none;--os-track-bg-active: none;--os-track-border: none;--os-track-border-hover: none;--os-track-border-active: none;--os-handle-border-radius: 0;--os-handle-bg: none;--os-handle-bg-hover: none;--os-handle-bg-active: none;--os-handle-border: none;--os-handle-border-hover: none;--os-handle-border-active: none;--os-handle-min-size: 33px;--os-handle-max-size: none;--os-handle-perpendicular-size: 100%;--os-handle-perpendicular-size-hover: 100%;--os-handle-perpendicular-size-active: 100%;--os-handle-interactive-area-offset: 0}.os-scrollbar .os-scrollbar-track{border:var(--os-track-border);border-radius:var(--os-track-border-radius);background:var(--os-track-bg);transition:opacity .15s,background-color .15s,border-color .15s}.os-scrollbar .os-scrollbar-track:hover{border:var(--os-track-border-hover);background:var(--os-track-bg-hover)}.os-scrollbar .os-scrollbar-track:active{border:var(--os-track-border-active);background:var(--os-track-bg-active)}.os-scrollbar .os-scrollbar-handle{border:var(--os-handle-border);border-radius:var(--os-handle-border-radius);background:var(--os-handle-bg)}.os-scrollbar .os-scrollbar-handle:before{content:"";position:absolute;left:0;right:0;top:0;bottom:0;display:block}.os-scrollbar .os-scrollbar-handle:hover{border:var(--os-handle-border-hover);background:var(--os-handle-bg-hover)}.os-scrollbar .os-scrollbar-handle:active{border:var(--os-handle-border-active);background:var(--os-handle-bg-active)}.os-scrollbar-horizontal{padding:var(--os-padding-perpendicular) var(--os-padding-axis);right:var(--os-size-horizontal);height:var(--os-size-horizontal)}.os-scrollbar-horizontal.os-scrollbar-rtl{left:var(--os-size-horizontal);right:0}.os-scrollbar-horizontal .os-scrollbar-handle{min-width:var(--os-handle-min-size);max-width:var(--os-handle-max-size);height:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,height .15s}.os-scrollbar-horizontal .os-scrollbar-handle:before{top:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);bottom:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-horizontal:hover .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-horizontal:active .os-scrollbar-handle{height:var(--os-handle-perpendicular-size-active)}.os-scrollbar-vertical{padding:var(--os-padding-axis) var(--os-padding-perpendicular);bottom:var(--os-size);width:var(--os-size)}.os-scrollbar-vertical .os-scrollbar-handle{min-height:var(--os-handle-min-size);max-height:var(--os-handle-max-size);width:var(--os-handle-perpendicular-size);transition:opacity .15s,background-color .15s,border-color .15s,width .15s}.os-scrollbar-vertical .os-scrollbar-handle:before{left:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);right:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical.os-scrollbar-rtl .os-scrollbar-handle:before{right:calc((var(--os-padding-perpendicular) + var(--os-handle-interactive-area-offset)) * -1);left:calc(var(--os-padding-perpendicular) * -1)}.os-scrollbar-vertical:hover .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-hover)}.os-scrollbar-vertical:active .os-scrollbar-handle{width:var(--os-handle-perpendicular-size-active)}[data-overlayscrollbars~=updating]>.os-scrollbar,.os-theme-none.os-scrollbar{display:none!important}.os-theme-dark,.os-theme-light{box-sizing:border-box;margin-right:-11px;--os-size: 10px;--os-size-horizontal: 8px;--os-padding-perpendicular: 2px;--os-padding-axis: 2px;--os-track-border-radius: 10px;--os-handle-interactive-area-offset: 4px;--os-handle-border-radius: 10px}.os-theme-dark{--os-handle-bg: rgba(0, 0, 0, .24);--os-handle-bg-hover: rgba(0, 0, 0, .35);--os-handle-bg-active: rgba(0, 0, 0, .42)}.os-theme-light{--os-handle-bg: rgba(255, 255, 255, .24);--os-handle-bg-hover: rgba(255, 255, 255, .35);--os-handle-bg-active: rgba(255, 255, 255, .42)}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Inter;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*{scrollbar-color:initial;scrollbar-width:initial}:root{--color-solid-resize-bar: rgb(226, 232, 240);--background: 0 0% 100%;--foreground: 222.2 47.4% 11.2%;--muted: 210 40% 96.1%;--muted-foreground: 215.4 16.3% 46.9%;--popover: 0 0% 100%;--popover-foreground: 222.2 47.4% 11.2%;--border: 214.3 31.8% 91.4%;--input: 214.3 31.8% 91.4%;--card: 0 0% 99.5%;--card-foreground: 222.2 47.4% 11.2%;--primary: 222.2 47.4% 11.2%;--primary-foreground: 210 40% 98%;--secondary: 210 40% 96.1%;--secondary-foreground: 222.2 47.4% 11.2%;--accent: 210 40% 96.1%;--accent-foreground: 222.2 47.4% 11.2%;--destructive: 0 100% 50%;--destructive-foreground: 210 40% 98%;--ring: 215 20.2% 65.1%;--radius: .5rem}.dark{--background: 217 18.41% 8.5%;--foreground: 213 31% 91%;--muted: 223 47% 11%;--muted-foreground: 215.4 16.3% 56.9%;--accent: 216 34% 17%;--accent-foreground: 210 40% 98%;--popover: 224 71% 4%;--popover-foreground: 215 20.2% 65.1%;--border: 216 34% 17%;--input: 216 34% 17%;--card: 213.91, 16.28%, 9.46%;--card-foreground: 213 31% 91%;--primary: 210 40% 98%;--primary-foreground: 222.2 47.4% 1.2%;--secondary: 222.2 47.4% 11.2%;--secondary-foreground: 210 40% 98%;--destructive: 0 63% 31%;--destructive-foreground: 210 40% 98%;--ring: 216 34% 17%;--radius: .5rem}*{border-color:hsl(var(--border))}body{overscroll-behavior:none;overflow:hidden;margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:hsl(var(--background));color:hsl(var(--foreground));-webkit-user-select:none;-moz-user-select:none;user-select:none;font-feature-settings:"rlig" 1,"calt" 1}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%;margin-right:auto;margin-left:auto;padding-right:2rem;padding-left:2rem}@media (min-width: 1400px){.container{max-width:1400px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.collapse{visibility:collapse}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-1\.5{bottom:.375rem}.bottom-2{bottom:.5rem}.bottom-4{bottom:1rem}.bottom-\[-100px\]{bottom:-100px}.bottom-\[-13px\]{bottom:-13px}.bottom-\[-40px\]{bottom:-40px}.bottom-\[-45px\]{bottom:-45px}.bottom-\[-50px\]{bottom:-50px}.bottom-full{bottom:100%}.left-0{left:0}.left-1{left:.25rem}.left-1\/2{left:50%}.left-2{left:.5rem}.left-2\/4{left:50%}.left-\[-10px\]{left:-10px}.left-\[-12px\]{left:-12px}.left-\[-4px\]{left:-4px}.left-\[-5px\]{left:-5px}.left-\[30px\]{left:30px}.right-0{right:0}.right-1{right:.25rem}.right-1\.5{right:.375rem}.right-2{right:.5rem}.right-2\.5{right:.625rem}.right-3{right:.75rem}.right-4{right:1rem}.right-\[-10px\]{right:-10px}.right-\[-16px\]{right:-16px}.right-\[-3px\]{right:-3px}.right-\[-5px\]{right:-5px}.right-\[-63px\]{right:-63px}.right-\[10px\]{right:10px}.right-\[36px\]{right:36px}.right-\[4px\]{right:4px}.top-0{top:0}.top-1{top:.25rem}.top-1\.5{top:.375rem}.top-1\/2{top:50%}.top-10{top:2.5rem}.top-14{top:3.5rem}.top-2{top:.5rem}.top-2\/4{top:50%}.top-3{top:.75rem}.top-4{top:1rem}.top-9{top:2.25rem}.top-\[-10px\]{top:-10px}.top-\[-12px\]{top:-12px}.top-\[-13px\]{top:-13px}.top-\[-15px\]{top:-15px}.top-\[-16px\]{top:-16px}.top-\[-17px\]{top:-17px}.top-\[-2px\]{top:-2px}.top-\[-3px\]{top:-3px}.top-\[-5px\]{top:-5px}.top-\[-6px\]{top:-6px}.top-\[1px\]{top:1px}.top-\[3px\]{top:3px}.top-\[49px\]{top:49px}.top-\[4px\]{top:4px}.top-\[5px\]{top:5px}.top-\[60\%\]{top:60%}.top-\[64px\]{top:64px}.top-\[calc\(100\%\+8px\)\]{top:calc(100% + 8px)}.top-full{top:100%}.z-10{z-index:10}.z-100{z-index:100}.z-30{z-index:30}.z-50{z-index:50}.z-\[100000\]{z-index:100000}.z-\[10001\]{z-index:10001}.z-\[1\]{z-index:1}.z-\[60\]{z-index:60}.z-auto{z-index:auto}.\!m-0{margin:0!important}.m-0{margin:0}.m-0\.5{margin:.125rem}.m-1{margin:.25rem}.m-2{margin:.5rem}.m-auto{margin:auto}.\!mx-0{margin-left:0!important;margin-right:0!important}.\!my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.-mx-1{margin-left:-.25rem;margin-right:-.25rem}.-mx-2{margin-left:-.5rem;margin-right:-.5rem}.mx-0{margin-left:0;margin-right:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-1\.5{margin-left:.375rem;margin-right:.375rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-1\.5{margin-top:.375rem;margin-bottom:.375rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-\[1px\]{margin-top:1px;margin-bottom:1px}.\!-mt-\[100px\]{margin-top:-100px!important}.\!mb-1{margin-bottom:.25rem!important}.\!mt-0{margin-top:0!important}.\!mt-2{margin-top:.5rem!important}.\!mt-3{margin-top:.75rem!important}.\!mt-4{margin-top:1rem!important}.\!mt-\[43px\]{margin-top:43px!important}.-ml-1{margin-left:-.25rem}.-mt-0{margin-top:-0px}.-mt-0\.5{margin-top:-.125rem}.-mt-1{margin-top:-.25rem}.-mt-5{margin-top:-1.25rem}.-mt-80{margin-top:-20rem}.mb-0{margin-bottom:0}.mb-0\.5{margin-bottom:.125rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\[2px\]{margin-bottom:2px}.ml-0{margin-left:0}.ml-0\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-1\.5{margin-left:.375rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-5{margin-left:1.25rem}.ml-6{margin-left:1.5rem}.ml-\[-12px\]{margin-left:-12px}.ml-\[-2px\]{margin-left:-2px}.ml-\[-5px\]{margin-left:-5px}.ml-\[-8px\]{margin-left:-8px}.ml-\[10px\]{margin-left:10px}.ml-\[120px\]{margin-left:120px}.ml-\[150px\]{margin-left:150px}.ml-\[20px\]{margin-left:20px}.ml-\[30px\]{margin-left:30px}.ml-\[40px\]{margin-left:40px}.ml-\[50px\]{margin-left:50px}.ml-\[60px\]{margin-left:60px}.ml-\[90px\]{margin-left:90px}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-0\.5{margin-right:.125rem}.mr-1{margin-right:.25rem}.mr-1\.5{margin-right:.375rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-5{margin-right:1.25rem}.mr-\[-10px\]{margin-right:-10px}.mr-\[-6px\]{margin-right:-6px}.mr-\[-8px\]{margin-right:-8px}.mr-\[11px\]{margin-right:11px}.mr-\[13px\]{margin-right:13px}.mr-\[14px\]{margin-right:14px}.mr-\[2px\]{margin-right:2px}.mt-0{margin-top:0}.mt-0\.5{margin-top:.125rem}.mt-1{margin-top:.25rem}.mt-1\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-2\.5{margin-top:.625rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-\[-12px\]{margin-top:-12px}.mt-\[-3px\]{margin-top:-3px}.mt-\[1px\]{margin-top:1px}.mt-\[20px\]{margin-top:20px}.mt-\[2px\]{margin-top:2px}.mt-\[40px\]{margin-top:40px}.mt-px{margin-top:1px}.box-border{box-sizing:border-box}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}.\!block{display:block!important}.block{display:block}.\!inline-block{display:inline-block!important}.inline-block{display:inline-block}.inline{display:inline}.\!flex{display:flex!important}.flex{display:flex}.\!inline-flex{display:inline-flex!important}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-square{aspect-ratio:1 / 1}.\!h-4{height:1rem!important}.\!h-full{height:100%!important}.h-0{height:0px}.h-0\.5{height:.125rem}.h-1{height:.25rem}.h-1\.5{height:.375rem}.h-1\/2{height:50%}.h-1\/3{height:33.333333%}.h-1\/4{height:25%}.h-1\/5{height:20%}.h-1\/6{height:16.666667%}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-2\.5{height:.625rem}.h-2\/3{height:66.666667%}.h-2\/4{height:50%}.h-2\/5{height:40%}.h-2\/6{height:33.333333%}.h-20{height:5rem}.h-24{height:6rem}.h-28{height:7rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-3\/4{height:75%}.h-3\/5{height:60%}.h-3\/6{height:50%}.h-32{height:8rem}.h-36{height:9rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-4\/6{height:66.666667%}.h-40{height:10rem}.h-44{height:11rem}.h-48{height:12rem}.h-5{height:1.25rem}.h-5\/6{height:83.333333%}.h-52{height:13rem}.h-56{height:14rem}.h-6{height:1.5rem}.h-60{height:15rem}.h-64{height:16rem}.h-7{height:1.75rem}.h-72{height:18rem}.h-8{height:2rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\[16px\]{height:16px}.h-\[18px\]{height:18px}.h-\[1px\]{height:1px}.h-\[20px\]{height:20px}.h-\[22px\]{height:22px}.h-\[23px\]{height:23px}.h-\[24px\]{height:24px}.h-\[26px\]{height:26px}.h-\[28px\]{height:28px}.h-\[30px\]{height:30px}.h-\[32px\]{height:32px}.h-\[34px\]{height:34px}.h-\[380px\]{height:380px}.h-\[40px\]{height:40px}.h-\[41px\]{height:41px}.h-\[48px\]{height:48px}.h-\[8px\]{height:8px}.h-\[calc\(100vh-50px\)\]{height:calc(100vh - 50px)}.h-\[calc\(100vh-70px\)\]{height:calc(100vh - 70px)}.h-\[calc\(100vh-95px\)\]{height:calc(100vh - 95px)}.h-\[full\]{height:full}.h-\[var\(--radix-navigation-menu-viewport-height\)\]{height:var(--radix-navigation-menu-viewport-height)}.h-\[var\(--radix-select-trigger-height\)\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-min{height:-moz-min-content;height:min-content}.h-px{height:1px}.h-screen{height:100vh}.max-h-56{max-height:14rem}.max-h-\[200px\]{max-height:200px}.max-h-\[300px\]{max-height:300px}.max-h-\[380px\]{max-height:380px}.max-h-\[600px\]{max-height:600px}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-\[0px\]{min-height:0px}.min-h-\[100px\]{min-height:100px}.min-h-\[120px\]{min-height:120px}.min-h-\[130px\]{min-height:130px}.min-h-\[30px\]{min-height:30px}.min-h-\[32px\]{min-height:32px}.min-h-\[40px\]{min-height:40px}.\!w-36{width:9rem!important}.\!w-40{width:10rem!important}.\!w-60{width:15rem!important}.\!w-9{width:2.25rem!important}.w-0{width:0px}.w-0\.5{width:.125rem}.w-1{width:.25rem}.w-1\.5{width:.375rem}.w-1\/12{width:8.333333%}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-1\/4{width:25%}.w-1\/5{width:20%}.w-1\/6{width:16.666667%}.w-10{width:2.5rem}.w-10\/12{width:83.333333%}.w-11{width:2.75rem}.w-11\/12{width:91.666667%}.w-12{width:3rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-2{width:.5rem}.w-2\.5{width:.625rem}.w-2\/12{width:16.666667%}.w-2\/3{width:66.666667%}.w-2\/4{width:50%}.w-2\/5{width:40%}.w-2\/6{width:33.333333%}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/12{width:25%}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-3\/6{width:50%}.w-32{width:8rem}.w-36{width:9rem}.w-4{width:1rem}.w-4\/12{width:33.333333%}.w-4\/5{width:80%}.w-4\/6{width:66.666667%}.w-40{width:10rem}.w-44{width:11rem}.w-48{width:12rem}.w-5{width:1.25rem}.w-5\/12{width:41.666667%}.w-5\/6{width:83.333333%}.w-52{width:13rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-6\/12{width:50%}.w-60{width:15rem}.w-64{width:16rem}.w-7{width:1.75rem}.w-7\/12{width:58.333333%}.w-72{width:18rem}.w-8{width:2rem}.w-8\/12{width:66.666667%}.w-80{width:20rem}.w-9{width:2.25rem}.w-9\/12{width:75%}.w-96{width:24rem}.w-\[1\.5rem\]{width:1.5rem}.w-\[112px\]{width:112px}.w-\[120px\]{width:120px}.w-\[150px\]{width:150px}.w-\[16px\]{width:16px}.w-\[180px\]{width:180px}.w-\[18px\]{width:18px}.w-\[190px\]{width:190px}.w-\[1px\]{width:1px}.w-\[20px\]{width:20px}.w-\[22px\]{width:22px}.w-\[230px\]{width:230px}.w-\[235px\]{width:235px}.w-\[24px\]{width:24px}.w-\[25px\]{width:25px}.w-\[260px\]{width:260px}.w-\[270px\]{width:270px}.w-\[280px\]{width:280px}.w-\[28px\]{width:28px}.w-\[2px\]{width:2px}.w-\[30px\]{width:30px}.w-\[32px\]{width:32px}.w-\[34px\]{width:34px}.w-\[37px\]{width:37px}.w-\[380px\]{width:380px}.w-\[38px\]{width:38px}.w-\[400px\]{width:400px}.w-\[40px\]{width:40px}.w-\[580px\]{width:580px}.w-\[70px\]{width:70px}.w-\[80\%\]{width:80%}.w-\[90\%\]{width:90%}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-min{width:-moz-min-content;width:min-content}.w-px{width:1px}.w-screen{width:100vw}.\!min-w-\[390px\]{min-width:390px!important}.min-w-\[120px\]{min-width:120px}.min-w-\[12rem\]{min-width:12rem}.min-w-\[140px\]{min-width:140px}.min-w-\[150px\]{min-width:150px}.min-w-\[16px\]{min-width:16px}.min-w-\[200px\]{min-width:200px}.min-w-\[24px\]{min-width:24px}.min-w-\[265px\]{min-width:265px}.min-w-\[270px\]{min-width:270px}.min-w-\[280px\]{min-width:280px}.min-w-\[300px\]{min-width:300px}.min-w-\[320px\]{min-width:320px}.min-w-\[340px\]{min-width:340px}.min-w-\[400px\]{min-width:400px}.min-w-\[40px\]{min-width:40px}.min-w-\[80\%\]{min-width:80%}.min-w-\[80px\]{min-width:80px}.min-w-\[8rem\]{min-width:8rem}.min-w-\[90px\]{min-width:90px}.min-w-\[var\(--radix-select-trigger-width\)\]{min-width:var(--radix-select-trigger-width)}.min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.min-w-full{min-width:100%}.\!max-w-\[450px\]{max-width:450px!important}.max-w-2xl{max-width:42rem}.max-w-\[120px\]{max-width:120px}.max-w-\[160px\]{max-width:160px}.max-w-\[16rem\]{max-width:16rem}.max-w-\[200px\]{max-width:200px}.max-w-\[22px\]{max-width:22px}.max-w-\[260px\]{max-width:260px}.max-w-\[300px\]{max-width:300px}.max-w-\[340px\]{max-width:340px}.max-w-\[420px\]{max-width:420px}.max-w-\[50\%\]{max-width:50%}.max-w-\[640px\]{max-width:640px}.max-w-fit{max-width:-moz-fit-content;max-width:fit-content}.max-w-full{max-width:100%}.max-w-lg{max-width:32rem}.max-w-max{max-width:-moz-max-content;max-width:max-content}.max-w-md{max-width:28rem}.max-w-min{max-width:-moz-min-content;max-width:min-content}.max-w-prose{max-width:65ch}.max-w-sm{max-width:24rem}.max-w-xl{max-width:36rem}.max-w-xs{max-width:20rem}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-none{flex:none}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.basis-1\/2{flex-basis:50%}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.-translate-x-1\/2,.-translate-x-2\/4{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2,.-translate-y-2\/4{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-1{--tw-translate-y: .25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-0{--tw-rotate: 0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate: 45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-\[-90deg\]{--tw-rotate: -90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-scale-y-100,.scale-y-\[-1\]{--tw-scale-y: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-move{cursor:move}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.select-text{-webkit-user-select:text;-moz-user-select:text;user-select:text}.select-auto{-webkit-user-select:auto;-moz-user-select:auto;user-select:auto}.resize{resize:both}.list-none{list-style-type:none}.list-image-none{list-style-image:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.grid-cols-6{grid-template-columns:repeat(6,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.grid-cols-8{grid-template-columns:repeat(8,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.place-items-end{place-items:end}.place-items-center{place-items:center}.\!items-start{align-items:flex-start!important}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-normal{justify-content:normal}.\!justify-start{justify-content:flex-start!important}.justify-start{justify-content:flex-start}.\!justify-end{justify-content:flex-end!important}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-items-center{justify-items:center}.gap-0{gap:0px}.gap-0\.5{gap:.125rem}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-10{gap:2.5rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-2{-moz-column-gap:.5rem;column-gap:.5rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(0px * var(--tw-space-x-reverse));margin-left:calc(0px * calc(1 - var(--tw-space-x-reverse)))}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.25rem * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.self-start{align-self:flex-start}.self-end{align-self:flex-end}.self-center{align-self:center}.self-stretch{align-self:stretch}.justify-self-end{justify-self:end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-clip{overflow:clip}.\!overflow-visible{overflow:visible!important}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-ellipsis,.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre{white-space:pre}.whitespace-pre-wrap{white-space:pre-wrap}.whitespace-break-spaces{white-space:break-spaces}.break-words{overflow-wrap:break-word}.\!rounded-lg{border-radius:var(--radius)!important}.\!rounded-md{border-radius:calc(var(--radius) - 2px)!important}.rounded{border-radius:.25rem}.rounded-\[4px\]{border-radius:4px}.rounded-\[inherit\]{border-radius:inherit}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-none{border-radius:0}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xl{border-radius:.75rem}.rounded-b-lg{border-bottom-right-radius:var(--radius);border-bottom-left-radius:var(--radius)}.rounded-b-md{border-bottom-right-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-tl-sm{border-top-left-radius:calc(var(--radius) - 4px)}.\!border{border-width:1px!important}.\!border-0{border-width:0px!important}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-\[0\]{border-width:0}.border-\[0px\]{border-width:0px}.border-\[1px\]{border-width:1px}.border-\[2px\]{border-width:2px}.border-\[3px\]{border-width:3px}.border-b{border-bottom-width:1px}.border-b-0{border-bottom-width:0px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-l-\[0\]{border-left-width:0}.border-l-\[0px\]{border-left-width:0px}.border-l-\[1px\]{border-left-width:1px}.border-l-\[2px\]{border-left-width:2px}.border-l-\[3px\]{border-left-width:3px}.border-l-\[4px\]{border-left-width:4px}.border-l-\[5px\]{border-left-width:5px}.border-r-0{border-right-width:0px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0px}.border-t-2{border-top-width:2px}.border-dashed{border-style:dashed}.border-none{border-style:none}.\!border-blue-400{--tw-border-opacity: 1 !important;border-color:rgb(96 165 250 / var(--tw-border-opacity))!important}.\!border-green-400{--tw-border-opacity: 1 !important;border-color:rgb(74 222 128 / var(--tw-border-opacity))!important}.\!border-green-500{--tw-border-opacity: 1 !important;border-color:rgb(34 197 94 / var(--tw-border-opacity))!important}.\!border-green-600{--tw-border-opacity: 1 !important;border-color:rgb(22 163 74 / var(--tw-border-opacity))!important}.\!border-red-400{--tw-border-opacity: 1 !important;border-color:rgb(248 113 113 / var(--tw-border-opacity))!important}.\!border-yellow-600{--tw-border-opacity: 1 !important;border-color:rgb(202 138 4 / var(--tw-border-opacity))!important}.border-amber-100{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity))}.border-amber-200{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity))}.border-amber-300{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity))}.border-amber-400{--tw-border-opacity: 1;border-color:rgb(251 191 36 / var(--tw-border-opacity))}.border-amber-50{--tw-border-opacity: 1;border-color:rgb(255 251 235 / var(--tw-border-opacity))}.border-amber-500{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity))}.border-amber-600{--tw-border-opacity: 1;border-color:rgb(217 119 6 / var(--tw-border-opacity))}.border-amber-700{--tw-border-opacity: 1;border-color:rgb(180 83 9 / var(--tw-border-opacity))}.border-amber-800{--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity))}.border-amber-900{--tw-border-opacity: 1;border-color:rgb(120 53 15 / var(--tw-border-opacity))}.border-amber-950{--tw-border-opacity: 1;border-color:rgb(69 26 3 / var(--tw-border-opacity))}.border-blue-100{--tw-border-opacity: 1;border-color:rgb(219 234 254 / var(--tw-border-opacity))}.border-blue-200{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity))}.border-blue-300{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-blue-400{--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}.border-blue-50{--tw-border-opacity: 1;border-color:rgb(239 246 255 / var(--tw-border-opacity))}.border-blue-500{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-blue-600{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}.border-blue-700{--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity))}.border-blue-800{--tw-border-opacity: 1;border-color:rgb(30 64 175 / var(--tw-border-opacity))}.border-blue-900{--tw-border-opacity: 1;border-color:rgb(30 58 138 / var(--tw-border-opacity))}.border-blue-950{--tw-border-opacity: 1;border-color:rgb(23 37 84 / var(--tw-border-opacity))}.border-border{border-color:hsl(var(--border))}.border-cyan-100{--tw-border-opacity: 1;border-color:rgb(207 250 254 / var(--tw-border-opacity))}.border-cyan-200{--tw-border-opacity: 1;border-color:rgb(165 243 252 / var(--tw-border-opacity))}.border-cyan-300{--tw-border-opacity: 1;border-color:rgb(103 232 249 / var(--tw-border-opacity))}.border-cyan-400{--tw-border-opacity: 1;border-color:rgb(34 211 238 / var(--tw-border-opacity))}.border-cyan-50{--tw-border-opacity: 1;border-color:rgb(236 254 255 / var(--tw-border-opacity))}.border-cyan-500{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity))}.border-cyan-600{--tw-border-opacity: 1;border-color:rgb(8 145 178 / var(--tw-border-opacity))}.border-cyan-700{--tw-border-opacity: 1;border-color:rgb(14 116 144 / var(--tw-border-opacity))}.border-cyan-800{--tw-border-opacity: 1;border-color:rgb(21 94 117 / var(--tw-border-opacity))}.border-cyan-900{--tw-border-opacity: 1;border-color:rgb(22 78 99 / var(--tw-border-opacity))}.border-cyan-950{--tw-border-opacity: 1;border-color:rgb(8 51 68 / var(--tw-border-opacity))}.border-destructive{border-color:hsl(var(--destructive))}.border-destructive\/50{border-color:hsl(var(--destructive) / .5)}.border-emerald-100{--tw-border-opacity: 1;border-color:rgb(209 250 229 / var(--tw-border-opacity))}.border-emerald-200{--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity))}.border-emerald-300{--tw-border-opacity: 1;border-color:rgb(110 231 183 / var(--tw-border-opacity))}.border-emerald-400{--tw-border-opacity: 1;border-color:rgb(52 211 153 / var(--tw-border-opacity))}.border-emerald-50{--tw-border-opacity: 1;border-color:rgb(236 253 245 / var(--tw-border-opacity))}.border-emerald-500{--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity))}.border-emerald-600{--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity))}.border-emerald-700{--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity))}.border-emerald-800{--tw-border-opacity: 1;border-color:rgb(6 95 70 / var(--tw-border-opacity))}.border-emerald-900{--tw-border-opacity: 1;border-color:rgb(6 78 59 / var(--tw-border-opacity))}.border-emerald-950{--tw-border-opacity: 1;border-color:rgb(2 44 34 / var(--tw-border-opacity))}.border-fuchsia-100{--tw-border-opacity: 1;border-color:rgb(250 232 255 / var(--tw-border-opacity))}.border-fuchsia-200{--tw-border-opacity: 1;border-color:rgb(245 208 254 / var(--tw-border-opacity))}.border-fuchsia-300{--tw-border-opacity: 1;border-color:rgb(240 171 252 / var(--tw-border-opacity))}.border-fuchsia-400{--tw-border-opacity: 1;border-color:rgb(232 121 249 / var(--tw-border-opacity))}.border-fuchsia-50{--tw-border-opacity: 1;border-color:rgb(253 244 255 / var(--tw-border-opacity))}.border-fuchsia-500{--tw-border-opacity: 1;border-color:rgb(217 70 239 / var(--tw-border-opacity))}.border-fuchsia-600{--tw-border-opacity: 1;border-color:rgb(192 38 211 / var(--tw-border-opacity))}.border-fuchsia-700{--tw-border-opacity: 1;border-color:rgb(162 28 175 / var(--tw-border-opacity))}.border-fuchsia-800{--tw-border-opacity: 1;border-color:rgb(134 25 143 / var(--tw-border-opacity))}.border-fuchsia-900{--tw-border-opacity: 1;border-color:rgb(112 26 117 / var(--tw-border-opacity))}.border-fuchsia-950{--tw-border-opacity: 1;border-color:rgb(74 4 78 / var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-200\/80{border-color:#e5e7ebcc}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-300\/70{border-color:#d1d5dbb3}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-gray-50{--tw-border-opacity: 1;border-color:rgb(249 250 251 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-gray-600{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-gray-700{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-gray-800{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-gray-900{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-gray-950{--tw-border-opacity: 1;border-color:rgb(3 7 18 / var(--tw-border-opacity))}.border-green-100{--tw-border-opacity: 1;border-color:rgb(220 252 231 / var(--tw-border-opacity))}.border-green-200{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity))}.border-green-300{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}.border-green-400{--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity))}.border-green-50{--tw-border-opacity: 1;border-color:rgb(240 253 244 / var(--tw-border-opacity))}.border-green-500{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}.border-green-600{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity))}.border-green-700{--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity))}.border-green-800{--tw-border-opacity: 1;border-color:rgb(22 101 52 / var(--tw-border-opacity))}.border-green-900{--tw-border-opacity: 1;border-color:rgb(20 83 45 / var(--tw-border-opacity))}.border-green-950{--tw-border-opacity: 1;border-color:rgb(5 46 22 / var(--tw-border-opacity))}.border-grey-20{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-grey-30{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-indigo-100{--tw-border-opacity: 1;border-color:rgb(224 231 255 / var(--tw-border-opacity))}.border-indigo-200{--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity))}.border-indigo-300{--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity))}.border-indigo-400{--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity))}.border-indigo-50{--tw-border-opacity: 1;border-color:rgb(238 242 255 / var(--tw-border-opacity))}.border-indigo-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-indigo-600{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity))}.border-indigo-700{--tw-border-opacity: 1;border-color:rgb(67 56 202 / var(--tw-border-opacity))}.border-indigo-800{--tw-border-opacity: 1;border-color:rgb(55 48 163 / var(--tw-border-opacity))}.border-indigo-900{--tw-border-opacity: 1;border-color:rgb(49 46 129 / var(--tw-border-opacity))}.border-indigo-950{--tw-border-opacity: 1;border-color:rgb(30 27 75 / var(--tw-border-opacity))}.border-input{border-color:hsl(var(--input))}.border-lime-100{--tw-border-opacity: 1;border-color:rgb(236 252 203 / var(--tw-border-opacity))}.border-lime-200{--tw-border-opacity: 1;border-color:rgb(217 249 157 / var(--tw-border-opacity))}.border-lime-300{--tw-border-opacity: 1;border-color:rgb(190 242 100 / var(--tw-border-opacity))}.border-lime-400{--tw-border-opacity: 1;border-color:rgb(163 230 53 / var(--tw-border-opacity))}.border-lime-50{--tw-border-opacity: 1;border-color:rgb(247 254 231 / var(--tw-border-opacity))}.border-lime-500{--tw-border-opacity: 1;border-color:rgb(132 204 22 / var(--tw-border-opacity))}.border-lime-600{--tw-border-opacity: 1;border-color:rgb(101 163 13 / var(--tw-border-opacity))}.border-lime-700{--tw-border-opacity: 1;border-color:rgb(77 124 15 / var(--tw-border-opacity))}.border-lime-800{--tw-border-opacity: 1;border-color:rgb(63 98 18 / var(--tw-border-opacity))}.border-lime-900{--tw-border-opacity: 1;border-color:rgb(54 83 20 / var(--tw-border-opacity))}.border-lime-950{--tw-border-opacity: 1;border-color:rgb(26 46 5 / var(--tw-border-opacity))}.border-neutral-100{--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity))}.border-neutral-200{--tw-border-opacity: 1;border-color:rgb(229 229 229 / var(--tw-border-opacity))}.border-neutral-300{--tw-border-opacity: 1;border-color:rgb(212 212 212 / var(--tw-border-opacity))}.border-neutral-400{--tw-border-opacity: 1;border-color:rgb(163 163 163 / var(--tw-border-opacity))}.border-neutral-50{--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}.border-neutral-500{--tw-border-opacity: 1;border-color:rgb(115 115 115 / var(--tw-border-opacity))}.border-neutral-600{--tw-border-opacity: 1;border-color:rgb(82 82 82 / var(--tw-border-opacity))}.border-neutral-700{--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}.border-neutral-800{--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity))}.border-neutral-900{--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity))}.border-neutral-950{--tw-border-opacity: 1;border-color:rgb(10 10 10 / var(--tw-border-opacity))}.border-orange-100{--tw-border-opacity: 1;border-color:rgb(255 237 213 / var(--tw-border-opacity))}.border-orange-200{--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity))}.border-orange-300{--tw-border-opacity: 1;border-color:rgb(253 186 116 / var(--tw-border-opacity))}.border-orange-300\/50{border-color:#fdba7480}.border-orange-400{--tw-border-opacity: 1;border-color:rgb(251 146 60 / var(--tw-border-opacity))}.border-orange-50{--tw-border-opacity: 1;border-color:rgb(255 247 237 / var(--tw-border-opacity))}.border-orange-500{--tw-border-opacity: 1;border-color:rgb(249 115 22 / var(--tw-border-opacity))}.border-orange-600{--tw-border-opacity: 1;border-color:rgb(234 88 12 / var(--tw-border-opacity))}.border-orange-700{--tw-border-opacity: 1;border-color:rgb(194 65 12 / var(--tw-border-opacity))}.border-orange-800{--tw-border-opacity: 1;border-color:rgb(154 52 18 / var(--tw-border-opacity))}.border-orange-900{--tw-border-opacity: 1;border-color:rgb(124 45 18 / var(--tw-border-opacity))}.border-orange-950{--tw-border-opacity: 1;border-color:rgb(67 20 7 / var(--tw-border-opacity))}.border-pink-100{--tw-border-opacity: 1;border-color:rgb(252 231 243 / var(--tw-border-opacity))}.border-pink-200{--tw-border-opacity: 1;border-color:rgb(251 207 232 / var(--tw-border-opacity))}.border-pink-300{--tw-border-opacity: 1;border-color:rgb(249 168 212 / var(--tw-border-opacity))}.border-pink-400{--tw-border-opacity: 1;border-color:rgb(244 114 182 / var(--tw-border-opacity))}.border-pink-50{--tw-border-opacity: 1;border-color:rgb(253 242 248 / var(--tw-border-opacity))}.border-pink-500{--tw-border-opacity: 1;border-color:rgb(236 72 153 / var(--tw-border-opacity))}.border-pink-600{--tw-border-opacity: 1;border-color:rgb(219 39 119 / var(--tw-border-opacity))}.border-pink-700{--tw-border-opacity: 1;border-color:rgb(190 24 93 / var(--tw-border-opacity))}.border-pink-800{--tw-border-opacity: 1;border-color:rgb(157 23 77 / var(--tw-border-opacity))}.border-pink-900{--tw-border-opacity: 1;border-color:rgb(131 24 67 / var(--tw-border-opacity))}.border-pink-950{--tw-border-opacity: 1;border-color:rgb(80 7 36 / var(--tw-border-opacity))}.border-primary{border-color:hsl(var(--primary))}.border-purple-100{--tw-border-opacity: 1;border-color:rgb(243 232 255 / var(--tw-border-opacity))}.border-purple-200{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity))}.border-purple-300{--tw-border-opacity: 1;border-color:rgb(216 180 254 / var(--tw-border-opacity))}.border-purple-400{--tw-border-opacity: 1;border-color:rgb(192 132 252 / var(--tw-border-opacity))}.border-purple-50{--tw-border-opacity: 1;border-color:rgb(250 245 255 / var(--tw-border-opacity))}.border-purple-500{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity))}.border-purple-600{--tw-border-opacity: 1;border-color:rgb(147 51 234 / var(--tw-border-opacity))}.border-purple-700{--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity))}.border-purple-800{--tw-border-opacity: 1;border-color:rgb(107 33 168 / var(--tw-border-opacity))}.border-purple-900{--tw-border-opacity: 1;border-color:rgb(88 28 135 / var(--tw-border-opacity))}.border-purple-950{--tw-border-opacity: 1;border-color:rgb(59 7 100 / var(--tw-border-opacity))}.border-red-100{--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity))}.border-red-200{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity))}.border-red-300{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}.border-red-400{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity))}.border-red-50{--tw-border-opacity: 1;border-color:rgb(254 242 242 / var(--tw-border-opacity))}.border-red-500{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-red-600{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}.border-red-700{--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity))}.border-red-800{--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity))}.border-red-900{--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}.border-red-950{--tw-border-opacity: 1;border-color:rgb(69 10 10 / var(--tw-border-opacity))}.border-rose-100{--tw-border-opacity: 1;border-color:rgb(255 228 230 / var(--tw-border-opacity))}.border-rose-200{--tw-border-opacity: 1;border-color:rgb(254 205 211 / var(--tw-border-opacity))}.border-rose-300{--tw-border-opacity: 1;border-color:rgb(253 164 175 / var(--tw-border-opacity))}.border-rose-400{--tw-border-opacity: 1;border-color:rgb(251 113 133 / var(--tw-border-opacity))}.border-rose-50{--tw-border-opacity: 1;border-color:rgb(255 241 242 / var(--tw-border-opacity))}.border-rose-500{--tw-border-opacity: 1;border-color:rgb(244 63 94 / var(--tw-border-opacity))}.border-rose-600{--tw-border-opacity: 1;border-color:rgb(225 29 72 / var(--tw-border-opacity))}.border-rose-700{--tw-border-opacity: 1;border-color:rgb(190 18 60 / var(--tw-border-opacity))}.border-rose-800{--tw-border-opacity: 1;border-color:rgb(159 18 57 / var(--tw-border-opacity))}.border-rose-900{--tw-border-opacity: 1;border-color:rgb(136 19 55 / var(--tw-border-opacity))}.border-rose-950{--tw-border-opacity: 1;border-color:rgb(76 5 25 / var(--tw-border-opacity))}.border-sky-100{--tw-border-opacity: 1;border-color:rgb(224 242 254 / var(--tw-border-opacity))}.border-sky-200{--tw-border-opacity: 1;border-color:rgb(186 230 253 / var(--tw-border-opacity))}.border-sky-300{--tw-border-opacity: 1;border-color:rgb(125 211 252 / var(--tw-border-opacity))}.border-sky-400{--tw-border-opacity: 1;border-color:rgb(56 189 248 / var(--tw-border-opacity))}.border-sky-50{--tw-border-opacity: 1;border-color:rgb(240 249 255 / var(--tw-border-opacity))}.border-sky-500{--tw-border-opacity: 1;border-color:rgb(14 165 233 / var(--tw-border-opacity))}.border-sky-600{--tw-border-opacity: 1;border-color:rgb(2 132 199 / var(--tw-border-opacity))}.border-sky-700{--tw-border-opacity: 1;border-color:rgb(3 105 161 / var(--tw-border-opacity))}.border-sky-800{--tw-border-opacity: 1;border-color:rgb(7 89 133 / var(--tw-border-opacity))}.border-sky-900{--tw-border-opacity: 1;border-color:rgb(12 74 110 / var(--tw-border-opacity))}.border-sky-950{--tw-border-opacity: 1;border-color:rgb(8 47 73 / var(--tw-border-opacity))}.border-slate-100{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity))}.border-slate-200{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.border-slate-200\/50{border-color:#e2e8f080}.border-slate-300{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity))}.border-slate-300\/80{border-color:#cbd5e1cc}.border-slate-400{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.border-slate-400\/70{border-color:#94a3b8b3}.border-slate-50{--tw-border-opacity: 1;border-color:rgb(248 250 252 / var(--tw-border-opacity))}.border-slate-500{--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity))}.border-slate-600{--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity))}.border-slate-700{--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}.border-slate-800{--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}.border-slate-900{--tw-border-opacity: 1;border-color:rgb(15 23 42 / var(--tw-border-opacity))}.border-slate-950{--tw-border-opacity: 1;border-color:rgb(2 6 23 / var(--tw-border-opacity))}.border-stone-100{--tw-border-opacity: 1;border-color:rgb(245 245 244 / var(--tw-border-opacity))}.border-stone-200{--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity))}.border-stone-300{--tw-border-opacity: 1;border-color:rgb(214 211 209 / var(--tw-border-opacity))}.border-stone-400{--tw-border-opacity: 1;border-color:rgb(168 162 158 / var(--tw-border-opacity))}.border-stone-50{--tw-border-opacity: 1;border-color:rgb(250 250 249 / var(--tw-border-opacity))}.border-stone-500{--tw-border-opacity: 1;border-color:rgb(120 113 108 / var(--tw-border-opacity))}.border-stone-600{--tw-border-opacity: 1;border-color:rgb(87 83 78 / var(--tw-border-opacity))}.border-stone-700{--tw-border-opacity: 1;border-color:rgb(68 64 60 / var(--tw-border-opacity))}.border-stone-800{--tw-border-opacity: 1;border-color:rgb(41 37 36 / var(--tw-border-opacity))}.border-stone-900{--tw-border-opacity: 1;border-color:rgb(28 25 23 / var(--tw-border-opacity))}.border-stone-950{--tw-border-opacity: 1;border-color:rgb(12 10 9 / var(--tw-border-opacity))}.border-teal-100{--tw-border-opacity: 1;border-color:rgb(204 251 241 / var(--tw-border-opacity))}.border-teal-200{--tw-border-opacity: 1;border-color:rgb(153 246 228 / var(--tw-border-opacity))}.border-teal-300{--tw-border-opacity: 1;border-color:rgb(94 234 212 / var(--tw-border-opacity))}.border-teal-400{--tw-border-opacity: 1;border-color:rgb(45 212 191 / var(--tw-border-opacity))}.border-teal-50{--tw-border-opacity: 1;border-color:rgb(240 253 250 / var(--tw-border-opacity))}.border-teal-500{--tw-border-opacity: 1;border-color:rgb(20 184 166 / var(--tw-border-opacity))}.border-teal-600{--tw-border-opacity: 1;border-color:rgb(13 148 136 / var(--tw-border-opacity))}.border-teal-700{--tw-border-opacity: 1;border-color:rgb(15 118 110 / var(--tw-border-opacity))}.border-teal-800{--tw-border-opacity: 1;border-color:rgb(17 94 89 / var(--tw-border-opacity))}.border-teal-900{--tw-border-opacity: 1;border-color:rgb(19 78 74 / var(--tw-border-opacity))}.border-teal-950{--tw-border-opacity: 1;border-color:rgb(4 47 46 / var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-violet-100{--tw-border-opacity: 1;border-color:rgb(237 233 254 / var(--tw-border-opacity))}.border-violet-200{--tw-border-opacity: 1;border-color:rgb(221 214 254 / var(--tw-border-opacity))}.border-violet-300{--tw-border-opacity: 1;border-color:rgb(196 181 253 / var(--tw-border-opacity))}.border-violet-400{--tw-border-opacity: 1;border-color:rgb(167 139 250 / var(--tw-border-opacity))}.border-violet-50{--tw-border-opacity: 1;border-color:rgb(245 243 255 / var(--tw-border-opacity))}.border-violet-500{--tw-border-opacity: 1;border-color:rgb(139 92 246 / var(--tw-border-opacity))}.border-violet-600{--tw-border-opacity: 1;border-color:rgb(124 58 237 / var(--tw-border-opacity))}.border-violet-700{--tw-border-opacity: 1;border-color:rgb(109 40 217 / var(--tw-border-opacity))}.border-violet-800{--tw-border-opacity: 1;border-color:rgb(91 33 182 / var(--tw-border-opacity))}.border-violet-900{--tw-border-opacity: 1;border-color:rgb(76 29 149 / var(--tw-border-opacity))}.border-violet-950{--tw-border-opacity: 1;border-color:rgb(46 16 101 / var(--tw-border-opacity))}.border-white{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}.border-yellow-100{--tw-border-opacity: 1;border-color:rgb(254 249 195 / var(--tw-border-opacity))}.border-yellow-200{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity))}.border-yellow-300{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}.border-yellow-400{--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity))}.border-yellow-50{--tw-border-opacity: 1;border-color:rgb(254 252 232 / var(--tw-border-opacity))}.border-yellow-500{--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity))}.border-yellow-600{--tw-border-opacity: 1;border-color:rgb(202 138 4 / var(--tw-border-opacity))}.border-yellow-700{--tw-border-opacity: 1;border-color:rgb(161 98 7 / var(--tw-border-opacity))}.border-yellow-800{--tw-border-opacity: 1;border-color:rgb(133 77 14 / var(--tw-border-opacity))}.border-yellow-900{--tw-border-opacity: 1;border-color:rgb(113 63 18 / var(--tw-border-opacity))}.border-yellow-950{--tw-border-opacity: 1;border-color:rgb(66 32 6 / var(--tw-border-opacity))}.border-zinc-100{--tw-border-opacity: 1;border-color:rgb(244 244 245 / var(--tw-border-opacity))}.border-zinc-200{--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity))}.border-zinc-300{--tw-border-opacity: 1;border-color:rgb(212 212 216 / var(--tw-border-opacity))}.border-zinc-400{--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity))}.border-zinc-50{--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}.border-zinc-500{--tw-border-opacity: 1;border-color:rgb(113 113 122 / var(--tw-border-opacity))}.border-zinc-600{--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity))}.border-zinc-700{--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity))}.border-zinc-800{--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity))}.border-zinc-900{--tw-border-opacity: 1;border-color:rgb(24 24 27 / var(--tw-border-opacity))}.border-zinc-950{--tw-border-opacity: 1;border-color:rgb(9 9 11 / var(--tw-border-opacity))}.border-l-amber-100{--tw-border-opacity: 1;border-left-color:rgb(254 243 199 / var(--tw-border-opacity))}.border-l-amber-200{--tw-border-opacity: 1;border-left-color:rgb(253 230 138 / var(--tw-border-opacity))}.border-l-amber-300{--tw-border-opacity: 1;border-left-color:rgb(252 211 77 / var(--tw-border-opacity))}.border-l-amber-400{--tw-border-opacity: 1;border-left-color:rgb(251 191 36 / var(--tw-border-opacity))}.border-l-amber-50{--tw-border-opacity: 1;border-left-color:rgb(255 251 235 / var(--tw-border-opacity))}.border-l-amber-500{--tw-border-opacity: 1;border-left-color:rgb(245 158 11 / var(--tw-border-opacity))}.border-l-amber-600{--tw-border-opacity: 1;border-left-color:rgb(217 119 6 / var(--tw-border-opacity))}.border-l-amber-700{--tw-border-opacity: 1;border-left-color:rgb(180 83 9 / var(--tw-border-opacity))}.border-l-amber-800{--tw-border-opacity: 1;border-left-color:rgb(146 64 14 / var(--tw-border-opacity))}.border-l-amber-900{--tw-border-opacity: 1;border-left-color:rgb(120 53 15 / var(--tw-border-opacity))}.border-l-amber-950{--tw-border-opacity: 1;border-left-color:rgb(69 26 3 / var(--tw-border-opacity))}.border-l-blue-100{--tw-border-opacity: 1;border-left-color:rgb(219 234 254 / var(--tw-border-opacity))}.border-l-blue-200{--tw-border-opacity: 1;border-left-color:rgb(191 219 254 / var(--tw-border-opacity))}.border-l-blue-300{--tw-border-opacity: 1;border-left-color:rgb(147 197 253 / var(--tw-border-opacity))}.border-l-blue-400{--tw-border-opacity: 1;border-left-color:rgb(96 165 250 / var(--tw-border-opacity))}.border-l-blue-50{--tw-border-opacity: 1;border-left-color:rgb(239 246 255 / var(--tw-border-opacity))}.border-l-blue-500{--tw-border-opacity: 1;border-left-color:rgb(59 130 246 / var(--tw-border-opacity))}.border-l-blue-600{--tw-border-opacity: 1;border-left-color:rgb(37 99 235 / var(--tw-border-opacity))}.border-l-blue-700{--tw-border-opacity: 1;border-left-color:rgb(29 78 216 / var(--tw-border-opacity))}.border-l-blue-800{--tw-border-opacity: 1;border-left-color:rgb(30 64 175 / var(--tw-border-opacity))}.border-l-blue-900{--tw-border-opacity: 1;border-left-color:rgb(30 58 138 / var(--tw-border-opacity))}.border-l-blue-950{--tw-border-opacity: 1;border-left-color:rgb(23 37 84 / var(--tw-border-opacity))}.border-l-cyan-100{--tw-border-opacity: 1;border-left-color:rgb(207 250 254 / var(--tw-border-opacity))}.border-l-cyan-200{--tw-border-opacity: 1;border-left-color:rgb(165 243 252 / var(--tw-border-opacity))}.border-l-cyan-300{--tw-border-opacity: 1;border-left-color:rgb(103 232 249 / var(--tw-border-opacity))}.border-l-cyan-400{--tw-border-opacity: 1;border-left-color:rgb(34 211 238 / var(--tw-border-opacity))}.border-l-cyan-50{--tw-border-opacity: 1;border-left-color:rgb(236 254 255 / var(--tw-border-opacity))}.border-l-cyan-500{--tw-border-opacity: 1;border-left-color:rgb(6 182 212 / var(--tw-border-opacity))}.border-l-cyan-600{--tw-border-opacity: 1;border-left-color:rgb(8 145 178 / var(--tw-border-opacity))}.border-l-cyan-700{--tw-border-opacity: 1;border-left-color:rgb(14 116 144 / var(--tw-border-opacity))}.border-l-cyan-800{--tw-border-opacity: 1;border-left-color:rgb(21 94 117 / var(--tw-border-opacity))}.border-l-cyan-900{--tw-border-opacity: 1;border-left-color:rgb(22 78 99 / var(--tw-border-opacity))}.border-l-cyan-950{--tw-border-opacity: 1;border-left-color:rgb(8 51 68 / var(--tw-border-opacity))}.border-l-emerald-100{--tw-border-opacity: 1;border-left-color:rgb(209 250 229 / var(--tw-border-opacity))}.border-l-emerald-200{--tw-border-opacity: 1;border-left-color:rgb(167 243 208 / var(--tw-border-opacity))}.border-l-emerald-300{--tw-border-opacity: 1;border-left-color:rgb(110 231 183 / var(--tw-border-opacity))}.border-l-emerald-400{--tw-border-opacity: 1;border-left-color:rgb(52 211 153 / var(--tw-border-opacity))}.border-l-emerald-50{--tw-border-opacity: 1;border-left-color:rgb(236 253 245 / var(--tw-border-opacity))}.border-l-emerald-500{--tw-border-opacity: 1;border-left-color:rgb(16 185 129 / var(--tw-border-opacity))}.border-l-emerald-600{--tw-border-opacity: 1;border-left-color:rgb(5 150 105 / var(--tw-border-opacity))}.border-l-emerald-700{--tw-border-opacity: 1;border-left-color:rgb(4 120 87 / var(--tw-border-opacity))}.border-l-emerald-800{--tw-border-opacity: 1;border-left-color:rgb(6 95 70 / var(--tw-border-opacity))}.border-l-emerald-900{--tw-border-opacity: 1;border-left-color:rgb(6 78 59 / var(--tw-border-opacity))}.border-l-emerald-950{--tw-border-opacity: 1;border-left-color:rgb(2 44 34 / var(--tw-border-opacity))}.border-l-fuchsia-100{--tw-border-opacity: 1;border-left-color:rgb(250 232 255 / var(--tw-border-opacity))}.border-l-fuchsia-200{--tw-border-opacity: 1;border-left-color:rgb(245 208 254 / var(--tw-border-opacity))}.border-l-fuchsia-300{--tw-border-opacity: 1;border-left-color:rgb(240 171 252 / var(--tw-border-opacity))}.border-l-fuchsia-400{--tw-border-opacity: 1;border-left-color:rgb(232 121 249 / var(--tw-border-opacity))}.border-l-fuchsia-50{--tw-border-opacity: 1;border-left-color:rgb(253 244 255 / var(--tw-border-opacity))}.border-l-fuchsia-500{--tw-border-opacity: 1;border-left-color:rgb(217 70 239 / var(--tw-border-opacity))}.border-l-fuchsia-600{--tw-border-opacity: 1;border-left-color:rgb(192 38 211 / var(--tw-border-opacity))}.border-l-fuchsia-700{--tw-border-opacity: 1;border-left-color:rgb(162 28 175 / var(--tw-border-opacity))}.border-l-fuchsia-800{--tw-border-opacity: 1;border-left-color:rgb(134 25 143 / var(--tw-border-opacity))}.border-l-fuchsia-900{--tw-border-opacity: 1;border-left-color:rgb(112 26 117 / var(--tw-border-opacity))}.border-l-fuchsia-950{--tw-border-opacity: 1;border-left-color:rgb(74 4 78 / var(--tw-border-opacity))}.border-l-gray-100{--tw-border-opacity: 1;border-left-color:rgb(243 244 246 / var(--tw-border-opacity))}.border-l-gray-200{--tw-border-opacity: 1;border-left-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-l-gray-300{--tw-border-opacity: 1;border-left-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-l-gray-400{--tw-border-opacity: 1;border-left-color:rgb(156 163 175 / var(--tw-border-opacity))}.border-l-gray-50{--tw-border-opacity: 1;border-left-color:rgb(249 250 251 / var(--tw-border-opacity))}.border-l-gray-500{--tw-border-opacity: 1;border-left-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-l-gray-600{--tw-border-opacity: 1;border-left-color:rgb(75 85 99 / var(--tw-border-opacity))}.border-l-gray-700{--tw-border-opacity: 1;border-left-color:rgb(55 65 81 / var(--tw-border-opacity))}.border-l-gray-800{--tw-border-opacity: 1;border-left-color:rgb(31 41 55 / var(--tw-border-opacity))}.border-l-gray-900{--tw-border-opacity: 1;border-left-color:rgb(17 24 39 / var(--tw-border-opacity))}.border-l-gray-950{--tw-border-opacity: 1;border-left-color:rgb(3 7 18 / var(--tw-border-opacity))}.border-l-green-100{--tw-border-opacity: 1;border-left-color:rgb(220 252 231 / var(--tw-border-opacity))}.border-l-green-200{--tw-border-opacity: 1;border-left-color:rgb(187 247 208 / var(--tw-border-opacity))}.border-l-green-300{--tw-border-opacity: 1;border-left-color:rgb(134 239 172 / var(--tw-border-opacity))}.border-l-green-400{--tw-border-opacity: 1;border-left-color:rgb(74 222 128 / var(--tw-border-opacity))}.border-l-green-50{--tw-border-opacity: 1;border-left-color:rgb(240 253 244 / var(--tw-border-opacity))}.border-l-green-500{--tw-border-opacity: 1;border-left-color:rgb(34 197 94 / var(--tw-border-opacity))}.border-l-green-600{--tw-border-opacity: 1;border-left-color:rgb(22 163 74 / var(--tw-border-opacity))}.border-l-green-700{--tw-border-opacity: 1;border-left-color:rgb(21 128 61 / var(--tw-border-opacity))}.border-l-green-800{--tw-border-opacity: 1;border-left-color:rgb(22 101 52 / var(--tw-border-opacity))}.border-l-green-900{--tw-border-opacity: 1;border-left-color:rgb(20 83 45 / var(--tw-border-opacity))}.border-l-green-950{--tw-border-opacity: 1;border-left-color:rgb(5 46 22 / var(--tw-border-opacity))}.border-l-indigo-100{--tw-border-opacity: 1;border-left-color:rgb(224 231 255 / var(--tw-border-opacity))}.border-l-indigo-200{--tw-border-opacity: 1;border-left-color:rgb(199 210 254 / var(--tw-border-opacity))}.border-l-indigo-300{--tw-border-opacity: 1;border-left-color:rgb(165 180 252 / var(--tw-border-opacity))}.border-l-indigo-400{--tw-border-opacity: 1;border-left-color:rgb(129 140 248 / var(--tw-border-opacity))}.border-l-indigo-50{--tw-border-opacity: 1;border-left-color:rgb(238 242 255 / var(--tw-border-opacity))}.border-l-indigo-500{--tw-border-opacity: 1;border-left-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-l-indigo-600{--tw-border-opacity: 1;border-left-color:rgb(79 70 229 / var(--tw-border-opacity))}.border-l-indigo-700{--tw-border-opacity: 1;border-left-color:rgb(67 56 202 / var(--tw-border-opacity))}.border-l-indigo-800{--tw-border-opacity: 1;border-left-color:rgb(55 48 163 / var(--tw-border-opacity))}.border-l-indigo-900{--tw-border-opacity: 1;border-left-color:rgb(49 46 129 / var(--tw-border-opacity))}.border-l-indigo-950{--tw-border-opacity: 1;border-left-color:rgb(30 27 75 / var(--tw-border-opacity))}.border-l-lime-100{--tw-border-opacity: 1;border-left-color:rgb(236 252 203 / var(--tw-border-opacity))}.border-l-lime-200{--tw-border-opacity: 1;border-left-color:rgb(217 249 157 / var(--tw-border-opacity))}.border-l-lime-300{--tw-border-opacity: 1;border-left-color:rgb(190 242 100 / var(--tw-border-opacity))}.border-l-lime-400{--tw-border-opacity: 1;border-left-color:rgb(163 230 53 / var(--tw-border-opacity))}.border-l-lime-50{--tw-border-opacity: 1;border-left-color:rgb(247 254 231 / var(--tw-border-opacity))}.border-l-lime-500{--tw-border-opacity: 1;border-left-color:rgb(132 204 22 / var(--tw-border-opacity))}.border-l-lime-600{--tw-border-opacity: 1;border-left-color:rgb(101 163 13 / var(--tw-border-opacity))}.border-l-lime-700{--tw-border-opacity: 1;border-left-color:rgb(77 124 15 / var(--tw-border-opacity))}.border-l-lime-800{--tw-border-opacity: 1;border-left-color:rgb(63 98 18 / var(--tw-border-opacity))}.border-l-lime-900{--tw-border-opacity: 1;border-left-color:rgb(54 83 20 / var(--tw-border-opacity))}.border-l-lime-950{--tw-border-opacity: 1;border-left-color:rgb(26 46 5 / var(--tw-border-opacity))}.border-l-neutral-100{--tw-border-opacity: 1;border-left-color:rgb(245 245 245 / var(--tw-border-opacity))}.border-l-neutral-200{--tw-border-opacity: 1;border-left-color:rgb(229 229 229 / var(--tw-border-opacity))}.border-l-neutral-300{--tw-border-opacity: 1;border-left-color:rgb(212 212 212 / var(--tw-border-opacity))}.border-l-neutral-400{--tw-border-opacity: 1;border-left-color:rgb(163 163 163 / var(--tw-border-opacity))}.border-l-neutral-50{--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}.border-l-neutral-500{--tw-border-opacity: 1;border-left-color:rgb(115 115 115 / var(--tw-border-opacity))}.border-l-neutral-600{--tw-border-opacity: 1;border-left-color:rgb(82 82 82 / var(--tw-border-opacity))}.border-l-neutral-700{--tw-border-opacity: 1;border-left-color:rgb(64 64 64 / var(--tw-border-opacity))}.border-l-neutral-800{--tw-border-opacity: 1;border-left-color:rgb(38 38 38 / var(--tw-border-opacity))}.border-l-neutral-900{--tw-border-opacity: 1;border-left-color:rgb(23 23 23 / var(--tw-border-opacity))}.border-l-neutral-950{--tw-border-opacity: 1;border-left-color:rgb(10 10 10 / var(--tw-border-opacity))}.border-l-orange-100{--tw-border-opacity: 1;border-left-color:rgb(255 237 213 / var(--tw-border-opacity))}.border-l-orange-200{--tw-border-opacity: 1;border-left-color:rgb(254 215 170 / var(--tw-border-opacity))}.border-l-orange-300{--tw-border-opacity: 1;border-left-color:rgb(253 186 116 / var(--tw-border-opacity))}.border-l-orange-400{--tw-border-opacity: 1;border-left-color:rgb(251 146 60 / var(--tw-border-opacity))}.border-l-orange-50{--tw-border-opacity: 1;border-left-color:rgb(255 247 237 / var(--tw-border-opacity))}.border-l-orange-500{--tw-border-opacity: 1;border-left-color:rgb(249 115 22 / var(--tw-border-opacity))}.border-l-orange-600{--tw-border-opacity: 1;border-left-color:rgb(234 88 12 / var(--tw-border-opacity))}.border-l-orange-700{--tw-border-opacity: 1;border-left-color:rgb(194 65 12 / var(--tw-border-opacity))}.border-l-orange-800{--tw-border-opacity: 1;border-left-color:rgb(154 52 18 / var(--tw-border-opacity))}.border-l-orange-900{--tw-border-opacity: 1;border-left-color:rgb(124 45 18 / var(--tw-border-opacity))}.border-l-orange-950{--tw-border-opacity: 1;border-left-color:rgb(67 20 7 / var(--tw-border-opacity))}.border-l-pink-100{--tw-border-opacity: 1;border-left-color:rgb(252 231 243 / var(--tw-border-opacity))}.border-l-pink-200{--tw-border-opacity: 1;border-left-color:rgb(251 207 232 / var(--tw-border-opacity))}.border-l-pink-300{--tw-border-opacity: 1;border-left-color:rgb(249 168 212 / var(--tw-border-opacity))}.border-l-pink-400{--tw-border-opacity: 1;border-left-color:rgb(244 114 182 / var(--tw-border-opacity))}.border-l-pink-50{--tw-border-opacity: 1;border-left-color:rgb(253 242 248 / var(--tw-border-opacity))}.border-l-pink-500{--tw-border-opacity: 1;border-left-color:rgb(236 72 153 / var(--tw-border-opacity))}.border-l-pink-600{--tw-border-opacity: 1;border-left-color:rgb(219 39 119 / var(--tw-border-opacity))}.border-l-pink-700{--tw-border-opacity: 1;border-left-color:rgb(190 24 93 / var(--tw-border-opacity))}.border-l-pink-800{--tw-border-opacity: 1;border-left-color:rgb(157 23 77 / var(--tw-border-opacity))}.border-l-pink-900{--tw-border-opacity: 1;border-left-color:rgb(131 24 67 / var(--tw-border-opacity))}.border-l-pink-950{--tw-border-opacity: 1;border-left-color:rgb(80 7 36 / var(--tw-border-opacity))}.border-l-purple-100{--tw-border-opacity: 1;border-left-color:rgb(243 232 255 / var(--tw-border-opacity))}.border-l-purple-200{--tw-border-opacity: 1;border-left-color:rgb(233 213 255 / var(--tw-border-opacity))}.border-l-purple-300{--tw-border-opacity: 1;border-left-color:rgb(216 180 254 / var(--tw-border-opacity))}.border-l-purple-400{--tw-border-opacity: 1;border-left-color:rgb(192 132 252 / var(--tw-border-opacity))}.border-l-purple-50{--tw-border-opacity: 1;border-left-color:rgb(250 245 255 / var(--tw-border-opacity))}.border-l-purple-500{--tw-border-opacity: 1;border-left-color:rgb(168 85 247 / var(--tw-border-opacity))}.border-l-purple-600{--tw-border-opacity: 1;border-left-color:rgb(147 51 234 / var(--tw-border-opacity))}.border-l-purple-700{--tw-border-opacity: 1;border-left-color:rgb(126 34 206 / var(--tw-border-opacity))}.border-l-purple-800{--tw-border-opacity: 1;border-left-color:rgb(107 33 168 / var(--tw-border-opacity))}.border-l-purple-900{--tw-border-opacity: 1;border-left-color:rgb(88 28 135 / var(--tw-border-opacity))}.border-l-purple-950{--tw-border-opacity: 1;border-left-color:rgb(59 7 100 / var(--tw-border-opacity))}.border-l-red-100{--tw-border-opacity: 1;border-left-color:rgb(254 226 226 / var(--tw-border-opacity))}.border-l-red-200{--tw-border-opacity: 1;border-left-color:rgb(254 202 202 / var(--tw-border-opacity))}.border-l-red-300{--tw-border-opacity: 1;border-left-color:rgb(252 165 165 / var(--tw-border-opacity))}.border-l-red-400{--tw-border-opacity: 1;border-left-color:rgb(248 113 113 / var(--tw-border-opacity))}.border-l-red-50{--tw-border-opacity: 1;border-left-color:rgb(254 242 242 / var(--tw-border-opacity))}.border-l-red-500{--tw-border-opacity: 1;border-left-color:rgb(239 68 68 / var(--tw-border-opacity))}.border-l-red-600{--tw-border-opacity: 1;border-left-color:rgb(220 38 38 / var(--tw-border-opacity))}.border-l-red-700{--tw-border-opacity: 1;border-left-color:rgb(185 28 28 / var(--tw-border-opacity))}.border-l-red-800{--tw-border-opacity: 1;border-left-color:rgb(153 27 27 / var(--tw-border-opacity))}.border-l-red-900{--tw-border-opacity: 1;border-left-color:rgb(127 29 29 / var(--tw-border-opacity))}.border-l-red-950{--tw-border-opacity: 1;border-left-color:rgb(69 10 10 / var(--tw-border-opacity))}.border-l-rose-100{--tw-border-opacity: 1;border-left-color:rgb(255 228 230 / var(--tw-border-opacity))}.border-l-rose-200{--tw-border-opacity: 1;border-left-color:rgb(254 205 211 / var(--tw-border-opacity))}.border-l-rose-300{--tw-border-opacity: 1;border-left-color:rgb(253 164 175 / var(--tw-border-opacity))}.border-l-rose-400{--tw-border-opacity: 1;border-left-color:rgb(251 113 133 / var(--tw-border-opacity))}.border-l-rose-50{--tw-border-opacity: 1;border-left-color:rgb(255 241 242 / var(--tw-border-opacity))}.border-l-rose-500{--tw-border-opacity: 1;border-left-color:rgb(244 63 94 / var(--tw-border-opacity))}.border-l-rose-600{--tw-border-opacity: 1;border-left-color:rgb(225 29 72 / var(--tw-border-opacity))}.border-l-rose-700{--tw-border-opacity: 1;border-left-color:rgb(190 18 60 / var(--tw-border-opacity))}.border-l-rose-800{--tw-border-opacity: 1;border-left-color:rgb(159 18 57 / var(--tw-border-opacity))}.border-l-rose-900{--tw-border-opacity: 1;border-left-color:rgb(136 19 55 / var(--tw-border-opacity))}.border-l-rose-950{--tw-border-opacity: 1;border-left-color:rgb(76 5 25 / var(--tw-border-opacity))}.border-l-sky-100{--tw-border-opacity: 1;border-left-color:rgb(224 242 254 / var(--tw-border-opacity))}.border-l-sky-200{--tw-border-opacity: 1;border-left-color:rgb(186 230 253 / var(--tw-border-opacity))}.border-l-sky-300{--tw-border-opacity: 1;border-left-color:rgb(125 211 252 / var(--tw-border-opacity))}.border-l-sky-400{--tw-border-opacity: 1;border-left-color:rgb(56 189 248 / var(--tw-border-opacity))}.border-l-sky-50{--tw-border-opacity: 1;border-left-color:rgb(240 249 255 / var(--tw-border-opacity))}.border-l-sky-500{--tw-border-opacity: 1;border-left-color:rgb(14 165 233 / var(--tw-border-opacity))}.border-l-sky-600{--tw-border-opacity: 1;border-left-color:rgb(2 132 199 / var(--tw-border-opacity))}.border-l-sky-700{--tw-border-opacity: 1;border-left-color:rgb(3 105 161 / var(--tw-border-opacity))}.border-l-sky-800{--tw-border-opacity: 1;border-left-color:rgb(7 89 133 / var(--tw-border-opacity))}.border-l-sky-900{--tw-border-opacity: 1;border-left-color:rgb(12 74 110 / var(--tw-border-opacity))}.border-l-sky-950{--tw-border-opacity: 1;border-left-color:rgb(8 47 73 / var(--tw-border-opacity))}.border-l-slate-100{--tw-border-opacity: 1;border-left-color:rgb(241 245 249 / var(--tw-border-opacity))}.border-l-slate-200{--tw-border-opacity: 1;border-left-color:rgb(226 232 240 / var(--tw-border-opacity))}.border-l-slate-300{--tw-border-opacity: 1;border-left-color:rgb(203 213 225 / var(--tw-border-opacity))}.border-l-slate-400{--tw-border-opacity: 1;border-left-color:rgb(148 163 184 / var(--tw-border-opacity))}.border-l-slate-50{--tw-border-opacity: 1;border-left-color:rgb(248 250 252 / var(--tw-border-opacity))}.border-l-slate-500{--tw-border-opacity: 1;border-left-color:rgb(100 116 139 / var(--tw-border-opacity))}.border-l-slate-600{--tw-border-opacity: 1;border-left-color:rgb(71 85 105 / var(--tw-border-opacity))}.border-l-slate-700{--tw-border-opacity: 1;border-left-color:rgb(51 65 85 / var(--tw-border-opacity))}.border-l-slate-800{--tw-border-opacity: 1;border-left-color:rgb(30 41 59 / var(--tw-border-opacity))}.border-l-slate-900{--tw-border-opacity: 1;border-left-color:rgb(15 23 42 / var(--tw-border-opacity))}.border-l-slate-950{--tw-border-opacity: 1;border-left-color:rgb(2 6 23 / var(--tw-border-opacity))}.border-l-stone-100{--tw-border-opacity: 1;border-left-color:rgb(245 245 244 / var(--tw-border-opacity))}.border-l-stone-200{--tw-border-opacity: 1;border-left-color:rgb(231 229 228 / var(--tw-border-opacity))}.border-l-stone-300{--tw-border-opacity: 1;border-left-color:rgb(214 211 209 / var(--tw-border-opacity))}.border-l-stone-400{--tw-border-opacity: 1;border-left-color:rgb(168 162 158 / var(--tw-border-opacity))}.border-l-stone-50{--tw-border-opacity: 1;border-left-color:rgb(250 250 249 / var(--tw-border-opacity))}.border-l-stone-500{--tw-border-opacity: 1;border-left-color:rgb(120 113 108 / var(--tw-border-opacity))}.border-l-stone-600{--tw-border-opacity: 1;border-left-color:rgb(87 83 78 / var(--tw-border-opacity))}.border-l-stone-700{--tw-border-opacity: 1;border-left-color:rgb(68 64 60 / var(--tw-border-opacity))}.border-l-stone-800{--tw-border-opacity: 1;border-left-color:rgb(41 37 36 / var(--tw-border-opacity))}.border-l-stone-900{--tw-border-opacity: 1;border-left-color:rgb(28 25 23 / var(--tw-border-opacity))}.border-l-stone-950{--tw-border-opacity: 1;border-left-color:rgb(12 10 9 / var(--tw-border-opacity))}.border-l-teal-100{--tw-border-opacity: 1;border-left-color:rgb(204 251 241 / var(--tw-border-opacity))}.border-l-teal-200{--tw-border-opacity: 1;border-left-color:rgb(153 246 228 / var(--tw-border-opacity))}.border-l-teal-300{--tw-border-opacity: 1;border-left-color:rgb(94 234 212 / var(--tw-border-opacity))}.border-l-teal-400{--tw-border-opacity: 1;border-left-color:rgb(45 212 191 / var(--tw-border-opacity))}.border-l-teal-50{--tw-border-opacity: 1;border-left-color:rgb(240 253 250 / var(--tw-border-opacity))}.border-l-teal-500{--tw-border-opacity: 1;border-left-color:rgb(20 184 166 / var(--tw-border-opacity))}.border-l-teal-600{--tw-border-opacity: 1;border-left-color:rgb(13 148 136 / var(--tw-border-opacity))}.border-l-teal-700{--tw-border-opacity: 1;border-left-color:rgb(15 118 110 / var(--tw-border-opacity))}.border-l-teal-800{--tw-border-opacity: 1;border-left-color:rgb(17 94 89 / var(--tw-border-opacity))}.border-l-teal-900{--tw-border-opacity: 1;border-left-color:rgb(19 78 74 / var(--tw-border-opacity))}.border-l-teal-950{--tw-border-opacity: 1;border-left-color:rgb(4 47 46 / var(--tw-border-opacity))}.border-l-transparent{border-left-color:transparent}.border-l-violet-100{--tw-border-opacity: 1;border-left-color:rgb(237 233 254 / var(--tw-border-opacity))}.border-l-violet-200{--tw-border-opacity: 1;border-left-color:rgb(221 214 254 / var(--tw-border-opacity))}.border-l-violet-300{--tw-border-opacity: 1;border-left-color:rgb(196 181 253 / var(--tw-border-opacity))}.border-l-violet-400{--tw-border-opacity: 1;border-left-color:rgb(167 139 250 / var(--tw-border-opacity))}.border-l-violet-50{--tw-border-opacity: 1;border-left-color:rgb(245 243 255 / var(--tw-border-opacity))}.border-l-violet-500{--tw-border-opacity: 1;border-left-color:rgb(139 92 246 / var(--tw-border-opacity))}.border-l-violet-600{--tw-border-opacity: 1;border-left-color:rgb(124 58 237 / var(--tw-border-opacity))}.border-l-violet-700{--tw-border-opacity: 1;border-left-color:rgb(109 40 217 / var(--tw-border-opacity))}.border-l-violet-800{--tw-border-opacity: 1;border-left-color:rgb(91 33 182 / var(--tw-border-opacity))}.border-l-violet-900{--tw-border-opacity: 1;border-left-color:rgb(76 29 149 / var(--tw-border-opacity))}.border-l-violet-950{--tw-border-opacity: 1;border-left-color:rgb(46 16 101 / var(--tw-border-opacity))}.border-l-yellow-100{--tw-border-opacity: 1;border-left-color:rgb(254 249 195 / var(--tw-border-opacity))}.border-l-yellow-200{--tw-border-opacity: 1;border-left-color:rgb(254 240 138 / var(--tw-border-opacity))}.border-l-yellow-300{--tw-border-opacity: 1;border-left-color:rgb(253 224 71 / var(--tw-border-opacity))}.border-l-yellow-400{--tw-border-opacity: 1;border-left-color:rgb(250 204 21 / var(--tw-border-opacity))}.border-l-yellow-50{--tw-border-opacity: 1;border-left-color:rgb(254 252 232 / var(--tw-border-opacity))}.border-l-yellow-500{--tw-border-opacity: 1;border-left-color:rgb(234 179 8 / var(--tw-border-opacity))}.border-l-yellow-600{--tw-border-opacity: 1;border-left-color:rgb(202 138 4 / var(--tw-border-opacity))}.border-l-yellow-700{--tw-border-opacity: 1;border-left-color:rgb(161 98 7 / var(--tw-border-opacity))}.border-l-yellow-800{--tw-border-opacity: 1;border-left-color:rgb(133 77 14 / var(--tw-border-opacity))}.border-l-yellow-900{--tw-border-opacity: 1;border-left-color:rgb(113 63 18 / var(--tw-border-opacity))}.border-l-yellow-950{--tw-border-opacity: 1;border-left-color:rgb(66 32 6 / var(--tw-border-opacity))}.border-l-zinc-100{--tw-border-opacity: 1;border-left-color:rgb(244 244 245 / var(--tw-border-opacity))}.border-l-zinc-200{--tw-border-opacity: 1;border-left-color:rgb(228 228 231 / var(--tw-border-opacity))}.border-l-zinc-300{--tw-border-opacity: 1;border-left-color:rgb(212 212 216 / var(--tw-border-opacity))}.border-l-zinc-400{--tw-border-opacity: 1;border-left-color:rgb(161 161 170 / var(--tw-border-opacity))}.border-l-zinc-50{--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}.border-l-zinc-500{--tw-border-opacity: 1;border-left-color:rgb(113 113 122 / var(--tw-border-opacity))}.border-l-zinc-600{--tw-border-opacity: 1;border-left-color:rgb(82 82 91 / var(--tw-border-opacity))}.border-l-zinc-700{--tw-border-opacity: 1;border-left-color:rgb(63 63 70 / var(--tw-border-opacity))}.border-l-zinc-800{--tw-border-opacity: 1;border-left-color:rgb(39 39 42 / var(--tw-border-opacity))}.border-l-zinc-900{--tw-border-opacity: 1;border-left-color:rgb(24 24 27 / var(--tw-border-opacity))}.border-l-zinc-950{--tw-border-opacity: 1;border-left-color:rgb(9 9 11 / var(--tw-border-opacity))}.border-t-transparent{border-top-color:transparent}.border-opacity-40{--tw-border-opacity: .4}.border-opacity-50{--tw-border-opacity: .5}.border-opacity-60{--tw-border-opacity: .6}.border-opacity-70{--tw-border-opacity: .7}.\!bg-gray-100{--tw-bg-opacity: 1 !important;background-color:rgb(243 244 246 / var(--tw-bg-opacity))!important}.\!bg-gray-200{--tw-bg-opacity: 1 !important;background-color:rgb(229 231 235 / var(--tw-bg-opacity))!important}.\!bg-gray-300{--tw-bg-opacity: 1 !important;background-color:rgb(209 213 219 / var(--tw-bg-opacity))!important}.\!bg-green-100{--tw-bg-opacity: 1 !important;background-color:rgb(220 252 231 / var(--tw-bg-opacity))!important}.\!bg-green-50{--tw-bg-opacity: 1 !important;background-color:rgb(240 253 244 / var(--tw-bg-opacity))!important}.\!bg-grey-90{--tw-bg-opacity: 1 !important;background-color:rgb(17 24 39 / var(--tw-bg-opacity))!important}.\!bg-orange-100{--tw-bg-opacity: 1 !important;background-color:rgb(255 237 213 / var(--tw-bg-opacity))!important}.\!bg-red-100{--tw-bg-opacity: 1 !important;background-color:rgb(254 226 226 / var(--tw-bg-opacity))!important}.\!bg-red-300\/90{background-color:#fca5a5e6!important}.\!bg-red-50{--tw-bg-opacity: 1 !important;background-color:rgb(254 242 242 / var(--tw-bg-opacity))!important}.\!bg-slate-50{--tw-bg-opacity: 1 !important;background-color:rgb(248 250 252 / var(--tw-bg-opacity))!important}.\!bg-slate-50\/60{background-color:#f8fafc99!important}.\!bg-transparent{background-color:transparent!important}.bg-accent{background-color:hsl(var(--accent))}.bg-amber-100{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.bg-amber-100\/70{background-color:#fef3c7b3}.bg-amber-200{--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}.bg-amber-300{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}.bg-amber-400{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.bg-amber-50{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}.bg-amber-500{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.bg-amber-600{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.bg-amber-700{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}.bg-amber-800{--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}.bg-amber-900{--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}.bg-amber-950{--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}.bg-background{background-color:hsl(var(--background))}.bg-background\/80{background-color:hsl(var(--background) / .8)}.bg-black\/30{background-color:#0000004d}.bg-blue-100{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.bg-blue-200{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.bg-blue-50{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-blue-600{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.bg-blue-800{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.bg-blue-900{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}.bg-blue-950{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.bg-border{background-color:hsl(var(--border))}.bg-card{background-color:hsl(var(--card))}.bg-cyan-100{--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}.bg-cyan-200{--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}.bg-cyan-300{--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}.bg-cyan-400{--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}.bg-cyan-50{--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}.bg-cyan-500{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}.bg-cyan-600{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}.bg-cyan-700{--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}.bg-cyan-800{--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}.bg-cyan-900{--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}.bg-cyan-950{--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}.bg-destructive{background-color:hsl(var(--destructive))}.bg-emerald-100{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}.bg-emerald-100\/20{background-color:#d1fae533}.bg-emerald-200{--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}.bg-emerald-300{--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}.bg-emerald-400{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}.bg-emerald-50{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}.bg-emerald-500{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.bg-emerald-600{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.bg-emerald-700{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}.bg-emerald-800{--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}.bg-emerald-900{--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}.bg-emerald-950{--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}.bg-fuchsia-100{--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}.bg-fuchsia-200{--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}.bg-fuchsia-300{--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}.bg-fuchsia-400{--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}.bg-fuchsia-50{--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}.bg-fuchsia-500{--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}.bg-fuchsia-600{--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}.bg-fuchsia-700{--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}.bg-fuchsia-800{--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}.bg-fuchsia-900{--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}.bg-fuchsia-950{--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-gray-200\/50{background-color:#e5e7eb80}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-gray-400\/90{background-color:#9ca3afe6}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.bg-gray-900{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.bg-gray-950{--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}.bg-green-100{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.bg-green-100\/80{background-color:#dcfce7cc}.bg-green-200{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.bg-green-300\/20{background-color:#86efac33}.bg-green-400{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.bg-green-50{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.bg-green-50\/30{background-color:#f0fdf44d}.bg-green-500{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.bg-green-700{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.bg-green-800{--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}.bg-green-900{--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}.bg-green-950{--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}.bg-grey-0{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-grey-10{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.bg-grey-20{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.bg-grey-40{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.bg-grey-5{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.bg-grey-70{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.bg-indigo-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.bg-indigo-200{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.bg-indigo-300{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}.bg-indigo-400{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.bg-indigo-50{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}.bg-indigo-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-indigo-700{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.bg-indigo-800{--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}.bg-indigo-900{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}.bg-indigo-950{--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}.bg-inherit{background-color:inherit}.bg-lime-100{--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}.bg-lime-200{--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}.bg-lime-300{--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}.bg-lime-400{--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}.bg-lime-50{--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}.bg-lime-500{--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}.bg-lime-600{--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}.bg-lime-700{--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}.bg-lime-800{--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}.bg-lime-900{--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}.bg-lime-950{--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}.bg-muted{background-color:hsl(var(--muted))}.bg-neutral-100{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.bg-neutral-200{--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}.bg-neutral-300{--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}.bg-neutral-400{--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}.bg-neutral-50{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.bg-neutral-500{--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}.bg-neutral-600{--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}.bg-neutral-700{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}.bg-neutral-800{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.bg-neutral-900{--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}.bg-neutral-950{--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}.bg-orange-100{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.bg-orange-200{--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}.bg-orange-200\/70{background-color:#fed7aab3}.bg-orange-300{--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}.bg-orange-300\/20{background-color:#fdba7433}.bg-orange-300\/40{background-color:#fdba7466}.bg-orange-400{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.bg-orange-50{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}.bg-orange-500{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}.bg-orange-600{--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}.bg-orange-700{--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}.bg-orange-800{--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}.bg-orange-900{--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}.bg-orange-950{--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}.bg-pink-100{--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}.bg-pink-200{--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}.bg-pink-300{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}.bg-pink-400{--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}.bg-pink-50{--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}.bg-pink-500{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}.bg-pink-600{--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}.bg-pink-700{--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}.bg-pink-800{--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}.bg-pink-900{--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}.bg-pink-950{--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:hsl(var(--primary))}.bg-purple-100{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}.bg-purple-200{--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}.bg-purple-300{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}.bg-purple-400{--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}.bg-purple-50{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}.bg-purple-500{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}.bg-purple-600{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}.bg-purple-700{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.bg-purple-800{--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}.bg-purple-900{--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}.bg-purple-950{--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.bg-red-100\/70{background-color:#fee2e2b3}.bg-red-100\/80{background-color:#fee2e2cc}.bg-red-200{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.bg-red-50{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.bg-red-50\/50{background-color:#fef2f280}.bg-red-50\/80{background-color:#fef2f2cc}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-red-600{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.bg-red-700{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.bg-red-800{--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}.bg-red-900{--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}.bg-red-950{--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}.bg-rose-100{--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}.bg-rose-200{--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}.bg-rose-300{--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}.bg-rose-400{--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}.bg-rose-50{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}.bg-rose-500{--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}.bg-rose-600{--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}.bg-rose-700{--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}.bg-rose-800{--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}.bg-rose-900{--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}.bg-rose-950{--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}.bg-secondary{background-color:hsl(var(--secondary))}.bg-sky-100{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.bg-sky-200{--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}.bg-sky-300{--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}.bg-sky-400{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.bg-sky-50{--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}.bg-sky-50\/70{background-color:#f0f9ffb3}.bg-sky-500{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.bg-sky-600{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}.bg-sky-700{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}.bg-sky-800{--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}.bg-sky-900{--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}.bg-sky-950{--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}.bg-slate-100{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.bg-slate-100\/90{background-color:#f1f5f9e6}.bg-slate-200{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.bg-slate-200\/70{background-color:#e2e8f0b3}.bg-slate-200\/90{background-color:#e2e8f0e6}.bg-slate-300{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.bg-slate-300\/80{background-color:#cbd5e1cc}.bg-slate-400{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}.bg-slate-400\/80{background-color:#94a3b8cc}.bg-slate-50{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.bg-slate-50\/50{background-color:#f8fafc80}.bg-slate-500{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.bg-slate-600{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.bg-slate-700{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}.bg-slate-800{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.bg-slate-900{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.bg-slate-900\/80{background-color:#0f172acc}.bg-slate-950{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}.bg-stone-100{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}.bg-stone-200{--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}.bg-stone-300{--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}.bg-stone-400{--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}.bg-stone-50{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}.bg-stone-500{--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}.bg-stone-600{--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}.bg-stone-700{--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}.bg-stone-800{--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}.bg-stone-900{--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}.bg-stone-950{--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}.bg-teal-100{--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}.bg-teal-100\/70{background-color:#ccfbf1b3}.bg-teal-200{--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}.bg-teal-300{--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}.bg-teal-400{--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}.bg-teal-50{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}.bg-teal-50\/80{background-color:#f0fdfacc}.bg-teal-50\/90{background-color:#f0fdfae6}.bg-teal-500{--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}.bg-teal-600{--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}.bg-teal-700{--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}.bg-teal-800{--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}.bg-teal-900{--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}.bg-teal-950{--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-violet-100{--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}.bg-violet-200{--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}.bg-violet-300{--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}.bg-violet-400{--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}.bg-violet-50{--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}.bg-violet-500{--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}.bg-violet-600{--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}.bg-violet-700{--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}.bg-violet-800{--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}.bg-violet-900{--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}.bg-violet-950{--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-white\/80{background-color:#fffc}.bg-yellow-100{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.bg-yellow-100\/80{background-color:#fef9c3cc}.bg-yellow-200{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}.bg-yellow-300{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}.bg-yellow-50{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.bg-yellow-500{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.bg-yellow-600{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.bg-yellow-700{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}.bg-yellow-800{--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}.bg-yellow-900{--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}.bg-yellow-950{--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}.bg-zinc-100{--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}.bg-zinc-200{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.bg-zinc-300{--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}.bg-zinc-400{--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}.bg-zinc-50{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.bg-zinc-500{--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}.bg-zinc-600{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}.bg-zinc-700{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.bg-zinc-800{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.bg-zinc-900{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.bg-zinc-950{--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}.bg-opacity-100{--tw-bg-opacity: 1}.bg-opacity-70{--tw-bg-opacity: .7}.bg-opacity-80{--tw-bg-opacity: .8}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-transparent{--tw-gradient-from: transparent var(--tw-gradient-from-position);--tw-gradient-to: rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-grey-0{--tw-gradient-to: #FFFFFF var(--tw-gradient-to-position)}.bg-cover{background-size:cover}.fill-blue-500{fill:#3b82f6}.fill-current{fill:currentColor}.fill-green-200{fill:#bbf7d0}.fill-green-600{fill:#16a34a}.fill-orange-400{fill:#fb923c}.fill-primary{fill:hsl(var(--primary))}.fill-red-500{fill:#ef4444}.fill-transparent{fill:transparent}.fill-yellow-400{fill:#facc15}.stroke-current{stroke:currentColor}.stroke-grey-40{stroke:#9ca3af}.stroke-\[1\.3px\]{stroke-width:1.3px}.object-cover{-o-object-fit:cover;object-fit:cover}.object-scale-down{-o-object-fit:scale-down;object-fit:scale-down}.\!p-0{padding:0!important}.p-0{padding:0}.p-0\.5{padding:.125rem}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[14px\]{padding:14px}.p-\[1px\]{padding:1px}.p-\[2px\]{padding:2px}.\!px-0{padding-left:0!important;padding-right:0!important}.\!px-1{padding-left:.25rem!important;padding-right:.25rem!important}.\!px-1\.5{padding-left:.375rem!important;padding-right:.375rem!important}.\!px-2{padding-left:.5rem!important;padding-right:.5rem!important}.\!py-0{padding-top:0!important;padding-bottom:0!important}.\!py-0\.5{padding-top:.125rem!important;padding-bottom:.125rem!important}.\!py-1{padding-top:.25rem!important;padding-bottom:.25rem!important}.\!py-1\.5{padding-top:.375rem!important;padding-bottom:.375rem!important}.\!py-3{padding-top:.75rem!important;padding-bottom:.75rem!important}.px-0{padding-left:0;padding-right:0}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-1{padding-left:.25rem;padding-right:.25rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-7{padding-left:1.75rem;padding-right:1.75rem}.px-8{padding-left:2rem;padding-right:2rem}.px-\[12px\]{padding-left:12px;padding-right:12px}.px-\[6px\]{padding-left:6px;padding-right:6px}.py-0{padding-top:0;padding-bottom:0}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.py-\[1\.5px\]{padding-top:1.5px;padding-bottom:1.5px}.py-\[1px\]{padding-top:1px;padding-bottom:1px}.py-\[2px\]{padding-top:2px;padding-bottom:2px}.py-\[3px\]{padding-top:3px;padding-bottom:3px}.py-\[6px\]{padding-top:6px;padding-bottom:6px}.\!pb-1{padding-bottom:.25rem!important}.\!pb-2{padding-bottom:.5rem!important}.\!pb-3{padding-bottom:.75rem!important}.\!pb-5{padding-bottom:1.25rem!important}.\!pl-0{padding-left:0!important}.\!pl-0\.5{padding-left:.125rem!important}.\!pr-8{padding-right:2rem!important}.\!pt-0{padding-top:0!important}.\!pt-2{padding-top:.5rem!important}.\!pt-3{padding-top:.75rem!important}.pb-0{padding-bottom:0}.pb-0\.5{padding-bottom:.125rem}.pb-1{padding-bottom:.25rem}.pb-1\.5{padding-bottom:.375rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-5{padding-bottom:1.25rem}.pb-6{padding-bottom:1.5rem}.pb-7{padding-bottom:1.75rem}.pb-8{padding-bottom:2rem}.pb-\[100px\]{padding-bottom:100px}.pb-\[2px\]{padding-bottom:2px}.pb-px{padding-bottom:1px}.pl-0{padding-left:0}.pl-0\.5{padding-left:.125rem}.pl-1{padding-left:.25rem}.pl-1\.5{padding-left:.375rem}.pl-2{padding-left:.5rem}.pl-2\.5{padding-left:.625rem}.pl-3{padding-left:.75rem}.pl-8{padding-left:2rem}.pl-\[6px\]{padding-left:6px}.pr-0{padding-right:0}.pr-0\.5{padding-right:.125rem}.pr-1{padding-right:.25rem}.pr-1\.5{padding-right:.375rem}.pr-10{padding-right:2.5rem}.pr-2{padding-right:.5rem}.pr-2\.5{padding-right:.625rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-5{padding-right:1.25rem}.pr-6{padding-right:1.5rem}.pr-7{padding-right:1.75rem}.pr-\[10px\]{padding-right:10px}.pr-\[6px\]{padding-right:6px}.pt-0{padding-top:0}.pt-0\.5{padding-top:.125rem}.pt-1{padding-top:.25rem}.pt-1\.5{padding-top:.375rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-5{padding-top:1.25rem}.pt-6{padding-top:1.5rem}.pt-\[10px\]{padding-top:10px}.pt-\[140px\]{padding-top:140px}.pt-\[1px\]{padding-top:1px}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-justify{text-align:justify}.align-middle{vertical-align:middle}.\!font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace!important}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.\!text-\[12px\]{font-size:12px!important}.\!text-\[13px\]{font-size:13px!important}.\!text-\[34px\]{font-size:34px!important}.\!text-sm{font-size:.875rem!important;line-height:1.25rem!important}.\!text-xl{font-size:1.25rem!important;line-height:1.75rem!important}.\!text-xs{font-size:.75rem!important;line-height:1rem!important}.text-2xl{font-size:1.5rem;line-height:2rem}.text-\[0\.8rem\]{font-size:.8rem}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-\[12px\]{font-size:12px}.text-\[13px\]{font-size:13px}.text-\[14px\]{font-size:14px}.text-\[15px\]{font-size:15px}.text-\[16px\]{font-size:16px}.text-\[19px\]{font-size:19px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.\!font-bold{font-weight:700!important}.\!font-light{font-weight:300!important}.\!font-medium{font-weight:500!important}.\!font-normal{font-weight:400!important}.\!font-semibold{font-weight:600!important}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.ordinal{--tw-ordinal: ordinal;font-variant-numeric:var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)}.leading-6{line-height:1.5rem}.leading-none{line-height:1}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.tracking-tight{letter-spacing:-.025em}.tracking-widest{letter-spacing:.1em}.\!text-amber-500{--tw-text-opacity: 1 !important;color:rgb(245 158 11 / var(--tw-text-opacity))!important}.\!text-amber-700{--tw-text-opacity: 1 !important;color:rgb(180 83 9 / var(--tw-text-opacity))!important}.\!text-amber-800{--tw-text-opacity: 1 !important;color:rgb(146 64 14 / var(--tw-text-opacity))!important}.\!text-blue-500{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity))!important}.\!text-blue-600{--tw-text-opacity: 1 !important;color:rgb(37 99 235 / var(--tw-text-opacity))!important}.\!text-gray-300{--tw-text-opacity: 1 !important;color:rgb(209 213 219 / var(--tw-text-opacity))!important}.\!text-gray-400{--tw-text-opacity: 1 !important;color:rgb(156 163 175 / var(--tw-text-opacity))!important}.\!text-gray-400\/80{color:#9ca3afcc!important}.\!text-gray-500{--tw-text-opacity: 1 !important;color:rgb(107 114 128 / var(--tw-text-opacity))!important}.\!text-green-500{--tw-text-opacity: 1 !important;color:rgb(34 197 94 / var(--tw-text-opacity))!important}.\!text-green-600{--tw-text-opacity: 1 !important;color:rgb(22 163 74 / var(--tw-text-opacity))!important}.\!text-grey-40{--tw-text-opacity: 1 !important;color:rgb(156 163 175 / var(--tw-text-opacity))!important}.\!text-orange-400{--tw-text-opacity: 1 !important;color:rgb(251 146 60 / var(--tw-text-opacity))!important}.\!text-orange-500\/80{color:#f97316cc!important}.\!text-orange-600{--tw-text-opacity: 1 !important;color:rgb(234 88 12 / var(--tw-text-opacity))!important}.\!text-red-400{--tw-text-opacity: 1 !important;color:rgb(248 113 113 / var(--tw-text-opacity))!important}.\!text-red-500{--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}.\!text-red-600{--tw-text-opacity: 1 !important;color:rgb(220 38 38 / var(--tw-text-opacity))!important}.\!text-slate-300{--tw-text-opacity: 1 !important;color:rgb(203 213 225 / var(--tw-text-opacity))!important}.\!text-slate-400{--tw-text-opacity: 1 !important;color:rgb(148 163 184 / var(--tw-text-opacity))!important}.\!text-slate-500{--tw-text-opacity: 1 !important;color:rgb(100 116 139 / var(--tw-text-opacity))!important}.\!text-slate-600{--tw-text-opacity: 1 !important;color:rgb(71 85 105 / var(--tw-text-opacity))!important}.\!text-slate-700{--tw-text-opacity: 1 !important;color:rgb(51 65 85 / var(--tw-text-opacity))!important}.\!text-slate-800{--tw-text-opacity: 1 !important;color:rgb(30 41 59 / var(--tw-text-opacity))!important}.\!text-yellow-500{--tw-text-opacity: 1 !important;color:rgb(234 179 8 / var(--tw-text-opacity))!important}.\!text-yellow-600{--tw-text-opacity: 1 !important;color:rgb(202 138 4 / var(--tw-text-opacity))!important}.text-accent-foreground{color:hsl(var(--accent-foreground))}.text-amber-100{--tw-text-opacity: 1;color:rgb(254 243 199 / var(--tw-text-opacity))}.text-amber-200{--tw-text-opacity: 1;color:rgb(253 230 138 / var(--tw-text-opacity))}.text-amber-300{--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity))}.text-amber-400{--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity))}.text-amber-50{--tw-text-opacity: 1;color:rgb(255 251 235 / var(--tw-text-opacity))}.text-amber-500{--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}.text-amber-600{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}.text-amber-700{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity))}.text-amber-800{--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity))}.text-amber-900{--tw-text-opacity: 1;color:rgb(120 53 15 / var(--tw-text-opacity))}.text-amber-950{--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-blue-100{--tw-text-opacity: 1;color:rgb(219 234 254 / var(--tw-text-opacity))}.text-blue-200{--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity))}.text-blue-300{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}.text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.text-blue-50{--tw-text-opacity: 1;color:rgb(239 246 255 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-blue-600{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.text-blue-700{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.text-blue-800{--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}.text-blue-900{--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity))}.text-blue-950{--tw-text-opacity: 1;color:rgb(23 37 84 / var(--tw-text-opacity))}.text-card-foreground{color:hsl(var(--card-foreground))}.text-cyan-100{--tw-text-opacity: 1;color:rgb(207 250 254 / var(--tw-text-opacity))}.text-cyan-200{--tw-text-opacity: 1;color:rgb(165 243 252 / var(--tw-text-opacity))}.text-cyan-300{--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity))}.text-cyan-400{--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity))}.text-cyan-50{--tw-text-opacity: 1;color:rgb(236 254 255 / var(--tw-text-opacity))}.text-cyan-500{--tw-text-opacity: 1;color:rgb(6 182 212 / var(--tw-text-opacity))}.text-cyan-600{--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity))}.text-cyan-700{--tw-text-opacity: 1;color:rgb(14 116 144 / var(--tw-text-opacity))}.text-cyan-800{--tw-text-opacity: 1;color:rgb(21 94 117 / var(--tw-text-opacity))}.text-cyan-900{--tw-text-opacity: 1;color:rgb(22 78 99 / var(--tw-text-opacity))}.text-cyan-950{--tw-text-opacity: 1;color:rgb(8 51 68 / var(--tw-text-opacity))}.text-destructive{color:hsl(var(--destructive))}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-emerald-100{--tw-text-opacity: 1;color:rgb(209 250 229 / var(--tw-text-opacity))}.text-emerald-200{--tw-text-opacity: 1;color:rgb(167 243 208 / var(--tw-text-opacity))}.text-emerald-300{--tw-text-opacity: 1;color:rgb(110 231 183 / var(--tw-text-opacity))}.text-emerald-400{--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity))}.text-emerald-50{--tw-text-opacity: 1;color:rgb(236 253 245 / var(--tw-text-opacity))}.text-emerald-500{--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}.text-emerald-600{--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity))}.text-emerald-700{--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity))}.text-emerald-800{--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity))}.text-emerald-900{--tw-text-opacity: 1;color:rgb(6 78 59 / var(--tw-text-opacity))}.text-emerald-950{--tw-text-opacity: 1;color:rgb(2 44 34 / var(--tw-text-opacity))}.text-foreground{color:hsl(var(--foreground))}.text-foreground\/50{color:hsl(var(--foreground) / .5)}.text-fuchsia-100{--tw-text-opacity: 1;color:rgb(250 232 255 / var(--tw-text-opacity))}.text-fuchsia-200{--tw-text-opacity: 1;color:rgb(245 208 254 / var(--tw-text-opacity))}.text-fuchsia-300{--tw-text-opacity: 1;color:rgb(240 171 252 / var(--tw-text-opacity))}.text-fuchsia-400{--tw-text-opacity: 1;color:rgb(232 121 249 / var(--tw-text-opacity))}.text-fuchsia-50{--tw-text-opacity: 1;color:rgb(253 244 255 / var(--tw-text-opacity))}.text-fuchsia-500{--tw-text-opacity: 1;color:rgb(217 70 239 / var(--tw-text-opacity))}.text-fuchsia-600{--tw-text-opacity: 1;color:rgb(192 38 211 / var(--tw-text-opacity))}.text-fuchsia-700{--tw-text-opacity: 1;color:rgb(162 28 175 / var(--tw-text-opacity))}.text-fuchsia-800{--tw-text-opacity: 1;color:rgb(134 25 143 / var(--tw-text-opacity))}.text-fuchsia-900{--tw-text-opacity: 1;color:rgb(112 26 117 / var(--tw-text-opacity))}.text-fuchsia-950{--tw-text-opacity: 1;color:rgb(74 4 78 / var(--tw-text-opacity))}.text-gray-100{--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.text-gray-200{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-gray-400\/80{color:#9ca3afcc}.text-gray-400\/90{color:#9ca3afe6}.text-gray-50{--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-gray-500\/60{color:#6b728099}.text-gray-600{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-gray-950{--tw-text-opacity: 1;color:rgb(3 7 18 / var(--tw-text-opacity))}.text-green-100{--tw-text-opacity: 1;color:rgb(220 252 231 / var(--tw-text-opacity))}.text-green-200{--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity))}.text-green-300{--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}.text-green-400{--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}.text-green-50{--tw-text-opacity: 1;color:rgb(240 253 244 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-green-600{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.text-green-700{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.text-green-800{--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}.text-green-900{--tw-text-opacity: 1;color:rgb(20 83 45 / var(--tw-text-opacity))}.text-green-950{--tw-text-opacity: 1;color:rgb(5 46 22 / var(--tw-text-opacity))}.text-grey-0{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-grey-20{--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}.text-grey-30{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}.text-grey-40{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.text-grey-50{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-grey-90{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.text-indigo-100{--tw-text-opacity: 1;color:rgb(224 231 255 / var(--tw-text-opacity))}.text-indigo-200{--tw-text-opacity: 1;color:rgb(199 210 254 / var(--tw-text-opacity))}.text-indigo-300{--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}.text-indigo-400{--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}.text-indigo-50{--tw-text-opacity: 1;color:rgb(238 242 255 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-indigo-700{--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity))}.text-indigo-800{--tw-text-opacity: 1;color:rgb(55 48 163 / var(--tw-text-opacity))}.text-indigo-900{--tw-text-opacity: 1;color:rgb(49 46 129 / var(--tw-text-opacity))}.text-indigo-950{--tw-text-opacity: 1;color:rgb(30 27 75 / var(--tw-text-opacity))}.text-lime-100{--tw-text-opacity: 1;color:rgb(236 252 203 / var(--tw-text-opacity))}.text-lime-200{--tw-text-opacity: 1;color:rgb(217 249 157 / var(--tw-text-opacity))}.text-lime-300{--tw-text-opacity: 1;color:rgb(190 242 100 / var(--tw-text-opacity))}.text-lime-400{--tw-text-opacity: 1;color:rgb(163 230 53 / var(--tw-text-opacity))}.text-lime-50{--tw-text-opacity: 1;color:rgb(247 254 231 / var(--tw-text-opacity))}.text-lime-500{--tw-text-opacity: 1;color:rgb(132 204 22 / var(--tw-text-opacity))}.text-lime-600{--tw-text-opacity: 1;color:rgb(101 163 13 / var(--tw-text-opacity))}.text-lime-700{--tw-text-opacity: 1;color:rgb(77 124 15 / var(--tw-text-opacity))}.text-lime-800{--tw-text-opacity: 1;color:rgb(63 98 18 / var(--tw-text-opacity))}.text-lime-900{--tw-text-opacity: 1;color:rgb(54 83 20 / var(--tw-text-opacity))}.text-lime-950{--tw-text-opacity: 1;color:rgb(26 46 5 / var(--tw-text-opacity))}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-neutral-100{--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity))}.text-neutral-200{--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity))}.text-neutral-300{--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}.text-neutral-400{--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}.text-neutral-50{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity))}.text-neutral-500{--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}.text-neutral-600{--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity))}.text-neutral-700{--tw-text-opacity: 1;color:rgb(64 64 64 / var(--tw-text-opacity))}.text-neutral-800{--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity))}.text-neutral-900{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity))}.text-neutral-950{--tw-text-opacity: 1;color:rgb(10 10 10 / var(--tw-text-opacity))}.text-orange-100{--tw-text-opacity: 1;color:rgb(255 237 213 / var(--tw-text-opacity))}.text-orange-200{--tw-text-opacity: 1;color:rgb(254 215 170 / var(--tw-text-opacity))}.text-orange-300{--tw-text-opacity: 1;color:rgb(253 186 116 / var(--tw-text-opacity))}.text-orange-400{--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity))}.text-orange-50{--tw-text-opacity: 1;color:rgb(255 247 237 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-orange-500\/80{color:#f97316cc}.text-orange-600{--tw-text-opacity: 1;color:rgb(234 88 12 / var(--tw-text-opacity))}.text-orange-700{--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity))}.text-orange-800{--tw-text-opacity: 1;color:rgb(154 52 18 / var(--tw-text-opacity))}.text-orange-900{--tw-text-opacity: 1;color:rgb(124 45 18 / var(--tw-text-opacity))}.text-orange-950{--tw-text-opacity: 1;color:rgb(67 20 7 / var(--tw-text-opacity))}.text-pink-100{--tw-text-opacity: 1;color:rgb(252 231 243 / var(--tw-text-opacity))}.text-pink-200{--tw-text-opacity: 1;color:rgb(251 207 232 / var(--tw-text-opacity))}.text-pink-300{--tw-text-opacity: 1;color:rgb(249 168 212 / var(--tw-text-opacity))}.text-pink-400{--tw-text-opacity: 1;color:rgb(244 114 182 / var(--tw-text-opacity))}.text-pink-50{--tw-text-opacity: 1;color:rgb(253 242 248 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(236 72 153 / var(--tw-text-opacity))}.text-pink-600{--tw-text-opacity: 1;color:rgb(219 39 119 / var(--tw-text-opacity))}.text-pink-700{--tw-text-opacity: 1;color:rgb(190 24 93 / var(--tw-text-opacity))}.text-pink-800{--tw-text-opacity: 1;color:rgb(157 23 77 / var(--tw-text-opacity))}.text-pink-900{--tw-text-opacity: 1;color:rgb(131 24 67 / var(--tw-text-opacity))}.text-pink-950{--tw-text-opacity: 1;color:rgb(80 7 36 / var(--tw-text-opacity))}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-primary\/30{color:hsl(var(--primary) / .3)}.text-primary\/40{color:hsl(var(--primary) / .4)}.text-primary\/50{color:hsl(var(--primary) / .5)}.text-purple-100{--tw-text-opacity: 1;color:rgb(243 232 255 / var(--tw-text-opacity))}.text-purple-200{--tw-text-opacity: 1;color:rgb(233 213 255 / var(--tw-text-opacity))}.text-purple-300{--tw-text-opacity: 1;color:rgb(216 180 254 / var(--tw-text-opacity))}.text-purple-400{--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity))}.text-purple-50{--tw-text-opacity: 1;color:rgb(250 245 255 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity))}.text-purple-600{--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity))}.text-purple-700{--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity))}.text-purple-800{--tw-text-opacity: 1;color:rgb(107 33 168 / var(--tw-text-opacity))}.text-purple-900{--tw-text-opacity: 1;color:rgb(88 28 135 / var(--tw-text-opacity))}.text-purple-950{--tw-text-opacity: 1;color:rgb(59 7 100 / var(--tw-text-opacity))}.text-red-100{--tw-text-opacity: 1;color:rgb(254 226 226 / var(--tw-text-opacity))}.text-red-200{--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity))}.text-red-300{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}.text-red-400{--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}.text-red-50{--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-red-700{--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}.text-red-800{--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}.text-red-900{--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}.text-red-950{--tw-text-opacity: 1;color:rgb(69 10 10 / var(--tw-text-opacity))}.text-rose-100{--tw-text-opacity: 1;color:rgb(255 228 230 / var(--tw-text-opacity))}.text-rose-200{--tw-text-opacity: 1;color:rgb(254 205 211 / var(--tw-text-opacity))}.text-rose-300{--tw-text-opacity: 1;color:rgb(253 164 175 / var(--tw-text-opacity))}.text-rose-400{--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity))}.text-rose-50{--tw-text-opacity: 1;color:rgb(255 241 242 / var(--tw-text-opacity))}.text-rose-500{--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity))}.text-rose-600{--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity))}.text-rose-700{--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity))}.text-rose-800{--tw-text-opacity: 1;color:rgb(159 18 57 / var(--tw-text-opacity))}.text-rose-900{--tw-text-opacity: 1;color:rgb(136 19 55 / var(--tw-text-opacity))}.text-rose-950{--tw-text-opacity: 1;color:rgb(76 5 25 / var(--tw-text-opacity))}.text-secondary-foreground{color:hsl(var(--secondary-foreground))}.text-secondary-foreground\/50{color:hsl(var(--secondary-foreground) / .5)}.text-sky-100{--tw-text-opacity: 1;color:rgb(224 242 254 / var(--tw-text-opacity))}.text-sky-200{--tw-text-opacity: 1;color:rgb(186 230 253 / var(--tw-text-opacity))}.text-sky-300{--tw-text-opacity: 1;color:rgb(125 211 252 / var(--tw-text-opacity))}.text-sky-400{--tw-text-opacity: 1;color:rgb(56 189 248 / var(--tw-text-opacity))}.text-sky-50{--tw-text-opacity: 1;color:rgb(240 249 255 / var(--tw-text-opacity))}.text-sky-500{--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}.text-sky-600{--tw-text-opacity: 1;color:rgb(2 132 199 / var(--tw-text-opacity))}.text-sky-700{--tw-text-opacity: 1;color:rgb(3 105 161 / var(--tw-text-opacity))}.text-sky-800{--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity))}.text-sky-900{--tw-text-opacity: 1;color:rgb(12 74 110 / var(--tw-text-opacity))}.text-sky-950{--tw-text-opacity: 1;color:rgb(8 47 73 / var(--tw-text-opacity))}.text-slate-100{--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}.text-slate-200{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}.text-slate-300{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.text-slate-400\/90{color:#94a3b8e6}.text-slate-50{--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-600{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.text-slate-700{--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}.text-slate-800{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}.text-slate-900{--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}.text-slate-900\/50{color:#0f172a80}.text-slate-950{--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}.text-stone-100{--tw-text-opacity: 1;color:rgb(245 245 244 / var(--tw-text-opacity))}.text-stone-200{--tw-text-opacity: 1;color:rgb(231 229 228 / var(--tw-text-opacity))}.text-stone-300{--tw-text-opacity: 1;color:rgb(214 211 209 / var(--tw-text-opacity))}.text-stone-400{--tw-text-opacity: 1;color:rgb(168 162 158 / var(--tw-text-opacity))}.text-stone-50{--tw-text-opacity: 1;color:rgb(250 250 249 / var(--tw-text-opacity))}.text-stone-500{--tw-text-opacity: 1;color:rgb(120 113 108 / var(--tw-text-opacity))}.text-stone-600{--tw-text-opacity: 1;color:rgb(87 83 78 / var(--tw-text-opacity))}.text-stone-700{--tw-text-opacity: 1;color:rgb(68 64 60 / var(--tw-text-opacity))}.text-stone-800{--tw-text-opacity: 1;color:rgb(41 37 36 / var(--tw-text-opacity))}.text-stone-900{--tw-text-opacity: 1;color:rgb(28 25 23 / var(--tw-text-opacity))}.text-stone-950{--tw-text-opacity: 1;color:rgb(12 10 9 / var(--tw-text-opacity))}.text-teal-100{--tw-text-opacity: 1;color:rgb(204 251 241 / var(--tw-text-opacity))}.text-teal-200{--tw-text-opacity: 1;color:rgb(153 246 228 / var(--tw-text-opacity))}.text-teal-300{--tw-text-opacity: 1;color:rgb(94 234 212 / var(--tw-text-opacity))}.text-teal-400{--tw-text-opacity: 1;color:rgb(45 212 191 / var(--tw-text-opacity))}.text-teal-50{--tw-text-opacity: 1;color:rgb(240 253 250 / var(--tw-text-opacity))}.text-teal-500{--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity))}.text-teal-600{--tw-text-opacity: 1;color:rgb(13 148 136 / var(--tw-text-opacity))}.text-teal-700{--tw-text-opacity: 1;color:rgb(15 118 110 / var(--tw-text-opacity))}.text-teal-800{--tw-text-opacity: 1;color:rgb(17 94 89 / var(--tw-text-opacity))}.text-teal-900{--tw-text-opacity: 1;color:rgb(19 78 74 / var(--tw-text-opacity))}.text-teal-950{--tw-text-opacity: 1;color:rgb(4 47 46 / var(--tw-text-opacity))}.text-transparent{color:transparent}.text-violet-100{--tw-text-opacity: 1;color:rgb(237 233 254 / var(--tw-text-opacity))}.text-violet-200{--tw-text-opacity: 1;color:rgb(221 214 254 / var(--tw-text-opacity))}.text-violet-300{--tw-text-opacity: 1;color:rgb(196 181 253 / var(--tw-text-opacity))}.text-violet-400{--tw-text-opacity: 1;color:rgb(167 139 250 / var(--tw-text-opacity))}.text-violet-50{--tw-text-opacity: 1;color:rgb(245 243 255 / var(--tw-text-opacity))}.text-violet-500{--tw-text-opacity: 1;color:rgb(139 92 246 / var(--tw-text-opacity))}.text-violet-600{--tw-text-opacity: 1;color:rgb(124 58 237 / var(--tw-text-opacity))}.text-violet-700{--tw-text-opacity: 1;color:rgb(109 40 217 / var(--tw-text-opacity))}.text-violet-800{--tw-text-opacity: 1;color:rgb(91 33 182 / var(--tw-text-opacity))}.text-violet-900{--tw-text-opacity: 1;color:rgb(76 29 149 / var(--tw-text-opacity))}.text-violet-950{--tw-text-opacity: 1;color:rgb(46 16 101 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-100{--tw-text-opacity: 1;color:rgb(254 249 195 / var(--tw-text-opacity))}.text-yellow-200{--tw-text-opacity: 1;color:rgb(254 240 138 / var(--tw-text-opacity))}.text-yellow-300{--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity))}.text-yellow-400{--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity))}.text-yellow-50{--tw-text-opacity: 1;color:rgb(254 252 232 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.text-yellow-600{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity))}.text-yellow-700{--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity))}.text-yellow-800{--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}.text-yellow-900{--tw-text-opacity: 1;color:rgb(113 63 18 / var(--tw-text-opacity))}.text-yellow-950{--tw-text-opacity: 1;color:rgb(66 32 6 / var(--tw-text-opacity))}.text-zinc-100{--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}.text-zinc-200{--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity))}.text-zinc-300{--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity))}.text-zinc-400{--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity))}.text-zinc-50{--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity))}.text-zinc-500{--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}.text-zinc-600{--tw-text-opacity: 1;color:rgb(82 82 91 / var(--tw-text-opacity))}.text-zinc-700{--tw-text-opacity: 1;color:rgb(63 63 70 / var(--tw-text-opacity))}.text-zinc-800{--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity))}.text-zinc-900{--tw-text-opacity: 1;color:rgb(24 24 27 / var(--tw-text-opacity))}.text-zinc-950{--tw-text-opacity: 1;color:rgb(9 9 11 / var(--tw-text-opacity))}.underline{-webkit-text-decoration-line:underline;text-decoration-line:underline}.line-through{-webkit-text-decoration-line:line-through;text-decoration-line:line-through}.decoration-gray-300{-webkit-text-decoration-color:#d1d5db;text-decoration-color:#d1d5db}.decoration-gray-400{-webkit-text-decoration-color:#9ca3af;text-decoration-color:#9ca3af}.decoration-slate-400{-webkit-text-decoration-color:#94a3b8;text-decoration-color:#94a3b8}.\!decoration-dashed{text-decoration-style:dashed!important}.decoration-1{text-decoration-thickness:1px}.\!underline-offset-4{text-underline-offset:4px!important}.underline-offset-4{text-underline-offset:4px}.placeholder-grey-40::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.placeholder-grey-40::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}.\!opacity-60{opacity:.6!important}.\!opacity-80{opacity:.8!important}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-30{opacity:.3}.opacity-40{opacity:.4}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-70{opacity:.7}.opacity-75{opacity:.75}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-2xl{--tw-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);--tw-shadow-colored: 0 25px 50px -12px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_-2px_12px_0_rgb\(0\,0\,0\,0\.1\)\]{--tw-shadow: 0 -2px 12px 0 rgb(0,0,0,.1);--tw-shadow-colored: 0 -2px 12px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_0_0_1px\]{--tw-shadow: 0 0 0 1px;--tw-shadow-colored: 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[0_0_0_2px\]{--tw-shadow: 0 0 0 2px;--tw-shadow-colored: 0 0 0 2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-window{--tw-shadow: 1px 2px 3px 0 rgb(0 0 0 / .1), 0 2px 4px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 1px 2px 3px 0 var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-\[\#D1D5DB\]{--tw-shadow-color: #D1D5DB;--tw-shadow: var(--tw-shadow-colored)}.shadow-border{--tw-shadow-color: hsl(var(--border));--tw-shadow: var(--tw-shadow-colored)}.shadow-input{--tw-shadow-color: hsl(var(--input));--tw-shadow: var(--tw-shadow-colored)}.\!outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.outline-0{outline-width:0px}.outline-1{outline-width:1px}.outline-4{outline-width:4px}.outline-grey-20{outline-color:#e5e7eb}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-offset-0{--tw-ring-offset-width: 0px}.ring-offset-background{--tw-ring-offset-color: hsl(var(--background))}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-sm{--tw-backdrop-blur: blur(4px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.backdrop-brightness-50{--tw-backdrop-brightness: brightness(.5);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-none{transition-property:none}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-100{transition-duration:.1s}.duration-1000{transition-duration:1s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.animate-in{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.animate-out{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.fade-in{--tw-enter-opacity: 0}.fade-in-50{--tw-enter-opacity: .5}.fade-in-80{--tw-enter-opacity: .8}.fade-in-90{--tw-enter-opacity: .9}.fade-out{--tw-exit-opacity: 0}.zoom-in-90{--tw-enter-scale: .9}.slide-in-from-bottom{--tw-enter-translate-y: 100%}.slide-in-from-bottom-1{--tw-enter-translate-y: .25rem}.slide-in-from-bottom-10{--tw-enter-translate-y: 2.5rem}.slide-in-from-left{--tw-enter-translate-x: -100%}.slide-in-from-left-1{--tw-enter-translate-x: -.25rem}.slide-in-from-right{--tw-enter-translate-x: 100%}.slide-in-from-top{--tw-enter-translate-y: -100%}.slide-in-from-top-1{--tw-enter-translate-y: -.25rem}.slide-in-from-top-10{--tw-enter-translate-y: -2.5rem}.duration-100{animation-duration:.1s}.duration-1000{animation-duration:1s}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.duration-700{animation-duration:.7s}.ease-in{animation-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{animation-timing-function:cubic-bezier(0,0,.2,1)}.\!fill-mode-forwards{animation-fill-mode:forwards!important}.fill-mode-forwards{animation-fill-mode:forwards}.\!scrollbar{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)!important}.scrollbar{scrollbar-color:var(--scrollbar-thumb, initial) var(--scrollbar-track, initial)}.\!scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track)!important;border-radius:var(--scrollbar-track-radius)!important}.scrollbar::-webkit-scrollbar-track{background-color:var(--scrollbar-track);border-radius:var(--scrollbar-track-radius)}.\!scrollbar::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))!important}.scrollbar::-webkit-scrollbar-track:hover{background-color:var(--scrollbar-track-hover, var(--scrollbar-track))}.\!scrollbar::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))!important}.scrollbar::-webkit-scrollbar-track:active{background-color:var(--scrollbar-track-active, var(--scrollbar-track-hover, var(--scrollbar-track)))}.\!scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb)!important;border-radius:var(--scrollbar-thumb-radius)!important}.scrollbar::-webkit-scrollbar-thumb{background-color:var(--scrollbar-thumb);border-radius:var(--scrollbar-thumb-radius)}.\!scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))!important}.scrollbar::-webkit-scrollbar-thumb:hover{background-color:var(--scrollbar-thumb-hover, var(--scrollbar-thumb))}.\!scrollbar::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))!important}.scrollbar::-webkit-scrollbar-thumb:active{background-color:var(--scrollbar-thumb-active, var(--scrollbar-thumb-hover, var(--scrollbar-thumb)))}.\!scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner)!important;border-radius:var(--scrollbar-corner-radius)!important}.scrollbar::-webkit-scrollbar-corner{background-color:var(--scrollbar-corner);border-radius:var(--scrollbar-corner-radius)}.\!scrollbar::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))!important}.scrollbar::-webkit-scrollbar-corner:hover{background-color:var(--scrollbar-corner-hover, var(--scrollbar-corner))}.\!scrollbar::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))!important}.scrollbar::-webkit-scrollbar-corner:active{background-color:var(--scrollbar-corner-active, var(--scrollbar-corner-hover, var(--scrollbar-corner)))}.\!scrollbar{scrollbar-width:auto!important}.scrollbar{scrollbar-width:auto}.\!scrollbar::-webkit-scrollbar{display:block!important;width:var(--scrollbar-width, 16px)!important;height:var(--scrollbar-height, 16px)!important}.scrollbar::-webkit-scrollbar{display:block;width:var(--scrollbar-width, 16px);height:var(--scrollbar-height, 16px)}.step{counter-increment:step}.step:before{position:absolute;display:inline-flex;height:2rem;width:2rem;align-items:center;justify-content:center;border-radius:9999px;background-color:hsl(var(--muted));text-align:center;text-indent:-1px;font-size:1rem;line-height:1.5rem;font-weight:500;margin-left:-41px;content:counter(step)}@font-face{font-family:Country Flags;src:url(/assets/TwemojiCountryFlags-Bje2crD2.woff2) format("woff2");unicode-range:U+1F1E6-1F1FF,U+1F3F4,U+E0062-E0063,U+E0065,U+E0067,U+E006C,U+E006E,U+E0073-E0074,U+E0077,U+E007F;font-display:swap}@font-face{font-family:Inter;src:url(/assets/Inter-Regular-B0QUfDW0.woff2) format("woff2")}@font-face{font-family:Inter;font-weight:500;src:url(/assets/Inter-Medium-B0NFony0.woff2) format("woff2")}@font-face{font-family:Inter;font-weight:500;src:url(/assets/Inter-Medium-B0NFony0.woff2) format("woff2")}@font-face{font-family:Inter;font-weight:600;src:url(/assets/Inter-SemiBold-_JLwM7Yv.woff2) format("woff2")}@font-face{font-family:SourceCode;src:url(/assets/SourceCodePro-Regular.otf-Chr7uwKk.woff2) format("woff2")}[data-radix-popper-content-wrapper]{z-index:999!important}input::-ms-reveal{display:none}input[type=number]::-webkit-inner-spin-button{display:none}[type=button]{-webkit-appearance:none;-moz-appearance:none}::-webkit-scrollbar{width:0;height:0;background:transparent}::-webkit-scrollbar-corner{background:transparent}::-webkit-scrollbar-track{border-radius:.75rem;background:transparent}.dark ::-webkit-scrollbar-thumb{border-radius:.75rem;--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}::-webkit-scrollbar-thumb{border-radius:.75rem;--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}textarea::-webkit-scrollbar{width:8px;height:8px;background:transparent}.flags{font-family:Country Flags}.simplebar-scrollbar:before{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.body-overlay{position:absolute;margin-top:40px;top:0;right:0;bottom:0;left:0;z-index:999;animation:.3s cubic-bezier(.16,1,.3,1) 0s 1 normal none running fadeInOpacity}.note-content{line-height:1.4}.note-content p:last-child{margin-bottom:.1rem}.note-content h1,.note-content h2,.note-content h3,.note-content h4,.note-content h5,.note-content h6,.note-content p,.note-content ul,.note-content ol,.note-content pre,.note-content blockquote,.note-content table,.note-content img,.note-content hr{margin-bottom:.5rem}.note-content b,.note-content strong{font-weight:700}.note-content h1{font-size:1.25rem;font-weight:700;margin-bottom:.25rem}.note-content h2{font-size:1.125rem;font-weight:700;margin-bottom:.25rem}.note-content h3{font-size:1rem;font-weight:700;margin-bottom:.25rem}.note-content h4{font-size:.875rem;font-weight:700;margin-bottom:.25rem}.note-content h5{font-size:.75rem;font-weight:700;margin-bottom:.25rem}.note-content h6{font-size:.625rem;font-weight:700}.note-content a{color:#007bff;text-decoration:underline}.note-content a:hover{text-decoration:none}.note-content ul,.note-content ol{margin-bottom:.5rem;padding-left:1.25rem}.note-content ul li,.note-content ol li{margin-bottom:.15rem;position:relative}.note-content ul{list-style-type:none}.note-content ul li{display:flex;gap:.25rem}.note-content ul li.task-list-item{justify-content:flex-start;item-align:center;margin-left:-.35rem}.note-content ul li.task-list-item input{width:.95rem;height:1rem;margin-top:.15rem}.note-content ul li.task-list-item:before{content:""}.note-content ul li:before{content:"•";padding-right:.15rem;color:#ddd;margin-left:-1rem;vertical-align:middle}.note-content ol{list-style:none;counter-reset:list-counter}.note-content ol li{counter-increment:list-counter;display:flex;gap:.25rem}.note-content ol li:before{content:counter(list-counter) ".";color:#ddd;margin-left:-1rem;text-align:right;vertical-align:middle}.note-content pre,.note-content code{background-color:#f5f5f5;border:1px solid #ddd;padding:0 .25rem;border-radius:.25rem;overflow:auto}.note-content blockquote{padding:.25rem .5rem;border-left:5px solid #ddd;background-color:#f9f9f9;color:#555}.note-content table{width:100%;border-collapse:collapse}.note-content table th,.note-content table td{border:1px solid #ddd;padding:.5rem;text-align:left}.note-content img{max-width:100%;height:auto}.note-content hr{border:none;border-top:1px solid #ccc}.dark .note-content a{color:#4ca3dd;text-decoration:underline}.dark .note-content a:hover{text-decoration:none}.dark .note-content ul li:before,.dark .note-content ol li:before{color:#555}.dark .note-content pre,.dark .note-content code{background-color:#222;border:1px solid #444}.dark .note-content blockquote{border-left:4px solid #444;background-color:#222;color:#bbb}.dark .note-content table th,.dark .note-content table td{border:1px solid #666}.dark .note-content hr{border-top:1px solid #666}.esc-key{background-image:url("data:image/svg+xml,%3Csvg width='16' height='7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M.506 6h3.931V4.986H1.736v-1.39h2.488V2.583H1.736V1.196h2.69V.182H.506V6ZM8.56 1.855h1.18C9.721.818 8.87.102 7.574.102c-1.276 0-2.21.705-2.205 1.762-.003.858.602 1.35 1.585 1.585l.634.159c.633.153.986.335.988.727-.002.426-.406.716-1.03.716-.64 0-1.1-.295-1.14-.878h-1.19c.03 1.259.931 1.91 2.343 1.91 1.42 0 2.256-.68 2.259-1.745-.003-.969-.733-1.483-1.744-1.71l-.523-.125c-.506-.117-.93-.304-.92-.722 0-.375.332-.65.934-.65.588 0 .949.267.994.724ZM15.78 2.219C15.618.875 14.6.102 13.254.102c-1.537 0-2.71 1.086-2.71 2.989 0 1.898 1.153 2.989 2.71 2.989 1.492 0 2.392-.992 2.526-2.063l-1.244-.006c-.117.623-.606.98-1.262.98-.883 0-1.483-.656-1.483-1.9 0-1.21.591-1.9 1.492-1.9.673 0 1.159.389 1.253 1.028h1.244Z' fill='%235b697d'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:57.1428571429% auto}.code-filter .simplebar-content-wrapper{outline:none;margin-right:10px;margin-left:0}.simplebar-content-wrapper{outline:none;margin-right:12px;margin-left:6px}.simplebar-height-auto-observer-wrapper{z-index:1}.animation-pulse-copy{animation:pulse2 2s infinite}.fade-in-init{opacity:0}.fade-in-init-hover{opacity:100%;transition-delay:1.5s;transition-property:opacity;transition-duration:.3s}.fade-in-animation{animation:fadeInAnimation;animation-timing-function:ease-linear;animation-duration:.2s}.fade-in-opacity-with-delay{animation:fadeInOpacityWithDelay;animation-timing-function:ease-in-out;animation-duration:.3s}.search-pulse-animation{display:inline-block;animation:searchPulseAnimation;animation-timing-function:ease-in-out;animation-duration:.3s}@keyframes fadeInAnimation{0%{transform:scale(.7);opacity:.7}to{transform:scale(1);opacity:1}}@keyframes fadeInOpacityWithDelay{0%{opacity:0}70%{opacity:0}to{opacity:1}}@keyframes searchPulseAnimation{0%{transform:scale(1)}50%{transform:scale(1.2)}to{transform:scale(1)}}@keyframes pulse2{0%{box-shadow:0 0 #e53e3e}70%{box-shadow:0 0 0 10px #e53e3e00}}.pulse-clip{animation:pulseClip 1s 1}.dark .pulse-clip{animation:pulseClipDark 1s 1}@keyframes fadeInOpacity{0%{opacity:0}to{opacity:1}}@keyframes pulseClipDark{50%{opacity:.7;transform:scale(1)}60%{transform:scale(1.05);--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}90%{opacity:1;transform:scale(1)}}@keyframes pulseClip{50%{opacity:.7;transform:scale(1)}60%{transform:scale(1.05);--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}90%{opacity:1;transform:scale(1)}}body,.bg-background,[role=menubar]{-webkit-user-select:none;-moz-user-select:none;user-select:none}code{font-family:SourceCode,source-code-pro,ui-monospace,SFMono-Regular,SF Mono,Menlo,Monaco,Consolas,Courier New,monospace;font-size:.875rem}body [type=button]{-webkit-appearance:none}body[style*="pointer-events: none"] .overflow-auto,body[style*="pointer-events: none"] .overflow-y-auto,body[style*="pointer-events: none"] .overflow-x-auto{overflow:hidden!important}@media (max-width: 640px){.container{padding-left:1rem;padding-right:1rem}}.code-editor-wrapper{font-family:sans-serif;text-align:center}pre.code-editor-pre{text-align:left;margin:1em 0;padding:.5em;overflow:scroll}pre.code-editor-pre .token-line{line-height:1.3em;height:1.3em}.code-editor-line{display:table-row}.code-editor-line-number{display:table-cell;text-align:right;padding-right:1em;-webkit-user-select:none;-moz-user-select:none;user-select:none;opacity:.5}.code-editor-line-content{display:table-cell}.not-active-background{background-size:10px 10px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23CCCCCC' stroke-width='0.7' %3E%3Cpath d='M0,20 L20,0 M15,25 L25,15 M-5,5 L5,-5'/%3E%3C/g%3E%3C/svg%3E")}.dark .not-active-background{background-size:10px 10px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cg fill='none' stroke='%23333333' stroke-width='0.7' %3E%3Cpath d='M0,20 L20,0 M15,25 L25,15 M-5,5 L5,-5'/%3E%3C/g%3E%3C/svg%3E")}.boarding-coutout-svg,#boarding-popover-item{display:none}.first-letter\:uppercase:first-letter{text-transform:uppercase}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-transparent::file-selector-button{background-color:transparent}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.placeholder\:text-grey-40::-moz-placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.placeholder\:text-grey-40::placeholder{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.placeholder\:text-muted-foreground::-moz-placeholder{color:hsl(var(--muted-foreground))}.placeholder\:text-muted-foreground::placeholder{color:hsl(var(--muted-foreground))}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:left-2\/4:before{content:var(--tw-content);left:50%}.before\:top-2\/4:before{content:var(--tw-content);top:50%}.before\:block:before{content:var(--tw-content);display:block}.before\:h-11:before{content:var(--tw-content);height:2.75rem}.before\:w-11:before{content:var(--tw-content);width:2.75rem}.before\:-translate-x-2\/4:before{content:var(--tw-content);--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.before\:-translate-y-2\/4:before{content:var(--tw-content);--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.before\:rounded-full:before{content:var(--tw-content);border-radius:9999px}.before\:bg-red-500:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.before\:bg-slate-500:before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.before\:opacity-0:before{content:var(--tw-content);opacity:0}.before\:transition-opacity:before{content:var(--tw-content);transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:inset-0:after{content:var(--tw-content);top:0;right:0;bottom:0;left:0}.after\:m-auto:after{content:var(--tw-content);margin:auto}.after\:block:after{content:var(--tw-content);display:block}.after\:h-\[12px\]:after{content:var(--tw-content);height:12px}.after\:w-\[12px\]:after{content:var(--tw-content);width:12px}.after\:content-\[\'\,\'\]:after{--tw-content: ",";content:var(--tw-content)}.last\:mb-0:last-child{margin-bottom:0}.last\:mr-0:last-child{margin-right:0}.checked\:border-2:checked{border-width:2px}.checked\:border-red-500:checked{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.checked\:border-slate-500:checked{--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity))}.checked\:bg-red-500:checked{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.checked\:bg-slate-500:checked{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.focus-within\:relative:focus-within{position:relative}.focus-within\:z-20:focus-within{z-index:20}.focus-within\:border-none:focus-within{border-style:none}.focus-within\:shadow-none:focus-within{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus-within\:shadow-input:focus-within{--tw-shadow-color: hsl(var(--input));--tw-shadow: var(--tw-shadow-colored)}.focus-within\:outline:focus-within{outline-style:solid}.focus-within\:outline-4:focus-within{outline-width:4px}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:hidden{display:none}.group:hover .group-hover\:scale-125{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\:animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.group:hover .group-hover\:bg-grey-5{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.group:hover .group-hover\:fill-red-500{fill:#ef4444}.group:hover .group-hover\:pr-1{padding-right:.25rem}.group:hover .group-hover\:pr-1\.5{padding-right:.375rem}.group:hover .group-hover\:\!text-amber-500{--tw-text-opacity: 1 !important;color:rgb(245 158 11 / var(--tw-text-opacity))!important}.group:hover .group-hover\:\!text-blue-500{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity))!important}.group:hover .group-hover\:text-blue-300{--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}.group:hover .group-hover\:text-blue-400{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.group:hover .group-hover\:text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.group:focus .group-focus\:visible{visibility:visible}.group.destructive .group-\[\.destructive\]\:border-destructive\/30{border-color:hsl(var(--destructive) / .3)}.group.destructive .group-\[\.destructive\]\:text-red-300{--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}.peer:checked~.peer-checked\:opacity-100{opacity:1}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.aria-selected\:bg-accent[aria-selected=true]{background-color:hsl(var(--accent))}.aria-selected\:text-accent-foreground[aria-selected=true]{color:hsl(var(--accent-foreground))}.aria-selected\:opacity-100[aria-selected=true]{opacity:1}.data-\[disabled\]\:pointer-events-none[data-disabled]{pointer-events:none}.data-\[disabled\]\:pointer-events-auto[data-disabled]{pointer-events:auto}.data-\[state\=checked\]\:translate-x-4[data-state=checked]{--tw-translate-x: 1rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[state\=unchecked\]\:translate-x-0[data-state=unchecked],.data-\[swipe\=cancel\]\:translate-x-0[data-swipe=cancel]{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=end\]\:translate-x-\[var\(--radix-toast-swipe-end-x\)\][data-swipe=end]{--tw-translate-x: var(--radix-toast-swipe-end-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.data-\[swipe\=move\]\:translate-x-\[var\(--radix-toast-swipe-move-x\)\][data-swipe=move]{--tw-translate-x: var(--radix-toast-swipe-move-x);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes accordion-up{0%{height:var(--radix-accordion-content-height)}to{height:0}}.data-\[state\=closed\]\:animate-accordion-up[data-state=closed]{animation:accordion-up .2s ease-in-out}@keyframes accordion-down{0%{height:0}to{height:var(--radix-accordion-content-height)}}.data-\[state\=open\]\:animate-accordion-down[data-state=open]{animation:accordion-down .2s ease-in-out}.data-\[active\]\:bg-accent\/50[data-active]{background-color:hsl(var(--accent) / .5)}.data-\[state\=active\]\:bg-amber-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-amber-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-background[data-state=active]{background-color:hsl(var(--background))}.data-\[state\=active\]\:bg-blue-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-blue-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-cyan-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-emerald-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-fuchsia-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-gray-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-green-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-indigo-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-lime-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-neutral-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-orange-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-pink-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-purple-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-red-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-rose-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-sky-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-slate-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-stone-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-teal-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-violet-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-yellow-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-100[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-200[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-300[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-400[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-50[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-500[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-600[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-700[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-800[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-900[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.data-\[state\=active\]\:bg-zinc-950[data-state=active]{--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}.data-\[state\=checked\]\:bg-slate-500[data-state=checked]{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.data-\[state\=on\]\:bg-accent[data-state=on],.data-\[state\=open\]\:bg-accent[data-state=open]{background-color:hsl(var(--accent))}.data-\[state\=open\]\:bg-accent\/50[data-state=open]{background-color:hsl(var(--accent) / .5)}.data-\[state\=open\]\:bg-secondary[data-state=open]{background-color:hsl(var(--secondary))}.data-\[state\=selected\]\:bg-muted[data-state=selected]{background-color:hsl(var(--muted))}.data-\[state\=unchecked\]\:bg-input[data-state=unchecked]{background-color:hsl(var(--input))}.data-\[state\=active\]\:text-foreground[data-state=active]{color:hsl(var(--foreground))}.data-\[state\=active\]\:text-slate-300[data-state=active]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.data-\[state\=active\]\:text-slate-500[data-state=active]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.data-\[state\=on\]\:text-accent-foreground[data-state=on],.data-\[state\=open\]\:text-accent-foreground[data-state=open]{color:hsl(var(--accent-foreground))}.data-\[state\=open\]\:text-black[data-state=open]{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.data-\[state\=open\]\:text-muted-foreground[data-state=open]{color:hsl(var(--muted-foreground))}.data-\[disabled\]\:opacity-50[data-disabled]{opacity:.5}.data-\[state\=active\]\:shadow-sm[data-state=active]{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.data-\[swipe\=move\]\:transition-none[data-swipe=move]{transition-property:none}.data-\[motion\^\=from-\]\:animate-in[data-motion^=from-],.data-\[state\=open\]\:animate-in[data-state=open],.data-\[state\=visible\]\:animate-in[data-state=visible]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[motion\^\=to-\]\:animate-out[data-motion^=to-],.data-\[state\=closed\]\:animate-out[data-state=closed],.data-\[state\=hidden\]\:animate-out[data-state=hidden],.data-\[swipe\=end\]\:animate-out[data-swipe=end]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[motion\^\=from-\]\:fade-in[data-motion^=from-]{--tw-enter-opacity: 0}.data-\[motion\^\=to-\]\:fade-out[data-motion^=to-],.data-\[state\=closed\]\:fade-out[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=closed\]\:fade-out-10[data-state=closed]{--tw-exit-opacity: .1}.data-\[state\=hidden\]\:fade-out[data-state=hidden]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=open\]\:fade-in-90[data-state=open]{--tw-enter-opacity: .9}.data-\[state\=visible\]\:fade-in[data-state=visible]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-90[data-state=open]{--tw-enter-scale: .9}.data-\[motion\=from-end\]\:slide-in-from-right-52[data-motion=from-end]{--tw-enter-translate-x: 13rem}.data-\[motion\=from-start\]\:slide-in-from-left-52[data-motion=from-start]{--tw-enter-translate-x: -13rem}.data-\[motion\=to-end\]\:slide-out-to-right-52[data-motion=to-end]{--tw-exit-translate-x: 13rem}.data-\[motion\=to-start\]\:slide-out-to-left-52[data-motion=to-start]{--tw-exit-translate-x: -13rem}.data-\[side\=bottom\]\:slide-in-from-top-1[data-side=bottom]{--tw-enter-translate-y: -.25rem}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-1[data-side=left]{--tw-enter-translate-x: .25rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-1[data-side=right]{--tw-enter-translate-x: -.25rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-1[data-side=top]{--tw-enter-translate-y: .25rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-right-full[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-bottom-10[data-state=open]{--tw-enter-translate-y: 2.5rem}.data-\[state\=open\]\:slide-in-from-top-full[data-state=open]{--tw-enter-translate-y: -100%}.group[data-state=open] .group-data-\[state\=open\]\:rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:z-100:hover{z-index:100}.hover\:scale-125:hover{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.hover\:animate-pulse:hover{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}.hover\:\!border-orange-300\/90:hover{border-color:#fdba74e6!important}.hover\:border-amber-100:hover{--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity))}.hover\:border-amber-200:hover{--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity))}.hover\:border-amber-300:hover{--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity))}.hover\:border-amber-300\/80:hover{border-color:#fcd34dcc}.hover\:border-amber-400:hover{--tw-border-opacity: 1;border-color:rgb(251 191 36 / var(--tw-border-opacity))}.hover\:border-amber-50:hover{--tw-border-opacity: 1;border-color:rgb(255 251 235 / var(--tw-border-opacity))}.hover\:border-amber-500:hover{--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity))}.hover\:border-amber-600:hover{--tw-border-opacity: 1;border-color:rgb(217 119 6 / var(--tw-border-opacity))}.hover\:border-amber-700:hover{--tw-border-opacity: 1;border-color:rgb(180 83 9 / var(--tw-border-opacity))}.hover\:border-amber-800:hover{--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity))}.hover\:border-amber-900:hover{--tw-border-opacity: 1;border-color:rgb(120 53 15 / var(--tw-border-opacity))}.hover\:border-amber-950:hover{--tw-border-opacity: 1;border-color:rgb(69 26 3 / var(--tw-border-opacity))}.hover\:border-blue-100:hover{--tw-border-opacity: 1;border-color:rgb(219 234 254 / var(--tw-border-opacity))}.hover\:border-blue-200:hover{--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity))}.hover\:border-blue-300:hover{--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}.hover\:border-blue-400:hover{--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}.hover\:border-blue-50:hover{--tw-border-opacity: 1;border-color:rgb(239 246 255 / var(--tw-border-opacity))}.hover\:border-blue-500:hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.hover\:border-blue-600:hover{--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}.hover\:border-blue-700:hover{--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity))}.hover\:border-blue-800:hover{--tw-border-opacity: 1;border-color:rgb(30 64 175 / var(--tw-border-opacity))}.hover\:border-blue-900:hover{--tw-border-opacity: 1;border-color:rgb(30 58 138 / var(--tw-border-opacity))}.hover\:border-blue-950:hover{--tw-border-opacity: 1;border-color:rgb(23 37 84 / var(--tw-border-opacity))}.hover\:border-cyan-100:hover{--tw-border-opacity: 1;border-color:rgb(207 250 254 / var(--tw-border-opacity))}.hover\:border-cyan-200:hover{--tw-border-opacity: 1;border-color:rgb(165 243 252 / var(--tw-border-opacity))}.hover\:border-cyan-300:hover{--tw-border-opacity: 1;border-color:rgb(103 232 249 / var(--tw-border-opacity))}.hover\:border-cyan-400:hover{--tw-border-opacity: 1;border-color:rgb(34 211 238 / var(--tw-border-opacity))}.hover\:border-cyan-50:hover{--tw-border-opacity: 1;border-color:rgb(236 254 255 / var(--tw-border-opacity))}.hover\:border-cyan-500:hover{--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity))}.hover\:border-cyan-600:hover{--tw-border-opacity: 1;border-color:rgb(8 145 178 / var(--tw-border-opacity))}.hover\:border-cyan-700:hover{--tw-border-opacity: 1;border-color:rgb(14 116 144 / var(--tw-border-opacity))}.hover\:border-cyan-800:hover{--tw-border-opacity: 1;border-color:rgb(21 94 117 / var(--tw-border-opacity))}.hover\:border-cyan-900:hover{--tw-border-opacity: 1;border-color:rgb(22 78 99 / var(--tw-border-opacity))}.hover\:border-cyan-950:hover{--tw-border-opacity: 1;border-color:rgb(8 51 68 / var(--tw-border-opacity))}.hover\:border-emerald-100:hover{--tw-border-opacity: 1;border-color:rgb(209 250 229 / var(--tw-border-opacity))}.hover\:border-emerald-200:hover{--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity))}.hover\:border-emerald-300:hover{--tw-border-opacity: 1;border-color:rgb(110 231 183 / var(--tw-border-opacity))}.hover\:border-emerald-400:hover{--tw-border-opacity: 1;border-color:rgb(52 211 153 / var(--tw-border-opacity))}.hover\:border-emerald-50:hover{--tw-border-opacity: 1;border-color:rgb(236 253 245 / var(--tw-border-opacity))}.hover\:border-emerald-500:hover{--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity))}.hover\:border-emerald-600:hover{--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity))}.hover\:border-emerald-700:hover{--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity))}.hover\:border-emerald-800:hover{--tw-border-opacity: 1;border-color:rgb(6 95 70 / var(--tw-border-opacity))}.hover\:border-emerald-900:hover{--tw-border-opacity: 1;border-color:rgb(6 78 59 / var(--tw-border-opacity))}.hover\:border-emerald-950:hover{--tw-border-opacity: 1;border-color:rgb(2 44 34 / var(--tw-border-opacity))}.hover\:border-fuchsia-100:hover{--tw-border-opacity: 1;border-color:rgb(250 232 255 / var(--tw-border-opacity))}.hover\:border-fuchsia-200:hover{--tw-border-opacity: 1;border-color:rgb(245 208 254 / var(--tw-border-opacity))}.hover\:border-fuchsia-300:hover{--tw-border-opacity: 1;border-color:rgb(240 171 252 / var(--tw-border-opacity))}.hover\:border-fuchsia-400:hover{--tw-border-opacity: 1;border-color:rgb(232 121 249 / var(--tw-border-opacity))}.hover\:border-fuchsia-50:hover{--tw-border-opacity: 1;border-color:rgb(253 244 255 / var(--tw-border-opacity))}.hover\:border-fuchsia-500:hover{--tw-border-opacity: 1;border-color:rgb(217 70 239 / var(--tw-border-opacity))}.hover\:border-fuchsia-600:hover{--tw-border-opacity: 1;border-color:rgb(192 38 211 / var(--tw-border-opacity))}.hover\:border-fuchsia-700:hover{--tw-border-opacity: 1;border-color:rgb(162 28 175 / var(--tw-border-opacity))}.hover\:border-fuchsia-800:hover{--tw-border-opacity: 1;border-color:rgb(134 25 143 / var(--tw-border-opacity))}.hover\:border-fuchsia-900:hover{--tw-border-opacity: 1;border-color:rgb(112 26 117 / var(--tw-border-opacity))}.hover\:border-fuchsia-950:hover{--tw-border-opacity: 1;border-color:rgb(74 4 78 / var(--tw-border-opacity))}.hover\:border-gray-100:hover{--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}.hover\:border-gray-200:hover{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.hover\:border-gray-300:hover{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-gray-400:hover{--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\:border-gray-50:hover{--tw-border-opacity: 1;border-color:rgb(249 250 251 / var(--tw-border-opacity))}.hover\:border-gray-500:hover{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.hover\:border-gray-600:hover{--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}.hover\:border-gray-700:hover{--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}.hover\:border-gray-800:hover{--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}.hover\:border-gray-900:hover{--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}.hover\:border-gray-950:hover{--tw-border-opacity: 1;border-color:rgb(3 7 18 / var(--tw-border-opacity))}.hover\:border-green-100:hover{--tw-border-opacity: 1;border-color:rgb(220 252 231 / var(--tw-border-opacity))}.hover\:border-green-200:hover{--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity))}.hover\:border-green-300:hover{--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}.hover\:border-green-400:hover{--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity))}.hover\:border-green-50:hover{--tw-border-opacity: 1;border-color:rgb(240 253 244 / var(--tw-border-opacity))}.hover\:border-green-500:hover{--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}.hover\:border-green-600:hover{--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity))}.hover\:border-green-700:hover{--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity))}.hover\:border-green-800:hover{--tw-border-opacity: 1;border-color:rgb(22 101 52 / var(--tw-border-opacity))}.hover\:border-green-900:hover{--tw-border-opacity: 1;border-color:rgb(20 83 45 / var(--tw-border-opacity))}.hover\:border-green-950:hover{--tw-border-opacity: 1;border-color:rgb(5 46 22 / var(--tw-border-opacity))}.hover\:border-indigo-100:hover{--tw-border-opacity: 1;border-color:rgb(224 231 255 / var(--tw-border-opacity))}.hover\:border-indigo-200:hover{--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity))}.hover\:border-indigo-300:hover{--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity))}.hover\:border-indigo-400:hover{--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity))}.hover\:border-indigo-50:hover{--tw-border-opacity: 1;border-color:rgb(238 242 255 / var(--tw-border-opacity))}.hover\:border-indigo-500:hover{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.hover\:border-indigo-600:hover{--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity))}.hover\:border-indigo-700:hover{--tw-border-opacity: 1;border-color:rgb(67 56 202 / var(--tw-border-opacity))}.hover\:border-indigo-800:hover{--tw-border-opacity: 1;border-color:rgb(55 48 163 / var(--tw-border-opacity))}.hover\:border-indigo-900:hover{--tw-border-opacity: 1;border-color:rgb(49 46 129 / var(--tw-border-opacity))}.hover\:border-indigo-950:hover{--tw-border-opacity: 1;border-color:rgb(30 27 75 / var(--tw-border-opacity))}.hover\:border-lime-100:hover{--tw-border-opacity: 1;border-color:rgb(236 252 203 / var(--tw-border-opacity))}.hover\:border-lime-200:hover{--tw-border-opacity: 1;border-color:rgb(217 249 157 / var(--tw-border-opacity))}.hover\:border-lime-300:hover{--tw-border-opacity: 1;border-color:rgb(190 242 100 / var(--tw-border-opacity))}.hover\:border-lime-400:hover{--tw-border-opacity: 1;border-color:rgb(163 230 53 / var(--tw-border-opacity))}.hover\:border-lime-50:hover{--tw-border-opacity: 1;border-color:rgb(247 254 231 / var(--tw-border-opacity))}.hover\:border-lime-500:hover{--tw-border-opacity: 1;border-color:rgb(132 204 22 / var(--tw-border-opacity))}.hover\:border-lime-600:hover{--tw-border-opacity: 1;border-color:rgb(101 163 13 / var(--tw-border-opacity))}.hover\:border-lime-700:hover{--tw-border-opacity: 1;border-color:rgb(77 124 15 / var(--tw-border-opacity))}.hover\:border-lime-800:hover{--tw-border-opacity: 1;border-color:rgb(63 98 18 / var(--tw-border-opacity))}.hover\:border-lime-900:hover{--tw-border-opacity: 1;border-color:rgb(54 83 20 / var(--tw-border-opacity))}.hover\:border-lime-950:hover{--tw-border-opacity: 1;border-color:rgb(26 46 5 / var(--tw-border-opacity))}.hover\:border-neutral-100:hover{--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity))}.hover\:border-neutral-200:hover{--tw-border-opacity: 1;border-color:rgb(229 229 229 / var(--tw-border-opacity))}.hover\:border-neutral-300:hover{--tw-border-opacity: 1;border-color:rgb(212 212 212 / var(--tw-border-opacity))}.hover\:border-neutral-400:hover{--tw-border-opacity: 1;border-color:rgb(163 163 163 / var(--tw-border-opacity))}.hover\:border-neutral-50:hover{--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}.hover\:border-neutral-500:hover{--tw-border-opacity: 1;border-color:rgb(115 115 115 / var(--tw-border-opacity))}.hover\:border-neutral-600:hover{--tw-border-opacity: 1;border-color:rgb(82 82 82 / var(--tw-border-opacity))}.hover\:border-neutral-700:hover{--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}.hover\:border-neutral-800:hover{--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity))}.hover\:border-neutral-900:hover{--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity))}.hover\:border-neutral-950:hover{--tw-border-opacity: 1;border-color:rgb(10 10 10 / var(--tw-border-opacity))}.hover\:border-orange-100:hover{--tw-border-opacity: 1;border-color:rgb(255 237 213 / var(--tw-border-opacity))}.hover\:border-orange-200:hover{--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity))}.hover\:border-orange-300:hover{--tw-border-opacity: 1;border-color:rgb(253 186 116 / var(--tw-border-opacity))}.hover\:border-orange-400:hover{--tw-border-opacity: 1;border-color:rgb(251 146 60 / var(--tw-border-opacity))}.hover\:border-orange-50:hover{--tw-border-opacity: 1;border-color:rgb(255 247 237 / var(--tw-border-opacity))}.hover\:border-orange-500:hover{--tw-border-opacity: 1;border-color:rgb(249 115 22 / var(--tw-border-opacity))}.hover\:border-orange-600:hover{--tw-border-opacity: 1;border-color:rgb(234 88 12 / var(--tw-border-opacity))}.hover\:border-orange-700:hover{--tw-border-opacity: 1;border-color:rgb(194 65 12 / var(--tw-border-opacity))}.hover\:border-orange-800:hover{--tw-border-opacity: 1;border-color:rgb(154 52 18 / var(--tw-border-opacity))}.hover\:border-orange-900:hover{--tw-border-opacity: 1;border-color:rgb(124 45 18 / var(--tw-border-opacity))}.hover\:border-orange-950:hover{--tw-border-opacity: 1;border-color:rgb(67 20 7 / var(--tw-border-opacity))}.hover\:border-pink-100:hover{--tw-border-opacity: 1;border-color:rgb(252 231 243 / var(--tw-border-opacity))}.hover\:border-pink-200:hover{--tw-border-opacity: 1;border-color:rgb(251 207 232 / var(--tw-border-opacity))}.hover\:border-pink-300:hover{--tw-border-opacity: 1;border-color:rgb(249 168 212 / var(--tw-border-opacity))}.hover\:border-pink-400:hover{--tw-border-opacity: 1;border-color:rgb(244 114 182 / var(--tw-border-opacity))}.hover\:border-pink-50:hover{--tw-border-opacity: 1;border-color:rgb(253 242 248 / var(--tw-border-opacity))}.hover\:border-pink-500:hover{--tw-border-opacity: 1;border-color:rgb(236 72 153 / var(--tw-border-opacity))}.hover\:border-pink-600:hover{--tw-border-opacity: 1;border-color:rgb(219 39 119 / var(--tw-border-opacity))}.hover\:border-pink-700:hover{--tw-border-opacity: 1;border-color:rgb(190 24 93 / var(--tw-border-opacity))}.hover\:border-pink-800:hover{--tw-border-opacity: 1;border-color:rgb(157 23 77 / var(--tw-border-opacity))}.hover\:border-pink-900:hover{--tw-border-opacity: 1;border-color:rgb(131 24 67 / var(--tw-border-opacity))}.hover\:border-pink-950:hover{--tw-border-opacity: 1;border-color:rgb(80 7 36 / var(--tw-border-opacity))}.hover\:border-purple-100:hover{--tw-border-opacity: 1;border-color:rgb(243 232 255 / var(--tw-border-opacity))}.hover\:border-purple-200:hover{--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity))}.hover\:border-purple-300:hover{--tw-border-opacity: 1;border-color:rgb(216 180 254 / var(--tw-border-opacity))}.hover\:border-purple-400:hover{--tw-border-opacity: 1;border-color:rgb(192 132 252 / var(--tw-border-opacity))}.hover\:border-purple-50:hover{--tw-border-opacity: 1;border-color:rgb(250 245 255 / var(--tw-border-opacity))}.hover\:border-purple-500:hover{--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity))}.hover\:border-purple-600:hover{--tw-border-opacity: 1;border-color:rgb(147 51 234 / var(--tw-border-opacity))}.hover\:border-purple-700:hover{--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity))}.hover\:border-purple-800:hover{--tw-border-opacity: 1;border-color:rgb(107 33 168 / var(--tw-border-opacity))}.hover\:border-purple-900:hover{--tw-border-opacity: 1;border-color:rgb(88 28 135 / var(--tw-border-opacity))}.hover\:border-purple-950:hover{--tw-border-opacity: 1;border-color:rgb(59 7 100 / var(--tw-border-opacity))}.hover\:border-red-100:hover{--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity))}.hover\:border-red-200:hover{--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity))}.hover\:border-red-300:hover{--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}.hover\:border-red-400:hover{--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity))}.hover\:border-red-50:hover{--tw-border-opacity: 1;border-color:rgb(254 242 242 / var(--tw-border-opacity))}.hover\:border-red-500:hover{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.hover\:border-red-600:hover{--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}.hover\:border-red-700:hover{--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity))}.hover\:border-red-800:hover{--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity))}.hover\:border-red-900:hover{--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}.hover\:border-red-950:hover{--tw-border-opacity: 1;border-color:rgb(69 10 10 / var(--tw-border-opacity))}.hover\:border-rose-100:hover{--tw-border-opacity: 1;border-color:rgb(255 228 230 / var(--tw-border-opacity))}.hover\:border-rose-200:hover{--tw-border-opacity: 1;border-color:rgb(254 205 211 / var(--tw-border-opacity))}.hover\:border-rose-300:hover{--tw-border-opacity: 1;border-color:rgb(253 164 175 / var(--tw-border-opacity))}.hover\:border-rose-400:hover{--tw-border-opacity: 1;border-color:rgb(251 113 133 / var(--tw-border-opacity))}.hover\:border-rose-50:hover{--tw-border-opacity: 1;border-color:rgb(255 241 242 / var(--tw-border-opacity))}.hover\:border-rose-500:hover{--tw-border-opacity: 1;border-color:rgb(244 63 94 / var(--tw-border-opacity))}.hover\:border-rose-600:hover{--tw-border-opacity: 1;border-color:rgb(225 29 72 / var(--tw-border-opacity))}.hover\:border-rose-700:hover{--tw-border-opacity: 1;border-color:rgb(190 18 60 / var(--tw-border-opacity))}.hover\:border-rose-800:hover{--tw-border-opacity: 1;border-color:rgb(159 18 57 / var(--tw-border-opacity))}.hover\:border-rose-900:hover{--tw-border-opacity: 1;border-color:rgb(136 19 55 / var(--tw-border-opacity))}.hover\:border-rose-950:hover{--tw-border-opacity: 1;border-color:rgb(76 5 25 / var(--tw-border-opacity))}.hover\:border-sky-100:hover{--tw-border-opacity: 1;border-color:rgb(224 242 254 / var(--tw-border-opacity))}.hover\:border-sky-200:hover{--tw-border-opacity: 1;border-color:rgb(186 230 253 / var(--tw-border-opacity))}.hover\:border-sky-300:hover{--tw-border-opacity: 1;border-color:rgb(125 211 252 / var(--tw-border-opacity))}.hover\:border-sky-300\/80:hover{border-color:#7dd3fccc}.hover\:border-sky-400:hover{--tw-border-opacity: 1;border-color:rgb(56 189 248 / var(--tw-border-opacity))}.hover\:border-sky-50:hover{--tw-border-opacity: 1;border-color:rgb(240 249 255 / var(--tw-border-opacity))}.hover\:border-sky-500:hover{--tw-border-opacity: 1;border-color:rgb(14 165 233 / var(--tw-border-opacity))}.hover\:border-sky-600:hover{--tw-border-opacity: 1;border-color:rgb(2 132 199 / var(--tw-border-opacity))}.hover\:border-sky-700:hover{--tw-border-opacity: 1;border-color:rgb(3 105 161 / var(--tw-border-opacity))}.hover\:border-sky-800:hover{--tw-border-opacity: 1;border-color:rgb(7 89 133 / var(--tw-border-opacity))}.hover\:border-sky-900:hover{--tw-border-opacity: 1;border-color:rgb(12 74 110 / var(--tw-border-opacity))}.hover\:border-sky-950:hover{--tw-border-opacity: 1;border-color:rgb(8 47 73 / var(--tw-border-opacity))}.hover\:border-slate-100:hover{--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity))}.hover\:border-slate-200:hover{--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}.hover\:border-slate-300:hover{--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity))}.hover\:border-slate-400:hover{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.hover\:border-slate-50:hover{--tw-border-opacity: 1;border-color:rgb(248 250 252 / var(--tw-border-opacity))}.hover\:border-slate-500:hover{--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity))}.hover\:border-slate-600:hover{--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity))}.hover\:border-slate-700:hover{--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}.hover\:border-slate-800:hover{--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}.hover\:border-slate-900:hover{--tw-border-opacity: 1;border-color:rgb(15 23 42 / var(--tw-border-opacity))}.hover\:border-slate-950:hover{--tw-border-opacity: 1;border-color:rgb(2 6 23 / var(--tw-border-opacity))}.hover\:border-stone-100:hover{--tw-border-opacity: 1;border-color:rgb(245 245 244 / var(--tw-border-opacity))}.hover\:border-stone-200:hover{--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity))}.hover\:border-stone-300:hover{--tw-border-opacity: 1;border-color:rgb(214 211 209 / var(--tw-border-opacity))}.hover\:border-stone-400:hover{--tw-border-opacity: 1;border-color:rgb(168 162 158 / var(--tw-border-opacity))}.hover\:border-stone-50:hover{--tw-border-opacity: 1;border-color:rgb(250 250 249 / var(--tw-border-opacity))}.hover\:border-stone-500:hover{--tw-border-opacity: 1;border-color:rgb(120 113 108 / var(--tw-border-opacity))}.hover\:border-stone-600:hover{--tw-border-opacity: 1;border-color:rgb(87 83 78 / var(--tw-border-opacity))}.hover\:border-stone-700:hover{--tw-border-opacity: 1;border-color:rgb(68 64 60 / var(--tw-border-opacity))}.hover\:border-stone-800:hover{--tw-border-opacity: 1;border-color:rgb(41 37 36 / var(--tw-border-opacity))}.hover\:border-stone-900:hover{--tw-border-opacity: 1;border-color:rgb(28 25 23 / var(--tw-border-opacity))}.hover\:border-stone-950:hover{--tw-border-opacity: 1;border-color:rgb(12 10 9 / var(--tw-border-opacity))}.hover\:border-teal-100:hover{--tw-border-opacity: 1;border-color:rgb(204 251 241 / var(--tw-border-opacity))}.hover\:border-teal-200:hover{--tw-border-opacity: 1;border-color:rgb(153 246 228 / var(--tw-border-opacity))}.hover\:border-teal-300:hover{--tw-border-opacity: 1;border-color:rgb(94 234 212 / var(--tw-border-opacity))}.hover\:border-teal-400:hover{--tw-border-opacity: 1;border-color:rgb(45 212 191 / var(--tw-border-opacity))}.hover\:border-teal-50:hover{--tw-border-opacity: 1;border-color:rgb(240 253 250 / var(--tw-border-opacity))}.hover\:border-teal-500:hover{--tw-border-opacity: 1;border-color:rgb(20 184 166 / var(--tw-border-opacity))}.hover\:border-teal-600:hover{--tw-border-opacity: 1;border-color:rgb(13 148 136 / var(--tw-border-opacity))}.hover\:border-teal-700:hover{--tw-border-opacity: 1;border-color:rgb(15 118 110 / var(--tw-border-opacity))}.hover\:border-teal-800:hover{--tw-border-opacity: 1;border-color:rgb(17 94 89 / var(--tw-border-opacity))}.hover\:border-teal-900:hover{--tw-border-opacity: 1;border-color:rgb(19 78 74 / var(--tw-border-opacity))}.hover\:border-teal-950:hover{--tw-border-opacity: 1;border-color:rgb(4 47 46 / var(--tw-border-opacity))}.hover\:border-violet-100:hover{--tw-border-opacity: 1;border-color:rgb(237 233 254 / var(--tw-border-opacity))}.hover\:border-violet-200:hover{--tw-border-opacity: 1;border-color:rgb(221 214 254 / var(--tw-border-opacity))}.hover\:border-violet-300:hover{--tw-border-opacity: 1;border-color:rgb(196 181 253 / var(--tw-border-opacity))}.hover\:border-violet-400:hover{--tw-border-opacity: 1;border-color:rgb(167 139 250 / var(--tw-border-opacity))}.hover\:border-violet-50:hover{--tw-border-opacity: 1;border-color:rgb(245 243 255 / var(--tw-border-opacity))}.hover\:border-violet-500:hover{--tw-border-opacity: 1;border-color:rgb(139 92 246 / var(--tw-border-opacity))}.hover\:border-violet-600:hover{--tw-border-opacity: 1;border-color:rgb(124 58 237 / var(--tw-border-opacity))}.hover\:border-violet-700:hover{--tw-border-opacity: 1;border-color:rgb(109 40 217 / var(--tw-border-opacity))}.hover\:border-violet-800:hover{--tw-border-opacity: 1;border-color:rgb(91 33 182 / var(--tw-border-opacity))}.hover\:border-violet-900:hover{--tw-border-opacity: 1;border-color:rgb(76 29 149 / var(--tw-border-opacity))}.hover\:border-violet-950:hover{--tw-border-opacity: 1;border-color:rgb(46 16 101 / var(--tw-border-opacity))}.hover\:border-yellow-100:hover{--tw-border-opacity: 1;border-color:rgb(254 249 195 / var(--tw-border-opacity))}.hover\:border-yellow-200:hover{--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity))}.hover\:border-yellow-300:hover{--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}.hover\:border-yellow-300\/80:hover{border-color:#fde047cc}.hover\:border-yellow-400:hover{--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity))}.hover\:border-yellow-50:hover{--tw-border-opacity: 1;border-color:rgb(254 252 232 / var(--tw-border-opacity))}.hover\:border-yellow-500:hover{--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity))}.hover\:border-yellow-600:hover{--tw-border-opacity: 1;border-color:rgb(202 138 4 / var(--tw-border-opacity))}.hover\:border-yellow-700:hover{--tw-border-opacity: 1;border-color:rgb(161 98 7 / var(--tw-border-opacity))}.hover\:border-yellow-800:hover{--tw-border-opacity: 1;border-color:rgb(133 77 14 / var(--tw-border-opacity))}.hover\:border-yellow-900:hover{--tw-border-opacity: 1;border-color:rgb(113 63 18 / var(--tw-border-opacity))}.hover\:border-yellow-950:hover{--tw-border-opacity: 1;border-color:rgb(66 32 6 / var(--tw-border-opacity))}.hover\:border-zinc-100:hover{--tw-border-opacity: 1;border-color:rgb(244 244 245 / var(--tw-border-opacity))}.hover\:border-zinc-200:hover{--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity))}.hover\:border-zinc-300:hover{--tw-border-opacity: 1;border-color:rgb(212 212 216 / var(--tw-border-opacity))}.hover\:border-zinc-400:hover{--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity))}.hover\:border-zinc-50:hover{--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}.hover\:border-zinc-500:hover{--tw-border-opacity: 1;border-color:rgb(113 113 122 / var(--tw-border-opacity))}.hover\:border-zinc-600:hover{--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity))}.hover\:border-zinc-700:hover{--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity))}.hover\:border-zinc-800:hover{--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity))}.hover\:border-zinc-900:hover{--tw-border-opacity: 1;border-color:rgb(24 24 27 / var(--tw-border-opacity))}.hover\:border-zinc-950:hover{--tw-border-opacity: 1;border-color:rgb(9 9 11 / var(--tw-border-opacity))}.hover\:border-l-amber-100:hover{--tw-border-opacity: 1;border-left-color:rgb(254 243 199 / var(--tw-border-opacity))}.hover\:border-l-amber-200:hover{--tw-border-opacity: 1;border-left-color:rgb(253 230 138 / var(--tw-border-opacity))}.hover\:border-l-amber-300:hover{--tw-border-opacity: 1;border-left-color:rgb(252 211 77 / var(--tw-border-opacity))}.hover\:border-l-amber-400:hover{--tw-border-opacity: 1;border-left-color:rgb(251 191 36 / var(--tw-border-opacity))}.hover\:border-l-amber-50:hover{--tw-border-opacity: 1;border-left-color:rgb(255 251 235 / var(--tw-border-opacity))}.hover\:border-l-amber-500:hover{--tw-border-opacity: 1;border-left-color:rgb(245 158 11 / var(--tw-border-opacity))}.hover\:border-l-amber-600:hover{--tw-border-opacity: 1;border-left-color:rgb(217 119 6 / var(--tw-border-opacity))}.hover\:border-l-amber-700:hover{--tw-border-opacity: 1;border-left-color:rgb(180 83 9 / var(--tw-border-opacity))}.hover\:border-l-amber-800:hover{--tw-border-opacity: 1;border-left-color:rgb(146 64 14 / var(--tw-border-opacity))}.hover\:border-l-amber-900:hover{--tw-border-opacity: 1;border-left-color:rgb(120 53 15 / var(--tw-border-opacity))}.hover\:border-l-amber-950:hover{--tw-border-opacity: 1;border-left-color:rgb(69 26 3 / var(--tw-border-opacity))}.hover\:border-l-blue-100:hover{--tw-border-opacity: 1;border-left-color:rgb(219 234 254 / var(--tw-border-opacity))}.hover\:border-l-blue-200:hover{--tw-border-opacity: 1;border-left-color:rgb(191 219 254 / var(--tw-border-opacity))}.hover\:border-l-blue-300:hover{--tw-border-opacity: 1;border-left-color:rgb(147 197 253 / var(--tw-border-opacity))}.hover\:border-l-blue-400:hover{--tw-border-opacity: 1;border-left-color:rgb(96 165 250 / var(--tw-border-opacity))}.hover\:border-l-blue-50:hover{--tw-border-opacity: 1;border-left-color:rgb(239 246 255 / var(--tw-border-opacity))}.hover\:border-l-blue-500:hover{--tw-border-opacity: 1;border-left-color:rgb(59 130 246 / var(--tw-border-opacity))}.hover\:border-l-blue-600:hover{--tw-border-opacity: 1;border-left-color:rgb(37 99 235 / var(--tw-border-opacity))}.hover\:border-l-blue-700:hover{--tw-border-opacity: 1;border-left-color:rgb(29 78 216 / var(--tw-border-opacity))}.hover\:border-l-blue-800:hover{--tw-border-opacity: 1;border-left-color:rgb(30 64 175 / var(--tw-border-opacity))}.hover\:border-l-blue-900:hover{--tw-border-opacity: 1;border-left-color:rgb(30 58 138 / var(--tw-border-opacity))}.hover\:border-l-blue-950:hover{--tw-border-opacity: 1;border-left-color:rgb(23 37 84 / var(--tw-border-opacity))}.hover\:border-l-cyan-100:hover{--tw-border-opacity: 1;border-left-color:rgb(207 250 254 / var(--tw-border-opacity))}.hover\:border-l-cyan-200:hover{--tw-border-opacity: 1;border-left-color:rgb(165 243 252 / var(--tw-border-opacity))}.hover\:border-l-cyan-300:hover{--tw-border-opacity: 1;border-left-color:rgb(103 232 249 / var(--tw-border-opacity))}.hover\:border-l-cyan-400:hover{--tw-border-opacity: 1;border-left-color:rgb(34 211 238 / var(--tw-border-opacity))}.hover\:border-l-cyan-50:hover{--tw-border-opacity: 1;border-left-color:rgb(236 254 255 / var(--tw-border-opacity))}.hover\:border-l-cyan-500:hover{--tw-border-opacity: 1;border-left-color:rgb(6 182 212 / var(--tw-border-opacity))}.hover\:border-l-cyan-600:hover{--tw-border-opacity: 1;border-left-color:rgb(8 145 178 / var(--tw-border-opacity))}.hover\:border-l-cyan-700:hover{--tw-border-opacity: 1;border-left-color:rgb(14 116 144 / var(--tw-border-opacity))}.hover\:border-l-cyan-800:hover{--tw-border-opacity: 1;border-left-color:rgb(21 94 117 / var(--tw-border-opacity))}.hover\:border-l-cyan-900:hover{--tw-border-opacity: 1;border-left-color:rgb(22 78 99 / var(--tw-border-opacity))}.hover\:border-l-cyan-950:hover{--tw-border-opacity: 1;border-left-color:rgb(8 51 68 / var(--tw-border-opacity))}.hover\:border-l-emerald-100:hover{--tw-border-opacity: 1;border-left-color:rgb(209 250 229 / var(--tw-border-opacity))}.hover\:border-l-emerald-200:hover{--tw-border-opacity: 1;border-left-color:rgb(167 243 208 / var(--tw-border-opacity))}.hover\:border-l-emerald-300:hover{--tw-border-opacity: 1;border-left-color:rgb(110 231 183 / var(--tw-border-opacity))}.hover\:border-l-emerald-400:hover{--tw-border-opacity: 1;border-left-color:rgb(52 211 153 / var(--tw-border-opacity))}.hover\:border-l-emerald-50:hover{--tw-border-opacity: 1;border-left-color:rgb(236 253 245 / var(--tw-border-opacity))}.hover\:border-l-emerald-500:hover{--tw-border-opacity: 1;border-left-color:rgb(16 185 129 / var(--tw-border-opacity))}.hover\:border-l-emerald-600:hover{--tw-border-opacity: 1;border-left-color:rgb(5 150 105 / var(--tw-border-opacity))}.hover\:border-l-emerald-700:hover{--tw-border-opacity: 1;border-left-color:rgb(4 120 87 / var(--tw-border-opacity))}.hover\:border-l-emerald-800:hover{--tw-border-opacity: 1;border-left-color:rgb(6 95 70 / var(--tw-border-opacity))}.hover\:border-l-emerald-900:hover{--tw-border-opacity: 1;border-left-color:rgb(6 78 59 / var(--tw-border-opacity))}.hover\:border-l-emerald-950:hover{--tw-border-opacity: 1;border-left-color:rgb(2 44 34 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-100:hover{--tw-border-opacity: 1;border-left-color:rgb(250 232 255 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-200:hover{--tw-border-opacity: 1;border-left-color:rgb(245 208 254 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-300:hover{--tw-border-opacity: 1;border-left-color:rgb(240 171 252 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-400:hover{--tw-border-opacity: 1;border-left-color:rgb(232 121 249 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-50:hover{--tw-border-opacity: 1;border-left-color:rgb(253 244 255 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-500:hover{--tw-border-opacity: 1;border-left-color:rgb(217 70 239 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-600:hover{--tw-border-opacity: 1;border-left-color:rgb(192 38 211 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-700:hover{--tw-border-opacity: 1;border-left-color:rgb(162 28 175 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-800:hover{--tw-border-opacity: 1;border-left-color:rgb(134 25 143 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-900:hover{--tw-border-opacity: 1;border-left-color:rgb(112 26 117 / var(--tw-border-opacity))}.hover\:border-l-fuchsia-950:hover{--tw-border-opacity: 1;border-left-color:rgb(74 4 78 / var(--tw-border-opacity))}.hover\:border-l-gray-100:hover{--tw-border-opacity: 1;border-left-color:rgb(243 244 246 / var(--tw-border-opacity))}.hover\:border-l-gray-200:hover{--tw-border-opacity: 1;border-left-color:rgb(229 231 235 / var(--tw-border-opacity))}.hover\:border-l-gray-300:hover{--tw-border-opacity: 1;border-left-color:rgb(209 213 219 / var(--tw-border-opacity))}.hover\:border-l-gray-400:hover{--tw-border-opacity: 1;border-left-color:rgb(156 163 175 / var(--tw-border-opacity))}.hover\:border-l-gray-50:hover{--tw-border-opacity: 1;border-left-color:rgb(249 250 251 / var(--tw-border-opacity))}.hover\:border-l-gray-500:hover{--tw-border-opacity: 1;border-left-color:rgb(107 114 128 / var(--tw-border-opacity))}.hover\:border-l-gray-600:hover{--tw-border-opacity: 1;border-left-color:rgb(75 85 99 / var(--tw-border-opacity))}.hover\:border-l-gray-700:hover{--tw-border-opacity: 1;border-left-color:rgb(55 65 81 / var(--tw-border-opacity))}.hover\:border-l-gray-800:hover{--tw-border-opacity: 1;border-left-color:rgb(31 41 55 / var(--tw-border-opacity))}.hover\:border-l-gray-900:hover{--tw-border-opacity: 1;border-left-color:rgb(17 24 39 / var(--tw-border-opacity))}.hover\:border-l-gray-950:hover{--tw-border-opacity: 1;border-left-color:rgb(3 7 18 / var(--tw-border-opacity))}.hover\:border-l-green-100:hover{--tw-border-opacity: 1;border-left-color:rgb(220 252 231 / var(--tw-border-opacity))}.hover\:border-l-green-200:hover{--tw-border-opacity: 1;border-left-color:rgb(187 247 208 / var(--tw-border-opacity))}.hover\:border-l-green-300:hover{--tw-border-opacity: 1;border-left-color:rgb(134 239 172 / var(--tw-border-opacity))}.hover\:border-l-green-400:hover{--tw-border-opacity: 1;border-left-color:rgb(74 222 128 / var(--tw-border-opacity))}.hover\:border-l-green-50:hover{--tw-border-opacity: 1;border-left-color:rgb(240 253 244 / var(--tw-border-opacity))}.hover\:border-l-green-500:hover{--tw-border-opacity: 1;border-left-color:rgb(34 197 94 / var(--tw-border-opacity))}.hover\:border-l-green-600:hover{--tw-border-opacity: 1;border-left-color:rgb(22 163 74 / var(--tw-border-opacity))}.hover\:border-l-green-700:hover{--tw-border-opacity: 1;border-left-color:rgb(21 128 61 / var(--tw-border-opacity))}.hover\:border-l-green-800:hover{--tw-border-opacity: 1;border-left-color:rgb(22 101 52 / var(--tw-border-opacity))}.hover\:border-l-green-900:hover{--tw-border-opacity: 1;border-left-color:rgb(20 83 45 / var(--tw-border-opacity))}.hover\:border-l-green-950:hover{--tw-border-opacity: 1;border-left-color:rgb(5 46 22 / var(--tw-border-opacity))}.hover\:border-l-indigo-100:hover{--tw-border-opacity: 1;border-left-color:rgb(224 231 255 / var(--tw-border-opacity))}.hover\:border-l-indigo-200:hover{--tw-border-opacity: 1;border-left-color:rgb(199 210 254 / var(--tw-border-opacity))}.hover\:border-l-indigo-300:hover{--tw-border-opacity: 1;border-left-color:rgb(165 180 252 / var(--tw-border-opacity))}.hover\:border-l-indigo-400:hover{--tw-border-opacity: 1;border-left-color:rgb(129 140 248 / var(--tw-border-opacity))}.hover\:border-l-indigo-50:hover{--tw-border-opacity: 1;border-left-color:rgb(238 242 255 / var(--tw-border-opacity))}.hover\:border-l-indigo-500:hover{--tw-border-opacity: 1;border-left-color:rgb(99 102 241 / var(--tw-border-opacity))}.hover\:border-l-indigo-600:hover{--tw-border-opacity: 1;border-left-color:rgb(79 70 229 / var(--tw-border-opacity))}.hover\:border-l-indigo-700:hover{--tw-border-opacity: 1;border-left-color:rgb(67 56 202 / var(--tw-border-opacity))}.hover\:border-l-indigo-800:hover{--tw-border-opacity: 1;border-left-color:rgb(55 48 163 / var(--tw-border-opacity))}.hover\:border-l-indigo-900:hover{--tw-border-opacity: 1;border-left-color:rgb(49 46 129 / var(--tw-border-opacity))}.hover\:border-l-indigo-950:hover{--tw-border-opacity: 1;border-left-color:rgb(30 27 75 / var(--tw-border-opacity))}.hover\:border-l-lime-100:hover{--tw-border-opacity: 1;border-left-color:rgb(236 252 203 / var(--tw-border-opacity))}.hover\:border-l-lime-200:hover{--tw-border-opacity: 1;border-left-color:rgb(217 249 157 / var(--tw-border-opacity))}.hover\:border-l-lime-300:hover{--tw-border-opacity: 1;border-left-color:rgb(190 242 100 / var(--tw-border-opacity))}.hover\:border-l-lime-400:hover{--tw-border-opacity: 1;border-left-color:rgb(163 230 53 / var(--tw-border-opacity))}.hover\:border-l-lime-50:hover{--tw-border-opacity: 1;border-left-color:rgb(247 254 231 / var(--tw-border-opacity))}.hover\:border-l-lime-500:hover{--tw-border-opacity: 1;border-left-color:rgb(132 204 22 / var(--tw-border-opacity))}.hover\:border-l-lime-600:hover{--tw-border-opacity: 1;border-left-color:rgb(101 163 13 / var(--tw-border-opacity))}.hover\:border-l-lime-700:hover{--tw-border-opacity: 1;border-left-color:rgb(77 124 15 / var(--tw-border-opacity))}.hover\:border-l-lime-800:hover{--tw-border-opacity: 1;border-left-color:rgb(63 98 18 / var(--tw-border-opacity))}.hover\:border-l-lime-900:hover{--tw-border-opacity: 1;border-left-color:rgb(54 83 20 / var(--tw-border-opacity))}.hover\:border-l-lime-950:hover{--tw-border-opacity: 1;border-left-color:rgb(26 46 5 / var(--tw-border-opacity))}.hover\:border-l-neutral-100:hover{--tw-border-opacity: 1;border-left-color:rgb(245 245 245 / var(--tw-border-opacity))}.hover\:border-l-neutral-200:hover{--tw-border-opacity: 1;border-left-color:rgb(229 229 229 / var(--tw-border-opacity))}.hover\:border-l-neutral-300:hover{--tw-border-opacity: 1;border-left-color:rgb(212 212 212 / var(--tw-border-opacity))}.hover\:border-l-neutral-400:hover{--tw-border-opacity: 1;border-left-color:rgb(163 163 163 / var(--tw-border-opacity))}.hover\:border-l-neutral-50:hover{--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}.hover\:border-l-neutral-500:hover{--tw-border-opacity: 1;border-left-color:rgb(115 115 115 / var(--tw-border-opacity))}.hover\:border-l-neutral-600:hover{--tw-border-opacity: 1;border-left-color:rgb(82 82 82 / var(--tw-border-opacity))}.hover\:border-l-neutral-700:hover{--tw-border-opacity: 1;border-left-color:rgb(64 64 64 / var(--tw-border-opacity))}.hover\:border-l-neutral-800:hover{--tw-border-opacity: 1;border-left-color:rgb(38 38 38 / var(--tw-border-opacity))}.hover\:border-l-neutral-900:hover{--tw-border-opacity: 1;border-left-color:rgb(23 23 23 / var(--tw-border-opacity))}.hover\:border-l-neutral-950:hover{--tw-border-opacity: 1;border-left-color:rgb(10 10 10 / var(--tw-border-opacity))}.hover\:border-l-orange-100:hover{--tw-border-opacity: 1;border-left-color:rgb(255 237 213 / var(--tw-border-opacity))}.hover\:border-l-orange-200:hover{--tw-border-opacity: 1;border-left-color:rgb(254 215 170 / var(--tw-border-opacity))}.hover\:border-l-orange-300:hover{--tw-border-opacity: 1;border-left-color:rgb(253 186 116 / var(--tw-border-opacity))}.hover\:border-l-orange-400:hover{--tw-border-opacity: 1;border-left-color:rgb(251 146 60 / var(--tw-border-opacity))}.hover\:border-l-orange-50:hover{--tw-border-opacity: 1;border-left-color:rgb(255 247 237 / var(--tw-border-opacity))}.hover\:border-l-orange-500:hover{--tw-border-opacity: 1;border-left-color:rgb(249 115 22 / var(--tw-border-opacity))}.hover\:border-l-orange-600:hover{--tw-border-opacity: 1;border-left-color:rgb(234 88 12 / var(--tw-border-opacity))}.hover\:border-l-orange-700:hover{--tw-border-opacity: 1;border-left-color:rgb(194 65 12 / var(--tw-border-opacity))}.hover\:border-l-orange-800:hover{--tw-border-opacity: 1;border-left-color:rgb(154 52 18 / var(--tw-border-opacity))}.hover\:border-l-orange-900:hover{--tw-border-opacity: 1;border-left-color:rgb(124 45 18 / var(--tw-border-opacity))}.hover\:border-l-orange-950:hover{--tw-border-opacity: 1;border-left-color:rgb(67 20 7 / var(--tw-border-opacity))}.hover\:border-l-pink-100:hover{--tw-border-opacity: 1;border-left-color:rgb(252 231 243 / var(--tw-border-opacity))}.hover\:border-l-pink-200:hover{--tw-border-opacity: 1;border-left-color:rgb(251 207 232 / var(--tw-border-opacity))}.hover\:border-l-pink-300:hover{--tw-border-opacity: 1;border-left-color:rgb(249 168 212 / var(--tw-border-opacity))}.hover\:border-l-pink-400:hover{--tw-border-opacity: 1;border-left-color:rgb(244 114 182 / var(--tw-border-opacity))}.hover\:border-l-pink-50:hover{--tw-border-opacity: 1;border-left-color:rgb(253 242 248 / var(--tw-border-opacity))}.hover\:border-l-pink-500:hover{--tw-border-opacity: 1;border-left-color:rgb(236 72 153 / var(--tw-border-opacity))}.hover\:border-l-pink-600:hover{--tw-border-opacity: 1;border-left-color:rgb(219 39 119 / var(--tw-border-opacity))}.hover\:border-l-pink-700:hover{--tw-border-opacity: 1;border-left-color:rgb(190 24 93 / var(--tw-border-opacity))}.hover\:border-l-pink-800:hover{--tw-border-opacity: 1;border-left-color:rgb(157 23 77 / var(--tw-border-opacity))}.hover\:border-l-pink-900:hover{--tw-border-opacity: 1;border-left-color:rgb(131 24 67 / var(--tw-border-opacity))}.hover\:border-l-pink-950:hover{--tw-border-opacity: 1;border-left-color:rgb(80 7 36 / var(--tw-border-opacity))}.hover\:border-l-purple-100:hover{--tw-border-opacity: 1;border-left-color:rgb(243 232 255 / var(--tw-border-opacity))}.hover\:border-l-purple-200:hover{--tw-border-opacity: 1;border-left-color:rgb(233 213 255 / var(--tw-border-opacity))}.hover\:border-l-purple-300:hover{--tw-border-opacity: 1;border-left-color:rgb(216 180 254 / var(--tw-border-opacity))}.hover\:border-l-purple-400:hover{--tw-border-opacity: 1;border-left-color:rgb(192 132 252 / var(--tw-border-opacity))}.hover\:border-l-purple-50:hover{--tw-border-opacity: 1;border-left-color:rgb(250 245 255 / var(--tw-border-opacity))}.hover\:border-l-purple-500:hover{--tw-border-opacity: 1;border-left-color:rgb(168 85 247 / var(--tw-border-opacity))}.hover\:border-l-purple-600:hover{--tw-border-opacity: 1;border-left-color:rgb(147 51 234 / var(--tw-border-opacity))}.hover\:border-l-purple-700:hover{--tw-border-opacity: 1;border-left-color:rgb(126 34 206 / var(--tw-border-opacity))}.hover\:border-l-purple-800:hover{--tw-border-opacity: 1;border-left-color:rgb(107 33 168 / var(--tw-border-opacity))}.hover\:border-l-purple-900:hover{--tw-border-opacity: 1;border-left-color:rgb(88 28 135 / var(--tw-border-opacity))}.hover\:border-l-purple-950:hover{--tw-border-opacity: 1;border-left-color:rgb(59 7 100 / var(--tw-border-opacity))}.hover\:border-l-red-100:hover{--tw-border-opacity: 1;border-left-color:rgb(254 226 226 / var(--tw-border-opacity))}.hover\:border-l-red-200:hover{--tw-border-opacity: 1;border-left-color:rgb(254 202 202 / var(--tw-border-opacity))}.hover\:border-l-red-300:hover{--tw-border-opacity: 1;border-left-color:rgb(252 165 165 / var(--tw-border-opacity))}.hover\:border-l-red-400:hover{--tw-border-opacity: 1;border-left-color:rgb(248 113 113 / var(--tw-border-opacity))}.hover\:border-l-red-50:hover{--tw-border-opacity: 1;border-left-color:rgb(254 242 242 / var(--tw-border-opacity))}.hover\:border-l-red-500:hover{--tw-border-opacity: 1;border-left-color:rgb(239 68 68 / var(--tw-border-opacity))}.hover\:border-l-red-600:hover{--tw-border-opacity: 1;border-left-color:rgb(220 38 38 / var(--tw-border-opacity))}.hover\:border-l-red-700:hover{--tw-border-opacity: 1;border-left-color:rgb(185 28 28 / var(--tw-border-opacity))}.hover\:border-l-red-800:hover{--tw-border-opacity: 1;border-left-color:rgb(153 27 27 / var(--tw-border-opacity))}.hover\:border-l-red-900:hover{--tw-border-opacity: 1;border-left-color:rgb(127 29 29 / var(--tw-border-opacity))}.hover\:border-l-red-950:hover{--tw-border-opacity: 1;border-left-color:rgb(69 10 10 / var(--tw-border-opacity))}.hover\:border-l-rose-100:hover{--tw-border-opacity: 1;border-left-color:rgb(255 228 230 / var(--tw-border-opacity))}.hover\:border-l-rose-200:hover{--tw-border-opacity: 1;border-left-color:rgb(254 205 211 / var(--tw-border-opacity))}.hover\:border-l-rose-300:hover{--tw-border-opacity: 1;border-left-color:rgb(253 164 175 / var(--tw-border-opacity))}.hover\:border-l-rose-400:hover{--tw-border-opacity: 1;border-left-color:rgb(251 113 133 / var(--tw-border-opacity))}.hover\:border-l-rose-50:hover{--tw-border-opacity: 1;border-left-color:rgb(255 241 242 / var(--tw-border-opacity))}.hover\:border-l-rose-500:hover{--tw-border-opacity: 1;border-left-color:rgb(244 63 94 / var(--tw-border-opacity))}.hover\:border-l-rose-600:hover{--tw-border-opacity: 1;border-left-color:rgb(225 29 72 / var(--tw-border-opacity))}.hover\:border-l-rose-700:hover{--tw-border-opacity: 1;border-left-color:rgb(190 18 60 / var(--tw-border-opacity))}.hover\:border-l-rose-800:hover{--tw-border-opacity: 1;border-left-color:rgb(159 18 57 / var(--tw-border-opacity))}.hover\:border-l-rose-900:hover{--tw-border-opacity: 1;border-left-color:rgb(136 19 55 / var(--tw-border-opacity))}.hover\:border-l-rose-950:hover{--tw-border-opacity: 1;border-left-color:rgb(76 5 25 / var(--tw-border-opacity))}.hover\:border-l-sky-100:hover{--tw-border-opacity: 1;border-left-color:rgb(224 242 254 / var(--tw-border-opacity))}.hover\:border-l-sky-200:hover{--tw-border-opacity: 1;border-left-color:rgb(186 230 253 / var(--tw-border-opacity))}.hover\:border-l-sky-300:hover{--tw-border-opacity: 1;border-left-color:rgb(125 211 252 / var(--tw-border-opacity))}.hover\:border-l-sky-400:hover{--tw-border-opacity: 1;border-left-color:rgb(56 189 248 / var(--tw-border-opacity))}.hover\:border-l-sky-50:hover{--tw-border-opacity: 1;border-left-color:rgb(240 249 255 / var(--tw-border-opacity))}.hover\:border-l-sky-500:hover{--tw-border-opacity: 1;border-left-color:rgb(14 165 233 / var(--tw-border-opacity))}.hover\:border-l-sky-600:hover{--tw-border-opacity: 1;border-left-color:rgb(2 132 199 / var(--tw-border-opacity))}.hover\:border-l-sky-700:hover{--tw-border-opacity: 1;border-left-color:rgb(3 105 161 / var(--tw-border-opacity))}.hover\:border-l-sky-800:hover{--tw-border-opacity: 1;border-left-color:rgb(7 89 133 / var(--tw-border-opacity))}.hover\:border-l-sky-900:hover{--tw-border-opacity: 1;border-left-color:rgb(12 74 110 / var(--tw-border-opacity))}.hover\:border-l-sky-950:hover{--tw-border-opacity: 1;border-left-color:rgb(8 47 73 / var(--tw-border-opacity))}.hover\:border-l-slate-100:hover{--tw-border-opacity: 1;border-left-color:rgb(241 245 249 / var(--tw-border-opacity))}.hover\:border-l-slate-200:hover{--tw-border-opacity: 1;border-left-color:rgb(226 232 240 / var(--tw-border-opacity))}.hover\:border-l-slate-300:hover{--tw-border-opacity: 1;border-left-color:rgb(203 213 225 / var(--tw-border-opacity))}.hover\:border-l-slate-400:hover{--tw-border-opacity: 1;border-left-color:rgb(148 163 184 / var(--tw-border-opacity))}.hover\:border-l-slate-50:hover{--tw-border-opacity: 1;border-left-color:rgb(248 250 252 / var(--tw-border-opacity))}.hover\:border-l-slate-500:hover{--tw-border-opacity: 1;border-left-color:rgb(100 116 139 / var(--tw-border-opacity))}.hover\:border-l-slate-600:hover{--tw-border-opacity: 1;border-left-color:rgb(71 85 105 / var(--tw-border-opacity))}.hover\:border-l-slate-700:hover{--tw-border-opacity: 1;border-left-color:rgb(51 65 85 / var(--tw-border-opacity))}.hover\:border-l-slate-800:hover{--tw-border-opacity: 1;border-left-color:rgb(30 41 59 / var(--tw-border-opacity))}.hover\:border-l-slate-900:hover{--tw-border-opacity: 1;border-left-color:rgb(15 23 42 / var(--tw-border-opacity))}.hover\:border-l-slate-950:hover{--tw-border-opacity: 1;border-left-color:rgb(2 6 23 / var(--tw-border-opacity))}.hover\:border-l-stone-100:hover{--tw-border-opacity: 1;border-left-color:rgb(245 245 244 / var(--tw-border-opacity))}.hover\:border-l-stone-200:hover{--tw-border-opacity: 1;border-left-color:rgb(231 229 228 / var(--tw-border-opacity))}.hover\:border-l-stone-300:hover{--tw-border-opacity: 1;border-left-color:rgb(214 211 209 / var(--tw-border-opacity))}.hover\:border-l-stone-400:hover{--tw-border-opacity: 1;border-left-color:rgb(168 162 158 / var(--tw-border-opacity))}.hover\:border-l-stone-50:hover{--tw-border-opacity: 1;border-left-color:rgb(250 250 249 / var(--tw-border-opacity))}.hover\:border-l-stone-500:hover{--tw-border-opacity: 1;border-left-color:rgb(120 113 108 / var(--tw-border-opacity))}.hover\:border-l-stone-600:hover{--tw-border-opacity: 1;border-left-color:rgb(87 83 78 / var(--tw-border-opacity))}.hover\:border-l-stone-700:hover{--tw-border-opacity: 1;border-left-color:rgb(68 64 60 / var(--tw-border-opacity))}.hover\:border-l-stone-800:hover{--tw-border-opacity: 1;border-left-color:rgb(41 37 36 / var(--tw-border-opacity))}.hover\:border-l-stone-900:hover{--tw-border-opacity: 1;border-left-color:rgb(28 25 23 / var(--tw-border-opacity))}.hover\:border-l-stone-950:hover{--tw-border-opacity: 1;border-left-color:rgb(12 10 9 / var(--tw-border-opacity))}.hover\:border-l-teal-100:hover{--tw-border-opacity: 1;border-left-color:rgb(204 251 241 / var(--tw-border-opacity))}.hover\:border-l-teal-200:hover{--tw-border-opacity: 1;border-left-color:rgb(153 246 228 / var(--tw-border-opacity))}.hover\:border-l-teal-300:hover{--tw-border-opacity: 1;border-left-color:rgb(94 234 212 / var(--tw-border-opacity))}.hover\:border-l-teal-400:hover{--tw-border-opacity: 1;border-left-color:rgb(45 212 191 / var(--tw-border-opacity))}.hover\:border-l-teal-50:hover{--tw-border-opacity: 1;border-left-color:rgb(240 253 250 / var(--tw-border-opacity))}.hover\:border-l-teal-500:hover{--tw-border-opacity: 1;border-left-color:rgb(20 184 166 / var(--tw-border-opacity))}.hover\:border-l-teal-600:hover{--tw-border-opacity: 1;border-left-color:rgb(13 148 136 / var(--tw-border-opacity))}.hover\:border-l-teal-700:hover{--tw-border-opacity: 1;border-left-color:rgb(15 118 110 / var(--tw-border-opacity))}.hover\:border-l-teal-800:hover{--tw-border-opacity: 1;border-left-color:rgb(17 94 89 / var(--tw-border-opacity))}.hover\:border-l-teal-900:hover{--tw-border-opacity: 1;border-left-color:rgb(19 78 74 / var(--tw-border-opacity))}.hover\:border-l-teal-950:hover{--tw-border-opacity: 1;border-left-color:rgb(4 47 46 / var(--tw-border-opacity))}.hover\:border-l-violet-100:hover{--tw-border-opacity: 1;border-left-color:rgb(237 233 254 / var(--tw-border-opacity))}.hover\:border-l-violet-200:hover{--tw-border-opacity: 1;border-left-color:rgb(221 214 254 / var(--tw-border-opacity))}.hover\:border-l-violet-300:hover{--tw-border-opacity: 1;border-left-color:rgb(196 181 253 / var(--tw-border-opacity))}.hover\:border-l-violet-400:hover{--tw-border-opacity: 1;border-left-color:rgb(167 139 250 / var(--tw-border-opacity))}.hover\:border-l-violet-50:hover{--tw-border-opacity: 1;border-left-color:rgb(245 243 255 / var(--tw-border-opacity))}.hover\:border-l-violet-500:hover{--tw-border-opacity: 1;border-left-color:rgb(139 92 246 / var(--tw-border-opacity))}.hover\:border-l-violet-600:hover{--tw-border-opacity: 1;border-left-color:rgb(124 58 237 / var(--tw-border-opacity))}.hover\:border-l-violet-700:hover{--tw-border-opacity: 1;border-left-color:rgb(109 40 217 / var(--tw-border-opacity))}.hover\:border-l-violet-800:hover{--tw-border-opacity: 1;border-left-color:rgb(91 33 182 / var(--tw-border-opacity))}.hover\:border-l-violet-900:hover{--tw-border-opacity: 1;border-left-color:rgb(76 29 149 / var(--tw-border-opacity))}.hover\:border-l-violet-950:hover{--tw-border-opacity: 1;border-left-color:rgb(46 16 101 / var(--tw-border-opacity))}.hover\:border-l-yellow-100:hover{--tw-border-opacity: 1;border-left-color:rgb(254 249 195 / var(--tw-border-opacity))}.hover\:border-l-yellow-200:hover{--tw-border-opacity: 1;border-left-color:rgb(254 240 138 / var(--tw-border-opacity))}.hover\:border-l-yellow-300:hover{--tw-border-opacity: 1;border-left-color:rgb(253 224 71 / var(--tw-border-opacity))}.hover\:border-l-yellow-400:hover{--tw-border-opacity: 1;border-left-color:rgb(250 204 21 / var(--tw-border-opacity))}.hover\:border-l-yellow-50:hover{--tw-border-opacity: 1;border-left-color:rgb(254 252 232 / var(--tw-border-opacity))}.hover\:border-l-yellow-500:hover{--tw-border-opacity: 1;border-left-color:rgb(234 179 8 / var(--tw-border-opacity))}.hover\:border-l-yellow-600:hover{--tw-border-opacity: 1;border-left-color:rgb(202 138 4 / var(--tw-border-opacity))}.hover\:border-l-yellow-700:hover{--tw-border-opacity: 1;border-left-color:rgb(161 98 7 / var(--tw-border-opacity))}.hover\:border-l-yellow-800:hover{--tw-border-opacity: 1;border-left-color:rgb(133 77 14 / var(--tw-border-opacity))}.hover\:border-l-yellow-900:hover{--tw-border-opacity: 1;border-left-color:rgb(113 63 18 / var(--tw-border-opacity))}.hover\:border-l-yellow-950:hover{--tw-border-opacity: 1;border-left-color:rgb(66 32 6 / var(--tw-border-opacity))}.hover\:border-l-zinc-100:hover{--tw-border-opacity: 1;border-left-color:rgb(244 244 245 / var(--tw-border-opacity))}.hover\:border-l-zinc-200:hover{--tw-border-opacity: 1;border-left-color:rgb(228 228 231 / var(--tw-border-opacity))}.hover\:border-l-zinc-300:hover{--tw-border-opacity: 1;border-left-color:rgb(212 212 216 / var(--tw-border-opacity))}.hover\:border-l-zinc-400:hover{--tw-border-opacity: 1;border-left-color:rgb(161 161 170 / var(--tw-border-opacity))}.hover\:border-l-zinc-50:hover{--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}.hover\:border-l-zinc-500:hover{--tw-border-opacity: 1;border-left-color:rgb(113 113 122 / var(--tw-border-opacity))}.hover\:border-l-zinc-600:hover{--tw-border-opacity: 1;border-left-color:rgb(82 82 91 / var(--tw-border-opacity))}.hover\:border-l-zinc-700:hover{--tw-border-opacity: 1;border-left-color:rgb(63 63 70 / var(--tw-border-opacity))}.hover\:border-l-zinc-800:hover{--tw-border-opacity: 1;border-left-color:rgb(39 39 42 / var(--tw-border-opacity))}.hover\:border-l-zinc-900:hover{--tw-border-opacity: 1;border-left-color:rgb(24 24 27 / var(--tw-border-opacity))}.hover\:border-l-zinc-950:hover{--tw-border-opacity: 1;border-left-color:rgb(9 9 11 / var(--tw-border-opacity))}.hover\:\!bg-red-100:hover{--tw-bg-opacity: 1 !important;background-color:rgb(254 226 226 / var(--tw-bg-opacity))!important}.hover\:bg-accent:hover{background-color:hsl(var(--accent))}.hover\:bg-amber-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}.hover\:bg-amber-200:hover{--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}.hover\:bg-amber-300:hover{--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}.hover\:bg-amber-400:hover{--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}.hover\:bg-amber-50:hover{--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}.hover\:bg-amber-50\/80:hover{background-color:#fffbebcc}.hover\:bg-amber-500:hover{--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}.hover\:bg-amber-600:hover{--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}.hover\:bg-amber-700:hover{--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}.hover\:bg-amber-800:hover{--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}.hover\:bg-amber-900:hover{--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}.hover\:bg-amber-950:hover{--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}.hover\:bg-blue-100:hover{--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}.hover\:bg-blue-100\/50:hover{background-color:#dbeafe80}.hover\:bg-blue-200:hover{--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}.hover\:bg-blue-200\/80:hover{background-color:#bfdbfecc}.hover\:bg-blue-300:hover{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.hover\:bg-blue-300\/80:hover{background-color:#93c5fdcc}.hover\:bg-blue-400:hover{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.hover\:bg-blue-50:hover{--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}.hover\:bg-blue-500:hover{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.hover\:bg-blue-600:hover{--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:bg-blue-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}.hover\:bg-blue-900:hover{--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}.hover\:bg-blue-950:hover{--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}.hover\:bg-cyan-100:hover{--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}.hover\:bg-cyan-200:hover{--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}.hover\:bg-cyan-300:hover{--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}.hover\:bg-cyan-400:hover{--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}.hover\:bg-cyan-50:hover{--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}.hover\:bg-cyan-500:hover{--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}.hover\:bg-cyan-600:hover{--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}.hover\:bg-cyan-700:hover{--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}.hover\:bg-cyan-800:hover{--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}.hover\:bg-cyan-900:hover{--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}.hover\:bg-cyan-950:hover{--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}.hover\:bg-destructive\/80:hover{background-color:hsl(var(--destructive) / .8)}.hover\:bg-emerald-100:hover{--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}.hover\:bg-emerald-200:hover{--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}.hover\:bg-emerald-300:hover{--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}.hover\:bg-emerald-400:hover{--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}.hover\:bg-emerald-50:hover{--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}.hover\:bg-emerald-500:hover{--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}.hover\:bg-emerald-600:hover{--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}.hover\:bg-emerald-700:hover{--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}.hover\:bg-emerald-800:hover{--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}.hover\:bg-emerald-900:hover{--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}.hover\:bg-emerald-950:hover{--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-100:hover{--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-200:hover{--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-300:hover{--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-400:hover{--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-50:hover{--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-500:hover{--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-600:hover{--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-700:hover{--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-800:hover{--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-900:hover{--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}.hover\:bg-fuchsia-950:hover{--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-gray-100\/70:hover{background-color:#f3f4f6b3}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.hover\:bg-gray-300:hover{--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}.hover\:bg-gray-400:hover{--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-gray-500:hover{--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}.hover\:bg-gray-800:hover{--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}.hover\:bg-gray-900:hover{--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.hover\:bg-gray-950:hover{--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}.hover\:bg-green-100:hover{--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}.hover\:bg-green-100\/70:hover{background-color:#dcfce7b3}.hover\:bg-green-100\/80:hover{background-color:#dcfce7cc}.hover\:bg-green-200:hover{--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}.hover\:bg-green-300:hover{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.hover\:bg-green-400:hover{--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}.hover\:bg-green-50:hover{--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}.hover\:bg-green-50\/50:hover{background-color:#f0fdf480}.hover\:bg-green-50\/80:hover{background-color:#f0fdf4cc}.hover\:bg-green-500:hover{--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}.hover\:bg-green-600:hover{--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}.hover\:bg-green-700:hover{--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}.hover\:bg-green-800:hover{--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}.hover\:bg-green-900:hover{--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}.hover\:bg-green-950:hover{--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}.hover\:bg-grey-10:hover{--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}.hover\:bg-grey-5:hover{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.hover\:bg-indigo-100:hover{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.hover\:bg-indigo-200:hover{--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}.hover\:bg-indigo-300:hover{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}.hover\:bg-indigo-400:hover{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.hover\:bg-indigo-50:hover{--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}.hover\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-indigo-600:hover{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.hover\:bg-indigo-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.hover\:bg-indigo-800:hover{--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}.hover\:bg-indigo-900:hover{--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}.hover\:bg-indigo-950:hover{--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}.hover\:bg-lime-100:hover{--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}.hover\:bg-lime-200:hover{--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}.hover\:bg-lime-300:hover{--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}.hover\:bg-lime-400:hover{--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}.hover\:bg-lime-50:hover{--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}.hover\:bg-lime-500:hover{--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}.hover\:bg-lime-600:hover{--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}.hover\:bg-lime-700:hover{--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}.hover\:bg-lime-800:hover{--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}.hover\:bg-lime-900:hover{--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}.hover\:bg-lime-950:hover{--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}.hover\:bg-muted:hover{background-color:hsl(var(--muted))}.hover\:bg-muted\/50:hover{background-color:hsl(var(--muted) / .5)}.hover\:bg-neutral-100:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.hover\:bg-neutral-200:hover{--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}.hover\:bg-neutral-300:hover{--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}.hover\:bg-neutral-400:hover{--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}.hover\:bg-neutral-50:hover{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.hover\:bg-neutral-500:hover{--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}.hover\:bg-neutral-600:hover{--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}.hover\:bg-neutral-700:hover{--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}.hover\:bg-neutral-800:hover{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.hover\:bg-neutral-900:hover{--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}.hover\:bg-neutral-950:hover{--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}.hover\:bg-orange-100:hover{--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}.hover\:bg-orange-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}.hover\:bg-orange-300:hover{--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}.hover\:bg-orange-400:hover{--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}.hover\:bg-orange-50:hover{--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}.hover\:bg-orange-500:hover{--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}.hover\:bg-orange-600:hover{--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}.hover\:bg-orange-700:hover{--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}.hover\:bg-orange-800:hover{--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}.hover\:bg-orange-900:hover{--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}.hover\:bg-orange-950:hover{--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}.hover\:bg-pink-100:hover{--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}.hover\:bg-pink-200:hover{--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}.hover\:bg-pink-300:hover{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}.hover\:bg-pink-400:hover{--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}.hover\:bg-pink-50:hover{--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}.hover\:bg-pink-500:hover{--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}.hover\:bg-pink-600:hover{--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}.hover\:bg-pink-700:hover{--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}.hover\:bg-pink-800:hover{--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}.hover\:bg-pink-900:hover{--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}.hover\:bg-pink-950:hover{--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}.hover\:bg-primary:hover{background-color:hsl(var(--primary))}.hover\:bg-purple-100:hover{--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}.hover\:bg-purple-200:hover{--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}.hover\:bg-purple-300:hover{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}.hover\:bg-purple-400:hover{--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}.hover\:bg-purple-50:hover{--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}.hover\:bg-purple-500:hover{--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}.hover\:bg-purple-600:hover{--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}.hover\:bg-purple-700:hover{--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}.hover\:bg-purple-800:hover{--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}.hover\:bg-purple-900:hover{--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}.hover\:bg-purple-950:hover{--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}.hover\:bg-red-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}.hover\:bg-red-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}.hover\:bg-red-300:hover{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.hover\:bg-red-300\/80:hover{background-color:#fca5a5cc}.hover\:bg-red-400:hover{--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}.hover\:bg-red-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}.hover\:bg-red-50\/100:hover{background-color:#fef2f2}.hover\:bg-red-500:hover{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.hover\:bg-red-500\/80:hover{background-color:#ef4444cc}.hover\:bg-red-600:hover{--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.hover\:bg-red-800:hover{--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}.hover\:bg-red-900:hover{--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}.hover\:bg-red-900\/90:hover{background-color:#7f1d1de6}.hover\:bg-red-950:hover{--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}.hover\:bg-rose-100:hover{--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}.hover\:bg-rose-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}.hover\:bg-rose-300:hover{--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}.hover\:bg-rose-400:hover{--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}.hover\:bg-rose-50:hover{--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}.hover\:bg-rose-500:hover{--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}.hover\:bg-rose-600:hover{--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}.hover\:bg-rose-700:hover{--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}.hover\:bg-rose-800:hover{--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}.hover\:bg-rose-900:hover{--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}.hover\:bg-rose-950:hover{--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}.hover\:bg-secondary:hover{background-color:hsl(var(--secondary))}.hover\:bg-secondary\/80:hover{background-color:hsl(var(--secondary) / .8)}.hover\:bg-sky-100:hover{--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}.hover\:bg-sky-200:hover{--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}.hover\:bg-sky-300:hover{--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}.hover\:bg-sky-400:hover{--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}.hover\:bg-sky-50:hover{--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}.hover\:bg-sky-500:hover{--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}.hover\:bg-sky-600:hover{--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}.hover\:bg-sky-700:hover{--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}.hover\:bg-sky-800:hover{--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}.hover\:bg-sky-900:hover{--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}.hover\:bg-sky-950:hover{--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}.hover\:bg-slate-100:hover{--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}.hover\:bg-slate-100\/70:hover{background-color:#f1f5f9b3}.hover\:bg-slate-100\/80:hover{background-color:#f1f5f9cc}.hover\:bg-slate-200:hover{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.hover\:bg-slate-300:hover{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.hover\:bg-slate-400:hover{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}.hover\:bg-slate-50:hover{--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}.hover\:bg-slate-50\/100:hover{background-color:#f8fafc}.hover\:bg-slate-500:hover{--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}.hover\:bg-slate-500\/100:hover{background-color:#64748b}.hover\:bg-slate-500\/80:hover{background-color:#64748bcc}.hover\:bg-slate-600:hover{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}.hover\:bg-slate-700:hover{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}.hover\:bg-slate-800:hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}.hover\:bg-slate-900:hover{--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.hover\:bg-slate-900\/90:hover{background-color:#0f172ae6}.hover\:bg-slate-950:hover{--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}.hover\:bg-stone-100:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}.hover\:bg-stone-200:hover{--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}.hover\:bg-stone-300:hover{--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}.hover\:bg-stone-400:hover{--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}.hover\:bg-stone-50:hover{--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}.hover\:bg-stone-500:hover{--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}.hover\:bg-stone-600:hover{--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}.hover\:bg-stone-700:hover{--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}.hover\:bg-stone-800:hover{--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}.hover\:bg-stone-900:hover{--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}.hover\:bg-stone-950:hover{--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}.hover\:bg-teal-100:hover{--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}.hover\:bg-teal-200:hover{--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}.hover\:bg-teal-300:hover{--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}.hover\:bg-teal-400:hover{--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}.hover\:bg-teal-50:hover{--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}.hover\:bg-teal-50\/90:hover{background-color:#f0fdfae6}.hover\:bg-teal-500:hover{--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}.hover\:bg-teal-600:hover{--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}.hover\:bg-teal-700:hover{--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}.hover\:bg-teal-800:hover{--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}.hover\:bg-teal-900:hover{--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}.hover\:bg-teal-950:hover{--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}.hover\:bg-transparent:hover{background-color:transparent}.hover\:bg-violet-100:hover{--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}.hover\:bg-violet-200:hover{--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}.hover\:bg-violet-300:hover{--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}.hover\:bg-violet-400:hover{--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}.hover\:bg-violet-50:hover{--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}.hover\:bg-violet-500:hover{--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}.hover\:bg-violet-600:hover{--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}.hover\:bg-violet-700:hover{--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}.hover\:bg-violet-800:hover{--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}.hover\:bg-violet-900:hover{--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}.hover\:bg-violet-950:hover{--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:bg-yellow-100:hover{--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}.hover\:bg-yellow-200:hover{--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}.hover\:bg-yellow-200\/80:hover{background-color:#fef08acc}.hover\:bg-yellow-300:hover{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.hover\:bg-yellow-400:hover{--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}.hover\:bg-yellow-400\/80:hover{background-color:#facc15cc}.hover\:bg-yellow-50:hover{--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}.hover\:bg-yellow-50\/80:hover{background-color:#fefce8cc}.hover\:bg-yellow-500:hover{--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}.hover\:bg-yellow-600:hover{--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}.hover\:bg-yellow-700:hover{--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}.hover\:bg-yellow-800:hover{--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}.hover\:bg-yellow-900:hover{--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}.hover\:bg-yellow-950:hover{--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}.hover\:bg-zinc-100:hover{--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}.hover\:bg-zinc-200:hover{--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}.hover\:bg-zinc-300:hover{--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}.hover\:bg-zinc-400:hover{--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}.hover\:bg-zinc-50:hover{--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}.hover\:bg-zinc-500:hover{--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}.hover\:bg-zinc-600:hover{--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}.hover\:bg-zinc-700:hover{--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}.hover\:bg-zinc-800:hover{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.hover\:bg-zinc-900:hover{--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}.hover\:bg-zinc-950:hover{--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}.hover\:bg-opacity-100:hover{--tw-bg-opacity: 1}.hover\:bg-opacity-80:hover{--tw-bg-opacity: .8}.hover\:fill-red-500:hover{fill:#ef4444}.hover\:\!text-blue-500:hover{--tw-text-opacity: 1 !important;color:rgb(59 130 246 / var(--tw-text-opacity))!important}.hover\:\!text-orange-400:hover{--tw-text-opacity: 1 !important;color:rgb(251 146 60 / var(--tw-text-opacity))!important}.hover\:\!text-orange-500:hover{--tw-text-opacity: 1 !important;color:rgb(249 115 22 / var(--tw-text-opacity))!important}.hover\:\!text-red-500:hover{--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}.hover\:\!text-red-600:hover{--tw-text-opacity: 1 !important;color:rgb(220 38 38 / var(--tw-text-opacity))!important}.hover\:text-accent-foreground:hover{color:hsl(var(--accent-foreground))}.hover\:text-blue-400:hover{--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}.hover\:text-blue-500:hover{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.hover\:text-blue-500\/70:hover{color:#3b82f6b3}.hover\:text-blue-600:hover{--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}.hover\:text-blue-700:hover{--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}.hover\:text-foreground:hover{color:hsl(var(--foreground))}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}.hover\:text-green-600:hover{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}.hover\:text-green-700:hover{--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}.hover\:text-muted-foreground:hover{color:hsl(var(--muted-foreground))}.hover\:text-orange-400:hover{--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity))}.hover\:text-primary-foreground:hover{color:hsl(var(--primary-foreground))}.hover\:text-primary\/50:hover{color:hsl(var(--primary) / .5)}.hover\:text-red-500:hover{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.hover\:text-red-600:hover{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.hover\:text-slate-200:hover{--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}.hover\:text-slate-400\/70:hover{color:#94a3b8b3}.hover\:text-slate-500:hover{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.hover\:text-slate-600:hover{--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}.hover\:text-white:hover{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.hover\:text-yellow-600:hover{--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity))}.hover\:underline:hover{-webkit-text-decoration-line:underline;text-decoration-line:underline}.hover\:decoration-blue-700:hover{-webkit-text-decoration-color:#1d4ed8;text-decoration-color:#1d4ed8}.hover\:opacity-100:hover{opacity:1}.hover\:opacity-90:hover{opacity:.9}.hover\:shadow-sm:hover{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:animate-in:hover{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.hover\:before\:opacity-5:hover:before{content:var(--tw-content);opacity:.05}.group.destructive .group-\[\.destructive\]\:hover\:border-destructive\/30:hover{border-color:hsl(var(--destructive) / .3)}.group.destructive .group-\[\.destructive\]\:hover\:bg-destructive:hover{background-color:hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:hover\:text-destructive-foreground:hover{color:hsl(var(--destructive-foreground))}.group.destructive .group-\[\.destructive\]\:hover\:text-red-50:hover{--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity))}.data-\[state\=active\]\:hover\:text-slate-300:hover[data-state=active]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.data-\[state\=active\]\:hover\:text-slate-500:hover[data-state=active]{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.focus\:overflow-auto:focus{overflow:auto}.focus\:border-none:focus{border-style:none}.focus\:border-blue-400:focus{--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}.focus\:border-blue-500:focus{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}.focus\:border-red-500:focus{--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}.focus\:\!bg-amber-100:focus{--tw-bg-opacity: 1 !important;background-color:rgb(254 243 199 / var(--tw-bg-opacity))!important}.focus\:bg-accent:focus{background-color:hsl(var(--accent))}.focus\:bg-grey-20:focus{--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}.focus\:bg-grey-5:focus{--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}.focus\:bg-primary:focus{background-color:hsl(var(--primary))}.focus\:bg-slate-200:focus{--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}.focus\:bg-transparent:focus{background-color:transparent}.focus\:text-accent-foreground:focus{color:hsl(var(--accent-foreground))}.focus\:text-amber-700:focus{--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity))}.focus\:text-primary-foreground:focus{color:hsl(var(--primary-foreground))}.focus\:text-red-500:focus{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.focus\:opacity-100:focus{opacity:1}.focus\:shadow-none:focus{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-blue-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.focus\:ring-red-500:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}.focus\:ring-ring:focus{--tw-ring-color: hsl(var(--ring))}.focus\:ring-offset-2:focus{--tw-ring-offset-width: 2px}.group.destructive .group-\[\.destructive\]\:focus\:ring-destructive:focus{--tw-ring-color: hsl(var(--destructive))}.group.destructive .group-\[\.destructive\]\:focus\:ring-red-400:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(248 113 113 / var(--tw-ring-opacity))}.group.destructive .group-\[\.destructive\]\:focus\:ring-offset-red-600:focus{--tw-ring-offset-color: #dc2626}.focus-visible\:shadow-input:focus-visible{--tw-shadow-color: hsl(var(--input));--tw-shadow: var(--tw-shadow-colored)}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-2:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-visible\:ring-blue-500:focus-visible{--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}.focus-visible\:ring-ring:focus-visible{--tw-ring-color: hsl(var(--ring))}.focus-visible\:ring-opacity-75:focus-visible{--tw-ring-opacity: .75}.focus-visible\:ring-offset-background:focus-visible{--tw-ring-offset-color: hsl(var(--background))}.active\:cursor-move:active{cursor:move}.active\:bg-grey-0:active,.active\:bg-white:active{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}:is(.dark .dark\:\!border-green-600){--tw-border-opacity: 1 !important;border-color:rgb(22 163 74 / var(--tw-border-opacity))!important}:is(.dark .dark\:\!border-green-700){--tw-border-opacity: 1 !important;border-color:rgb(21 128 61 / var(--tw-border-opacity))!important}:is(.dark .dark\:\!border-green-800){--tw-border-opacity: 1 !important;border-color:rgb(22 101 52 / var(--tw-border-opacity))!important}:is(.dark .dark\:\!border-orange-800\/60){border-color:#9a341299!important}:is(.dark .dark\:\!border-red-800){--tw-border-opacity: 1 !important;border-color:rgb(153 27 27 / var(--tw-border-opacity))!important}:is(.dark .dark\:border-amber-100){--tw-border-opacity: 1;border-color:rgb(254 243 199 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-200){--tw-border-opacity: 1;border-color:rgb(253 230 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-300){--tw-border-opacity: 1;border-color:rgb(252 211 77 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-400){--tw-border-opacity: 1;border-color:rgb(251 191 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-50){--tw-border-opacity: 1;border-color:rgb(255 251 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-500){--tw-border-opacity: 1;border-color:rgb(245 158 11 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-600){--tw-border-opacity: 1;border-color:rgb(217 119 6 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-700){--tw-border-opacity: 1;border-color:rgb(180 83 9 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-800){--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-900){--tw-border-opacity: 1;border-color:rgb(120 53 15 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-900\/80){border-color:#78350fcc}:is(.dark .dark\:border-amber-950){--tw-border-opacity: 1;border-color:rgb(69 26 3 / var(--tw-border-opacity))}:is(.dark .dark\:border-amber-950\/80){border-color:#451a03cc}:is(.dark .dark\:border-blue-100){--tw-border-opacity: 1;border-color:rgb(219 234 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-200){--tw-border-opacity: 1;border-color:rgb(191 219 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-300){--tw-border-opacity: 1;border-color:rgb(147 197 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-400){--tw-border-opacity: 1;border-color:rgb(96 165 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-50){--tw-border-opacity: 1;border-color:rgb(239 246 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-500){--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-600){--tw-border-opacity: 1;border-color:rgb(37 99 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-700){--tw-border-opacity: 1;border-color:rgb(29 78 216 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-800){--tw-border-opacity: 1;border-color:rgb(30 64 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-900){--tw-border-opacity: 1;border-color:rgb(30 58 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-blue-950){--tw-border-opacity: 1;border-color:rgb(23 37 84 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-100){--tw-border-opacity: 1;border-color:rgb(207 250 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-200){--tw-border-opacity: 1;border-color:rgb(165 243 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-300){--tw-border-opacity: 1;border-color:rgb(103 232 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-400){--tw-border-opacity: 1;border-color:rgb(34 211 238 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-50){--tw-border-opacity: 1;border-color:rgb(236 254 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-500){--tw-border-opacity: 1;border-color:rgb(6 182 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-600){--tw-border-opacity: 1;border-color:rgb(8 145 178 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-700){--tw-border-opacity: 1;border-color:rgb(14 116 144 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-800){--tw-border-opacity: 1;border-color:rgb(21 94 117 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-900){--tw-border-opacity: 1;border-color:rgb(22 78 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-cyan-950){--tw-border-opacity: 1;border-color:rgb(8 51 68 / var(--tw-border-opacity))}:is(.dark .dark\:border-destructive){border-color:hsl(var(--destructive))}:is(.dark .dark\:border-emerald-100){--tw-border-opacity: 1;border-color:rgb(209 250 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-200){--tw-border-opacity: 1;border-color:rgb(167 243 208 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-300){--tw-border-opacity: 1;border-color:rgb(110 231 183 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-400){--tw-border-opacity: 1;border-color:rgb(52 211 153 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-50){--tw-border-opacity: 1;border-color:rgb(236 253 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-500){--tw-border-opacity: 1;border-color:rgb(16 185 129 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-600){--tw-border-opacity: 1;border-color:rgb(5 150 105 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-700){--tw-border-opacity: 1;border-color:rgb(4 120 87 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-800){--tw-border-opacity: 1;border-color:rgb(6 95 70 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-900){--tw-border-opacity: 1;border-color:rgb(6 78 59 / var(--tw-border-opacity))}:is(.dark .dark\:border-emerald-950){--tw-border-opacity: 1;border-color:rgb(2 44 34 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-100){--tw-border-opacity: 1;border-color:rgb(250 232 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-200){--tw-border-opacity: 1;border-color:rgb(245 208 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-300){--tw-border-opacity: 1;border-color:rgb(240 171 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-400){--tw-border-opacity: 1;border-color:rgb(232 121 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-50){--tw-border-opacity: 1;border-color:rgb(253 244 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-500){--tw-border-opacity: 1;border-color:rgb(217 70 239 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-600){--tw-border-opacity: 1;border-color:rgb(192 38 211 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-700){--tw-border-opacity: 1;border-color:rgb(162 28 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-800){--tw-border-opacity: 1;border-color:rgb(134 25 143 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-900){--tw-border-opacity: 1;border-color:rgb(112 26 117 / var(--tw-border-opacity))}:is(.dark .dark\:border-fuchsia-950){--tw-border-opacity: 1;border-color:rgb(74 4 78 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-100){--tw-border-opacity: 1;border-color:rgb(243 244 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-200){--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-300){--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-400){--tw-border-opacity: 1;border-color:rgb(156 163 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-50){--tw-border-opacity: 1;border-color:rgb(249 250 251 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-500){--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600\/70){border-color:#4b5563b3}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700\/80){border-color:#374151cc}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-950){--tw-border-opacity: 1;border-color:rgb(3 7 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-100){--tw-border-opacity: 1;border-color:rgb(220 252 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-200){--tw-border-opacity: 1;border-color:rgb(187 247 208 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-300){--tw-border-opacity: 1;border-color:rgb(134 239 172 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-400){--tw-border-opacity: 1;border-color:rgb(74 222 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-50){--tw-border-opacity: 1;border-color:rgb(240 253 244 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-500){--tw-border-opacity: 1;border-color:rgb(34 197 94 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-600){--tw-border-opacity: 1;border-color:rgb(22 163 74 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-700){--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-800){--tw-border-opacity: 1;border-color:rgb(22 101 52 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-900){--tw-border-opacity: 1;border-color:rgb(20 83 45 / var(--tw-border-opacity))}:is(.dark .dark\:border-green-950){--tw-border-opacity: 1;border-color:rgb(5 46 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-100){--tw-border-opacity: 1;border-color:rgb(224 231 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-200){--tw-border-opacity: 1;border-color:rgb(199 210 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-300){--tw-border-opacity: 1;border-color:rgb(165 180 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-400){--tw-border-opacity: 1;border-color:rgb(129 140 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-50){--tw-border-opacity: 1;border-color:rgb(238 242 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-500){--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-600){--tw-border-opacity: 1;border-color:rgb(79 70 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-700){--tw-border-opacity: 1;border-color:rgb(67 56 202 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-800){--tw-border-opacity: 1;border-color:rgb(55 48 163 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-900){--tw-border-opacity: 1;border-color:rgb(49 46 129 / var(--tw-border-opacity))}:is(.dark .dark\:border-indigo-950){--tw-border-opacity: 1;border-color:rgb(30 27 75 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-100){--tw-border-opacity: 1;border-color:rgb(236 252 203 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-200){--tw-border-opacity: 1;border-color:rgb(217 249 157 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-300){--tw-border-opacity: 1;border-color:rgb(190 242 100 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-400){--tw-border-opacity: 1;border-color:rgb(163 230 53 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-50){--tw-border-opacity: 1;border-color:rgb(247 254 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-500){--tw-border-opacity: 1;border-color:rgb(132 204 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-600){--tw-border-opacity: 1;border-color:rgb(101 163 13 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-700){--tw-border-opacity: 1;border-color:rgb(77 124 15 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-800){--tw-border-opacity: 1;border-color:rgb(63 98 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-900){--tw-border-opacity: 1;border-color:rgb(54 83 20 / var(--tw-border-opacity))}:is(.dark .dark\:border-lime-950){--tw-border-opacity: 1;border-color:rgb(26 46 5 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-100){--tw-border-opacity: 1;border-color:rgb(245 245 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-200){--tw-border-opacity: 1;border-color:rgb(229 229 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-300){--tw-border-opacity: 1;border-color:rgb(212 212 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-400){--tw-border-opacity: 1;border-color:rgb(163 163 163 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-50){--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-500){--tw-border-opacity: 1;border-color:rgb(115 115 115 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-600){--tw-border-opacity: 1;border-color:rgb(82 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-700){--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-800){--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-900){--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-950){--tw-border-opacity: 1;border-color:rgb(10 10 10 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-100){--tw-border-opacity: 1;border-color:rgb(255 237 213 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-200){--tw-border-opacity: 1;border-color:rgb(254 215 170 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-300){--tw-border-opacity: 1;border-color:rgb(253 186 116 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-400){--tw-border-opacity: 1;border-color:rgb(251 146 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-400\/80){border-color:#fb923ccc}:is(.dark .dark\:border-orange-50){--tw-border-opacity: 1;border-color:rgb(255 247 237 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-500){--tw-border-opacity: 1;border-color:rgb(249 115 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-600){--tw-border-opacity: 1;border-color:rgb(234 88 12 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-700){--tw-border-opacity: 1;border-color:rgb(194 65 12 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-800){--tw-border-opacity: 1;border-color:rgb(154 52 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-800\/50){border-color:#9a341280}:is(.dark .dark\:border-orange-900){--tw-border-opacity: 1;border-color:rgb(124 45 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-orange-950){--tw-border-opacity: 1;border-color:rgb(67 20 7 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-100){--tw-border-opacity: 1;border-color:rgb(252 231 243 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-200){--tw-border-opacity: 1;border-color:rgb(251 207 232 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-300){--tw-border-opacity: 1;border-color:rgb(249 168 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-400){--tw-border-opacity: 1;border-color:rgb(244 114 182 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-50){--tw-border-opacity: 1;border-color:rgb(253 242 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-500){--tw-border-opacity: 1;border-color:rgb(236 72 153 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-600){--tw-border-opacity: 1;border-color:rgb(219 39 119 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-700){--tw-border-opacity: 1;border-color:rgb(190 24 93 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-800){--tw-border-opacity: 1;border-color:rgb(157 23 77 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-900){--tw-border-opacity: 1;border-color:rgb(131 24 67 / var(--tw-border-opacity))}:is(.dark .dark\:border-pink-950){--tw-border-opacity: 1;border-color:rgb(80 7 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-100){--tw-border-opacity: 1;border-color:rgb(243 232 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-200){--tw-border-opacity: 1;border-color:rgb(233 213 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-300){--tw-border-opacity: 1;border-color:rgb(216 180 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-400){--tw-border-opacity: 1;border-color:rgb(192 132 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-50){--tw-border-opacity: 1;border-color:rgb(250 245 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-500){--tw-border-opacity: 1;border-color:rgb(168 85 247 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-600){--tw-border-opacity: 1;border-color:rgb(147 51 234 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-700){--tw-border-opacity: 1;border-color:rgb(126 34 206 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-800){--tw-border-opacity: 1;border-color:rgb(107 33 168 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-900){--tw-border-opacity: 1;border-color:rgb(88 28 135 / var(--tw-border-opacity))}:is(.dark .dark\:border-purple-950){--tw-border-opacity: 1;border-color:rgb(59 7 100 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-100){--tw-border-opacity: 1;border-color:rgb(254 226 226 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-200){--tw-border-opacity: 1;border-color:rgb(254 202 202 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-300){--tw-border-opacity: 1;border-color:rgb(252 165 165 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-400){--tw-border-opacity: 1;border-color:rgb(248 113 113 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-50){--tw-border-opacity: 1;border-color:rgb(254 242 242 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-500){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-600){--tw-border-opacity: 1;border-color:rgb(220 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-700){--tw-border-opacity: 1;border-color:rgb(185 28 28 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-800){--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-900){--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}:is(.dark .dark\:border-red-900\/80){border-color:#7f1d1dcc}:is(.dark .dark\:border-red-950){--tw-border-opacity: 1;border-color:rgb(69 10 10 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-100){--tw-border-opacity: 1;border-color:rgb(255 228 230 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-200){--tw-border-opacity: 1;border-color:rgb(254 205 211 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-300){--tw-border-opacity: 1;border-color:rgb(253 164 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-400){--tw-border-opacity: 1;border-color:rgb(251 113 133 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-50){--tw-border-opacity: 1;border-color:rgb(255 241 242 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-500){--tw-border-opacity: 1;border-color:rgb(244 63 94 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-600){--tw-border-opacity: 1;border-color:rgb(225 29 72 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-700){--tw-border-opacity: 1;border-color:rgb(190 18 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-800){--tw-border-opacity: 1;border-color:rgb(159 18 57 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-900){--tw-border-opacity: 1;border-color:rgb(136 19 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-rose-950){--tw-border-opacity: 1;border-color:rgb(76 5 25 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-100){--tw-border-opacity: 1;border-color:rgb(224 242 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-200){--tw-border-opacity: 1;border-color:rgb(186 230 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-300){--tw-border-opacity: 1;border-color:rgb(125 211 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-400){--tw-border-opacity: 1;border-color:rgb(56 189 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-50){--tw-border-opacity: 1;border-color:rgb(240 249 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-500){--tw-border-opacity: 1;border-color:rgb(14 165 233 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-600){--tw-border-opacity: 1;border-color:rgb(2 132 199 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-700){--tw-border-opacity: 1;border-color:rgb(3 105 161 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-800){--tw-border-opacity: 1;border-color:rgb(7 89 133 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-900){--tw-border-opacity: 1;border-color:rgb(12 74 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-sky-900\/80){border-color:#0c4a6ecc}:is(.dark .dark\:border-sky-950){--tw-border-opacity: 1;border-color:rgb(8 47 73 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-100){--tw-border-opacity: 1;border-color:rgb(241 245 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-200){--tw-border-opacity: 1;border-color:rgb(226 232 240 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-300){--tw-border-opacity: 1;border-color:rgb(203 213 225 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-400){--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-400\/80){border-color:#94a3b8cc}:is(.dark .dark\:border-slate-50){--tw-border-opacity: 1;border-color:rgb(248 250 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-500){--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-500\/50){border-color:#64748b80}:is(.dark .dark\:border-slate-600){--tw-border-opacity: 1;border-color:rgb(71 85 105 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-700){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-700\/80){border-color:#334155cc}:is(.dark .dark\:border-slate-800){--tw-border-opacity: 1;border-color:rgb(30 41 59 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-800\/70){border-color:#1e293bb3}:is(.dark .dark\:border-slate-800\/90){border-color:#1e293be6}:is(.dark .dark\:border-slate-900){--tw-border-opacity: 1;border-color:rgb(15 23 42 / var(--tw-border-opacity))}:is(.dark .dark\:border-slate-900\/20){border-color:#0f172a33}:is(.dark .dark\:border-slate-950){--tw-border-opacity: 1;border-color:rgb(2 6 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-100){--tw-border-opacity: 1;border-color:rgb(245 245 244 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-200){--tw-border-opacity: 1;border-color:rgb(231 229 228 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-300){--tw-border-opacity: 1;border-color:rgb(214 211 209 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-400){--tw-border-opacity: 1;border-color:rgb(168 162 158 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-50){--tw-border-opacity: 1;border-color:rgb(250 250 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-500){--tw-border-opacity: 1;border-color:rgb(120 113 108 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-600){--tw-border-opacity: 1;border-color:rgb(87 83 78 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-700){--tw-border-opacity: 1;border-color:rgb(68 64 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-800){--tw-border-opacity: 1;border-color:rgb(41 37 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-900){--tw-border-opacity: 1;border-color:rgb(28 25 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-stone-950){--tw-border-opacity: 1;border-color:rgb(12 10 9 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-100){--tw-border-opacity: 1;border-color:rgb(204 251 241 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-200){--tw-border-opacity: 1;border-color:rgb(153 246 228 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-300){--tw-border-opacity: 1;border-color:rgb(94 234 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-400){--tw-border-opacity: 1;border-color:rgb(45 212 191 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-50){--tw-border-opacity: 1;border-color:rgb(240 253 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-500){--tw-border-opacity: 1;border-color:rgb(20 184 166 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-600){--tw-border-opacity: 1;border-color:rgb(13 148 136 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-700){--tw-border-opacity: 1;border-color:rgb(15 118 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-800){--tw-border-opacity: 1;border-color:rgb(17 94 89 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-900){--tw-border-opacity: 1;border-color:rgb(19 78 74 / var(--tw-border-opacity))}:is(.dark .dark\:border-teal-950){--tw-border-opacity: 1;border-color:rgb(4 47 46 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-100){--tw-border-opacity: 1;border-color:rgb(237 233 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-200){--tw-border-opacity: 1;border-color:rgb(221 214 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-300){--tw-border-opacity: 1;border-color:rgb(196 181 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-400){--tw-border-opacity: 1;border-color:rgb(167 139 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-50){--tw-border-opacity: 1;border-color:rgb(245 243 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-500){--tw-border-opacity: 1;border-color:rgb(139 92 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-600){--tw-border-opacity: 1;border-color:rgb(124 58 237 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-700){--tw-border-opacity: 1;border-color:rgb(109 40 217 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-800){--tw-border-opacity: 1;border-color:rgb(91 33 182 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-900){--tw-border-opacity: 1;border-color:rgb(76 29 149 / var(--tw-border-opacity))}:is(.dark .dark\:border-violet-950){--tw-border-opacity: 1;border-color:rgb(46 16 101 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-100){--tw-border-opacity: 1;border-color:rgb(254 249 195 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-200){--tw-border-opacity: 1;border-color:rgb(254 240 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-300){--tw-border-opacity: 1;border-color:rgb(253 224 71 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-400){--tw-border-opacity: 1;border-color:rgb(250 204 21 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-50){--tw-border-opacity: 1;border-color:rgb(254 252 232 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-500){--tw-border-opacity: 1;border-color:rgb(234 179 8 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-600){--tw-border-opacity: 1;border-color:rgb(202 138 4 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-700){--tw-border-opacity: 1;border-color:rgb(161 98 7 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-800){--tw-border-opacity: 1;border-color:rgb(133 77 14 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-900){--tw-border-opacity: 1;border-color:rgb(113 63 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-yellow-950){--tw-border-opacity: 1;border-color:rgb(66 32 6 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-100){--tw-border-opacity: 1;border-color:rgb(244 244 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-200){--tw-border-opacity: 1;border-color:rgb(228 228 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-300){--tw-border-opacity: 1;border-color:rgb(212 212 216 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-400){--tw-border-opacity: 1;border-color:rgb(161 161 170 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-50){--tw-border-opacity: 1;border-color:rgb(250 250 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-500){--tw-border-opacity: 1;border-color:rgb(113 113 122 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-600){--tw-border-opacity: 1;border-color:rgb(82 82 91 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-700){--tw-border-opacity: 1;border-color:rgb(63 63 70 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-800){--tw-border-opacity: 1;border-color:rgb(39 39 42 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-900){--tw-border-opacity: 1;border-color:rgb(24 24 27 / var(--tw-border-opacity))}:is(.dark .dark\:border-zinc-950){--tw-border-opacity: 1;border-color:rgb(9 9 11 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-100){--tw-border-opacity: 1;border-left-color:rgb(254 243 199 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-200){--tw-border-opacity: 1;border-left-color:rgb(253 230 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-300){--tw-border-opacity: 1;border-left-color:rgb(252 211 77 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-400){--tw-border-opacity: 1;border-left-color:rgb(251 191 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-50){--tw-border-opacity: 1;border-left-color:rgb(255 251 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-500){--tw-border-opacity: 1;border-left-color:rgb(245 158 11 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-600){--tw-border-opacity: 1;border-left-color:rgb(217 119 6 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-700){--tw-border-opacity: 1;border-left-color:rgb(180 83 9 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-800){--tw-border-opacity: 1;border-left-color:rgb(146 64 14 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-900){--tw-border-opacity: 1;border-left-color:rgb(120 53 15 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-amber-950){--tw-border-opacity: 1;border-left-color:rgb(69 26 3 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-100){--tw-border-opacity: 1;border-left-color:rgb(219 234 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-200){--tw-border-opacity: 1;border-left-color:rgb(191 219 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-300){--tw-border-opacity: 1;border-left-color:rgb(147 197 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-400){--tw-border-opacity: 1;border-left-color:rgb(96 165 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-50){--tw-border-opacity: 1;border-left-color:rgb(239 246 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-500){--tw-border-opacity: 1;border-left-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-600){--tw-border-opacity: 1;border-left-color:rgb(37 99 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-700){--tw-border-opacity: 1;border-left-color:rgb(29 78 216 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-800){--tw-border-opacity: 1;border-left-color:rgb(30 64 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-900){--tw-border-opacity: 1;border-left-color:rgb(30 58 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-blue-950){--tw-border-opacity: 1;border-left-color:rgb(23 37 84 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-100){--tw-border-opacity: 1;border-left-color:rgb(207 250 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-200){--tw-border-opacity: 1;border-left-color:rgb(165 243 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-300){--tw-border-opacity: 1;border-left-color:rgb(103 232 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-400){--tw-border-opacity: 1;border-left-color:rgb(34 211 238 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-50){--tw-border-opacity: 1;border-left-color:rgb(236 254 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-500){--tw-border-opacity: 1;border-left-color:rgb(6 182 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-600){--tw-border-opacity: 1;border-left-color:rgb(8 145 178 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-700){--tw-border-opacity: 1;border-left-color:rgb(14 116 144 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-800){--tw-border-opacity: 1;border-left-color:rgb(21 94 117 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-900){--tw-border-opacity: 1;border-left-color:rgb(22 78 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-cyan-950){--tw-border-opacity: 1;border-left-color:rgb(8 51 68 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-100){--tw-border-opacity: 1;border-left-color:rgb(209 250 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-200){--tw-border-opacity: 1;border-left-color:rgb(167 243 208 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-300){--tw-border-opacity: 1;border-left-color:rgb(110 231 183 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-400){--tw-border-opacity: 1;border-left-color:rgb(52 211 153 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-50){--tw-border-opacity: 1;border-left-color:rgb(236 253 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-500){--tw-border-opacity: 1;border-left-color:rgb(16 185 129 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-600){--tw-border-opacity: 1;border-left-color:rgb(5 150 105 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-700){--tw-border-opacity: 1;border-left-color:rgb(4 120 87 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-800){--tw-border-opacity: 1;border-left-color:rgb(6 95 70 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-900){--tw-border-opacity: 1;border-left-color:rgb(6 78 59 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-emerald-950){--tw-border-opacity: 1;border-left-color:rgb(2 44 34 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-100){--tw-border-opacity: 1;border-left-color:rgb(250 232 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-200){--tw-border-opacity: 1;border-left-color:rgb(245 208 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-300){--tw-border-opacity: 1;border-left-color:rgb(240 171 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-400){--tw-border-opacity: 1;border-left-color:rgb(232 121 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-50){--tw-border-opacity: 1;border-left-color:rgb(253 244 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-500){--tw-border-opacity: 1;border-left-color:rgb(217 70 239 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-600){--tw-border-opacity: 1;border-left-color:rgb(192 38 211 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-700){--tw-border-opacity: 1;border-left-color:rgb(162 28 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-800){--tw-border-opacity: 1;border-left-color:rgb(134 25 143 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-900){--tw-border-opacity: 1;border-left-color:rgb(112 26 117 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-fuchsia-950){--tw-border-opacity: 1;border-left-color:rgb(74 4 78 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-100){--tw-border-opacity: 1;border-left-color:rgb(243 244 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-200){--tw-border-opacity: 1;border-left-color:rgb(229 231 235 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-300){--tw-border-opacity: 1;border-left-color:rgb(209 213 219 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-400){--tw-border-opacity: 1;border-left-color:rgb(156 163 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-50){--tw-border-opacity: 1;border-left-color:rgb(249 250 251 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-500){--tw-border-opacity: 1;border-left-color:rgb(107 114 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-600){--tw-border-opacity: 1;border-left-color:rgb(75 85 99 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-700){--tw-border-opacity: 1;border-left-color:rgb(55 65 81 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-800){--tw-border-opacity: 1;border-left-color:rgb(31 41 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-900){--tw-border-opacity: 1;border-left-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-gray-950){--tw-border-opacity: 1;border-left-color:rgb(3 7 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-100){--tw-border-opacity: 1;border-left-color:rgb(220 252 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-200){--tw-border-opacity: 1;border-left-color:rgb(187 247 208 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-300){--tw-border-opacity: 1;border-left-color:rgb(134 239 172 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-400){--tw-border-opacity: 1;border-left-color:rgb(74 222 128 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-50){--tw-border-opacity: 1;border-left-color:rgb(240 253 244 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-500){--tw-border-opacity: 1;border-left-color:rgb(34 197 94 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-600){--tw-border-opacity: 1;border-left-color:rgb(22 163 74 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-700){--tw-border-opacity: 1;border-left-color:rgb(21 128 61 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-800){--tw-border-opacity: 1;border-left-color:rgb(22 101 52 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-900){--tw-border-opacity: 1;border-left-color:rgb(20 83 45 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-green-950){--tw-border-opacity: 1;border-left-color:rgb(5 46 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-100){--tw-border-opacity: 1;border-left-color:rgb(224 231 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-200){--tw-border-opacity: 1;border-left-color:rgb(199 210 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-300){--tw-border-opacity: 1;border-left-color:rgb(165 180 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-400){--tw-border-opacity: 1;border-left-color:rgb(129 140 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-50){--tw-border-opacity: 1;border-left-color:rgb(238 242 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-500){--tw-border-opacity: 1;border-left-color:rgb(99 102 241 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-600){--tw-border-opacity: 1;border-left-color:rgb(79 70 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-700){--tw-border-opacity: 1;border-left-color:rgb(67 56 202 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-800){--tw-border-opacity: 1;border-left-color:rgb(55 48 163 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-900){--tw-border-opacity: 1;border-left-color:rgb(49 46 129 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-indigo-950){--tw-border-opacity: 1;border-left-color:rgb(30 27 75 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-100){--tw-border-opacity: 1;border-left-color:rgb(236 252 203 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-200){--tw-border-opacity: 1;border-left-color:rgb(217 249 157 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-300){--tw-border-opacity: 1;border-left-color:rgb(190 242 100 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-400){--tw-border-opacity: 1;border-left-color:rgb(163 230 53 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-50){--tw-border-opacity: 1;border-left-color:rgb(247 254 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-500){--tw-border-opacity: 1;border-left-color:rgb(132 204 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-600){--tw-border-opacity: 1;border-left-color:rgb(101 163 13 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-700){--tw-border-opacity: 1;border-left-color:rgb(77 124 15 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-800){--tw-border-opacity: 1;border-left-color:rgb(63 98 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-900){--tw-border-opacity: 1;border-left-color:rgb(54 83 20 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-lime-950){--tw-border-opacity: 1;border-left-color:rgb(26 46 5 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-100){--tw-border-opacity: 1;border-left-color:rgb(245 245 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-200){--tw-border-opacity: 1;border-left-color:rgb(229 229 229 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-300){--tw-border-opacity: 1;border-left-color:rgb(212 212 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-400){--tw-border-opacity: 1;border-left-color:rgb(163 163 163 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-50){--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-500){--tw-border-opacity: 1;border-left-color:rgb(115 115 115 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-600){--tw-border-opacity: 1;border-left-color:rgb(82 82 82 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-700){--tw-border-opacity: 1;border-left-color:rgb(64 64 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-800){--tw-border-opacity: 1;border-left-color:rgb(38 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-900){--tw-border-opacity: 1;border-left-color:rgb(23 23 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-neutral-950){--tw-border-opacity: 1;border-left-color:rgb(10 10 10 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-100){--tw-border-opacity: 1;border-left-color:rgb(255 237 213 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-200){--tw-border-opacity: 1;border-left-color:rgb(254 215 170 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-300){--tw-border-opacity: 1;border-left-color:rgb(253 186 116 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-400){--tw-border-opacity: 1;border-left-color:rgb(251 146 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-50){--tw-border-opacity: 1;border-left-color:rgb(255 247 237 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-500){--tw-border-opacity: 1;border-left-color:rgb(249 115 22 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-600){--tw-border-opacity: 1;border-left-color:rgb(234 88 12 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-700){--tw-border-opacity: 1;border-left-color:rgb(194 65 12 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-800){--tw-border-opacity: 1;border-left-color:rgb(154 52 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-900){--tw-border-opacity: 1;border-left-color:rgb(124 45 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-orange-950){--tw-border-opacity: 1;border-left-color:rgb(67 20 7 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-100){--tw-border-opacity: 1;border-left-color:rgb(252 231 243 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-200){--tw-border-opacity: 1;border-left-color:rgb(251 207 232 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-300){--tw-border-opacity: 1;border-left-color:rgb(249 168 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-400){--tw-border-opacity: 1;border-left-color:rgb(244 114 182 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-50){--tw-border-opacity: 1;border-left-color:rgb(253 242 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-500){--tw-border-opacity: 1;border-left-color:rgb(236 72 153 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-600){--tw-border-opacity: 1;border-left-color:rgb(219 39 119 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-700){--tw-border-opacity: 1;border-left-color:rgb(190 24 93 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-800){--tw-border-opacity: 1;border-left-color:rgb(157 23 77 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-900){--tw-border-opacity: 1;border-left-color:rgb(131 24 67 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-pink-950){--tw-border-opacity: 1;border-left-color:rgb(80 7 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-100){--tw-border-opacity: 1;border-left-color:rgb(243 232 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-200){--tw-border-opacity: 1;border-left-color:rgb(233 213 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-300){--tw-border-opacity: 1;border-left-color:rgb(216 180 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-400){--tw-border-opacity: 1;border-left-color:rgb(192 132 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-50){--tw-border-opacity: 1;border-left-color:rgb(250 245 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-500){--tw-border-opacity: 1;border-left-color:rgb(168 85 247 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-600){--tw-border-opacity: 1;border-left-color:rgb(147 51 234 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-700){--tw-border-opacity: 1;border-left-color:rgb(126 34 206 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-800){--tw-border-opacity: 1;border-left-color:rgb(107 33 168 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-900){--tw-border-opacity: 1;border-left-color:rgb(88 28 135 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-purple-950){--tw-border-opacity: 1;border-left-color:rgb(59 7 100 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-100){--tw-border-opacity: 1;border-left-color:rgb(254 226 226 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-200){--tw-border-opacity: 1;border-left-color:rgb(254 202 202 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-300){--tw-border-opacity: 1;border-left-color:rgb(252 165 165 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-400){--tw-border-opacity: 1;border-left-color:rgb(248 113 113 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-50){--tw-border-opacity: 1;border-left-color:rgb(254 242 242 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-500){--tw-border-opacity: 1;border-left-color:rgb(239 68 68 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-600){--tw-border-opacity: 1;border-left-color:rgb(220 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-700){--tw-border-opacity: 1;border-left-color:rgb(185 28 28 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-800){--tw-border-opacity: 1;border-left-color:rgb(153 27 27 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-900){--tw-border-opacity: 1;border-left-color:rgb(127 29 29 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-red-950){--tw-border-opacity: 1;border-left-color:rgb(69 10 10 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-100){--tw-border-opacity: 1;border-left-color:rgb(255 228 230 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-200){--tw-border-opacity: 1;border-left-color:rgb(254 205 211 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-300){--tw-border-opacity: 1;border-left-color:rgb(253 164 175 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-400){--tw-border-opacity: 1;border-left-color:rgb(251 113 133 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-50){--tw-border-opacity: 1;border-left-color:rgb(255 241 242 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-500){--tw-border-opacity: 1;border-left-color:rgb(244 63 94 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-600){--tw-border-opacity: 1;border-left-color:rgb(225 29 72 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-700){--tw-border-opacity: 1;border-left-color:rgb(190 18 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-800){--tw-border-opacity: 1;border-left-color:rgb(159 18 57 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-900){--tw-border-opacity: 1;border-left-color:rgb(136 19 55 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-rose-950){--tw-border-opacity: 1;border-left-color:rgb(76 5 25 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-100){--tw-border-opacity: 1;border-left-color:rgb(224 242 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-200){--tw-border-opacity: 1;border-left-color:rgb(186 230 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-300){--tw-border-opacity: 1;border-left-color:rgb(125 211 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-400){--tw-border-opacity: 1;border-left-color:rgb(56 189 248 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-50){--tw-border-opacity: 1;border-left-color:rgb(240 249 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-500){--tw-border-opacity: 1;border-left-color:rgb(14 165 233 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-600){--tw-border-opacity: 1;border-left-color:rgb(2 132 199 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-700){--tw-border-opacity: 1;border-left-color:rgb(3 105 161 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-800){--tw-border-opacity: 1;border-left-color:rgb(7 89 133 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-900){--tw-border-opacity: 1;border-left-color:rgb(12 74 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-sky-950){--tw-border-opacity: 1;border-left-color:rgb(8 47 73 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-100){--tw-border-opacity: 1;border-left-color:rgb(241 245 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-200){--tw-border-opacity: 1;border-left-color:rgb(226 232 240 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-300){--tw-border-opacity: 1;border-left-color:rgb(203 213 225 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-400){--tw-border-opacity: 1;border-left-color:rgb(148 163 184 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-50){--tw-border-opacity: 1;border-left-color:rgb(248 250 252 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-500){--tw-border-opacity: 1;border-left-color:rgb(100 116 139 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-600){--tw-border-opacity: 1;border-left-color:rgb(71 85 105 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-700){--tw-border-opacity: 1;border-left-color:rgb(51 65 85 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-800){--tw-border-opacity: 1;border-left-color:rgb(30 41 59 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-900){--tw-border-opacity: 1;border-left-color:rgb(15 23 42 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-slate-950){--tw-border-opacity: 1;border-left-color:rgb(2 6 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-100){--tw-border-opacity: 1;border-left-color:rgb(245 245 244 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-200){--tw-border-opacity: 1;border-left-color:rgb(231 229 228 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-300){--tw-border-opacity: 1;border-left-color:rgb(214 211 209 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-400){--tw-border-opacity: 1;border-left-color:rgb(168 162 158 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-50){--tw-border-opacity: 1;border-left-color:rgb(250 250 249 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-500){--tw-border-opacity: 1;border-left-color:rgb(120 113 108 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-600){--tw-border-opacity: 1;border-left-color:rgb(87 83 78 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-700){--tw-border-opacity: 1;border-left-color:rgb(68 64 60 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-800){--tw-border-opacity: 1;border-left-color:rgb(41 37 36 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-900){--tw-border-opacity: 1;border-left-color:rgb(28 25 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-stone-950){--tw-border-opacity: 1;border-left-color:rgb(12 10 9 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-100){--tw-border-opacity: 1;border-left-color:rgb(204 251 241 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-200){--tw-border-opacity: 1;border-left-color:rgb(153 246 228 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-300){--tw-border-opacity: 1;border-left-color:rgb(94 234 212 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-400){--tw-border-opacity: 1;border-left-color:rgb(45 212 191 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-50){--tw-border-opacity: 1;border-left-color:rgb(240 253 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-500){--tw-border-opacity: 1;border-left-color:rgb(20 184 166 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-600){--tw-border-opacity: 1;border-left-color:rgb(13 148 136 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-700){--tw-border-opacity: 1;border-left-color:rgb(15 118 110 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-800){--tw-border-opacity: 1;border-left-color:rgb(17 94 89 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-900){--tw-border-opacity: 1;border-left-color:rgb(19 78 74 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-teal-950){--tw-border-opacity: 1;border-left-color:rgb(4 47 46 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-100){--tw-border-opacity: 1;border-left-color:rgb(237 233 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-200){--tw-border-opacity: 1;border-left-color:rgb(221 214 254 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-300){--tw-border-opacity: 1;border-left-color:rgb(196 181 253 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-400){--tw-border-opacity: 1;border-left-color:rgb(167 139 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-50){--tw-border-opacity: 1;border-left-color:rgb(245 243 255 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-500){--tw-border-opacity: 1;border-left-color:rgb(139 92 246 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-600){--tw-border-opacity: 1;border-left-color:rgb(124 58 237 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-700){--tw-border-opacity: 1;border-left-color:rgb(109 40 217 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-800){--tw-border-opacity: 1;border-left-color:rgb(91 33 182 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-900){--tw-border-opacity: 1;border-left-color:rgb(76 29 149 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-violet-950){--tw-border-opacity: 1;border-left-color:rgb(46 16 101 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-100){--tw-border-opacity: 1;border-left-color:rgb(254 249 195 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-200){--tw-border-opacity: 1;border-left-color:rgb(254 240 138 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-300){--tw-border-opacity: 1;border-left-color:rgb(253 224 71 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-400){--tw-border-opacity: 1;border-left-color:rgb(250 204 21 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-50){--tw-border-opacity: 1;border-left-color:rgb(254 252 232 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-500){--tw-border-opacity: 1;border-left-color:rgb(234 179 8 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-600){--tw-border-opacity: 1;border-left-color:rgb(202 138 4 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-700){--tw-border-opacity: 1;border-left-color:rgb(161 98 7 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-800){--tw-border-opacity: 1;border-left-color:rgb(133 77 14 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-900){--tw-border-opacity: 1;border-left-color:rgb(113 63 18 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-yellow-950){--tw-border-opacity: 1;border-left-color:rgb(66 32 6 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-100){--tw-border-opacity: 1;border-left-color:rgb(244 244 245 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-200){--tw-border-opacity: 1;border-left-color:rgb(228 228 231 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-300){--tw-border-opacity: 1;border-left-color:rgb(212 212 216 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-400){--tw-border-opacity: 1;border-left-color:rgb(161 161 170 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-50){--tw-border-opacity: 1;border-left-color:rgb(250 250 250 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-500){--tw-border-opacity: 1;border-left-color:rgb(113 113 122 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-600){--tw-border-opacity: 1;border-left-color:rgb(82 82 91 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-700){--tw-border-opacity: 1;border-left-color:rgb(63 63 70 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-800){--tw-border-opacity: 1;border-left-color:rgb(39 39 42 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-900){--tw-border-opacity: 1;border-left-color:rgb(24 24 27 / var(--tw-border-opacity))}:is(.dark .dark\:border-l-zinc-950){--tw-border-opacity: 1;border-left-color:rgb(9 9 11 / var(--tw-border-opacity))}:is(.dark .dark\:border-opacity-40){--tw-border-opacity: .4}:is(.dark .dark\:border-opacity-50){--tw-border-opacity: .5}:is(.dark .dark\:border-opacity-60){--tw-border-opacity: .6}:is(.dark .dark\:border-opacity-70){--tw-border-opacity: .7}:is(.dark .dark\:\!bg-amber-950){--tw-bg-opacity: 1 !important;background-color:rgb(69 26 3 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-gray-600){--tw-bg-opacity: 1 !important;background-color:rgb(75 85 99 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-gray-700){--tw-bg-opacity: 1 !important;background-color:rgb(55 65 81 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-gray-900){--tw-bg-opacity: 1 !important;background-color:rgb(17 24 39 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-green-900){--tw-bg-opacity: 1 !important;background-color:rgb(20 83 45 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-green-900\/80){background-color:#14532dcc!important}:is(.dark .dark\:\!bg-green-950){--tw-bg-opacity: 1 !important;background-color:rgb(5 46 22 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-orange-500\/40){background-color:#f9731666!important}:is(.dark .dark\:\!bg-red-800){--tw-bg-opacity: 1 !important;background-color:rgb(153 27 27 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-red-900){--tw-bg-opacity: 1 !important;background-color:rgb(127 29 29 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-red-900\/90){background-color:#7f1d1de6!important}:is(.dark .dark\:\!bg-red-950){--tw-bg-opacity: 1 !important;background-color:rgb(69 10 10 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-red-950\/80){background-color:#450a0acc!important}:is(.dark .dark\:\!bg-slate-600){--tw-bg-opacity: 1 !important;background-color:rgb(71 85 105 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-slate-800){--tw-bg-opacity: 1 !important;background-color:rgb(30 41 59 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-slate-900){--tw-bg-opacity: 1 !important;background-color:rgb(15 23 42 / var(--tw-bg-opacity))!important}:is(.dark .dark\:\!bg-slate-950\/60){background-color:#02061799!important}:is(.dark .dark\:\!bg-transparent){background-color:transparent!important}:is(.dark .dark\:bg-amber-100){--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-200){--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-300){--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-400){--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-50){--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-500){--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-600){--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-700){--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-800){--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-900){--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-900\/70){background-color:#78350fb3}:is(.dark .dark\:bg-amber-950){--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-amber-950\/80){background-color:#451a03cc}:is(.dark .dark\:bg-black\/70){background-color:#000000b3}:is(.dark .dark\:bg-blue-100){--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-200){--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-300){--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-400){--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-50){--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-500){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-600){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-700){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-800){--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-900){--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-blue-950){--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-100){--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-200){--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-300){--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-400){--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-50){--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-500){--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-600){--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-700){--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-800){--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-900){--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-cyan-950){--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-100){--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-200){--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-300){--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-400){--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-50){--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-500){--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-500\/20){background-color:#10b98133}:is(.dark .dark\:bg-emerald-600){--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-700){--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-800){--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-800\/30){background-color:#065f464d}:is(.dark .dark\:bg-emerald-900){--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-emerald-950){--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-100){--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-200){--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-300){--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-400){--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-50){--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-500){--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-600){--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-700){--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-800){--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-900){--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-fuchsia-950){--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-100){--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-200){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-300){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-400){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-50){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500\/70){background-color:#6b7280b3}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700\/50){background-color:#37415180}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800\/70){background-color:#1f2937b3}:is(.dark .dark\:bg-gray-800\/80){background-color:#1f2937cc}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900\/60){background-color:#11182799}:is(.dark .dark\:bg-gray-900\/80){background-color:#111827cc}:is(.dark .dark\:bg-gray-900\/90){background-color:#111827e6}:is(.dark .dark\:bg-gray-950){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-100){--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-200){--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-300){--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-400){--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-50){--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-50\/20){background-color:#f0fdf433}:is(.dark .dark\:bg-green-500){--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-600){--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-700){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-800){--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-900){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-900\/40){background-color:#14532d66}:is(.dark .dark\:bg-green-950){--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-green-950\/30){background-color:#052e164d}:is(.dark .dark\:bg-green-950\/80){background-color:#052e16cc}:is(.dark .dark\:bg-indigo-100){--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-200){--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-300){--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-400){--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-50){--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-500){--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-600){--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-700){--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-800){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-900){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-indigo-950){--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-100){--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-200){--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-300){--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-400){--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-50){--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-500){--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-600){--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-700){--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-800){--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-900){--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-lime-950){--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-100){--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-200){--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-300){--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-400){--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-50){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-500){--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-600){--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-700){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-800){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-900){--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-950){--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-100){--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-200){--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-300){--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-400){--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-50){--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-500){--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-500\/70){background-color:#f97316b3}:is(.dark .dark\:bg-orange-600){--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-600\/70){background-color:#ea580cb3}:is(.dark .dark\:bg-orange-700){--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-700\/40){background-color:#c2410c66}:is(.dark .dark\:bg-orange-800){--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-800\/40){background-color:#9a341266}:is(.dark .dark\:bg-orange-900){--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-orange-900\/40){background-color:#7c2d1266}:is(.dark .dark\:bg-orange-900\/60){background-color:#7c2d1299}:is(.dark .dark\:bg-orange-900\/70){background-color:#7c2d12b3}:is(.dark .dark\:bg-orange-900\/80){background-color:#7c2d12cc}:is(.dark .dark\:bg-orange-950){--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-100){--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-200){--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-300){--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-400){--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-50){--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-500){--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-600){--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-700){--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-800){--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-900){--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-pink-950){--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-100){--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-200){--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-300){--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-400){--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-50){--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-500){--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-600){--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-700){--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-800){--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-900){--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-purple-950){--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-100){--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-200){--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-300){--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-400){--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-50){--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-500\/20){background-color:#ef444433}:is(.dark .dark\:bg-red-600){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-700){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-800){--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-900){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-900\/70){background-color:#7f1d1db3}:is(.dark .dark\:bg-red-950){--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-red-950\/80){background-color:#450a0acc}:is(.dark .dark\:bg-rose-100){--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-200){--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-300){--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-400){--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-50){--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-500){--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-600){--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-700){--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-800){--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-900){--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-rose-950){--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-100){--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-200){--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-300){--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-400){--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-50){--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-500){--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-600){--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-700){--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-800){--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-900){--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-900\/40){background-color:#0c4a6e66}:is(.dark .dark\:bg-sky-900\/80){background-color:#0c4a6ecc}:is(.dark .dark\:bg-sky-950){--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-sky-950\/70){background-color:#082f49b3}:is(.dark .dark\:bg-sky-950\/80){background-color:#082f49cc}:is(.dark .dark\:bg-slate-100){--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-200){--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-300){--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-300\/90){background-color:#cbd5e1e6}:is(.dark .dark\:bg-slate-400){--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-50){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-500){--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-600){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-600\/90){background-color:#475569e6}:is(.dark .dark\:bg-slate-700){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-700\/50){background-color:#33415580}:is(.dark .dark\:bg-slate-700\/80){background-color:#334155cc}:is(.dark .dark\:bg-slate-800){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800\/50){background-color:#1e293b80}:is(.dark .dark\:bg-slate-900){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-900\/60){background-color:#0f172a99}:is(.dark .dark\:bg-slate-900\/80){background-color:#0f172acc}:is(.dark .dark\:bg-slate-900\/90){background-color:#0f172ae6}:is(.dark .dark\:bg-slate-950){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-950\/80){background-color:#020617cc}:is(.dark .dark\:bg-slate-950\/90){background-color:#020617e6}:is(.dark .dark\:bg-stone-100){--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-200){--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-300){--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-400){--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-50){--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-500){--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-600){--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-700){--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-800){--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-900){--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-stone-950){--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-100){--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-200){--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-300){--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-400){--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-50){--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-500){--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-600){--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-700){--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-800){--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-900){--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-teal-900\/70){background-color:#134e4ab3}:is(.dark .dark\:bg-teal-950){--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-transparent){background-color:transparent}:is(.dark .dark\:bg-violet-100){--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-200){--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-300){--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-400){--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-50){--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-500){--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-600){--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-700){--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-800){--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-900){--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-violet-950){--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-100){--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-200){--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-300){--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-400){--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-50){--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-500){--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-600){--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-700){--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-800){--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-900){--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-yellow-900\/70){background-color:#713f12b3}:is(.dark .dark\:bg-yellow-950){--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-100){--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-200){--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-300){--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-400){--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-50){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-500){--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-600){--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-700){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-800){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-900){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-zinc-950){--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-opacity-70){--tw-bg-opacity: .7}:is(.dark .dark\:bg-opacity-80){--tw-bg-opacity: .8}:is(.dark .dark\:fill-green-700){fill:#15803d}:is(.dark .dark\:fill-orange-500\/60){fill:#f9731699}:is(.dark .dark\:fill-yellow-500\/70){fill:#eab308b3}:is(.dark .dark\:\!text-amber-400){--tw-text-opacity: 1 !important;color:rgb(251 191 36 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-amber-500){--tw-text-opacity: 1 !important;color:rgb(245 158 11 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-amber-600){--tw-text-opacity: 1 !important;color:rgb(217 119 6 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-blue-400){--tw-text-opacity: 1 !important;color:rgb(96 165 250 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-gray-300){--tw-text-opacity: 1 !important;color:rgb(209 213 219 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-gray-500){--tw-text-opacity: 1 !important;color:rgb(107 114 128 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-gray-600){--tw-text-opacity: 1 !important;color:rgb(75 85 99 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-gray-700){--tw-text-opacity: 1 !important;color:rgb(55 65 81 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-green-400){--tw-text-opacity: 1 !important;color:rgb(74 222 128 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-green-500){--tw-text-opacity: 1 !important;color:rgb(34 197 94 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-green-600){--tw-text-opacity: 1 !important;color:rgb(22 163 74 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-orange-300){--tw-text-opacity: 1 !important;color:rgb(253 186 116 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-orange-400\/80){color:#fb923ccc!important}:is(.dark .dark\:\!text-orange-500){--tw-text-opacity: 1 !important;color:rgb(249 115 22 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-red-400){--tw-text-opacity: 1 !important;color:rgb(248 113 113 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-red-500){--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-red-500\/90){color:#ef4444e6!important}:is(.dark .dark\:\!text-red-600){--tw-text-opacity: 1 !important;color:rgb(220 38 38 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-slate-300){--tw-text-opacity: 1 !important;color:rgb(203 213 225 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-slate-400){--tw-text-opacity: 1 !important;color:rgb(148 163 184 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-slate-50){--tw-text-opacity: 1 !important;color:rgb(248 250 252 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-slate-500){--tw-text-opacity: 1 !important;color:rgb(100 116 139 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-slate-600){--tw-text-opacity: 1 !important;color:rgb(71 85 105 / var(--tw-text-opacity))!important}:is(.dark .dark\:\!text-yellow-300){--tw-text-opacity: 1 !important;color:rgb(253 224 71 / var(--tw-text-opacity))!important}:is(.dark .dark\:text-amber-100){--tw-text-opacity: 1;color:rgb(254 243 199 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-200){--tw-text-opacity: 1;color:rgb(253 230 138 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-300){--tw-text-opacity: 1;color:rgb(252 211 77 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-400){--tw-text-opacity: 1;color:rgb(251 191 36 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-50){--tw-text-opacity: 1;color:rgb(255 251 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-500){--tw-text-opacity: 1;color:rgb(245 158 11 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-600){--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-700){--tw-text-opacity: 1;color:rgb(180 83 9 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-800){--tw-text-opacity: 1;color:rgb(146 64 14 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-900){--tw-text-opacity: 1;color:rgb(120 53 15 / var(--tw-text-opacity))}:is(.dark .dark\:text-amber-950){--tw-text-opacity: 1;color:rgb(69 26 3 / var(--tw-text-opacity))}:is(.dark .dark\:text-black){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-100){--tw-text-opacity: 1;color:rgb(219 234 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-200){--tw-text-opacity: 1;color:rgb(191 219 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-300){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-400){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-50){--tw-text-opacity: 1;color:rgb(239 246 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-500){--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-600){--tw-text-opacity: 1;color:rgb(37 99 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-700){--tw-text-opacity: 1;color:rgb(29 78 216 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-800){--tw-text-opacity: 1;color:rgb(30 64 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-900){--tw-text-opacity: 1;color:rgb(30 58 138 / var(--tw-text-opacity))}:is(.dark .dark\:text-blue-950){--tw-text-opacity: 1;color:rgb(23 37 84 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-100){--tw-text-opacity: 1;color:rgb(207 250 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-200){--tw-text-opacity: 1;color:rgb(165 243 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-300){--tw-text-opacity: 1;color:rgb(103 232 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-400){--tw-text-opacity: 1;color:rgb(34 211 238 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-50){--tw-text-opacity: 1;color:rgb(236 254 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-500){--tw-text-opacity: 1;color:rgb(6 182 212 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-600){--tw-text-opacity: 1;color:rgb(8 145 178 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-700){--tw-text-opacity: 1;color:rgb(14 116 144 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-800){--tw-text-opacity: 1;color:rgb(21 94 117 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-900){--tw-text-opacity: 1;color:rgb(22 78 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-cyan-950){--tw-text-opacity: 1;color:rgb(8 51 68 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-100){--tw-text-opacity: 1;color:rgb(209 250 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-200){--tw-text-opacity: 1;color:rgb(167 243 208 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-300){--tw-text-opacity: 1;color:rgb(110 231 183 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-400){--tw-text-opacity: 1;color:rgb(52 211 153 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-50){--tw-text-opacity: 1;color:rgb(236 253 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-500){--tw-text-opacity: 1;color:rgb(16 185 129 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-600){--tw-text-opacity: 1;color:rgb(5 150 105 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-700){--tw-text-opacity: 1;color:rgb(4 120 87 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-800){--tw-text-opacity: 1;color:rgb(6 95 70 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-900){--tw-text-opacity: 1;color:rgb(6 78 59 / var(--tw-text-opacity))}:is(.dark .dark\:text-emerald-950){--tw-text-opacity: 1;color:rgb(2 44 34 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-100){--tw-text-opacity: 1;color:rgb(250 232 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-200){--tw-text-opacity: 1;color:rgb(245 208 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-300){--tw-text-opacity: 1;color:rgb(240 171 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-400){--tw-text-opacity: 1;color:rgb(232 121 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-50){--tw-text-opacity: 1;color:rgb(253 244 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-500){--tw-text-opacity: 1;color:rgb(217 70 239 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-600){--tw-text-opacity: 1;color:rgb(192 38 211 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-700){--tw-text-opacity: 1;color:rgb(162 28 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-800){--tw-text-opacity: 1;color:rgb(134 25 143 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-900){--tw-text-opacity: 1;color:rgb(112 26 117 / var(--tw-text-opacity))}:is(.dark .dark\:text-fuchsia-950){--tw-text-opacity: 1;color:rgb(74 4 78 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-200){--tw-text-opacity: 1;color:rgb(229 231 235 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-50){--tw-text-opacity: 1;color:rgb(249 250 251 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(75 85 99 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-700){--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-800){--tw-text-opacity: 1;color:rgb(31 41 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-900){--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-950){--tw-text-opacity: 1;color:rgb(3 7 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-100){--tw-text-opacity: 1;color:rgb(220 252 231 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-200){--tw-text-opacity: 1;color:rgb(187 247 208 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-300){--tw-text-opacity: 1;color:rgb(134 239 172 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-400){--tw-text-opacity: 1;color:rgb(74 222 128 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-50){--tw-text-opacity: 1;color:rgb(240 253 244 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-500){--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-600){--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-700){--tw-text-opacity: 1;color:rgb(21 128 61 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-800){--tw-text-opacity: 1;color:rgb(22 101 52 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-900){--tw-text-opacity: 1;color:rgb(20 83 45 / var(--tw-text-opacity))}:is(.dark .dark\:text-green-950){--tw-text-opacity: 1;color:rgb(5 46 22 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-100){--tw-text-opacity: 1;color:rgb(224 231 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-200){--tw-text-opacity: 1;color:rgb(199 210 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-300){--tw-text-opacity: 1;color:rgb(165 180 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-400){--tw-text-opacity: 1;color:rgb(129 140 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-50){--tw-text-opacity: 1;color:rgb(238 242 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-500){--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-600){--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-700){--tw-text-opacity: 1;color:rgb(67 56 202 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-800){--tw-text-opacity: 1;color:rgb(55 48 163 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-900){--tw-text-opacity: 1;color:rgb(49 46 129 / var(--tw-text-opacity))}:is(.dark .dark\:text-indigo-950){--tw-text-opacity: 1;color:rgb(30 27 75 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-100){--tw-text-opacity: 1;color:rgb(236 252 203 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-200){--tw-text-opacity: 1;color:rgb(217 249 157 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-300){--tw-text-opacity: 1;color:rgb(190 242 100 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-400){--tw-text-opacity: 1;color:rgb(163 230 53 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-50){--tw-text-opacity: 1;color:rgb(247 254 231 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-500){--tw-text-opacity: 1;color:rgb(132 204 22 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-600){--tw-text-opacity: 1;color:rgb(101 163 13 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-700){--tw-text-opacity: 1;color:rgb(77 124 15 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-800){--tw-text-opacity: 1;color:rgb(63 98 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-900){--tw-text-opacity: 1;color:rgb(54 83 20 / var(--tw-text-opacity))}:is(.dark .dark\:text-lime-950){--tw-text-opacity: 1;color:rgb(26 46 5 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-100){--tw-text-opacity: 1;color:rgb(245 245 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-200){--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-300){--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-400){--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-50){--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-500){--tw-text-opacity: 1;color:rgb(115 115 115 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-600){--tw-text-opacity: 1;color:rgb(82 82 82 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-700){--tw-text-opacity: 1;color:rgb(64 64 64 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-800){--tw-text-opacity: 1;color:rgb(38 38 38 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-900){--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-950){--tw-text-opacity: 1;color:rgb(10 10 10 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-100){--tw-text-opacity: 1;color:rgb(255 237 213 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-200){--tw-text-opacity: 1;color:rgb(254 215 170 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-300){--tw-text-opacity: 1;color:rgb(253 186 116 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-400){--tw-text-opacity: 1;color:rgb(251 146 60 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-50){--tw-text-opacity: 1;color:rgb(255 247 237 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-500){--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-500\/60){color:#f9731699}:is(.dark .dark\:text-orange-600){--tw-text-opacity: 1;color:rgb(234 88 12 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-700){--tw-text-opacity: 1;color:rgb(194 65 12 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-800){--tw-text-opacity: 1;color:rgb(154 52 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-900){--tw-text-opacity: 1;color:rgb(124 45 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-orange-950){--tw-text-opacity: 1;color:rgb(67 20 7 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-100){--tw-text-opacity: 1;color:rgb(252 231 243 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-200){--tw-text-opacity: 1;color:rgb(251 207 232 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-300){--tw-text-opacity: 1;color:rgb(249 168 212 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-400){--tw-text-opacity: 1;color:rgb(244 114 182 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-50){--tw-text-opacity: 1;color:rgb(253 242 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-500){--tw-text-opacity: 1;color:rgb(236 72 153 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-600){--tw-text-opacity: 1;color:rgb(219 39 119 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-700){--tw-text-opacity: 1;color:rgb(190 24 93 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-800){--tw-text-opacity: 1;color:rgb(157 23 77 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-900){--tw-text-opacity: 1;color:rgb(131 24 67 / var(--tw-text-opacity))}:is(.dark .dark\:text-pink-950){--tw-text-opacity: 1;color:rgb(80 7 36 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-100){--tw-text-opacity: 1;color:rgb(243 232 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-200){--tw-text-opacity: 1;color:rgb(233 213 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-300){--tw-text-opacity: 1;color:rgb(216 180 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-400){--tw-text-opacity: 1;color:rgb(192 132 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-50){--tw-text-opacity: 1;color:rgb(250 245 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-500){--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-600){--tw-text-opacity: 1;color:rgb(147 51 234 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-700){--tw-text-opacity: 1;color:rgb(126 34 206 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-800){--tw-text-opacity: 1;color:rgb(107 33 168 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-900){--tw-text-opacity: 1;color:rgb(88 28 135 / var(--tw-text-opacity))}:is(.dark .dark\:text-purple-950){--tw-text-opacity: 1;color:rgb(59 7 100 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-100){--tw-text-opacity: 1;color:rgb(254 226 226 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-200){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-300){--tw-text-opacity: 1;color:rgb(252 165 165 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-400){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-50){--tw-text-opacity: 1;color:rgb(254 242 242 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-500){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-600){--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-700){--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-800){--tw-text-opacity: 1;color:rgb(153 27 27 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-900){--tw-text-opacity: 1;color:rgb(127 29 29 / var(--tw-text-opacity))}:is(.dark .dark\:text-red-950){--tw-text-opacity: 1;color:rgb(69 10 10 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-100){--tw-text-opacity: 1;color:rgb(255 228 230 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-200){--tw-text-opacity: 1;color:rgb(254 205 211 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-300){--tw-text-opacity: 1;color:rgb(253 164 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-400){--tw-text-opacity: 1;color:rgb(251 113 133 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-50){--tw-text-opacity: 1;color:rgb(255 241 242 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-500){--tw-text-opacity: 1;color:rgb(244 63 94 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-600){--tw-text-opacity: 1;color:rgb(225 29 72 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-700){--tw-text-opacity: 1;color:rgb(190 18 60 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-800){--tw-text-opacity: 1;color:rgb(159 18 57 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-900){--tw-text-opacity: 1;color:rgb(136 19 55 / var(--tw-text-opacity))}:is(.dark .dark\:text-rose-950){--tw-text-opacity: 1;color:rgb(76 5 25 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-100){--tw-text-opacity: 1;color:rgb(224 242 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-200){--tw-text-opacity: 1;color:rgb(186 230 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-300){--tw-text-opacity: 1;color:rgb(125 211 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-400){--tw-text-opacity: 1;color:rgb(56 189 248 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-50){--tw-text-opacity: 1;color:rgb(240 249 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-500){--tw-text-opacity: 1;color:rgb(14 165 233 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-600){--tw-text-opacity: 1;color:rgb(2 132 199 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-700){--tw-text-opacity: 1;color:rgb(3 105 161 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-800){--tw-text-opacity: 1;color:rgb(7 89 133 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-900){--tw-text-opacity: 1;color:rgb(12 74 110 / var(--tw-text-opacity))}:is(.dark .dark\:text-sky-950){--tw-text-opacity: 1;color:rgb(8 47 73 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-100){--tw-text-opacity: 1;color:rgb(241 245 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-200){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-200\/80){color:#e2e8f0cc}:is(.dark .dark\:text-slate-300){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-300\/80){color:#cbd5e1cc}:is(.dark .dark\:text-slate-400){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-400\/80){color:#94a3b8cc}:is(.dark .dark\:text-slate-50){--tw-text-opacity: 1;color:rgb(248 250 252 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-500){--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-600){--tw-text-opacity: 1;color:rgb(71 85 105 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-700){--tw-text-opacity: 1;color:rgb(51 65 85 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-800){--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-900){--tw-text-opacity: 1;color:rgb(15 23 42 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-950){--tw-text-opacity: 1;color:rgb(2 6 23 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-100){--tw-text-opacity: 1;color:rgb(245 245 244 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-200){--tw-text-opacity: 1;color:rgb(231 229 228 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-300){--tw-text-opacity: 1;color:rgb(214 211 209 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-400){--tw-text-opacity: 1;color:rgb(168 162 158 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-50){--tw-text-opacity: 1;color:rgb(250 250 249 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-500){--tw-text-opacity: 1;color:rgb(120 113 108 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-600){--tw-text-opacity: 1;color:rgb(87 83 78 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-700){--tw-text-opacity: 1;color:rgb(68 64 60 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-800){--tw-text-opacity: 1;color:rgb(41 37 36 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-900){--tw-text-opacity: 1;color:rgb(28 25 23 / var(--tw-text-opacity))}:is(.dark .dark\:text-stone-950){--tw-text-opacity: 1;color:rgb(12 10 9 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-100){--tw-text-opacity: 1;color:rgb(204 251 241 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-200){--tw-text-opacity: 1;color:rgb(153 246 228 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-300){--tw-text-opacity: 1;color:rgb(94 234 212 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-400){--tw-text-opacity: 1;color:rgb(45 212 191 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-50){--tw-text-opacity: 1;color:rgb(240 253 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-500){--tw-text-opacity: 1;color:rgb(20 184 166 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-600){--tw-text-opacity: 1;color:rgb(13 148 136 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-700){--tw-text-opacity: 1;color:rgb(15 118 110 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-800){--tw-text-opacity: 1;color:rgb(17 94 89 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-900){--tw-text-opacity: 1;color:rgb(19 78 74 / var(--tw-text-opacity))}:is(.dark .dark\:text-teal-950){--tw-text-opacity: 1;color:rgb(4 47 46 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-100){--tw-text-opacity: 1;color:rgb(237 233 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-200){--tw-text-opacity: 1;color:rgb(221 214 254 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-300){--tw-text-opacity: 1;color:rgb(196 181 253 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-400){--tw-text-opacity: 1;color:rgb(167 139 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-50){--tw-text-opacity: 1;color:rgb(245 243 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-500){--tw-text-opacity: 1;color:rgb(139 92 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-600){--tw-text-opacity: 1;color:rgb(124 58 237 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-700){--tw-text-opacity: 1;color:rgb(109 40 217 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-800){--tw-text-opacity: 1;color:rgb(91 33 182 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-900){--tw-text-opacity: 1;color:rgb(76 29 149 / var(--tw-text-opacity))}:is(.dark .dark\:text-violet-950){--tw-text-opacity: 1;color:rgb(46 16 101 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-100){--tw-text-opacity: 1;color:rgb(254 249 195 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-200){--tw-text-opacity: 1;color:rgb(254 240 138 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-300){--tw-text-opacity: 1;color:rgb(253 224 71 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-400){--tw-text-opacity: 1;color:rgb(250 204 21 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-50){--tw-text-opacity: 1;color:rgb(254 252 232 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-500){--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-600){--tw-text-opacity: 1;color:rgb(202 138 4 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-700){--tw-text-opacity: 1;color:rgb(161 98 7 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-800){--tw-text-opacity: 1;color:rgb(133 77 14 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-900){--tw-text-opacity: 1;color:rgb(113 63 18 / var(--tw-text-opacity))}:is(.dark .dark\:text-yellow-950){--tw-text-opacity: 1;color:rgb(66 32 6 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-100){--tw-text-opacity: 1;color:rgb(244 244 245 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-200){--tw-text-opacity: 1;color:rgb(228 228 231 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-300){--tw-text-opacity: 1;color:rgb(212 212 216 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-400){--tw-text-opacity: 1;color:rgb(161 161 170 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-50){--tw-text-opacity: 1;color:rgb(250 250 250 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-500){--tw-text-opacity: 1;color:rgb(113 113 122 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-600){--tw-text-opacity: 1;color:rgb(82 82 91 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-700){--tw-text-opacity: 1;color:rgb(63 63 70 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-800){--tw-text-opacity: 1;color:rgb(39 39 42 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-900){--tw-text-opacity: 1;color:rgb(24 24 27 / var(--tw-text-opacity))}:is(.dark .dark\:text-zinc-950){--tw-text-opacity: 1;color:rgb(9 9 11 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder-gray-400)::-moz-placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:placeholder-gray-400)::placeholder{--tw-placeholder-opacity: 1;color:rgb(156 163 175 / var(--tw-placeholder-opacity))}:is(.dark .dark\:opacity-100){opacity:1}:is(.dark .dark\:opacity-40){opacity:.4}:is(.dark .dark\:opacity-50){opacity:.5}:is(.dark .dark\:opacity-70){opacity:.7}:is(.dark .dark\:shadow-slate-700\/\[\.7\]){--tw-shadow-color: rgb(51 65 85 / .7);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:shadow-slate-700\/\[\.8\]){--tw-shadow-color: rgb(51 65 85 / .8);--tw-shadow: var(--tw-shadow-colored)}:is(.dark .dark\:before\:bg-red-100):before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}:is(.dark .dark\:before\:bg-slate-100):before{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:checked\:border-red-500:checked){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}:is(.dark .group:hover .dark\:group-hover\:\!text-blue-400){--tw-text-opacity: 1 !important;color:rgb(96 165 250 / var(--tw-text-opacity))!important}:is(.dark .group:hover .dark\:group-hover\:text-blue-300){--tw-text-opacity: 1;color:rgb(147 197 253 / var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-blue-400){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-slate-300\/80){color:#cbd5e1cc}:is(.dark .group:hover .dark\:group-hover\:text-slate-500){--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-amber-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-blue-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-cyan-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-emerald-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-fuchsia-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-gray-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-green-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-indigo-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-lime-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-neutral-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-orange-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-pink-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-purple-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-red-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-rose-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-sky-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-slate-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-stone-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-teal-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-violet-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-yellow-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-100[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-200[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-300[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-400[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-50[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-500[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-600[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-700[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-800[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-900[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:bg-zinc-950[data-state=active]){--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=checked\]\:bg-slate-300[data-state=checked]){--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=unchecked\]\:bg-slate-600[data-state=unchecked]){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .dark\:data-\[state\=active\]\:text-slate-200[data-state=active]){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:\!border-orange-900:hover){--tw-border-opacity: 1 !important;border-color:rgb(124 45 18 / var(--tw-border-opacity))!important}:is(.dark .dark\:hover\:border-amber-800:hover){--tw-border-opacity: 1;border-color:rgb(146 64 14 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-blue-500:hover){--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-blue-800:hover){--tw-border-opacity: 1;border-color:rgb(30 64 175 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-gray-900:hover){--tw-border-opacity: 1;border-color:rgb(17 24 39 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-green-700:hover){--tw-border-opacity: 1;border-color:rgb(21 128 61 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-orange-500\/70:hover){border-color:#f97316b3}:is(.dark .dark\:hover\:border-red-800:hover){--tw-border-opacity: 1;border-color:rgb(153 27 27 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-red-900:hover){--tw-border-opacity: 1;border-color:rgb(127 29 29 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-sky-800:hover){--tw-border-opacity: 1;border-color:rgb(7 89 133 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:border-slate-700:hover){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}:is(.dark .hover\:dark\:border-blue-500):hover{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .hover\:dark\:border-slate-500):hover{--tw-border-opacity: 1;border-color:rgb(100 116 139 / var(--tw-border-opacity))}:is(.dark .dark\:hover\:\!bg-slate-800:hover){--tw-bg-opacity: 1 !important;background-color:rgb(30 41 59 / var(--tw-bg-opacity))!important}:is(.dark .dark\:hover\:\!bg-slate-950:hover){--tw-bg-opacity: 1 !important;background-color:rgb(2 6 23 / var(--tw-bg-opacity))!important}:is(.dark .dark\:hover\:bg-accent\/80:hover){background-color:hsl(var(--accent) / .8)}:is(.dark .dark\:hover\:bg-amber-100:hover){--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-200:hover){--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-300:hover){--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-400:hover){--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-50:hover){--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-500:hover){--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-600:hover){--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-700:hover){--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-800:hover){--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-900:hover){--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-amber-950:hover){--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-100:hover){--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-200:hover){--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-300:hover){--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-400:hover){--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-50:hover){--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-500:hover){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-600:hover){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-700:hover){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-800:hover){--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-800\/50:hover){background-color:#1e40af80}:is(.dark .dark\:hover\:bg-blue-900:hover){--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-950:hover){--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-blue-950\/80:hover){background-color:#172554cc}:is(.dark .dark\:hover\:bg-cyan-100:hover){--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-200:hover){--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-300:hover){--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-400:hover){--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-50:hover){--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-500:hover){--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-600:hover){--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-700:hover){--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-800:hover){--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-900:hover){--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-cyan-950:hover){--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-100:hover){--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-200:hover){--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-300:hover){--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-400:hover){--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-50:hover){--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-500:hover){--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-600:hover){--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-700:hover){--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-800:hover){--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-900:hover){--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-emerald-950:hover){--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-100:hover){--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-200:hover){--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-300:hover){--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-400:hover){--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-50:hover){--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-500:hover){--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-600:hover){--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-700:hover){--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-800:hover){--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-900:hover){--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-fuchsia-950:hover){--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-100:hover){--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-200:hover){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-300:hover){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-400:hover){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-50:hover){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-500:hover){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-600:hover){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700\/70:hover){background-color:#374151b3}:is(.dark .dark\:hover\:bg-gray-700\/80:hover){background-color:#374151cc}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-900:hover){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-950:hover){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-100:hover){--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-200:hover){--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-300:hover){--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-400:hover){--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-50:hover){--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-500:hover){--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-600:hover){--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-700:hover){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-800:hover){--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-900:hover){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-green-900\/50:hover){background-color:#14532d80}:is(.dark .dark\:hover\:bg-green-900\/70:hover){background-color:#14532db3}:is(.dark .dark\:hover\:bg-green-900\/80:hover){background-color:#14532dcc}:is(.dark .dark\:hover\:bg-green-950:hover){--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-100:hover){--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-200:hover){--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-300:hover){--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-400:hover){--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-50:hover){--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-500:hover){--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-600:hover){--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-700:hover){--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-800:hover){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-900:hover){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-indigo-950:hover){--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-100:hover){--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-200:hover){--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-300:hover){--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-400:hover){--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-50:hover){--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-500:hover){--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-600:hover){--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-700:hover){--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-800:hover){--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-900:hover){--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-lime-950:hover){--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-100:hover){--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-200:hover){--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-300:hover){--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-400:hover){--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-50:hover){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-500:hover){--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-600:hover){--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-700:hover){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-800:hover){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-900:hover){--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-neutral-950:hover){--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-100:hover){--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-200:hover){--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-300:hover){--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-400:hover){--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-50:hover){--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-500:hover){--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-600:hover){--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-700:hover){--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-800:hover){--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-900:hover){--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-orange-950:hover){--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-100:hover){--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-200:hover){--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-300:hover){--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-400:hover){--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-50:hover){--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-500:hover){--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-600:hover){--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-700:hover){--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-800:hover){--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-900:hover){--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-pink-950:hover){--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-100:hover){--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-200:hover){--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-300:hover){--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-400:hover){--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-50:hover){--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-500:hover){--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-600:hover){--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-700:hover){--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-800:hover){--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-900:hover){--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-purple-950:hover){--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-100:hover){--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-200:hover){--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-300:hover){--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-400:hover){--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-50:hover){--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-500:hover){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-600:hover){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-700:hover){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-800:hover){--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-900:hover){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-red-950:hover){--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-100:hover){--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-200:hover){--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-300:hover){--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-400:hover){--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-50:hover){--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-500:hover){--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-600:hover){--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-700:hover){--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-800:hover){--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-900:hover){--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-rose-950:hover){--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-100:hover){--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-200:hover){--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-300:hover){--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-400:hover){--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-50:hover){--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-500:hover){--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-600:hover){--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-700:hover){--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-800:hover){--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-900:hover){--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-sky-950:hover){--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-100:hover){--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-200:hover){--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-300:hover){--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-400:hover){--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-50:hover){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-500:hover){--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-600:hover){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-600\/90:hover){background-color:#475569e6}:is(.dark .dark\:hover\:bg-slate-700:hover){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-700\/70:hover){background-color:#334155b3}:is(.dark .dark\:hover\:bg-slate-700\/80:hover){background-color:#334155cc}:is(.dark .dark\:hover\:bg-slate-800:hover){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-800\/80:hover){background-color:#1e293bcc}:is(.dark .dark\:hover\:bg-slate-900:hover){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-900\/70:hover){background-color:#0f172ab3}:is(.dark .dark\:hover\:bg-slate-950:hover){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-slate-950\/80:hover){background-color:#020617cc}:is(.dark .dark\:hover\:bg-stone-100:hover){--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-200:hover){--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-300:hover){--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-400:hover){--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-50:hover){--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-500:hover){--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-600:hover){--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-700:hover){--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-800:hover){--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-900:hover){--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-stone-950:hover){--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-100:hover){--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-200:hover){--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-300:hover){--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-400:hover){--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-50:hover){--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-500:hover){--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-600:hover){--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-700:hover){--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-800:hover){--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-900:hover){--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-teal-950:hover){--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-transparent:hover){background-color:transparent}:is(.dark .dark\:hover\:bg-violet-100:hover){--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-200:hover){--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-300:hover){--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-400:hover){--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-50:hover){--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-500:hover){--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-600:hover){--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-700:hover){--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-800:hover){--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-900:hover){--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-violet-950:hover){--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-100:hover){--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-200:hover){--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-300:hover){--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-400:hover){--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-50:hover){--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-500:hover){--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-600:hover){--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-700:hover){--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-700\/80:hover){background-color:#a16207cc}:is(.dark .dark\:hover\:bg-yellow-800:hover){--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-900:hover){--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-950:hover){--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-yellow-950\/80:hover){background-color:#422006cc}:is(.dark .dark\:hover\:bg-zinc-100:hover){--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-200:hover){--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-300:hover){--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-400:hover){--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-50:hover){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-500:hover){--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-600:hover){--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-700:hover){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-800:hover){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-900:hover){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-zinc-950:hover){--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-blue-700\/80):hover{background-color:#1d4ed8cc}:is(.dark .hover\:dark\:bg-gray-700):hover{--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-red-400\/80):hover{background-color:#f87171cc}:is(.dark .hover\:dark\:bg-red-900\/80):hover{background-color:#7f1d1dcc}:is(.dark .hover\:dark\:bg-sky-950):hover{--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-400):hover{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-600):hover{--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-700):hover{--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .hover\:dark\:bg-slate-800):hover{--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-opacity-60:hover){--tw-bg-opacity: .6}:is(.dark .dark\:hover\:\!text-blue-300:hover){--tw-text-opacity: 1 !important;color:rgb(147 197 253 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-blue-400:hover){--tw-text-opacity: 1 !important;color:rgb(96 165 250 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-blue-600:hover){--tw-text-opacity: 1 !important;color:rgb(37 99 235 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-blue-700:hover){--tw-text-opacity: 1 !important;color:rgb(29 78 216 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-orange-300:hover){--tw-text-opacity: 1 !important;color:rgb(253 186 116 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-red-300:hover){--tw-text-opacity: 1 !important;color:rgb(252 165 165 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:\!text-red-500:hover){--tw-text-opacity: 1 !important;color:rgb(239 68 68 / var(--tw-text-opacity))!important}:is(.dark .dark\:hover\:text-blue-400:hover){--tw-text-opacity: 1;color:rgb(96 165 250 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-blue-500:hover){--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-400:hover){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-green-600:hover){--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-red-200:hover){--tw-text-opacity: 1;color:rgb(254 202 202 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-red-400:hover){--tw-text-opacity: 1;color:rgb(248 113 113 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-red-500:hover){--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-red-700:hover){--tw-text-opacity: 1;color:rgb(185 28 28 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-slate-200:hover){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:text-gray-300):hover{--tw-text-opacity: 1;color:rgb(209 213 219 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:text-green-600):hover{--tw-text-opacity: 1;color:rgb(22 163 74 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:text-slate-300):hover{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}:is(.dark .hover\:dark\:text-slate-400):hover{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:decoration-blue-400:hover){-webkit-text-decoration-color:#60a5fa;text-decoration-color:#60a5fa}:is(.dark .dark\:focus\:border-blue-500:focus){--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:border-red-500:focus){--tw-border-opacity: 1;border-color:rgb(239 68 68 / var(--tw-border-opacity))}:is(.dark .dark\:focus\:bg-slate-800:focus){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .focus\:dark\:\!bg-amber-950):focus{--tw-bg-opacity: 1 !important;background-color:rgb(69 26 3 / var(--tw-bg-opacity))!important}:is(.dark .dark\:focus\:text-slate-200:focus){--tw-text-opacity: 1;color:rgb(226 232 240 / var(--tw-text-opacity))}:is(.dark .focus\:dark\:text-amber-600):focus{--tw-text-opacity: 1;color:rgb(217 119 6 / var(--tw-text-opacity))}:is(.dark .dark\:focus\:ring-blue-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(59 130 246 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-red-500:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(239 68 68 / var(--tw-ring-opacity))}:is(.dark .dark\:active\:bg-amber-100:active){--tw-bg-opacity: 1;background-color:rgb(254 243 199 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-200:active){--tw-bg-opacity: 1;background-color:rgb(253 230 138 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-300:active){--tw-bg-opacity: 1;background-color:rgb(252 211 77 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-400:active){--tw-bg-opacity: 1;background-color:rgb(251 191 36 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-50:active){--tw-bg-opacity: 1;background-color:rgb(255 251 235 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-500:active){--tw-bg-opacity: 1;background-color:rgb(245 158 11 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-600:active){--tw-bg-opacity: 1;background-color:rgb(217 119 6 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-700:active){--tw-bg-opacity: 1;background-color:rgb(180 83 9 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-800:active){--tw-bg-opacity: 1;background-color:rgb(146 64 14 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-900:active){--tw-bg-opacity: 1;background-color:rgb(120 53 15 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-amber-950:active){--tw-bg-opacity: 1;background-color:rgb(69 26 3 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-100:active){--tw-bg-opacity: 1;background-color:rgb(219 234 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-200:active){--tw-bg-opacity: 1;background-color:rgb(191 219 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-300:active){--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-400:active){--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-50:active){--tw-bg-opacity: 1;background-color:rgb(239 246 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-500:active){--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-600:active){--tw-bg-opacity: 1;background-color:rgb(37 99 235 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-700:active){--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-800:active){--tw-bg-opacity: 1;background-color:rgb(30 64 175 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-900:active){--tw-bg-opacity: 1;background-color:rgb(30 58 138 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-blue-950:active){--tw-bg-opacity: 1;background-color:rgb(23 37 84 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-100:active){--tw-bg-opacity: 1;background-color:rgb(207 250 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-200:active){--tw-bg-opacity: 1;background-color:rgb(165 243 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-300:active){--tw-bg-opacity: 1;background-color:rgb(103 232 249 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-400:active){--tw-bg-opacity: 1;background-color:rgb(34 211 238 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-50:active){--tw-bg-opacity: 1;background-color:rgb(236 254 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-500:active){--tw-bg-opacity: 1;background-color:rgb(6 182 212 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-600:active){--tw-bg-opacity: 1;background-color:rgb(8 145 178 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-700:active){--tw-bg-opacity: 1;background-color:rgb(14 116 144 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-800:active){--tw-bg-opacity: 1;background-color:rgb(21 94 117 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-900:active){--tw-bg-opacity: 1;background-color:rgb(22 78 99 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-cyan-950:active){--tw-bg-opacity: 1;background-color:rgb(8 51 68 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-100:active){--tw-bg-opacity: 1;background-color:rgb(209 250 229 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-200:active){--tw-bg-opacity: 1;background-color:rgb(167 243 208 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-300:active){--tw-bg-opacity: 1;background-color:rgb(110 231 183 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-400:active){--tw-bg-opacity: 1;background-color:rgb(52 211 153 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-50:active){--tw-bg-opacity: 1;background-color:rgb(236 253 245 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-500:active){--tw-bg-opacity: 1;background-color:rgb(16 185 129 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-600:active){--tw-bg-opacity: 1;background-color:rgb(5 150 105 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-700:active){--tw-bg-opacity: 1;background-color:rgb(4 120 87 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-800:active){--tw-bg-opacity: 1;background-color:rgb(6 95 70 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-900:active){--tw-bg-opacity: 1;background-color:rgb(6 78 59 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-emerald-950:active){--tw-bg-opacity: 1;background-color:rgb(2 44 34 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-100:active){--tw-bg-opacity: 1;background-color:rgb(250 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-200:active){--tw-bg-opacity: 1;background-color:rgb(245 208 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-300:active){--tw-bg-opacity: 1;background-color:rgb(240 171 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-400:active){--tw-bg-opacity: 1;background-color:rgb(232 121 249 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-50:active){--tw-bg-opacity: 1;background-color:rgb(253 244 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-500:active){--tw-bg-opacity: 1;background-color:rgb(217 70 239 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-600:active){--tw-bg-opacity: 1;background-color:rgb(192 38 211 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-700:active){--tw-bg-opacity: 1;background-color:rgb(162 28 175 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-800:active){--tw-bg-opacity: 1;background-color:rgb(134 25 143 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-900:active){--tw-bg-opacity: 1;background-color:rgb(112 26 117 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-fuchsia-950:active){--tw-bg-opacity: 1;background-color:rgb(74 4 78 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-100:active){--tw-bg-opacity: 1;background-color:rgb(243 244 246 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-200:active){--tw-bg-opacity: 1;background-color:rgb(229 231 235 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-300:active){--tw-bg-opacity: 1;background-color:rgb(209 213 219 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-400:active){--tw-bg-opacity: 1;background-color:rgb(156 163 175 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-50:active){--tw-bg-opacity: 1;background-color:rgb(249 250 251 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-500:active){--tw-bg-opacity: 1;background-color:rgb(107 114 128 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-600:active){--tw-bg-opacity: 1;background-color:rgb(75 85 99 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-700:active){--tw-bg-opacity: 1;background-color:rgb(55 65 81 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-800:active){--tw-bg-opacity: 1;background-color:rgb(31 41 55 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-900:active){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-gray-950:active){--tw-bg-opacity: 1;background-color:rgb(3 7 18 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-100:active){--tw-bg-opacity: 1;background-color:rgb(220 252 231 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-200:active){--tw-bg-opacity: 1;background-color:rgb(187 247 208 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-300:active){--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-400:active){--tw-bg-opacity: 1;background-color:rgb(74 222 128 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-50:active){--tw-bg-opacity: 1;background-color:rgb(240 253 244 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-500:active){--tw-bg-opacity: 1;background-color:rgb(34 197 94 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-600:active){--tw-bg-opacity: 1;background-color:rgb(22 163 74 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-700:active){--tw-bg-opacity: 1;background-color:rgb(21 128 61 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-800:active){--tw-bg-opacity: 1;background-color:rgb(22 101 52 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-900:active){--tw-bg-opacity: 1;background-color:rgb(20 83 45 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-green-950:active){--tw-bg-opacity: 1;background-color:rgb(5 46 22 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-100:active){--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-200:active){--tw-bg-opacity: 1;background-color:rgb(199 210 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-300:active){--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-400:active){--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-50:active){--tw-bg-opacity: 1;background-color:rgb(238 242 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-500:active){--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-600:active){--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-700:active){--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-800:active){--tw-bg-opacity: 1;background-color:rgb(55 48 163 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-900:active){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-indigo-950:active){--tw-bg-opacity: 1;background-color:rgb(30 27 75 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-100:active){--tw-bg-opacity: 1;background-color:rgb(236 252 203 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-200:active){--tw-bg-opacity: 1;background-color:rgb(217 249 157 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-300:active){--tw-bg-opacity: 1;background-color:rgb(190 242 100 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-400:active){--tw-bg-opacity: 1;background-color:rgb(163 230 53 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-50:active){--tw-bg-opacity: 1;background-color:rgb(247 254 231 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-500:active){--tw-bg-opacity: 1;background-color:rgb(132 204 22 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-600:active){--tw-bg-opacity: 1;background-color:rgb(101 163 13 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-700:active){--tw-bg-opacity: 1;background-color:rgb(77 124 15 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-800:active){--tw-bg-opacity: 1;background-color:rgb(63 98 18 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-900:active){--tw-bg-opacity: 1;background-color:rgb(54 83 20 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-lime-950:active){--tw-bg-opacity: 1;background-color:rgb(26 46 5 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-100:active){--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-200:active){--tw-bg-opacity: 1;background-color:rgb(229 229 229 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-300:active){--tw-bg-opacity: 1;background-color:rgb(212 212 212 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-400:active){--tw-bg-opacity: 1;background-color:rgb(163 163 163 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-50:active){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-500:active){--tw-bg-opacity: 1;background-color:rgb(115 115 115 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-600:active){--tw-bg-opacity: 1;background-color:rgb(82 82 82 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-700:active){--tw-bg-opacity: 1;background-color:rgb(64 64 64 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-800:active){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-900:active){--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-neutral-950:active){--tw-bg-opacity: 1;background-color:rgb(10 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-100:active){--tw-bg-opacity: 1;background-color:rgb(255 237 213 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-200:active){--tw-bg-opacity: 1;background-color:rgb(254 215 170 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-300:active){--tw-bg-opacity: 1;background-color:rgb(253 186 116 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-400:active){--tw-bg-opacity: 1;background-color:rgb(251 146 60 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-50:active){--tw-bg-opacity: 1;background-color:rgb(255 247 237 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-500:active){--tw-bg-opacity: 1;background-color:rgb(249 115 22 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-600:active){--tw-bg-opacity: 1;background-color:rgb(234 88 12 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-700:active){--tw-bg-opacity: 1;background-color:rgb(194 65 12 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-800:active){--tw-bg-opacity: 1;background-color:rgb(154 52 18 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-900:active){--tw-bg-opacity: 1;background-color:rgb(124 45 18 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-orange-950:active){--tw-bg-opacity: 1;background-color:rgb(67 20 7 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-100:active){--tw-bg-opacity: 1;background-color:rgb(252 231 243 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-200:active){--tw-bg-opacity: 1;background-color:rgb(251 207 232 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-300:active){--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-400:active){--tw-bg-opacity: 1;background-color:rgb(244 114 182 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-50:active){--tw-bg-opacity: 1;background-color:rgb(253 242 248 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-500:active){--tw-bg-opacity: 1;background-color:rgb(236 72 153 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-600:active){--tw-bg-opacity: 1;background-color:rgb(219 39 119 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-700:active){--tw-bg-opacity: 1;background-color:rgb(190 24 93 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-800:active){--tw-bg-opacity: 1;background-color:rgb(157 23 77 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-900:active){--tw-bg-opacity: 1;background-color:rgb(131 24 67 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-pink-950:active){--tw-bg-opacity: 1;background-color:rgb(80 7 36 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-100:active){--tw-bg-opacity: 1;background-color:rgb(243 232 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-200:active){--tw-bg-opacity: 1;background-color:rgb(233 213 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-300:active){--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-400:active){--tw-bg-opacity: 1;background-color:rgb(192 132 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-50:active){--tw-bg-opacity: 1;background-color:rgb(250 245 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-500:active){--tw-bg-opacity: 1;background-color:rgb(168 85 247 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-600:active){--tw-bg-opacity: 1;background-color:rgb(147 51 234 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-700:active){--tw-bg-opacity: 1;background-color:rgb(126 34 206 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-800:active){--tw-bg-opacity: 1;background-color:rgb(107 33 168 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-900:active){--tw-bg-opacity: 1;background-color:rgb(88 28 135 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-purple-950:active){--tw-bg-opacity: 1;background-color:rgb(59 7 100 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-100:active){--tw-bg-opacity: 1;background-color:rgb(254 226 226 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-200:active){--tw-bg-opacity: 1;background-color:rgb(254 202 202 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-300:active){--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-400:active){--tw-bg-opacity: 1;background-color:rgb(248 113 113 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-50:active){--tw-bg-opacity: 1;background-color:rgb(254 242 242 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-500:active){--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-600:active){--tw-bg-opacity: 1;background-color:rgb(220 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-700:active){--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-800:active){--tw-bg-opacity: 1;background-color:rgb(153 27 27 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-900:active){--tw-bg-opacity: 1;background-color:rgb(127 29 29 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-red-950:active){--tw-bg-opacity: 1;background-color:rgb(69 10 10 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-100:active){--tw-bg-opacity: 1;background-color:rgb(255 228 230 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-200:active){--tw-bg-opacity: 1;background-color:rgb(254 205 211 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-300:active){--tw-bg-opacity: 1;background-color:rgb(253 164 175 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-400:active){--tw-bg-opacity: 1;background-color:rgb(251 113 133 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-50:active){--tw-bg-opacity: 1;background-color:rgb(255 241 242 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-500:active){--tw-bg-opacity: 1;background-color:rgb(244 63 94 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-600:active){--tw-bg-opacity: 1;background-color:rgb(225 29 72 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-700:active){--tw-bg-opacity: 1;background-color:rgb(190 18 60 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-800:active){--tw-bg-opacity: 1;background-color:rgb(159 18 57 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-900:active){--tw-bg-opacity: 1;background-color:rgb(136 19 55 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-rose-950:active){--tw-bg-opacity: 1;background-color:rgb(76 5 25 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-100:active){--tw-bg-opacity: 1;background-color:rgb(224 242 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-200:active){--tw-bg-opacity: 1;background-color:rgb(186 230 253 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-300:active){--tw-bg-opacity: 1;background-color:rgb(125 211 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-400:active){--tw-bg-opacity: 1;background-color:rgb(56 189 248 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-50:active){--tw-bg-opacity: 1;background-color:rgb(240 249 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-500:active){--tw-bg-opacity: 1;background-color:rgb(14 165 233 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-600:active){--tw-bg-opacity: 1;background-color:rgb(2 132 199 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-700:active){--tw-bg-opacity: 1;background-color:rgb(3 105 161 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-800:active){--tw-bg-opacity: 1;background-color:rgb(7 89 133 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-900:active){--tw-bg-opacity: 1;background-color:rgb(12 74 110 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-sky-950:active){--tw-bg-opacity: 1;background-color:rgb(8 47 73 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-100:active){--tw-bg-opacity: 1;background-color:rgb(241 245 249 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-200:active){--tw-bg-opacity: 1;background-color:rgb(226 232 240 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-300:active){--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-400:active){--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-50:active){--tw-bg-opacity: 1;background-color:rgb(248 250 252 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-500:active){--tw-bg-opacity: 1;background-color:rgb(100 116 139 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-600:active){--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-700:active){--tw-bg-opacity: 1;background-color:rgb(51 65 85 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-800:active){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-900:active){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-slate-950:active){--tw-bg-opacity: 1;background-color:rgb(2 6 23 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-100:active){--tw-bg-opacity: 1;background-color:rgb(245 245 244 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-200:active){--tw-bg-opacity: 1;background-color:rgb(231 229 228 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-300:active){--tw-bg-opacity: 1;background-color:rgb(214 211 209 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-400:active){--tw-bg-opacity: 1;background-color:rgb(168 162 158 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-50:active){--tw-bg-opacity: 1;background-color:rgb(250 250 249 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-500:active){--tw-bg-opacity: 1;background-color:rgb(120 113 108 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-600:active){--tw-bg-opacity: 1;background-color:rgb(87 83 78 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-700:active){--tw-bg-opacity: 1;background-color:rgb(68 64 60 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-800:active){--tw-bg-opacity: 1;background-color:rgb(41 37 36 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-900:active){--tw-bg-opacity: 1;background-color:rgb(28 25 23 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-stone-950:active){--tw-bg-opacity: 1;background-color:rgb(12 10 9 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-100:active){--tw-bg-opacity: 1;background-color:rgb(204 251 241 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-200:active){--tw-bg-opacity: 1;background-color:rgb(153 246 228 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-300:active){--tw-bg-opacity: 1;background-color:rgb(94 234 212 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-400:active){--tw-bg-opacity: 1;background-color:rgb(45 212 191 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-50:active){--tw-bg-opacity: 1;background-color:rgb(240 253 250 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-500:active){--tw-bg-opacity: 1;background-color:rgb(20 184 166 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-600:active){--tw-bg-opacity: 1;background-color:rgb(13 148 136 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-700:active){--tw-bg-opacity: 1;background-color:rgb(15 118 110 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-800:active){--tw-bg-opacity: 1;background-color:rgb(17 94 89 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-900:active){--tw-bg-opacity: 1;background-color:rgb(19 78 74 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-teal-950:active){--tw-bg-opacity: 1;background-color:rgb(4 47 46 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-100:active){--tw-bg-opacity: 1;background-color:rgb(237 233 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-200:active){--tw-bg-opacity: 1;background-color:rgb(221 214 254 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-300:active){--tw-bg-opacity: 1;background-color:rgb(196 181 253 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-400:active){--tw-bg-opacity: 1;background-color:rgb(167 139 250 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-50:active){--tw-bg-opacity: 1;background-color:rgb(245 243 255 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-500:active){--tw-bg-opacity: 1;background-color:rgb(139 92 246 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-600:active){--tw-bg-opacity: 1;background-color:rgb(124 58 237 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-700:active){--tw-bg-opacity: 1;background-color:rgb(109 40 217 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-800:active){--tw-bg-opacity: 1;background-color:rgb(91 33 182 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-900:active){--tw-bg-opacity: 1;background-color:rgb(76 29 149 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-violet-950:active){--tw-bg-opacity: 1;background-color:rgb(46 16 101 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-100:active){--tw-bg-opacity: 1;background-color:rgb(254 249 195 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-200:active){--tw-bg-opacity: 1;background-color:rgb(254 240 138 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-300:active){--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-400:active){--tw-bg-opacity: 1;background-color:rgb(250 204 21 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-50:active){--tw-bg-opacity: 1;background-color:rgb(254 252 232 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-500:active){--tw-bg-opacity: 1;background-color:rgb(234 179 8 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-600:active){--tw-bg-opacity: 1;background-color:rgb(202 138 4 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-700:active){--tw-bg-opacity: 1;background-color:rgb(161 98 7 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-800:active){--tw-bg-opacity: 1;background-color:rgb(133 77 14 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-900:active){--tw-bg-opacity: 1;background-color:rgb(113 63 18 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-yellow-950:active){--tw-bg-opacity: 1;background-color:rgb(66 32 6 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-100:active){--tw-bg-opacity: 1;background-color:rgb(244 244 245 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-200:active){--tw-bg-opacity: 1;background-color:rgb(228 228 231 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-300:active){--tw-bg-opacity: 1;background-color:rgb(212 212 216 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-400:active){--tw-bg-opacity: 1;background-color:rgb(161 161 170 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-50:active){--tw-bg-opacity: 1;background-color:rgb(250 250 250 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-500:active){--tw-bg-opacity: 1;background-color:rgb(113 113 122 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-600:active){--tw-bg-opacity: 1;background-color:rgb(82 82 91 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-700:active){--tw-bg-opacity: 1;background-color:rgb(63 63 70 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-800:active){--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-900:active){--tw-bg-opacity: 1;background-color:rgb(24 24 27 / var(--tw-bg-opacity))}:is(.dark .dark\:active\:bg-zinc-950:active){--tw-bg-opacity: 1;background-color:rgb(9 9 11 / var(--tw-bg-opacity))}@media (min-width: 640px){.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:hidden{display:none}.sm\:max-w-lg{max-width:32rem}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.sm\:text-left{text-align:left}.sm\:zoom-in-90{--tw-enter-scale: .9}.sm\:slide-in-from-bottom-0,.data-\[state\=open\]\:sm\:slide-in-from-bottom-0[data-state=open]{--tw-enter-translate-y: 0px}}@media (min-width: 768px){.md\:absolute{position:absolute}.md\:block{display:block}.md\:hidden{display:none}.md\:w-\[var\(--radix-navigation-menu-viewport-width\)\]{width:var(--radix-navigation-menu-viewport-width)}.md\:w-auto{width:auto}.md\:w-full{width:100%}.md\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:px-8{padding-left:2rem;padding-right:2rem}}@media (min-width: 1024px){.lg\:block{display:block}.lg\:hidden{display:none}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1280px){.xl\:block{display:block}.xl\:hidden{display:none}}@media (min-width: 1536px){.\32xl\:block{display:block}.\32xl\:hidden{display:none}.\32xl\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.\[\&\:has\(\[aria-selected\]\)\]\:bg-accent:has([aria-selected]){background-color:hsl(var(--accent))}.first\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-l-md:has([aria-selected]):first-child{border-top-left-radius:calc(var(--radius) - 2px);border-bottom-left-radius:calc(var(--radius) - 2px)}.last\:\[\&\:has\(\[aria-selected\]\)\]\:rounded-r-md:has([aria-selected]):last-child{border-top-right-radius:calc(var(--radius) - 2px);border-bottom-right-radius:calc(var(--radius) - 2px)}.\[\&\:has\(\[role\=checkbox\]\)\]\:pr-0:has([role=checkbox]){padding-right:0}.\[\&\:has\(svg\)\]\:pl-11:has(svg){padding-left:2.75rem}.\[\&\>svg\+div\]\:translate-y-\[-3px\]>svg+div{--tw-translate-y: -3px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&\>svg\]\:absolute>svg{position:absolute}.\[\&\>svg\]\:left-4>svg{left:1rem}.\[\&\>svg\]\:top-4>svg{top:1rem}.\[\&\>svg\]\:text-destructive>svg{color:hsl(var(--destructive))}.\[\&\>svg\]\:text-foreground>svg{color:hsl(var(--foreground))}.\[\&\[data-state\=open\]\>svg\]\:rotate-180[data-state=open]>svg{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.\[\&_\[cmdk-group-heading\]\]\:px-2 [cmdk-group-heading]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-group-heading\]\]\:py-1\.5 [cmdk-group-heading]{padding-top:.375rem;padding-bottom:.375rem}.\[\&_\[cmdk-group-heading\]\]\:text-xs [cmdk-group-heading]{font-size:.75rem;line-height:1rem}.\[\&_\[cmdk-group-heading\]\]\:font-medium [cmdk-group-heading]{font-weight:500}.\[\&_\[cmdk-group-heading\]\]\:text-muted-foreground [cmdk-group-heading]{color:hsl(var(--muted-foreground))}.\[\&_\[cmdk-group\]\:not\(\[hidden\]\)_\~\[cmdk-group\]\]\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:0}.\[\&_\[cmdk-group\]\]\:px-2 [cmdk-group]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:h-5 [cmdk-input-wrapper] svg{height:1.25rem}.\[\&_\[cmdk-input-wrapper\]_svg\]\:w-5 [cmdk-input-wrapper] svg{width:1.25rem}.\[\&_\[cmdk-input\]\]\:h-12 [cmdk-input]{height:3rem}.\[\&_\[cmdk-item\]\]\:px-2 [cmdk-item]{padding-left:.5rem;padding-right:.5rem}.\[\&_\[cmdk-item\]\]\:py-3 [cmdk-item]{padding-top:.75rem;padding-bottom:.75rem}.\[\&_\[cmdk-item\]_svg\]\:h-5 [cmdk-item] svg{height:1.25rem}.\[\&_\[cmdk-item\]_svg\]\:w-5 [cmdk-item] svg{width:1.25rem}.\[\&_p\]\:leading-relaxed p{line-height:1.625}.\[\&_tr\:last-child\]\:border-0 tr:last-child{border-width:0px}.\[\&_tr\]\:border-b tr{border-bottom-width:1px}._visible_1g3i7_1{opacity:0;transform:translate(-20%,60%);pointer-events:none}._arrow_1g3i7_7{content:"";position:absolute;left:50%;transform:translate(-50%);bottom:-4px;width:0;height:0;border:5px solid transparent;--tw-border-opacity: 1;border-top-color:rgb(71 85 105 / var(--tw-border-opacity));border-bottom:0}._empty-data_1g3i7_20{pointer-events:none;padding:0 10px;font-family:sans-serif;line-height:1.5;letter-spacing:1}._shared-container_1g3i7_28{position:absolute;transform:translate(-20%,40%);z-index:999;--tw-bg-opacity: 1;background-color:rgb(71 85 105 / var(--tw-bg-opacity));box-shadow:0 9px 28px 8px #0000000d;transition:opacity .3s,transform .3s;border-radius:calc(var(--radius) - 2px)}._PanelGroupWrapper_13ky4_1{height:20rem}._PanelGroup_13ky4_1{font-size:2rem}._Panel_13ky4_1{display:flex;flex-direction:row;font-size:2rem}._PanelColumn_13ky4_15,._PanelRow_13ky4_16{display:flex}._PanelColumn_13ky4_15{flex-direction:column}._PanelRow_13ky4_16{flex-direction:row}._Centered_13ky4_26{flex:1 1 auto;display:flex;align-items:center;justify-content:center;background-color:var(--color-panel-background);border-radius:.5rem;overflow:auto;font-size:1rem;padding:.5rem;word-break:break-all}._Overflow_13ky4_42{width:100%;height:100%;overflow:auto;padding:1rem;scrollbar-width:thin;scrollbar-color:var(--color-scroll-thumb) transparent}._Button_13ky4_53,._ButtonDisabled_13ky4_54{background-color:var(--color-button-background);color:var(--color-default);border:none;border-radius:.5rem;padding:.25rem .5rem}._Button_13ky4_53:hover{background-color:var(--color-button-background-hover)}._ButtonDisabled_13ky4_54{opacity:.5}._Buttons_13ky4_68{display:flex;flex-direction:row;align-items:center;gap:1ch;margin-bottom:1rem}._Capitalize_13ky4_76{text-transform:capitalize}._WarningBlock_13ky4_80{display:inline-block;background:var(--color-warning-background);padding:.25em 1ch;border-radius:.5rem}._InlineCode_13ky4_87{margin-right:1.5ch}._ResizeHandleOuter_13ky4_91{flex:0 0 1.25rem;display:flex;justify-content:stretch;align-items:stretch;padding:.4rem;padding-top:0;padding-bottom:0;outline:none;--background-color: transparent}._ResizeHandleOuter_13ky4_91[data-resize-handle-active],._ResizeHandleInner_13ky4_104[data-collapsed]{--background-color: var(--color-solid-resize-bar)}@media (max-width: 500px){._ResizeHandleOuter_13ky4_91{flex:0 0 2.5rem}}._ResizeHandleInner_13ky4_104{flex:1;border-radius:.75rem;background-color:var(--background-color);transition:background-color .2s linear;position:relative}._ResizeHandleInner_13ky4_104:after{height:.75rem;width:.75rem;display:flex;align-items:center;justify-content:center;font-size:.75rem;color:var(--color-solid-resize-bar);position:absolute;left:calc(50% - .5rem);top:calc(50% - .5rem)}._HorizontalIcon_13ky4_135,._VerticalIcon_13ky4_136{position:absolute;left:calc(50% - 8px);top:calc(50% - .5rem)}._ResizeHandleOuter_13ky4_91[data-panel-group-direction=horizontal] ._HorizontalIcon_13ky4_135,._ResizeHandleOuter_13ky4_91[data-panel-group-direction=vertical] ._VerticalIcon_13ky4_136{display:block}._ResizeHandleOuter_13ky4_91[data-panel-group-direction=vertical] ._HorizontalIcon_13ky4_135,._ResizeHandleOuter_13ky4_91[data-panel-group-direction=horizontal] ._VerticalIcon_13ky4_136,._ResizeHandleOuter_13ky4_91[data-resize-handle-active] ._HorizontalIcon_13ky4_135,._ResizeHandleOuter_13ky4_91[data-resize-handle-active] ._VerticalIcon_13ky4_136{display:none}[role=treeitem]:has(._node_1usvv_1){border-radius:8px;padding:0 4px;cursor:pointer;font-weight:400;-webkit-user-select:none;-moz-user-select:none;user-select:none}[role=treeitem]:has(._node_1usvv_1):focus-visible{background-color:#fff3;outline:none}[role=treeitem][aria-selected=true]:has(._node_1usvv_1):focus-visible{background-color:#cbd5e1e6;outline:none}[role=treeitem][aria-selected=true]:has(._node_1usvv_1){background-color:#cbd5e1e6;font-weight:600}[role=treeitem]:has(._node_1usvv_1.willReceiveDrop){background-color:#fff6;border:2px dashed}._node_1usvv_1{margin:0 12px 0 8px;height:100%;white-space:nowrap}._node_1usvv_1 span:nth-child(1){width:20px;display:flex}._node_1usvv_1 span:nth-child(2){margin-right:18px;display:flex;align-items:center}._node_1usvv_1 span:nth-child(3){flex:1;overflow:hidden;text-overflow:ellipsis}._dropCursor_1usvv_55{width:100%;height:18px;position:absolute}._mainContent_1usvv_61{flex:1;display:flex;min-height:0;gap:8px}._mobileWarning_1usvv_68{background:var(--primaryColor);color:#fff;padding:1em;font-weight:700;text-align:center;border-radius:4px;display:none}@media screen and (max-width: 600px){._mainContent_1usvv_61{flex-direction:column;padding-right:0}._content_1usvv_83{order:1;margin:6px}._sidebar_1usvv_89{order:2;height:80vh;width:100%}._mobileWarning_1usvv_68{display:block}} diff --git a/dist-ui/assets/index-CHg1vBCc.js b/dist-ui/assets/index-rXwcQ1j1.js similarity index 53% rename from dist-ui/assets/index-CHg1vBCc.js rename to dist-ui/assets/index-rXwcQ1j1.js index 07fcb27d..b7f019c3 100644 --- a/dist-ui/assets/index-CHg1vBCc.js +++ b/dist-ui/assets/index-rXwcQ1j1.js @@ -1,10 +1,10 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/dart-CygQt6PY.js","assets/clike-CxakbZz2.js","assets/django-Sjro81jv.js","assets/htmlmixed-dNmc4jG3.js","assets/css-BRan0Fyo.js","assets/overlay-dm0rKfhE.js","assets/gfm-Ddm0InR0.js","assets/markdown-CntkxWxg.js","assets/haml-8gzcTXOb.js","assets/ruby-D0Mw3ILv.js","assets/handlebars-Ck0LrJI6.js","assets/multiplex-Bj2U2ayT.js","assets/haskell-literate-D2j-XC2X.js","assets/haskell-BasAunqf.js","assets/htmlembedded-BMIfsus1.js","assets/htmlmixed-FAPcF2ck.js","assets/markdown-r8Vp79di.js","assets/php-BuXWdjzD.js","assets/pug-Dgyq9bOv.js","assets/rst-CSASGjbh.js","assets/python-Cf2AlM8k.js","assets/stex-eoPO7x7j.js","assets/ruby-DOADIAjO.js","assets/sass-CdxXAHUG.js","assets/slim-BqVX91-1.js","assets/soy-CNXjHktW.js","assets/stex-CRCDnD34.js","assets/tornado-C3mIc45X.js","assets/twig-DD5wY6wD.js","assets/vue-CqyKA5GI.js","assets/coffeescript-C2IqjQP0.js","assets/stylus-EQlihBPE.js","assets/yaml-frontmatter-Peb_Fe4e.js","assets/yaml-CexR13EN.js"] + __vite__mapDeps.viteFileDeps = ["assets/dart-COLtiYot.js","assets/clike-DTXsj3bR.js","assets/django-BysLYoq4.js","assets/htmlmixed-BkyqFvnk.js","assets/css-DspWBOZK.js","assets/overlay-DtxTNIBP.js","assets/gfm-DR98ypxt.js","assets/markdown-Ci5MD4xz.js","assets/haml-6yD3wHUa.js","assets/ruby-hRRXQ7Ll.js","assets/handlebars-CTdSxJnI.js","assets/multiplex-Cg9R4o6F.js","assets/haskell-literate-aJuXZtaZ.js","assets/haskell-4oxNvi7O.js","assets/htmlembedded-_L-jPqW8.js","assets/htmlmixed-Dg5Ceo2a.js","assets/markdown-BZTq6yLV.js","assets/php-DTDCMqw1.js","assets/pug-N2IUeQPV.js","assets/rst-DackU_vK.js","assets/python-eCieQxL5.js","assets/stex-eJp58BRA.js","assets/ruby-BbI51U8K.js","assets/sass-Cm8ghDjq.js","assets/slim-B4YSsZdB.js","assets/soy-BKqI_b5K.js","assets/stex-COV-_KiE.js","assets/tornado-4gAKeMJS.js","assets/twig-DIAB0sBz.js","assets/vue-CjDIIftu.js","assets/coffeescript-CSI3jYdr.js","assets/stylus-WMbBiF91.js","assets/yaml-frontmatter-DBbz-S_v.js","assets/yaml--Jz1R_lf.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -var jG=Object.defineProperty,EG=Object.defineProperties;var NG=Object.getOwnPropertyDescriptors;var Sx=Object.getOwnPropertySymbols;var qT=Object.prototype.hasOwnProperty,KT=Object.prototype.propertyIsEnumerable;var M0=Math.pow,GC=(e,t,r)=>t in e?jG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,R=(e,t)=>{for(var r in t||(t={}))qT.call(t,r)&&GC(e,r,t[r]);if(Sx)for(var r of Sx(t))KT.call(t,r)&&GC(e,r,t[r]);return e},ee=(e,t)=>EG(e,NG(t));var ke=(e,t)=>{var r={};for(var n in e)qT.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Sx)for(var n of Sx(e))t.indexOf(n)<0&&KT.call(e,n)&&(r[n]=e[n]);return r};var it=(e,t,r)=>(GC(e,typeof t!="symbol"?t+"":t,r),r),YC=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var _e=(e,t,r)=>(YC(e,t,"read from private field"),r?r.call(e):t.get(e)),Bt=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},Lt=(e,t,r,n)=>(YC(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var jx=(e,t,r,n)=>({set _(a){Lt(e,t,a,r)},get _(){return _e(e,t,n)}}),br=(e,t,r)=>(YC(e,t,"access private method"),r);var pe=(e,t,r)=>new Promise((n,a)=>{var o=u=>{try{c(r.next(u))}catch(f){a(f)}},i=u=>{try{c(r.throw(u))}catch(f){a(f)}},c=u=>u.done?n(u.value):Promise.resolve(u.value).then(o,i);c((r=r.apply(e,t)).next())});function iw(e,t){for(var r=0;rn[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(a){if(a.ep)return;a.ep=!0;const o=r(a);fetch(a.href,o)}})();const _G="modulepreload",TG=function(e){return"/"+e},ZT={},ve=function(t,r,n){let a=Promise.resolve();if(r&&r.length>0){const o=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),c=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));a=Promise.all(r.map(u=>{if(u=TG(u),u in ZT)return;ZT[u]=!0;const f=u.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(!!n)for(let S=o.length-1;S>=0;S--){const w=o[S];if(w.href===u&&(!f||w.rel==="stylesheet"))return}else if(document.querySelector('link[href="'.concat(u,'"]').concat(h)))return;const v=document.createElement("link");if(v.rel=f?"stylesheet":_G,f||(v.as="script",v.crossOrigin=""),v.href=u,c&&v.setAttribute("nonce",c),document.head.appendChild(v),f)return new Promise((S,w)=>{v.addEventListener("load",S),v.addEventListener("error",()=>w(new Error("Unable to preload CSS for ".concat(u))))})}))}return a.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})};var Rr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function rl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function PG(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var QR={exports:{}},lw={},JR={exports:{}},Fr={};/** +var NG=Object.defineProperty,_G=Object.defineProperties;var TG=Object.getOwnPropertyDescriptors;var Ex=Object.getOwnPropertySymbols;var KT=Object.prototype.hasOwnProperty,GT=Object.prototype.propertyIsEnumerable;var A0=Math.pow,YC=(e,t,r)=>t in e?NG(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,R=(e,t)=>{for(var r in t||(t={}))KT.call(t,r)&&YC(e,r,t[r]);if(Ex)for(var r of Ex(t))GT.call(t,r)&&YC(e,r,t[r]);return e},ee=(e,t)=>_G(e,TG(t));var ke=(e,t)=>{var r={};for(var n in e)KT.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ex)for(var n of Ex(e))t.indexOf(n)<0&>.call(e,n)&&(r[n]=e[n]);return r};var it=(e,t,r)=>(YC(e,typeof t!="symbol"?t+"":t,r),r),ZC=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};var _e=(e,t,r)=>(ZC(e,t,"read from private field"),r?r.call(e):t.get(e)),Bt=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},Lt=(e,t,r,n)=>(ZC(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r);var Nx=(e,t,r,n)=>({set _(a){Lt(e,t,a,r)},get _(){return _e(e,t,n)}}),wr=(e,t,r)=>(ZC(e,t,"access private method"),r);var pe=(e,t,r)=>new Promise((n,a)=>{var o=u=>{try{c(r.next(u))}catch(f){a(f)}},i=u=>{try{c(r.throw(u))}catch(f){a(f)}},c=u=>u.done?n(u.value):Promise.resolve(u.value).then(o,i);c((r=r.apply(e,t)).next())});function cw(e,t){for(var r=0;rn[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const o of a)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(a){const o={};return a.integrity&&(o.integrity=a.integrity),a.referrerPolicy&&(o.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?o.credentials="include":a.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(a){if(a.ep)return;a.ep=!0;const o=r(a);fetch(a.href,o)}})();const PG="modulepreload",MG=function(e){return"/"+e},XT={},ve=function(t,r,n){let a=Promise.resolve();if(r&&r.length>0){const o=document.getElementsByTagName("link"),i=document.querySelector("meta[property=csp-nonce]"),c=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));a=Promise.all(r.map(u=>{if(u=MG(u),u in XT)return;XT[u]=!0;const f=u.endsWith(".css"),h=f?'[rel="stylesheet"]':"";if(!!n)for(let S=o.length-1;S>=0;S--){const w=o[S];if(w.href===u&&(!f||w.rel==="stylesheet"))return}else if(document.querySelector('link[href="'.concat(u,'"]').concat(h)))return;const v=document.createElement("link");if(v.rel=f?"stylesheet":PG,f||(v.as="script",v.crossOrigin=""),v.href=u,c&&v.setAttribute("nonce",c),document.head.appendChild(v),f)return new Promise((S,w)=>{v.addEventListener("load",S),v.addEventListener("error",()=>w(new Error("Unable to preload CSS for ".concat(u))))})}))}return a.then(()=>t()).catch(o=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=o,window.dispatchEvent(i),!i.defaultPrevented)throw o})};var Rr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function nl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function DG(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var a=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,a.get?a:{enumerable:!0,get:function(){return e[n]}})}),r}var JR={exports:{}},uw={},eL={exports:{}},Hr={};/** * @license React * react.production.min.js * @@ -12,7 +12,7 @@ var jG=Object.defineProperty,EG=Object.defineProperties;var NG=Object.getOwnProp * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var u1=Symbol.for("react.element"),MG=Symbol.for("react.portal"),DG=Symbol.for("react.fragment"),AG=Symbol.for("react.strict_mode"),RG=Symbol.for("react.profiler"),LG=Symbol.for("react.provider"),IG=Symbol.for("react.context"),OG=Symbol.for("react.forward_ref"),$G=Symbol.for("react.suspense"),zG=Symbol.for("react.memo"),FG=Symbol.for("react.lazy"),XT=Symbol.iterator;function HG(e){return e===null||typeof e!="object"?null:(e=XT&&e[XT]||e["@@iterator"],typeof e=="function"?e:null)}var eL={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},tL=Object.assign,rL={};function Tm(e,t,r){this.props=e,this.context=t,this.refs=rL,this.updater=r||eL}Tm.prototype.isReactComponent={};Tm.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Tm.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function nL(){}nL.prototype=Tm.prototype;function oE(e,t,r){this.props=e,this.context=t,this.refs=rL,this.updater=r||eL}var iE=oE.prototype=new nL;iE.constructor=oE;tL(iE,Tm.prototype);iE.isPureReactComponent=!0;var QT=Array.isArray,sL=Object.prototype.hasOwnProperty,lE={current:null},aL={key:!0,ref:!0,__self:!0,__source:!0};function oL(e,t,r){var n,a={},o=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)sL.call(t,n)&&!aL.hasOwnProperty(n)&&(a[n]=t[n]);var c=arguments.length-2;if(c===1)a.children=r;else if(1{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},rm=typeof window=="undefined"||"Deno"in window;function Zo(){}function JG(e,t){return typeof e=="function"?e(t):e}function i3(e){return typeof e=="number"&&e>=0&&e!==1/0}function lL(e,t){return Math.max(e+(t||0)-Date.now(),0)}function e7(e,t){const{type:r="all",exact:n,fetchStatus:a,predicate:o,queryKey:i,stale:c}=e;if(i){if(n){if(t.queryHash!==uE(i,t.options))return!1}else if(!tv(t.queryKey,i))return!1}if(r!=="all"){const u=t.isActive();if(r==="active"&&!u||r==="inactive"&&u)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||a&&a!==t.state.fetchStatus||o&&!o(t))}function t7(e,t){const{exact:r,status:n,predicate:a,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(r){if(yf(t.options.mutationKey)!==yf(o))return!1}else if(!tv(t.options.mutationKey,o))return!1}return!(n&&t.state.status!==n||a&&!a(t))}function uE(e,t){return((t==null?void 0:t.queryKeyHashFn)||yf)(e)}function yf(e){return JSON.stringify(e,(t,r)=>l3(r)?Object.keys(r).sort().reduce((n,a)=>(n[a]=r[a],n),{}):r)}function tv(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!tv(e[r],t[r])):!1}function cL(e,t){if(e===t)return e;const r=r7(e)&&r7(t);if(r||l3(e)&&l3(t)){const n=r?e:Object.keys(e),a=n.length,o=r?t:Object.keys(t),i=o.length,c=r?[]:{};let u=0;for(let f=0;f{setTimeout(t,e)})}function c3(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?cL(e,t):t}function tY(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function rY(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var dE=Symbol(),Jd,ku,Fp,BR,nY=(BR=class extends Pm{constructor(){super();Bt(this,Jd,void 0);Bt(this,ku,void 0);Bt(this,Fp,void 0);Lt(this,Fp,t=>{if(!rm&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){_e(this,ku)||this.setEventListener(_e(this,Fp))}onUnsubscribe(){var t;this.hasListeners()||((t=_e(this,ku))==null||t.call(this),Lt(this,ku,void 0))}setEventListener(t){var r;Lt(this,Fp,t),(r=_e(this,ku))==null||r.call(this),Lt(this,ku,t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()}))}setFocused(t){_e(this,Jd)!==t&&(Lt(this,Jd,t),this.onFocus())}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){var t;return typeof _e(this,Jd)=="boolean"?_e(this,Jd):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Jd=new WeakMap,ku=new WeakMap,Fp=new WeakMap,BR),gb=new nY,Hp,Cu,Bp,UR,sY=(UR=class extends Pm{constructor(){super();Bt(this,Hp,!0);Bt(this,Cu,void 0);Bt(this,Bp,void 0);Lt(this,Bp,t=>{if(!rm&&window.addEventListener){const r=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",n)}}})}onSubscribe(){_e(this,Cu)||this.setEventListener(_e(this,Bp))}onUnsubscribe(){var t;this.hasListeners()||((t=_e(this,Cu))==null||t.call(this),Lt(this,Cu,void 0))}setEventListener(t){var r;Lt(this,Bp,t),(r=_e(this,Cu))==null||r.call(this),Lt(this,Cu,t(this.setOnline.bind(this)))}setOnline(t){_e(this,Hp)!==t&&(Lt(this,Hp,t),this.listeners.forEach(n=>{n(t)}))}isOnline(){return _e(this,Hp)}},Hp=new WeakMap,Cu=new WeakMap,Bp=new WeakMap,UR),vb=new sY;function aY(e){return Math.min(1e3*M0(2,e),3e4)}function uw(e){return(e!=null?e:"online")==="online"?vb.isOnline():!0}var uL=class{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function XC(e){return e instanceof uL}function dL(e){let t=!1,r=0,n=!1,a,o,i;const c=new Promise((b,C)=>{o=b,i=C}),u=b=>{var C;n||(S(new uL(b)),(C=e.abort)==null||C.call(e))},f=()=>{t=!0},h=()=>{t=!1},m=()=>!gb.isFocused()||e.networkMode!=="always"&&!vb.isOnline(),v=b=>{var C;n||(n=!0,(C=e.onSuccess)==null||C.call(e,b),a==null||a(),o(b))},S=b=>{var C;n||(n=!0,(C=e.onError)==null||C.call(e,b),a==null||a(),i(b))},w=()=>new Promise(b=>{var C;a=j=>{const E=n||!m();return E&&b(j),E},(C=e.onPause)==null||C.call(e)}).then(()=>{var b;a=void 0,n||(b=e.onContinue)==null||b.call(e)}),g=()=>{if(n)return;let b;try{b=e.fn()}catch(C){b=Promise.reject(C)}Promise.resolve(b).then(v).catch(C=>{var A,M,D;if(n)return;const j=(A=e.retry)!=null?A:rm?0:3,E=(M=e.retryDelay)!=null?M:aY,N=typeof E=="function"?E(r,C):E,T=j===!0||typeof j=="number"&&r{if(m())return w()}).then(()=>{t?S(C):g()})})};return uw(e.networkMode)?g():w().then(g),{promise:c,cancel:u,continue:()=>(a==null?void 0:a())?c:Promise.resolve(),cancelRetry:f,continueRetry:h}}function oY(){let e=[],t=0,r=v=>{v()},n=v=>{v()},a=v=>setTimeout(v,0);const o=v=>{a=v},i=v=>{let S;t++;try{S=v()}finally{t--,t||f()}return S},c=v=>{t?e.push(v):a(()=>{r(v)})},u=v=>(...S)=>{c(()=>{v(...S)})},f=()=>{const v=e;e=[],v.length&&a(()=>{n(()=>{v.forEach(S=>{r(S)})})})};return{batch:i,batchCalls:u,schedule:c,setNotifyFunction:v=>{r=v},setBatchNotifyFunction:v=>{n=v},setScheduler:o}}var ws=oY(),ef,WR,fL=(WR=class{constructor(){Bt(this,ef,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),i3(this.gcTime)&&Lt(this,ef,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e!=null?e:rm?1/0:5*60*1e3)}clearGcTimeout(){_e(this,ef)&&(clearTimeout(_e(this,ef)),Lt(this,ef,void 0))}},ef=new WeakMap,WR),Up,Wp,Ko,Su,Go,Ds,Xv,tf,Vp,$y,Ti,ql,VR,iY=(VR=class extends fL{constructor(t){super();Bt(this,Vp);Bt(this,Ti);Bt(this,Up,void 0);Bt(this,Wp,void 0);Bt(this,Ko,void 0);Bt(this,Su,void 0);Bt(this,Go,void 0);Bt(this,Ds,void 0);Bt(this,Xv,void 0);Bt(this,tf,void 0);Lt(this,tf,!1),Lt(this,Xv,t.defaultOptions),br(this,Vp,$y).call(this,t.options),Lt(this,Ds,[]),Lt(this,Ko,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Lt(this,Up,t.state||lY(this.options)),this.state=_e(this,Up),this.scheduleGc()}get meta(){return this.options.meta}optionalRemove(){!_e(this,Ds).length&&this.state.fetchStatus==="idle"&&_e(this,Ko).remove(this)}setData(t,r){const n=c3(this.state.data,t,this.options);return br(this,Ti,ql).call(this,{data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(t,r){br(this,Ti,ql).call(this,{type:"setState",state:t,setStateOptions:r})}cancel(t){var n;const r=_e(this,Su);return(n=_e(this,Go))==null||n.cancel(t),r?r.then(Zo).catch(Zo):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_e(this,Up))}isActive(){return _e(this,Ds).some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||this.state.data===void 0||_e(this,Ds).some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!lL(this.state.dataUpdatedAt,t)}onFocus(){var r;const t=_e(this,Ds).find(n=>n.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(r=_e(this,Go))==null||r.continue()}onOnline(){var r;const t=_e(this,Ds).find(n=>n.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(r=_e(this,Go))==null||r.continue()}addObserver(t){_e(this,Ds).includes(t)||(_e(this,Ds).push(t),this.clearGcTimeout(),_e(this,Ko).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){_e(this,Ds).includes(t)&&(Lt(this,Ds,_e(this,Ds).filter(r=>r!==t)),_e(this,Ds).length||(_e(this,Go)&&(_e(this,tf)?_e(this,Go).cancel({revert:!0}):_e(this,Go).cancelRetry()),this.scheduleGc()),_e(this,Ko).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return _e(this,Ds).length}invalidate(){this.state.isInvalidated||br(this,Ti,ql).call(this,{type:"invalidate"})}fetch(t,r){var f,h,m,v;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(_e(this,Su))return(f=_e(this,Go))==null||f.continueRetry(),_e(this,Su)}if(t&&br(this,Vp,$y).call(this,t),!this.options.queryFn){const S=_e(this,Ds).find(w=>w.options.queryFn);S&&br(this,Vp,$y).call(this,S.options)}const n=new AbortController,a={queryKey:this.queryKey,meta:this.meta},o=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>(Lt(this,tf,!0),n.signal)})};o(a);const i=()=>!this.options.queryFn||this.options.queryFn===dE?Promise.reject(new Error("Missing queryFn: '".concat(this.options.queryHash,"'"))):(Lt(this,tf,!1),this.options.persister?this.options.persister(this.options.queryFn,a,this):this.options.queryFn(a)),c={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:i};o(c),(h=this.options.behavior)==null||h.onFetch(c,this),Lt(this,Wp,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((m=c.fetchOptions)==null?void 0:m.meta))&&br(this,Ti,ql).call(this,{type:"fetch",meta:(v=c.fetchOptions)==null?void 0:v.meta});const u=S=>{var w,g,b,C;XC(S)&&S.silent||br(this,Ti,ql).call(this,{type:"error",error:S}),XC(S)||((g=(w=_e(this,Ko).config).onError)==null||g.call(w,S,this),(C=(b=_e(this,Ko).config).onSettled)==null||C.call(b,this.state.data,S,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return Lt(this,Go,dL({fn:c.fetchFn,abort:n.abort.bind(n),onSuccess:S=>{var w,g,b,C;if(S===void 0){u(new Error("".concat(this.queryHash," data is undefined")));return}this.setData(S),(g=(w=_e(this,Ko).config).onSuccess)==null||g.call(w,S,this),(C=(b=_e(this,Ko).config).onSettled)==null||C.call(b,S,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:u,onFail:(S,w)=>{br(this,Ti,ql).call(this,{type:"failed",failureCount:S,error:w})},onPause:()=>{br(this,Ti,ql).call(this,{type:"pause"})},onContinue:()=>{br(this,Ti,ql).call(this,{type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode})),Lt(this,Su,_e(this,Go).promise),_e(this,Su)}},Up=new WeakMap,Wp=new WeakMap,Ko=new WeakMap,Su=new WeakMap,Go=new WeakMap,Ds=new WeakMap,Xv=new WeakMap,tf=new WeakMap,Vp=new WeakSet,$y=function(t){this.options=R(R({},_e(this,Xv)),t),this.updateGcTime(this.options.gcTime)},Ti=new WeakSet,ql=function(t){const r=n=>{var a,o;switch(t.type){case"failed":return ee(R({},n),{fetchFailureCount:t.failureCount,fetchFailureReason:t.error});case"pause":return ee(R({},n),{fetchStatus:"paused"});case"continue":return ee(R({},n),{fetchStatus:"fetching"});case"fetch":return R(ee(R({},n),{fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(a=t.meta)!=null?a:null,fetchStatus:uw(this.options.networkMode)?"fetching":"paused"}),n.data===void 0&&{error:null,status:"pending"});case"success":return R(ee(R({},n),{data:t.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:(o=t.dataUpdatedAt)!=null?o:Date.now(),error:null,isInvalidated:!1,status:"success"}),!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});case"error":const i=t.error;return XC(i)&&i.revert&&_e(this,Wp)?ee(R({},_e(this,Wp)),{fetchStatus:"idle"}):ee(R({},n),{error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"});case"invalidate":return ee(R({},n),{isInvalidated:!0});case"setState":return R(R({},n),t.state)}};this.state=r(this.state),ws.batch(()=>{_e(this,Ds).forEach(n=>{n.onQueryUpdate()}),_e(this,Ko).notify({query:this,type:"updated",action:t})})},VR);function lY(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,n=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n!=null?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var pl,qR,cY=(qR=class extends Pm{constructor(t={}){super();Bt(this,pl,void 0);this.config=t,Lt(this,pl,new Map)}build(t,r,n){var c;const a=r.queryKey,o=(c=r.queryHash)!=null?c:uE(a,r);let i=this.get(o);return i||(i=new iY({cache:this,queryKey:a,queryHash:o,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(a)}),this.add(i)),i}add(t){_e(this,pl).has(t.queryHash)||(_e(this,pl).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=_e(this,pl).get(t.queryHash);r&&(t.destroy(),r===t&&_e(this,pl).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ws.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _e(this,pl).get(t)}getAll(){return[..._e(this,pl).values()]}find(t){const r=R({exact:!0},t);return this.getAll().find(n=>e7(r,n))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(n=>e7(t,n)):r}notify(t){ws.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){ws.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ws.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},pl=new WeakMap,qR),ml,Qv,So,qp,gl,Jc,KR,uY=(KR=class extends fL{constructor(t){super();Bt(this,gl);Bt(this,ml,void 0);Bt(this,Qv,void 0);Bt(this,So,void 0);Bt(this,qp,void 0);this.mutationId=t.mutationId,Lt(this,Qv,t.defaultOptions),Lt(this,So,t.mutationCache),Lt(this,ml,[]),this.state=t.state||hL(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=R(R({},_e(this,Qv)),t),this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_e(this,ml).includes(t)||(_e(this,ml).push(t),this.clearGcTimeout(),_e(this,So).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Lt(this,ml,_e(this,ml).filter(r=>r!==t)),this.scheduleGc(),_e(this,So).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_e(this,ml).length||(this.state.status==="pending"?this.scheduleGc():_e(this,So).remove(this))}continue(){var t,r;return(r=(t=_e(this,qp))==null?void 0:t.continue())!=null?r:this.execute(this.state.variables)}execute(t){return pe(this,null,function*(){var a,o,i,c,u,f,h,m,v,S,w,g,b,C,j,E,N,T,A,M;const r=()=>{var D;return Lt(this,qp,dL({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(L,z)=>{br(this,gl,Jc).call(this,{type:"failed",failureCount:L,error:z})},onPause:()=>{br(this,gl,Jc).call(this,{type:"pause"})},onContinue:()=>{br(this,gl,Jc).call(this,{type:"continue"})},retry:(D=this.options.retry)!=null?D:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode})),_e(this,qp).promise},n=this.state.status==="pending";try{if(!n){br(this,gl,Jc).call(this,{type:"pending",variables:t}),yield(o=(a=_e(this,So).config).onMutate)==null?void 0:o.call(a,t,this);const L=yield(c=(i=this.options).onMutate)==null?void 0:c.call(i,t);L!==this.state.context&&br(this,gl,Jc).call(this,{type:"pending",context:L,variables:t})}const D=yield r();return yield(f=(u=_e(this,So).config).onSuccess)==null?void 0:f.call(u,D,t,this.state.context,this),yield(m=(h=this.options).onSuccess)==null?void 0:m.call(h,D,t,this.state.context),yield(S=(v=_e(this,So).config).onSettled)==null?void 0:S.call(v,D,null,this.state.variables,this.state.context,this),yield(g=(w=this.options).onSettled)==null?void 0:g.call(w,D,null,t,this.state.context),br(this,gl,Jc).call(this,{type:"success",data:D}),D}catch(D){try{throw yield(C=(b=_e(this,So).config).onError)==null?void 0:C.call(b,D,t,this.state.context,this),yield(E=(j=this.options).onError)==null?void 0:E.call(j,D,t,this.state.context),yield(T=(N=_e(this,So).config).onSettled)==null?void 0:T.call(N,void 0,D,this.state.variables,this.state.context,this),yield(M=(A=this.options).onSettled)==null?void 0:M.call(A,void 0,D,t,this.state.context),D}finally{br(this,gl,Jc).call(this,{type:"error",error:D})}}})}},ml=new WeakMap,Qv=new WeakMap,So=new WeakMap,qp=new WeakMap,gl=new WeakSet,Jc=function(t){const r=n=>{switch(t.type){case"failed":return ee(R({},n),{failureCount:t.failureCount,failureReason:t.error});case"pause":return ee(R({},n),{isPaused:!0});case"continue":return ee(R({},n),{isPaused:!1});case"pending":return ee(R({},n),{context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!uw(this.options.networkMode),status:"pending",variables:t.variables,submittedAt:Date.now()});case"success":return ee(R({},n),{data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return ee(R({},n),{data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"})}};this.state=r(this.state),ws.batch(()=>{_e(this,ml).forEach(n=>{n.onMutationUpdate(t)}),_e(this,So).notify({mutation:this,type:"updated",action:t})})},KR);function hL(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Yo,Jv,rf,GR,dY=(GR=class extends Pm{constructor(t={}){super();Bt(this,Yo,void 0);Bt(this,Jv,void 0);Bt(this,rf,void 0);this.config=t,Lt(this,Yo,[]),Lt(this,Jv,0)}build(t,r,n){const a=new uY({mutationCache:this,mutationId:++jx(this,Jv)._,options:t.defaultMutationOptions(r),state:n});return this.add(a),a}add(t){_e(this,Yo).push(t),this.notify({type:"added",mutation:t})}remove(t){Lt(this,Yo,_e(this,Yo).filter(r=>r!==t)),this.notify({type:"removed",mutation:t})}clear(){ws.batch(()=>{_e(this,Yo).forEach(t=>{this.remove(t)})})}getAll(){return _e(this,Yo)}find(t){const r=R({exact:!0},t);return _e(this,Yo).find(n=>t7(r,n))}findAll(t={}){return _e(this,Yo).filter(r=>t7(t,r))}notify(t){ws.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){var t;return Lt(this,rf,((t=_e(this,rf))!=null?t:Promise.resolve()).then(()=>{const r=_e(this,Yo).filter(n=>n.state.isPaused);return ws.batch(()=>r.reduce((n,a)=>n.then(()=>a.continue().catch(Zo)),Promise.resolve()))}).then(()=>{Lt(this,rf,void 0)})),_e(this,rf)}},Yo=new WeakMap,Jv=new WeakMap,rf=new WeakMap,GR);function u3(e){return{onFetch:(t,r)=>{const n=()=>pe(this,null,function*(){var w,g,b,C,j,E;const a=t.options,o=(b=(g=(w=t.fetchOptions)==null?void 0:w.meta)==null?void 0:g.fetchMore)==null?void 0:b.direction,i=((C=t.state.data)==null?void 0:C.pages)||[],c=((j=t.state.data)==null?void 0:j.pageParams)||[],u={pages:[],pageParams:[]};let f=!1;const h=N=>{Object.defineProperty(N,"signal",{enumerable:!0,get:()=>(t.signal.aborted?f=!0:t.signal.addEventListener("abort",()=>{f=!0}),t.signal)})},m=t.options.queryFn&&t.options.queryFn!==dE?t.options.queryFn:()=>Promise.reject(new Error("Missing queryFn: '".concat(t.options.queryHash,"'"))),v=(N,T,A)=>pe(this,null,function*(){if(f)return Promise.reject();if(T==null&&N.pages.length)return Promise.resolve(N);const M={queryKey:t.queryKey,pageParam:T,direction:A?"backward":"forward",meta:t.options.meta};h(M);const D=yield m(M),{maxPages:L}=t.options,z=A?rY:tY;return{pages:z(N.pages,D,L),pageParams:z(N.pageParams,T,L)}});let S;if(o&&i.length){const N=o==="backward",T=N?pL:d3,A={pages:i,pageParams:c},M=T(a,A);S=yield v(A,M,N)}else{S=yield v(u,(E=c[0])!=null?E:a.initialPageParam);const N=e!=null?e:i.length;for(let T=1;T{var a,o;return(o=(a=t.options).persister)==null?void 0:o.call(a,n,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=n}}}function d3(e,{pages:t,pageParams:r}){const n=t.length-1;return e.getNextPageParam(t[n],t,r[n],r)}function pL(e,{pages:t,pageParams:r}){var n;return(n=e.getPreviousPageParam)==null?void 0:n.call(e,t[0],t,r[0],r)}function fY(e,t){return t?d3(e,t)!=null:!1}function hY(e,t){return!t||!e.getPreviousPageParam?!1:pL(e,t)!=null}var gs,ju,Eu,Kp,Gp,Nu,Yp,Zp,YR,pY=(YR=class{constructor(e={}){Bt(this,gs,void 0);Bt(this,ju,void 0);Bt(this,Eu,void 0);Bt(this,Kp,void 0);Bt(this,Gp,void 0);Bt(this,Nu,void 0);Bt(this,Yp,void 0);Bt(this,Zp,void 0);Lt(this,gs,e.queryCache||new cY),Lt(this,ju,e.mutationCache||new dY),Lt(this,Eu,e.defaultOptions||{}),Lt(this,Kp,new Map),Lt(this,Gp,new Map),Lt(this,Nu,0)}mount(){jx(this,Nu)._++,_e(this,Nu)===1&&(Lt(this,Yp,gb.subscribe(()=>{gb.isFocused()&&(this.resumePausedMutations(),_e(this,gs).onFocus())})),Lt(this,Zp,vb.subscribe(e=>{e&&(this.resumePausedMutations(),_e(this,gs).onOnline())})))}unmount(){var e,t;jx(this,Nu)._--,_e(this,Nu)===0&&((e=_e(this,Yp))==null||e.call(this),Lt(this,Yp,void 0),(t=_e(this,Zp))==null||t.call(this),Lt(this,Zp,void 0))}isFetching(e){return _e(this,gs).findAll(ee(R({},e),{fetchStatus:"fetching"})).length}isMutating(e){return _e(this,ju).findAll(ee(R({},e),{status:"pending"})).length}getQueryData(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=_e(this,gs).get(t.queryHash))==null?void 0:r.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);return t!==void 0?Promise.resolve(t):this.fetchQuery(e)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:t,state:r})=>{const n=r.data;return[t,n]})}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),a=_e(this,gs).get(n.queryHash),o=a==null?void 0:a.state.data,i=JG(t,o);if(i!==void 0)return _e(this,gs).build(this,n).setData(i,ee(R({},r),{manual:!0}))}setQueriesData(e,t,r){return ws.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:n})=>[n,this.setQueryData(n,t,r)]))}getQueryState(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=_e(this,gs).get(t.queryHash))==null?void 0:r.state}removeQueries(e){const t=_e(this,gs);ws.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=_e(this,gs),n=R({type:"active"},e);return ws.batch(()=>(r.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries(n,t)))}cancelQueries(e={},t={}){const r=R({revert:!0},t),n=ws.batch(()=>_e(this,gs).findAll(e).map(a=>a.cancel(r)));return Promise.all(n).then(Zo).catch(Zo)}invalidateQueries(e={},t={}){return ws.batch(()=>{var n,a;if(_e(this,gs).findAll(e).forEach(o=>{o.invalidate()}),e.refetchType==="none")return Promise.resolve();const r=ee(R({},e),{type:(a=(n=e.refetchType)!=null?n:e.type)!=null?a:"active"});return this.refetchQueries(r,t)})}refetchQueries(e={},t){var a;const r=ee(R({},t),{cancelRefetch:(a=t==null?void 0:t.cancelRefetch)!=null?a:!0}),n=ws.batch(()=>_e(this,gs).findAll(e).filter(o=>!o.isDisabled()).map(o=>{let i=o.fetch(void 0,r);return r.throwOnError||(i=i.catch(Zo)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(n).then(Zo)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=_e(this,gs).build(this,t);return r.isStaleByTime(t.staleTime)?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Zo).catch(Zo)}fetchInfiniteQuery(e){return e.behavior=u3(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Zo).catch(Zo)}resumePausedMutations(){return vb.isOnline()?_e(this,ju).resumePausedMutations():Promise.resolve()}getQueryCache(){return _e(this,gs)}getMutationCache(){return _e(this,ju)}getDefaultOptions(){return _e(this,Eu)}setDefaultOptions(e){Lt(this,Eu,e)}setQueryDefaults(e,t){_e(this,Kp).set(yf(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._e(this,Kp).values()];let r={};return t.forEach(n=>{tv(e,n.queryKey)&&(r=R(R({},r),n.defaultOptions))}),r}setMutationDefaults(e,t){_e(this,Gp).set(yf(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._e(this,Gp).values()];let r={};return t.forEach(n=>{tv(e,n.mutationKey)&&(r=R(R({},r),n.defaultOptions))}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t=ee(R(R(R({},_e(this,Eu).queries),this.getQueryDefaults(e.queryKey)),e),{_defaulted:!0});return t.queryHash||(t.queryHash=uE(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===dE&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:ee(R(R(R({},_e(this,Eu).mutations),(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey)),e),{_defaulted:!0})}clear(){_e(this,gs).clear(),_e(this,ju).clear()}},gs=new WeakMap,ju=new WeakMap,Eu=new WeakMap,Kp=new WeakMap,Gp=new WeakMap,Nu=new WeakMap,Yp=new WeakMap,Zp=new WeakMap,YR),Xa,jn,e1,Ma,nf,Xp,vl,t1,Qp,Jp,sf,af,_u,em,of,hg,r1,f3,n1,h3,s1,p3,a1,m3,o1,g3,i1,v3,l1,x3,ow,gL,ZR,mL=(ZR=class extends Pm{constructor(t,r){super();Bt(this,of);Bt(this,r1);Bt(this,n1);Bt(this,s1);Bt(this,a1);Bt(this,o1);Bt(this,i1);Bt(this,l1);Bt(this,ow);Bt(this,Xa,void 0);Bt(this,jn,void 0);Bt(this,e1,void 0);Bt(this,Ma,void 0);Bt(this,nf,void 0);Bt(this,Xp,void 0);Bt(this,vl,void 0);Bt(this,t1,void 0);Bt(this,Qp,void 0);Bt(this,Jp,void 0);Bt(this,sf,void 0);Bt(this,af,void 0);Bt(this,_u,void 0);Bt(this,em,new Set);this.options=r,Lt(this,Xa,t),Lt(this,vl,null),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(_e(this,jn).addObserver(this),s7(_e(this,jn),this.options)?br(this,of,hg).call(this):this.updateResult(),br(this,a1,m3).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return y3(_e(this,jn),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return y3(_e(this,jn),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,br(this,o1,g3).call(this),br(this,i1,v3).call(this),_e(this,jn).removeObserver(this)}setOptions(t,r){const n=this.options,a=_e(this,jn);if(this.options=_e(this,Xa).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");br(this,l1,x3).call(this),mb(this.options,n)||_e(this,Xa).getQueryCache().notify({type:"observerOptionsUpdated",query:_e(this,jn),observer:this});const o=this.hasListeners();o&&a7(_e(this,jn),a,this.options,n)&&br(this,of,hg).call(this),this.updateResult(r),o&&(_e(this,jn)!==a||this.options.enabled!==n.enabled||this.options.staleTime!==n.staleTime)&&br(this,r1,f3).call(this);const i=br(this,n1,h3).call(this);o&&(_e(this,jn)!==a||this.options.enabled!==n.enabled||i!==_e(this,_u))&&br(this,s1,p3).call(this,i)}getOptimisticResult(t){const r=_e(this,Xa).getQueryCache().build(_e(this,Xa),t),n=this.createResult(r,t);return gY(this,n)&&(Lt(this,Ma,n),Lt(this,Xp,this.options),Lt(this,nf,_e(this,jn).state)),n}getCurrentResult(){return _e(this,Ma)}trackResult(t,r){const n={};return Object.keys(t).forEach(a=>{Object.defineProperty(n,a,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(a),r==null||r(a),t[a])})}),n}trackProp(t){_e(this,em).add(t)}getCurrentQuery(){return _e(this,jn)}refetch(r={}){var t=ke(r,[]);return this.fetch(R({},t))}fetchOptimistic(t){const r=_e(this,Xa).defaultQueryOptions(t),n=_e(this,Xa).getQueryCache().build(_e(this,Xa),r);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,r))}fetch(t){var r;return br(this,of,hg).call(this,ee(R({},t),{cancelRefetch:(r=t.cancelRefetch)!=null?r:!0})).then(()=>(this.updateResult(),_e(this,Ma)))}createResult(t,r){var M;const n=_e(this,jn),a=this.options,o=_e(this,Ma),i=_e(this,nf),c=_e(this,Xp),f=t!==n?t.state:_e(this,e1),{state:h}=t;let{error:m,errorUpdatedAt:v,fetchStatus:S,status:w}=h,g=!1,b;if(r._optimisticResults){const D=this.hasListeners(),L=!D&&s7(t,r),z=D&&a7(t,n,r,a);(L||z)&&(S=uw(t.options.networkMode)?"fetching":"paused",h.data===void 0&&(w="pending")),r._optimisticResults==="isRestoring"&&(S="idle")}if(r.select&&h.data!==void 0)if(o&&h.data===(i==null?void 0:i.data)&&r.select===_e(this,t1))b=_e(this,Qp);else try{Lt(this,t1,r.select),b=r.select(h.data),b=c3(o==null?void 0:o.data,b,r),Lt(this,Qp,b),Lt(this,vl,null)}catch(D){Lt(this,vl,D)}else b=h.data;if(r.placeholderData!==void 0&&b===void 0&&w==="pending"){let D;if(o!=null&&o.isPlaceholderData&&r.placeholderData===(c==null?void 0:c.placeholderData))D=o.data;else if(D=typeof r.placeholderData=="function"?r.placeholderData((M=_e(this,Jp))==null?void 0:M.state.data,_e(this,Jp)):r.placeholderData,r.select&&D!==void 0)try{D=r.select(D),Lt(this,vl,null)}catch(L){Lt(this,vl,L)}D!==void 0&&(w="success",b=c3(o==null?void 0:o.data,D,r),g=!0)}_e(this,vl)&&(m=_e(this,vl),b=_e(this,Qp),v=Date.now(),w="error");const C=S==="fetching",j=w==="pending",E=w==="error",N=j&&C,T=h.data!==void 0;return{status:w,fetchStatus:S,isPending:j,isSuccess:w==="success",isError:E,isInitialLoading:N,isLoading:N,data:b,dataUpdatedAt:h.dataUpdatedAt,error:m,errorUpdatedAt:v,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>f.dataUpdateCount||h.errorUpdateCount>f.errorUpdateCount,isFetching:C,isRefetching:C&&!j,isLoadingError:E&&!T,isPaused:S==="paused",isPlaceholderData:g,isRefetchError:E&&T,isStale:fE(t,r),refetch:this.refetch}}updateResult(t){const r=_e(this,Ma),n=this.createResult(_e(this,jn),this.options);if(Lt(this,nf,_e(this,jn).state),Lt(this,Xp,this.options),_e(this,nf).data!==void 0&&Lt(this,Jp,_e(this,jn)),mb(n,r))return;Lt(this,Ma,n);const a={},o=()=>{if(!r)return!0;const{notifyOnChangeProps:i}=this.options,c=typeof i=="function"?i():i;if(c==="all"||!c&&!_e(this,em).size)return!0;const u=new Set(c!=null?c:_e(this,em));return this.options.throwOnError&&u.add("error"),Object.keys(_e(this,Ma)).some(f=>{const h=f;return _e(this,Ma)[h]!==r[h]&&u.has(h)})};(t==null?void 0:t.listeners)!==!1&&o()&&(a.listeners=!0),br(this,ow,gL).call(this,R(R({},a),t))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&br(this,a1,m3).call(this)}},Xa=new WeakMap,jn=new WeakMap,e1=new WeakMap,Ma=new WeakMap,nf=new WeakMap,Xp=new WeakMap,vl=new WeakMap,t1=new WeakMap,Qp=new WeakMap,Jp=new WeakMap,sf=new WeakMap,af=new WeakMap,_u=new WeakMap,em=new WeakMap,of=new WeakSet,hg=function(t){br(this,l1,x3).call(this);let r=_e(this,jn).fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(Zo)),r},r1=new WeakSet,f3=function(){if(br(this,o1,g3).call(this),rm||_e(this,Ma).isStale||!i3(this.options.staleTime))return;const r=lL(_e(this,Ma).dataUpdatedAt,this.options.staleTime)+1;Lt(this,sf,setTimeout(()=>{_e(this,Ma).isStale||this.updateResult()},r))},n1=new WeakSet,h3=function(){var t;return(t=typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_e(this,jn)):this.options.refetchInterval)!=null?t:!1},s1=new WeakSet,p3=function(t){br(this,i1,v3).call(this),Lt(this,_u,t),!(rm||this.options.enabled===!1||!i3(_e(this,_u))||_e(this,_u)===0)&&Lt(this,af,setInterval(()=>{(this.options.refetchIntervalInBackground||gb.isFocused())&&br(this,of,hg).call(this)},_e(this,_u)))},a1=new WeakSet,m3=function(){br(this,r1,f3).call(this),br(this,s1,p3).call(this,br(this,n1,h3).call(this))},o1=new WeakSet,g3=function(){_e(this,sf)&&(clearTimeout(_e(this,sf)),Lt(this,sf,void 0))},i1=new WeakSet,v3=function(){_e(this,af)&&(clearInterval(_e(this,af)),Lt(this,af,void 0))},l1=new WeakSet,x3=function(){const t=_e(this,Xa).getQueryCache().build(_e(this,Xa),this.options);if(t===_e(this,jn))return;const r=_e(this,jn);Lt(this,jn,t),Lt(this,e1,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},ow=new WeakSet,gL=function(t){ws.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(_e(this,Ma))}),_e(this,Xa).getQueryCache().notify({query:_e(this,jn),type:"observerResultsUpdated"})})},ZR);function mY(e,t){return t.enabled!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function s7(e,t){return mY(e,t)||e.state.data!==void 0&&y3(e,t,t.refetchOnMount)}function y3(e,t,r){if(t.enabled!==!1){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&fE(e,t)}return!1}function a7(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&fE(e,r)}function fE(e,t){return e.isStaleByTime(t.staleTime)}function gY(e,t){return!mb(e.getCurrentResult(),t)}var vY=class extends mL{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions(ee(R({},e),{behavior:u3()}),t)}getOptimisticResult(e){return e.behavior=u3(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch(ee(R({},e),{meta:{fetchMore:{direction:"forward"}}}))}fetchPreviousPage(e){return this.fetch(ee(R({},e),{meta:{fetchMore:{direction:"backward"}}}))}createResult(e,t){var u,f,h,m;const{state:r}=e,n=super.createResult(e,t),{isFetching:a,isRefetching:o}=n,i=a&&((f=(u=r.fetchMeta)==null?void 0:u.fetchMore)==null?void 0:f.direction)==="forward",c=a&&((m=(h=r.fetchMeta)==null?void 0:h.fetchMore)==null?void 0:m.direction)==="backward";return ee(R({},n),{fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:fY(t,r.data),hasPreviousPage:hY(t,r.data),isFetchingNextPage:i,isFetchingPreviousPage:c,isRefetching:o&&!i&&!c})}},Tu,Pu,jo,oc,tm,zy,c1,b3,XR,xY=(XR=class extends Pm{constructor(r,n){super();Bt(this,tm);Bt(this,c1);Bt(this,Tu,void 0);Bt(this,Pu,void 0);Bt(this,jo,void 0);Bt(this,oc,void 0);Lt(this,Tu,r),this.setOptions(n),this.bindMethods(),br(this,tm,zy).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(r){var a;const n=this.options;this.options=_e(this,Tu).defaultMutationOptions(r),mb(this.options,n)||_e(this,Tu).getMutationCache().notify({type:"observerOptionsUpdated",mutation:_e(this,jo),observer:this}),n!=null&&n.mutationKey&&this.options.mutationKey&&yf(n.mutationKey)!==yf(this.options.mutationKey)?this.reset():(a=_e(this,jo))==null||a.setOptions(this.options)}onUnsubscribe(){var r;this.hasListeners()||(r=_e(this,jo))==null||r.removeObserver(this)}onMutationUpdate(r){br(this,tm,zy).call(this),br(this,c1,b3).call(this,r)}getCurrentResult(){return _e(this,Pu)}reset(){var r;(r=_e(this,jo))==null||r.removeObserver(this),Lt(this,jo,void 0),br(this,tm,zy).call(this),br(this,c1,b3).call(this)}mutate(r,n){var a;return Lt(this,oc,n),(a=_e(this,jo))==null||a.removeObserver(this),Lt(this,jo,_e(this,Tu).getMutationCache().build(_e(this,Tu),this.options)),_e(this,jo).addObserver(this),_e(this,jo).execute(r)}},Tu=new WeakMap,Pu=new WeakMap,jo=new WeakMap,oc=new WeakMap,tm=new WeakSet,zy=function(){var n,a;const r=(a=(n=_e(this,jo))==null?void 0:n.state)!=null?a:hL();Lt(this,Pu,ee(R({},r),{isPending:r.status==="pending",isSuccess:r.status==="success",isError:r.status==="error",isIdle:r.status==="idle",mutate:this.mutate,reset:this.reset}))},c1=new WeakSet,b3=function(r){ws.batch(()=>{var n,a,o,i,c,u,f,h;if(_e(this,oc)&&this.hasListeners()){const m=_e(this,Pu).variables,v=_e(this,Pu).context;(r==null?void 0:r.type)==="success"?((a=(n=_e(this,oc)).onSuccess)==null||a.call(n,r.data,m,v),(i=(o=_e(this,oc)).onSettled)==null||i.call(o,r.data,null,m,v)):(r==null?void 0:r.type)==="error"&&((u=(c=_e(this,oc)).onError)==null||u.call(c,r.error,m,v),(h=(f=_e(this,oc)).onSettled)==null||h.call(f,void 0,r.error,m,v))}this.listeners.forEach(m=>{m(_e(this,Pu))})})},XR),vL=p.createContext(void 0),gr=e=>{const t=p.useContext(vL);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},yY=({client:e,children:t})=>(p.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),s.jsx(vL.Provider,{value:e,children:t})),xL=p.createContext(!1),bY=()=>p.useContext(xL);xL.Provider;function wY(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var kY=p.createContext(wY()),CY=()=>p.useContext(kY);function yL(e,t){return typeof e=="function"?e(...t):!!e}function SY(){}var jY=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},EY=e=>{p.useEffect(()=>{e.clearReset()},[e])},NY=({result:e,errorResetBoundary:t,throwOnError:r,query:n})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&yL(r,[e.error,n]),_Y=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},TY=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,PY=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function bL(e,t,r){const n=gr(r),a=bY(),o=CY(),i=n.defaultQueryOptions(e);i._optimisticResults=a?"isRestoring":"optimistic",_Y(i),jY(i,o),EY(o);const[c]=p.useState(()=>new t(n,i)),u=c.getOptimisticResult(i);if(p.useSyncExternalStore(p.useCallback(f=>{const h=a?()=>{}:c.subscribe(ws.batchCalls(f));return c.updateResult(),h},[c,a]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),p.useEffect(()=>{c.setOptions(i,{listeners:!1})},[i,c]),TY(i,u))throw PY(i,c,o);if(NY({result:u,errorResetBoundary:o,throwOnError:i.throwOnError,query:n.getQueryCache().get(i.queryHash)}))throw u.error;return i.notifyOnChangeProps?u:c.trackResult(u)}function MY(e,t){return bL(e,mL,t)}function DY(e,t){const r=gr(t),[n]=p.useState(()=>new xY(r,e));p.useEffect(()=>{n.setOptions(e)},[n,e]);const a=p.useSyncExternalStore(p.useCallback(i=>n.subscribe(ws.batchCalls(i)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),o=p.useCallback((i,c)=>{n.mutate(i,c).catch(SY)},[n]);if(a.error&&yL(n.options.throwOnError,[a.error]))throw a.error;return ee(R({},a),{mutate:o,mutateAsync:a.mutate})}function AY(e,t){return bL(e,vY,t)}var RY=function(){return null},LY={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const o7=1e3*60,IY="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",wL=LY.VITE_ENABLE_REACT_QUERY_DEVTOOLS,OY=3;var kL={exports:{}},Ho={},CL={exports:{}},SL={};/** + */var GG=p,YG=Symbol.for("react.element"),ZG=Symbol.for("react.fragment"),XG=Object.prototype.hasOwnProperty,QG=GG.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,JG={key:!0,ref:!0,__self:!0,__source:!0};function lL(e,t,r){var n,a={},o=null,i=null;r!==void 0&&(o=""+r),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(n in t)XG.call(t,n)&&!JG.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps,t)a[n]===void 0&&(a[n]=t[n]);return{$$typeof:YG,type:e,key:o,ref:i,props:a,_owner:QG.current}}uw.Fragment=ZG;uw.jsx=lL;uw.jsxs=lL;JR.exports=uw;var s=JR.exports;const eY=nl(s);var Pm=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},rm=typeof window=="undefined"||"Deno"in window;function Xo(){}function tY(e,t){return typeof e=="function"?e(t):e}function l3(e){return typeof e=="number"&&e>=0&&e!==1/0}function cL(e,t){return Math.max(e+(t||0)-Date.now(),0)}function t7(e,t){const{type:r="all",exact:n,fetchStatus:a,predicate:o,queryKey:i,stale:c}=e;if(i){if(n){if(t.queryHash!==fE(i,t.options))return!1}else if(!nv(t.queryKey,i))return!1}if(r!=="all"){const u=t.isActive();if(r==="active"&&!u||r==="inactive"&&u)return!1}return!(typeof c=="boolean"&&t.isStale()!==c||a&&a!==t.state.fetchStatus||o&&!o(t))}function r7(e,t){const{exact:r,status:n,predicate:a,mutationKey:o}=e;if(o){if(!t.options.mutationKey)return!1;if(r){if(yf(t.options.mutationKey)!==yf(o))return!1}else if(!nv(t.options.mutationKey,o))return!1}return!(n&&t.state.status!==n||a&&!a(t))}function fE(e,t){return((t==null?void 0:t.queryKeyHashFn)||yf)(e)}function yf(e){return JSON.stringify(e,(t,r)=>c3(r)?Object.keys(r).sort().reduce((n,a)=>(n[a]=r[a],n),{}):r)}function nv(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(r=>!nv(e[r],t[r])):!1}function uL(e,t){if(e===t)return e;const r=n7(e)&&n7(t);if(r||c3(e)&&c3(t)){const n=r?e:Object.keys(e),a=n.length,o=r?t:Object.keys(t),i=o.length,c=r?[]:{};let u=0;for(let f=0;f{setTimeout(t,e)})}function u3(e,t,r){return typeof r.structuralSharing=="function"?r.structuralSharing(e,t):r.structuralSharing!==!1?uL(e,t):t}function nY(e,t,r=0){const n=[...e,t];return r&&n.length>r?n.slice(1):n}function sY(e,t,r=0){const n=[t,...e];return r&&n.length>r?n.slice(0,-1):n}var hE=Symbol(),Jd,ku,Fp,UR,aY=(UR=class extends Pm{constructor(){super();Bt(this,Jd,void 0);Bt(this,ku,void 0);Bt(this,Fp,void 0);Lt(this,Fp,t=>{if(!rm&&window.addEventListener){const r=()=>t();return window.addEventListener("visibilitychange",r,!1),()=>{window.removeEventListener("visibilitychange",r)}}})}onSubscribe(){_e(this,ku)||this.setEventListener(_e(this,Fp))}onUnsubscribe(){var t;this.hasListeners()||((t=_e(this,ku))==null||t.call(this),Lt(this,ku,void 0))}setEventListener(t){var r;Lt(this,Fp,t),(r=_e(this,ku))==null||r.call(this),Lt(this,ku,t(n=>{typeof n=="boolean"?this.setFocused(n):this.onFocus()}))}setFocused(t){_e(this,Jd)!==t&&(Lt(this,Jd,t),this.onFocus())}onFocus(){this.listeners.forEach(t=>{t()})}isFocused(){var t;return typeof _e(this,Jd)=="boolean"?_e(this,Jd):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Jd=new WeakMap,ku=new WeakMap,Fp=new WeakMap,UR),xb=new aY,Hp,Cu,Bp,WR,oY=(WR=class extends Pm{constructor(){super();Bt(this,Hp,!0);Bt(this,Cu,void 0);Bt(this,Bp,void 0);Lt(this,Bp,t=>{if(!rm&&window.addEventListener){const r=()=>t(!0),n=()=>t(!1);return window.addEventListener("online",r,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",r),window.removeEventListener("offline",n)}}})}onSubscribe(){_e(this,Cu)||this.setEventListener(_e(this,Bp))}onUnsubscribe(){var t;this.hasListeners()||((t=_e(this,Cu))==null||t.call(this),Lt(this,Cu,void 0))}setEventListener(t){var r;Lt(this,Bp,t),(r=_e(this,Cu))==null||r.call(this),Lt(this,Cu,t(this.setOnline.bind(this)))}setOnline(t){_e(this,Hp)!==t&&(Lt(this,Hp,t),this.listeners.forEach(n=>{n(t)}))}isOnline(){return _e(this,Hp)}},Hp=new WeakMap,Cu=new WeakMap,Bp=new WeakMap,WR),yb=new oY;function iY(e){return Math.min(1e3*A0(2,e),3e4)}function fw(e){return(e!=null?e:"online")==="online"?yb.isOnline():!0}var dL=class{constructor(e){this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function QC(e){return e instanceof dL}function fL(e){let t=!1,r=0,n=!1,a,o,i;const c=new Promise((b,C)=>{o=b,i=C}),u=b=>{var C;n||(S(new dL(b)),(C=e.abort)==null||C.call(e))},f=()=>{t=!0},h=()=>{t=!1},m=()=>!xb.isFocused()||e.networkMode!=="always"&&!yb.isOnline(),v=b=>{var C;n||(n=!0,(C=e.onSuccess)==null||C.call(e,b),a==null||a(),o(b))},S=b=>{var C;n||(n=!0,(C=e.onError)==null||C.call(e,b),a==null||a(),i(b))},w=()=>new Promise(b=>{var C;a=j=>{const E=n||!m();return E&&b(j),E},(C=e.onPause)==null||C.call(e)}).then(()=>{var b;a=void 0,n||(b=e.onContinue)==null||b.call(e)}),g=()=>{if(n)return;let b;try{b=e.fn()}catch(C){b=Promise.reject(C)}Promise.resolve(b).then(v).catch(C=>{var A,M,D;if(n)return;const j=(A=e.retry)!=null?A:rm?0:3,E=(M=e.retryDelay)!=null?M:iY,N=typeof E=="function"?E(r,C):E,T=j===!0||typeof j=="number"&&r{if(m())return w()}).then(()=>{t?S(C):g()})})};return fw(e.networkMode)?g():w().then(g),{promise:c,cancel:u,continue:()=>(a==null?void 0:a())?c:Promise.resolve(),cancelRetry:f,continueRetry:h}}function lY(){let e=[],t=0,r=v=>{v()},n=v=>{v()},a=v=>setTimeout(v,0);const o=v=>{a=v},i=v=>{let S;t++;try{S=v()}finally{t--,t||f()}return S},c=v=>{t?e.push(v):a(()=>{r(v)})},u=v=>(...S)=>{c(()=>{v(...S)})},f=()=>{const v=e;e=[],v.length&&a(()=>{n(()=>{v.forEach(S=>{r(S)})})})};return{batch:i,batchCalls:u,schedule:c,setNotifyFunction:v=>{r=v},setBatchNotifyFunction:v=>{n=v},setScheduler:o}}var Cs=lY(),ef,VR,hL=(VR=class{constructor(){Bt(this,ef,void 0)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),l3(this.gcTime)&&Lt(this,ef,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e!=null?e:rm?1/0:5*60*1e3)}clearGcTimeout(){_e(this,ef)&&(clearTimeout(_e(this,ef)),Lt(this,ef,void 0))}},ef=new WeakMap,VR),Up,Wp,Go,Su,Yo,As,Jv,tf,Vp,Fy,Pi,Gl,qR,cY=(qR=class extends hL{constructor(t){super();Bt(this,Vp);Bt(this,Pi);Bt(this,Up,void 0);Bt(this,Wp,void 0);Bt(this,Go,void 0);Bt(this,Su,void 0);Bt(this,Yo,void 0);Bt(this,As,void 0);Bt(this,Jv,void 0);Bt(this,tf,void 0);Lt(this,tf,!1),Lt(this,Jv,t.defaultOptions),wr(this,Vp,Fy).call(this,t.options),Lt(this,As,[]),Lt(this,Go,t.cache),this.queryKey=t.queryKey,this.queryHash=t.queryHash,Lt(this,Up,t.state||uY(this.options)),this.state=_e(this,Up),this.scheduleGc()}get meta(){return this.options.meta}optionalRemove(){!_e(this,As).length&&this.state.fetchStatus==="idle"&&_e(this,Go).remove(this)}setData(t,r){const n=u3(this.state.data,t,this.options);return wr(this,Pi,Gl).call(this,{data:n,type:"success",dataUpdatedAt:r==null?void 0:r.updatedAt,manual:r==null?void 0:r.manual}),n}setState(t,r){wr(this,Pi,Gl).call(this,{type:"setState",state:t,setStateOptions:r})}cancel(t){var n;const r=_e(this,Su);return(n=_e(this,Yo))==null||n.cancel(t),r?r.then(Xo).catch(Xo):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(_e(this,Up))}isActive(){return _e(this,As).some(t=>t.options.enabled!==!1)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||this.state.data===void 0||_e(this,As).some(t=>t.getCurrentResult().isStale)}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!cL(this.state.dataUpdatedAt,t)}onFocus(){var r;const t=_e(this,As).find(n=>n.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(r=_e(this,Yo))==null||r.continue()}onOnline(){var r;const t=_e(this,As).find(n=>n.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(r=_e(this,Yo))==null||r.continue()}addObserver(t){_e(this,As).includes(t)||(_e(this,As).push(t),this.clearGcTimeout(),_e(this,Go).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){_e(this,As).includes(t)&&(Lt(this,As,_e(this,As).filter(r=>r!==t)),_e(this,As).length||(_e(this,Yo)&&(_e(this,tf)?_e(this,Yo).cancel({revert:!0}):_e(this,Yo).cancelRetry()),this.scheduleGc()),_e(this,Go).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return _e(this,As).length}invalidate(){this.state.isInvalidated||wr(this,Pi,Gl).call(this,{type:"invalidate"})}fetch(t,r){var f,h,m,v;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(r!=null&&r.cancelRefetch))this.cancel({silent:!0});else if(_e(this,Su))return(f=_e(this,Yo))==null||f.continueRetry(),_e(this,Su)}if(t&&wr(this,Vp,Fy).call(this,t),!this.options.queryFn){const S=_e(this,As).find(w=>w.options.queryFn);S&&wr(this,Vp,Fy).call(this,S.options)}const n=new AbortController,a={queryKey:this.queryKey,meta:this.meta},o=S=>{Object.defineProperty(S,"signal",{enumerable:!0,get:()=>(Lt(this,tf,!0),n.signal)})};o(a);const i=()=>!this.options.queryFn||this.options.queryFn===hE?Promise.reject(new Error("Missing queryFn: '".concat(this.options.queryHash,"'"))):(Lt(this,tf,!1),this.options.persister?this.options.persister(this.options.queryFn,a,this):this.options.queryFn(a)),c={fetchOptions:r,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:i};o(c),(h=this.options.behavior)==null||h.onFetch(c,this),Lt(this,Wp,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((m=c.fetchOptions)==null?void 0:m.meta))&&wr(this,Pi,Gl).call(this,{type:"fetch",meta:(v=c.fetchOptions)==null?void 0:v.meta});const u=S=>{var w,g,b,C;QC(S)&&S.silent||wr(this,Pi,Gl).call(this,{type:"error",error:S}),QC(S)||((g=(w=_e(this,Go).config).onError)==null||g.call(w,S,this),(C=(b=_e(this,Go).config).onSettled)==null||C.call(b,this.state.data,S,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return Lt(this,Yo,fL({fn:c.fetchFn,abort:n.abort.bind(n),onSuccess:S=>{var w,g,b,C;if(S===void 0){u(new Error("".concat(this.queryHash," data is undefined")));return}this.setData(S),(g=(w=_e(this,Go).config).onSuccess)==null||g.call(w,S,this),(C=(b=_e(this,Go).config).onSettled)==null||C.call(b,S,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:u,onFail:(S,w)=>{wr(this,Pi,Gl).call(this,{type:"failed",failureCount:S,error:w})},onPause:()=>{wr(this,Pi,Gl).call(this,{type:"pause"})},onContinue:()=>{wr(this,Pi,Gl).call(this,{type:"continue"})},retry:c.options.retry,retryDelay:c.options.retryDelay,networkMode:c.options.networkMode})),Lt(this,Su,_e(this,Yo).promise),_e(this,Su)}},Up=new WeakMap,Wp=new WeakMap,Go=new WeakMap,Su=new WeakMap,Yo=new WeakMap,As=new WeakMap,Jv=new WeakMap,tf=new WeakMap,Vp=new WeakSet,Fy=function(t){this.options=R(R({},_e(this,Jv)),t),this.updateGcTime(this.options.gcTime)},Pi=new WeakSet,Gl=function(t){const r=n=>{var a,o;switch(t.type){case"failed":return ee(R({},n),{fetchFailureCount:t.failureCount,fetchFailureReason:t.error});case"pause":return ee(R({},n),{fetchStatus:"paused"});case"continue":return ee(R({},n),{fetchStatus:"fetching"});case"fetch":return R(ee(R({},n),{fetchFailureCount:0,fetchFailureReason:null,fetchMeta:(a=t.meta)!=null?a:null,fetchStatus:fw(this.options.networkMode)?"fetching":"paused"}),n.data===void 0&&{error:null,status:"pending"});case"success":return R(ee(R({},n),{data:t.data,dataUpdateCount:n.dataUpdateCount+1,dataUpdatedAt:(o=t.dataUpdatedAt)!=null?o:Date.now(),error:null,isInvalidated:!1,status:"success"}),!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null});case"error":const i=t.error;return QC(i)&&i.revert&&_e(this,Wp)?ee(R({},_e(this,Wp)),{fetchStatus:"idle"}):ee(R({},n),{error:i,errorUpdateCount:n.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:n.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"});case"invalidate":return ee(R({},n),{isInvalidated:!0});case"setState":return R(R({},n),t.state)}};this.state=r(this.state),Cs.batch(()=>{_e(this,As).forEach(n=>{n.onQueryUpdate()}),_e(this,Go).notify({query:this,type:"updated",action:t})})},qR);function uY(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,r=t!==void 0,n=r?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?n!=null?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"pending",fetchStatus:"idle"}}var ml,KR,dY=(KR=class extends Pm{constructor(t={}){super();Bt(this,ml,void 0);this.config=t,Lt(this,ml,new Map)}build(t,r,n){var c;const a=r.queryKey,o=(c=r.queryHash)!=null?c:fE(a,r);let i=this.get(o);return i||(i=new cY({cache:this,queryKey:a,queryHash:o,options:t.defaultQueryOptions(r),state:n,defaultOptions:t.getQueryDefaults(a)}),this.add(i)),i}add(t){_e(this,ml).has(t.queryHash)||(_e(this,ml).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const r=_e(this,ml).get(t.queryHash);r&&(t.destroy(),r===t&&_e(this,ml).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){Cs.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return _e(this,ml).get(t)}getAll(){return[..._e(this,ml).values()]}find(t){const r=R({exact:!0},t);return this.getAll().find(n=>t7(r,n))}findAll(t={}){const r=this.getAll();return Object.keys(t).length>0?r.filter(n=>t7(t,n)):r}notify(t){Cs.batch(()=>{this.listeners.forEach(r=>{r(t)})})}onFocus(){Cs.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){Cs.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},ml=new WeakMap,KR),gl,e1,jo,qp,vl,Jc,GR,fY=(GR=class extends hL{constructor(t){super();Bt(this,vl);Bt(this,gl,void 0);Bt(this,e1,void 0);Bt(this,jo,void 0);Bt(this,qp,void 0);this.mutationId=t.mutationId,Lt(this,e1,t.defaultOptions),Lt(this,jo,t.mutationCache),Lt(this,gl,[]),this.state=t.state||pL(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=R(R({},_e(this,e1)),t),this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){_e(this,gl).includes(t)||(_e(this,gl).push(t),this.clearGcTimeout(),_e(this,jo).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){Lt(this,gl,_e(this,gl).filter(r=>r!==t)),this.scheduleGc(),_e(this,jo).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){_e(this,gl).length||(this.state.status==="pending"?this.scheduleGc():_e(this,jo).remove(this))}continue(){var t,r;return(r=(t=_e(this,qp))==null?void 0:t.continue())!=null?r:this.execute(this.state.variables)}execute(t){return pe(this,null,function*(){var a,o,i,c,u,f,h,m,v,S,w,g,b,C,j,E,N,T,A,M;const r=()=>{var D;return Lt(this,qp,fL({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(L,z)=>{wr(this,vl,Jc).call(this,{type:"failed",failureCount:L,error:z})},onPause:()=>{wr(this,vl,Jc).call(this,{type:"pause"})},onContinue:()=>{wr(this,vl,Jc).call(this,{type:"continue"})},retry:(D=this.options.retry)!=null?D:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode})),_e(this,qp).promise},n=this.state.status==="pending";try{if(!n){wr(this,vl,Jc).call(this,{type:"pending",variables:t}),yield(o=(a=_e(this,jo).config).onMutate)==null?void 0:o.call(a,t,this);const L=yield(c=(i=this.options).onMutate)==null?void 0:c.call(i,t);L!==this.state.context&&wr(this,vl,Jc).call(this,{type:"pending",context:L,variables:t})}const D=yield r();return yield(f=(u=_e(this,jo).config).onSuccess)==null?void 0:f.call(u,D,t,this.state.context,this),yield(m=(h=this.options).onSuccess)==null?void 0:m.call(h,D,t,this.state.context),yield(S=(v=_e(this,jo).config).onSettled)==null?void 0:S.call(v,D,null,this.state.variables,this.state.context,this),yield(g=(w=this.options).onSettled)==null?void 0:g.call(w,D,null,t,this.state.context),wr(this,vl,Jc).call(this,{type:"success",data:D}),D}catch(D){try{throw yield(C=(b=_e(this,jo).config).onError)==null?void 0:C.call(b,D,t,this.state.context,this),yield(E=(j=this.options).onError)==null?void 0:E.call(j,D,t,this.state.context),yield(T=(N=_e(this,jo).config).onSettled)==null?void 0:T.call(N,void 0,D,this.state.variables,this.state.context,this),yield(M=(A=this.options).onSettled)==null?void 0:M.call(A,void 0,D,t,this.state.context),D}finally{wr(this,vl,Jc).call(this,{type:"error",error:D})}}})}},gl=new WeakMap,e1=new WeakMap,jo=new WeakMap,qp=new WeakMap,vl=new WeakSet,Jc=function(t){const r=n=>{switch(t.type){case"failed":return ee(R({},n),{failureCount:t.failureCount,failureReason:t.error});case"pause":return ee(R({},n),{isPaused:!0});case"continue":return ee(R({},n),{isPaused:!1});case"pending":return ee(R({},n),{context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!fw(this.options.networkMode),status:"pending",variables:t.variables,submittedAt:Date.now()});case"success":return ee(R({},n),{data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1});case"error":return ee(R({},n),{data:void 0,error:t.error,failureCount:n.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"})}};this.state=r(this.state),Cs.batch(()=>{_e(this,gl).forEach(n=>{n.onMutationUpdate(t)}),_e(this,jo).notify({mutation:this,type:"updated",action:t})})},GR);function pL(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var Zo,t1,rf,YR,hY=(YR=class extends Pm{constructor(t={}){super();Bt(this,Zo,void 0);Bt(this,t1,void 0);Bt(this,rf,void 0);this.config=t,Lt(this,Zo,[]),Lt(this,t1,0)}build(t,r,n){const a=new fY({mutationCache:this,mutationId:++Nx(this,t1)._,options:t.defaultMutationOptions(r),state:n});return this.add(a),a}add(t){_e(this,Zo).push(t),this.notify({type:"added",mutation:t})}remove(t){Lt(this,Zo,_e(this,Zo).filter(r=>r!==t)),this.notify({type:"removed",mutation:t})}clear(){Cs.batch(()=>{_e(this,Zo).forEach(t=>{this.remove(t)})})}getAll(){return _e(this,Zo)}find(t){const r=R({exact:!0},t);return _e(this,Zo).find(n=>r7(r,n))}findAll(t={}){return _e(this,Zo).filter(r=>r7(t,r))}notify(t){Cs.batch(()=>{this.listeners.forEach(r=>{r(t)})})}resumePausedMutations(){var t;return Lt(this,rf,((t=_e(this,rf))!=null?t:Promise.resolve()).then(()=>{const r=_e(this,Zo).filter(n=>n.state.isPaused);return Cs.batch(()=>r.reduce((n,a)=>n.then(()=>a.continue().catch(Xo)),Promise.resolve()))}).then(()=>{Lt(this,rf,void 0)})),_e(this,rf)}},Zo=new WeakMap,t1=new WeakMap,rf=new WeakMap,YR);function d3(e){return{onFetch:(t,r)=>{const n=()=>pe(this,null,function*(){var w,g,b,C,j,E;const a=t.options,o=(b=(g=(w=t.fetchOptions)==null?void 0:w.meta)==null?void 0:g.fetchMore)==null?void 0:b.direction,i=((C=t.state.data)==null?void 0:C.pages)||[],c=((j=t.state.data)==null?void 0:j.pageParams)||[],u={pages:[],pageParams:[]};let f=!1;const h=N=>{Object.defineProperty(N,"signal",{enumerable:!0,get:()=>(t.signal.aborted?f=!0:t.signal.addEventListener("abort",()=>{f=!0}),t.signal)})},m=t.options.queryFn&&t.options.queryFn!==hE?t.options.queryFn:()=>Promise.reject(new Error("Missing queryFn: '".concat(t.options.queryHash,"'"))),v=(N,T,A)=>pe(this,null,function*(){if(f)return Promise.reject();if(T==null&&N.pages.length)return Promise.resolve(N);const M={queryKey:t.queryKey,pageParam:T,direction:A?"backward":"forward",meta:t.options.meta};h(M);const D=yield m(M),{maxPages:L}=t.options,z=A?sY:nY;return{pages:z(N.pages,D,L),pageParams:z(N.pageParams,T,L)}});let S;if(o&&i.length){const N=o==="backward",T=N?mL:f3,A={pages:i,pageParams:c},M=T(a,A);S=yield v(A,M,N)}else{S=yield v(u,(E=c[0])!=null?E:a.initialPageParam);const N=e!=null?e:i.length;for(let T=1;T{var a,o;return(o=(a=t.options).persister)==null?void 0:o.call(a,n,{queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},r)}:t.fetchFn=n}}}function f3(e,{pages:t,pageParams:r}){const n=t.length-1;return e.getNextPageParam(t[n],t,r[n],r)}function mL(e,{pages:t,pageParams:r}){var n;return(n=e.getPreviousPageParam)==null?void 0:n.call(e,t[0],t,r[0],r)}function pY(e,t){return t?f3(e,t)!=null:!1}function mY(e,t){return!t||!e.getPreviousPageParam?!1:mL(e,t)!=null}var xs,ju,Eu,Kp,Gp,Nu,Yp,Zp,ZR,gY=(ZR=class{constructor(e={}){Bt(this,xs,void 0);Bt(this,ju,void 0);Bt(this,Eu,void 0);Bt(this,Kp,void 0);Bt(this,Gp,void 0);Bt(this,Nu,void 0);Bt(this,Yp,void 0);Bt(this,Zp,void 0);Lt(this,xs,e.queryCache||new dY),Lt(this,ju,e.mutationCache||new hY),Lt(this,Eu,e.defaultOptions||{}),Lt(this,Kp,new Map),Lt(this,Gp,new Map),Lt(this,Nu,0)}mount(){Nx(this,Nu)._++,_e(this,Nu)===1&&(Lt(this,Yp,xb.subscribe(()=>{xb.isFocused()&&(this.resumePausedMutations(),_e(this,xs).onFocus())})),Lt(this,Zp,yb.subscribe(e=>{e&&(this.resumePausedMutations(),_e(this,xs).onOnline())})))}unmount(){var e,t;Nx(this,Nu)._--,_e(this,Nu)===0&&((e=_e(this,Yp))==null||e.call(this),Lt(this,Yp,void 0),(t=_e(this,Zp))==null||t.call(this),Lt(this,Zp,void 0))}isFetching(e){return _e(this,xs).findAll(ee(R({},e),{fetchStatus:"fetching"})).length}isMutating(e){return _e(this,ju).findAll(ee(R({},e),{status:"pending"})).length}getQueryData(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=_e(this,xs).get(t.queryHash))==null?void 0:r.state.data}ensureQueryData(e){const t=this.getQueryData(e.queryKey);return t!==void 0?Promise.resolve(t):this.fetchQuery(e)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:t,state:r})=>{const n=r.data;return[t,n]})}setQueryData(e,t,r){const n=this.defaultQueryOptions({queryKey:e}),a=_e(this,xs).get(n.queryHash),o=a==null?void 0:a.state.data,i=tY(t,o);if(i!==void 0)return _e(this,xs).build(this,n).setData(i,ee(R({},r),{manual:!0}))}setQueriesData(e,t,r){return Cs.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:n})=>[n,this.setQueryData(n,t,r)]))}getQueryState(e){var r;const t=this.defaultQueryOptions({queryKey:e});return(r=_e(this,xs).get(t.queryHash))==null?void 0:r.state}removeQueries(e){const t=_e(this,xs);Cs.batch(()=>{t.findAll(e).forEach(r=>{t.remove(r)})})}resetQueries(e,t){const r=_e(this,xs),n=R({type:"active"},e);return Cs.batch(()=>(r.findAll(e).forEach(a=>{a.reset()}),this.refetchQueries(n,t)))}cancelQueries(e={},t={}){const r=R({revert:!0},t),n=Cs.batch(()=>_e(this,xs).findAll(e).map(a=>a.cancel(r)));return Promise.all(n).then(Xo).catch(Xo)}invalidateQueries(e={},t={}){return Cs.batch(()=>{var n,a;if(_e(this,xs).findAll(e).forEach(o=>{o.invalidate()}),e.refetchType==="none")return Promise.resolve();const r=ee(R({},e),{type:(a=(n=e.refetchType)!=null?n:e.type)!=null?a:"active"});return this.refetchQueries(r,t)})}refetchQueries(e={},t){var a;const r=ee(R({},t),{cancelRefetch:(a=t==null?void 0:t.cancelRefetch)!=null?a:!0}),n=Cs.batch(()=>_e(this,xs).findAll(e).filter(o=>!o.isDisabled()).map(o=>{let i=o.fetch(void 0,r);return r.throwOnError||(i=i.catch(Xo)),o.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(n).then(Xo)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const r=_e(this,xs).build(this,t);return r.isStaleByTime(t.staleTime)?r.fetch(t):Promise.resolve(r.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Xo).catch(Xo)}fetchInfiniteQuery(e){return e.behavior=d3(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Xo).catch(Xo)}resumePausedMutations(){return yb.isOnline()?_e(this,ju).resumePausedMutations():Promise.resolve()}getQueryCache(){return _e(this,xs)}getMutationCache(){return _e(this,ju)}getDefaultOptions(){return _e(this,Eu)}setDefaultOptions(e){Lt(this,Eu,e)}setQueryDefaults(e,t){_e(this,Kp).set(yf(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[..._e(this,Kp).values()];let r={};return t.forEach(n=>{nv(e,n.queryKey)&&(r=R(R({},r),n.defaultOptions))}),r}setMutationDefaults(e,t){_e(this,Gp).set(yf(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[..._e(this,Gp).values()];let r={};return t.forEach(n=>{nv(e,n.mutationKey)&&(r=R(R({},r),n.defaultOptions))}),r}defaultQueryOptions(e){if(e._defaulted)return e;const t=ee(R(R(R({},_e(this,Eu).queries),this.getQueryDefaults(e.queryKey)),e),{_defaulted:!0});return t.queryHash||(t.queryHash=fE(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.enabled!==!0&&t.queryFn===hE&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:ee(R(R(R({},_e(this,Eu).mutations),(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey)),e),{_defaulted:!0})}clear(){_e(this,xs).clear(),_e(this,ju).clear()}},xs=new WeakMap,ju=new WeakMap,Eu=new WeakMap,Kp=new WeakMap,Gp=new WeakMap,Nu=new WeakMap,Yp=new WeakMap,Zp=new WeakMap,ZR),Qa,jn,r1,Ma,nf,Xp,xl,n1,Qp,Jp,sf,af,_u,em,of,mg,s1,h3,a1,p3,o1,m3,i1,g3,l1,v3,c1,x3,u1,y3,lw,vL,XR,gL=(XR=class extends Pm{constructor(t,r){super();Bt(this,of);Bt(this,s1);Bt(this,a1);Bt(this,o1);Bt(this,i1);Bt(this,l1);Bt(this,c1);Bt(this,u1);Bt(this,lw);Bt(this,Qa,void 0);Bt(this,jn,void 0);Bt(this,r1,void 0);Bt(this,Ma,void 0);Bt(this,nf,void 0);Bt(this,Xp,void 0);Bt(this,xl,void 0);Bt(this,n1,void 0);Bt(this,Qp,void 0);Bt(this,Jp,void 0);Bt(this,sf,void 0);Bt(this,af,void 0);Bt(this,_u,void 0);Bt(this,em,new Set);this.options=r,Lt(this,Qa,t),Lt(this,xl,null),this.bindMethods(),this.setOptions(r)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(_e(this,jn).addObserver(this),a7(_e(this,jn),this.options)?wr(this,of,mg).call(this):this.updateResult(),wr(this,i1,g3).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return b3(_e(this,jn),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return b3(_e(this,jn),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,wr(this,l1,v3).call(this),wr(this,c1,x3).call(this),_e(this,jn).removeObserver(this)}setOptions(t,r){const n=this.options,a=_e(this,jn);if(this.options=_e(this,Qa).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean")throw new Error("Expected enabled to be a boolean");wr(this,u1,y3).call(this),vb(this.options,n)||_e(this,Qa).getQueryCache().notify({type:"observerOptionsUpdated",query:_e(this,jn),observer:this});const o=this.hasListeners();o&&o7(_e(this,jn),a,this.options,n)&&wr(this,of,mg).call(this),this.updateResult(r),o&&(_e(this,jn)!==a||this.options.enabled!==n.enabled||this.options.staleTime!==n.staleTime)&&wr(this,s1,h3).call(this);const i=wr(this,a1,p3).call(this);o&&(_e(this,jn)!==a||this.options.enabled!==n.enabled||i!==_e(this,_u))&&wr(this,o1,m3).call(this,i)}getOptimisticResult(t){const r=_e(this,Qa).getQueryCache().build(_e(this,Qa),t),n=this.createResult(r,t);return xY(this,n)&&(Lt(this,Ma,n),Lt(this,Xp,this.options),Lt(this,nf,_e(this,jn).state)),n}getCurrentResult(){return _e(this,Ma)}trackResult(t,r){const n={};return Object.keys(t).forEach(a=>{Object.defineProperty(n,a,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(a),r==null||r(a),t[a])})}),n}trackProp(t){_e(this,em).add(t)}getCurrentQuery(){return _e(this,jn)}refetch(r={}){var t=ke(r,[]);return this.fetch(R({},t))}fetchOptimistic(t){const r=_e(this,Qa).defaultQueryOptions(t),n=_e(this,Qa).getQueryCache().build(_e(this,Qa),r);return n.isFetchingOptimistic=!0,n.fetch().then(()=>this.createResult(n,r))}fetch(t){var r;return wr(this,of,mg).call(this,ee(R({},t),{cancelRefetch:(r=t.cancelRefetch)!=null?r:!0})).then(()=>(this.updateResult(),_e(this,Ma)))}createResult(t,r){var M;const n=_e(this,jn),a=this.options,o=_e(this,Ma),i=_e(this,nf),c=_e(this,Xp),f=t!==n?t.state:_e(this,r1),{state:h}=t;let{error:m,errorUpdatedAt:v,fetchStatus:S,status:w}=h,g=!1,b;if(r._optimisticResults){const D=this.hasListeners(),L=!D&&a7(t,r),z=D&&o7(t,n,r,a);(L||z)&&(S=fw(t.options.networkMode)?"fetching":"paused",h.data===void 0&&(w="pending")),r._optimisticResults==="isRestoring"&&(S="idle")}if(r.select&&h.data!==void 0)if(o&&h.data===(i==null?void 0:i.data)&&r.select===_e(this,n1))b=_e(this,Qp);else try{Lt(this,n1,r.select),b=r.select(h.data),b=u3(o==null?void 0:o.data,b,r),Lt(this,Qp,b),Lt(this,xl,null)}catch(D){Lt(this,xl,D)}else b=h.data;if(r.placeholderData!==void 0&&b===void 0&&w==="pending"){let D;if(o!=null&&o.isPlaceholderData&&r.placeholderData===(c==null?void 0:c.placeholderData))D=o.data;else if(D=typeof r.placeholderData=="function"?r.placeholderData((M=_e(this,Jp))==null?void 0:M.state.data,_e(this,Jp)):r.placeholderData,r.select&&D!==void 0)try{D=r.select(D),Lt(this,xl,null)}catch(L){Lt(this,xl,L)}D!==void 0&&(w="success",b=u3(o==null?void 0:o.data,D,r),g=!0)}_e(this,xl)&&(m=_e(this,xl),b=_e(this,Qp),v=Date.now(),w="error");const C=S==="fetching",j=w==="pending",E=w==="error",N=j&&C,T=h.data!==void 0;return{status:w,fetchStatus:S,isPending:j,isSuccess:w==="success",isError:E,isInitialLoading:N,isLoading:N,data:b,dataUpdatedAt:h.dataUpdatedAt,error:m,errorUpdatedAt:v,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>f.dataUpdateCount||h.errorUpdateCount>f.errorUpdateCount,isFetching:C,isRefetching:C&&!j,isLoadingError:E&&!T,isPaused:S==="paused",isPlaceholderData:g,isRefetchError:E&&T,isStale:pE(t,r),refetch:this.refetch}}updateResult(t){const r=_e(this,Ma),n=this.createResult(_e(this,jn),this.options);if(Lt(this,nf,_e(this,jn).state),Lt(this,Xp,this.options),_e(this,nf).data!==void 0&&Lt(this,Jp,_e(this,jn)),vb(n,r))return;Lt(this,Ma,n);const a={},o=()=>{if(!r)return!0;const{notifyOnChangeProps:i}=this.options,c=typeof i=="function"?i():i;if(c==="all"||!c&&!_e(this,em).size)return!0;const u=new Set(c!=null?c:_e(this,em));return this.options.throwOnError&&u.add("error"),Object.keys(_e(this,Ma)).some(f=>{const h=f;return _e(this,Ma)[h]!==r[h]&&u.has(h)})};(t==null?void 0:t.listeners)!==!1&&o()&&(a.listeners=!0),wr(this,lw,vL).call(this,R(R({},a),t))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&wr(this,i1,g3).call(this)}},Qa=new WeakMap,jn=new WeakMap,r1=new WeakMap,Ma=new WeakMap,nf=new WeakMap,Xp=new WeakMap,xl=new WeakMap,n1=new WeakMap,Qp=new WeakMap,Jp=new WeakMap,sf=new WeakMap,af=new WeakMap,_u=new WeakMap,em=new WeakMap,of=new WeakSet,mg=function(t){wr(this,u1,y3).call(this);let r=_e(this,jn).fetch(this.options,t);return t!=null&&t.throwOnError||(r=r.catch(Xo)),r},s1=new WeakSet,h3=function(){if(wr(this,l1,v3).call(this),rm||_e(this,Ma).isStale||!l3(this.options.staleTime))return;const r=cL(_e(this,Ma).dataUpdatedAt,this.options.staleTime)+1;Lt(this,sf,setTimeout(()=>{_e(this,Ma).isStale||this.updateResult()},r))},a1=new WeakSet,p3=function(){var t;return(t=typeof this.options.refetchInterval=="function"?this.options.refetchInterval(_e(this,jn)):this.options.refetchInterval)!=null?t:!1},o1=new WeakSet,m3=function(t){wr(this,c1,x3).call(this),Lt(this,_u,t),!(rm||this.options.enabled===!1||!l3(_e(this,_u))||_e(this,_u)===0)&&Lt(this,af,setInterval(()=>{(this.options.refetchIntervalInBackground||xb.isFocused())&&wr(this,of,mg).call(this)},_e(this,_u)))},i1=new WeakSet,g3=function(){wr(this,s1,h3).call(this),wr(this,o1,m3).call(this,wr(this,a1,p3).call(this))},l1=new WeakSet,v3=function(){_e(this,sf)&&(clearTimeout(_e(this,sf)),Lt(this,sf,void 0))},c1=new WeakSet,x3=function(){_e(this,af)&&(clearInterval(_e(this,af)),Lt(this,af,void 0))},u1=new WeakSet,y3=function(){const t=_e(this,Qa).getQueryCache().build(_e(this,Qa),this.options);if(t===_e(this,jn))return;const r=_e(this,jn);Lt(this,jn,t),Lt(this,r1,t.state),this.hasListeners()&&(r==null||r.removeObserver(this),t.addObserver(this))},lw=new WeakSet,vL=function(t){Cs.batch(()=>{t.listeners&&this.listeners.forEach(r=>{r(_e(this,Ma))}),_e(this,Qa).getQueryCache().notify({query:_e(this,jn),type:"observerResultsUpdated"})})},XR);function vY(e,t){return t.enabled!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function a7(e,t){return vY(e,t)||e.state.data!==void 0&&b3(e,t,t.refetchOnMount)}function b3(e,t,r){if(t.enabled!==!1){const n=typeof r=="function"?r(e):r;return n==="always"||n!==!1&&pE(e,t)}return!1}function o7(e,t,r,n){return r.enabled!==!1&&(e!==t||n.enabled===!1)&&(!r.suspense||e.state.status!=="error")&&pE(e,r)}function pE(e,t){return e.isStaleByTime(t.staleTime)}function xY(e,t){return!vb(e.getCurrentResult(),t)}var yY=class extends gL{constructor(e,t){super(e,t)}bindMethods(){super.bindMethods(),this.fetchNextPage=this.fetchNextPage.bind(this),this.fetchPreviousPage=this.fetchPreviousPage.bind(this)}setOptions(e,t){super.setOptions(ee(R({},e),{behavior:d3()}),t)}getOptimisticResult(e){return e.behavior=d3(),super.getOptimisticResult(e)}fetchNextPage(e){return this.fetch(ee(R({},e),{meta:{fetchMore:{direction:"forward"}}}))}fetchPreviousPage(e){return this.fetch(ee(R({},e),{meta:{fetchMore:{direction:"backward"}}}))}createResult(e,t){var u,f,h,m;const{state:r}=e,n=super.createResult(e,t),{isFetching:a,isRefetching:o}=n,i=a&&((f=(u=r.fetchMeta)==null?void 0:u.fetchMore)==null?void 0:f.direction)==="forward",c=a&&((m=(h=r.fetchMeta)==null?void 0:h.fetchMore)==null?void 0:m.direction)==="backward";return ee(R({},n),{fetchNextPage:this.fetchNextPage,fetchPreviousPage:this.fetchPreviousPage,hasNextPage:pY(t,r.data),hasPreviousPage:mY(t,r.data),isFetchingNextPage:i,isFetchingPreviousPage:c,isRefetching:o&&!i&&!c})}},Tu,Pu,Eo,lc,tm,Hy,d1,w3,QR,bY=(QR=class extends Pm{constructor(r,n){super();Bt(this,tm);Bt(this,d1);Bt(this,Tu,void 0);Bt(this,Pu,void 0);Bt(this,Eo,void 0);Bt(this,lc,void 0);Lt(this,Tu,r),this.setOptions(n),this.bindMethods(),wr(this,tm,Hy).call(this)}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(r){var a;const n=this.options;this.options=_e(this,Tu).defaultMutationOptions(r),vb(this.options,n)||_e(this,Tu).getMutationCache().notify({type:"observerOptionsUpdated",mutation:_e(this,Eo),observer:this}),n!=null&&n.mutationKey&&this.options.mutationKey&&yf(n.mutationKey)!==yf(this.options.mutationKey)?this.reset():(a=_e(this,Eo))==null||a.setOptions(this.options)}onUnsubscribe(){var r;this.hasListeners()||(r=_e(this,Eo))==null||r.removeObserver(this)}onMutationUpdate(r){wr(this,tm,Hy).call(this),wr(this,d1,w3).call(this,r)}getCurrentResult(){return _e(this,Pu)}reset(){var r;(r=_e(this,Eo))==null||r.removeObserver(this),Lt(this,Eo,void 0),wr(this,tm,Hy).call(this),wr(this,d1,w3).call(this)}mutate(r,n){var a;return Lt(this,lc,n),(a=_e(this,Eo))==null||a.removeObserver(this),Lt(this,Eo,_e(this,Tu).getMutationCache().build(_e(this,Tu),this.options)),_e(this,Eo).addObserver(this),_e(this,Eo).execute(r)}},Tu=new WeakMap,Pu=new WeakMap,Eo=new WeakMap,lc=new WeakMap,tm=new WeakSet,Hy=function(){var n,a;const r=(a=(n=_e(this,Eo))==null?void 0:n.state)!=null?a:pL();Lt(this,Pu,ee(R({},r),{isPending:r.status==="pending",isSuccess:r.status==="success",isError:r.status==="error",isIdle:r.status==="idle",mutate:this.mutate,reset:this.reset}))},d1=new WeakSet,w3=function(r){Cs.batch(()=>{var n,a,o,i,c,u,f,h;if(_e(this,lc)&&this.hasListeners()){const m=_e(this,Pu).variables,v=_e(this,Pu).context;(r==null?void 0:r.type)==="success"?((a=(n=_e(this,lc)).onSuccess)==null||a.call(n,r.data,m,v),(i=(o=_e(this,lc)).onSettled)==null||i.call(o,r.data,null,m,v)):(r==null?void 0:r.type)==="error"&&((u=(c=_e(this,lc)).onError)==null||u.call(c,r.error,m,v),(h=(f=_e(this,lc)).onSettled)==null||h.call(f,void 0,r.error,m,v))}this.listeners.forEach(m=>{m(_e(this,Pu))})})},QR),xL=p.createContext(void 0),gr=e=>{const t=p.useContext(xL);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},wY=({client:e,children:t})=>(p.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),s.jsx(xL.Provider,{value:e,children:t})),yL=p.createContext(!1),kY=()=>p.useContext(yL);yL.Provider;function CY(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var SY=p.createContext(CY()),jY=()=>p.useContext(SY);function bL(e,t){return typeof e=="function"?e(...t):!!e}function EY(){}var NY=(e,t)=>{(e.suspense||e.throwOnError)&&(t.isReset()||(e.retryOnMount=!1))},_Y=e=>{p.useEffect(()=>{e.clearReset()},[e])},TY=({result:e,errorResetBoundary:t,throwOnError:r,query:n})=>e.isError&&!t.isReset()&&!e.isFetching&&n&&bL(r,[e.error,n]),PY=e=>{e.suspense&&typeof e.staleTime!="number"&&(e.staleTime=1e3)},MY=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,DY=(e,t,r)=>t.fetchOptimistic(e).catch(()=>{r.clearReset()});function wL(e,t,r){const n=gr(r),a=kY(),o=jY(),i=n.defaultQueryOptions(e);i._optimisticResults=a?"isRestoring":"optimistic",PY(i),NY(i,o),_Y(o);const[c]=p.useState(()=>new t(n,i)),u=c.getOptimisticResult(i);if(p.useSyncExternalStore(p.useCallback(f=>{const h=a?()=>{}:c.subscribe(Cs.batchCalls(f));return c.updateResult(),h},[c,a]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),p.useEffect(()=>{c.setOptions(i,{listeners:!1})},[i,c]),MY(i,u))throw DY(i,c,o);if(TY({result:u,errorResetBoundary:o,throwOnError:i.throwOnError,query:n.getQueryCache().get(i.queryHash)}))throw u.error;return i.notifyOnChangeProps?u:c.trackResult(u)}function AY(e,t){return wL(e,gL,t)}function RY(e,t){const r=gr(t),[n]=p.useState(()=>new bY(r,e));p.useEffect(()=>{n.setOptions(e)},[n,e]);const a=p.useSyncExternalStore(p.useCallback(i=>n.subscribe(Cs.batchCalls(i)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),o=p.useCallback((i,c)=>{n.mutate(i,c).catch(EY)},[n]);if(a.error&&bL(n.options.throwOnError,[a.error]))throw a.error;return ee(R({},a),{mutate:o,mutateAsync:a.mutate})}function LY(e,t){return wL(e,yY,t)}var IY=function(){return null},OY={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const i7=1e3*60,$Y="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",kL=OY.VITE_ENABLE_REACT_QUERY_DEVTOOLS,zY=3;var CL={exports:{}},Bo={},SL={exports:{}},jL={};/** * @license React * scheduler.production.min.js * @@ -28,7 +28,7 @@ var jG=Object.defineProperty,EG=Object.defineProperties;var NG=Object.getOwnProp * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function t(K,Y){var B=K.length;K.push(Y);e:for(;0>>1,G=K[F];if(0>>1;Fa(re,B))iea(oe,re)?(K[F]=oe,K[ie]=B,F=ie):(K[F]=re,K[se]=B,F=se);else if(iea(oe,B))K[F]=oe,K[ie]=B,F=ie;else break e}}return Y}function a(K,Y){var B=K.sortIndex-Y.sortIndex;return B!==0?B:K.id-Y.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,c=i.now();e.unstable_now=function(){return i.now()-c}}var u=[],f=[],h=1,m=null,v=3,S=!1,w=!1,g=!1,b=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(K){for(var Y=r(f);Y!==null;){if(Y.callback===null)n(f);else if(Y.startTime<=K)n(f),Y.sortIndex=Y.expirationTime,t(u,Y);else break;Y=r(f)}}function N(K){if(g=!1,E(K),!w)if(r(u)!==null)w=!0,$(T);else{var Y=r(f);Y!==null&&U(N,Y.startTime-K)}}function T(K,Y){w=!1,g&&(g=!1,C(D),D=-1),S=!0;var B=v;try{for(E(Y),m=r(u);m!==null&&(!(m.expirationTime>Y)||K&&!H());){var F=m.callback;if(typeof F=="function"){m.callback=null,v=m.priorityLevel;var G=F(m.expirationTime<=Y);Y=e.unstable_now(),typeof G=="function"?m.callback=G:m===r(u)&&n(u),E(Y)}else n(u);m=r(u)}if(m!==null)var X=!0;else{var se=r(f);se!==null&&U(N,se.startTime-Y),X=!1}return X}finally{m=null,v=B,S=!1}}var A=!1,M=null,D=-1,L=5,z=-1;function H(){return!(e.unstable_now()-zK||125F?(K.sortIndex=B,t(f,K),r(u)===null&&K===r(f)&&(g?(C(D),D=-1):g=!0,U(N,B-F))):(K.sortIndex=G,t(u,K),w||S||(w=!0,$(T))),K},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(K){var Y=v;return function(){var B=v;v=Y;try{return K.apply(this,arguments)}finally{v=B}}}})(SL);CL.exports=SL;var $Y=CL.exports;/** + */(function(e){function t(K,Y){var B=K.length;K.push(Y);e:for(;0>>1,G=K[F];if(0>>1;Fa(re,B))iea(oe,re)?(K[F]=oe,K[ie]=B,F=ie):(K[F]=re,K[se]=B,F=se);else if(iea(oe,B))K[F]=oe,K[ie]=B,F=ie;else break e}}return Y}function a(K,Y){var B=K.sortIndex-Y.sortIndex;return B!==0?B:K.id-Y.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,c=i.now();e.unstable_now=function(){return i.now()-c}}var u=[],f=[],h=1,m=null,v=3,S=!1,w=!1,g=!1,b=typeof setTimeout=="function"?setTimeout:null,C=typeof clearTimeout=="function"?clearTimeout:null,j=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function E(K){for(var Y=r(f);Y!==null;){if(Y.callback===null)n(f);else if(Y.startTime<=K)n(f),Y.sortIndex=Y.expirationTime,t(u,Y);else break;Y=r(f)}}function N(K){if(g=!1,E(K),!w)if(r(u)!==null)w=!0,$(T);else{var Y=r(f);Y!==null&&U(N,Y.startTime-K)}}function T(K,Y){w=!1,g&&(g=!1,C(D),D=-1),S=!0;var B=v;try{for(E(Y),m=r(u);m!==null&&(!(m.expirationTime>Y)||K&&!H());){var F=m.callback;if(typeof F=="function"){m.callback=null,v=m.priorityLevel;var G=F(m.expirationTime<=Y);Y=e.unstable_now(),typeof G=="function"?m.callback=G:m===r(u)&&n(u),E(Y)}else n(u);m=r(u)}if(m!==null)var X=!0;else{var se=r(f);se!==null&&U(N,se.startTime-Y),X=!1}return X}finally{m=null,v=B,S=!1}}var A=!1,M=null,D=-1,L=5,z=-1;function H(){return!(e.unstable_now()-zK||125F?(K.sortIndex=B,t(f,K),r(u)===null&&K===r(f)&&(g?(C(D),D=-1):g=!0,U(N,B-F))):(K.sortIndex=G,t(u,K),w||S||(w=!0,$(T))),K},e.unstable_shouldYield=H,e.unstable_wrapCallback=function(K){var Y=v;return function(){var B=v;v=Y;try{return K.apply(this,arguments)}finally{v=B}}}})(jL);SL.exports=jL;var FY=SL.exports;/** * @license React * react-dom.production.min.js * @@ -36,7 +36,7 @@ var jG=Object.defineProperty,EG=Object.defineProperties;var NG=Object.getOwnProp * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var jL=p,Oo=$Y;function vt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;rt}return!1}function Ha(e,t,r,n,a,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ta={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ta[e]=new Ha(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ta[t]=new Ha(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ta[e]=new Ha(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ta[e]=new Ha(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ta[e]=new Ha(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ta[e]=new Ha(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ta[e]=new Ha(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ta[e]=new Ha(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ta[e]=new Ha(e,5,!1,e.toLowerCase(),null,!1,!1)});var hE=/[\-:]([a-z])/g;function pE(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(hE,pE);ta[t]=new Ha(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(hE,pE);ta[t]=new Ha(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(hE,pE);ta[t]=new Ha(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ta[e]=new Ha(e,1,!1,e.toLowerCase(),null,!1,!1)});ta.xlinkHref=new Ha("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ta[e]=new Ha(e,1,!1,e.toLowerCase(),null,!0,!0)});function mE(e,t,r,n){var a=ta.hasOwnProperty(t)?ta[t]:null;(a!==null?a.type!==0:n||!(2c||a[i]!==o[c]){var u="\n"+a[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=c);break}}}finally{JC=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?pg(e):""}function UY(e){switch(e.tag){case 5:return pg(e.type);case 16:return pg("Lazy");case 13:return pg("Suspense");case 19:return pg("SuspenseList");case 0:case 2:case 15:return e=e5(e.type,!1),e;case 11:return e=e5(e.type.render,!1),e;case 1:return e=e5(e.type,!0),e;default:return""}}function j3(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case rp:return"Fragment";case tp:return"Portal";case k3:return"Profiler";case gE:return"StrictMode";case C3:return"Suspense";case S3:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case _L:return(e.displayName||"Context")+".Consumer";case NL:return(e._context.displayName||"Context")+".Provider";case vE:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case xE:return t=e.displayName||null,t!==null?t:j3(e.type)||"Memo";case su:t=e._payload,e=e._init;try{return j3(e(t))}catch(r){}}return null}function WY(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return j3(t);case 8:return t===gE?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function qu(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function PL(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function VY(e){var t=PL(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r!="undefined"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(i){n=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function _x(e){e._valueTracker||(e._valueTracker=VY(e))}function ML(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=PL(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function xb(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch(t){return e.body}}function E3(e,t){var r=t.checked;return Bn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function u7(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=qu(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function DL(e,t){t=t.checked,t!=null&&mE(e,"checked",t,!1)}function N3(e,t){DL(e,t);var r=qu(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?_3(e,t.type,r):t.hasOwnProperty("defaultValue")&&_3(e,t.type,qu(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function d7(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function _3(e,t,r){(t!=="number"||xb(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var mg=Array.isArray;function jp(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=Tx.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function nv(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var Eg={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},qY=["Webkit","ms","Moz","O"];Object.keys(Eg).forEach(function(e){qY.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),Eg[t]=Eg[e]})});function IL(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||Eg.hasOwnProperty(e)&&Eg[e]?(""+t).trim():t+"px"}function OL(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,a=IL(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}var KY=Bn({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function M3(e,t){if(t){if(KY[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(vt(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(vt(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(vt(61))}if(t.style!=null&&typeof t.style!="object")throw Error(vt(62))}}function D3(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var A3=null;function yE(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var R3=null,Ep=null,Np=null;function p7(e){if(e=h1(e)){if(typeof R3!="function")throw Error(vt(280));var t=e.stateNode;t&&(t=mw(t),R3(e.stateNode,e.type,t))}}function $L(e){Ep?Np?Np.push(e):Np=[e]:Ep=e}function zL(){if(Ep){var e=Ep,t=Np;if(Np=Ep=null,p7(e),t)for(e=0;e>>=0,e===0?32:31-(sZ(e)/aZ|0)|0}var Px=64,Mx=4194304;function gg(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function kb(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,a=e.suspendedLanes,o=e.pingedLanes,i=r&268435455;if(i!==0){var c=i&~a;c!==0?n=gg(c):(o&=i,o!==0&&(n=gg(o)))}else i=r&~a,i!==0?n=gg(i):o!==0&&(n=gg(o));if(n===0)return 0;if(t!==0&&t!==n&&!(t&a)&&(a=n&-n,o=t&-t,a>=o||a===16&&(o&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function d1(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Ui(t),e[t]=r}function cZ(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=_g),C7=" ",S7=!1;function aI(e,t){switch(e){case"keyup":return OZ.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function oI(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var np=!1;function zZ(e,t){switch(e){case"compositionend":return oI(t);case"keypress":return t.which!==32?null:(S7=!0,C7);case"textInput":return e=t.data,e===C7&&S7?null:e;default:return null}}function FZ(e,t){if(np)return e==="compositionend"||!NE&&aI(e,t)?(e=nI(),Hy=SE=Mu=null,np=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=_7(r)}}function uI(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?uI(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function dI(){for(var e=window,t=xb();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch(n){r=!1}if(r)e=t.contentWindow;else break;t=xb(e.document)}return t}function _E(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function YZ(e){var t=dI(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&uI(r.ownerDocument.documentElement,r)){if(n!==null&&_E(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var a=r.textContent.length,o=Math.min(n.start,a);n=n.end===void 0?o:Math.min(n.end,a),!e.extend&&o>n&&(a=n,n=o,o=a),a=T7(r,o);var i=T7(r,n);a&&i&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,sp=null,F3=null,Pg=null,H3=!1;function P7(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;H3||sp==null||sp!==xb(n)||(n=sp,"selectionStart"in n&&_E(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Pg&&cv(Pg,n)||(Pg=n,n=jb(F3,"onSelect"),0ip||(e.current=K3[ip],K3[ip]=null,ip--)}function yn(e,t){ip++,K3[ip]=e.current,e.current=t}var Ku={},ba=od(Ku),ao=od(!1),bf=Ku;function sm(e,t){var r=e.type.contextTypes;if(!r)return Ku;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in r)a[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function oo(e){return e=e.childContextTypes,e!=null}function Nb(){Nn(ao),Nn(ba)}function O7(e,t,r){if(ba.current!==Ku)throw Error(vt(168));yn(ba,t),yn(ao,r)}function bI(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var a in n)if(!(a in t))throw Error(vt(108,WY(e)||"Unknown",a));return Bn({},r,n)}function _b(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ku,bf=ba.current,yn(ba,e),yn(ao,ao.current),!0}function $7(e,t,r){var n=e.stateNode;if(!n)throw Error(vt(169));r?(e=bI(e,t,bf),n.__reactInternalMemoizedMergedChildContext=e,Nn(ao),Nn(ba),yn(ba,e)):Nn(ao),yn(ao,r)}var ec=null,gw=!1,p5=!1;function wI(e){ec===null?ec=[e]:ec.push(e)}function iX(e){gw=!0,wI(e)}function id(){if(!p5&&ec!==null){p5=!0;var e=0,t=fn;try{var r=ec;for(fn=1;e>=i,a-=i,ic=1<<32-Ui(t)+a|r<D?(L=M,M=null):L=M.sibling;var z=v(C,M,E[D],N);if(z===null){M===null&&(M=L);break}e&&M&&z.alternate===null&&t(C,M),j=o(z,j,D),A===null?T=z:A.sibling=z,A=z,M=L}if(D===E.length)return r(C,M),An&&_d(C,D),T;if(M===null){for(;DD?(L=M,M=null):L=M.sibling;var H=v(C,M,z.value,N);if(H===null){M===null&&(M=L);break}e&&M&&H.alternate===null&&t(C,M),j=o(H,j,D),A===null?T=H:A.sibling=H,A=H,M=L}if(z.done)return r(C,M),An&&_d(C,D),T;if(M===null){for(;!z.done;D++,z=E.next())z=m(C,z.value,N),z!==null&&(j=o(z,j,D),A===null?T=z:A.sibling=z,A=z);return An&&_d(C,D),T}for(M=n(C,M);!z.done;D++,z=E.next())z=S(M,C,D,z.value,N),z!==null&&(e&&z.alternate!==null&&M.delete(z.key===null?D:z.key),j=o(z,j,D),A===null?T=z:A.sibling=z,A=z);return e&&M.forEach(function(V){return t(C,V)}),An&&_d(C,D),T}function b(C,j,E,N){if(typeof E=="object"&&E!==null&&E.type===rp&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case Nx:e:{for(var T=E.key,A=j;A!==null;){if(A.key===T){if(T=E.type,T===rp){if(A.tag===7){r(C,A.sibling),j=a(A,E.props.children),j.return=C,C=j;break e}}else if(A.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===su&&V7(T)===A.type){r(C,A.sibling),j=a(A,E.props),j.ref=O0(C,A,E),j.return=C,C=j;break e}r(C,A);break}else t(C,A);A=A.sibling}E.type===rp?(j=cf(E.props.children,C.mode,N,E.key),j.return=C,C=j):(N=Yy(E.type,E.key,E.props,null,C.mode,N),N.ref=O0(C,j,E),N.return=C,C=N)}return i(C);case tp:e:{for(A=E.key;j!==null;){if(j.key===A)if(j.tag===4&&j.stateNode.containerInfo===E.containerInfo&&j.stateNode.implementation===E.implementation){r(C,j.sibling),j=a(j,E.children||[]),j.return=C,C=j;break e}else{r(C,j);break}else t(C,j);j=j.sibling}j=k5(E,C.mode,N),j.return=C,C=j}return i(C);case su:return A=E._init,b(C,j,A(E._payload),N)}if(mg(E))return w(C,j,E,N);if(D0(E))return g(C,j,E,N);$x(C,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,j!==null&&j.tag===6?(r(C,j.sibling),j=a(j,E),j.return=C,C=j):(r(C,j),j=w5(E,C.mode,N),j.return=C,C=j),i(C)):r(C,j)}return b}var om=TI(!0),PI=TI(!1),p1={},_l=od(p1),hv=od(p1),pv=od(p1);function Hd(e){if(e===p1)throw Error(vt(174));return e}function OE(e,t){switch(yn(pv,t),yn(hv,e),yn(_l,p1),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:P3(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=P3(t,e)}Nn(_l),yn(_l,t)}function im(){Nn(_l),Nn(hv),Nn(pv)}function MI(e){Hd(pv.current);var t=Hd(_l.current),r=P3(t,e.type);t!==r&&(yn(hv,e),yn(_l,r))}function $E(e){hv.current===e&&(Nn(_l),Nn(hv))}var $n=od(0);function Rb(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var m5=[];function zE(){for(var e=0;er?r:4,e(!0);var n=g5.transition;g5.transition={};try{e(!1),t()}finally{fn=r,g5.transition=n}}function KI(){return ui().memoizedState}function dX(e,t,r){var n=Bu(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},GI(e))YI(t,r);else if(r=jI(e,t,r,n),r!==null){var a=$a();Wi(r,e,n,a),ZI(r,t,n)}}function fX(e,t,r){var n=Bu(e),a={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(GI(e))YI(t,a);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,c=o(i,r);if(a.hasEagerState=!0,a.eagerState=c,Yi(c,i)){var u=t.interleaved;u===null?(a.next=a,LE(t)):(a.next=u.next,u.next=a),t.interleaved=a;return}}catch(f){}finally{}r=jI(e,t,a,n),r!==null&&(a=$a(),Wi(r,e,n,a),ZI(r,t,n))}}function GI(e){var t=e.alternate;return e===Hn||t!==null&&t===Hn}function YI(e,t){Mg=Lb=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function ZI(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,wE(e,r)}}var Ib={readContext:ci,useCallback:la,useContext:la,useEffect:la,useImperativeHandle:la,useInsertionEffect:la,useLayoutEffect:la,useMemo:la,useReducer:la,useRef:la,useState:la,useDebugValue:la,useDeferredValue:la,useTransition:la,useMutableSource:la,useSyncExternalStore:la,useId:la,unstable_isNewReconciler:!1},hX={readContext:ci,useCallback:function(e,t){return hl().memoizedState=[e,t===void 0?null:t],e},useContext:ci,useEffect:K7,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Vy(4194308,4,BI.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Vy(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vy(4,2,e,t)},useMemo:function(e,t){var r=hl();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=hl();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=dX.bind(null,Hn,e),[n.memoizedState,e]},useRef:function(e){var t=hl();return e={current:e},t.memoizedState=e},useState:q7,useDebugValue:WE,useDeferredValue:function(e){return hl().memoizedState=e},useTransition:function(){var e=q7(!1),t=e[0];return e=uX.bind(null,e[1]),hl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Hn,a=hl();if(An){if(r===void 0)throw Error(vt(407));r=r()}else{if(r=t(),Bs===null)throw Error(vt(349));kf&30||RI(n,t,r)}a.memoizedState=r;var o={value:r,getSnapshot:t};return a.queue=o,K7(II.bind(null,n,o,e),[e]),n.flags|=2048,vv(9,LI.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e=hl(),t=Bs.identifierPrefix;if(An){var r=lc,n=ic;r=(n&~(1<<32-Ui(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=mv++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[bl]=t,e[fv]=n,aO(e,t,!1,!1),t.stateNode=e;e:{switch(i=D3(r,n),r){case"dialog":Sn("cancel",e),Sn("close",e),a=n;break;case"iframe":case"object":case"embed":Sn("load",e),a=n;break;case"video":case"audio":for(a=0;acm&&(t.flags|=128,n=!0,$0(o,!1),t.lanes=4194304)}else{if(!n)if(e=Rb(i),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),$0(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!An)return ca(t),null}else 2*rs()-o.renderingStartTime>cm&&r!==1073741824&&(t.flags|=128,n=!0,$0(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(r=o.last,r!==null?r.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=rs(),t.sibling=null,r=$n.current,yn($n,n?r&1|2:r&1),t):(ca(t),null);case 22:case 23:return ZE(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?Eo&1073741824&&(ca(t),t.subtreeFlags&6&&(t.flags|=8192)):ca(t),null;case 24:return null;case 25:return null}throw Error(vt(156,t.tag))}function wX(e,t){switch(PE(t),t.tag){case 1:return oo(t.type)&&Nb(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return im(),Nn(ao),Nn(ba),zE(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return $E(t),null;case 13:if(Nn($n),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(vt(340));am()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Nn($n),null;case 4:return im(),null;case 10:return RE(t.type._context),null;case 22:case 23:return ZE(),null;case 24:return null;default:return null}}var Fx=!1,ha=!1,kX=typeof WeakSet=="function"?WeakSet:Set,zt=null;function dp(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Kn(e,t,n)}else r.current=null}function a4(e,t,r){try{r()}catch(n){Kn(e,t,n)}}var r9=!1;function CX(e,t){if(B3=Cb,e=dI(),_E(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var a=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch(N){r=null;break e}var i=0,c=-1,u=-1,f=0,h=0,m=e,v=null;t:for(;;){for(var S;m!==r||a!==0&&m.nodeType!==3||(c=i+a),m!==o||n!==0&&m.nodeType!==3||(u=i+n),m.nodeType===3&&(i+=m.nodeValue.length),(S=m.firstChild)!==null;)v=m,m=S;for(;;){if(m===e)break t;if(v===r&&++f===a&&(c=i),v===o&&++h===n&&(u=i),(S=m.nextSibling)!==null)break;m=v,v=m.parentNode}m=S}r=c===-1||u===-1?null:{start:c,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(U3={focusedElem:e,selectionRange:r},Cb=!1,zt=t;zt!==null;)if(t=zt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,zt=e;else for(;zt!==null;){t=zt;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var g=w.memoizedProps,b=w.memoizedState,C=t.stateNode,j=C.getSnapshotBeforeUpdate(t.elementType===t.type?g:Ei(t.type,g),b);C.__reactInternalSnapshotBeforeUpdate=j}break;case 3:var E=t.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(vt(163))}}catch(N){Kn(t,t.return,N)}if(e=t.sibling,e!==null){e.return=t.return,zt=e;break}zt=t.return}return w=r9,r9=!1,w}function Dg(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var a=n=n.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,o!==void 0&&a4(t,r,o)}a=a.next}while(a!==n)}}function yw(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function o4(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function lO(e){var t=e.alternate;t!==null&&(e.alternate=null,lO(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[bl],delete t[fv],delete t[q3],delete t[aX],delete t[oX])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function cO(e){return e.tag===5||e.tag===3||e.tag===4}function n9(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||cO(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function i4(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=Eb));else if(n!==4&&(e=e.child,e!==null))for(i4(e,t,r),e=e.sibling;e!==null;)i4(e,t,r),e=e.sibling}function l4(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(l4(e,t,r),e=e.sibling;e!==null;)l4(e,t,r),e=e.sibling}var Gs=null,Pi=!1;function qc(e,t,r){for(r=r.child;r!==null;)uO(e,t,r),r=r.sibling}function uO(e,t,r){if(Nl&&typeof Nl.onCommitFiberUnmount=="function")try{Nl.onCommitFiberUnmount(dw,r)}catch(c){}switch(r.tag){case 5:ha||dp(r,t);case 6:var n=Gs,a=Pi;Gs=null,qc(e,t,r),Gs=n,Pi=a,Gs!==null&&(Pi?(e=Gs,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Gs.removeChild(r.stateNode));break;case 18:Gs!==null&&(Pi?(e=Gs,r=r.stateNode,e.nodeType===8?h5(e.parentNode,r):e.nodeType===1&&h5(e,r),iv(e)):h5(Gs,r.stateNode));break;case 4:n=Gs,a=Pi,Gs=r.stateNode.containerInfo,Pi=!0,qc(e,t,r),Gs=n,Pi=a;break;case 0:case 11:case 14:case 15:if(!ha&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){a=n=n.next;do{var o=a,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&a4(r,t,i),a=a.next}while(a!==n)}qc(e,t,r);break;case 1:if(!ha&&(dp(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(c){Kn(r,t,c)}qc(e,t,r);break;case 21:qc(e,t,r);break;case 22:r.mode&1?(ha=(n=ha)||r.memoizedState!==null,qc(e,t,r),ha=n):qc(e,t,r);break;default:qc(e,t,r)}}function s9(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new kX),t.forEach(function(n){var a=DX.bind(null,e,n);r.has(n)||(r.add(n),n.then(a,a))})}}function Ci(e,t){var r=t.deletions;if(r!==null)for(var n=0;na&&(a=i),n&=~o}if(n=a,n=rs()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*jX(n/1960))-n,10e?16:e,Du===null)var n=!1;else{if(e=Du,Du=null,zb=0,Yr&6)throw Error(vt(331));var a=Yr;for(Yr|=4,zt=e.current;zt!==null;){var o=zt,i=o.child;if(zt.flags&16){var c=o.deletions;if(c!==null){for(var u=0;urs()-GE?lf(e,0):KE|=r),io(e,t)}function xO(e,t){t===0&&(e.mode&1?(t=Mx,Mx<<=1,!(Mx&130023424)&&(Mx=4194304)):t=1);var r=$a();e=bc(e,t),e!==null&&(d1(e,t,r),io(e,r))}function MX(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),xO(e,r)}function DX(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,a=e.memoizedState;a!==null&&(r=a.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(vt(314))}n!==null&&n.delete(t),xO(e,r)}var yO;yO=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||ao.current)so=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return so=!1,yX(e,t,r);so=!!(e.flags&131072)}else so=!1,An&&t.flags&1048576&&kI(t,Pb,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;qy(e,t),e=t.pendingProps;var a=sm(t,ba.current);Tp(t,r),a=HE(null,t,n,e,a,r);var o=BE();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,oo(n)?(o=!0,_b(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,IE(t),a.updater=vw,t.stateNode=a,a._reactInternals=t,Q3(t,n,e,r),t=t4(null,t,n,!0,o,r)):(t.tag=0,An&&o&&TE(t),Aa(null,t,a,r),t=t.child),t;case 16:n=t.elementType;e:{switch(qy(e,t),e=t.pendingProps,a=n._init,n=a(n._payload),t.type=n,a=t.tag=RX(n),e=Ei(n,e),a){case 0:t=e4(null,t,n,e,r);break e;case 1:t=J7(null,t,n,e,r);break e;case 11:t=X7(null,t,n,e,r);break e;case 14:t=Q7(null,t,n,Ei(n.type,e),r);break e}throw Error(vt(306,n,""))}return t;case 0:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Ei(n,a),e4(e,t,n,a,r);case 1:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Ei(n,a),J7(e,t,n,a,r);case 3:e:{if(rO(t),e===null)throw Error(vt(387));n=t.pendingProps,o=t.memoizedState,a=o.element,EI(e,t),Ab(t,n,null,r);var i=t.memoizedState;if(n=i.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=lm(Error(vt(423)),t),t=e9(e,t,n,r,a);break e}else if(n!==a){a=lm(Error(vt(424)),t),t=e9(e,t,n,r,a);break e}else for(Do=zu(t.stateNode.containerInfo.firstChild),Ao=t,An=!0,Ai=null,r=PI(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(am(),n===a){t=wc(e,t,r);break e}Aa(e,t,n,r)}t=t.child}return t;case 5:return MI(t),e===null&&Y3(t),n=t.type,a=t.pendingProps,o=e!==null?e.memoizedProps:null,i=a.children,W3(n,a)?i=null:o!==null&&W3(n,o)&&(t.flags|=32),tO(e,t),Aa(e,t,i,r),t.child;case 6:return e===null&&Y3(t),null;case 13:return nO(e,t,r);case 4:return OE(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=om(t,null,n,r):Aa(e,t,n,r),t.child;case 11:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Ei(n,a),X7(e,t,n,a,r);case 7:return Aa(e,t,t.pendingProps,r),t.child;case 8:return Aa(e,t,t.pendingProps.children,r),t.child;case 12:return Aa(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,yn(Mb,n._currentValue),n._currentValue=i,o!==null)if(Yi(o.value,i)){if(o.children===a.children&&!ao.current){t=wc(e,t,r);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){i=o.child;for(var u=c.firstContext;u!==null;){if(u.context===n){if(o.tag===1){u=dc(-1,r&-r),u.tag=2;var f=o.updateQueue;if(f!==null){f=f.shared;var h=f.pending;h===null?u.next=u:(u.next=h.next,h.next=u),f.pending=u}}o.lanes|=r,u=o.alternate,u!==null&&(u.lanes|=r),Z3(o.return,r,t),c.lanes|=r;break}u=u.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(vt(341));i.lanes|=r,c=i.alternate,c!==null&&(c.lanes|=r),Z3(i,r,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}Aa(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,n=t.pendingProps.children,Tp(t,r),a=ci(a),n=n(a),t.flags|=1,Aa(e,t,n,r),t.child;case 14:return n=t.type,a=Ei(n,t.pendingProps),a=Ei(n.type,a),Q7(e,t,n,a,r);case 15:return JI(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Ei(n,a),qy(e,t),t.tag=1,oo(n)?(e=!0,_b(t)):e=!1,Tp(t,r),_I(t,n,a),Q3(t,n,a,r),t4(null,t,n,!0,e,r);case 19:return sO(e,t,r);case 22:return eO(e,t,r)}throw Error(vt(156,t.tag))};function bO(e,t){return qL(e,t)}function AX(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function si(e,t,r,n){return new AX(e,t,r,n)}function QE(e){return e=e.prototype,!(!e||!e.isReactComponent)}function RX(e){if(typeof e=="function")return QE(e)?1:0;if(e!=null){if(e=e.$$typeof,e===vE)return 11;if(e===xE)return 14}return 2}function Uu(e,t){var r=e.alternate;return r===null?(r=si(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Yy(e,t,r,n,a,o){var i=2;if(n=e,typeof e=="function")QE(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case rp:return cf(r.children,a,o,t);case gE:i=8,a|=8;break;case k3:return e=si(12,r,t,a|2),e.elementType=k3,e.lanes=o,e;case C3:return e=si(13,r,t,a),e.elementType=C3,e.lanes=o,e;case S3:return e=si(19,r,t,a),e.elementType=S3,e.lanes=o,e;case TL:return ww(r,a,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case NL:i=10;break e;case _L:i=9;break e;case vE:i=11;break e;case xE:i=14;break e;case su:i=16,n=null;break e}throw Error(vt(130,e==null?e:typeof e,""))}return t=si(i,r,t,a),t.elementType=e,t.type=n,t.lanes=o,t}function cf(e,t,r,n){return e=si(7,e,n,t),e.lanes=r,e}function ww(e,t,r,n){return e=si(22,e,n,t),e.elementType=TL,e.lanes=r,e.stateNode={isHidden:!1},e}function w5(e,t,r){return e=si(6,e,null,t),e.lanes=r,e}function k5(e,t,r){return t=si(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function LX(e,t,r,n,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=r5(0),this.expirationTimes=r5(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=r5(0),this.identifierPrefix=n,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function JE(e,t,r,n,a,o,i,c,u){return e=new LX(e,t,r,c,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=si(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},IE(o),e}function IX(e,t,r){var n=3(t&&Reflect.deleteProperty(window,n),e==null?void 0:e(a)),writable:!1,configurable:!0}),r}function Fs(r){return pe(this,arguments,function*(e,t={}){return new Promise((n,a)=>{const o=h4(c=>{n(c),Reflect.deleteProperty(window,"_".concat(i))},!0),i=h4(c=>{a(c),Reflect.deleteProperty(window,"_".concat(o))},!0);window.__TAURI_IPC__(R({cmd:e,callback:o,error:i},t))})})}function uf(e,t="asset"){return window.__TAURI__.convertFileSrc(e,t)}function Kt(e){return pe(this,null,function*(){return Fs("tauri",e)})}function lo(e,t){return pe(this,null,function*(){var n,a;const r=typeof t=="string"?{title:t}:t;return Kt({__tauriModule:"Dialog",message:{cmd:"messageDialog",message:e.toString(),title:(n=r==null?void 0:r.title)==null?void 0:n.toString(),type:r==null?void 0:r.type,buttonLabel:(a=r==null?void 0:r.okLabel)==null?void 0:a.toString()}})})}function Bb(e,t){return pe(this,null,function*(){var n,a,o,i,c;const r=typeof t=="string"?{title:t}:t;return Kt({__tauriModule:"Dialog",message:{cmd:"confirmDialog",message:e.toString(),title:(n=r==null?void 0:r.title)==null?void 0:n.toString(),type:r==null?void 0:r.type,buttonLabels:[(o=(a=r==null?void 0:r.okLabel)==null?void 0:a.toString())!=null?o:"Ok",(c=(i=r==null?void 0:r.cancelLabel)==null?void 0:i.toString())!=null?c:"Cancel"]}})})}function NO(e,t){return pe(this,null,function*(){return Kt({__tauriModule:"Event",message:{cmd:"unlisten",event:e,eventId:t}})})}function _O(e,t,r){return pe(this,null,function*(){yield Kt({__tauriModule:"Event",message:{cmd:"emit",event:e,windowLabel:t,payload:r}})})}function n6(e,t,r){return pe(this,null,function*(){return Kt({__tauriModule:"Event",message:{cmd:"listen",event:e,windowLabel:t,handler:h4(r)}}).then(n=>()=>pe(this,null,function*(){return NO(e,n)}))})}function TO(e,t,r){return pe(this,null,function*(){return n6(e,t,n=>{r(n),NO(e,n.id).catch(()=>{})})})}var xs;(function(e){e.WINDOW_RESIZED="tauri://resize",e.WINDOW_MOVED="tauri://move",e.WINDOW_CLOSE_REQUESTED="tauri://close-requested",e.WINDOW_CREATED="tauri://window-created",e.WINDOW_DESTROYED="tauri://destroyed",e.WINDOW_FOCUS="tauri://focus",e.WINDOW_BLUR="tauri://blur",e.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",e.WINDOW_THEME_CHANGED="tauri://theme-changed",e.WINDOW_FILE_DROP="tauri://file-drop",e.WINDOW_FILE_DROP_HOVER="tauri://file-drop-hover",e.WINDOW_FILE_DROP_CANCELLED="tauri://file-drop-cancelled",e.MENU="tauri://menu",e.CHECK_UPDATE="tauri://update",e.UPDATE_AVAILABLE="tauri://update-available",e.INSTALL_UPDATE="tauri://update-install",e.STATUS_UPDATE="tauri://update-status",e.DOWNLOAD_PROGRESS="tauri://update-download-progress"})(xs||(xs={}));function Ri(e,t){return pe(this,null,function*(){return n6(e,null,t)})}function UX(e,t){return pe(this,null,function*(){return TO(e,null,t)})}function PO(e,t){return pe(this,null,function*(){return _O(e,void 0,t)})}function s6(){return navigator.appVersion.includes("Win")}s6();function WX(){return pe(this,null,function*(){return Kt({__tauriModule:"Os",message:{cmd:"platform"}})})}function VX(){return pe(this,null,function*(){return Kt({__tauriModule:"Os",message:{cmd:"version"}})})}function h9(){return pe(this,null,function*(){return Kt({__tauriModule:"Os",message:{cmd:"osType"}})})}class yv{constructor(t,r){this.type="Logical",this.width=t,this.height=r}}class p4{constructor(t,r){this.type="Physical",this.width=t,this.height=r}toLogical(t){return new yv(this.width/t,this.height/t)}}class qX{constructor(t,r){this.type="Logical",this.x=t,this.y=r}}class m4{constructor(t,r){this.type="Physical",this.x=t,this.y=r}toLogical(t){return new qX(this.x/t,this.y/t)}}var g4;(function(e){e[e.Critical=1]="Critical",e[e.Informational=2]="Informational"})(g4||(g4={}));function p9(){return window.__TAURI_METADATA__.__windows.map(e=>new jf(e.label,{skip:!0}))}const m9=["tauri://created","tauri://error"];class KX{constructor(t){this.label=t,this.listeners=Object.create(null)}listen(t,r){return pe(this,null,function*(){return this._handleTauriEvent(t,r)?Promise.resolve(()=>{const n=this.listeners[t];n.splice(n.indexOf(r),1)}):n6(t,this.label,r)})}once(t,r){return pe(this,null,function*(){return this._handleTauriEvent(t,r)?Promise.resolve(()=>{const n=this.listeners[t];n.splice(n.indexOf(r),1)}):TO(t,this.label,r)})}emit(t,r){return pe(this,null,function*(){if(m9.includes(t)){for(const n of this.listeners[t]||[])n({event:t,id:-1,windowLabel:this.label,payload:r});return Promise.resolve()}return _O(t,this.label,r)})}_handleTauriEvent(t,r){return m9.includes(t)?(t in this.listeners?this.listeners[t].push(r):this.listeners[t]=[r],!0):!1}}class GX extends KX{scaleFactor(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"scaleFactor"}}}})})}innerPosition(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"innerPosition"}}}}).then(({x:t,y:r})=>new m4(t,r))})}outerPosition(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"outerPosition"}}}}).then(({x:t,y:r})=>new m4(t,r))})}innerSize(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"innerSize"}}}}).then(({width:t,height:r})=>new p4(t,r))})}outerSize(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"outerSize"}}}}).then(({width:t,height:r})=>new p4(t,r))})}isFullscreen(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isFullscreen"}}}})})}isMinimized(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isMinimized"}}}})})}isMaximized(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isMaximized"}}}})})}isFocused(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isFocused"}}}})})}isDecorated(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isDecorated"}}}})})}isResizable(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isResizable"}}}})})}isMaximizable(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isMaximizable"}}}})})}isMinimizable(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isMinimizable"}}}})})}isClosable(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isClosable"}}}})})}isVisible(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isVisible"}}}})})}title(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"title"}}}})})}theme(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"theme"}}}})})}center(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"center"}}}})})}requestUserAttention(t){return pe(this,null,function*(){let r=null;return t&&(t===g4.Critical?r={type:"Critical"}:r={type:"Informational"}),Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"requestUserAttention",payload:r}}}})})}setResizable(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setResizable",payload:t}}}})})}setMaximizable(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setMaximizable",payload:t}}}})})}setMinimizable(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setMinimizable",payload:t}}}})})}setClosable(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setClosable",payload:t}}}})})}setTitle(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setTitle",payload:t}}}})})}maximize(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"maximize"}}}})})}unmaximize(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"unmaximize"}}}})})}toggleMaximize(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"toggleMaximize"}}}})})}minimize(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"minimize"}}}})})}unminimize(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"unminimize"}}}})})}show(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"show"}}}})})}hide(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"hide"}}}})})}close(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"close"}}}})})}setDecorations(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setDecorations",payload:t}}}})})}setAlwaysOnTop(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setAlwaysOnTop",payload:t}}}})})}setContentProtected(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setContentProtected",payload:t}}}})})}setSize(t){return pe(this,null,function*(){if(!t||t.type!=="Logical"&&t.type!=="Physical")throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setSize",payload:{type:t.type,data:{width:t.width,height:t.height}}}}}})})}setMinSize(t){return pe(this,null,function*(){if(t&&t.type!=="Logical"&&t.type!=="Physical")throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setMinSize",payload:t?{type:t.type,data:{width:t.width,height:t.height}}:null}}}})})}setMaxSize(t){return pe(this,null,function*(){if(t&&t.type!=="Logical"&&t.type!=="Physical")throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setMaxSize",payload:t?{type:t.type,data:{width:t.width,height:t.height}}:null}}}})})}setPosition(t){return pe(this,null,function*(){if(!t||t.type!=="Logical"&&t.type!=="Physical")throw new Error("the `position` argument must be either a LogicalPosition or a PhysicalPosition instance");return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setPosition",payload:{type:t.type,data:{x:t.x,y:t.y}}}}}})})}setFullscreen(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setFullscreen",payload:t}}}})})}setFocus(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setFocus"}}}})})}setIcon(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setIcon",payload:{icon:typeof t=="string"?t:Array.from(t)}}}}})})}setSkipTaskbar(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setSkipTaskbar",payload:t}}}})})}setCursorGrab(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setCursorGrab",payload:t}}}})})}setCursorVisible(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setCursorVisible",payload:t}}}})})}setCursorIcon(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setCursorIcon",payload:t}}}})})}setCursorPosition(t){return pe(this,null,function*(){if(!t||t.type!=="Logical"&&t.type!=="Physical")throw new Error("the `position` argument must be either a LogicalPosition or a PhysicalPosition instance");return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setCursorPosition",payload:{type:t.type,data:{x:t.x,y:t.y}}}}}})})}setIgnoreCursorEvents(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setIgnoreCursorEvents",payload:t}}}})})}startDragging(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"startDragging"}}}})})}onResized(t){return pe(this,null,function*(){return this.listen(xs.WINDOW_RESIZED,r=>{r.payload=XX(r.payload),t(r)})})}onMoved(t){return pe(this,null,function*(){return this.listen(xs.WINDOW_MOVED,r=>{r.payload=ZX(r.payload),t(r)})})}onCloseRequested(t){return pe(this,null,function*(){return this.listen(xs.WINDOW_CLOSE_REQUESTED,r=>{const n=new YX(r);Promise.resolve(t(n)).then(()=>{if(!n.isPreventDefault())return this.close()})})})}onFocusChanged(t){return pe(this,null,function*(){const r=yield this.listen(xs.WINDOW_FOCUS,a=>{t(ee(R({},a),{payload:!0}))}),n=yield this.listen(xs.WINDOW_BLUR,a=>{t(ee(R({},a),{payload:!1}))});return()=>{r(),n()}})}onScaleChanged(t){return pe(this,null,function*(){return this.listen(xs.WINDOW_SCALE_FACTOR_CHANGED,t)})}onMenuClicked(t){return pe(this,null,function*(){return this.listen(xs.MENU,t)})}onFileDropEvent(t){return pe(this,null,function*(){const r=yield this.listen(xs.WINDOW_FILE_DROP,o=>{t(ee(R({},o),{payload:{type:"drop",paths:o.payload}}))}),n=yield this.listen(xs.WINDOW_FILE_DROP_HOVER,o=>{t(ee(R({},o),{payload:{type:"hover",paths:o.payload}}))}),a=yield this.listen(xs.WINDOW_FILE_DROP_CANCELLED,o=>{t(ee(R({},o),{payload:{type:"cancel"}}))});return()=>{r(),n(),a()}})}onThemeChanged(t){return pe(this,null,function*(){return this.listen(xs.WINDOW_THEME_CHANGED,t)})}}class YX{constructor(t){this._preventDefault=!1,this.event=t.event,this.windowLabel=t.windowLabel,this.id=t.id}preventDefault(){this._preventDefault=!0}isPreventDefault(){return this._preventDefault}}class jf extends GX{constructor(t,r={}){super(t),r!=null&&r.skip||Kt({__tauriModule:"Window",message:{cmd:"createWebview",data:{options:R({label:t},r)}}}).then(()=>pe(this,null,function*(){return this.emit("tauri://created")})).catch(n=>pe(this,null,function*(){return this.emit("tauri://error",n)}))}static getByLabel(t){return p9().some(r=>r.label===t)?new jf(t,{skip:!0}):null}static getFocusedWindow(){return pe(this,null,function*(){for(const t of p9())if(yield t.isFocused())return t;return null})}}let vs;"__TAURI_METADATA__"in window?vs=new jf(window.__TAURI_METADATA__.__currentWindow.label,{skip:!0}):(console.warn('Could not find "window.__TAURI_METADATA__". The "appWindow" value will reference the "main" window label.\nNote that this is not an issue if running this frontend on a browser instead of a Tauri window.'),vs=new jf("main",{skip:!0}));function ZX(e){return new m4(e.x,e.y)}function XX(e){return new p4(e.width,e.height)}function g9(){return pe(this,null,function*(){return Kt({__tauriModule:"Clipboard",message:{cmd:"readText",data:null}})})}var v9;(function(e){e[e.Audio=1]="Audio",e[e.Cache=2]="Cache",e[e.Config=3]="Config",e[e.Data=4]="Data",e[e.LocalData=5]="LocalData",e[e.Desktop=6]="Desktop",e[e.Document=7]="Document",e[e.Download=8]="Download",e[e.Executable=9]="Executable",e[e.Font=10]="Font",e[e.Home=11]="Home",e[e.Picture=12]="Picture",e[e.Public=13]="Public",e[e.Runtime=14]="Runtime",e[e.Template=15]="Template",e[e.Video=16]="Video",e[e.Resource=17]="Resource",e[e.App=18]="App",e[e.Log=19]="Log",e[e.Temp=20]="Temp",e[e.AppConfig=21]="AppConfig",e[e.AppData=22]="AppData",e[e.AppLocalData=23]="AppLocalData",e[e.AppCache=24]="AppCache",e[e.AppLog=25]="AppLog"})(v9||(v9={}));var x9;(function(e){e[e.JSON=1]="JSON",e[e.Text=2]="Text",e[e.Binary=3]="Binary"})(x9||(x9={}));s6();s6();function MO(){return pe(this,null,function*(){return Kt({__tauriModule:"Process",message:{cmd:"relaunch"}})})}function Zi(e,t){return pe(this,null,function*(){return Kt({__tauriModule:"Shell",message:{cmd:"open",path:e,with:t}})})}function a6(e){return pe(this,null,function*(){return Ri(xs.STATUS_UPDATE,t=>{e(t==null?void 0:t.payload)})})}function QX(){return pe(this,null,function*(){let e;function t(){e&&e(),e=void 0}return new Promise((r,n)=>{function a(o){if(o.error){t(),n(o.error);return}o.status==="DONE"&&(t(),r())}a6(a).then(o=>{e=o}).catch(o=>{throw t(),o}),PO(xs.INSTALL_UPDATE).catch(o=>{throw t(),o})})})}function JX(){return pe(this,null,function*(){let e;function t(){e&&e(),e=void 0}return new Promise((r,n)=>{function a(i){t(),r({manifest:i,shouldUpdate:!0})}function o(i){if(i.error){t(),n(i.error);return}i.status==="UPTODATE"&&(t(),r({shouldUpdate:!1}))}UX(xs.UPDATE_AVAILABLE,i=>{a(i==null?void 0:i.payload)}).catch(i=>{throw t(),i}),a6(o).then(i=>{e=i}).catch(i=>{throw t(),i}),PO(xs.CHECK_UPDATE).catch(i=>{throw t(),i})})})}const Sr=Fs,DO="en",Ef=[{code:"en",name:"English",website:"www.pastebar.app",flag:"🇺🇸"},{code:"es",name:"Español",flag:"🇪🇸",website:"es.pastebar.app"},{code:"de",name:"Deutsch",flag:"🇩🇪",website:"de.pastebar.app"},{code:"fr",name:"Français",flag:"🇫🇷",website:"fr.pastebar.app"},{code:"it",name:"Italiano",flag:"🇮🇹",website:"it.pastebar.app"},{code:"ru",name:"Русский",website:"www.pastebar.ru",flag:"🇷🇺"},{code:"uk",name:"Українська",flag:"🇺🇦",website:"ua.pastebar.app"}];function Ew(){throw new Error("Cycle detected")}var eQ=Symbol.for("preact-signals");function o6(){if(Mp>1)Mp--;else{for(var e,t=!1;Lg!==void 0;){var r=Lg;for(Lg=void 0,v4++;r!==void 0;){var n=r.o;if(r.o=void 0,r.f&=-3,!(8&r.f)&&RO(r))try{r.c()}catch(a){t||(e=a,t=!0)}r=n}}if(v4=0,Mp--,t)throw e}}var qn=void 0,Lg=void 0,Mp=0,v4=0,Ub=0;function AO(e){if(qn!==void 0){var t=e.n;if(t===void 0||t.t!==qn)return t={i:0,S:e,p:qn.s,n:void 0,t:qn,e:void 0,x:void 0,r:t},qn.s!==void 0&&(qn.s.n=t),qn.s=t,e.n=t,32&qn.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=qn.s,t.n=void 0,qn.s.n=t,qn.s=t),t}}function na(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}na.prototype.brand=eQ;na.prototype.h=function(){return!0};na.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)};na.prototype.U=function(e){if(this.t!==void 0){var t=e.e,r=e.x;t!==void 0&&(t.x=r,e.e=void 0),r!==void 0&&(r.e=t,e.x=void 0),e===this.t&&(this.t=r)}};na.prototype.subscribe=function(e){var t=this;return $O(function(){var r=t.value,n=32&this.f;this.f&=-33;try{e(r)}finally{this.f|=n}})};na.prototype.valueOf=function(){return this.value};na.prototype.toString=function(){return this.value+""};na.prototype.toJSON=function(){return this.value};na.prototype.peek=function(){return this.v};Object.defineProperty(na.prototype,"value",{get:function(){var e=AO(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(qn instanceof Kf&&function(){throw new Error("Computed cannot have side-effects")}(),e!==this.v){v4>100&&Ew(),this.v=e,this.i++,Ub++,Mp++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{o6()}}}});function wt(e){return new na(e)}function RO(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function LO(e){for(var t=e.s;t!==void 0;t=t.n){var r=t.S.n;if(r!==void 0&&(t.r=r),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function IO(e){for(var t=e.s,r=void 0;t!==void 0;){var n=t.p;t.i===-1?(t.S.U(t),n!==void 0&&(n.n=t.n),t.n!==void 0&&(t.n.p=n)):r=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=n}e.s=r}function Kf(e){na.call(this,void 0),this.x=e,this.s=void 0,this.g=Ub-1,this.f=4}(Kf.prototype=new na).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Ub))return!0;if(this.g=Ub,this.f|=1,this.i>0&&!RO(this))return this.f&=-2,!0;var e=qn;try{LO(this),qn=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(r){this.v=r,this.f|=16,this.i++}return qn=e,IO(this),this.f&=-2,!0};Kf.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}na.prototype.S.call(this,e)};Kf.prototype.U=function(e){if(this.t!==void 0&&(na.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}};Kf.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Kf.prototype.peek=function(){if(this.h()||Ew(),16&this.f)throw this.v;return this.v};Object.defineProperty(Kf.prototype,"value",{get:function(){1&this.f&&Ew();var e=AO(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function OO(e){var t=e.u;if(e.u=void 0,typeof t=="function"){Mp++;var r=qn;qn=void 0;try{t()}catch(n){throw e.f&=-2,e.f|=8,i6(e),n}finally{qn=r,o6()}}}function i6(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,OO(e)}function tQ(e){if(qn!==this)throw new Error("Out-of-order effect");IO(this),qn=e,this.f&=-2,8&this.f&&i6(this),o6()}function m1(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}m1.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}};m1.prototype.S=function(){1&this.f&&Ew(),this.f|=1,this.f&=-9,OO(this),LO(this),Mp++;var e=qn;return qn=this,tQ.bind(this,e)};m1.prototype.N=function(){2&this.f||(this.f|=2,this.o=Lg,Lg=this)};m1.prototype.d=function(){this.f|=8,1&this.f||i6(this)};function $O(e){var t=new m1(e);try{t.c()}catch(r){throw t.d(),r}return t.d.bind(t)}var zO={exports:{}},FO={};/** + */var EL=p,$o=FY;function vt(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;rt}return!1}function Ba(e,t,r,n,a,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var ta={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){ta[e]=new Ba(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];ta[t]=new Ba(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){ta[e]=new Ba(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){ta[e]=new Ba(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){ta[e]=new Ba(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){ta[e]=new Ba(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){ta[e]=new Ba(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){ta[e]=new Ba(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){ta[e]=new Ba(e,5,!1,e.toLowerCase(),null,!1,!1)});var mE=/[\-:]([a-z])/g;function gE(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(mE,gE);ta[t]=new Ba(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(mE,gE);ta[t]=new Ba(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(mE,gE);ta[t]=new Ba(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){ta[e]=new Ba(e,1,!1,e.toLowerCase(),null,!1,!1)});ta.xlinkHref=new Ba("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){ta[e]=new Ba(e,1,!1,e.toLowerCase(),null,!0,!0)});function vE(e,t,r,n){var a=ta.hasOwnProperty(t)?ta[t]:null;(a!==null?a.type!==0:n||!(2c||a[i]!==o[c]){var u="\n"+a[i].replace(" at new "," at ");return e.displayName&&u.includes("")&&(u=u.replace("",e.displayName)),u}while(1<=i&&0<=c);break}}}finally{e5=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?gg(e):""}function VY(e){switch(e.tag){case 5:return gg(e.type);case 16:return gg("Lazy");case 13:return gg("Suspense");case 19:return gg("SuspenseList");case 0:case 2:case 15:return e=t5(e.type,!1),e;case 11:return e=t5(e.type.render,!1),e;case 1:return e=t5(e.type,!0),e;default:return""}}function E3(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case rp:return"Fragment";case tp:return"Portal";case C3:return"Profiler";case xE:return"StrictMode";case S3:return"Suspense";case j3:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case TL:return(e.displayName||"Context")+".Consumer";case _L:return(e._context.displayName||"Context")+".Provider";case yE:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case bE:return t=e.displayName||null,t!==null?t:E3(e.type)||"Memo";case su:t=e._payload,e=e._init;try{return E3(e(t))}catch(r){}}return null}function qY(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return E3(t);case 8:return t===xE?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function qu(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function ML(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function KY(e){var t=ML(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r!="undefined"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(i){n=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Px(e){e._valueTracker||(e._valueTracker=KY(e))}function DL(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=ML(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function bb(e){if(e=e||(typeof document!="undefined"?document:void 0),typeof e=="undefined")return null;try{return e.activeElement||e.body}catch(t){return e.body}}function N3(e,t){var r=t.checked;return Bn({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r!=null?r:e._wrapperState.initialChecked})}function d7(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=qu(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function AL(e,t){t=t.checked,t!=null&&vE(e,"checked",t,!1)}function _3(e,t){AL(e,t);var r=qu(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?T3(e,t.type,r):t.hasOwnProperty("defaultValue")&&T3(e,t.type,qu(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function f7(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!(n!=="submit"&&n!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function T3(e,t,r){(t!=="number"||bb(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var vg=Array.isArray;function jp(e,t,r,n){if(e=e.options,t){t={};for(var a=0;a"+t.valueOf().toString()+"",t=Mx.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function av(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&r.nodeType===3){r.nodeValue=t;return}}e.textContent=t}var _g={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},GY=["Webkit","ms","Moz","O"];Object.keys(_g).forEach(function(e){GY.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),_g[t]=_g[e]})});function OL(e,t,r){return t==null||typeof t=="boolean"||t===""?"":r||typeof t!="number"||t===0||_g.hasOwnProperty(e)&&_g[e]?(""+t).trim():t+"px"}function $L(e,t){e=e.style;for(var r in t)if(t.hasOwnProperty(r)){var n=r.indexOf("--")===0,a=OL(r,t[r],n);r==="float"&&(r="cssFloat"),n?e.setProperty(r,a):e[r]=a}}var YY=Bn({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function D3(e,t){if(t){if(YY[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(vt(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(vt(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(vt(61))}if(t.style!=null&&typeof t.style!="object")throw Error(vt(62))}}function A3(e,t){if(e.indexOf("-")===-1)return typeof t.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var R3=null;function wE(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var L3=null,Ep=null,Np=null;function m7(e){if(e=m1(e)){if(typeof L3!="function")throw Error(vt(280));var t=e.stateNode;t&&(t=vw(t),L3(e.stateNode,e.type,t))}}function zL(e){Ep?Np?Np.push(e):Np=[e]:Ep=e}function FL(){if(Ep){var e=Ep,t=Np;if(Np=Ep=null,m7(e),t)for(e=0;e>>=0,e===0?32:31-(oZ(e)/iZ|0)|0}var Dx=64,Ax=4194304;function xg(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Sb(e,t){var r=e.pendingLanes;if(r===0)return 0;var n=0,a=e.suspendedLanes,o=e.pingedLanes,i=r&268435455;if(i!==0){var c=i&~a;c!==0?n=xg(c):(o&=i,o!==0&&(n=xg(o)))}else i=r&~a,i!==0?n=xg(i):o!==0&&(n=xg(o));if(n===0)return 0;if(t!==0&&t!==n&&!(t&a)&&(a=n&-n,o=t&-t,a>=o||a===16&&(o&4194240)!==0))return t;if(n&4&&(n|=r&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=n;0r;r++)t.push(e);return t}function h1(e,t,r){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-Wi(t),e[t]=r}function dZ(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0=Pg),S7=" ",j7=!1;function oI(e,t){switch(e){case"keyup":return zZ.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function iI(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var np=!1;function HZ(e,t){switch(e){case"compositionend":return iI(t);case"keypress":return t.which!==32?null:(j7=!0,S7);case"textInput":return e=t.data,e===S7&&j7?null:e;default:return null}}function BZ(e,t){if(np)return e==="compositionend"||!TE&&oI(e,t)?(e=sI(),Uy=EE=Mu=null,np=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=T7(r)}}function dI(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?dI(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function fI(){for(var e=window,t=bb();t instanceof e.HTMLIFrameElement;){try{var r=typeof t.contentWindow.location.href=="string"}catch(n){r=!1}if(r)e=t.contentWindow;else break;t=bb(e.document)}return t}function PE(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function XZ(e){var t=fI(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&dI(r.ownerDocument.documentElement,r)){if(n!==null&&PE(r)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if(e=(t=r.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var a=r.textContent.length,o=Math.min(n.start,a);n=n.end===void 0?o:Math.min(n.end,a),!e.extend&&o>n&&(a=n,n=o,o=a),a=P7(r,o);var i=P7(r,n);a&&i&&(e.rangeCount!==1||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&(t=t.createRange(),t.setStart(a.node,a.offset),e.removeAllRanges(),o>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}}for(t=[],e=r;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof r.focus=="function"&&r.focus(),r=0;r=document.documentMode,sp=null,H3=null,Dg=null,B3=!1;function M7(e,t,r){var n=r.window===r?r.document:r.nodeType===9?r:r.ownerDocument;B3||sp==null||sp!==bb(n)||(n=sp,"selectionStart"in n&&PE(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Dg&&dv(Dg,n)||(Dg=n,n=Nb(H3,"onSelect"),0ip||(e.current=G3[ip],G3[ip]=null,ip--)}function yn(e,t){ip++,G3[ip]=e.current,e.current=t}var Ku={},ba=od(Ku),oo=od(!1),bf=Ku;function sm(e,t){var r=e.type.contextTypes;if(!r)return Ku;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in r)a[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function io(e){return e=e.childContextTypes,e!=null}function Tb(){Nn(oo),Nn(ba)}function $7(e,t,r){if(ba.current!==Ku)throw Error(vt(168));yn(ba,t),yn(oo,r)}function wI(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var a in n)if(!(a in t))throw Error(vt(108,qY(e)||"Unknown",a));return Bn({},r,n)}function Pb(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Ku,bf=ba.current,yn(ba,e),yn(oo,oo.current),!0}function z7(e,t,r){var n=e.stateNode;if(!n)throw Error(vt(169));r?(e=wI(e,t,bf),n.__reactInternalMemoizedMergedChildContext=e,Nn(oo),Nn(ba),yn(ba,e)):Nn(oo),yn(oo,r)}var rc=null,xw=!1,m5=!1;function kI(e){rc===null?rc=[e]:rc.push(e)}function cX(e){xw=!0,kI(e)}function id(){if(!m5&&rc!==null){m5=!0;var e=0,t=fn;try{var r=rc;for(fn=1;e>=i,a-=i,cc=1<<32-Wi(t)+a|r<D?(L=M,M=null):L=M.sibling;var z=v(C,M,E[D],N);if(z===null){M===null&&(M=L);break}e&&M&&z.alternate===null&&t(C,M),j=o(z,j,D),A===null?T=z:A.sibling=z,A=z,M=L}if(D===E.length)return r(C,M),An&&_d(C,D),T;if(M===null){for(;DD?(L=M,M=null):L=M.sibling;var H=v(C,M,z.value,N);if(H===null){M===null&&(M=L);break}e&&M&&H.alternate===null&&t(C,M),j=o(H,j,D),A===null?T=H:A.sibling=H,A=H,M=L}if(z.done)return r(C,M),An&&_d(C,D),T;if(M===null){for(;!z.done;D++,z=E.next())z=m(C,z.value,N),z!==null&&(j=o(z,j,D),A===null?T=z:A.sibling=z,A=z);return An&&_d(C,D),T}for(M=n(C,M);!z.done;D++,z=E.next())z=S(M,C,D,z.value,N),z!==null&&(e&&z.alternate!==null&&M.delete(z.key===null?D:z.key),j=o(z,j,D),A===null?T=z:A.sibling=z,A=z);return e&&M.forEach(function(V){return t(C,V)}),An&&_d(C,D),T}function b(C,j,E,N){if(typeof E=="object"&&E!==null&&E.type===rp&&E.key===null&&(E=E.props.children),typeof E=="object"&&E!==null){switch(E.$$typeof){case Tx:e:{for(var T=E.key,A=j;A!==null;){if(A.key===T){if(T=E.type,T===rp){if(A.tag===7){r(C,A.sibling),j=a(A,E.props.children),j.return=C,C=j;break e}}else if(A.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===su&&q7(T)===A.type){r(C,A.sibling),j=a(A,E.props),j.ref=z0(C,A,E),j.return=C,C=j;break e}r(C,A);break}else t(C,A);A=A.sibling}E.type===rp?(j=cf(E.props.children,C.mode,N,E.key),j.return=C,C=j):(N=Xy(E.type,E.key,E.props,null,C.mode,N),N.ref=z0(C,j,E),N.return=C,C=N)}return i(C);case tp:e:{for(A=E.key;j!==null;){if(j.key===A)if(j.tag===4&&j.stateNode.containerInfo===E.containerInfo&&j.stateNode.implementation===E.implementation){r(C,j.sibling),j=a(j,E.children||[]),j.return=C,C=j;break e}else{r(C,j);break}else t(C,j);j=j.sibling}j=C5(E,C.mode,N),j.return=C,C=j}return i(C);case su:return A=E._init,b(C,j,A(E._payload),N)}if(vg(E))return w(C,j,E,N);if(R0(E))return g(C,j,E,N);Fx(C,E)}return typeof E=="string"&&E!==""||typeof E=="number"?(E=""+E,j!==null&&j.tag===6?(r(C,j.sibling),j=a(j,E),j.return=C,C=j):(r(C,j),j=k5(E,C.mode,N),j.return=C,C=j),i(C)):r(C,j)}return b}var om=PI(!0),MI=PI(!1),g1={},Tl=od(g1),mv=od(g1),gv=od(g1);function Hd(e){if(e===g1)throw Error(vt(174));return e}function zE(e,t){switch(yn(gv,t),yn(mv,e),yn(Tl,g1),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:M3(null,"");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=M3(t,e)}Nn(Tl),yn(Tl,t)}function im(){Nn(Tl),Nn(mv),Nn(gv)}function DI(e){Hd(gv.current);var t=Hd(Tl.current),r=M3(t,e.type);t!==r&&(yn(mv,e),yn(Tl,r))}function FE(e){mv.current===e&&(Nn(Tl),Nn(mv))}var $n=od(0);function Ib(e){for(var t=e;t!==null;){if(t.tag===13){var r=t.memoizedState;if(r!==null&&(r=r.dehydrated,r===null||r.data==="$?"||r.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var g5=[];function HE(){for(var e=0;er?r:4,e(!0);var n=v5.transition;v5.transition={};try{e(!1),t()}finally{fn=r,v5.transition=n}}function GI(){return di().memoizedState}function hX(e,t,r){var n=Bu(e);if(r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},YI(e))ZI(t,r);else if(r=EI(e,t,r,n),r!==null){var a=$a();Vi(r,e,n,a),XI(r,t,n)}}function pX(e,t,r){var n=Bu(e),a={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(YI(e))ZI(t,a);else{var o=e.alternate;if(e.lanes===0&&(o===null||o.lanes===0)&&(o=t.lastRenderedReducer,o!==null))try{var i=t.lastRenderedState,c=o(i,r);if(a.hasEagerState=!0,a.eagerState=c,Zi(c,i)){var u=t.interleaved;u===null?(a.next=a,OE(t)):(a.next=u.next,u.next=a),t.interleaved=a;return}}catch(f){}finally{}r=EI(e,t,a,n),r!==null&&(a=$a(),Vi(r,e,n,a),XI(r,t,n))}}function YI(e){var t=e.alternate;return e===Hn||t!==null&&t===Hn}function ZI(e,t){Ag=Ob=!0;var r=e.pending;r===null?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function XI(e,t,r){if(r&4194240){var n=t.lanes;n&=e.pendingLanes,r|=n,t.lanes=r,CE(e,r)}}var $b={readContext:ui,useCallback:la,useContext:la,useEffect:la,useImperativeHandle:la,useInsertionEffect:la,useLayoutEffect:la,useMemo:la,useReducer:la,useRef:la,useState:la,useDebugValue:la,useDeferredValue:la,useTransition:la,useMutableSource:la,useSyncExternalStore:la,useId:la,unstable_isNewReconciler:!1},mX={readContext:ui,useCallback:function(e,t){return pl().memoizedState=[e,t===void 0?null:t],e},useContext:ui,useEffect:G7,useImperativeHandle:function(e,t,r){return r=r!=null?r.concat([e]):null,Ky(4194308,4,UI.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Ky(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ky(4,2,e,t)},useMemo:function(e,t){var r=pl();return t=t===void 0?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=pl();return t=r!==void 0?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=hX.bind(null,Hn,e),[n.memoizedState,e]},useRef:function(e){var t=pl();return e={current:e},t.memoizedState=e},useState:K7,useDebugValue:qE,useDeferredValue:function(e){return pl().memoizedState=e},useTransition:function(){var e=K7(!1),t=e[0];return e=fX.bind(null,e[1]),pl().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=Hn,a=pl();if(An){if(r===void 0)throw Error(vt(407));r=r()}else{if(r=t(),Us===null)throw Error(vt(349));kf&30||LI(n,t,r)}a.memoizedState=r;var o={value:r,getSnapshot:t};return a.queue=o,G7(OI.bind(null,n,o,e),[e]),n.flags|=2048,yv(9,II.bind(null,n,o,r,t),void 0,null),r},useId:function(){var e=pl(),t=Us.identifierPrefix;if(An){var r=uc,n=cc;r=(n&~(1<<32-Wi(n)-1)).toString(32)+r,t=":"+t+"R"+r,r=vv++,0<\/script>",e=e.removeChild(e.firstChild)):typeof n.is=="string"?e=i.createElement(r,{is:n.is}):(e=i.createElement(r),r==="select"&&(i=e,n.multiple?i.multiple=!0:n.size&&(i.size=n.size))):e=i.createElementNS(e,r),e[wl]=t,e[pv]=n,oO(e,t,!1,!1),t.stateNode=e;e:{switch(i=A3(r,n),r){case"dialog":Sn("cancel",e),Sn("close",e),a=n;break;case"iframe":case"object":case"embed":Sn("load",e),a=n;break;case"video":case"audio":for(a=0;acm&&(t.flags|=128,n=!0,F0(o,!1),t.lanes=4194304)}else{if(!n)if(e=Ib(i),e!==null){if(t.flags|=128,n=!0,r=e.updateQueue,r!==null&&(t.updateQueue=r,t.flags|=4),F0(o,!0),o.tail===null&&o.tailMode==="hidden"&&!i.alternate&&!An)return ca(t),null}else 2*ns()-o.renderingStartTime>cm&&r!==1073741824&&(t.flags|=128,n=!0,F0(o,!1),t.lanes=4194304);o.isBackwards?(i.sibling=t.child,t.child=i):(r=o.last,r!==null?r.sibling=i:t.child=i,o.last=i)}return o.tail!==null?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=ns(),t.sibling=null,r=$n.current,yn($n,n?r&1|2:r&1),t):(ca(t),null);case 22:case 23:return QE(),n=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==n&&(t.flags|=8192),n&&t.mode&1?No&1073741824&&(ca(t),t.subtreeFlags&6&&(t.flags|=8192)):ca(t),null;case 24:return null;case 25:return null}throw Error(vt(156,t.tag))}function CX(e,t){switch(DE(t),t.tag){case 1:return io(t.type)&&Tb(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return im(),Nn(oo),Nn(ba),HE(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return FE(t),null;case 13:if(Nn($n),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(vt(340));am()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Nn($n),null;case 4:return im(),null;case 10:return IE(t.type._context),null;case 22:case 23:return QE(),null;case 24:return null;default:return null}}var Bx=!1,ha=!1,SX=typeof WeakSet=="function"?WeakSet:Set,zt=null;function dp(e,t){var r=e.ref;if(r!==null)if(typeof r=="function")try{r(null)}catch(n){Gn(e,t,n)}else r.current=null}function o4(e,t,r){try{r()}catch(n){Gn(e,t,n)}}var n9=!1;function jX(e,t){if(U3=jb,e=fI(),PE(e)){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{r=(r=e.ownerDocument)&&r.defaultView||window;var n=r.getSelection&&r.getSelection();if(n&&n.rangeCount!==0){r=n.anchorNode;var a=n.anchorOffset,o=n.focusNode;n=n.focusOffset;try{r.nodeType,o.nodeType}catch(N){r=null;break e}var i=0,c=-1,u=-1,f=0,h=0,m=e,v=null;t:for(;;){for(var S;m!==r||a!==0&&m.nodeType!==3||(c=i+a),m!==o||n!==0&&m.nodeType!==3||(u=i+n),m.nodeType===3&&(i+=m.nodeValue.length),(S=m.firstChild)!==null;)v=m,m=S;for(;;){if(m===e)break t;if(v===r&&++f===a&&(c=i),v===o&&++h===n&&(u=i),(S=m.nextSibling)!==null)break;m=v,v=m.parentNode}m=S}r=c===-1||u===-1?null:{start:c,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(W3={focusedElem:e,selectionRange:r},jb=!1,zt=t;zt!==null;)if(t=zt,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,zt=e;else for(;zt!==null;){t=zt;try{var w=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var g=w.memoizedProps,b=w.memoizedState,C=t.stateNode,j=C.getSnapshotBeforeUpdate(t.elementType===t.type?g:Ni(t.type,g),b);C.__reactInternalSnapshotBeforeUpdate=j}break;case 3:var E=t.stateNode.containerInfo;E.nodeType===1?E.textContent="":E.nodeType===9&&E.documentElement&&E.removeChild(E.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(vt(163))}}catch(N){Gn(t,t.return,N)}if(e=t.sibling,e!==null){e.return=t.return,zt=e;break}zt=t.return}return w=n9,n9=!1,w}function Rg(e,t,r){var n=t.updateQueue;if(n=n!==null?n.lastEffect:null,n!==null){var a=n=n.next;do{if((a.tag&e)===e){var o=a.destroy;a.destroy=void 0,o!==void 0&&o4(t,r,o)}a=a.next}while(a!==n)}}function ww(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function i4(e){var t=e.ref;if(t!==null){var r=e.stateNode;switch(e.tag){case 5:e=r;break;default:e=r}typeof t=="function"?t(e):t.current=e}}function cO(e){var t=e.alternate;t!==null&&(e.alternate=null,cO(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[wl],delete t[pv],delete t[K3],delete t[iX],delete t[lX])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function uO(e){return e.tag===5||e.tag===3||e.tag===4}function s9(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||uO(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function l4(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.nodeType===8?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(r.nodeType===8?(t=r.parentNode,t.insertBefore(e,r)):(t=r,t.appendChild(e)),r=r._reactRootContainer,r!=null||t.onclick!==null||(t.onclick=_b));else if(n!==4&&(e=e.child,e!==null))for(l4(e,t,r),e=e.sibling;e!==null;)l4(e,t,r),e=e.sibling}function c4(e,t,r){var n=e.tag;if(n===5||n===6)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(n!==4&&(e=e.child,e!==null))for(c4(e,t,r),e=e.sibling;e!==null;)c4(e,t,r),e=e.sibling}var Gs=null,Mi=!1;function qc(e,t,r){for(r=r.child;r!==null;)dO(e,t,r),r=r.sibling}function dO(e,t,r){if(_l&&typeof _l.onCommitFiberUnmount=="function")try{_l.onCommitFiberUnmount(hw,r)}catch(c){}switch(r.tag){case 5:ha||dp(r,t);case 6:var n=Gs,a=Mi;Gs=null,qc(e,t,r),Gs=n,Mi=a,Gs!==null&&(Mi?(e=Gs,r=r.stateNode,e.nodeType===8?e.parentNode.removeChild(r):e.removeChild(r)):Gs.removeChild(r.stateNode));break;case 18:Gs!==null&&(Mi?(e=Gs,r=r.stateNode,e.nodeType===8?p5(e.parentNode,r):e.nodeType===1&&p5(e,r),cv(e)):p5(Gs,r.stateNode));break;case 4:n=Gs,a=Mi,Gs=r.stateNode.containerInfo,Mi=!0,qc(e,t,r),Gs=n,Mi=a;break;case 0:case 11:case 14:case 15:if(!ha&&(n=r.updateQueue,n!==null&&(n=n.lastEffect,n!==null))){a=n=n.next;do{var o=a,i=o.destroy;o=o.tag,i!==void 0&&(o&2||o&4)&&o4(r,t,i),a=a.next}while(a!==n)}qc(e,t,r);break;case 1:if(!ha&&(dp(r,t),n=r.stateNode,typeof n.componentWillUnmount=="function"))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(c){Gn(r,t,c)}qc(e,t,r);break;case 21:qc(e,t,r);break;case 22:r.mode&1?(ha=(n=ha)||r.memoizedState!==null,qc(e,t,r),ha=n):qc(e,t,r);break;default:qc(e,t,r)}}function a9(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var r=e.stateNode;r===null&&(r=e.stateNode=new SX),t.forEach(function(n){var a=RX.bind(null,e,n);r.has(n)||(r.add(n),n.then(a,a))})}}function Si(e,t){var r=t.deletions;if(r!==null)for(var n=0;na&&(a=i),n&=~o}if(n=a,n=ns()-n,n=(120>n?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*NX(n/1960))-n,10e?16:e,Du===null)var n=!1;else{if(e=Du,Du=null,Hb=0,Yr&6)throw Error(vt(331));var a=Yr;for(Yr|=4,zt=e.current;zt!==null;){var o=zt,i=o.child;if(zt.flags&16){var c=o.deletions;if(c!==null){for(var u=0;uns()-ZE?lf(e,0):YE|=r),lo(e,t)}function yO(e,t){t===0&&(e.mode&1?(t=Ax,Ax<<=1,!(Ax&130023424)&&(Ax=4194304)):t=1);var r=$a();e=wc(e,t),e!==null&&(h1(e,t,r),lo(e,r))}function AX(e){var t=e.memoizedState,r=0;t!==null&&(r=t.retryLane),yO(e,r)}function RX(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,a=e.memoizedState;a!==null&&(r=a.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(vt(314))}n!==null&&n.delete(t),yO(e,r)}var bO;bO=function(e,t,r){if(e!==null)if(e.memoizedProps!==t.pendingProps||oo.current)ao=!0;else{if(!(e.lanes&r)&&!(t.flags&128))return ao=!1,wX(e,t,r);ao=!!(e.flags&131072)}else ao=!1,An&&t.flags&1048576&&CI(t,Db,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;Gy(e,t),e=t.pendingProps;var a=sm(t,ba.current);Tp(t,r),a=UE(null,t,n,e,a,r);var o=WE();return t.flags|=1,typeof a=="object"&&a!==null&&typeof a.render=="function"&&a.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,io(n)?(o=!0,Pb(t)):o=!1,t.memoizedState=a.state!==null&&a.state!==void 0?a.state:null,$E(t),a.updater=yw,t.stateNode=a,a._reactInternals=t,J3(t,n,e,r),t=r4(null,t,n,!0,o,r)):(t.tag=0,An&&o&&ME(t),Aa(null,t,a,r),t=t.child),t;case 16:n=t.elementType;e:{switch(Gy(e,t),e=t.pendingProps,a=n._init,n=a(n._payload),t.type=n,a=t.tag=IX(n),e=Ni(n,e),a){case 0:t=t4(null,t,n,e,r);break e;case 1:t=e9(null,t,n,e,r);break e;case 11:t=Q7(null,t,n,e,r);break e;case 14:t=J7(null,t,n,Ni(n.type,e),r);break e}throw Error(vt(306,n,""))}return t;case 0:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Ni(n,a),t4(e,t,n,a,r);case 1:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Ni(n,a),e9(e,t,n,a,r);case 3:e:{if(nO(t),e===null)throw Error(vt(387));n=t.pendingProps,o=t.memoizedState,a=o.element,NI(e,t),Lb(t,n,null,r);var i=t.memoizedState;if(n=i.element,o.isDehydrated)if(o={element:n,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions},t.updateQueue.baseState=o,t.memoizedState=o,t.flags&256){a=lm(Error(vt(423)),t),t=t9(e,t,n,r,a);break e}else if(n!==a){a=lm(Error(vt(424)),t),t=t9(e,t,n,r,a);break e}else for(Ao=zu(t.stateNode.containerInfo.firstChild),Ro=t,An=!0,Ri=null,r=MI(t,null,n,r),t.child=r;r;)r.flags=r.flags&-3|4096,r=r.sibling;else{if(am(),n===a){t=kc(e,t,r);break e}Aa(e,t,n,r)}t=t.child}return t;case 5:return DI(t),e===null&&Z3(t),n=t.type,a=t.pendingProps,o=e!==null?e.memoizedProps:null,i=a.children,V3(n,a)?i=null:o!==null&&V3(n,o)&&(t.flags|=32),rO(e,t),Aa(e,t,i,r),t.child;case 6:return e===null&&Z3(t),null;case 13:return sO(e,t,r);case 4:return zE(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=om(t,null,n,r):Aa(e,t,n,r),t.child;case 11:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Ni(n,a),Q7(e,t,n,a,r);case 7:return Aa(e,t,t.pendingProps,r),t.child;case 8:return Aa(e,t,t.pendingProps.children,r),t.child;case 12:return Aa(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,a=t.pendingProps,o=t.memoizedProps,i=a.value,yn(Ab,n._currentValue),n._currentValue=i,o!==null)if(Zi(o.value,i)){if(o.children===a.children&&!oo.current){t=kc(e,t,r);break e}}else for(o=t.child,o!==null&&(o.return=t);o!==null;){var c=o.dependencies;if(c!==null){i=o.child;for(var u=c.firstContext;u!==null;){if(u.context===n){if(o.tag===1){u=hc(-1,r&-r),u.tag=2;var f=o.updateQueue;if(f!==null){f=f.shared;var h=f.pending;h===null?u.next=u:(u.next=h.next,h.next=u),f.pending=u}}o.lanes|=r,u=o.alternate,u!==null&&(u.lanes|=r),X3(o.return,r,t),c.lanes|=r;break}u=u.next}}else if(o.tag===10)i=o.type===t.type?null:o.child;else if(o.tag===18){if(i=o.return,i===null)throw Error(vt(341));i.lanes|=r,c=i.alternate,c!==null&&(c.lanes|=r),X3(i,r,t),i=o.sibling}else i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===t){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}Aa(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,n=t.pendingProps.children,Tp(t,r),a=ui(a),n=n(a),t.flags|=1,Aa(e,t,n,r),t.child;case 14:return n=t.type,a=Ni(n,t.pendingProps),a=Ni(n.type,a),J7(e,t,n,a,r);case 15:return eO(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,a=t.pendingProps,a=t.elementType===n?a:Ni(n,a),Gy(e,t),t.tag=1,io(n)?(e=!0,Pb(t)):e=!1,Tp(t,r),TI(t,n,a),J3(t,n,a,r),r4(null,t,n,!0,e,r);case 19:return aO(e,t,r);case 22:return tO(e,t,r)}throw Error(vt(156,t.tag))};function wO(e,t){return KL(e,t)}function LX(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ai(e,t,r,n){return new LX(e,t,r,n)}function e6(e){return e=e.prototype,!(!e||!e.isReactComponent)}function IX(e){if(typeof e=="function")return e6(e)?1:0;if(e!=null){if(e=e.$$typeof,e===yE)return 11;if(e===bE)return 14}return 2}function Uu(e,t){var r=e.alternate;return r===null?(r=ai(e.tag,t,e.key,e.mode),r.elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=e.flags&14680064,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function Xy(e,t,r,n,a,o){var i=2;if(n=e,typeof e=="function")e6(e)&&(i=1);else if(typeof e=="string")i=5;else e:switch(e){case rp:return cf(r.children,a,o,t);case xE:i=8,a|=8;break;case C3:return e=ai(12,r,t,a|2),e.elementType=C3,e.lanes=o,e;case S3:return e=ai(13,r,t,a),e.elementType=S3,e.lanes=o,e;case j3:return e=ai(19,r,t,a),e.elementType=j3,e.lanes=o,e;case PL:return Cw(r,a,o,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case _L:i=10;break e;case TL:i=9;break e;case yE:i=11;break e;case bE:i=14;break e;case su:i=16,n=null;break e}throw Error(vt(130,e==null?e:typeof e,""))}return t=ai(i,r,t,a),t.elementType=e,t.type=n,t.lanes=o,t}function cf(e,t,r,n){return e=ai(7,e,n,t),e.lanes=r,e}function Cw(e,t,r,n){return e=ai(22,e,n,t),e.elementType=PL,e.lanes=r,e.stateNode={isHidden:!1},e}function k5(e,t,r){return e=ai(6,e,null,t),e.lanes=r,e}function C5(e,t,r){return t=ai(4,e.children!==null?e.children:[],e.key,t),t.lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function OX(e,t,r,n,a){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=n5(0),this.expirationTimes=n5(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=n5(0),this.identifierPrefix=n,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function t6(e,t,r,n,a,o,i,c,u){return e=new OX(e,t,r,c,u),t===1?(t=1,o===!0&&(t|=8)):t=0,o=ai(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},$E(o),e}function $X(e,t,r){var n=3(t&&Reflect.deleteProperty(window,n),e==null?void 0:e(a)),writable:!1,configurable:!0}),r}function Hs(r){return pe(this,arguments,function*(e,t={}){return new Promise((n,a)=>{const o=p4(c=>{n(c),Reflect.deleteProperty(window,"_".concat(i))},!0),i=p4(c=>{a(c),Reflect.deleteProperty(window,"_".concat(o))},!0);window.__TAURI_IPC__(R({cmd:e,callback:o,error:i},t))})})}function uf(e,t="asset"){return window.__TAURI__.convertFileSrc(e,t)}function Kt(e){return pe(this,null,function*(){return Hs("tauri",e)})}function co(e,t){return pe(this,null,function*(){var n,a;const r=typeof t=="string"?{title:t}:t;return Kt({__tauriModule:"Dialog",message:{cmd:"messageDialog",message:e.toString(),title:(n=r==null?void 0:r.title)==null?void 0:n.toString(),type:r==null?void 0:r.type,buttonLabel:(a=r==null?void 0:r.okLabel)==null?void 0:a.toString()}})})}function Wb(e,t){return pe(this,null,function*(){var n,a,o,i,c;const r=typeof t=="string"?{title:t}:t;return Kt({__tauriModule:"Dialog",message:{cmd:"confirmDialog",message:e.toString(),title:(n=r==null?void 0:r.title)==null?void 0:n.toString(),type:r==null?void 0:r.type,buttonLabels:[(o=(a=r==null?void 0:r.okLabel)==null?void 0:a.toString())!=null?o:"Ok",(c=(i=r==null?void 0:r.cancelLabel)==null?void 0:i.toString())!=null?c:"Cancel"]}})})}function _O(e,t){return pe(this,null,function*(){return Kt({__tauriModule:"Event",message:{cmd:"unlisten",event:e,eventId:t}})})}function TO(e,t,r){return pe(this,null,function*(){yield Kt({__tauriModule:"Event",message:{cmd:"emit",event:e,windowLabel:t,payload:r}})})}function a6(e,t,r){return pe(this,null,function*(){return Kt({__tauriModule:"Event",message:{cmd:"listen",event:e,windowLabel:t,handler:p4(r)}}).then(n=>()=>pe(this,null,function*(){return _O(e,n)}))})}function PO(e,t,r){return pe(this,null,function*(){return a6(e,t,n=>{r(n),_O(e,n.id).catch(()=>{})})})}var bs;(function(e){e.WINDOW_RESIZED="tauri://resize",e.WINDOW_MOVED="tauri://move",e.WINDOW_CLOSE_REQUESTED="tauri://close-requested",e.WINDOW_CREATED="tauri://window-created",e.WINDOW_DESTROYED="tauri://destroyed",e.WINDOW_FOCUS="tauri://focus",e.WINDOW_BLUR="tauri://blur",e.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",e.WINDOW_THEME_CHANGED="tauri://theme-changed",e.WINDOW_FILE_DROP="tauri://file-drop",e.WINDOW_FILE_DROP_HOVER="tauri://file-drop-hover",e.WINDOW_FILE_DROP_CANCELLED="tauri://file-drop-cancelled",e.MENU="tauri://menu",e.CHECK_UPDATE="tauri://update",e.UPDATE_AVAILABLE="tauri://update-available",e.INSTALL_UPDATE="tauri://update-install",e.STATUS_UPDATE="tauri://update-status",e.DOWNLOAD_PROGRESS="tauri://update-download-progress"})(bs||(bs={}));function Li(e,t){return pe(this,null,function*(){return a6(e,null,t)})}function VX(e,t){return pe(this,null,function*(){return PO(e,null,t)})}function MO(e,t){return pe(this,null,function*(){return TO(e,void 0,t)})}function o6(){return navigator.appVersion.includes("Win")}o6();function qX(){return pe(this,null,function*(){return Kt({__tauriModule:"Os",message:{cmd:"platform"}})})}function KX(){return pe(this,null,function*(){return Kt({__tauriModule:"Os",message:{cmd:"version"}})})}function p9(){return pe(this,null,function*(){return Kt({__tauriModule:"Os",message:{cmd:"osType"}})})}class wv{constructor(t,r){this.type="Logical",this.width=t,this.height=r}}class m4{constructor(t,r){this.type="Physical",this.width=t,this.height=r}toLogical(t){return new wv(this.width/t,this.height/t)}}class GX{constructor(t,r){this.type="Logical",this.x=t,this.y=r}}class g4{constructor(t,r){this.type="Physical",this.x=t,this.y=r}toLogical(t){return new GX(this.x/t,this.y/t)}}var v4;(function(e){e[e.Critical=1]="Critical",e[e.Informational=2]="Informational"})(v4||(v4={}));function m9(){return window.__TAURI_METADATA__.__windows.map(e=>new jf(e.label,{skip:!0}))}const g9=["tauri://created","tauri://error"];class YX{constructor(t){this.label=t,this.listeners=Object.create(null)}listen(t,r){return pe(this,null,function*(){return this._handleTauriEvent(t,r)?Promise.resolve(()=>{const n=this.listeners[t];n.splice(n.indexOf(r),1)}):a6(t,this.label,r)})}once(t,r){return pe(this,null,function*(){return this._handleTauriEvent(t,r)?Promise.resolve(()=>{const n=this.listeners[t];n.splice(n.indexOf(r),1)}):PO(t,this.label,r)})}emit(t,r){return pe(this,null,function*(){if(g9.includes(t)){for(const n of this.listeners[t]||[])n({event:t,id:-1,windowLabel:this.label,payload:r});return Promise.resolve()}return TO(t,this.label,r)})}_handleTauriEvent(t,r){return g9.includes(t)?(t in this.listeners?this.listeners[t].push(r):this.listeners[t]=[r],!0):!1}}class ZX extends YX{scaleFactor(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"scaleFactor"}}}})})}innerPosition(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"innerPosition"}}}}).then(({x:t,y:r})=>new g4(t,r))})}outerPosition(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"outerPosition"}}}}).then(({x:t,y:r})=>new g4(t,r))})}innerSize(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"innerSize"}}}}).then(({width:t,height:r})=>new m4(t,r))})}outerSize(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"outerSize"}}}}).then(({width:t,height:r})=>new m4(t,r))})}isFullscreen(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isFullscreen"}}}})})}isMinimized(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isMinimized"}}}})})}isMaximized(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isMaximized"}}}})})}isFocused(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isFocused"}}}})})}isDecorated(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isDecorated"}}}})})}isResizable(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isResizable"}}}})})}isMaximizable(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isMaximizable"}}}})})}isMinimizable(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isMinimizable"}}}})})}isClosable(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isClosable"}}}})})}isVisible(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"isVisible"}}}})})}title(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"title"}}}})})}theme(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"theme"}}}})})}center(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"center"}}}})})}requestUserAttention(t){return pe(this,null,function*(){let r=null;return t&&(t===v4.Critical?r={type:"Critical"}:r={type:"Informational"}),Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"requestUserAttention",payload:r}}}})})}setResizable(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setResizable",payload:t}}}})})}setMaximizable(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setMaximizable",payload:t}}}})})}setMinimizable(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setMinimizable",payload:t}}}})})}setClosable(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setClosable",payload:t}}}})})}setTitle(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setTitle",payload:t}}}})})}maximize(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"maximize"}}}})})}unmaximize(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"unmaximize"}}}})})}toggleMaximize(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"toggleMaximize"}}}})})}minimize(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"minimize"}}}})})}unminimize(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"unminimize"}}}})})}show(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"show"}}}})})}hide(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"hide"}}}})})}close(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"close"}}}})})}setDecorations(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setDecorations",payload:t}}}})})}setAlwaysOnTop(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setAlwaysOnTop",payload:t}}}})})}setContentProtected(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setContentProtected",payload:t}}}})})}setSize(t){return pe(this,null,function*(){if(!t||t.type!=="Logical"&&t.type!=="Physical")throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setSize",payload:{type:t.type,data:{width:t.width,height:t.height}}}}}})})}setMinSize(t){return pe(this,null,function*(){if(t&&t.type!=="Logical"&&t.type!=="Physical")throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setMinSize",payload:t?{type:t.type,data:{width:t.width,height:t.height}}:null}}}})})}setMaxSize(t){return pe(this,null,function*(){if(t&&t.type!=="Logical"&&t.type!=="Physical")throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setMaxSize",payload:t?{type:t.type,data:{width:t.width,height:t.height}}:null}}}})})}setPosition(t){return pe(this,null,function*(){if(!t||t.type!=="Logical"&&t.type!=="Physical")throw new Error("the `position` argument must be either a LogicalPosition or a PhysicalPosition instance");return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setPosition",payload:{type:t.type,data:{x:t.x,y:t.y}}}}}})})}setFullscreen(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setFullscreen",payload:t}}}})})}setFocus(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setFocus"}}}})})}setIcon(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setIcon",payload:{icon:typeof t=="string"?t:Array.from(t)}}}}})})}setSkipTaskbar(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setSkipTaskbar",payload:t}}}})})}setCursorGrab(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setCursorGrab",payload:t}}}})})}setCursorVisible(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setCursorVisible",payload:t}}}})})}setCursorIcon(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setCursorIcon",payload:t}}}})})}setCursorPosition(t){return pe(this,null,function*(){if(!t||t.type!=="Logical"&&t.type!=="Physical")throw new Error("the `position` argument must be either a LogicalPosition or a PhysicalPosition instance");return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setCursorPosition",payload:{type:t.type,data:{x:t.x,y:t.y}}}}}})})}setIgnoreCursorEvents(t){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"setIgnoreCursorEvents",payload:t}}}})})}startDragging(){return pe(this,null,function*(){return Kt({__tauriModule:"Window",message:{cmd:"manage",data:{label:this.label,cmd:{type:"startDragging"}}}})})}onResized(t){return pe(this,null,function*(){return this.listen(bs.WINDOW_RESIZED,r=>{r.payload=JX(r.payload),t(r)})})}onMoved(t){return pe(this,null,function*(){return this.listen(bs.WINDOW_MOVED,r=>{r.payload=QX(r.payload),t(r)})})}onCloseRequested(t){return pe(this,null,function*(){return this.listen(bs.WINDOW_CLOSE_REQUESTED,r=>{const n=new XX(r);Promise.resolve(t(n)).then(()=>{if(!n.isPreventDefault())return this.close()})})})}onFocusChanged(t){return pe(this,null,function*(){const r=yield this.listen(bs.WINDOW_FOCUS,a=>{t(ee(R({},a),{payload:!0}))}),n=yield this.listen(bs.WINDOW_BLUR,a=>{t(ee(R({},a),{payload:!1}))});return()=>{r(),n()}})}onScaleChanged(t){return pe(this,null,function*(){return this.listen(bs.WINDOW_SCALE_FACTOR_CHANGED,t)})}onMenuClicked(t){return pe(this,null,function*(){return this.listen(bs.MENU,t)})}onFileDropEvent(t){return pe(this,null,function*(){const r=yield this.listen(bs.WINDOW_FILE_DROP,o=>{t(ee(R({},o),{payload:{type:"drop",paths:o.payload}}))}),n=yield this.listen(bs.WINDOW_FILE_DROP_HOVER,o=>{t(ee(R({},o),{payload:{type:"hover",paths:o.payload}}))}),a=yield this.listen(bs.WINDOW_FILE_DROP_CANCELLED,o=>{t(ee(R({},o),{payload:{type:"cancel"}}))});return()=>{r(),n(),a()}})}onThemeChanged(t){return pe(this,null,function*(){return this.listen(bs.WINDOW_THEME_CHANGED,t)})}}class XX{constructor(t){this._preventDefault=!1,this.event=t.event,this.windowLabel=t.windowLabel,this.id=t.id}preventDefault(){this._preventDefault=!0}isPreventDefault(){return this._preventDefault}}class jf extends ZX{constructor(t,r={}){super(t),r!=null&&r.skip||Kt({__tauriModule:"Window",message:{cmd:"createWebview",data:{options:R({label:t},r)}}}).then(()=>pe(this,null,function*(){return this.emit("tauri://created")})).catch(n=>pe(this,null,function*(){return this.emit("tauri://error",n)}))}static getByLabel(t){return m9().some(r=>r.label===t)?new jf(t,{skip:!0}):null}static getFocusedWindow(){return pe(this,null,function*(){for(const t of m9())if(yield t.isFocused())return t;return null})}}let ys;"__TAURI_METADATA__"in window?ys=new jf(window.__TAURI_METADATA__.__currentWindow.label,{skip:!0}):(console.warn('Could not find "window.__TAURI_METADATA__". The "appWindow" value will reference the "main" window label.\nNote that this is not an issue if running this frontend on a browser instead of a Tauri window.'),ys=new jf("main",{skip:!0}));function QX(e){return new g4(e.x,e.y)}function JX(e){return new m4(e.width,e.height)}function v9(){return pe(this,null,function*(){return Kt({__tauriModule:"Clipboard",message:{cmd:"readText",data:null}})})}var x9;(function(e){e[e.Audio=1]="Audio",e[e.Cache=2]="Cache",e[e.Config=3]="Config",e[e.Data=4]="Data",e[e.LocalData=5]="LocalData",e[e.Desktop=6]="Desktop",e[e.Document=7]="Document",e[e.Download=8]="Download",e[e.Executable=9]="Executable",e[e.Font=10]="Font",e[e.Home=11]="Home",e[e.Picture=12]="Picture",e[e.Public=13]="Public",e[e.Runtime=14]="Runtime",e[e.Template=15]="Template",e[e.Video=16]="Video",e[e.Resource=17]="Resource",e[e.App=18]="App",e[e.Log=19]="Log",e[e.Temp=20]="Temp",e[e.AppConfig=21]="AppConfig",e[e.AppData=22]="AppData",e[e.AppLocalData=23]="AppLocalData",e[e.AppCache=24]="AppCache",e[e.AppLog=25]="AppLog"})(x9||(x9={}));var y9;(function(e){e[e.JSON=1]="JSON",e[e.Text=2]="Text",e[e.Binary=3]="Binary"})(y9||(y9={}));o6();o6();function DO(){return pe(this,null,function*(){return Kt({__tauriModule:"Process",message:{cmd:"relaunch"}})})}function fi(e,t){return pe(this,null,function*(){return Kt({__tauriModule:"Shell",message:{cmd:"open",path:e,with:t}})})}function i6(e){return pe(this,null,function*(){return Li(bs.STATUS_UPDATE,t=>{e(t==null?void 0:t.payload)})})}function eQ(){return pe(this,null,function*(){let e;function t(){e&&e(),e=void 0}return new Promise((r,n)=>{function a(o){if(o.error){t(),n(o.error);return}o.status==="DONE"&&(t(),r())}i6(a).then(o=>{e=o}).catch(o=>{throw t(),o}),MO(bs.INSTALL_UPDATE).catch(o=>{throw t(),o})})})}function tQ(){return pe(this,null,function*(){let e;function t(){e&&e(),e=void 0}return new Promise((r,n)=>{function a(i){t(),r({manifest:i,shouldUpdate:!0})}function o(i){if(i.error){t(),n(i.error);return}i.status==="UPTODATE"&&(t(),r({shouldUpdate:!1}))}VX(bs.UPDATE_AVAILABLE,i=>{a(i==null?void 0:i.payload)}).catch(i=>{throw t(),i}),i6(o).then(i=>{e=i}).catch(i=>{throw t(),i}),MO(bs.CHECK_UPDATE).catch(i=>{throw t(),i})})})}const Sr=Hs,AO="en",Ef=[{code:"en",name:"English",website:"www.pastebar.app",flag:"🇺🇸"},{code:"es",name:"Español",flag:"🇪🇸",website:"es.pastebar.app"},{code:"de",name:"Deutsch",flag:"🇩🇪",website:"de.pastebar.app"},{code:"fr",name:"Français",flag:"🇫🇷",website:"fr.pastebar.app"},{code:"it",name:"Italiano",flag:"🇮🇹",website:"it.pastebar.app"},{code:"ru",name:"Русский",website:"www.pastebar.ru",flag:"🇷🇺"},{code:"uk",name:"Українська",flag:"🇺🇦",website:"ua.pastebar.app"}];function _w(){throw new Error("Cycle detected")}var rQ=Symbol.for("preact-signals");function l6(){if(Mp>1)Mp--;else{for(var e,t=!1;Og!==void 0;){var r=Og;for(Og=void 0,x4++;r!==void 0;){var n=r.o;if(r.o=void 0,r.f&=-3,!(8&r.f)&&LO(r))try{r.c()}catch(a){t||(e=a,t=!0)}r=n}}if(x4=0,Mp--,t)throw e}}var Kn=void 0,Og=void 0,Mp=0,x4=0,Vb=0;function RO(e){if(Kn!==void 0){var t=e.n;if(t===void 0||t.t!==Kn)return t={i:0,S:e,p:Kn.s,n:void 0,t:Kn,e:void 0,x:void 0,r:t},Kn.s!==void 0&&(Kn.s.n=t),Kn.s=t,e.n=t,32&Kn.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=Kn.s,t.n=void 0,Kn.s.n=t,Kn.s=t),t}}function na(e){this.v=e,this.i=0,this.n=void 0,this.t=void 0}na.prototype.brand=rQ;na.prototype.h=function(){return!0};na.prototype.S=function(e){this.t!==e&&e.e===void 0&&(e.x=this.t,this.t!==void 0&&(this.t.e=e),this.t=e)};na.prototype.U=function(e){if(this.t!==void 0){var t=e.e,r=e.x;t!==void 0&&(t.x=r,e.e=void 0),r!==void 0&&(r.e=t,e.x=void 0),e===this.t&&(this.t=r)}};na.prototype.subscribe=function(e){var t=this;return zO(function(){var r=t.value,n=32&this.f;this.f&=-33;try{e(r)}finally{this.f|=n}})};na.prototype.valueOf=function(){return this.value};na.prototype.toString=function(){return this.value+""};na.prototype.toJSON=function(){return this.value};na.prototype.peek=function(){return this.v};Object.defineProperty(na.prototype,"value",{get:function(){var e=RO(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(Kn instanceof Kf&&function(){throw new Error("Computed cannot have side-effects")}(),e!==this.v){x4>100&&_w(),this.v=e,this.i++,Vb++,Mp++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{l6()}}}});function yt(e){return new na(e)}function LO(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function IO(e){for(var t=e.s;t!==void 0;t=t.n){var r=t.S.n;if(r!==void 0&&(t.r=r),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function OO(e){for(var t=e.s,r=void 0;t!==void 0;){var n=t.p;t.i===-1?(t.S.U(t),n!==void 0&&(n.n=t.n),t.n!==void 0&&(t.n.p=n)):r=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=n}e.s=r}function Kf(e){na.call(this,void 0),this.x=e,this.s=void 0,this.g=Vb-1,this.f=4}(Kf.prototype=new na).h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===Vb))return!0;if(this.g=Vb,this.f|=1,this.i>0&&!LO(this))return this.f&=-2,!0;var e=Kn;try{IO(this),Kn=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(r){this.v=r,this.f|=16,this.i++}return Kn=e,OO(this),this.f&=-2,!0};Kf.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}na.prototype.S.call(this,e)};Kf.prototype.U=function(e){if(this.t!==void 0&&(na.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}};Kf.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Kf.prototype.peek=function(){if(this.h()||_w(),16&this.f)throw this.v;return this.v};Object.defineProperty(Kf.prototype,"value",{get:function(){1&this.f&&_w();var e=RO(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function $O(e){var t=e.u;if(e.u=void 0,typeof t=="function"){Mp++;var r=Kn;Kn=void 0;try{t()}catch(n){throw e.f&=-2,e.f|=8,c6(e),n}finally{Kn=r,l6()}}}function c6(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,$O(e)}function nQ(e){if(Kn!==this)throw new Error("Out-of-order effect");OO(this),Kn=e,this.f&=-2,8&this.f&&c6(this),l6()}function v1(e){this.x=e,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32}v1.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.u=t)}finally{e()}};v1.prototype.S=function(){1&this.f&&_w(),this.f|=1,this.f&=-9,$O(this),IO(this),Mp++;var e=Kn;return Kn=this,nQ.bind(this,e)};v1.prototype.N=function(){2&this.f||(this.f|=2,this.o=Og,Og=this)};v1.prototype.d=function(){this.f|=8,1&this.f||c6(this)};function zO(e){var t=new v1(e);try{t.c()}catch(r){throw t.d(),r}return t.d.bind(t)}var FO={exports:{}},HO={};/** * @license React * use-sync-external-store-shim.production.min.js * @@ -44,7 +44,7 @@ var jG=Object.defineProperty,EG=Object.defineProperties;var NG=Object.getOwnProp * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var um=p;function rQ(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var nQ=typeof Object.is=="function"?Object.is:rQ,sQ=um.useState,aQ=um.useEffect,oQ=um.useLayoutEffect,iQ=um.useDebugValue;function lQ(e,t){var r=t(),n=sQ({inst:{value:r,getSnapshot:t}}),a=n[0].inst,o=n[1];return oQ(function(){a.value=r,a.getSnapshot=t,C5(a)&&o({inst:a})},[e,r,t]),aQ(function(){return C5(a)&&o({inst:a}),e(function(){C5(a)&&o({inst:a})})},[e]),iQ(r),r}function C5(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!nQ(e,r)}catch(n){return!0}}function cQ(e,t){return t()}var uQ=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?cQ:lQ;FO.useSyncExternalStore=um.useSyncExternalStore!==void 0?um.useSyncExternalStore:uQ;zO.exports=FO;var HO=zO.exports,BO={exports:{}},l6={};/** + */var um=p;function sQ(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var aQ=typeof Object.is=="function"?Object.is:sQ,oQ=um.useState,iQ=um.useEffect,lQ=um.useLayoutEffect,cQ=um.useDebugValue;function uQ(e,t){var r=t(),n=oQ({inst:{value:r,getSnapshot:t}}),a=n[0].inst,o=n[1];return lQ(function(){a.value=r,a.getSnapshot=t,S5(a)&&o({inst:a})},[e,r,t]),iQ(function(){return S5(a)&&o({inst:a}),e(function(){S5(a)&&o({inst:a})})},[e]),cQ(r),r}function S5(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!aQ(e,r)}catch(n){return!0}}function dQ(e,t){return t()}var fQ=typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"?dQ:uQ;HO.useSyncExternalStore=um.useSyncExternalStore!==void 0?um.useSyncExternalStore:fQ;FO.exports=HO;var BO=FO.exports,UO={exports:{}},u6={};/** * @license React * react-jsx-dev-runtime.production.min.js * @@ -52,112 +52,112 @@ var jG=Object.defineProperty,EG=Object.defineProperties;var NG=Object.getOwnProp * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var dQ=Symbol.for("react.fragment");l6.Fragment=dQ;l6.jsxDEV=void 0;BO.exports=l6;var fQ=BO.exports;const hQ=rl(fQ);var UO=!1,S5=null,j5=!1,Ux=null,y9=new Map;function b9(e){if(!e)return 1;var t,r=y9.get(e);if(r!==void 0)return r;var n=e.useCallback.toString();if(e.useReducer===e.useEffect)t=1;else if(e.useEffect===e.useImperativeHandle)t=32;else if(/Invalid/.test(n))t=2;else if(/updateCallback/.test(n)||/\[0\]/.test(n)&&/\[1\]/.test(n)){var a=e.useReducer.toString();/rerenderReducer/.test(a)||/return\s*\[\w+,/.test(a)?t=16:t=8}else t=4;return y9.set(e,t),t}var pQ=[],mQ=Symbol.for("react.element"),w9=function(){};function Sd(e){return typeof e!="function"?e:function(t,r){if(typeof t=="string"&&r)for(var n in r){var a=r[n];n!=="children"&&a instanceof na&&(r[n]=a.value)}return e.call.apply(e,[e,t,r].concat([].slice.call(arguments,2)))}}var E5,WO=Symbol.dispose||Symbol.for("Symbol.dispose");function VO(e){E5&&E5(),E5=e&&e.effect.S()}var k9,N5,Wx=function(){return VO()},gQ=((k9={effect:{s:void 0,c:function(){},S:function(){return w9},d:function(){}},subscribe:function(){return w9},getSnapshot:function(){return 0},f:function(){}})[WO]=function(){},k9),vQ=Promise.prototype.then.bind(Promise.resolve());function qO(){Wx(),N5||(N5=vQ(function(){N5=void 0,Wx()}));var e=p.useRef();e.current==null&&(e.current=function(){var r,n,a,o=0,i=$O(function(){n=this});return n.c=function(){o=o+1|0,a&&a()},(r={effect:n,subscribe:function(c){return a=c,function(){o=o+1|0,a=void 0,i()}},getSnapshot:function(){return o},f:function(){Wx()}})[WO]=function(){Wx()},r}());var t=e.current;return HO.useSyncExternalStore(t.subscribe,t.getSnapshot,t.getSnapshot),VO(t),t}Object.defineProperties(na.prototype,{$$typeof:{configurable:!0,value:mQ},type:{configurable:!0,value:function(e){var t=e.data,r=function(){return UO?gQ:qO()}();try{return t.value}finally{r.f()}}},props:{configurable:!0,get:function(){return{data:this}}},ref:{configurable:!0,value:null}});function js(e){return p.useMemo(function(){return wt(e)},pQ)}(function(){(function(){UO=!0,Object.defineProperty(p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher,"current",{get:function(){return Ux},set:function(e){if(j5)Ux=e;else{var t=b9(Ux),r=b9(e);if(Ux=e,function(a,o){return 1&a&&28&o?!0:2&a||2&o?!1:!!(16&o)}(t,r))j5=!0,S5=qO(),j5=!1;else if(function(a,o){return!!(28&a&&1&o)}(t,r)){var n;(n=S5)==null||n.f(),S5=null}}}})})(),function(){var e=QG,t=hQ;jt.createElement=Sd(jt.createElement),t.jsx&&(t.jsx=Sd(t.jsx)),e.jsx&&(e.jsx=Sd(e.jsx)),t.jsxs&&(t.jsxs=Sd(t.jsxs)),e.jsxs&&(e.jsxs=Sd(e.jsxs)),t.jsxDEV&&(t.jsxDEV=Sd(t.jsxDEV)),e.jsxDEV&&(e.jsxDEV=Sd(e.jsxDEV))}()})();function Ue(){return Ue=Object.assign?Object.assign.bind():function(e){for(var t=1;te.forEach(r=>xQ(r,t))}function Zr(...e){return p.useCallback(Nw(...e),e)}const Gu=p.forwardRef((e,t)=>{const i=e,{children:r}=i,n=ke(i,["children"]),a=p.Children.toArray(r),o=a.find(yQ);if(o){const c=o.props.children,u=a.map(f=>f===o?p.Children.count(c)>1?p.Children.only(null):p.isValidElement(c)?c.props.children:null:f);return p.createElement(x4,Ue({},n,{ref:t}),p.isValidElement(c)?p.cloneElement(c,void 0,u):null)}return p.createElement(x4,Ue({},n,{ref:t}),r)});Gu.displayName="Slot";const x4=p.forwardRef((e,t)=>{const a=e,{children:r}=a,n=ke(a,["children"]);return p.isValidElement(r)?p.cloneElement(r,ee(R({},bQ(n,r.props)),{ref:t?Nw(t,r.ref):r.ref})):p.Children.count(r)>1?p.Children.only(null):null});x4.displayName="SlotClone";const KO=({children:e})=>p.createElement(p.Fragment,null,e);function yQ(e){return p.isValidElement(e)&&e.type===KO}function bQ(e,t){const r=R({},t);for(const n in t){const a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...c)=>{o(...c),a(...c)}:a&&(r[n]=a):n==="style"?r[n]=R(R({},a),o):n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return R(R({},e),r)}const wQ=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],cr=wQ.reduce((e,t)=>{const r=p.forwardRef((n,a)=>{const u=n,{asChild:o}=u,i=ke(u,["asChild"]),c=o?Gu:t;return p.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),p.createElement(c,Ue({},i,{ref:a}))});return r.displayName="Primitive.".concat(t),ee(R({},e),{[t]:r})},{});function c6(e,t){e&&Zs.flushSync(()=>e.dispatchEvent(t))}const Dc=p.forwardRef((e,t)=>{var r;const o=e,{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body}=o,a=ke(o,["container"]);return n?jO.createPortal(p.createElement(cr.div,Ue({},a,{ref:t})),n):null});function kQ(){for(var e=arguments.length,t=new Array(e),r=0;rn=>{t.forEach(a=>a(n))},t)}const _w=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined";function Am(e){const t=Object.prototype.toString.call(e);return t==="[object Window]"||t==="[object global]"}function u6(e){return"nodeType"in e}function Ba(e){var t,r;return e?Am(e)?e:u6(e)&&(t=(r=e.ownerDocument)==null?void 0:r.defaultView)!=null?t:window:window}function d6(e){const{Document:t}=Ba(e);return e instanceof t}function g1(e){return Am(e)?!1:e instanceof Ba(e).HTMLElement}function GO(e){return e instanceof Ba(e).SVGElement}function Rm(e){return e?Am(e)?e.document:u6(e)?d6(e)?e:g1(e)||GO(e)?e.ownerDocument:document:document:document}const di=_w?p.useLayoutEffect:p.useEffect;function Tw(e){const t=p.useRef(e);return di(()=>{t.current=e}),p.useCallback(function(){for(var r=arguments.length,n=new Array(r),a=0;a{e.current=setInterval(n,a)},[]),r=p.useCallback(()=>{e.current!==null&&(clearInterval(e.current),e.current=null)},[]);return[t,r]}function bv(e,t){t===void 0&&(t=[e]);const r=p.useRef(e);return di(()=>{r.current!==e&&(r.current=e)},t),r}function v1(e,t){const r=p.useRef();return p.useMemo(()=>{const n=e(r.current);return r.current=n,n},[...t])}function Wb(e){const t=Tw(e),r=p.useRef(null),n=p.useCallback(a=>{a!==r.current&&(t==null||t(a,r.current)),r.current=a},[]);return[r,n]}function Vb(e){const t=p.useRef();return p.useEffect(()=>{t.current=e},[e]),t.current}let _5={};function x1(e,t){return p.useMemo(()=>{if(t)return t;const r=_5[e]==null?0:_5[e]+1;return _5[e]=r,e+"-"+r},[e,t])}function YO(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a{const c=Object.entries(i);for(const[u,f]of c){const h=o[u];h!=null&&(o[u]=h+e*f)}return o},R({},t))}}const Dp=YO(1),qb=YO(-1);function SQ(e){return"clientX"in e&&"clientY"in e}function Pw(e){if(!e)return!1;const{KeyboardEvent:t}=Ba(e.target);return t&&e instanceof t}function jQ(e){if(!e)return!1;const{TouchEvent:t}=Ba(e.target);return t&&e instanceof t}function Kb(e){if(jQ(e)){if(e.touches&&e.touches.length){const{clientX:t,clientY:r}=e.touches[0];return{x:t,y:r}}else if(e.changedTouches&&e.changedTouches.length){const{clientX:t,clientY:r}=e.changedTouches[0];return{x:t,y:r}}}return SQ(e)?{x:e.clientX,y:e.clientY}:null}const $o=Object.freeze({Translate:{toString(e){if(!e)return;const{x:t,y:r}=e;return"translate3d("+(t?Math.round(t):0)+"px, "+(r?Math.round(r):0)+"px, 0)"}},Scale:{toString(e){if(!e)return;const{scaleX:t,scaleY:r}=e;return"scaleX("+t+") scaleY("+r+")"}},Transform:{toString(e){if(e)return[$o.Translate.toString(e),$o.Scale.toString(e)].join(" ")}},Transition:{toString(e){let{property:t,duration:r,easing:n}=e;return t+" "+r+"ms "+n}}}),C9="a,frame,iframe,input:not([type=hidden]):not(:disabled),select:not(:disabled),textarea:not(:disabled),button:not(:disabled),*[tabindex]";function EQ(e){return e.matches(C9)?e:e.querySelector(C9)}const NQ={display:"none"};function _Q(e){let{id:t,value:r}=e;return jt.createElement("div",{id:t,style:NQ},r)}function TQ(e){let{id:t,announcement:r,ariaLiveType:n="assertive"}=e;const a={position:"fixed",width:1,height:1,margin:-1,border:0,padding:0,overflow:"hidden",clip:"rect(0 0 0 0)",clipPath:"inset(100%)",whiteSpace:"nowrap"};return jt.createElement("div",{id:t,style:a,role:"status","aria-live":n,"aria-atomic":!0},r)}function PQ(){const[e,t]=p.useState("");return{announce:p.useCallback(n=>{n!=null&&t(n)},[]),announcement:e}}const ZO=p.createContext(null);function MQ(e){const t=p.useContext(ZO);p.useEffect(()=>{if(!t)throw new Error("useDndMonitor must be used within a children of ");return t(e)},[e,t])}function DQ(){const[e]=p.useState(()=>new Set),t=p.useCallback(n=>(e.add(n),()=>e.delete(n)),[e]);return[p.useCallback(n=>{let{type:a,event:o}=n;e.forEach(i=>{var c;return(c=i[a])==null?void 0:c.call(i,o)})},[e]),t]}const AQ={draggable:"\n To pick up a draggable item, press the space bar.\n While dragging, use the arrow keys to move the item.\n Press space again to drop the item in its new position, or press escape to cancel.\n "},RQ={onDragStart(e){let{active:t}=e;return"Picked up draggable item "+t.id+"."},onDragOver(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was moved over droppable area "+r.id+".":"Draggable item "+t.id+" is no longer over a droppable area."},onDragEnd(e){let{active:t,over:r}=e;return r?"Draggable item "+t.id+" was dropped over droppable area "+r.id:"Draggable item "+t.id+" was dropped."},onDragCancel(e){let{active:t}=e;return"Dragging was cancelled. Draggable item "+t.id+" was dropped."}};function LQ(e){let{announcements:t=RQ,container:r,hiddenTextDescribedById:n,screenReaderInstructions:a=AQ}=e;const{announce:o,announcement:i}=PQ(),c=x1("DndLiveRegion"),[u,f]=p.useState(!1);if(p.useEffect(()=>{f(!0)},[]),MQ(p.useMemo(()=>({onDragStart(m){let{active:v}=m;o(t.onDragStart({active:v}))},onDragMove(m){let{active:v,over:S}=m;t.onDragMove&&o(t.onDragMove({active:v,over:S}))},onDragOver(m){let{active:v,over:S}=m;o(t.onDragOver({active:v,over:S}))},onDragEnd(m){let{active:v,over:S}=m;o(t.onDragEnd({active:v,over:S}))},onDragCancel(m){let{active:v,over:S}=m;o(t.onDragCancel({active:v,over:S}))}}),[o,t])),!u)return null;const h=jt.createElement(jt.Fragment,null,jt.createElement(_Q,{id:n,value:a.draggable}),jt.createElement(TQ,{id:c,announcement:i}));return r?Zs.createPortal(h,r):h}var bs;(function(e){e.DragStart="dragStart",e.DragMove="dragMove",e.DragEnd="dragEnd",e.DragCancel="dragCancel",e.DragOver="dragOver",e.RegisterDroppable="registerDroppable",e.SetDroppableDisabled="setDroppableDisabled",e.UnregisterDroppable="unregisterDroppable"})(bs||(bs={}));function Gb(){}function hp(e,t){return p.useMemo(()=>({sensor:e,options:t!=null?t:{}}),[e,t])}function y4(){for(var e=arguments.length,t=new Array(e),r=0;r[...t].filter(n=>n!=null),[...t])}const Xi=Object.freeze({x:0,y:0});function f6(e,t){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function IQ(e,t){const r=Kb(e);if(!r)return"0 0";const n={x:(r.x-t.left)/t.width*100,y:(r.y-t.top)/t.height*100};return n.x+"% "+n.y+"%"}function h6(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return r-n}function OQ(e,t){let{data:{value:r}}=e,{data:{value:n}}=t;return n-r}function b4(e){let{left:t,top:r,height:n,width:a}=e;return[{x:t,y:r},{x:t+a,y:r},{x:t,y:r+n},{x:t+a,y:r+n}]}function p6(e,t){if(!e||e.length===0)return null;const[r]=e;return t?r[t]:r}function S9(e,t,r){return t===void 0&&(t=e.left),r===void 0&&(r=e.top),{x:t+e.width*.5,y:r+e.height*.5}}const XO=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const a=S9(t,t.left,t.top),o=[];for(const i of n){const{id:c}=i,u=r.get(c);if(u){const f=f6(S9(u),a);o.push({id:c,data:{droppableContainer:i,value:f}})}}return o.sort(h6)},$Q=e=>{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const a=b4(t),o=[];for(const i of n){const{id:c}=i,u=r.get(c);if(u){const f=b4(u),h=a.reduce((v,S,w)=>v+f6(f[w],S),0),m=Number((h/4).toFixed(4));o.push({id:c,data:{droppableContainer:i,value:m}})}}return o.sort(h6)};function zQ(e,t){const r=Math.max(t.top,e.top),n=Math.max(t.left,e.left),a=Math.min(t.left+t.width,e.left+e.width),o=Math.min(t.top+t.height,e.top+e.height),i=a-n,c=o-r;if(n{let{collisionRect:t,droppableRects:r,droppableContainers:n}=e;const a=[];for(const o of n){const{id:i}=o,c=r.get(i);if(c){const u=zQ(c,t);u>0&&a.push({id:i,data:{droppableContainer:o,value:u}})}}return a.sort(OQ)};function FQ(e,t){const{top:r,left:n,bottom:a,right:o}=t;return r<=e.y&&e.y<=a&&n<=e.x&&e.x<=o}const HQ=e=>{let{droppableContainers:t,droppableRects:r,pointerCoordinates:n}=e;if(!n)return[];const a=[];for(const o of t){const{id:i}=o,c=r.get(i);if(c&&FQ(n,c)){const f=b4(c).reduce((m,v)=>m+f6(n,v),0),h=Number((f/4).toFixed(4));a.push({id:i,data:{droppableContainer:o,value:h}})}}return a.sort(h6)};function BQ(e,t,r){return ee(R({},e),{scaleX:t&&r?t.width/r.width:1,scaleY:t&&r?t.height/r.height:1})}function QO(e,t){return e&&t?{x:e.left-t.left,y:e.top-t.top}:Xi}function UQ(e){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;oee(R({},i),{top:i.top+e*c.y,bottom:i.bottom+e*c.y,left:i.left+e*c.x,right:i.right+e*c.x}),R({},r))}}const WQ=UQ(1);function JO(e){if(e.startsWith("matrix3d(")){const t=e.slice(9,-1).split(/, /);return{x:+t[12],y:+t[13],scaleX:+t[0],scaleY:+t[5]}}else if(e.startsWith("matrix(")){const t=e.slice(7,-1).split(/, /);return{x:+t[4],y:+t[5],scaleX:+t[0],scaleY:+t[3]}}return null}function VQ(e,t,r){const n=JO(t);if(!n)return e;const{scaleX:a,scaleY:o,x:i,y:c}=n,u=e.left-i-(1-a)*parseFloat(r),f=e.top-c-(1-o)*parseFloat(r.slice(r.indexOf(" ")+1)),h=a?e.width/a:e.width,m=o?e.height/o:e.height;return{width:h,height:m,top:f,right:u+h,bottom:f+m,left:u}}const qQ={ignoreTransform:!1};function Lm(e,t){t===void 0&&(t=qQ);let r=e.getBoundingClientRect();if(t.ignoreTransform){const{transform:f,transformOrigin:h}=Ba(e).getComputedStyle(e);f&&(r=VQ(r,f,h))}const{top:n,left:a,width:o,height:i,bottom:c,right:u}=r;return{top:n,left:a,width:o,height:i,bottom:c,right:u}}function j9(e){return Lm(e,{ignoreTransform:!0})}function KQ(e){const t=e.innerWidth,r=e.innerHeight;return{top:0,left:0,right:t,bottom:r,width:t,height:r}}function GQ(e,t){return t===void 0&&(t=Ba(e).getComputedStyle(e)),t.position==="fixed"}function YQ(e,t){t===void 0&&(t=Ba(e).getComputedStyle(e));const r=/(auto|scroll|overlay)/;return["overflow","overflowX","overflowY"].some(a=>{const o=t[a];return typeof o=="string"?r.test(o):!1})}function g6(e,t){const r=[];function n(a){if(t!=null&&r.length>=t||!a)return r;if(d6(a)&&a.scrollingElement!=null&&!r.includes(a.scrollingElement))return r.push(a.scrollingElement),r;if(!g1(a)||GO(a)||r.includes(a))return r;const o=Ba(e).getComputedStyle(a);return a!==e&&YQ(a,o)&&r.push(a),GQ(a,o)?r:n(a.parentNode)}return e?n(e):r}function e$(e){const[t]=g6(e,1);return t!=null?t:null}function T5(e){return!_w||!e?null:Am(e)?e:u6(e)?d6(e)||e===Rm(e).scrollingElement?window:g1(e)?e:null:null}function t$(e){return Am(e)?e.scrollX:e.scrollLeft}function r$(e){return Am(e)?e.scrollY:e.scrollTop}function w4(e){return{x:t$(e),y:r$(e)}}var Ls;(function(e){e[e.Forward=1]="Forward",e[e.Backward=-1]="Backward"})(Ls||(Ls={}));function n$(e){return!_w||!e?!1:e===document.scrollingElement}function s$(e){const t={x:0,y:0},r=n$(e)?{height:window.innerHeight,width:window.innerWidth}:{height:e.clientHeight,width:e.clientWidth},n={x:e.scrollWidth-r.width,y:e.scrollHeight-r.height},a=e.scrollTop<=t.y,o=e.scrollLeft<=t.x,i=e.scrollTop>=n.y,c=e.scrollLeft>=n.x;return{isTop:a,isLeft:o,isBottom:i,isRight:c,maxScroll:n,minScroll:t}}const ZQ={x:.2,y:.2};function XQ(e,t,r,n,a){let{top:o,left:i,right:c,bottom:u}=r;n===void 0&&(n=10),a===void 0&&(a=ZQ);const{isTop:f,isBottom:h,isLeft:m,isRight:v}=s$(e),S={x:0,y:0},w={x:0,y:0},g={height:t.height*a.y,width:t.width*a.x};return!f&&o<=t.top+g.height?(S.y=Ls.Backward,w.y=n*Math.abs((t.top+g.height-o)/g.height)):!h&&u>=t.bottom-g.height&&(S.y=Ls.Forward,w.y=n*Math.abs((t.bottom-g.height-u)/g.height)),!v&&c>=t.right-g.width?(S.x=Ls.Forward,w.x=n*Math.abs((t.right-g.width-c)/g.width)):!m&&i<=t.left+g.width&&(S.x=Ls.Backward,w.x=n*Math.abs((t.left+g.width-i)/g.width)),{direction:S,speed:w}}function QQ(e){if(e===document.scrollingElement){const{innerWidth:o,innerHeight:i}=window;return{top:0,left:0,right:o,bottom:i,width:o,height:i}}const{top:t,left:r,right:n,bottom:a}=e.getBoundingClientRect();return{top:t,left:r,right:n,bottom:a,width:e.clientWidth,height:e.clientHeight}}function a$(e){return e.reduce((t,r)=>Dp(t,w4(r)),Xi)}function JQ(e){return e.reduce((t,r)=>t+t$(r),0)}function eJ(e){return e.reduce((t,r)=>t+r$(r),0)}function o$(e,t){if(t===void 0&&(t=Lm),!e)return;const{top:r,left:n,bottom:a,right:o}=t(e);e$(e)&&(a<=0||o<=0||r>=window.innerHeight||n>=window.innerWidth)&&e.scrollIntoView({block:"center",inline:"center"})}const tJ=[["x",["left","right"],JQ],["y",["top","bottom"],eJ]];class v6{constructor(t,r){this.rect=void 0,this.width=void 0,this.height=void 0,this.top=void 0,this.bottom=void 0,this.right=void 0,this.left=void 0;const n=g6(r),a=a$(n);this.rect=R({},t),this.width=t.width,this.height=t.height;for(const[o,i,c]of tJ)for(const u of i)Object.defineProperty(this,u,{get:()=>{const f=c(n),h=a[o]-f;return this.rect[u]+h},enumerable:!0});Object.defineProperty(this,"rect",{enumerable:!1})}}class Ig{constructor(t){this.target=void 0,this.listeners=[],this.removeAll=()=>{this.listeners.forEach(r=>{var n;return(n=this.target)==null?void 0:n.removeEventListener(...r)})},this.target=t}add(t,r,n){var a;(a=this.target)==null||a.addEventListener(t,r,n),this.listeners.push([t,r,n])}}function rJ(e){const{EventTarget:t}=Ba(e);return e instanceof t?e:Rm(e)}function P5(e,t){const r=Math.abs(e.x),n=Math.abs(e.y);return typeof t=="number"?Math.sqrt(M0(r,2)+M0(n,2))>t:"x"in t&&"y"in t?r>t.x&&n>t.y:"x"in t?r>t.x:"y"in t?n>t.y:!1}var Qo;(function(e){e.Click="click",e.DragStart="dragstart",e.Keydown="keydown",e.ContextMenu="contextmenu",e.Resize="resize",e.SelectionChange="selectionchange",e.VisibilityChange="visibilitychange"})(Qo||(Qo={}));function E9(e){e.preventDefault()}function nJ(e){e.stopPropagation()}var Lr;(function(e){e.Space="Space",e.Down="ArrowDown",e.Right="ArrowRight",e.Left="ArrowLeft",e.Up="ArrowUp",e.Esc="Escape",e.Enter="Enter"})(Lr||(Lr={}));const i$={start:[Lr.Space,Lr.Enter],cancel:[Lr.Esc],end:[Lr.Space,Lr.Enter]},sJ=(e,t)=>{let{currentCoordinates:r}=t;switch(e.code){case Lr.Right:return ee(R({},r),{x:r.x+25});case Lr.Left:return ee(R({},r),{x:r.x-25});case Lr.Down:return ee(R({},r),{y:r.y+25});case Lr.Up:return ee(R({},r),{y:r.y-25})}};class wv{constructor(t){this.props=void 0,this.autoScrollEnabled=!1,this.referenceCoordinates=void 0,this.listeners=void 0,this.windowListeners=void 0,this.props=t;const{event:{target:r}}=t;this.props=t,this.listeners=new Ig(Rm(r)),this.windowListeners=new Ig(Ba(r)),this.handleKeyDown=this.handleKeyDown.bind(this),this.handleCancel=this.handleCancel.bind(this),this.attach()}attach(){this.handleStart(),this.windowListeners.add(Qo.Resize,this.handleCancel),this.windowListeners.add(Qo.VisibilityChange,this.handleCancel),setTimeout(()=>this.listeners.add(Qo.Keydown,this.handleKeyDown))}handleStart(){const{activeNode:t,onStart:r}=this.props,n=t.node.current;n&&o$(n),r(Xi)}handleKeyDown(t){if(Pw(t)){const{active:r,context:n,options:a}=this.props,{keyboardCodes:o=i$,coordinateGetter:i=sJ,scrollBehavior:c="smooth"}=a,{code:u}=t;if(o.end.includes(u)){this.handleEnd(t);return}if(o.cancel.includes(u)){this.handleCancel(t);return}const{collisionRect:f}=n.current,h=f?{x:f.left,y:f.top}:Xi;this.referenceCoordinates||(this.referenceCoordinates=h);const m=i(t,{active:r,context:n.current,currentCoordinates:h});if(m){const v=qb(m,h),S={x:0,y:0},{scrollableAncestors:w}=n.current;for(const g of w){const b=t.code,{isTop:C,isRight:j,isLeft:E,isBottom:N,maxScroll:T,minScroll:A}=s$(g),M=QQ(g),D={x:Math.min(b===Lr.Right?M.right-M.width/2:M.right,Math.max(b===Lr.Right?M.left:M.left+M.width/2,m.x)),y:Math.min(b===Lr.Down?M.bottom-M.height/2:M.bottom,Math.max(b===Lr.Down?M.top:M.top+M.height/2,m.y))},L=b===Lr.Right&&!j||b===Lr.Left&&!E,z=b===Lr.Down&&!N||b===Lr.Up&&!C;if(L&&D.x!==m.x){const H=g.scrollLeft+v.x,V=b===Lr.Right&&H<=T.x||b===Lr.Left&&H>=A.x;if(V&&!v.y){g.scrollTo({left:H,behavior:c});return}V?S.x=g.scrollLeft-H:S.x=b===Lr.Right?g.scrollLeft-T.x:g.scrollLeft-A.x,S.x&&g.scrollBy({left:-S.x,behavior:c});break}else if(z&&D.y!==m.y){const H=g.scrollTop+v.y,V=b===Lr.Down&&H<=T.y||b===Lr.Up&&H>=A.y;if(V&&!v.x){g.scrollTo({top:H,behavior:c});return}V?S.y=g.scrollTop-H:S.y=b===Lr.Down?g.scrollTop-T.y:g.scrollTop-A.y,S.y&&g.scrollBy({top:-S.y,behavior:c});break}}this.handleMove(t,Dp(qb(m,this.referenceCoordinates),S))}}}handleMove(t,r){const{onMove:n}=this.props;t.preventDefault(),n(r)}handleEnd(t){const{onEnd:r}=this.props;t.preventDefault(),this.detach(),r()}handleCancel(t){const{onCancel:r}=this.props;t.preventDefault(),this.detach(),r()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll()}}wv.activators=[{eventName:"onKeyDown",handler:(e,t,r)=>{let{keyboardCodes:n=i$,onActivation:a}=t,{active:o}=r;const{code:i}=e.nativeEvent;if(n.start.includes(i)){const c=o.activatorNode.current;return c&&e.target!==c?!1:(e.preventDefault(),a==null||a({event:e.nativeEvent}),!0)}return!1}}];function N9(e){return!!(e&&"distance"in e)}function _9(e){return!!(e&&"delay"in e)}class x6{constructor(t,r,n){var a;n===void 0&&(n=rJ(t.event.target)),this.props=void 0,this.events=void 0,this.autoScrollEnabled=!0,this.document=void 0,this.activated=!1,this.initialCoordinates=void 0,this.timeoutId=null,this.listeners=void 0,this.documentListeners=void 0,this.windowListeners=void 0,this.props=t,this.events=r;const{event:o}=t,{target:i}=o;this.props=t,this.events=r,this.document=Rm(i),this.documentListeners=new Ig(this.document),this.listeners=new Ig(n),this.windowListeners=new Ig(Ba(i)),this.initialCoordinates=(a=Kb(o))!=null?a:Xi,this.handleStart=this.handleStart.bind(this),this.handleMove=this.handleMove.bind(this),this.handleEnd=this.handleEnd.bind(this),this.handleCancel=this.handleCancel.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.removeTextSelection=this.removeTextSelection.bind(this),this.attach()}attach(){const{events:t,props:{options:{activationConstraint:r,bypassActivationConstraint:n}}}=this;if(this.listeners.add(t.move.name,this.handleMove,{passive:!1}),this.listeners.add(t.end.name,this.handleEnd),this.windowListeners.add(Qo.Resize,this.handleCancel),this.windowListeners.add(Qo.DragStart,E9),this.windowListeners.add(Qo.VisibilityChange,this.handleCancel),this.windowListeners.add(Qo.ContextMenu,E9),this.documentListeners.add(Qo.Keydown,this.handleKeydown),r){if(n!=null&&n({event:this.props.event,activeNode:this.props.activeNode,options:this.props.options}))return this.handleStart();if(_9(r)){this.timeoutId=setTimeout(this.handleStart,r.delay);return}if(N9(r))return}this.handleStart()}detach(){this.listeners.removeAll(),this.windowListeners.removeAll(),setTimeout(this.documentListeners.removeAll,50),this.timeoutId!==null&&(clearTimeout(this.timeoutId),this.timeoutId=null)}handleStart(){const{initialCoordinates:t}=this,{onStart:r}=this.props;t&&(this.activated=!0,this.documentListeners.add(Qo.Click,nJ,{capture:!0}),this.removeTextSelection(),this.documentListeners.add(Qo.SelectionChange,this.removeTextSelection),r(t))}handleMove(t){var r;const{activated:n,initialCoordinates:a,props:o}=this,{onMove:i,options:{activationConstraint:c}}=o;if(!a)return;const u=(r=Kb(t))!=null?r:Xi,f=qb(a,u);if(!n&&c){if(N9(c)){if(c.tolerance!=null&&P5(f,c.tolerance))return this.handleCancel();if(P5(f,c.distance))return this.handleStart()}return _9(c)&&P5(f,c.tolerance)?this.handleCancel():void 0}t.cancelable&&t.preventDefault(),i(u)}handleEnd(){const{onEnd:t}=this.props;this.detach(),t()}handleCancel(){const{onCancel:t}=this.props;this.detach(),t()}handleKeydown(t){t.code===Lr.Esc&&this.handleCancel()}removeTextSelection(){var t;(t=this.document.getSelection())==null||t.removeAllRanges()}}const aJ={move:{name:"pointermove"},end:{name:"pointerup"}};class kv extends x6{constructor(t){const{event:r}=t,n=Rm(r.target);super(t,aJ,n)}}kv.activators=[{eventName:"onPointerDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return!r.isPrimary||r.button!==0?!1:(n==null||n({event:r}),!0)}}];const oJ={move:{name:"mousemove"},end:{name:"mouseup"}};var k4;(function(e){e[e.RightClick=2]="RightClick"})(k4||(k4={}));class iJ extends x6{constructor(t){super(t,oJ,Rm(t.event.target))}}iJ.activators=[{eventName:"onMouseDown",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;return r.button===k4.RightClick?!1:(n==null||n({event:r}),!0)}}];const M5={move:{name:"touchmove"},end:{name:"touchend"}};class lJ extends x6{constructor(t){super(t,M5)}static setup(){return window.addEventListener(M5.move.name,t,{capture:!1,passive:!1}),function(){window.removeEventListener(M5.move.name,t)};function t(){}}}lJ.activators=[{eventName:"onTouchStart",handler:(e,t)=>{let{nativeEvent:r}=e,{onActivation:n}=t;const{touches:a}=r;return a.length>1?!1:(n==null||n({event:r}),!0)}}];var Og;(function(e){e[e.Pointer=0]="Pointer",e[e.DraggableRect=1]="DraggableRect"})(Og||(Og={}));var Yb;(function(e){e[e.TreeOrder=0]="TreeOrder",e[e.ReversedTreeOrder=1]="ReversedTreeOrder"})(Yb||(Yb={}));function cJ(e){let{acceleration:t,activator:r=Og.Pointer,canScroll:n,draggingRect:a,enabled:o,interval:i=5,order:c=Yb.TreeOrder,pointerCoordinates:u,scrollableAncestors:f,scrollableAncestorRects:h,delta:m,threshold:v}=e;const S=dJ({delta:m,disabled:!o}),[w,g]=CQ(),b=p.useRef({x:0,y:0}),C=p.useRef({x:0,y:0}),j=p.useMemo(()=>{switch(r){case Og.Pointer:return u?{top:u.y,bottom:u.y,left:u.x,right:u.x}:null;case Og.DraggableRect:return a}},[r,a,u]),E=p.useRef(null),N=p.useCallback(()=>{const A=E.current;if(!A)return;const M=b.current.x*C.current.x,D=b.current.y*C.current.y;A.scrollBy(M,D)},[]),T=p.useMemo(()=>c===Yb.TreeOrder?[...f].reverse():f,[c,f]);p.useEffect(()=>{if(!o||!f.length||!j){g();return}for(const A of T){if((n==null?void 0:n(A))===!1)continue;const M=f.indexOf(A),D=h[M];if(!D)continue;const{direction:L,speed:z}=XQ(A,D,j,t,v);for(const H of["x","y"])S[H][L[H]]||(z[H]=0,L[H]=0);if(z.x>0||z.y>0){g(),E.current=A,w(N,i),b.current=z,C.current=L;return}}b.current={x:0,y:0},C.current={x:0,y:0},g()},[t,N,n,g,o,i,JSON.stringify(j),JSON.stringify(S),w,f,T,h,JSON.stringify(v)])}const uJ={x:{[Ls.Backward]:!1,[Ls.Forward]:!1},y:{[Ls.Backward]:!1,[Ls.Forward]:!1}};function dJ(e){let{delta:t,disabled:r}=e;const n=Vb(t);return v1(a=>{if(r||!n||!a)return uJ;const o={x:Math.sign(t.x-n.x),y:Math.sign(t.y-n.y)};return{x:{[Ls.Backward]:a.x[Ls.Backward]||o.x===-1,[Ls.Forward]:a.x[Ls.Forward]||o.x===1},y:{[Ls.Backward]:a.y[Ls.Backward]||o.y===-1,[Ls.Forward]:a.y[Ls.Forward]||o.y===1}}},[r,t,n])}function fJ(e,t){const r=t!==null?e.get(t):void 0,n=r?r.node.current:null;return v1(a=>{var o;return t===null?null:(o=n!=null?n:a)!=null?o:null},[n,t])}function hJ(e,t){return p.useMemo(()=>e.reduce((r,n)=>{const{sensor:a}=n,o=a.activators.map(i=>({eventName:i.eventName,handler:t(i.handler,n)}));return[...r,...o]},[]),[e,t])}var Nf;(function(e){e[e.Always=0]="Always",e[e.BeforeDragging=1]="BeforeDragging",e[e.WhileDragging=2]="WhileDragging"})(Nf||(Nf={}));var C4;(function(e){e.Optimized="optimized"})(C4||(C4={}));const T9=new Map;function pJ(e,t){let{dragging:r,dependencies:n,config:a}=t;const[o,i]=p.useState(null),{frequency:c,measure:u,strategy:f}=a,h=p.useRef(e),m=b(),v=bv(m),S=p.useCallback(function(C){C===void 0&&(C=[]),!v.current&&i(j=>j===null?C:j.concat(C.filter(E=>!j.includes(E))))},[v]),w=p.useRef(null),g=v1(C=>{if(m&&!r)return T9;if(!C||C===T9||h.current!==e||o!=null){const j=new Map;for(let E of e){if(!E)continue;if(o&&o.length>0&&!o.includes(E.id)&&E.rect.current){j.set(E.id,E.rect.current);continue}const N=E.node.current,T=N?new v6(u(N),N):null;E.rect.current=T,T&&j.set(E.id,T)}return j}return C},[e,o,r,m,u]);return p.useEffect(()=>{h.current=e},[e]),p.useEffect(()=>{m||S()},[r,m]),p.useEffect(()=>{o&&o.length>0&&i(null)},[JSON.stringify(o)]),p.useEffect(()=>{m||typeof c!="number"||w.current!==null||(w.current=setTimeout(()=>{S(),w.current=null},c))},[c,m,S,...n]),{droppableRects:g,measureDroppableContainers:S,measuringScheduled:o!=null};function b(){switch(f){case Nf.Always:return!1;case Nf.BeforeDragging:return r;default:return!r}}}function y6(e,t){return v1(r=>e?r||(typeof t=="function"?t(e):e):null,[t,e])}function mJ(e,t){return y6(e,t)}function gJ(e){let{callback:t,disabled:r}=e;const n=Tw(t),a=p.useMemo(()=>{if(r||typeof window=="undefined"||typeof window.MutationObserver=="undefined")return;const{MutationObserver:o}=window;return new o(n)},[n,r]);return p.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function Mw(e){let{callback:t,disabled:r}=e;const n=Tw(t),a=p.useMemo(()=>{if(r||typeof window=="undefined"||typeof window.ResizeObserver=="undefined")return;const{ResizeObserver:o}=window;return new o(n)},[r]);return p.useEffect(()=>()=>a==null?void 0:a.disconnect(),[a]),a}function vJ(e){return new v6(Lm(e),e)}function P9(e,t,r){t===void 0&&(t=vJ);const[n,a]=p.useReducer(c,null),o=gJ({callback(u){if(e)for(const f of u){const{type:h,target:m}=f;if(h==="childList"&&m instanceof HTMLElement&&m.contains(e)){a();break}}}}),i=Mw({callback:a});return di(()=>{a(),e?(i==null||i.observe(e),o==null||o.observe(document.body,{childList:!0,subtree:!0})):(i==null||i.disconnect(),o==null||o.disconnect())},[e]),n;function c(u){if(!e)return null;if(e.isConnected===!1){var f;return(f=u!=null?u:r)!=null?f:null}const h=t(e);return JSON.stringify(u)===JSON.stringify(h)?u:h}}function xJ(e){const t=y6(e);return QO(e,t)}const M9=[];function yJ(e){const t=p.useRef(e),r=v1(n=>e?n&&n!==M9&&e&&t.current&&e.parentNode===t.current.parentNode?n:g6(e):M9,[e]);return p.useEffect(()=>{t.current=e},[e]),r}function bJ(e){const[t,r]=p.useState(null),n=p.useRef(e),a=p.useCallback(o=>{const i=T5(o.target);i&&r(c=>c?(c.set(i,w4(i)),new Map(c)):null)},[]);return p.useEffect(()=>{const o=n.current;if(e!==o){i(o);const c=e.map(u=>{const f=T5(u);return f?(f.addEventListener("scroll",a,{passive:!0}),[f,w4(f)]):null}).filter(u=>u!=null);r(c.length?new Map(c):null),n.current=e}return()=>{i(e),i(o)};function i(c){c.forEach(u=>{const f=T5(u);f==null||f.removeEventListener("scroll",a)})}},[a,e]),p.useMemo(()=>e.length?t?Array.from(t.values()).reduce((o,i)=>Dp(o,i),Xi):a$(e):Xi,[e,t])}function D9(e,t){t===void 0&&(t=[]);const r=p.useRef(null);return p.useEffect(()=>{r.current=null},t),p.useEffect(()=>{const n=e!==Xi;n&&!r.current&&(r.current=e),!n&&r.current&&(r.current=null)},[e]),r.current?qb(e,r.current):Xi}function wJ(e){p.useEffect(()=>{if(!_w)return;const t=e.map(r=>{let{sensor:n}=r;return n.setup==null?void 0:n.setup()});return()=>{for(const r of t)r==null||r()}},e.map(t=>{let{sensor:r}=t;return r}))}function kJ(e,t){return p.useMemo(()=>e.reduce((r,n)=>{let{eventName:a,handler:o}=n;return r[a]=i=>{o(i,t)},r},{}),[e,t])}function l$(e){return p.useMemo(()=>e?KQ(e):null,[e])}const D5=[];function CJ(e,t){t===void 0&&(t=Lm);const[r]=e,n=l$(r?Ba(r):null),[a,o]=p.useReducer(c,D5),i=Mw({callback:o});return e.length>0&&a===D5&&o(),di(()=>{e.length?e.forEach(u=>i==null?void 0:i.observe(u)):(i==null||i.disconnect(),o())},[e]),a;function c(){return e.length?e.map(u=>n$(u)?n:new v6(t(u),u)):D5}}function c$(e){if(!e)return null;if(e.children.length>1)return e;const t=e.children[0];return g1(t)?t:e}function SJ(e){let{measure:t}=e;const[r,n]=p.useState(null),a=p.useCallback(f=>{for(const{target:h}of f)if(g1(h)){n(m=>{const v=t(h);return m?ee(R({},m),{width:v.width,height:v.height}):v});break}},[t]),o=Mw({callback:a}),i=p.useCallback(f=>{const h=c$(f);o==null||o.disconnect(),h&&(o==null||o.observe(h)),n(h?t(h):null)},[t,o]),[c,u]=Wb(i);return p.useMemo(()=>({nodeRef:c,rect:r,setRef:u}),[r,c,u])}const jJ=[{sensor:kv,options:{}},{sensor:wv,options:{}}],EJ={current:{}},Zy={draggable:{measure:j9},droppable:{measure:j9,strategy:Nf.WhileDragging,frequency:C4.Optimized},dragOverlay:{measure:Lm}};class $g extends Map{get(t){var r;return t!=null&&(r=super.get(t))!=null?r:void 0}toArray(){return Array.from(this.values())}getEnabled(){return this.toArray().filter(t=>{let{disabled:r}=t;return!r})}getNodeFor(t){var r,n;return(r=(n=this.get(t))==null?void 0:n.node.current)!=null?r:void 0}}const NJ={activatorEvent:null,active:null,activeNode:null,activeNodeRect:null,collisions:null,containerNodeRect:null,draggableNodes:new Map,droppableRects:new Map,droppableContainers:new $g,over:null,dragOverlay:{nodeRef:{current:null},rect:null,setRef:Gb},scrollableAncestors:[],scrollableAncestorRects:[],measuringConfiguration:Zy,measureDroppableContainers:Gb,windowRect:null,measuringScheduled:!1},u$={activatorEvent:null,activators:[],active:null,activeNodeRect:null,ariaDescribedById:{draggable:""},dispatch:Gb,draggableNodes:new Map,over:null,measureDroppableContainers:Gb},y1=p.createContext(u$),d$=p.createContext(NJ);function _J(){return{draggable:{active:null,initialCoordinates:{x:0,y:0},nodes:new Map,translate:{x:0,y:0}},droppable:{containers:new $g}}}function TJ(e,t){switch(t.type){case bs.DragStart:return ee(R({},e),{draggable:ee(R({},e.draggable),{initialCoordinates:t.initialCoordinates,active:t.active})});case bs.DragMove:return e.draggable.active?ee(R({},e),{draggable:ee(R({},e.draggable),{translate:{x:t.coordinates.x-e.draggable.initialCoordinates.x,y:t.coordinates.y-e.draggable.initialCoordinates.y}})}):e;case bs.DragEnd:case bs.DragCancel:return ee(R({},e),{draggable:ee(R({},e.draggable),{active:null,initialCoordinates:{x:0,y:0},translate:{x:0,y:0}})});case bs.RegisterDroppable:{const{element:r}=t,{id:n}=r,a=new $g(e.droppable.containers);return a.set(n,r),ee(R({},e),{droppable:ee(R({},e.droppable),{containers:a})})}case bs.SetDroppableDisabled:{const{id:r,key:n,disabled:a}=t,o=e.droppable.containers.get(r);if(!o||n!==o.key)return e;const i=new $g(e.droppable.containers);return i.set(r,ee(R({},o),{disabled:a})),ee(R({},e),{droppable:ee(R({},e.droppable),{containers:i})})}case bs.UnregisterDroppable:{const{id:r,key:n}=t,a=e.droppable.containers.get(r);if(!a||n!==a.key)return e;const o=new $g(e.droppable.containers);return o.delete(r),ee(R({},e),{droppable:ee(R({},e.droppable),{containers:o})})}default:return e}}function PJ(e){let{disabled:t}=e;const{active:r,activatorEvent:n,draggableNodes:a}=p.useContext(y1),o=Vb(n),i=Vb(r==null?void 0:r.id);return p.useEffect(()=>{if(!t&&!n&&o&&i!=null){if(!Pw(o)||document.activeElement===o.target)return;const c=a.get(i);if(!c)return;const{activatorNode:u,node:f}=c;if(!u.current&&!f.current)return;requestAnimationFrame(()=>{for(const h of[u.current,f.current]){if(!h)continue;const m=EQ(h);if(m){m.focus();break}}})}},[n,t,a,i,o]),null}function f$(e,t){let a=t,{transform:r}=a,n=ke(a,["transform"]);return e!=null&&e.length?e.reduce((o,i)=>i(R({transform:o},n)),r):r}function MJ(e){return p.useMemo(()=>({draggable:R(R({},Zy.draggable),e==null?void 0:e.draggable),droppable:R(R({},Zy.droppable),e==null?void 0:e.droppable),dragOverlay:R(R({},Zy.dragOverlay),e==null?void 0:e.dragOverlay)}),[e==null?void 0:e.draggable,e==null?void 0:e.droppable,e==null?void 0:e.dragOverlay])}function DJ(e){let{activeNode:t,measure:r,initialRect:n,config:a=!0}=e;const o=p.useRef(!1),{x:i,y:c}=typeof a=="boolean"?{x:a,y:a}:a;di(()=>{if(!i&&!c||!t){o.current=!1;return}if(o.current||!n)return;const f=t==null?void 0:t.node.current;if(!f||f.isConnected===!1)return;const h=r(f),m=QO(h,n);if(i||(m.x=0),c||(m.y=0),o.current=!0,Math.abs(m.x)>0||Math.abs(m.y)>0){const v=e$(f);v&&v.scrollBy({top:m.y,left:m.x})}},[t,i,c,n,r])}const Dw=p.createContext(ee(R({},Xi),{scaleX:1,scaleY:1}));var ou;(function(e){e[e.Uninitialized=0]="Uninitialized",e[e.Initializing=1]="Initializing",e[e.Initialized=2]="Initialized"})(ou||(ou={}));const b6=p.memo(function(t){var r,n,a,o;let Se=t,{id:i,accessibility:c,autoScroll:u=!0,children:f,sensors:h=jJ,collisionDetection:m=m6,measuring:v,modifiers:S}=Se,w=ke(Se,["id","accessibility","autoScroll","children","sensors","collisionDetection","measuring","modifiers"]);const g=p.useReducer(TJ,void 0,_J),[b,C]=g,[j,E]=DQ(),[N,T]=p.useState(ou.Uninitialized),A=N===ou.Initialized,{draggable:{active:M,nodes:D,translate:L},droppable:{containers:z}}=b,H=M?D.get(M):null,V=p.useRef({initial:null,translated:null}),I=p.useMemo(()=>{var je;return M!=null?{id:M,data:(je=H==null?void 0:H.data)!=null?je:EJ,rect:V}:null},[M,H]),q=p.useRef(null),[_,$]=p.useState(null),[U,K]=p.useState(null),Y=bv(w,Object.values(w)),B=x1("DndDescribedBy",i),F=p.useMemo(()=>z.getEnabled(),[z]),G=MJ(v),{droppableRects:X,measureDroppableContainers:se,measuringScheduled:re}=pJ(F,{dragging:A,dependencies:[L.x,L.y],config:G.droppable}),ie=fJ(D,M),oe=p.useMemo(()=>U?Kb(U):null,[U]),ae=mr(),fe=mJ(ie,G.draggable.measure);DJ({activeNode:M?D.get(M):null,config:ae.layoutShiftCompensation,initialRect:fe,measure:G.draggable.measure});const le=P9(ie,G.draggable.measure,fe),ue=P9(ie?ie.parentElement:null),be=p.useRef({activatorEvent:null,active:null,activeNode:ie,collisionRect:null,collisions:null,droppableRects:X,draggableNodes:D,draggingNode:null,draggingNodeRect:null,droppableContainers:z,over:null,scrollableAncestors:[],scrollAdjustedTranslate:null}),Ce=z.getNodeFor((r=be.current.over)==null?void 0:r.id),Pe=SJ({measure:G.dragOverlay.measure}),Ee=(n=Pe.nodeRef.current)!=null?n:ie,Oe=A?(a=Pe.rect)!=null?a:le:null,Ve=!!(Pe.nodeRef.current&&Pe.rect),ct=xJ(Ve?null:le),gt=l$(Ee?Ba(Ee):null),Ke=yJ(A?Ce!=null?Ce:ie:null),Et=CJ(Ke),Re=f$(S,{transform:{x:L.x-ct.x,y:L.y-ct.y,scaleX:1,scaleY:1},activatorEvent:U,active:I,activeNodeRect:le,containerNodeRect:ue,draggingNodeRect:Oe,over:be.current.over,overlayNodeRect:Pe.rect,scrollableAncestors:Ke,scrollableAncestorRects:Et,windowRect:gt}),xt=oe?Dp(oe,L):null,ot=bJ(Ke),pt=D9(ot),_t=D9(ot,[le]),ht=Dp(Re,pt),It=Oe?WQ(Oe,Re):null,Ft=I&&It?m({active:I,collisionRect:It,droppableRects:X,droppableContainers:F,pointerCoordinates:xt}):null,Vt=p6(Ft,"id"),[Ge,Zt]=p.useState(null),nr=Ve?Re:Dp(Re,_t),vr=BQ(nr,(o=Ge==null?void 0:Ge.rect)!=null?o:null,le),pr=p.useCallback((je,we)=>{let{sensor:Fe,options:nt}=we;if(q.current==null)return;const rt=D.get(q.current);if(!rt)return;const Ie=je.nativeEvent,$e=new Fe({active:q.current,activeNode:rt,event:Ie,options:nt,context:be,onStart(mt){const qt=q.current;if(qt==null)return;const Tt=D.get(qt);if(!Tt)return;const{onDragStart:Rt}=Y.current,Xt={active:{id:qt,data:Tt.data,rect:V}};Zs.unstable_batchedUpdates(()=>{Rt==null||Rt(Xt),T(ou.Initializing),C({type:bs.DragStart,initialCoordinates:mt,active:qt}),j({type:"onDragStart",event:Xt})})},onMove(mt){C({type:bs.DragMove,coordinates:mt})},onEnd:Ye(bs.DragEnd),onCancel:Ye(bs.DragCancel)});Zs.unstable_batchedUpdates(()=>{$($e),K(je.nativeEvent)});function Ye(mt){return function(){return pe(this,null,function*(){const{active:Tt,collisions:Rt,over:Xt,scrollAdjustedTranslate:Pr}=be.current;let Nr=null;if(Tt&&Pr){const{cancelDrop:Vr}=Y.current;Nr={activatorEvent:Ie,active:Tt,collisions:Rt,delta:Pr,over:Xt},mt===bs.DragEnd&&typeof Vr=="function"&&(yield Promise.resolve(Vr(Nr)))&&(mt=bs.DragCancel)}q.current=null,Zs.unstable_batchedUpdates(()=>{C({type:mt}),T(ou.Uninitialized),Zt(null),$(null),K(null);const Vr=mt===bs.DragEnd?"onDragEnd":"onDragCancel";if(Nr){const qr=Y.current[Vr];qr==null||qr(Nr),j({type:Vr,event:Nr})}})})}}},[D]),Wr=p.useCallback((je,we)=>(Fe,nt)=>{const rt=Fe.nativeEvent,Ie=D.get(nt);if(q.current!==null||!Ie||rt.dndKit||rt.defaultPrevented)return;const $e={active:Ie};je(Fe,we.options,$e)===!0&&(rt.dndKit={capturedBy:we.sensor},q.current=nt,pr(Fe,we))},[D,pr]),Le=hJ(h,Wr);wJ(h),di(()=>{le&&N===ou.Initializing&&T(ou.Initialized)},[le,N]),p.useEffect(()=>{const{onDragMove:je}=Y.current,{active:we,activatorEvent:Fe,collisions:nt,over:rt}=be.current;if(!we||!Fe)return;const Ie={active:we,activatorEvent:Fe,collisions:nt,delta:{x:ht.x,y:ht.y},over:rt};Zs.unstable_batchedUpdates(()=>{je==null||je(Ie),j({type:"onDragMove",event:Ie})})},[ht.x,ht.y]),p.useEffect(()=>{const{active:je,activatorEvent:we,collisions:Fe,droppableContainers:nt,scrollAdjustedTranslate:rt}=be.current;if(!je||q.current==null||!we||!rt)return;const{onDragOver:Ie}=Y.current,$e=nt.get(Vt),Ye=$e&&$e.rect.current?{id:$e.id,rect:$e.rect.current,data:$e.data,disabled:$e.disabled}:null,mt={active:je,activatorEvent:we,collisions:Fe,delta:{x:rt.x,y:rt.y},over:Ye};Zs.unstable_batchedUpdates(()=>{Zt(Ye),Ie==null||Ie(mt),j({type:"onDragOver",event:mt})})},[Vt]),di(()=>{be.current={activatorEvent:U,active:I,activeNode:ie,collisionRect:It,collisions:Ft,droppableRects:X,draggableNodes:D,draggingNode:Ee,draggingNodeRect:Oe,droppableContainers:z,over:Ge,scrollableAncestors:Ke,scrollAdjustedTranslate:ht},V.current={initial:Oe,translated:It}},[I,ie,Ft,It,D,Ee,Oe,X,z,Ge,Ke,ht]),cJ(ee(R({},ae),{delta:L,draggingRect:It,pointerCoordinates:xt,scrollableAncestors:Ke,scrollableAncestorRects:Et}));const Mt=p.useMemo(()=>({active:I,activeNode:ie,activeNodeRect:le,activatorEvent:U,collisions:Ft,containerNodeRect:ue,dragOverlay:Pe,draggableNodes:D,droppableContainers:z,droppableRects:X,over:Ge,measureDroppableContainers:se,scrollableAncestors:Ke,scrollableAncestorRects:Et,measuringConfiguration:G,measuringScheduled:re,windowRect:gt}),[I,ie,le,U,Ft,ue,Pe,D,z,X,Ge,se,Ke,Et,G,re,gt]),Ze=p.useMemo(()=>({activatorEvent:U,activators:Le,active:I,activeNodeRect:le,ariaDescribedById:{draggable:B},dispatch:C,draggableNodes:D,over:Ge,measureDroppableContainers:se}),[U,Le,I,le,C,B,D,Ge,se]);return jt.createElement(ZO.Provider,{value:E},jt.createElement(y1.Provider,{value:Ze},jt.createElement(d$.Provider,{value:Mt},jt.createElement(Dw.Provider,{value:vr},f)),jt.createElement(PJ,{disabled:(c==null?void 0:c.restoreFocus)===!1})),jt.createElement(LQ,ee(R({},c),{hiddenTextDescribedById:B})));function mr(){const je=(_==null?void 0:_.autoScrollEnabled)===!1,we=typeof u=="object"?u.enabled===!1:u===!1,Fe=A&&!je&&!we;return typeof u=="object"?ee(R({},u),{enabled:Fe}):{enabled:Fe}}}),AJ=p.createContext(null),A9="button",RJ="Droppable";function h$(e){let{id:t,data:r,disabled:n=!1,attributes:a}=e;const o=x1(RJ),{activators:i,activatorEvent:c,active:u,activeNodeRect:f,ariaDescribedById:h,draggableNodes:m,over:v}=p.useContext(y1),{role:S=A9,roleDescription:w="draggable",tabIndex:g=0}=a!=null?a:{},b=(u==null?void 0:u.id)===t,C=p.useContext(b?Dw:AJ),[j,E]=Wb(),[N,T]=Wb(),A=kJ(i,t),M=bv(r);di(()=>(m.set(t,{id:t,key:o,node:j,activatorNode:N,data:M}),()=>{const L=m.get(t);L&&L.key===o&&m.delete(t)}),[m,t]);const D=p.useMemo(()=>({role:S,tabIndex:g,"aria-disabled":n,"aria-pressed":b&&S===A9?!0:void 0,"aria-roledescription":w,"aria-describedby":h.draggable}),[n,S,g,b,w,h.draggable]);return{active:u,activatorEvent:c,activeNodeRect:f,attributes:D,isDragging:b,listeners:n?void 0:A,node:j,over:v,setNodeRef:E,setActivatorNodeRef:T,transform:C}}function p$(){return p.useContext(d$)}const LJ="Droppable",IJ={timeout:25};function Aw(e){let{data:t,disabled:r=!1,id:n,resizeObserverConfig:a}=e;const o=x1(LJ),{active:i,dispatch:c,over:u,measureDroppableContainers:f}=p.useContext(y1),h=p.useRef({disabled:r}),m=p.useRef(!1),v=p.useRef(null),S=p.useRef(null),{disabled:w,updateMeasurementsFor:g,timeout:b}=R(R({},IJ),a),C=bv(g!=null?g:n),j=p.useCallback(()=>{if(!m.current){m.current=!0;return}S.current!=null&&clearTimeout(S.current),S.current=setTimeout(()=>{f(Array.isArray(C.current)?C.current:[C.current]),S.current=null},b)},[b]),E=Mw({callback:j,disabled:w||!i}),N=p.useCallback((D,L)=>{E&&(L&&(E.unobserve(L),m.current=!1),D&&E.observe(D))},[E]),[T,A]=Wb(N),M=bv(t);return p.useEffect(()=>{!E||!T.current||(E.disconnect(),m.current=!1,E.observe(T.current))},[T,E]),di(()=>(c({type:bs.RegisterDroppable,element:{id:n,key:o,disabled:r,node:T,rect:v,data:M}}),()=>c({type:bs.UnregisterDroppable,key:o,id:n})),[n]),p.useEffect(()=>{r!==h.current.disabled&&(c({type:bs.SetDroppableDisabled,id:n,key:o,disabled:r}),h.current.disabled=r)},[n,o,r,c]),{active:i,rect:v,isOver:(u==null?void 0:u.id)===n,node:T,over:u,setNodeRef:A}}function OJ(e){let{animation:t,children:r}=e;const[n,a]=p.useState(null),[o,i]=p.useState(null),c=Vb(r);return!r&&!n&&c&&a(c),di(()=>{if(!o)return;const u=n==null?void 0:n.key,f=n==null?void 0:n.props.id;if(u==null||f==null){a(null);return}Promise.resolve(t(f,o)).then(()=>{a(null)})},[t,n,o]),jt.createElement(jt.Fragment,null,r,n?p.cloneElement(n,{ref:i}):null)}const $J={x:0,y:0,scaleX:1,scaleY:1};function zJ(e){let{children:t}=e;return jt.createElement(y1.Provider,{value:u$},jt.createElement(Dw.Provider,{value:$J},t))}const FJ={position:"fixed",touchAction:"none"},HJ=e=>Pw(e)?"transform 250ms ease":void 0,BJ=p.forwardRef((e,t)=>{let{as:r,activatorEvent:n,adjustScale:a,children:o,className:i,rect:c,style:u,transform:f,transition:h=HJ}=e;if(!c)return null;const m=a?f:ee(R({},f),{scaleX:1,scaleY:1}),v=R(ee(R({},FJ),{width:c.width,height:c.height,top:c.top,left:c.left,transform:$o.Transform.toString(m),transformOrigin:a&&n?IQ(n,c):void 0,transition:typeof h=="function"?h(n):h}),u);return jt.createElement(r,{className:i,style:v,ref:t},o)}),UJ=e=>t=>{let{active:r,dragOverlay:n}=t;const a={},{styles:o,className:i}=e;if(o!=null&&o.active)for(const[c,u]of Object.entries(o.active))u!==void 0&&(a[c]=r.node.style.getPropertyValue(c),r.node.style.setProperty(c,u));if(o!=null&&o.dragOverlay)for(const[c,u]of Object.entries(o.dragOverlay))u!==void 0&&n.node.style.setProperty(c,u);return i!=null&&i.active&&r.node.classList.add(i.active),i!=null&&i.dragOverlay&&n.node.classList.add(i.dragOverlay),function(){for(const[u,f]of Object.entries(a))r.node.style.setProperty(u,f);i!=null&&i.active&&r.node.classList.remove(i.active)}},WJ=e=>{let{transform:{initial:t,final:r}}=e;return[{transform:$o.Transform.toString(t)},{transform:$o.Transform.toString(r)}]},df={duration:250,easing:"ease",keyframes:WJ,sideEffects:UJ({styles:{active:{opacity:"0"}}})};function VJ(e){let{config:t,draggableNodes:r,droppableContainers:n,measuringConfiguration:a}=e;return Tw((o,i)=>{if(t===null)return;const c=r.get(o);if(!c)return;const u=c.node.current;if(!u)return;const f=c$(i);if(!f)return;const{transform:h}=Ba(i).getComputedStyle(i),m=JO(h);if(!m)return;const v=typeof t=="function"?t:qJ(t);return o$(u,a.draggable.measure),v({active:{id:o,data:c.data,node:u,rect:a.draggable.measure(u)},draggableNodes:r,dragOverlay:{node:i,rect:a.dragOverlay.measure(f)},droppableContainers:n,measuringConfiguration:a,transform:m})})}function qJ(e){const{duration:t,easing:r,sideEffects:n,keyframes:a}=R(R({},df),e);return o=>{let j=o,{active:i,dragOverlay:c,transform:u}=j,f=ke(j,["active","dragOverlay","transform"]);if(!t)return;const h={x:c.rect.left-i.rect.left,y:c.rect.top-i.rect.top},m={scaleX:u.scaleX!==1?i.rect.width*u.scaleX/c.rect.width:1,scaleY:u.scaleY!==1?i.rect.height*u.scaleY/c.rect.height:1},v=R({x:u.x-h.x,y:u.y-h.y},m),S=a(ee(R({},f),{active:i,dragOverlay:c,transform:{initial:u,final:v}})),[w]=S,g=S[S.length-1];if(JSON.stringify(w)===JSON.stringify(g))return;const b=n==null?void 0:n(R({active:i,dragOverlay:c},f)),C=c.node.animate(S,{duration:t,easing:r,fill:"forwards"});return new Promise(E=>{C.onfinish=()=>{b==null||b(),E()}})}}let R9=0;function KJ(e){return p.useMemo(()=>{if(e!=null)return R9++,R9},[e])}const m$=jt.memo(e=>{let{adjustScale:t=!1,children:r,dropAnimation:n,style:a,transition:o,modifiers:i,wrapperElement:c="div",className:u,zIndex:f=999}=e;const{activatorEvent:h,active:m,activeNodeRect:v,containerNodeRect:S,draggableNodes:w,droppableContainers:g,dragOverlay:b,over:C,measuringConfiguration:j,scrollableAncestors:E,scrollableAncestorRects:N,windowRect:T}=p$(),A=p.useContext(Dw),M=KJ(m==null?void 0:m.id),D=f$(i,{activatorEvent:h,active:m,activeNodeRect:v,containerNodeRect:S,draggingNodeRect:b.rect,over:C,overlayNodeRect:b.rect,scrollableAncestors:E,scrollableAncestorRects:N,transform:A,windowRect:T}),L=y6(v),z=VJ({config:n,draggableNodes:w,droppableContainers:g,measuringConfiguration:j}),H=L?b.setRef:void 0;return jt.createElement(zJ,null,jt.createElement(OJ,{animation:z},m&&M?jt.createElement(BJ,{key:M,id:m.id,ref:H,as:c,activatorEvent:h,adjustScale:t,className:u,transition:o,rect:L,style:R({zIndex:f},a),transform:D},r):null))});function zn(e,t,r){const n=e.slice();return n.splice(r<0?n.length+r:r,0,n.splice(t,1)[0]),n}function GJ(e,t){return e.reduce((r,n,a)=>{const o=t.get(n);return o&&(r[a]=o),r},Array(e.length))}function Vx(e){return e!==null&&e>=0}function YJ(e,t){if(e===t)return!0;if(e.length!==t.length)return!1;for(let r=0;r{var t;let{rects:r,activeNodeRect:n,activeIndex:a,overIndex:o,index:i}=e;const c=(t=r[a])!=null?t:n;if(!c)return null;const u=QJ(r,i,a);if(i===a){const f=r[o];return f?R({x:aa&&i<=o?R({x:-c.width-u,y:0},qx):i=o?R({x:c.width+u,y:0},qx):R({x:0,y:0},qx)};function QJ(e,t,r){const n=e[t],a=e[t-1],o=e[t+1];return!n||!a&&!o?0:r{let{rects:t,activeIndex:r,overIndex:n,index:a}=e;const o=zn(t,n,r),i=t[a],c=o[a];return!c||!i?null:{x:c.left-i.left,y:c.top-i.top,scaleX:c.width/i.width,scaleY:c.height/i.height}},Kx={scaleX:1,scaleY:1},JJ=e=>{var t;let{activeIndex:r,activeNodeRect:n,index:a,rects:o,overIndex:i}=e;const c=(t=o[r])!=null?t:n;if(!c)return null;if(a===r){const f=o[i];return f?R({x:0,y:rr&&a<=i?R({x:0,y:-c.height-u},Kx):a=i?R({x:0,y:c.height+u},Kx):R({x:0,y:0},Kx)};function eee(e,t,r){const n=e[t],a=e[t-1],o=e[t+1];return n?rn.map(A=>typeof A=="object"&&"id"in A?A.id:A),[n]),w=i!=null,g=i?S.indexOf(i.id):-1,b=f?S.indexOf(f.id):-1,C=p.useRef(S),j=!YJ(S,C.current),E=b!==-1&&g===-1||j,N=ZJ(o);di(()=>{j&&w&&h(S)},[j,S,w,h]),p.useEffect(()=>{C.current=S},[S]);const T=p.useMemo(()=>({activeIndex:g,containerId:m,disabled:N,disableTransforms:E,items:S,overIndex:b,useDragOverlay:v,sortedRects:GJ(S,u),strategy:a}),[g,m,N.draggable,N.droppable,E,S,b,u,v,a]);return jt.createElement(x$.Provider,{value:T},t)}const tee=e=>{let{id:t,items:r,activeIndex:n,overIndex:a}=e;return zn(r,n,a).indexOf(t)},ree=e=>{let{containerId:t,isSorting:r,wasDragging:n,index:a,items:o,newIndex:i,previousItems:c,previousContainerId:u,transition:f}=e;return!f||!n||c!==o&&a===i?!1:r?!0:i!==a&&t===u},nee={duration:200,easing:"ease"},y$="transform",see=$o.Transition.toString({property:y$,duration:0,easing:"linear"}),aee={roleDescription:"sortable"};function oee(e){let{disabled:t,index:r,node:n,rect:a}=e;const[o,i]=p.useState(null),c=p.useRef(r);return di(()=>{if(!t&&r!==c.current&&n.current){const u=a.current;if(u){const f=Lm(n.current,{ignoreTransform:!0}),h={x:u.left-f.left,y:u.top-f.top,scaleX:u.width/f.width,scaleY:u.height/f.height};(h.x||h.y)&&i(h)}}r!==c.current&&(c.current=r)},[t,r,n,a]),p.useEffect(()=>{o&&i(null)},[o]),o}function Rw(e){let{animateLayoutChanges:t=ree,attributes:r,disabled:n,data:a,getNewIndex:o=tee,id:i,strategy:c,resizeObserverConfig:u,transition:f=nee}=e;const{items:h,containerId:m,activeIndex:v,disabled:S,disableTransforms:w,sortedRects:g,overIndex:b,useDragOverlay:C,strategy:j}=p.useContext(x$),E=iee(n,S),N=h.indexOf(i),T=p.useMemo(()=>R({sortable:{containerId:m,index:N,items:h}},a),[m,a,N,h]),A=p.useMemo(()=>h.slice(h.indexOf(i)),[h,i]),{rect:M,node:D,isOver:L,setNodeRef:z}=Aw({id:i,data:T,disabled:E.droppable,resizeObserverConfig:R({updateMeasurementsFor:A},u)}),{active:H,activatorEvent:V,activeNodeRect:I,attributes:q,setNodeRef:_,listeners:$,isDragging:U,over:K,setActivatorNodeRef:Y,transform:B}=h$({id:i,data:T,attributes:R(R({},aee),r),disabled:E.draggable}),F=kQ(z,_),G=!!H,X=G&&!w&&Vx(v)&&Vx(b),se=!C&&U,re=se&&X?B:null,ie=c!=null?c:j,oe=X?re!=null?re:ie({rects:g,activeNodeRect:I,activeIndex:v,overIndex:b,index:N}):null,ae=Vx(v)&&Vx(b)?o({id:i,items:h,activeIndex:v,overIndex:b}):N,fe=H==null?void 0:H.id,le=p.useRef({activeId:fe,items:h,newIndex:ae,containerId:m}),ue=h!==le.current.items,be=t({active:H,containerId:m,isDragging:U,isSorting:G,id:i,index:N,items:h,newIndex:le.current.newIndex,previousItems:le.current.items,previousContainerId:le.current.containerId,transition:f,wasDragging:le.current.activeId!=null}),Ce=oee({disabled:!be,index:N,node:D,rect:M});return p.useEffect(()=>{G&&le.current.newIndex!==ae&&(le.current.newIndex=ae),m!==le.current.containerId&&(le.current.containerId=m),h!==le.current.items&&(le.current.items=h)},[G,ae,m,h]),p.useEffect(()=>{if(fe===le.current.activeId)return;if(fe&&!le.current.activeId){le.current.activeId=fe;return}const Ee=setTimeout(()=>{le.current.activeId=fe},50);return()=>clearTimeout(Ee)},[fe]),{active:H,activeIndex:v,attributes:q,data:T,rect:M,index:N,newIndex:ae,items:h,isOver:L,isSorting:G,isDragging:U,listeners:$,node:D,overIndex:b,over:K,setNodeRef:F,setActivatorNodeRef:Y,setDroppableNodeRef:z,setDraggableNodeRef:_,transform:Ce!=null?Ce:oe,transition:Pe()};function Pe(){if(Ce||ue&&le.current.newIndex===N)return see;if(!(se&&!Pw(V)||!f)&&(G||be))return $o.Transition.toString(ee(R({},f),{property:y$}))}}function iee(e,t){var r,n;return typeof e=="boolean"?{draggable:e,droppable:!1}:{draggable:(r=e==null?void 0:e.draggable)!=null?r:t.draggable,droppable:(n=e==null?void 0:e.droppable)!=null?n:t.droppable}}Lr.Down,Lr.Right,Lr.Up,Lr.Left;function os(e,t,r){const n=a=>e.filter(o=>o.parentId===a&&o.tabId===t).map(o=>ee(R({},o),{id:o.itemId.toString(),children:[],type:o.isBoard?Hs:o.isClip?Lo:void 0})).sort((o,i)=>o.orderNumber-i.orderNumber).map(o=>{const i=o;return"isBoard"in i&&i.isBoard&&i.type===Hs&&(i.children=n(i.id.toString()),i.children.length===0&&delete i.children),i});return n(r||null)}function b$(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e))for(t=0;tr};return typeof e=="function"?n.read=e:(n.init=e,n.read=function(a){return a(this)},n.write=function(a,o,i){return o(this,typeof i=="function"?i(a(this)):i)}),t&&(n.write=t),n}const A5=e=>"init"in e,R5=e=>!!e.write,Xb=new WeakMap,cee=(e,t)=>{Xb.set(e,t),e.catch(()=>{}).finally(()=>Xb.delete(e))},I9=(e,t)=>{const r=Xb.get(e);r&&(Xb.delete(e),r(t))},O9=(e,t)=>{e.status="fulfilled",e.value=t},$9=(e,t)=>{e.status="rejected",e.reason=t},uee=e=>typeof(e==null?void 0:e.then)=="function",F0=(e,t)=>!!e&&"v"in e&&"v"in t&&Object.is(e.v,t.v),z9=(e,t)=>!!e&&"e"in e&&"e"in t&&Object.is(e.e,t.e),Sh=e=>!!e&&"v"in e&&e.v instanceof Promise,dee=(e,t)=>"v"in e&&"v"in t&&e.v.orig&&e.v.orig===t.v.orig,Gx=e=>{if("e"in e)throw e.e;return e.v},fee=()=>{const e=new WeakMap,t=new WeakMap,r=new Map;let n,a;(ps?"production":void 0)!=="production"&&(n=new Set,a=new Set);const o=D=>e.get(D),i=(D,L)=>{(ps?"production":void 0)!=="production"&&Object.freeze(L);const z=e.get(D);if(e.set(D,L),r.has(D)||r.set(D,z),Sh(z)){const H="v"in L?L.v instanceof Promise?L.v:Promise.resolve(L.v):Promise.reject(L.e);z.v!==H&&I9(z.v,H)}},c=(D,L,z)=>{const H=new Map;let V=!1;z.forEach((I,q)=>{!I&&q===D&&(I=L),I?(H.set(q,I),L.d.get(q)!==I&&(V=!0)):(ps?"production":void 0)!=="production"&&console.warn("[Bug] atom state not found")}),(V||L.d.size!==H.size)&&(L.d=H)},u=(D,L,z)=>{const H=o(D),V={d:(H==null?void 0:H.d)||new Map,v:L};if(z&&c(D,V,z),F0(H,V)&&H.d===V.d)return H;if(Sh(H)&&Sh(V)&&dee(H,V)){if(H.d===V.d)return H;V.v=H.v}return i(D,V),V},f=(D,L,z,H)=>{if(uee(L)){let V;const I=()=>{const _=o(D);if(!Sh(_)||_.v!==q)return;const $=u(D,q,z);t.has(D)&&_.d!==$.d&&T(D,$,_.d)},q=new Promise((_,$)=>{let U=!1;L.then(K=>{U||(U=!0,O9(q,K),_(K),I())},K=>{U||(U=!0,$9(q,K),$(K),I())}),V=K=>{U||(U=!0,K.then(Y=>O9(q,Y),Y=>$9(q,Y)),_(K))}});return q.orig=L,q.status="pending",cee(q,_=>{_&&V(_),H==null||H()}),u(D,q,z)}return u(D,L,z)},h=(D,L,z)=>{const H=o(D),V={d:(H==null?void 0:H.d)||new Map,e:L};return z&&c(D,V,z),z9(H,V)&&H.d===V.d?H:(i(D,V),V)},m=(D,L)=>{const z=o(D);if(!L&&z&&(t.has(D)||Array.from(z.d).every(([U,K])=>{if(U===D)return!0;const Y=m(U);return Y===K||F0(Y,K)})))return z;const H=new Map;let V=!0;const I=U=>{if(U===D){const Y=o(U);if(Y)return H.set(U,Y),Gx(Y);if(A5(U))return H.set(U,void 0),U.init;throw new Error("no atom init")}const K=m(U);return H.set(U,K),Gx(K)};let q,_;const $={get signal(){return q||(q=new AbortController),q.signal},get setSelf(){return(ps?"production":void 0)!=="production"&&!R5(D)&&console.warn("setSelf function cannot be used with read-only atom"),!_&&R5(D)&&(_=(...U)=>{if((ps?"production":void 0)!=="production"&&V&&console.warn("setSelf function cannot be called in sync"),!V)return j(D,...U)}),_}};try{const U=D.read(I,$);return f(D,U,H,()=>q==null?void 0:q.abort())}catch(U){return h(D,U,H)}finally{V=!1}},v=D=>Gx(m(D)),S=D=>{let L=t.get(D);return L||(L=E(D)),L},w=(D,L)=>!L.l.size&&(!L.t.size||L.t.size===1&&L.t.has(D)),g=D=>{const L=t.get(D);L&&w(D,L)&&N(D)},b=D=>{const L=new Map,z=new WeakMap,H=q=>{var _;const $=new Set((_=t.get(q))==null?void 0:_.t);return r.forEach((U,K)=>{var Y;(Y=o(K))!=null&&Y.d.has(q)&&$.add(K)}),$},V=q=>{H(q).forEach(_=>{_!==q&&(L.set(_,(L.get(_)||new Set).add(q)),z.set(_,(z.get(_)||0)+1),V(_))})};V(D);const I=q=>{H(q).forEach(_=>{var $;if(_!==q){let U=z.get(_);if(U&&z.set(_,--U),!U){let K=!!(($=L.get(_))!=null&&$.size);if(K){const Y=o(_),B=m(_,!0);K=!F0(Y,B)}K||L.forEach(Y=>Y.delete(_))}I(_)}})};I(D)},C=(D,...L)=>{let z=!0;const H=q=>Gx(m(q)),V=(q,..._)=>{let $;if(q===D){if(!A5(q))throw new Error("atom not writable");const U=o(q),K=f(q,_[0]);F0(U,K)||b(q)}else $=C(q,..._);if(!z){const U=A();(ps?"production":void 0)!=="production"&&n.forEach(K=>K({type:"async-write",flushed:U}))}return $},I=D.write(H,V,...L);return z=!1,I},j=(D,...L)=>{const z=C(D,...L),H=A();return(ps?"production":void 0)!=="production"&&n.forEach(V=>V({type:"write",flushed:H})),z},E=(D,L,z)=>{var H;const V=z||[];(H=o(D))==null||H.d.forEach((q,_)=>{const $=t.get(_);$?$.t.add(D):_!==D&&E(_,D,V)}),m(D);const I={t:new Set(L&&[L]),l:new Set};if(t.set(D,I),(ps?"production":void 0)!=="production"&&a.add(D),R5(D)&&D.onMount){const{onMount:q}=D;V.push(()=>{const _=q((...$)=>j(D,...$));_&&(I.u=_)})}return z||V.forEach(q=>q()),I},N=D=>{var L;const z=(L=t.get(D))==null?void 0:L.u;z&&z(),t.delete(D),(ps?"production":void 0)!=="production"&&a.delete(D);const H=o(D);H?(Sh(H)&&I9(H.v),H.d.forEach((V,I)=>{if(I!==D){const q=t.get(I);q&&(q.t.delete(D),w(I,q)&&N(I))}})):(ps?"production":void 0)!=="production"&&console.warn("[Bug] could not find atom state to unmount",D)},T=(D,L,z)=>{const H=new Set(L.d.keys());z==null||z.forEach((V,I)=>{if(H.has(I)){H.delete(I);return}const q=t.get(I);q&&(q.t.delete(D),w(I,q)&&N(I))}),H.forEach(V=>{const I=t.get(V);I?I.t.add(D):t.has(D)&&E(V,D)})},A=()=>{let D;for((ps?"production":void 0)!=="production"&&(D=new Set);r.size;){const L=Array.from(r);r.clear(),L.forEach(([z,H])=>{const V=o(z);if(V){const I=t.get(z);I&&V.d!==(H==null?void 0:H.d)&&T(z,V,H==null?void 0:H.d),I&&!(!Sh(H)&&(F0(H,V)||z9(H,V)))&&(I.l.forEach(q=>q()),(ps?"production":void 0)!=="production"&&D.add(z))}else(ps?"production":void 0)!=="production"&&console.warn("[Bug] no atom state to flush")})}if((ps?"production":void 0)!=="production")return D},M=(D,L)=>{const z=S(D),H=A(),V=z.l;return V.add(L),(ps?"production":void 0)!=="production"&&n.forEach(I=>I({type:"sub",flushed:H})),()=>{V.delete(L),g(D),(ps?"production":void 0)!=="production"&&n.forEach(I=>I({type:"unsub"}))}};return(ps?"production":void 0)!=="production"?{get:v,set:j,sub:M,dev_subscribe_store:(D,L)=>{if(L!==2)throw new Error("The current StoreListener revision is 2.");return n.add(D),()=>{n.delete(D)}},dev_get_mounted_atoms:()=>a.values(),dev_get_atom_state:D=>e.get(D),dev_get_mounted:D=>t.get(D),dev_restore_atoms:D=>{for(const[z,H]of D)A5(z)&&(f(z,H),b(z));const L=A();n.forEach(z=>z({type:"restore",flushed:L}))}}:{get:v,set:j,sub:M}};let L5;(ps?"production":void 0)!=="production"&&(typeof globalThis.__NUMBER_OF_JOTAI_INSTANCES__=="number"?++globalThis.__NUMBER_OF_JOTAI_INSTANCES__:globalThis.__NUMBER_OF_JOTAI_INSTANCES__=1);const hee=()=>(L5||((ps?"production":void 0)!=="production"&&globalThis.__NUMBER_OF_JOTAI_INSTANCES__!==1&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"),L5=fee()),L5),pee=p.createContext(void 0),mee=e=>{const t=p.useContext(pee);return(e==null?void 0:e.store)||t||hee()},gee=e=>typeof(e==null?void 0:e.then)=="function",vee=jt.use||(e=>{if(e.status==="pending")throw e;if(e.status==="fulfilled")return e.value;throw e.status==="rejected"?e.reason:(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e)});function ft(e,t){const r=mee(t),[[n,a,o],i]=p.useReducer(f=>{const h=r.get(e);return Object.is(f[0],h)&&f[1]===r&&f[2]===e?f:[h,r,e]},void 0,()=>[r.get(e),r,e]);let c=n;(a!==r||o!==e)&&(i(),c=r.get(e));const u=t==null?void 0:t.delay;return p.useEffect(()=>{const f=r.sub(e,()=>{if(typeof u=="number"){setTimeout(i,u);return}i()});return i(),f},[r,e,u]),p.useDebugValue(c),gee(c)?vee(c):c}const w6="-";function xee(e){const t=bee(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;function a(i){const c=i.split(w6);return c[0]===""&&c.length!==1&&c.shift(),w$(c,t)||yee(i)}function o(i,c){const u=r[i]||[];return c&&n[i]?[...u,...n[i]]:u}return{getClassGroupId:a,getConflictingClassGroupIds:o}}function w$(e,t){var i;if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),a=n?w$(e.slice(1),n):void 0;if(a)return a;if(t.validators.length===0)return;const o=e.join(w6);return(i=t.validators.find(({validator:c})=>c(o)))==null?void 0:i.classGroupId}const F9=/^\[(.+)\]$/;function yee(e){if(F9.test(e)){const t=F9.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function bee(e){const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return kee(Object.entries(e.classGroups),r).forEach(([o,i])=>{S4(i,n,o,t)}),n}function S4(e,t,r,n){e.forEach(a=>{if(typeof a=="string"){const o=a===""?t:H9(t,a);o.classGroupId=r;return}if(typeof a=="function"){if(wee(a)){S4(a(n),t,r,n);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([o,i])=>{S4(i,H9(t,o),r,n)})})}function H9(e,t){let r=e;return t.split(w6).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r}function wee(e){return e.isThemeGetter}function kee(e,t){return t?e.map(([r,n])=>{const a=n.map(o=>typeof o=="string"?t+o:typeof o=="object"?Object.fromEntries(Object.entries(o).map(([i,c])=>[t+i,c])):o);return[r,a]}):e}function Cee(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;function a(o,i){r.set(o,i),t++,t>e&&(t=0,n=r,r=new Map)}return{get(o){let i=r.get(o);if(i!==void 0)return i;if((i=n.get(o))!==void 0)return a(o,i),i},set(o,i){r.has(o)?r.set(o,i):a(o,i)}}}const k$="!";function See(e){const t=e.separator,r=t.length===1,n=t[0],a=t.length;return function(i){const c=[];let u=0,f=0,h;for(let g=0;gf?h-f:void 0;return{modifiers:c,hasImportantModifier:v,baseClassName:S,maybePostfixModifierPosition:w}}}function jee(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t}function Eee(e){return R({cache:Cee(e.cacheSize),splitModifiers:See(e)},xee(e))}const Nee=/\s+/;function _ee(e,t){const{splitModifiers:r,getClassGroupId:n,getConflictingClassGroupIds:a}=t,o=new Set;return e.trim().split(Nee).map(i=>{const{modifiers:c,hasImportantModifier:u,baseClassName:f,maybePostfixModifierPosition:h}=r(i);let m=n(h?f.substring(0,h):f),v=!!h;if(!m){if(!h)return{isTailwindClass:!1,originalClassName:i};if(m=n(f),!m)return{isTailwindClass:!1,originalClassName:i};v=!1}const S=jee(c).join(":");return{isTailwindClass:!0,modifierId:u?S+k$:S,classGroupId:m,originalClassName:i,hasPostfixModifier:v}}).reverse().filter(i=>{if(!i.isTailwindClass)return!0;const{modifierId:c,classGroupId:u,hasPostfixModifier:f}=i,h=c+u;return o.has(h)?!1:(o.add(h),a(u,f).forEach(m=>o.add(c+m)),!0)}).reverse().map(i=>i.originalClassName).join(" ")}function Tee(){let e=0,t,r,n="";for(;em(h),e());return r=Eee(f),n=r.cache.get,a=r.cache.set,o=c,c(u)}function c(u){const f=n(u);if(f)return f;const h=_ee(u,r);return a(u,h),h}return function(){return o(Tee.apply(null,arguments))}}function kn(e){const t=r=>r[e]||[];return t.isThemeGetter=!0,t}const S$=/^\[(?:([a-z-]+):)?(.+)\]$/i,Mee=/^\d+\/\d+$/,Dee=new Set(["px","full","screen"]),Aee=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ree=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Lee=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Iee=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Si(e){return Bd(e)||Dee.has(e)||Mee.test(e)}function Kc(e){return Im(e,"length",Wee)}function Bd(e){return!!e&&!Number.isNaN(Number(e))}function Yx(e){return Im(e,"number",Bd)}function H0(e){return!!e&&Number.isInteger(Number(e))}function Oee(e){return e.endsWith("%")&&Bd(e.slice(0,-1))}function _r(e){return S$.test(e)}function Gc(e){return Aee.test(e)}const $ee=new Set(["length","size","percentage"]);function zee(e){return Im(e,$ee,j$)}function Fee(e){return Im(e,"position",j$)}const Hee=new Set(["image","url"]);function Bee(e){return Im(e,Hee,qee)}function Uee(e){return Im(e,"",Vee)}function B0(){return!0}function Im(e,t,r){const n=S$.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1}function Wee(e){return Ree.test(e)}function j$(){return!1}function Vee(e){return Lee.test(e)}function qee(e){return Iee.test(e)}function Kee(){const e=kn("colors"),t=kn("spacing"),r=kn("blur"),n=kn("brightness"),a=kn("borderColor"),o=kn("borderRadius"),i=kn("borderSpacing"),c=kn("borderWidth"),u=kn("contrast"),f=kn("grayscale"),h=kn("hueRotate"),m=kn("invert"),v=kn("gap"),S=kn("gradientColorStops"),w=kn("gradientColorStopPositions"),g=kn("inset"),b=kn("margin"),C=kn("opacity"),j=kn("padding"),E=kn("saturate"),N=kn("scale"),T=kn("sepia"),A=kn("skew"),M=kn("space"),D=kn("translate"),L=()=>["auto","contain","none"],z=()=>["auto","hidden","clip","visible","scroll"],H=()=>["auto",_r,t],V=()=>[_r,t],I=()=>["",Si,Kc],q=()=>["auto",Bd,_r],_=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],$=()=>["solid","dashed","dotted","double","none"],U=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],K=()=>["start","end","center","between","around","evenly","stretch"],Y=()=>["","0",_r],B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>[Bd,Yx],G=()=>[Bd,_r];return{cacheSize:500,separator:":",theme:{colors:[B0],spacing:[Si,Kc],blur:["none","",Gc,_r],brightness:F(),borderColor:[e],borderRadius:["none","","full",Gc,_r],borderSpacing:V(),borderWidth:I(),contrast:F(),grayscale:Y(),hueRotate:G(),invert:Y(),gap:V(),gradientColorStops:[e],gradientColorStopPositions:[Oee,Kc],inset:H(),margin:H(),opacity:F(),padding:V(),saturate:F(),scale:F(),sepia:Y(),skew:G(),space:V(),translate:V()},classGroups:{aspect:[{aspect:["auto","square","video",_r]}],container:["container"],columns:[{columns:[Gc]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[..._(),_r]}],overflow:[{overflow:z()}],"overflow-x":[{"overflow-x":z()}],"overflow-y":[{"overflow-y":z()}],overscroll:[{overscroll:L()}],"overscroll-x":[{"overscroll-x":L()}],"overscroll-y":[{"overscroll-y":L()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",H0,_r]}],basis:[{basis:H()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",_r]}],grow:[{grow:Y()}],shrink:[{shrink:Y()}],order:[{order:["first","last","none",H0,_r]}],"grid-cols":[{"grid-cols":[B0]}],"col-start-end":[{col:["auto",{span:["full",H0,_r]},_r]}],"col-start":[{"col-start":q()}],"col-end":[{"col-end":q()}],"grid-rows":[{"grid-rows":[B0]}],"row-start-end":[{row:["auto",{span:[H0,_r]},_r]}],"row-start":[{"row-start":q()}],"row-end":[{"row-end":q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",_r]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",_r]}],gap:[{gap:[v]}],"gap-x":[{"gap-x":[v]}],"gap-y":[{"gap-y":[v]}],"justify-content":[{justify:["normal",...K()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...K(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...K(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[j]}],px:[{px:[j]}],py:[{py:[j]}],ps:[{ps:[j]}],pe:[{pe:[j]}],pt:[{pt:[j]}],pr:[{pr:[j]}],pb:[{pb:[j]}],pl:[{pl:[j]}],m:[{m:[b]}],mx:[{mx:[b]}],my:[{my:[b]}],ms:[{ms:[b]}],me:[{me:[b]}],mt:[{mt:[b]}],mr:[{mr:[b]}],mb:[{mb:[b]}],ml:[{ml:[b]}],"space-x":[{"space-x":[M]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[M]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",_r,t]}],"min-w":[{"min-w":["min","max","fit",_r,Si]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[Gc]},Gc,_r]}],h:[{h:[_r,t,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",Si,_r]}],"max-h":[{"max-h":[_r,t,"min","max","fit"]}],"font-size":[{text:["base",Gc,Kc]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Yx]}],"font-family":[{font:[B0]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",_r]}],"line-clamp":[{"line-clamp":["none",Bd,Yx]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Si,_r]}],"list-image":[{"list-image":["none",_r]}],"list-style-type":[{list:["none","disc","decimal",_r]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...$(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Si,Kc]}],"underline-offset":[{"underline-offset":["auto",Si,_r]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:V()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",_r]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",_r]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[..._(),Fee]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",zee]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Bee]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[w]}],"gradient-via-pos":[{via:[w]}],"gradient-to-pos":[{to:[w]}],"gradient-from":[{from:[S]}],"gradient-via":[{via:[S]}],"gradient-to":[{to:[S]}],rounded:[{rounded:[o]}],"rounded-s":[{"rounded-s":[o]}],"rounded-e":[{"rounded-e":[o]}],"rounded-t":[{"rounded-t":[o]}],"rounded-r":[{"rounded-r":[o]}],"rounded-b":[{"rounded-b":[o]}],"rounded-l":[{"rounded-l":[o]}],"rounded-ss":[{"rounded-ss":[o]}],"rounded-se":[{"rounded-se":[o]}],"rounded-ee":[{"rounded-ee":[o]}],"rounded-es":[{"rounded-es":[o]}],"rounded-tl":[{"rounded-tl":[o]}],"rounded-tr":[{"rounded-tr":[o]}],"rounded-br":[{"rounded-br":[o]}],"rounded-bl":[{"rounded-bl":[o]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[C]}],"border-style":[{border:[...$(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[C]}],"divide-style":[{divide:$()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...$()]}],"outline-offset":[{"outline-offset":[Si,_r]}],"outline-w":[{outline:[Si,Kc]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:I()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[Si,Kc]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Gc,Uee]}],"shadow-color":[{shadow:[B0]}],opacity:[{opacity:[C]}],"mix-blend":[{"mix-blend":U()}],"bg-blend":[{"bg-blend":U()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",Gc,_r]}],grayscale:[{grayscale:[f]}],"hue-rotate":[{"hue-rotate":[h]}],invert:[{invert:[m]}],saturate:[{saturate:[E]}],sepia:[{sepia:[T]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[f]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[E]}],"backdrop-sepia":[{"backdrop-sepia":[T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[i]}],"border-spacing-x":[{"border-spacing-x":[i]}],"border-spacing-y":[{"border-spacing-y":[i]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",_r]}],duration:[{duration:G()}],ease:[{ease:["linear","in","out","in-out",_r]}],delay:[{delay:G()}],animate:[{animate:["none","spin","ping","pulse","bounce",_r]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[N]}],"scale-x":[{"scale-x":[N]}],"scale-y":[{"scale-y":[N]}],rotate:[{rotate:[H0,_r]}],"translate-x":[{"translate-x":[D]}],"translate-y":[{"translate-y":[D]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",_r]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",_r]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":V()}],"scroll-mx":[{"scroll-mx":V()}],"scroll-my":[{"scroll-my":V()}],"scroll-ms":[{"scroll-ms":V()}],"scroll-me":[{"scroll-me":V()}],"scroll-mt":[{"scroll-mt":V()}],"scroll-mr":[{"scroll-mr":V()}],"scroll-mb":[{"scroll-mb":V()}],"scroll-ml":[{"scroll-ml":V()}],"scroll-p":[{"scroll-p":V()}],"scroll-px":[{"scroll-px":V()}],"scroll-py":[{"scroll-py":V()}],"scroll-ps":[{"scroll-ps":V()}],"scroll-pe":[{"scroll-pe":V()}],"scroll-pt":[{"scroll-pt":V()}],"scroll-pr":[{"scroll-pr":V()}],"scroll-pb":[{"scroll-pb":V()}],"scroll-pl":[{"scroll-pl":V()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",_r]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Si,Kc,Yx]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const Gee=Pee(Kee);function fc(e){if(!e&&typeof e!="string")return!1;const t=/^[^\s@]+@[^\s@]+\.[^\s@]+$/;return/^https?:\/\//.test(e)?!1:t.test(e)}function Yee(e){return/^\d+\.\d+\.\d+$/.test(e)}function Zee(e,t){if(!e||!Yee(e))return-1;const r=e.split("."),n=t.split(".");for(let a=0;ai)return 1;if(o=_?q:""+Array(_+1-U.length).join($)+q},N={s:E,z:function(q){var _=-q.utcOffset(),$=Math.abs(_),U=Math.floor($/60),K=$%60;return(_<=0?"+":"-")+E(U,2,"0")+":"+E(K,2,"0")},m:function q(_,$){if(_.date()<$.date())return-q($,_);var U=12*($.year()-_.year())+($.month()-_.month()),K=_.clone().add(U,m),Y=$-K<0,B=_.clone().add(U+(Y?-1:1),m);return+(-(U+($-K)/(Y?K-B:B-K))||0)},a:function(q){return q<0?Math.ceil(q)||0:Math.floor(q)},p:function(q){return{M:m,y:S,w:h,d:f,D:w,h:u,m:c,s:i,ms:o,Q:v}[q]||String(q||"").toLowerCase().replace(/s$/,"")},u:function(q){return q===void 0}},T="en",A={};A[T]=j;var M="$isDayjsObject",D=function(q){return q instanceof V||!(!q||!q[M])},L=function q(_,$,U){var K;if(!_)return T;if(typeof _=="string"){var Y=_.toLowerCase();A[Y]&&(K=Y),$&&(A[Y]=$,K=Y);var B=_.split("-");if(!K&&B.length>1)return q(B[0])}else{var F=_.name;A[F]=_,K=F}return!U&&K&&(T=K),K||!U&&T},z=function(q,_){if(D(q))return q.clone();var $=typeof _=="object"?_:{};return $.date=q,$.args=arguments,new V($)},H=N;H.l=L,H.i=D,H.w=function(q,_){return z(q,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var V=function(){function q($){this.$L=L($.locale,null,!0),this.parse($),this.$x=this.$x||$.x||{},this[M]=!0}var _=q.prototype;return _.parse=function($){this.$d=function(U){var K=U.date,Y=U.utc;if(K===null)return new Date(NaN);if(H.u(K))return new Date;if(K instanceof Date)return new Date(K);if(typeof K=="string"&&!/Z$/i.test(K)){var B=K.match(b);if(B){var F=B[2]-1||0,G=(B[7]||"0").substring(0,3);return Y?new Date(Date.UTC(B[1],F,B[3]||1,B[4]||0,B[5]||0,B[6]||0,G)):new Date(B[1],F,B[3]||1,B[4]||0,B[5]||0,B[6]||0,G)}}return new Date(K)}($),this.init()},_.init=function(){var $=this.$d;this.$y=$.getFullYear(),this.$M=$.getMonth(),this.$D=$.getDate(),this.$W=$.getDay(),this.$H=$.getHours(),this.$m=$.getMinutes(),this.$s=$.getSeconds(),this.$ms=$.getMilliseconds()},_.$utils=function(){return H},_.isValid=function(){return this.$d.toString()!==g},_.isSame=function($,U){var K=z($);return this.startOf(U)<=K&&K<=this.endOf(U)},_.isAfter=function($,U){return z($){const n=()=>{r(e.getState())},a=e.subscribe(n);return n(),a},L9(r=>r(t),(r,n,a)=>{const o=typeof a=="function"?a(r(t)):a;e.setState(o,!0)})}var Qee={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const B9=e=>{let t;const r=new Set,n=(u,f)=>{const h=typeof u=="function"?u(t):u;if(!Object.is(h,t)){const m=t;t=(f!=null?f:typeof h!="object")?h:Object.assign({},t,h),r.forEach(v=>v(t,m))}},a=()=>t,c={setState:n,getState:a,subscribe:u=>(r.add(u),()=>r.delete(u)),destroy:()=>{(Qee?"production":void 0)!=="production"&&console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),r.clear()}};return t=e(n,a,c),c},$m=e=>e?B9(e):B9,U9=wt(null),Li=wt(!1),On=wt(0),Yh=wt(0),Ud=wt(!1),co=wt(!1),j4=wt(!1),Hr=wt(null),mu=wt(null),Qb=wt(!1),Wd=wt(null),eo=wt(null),Fi=wt(null),Ni=wt(null),iu=wt(null),Ad=wt(null),Ta=wt(null),pp=wt(!1),Vi=wt(!1),qi=wt(null),Vd=wt(!1),mp=wt(!1),Xy=wt(!1),Qy=wt(!1),xg=wt(null),Jo=wt(null),E4=wt(null),Kl=wt(!1),Rd=wt(null),ks=wt(null),gu=wt(null),Is=wt(null),fa=wt(null),_f=wt(null),La=wt(null),wl=wt(null),yg=wt(null),Wu=wt(null),dm=wt(null),Cv=wt(null),Gl=wt(null),Zx=wt(null),I5=wt(null),lu=wt(null),Ia=wt(null),_o=wt(!1),Jy=wt(!1),Xl=wt(!1),Wn=wt(!1),O5=wt(null),Xx=wt(null),Jee=wt(null),Ld=wt(null),Ii=wt(null),vu=wt(null),eu=wt(null),xu=wt(null),Id=wt(null),Qa=wt(null),ro=wt(!1),As=wt(null),_i=wt(!1),Ki=wt(!1),yu=wt(!1),ete=wt(!1);function qd(){Jo.value=null,Cv.value=null,xg.value=null,_f.value=null,La.value=null,ks.value=null,mp.value=!1,gu.value=null,Xl.value=!1,Wn.value=!1,Wu.value=null,wl.value=null,dm.value=null}function ff(){eu.value=null,Ii.value=null,_i.value=!1,Qa.value=null,Jee.value=null,As.value=null,Ki.value=!1,yu.value=!1,ete.value=!1,(xu.value||Id.value)&&(ro.value=!1)}const ur=wt(!1),Mi=wt(null),Jb=wt(null),Qx=wt(null),e2=wt(null),t2=wt(!1),Od=wt(!1),Ql=wt(!1),tc=wt(!1),gp=wt(!1),Ya=wt(!1),fm=wt(!1);var tte={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const W9={appLastUpdateVersion:"0.0.1",appLastUpdateDate:"",isAppReady:!1,appDataDir:"",isHistoryEnabled:!0,isFirstRun:!0,historyDetectLanguagesEnabledList:[],appToursCompletedList:[],appToursSkippedList:[],historyDetectLanguagesPrioritizedList:[],historyExclusionList:"",isExclusionListEnabled:!1,isAutoClearSettingsEnabled:!1,isAutoMaskWordsListEnabled:!1,isNotTourCompletedOrSkipped:()=>!1,autoMaskWordsList:"",isHistoryDetectLanguageEnabled:!0,historyDetectLanguageMinLines:3,autoClearSettingsDuration:1,autoClearSettingsDurationType:"months",copyPasteDelay:0,copyPasteSequencePinnedDelay:3,copyPasteSequenceIsReversOrder:!1,pasteSequenceEachSeparator:"",isSearchNameOrLabelOnly:!0,isAutoCloseOnCopyPaste:!1,isAutoPreviewLinkCardsEnabled:!0,isAutoFavoriteOnDoubleCopyEnabled:!0,isShowCollectionNameOnNavBar:!0,isShowDisabledCollectionsOnNavBarMenu:!0,isClipNotesHoverCardsEnabled:!0,clipNotesHoverCardsDelayMS:2e3,clipNotesMaxWidth:220,clipNotesMaxHeight:120,isSkipAutoStartPrompt:!1,userSelectedLanguage:"",isHistoryAutoUpdateOnCaputureEnabled:!0,isIdleScreenAutoLockEnabled:!1,idleScreenAutoLockTimeInMinutes:null,isShowHistoryCaptureOnLockedScreen:!1,screenLockPassCode:null,screenLockPassCodeLength:0,screenLockRecoveryPasswordMasked:null,isAppLocked:!1,isScreenLockPassCodeRequireOnStart:!1,licenseKey:null,isFirstRunAfterUpdate:!1,CONST:{APP_DETECT_LANGUAGES_SUPPORTED:[]},setClipNotesMaxWidth:()=>{},setClipNotesMaxHeight:()=>{},setIsHistoryEnabled:()=>{},setCopyPasteDelay:()=>{},setCopyPasteSequencePinnedDelay:()=>{},setCopyPasteSequenceIsReversOrder:()=>{},setPasteSequenceEachSeparator:()=>{},setIsExclusionListEnabled:()=>{},setHistoryDetectLanguageMinLines:()=>{},setAutoClearSettingsDuration:()=>{},setAutoClearSettingsDurationType:()=>{},setIsHistoryDetectLanguageEnabled:()=>{},setHistoryExclusionList:()=>{},setIsHistoryAutoUpdateOnCaputureEnabled:()=>{},setHistoryDetectLanguagesEnabledList:()=>{},setAppToursCompletedList:()=>{},setAppToursSkippedList:()=>{},setHistoryDetectLanguagesPrioritizedList:()=>{},setIsAutoClearSettingsEnabled:()=>{},setIsAutoMaskWordsListEnabled:()=>{},setIsAutoCloseOnCopyPaste:()=>{},setIsAutoPreviewLinkCardsEnabled:()=>{},setIsAutoFavoriteOnDoubleCopyEnabled:()=>{},setIsSearchNameOrLabelOnly:()=>{},setAutoMaskWordsList:()=>{},setIsShowCollectionNameOnNavBar:()=>{},setIsShowDisabledCollectionsOnNavBarMenu:()=>{},setIsSkipAutoStartPrompt:()=>{},setIdleScreenAutoLockTimeInMinutes:()=>{},setIsIdleScreenAutoLockEnabled:()=>{},setIsShowHistoryCaptureOnLockedScreen:()=>{},setScreenLockPassCode:()=>{},setScreenLockPassCodeLength:()=>{},setScreenLockResetTempPassCode:()=>{},setScreenLockRecoveryPasswordMasked:()=>{},setIsAppLocked:()=>{},setClipNotesHoverCardsDelayMS:()=>{},setIsClipNotesHoverCardsEnabled:()=>{},setIsScreenLockPassCodeRequireOnStart:()=>{},setLicenseKey:()=>{},setIsFirstRunAfterUpdate:()=>{},initConstants:()=>{},setAppDataDir:()=>{},updateSetting:()=>{},setIsFirstRun:()=>{},setAppLastUpdateVersion:()=>{},setAppLastUpdateDate:()=>{},setUserSelectedLanguage:()=>{},initSettings:()=>{},checkForUpdate:()=>{},resetCheckForUpdate:()=>{},shouldSkipVersionCheck:()=>!1,setUpdaterRemindLater:()=>{},setUpdaterSkipVersion:()=>{},relaunchApp:()=>{MO()},installUpdate:()=>{},hashPassword:e=>Sr("hash_password",{password:e}),storePassword:(e,t)=>Sr("store_os_password",{name:e,password:t}),getStoredPassword:e=>{try{return Sr("get_stored_os_password",{name:e})}catch(t){return Promise.resolve(null)}},verifyStoredPassword:(e,t)=>Sr("verify_os_password",{name:e,password:t}),deleteStoredPassword:e=>Sr("delete_os_password",{name:e}),verifyPassword:(e,t)=>Sr("verify_password",{password:e,hash:t})},Ap=$m()((e,t)=>ee(R({},W9),{updateSetting:(r,n)=>pe(void 0,null,function*(){let a;typeof n=="boolean"?a={valueBool:n}:typeof n=="string"?a={valueText:n}:typeof n=="number"?a={valueInt:n}:a={valueInt:null,valueText:null,valueBool:null};try{return yield Sr("update_setting",{setting:R({name:r},a)}),(r==="isHistoryEnabled"||r==="userSelectedLanguage"||r==="isAppLocked")&&Sr("build_system_menu"),e(r==="historyDetectLanguagesEnabledList"&&typeof n=="string"?()=>({historyDetectLanguagesEnabledList:n.split(",")}):r==="appToursCompletedList"&&typeof n=="string"?()=>({appToursCompletedList:n.split(",")}):r==="appToursSkippedList"&&typeof n=="string"?()=>({appToursSkippedList:n.split(",")}):r==="historyDetectLanguagesPrioritizedList"&&typeof n=="string"?()=>({historyDetectLanguagesPrioritizedList:n.split(",")}):()=>({[r]:n}))}catch(o){console.error(o)}}),setIsHistoryAutoUpdateOnCaputureEnabled:r=>pe(void 0,null,function*(){return t().updateSetting("isHistoryAutoUpdateOnCaputureEnabled",r)}),setIsHistoryEnabled:r=>pe(void 0,null,function*(){return t().updateSetting("isHistoryEnabled",r)}),setIsHistoryDetectLanguageEnabled:r=>pe(void 0,null,function*(){return t().updateSetting("isHistoryDetectLanguageEnabled",r)}),setHistoryDetectLanguageMinLines:r=>pe(void 0,null,function*(){return t().updateSetting("historyDetectLanguageMinLines",r)}),setHistoryExclusionList:r=>pe(void 0,null,function*(){return t().updateSetting("historyExclusionList",r)}),setAutoMaskWordsList:r=>pe(void 0,null,function*(){return t().updateSetting("autoMaskWordsList",r)}),setUserSelectedLanguage:r=>pe(void 0,null,function*(){return t().updateSetting("userSelectedLanguage",r)}),setAutoClearSettingsDuration:r=>pe(void 0,null,function*(){return t().updateSetting("autoClearSettingsDuration",r)}),setAutoClearSettingsDurationType:r=>pe(void 0,null,function*(){return t().updateSetting("autoClearSettingsDurationType",r)}),setIsAutoMaskWordsListEnabled:r=>pe(void 0,null,function*(){return t().updateSetting("isAutoMaskWordsListEnabled",r)}),setIsAutoCloseOnCopyPaste:r=>pe(void 0,null,function*(){return t().updateSetting("isAutoCloseOnCopyPaste",r)}),setIsSearchNameOrLabelOnly:r=>pe(void 0,null,function*(){return t().updateSetting("isSearchNameOrLabelOnly",r)}),setIsAutoClearSettingsEnabled:r=>pe(void 0,null,function*(){return t().updateSetting("isAutoClearSettingsEnabled",r)}),setIsAutoPreviewLinkCardsEnabled:r=>pe(void 0,null,function*(){return t().updateSetting("isAutoPreviewLinkCardsEnabled",r)}),setIsAutoFavoriteOnDoubleCopyEnabled:r=>pe(void 0,null,function*(){return t().updateSetting("isAutoFavoriteOnDoubleCopyEnabled",r)}),setIsExclusionListEnabled:r=>pe(void 0,null,function*(){return t().updateSetting("isExclusionListEnabled",r)}),setIsShowCollectionNameOnNavBar:r=>pe(void 0,null,function*(){return t().updateSetting("isShowCollectionNameOnNavBar",r)}),setIsSkipAutoStartPrompt:r=>pe(void 0,null,function*(){return t().updateSetting("isSkipAutoStartPrompt",r)}),setIsShowDisabledCollectionsOnNavBarMenu:r=>pe(void 0,null,function*(){return t().updateSetting("isShowDisabledCollectionsOnNavBarMenu",r)}),setHistoryDetectLanguagesEnabledList:r=>pe(void 0,null,function*(){return t().updateSetting("historyDetectLanguagesEnabledList",r.filter(Boolean).join())}),setAppToursCompletedList:r=>pe(void 0,null,function*(){return t().updateSetting("appToursCompletedList",r.filter(Boolean).join())}),setAppToursSkippedList:r=>pe(void 0,null,function*(){return t().updateSetting("appToursSkippedList",r.filter(Boolean).join())}),setHistoryDetectLanguagesPrioritizedList:r=>pe(void 0,null,function*(){return t().updateSetting("historyDetectLanguagesPrioritizedList",r.filter(Boolean).join())}),setIsClipNotesHoverCardsEnabled:r=>pe(void 0,null,function*(){return t().updateSetting("isClipNotesHoverCardsEnabled",r)}),setClipNotesHoverCardsDelayMS:r=>pe(void 0,null,function*(){return t().updateSetting("clipNotesHoverCardsDelayMS",r)}),setClipNotesMaxHeight:r=>pe(void 0,null,function*(){return t().updateSetting("clipNotesMaxHeight",r)}),setClipNotesMaxWidth:r=>pe(void 0,null,function*(){return t().updateSetting("clipNotesMaxWidth",r)}),setCopyPasteDelay:r=>pe(void 0,null,function*(){return t().updateSetting("copyPasteDelay",r)}),setCopyPasteSequencePinnedDelay:r=>pe(void 0,null,function*(){return t().updateSetting("copyPasteSequencePinnedDelay",r)}),setCopyPasteSequenceIsReversOrder:r=>pe(void 0,null,function*(){return t().updateSetting("copyPasteSequenceIsReversOrder",r)}),setPasteSequenceEachSeparator:r=>pe(void 0,null,function*(){return t().updateSetting("pasteSequenceEachSeparator",r)}),setIsIdleScreenAutoLockEnabled:r=>pe(void 0,null,function*(){return t().updateSetting("isIdleScreenAutoLockEnabled",r)}),setIdleScreenAutoLockTimeInMinutes:r=>pe(void 0,null,function*(){return t().updateSetting("idleScreenAutoLockTimeInMinutes",r)}),setIsShowHistoryCaptureOnLockedScreen:r=>pe(void 0,null,function*(){return t().updateSetting("isShowHistoryCaptureOnLockedScreen",r)}),setScreenLockPassCode:r=>pe(void 0,null,function*(){return t().updateSetting("screenLockPassCode",r||null)}),setScreenLockPassCodeLength:r=>pe(void 0,null,function*(){return t().updateSetting("screenLockPassCodeLength",r)}),setScreenLockRecoveryPasswordMasked:r=>pe(void 0,null,function*(){return t().updateSetting("screenLockRecoveryPasswordMasked",r)}),setIsAppLocked:r=>pe(void 0,null,function*(){return t().updateSetting("isAppLocked",r)}),setIsScreenLockPassCodeRequireOnStart:r=>pe(void 0,null,function*(){return t().updateSetting("isScreenLockPassCodeRequireOnStart",r)}),setLicenseKey:r=>pe(void 0,null,function*(){return t().updateSetting("licenseKey",r)}),setIsFirstRunAfterUpdate:r=>pe(void 0,null,function*(){return t().updateSetting("isFirstRunAfterUpdate",r)}),setIsFirstRun:r=>t().updateSetting("isFirstRun",r),isNotTourCompletedOrSkipped:r=>{const{appToursCompletedList:n,appToursSkippedList:a}=t();return!n.includes(r)&&!a.includes(r)},installUpdate:()=>pe(void 0,null,function*(){gp.value=!0,tc.value=!1;try{yield QX(),gp.value=!1,Ya.value=!0,t().setIsFirstRunAfterUpdate(!0),Mi.value&&t().setAppLastUpdateVersion(Mi.value),Qx.value&&t().setAppLastUpdateDate(Qx.value),setTimeout(()=>{MO()},600)}catch(r){console.error("Install Update Error:",r),gp.value=!1,tc.value=!0}}),checkForUpdate:r=>pe(void 0,null,function*(){var n,a,o;Ql.value=!0;try{const{shouldUpdate:i,manifest:c}=yield JX();if(yield new Promise(u=>setTimeout(u,1e3)),i&&(c!=null&&c.version)&&!t().shouldSkipVersionCheck(c==null?void 0:c.version,r)){if(Mi.value=(n=c==null?void 0:c.version)!=null?n:null,e2.value=(a=c==null?void 0:c.body.split("\n"))!=null?a:null,c!=null&&c.date){const u=(o=c==null?void 0:c.date.split(" ")[0])!=null?o:null;Jb.value=En(u).format("DD MMMM, YYYY"),Qx.value=En(u).format("YYYY-MM-DD")}t2.value=!0,Ql.value=!1}else r?(Od.value=!0,setTimeout(()=>{Od.value=!1,Ql.value=!1},3e3)):Ql.value=!1}catch(i){console.error("Check Update Error:",i),r?(Ql.value=!1,Od.value=!0,setTimeout(()=>{Od.value=!1,Ql.value=!1},3e3)):Ql.value=!1}r&&(t().setUpdaterRemindLater(!0),t().setUpdaterSkipVersion(null))}),shouldSkipVersionCheck:(r,n)=>{if(n)return!1;const a=localStorage.getItem("updaterRemindLater");if(a&&En().isBefore(a))return!0;const o=localStorage.getItem("updaterSkipVersion");return!!(o&&(o===r||Zee(o,r)>=0))},setUpdaterRemindLater:r=>{if(r){localStorage.removeItem("updaterRemindLater");return}localStorage.setItem("updaterRemindLater",En().add(3,"day").format("YYYY-MM-DD")),t().resetCheckForUpdate()},setUpdaterSkipVersion:r=>{if(r===null){localStorage.removeItem("updaterSkipVersion");return}localStorage.setItem("updaterSkipVersion",r),t().resetCheckForUpdate()},resetCheckForUpdate:()=>{t2.value=!1,Od.value=!1,Ya.value=!1,gp.value=!1,tc.value=!1,Mi.value=null,e2.value=null,Jb.value=null,Qx.value=null},initConstants:r=>e(()=>({CONST:r})),setAppDataDir:r=>e(()=>({appDataDir:r})),setAppLastUpdateVersion:r=>t().updateSetting("appLastUpdateVersion",r),setAppLastUpdateDate:r=>t().updateSetting("appLastUpdateDate",r),initSettings:r=>{const n=Object.keys(W9).reduce((a,o)=>(typeof r[o]!="undefined"&&r[o]!==null&&(a[o]=r[o]),a),{});e(a=>R(R({},a),n))}})),pn=Om(Ap);tte.TAURI_DEBUG&&(window.settingsStore=Ap);const rte=(e,t={enabled:!0})=>(r,n,a)=>{return t.enabled,e(r,n,a);const o=e(r,n,a),i=o.actions;if(i&&typeof i=="object"){const c=Object.fromEntries(Object.entries(i).map(([u,f])=>{let h=f;return typeof f=="function"&&(h=(...m)=>{var S;const v=f(...m);return(S=t.logger)==null||S.call(t,u,m),v}),[u,h]}));return ee(R({},o),{actions:c})}return o};var nte={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};function Lw(e,t){let r;try{r=e()}catch(a){return}return{getItem:a=>{var o;const i=u=>u===null?null:JSON.parse(u,t==null?void 0:t.reviver),c=(o=r.getItem(a))!=null?o:null;return c instanceof Promise?c.then(i):i(c)},setItem:(a,o)=>r.setItem(a,JSON.stringify(o,t==null?void 0:t.replacer)),removeItem:a=>r.removeItem(a)}}const Sv=e=>t=>{try{const r=e(t);return r instanceof Promise?r:{then(n){return Sv(n)(r)},catch(n){return this}}}catch(r){return{then(n){return this},catch(n){return Sv(n)(r)}}}},ste=(e,t)=>(r,n,a)=>{let o=R({getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:b=>b,version:0,merge:(b,C)=>R(R({},C),b)},t),i=!1;const c=new Set,u=new Set;let f;try{f=o.getStorage()}catch(b){}if(!f)return e((...b)=>{console.warn("[zustand persist middleware] Unable to update item '".concat(o.name,"', the given storage is currently unavailable.")),r(...b)},n,a);const h=Sv(o.serialize),m=()=>{const b=o.partialize(R({},n()));let C;const j=h({state:b,version:o.version}).then(E=>f.setItem(o.name,E)).catch(E=>{C=E});if(C)throw C;return j},v=a.setState;a.setState=(b,C)=>{v(b,C),m()};const S=e((...b)=>{r(...b),m()},n,a);let w;const g=()=>{var b;if(!f)return;i=!1,c.forEach(j=>j(n()));const C=((b=o.onRehydrateStorage)==null?void 0:b.call(o,n()))||void 0;return Sv(f.getItem.bind(f))(o.name).then(j=>{if(j)return o.deserialize(j)}).then(j=>{if(j)if(typeof j.version=="number"&&j.version!==o.version){if(o.migrate)return o.migrate(j.state,j.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return j.state}).then(j=>{var E;return w=o.merge(j,(E=n())!=null?E:S),r(w,!0),m()}).then(()=>{C==null||C(w,void 0),i=!0,u.forEach(j=>j(w))}).catch(j=>{C==null||C(void 0,j)})};return a.persist={setOptions:b=>{o=R(R({},o),b),b.getStorage&&(f=b.getStorage())},clearStorage:()=>{f==null||f.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>g(),hasHydrated:()=>i,onHydrate:b=>(c.add(b),()=>{c.delete(b)}),onFinishHydration:b=>(u.add(b),()=>{u.delete(b)})},g(),w||S},ate=(e,t)=>(r,n,a)=>{let o=R({storage:Lw(()=>localStorage),partialize:g=>g,version:0,merge:(g,b)=>R(R({},b),g)},t),i=!1;const c=new Set,u=new Set;let f=o.storage;if(!f)return e((...g)=>{console.warn("[zustand persist middleware] Unable to update item '".concat(o.name,"', the given storage is currently unavailable.")),r(...g)},n,a);const h=()=>{const g=o.partialize(R({},n()));return f.setItem(o.name,{state:g,version:o.version})},m=a.setState;a.setState=(g,b)=>{m(g,b),h()};const v=e((...g)=>{r(...g),h()},n,a);let S;const w=()=>{var g,b;if(!f)return;i=!1,c.forEach(j=>{var E;return j((E=n())!=null?E:v)});const C=((b=o.onRehydrateStorage)==null?void 0:b.call(o,(g=n())!=null?g:v))||void 0;return Sv(f.getItem.bind(f))(o.name).then(j=>{if(j)if(typeof j.version=="number"&&j.version!==o.version){if(o.migrate)return o.migrate(j.state,j.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return j.state}).then(j=>{var E;return S=o.merge(j,(E=n())!=null?E:v),r(S,!0),h()}).then(()=>{C==null||C(S,void 0),S=n(),i=!0,u.forEach(j=>j(S))}).catch(j=>{C==null||C(void 0,j)})};return a.persist={setOptions:g=>{o=R(R({},o),g),g.storage&&(f=g.storage)},clearStorage:()=>{f==null||f.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>w(),hasHydrated:()=>i,onHydrate:g=>(c.add(g),()=>{c.delete(g)}),onFinishHydration:g=>(u.add(g),()=>{u.delete(g)})},o.skipHydration||w(),S||v},ote=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?((nte?"production":void 0)!=="production"&&console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),ste(e,t)):ate(e,t),k6=ote,ite={avatar:"",userName:"",email:"",authority:[]},lte=$m()(k6(rte(e=>({user:R({},ite),signedIn:!1,token:null,setUser:t=>e(r=>ee(R({},r),{user:ee(R({},r.user),{avatar:t.avatar,email:t.email,userName:t.userName,authority:t.authority})})),signInSuccess:t=>e(()=>({signedIn:!0,token:t})),signOutSuccess:()=>e(()=>({signedIn:!1,token:null}))}),{enabled:!0}),{name:"auth-store",storage:Lw(()=>localStorage)}));Om(lte);const cte=["slate","sky","stone","teal","indigo","green","yellow","blue","purple","rose","lime","emerald","amber","cyan","fuchsia","pink"],Zh=["85%","90%","95%","100%","105%","110%","120%","125%"],ute=[300,500,800,1e3,1500,2e3,2500,3e3,3500,5e3],$5=[{title:"Small",width:220,iconSize:15,height:120},{title:"Medium",width:320,iconSize:18,height:160},{title:"Large",width:420,iconSize:21,height:220}],dte={fontSize:"100%",isWindows:!1,isSwapPanels:!1,panelSize:320,isShowPinned:!0,isShowHistoryPinned:!0,isMacOSX:!0,isLinux:!1,isScrolling:!1,returnRoute:"/menu",setIsShowPinned:()=>{},setIsShowHistoryPinned:()=>{},setReturnRoute:()=>{},setIsSwapPanels:()=>{},setIsScrolling:()=>{},setOSType:()=>{},resetFontSize:()=>{},increaseFontSize:()=>{},setFontSize:()=>{},setPanelSize:()=>{},decreaseFontSize:()=>{},setAppDataDir:()=>{}},N$=$m()(k6((e,t)=>ee(R({},dte),{setIsShowPinned:r=>e(()=>({isShowPinned:r})),setIsShowHistoryPinned:r=>e(()=>({isShowHistoryPinned:r})),setIsSwapPanels:r=>e(()=>({isSwapPanels:r})),resetFontSize:()=>{e(()=>({fontSize:"100%"}))},setIsScrolling(r){e(()=>({isScrolling:r}))},setOSType:r=>{e(()=>({isWindows:r==="Windows_NT",isMacOSX:r==="Darwin",isLinux:r==="Linux"}))},setFontSize:r=>{e(()=>({fontSize:r}))},setPanelSize:r=>{e(()=>({panelSize:r}))},increaseFontSize:()=>{e(r=>{const n=Zh.indexOf(r.fontSize),a=Math.min(Zh.length-1,n+1);return{fontSize:Zh[a]}})},decreaseFontSize:()=>{e(r=>{const n=Zh.indexOf(r.fontSize),a=Math.max(0,n-1);return{fontSize:Zh[a]}})},setReturnRoute:r=>{e(()=>({returnRoute:r}))}}),{name:"ui-store",storage:Lw(()=>localStorage)})),Es=Om(N$),fte={direction:"ltr",mode:"system",systemTheme:"light",deviceId:"",themeDark:()=>!1,setDeviceId:()=>{},setSystemTheme:()=>{},setDirection:()=>{},setMode:()=>{}},hte=$m()(k6((e,t)=>ee(R({},fte),{themeDark:()=>{const{mode:r,systemTheme:n}=t();return r==="system"?n==="dark":r==="dark"},setSystemTheme:r=>{e({systemTheme:r})},setDeviceId:r=>{e(()=>({deviceId:r}))},setMode:r=>{e({mode:r})}}),{name:"theme-store",storage:Lw(()=>localStorage),partialize:e=>({mode:e.mode,deviceId:e.deviceId,direction:e.direction})})),fi=Om(hte);var pte=typeof global=="object"&&global&&global.Object===Object&&global,mte=typeof self=="object"&&self&&self.Object===Object&&self,_$=pte||mte||Function("return this")(),r2=_$.Symbol,T$=Object.prototype,gte=T$.hasOwnProperty,vte=T$.toString,U0=r2?r2.toStringTag:void 0;function xte(e){var t=gte.call(e,U0),r=e[U0];try{e[U0]=void 0;var n=!0}catch(o){}var a=vte.call(e);return n&&(t?e[U0]=r:delete e[U0]),a}var yte=Object.prototype,bte=yte.toString;function wte(e){return bte.call(e)}var kte="[object Null]",Cte="[object Undefined]",V9=r2?r2.toStringTag:void 0;function Ste(e){return e==null?e===void 0?Cte:kte:V9&&V9 in Object(e)?xte(e):wte(e)}function jte(e){return e!=null&&typeof e=="object"}var Ete="[object Symbol]";function Nte(e){return typeof e=="symbol"||jte(e)&&Ste(e)==Ete}var _te=/\s/;function Tte(e){for(var t=e.length;t--&&_te.test(e.charAt(t)););return t}var Pte=/^\s+/;function Mte(e){return e&&e.slice(0,Tte(e)+1).replace(Pte,"")}function n2(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var q9=NaN,Dte=/^[-+]0x[0-9a-f]+$/i,Ate=/^0b[01]+$/i,Rte=/^0o[0-7]+$/i,Lte=parseInt;function K9(e){if(typeof e=="number")return e;if(Nte(e))return q9;if(n2(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=n2(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=Mte(e);var r=Ate.test(e);return r||Rte.test(e)?Lte(e.slice(2),r?2:8):Dte.test(e)?q9:+e}var z5=function(){return _$.Date.now()},Ite="Expected a function",Ote=Math.max,$te=Math.min;function Kd(e,t,r){var n,a,o,i,c,u,f=0,h=!1,m=!1,v=!0;if(typeof e!="function")throw new TypeError(Ite);t=K9(t)||0,n2(r)&&(h=!!r.leading,m="maxWait"in r,o=m?Ote(K9(r.maxWait)||0,t):o,v="trailing"in r?!!r.trailing:v);function S(A){var M=n,D=a;return n=a=void 0,f=A,i=e.apply(D,M),i}function w(A){return f=A,c=setTimeout(C,t),h?S(A):i}function g(A){var M=A-u,D=A-f,L=t-M;return m?$te(L,o-D):L}function b(A){var M=A-u,D=A-f;return u===void 0||M>=t||M<0||m&&D>=o}function C(){var A=z5();if(b(A))return j(A);c=setTimeout(C,g(A))}function j(A){return c=void 0,v&&n?S(A):(n=a=void 0,i)}function E(){c!==void 0&&clearTimeout(c),f=0,n=u=a=c=void 0}function N(){return c===void 0?i:j(z5())}function T(){var A=z5(),M=b(A);if(n=arguments,a=this,u=A,M){if(c===void 0)return w(u);if(m)return clearTimeout(c),c=setTimeout(C,t),S(u)}return c===void 0&&(c=setTimeout(C,t)),i}return T.cancel=E,T.flush=N,T}var zte="Expected a function";function P$(e,t,r){var n=!0,a=!0;if(typeof e!="function")throw new TypeError(zte);return n2(r)&&(n="leading"in r?!!r.leading:n,a="trailing"in r?!!r.trailing:a),Kd(e,t,{leading:n,maxWait:t,trailing:a})}var Fte={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const M$=$m()((e,t)=>({collections:[],tabs:[],tabsLoaded:!1,isMenuLoaded:!1,pinnedClips:[],currentCollectionId:null,currentTab:"",menuItems:[],clipItems:[],getTabLastBorderIndex:r=>{var i;const{clipItems:n}=t(),a=n.filter(c=>c.isBoard&&c.tabId===r);return((i=a.reduce((c,u)=>c.orderNumber>u.orderNumber?c:u,a[0]))==null?void 0:i.orderNumber)||0},setIsMenuLoaded:r=>{e(()=>({isMenuLoaded:r}))},getCurrentTab:()=>{var r;return t().currentTab||((r=t().tabs[0])==null?void 0:r.tabId)},setClipItemsDebounced:Kd(r=>{e(()=>({pinnedClips:r.filter(n=>n.isPinned&&n.isClip).sort((n,a)=>n.pinnedOrderNumber-a.pinnedOrderNumber).map(n=>{var a,o,i;return{id:n.itemId,name:n.name,parentId:n.parentId,orderNumber:n.orderNumber,pinnedOrderNumber:n.pinnedOrderNumber,isPinned:n.isPinned,createdAt:n.createdAt,isFavorite:n.isFavorite,color:(i=(o=n.color)!=null?o:(a=r.find(c=>c.itemId===n.parentId))==null?void 0:a.color)!=null?i:"slate",borderWidth:n.borderWidth,value:n.value,tabId:n.tabId,type:"clip"}}),clipItems:r}))},300,{leading:!0}),setMenuItems:r=>{e(()=>({isMenuLoaded:!0,menuItems:r}))},setClipItems:r=>{e(()=>({pinnedClips:r.filter(n=>n.isPinned&&n.isClip).sort((n,a)=>n.pinnedOrderNumber-a.pinnedOrderNumber).map(n=>{var a,o,i;return{id:n.itemId,name:n.name,parentId:n.parentId,orderNumber:n.orderNumber,createdAt:n.createdAt,isPinned:n.isPinned,isFavorite:n.isFavorite,color:(i=(o=n.color)!=null?o:(a=r.find(c=>c.itemId===n.parentId))==null?void 0:a.color)!=null?i:"slate",borderWidth:n.borderWidth,value:n.value,tabId:n.tabId,type:"clip"}}),clipItems:r}))},isBoardHasChildren:r=>{const{clipItems:n}=t();return n.some(a=>a.parentId===r)},tabHasBoards:r=>{const{clipItems:n}=t();return n.some(a=>a.tabId===r&&a.isBoard)},setTabsByOrder:r=>{e({tabs:r.sort((n,a)=>n.tabOrderNumber-a.tabOrderNumber)})},setTabs:r=>{var h,m,v;const n=t().currentCollectionId,a=localStorage.getItem("currentTabs"),o=a!=null&&a.startsWith(n+":::")?a.split(":::")[1]:"",i=(h=r.find(S=>S.tabId===o))==null?void 0:h.tabId,u=((m=r.find(S=>S.tabId===t().currentTab))==null?void 0:m.tabId)||i||((v=r[0])==null?void 0:v.tabId),f=r.sort((S,w)=>S.tabOrderNumber-w.tabOrderNumber);e({currentTab:u,tabsLoaded:!0,tabs:f})},setCurrentTab:r=>{const n=t().currentCollectionId;Ia.value&&(Ia.value=null,_o.value=!1),n&&localStorage.setItem("currentTabs","".concat(n,":::").concat(r)),e(()=>({currentTab:r}))},getCurrentCollectionTitle:()=>{var a;const{collections:r,currentCollectionId:n}=t();return(a=r.find(o=>o.collectionId===n))==null?void 0:a.title},setCollections:r=>{const n=r.find(a=>a.isSelected);e(()=>({collections:r,currentCollectionId:(n==null?void 0:n.collectionId)||null}))}})),Tn=Om(M$);Fte.TAURI_DEBUG&&(window.collectionsStore=M$);var D$={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Rr,function(){return function(r,n,a){var o=n.prototype,i=function(m){return m&&(m.indexOf?m:m.s)},c=function(m,v,S,w,g){var b=m.name?m:m.$locale(),C=i(b[v]),j=i(b[S]),E=C||j.map(function(T){return T.slice(0,w)});if(!g)return E;var N=b.weekStart;return E.map(function(T,A){return E[(A+(N||0))%7]})},u=function(){return a.Ls[a.locale()]},f=function(m,v){return m.formats[v]||function(S){return S.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(w,g,b){return g||b.slice(1)})}(m.formats[v.toUpperCase()])},h=function(){var m=this;return{months:function(v){return v?v.format("MMMM"):c(m,"months")},monthsShort:function(v){return v?v.format("MMM"):c(m,"monthsShort","months",3)},firstDayOfWeek:function(){return m.$locale().weekStart||0},weekdays:function(v){return v?v.format("dddd"):c(m,"weekdays")},weekdaysMin:function(v){return v?v.format("dd"):c(m,"weekdaysMin","weekdays",2)},weekdaysShort:function(v){return v?v.format("ddd"):c(m,"weekdaysShort","weekdays",3)},longDateFormat:function(v){return f(m.$locale(),v)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};o.localeData=function(){return h.bind(this)()},a.localeData=function(){var m=u();return{firstDayOfWeek:function(){return m.weekStart||0},weekdays:function(){return a.weekdays()},weekdaysShort:function(){return a.weekdaysShort()},weekdaysMin:function(){return a.weekdaysMin()},months:function(){return a.months()},monthsShort:function(){return a.monthsShort()},longDateFormat:function(v){return f(m,v)},meridiem:m.meridiem,ordinal:m.ordinal}},a.months=function(){return c(u(),"months")},a.monthsShort=function(){return c(u(),"monthsShort","months",3)},a.weekdays=function(m){return c(u(),"weekdays",null,null,m)},a.weekdaysShort=function(m){return c(u(),"weekdaysShort","weekdays",3,m)},a.weekdaysMin=function(m){return c(u(),"weekdaysMin","weekdays",2,m)}}})})(D$);var Hte=D$.exports;const Bte=rl(Hte),Ute={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class s2{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,r)}init(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=r.prefix||"i18next:",this.logger=t||Ute,this.options=r,this.debug=r.debug}log(){for(var t=arguments.length,r=new Array(t),n=0;n{this.observers[n]||(this.observers[n]=new Map);const a=this.observers[n].get(r)||0;this.observers[n].set(r,a+1)}),this}off(t,r){if(this.observers[t]){if(!r){delete this.observers[t];return}this.observers[t].delete(r)}}emit(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a{let[c,u]=i;for(let f=0;f{let[c,u]=i;for(let f=0;f{e=n,t=a});return r.resolve=e,r.reject=t,r}function G9(e){return e==null?"":""+e}function Wte(e,t,r){e.forEach(n=>{t[n]&&(r[n]=t[n])})}const Vte=/###/g;function zg(e,t,r){function n(c){return c&&c.indexOf("###")>-1?c.replace(Vte,"."):c}function a(){return!e||typeof e=="string"}const o=typeof t!="string"?t:t.split(".");let i=0;for(;i":">",'"':""","'":"'","/":"/"};function Yte(e){return typeof e=="string"?e.replace(/[&<>"'\/]/g,t=>Gte[t]):e}class Zte{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){const r=this.regExpMap.get(t);if(r!==void 0)return r;const n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}}const Xte=[" ",",","?","!",";"],Qte=new Zte(20);function Jte(e,t,r){t=t||"",r=r||"";const n=Xte.filter(i=>t.indexOf(i)<0&&r.indexOf(i)<0);if(n.length===0)return!0;const a=Qte.getRegExp("(".concat(n.map(i=>i==="?"?"\\?":i).join("|"),")"));let o=!a.test(e);if(!o){const i=e.indexOf(r);i>0&&!a.test(e.substring(0,i))&&(o=!0)}return o}function N4(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!e)return;if(e[t])return e[t];const n=t.split(r);let a=e;for(let o=0;o-1&&u0?e.replace("_","-"):e}class Z9 extends Iw{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){const r=this.options.ns.indexOf(t);r>-1&&this.options.ns.splice(r,1)}getResource(t,r,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator,i=a.ignoreJSONStructure!==void 0?a.ignoreJSONStructure:this.options.ignoreJSONStructure;let c;t.indexOf(".")>-1?c=t.split("."):(c=[t,r],n&&(Array.isArray(n)?c.push(...n):typeof n=="string"&&o?c.push(...n.split(o)):c.push(n)));const u=a2(this.data,c);return!u&&!r&&!n&&t.indexOf(".")>-1&&(t=c[0],r=c[1],n=c.slice(2).join(".")),u||!i||typeof n!="string"?u:N4(this.data&&this.data[t]&&this.data[t][r],n,o)}addResource(t,r,n,a){let o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const i=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator;let c=[t,r];n&&(c=c.concat(i?n.split(i):n)),t.indexOf(".")>-1&&(c=t.split("."),a=r,r=c[1]),this.addNamespaces(r),Y9(this.data,c,a),o.silent||this.emit("added",t,r,n,a)}addResources(t,r,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const o in n)(typeof n[o]=="string"||Object.prototype.toString.apply(n[o])==="[object Array]")&&this.addResource(t,r,o,n[o],{silent:!0});a.silent||this.emit("added",t,r,n)}addResourceBundle(t,r,n,a,o){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},c=[t,r];t.indexOf(".")>-1&&(c=t.split("."),a=n,n=r,r=c[1]),this.addNamespaces(r);let u=a2(this.data,c)||{};i.skipCopy||(n=JSON.parse(JSON.stringify(n))),a?A$(u,n,o):u=R(R({},u),n),Y9(this.data,c,u),i.silent||this.emit("added",t,r,n)}removeResourceBundle(t,r){this.hasResourceBundle(t,r)&&delete this.data[t][r],this.removeNamespaces(r),this.emit("removed",t,r)}hasResourceBundle(t,r){return this.getResource(t,r)!==void 0}getResourceBundle(t,r){return r||(r=this.options.defaultNS),this.options.compatibilityAPI==="v1"?R({},this.getResource(t,r)):this.getResource(t,r)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){const r=this.getDataByLanguage(t);return!!(r&&Object.keys(r)||[]).find(a=>r[a]&&Object.keys(r[a]).length>0)}toJSON(){return this.data}}var R$={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,a){return e.forEach(o=>{this.processors[o]&&(t=this.processors[o].process(t,r,n,a))}),t}};const X9={};class i2 extends Iw{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Wte(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=r,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Sl.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;const n=this.resolve(t,r);return n&&n.res!==void 0}extractFromKey(t,r){let n=r.nsSeparator!==void 0?r.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const a=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator;let o=r.ns||this.options.defaultNS||[];const i=n&&t.indexOf(n)>-1,c=!this.options.userDefinedKeySeparator&&!r.keySeparator&&!this.options.userDefinedNsSeparator&&!r.nsSeparator&&!Jte(t,n,a);if(i&&!c){const u=t.match(this.interpolator.nestingRegexp);if(u&&u.length>0)return{key:t,namespaces:o};const f=t.split(n);(n!==a||n===a&&this.options.ns.indexOf(f[0])>-1)&&(o=f.shift()),t=f.join(a)}return typeof o=="string"&&(o=[o]),{key:t,namespaces:o}}translate(t,r,n){if(typeof r!="object"&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),typeof r=="object"&&(r=R({},r)),r||(r={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);const a=r.returnDetails!==void 0?r.returnDetails:this.options.returnDetails,o=r.keySeparator!==void 0?r.keySeparator:this.options.keySeparator,{key:i,namespaces:c}=this.extractFromKey(t[t.length-1],r),u=c[c.length-1],f=r.lng||this.language,h=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f&&f.toLowerCase()==="cimode"){if(h){const N=r.nsSeparator||this.options.nsSeparator;return a?{res:"".concat(u).concat(N).concat(i),usedKey:i,exactUsedKey:i,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(r)}:"".concat(u).concat(N).concat(i)}return a?{res:i,usedKey:i,exactUsedKey:i,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(r)}:i}const m=this.resolve(t,r);let v=m&&m.res;const S=m&&m.usedKey||i,w=m&&m.exactUsedKey||i,g=Object.prototype.toString.apply(v),b=["[object Number]","[object Function]","[object RegExp]"],C=r.joinArrays!==void 0?r.joinArrays:this.options.joinArrays,j=!this.i18nFormat||this.i18nFormat.handleAsObject;if(j&&v&&(typeof v!="string"&&typeof v!="boolean"&&typeof v!="number")&&b.indexOf(g)<0&&!(typeof C=="string"&&g==="[object Array]")){if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const N=this.options.returnedObjectHandler?this.options.returnedObjectHandler(S,v,ee(R({},r),{ns:c})):"key '".concat(i," (").concat(this.language,")' returned an object instead of string.");return a?(m.res=N,m.usedParams=this.getUsedParamsDetails(r),m):N}if(o){const N=g==="[object Array]",T=N?[]:{},A=N?w:S;for(const M in v)if(Object.prototype.hasOwnProperty.call(v,M)){const D="".concat(A).concat(o).concat(M);T[M]=this.translate(D,ee(R({},r),{joinArrays:!1,ns:c})),T[M]===D&&(T[M]=v[M])}v=T}}else if(j&&typeof C=="string"&&g==="[object Array]")v=v.join(C),v&&(v=this.extendTranslation(v,t,r,n));else{let N=!1,T=!1;const A=r.count!==void 0&&typeof r.count!="string",M=i2.hasDefaultValue(r),D=A?this.pluralResolver.getSuffix(f,r.count,r):"",L=r.ordinal&&A?this.pluralResolver.getSuffix(f,r.count,{ordinal:!1}):"",z=A&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),H=z&&r["defaultValue".concat(this.options.pluralSeparator,"zero")]||r["defaultValue".concat(D)]||r["defaultValue".concat(L)]||r.defaultValue;!this.isValidLookup(v)&&M&&(N=!0,v=H),this.isValidLookup(v)||(T=!0,v=i);const I=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&T?void 0:v,q=M&&H!==v&&this.options.updateMissing;if(T||N||q){if(this.logger.log(q?"updateKey":"missingKey",f,u,i,q?H:v),o){const K=this.resolve(i,ee(R({},r),{keySeparator:!1}));K&&K.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let _=[];const $=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if(this.options.saveMissingTo==="fallback"&&$&&$[0])for(let K=0;K<$.length;K++)_.push($[K]);else this.options.saveMissingTo==="all"?_=this.languageUtils.toResolveHierarchy(r.lng||this.language):_.push(r.lng||this.language);const U=(K,Y,B)=>{const F=M&&B!==v?B:I;this.options.missingKeyHandler?this.options.missingKeyHandler(K,u,Y,F,q,r):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(K,u,Y,F,q,r),this.emit("missingKey",K,u,Y,v)};this.options.saveMissing&&(this.options.saveMissingPlurals&&A?_.forEach(K=>{const Y=this.pluralResolver.getSuffixes(K,r);z&&r["defaultValue".concat(this.options.pluralSeparator,"zero")]&&Y.indexOf("".concat(this.options.pluralSeparator,"zero"))<0&&Y.push("".concat(this.options.pluralSeparator,"zero")),Y.forEach(B=>{U([K],i+B,r["defaultValue".concat(B)]||H)})}):U(_,i,H))}v=this.extendTranslation(v,t,r,m,n),T&&v===i&&this.options.appendNamespaceToMissingKey&&(v="".concat(u,":").concat(i)),(T||N)&&this.options.parseMissingKeyHandler&&(this.options.compatibilityAPI!=="v1"?v=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?"".concat(u,":").concat(i):i,N?v:void 0):v=this.options.parseMissingKeyHandler(v))}return a?(m.res=v,m.usedParams=this.getUsedParamsDetails(r),m):v}extendTranslation(t,r,n,a,o){var i=this;if(this.i18nFormat&&this.i18nFormat.parse)t=this.i18nFormat.parse(t,R(R({},this.options.interpolation.defaultVariables),n),n.lng||this.language||a.usedLng,a.usedNS,a.usedKey,{resolved:a});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(ee(R({},n),{interpolation:R(R({},this.options.interpolation),n.interpolation)}));const f=typeof t=="string"&&(n&&n.interpolation&&n.interpolation.skipOnVariables!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let h;if(f){const v=t.match(this.interpolator.nestingRegexp);h=v&&v.length}let m=n.replace&&typeof n.replace!="string"?n.replace:n;if(this.options.interpolation.defaultVariables&&(m=R(R({},this.options.interpolation.defaultVariables),m)),t=this.interpolator.interpolate(t,m,n.lng||this.language,n),f){const v=t.match(this.interpolator.nestingRegexp),S=v&&v.length;h1&&arguments[1]!==void 0?arguments[1]:{},n,a,o,i,c;return typeof t=="string"&&(t=[t]),t.forEach(u=>{if(this.isValidLookup(n))return;const f=this.extractFromKey(u,r),h=f.key;a=h;let m=f.namespaces;this.options.fallbackNS&&(m=m.concat(this.options.fallbackNS));const v=r.count!==void 0&&typeof r.count!="string",S=v&&!r.ordinal&&r.count===0&&this.pluralResolver.shouldUseIntlApi(),w=r.context!==void 0&&(typeof r.context=="string"||typeof r.context=="number")&&r.context!=="",g=r.lngs?r.lngs:this.languageUtils.toResolveHierarchy(r.lng||this.language,r.fallbackLng);m.forEach(b=>{this.isValidLookup(n)||(c=b,!X9["".concat(g[0],"-").concat(b)]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(c)&&(X9["".concat(g[0],"-").concat(b)]=!0,this.logger.warn('key "'.concat(a,'" for languages "').concat(g.join(", "),'" won\'t get resolved as namespace "').concat(c,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),g.forEach(C=>{if(this.isValidLookup(n))return;i=C;const j=[h];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(j,h,C,b,r);else{let N;v&&(N=this.pluralResolver.getSuffix(C,r.count,r));const T="".concat(this.options.pluralSeparator,"zero"),A="".concat(this.options.pluralSeparator,"ordinal").concat(this.options.pluralSeparator);if(v&&(j.push(h+N),r.ordinal&&N.indexOf(A)===0&&j.push(h+N.replace(A,this.options.pluralSeparator)),S&&j.push(h+T)),w){const M="".concat(h).concat(this.options.contextSeparator).concat(r.context);j.push(M),v&&(j.push(M+N),r.ordinal&&N.indexOf(A)===0&&j.push(M+N.replace(A,this.options.pluralSeparator)),S&&j.push(M+T))}}let E;for(;E=j.pop();)this.isValidLookup(n)||(o=E,n=this.getResource(C,b,E,r))}))})}),{res:n,usedKey:a,exactUsedKey:o,usedLng:i,usedNS:c}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,r,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(t,r,n,a):this.resourceStore.getResource(t,r,n,a)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const r=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&typeof t.replace!="string";let a=n?t.replace:t;if(n&&typeof t.count!="undefined"&&(a.count=t.count),this.options.interpolation.defaultVariables&&(a=R(R({},this.options.interpolation.defaultVariables),a)),!n){a=R({},a);for(const o of r)delete a[o]}return a}static hasDefaultValue(t){const r="defaultValue";for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&r===n.substring(0,r.length)&&t[n]!==void 0)return!0;return!1}}function F5(e){return e.charAt(0).toUpperCase()+e.slice(1)}class Q9{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Sl.create("languageUtils")}getScriptPartFromCode(t){if(t=o2(t),!t||t.indexOf("-")<0)return null;const r=t.split("-");return r.length===2||(r.pop(),r[r.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(r.join("-"))}getLanguagePartFromCode(t){if(t=o2(t),!t||t.indexOf("-")<0)return t;const r=t.split("-");return this.formatLanguageCode(r[0])}formatLanguageCode(t){if(typeof t=="string"&&t.indexOf("-")>-1){const r=["hans","hant","latn","cyrl","cans","mong","arab"];let n=t.split("-");return this.options.lowerCaseLng?n=n.map(a=>a.toLowerCase()):n.length===2?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),r.indexOf(n[1].toLowerCase())>-1&&(n[1]=F5(n[1].toLowerCase()))):n.length===3&&(n[0]=n[0].toLowerCase(),n[1].length===2&&(n[1]=n[1].toUpperCase()),n[0]!=="sgn"&&n[2].length===2&&(n[2]=n[2].toUpperCase()),r.indexOf(n[1].toLowerCase())>-1&&(n[1]=F5(n[1].toLowerCase())),r.indexOf(n[2].toLowerCase())>-1&&(n[2]=F5(n[2].toLowerCase()))),n.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let r;return t.forEach(n=>{if(r)return;const a=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(a))&&(r=a)}),!r&&this.options.supportedLngs&&t.forEach(n=>{if(r)return;const a=this.getLanguagePartFromCode(n);if(this.isSupportedCode(a))return r=a;r=this.options.supportedLngs.find(o=>{if(o===a)return o;if(!(o.indexOf("-")<0&&a.indexOf("-")<0)&&o.indexOf(a)===0)return o})}),r||(r=this.getFallbackCodes(this.options.fallbackLng)[0]),r}getFallbackCodes(t,r){if(!t)return[];if(typeof t=="function"&&(t=t(r)),typeof t=="string"&&(t=[t]),Object.prototype.toString.apply(t)==="[object Array]")return t;if(!r)return t.default||[];let n=t[r];return n||(n=t[this.getScriptPartFromCode(r)]),n||(n=t[this.formatLanguageCode(r)]),n||(n=t[this.getLanguagePartFromCode(r)]),n||(n=t.default),n||[]}toResolveHierarchy(t,r){const n=this.getFallbackCodes(r||this.options.fallbackLng||[],t),a=[],o=i=>{i&&(this.isSupportedCode(i)?a.push(i):this.logger.warn("rejecting language code not found in supportedLngs: ".concat(i)))};return typeof t=="string"&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&o(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&o(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&o(this.getLanguagePartFromCode(t))):typeof t=="string"&&o(this.formatLanguageCode(t)),n.forEach(i=>{a.indexOf(i)<0&&o(this.formatLanguageCode(i))}),a}}let ere=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],tre={1:function(e){return+(e>1)},2:function(e){return+(e!=1)},3:function(e){return 0},4:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},5:function(e){return e==0?0:e==1?1:e==2?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5},6:function(e){return e==1?0:e>=2&&e<=4?1:2},7:function(e){return e==1?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2},8:function(e){return e==1?0:e==2?1:e!=8&&e!=11?2:3},9:function(e){return+(e>=2)},10:function(e){return e==1?0:e==2?1:e<7?2:e<11?3:4},11:function(e){return e==1||e==11?0:e==2||e==12?1:e>2&&e<20?2:3},12:function(e){return+(e%10!=1||e%100==11)},13:function(e){return+(e!==0)},14:function(e){return e==1?0:e==2?1:e==3?2:3},15:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2},16:function(e){return e%10==1&&e%100!=11?0:e!==0?1:2},17:function(e){return e==1||e%10==1&&e%100!=11?0:1},18:function(e){return e==0?0:e==1?1:2},19:function(e){return e==1?0:e==0||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3},20:function(e){return e==1?0:e==0||e%100>0&&e%100<20?1:2},21:function(e){return e%100==1?1:e%100==2?2:e%100==3||e%100==4?3:0},22:function(e){return e==1?0:e==2?1:(e<0||e>10)&&e%10==0?2:3}};const rre=["v1","v2","v3"],nre=["v4"],J9={zero:0,one:1,two:2,few:3,many:4,other:5};function sre(){const e={};return ere.forEach(t=>{t.lngs.forEach(r=>{e[r]={numbers:t.nr,plurals:tre[t.fc]}})}),e}class are{constructor(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=r,this.logger=Sl.create("pluralResolver"),(!this.options.compatibilityJSON||nre.includes(this.options.compatibilityJSON))&&(typeof Intl=="undefined"||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=sre()}addRule(t,r){this.rules[t]=r}getRule(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(this.shouldUseIntlApi())try{return new Intl.PluralRules(o2(t==="dev"?"en":t),{type:r.ordinal?"ordinal":"cardinal"})}catch(n){return}return this.rules[t]||this.rules[this.languageUtils.getLanguagePartFromCode(t)]}needsPlural(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=this.getRule(t,r);return this.shouldUseIntlApi()?n&&n.resolvedOptions().pluralCategories.length>1:n&&n.numbers.length>1}getPluralFormsOfKey(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,n).map(a=>"".concat(r).concat(a))}getSuffixes(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=this.getRule(t,r);return n?this.shouldUseIntlApi()?n.resolvedOptions().pluralCategories.sort((a,o)=>J9[a]-J9[o]).map(a=>"".concat(this.options.prepend).concat(r.ordinal?"ordinal".concat(this.options.prepend):"").concat(a)):n.numbers.map(a=>this.getSuffix(t,a,r)):[]}getSuffix(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const a=this.getRule(t,n);return a?this.shouldUseIntlApi()?"".concat(this.options.prepend).concat(n.ordinal?"ordinal".concat(this.options.prepend):"").concat(a.select(r)):this.getSuffixRetroCompatible(a,r):(this.logger.warn("no plural rule found for: ".concat(t)),"")}getSuffixRetroCompatible(t,r){const n=t.noAbs?t.plurals(r):t.plurals(Math.abs(r));let a=t.numbers[n];this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1&&(a===2?a="plural":a===1&&(a=""));const o=()=>this.options.prepend&&a.toString()?this.options.prepend+a.toString():a.toString();return this.options.compatibilityJSON==="v1"?a===1?"":typeof a=="number"?"_plural_".concat(a.toString()):o():this.options.compatibilityJSON==="v2"||this.options.simplifyPluralSuffix&&t.numbers.length===2&&t.numbers[0]===1?o():this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString()}shouldUseIntlApi(){return!rre.includes(this.options.compatibilityJSON)}}function eP(e,t,r){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,o=Kte(e,t,r);return!o&&a&&typeof r=="string"&&(o=N4(e,r,n),o===void 0&&(o=N4(t,r,n))),o}class ore{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Sl.create("interpolator"),this.options=t,this.format=t.interpolation&&t.interpolation.format||(r=>r),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});const r=t.interpolation;this.escape=r.escape!==void 0?r.escape:Yte,this.escapeValue=r.escapeValue!==void 0?r.escapeValue:!0,this.useRawValueToEscape=r.useRawValueToEscape!==void 0?r.useRawValueToEscape:!1,this.prefix=r.prefix?jh(r.prefix):r.prefixEscaped||"{{",this.suffix=r.suffix?jh(r.suffix):r.suffixEscaped||"}}",this.formatSeparator=r.formatSeparator?r.formatSeparator:r.formatSeparator||",",this.unescapePrefix=r.unescapeSuffix?"":r.unescapePrefix||"-",this.unescapeSuffix=this.unescapePrefix?"":r.unescapeSuffix||"",this.nestingPrefix=r.nestingPrefix?jh(r.nestingPrefix):r.nestingPrefixEscaped||jh("$t("),this.nestingSuffix=r.nestingSuffix?jh(r.nestingSuffix):r.nestingSuffixEscaped||jh(")"),this.nestingOptionsSeparator=r.nestingOptionsSeparator?r.nestingOptionsSeparator:r.nestingOptionsSeparator||",",this.maxReplaces=r.maxReplaces?r.maxReplaces:1e3,this.alwaysFormat=r.alwaysFormat!==void 0?r.alwaysFormat:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const t=(r,n)=>r&&r.source===n?(r.lastIndex=0,r):new RegExp(n,"g");this.regexp=t(this.regexp,"".concat(this.prefix,"(.+?)").concat(this.suffix)),this.regexpUnescape=t(this.regexpUnescape,"".concat(this.prefix).concat(this.unescapePrefix,"(.+?)").concat(this.unescapeSuffix).concat(this.suffix)),this.nestingRegexp=t(this.nestingRegexp,"".concat(this.nestingPrefix,"(.+?)").concat(this.nestingSuffix))}interpolate(t,r,n,a){let o,i,c;const u=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{};function f(w){return w.replace(/\$/g,"$$$$")}const h=w=>{if(w.indexOf(this.formatSeparator)<0){const j=eP(r,u,w,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(j,void 0,n,ee(R(R({},a),r),{interpolationkey:w})):j}const g=w.split(this.formatSeparator),b=g.shift().trim(),C=g.join(this.formatSeparator).trim();return this.format(eP(r,u,b,this.options.keySeparator,this.options.ignoreJSONStructure),C,n,ee(R(R({},a),r),{interpolationkey:b}))};this.resetRegExp();const m=a&&a.missingInterpolationHandler||this.options.missingInterpolationHandler,v=a&&a.interpolation&&a.interpolation.skipOnVariables!==void 0?a.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:w=>f(w)},{regex:this.regexp,safeValue:w=>this.escapeValue?f(this.escape(w)):f(w)}].forEach(w=>{for(c=0;o=w.regex.exec(t);){const g=o[1].trim();if(i=h(g),i===void 0)if(typeof m=="function"){const C=m(t,o,a);i=typeof C=="string"?C:""}else if(a&&Object.prototype.hasOwnProperty.call(a,g))i="";else if(v){i=o[0];continue}else this.logger.warn("missed to pass in variable ".concat(g," for interpolating ").concat(t)),i="";else typeof i!="string"&&!this.useRawValueToEscape&&(i=G9(i));const b=w.safeValue(i);if(t=t.replace(o[0],b),v?(w.regex.lastIndex+=i.length,w.regex.lastIndex-=o[0].length):w.regex.lastIndex=0,c++,c>=this.maxReplaces)break}}),t}nest(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a,o,i;function c(u,f){const h=this.nestingOptionsSeparator;if(u.indexOf(h)<0)return u;const m=u.split(new RegExp("".concat(h,"[ ]*{")));let v="{".concat(m[1]);u=m[0],v=this.interpolate(v,i);const S=v.match(/'/g),w=v.match(/"/g);(S&&S.length%2===0&&!w||w.length%2!==0)&&(v=v.replace(/'/g,'"'));try{i=JSON.parse(v),f&&(i=R(R({},f),i))}catch(g){return this.logger.warn("failed parsing options string in nesting for key ".concat(u),g),"".concat(u).concat(h).concat(v)}return delete i.defaultValue,u}for(;a=this.nestingRegexp.exec(t);){let u=[];i=R({},n),i=i.replace&&typeof i.replace!="string"?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;let f=!1;if(a[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(a[1])){const h=a[1].split(this.formatSeparator).map(m=>m.trim());a[1]=h.shift(),u=h,f=!0}if(o=r(c.call(this,a[1].trim(),i),i),o&&a[0]===t&&typeof o!="string")return o;typeof o!="string"&&(o=G9(o)),o||(this.logger.warn("missed to resolve ".concat(a[1]," for nesting ").concat(t)),o=""),f&&(o=u.reduce((h,m)=>this.format(h,m,n.lng,ee(R({},n),{interpolationkey:a[1].trim()})),o.trim())),t=t.replace(a[0],o),this.regexp.lastIndex=0}return t}}function ire(e){let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const a=n[1].substring(0,n[1].length-1);t==="currency"&&a.indexOf(":")<0?r.currency||(r.currency=a.trim()):t==="relativetime"&&a.indexOf(":")<0?r.range||(r.range=a.trim()):a.split(";").forEach(i=>{if(!i)return;const[c,...u]=i.split(":"),f=u.join(":").trim().replace(/^'+|'+$/g,"");r[c.trim()]||(r[c.trim()]=f),f==="false"&&(r[c.trim()]=!1),f==="true"&&(r[c.trim()]=!0),isNaN(f)||(r[c.trim()]=parseInt(f,10))})}return{formatName:t,formatOptions:r}}function Eh(e){const t={};return function(n,a,o){const i=a+JSON.stringify(o);let c=t[i];return c||(c=e(o2(a),o),t[i]=c),c(n)}}class lre{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Sl.create("formatter"),this.options=t,this.formats={number:Eh((r,n)=>{const a=new Intl.NumberFormat(r,R({},n));return o=>a.format(o)}),currency:Eh((r,n)=>{const a=new Intl.NumberFormat(r,ee(R({},n),{style:"currency"}));return o=>a.format(o)}),datetime:Eh((r,n)=>{const a=new Intl.DateTimeFormat(r,R({},n));return o=>a.format(o)}),relativetime:Eh((r,n)=>{const a=new Intl.RelativeTimeFormat(r,R({},n));return o=>a.format(o,n.range||"day")}),list:Eh((r,n)=>{const a=new Intl.ListFormat(r,R({},n));return o=>a.format(o)})},this.init(t)}init(t){const n=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}}).interpolation;this.formatSeparator=n.formatSeparator?n.formatSeparator:n.formatSeparator||","}add(t,r){this.formats[t.toLowerCase().trim()]=r}addCached(t,r){this.formats[t.toLowerCase().trim()]=Eh(r)}format(t,r,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return r.split(this.formatSeparator).reduce((c,u)=>{const{formatName:f,formatOptions:h}=ire(u);if(this.formats[f]){let m=c;try{const v=a&&a.formatParams&&a.formatParams[a.interpolationkey]||{},S=v.locale||v.lng||a.locale||a.lng||n;m=this.formats[f](c,S,R(R(R({},h),a),v))}catch(v){this.logger.warn(v)}return m}else this.logger.warn("there was no format function for ".concat(f));return c},t)}}function cre(e,t){e.pending[t]!==void 0&&(delete e.pending[t],e.pendingCount--)}class ure extends Iw{constructor(t,r,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=r,this.services=n,this.languageUtils=n.languageUtils,this.options=a,this.logger=Sl.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=a.maxParallelReads||10,this.readingCalls=0,this.maxRetries=a.maxRetries>=0?a.maxRetries:5,this.retryTimeout=a.retryTimeout>=1?a.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(n,a.backend,a)}queueLoad(t,r,n,a){const o={},i={},c={},u={};return t.forEach(f=>{let h=!0;r.forEach(m=>{const v="".concat(f,"|").concat(m);!n.reload&&this.store.hasResourceBundle(f,m)?this.state[v]=2:this.state[v]<0||(this.state[v]===1?i[v]===void 0&&(i[v]=!0):(this.state[v]=1,h=!1,i[v]===void 0&&(i[v]=!0),o[v]===void 0&&(o[v]=!0),u[m]===void 0&&(u[m]=!0)))}),h||(c[f]=!0)}),(Object.keys(o).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:a}),{toLoad:Object.keys(o),pending:Object.keys(i),toLoadLanguages:Object.keys(c),toLoadNamespaces:Object.keys(u)}}loaded(t,r,n){const a=t.split("|"),o=a[0],i=a[1];r&&this.emit("failedLoading",o,i,r),n&&this.store.addResourceBundle(o,i,n,void 0,void 0,{skipCopy:!0}),this.state[t]=r?-1:2;const c={};this.queue.forEach(u=>{qte(u.loaded,[o],i),cre(u,t),r&&u.errors.push(r),u.pendingCount===0&&!u.done&&(Object.keys(u.loaded).forEach(f=>{c[f]||(c[f]={});const h=u.loaded[f];h.length&&h.forEach(m=>{c[f][m]===void 0&&(c[f][m]=!0)})}),u.done=!0,u.errors.length?u.callback(u.errors):u.callback())}),this.emit("loaded",c),this.queue=this.queue.filter(u=>!u.done)}read(t,r,n){let a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,i=arguments.length>5?arguments[5]:void 0;if(!t.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:r,fcName:n,tried:a,wait:o,callback:i});return}this.readingCalls++;const c=(f,h)=>{if(this.readingCalls--,this.waitingReads.length>0){const m=this.waitingReads.shift();this.read(m.lng,m.ns,m.fcName,m.tried,m.wait,m.callback)}if(f&&h&&a{this.read.call(this,t,r,n,a+1,o*2,i)},o);return}i(f,h)},u=this.backend[n].bind(this.backend);if(u.length===2){try{const f=u(t,r);f&&typeof f.then=="function"?f.then(h=>c(null,h)).catch(c):c(null,f)}catch(f){c(f)}return}return u(t,r,c)}prepareLoading(t,r){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),a&&a();typeof t=="string"&&(t=this.languageUtils.toResolveHierarchy(t)),typeof r=="string"&&(r=[r]);const o=this.queueLoad(t,r,n,a);if(!o.toLoad.length)return o.pending.length||a(),null;o.toLoad.forEach(i=>{this.loadOne(i)})}load(t,r,n){this.prepareLoading(t,r,{},n)}reload(t,r,n){this.prepareLoading(t,r,{reload:!0},n)}loadOne(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const n=t.split("|"),a=n[0],o=n[1];this.read(a,o,"read",void 0,void 0,(i,c)=>{i&&this.logger.warn("".concat(r,"loading namespace ").concat(o," for language ").concat(a," failed"),i),!i&&c&&this.logger.log("".concat(r,"loaded namespace ").concat(o," for language ").concat(a),c),this.loaded(t,i,c)})}saveMissing(t,r,n,a,o){let i=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},c=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(r)){this.logger.warn('did not save key "'.concat(n,'" as the namespace "').concat(r,'" was not yet loaded'),"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(n==null||n==="")){if(this.backend&&this.backend.create){const u=ee(R({},i),{isUpdate:o}),f=this.backend.create.bind(this.backend);if(f.length<6)try{let h;f.length===5?h=f(t,r,n,a,u):h=f(t,r,n,a),h&&typeof h.then=="function"?h.then(m=>c(null,m)).catch(c):c(null,h)}catch(h){c(h)}else f(t,r,n,a,c,u)}!t||!t[0]||this.store.addResource(t[0],r,n,a)}}}function tP(){return{debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:function(t){let r={};if(typeof t[1]=="object"&&(r=t[1]),typeof t[1]=="string"&&(r.defaultValue=t[1]),typeof t[2]=="string"&&(r.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const n=t[3]||t[2];Object.keys(n).forEach(a=>{r[a]=n[a]})}return r},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}}function rP(e){return typeof e.ns=="string"&&(e.ns=[e.ns]),typeof e.fallbackLng=="string"&&(e.fallbackLng=[e.fallbackLng]),typeof e.fallbackNS=="string"&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&e.supportedLngs.indexOf("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e}function Jx(){}function dre(e){Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(r=>{typeof e[r]=="function"&&(e[r]=e[r].bind(e))})}class jv extends Iw{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;if(super(),this.options=rP(t),this.services={},this.logger=Sl,this.modules={external:[]},dre(this),r&&!this.isInitialized&&!t.isClone){if(!this.options.initImmediate)return this.init(t,r),this;setTimeout(()=>{this.init(t,r)},0)}}init(){var t=this;let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof r=="function"&&(n=r,r={}),!r.defaultNS&&r.defaultNS!==!1&&r.ns&&(typeof r.ns=="string"?r.defaultNS=r.ns:r.ns.indexOf("translation")<0&&(r.defaultNS=r.ns[0]));const a=tP();this.options=R(R(R({},a),this.options),rP(r)),this.options.compatibilityAPI!=="v1"&&(this.options.interpolation=R(R({},a.interpolation),this.options.interpolation)),r.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=r.keySeparator),r.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=r.nsSeparator);function o(h){return h?typeof h=="function"?new h:h:null}if(!this.options.isClone){this.modules.logger?Sl.init(o(this.modules.logger),this.options):Sl.init(null,this.options);let h;this.modules.formatter?h=this.modules.formatter:typeof Intl!="undefined"&&(h=lre);const m=new Q9(this.options);this.store=new Z9(this.options.resources,this.options);const v=this.services;v.logger=Sl,v.resourceStore=this.store,v.languageUtils=m,v.pluralResolver=new are(m,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),h&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(v.formatter=o(h),v.formatter.init(v,this.options),this.options.interpolation.format=v.formatter.format.bind(v.formatter)),v.interpolator=new ore(this.options),v.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},v.backendConnector=new ure(o(this.modules.backend),v.resourceStore,v,this.options),v.backendConnector.on("*",function(S){for(var w=arguments.length,g=new Array(w>1?w-1:0),b=1;b1?w-1:0),b=1;b{S.init&&S.init(this)})}if(this.format=this.options.interpolation.format,n||(n=Jx),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const h=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);h.length>0&&h[0]!=="dev"&&(this.options.lng=h[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(h=>{this[h]=function(){return t.store[h](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(h=>{this[h]=function(){return t.store[h](...arguments),t}});const u=W0(),f=()=>{const h=(m,v)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),u.resolve(v),n(m,v)};if(this.languages&&this.options.compatibilityAPI!=="v1"&&!this.isInitialized)return h(null,this.t.bind(this));this.changeLanguage(this.options.lng,h)};return this.options.resources||!this.options.initImmediate?f():setTimeout(f,0),u}loadResources(t){let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Jx;const a=typeof t=="string"?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if(a&&a.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const o=[],i=c=>{if(!c||c==="cimode")return;this.services.languageUtils.toResolveHierarchy(c).forEach(f=>{f!=="cimode"&&o.indexOf(f)<0&&o.push(f)})};a?i(a):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(u=>i(u)),this.options.preload&&this.options.preload.forEach(c=>i(c)),this.services.backendConnector.load(o,this.options.ns,c=>{!c&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(c)})}else n(null)}reloadResources(t,r,n){const a=W0();return t||(t=this.languages),r||(r=this.options.ns),n||(n=Jx),this.services.backendConnector.reload(t,r,o=>{a.resolve(),n(o)}),a}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&R$.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let r=0;r-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}changeLanguage(t,r){var n=this;this.isLanguageChangingTo=t;const a=W0();this.emit("languageChanging",t);const o=u=>{this.language=u,this.languages=this.services.languageUtils.toResolveHierarchy(u),this.resolvedLanguage=void 0,this.setResolvedLanguage(u)},i=(u,f)=>{f?(o(f),this.translator.changeLanguage(f),this.isLanguageChangingTo=void 0,this.emit("languageChanged",f),this.logger.log("languageChanged",f)):this.isLanguageChangingTo=void 0,a.resolve(function(){return n.t(...arguments)}),r&&r(u,function(){return n.t(...arguments)})},c=u=>{!t&&!u&&this.services.languageDetector&&(u=[]);const f=typeof u=="string"?u:this.services.languageUtils.getBestMatchFromCodes(u);f&&(this.language||o(f),this.translator.language||this.translator.changeLanguage(f),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(f)),this.loadResources(f,h=>{i(h,f)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?c(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(c):this.services.languageDetector.detect(c):c(t),a}getFixedT(t,r,n){var a=this;const o=function(i,c){let u;if(typeof c!="object"){for(var f=arguments.length,h=new Array(f>2?f-2:0),m=2;m"".concat(u.keyPrefix).concat(v).concat(w)):S=u.keyPrefix?"".concat(u.keyPrefix).concat(v).concat(i):i,a.t(S,u)};return typeof t=="string"?o.lng=t:o.lngs=t,o.ns=r,o.keyPrefix=n,o}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=r.lng||this.resolvedLanguage||this.languages[0],a=this.options?this.options.fallbackLng:!1,o=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const i=(c,u)=>{const f=this.services.backendConnector.state["".concat(c,"|").concat(u)];return f===-1||f===2};if(r.precheck){const c=r.precheck(this,i);if(c!==void 0)return c}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(n,t)&&(!a||i(o,t)))}loadNamespaces(t,r){const n=W0();return this.options.ns?(typeof t=="string"&&(t=[t]),t.forEach(a=>{this.options.ns.indexOf(a)<0&&this.options.ns.push(a)}),this.loadResources(a=>{n.resolve(),r&&r(a)}),n):(r&&r(),Promise.resolve())}loadLanguages(t,r){const n=W0();typeof t=="string"&&(t=[t]);const a=this.options.preload||[],o=t.filter(i=>a.indexOf(i)<0);return o.length?(this.options.preload=a.concat(o),this.loadResources(i=>{n.resolve(),r&&r(i)}),n):(r&&r(),Promise.resolve())}dir(t){if(t||(t=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),!t)return"rtl";const r=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],n=this.services&&this.services.languageUtils||new Q9(tP());return r.indexOf(n.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;return new jv(t,r)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Jx;const n=t.forkResourceStore;n&&delete t.forkResourceStore;const a=ee(R(R({},this.options),t),{isClone:!0}),o=new jv(a);return(t.debug!==void 0||t.prefix!==void 0)&&(o.logger=o.logger.clone(t)),["store","services","language"].forEach(c=>{o[c]=this[c]}),o.services=R({},this.services),o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},n&&(o.store=new Z9(this.store.data,a),o.services.resourceStore=o.store),o.translator=new i2(o.services,a),o.translator.on("*",function(c){for(var u=arguments.length,f=new Array(u>1?u-1:0),h=1;h0){var c=a.maxAge-0;if(Number.isNaN(c))throw new Error("maxAge should be a Number");i+="; Max-Age=".concat(Math.floor(c))}if(a.domain){if(!sP.test(a.domain))throw new TypeError("option domain is invalid");i+="; Domain=".concat(a.domain)}if(a.path){if(!sP.test(a.path))throw new TypeError("option path is invalid");i+="; Path=".concat(a.path)}if(a.expires){if(typeof a.expires.toUTCString!="function")throw new TypeError("option expires is invalid");i+="; Expires=".concat(a.expires.toUTCString())}if(a.httpOnly&&(i+="; HttpOnly"),a.secure&&(i+="; Secure"),a.sameSite){var u=typeof a.sameSite=="string"?a.sameSite.toLowerCase():a.sameSite;switch(u){case!0:i+="; SameSite=Strict";break;case"lax":i+="; SameSite=Lax";break;case"strict":i+="; SameSite=Strict";break;case"none":i+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return i},aP={create:function(t,r,n,a){var o=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{path:"/",sameSite:"strict"};n&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+n*60*1e3)),a&&(o.domain=a),document.cookie=yre(t,encodeURIComponent(r),o)},read:function(t){for(var r="".concat(t,"="),n=document.cookie.split(";"),a=0;a-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var a=n.substring(1),o=a.split("&"),i=0;i0){var u=o[i].substring(0,c);u===t.lookupQuerystring&&(r=o[i].substring(c+1))}}}return r}},V0=null,oP=function(){if(V0!==null)return V0;try{V0=window!=="undefined"&&window.localStorage!==null;var t="i18next.translate.boo";window.localStorage.setItem(t,"foo"),window.localStorage.removeItem(t)}catch(r){V0=!1}return V0},kre={name:"localStorage",lookup:function(t){var r;if(t.lookupLocalStorage&&oP()){var n=window.localStorage.getItem(t.lookupLocalStorage);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupLocalStorage&&oP()&&window.localStorage.setItem(r.lookupLocalStorage,t)}},q0=null,iP=function(){if(q0!==null)return q0;try{q0=window!=="undefined"&&window.sessionStorage!==null;var t="i18next.translate.boo";window.sessionStorage.setItem(t,"foo"),window.sessionStorage.removeItem(t)}catch(r){q0=!1}return q0},Cre={name:"sessionStorage",lookup:function(t){var r;if(t.lookupSessionStorage&&iP()){var n=window.sessionStorage.getItem(t.lookupSessionStorage);n&&(r=n)}return r},cacheUserLanguage:function(t,r){r.lookupSessionStorage&&iP()&&window.sessionStorage.setItem(r.lookupSessionStorage,t)}},Sre={name:"navigator",lookup:function(t){var r=[];if(typeof navigator!="undefined"){if(navigator.languages)for(var n=0;n0?r:void 0}},jre={name:"htmlTag",lookup:function(t){var r,n=t.htmlTag||(typeof document!="undefined"?document.documentElement:null);return n&&typeof n.getAttribute=="function"&&(r=n.getAttribute("lang")),r}},Ere={name:"path",lookup:function(t){var r;if(typeof window!="undefined"){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array)if(typeof t.lookupFromPathIndex=="number"){if(typeof n[t.lookupFromPathIndex]!="string")return;r=n[t.lookupFromPathIndex].replace("/","")}else r=n[0].replace("/","")}return r}},Nre={name:"subdomain",lookup:function(t){var r=typeof t.lookupFromSubdomainIndex=="number"?t.lookupFromSubdomainIndex+1:1,n=typeof window!="undefined"&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[r]}};function _re(){return{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(t){return t}}}var I$=function(){function e(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};fre(this,e),this.type="languageDetector",this.detectors={},this.init(t,r)}return mre(e,[{key:"init",value:function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.services=r||{languageUtils:{}},this.options=xre(n,this.options||{},_re()),typeof this.options.convertDetectedLanguage=="string"&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(o){return o.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=a,this.addDetector(bre),this.addDetector(wre),this.addDetector(kre),this.addDetector(Cre),this.addDetector(Sre),this.addDetector(jre),this.addDetector(Ere),this.addDetector(Nre)}},{key:"addDetector",value:function(r){this.detectors[r.name]=r}},{key:"detect",value:function(r){var n=this;r||(r=this.options.order);var a=[];return r.forEach(function(o){if(n.detectors[o]){var i=n.detectors[o].lookup(n.options);i&&typeof i=="string"&&(i=[i]),i&&(a=a.concat(i))}}),a=a.map(function(o){return n.options.convertDetectedLanguage(o)}),this.services.languageUtils.getBestMatchFromCodes?a:a.length>0?a[0]:null}},{key:"cacheUserLanguage",value:function(r,n){var a=this;n||(n=this.options.caches),n&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(r)>-1||n.forEach(function(o){a.detectors[o]&&a.detectors[o].cacheUserLanguage(r,a.options)}))}}]),e}();I$.type="languageDetector";var O$="en",C6={},_4={};function $$(){return O$}function Tre(e){O$=e}function Pre(e){return C6[e]}function Mre(e){if(!e)throw new Error("No locale data passed");C6[e.locale]=e,_4[e.locale.toLowerCase()]=e.locale}function lP(e){if(C6[e])return e;if(_4[e.toLowerCase()])return _4[e.toLowerCase()]}function z$(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.localeMatcher||"lookup";switch(r){case"lookup":return cP(e);case"best fit":return cP(e);default:throw new RangeError('Invalid "localeMatcher" option: '.concat(r))}}function cP(e){var t=lP(e);if(t)return t;for(var r=e.split("-");e.length>1;){r.pop(),e=r.join("-");var n=lP(e);if(n)return n}}var Ae={af:function(t){return t==1?"one":"other"},am:function(t){return t>=0&&t<=1?"one":"other"},ar:function(t){var r=String(t).split("."),n=Number(r[0])==t,a=n&&r[0].slice(-2);return t==0?"zero":t==1?"one":t==2?"two":a>=3&&a<=10?"few":a>=11&&a<=99?"many":"other"},ast:function(t){var r=String(t).split("."),n=!r[1];return t==1&&n?"one":"other"},be:function(t){var r=String(t).split("."),n=Number(r[0])==t,a=n&&r[0].slice(-1),o=n&&r[0].slice(-2);return a==1&&o!=11?"one":a>=2&&a<=4&&(o<12||o>14)?"few":n&&a==0||a>=5&&a<=9||o>=11&&o<=14?"many":"other"},br:function(t){var r=String(t).split("."),n=Number(r[0])==t,a=n&&r[0].slice(-1),o=n&&r[0].slice(-2),i=n&&r[0].slice(-6);return a==1&&o!=11&&o!=71&&o!=91?"one":a==2&&o!=12&&o!=72&&o!=92?"two":(a==3||a==4||a==9)&&(o<10||o>19)&&(o<70||o>79)&&(o<90||o>99)?"few":t!=0&&n&&i==0?"many":"other"},bs:function(t){var r=String(t).split("."),n=r[0],a=r[1]||"",o=!r[1],i=n.slice(-1),c=n.slice(-2),u=a.slice(-1),f=a.slice(-2);return o&&i==1&&c!=11||u==1&&f!=11?"one":o&&i>=2&&i<=4&&(c<12||c>14)||u>=2&&u<=4&&(f<12||f>14)?"few":"other"},ca:function(t){var r=String(t).split("."),n=r[0],a=!r[1],o=n.slice(-6);return t==1&&a?"one":n!=0&&o==0&&a?"many":"other"},ceb:function(t){var r=String(t).split("."),n=r[0],a=r[1]||"",o=!r[1],i=n.slice(-1),c=a.slice(-1);return o&&(n==1||n==2||n==3)||o&&i!=4&&i!=6&&i!=9||!o&&c!=4&&c!=6&&c!=9?"one":"other"},cs:function(t){var r=String(t).split("."),n=r[0],a=!r[1];return t==1&&a?"one":n>=2&&n<=4&&a?"few":a?"other":"many"},cy:function(t){return t==0?"zero":t==1?"one":t==2?"two":t==3?"few":t==6?"many":"other"},da:function(t){var r=String(t).split("."),n=r[0],a=Number(r[0])==t;return t==1||!a&&(n==0||n==1)?"one":"other"},dsb:function(t){var r=String(t).split("."),n=r[0],a=r[1]||"",o=!r[1],i=n.slice(-2),c=a.slice(-2);return o&&i==1||c==1?"one":o&&i==2||c==2?"two":o&&(i==3||i==4)||c==3||c==4?"few":"other"},dz:function(t){return"other"},es:function(t){var r=String(t).split("."),n=r[0],a=!r[1],o=n.slice(-6);return t==1?"one":n!=0&&o==0&&a?"many":"other"},ff:function(t){return t>=0&&t<2?"one":"other"},fr:function(t){var r=String(t).split("."),n=r[0],a=!r[1],o=n.slice(-6);return t>=0&&t<2?"one":n!=0&&o==0&&a?"many":"other"},ga:function(t){var r=String(t).split("."),n=Number(r[0])==t;return t==1?"one":t==2?"two":n&&t>=3&&t<=6?"few":n&&t>=7&&t<=10?"many":"other"},gd:function(t){var r=String(t).split("."),n=Number(r[0])==t;return t==1||t==11?"one":t==2||t==12?"two":n&&t>=3&&t<=10||n&&t>=13&&t<=19?"few":"other"},he:function(t){var r=String(t).split("."),n=r[0],a=!r[1];return n==1&&a||n==0&&!a?"one":n==2&&a?"two":"other"},is:function(t){var r=String(t).split("."),n=r[0],a=(r[1]||"").replace(/0+$/,""),o=Number(r[0])==t,i=n.slice(-1),c=n.slice(-2);return o&&i==1&&c!=11||a%10==1&&a%100!=11?"one":"other"},ksh:function(t){return t==0?"zero":t==1?"one":"other"},lt:function(t){var r=String(t).split("."),n=r[1]||"",a=Number(r[0])==t,o=a&&r[0].slice(-1),i=a&&r[0].slice(-2);return o==1&&(i<11||i>19)?"one":o>=2&&o<=9&&(i<11||i>19)?"few":n!=0?"many":"other"},lv:function(t){var r=String(t).split("."),n=r[1]||"",a=n.length,o=Number(r[0])==t,i=o&&r[0].slice(-1),c=o&&r[0].slice(-2),u=n.slice(-2),f=n.slice(-1);return o&&i==0||c>=11&&c<=19||a==2&&u>=11&&u<=19?"zero":i==1&&c!=11||a==2&&f==1&&u!=11||a!=2&&f==1?"one":"other"},mk:function(t){var r=String(t).split("."),n=r[0],a=r[1]||"",o=!r[1],i=n.slice(-1),c=n.slice(-2),u=a.slice(-1),f=a.slice(-2);return o&&i==1&&c!=11||u==1&&f!=11?"one":"other"},mt:function(t){var r=String(t).split("."),n=Number(r[0])==t,a=n&&r[0].slice(-2);return t==1?"one":t==2?"two":t==0||a>=3&&a<=10?"few":a>=11&&a<=19?"many":"other"},pa:function(t){return t==0||t==1?"one":"other"},pl:function(t){var r=String(t).split("."),n=r[0],a=!r[1],o=n.slice(-1),i=n.slice(-2);return t==1&&a?"one":a&&o>=2&&o<=4&&(i<12||i>14)?"few":a&&n!=1&&(o==0||o==1)||a&&o>=5&&o<=9||a&&i>=12&&i<=14?"many":"other"},pt:function(t){var r=String(t).split("."),n=r[0],a=!r[1],o=n.slice(-6);return n==0||n==1?"one":n!=0&&o==0&&a?"many":"other"},ro:function(t){var r=String(t).split("."),n=!r[1],a=Number(r[0])==t,o=a&&r[0].slice(-2);return t==1&&n?"one":!n||t==0||t!=1&&o>=1&&o<=19?"few":"other"},ru:function(t){var r=String(t).split("."),n=r[0],a=!r[1],o=n.slice(-1),i=n.slice(-2);return a&&o==1&&i!=11?"one":a&&o>=2&&o<=4&&(i<12||i>14)?"few":a&&o==0||a&&o>=5&&o<=9||a&&i>=11&&i<=14?"many":"other"},se:function(t){return t==1?"one":t==2?"two":"other"},si:function(t){var r=String(t).split("."),n=r[0],a=r[1]||"";return t==0||t==1||n==0&&a==1?"one":"other"},sl:function(t){var r=String(t).split("."),n=r[0],a=!r[1],o=n.slice(-2);return a&&o==1?"one":a&&o==2?"two":a&&(o==3||o==4)||!a?"few":"other"}};Ae.as=Ae.am;Ae.az=Ae.af;Ae.bg=Ae.af;Ae.bn=Ae.am;Ae.brx=Ae.af;Ae.ce=Ae.af;Ae.chr=Ae.af;Ae.de=Ae.ast;Ae.ee=Ae.af;Ae.el=Ae.af;Ae.en=Ae.ast;Ae.et=Ae.ast;Ae.eu=Ae.af;Ae.fa=Ae.am;Ae.fi=Ae.ast;Ae.fil=Ae.ceb;Ae.fo=Ae.af;Ae.fur=Ae.af;Ae.fy=Ae.ast;Ae.gl=Ae.ast;Ae.gu=Ae.am;Ae.ha=Ae.af;Ae.hi=Ae.am;Ae.hr=Ae.bs;Ae.hsb=Ae.dsb;Ae.hu=Ae.af;Ae.hy=Ae.ff;Ae.ia=Ae.ast;Ae.id=Ae.dz;Ae.ig=Ae.dz;Ae.it=Ae.ca;Ae.ja=Ae.dz;Ae.jgo=Ae.af;Ae.jv=Ae.dz;Ae.ka=Ae.af;Ae.kea=Ae.dz;Ae.kk=Ae.af;Ae.kl=Ae.af;Ae.km=Ae.dz;Ae.kn=Ae.am;Ae.ko=Ae.dz;Ae.ks=Ae.af;Ae.ku=Ae.af;Ae.ky=Ae.af;Ae.lb=Ae.af;Ae.lkt=Ae.dz;Ae.lo=Ae.dz;Ae.ml=Ae.af;Ae.mn=Ae.af;Ae.mr=Ae.af;Ae.ms=Ae.dz;Ae.my=Ae.dz;Ae.nb=Ae.af;Ae.ne=Ae.af;Ae.nl=Ae.ast;Ae.nn=Ae.af;Ae.no=Ae.af;Ae.or=Ae.af;Ae.pcm=Ae.am;Ae.ps=Ae.af;Ae.rm=Ae.af;Ae.sah=Ae.dz;Ae.sc=Ae.ast;Ae.sd=Ae.af;Ae.sk=Ae.cs;Ae.so=Ae.af;Ae.sq=Ae.af;Ae.sr=Ae.bs;Ae.su=Ae.dz;Ae.sv=Ae.ast;Ae.sw=Ae.ast;Ae.ta=Ae.af;Ae.te=Ae.af;Ae.th=Ae.dz;Ae.ti=Ae.pa;Ae.tk=Ae.af;Ae.to=Ae.dz;Ae.tr=Ae.af;Ae.ug=Ae.af;Ae.uk=Ae.ru;Ae.ur=Ae.ast;Ae.uz=Ae.af;Ae.vi=Ae.dz;Ae.wae=Ae.af;Ae.wo=Ae.dz;Ae.xh=Ae.af;Ae.yi=Ae.ast;Ae.yo=Ae.dz;Ae.yue=Ae.dz;Ae.zh=Ae.dz;Ae.zu=Ae.am;const uP=Ae;function dP(e){return e==="pt-PT"?e:Are(e)}var Dre=/^([a-z0-9]+)/i;function Are(e){var t=e.match(Dre);if(!t)throw new TypeError("Invalid locale: ".concat(e));return t[1]}function Rre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fP(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Hre(this,e);var n=r.numeric,a=r.style,o=r.localeMatcher;if(this.numeric="always",this.style="long",this.localeMatcher="lookup",n!==void 0){if(Wre.indexOf(n)<0)throw new RangeError('Invalid "numeric" option: '.concat(n));this.numeric=n}if(a!==void 0){if(Vre.indexOf(a)<0)throw new RangeError('Invalid "style" option: '.concat(a));this.style=a}if(o!==void 0){if(qre.indexOf(o)<0)throw new RangeError('Invalid "localeMatcher" option: '.concat(o));this.localeMatcher=o}if(typeof t=="string"&&(t=[t]),t.push($$()),this.locale=e.supportedLocalesOf(t,{localeMatcher:this.localeMatcher})[0],!this.locale)throw new Error("No supported locale was found");T4.supportedLocalesOf(this.locale).length>0?this.pluralRules=new T4(this.locale):console.warn('"'.concat(this.locale,'" locale is not supported')),typeof Intl!="undefined"&&Intl.NumberFormat?(this.numberFormat=new Intl.NumberFormat(this.locale),this.numberingSystem=this.numberFormat.resolvedOptions().numberingSystem):this.numberingSystem="latn",this.locale=z$(this.locale,{localeMatcher:this.localeMatcher})}return Bre(e,[{key:"format",value:function(){var r=xP(arguments),n=mP(r,2),a=n[0],o=n[1];return this.getRule(a,o).replace("{0}",this.formatNumber(Math.abs(a)))}},{key:"formatToParts",value:function(){var r=xP(arguments),n=mP(r,2),a=n[0],o=n[1],i=this.getRule(a,o),c=i.indexOf("{0}");if(c<0)return[{type:"literal",value:i}];var u=[];return c>0&&u.push({type:"literal",value:i.slice(0,c)}),u=u.concat(this.formatNumberToParts(Math.abs(a)).map(function(f){return pP(pP({},f),{},{unit:o})})),c+31&&arguments[1]!==void 0?arguments[1]:{};if(typeof e=="string")e=[e];else if(!Array.isArray(e))throw new TypeError('Invalid "locales" argument');return e.filter(function(r){return z$(r,t)})};Yu.addLocale=Mre;Yu.setDefaultLocale=Tre;Yu.getDefaultLocale=$$;Yu.PluralRules=T4;var H5='Invalid "unit" argument';function Kre(e){if(P4(e)==="symbol")throw new TypeError(H5);if(typeof e!="string")throw new RangeError("".concat(H5,": ").concat(e));if(e[e.length-1]==="s"&&(e=e.slice(0,e.length-1)),Ure.indexOf(e)<0)throw new RangeError("".concat(H5,": ").concat(e));return e}var Gre='Invalid "number" argument';function Yre(e){if(e=Number(e),Number.isFinite&&!Number.isFinite(e))throw new RangeError("".concat(Gre,": ").concat(e));return e}function Zre(e){return 1/e===-1/0}function Xre(e){return e<0||e===0&&Zre(e)}function xP(e){if(e.length<2)throw new TypeError('"unit" argument is required');return[Yre(e[0]),Kre(e[1])]}function l2(e){"@babel/helpers - typeof";return l2=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l2(e)}function Qre(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yP(e,t){for(var r=0;r=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function tne(e,t){if(e){if(typeof e=="string")return wP(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return wP(e,t)}}function wP(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1;)if(o.pop(),a=o.join("-"),t(a))return a}throw new Error("No locale data has been registered for any of the locales: ".concat(e.join(", ")))}function nne(){var e=(typeof Intl=="undefined"?"undefined":M4(Intl))==="object";return e&&typeof Intl.DateTimeFormat=="function"}function D4(e){"@babel/helpers - typeof";return D4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},D4(e)}function sne(e){return one(e)&&(Array.isArray(e.steps)||Array.isArray(e.gradation)||Array.isArray(e.flavour)||typeof e.flavour=="string"||Array.isArray(e.labels)||typeof e.labels=="string"||Array.isArray(e.units)||typeof e.custom=="function")}var ane={}.constructor;function one(e){return D4(e)!==void 0&&e!==null&&e.constructor===ane}var rc=60,c2=60*rc,hf=24*c2,A4=7*hf,R4=30.44*hf,F$=146097/400*hf;function Rp(e){switch(e){case"second":return 1;case"minute":return rc;case"hour":return c2;case"day":return hf;case"week":return A4;case"month":return R4;case"year":return F$}}function H$(e){return e.factor!==void 0?e.factor:Rp(e.unit||e.formatAs)||1}function Ev(e){switch(e){case"floor":return Math.floor;default:return Math.round}}function S6(e){switch(e){case"floor":return 1;default:return .5}}function L4(e){"@babel/helpers - typeof";return L4=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},L4(e)}function B$(e,t){var r=t.prevStep,n=t.timestamp,a=t.now,o=t.future,i=t.round,c;return r&&(r.id||r.unit)&&(c=e["threshold_for_".concat(r.id||r.unit)]),c===void 0&&e.threshold!==void 0&&(c=e.threshold,typeof c=="function"&&(c=c(a,o))),c===void 0&&(c=e.minTime),L4(c)==="object"&&(r&&r.id&&c[r.id]!==void 0?c=c[r.id]:c=c.default),typeof c=="function"&&(c=c(n,{future:o,getMinTimeForUnit:function(f,h){return kP(f,h||r&&r.formatAs,{round:i})}})),c===void 0&&e.test&&(e.test(n,{now:a,future:o})?c=0:c=9007199254740991),c===void 0&&(r?e.formatAs&&r.formatAs&&(c=kP(e.formatAs,r.formatAs,{round:i})):c=0),c===void 0&&console.warn("[javascript-time-ago] A step should specify `minTime`:\n"+JSON.stringify(e,null,2)),c}function kP(e,t,r){var n=r.round,a=Rp(e),o;if(t==="now"?o=Rp(e):o=Rp(t),a!==void 0&&o!==void 0)return a-o*(1-S6(n))}function CP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function ine(e){for(var t=1;t0)return e[i-1]}return c}}}function U$(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=B$(e[n],ine({prevStep:e[n-1],timestamp:r.now-t*1e3},r));return a===void 0||Math.abs(t)=0:!0})}function fne(e,t,r){var n=r.now,a=r.round;if(Rp(e)){var o=Rp(e)*1e3,i=t>n,c=Math.abs(t-n),u=Ev(a)(c/o)*o;return i?u>0?c-u+pne(a,o):c-u+1:-(c-u)+hne(a,o)}}function hne(e,t){return S6(e)*t}function pne(e,t){return(1-S6(e))*t+1}var mne=365*24*60*60*1e3,W$=1e3*mne;function gne(e,t,r){var n=r.prevStep,a=r.nextStep,o=r.now,i=r.future,c=r.round,u=e.getTime?e.getTime():e,f=function(w){return fne(w,u,{now:o,round:c})},h=xne(i?t:a,u,{future:i,now:o,round:c,prevStep:i?n:t});if(h!==void 0){var m;if(t&&(t.getTimeToNextUpdate&&(m=t.getTimeToNextUpdate(u,{getTimeToNextUpdateForUnit:f,getRoundFunction:Ev,now:o,future:i,round:c})),m===void 0)){var v=t.unit||t.formatAs;v&&(m=f(v))}return m===void 0?h:Math.min(m,h)}}function vne(e,t,r){var n=r.now,a=r.future,o=r.round,i=r.prevStep,c=B$(e,{timestamp:t,now:n,future:a,round:o,prevStep:i});if(c!==void 0)return a?t-c*1e3+1:c===0&&t===n?W$:t+c*1e3}function xne(e,t,r){var n=r.now,a=r.future,o=r.round,i=r.prevStep;if(e){var c=vne(e,t,{now:n,future:a,round:o,prevStep:i});return c===void 0?void 0:c-n}else return a?t-n+1:W$}var V$={};function vp(e){return V$[e]}function q$(e){if(!e)throw new Error("[javascript-time-ago] No locale data passed.");V$[e.locale]=e}const yne=[{formatAs:"now"},{formatAs:"second"},{formatAs:"minute"},{formatAs:"hour"},{formatAs:"day"},{formatAs:"week"},{formatAs:"month"},{formatAs:"year"}],I4={steps:yne,labels:"long"};function SP(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function jP(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $ne(e,t){return Hne(e)||Fne(e,t)||Y$(e,t)||zne()}function zne(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Y$(e,t){if(e){if(typeof e=="string")return FP(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return FP(e,t)}}function FP(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.polyfill;Bne(this,e),typeof t=="string"&&(t=[t]),this.locale=rne(t.concat(e.getDefaultLocale()),vp),typeof Intl!="undefined"&&Intl.NumberFormat&&(this.numberFormat=new Intl.NumberFormat(this.locale)),n===!1?(this.IntlRelativeTimeFormat=Intl.RelativeTimeFormat,this.IntlPluralRules=Intl.PluralRules):(this.IntlRelativeTimeFormat=Yu,this.IntlPluralRules=Yu.PluralRules),this.relativeTimeFormatCache=new bP,this.pluralRulesCache=new bP}return Une(e,[{key:"format",value:function(r,n,a){a||(n&&!Gne(n)?(a=n,n=void 0):a={}),n||(n=O4),typeof n=="string"&&(n=Ine(n));var o=Wne(r),i=this.getLabels(n.flavour||n.labels),c=i.labels,u=i.labelsType,f;n.now!==void 0&&(f=n.now),f===void 0&&a.now!==void 0&&(f=a.now),f===void 0&&(f=Date.now());var h=(f-o)/1e3,m=a.future||h<0,v=Kne(c,vp(this.locale).now,vp(this.locale).long,m);if(n.custom){var S=n.custom({now:f,date:new Date(o),time:o,elapsed:h,locale:this.locale});if(S!==void 0)return S}var w=qne(n.units,c,v),g=a.round||n.round,b=cne(n.gradation||n.steps||O4.steps,h,{now:f,units:w,round:g,future:m,getNextStep:!0}),C=$ne(b,3),j=C[0],E=C[1],N=C[2],T=this.formatDateForStep(o,E,h,{labels:c,labelsType:u,nowLabel:v,now:f,future:m,round:g})||"";if(a.getTimeToNextUpdate){var A=gne(o,E,{nextStep:N,prevStep:j,now:f,future:m,round:g});return[T,A]}return T}},{key:"formatDateForStep",value:function(r,n,a,o){var i=this,c=o.labels,u=o.labelsType,f=o.nowLabel,h=o.now,m=o.future,v=o.round;if(n){if(n.format)return n.format(r,this.locale,{formatAs:function(C,j){return i.formatValue(j,C,{labels:c,future:m})},now:h,future:m});var S=n.unit||n.formatAs;if(!S)throw new Error("[javascript-time-ago] Each step must define either `formatAs` or `format()`. Step: ".concat(JSON.stringify(n)));if(S==="now")return f;var w=Math.abs(a)/H$(n);n.granularity&&(w=Ev(v)(w/n.granularity)*n.granularity);var g=-1*Math.sign(a)*Ev(v)(w);switch(g===0&&(m?g=0:g=-0),u){case"long":case"short":case"narrow":return this.getFormatter(u).format(g,S);default:return this.formatValue(g,S,{labels:c,future:m})}}}},{key:"formatValue",value:function(r,n,a){var o=a.labels,i=a.future;return this.getFormattingRule(o,n,r,{future:i}).replace("{0}",this.formatNumber(Math.abs(r)))}},{key:"getFormattingRule",value:function(r,n,a,o){var i=o.future;if(this.locale,r=r[n],typeof r=="string")return r;var c=a===0?i?"future":"past":a<0?"past":"future",u=r[c]||r;if(typeof u=="string")return u;var f=this.getPluralRules().select(Math.abs(a));return u[f]||u.other}},{key:"formatNumber",value:function(r){return this.numberFormat?this.numberFormat.format(r):String(r)}},{key:"getFormatter",value:function(r){return this.relativeTimeFormatCache.get(this.locale,r)||this.relativeTimeFormatCache.put(this.locale,r,new this.IntlRelativeTimeFormat(this.locale,{style:r}))}},{key:"getPluralRules",value:function(){return this.pluralRulesCache.get(this.locale)||this.pluralRulesCache.put(this.locale,new this.IntlPluralRules(this.locale))}},{key:"getLabels",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];typeof r=="string"&&(r=[r]),r=r.map(function(c){switch(c){case"tiny":case"mini-time":return"mini";default:return c}}),r=r.concat("long");for(var n=vp(this.locale),a=One(r),o;!(o=a()).done;){var i=o.value;if(n[i])return{labelsType:i,labels:n[i]}}}}]),e}(),Z$="en";Js.getDefaultLocale=function(){return Z$};Js.setDefaultLocale=function(e){return Z$=e};Js.addDefaultLocale=function(e){if(BP)return console.error("[javascript-time-ago] `TimeAgo.addDefaultLocale()` can only be called once. To add other locales, use `TimeAgo.addLocale()`.");BP=!0,Js.setDefaultLocale(e.locale),Js.addLocale(e)};var BP;Js.addLocale=function(e){q$(e),Yu.addLocale(e)};Js.locale=Js.addLocale;Js.addLabels=function(e,t,r){var n=vp(e);n||(q$({locale:e}),n=vp(e)),n[t]=r};function Wne(e){if(e.constructor===Date||Vne(e))return e.getTime();if(typeof e=="number")return e;throw new Error("Unsupported relative time formatter input: ".concat(u2(e),", ").concat(e))}function Vne(e){return u2(e)==="object"&&typeof e.getTime=="function"}function qne(e,t,r){var n=Object.keys(t);return r&&n.push("now"),e&&(n=e.filter(function(a){return a==="now"||n.indexOf(a)>=0})),n}function Kne(e,t,r,n){var a=e.now||t&&t.now;if(a)return typeof a=="string"?a:n?a.future:a.past;if(r&&r.second&&r.second.current)return r.second.current}function Gne(e){return typeof e=="string"||sne(e)}const Yne={locale:"de",long:{year:{previous:"letztes Jahr",current:"dieses Jahr",next:"nächstes Jahr",past:{one:"vor {0} Jahr",other:"vor {0} Jahren"},future:{one:"in {0} Jahr",other:"in {0} Jahren"}},quarter:{previous:"letztes Quartal",current:"dieses Quartal",next:"nächstes Quartal",past:{one:"vor {0} Quartal",other:"vor {0} Quartalen"},future:{one:"in {0} Quartal",other:"in {0} Quartalen"}},month:{previous:"letzten Monat",current:"diesen Monat",next:"nächsten Monat",past:{one:"vor {0} Monat",other:"vor {0} Monaten"},future:{one:"in {0} Monat",other:"in {0} Monaten"}},week:{previous:"letzte Woche",current:"diese Woche",next:"nächste Woche",past:{one:"vor {0} Woche",other:"vor {0} Wochen"},future:{one:"in {0} Woche",other:"in {0} Wochen"}},day:{previous:"gestern","previous-2":"vorgestern",current:"heute",next:"morgen","next-2":"übermorgen",past:{one:"vor {0} Tag",other:"vor {0} Tagen"},future:{one:"in {0} Tag",other:"in {0} Tagen"}},hour:{current:"in dieser Stunde",past:{one:"vor {0} Stunde",other:"vor {0} Stunden"},future:{one:"in {0} Stunde",other:"in {0} Stunden"}},minute:{current:"in dieser Minute",past:{one:"vor {0} Minute",other:"vor {0} Minuten"},future:{one:"in {0} Minute",other:"in {0} Minuten"}},second:{current:"jetzt",past:{one:"vor {0} Sekunde",other:"vor {0} Sekunden"},future:{one:"in {0} Sekunde",other:"in {0} Sekunden"}}},short:{year:{previous:"letztes Jahr",current:"dieses Jahr",next:"nächstes Jahr",past:{one:"vor {0} Jahr",other:"vor {0} Jahren"},future:{one:"in {0} Jahr",other:"in {0} Jahren"}},quarter:{previous:"letztes Quartal",current:"dieses Quartal",next:"nächstes Quartal",past:"vor {0} Quart.",future:"in {0} Quart."},month:{previous:"letzten Monat",current:"diesen Monat",next:"nächsten Monat",past:{one:"vor {0} Monat",other:"vor {0} Monaten"},future:{one:"in {0} Monat",other:"in {0} Monaten"}},week:{previous:"letzte Woche",current:"diese Woche",next:"nächste Woche",past:{one:"vor {0} Woche",other:"vor {0} Wochen"},future:{one:"in {0} Woche",other:"in {0} Wochen"}},day:{previous:"gestern","previous-2":"vorgestern",current:"heute",next:"morgen","next-2":"übermorgen",past:{one:"vor {0} Tag",other:"vor {0} Tagen"},future:{one:"in {0} Tag",other:"in {0} Tagen"}},hour:{current:"in dieser Stunde",past:"vor {0} Std.",future:"in {0} Std."},minute:{current:"in dieser Minute",past:"vor {0} Min.",future:"in {0} Min."},second:{current:"jetzt",past:"vor {0} Sek.",future:"in {0} Sek."}},narrow:{year:{previous:"letztes Jahr",current:"dieses Jahr",next:"nächstes Jahr",past:{one:"vor {0} Jahr",other:"vor {0} Jahren"},future:{one:"in {0} Jahr",other:"in {0} Jahren"}},quarter:{previous:"letztes Quartal",current:"dieses Quartal",next:"nächstes Quartal",past:"vor {0} Q",future:"in {0} Q"},month:{previous:"letzten Monat",current:"diesen Monat",next:"nächsten Monat",past:{one:"vor {0} Monat",other:"vor {0} Monaten"},future:{one:"in {0} Monat",other:"in {0} Monaten"}},week:{previous:"letzte Woche",current:"diese Woche",next:"nächste Woche",past:"vor {0} Wo.",future:"in {0} Wo."},day:{previous:"gestern","previous-2":"vorgestern",current:"heute",next:"morgen","next-2":"übermorgen",past:{one:"vor {0} Tag",other:"vor {0} Tagen"},future:{one:"in {0} Tag",other:"in {0} Tagen"}},hour:{current:"in dieser Stunde",past:"vor {0} Std.",future:"in {0} Std."},minute:{current:"in dieser Minute",past:"vor {0} m",future:"in {0} m"},second:{current:"jetzt",past:"vor {0} s",future:"in {0} s"}},now:{now:{current:"jetzt",future:"in einem Moment",past:"gerade jetzt"}},mini:{year:"{0} J.",month:"{0} Mt.",week:"{0} Wo.",day:"{0} T.",hour:"{0} Std.",minute:"{0} Min.",second:"{0} s",now:"jetzt"},"long-time":{year:{one:"{0} Jahr",other:"{0} Jahre"},month:{one:"{0} Monat",other:"{0} Monate"},week:{one:"{0} Woche",other:"{0} Wochen"},day:{one:"{0} Tag",other:"{0} Tage"},hour:{one:"{0} Stunde",other:"{0} Stunden"},minute:{one:"{0} Minute",other:"{0} Minuten"},second:{one:"{0} Sekunde",other:"{0} Sekunden"}}},Zne={locale:"en",long:{year:{previous:"last year",current:"this year",next:"next year",past:{one:"{0} year ago",other:"{0} years ago"},future:{one:"in {0} year",other:"in {0} years"}},quarter:{previous:"last quarter",current:"this quarter",next:"next quarter",past:{one:"{0} quarter ago",other:"{0} quarters ago"},future:{one:"in {0} quarter",other:"in {0} quarters"}},month:{previous:"last month",current:"this month",next:"next month",past:{one:"{0} month ago",other:"{0} months ago"},future:{one:"in {0} month",other:"in {0} months"}},week:{previous:"last week",current:"this week",next:"next week",past:{one:"{0} week ago",other:"{0} weeks ago"},future:{one:"in {0} week",other:"in {0} weeks"}},day:{previous:"yesterday",current:"today",next:"tomorrow",past:{one:"{0} day ago",other:"{0} days ago"},future:{one:"in {0} day",other:"in {0} days"}},hour:{current:"this hour",past:{one:"{0} hour ago",other:"{0} hours ago"},future:{one:"in {0} hour",other:"in {0} hours"}},minute:{current:"this minute",past:{one:"{0} minute ago",other:"{0} minutes ago"},future:{one:"in {0} minute",other:"in {0} minutes"}},second:{current:"now",past:{one:"{0} second ago",other:"{0} seconds ago"},future:{one:"in {0} second",other:"in {0} seconds"}}},short:{year:{previous:"last yr.",current:"this yr.",next:"next yr.",past:"{0} yr. ago",future:"in {0} yr."},quarter:{previous:"last qtr.",current:"this qtr.",next:"next qtr.",past:{one:"{0} qtr. ago",other:"{0} qtrs. ago"},future:{one:"in {0} qtr.",other:"in {0} qtrs."}},month:{previous:"last mo.",current:"this mo.",next:"next mo.",past:"{0} mo. ago",future:"in {0} mo."},week:{previous:"last wk.",current:"this wk.",next:"next wk.",past:"{0} wk. ago",future:"in {0} wk."},day:{previous:"yesterday",current:"today",next:"tomorrow",past:{one:"{0} day ago",other:"{0} days ago"},future:{one:"in {0} day",other:"in {0} days"}},hour:{current:"this hour",past:"{0} hr. ago",future:"in {0} hr."},minute:{current:"this minute",past:"{0} min. ago",future:"in {0} min."},second:{current:"now",past:"{0} sec. ago",future:"in {0} sec."}},narrow:{year:{previous:"last yr.",current:"this yr.",next:"next yr.",past:"{0}y ago",future:"in {0}y"},quarter:{previous:"last qtr.",current:"this qtr.",next:"next qtr.",past:"{0}q ago",future:"in {0}q"},month:{previous:"last mo.",current:"this mo.",next:"next mo.",past:"{0}mo ago",future:"in {0}mo"},week:{previous:"last wk.",current:"this wk.",next:"next wk.",past:"{0}w ago",future:"in {0}w"},day:{previous:"yesterday",current:"today",next:"tomorrow",past:"{0}d ago",future:"in {0}d"},hour:{current:"this hour",past:"{0}h ago",future:"in {0}h"},minute:{current:"this minute",past:"{0}m ago",future:"in {0}m"},second:{current:"now",past:"{0}s ago",future:"in {0}s"}},now:{now:{current:"now",future:"in a moment",past:"just now"}},mini:{year:"{0}yr",month:"{0}mo",week:"{0}wk",day:"{0}d",hour:"{0}h",minute:"{0}m",second:"{0}s",now:"now"},"short-time":{year:"{0} yr.",month:"{0} mo.",week:"{0} wk.",day:{one:"{0} day",other:"{0} days"},hour:"{0} hr.",minute:"{0} min.",second:"{0} sec."},"long-time":{year:{one:"{0} year",other:"{0} years"},month:{one:"{0} month",other:"{0} months"},week:{one:"{0} week",other:"{0} weeks"},day:{one:"{0} day",other:"{0} days"},hour:{one:"{0} hour",other:"{0} hours"},minute:{one:"{0} minute",other:"{0} minutes"},second:{one:"{0} second",other:"{0} seconds"}}},Xne={locale:"es",long:{year:{previous:"el año pasado",current:"este año",next:"el próximo año",past:{one:"hace {0} año",other:"hace {0} años"},future:{one:"dentro de {0} año",other:"dentro de {0} años"}},quarter:{previous:"el trimestre pasado",current:"este trimestre",next:"el próximo trimestre",past:{one:"hace {0} trimestre",other:"hace {0} trimestres"},future:{one:"dentro de {0} trimestre",other:"dentro de {0} trimestres"}},month:{previous:"el mes pasado",current:"este mes",next:"el próximo mes",past:{one:"hace {0} mes",other:"hace {0} meses"},future:{one:"dentro de {0} mes",other:"dentro de {0} meses"}},week:{previous:"la semana pasada",current:"esta semana",next:"la próxima semana",past:{one:"hace {0} semana",other:"hace {0} semanas"},future:{one:"dentro de {0} semana",other:"dentro de {0} semanas"}},day:{previous:"ayer","previous-2":"anteayer",current:"hoy",next:"mañana","next-2":"pasado mañana",past:{one:"hace {0} día",other:"hace {0} días"},future:{one:"dentro de {0} día",other:"dentro de {0} días"}},hour:{current:"esta hora",past:{one:"hace {0} hora",other:"hace {0} horas"},future:{one:"dentro de {0} hora",other:"dentro de {0} horas"}},minute:{current:"este minuto",past:{one:"hace {0} minuto",other:"hace {0} minutos"},future:{one:"dentro de {0} minuto",other:"dentro de {0} minutos"}},second:{current:"ahora",past:{one:"hace {0} segundo",other:"hace {0} segundos"},future:{one:"dentro de {0} segundo",other:"dentro de {0} segundos"}}},short:{year:{previous:"el año pasado",current:"este año",next:"el próximo año",past:"hace {0} a",future:"dentro de {0} a"},quarter:{previous:"el trimestre pasado",current:"este trimestre",next:"el próximo trimestre",past:"hace {0} trim.",future:"dentro de {0} trim."},month:{previous:"el mes pasado",current:"este mes",next:"el próximo mes",past:"hace {0} m",future:"dentro de {0} m"},week:{previous:"sem. ant.",current:"esta sem.",next:"próx. sem.",past:"hace {0} sem.",future:"dentro de {0} sem."},day:{previous:"ayer","previous-2":"anteayer",current:"hoy",next:"mañana","next-2":"pasado mañana",past:"hace {0} d",future:"dentro de {0} d"},hour:{current:"esta hora",past:"hace {0} h",future:"dentro de {0} h"},minute:{current:"este minuto",past:"hace {0} min",future:"dentro de {0} min"},second:{current:"ahora",past:"hace {0} s",future:"dentro de {0} s"}},narrow:{year:{previous:"el año pasado",current:"este año",next:"el próximo año",past:"hace {0} a",future:"dentro de {0} a"},quarter:{previous:"el trimestre pasado",current:"este trimestre",next:"el próximo trimestre",past:"hace {0} trim.",future:"dentro de {0} trim."},month:{previous:"el mes pasado",current:"este mes",next:"el próximo mes",past:"hace {0} m",future:"dentro de {0} m"},week:{previous:"sem. ant.",current:"esta sem.",next:"próx. sem.",past:"hace {0} sem.",future:"dentro de {0} sem."},day:{previous:"ayer","previous-2":"anteayer",current:"hoy",next:"mañana","next-2":"pasado mañana",past:"hace {0} d",future:"dentro de {0} d"},hour:{current:"esta hora",past:"hace {0} h",future:"dentro de {0} h"},minute:{current:"este minuto",past:"hace {0} min",future:"dentro de {0} min"},second:{current:"ahora",past:"hace {0} s",future:"dentro de {0} s"}},now:{now:{current:"ahora",future:"enseguida",past:"ahora mismo"}},mini:{year:{one:"{0} año",other:"{0} años"},month:{one:"{0} mes",other:"{0} meses"},week:"{0} sem.",day:{one:"{0} día",other:"{0} días"},hour:{one:"{0} hora",other:"{0} horas"},minute:"{0} min.",second:"{0} seg.",now:"ahora"},"long-time":{year:{one:"{0} año",other:"{0} años"},month:{one:"{0} mes",other:"{0} meses"},week:{one:"{0} semana",other:"{0} semanas"},day:{one:"{0} día",other:"{0} días"},hour:{one:"{0} hora",other:"{0} horas"},minute:{one:"{0} minuto",other:"{0} minutos"},second:{one:"{0} segundo",other:"{0} segundos"}}},Qne={locale:"fr",long:{year:{previous:"l’année dernière",current:"cette année",next:"l’année prochaine",past:{one:"il y a {0} an",other:"il y a {0} ans"},future:{one:"dans {0} an",other:"dans {0} ans"}},quarter:{previous:"le trimestre dernier",current:"ce trimestre",next:"le trimestre prochain",past:{one:"il y a {0} trimestre",other:"il y a {0} trimestres"},future:{one:"dans {0} trimestre",other:"dans {0} trimestres"}},month:{previous:"le mois dernier",current:"ce mois-ci",next:"le mois prochain",past:"il y a {0} mois",future:"dans {0} mois"},week:{previous:"la semaine dernière",current:"cette semaine",next:"la semaine prochaine",past:{one:"il y a {0} semaine",other:"il y a {0} semaines"},future:{one:"dans {0} semaine",other:"dans {0} semaines"}},day:{previous:"hier","previous-2":"avant-hier",current:"aujourd’hui",next:"demain","next-2":"après-demain",past:{one:"il y a {0} jour",other:"il y a {0} jours"},future:{one:"dans {0} jour",other:"dans {0} jours"}},hour:{current:"cette heure-ci",past:{one:"il y a {0} heure",other:"il y a {0} heures"},future:{one:"dans {0} heure",other:"dans {0} heures"}},minute:{current:"cette minute-ci",past:{one:"il y a {0} minute",other:"il y a {0} minutes"},future:{one:"dans {0} minute",other:"dans {0} minutes"}},second:{current:"maintenant",past:{one:"il y a {0} seconde",other:"il y a {0} secondes"},future:{one:"dans {0} seconde",other:"dans {0} secondes"}}},short:{year:{previous:"l’année dernière",current:"cette année",next:"l’année prochaine",past:"il y a {0} a",future:"dans {0} a"},quarter:{previous:"le trimestre dernier",current:"ce trimestre",next:"le trimestre prochain",past:"il y a {0} trim.",future:"dans {0} trim."},month:{previous:"le mois dernier",current:"ce mois-ci",next:"le mois prochain",past:"il y a {0} m.",future:"dans {0} m."},week:{previous:"la semaine dernière",current:"cette semaine",next:"la semaine prochaine",past:"il y a {0} sem.",future:"dans {0} sem."},day:{previous:"hier","previous-2":"avant-hier",current:"aujourd’hui",next:"demain","next-2":"après-demain",past:"il y a {0} j",future:"dans {0} j"},hour:{current:"cette heure-ci",past:"il y a {0} h",future:"dans {0} h"},minute:{current:"cette minute-ci",past:"il y a {0} min",future:"dans {0} min"},second:{current:"maintenant",past:"il y a {0} s",future:"dans {0} s"}},narrow:{year:{previous:"l’année dernière",current:"cette année",next:"l’année prochaine",past:"-{0} a",future:"+{0} a"},quarter:{previous:"le trimestre dernier",current:"ce trimestre",next:"le trimestre prochain",past:"-{0} trim.",future:"+{0} trim."},month:{previous:"le mois dernier",current:"ce mois-ci",next:"le mois prochain",past:"-{0} m.",future:"+{0} m."},week:{previous:"la semaine dernière",current:"cette semaine",next:"la semaine prochaine",past:"-{0} sem.",future:"+{0} sem."},day:{previous:"hier","previous-2":"avant-hier",current:"aujourd’hui",next:"demain","next-2":"après-demain",past:"-{0} j",future:"+{0} j"},hour:{current:"cette heure-ci",past:"-{0} h",future:"+{0} h"},minute:{current:"cette minute-ci",past:"-{0} min",future:"+{0} min"},second:{current:"maintenant",past:"-{0} s",future:"+{0} s"}},now:{now:{current:"maintenant",future:"dans un instant",past:"à l'instant"}},mini:{year:{one:"{0} an",other:"{0} ans"},month:"{0} mois",week:"{0} sem.",day:{one:"{0} jour",other:"{0} jours"},hour:"{0} h",minute:"{0} min.",second:"{0} sec.",now:"maintenant"},"long-time":{year:{one:"{0} an",other:"{0} ans"},month:{one:"{0} mois",other:"{0} mois"},week:{one:"{0} semaine",other:"{0} semaines"},day:{one:"{0} jour",other:"{0} jours"},hour:{one:"{0} heure",other:"{0} heures"},minute:{one:"{0} minute",other:"{0} minutes"},second:{one:"{0} seconde",other:"{0} secondes"}}},Jne={locale:"ru",long:{year:{previous:"в прошлом году",current:"в этом году",next:"в следующем году",past:{one:"{0} год назад",many:"{0} лет назад",other:"{0} года назад"},future:{one:"через {0} год",many:"через {0} лет",other:"через {0} года"}},quarter:{previous:"в прошлом квартале",current:"в текущем квартале",next:"в следующем квартале",past:{one:"{0} квартал назад",many:"{0} кварталов назад",other:"{0} квартала назад"},future:{one:"через {0} квартал",many:"через {0} кварталов",other:"через {0} квартала"}},month:{previous:"в прошлом месяце",current:"в этом месяце",next:"в следующем месяце",past:{one:"{0} месяц назад",many:"{0} месяцев назад",other:"{0} месяца назад"},future:{one:"через {0} месяц",many:"через {0} месяцев",other:"через {0} месяца"}},week:{previous:"на прошлой неделе",current:"на этой неделе",next:"на следующей неделе",past:{one:"{0} неделю назад",many:"{0} недель назад",other:"{0} недели назад"},future:{one:"через {0} неделю",many:"через {0} недель",other:"через {0} недели"}},day:{previous:"вчера","previous-2":"позавчера",current:"сегодня",next:"завтра","next-2":"послезавтра",past:{one:"{0} день назад",many:"{0} дней назад",other:"{0} дня назад"},future:{one:"через {0} день",many:"через {0} дней",other:"через {0} дня"}},hour:{current:"в этот час",past:{one:"{0} час назад",many:"{0} часов назад",other:"{0} часа назад"},future:{one:"через {0} час",many:"через {0} часов",other:"через {0} часа"}},minute:{current:"в эту минуту",past:{one:"{0} минуту назад",many:"{0} минут назад",other:"{0} минуты назад"},future:{one:"через {0} минуту",many:"через {0} минут",other:"через {0} минуты"}},second:{current:"сейчас",past:{one:"{0} секунду назад",many:"{0} секунд назад",other:"{0} секунды назад"},future:{one:"через {0} секунду",many:"через {0} секунд",other:"через {0} секунды"}}},short:{year:{previous:"в прошлом г.",current:"в этом г.",next:"в след. г.",past:{many:"{0} л. назад",other:"{0} г. назад"},future:{many:"через {0} л.",other:"через {0} г."}},quarter:{previous:"последний кв.",current:"текущий кв.",next:"следующий кв.",past:"{0} кв. назад",future:"через {0} кв."},month:{previous:"в прошлом мес.",current:"в этом мес.",next:"в следующем мес.",past:"{0} мес. назад",future:"через {0} мес."},week:{previous:"на прошлой нед.",current:"на этой нед.",next:"на следующей нед.",past:"{0} нед. назад",future:"через {0} нед."},day:{previous:"вчера","previous-2":"позавчера",current:"сегодня",next:"завтра","next-2":"послезавтра",past:"{0} дн. назад",future:"через {0} дн."},hour:{current:"в этот час",past:"{0} ч назад",future:"через {0} ч"},minute:{current:"в эту минуту",past:"{0} мин. назад",future:"через {0} мин."},second:{current:"сейчас",past:"{0} сек. назад",future:"через {0} сек."}},narrow:{year:{previous:"в пр. г.",current:"в эт. г.",next:"в сл. г.",past:{many:"-{0} л.",other:"-{0} г."},future:{many:"+{0} л.",other:"+{0} г."}},quarter:{previous:"посл. кв.",current:"тек. кв.",next:"след. кв.",past:"-{0} кв.",future:"+{0} кв."},month:{previous:"в пр. мес.",current:"в эт. мес.",next:"в след. мес.",past:"-{0} мес.",future:"+{0} мес."},week:{previous:"на пр. нед.",current:"на эт. нед.",next:"на след. нед.",past:"-{0} нед.",future:"+{0} нед."},day:{previous:"вчера","previous-2":"позавчера",current:"сегодня",next:"завтра","next-2":"послезавтра",past:"-{0} дн.",future:"+{0} дн."},hour:{current:"в этот час",past:"-{0} ч",future:"+{0} ч"},minute:{current:"в эту минуту",past:"-{0} мин",future:"+{0} мин"},second:{current:"сейчас",past:"-{0} с",future:"+{0} с"}},now:{now:{current:"сейчас",past:"только что",future:"сейчас"}},mini:{year:{many:"{0} л",other:"{0} г"},month:"{0} мес",week:"{0} нед",day:"{0} д",hour:"{0} ч",minute:"{0} мин",second:"{0} с",now:"сейчас"},"short-time":{year:{many:"{0} л.",other:"{0} г."},month:"{0} мес.",week:"{0} нед.",day:{one:"{0} д.",other:"{0} дн."},hour:"{0} ч.",minute:"{0} мин.",second:"{0} сек."},"long-time":{year:{one:"{0} год",many:"{0} лет",other:"{0} года"},month:{one:"{0} месяц",many:"{0} месяцев",other:"{0} месяца"},week:{one:"{0} неделю",many:"{0} недель",other:"{0} недели"},day:{one:"{0} день",few:"{0} дня",other:"{0} дней"},hour:{one:"{0} час",many:"{0} часов",other:"{0} часа"},minute:{one:"{0} минута",many:"{0} минут",other:"{0} минуты"},second:{one:"{0} секунда",many:"{0} секунд",other:"{0} секунды"}}},ese={locale:"uk",long:{year:{previous:"минулого року",current:"цього року",next:"наступного року",past:{one:"{0} рік тому",few:"{0} роки тому",many:"{0} років тому",other:"{0} року тому"},future:{one:"через {0} рік",few:"через {0} роки",many:"через {0} років",other:"через {0} року"}},quarter:{previous:"минулого кварталу",current:"цього кварталу",next:"наступного кварталу",past:{one:"{0} квартал тому",few:"{0} квартали тому",many:"{0} кварталів тому",other:"{0} кварталу тому"},future:{one:"через {0} квартал",few:"через {0} квартали",many:"через {0} кварталів",other:"через {0} кварталу"}},month:{previous:"минулого місяця",current:"цього місяця",next:"наступного місяця",past:{one:"{0} місяць тому",few:"{0} місяці тому",many:"{0} місяців тому",other:"{0} місяця тому"},future:{one:"через {0} місяць",few:"через {0} місяці",many:"через {0} місяців",other:"через {0} місяця"}},week:{previous:"минулого тижня",current:"цього тижня",next:"наступного тижня",past:{one:"{0} тиждень тому",few:"{0} тижні тому",many:"{0} тижнів тому",other:"{0} тижня тому"},future:{one:"через {0} тиждень",few:"через {0} тижні",many:"через {0} тижнів",other:"через {0} тижня"}},day:{previous:"учора","previous-2":"позавчора",current:"сьогодні",next:"завтра","next-2":"післязавтра",past:{one:"{0} день тому",few:"{0} дні тому",many:"{0} днів тому",other:"{0} дня тому"},future:{one:"через {0} день",few:"через {0} дні",many:"через {0} днів",other:"через {0} дня"}},hour:{current:"цієї години",past:{one:"{0} годину тому",many:"{0} годин тому",other:"{0} години тому"},future:{one:"через {0} годину",many:"через {0} годин",other:"через {0} години"}},minute:{current:"цієї хвилини",past:{one:"{0} хвилину тому",many:"{0} хвилин тому",other:"{0} хвилини тому"},future:{one:"через {0} хвилину",many:"через {0} хвилин",other:"через {0} хвилини"}},second:{current:"зараз",past:{one:"{0} секунду тому",many:"{0} секунд тому",other:"{0} секунди тому"},future:{one:"через {0} секунду",many:"через {0} секунд",other:"через {0} секунди"}}},short:{year:{previous:"торік",current:"цьогоріч",next:"наст. року",past:"{0} р. тому",future:"через {0} р."},quarter:{previous:"минулого кв.",current:"цього кв.",next:"наступного кв.",past:"{0} кв. тому",future:"через {0} кв."},month:{previous:"минулого місяця",current:"цього місяця",next:"наступного місяця",past:"{0} міс. тому",future:"через {0} міс."},week:{previous:"мин. тижня",current:"цього тижня",next:"наст. тижня",past:"{0} тиж. тому",future:"через {0} тиж."},day:{previous:"учора","previous-2":"позавчора",current:"сьогодні",next:"завтра","next-2":"післязавтра",past:"{0} дн. тому",future:"через {0} дн."},hour:{current:"цієї години",past:"{0} год тому",future:"через {0} год"},minute:{current:"цієї хвилини",past:"{0} хв тому",future:"через {0} хв"},second:{current:"зараз",past:"{0} с тому",future:"через {0} с"}},narrow:{year:{previous:"торік",current:"цього року",next:"наст. р.",past:"{0} р. тому",future:"за {0} р."},quarter:{previous:"минулого кв.",current:"цього кв.",next:"наступного кв.",past:"{0} кв. тому",future:"за {0} кв."},month:{previous:"мин. міс.",current:"цього міс.",next:"наст. міс.",past:"{0} міс. тому",future:"за {0} міс."},week:{previous:"минулого тижня",current:"цього тижня",next:"наступного тижня",past:"{0} тиж. тому",future:"за {0} тиж."},day:{previous:"учора","previous-2":"позавчора",current:"сьогодні",next:"завтра","next-2":"післязавтра",past:"{0} дн. тому",future:"за {0} д."},hour:{current:"цієї години",past:"{0} год тому",future:"за {0} год"},minute:{current:"цієї хвилини",past:"{0} хв тому",future:"за {0} хв"},second:{current:"зараз",past:"{0} с тому",future:"за {0} с"}}};var tse={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0};const rse=rl(tse);var nse=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function UP(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},r=e.match(/<\/?([^\s]+?)[/\s>]/);if(r&&(t.name=r[1],(rse[r[1]]||e.charAt(e.length-2)==="/")&&(t.voidElement=!0),t.name.startsWith("!--"))){var n=e.indexOf("-->");return{type:"comment",comment:n!==-1?e.slice(4,n):""}}for(var a=new RegExp(nse),o=null;(o=a.exec(e))!==null;)if(o[0].trim())if(o[1]){var i=o[1].trim(),c=[i,""];i.indexOf("=")>-1&&(c=i.split("=")),t.attrs[c[0]]=c[1],a.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var sse=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,ase=/^\s*$/,ose=Object.create(null);function X$(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(r){var n=[];for(var a in r)n.push(a+'="'+r[a]+'"');return n.length?" "+n.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(X$,"")+"";case"comment":return e+""}}var ise={parse:function(e,t){t||(t={}),t.components||(t.components=ose);var r,n=[],a=[],o=-1,i=!1;if(e.indexOf("<")!==0){var c=e.indexOf("<");n.push({type:"text",content:c===-1?e:e.substring(0,c)})}return e.replace(sse,function(u,f){if(i){if(u!=="")return;i=!1}var h,m=u.charAt(1)!=="/",v=u.startsWith("");return{type:"comment",comment:n!==-1?e.slice(4,n):""}}for(var a=new RegExp(ase),o=null;(o=a.exec(e))!==null;)if(o[0].trim())if(o[1]){var i=o[1].trim(),c=[i,""];i.indexOf("=")>-1&&(c=i.split("=")),t.attrs[c[0]]=c[1],a.lastIndex--}else o[2]&&(t.attrs[o[2]]=o[3].trim().substring(1,o[3].length-1));return t}var ose=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,ise=/^\s*$/,lse=Object.create(null);function Q$(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(r){var n=[];for(var a in r)n.push(a+'="'+r[a]+'"');return n.length?" "+n.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(Q$,"")+"";case"comment":return e+""}}var cse={parse:function(e,t){t||(t={}),t.components||(t.components=lse);var r,n=[],a=[],o=-1,i=!1;if(e.indexOf("<")!==0){var c=e.indexOf("<");n.push({type:"text",content:c===-1?e:e.substring(0,c)})}return e.replace(ose,function(u,f){if(i){if(u!=="")return;i=!1}var h,m=u.charAt(1)!=="/",v=u.startsWith(""),typeof ut!="string"&&!qr(ut))if(typeof ut.toString=="function"){if(ut=ut.toString(),typeof ut!="string")throw X0("dirty is not a string, aborting")}else throw X0("toString is not a function");if(!t.isSupported)return ut;if(Pe||rt(ge),t.removed=[],typeof ut=="string"&&(xt=!1),xt){if(ut.nodeName){const Jt=Se(ut.nodeName);if(!B[Jt]||re[Jt])throw X0("root node is forbidden and cannot be sanitized in-place")}}else if(ut instanceof c)Qe=Pr(""),Xe=Qe.ownerDocument.importNode(ut,!0),Xe.nodeType===Ed.element&&Xe.nodeName==="BODY"||Xe.nodeName==="HTML"?Qe=Xe:Qe.appendChild(Xe);else{if(!Oe&&!ue&&!Ce&&ut.indexOf("<")===-1)return E&&ct?E.createHTML(ut):ut;if(Qe=Pr(ut),!Qe)return Oe?null:ct?N:""}Qe&&Ee&&Rt(Qe.firstChild);const Dt=Nr(xt?ut:Qe);for(;st=Dt.nextNode();){if(xr(st))continue;const Jt=j(st);st.nodeType===Ed.element&&(Jt&&Jt.__depth?st.__depth=(st.__removalCount||0)+Jt.__depth+1:st.__depth=1),(st.__depth>=we||st.__depth<0||ND(st.__depth))&&Rt(st),st.content instanceof o&&(st.content.__depth=st.__depth,ar(st.content)),Kr(st)}if(xt)return ut;if(Oe){if(Ve)for(Ht=M.call(Qe.ownerDocument);Qe.firstChild;)Ht.appendChild(Qe.firstChild);else Ht=Qe;return(G.shadowroot||G.shadowrootmode)&&(Ht=L.call(n,Ht,!0)),Ht}let Ut=Ce?Qe.outerHTML:Qe.innerHTML;return Ce&&B["!doctype"]&&Qe.ownerDocument&&Qe.ownerDocument.doctype&&Qe.ownerDocument.doctype.name&&_a(jU,Qe.ownerDocument.doctype.name)&&(Ut="\n"+Ut),ue&&wy([H,V,I],Jt=>{Ut=Z0(Ut,Jt," ")}),E&&ct?E.createHTML(Ut):Ut},t.setConfig=function(){let ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};rt(ut),Pe=!0},t.clearConfig=function(){je=null,Pe=!1},t.isValidAttribute=function(ut,ge,Qe){je||rt({});const Xe=Se(ut),st=Se(ge);return dr(Xe,st,Qe)},t.addHook=function(ut,ge){typeof ge=="function"&&(z[ut]=z[ut]||[],Y0(z[ut],ge))},t.removeHook=function(ut){if(z[ut])return jD(z[ut])},t.removeHooks=function(ut){z[ut]&&(z[ut]=[])},t.removeAllHooks=function(){z={}},t}var Of=EU();Of.addHook("afterSanitizeAttributes",function(e){"target"in e&&(e.setAttribute("target","_blank"),e.setAttribute("rel","noopener"))});const z2=E=>{var N=E,{children:e,text:t,open:r,isDisabled:n,isDark:a,defaultOpen:o,onOpenChange:i,delayDuration:c,noPortal:u=!1,align:f="center",alignOffset:h=0,sideOffset:m=4,maxHeight:v=120,maxWidth:S=220,className:w,classNameTrigger:g,side:b,onClick:C}=N,j=ke(N,["children","text","open","isDisabled","isDark","defaultOpen","onOpenChange","delayDuration","noPortal","align","alignOffset","sideOffset","maxHeight","maxWidth","className","classNameTrigger","side","onClick"]);const T=u?p.Fragment:pU,A=We("");return p.useEffect(()=>{window.markdown.ready.then(M=>{try{const D=M.parse(t);A.value=Of.sanitize(D,{USE_PROFILES:{html:!0}})}catch(D){A.value=Of.sanitize(t,{USE_PROFILES:{html:!0}})}})},[t]),n?s.jsx("span",{className:g,children:e}):s.jsx(e_,{delayDuration:c,children:s.jsxs(t_,{open:r,defaultOpen:o,onOpenChange:i,delayDuration:c,children:[s.jsx(r_,{onClick:C,asChild:!0,children:s.jsx("span",{className:g,children:e})}),s.jsx(T,{children:s.jsx(jk,ee(R({side:b!=null?b:"top",sideOffset:m,alignOffset:h,align:f,className:hr("z-50 overflow-hidden rounded-md border bg-popover px-2.5 py-1.5 text-[13px] text-popover-foreground shadow-sm animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",w)},j),{style:ee(R({},j.style),{maxWidth:S}),children:s.jsx("div",{className:"max-w-[".concat(S,"px]"),children:s.jsx(Lf,{options:{scrollbars:{theme:a?"os-theme-light":"os-theme-dark",autoHide:"move"}},style:{maxHeight:v,maxWidth:"100%"},children:s.jsx("div",{dangerouslySetInnerHTML:{__html:A.value},className:"note-content"})})})}))})]})})},mo=(e,t)=>{const[r,n]=p.useState(e);return p.useEffect(()=>{const a=setTimeout(()=>{n(e)},t);return()=>{clearTimeout(a)}},[e,t]),r};function Uxe(){return function(e){let t;function r(){t=setTimeout(()=>{e()},1e3)}function n(){t&&clearTimeout(t)}return{onMouseDown:r,onTouchStart:r,onMouseUp:n,onMouseLeave:n,onTouchMove:n,onTouchEnd:n}}}function km(e){var t,r;return s.jsxs("svg",{viewBox:"0 0 24 24",width:(t=e.width)!=null?t:"14px",height:(r=e.height)!=null?r:"14px",fill:"none",stroke:"currentColor",strokeWidth:"1",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("path",{d:"M 3 8.992 L 19.686 8.988"}),s.jsx("polyline",{points:"16 16.992000579833984"}),s.jsx("line",{x1:"3",x2:"13.406",y1:"14.992",y2:"14.992"})]})}function Cm(e){var t,r;return s.jsxs("svg",{viewBox:"0 0 24 24",width:(t=e.width)!=null?t:"14px",height:(r=e.height)!=null?r:"14px",fill:"none",stroke:"currentColor",strokeWidth:"1",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("path",{d:"M 3 8.992 L 18 8.992 C 20.309 8.992 21.753 11.492 20.598 13.492 C 20.062 14.42 19.072 14.992 18 14.992 L 14 14.992"}),s.jsx("polyline",{points:"16 12.992 14 14.992 16 16.992"}),s.jsx("line",{x1:"3",x2:"10",y1:"14.992",y2:"14.992"})]})}const Gg="/assets/image-not-found-Cx6NJXh5.png",xf="/assets/no-image-CF2LzJv7.png";function Wa(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function Wxe(e){return Wa(1,arguments),e instanceof Date||Tf(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function Il(e){Wa(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Tf(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Vxe(e){if(Wa(1,arguments),!Wxe(e)&&typeof e!="number")return!1;var t=Il(e);return!isNaN(Number(t))}function $f(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function qxe(e,t){Wa(2,arguments);var r=Il(e).getTime(),n=$f(t);return new Date(r+n)}function Kxe(e,t){Wa(2,arguments);var r=$f(t);return qxe(e,-r)}var Gxe=864e5;function Yxe(e){Wa(1,arguments);var t=Il(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),a=r-n;return Math.floor(a/Gxe)+1}function F2(e){Wa(1,arguments);var t=1,r=Il(e),n=r.getUTCDay(),a=(n=a.getTime()?r+1:t.getTime()>=i.getTime()?r:r-1}function Zxe(e){Wa(1,arguments);var t=NU(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=F2(r);return n}var Xxe=6048e5;function Qxe(e){Wa(1,arguments);var t=Il(e),r=F2(t).getTime()-Zxe(t).getTime();return Math.round(r/Xxe)+1}var Jxe={};function Pk(){return Jxe}function H2(e,t){var r,n,a,o,i,c,u,f;Wa(1,arguments);var h=Pk(),m=$f((r=(n=(a=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(i=t.locale)===null||i===void 0||(c=i.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&a!==void 0?a:h.weekStartsOn)!==null&&n!==void 0?n:(u=h.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&r!==void 0?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=Il(e),S=v.getUTCDay(),w=(S=1&&S<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var w=new Date(0);w.setUTCFullYear(m+1,0,S),w.setUTCHours(0,0,0,0);var g=H2(w,t),b=new Date(0);b.setUTCFullYear(m,0,S),b.setUTCHours(0,0,0,0);var C=H2(b,t);return h.getTime()>=g.getTime()?m+1:h.getTime()>=C.getTime()?m:m-1}function eye(e,t){var r,n,a,o,i,c,u,f;Wa(1,arguments);var h=Pk(),m=$f((r=(n=(a=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(i=t.locale)===null||i===void 0||(c=i.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&a!==void 0?a:h.firstWeekContainsDate)!==null&&n!==void 0?n:(u=h.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&r!==void 0?r:1),v=_U(e,t),S=new Date(0);S.setUTCFullYear(v,0,m),S.setUTCHours(0,0,0,0);var w=H2(S,t);return w}var tye=6048e5;function rye(e,t){Wa(1,arguments);var r=Il(e),n=H2(r,t).getTime()-eye(r,t).getTime();return Math.round(n/tye)+1}function ln(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length0?n:1-n;return ln(r==="yy"?a%100:a,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):ln(n+1,2)},d:function(t,r){return ln(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return ln(t.getUTCHours()%12||12,r.length)},H:function(t,r){return ln(t.getUTCHours(),r.length)},m:function(t,r){return ln(t.getUTCMinutes(),r.length)},s:function(t,r){return ln(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,a=t.getUTCMilliseconds(),o=Math.floor(a*Math.pow(10,n-3));return ln(o,r.length)}};const Qc=nye;var zh={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},sye={G:function(t,r,n){var a=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var a=t.getUTCFullYear(),o=a>0?a:1-a;return n.ordinalNumber(o,{unit:"year"})}return Qc.y(t,r)},Y:function(t,r,n,a){var o=_U(t,a),i=o>0?o:1-o;if(r==="YY"){var c=i%100;return ln(c,2)}return r==="Yo"?n.ordinalNumber(i,{unit:"year"}):ln(i,r.length)},R:function(t,r){var n=NU(t);return ln(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return ln(n,r.length)},Q:function(t,r,n){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(a);case"QQ":return ln(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,r,n){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(a);case"qq":return ln(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,r,n){var a=t.getUTCMonth();switch(r){case"M":case"MM":return Qc.M(t,r);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(t,r,n){var a=t.getUTCMonth();switch(r){case"L":return String(a+1);case"LL":return ln(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(t,r,n,a){var o=rye(t,a);return r==="wo"?n.ordinalNumber(o,{unit:"week"}):ln(o,r.length)},I:function(t,r,n){var a=Qxe(t);return r==="Io"?n.ordinalNumber(a,{unit:"week"}):ln(a,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):Qc.d(t,r)},D:function(t,r,n){var a=Yxe(t);return r==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):ln(a,r.length)},E:function(t,r,n){var a=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});case"EEEE":default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(t,r,n,a){var o=t.getUTCDay(),i=(o-a.weekStartsOn+8)%7||7;switch(r){case"e":return String(i);case"ee":return ln(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,r,n,a){var o=t.getUTCDay(),i=(o-a.weekStartsOn+8)%7||7;switch(r){case"c":return String(i);case"cc":return ln(i,r.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,r,n){var a=t.getUTCDay(),o=a===0?7:a;switch(r){case"i":return String(o);case"ii":return ln(o,r.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(t,r,n){var a=t.getUTCHours(),o=a/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,r,n){var a=t.getUTCHours(),o;switch(a===12?o=zh.noon:a===0?o=zh.midnight:o=a/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,r,n){var a=t.getUTCHours(),o;switch(a>=17?o=zh.evening:a>=12?o=zh.afternoon:a>=4?o=zh.morning:o=zh.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var a=t.getUTCHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return Qc.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Qc.H(t,r)},K:function(t,r,n){var a=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(a,{unit:"hour"}):ln(a,r.length)},k:function(t,r,n){var a=t.getUTCHours();return a===0&&(a=24),r==="ko"?n.ordinalNumber(a,{unit:"hour"}):ln(a,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Qc.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Qc.s(t,r)},S:function(t,r){return Qc.S(t,r)},X:function(t,r,n,a){var o=a._originalDate||t,i=o.getTimezoneOffset();if(i===0)return"Z";switch(r){case"X":return RD(i);case"XXXX":case"XX":return Md(i);case"XXXXX":case"XXX":default:return Md(i,":")}},x:function(t,r,n,a){var o=a._originalDate||t,i=o.getTimezoneOffset();switch(r){case"x":return RD(i);case"xxxx":case"xx":return Md(i);case"xxxxx":case"xxx":default:return Md(i,":")}},O:function(t,r,n,a){var o=a._originalDate||t,i=o.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+AD(i,":");case"OOOO":default:return"GMT"+Md(i,":")}},z:function(t,r,n,a){var o=a._originalDate||t,i=o.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+AD(i,":");case"zzzz":default:return"GMT"+Md(i,":")}},t:function(t,r,n,a){var o=a._originalDate||t,i=Math.floor(o.getTime()/1e3);return ln(i,r.length)},T:function(t,r,n,a){var o=a._originalDate||t,i=o.getTime();return ln(i,r.length)}};function AD(e,t){var r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),o=n%60;if(o===0)return r+String(a);var i=t||"";return r+String(a)+i+ln(o,2)}function RD(e,t){if(e%60===0){var r=e>0?"-":"+";return r+ln(Math.abs(e)/60,2)}return Md(e,t)}function Md(e,t){var r=t||"",n=e>0?"-":"+",a=Math.abs(e),o=ln(Math.floor(a/60),2),i=ln(a%60,2);return n+o+r+i}var LD=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},TU=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},aye=function(t,r){var n=t.match(/(P+)(p+)?/)||[],a=n[1],o=n[2];if(!o)return LD(t,r);var i;switch(a){case"P":i=r.dateTime({width:"short"});break;case"PP":i=r.dateTime({width:"medium"});break;case"PPP":i=r.dateTime({width:"long"});break;case"PPPP":default:i=r.dateTime({width:"full"});break}return i.replace("{{date}}",LD(a,r)).replace("{{time}}",TU(o,r))},oye={p:TU,P:aye};function iye(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var lye=["D","DD"],cye=["YY","YYYY"];function uye(e){return lye.indexOf(e)!==-1}function dye(e){return cye.indexOf(e)!==-1}function ID(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var fye={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},hye=function(t,r,n){var a,o=fye[t];return typeof o=="string"?a=o:r===1?a=o.one:a=o.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};const pye=hye;function kS(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var mye={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},gye={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},vye={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},xye={date:kS({formats:mye,defaultWidth:"full"}),time:kS({formats:gye,defaultWidth:"full"}),dateTime:kS({formats:vye,defaultWidth:"full"})};const yye=xye;var bye={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},wye=function(t,r,n,a){return bye[t]};const kye=wye;function Q0(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",a;if(n==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=r!=null&&r.width?String(r.width):o;a=e.formattingValues[i]||e.formattingValues[o]}else{var c=e.defaultWidth,u=r!=null&&r.width?String(r.width):e.defaultWidth;a=e.values[u]||e.values[c]}var f=e.argumentCallback?e.argumentCallback(t):t;return a[f]}}var Cye={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Sye={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},jye={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},Eye={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Nye={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},_ye={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Tye=function(t,r){var n=Number(t),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Pye={ordinalNumber:Tye,era:Q0({values:Cye,defaultWidth:"wide"}),quarter:Q0({values:Sye,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:Q0({values:jye,defaultWidth:"wide"}),day:Q0({values:Eye,defaultWidth:"wide"}),dayPeriod:Q0({values:Nye,defaultWidth:"wide",formattingValues:_ye,defaultFormattingWidth:"wide"})};const Mye=Pye;function J0(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;var i=o[0],c=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(c)?Aye(c,function(m){return m.test(i)}):Dye(c,function(m){return m.test(i)}),f;f=e.valueCallback?e.valueCallback(u):u,f=r.valueCallback?r.valueCallback(f):f;var h=t.slice(i.length);return{value:f,rest:h}}}function Dye(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function Aye(e,t){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var a=n[0],o=t.match(e.parsePattern);if(!o)return null;var i=e.valueCallback?e.valueCallback(o[0]):o[0];i=r.valueCallback?r.valueCallback(i):i;var c=t.slice(a.length);return{value:i,rest:c}}}var Lye=/^(\d+)(th|st|nd|rd)?/i,Iye=/\d+/i,Oye={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},$ye={any:[/^b/i,/^(a|c)/i]},zye={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Fye={any:[/1/i,/2/i,/3/i,/4/i]},Hye={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Bye={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Uye={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},Wye={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Vye={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},qye={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Kye={ordinalNumber:Rye({matchPattern:Lye,parsePattern:Iye,valueCallback:function(t){return parseInt(t,10)}}),era:J0({matchPatterns:Oye,defaultMatchWidth:"wide",parsePatterns:$ye,defaultParseWidth:"any"}),quarter:J0({matchPatterns:zye,defaultMatchWidth:"wide",parsePatterns:Fye,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:J0({matchPatterns:Hye,defaultMatchWidth:"wide",parsePatterns:Bye,defaultParseWidth:"any"}),day:J0({matchPatterns:Uye,defaultMatchWidth:"wide",parsePatterns:Wye,defaultParseWidth:"any"}),dayPeriod:J0({matchPatterns:Vye,defaultMatchWidth:"any",parsePatterns:qye,defaultParseWidth:"any"})};const Gye=Kye;var Yye={code:"en-US",formatDistance:pye,formatLong:yye,formatRelative:kye,localize:Mye,match:Gye,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Zye=Yye;var Xye=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,Qye=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,Jye=/^'([^]*?)'?$/,ebe=/''/g,tbe=/[a-zA-Z]/;function zf(e,t,r){var n,a,o,i,c,u,f,h,m,v,S,w,g,b,C,j,E,N;Wa(2,arguments);var T=String(t),A=Pk(),M=(n=(a=r==null?void 0:r.locale)!==null&&a!==void 0?a:A.locale)!==null&&n!==void 0?n:Zye,D=$f((o=(i=(c=(u=r==null?void 0:r.firstWeekContainsDate)!==null&&u!==void 0?u:r==null||(f=r.locale)===null||f===void 0||(h=f.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&c!==void 0?c:A.firstWeekContainsDate)!==null&&i!==void 0?i:(m=A.locale)===null||m===void 0||(v=m.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(D>=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var L=$f((S=(w=(g=(b=r==null?void 0:r.weekStartsOn)!==null&&b!==void 0?b:r==null||(C=r.locale)===null||C===void 0||(j=C.options)===null||j===void 0?void 0:j.weekStartsOn)!==null&&g!==void 0?g:A.weekStartsOn)!==null&&w!==void 0?w:(E=A.locale)===null||E===void 0||(N=E.options)===null||N===void 0?void 0:N.weekStartsOn)!==null&&S!==void 0?S:0);if(!(L>=0&&L<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!M.localize)throw new RangeError("locale must contain localize property");if(!M.formatLong)throw new RangeError("locale must contain formatLong property");var z=Il(e);if(!Vxe(z))throw new RangeError("Invalid time value");var H=iye(z),V=Kxe(z,H),I={firstWeekContainsDate:D,weekStartsOn:L,locale:M,_originalDate:z},q=T.match(Qye).map(function(_){var $=_[0];if($==="p"||$==="P"){var U=oye[$];return U(_,M.formatLong)}return _}).join("").match(Xye).map(function(_){if(_==="''")return"'";var $=_[0];if($==="'")return rbe(_);var U=sye[$];if(U)return!(r!=null&&r.useAdditionalWeekYearTokens)&&dye(_)&&ID(_,t,String(e)),!(r!=null&&r.useAdditionalDayOfYearTokens)&&uye(_)&&ID(_,t,String(e)),U(V,_,M.localize,I);if($.match(tbe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+$+"`");return _}).join("");return q}function rbe(e){var t=e.match(Jye);return t?t[1].replace(ebe,"'"):e}var nbe=Object.create,Mk=Object.defineProperty,sbe=Object.defineProperties,abe=Object.getOwnPropertyDescriptor,obe=Object.getOwnPropertyDescriptors,PU=Object.getOwnPropertyNames,B2=Object.getOwnPropertySymbols,ibe=Object.getPrototypeOf,l_=Object.prototype.hasOwnProperty,MU=Object.prototype.propertyIsEnumerable,OD=(e,t,r)=>t in e?Mk(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ml=(e,t)=>{for(var r in t||(t={}))l_.call(t,r)&&OD(e,r,t[r]);if(B2)for(var r of B2(t))MU.call(t,r)&&OD(e,r,t[r]);return e},Dk=(e,t)=>sbe(e,obe(t)),DU=(e,t)=>{var r={};for(var n in e)l_.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&B2)for(var n of B2(e))t.indexOf(n)<0&&MU.call(e,n)&&(r[n]=e[n]);return r},lbe=(e,t)=>function(){return t||(0,e[PU(e)[0]])((t={exports:{}}).exports,t),t.exports},cbe=(e,t)=>{for(var r in t)Mk(e,r,{get:t[r],enumerable:!0})},ube=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of PU(t))!l_.call(e,a)&&a!==r&&Mk(e,a,{get:()=>t[a],enumerable:!(n=abe(t,a))||n.enumerable});return e},dbe=(e,t,r)=>(r=e!=null?nbe(ibe(e)):{},ube(t||!e||!e.__esModule?Mk(r,"default",{value:e,enumerable:!0}):r,e)),fbe=lbe({"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var r=function(){var n=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,a=0,o={},i={util:{encode:function w(g){return g instanceof c?new c(g.type,w(g.content),g.alias):Array.isArray(g)?g.map(w):g.replace(/&/g,"&").replace(/"+j.content+""};function u(w,g,b,C){w.lastIndex=g;var j=w.exec(b);if(j&&C&&j[1]){var E=j[1].length;j.index+=E,j[0]=j[0].slice(E)}return j}function f(w,g,b,C,j,E){for(var N in b)if(!(!b.hasOwnProperty(N)||!b[N])){var T=b[N];T=Array.isArray(T)?T:[T];for(var A=0;A=E.reach);_+=q.value.length,q=q.next){var $=q.value;if(g.length>w.length)return;if(!($ instanceof c)){var U=1,K;if(z){if(K=u(I,_,w,L),!K||K.index>=w.length)break;var G=K.index,Y=K.index+K[0].length,B=_;for(B+=q.value.length;G>=B;)q=q.next,B+=q.value.length;if(B-=q.value.length,_=B,q.value instanceof c)continue;for(var F=q;F!==g.tail&&(BE.reach&&(E.reach=ie);var oe=q.prev;se&&(oe=m(g,oe,se),_+=se.length),v(g,oe,U);var ae=new c(N,D?i.tokenize(X,D):X,H,X);if(q=m(g,oe,ae),re&&m(g,q,re),U>1){var fe={cause:N+","+A,reach:ie};f(w,g,b,q.prev,_,fe),E&&fe.reach>E.reach&&(E.reach=fe.reach)}}}}}}function h(){var w={value:null,prev:null,next:null},g={value:null,prev:w,next:null};w.next=g,this.head=w,this.tail=g,this.length=0}function m(w,g,b){var C=g.next,j={value:b,prev:g,next:C};return g.next=j,C.prev=j,w.length++,j}function v(w,g,b){for(var C=g.next,j=0;j/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},at.languages.markup.tag.inside["attr-value"].inside.entity=at.languages.markup.entity,at.languages.markup.doctype.inside["internal-subset"].inside=at.languages.markup,at.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(at.languages.markup.tag,"addInlined",{value:function(e,n){var r={},r=(r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:at.languages[n]},r.cdata=/^$/i,{"included-cdata":{pattern://i,inside:r}}),n=(r["language-"+n]={pattern:/[\s\S]+/,inside:at.languages[n]},{});n[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},at.languages.insertBefore("markup","cdata",n)}}),Object.defineProperty(at.languages.markup.tag,"addAttribute",{value:function(e,t){at.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:at.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),at.languages.html=at.languages.markup,at.languages.mathml=at.languages.markup,at.languages.svg=at.languages.markup,at.languages.xml=at.languages.extend("markup",{}),at.languages.ssml=at.languages.xml,at.languages.atom=at.languages.xml,at.languages.rss=at.languages.xml,function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},r=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,n="(?:[^\\\\-]|"+r.source+")",n=RegExp(n+"-"+n),a={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:n,inside:{escape:r,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:r}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":a}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:r,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},at.languages.javascript=at.languages.extend("clike",{"class-name":[at.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),at.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,at.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:at.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:at.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:at.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:at.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:at.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),at.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:at.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),at.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),at.languages.markup&&(at.languages.markup.tag.addInlined("script","javascript"),at.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),at.languages.js=at.languages.javascript,at.languages.actionscript=at.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),at.languages.actionscript["class-name"].alias="function",delete at.languages.actionscript.parameter,delete at.languages.actionscript["literal-property"],at.languages.markup&&at.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:at.languages.markup}}),function(e){var t=/#(?!\{).+/,r={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:r}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:r}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:r}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(at),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(r,n){(r=typeof r=="string"?[r]:r).forEach(function(a){var o=function(m){m.inside||(m.inside={}),m.inside.rest=n},i="doc-comment";if(c=e.languages[a]){var c,u=c[i];if((u=u||(c=e.languages.insertBefore(a,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[i])instanceof RegExp&&(u=c[i]={pattern:u}),Array.isArray(u))for(var f=0,h=u.length;f|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),r={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:r})}(at),function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+r.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+r.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(c,u){u=(u||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return n}).replace(/<>/g,function(){return c});return RegExp(f,u)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return n})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return n}).replace(/<>/g,function(){return"(?:"+a+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(at),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(f){return f=f.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+f+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return n}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(n),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(n),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(f){["url","bold","italic","strike","code-snippet"].forEach(function(h){f!==h&&(e.languages.markdown[f].inside.content.inside[h]=e.languages.markdown[h])})}),e.hooks.add("after-tokenize",function(f){f.language!=="markdown"&&f.language!=="md"||function h(m){if(m&&typeof m!="string")for(var v=0,S=m.length;v",quot:'"'},u=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(at),at.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:at.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},at.hooks.add("after-tokenize",function(e){if(e.language==="graphql")for(var t=e.tokens.filter(function(w){return typeof w!="string"&&w.type!=="comment"&&w.type!=="scalar"}),r=0;r?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],r=t.pattern.source,n=t.inside.interpolation,a=n.inside["interpolation-punctuation"],o=n.pattern.source;function i(m,v){if(e.languages[m])return{pattern:RegExp("((?:"+v+")\\s*)"+r),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:m}}}}function c(m,v,S){return m={code:m,grammar:v,language:S},e.hooks.run("before-tokenize",m),m.tokens=e.tokenize(m.code,m.grammar),e.hooks.run("after-tokenize",m),m.tokens}function u(m,v,S){var b=e.tokenize(m,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),w=0,g={},b=c(b.map(function(j){if(typeof j=="string")return j;for(var E,N,j=j.content;m.indexOf((N=w++,E="___"+S.toUpperCase()+"_"+N+"___"))!==-1;);return g[E]=j,E}).join(""),v,S),C=Object.keys(g);return w=0,function j(E){for(var N=0;N=C.length)return;var T,A,M,D,L,z,H,V=E[N];typeof V=="string"||typeof V.content=="string"?(T=C[w],(H=(z=typeof V=="string"?V:V.content).indexOf(T))!==-1&&(++w,A=z.substring(0,H),L=g[T],M=void 0,(D={})["interpolation-punctuation"]=a,(D=e.tokenize(L,D)).length===3&&((M=[1,1]).push.apply(M,c(D[1],e.languages.javascript,"javascript")),D.splice.apply(D,M)),M=new e.Token("interpolation",D,n.alias,L),D=z.substring(H+T.length),L=[],A&&L.push(A),L.push(M),D&&(j(z=[D]),L.push.apply(L,z)),typeof V=="string"?(E.splice.apply(E,[N,1].concat(L)),N+=L.length-1):V.content=L)):(H=V.content,Array.isArray(H)?j(H):j([H]))}}(b),new e.Token(S,b,"language-"+S,m)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var f={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function h(m){return typeof m=="string"?m:Array.isArray(m)?m.map(h).join(""):h(m.content)}e.hooks.add("after-tokenize",function(m){m.language in f&&function v(S){for(var w=0,g=S.length;w]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(at),function(e){var t=e.languages.javascript,r=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,n="(@(?:arg|argument|param|property)\\s+(?:"+r+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(n+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(n+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return r})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+r),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(at),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(at),at.languages.n4js=at.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),at.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),at.languages.n4jsd=at.languages.n4js,function(e){function t(i,c){return RegExp(i.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),c)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var r=["function","function-variable","method","method-variable","property-access"],n=0;n*\.{3}(?:[^{}]|)*\})/.source;function o(u,f){return u=u.replace(//g,function(){return r}).replace(//g,function(){return n}).replace(//g,function(){return a}),RegExp(u,f)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);function i(u){for(var f=[],h=0;h"&&f.push({tagName:c(m.content[0].content[1]),openedBraces:0}):0]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},at.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=at.languages.swift}),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(at),at.languages.c=at.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),at.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),at.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},at.languages.c.string],char:at.languages.c.char,comment:at.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:at.languages.c}}}}),at.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete at.languages.c.boolean,at.languages.objectivec=at.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete at.languages.objectivec["class-name"],at.languages.objc=at.languages.objectivec,at.languages.reason=at.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),at.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete at.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,r=0;r<2;r++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(at),at.languages.go=at.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),at.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete at.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(at),at.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},at.languages.python["string-interpolation"].inside.interpolation.inside.rest=at.languages.python,at.languages.py=at.languages.python;var el={};cbe(el,{dracula:()=>pbe,duotoneDark:()=>gbe,duotoneLight:()=>xbe,github:()=>bbe,jettwaveDark:()=>Hbe,jettwaveLight:()=>Ube,nightOwl:()=>kbe,nightOwlLight:()=>Sbe,oceanicNext:()=>Ebe,okaidia:()=>_be,oneDark:()=>Vbe,oneLight:()=>Kbe,palenight:()=>Pbe,shadesOfPurple:()=>Dbe,synthwave84:()=>Rbe,ultramin:()=>Ibe,vsDark:()=>AU,vsLight:()=>zbe});var hbe={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},pbe=hbe,mbe={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},gbe=mbe,vbe={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},xbe=vbe,ybe={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},bbe=ybe,wbe={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},kbe=wbe,Cbe={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},Sbe=Cbe,wo={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",punctuation:"#5FB3B3",tag:"#fc929e",function:"#79b6f2",className:"#FAC863",method:"#6699CC",operator:"#fc929e"},jbe={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:wo.keyword}},{types:["attr-value"],style:{color:wo.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:wo.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:wo.primitive}},{types:["boolean"],style:{color:wo.boolean}},{types:["tag"],style:{color:wo.tag}},{types:["string"],style:{color:wo.string}},{types:["punctuation"],style:{color:wo.string}},{types:["selector","char","builtin","inserted"],style:{color:wo.char}},{types:["function"],style:{color:wo.function}},{types:["operator","entity","url","variable"],style:{color:wo.variable}},{types:["keyword"],style:{color:wo.keyword}},{types:["atrule","class-name"],style:{color:wo.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},Ebe=jbe,Nbe={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},_be=Nbe,Tbe={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},Pbe=Tbe,Mbe={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},Dbe=Mbe,Abe={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},Rbe=Abe,Lbe={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},Ibe=Lbe,Obe={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},AU=Obe,$be={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},zbe=$be,Fbe={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Hbe=Fbe,Bbe={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Ube=Bbe,Wbe={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},Vbe=Wbe,qbe={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},Kbe=qbe,Gbe=(e,t)=>{const{plain:r}=e,n=e.styles.reduce((a,o)=>{const{languages:i,style:c}=o;return i&&!i.includes(t)||o.types.forEach(u=>{const f=Ml(Ml({},a[u]),c);a[u]=f}),a},{});return n.root=r,n.plain=Dk(Ml({},r),{backgroundColor:void 0}),n},$D=Gbe,Ybe=(e,t)=>{const[r,n]=p.useState($D(t,e)),a=p.useRef(),o=p.useRef();return p.useEffect(()=>{(t!==a.current||e!==o.current)&&(a.current=t,o.current=e,n($D(t,e)))},[e,t]),r},Zbe=e=>p.useCallback(t=>{var r=t,{className:n,style:a,line:o}=r,i=DU(r,["className","style","line"]);const c=Dk(Ml({},i),{className:hr("token-line",n)});return typeof e=="object"&&"plain"in e&&(c.style=e.plain),typeof a=="object"&&(c.style=Ml(Ml({},c.style||{}),a)),c},[e]),Xbe=e=>{const t=p.useCallback(({types:r,empty:n})=>{if(e!=null){{if(r.length===1&&r[0]==="plain")return n!=null?{display:"inline-block"}:void 0;if(r.length===1&&n!=null)return e[r[0]]}return Object.assign(n!=null?{display:"inline-block"}:{},...r.map(a=>e[a]))}},[e]);return p.useCallback(r=>{var n=r,{token:a,className:o,style:i}=n,c=DU(n,["token","className","style"]);const u=Dk(Ml({},c),{className:hr("token",...a.types,o),children:a.content,style:t(a)});return i!=null&&(u.style=Ml(Ml({},u.style||{}),i)),u},[t])},Qbe=/\r\n|\r|\n/,zD=e=>{e.length===0?e.push({types:["plain"],content:"\n",empty:!0}):e.length===1&&e[0].content===""&&(e[0].content="\n",e[0].empty=!0)},FD=(e,t)=>{const r=e.length;return r>0&&e[r-1]===t?e:e.concat(t)},Jbe=e=>{const t=[[]],r=[e],n=[0],a=[e.length];let o=0,i=0,c=[];const u=[c];for(;i>-1;){for(;(o=n[i]++)0?h:["plain"],f=v):(h=FD(h,v.type),v.alias&&(h=FD(h,v.alias)),f=v.content),typeof f!="string"){i++,t.push(h),r.push(f),n.push(0),a.push(f.length);continue}const S=f.split(Qbe),w=S.length;c.push({types:h,content:S[0]});for(let g=1;g{const a=p.useRef(e);return p.useMemo(()=>{if(r==null)return HD([t]);const o={code:t,grammar:r,language:n,tokens:[]};return a.current.hooks.run("before-tokenize",o),o.tokens=a.current.tokenize(t,r),a.current.hooks.run("after-tokenize",o),HD(o.tokens)},[t,r,n])},t2e=({children:e,language:t,code:r,theme:n,prism:a})=>{const o=t.toLowerCase(),i=Ybe(o,n),c=Zbe(i),u=Xbe(i),f=a.languages[o],h=e2e({prism:a,language:o,code:r,grammar:f});return e({tokens:h,className:"prism-code language-".concat(o),style:i!=null?i.root:{},getLineProps:c,getTokenProps:u})},$1=e=>p.createElement(t2e,Dk(Ml({},e),{prism:e.prism||at,theme:e.theme||AU,code:e.code,language:e.language}));/*! Bundled license information: + */const Bi=(e,t)=>{const{o:r,u:n,_:a}=e;let o=r,i;const c=(h,m)=>{const v=o,S=h,w=m||(n?!n(v,S):v!==S);return(w||a)&&(o=S,i=v),[o,w,i]};return[t?h=>c(t(o,i),h):c,h=>[o,!!h,i]]},HN=typeof window!="undefined",DB=HN&&Node.ELEMENT_NODE,{toString:$ge,hasOwnProperty:uS}=Object.prototype,zge=/^\[object (.+)\]$/,hd=e=>e===void 0,xk=e=>e===null,Fge=e=>hd(e)||xk(e)?"".concat(e):$ge.call(e).replace(zge,"$1").toLowerCase(),Ml=e=>typeof e=="number",O1=e=>typeof e=="string",AB=e=>typeof e=="boolean",Ol=e=>typeof e=="function",vi=e=>Array.isArray(e),Fv=e=>typeof e=="object"&&!vi(e)&&!xk(e),yk=e=>{const t=!!e&&e.length,r=Ml(t)&&t>-1&&t%1==0;return vi(e)||!Ol(e)&&r?t>0&&Fv(e)?t-1 in e:!0:!1},N2=e=>{if(!e||!Fv(e)||Fge(e)!=="object")return!1;let t;const r="constructor",n=e[r],a=n&&n.prototype,o=uS.call(e,r),i=a&&uS.call(a,"isPrototypeOf");if(n&&!o&&!i)return!1;for(t in e);return hd(t)||uS.call(e,t)},qg=e=>{const t=HTMLElement;return e?t?e instanceof t:e.nodeType===DB:!1},bk=e=>{const t=Element;return e?t?e instanceof t:e.nodeType===DB:!1};function hn(e,t){if(yk(e))for(let r=0;rt(e[r],r,e));return e}const wk=(e,t)=>e.indexOf(t)>=0,Au=(e,t)=>e.concat(t),dn=(e,t,r)=>(!r&&!O1(t)&&yk(t)?Array.prototype.push.apply(e,t):e.push(t),e),Jm=e=>{const t=Array.from,r=[];return t&&e?t(e):(e instanceof Set?e.forEach(n=>{dn(r,n)}):hn(e,n=>{dn(r,n)}),r)},_2=e=>!!e&&!e.length,qM=e=>Jm(new Set(e)),xi=(e,t,r)=>{hn(e,a=>a&&a.apply(void 0,t||[])),!r&&(e.length=0)},kk=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),Nc=e=>e?Object.keys(e):[],sn=(e,t,r,n,a,o,i)=>{const c=[t,r,n,a,o,i];return(typeof e!="object"||xk(e))&&!Ol(e)&&(e={}),hn(c,u=>{hn(u,(f,h)=>{const m=u[h];if(e===m)return!0;const v=vi(m);if(m&&N2(m)){const S=e[h];let w=S;v&&!vi(S)?w=[]:!v&&!N2(S)&&(w={}),e[h]=sn(w,m)}else e[h]=v?m.slice():m})}),e},RB=(e,t)=>hn(sn({},e),(r,n,a)=>{r===void 0?delete a[n]:t&&r&&N2(r)&&(a[n]=RB(r,t))}),BN=e=>{for(const t in e)return!1;return!0},Ra=(e,t,r)=>{if(hd(r))return e?e.getAttribute(t):null;e&&e.setAttribute(t,r)},LB=(e,t)=>new Set((Ra(e,t)||"").split(" ")),Xa=(e,t)=>{e&&e.removeAttribute(t)},gf=(e,t,r,n)=>{if(r){const a=LB(e,t);a[n?"add":"delete"](r);const o=Jm(a).join(" ").trim();Ra(e,t,o)}},Hge=(e,t,r)=>LB(e,t).has(r),xj=HN&&Element.prototype,IB=(e,t)=>{const r=[],n=t?bk(t)&&t:document;return n?dn(r,n.querySelectorAll(e)):r},Bge=(e,t)=>{const r=t?bk(t)&&t:document;return r?r.querySelector(e):null},T2=(e,t)=>bk(e)?(xj.matches||xj.msMatchesSelector).call(e,t):!1,yj=e=>e?Jm(e.childNodes):[],gc=e=>e&&e.parentElement,wp=(e,t)=>{if(bk(e)){const r=xj.closest;if(r)return r.call(e,t);do{if(T2(e,t))return e;e=gc(e)}while(e)}},Uge=(e,t,r)=>{const n=wp(e,t),a=e&&Bge(r,n),o=wp(a,t)===n;return n&&a?n===e||a===e||o&&wp(wp(e,r),t)!==n:!1},li=()=>{},vc=e=>{if(yk(e))hn(Jm(e),t=>vc(t));else if(e){const t=gc(e);t&&t.removeChild(e)}},UN=(e,t,r)=>{if(r&&e){let n=t,a;return yk(r)?(a=document.createDocumentFragment(),hn(r,o=>{o===n&&(n=o.previousSibling),a.appendChild(o)})):a=r,t&&(n?n!==t&&(n=n.nextSibling):n=e.firstChild),e.insertBefore(a,n||null),()=>vc(r)}return li},si=(e,t)=>UN(e,null,t),Wge=(e,t)=>UN(gc(e),e,t),KM=(e,t)=>UN(gc(e),e&&e.nextSibling,t),vf=e=>{const t=document.createElement("div");return Ra(t,"class",e),t},OB=e=>{const t=vf();return t.innerHTML=e.trim(),hn(yj(t),r=>vc(r))},fo=HN?window:{},Kg=Math.max,Vge=Math.min,Hv=Math.round,$B=fo.cancelAnimationFrame,zB=fo.requestAnimationFrame,P2=fo.setTimeout,bj=fo.clearTimeout,wj=e=>e.charAt(0).toUpperCase()+e.slice(1),qge=()=>vf().style,Kge=["-webkit-","-moz-","-o-","-ms-"],Gge=["WebKit","Moz","O","MS","webkit","moz","o","ms"],dS={},fS={},Yge=e=>{let t=fS[e];if(kk(fS,e))return t;const r=wj(e),n=qge();return hn(Kge,a=>{const o=a.replace(/-/g,"");return!(t=[e,a+e,o+r,wj(o)+r].find(c=>n[c]!==void 0))}),fS[e]=t||""},Ck=e=>{let t=dS[e]||fo[e];return kk(dS,e)||(hn(Gge,r=>(t=t||fo[r+wj(e)],!t)),dS[e]=t),t},Zge=Ck("MutationObserver"),GM=Ck("IntersectionObserver"),M2=Ck("ResizeObserver"),kj=Ck("ScrollTimeline"),lr=(e,...t)=>e.bind(0,...t),cu=e=>{let t;const r=e?P2:zB,n=e?bj:$B;return[a=>{n(t),t=r(a,Ol(e)?e():e)},()=>n(t)]},FB=(e,t)=>{let r,n,a,o=li;const{v:i,p:c,g:u}=t||{},f=function(w){o(),bj(r),r=n=void 0,o=li,e.apply(this,w)},h=S=>u&&n?u(n,S):S,m=()=>{o!==li&&f(h(a)||a)},v=function(){const w=Jm(arguments),g=Ol(i)?i():i;if(Ml(g)&&g>=0){const C=Ol(c)?c():c,j=Ml(C)&&C>=0,E=g>0?P2:zB,N=g>0?bj:$B,A=h(w)||w,M=f.bind(0,A);o();const D=E(M,g);o=()=>N(D),j&&!r&&(r=P2(m,C)),n=a=A}else f(w)};return v.m=m,v},Xge=/[^\x20\t\r\n\f]+/g,HB=(e,t,r)=>{const n=e&&e.classList;let a,o=0,i=!1;if(n&&t&&O1(t)){const c=t.match(Xge)||[];for(i=c.length>0;a=c[o++];)i=!!r(n,a)&&i}return i},WN=(e,t)=>{HB(e,t,(r,n)=>r.remove(n))},rd=(e,t)=>(HB(e,t,(r,n)=>r.add(n)),lr(WN,e,t)),Qge={opacity:1,zIndex:1},yy=(e,t)=>{const r=e||"",n=t?parseFloat(r):parseInt(r,10);return n===n?n:0},Jge=(e,t)=>!Qge[e]&&Ml(t)?"".concat(t,"px"):t,YM=(e,t,r)=>String((t!=null?t[r]||t.getPropertyValue(r):e.style[r])||""),eve=(e,t,r)=>{try{const{style:n}=e;hd(n[t])?n.setProperty(t,r):n[t]=Jge(t,r)}catch(n){}},BB=e=>{const t=e||0;return isFinite(t)?t:0};function ga(e,t){const r=O1(t);if(vi(t)||r){let a=r?"":{};if(e){const o=fo.getComputedStyle(e,null);a=r?YM(e,o,t):t.reduce((i,c)=>(i[c]=YM(e,o,c),i),a)}return a}e&&hn(t,(a,o)=>eve(e,o,t[o]))}const Bv=e=>ga(e,"direction")==="rtl",ZM=(e,t,r)=>{const n=t?"".concat(t,"-"):"",a=r?"-".concat(r):"",o="".concat(n,"top").concat(a),i="".concat(n,"right").concat(a),c="".concat(n,"bottom").concat(a),u="".concat(n,"left").concat(a),f=ga(e,[o,i,c,u]);return{t:yy(f[o],!0),r:yy(f[i],!0),b:yy(f[c],!0),l:yy(f[u],!0)}},$h=(e,t)=>"translate".concat(Fv(e)?"(".concat(e.x,",").concat(e.y,")"):"".concat(t?"X":"Y","(").concat(e,")")),by=e=>"".concat((BB(e)*100).toFixed(3),"%"),wy=e=>"".concat(BB(e),"px"),UB="paddingTop",VN="paddingRight",qN="paddingLeft",D2="paddingBottom",A2="marginLeft",R2="marginRight",Gg="marginBottom",Sg="overflowX",jg="overflowY",_c="width",Tc="height",ym="hidden",tve={w:0,h:0},Sk=(e,t)=>t?{w:t["".concat(e,"Width")],h:t["".concat(e,"Height")]}:tve,rve=e=>Sk("inner",e||fo),Yg=lr(Sk,"offset"),ob=lr(Sk,"client"),L2=lr(Sk,"scroll"),I2=e=>{const t=parseFloat(ga(e,_c))||0,r=parseFloat(ga(e,Tc))||0;return{w:t-Hv(t),h:r-Hv(r)}},El=e=>e.getBoundingClientRect(),Cj=e=>!!(e&&(e[Tc]||e[_c])),WB=(e,t)=>{const r=Cj(e);return!Cj(t)&&r},jk=(e,t,r,n)=>{if(e&&t){let a=!0;return hn(r,o=>{const i=n?n(e[o]):e[o],c=n?n(t[o]):t[o];i!==c&&(a=!1)}),a}return!1},VB=(e,t)=>jk(e,t,["w","h"]),qB=(e,t)=>jk(e,t,["x","y"]),nve=(e,t)=>jk(e,t,["t","r","b","l"]),XM=(e,t,r)=>jk(e,t,[_c,Tc],r&&(n=>Hv(n)));let ky;const QM="passive",sve=()=>{if(hd(ky)){ky=!1;try{fo.addEventListener(QM,li,Object.defineProperty({},QM,{get(){ky=!0}}))}catch(e){}}return ky},KB=e=>e.split(" "),JM=(e,t,r,n)=>{hn(KB(t),a=>{e.removeEventListener(a,r,n)})},qn=(e,t,r,n)=>{var a;const o=sve(),i=(a=o&&n&&n.S)!=null?a:o,c=n&&n.$||!1,u=n&&n.O||!1,f=o?{passive:i,capture:c}:c;return lr(xi,KB(t).map(h=>{const m=u?v=>{JM(e,h,m,c),r(v)}:r;return e.addEventListener(h,m,f),lr(JM,e,h,m,c)}))},GB=e=>e.stopPropagation(),eD=e=>e.preventDefault(),ave={x:0,y:0},hS=e=>{const t=e&&El(e);return t?{x:t.left+fo.pageYOffset,y:t.top+fo.pageXOffset}:ave},YB=(e,t,r)=>r?r.n?-e:r.i?t-e:e:e,ove=(e,t)=>[t&&t.i?e:0,YB(e,e,t)],nd=(e,t)=>{const{x:r,y:n}=Ml(t)?{x:t,y:t}:t||{};Ml(r)&&(e.scrollLeft=r),Ml(n)&&(e.scrollTop=n)},bm=e=>({x:e.scrollLeft,y:e.scrollTop}),tD=(e,t)=>{hn(vi(t)?t:[t],e)},Sj=e=>{const t=new Map,r=(o,i)=>{if(o){const c=t.get(o);tD(u=>{c&&c[u?"delete":"clear"](u)},i)}else t.forEach(c=>{c.clear()}),t.clear()},n=(o,i)=>{if(O1(o)){const f=t.get(o)||new Set;return t.set(o,f),tD(h=>{Ol(h)&&f.add(h)},i),lr(r,o,i)}AB(i)&&i&&r();const c=Nc(o),u=[];return hn(c,f=>{const h=o[f];h&&dn(u,n(f,h))}),lr(xi,u)},a=(o,i)=>{hn(Jm(t.get(o)),c=>{i&&!_2(i)?c.apply(0,i):c()})};return n(e||{}),[n,r,a]},rD=e=>JSON.stringify(e,(t,r)=>{if(Ol(r))throw 0;return r}),nD=(e,t)=>e?"".concat(t).split(".").reduce((r,n)=>r&&kk(r,n)?r[n]:void 0,e):void 0,ive={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},ZB=(e,t)=>{const r={},n=Au(Nc(t),Nc(e));return hn(n,a=>{const o=e[a],i=t[a];if(Fv(o)&&Fv(i))sn(r[a]={},ZB(o,i)),BN(r[a])&&delete r[a];else if(kk(t,a)&&i!==o){let c=!0;if(vi(o)||vi(i))try{rD(o)===rD(i)&&(c=!1)}catch(u){}c&&(r[a]=i)}}),r},lve=(e,t,r)=>n=>[nD(e,n),r||nD(t,n)!==void 0],$1="data-overlayscrollbars",XB="os-environment",QB="".concat(XB,"-flexbox-glue"),cve="".concat(QB,"-max"),JB="os-scrollbar-hidden",pS="".concat($1,"-initialize"),Ui=$1,eU="".concat(Ui,"-overflow-x"),tU="".concat(Ui,"-overflow-y"),Ip="overflowVisible",uve="scrollbarHidden",sD="scrollbarPressed",O2="updating",uu="".concat($1,"-viewport"),mS="arrange",rU="scrollbarHidden",Op=Ip,jj="".concat($1,"-padding"),dve=Op,aD="".concat($1,"-content"),KN="os-size-observer",fve="".concat(KN,"-appear"),hve="".concat(KN,"-listener"),pve="os-trinsic-observer",mve="os-no-css-vars",gve="os-theme-none",bo="os-scrollbar",vve="".concat(bo,"-rtl"),xve="".concat(bo,"-horizontal"),yve="".concat(bo,"-vertical"),nU="".concat(bo,"-track"),GN="".concat(bo,"-handle"),bve="".concat(bo,"-visible"),wve="".concat(bo,"-cornerless"),oD="".concat(bo,"-transitionless"),iD="".concat(bo,"-interaction"),lD="".concat(bo,"-unusable"),Ej="".concat(bo,"-auto-hide"),cD="".concat(Ej,"-hidden"),uD="".concat(bo,"-wheel"),kve="".concat(nU,"-interactive"),Cve="".concat(GN,"-interactive"),sU={},aU={},Sve=e=>{hn(e,t=>hn(t,(r,n)=>{sU[n]=t[n]}))},oU=(e,t,r)=>Nc(e).map(n=>{const{static:a,instance:o}=e[n],[i,c,u]=r||[],f=r?o:a;if(f){const h=r?f(i,c,t):f(t);return(u||aU)[n]=h}}),e0=e=>aU[e],jve="__osOptionsValidationPlugin",Eve="__osSizeObserverPlugin",YN="__osScrollbarsHidingPlugin",Nve="__osClickScrollPlugin";let gS;const dD=(e,t,r,n)=>{si(e,t);const a=ob(t),o=Yg(t),i=I2(r);return n&&vc(t),{x:o.h-a.h+i.h,y:o.w-a.w+i.w}},_ve=e=>{let t=!1;const r=rd(e,JB);try{t=ga(e,Yge("scrollbar-width"))==="none"||fo.getComputedStyle(e,"::-webkit-scrollbar").getPropertyValue("display")==="none"}catch(n){}return r(),t},Tve=(e,t)=>{ga(e,{[Sg]:ym,[jg]:ym,direction:"rtl"}),nd(e,{x:0});const r=hS(e),n=hS(t);nd(e,{x:-999});const a=hS(t);return{i:r.x===n.x,n:n.x!==a.x}},Pve=(e,t)=>{const r=rd(e,QB),n=El(e),a=El(t),o=XM(a,n,!0),i=rd(e,cve),c=El(e),u=El(t),f=XM(u,c,!0);return r(),i(),o&&f},Mve=()=>{const{body:e}=document,r=OB('
'))[0],n=r.firstChild,[a,,o]=Sj(),[i,c]=Bi({o:dD(e,r,n),u:qB},lr(dD,e,r,n,!0)),[u]=c(),f=_ve(r),h={x:u.x===0,y:u.y===0},m={elements:{host:null,padding:!f,viewport:b=>f&&b===b.ownerDocument.body&&b,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},v=sn({},ive),S=lr(sn,{},v),w=lr(sn,{},m),g={P:u,I:h,H:f,A:ga(r,"zIndex")==="-1",L:!!kj,V:Tve(r,n),U:Pve(r,n),B:lr(a,"r"),j:w,N:b=>sn(m,b)&&w(),G:S,q:b=>sn(v,b)&&S(),F:sn({},m),W:sn({},v)};return Xa(r,"style"),vc(r),fo.addEventListener("resize",()=>{let b;if(!f&&(!h.x||!h.y)){const C=e0(YN);b=!!(C?C.R():li)(g,i)}o("r",[b])}),g},ho=()=>(gS||(gS=Mve()),gS),ZN=(e,t)=>Ol(t)?t.apply(0,e):t,Dve=(e,t,r,n)=>{const a=hd(n)?r:n;return ZN(e,a)||t.apply(0,e)},iU=(e,t,r,n)=>{const a=hd(n)?r:n,o=ZN(e,a);return!!o&&(qg(o)?o:t.apply(0,e))},Ave=(e,t)=>{const{nativeScrollbarsOverlaid:r,body:n}=t||{},{I:a,H:o,j:i}=ho(),{nativeScrollbarsOverlaid:c,body:u}=i().cancel,f=r!=null?r:c,h=hd(n)?u:n,m=(a.x||a.y)&&f,v=e&&(xk(h)?!o:h);return!!m||!!v},XN=new WeakMap,Rve=(e,t)=>{XN.set(e,t)},Lve=e=>{XN.delete(e)},lU=e=>XN.get(e),Ive=(e,t,r)=>{let n=!1;const a=r?new WeakMap:!1,o=()=>{n=!0},i=c=>{if(a&&r){const u=r.map(f=>{const[h,m]=f||[];return[m&&h?(c||IB)(h,e):[],m]});hn(u,f=>hn(f[0],h=>{const m=f[1],v=a.get(h)||[];if(e.contains(h)&&m){const w=qn(h,m.trim(),g=>{n?(w(),a.delete(h)):t(g)});a.set(h,dn(v,w))}else xi(v),a.delete(h)}))}};return i(),[o,i]},fD=(e,t,r,n)=>{let a=!1;const{X:o,Y:i,J:c,K:u,Z:f,tt:h}=n||{},m=FB(()=>a&&r(!0),{v:33,p:99}),[v,S]=Ive(e,m,c),w=o||[],g=i||[],b=Au(w,g),C=(E,N)=>{if(!_2(N)){const T=f||li,A=h||li,M=[],D=[];let L=!1,z=!1;if(hn(N,H=>{const{attributeName:V,target:I,type:q,oldValue:_,addedNodes:$,removedNodes:U}=H,K=q==="attributes",Y=q==="childList",B=e===I,F=K&&V,G=F?Ra(I,V||""):null,X=F&&_!==G,se=wk(g,V)&&X;if(t&&(Y||!B)){const re=K&&X,ie=re&&u&&T2(I,u),ae=(ie?!T(I,V,_,G):!K||re)&&!A(H,!!ie,e,n);hn($,fe=>dn(M,fe)),hn(U,fe=>dn(M,fe)),z=z||ae}!t&&B&&X&&!T(I,V,_,G)&&(dn(D,V),L=L||se)}),S(H=>qM(M).reduce((V,I)=>(dn(V,IB(H,I)),T2(I,H)?dn(V,I):V),[])),t)return!E&&z&&r(!1),[!1];if(!_2(D)||L){const H=[qM(D),L];return!E&&r.apply(0,H),H}}},j=new Zge(lr(C,!1));return[()=>(j.observe(e,{attributes:!0,attributeOldValue:!0,attributeFilter:b,subtree:t,childList:t,characterData:t}),a=!0,()=>{a&&(v(),j.disconnect(),a=!1)}),()=>{if(a)return m.m(),C(!0,j.takeRecords())}]},cU=(e,t,r)=>{const{nt:a,ot:o}=r||{},i=e0(Eve),{V:c}=ho(),u=lr(Bv,e),[f]=Bi({o:!1,_:!0});return()=>{const h=[],v=OB('
'))[0],S=v.firstChild,w=g=>{const b=g instanceof ResizeObserverEntry,C=!b&&vi(g);let j=!1,E=!1,N=!0;if(b){const[T,,A]=f(g.contentRect),M=Cj(T),D=WB(T,A);E=!A||D,j=!E&&!M,N=!j}else C?[,N]=g:E=g===!0;if(a&&N){const T=C?g[0]:Bv(v);nd(v,{x:YB(3333333,3333333,T&&c),y:3333333})}j||t({st:C?g:void 0,et:!C,ot:E})};if(M2){const g=new M2(b=>w(b.pop()));g.observe(S),dn(h,()=>{g.disconnect()})}else if(i){const[g,b]=i(S,w,o);dn(h,Au([rd(v,fve),qn(v,"animationstart",g)],b))}else return li;if(a){const[g]=Bi({o:void 0},u);dn(h,qn(v,"scroll",b=>{const C=g(),[j,E,N]=C;E&&(WN(S,"ltr rtl"),rd(S,j?"rtl":"ltr"),w([!!j,E,N])),GB(b)}))}return lr(xi,dn(h,si(e,v)))}},Ove=(e,t)=>{let r;const n=u=>u.h===0||u.isIntersecting||u.intersectionRatio>0,a=vf(pve),[o]=Bi({o:!1}),i=(u,f)=>{if(u){const h=o(n(u)),[,m]=h;return m&&!f&&t(h)&&[h]}},c=(u,f)=>i(f.pop(),u);return[()=>{const u=[];if(GM)r=new GM(lr(c,!1),{root:e}),r.observe(a),dn(u,()=>{r.disconnect()});else{const f=()=>{const h=Yg(a);i(h)};dn(u,cU(a,f)()),f()}return lr(xi,dn(u,si(e,a)))},()=>r&&c(!0,r.takeRecords())]},$ve=(e,t)=>{let r,n,a,o,i;const{H:c}=ho(),u="[".concat(Ui,"]"),f="[".concat(uu,"]"),h=["tabindex"],m=["wrap","cols","rows"],v=["id","class","style","open"],S={ct:!1,rt:Bv(e.lt)},{lt:w,it:g,ut:b,ft:C,_t:j,dt:E,vt:N}=e,{U:T,B:A}=ho(),[M]=Bi({u:VB,o:{w:0,h:0}},()=>{const F=E(Op,Ip),G=E(mS,""),X=G&&bm(g);N(Op,Ip),N(mS,""),N("",O2,!0);const se=L2(b),re=L2(g),ie=I2(g);return N(Op,Ip,F),N(mS,"",G),N("",O2),nd(g,X),{w:re.w+se.w+ie.w,h:re.h+se.h+ie.h}}),D=C?m:Au(v,m),L=FB(t,{v:()=>r,p:()=>n,g(F,G){const[X]=F,[se]=G;return[Au(Nc(X),Nc(se)).reduce((re,ie)=>(re[ie]=X[ie]||se[ie],re),{})]}}),z=F=>{hn(F||h,G=>{if(wk(h,G)){const X=Ra(w,G);O1(X)?Ra(g,G,X):Xa(g,G)}})},H=(F,G)=>{const[X,se]=F,re={ht:se};return sn(S,{ct:X}),!G&&t(re),re},V=({et:F,st:G,ot:X})=>{const re=!(F&&!X&&!G)&&c?L:t,[ie,oe]=G||[];G&&sn(S,{rt:ie}),re({et:F||X,ot:X,gt:oe})},I=(F,G)=>{const[,X]=M(),se={bt:X};return X&&!G&&(F?t:L)(se),se},q=(F,G,X)=>{const se={wt:G};return G&&!X?L(se):j||z(F),se},[_,$]=b||!T?Ove(w,H):[],U=!j&&cU(w,V,{ot:!0,nt:!0}),[K,Y]=fD(w,!1,q,{Y:v,X:Au(v,h)}),B=j&&M2&&new M2(F=>{const G=F[F.length-1].contentRect;V({et:!0,ot:WB(G,i)}),i=G});return[()=>{z(),B&&B.observe(w);const F=U&&U(),G=_&&_(),X=K(),se=A(re=>{const[,ie]=M();L({yt:re,bt:ie})});return()=>{B&&B.disconnect(),F&&F(),G&&G(),o&&o(),X(),se()}},({St:F,$t:G,xt:X})=>{const se={},[re]=F("update.ignoreMutation"),[ie,oe]=F("update.attributes"),[ae,fe]=F("update.elementEvents"),[le,ue]=F("update.debounce"),be=fe||oe,Ce=G||X,Pe=Ee=>Ol(re)&&re(Ee);if(be){a&&a(),o&&o();const[Ee,Oe]=fD(b||g,!0,I,{X:Au(D,ie||[]),J:ae,K:u,tt:(Ve,ct)=>{const{target:gt,attributeName:Ke}=Ve;return(!ct&&Ke&&!j?Uge(gt,u,f):!1)||!!wp(gt,".".concat(bo))||!!Pe(Ve)}});o=Ee(),a=Oe}if(ue)if(L.m(),vi(le)){const Ee=le[0],Oe=le[1];r=Ml(Ee)&&Ee,n=Ml(Oe)&&Oe}else Ml(le)?(r=le,n=!1):(r=!1,n=!1);if(Ce){const Ee=Y(),Oe=$&&$(),Ve=a&&a();Ee&&sn(se,q(Ee[0],Ee[1],Ce)),Oe&&sn(se,H(Oe[0],Ce)),Ve&&sn(se,I(Ve[0],Ce))}return se},S]},Nj=(e,t,r)=>Kg(e,Vge(t,r)),zve=(e,t,r)=>{const n=Hv(t),[a,o]=ove(n,r),i=(o-e)/o,c=e/a,u=e/o,f=r?r.n?i:r.i?c:u:u;return Nj(0,1,f)},uU=(e,t,r)=>{if(r){const u=t?_c:Tc,{Ot:f,Ct:h}=r,m=El(h)[u],v=El(f)[u];return Nj(0,1,m/v)}const n=t?"x":"y",{Ht:a,zt:o}=e,i=o[n],c=a[n];return Nj(0,1,i/(i+c))},hD=(e,t,r,n)=>{const a=uU(e,n,t);return 1/a*(1-a)*r},Fve=(e,t,r,n)=>{const{j:a,A:o}=ho(),{scrollbars:i}=a(),{slot:c}=i,{It:u,lt:f,it:h,At:m,Et:v,Tt:S,_t:w}=t,{scrollbars:g}=m?{}:e,{slot:b}=g||{},C=new Map,j=ie=>kj&&new kj({source:v,axis:ie}),E=j("x"),N=j("y"),T=iU([u,f,h],()=>w&&S?u:f,c,b),A=ie=>w&&!S&&gc(ie)===h,M=ie=>{C.forEach((oe,ae)=>{(ie?wk(vi(ie)?ie:[ie],ae):!0)&&((oe||[]).forEach(le=>{le&&le.cancel()}),C.delete(ae))})},D=(ie,oe,ae)=>{const fe=ae?rd:WN;hn(ie,le=>{fe(le.Dt,oe)})},L=(ie,oe)=>{hn(ie,ae=>{const[fe,le]=oe(ae);ga(fe,le)})},z=(ie,oe,ae,fe)=>oe&&ie.animate(ae,{timeline:oe,composite:fe}),H=(ie,oe)=>{L(ie,ae=>{const{Ct:fe}=ae;return[fe,{[oe?_c:Tc]:by(uU(r,oe))}]})},V=(ie,oe)=>{E&&N?ie.forEach(ae=>{const{Dt:fe,Ct:le}=ae,ue=lr(hD,r,ae),be=oe&&Bv(fe),Ce=ue(be?1:0,oe),Pe=ue(be?0:1,oe);M(le),C.set(le,[z(le,oe?E:N,sn({transform:[$h(by(Ce),oe),$h(by(Pe),oe)]},be?{clear:["left"]}:{}))])}):L(ie,ae=>{const{Ct:fe,Dt:le}=ae,{V:ue}=ho(),be=oe?"x":"y",{Ht:Ce}=r,Pe=Bv(le),Ee=hD(r,ae,zve(bm(v)[be],Ce[be],oe&&Pe&&ue),oe);return[fe,{transform:$h(by(Ee),oe)}]})},I=ie=>{const{Dt:oe}=ie,ae=A(oe)&&oe,{x:fe,y:le}=bm(v);return[ae,{transform:ae?$h({x:wy(fe),y:wy(le)}):""}]},q=(ie,oe,ae,fe)=>z(ie,oe,{transform:[$h(wy(0),fe),$h(wy(Kg(0,ae-.5)),fe)]},"add"),_=[],$=[],U=[],K=(ie,oe,ae)=>{const fe=AB(ae),le=fe?ae:!0,ue=fe?!ae:!0;le&&D($,ie,oe),ue&&D(U,ie,oe)},Y=()=>{H($,!0),H(U)},B=()=>{V($,!0),V(U)},F=()=>{if(w)if(N&&N){const{Ht:ie}=r;Au(U,$).forEach(({Dt:oe})=>{M(oe),A(oe)&&C.set(oe,[q(oe,E,ie.x,!0),q(oe,N,ie.y)])})}else L($,I),L(U,I)},G=ie=>{const oe=ie?xve:yve,ae=ie?$:U,fe=_2(ae)?oD:"",le=vf("".concat(bo," ").concat(oe," ").concat(fe)),ue=vf(nU),be=vf(GN),Ce={Dt:le,Ot:ue,Ct:be};return o||rd(le,mve),dn(ae,Ce),dn(_,[si(le,ue),si(ue,be),lr(vc,le),M,n(Ce,K,V,ie)]),Ce},X=lr(G,!0),se=lr(G,!1),re=()=>(si(T,$[0].Dt),si(T,U[0].Dt),P2(()=>{K(oD)},300),lr(xi,_));return X(),se(),[{kt:Y,Mt:B,Rt:F,Pt:K,Lt:{L:E,Vt:$,Ut:X,Bt:lr(L,$)},jt:{L:N,Vt:U,Ut:se,Bt:lr(L,U)}},re]},Hve=(e,t,r)=>{const{lt:n,Et:a,Nt:o}=t;return(i,c,u,f)=>{const{Dt:h,Ot:m,Ct:v}=i,[S,w]=cu(333),[g,b]=cu(),C=lr(u,[i],f),j=!!a.scrollBy,E="client".concat(f?"X":"Y"),N=f?_c:Tc,T=f?"left":"top",A=f?"w":"h",M=f?"x":"y",D=H=>H.propertyName.indexOf(N)>-1,L=()=>{const H="pointerup pointerleave pointercancel lostpointercapture",V=(I,q)=>_=>{const{Ht:$}=r,U=Yg(m)[A]-Yg(v)[A],Y=q*_/U*$[M];nd(a,{[M]:I+Y})};return qn(m,"pointerdown",I=>{const q=wp(I.target,".".concat(GN))===v,_=q?v:m,$=e.scrollbars,{button:U,isPrimary:K,pointerType:Y}=I,{pointers:B}=$,F=U===0&&K&&$[q?"dragScroll":"clickScroll"]&&(B||[]).includes(Y);if(gf(n,Ui,sD,!0),F){const G=!q&&I.shiftKey,X=lr(El,v),se=lr(El,m),re=(Ve,ct)=>(Ve||X())[T]-(ct||se())[T],ie=Hv(El(a)[N])/Yg(a)[A]||1,oe=V(bm(a)[M]||0,1/ie),ae=I[E],fe=X(),le=se(),ue=fe[N],be=re(fe,le)+ue/2,Ce=ae-le[T],Pe=q?0:Ce-be,Ee=Ve=>{xi(Oe),_.releasePointerCapture(Ve.pointerId)},Oe=[lr(gf,n,Ui,sD),qn(o,H,Ee),qn(o,"selectstart",Ve=>eD(Ve),{S:!1}),qn(m,H,Ee),qn(m,"pointermove",Ve=>{const ct=Ve[E]-ae;(q||G)&&oe(Pe+ct)})];if(G)oe(Pe);else if(!q){const Ve=e0(Nve);Ve&&dn(Oe,Ve(oe,re,Pe,ue,Ce))}_.setPointerCapture(I.pointerId)}})};let z=!0;return lr(xi,[qn(h,"pointerenter",()=>{c(iD,!0)}),qn(h,"pointerleave pointercancel",()=>{c(iD,!1)}),qn(h,"wheel",H=>{const{deltaX:V,deltaY:I,deltaMode:q}=H;j&&z&&q===0&&gc(h)===n&&a.scrollBy({left:V,top:I,behavior:"smooth"}),z=!1,c(uD,!0),S(()=>{z=!0,c(uD)}),eD(H)},{S:!1,$:!0}),qn(v,"transitionstart",H=>{if(D(H)){const V=()=>{C(),g(V)};V()}}),qn(v,"transitionend transitioncancel",H=>{D(H)&&(b(),C())}),qn(h,"mousedown",lr(qn,o,"click",GB,{O:!0,$:!0}),{$:!0}),L(),w,b])}},Bve=(e,t,r,n,a,o)=>{let i,c,u,f,h,m=li,v=0;const[S,w]=cu(),[g,b]=cu(),[C,j]=cu(100),[E,N]=cu(100),[T,A]=cu(100),[M,D]=cu(()=>v),[L,z]=Fve(e,a,n,Hve(t,a,n)),{lt:H,Gt:V,Tt:I}=a,{Pt:q,kt:_,Mt:$,Rt:U}=L,K=X=>{q(Ej,X,!0),q(Ej,X,!1)},Y=(X,se)=>{if(D(),X)q(cD);else{const re=lr(q,cD,!0);v>0&&!se?M(re):re()}},B=X=>X.pointerType==="mouse",F=X=>{B(X)&&(f=c,f&&Y(!0))},G=[j,D,N,A,b,w,()=>m(),qn(H,"pointerover",F,{O:!0}),qn(H,"pointerenter",F),qn(H,"pointerleave",X=>{B(X)&&(f=!1,c&&Y(!1))}),qn(H,"pointermove",X=>{B(X)&&i&&S(()=>{j(),Y(!0),E(()=>{i&&Y(!1)})})}),qn(V,"scroll",X=>{g(()=>{$(),u&&Y(!0),C(()=>{u&&!f&&Y(!1)})}),o(X),U()})];return[()=>lr(xi,dn(G,z())),({St:X,xt:se,qt:re,Ft:ie})=>{const{Wt:oe,Xt:ae,Yt:fe}=ie||{},{gt:le,ot:ue}=re||{},{rt:be}=r,{I:Ce}=ho(),{Ht:Pe,Jt:Ee,Kt:Oe}=n,[Ve,ct]=X("showNativeOverlaidScrollbars"),[gt,Ke]=X("scrollbars.theme"),[Et,Re]=X("scrollbars.visibility"),[xt,ot]=X("scrollbars.autoHide"),[pt,_t]=X("scrollbars.autoHideSuspend"),[ht]=X("scrollbars.autoHideDelay"),[It,Ft]=X("scrollbars.dragScroll"),[Vt,Ge]=X("scrollbars.clickScroll"),Zt=ue&&!se,nr=Oe.x||Oe.y,vr=oe||ae||le||se,pr=fe||Re,Wr=Ve&&Ce.x&&Ce.y,Le=(Dt,Ze)=>{const mr=Et==="visible"||Et==="auto"&&Dt==="scroll";return q(bve,mr,Ze),mr};if(v=ht,Zt&&(pt&&nr?(K(!1),m(),T(()=>{m=qn(V,"scroll",lr(K,!0),{O:!0})})):K(!0)),ct&&q(gve,Wr),Ke&&(q(h),q(gt,!0),h=gt),_t&&!pt&&K(!0),ot&&(i=xt==="move",c=xt==="leave",u=xt!=="never",Y(!u,!0)),Ft&&q(Cve,It),Ge&&q(kve,Vt),pr){const Dt=Le(Ee.x,!0),Ze=Le(Ee.y,!1);q(wve,!(Dt&&Ze))}vr&&(_(),$(),U(),q(lD,!Pe.x,!0),q(lD,!Pe.y,!1),q(vve,be&&!I))},{},L]},Uve=e=>{const t=ho(),{j:r,H:n}=t,a=e0(YN),o=a&&a.C,{elements:i}=r(),{host:c,padding:u,viewport:f,content:h}=i,m=qg(e),v=m?{}:e,{elements:S}=v,{host:w,padding:g,viewport:b,content:C}=S||{},j=m?e:v.target,E=T2(j,"textarea"),N=j.ownerDocument,T=N.documentElement,A=j===N.body,M=N.defaultView,D=lr(Dve,[j]),L=lr(iU,[j]),z=lr(ZN,[j]),H=lr(vf,""),V=lr(D,H,f),I=lr(L,H,h),q=V(b),_=q===j,$=_&&A,U=!_&&I(C),K=!_&&qg(q)&&q===U,Y=K&&!!z(h),B=Y?V():q,F=Y?U:I(),X=$?T:K?B:q,se=E?D(H,c,w):j,re=$?X:se,ie=K?F:U,oe=N.activeElement,ae=!_&&M.top===M&&oe===j,fe={It:j,lt:re,it:X,Zt:!_&&L(H,u,g),ut:ie,Qt:!_&&!n&&o&&o(t),Et:$?T:X,Gt:$?N:X,tn:M,Nt:N,ft:E,Tt:A,At:m,_t:_,nn:K,dt:(ot,pt)=>Hge(X,_?Ui:uu,_?pt:ot),vt:(ot,pt,_t)=>gf(X,_?Ui:uu,_?pt:ot,_t)},le=Nc(fe).reduce((ot,pt)=>{const _t=fe[pt];return dn(ot,_t&&qg(_t)&&!gc(_t)?_t:!1)},[]),ue=ot=>ot?wk(le,ot):null,{It:be,lt:Ce,Zt:Pe,it:Ee,ut:Oe,Qt:Ve}=fe,ct=[()=>{Xa(Ce,Ui),Xa(Ce,pS),Xa(be,pS),A&&(Xa(T,Ui),Xa(T,pS))}],gt=E&&ue(Ce);let Ke=E?be:yj([Oe,Ee,Pe,Ce,be].find(ot=>ue(ot)===!1));const Et=$?be:Oe||Ee,Re=lr(xi,ct);return[fe,()=>{Ra(Ce,Ui,_?"viewport":"host"),Ra(Pe,jj,""),Ra(Oe,aD,""),_||Ra(Ee,uu,"");const ot=A&&!_?rd(gc(j),JB):li,pt=_t=>{si(gc(_t),yj(_t)),vc(_t)};if(gt&&(KM(be,Ce),dn(ct,()=>{KM(Ce,be),vc(Ce)})),si(Et,Ke),si(Ce,Pe),si(Pe||Ce,!_&&Ee),si(Ee,Oe),dn(ct,()=>{ot(),Xa(Pe,jj),Xa(Oe,aD),Xa(Ee,eU),Xa(Ee,tU),Xa(Ee,uu),ue(Oe)&&pt(Oe),ue(Ee)&&pt(Ee),ue(Pe)&&pt(Pe)}),n&&!_&&(gf(Ee,uu,rU,!0),dn(ct,lr(Xa,Ee,uu))),Ve&&(Wge(Ee,Ve),dn(ct,lr(vc,Ve))),ae){const _t="tabindex",ht=Ra(Ee,_t);Ra(Ee,_t,"-1"),Ee.focus();const It=()=>ht?Ra(Ee,_t,ht):Xa(Ee,_t),Ft=qn(N,"pointerdown keydown",()=>{It(),Ft()});dn(ct,[It,Ft])}else oe&&oe.focus&&oe.focus();return Ke=0,Re},Re]},Wve=({ut:e})=>({qt:t,sn:r,xt:n})=>{const{U:a}=ho(),{ht:o}=t||{},{ct:i}=r;(e||!a)&&(o||n)&&ga(e,{[Tc]:i?"":"100%"})},Vve=({lt:e,Zt:t,it:r,_t:n},a)=>{const[o,i]=Bi({u:nve,o:ZM()},lr(ZM,e,"padding",""));return({St:c,qt:u,sn:f,xt:h})=>{let[m,v]=i(h);const{H:S,U:w}=ho(),{et:g,bt:b,gt:C}=u||{},{rt:j}=f,[E,N]=c("paddingAbsolute");(g||v||(h||!w&&b))&&([m,v]=o(h));const A=!n&&(N||C||v);if(A){const M=!E||!t&&!S,D=m.r+m.l,L=m.t+m.b,z={[R2]:M&&!j?-D:0,[Gg]:M?-L:0,[A2]:M&&j?-D:0,top:M?-m.t:0,right:M?j?-m.r:"auto":0,left:M?j?"auto":-m.l:0,[_c]:M?"calc(100% + ".concat(D,"px)"):""},H={[UB]:M?m.t:0,[VN]:M?m.r:0,[D2]:M?m.b:0,[qN]:M?m.l:0};ga(t||r,z),ga(r,H),sn(a,{Zt:m,en:!M,D:t?H:sn({},z,H)})}return{cn:A}}},qve=({lt:e,Zt:t,it:r,Qt:n,_t:a,vt:o,Tt:i,tn:c},u)=>{const f=lr(Kg,0),h="visible",m=42,v={u:VB,o:{w:0,h:0}},S={u:qB,o:{x:ym,y:ym}},w=(G,X)=>{const se=fo.devicePixelRatio%1!==0?1:0,re={w:f(G.w-X.w),h:f(G.h-X.h)};return{w:re.w>se?re.w:0,h:re.h>se?re.h:0}},g=G=>G.indexOf(h)===0,{P:b,U:C,H:j,I:E}=ho(),N=e0(YN),T=!a&&!j&&(E.x||E.y),A=i&&a,[M,D]=Bi(v,lr(I2,r)),[L,z]=Bi(v,lr(L2,r)),[H,V]=Bi(v),[I,q]=Bi(v),[_]=Bi(S),$=(G,X)=>{if(ga(r,{[Tc]:""}),X){const{en:se,Zt:re}=u,{rn:ie,k:oe}=G,ae=I2(e),fe=ob(e),le=ga(r,"boxSizing")==="content-box",ue=se||le?re.b+re.t:0,be=!(E.x&&le);ga(r,{[Tc]:fe.h+ae.h+(ie.x&&be?oe.x:0)-ue})}},U=(G,X)=>{const se=!j&&!G?m:0,re=(Pe,Ee,Oe)=>{const Ve=ga(r,Pe),gt=(X?X[Pe]:Ve)==="scroll";return[Ve,gt,gt&&!j?Ee?se:Oe:0,Ee&&!!se]},[ie,oe,ae,fe]=re(Sg,E.x,b.x),[le,ue,be,Ce]=re(jg,E.y,b.y);return{Jt:{x:ie,y:le},rn:{x:oe,y:ue},k:{x:ae,y:be},M:{x:fe,y:Ce}}},K=(G,X,se,re)=>{const ie=(ue,be)=>{const Ce=g(ue),Pe=be&&Ce&&ue.replace("".concat(h,"-"),"")||"";return[be&&!Ce?ue:"",g(Pe)?"hidden":Pe]},[oe,ae]=ie(se.x,X.x),[fe,le]=ie(se.y,X.y);return re[Sg]=ae&&fe?ae:oe,re[jg]=le&&oe?le:fe,U(G,re)},Y=(G,X,se,re)=>{const{k:ie,M:oe}=G,{x:ae,y:fe}=oe,{x:le,y:ue}=ie,{D:be}=u,Ce=X?A2:R2,Pe=X?qN:VN,Ee=be[Ce],Oe=be[Gg],Ve=be[Pe],ct=be[D2];re[_c]="calc(100% + ".concat(ue+Ee*-1,"px)"),re[Ce]=-ue+Ee,re[Gg]=-le+Oe,se&&(re[Pe]=Ve+(fe?ue:0),re[D2]=ct+(ae?le:0))},[B,F]=N?N.T(T,C,r,n,u,U,Y):[()=>T,()=>[li]];return({St:G,qt:X,sn:se,xt:re},{cn:ie})=>{const{et:oe,wt:ae,bt:fe,ht:le,gt:ue,yt:be}=X||{},{ct:Ce,rt:Pe}=se,[Ee,Oe]=G("showNativeOverlaidScrollbars"),[Ve,ct]=G("overflow"),gt=Ee&&E.x&&E.y,Ke=!a&&!C&&(oe||fe||ae||Oe||le),Et=oe||ie||fe||ue||be||Oe,Re=g(Ve.x),xt=g(Ve.y),ot=Re||xt;let pt=D(re),_t=z(re),ht=V(re),It=q(re),Ft;if(Oe&&j&&o(rU,uve,!gt),Ke&&(Ft=U(gt),$(Ft,Ce)),Et){ot&&o(Op,Ip,!1);const[we,Fe]=F(gt,Pe,Ft),[nt,rt]=pt=M(re),[Ie,$e]=_t=L(re),Ye=ob(r);let mt=Ie,qt=Ye;we(),($e||rt||Oe)&&Fe&&!gt&&B(Fe,Ie,nt,Pe)&&(qt=ob(r),mt=L2(r));const Pt=rve(c),Rt={w:f(Kg(Ie.w,mt.w)+nt.w),h:f(Kg(Ie.h,mt.h)+nt.h)},Xt={w:f((A?Pt.w:qt.w+f(Ye.w-Ie.w))+nt.w),h:f((A?Pt.h:qt.h+f(Ye.h-Ie.h))+nt.h)};It=I(Xt),ht=H(w(Rt,Xt),re)}const[Vt,Ge]=It,[Zt,nr]=ht,[vr,pr]=_t,[Wr,Le]=pt,Dt={x:Zt.w>0,y:Zt.h>0},Ze=Re&&xt&&(Dt.x||Dt.y)||Re&&Dt.x&&!Dt.y||xt&&Dt.y&&!Dt.x;if(ie||ue||be||Le||pr||Ge||nr||ct||Oe||Ke||Et){const we={[R2]:0,[Gg]:0,[A2]:0,[_c]:"",[Sg]:"",[jg]:""},Fe=K(gt,Dt,Ve,we),nt=B(Fe,vr,Wr,Pe);a||Y(Fe,Pe,nt,we),Ke&&$(Fe,Ce),a?(Ra(e,eU,we[Sg]),Ra(e,tU,we[jg])):ga(r,we)}gf(e,Ui,Ip,Ze),gf(t,jj,dve,Ze),a||gf(r,uu,Op,ot);const[Se,je]=_(U(gt).Jt);return sn(u,{Jt:Se,zt:{x:Vt.w,y:Vt.h},Ht:{x:Zt.w,y:Zt.h},Kt:Dt}),{Yt:je,Wt:Ge,Xt:nr}}},Kve=e=>{const[t,r,n]=Uve(e),a={Zt:{t:0,r:0,b:0,l:0},en:!1,D:{[R2]:0,[Gg]:0,[A2]:0,[UB]:0,[VN]:0,[D2]:0,[qN]:0},zt:{x:0,y:0},Ht:{x:0,y:0},Jt:{x:ym,y:ym},Kt:{x:!1,y:!1}},{It:o,it:i,vt:c,_t:u}=t,{H:f,I:h,U:m}=ho(),v=!f&&(h.x||h.y),S=[Wve(t),Vve(t,a),qve(t,a)];return[r,w=>{const g={},C=(v||!m)&&bm(i);return c("",O2,!0),hn(S,j=>{sn(g,j(w,g)||{})}),c("",O2),nd(i,C),!u&&nd(o,0),g},a,t,n]},Gve=(e,t,r,n)=>{const[a,o,i,c,u]=Kve(e),[f,h,m]=$ve(c,C=>{b({},C)}),[v,S,,w]=Bve(e,t,m,i,c,n),g=C=>Nc(C).some(j=>!!C[j]),b=(C,j)=>{const{ln:E,xt:N,$t:T,an:A}=C,M=E||{},D=!!N,L={St:lve(t,M,D),ln:M,xt:D};if(A)return S(L),!1;const z=j||h(sn({},L,{$t:T})),H=o(sn({},L,{sn:m,qt:z}));S(sn({},L,{qt:z,Ft:H}));const V=g(z),I=g(H),q=V||I||!BN(M)||D;return q&&r(C,{qt:z,Ft:H}),q};return[()=>{const{It:C,it:j,Nt:E,Tt:N}=c,T=N?E.documentElement:C,A=bm(T),M=[f(),a(),v()];return nd(j,A),lr(xi,M)},b,()=>({un:m,fn:i}),{_n:c,dn:w},u]},dc=(e,t,r)=>{const{G:n}=ho(),a=qg(e),o=a?e:e.target,i=lU(o);if(t&&!i){let c=!1;const u=[],f={},h=z=>{const H=RB(z,!0),V=e0(jve);return V?V(H,!0):H},m=sn({},n(),h(t)),[v,S,w]=Sj(),[g,b,C]=Sj(r),j=(z,H)=>{C(z,H),w(z,H)},[E,N,T,A,M]=Gve(e,m,({ln:z,xt:H},{qt:V,Ft:I})=>{const{et:q,gt:_,ht:$,bt:U,wt:K,ot:Y}=V,{Wt:B,Xt:F,Yt:G}=I;j("updated",[L,{updateHints:{sizeChanged:!!q,directionChanged:!!_,heightIntrinsicChanged:!!$,overflowEdgeChanged:!!B,overflowAmountChanged:!!F,overflowStyleChanged:!!G,contentMutation:!!U,hostMutation:!!K,appear:!!Y},changedOptions:z||{},force:!!H}])},z=>j("scroll",[L,z])),D=z=>{Lve(o),xi(u),c=!0,j("destroyed",[L,z]),S(),b()},L={options(z,H){if(z){const V=H?n():{},I=ZB(m,sn(V,h(z)));BN(I)||(sn(m,I),N({ln:I}))}return sn({},m)},on:g,off:(z,H)=>{z&&H&&b(z,H)},state(){const{un:z,fn:H}=T(),{rt:V}=z,{zt:I,Ht:q,Jt:_,Kt:$,Zt:U,en:K}=H;return sn({},{overflowEdge:I,overflowAmount:q,overflowStyle:_,hasOverflow:$,padding:U,paddingAbsolute:K,directionRTL:V,destroyed:c})},elements(){const{It:z,lt:H,Zt:V,it:I,ut:q,Et:_,Gt:$}=A._n,{Lt:U,jt:K}=A.dn,Y=F=>{const{Ct:G,Ot:X,Dt:se}=F;return{scrollbar:se,track:X,handle:G}},B=F=>{const{Vt:G,Ut:X}=F,se=Y(G[0]);return sn({},se,{clone:()=>{const re=Y(X());return N({an:!0}),re}})};return sn({},{target:z,host:H,padding:V||I,viewport:I,content:q||I,scrollOffsetElement:_,scrollEventElement:$,scrollbarHorizontal:B(U),scrollbarVertical:B(K)})},update:z=>N({xt:z,$t:!0}),destroy:lr(D,!1),plugin:z=>f[Nc(z)[0]]};return dn(u,[M]),Rve(o,L),oU(sU,dc,[L,v,f]),Ave(A._n.Tt,!a&&e.cancel)?(D(!0),L):(dn(u,E()),j("initialized",[L]),L.update(!0),L)}return i};dc.plugin=e=>{const t=vi(e),r=t?e:[e],n=r.map(a=>oU(a,dc)[0]);return Sve(r),t?n:n[0]};dc.valid=e=>{const t=e&&e.elements,r=Ol(t)&&t();return N2(r)&&!!lU(r.target)};dc.env=()=>{const{P:e,I:t,H:r,V:n,U:a,A:o,L:i,F:c,W:u,j:f,N:h,G:m,q:v}=ho();return sn({},{scrollbarsSize:e,scrollbarsOverlaid:t,scrollbarsHiding:r,rtlScrollBehavior:n,flexboxGlue:a,cssCustomProperties:o,scrollTimeline:i,staticDefaultInitialization:c,staticDefaultOptions:u,getDefaultInitialization:f,setDefaultInitialization:h,getDefaultOptions:m,setDefaultOptions:v})};const Yve=()=>{if(typeof window>"u"){const f=()=>{};return[f,f]}let e,t;const r=window,n=typeof r.requestIdleCallback=="function",a=r.requestAnimationFrame,o=r.cancelAnimationFrame,i=n?r.requestIdleCallback:a,c=n?r.cancelIdleCallback:o,u=()=>{c(e),o(t)};return[(f,h)=>{u(),e=i(n?()=>{u(),t=a(f)}:f,typeof h=="object"?h:{timeout:2233})},u]},Zve=e=>{const{options:t,events:r,defer:n}=e||{},[a,o]=p.useMemo(Yve,[]),i=p.useRef(null),c=p.useRef(n),u=p.useRef(t),f=p.useRef(r);return p.useEffect(()=>{c.current=n},[n]),p.useEffect(()=>{const{current:h}=i;u.current=t,dc.valid(h)&&h.options(t||{},!0)},[t]),p.useEffect(()=>{const{current:h}=i;f.current=r,dc.valid(h)&&h.on(r||{},!0)},[r]),p.useEffect(()=>()=>{var h;o(),(h=i.current)==null||h.destroy()},[]),p.useMemo(()=>[h=>{const m=i.current;if(dc.valid(m))return;const v=c.current,S=u.current||{},w=f.current||{},g=()=>i.current=dc(h,S,w);v?a(g,v):g()},()=>i.current],[])},Xve=(e,t)=>{const S=e,{element:r="div",options:n,events:a,defer:o,children:i}=S,c=ke(S,["element","options","events","defer","children"]),u=r,f=p.useRef(null),h=p.useRef(null),[m,v]=Zve({options:n,events:a,defer:o});return p.useEffect(()=>{const{current:w}=f,{current:g}=h;return w&&g&&m({target:w,elements:{viewport:g,content:g}}),()=>{var b;return(b=v())==null?void 0:b.destroy()}},[m,r]),p.useImperativeHandle(t,()=>({osInstance:v,getElement:()=>f.current}),[]),jt.createElement(u,R({"data-overlayscrollbars-initialize":"",ref:f},c),jt.createElement("div",{"data-overlayscrollbars-contents":"",ref:h},i))},Lf=p.forwardRef(Xve),dU=n=>{var a=n,{size:e="20",color:t="currentColor"}=a,r=ke(a,["size","color"]);return s.jsxs("svg",ee(R({width:e,height:e,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{children:[s.jsx("path",{d:"M10 17.5C14.1421 17.5 17.5 14.1421 17.5 10C17.5 5.85786 14.1421 2.5 10 2.5C5.85786 2.5 2.5 5.85786 2.5 10C2.5 14.1421 5.85786 17.5 10 17.5Z",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.jsx("path",{d:"M10 6.66669V10",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.jsx("path",{d:"M10 13.3333H10.0088",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))};function Ji(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}const[Ek,O_e]=wa("Tooltip",[ud]),QN=ud(),Qve="TooltipProvider",Jve=700,_j="tooltip.open",[e1e,JN]=Ek(Qve),t1e=e=>{const{__scopeTooltip:t,delayDuration:r=Jve,skipDelayDuration:n=300,disableHoverableContent:a=!1,children:o}=e,[i,c]=p.useState(!0),u=p.useRef(!1),f=p.useRef(0);return p.useEffect(()=>{const h=f.current;return()=>window.clearTimeout(h)},[]),p.createElement(e1e,{scope:t,isOpenDelayed:i,delayDuration:r,onOpen:p.useCallback(()=>{window.clearTimeout(f.current),c(!1)},[]),onClose:p.useCallback(()=>{window.clearTimeout(f.current),f.current=window.setTimeout(()=>c(!0),n)},[n]),isPointerInTransitRef:u,onPointerInTransitChange:p.useCallback(h=>{u.current=h},[]),disableHoverableContent:a},o)},e_="Tooltip",[r1e,z1]=Ek(e_),n1e=e=>{const{__scopeTooltip:t,children:r,open:n,defaultOpen:a=!1,onOpenChange:o,disableHoverableContent:i,delayDuration:c}=e,u=JN(e_,e.__scopeTooltip),f=QN(t),[h,m]=p.useState(null),v=Ws(),S=p.useRef(0),w=i!=null?i:u.disableHoverableContent,g=c!=null?c:u.delayDuration,b=p.useRef(!1),[C=!1,j]=ra({prop:n,defaultProp:a,onChange:M=>{M?(u.onOpen(),document.dispatchEvent(new CustomEvent(_j))):u.onClose(),o==null||o(M)}}),E=p.useMemo(()=>C?b.current?"delayed-open":"instant-open":"closed",[C]),N=p.useCallback(()=>{window.clearTimeout(S.current),b.current=!1,j(!0)},[j]),T=p.useCallback(()=>{window.clearTimeout(S.current),j(!1)},[j]),A=p.useCallback(()=>{window.clearTimeout(S.current),S.current=window.setTimeout(()=>{b.current=!0,j(!0)},g)},[g,j]);return p.useEffect(()=>()=>window.clearTimeout(S.current),[]),p.createElement(T1,f,p.createElement(r1e,{scope:t,contentId:v,open:C,stateAttribute:E,trigger:h,onTriggerChange:m,onTriggerEnter:p.useCallback(()=>{u.isOpenDelayed?A():N()},[u.isOpenDelayed,A,N]),onTriggerLeave:p.useCallback(()=>{w?T():window.clearTimeout(S.current)},[T,w]),onOpen:N,onClose:T,disableHoverableContent:w},r))},pD="TooltipTrigger",s1e=p.forwardRef((e,t)=>{const v=e,{__scopeTooltip:r}=v,n=ke(v,["__scopeTooltip"]),a=z1(pD,r),o=JN(pD,r),i=QN(r),c=p.useRef(null),u=Zr(t,c,a.onTriggerChange),f=p.useRef(!1),h=p.useRef(!1),m=p.useCallback(()=>f.current=!1,[]);return p.useEffect(()=>()=>document.removeEventListener("pointerup",m),[m]),p.createElement(Zw,Ue({asChild:!0},i),p.createElement(cr.button,Ue({"aria-describedby":a.open?a.contentId:void 0,"data-state":a.stateAttribute},n,{ref:u,onPointerMove:wt(e.onPointerMove,S=>{S.pointerType!=="touch"&&!h.current&&!o.isPointerInTransitRef.current&&(a.onTriggerEnter(),h.current=!0)}),onPointerLeave:wt(e.onPointerLeave,()=>{a.onTriggerLeave(),h.current=!1}),onPointerDown:wt(e.onPointerDown,()=>{f.current=!0,document.addEventListener("pointerup",m,{once:!0})}),onFocus:wt(e.onFocus,()=>{f.current||a.onOpen()}),onBlur:wt(e.onBlur,a.onClose),onClick:wt(e.onClick,a.onClose)})))}),fU="TooltipPortal",[a1e,o1e]=Ek(fU,{forceMount:void 0}),hU=e=>{const{__scopeTooltip:t,forceMount:r,children:n,container:a}=e,o=z1(fU,t);return p.createElement(a1e,{scope:t,forceMount:r},p.createElement(xo,{present:r||o.open},p.createElement(Dc,{asChild:!0,container:a},n)))},Uv="TooltipContent",i1e=p.forwardRef((e,t)=>{const r=o1e(Uv,e.__scopeTooltip),c=e,{forceMount:n=r.forceMount,side:a="top"}=c,o=ke(c,["forceMount","side"]),i=z1(Uv,e.__scopeTooltip);return p.createElement(xo,{present:n||i.open},i.disableHoverableContent?p.createElement(pU,Ue({side:a},o,{ref:t})):p.createElement(l1e,Ue({side:a},o,{ref:t})))}),l1e=p.forwardRef((e,t)=>{const r=z1(Uv,e.__scopeTooltip),n=JN(Uv,e.__scopeTooltip),a=p.useRef(null),o=Zr(t,a),[i,c]=p.useState(null),{trigger:u,onClose:f}=r,h=a.current,{onPointerInTransitChange:m}=n,v=p.useCallback(()=>{c(null),m(!1)},[m]),S=p.useCallback((w,g)=>{const b=w.currentTarget,C={x:w.clientX,y:w.clientY},j=u1e(C,b.getBoundingClientRect()),E=d1e(C,j),N=f1e(g.getBoundingClientRect()),T=p1e([...E,...N]);c(T),m(!0)},[m]);return p.useEffect(()=>()=>v(),[v]),p.useEffect(()=>{if(u&&h){const w=b=>S(b,h),g=b=>S(b,u);return u.addEventListener("pointerleave",w),h.addEventListener("pointerleave",g),()=>{u.removeEventListener("pointerleave",w),h.removeEventListener("pointerleave",g)}}},[u,h,S,v]),p.useEffect(()=>{if(i){const w=g=>{const b=g.target,C={x:g.clientX,y:g.clientY},j=(u==null?void 0:u.contains(b))||(h==null?void 0:h.contains(b)),E=!h1e(C,i);j?v():E&&(v(),f())};return document.addEventListener("pointermove",w),()=>document.removeEventListener("pointermove",w)}},[u,h,i,f,v]),p.createElement(pU,Ue({},e,{ref:o}))}),[c1e,$_e]=Ek(e_,{isInside:!1}),pU=p.forwardRef((e,t)=>{const m=e,{__scopeTooltip:r,children:n,"aria-label":a,onEscapeKeyDown:o,onPointerDownOutside:i}=m,c=ke(m,["__scopeTooltip","children","aria-label","onEscapeKeyDown","onPointerDownOutside"]),u=z1(Uv,r),f=QN(r),{onClose:h}=u;return p.useEffect(()=>(document.addEventListener(_j,h),()=>document.removeEventListener(_j,h)),[h]),p.useEffect(()=>{if(u.trigger){const v=S=>{const w=S.target;w!=null&&w.contains(u.trigger)&&h()};return window.addEventListener("scroll",v,{capture:!0}),()=>window.removeEventListener("scroll",v,{capture:!0})}},[u.trigger,h]),p.createElement(Wm,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:i,onFocusOutside:v=>v.preventDefault(),onDismiss:h},p.createElement(Xw,Ue({"data-state":u.stateAttribute},f,c,{ref:t,style:ee(R({},c.style),{"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-tooltip-content-available-width":"var(--radix-popper-available-width)","--radix-tooltip-content-available-height":"var(--radix-popper-available-height)","--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)","--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"})}),p.createElement(GO,null,n),p.createElement(c1e,{scope:r,isInside:!0},p.createElement(Yde,{id:u.contentId,role:"tooltip"},a||n))))});function u1e(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),a=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(r,n,a,o)){case o:return"left";case a:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function d1e(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function f1e(e){const{top:t,right:r,bottom:n,left:a}=e;return[{x:a,y:t},{x:r,y:t},{x:r,y:n},{x:a,y:n}]}function h1e(e,t){const{x:r,y:n}=e;let a=!1;for(let o=0,i=t.length-1;on!=h>n&&r<(f-c)*(n-u)/(h-u)+c&&(a=!a)}return a}function p1e(e){const t=e.slice();return t.sort((r,n)=>r.xn.x?1:r.yn.y?1:0),m1e(t)}function m1e(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n=2;){const o=t[t.length-1],i=t[t.length-2];if((o.x-i.x)*(a.y-i.y)>=(o.y-i.y)*(a.x-i.x))t.pop();else break}t.push(a)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const a=e[n];for(;r.length>=2;){const o=r[r.length-1],i=r[r.length-2];if((o.x-i.x)*(a.y-i.y)>=(o.y-i.y)*(a.x-i.x))r.pop();else break}r.push(a)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}const t_=t1e,r_=n1e,n_=s1e,mU=hU,Nk=i1e,Be=E=>{var N=E,{children:e,text:t,open:r,isCompact:n,showFullText:a,isDisabled:o,defaultOpen:i,onOpenChange:c,delayDuration:u,noPortal:f=!1,align:h="center",alignOffset:m=0,sideOffset:v=4,maxWidth:S=220,className:w,classNameTrigger:g,side:b,onClick:C}=N,j=ke(N,["children","text","open","isCompact","showFullText","isDisabled","defaultOpen","onOpenChange","delayDuration","noPortal","align","alignOffset","sideOffset","maxWidth","className","classNameTrigger","side","onClick"]);if(o)return s.jsx("span",{className:g,children:e});const T=f?p.Fragment:mU;return s.jsx(t_,{delayDuration:u,children:s.jsxs(r_,{open:r,defaultOpen:i,onOpenChange:c,delayDuration:u,children:[s.jsx(n_,{onClick:C,asChild:!0,children:s.jsx("span",{className:g,children:e})}),s.jsx(T,{children:s.jsx(Nk,ee(R({side:b!=null?b:"top",sideOffset:v,alignOffset:m,align:h,className:hr("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",n&&"!px-1.5 !py-0.5 text-xs shadow-sm ",w)},j),{style:ee(R({},j.style),{maxWidth:S}),children:s.jsx("div",{className:"max-w-[".concat(S,"px] ").concat(a?"whitespace-pre-wrap":"overflow-hidden text-ellipsis line-clamp-4"),children:t})}))})]})})},g1e=t_,gU=r_,vU=n_,s_=p.forwardRef((a,n)=>{var o=a,{className:e,sideOffset:t=4}=o,r=ke(o,["className","sideOffset"]);return s.jsx(Nk,R({ref:n,sideOffset:t,className:Nt("z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",e)},r))});s_.displayName=Nk.displayName;function v1e({historyId:e,description:t,favicon:r,isPreview:n,image:a,noBorder:o=!1,imageWidth:i=24,title:c,domain:u,link:f,isDisabled:h}){const{t:m}=Tt(),{removeLinkMetaData:v,generateLinkMetaData:S}=dt(pi),w=gr();return s.jsxs("div",{className:"w-full relative max-w-full flex select-none bg-white/80 rounded-md dark:bg-gray-800 border-slate-100 dark:border-slate-700/80 ".concat(o?"":"border"," ").concat(h?"opacity-40 pointer-events-none bg-gray-100 dark:bg-gray-900":""),children:[a&&s.jsx("div",{className:"h-auto w-".concat(i," flex-none bg-cover text-center overflow-hidden"),style:{backgroundImage:"url('".concat(a,"')")}}),s.jsxs("div",{className:"px-3 py-2 flex flex-col justify-between leading-normal overflow-clip w-full",children:[s.jsx("div",{className:"text-gray-900 dark:text-gray-300 font-semibold text-lg line-clamp-2 leading-tight hover:underline cursor-pointer",onClick:()=>{f&&fi(_n(f))},title:c!=null?c:"",children:c}),t&&s.jsx("p",{className:"text-gray-700 dark:text-gray-400 text-md line-clamp-2 mt-2",title:t,children:t}),u&&s.jsxs("div",{className:"flex items-center mt-2",children:[r&&s.jsx("img",{className:"w-[16px] h-[16px] mr-2",src:r}),s.jsx("p",{className:"text-gray-400 dark:text-gray-500 text-sm font-semibold cursor-pointer hover:underline",onClick:()=>{fi(_n(u))},title:"".concat(m("Open",{ns:"common"})," ").concat(u),children:u})]}),s.jsx("div",{className:"flex items-center absolute bottom-0 right-0 dark:text-slate-500 cursor-pointer border-0 border-red-200",children:n&&e?s.jsxs(un,{className:"dark:hover:text-blue-500 text-slate-500 hover:text-blue-600 hover:bg-transparent px-3 py-2",title:m("Add Link Card",{ns:"common"}),onClick:()=>pe(this,null,function*(){yield S(e.toString(),_n(f)),w.invalidateQueries({queryKey:["get_clipboard_history"]}),w.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})}),children:[s.jsx(Fn,{size:12,className:"mr-[2px]"}),s.jsx(Dv,{size:14})]}):e&&s.jsx(un,{className:"dark:hover:text-red-500 text-slate-300 dark:text-slate-600 hover:text-red-600 hover:bg-transparent px-3 py-2",title:m("Remove Link Card",{ns:"common"}),onClick:()=>pe(this,null,function*(){yield v(e.toString()),w.invalidateQueries({queryKey:["get_clipboard_history"]}),w.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})}),children:s.jsx(br,{size:14})})})]})]})}const t0=p.memo(v1e);function x1e({itemId:e,historyId:t,generateLinkUrl:r}){const{generateLinkMetaData:n}=dt(pi),a=We({linkTitle:null,linkFavicon:null,linkDescription:null,linkUrl:null,linkDomain:null,linkImage:null});return p.useEffect(()=>{var o;r&&a.value.linkTitle===null&&((o=n("previewOnly",_n(r),!0))==null||o.then(i=>{i&&(a.value=i)}))},[]),!a.value.linkTitle&&!a.value.linkDescription?null:s.jsx(Q,{className:"max-w-md dark:border-slate-900/20 border-transparent border rounded-md",children:s.jsx(t0,{title:a.value.linkTitle,description:a.value.linkDescription,favicon:a.value.linkFavicon,noBorder:!0,link:r,isPreview:!0,historyId:t,itemId:e,image:a.value.linkImage,domain:a.value.linkDomain})})}function Nl(e,t){if(!e)return"";const r=e.split(new RegExp("(".concat(t,")"),"gi"));return s.jsx("span",{children:r.map((n,a)=>n.toLowerCase()===t.toLowerCase()?s.jsx("span",{className:"bg-yellow-300 dark:bg-amber-400 dark:text-black",children:n},a):n)})}function vS(e,t,r=160){if(!e)return"";const n=new RegExp("(".concat(t,")"),"gi"),a=e.split(n),o=a.findIndex(f=>f.toLowerCase()===t.toLowerCase());let i=0;for(o!==-1&&(i=Math.max(a.slice(0,o).join("").length-Math.floor(r/2),0));i>0&&e[i-1]!==" "&&e[i-1]!=="\n";)i--;const c=Math.min(i+r,e.length),u=e.slice(i,c).split(n);return s.jsx("span",{children:u.map((f,h)=>f.toLowerCase()===t.toLowerCase()?s.jsx("span",{className:"bg-yellow-300 dark:bg-amber-400 dark:text-black",children:f},h):f)})}function If(e,t){return!e||!Array.isArray(t)||!t.length?e:t.reduce((n,a)=>{const o=a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");return n.flatMap(i=>typeof i=="string"?i.split(new RegExp("(".concat(o,")"),"g")):i)},[e]).map((n,a)=>t.includes(n)?s.jsx("span",{className:"underline cursor-pointer text-blue-700 dark:text-blue-400",onClick:()=>{fi(_n(n))},children:n},a):n)}function y1e({value:e,links:t,previewLinkCard:r,historyId:n,itemId:a}){return!e||!Array.isArray(t)||!t.length?e:t.reduce((i,c)=>{const u=c.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&");return i.flatMap(f=>typeof f=="string"?f.split(new RegExp("(".concat(u,")"),"g")):f)},[e]).map((i,c)=>t.includes(i)?r?s.jsxs(gU,{children:[s.jsx(vU,{asChild:!0,children:s.jsx("span",{className:"underline cursor-pointer text-blue-700 dark:text-blue-400",onClick:()=>{fi(_n(i))},children:i})}),s.jsx(hU,{children:s.jsx(s_,{className:"px-0 py-0 duration-300",align:"start",children:s.jsx(x1e,{generateLinkUrl:i,itemId:a,historyId:n})})})]},c):s.jsx("span",{className:"underline cursor-pointer text-blue-700 dark:text-blue-400",onClick:()=>{fi(_n(i))},children:i},c):i)}const a_=p.memo(p.forwardRef((n,r)=>{var a=n,{className:e}=a,t=ke(a,["className"]);return s.jsx("div",R({ref:r,className:Nt("rounded-lg border bg-card text-card-foreground shadow-sm",e)},t))})),b1e=p.memo(p.forwardRef((n,r)=>{var a=n,{className:e}=a,t=ke(a,["className"]);return s.jsx("div",R({ref:r,className:Nt("flex flex-col space-y-1.5 p-6",e)},t))})),w1e=p.memo(r=>{var n=r,{className:e}=n,t=ke(n,["className"]);return s.jsx("div",R({className:Nt("flex flex-col space-y-1.5 p-6",e)},t))});p.memo(r=>{var n=r,{className:e}=n,t=ke(n,["className"]);return s.jsx("h3",R({className:Nt("text-2xl font-semibold leading-none tracking-tight",e)},t))});p.memo(r=>{var n=r,{className:e}=n,t=ke(n,["className"]);return s.jsx("p",R({className:Nt("text-sm text-muted-foreground",e)},t))});const eh=p.memo(r=>{var n=r,{className:e}=n,t=ke(n,["className"]);return s.jsx("div",R({className:Nt("p-6 pt-0",e)},t))});p.memo(r=>{var n=r,{className:e}=n,t=ke(n,["className"]);return s.jsx("div",R({className:Nt("flex items-center p-6 pt-0",e)},t))});function k1e({boardName:e,boardId:t}){const{t:r}=Tt(),n=We(!1),a=We(!1),{currentCollectionId:o,isBoardHasChildren:i}=dt(Tn),{deleteItemById:c}=vk();return s.jsxs(xa,{defaultOpen:!1,open:a.value||n.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(ye,{variant:"light",title:r("Delete board",{ns:"dashboard"}),onClick:()=>{i(t)?n.value=!0:a.value=!0},className:"px-2.5 ".concat(i(t)?"text-primary/30 hover:text-primary/50 hover:bg-amber-100 dark:hover:bg-amber-900":"text-red-400 hover:text-red-500 hover:bg-red-100 dark:text-red-600 dark:hover:bg-red-900 opacity-80 hover:opacity-100"," animate-in fade-in bg-gray-50 cursor-pointer"),children:s.jsx(xn,{size:16})})}),s.jsx(ea,{sideOffset:16,align:"center",className:"p-3 ".concat(n.value?"bg-amber-100 border-amber-200 dark:bg-yellow-800 dark:border-gray-900":"bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950"," w-60"),onEscapeKeyDown:()=>{a.value=!1,n.value=!1},onPointerDownOutside:()=>{a.value=!1,n.value=!1},children:n.value?s.jsxs(me,{className:"flex-col",children:[s.jsx(J,{justify:"left",size:"md",weight:"bold",color:"waning",children:r("Board is Not Empty",{ns:"dashboard"})}),s.jsx(kr,{h:1}),s.jsx(J,{color:"black",size:"sm",children:r("You'll need to clear this board of all clips and subboards before it can be deleted.",{ns:"dashboard"})}),s.jsx(kr,{h:3}),s.jsx(ye,{variant:"secondary",size:"mini",className:"py-1 px-4 bg-gray-200 dark:bg-gray-700 dark:hover:bg-gray-700/80",onClick:()=>{n.value=!1},children:r("Got it",{ns:"common"})})]}):a.value&&s.jsxs(me,{className:"flex-col",children:[s.jsx(J,{color:"black",size:"sm",className:"!inline-block text-center",children:s.jsx(ss,{i18nKey:"Are you sure you want to delete {{boardName}} board?",values:{boardName:e},ns:"dashboard"})}),s.jsx(kr,{h:3}),s.jsxs(me,{children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 dark:hover:text-gray-400 hover:text-gray-600 mr-3 border-gray-100 hover:border-gray-200 dark:bg-gray-900 dark:border-gray-900 dark:hover:border-gray-900 dark:hover:bg-gray-800",onClick:()=>{a.value=!1},children:r("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-red-100 whitespace-nowrap hover:bg-opacity-80 hover:bg-red-200 text-red-500 hover:text-red-600 border-red-200 dark:bg-red-900 dark:border-red-900 dark:hover:border-red-900 dark:hover:bg-red-800 dark:text-red-300 dark:hover:text-red-200",onClick:()=>{c({itemId:t,collectionId:o})},children:r("Delete Board",{ns:"dashboard"})})]})]})})]})}var xU=function(e){var t=e!=null?e:{},r=t.ref,n=t.sensitivity,a=n===void 0?6:n,o=t.interval,i=o===void 0?100:o,c=t.timeout,u=c===void 0?0:c,f=p.useRef(null),h=p.useState(!1),m=h[0],v=h[1],S=0,w=0,g=0,b=0,C=0,j=function(M){return C&&clearTimeout(C),v(!1)},E=function(M){S=M.clientX,w=M.clientY},N=function(M){if(C&&clearTimeout(C),Math.abs(g-S)+Math.abs(b-w)s.jsx("div",{className:hr("flex items-center justify-center",{"h-[34px] w-[34px]":e==="large"},{"h-[32px] w-[32px]":e==="medium"},{"h-[28px] w-[28px]":e==="small"}),children:s.jsxs("svg",{"aria-hidden":"true",className:"w-8 h-8 mr-2 text-gray-200 animate-spin dark:text-gray-600 fill-blue-500",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),s.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})});function C1e({board:e,isNewClip:t,isCreatingClip:r}){const{t:n}=Tt(),{setNodeRef:a,isOver:o}=Lw({id:e.id,data:{type:"board",board:e}}),[i,c]=xU({timeout:100,sensitivity:500,interval:100});return s.jsx(a_,{className:"bg-secondary flex flex-col flex-shrink-0 m-2",onClick:()=>{o||t&&(kl.value=e.id,fa.value=null)},ref:Ji(t?c:null),children:s.jsx(eh,{className:"overflow-hidden m-0 p-0 ",children:s.jsx(Q,{className:"flex flex-grow flex-col gap-3 overflow-hidden p-1",children:s.jsx(Q,{ref:a,className:"flex flex-row items-center justify-center border-2 border-dashed rounded-md w-full h-12 ".concat(i?"cursor-pointer":""," ").concat(o||i?"bg-slate-50/50 dark:bg-slate-700/50 border-blue-400":"bg-slate-50 dark:bg-slate-700 border-slate-200 dark:border-slate-500"),children:r?s.jsx(_k,{}):s.jsx(J,{className:"!text-sm !font-medium !text-blue-500 text-center",children:o?n("Drop To Add",{ns:"dashboard"}):i?n("Click To Add",{ns:"dashboard"}):s.jsx(Fn,{size:23,className:"".concat(o||i?"text-blue-400":"text-slate-400")})})})})})})}const S1e=p.memo(C1e),j1e=n=>{var a=n,{size:e="16",color:t="currentColor"}=a,r=ke(a,["size","color"]);return s.jsx("svg",ee(R({width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{children:s.jsx("path",{d:"M3.33301 8H12.6663",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}))},E1e=n=>{var a=n,{size:e="20",color:t="currentColor"}=a,r=ke(a,["size","color"]);return s.jsxs("svg",ee(R({width:e,height:e,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{children:[s.jsx("path",{d:"M10 4.16667V15.8333",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.jsx("path",{d:"M4.16699 10H15.8337",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))},N1e=n=>{var a=n,{size:e="16",color:t="currentColor"}=a,r=ke(a,["size","color"]);return s.jsxs("svg",ee(R({width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{children:[s.jsx("path",{d:"M8 14C11.3137 14 14 11.3137 14 8C14 4.68629 11.3137 2 8 2C4.68629 2 2 4.68629 2 8C2 11.3137 4.68629 14 8 14Z",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.jsx("path",{d:"M8 10.6667V8",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.jsx("path",{d:"M8 5.33331H8.0075",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))},_1e=n=>{var a=n,{size:e="24px",color:t="currentColor"}=a,r=ke(a,["size","color"]);return s.jsxs("svg",ee(R({width:e,height:e,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{children:[s.jsx("path",{d:"M10 17.5C14.1421 17.5 17.5 14.1421 17.5 10C17.5 5.85786 14.1421 2.5 10 2.5C5.85786 2.5 2.5 5.85786 2.5 10C2.5 14.1421 5.85786 17.5 10 17.5Z",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.jsx("path",{d:"M12.5 7.5L7.5 12.5",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.jsx("path",{d:"M7.5 7.5L12.5 12.5",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))},T1e=a=>{var o=a,{type:e="info",size:t=16,content:r}=o,n=ke(o,["type","size","content"]);const i=c=>{switch(c){case"warning":return s.jsx(dU,{size:t,className:"text-orange-40 flex"});case"error":return s.jsx(_1e,{size:t,className:"text-rose-40 flex"});default:return s.jsx(N1e,{size:t,className:"text-grey-40 flex"})}};return s.jsx(Be,ee(R({content:r},n),{children:i(e)}))},o_=({label:e,required:t=!1,tooltipContent:r,tooltip:n,className:a})=>s.jsxs("div",{className:hr("inter-small-semibold text-grey-50 flex w-full items-center",a),children:[s.jsx("label",{children:e}),t&&s.jsx("div",{className:"text-rose-50 ",children:" *"}),n||r?s.jsx("div",{className:"ml-1.5 flex",children:n||s.jsx(T1e,{content:r})}):null]}),er=p.forwardRef((D,M)=>{var L=D,{small:e,placeholder:t,label:r,name:n="",autoFocus:a=!1,required:o,deletable:i,numbersOnly:c,onDelete:u,onChange:f,onFocus:h,isPassword:m,showHidePassword:v=!1,tooltipContent:S,tooltip:w,prefix:g,suffix:b,error:C,errorElement:j,props:E,className:N,classNameInput:T}=L,A=ke(L,["small","placeholder","label","name","autoFocus","required","deletable","numbersOnly","onDelete","onChange","onFocus","isPassword","showHidePassword","tooltipContent","tooltip","prefix","suffix","error","errorElement","props","className","classNameInput"]);const z=p.useRef(null),[H,V]=p.useState(!1);p.useImperativeHandle(M,()=>z.current),p.useEffect(()=>{z.current&&a&&setTimeout(()=>{var _;(_=z.current)==null||_.focus()},200)},[a]);const I=()=>{var _,$;(_=z.current)==null||_.stepUp(),f&&(($=z.current)==null||$.dispatchEvent(new InputEvent("change",{view:window,bubbles:!0,cancelable:!1})))},q=()=>{var _,$;(_=z.current)==null||_.stepDown(),f&&(($=z.current)==null||$.dispatchEvent(new InputEvent("change",{view:window,bubbles:!0,cancelable:!1})))};return s.jsxs("div",ee(R({className:hr("w-full",N)},E),{children:[r&&s.jsx(o_,{label:r,required:o,tooltipContent:S,tooltip:w,className:"mb-0.5 text-slate-400 font-light text-xs ml-1 uppercase"}),s.jsxs("div",{className:"relative",children:[g?s.jsx("span",{className:"text-grey-40 mr-2xsmall",children:g}):null,s.jsx("input",R({className:hr("bg-grey-5 border-gray-20 px-small py-xsmall rounded rounded-rounded flex w-full items-center border","focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500","remove-number-spinner px-3 leading-base text-grey-90 caret-violet-60 placeholder-grey-40 w-full bg-transparent font-normal outline-none outline-0",{"focus:ring-red-500 focus:border-red-500 border-red-400 dark:focus:ring-red-500 dark:focus:border-red-500 dark:border-red-400":C||j},e?"h-8":"h-10",{"!pr-8":v},{"text-small":e,"pt-[1px]":e},T),ref:z,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",type:m&&H?"text":m&&!H?"password":"text",name:n,placeholder:t||(r?"".concat(r,"..."):void 0),onChange:_=>{c&&(_.target.value=_.target.value.replace(/\D/g,"")),f&&f(_)},onFocus:h,required:o},A)),b?s.jsx("span",{className:"mx-2xsmall text-grey-40",children:b}):null,v&&s.jsx("button",{tabIndex:-1,className:"mx-2xsmall text-grey-40 absolute right-2.5 top-0 bottom-0 flex items-center justify-center",onClick:()=>{V(_=>!_)},children:H?s.jsx("svg",{viewBox:"0 0 15 15",fill:"none",width:15,height:15,children:s.jsx("path",{d:"M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L10.6828 3.61012C9.70652 3.21671 8.63759 3 7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C0.902945 9.08812 2.02314 10.1861 3.36061 10.9323L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L4.31723 11.3899C5.29348 11.7833 6.36241 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C14.0971 5.9119 12.9769 4.81391 11.6394 4.06771L13.3536 2.35355ZM9.90428 4.38861C9.15332 4.1361 8.34759 4 7.5 4C4.80285 4 2.52952 5.37816 1.09622 7.50001C1.87284 8.6497 2.89609 9.58106 4.09974 10.1931L9.90428 4.38861ZM5.09572 10.6114L10.9003 4.80685C12.1039 5.41894 13.1272 6.35031 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11C6.65241 11 5.84668 10.8639 5.09572 10.6114Z",fill:"currentColor",fillRule:"evenodd"})}):s.jsx("svg",{viewBox:"0 0 15 15",fill:"none",width:15,height:15,children:s.jsx("path",{d:"M7.5 11C4.80285 11 2.52952 9.62184 1.09622 7.50001C2.52952 5.37816 4.80285 4 7.5 4C10.1971 4 12.4705 5.37816 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11ZM7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C1.65639 10.2936 4.30786 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C13.3436 4.70638 10.6921 3 7.5 3ZM7.5 9.5C8.60457 9.5 9.5 8.60457 9.5 7.5C9.5 6.39543 8.60457 5.5 7.5 5.5C6.39543 5.5 5.5 6.39543 5.5 7.5C5.5 8.60457 6.39543 9.5 7.5 9.5Z",fill:"currentColor",fillRule:"evenodd"})})}),i&&s.jsx("button",{onClick:u,className:"text-grey-50 hover:bg-grey-10 focus:bg-grey-20 rounded-soft ml-2 flex h-4 w-4 cursor-pointer items-center justify-center pb-px outline-none",type:"button",children:"×"}),A.type==="number"&&s.jsxs("div",{className:"h-full self-end absolute right-2.5 top-0 bottom-0 flex items-center justify-center",children:[s.jsx("button",{onClick:q,onMouseDown:_=>_.preventDefault(),className:"text-grey-50 hover:bg-grey-10 focus:bg-grey-20 rounded-soft mr-2 h-4 w-4 cursor-pointer outline-none",type:"button",tabIndex:-1,children:s.jsx(j1e,{size:16})}),s.jsx("button",{onMouseDown:_=>_.preventDefault(),onClick:I,className:"text-grey-50 hover:bg-grey-10 focus:bg-grey-20 rounded-soft h-4 w-4 cursor-pointer outline-none",type:"button",tabIndex:-1,children:s.jsx(E1e,{size:16})})]})]}),C&&!j?s.jsx("div",{className:hr("text-sm animate fade-in text-red-400",N),children:s.jsx("p",{children:C})}):j&&s.jsx("div",{className:hr("text-sm animate fade-in",N),children:j})]}))});er.displayName="InputField";function P1e(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}var M1e=p.useLayoutEffect,D1e=function(t){var r=p.useRef(t);return M1e(function(){r.current=t}),r},mD=function(t,r){if(typeof t=="function"){t(r);return}t.current=r},A1e=function(t,r){var n=p.useRef();return p.useCallback(function(a){t.current=a,n.current&&mD(n.current,null),n.current=r,r&&mD(r,a)},[r])},gD={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},R1e=function(t){Object.keys(gD).forEach(function(r){t.style.setProperty(r,gD[r],"important")})},vD=R1e,Na=null,xD=function(t,r){var n=t.scrollHeight;return r.sizingStyle.boxSizing==="border-box"?n+r.borderSize:n-r.paddingSize};function L1e(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),Na||(Na=document.createElement("textarea"),Na.setAttribute("tabindex","-1"),Na.setAttribute("aria-hidden","true"),vD(Na)),Na.parentNode===null&&document.body.appendChild(Na);var a=e.paddingSize,o=e.borderSize,i=e.sizingStyle,c=i.boxSizing;Object.keys(i).forEach(function(v){var S=v;Na.style[S]=i[S]}),vD(Na),Na.value=t;var u=xD(Na,e);Na.value=t,u=xD(Na,e),Na.value="x";var f=Na.scrollHeight-a,h=f*r;c==="border-box"&&(h=h+a+o),u=Math.max(h,u);var m=f*n;return c==="border-box"&&(m=m+a+o),u=Math.min(m,u),[u,f]}var yD=function(){},I1e=function(t,r){return t.reduce(function(n,a){return n[a]=r[a],n},{})},O1e=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],$1e=!!document.documentElement.currentStyle,z1e=function(t){var r=window.getComputedStyle(t);if(r===null)return null;var n=I1e(O1e,r),a=n.boxSizing;if(a==="")return null;$1e&&a==="border-box"&&(n.width=parseFloat(n.width)+parseFloat(n.borderRightWidth)+parseFloat(n.borderLeftWidth)+parseFloat(n.paddingRight)+parseFloat(n.paddingLeft)+"px");var o=parseFloat(n.paddingBottom)+parseFloat(n.paddingTop),i=parseFloat(n.borderBottomWidth)+parseFloat(n.borderTopWidth);return{sizingStyle:n,paddingSize:o,borderSize:i}},F1e=z1e;function yU(e,t,r){var n=D1e(r);p.useLayoutEffect(function(){var a=function(i){return n.current(i)};if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}var H1e=function(t){yU(window,"resize",t)},B1e=function(t){yU(document.fonts,"loadingdone",t)},U1e=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],W1e=function(t,r){var n=t.cacheMeasurements,a=t.maxRows,o=t.minRows,i=t.onChange,c=i===void 0?yD:i,u=t.onHeightChange,f=u===void 0?yD:u,h=P1e(t,U1e),m=h.value!==void 0,v=p.useRef(null),S=A1e(v,r),w=p.useRef(0),g=p.useRef(),b=function(){var E=v.current,N=n&&g.current?g.current:F1e(E);if(N){g.current=N;var T=L1e(N,E.value||E.placeholder||"x",o,a),A=T[0],M=T[1];w.current!==A&&(w.current=A,E.style.setProperty("height",A+"px","important"),f(A,{rowHeight:M}))}},C=function(E){m||b(),c(E)};return p.useLayoutEffect(b),H1e(b),B1e(b),p.createElement("textarea",Ue({},h,{onChange:C,ref:S}))},V1e=p.forwardRef(W1e);const $2=["light","dark"],i_="(prefers-color-scheme: dark)",q1e=typeof window=="undefined",l_=p.createContext(void 0),K1e={setTheme:e=>{},themes:[]},Tk=()=>{var e;return(e=p.useContext(l_))!==null&&e!==void 0?e:K1e},G1e=e=>p.useContext(l_)?jt.createElement(p.Fragment,null,e.children):jt.createElement(Z1e,e),Y1e=["light","dark"],Z1e=({forcedTheme:e,disableTransitionOnChange:t=!1,enableSystem:r=!0,enableColorScheme:n=!0,storageKey:a="theme",themes:o=Y1e,defaultTheme:i=r?"system":"light",attribute:c="data-theme",value:u,children:f,nonce:h})=>{const[m,v]=p.useState(()=>bD(a,i)),[S,w]=p.useState(()=>bD(a)),g=u?Object.values(u):o,b=p.useCallback(N=>{let T=N;if(!T)return;N==="system"&&r&&(T=wD());const A=u?u[T]:T,M=t?Q1e():null,D=document.documentElement;if(c==="class"?(D.classList.remove(...g),A&&D.classList.add(A)):A?D.setAttribute(c,A):D.removeAttribute(c),n){const L=$2.includes(i)?i:null,z=$2.includes(T)?T:L;D.style.colorScheme=z}M==null||M()},[]),C=p.useCallback(N=>{v(N);try{localStorage.setItem(a,N)}catch(T){}},[e]),j=p.useCallback(N=>{const T=wD(N);w(T),m==="system"&&r&&!e&&b("system")},[m,e]);p.useEffect(()=>{const N=window.matchMedia(i_);return N.addListener(j),j(N),()=>N.removeListener(j)},[j]),p.useEffect(()=>{const N=T=>{T.key===a&&C(T.newValue||i)};return window.addEventListener("storage",N),()=>window.removeEventListener("storage",N)},[C]),p.useEffect(()=>{b(e!=null?e:m)},[e,m]);const E=p.useMemo(()=>({theme:m,setTheme:C,forcedTheme:e,resolvedTheme:m==="system"?S:m,themes:r?[...o,"system"]:o,systemTheme:r?S:void 0}),[m,C,e,S,r,o]);return jt.createElement(l_.Provider,{value:E},jt.createElement(X1e,{forcedTheme:e,disableTransitionOnChange:t,enableSystem:r,enableColorScheme:n,storageKey:a,themes:o,defaultTheme:i,attribute:c,value:u,children:f,attrs:g,nonce:h}),f)},X1e=p.memo(({forcedTheme:e,storageKey:t,attribute:r,enableSystem:n,enableColorScheme:a,defaultTheme:o,value:i,attrs:c,nonce:u})=>{const f=o==="system",h=r==="class"?"var d=document.documentElement,c=d.classList;c.remove(".concat(c.map(w=>"'".concat(w,"'")).join(","),");"):"var d=document.documentElement,n='".concat(r,"',s='setAttribute';"),m=a?$2.includes(o)&&o?"if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'".concat(o,"'"):"if(e==='light'||e==='dark')d.style.colorScheme=e":"",v=(w,g=!1,b=!0)=>{const C=i?i[w]:w,j=g?w+"|| ''":"'".concat(C,"'");let E="";return a&&b&&!g&&$2.includes(w)&&(E+="d.style.colorScheme = '".concat(w,"';")),r==="class"?E+=g||C?"c.add(".concat(j,")"):"null":C&&(E+="d[s](n,".concat(j,")")),E},S=e?"!function(){".concat(h).concat(v(e),"}()"):n?"!function(){try{".concat(h,"var e=localStorage.getItem('").concat(t,"');if('system'===e||(!e&&").concat(f,")){var t='").concat(i_,"',m=window.matchMedia(t);if(m.media!==t||m.matches){").concat(v("dark"),"}else{").concat(v("light"),"}}else if(e){").concat(i?"var x=".concat(JSON.stringify(i),";"):"").concat(v(i?"x[e]":"e",!0),"}").concat(f?"":"else{"+v(o,!1,!1)+"}").concat(m,"}catch(e){}}()"):"!function(){try{".concat(h,"var e=localStorage.getItem('").concat(t,"');if(e){").concat(i?"var x=".concat(JSON.stringify(i),";"):"").concat(v(i?"x[e]":"e",!0),"}else{").concat(v(o,!1,!1),";}").concat(m,"}catch(t){}}();");return jt.createElement("script",{nonce:u,dangerouslySetInnerHTML:{__html:S}})},()=>!0),bD=(e,t)=>{if(q1e)return;let r;try{r=localStorage.getItem(e)||void 0}catch(n){}return r||t},Q1e=()=>{const e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},wD=e=>(e||(e=window.matchMedia(i_)),e.matches?"dark":"light"),J1e=jt.forwardRef((u,c)=>{var f=u,{variant:e="primary",size:t="large",loading:r=!1,spanClassName:n,spinnerConfig:a,children:o}=f,i=ke(f,["variant","size","loading","spanClassName","spinnerConfig","children"]);const h=S=>{!r&&i.onClick&&i.onClick(S)},m=hr({"btn-primary":e==="primary","btn-secondary":e==="secondary","btn-ghost":e==="ghost","btn-danger":e==="danger","btn-nuclear":e==="nuclear"}),v=hr({"btn-large":t==="large","btn-medium":t==="medium","btn-small":t==="small"});return s.jsx("button",ee(R({},i),{className:hr("btn",m,v,i.className),disabled:i.disabled||r,ref:c,onClick:h,children:r?s.jsx(_k,R({size:t,variant:"secondary"},a)):p.Children.map(o,(S,w)=>s.jsx("span",{className:hr("mr-xsmall last:mr-0",n),children:S},w))}))}),exe=n=>{var a=n,{size:e="24",color:t="currentColor"}=a,r=ke(a,["size","color"]);return s.jsxs("svg",ee(R({width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{children:[s.jsx("path",{d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21Z",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.jsx("path",{d:"M8 14C8 14 9.5 16 12 16C14.5 16 16 14 16 14",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.jsx("path",{d:"M9 9H9.01",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),s.jsx("path",{d:"M15 9H15.01",stroke:t,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}))},txe=p.lazy(()=>ve(()=>import("./emoji-picker-react.esm-bTiyonTo.js"),[])),kD=({onEmojiClick:e,onCloseAutoFocus:t})=>{const{theme:r}=Tk();return s.jsxs(iH,{children:[s.jsx(lH,{asChild:!0,onClick:n=>{n.stopPropagation()},children:s.jsx(J1e,{variant:"ghost",size:"small",type:"button",onClick:n=>{n.stopPropagation()},className:"text-grey-40 hover:text-violet-60 h-5 w-5 p-0 focus:border-none focus:shadow-none",children:s.jsx(exe,{size:20})})}),s.jsx(cH,{children:s.jsx(CN,{onCloseAutoFocus:t,sideOffset:5,className:"z-99 min-w-[200px] min-h-[100px] overflow-hidden text-center flex justify-center items-center",children:s.jsx(p.Suspense,{fallback:s.jsx(_k,{size:"small",variant:"primary"}),children:s.jsx(txe,{onEmojiClick:n=>e(n.emoji),defaultSkinTone:"NEUTRAL",theme:r,emojiStyle:"native",skinTonesDisabled:!0,searchPlaceHolder:"Emoji..."})})})})]})},po=p.forwardRef(({placeholder:e,label:t,name:r,key:n,value:a,required:o,withTooltip:i=!1,tooltipText:c,tooltipProps:u={},autoFocus:f=!1,containerProps:h,maxLength:m,className:v,classNameArea:S,isDisabled:w=!1,onFocus:g=()=>{},onBlur:b=()=>{},onPaste:C=()=>{},onChange:j=()=>{},onKeyDown:E=()=>{},rows:N=2,maxRows:T=5,enableEmoji:A=!0,enableEmojiInside:M=!1,error:D},L)=>{const z=p.useRef(null);p.useEffect(()=>{z.current&&f&&setTimeout(()=>{var U;(U=z.current)==null||U.focus()},200)},[f]);const H=U=>{if(!z.current||!U)return;const K=new RegExp("\\{{\\s*".concat(U,"\\s*\\}}"),"gi"),Y=z.current.value.replaceAll(K,"");z.current.value=Y,j&&j({target:{value:Y}})},V=()=>{if(!z.current)return;const U=z.current.value.replace(/\{\{.*?\}\}/g,"");z.current.value=U,j&&j({target:{value:U}})},I=U=>{if(!z.current)return;const K=z.current.selectionStart||0,Y=z.current.selectionEnd||0;let B=z.current.value.substring(K,Y);U.forEach(G=>{const X=new RegExp("\\[".concat(G,"\\]"),"g"),se=new RegExp("\\[/".concat(G,"\\]"),"g");B=B.replace(X,""),B=B.replace(se,"")});const F="".concat(z.current.value.substring(0,K)).concat(B).concat(z.current.value.substring(Y));z.current.value=F,z.current.selectionStart=K,z.current.selectionEnd=K+B.length,z.current.focus(),j&&j({target:{value:F}})},q=U=>{if(!z.current)return;const K=z.current.selectionStart||0,Y=z.current.selectionEnd||0,B=z.current.value.substring(K,Y),F="[".concat(U,"]"),G="[/".concat(U,"]");let X="";B?X="".concat(z.current.value.substring(0,K)).concat(F).concat(B).concat(G).concat(z.current.value.substring(Y)):X="".concat(z.current.value.substring(0,K)).concat(F).concat(G).concat(z.current.value.substring(K)),z.current.value=X;const se=K+F.length;z.current.selectionStart=se,z.current.selectionEnd=se,z.current.focus(),j&&j({target:{value:X}})},_=U=>{if(!z.current)return;const K=z.current.selectionStart||0,Y=z.current.selectionStart||0,B=z.current.selectionEnd||0,F=Y>0?"".concat(z.current.value.substring(0,Y)).concat(U).concat(z.current.value.substring(B)):"".concat(U).concat(z.current.value);z.current.value=F,j&&j({target:{value:F}}),z.current.selectionStart=K+U.length,z.current.selectionEnd=K+U.length,z.current.focus()};p.useImperativeHandle(L,()=>({getInputElement:()=>z.current,handleRemoveBBcodes:I,handleAddText:_,handleRemoveTemplateField:H,handleRemoveAllTemplateFields:V,handleAddBBcode:q}));const $=()=>{setTimeout(()=>{var U;(U=z==null?void 0:z.current)==null||U.focus()},100)};return s.jsxs("div",ee(R({className:v},h),{children:[t&&s.jsx(o_,{label:t,required:o,withTooltip:i,tooltipText:c,tooltipProps:u,className:"mb-0.5 text-slate-400 font-light text-xs ml-1 uppercase"}),s.jsxs("div",{className:"relative",children:[s.jsx(V1e,{maxRows:T,minRows:N,className:hr("focus-within:shadow-input focus-within:border-violet-60 px-small py-xsmall bg-grey-5 border-grey-20 rounded rounded-rounded flex w-full flex-col border",{"focus:ring-red-500 focus:border-red-500 border-red-400 dark:focus:ring-red-500 dark:focus:border-red-500 dark:border-red-400":D},"relative bg-inherit outline-none outline-0 focus:overflow-auto","remove-number-spinner leading-base text-grey-90 caret-violet-60 placeholder-grey-40 w-full font-normal","focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500","px-3 py-1 pb-2 leading-base text-grey-90",S),ref:z,autoComplete:"off",autoCapitalize:"off",autoCorrect:"off",maxLength:m,onFocus:g,onBlur:b,name:r,disabled:w,onChange:j,onKeyDown:E,autoFocus:!1,value:a||"",onPaste:C,placeholder:e||""},n||r),A&&s.jsx("div",{className:"flex justify-start items-center w-full h-8 ml-1",children:s.jsx(kD,{onEmojiClick:_,onCloseAutoFocus:()=>{var K;$();const U={target:{value:(K=z==null?void 0:z.current)==null?void 0:K.value}};j(U)}})}),M&&s.jsx("div",{className:"flex justify-start items-center absolute right-1.5 bottom-1.5",children:s.jsx(kD,{onEmojiClick:_,onCloseAutoFocus:()=>{var K;$();const U={target:{value:(K=z==null?void 0:z.current)==null?void 0:K.value}};j(U)}})})]}),D&&s.jsx("div",{className:hr("text-sm animate fade-in text-red-400",v),children:s.jsx("p",{children:D})})]}))}),rxe={board:[0,1,2,3],clip:[0,1,2,3,4,5]},Pk=({color:e,itemId:t,updateById:r,borderWidth:n,onOpen:a,onBorderWidthChange:o,onColorChange:i,type:c})=>{const{t:u}=Tt(),f=We(!1);return p.useEffect(()=>{f.value&&a&&a()},[f.value]),s.jsxs(xa,{defaultOpen:!1,open:f.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(Q,{className:"w-[22px] h-[22px] mr-1.5 cursor-pointer ".concat($i(e,"200")," ").concat(nb(e,"300","600")," border rounded-sm flex items-center justify-center"),title:u("Change color",{ns:"dashboard"}),onClick:()=>{f.value=!f.value},children:s.jsx(Dr,{size:13,className:"text-".concat(e,"-500 dark:text-").concat(e,"-300")})})}),s.jsx(ea,{sideOffset:16,align:"center",className:"p-3 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 pt-0",onEscapeKeyDown:()=>{f.value=!1},onPointerDownOutside:()=>{f.value=!1},children:s.jsxs(Q,{children:[s.jsx(me,{className:"text-center py-1.5 mt-0.5 uppercase",children:s.jsx(J,{weight:"medium",size:"xs",className:"!text-slate-400",children:u("Select Color",{ns:"dashboard"})})}),s.jsx(Q,{className:"m-auto grid grid-cols-8 gap-3",children:dte.map(h=>s.jsx(Q,{onClick:()=>pe(void 0,null,function*(){t&&r?c===Sl?yield r({updatedTab:{tabColor:h,tabId:t}}):(c===Bs||c===Io)&&(yield r({updatedItem:{color:h,itemId:t}})):i&&i(h),f.value=!1}),className:"bg-".concat(h,"-400 dark:bg-").concat(h,"-700 w-6 h-6 flex justify-center cursor-pointer rounded-sm"),children:h===e&&s.jsx($t,{size:16,strokeWidth:4,className:"w-3 h-3 m-auto text-white"})},h))}),(c===Bs||c===Io)&&s.jsxs(s.Fragment,{children:[s.jsx(me,{className:"text-center py-1.5 pt-2 uppercase",children:s.jsx(J,{weight:"medium",size:"xs",className:"!text-slate-400",children:u("Border Width",{ns:"dashboard"})})}),s.jsx(Q,{className:"m-auto items-center justify-items-center grid ".concat(c===Bs?"grid-cols-4 px-10":"grid-cols-6 gap-1"),children:rxe[c].map(h=>s.jsx(Q,{onClick:()=>pe(void 0,null,function*(){t&&r?yield r({updatedItem:{borderWidth:h,itemId:t}}):o&&o(h)}),className:"bg-".concat(e,"-50 dark:bg-").concat(e,"-900 w-[28px] h-[26px] flex justify-center cursor-pointer border border-").concat(e,"-200 dark:border-").concat(e,"-700 ").concat(c!==Bs?"border-[".concat(h>0?1:0,"px] border-l-").concat(e,"-500 border-l-[").concat(h,"px]"):"border-[".concat(h,"px]")," rounded-lg "),children:n===h?s.jsx($t,{size:18,strokeWidth:4,className:"w-3 h-3 m-auto text-slate-400"}):s.jsx(J,{size:"xs",className:"text-slate-400 !font-medium",children:h})},h))})]})]})})]})};function nxe({boardName:e,boardSubtitle:t,isNewBoard:r,scrollRef:n,boardId:a,boardColor:o,boardBorderWidth:i}){const{t:c}=Tt(),u=We(!1),f=We(""),h=We(""),m=We(Jl.value),v=We(!1);if(!e)return null;p.useEffect(()=>{r&&(m.value=!0)},[r]),p.useEffect(()=>{u.value=!1,f.value=e,Jl.value=m.value},[m.value]),p.useEffect(()=>{h.value=t,Jl.value=v.value},[v.value]);const{updateItemById:S}=al();p.useEffect(()=>{var g;m.value&&((g=n==null?void 0:n.current)==null||g.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))},[m.value,n==null?void 0:n.current]);const w=m.value||v.value;return s.jsxs(me,{className:"flex-col w-full",children:[s.jsx(me,{className:"justify-start w-full",children:m.value?s.jsxs(s.Fragment,{children:[s.jsx(Be,{open:u.value||Vn.value,asChild:!0,text:Vn.value?c("Unsaved title",{ns:"dashboard"}):f.value.length<=T6?c("Too short",{ns:"dashboard"}):c("Too long",{ns:"dashboard"}),side:"bottom",className:"bg-rose-50 text-red-500 dark:bg-rose-900 dark:text-red-50 border-rose-100 dark:border-rose-950 text-base font-semibold border !px-2 !py-1.5",children:s.jsx(er,{small:!0,autoFocus:!0,className:"bg-white rounded-md text-sm font-semibold max-w-[200px] min-w-[120px]",placeholder:c("Enter board title",{ns:"dashboard"}),onKeyDown:g=>pe(this,null,function*(){g.stopPropagation(),g.key==="Escape"?(Vn.value=!1,m.value=!1):g.key==="Enter"&&(!f.value.length||f.value.length>bu)?u.value=!0:g.key==="Enter"&&(yield S({updatedItem:{name:f.value,itemId:a}}),Vn.value=!1,setTimeout(()=>{m.value=!1},200))}),defaultValue:e,onFocus:g=>{e===c("New Board",{ns:"dashboard"})&&g.target.select()},onChange:g=>{Vn.value&&(Vn.value=!1),u.value&&g.target.value.length<=bu&&u.value&&g.target.value.length>0&&(u.value=!1),f.value=g.target.value}})}),s.jsx(Be,{text:c("Save",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>pe(this,null,function*(){if(!f.value.length||f.value.length>bu){u.value=!0;return}u.value||(yield S({updatedItem:{name:f.value,itemId:a}}),Vn.value=!1,setTimeout(()=>{m.value=!1},200))}),children:s.jsx($t,{size:18})})})}),s.jsx(Be,{text:c("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{Vn.value=!1,m.value=!1},children:s.jsx(br,{size:18})})})})]}):s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"min-w-[24px]",children:s.jsx(Pk,{color:o,borderWidth:i,type:Bs,itemId:a,updateById:S})}),s.jsx(J,{className:"!font-medium text-sm text-ellipsis !block overflow-hidden whitespace-nowrap border-dashed border-b border-".concat(o||"slate","-400 first-letter:uppercase hover:border-gray-400"),onClick:()=>{if(Jl.value){Vn.value=!0;return}m.value=!0},color:"black",children:e}),s.jsx(Q,{onClick:()=>{if(Jl.value){Vn.value=!0;return}m.value=!0},title:c("Rename",{ns:"dashboard"}),className:"ml-1 pr-0 pl-1 pt-[1px] text-primary/50 cursor-pointer relative opacity-80 hover:opacity-100",children:s.jsx(Xu,{size:14})}),!w&&s.jsxs(me,{className:"items-center justify-center ml-auto pr-1 pl-2 py-0 gap-2",children:[Ia.value!==a?s.jsx(Q,{onClick:()=>{Ia.value=a},title:c("Expand Edit",{ns:"common"}),className:"text-primary/50 cursor-pointer relative opacity-80 hover:opacity-100",children:s.jsx(k1,{size:16})}):s.jsx(Q,{onClick:()=>{Ia.value=null,To.value=!1},title:c("Close Expand Edit",{ns:"common"}),className:"text-primary/50 cursor-pointer relative opacity-80 hover:opacity-100",children:s.jsx(F6,{size:16})}),s.jsx(Q,{onClick:()=>{qd()},title:c("Close Edit",{ns:"dashboard"}),className:"text-primary/50 cursor-pointer relative opacity-80 hover:opacity-100",children:s.jsx(Mv,{size:18})})]})]})}),s.jsx(me,{className:"justify-start w-full mt-1 text-gray-500",children:v.value?s.jsxs(me,{className:"justify-start items-end flex-col mt-1 text-gray-500",children:[s.jsx(Be,{open:Vn.value,asChild:!0,text:Vn.value?c("Unsaved subtitle",{ns:"dashboard"}):void 0,side:"top",className:"bg-rose-50 text-red-500 text-base font-semibold border border-rose-100 w-full",children:s.jsx(po,{tabIndex:0,enableEmoji:!1,className:"bg-white rounded-md text-sm w-full mr-2 min-w-[120px]",placeholder:c("Enter board subtitle or description",{ns:"dashboard"}),rows:2,autoFocus:!0,enableEmojiInside:!0,label:"",maxRows:6,value:h.value,onKeyDown:g=>{g.stopPropagation()},onChange:g=>{Vn.value&&(Vn.value=!1),h.value=g.target.value}})}),s.jsxs(me,{className:"items-start mt-1",children:[s.jsx(Be,{text:c("Save",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>pe(this,null,function*(){yield S({updatedItem:{description:h.value,itemId:a}}),setTimeout(()=>{Vn.value&&(Vn.value=!1),v.value=!1},200)}),children:s.jsx($t,{size:18})})})}),s.jsx(Be,{text:c("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{Vn.value&&(Vn.value=!1),v.value=!1},children:s.jsx(br,{size:18})})})})]})]}):t?s.jsxs(Q,{className:"!font-normal dark:text-slate-300 text-[12px] hover:underline decoration-1 decoration-gray-400 !decoration-dashed !underline-offset-4",onClick:()=>{if(Jl.value){Vn.value=!0;return}v.value=!0},children:[t,s.jsx(Q,{title:c("Edit subtitle",{ns:"dashboard"}),className:"ml-0.5 pl-1 !inline-flex items-center text-primary/50 cursor-pointer opacity-80 hover:opacity-100",children:s.jsx(Xu,{size:11})})]}):s.jsxs(s.Fragment,{children:[s.jsx(Fn,{size:17}),s.jsx(J,{className:"!text-mute ml-1.5 text-sm border-dashed border-b border-gray-400",onClick:()=>{if(Jl.value){Vn.value=!0;return}v.value=!0},children:c("Subtitle",{ns:"dashboard"})})]})})]})}function z2(e){var t,r;return s.jsxs("svg",{width:(t=e.width)!=null?t:"16",height:(r=e.height)!=null?r:"16",className:e.className,onClick:e.onClick,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[s.jsx("rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1"}),s.jsx("path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"}),s.jsx("path",{d:"m9.392 10.005 6.16 3.697-6.16 3.697v-7.394Z"})]})}function sxe(e){var t,r;return s.jsx("svg",{width:(t=e.width)!=null?t:"24px",height:(r=e.height)!=null?r:"24px",className:e.className,onClick:e.onClick,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.8",children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.272 8.567v-6m0 0h-6m6 0L10.87 13.308M9.729 5.432h-2.2c-1.68 0-2.52 0-3.162.327-.564.288-1.023.747-1.311 1.311-.327.642-.327 1.482-.327 3.162v6.4c0 1.68 0 2.52.327 3.162.288.565.747 1.023 1.311 1.311.642.327 1.482.327 3.162.327h6.4c1.68 0 2.52 0 3.162-.327a2.9984 2.9984 0 0 0 1.311-1.311c.327-.642.327-1.482.327-3.162v-2.2"})})}function axe(e){var t,r;return s.jsxs("svg",{width:(t=e.width)!=null?t:"24px",height:(r=e.height)!=null?r:"24px",className:e.className,onClick:e.onClick,viewBox:"0 0 25 27",fill:"currentColor",stroke:"currentColor",strokeWidth:"0.3",children:[s.jsx("path",{fillRule:"evenodd",d:"M12.2852 4.057c-4.5443 0-8.2282 3.684-8.2282 8.2282 0 4.5443 3.684 8.2282 8.2282 8.2282 4.5443 0 8.2282-3.6839 8.2282-8.2282S16.8295 4.057 12.2852 4.057ZM2 12.2852C2 6.6049 6.6048 2 12.2852 2s10.2852 4.6048 10.2852 10.2852-4.6048 10.2852-10.2852 10.2852C6.6049 22.5704 2 17.9656 2 12.2852Z",clipRule:"evenodd"}),s.jsx("path",{d:"m19.8786 18.3487 5.8043 5.8043c.4228.4228.4228 1.1083 0 1.5311-.4228.4228-1.1083.4228-1.5311 0l-5.8043-5.8043 1.5311-1.5311Z"})]})}function oxe(e){var t,r;return s.jsxs("svg",{width:(t=e.width)!=null?t:"24px",height:(r=e.height)!=null?r:"24px",className:e.className,onClick:e.onClick,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:[s.jsx("rect",{width:"18.953",height:"16",x:"2.524",y:"4",rx:"2"}),s.jsx("path",{d:"M10.524 4v4m-8 0h18.953M6.524 4v4"})]})}function ixe(e){var t,r;return s.jsxs("svg",{width:(t=e.width)!=null?t:"24px",height:(r=e.height)!=null?r:"24px",className:e.className,onClick:e.onClick,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:[s.jsx("path",{d:"M14.5 2.693H6c-1.105 0-2 .833-2 1.861v14.891c0 1.028.895 1.861 2 1.861h12c1.105 0 2-.833 2-1.861V7.812l-5.5-5.119Z"}),s.jsx("path",{d:"M14 2.693v6h6"})]})}function lxe(e){var t,r;return s.jsxs("svg",{width:(t=e.width)!=null?t:"24px",height:(r=e.height)!=null?r:"24px",className:e.className,onClick:e.onClick,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:[s.jsx("path",{d:"M14.5 2.693H6c-1.105 0-2 .833-2 1.861v14.891c0 1.028.895 1.861 2 1.861h12c1.105 0 2-.833 2-1.861V7.812l-5.5-5.119Z"}),s.jsx("path",{d:"M14 2.693v6h6M7.998 15.421l2-2-2-2m4 6h4"})]})}function cxe(e){var t,r;return s.jsx("svg",{width:(t=e.width)!=null?t:"24px",height:(r=e.height)!=null?r:"24px",className:e.className,onClick:e.onClick,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:s.jsx("path",{d:"m6.391 14.336 1.402-2.71a1.867 1.867 0 0 1 1.626-1.028h10.056c1.223-.002 2.119 1.152 1.813 2.337l-1.439 5.607c-.215.83-.966 1.408-1.823 1.402H4.522c-1.033 0-1.87-.837-1.87-1.869V5.925c0-1.032.837-1.869 1.87-1.869h3.644c.636-.006 1.23.311 1.58.841l.757 1.122c.346.525.932.841 1.561.841h5.542c1.032 0 1.869.837 1.869 1.869v1.869"})})}function wm(){return s.jsx("div",{className:"flex items-center justify-center h-[16px] w-[16px]",children:s.jsxs("svg",{"aria-hidden":"true",className:"w-full h-full text-gray-200 animate-spin dark:text-gray-600 fill-green-600",viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),s.jsx("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})})}function bU(e){var t,r;return s.jsx("svg",{width:(t=e.width)!=null?t:"24px",height:(r=e.height)!=null?r:"24px",className:e.className,onClick:e.onClick,viewBox:"0 0 24 24",fill:"currentColor",strokeWidth:"1.8",children:s.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",stroke:"none",d:"M3.564 1.745c-.272.011-.521.142-.688.355C1.311 4.127.456 6.622.456 9.185c0 2.654.906 5.222 2.576 7.286.318.393.894.451 1.288.131.39-.315.449-.887.134-1.279-1.404-1.736-2.168-3.902-2.168-6.138 0-2.158.712-4.258 2.034-5.967.307-.4.234-.971-.164-1.281-.169-.132-.378-.197-.592-.192Zm16.906.005a.8757.8757 0 0 0-.531.187c-.4.304-.474.879-.169 1.281 1.324 1.709 2.035 3.809 2.035 5.967 0 2.236-.763 4.402-2.168 6.138a.9087.9087 0 0 0 .133 1.279c.394.32.97.262 1.286-.131 1.668-2.064 2.574-4.632 2.574-7.286 0-2.563-.845-5.058-2.411-7.085-.149-.19-.366-.315-.603-.344-.05-.006-.097-.011-.146-.006ZM7.092 3.742a.9272.9272 0 0 0-.631.29C5.169 5.436 4.447 7.28 4.447 9.185c0 2.003.792 3.917 2.204 5.345.354.356.935.361 1.293.007.356-.357.359-.933.003-1.287-1.068-1.084-1.674-2.542-1.674-4.065 0-1.447.549-2.848 1.529-3.913.339-.369.313-.945-.055-1.288-.175-.161-.412-.252-.655-.242Zm9.904 0c-.242-.01-.475.081-.654.242-.368.343-.394.919-.055 1.288.982 1.065 1.531 2.466 1.531 3.913 0 1.523-.599 2.981-1.671 4.065-.35.356-.35.93.009 1.287.354.349.931.346 1.286-.007 1.408-1.428 2.202-3.342 2.202-5.345 0-1.905-.723-3.749-2.014-5.153a.9197.9197 0 0 0-.634-.29Zm-4.951 1.71c-2.047 0-3.724 1.684-3.724 3.733 0 1.736 1.203 3.206 2.815 3.61v8.776c0 .509.405.919.909.919.506.002.918-.41.918-.919v-8.776c1.612-.405 2.816-1.874 2.816-3.61 0-2.049-1.687-3.733-3.734-3.733Zm0 1.828c1.063 0 1.906.844 1.906 1.905 0 1.063-.843 1.901-1.906 1.901s-1.899-.838-1.899-1.901c0-1.061.836-1.905 1.899-1.905Z"})})}function wU(e){var t,r;return s.jsx("svg",{width:(t=e.width)!=null?t:"24px",height:(r=e.height)!=null?r:"24px",className:e.className,onClick:e.onClick,viewBox:"0 0 24 24",fill:"currentColor",stroke:"none",strokeWidth:"1.5",children:s.jsx("path",{d:"M12.008 1.666c-7.955 0-12.926 8.613-8.949 15.501 3.977 6.889 13.92 6.889 17.897 0 .907-1.57 1.386-3.352 1.386-5.166 0-5.707-4.627-10.335-10.334-10.335Zm-9.27 10.855h3.169c.035 1.322.263 2.634.675 3.893H3.829a9.1934 9.1934 0 0 1-1.091-3.893Zm9.789-5.973V2.913a8.3791 8.3791 0 0 1 3.375 3.635h-3.375Zm3.817 1.039c.447 1.251.693 2.566.727 3.893h-4.544V7.587h3.817Zm-4.856-4.648v3.609H8.114a8.377 8.377 0 0 1 3.374-3.609Zm0 4.674v3.867H6.944c.035-1.327.28-2.642.728-3.893l3.816.026ZM5.907 11.48H2.738c.07-1.362.443-2.693 1.091-3.893h2.753a13.692 13.692 0 0 0-.675 3.893Zm1.037 1.041h4.544v3.893H7.672a12.5295 12.5295 0 0 1-.728-3.893Zm4.544 4.932v3.635a8.3769 8.3769 0 0 1-3.374-3.635h3.374Zm1.039 3.635v-3.635h3.375a8.3771 8.3771 0 0 1-3.375 3.608v.027Zm0-4.674v-3.893h4.544c-.034 1.327-.28 2.642-.727 3.893h-3.817Zm5.582-3.893h3.169a9.2368 9.2368 0 0 1-1.091 3.893h-2.754c.412-1.259.639-2.571.676-3.893Zm0-1.041a13.7635 13.7635 0 0 0-.676-3.893h2.754a9.2327 9.2327 0 0 1 1.091 3.893h-3.169Zm1.428-4.932h-2.493a9.8857 9.8857 0 0 0-2.543-3.506 9.3305 9.3305 0 0 1 5.01 3.506h.026ZM9.514 3.069A9.9123 9.9123 0 0 0 6.97 6.548H4.504a9.3282 9.3282 0 0 1 5.01-3.479Zm-5.01 14.384h2.493a9.8678 9.8678 0 0 0 2.543 3.505 9.3285 9.3285 0 0 1-5.036-3.505Zm9.997 3.479a9.894 9.894 0 0 0 2.543-3.479h2.493a9.3153 9.3153 0 0 1-5.036 3.479Z"})})}const uxe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,dxe=/[\0-\x1F\x7F-\x9F]/,fxe=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,hxe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;function pxe(e){const t={};e=e||{},t.src_Any=uxe.source,t.src_Cc=dxe.source,t.src_Z=hxe.source,t.src_P=fxe.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");const r="[><|]";return t.src_pseudo_letter="(?:(?!"+r+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+r+"|"+t.src_ZPCc+")(?!"+(e["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]|$)|"+(e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+"|$)|;(?!"+t.src_ZCc+"|$)|\\!+(?!"+t.src_ZCc+"|[!]|$)|\\?(?!"+t.src_ZCc+"|[?]|$))+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function Tj(e){return Array.prototype.slice.call(arguments,1).forEach(function(r){r&&Object.keys(r).forEach(function(n){e[n]=r[n]})}),e}function Mk(e){return Object.prototype.toString.call(e)}function mxe(e){return Mk(e)==="[object String]"}function gxe(e){return Mk(e)==="[object Object]"}function vxe(e){return Mk(e)==="[object RegExp]"}function CD(e){return Mk(e)==="[object Function]"}function xxe(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const kU={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function yxe(e){return Object.keys(e||{}).reduce(function(t,r){return t||kU.hasOwnProperty(r)},!1)}const bxe={"http:":{validate:function(e,t,r){const n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){const n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){const n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},wxe="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",kxe="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Cxe(e){e.__index__=-1,e.__text_cache__=""}function Sxe(e){return function(t,r){const n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}function SD(){return function(e,t){t.normalize(e)}}function F2(e){const t=e.re=pxe(e.__opts__),r=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||r.push(wxe),r.push(t.src_xn),t.src_tlds=r.join("|");function n(c){return c.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");const a=[];e.__compiled__={};function o(c,u){throw new Error('(LinkifyIt) Invalid schema "'+c+'": '+u)}Object.keys(e.__schemas__).forEach(function(c){const u=e.__schemas__[c];if(u===null)return;const f={validate:null,link:null};if(e.__compiled__[c]=f,gxe(u)){vxe(u.validate)?f.validate=Sxe(u.validate):CD(u.validate)?f.validate=u.validate:o(c,u),CD(u.normalize)?f.normalize=u.normalize:u.normalize?o(c,u):f.normalize=SD();return}if(mxe(u)){a.push(c);return}o(c,u)}),a.forEach(function(c){e.__compiled__[e.__schemas__[c]]&&(e.__compiled__[c].validate=e.__compiled__[e.__schemas__[c]].validate,e.__compiled__[c].normalize=e.__compiled__[e.__schemas__[c]].normalize)}),e.__compiled__[""]={validate:null,normalize:SD()};const i=Object.keys(e.__compiled__).filter(function(c){return c.length>0&&e.__compiled__[c]}).map(xxe).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),Cxe(e)}function jxe(e,t){const r=e.__index__,n=e.__last_index__,a=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=a,this.text=a,this.url=a}function Pj(e,t){const r=new jxe(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function Rn(e,t){if(!(this instanceof Rn))return new Rn(e,t);t||yxe(e)&&(t=e,e={}),this.__opts__=Tj({},kU,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Tj({},bxe,e),this.__compiled__={},this.__tlds__=kxe,this.__tlds_replaced__=!1,this.re={},F2(this)}Rn.prototype.add=function(t,r){return this.__schemas__[t]=r,F2(this),this};Rn.prototype.set=function(t){return this.__opts__=Tj(this.__opts__,t),this};Rn.prototype.test=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return!1;let r,n,a,o,i,c,u,f,h;if(this.re.schema_test.test(t)){for(u=this.re.schema_search,u.lastIndex=0;(r=u.exec(t))!==null;)if(o=this.testSchemaAt(t,r[2],u.lastIndex),o){this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(f=t.search(this.re.host_fuzzy_test),f>=0&&(this.__index__<0||f=0&&(a=t.match(this.re.email_fuzzy))!==null&&(i=a.index+a[1].length,c=a.index+a[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=c))),this.__index__>=0};Rn.prototype.pretest=function(t){return this.re.pretest.test(t)};Rn.prototype.testSchemaAt=function(t,r,n){return this.__compiled__[r.toLowerCase()]?this.__compiled__[r.toLowerCase()].validate(t,n,this):0};Rn.prototype.match=function(t){const r=[];let n=0;this.__index__>=0&&this.__text_cache__===t&&(r.push(Pj(this,n)),n=this.__last_index__);let a=n?t.slice(n):t;for(;this.test(a);)r.push(Pj(this,n)),a=a.slice(this.__last_index__),n+=this.__last_index__;return r.length?r:null};Rn.prototype.matchAtStart=function(t){if(this.__text_cache__=t,this.__index__=-1,!t.length)return null;const r=this.re.schema_at_start.exec(t);if(!r)return null;const n=this.testSchemaAt(t,r[2],r[0].length);return n?(this.__schema__=r[2],this.__index__=r.index+r[1].length,this.__last_index__=r.index+r[0].length+n,Pj(this,0)):null};Rn.prototype.tlds=function(t,r){return t=Array.isArray(t)?t:[t],r?(this.__tlds__=this.__tlds__.concat(t).sort().filter(function(n,a,o){return n!==o[a-1]}).reverse(),F2(this),this):(this.__tlds__=t.slice(),this.__tlds_replaced__=!0,F2(this),this)};Rn.prototype.normalize=function(t){t.schema||(t.url="http://"+t.url),t.schema==="mailto:"&&!/^mailto:/i.test(t.url)&&(t.url="mailto:"+t.url)};Rn.prototype.onCompile=function(){};/*! @license DOMPurify 3.1.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.1.3/LICENSE */const{entries:CU,setPrototypeOf:jD,isFrozen:Exe,getPrototypeOf:Nxe,getOwnPropertyDescriptor:_xe}=Object;let{freeze:Fa,seal:yi,create:SU}=Object,{apply:Mj,construct:Dj}=typeof Reflect!="undefined"&&Reflect;Fa||(Fa=function(t){return t});yi||(yi=function(t){return t});Mj||(Mj=function(t,r,n){return t.apply(r,n)});Dj||(Dj=function(t,r){return new t(...r)});const Cy=mo(Array.prototype.forEach),ED=mo(Array.prototype.pop),X0=mo(Array.prototype.push),ib=mo(String.prototype.toLowerCase),xS=mo(String.prototype.toString),ND=mo(String.prototype.match),Q0=mo(String.prototype.replace),Txe=mo(String.prototype.indexOf),Pxe=mo(String.prototype.trim),Ei=mo(Object.prototype.hasOwnProperty),_a=mo(RegExp.prototype.test),J0=Mxe(TypeError),_D=mo(Number.isNaN);function mo(e){return function(t){for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a2&&arguments[2]!==void 0?arguments[2]:ib;jD&&jD(e,null);let n=t.length;for(;n--;){let a=t[n];if(typeof a=="string"){const o=r(a);o!==a&&(Exe(t)||(t[n]=o),a=o)}e[a]=!0}return e}function Dxe(e){for(let t=0;t/gm),Oxe=yi(/\${[\w\W]*}/gm),$xe=yi(/^data-[\-\w.\u00B7-\uFFFF]/),zxe=yi(/^aria-[\-\w]+$/),jU=yi(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Fxe=yi(/^(?:\w+script|data):/i),Hxe=yi(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),EU=yi(/^html$/i),Bxe=yi(/^[a-z][.\w]*(-[.\w]+)+$/i);var AD=Object.freeze({__proto__:null,MUSTACHE_EXPR:Lxe,ERB_EXPR:Ixe,TMPLIT_EXPR:Oxe,DATA_ATTR:$xe,ARIA_ATTR:zxe,IS_ALLOWED_URI:jU,IS_SCRIPT_OR_DATA:Fxe,ATTR_WHITESPACE:Hxe,DOCTYPE_NAME:EU,CUSTOM_ELEMENT:Bxe});const Ed={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Uxe=function(){return typeof window=="undefined"?null:window},Wxe=function(t,r){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let n=null;const a="data-tt-policy-suffix";r&&r.hasAttribute(a)&&(n=r.getAttribute(a));const o="dompurify"+(n?"#"+n:"");try{return t.createPolicy(o,{createHTML(i){return i},createScriptURL(i){return i}})}catch(i){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};function NU(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Uxe();const t=ut=>NU(ut);if(t.version="3.1.3",t.removed=[],!e||!e.document||e.document.nodeType!==Ed.document)return t.isSupported=!1,t;let{document:r}=e;const n=r,a=n.currentScript,{DocumentFragment:o,HTMLTemplateElement:i,Node:c,Element:u,NodeFilter:f,NamedNodeMap:h=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:m,DOMParser:v,trustedTypes:S}=e,w=u.prototype,g=Sy(w,"cloneNode"),b=Sy(w,"nextSibling"),C=Sy(w,"childNodes"),j=Sy(w,"parentNode");if(typeof i=="function"){const ut=r.createElement("template");ut.content&&ut.content.ownerDocument&&(r=ut.content.ownerDocument)}let E,N="";const{implementation:T,createNodeIterator:A,createDocumentFragment:M,getElementsByTagName:D}=r,{importNode:L}=n;let z={};t.isSupported=typeof CU=="function"&&typeof j=="function"&&T&&T.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:H,ERB_EXPR:V,TMPLIT_EXPR:I,DATA_ATTR:q,ARIA_ATTR:_,IS_SCRIPT_OR_DATA:$,ATTR_WHITESPACE:U,CUSTOM_ELEMENT:K}=AD;let{IS_ALLOWED_URI:Y}=AD,B=null;const F=zr({},[...TD,...yS,...bS,...wS,...PD]);let G=null;const X=zr({},[...MD,...kS,...DD,...jy]);let se=Object.seal(SU(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}})),re=null,ie=null,oe=!0,ae=!0,fe=!1,le=!0,ue=!1,be=!0,Ce=!1,Pe=!1,Ee=!1,Oe=!1,Ve=!1,ct=!1,gt=!0,Ke=!1;const Et="user-content-";let Re=!0,xt=!1,ot={},pt=null;const _t=zr({},["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 ht=null;const It=zr({},["audio","video","img","source","image","track"]);let Ft=null;const Vt=zr({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ge="http://www.w3.org/1998/Math/MathML",Zt="http://www.w3.org/2000/svg",nr="http://www.w3.org/1999/xhtml";let vr=nr,pr=!1,Wr=null;const Le=zr({},[Ge,Zt,nr],xS);let Dt=null;const Ze=["application/xhtml+xml","text/html"],mr="text/html";let Se=null,je=null;const we=255,Fe=r.createElement("form"),nt=function(ge){return ge instanceof RegExp||ge instanceof Function},rt=function(){let ge=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(je&&je===ge)){if((!ge||typeof ge!="object")&&(ge={}),ge=Pd(ge),Dt=Ze.indexOf(ge.PARSER_MEDIA_TYPE)===-1?mr:ge.PARSER_MEDIA_TYPE,Se=Dt==="application/xhtml+xml"?xS:ib,B=Ei(ge,"ALLOWED_TAGS")?zr({},ge.ALLOWED_TAGS,Se):F,G=Ei(ge,"ALLOWED_ATTR")?zr({},ge.ALLOWED_ATTR,Se):X,Wr=Ei(ge,"ALLOWED_NAMESPACES")?zr({},ge.ALLOWED_NAMESPACES,xS):Le,Ft=Ei(ge,"ADD_URI_SAFE_ATTR")?zr(Pd(Vt),ge.ADD_URI_SAFE_ATTR,Se):Vt,ht=Ei(ge,"ADD_DATA_URI_TAGS")?zr(Pd(It),ge.ADD_DATA_URI_TAGS,Se):It,pt=Ei(ge,"FORBID_CONTENTS")?zr({},ge.FORBID_CONTENTS,Se):_t,re=Ei(ge,"FORBID_TAGS")?zr({},ge.FORBID_TAGS,Se):{},ie=Ei(ge,"FORBID_ATTR")?zr({},ge.FORBID_ATTR,Se):{},ot=Ei(ge,"USE_PROFILES")?ge.USE_PROFILES:!1,oe=ge.ALLOW_ARIA_ATTR!==!1,ae=ge.ALLOW_DATA_ATTR!==!1,fe=ge.ALLOW_UNKNOWN_PROTOCOLS||!1,le=ge.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ue=ge.SAFE_FOR_TEMPLATES||!1,be=ge.SAFE_FOR_XML!==!1,Ce=ge.WHOLE_DOCUMENT||!1,Oe=ge.RETURN_DOM||!1,Ve=ge.RETURN_DOM_FRAGMENT||!1,ct=ge.RETURN_TRUSTED_TYPE||!1,Ee=ge.FORCE_BODY||!1,gt=ge.SANITIZE_DOM!==!1,Ke=ge.SANITIZE_NAMED_PROPS||!1,Re=ge.KEEP_CONTENT!==!1,xt=ge.IN_PLACE||!1,Y=ge.ALLOWED_URI_REGEXP||jU,vr=ge.NAMESPACE||nr,se=ge.CUSTOM_ELEMENT_HANDLING||{},ge.CUSTOM_ELEMENT_HANDLING&&nt(ge.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(se.tagNameCheck=ge.CUSTOM_ELEMENT_HANDLING.tagNameCheck),ge.CUSTOM_ELEMENT_HANDLING&&nt(ge.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(se.attributeNameCheck=ge.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),ge.CUSTOM_ELEMENT_HANDLING&&typeof ge.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(se.allowCustomizedBuiltInElements=ge.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ue&&(ae=!1),Ve&&(Oe=!0),ot&&(B=zr({},PD),G=[],ot.html===!0&&(zr(B,TD),zr(G,MD)),ot.svg===!0&&(zr(B,yS),zr(G,kS),zr(G,jy)),ot.svgFilters===!0&&(zr(B,bS),zr(G,kS),zr(G,jy)),ot.mathMl===!0&&(zr(B,wS),zr(G,DD),zr(G,jy))),ge.ADD_TAGS&&(B===F&&(B=Pd(B)),zr(B,ge.ADD_TAGS,Se)),ge.ADD_ATTR&&(G===X&&(G=Pd(G)),zr(G,ge.ADD_ATTR,Se)),ge.ADD_URI_SAFE_ATTR&&zr(Ft,ge.ADD_URI_SAFE_ATTR,Se),ge.FORBID_CONTENTS&&(pt===_t&&(pt=Pd(pt)),zr(pt,ge.FORBID_CONTENTS,Se)),Re&&(B["#text"]=!0),Ce&&zr(B,["html","head","body"]),B.table&&(zr(B,["tbody"]),delete re.tbody),ge.TRUSTED_TYPES_POLICY){if(typeof ge.TRUSTED_TYPES_POLICY.createHTML!="function")throw J0('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof ge.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw J0('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');E=ge.TRUSTED_TYPES_POLICY,N=E.createHTML("")}else E===void 0&&(E=Wxe(S,a)),E!==null&&typeof N=="string"&&(N=E.createHTML(""));Fa&&Fa(ge),je=ge}},Ie=zr({},["mi","mo","mn","ms","mtext"]),$e=zr({},["foreignobject","annotation-xml"]),Ye=zr({},["title","style","font","a","script"]),mt=zr({},[...yS,...bS,...Axe]),qt=zr({},[...wS,...Rxe]),Pt=function(ge){let Qe=j(ge);(!Qe||!Qe.tagName)&&(Qe={namespaceURI:vr,tagName:"template"});const Xe=ib(ge.tagName),st=ib(Qe.tagName);return Wr[ge.namespaceURI]?ge.namespaceURI===Zt?Qe.namespaceURI===nr?Xe==="svg":Qe.namespaceURI===Ge?Xe==="svg"&&(st==="annotation-xml"||Ie[st]):!!mt[Xe]:ge.namespaceURI===Ge?Qe.namespaceURI===nr?Xe==="math":Qe.namespaceURI===Zt?Xe==="math"&&$e[st]:!!qt[Xe]:ge.namespaceURI===nr?Qe.namespaceURI===Zt&&!$e[st]||Qe.namespaceURI===Ge&&!Ie[st]?!1:!qt[Xe]&&(Ye[Xe]||!mt[Xe]):!!(Dt==="application/xhtml+xml"&&Wr[ge.namespaceURI]):!1},Rt=function(ge){X0(t.removed,{element:ge});try{ge.parentNode.removeChild(ge)}catch(Qe){ge.remove()}},Xt=function(ge,Qe){try{X0(t.removed,{attribute:Qe.getAttributeNode(ge),from:Qe})}catch(Xe){X0(t.removed,{attribute:null,from:Qe})}if(Qe.removeAttribute(ge),ge==="is"&&!G[ge])if(Oe||Ve)try{Rt(Qe)}catch(Xe){}else try{Qe.setAttribute(ge,"")}catch(Xe){}},Pr=function(ge){let Qe=null,Xe=null;if(Ee)ge=""+ge;else{const At=ND(ge,/^[\r\n\t ]+/);Xe=At&&At[0]}Dt==="application/xhtml+xml"&&vr===nr&&(ge=''+ge+"");const st=E?E.createHTML(ge):ge;if(vr===nr)try{Qe=new v().parseFromString(st,Dt)}catch(At){}if(!Qe||!Qe.documentElement){Qe=T.createDocument(vr,"template",null);try{Qe.documentElement.innerHTML=pr?N:st}catch(At){}}const Ht=Qe.body||Qe.documentElement;return ge&&Xe&&Ht.insertBefore(r.createTextNode(Xe),Ht.childNodes[0]||null),vr===nr?D.call(Qe,Ce?"html":"body")[0]:Ce?Qe.documentElement:Ht},Nr=function(ge){return A.call(ge.ownerDocument||ge,ge,f.SHOW_ELEMENT|f.SHOW_COMMENT|f.SHOW_TEXT|f.SHOW_PROCESSING_INSTRUCTION|f.SHOW_CDATA_SECTION,null)},Vr=function(ge){return ge instanceof m&&(typeof ge.__depth!="undefined"&&typeof ge.__depth!="number"||typeof ge.__removalCount!="undefined"&&typeof ge.__removalCount!="number"||typeof ge.nodeName!="string"||typeof ge.textContent!="string"||typeof ge.removeChild!="function"||!(ge.attributes instanceof h)||typeof ge.removeAttribute!="function"||typeof ge.setAttribute!="function"||typeof ge.namespaceURI!="string"||typeof ge.insertBefore!="function"||typeof ge.hasChildNodes!="function")},qr=function(ge){return typeof c=="function"&&ge instanceof c},Gt=function(ge,Qe,Xe){z[ge]&&Cy(z[ge],st=>{st.call(t,Qe,Xe,je)})},xr=function(ge){let Qe=null;if(Gt("beforeSanitizeElements",ge,null),Vr(ge))return Rt(ge),!0;const Xe=Se(ge.nodeName);if(Gt("uponSanitizeElement",ge,{tagName:Xe,allowedTags:B}),ge.hasChildNodes()&&!qr(ge.firstElementChild)&&_a(/<[/\w]/g,ge.innerHTML)&&_a(/<[/\w]/g,ge.textContent)||ge.nodeType===Ed.progressingInstruction||be&&ge.nodeType===Ed.comment&&_a(/<[/\w]/g,ge.data))return Rt(ge),!0;if(!B[Xe]||re[Xe]){if(!re[Xe]&&Ts(Xe)&&(se.tagNameCheck instanceof RegExp&&_a(se.tagNameCheck,Xe)||se.tagNameCheck instanceof Function&&se.tagNameCheck(Xe)))return!1;if(Re&&!pt[Xe]){const st=j(ge)||ge.parentNode,Ht=C(ge)||ge.childNodes;if(Ht&&st){const At=Ht.length;for(let Ut=At-1;Ut>=0;--Ut){const Jt=g(Ht[Ut],!0);Jt.__removalCount=(ge.__removalCount||0)+1,st.insertBefore(Jt,b(ge))}}}return Rt(ge),!0}return ge instanceof u&&!Pt(ge)||(Xe==="noscript"||Xe==="noembed"||Xe==="noframes")&&_a(/<\/no(script|embed|frames)/i,ge.innerHTML)?(Rt(ge),!0):(ue&&ge.nodeType===Ed.text&&(Qe=ge.textContent,Cy([H,V,I],st=>{Qe=Q0(Qe,st," ")}),ge.textContent!==Qe&&(X0(t.removed,{element:ge.cloneNode()}),ge.textContent=Qe)),Gt("afterSanitizeElements",ge,null),!1)},dr=function(ge,Qe,Xe){if(gt&&(Qe==="id"||Qe==="name")&&(Xe in r||Xe in Fe||Xe==="__depth"||Xe==="__removalCount"))return!1;if(!(ae&&!ie[Qe]&&_a(q,Qe))){if(!(oe&&_a(_,Qe))){if(!G[Qe]||ie[Qe]){if(!(Ts(ge)&&(se.tagNameCheck instanceof RegExp&&_a(se.tagNameCheck,ge)||se.tagNameCheck instanceof Function&&se.tagNameCheck(ge))&&(se.attributeNameCheck instanceof RegExp&&_a(se.attributeNameCheck,Qe)||se.attributeNameCheck instanceof Function&&se.attributeNameCheck(Qe))||Qe==="is"&&se.allowCustomizedBuiltInElements&&(se.tagNameCheck instanceof RegExp&&_a(se.tagNameCheck,Xe)||se.tagNameCheck instanceof Function&&se.tagNameCheck(Xe))))return!1}else if(!Ft[Qe]){if(!_a(Y,Q0(Xe,U,""))){if(!((Qe==="src"||Qe==="xlink:href"||Qe==="href")&&ge!=="script"&&Txe(Xe,"data:")===0&&ht[ge])){if(!(fe&&!_a($,Q0(Xe,U,"")))){if(Xe)return!1}}}}}}return!0},Ts=function(ge){return ge!=="annotation-xml"&&ND(ge,K)},Kr=function(ge){Gt("beforeSanitizeAttributes",ge,null);const{attributes:Qe}=ge;if(!Qe)return;const Xe={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:G};let st=Qe.length;for(;st--;){const Ht=Qe[st],{name:At,namespaceURI:Ut,value:Jt}=Ht,bt=Se(At);let Je=At==="value"?Jt:Pxe(Jt);if(Xe.attrName=bt,Xe.attrValue=Je,Xe.keepAttr=!0,Xe.forceKeepAttr=void 0,Gt("uponSanitizeAttribute",ge,Xe),Je=Xe.attrValue,Xe.forceKeepAttr||(Xt(At,ge),!Xe.keepAttr))continue;if(!le&&_a(/\/>/i,Je)){Xt(At,ge);continue}if(be&&_a(/((--!?|])>)|<\/(style|title)/i,Je)){Xt(At,ge);continue}ue&&Cy([H,V,I],Mr=>{Je=Q0(Je,Mr," ")});const Wt=Se(ge.nodeName);if(dr(Wt,bt,Je)){if(Ke&&(bt==="id"||bt==="name")&&(Xt(At,ge),Je=Et+Je),E&&typeof S=="object"&&typeof S.getAttributeType=="function"&&!Ut)switch(S.getAttributeType(Wt,bt)){case"TrustedHTML":{Je=E.createHTML(Je);break}case"TrustedScriptURL":{Je=E.createScriptURL(Je);break}}try{Ut?ge.setAttributeNS(Ut,At,Je):ge.setAttribute(At,Je),Vr(ge)?Rt(ge):ED(t.removed)}catch(Mr){}}}Gt("afterSanitizeAttributes",ge,null)},or=function ut(ge){let Qe=null;const Xe=Nr(ge);for(Gt("beforeSanitizeShadowDOM",ge,null);Qe=Xe.nextNode();){if(Gt("uponSanitizeShadowNode",Qe,null),xr(Qe))continue;const st=j(Qe);Qe.nodeType===Ed.element&&(st&&st.__depth?Qe.__depth=(Qe.__removalCount||0)+st.__depth+1:Qe.__depth=1),(Qe.__depth>=we||Qe.__depth<0||_D(Qe.__depth))&&Rt(Qe),Qe.content instanceof o&&(Qe.content.__depth=Qe.__depth,ut(Qe.content)),Kr(Qe)}Gt("afterSanitizeShadowDOM",ge,null)};return t.sanitize=function(ut){let ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Qe=null,Xe=null,st=null,Ht=null;if(pr=!ut,pr&&(ut=""),typeof ut!="string"&&!qr(ut))if(typeof ut.toString=="function"){if(ut=ut.toString(),typeof ut!="string")throw J0("dirty is not a string, aborting")}else throw J0("toString is not a function");if(!t.isSupported)return ut;if(Pe||rt(ge),t.removed=[],typeof ut=="string"&&(xt=!1),xt){if(ut.nodeName){const Jt=Se(ut.nodeName);if(!B[Jt]||re[Jt])throw J0("root node is forbidden and cannot be sanitized in-place")}}else if(ut instanceof c)Qe=Pr(""),Xe=Qe.ownerDocument.importNode(ut,!0),Xe.nodeType===Ed.element&&Xe.nodeName==="BODY"||Xe.nodeName==="HTML"?Qe=Xe:Qe.appendChild(Xe);else{if(!Oe&&!ue&&!Ce&&ut.indexOf("<")===-1)return E&&ct?E.createHTML(ut):ut;if(Qe=Pr(ut),!Qe)return Oe?null:ct?N:""}Qe&&Ee&&Rt(Qe.firstChild);const At=Nr(xt?ut:Qe);for(;st=At.nextNode();){if(xr(st))continue;const Jt=j(st);st.nodeType===Ed.element&&(Jt&&Jt.__depth?st.__depth=(st.__removalCount||0)+Jt.__depth+1:st.__depth=1),(st.__depth>=we||st.__depth<0||_D(st.__depth))&&Rt(st),st.content instanceof o&&(st.content.__depth=st.__depth,or(st.content)),Kr(st)}if(xt)return ut;if(Oe){if(Ve)for(Ht=M.call(Qe.ownerDocument);Qe.firstChild;)Ht.appendChild(Qe.firstChild);else Ht=Qe;return(G.shadowroot||G.shadowrootmode)&&(Ht=L.call(n,Ht,!0)),Ht}let Ut=Ce?Qe.outerHTML:Qe.innerHTML;return Ce&&B["!doctype"]&&Qe.ownerDocument&&Qe.ownerDocument.doctype&&Qe.ownerDocument.doctype.name&&_a(EU,Qe.ownerDocument.doctype.name)&&(Ut="\n"+Ut),ue&&Cy([H,V,I],Jt=>{Ut=Q0(Ut,Jt," ")}),E&&ct?E.createHTML(Ut):Ut},t.setConfig=function(){let ut=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};rt(ut),Pe=!0},t.clearConfig=function(){je=null,Pe=!1},t.isValidAttribute=function(ut,ge,Qe){je||rt({});const Xe=Se(ut),st=Se(ge);return dr(Xe,st,Qe)},t.addHook=function(ut,ge){typeof ge=="function"&&(z[ut]=z[ut]||[],X0(z[ut],ge))},t.removeHook=function(ut){if(z[ut])return ED(z[ut])},t.removeHooks=function(ut){z[ut]&&(z[ut]=[])},t.removeAllHooks=function(){z={}},t}var Of=NU();Of.addHook("afterSanitizeAttributes",function(e){"target"in e&&(e.setAttribute("target","_blank"),e.setAttribute("rel","noopener"))});const H2=E=>{var N=E,{children:e,text:t,open:r,isDisabled:n,isDark:a,defaultOpen:o,onOpenChange:i,delayDuration:c,noPortal:u=!1,align:f="center",alignOffset:h=0,sideOffset:m=4,maxHeight:v=120,maxWidth:S=220,className:w,classNameTrigger:g,side:b,onClick:C}=N,j=ke(N,["children","text","open","isDisabled","isDark","defaultOpen","onOpenChange","delayDuration","noPortal","align","alignOffset","sideOffset","maxHeight","maxWidth","className","classNameTrigger","side","onClick"]);const T=u?p.Fragment:mU,A=We("");return p.useEffect(()=>{window.markdown.ready.then(M=>{try{const D=M.parse(t);A.value=Of.sanitize(D,{USE_PROFILES:{html:!0}})}catch(D){A.value=Of.sanitize(t,{USE_PROFILES:{html:!0}})}})},[t]),n?s.jsx("span",{className:g,children:e}):s.jsx(t_,{delayDuration:c,children:s.jsxs(r_,{open:r,defaultOpen:o,onOpenChange:i,delayDuration:c,children:[s.jsx(n_,{onClick:C,asChild:!0,children:s.jsx("span",{className:g,children:e})}),s.jsx(T,{children:s.jsx(Nk,ee(R({side:b!=null?b:"top",sideOffset:m,alignOffset:h,align:f,className:hr("z-50 overflow-hidden rounded-md border bg-popover px-2.5 py-1.5 text-[13px] text-popover-foreground shadow-sm animate-in fade-in-50 data-[side=bottom]:slide-in-from-top-1 data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1 data-[side=top]:slide-in-from-bottom-1",w)},j),{style:ee(R({},j.style),{maxWidth:S}),children:s.jsx("div",{className:"max-w-[".concat(S,"px]"),children:s.jsx(Lf,{options:{scrollbars:{theme:a?"os-theme-light":"os-theme-dark",autoHide:"move"}},style:{maxHeight:v,maxWidth:"100%"},children:s.jsx("div",{dangerouslySetInnerHTML:{__html:A.value},className:"note-content"})})})}))})]})})},go=(e,t)=>{const[r,n]=p.useState(e);return p.useEffect(()=>{const a=setTimeout(()=>{n(e)},t);return()=>{clearTimeout(a)}},[e,t]),r};function Vxe(){return function(e){let t;function r(){t=setTimeout(()=>{e()},1e3)}function n(){t&&clearTimeout(t)}return{onMouseDown:r,onTouchStart:r,onMouseUp:n,onMouseLeave:n,onTouchMove:n,onTouchEnd:n}}}function km(e){var t,r;return s.jsxs("svg",{viewBox:"0 0 24 24",width:(t=e.width)!=null?t:"14px",height:(r=e.height)!=null?r:"14px",fill:"none",stroke:"currentColor",strokeWidth:"1",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("path",{d:"M 3 8.992 L 19.686 8.988"}),s.jsx("polyline",{points:"16 16.992000579833984"}),s.jsx("line",{x1:"3",x2:"13.406",y1:"14.992",y2:"14.992"})]})}function Cm(e){var t,r;return s.jsxs("svg",{viewBox:"0 0 24 24",width:(t=e.width)!=null?t:"14px",height:(r=e.height)!=null?r:"14px",fill:"none",stroke:"currentColor",strokeWidth:"1",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("path",{d:"M 3 8.992 L 18 8.992 C 20.309 8.992 21.753 11.492 20.598 13.492 C 20.062 14.42 19.072 14.992 18 14.992 L 14 14.992"}),s.jsx("polyline",{points:"16 12.992 14 14.992 16 16.992"}),s.jsx("line",{x1:"3",x2:"10",y1:"14.992",y2:"14.992"})]})}const Zg="/assets/image-not-found-Cx6NJXh5.png",xf="/assets/no-image-CF2LzJv7.png";function Va(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function qxe(e){return Va(1,arguments),e instanceof Date||Tf(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function $l(e){Va(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Tf(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console!="undefined"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function Kxe(e){if(Va(1,arguments),!qxe(e)&&typeof e!="number")return!1;var t=$l(e);return!isNaN(Number(t))}function $f(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Gxe(e,t){Va(2,arguments);var r=$l(e).getTime(),n=$f(t);return new Date(r+n)}function Yxe(e,t){Va(2,arguments);var r=$f(t);return Gxe(e,-r)}var Zxe=864e5;function Xxe(e){Va(1,arguments);var t=$l(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),a=r-n;return Math.floor(a/Zxe)+1}function B2(e){Va(1,arguments);var t=1,r=$l(e),n=r.getUTCDay(),a=(n=a.getTime()?r+1:t.getTime()>=i.getTime()?r:r-1}function Qxe(e){Va(1,arguments);var t=_U(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=B2(r);return n}var Jxe=6048e5;function eye(e){Va(1,arguments);var t=$l(e),r=B2(t).getTime()-Qxe(t).getTime();return Math.round(r/Jxe)+1}var tye={};function Dk(){return tye}function U2(e,t){var r,n,a,o,i,c,u,f;Va(1,arguments);var h=Dk(),m=$f((r=(n=(a=(o=t==null?void 0:t.weekStartsOn)!==null&&o!==void 0?o:t==null||(i=t.locale)===null||i===void 0||(c=i.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&a!==void 0?a:h.weekStartsOn)!==null&&n!==void 0?n:(u=h.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.weekStartsOn)!==null&&r!==void 0?r:0);if(!(m>=0&&m<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=$l(e),S=v.getUTCDay(),w=(S=1&&S<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var w=new Date(0);w.setUTCFullYear(m+1,0,S),w.setUTCHours(0,0,0,0);var g=U2(w,t),b=new Date(0);b.setUTCFullYear(m,0,S),b.setUTCHours(0,0,0,0);var C=U2(b,t);return h.getTime()>=g.getTime()?m+1:h.getTime()>=C.getTime()?m:m-1}function rye(e,t){var r,n,a,o,i,c,u,f;Va(1,arguments);var h=Dk(),m=$f((r=(n=(a=(o=t==null?void 0:t.firstWeekContainsDate)!==null&&o!==void 0?o:t==null||(i=t.locale)===null||i===void 0||(c=i.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&a!==void 0?a:h.firstWeekContainsDate)!==null&&n!==void 0?n:(u=h.locale)===null||u===void 0||(f=u.options)===null||f===void 0?void 0:f.firstWeekContainsDate)!==null&&r!==void 0?r:1),v=TU(e,t),S=new Date(0);S.setUTCFullYear(v,0,m),S.setUTCHours(0,0,0,0);var w=U2(S,t);return w}var nye=6048e5;function sye(e,t){Va(1,arguments);var r=$l(e),n=U2(r,t).getTime()-rye(r,t).getTime();return Math.round(n/nye)+1}function ln(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length0?n:1-n;return ln(r==="yy"?a%100:a,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):ln(n+1,2)},d:function(t,r){return ln(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return ln(t.getUTCHours()%12||12,r.length)},H:function(t,r){return ln(t.getUTCHours(),r.length)},m:function(t,r){return ln(t.getUTCMinutes(),r.length)},s:function(t,r){return ln(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,a=t.getUTCMilliseconds(),o=Math.floor(a*Math.pow(10,n-3));return ln(o,r.length)}};const Qc=aye;var zh={am:"am",pm:"pm",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},oye={G:function(t,r,n){var a=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(a,{width:"abbreviated"});case"GGGGG":return n.era(a,{width:"narrow"});case"GGGG":default:return n.era(a,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var a=t.getUTCFullYear(),o=a>0?a:1-a;return n.ordinalNumber(o,{unit:"year"})}return Qc.y(t,r)},Y:function(t,r,n,a){var o=TU(t,a),i=o>0?o:1-o;if(r==="YY"){var c=i%100;return ln(c,2)}return r==="Yo"?n.ordinalNumber(i,{unit:"year"}):ln(i,r.length)},R:function(t,r){var n=_U(t);return ln(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return ln(n,r.length)},Q:function(t,r,n){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(a);case"QQ":return ln(a,2);case"Qo":return n.ordinalNumber(a,{unit:"quarter"});case"QQQ":return n.quarter(a,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(a,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(a,{width:"wide",context:"formatting"})}},q:function(t,r,n){var a=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(a);case"qq":return ln(a,2);case"qo":return n.ordinalNumber(a,{unit:"quarter"});case"qqq":return n.quarter(a,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(a,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(a,{width:"wide",context:"standalone"})}},M:function(t,r,n){var a=t.getUTCMonth();switch(r){case"M":case"MM":return Qc.M(t,r);case"Mo":return n.ordinalNumber(a+1,{unit:"month"});case"MMM":return n.month(a,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(a,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(a,{width:"wide",context:"formatting"})}},L:function(t,r,n){var a=t.getUTCMonth();switch(r){case"L":return String(a+1);case"LL":return ln(a+1,2);case"Lo":return n.ordinalNumber(a+1,{unit:"month"});case"LLL":return n.month(a,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(a,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(a,{width:"wide",context:"standalone"})}},w:function(t,r,n,a){var o=sye(t,a);return r==="wo"?n.ordinalNumber(o,{unit:"week"}):ln(o,r.length)},I:function(t,r,n){var a=eye(t);return r==="Io"?n.ordinalNumber(a,{unit:"week"}):ln(a,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):Qc.d(t,r)},D:function(t,r,n){var a=Xxe(t);return r==="Do"?n.ordinalNumber(a,{unit:"dayOfYear"}):ln(a,r.length)},E:function(t,r,n){var a=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(a,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(a,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(a,{width:"short",context:"formatting"});case"EEEE":default:return n.day(a,{width:"wide",context:"formatting"})}},e:function(t,r,n,a){var o=t.getUTCDay(),i=(o-a.weekStartsOn+8)%7||7;switch(r){case"e":return String(i);case"ee":return ln(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,r,n,a){var o=t.getUTCDay(),i=(o-a.weekStartsOn+8)%7||7;switch(r){case"c":return String(i);case"cc":return ln(i,r.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,r,n){var a=t.getUTCDay(),o=a===0?7:a;switch(r){case"i":return String(o);case"ii":return ln(o,r.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(a,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(a,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(a,{width:"short",context:"formatting"});case"iiii":default:return n.day(a,{width:"wide",context:"formatting"})}},a:function(t,r,n){var a=t.getUTCHours(),o=a/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,r,n){var a=t.getUTCHours(),o;switch(a===12?o=zh.noon:a===0?o=zh.midnight:o=a/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,r,n){var a=t.getUTCHours(),o;switch(a>=17?o=zh.evening:a>=12?o=zh.afternoon:a>=4?o=zh.morning:o=zh.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var a=t.getUTCHours()%12;return a===0&&(a=12),n.ordinalNumber(a,{unit:"hour"})}return Qc.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Qc.H(t,r)},K:function(t,r,n){var a=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(a,{unit:"hour"}):ln(a,r.length)},k:function(t,r,n){var a=t.getUTCHours();return a===0&&(a=24),r==="ko"?n.ordinalNumber(a,{unit:"hour"}):ln(a,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Qc.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Qc.s(t,r)},S:function(t,r){return Qc.S(t,r)},X:function(t,r,n,a){var o=a._originalDate||t,i=o.getTimezoneOffset();if(i===0)return"Z";switch(r){case"X":return LD(i);case"XXXX":case"XX":return Md(i);case"XXXXX":case"XXX":default:return Md(i,":")}},x:function(t,r,n,a){var o=a._originalDate||t,i=o.getTimezoneOffset();switch(r){case"x":return LD(i);case"xxxx":case"xx":return Md(i);case"xxxxx":case"xxx":default:return Md(i,":")}},O:function(t,r,n,a){var o=a._originalDate||t,i=o.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+RD(i,":");case"OOOO":default:return"GMT"+Md(i,":")}},z:function(t,r,n,a){var o=a._originalDate||t,i=o.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+RD(i,":");case"zzzz":default:return"GMT"+Md(i,":")}},t:function(t,r,n,a){var o=a._originalDate||t,i=Math.floor(o.getTime()/1e3);return ln(i,r.length)},T:function(t,r,n,a){var o=a._originalDate||t,i=o.getTime();return ln(i,r.length)}};function RD(e,t){var r=e>0?"-":"+",n=Math.abs(e),a=Math.floor(n/60),o=n%60;if(o===0)return r+String(a);var i=t||"";return r+String(a)+i+ln(o,2)}function LD(e,t){if(e%60===0){var r=e>0?"-":"+";return r+ln(Math.abs(e)/60,2)}return Md(e,t)}function Md(e,t){var r=t||"",n=e>0?"-":"+",a=Math.abs(e),o=ln(Math.floor(a/60),2),i=ln(a%60,2);return n+o+r+i}var ID=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},PU=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},iye=function(t,r){var n=t.match(/(P+)(p+)?/)||[],a=n[1],o=n[2];if(!o)return ID(t,r);var i;switch(a){case"P":i=r.dateTime({width:"short"});break;case"PP":i=r.dateTime({width:"medium"});break;case"PPP":i=r.dateTime({width:"long"});break;case"PPPP":default:i=r.dateTime({width:"full"});break}return i.replace("{{date}}",ID(a,r)).replace("{{time}}",PU(o,r))},lye={p:PU,P:iye};function cye(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var uye=["D","DD"],dye=["YY","YYYY"];function fye(e){return uye.indexOf(e)!==-1}function hye(e){return dye.indexOf(e)!==-1}function OD(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var pye={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},mye=function(t,r,n){var a,o=pye[t];return typeof o=="string"?a=o:r===1?a=o.one:a=o.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+a:a+" ago":a};const gye=mye;function CS(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var vye={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},xye={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},yye={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},bye={date:CS({formats:vye,defaultWidth:"full"}),time:CS({formats:xye,defaultWidth:"full"}),dateTime:CS({formats:yye,defaultWidth:"full"})};const wye=bye;var kye={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},Cye=function(t,r,n,a){return kye[t]};const Sye=Cye;function eg(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",a;if(n==="formatting"&&e.formattingValues){var o=e.defaultFormattingWidth||e.defaultWidth,i=r!=null&&r.width?String(r.width):o;a=e.formattingValues[i]||e.formattingValues[o]}else{var c=e.defaultWidth,u=r!=null&&r.width?String(r.width):e.defaultWidth;a=e.values[u]||e.values[c]}var f=e.argumentCallback?e.argumentCallback(t):t;return a[f]}}var jye={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},Eye={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},Nye={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},_ye={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},Tye={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},Pye={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},Mye=function(t,r){var n=Number(t),a=n%100;if(a>20||a<10)switch(a%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},Dye={ordinalNumber:Mye,era:eg({values:jye,defaultWidth:"wide"}),quarter:eg({values:Eye,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:eg({values:Nye,defaultWidth:"wide"}),day:eg({values:_ye,defaultWidth:"wide"}),dayPeriod:eg({values:Tye,defaultWidth:"wide",formattingValues:Pye,defaultFormattingWidth:"wide"})};const Aye=Dye;function tg(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,a=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=t.match(a);if(!o)return null;var i=o[0],c=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(c)?Lye(c,function(m){return m.test(i)}):Rye(c,function(m){return m.test(i)}),f;f=e.valueCallback?e.valueCallback(u):u,f=r.valueCallback?r.valueCallback(f):f;var h=t.slice(i.length);return{value:f,rest:h}}}function Rye(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function Lye(e,t){for(var r=0;r1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var a=n[0],o=t.match(e.parsePattern);if(!o)return null;var i=e.valueCallback?e.valueCallback(o[0]):o[0];i=r.valueCallback?r.valueCallback(i):i;var c=t.slice(a.length);return{value:i,rest:c}}}var Oye=/^(\d+)(th|st|nd|rd)?/i,$ye=/\d+/i,zye={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},Fye={any:[/^b/i,/^(a|c)/i]},Hye={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},Bye={any:[/1/i,/2/i,/3/i,/4/i]},Uye={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Wye={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},Vye={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},qye={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Kye={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},Gye={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Yye={ordinalNumber:Iye({matchPattern:Oye,parsePattern:$ye,valueCallback:function(t){return parseInt(t,10)}}),era:tg({matchPatterns:zye,defaultMatchWidth:"wide",parsePatterns:Fye,defaultParseWidth:"any"}),quarter:tg({matchPatterns:Hye,defaultMatchWidth:"wide",parsePatterns:Bye,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:tg({matchPatterns:Uye,defaultMatchWidth:"wide",parsePatterns:Wye,defaultParseWidth:"any"}),day:tg({matchPatterns:Vye,defaultMatchWidth:"wide",parsePatterns:qye,defaultParseWidth:"any"}),dayPeriod:tg({matchPatterns:Kye,defaultMatchWidth:"any",parsePatterns:Gye,defaultParseWidth:"any"})};const Zye=Yye;var Xye={code:"en-US",formatDistance:gye,formatLong:wye,formatRelative:Sye,localize:Aye,match:Zye,options:{weekStartsOn:0,firstWeekContainsDate:1}};const Qye=Xye;var Jye=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,ebe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,tbe=/^'([^]*?)'?$/,rbe=/''/g,nbe=/[a-zA-Z]/;function zf(e,t,r){var n,a,o,i,c,u,f,h,m,v,S,w,g,b,C,j,E,N;Va(2,arguments);var T=String(t),A=Dk(),M=(n=(a=r==null?void 0:r.locale)!==null&&a!==void 0?a:A.locale)!==null&&n!==void 0?n:Qye,D=$f((o=(i=(c=(u=r==null?void 0:r.firstWeekContainsDate)!==null&&u!==void 0?u:r==null||(f=r.locale)===null||f===void 0||(h=f.options)===null||h===void 0?void 0:h.firstWeekContainsDate)!==null&&c!==void 0?c:A.firstWeekContainsDate)!==null&&i!==void 0?i:(m=A.locale)===null||m===void 0||(v=m.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&o!==void 0?o:1);if(!(D>=1&&D<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var L=$f((S=(w=(g=(b=r==null?void 0:r.weekStartsOn)!==null&&b!==void 0?b:r==null||(C=r.locale)===null||C===void 0||(j=C.options)===null||j===void 0?void 0:j.weekStartsOn)!==null&&g!==void 0?g:A.weekStartsOn)!==null&&w!==void 0?w:(E=A.locale)===null||E===void 0||(N=E.options)===null||N===void 0?void 0:N.weekStartsOn)!==null&&S!==void 0?S:0);if(!(L>=0&&L<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!M.localize)throw new RangeError("locale must contain localize property");if(!M.formatLong)throw new RangeError("locale must contain formatLong property");var z=$l(e);if(!Kxe(z))throw new RangeError("Invalid time value");var H=cye(z),V=Yxe(z,H),I={firstWeekContainsDate:D,weekStartsOn:L,locale:M,_originalDate:z},q=T.match(ebe).map(function(_){var $=_[0];if($==="p"||$==="P"){var U=lye[$];return U(_,M.formatLong)}return _}).join("").match(Jye).map(function(_){if(_==="''")return"'";var $=_[0];if($==="'")return sbe(_);var U=oye[$];if(U)return!(r!=null&&r.useAdditionalWeekYearTokens)&&hye(_)&&OD(_,t,String(e)),!(r!=null&&r.useAdditionalDayOfYearTokens)&&fye(_)&&OD(_,t,String(e)),U(V,_,M.localize,I);if($.match(nbe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+$+"`");return _}).join("");return q}function sbe(e){var t=e.match(tbe);return t?t[1].replace(rbe,"'"):e}var abe=Object.create,Ak=Object.defineProperty,obe=Object.defineProperties,ibe=Object.getOwnPropertyDescriptor,lbe=Object.getOwnPropertyDescriptors,MU=Object.getOwnPropertyNames,W2=Object.getOwnPropertySymbols,cbe=Object.getPrototypeOf,c_=Object.prototype.hasOwnProperty,DU=Object.prototype.propertyIsEnumerable,$D=(e,t,r)=>t in e?Ak(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Dl=(e,t)=>{for(var r in t||(t={}))c_.call(t,r)&&$D(e,r,t[r]);if(W2)for(var r of W2(t))DU.call(t,r)&&$D(e,r,t[r]);return e},Rk=(e,t)=>obe(e,lbe(t)),AU=(e,t)=>{var r={};for(var n in e)c_.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&W2)for(var n of W2(e))t.indexOf(n)<0&&DU.call(e,n)&&(r[n]=e[n]);return r},ube=(e,t)=>function(){return t||(0,e[MU(e)[0]])((t={exports:{}}).exports,t),t.exports},dbe=(e,t)=>{for(var r in t)Ak(e,r,{get:t[r],enumerable:!0})},fbe=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of MU(t))!c_.call(e,a)&&a!==r&&Ak(e,a,{get:()=>t[a],enumerable:!(n=ibe(t,a))||n.enumerable});return e},hbe=(e,t,r)=>(r=e!=null?abe(cbe(e)):{},fbe(t||!e||!e.__esModule?Ak(r,"default",{value:e,enumerable:!0}):r,e)),pbe=ube({"../../node_modules/.pnpm/prismjs@1.29.0_patch_hash=vrxx3pzkik6jpmgpayxfjunetu/node_modules/prismjs/prism.js"(e,t){var r=function(){var n=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,a=0,o={},i={util:{encode:function w(g){return g instanceof c?new c(g.type,w(g.content),g.alias):Array.isArray(g)?g.map(w):g.replace(/&/g,"&").replace(/"+j.content+""};function u(w,g,b,C){w.lastIndex=g;var j=w.exec(b);if(j&&C&&j[1]){var E=j[1].length;j.index+=E,j[0]=j[0].slice(E)}return j}function f(w,g,b,C,j,E){for(var N in b)if(!(!b.hasOwnProperty(N)||!b[N])){var T=b[N];T=Array.isArray(T)?T:[T];for(var A=0;A=E.reach);_+=q.value.length,q=q.next){var $=q.value;if(g.length>w.length)return;if(!($ instanceof c)){var U=1,K;if(z){if(K=u(I,_,w,L),!K||K.index>=w.length)break;var G=K.index,Y=K.index+K[0].length,B=_;for(B+=q.value.length;G>=B;)q=q.next,B+=q.value.length;if(B-=q.value.length,_=B,q.value instanceof c)continue;for(var F=q;F!==g.tail&&(BE.reach&&(E.reach=ie);var oe=q.prev;se&&(oe=m(g,oe,se),_+=se.length),v(g,oe,U);var ae=new c(N,D?i.tokenize(X,D):X,H,X);if(q=m(g,oe,ae),re&&m(g,q,re),U>1){var fe={cause:N+","+A,reach:ie};f(w,g,b,q.prev,_,fe),E&&fe.reach>E.reach&&(E.reach=fe.reach)}}}}}}function h(){var w={value:null,prev:null,next:null},g={value:null,prev:w,next:null};w.next=g,this.head=w,this.tail=g,this.length=0}function m(w,g,b){var C=g.next,j={value:b,prev:g,next:C};return g.next=j,C.prev=j,w.length++,j}function v(w,g,b){for(var C=g.next,j=0;j/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},at.languages.markup.tag.inside["attr-value"].inside.entity=at.languages.markup.entity,at.languages.markup.doctype.inside["internal-subset"].inside=at.languages.markup,at.hooks.add("wrap",function(e){e.type==="entity"&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(at.languages.markup.tag,"addInlined",{value:function(e,n){var r={},r=(r["language-"+n]={pattern:/(^$)/i,lookbehind:!0,inside:at.languages[n]},r.cdata=/^$/i,{"included-cdata":{pattern://i,inside:r}}),n=(r["language-"+n]={pattern:/[\s\S]+/,inside:at.languages[n]},{});n[e]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},at.languages.insertBefore("markup","cdata",n)}}),Object.defineProperty(at.languages.markup.tag,"addAttribute",{value:function(e,t){at.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:at.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),at.languages.html=at.languages.markup,at.languages.mathml=at.languages.markup,at.languages.svg=at.languages.markup,at.languages.xml=at.languages.extend("markup",{}),at.languages.ssml=at.languages.xml,at.languages.atom=at.languages.xml,at.languages.rss=at.languages.xml,function(e){var t={pattern:/\\[\\(){}[\]^$+*?|.]/,alias:"escape"},r=/\\(?:x[\da-fA-F]{2}|u[\da-fA-F]{4}|u\{[\da-fA-F]+\}|0[0-7]{0,2}|[123][0-7]{2}|c[a-zA-Z]|.)/,n="(?:[^\\\\-]|"+r.source+")",n=RegExp(n+"-"+n),a={pattern:/(<|')[^<>']+(?=[>']$)/,lookbehind:!0,alias:"variable"};e.languages.regex={"char-class":{pattern:/((?:^|[^\\])(?:\\\\)*)\[(?:[^\\\]]|\\[\s\S])*\]/,lookbehind:!0,inside:{"char-class-negation":{pattern:/(^\[)\^/,lookbehind:!0,alias:"operator"},"char-class-punctuation":{pattern:/^\[|\]$/,alias:"punctuation"},range:{pattern:n,inside:{escape:r,"range-punctuation":{pattern:/-/,alias:"operator"}}},"special-escape":t,"char-set":{pattern:/\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},escape:r}},"special-escape":t,"char-set":{pattern:/\.|\\[wsd]|\\p\{[^{}]+\}/i,alias:"class-name"},backreference:[{pattern:/\\(?![123][0-7]{2})[1-9]/,alias:"keyword"},{pattern:/\\k<[^<>']+>/,alias:"keyword",inside:{"group-name":a}}],anchor:{pattern:/[$^]|\\[ABbGZz]/,alias:"function"},escape:r,group:[{pattern:/\((?:\?(?:<[^<>']+>|'[^<>']+'|[>:]|]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},at.languages.javascript=at.languages.extend("clike",{"class-name":[at.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),at.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,at.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:at.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:at.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:at.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:at.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:at.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),at.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:at.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),at.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),at.languages.markup&&(at.languages.markup.tag.addInlined("script","javascript"),at.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),at.languages.js=at.languages.javascript,at.languages.actionscript=at.languages.extend("javascript",{keyword:/\b(?:as|break|case|catch|class|const|default|delete|do|dynamic|each|else|extends|final|finally|for|function|get|if|implements|import|in|include|instanceof|interface|internal|is|namespace|native|new|null|override|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|use|var|void|while|with)\b/,operator:/\+\+|--|(?:[+\-*\/%^]|&&?|\|\|?|<>?>?|[!=]=?)=?|[~?@]/}),at.languages.actionscript["class-name"].alias="function",delete at.languages.actionscript.parameter,delete at.languages.actionscript["literal-property"],at.languages.markup&&at.languages.insertBefore("actionscript","string",{xml:{pattern:/(^|[^.])<\/?\w+(?:\s+[^\s>\/=]+=("|')(?:\\[\s\S]|(?!\2)[^\\])*\2)*\s*\/?>/,lookbehind:!0,inside:at.languages.markup}}),function(e){var t=/#(?!\{).+/,r={pattern:/#\{[^}]+\}/,alias:"variable"};e.languages.coffeescript=e.languages.extend("javascript",{comment:t,string:[{pattern:/'(?:\\[\s\S]|[^\\'])*'/,greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,greedy:!0,inside:{interpolation:r}}],keyword:/\b(?:and|break|by|catch|class|continue|debugger|delete|do|each|else|extend|extends|false|finally|for|if|in|instanceof|is|isnt|let|loop|namespace|new|no|not|null|of|off|on|or|own|return|super|switch|then|this|throw|true|try|typeof|undefined|unless|until|when|while|window|with|yes|yield)\b/,"class-member":{pattern:/@(?!\d)\w+/,alias:"variable"}}),e.languages.insertBefore("coffeescript","comment",{"multiline-comment":{pattern:/###[\s\S]+?###/,alias:"comment"},"block-regex":{pattern:/\/{3}[\s\S]*?\/{3}/,alias:"regex",inside:{comment:t,interpolation:r}}}),e.languages.insertBefore("coffeescript","string",{"inline-javascript":{pattern:/`(?:\\[\s\S]|[^\\`])*`/,inside:{delimiter:{pattern:/^`|`$/,alias:"punctuation"},script:{pattern:/[\s\S]+/,alias:"language-javascript",inside:e.languages.javascript}}},"multiline-string":[{pattern:/'''[\s\S]*?'''/,greedy:!0,alias:"string"},{pattern:/"""[\s\S]*?"""/,greedy:!0,alias:"string",inside:{interpolation:r}}]}),e.languages.insertBefore("coffeescript","keyword",{property:/(?!\d)\w+(?=\s*:(?!:))/}),delete e.languages.coffeescript["template-string"],e.languages.coffee=e.languages.coffeescript}(at),function(e){var t=e.languages.javadoclike={parameter:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*@(?:arg|arguments|param)\s+)\w+/m,lookbehind:!0},keyword:{pattern:/(^[\t ]*(?:\/{3}|\*|\/\*\*)\s*|\{)@[a-z][a-zA-Z-]+\b/m,lookbehind:!0},punctuation:/[{}]/};Object.defineProperty(t,"addSupport",{value:function(r,n){(r=typeof r=="string"?[r]:r).forEach(function(a){var o=function(m){m.inside||(m.inside={}),m.inside.rest=n},i="doc-comment";if(c=e.languages[a]){var c,u=c[i];if((u=u||(c=e.languages.insertBefore(a,"comment",{"doc-comment":{pattern:/(^|[^\\])\/\*\*[^/][\s\S]*?(?:\*\/|$)/,lookbehind:!0,alias:"comment"}}))[i])instanceof RegExp&&(u=c[i]={pattern:u}),Array.isArray(u))for(var f=0,h=u.length;f|\+|~|\|\|/,punctuation:/[(),]/}},e.languages.css.atrule.inside["selector-function-argument"].inside=t,e.languages.insertBefore("css","property",{variable:{pattern:/(^|[^-\w\xA0-\uFFFF])--(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*/i,lookbehind:!0}}),{pattern:/(\b\d+)(?:%|[a-z]+(?![\w-]))/,lookbehind:!0}),r={pattern:/(^|[^\w.-])-?(?:\d+(?:\.\d+)?|\.\d+)/,lookbehind:!0};e.languages.insertBefore("css","function",{operator:{pattern:/(\s)[+\-*\/](?=\s)/,lookbehind:!0},hexcode:{pattern:/\B#[\da-f]{3,8}\b/i,alias:"color"},color:[{pattern:/(^|[^\w-])(?:AliceBlue|AntiqueWhite|Aqua|Aquamarine|Azure|Beige|Bisque|Black|BlanchedAlmond|Blue|BlueViolet|Brown|BurlyWood|CadetBlue|Chartreuse|Chocolate|Coral|CornflowerBlue|Cornsilk|Crimson|Cyan|DarkBlue|DarkCyan|DarkGoldenRod|DarkGr[ae]y|DarkGreen|DarkKhaki|DarkMagenta|DarkOliveGreen|DarkOrange|DarkOrchid|DarkRed|DarkSalmon|DarkSeaGreen|DarkSlateBlue|DarkSlateGr[ae]y|DarkTurquoise|DarkViolet|DeepPink|DeepSkyBlue|DimGr[ae]y|DodgerBlue|FireBrick|FloralWhite|ForestGreen|Fuchsia|Gainsboro|GhostWhite|Gold|GoldenRod|Gr[ae]y|Green|GreenYellow|HoneyDew|HotPink|IndianRed|Indigo|Ivory|Khaki|Lavender|LavenderBlush|LawnGreen|LemonChiffon|LightBlue|LightCoral|LightCyan|LightGoldenRodYellow|LightGr[ae]y|LightGreen|LightPink|LightSalmon|LightSeaGreen|LightSkyBlue|LightSlateGr[ae]y|LightSteelBlue|LightYellow|Lime|LimeGreen|Linen|Magenta|Maroon|MediumAquaMarine|MediumBlue|MediumOrchid|MediumPurple|MediumSeaGreen|MediumSlateBlue|MediumSpringGreen|MediumTurquoise|MediumVioletRed|MidnightBlue|MintCream|MistyRose|Moccasin|NavajoWhite|Navy|OldLace|Olive|OliveDrab|Orange|OrangeRed|Orchid|PaleGoldenRod|PaleGreen|PaleTurquoise|PaleVioletRed|PapayaWhip|PeachPuff|Peru|Pink|Plum|PowderBlue|Purple|RebeccaPurple|Red|RosyBrown|RoyalBlue|SaddleBrown|Salmon|SandyBrown|SeaGreen|SeaShell|Sienna|Silver|SkyBlue|SlateBlue|SlateGr[ae]y|Snow|SpringGreen|SteelBlue|Tan|Teal|Thistle|Tomato|Transparent|Turquoise|Violet|Wheat|White|WhiteSmoke|Yellow|YellowGreen)(?![\w-])/i,lookbehind:!0},{pattern:/\b(?:hsl|rgb)\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*\)\B|\b(?:hsl|rgb)a\(\s*\d{1,3}\s*,\s*\d{1,3}%?\s*,\s*\d{1,3}%?\s*,\s*(?:0|0?\.\d+|1)\s*\)\B/i,inside:{unit:t,number:r,function:/[\w-]+(?=\()/,punctuation:/[(),]/}}],entity:/\\[\da-f]{1,8}/i,unit:t,number:r})}(at),function(e){var t=/[*&][^\s[\]{},]+/,r=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,n="(?:"+r.source+"(?:[ ]+"+t.source+")?|"+t.source+"(?:[ ]+"+r.source+")?)",a=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),o=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function i(c,u){u=(u||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return n}).replace(/<>/g,function(){return c});return RegExp(f,u)}e.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return n})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return n}).replace(/<>/g,function(){return"(?:"+a+"|"+o+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:i(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:i(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:i(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:i(o),lookbehind:!0,greedy:!0},number:{pattern:i(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:r,important:t,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},e.languages.yml=e.languages.yaml}(at),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(f){return f=f.replace(//g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+f+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,a=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return n}),o=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source,i=(e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+a+o+"(?:"+a+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+a+o+")(?:"+a+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(n),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+a+")"+o+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+a+"$"),inside:{"table-header":{pattern:RegExp(n),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(f){["url","bold","italic","strike","code-snippet"].forEach(function(h){f!==h&&(e.languages.markdown[f].inside.content.inside[h]=e.languages.markdown[h])})}),e.hooks.add("after-tokenize",function(f){f.language!=="markdown"&&f.language!=="md"||function h(m){if(m&&typeof m!="string")for(var v=0,S=m.length;v",quot:'"'},u=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(at),at.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:at.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},at.hooks.add("after-tokenize",function(e){if(e.language==="graphql")for(var t=e.tokens.filter(function(w){return typeof w!="string"&&w.type!=="comment"&&w.type!=="scalar"}),r=0;r?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/},function(e){var t=e.languages.javascript["template-string"],r=t.pattern.source,n=t.inside.interpolation,a=n.inside["interpolation-punctuation"],o=n.pattern.source;function i(m,v){if(e.languages[m])return{pattern:RegExp("((?:"+v+")\\s*)"+r),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:m}}}}function c(m,v,S){return m={code:m,grammar:v,language:S},e.hooks.run("before-tokenize",m),m.tokens=e.tokenize(m.code,m.grammar),e.hooks.run("after-tokenize",m),m.tokens}function u(m,v,S){var b=e.tokenize(m,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),w=0,g={},b=c(b.map(function(j){if(typeof j=="string")return j;for(var E,N,j=j.content;m.indexOf((N=w++,E="___"+S.toUpperCase()+"_"+N+"___"))!==-1;);return g[E]=j,E}).join(""),v,S),C=Object.keys(g);return w=0,function j(E){for(var N=0;N=C.length)return;var T,A,M,D,L,z,H,V=E[N];typeof V=="string"||typeof V.content=="string"?(T=C[w],(H=(z=typeof V=="string"?V:V.content).indexOf(T))!==-1&&(++w,A=z.substring(0,H),L=g[T],M=void 0,(D={})["interpolation-punctuation"]=a,(D=e.tokenize(L,D)).length===3&&((M=[1,1]).push.apply(M,c(D[1],e.languages.javascript,"javascript")),D.splice.apply(D,M)),M=new e.Token("interpolation",D,n.alias,L),D=z.substring(H+T.length),L=[],A&&L.push(A),L.push(M),D&&(j(z=[D]),L.push.apply(L,z)),typeof V=="string"?(E.splice.apply(E,[N,1].concat(L)),N+=L.length-1):V.content=L)):(H=V.content,Array.isArray(H)?j(H):j([H]))}}(b),new e.Token(S,b,"language-"+S,m)}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var f={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};function h(m){return typeof m=="string"?m:Array.isArray(m)?m.map(h).join(""):h(m.content)}e.hooks.add("after-tokenize",function(m){m.language in f&&function v(S){for(var w=0,g=S.length;w]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(at),function(e){var t=e.languages.javascript,r=/\{(?:[^{}]|\{(?:[^{}]|\{[^{}]*\})*\})+\}/.source,n="(@(?:arg|argument|param|property)\\s+(?:"+r+"\\s+)?)";e.languages.jsdoc=e.languages.extend("javadoclike",{parameter:{pattern:RegExp(n+/(?:(?!\s)[$\w\xA0-\uFFFF.])+(?=\s|$)/.source),lookbehind:!0,inside:{punctuation:/\./}}}),e.languages.insertBefore("jsdoc","keyword",{"optional-parameter":{pattern:RegExp(n+/\[(?:(?!\s)[$\w\xA0-\uFFFF.])+(?:=[^[\]]+)?\](?=\s|$)/.source),lookbehind:!0,inside:{parameter:{pattern:/(^\[)[$\w\xA0-\uFFFF\.]+/,lookbehind:!0,inside:{punctuation:/\./}},code:{pattern:/(=)[\s\S]*(?=\]$)/,lookbehind:!0,inside:t,alias:"language-javascript"},punctuation:/[=[\]]/}},"class-name":[{pattern:RegExp(/(@(?:augments|class|extends|interface|memberof!?|template|this|typedef)\s+(?:\s+)?)[A-Z]\w*(?:\.[A-Z]\w*)*/.source.replace(//g,function(){return r})),lookbehind:!0,inside:{punctuation:/\./}},{pattern:RegExp("(@[a-z]+\\s+)"+r),lookbehind:!0,inside:{string:t.string,number:t.number,boolean:t.boolean,keyword:e.languages.typescript.keyword,operator:/=>|\.\.\.|[&|?:*]/,punctuation:/[.,;=<>{}()[\]]/}}],example:{pattern:/(@example\s+(?!\s))(?:[^@\s]|\s+(?!\s))+?(?=\s*(?:\*\s*)?(?:@\w|\*\/))/,lookbehind:!0,inside:{code:{pattern:/^([\t ]*(?:\*\s*)?)\S.*$/m,lookbehind:!0,inside:t,alias:"language-javascript"}}}}),e.languages.javadoclike.addSupport("javascript",e.languages.jsdoc)}(at),function(e){e.languages.flow=e.languages.extend("javascript",{}),e.languages.insertBefore("flow","keyword",{type:[{pattern:/\b(?:[Bb]oolean|Function|[Nn]umber|[Ss]tring|[Ss]ymbol|any|mixed|null|void)\b/,alias:"class-name"}]}),e.languages.flow["function-variable"].pattern=/(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=\s*(?:function\b|(?:\([^()]*\)(?:\s*:\s*\w+)?|(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/i,delete e.languages.flow.parameter,e.languages.insertBefore("flow","operator",{"flow-punctuation":{pattern:/\{\||\|\}/,alias:"punctuation"}}),Array.isArray(e.languages.flow.keyword)||(e.languages.flow.keyword=[e.languages.flow.keyword]),e.languages.flow.keyword.unshift({pattern:/(^|[^$]\b)(?:Class|declare|opaque|type)\b(?!\$)/,lookbehind:!0},{pattern:/(^|[^$]\B)\$(?:Diff|Enum|Exact|Keys|ObjMap|PropertyType|Record|Shape|Subtype|Supertype|await)\b(?!\$)/,lookbehind:!0})}(at),at.languages.n4js=at.languages.extend("javascript",{keyword:/\b(?:Array|any|boolean|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|false|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|module|new|null|number|package|private|protected|public|return|set|static|string|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/}),at.languages.insertBefore("n4js","constant",{annotation:{pattern:/@+\w+/,alias:"operator"}}),at.languages.n4jsd=at.languages.n4js,function(e){function t(i,c){return RegExp(i.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),c)}e.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+e.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),e.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+e.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),e.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),e.languages.insertBefore("javascript","keyword",{imports:{pattern:t(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:e.languages.javascript},exports:{pattern:t(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:e.languages.javascript}}),e.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),e.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),e.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:t(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var r=["function","function-variable","method","method-variable","property-access"],n=0;n*\.{3}(?:[^{}]|)*\})/.source;function o(u,f){return u=u.replace(//g,function(){return r}).replace(//g,function(){return n}).replace(//g,function(){return a}),RegExp(u,f)}a=o(a).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=o(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:o(//.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:o(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);function i(u){for(var f=[],h=0;h"&&f.push({tagName:c(m.content[0].content[1]),openedBraces:0}):0]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},at.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=at.languages.swift}),function(e){e.languages.kotlin=e.languages.extend("clike",{keyword:{pattern:/(^|[^.])\b(?:abstract|actual|annotation|as|break|by|catch|class|companion|const|constructor|continue|crossinline|data|do|dynamic|else|enum|expect|external|final|finally|for|fun|get|if|import|in|infix|init|inline|inner|interface|internal|is|lateinit|noinline|null|object|open|operator|out|override|package|private|protected|public|reified|return|sealed|set|super|suspend|tailrec|this|throw|to|try|typealias|val|var|vararg|when|where|while)\b/,lookbehind:!0},function:[{pattern:/(?:`[^\r\n`]+`|\b\w+)(?=\s*\()/,greedy:!0},{pattern:/(\.)(?:`[^\r\n`]+`|\w+)(?=\s*\{)/,lookbehind:!0,greedy:!0}],number:/\b(?:0[xX][\da-fA-F]+(?:_[\da-fA-F]+)*|0[bB][01]+(?:_[01]+)*|\d+(?:_\d+)*(?:\.\d+(?:_\d+)*)?(?:[eE][+-]?\d+(?:_\d+)*)?[fFL]?)\b/,operator:/\+[+=]?|-[-=>]?|==?=?|!(?:!|==?)?|[\/*%<>]=?|[?:]:?|\.\.|&&|\|\||\b(?:and|inv|or|shl|shr|ushr|xor)\b/}),delete e.languages.kotlin["class-name"];var t={"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:e.languages.kotlin}};e.languages.insertBefore("kotlin","string",{"string-literal":[{pattern:/"""(?:[^$]|\$(?:(?!\{)|\{[^{}]*\}))*?"""/,alias:"multiline",inside:{interpolation:{pattern:/\$(?:[a-z_]\w*|\{[^{}]*\})/i,inside:t},string:/[\s\S]+/}},{pattern:/"(?:[^"\\\r\n$]|\\.|\$(?:(?!\{)|\{[^{}]*\}))*"/,alias:"singleline",inside:{interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$(?:[a-z_]\w*|\{[^{}]*\})/i,lookbehind:!0,inside:t},string:/[\s\S]+/}}],char:{pattern:/'(?:[^'\\\r\n]|\\(?:.|u[a-fA-F0-9]{0,4}))'/,greedy:!0}}),delete e.languages.kotlin.string,e.languages.insertBefore("kotlin","keyword",{annotation:{pattern:/\B@(?:\w+:)?(?:[A-Z]\w*|\[[^\]]+\])/,alias:"builtin"}}),e.languages.insertBefore("kotlin","function",{label:{pattern:/\b\w+@|@\w+\b/,alias:"symbol"}}),e.languages.kt=e.languages.kotlin,e.languages.kts=e.languages.kotlin}(at),at.languages.c=at.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),at.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),at.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},at.languages.c.string],char:at.languages.c.char,comment:at.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:at.languages.c}}}}),at.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete at.languages.c.boolean,at.languages.objectivec=at.languages.extend("c",{string:{pattern:/@?"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},keyword:/\b(?:asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|in|inline|int|long|register|return|self|short|signed|sizeof|static|struct|super|switch|typedef|typeof|union|unsigned|void|volatile|while)\b|(?:@interface|@end|@implementation|@protocol|@class|@public|@protected|@private|@property|@try|@catch|@finally|@throw|@synthesize|@dynamic|@selector)\b/,operator:/-[->]?|\+\+?|!=?|<>?=?|==?|&&?|\|\|?|[~^%?*\/@]/}),delete at.languages.objectivec["class-name"],at.languages.objc=at.languages.objectivec,at.languages.reason=at.languages.extend("clike",{string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^\\\r\n"])*"/,greedy:!0},"class-name":/\b[A-Z]\w*/,keyword:/\b(?:and|as|assert|begin|class|constraint|do|done|downto|else|end|exception|external|for|fun|function|functor|if|in|include|inherit|initializer|lazy|let|method|module|mutable|new|nonrec|object|of|open|or|private|rec|sig|struct|switch|then|to|try|type|val|virtual|when|while|with)\b/,operator:/\.{3}|:[:=]|\|>|->|=(?:==?|>)?|<=?|>=?|[|^?'#!~`]|[+\-*\/]\.?|\b(?:asr|land|lor|lsl|lsr|lxor|mod)\b/}),at.languages.insertBefore("reason","class-name",{char:{pattern:/'(?:\\x[\da-f]{2}|\\o[0-3][0-7][0-7]|\\\d{3}|\\.|[^'\\\r\n])'/,greedy:!0},constructor:/\b[A-Z]\w*\b(?!\s*\.)/,label:{pattern:/\b[a-z]\w*(?=::)/,alias:"symbol"}}),delete at.languages.reason.function,function(e){for(var t=/\/\*(?:[^*/]|\*(?!\/)|\/(?!\*)|)*\*\//.source,r=0;r<2;r++)t=t.replace(//g,function(){return t});t=t.replace(//g,function(){return/[^\s\S]/.source}),e.languages.rust={comment:[{pattern:RegExp(/(^|[^\\])/.source+t),lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/b?"(?:\\[\s\S]|[^\\"])*"|b?r(#*)"(?:[^"]|"(?!\1))*"\1/,greedy:!0},char:{pattern:/b?'(?:\\(?:x[0-7][\da-fA-F]|u\{(?:[\da-fA-F]_*){1,6}\}|.)|[^\\\r\n\t'])'/,greedy:!0},attribute:{pattern:/#!?\[(?:[^\[\]"]|"(?:\\[\s\S]|[^\\"])*")*\]/,greedy:!0,alias:"attr-name",inside:{string:null}},"closure-params":{pattern:/([=(,:]\s*|\bmove\s*)\|[^|]*\||\|[^|]*\|(?=\s*(?:\{|->))/,lookbehind:!0,greedy:!0,inside:{"closure-punctuation":{pattern:/^\||\|$/,alias:"punctuation"},rest:null}},"lifetime-annotation":{pattern:/'\w+/,alias:"symbol"},"fragment-specifier":{pattern:/(\$\w+:)[a-z]+/,lookbehind:!0,alias:"punctuation"},variable:/\$\w+/,"function-definition":{pattern:/(\bfn\s+)\w+/,lookbehind:!0,alias:"function"},"type-definition":{pattern:/(\b(?:enum|struct|trait|type|union)\s+)\w+/,lookbehind:!0,alias:"class-name"},"module-declaration":[{pattern:/(\b(?:crate|mod)\s+)[a-z][a-z_\d]*/,lookbehind:!0,alias:"namespace"},{pattern:/(\b(?:crate|self|super)\s*)::\s*[a-z][a-z_\d]*\b(?:\s*::(?:\s*[a-z][a-z_\d]*\s*::)*)?/,lookbehind:!0,alias:"namespace",inside:{punctuation:/::/}}],keyword:[/\b(?:Self|abstract|as|async|await|become|box|break|const|continue|crate|do|dyn|else|enum|extern|final|fn|for|if|impl|in|let|loop|macro|match|mod|move|mut|override|priv|pub|ref|return|self|static|struct|super|trait|try|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,/\b(?:bool|char|f(?:32|64)|[ui](?:8|16|32|64|128|size)|str)\b/],function:/\b[a-z_]\w*(?=\s*(?:::\s*<|\())/,macro:{pattern:/\b\w+!/,alias:"property"},constant:/\b[A-Z_][A-Z_\d]+\b/,"class-name":/\b[A-Z]\w*\b/,namespace:{pattern:/(?:\b[a-z][a-z_\d]*\s*::\s*)*\b[a-z][a-z_\d]*\s*::(?!\s*<)/,inside:{punctuation:/::/}},number:/\b(?:0x[\dA-Fa-f](?:_?[\dA-Fa-f])*|0o[0-7](?:_?[0-7])*|0b[01](?:_?[01])*|(?:(?:\d(?:_?\d)*)?\.)?\d(?:_?\d)*(?:[Ee][+-]?\d+)?)(?:_?(?:f32|f64|[iu](?:8|16|32|64|size)?))?\b/,boolean:/\b(?:false|true)\b/,punctuation:/->|\.\.=|\.{1,3}|::|[{}[\];(),:]/,operator:/[-+*\/%!^]=?|=[=>]?|&[&=]?|\|[|=]?|<>?=?|[@?]/},e.languages.rust["closure-params"].inside.rest=e.languages.rust,e.languages.rust.attribute.inside.string=e.languages.rust.string}(at),at.languages.go=at.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),at.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete at.languages.go["class-name"],function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!)\w+(?:\s*\.\s*\w+)*\b/.source.replace(//g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!)\w+/.source.replace(//g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/(?:\s*:\s*)?|:\s*/.source.replace(//g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(at),at.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},at.languages.python["string-interpolation"].inside.interpolation.inside.rest=at.languages.python,at.languages.py=at.languages.python;var el={};dbe(el,{dracula:()=>gbe,duotoneDark:()=>xbe,duotoneLight:()=>bbe,github:()=>kbe,jettwaveDark:()=>Ube,jettwaveLight:()=>Vbe,nightOwl:()=>Sbe,nightOwlLight:()=>Ebe,oceanicNext:()=>_be,okaidia:()=>Pbe,oneDark:()=>Kbe,oneLight:()=>Ybe,palenight:()=>Dbe,shadesOfPurple:()=>Rbe,synthwave84:()=>Ibe,ultramin:()=>$be,vsDark:()=>RU,vsLight:()=>Hbe});var mbe={plain:{color:"#F8F8F2",backgroundColor:"#282A36"},styles:[{types:["prolog","constant","builtin"],style:{color:"rgb(189, 147, 249)"}},{types:["inserted","function"],style:{color:"rgb(80, 250, 123)"}},{types:["deleted"],style:{color:"rgb(255, 85, 85)"}},{types:["changed"],style:{color:"rgb(255, 184, 108)"}},{types:["punctuation","symbol"],style:{color:"rgb(248, 248, 242)"}},{types:["string","char","tag","selector"],style:{color:"rgb(255, 121, 198)"}},{types:["keyword","variable"],style:{color:"rgb(189, 147, 249)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(98, 114, 164)"}},{types:["attr-name"],style:{color:"rgb(241, 250, 140)"}}]},gbe=mbe,vbe={plain:{backgroundColor:"#2a2734",color:"#9a86fd"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#6c6783"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#e09142"}},{types:["property","function"],style:{color:"#9a86fd"}},{types:["tag-id","selector","atrule-id"],style:{color:"#eeebff"}},{types:["attr-name"],style:{color:"#c4b9fe"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule","placeholder","variable"],style:{color:"#ffcc99"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#c4b9fe"}}]},xbe=vbe,ybe={plain:{backgroundColor:"#faf8f5",color:"#728fcb"},styles:[{types:["comment","prolog","doctype","cdata","punctuation"],style:{color:"#b6ad9a"}},{types:["namespace"],style:{opacity:.7}},{types:["tag","operator","number"],style:{color:"#063289"}},{types:["property","function"],style:{color:"#b29762"}},{types:["tag-id","selector","atrule-id"],style:{color:"#2d2006"}},{types:["attr-name"],style:{color:"#896724"}},{types:["boolean","string","entity","url","attr-value","keyword","control","directive","unit","statement","regex","atrule"],style:{color:"#728fcb"}},{types:["placeholder","variable"],style:{color:"#93abdc"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"#896724"}}]},bbe=ybe,wbe={plain:{color:"#393A34",backgroundColor:"#f6f8fa"},styles:[{types:["comment","prolog","doctype","cdata"],style:{color:"#999988",fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}},{types:["string","attr-value"],style:{color:"#e3116c"}},{types:["punctuation","operator"],style:{color:"#393A34"}},{types:["entity","url","symbol","number","boolean","variable","constant","property","regex","inserted"],style:{color:"#36acaa"}},{types:["atrule","keyword","attr-name","selector"],style:{color:"#00a4db"}},{types:["function","deleted","tag"],style:{color:"#d73a49"}},{types:["function-variable"],style:{color:"#6f42c1"}},{types:["tag","selector","keyword"],style:{color:"#00009f"}}]},kbe=wbe,Cbe={plain:{color:"#d6deeb",backgroundColor:"#011627"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(99, 119, 119)",fontStyle:"italic"}},{types:["string","url"],style:{color:"rgb(173, 219, 103)"}},{types:["variable"],style:{color:"rgb(214, 222, 235)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation"],style:{color:"rgb(199, 146, 234)"}},{types:["selector","doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(255, 203, 139)"}},{types:["tag","operator","keyword"],style:{color:"rgb(127, 219, 202)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["property"],style:{color:"rgb(128, 203, 196)"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}}]},Sbe=Cbe,jbe={plain:{color:"#403f53",backgroundColor:"#FBFBFB"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)",fontStyle:"italic"}},{types:["inserted","attr-name"],style:{color:"rgb(72, 118, 214)",fontStyle:"italic"}},{types:["comment"],style:{color:"rgb(152, 159, 177)",fontStyle:"italic"}},{types:["string","builtin","char","constant","url"],style:{color:"rgb(72, 118, 214)"}},{types:["variable"],style:{color:"rgb(201, 103, 101)"}},{types:["number"],style:{color:"rgb(170, 9, 130)"}},{types:["punctuation"],style:{color:"rgb(153, 76, 195)"}},{types:["function","selector","doctype"],style:{color:"rgb(153, 76, 195)",fontStyle:"italic"}},{types:["class-name"],style:{color:"rgb(17, 17, 17)"}},{types:["tag"],style:{color:"rgb(153, 76, 195)"}},{types:["operator","property","keyword","namespace"],style:{color:"rgb(12, 150, 155)"}},{types:["boolean"],style:{color:"rgb(188, 84, 84)"}}]},Ebe=jbe,ko={char:"#D8DEE9",comment:"#999999",keyword:"#c5a5c5",primitive:"#5a9bcf",string:"#8dc891",variable:"#d7deea",boolean:"#ff8b50",punctuation:"#5FB3B3",tag:"#fc929e",function:"#79b6f2",className:"#FAC863",method:"#6699CC",operator:"#fc929e"},Nbe={plain:{backgroundColor:"#282c34",color:"#ffffff"},styles:[{types:["attr-name"],style:{color:ko.keyword}},{types:["attr-value"],style:{color:ko.string}},{types:["comment","block-comment","prolog","doctype","cdata","shebang"],style:{color:ko.comment}},{types:["property","number","function-name","constant","symbol","deleted"],style:{color:ko.primitive}},{types:["boolean"],style:{color:ko.boolean}},{types:["tag"],style:{color:ko.tag}},{types:["string"],style:{color:ko.string}},{types:["punctuation"],style:{color:ko.string}},{types:["selector","char","builtin","inserted"],style:{color:ko.char}},{types:["function"],style:{color:ko.function}},{types:["operator","entity","url","variable"],style:{color:ko.variable}},{types:["keyword"],style:{color:ko.keyword}},{types:["atrule","class-name"],style:{color:ko.className}},{types:["important"],style:{fontWeight:"400"}},{types:["bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["namespace"],style:{opacity:.7}}]},_be=Nbe,Tbe={plain:{color:"#f8f8f2",backgroundColor:"#272822"},styles:[{types:["changed"],style:{color:"rgb(162, 191, 252)",fontStyle:"italic"}},{types:["deleted"],style:{color:"#f92672",fontStyle:"italic"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)",fontStyle:"italic"}},{types:["comment"],style:{color:"#8292a2",fontStyle:"italic"}},{types:["string","url"],style:{color:"#a6e22e"}},{types:["variable"],style:{color:"#f8f8f2"}},{types:["number"],style:{color:"#ae81ff"}},{types:["builtin","char","constant","function","class-name"],style:{color:"#e6db74"}},{types:["punctuation"],style:{color:"#f8f8f2"}},{types:["selector","doctype"],style:{color:"#a6e22e",fontStyle:"italic"}},{types:["tag","operator","keyword"],style:{color:"#66d9ef"}},{types:["boolean"],style:{color:"#ae81ff"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)",opacity:.7}},{types:["tag","property"],style:{color:"#f92672"}},{types:["attr-name"],style:{color:"#a6e22e !important"}},{types:["doctype"],style:{color:"#8292a2"}},{types:["rule"],style:{color:"#e6db74"}}]},Pbe=Tbe,Mbe={plain:{color:"#bfc7d5",backgroundColor:"#292d3e"},styles:[{types:["comment"],style:{color:"rgb(105, 112, 152)",fontStyle:"italic"}},{types:["string","inserted"],style:{color:"rgb(195, 232, 141)"}},{types:["number"],style:{color:"rgb(247, 140, 108)"}},{types:["builtin","char","constant","function"],style:{color:"rgb(130, 170, 255)"}},{types:["punctuation","selector"],style:{color:"rgb(199, 146, 234)"}},{types:["variable"],style:{color:"rgb(191, 199, 213)"}},{types:["class-name","attr-name"],style:{color:"rgb(255, 203, 107)"}},{types:["tag","deleted"],style:{color:"rgb(255, 85, 114)"}},{types:["operator"],style:{color:"rgb(137, 221, 255)"}},{types:["boolean"],style:{color:"rgb(255, 88, 116)"}},{types:["keyword"],style:{fontStyle:"italic"}},{types:["doctype"],style:{color:"rgb(199, 146, 234)",fontStyle:"italic"}},{types:["namespace"],style:{color:"rgb(178, 204, 214)"}},{types:["url"],style:{color:"rgb(221, 221, 221)"}}]},Dbe=Mbe,Abe={plain:{color:"#9EFEFF",backgroundColor:"#2D2A55"},styles:[{types:["changed"],style:{color:"rgb(255, 238, 128)"}},{types:["deleted"],style:{color:"rgba(239, 83, 80, 0.56)"}},{types:["inserted"],style:{color:"rgb(173, 219, 103)"}},{types:["comment"],style:{color:"rgb(179, 98, 255)",fontStyle:"italic"}},{types:["punctuation"],style:{color:"rgb(255, 255, 255)"}},{types:["constant"],style:{color:"rgb(255, 98, 140)"}},{types:["string","url"],style:{color:"rgb(165, 255, 144)"}},{types:["variable"],style:{color:"rgb(255, 238, 128)"}},{types:["number","boolean"],style:{color:"rgb(255, 98, 140)"}},{types:["attr-name"],style:{color:"rgb(255, 180, 84)"}},{types:["keyword","operator","property","namespace","tag","selector","doctype"],style:{color:"rgb(255, 157, 0)"}},{types:["builtin","char","constant","function","class-name"],style:{color:"rgb(250, 208, 0)"}}]},Rbe=Abe,Lbe={plain:{backgroundColor:"linear-gradient(to bottom, #2a2139 75%, #34294f)",backgroundImage:"#34294f",color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"},styles:[{types:["comment","block-comment","prolog","doctype","cdata"],style:{color:"#495495",fontStyle:"italic"}},{types:["punctuation"],style:{color:"#ccc"}},{types:["tag","attr-name","namespace","number","unit","hexcode","deleted"],style:{color:"#e2777a"}},{types:["property","selector"],style:{color:"#72f1b8",textShadow:"0 0 2px #100c0f, 0 0 10px #257c5575, 0 0 35px #21272475"}},{types:["function-name"],style:{color:"#6196cc"}},{types:["boolean","selector-id","function"],style:{color:"#fdfdfd",textShadow:"0 0 2px #001716, 0 0 3px #03edf975, 0 0 5px #03edf975, 0 0 8px #03edf975"}},{types:["class-name","maybe-class-name","builtin"],style:{color:"#fff5f6",textShadow:"0 0 2px #000, 0 0 10px #fc1f2c75, 0 0 5px #fc1f2c75, 0 0 25px #fc1f2c75"}},{types:["constant","symbol"],style:{color:"#f92aad",textShadow:"0 0 2px #100c0f, 0 0 5px #dc078e33, 0 0 10px #fff3"}},{types:["important","atrule","keyword","selector-class"],style:{color:"#f4eee4",textShadow:"0 0 2px #393a33, 0 0 8px #f39f0575, 0 0 2px #f39f0575"}},{types:["string","char","attr-value","regex","variable"],style:{color:"#f87c32"}},{types:["parameter"],style:{fontStyle:"italic"}},{types:["entity","url"],style:{color:"#67cdcc"}},{types:["operator"],style:{color:"ffffffee"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["entity"],style:{cursor:"help"}},{types:["inserted"],style:{color:"green"}}]},Ibe=Lbe,Obe={plain:{color:"#282a2e",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(197, 200, 198)"}},{types:["string","number","builtin","variable"],style:{color:"rgb(150, 152, 150)"}},{types:["class-name","function","tag","attr-name"],style:{color:"rgb(40, 42, 46)"}}]},$be=Obe,zbe={plain:{color:"#9CDCFE",backgroundColor:"#1E1E1E"},styles:[{types:["prolog"],style:{color:"rgb(0, 0, 128)"}},{types:["comment"],style:{color:"rgb(106, 153, 85)"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"rgb(86, 156, 214)"}},{types:["number","inserted"],style:{color:"rgb(181, 206, 168)"}},{types:["constant"],style:{color:"rgb(100, 102, 149)"}},{types:["attr-name","variable"],style:{color:"rgb(156, 220, 254)"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"rgb(206, 145, 120)"}},{types:["selector"],style:{color:"rgb(215, 186, 125)"}},{types:["tag"],style:{color:"rgb(78, 201, 176)"}},{types:["tag"],languages:["markup"],style:{color:"rgb(86, 156, 214)"}},{types:["punctuation","operator"],style:{color:"rgb(212, 212, 212)"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"rgb(220, 220, 170)"}},{types:["class-name"],style:{color:"rgb(78, 201, 176)"}},{types:["char"],style:{color:"rgb(209, 105, 105)"}}]},RU=zbe,Fbe={plain:{color:"#000000",backgroundColor:"#ffffff"},styles:[{types:["comment"],style:{color:"rgb(0, 128, 0)"}},{types:["builtin"],style:{color:"rgb(0, 112, 193)"}},{types:["number","variable","inserted"],style:{color:"rgb(9, 134, 88)"}},{types:["operator"],style:{color:"rgb(0, 0, 0)"}},{types:["constant","char"],style:{color:"rgb(129, 31, 63)"}},{types:["tag"],style:{color:"rgb(128, 0, 0)"}},{types:["attr-name"],style:{color:"rgb(255, 0, 0)"}},{types:["deleted","string"],style:{color:"rgb(163, 21, 21)"}},{types:["changed","punctuation"],style:{color:"rgb(4, 81, 165)"}},{types:["function","keyword"],style:{color:"rgb(0, 0, 255)"}},{types:["class-name"],style:{color:"rgb(38, 127, 153)"}}]},Hbe=Fbe,Bbe={plain:{color:"#f8fafc",backgroundColor:"#011627"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#569CD6"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#f8fafc"}},{types:["attr-name","variable"],style:{color:"#9CDCFE"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#cbd5e1"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#D4D4D4"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#7dd3fc"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Ube=Bbe,Wbe={plain:{color:"#0f172a",backgroundColor:"#f1f5f9"},styles:[{types:["prolog"],style:{color:"#000080"}},{types:["comment"],style:{color:"#6A9955"}},{types:["builtin","changed","keyword","interpolation-punctuation"],style:{color:"#0c4a6e"}},{types:["number","inserted"],style:{color:"#B5CEA8"}},{types:["constant"],style:{color:"#0f172a"}},{types:["attr-name","variable"],style:{color:"#0c4a6e"}},{types:["deleted","string","attr-value","template-punctuation"],style:{color:"#64748b"}},{types:["selector"],style:{color:"#D7BA7D"}},{types:["tag"],style:{color:"#0ea5e9"}},{types:["tag"],languages:["markup"],style:{color:"#0ea5e9"}},{types:["punctuation","operator"],style:{color:"#475569"}},{types:["punctuation"],languages:["markup"],style:{color:"#808080"}},{types:["function"],style:{color:"#0e7490"}},{types:["class-name"],style:{color:"#0ea5e9"}},{types:["char"],style:{color:"#D16969"}}]},Vbe=Wbe,qbe={plain:{backgroundColor:"hsl(220, 13%, 18%)",color:"hsl(220, 14%, 71%)",textShadow:"0 1px rgba(0, 0, 0, 0.3)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(220, 10%, 40%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(220, 14%, 71%)"}},{types:["attr-name","class-name","maybe-class-name","boolean","constant","number","atrule"],style:{color:"hsl(29, 54%, 61%)"}},{types:["keyword"],style:{color:"hsl(286, 60%, 67%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(355, 65%, 65%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value"],style:{color:"hsl(95, 38%, 62%)"}},{types:["variable","operator","function"],style:{color:"hsl(207, 82%, 66%)"}},{types:["url"],style:{color:"hsl(187, 47%, 55%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(220, 14%, 71%)"}}]},Kbe=qbe,Gbe={plain:{backgroundColor:"hsl(230, 1%, 98%)",color:"hsl(230, 8%, 24%)"},styles:[{types:["comment","prolog","cdata"],style:{color:"hsl(230, 4%, 64%)"}},{types:["doctype","punctuation","entity"],style:{color:"hsl(230, 8%, 24%)"}},{types:["attr-name","class-name","boolean","constant","number","atrule"],style:{color:"hsl(35, 99%, 36%)"}},{types:["keyword"],style:{color:"hsl(301, 63%, 40%)"}},{types:["property","tag","symbol","deleted","important"],style:{color:"hsl(5, 74%, 59%)"}},{types:["selector","string","char","builtin","inserted","regex","attr-value","punctuation"],style:{color:"hsl(119, 34%, 47%)"}},{types:["variable","operator","function"],style:{color:"hsl(221, 87%, 60%)"}},{types:["url"],style:{color:"hsl(198, 99%, 37%)"}},{types:["deleted"],style:{textDecorationLine:"line-through"}},{types:["inserted"],style:{textDecorationLine:"underline"}},{types:["italic"],style:{fontStyle:"italic"}},{types:["important","bold"],style:{fontWeight:"bold"}},{types:["important"],style:{color:"hsl(230, 8%, 24%)"}}]},Ybe=Gbe,Zbe=(e,t)=>{const{plain:r}=e,n=e.styles.reduce((a,o)=>{const{languages:i,style:c}=o;return i&&!i.includes(t)||o.types.forEach(u=>{const f=Dl(Dl({},a[u]),c);a[u]=f}),a},{});return n.root=r,n.plain=Rk(Dl({},r),{backgroundColor:void 0}),n},zD=Zbe,Xbe=(e,t)=>{const[r,n]=p.useState(zD(t,e)),a=p.useRef(),o=p.useRef();return p.useEffect(()=>{(t!==a.current||e!==o.current)&&(a.current=t,o.current=e,n(zD(t,e)))},[e,t]),r},Qbe=e=>p.useCallback(t=>{var r=t,{className:n,style:a,line:o}=r,i=AU(r,["className","style","line"]);const c=Rk(Dl({},i),{className:hr("token-line",n)});return typeof e=="object"&&"plain"in e&&(c.style=e.plain),typeof a=="object"&&(c.style=Dl(Dl({},c.style||{}),a)),c},[e]),Jbe=e=>{const t=p.useCallback(({types:r,empty:n})=>{if(e!=null){{if(r.length===1&&r[0]==="plain")return n!=null?{display:"inline-block"}:void 0;if(r.length===1&&n!=null)return e[r[0]]}return Object.assign(n!=null?{display:"inline-block"}:{},...r.map(a=>e[a]))}},[e]);return p.useCallback(r=>{var n=r,{token:a,className:o,style:i}=n,c=AU(n,["token","className","style"]);const u=Rk(Dl({},c),{className:hr("token",...a.types,o),children:a.content,style:t(a)});return i!=null&&(u.style=Dl(Dl({},u.style||{}),i)),u},[t])},e2e=/\r\n|\r|\n/,FD=e=>{e.length===0?e.push({types:["plain"],content:"\n",empty:!0}):e.length===1&&e[0].content===""&&(e[0].content="\n",e[0].empty=!0)},HD=(e,t)=>{const r=e.length;return r>0&&e[r-1]===t?e:e.concat(t)},t2e=e=>{const t=[[]],r=[e],n=[0],a=[e.length];let o=0,i=0,c=[];const u=[c];for(;i>-1;){for(;(o=n[i]++)0?h:["plain"],f=v):(h=HD(h,v.type),v.alias&&(h=HD(h,v.alias)),f=v.content),typeof f!="string"){i++,t.push(h),r.push(f),n.push(0),a.push(f.length);continue}const S=f.split(e2e),w=S.length;c.push({types:h,content:S[0]});for(let g=1;g{const a=p.useRef(e);return p.useMemo(()=>{if(r==null)return BD([t]);const o={code:t,grammar:r,language:n,tokens:[]};return a.current.hooks.run("before-tokenize",o),o.tokens=a.current.tokenize(t,r),a.current.hooks.run("after-tokenize",o),BD(o.tokens)},[t,r,n])},n2e=({children:e,language:t,code:r,theme:n,prism:a})=>{const o=t.toLowerCase(),i=Xbe(o,n),c=Qbe(i),u=Jbe(i),f=a.languages[o],h=r2e({prism:a,language:o,code:r,grammar:f});return e({tokens:h,className:"prism-code language-".concat(o),style:i!=null?i.root:{},getLineProps:c,getTokenProps:u})},F1=e=>p.createElement(n2e,Rk(Dl({},e),{prism:e.prism||at,theme:e.theme||RU,code:e.code,language:e.language}));/*! Bundled license information: prismjs/prism.js: (** @@ -1991,7 +1991,7 @@ prismjs/prism.js: * @namespace * @public *) -*/function r2e(e){var t,r;return s.jsxs("svg",{width:(t=e.width)!=null?t:"14px",className:e.className,height:(r=e.height)!=null?r:"14px",viewBox:"30.325 6.289 29.119 25.859",xmlns:"http://www.w3.org/2000/svg",stroke:"none",fill:"currentColor",children:[s.jsx("path",{d:"M40.554 17.082c0-.309-.073-.627-.195-.917-.123-.29-.296-.553-.496-.754-.201-.2-.464-.373-.754-.495-.29-.123-.608-.195-.917-.195-.196 0-.406.03-.609.084-.204.055-.401.134-.571.232-.372.215-.667.541-.869.906-.203.365-.312.769-.312 1.139s.109.774.312 1.139c.202.365.497.692.869.906.371.214.801.307 1.219.299.417-.007.822-.114 1.142-.299.32-.185.616-.482.831-.84.215-.358.35-.776.35-1.205Zm-4.369-2.007c.271-.27.568-.484.9-.627.332-.143.699-.217 1.108-.207.261-.004.503.026.736.09.234.064.458.16.684.29.496.287.85.649 1.082 1.067.231.417.338.889.338 1.394 0 .506-.107.977-.338 1.394-.232.417-.586.779-1.082 1.065-.496.287-.987.414-1.464.405-.477-.008-.939-.151-1.377-.405-.438-.253-.803-.581-1.053-.99-.251-.408-.387-.896-.367-1.469-.01-.409.063-.776.206-1.108.144-.332.357-.629.627-.899Z"}),s.jsx("path",{d:"m58.665 30.709-.014-3.279-.014-3.28-.001-.063v-.064l-2.307-3.991-2.306-3.991-1.644 2.858-1.644 2.858c-.075.17-.17.273-.288.333-.118.06-.26.078-.426.078-.166 0-.306-.018-.424-.078-.118-.061-.214-.163-.289-.333l-.891-1.531-.891-1.531-.208-.356-.208-.357-2.424 4.189-2.425 4.189c-.041.086-.085.145-.14.191-.055.047-.121.081-.205.116-.084.036-.154.06-.226.068-.072.007-.145-.002-.236-.031l-.009-.003-.009-.002-.02-.003-.019-.002c-1.888-.219-3.672-.086-5.284.19-1.611.276-3.051.695-4.248 1.047l-.53.153-.529.153v2.472c.01.115.044.248.093.37s.114.234.188.307c.073.074.185.139.307.188.123.049.255.082.37.093h25.943c.115-.011.247-.044.37-.093.122-.049.234-.114.307-.188.074-.073.139-.185.188-.307.049-.122.082-.255.093-.37Zm.383-16.343.169-.177.168-.177c.11-.115.049-.009-.038.126-.088.135-.203.298-.203.298v16.273c.011.215-.023.398-.095.562-.072.165-.182.311-.326.454-.143.143-.289.254-.454.326-.164.072-.346.106-.562.095H31.764c-.215.011-.398-.022-.562-.095-.164-.072-.31-.183-.454-.326-.143-.143-.253-.289-.326-.454-.072-.164-.105-.346-.095-.562V11.713c-.01-.216.023-.399.095-.563.073-.164.183-.31.326-.453.144-.143.29-.254.454-.326.164-.073.347-.106.562-.096h14.394c.024.113.041.193.065.287.025.095.057.205.112.377.024.075 0 .028-.03-.037s-.066-.148-.066-.148H31.764c-.115.011-.247.044-.37.093-.122.049-.233.114-.307.188-.073.073-.138.185-.188.307-.049.123-.082.255-.093.371v16.029l.307-.09.307-.09.156-.046.155-.045c1.256-.369 2.717-.802 4.348-1.083 1.632-.281 3.434-.409 5.371-.166l.157.02.157.02.08-.137.079-.138 2.232-3.878 2.232-3.878c.075-.169.17-.272.288-.333.118-.06.259-.078.425-.078.166 0 .307.018.425.079.117.06.212.163.287.333l1.1 1.902 1.101 1.902.208-.356.208-.357 1.452-2.494 1.452-2.495a.4813.4813 0 0 1 .039-.063c.015-.02.03-.039.048-.058.079-.118.164-.198.265-.247.1-.048.216-.064.357-.053.128-.011.237.005.334.05.098.045.183.117.263.217.026.023.046.044.063.067.017.022.031.047.047.078l1.958 3.389 1.958 3.389v-8.435c.125-.103.234-.197.347-.3.113-.104.229-.217.367-.36l-.17.175-.169.176.004.003Z"}),s.jsx("path",{fill:"red",d:"M53.247 6.641c-.374.007-.681.049-.951.119-.271.071-.505.171-.736.294l-.206.112-.207.112-.208.112-.209.112-.039-.039-.039-.04-.045.085-.046.085-.076.042-.076.041.035.036.035.035-.222.418-.223.418c-.152.29-.266.587-.335.919-.068.332-.09.698-.059 1.126.102.666.366 1.272.736 1.776s.846.905 1.372 1.163c.539.22 1.088.327 1.626.314.539-.013 1.067-.146 1.564-.403l.206-.112.206-.112.208-.112.208-.112.048.048.047.048.3-.597.299-.597c.276-.582.394-1.2.375-1.798-.019-.599-.174-1.177-.445-1.677-.309-.495-.754-.94-1.292-1.266-.539-.326-1.17-.532-1.851-.55Zm2.741 6.611-2.864-2.862-2.864-2.863.13-.122.13-.123c.366-.339.798-.588 1.264-.751.466-.163.965-.242 1.464-.242.69 0 1.369.157 1.967.486.598.329 1.116.829 1.484 1.514.214.331.37.676.47 1.021.1.345.144.691.134 1.024-.01.335-.075.671-.182.997-.107.326-.257.641-.437.932a3.872 3.872 0 0 1-.21.359c-.076.114-.156.224-.241.328l-.122.151Zm-5.559-.186c-.377-.36-.669-.779-.865-1.248-.196-.47-.296-.99-.291-1.554-.002-.36.042-.708.132-1.042.09-.333.225-.652.406-.955.065-.129.134-.252.208-.367.075-.116.153-.224.235-.325l.123-.152.122-.152 2.864 2.861 2.863 2.862-.128.123-.129.123c-.333.318-.739.573-1.199.746-.46.173-.974.264-1.525.254-.566.006-1.09-.101-1.563-.302-.473-.202-.894-.499-1.253-.872Z"})]})}function n2e(o){var i=o,{fallback:e,onErrorCallback:t=()=>{},hasError:r=!1,src:n}=i,a=ke(i,["fallback","onErrorCallback","hasError","src"]);const[c,u]=p.useState(!r);return c&&!r?s.jsx("img",R({src:n,onError:()=>{c&&u(!1),t()}},a)):e?s.jsx("img",ee(R({src:e},a),{alt:"404 Not Found"})):s.jsx(Be,{text:"404 / broken image link",children:s.jsx(r2e,{className:"mb-1 text-gray-400",width:"50px",height:"36px"})})}const tl=p.memo(n2e,(e,t)=>e.src===t.src),c_=({delay:e=800,onCopied:t=()=>{}})=>{const[r,n]=p.useState(!1);return[r,o=>{(o==null?void 0:o.length)>0&&!r&&(n(!0),setTimeout(()=>{Fs("copy_text",{text:o}).then(i=>{i==="ok"?(requestAnimationFrame(()=>{n(!1)}),t()):(n(!1),console.error("Failed to copy text",i))}).catch(i=>{n(!1),console.error("Failed to copy text",i)})},e))}]},u_=({delay:e=800,onPasted:t=()=>{}})=>{const[r,n]=p.useState(""),[a,o]=p.useState(null),{copyPasteDelay:i}=ft(pn),c=p.useRef(0),u=(h,m=0)=>{Fs("copy_paste",{text:h,delay:m}).then(v=>{v==="ok"?requestAnimationFrame(()=>{n(""),t()}):(n(""),console.error("Failed to copy paste text",v))}).catch(v=>{n(""),console.error("Failed to copy paste text",v)})};return p.useEffect(()=>(a&&a>0?c.current=setInterval(()=>{o(h=>h?h-1:null)},1e3):a===0?(r&&(o(null),setTimeout(()=>{u(r,0)},e)),clearInterval(c.current)):c.current&&clearInterval(c.current),()=>{c.current&&clearInterval(c.current)}),[a,r]),[r,a,(h,m)=>{m=m!=null?m:i,h&&!r&&(n(h),m>0?o(m):setTimeout(()=>{u(h,m)},e))}]};class s2e{constructor(t){it(this,"codes");this.codes=[],this.setCodes(t)}closeTags(t){let r=t;return this.codes.forEach(({tag:n})=>{const a="[".concat(n,"]"),o="[/".concat(n,"]"),i=[];let c=0;for(;c0;)i.pop(),r+=o}),r}parse(t){let n=[t];for(const{regexp:a,replacement:o}of this.codes)n=n.flatMap((i,c)=>typeof i=="string"?this.replaceText(i,a,o,c):i);return n=n.flatMap(a=>typeof a=="string"?this.linkifyText(a):a),n.length===1?n[0]:s.jsx(s.Fragment,{children:n.map((a,o)=>p.isValidElement(a)?p.cloneElement(a,{key:"element-".concat(o)}):a)})}linkifyText(t){const n=Rn().match(t);if(!n)return t;const a=[];let o=0;return n.forEach((i,c)=>{a.push(t.slice(o,i.index)),a.push(s.jsx("span",{className:"underline cursor-pointer text-blue-700 dark:text-blue-400",onClick:()=>{Zi(_n(i.url))},children:i.raw},"link-".concat(c))),o=i.lastIndex}),a.push(t.slice(o)),a}replaceText(t,r,n,a){let o=0;const i=[];return t.replace(r,(c,u,f)=>(f>o&&i.push(t.substring(o,f)),typeof n=="function"?i.push(n(u,Date.now()+a)):i.push(n),o=f+c.length,c)),o{const a=new RegExp("\\[".concat(n,"\\]"),"gi"),o=new RegExp("\\[/".concat(n,"\\]"),"gi");r=r.replace(a,""),r=r.replace(o,"")}),r}setCodes(t){return this.codes=Object.keys(t).map(r=>{const n=t[r],a=r.match(/\\\[(.+?)\\\]/);return{tag:a?a[1]:"unknown",regexp:new RegExp(r,"igms"),replacement:n}}),this}}const RU=({text:e,copyText:t,id:r,parser:n})=>{const a=n?n.parse(e):e,{t:o}=At(),[i,c]=c_({}),[u,f,h]=u_({}),m=i||u;return s.jsxs("span",{onDoubleClick:v=>{v.preventDefault(),ur.value?h(n?n.remove(t):t):c(n?n.remove(t):t)},className:"".concat(m?"dark:!border-green-800":""," inline-flex relative select-none items-center border rounded-md px-1.5 py-[1px] my-[1px] focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 hover:bg-green-100/80 bg-green-50 dark:bg-green-950 border-slate-300 dark:hover:bg-green-900/80 dark:border-slate-600 cursor-pointer"),children:[s.jsx("span",{children:a}),m&&!f?s.jsx(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 pointer-events-none px-2 !rounded-md absolute right-0 w-full h-full flex items-center justify-center z-100",children:s.jsxs("span",{className:"flex items-center justify-center text-[10px] uppercase font-semibold text-white",children:[s.jsx($t,{size:14,className:"mr-1"}),(e==null?void 0:e.length)>10&&s.jsx(s.Fragment,{children:i?o("Copied",{ns:"common"}):u?o("Pasted",{ns:"common"}):""})]})},"badge-".concat(r)):m&&f&&f>0&&s.jsx(lt,{className:"ml-1 bg-green-700 dark:bg-green-800 dark:text-white !rounded-md pointer-events-none px-2 text-white absolute right-0 w-full h-full flex items-center justify-center",children:o("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:f})}),s.jsx(un,{className:"ml-1 text-slate-500 h-full py-0.5 hover:text-green-700 hover:bg-transparent",onClick:v=>{v.preventDefault(),ur.value?h(n?n.remove(t):t):c(n?n.remove(t):t)},children:s.jsx(Be,{text:ur.value?o("Copy and Paste",{ns:"common"}):o("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(Cs,{size:14}):s.jsx(pa,{size:14})})})]},r)},LU=({txt:e,id:t})=>{const r=a=>{if(a.length<=1)return a;if(a.length===2)return"".concat(a[0],"•");const o=a[0],i=a[a.length-1],c=a.substring(1,a.length-1).split("").map(()=>"•").join("");return"".concat(o).concat(c).concat(i)},n=typeof e=="string"?e.split(/(\s+)/).map(a=>/\s/.test(a)?a:r(a)).join(""):p.isValidElement(e)?p.cloneElement(e,ee(R({},e.props),{key:"parent-"+Math.random()*1e3}),...p.Children.toArray(e.props.children).map((a,o)=>p.cloneElement(LU({txt:a,id:Math.random()*1e3}),{key:"child-"+o}))):"•";return s.jsx("span",{className:"masked-or-blanked",children:n},t)},IU=({txt:e,id:t})=>{if(typeof e=="string"&&e.length<=2)return s.jsx("span",{children:e});const r=typeof e=="string"?e.split("").map(n=>/\s/.test(n)?n:"█").join(""):p.isValidElement(e)?p.cloneElement(e,ee(R({},e.props),{key:"parent-"+Math.random()*1e3}),...p.Children.toArray(e.props.children).map((n,a)=>p.cloneElement(IU({txt:n,id:Math.random()*1e3}),{key:"child-"+a}))):"█";return s.jsx("span",{className:"text-gray-200 dark:text-gray-600 masked-or-blanked",children:r},t)},a2e=({text:e,id:t})=>s.jsx("span",{className:"bg-yellow-200 dark:bg-yellow-700 dark:text-slate-100",children:e},t),uc=new s2e({"\\[copy\\](.+?)\\[/copy\\]":(e,t)=>s.jsx(RU,{text:e,copyText:e.repeat(1),id:t,parser:uc}),"\\[mask\\](.+?)\\[/mask\\]":(e,t)=>s.jsx(LU,{txt:e,id:t}),"\\[blank\\](.+?)\\[/blank\\]":(e,t)=>s.jsx(IU,{txt:e,id:t}),"\\[hl\\](.+?)\\[/hl\\]":(e,t)=>s.jsx(a2e,{text:e,id:t}),"\\[h\\](.+?)\\[/h\\]":(e,t)=>s.jsx("span",{className:"text-lg font-semibold",children:e},t),"\\[b\\](.+?)\\[/b\\]":(e,t)=>s.jsx("strong",{children:e},t),"\\[i\\](.+?)\\[/i\\]":(e,t)=>s.jsx("span",{className:"italic",children:e},t)}),OU=(e,t,r)=>{var o;const n=iz(t),a=new RegExp("(".concat(n,")"),"gi");if(typeof e=="string"){const i=e.split(a),c=p.createRef();return i.map((u,f)=>(r.current.push(c),u.toLowerCase()===t.toLowerCase()?s.jsx("span",{className:"bg-yellow-300 dark:bg-amber-400 dark:text-black search-pulse-animation",ref:Ji(c),children:u},f):u))}else if(p.isValidElement(e))if((o=e==null?void 0:e.props)!=null&&o.text&&typeof e.props.text=="string"){const i=e.props.text.split(a),c=p.createRef();return p.cloneElement(e,ee(R({},e.props),{text:s.jsx("span",{children:i.map((u,f)=>(r.current.push(c),u.toLowerCase()===t.toLowerCase()?s.jsx("span",{className:"bg-yellow-300 dark:bg-yellow-600 search-pulse-animation",ref:Ji(c),children:uc.parse(u)},f):s.jsx("span",{children:uc.parse(u)})))})}),e.props.children)}else return p.cloneElement(e,e.props,...p.Children.toArray(e.props.children).map(i=>OU(i,t,r)));else return e},Ak=({isWrapped:e,searchTerm:t,valuePreview:r,isCode:n,isImage:a,isMasked:o,isLargeView:i,trimmedValue:c,hasLinkCard:u,metadataLinkByItemId:f,metadataLinkImageWidth:h=24,isImageData:m,morePreviewLines:v,isDark:S,isExpanded:w})=>{const g=p.useRef([]),b=p.useMemo(()=>{if(!m&&!n&&!a&&r)return o?Mf(uc.remove(r)):uc.parse(r)},[r]),C=p.useMemo(()=>{if(!m&&!n&&!a&&c)return o?Mf(uc.remove(c)):uc.parse(c)},[c]),j=p.useMemo(()=>t.length>1?(g.current=[],OU(C,t,g)):w?C:b,[w,t,C,b]);return p.useEffect(()=>{var E;g.current.length>0&&((E=g.current[0].current)==null||E.scrollIntoView({behavior:"smooth",block:"center"}))},[j]),s.jsxs(Lf,{className:"clip-card-text-view ".concat(!w||v==null?"code-scroll-x pb-2":""),options:{scrollbars:{theme:S?"os-theme-light":"os-theme-dark",autoHide:"never"}},style:{maxHeight:i?"calc(100vh - 240px)":w||v==null?200:120,maxWidth:"100%"},children:[u&&s.jsx(Q,{className:"self-start mt-1 mb-1 text-xs w-full select-none overflow-hidden",children:s.jsx(e0,{isDisabled:_n(c)!==(f==null?void 0:f.linkUrl),title:f==null?void 0:f.linkTitle,description:f==null?void 0:f.linkDescription,favicon:f==null?void 0:f.linkFavicon,link:f==null?void 0:f.linkUrl,imageWidth:h,image:f==null?void 0:f.linkImage,domain:f==null?void 0:f.linkDomain})}),s.jsxs(Iv,{className:"self-start text-sm font-normal select-text ".concat(e?"whitespace-pre-wrap":"whitespace-pre"," ").concat(w?"!overflow-visible pb-1.5":""),children:[j,!w&&v&&s.jsx("span",{className:"select-none",children:"..."})]})]})};p.memo(Ak);var $U={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Rr,function(){var r=navigator.userAgent,n=navigator.platform,a=/gecko\/\d/i.test(r),o=/MSIE \d/.test(r),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(r),c=/Edge\/(\d+)/.exec(r),u=o||i||c,f=u&&(o?document.documentMode||6:+(c||i)[1]),h=!c&&/WebKit\//.test(r),m=h&&/Qt\/\d+\.\d+/.test(r),v=!c&&/Chrome\/(\d+)/.exec(r),S=v&&+v[1],w=/Opera\//.test(r),g=/Apple Computer/.test(navigator.vendor),b=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(r),C=/PhantomJS/.test(r),j=g&&(/Mobile\/\w+/.test(r)||navigator.maxTouchPoints>2),E=/Android/.test(r),N=j||E||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(r),T=j||/Mac/.test(n),A=/\bCrOS\b/.test(r),M=/win/i.test(n),D=w&&r.match(/Version\/(\d*\.\d*)/);D&&(D=Number(D[1])),D&&D>=15&&(w=!1,h=!0);var L=T&&(m||w&&(D==null||D<12.11)),z=a||u&&f>=9;function H(l){return new RegExp("(^|\\s)"+l+"(?:$|\\s)\\s*")}var V=function(l,d){var y=l.className,x=H(d).exec(y);if(x){var k=y.slice(x.index+x[0].length);l.className=y.slice(0,x.index)+(k?x[1]+k:"")}};function I(l){for(var d=l.childNodes.length;d>0;--d)l.removeChild(l.firstChild);return l}function q(l,d){return I(l).appendChild(d)}function _(l,d,y,x){var k=document.createElement(l);if(y&&(k.className=y),x&&(k.style.cssText=x),typeof d=="string")k.appendChild(document.createTextNode(d));else if(d)for(var P=0;P=d)return O+(d-P);O+=W-P,O+=y-O%y,P=W+1}}var le=function(){this.id=null,this.f=null,this.time=0,this.handler=oe(this.onTimeout,this)};le.prototype.onTimeout=function(l){l.id=0,l.time<=+new Date?l.f():setTimeout(l.handler,l.time-+new Date)},le.prototype.set=function(l,d){this.f=d;var y=+new Date+l;(!this.id||y=d)return x+Math.min(O,d-k);if(k+=P-x,k+=y-k%y,x=P+1,k>=d)return x}}var ct=[""];function gt(l){for(;ct.length<=l;)ct.push(Ke(ct)+" ");return ct[l]}function Ke(l){return l[l.length-1]}function Et(l,d){for(var y=[],x=0;x"€"&&(l.toUpperCase()!=l.toLowerCase()||pt.test(l))}function ht(l,d){return d?d.source.indexOf("\\w")>-1&&_t(l)?!0:d.test(l):_t(l)}function It(l){for(var d in l)if(l.hasOwnProperty(d)&&l[d])return!1;return!0}var Ft=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Vt(l){return l.charCodeAt(0)>=768&&Ft.test(l)}function Ge(l,d,y){for(;(y<0?d>0:dy?-1:1;;){if(d==y)return d;var k=(d+y)/2,P=x<0?Math.ceil(k):Math.floor(k);if(P==d)return l(P)?d:y;l(P)?y=P:d=P+x}}function nr(l,d,y,x){if(!l)return x(d,y,"ltr",0);for(var k=!1,P=0;Pd||d==y&&O.to==d)&&(x(Math.max(O.from,d),Math.min(O.to,y),O.level==1?"rtl":"ltr",P),k=!0)}k||x(d,y,"ltr")}var vr=null;function pr(l,d,y){var x;vr=null;for(var k=0;kd)return k;P.to==d&&(P.from!=P.to&&y=="before"?x=k:vr=k),P.from==d&&(P.from!=P.to&&y!="before"?x=k:vr=k)}return x!=null?x:vr}var Wr=function(){var l="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",d="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function y(te){return te<=247?l.charAt(te):1424<=te&&te<=1524?"R":1536<=te&&te<=1785?d.charAt(te-1536):1774<=te&&te<=2220?"r":8192<=te&&te<=8203?"w":te==8204?"b":"L"}var x=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,k=/[stwN]/,P=/[LRr]/,O=/[Lb1n]/,W=/[1n]/;function Z(te,he,xe){this.level=te,this.from=he,this.to=xe}return function(te,he){var xe=he=="ltr"?"L":"R";if(te.length==0||he=="ltr"&&!x.test(te))return!1;for(var De=te.length,Te=[],qe=0;qe-1&&(x[d]=k.slice(0,P).concat(k.slice(P+1)))}}}function je(l,d){var y=mr(l,d);if(y.length)for(var x=Array.prototype.slice.call(arguments,2),k=0;k0}function rt(l){l.prototype.on=function(d,y){Ze(this,d,y)},l.prototype.off=function(d,y){Se(this,d,y)}}function Ie(l){l.preventDefault?l.preventDefault():l.returnValue=!1}function $e(l){l.stopPropagation?l.stopPropagation():l.cancelBubble=!0}function Ye(l){return l.defaultPrevented!=null?l.defaultPrevented:l.returnValue==!1}function mt(l){Ie(l),$e(l)}function qt(l){return l.target||l.srcElement}function Tt(l){var d=l.which;return d==null&&(l.button&1?d=1:l.button&2?d=3:l.button&4&&(d=2)),T&&l.ctrlKey&&d==1&&(d=3),d}var Rt=function(){if(u&&f<9)return!1;var l=_("div");return"draggable"in l||"dragDrop"in l}(),Xt;function Pr(l){if(Xt==null){var d=_("span","​");q(l,_("span",[d,document.createTextNode("x")])),l.firstChild.offsetHeight!=0&&(Xt=d.offsetWidth<=1&&d.offsetHeight>2&&!(u&&f<8))}var y=Xt?_("span","​"):_("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return y.setAttribute("cm-text",""),y}var Nr;function Vr(l){if(Nr!=null)return Nr;var d=q(l,document.createTextNode("AخA")),y=U(d,0,1).getBoundingClientRect(),x=U(d,1,2).getBoundingClientRect();return I(l),!y||y.left==y.right?!1:Nr=x.right-y.right<3}var qr="\n\nb".split(/\n/).length!=3?function(l){for(var d=0,y=[],x=l.length;d<=x;){var k=l.indexOf("\n",d);k==-1&&(k=l.length);var P=l.slice(d,l.charAt(k-1)=="\r"?k-1:k),O=P.indexOf("\r");O!=-1?(y.push(P.slice(0,O)),d+=O+1):(y.push(P),d=k+1)}return y}:function(l){return l.split(/\r\n?|\n/)},Gt=window.getSelection?function(l){try{return l.selectionStart!=l.selectionEnd}catch(d){return!1}}:function(l){var d;try{d=l.ownerDocument.selection.createRange()}catch(y){}return!d||d.parentElement()!=l?!1:d.compareEndPoints("StartToEnd",d)!=0},xr=function(){var l=_("div");return"oncopy"in l?!0:(l.setAttribute("oncopy","return;"),typeof l.oncopy=="function")}(),dr=null;function Ns(l){if(dr!=null)return dr;var d=q(l,_("span","x")),y=d.getBoundingClientRect(),x=U(d,0,1).getBoundingClientRect();return dr=Math.abs(y.left-x.left)>1}var Kr={},ar={};function ut(l,d){arguments.length>2&&(d.dependencies=Array.prototype.slice.call(arguments,2)),Kr[l]=d}function ge(l,d){ar[l]=d}function Qe(l){if(typeof l=="string"&&ar.hasOwnProperty(l))l=ar[l];else if(l&&typeof l.name=="string"&&ar.hasOwnProperty(l.name)){var d=ar[l.name];typeof d=="string"&&(d={name:d}),l=ot(d,l),l.name=d.name}else{if(typeof l=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(l))return Qe("application/xml");if(typeof l=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(l))return Qe("application/json")}return typeof l=="string"?{name:l}:l||{name:"null"}}function Xe(l,d){d=Qe(d);var y=Kr[d.name];if(!y)return Xe(l,"text/plain");var x=y(l,d);if(st.hasOwnProperty(d.name)){var k=st[d.name];for(var P in k)k.hasOwnProperty(P)&&(x.hasOwnProperty(P)&&(x["_"+P]=x[P]),x[P]=k[P])}if(x.name=d.name,d.helperType&&(x.helperType=d.helperType),d.modeProps)for(var O in d.modeProps)x[O]=d.modeProps[O];return x}var st={};function Ht(l,d){var y=st.hasOwnProperty(l)?st[l]:st[l]={};ae(d,y)}function Dt(l,d){if(d===!0)return d;if(l.copyState)return l.copyState(d);var y={};for(var x in d){var k=d[x];k instanceof Array&&(k=k.concat([])),y[x]=k}return y}function Ut(l,d){for(var y;l.innerMode&&(y=l.innerMode(d),!(!y||y.mode==l));)d=y.state,l=y.mode;return y||{mode:l,state:d}}function Jt(l,d,y){return l.startState?l.startState(d,y):!0}var yt=function(l,d,y){this.pos=this.start=0,this.string=l,this.tabSize=d||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=y};yt.prototype.eol=function(){return this.pos>=this.string.length},yt.prototype.sol=function(){return this.pos==this.lineStart},yt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},yt.prototype.next=function(){if(this.posd},yt.prototype.eatSpace=function(){for(var l=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>l},yt.prototype.skipToEnd=function(){this.pos=this.string.length},yt.prototype.skipTo=function(l){var d=this.string.indexOf(l,this.pos);if(d>-1)return this.pos=d,!0},yt.prototype.backUp=function(l){this.pos-=l},yt.prototype.column=function(){return this.lastColumnPos0?null:(P&&d!==!1&&(this.pos+=P[0].length),P)}},yt.prototype.current=function(){return this.string.slice(this.start,this.pos)},yt.prototype.hideFirstChars=function(l,d){this.lineStart+=l;try{return d()}finally{this.lineStart-=l}},yt.prototype.lookAhead=function(l){var d=this.lineOracle;return d&&d.lookAhead(l)},yt.prototype.baseToken=function(){var l=this.lineOracle;return l&&l.baseToken(this.pos)};function Je(l,d){if(d-=l.first,d<0||d>=l.size)throw new Error("There is no line "+(d+l.first)+" in the document.");for(var y=l;!y.lines;)for(var x=0;;++x){var k=y.children[x],P=k.chunkSize();if(d=l.first&&dy?Ne(y,Je(l,y).text.length):eC(d,Je(l,d.line).text.length)}function eC(l,d){var y=l.ch;return y==null||y>d?Ne(l.line,d):y<0?Ne(l.line,0):l}function K1(l,d){for(var y=[],x=0;xthis.maxLookAhead&&(this.maxLookAhead=l),d},ol.prototype.baseToken=function(l){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=l;)this.baseTokenPos+=2;var d=this.baseTokens[this.baseTokenPos+1];return{type:d&&d.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-l}},ol.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},ol.fromSaved=function(l,d,y){return d instanceof G1?new ol(l,Dt(l.mode,d.state),y,d.lookAhead):new ol(l,Dt(l.mode,d),y)},ol.prototype.save=function(l){var d=l!==!1?Dt(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new G1(d,this.maxLookAhead):d};function Y_(l,d,y,x){var k=[l.state.modeGen],P={};t8(l,d.text,l.doc.mode,y,function(te,he){return k.push(te,he)},P,x);for(var O=y.state,W=function(te){y.baseTokens=k;var he=l.state.overlays[te],xe=1,De=0;y.state=!0,t8(l,d.text,he.mode,y,function(Te,qe){for(var tt=xe;DeTe&&k.splice(xe,1,Te,k[xe+1],dt),xe+=2,De=Math.min(Te,dt)}if(qe)if(he.opaque)k.splice(tt,xe-tt,Te,"overlay "+qe),xe=tt+2;else for(;ttl.options.maxHighlightLength&&Dt(l.doc.mode,x.state),P=Y_(l,d,x);k&&(x.state=k),d.stateAfter=x.save(!k),d.styles=P.styles,P.classes?d.styleClasses=P.classes:d.styleClasses&&(d.styleClasses=null),y===l.doc.highlightFrontier&&(l.doc.modeFrontier=Math.max(l.doc.modeFrontier,++l.doc.highlightFrontier))}return d.styles}function s0(l,d,y){var x=l.doc,k=l.display;if(!x.mode.startState)return new ol(x,!0,d);var P=Nq(l,d,y),O=P>x.first&&Je(x,P-1).stateAfter,W=O?ol.fromSaved(x,O,P):new ol(x,Jt(x.mode),P);return x.iter(P,d,function(Z){tC(l,Z.text,W);var te=W.line;Z.stateAfter=te==d-1||te%5==0||te>=k.viewFrom&&ted.start)return P}throw new Error("Mode "+l.name+" failed to advance stream.")}var Q_=function(l,d,y){this.start=l.start,this.end=l.pos,this.string=l.current(),this.type=d||null,this.state=y};function J_(l,d,y,x){var k=l.doc,P=k.mode,O;d=or(k,d);var W=Je(k,d.line),Z=s0(l,d.line,y),te=new yt(W.text,l.options.tabSize,Z),he;for(x&&(he=[]);(x||te.posl.options.maxHighlightLength?(W=!1,O&&tC(l,d,x,he.pos),he.pos=d.length,xe=null):xe=e8(rC(y,he,x.state,De),P),De){var Te=De[0].name;Te&&(xe="m-"+(xe?Te+" "+xe:Te))}if(!W||te!=xe){for(;ZO;--W){if(W<=P.first)return P.first;var Z=Je(P,W-1),te=Z.stateAfter;if(te&&(!y||W+(te instanceof G1?te.lookAhead:0)<=P.modeFrontier))return W;var he=fe(Z.text,null,l.options.tabSize);(k==null||x>he)&&(k=W-1,x=he)}return k}function _q(l,d){if(l.modeFrontier=Math.min(l.modeFrontier,d),!(l.highlightFrontiery;x--){var k=Je(l,x).stateAfter;if(k&&(!(k instanceof G1)||x+k.lookAhead=d:P.to>d);(x||(x=[])).push(new Y1(O,P.from,Z?null:P.to))}}return x}function Rq(l,d,y){var x;if(l)for(var k=0;k=d:P.to>d);if(W||P.from==d&&O.type=="bookmark"&&(!y||P.marker.insertLeft)){var Z=P.from==null||(O.inclusiveLeft?P.from<=d:P.from0&&W)for(var Ot=0;Ot0)){var he=[Z,1],xe=et(te.from,W.from),De=et(te.to,W.to);(xe<0||!O.inclusiveLeft&&!xe)&&he.push({from:te.from,to:W.from}),(De>0||!O.inclusiveRight&&!De)&&he.push({from:W.to,to:te.to}),k.splice.apply(k,he),Z+=he.length-3}}return k}function s8(l){var d=l.markedSpans;if(d){for(var y=0;yd)&&(!x||sC(x,P.marker)<0)&&(x=P.marker)}return x}function l8(l,d,y,x,k){var P=Je(l,d),O=$l&&P.markedSpans;if(O)for(var W=0;W=0&&xe<=0||he<=0&&xe>=0)&&(he<=0&&(Z.marker.inclusiveRight&&k.inclusiveLeft?et(te.to,y)>=0:et(te.to,y)>0)||he>=0&&(Z.marker.inclusiveRight&&k.inclusiveLeft?et(te.from,x)<=0:et(te.from,x)<0)))return!0}}}function yi(l){for(var d;d=i8(l);)l=d.find(-1,!0).line;return l}function Oq(l){for(var d;d=Q1(l);)l=d.find(1,!0).line;return l}function $q(l){for(var d,y;d=Q1(l);)l=d.find(1,!0).line,(y||(y=[])).push(l);return y}function aC(l,d){var y=Je(l,d),x=yi(y);return y==x?d:ne(x)}function c8(l,d){if(d>l.lastLine())return d;var y=Je(l,d),x;if(!Oc(l,y))return d;for(;x=Q1(y);)y=x.find(1,!0).line;return ne(y)+1}function Oc(l,d){var y=$l&&d.markedSpans;if(y){for(var x=void 0,k=0;kd.maxLineLength&&(d.maxLineLength=k,d.maxLine=x)})}var sh=function(l,d,y){this.text=l,a8(this,d),this.height=y?y(this):1};sh.prototype.lineNo=function(){return ne(this)},rt(sh);function zq(l,d,y,x){l.text=d,l.stateAfter&&(l.stateAfter=null),l.styles&&(l.styles=null),l.order!=null&&(l.order=null),s8(l),a8(l,y);var k=x?x(l):1;k!=l.height&&yr(l,k)}function Fq(l){l.parent=null,s8(l)}var Hq={},Bq={};function u8(l,d){if(!l||/^\s*$/.test(l))return null;var y=d.addModeClass?Bq:Hq;return y[l]||(y[l]=l.replace(/\S+/g,"cm-$&"))}function d8(l,d){var y=$("span",null,null,h?"padding-right: .1px":null),x={pre:$("pre",[y],"CodeMirror-line"),content:y,col:0,pos:0,cm:l,trailingSpace:!1,splitSpaces:l.getOption("lineWrapping")};d.measure={};for(var k=0;k<=(d.rest?d.rest.length:0);k++){var P=k?d.rest[k-1]:d.line,O=void 0;x.pos=0,x.addToken=Wq,Vr(l.display.measure)&&(O=Le(P,l.doc.direction))&&(x.addToken=qq(x.addToken,O)),x.map=[];var W=d!=l.display.externalMeasured&&ne(P);Kq(P,x,Z_(l,P,W)),P.styleClasses&&(P.styleClasses.bgClass&&(x.bgClass=F(P.styleClasses.bgClass,x.bgClass||"")),P.styleClasses.textClass&&(x.textClass=F(P.styleClasses.textClass,x.textClass||""))),x.map.length==0&&x.map.push(0,0,x.content.appendChild(Pr(l.display.measure))),k==0?(d.measure.map=x.map,d.measure.cache={}):((d.measure.maps||(d.measure.maps=[])).push(x.map),(d.measure.caches||(d.measure.caches=[])).push({}))}if(h){var Z=x.content.lastChild;(/\bcm-tab\b/.test(Z.className)||Z.querySelector&&Z.querySelector(".cm-tab"))&&(x.content.className="cm-tab-wrap-hack")}return je(l,"renderLine",l,d.line,x.pre),x.pre.className&&(x.textClass=F(x.pre.className,x.textClass||"")),x}function Uq(l){var d=_("span","•","cm-invalidchar");return d.title="\\u"+l.charCodeAt(0).toString(16),d.setAttribute("aria-label",d.title),d}function Wq(l,d,y,x,k,P,O){if(d){var W=l.splitSpaces?Vq(d,l.trailingSpace):d,Z=l.cm.state.specialChars,te=!1,he;if(!Z.test(d))l.col+=d.length,he=document.createTextNode(W),l.map.push(l.pos,l.pos+d.length,he),u&&f<9&&(te=!0),l.pos+=d.length;else{he=document.createDocumentFragment();for(var xe=0;;){Z.lastIndex=xe;var De=Z.exec(d),Te=De?De.index-xe:d.length-xe;if(Te){var qe=document.createTextNode(W.slice(xe,xe+Te));u&&f<9?he.appendChild(_("span",[qe])):he.appendChild(qe),l.map.push(l.pos,l.pos+Te,qe),l.col+=Te,l.pos+=Te}if(!De)break;xe+=Te+1;var tt=void 0;if(De[0]==" "){var dt=l.cm.options.tabSize,kt=dt-l.col%dt;tt=he.appendChild(_("span",gt(kt),"cm-tab")),tt.setAttribute("role","presentation"),tt.setAttribute("cm-text"," "),l.col+=kt}else De[0]=="\r"||De[0]=="\n"?(tt=he.appendChild(_("span",De[0]=="\r"?"␍":"␤","cm-invalidchar")),tt.setAttribute("cm-text",De[0]),l.col+=1):(tt=l.cm.options.specialCharPlaceholder(De[0]),tt.setAttribute("cm-text",De[0]),u&&f<9?he.appendChild(_("span",[tt])):he.appendChild(tt),l.col+=1);l.map.push(l.pos,l.pos+1,tt),l.pos++}}if(l.trailingSpace=W.charCodeAt(d.length-1)==32,y||x||k||te||P||O){var Pt=y||"";x&&(Pt+=x),k&&(Pt+=k);var Ct=_("span",[he],Pt,P);if(O)for(var Ot in O)O.hasOwnProperty(Ot)&&Ot!="style"&&Ot!="class"&&Ct.setAttribute(Ot,O[Ot]);return l.content.appendChild(Ct)}l.content.appendChild(he)}}function Vq(l,d){if(l.length>1&&!/ /.test(l))return l;for(var y=d,x="",k=0;kte&&xe.from<=te));De++);if(xe.to>=he)return l(y,x,k,P,O,W,Z);l(y,x.slice(0,xe.to-te),k,P,null,W,Z),P=null,x=x.slice(xe.to-te),te=xe.to}}}function f8(l,d,y,x){var k=!x&&y.widgetNode;k&&l.map.push(l.pos,l.pos+d,k),!x&&l.cm.display.input.needsContentAttribute&&(k||(k=l.content.appendChild(document.createElement("span"))),k.setAttribute("cm-marker",y.id)),k&&(l.cm.display.input.setUneditable(k),l.content.appendChild(k)),l.pos+=d,l.trailingSpace=!1}function Kq(l,d,y){var x=l.markedSpans,k=l.text,P=0;if(!x){for(var O=1;OZ||Cr.collapsed&&Yt.to==Z&&Yt.from==Z)){if(Yt.to!=null&&Yt.to!=Z&&Te>Yt.to&&(Te=Yt.to,tt=""),Cr.className&&(qe+=" "+Cr.className),Cr.css&&(De=(De?De+";":"")+Cr.css),Cr.startStyle&&Yt.from==Z&&(dt+=" "+Cr.startStyle),Cr.endStyle&&Yt.to==Te&&(Ot||(Ot=[])).push(Cr.endStyle,Yt.to),Cr.title&&((Pt||(Pt={})).title=Cr.title),Cr.attributes)for(var gn in Cr.attributes)(Pt||(Pt={}))[gn]=Cr.attributes[gn];Cr.collapsed&&(!kt||sC(kt.marker,Cr)<0)&&(kt=Yt)}else Yt.from>Z&&Te>Yt.from&&(Te=Yt.from)}if(Ot)for(var fs=0;fs=W)break;for(var Ka=Math.min(W,Te);;){if(he){var Sa=Z+he.length;if(!kt){var Zn=Sa>Ka?he.slice(0,Ka-Z):he;d.addToken(d,Zn,xe?xe+qe:qe,dt,Z+Zn.length==Te?tt:"",De,Pt)}if(Sa>=Ka){he=he.slice(Ka-Z),Z=Ka;break}Z=Sa,dt=""}he=k.slice(P,P=y[te++]),xe=u8(y[te++],d.cm.options)}}}function h8(l,d,y){this.line=d,this.rest=$q(d),this.size=this.rest?ne(Ke(this.rest))-y+1:1,this.node=this.text=null,this.hidden=Oc(l,d)}function ex(l,d,y){for(var x=[],k,P=d;P2&&P.push((Z.bottom+te.top)/2-y.top)}}P.push(y.bottom-y.top)}}function b8(l,d,y){if(l.line==d)return{map:l.measure.map,cache:l.measure.cache};if(l.rest){for(var x=0;xy)return{map:l.measure.maps[k],cache:l.measure.caches[k],before:!0}}}function sK(l,d){d=yi(d);var y=ne(d),x=l.display.externalMeasured=new h8(l.doc,d,y);x.lineN=y;var k=x.built=d8(l,x);return x.text=k.pre,q(l.display.lineMeasure,k.pre),x}function w8(l,d,y,x){return ll(l,oh(l,d),y,x)}function dC(l,d){if(d>=l.display.viewFrom&&d=y.lineN&&dd)&&(P=Z-W,k=P-1,d>=Z&&(O="right")),k!=null){if(x=l[te+2],W==Z&&y==(x.insertLeft?"left":"right")&&(O=y),y=="left"&&k==0)for(;te&&l[te-2]==l[te-3]&&l[te-1].insertLeft;)x=l[(te-=3)+2],O="left";if(y=="right"&&k==Z-W)for(;te=0&&(y=l[k]).left==y.right;k--);return y}function oK(l,d,y,x){var k=C8(d.map,y,x),P=k.node,O=k.start,W=k.end,Z=k.collapse,te;if(P.nodeType==3){for(var he=0;he<4;he++){for(;O&&Vt(d.line.text.charAt(k.coverStart+O));)--O;for(;k.coverStart+W0&&(Z=x="right");var xe;l.options.lineWrapping&&(xe=P.getClientRects()).length>1?te=xe[x=="right"?xe.length-1:0]:te=P.getBoundingClientRect()}if(u&&f<9&&!O&&(!te||!te.left&&!te.right)){var De=P.parentNode.getClientRects()[0];De?te={left:De.left,right:De.left+lh(l.display),top:De.top,bottom:De.bottom}:te=k8}for(var Te=te.top-d.rect.top,qe=te.bottom-d.rect.top,tt=(Te+qe)/2,dt=d.view.measure.heights,kt=0;kt=x.text.length?(Z=x.text.length,te="before"):Z<=0&&(Z=0,te="after"),!W)return O(te=="before"?Z-1:Z,te=="before");function he(qe,tt,dt){var kt=W[tt],Pt=kt.level==1;return O(dt?qe-1:qe,Pt!=dt)}var xe=pr(W,Z,te),De=vr,Te=he(Z,xe,te=="before");return De!=null&&(Te.other=he(Z,De,te!="before")),Te}function T8(l,d){var y=0;d=or(l.doc,d),l.options.lineWrapping||(y=lh(l.display)*d.ch);var x=Je(l.doc,d.line),k=zl(x)+tx(l.display);return{left:y,right:y,top:k,bottom:k+x.height}}function hC(l,d,y,x,k){var P=Ne(l,d,y);return P.xRel=k,x&&(P.outside=x),P}function pC(l,d,y){var x=l.doc;if(y+=l.display.viewOffset,y<0)return hC(x.first,0,null,-1,-1);var k=de(x,y),P=x.first+x.size-1;if(k>P)return hC(x.first+x.size-1,Je(x,P).text.length,null,1,1);d<0&&(d=0);for(var O=Je(x,k);;){var W=lK(l,O,k,d,y),Z=Iq(O,W.ch+(W.xRel>0||W.outside>0?1:0));if(!Z)return W;var te=Z.find(1);if(te.line==k)return te;O=Je(x,k=te.line)}}function P8(l,d,y,x){x-=fC(d);var k=d.text.length,P=Zt(function(O){return ll(l,y,O-1).bottom<=x},k,0);return k=Zt(function(O){return ll(l,y,O).top>x},P,k),{begin:P,end:k}}function M8(l,d,y,x){y||(y=oh(l,d));var k=rx(l,d,ll(l,y,x),"line").top;return P8(l,d,y,k)}function mC(l,d,y,x){return l.bottom<=y?!1:l.top>y?!0:(x?l.left:l.right)>d}function lK(l,d,y,x,k){k-=zl(d);var P=oh(l,d),O=fC(d),W=0,Z=d.text.length,te=!0,he=Le(d,l.doc.direction);if(he){var xe=(l.options.lineWrapping?uK:cK)(l,d,y,P,he,x,k);te=xe.level!=1,W=te?xe.from:xe.to-1,Z=te?xe.to:xe.from-1}var De=null,Te=null,qe=Zt(function(Qt){var Yt=ll(l,P,Qt);return Yt.top+=O,Yt.bottom+=O,mC(Yt,x,k,!1)?(Yt.top<=k&&Yt.left<=x&&(De=Qt,Te=Yt),!0):!1},W,Z),tt,dt,kt=!1;if(Te){var Pt=x-Te.left=Ot.bottom?1:0}return qe=Ge(d.text,qe,1),hC(y,qe,dt,kt,x-tt)}function cK(l,d,y,x,k,P,O){var W=Zt(function(xe){var De=k[xe],Te=De.level!=1;return mC(bi(l,Ne(y,Te?De.to:De.from,Te?"before":"after"),"line",d,x),P,O,!0)},0,k.length-1),Z=k[W];if(W>0){var te=Z.level!=1,he=bi(l,Ne(y,te?Z.from:Z.to,te?"after":"before"),"line",d,x);mC(he,P,O,!0)&&he.top>O&&(Z=k[W-1])}return Z}function uK(l,d,y,x,k,P,O){var W=P8(l,d,x,O),Z=W.begin,te=W.end;/\s/.test(d.text.charAt(te-1))&&te--;for(var he=null,xe=null,De=0;De=te||Te.to<=Z)){var qe=Te.level!=1,tt=ll(l,x,qe?Math.min(te,Te.to)-1:Math.max(Z,Te.from)).right,dt=ttdt)&&(he=Te,xe=dt)}}return he||(he=k[k.length-1]),he.fromte&&(he={from:he.from,to:te,level:he.level}),he}var md;function ih(l){if(l.cachedTextHeight!=null)return l.cachedTextHeight;if(md==null){md=_("pre",null,"CodeMirror-line-like");for(var d=0;d<49;++d)md.appendChild(document.createTextNode("x")),md.appendChild(_("br"));md.appendChild(document.createTextNode("x"))}q(l.measure,md);var y=md.offsetHeight/50;return y>3&&(l.cachedTextHeight=y),I(l.measure),y||1}function lh(l){if(l.cachedCharWidth!=null)return l.cachedCharWidth;var d=_("span","xxxxxxxxxx"),y=_("pre",[d],"CodeMirror-line-like");q(l.measure,y);var x=d.getBoundingClientRect(),k=(x.right-x.left)/10;return k>2&&(l.cachedCharWidth=k),k||10}function gC(l){for(var d=l.display,y={},x={},k=d.gutters.clientLeft,P=d.gutters.firstChild,O=0;P;P=P.nextSibling,++O){var W=l.display.gutterSpecs[O].className;y[W]=P.offsetLeft+P.clientLeft+k,x[W]=P.clientWidth}return{fixedPos:vC(d),gutterTotalWidth:d.gutters.offsetWidth,gutterLeft:y,gutterWidth:x,wrapperWidth:d.wrapper.clientWidth}}function vC(l){return l.scroller.getBoundingClientRect().left-l.sizer.getBoundingClientRect().left}function D8(l){var d=ih(l.display),y=l.options.lineWrapping,x=y&&Math.max(5,l.display.scroller.clientWidth/lh(l.display)-3);return function(k){if(Oc(l.doc,k))return 0;var P=0;if(k.widgets)for(var O=0;O0&&(te=Je(l.doc,Z.line).text).length==Z.ch){var he=fe(te,te.length,l.options.tabSize)-te.length;Z=Ne(Z.line,Math.max(0,Math.round((P-y8(l.display).left)/lh(l.display))-he))}return Z}function vd(l,d){if(d>=l.display.viewTo||(d-=l.display.viewFrom,d<0))return null;for(var y=l.display.view,x=0;xd)&&(k.updateLineNumbers=d),l.curOp.viewChanged=!0,d>=k.viewTo)$l&&aC(l.doc,d)k.viewFrom?zc(l):(k.viewFrom+=x,k.viewTo+=x);else if(d<=k.viewFrom&&y>=k.viewTo)zc(l);else if(d<=k.viewFrom){var P=sx(l,y,y+x,1);P?(k.view=k.view.slice(P.index),k.viewFrom=P.lineN,k.viewTo+=x):zc(l)}else if(y>=k.viewTo){var O=sx(l,d,d,-1);O?(k.view=k.view.slice(0,O.index),k.viewTo=O.lineN):zc(l)}else{var W=sx(l,d,d,-1),Z=sx(l,y,y+x,1);W&&Z?(k.view=k.view.slice(0,W.index).concat(ex(l,W.lineN,Z.lineN)).concat(k.view.slice(Z.index)),k.viewTo+=x):zc(l)}var te=k.externalMeasured;te&&(y=k.lineN&&d=x.viewTo)){var P=x.view[vd(l,d)];if(P.node!=null){var O=P.changes||(P.changes=[]);ue(O,y)==-1&&O.push(y)}}}function zc(l){l.display.viewFrom=l.display.viewTo=l.doc.first,l.display.view=[],l.display.viewOffset=0}function sx(l,d,y,x){var k=vd(l,d),P,O=l.display.view;if(!$l||y==l.doc.first+l.doc.size)return{index:k,lineN:y};for(var W=l.display.viewFrom,Z=0;Z0){if(k==O.length-1)return null;P=W+O[k].size-d,k++}else P=W-d;d+=P,y+=P}for(;aC(l.doc,y)!=y;){if(k==(x<0?0:O.length-1))return null;y+=x*O[k-(x<0?1:0)].size,k+=x}return{index:k,lineN:y}}function dK(l,d,y){var x=l.display,k=x.view;k.length==0||d>=x.viewTo||y<=x.viewFrom?(x.view=ex(l,d,y),x.viewFrom=d):(x.viewFrom>d?x.view=ex(l,d,x.viewFrom).concat(x.view):x.viewFromy&&(x.view=x.view.slice(0,vd(l,y)))),x.viewTo=y}function A8(l){for(var d=l.display.view,y=0,x=0;x=l.display.viewTo||Z.to().line0?O:l.defaultCharWidth())+"px"}if(x.other){var W=y.appendChild(_("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));W.style.display="",W.style.left=x.other.left+"px",W.style.top=x.other.top+"px",W.style.height=(x.other.bottom-x.other.top)*.85+"px"}}function ax(l,d){return l.top-d.top||l.left-d.left}function fK(l,d,y){var x=l.display,k=l.doc,P=document.createDocumentFragment(),O=y8(l.display),W=O.left,Z=Math.max(x.sizerWidth,pd(l)-x.sizer.offsetLeft)-O.right,te=k.direction=="ltr";function he(Ct,Ot,Qt,Yt){Ot<0&&(Ot=0),Ot=Math.round(Ot),Yt=Math.round(Yt),P.appendChild(_("div",null,"CodeMirror-selected","position: absolute; left: "+Ct+"px;\n top: "+Ot+"px; width: "+(Qt==null?Z-Ct:Qt)+"px;\n height: "+(Yt-Ot)+"px"))}function xe(Ct,Ot,Qt){var Yt=Je(k,Ct),Cr=Yt.text.length,gn,fs;function Pn(Zn,ja){return nx(l,Ne(Ct,Zn),"div",Yt,ja)}function Ka(Zn,ja,_s){var ss=M8(l,Yt,null,Zn),Xn=ja=="ltr"==(_s=="after")?"left":"right",Ln=_s=="after"?ss.begin:ss.end-(/\s/.test(Yt.text.charAt(ss.end-1))?2:1);return Pn(Ln,Xn)[Xn]}var Sa=Le(Yt,k.direction);return nr(Sa,Ot||0,Qt==null?Cr:Qt,function(Zn,ja,_s,ss){var Xn=_s=="ltr",Ln=Pn(Zn,Xn?"left":"right"),Ea=Pn(ja-1,Xn?"right":"left"),wh=Ot==null&&Zn==0,Vc=Qt==null&&ja==Cr,qs=ss==0,cl=!Sa||ss==Sa.length-1;if(Ea.top-Ln.top<=3){var hs=(te?wh:Vc)&&qs,qC=(te?Vc:wh)&&cl,Ul=hs?W:(Xn?Ln:Ea).left,kd=qC?Z:(Xn?Ea:Ln).right;he(Ul,Ln.top,kd-Ul,Ln.bottom)}else{var Cd,ia,kh,KC;Xn?(Cd=te&&wh&&qs?W:Ln.left,ia=te?Z:Ka(Zn,_s,"before"),kh=te?W:Ka(ja,_s,"after"),KC=te&&Vc&&cl?Z:Ea.right):(Cd=te?Ka(Zn,_s,"before"):W,ia=!te&&wh&&qs?Z:Ln.right,kh=!te&&Vc&&cl?W:Ea.left,KC=te?Ka(ja,_s,"after"):Z),he(Cd,Ln.top,ia-Cd,Ln.bottom),Ln.bottom0?d.blinker=setInterval(function(){l.hasFocus()||ch(l),d.cursorDiv.style.visibility=(y=!y)?"":"hidden"},l.options.cursorBlinkRate):l.options.cursorBlinkRate<0&&(d.cursorDiv.style.visibility="hidden")}}function L8(l){l.hasFocus()||(l.display.input.focus(),l.state.focused||kC(l))}function wC(l){l.state.delayingBlurEvent=!0,setTimeout(function(){l.state.delayingBlurEvent&&(l.state.delayingBlurEvent=!1,l.state.focused&&ch(l))},100)}function kC(l,d){l.state.delayingBlurEvent&&!l.state.draggingText&&(l.state.delayingBlurEvent=!1),l.options.readOnly!="nocursor"&&(l.state.focused||(je(l,"focus",l,d),l.state.focused=!0,B(l.display.wrapper,"CodeMirror-focused"),!l.curOp&&l.display.selForContextMenu!=l.doc.sel&&(l.display.input.reset(),h&&setTimeout(function(){return l.display.input.reset(!0)},20)),l.display.input.receivedFocus()),bC(l))}function ch(l,d){l.state.delayingBlurEvent||(l.state.focused&&(je(l,"blur",l,d),l.state.focused=!1,V(l.display.wrapper,"CodeMirror-focused")),clearInterval(l.display.blinker),setTimeout(function(){l.state.focused||(l.display.shift=!1)},150))}function ox(l){for(var d=l.display,y=d.lineDiv.offsetTop,x=Math.max(0,d.scroller.getBoundingClientRect().top),k=d.lineDiv.getBoundingClientRect().top,P=0,O=0;O.005||Te<-.005)&&(kl.display.sizerWidth){var tt=Math.ceil(he/lh(l.display));tt>l.display.maxLineLength&&(l.display.maxLineLength=tt,l.display.maxLine=W.line,l.display.maxLineChanged=!0)}}}Math.abs(P)>2&&(d.scroller.scrollTop+=P)}function I8(l){if(l.widgets)for(var d=0;d=O&&(P=de(d,zl(Je(d,Z))-l.wrapper.clientHeight),O=Z)}return{from:P,to:Math.max(O,P+1)}}function hK(l,d){if(!we(l,"scrollCursorIntoView")){var y=l.display,x=y.sizer.getBoundingClientRect(),k=null,P=y.wrapper.ownerDocument;if(d.top+x.top<0?k=!0:d.bottom+x.top>(P.defaultView.innerHeight||P.documentElement.clientHeight)&&(k=!1),k!=null&&!C){var O=_("div","​",null,"position: absolute;\n top: "+(d.top-y.viewOffset-tx(l.display))+"px;\n height: "+(d.bottom-d.top+il(l)+y.barHeight)+"px;\n left: "+d.left+"px; width: "+Math.max(2,d.right-d.left)+"px;");l.display.lineSpace.appendChild(O),O.scrollIntoView(k),l.display.lineSpace.removeChild(O)}}}function pK(l,d,y,x){x==null&&(x=0);var k;!l.options.lineWrapping&&d==y&&(y=d.sticky=="before"?Ne(d.line,d.ch+1,"before"):d,d=d.ch?Ne(d.line,d.sticky=="before"?d.ch-1:d.ch,"after"):d);for(var P=0;P<5;P++){var O=!1,W=bi(l,d),Z=!y||y==d?W:bi(l,y);k={left:Math.min(W.left,Z.left),top:Math.min(W.top,Z.top)-x,right:Math.max(W.left,Z.left),bottom:Math.max(W.bottom,Z.bottom)+x};var te=CC(l,k),he=l.doc.scrollTop,xe=l.doc.scrollLeft;if(te.scrollTop!=null&&(f0(l,te.scrollTop),Math.abs(l.doc.scrollTop-he)>1&&(O=!0)),te.scrollLeft!=null&&(xd(l,te.scrollLeft),Math.abs(l.doc.scrollLeft-xe)>1&&(O=!0)),!O)break}return k}function mK(l,d){var y=CC(l,d);y.scrollTop!=null&&f0(l,y.scrollTop),y.scrollLeft!=null&&xd(l,y.scrollLeft)}function CC(l,d){var y=l.display,x=ih(l.display);d.top<0&&(d.top=0);var k=l.curOp&&l.curOp.scrollTop!=null?l.curOp.scrollTop:y.scroller.scrollTop,P=uC(l),O={};d.bottom-d.top>P&&(d.bottom=d.top+P);var W=l.doc.height+cC(y),Z=d.topW-x;if(d.topk+P){var he=Math.min(d.top,(te?W:d.bottom)-P);he!=k&&(O.scrollTop=he)}var xe=l.options.fixedGutter?0:y.gutters.offsetWidth,De=l.curOp&&l.curOp.scrollLeft!=null?l.curOp.scrollLeft:y.scroller.scrollLeft-xe,Te=pd(l)-y.gutters.offsetWidth,qe=d.right-d.left>Te;return qe&&(d.right=d.left+Te),d.left<10?O.scrollLeft=0:d.leftTe+De-3&&(O.scrollLeft=d.right+(qe?0:10)-Te),O}function SC(l,d){d!=null&&(lx(l),l.curOp.scrollTop=(l.curOp.scrollTop==null?l.doc.scrollTop:l.curOp.scrollTop)+d)}function uh(l){lx(l);var d=l.getCursor();l.curOp.scrollToPos={from:d,to:d,margin:l.options.cursorScrollMargin}}function d0(l,d,y){(d!=null||y!=null)&&lx(l),d!=null&&(l.curOp.scrollLeft=d),y!=null&&(l.curOp.scrollTop=y)}function gK(l,d){lx(l),l.curOp.scrollToPos=d}function lx(l){var d=l.curOp.scrollToPos;if(d){l.curOp.scrollToPos=null;var y=T8(l,d.from),x=T8(l,d.to);O8(l,y,x,d.margin)}}function O8(l,d,y,x){var k=CC(l,{left:Math.min(d.left,y.left),top:Math.min(d.top,y.top)-x,right:Math.max(d.right,y.right),bottom:Math.max(d.bottom,y.bottom)+x});d0(l,k.scrollLeft,k.scrollTop)}function f0(l,d){Math.abs(l.doc.scrollTop-d)<2||(a||EC(l,{top:d}),$8(l,d,!0),a&&EC(l),m0(l,100))}function $8(l,d,y){d=Math.max(0,Math.min(l.display.scroller.scrollHeight-l.display.scroller.clientHeight,d)),!(l.display.scroller.scrollTop==d&&!y)&&(l.doc.scrollTop=d,l.display.scrollbars.setScrollTop(d),l.display.scroller.scrollTop!=d&&(l.display.scroller.scrollTop=d))}function xd(l,d,y,x){d=Math.max(0,Math.min(d,l.display.scroller.scrollWidth-l.display.scroller.clientWidth)),!((y?d==l.doc.scrollLeft:Math.abs(l.doc.scrollLeft-d)<2)&&!x)&&(l.doc.scrollLeft=d,U8(l),l.display.scroller.scrollLeft!=d&&(l.display.scroller.scrollLeft=d),l.display.scrollbars.setScrollLeft(d))}function h0(l){var d=l.display,y=d.gutters.offsetWidth,x=Math.round(l.doc.height+cC(l.display));return{clientHeight:d.scroller.clientHeight,viewHeight:d.wrapper.clientHeight,scrollWidth:d.scroller.scrollWidth,clientWidth:d.scroller.clientWidth,viewWidth:d.wrapper.clientWidth,barLeft:l.options.fixedGutter?y:0,docHeight:x,scrollHeight:x+il(l)+d.barHeight,nativeBarWidth:d.nativeBarWidth,gutterWidth:y}}var yd=function(l,d,y){this.cm=y;var x=this.vert=_("div",[_("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),k=this.horiz=_("div",[_("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");x.tabIndex=k.tabIndex=-1,l(x),l(k),Ze(x,"scroll",function(){x.clientHeight&&d(x.scrollTop,"vertical")}),Ze(k,"scroll",function(){k.clientWidth&&d(k.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,u&&f<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};yd.prototype.update=function(l){var d=l.scrollWidth>l.clientWidth+1,y=l.scrollHeight>l.clientHeight+1,x=l.nativeBarWidth;if(y){this.vert.style.display="block",this.vert.style.bottom=d?x+"px":"0";var k=l.viewHeight-(d?x:0);this.vert.firstChild.style.height=Math.max(0,l.scrollHeight-l.clientHeight+k)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(d){this.horiz.style.display="block",this.horiz.style.right=y?x+"px":"0",this.horiz.style.left=l.barLeft+"px";var P=l.viewWidth-l.barLeft-(y?x:0);this.horiz.firstChild.style.width=Math.max(0,l.scrollWidth-l.clientWidth+P)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&l.clientHeight>0&&(x==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:y?x:0,bottom:d?x:0}},yd.prototype.setScrollLeft=function(l){this.horiz.scrollLeft!=l&&(this.horiz.scrollLeft=l),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},yd.prototype.setScrollTop=function(l){this.vert.scrollTop!=l&&(this.vert.scrollTop=l),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},yd.prototype.zeroWidthHack=function(){var l=T&&!b?"12px":"18px";this.horiz.style.height=this.vert.style.width=l,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new le,this.disableVert=new le},yd.prototype.enableZeroWidthBar=function(l,d,y){l.style.visibility="";function x(){var k=l.getBoundingClientRect(),P=y=="vert"?document.elementFromPoint(k.right-1,(k.top+k.bottom)/2):document.elementFromPoint((k.right+k.left)/2,k.bottom-1);P!=l?l.style.visibility="hidden":d.set(1e3,x)}d.set(1e3,x)},yd.prototype.clear=function(){var l=this.horiz.parentNode;l.removeChild(this.horiz),l.removeChild(this.vert)};var p0=function(){};p0.prototype.update=function(){return{bottom:0,right:0}},p0.prototype.setScrollLeft=function(){},p0.prototype.setScrollTop=function(){},p0.prototype.clear=function(){};function dh(l,d){d||(d=h0(l));var y=l.display.barWidth,x=l.display.barHeight;z8(l,d);for(var k=0;k<4&&y!=l.display.barWidth||x!=l.display.barHeight;k++)y!=l.display.barWidth&&l.options.lineWrapping&&ox(l),z8(l,h0(l)),y=l.display.barWidth,x=l.display.barHeight}function z8(l,d){var y=l.display,x=y.scrollbars.update(d);y.sizer.style.paddingRight=(y.barWidth=x.right)+"px",y.sizer.style.paddingBottom=(y.barHeight=x.bottom)+"px",y.heightForcer.style.borderBottom=x.bottom+"px solid transparent",x.right&&x.bottom?(y.scrollbarFiller.style.display="block",y.scrollbarFiller.style.height=x.bottom+"px",y.scrollbarFiller.style.width=x.right+"px"):y.scrollbarFiller.style.display="",x.bottom&&l.options.coverGutterNextToScrollbar&&l.options.fixedGutter?(y.gutterFiller.style.display="block",y.gutterFiller.style.height=x.bottom+"px",y.gutterFiller.style.width=d.gutterWidth+"px"):y.gutterFiller.style.display=""}var F8={native:yd,null:p0};function H8(l){l.display.scrollbars&&(l.display.scrollbars.clear(),l.display.scrollbars.addClass&&V(l.display.wrapper,l.display.scrollbars.addClass)),l.display.scrollbars=new F8[l.options.scrollbarStyle](function(d){l.display.wrapper.insertBefore(d,l.display.scrollbarFiller),Ze(d,"mousedown",function(){l.state.focused&&setTimeout(function(){return l.display.input.focus()},0)}),d.setAttribute("cm-not-content","true")},function(d,y){y=="horizontal"?xd(l,d):f0(l,d)},l),l.display.scrollbars.addClass&&B(l.display.wrapper,l.display.scrollbars.addClass)}var vK=0;function bd(l){l.curOp={cm:l,viewChanged:!1,startHeight:l.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++vK,markArrays:null},Gq(l.curOp)}function wd(l){var d=l.curOp;d&&Zq(d,function(y){for(var x=0;x=y.viewTo)||y.maxLineChanged&&d.options.lineWrapping,l.update=l.mustUpdate&&new cx(d,l.mustUpdate&&{top:l.scrollTop,ensure:l.scrollToPos},l.forceUpdate)}function bK(l){l.updatedDisplay=l.mustUpdate&&jC(l.cm,l.update)}function wK(l){var d=l.cm,y=d.display;l.updatedDisplay&&ox(d),l.barMeasure=h0(d),y.maxLineChanged&&!d.options.lineWrapping&&(l.adjustWidthTo=w8(d,y.maxLine,y.maxLine.text.length).left+3,d.display.sizerWidth=l.adjustWidthTo,l.barMeasure.scrollWidth=Math.max(y.scroller.clientWidth,y.sizer.offsetLeft+l.adjustWidthTo+il(d)+d.display.barWidth),l.maxScrollLeft=Math.max(0,y.sizer.offsetLeft+l.adjustWidthTo-pd(d))),(l.updatedDisplay||l.selectionChanged)&&(l.preparedSelection=y.input.prepareSelection())}function kK(l){var d=l.cm;l.adjustWidthTo!=null&&(d.display.sizer.style.minWidth=l.adjustWidthTo+"px",l.maxScrollLeft=l.display.viewTo)){var y=+new Date+l.options.workTime,x=s0(l,d.highlightFrontier),k=[];d.iter(x.line,Math.min(d.first+d.size,l.display.viewTo+500),function(P){if(x.line>=l.display.viewFrom){var O=P.styles,W=P.text.length>l.options.maxHighlightLength?Dt(d.mode,x.state):null,Z=Y_(l,P,x,!0);W&&(x.state=W),P.styles=Z.styles;var te=P.styleClasses,he=Z.classes;he?P.styleClasses=he:te&&(P.styleClasses=null);for(var xe=!O||O.length!=P.styles.length||te!=he&&(!te||!he||te.bgClass!=he.bgClass||te.textClass!=he.textClass),De=0;!xe&&Dey)return m0(l,l.options.workDelay),!0}),d.highlightFrontier=x.line,d.modeFrontier=Math.max(d.modeFrontier,x.line),k.length&&qa(l,function(){for(var P=0;P=y.viewFrom&&d.visible.to<=y.viewTo&&(y.updateLineNumbers==null||y.updateLineNumbers>=y.viewTo)&&y.renderedView==y.view&&A8(l)==0)return!1;W8(l)&&(zc(l),d.dims=gC(l));var k=x.first+x.size,P=Math.max(d.visible.from-l.options.viewportMargin,x.first),O=Math.min(k,d.visible.to+l.options.viewportMargin);y.viewFromO&&y.viewTo-O<20&&(O=Math.min(k,y.viewTo)),$l&&(P=aC(l.doc,P),O=c8(l.doc,O));var W=P!=y.viewFrom||O!=y.viewTo||y.lastWrapHeight!=d.wrapperHeight||y.lastWrapWidth!=d.wrapperWidth;dK(l,P,O),y.viewOffset=zl(Je(l.doc,y.viewFrom)),l.display.mover.style.top=y.viewOffset+"px";var Z=A8(l);if(!W&&Z==0&&!d.force&&y.renderedView==y.view&&(y.updateLineNumbers==null||y.updateLineNumbers>=y.viewTo))return!1;var te=EK(l);return Z>4&&(y.lineDiv.style.display="none"),_K(l,y.updateLineNumbers,d.dims),Z>4&&(y.lineDiv.style.display=""),y.renderedView=y.view,NK(te),I(y.cursorDiv),I(y.selectionDiv),y.gutters.style.height=y.sizer.style.minHeight=0,W&&(y.lastWrapHeight=d.wrapperHeight,y.lastWrapWidth=d.wrapperWidth,m0(l,400)),y.updateLineNumbers=null,!0}function B8(l,d){for(var y=d.viewport,x=!0;;x=!1){if(!x||!l.options.lineWrapping||d.oldDisplayWidth==pd(l)){if(y&&y.top!=null&&(y={top:Math.min(l.doc.height+cC(l.display)-uC(l),y.top)}),d.visible=ix(l.display,l.doc,y),d.visible.from>=l.display.viewFrom&&d.visible.to<=l.display.viewTo)break}else x&&(d.visible=ix(l.display,l.doc,y));if(!jC(l,d))break;ox(l);var k=h0(l);u0(l),dh(l,k),_C(l,k),d.force=!1}d.signal(l,"update",l),(l.display.viewFrom!=l.display.reportedViewFrom||l.display.viewTo!=l.display.reportedViewTo)&&(d.signal(l,"viewportChange",l,l.display.viewFrom,l.display.viewTo),l.display.reportedViewFrom=l.display.viewFrom,l.display.reportedViewTo=l.display.viewTo)}function EC(l,d){var y=new cx(l,d);if(jC(l,y)){ox(l),B8(l,y);var x=h0(l);u0(l),dh(l,x),_C(l,x),y.finish()}}function _K(l,d,y){var x=l.display,k=l.options.lineNumbers,P=x.lineDiv,O=P.firstChild;function W(qe){var tt=qe.nextSibling;return h&&T&&l.display.currentWheelTarget==qe?qe.style.display="none":qe.parentNode.removeChild(qe),tt}for(var Z=x.view,te=x.viewFrom,he=0;he-1&&(Te=!1),p8(l,xe,te,y)),Te&&(I(xe.lineNumber),xe.lineNumber.appendChild(document.createTextNode(ze(l.options,te)))),O=xe.node.nextSibling}te+=xe.size}for(;O;)O=W(O)}function NC(l){var d=l.gutters.offsetWidth;l.sizer.style.marginLeft=d+"px",cs(l,"gutterChanged",l)}function _C(l,d){l.display.sizer.style.minHeight=d.docHeight+"px",l.display.heightForcer.style.top=d.docHeight+"px",l.display.gutters.style.height=d.docHeight+l.display.barHeight+il(l)+"px"}function U8(l){var d=l.display,y=d.view;if(!(!d.alignWidgets&&(!d.gutters.firstChild||!l.options.fixedGutter))){for(var x=vC(d)-d.scroller.scrollLeft+l.doc.scrollLeft,k=d.gutters.offsetWidth,P=x+"px",O=0;O=105&&(k.wrapper.style.clipPath="inset(0px)"),k.wrapper.setAttribute("translate","no"),u&&f<8&&(k.gutters.style.zIndex=-1,k.scroller.style.paddingRight=0),!h&&!(a&&N)&&(k.scroller.draggable=!0),l&&(l.appendChild?l.appendChild(k.wrapper):l(k.wrapper)),k.viewFrom=k.viewTo=d.first,k.reportedViewFrom=k.reportedViewTo=d.first,k.view=[],k.renderedView=null,k.externalMeasured=null,k.viewOffset=0,k.lastWrapHeight=k.lastWrapWidth=0,k.updateLineNumbers=null,k.nativeBarWidth=k.barHeight=k.barWidth=0,k.scrollbarsClipped=!1,k.lineNumWidth=k.lineNumInnerWidth=k.lineNumChars=null,k.alignWidgets=!1,k.cachedCharWidth=k.cachedTextHeight=k.cachedPaddingH=null,k.maxLine=null,k.maxLineLength=0,k.maxLineChanged=!1,k.wheelDX=k.wheelDY=k.wheelStartX=k.wheelStartY=null,k.shift=!1,k.selForContextMenu=null,k.activeTouch=null,k.gutterSpecs=TC(x.gutters,x.lineNumbers),V8(k),y.init(k)}var ux=0,Hl=null;u?Hl=-.53:a?Hl=15:v?Hl=-.7:g&&(Hl=-1/3);function q8(l){var d=l.wheelDeltaX,y=l.wheelDeltaY;return d==null&&l.detail&&l.axis==l.HORIZONTAL_AXIS&&(d=l.detail),y==null&&l.detail&&l.axis==l.VERTICAL_AXIS?y=l.detail:y==null&&(y=l.wheelDelta),{x:d,y}}function PK(l){var d=q8(l);return d.x*=Hl,d.y*=Hl,d}function K8(l,d){v&&S==102&&(l.display.chromeScrollHack==null?l.display.sizer.style.pointerEvents="none":clearTimeout(l.display.chromeScrollHack),l.display.chromeScrollHack=setTimeout(function(){l.display.chromeScrollHack=null,l.display.sizer.style.pointerEvents=""},100));var y=q8(d),x=y.x,k=y.y,P=Hl;d.deltaMode===0&&(x=d.deltaX,k=d.deltaY,P=1);var O=l.display,W=O.scroller,Z=W.scrollWidth>W.clientWidth,te=W.scrollHeight>W.clientHeight;if(x&&Z||k&&te){if(k&&T&&h){e:for(var he=d.target,xe=O.view;he!=W;he=he.parentNode)for(var De=0;De=0&&et(l,x.to())<=0)return y}return-1};var Xr=function(l,d){this.anchor=l,this.head=d};Xr.prototype.from=function(){return Ol(this.anchor,this.head)},Xr.prototype.to=function(){return mn(this.anchor,this.head)},Xr.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function wi(l,d,y){var x=l&&l.options.selectionsMayTouch,k=d[y];d.sort(function(De,Te){return et(De.from(),Te.from())}),y=ue(d,k);for(var P=1;P0:Z>=0){var te=Ol(W.from(),O.from()),he=mn(W.to(),O.to()),xe=W.empty()?O.from()==O.head:W.from()==W.head;P<=y&&--y,d.splice(--P,2,new Xr(xe?he:te,xe?te:he))}}return new bo(d,y)}function Fc(l,d){return new bo([new Xr(l,d||l)],0)}function Hc(l){return l.text?Ne(l.from.line+l.text.length-1,Ke(l.text).length+(l.text.length==1?l.from.ch:0)):l.to}function G8(l,d){if(et(l,d.from)<0)return l;if(et(l,d.to)<=0)return Hc(d);var y=l.line+d.text.length-(d.to.line-d.from.line)-1,x=l.ch;return l.line==d.to.line&&(x+=Hc(d).ch-d.to.ch),Ne(y,x)}function PC(l,d){for(var y=[],x=0;x1&&l.remove(W.line+1,qe-1),l.insert(W.line+1,kt)}cs(l,"change",l,d)}function Bc(l,d,y){function x(k,P,O){if(k.linked)for(var W=0;W1&&!l.done[l.done.length-2].ranges)return l.done.pop(),Ke(l.done)}function eT(l,d,y,x){var k=l.history;k.undone.length=0;var P=+new Date,O,W;if((k.lastOp==x||k.lastOrigin==d.origin&&d.origin&&(d.origin.charAt(0)=="+"&&k.lastModTime>P-(l.cm?l.cm.options.historyEventDelay:500)||d.origin.charAt(0)=="*"))&&(O=AK(k,k.lastOp==x)))W=Ke(O.changes),et(d.from,d.to)==0&&et(d.from,W.to)==0?W.to=Hc(d):O.changes.push(AC(l,d));else{var Z=Ke(k.done);for((!Z||!Z.ranges)&&fx(l.sel,k.done),O={changes:[AC(l,d)],generation:k.generation},k.done.push(O);k.done.length>k.undoDepth;)k.done.shift(),k.done[0].ranges||k.done.shift()}k.done.push(y),k.generation=++k.maxGeneration,k.lastModTime=k.lastSelTime=P,k.lastOp=k.lastSelOp=x,k.lastOrigin=k.lastSelOrigin=d.origin,W||je(l,"historyAdded")}function RK(l,d,y,x){var k=d.charAt(0);return k=="*"||k=="+"&&y.ranges.length==x.ranges.length&&y.somethingSelected()==x.somethingSelected()&&new Date-l.history.lastSelTime<=(l.cm?l.cm.options.historyEventDelay:500)}function LK(l,d,y,x){var k=l.history,P=x&&x.origin;y==k.lastSelOp||P&&k.lastSelOrigin==P&&(k.lastModTime==k.lastSelTime&&k.lastOrigin==P||RK(l,P,Ke(k.done),d))?k.done[k.done.length-1]=d:fx(d,k.done),k.lastSelTime=+new Date,k.lastSelOrigin=P,k.lastSelOp=y,x&&x.clearRedo!==!1&&J8(k.undone)}function fx(l,d){var y=Ke(d);y&&y.ranges&&y.equals(l)||d.push(l)}function tT(l,d,y,x){var k=d["spans_"+l.id],P=0;l.iter(Math.max(l.first,y),Math.min(l.first+l.size,x),function(O){O.markedSpans&&((k||(k=d["spans_"+l.id]={}))[P]=O.markedSpans),++P})}function IK(l){if(!l)return null;for(var d,y=0;y-1&&(Ke(W)[xe]=te[xe],delete te[xe])}}return x}function RC(l,d,y,x){if(x){var k=l.anchor;if(y){var P=et(d,k)<0;P!=et(y,k)<0?(k=d,d=y):P!=et(d,y)<0&&(d=y)}return new Xr(k,d)}else return new Xr(y||d,d)}function hx(l,d,y,x,k){k==null&&(k=l.cm&&(l.cm.display.shift||l.extend)),Vs(l,new bo([RC(l.sel.primary(),d,y,k)],0),x)}function nT(l,d,y){for(var x=[],k=l.cm&&(l.cm.display.shift||l.extend),P=0;P=d.ch:W.to>d.ch))){if(k&&(je(Z,"beforeCursorEnter"),Z.explicitlyCleared))if(P.markedSpans){--O;continue}else break;if(!Z.atomic)continue;if(y){var xe=Z.find(x<0?1:-1),De=void 0;if((x<0?he:te)&&(xe=cT(l,xe,-x,xe&&xe.line==d.line?P:null)),xe&&xe.line==d.line&&(De=et(xe,y))&&(x<0?De<0:De>0))return hh(l,xe,d,x,k)}var Te=Z.find(x<0?-1:1);return(x<0?te:he)&&(Te=cT(l,Te,x,Te.line==d.line?P:null)),Te?hh(l,Te,d,x,k):null}}return d}function mx(l,d,y,x,k){var P=x||1,O=hh(l,d,y,P,k)||!k&&hh(l,d,y,P,!0)||hh(l,d,y,-P,k)||!k&&hh(l,d,y,-P,!0);return O||(l.cantEdit=!0,Ne(l.first,0))}function cT(l,d,y,x){return y<0&&d.ch==0?d.line>l.first?or(l,Ne(d.line-1)):null:y>0&&d.ch==(x||Je(l,d.line)).text.length?d.line=0;--k)fT(l,{from:x[k].from,to:x[k].to,text:k?[""]:d.text,origin:d.origin});else fT(l,d)}}function fT(l,d){if(!(d.text.length==1&&d.text[0]==""&&et(d.from,d.to)==0)){var y=PC(l,d);eT(l,d,y,l.cm?l.cm.curOp.id:NaN),x0(l,d,y,nC(l,d));var x=[];Bc(l,function(k,P){!P&&ue(x,k.history)==-1&&(gT(k.history,d),x.push(k.history)),x0(k,d,null,nC(k,d))})}}function gx(l,d,y){var x=l.cm&&l.cm.state.suppressEdits;if(!(x&&!y)){for(var k=l.history,P,O=l.sel,W=d=="undo"?k.done:k.undone,Z=d=="undo"?k.undone:k.done,te=0;te=0;--Te){var qe=De(Te);if(qe)return qe.v}}}}function hT(l,d){if(d!=0&&(l.first+=d,l.sel=new bo(Et(l.sel.ranges,function(k){return new Xr(Ne(k.anchor.line+d,k.anchor.ch),Ne(k.head.line+d,k.head.ch))}),l.sel.primIndex),l.cm)){ka(l.cm,l.first,l.first-d,d);for(var y=l.cm.display,x=y.viewFrom;xl.lastLine())){if(d.from.lineP&&(d={from:d.from,to:Ne(P,Je(l,P).text.length),text:[d.text[0]],origin:d.origin}),d.removed=Wt(l,d.from,d.to),y||(y=PC(l,d)),l.cm?zK(l.cm,d,x):DC(l,d,x),px(l,y,Pe),l.cantEdit&&mx(l,Ne(l.firstLine(),0))&&(l.cantEdit=!1)}}function zK(l,d,y){var x=l.doc,k=l.display,P=d.from,O=d.to,W=!1,Z=P.line;l.options.lineWrapping||(Z=ne(yi(Je(x,P.line))),x.iter(Z,O.line+1,function(Te){if(Te==k.maxLine)return W=!0,!0})),x.sel.contains(d.from,d.to)>-1&&Fe(l),DC(x,d,y,D8(l)),l.options.lineWrapping||(x.iter(Z,P.line+d.text.length,function(Te){var qe=J1(Te);qe>k.maxLineLength&&(k.maxLine=Te,k.maxLineLength=qe,k.maxLineChanged=!0,W=!1)}),W&&(l.curOp.updateMaxLine=!0)),_q(x,P.line),m0(l,400);var te=d.text.length-(O.line-P.line)-1;d.full?ka(l):P.line==O.line&&d.text.length==1&&!Z8(l.doc,d)?$c(l,P.line,"text"):ka(l,P.line,O.line+1,te);var he=nt(l,"changes"),xe=nt(l,"change");if(xe||he){var De={from:P,to:O,text:d.text,removed:d.removed,origin:d.origin};xe&&cs(l,"change",l,De),he&&(l.curOp.changeObjs||(l.curOp.changeObjs=[])).push(De)}l.display.selForContextMenu=null}function mh(l,d,y,x,k){var P;x||(x=y),et(x,y)<0&&(P=[x,y],y=P[0],x=P[1]),typeof d=="string"&&(d=l.splitLines(d)),ph(l,{from:y,to:x,text:d,origin:k})}function pT(l,d,y,x){y1||!(this.children[0]instanceof b0))){var W=[];this.collapse(W),this.children=[new b0(W)],this.children[0].parent=this}},collapse:function(l){for(var d=0;d50){for(var O=k.lines.length%25+25,W=O;W10);l.parent.maybeSpill()}},iterN:function(l,d,y){for(var x=0;xl.display.maxLineLength&&(l.display.maxLine=te,l.display.maxLineLength=he,l.display.maxLineChanged=!0)}x!=null&&l&&this.collapsed&&ka(l,x,k+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,l&&iT(l.doc)),l&&cs(l,"markerCleared",l,this,x,k),d&&wd(l),this.parent&&this.parent.clear()}},Uc.prototype.find=function(l,d){l==null&&this.type=="bookmark"&&(l=1);for(var y,x,k=0;k0||O==0&&P.clearWhenEmpty!==!1)return P;if(P.replacedWith&&(P.collapsed=!0,P.widgetNode=$("span",[P.replacedWith],"CodeMirror-widget"),x.handleMouseEvents||P.widgetNode.setAttribute("cm-ignore-events","true"),x.insertLeft&&(P.widgetNode.insertLeft=!0)),P.collapsed){if(l8(l,d.line,d,y,P)||d.line!=y.line&&l8(l,y.line,d,y,P))throw new Error("Inserting collapsed marker partially overlapping an existing one");Pq()}P.addToHistory&&eT(l,{from:d,to:y,origin:"markText"},l.sel,NaN);var W=d.line,Z=l.cm,te;if(l.iter(W,y.line+1,function(xe){Z&&P.collapsed&&!Z.options.lineWrapping&&yi(xe)==Z.display.maxLine&&(te=!0),P.collapsed&&W!=d.line&&yr(xe,0),Dq(xe,new Y1(P,W==d.line?d.ch:null,W==y.line?y.ch:null),l.cm&&l.cm.curOp),++W}),P.collapsed&&l.iter(d.line,y.line+1,function(xe){Oc(l,xe)&&yr(xe,0)}),P.clearOnEnter&&Ze(P,"beforeCursorEnter",function(){return P.clear()}),P.readOnly&&(Tq(),(l.history.done.length||l.history.undone.length)&&l.clearHistory()),P.collapsed&&(P.id=++xT,P.atomic=!0),Z){if(te&&(Z.curOp.updateMaxLine=!0),P.collapsed)ka(Z,d.line,y.line+1);else if(P.className||P.startStyle||P.endStyle||P.css||P.attributes||P.title)for(var he=d.line;he<=y.line;he++)$c(Z,he,"text");P.atomic&&iT(Z.doc),cs(Z,"markerAdded",Z,P)}return P}var C0=function(l,d){this.markers=l,this.primary=d;for(var y=0;y=0;Z--)ph(this,x[Z]);W?aT(this,W):this.cm&&uh(this.cm)}),undo:ds(function(){gx(this,"undo")}),redo:ds(function(){gx(this,"redo")}),undoSelection:ds(function(){gx(this,"undo",!0)}),redoSelection:ds(function(){gx(this,"redo",!0)}),setExtending:function(l){this.extend=l},getExtending:function(){return this.extend},historySize:function(){for(var l=this.history,d=0,y=0,x=0;x=l.ch)&&d.push(k.marker.parent||k.marker)}return d},findMarks:function(l,d,y){l=or(this,l),d=or(this,d);var x=[],k=l.line;return this.iter(l.line,d.line+1,function(P){var O=P.markedSpans;if(O)for(var W=0;W=Z.to||Z.from==null&&k!=l.line||Z.from!=null&&k==d.line&&Z.from>=d.ch)&&(!y||y(Z.marker))&&x.push(Z.marker.parent||Z.marker)}++k}),x},getAllMarks:function(){var l=[];return this.iter(function(d){var y=d.markedSpans;if(y)for(var x=0;xl)return d=l,!0;l-=P,++y}),or(this,Ne(y,d))},indexFromPos:function(l){l=or(this,l);var d=l.ch;if(l.lined&&(d=l.from),l.to!=null&&l.to-1){d.state.draggingText(l),setTimeout(function(){return d.display.input.focus()},20);return}try{var he=l.dataTransfer.getData("Text");if(he){var xe;if(d.state.draggingText&&!d.state.draggingText.copy&&(xe=d.listSelections()),px(d.doc,Fc(y,y)),xe)for(var De=0;De=0;W--)mh(l.doc,"",x[W].from,x[W].to,"+delete");uh(l)})}function IC(l,d,y){var x=Ge(l.text,d+y,y);return x<0||x>l.text.length?null:x}function OC(l,d,y){var x=IC(l,d.ch,y);return x==null?null:new Ne(d.line,x,y<0?"after":"before")}function $C(l,d,y,x,k){if(l){d.doc.direction=="rtl"&&(k=-k);var P=Le(y,d.doc.direction);if(P){var O=k<0?Ke(P):P[0],W=k<0==(O.level==1),Z=W?"after":"before",te;if(O.level>0||d.doc.direction=="rtl"){var he=oh(d,y);te=k<0?y.text.length-1:0;var xe=ll(d,he,te).top;te=Zt(function(De){return ll(d,he,De).top==xe},k<0==(O.level==1)?O.from:O.to-1,te),Z=="before"&&(te=IC(y,te,1))}else te=k<0?O.to:O.from;return new Ne(x,te,Z)}}return new Ne(x,k<0?y.text.length:0,k<0?"before":"after")}function JK(l,d,y,x){var k=Le(d,l.doc.direction);if(!k)return OC(d,y,x);y.ch>=d.text.length?(y.ch=d.text.length,y.sticky="before"):y.ch<=0&&(y.ch=0,y.sticky="after");var P=pr(k,y.ch,y.sticky),O=k[P];if(l.doc.direction=="ltr"&&O.level%2==0&&(x>0?O.to>y.ch:O.from=O.from&&De>=he.begin)){var Te=xe?"before":"after";return new Ne(y.line,De,Te)}}var qe=function(kt,Pt,Ct){for(var Ot=function(gn,fs){return fs?new Ne(y.line,W(gn,1),"before"):new Ne(y.line,gn,"after")};kt>=0&&kt0==(Qt.level!=1),Cr=Yt?Ct.begin:W(Ct.end,-1);if(Qt.from<=Cr&&Cr0?he.end:W(he.begin,-1);return dt!=null&&!(x>0&&dt==d.text.length)&&(tt=qe(x>0?0:k.length-1,x,te(dt)),tt)?tt:null}var E0={selectAll:uT,singleSelection:function(l){return l.setSelection(l.getCursor("anchor"),l.getCursor("head"),Pe)},killLine:function(l){return xh(l,function(d){if(d.empty()){var y=Je(l.doc,d.head.line).text.length;return d.head.ch==y&&d.head.line0)k=new Ne(k.line,k.ch+1),l.replaceRange(P.charAt(k.ch-1)+P.charAt(k.ch-2),Ne(k.line,k.ch-2),k,"+transpose");else if(k.line>l.doc.first){var O=Je(l.doc,k.line-1).text;O&&(k=new Ne(k.line,1),l.replaceRange(P.charAt(0)+l.doc.lineSeparator()+O.charAt(O.length-1),Ne(k.line-1,O.length-1),k,"+transpose"))}}y.push(new Xr(k,k))}l.setSelections(y)})},newlineAndIndent:function(l){return qa(l,function(){for(var d=l.listSelections(),y=d.length-1;y>=0;y--)l.replaceRange(l.doc.lineSeparator(),d[y].anchor,d[y].head,"+input");d=l.listSelections();for(var x=0;xl&&et(d,this.pos)==0&&y==this.button};var _0,T0;function oG(l,d){var y=+new Date;return T0&&T0.compare(y,l,d)?(_0=T0=null,"triple"):_0&&_0.compare(y,l,d)?(T0=new FC(y,l,d),_0=null,"double"):(_0=new FC(y,l,d),T0=null,"single")}function RT(l){var d=this,y=d.display;if(!(we(d,l)||y.activeTouch&&y.input.supportsTouch())){if(y.input.ensurePolled(),y.shift=l.shiftKey,Fl(y,l)){h||(y.scroller.draggable=!1,setTimeout(function(){return y.scroller.draggable=!0},100));return}if(!HC(d,l)){var x=gd(d,l),k=Tt(l),P=x?oG(x,k):"single";ie(d).focus(),k==1&&d.state.selectingText&&d.state.selectingText(l),!(x&&iG(d,k,x,P,l))&&(k==1?x?cG(d,x,P,l):qt(l)==y.scroller&&Ie(l):k==2?(x&&hx(d.doc,x),setTimeout(function(){return y.input.focus()},20)):k==3&&(z?d.display.input.onContextMenu(l):wC(d)))}}}function iG(l,d,y,x,k){var P="Click";return x=="double"?P="Double"+P:x=="triple"&&(P="Triple"+P),P=(d==1?"Left":d==2?"Middle":"Right")+P,N0(l,jT(P,k),k,function(O){if(typeof O=="string"&&(O=E0[O]),!O)return!1;var W=!1;try{l.isReadOnly()&&(l.state.suppressEdits=!0),W=O(l,y)!=Ce}finally{l.state.suppressEdits=!1}return W})}function lG(l,d,y){var x=l.getOption("configureMouse"),k=x?x(l,d,y):{};if(k.unit==null){var P=A?y.shiftKey&&y.metaKey:y.altKey;k.unit=P?"rectangle":d=="single"?"char":d=="double"?"word":"line"}return(k.extend==null||l.doc.extend)&&(k.extend=l.doc.extend||y.shiftKey),k.addNew==null&&(k.addNew=T?y.metaKey:y.ctrlKey),k.moveOnDrag==null&&(k.moveOnDrag=!(T?y.altKey:y.ctrlKey)),k}function cG(l,d,y,x){u?setTimeout(oe(L8,l),0):l.curOp.focus=Y(se(l));var k=lG(l,y,x),P=l.doc.sel,O;l.options.dragDrop&&Rt&&!l.isReadOnly()&&y=="single"&&(O=P.contains(d))>-1&&(et((O=P.ranges[O]).from(),d)<0||d.xRel>0)&&(et(O.to(),d)>0||d.xRel<0)?uG(l,x,d,k):dG(l,x,d,k)}function uG(l,d,y,x){var k=l.display,P=!1,O=us(l,function(te){h&&(k.scroller.draggable=!1),l.state.draggingText=!1,l.state.delayingBlurEvent&&(l.hasFocus()?l.state.delayingBlurEvent=!1:wC(l)),Se(k.wrapper.ownerDocument,"mouseup",O),Se(k.wrapper.ownerDocument,"mousemove",W),Se(k.scroller,"dragstart",Z),Se(k.scroller,"drop",O),P||(Ie(te),x.addNew||hx(l.doc,y,null,null,x.extend),h&&!g||u&&f==9?setTimeout(function(){k.wrapper.ownerDocument.body.focus({preventScroll:!0}),k.input.focus()},20):k.input.focus())}),W=function(te){P=P||Math.abs(d.clientX-te.clientX)+Math.abs(d.clientY-te.clientY)>=10},Z=function(){return P=!0};h&&(k.scroller.draggable=!0),l.state.draggingText=O,O.copy=!x.moveOnDrag,Ze(k.wrapper.ownerDocument,"mouseup",O),Ze(k.wrapper.ownerDocument,"mousemove",W),Ze(k.scroller,"dragstart",Z),Ze(k.scroller,"drop",O),l.state.delayingBlurEvent=!0,setTimeout(function(){return k.input.focus()},20),k.scroller.dragDrop&&k.scroller.dragDrop()}function LT(l,d,y){if(y=="char")return new Xr(d,d);if(y=="word")return l.findWordAt(d);if(y=="line")return new Xr(Ne(d.line,0),or(l.doc,Ne(d.line+1,0)));var x=y(l,d);return new Xr(x.from,x.to)}function dG(l,d,y,x){u&&wC(l);var k=l.display,P=l.doc;Ie(d);var O,W,Z=P.sel,te=Z.ranges;if(x.addNew&&!x.extend?(W=P.sel.contains(y),W>-1?O=te[W]:O=new Xr(y,y)):(O=P.sel.primary(),W=P.sel.primIndex),x.unit=="rectangle")x.addNew||(O=new Xr(y,y)),y=gd(l,d,!0,!0),W=-1;else{var he=LT(l,y,x.unit);x.extend?O=RC(O,he.anchor,he.head,x.extend):O=he}x.addNew?W==-1?(W=te.length,Vs(P,wi(l,te.concat([O]),W),{scroll:!1,origin:"*mouse"})):te.length>1&&te[W].empty()&&x.unit=="char"&&!x.extend?(Vs(P,wi(l,te.slice(0,W).concat(te.slice(W+1)),0),{scroll:!1,origin:"*mouse"}),Z=P.sel):LC(P,W,O,Ee):(W=0,Vs(P,new bo([O],0),Ee),Z=P.sel);var xe=y;function De(Ct){if(et(xe,Ct)!=0)if(xe=Ct,x.unit=="rectangle"){for(var Ot=[],Qt=l.options.tabSize,Yt=fe(Je(P,y.line).text,y.ch,Qt),Cr=fe(Je(P,Ct.line).text,Ct.ch,Qt),gn=Math.min(Yt,Cr),fs=Math.max(Yt,Cr),Pn=Math.min(y.line,Ct.line),Ka=Math.min(l.lastLine(),Math.max(y.line,Ct.line));Pn<=Ka;Pn++){var Sa=Je(P,Pn).text,Zn=Ve(Sa,gn,Qt);gn==fs?Ot.push(new Xr(Ne(Pn,Zn),Ne(Pn,Zn))):Sa.length>Zn&&Ot.push(new Xr(Ne(Pn,Zn),Ne(Pn,Ve(Sa,fs,Qt))))}Ot.length||Ot.push(new Xr(y,y)),Vs(P,wi(l,Z.ranges.slice(0,W).concat(Ot),W),{origin:"*mouse",scroll:!1}),l.scrollIntoView(Ct)}else{var ja=O,_s=LT(l,Ct,x.unit),ss=ja.anchor,Xn;et(_s.anchor,ss)>0?(Xn=_s.head,ss=Ol(ja.from(),_s.anchor)):(Xn=_s.anchor,ss=mn(ja.to(),_s.head));var Ln=Z.ranges.slice(0);Ln[W]=fG(l,new Xr(or(P,ss),Xn)),Vs(P,wi(l,Ln,W),Ee)}}var Te=k.wrapper.getBoundingClientRect(),qe=0;function tt(Ct){var Ot=++qe,Qt=gd(l,Ct,!0,x.unit=="rectangle");if(Qt)if(et(Qt,xe)!=0){l.curOp.focus=Y(se(l)),De(Qt);var Yt=ix(k,P);(Qt.line>=Yt.to||Qt.lineTe.bottom?20:0;Cr&&setTimeout(us(l,function(){qe==Ot&&(k.scroller.scrollTop+=Cr,tt(Ct))}),50)}}function dt(Ct){l.state.selectingText=!1,qe=1/0,Ct&&(Ie(Ct),k.input.focus()),Se(k.wrapper.ownerDocument,"mousemove",kt),Se(k.wrapper.ownerDocument,"mouseup",Pt),P.history.lastSelOrigin=null}var kt=us(l,function(Ct){Ct.buttons===0||!Tt(Ct)?dt(Ct):tt(Ct)}),Pt=us(l,dt);l.state.selectingText=Pt,Ze(k.wrapper.ownerDocument,"mousemove",kt),Ze(k.wrapper.ownerDocument,"mouseup",Pt)}function fG(l,d){var y=d.anchor,x=d.head,k=Je(l.doc,y.line);if(et(y,x)==0&&y.sticky==x.sticky)return d;var P=Le(k);if(!P)return d;var O=pr(P,y.ch,y.sticky),W=P[O];if(W.from!=y.ch&&W.to!=y.ch)return d;var Z=O+(W.from==y.ch==(W.level!=1)?0:1);if(Z==0||Z==P.length)return d;var te;if(x.line!=y.line)te=(x.line-y.line)*(l.doc.direction=="ltr"?1:-1)>0;else{var he=pr(P,x.ch,x.sticky),xe=he-O||(x.ch-y.ch)*(W.level==1?-1:1);he==Z-1||he==Z?te=xe<0:te=xe>0}var De=P[Z+(te?-1:0)],Te=te==(De.level==1),qe=Te?De.from:De.to,tt=Te?"after":"before";return y.ch==qe&&y.sticky==tt?d:new Xr(new Ne(y.line,qe,tt),x)}function IT(l,d,y,x){var k,P;if(d.touches)k=d.touches[0].clientX,P=d.touches[0].clientY;else try{k=d.clientX,P=d.clientY}catch(De){return!1}if(k>=Math.floor(l.display.gutters.getBoundingClientRect().right))return!1;x&&Ie(d);var O=l.display,W=O.lineDiv.getBoundingClientRect();if(P>W.bottom||!nt(l,y))return Ye(d);P-=W.top-O.viewOffset;for(var Z=0;Z=k){var he=de(l.doc,P),xe=l.display.gutterSpecs[Z];return je(l,y,l,he,xe.className,d),Ye(d)}}}function HC(l,d){return IT(l,d,"gutterClick",!0)}function OT(l,d){Fl(l.display,d)||hG(l,d)||we(l,d,"contextmenu")||z||l.display.input.onContextMenu(d)}function hG(l,d){return nt(l,"gutterContextMenu")?IT(l,d,"gutterContextMenu",!1):!1}function $T(l){l.display.wrapper.className=l.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+l.options.theme.replace(/(^|\s)\s*/g," cm-s-"),c0(l)}var yh={toString:function(){return"CodeMirror.Init"}},zT={},bx={};function pG(l){var d=l.optionHandlers;function y(x,k,P,O){l.defaults[x]=k,P&&(d[x]=O?function(W,Z,te){te!=yh&&P(W,Z,te)}:P)}l.defineOption=y,l.Init=yh,y("value","",function(x,k){return x.setValue(k)},!0),y("mode",null,function(x,k){x.doc.modeOption=k,MC(x)},!0),y("indentUnit",2,MC,!0),y("indentWithTabs",!1),y("smartIndent",!0),y("tabSize",4,function(x){v0(x),c0(x),ka(x)},!0),y("lineSeparator",null,function(x,k){if(x.doc.lineSep=k,!!k){var P=[],O=x.doc.first;x.doc.iter(function(Z){for(var te=0;;){var he=Z.text.indexOf(k,te);if(he==-1)break;te=he+k.length,P.push(Ne(O,he))}O++});for(var W=P.length-1;W>=0;W--)mh(x.doc,k,P[W],Ne(P[W].line,P[W].ch+k.length))}}),y("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(x,k,P){x.state.specialChars=new RegExp(k.source+(k.test(" ")?"":"| "),"g"),P!=yh&&x.refresh()}),y("specialCharPlaceholder",Uq,function(x){return x.refresh()},!0),y("electricChars",!0),y("inputStyle",N?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),y("spellcheck",!1,function(x,k){return x.getInputField().spellcheck=k},!0),y("autocorrect",!1,function(x,k){return x.getInputField().autocorrect=k},!0),y("autocapitalize",!1,function(x,k){return x.getInputField().autocapitalize=k},!0),y("rtlMoveVisually",!M),y("wholeLineUpdateBefore",!0),y("theme","default",function(x){$T(x),g0(x)},!0),y("keyMap","default",function(x,k,P){var O=xx(k),W=P!=yh&&xx(P);W&&W.detach&&W.detach(x,O),O.attach&&O.attach(x,W||null)}),y("extraKeys",null),y("configureMouse",null),y("lineWrapping",!1,gG,!0),y("gutters",[],function(x,k){x.display.gutterSpecs=TC(k,x.options.lineNumbers),g0(x)},!0),y("fixedGutter",!0,function(x,k){x.display.gutters.style.left=k?vC(x.display)+"px":"0",x.refresh()},!0),y("coverGutterNextToScrollbar",!1,function(x){return dh(x)},!0),y("scrollbarStyle","native",function(x){H8(x),dh(x),x.display.scrollbars.setScrollTop(x.doc.scrollTop),x.display.scrollbars.setScrollLeft(x.doc.scrollLeft)},!0),y("lineNumbers",!1,function(x,k){x.display.gutterSpecs=TC(x.options.gutters,k),g0(x)},!0),y("firstLineNumber",1,g0,!0),y("lineNumberFormatter",function(x){return x},g0,!0),y("showCursorWhenSelecting",!1,u0,!0),y("resetSelectionOnContextMenu",!0),y("lineWiseCopyCut",!0),y("pasteLinesPerSelection",!0),y("selectionsMayTouch",!1),y("readOnly",!1,function(x,k){k=="nocursor"&&(ch(x),x.display.input.blur()),x.display.input.readOnlyChanged(k)}),y("screenReaderLabel",null,function(x,k){k=k===""?null:k,x.display.input.screenReaderLabelChanged(k)}),y("disableInput",!1,function(x,k){k||x.display.input.reset()},!0),y("dragDrop",!0,mG),y("allowDropFileTypes",null),y("cursorBlinkRate",530),y("cursorScrollMargin",0),y("cursorHeight",1,u0,!0),y("singleCursorHeightPerLine",!0,u0,!0),y("workTime",100),y("workDelay",100),y("flattenSpans",!0,v0,!0),y("addModeClass",!1,v0,!0),y("pollInterval",100),y("undoDepth",200,function(x,k){return x.doc.history.undoDepth=k}),y("historyEventDelay",1250),y("viewportMargin",10,function(x){return x.refresh()},!0),y("maxHighlightLength",1e4,v0,!0),y("moveInputWithCursor",!0,function(x,k){k||x.display.input.resetPosition()}),y("tabindex",null,function(x,k){return x.display.input.getField().tabIndex=k||""}),y("autofocus",null),y("direction","ltr",function(x,k){return x.doc.setDirection(k)},!0),y("phrases",null)}function mG(l,d,y){var x=y&&y!=yh;if(!d!=!x){var k=l.display.dragFunctions,P=d?Ze:Se;P(l.display.scroller,"dragstart",k.start),P(l.display.scroller,"dragenter",k.enter),P(l.display.scroller,"dragover",k.over),P(l.display.scroller,"dragleave",k.leave),P(l.display.scroller,"drop",k.drop)}}function gG(l){l.options.lineWrapping?(B(l.display.wrapper,"CodeMirror-wrap"),l.display.sizer.style.minWidth="",l.display.sizerWidth=null):(V(l.display.wrapper,"CodeMirror-wrap"),iC(l)),xC(l),ka(l),c0(l),setTimeout(function(){return dh(l)},100)}function wn(l,d){var y=this;if(!(this instanceof wn))return new wn(l,d);this.options=d=d?ae(d):{},ae(zT,d,!1);var x=d.value;typeof x=="string"?x=new Ca(x,d.mode,null,d.lineSeparator,d.direction):d.mode&&(x.modeOption=d.mode),this.doc=x;var k=new wn.inputStyles[d.inputStyle](this),P=this.display=new TK(l,x,k,d);P.wrapper.CodeMirror=this,$T(this),d.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),H8(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new le,keySeq:null,specialChars:null},d.autofocus&&!N&&P.input.focus(),u&&f<11&&setTimeout(function(){return y.display.input.reset(!0)},20),vG(this),GK(),bd(this),this.curOp.forceUpdate=!0,X8(this,x),d.autofocus&&!N||this.hasFocus()?setTimeout(function(){y.hasFocus()&&!y.state.focused&&kC(y)},20):ch(this);for(var O in bx)bx.hasOwnProperty(O)&&bx[O](this,d[O],yh);W8(this),d.finishInit&&d.finishInit(this);for(var W=0;W20*20}Ze(d.scroller,"touchstart",function(Z){if(!we(l,Z)&&!P(Z)&&!HC(l,Z)){d.input.ensurePolled(),clearTimeout(y);var te=+new Date;d.activeTouch={start:te,moved:!1,prev:te-x.end<=300?x:null},Z.touches.length==1&&(d.activeTouch.left=Z.touches[0].pageX,d.activeTouch.top=Z.touches[0].pageY)}}),Ze(d.scroller,"touchmove",function(){d.activeTouch&&(d.activeTouch.moved=!0)}),Ze(d.scroller,"touchend",function(Z){var te=d.activeTouch;if(te&&!Fl(d,Z)&&te.left!=null&&!te.moved&&new Date-te.start<300){var he=l.coordsChar(d.activeTouch,"page"),xe;!te.prev||O(te,te.prev)?xe=new Xr(he,he):!te.prev.prev||O(te,te.prev.prev)?xe=l.findWordAt(he):xe=new Xr(Ne(he.line,0),or(l.doc,Ne(he.line+1,0))),l.setSelection(xe.anchor,xe.head),l.focus(),Ie(Z)}k()}),Ze(d.scroller,"touchcancel",k),Ze(d.scroller,"scroll",function(){d.scroller.clientHeight&&(f0(l,d.scroller.scrollTop),xd(l,d.scroller.scrollLeft,!0),je(l,"scroll",l))}),Ze(d.scroller,"mousewheel",function(Z){return K8(l,Z)}),Ze(d.scroller,"DOMMouseScroll",function(Z){return K8(l,Z)}),Ze(d.wrapper,"scroll",function(){return d.wrapper.scrollTop=d.wrapper.scrollLeft=0}),d.dragFunctions={enter:function(Z){we(l,Z)||mt(Z)},over:function(Z){we(l,Z)||(KK(l,Z),mt(Z))},start:function(Z){return qK(l,Z)},drop:us(l,VK),leave:function(Z){we(l,Z)||wT(l)}};var W=d.input.getField();Ze(W,"keyup",function(Z){return DT.call(l,Z)}),Ze(W,"keydown",us(l,MT)),Ze(W,"keypress",us(l,AT)),Ze(W,"focus",function(Z){return kC(l,Z)}),Ze(W,"blur",function(Z){return ch(l,Z)})}var BC=[];wn.defineInitHook=function(l){return BC.push(l)};function P0(l,d,y,x){var k=l.doc,P;y==null&&(y="add"),y=="smart"&&(k.mode.indent?P=s0(l,d).state:y="prev");var O=l.options.tabSize,W=Je(k,d),Z=fe(W.text,null,O);W.stateAfter&&(W.stateAfter=null);var te=W.text.match(/^\s*/)[0],he;if(!x&&!/\S/.test(W.text))he=0,y="not";else if(y=="smart"&&(he=k.mode.indent(P,W.text.slice(te.length),W.text),he==Ce||he>150)){if(!x)return;y="prev"}y=="prev"?d>k.first?he=fe(Je(k,d-1).text,null,O):he=0:y=="add"?he=Z+l.options.indentUnit:y=="subtract"?he=Z-l.options.indentUnit:typeof y=="number"&&(he=Z+y),he=Math.max(0,he);var xe="",De=0;if(l.options.indentWithTabs)for(var Te=Math.floor(he/O);Te;--Te)De+=O,xe+=" ";if(DeO,Z=qr(d),te=null;if(W&&x.ranges.length>1)if(ki&&ki.text.join("\n")==d){if(x.ranges.length%ki.text.length==0){te=[];for(var he=0;he=0;De--){var Te=x.ranges[De],qe=Te.from(),tt=Te.to();Te.empty()&&(y&&y>0?qe=Ne(qe.line,qe.ch-y):l.state.overwrite&&!W?tt=Ne(tt.line,Math.min(Je(P,tt.line).text.length,tt.ch+Ke(Z).length)):W&&ki&&ki.lineWise&&ki.text.join("\n")==Z.join("\n")&&(qe=tt=Ne(qe.line,0)));var dt={from:qe,to:tt,text:te?te[De%te.length]:Z,origin:k||(W?"paste":l.state.cutIncoming>O?"cut":"+input")};ph(l.doc,dt),cs(l,"inputRead",l,dt)}d&&!W&&HT(l,d),uh(l),l.curOp.updateInput<2&&(l.curOp.updateInput=xe),l.curOp.typing=!0,l.state.pasteIncoming=l.state.cutIncoming=-1}function FT(l,d){var y=l.clipboardData&&l.clipboardData.getData("Text");if(y)return l.preventDefault(),!d.isReadOnly()&&!d.options.disableInput&&d.hasFocus()&&qa(d,function(){return UC(d,y,0,null,"paste")}),!0}function HT(l,d){if(!(!l.options.electricChars||!l.options.smartIndent))for(var y=l.doc.sel,x=y.ranges.length-1;x>=0;x--){var k=y.ranges[x];if(!(k.head.ch>100||x&&y.ranges[x-1].head.line==k.head.line)){var P=l.getModeAt(k.head),O=!1;if(P.electricChars){for(var W=0;W-1){O=P0(l,k.head.line,"smart");break}}else P.electricInput&&P.electricInput.test(Je(l.doc,k.head.line).text.slice(0,k.head.ch))&&(O=P0(l,k.head.line,"smart"));O&&cs(l,"electricInput",l,k.head.line)}}}function BT(l){for(var d=[],y=[],x=0;xP&&(P0(this,W.head.line,x,!0),P=W.head.line,O==this.doc.sel.primIndex&&uh(this));else{var Z=W.from(),te=W.to(),he=Math.max(P,Z.line);P=Math.min(this.lastLine(),te.line-(te.ch?0:1))+1;for(var xe=he;xe0&&LC(this.doc,O,new Xr(Z,De[O].to()),Pe)}}}),getTokenAt:function(x,k){return J_(this,x,k)},getLineTokens:function(x,k){return J_(this,Ne(x),k,!0)},getTokenTypeAt:function(x){x=or(this.doc,x);var k=Z_(this,Je(this.doc,x.line)),P=0,O=(k.length-1)/2,W=x.ch,Z;if(W==0)Z=k[2];else for(;;){var te=P+O>>1;if((te?k[te*2-1]:0)>=W)O=te;else if(k[te*2+1]Z&&(x=Z,O=!0),W=Je(this.doc,x)}else W=x;return rx(this,W,{top:0,left:0},k||"page",P||O).top+(O?this.doc.height-zl(W):0)},defaultTextHeight:function(){return ih(this.display)},defaultCharWidth:function(){return lh(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(x,k,P,O,W){var Z=this.display;x=bi(this,or(this.doc,x));var te=x.bottom,he=x.left;if(k.style.position="absolute",k.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(k),Z.sizer.appendChild(k),O=="over")te=x.top;else if(O=="above"||O=="near"){var xe=Math.max(Z.wrapper.clientHeight,this.doc.height),De=Math.max(Z.sizer.clientWidth,Z.lineSpace.clientWidth);(O=="above"||x.bottom+k.offsetHeight>xe)&&x.top>k.offsetHeight?te=x.top-k.offsetHeight:x.bottom+k.offsetHeight<=xe&&(te=x.bottom),he+k.offsetWidth>De&&(he=De-k.offsetWidth)}k.style.top=te+"px",k.style.left=k.style.right="",W=="right"?(he=Z.sizer.clientWidth-k.offsetWidth,k.style.right="0px"):(W=="left"?he=0:W=="middle"&&(he=(Z.sizer.clientWidth-k.offsetWidth)/2),k.style.left=he+"px"),P&&mK(this,{left:he,top:te,right:he+k.offsetWidth,bottom:te+k.offsetHeight})},triggerOnKeyDown:oa(MT),triggerOnKeyPress:oa(AT),triggerOnKeyUp:DT,triggerOnMouseDown:oa(RT),execCommand:function(x){if(E0.hasOwnProperty(x))return E0[x].call(null,this)},triggerElectric:oa(function(x){HT(this,x)}),findPosH:function(x,k,P,O){var W=1;k<0&&(W=-1,k=-k);for(var Z=or(this.doc,x),te=0;te0&&he(P.charAt(O-1));)--O;for(;W.5||this.options.lineWrapping)&&xC(this),je(this,"refresh",this)}),swapDoc:oa(function(x){var k=this.doc;return k.cm=null,this.state.selectingText&&this.state.selectingText(),X8(this,x),c0(this),this.display.input.reset(),d0(this,x.scrollLeft,x.scrollTop),this.curOp.forceScroll=!0,cs(this,"swapDoc",this,k),k}),phrase:function(x){var k=this.options.phrases;return k&&Object.prototype.hasOwnProperty.call(k,x)?k[x]:x},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},rt(l),l.registerHelper=function(x,k,P){y.hasOwnProperty(x)||(y[x]=l[x]={_global:[]}),y[x][k]=P},l.registerGlobalHelper=function(x,k,P,O){l.registerHelper(x,k,O),y[x]._global.push({pred:P,val:O})}}function VC(l,d,y,x,k){var P=d,O=y,W=Je(l,d.line),Z=k&&l.direction=="rtl"?-y:y;function te(){var Pt=d.line+Z;return Pt=l.first+l.size?!1:(d=new Ne(Pt,d.ch,d.sticky),W=Je(l,Pt))}function he(Pt){var Ct;if(x=="codepoint"){var Ot=W.text.charCodeAt(d.ch+(y>0?0:-1));if(isNaN(Ot))Ct=null;else{var Qt=y>0?Ot>=55296&&Ot<56320:Ot>=56320&&Ot<57343;Ct=new Ne(d.line,Math.max(0,Math.min(W.text.length,d.ch+y*(Qt?2:1))),-y)}}else k?Ct=JK(l.cm,W,d,y):Ct=OC(W,d,y);if(Ct==null)if(!Pt&&te())d=$C(k,l.cm,W,d.line,Z);else return!1;else d=Ct;return!0}if(x=="char"||x=="codepoint")he();else if(x=="column")he(!0);else if(x=="word"||x=="group")for(var xe=null,De=x=="group",Te=l.cm&&l.cm.getHelper(d,"wordChars"),qe=!0;!(y<0&&!he(!qe));qe=!1){var tt=W.text.charAt(d.ch)||"\n",dt=ht(tt,Te)?"w":De&&tt=="\n"?"n":!De||/\s/.test(tt)?null:"p";if(De&&!qe&&!dt&&(dt="s"),xe&&xe!=dt){y<0&&(y=1,he(),d.sticky="after");break}if(dt&&(xe=dt),y>0&&!he(!qe))break}var kt=mx(l,d,P,O,!0);return fr(P,kt)&&(kt.hitSide=!0),kt}function WT(l,d,y,x){var k=l.doc,P=d.left,O;if(x=="page"){var W=Math.min(l.display.wrapper.clientHeight,ie(l).innerHeight||k(l).documentElement.clientHeight),Z=Math.max(W-.5*ih(l.display),3);O=(y>0?d.bottom:d.top)+y*Z}else x=="line"&&(O=y>0?d.bottom+3:d.top-3);for(var te;te=pC(l,P,O),!!te.outside;){if(y<0?O<=0:O>=k.height){te.hitSide=!0;break}O+=y*5}return te}var an=function(l){this.cm=l,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new le,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};an.prototype.init=function(l){var d=this,y=this,x=y.cm,k=y.div=l.lineDiv;k.contentEditable=!0,WC(k,x.options.spellcheck,x.options.autocorrect,x.options.autocapitalize);function P(W){for(var Z=W.target;Z;Z=Z.parentNode){if(Z==k)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Z.className))break}return!1}Ze(k,"paste",function(W){!P(W)||we(x,W)||FT(W,x)||f<=11&&setTimeout(us(x,function(){return d.updateFromDOM()}),20)}),Ze(k,"compositionstart",function(W){d.composing={data:W.data,done:!1}}),Ze(k,"compositionupdate",function(W){d.composing||(d.composing={data:W.data,done:!1})}),Ze(k,"compositionend",function(W){d.composing&&(W.data!=d.composing.data&&d.readFromDOMSoon(),d.composing.done=!0)}),Ze(k,"touchstart",function(){return y.forceCompositionEnd()}),Ze(k,"input",function(){d.composing||d.readFromDOMSoon()});function O(W){if(!(!P(W)||we(x,W))){if(x.somethingSelected())wx({lineWise:!1,text:x.getSelections()}),W.type=="cut"&&x.replaceSelection("",null,"cut");else if(x.options.lineWiseCopyCut){var Z=BT(x);wx({lineWise:!0,text:Z.text}),W.type=="cut"&&x.operation(function(){x.setSelections(Z.ranges,0,Pe),x.replaceSelection("",null,"cut")})}else return;if(W.clipboardData){W.clipboardData.clearData();var te=ki.text.join("\n");if(W.clipboardData.setData("Text",te),W.clipboardData.getData("Text")==te){W.preventDefault();return}}var he=UT(),xe=he.firstChild;WC(xe),x.display.lineSpace.insertBefore(he,x.display.lineSpace.firstChild),xe.value=ki.text.join("\n");var De=Y(re(k));G(xe),setTimeout(function(){x.display.lineSpace.removeChild(he),De.focus(),De==k&&y.showPrimarySelection()},50)}}Ze(k,"copy",O),Ze(k,"cut",O)},an.prototype.screenReaderLabelChanged=function(l){l?this.div.setAttribute("aria-label",l):this.div.removeAttribute("aria-label")},an.prototype.prepareSelection=function(){var l=R8(this.cm,!1);return l.focus=Y(re(this.div))==this.div,l},an.prototype.showSelection=function(l,d){!l||!this.cm.display.view.length||((l.focus||d)&&this.showPrimarySelection(),this.showMultipleSelections(l))},an.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},an.prototype.showPrimarySelection=function(){var l=this.getSelection(),d=this.cm,y=d.doc.sel.primary(),x=y.from(),k=y.to();if(d.display.viewTo==d.display.viewFrom||x.line>=d.display.viewTo||k.line=d.display.viewFrom&&VT(d,x)||{node:W[0].measure.map[2],offset:0},te=k.linel.firstLine()&&(x=Ne(x.line-1,Je(l.doc,x.line-1).length)),k.ch==Je(l.doc,k.line).text.length&&k.lined.viewTo-1)return!1;var P,O,W;x.line==d.viewFrom||(P=vd(l,x.line))==0?(O=ne(d.view[0].line),W=d.view[0].node):(O=ne(d.view[P].line),W=d.view[P-1].node.nextSibling);var Z=vd(l,k.line),te,he;if(Z==d.view.length-1?(te=d.viewTo-1,he=d.lineDiv.lastChild):(te=ne(d.view[Z+1].line)-1,he=d.view[Z+1].node.previousSibling),!W)return!1;for(var xe=l.doc.splitLines(bG(l,W,he,O,te)),De=Wt(l.doc,Ne(O,0),Ne(te,Je(l.doc,te).text.length));xe.length>1&&De.length>1;)if(Ke(xe)==Ke(De))xe.pop(),De.pop(),te--;else if(xe[0]==De[0])xe.shift(),De.shift(),O++;else break;for(var Te=0,qe=0,tt=xe[0],dt=De[0],kt=Math.min(tt.length,dt.length);Tex.ch&&Pt.charCodeAt(Pt.length-qe-1)==Ct.charCodeAt(Ct.length-qe-1);)Te--,qe++;xe[xe.length-1]=Pt.slice(0,Pt.length-qe).replace(/^\u200b+/,""),xe[0]=xe[0].slice(Te).replace(/\u200b+$/,"");var Qt=Ne(O,Te),Yt=Ne(te,De.length?Ke(De).length-qe:0);if(xe.length>1||xe[0]||et(Qt,Yt))return mh(l.doc,xe,Qt,Yt,"+input"),!0},an.prototype.ensurePolled=function(){this.forceCompositionEnd()},an.prototype.reset=function(){this.forceCompositionEnd()},an.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},an.prototype.readFromDOMSoon=function(){var l=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(l.readDOMTimeout=null,l.composing)if(l.composing.done)l.composing=null;else return;l.updateFromDOM()},80))},an.prototype.updateFromDOM=function(){var l=this;(this.cm.isReadOnly()||!this.pollContent())&&qa(this.cm,function(){return ka(l.cm)})},an.prototype.setUneditable=function(l){l.contentEditable="false"},an.prototype.onKeyPress=function(l){l.charCode==0||this.composing||(l.preventDefault(),this.cm.isReadOnly()||us(this.cm,UC)(this.cm,String.fromCharCode(l.charCode==null?l.keyCode:l.charCode),0))},an.prototype.readOnlyChanged=function(l){this.div.contentEditable=String(l!="nocursor")},an.prototype.onContextMenu=function(){},an.prototype.resetPosition=function(){},an.prototype.needsContentAttribute=!0;function VT(l,d){var y=dC(l,d.line);if(!y||y.hidden)return null;var x=Je(l.doc,d.line),k=b8(y,x,d.line),P=Le(x,l.doc.direction),O="left";if(P){var W=pr(P,d.ch);O=W%2?"right":"left"}var Z=C8(k.map,d.ch,O);return Z.offset=Z.collapse=="right"?Z.end:Z.start,Z}function yG(l){for(var d=l;d;d=d.parentNode)if(/CodeMirror-gutter-wrapper/.test(d.className))return!0;return!1}function bh(l,d){return d&&(l.bad=!0),l}function bG(l,d,y,x,k){var P="",O=!1,W=l.doc.lineSeparator(),Z=!1;function te(Te){return function(qe){return qe.id==Te}}function he(){O&&(P+=W,Z&&(P+=W),O=Z=!1)}function xe(Te){Te&&(he(),P+=Te)}function De(Te){if(Te.nodeType==1){var qe=Te.getAttribute("cm-text");if(qe){xe(qe);return}var tt=Te.getAttribute("cm-marker"),dt;if(tt){var kt=l.findMarks(Ne(x,0),Ne(k+1,0),te(+tt));kt.length&&(dt=kt[0].find(0))&&xe(Wt(l.doc,dt.from,dt.to).join(W));return}if(Te.getAttribute("contenteditable")=="false")return;var Pt=/^(pre|div|p|li|table|br)$/i.test(Te.nodeName);if(!/^br$/i.test(Te.nodeName)&&Te.textContent.length==0)return;Pt&&he();for(var Ct=0;Ct=9&&d.hasSelection&&(d.hasSelection=null),y.poll()}),Ze(k,"paste",function(O){we(x,O)||FT(O,x)||(x.state.pasteIncoming=+new Date,y.fastPoll())});function P(O){if(!we(x,O)){if(x.somethingSelected())wx({lineWise:!1,text:x.getSelections()});else if(x.options.lineWiseCopyCut){var W=BT(x);wx({lineWise:!0,text:W.text}),O.type=="cut"?x.setSelections(W.ranges,null,Pe):(y.prevInput="",k.value=W.text.join("\n"),G(k))}else return;O.type=="cut"&&(x.state.cutIncoming=+new Date)}}Ze(k,"cut",P),Ze(k,"copy",P),Ze(l.scroller,"paste",function(O){if(!(Fl(l,O)||we(x,O))){if(!k.dispatchEvent){x.state.pasteIncoming=+new Date,y.focus();return}var W=new Event("paste");W.clipboardData=O.clipboardData,k.dispatchEvent(W)}}),Ze(l.lineSpace,"selectstart",function(O){Fl(l,O)||Ie(O)}),Ze(k,"compositionstart",function(){var O=x.getCursor("from");y.composing&&y.composing.range.clear(),y.composing={start:O,range:x.markText(O,x.getCursor("to"),{className:"CodeMirror-composing"})}}),Ze(k,"compositionend",function(){y.composing&&(y.poll(),y.composing.range.clear(),y.composing=null)})},Un.prototype.createField=function(l){this.wrapper=UT(),this.textarea=this.wrapper.firstChild;var d=this.cm.options;WC(this.textarea,d.spellcheck,d.autocorrect,d.autocapitalize)},Un.prototype.screenReaderLabelChanged=function(l){l?this.textarea.setAttribute("aria-label",l):this.textarea.removeAttribute("aria-label")},Un.prototype.prepareSelection=function(){var l=this.cm,d=l.display,y=l.doc,x=R8(l);if(l.options.moveInputWithCursor){var k=bi(l,y.sel.primary().head,"div"),P=d.wrapper.getBoundingClientRect(),O=d.lineDiv.getBoundingClientRect();x.teTop=Math.max(0,Math.min(d.wrapper.clientHeight-10,k.top+O.top-P.top)),x.teLeft=Math.max(0,Math.min(d.wrapper.clientWidth-10,k.left+O.left-P.left))}return x},Un.prototype.showSelection=function(l){var d=this.cm,y=d.display;q(y.cursorDiv,l.cursors),q(y.selectionDiv,l.selection),l.teTop!=null&&(this.wrapper.style.top=l.teTop+"px",this.wrapper.style.left=l.teLeft+"px")},Un.prototype.reset=function(l){if(!(this.contextMenuPending||this.composing&&l)){var d=this.cm;if(this.resetting=!0,d.somethingSelected()){this.prevInput="";var y=d.getSelection();this.textarea.value=y,d.state.focused&&G(this.textarea),u&&f>=9&&(this.hasSelection=y)}else l||(this.prevInput=this.textarea.value="",u&&f>=9&&(this.hasSelection=null));this.resetting=!1}},Un.prototype.getField=function(){return this.textarea},Un.prototype.supportsTouch=function(){return!1},Un.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!N||Y(re(this.textarea))!=this.textarea))try{this.textarea.focus()}catch(l){}},Un.prototype.blur=function(){this.textarea.blur()},Un.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Un.prototype.receivedFocus=function(){this.slowPoll()},Un.prototype.slowPoll=function(){var l=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){l.poll(),l.cm.state.focused&&l.slowPoll()})},Un.prototype.fastPoll=function(){var l=!1,d=this;d.pollingFast=!0;function y(){var x=d.poll();!x&&!l?(l=!0,d.polling.set(60,y)):(d.pollingFast=!1,d.slowPoll())}d.polling.set(20,y)},Un.prototype.poll=function(){var l=this,d=this.cm,y=this.textarea,x=this.prevInput;if(this.contextMenuPending||this.resetting||!d.state.focused||Gt(y)&&!x&&!this.composing||d.isReadOnly()||d.options.disableInput||d.state.keySeq)return!1;var k=y.value;if(k==x&&!d.somethingSelected())return!1;if(u&&f>=9&&this.hasSelection===k||T&&/[\uf700-\uf7ff]/.test(k))return d.display.input.reset(),!1;if(d.doc.sel==d.display.selForContextMenu){var P=k.charCodeAt(0);if(P==8203&&!x&&(x="​"),P==8666)return this.reset(),this.cm.execCommand("undo")}for(var O=0,W=Math.min(x.length,k.length);O1e3||k.indexOf("\n")>-1?y.value=l.prevInput="":l.prevInput=k,l.composing&&(l.composing.range.clear(),l.composing.range=d.markText(l.composing.start,d.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Un.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Un.prototype.onKeyPress=function(){u&&f>=9&&(this.hasSelection=null),this.fastPoll()},Un.prototype.onContextMenu=function(l){var d=this,y=d.cm,x=y.display,k=d.textarea;d.contextMenuPending&&d.contextMenuPending();var P=gd(y,l),O=x.scroller.scrollTop;if(!P||w)return;var W=y.options.resetSelectionOnContextMenu;W&&y.doc.sel.contains(P)==-1&&us(y,Vs)(y.doc,Fc(P),Pe);var Z=k.style.cssText,te=d.wrapper.style.cssText,he=d.wrapper.offsetParent.getBoundingClientRect();d.wrapper.style.cssText="position: static",k.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(l.clientY-he.top-5)+"px; left: "+(l.clientX-he.left-5)+"px;\n z-index: 1000; background: "+(u?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var xe;h&&(xe=k.ownerDocument.defaultView.scrollY),x.input.focus(),h&&k.ownerDocument.defaultView.scrollTo(null,xe),x.input.reset(),y.somethingSelected()||(k.value=d.prevInput=" "),d.contextMenuPending=Te,x.selForContextMenu=y.doc.sel,clearTimeout(x.detectingSelectAll);function De(){if(k.selectionStart!=null){var tt=y.somethingSelected(),dt="​"+(tt?k.value:"");k.value="⇚",k.value=dt,d.prevInput=tt?"":"​",k.selectionStart=1,k.selectionEnd=dt.length,x.selForContextMenu=y.doc.sel}}function Te(){if(d.contextMenuPending==Te&&(d.contextMenuPending=!1,d.wrapper.style.cssText=te,k.style.cssText=Z,u&&f<9&&x.scrollbars.setScrollTop(x.scroller.scrollTop=O),k.selectionStart!=null)){(!u||u&&f<9)&&De();var tt=0,dt=function(){x.selForContextMenu==y.doc.sel&&k.selectionStart==0&&k.selectionEnd>0&&d.prevInput=="​"?us(y,uT)(y):tt++<10?x.detectingSelectAll=setTimeout(dt,500):(x.selForContextMenu=null,x.input.reset())};x.detectingSelectAll=setTimeout(dt,200)}}if(u&&f>=9&&De(),z){mt(l);var qe=function(){Se(window,"mouseup",qe),setTimeout(Te,20)};Ze(window,"mouseup",qe)}else setTimeout(Te,50)},Un.prototype.readOnlyChanged=function(l){l||this.reset(),this.textarea.disabled=l=="nocursor",this.textarea.readOnly=!!l},Un.prototype.setUneditable=function(){},Un.prototype.needsContentAttribute=!1;function kG(l,d){if(d=d?ae(d):{},d.value=l.value,!d.tabindex&&l.tabIndex&&(d.tabindex=l.tabIndex),!d.placeholder&&l.placeholder&&(d.placeholder=l.placeholder),d.autofocus==null){var y=Y(re(l));d.autofocus=y==l||l.getAttribute("autofocus")!=null&&y==document.body}function x(){l.value=W.getValue()}var k;if(l.form&&(Ze(l.form,"submit",x),!d.leaveSubmitMethodAlone)){var P=l.form;k=P.submit;try{var O=P.submit=function(){x(),P.submit=k,P.submit(),P.submit=O}}catch(Z){}}d.finishInit=function(Z){Z.save=x,Z.getTextArea=function(){return l},Z.toTextArea=function(){Z.toTextArea=isNaN,x(),l.parentNode.removeChild(Z.getWrapperElement()),l.style.display="",l.form&&(Se(l.form,"submit",x),!d.leaveSubmitMethodAlone&&typeof l.form.submit=="function"&&(l.form.submit=k))}},l.style.display="none";var W=wn(function(Z){return l.parentNode.insertBefore(Z,l.nextSibling)},d);return W}function CG(l){l.off=Se,l.on=Ze,l.wheelEventPixels=PK,l.Doc=Ca,l.splitLines=qr,l.countColumn=fe,l.findColumn=Ve,l.isWordChar=_t,l.Pass=Ce,l.signal=je,l.Line=sh,l.changeEnd=Hc,l.scrollbarModel=F8,l.Pos=Ne,l.cmpPos=et,l.modes=Kr,l.mimeModes=ar,l.resolveMode=Qe,l.getMode=Xe,l.modeExtensions=st,l.extendMode=Ht,l.copyState=Dt,l.startState=Jt,l.innerMode=Ut,l.commands=E0,l.keyMap=Bl,l.keyName=ET,l.isModifierKey=ST,l.lookupKey=vh,l.normalizeKeyMap=QK,l.StringStream=yt,l.SharedTextMarker=C0,l.TextMarker=Uc,l.LineWidget=k0,l.e_preventDefault=Ie,l.e_stopPropagation=$e,l.e_stop=mt,l.addClass=B,l.contains=K,l.rmClass=V,l.keyNames=Wc}pG(wn),xG(wn);var SG="iter insert remove copy getEditor constructor".split(" ");for(var Cx in Ca.prototype)Ca.prototype.hasOwnProperty(Cx)&&ue(SG,Cx)<0&&(wn.prototype[Cx]=function(l){return function(){return l.apply(this.doc,arguments)}}(Ca.prototype[Cx]));return rt(Ca),wn.inputStyles={textarea:Un,contenteditable:an},wn.defineMode=function(l){!wn.defaults.mode&&l!="null"&&(wn.defaults.mode=l),ut.apply(this,arguments)},wn.defineMIME=ge,wn.defineMode("null",function(){return{token:function(l){return l.skipToEnd()}}}),wn.defineMIME("text/plain","null"),wn.defineExtension=function(l,d){wn.prototype[l]=d},wn.defineDocExtension=function(l,d){Ca.prototype[l]=d},wn.fromTextArea=kG,CG(wn),wn.version="5.65.16",wn})})($U);var Rc=$U.exports;const Yg=rl(Rc),o2e=({prefix:e="cm-",isWrapped:t=!1,isDark:r,isLargeView:n,isCommand:a,webRequestMethod:o,autoHideScrollbar:i,searchTerm:c,maxHeight:u,isShowMore:f=!1,language:h,value:m})=>{const[v,S]=p.useState([]),[w,g]=p.useState(!1);At();const b=We("html"),C=p.useRef([]),j=We("");return p.useEffect(()=>{h==="markdown"&&window.markdown.ready.then(E=>{try{const N=E.parse(m);j.value=Of.sanitize(N,{USE_PROFILES:{html:!0}})}catch(N){j.value=Of.sanitize(m,{USE_PROFILES:{html:!0}})}})},[m]),p.useEffect(()=>{pe(void 0,null,function*(){const N=Yg.findModeByName(h);try{N&&N.mode&&(N.mode==="dart"&&(yield ve(()=>import("./clike-CxakbZz2.js").then(T=>T.c),[])),yield i2e("codemirror/mode/".concat(N.mode,"/").concat(N.mode))),g(!0)}catch(T){console.error("Error loading CodeMirror mode:",T),g(!1)}})},[h]),p.useEffect(()=>{if(!w)return;const E=[];let N=0;const T=A=>{var H;let M="",D=null;const L=(V,I)=>{E.push(s.jsx("span",{className:I?"".concat(e).concat(I):"",children:V},N++))},z=((H=Yg.findModeByName(h))==null?void 0:H.mime)||"text/plain";if(h==="json")try{A=JSON.stringify(JSON.parse(A),null,2)}catch(V){}Yg.runMode(A,z,(V,I)=>{D===I?(M+=V,D=I):(M&&L(M,D),M=V,D=I)}),L(M,D)};if(c&&c.length>1){const A=iz(c),M=new RegExp("(".concat(A,")"),"gi"),D=m.split(M);C.current=[],D.forEach(L=>{if(L.toLowerCase()===c.toLowerCase()){const z=p.createRef();C.current.push(z),E.push(s.jsx("span",{className:"bg-yellow-300 dark:bg-amber-400 dark:text-black search-pulse-animation",ref:Ji(z),children:L},"found-".concat(N++)))}else T(L)})}else T(m);S(E)},[w,h,e,c,m]),p.useEffect(()=>{var E;C.current.length>0&&((E=C.current[0].current)==null||E.scrollIntoView({behavior:"smooth",block:"center"}))},[v]),w?s.jsxs(Q,{className:"relative",children:[s.jsx(Lf,{className:"".concat(f?"code-scroll-x pb-2":""),options:{overflow:{x:f?"scroll":"hidden",y:"scroll"},scrollbars:{theme:r?"os-theme-light":"os-theme-dark",autoHide:i?"move":"never"}},style:{maxHeight:u||(n?"calc(100vh - 250px)":f?200:120),maxWidth:"100%"},children:!j.value||b.value==="markdown"?s.jsxs("code",{className:"".concat(t?"whitespace-pre-wrap":"whitespace-pre"," !bg-transparent ").concat(r?"code-is-dark":"code-is-light"),children:[a&&s.jsx("span",{className:"mr-1 px-1 bg-gray-100 dark:bg-gray-800 text-slate-400 dark:text-slate-200",children:">_"}),o&&s.jsx("span",{className:"mr-1 px-1 bg-gray-100 text-slate-400",children:o}),v,!f&&s.jsx("span",{className:"select-none",children:"..."})]}):s.jsx("div",{dangerouslySetInnerHTML:{__html:j.value},className:"note-content"})}),j.value&&s.jsx(Qi,{className:"flex flex-row absolute top-0 right-0 z-100 select-none",value:b.value,onValueChange:E=>{b.value=E==="markdown"?"markdown":"html"},children:s.jsxs(Fo,{className:"self-center px-1 py-1 bg-slate-200 dark:bg-slate-900 opacity-60 hover:opacity-100 animate-in fade-in",children:[s.jsx(bn,{value:"html",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:"HTML"}),s.jsx(bn,{value:"markdown",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:"Markdown"})]})})]}):null},va=p.memo(o2e);function i2e(e){switch(e){case"codemirror/mode/apl/apl":case"codemirror/mode/apl/apl.js":return ve(()=>import("./apl-CFnSufPM.js").then(t=>t.a),[]);case"codemirror/mode/asciiarmor/asciiarmor":case"codemirror/mode/asciiarmor/asciiarmor.js":return ve(()=>import("./asciiarmor-BYTtikW4.js").then(t=>t.a),[]);case"codemirror/mode/asn.1/asn.1":case"codemirror/mode/asn.1/asn.1.js":return ve(()=>import("./asn.1-CwSg7ZbB.js").then(t=>t.a),[]);case"codemirror/mode/asterisk/asterisk":case"codemirror/mode/asterisk/asterisk.js":return ve(()=>import("./asterisk-BvCaE143.js").then(t=>t.a),[]);case"codemirror/mode/brainfuck/brainfuck":case"codemirror/mode/brainfuck/brainfuck.js":return ve(()=>import("./brainfuck-DPFAy9w-.js").then(t=>t.b),[]);case"codemirror/mode/clike/clike":case"codemirror/mode/clike/clike.js":return ve(()=>import("./clike-CxakbZz2.js").then(t=>t.c),[]);case"codemirror/mode/clojure/clojure":case"codemirror/mode/clojure/clojure.js":return ve(()=>import("./clojure-DPMkRcmr.js").then(t=>t.c),[]);case"codemirror/mode/cmake/cmake":case"codemirror/mode/cmake/cmake.js":return ve(()=>import("./cmake-DlX16bTH.js").then(t=>t.c),[]);case"codemirror/mode/cobol/cobol":case"codemirror/mode/cobol/cobol.js":return ve(()=>import("./cobol-BxLtmPIM.js").then(t=>t.c),[]);case"codemirror/mode/coffeescript/coffeescript":case"codemirror/mode/coffeescript/coffeescript.js":return ve(()=>import("./coffeescript-C2IqjQP0.js").then(t=>t.c),[]);case"codemirror/mode/commonlisp/commonlisp":case"codemirror/mode/commonlisp/commonlisp.js":return ve(()=>import("./commonlisp-BcUNd6H0.js").then(t=>t.c),[]);case"codemirror/mode/crystal/crystal":case"codemirror/mode/crystal/crystal.js":return ve(()=>import("./crystal-CBG_-D6z.js").then(t=>t.c),[]);case"codemirror/mode/css/css":case"codemirror/mode/css/css.js":return ve(()=>import("./css-BRan0Fyo.js").then(t=>t.c),[]);case"codemirror/mode/cypher/cypher":case"codemirror/mode/cypher/cypher.js":return ve(()=>import("./cypher-DbweyIpv.js").then(t=>t.c),[]);case"codemirror/mode/d/d":case"codemirror/mode/d/d.js":return ve(()=>import("./d-BEfz468J.js").then(t=>t.d),[]);case"codemirror/mode/dart/dart":case"codemirror/mode/dart/dart.js":return ve(()=>import("./dart-CygQt6PY.js").then(t=>t.d),__vite__mapDeps([0,1]));case"codemirror/mode/diff/diff":case"codemirror/mode/diff/diff.js":return ve(()=>import("./diff-DaAejCLY.js").then(t=>t.d),[]);case"codemirror/mode/django/django":case"codemirror/mode/django/django.js":return ve(()=>import("./django-Sjro81jv.js").then(t=>t.d),__vite__mapDeps([2,3,4,5]));case"codemirror/mode/dockerfile/dockerfile":case"codemirror/mode/dockerfile/dockerfile.js":return ve(()=>import("./dockerfile-DPmpInxY.js").then(t=>t.d),[]);case"codemirror/mode/dtd/dtd":case"codemirror/mode/dtd/dtd.js":return ve(()=>import("./dtd-ow_clEEc.js").then(t=>t.d),[]);case"codemirror/mode/dylan/dylan":case"codemirror/mode/dylan/dylan.js":return ve(()=>import("./dylan-BVfhrTWK.js").then(t=>t.d),[]);case"codemirror/mode/ebnf/ebnf":case"codemirror/mode/ebnf/ebnf.js":return ve(()=>import("./ebnf-B9M224A_.js").then(t=>t.e),[]);case"codemirror/mode/ecl/ecl":case"codemirror/mode/ecl/ecl.js":return ve(()=>import("./ecl-B5meh9gw.js").then(t=>t.e),[]);case"codemirror/mode/eiffel/eiffel":case"codemirror/mode/eiffel/eiffel.js":return ve(()=>import("./eiffel-DD7t-ryp.js").then(t=>t.e),[]);case"codemirror/mode/elm/elm":case"codemirror/mode/elm/elm.js":return ve(()=>import("./elm-BHV4d9RV.js").then(t=>t.e),[]);case"codemirror/mode/erlang/erlang":case"codemirror/mode/erlang/erlang.js":return ve(()=>import("./erlang-DdL5ZVK2.js").then(t=>t.e),[]);case"codemirror/mode/factor/factor":case"codemirror/mode/factor/factor.js":return ve(()=>import("./factor-DWStm-pK.js").then(t=>t.f),[]);case"codemirror/mode/fcl/fcl":case"codemirror/mode/fcl/fcl.js":return ve(()=>import("./fcl-CZ8p5lKk.js").then(t=>t.f),[]);case"codemirror/mode/forth/forth":case"codemirror/mode/forth/forth.js":return ve(()=>import("./forth-CnszaCOu.js").then(t=>t.f),[]);case"codemirror/mode/fortran/fortran":case"codemirror/mode/fortran/fortran.js":return ve(()=>import("./fortran-DLzQJYhh.js").then(t=>t.f),[]);case"codemirror/mode/gas/gas":case"codemirror/mode/gas/gas.js":return ve(()=>import("./gas-BJvADs7P.js").then(t=>t.g),[]);case"codemirror/mode/gfm/gfm":case"codemirror/mode/gfm/gfm.js":return ve(()=>import("./gfm-Ddm0InR0.js").then(t=>t.g),__vite__mapDeps([6,7,5]));case"codemirror/mode/gherkin/gherkin":case"codemirror/mode/gherkin/gherkin.js":return ve(()=>import("./gherkin-PRnSAK5P.js").then(t=>t.g),[]);case"codemirror/mode/go/go":case"codemirror/mode/go/go.js":return ve(()=>import("./go-BgTqU-sj.js").then(t=>t.g),[]);case"codemirror/mode/groovy/groovy":case"codemirror/mode/groovy/groovy.js":return ve(()=>import("./groovy-ChovKpKQ.js").then(t=>t.g),[]);case"codemirror/mode/haml/haml":case"codemirror/mode/haml/haml.js":return ve(()=>import("./haml-8gzcTXOb.js").then(t=>t.h),__vite__mapDeps([8,3,4,9]));case"codemirror/mode/handlebars/handlebars":case"codemirror/mode/handlebars/handlebars.js":return ve(()=>import("./handlebars-Ck0LrJI6.js").then(t=>t.h),__vite__mapDeps([10,11]));case"codemirror/mode/haskell/haskell":case"codemirror/mode/haskell/haskell.js":return ve(()=>import("./haskell-BasAunqf.js").then(t=>t.h),[]);case"codemirror/mode/haskell-literate/haskell-literate":case"codemirror/mode/haskell-literate/haskell-literate.js":return ve(()=>import("./haskell-literate-D2j-XC2X.js").then(t=>t.h),__vite__mapDeps([12,13]));case"codemirror/mode/haxe/haxe":case"codemirror/mode/haxe/haxe.js":return ve(()=>import("./haxe-CYaZzleH.js").then(t=>t.h),[]);case"codemirror/mode/htmlembedded/htmlembedded":case"codemirror/mode/htmlembedded/htmlembedded.js":return ve(()=>import("./htmlembedded-BMIfsus1.js").then(t=>t.h),__vite__mapDeps([14,3,4,11]));case"codemirror/mode/htmlmixed/htmlmixed":case"codemirror/mode/htmlmixed/htmlmixed.js":return ve(()=>import("./htmlmixed-FAPcF2ck.js").then(t=>t.h),__vite__mapDeps([15,3,4]));case"codemirror/mode/http/http":case"codemirror/mode/http/http.js":return ve(()=>import("./http-CCHm4SZB.js").then(t=>t.h),[]);case"codemirror/mode/idl/idl":case"codemirror/mode/idl/idl.js":return ve(()=>import("./idl-cghddQ8I.js").then(t=>t.i),[]);case"codemirror/mode/javascript/javascript":case"codemirror/mode/javascript/javascript.js":return ve(()=>Promise.resolve().then(()=>VU),void 0);case"codemirror/mode/jinja2/jinja2":case"codemirror/mode/jinja2/jinja2.js":return ve(()=>import("./jinja2-BSjnTsxm.js").then(t=>t.j),[]);case"codemirror/mode/jsx/jsx":case"codemirror/mode/jsx/jsx.js":return ve(()=>import("./jsx-DQifwWUh.js").then(t=>t.j),[]);case"codemirror/mode/julia/julia":case"codemirror/mode/julia/julia.js":return ve(()=>import("./julia-BRve5DA5.js").then(t=>t.j),[]);case"codemirror/mode/livescript/livescript":case"codemirror/mode/livescript/livescript.js":return ve(()=>import("./livescript-CL9_nJ9e.js").then(t=>t.l),[]);case"codemirror/mode/lua/lua":case"codemirror/mode/lua/lua.js":return ve(()=>import("./lua-BzUiAMmr.js").then(t=>t.l),[]);case"codemirror/mode/markdown/markdown":case"codemirror/mode/markdown/markdown.js":return ve(()=>import("./markdown-r8Vp79di.js").then(t=>t.m),__vite__mapDeps([16,7]));case"codemirror/mode/mathematica/mathematica":case"codemirror/mode/mathematica/mathematica.js":return ve(()=>import("./mathematica-BcMa8Ojx.js").then(t=>t.m),[]);case"codemirror/mode/mbox/mbox":case"codemirror/mode/mbox/mbox.js":return ve(()=>import("./mbox-m-w8VBWy.js").then(t=>t.m),[]);case"codemirror/mode/mirc/mirc":case"codemirror/mode/mirc/mirc.js":return ve(()=>import("./mirc-STLY9E9l.js").then(t=>t.m),[]);case"codemirror/mode/mllike/mllike":case"codemirror/mode/mllike/mllike.js":return ve(()=>import("./mllike-BK2kX3Qp.js").then(t=>t.m),[]);case"codemirror/mode/modelica/modelica":case"codemirror/mode/modelica/modelica.js":return ve(()=>import("./modelica-BlzOS1NH.js").then(t=>t.m),[]);case"codemirror/mode/mscgen/mscgen":case"codemirror/mode/mscgen/mscgen.js":return ve(()=>import("./mscgen-atG-JH_r.js").then(t=>t.m),[]);case"codemirror/mode/mumps/mumps":case"codemirror/mode/mumps/mumps.js":return ve(()=>import("./mumps-BoBiyKOY.js").then(t=>t.m),[]);case"codemirror/mode/nginx/nginx":case"codemirror/mode/nginx/nginx.js":return ve(()=>import("./nginx-CHuGwoMz.js").then(t=>t.n),[]);case"codemirror/mode/nsis/nsis":case"codemirror/mode/nsis/nsis.js":return ve(()=>import("./nsis-Bt35wsp7.js").then(t=>t.n),[]);case"codemirror/mode/ntriples/ntriples":case"codemirror/mode/ntriples/ntriples.js":return ve(()=>import("./ntriples-ChaDainD.js").then(t=>t.n),[]);case"codemirror/mode/octave/octave":case"codemirror/mode/octave/octave.js":return ve(()=>import("./octave-DPXCS8Kb.js").then(t=>t.o),[]);case"codemirror/mode/oz/oz":case"codemirror/mode/oz/oz.js":return ve(()=>import("./oz-Cl6qKkEa.js").then(t=>t.o),[]);case"codemirror/mode/pascal/pascal":case"codemirror/mode/pascal/pascal.js":return ve(()=>import("./pascal-DhSSDiye.js").then(t=>t.p),[]);case"codemirror/mode/pegjs/pegjs":case"codemirror/mode/pegjs/pegjs.js":return ve(()=>import("./pegjs-BvjNbJA5.js").then(t=>t.p),[]);case"codemirror/mode/perl/perl":case"codemirror/mode/perl/perl.js":return ve(()=>import("./perl-B0ED-xn1.js").then(t=>t.p),[]);case"codemirror/mode/php/php":case"codemirror/mode/php/php.js":return ve(()=>import("./php-BuXWdjzD.js").then(t=>t.p),__vite__mapDeps([17,3,4,1]));case"codemirror/mode/pig/pig":case"codemirror/mode/pig/pig.js":return ve(()=>import("./pig-CvaEejhu.js").then(t=>t.p),[]);case"codemirror/mode/powershell/powershell":case"codemirror/mode/powershell/powershell.js":return ve(()=>import("./powershell-acHGiTeg.js").then(t=>t.p),[]);case"codemirror/mode/properties/properties":case"codemirror/mode/properties/properties.js":return ve(()=>import("./properties-jDBzPH9A.js").then(t=>t.p),[]);case"codemirror/mode/protobuf/protobuf":case"codemirror/mode/protobuf/protobuf.js":return ve(()=>import("./protobuf-XvNgHDTF.js").then(t=>t.p),[]);case"codemirror/mode/pug/pug":case"codemirror/mode/pug/pug.js":return ve(()=>import("./pug-Dgyq9bOv.js").then(t=>t.p),__vite__mapDeps([18,4,3]));case"codemirror/mode/puppet/puppet":case"codemirror/mode/puppet/puppet.js":return ve(()=>import("./puppet-BkjhXnvg.js").then(t=>t.p),[]);case"codemirror/mode/python/python":case"codemirror/mode/python/python.js":return ve(()=>import("./python-Cf2AlM8k.js").then(t=>t.p),[]);case"codemirror/mode/q/q":case"codemirror/mode/q/q.js":return ve(()=>import("./q-Cok_Osdz.js").then(t=>t.q),[]);case"codemirror/mode/r/r":case"codemirror/mode/r/r.js":return ve(()=>import("./r-CPKw1dhQ.js").then(t=>t.r),[]);case"codemirror/mode/rpm/rpm":case"codemirror/mode/rpm/rpm.js":return ve(()=>import("./rpm-zJSJM4fK.js").then(t=>t.r),[]);case"codemirror/mode/rst/rst":case"codemirror/mode/rst/rst.js":return ve(()=>import("./rst-CSASGjbh.js").then(t=>t.r),__vite__mapDeps([19,20,21,5]));case"codemirror/mode/ruby/ruby":case"codemirror/mode/ruby/ruby.js":return ve(()=>import("./ruby-DOADIAjO.js").then(t=>t.r),__vite__mapDeps([22,9]));case"codemirror/mode/rust/rust":case"codemirror/mode/rust/rust.js":return ve(()=>import("./rust-BIVTf5lY.js").then(t=>t.r),[]);case"codemirror/mode/sas/sas":case"codemirror/mode/sas/sas.js":return ve(()=>import("./sas-BLggbYP3.js").then(t=>t.s),[]);case"codemirror/mode/sass/sass":case"codemirror/mode/sass/sass.js":return ve(()=>import("./sass-CdxXAHUG.js").then(t=>t.s),__vite__mapDeps([23,4]));case"codemirror/mode/scheme/scheme":case"codemirror/mode/scheme/scheme.js":return ve(()=>import("./scheme-BeWCqjz7.js").then(t=>t.s),[]);case"codemirror/mode/shell/shell":case"codemirror/mode/shell/shell.js":return ve(()=>import("./shell-BxNuXlu8.js").then(t=>t.s),[]);case"codemirror/mode/sieve/sieve":case"codemirror/mode/sieve/sieve.js":return ve(()=>import("./sieve-D82FZznt.js").then(t=>t.s),[]);case"codemirror/mode/slim/slim":case"codemirror/mode/slim/slim.js":return ve(()=>import("./slim-BqVX91-1.js").then(t=>t.s),__vite__mapDeps([24,3,4,9]));case"codemirror/mode/smalltalk/smalltalk":case"codemirror/mode/smalltalk/smalltalk.js":return ve(()=>import("./smalltalk-LPWGh6Yj.js").then(t=>t.s),[]);case"codemirror/mode/smarty/smarty":case"codemirror/mode/smarty/smarty.js":return ve(()=>import("./smarty-BUg_5f1d.js").then(t=>t.s),[]);case"codemirror/mode/solr/solr":case"codemirror/mode/solr/solr.js":return ve(()=>import("./solr-CE0drWik.js").then(t=>t.s),[]);case"codemirror/mode/soy/soy":case"codemirror/mode/soy/soy.js":return ve(()=>import("./soy-CNXjHktW.js").then(t=>t.s),__vite__mapDeps([25,3,4]));case"codemirror/mode/sparql/sparql":case"codemirror/mode/sparql/sparql.js":return ve(()=>import("./sparql-DoxWDWvp.js").then(t=>t.s),[]);case"codemirror/mode/spreadsheet/spreadsheet":case"codemirror/mode/spreadsheet/spreadsheet.js":return ve(()=>import("./spreadsheet-C9OfUIjx.js").then(t=>t.s),[]);case"codemirror/mode/sql/sql":case"codemirror/mode/sql/sql.js":return ve(()=>import("./sql-CF8DHgiV.js").then(t=>t.s),[]);case"codemirror/mode/stex/stex":case"codemirror/mode/stex/stex.js":return ve(()=>import("./stex-CRCDnD34.js").then(t=>t.s),__vite__mapDeps([26,21]));case"codemirror/mode/stylus/stylus":case"codemirror/mode/stylus/stylus.js":return ve(()=>import("./stylus-EQlihBPE.js").then(t=>t.s),[]);case"codemirror/mode/swift/swift":case"codemirror/mode/swift/swift.js":return ve(()=>import("./swift-KDWuN4JR.js").then(t=>t.s),[]);case"codemirror/mode/tcl/tcl":case"codemirror/mode/tcl/tcl.js":return ve(()=>import("./tcl-C6K8F_7a.js").then(t=>t.t),[]);case"codemirror/mode/textile/textile":case"codemirror/mode/textile/textile.js":return ve(()=>import("./textile-CvFFb2MS.js").then(t=>t.t),[]);case"codemirror/mode/tiddlywiki/tiddlywiki":case"codemirror/mode/tiddlywiki/tiddlywiki.js":return ve(()=>import("./tiddlywiki-bZHS1vOH.js").then(t=>t.t),[]);case"codemirror/mode/tiki/tiki":case"codemirror/mode/tiki/tiki.js":return ve(()=>import("./tiki-BArUJ1zQ.js").then(t=>t.t),[]);case"codemirror/mode/toml/toml":case"codemirror/mode/toml/toml.js":return ve(()=>import("./toml-BcMH0Wpl.js").then(t=>t.t),[]);case"codemirror/mode/tornado/tornado":case"codemirror/mode/tornado/tornado.js":return ve(()=>import("./tornado-C3mIc45X.js").then(t=>t.t),__vite__mapDeps([27,3,4,5]));case"codemirror/mode/troff/troff":case"codemirror/mode/troff/troff.js":return ve(()=>import("./troff-QvDYW0ZK.js").then(t=>t.t),[]);case"codemirror/mode/ttcn/ttcn":case"codemirror/mode/ttcn/ttcn.js":return ve(()=>import("./ttcn-iSqPoqyc.js").then(t=>t.t),[]);case"codemirror/mode/ttcn-cfg/ttcn-cfg":case"codemirror/mode/ttcn-cfg/ttcn-cfg.js":return ve(()=>import("./ttcn-cfg-CgDB9Irj.js").then(t=>t.t),[]);case"codemirror/mode/turtle/turtle":case"codemirror/mode/turtle/turtle.js":return ve(()=>import("./turtle-BteuhOhi.js").then(t=>t.t),[]);case"codemirror/mode/twig/twig":case"codemirror/mode/twig/twig.js":return ve(()=>import("./twig-DD5wY6wD.js").then(t=>t.t),__vite__mapDeps([28,11]));case"codemirror/mode/vb/vb":case"codemirror/mode/vb/vb.js":return ve(()=>import("./vb-DqVZHOnT.js").then(t=>t.v),[]);case"codemirror/mode/vbscript/vbscript":case"codemirror/mode/vbscript/vbscript.js":return ve(()=>import("./vbscript-CZOEw8pR.js").then(t=>t.v),[]);case"codemirror/mode/velocity/velocity":case"codemirror/mode/velocity/velocity.js":return ve(()=>import("./velocity-r50P9Awt.js").then(t=>t.v),[]);case"codemirror/mode/verilog/verilog":case"codemirror/mode/verilog/verilog.js":return ve(()=>import("./verilog-D0c_OfTR.js").then(t=>t.v),[]);case"codemirror/mode/vhdl/vhdl":case"codemirror/mode/vhdl/vhdl.js":return ve(()=>import("./vhdl-DJ-CJGdz.js").then(t=>t.v),[]);case"codemirror/mode/vue/vue":case"codemirror/mode/vue/vue.js":return ve(()=>import("./vue-CqyKA5GI.js").then(t=>t.v),__vite__mapDeps([29,5,30,4,23,31,18,3,10,11]));case"codemirror/mode/wast/wast":case"codemirror/mode/wast/wast.js":return ve(()=>import("./wast-BkbSvJWA.js").then(t=>t.w),[]);case"codemirror/mode/webidl/webidl":case"codemirror/mode/webidl/webidl.js":return ve(()=>import("./webidl-D20HUTz0.js").then(t=>t.w),[]);case"codemirror/mode/xml/xml":case"codemirror/mode/xml/xml.js":return ve(()=>Promise.resolve().then(()=>KU),void 0);case"codemirror/mode/xquery/xquery":case"codemirror/mode/xquery/xquery.js":return ve(()=>import("./xquery-C5OqrpyG.js").then(t=>t.x),[]);case"codemirror/mode/yacas/yacas":case"codemirror/mode/yacas/yacas.js":return ve(()=>import("./yacas-CzlNFYag.js").then(t=>t.y),[]);case"codemirror/mode/yaml/yaml":case"codemirror/mode/yaml/yaml.js":return ve(()=>import("./yaml-CexR13EN.js").then(t=>t.y),[]);case"codemirror/mode/yaml-frontmatter/yaml-frontmatter":case"codemirror/mode/yaml-frontmatter/yaml-frontmatter.js":return ve(()=>import("./yaml-frontmatter-Peb_Fe4e.js").then(t=>t.y),__vite__mapDeps([32,33]));case"codemirror/mode/z80/z80":case"codemirror/mode/z80/z80.js":return ve(()=>import("./z80-vytHFnAH.js").then(t=>t.z),[]);default:return new Promise(function(t,r){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}const ob=e=>{if(e){const t=e.replace(/\D/g,"").match(/(\d{0,4})(\d{0,4})(\d{0,4})(\d{0,4})/);return t&&t.length>1?t[2]?"".concat(t[1]," ").concat(t[2]).concat("".concat(t[3]?" ".concat(t[3]):"")).concat("".concat(t[4]?" ".concat(t[4]):"")):t[1]:e}},BD=e=>{var t;return e&&((t=ob(e))!=null?t:"").replace(/\d(?=(?:\D*\d){4})/g,"•")},z1=p.forwardRef((E,j)=>{var N=E,{small:e,placeholder:t,label:r,name:n="",autoFocus:a=!1,required:o,ccNumber:i,readOnly:c,onInputBlur:u,showHideCCNumber:f=!1,tooltipContent:h,tooltip:m,prefix:v,error:S,props:w,className:g,classNameInput:b}=N,C=ke(N,["small","placeholder","label","name","autoFocus","required","ccNumber","readOnly","onInputBlur","showHideCCNumber","tooltipContent","tooltip","prefix","error","props","className","classNameInput"]);const T=p.useRef(null),[A,M]=p.useState(!1),[D,L]=p.useState(i);p.useImperativeHandle(j,()=>T.current);const z=()=>{var I;if(!T.current||!T.current.value)return;const H=(I=ob(T.current.value))!=null?I:"",V=H.replace(/(\D)/g,"");T.current.value!==H&&(T.current.value=H),L(V)};return p.useEffect(()=>{var H;if(T.current&&A){const V=(H=ob(D))!=null?H:"";T.current.value=V}},[D]),p.useEffect(()=>{var H,V;A&&T.current&&D&&(T.current.value=(H=ob(D))!=null?H:""),!A&&T.current&&(T.current.value=(V=BD(D))!=null?V:"")},[A]),p.useEffect(()=>{T.current&&a&&setTimeout(()=>{var H;(H=T.current)==null||H.focus()},200)},[a]),s.jsxs("div",ee(R({className:hr("w-full",g)},w),{children:[r&&s.jsx(a_,{label:r,required:o,tooltipContent:h,tooltip:m,className:"mb-0.5 text-slate-400 font-light text-xs ml-1 uppercase"}),s.jsxs("div",{className:"relative",children:[v?s.jsx("span",{className:"text-grey-40 mr-2xsmall",children:v}):null,s.jsx("input",R({className:hr("bg-grey-5 border-gray-20 px-small py-xsmall rounded rounded-rounded flex w-full items-center border","focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500","remove-number-spinner px-3 leading-base text-grey-90 caret-violet-60 placeholder-grey-40 w-full bg-transparent font-normal outline-none outline-0",{"focus:ring-red-500 focus:border-red-500 border-red-400 dark:focus:ring-red-500 dark:focus:border-red-500 dark:border-red-400":S},e?"h-8":"h-10",{"!pr-8":f},{"text-small":e,"pt-[1px]":e},b),ref:T,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",type:"text",name:n,defaultValue:BD(i),placeholder:t||"".concat(r,"...")||"",onChange:z,onFocus:()=>{c||M(!0)},onBlur:()=>{u&&D&&u(D.trim().replaceAll(" ",""))}},C)),s.jsx("button",{className:"mx-2xsmall text-grey-40 absolute right-2.5 top-0 bottom-0 flex items-center justify-center",onClick:()=>{M(H=>!H)},children:A?s.jsx("svg",{viewBox:"0 0 15 15",fill:"none",width:15,height:15,children:s.jsx("path",{d:"M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L10.6828 3.61012C9.70652 3.21671 8.63759 3 7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C0.902945 9.08812 2.02314 10.1861 3.36061 10.9323L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L4.31723 11.3899C5.29348 11.7833 6.36241 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C14.0971 5.9119 12.9769 4.81391 11.6394 4.06771L13.3536 2.35355ZM9.90428 4.38861C9.15332 4.1361 8.34759 4 7.5 4C4.80285 4 2.52952 5.37816 1.09622 7.50001C1.87284 8.6497 2.89609 9.58106 4.09974 10.1931L9.90428 4.38861ZM5.09572 10.6114L10.9003 4.80685C12.1039 5.41894 13.1272 6.35031 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11C6.65241 11 5.84668 10.8639 5.09572 10.6114Z",fill:"currentColor",fillRule:"evenodd"})}):s.jsx("svg",{viewBox:"0 0 15 15",fill:"none",width:15,height:15,children:s.jsx("path",{d:"M7.5 11C4.80285 11 2.52952 9.62184 1.09622 7.50001C2.52952 5.37816 4.80285 4 7.5 4C10.1971 4 12.4705 5.37816 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11ZM7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C1.65639 10.2936 4.30786 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C13.3436 4.70638 10.6921 3 7.5 3ZM7.5 9.5C8.60457 9.5 9.5 8.60457 9.5 7.5C9.5 6.39543 8.60457 5.5 7.5 5.5C6.39543 5.5 5.5 6.39543 5.5 7.5C5.5 8.60457 6.39543 9.5 7.5 9.5Z",fill:"currentColor",fillRule:"evenodd"})})})]}),S&&s.jsx("div",{className:hr("text-sm animate fade-in text-red-400",g),children:s.jsx("p",{children:S})})]}))});z1.displayName="InputCreditCardField";const eg=({id:e,isCopiedOrPasted:t,pastedItemCountDown:r,isCopied:n,pastedText:a,copyOrPasteFieldId:o})=>{const{t:i}=At();if(o.value!==e||!t)return null;let c;return r?r>0&&(c=i("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:r})):c=s.jsxs("span",{className:"flex items-center justify-center text-[10px] uppercase font-semibold text-white pr-1.5 py-0",children:[s.jsx($t,{size:14,className:"mr-1"}),n?i("Copied",{ns:"common"}):a?i("Pasted",{ns:"common"}):""]}),s.jsx(Q,{className:"w-full h-full border border-green-700 bg-green-100/80 dark:bg-green-800 absolute right-0 top-0 flex items-center justify-center pointer-events-none px-2 !rounded-md z-100 animate-in fade-in transition-opacity",children:s.jsx(lt,{className:"".concat(r?"ml-1 bg-green-700 dark:bg-green-800 dark:text-white !px-2":"bg-green-700 dark:bg-green-800 dark:text-white"," fade-in-animation py-[2px] whitespace-nowrap"),children:c})})},UD={Tab:"Tab",Enter:"Enter",TabTab:"2 Tabs",TabTabTab:"3 Tabs",TabEnter:"Tab, Enter",TabTabEnter:"2Tabs, Enter"};function zU({clipId:e,formTemplateOptions:t}){var S,w;const{t:r}=At(),[n,a]=c_({}),[o,i,c]=u_({}),{updateItemById:u}=sl(),f=We(!1),h=We(null),m=We({templateOptions:[],formOptions:{openUrl:null,fields:[]}});p.useEffect(()=>{if(t)try{m.value=JSON.parse(t)}catch(g){console.error(g)}},[t]),p.useEffect(()=>{f.value&&setTimeout(()=>{f.value=!1},1e3)},[f.value]);const v=!!(n||o);return s.jsxs(s.Fragment,{children:[s.jsxs(Q,{className:"select-none mb-2",children:[m.value.formOptions.openUrl!=null&&s.jsxs(me,{className:"text-normal w-full gap-2 py-0.5 mb-1 ".concat(m.value.formOptions.isOpenUrlDisabled?"bg-gray-100 dark:bg-gray-900 opacity-70":""),children:[m.value.formOptions.isOpenUrlDisabled?s.jsx(s.Fragment,{children:s.jsxs(J,{className:"!font-semibold pointer-events-none text-slate-500 dark:text-slate-200 border dark:bg-slate-700/80 group hover:text-blue-500 flex items-center bg-gray-200 !text-xs px-2 py-1 rounded-md line-through gap-1",children:[r("Open",{ns:"common"}),s.jsx("span",{className:"overflow-hidden text-ellipsis p-1",children:_n(m.value.formOptions.openUrl)})]})}):s.jsx(s.Fragment,{children:s.jsxs(J,{className:"!font-semibold text-slate-500 dark:text-slate-200 border dark:bg-slate-700/80 group hover:text-blue-700 dark:hover:text-blue-400 flex items-center bg-gray-200 !text-xs px-2 py-1 rounded-md gap-1",children:[s.jsx("span",{className:"pointer-events-none",children:r("Open",{ns:"common"})}),s.jsxs("span",{className:"underline cursor-pointer text-blue-700 dark:text-blue-400 overflow-hidden text-ellipsis relative p-1",title:"".concat(r("Open",{ns:"common"})," ").concat(m.value.formOptions.openUrl),onClick:()=>{Zi(_n(m.value.formOptions.openUrl))},children:[_n(m.value.formOptions.openUrl),s.jsx(eg,{id:m.value.formOptions.openUrl,isCopiedOrPasted:v,pastedItemCountDown:i,isCopied:n,pastedText:o,copyOrPasteFieldId:h})]})]})}),s.jsxs(me,{children:[s.jsx(ye,{className:"text-slate-500 h-full hover:text-green-700 dark:hover:text-green-600 px-1 py-0.5 hover:bg-transparent",variant:"ghost",disabled:m.value.formOptions.isOpenUrlDisabled,onClick:g=>{g.preventDefault(),m.value.formOptions.openUrl&&(h.value=m.value.formOptions.openUrl,ur.value?c(m.value.formOptions.openUrl):a(m.value.formOptions.openUrl))},children:s.jsx(Be,{text:ur.value?r("Copy and Paste",{ns:"common"}):r("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(Cs,{size:14}):s.jsx(pa,{size:14})})}),s.jsx(ye,{variant:"ghost",size:"mini",title:r("Enable / Disable URL Open",{ns:"dashboard"}),onClick:()=>pe(this,null,function*(){var b;m.value=ee(R({},m.value),{formOptions:ee(R({},m.value.formOptions),{isOpenUrlDisabled:!((b=m.value.formOptions)!=null&&b.isOpenUrlDisabled)})});const g=JSON.stringify(m.value);try{yield u({updatedItem:{formTemplateOptions:g,itemId:e}}),setTimeout(()=>{f.value=!0},300)}catch(C){console.error(C)}}),className:"pl-1 font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",children:(S=m.value.formOptions)!=null&&S.isOpenUrlDisabled?s.jsx(ma,{size:14}):s.jsx(Oa,{size:14})})]})]}),(w=m.value.formOptions)==null?void 0:w.fields.map((g,b)=>{var T,A,M,D,L;const C=g.isLabelOnTop,j=g.isLabelHidden,E=g.type==="section",N=g.type==="textarea";return s.jsxs(me,{className:"".concat(g.type!=="section"?"mb-1":"mt-1"," group ").concat(C?"flex-col items-start":"items-center"," ").concat(N?"!mt-2 !mb-1":""),children:[!j&&s.jsx(s.Fragment,{children:g.label&&g.type!=="section"?s.jsx(J,{className:"".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," text-[13px] !font-semibold flex self-stretch ").concat(C?"!justify-start pl-1":"!justify-end"),children:s.jsx("span",{className:"whitespace-nowrap pr-1 min-w-[80px] overflow-hidden text-ellipsis block ".concat(C?"text-left":"text-right max-w-[160px]"),children:g.label})}):s.jsx("div",{className:"pr-1 min-w-[80px]"})}),s.jsxs(me,{className:"w-full",children:[s.jsx(me,{className:"gap-0.5 flex-col w-full items-start ".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""),children:s.jsxs(me,{className:"w-full gap-1 justify-start",children:[g.isDelayOnly||g.isPressKeysOnly?s.jsxs(me,{className:"".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full justify-end mr-1 py-1"),children:[g.isDelayOnly&&s.jsxs(lt,{variant:"secondary",className:"pl-2 py-0.5 text-slate-500 whitespace-nowrap",children:[r("Delay",{ns:"common"})," ",g.value]}),g.isPressKeysOnly&&g.pressKeysAfterPaste&&s.jsxs(lt,{variant:"secondary",className:"pl-2 py-0.5 text-slate-500 whitespace-nowrap",children:[r("Press",{ns:"common"})," ",UD[g.pressKeysAfterPaste]]})]}):g.type==="password"||g.type==="passwordCode"?s.jsxs(me,{children:[s.jsxs("div",{className:"relative w-full",children:[s.jsx(er,{small:!0,placeholder:r("Empty",{ns:"common"}),classNameInput:"text-sm border-0 border-b border-gray-200 hover:border-gray-400 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis",disabled:g.isEnable===!1,isPassword:!0,numbersOnly:g.type==="passwordCode",showHidePassword:!0,className:"".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),readOnly:!0,value:g.value}),s.jsx(eg,{id:g.id,isCopiedOrPasted:v,pastedItemCountDown:i,isCopied:n,pastedText:o,copyOrPasteFieldId:h})]}),!E&&!g.isDelayOnly&&!g.isPressKeysOnly&&s.jsx(ye,{className:"text-slate-500 h-full hover:text-green-700 dark:hover:text-green-600 px-1 py-0.5 hover:bg-transparent",disabled:g.isEnable===!1||!g.value,variant:"ghost",onClick:z=>{z.preventDefault(),g.value&&(h.value=g.id||null,ur.value?c(g.value):a(g.value))},children:s.jsx(Be,{text:ur.value?r("Copy and Paste",{ns:"common"}):r("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(Cs,{size:14}):s.jsx(pa,{size:14})})})]}):g.type==="creditcard"?s.jsxs(me,{children:[s.jsxs("div",{className:"relative w-full",children:[s.jsx(z1,{small:!0,placeholder:r("Empty",{ns:"common"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none hover:border-gray-400 pl-1.5 nowrap overflow-hidden text-ellipsis",disabled:g.isEnable===!1,className:"".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),readOnly:!0,ccNumber:g.value}),s.jsx(eg,{id:g.id,isCopiedOrPasted:v,pastedItemCountDown:i,isCopied:n,pastedText:o,copyOrPasteFieldId:h})]}),!E&&!g.isDelayOnly&&!g.isPressKeysOnly&&s.jsx(ye,{className:"text-slate-500 h-full hover:text-green-700 dark:hover:text-green-600 px-1 py-0.5 hover:bg-transparent",disabled:g.isEnable===!1||!g.value,variant:"ghost",onClick:z=>{z.preventDefault(),g.value&&(h.value=g.id||null,ur.value?c(g.value):a(g.value))},children:s.jsx(Be,{text:ur.value?r("Copy and Paste",{ns:"common"}):r("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(Cs,{size:14}):s.jsx(pa,{size:14})})})]}):E?s.jsx("span",{className:"text-sm !font-semibold border-0 nowrap overflow-hidden text-ellipsis !pl-0.5 py-2",children:g.value}):g.type==="textarea"?s.jsxs(me,{children:[s.jsxs("div",{className:"w-full relative",children:[s.jsx(ho,{placeholder:r("Empty",{ns:"common"}),label:"",className:"text-sm font-semibold border-0 border-transparent hover:border-gray-400 rounded-none nowrap overflow-hidden text-ellipsis !pl-0.5 w-full",classNameArea:g.isEnable===!1?"dark:!text-slate-500 !bg-gray-100 opacity-50 dark:!bg-gray-900":"dark:!text-slate-300 dark:!bg-slate-900",autoFocus:b===((T=m.value.formOptions.fields)==null?void 0:T.length)-1&&m.value.formOptions.fields[b].value==="",maxRows:2,value:g.value,enableEmoji:!1,readOnly:!0,enableEmojiInside:!1}),s.jsx(eg,{id:g.id,isCopiedOrPasted:v,pastedItemCountDown:i,isCopied:n,pastedText:o,copyOrPasteFieldId:h})]}),!E&&!g.isDelayOnly&&!g.isPressKeysOnly&&s.jsx(ye,{className:"text-slate-500 h-full hover:text-green-700 dark:hover:text-green-600 px-1 py-0.5 hover:bg-transparent",disabled:g.isEnable===!1||!g.value,variant:"ghost",onClick:z=>{z.preventDefault(),g.value&&(h.value=g.id||null,ur.value?c(g.value):a(g.value))},children:s.jsx(Be,{text:ur.value?r("Copy and Paste",{ns:"common"}):r("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(Cs,{size:14}):s.jsx(pa,{size:14})})})]}):s.jsxs(me,{children:[s.jsxs("div",{className:"w-full relative",children:[s.jsx(er,{small:!0,placeholder:r("Empty",{ns:"common"}),autoFocus:b===((A=m.value.formOptions.fields)==null?void 0:A.length)-1&&m.value.formOptions.fields[b].value===""&&m.value.formOptions.fields[b].label!=="Custom",classNameInput:"text-sm border-0 border-b border-gray-200 hover:border-gray-400 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:g.isEnable===!1,type:g.type==="number"?"number":"text",className:"".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),readOnly:!0,value:g.value}),s.jsx(eg,{id:g.id,isCopiedOrPasted:v,pastedItemCountDown:i,isCopied:n,pastedText:o,copyOrPasteFieldId:h})]}),!E&&!g.isDelayOnly&&!g.isPressKeysOnly&&s.jsx(ye,{className:"text-slate-500 h-full hover:text-green-700 dark:hover:text-green-600 px-1 py-0.5 hover:bg-transparent",disabled:g.isEnable===!1||!g.value,variant:"ghost",onClick:z=>{z.preventDefault(),g.value&&(h.value=g.id||null,ur.value?c(g.value):a(g.value))},children:s.jsx(Be,{text:ur.value?r("Copy and Paste",{ns:"common"}):r("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(Cs,{size:14}):s.jsx(pa,{size:14})})})]}),g.isDelayOnly||g.isPressKeysOnly||E?s.jsx(s.Fragment,{}):s.jsx(me,{children:g.pressKeysAfterPaste&&s.jsx(lt,{variant:"secondary",className:"p-2 py-0.5 text-slate-500 whitespace-nowrap mr-1",children:UD[g.pressKeysAfterPaste]})})]})}),s.jsx(me,{className:"gap-1",children:!E&&s.jsx(ye,{size:"mini",title:r("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>pe(this,null,function*(){var H;m.value=ee(R({},m.value),{formOptions:ee(R({},m.value.formOptions),{fields:(H=m.value.formOptions)==null?void 0:H.fields.map((V,I)=>I===b?ee(R({},V),{isEnable:!V.isEnable}):V)})});const z=JSON.stringify(m.value);try{yield u({updatedItem:{formTemplateOptions:z,itemId:e}}),setTimeout(()=>{f.value=!0},300)}catch(V){console.error(V)}}),children:(M=m.value.formOptions)!=null&&M.fields&&((L=(D=m.value.formOptions)==null?void 0:D.fields[b])!=null&&L.isEnable)?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})})})]})]},g.id)})]}),f.value&&s.jsx(Q,{className:"bg-blue-200 dark:bg-blue-800 text-xs rounded-sm px-1.5 absolute left-1 bottom-1",children:r("Updated",{ns:"common"})})]})}function Rk(e){var t,r;return s.jsxs("svg",{width:(t=e.width)!=null?t:"24px",height:(r=e.height)!=null?r:"24px",onClick:e.onClick,className:e.className,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}),s.jsx("rect",{x:"7.3",y:"7.3",rx:"5",ry:"5",width:"9.3",height:"9.3",className:"opacity-90",stroke:"none",fill:"currentColor"})]})}const l2e=(e,t=[],r=[],n=[],a,o=!1)=>{const i=/\{\{\s*(.*?)\s*\}\}/g;return e.split(i).map((u,f)=>{const h=n.find(m=>{var v;return((v=m.label)==null?void 0:v.toLocaleLowerCase())===u.toLocaleLowerCase()});if(h){const m={label:u,isValueMasked:h.isValueMasked,value:u.toLocaleLowerCase()==="clipboard"?a:h.value,isFound:t.includes(u.toLowerCase()),isMissing:r.includes(u.toLowerCase()),isEnable:h.isEnable},v=o&&m.value;return s.jsx(J,{className:"".concat(m.isEnable?"!text-green-600 dark:!text-green-400":"!text-gray-400 dark:!text-gray-600"," !font-normal inline-flex"),size:"xs",children:v?s.jsx(Be,{text:s.jsxs(lt,{variant:"outline",className:"".concat(m.isEnable?"!text-green-600 dark:!text-green-400 bg-green-100 dark:bg-green-900 hover:bg-green-100 dark:hover:bg-green-900 border-green-200 dark:border-green-800":"dark:!text-gray-300 text-gray-400 bg-gray-100 dark:bg-gray-800 hover:bg-gray-100 dark:hover:bg-gray-800 border-gray-200/80 dark:border-gray-700/80"," text-normal pr-2.5"),children:[s.jsx($t,{size:12,className:"mr-0.5"}),m.label]}),className:"bg-transparent border-0",side:"top",isCompact:!0,asChild:!0,children:s.jsx(lt,{variant:"outline",className:"".concat(m.isEnable?"!text-green-600 dark:!text-green-400 bg-green-100/80 dark:bg-green-900 hover:bg-green-50/80 dark:hover:bg-green-900/70 border-green-100 hover:border-green-200 dark:border-green-800 dark:hover:border-green-700":"dark:!text-gray-600 text-gray-400 bg-gray-100 dark:bg-gray-800 hover:bg-gray-100 dark:hover:bg-gray-800 border-gray-200/80 dark:border-gray-700/80"," text-[14px] !font-normal px-1 rounded-sm"),children:m.isValueMasked?Mf(m.value):m.value})}):s.jsx(Be,{isDisabled:m.isMissing||!m.value,text:m.value,side:"top",isCompact:!0,asChild:!0,children:s.jsxs(lt,{variant:"outline",className:"".concat(m.isEnable?"bg-green-100 dark:bg-green-900 hover:bg-green-100 dark:hover:bg-green-900 border-green-200 dark:border-green-800":"bg-gray-100 dark:bg-gray-800 hover:bg-gray-100 dark:hover:bg-gray-800 border-gray-200/80 dark:border-gray-700/80"," text-normal pr-2.5"),children:[s.jsx($t,{size:12,className:"mr-0.5"}),m.label]})})},f)}return u})};function FU({value:e,clipId:t,formTemplateOptions:r}){var D;const{t:n}=At(),a=We(Date.now().toString()),o=We(Date.now().toString()),i=We(!1),c=We([]),u=We([]),f=We("text"),h=We("labels"),m=We("template"),v=We(""),S=We(null),[,w,,]=Qf({}),[,,g]=Jf({}),{updateItemById:b}=sl(),C=We(!1),j=We({templateOptions:[],formOptions:{fields:[]}}),E=mo(o.value,300),N=mo(o.value,1e3),T=p.useCallback(L=>{const z=/{{[^{}]+}}/g;c.value=[],u.value=[];const H=L.match(z);H&&H.forEach((V,I)=>{H[I]=V.replace(/[\n\r{}]+/g,"").trim(),u.value.push(H[I].toLocaleLowerCase());const q=j.value.templateOptions.find(_=>{var $;return(($=_.label)==null?void 0:$.toLocaleLowerCase())===H[I].toLocaleLowerCase()});q?q.isFound=!0:c.value.push(H[I])})},[j.value.templateOptions]);p.useEffect(()=>{var L;if(r)try{const z=JSON.parse(r);j.value=R(R({},j.value),z),((L=j.value.templateOptions)==null?void 0:L.every(V=>{var I;return((I=j.value.templateOptions)==null?void 0:I.filter(q=>q.label===V.label).length)===1}))||(i.value=!0),T(e)}catch(z){console.log("error",z)}},[r]);const A=p.useCallback(()=>pe(this,null,function*(){try{v.value=yield Sr("run_template_fill",{templateValue:e,templateOptions:j.value.templateOptions,isPreview:!0})}catch(L){console.error(L)}}),[e,j.value.templateOptions]);p.useEffect(()=>{A()},[j.value.templateOptions,e,E]),p.useEffect(()=>{const L=JSON.stringify(j.value);try{b({updatedItem:{formTemplateOptions:L,itemId:t}}),setTimeout(()=>{C.value=!0},300)}catch(z){console.error(z)}},[e,N]),p.useEffect(()=>{const L=Ri("clipboard://clipboard-monitor/update",H=>pe(this,null,function*(){H.payload==="clipboard update"&&(S.value=yield g9())}));return pe(this,null,function*(){S.value=yield g9()}),()=>{L.then(H=>{H()})}},[]),p.useEffect(()=>{C.value&&setTimeout(()=>{C.value=!1},1e3)},[C.value]);const M=p.useMemo(()=>l2e(e,u.value,c.value,j.value.templateOptions.filter(L=>L.label!==void 0).map(({label:L,isEnable:z,value:H,isValueMasked:V})=>({label:L,isValueMasked:V,value:H,isEnable:z})),S.value,h.value==="values"),[e,E,u.value,c.value,j.value.templateOptions,S.value,h.value]);return s.jsxs(s.Fragment,{children:[s.jsxs(Q,{className:"select-none mt-1 pb-1",children:[s.jsx(Q,{className:"mt-1.5 mb-1",children:s.jsxs(me,{className:"w-full justify-start",children:[s.jsx(ye,{variant:"ghost",size:"mini",onClick:()=>{ks.value=t!=null?t:null},className:"cursor-pointer hover:bg-transparent ",children:s.jsx(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline",size:"xs",children:n("Edit Template",{ns:"dashboard"})})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{variant:"ghost",size:"mini",className:"cursor-pointer ml-auto hover:bg-transparent !px-2 !py-0",children:s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline",size:"xs",children:[n("Fields Value",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsxs(He,{className:"text-center items-center justify-start py-1 text-xs",onSelect:()=>{j.value.templateOptions=j.value.templateOptions.map(L=>(L.value="",L)),j.value=ee(R({},j.value),{templateOptions:[...j.value.templateOptions]}),a.value=Date.now().toString(),o.value=Date.now().toString()},children:[s.jsx(J,{className:"mr-2",children:n("Clear All Fields",{ns:"dashboard"})}),s.jsx(H6,{size:14,className:"ml-auto text-slate-400"})]}),s.jsx(tr,{}),s.jsxs(He,{className:"text-center items-center justify-start py-1 text-xs",onSelect:()=>{j.value.templateOptions=j.value.templateOptions.map(L=>(L.value=L.defaultValue,L)),j.value=ee(R({},j.value),{templateOptions:[...j.value.templateOptions]}),a.value=Date.now().toString(),o.value=Date.now().toString()},children:[s.jsx(J,{className:"mr-2",children:n("Reset to Defaults",{ns:"dashboard"})}),s.jsx(v2,{size:14,className:"ml-auto text-slate-400"})]}),s.jsx(tr,{}),s.jsxs(He,{className:"text-center items-center justify-start py-1 text-xs",onSelect:()=>pe(this,null,function*(){j.value.templateOptions.forEach(z=>{z.defaultValue=z.value});const L=JSON.stringify(j.value);try{yield b({updatedItem:{formTemplateOptions:L,itemId:t}}),setTimeout(()=>{C.value=!0},300)}catch(z){console.error(z)}}),children:[s.jsx(J,{className:"mr-2",children:n("Save as Defaults",{ns:"dashboard"})}),s.jsx(kz,{size:14,className:"ml-auto text-slate-400"})]})]})]})]})}),(D=j.value.templateOptions)==null?void 0:D.map((L,z)=>{var U,K,Y,B,F,G,X,se,re;const H=L.type==="textarea",V=L.isLabelOnTop,I=(U=L.selectOptions)==null?void 0:U.find(ie=>ie===L.value),q=!((K=L.selectOptions)!=null&&K.length),_=!!(L.label&&u.value.includes((Y=L.label)==null?void 0:Y.toLowerCase())),$=L.isEnable===!1||!_;return s.jsxs(me,{className:"mb-1 group ".concat(V?"flex-col items-start":"items-center"," ").concat(H?"!mt-2 !mb-1":""),children:[L.label?s.jsx(me,{className:"".concat($?"bg-gray-100 opacity-50 dark:bg-gray-900":""," text-[13px] !font-semibold flex self-stretch ").concat(V?"!justify-start pl-1":"!justify-end"," ").concat(_?"":"!text-amber-800 dark:!text-amber-400 opacity-60"),children:s.jsx("span",{className:"whitespace-nowrap pr-1 min-w-[80px] overflow-hidden text-ellipsis block ".concat(V?"text-left":"text-right max-w-[160px]"),children:L.label})}):s.jsx("div",{className:"pr-1 min-w-[80px]"}),s.jsxs(me,{className:"w-full",children:[s.jsx(me,{className:"gap-0.5 flex-col w-full items-start ".concat($?"bg-gray-100 opacity-50 dark:bg-gray-900":""),children:s.jsx(me,{className:"w-full gap-1",children:L.type==="password"||L.type==="passwordCode"?s.jsx(er,{small:!0,placeholder:L.type==="passwordCode"?n("Enter code",{ns:"dashboard"}):n("Enter secret value",{ns:"dashboard"}),autoFocus:z===j.value.templateOptions.length-1&&j.value.templateOptions[z].value==="",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:$,isPassword:!0,numbersOnly:L.type==="passwordCode",showHidePassword:!0,className:"".concat(L.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:ie=>{L.value=ie.target.value.trim(),o.value=Date.now().toString()},defaultValue:L.value},a.value):L.type==="creditcard"?s.jsx(z1,{small:!0,placeholder:n("Enter credit card number",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:$,autoFocus:z===((B=j.value.templateOptions)==null?void 0:B.length)-1&&j.value.templateOptions[z].value==="",className:"".concat($?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onInputBlur:ie=>{L.value=ie},ccNumber:L.value},a.value):L.type==="textarea"?s.jsx(ho,{placeholder:n("Enter field value",{ns:"dashboard"}),label:"",className:"text-sm font-semibold border-0 border-transparent focus:border-blue-400 rounded-none nowrap overflow-hidden text-ellipsis !pl-0.5 w-full",classNameArea:$?"dark:!text-slate-500 !bg-gray-100 opacity-50 dark:!bg-gray-900":"dark:!text-slate-300 dark:!bg-slate-900",autoFocus:z===j.value.templateOptions.length-1&&j.value.templateOptions[z].value===""&&!!j.value.templateOptions[z].label,maxRows:2,value:L.value,enableEmoji:!1,enableEmojiInside:!0,onKeyDown:ie=>{ie.stopPropagation()},onChange:ie=>{L.value=ie.target.value,o.value=Date.now().toString(),j.value=ee(R({},j.value),{templateOptions:[...j.value.templateOptions]})}},a.value):L.type==="select"?s.jsx(me,{className:"justify-start items-center w-full my-1",children:s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",variant:"ghost",disabled:$,className:"rounded-sm font-semibold hover:bg-transparent px-2 py-1 w-full border border-slate-300 hover:border-blue-500 dark:border-slate-800 dark:hover:border-blue-500 dark:bg-slate-900 dark:hover:bg-slate-900 dark:text-slate-300 dark:hover:text-blue-500",children:s.jsxs(me,{className:"flex items-center justify-start w-full gap-1",children:[s.jsx(J,{className:"!text-slate-700 dark:!text-slate-300 text-ellipsis overflow-hidden !block line-clamp-2",children:q?n("Select is empty",{ns:"common"}):I||n("Select option",{ns:"common"})}),s.jsx(me,{className:"w-[18px] h-[18px] ml-0.5 mr-0",children:s.jsx(Dr,{size:13})})]})})}),s.jsxs(Ar,{sideOffset:12,align:"start",className:"max-w-[300px]",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:q?s.jsx(J,{children:n("Select is empty",{ns:"common"})}):s.jsx(J,{children:n("Select option",{ns:"common"})})}),!q&&s.jsxs(s.Fragment,{children:[s.jsx(tr,{}),(G=(F=j.value.templateOptions[z])==null?void 0:F.selectOptions)==null?void 0:G.map((ie,oe)=>s.jsx(rr,{checked:L.value===ie,onSelect:()=>{L.value=ie,o.value=Date.now().toString(),j.value=ee(R({},j.value),{templateOptions:[...j.value.templateOptions]})},children:s.jsx(J,{className:"text-xs ".concat(L.value===ie?"font-semibold":""),children:ie})},oe))]})]})]})}):((X=L.label)==null?void 0:X.toLocaleLowerCase())!=="clipboard"?s.jsx(er,{small:!0,placeholder:n("Enter field value",{ns:"dashboard"}),autoFocus:!!j.value.templateOptions[z].label,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:$,type:L.type==="number"?"number":"text",className:"".concat($?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:ie=>{L.value=ie.target.value.trim(),o.value=Date.now().toString()},defaultValue:L.value},a.value):s.jsxs(s.Fragment,{children:[s.jsx(er,{small:!0,value:L.isValueMasked&&S.value?_v(S.value):S.value?S.value:n("This field allows to insert text from clipboard",{ns:"dashboard"}),title:(se=S.value)!=null?se:"",autoFocus:!1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-transparent",disabled:!0,type:"text",className:"".concat($?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full")}),s.jsx(Be,{isCompact:!0,text:n("Mask to hide clipboard value in preview",{ns:"dashboard"}),children:s.jsx(Rk,{width:15,height:15,className:"".concat(L.isValueMasked?"text-blue-500 opacity-100":"text-slate-500 opacity-50"," hover:text-blue-500 dark:hover:text-blue-400 hover:opacity-100 cursor-pointer"),onClick:()=>{var ie;j.value=ee(R({},j.value),{templateOptions:[...(ie=j.value.templateOptions)==null?void 0:ie.map((oe,ae)=>ae===z?ee(R({},oe),{isValueMasked:!oe.isValueMasked}):oe)]})}})})]})})}),s.jsx(me,{className:"gap-1 ml-0.5",children:_?s.jsx(ye,{size:"mini",title:n("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>pe(this,null,function*(){var oe;j.value=ee(R({},j.value),{templateOptions:[...(oe=j.value.templateOptions)==null?void 0:oe.map((ae,fe)=>fe===z?ee(R({},ae),{isEnable:!ae.isEnable}):ae)]});const ie=JSON.stringify(j.value);try{yield b({updatedItem:{formTemplateOptions:ie,itemId:t}}),setTimeout(()=>{C.value=!0},300)}catch(ae){console.error(ae)}}),children:j.value.templateOptions&&((re=j.value.templateOptions[z])!=null&&re.isEnable)?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}):s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",title:n("Not found in the template",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent !text-amber-800 dark:!text-amber-400 opacity-60",children:s.jsx(pi,{size:14})})}),s.jsx(Ar,{sideOffset:12,align:"center",children:s.jsxs(He,{className:"text-red-500 dark:!text-red-600 text-[13px] focus:text-red-500 py-1",onSelect:()=>{var oe;j.value=ee(R({},j.value),{templateOptions:[...(oe=j.value.templateOptions)==null?void 0:oe.filter((ae,fe)=>fe!==z)]});const ie=JSON.stringify(j.value);try{b({updatedItem:{formTemplateOptions:ie,itemId:t}})}catch(ae){console.error(ae)}},children:[s.jsx(J,{size:"xs",className:"!text-red-500 dark:!text-red-600",children:n("Remove",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(xn,{size:13})})]})})]})})]})]},z)}),i.value&&s.jsxs(J,{className:"!text-amber-800 dark:!text-amber-400 text-[13px] my-2 bg-yellow-50 dark:bg-yellow-900 p-2 relative",children:[n("All field labels must be unique to ensure they are correctly used within the template.",{ns:"dashboard"}),s.jsx(wr,{className:"absolute top-0 right-0 m-2 bg-yellow-50 dark:bg-yellow-900 z-10 cursor-pointer hover:bg-yellow-100 dark:hover:bg-yellow-800",size:14,onClick:()=>{i.value=!1}})]}),c.value.length>0&&s.jsxs(me,{className:"rounded-md gap-2 my-3 items-start justify-start flex-wrap !text-amber-800 dark:!text-amber-400 text-[13px] bg-yellow-50 dark:bg-amber-950 p-2",children:[s.jsxs(J,{className:"!text-amber-700 dark:!text-amber-500 text-[13px] w-full",children:[s.jsx(pi,{size:13,className:"mr-1"}),n("Found in template but missing from fields definition",{ns:"common"}),":"]}),c==null?void 0:c.value.map((L,z)=>s.jsx(Q,{children:s.jsx(lt,{variant:"outline",className:"bg-red-50 !text-red-500 dark:!text-red-400 dark:bg-red-950/80 border-red-100 dark:border-red-900 text-normal px-2",children:L})},z))]}),s.jsxs(s.Fragment,{children:[s.jsxs(me,{className:"gap-1 mt-2",children:[s.jsx(ye,{size:"mini",className:"!text-sm hover:bg-transparent hover:text-blue-500 dark:hover:text-blue-400 border-b-2 ".concat(m.value==="template"?"border-blue-500 dark:border-blue-400 text-blue-500 dark:text-blue-400":"border-transparent text-slate-500 dark:text-slate-400 "," rounded-none px-2 py-0.5"),variant:"ghost",onClick:()=>{m.value="template"},children:n("Template",{ns:"dashboard"})}),v.value&&s.jsx(ye,{size:"mini",variant:"ghost",className:"!text-sm hover:bg-transparent hover:text-blue-500 dark:hover:text-blue-400 border-b-2 ".concat(m.value==="result"?"border-blue-500 dark:border-blue-400 text-blue-500 dark:text-blue-400":"border-transparent text-slate-400 dark:text-slate-400"," rounded-none px-2 py-0.5"),onClick:()=>{m.value="result",A()},children:n("Result",{ns:"dashboard"})})]}),m.value==="template"?s.jsxs(Q,{className:"bg-sky-50/70 dark:bg-sky-950/70 relative rounded-md text-sm",children:[t&&s.jsx(un,{className:"hover:bg-transparent rounded-md dark:text-slate-400 hover:text-green-600 hover:dark:text-green-600 top-3 right-3 absolute z-10",onClick:()=>{ur.value?g(t):w(t)},children:s.jsx(Be,{text:ur.value?n("Copy and Paste",{ns:"common"}):n("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(Cs,{size:15}):s.jsx(pa,{size:15})})}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"280px"},autoHide:!1,children:s.jsx(Q,{className:"text-sm py-1 px-3 whitespace-pre-wrap pb-8 pt-3 select-text",children:M})}),s.jsx(Qi,{className:"flex flex-row absolute bottom-2 right-3 z-10 select-none",value:h.value,onValueChange:L=>{h.value=L==="labels"?"labels":"values"},children:s.jsxs(Fo,{className:"self-center px-1 py-1 opacity-60 hover:opacity-100 animate-in fade-in bg-slate-200 dark:bg-slate-900",children:[s.jsx(bn,{value:"labels",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:n("Labels",{ns:"dashboard"})}),s.jsx(bn,{value:"values",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:n("Values",{ns:"dashboard"})})]})})]}):m.value==="result"&&v.value&&s.jsxs(Q,{className:"bg-sky-50/70 dark:bg-sky-950/70 relative mt-0 rounded-md text-sm",children:[t&&s.jsx(un,{className:"hover:bg-transparent rounded-md dark:text-slate-400 hover:text-green-600 hover:dark:text-green-600 top-3 right-3 absolute z-10",onClick:()=>{ur.value?g(t):w(t)},children:s.jsx(Be,{text:ur.value?n("Copy and Paste",{ns:"common"}):n("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(Cs,{size:15}):s.jsx(pa,{size:15})})}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"280px"},autoHide:!1,children:s.jsxs(Q,{className:"text-sm py-1 px-3 whitespace-pre-wrap pb-8 pt-3 select-text",children:[s.jsx("div",ee(R({},f.value==="html"&&{dangerouslySetInnerHTML:{__html:Of.sanitize(v.value)}}),{className:"font-normal"})),f.value==="text"&&v.value]})}),s.jsx(Qi,{className:"flex flex-row absolute bottom-2 right-3 z-10 select-none",value:f.value,onValueChange:L=>{f.value=L==="html"?"html":"text"},children:s.jsxs(Fo,{className:"self-center px-1 py-1 opacity-60 hover:opacity-100 animate-in fade-in bg-slate-200 dark:bg-slate-900",children:[s.jsx(bn,{value:"text",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:n("Text",{ns:"dashboard"})}),s.jsx(bn,{value:"html",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:n("HTML",{ns:"dashboard"})})]})})]})]})]}),C.value&&s.jsx(Q,{className:"bg-blue-200 dark:bg-blue-800 text-xs rounded-sm px-1.5 absolute left-1 bottom-1",children:n("Updated",{ns:"common"})})]})}const c2e=[Lr.Down,Lr.Right,Lr.Up,Lr.Left];function Sy(e){if(!e)return!1;const t=e.data.current;return(t==null?void 0:t.type)===Hs||(t==null?void 0:t.type)===Cl||(t==null?void 0:t.type)===Lo}const CS=e=>e.toString().split("::pinned")[0];function d_(e){let t=[];return e.children&&e.children.length>0&&e.children.forEach(r=>{t.push(r.id),t=t.concat(d_(r))}),t}const Mj=(e,{context:{active:t,droppableRects:r,droppableContainers:n,collisionRect:a}})=>{if(c2e.includes(e.code)){if(e.preventDefault(),!t||!a)return;const o=[];n.getEnabled().forEach(u=>{var m,v,S;if(!u||u!=null&&u.disabled)return;const f=r.get(u.id);if(!f)return;const h=u.data.current;if(h){const{type:w,children:g}=h;if(w==="Column"&&(g==null?void 0:g.length)>0&&((m=t.data.current)==null?void 0:m.type)!=="Column")return}switch(e.code){case Lr.Down:if(((v=t.data.current)==null?void 0:v.type)==="Column")return;a.topf.top&&o.push(u);break;case Lr.Left:a.left>=f.left+f.width&&o.push(u);break;case Lr.Right:a.left+a.width<=f.left&&o.push(u);break}});const i=$Q({active:t,collisionRect:a,droppableRects:r,droppableContainers:o,pointerCoordinates:null}),c=p6(i,"id");if(c!=null){const u=n.get(c),f=u==null?void 0:u.node.current,h=u==null?void 0:u.rect.current;if(f&&h)return{x:h.left,y:h.top}}}};function f_(e,t=!1,r=!1){if(!e||r)return{valuePreview:t&&e?e.substring(0,200).trim()+"...":(e==null?void 0:e.trim())||"No content",morePreviewLines:null,morePreviewChars:null};const n=e.replace(/\r\n/g,"\n");if(n.split("\n").length>=5&&!t){const i=n.split("\n").slice(0,5).join("\n"),c=n.split("\n").length-5;return{valuePreview:uc.closeTags(i.trim()),morePreviewLines:c>0?c:null,morePreviewChars:c?null:n.length-160}}if(n.length>60&&!t){const o=n.length-60;return{valuePreview:uc.closeTags(n.substring(0,60).trim())+"...",morePreviewLines:null,morePreviewChars:o>0?o:null}}else{const o=n.trim(),i=o.split("\n"),c=n.split("\n").length-i.length;return t?{valuePreview:o.substring(0,60)+"...",morePreviewLines:null,morePreviewChars:null}:{valuePreview:o,morePreviewLines:c>0?c:null,morePreviewChars:null}}}const WD=e=>e.isBoard!==void 0&&e.type===Hs,u2e=(e,t)=>{const r=n=>{if(!(!n||!t))for(const a of n){if(a.id===t&&WD(a))return a;if(WD(a)&&a.children){const o=r(a.children);if(o)return o}}};return r(e)};function HU({arrLinks:e=[],clipId:t,isShowLinkedClip:r,detectedLanguage:n,hasEmoji:a,hasMaskedWords:o,imageDataUrl:i,imageHash:c,imagePathFullRes:u,imageScale:f,imageType:h,imageWidthHeight:m,isCode:v,isCommand:S,isWebRequest:w,isWebScraping:g,isExpanded:b,isImage:C,isImageData:j,isLargeView:E,isLink:N,isForm:T,isTemplate:A,isMasked:M,isPath:D,isVideo:L,isMenu:z,isCopyOrPaste:H,isDark:V,clipName:I,formTemplateOptions:q,commandRequestOutput:_,isCommandRequestRunError:$,commandRequestOutputLastRunAt:U,requestOptions:K,pathType:Y,searchTerm:B,value:F=""}){var Oe,Ve,ct,gt;const{t:G}=At(),X=js(!1),se=js(!1),re=js(""),ie=p.useRef(null),{metadataLinkByItemId:oe}=A1(N,t),ae=N&&!!(oe!=null&&oe.linkTitle&&(oe!=null&&oe.linkDomain)),fe=js({method:"GET",headers:[],body:"",scrapingRules:[],filters:[],auth:{}}),{valuePreview:le,morePreviewLines:ue,morePreviewChars:be}=f_(F,C||j,E||N||D||S||w||g||T||A);p.useEffect(()=>{if(K)try{const Ke=JSON.parse(K);fe.value=R(R({},fe.value),Ke)}catch(Ke){}},[K]);const Ce=F==null?void 0:F.trim();p.useEffect(()=>{b.value&&(se.value=!1)},[b.value]),p.useEffect(()=>{D&&Fs("check_path",{path:Ce}).then(()=>{re.value=Y}).catch(()=>{re.value="Error"})},[D]),p.useEffect(()=>{B&&(b.value=!0)},[B]);const Pe=E?"max-h-[600px]":"max-h-[300px]",Ee=Ce.length===0;return p.useEffect(()=>{var Ke;r&&((Ke=ie==null?void 0:ie.current)==null||Ke.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))},[r,ie==null?void 0:ie.current]),s.jsxs(eh,{className:hr(H?"bg-green-50 dark:bg-green-900/40":"bg-slate-50/50 dark:bg-slate-900","px-2 pr-1.5 py-1 mb-0.5 mx-1 text-left flex flex-col rounded-md select-auto relative"),children:[s.jsx(Q,{className:"mb-0.5",ref:ie,children:D?s.jsx($1,{theme:V?el.vsDark:el.github,code:Ce,language:"path",children:({className:Ke,style:Et,tokens:Re,getLineProps:xt,getTokenProps:ot})=>s.jsx("code",{className:"".concat(Ke," ").concat(re.value==="Error"?" line-through decoration-gray-300":""),style:Et,children:Re.map((pt,_t)=>s.jsx("div",ee(R({},xt({line:pt})),{className:"overflow-hidden text-ellipsis whitespace-pre-wrap",children:pt.map((ht,It)=>s.jsx("span",ee(R({},ot({token:ht})),{className:"".concat(re.value==="Error"?"opacity-60":""," select-text"),children:B?El(ht.content,B):ht.content}),It))}),_t))})}):j?s.jsxs(Q,{className:"text-ellipsis self-start text-xs overflow-hidden select-none",children:[s.jsx(Q,{className:"flex px-0 py-1 items-center justify-center",children:s.jsx(tl,{src:Ce,hasError:X.value,onErrorCallback:()=>{X.value=!0},draggable:!1,decoding:"async",className:"".concat(Pe," min-h-10")})}),s.jsx("code",{className:"pb-0.5",children:le})]}):N&&C?s.jsxs(Q,{className:"text-ellipsis self-start text-xs overflow-hidden select-none",children:[s.jsx(Q,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center",children:s.jsx(tl,{src:_n(Ce),hasError:X.value,onErrorCallback:()=>{X.value=!0},draggable:!1,decoding:"async",className:"".concat(Pe," min-h-10")})}),s.jsx("code",{className:"pb-0.5",children:If(Ce,e)})]}):C?s.jsxs(Q,{className:"px-0 py-1.5 flex items-center justify-center relative animate-in fade-in duration-300 !fill-mode-forwards select-none",children:[E?s.jsx("img",{decoding:"async",srcSet:u&&i?"".concat(uf(u),"?").concat(c," ").concat(f,"x"):!i&&!u?xf:Gg,src:u&&i?"".concat(uf(u),"?").concat(c):!i&&!u?xf:Gg,className:"rounded-md shadow-sm border border-slate-100 dark:border-slate-600 object-scale-down"},t):s.jsx("img",{src:u&&(h==="webp"||h==="gif")?"".concat(uf(u),"?").concat(c):i&&u?i:!i&&!u?xf:Gg,draggable:!1,decoding:"async",height:"auto",className:"max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-600"}),s.jsx(Q,{className:"absolute left-0 bottom-1 flex flex-row gap-1 rounded items-center pb-0.5 pl-0.5",children:s.jsxs(Q,{className:"text-xs text-muted-foreground bg-slate-50 dark:bg-slate-950 px-1.5 rounded transform duration-300",title:G("Image size in pixels",{ns:"common"}),children:[m," ",h]})})]}):n&&v&&le?s.jsx(Q,{className:"text-ellipsis self-start text-sm w-full select-text",children:s.jsx(va,{isDark:V,searchTerm:B,isLargeView:E,isShowMore:b.value||ue==null,isWrapped:se.value,value:b.value?Ce:le,language:n})}):S&&le?s.jsxs(Q,{className:"text-ellipsis self-start text-sm w-full select-text pt-0.5",children:[s.jsx(va,{isDark:V,searchTerm:B,isLargeView:E,isCommand:!0,isShowMore:!0,isWrapped:se.value,autoHideScrollbar:!0,value:Ce,language:"shell"}),_&&s.jsxs(Q,{className:"".concat($?"bg-red-50 dark:bg-red-950":"bg-green-50 dark:bg-green-950"," py-1 rounded-md px-3 mb-1 relative border-0"),children:[s.jsx(va,{isDark:V,maxHeight:E?150:100,isLargeView:!1,isShowMore:!0,isWrapped:se.value,value:_,language:"shell"}),U&&s.jsx(Q,{className:"text-xs text-muted-foreground rounded px-1 bg-slate-50 dark:bg-slate-900/80 absolute bottom-1 right-1",children:s.jsx(Be,{text:"".concat(G("Last run",{ns:"dashboard"}),": ").concat(zf(U,"PPpp")),className:"text-xs bg-slate-50 dark:bg-slate-900 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:Zu().format(U,"mini-minute-now",{round:"floor"})})})]})]}):(w||g)&&le?s.jsxs(Q,{className:"text-ellipsis self-start text-sm w-full select-text pt-0.5",children:[s.jsx(va,{isDark:V,searchTerm:B,isLargeView:E,isShowMore:!0,isWrapped:se.value,value:Ce,autoHideScrollbar:!0,webRequestMethod:w?fe.value.method:"URL",language:"shell"}),_&&s.jsxs(Q,{className:"".concat($?"bg-red-50 border-red-100":"bg-green-50 border-green-100"," ").concat(E?"py-1":"py-0"," rounded-md px-3 relative mb-1 border"),children:[s.jsx(va,{isDark:V,maxHeight:E?150:100,isLargeView:!1,isShowMore:!0,isWrapped:se.value,value:_,language:$?"text":"json"}),U&&s.jsx(Q,{className:"text-xs text-muted-foreground rounded px-1 bg-slate-50 dark:bg-slate-900/80 absolute bottom-1 right-1",children:s.jsx(Be,{text:"".concat(G("Last run",{ns:"dashboard"}),": ").concat(zf(U,"PPpp")),className:"text-xs bg-slate-50 dark:bg-slate-900 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:Zu().format(U,"mini-minute-now",{round:"floor"})})})]})]}):T?s.jsx(Q,{className:"self-start text-sm w-full select-text",children:s.jsx(zU,{formTemplateOptions:q,clipId:t})}):A?s.jsx(Q,{className:"self-start text-sm w-full select-text",children:s.jsx(FU,{formTemplateOptions:q,clipId:t,value:F})}):Ee?s.jsx("code",{className:"text-gray-300",children:I}):s.jsx(Ak,{isExpanded:b.value,isWrapped:(Oe=se.value)!=null?Oe:!1,isImageData:j,isMasked:M,isLargeView:E,isCode:v,hasLinkCard:ae,metadataLinkByItemId:oe,isImage:C,trimmedValue:Ce,valuePreview:le,morePreviewLines:ue,isDark:V,searchTerm:B})}),s.jsxs(me,{className:"justify-between select-none",children:[!(w||S||g)&&_||E?s.jsx(Q,{className:"flex flex-row items-center rounded",children:s.jsx(Q,{className:"text-xs text-muted-foreground px-1.5 transform duration-300 cursor-pointer",onClick:()=>{se.value=!se.value},children:s.jsx(Be,{text:se.value?G("No Wrap",{ns:"common"}):G("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:se.value?s.jsx(km,{width:20,height:20}):s.jsx(Cm,{width:20,height:20})})})}):ue||be?s.jsxs(Q,{className:"flex flex-row items-center rounded",children:[s.jsx(Q,{className:"text-xs text-muted-foreground px-0 transform duration-300 cursor-pointer",onClick:()=>{b.value=!b.value},children:s.jsx(Be,{text:b.value?"":G("Show all",{ns:"common"}),isCompact:!0,isDisabled:b.value,delayDuration:2e3,side:"bottom",sideOffset:10,children:b.value?s.jsxs(s.Fragment,{children:["- ",G("show less",{ns:"common"})]}):be?s.jsxs(s.Fragment,{children:["+",be," ",G("chars",{ns:"common"})]}):ue&&s.jsxs(s.Fragment,{children:["+",ue," ",G("lines",{ns:"common"})]})})}),s.jsx(Q,{className:"text-xs text-muted-foreground px-1.5 transform duration-300 cursor-pointer",onClick:()=>{se.value=!se.value},children:s.jsx(Be,{text:se.value?G("No Wrap",{ns:"common"}):G("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:se.value?s.jsx(km,{width:20,height:20}):s.jsx(Cm,{width:20,height:20})})})]}):s.jsx(Q,{}),s.jsxs(Q,{className:"flex flex-row gap-1 items-center justify-end ",children:[S&&s.jsx(Q,{className:"".concat($?"bg-red-300 dark:bg-red-800 dark:text-slate-300 text-red-800":"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300"," text-xs rounded-sm px-1.5"),children:$?G("Command error",{ns:"dashboard"}):G("Type:::Command",{ns:"dashboard"})}),(w||g)&&s.jsxs(me,{className:"gap-1",children:[s.jsxs(Q,{className:"".concat($?"bg-red-300 dark:bg-red-600 dark:text-red-300":"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300"," text-xs rounded-sm px-1.5"),children:[w&&s.jsx("span",{children:$?G("Request error",{ns:"dashboard"}):G("Type:::Request",{ns:"dashboard"})}),g&&s.jsx("span",{children:$?G("Error",{ns:"dashboard"}):G("Type:::Scraper",{ns:"dashboard"})})]}),g&&fe.value.scrapingRules&&((Ve=fe.value.scrapingRules)==null?void 0:Ve.filter(Ke=>Ke.isEnable).length)>0&&s.jsxs(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[G("Headers",{ns:"dashboard"}),s.jsx("span",{className:"ml-1 font-mono",children:fe.value.headers.filter(Ke=>Ke.isEnable).length})]}),w&&fe.value.headers.filter(Ke=>Ke.isEnable).length>0&&s.jsxs(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[G("Headers",{ns:"dashboard"}),s.jsx("span",{className:"ml-1 font-mono",children:fe.value.headers.filter(Ke=>Ke.isEnable).length})]}),w&&((ct=fe.value.auth)==null?void 0:ct.isEnable)&&s.jsx(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:(gt=fe.value.auth)==null?void 0:gt.type}),w&&fe.value.filters.filter(Ke=>Ke.isEnable).length>0&&s.jsxs(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[G("Filters",{ns:"dashboard"}),s.jsx("span",{className:"ml-1 font-mono",children:fe.value.filters.filter(Ke=>Ke.isEnable).length})]})]}),(M||o)&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm ".concat(o?"px-0.5":"px-1.5"),children:M?G("Type:::Secret",{ns:"common"}):s.jsx(Al,{size:16})}),n&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:n}),N&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:L?G("Type:::Video",{ns:"common"}):fc(Ce)?G("Type:::Email",{ns:"common"}):G("Type:::Link",{ns:"common"})}),D&&re.value&&s.jsx(Q,{className:"".concat(re.value==="Error"?"bg-red-300":"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300"," text-xs rounded-sm px-1.5"),children:re.value==="Error"?s.jsx(Be,{text:G("File, folder or app path does not exist",{ns:"dashboard"}),className:"text-red-500 bg-red-50 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:re.value}):re.value}),a&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:G("Type:::Emoji",{ns:"common"})}),Ee&&!T&&!C&&s.jsx(Q,{className:"bg-yellow-200 text-yellow-700 dark:bg-yellow-800 dark:text-yellow-400 text-xs rounded-sm px-1.5",children:G("Type:::Empty",{ns:"common"})}),j&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:G("Type:::Image Base64",{ns:"common"})}),T&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:G("Type:::Auto Fill",{ns:"common"})}),z&&s.jsxs(me,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[G("Type:::Menu",{ns:"common"}),s.jsx(C1,{size:11,className:"ml-1"})]})]})]})]})}p.memo(HU);function VD({clipId:e,color:t,isEditOnly:r,isLargeView:n,description:a,borderWidth:o,name:i}){const{t:c}=At(),u=We(!1),f=We(""),h=We(""),{themeDark:m}=ft(fi),v=m(),{updateItemById:S}=sl(),w=We(mp.value),g=We(!1);return p.useEffect(()=>{u.value=!1,f.value=i!=null?i:"",mp.value=w.value},[w.value]),p.useEffect(()=>{i===c("New Clip",{ns:"dashboard"})&&(w.value=!0)},[i]),p.useEffect(()=>{h.value=a!=null?a:"",mp.value=g.value},[g.value]),p.useEffect(()=>{r&&(w.value=!0)},[r]),p.useEffect(()=>{u.value?Qy.value=!0:Qy.value=!1},[u.value]),p.useEffect(()=>{if(Xy.value){if(Xy.value=!1,Qy.value=!1,!w.value&&!g.value)return;if(!f.value.length||f.value.length>bu){u.value=!0;return}g.value&&(S({updatedItem:{description:h.value,itemId:e}}),setTimeout(()=>{g.value=!1},200)),u.value||(S({updatedItem:{name:f.value,itemId:e}}),setTimeout(()=>{w.value=!1},200))}},[Xy.value]),s.jsx(me,{className:"justify-start w-full",children:w.value?s.jsxs(s.Fragment,{children:[s.jsx(Be,{open:u.value,asChild:!0,classNameTrigger:"w-full",text:f.value.length<=N6?c("Too short",{ns:"dashboard"}):c("Too long",{ns:"dashboard"}),side:"bottom",className:"bg-rose-50 text-red-500 dark:bg-rose-900 dark:text-red-50 border-rose-100 dark:border-rose-950 text-base font-semibold border !px-2 !py-1.5",children:s.jsx(er,{small:!0,autoFocus:!0,className:"bg-white rounded-md text-sm font-semibold w-full min-w-[120px]",placeholder:c("Enter clip name",{ns:"dashboard"}),onBlur:()=>pe(this,null,function*(){(!f.value.length||f.value.length>bu)&&(u.value=!0)}),onKeyDown:b=>pe(this,null,function*(){b.stopPropagation(),b.key==="Escape"?w.value=!1:b.key==="Enter"&&(!f.value.length||f.value.length>bu)?u.value=!0:b.key==="Enter"&&(yield S({updatedItem:{name:f.value,itemId:e}}),setTimeout(()=>{w.value=!1,r&&qd()},300))}),defaultValue:i,onFocus:b=>{i===c("New Clip",{ns:"dashboard"})&&b.target.select()},onChange:b=>{u.value&&b.target.value.length<=bu&&u.value&&b.target.value.length>0&&(u.value=!1),f.value=b.target.value}})}),s.jsxs(me,{className:"ml-1",children:[s.jsx(Be,{text:c("Save",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>pe(this,null,function*(){if(!f.value.length||f.value.length>bu){u.value=!0;return}u.value||(yield S({updatedItem:{name:f.value,itemId:e}}),setTimeout(()=>{w.value=!1,r&&qd()},200))}),children:s.jsx($t,{size:18})})})}),s.jsx(Be,{text:c("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{w.value=!1,r&&qd()},children:s.jsx(wr,{size:18})})})})]})]}):s.jsxs(me,{className:"justify-start mr-1 w-full",children:[!g.value&&s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"min-w-[24px]",children:s.jsx(_k,{color:t!=null?t:null,borderWidth:o,type:Lo,itemId:e,updateById:S})}),s.jsx(J,{className:"text-sm text-ellipsis pl-1 overflow-hidden whitespace-nowrap border-dashed border-b min-w-[40px] border-".concat(t||"slate","-400 hover:border-gray-400"),onClick:()=>{w.value=!0},color:"black",children:i}),s.jsx(Q,{onClick:()=>{w.value=!0},className:"ml-1 pr-0 pl-1 pt-[1px] text-primary/50 cursor-pointer relative opacity-80 hover:opacity-100",children:s.jsx(Be,{text:c("Rename",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Xu,{size:14})})})]}),s.jsx(Q,{title:a&&!g.value?c("Edit Note",{ns:"dashboard"}):void 0,className:"".concat(g.value?"":"ml-1"," pr-0 pl-1 pt-[1px] text-primary/50 cursor-pointer relative opacity-80 hover:opacity-100"),children:a?s.jsx(z2,{text:g.value?h.value:a,side:"right",isDark:v,align:"end",alignOffset:130,maxWidth:320,sideOffset:-10,asChild:!0,children:s.jsx(Cz,{size:16,onClick:()=>{g.value=!0}})}):s.jsx(Be,{text:c("Add note",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,isDisabled:g.value,children:s.jsx(cle,{size:16,onClick:()=>{g.value=!0}})})}),!mp.value&&s.jsxs(me,{className:"ml-auto px-1.5 items-center justify-center",children:[s.jsx(un,{className:"hover:bg-transparent mr-1.5",onClick:()=>{Is.value=n?null:e},children:s.jsx(Be,{text:c("Close Expand Edit",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(b1,{size:13})})}),s.jsx(un,{className:"hover:bg-transparent",onClick:()=>{qd()},children:s.jsx(Be,{text:c("Close Edit",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(wr,{size:18})})})]}),g.value&&s.jsxs(me,{className:"w-full justify-start items-center",children:[s.jsx(ho,{tabIndex:0,enableEmoji:!1,className:"bg-white w-full ml-2 rounded-md text-sm min-w-[120px]",classNameArea:"!pb-1",placeholder:c("Enter clip note",{ns:"dashboard"}),rows:1,autoFocus:!0,autoCorrect:"off",spellCheck:!1,enableEmojiInside:!0,label:"",maxRows:5,value:h.value,onKeyDown:b=>pe(this,null,function*(){b.stopPropagation(),b.key==="Escape"&&(g.value=!1)}),defaultValue:a!=null?a:"",onChange:b=>{h.value=b.target.value}}),s.jsxs(me,{className:"ml-2",children:[s.jsx(Be,{text:c("Save",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>pe(this,null,function*(){yield S({updatedItem:{description:h.value,itemId:e}}),setTimeout(()=>{g.value=!1},200)}),children:s.jsx($t,{size:18})})})}),s.jsx(Be,{text:c("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{g.value=!1},children:s.jsx(wr,{size:18})})})})]})]})]})})}function BU(e){var t,r;return s.jsxs("svg",{width:(t=e.width)!=null?t:"24px",height:(r=e.height)!=null?r:"24px",className:e.className,onClick:e.onClick,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}),s.jsx("rect",{x:"6.881",y:"6.83",width:"10.2",height:"10.2",className:"opacity-50",stroke:"none",fill:"currentColor"})]})}function UU(e){var t,r;return s.jsxs("svg",{width:(t=e.width)!=null?t:"24px",height:(r=e.height)!=null?r:"24px",className:e.className,viewBox:"0 0 24 24",onClick:e.onClick,fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}),s.jsx("path",{fill:"currentColor",stroke:"none",d:"m18.4044 17.0597-1.3474 1.3474H8.2988l1.3474-1.3474h8.7582ZM14.52 5.0053l3.811 3.811-.5695.7343-1.0281 1.3106-.6031.7568-.5374.6632-.3597.436-.4222.4997-.2734.3133-.2364.2606-.1994.2081-.4734.4683-.9742.9883-.514.5288-.1854-.0092-.1944-.003c-.3311 0-.699.0257-1.1035.077l-.2536.0356-.2478.0408-.237.0439-.3247.067-.6212.1496-2.021 1.0105-1.3475.3369.3369-1.3474 1.0105-2.0211.032-.076.0564-.1558.0474-.1502.0516-.187a6.8003 6.8003 0 0 0 .1495-.7784 10.6177 10.6177 0 0 0 .088-1.797l.1045-.1176.1065-.1134.497-.5086 1.1954-1.1882.3684-.3535.4097-.3752.3575-.3158.3839-.3296.4103-.3434.4366-.3573.4631-.3711.7442-.5827.529-.4057.5556-.4196.5819-.4335ZM8.7067 12.357a11.8664 11.8664 0 0 1-.036.4396l-.0472.4013a8.6212 8.6212 0 0 1-.112.649l-.1351.572.5888.5408.5814-.0902c.3209-.0649.6365-.1185.9407-.157.1784-.0227.3517-.041.52-.055L8.7067 12.357Zm5.6858-5.5734-.19.144-.7708.5933-.4798.3773-.4525.3626-.425.3476-.3975.3325-.3696.3172-.3416.3015-.4179.383-.3182.3058-.8657.8602 2.861 2.861.1762-.1794.5993-.5981.1285-.1254.174-.181.2194-.2415.2594-.297.412-.4874.3522-.4267.5305-.655.5967-.7486.8638-1.1014-2.1444-2.1445Z"})]})}(function(e,t){(function(r){r(Rc)})(function(r){function n(i,c,u){this.orientation=c,this.scroll=u,this.screen=this.total=this.size=1,this.pos=0,this.node=document.createElement("div"),this.node.className=i+"-"+c,this.inner=this.node.appendChild(document.createElement("div"));var f=this;r.on(this.inner,"mousedown",function(m){if(m.which!=1)return;r.e_preventDefault(m);var v=f.orientation=="horizontal"?"pageX":"pageY",S=m[v],w=f.pos;function g(){r.off(document,"mousemove",b),r.off(document,"mouseup",g)}function b(C){if(C.which!=1)return g();f.moveTo(w+(C[v]-S)*(f.total/f.size))}r.on(document,"mousemove",b),r.on(document,"mouseup",g)}),r.on(this.node,"click",function(m){r.e_preventDefault(m);var v=f.inner.getBoundingClientRect(),S;f.orientation=="horizontal"?S=m.clientXv.right?1:0:S=m.clientYv.bottom?1:0,f.moveTo(f.pos+S*f.screen)});function h(m){var v=r.wheelEventPixels(m)[f.orientation=="horizontal"?"x":"y"],S=f.pos;f.moveTo(f.pos+v),f.pos!=S&&r.e_preventDefault(m)}r.on(this.node,"mousewheel",h),r.on(this.node,"DOMMouseScroll",h)}n.prototype.setPos=function(i,c){return i<0&&(i=0),i>this.total-this.screen&&(i=this.total-this.screen),!c&&i==this.pos?!1:(this.pos=i,this.inner.style[this.orientation=="horizontal"?"left":"top"]=i*(this.size/this.total)+"px",!0)},n.prototype.moveTo=function(i){this.setPos(i)&&this.scroll(i,this.orientation)};var a=10;n.prototype.update=function(i,c,u){var f=this.screen!=c||this.total!=i||this.size!=u;f&&(this.screen=c,this.total=i,this.size=u);var h=this.screen*(this.size/this.total);hi.clientWidth+1,h=i.scrollHeight>i.clientHeight+1;return this.vert.node.style.display=h?"block":"none",this.horiz.node.style.display=f?"block":"none",h&&(this.vert.update(i.scrollHeight,i.clientHeight,i.viewHeight-(f?u:0)),this.vert.node.style.bottom=f?u+"px":"0"),f&&(this.horiz.update(i.scrollWidth,i.clientWidth,i.viewWidth-(h?u:0)-i.barLeft),this.horiz.node.style.right=h?u+"px":"0",this.horiz.node.style.left=i.barLeft+"px"),{right:h?u:0,bottom:f?u:0}},o.prototype.setScrollTop=function(i){this.vert.setPos(i)},o.prototype.setScrollLeft=function(i){this.horiz.setPos(i)},o.prototype.clear=function(){var i=this.horiz.node.parentNode;i.removeChild(this.horiz.node),i.removeChild(this.vert.node)},r.scrollbarModel.simple=function(i,c){return new o("CodeMirror-simplescroll",i,c)},r.scrollbarModel.overlay=function(i,c){return new o("CodeMirror-overlayscroll",i,c)}})})();var qD={exports:{}},KD;function d2e(){return KD||(KD=1,function(e,t){(function(r){r(Rc)})(function(r){r.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var n=0;n-1&&o.substring(u+1,o.length);if(f)return r.findModeByExtension(f)},r.findModeByName=function(o){o=o.toLowerCase();for(var i=0;i!?|~^@]/,w=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function g(ne){for(var de=!1,Me,ze=!1;(Me=ne.next())!=null;){if(!de){if(Me=="/"&&!ze)return;Me=="["?ze=!0:ze&&Me=="]"&&(ze=!1)}de=!de&&Me=="\\"}}var b,C;function j(ne,de,Me){return b=ne,C=Me,de}function E(ne,de){var Me=ne.next();if(Me=='"'||Me=="'")return de.tokenize=N(Me),de.tokenize(ne,de);if(Me=="."&&ne.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return j("number","number");if(Me=="."&&ne.match(".."))return j("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(Me))return j(Me);if(Me=="="&&ne.eat(">"))return j("=>","operator");if(Me=="0"&&ne.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return j("number","number");if(/\d/.test(Me))return ne.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),j("number","number");if(Me=="/")return ne.eat("*")?(de.tokenize=T,T(ne,de)):ne.eat("/")?(ne.skipToEnd(),j("comment","comment")):yr(ne,de,1)?(g(ne),ne.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),j("regexp","string-2")):(ne.eat("="),j("operator","operator",ne.current()));if(Me=="`")return de.tokenize=A,A(ne,de);if(Me=="#"&&ne.peek()=="!")return ne.skipToEnd(),j("meta","meta");if(Me=="#"&&ne.eatWhile(m))return j("variable","property");if(Me=="<"&&ne.match("!--")||Me=="-"&&ne.match("->")&&!/\S/.test(ne.string.slice(0,ne.start)))return ne.skipToEnd(),j("comment","comment");if(S.test(Me))return(Me!=">"||!de.lexical||de.lexical.type!=">")&&(ne.eat("=")?(Me=="!"||Me=="=")&&ne.eat("="):/[<>*+\-|&?]/.test(Me)&&(ne.eat(Me),Me==">"&&ne.eat(Me))),Me=="?"&&ne.eat(".")?j("."):j("operator","operator",ne.current());if(m.test(Me)){ne.eatWhile(m);var ze=ne.current();if(de.lastType!="."){if(v.propertyIsEnumerable(ze)){var Ne=v[ze];return j(Ne.type,Ne.style,ze)}if(ze=="async"&&ne.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return j("async","keyword",ze)}return j("variable","variable",ze)}}function N(ne){return function(de,Me){var ze=!1,Ne;if(c&&de.peek()=="@"&&de.match(w))return Me.tokenize=E,j("jsonld-keyword","meta");for(;(Ne=de.next())!=null&&!(Ne==ne&&!ze);)ze=!ze&&Ne=="\\";return ze||(Me.tokenize=E),j("string","string")}}function T(ne,de){for(var Me=!1,ze;ze=ne.next();){if(ze=="/"&&Me){de.tokenize=E;break}Me=ze=="*"}return j("comment","comment")}function A(ne,de){for(var Me=!1,ze;(ze=ne.next())!=null;){if(!Me&&(ze=="`"||ze=="$"&&ne.eat("{"))){de.tokenize=E;break}Me=!Me&&ze=="\\"}return j("quasi","string-2",ne.current())}var M="([{}])";function D(ne,de){de.fatArrowAt&&(de.fatArrowAt=null);var Me=ne.string.indexOf("=>",ne.start);if(!(Me<0)){if(h){var ze=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(ne.string.slice(ne.start,Me));ze&&(Me=ze.index)}for(var Ne=0,et=!1,fr=Me-1;fr>=0;--fr){var Gr=ne.string.charAt(fr),mn=M.indexOf(Gr);if(mn>=0&&mn<3){if(!Ne){++fr;break}if(--Ne==0){Gr=="("&&(et=!0);break}}else if(mn>=3&&mn<6)++Ne;else if(m.test(Gr))et=!0;else if(/["'\/`]/.test(Gr))for(;;--fr){if(fr==0)return;var Ol=ne.string.charAt(fr-1);if(Ol==Gr&&ne.string.charAt(fr-2)!="\\"){fr--;break}}else if(et&&!Ne){++fr;break}}et&&!Ne&&(de.fatArrowAt=fr)}}var L={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function z(ne,de,Me,ze,Ne,et){this.indented=ne,this.column=de,this.type=Me,this.prev=Ne,this.info=et,ze!=null&&(this.align=ze)}function H(ne,de){if(!f)return!1;for(var Me=ne.localVars;Me;Me=Me.next)if(Me.name==de)return!0;for(var ze=ne.context;ze;ze=ze.prev)for(var Me=ze.vars;Me;Me=Me.next)if(Me.name==de)return!0}function V(ne,de,Me,ze,Ne){var et=ne.cc;for(I.state=ne,I.stream=Ne,I.marked=null,I.cc=et,I.style=de,ne.lexical.hasOwnProperty("align")||(ne.lexical.align=!0);;){var fr=et.length?et.pop():u?ue:fe;if(fr(Me,ze)){for(;et.length&&et[et.length-1].lex;)et.pop()();return I.marked?I.marked:Me=="variable"&&H(ne,ze)?"variable-2":de}}}var I={state:null,column:null,marked:null,cc:null};function q(){for(var ne=arguments.length-1;ne>=0;ne--)I.cc.push(arguments[ne])}function _(){return q.apply(null,arguments),!0}function $(ne,de){for(var Me=de;Me;Me=Me.next)if(Me.name==ne)return!0;return!1}function U(ne){var de=I.state;if(I.marked="def",!!f){if(de.context){if(de.lexical.info=="var"&&de.context&&de.context.block){var Me=K(ne,de.context);if(Me!=null){de.context=Me;return}}else if(!$(ne,de.localVars)){de.localVars=new F(ne,de.localVars);return}}a.globalVars&&!$(ne,de.globalVars)&&(de.globalVars=new F(ne,de.globalVars))}}function K(ne,de){if(de)if(de.block){var Me=K(ne,de.prev);return Me?Me==de.prev?de:new B(Me,de.vars,!0):null}else return $(ne,de.vars)?de:new B(de.prev,new F(ne,de.vars),!1);else return null}function Y(ne){return ne=="public"||ne=="private"||ne=="protected"||ne=="abstract"||ne=="readonly"}function B(ne,de,Me){this.prev=ne,this.vars=de,this.block=Me}function F(ne,de){this.name=ne,this.next=de}var G=new F("this",new F("arguments",null));function X(){I.state.context=new B(I.state.context,I.state.localVars,!1),I.state.localVars=G}function se(){I.state.context=new B(I.state.context,I.state.localVars,!0),I.state.localVars=null}X.lex=se.lex=!0;function re(){I.state.localVars=I.state.context.vars,I.state.context=I.state.context.prev}re.lex=!0;function ie(ne,de){var Me=function(){var ze=I.state,Ne=ze.indented;if(ze.lexical.type=="stat")Ne=ze.lexical.indented;else for(var et=ze.lexical;et&&et.type==")"&&et.align;et=et.prev)Ne=et.indented;ze.lexical=new z(Ne,I.stream.column(),ne,null,ze.lexical,de)};return Me.lex=!0,Me}function oe(){var ne=I.state;ne.lexical.prev&&(ne.lexical.type==")"&&(ne.indented=ne.lexical.indented),ne.lexical=ne.lexical.prev)}oe.lex=!0;function ae(ne){function de(Me){return Me==ne?_():ne==";"||Me=="}"||Me==")"||Me=="]"?q():_(de)}return de}function fe(ne,de){return ne=="var"?_(ie("vardef",de),$e,ae(";"),oe):ne=="keyword a"?_(ie("form"),Ce,fe,oe):ne=="keyword b"?_(ie("form"),fe,oe):ne=="keyword d"?I.stream.match(/^\s*$/,!1)?_():_(ie("stat"),Ee,ae(";"),oe):ne=="debugger"?_(ae(";")):ne=="{"?_(ie("}"),se,Zt,oe,re):ne==";"?_():ne=="if"?(I.state.lexical.info=="else"&&I.state.cc[I.state.cc.length-1]==oe&&I.state.cc.pop()(),_(ie("form"),Ce,fe,oe,Xt)):ne=="function"?_(qr):ne=="for"?_(ie("form"),se,Pr,fe,re,oe):ne=="class"||h&&de=="interface"?(I.marked="keyword",_(ie("form",ne=="class"?ne:de),Kr,oe)):ne=="variable"?h&&de=="declare"?(I.marked="keyword",_(fe)):h&&(de=="module"||de=="enum"||de=="type")&&I.stream.match(/^\s*\w/,!1)?(I.marked="keyword",de=="enum"?_(Je):de=="type"?_(xr,ae("operator"),Le,ae(";")):_(ie("form"),Ye,ae("{"),ie("}"),Zt,oe,oe)):h&&de=="namespace"?(I.marked="keyword",_(ie("form"),ue,fe,oe)):h&&de=="abstract"?(I.marked="keyword",_(fe)):_(ie("stat"),pt):ne=="switch"?_(ie("form"),Ce,ae("{"),ie("}","switch"),se,Zt,oe,oe,re):ne=="case"?_(ue,ae(":")):ne=="default"?_(ae(":")):ne=="catch"?_(ie("form"),X,le,fe,oe,re):ne=="export"?_(ie("stat"),Qe,oe):ne=="import"?_(ie("stat"),st,oe):ne=="async"?_(fe):de=="@"?_(ue,fe):q(ie("stat"),ue,ae(";"),oe)}function le(ne){if(ne=="(")return _(dr,ae(")"))}function ue(ne,de){return Pe(ne,de,!1)}function be(ne,de){return Pe(ne,de,!0)}function Ce(ne){return ne!="("?q():_(ie(")"),Ee,ae(")"),oe)}function Pe(ne,de,Me){if(I.state.fatArrowAt==I.stream.start){var ze=Me?Et:Ke;if(ne=="(")return _(X,ie(")"),Vt(dr,")"),oe,ae("=>"),ze,re);if(ne=="variable")return q(X,Ye,ae("=>"),ze,re)}var Ne=Me?Ve:Oe;return L.hasOwnProperty(ne)?_(Ne):ne=="function"?_(qr,Ne):ne=="class"||h&&de=="interface"?(I.marked="keyword",_(ie("form"),Ns,oe)):ne=="keyword c"||ne=="async"?_(Me?be:ue):ne=="("?_(ie(")"),Ee,ae(")"),oe,Ne):ne=="operator"||ne=="spread"?_(Me?be:ue):ne=="["?_(ie("]"),yt,oe,Ne):ne=="{"?Ge(ht,"}",null,Ne):ne=="quasi"?q(ct,Ne):ne=="new"?_(Re(Me)):_()}function Ee(ne){return ne.match(/[;\}\)\],]/)?q():q(ue)}function Oe(ne,de){return ne==","?_(Ee):Ve(ne,de,!1)}function Ve(ne,de,Me){var ze=Me==!1?Oe:Ve,Ne=Me==!1?ue:be;if(ne=="=>")return _(X,Me?Et:Ke,re);if(ne=="operator")return/\+\+|--/.test(de)||h&&de=="!"?_(ze):h&&de=="<"&&I.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?_(ie(">"),Vt(Le,">"),oe,ze):de=="?"?_(ue,ae(":"),Ne):_(Ne);if(ne=="quasi")return q(ct,ze);if(ne!=";"){if(ne=="(")return Ge(be,")","call",ze);if(ne==".")return _(_t,ze);if(ne=="[")return _(ie("]"),Ee,ae("]"),oe,ze);if(h&&de=="as")return I.marked="keyword",_(Le,ze);if(ne=="regexp")return I.state.lastType=I.marked="operator",I.stream.backUp(I.stream.pos-I.stream.start-1),_(Ne)}}function ct(ne,de){return ne!="quasi"?q():de.slice(de.length-2)!="${"?_(ct):_(Ee,gt)}function gt(ne){if(ne=="}")return I.marked="string-2",I.state.tokenize=A,_(ct)}function Ke(ne){return D(I.stream,I.state),q(ne=="{"?fe:ue)}function Et(ne){return D(I.stream,I.state),q(ne=="{"?fe:be)}function Re(ne){return function(de){return de=="."?_(ne?ot:xt):de=="variable"&&h?_(nt,ne?Ve:Oe):q(ne?be:ue)}}function xt(ne,de){if(de=="target")return I.marked="keyword",_(Oe)}function ot(ne,de){if(de=="target")return I.marked="keyword",_(Ve)}function pt(ne){return ne==":"?_(oe,fe):q(Oe,ae(";"),oe)}function _t(ne){if(ne=="variable")return I.marked="property",_()}function ht(ne,de){if(ne=="async")return I.marked="property",_(ht);if(ne=="variable"||I.style=="keyword"){if(I.marked="property",de=="get"||de=="set")return _(It);var Me;return h&&I.state.fatArrowAt==I.stream.start&&(Me=I.stream.match(/^\s*:\s*/,!1))&&(I.state.fatArrowAt=I.stream.pos+Me[0].length),_(Ft)}else{if(ne=="number"||ne=="string")return I.marked=c?"property":I.style+" property",_(Ft);if(ne=="jsonld-keyword")return _(Ft);if(h&&Y(de))return I.marked="keyword",_(ht);if(ne=="[")return _(ue,nr,ae("]"),Ft);if(ne=="spread")return _(be,Ft);if(de=="*")return I.marked="keyword",_(ht);if(ne==":")return q(Ft)}}function It(ne){return ne!="variable"?q(Ft):(I.marked="property",_(qr))}function Ft(ne){if(ne==":")return _(be);if(ne=="(")return q(qr)}function Vt(ne,de,Me){function ze(Ne,et){if(Me?Me.indexOf(Ne)>-1:Ne==","){var fr=I.state.lexical;return fr.info=="call"&&(fr.pos=(fr.pos||0)+1),_(function(Gr,mn){return Gr==de||mn==de?q():q(ne)},ze)}return Ne==de||et==de?_():Me&&Me.indexOf(";")>-1?q(ne):_(ae(de))}return function(Ne,et){return Ne==de||et==de?_():q(ne,ze)}}function Ge(ne,de,Me){for(var ze=3;ze"),Le);if(ne=="quasi")return q(Se,Fe)}function Mt(ne){if(ne=="=>")return _(Le)}function Ze(ne){return ne.match(/[\}\)\]]/)?_():ne==","||ne==";"?_(Ze):q(mr,Ze)}function mr(ne,de){if(ne=="variable"||I.style=="keyword")return I.marked="property",_(mr);if(de=="?"||ne=="number"||ne=="string")return _(mr);if(ne==":")return _(Le);if(ne=="[")return _(ae("variable"),vr,ae("]"),mr);if(ne=="(")return q(Gt,mr);if(!ne.match(/[;\}\)\],]/))return _()}function Se(ne,de){return ne!="quasi"?q():de.slice(de.length-2)!="${"?_(Se):_(Le,je)}function je(ne){if(ne=="}")return I.marked="string-2",I.state.tokenize=A,_(Se)}function we(ne,de){return ne=="variable"&&I.stream.match(/^\s*[?:]/,!1)||de=="?"?_(we):ne==":"?_(Le):ne=="spread"?_(we):q(Le)}function Fe(ne,de){if(de=="<")return _(ie(">"),Vt(Le,">"),oe,Fe);if(de=="|"||ne=="."||de=="&")return _(Le);if(ne=="[")return _(Le,ae("]"),Fe);if(de=="extends"||de=="implements")return I.marked="keyword",_(Le);if(de=="?")return _(Le,ae(":"),Le)}function nt(ne,de){if(de=="<")return _(ie(">"),Vt(Le,">"),oe,Fe)}function rt(){return q(Le,Ie)}function Ie(ne,de){if(de=="=")return _(Le)}function $e(ne,de){return de=="enum"?(I.marked="keyword",_(Je)):q(Ye,nr,Tt,Rt)}function Ye(ne,de){if(h&&Y(de))return I.marked="keyword",_(Ye);if(ne=="variable")return U(de),_();if(ne=="spread")return _(Ye);if(ne=="[")return Ge(qt,"]");if(ne=="{")return Ge(mt,"}")}function mt(ne,de){return ne=="variable"&&!I.stream.match(/^\s*:/,!1)?(U(de),_(Tt)):(ne=="variable"&&(I.marked="property"),ne=="spread"?_(Ye):ne=="}"?q():ne=="["?_(ue,ae("]"),ae(":"),mt):_(ae(":"),Ye,Tt))}function qt(){return q(Ye,Tt)}function Tt(ne,de){if(de=="=")return _(be)}function Rt(ne){if(ne==",")return _($e)}function Xt(ne,de){if(ne=="keyword b"&&de=="else")return _(ie("form","else"),fe,oe)}function Pr(ne,de){if(de=="await")return _(Pr);if(ne=="(")return _(ie(")"),Nr,oe)}function Nr(ne){return ne=="var"?_($e,Vr):ne=="variable"?_(Vr):q(Vr)}function Vr(ne,de){return ne==")"?_():ne==";"?_(Vr):de=="in"||de=="of"?(I.marked="keyword",_(ue,Vr)):q(ue,Vr)}function qr(ne,de){if(de=="*")return I.marked="keyword",_(qr);if(ne=="variable")return U(de),_(qr);if(ne=="(")return _(X,ie(")"),Vt(dr,")"),oe,pr,fe,re);if(h&&de=="<")return _(ie(">"),Vt(rt,">"),oe,qr)}function Gt(ne,de){if(de=="*")return I.marked="keyword",_(Gt);if(ne=="variable")return U(de),_(Gt);if(ne=="(")return _(X,ie(")"),Vt(dr,")"),oe,pr,re);if(h&&de=="<")return _(ie(">"),Vt(rt,">"),oe,Gt)}function xr(ne,de){if(ne=="keyword"||ne=="variable")return I.marked="type",_(xr);if(de=="<")return _(ie(">"),Vt(rt,">"),oe)}function dr(ne,de){return de=="@"&&_(ue,dr),ne=="spread"?_(dr):h&&Y(de)?(I.marked="keyword",_(dr)):h&&ne=="this"?_(nr,Tt):q(Ye,nr,Tt)}function Ns(ne,de){return ne=="variable"?Kr(ne,de):ar(ne,de)}function Kr(ne,de){if(ne=="variable")return U(de),_(ar)}function ar(ne,de){if(de=="<")return _(ie(">"),Vt(rt,">"),oe,ar);if(de=="extends"||de=="implements"||h&&ne==",")return de=="implements"&&(I.marked="keyword"),_(h?Le:ue,ar);if(ne=="{")return _(ie("}"),ut,oe)}function ut(ne,de){if(ne=="async"||ne=="variable"&&(de=="static"||de=="get"||de=="set"||h&&Y(de))&&I.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return I.marked="keyword",_(ut);if(ne=="variable"||I.style=="keyword")return I.marked="property",_(ge,ut);if(ne=="number"||ne=="string")return _(ge,ut);if(ne=="[")return _(ue,nr,ae("]"),ge,ut);if(de=="*")return I.marked="keyword",_(ut);if(h&&ne=="(")return q(Gt,ut);if(ne==";"||ne==",")return _(ut);if(ne=="}")return _();if(de=="@")return _(ue,ut)}function ge(ne,de){if(de=="!"||de=="?")return _(ge);if(ne==":")return _(Le,Tt);if(de=="=")return _(be);var Me=I.state.lexical.prev,ze=Me&&Me.info=="interface";return q(ze?Gt:qr)}function Qe(ne,de){return de=="*"?(I.marked="keyword",_(Jt,ae(";"))):de=="default"?(I.marked="keyword",_(ue,ae(";"))):ne=="{"?_(Vt(Xe,"}"),Jt,ae(";")):q(fe)}function Xe(ne,de){if(de=="as")return I.marked="keyword",_(ae("variable"));if(ne=="variable")return q(be,Xe)}function st(ne){return ne=="string"?_():ne=="("?q(ue):ne=="."?q(Oe):q(Ht,Dt,Jt)}function Ht(ne,de){return ne=="{"?Ge(Ht,"}"):(ne=="variable"&&U(de),de=="*"&&(I.marked="keyword"),_(Ut))}function Dt(ne){if(ne==",")return _(Ht,Dt)}function Ut(ne,de){if(de=="as")return I.marked="keyword",_(Ht)}function Jt(ne,de){if(de=="from")return I.marked="keyword",_(ue)}function yt(ne){return ne=="]"?_():q(Vt(be,"]"))}function Je(){return q(ie("form"),Ye,ae("{"),ie("}"),Vt(Wt,"}"),oe,oe)}function Wt(){return q(Ye,Tt)}function Mr(ne,de){return ne.lastType=="operator"||ne.lastType==","||S.test(de.charAt(0))||/[,.]/.test(de.charAt(0))}function yr(ne,de,Me){return de.tokenize==E&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(de.lastType)||de.lastType=="quasi"&&/\{\s*$/.test(ne.string.slice(0,ne.pos-(Me||0)))}return{startState:function(ne){var de={tokenize:E,lastType:"sof",cc:[],lexical:new z((ne||0)-o,0,"block",!1),localVars:a.localVars,context:a.localVars&&new B(null,null,!1),indented:ne||0};return a.globalVars&&typeof a.globalVars=="object"&&(de.globalVars=a.globalVars),de},token:function(ne,de){if(ne.sol()&&(de.lexical.hasOwnProperty("align")||(de.lexical.align=!1),de.indented=ne.indentation(),D(ne,de)),de.tokenize!=T&&ne.eatSpace())return null;var Me=de.tokenize(ne,de);return b=="comment"?Me:(de.lastType=b=="operator"&&(C=="++"||C=="--")?"incdec":b,V(de,Me,b,C,ne))},indent:function(ne,de){if(ne.tokenize==T||ne.tokenize==A)return r.Pass;if(ne.tokenize!=E)return 0;var Me=de&&de.charAt(0),ze=ne.lexical,Ne;if(!/^\s*else\b/.test(de))for(var et=ne.cc.length-1;et>=0;--et){var fr=ne.cc[et];if(fr==oe)ze=ze.prev;else if(fr!=Xt&&fr!=re)break}for(;(ze.type=="stat"||ze.type=="form")&&(Me=="}"||(Ne=ne.cc[ne.cc.length-1])&&(Ne==Oe||Ne==Ve)&&!/^[,\.=+\-*:?[\(]/.test(de));)ze=ze.prev;i&&ze.type==")"&&ze.prev.type=="stat"&&(ze=ze.prev);var Gr=ze.type,mn=Me==Gr;return Gr=="vardef"?ze.indented+(ne.lastType=="operator"||ne.lastType==","?ze.info.length+1:0):Gr=="form"&&Me=="{"?ze.indented:Gr=="form"?ze.indented+o:Gr=="stat"?ze.indented+(Mr(ne,de)?i||o:0):ze.info=="switch"&&!mn&&a.doubleIndentSwitch!=!1?ze.indented+(/^(?:case|default)\b/.test(de)?o:2*o):ze.align?ze.column+(mn?0:1):ze.indented+(mn?0:o)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:u?null:"/*",blockCommentEnd:u?null:"*/",blockCommentContinue:u?null:" * ",lineComment:u?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:u?"json":"javascript",jsonldMode:c,jsonMode:u,expressionAllowed:yr,skipExpression:function(ne){V(ne,"atom","atom","true",new r.StringStream("",2,null))}}}),r.registerHelper("wordChars","javascript",/[\w$]/),r.defineMIME("text/javascript","javascript"),r.defineMIME("text/ecmascript","javascript"),r.defineMIME("application/javascript","javascript"),r.defineMIME("application/x-javascript","javascript"),r.defineMIME("application/ecmascript","javascript"),r.defineMIME("application/json",{name:"javascript",json:!0}),r.defineMIME("application/x-json",{name:"javascript",json:!0}),r.defineMIME("application/manifest+json",{name:"javascript",json:!0}),r.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),r.defineMIME("text/typescript",{name:"javascript",typescript:!0}),r.defineMIME("application/typescript",{name:"javascript",typescript:!0})})}()),GD.exports}var WU=f2e();const h2e=rl(WU),VU=iw({__proto__:null,default:h2e},[WU]);var ZD={exports:{}},XD;function p2e(){return XD||(XD=1,function(e,t){(function(r){r(Rc)})(function(r){var n={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},a={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};r.defineMode("xml",function(o,i){var c=o.indentUnit,u={},f=i.htmlMode?n:a;for(var h in f)u[h]=f[h];for(var h in i)u[h]=i[h];var m,v;function S(_,$){function U(B){return $.tokenize=B,B(_,$)}var K=_.next();if(K=="<")return _.eat("!")?_.eat("[")?_.match("CDATA[")?U(b("atom","]]>")):null:_.match("--")?U(b("comment","-->")):_.match("DOCTYPE",!0,!0)?(_.eatWhile(/[\w\._\-]/),U(C(1))):null:_.eat("?")?(_.eatWhile(/[\w\._\-]/),$.tokenize=b("meta","?>"),"meta"):(m=_.eat("/")?"closeTag":"openTag",$.tokenize=w,"tag bracket");if(K=="&"){var Y;return _.eat("#")?_.eat("x")?Y=_.eatWhile(/[a-fA-F\d]/)&&_.eat(";"):Y=_.eatWhile(/[\d]/)&&_.eat(";"):Y=_.eatWhile(/[\w\.\-:]/)&&_.eat(";"),Y?"atom":"error"}else return _.eatWhile(/[^&<]/),null}S.isInText=!0;function w(_,$){var U=_.next();if(U==">"||U=="/"&&_.eat(">"))return $.tokenize=S,m=U==">"?"endTag":"selfcloseTag","tag bracket";if(U=="=")return m="equals",null;if(U=="<"){$.tokenize=S,$.state=A,$.tagName=$.tagStart=null;var K=$.tokenize(_,$);return K?K+" tag error":"tag error"}else return/[\'\"]/.test(U)?($.tokenize=g(U),$.stringStartCol=_.column(),$.tokenize(_,$)):(_.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function g(_){var $=function(U,K){for(;!U.eol();)if(U.next()==_){K.tokenize=w;break}return"string"};return $.isInAttribute=!0,$}function b(_,$){return function(U,K){for(;!U.eol();){if(U.match($)){K.tokenize=S;break}U.next()}return _}}function C(_){return function($,U){for(var K;(K=$.next())!=null;){if(K=="<")return U.tokenize=C(_+1),U.tokenize($,U);if(K==">")if(_==1){U.tokenize=S;break}else return U.tokenize=C(_-1),U.tokenize($,U)}return"meta"}}function j(_){return _&&_.toLowerCase()}function E(_,$,U){this.prev=_.context,this.tagName=$||"",this.indent=_.indented,this.startOfLine=U,(u.doNotIndent.hasOwnProperty($)||_.context&&_.context.noIndent)&&(this.noIndent=!0)}function N(_){_.context&&(_.context=_.context.prev)}function T(_,$){for(var U;;){if(!_.context||(U=_.context.tagName,!u.contextGrabbers.hasOwnProperty(j(U))||!u.contextGrabbers[j(U)].hasOwnProperty(j($))))return;N(_)}}function A(_,$,U){return _=="openTag"?(U.tagStart=$.column(),M):_=="closeTag"?D:A}function M(_,$,U){return _=="word"?(U.tagName=$.current(),v="tag",H):u.allowMissingTagName&&_=="endTag"?(v="tag bracket",H(_,$,U)):(v="error",M)}function D(_,$,U){if(_=="word"){var K=$.current();return U.context&&U.context.tagName!=K&&u.implicitlyClosed.hasOwnProperty(j(U.context.tagName))&&N(U),U.context&&U.context.tagName==K||u.matchClosing===!1?(v="tag",L):(v="tag error",z)}else return u.allowMissingTagName&&_=="endTag"?(v="tag bracket",L(_,$,U)):(v="error",z)}function L(_,$,U){return _!="endTag"?(v="error",L):(N(U),A)}function z(_,$,U){return v="error",L(_,$,U)}function H(_,$,U){if(_=="word")return v="attribute",V;if(_=="endTag"||_=="selfcloseTag"){var K=U.tagName,Y=U.tagStart;return U.tagName=U.tagStart=null,_=="selfcloseTag"||u.autoSelfClosers.hasOwnProperty(j(K))?T(U,K):(T(U,K),U.context=new E(U,K,Y==U.indented)),A}return v="error",H}function V(_,$,U){return _=="equals"?I:(u.allowMissing||(v="error"),H(_,$,U))}function I(_,$,U){return _=="string"?q:_=="word"&&u.allowUnquoted?(v="string",H):(v="error",H(_,$,U))}function q(_,$,U){return _=="string"?q:H(_,$,U)}return{startState:function(_){var $={tokenize:S,state:A,indented:_||0,tagName:null,tagStart:null,context:null};return _!=null&&($.baseIndent=_),$},token:function(_,$){if(!$.tagName&&_.sol()&&($.indented=_.indentation()),_.eatSpace())return null;m=null;var U=$.tokenize(_,$);return(U||m)&&U!="comment"&&(v=null,$.state=$.state(m||U,_,$),v&&(U=v=="error"?U+" error":v)),U},indent:function(_,$,U){var K=_.context;if(_.tokenize.isInAttribute)return _.tagStart==_.indented?_.stringStartCol+1:_.indented+c;if(K&&K.noIndent)return r.Pass;if(_.tokenize!=w&&_.tokenize!=S)return U?U.match(/^(\s*)/)[0].length:0;if(_.tagName)return u.multilineTagIndentPastTag!==!1?_.tagStart+_.tagName.length+2:_.tagStart+c*(u.multilineTagIndentFactor||1);if(u.alignCDATA&&/$/,blockCommentStart:"",configuration:u.htmlMode?"html":"xml",helperType:u.htmlMode?"html":"xml",skipAttribute:function(_){_.state==I&&(_.state=H)},xmlCurrentTag:function(_){return _.tagName?{name:_.tagName,close:_.type=="closeTag"}:null},xmlCurrentContext:function(_){for(var $=[],U=_.context;U;U=U.prev)$.push(U.tagName);return $.reverse()}}}),r.defineMIME("text/xml","xml"),r.defineMIME("application/xml","xml"),r.mimeModes.hasOwnProperty("text/html")||r.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),ZD.exports}var qU=p2e();const m2e=rl(qU),KU=iw({__proto__:null,default:m2e},[qU]);(function(e,t){(function(r){r(Rc)})(function(r){var n="CodeMirror-activeline",a="CodeMirror-activeline-background",o="CodeMirror-activeline-gutter";r.defineOption("styleActiveLine",!1,function(h,m,v){var S=v==r.Init?!1:v;m!=S&&(S&&(h.off("beforeSelectionChange",f),i(h),delete h.state.activeLines),m&&(h.state.activeLines=[],u(h,h.listSelections()),h.on("beforeSelectionChange",f)))});function i(h){for(var m=0;m2&&T.token&&typeof T.token!="string"){for(var D=2;D-1)return r.Pass;var C=w.indent.length-1,j=v[w.state];e:for(;;){for(var E=0;E{var j;const{options:r={},value:n="",width:a="100%",height:o="100%",isDark:i=!1,isCmd:c=!1,autofocus:u=!0,lineWrapping:f,lineNumbers:h=!0,lazyLoadMode:m=!0}=e,v=p.useRef(null),S=p.useRef(null),w=p.useRef(e),g={tabSize:2,scrollbarStyle:"simple",lineNumbers:h,viewportMargin:1/0,styleActiveLine:!0,lineWrapping:f,autofocus:u,lineNumberFormatter:E=>c?">_":"".concat(E),showCursorWhenSelecting:!0};p.useImperativeHandle(t,()=>({editor:v,textarea:S.current})),w.current=e;function b(){const N=Object.keys(e).filter(A=>/^on+/.test(A)),T={};return N.forEach(A=>{const M=A.slice(2);M&&M[0]&&(T[A]=M.replace(M[0],M[0].toLowerCase()))}),T}function C(T){return pe(this,arguments,function*(E,N={}){if(typeof N=="object"&&window){const A=Yg.findModeByName(N.mode||"");m&&A&&A.mode&&(A.mode==="dart"&&(yield ve(()=>import("./clike-CxakbZz2.js").then(M=>M.c),[])),yield v2e("codemirror/mode/".concat(A.mode,"/").concat(A.mode))),A&&(N.mode=A.mime),Object.keys(N).forEach(M=>{(N[M]||N[M]===!1)&&JSON.stringify(N[M])&&E.setOption(M,N[M])})}})}return p.useEffect(()=>{if(!v.current&&S.current){const E=Rc.fromTextArea(S.current,R(R({},g),r)),N=b();Object.keys(N).forEach(T=>{E.on(N[T],(...A)=>w.current[T](...A))}),(a||o)&&E.setSize(a,o),v.current=E,C(E,R(R({},g),r))}return()=>{v.current&&(v.current.toTextArea(),v.current=null)}},[S.current]),p.useMemo(()=>{if(!v.current)return;const E=v.current.getValue();n!==void 0&&n!==E&&v.current.setValue(n)},[n,v]),p.useMemo(()=>{v.current&&v.current.setSize(a,o)},[a,o,v]),p.useMemo(()=>{v.current&&C(v.current,R(R({},g),r))},[v,r]),s.jsxs("div",{className:"".concat(i?"code-is-dark":"code-is-light"," w-full"),children:[s.jsx("textarea",{ref:S,defaultValue:n,className:"hidden"}),s.jsx(me,{className:"absolute w-full items-end justify-end h-0",children:s.jsx("div",{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5 relative top-[-16px] right-[36px] select-none",children:(j=r.mode)==null?void 0:j.toString()})})]})});function v2e(e){switch(e){case"codemirror/mode/apl/apl":case"codemirror/mode/apl/apl.js":return ve(()=>import("./apl-CFnSufPM.js").then(t=>t.a),[]);case"codemirror/mode/asciiarmor/asciiarmor":case"codemirror/mode/asciiarmor/asciiarmor.js":return ve(()=>import("./asciiarmor-BYTtikW4.js").then(t=>t.a),[]);case"codemirror/mode/asn.1/asn.1":case"codemirror/mode/asn.1/asn.1.js":return ve(()=>import("./asn.1-CwSg7ZbB.js").then(t=>t.a),[]);case"codemirror/mode/asterisk/asterisk":case"codemirror/mode/asterisk/asterisk.js":return ve(()=>import("./asterisk-BvCaE143.js").then(t=>t.a),[]);case"codemirror/mode/brainfuck/brainfuck":case"codemirror/mode/brainfuck/brainfuck.js":return ve(()=>import("./brainfuck-DPFAy9w-.js").then(t=>t.b),[]);case"codemirror/mode/clike/clike":case"codemirror/mode/clike/clike.js":return ve(()=>import("./clike-CxakbZz2.js").then(t=>t.c),[]);case"codemirror/mode/clojure/clojure":case"codemirror/mode/clojure/clojure.js":return ve(()=>import("./clojure-DPMkRcmr.js").then(t=>t.c),[]);case"codemirror/mode/cmake/cmake":case"codemirror/mode/cmake/cmake.js":return ve(()=>import("./cmake-DlX16bTH.js").then(t=>t.c),[]);case"codemirror/mode/cobol/cobol":case"codemirror/mode/cobol/cobol.js":return ve(()=>import("./cobol-BxLtmPIM.js").then(t=>t.c),[]);case"codemirror/mode/coffeescript/coffeescript":case"codemirror/mode/coffeescript/coffeescript.js":return ve(()=>import("./coffeescript-C2IqjQP0.js").then(t=>t.c),[]);case"codemirror/mode/commonlisp/commonlisp":case"codemirror/mode/commonlisp/commonlisp.js":return ve(()=>import("./commonlisp-BcUNd6H0.js").then(t=>t.c),[]);case"codemirror/mode/crystal/crystal":case"codemirror/mode/crystal/crystal.js":return ve(()=>import("./crystal-CBG_-D6z.js").then(t=>t.c),[]);case"codemirror/mode/css/css":case"codemirror/mode/css/css.js":return ve(()=>import("./css-BRan0Fyo.js").then(t=>t.c),[]);case"codemirror/mode/cypher/cypher":case"codemirror/mode/cypher/cypher.js":return ve(()=>import("./cypher-DbweyIpv.js").then(t=>t.c),[]);case"codemirror/mode/d/d":case"codemirror/mode/d/d.js":return ve(()=>import("./d-BEfz468J.js").then(t=>t.d),[]);case"codemirror/mode/dart/dart":case"codemirror/mode/dart/dart.js":return ve(()=>import("./dart-CygQt6PY.js").then(t=>t.d),__vite__mapDeps([0,1]));case"codemirror/mode/diff/diff":case"codemirror/mode/diff/diff.js":return ve(()=>import("./diff-DaAejCLY.js").then(t=>t.d),[]);case"codemirror/mode/django/django":case"codemirror/mode/django/django.js":return ve(()=>import("./django-Sjro81jv.js").then(t=>t.d),__vite__mapDeps([2,3,4,5]));case"codemirror/mode/dockerfile/dockerfile":case"codemirror/mode/dockerfile/dockerfile.js":return ve(()=>import("./dockerfile-DPmpInxY.js").then(t=>t.d),[]);case"codemirror/mode/dtd/dtd":case"codemirror/mode/dtd/dtd.js":return ve(()=>import("./dtd-ow_clEEc.js").then(t=>t.d),[]);case"codemirror/mode/dylan/dylan":case"codemirror/mode/dylan/dylan.js":return ve(()=>import("./dylan-BVfhrTWK.js").then(t=>t.d),[]);case"codemirror/mode/ebnf/ebnf":case"codemirror/mode/ebnf/ebnf.js":return ve(()=>import("./ebnf-B9M224A_.js").then(t=>t.e),[]);case"codemirror/mode/ecl/ecl":case"codemirror/mode/ecl/ecl.js":return ve(()=>import("./ecl-B5meh9gw.js").then(t=>t.e),[]);case"codemirror/mode/eiffel/eiffel":case"codemirror/mode/eiffel/eiffel.js":return ve(()=>import("./eiffel-DD7t-ryp.js").then(t=>t.e),[]);case"codemirror/mode/elm/elm":case"codemirror/mode/elm/elm.js":return ve(()=>import("./elm-BHV4d9RV.js").then(t=>t.e),[]);case"codemirror/mode/erlang/erlang":case"codemirror/mode/erlang/erlang.js":return ve(()=>import("./erlang-DdL5ZVK2.js").then(t=>t.e),[]);case"codemirror/mode/factor/factor":case"codemirror/mode/factor/factor.js":return ve(()=>import("./factor-DWStm-pK.js").then(t=>t.f),[]);case"codemirror/mode/fcl/fcl":case"codemirror/mode/fcl/fcl.js":return ve(()=>import("./fcl-CZ8p5lKk.js").then(t=>t.f),[]);case"codemirror/mode/forth/forth":case"codemirror/mode/forth/forth.js":return ve(()=>import("./forth-CnszaCOu.js").then(t=>t.f),[]);case"codemirror/mode/fortran/fortran":case"codemirror/mode/fortran/fortran.js":return ve(()=>import("./fortran-DLzQJYhh.js").then(t=>t.f),[]);case"codemirror/mode/gas/gas":case"codemirror/mode/gas/gas.js":return ve(()=>import("./gas-BJvADs7P.js").then(t=>t.g),[]);case"codemirror/mode/gfm/gfm":case"codemirror/mode/gfm/gfm.js":return ve(()=>import("./gfm-Ddm0InR0.js").then(t=>t.g),__vite__mapDeps([6,7,5]));case"codemirror/mode/gherkin/gherkin":case"codemirror/mode/gherkin/gherkin.js":return ve(()=>import("./gherkin-PRnSAK5P.js").then(t=>t.g),[]);case"codemirror/mode/go/go":case"codemirror/mode/go/go.js":return ve(()=>import("./go-BgTqU-sj.js").then(t=>t.g),[]);case"codemirror/mode/groovy/groovy":case"codemirror/mode/groovy/groovy.js":return ve(()=>import("./groovy-ChovKpKQ.js").then(t=>t.g),[]);case"codemirror/mode/haml/haml":case"codemirror/mode/haml/haml.js":return ve(()=>import("./haml-8gzcTXOb.js").then(t=>t.h),__vite__mapDeps([8,3,4,9]));case"codemirror/mode/handlebars/handlebars":case"codemirror/mode/handlebars/handlebars.js":return ve(()=>import("./handlebars-Ck0LrJI6.js").then(t=>t.h),__vite__mapDeps([10,11]));case"codemirror/mode/haskell/haskell":case"codemirror/mode/haskell/haskell.js":return ve(()=>import("./haskell-BasAunqf.js").then(t=>t.h),[]);case"codemirror/mode/haskell-literate/haskell-literate":case"codemirror/mode/haskell-literate/haskell-literate.js":return ve(()=>import("./haskell-literate-D2j-XC2X.js").then(t=>t.h),__vite__mapDeps([12,13]));case"codemirror/mode/haxe/haxe":case"codemirror/mode/haxe/haxe.js":return ve(()=>import("./haxe-CYaZzleH.js").then(t=>t.h),[]);case"codemirror/mode/htmlembedded/htmlembedded":case"codemirror/mode/htmlembedded/htmlembedded.js":return ve(()=>import("./htmlembedded-BMIfsus1.js").then(t=>t.h),__vite__mapDeps([14,3,4,11]));case"codemirror/mode/htmlmixed/htmlmixed":case"codemirror/mode/htmlmixed/htmlmixed.js":return ve(()=>import("./htmlmixed-FAPcF2ck.js").then(t=>t.h),__vite__mapDeps([15,3,4]));case"codemirror/mode/http/http":case"codemirror/mode/http/http.js":return ve(()=>import("./http-CCHm4SZB.js").then(t=>t.h),[]);case"codemirror/mode/idl/idl":case"codemirror/mode/idl/idl.js":return ve(()=>import("./idl-cghddQ8I.js").then(t=>t.i),[]);case"codemirror/mode/javascript/javascript":case"codemirror/mode/javascript/javascript.js":return ve(()=>Promise.resolve().then(()=>VU),void 0);case"codemirror/mode/jinja2/jinja2":case"codemirror/mode/jinja2/jinja2.js":return ve(()=>import("./jinja2-BSjnTsxm.js").then(t=>t.j),[]);case"codemirror/mode/jsx/jsx":case"codemirror/mode/jsx/jsx.js":return ve(()=>import("./jsx-DQifwWUh.js").then(t=>t.j),[]);case"codemirror/mode/julia/julia":case"codemirror/mode/julia/julia.js":return ve(()=>import("./julia-BRve5DA5.js").then(t=>t.j),[]);case"codemirror/mode/livescript/livescript":case"codemirror/mode/livescript/livescript.js":return ve(()=>import("./livescript-CL9_nJ9e.js").then(t=>t.l),[]);case"codemirror/mode/lua/lua":case"codemirror/mode/lua/lua.js":return ve(()=>import("./lua-BzUiAMmr.js").then(t=>t.l),[]);case"codemirror/mode/markdown/markdown":case"codemirror/mode/markdown/markdown.js":return ve(()=>import("./markdown-r8Vp79di.js").then(t=>t.m),__vite__mapDeps([16,7]));case"codemirror/mode/mathematica/mathematica":case"codemirror/mode/mathematica/mathematica.js":return ve(()=>import("./mathematica-BcMa8Ojx.js").then(t=>t.m),[]);case"codemirror/mode/mbox/mbox":case"codemirror/mode/mbox/mbox.js":return ve(()=>import("./mbox-m-w8VBWy.js").then(t=>t.m),[]);case"codemirror/mode/mirc/mirc":case"codemirror/mode/mirc/mirc.js":return ve(()=>import("./mirc-STLY9E9l.js").then(t=>t.m),[]);case"codemirror/mode/mllike/mllike":case"codemirror/mode/mllike/mllike.js":return ve(()=>import("./mllike-BK2kX3Qp.js").then(t=>t.m),[]);case"codemirror/mode/modelica/modelica":case"codemirror/mode/modelica/modelica.js":return ve(()=>import("./modelica-BlzOS1NH.js").then(t=>t.m),[]);case"codemirror/mode/mscgen/mscgen":case"codemirror/mode/mscgen/mscgen.js":return ve(()=>import("./mscgen-atG-JH_r.js").then(t=>t.m),[]);case"codemirror/mode/mumps/mumps":case"codemirror/mode/mumps/mumps.js":return ve(()=>import("./mumps-BoBiyKOY.js").then(t=>t.m),[]);case"codemirror/mode/nginx/nginx":case"codemirror/mode/nginx/nginx.js":return ve(()=>import("./nginx-CHuGwoMz.js").then(t=>t.n),[]);case"codemirror/mode/nsis/nsis":case"codemirror/mode/nsis/nsis.js":return ve(()=>import("./nsis-Bt35wsp7.js").then(t=>t.n),[]);case"codemirror/mode/ntriples/ntriples":case"codemirror/mode/ntriples/ntriples.js":return ve(()=>import("./ntriples-ChaDainD.js").then(t=>t.n),[]);case"codemirror/mode/octave/octave":case"codemirror/mode/octave/octave.js":return ve(()=>import("./octave-DPXCS8Kb.js").then(t=>t.o),[]);case"codemirror/mode/oz/oz":case"codemirror/mode/oz/oz.js":return ve(()=>import("./oz-Cl6qKkEa.js").then(t=>t.o),[]);case"codemirror/mode/pascal/pascal":case"codemirror/mode/pascal/pascal.js":return ve(()=>import("./pascal-DhSSDiye.js").then(t=>t.p),[]);case"codemirror/mode/pegjs/pegjs":case"codemirror/mode/pegjs/pegjs.js":return ve(()=>import("./pegjs-BvjNbJA5.js").then(t=>t.p),[]);case"codemirror/mode/perl/perl":case"codemirror/mode/perl/perl.js":return ve(()=>import("./perl-B0ED-xn1.js").then(t=>t.p),[]);case"codemirror/mode/php/php":case"codemirror/mode/php/php.js":return ve(()=>import("./php-BuXWdjzD.js").then(t=>t.p),__vite__mapDeps([17,3,4,1]));case"codemirror/mode/pig/pig":case"codemirror/mode/pig/pig.js":return ve(()=>import("./pig-CvaEejhu.js").then(t=>t.p),[]);case"codemirror/mode/powershell/powershell":case"codemirror/mode/powershell/powershell.js":return ve(()=>import("./powershell-acHGiTeg.js").then(t=>t.p),[]);case"codemirror/mode/properties/properties":case"codemirror/mode/properties/properties.js":return ve(()=>import("./properties-jDBzPH9A.js").then(t=>t.p),[]);case"codemirror/mode/protobuf/protobuf":case"codemirror/mode/protobuf/protobuf.js":return ve(()=>import("./protobuf-XvNgHDTF.js").then(t=>t.p),[]);case"codemirror/mode/pug/pug":case"codemirror/mode/pug/pug.js":return ve(()=>import("./pug-Dgyq9bOv.js").then(t=>t.p),__vite__mapDeps([18,4,3]));case"codemirror/mode/puppet/puppet":case"codemirror/mode/puppet/puppet.js":return ve(()=>import("./puppet-BkjhXnvg.js").then(t=>t.p),[]);case"codemirror/mode/python/python":case"codemirror/mode/python/python.js":return ve(()=>import("./python-Cf2AlM8k.js").then(t=>t.p),[]);case"codemirror/mode/q/q":case"codemirror/mode/q/q.js":return ve(()=>import("./q-Cok_Osdz.js").then(t=>t.q),[]);case"codemirror/mode/r/r":case"codemirror/mode/r/r.js":return ve(()=>import("./r-CPKw1dhQ.js").then(t=>t.r),[]);case"codemirror/mode/rpm/rpm":case"codemirror/mode/rpm/rpm.js":return ve(()=>import("./rpm-zJSJM4fK.js").then(t=>t.r),[]);case"codemirror/mode/rst/rst":case"codemirror/mode/rst/rst.js":return ve(()=>import("./rst-CSASGjbh.js").then(t=>t.r),__vite__mapDeps([19,20,21,5]));case"codemirror/mode/ruby/ruby":case"codemirror/mode/ruby/ruby.js":return ve(()=>import("./ruby-DOADIAjO.js").then(t=>t.r),__vite__mapDeps([22,9]));case"codemirror/mode/rust/rust":case"codemirror/mode/rust/rust.js":return ve(()=>import("./rust-BIVTf5lY.js").then(t=>t.r),[]);case"codemirror/mode/sas/sas":case"codemirror/mode/sas/sas.js":return ve(()=>import("./sas-BLggbYP3.js").then(t=>t.s),[]);case"codemirror/mode/sass/sass":case"codemirror/mode/sass/sass.js":return ve(()=>import("./sass-CdxXAHUG.js").then(t=>t.s),__vite__mapDeps([23,4]));case"codemirror/mode/scheme/scheme":case"codemirror/mode/scheme/scheme.js":return ve(()=>import("./scheme-BeWCqjz7.js").then(t=>t.s),[]);case"codemirror/mode/shell/shell":case"codemirror/mode/shell/shell.js":return ve(()=>import("./shell-BxNuXlu8.js").then(t=>t.s),[]);case"codemirror/mode/sieve/sieve":case"codemirror/mode/sieve/sieve.js":return ve(()=>import("./sieve-D82FZznt.js").then(t=>t.s),[]);case"codemirror/mode/slim/slim":case"codemirror/mode/slim/slim.js":return ve(()=>import("./slim-BqVX91-1.js").then(t=>t.s),__vite__mapDeps([24,3,4,9]));case"codemirror/mode/smalltalk/smalltalk":case"codemirror/mode/smalltalk/smalltalk.js":return ve(()=>import("./smalltalk-LPWGh6Yj.js").then(t=>t.s),[]);case"codemirror/mode/smarty/smarty":case"codemirror/mode/smarty/smarty.js":return ve(()=>import("./smarty-BUg_5f1d.js").then(t=>t.s),[]);case"codemirror/mode/solr/solr":case"codemirror/mode/solr/solr.js":return ve(()=>import("./solr-CE0drWik.js").then(t=>t.s),[]);case"codemirror/mode/soy/soy":case"codemirror/mode/soy/soy.js":return ve(()=>import("./soy-CNXjHktW.js").then(t=>t.s),__vite__mapDeps([25,3,4]));case"codemirror/mode/sparql/sparql":case"codemirror/mode/sparql/sparql.js":return ve(()=>import("./sparql-DoxWDWvp.js").then(t=>t.s),[]);case"codemirror/mode/spreadsheet/spreadsheet":case"codemirror/mode/spreadsheet/spreadsheet.js":return ve(()=>import("./spreadsheet-C9OfUIjx.js").then(t=>t.s),[]);case"codemirror/mode/sql/sql":case"codemirror/mode/sql/sql.js":return ve(()=>import("./sql-CF8DHgiV.js").then(t=>t.s),[]);case"codemirror/mode/stex/stex":case"codemirror/mode/stex/stex.js":return ve(()=>import("./stex-CRCDnD34.js").then(t=>t.s),__vite__mapDeps([26,21]));case"codemirror/mode/stylus/stylus":case"codemirror/mode/stylus/stylus.js":return ve(()=>import("./stylus-EQlihBPE.js").then(t=>t.s),[]);case"codemirror/mode/swift/swift":case"codemirror/mode/swift/swift.js":return ve(()=>import("./swift-KDWuN4JR.js").then(t=>t.s),[]);case"codemirror/mode/tcl/tcl":case"codemirror/mode/tcl/tcl.js":return ve(()=>import("./tcl-C6K8F_7a.js").then(t=>t.t),[]);case"codemirror/mode/textile/textile":case"codemirror/mode/textile/textile.js":return ve(()=>import("./textile-CvFFb2MS.js").then(t=>t.t),[]);case"codemirror/mode/tiddlywiki/tiddlywiki":case"codemirror/mode/tiddlywiki/tiddlywiki.js":return ve(()=>import("./tiddlywiki-bZHS1vOH.js").then(t=>t.t),[]);case"codemirror/mode/tiki/tiki":case"codemirror/mode/tiki/tiki.js":return ve(()=>import("./tiki-BArUJ1zQ.js").then(t=>t.t),[]);case"codemirror/mode/toml/toml":case"codemirror/mode/toml/toml.js":return ve(()=>import("./toml-BcMH0Wpl.js").then(t=>t.t),[]);case"codemirror/mode/tornado/tornado":case"codemirror/mode/tornado/tornado.js":return ve(()=>import("./tornado-C3mIc45X.js").then(t=>t.t),__vite__mapDeps([27,3,4,5]));case"codemirror/mode/troff/troff":case"codemirror/mode/troff/troff.js":return ve(()=>import("./troff-QvDYW0ZK.js").then(t=>t.t),[]);case"codemirror/mode/ttcn/ttcn":case"codemirror/mode/ttcn/ttcn.js":return ve(()=>import("./ttcn-iSqPoqyc.js").then(t=>t.t),[]);case"codemirror/mode/ttcn-cfg/ttcn-cfg":case"codemirror/mode/ttcn-cfg/ttcn-cfg.js":return ve(()=>import("./ttcn-cfg-CgDB9Irj.js").then(t=>t.t),[]);case"codemirror/mode/turtle/turtle":case"codemirror/mode/turtle/turtle.js":return ve(()=>import("./turtle-BteuhOhi.js").then(t=>t.t),[]);case"codemirror/mode/twig/twig":case"codemirror/mode/twig/twig.js":return ve(()=>import("./twig-DD5wY6wD.js").then(t=>t.t),__vite__mapDeps([28,11]));case"codemirror/mode/vb/vb":case"codemirror/mode/vb/vb.js":return ve(()=>import("./vb-DqVZHOnT.js").then(t=>t.v),[]);case"codemirror/mode/vbscript/vbscript":case"codemirror/mode/vbscript/vbscript.js":return ve(()=>import("./vbscript-CZOEw8pR.js").then(t=>t.v),[]);case"codemirror/mode/velocity/velocity":case"codemirror/mode/velocity/velocity.js":return ve(()=>import("./velocity-r50P9Awt.js").then(t=>t.v),[]);case"codemirror/mode/verilog/verilog":case"codemirror/mode/verilog/verilog.js":return ve(()=>import("./verilog-D0c_OfTR.js").then(t=>t.v),[]);case"codemirror/mode/vhdl/vhdl":case"codemirror/mode/vhdl/vhdl.js":return ve(()=>import("./vhdl-DJ-CJGdz.js").then(t=>t.v),[]);case"codemirror/mode/vue/vue":case"codemirror/mode/vue/vue.js":return ve(()=>import("./vue-CqyKA5GI.js").then(t=>t.v),__vite__mapDeps([29,5,30,4,23,31,18,3,10,11]));case"codemirror/mode/wast/wast":case"codemirror/mode/wast/wast.js":return ve(()=>import("./wast-BkbSvJWA.js").then(t=>t.w),[]);case"codemirror/mode/webidl/webidl":case"codemirror/mode/webidl/webidl.js":return ve(()=>import("./webidl-D20HUTz0.js").then(t=>t.w),[]);case"codemirror/mode/xml/xml":case"codemirror/mode/xml/xml.js":return ve(()=>Promise.resolve().then(()=>KU),void 0);case"codemirror/mode/xquery/xquery":case"codemirror/mode/xquery/xquery.js":return ve(()=>import("./xquery-C5OqrpyG.js").then(t=>t.x),[]);case"codemirror/mode/yacas/yacas":case"codemirror/mode/yacas/yacas.js":return ve(()=>import("./yacas-CzlNFYag.js").then(t=>t.y),[]);case"codemirror/mode/yaml/yaml":case"codemirror/mode/yaml/yaml.js":return ve(()=>import("./yaml-CexR13EN.js").then(t=>t.y),[]);case"codemirror/mode/yaml-frontmatter/yaml-frontmatter":case"codemirror/mode/yaml-frontmatter/yaml-frontmatter.js":return ve(()=>import("./yaml-frontmatter-Peb_Fe4e.js").then(t=>t.y),__vite__mapDeps([32,33]));case"codemirror/mode/z80/z80":case"codemirror/mode/z80/z80.js":return ve(()=>import("./z80-vytHFnAH.js").then(t=>t.z),[]);default:return new Promise(function(t,r){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}const x2e="p",y2e="r",b2e="o",w2e="b",k2e="e",C2e="t",S2e="a",Er=wt(null),Lk=b2e+y2e+x2e,F1=S2e+C2e+k2e+w2e;function j2e(){return Er.value&&Er.value.expires&&En().isAfter(En(Er.value.expires))}function H1(){return Er.value&&Er.value.expires&&En(1717913387272).isAfter(En(Er.value.expires),"day")}function GU(){var n;const e=Er.value?En(Er.value.expires).diff(En(),"days"):null,t=(n=Er.value)!=null&&n.expires?En().diff(En(Er.value.expires),"days"):null,r=Er.value&&Er.value.expires?En(Er.value.expires).format("DD MMMM, YYYY"):"";return{licenseExpInDays:e,licenseExpiresDate:r,licenseExpiredDaysAgo:t}}function E2e(){var r,n;const e=(r=Er.value)!=null&&r.issued?En().diff(En(Er.value.issued),"days"):null,t=(n=Er.value)!=null&&n.issued?En(Er.value.issued).format("DD MMMM, YYYY"):"";return{licenseIssuedDaysAgo:e>0?e:null,licenseIssuedDate:t}}(function(e,t){const r=U2,n=e();for(;;)try{if(parseInt(r(453))/1+parseInt(r(463))/2+-parseInt(r(455))/3*(-parseInt(r(452))/4)+-parseInt(r(456))/5+parseInt(r(457))/6*(parseInt(r(465))/7)+-parseInt(r(451))/8+-parseInt(r(462))/9===t)break;n.push(n.shift())}catch(a){n.push(n.shift())}})(W2,740283);function N2e(e){const t=U2,r=e[t(458)]("")[t(454)]()[t(464)](""),n=Er[t(461)];return n!=null&&n.id&&(n!=null&&n[t(460)])&&Array.isArray(n.features)?n.features[t(459)](r):!1}function U2(e,t){const r=W2();return U2=function(n,a){return n=n-451,r[n]},U2(e,t)}function W2(){const e=["value","19224396aNppYF","989064IhZSmn","join","7LPwpzD","1028336fHlCyR","221084cjBjJp","931447iSDAoO","reverse","39litIBm","1170430ScfMYR","6566718isVFIu","split","includes","features"];return W2=function(){return e},W2()}function th(){const e=Tc(Lk),t=Tc(F1),r=B1();return p.useMemo(()=>e&&!t?r?!H1():!0:!!(t&&!r),[Er.value])}function Tc(e){return p.useMemo(()=>N2e(e),[Er.value])}function YU(){return p.useMemo(()=>{var e;return(e=Er==null?void 0:Er.value)==null?void 0:e.language},[Er.value])}function B1(){return p.useMemo(()=>j2e(),[Er.value])}const gc=({className:e=""})=>{const t=th(),{t:r}=At();return!t&&s.jsx(lt,{className:"ml-2 ".concat(e),variant:"pro",children:r("Pro",{ns:"common"})})};function ZU({id:e}){const{t}=At(),r=We(!1),{addImageToItemById:n}=bge(),{uploadImageToItemById:a,uploadImageToItemReset:o}=wge(),i=p.useRef(null),c=p.useRef(null),u=We(!1);p.useEffect(()=>{var w,g,b,C,j,E;const h=N=>{var T;(T=c.current)==null||T.classList.add("bg-blue-50","!border-blue-400"),N.preventDefault(),N.stopPropagation()},m=N=>{var T;(T=c.current)==null||T.classList.remove("bg-blue-50","!border-blue-400"),N.preventDefault(),N.stopPropagation()},v=N=>{var A;N.preventDefault(),N.stopPropagation();const T=(A=N.dataTransfer)==null?void 0:A.files[0];if(!T)o();else{const M=new FileReader,D=T.type;M.readAsArrayBuffer(T),M.onload=L=>pe(this,null,function*(){var H,V;const z=(H=L.target)==null?void 0:H.result;if(z){const I=Array.from(new Uint8Array(z));u.value=!0,requestAnimationFrame(()=>pe(this,null,function*(){try{yield a({itemId:e,buffer:I,fileType:D})}catch(q){console.error("Error during file upload",q)}u.value=!1}))}o(),r.value=!1,(V=i.current)==null||V.close()})}};if(!c.current)return;(w=c.current)==null||w.addEventListener("dragenter",h),(g=c.current)==null||g.addEventListener("dragleave",m),(b=c.current)==null||b.addEventListener("dragover",h),(C=c.current)==null||C.addEventListener("drop",v);const S=(E=(j=c.current)==null?void 0:j.children)!=null?E:[];for(const N of S)N.addEventListener("dragover",h),N.addEventListener("dragenter",h),N.addEventListener("dragleave",m),N.addEventListener("drop",v);return()=>{var T,A,M,D,L,z;(T=c.current)==null||T.removeEventListener("dragenter",h),(A=c.current)==null||A.removeEventListener("dragleave",m),(M=c.current)==null||M.removeEventListener("dragover",h),(D=c.current)==null||D.removeEventListener("drop",v);const N=(z=(L=c.current)==null?void 0:L.children)!=null?z:[];for(const H of N)H.removeEventListener("dragover",h),H.removeEventListener("dragenter",h),H.removeEventListener("dragleave",m),H.removeEventListener("drop",v)}},[c.current]),p.useEffect(()=>{const h=Ri("tauri://file-drop",m=>{var v,S;((v=m.payload)==null?void 0:v.length)>0&&(n({itemId:e,imagePath:m.payload[0]}),r.value=!1,(S=i.current)==null||S.close())});return()=>{h.then(m=>{m()})}},[]);const f=()=>{var h;r.value=!1,o(),(h=i.current)==null||h.close()};return s.jsxs(xa,{defaultOpen:!1,open:r.value,modal:!0,onOpenChange:h=>{var m;h||(m=i.current)==null||m.close()},children:[s.jsx(ya,{asChild:!0,children:s.jsx(Q,{tabIndex:0,className:"focus:outline-none",children:s.jsx(Be,{text:t("Add image",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"p-1.5 border-0 bg-slate-100 flex items-center justify-center hover:bg-slate-50/100 text-slate-400 hover:text-slate-500",onClick:()=>{r.value=!0},children:s.jsx(Pz,{size:26,className:"cursor-pointer"})})})})}),s.jsx(ea,{sideOffset:16,align:"center",autoFocus:!0,onOpenAutoFocus:()=>{setTimeout(()=>{var h,m;(h=c.current)==null||h.focus(),(m=c.current)==null||m.click()},300)},className:"p-1.5 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-72 shadow-xl z-100",onEscapeKeyDown:()=>{f()},onPointerDownOutside:()=>{f()},children:r.value&&s.jsxs(me,{className:"flex-col drop-zone p-1.5 border-2 border-slate-300 border-dashed rounded-md",ref:c,children:[s.jsx(kr,{h:2}),u.value?s.jsx(Ek,{size:"large"}):s.jsx(J,{color:"black",size:"sm",className:"!inline-block text-center pointer-events-none !font-semibold drop-zone",children:t("Drop image file here, or use a separate window for drag and drop.",{ns:"dashboard"})}),s.jsx(kr,{h:5,className:"drop-zone"}),s.jsxs(me,{className:"drop-zone",children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 drop-zone hover:text-gray-600 mr-3 border-transparent hover:border-gray-200",onClick:()=>{f()},children:t("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-slate-200 drop-zone hover:bg-opacity-80 hover:bg-slate-200 text-slate-500 hover:text-slate-600 border-slate-200",onClick:()=>{const h=new jf("drop-image",{skipTaskbar:!0,title:t("Drop Zone",{ns:"common"}),alwaysOnTop:!0,fileDropEnabled:!0,decorations:!0,resizable:!1,minimizable:!1,visible:!1,center:!0,titleBarStyle:"visible",url:"drop-image.html?"+on.language});h.once(xs.WINDOW_CLOSE_REQUESTED,function(){var m;r.value=!1,(m=i==null?void 0:i.current)==null||m.close()}),h.once("tauri://created",function(){h.setCursorVisible(!1),h.setFocus(),h.setSize(new yv(260,260)),h.center(),h.show()}),h.once("tauri://error",function(){var m;(m=i==null?void 0:i.current)==null||m.close()}),i.current=h},children:t("Open Window",{ns:"common"})})]}),s.jsx(kr,{h:2})]})})]})}function _2e(e){var t,r;return s.jsxs("svg",{width:(t=e.width)!=null?t:"24px",height:(r=e.height)!=null?r:"24px",className:e.className,onClick:e.onClick,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:[s.jsx("path",{d:"m6.033 4.294-.007 7.865M21.25 10.12v-3c0-1.16-.84-2-2-2h-7m-9 9v2c0 1.05.95 2 2 2h3"}),s.jsx("rect",{width:"10",height:"7",x:"11.75",y:"12.707",ry:"2"}),s.jsx("path",{d:"m2.25 8.089 7.928.007"})]})}function XU({onCallBack:e}){const{t}=At(),r=We(!1),n=p.useRef(null),a=p.useRef(null);p.useEffect(()=>{const i=Ri("tauri://file-drop",c=>{var u,f;((u=c.payload)==null?void 0:u.length)>0&&(e(c.payload[0]),r.value=!1,(f=a.current)==null||f.close())});return()=>{i.then(c=>{c()})}},[]);const o=()=>{var i;r.value=!1,(i=a.current)==null||i.close()};return s.jsxs(xa,{defaultOpen:!1,open:r.value,modal:!0,onOpenChange:i=>{var c;i||(c=a.current)==null||c.close()},children:[s.jsx(ya,{asChild:!0,children:s.jsx(Q,{tabIndex:0,className:"focus:outline-none",children:s.jsx(Be,{text:t("Drag & Drop Path",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1 h-10 w-10 text-slate-400 border-0 hover:text-blue-400 cl",onClick:()=>{r.value=!0},children:s.jsx(_2e,{width:22,height:23,className:"scale-y-[-1]"})})})})})}),s.jsx(ea,{sideOffset:10,align:"center",onOpenAutoFocus:()=>{setTimeout(()=>{var i,c;(i=n.current)==null||i.focus(),(c=n.current)==null||c.click()},300)},className:"bg-gray-100 w-72 shadow-xl p-2",onEscapeKeyDown:()=>{o()},onPointerDownOutside:()=>{o()},children:r.value&&s.jsxs(me,{className:"flex-col p-1 rounded-md",ref:n,children:[s.jsx(J,{color:"black",size:"sm",className:"!inline-block text-center pointer-events-none !font-semibold",children:t("We need to open a new window where you can drag & drop file, path or application.",{ns:"dashboard"})}),s.jsx(kr,{h:3}),s.jsxs(me,{children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 hover:text-gray-600 mr-3 border-transparent hover:border-gray-200",onClick:()=>{o()},children:t("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-slate-200 hover:bg-opacity-80 hover:bg-slate-200 text-slate-500 hover:text-slate-600 border-slate-200",onClick:()=>{const i=new jf("drop-path",{skipTaskbar:!0,title:t("Drop Zone",{ns:"common"}),alwaysOnTop:!0,fileDropEnabled:!0,decorations:!0,resizable:!1,minimizable:!1,visible:!1,center:!0,titleBarStyle:"visible",url:"drop-path.html?"+on.language});i.once(xs.WINDOW_CLOSE_REQUESTED,function(){var c;r.value=!1,(c=a==null?void 0:a.current)==null||c.close()}),i.once("tauri://created",function(){i.setCursorVisible(!1),i.setFocus(),i.setSize(new yv(260,260)),i.center(),i.show()}),i.once("tauri://error",function(){var c;(c=a==null?void 0:a.current)==null||c.close()}),a.current=i},children:t("Open Window",{ns:"common"})})]})]})})]})}const dl={isCode:!1,isText:!1,isForm:!1,isImage:!1,isCommand:!1,isWebRequest:!1,isWebScraping:!1,isTemplate:!1,isLink:!1,isPath:!1,detectedLanguage:""},T2e=({itemId:e,isCode:t,isImage:r,isText:n,isForm:a,isLink:o,isCommand:i,isWebRequest:c,isTemplate:u,isWebScraping:f,isPath:h,detectedLanguage:m,children:v})=>{const{t:S}=At(),{CONST:{APP_DETECT_LANGUAGES_SUPPORTED:w}}=ft(pn),{updateItemById:g}=sl();return s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:v}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:s.jsx(J,{children:S("TypeMenu:::Clip Type",{ns:"common"})})}),s.jsx(tr,{}),s.jsx(rr,{checked:!!n,onClick:()=>{g({updatedItem:ee(R({},dl),{isText:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(n?"font-semibold":""),children:S("TypeMenu:::Plain Text",{ns:"common"})})}),s.jsx(rr,{checked:!!o,onClick:()=>{g({updatedItem:ee(R({},dl),{isLink:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(o?"font-semibold":""),children:S("TypeMenu:::Link or Email",{ns:"common"})})}),s.jsx(rr,{checked:!!r,onClick:()=>{g({updatedItem:ee(R({},dl),{isImage:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(r?"font-semibold":""),children:S("TypeMenu:::Image",{ns:"common"})})}),s.jsx(rr,{checked:!!h,onClick:()=>{g({updatedItem:ee(R({},dl),{isPath:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(h?"font-semibold":""),children:S("TypeMenu:::File, Path or App",{ns:"common"})})}),s.jsxs(Xs,{children:[s.jsxs($s,{children:[t?s.jsx($t,{className:"mr-2 h-4 w-4"}):s.jsx(Q,{className:"mr-2 h-4 w-4"}),s.jsxs(J,{className:"".concat(t?"!font-semibold":""),children:[S("TypeMenu:::Code Snippet",{ns:"common"})," ..."]})]}),s.jsxs(zs,{className:"w-40",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:m?s.jsx(J,{children:eA(m)}):s.jsx(J,{children:S("TypeMenu:::Select Language",{ns:"common"})})}),s.jsx(tr,{}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"290px"},autoHide:!1,children:w.map(b=>s.jsx(rr,{checked:m===b,className:"".concat(m===b?"font-semibold ":""),onClick:()=>{g({updatedItem:ee(R({},dl),{isCode:!0,detectedLanguage:b,itemId:e})})},children:eA(b)},b))})]})]}),s.jsx(rr,{checked:!!u,onClick:()=>{g({updatedItem:ee(R({},dl),{isTemplate:!0,itemId:e})})},children:s.jsxs(J,{className:"".concat(u?"font-semibold":""),children:[S("TypeMenu:::Template Fill",{ns:"common"}),s.jsx(gc,{})]})}),s.jsx(rr,{checked:!!a,onClick:()=>{g({updatedItem:ee(R({},dl),{isForm:!0,itemId:e})})},children:s.jsxs(J,{className:"".concat(a?"font-semibold":""),children:[S("TypeMenu:::Form Auto Fill",{ns:"common"}),s.jsx(gc,{})]})}),s.jsxs(Xs,{children:[s.jsxs($s,{children:[i||c||f?s.jsx($t,{className:"mr-2 h-4 w-4"}):s.jsx(Q,{className:"mr-2 h-4 w-4"}),s.jsxs(J,{className:"".concat(i||c||f?"!font-semibold":""),children:[S("TypeMenu:::Run, Execute",{ns:"common"}),s.jsx(gc,{})]})]}),s.jsxs(zs,{className:"w-52",children:[s.jsx(rr,{checked:!!i,onClick:()=>{g({updatedItem:ee(R({},dl),{isCommand:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(i?"font-semibold":""),children:S("TypeMenu:::Shell Command",{ns:"common"})})}),s.jsx(rr,{checked:!!c,onClick:()=>{g({updatedItem:ee(R({},dl),{isWebRequest:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(c?"font-semibold":""),children:S("TypeMenu:::Web Request (HTTP)",{ns:"common"})})}),s.jsx(rr,{checked:!!f,onClick:()=>{g({updatedItem:ee(R({},dl),{isWebScraping:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(f?"font-semibold":""),children:S("TypeMenu:::Web Scraper / Parser",{ns:"common"})})})]})]})]})]})};function eA(e){return e.charAt(0).toUpperCase()+e.slice(1)}function P2e({clipId:e,onComplete:t}){const{t:r}=At(),n=We(!1),a=()=>{n.value=!1,Jo.value=null};p.useEffect(()=>()=>{a()},[]);const{currentCollectionId:o}=ft(Tn),{deleteItemById:i}=mk();return s.jsxs(xa,{defaultOpen:!1,open:n.value,children:[s.jsx(ya,{asChild:!0,children:s.jsxs(ye,{variant:"ghost",title:r("Delete Clip",{ns:"dashboard"}),onClick:()=>{n.value=!0,Jo.value=e},className:"px-2 h-7 w-full py-0 text-red-500 dark:!text-red-600 hover:text-red-500 bg-transparent hover:bg-red-100 opacity-80 hover:opacity-100",children:[s.jsx(xn,{size:16}),s.jsx(J,{className:"ml-1 !text-red-500 dark:!text-red-600 !font-medium",children:r("Delete",{ns:"common"})})]})}),s.jsx(ea,{sideOffset:16,align:"center",className:"p-3 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-60",onEscapeKeyDown:()=>{a()},onPointerDownOutside:()=>{a()},children:n.value&&s.jsxs(me,{className:"flex-col",children:[s.jsx(J,{color:"black",size:"sm",className:"!inline-block",children:r("Are you sure you want to delete?",{ns:"dashboard"})}),s.jsx(kr,{h:3}),s.jsxs(me,{children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 dark:hover:text-gray-400 hover:text-gray-600 mr-3 border-gray-100 hover:border-gray-200 dark:bg-gray-900 dark:border-gray-900 dark:hover:border-gray-900 dark:hover:bg-gray-800",onClick:()=>{a()},children:r("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-red-100 hover:bg-opacity-80 hover:bg-red-200 text-red-500 hover:text-red-600 border-red-200 dark:bg-red-900 dark:border-red-900 dark:hover:border-red-900 dark:hover:bg-red-800 dark:text-red-300 dark:hover:text-red-200",onClick:()=>{i({itemId:e,collectionId:o}),t()},children:r("Delete Clip",{ns:"dashboard"})})]})]})})]})}function M2e({isOver:e}){const{t}=At(),r=p.useRef(null);return p.useEffect(()=>{var n;(n=r.current)==null||n.scrollIntoView({behavior:"auto",block:"center",inline:"nearest"})},[r]),s.jsx(Q,{ref:r,className:"flex flex-row items-center justify-center border-2 my-2 border-dashed rounded-md w-full h-16 ".concat(e?"bg-slate-50/50 dark:bg-slate-700/50 border-blue-400":"bg-slate-50 dark:bg-slate-700 border-slate-200 dark:border-slate-500"),children:s.jsx(J,{className:"!text-sm !font-medium !text-blue-500 text-center",children:e?t("Drop To Add",{ns:"common"}):s.jsx(Fn,{size:23,className:"".concat(e?"text-blue-400":"text-slate-400")})})})}const D2e=p.memo(M2e),tA=["Tab","Enter","TabTab","TabEnter"],tg={Tab:"Tab",Enter:"Enter",TabTab:"2 Tabs",TabTabTab:"3 Tabs",TabEnter:"Tab, Enter",TabTabEnter:"2Tabs, Enter"},rA=["1s","2s","3s","4s","5s"],QU=["Email","Login","Username","Password","Title","Textarea","Phone","Website","Date","Name","First Name","Last Name","Company","Address","City","State","Zip","Country","Province","Text","Number","Credit Card","CVV Code","Exp. Date","Secret","License Key","Occupation","Gender","Age","Description","Birthdate","API Key","SSN","Custom"];function A2e({showLinkValidationError:e,localOptions:t}){var i,c,u,f,h,m,v,S;const{t:r}=At(),n=We(void 0),a=We(null),o=mo(n.value,300);return p.useEffect(()=>{if(o){if(e.value&&(e.value=void 0),o.length>5){const g=Rn().match(o);!g||g.length>1?e.value=!0:e.value=!1}t.value.formOptions||(t.value.formOptions={fields:[],openUrl:null}),t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{openUrl:o})})}},[o]),s.jsxs(Q,{className:"select-none mt-1",children:[t.value.formOptions.openUrl!=null&&s.jsxs(me,{className:"text-normal",children:[s.jsx(Be,{asChild:!0,text:r("Website URL",{ns:"dashboard"}),isCompact:!0,side:"bottom",children:s.jsx(ye,{variant:"outline",size:"mini",className:"px-2 h-10 pointer-events-none text-slate-500 dark:text-slate-200 border font-semibold text-xs bg-slate-100 dark:bg-slate-700/80 group hover:text-blue-500 mr-1 flex items-center ".concat(((i=t.value.formOptions)==null?void 0:i.isOpenUrlDisabled)===!0?"opacity-70 line-through":""),children:s.jsx("span",{children:r("Open",{ns:"dashboard"})})})}),s.jsx(er,{defaultValue:(u=(c=t.value.formOptions)==null?void 0:c.openUrl)!=null?u:"",placeholder:r("Enter URL",{ns:"dashboard"}),disabled:(f=t.value.formOptions)==null?void 0:f.isOpenUrlDisabled,classNameInput:"pr-7 text-sm focus:border- ".concat(e.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(e.value===!1?"!border-green-600 !focus:border-green-600":""," ").concat(((h=t.value.formOptions)==null?void 0:h.isOpenUrlDisabled)===!0?"!bg-gray-100 dark:!bg-gray-700 opacity-70":""),suffix:s.jsx(Q,{className:"absolute top-3 right-2",children:e.value?s.jsx(Be,{text:r("Website URL might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx(pi,{size:18,className:"text-yellow-500 cursor-pointer"})}):e.value===!1&&s.jsx(Be,{text:r("Website URL is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx($t,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:w=>{n.value=w.target.value}}),s.jsx(ye,{variant:"ghost",size:"mini",title:r("Open URL Disable / Enable",{ns:"dashboard"}),onClick:()=>{var w;t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{isOpenUrlDisabled:!((w=t.value.formOptions)!=null&&w.isOpenUrlDisabled)})})},className:"".concat((m=t.value.formOptions)!=null&&m.isOpenUrlDisabled?"opacity-70":""," pl-2 h-8 flex items-center hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500"),children:(v=t.value.formOptions)!=null&&v.isOpenUrlDisabled?s.jsx(ma,{size:14}):s.jsx(Oa,{size:14})}),s.jsx(ye,{variant:"ghost",size:"mini",title:r("Remove Open URL",{ns:"dashboard"}),onClick:()=>{t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{openUrl:null,isOpenUrlDisabled:!1})})},className:"pl-3 h-10 text-sm font-semibold hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:s.jsx(xn,{size:14})})]}),s.jsx(Q,{className:"my-2",children:s.jsxs(me,{className:"gap-3 w-full justify-start",children:[s.jsxs(Ir,{children:[s.jsx(Or,{children:s.jsxs(J,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[r("Add Form Field",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsxs(He,{className:"text-xs",onClick:()=>{a.value=null,t.value.formOptions||(t.value.formOptions={fields:[]});const w=[...t.value.formOptions.fields];w.push({id:Date.now().toString(),type:"section",pressKeysAfterPaste:NS[0],isEnable:!0,value:""}),t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:w})})},children:[s.jsx(Fn,{size:12,className:"mr-1"}),r("Add Section",{ns:"dashboard"})]}),s.jsx(tr,{}),s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:s.jsx(J,{children:r("Form Fields",{ns:"dashboard"})})}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"290px"},autoHide:!1,children:QU.map(w=>s.jsx(He,{className:"text-xs",onClick:()=>{var C;t.value.formOptions||(t.value.formOptions={fields:[]});const g=[...t.value.formOptions.fields],b=w==="Text"?"text":w==="Number"?"number":w==="Password"||w==="Secret"||w==="API Key"||w==="License Key"||w==="SSN"?"password":w==="CVV Code"?"passwordCode":w==="Textarea"?"textarea":w==="Credit Card"?"creditcard":"text";g.push({id:Date.now().toString(),label:w,type:b,pressKeysAfterPaste:NS[0],isEnable:!0,value:""}),t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:g})}),w==="Custom"&&(a.value=(C=g[g.length-1].id)!=null?C:null)},children:w},w))})]})]}),s.jsxs(Ir,{children:[s.jsx(Or,{children:s.jsxs(J,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[r("Key Press",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:s.jsx(J,{children:r("Add Key Press",{ns:"dashboard"})})}),s.jsx(tr,{}),NS.map(w=>s.jsx(He,{className:"text-xs",onClick:()=>{t.value.formOptions||(t.value.formOptions={fields:[]});const g=[...t.value.formOptions.fields];g.push({id:Date.now().toString(),isPressKeysOnly:!0,isEnable:!0,pressKeysAfterPaste:w}),t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:g})})},children:tg[w]},w))]})]}),s.jsxs(Ir,{children:[s.jsx(Or,{children:s.jsxs(J,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[r("Delay",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:s.jsx(J,{children:r("Add Delay Time",{ns:"dashboard"})})}),s.jsx(tr,{}),rA.map(w=>s.jsxs(He,{className:"text-xs",onClick:()=>{a.value=null,t.value.formOptions||(t.value.formOptions={fields:[]});const g=[...t.value.formOptions.fields];g.push({id:Date.now().toString(),isDelayOnly:!0,value:w,isEnable:!0}),t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:g})})},children:[w==="1s"&&"1 ".concat(r("Second",{ns:"common"})),w==="2s"&&"2 ".concat(r("Seconds",{ns:"common"})),w==="3s"&&"3 ".concat(r("Seconds",{ns:"common"})),w==="4s"&&"4 ".concat(r("Seconds",{ns:"common"})),w==="5s"&&"5 ".concat(r("Seconds",{ns:"common"}))]},w))]})]}),t.value.formOptions.openUrl==null&&s.jsx(J,{className:"!text-blue-500 hover:underline cursor-pointer text-center",size:"xs",onClick:()=>{t.value.formOptions||(t.value.formOptions={fields:[]}),t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{openUrl:"",isOpenUrlDisabled:!1})})},children:r("Add Open URL",{ns:"dashboard"})})]})}),(S=t.value.formOptions)==null?void 0:S.fields.map((w,g)=>{var T,A,M,D,L,z,H,V;const b=w.isLabelOnTop,C=w.isLabelHidden,j=w.type==="section",E=w.id===a.value,N=w.type==="textarea";return s.jsxs(me,{className:"".concat(w.type!=="section"?"mb-1":"mt-1"," group ").concat(b?"flex-col items-start":"items-center"," ").concat(N?"!mt-2 !mb-1":""),children:[!C&&s.jsx(s.Fragment,{children:(w.label||E)&&w.type!=="section"?s.jsx(J,{className:"".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," text-[13px] !font-semibold flex self-stretch ").concat(b?"!justify-start pl-1":"!justify-end"),children:E?s.jsxs(me,{className:"whitespace-nowrap pr-1 min-w-[120px] text-left",children:[s.jsx(er,{defaultValue:w.label,small:!0,placeholder:r("Enter Label",{ns:"dashboard"}),autoFocus:!0,onKeyDown:I=>{(I.key==="Enter"||I.key==="Escape")&&(a.value=null,t.value=ee(R({},t.value),{formOptions:R({},t.value.formOptions)}))},onChange:I=>{w.label=I.target.value.trim()}}),s.jsx(ye,{size:"mini",variant:"ghost",className:"ml-1 h-8 w-9 text-blue-500 dark:bg-slate-800",onClick:()=>{a.value=null,t.value=ee(R({},t.value),{formOptions:R({},t.value.formOptions)})},title:r("Done Edit",{ns:"common"}),children:s.jsx($t,{size:18})})]}):s.jsx("span",{className:"whitespace-nowrap pr-1 min-w-[80px] overflow-hidden text-ellipsis block ".concat(b?"text-left":"text-right max-w-[160px]"),children:w.label})}):s.jsx("div",{className:"pr-1 min-w-[80px]"})}),s.jsxs(me,{className:"w-full",children:[s.jsx(me,{className:"gap-0.5 flex-col w-full items-start ".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""),children:s.jsxs(me,{className:"w-full gap-1",children:[w.isDelayOnly||w.isPressKeysOnly?s.jsxs(me,{className:"".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full justify-end mr-1 py-1"),children:[w.isDelayOnly&&s.jsxs(Ir,{children:[s.jsx(Or,{children:s.jsxs(lt,{variant:"secondary",className:"pl-2 py-0.5 text-blue-500 dark:bg-slate-800 whitespace-nowrap",children:[r("Delay",{ns:"dashboard"})," ",w.value,s.jsx(Dr,{size:13,className:"ml-0.5 mr-0"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:r("Delay",{ns:"dashboard"})}),s.jsx(tr,{}),rA.map(I=>s.jsxs(He,{className:"text-xs",onClick:()=>{a.value=null,w.value=I,t.value=R({},t.value)},children:[I==="1s"&&"1 Second",I==="2s"&&"2 Seconds",I==="3s"&&"3 Seconds",I==="4s"&&"4 Seconds",I==="5s"&&"5 Seconds"]},I))]})]}),w.isPressKeysOnly&&w.pressKeysAfterPaste&&s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",variant:"ghost",disabled:w.isEnable===!1,title:r("Key Press After",{ns:"dashboard"}),className:"text-sm font-semibold hover:bg-transparent mr-1",children:s.jsxs(lt,{variant:"secondary",className:"pl-2 py-0.5 text-blue-500 dark:bg-slate-800 whitespace-nowrap",children:[r("Press",{ns:"dashboard"})," ",tg[w.pressKeysAfterPaste],s.jsx(Dr,{size:13,className:"ml-0.5 mr-0"})]})})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:s.jsx(J,{children:r("Key Press",{ns:"dashboard"})})}),s.jsx(tr,{}),tA.map(I=>s.jsx(He,{className:"text-xs",onClick:()=>{w.pressKeysAfterPaste=I,t.value=ee(R({},t.value),{formOptions:R({},t.value.formOptions)})},children:tg[I]},I)),s.jsx(tr,{}),s.jsxs(He,{className:"text-xs text-red-400",onClick:()=>{t.value.formOptions.fields=t.value.formOptions.fields.filter(I=>I.id!==w.id),t.value=R({},t.value)},children:[s.jsx(J,{size:"xs",className:"!text-red-500 dark:!text-red-600",children:r("Remove",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(pm,{className:"ml-auto text-red-400 dark:text-red-600",size:13})})]})]})]})]}):w.type==="password"||w.type==="passwordCode"?s.jsx(er,{small:!0,placeholder:w.type==="passwordCode"?r("Enter code",{ns:"dashboard"}):r("Enter secret value",{ns:"dashboard"}),autoFocus:g===((T=t.value.formOptions.fields)==null?void 0:T.length)-1&&t.value.formOptions.fields[g].value==="",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:w.isEnable===!1,isPassword:!0,numbersOnly:w.type==="passwordCode",showHidePassword:!0,className:"".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:I=>{w.value=I.target.value.trim()},defaultValue:w.value}):w.type==="creditcard"?s.jsx(z1,{small:!0,placeholder:r("Enter credit card number",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:w.isEnable===!1,autoFocus:g===((A=t.value.formOptions.fields)==null?void 0:A.length)-1&&t.value.formOptions.fields[g].value==="",className:"".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onInputBlur:I=>{w.value=I},ccNumber:w.value}):j?s.jsx(er,{small:!0,placeholder:r("Enter section label",{ns:"dashboard"}),classNameInput:"text-sm font-semibold border-b border-0 border-transparent hover:border-gray-200 focus:border-blue-400 rounded-none nowrap overflow-hidden text-ellipsis pl-1.5 dark:!text-slate-300 dark:bg-slate-900",autoFocus:g===((M=t.value.formOptions.fields)==null?void 0:M.length)-1&&t.value.formOptions.fields[g].value==="",onChange:I=>{w.value=I.target.value.trim()},defaultValue:w.value}):w.type==="textarea"?s.jsx(ho,{placeholder:r("Enter field value",{ns:"dashboard"}),label:"",className:"text-sm font-semibold border-0 border-transparent focus:border-blue-400 rounded-none nowrap overflow-hidden text-ellipsis !pl-0.5 w-full",classNameArea:w.isEnable===!1?"dark:!text-slate-500 !bg-gray-100 opacity-50 dark:!bg-gray-900":"dark:!text-slate-300 dark:!bg-slate-900",autoFocus:g===((D=t.value.formOptions.fields)==null?void 0:D.length)-1&&t.value.formOptions.fields[g].value==="",maxRows:2,value:w.value,enableEmoji:!1,enableEmojiInside:!0,onKeyDown:I=>{I.stopPropagation()},onChange:I=>{w.value=I.target.value,t.value=ee(R({},t.value),{formOptions:R({},t.value.formOptions)})}}):s.jsx(er,{small:!0,placeholder:r("Enter field value",{ns:"dashboard"}),autoFocus:g===((L=t.value.formOptions.fields)==null?void 0:L.length)-1&&t.value.formOptions.fields[g].value===""&&t.value.formOptions.fields[g].label!=="Custom",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:w.isEnable===!1,type:w.type==="number"?"number":"text",className:"".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:I=>{w.value=I.target.value.trim()},defaultValue:w.value}),w.isDelayOnly||w.isPressKeysOnly||j?s.jsx(s.Fragment,{}):s.jsx(me,{children:s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",variant:"ghost",disabled:w.isEnable===!1,title:r("Key Press After",{ns:"dashboard"}),className:"text-sm font-semibold hover:bg-transparent mr-1",children:w.pressKeysAfterPaste?s.jsxs(lt,{variant:"secondary",className:"pl-2 py-0.5 text-blue-500 dark:bg-slate-800 whitespace-nowrap hover:text-blue-500",children:[tg[w.pressKeysAfterPaste],s.jsx(Dr,{size:13,className:"ml-0.5 mr-0"})]}):s.jsxs(lt,{variant:"secondary",className:"pl-1 py-0.5 text-blue-500 dark:bg-slate-800 whitespace-nowrap hover:text-blue-500",children:[s.jsx(Fn,{size:13,className:"ml-0.5 mr-0"}),s.jsx(Dr,{size:13,className:"ml-0.5 mr-0"})]})})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:s.jsx(J,{children:r("Key Press After",{ns:"dashboard"})})}),s.jsx(tr,{}),tA.map(I=>s.jsx(He,{className:"text-xs",onClick:()=>{w.pressKeysAfterPaste=I,t.value=ee(R({},t.value),{formOptions:R({},t.value.formOptions)})},children:tg[I]},I)),s.jsx(tr,{}),s.jsxs(He,{className:"text-xs text-red-400",onClick:()=>{w.pressKeysAfterPaste=null,t.value=ee(R({},t.value),{formOptions:R({},t.value.formOptions)})},children:[s.jsx(J,{size:"xs",className:"!text-red-500 dark:!text-red-600",children:r("Remove",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(pm,{className:"ml-auto text-red-400 dark:text-red-600",size:13})})]})]})]})})]})}),s.jsxs(me,{className:"gap-1 ml-0.5",children:[w.type!=="section"&&s.jsx(ye,{size:"mini",title:r("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var I;a.value=null,t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:(I=t.value.formOptions)==null?void 0:I.fields.map((q,_)=>_===g?ee(R({},q),{isEnable:!q.isEnable}):q)})})},children:(z=t.value.formOptions)!=null&&z.fields&&((V=(H=t.value.formOptions)==null?void 0:H.fields[g])!=null&&V.isEnable)?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",title:r("Field Options",{ns:"dashboard"}),variant:"ghost",onClick:()=>{t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:zn(t.value.formOptions.fields||[],g,g-1)})})},className:"text-sm font-semibold rounded-none hover:bg-transparent w-5 dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",children:s.jsx(nl,{size:14})})}),s.jsxs(Ar,{align:"end",children:[s.jsxs(He,{disabled:g===0,onClick:()=>{t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:zn(t.value.formOptions.fields||[],g,g-1)})})},className:"text-[13px] py-1",children:[s.jsx(J,{size:"xs",children:r("Move Up",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(j1,{size:13})})]}),s.jsxs(He,{disabled:t.value.formOptions.fields?g===t.value.formOptions.fields.length-1:!1,onClick:()=>{t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:zn(t.value.formOptions.fields||[],g,g+1)})})},className:"text-[13px] py-1",children:[s.jsx(J,{size:"xs",children:r("Move Down",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(S1,{size:13})})]}),s.jsx(tr,{}),!j&&!C&&s.jsxs(He,{onClick:()=>{var I;E?a.value=null:a.value=(I=w.id)!=null?I:null},children:[E?s.jsx(J,{size:"xs",children:r("Done Edit",{ns:"common"})}):s.jsx(J,{size:"xs",children:r("Edit Label",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(v2,{size:13})})]}),w.type!=="section"&&s.jsx(s.Fragment,{children:w.isLabelOnTop?s.jsxs(He,{onClick:()=>{var I;a.value=null,t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:(I=t.value.formOptions)==null?void 0:I.fields.map((q,_)=>_===g?ee(R({},q),{isLabelHidden:!1,isLabelOnTop:!1}):q)})})},children:[s.jsx(J,{size:"xs",children:r("Label Left",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(lz,{size:13})})]}):s.jsxs(He,{onClick:()=>{var I;a.value=null,t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:(I=t.value.formOptions)==null?void 0:I.fields.map((q,_)=>_===g?ee(R({},q),{isLabelHidden:!1,isLabelOnTop:!0}):q)})})},children:[s.jsx(J,{size:"xs",children:r("Label Top",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(uz,{size:13})})]})}),C?s.jsxs(He,{onClick:()=>{var I;a.value=null,t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:(I=t.value.formOptions)==null?void 0:I.fields.map((q,_)=>_===g?ee(R({},q),{isLabelHidden:!1}):q)})})},children:[j?s.jsx(J,{size:"xs",children:r("Label Offset",{ns:"dashboard"})}):s.jsx(J,{size:"xs",children:r("Show Label",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(pz,{size:13})})]}):s.jsxs(He,{onClick:()=>{var I;t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:(I=t.value.formOptions)==null?void 0:I.fields.map((q,_)=>_===g?ee(R({},q),{isLabelHidden:!0}):q)})})},children:[j?s.jsx(J,{size:"xs",children:r("Label on Left",{ns:"dashboard"})}):s.jsx(J,{size:"xs",children:r("Hide Label",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(_6,{size:13})})]}),s.jsx(tr,{}),s.jsxs(He,{className:"text-red-500 dark:!text-red-600 text-[13px] focus:text-red-500 py-1",onClick:()=>{var I,q;t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:(q=(I=t.value.formOptions)==null?void 0:I.fields)==null?void 0:q.filter((_,$)=>$!==g)})})},children:[s.jsx(J,{size:"xs",className:"!text-red-500 dark:!text-red-600",children:r("Remove",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(xn,{size:13})})]})]})]})]})]})]},w.id)})]})}function R2e({clipValue:e,templateMissingFields:t,templateFoundFields:r,checkForTemplateFieldsCallback:n,isLargeView:a,localOptions:o}){var g;const{t:i}=At(),c=We(null),u=We(null),f=We(null),h=We(null),m=p.useRef(null),v=We(!1),S=We(Date.now().toString()),w=["text","textarea","select"];return s.jsxs(Q,{className:"select-none mt-1",children:[s.jsx(Q,{className:"my-2",children:s.jsxs(me,{className:"gap-3 w-full justify-start",children:[s.jsxs(Ir,{children:[s.jsx(Or,{children:s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[i("Add Template Field",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:s.jsx(J,{children:i("General Fields",{ns:"dashboard"})})}),s.jsx(tr,{}),w.map(b=>s.jsxs(He,{className:"text-xs",onClick:()=>{var j;c.value=null,o.value.templateOptions||(o.value.templateOptions=[]);const C=o.value.templateOptions.map(E=>{var N,T,A;return(N=E.label)!=null&&N.trim()||(E.label="".concat(E.type&&((T=E.type)==null?void 0:T.charAt(0).toUpperCase())+((A=E.type)==null?void 0:A.slice(1))," ").concat(i("Field",{ns:"dashboard"}))),E});C.push({id:Date.now().toString(),type:b,label:"".concat(b.charAt(0).toUpperCase()+b.slice(1)),isEnable:!0,value:""}),o.value=ee(R({},o.value),{templateOptions:[...C]}),c.value=(j=C[C.length-1].id)!=null?j:null},children:[s.jsx(Fn,{size:12,className:"mr-1"}),i("{{type}} Field",{ns:"dashboard",type:b.charAt(0).toUpperCase()+b.slice(1)})]},b)),s.jsx(tr,{}),s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:s.jsx(J,{children:i("Common Fields",{ns:"dashboard"})})}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:QU.map(b=>s.jsx(He,{className:"text-xs",onClick:()=>{var T,A;o.value.templateOptions||(o.value.templateOptions=[]),v.value=!1;const C=[...o.value.templateOptions],j=b==="Text"?"text":b==="Number"?"number":b==="Password"||b==="Secret"||b==="API Key"||b==="License Key"||b==="SSN"?"password":b==="CVV Code"?"passwordCode":b==="Textarea"?"textarea":b==="Credit Card"?"creditcard":"text",E=(T=o.value.templateOptions)==null?void 0:T.every(M=>M.label!==b);E||(v.value=!0);const N=E?b:"".concat(b," ").concat(o.value.templateOptions.length+1);C.push({id:Date.now().toString(),label:N,type:j,isEnable:!0,value:""}),o.value=ee(R({},o.value),{templateOptions:C}),b==="Custom"&&(c.value=(A=C[C.length-1].id)!=null?A:null)},children:b},b))}),s.jsx(tr,{}),s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:s.jsx(J,{children:i("Special Field",{ns:"dashboard"})})}),s.jsxs(He,{className:"text-xs",onClick:()=>{var j;if(c.value=null,o.value.templateOptions||(o.value.templateOptions=[]),(j=o.value.templateOptions)==null?void 0:j.some(E=>E.label==="Clipboard")){o.value.templateOptions=o.value.templateOptions.map(E=>(E.label==="Clipboard"&&(E.isEnable=!0),E));return}const C=o.value.templateOptions.map(E=>E);C.push({id:Date.now().toString(),type:"text",label:"Clipboard",isEnable:!0,value:""}),o.value=ee(R({},o.value),{templateOptions:[...C]})},children:[s.jsx(Fn,{size:12,className:"mr-1"}),i("Clipboard",{ns:"dashboard"})]})]})]}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{variant:"ghost",size:"mini",className:"cursor-pointer ml-auto hover:bg-transparent !px-2 !py-0",children:s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline",size:"xs",children:[i("Fields Value",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})})}),s.jsx(Ar,{sideOffset:12,align:"center",children:s.jsxs(He,{className:"text-center items-center justify-center py-1 text-xs",onSelect:()=>{o.value.templateOptions=o.value.templateOptions.map(b=>(b.value="",b)),o.value=ee(R({},o.value),{templateOptions:[...o.value.templateOptions]}),S.value=Date.now().toString()},children:[s.jsx(J,{children:i("Clear All Fields",{ns:"dashboard"})}),s.jsx(H6,{size:14,className:"ml-1 text-slate-400"})]})})]})]})}),(g=o.value.templateOptions)==null?void 0:g.map((b,C)=>{var M,D,L,z,H,V,I,q;const j=b.id===c.value,E=b.type==="textarea",N=b.isLabelOnTop,T=(M=b.selectOptions)==null?void 0:M.find(_=>_===b.value),A=!((D=b.selectOptions)!=null&&D.length);return s.jsxs(me,{className:"mb-1 group ".concat(N?"flex-col items-start":"items-center"," ").concat(E?"!mt-2 !mb-1":""),children:[b.label||j?s.jsx(me,{className:"".concat(b.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," text-[13px] !font-semibold flex self-stretch ").concat(N?"!justify-start pl-1":"!justify-end"),children:j?s.jsxs(me,{className:"whitespace-nowrap pr-1 min-w-[120px] text-left",children:[s.jsx(er,{defaultValue:b.label,small:!0,placeholder:i("Enter Label",{ns:"dashboard"}),autoFocus:!0,onKeyDown:_=>{var $;(_.key==="Enter"||_.key==="Escape")&&(c.value=null,v.value=!1,($=o.value.templateOptions)!=null&&$.every((K,Y)=>Y!==C?K.label!==b.label:!0)||(b.label="".concat(b.label," ").concat(C+1)),o.value=ee(R({},o.value),{templateOptions:[...o.value.templateOptions]}))},onChange:_=>{b.label=_.target.value.trim()}}),s.jsx(ye,{size:"mini",variant:"ghost",className:"ml-1 h-8 w-9 text-blue-500 dark:bg-slate-800",onClick:()=>{c.value=null,o.value=ee(R({},o.value),{templateOptions:[...o.value.templateOptions]})},title:i("Done Edit",{ns:"common"}),children:s.jsx($t,{size:18})})]}):s.jsx("span",{className:"whitespace-nowrap pr-1 min-w-[80px] overflow-hidden text-ellipsis block ".concat(N?"text-left":"text-right max-w-[160px]"),children:b.label})}):s.jsx("div",{className:"pr-1 min-w-[80px]"}),s.jsxs(me,{className:"w-full",children:[s.jsx(me,{className:"gap-0.5 flex-col w-full items-start ".concat(b.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""),children:s.jsx(me,{className:"w-full gap-1",children:b.type==="password"||b.type==="passwordCode"?s.jsx(er,{small:!0,placeholder:b.type==="passwordCode"?i("Enter code",{ns:"dashboard"}):i("Enter secret value",{ns:"dashboard"}),autoFocus:C===o.value.templateOptions.length-1&&o.value.templateOptions[C].value==="",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:b.isEnable===!1,isPassword:!0,numbersOnly:b.type==="passwordCode",showHidePassword:!0,className:"".concat(b.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:_=>{b.value=_.target.value.trim()},defaultValue:b.value},S.value):b.type==="creditcard"?s.jsx(z1,{small:!0,placeholder:i("Enter credit card number",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:b.isEnable===!1,autoFocus:C===((L=o.value.templateOptions)==null?void 0:L.length)-1&&o.value.templateOptions[C].value==="",className:"".concat(b.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onInputBlur:_=>{b.value=_},ccNumber:b.value},S.value):b.type==="textarea"?s.jsx(ho,{placeholder:i("Enter default value",{ns:"dashboard"}),label:"",className:"text-sm font-semibold border-0 border-transparent focus:border-blue-400 rounded-none nowrap overflow-hidden text-ellipsis !pl-0.5 w-full",classNameArea:b.isEnable===!1?"dark:!text-slate-500 !bg-gray-100 opacity-50 dark:!bg-gray-900":"dark:!text-slate-300 dark:!bg-slate-900",autoFocus:C===o.value.templateOptions.length-1&&o.value.templateOptions[C].value===""&&o.value.templateOptions[C].label!=="Textarea",maxRows:2,value:b.value,enableEmoji:!1,enableEmojiInside:!0,onKeyDown:_=>{_.stopPropagation()},onChange:_=>{b.value=_.target.value,o.value=ee(R({},o.value),{templateOptions:[...o.value.templateOptions]})}},S.value):b.type==="select"?s.jsx(me,{className:"justify-start items-center w-full my-1",children:u.value!==b.id&&f.value!==b.id?s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",variant:"ghost",disabled:b.isEnable===!1,className:"rounded-sm font-semibold hover:bg-transparent ml-0 px-2 py-1 w-full border border-slate-300 hover:border-blue-500 dark:border-slate-800 dark:hover:border-blue-500 dark:bg-slate-900 dark:hover:bg-slate-900 dark:text-slate-300 dark:hover:text-blue-500",children:s.jsxs(me,{className:"flex items-center justify-start w-full gap-1",children:[s.jsx(J,{className:"!text-slate-700 dark:!text-slate-300 text-ellipsis overflow-hidden !block line-clamp-2",children:A?i("Select is empty",{ns:"common"}):T||i("Select default",{ns:"common"})}),s.jsx(me,{className:"w-[18px] h-[18px] ml-0.5 mr-0",children:s.jsx(Dr,{size:13})})]})})}),s.jsxs(Ar,{sideOffset:12,align:"start",className:"max-w-[300px]",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:A?s.jsx(J,{children:i("Select is empty",{ns:"common"})}):s.jsx(J,{children:i("Select Default Option",{ns:"dashboard"})})}),!A&&s.jsxs(s.Fragment,{children:[s.jsx(tr,{}),(H=(z=o.value.templateOptions[C])==null?void 0:z.selectOptions)==null?void 0:H.map((_,$)=>s.jsxs(rr,{checked:b.value===_,onSelect:()=>{b.value=_,o.value=ee(R({},o.value),{templateOptions:[...o.value.templateOptions]})},children:[s.jsx(J,{className:"text-xs ".concat(b.value===_?"font-semibold":""),children:_}),b.value===_&&s.jsxs(me,{className:"ml-auto gap-2 pl-2 opacity-60 hover:opacity-100",children:[s.jsx(v2,{size:13,className:"cursor-pointer hover:text-blue-500 dark:hover:text-blue-400",onClick:()=>{var U;f.value=null,h.value=_,u.value=(U=b.id)!=null?U:null}}),s.jsx(q4,{size:13,className:"cursor-pointer hover:text-red-500 dark:hover:text-red-400",onClick:U=>{var Y,B,F,G,X;U.stopPropagation();const K=(B=(Y=b.selectOptions)==null?void 0:Y.indexOf(_))!=null?B:-1;if(b.selectOptions=(F=b.selectOptions)==null?void 0:F.filter(se=>se!==_),K!==-1){const se=(G=b.selectOptions)==null?void 0:G[K-1],re=(X=b.selectOptions)==null?void 0:X[K];b.value=se||re||void 0}o.value=ee(R({},o.value),{templateOptions:[...o.value.templateOptions]})}})]})]},$))]}),s.jsx(tr,{}),s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",onClick:()=>{var _;A&&(b.selectOptions=[]),h.value=null,u.value=null,f.value=(_=b.id)!=null?_:null},children:s.jsxs(J,{size:"xs",className:"!text-blue-500 dark:!text-blue-400",children:[s.jsx(Fn,{size:13}),A?i("Add First Option",{ns:"common"}):i("Add Option",{ns:"common"})]})})]})]}):s.jsxs(s.Fragment,{children:[s.jsx(er,{small:!0,placeholder:i("Enter select option",{ns:"dashboard"}),autoFocus:!!o.value.templateOptions[C].label,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:b.isEnable===!1,type:"text",className:"".concat(b.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""),onKeyDown:_=>{var $,U,K;_.key==="Escape"?(h.value&&(b.value=h.value),u.value=null,h.value=null,f.value=null):_.key==="Enter"&&(h.value&&u.value===b.id?b.selectOptions=($=b.selectOptions)==null?void 0:$.map(Y=>Y===h.value&&b.value||Y):f.value===b.id&&b.value&&!((U=b.selectOptions)!=null&&U.includes(b.value))&&((K=b.selectOptions)==null||K.push(b.value)),o.value=ee(R({},o.value),{templateOptions:[...o.value.templateOptions]}),h.value=null,u.value=null,f.value=null)},onChange:_=>{b.value=_.target.value.trim()},defaultValue:f.value===b.id?"":b.value},S.value),s.jsx(ye,{size:"mini",variant:"ghost",className:"ml-1 h-8 w-9 text-blue-500 dark:bg-slate-800",onClick:()=>{var _,$,U;h.value&&u.value===b.id?b.selectOptions=(_=b.selectOptions)==null?void 0:_.map(K=>K===h.value&&b.value||K):f.value===b.id&&b.value&&!(($=b.selectOptions)!=null&&$.includes(b.value))&&((U=b.selectOptions)==null||U.push(b.value)),o.value=ee(R({},o.value),{templateOptions:[...o.value.templateOptions]}),h.value=null,u.value=null,f.value=null},title:f.value===b.id?i("Add Option",{ns:"common"}):i("Done Edit",{ns:"common"}),children:f.value===b.id?s.jsx(Fn,{size:18}):u.value===b.id&&s.jsx($t,{size:18})}),s.jsx(ye,{size:"mini",variant:"ghost",className:"h-8 w-8 text-slate-400 dark:bg-transparent",onClick:()=>{h.value&&(b.value=h.value),u.value=null,h.value=null,f.value=null},title:i("Cancel",{ns:"common"}),children:s.jsx(wr,{size:15})})]})}):((V=b.label)==null?void 0:V.toLocaleLowerCase())!=="clipboard"?s.jsx(er,{small:!0,placeholder:i("Enter default value",{ns:"dashboard"}),autoFocus:o.value.templateOptions[C].label!=="Text",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:b.isEnable===!1,type:b.type==="number"?"number":"text",className:"".concat(b.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:_=>{b.value=_.target.value.trim()},defaultValue:b.value},S.value):s.jsxs(s.Fragment,{children:[s.jsx(er,{small:!0,value:b.isValueMasked?_v(i("This field allows to insert text from clipboard",{ns:"dashboard"})):i("This field allows to insert text from clipboard",{ns:"dashboard"}),title:i("This field allows to insert text from clipboard",{ns:"dashboard"}),autoFocus:!1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 opacity-100 dark:bg-transparent",disabled:!0,type:"text",className:"".concat(b.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full")}),s.jsx(Be,{isCompact:!0,text:i("Mask to hide clipboard value in preview",{ns:"dashboard"}),children:s.jsx(Rk,{width:15,height:15,className:"".concat(b.isValueMasked?"text-blue-500 opacity-100":"text-slate-500 opacity-50"," hover:text-blue-500 dark:hover:text-blue-400 hover:opacity-100 cursor-pointer"),onClick:()=>{var _;o.value=ee(R({},o.value),{templateOptions:[...(_=o.value.templateOptions)==null?void 0:_.map(($,U)=>U===C?ee(R({},$),{isValueMasked:!$.isValueMasked}):$)]})}})})]})})}),s.jsxs(me,{className:"gap-1 ml-0.5",children:[b.type!=="section"&&s.jsx(ye,{size:"mini",title:i("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var _;c.value=null,o.value=ee(R({},o.value),{templateOptions:[...(_=o.value.templateOptions)==null?void 0:_.map(($,U)=>U===C?ee(R({},$),{isEnable:!$.isEnable}):$)]})},children:o.value.templateOptions&&((I=o.value.templateOptions[C])!=null&&I.isEnable)?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",title:i("Field Options",{ns:"dashboard"}),variant:"ghost",onClick:()=>{o.value=ee(R({},o.value),{templateOptions:[...zn(o.value.templateOptions||[],C,C-1)]})},className:"text-sm font-semibold rounded-none hover:bg-transparent w-5 dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",children:s.jsx(nl,{size:14})})}),s.jsxs(Ar,{align:"end",children:[s.jsxs(He,{disabled:C===0,onClick:()=>{o.value=ee(R({},o.value),{templateOptions:[...zn(o.value.templateOptions||[],C,C-1)]})},className:"text-[13px] py-1",children:[s.jsx(J,{size:"xs",children:i("Move Up",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(j1,{size:13})})]}),s.jsxs(He,{disabled:o.value.templateOptions?C===o.value.templateOptions.length-1:!1,onClick:()=>{o.value=ee(R({},o.value),{templateOptions:[...zn(o.value.templateOptions||[],C,C+1)]})},className:"text-[13px] py-1",children:[s.jsx(J,{size:"xs",children:i("Move Down",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(S1,{size:13})})]}),s.jsx(tr,{}),((q=b.label)==null?void 0:q.toLocaleLowerCase())!=="clipboard"&&s.jsxs(He,{onClick:()=>{var _;j?c.value=null:c.value=(_=b.id)!=null?_:null},children:[j?s.jsx(J,{size:"xs",children:i("Done Edit",{ns:"common"})}):s.jsx(J,{size:"xs",children:i("Edit Label",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(v2,{size:13})})]}),b.isLabelOnTop?s.jsxs(He,{onClick:()=>{var _;c.value=null,o.value=ee(R({},o.value),{templateOptions:[...(_=o.value.templateOptions)==null?void 0:_.map(($,U)=>U===C?ee(R({},$),{isLabelOnTop:!1}):$)]})},children:[s.jsx(J,{size:"xs",children:i("Label Left",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(lz,{size:13})})]}):s.jsxs(He,{onClick:()=>{var _;c.value=null,o.value=ee(R({},o.value),{templateOptions:[...(_=o.value.templateOptions)==null?void 0:_.map(($,U)=>U===C?ee(R({},$),{isLabelOnTop:!0}):$)]})},children:[s.jsx(J,{size:"xs",children:i("Label Top",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(uz,{size:13})})]}),s.jsx(tr,{}),s.jsxs(He,{className:"text-red-500 dark:!text-red-600 text-[13px] focus:text-red-500 py-1",onClick:()=>{var _;o.value=ee(R({},o.value),{templateOptions:[...(_=o.value.templateOptions)==null?void 0:_.filter(($,U)=>U!==C)]}),n()},children:[s.jsx(J,{size:"xs",className:"!text-red-500 dark:!text-red-600",children:i("Remove",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(xn,{size:13})})]})]})]})]})]})]},C)}),v.value&&s.jsxs(J,{className:"!text-amber-800 dark:!text-amber-400 text-[13px] my-2 bg-yellow-50 dark:bg-yellow-900 p-2 relative",children:[i("All field labels must be unique to ensure they are correctly used within the template.",{ns:"dashboard"}),s.jsx(wr,{className:"absolute top-0 right-0 m-2 bg-yellow-50 dark:bg-yellow-900 z-10 cursor-pointer hover:bg-yellow-100 dark:hover:bg-yellow-800",size:14,onClick:()=>{v.value=!1}})]}),t.value.length>0&&s.jsxs(me,{className:"rounded-md gap-2 my-3 items-start justify-start flex-wrap !text-amber-800 dark:!text-amber-400 text-[13px] bg-yellow-50 dark:bg-amber-950 p-2",children:[s.jsxs(J,{className:"!text-amber-700 dark:!text-amber-500 text-[13px] w-full",children:[s.jsx(pi,{size:13,className:"mr-1"}),i("Found in template but missing from fields definition",{ns:"common"}),":"]}),t==null?void 0:t.value.map((b,C)=>s.jsx(Q,{className:"cursor-pointer",onClick:()=>{var T;o.value.templateOptions||(o.value.templateOptions=[]),v.value=!1;const j=[...o.value.templateOptions],E=(T=o.value.templateOptions)==null?void 0:T.every(A=>A.label!==b);E||(v.value=!0);const N=E?b:"".concat(b," ").concat(o.value.templateOptions.length+1);j.push({id:Date.now().toString(),label:N,type:"text",isEnable:!0,value:""}),o.value=ee(R({},o.value),{templateOptions:j}),n()},children:s.jsxs(lt,{variant:"outline",className:"bg-red-50 dark:bg-red-950/80 hover:bg-blue-50 dark:hover:bg-blue-950/80 border-red-100 dark:border-red-900 hover:border-blue-100 dark:hover:border-blue-800 group text-normal pr-2.5",children:[s.jsx(Be,{text:i("Add to template fields",{ns:"common"}),sideOffset:5,isCompact:!0,side:"bottom",children:s.jsxs(me,{className:"group !text-red-500 dark:!text-red-400 hover:!text-blue-500 dark:hover:!text-blue-400 font-semibold mr-0.5",children:[s.jsx(Ow,{size:12,className:"mr-0.5 group-hover:block hidden"}),s.jsx(Fn,{size:12,className:"mr-0.5 group-hover:hidden"}),b]})}),s.jsx(Be,{text:i("Remove from template",{ns:"common"}),sideOffset:10,isCompact:!0,side:"bottom",children:s.jsx(wr,{onClick:j=>{var E;j.preventDefault(),j.stopPropagation(),(E=m.current)==null||E.handleRemoveTemplateField(b)},size:12,className:"ml-0.5 mr-0 hover:!text-red-600 dark:hover:!text-red-500 group-hover:text-blue-300 dark:group-hover:text-blue-400 text-red-300 dark:text-red-400 cursor-pointer"})},C)]})},C))]}),s.jsxs(s.Fragment,{children:[o.value.templateOptions.length>0&&s.jsxs(me,{className:"gap-2 my-3 items-start justify-start flex-wrap",children:[o.value.templateOptions.map((b,C)=>{var j;return!b.label||!b.label.length?null:b.label&&(r!=null&&r.value.includes((j=b.label)==null?void 0:j.toLocaleLowerCase()))?s.jsx(Be,{text:b.isEnable?b.label==="Clipboard"?s.jsx(ns,{i18nKey:"Field {{Clipboard}} has been found in the template. This allows you to copy text to the clipboard, and it will be inserted into the template",ns:"common"}):s.jsx(ns,{i18nKey:"Field {{{{name}}}} has been found in the template",ns:"dashboard",values:{name:b.label}}):s.jsx(ns,{i18nKey:"Disabled field {{{{name}}}} has been found in the template",ns:"dashboard",values:{name:b.label}}),isCompact:!0,side:"bottom",children:s.jsx(J,{className:"".concat(b.isEnable?"!text-green-600 dark:!text-green-400":"!text-gray-400 dark:!text-gray-500"," !font-normal group"),size:"xs",children:s.jsxs(lt,{variant:"outline",className:"".concat(b.isEnable?"bg-green-100 dark:bg-green-900 hover:bg-green-100/70 dark:hover:bg-green-900 border-green-200 dark:border-green-800":"bg-gray-100 dark:bg-gray-800/70 hover:bg-gray-100/70 dark:hover:bg-gray-700/70 border-gray-200 dark:border-gray-700"," text-normal pr-2.5 group-hover:pr-1.5"),children:[s.jsx($t,{size:12,className:"mr-0.5"}),b.label,s.jsx(Be,{text:i("Remove from template",{ns:"common"}),sideOffset:10,isCompact:!0,side:"bottom",children:s.jsx(wr,{onClick:()=>{var E;(E=m.current)==null||E.handleRemoveTemplateField(b.label)},size:12,className:"".concat(b.isEnable?"text-green-600 dark:text-green-400":"text-gray-400 dark:text-gray-500"," ml-1 hover:!text-red-600 dark:hover:!text-red-300 group-hover:block animate-in fade-in hidden cursor-pointer")})})]})})},C):s.jsx(Be,{text:b.isEnable?b.label==="Clipboard"?s.jsx(ns,{i18nKey:"Add {{Clipboard}} field to template. This allows you to copy text to the clipboard, and it will be inserted into the template",ns:"common"}):s.jsx(ns,{i18nKey:"Add field {{{{name}}}} into the template",ns:"dashboard",values:{name:b.label}}):s.jsx(ns,{i18nKey:"Disabled field {{{{name}}}}",ns:"dashboard",values:{name:b.label}}),isCompact:!0,side:"bottom",children:s.jsx(J,{className:"".concat(b.isEnable?"!text-slate-500 dark:!text-slate-600 hover:!text-blue-500 dark:hover:!text-blue-700 cursor-pointer":"!text-gray-300 dark:!text-gray-600 "," group !font-normal"),size:"xs",onClick:()=>{var E;b.isEnable&&((E=m==null?void 0:m.current)==null||E.handleAddText("{{".concat(b.label,"}}")))},children:s.jsxs(lt,{variant:"outline",className:"".concat(b.isEnable?"bg-white dark:bg-slate-300/90 hover:bg-blue-50 dark:hover:bg-blue-300 border-slate-200 dark:border-slate-700 hover:border-blue-200 dark:hover:border-blue-800":"bg-gray-50 dark:bg-gray-800/80 hover:bg-gray-50 dark:hover:bg-gray-800 border-gray-100 dark:border-gray-700"," text-normal pr-2.5"),children:[b.isEnable?s.jsxs(s.Fragment,{children:[s.jsx(Df,{size:12,className:"mr-0.5 group-hover:block hidden"}),s.jsx(Fn,{size:12,className:"mr-0.5 group-hover:hidden"})]}):s.jsx(ma,{size:12,className:"mr-0.5 hover:text-blue-500 cursor-pointer",onClick:E=>{var N;E.preventDefault(),E.stopPropagation(),o.value=ee(R({},o.value),{templateOptions:[...(N=o.value.templateOptions)==null?void 0:N.map((T,A)=>A===C?ee(R({},T),{isEnable:!0}):T)]})}}),b.label]})})},C)}),o.value.templateOptions.length>1&&r.value.length>0&&s.jsx(Be,{text:i("Remove all fields from template",{ns:"common"}),isCompact:!0,side:"bottom",children:s.jsx(J,{className:"!text-slate-300 dark:!text-slate-500 hover:!text-red-500 dark:hover:!text-red-500 cursor-pointer !font-normal group",size:"xs",onClick:()=>{var b;(b=m==null?void 0:m.current)==null||b.handleRemoveAllTemplateFields()},children:s.jsx(lt,{variant:"outline",className:"dark:bg-slate-300/90 dark:hover:bg-red-100 dark:border-slate-700 dark:hover:border-blue-800 bg-white hover:bg-red-50 border-slate-200 hover:border-red-200 text-normal px-2.5 py-[3px]",children:s.jsx(q4,{size:13})})})})]}),s.jsx(ho,{ref:m,tabIndex:0,enableEmoji:!1,className:"bg-white rounded-md text-sm w-full mr-1",placeholder:"".concat(i("Enter template or drag from history",{ns:"dashboard"}),". ").concat(i("Use double curly brackets for {{field name}}. Use {{clipboard}} to add current clipboard value.",{ns:"dashboard"})),rows:2,autoCorrect:"off",spellCheck:!1,enableEmojiInside:!0,label:"",maxRows:a?12:6,value:e.value,onKeyDown:b=>{b.stopPropagation()},onChange:b=>{e.value=b.target.value}})]})]})}function L2e({clipId:e,clipValue:t,showLinkValidationError:r,isLargeView:n,isDark:a,webrequestTestOutputObject:o,webrequestLocalOptions:i}){var g,b,C,j,E,N,T,A,M,D,L,z,H,V,I,q,_,$,U,K,Y,B,F,G,X,se;const{t:c}=At(),u=We(!1),f=We(!1),h=We(!1),m=We(!1),{updateItemById:v}=sl(),S={dotpathjson:c("FILTERED_TYPES:::Dot Path",{ns:"dashboard"}),jsonpath:c("FILTERED_TYPES:::JSON Path",{ns:"dashboard"}),regex:c("FILTERED_TYPES:::RegEx",{ns:"dashboard"}),regexreplace:c("FILTERED_TYPES:::RegEx Replace",{ns:"dashboard"}),removequotes:c("FILTERED_TYPES:::Remove Quotes",{ns:"dashboard"})},w=re=>pe(this,null,function*(){const{headers:ie,body:oe,filters:ae}=i.value,fe={headers:ie,body:oe,filters:ae,method:re};yield v({updatedItem:{requestOptions:JSON.stringify({headers:ie,body:oe,method:re}),itemId:e}}),i.value=R({},fe)});return p.useEffect(()=>{i.value.body||(m.value=!1)},[o.value.body]),s.jsxs(Q,{className:"select-none mt-1",children:[s.jsxs(me,{className:"text-normal",children:[s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsxs(ye,{variant:"outline",size:"mini",className:"px-2 pr-1 h-10 text-slate-500 border font-semibold text-xs bg-slate-100 _text-sm group hover:text-blue-500 mr-1 flex items-center",children:[s.jsx("span",{children:i.value.method}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{onClick:()=>{w("GET")},children:s.jsx(J,{className:"".concat(i.value.method==="GET"&&"font-semibold"),children:"GET"})}),s.jsx(He,{textValue:"POST",onClick:()=>{w("POST")},children:s.jsx(J,{className:"".concat(i.value.method==="POST"&&"font-semibold"),children:"POST"})}),s.jsx(He,{onClick:()=>{w("PUT")},children:s.jsx(J,{className:"".concat(i.value.method==="PUT"&&"font-semibold"),children:"PUT"})}),s.jsx(He,{onClick:()=>{w("DELETE")},children:s.jsx(J,{className:"".concat(i.value.method==="DELETE"&&"font-semibold"),children:"DELETE"})}),s.jsx(He,{onClick:()=>{w("HEAD")},children:s.jsx(J,{className:"".concat(i.value.method==="HEAD"&&"!font-semibold"),children:"HEAD"})})]})]}),s.jsx(er,{defaultValue:t.value,placeholder:"Enter request url...",classNameInput:"pr-7 text-sm focus:border- ".concat(r.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(r.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:s.jsx(Q,{className:"absolute top-3 right-2",children:r.value?s.jsx(Be,{text:c("Request url might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx(pi,{size:18,className:"text-yellow-500 cursor-pointer"})}):r.value===!1&&s.jsx(Be,{text:c("Request url is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx($t,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:re=>{if(r.value&&(r.value=void 0),re.target.value.length>5){const oe=Rn().match(re.target.value);!oe||oe.length>1?r.value=!0:r.value=!1}t.value=re.target.value}})]}),s.jsx(Q,{className:"mt-2",children:s.jsxs(me,{className:"gap-4 w-full justify-start",children:[s.jsx(J,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",onClick:()=>{const re=[...i.value.headers];re.unshift({id:Date.now().toString(),name:"",isEnable:!0,value:""}),i.value=ee(R({},i.value),{headers:re})},title:c("Add Request Header",{ns:"dashboard"}),children:c("Add Header",{ns:"dashboard"})}),s.jsx(me,{children:s.jsxs(Ir,{children:[s.jsx(Or,{children:s.jsxs(J,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[c("Add Auth",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{onClick:()=>{i.value.auth||(i.value.auth={}),i.value.auth.type="Basic Password",i.value=ee(R({},i.value),{auth:ee(R({},i.value.auth),{type:"Basic Password",basicPassword:"",basicUsername:"",isEnable:!0})})},children:s.jsx(J,{className:"".concat(((g=i.value.auth)==null?void 0:g.type)==="Basic Password"&&"font-semibold"),children:c("Basic Auth",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{i.value.auth||(i.value.auth={}),i.value.auth.type="Bearer Token",i.value=ee(R({},i.value),{auth:ee(R({},i.value.auth),{type:"Bearer Token",bearerToken:"",isEnable:!0})})},children:s.jsx(J,{className:"".concat(((b=i.value.auth)==null?void 0:b.type)==="Bearer Token"&&"font-semibold"),children:c("Bearer Token",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{i.value.auth||(i.value.auth={}),i.value.auth.type="API Key",i.value=ee(R({},i.value),{auth:ee(R({},i.value.auth),{type:"API Key",apiKey:"",apiValue:"",isEnable:!0})})},children:s.jsx(J,{className:"".concat(((C=i.value.auth)==null?void 0:C.type)==="API Key"&&"font-semibold"),children:c("API Key",{ns:"dashboard"})})})]})]})}),s.jsx(me,{children:s.jsxs(Ir,{children:[s.jsx(Or,{children:s.jsxs(J,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[c("Add Response Filter",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{onClick:()=>{i.value.filters||(i.value.filters=[]);const re=[...i.value.filters];re.push({id:Date.now().toString(),filterType:"dotpathjson",isEnable:!0,value:""}),i.value=ee(R({},i.value),{filters:re})},children:s.jsx(J,{children:c("FILTERED_TYPES:::Dot Path",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{i.value.filters||(i.value.filters=[]);const re=[...i.value.filters];re.push({id:Date.now().toString(),filterType:"jsonpath",isEnable:!0,value:""}),i.value=ee(R({},i.value),{filters:re})},children:s.jsx(J,{children:c("FILTERED_TYPES:::JSON Path",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{i.value.filters||(i.value.filters=[]);const re=[...i.value.filters];re.push({id:Date.now().toString(),filterType:"regex",isEnable:!0,value:""}),i.value=ee(R({},i.value),{filters:re})},children:s.jsx(J,{children:c("FILTERED_TYPES:::RegEx",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{i.value.filters||(i.value.filters=[]);const re=[...i.value.filters];re.push({id:Date.now().toString(),filterType:"regexreplace",isEnable:!0,replace:"",value:""}),i.value=ee(R({},i.value),{filters:re})},children:s.jsx(J,{children:c("FILTERED_TYPES:::RegEx Replace",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{i.value.filters||(i.value.filters=[]);const re=[...i.value.filters];re.push({id:Date.now().toString(),filterType:"removequotes",isEnable:!0,value:""}),i.value=ee(R({},i.value),{filters:re})},children:s.jsx(J,{children:c("FILTERED_TYPES:::Remove Quotes",{ns:"dashboard"})})})]})]})})]})}),i.value.headers.length>0&&s.jsxs(Q,{className:"mt-2",children:[s.jsxs(me,{className:"gap-1 w-full justify-start",children:[s.jsxs(J,{className:"font-semibold",size:"sm",children:[c("Headers",{ns:"dashboard"}),s.jsx(lt,{className:"ml-1 py-0",variant:"secondary",children:i.value.headers.length})]}),s.jsxs(xa,{defaultOpen:!1,open:u.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(ye,{size:"mini",title:c("Remove headers",{ns:"dashboard"}),variant:"ghost",className:"text-sm w-6 h-6 hover:bg-transparent ml-0.5",onClick:()=>{u.value=!0},children:s.jsx(wr,{size:16})})}),s.jsx(ea,{sideOffset:10,align:"center",className:"w-60",onEscapeKeyDown:()=>{u.value=!1},onPointerDownOutside:()=>{u.value=!1},children:s.jsxs(me,{className:"flex-col gap-3",children:[s.jsx(J,{color:"black",size:"sm",children:c("Confirm to remove headers",{ns:"dashboard"})}),s.jsxs(me,{children:[s.jsx(ye,{variant:"ghost",className:"hover:bg-transparent font-normal h-8",onClick:()=>{u.value=!1},children:c("Cancel",{ns:"common"})}),s.jsxs(ye,{className:"hover:bg-red-100 bg-red-50 text-red-500 h-8",onClick:()=>{i.value=ee(R({},i.value),{headers:[]}),u.value=!1},children:[c("Remove",{ns:"common"}),s.jsx(lt,{variant:"destructive",className:"ml-1 py-[1px]",children:i.value.headers.length})]})]})]})})]})]}),i.value.headers.map((re,ie)=>{var oe;return s.jsxs(me,{className:"gap-2 mb-1",children:[s.jsx(er,{small:!0,defaultValue:re.name,disabled:re.isEnable===!1,onChange:ae=>{re.name=ae.target.value.trim()},placeholder:c("Name",{ns:"dashboard"}),autoFocus:ie===0,className:"".concat(re.isEnable===!1?"bg-gray-100 opacity-50":""),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),s.jsx(er,{small:!0,placeholder:c("Value",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:re.isEnable===!1,className:"".concat(re.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:ae=>{re.value=ae.target.value.trim()},defaultValue:re.value,required:!0}),s.jsx(ye,{size:"mini",title:c("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{i.value=ee(R({},i.value),{headers:i.value.headers.map((ae,fe)=>fe===ie?ee(R({},ae),{isEnable:!ae.isEnable}):ae)})},children:(oe=i.value.headers[ie])!=null&&oe.isEnable?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsx(ye,{size:"mini",title:c("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{i.value=ee(R({},i.value),{headers:i.value.headers.filter((ae,fe)=>fe!==ie)})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:s.jsx(xn,{size:14})})]},re.id)})]}),((j=i.value.auth)==null?void 0:j.type)&&s.jsxs(Q,{className:"mt-2",children:[s.jsxs(me,{className:"gap-1 w-full justify-start",children:[s.jsxs(J,{className:"font-semibold",size:"sm",children:[c("Auth",{ns:"dashboard"})," (",(E=i.value.auth)==null?void 0:E.type,")"]}),s.jsxs(xa,{defaultOpen:!1,open:f.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(ye,{size:"mini",title:c("Remove headers",{ns:"dashboard"}),variant:"ghost",className:"text-sm w-6 h-6 hover:bg-transparent ml-0.5",onClick:()=>{f.value=!0},children:s.jsx(wr,{size:16})})}),s.jsx(ea,{sideOffset:10,align:"center",className:"w-52",onEscapeKeyDown:()=>{f.value=!1},onPointerDownOutside:()=>{f.value=!1},children:s.jsxs(me,{className:"flex-col gap-3",children:[s.jsx(J,{color:"black",size:"sm",children:c("Confirm to remove Auth",{ns:"dashboard"})}),s.jsxs(me,{children:[s.jsx(ye,{variant:"ghost",className:"hover:bg-transparent font-normal h-8",onClick:()=>{f.value=!1},children:c("Cancel",{ns:"common"})}),s.jsx(ye,{className:"hover:bg-red-100 bg-red-50 text-red-500 h-8",onClick:()=>{i.value=ee(R({},i.value),{auth:{}}),f.value=!1},children:c("Remove",{ns:"common"})})]})]})})]})]}),((N=i.value.auth)==null?void 0:N.type)==="Bearer Token"&&s.jsxs(me,{className:"gap-2 mb-1",children:[s.jsx(er,{small:!0,isPassword:!0,showHidePassword:!0,defaultValue:(T=i.value.auth)==null?void 0:T.bearerToken,disabled:((A=i.value.auth)==null?void 0:A.isEnable)===!1,onChange:re=>{i.value.auth||(i.value.auth={}),i.value.auth.bearerToken=re.target.value.trim()},className:"".concat(((M=i.value.auth)==null?void 0:M.isEnable)===!1?"bg-gray-100 opacity-50":""),placeholder:c("Bearer Token",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),s.jsx(ye,{size:"mini",title:c("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var re;i.value=ee(R({},i.value),{auth:ee(R({},i.value.auth),{isEnable:!((re=i.value.auth)!=null&&re.isEnable)})})},children:(D=i.value.auth)!=null&&D.isEnable?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsx(ye,{size:"mini",title:c("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{i.value=ee(R({},i.value),{auth:{}})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:s.jsx(xn,{size:14})})]}),((L=i.value.auth)==null?void 0:L.type)==="API Key"&&s.jsxs(me,{className:"gap-2 mb-1",children:[s.jsx(er,{small:!0,defaultValue:(z=i.value.auth)==null?void 0:z.apiKey,disabled:((H=i.value.auth)==null?void 0:H.isEnable)===!1,className:"".concat(((V=i.value.auth)==null?void 0:V.isEnable)===!1?"bg-gray-100 opacity-50":""),onChange:re=>{i.value.auth||(i.value.auth={}),i.value.auth.apiKey=re.target.value.trim()},placeholder:c("API Key",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),s.jsx(er,{small:!0,defaultValue:(I=i.value.auth)==null?void 0:I.apiValue,disabled:((q=i.value.auth)==null?void 0:q.isEnable)===!1,className:"".concat(((_=i.value.auth)==null?void 0:_.isEnable)===!1?"bg-gray-100 opacity-50":""),onChange:re=>{i.value.auth||(i.value.auth={}),i.value.auth.apiValue=re.target.value.trim()},placeholder:c("API Key's Value",{ns:"dashboard"}),isPassword:!0,showHidePassword:!0,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),s.jsx(ye,{size:"mini",title:c("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var re;i.value=ee(R({},i.value),{auth:ee(R({},i.value.auth),{isEnable:!((re=i.value.auth)!=null&&re.isEnable)})})},children:($=i.value.auth)!=null&&$.isEnable?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsx(ye,{size:"mini",title:c("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{i.value=ee(R({},i.value),{auth:{}})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:s.jsx(xn,{size:14})})]}),((U=i.value.auth)==null?void 0:U.type)==="Basic Password"&&s.jsxs(me,{className:"gap-2 mb-1",children:[s.jsx(er,{small:!0,defaultValue:(K=i.value.auth)==null?void 0:K.basicUsername,disabled:((Y=i.value.auth)==null?void 0:Y.isEnable)===!1,className:"".concat(((B=i.value.auth)==null?void 0:B.isEnable)===!1?"bg-gray-100 opacity-50":""),onChange:re=>{i.value.auth||(i.value.auth={}),i.value.auth.basicUsername=re.target.value.trim()},placeholder:c("Basic Username",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),s.jsx(er,{small:!0,defaultValue:(F=i.value.auth)==null?void 0:F.basicPassword,disabled:((G=i.value.auth)==null?void 0:G.isEnable)===!1,className:"".concat(((X=i.value.auth)==null?void 0:X.isEnable)===!1?"bg-gray-100 opacity-50":""),onChange:re=>{i.value.auth||(i.value.auth={}),i.value.auth.basicPassword=re.target.value.trim()},placeholder:c("Basic Password",{ns:"dashboard"}),isPassword:!0,showHidePassword:!0,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),s.jsx(ye,{size:"mini",title:c("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var re;i.value=ee(R({},i.value),{auth:ee(R({},i.value.auth),{isEnable:!((re=i.value.auth)!=null&&re.isEnable)})})},children:(se=i.value.auth)!=null&&se.isEnable?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsx(ye,{size:"mini",title:c("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{i.value=ee(R({},i.value),{auth:{}})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:s.jsx(xn,{size:14})})]})]}),i.value.filters.length>0&&s.jsxs(Q,{className:"mt-2",children:[s.jsxs(me,{className:"gap-1 w-full justify-start",children:[s.jsxs(J,{className:"font-semibold",size:"sm",children:[c("Response Filters",{ns:"dashboard"}),s.jsx(lt,{className:"ml-1 py-0",variant:"secondary",children:i.value.filters.length})]}),s.jsxs(xa,{defaultOpen:!1,open:h.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(ye,{size:"mini",title:c("Remove headers",{ns:"dashboard"}),variant:"ghost",className:"text-sm w-6 h-6 hover:bg-transparent ml-0.5",onClick:()=>{h.value=!0},children:s.jsx(wr,{size:16})})}),s.jsx(ea,{sideOffset:10,align:"center",className:"w-60",onEscapeKeyDown:()=>{h.value=!1},onPointerDownOutside:()=>{h.value=!1},children:s.jsxs(me,{className:"flex-col gap-3",children:[s.jsx(J,{color:"black",size:"sm",children:c("Confirm to remove filters",{ns:"dashboard"})}),s.jsxs(me,{children:[s.jsx(ye,{variant:"ghost",className:"hover:bg-transparent font-normal h-8",onClick:()=>{h.value=!1},children:c("Cancel",{ns:"common"})}),s.jsxs(ye,{className:"hover:bg-red-100 bg-red-50 text-red-500 h-8",onClick:()=>{i.value=ee(R({},i.value),{filters:[]}),h.value=!1},children:[c("Remove",{ns:"common"}),s.jsx(lt,{variant:"destructive",className:"ml-1 py-[1px]",children:i.value.filters.length})]})]})]})})]})]}),i.value.filters.map((re,ie)=>{var ae;const oe=S[re.filterType];return s.jsxs(me,{className:"gap-1 mb-1",children:[s.jsx(J,{title:"".concat(c("Filter Type",{ns:"dashboard"}),": ").concat(oe),className:"".concat(re.isEnable===!1?"bg-gray-100 opacity-50":""," text-[13px] !font-semibold pl-1.5 self-stretch flex !justify-end"),children:s.jsxs("span",{className:"whitespace-nowrap overflow-hidden text-ellipsis w-[120px] text-left block",children:[ie+1,". ",oe]})}),re.filterType==="removequotes"?s.jsx(er,{small:!0,autoFocus:ie===i.value.filters.length-1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 !text-slate-600",disabled:!1,className:"".concat(re.isEnable===!1?"bg-gray-100 opacity-50":""," "),readOnly:!0,defaultValue:c("Remove all double quotes",{ns:"dashboard"})}):s.jsx(er,{small:!0,placeholder:c("Filter's Value",{ns:"dashboard"}),autoFocus:ie===i.value.filters.length-1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:re.isEnable===!1,className:"".concat(re.isEnable===!1?"bg-gray-100 opacity-50":""," w-full"),onChange:fe=>{re.value=fe.target.value.trim()},defaultValue:re.value}),re.filterType==="regexreplace"&&s.jsx(er,{small:!0,placeholder:c("Replace Value",{ns:"dashboard"}),autoFocus:ie===i.value.filters.length-1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:re.isEnable===!1,className:"".concat(re.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:fe=>{re.replace=fe.target.value.trim()},defaultValue:re.replace}),s.jsx(ye,{size:"mini",title:c("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{i.value=ee(R({},i.value),{filters:i.value.filters.map((fe,le)=>le===ie?ee(R({},fe),{isEnable:!fe.isEnable}):fe)})},children:(ae=i.value.filters[ie])!=null&&ae.isEnable?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",title:c("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{i.value=ee(R({},i.value),{filters:zn(i.value.filters,ie,ie-1)})},className:"text-sm font-semibold rounded-none hover:bg-transparent w-5 dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",children:s.jsx(nl,{size:14})})}),s.jsxs(Ar,{align:"end",children:[s.jsxs(He,{disabled:ie===0,onClick:()=>{i.value=ee(R({},i.value),{filters:zn(i.value.filters,ie,ie-1)})},className:"text-[13px] py-1",children:[s.jsx(J,{children:c("Move Up",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(j1,{size:13})})]}),s.jsxs(He,{disabled:ie===i.value.filters.length-1,onClick:()=>{i.value=ee(R({},i.value),{filters:zn(i.value.filters,ie,ie+1)})},className:"text-[13px] py-1",children:[s.jsx(J,{children:c("Move Down",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(S1,{size:13})})]}),s.jsxs(He,{className:"text-red-500 text-[13px] focus:text-red-500 py-1",onClick:()=>{i.value=ee(R({},i.value),{filters:i.value.filters.filter((fe,le)=>le!==ie)})},children:[s.jsx(J,{className:"!text-red-500",children:c("Remove",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(xn,{size:13})})]})]})]})]},re.id)})]}),(o.value.body||o.value.status)&&s.jsxs(Q,{className:"".concat(o.value.status&&o.value.status>=400?"bg-red-50 ":"bg-green-50"," ").concat(n?"py-1":"py-0"," rounded-md px-3 relative mt-2 pt-1 pb-1 select-text min-h-[0px] fade-in animate-in duration-500"),children:[o.value.body&&o.value.filteredBody&&s.jsx(Qi,{className:"flex flex-row absolute top-2 right-3 z-10 select-none",value:m.value?"fullBody":"filteredBody",onValueChange:re=>{m.value=re==="fullBody"},children:s.jsxs(Fo,{className:"self-center px-1 py-1 opacity-60 hover:opacity-100 animate-in fade-in bg-slate-200",children:[s.jsx(bn,{value:"fullBody",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",title:c("Full Body Response",{ns:"dashboard"}),children:c("Full",{ns:"dashboard"})}),s.jsx(bn,{value:"filteredBody",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",title:c("Filtered Response",{ns:"dashboard"}),children:c("Filtered",{ns:"dashboard"})})]})}),s.jsx(va,{isDark:a,maxHeight:n?150:100,isLargeView:!1,isShowMore:!0,isWrapped:!0,value:o.value.filteredBody&&!m.value?o.value.filteredBody:o.value.body||c("No body returned for response",{ns:"dashboard"}),language:o.value.contentType&&o.value.body&&ZP[o.value.contentType.split(";")[0]]||"text"}),s.jsxs(me,{className:"justify-between py-1 pb-1",children:[s.jsx(Q,{className:"text-xs rounded-sm px-1.5 select-none bg-slate-300 text-slate-600",children:o.value.contentType&&ZP[o.value.contentType.split(";")[0]]}),s.jsx(Q,{className:"".concat(o.value.status&&o.value.status>=400?"bg-red-300 text-red-700":"bg-green-300 text-green-700"," text-xs rounded-sm px-1.5 select-none"),children:o.value.status&&o.value.status>=400?"".concat(o.value.hasFiltersError?"filters":o.value.status," error"):"".concat(o.value.status)})]})]})]})}function I2e({clipValue:e,showLinkValidationError:t,isLargeView:r,isDark:n,testOutputObject:a,localOptions:o}){var v,S,w,g,b,C,j,E,N,T,A,M,D,L,z,H,V,I,q,_,$,U,K,Y,B,F,G,X,se,re,ie,oe,ae,fe;const{t:i}=At(),c=We(!1),u=We(!1),f={cssselector:i("RULES_TYPES:::CSS Selector",{ns:"dashboard"}),regexfind:i("RULES_TYPES:::RegEx Find",{ns:"dashboard"}),regexmatch:i("RULES_TYPES:::RegEx Match",{ns:"dashboard"}),regexmatchfoundgroup:i("RULES_TYPES:::RegEx Group Match",{ns:"dashboard"}),regexreplace:i("RULES_TYPES:::RegEx Replace",{ns:"dashboard"})},h={comma:i("SEPARATOR_TYPES:::Comma (,)",{ns:"dashboard"}),semicolon:i("SEPARATOR_TYPES:::Semicolon (;)",{ns:"dashboard"}),space:i("SEPARATOR_TYPES:::Space (' ')",{ns:"dashboard"}),newline:i("SEPARATOR_TYPES:::New Line (\\n)",{ns:"dashboard"}),tab:i("SEPARATOR_TYPES:::Tab (\\t)",{ns:"dashboard"}),pipe:i("SEPARATOR_TYPES:::Pipe (|)",{ns:"dashboard"})},m={first:i("RETURN_POSITION_TYPES:::First Only",{ns:"dashboard"}),last:i("RETURN_POSITION_TYPES:::Last Only",{ns:"dashboard"})};return s.jsxs(Q,{className:"select-none mt-1",children:[s.jsxs(me,{className:"text-normal",children:[s.jsx(Be,{asChild:!0,text:i("Website URL",{ns:"dashboard"}),isCompact:!0,side:"bottom",children:s.jsx(ye,{variant:"outline",size:"mini",className:"px-2 h-10 pointer-events-none text-slate-500 border font-semibold text-xs bg-slate-100 _text-sm group hover:text-blue-500 mr-1 flex items-center",children:s.jsx("span",{children:i("URL",{ns:"dashboard"})})})}),s.jsx(er,{defaultValue:e.value,placeholder:i("Enter request url",{ns:"dashboard"}),classNameInput:"pr-7 text-sm focus:border- ".concat(t.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(t.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:s.jsx(Q,{className:"absolute top-3 right-2",children:t.value?s.jsx(Be,{text:i("Website URL might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx(pi,{size:18,className:"text-yellow-500 cursor-pointer"})}):t.value===!1&&s.jsx(Be,{text:i("Website URL is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx($t,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:le=>{if(t.value&&(t.value=void 0),le.target.value.length>5){const be=Rn().match(le.target.value);!be||be.length>1?t.value=!0:t.value=!1}e.value=le.target.value}})]}),s.jsx(Q,{className:"mt-2",children:s.jsx(me,{className:"gap-4 w-full justify-start",children:s.jsx(me,{children:s.jsxs(Ir,{children:[s.jsx(Or,{children:s.jsxs(J,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[i("Add Scraping Rule",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{onClick:()=>{o.value.scrapingRules||(o.value.scrapingRules=[]);const le=[...o.value.scrapingRules];le.push({id:Date.now().toString(),ruleType:"cssselector",isEnable:!0,value:""}),o.value=ee(R({},o.value),{scrapingRules:le})},children:s.jsx(J,{children:i("CSS Selector",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{o.value.scrapingRules||(o.value.scrapingRules=[]);const le=[...o.value.scrapingRules];le.push({id:Date.now().toString(),ruleType:"regexfind",isEnable:!0,value:""}),o.value=ee(R({},o.value),{scrapingRules:le})},children:s.jsx(J,{children:i("RegEx Find",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{o.value.scrapingRules||(o.value.scrapingRules=[]);const le=[...o.value.scrapingRules];le.push({id:Date.now().toString(),ruleType:"regexmatch",isEnable:!0,value:""}),o.value=ee(R({},o.value),{scrapingRules:le})},children:s.jsx(J,{children:i("RegEx Match",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{o.value.scrapingRules||(o.value.scrapingRules=[]);const le=[...o.value.scrapingRules];le.push({id:Date.now().toString(),ruleType:"regexmatchfoundgroup",isEnable:!0,value:""}),o.value=ee(R({},o.value),{scrapingRules:le})},children:s.jsx(J,{children:i("RegEx Match Group",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{o.value.scrapingRules||(o.value.scrapingRules=[]);const le=[...o.value.scrapingRules];le.push({id:Date.now().toString(),ruleType:"regexreplace",isEnable:!0,value:""}),o.value=ee(R({},o.value),{scrapingRules:le})},children:s.jsx(J,{children:i("RegEx Replace",{ns:"dashboard"})})})]})]})})})}),o.value.scrapingRules&&o.value.scrapingRules.length>0&&s.jsxs(Q,{className:"mt-2",children:[s.jsxs(me,{className:"gap-1 w-full justify-start",children:[s.jsxs(J,{className:"font-semibold",size:"sm",children:[i("Scrapping Rules",{ns:"dashboard"}),s.jsx(lt,{className:"ml-1 py-0",variant:"secondary",children:o.value.scrapingRules.length})]}),s.jsxs(xa,{defaultOpen:!1,open:c.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(ye,{size:"mini",title:i("Remove headers",{ns:"dashboard"}),variant:"ghost",className:"text-sm w-6 h-6 hover:bg-transparent ml-0.5",onClick:()=>{c.value=!0},children:s.jsx(wr,{size:16})})}),s.jsx(ea,{sideOffset:10,align:"center",className:"w-60",onEscapeKeyDown:()=>{c.value=!1},onPointerDownOutside:()=>{c.value=!1},children:s.jsxs(me,{className:"flex-col gap-3",children:[s.jsx(J,{color:"black",size:"sm",children:i("Confirm to remove rules",{ns:"dashboard"})}),s.jsxs(me,{children:[s.jsx(ye,{variant:"ghost",className:"hover:bg-transparent font-normal h-8",onClick:()=>{c.value=!1},children:i("Cancel",{ns:"dashboard"})}),s.jsxs(ye,{className:"hover:bg-red-100 bg-red-50 text-red-500 h-8",onClick:()=>{o.value=ee(R({},o.value),{scrapingRules:[]}),c.value=!1},children:[i("Remove",{ns:"dashboard"}),s.jsx(lt,{variant:"destructive",className:"ml-1 py-[1px]",children:o.value.scrapingRules.length})]})]})]})})]})]}),o.value.scrapingRules.map((le,ue)=>{var Ce,Pe;const be=f[le.ruleType];return s.jsxs(me,{className:"mb-1 mt-2 items-center",children:[s.jsx(J,{title:"".concat(i("Rule Type",{ns:"common"}),": ").concat(be),className:"".concat(le.isEnable===!1?"bg-gray-100 opacity-50":""," text-[13px] !font-semibold pl-1.5 self-stretch flex !justify-end pb-2"),children:s.jsxs("span",{className:"whitespace-nowrap overflow-hidden text-ellipsis w-[120px] text-left block",children:[ue+1,". ",be]})}),s.jsxs(me,{className:"gap-0.5 flex-col w-full items-start ".concat(le.isEnable===!1?"bg-gray-100 opacity-50":""),children:[s.jsx(me,{className:"w-full gap-1",children:s.jsxs(s.Fragment,{children:[s.jsx(er,{small:!0,placeholder:le.ruleType==="cssselector"?"Selector":"Rule's Value",autoFocus:o.value.scrapingRules?ue===((Ce=o.value.scrapingRules)==null?void 0:Ce.length)-1:!1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:le.isEnable===!1,className:"".concat(le.isEnable===!1?"bg-gray-100 opacity-50":""," w-full"),onChange:Ee=>{le.value=Ee.target.value.trim()},defaultValue:le.value}),le.ruleType==="cssselector"&&s.jsx(er,{small:!0,placeholder:"Find Text",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:le.isEnable===!1,className:"max-w-[120px] ".concat(le.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:Ee=>{le.filterText=Ee.target.value.trim()},defaultValue:le.filterText})]})}),s.jsxs(me,{className:"gap-1 mb-1",children:[le.ruleType==="regexreplace"&&s.jsx(er,{small:!0,placeholder:"Replace Value",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:le.isEnable===!1,className:"".concat(le.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:Ee=>{le.replace=Ee.target.value.trim()},defaultValue:le.replace}),le.ruleType==="cssselector"&&s.jsxs(s.Fragment,{children:[s.jsx(er,{small:!0,placeholder:"Attribute Name",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:le.isEnable===!1,className:"max-w-[120px] ".concat(le.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:Ee=>{le.returnAttribute=Ee.target.value.trim()},defaultValue:le.returnAttribute}),s.jsx(er,{small:!0,placeholder:"Attribute Text",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:le.isEnable===!1,className:"max-w-[120px] ".concat(le.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:Ee=>{le.returnAttributeText=Ee.target.value.trim()},defaultValue:le.returnAttributeText})]})]})]}),s.jsxs(me,{className:"gap-1 mb-1 mt-[-12px] ml-2",children:[s.jsx(ye,{size:"mini",title:i("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var Ee;o.value=ee(R({},o.value),{scrapingRules:(Ee=o.value.scrapingRules)==null?void 0:Ee.map((Oe,Ve)=>Ve===ue?ee(R({},Oe),{isEnable:!Oe.isEnable}):Oe)})},children:o.value.scrapingRules&&((Pe=o.value.scrapingRules[ue])!=null&&Pe.isEnable)?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",title:i("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{o.value=ee(R({},o.value),{scrapingRules:zn(o.value.scrapingRules||[],ue,ue-1)})},className:"text-sm font-semibold rounded-none hover:bg-transparent w-5 dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",children:s.jsx(nl,{size:14})})}),s.jsxs(Ar,{align:"end",children:[s.jsxs(He,{disabled:ue===0,onClick:()=>{o.value=ee(R({},o.value),{scrapingRules:zn(o.value.scrapingRules||[],ue,ue-1)})},className:"text-[13px] py-1",children:[s.jsx(J,{children:i("Move Up",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(j1,{size:13})})]}),s.jsxs(He,{disabled:o.value.scrapingRules?ue===o.value.scrapingRules.length-1:!1,onClick:()=>{o.value=ee(R({},o.value),{scrapingRules:zn(o.value.scrapingRules||[],ue,ue+1)})},className:"text-[13px] py-1",children:[s.jsx(J,{children:i("Move Down",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(S1,{size:13})})]}),s.jsxs(He,{className:"text-red-500 text-[13px] focus:text-red-500 py-1",onClick:()=>{var Ee;o.value=ee(R({},o.value),{scrapingRules:(Ee=o.value.scrapingRules)==null?void 0:Ee.filter((Oe,Ve)=>Ve!==ue)})},children:[s.jsx(J,{className:"!text-red-500",children:i("Remove",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(xn,{size:13})})]})]})]})]})]},le.id)}),o.value.scrapingRules&&o.value.scrapingRules.length>0&&s.jsxs(me,{className:"mt-2 justify-start",children:[s.jsx(ye,{variant:"outline",size:"mini",className:"px-2 h-8 text-[13px] text-slate-500 border-0 font-semibold mr-2 flex items-center",children:s.jsx("span",{className:"whitespace-nowrap",children:i("Return Result As",{ns:"dashboard"})})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsxs(ye,{variant:"outline",size:"mini",title:i("Return Type",{ns:"dashboard"}),className:"px-2 pr-1 h-8 text-slate-500 border font-semibold text-xs bg-slate-100 _text-sm group hover:text-blue-500 mr-1 flex items-center",children:[s.jsx("span",{className:"whitespace-nowrap",children:(v=o.value.scrapingOptions)==null?void 0:v.returnType}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{disabled:!0,className:"text-center flex items-center justify-center py-0.5",children:s.jsx(J,{children:i("Return Type",{ns:"dashboard"})})}),s.jsx(tr,{}),s.jsx(rr,{checked:((S=o.value.scrapingOptions)==null?void 0:S.returnType)==="Text",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnType:"Text"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsx(J,{className:"".concat(((w=o.value.scrapingOptions)==null?void 0:w.returnType)==="Text"&&"font-semibold"),children:i("ReturnType:::Text",{ns:"dashboard"})})}),s.jsx(rr,{checked:((g=o.value.scrapingOptions)==null?void 0:g.returnType)==="Array",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnType:"Array"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsx(J,{className:"".concat(((b=o.value.scrapingOptions)==null?void 0:b.returnType)==="Array"&&"font-semibold"),children:i("ReturnType:::Array",{ns:"dashboard"})})})]})]}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsxs(ye,{variant:"outline",size:"mini",title:i("Return Count Limit",{ns:"dashboard"}),className:"px-2 pr-1 h-8 text-slate-500 border font-semibold text-xs bg-slate-100 _text-sm group hover:text-blue-500 mr-1 flex items-center",children:[s.jsxs("span",{className:"whitespace-nowrap",children:[i("Limit",{ns:"dashboard"}),":",s.jsx("span",{className:"ml-1",children:(C=o.value.scrapingOptions)!=null&&C.returnCount&&o.value.scrapingOptions.returnPosition==null&&o.value.scrapingOptions.returnCount>0?(j=o.value.scrapingOptions)==null?void 0:j.returnCount:((E=o.value.scrapingOptions)==null?void 0:E.returnPosition)!==null?m[(N=o.value.scrapingOptions)==null?void 0:N.returnPosition]:i("RETURN_POSITION_TYPES:::All",{ns:"dashboard"})})]}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{disabled:!0,className:"text-center flex items-center justify-center py-0.5",children:s.jsx(J,{children:i("Return Count Limit",{ns:"dashboard"})})}),s.jsx(tr,{}),s.jsx(rr,{checked:((T=o.value.scrapingOptions)==null?void 0:T.returnCount)==null&&((A=o.value.scrapingOptions)==null?void 0:A.returnPosition)==null,onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnPosition:null,returnCount:null});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsx(J,{className:"".concat(((M=o.value.scrapingOptions)==null?void 0:M.returnCount)==null&&((D=o.value.scrapingOptions)==null?void 0:D.returnPosition)==null&&"font-semibold"),children:i("All (No Limit)",{ns:"dashboard"})})}),s.jsx(rr,{checked:((L=o.value.scrapingOptions)==null?void 0:L.returnPosition)=="first",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnCount:null,returnPosition:"first"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsx(J,{className:"".concat(((z=o.value.scrapingOptions)==null?void 0:z.returnPosition)=="first"&&"font-semibold"),children:i("First Only",{ns:"dashboard"})})}),s.jsx(rr,{checked:((H=o.value.scrapingOptions)==null?void 0:H.returnPosition)=="last",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnCount:null,returnPosition:"last"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsx(J,{className:"".concat(((V=o.value.scrapingOptions)==null?void 0:V.returnPosition)=="last"&&"font-semibold"),children:i("Last Only",{ns:"dashboard"})})}),[...Array(5)].map((le,ue)=>{var Ce,Pe;const be=ue+1;return s.jsx(rr,{checked:((Ce=o.value.scrapingOptions)==null?void 0:Ce.returnCount)===be,onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const Ee=ee(R({},o.value.scrapingOptions),{returnPosition:null,returnCount:be});o.value=ee(R({},o.value),{scrapingOptions:Ee})},children:s.jsx(J,{className:"".concat(((Pe=o.value.scrapingOptions)==null?void 0:Pe.returnCount)===be&&"font-semibold"),children:be})},be)}),[10,20].map(le=>{var ue,be;return s.jsx(rr,{checked:((ue=o.value.scrapingOptions)==null?void 0:ue.returnCount)===le,onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const Ce=ee(R({},o.value.scrapingOptions),{returnPosition:null,returnCount:le});o.value=ee(R({},o.value),{scrapingOptions:Ce})},children:s.jsx(J,{className:"".concat(((be=o.value.scrapingOptions)==null?void 0:be.returnCount)===le&&"font-semibold"),children:le})},le)})]})]}),((I=o.value.scrapingOptions)==null?void 0:I.returnType)!=="Array"&&((q=o.value.scrapingOptions)==null?void 0:q.returnPosition)==null&&(((_=o.value.scrapingOptions)==null?void 0:_.returnCount)==null||(($=o.value.scrapingOptions)==null?void 0:$.returnCount)!==1)&&s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsxs(ye,{variant:"outline",size:"mini",title:i("Text Separator",{ns:"dashboard"}),className:"px-2 pr-1 h-8 text-slate-500 border font-semibold text-xs bg-slate-100 _text-sm group hover:text-blue-500 mr-1 flex items-center",children:[s.jsx("span",{className:"whitespace-nowrap",children:h[(U=o.value.scrapingOptions)==null?void 0:U.returnSeparator]}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{disabled:!0,className:"text-center flex items-center justify-center py-0.5",children:s.jsx(J,{children:i("Text Separator",{ns:"dashboard"})})}),s.jsx(tr,{}),s.jsx(rr,{checked:((K=o.value.scrapingOptions)==null?void 0:K.returnSeparator)==="newline",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnSeparator:"newline"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsxs(J,{className:"".concat(((Y=o.value.scrapingOptions)==null?void 0:Y.returnSeparator)==="newline"&&"font-semibold"),children:[i("ReturnSeparator:::New Line",{ns:"dashboard"})," (\\n)"]})}),s.jsx(rr,{checked:((B=o.value.scrapingOptions)==null?void 0:B.returnSeparator)==="tab",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnSeparator:"tab"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsxs(J,{className:"".concat(((F=o.value.scrapingOptions)==null?void 0:F.returnSeparator)==="tab"&&"font-semibold"),children:[i("ReturnSeparator:::Tab",{ns:"dashboard"})," (\\t)"]})}),s.jsx(rr,{checked:((G=o.value.scrapingOptions)==null?void 0:G.returnSeparator)==="comma",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnSeparator:"comma"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsxs(J,{className:"".concat(((X=o.value.scrapingOptions)==null?void 0:X.returnSeparator)==="comma"&&"font-semibold"),children:[i("ReturnSeparator:::Comma",{ns:"dashboard"})," (,)"]})}),s.jsx(rr,{checked:((se=o.value.scrapingOptions)==null?void 0:se.returnSeparator)==="semicolon",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnSeparator:"semicolon"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsxs(J,{className:"".concat(((re=o.value.scrapingOptions)==null?void 0:re.returnSeparator)==="semicolon"&&"font-semibold"),children:[i("ReturnSeparator:::Semicolon",{ns:"dashboard"})," (;)"]})}),s.jsx(rr,{checked:((ie=o.value.scrapingOptions)==null?void 0:ie.returnSeparator)==="pipe",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnSeparator:"pipe"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsxs(J,{className:"".concat(((oe=o.value.scrapingOptions)==null?void 0:oe.returnSeparator)==="pipe"&&"font-semibold"),children:[i("ReturnSeparator:::Pipe",{ns:"dashboard"})," (|)"]})}),s.jsx(rr,{checked:((ae=o.value.scrapingOptions)==null?void 0:ae.returnSeparator)==="space",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnSeparator:"space"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsxs(J,{className:"".concat(((fe=o.value.scrapingOptions)==null?void 0:fe.returnSeparator)==="space"&&"font-semibold"),children:[i("ReturnSeparator:::Space",{ns:"dashboard"})," (' ')"]})})]})]})]})]}),(a.value.body||a.value.status)&&s.jsxs(Q,{className:"".concat(a.value.status&&a.value.status>=400?"bg-red-50 ":"bg-green-50"," ").concat(r?"!pb-3 mb-1 !py-3":"py-0 pb-2"," rounded-md px-3 relative mt-2 pt-1 select-text min-h-[0px] fade-in animate-in duration-500"),children:[a.value.body&&a.value.scrappedBody&&s.jsx(Qi,{className:"flex flex-row absolute top-2 right-3 z-10 select-none",value:u.value?"fullBody":"filteredBody",onValueChange:le=>{u.value=le==="fullBody"},children:s.jsxs(Fo,{className:"self-center px-1 py-1 opacity-60 hover:opacity-100 animate-in fade-in bg-slate-200",children:[s.jsx(bn,{value:"fullBody",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",title:i("Full Body Response",{ns:"dashboard"}),children:i("Full",{ns:"dashboard"})}),s.jsx(bn,{value:"filteredBody",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",title:i("Filtered Response",{ns:"dashboard"}),children:a.value.foundCount&&a.value.foundCount>1?i("Found {{foundCount}} results",{ns:"dashboard",foundCount:a.value.foundCount}):i("Found",{ns:"common"})})]})}),s.jsx(va,{isDark:n,maxHeight:r?150:100,isLargeView:!1,isShowMore:!0,isWrapped:!0,value:a.value.scrappedBody&&!u.value?a.value.scrappedBody:a.value.body||i("No body returned for response",{ns:"dashboard"}),language:a.value.body&&u.value?"html":"text"}),o.value.scrapingRules&&o.value.scrapingRules.length===0&&s.jsxs(J,{className:"text-xs text-yellow-600",children:[i("You have no rules added",{ns:"dashboard"}),"."]}),a.value.status&&a.value.status>=400&&s.jsx(me,{className:"justify-between py-1 pb-1",children:s.jsxs(Q,{className:"text-xs rounded-sm px-1.5 select-none bg-red-300 text-red-700",children:[a.value.status," error"]})})]})]})}function JU({id:e,isMenu:t}){const r=We(!1),{t:n}=At(),a=()=>{r.value=!1,E4.value=null},{deleteClipImageByItemId:o}=Tge();return s.jsxs(xa,{defaultOpen:!1,open:r.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(Q,{tabIndex:0,className:"focus:outline-none",children:s.jsx(Be,{text:n("Remove image",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"p-1.5 border-0 bg-red-50/80 flex items-center justify-center hover:bg-red-50/100",onClick:()=>{r.value=!0,E4.value=e},children:s.jsx(xn,{size:20,className:"text-red-600 cursor-pointer"})})})})}),s.jsx(ea,{sideOffset:16,align:"center",className:"p-3 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-60",onEscapeKeyDown:()=>{a()},onPointerDownOutside:()=>{a()},children:r.value&&s.jsxs(me,{className:"flex-col",children:[t?s.jsx(J,{color:"black",size:"sm",className:"!inline-block text-center mb-2 font-semibold",children:n("Are you sure you want to remove image from the menu?",{ns:"menus"})}):s.jsx(J,{color:"black",size:"sm",className:"!inline-block text-center mb-2 font-semibold",children:n("Are you sure you want to remove image from the clip?",{ns:"dashboard"})}),s.jsx(J,{color:"black",size:"sm",className:"italic text-center",children:n("This action cannot be undone.",{ns:"dashboard"})}),s.jsx(kr,{h:3}),s.jsxs(me,{children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 dark:hover:text-gray-400 hover:text-gray-600 mr-3 border-gray-100 hover:border-gray-200 dark:bg-gray-900 dark:border-gray-900 dark:hover:border-gray-900 dark:hover:bg-gray-800",onClick:()=>{a()},children:n("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-red-100 hover:bg-opacity-80 hover:bg-red-200 text-red-500 hover:text-red-600 border-red-200 dark:bg-red-900 dark:border-red-900 dark:hover:border-red-900 dark:hover:bg-red-800 dark:text-red-300 dark:hover:text-red-200",onClick:()=>{o({itemId:e}),a()},children:n("Remove",{ns:"common"})})]})]})})]})}function O2e({clipId:e,isOver:t,value:r,isCode:n,isText:a,isTemplate:o,isForm:i,isImage:c,isDelete:u,isMasked:f,hasEmoji:h,isVideo:m,isCommand:v,isWebRequest:S,isWebScraping:w,isPath:g,isLink:b,isLargeView:C,imageDataUrl:j,isPinned:E,isFavorite:N,requestOptions:T,isShowLinkedClip:A,formTemplateOptions:M,isNewlyCreated:D,isDark:L,detectedLanguage:z,isHistoryDragActive:H,onCancel:V}){var pt,_t,ht,It,Ft,Vt,Ge,Zt,nr,vr,pr,Wr;const{t:I}=At(),q=p.useRef(null),_=We(""),$=We({method:"GET",headers:[],body:"",scrapingRules:[],scrapingOptions:{returnType:"Text",returnSeparator:null,returnCount:null},filters:[],auth:{}}),U=We({templateOptions:[],formOptions:{fields:[]}}),K=We(""),Y=We(""),B=We("text"),F=We({body:null,status:null,hasFiltersError:null,foundCount:null,filteredBody:null,contentType:null}),{metadataLinkByItemId:G,invalidateLinkMetadataByItemId:X}=A1(b,e),se=(G==null?void 0:G.linkTitle)&&(G==null?void 0:G.linkDomain),re=th(),ie=We(!1),oe=We([]),ae=We([]),fe=We(Date.now()),le=We(!1),ue=We(void 0),be=We(void 0),Ce=We(void 0),Pe=We(void 0),{updateItemById:Ee}=sl(),Oe=p.useRef(null),Ve=mo(_.value,300),ct=mo(_.value,600),gt=C?"max-h-[600px]":"max-h-[300px]",Ke=We(!1);p.useEffect(()=>{if(T)try{const Le=JSON.parse(T);$.value=R(R({},$.value),Le)}catch(Le){console.log("error",Le)}},[T]),p.useEffect(()=>{if(M)try{const Le=JSON.parse(M);U.value=R(R({},U.value),Le)}catch(Le){console.log("error",Le)}},[M]),p.useEffect(()=>{_.value=r!=null?r:""},[r]);const Et=p.useMemo(()=>n?I("Type:::Code Snippet",{ns:"common"}):c?I("Type:::Image",{ns:"common"}):v?I("Type:::Shell Command",{ns:"common"}):S?I("Type:::Web Request (HTTP)",{ns:"common"}):w?I("Type:::Web Scraper / Parser",{ns:"common"}):b?I("Type:::Link or Email",{ns:"common"}):g?I("Type:::File, Path or App",{ns:"common"}):i?I("Type:::Form Auto Fill",{ns:"common"}):o?I("Type:::Template Fill",{ns:"common"}):I("Type:::Plain Text",{ns:"common"}),[n,c,v,S,b,g,i,o,w]);p.useEffect(()=>{if(b){const Mt=Rn().match(_.value);!Mt||Mt.length>1?ue.value=!0:ue.value=!1}},[b]);const Re=p.useCallback(Le=>pe(this,null,function*(){const Ze=r===_.value?r:Le;g&&Ze.length>5&&Sr("check_path",{path:Ze}).then(()=>{be.value=!1}).catch(()=>{be.value=!0})}),[g]),xt=p.useCallback(Le=>{const Mt=/{{[^{}]+}}/g;oe.value=[],ae.value=[];const Ze=Le.match(Mt);Ze&&Ze.forEach((mr,Se)=>{Ze[Se]=mr.replace(/[\n\r{}]+/g,"").trim(),ae.value.push(Ze[Se].toLocaleLowerCase());const je=U.value.templateOptions.find(we=>{var Fe;return((Fe=we.label)==null?void 0:Fe.toLocaleLowerCase())===Ze[Se].toLocaleLowerCase()});je?je.isFound=!0:Ze[Se].toLocaleLowerCase()==="clipboard"?oe.value.push("Clipboard"):oe.value.push(Ze[Se])}),oe.value=[...new Set(oe.value)],!Ze||Ze.length===0||oe.value.length>0?Pe.value=!0:Pe.value=!1},[o,U.value.templateOptions]);p.useEffect(()=>{g&&Ve.length>5&&Re(Ve)},[g,Ve]),p.useEffect(()=>{o&&ct.length>5&&xt(_.value)},[ct]),p.useEffect(()=>{(ue.value||be.value||Pe.value||Ce.value)&&le.value&&(ie.value=!0)},[ue.value,be.value,Ce.value,Pe.value,le.value]),p.useEffect(()=>{F.value.status&&F.value.status>=400&&le.value&&(ie.value=!0)},[F.value.status,le.value]);const ot=(Le=!1)=>pe(this,null,function*(){var mr,Se,je,we,Fe,nt;if(mp.value&&(Xy.value=!0,yield new Promise(rt=>setTimeout(rt,200))),Qy.value)return;let Mt=null;ie.value=!1,le.value=!0,ue.value=void 0,be.value=void 0,F.value={};const Ze=_.value.trim();if(Le)Mt=g?"Error":null;else{if(o)if(xt(_.value),oe.value.length>0||ae.value.length===0){Pe.value=!0;return}else Pe.value=!1;if(i&&((mr=U.value.formOptions)!=null&&mr.openUrl)&&!((Se=U.value.formOptions)!=null&&Se.isOpenUrlDisabled)){const Ie=Rn().match((je=U.value.formOptions)==null?void 0:je.openUrl);if(!Ie||Ie.length>1){ue.value=!0;return}}if(b){const Ie=Rn().match(Ze);if(!Ie||Ie.length>1){ue.value=!0;return}}if(g)try{Mt=yield Sr("path_type_check",{path:Ze})}catch(rt){Mt="Error",be.value=!0;return}else if(v)try{if(yield Sr("run_shell_command",{execCmd:Ze}),(we=$.value.outputTemplate)!=null&&we.id&&!((nt=(Fe=$.value.outputTemplate)==null?void 0:Fe.value)!=null&&nt.includes("{{output}}"))){Pe.value=!0;return}}catch(rt){K.value=rt,Ce.value=!0;return}else if(S)try{const rt=yield Sr("run_web_request",{request:{url:Ze,method:$.value.method,headers:$.value.headers,filters:$.value.filters,body:$.value.body,auth:$.value.auth}});if(F.value={},rt.status&&rt.status>=400){F.value={body:rt.body,filteredBody:rt.filteredBody,hasFiltersError:rt.hasFiltersError,status:rt.status,contentType:rt.contentType};return}}catch(rt){F.value={body:rt,status:500,contentType:null};return}else if(w)try{const rt=yield Sr("run_web_scraping",{request:{url:Ze,method:"GET",scrapingRules:$.value.scrapingRules,scrapingOptions:$.value.scrapingOptions}});if(F.value={},rt.status&&rt.status>=400){F.value={body:rt.body,filteredBody:rt.scrappedBody,hasFiltersError:rt.hasRulesError,status:rt.status};return}}catch(rt){F.value={body:rt,status:500,contentType:null};return}}(i||o)&&(o&&U.value.templateOptions.forEach(rt=>{rt.defaultValue=rt.value}),M=JSON.stringify(U.value),yield Ee({updatedItem:{formTemplateOptions:M,isForm:!!i,isTemplate:!!o,itemId:e}})),(S||w||v)&&(T=JSON.stringify($.value),yield Ee({updatedItem:{requestOptions:T,itemId:e}})),yield Ee({updatedItem:ee(R(R(R(R({value:Ze},v?{isCommand:!0}:{}),S?{isWebRequest:!0}:{}),w?{isWebScraping:!0}:{}),Mt&&g?{pathType:Mt}:{}),{itemId:e})}),setTimeout(()=>{le.value=!1,V()},200)});return p.useEffect(()=>{var Le;A&&((Le=q==null?void 0:q.current)==null||Le.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))},[A,q==null?void 0:q.current]),s.jsx(eh,{className:hr("px-2 pr-1.5 py-2 m-0.5 mt-0 pt-0 mx-1 text-left flex flex-row rounded-md select-auto",u&&"bg-red-50 dark:bg-red-900"),children:s.jsxs(Q,{className:"w-full mt-0",ref:q,children:[!H||c&&j?n||z||c||v||b||S||o||w||i||g?g?s.jsxs(me,{className:"relative text-normal",children:[s.jsx(er,{defaultValue:_.value,placeholder:I("Enter full path to file, folder or application",{ns:"dashboard"}),classNameInput:"pr-10 text-sm focus:border- ".concat(be.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(be.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:s.jsx(Q,{className:"absolute top-3 right-4",children:be.value?s.jsx(Be,{text:I("File, folder or app path might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx(pi,{size:18,className:"text-yellow-500 cursor-pointer"})}):be.value===!1&&s.jsx(Be,{text:I("File, folder or app path is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx($t,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:Le=>{_.value=Le.target.value}},fe.value),s.jsx(XU,{onCallBack:Le=>{fe.value=Date.now(),_.value=Le}})]}):b?s.jsxs(me,{className:"relative text-normal mt-1 flex-col",children:[s.jsx(er,{defaultValue:_.value,placeholder:I("Enter web link or email",{ns:"dashboard"}),classNameInput:"pr-7 text-sm focus:border- ".concat(ue.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(ue.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:s.jsx(Q,{className:"absolute top-3 right-2",children:ue.value?s.jsx(Be,{text:I("Web Link or Email might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 dark:bg-yellow-900 dark:text-slate-200 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx(pi,{size:18,className:"text-yellow-500 cursor-pointer"})}):ue.value===!1&&s.jsx(Be,{text:I("Web or Email link is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 dark:bg-green-900 dark:text-slate-200 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx($t,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:Le=>{if(ue.value&&(ue.value=void 0),Le.target.value.length>5){const Ze=Rn().match(Le.target.value);!Ze||Ze.length>1?ue.value=!0:ue.value=!1}_.value=Le.target.value}}),se&&s.jsx(Q,{className:"self-start mt-2 mb-0 text-xs w-full select-none overflow-hidden",children:s.jsx(e0,{isDisabled:_n((pt=_.value)==null?void 0:pt.trim())!==((_t=G==null?void 0:G.linkUrl)==null?void 0:_t.trim()),title:G==null?void 0:G.linkTitle,description:G==null?void 0:G.linkDescription,favicon:G==null?void 0:G.linkFavicon,link:G==null?void 0:G.linkUrl,image:G==null?void 0:G.linkImage,domain:G==null?void 0:G.linkDomain})}),c?!fc(_.value)&&!ue.value&&s.jsx(Q,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center",children:s.jsx(tl,{src:_n(_.value),hasError:Ke.value,onErrorCallback:()=>{Ke.value=!0},draggable:!1,decoding:"async",className:"".concat(gt," min-h-10")})}):s.jsxs(me,{className:"w-full mt-1 justify-start select-none",children:[fc(_.value)||ue.value||_.value.length<3?!fc(_.value)&&s.jsx(ye,{disabled:!0,variant:"ghost",className:"!px-1 !m-0 !h-4",children:se?s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline",size:"xs",children:[s.jsx(g2,{size:13,className:"mr-1"}),"!",I("Update Link Card",{ns:"dashboard"}),"!"]}):s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline",size:"xs",children:[s.jsx(Pv,{size:13,className:"mr-1"}),I("Add Link Card",{ns:"dashboard"})]})}):s.jsx(ye,{variant:"ghost",className:"px-1 !m-0 !h-4 hover:bg-transparent",onClick:()=>pe(this,null,function*(){yield Sr("fetch_link_metadata",{url:_n(_.value),itemId:e}),X()}),children:se?s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[s.jsx(g2,{size:13,className:"mr-1"}),I("Update Link Card",{ns:"dashboard"})]}):s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[s.jsx(Pv,{size:13,className:"mr-1"}),I("Add Link Card",{ns:"dashboard"})]})}),se&&s.jsx(ye,{variant:"ghost",className:"px-1 ml-auto !h-4 hover:bg-transparent",onClick:()=>pe(this,null,function*(){yield Sr("delete_link_metadata",{itemId:e}),X()}),children:s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[I("Remove",{ns:"common"}),s.jsx(Tv,{size:14,className:"ml-1"})]})})]})]}):n?s.jsx(Dj,{value:_.value,height:C?"calc(100vh - 280px)":"200px",isDark:L,options:{mode:z!=null?z:"javascript"},onChange:Le=>{_.value=Le.getValue()}},"code-editor"):c?s.jsxs(Q,{className:"px-0 py-1.5 flex items-center justify-center relative",children:[s.jsx("img",{src:j||xf,draggable:!1,decoding:"async",height:"auto",className:"".concat(E4.value===e?"!border-red-400 opacity-70":""," max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-400")}),s.jsx(Q,{className:"absolute",children:j?s.jsx(JU,{id:e}):s.jsx(ZU,{id:e})})]}):v?s.jsxs(Q,{className:"mt-0.5",children:[s.jsx(Dj,{value:_.value,height:C?"260px":"70px",isDark:L,isCmd:!0,lineWrapping:!0,options:{mode:"shell"},onChange:Le=>{_.value=Le.getValue(),K.value="",Ce.value=void 0}},"code-editor"),(ht=$.value.outputRegexFilter)!=null&&ht.id?s.jsxs(Q,{className:"mt-2",children:[s.jsx(me,{className:"gap-1 w-full justify-start",children:s.jsx(J,{className:"font-semibold",size:"sm",children:I("Regex Match Group Filter",{ns:"dashboard"})})}),s.jsxs(me,{className:"gap-2 mb-2",children:[s.jsx(er,{small:!0,defaultValue:(It=$.value.outputRegexFilter)==null?void 0:It.value,disabled:((Ft=$.value.outputRegexFilter)==null?void 0:Ft.isEnable)===!1,onChange:Le=>{$.value.outputRegexFilter||($.value.outputRegexFilter={}),$.value.outputRegexFilter.value=Le.target.value.trim()},className:"".concat(((Vt=$.value.outputRegexFilter)==null?void 0:Vt.isEnable)===!1?"bg-gray-100 opacity-50":""),placeholder:I("Enter regex for output filer",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),s.jsx(ye,{size:"mini",title:I("Enable / Disable",{ns:"dashboard"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var Le;$.value=ee(R({},$.value),{outputRegexFilter:ee(R({},$.value.outputRegexFilter),{isEnable:!((Le=$.value.outputRegexFilter)!=null&&Le.isEnable)})})},children:(Ge=$.value.outputRegexFilter)!=null&&Ge.isEnable?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsx(ye,{size:"mini",title:I("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{$.value=ee(R({},$.value),{outputRegexFilter:{}})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:s.jsx(xn,{size:14})})]})]}):s.jsx(me,{className:"gap-4 w-full justify-start mt-2 mb-1",children:s.jsx(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",onClick:()=>{var Le,Mt,Ze;$.value.outputRegexFilter||($.value.outputRegexFilter={}),$.value=ee(R({},$.value),{outputRegexFilter:{id:(Le=$.value.outputRegexFilter.id)!=null?Le:Date.now().toString(),value:(Mt=$.value.outputRegexFilter.value)!=null?Mt:"",isEnable:(Ze=$.value.outputRegexFilter.isEnable)!=null?Ze:!0}})},children:I("Add Regex Match Group Filter",{ns:"dashboard"})})}),(Zt=$.value.outputTemplate)!=null&&Zt.id?s.jsxs(Q,{className:"mt-2",children:[s.jsx(me,{className:"gap-1 w-full justify-start",children:s.jsx(J,{className:"font-semibold",size:"sm",children:I("Output Template",{ns:"dashboard"})})}),Pe.value&&s.jsx(J,{className:"!text-yellow-600 text-xs mt-2",children:s.jsx(ns,{i18nKey:"Template should have⠀{{output}}⠀placeholder.",ns:"dashboard"})}),s.jsxs(me,{className:"gap-2 mb-2",children:[s.jsx(er,{small:!0,defaultValue:(nr=$.value.outputTemplate)==null?void 0:nr.value,disabled:((vr=$.value.outputTemplate)==null?void 0:vr.isEnable)===!1,onChange:Le=>{$.value.outputTemplate||($.value.outputTemplate={}),$.value.outputTemplate.value=Le.target.value.trim()},className:"".concat(((pr=$.value.outputTemplate)==null?void 0:pr.isEnable)===!1?"bg-gray-100 opacity-50":""),placeholder:I("Wrap output using {{output}} placeholder",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),s.jsx(ye,{size:"mini",title:I("Enable / Disable",{ns:"dashboard"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var Le;$.value=ee(R({},$.value),{outputTemplate:ee(R({},$.value.outputTemplate),{isEnable:!((Le=$.value.outputTemplate)!=null&&Le.isEnable)})})},children:(Wr=$.value.outputTemplate)!=null&&Wr.isEnable?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsx(ye,{size:"mini",title:I("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{$.value=ee(R({},$.value),{outputTemplate:{}})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:s.jsx(xn,{size:14})})]})]}):s.jsx(me,{className:"gap-4 w-full justify-start mt-2 mb-1",children:s.jsx(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",onClick:()=>{var Le,Mt,Ze;$.value.outputTemplate||($.value.outputTemplate={}),$.value=ee(R({},$.value),{outputTemplate:{id:(Le=$.value.outputTemplate.id)!=null?Le:Date.now().toString(),value:(Mt=$.value.outputTemplate.value)!=null?Mt:"",isEnable:(Ze=$.value.outputTemplate.isEnable)!=null?Ze:!0}})},children:I("Add Output Template",{ns:"dashboard"})})}),K.value&&s.jsxs(Q,{className:"".concat(Ce.value?"bg-red-50 dark:bg-red-950":"bg-green-50 dark:bg-green-950"," ").concat(C?"py-1":"py-0"," rounded-md px-3 relative"),children:[s.jsx(va,{isDark:L,maxHeight:C?150:100,isLargeView:!1,isShowMore:!0,isWrapped:!0,value:K.value,language:"shell"}),s.jsx(Q,{className:"".concat(Ce.value?"bg-red-300 dark:bg-red-800":"bg-green-300 dark:bg-green-800"," text-xs rounded-sm px-1.5 absolute right-2 bottom-2 select-none"),children:Ce.value?I("Command:::error",{ns:"dashboard"}):I("Command:::output",{ns:"dashboard"})})]})]}):S?s.jsx(L2e,{isLargeView:C,clipId:e,clipValue:_,webrequestTestOutputObject:F,webrequestLocalOptions:$,showLinkValidationError:ue,isDark:L,requestOptions:T}):w?s.jsx(I2e,{isLargeView:C,clipValue:_,testOutputObject:F,localOptions:$,showLinkValidationError:ue,isDark:L,requestOptions:T}):o?s.jsxs(Q,{children:[s.jsx(R2e,{clipValue:_,isLargeView:C,checkForTemplateFieldsCallback:()=>{xt(_.value)},templateMissingFields:oe,templateFoundFields:ae,localOptions:U}),Y.value&&s.jsxs(Q,{className:"bg-sky-50/70 dark:bg-sky-950/70 relative mt-2 rounded-md text-sm",children:[s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:s.jsxs(Q,{className:"text-sm py-1 px-3 whitespace-pre-wrap pb-8",children:[s.jsx("div",ee(R({},B.value==="html"&&{dangerouslySetInnerHTML:{__html:Of.sanitize(Y.value)}}),{className:"font-normal"})),B.value==="text"&&Y.value]})}),s.jsx(wr,{size:16,className:"absolute right-2 top-2 cursor-pointer opacity-30 hover:opacity-100",onClick:()=>{Y.value=""}}),s.jsx(Q,{className:"bg-slate-300 dark:bg-slate-900 text-xs rounded-sm px-1.5 absolute left-2 bottom-2 select-none",children:I("filled template",{ns:"dashboard"})}),s.jsx(Qi,{className:"flex flex-row absolute bottom-2 right-3 z-10 select-none",value:B.value,onValueChange:Le=>{B.value=Le==="html"?"html":"text"},children:s.jsxs(Fo,{className:"self-center px-1 py-1 opacity-60 hover:opacity-100 animate-in fade-in bg-slate-200 dark:bg-slate-900",children:[s.jsx(bn,{value:"text",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:I("Text",{ns:"dashboard"})}),s.jsx(bn,{value:"html",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:I("HTML",{ns:"dashboard"})})]})})]})]}):i&&s.jsx(A2e,{isLargeView:C,showLinkValidationError:ue,localOptions:U}):s.jsxs(s.Fragment,{children:[s.jsxs(Q,{className:"text-slate-400 flex gap-1.5 px-0.5 p-1.5 pt-0.5 items-center",children:[s.jsx(Be,{isCompact:!0,text:I("Toolbar:::Copy and Paste Formatting",{ns:"common"}),children:s.jsx(gz,{size:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Le;(Le=Oe==null?void 0:Oe.current)==null||Le.handleAddBBcode("copy")}})}),s.jsx(Be,{isCompact:!0,text:I("Toolbar:::Masked Text Formatting",{ns:"common"}),children:s.jsx(Rk,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Le;(Le=Oe==null?void 0:Oe.current)==null||Le.handleAddBBcode("mask")}})}),s.jsx(Be,{isCompact:!0,text:I("Toolbar:::Blank Text Formatting",{ns:"common"}),children:s.jsx(BU,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Le;(Le=Oe==null?void 0:Oe.current)==null||Le.handleAddBBcode("blank")}})}),s.jsx(Be,{isCompact:!0,text:I("Toolbar:::Hightlight Text Formatting",{ns:"common"}),children:s.jsx(UU,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Le;(Le=Oe==null?void 0:Oe.current)==null||Le.handleAddBBcode("hl")}})}),s.jsx(Be,{isCompact:!0,text:I("Toolbar:::Header Formatting",{ns:"common"}),children:s.jsx(yie,{size:17,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Le;(Le=Oe==null?void 0:Oe.current)==null||Le.handleAddBBcode("h")}})}),s.jsx(Be,{isCompact:!0,text:I("Toolbar:::Bold Formatting",{ns:"common"}),children:s.jsx(pae,{size:17,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Le;(Le=Oe==null?void 0:Oe.current)==null||Le.handleAddBBcode("b")}})}),s.jsx(Be,{isCompact:!0,text:I("Toolbar:::Italic Formatting",{ns:"common"}),children:s.jsx(Tie,{size:17,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Le;(Le=Oe==null?void 0:Oe.current)==null||Le.handleAddBBcode("i")}})}),s.jsx("div",{tabIndex:-1,className:"ml-auto mr-0.5",children:s.jsx(Be,{isCompact:!0,text:I("Toolbar:::Remove Text Formatting",{ns:"common"}),asChild:!0,children:s.jsx(Ez,{size:17,className:"hover:text-red-500 dark:hover:text-red-700 cursor-pointer",onClick:()=>{var Le;(Le=Oe==null?void 0:Oe.current)==null||Le.handleRemoveBBcodes(["copy","mask","blank","hl","h","b","i"])}})})})]}),s.jsx(ho,{ref:Oe,tabIndex:0,enableEmoji:!1,className:"bg-white rounded-md text-sm w-full mr-1",placeholder:I("Enter value or drag from history",{ns:"dashboard"}),rows:2,autoFocus:D,autoCorrect:"off",spellCheck:!1,enableEmojiInside:!0,label:"",maxRows:C?12:6,value:_.value,onKeyDown:Le=>{Le.stopPropagation()},onChange:Le=>{_.value=Le.target.value}})]}):s.jsx(D2e,{isOver:t}),s.jsx(en,{style:{minWidth:"100%"},forceVisible:!0,className:"dashboard-tabs",children:s.jsxs(me,{className:"w-full justify-start items-center select-none",children:[s.jsxs(me,{className:"items-start mt-2",children:[s.jsx(T2e,{isCode:n,isCommand:v,isWebRequest:S,isWebScraping:w,isLink:b,isPath:g,isText:a,isTemplate:o,isForm:i,isImage:c,itemId:e,detectedLanguage:z,children:s.jsx(Q,{children:s.jsx(Be,{text:Et,isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"px-2 h-8 text-slate-500 border-0 dark:hover:bg-slate-900/70 bg-slate-200 dark:bg-slate-800 text-sm group hover:text-blue-500 dark:hover:!text-blue-600",children:n?s.jsxs(s.Fragment,{children:[s.jsx(A6,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Code",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):c?s.jsxs(s.Fragment,{children:[s.jsx(m2,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Image",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):g?s.jsxs(s.Fragment,{children:[s.jsx(I6,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Path",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):S?s.jsxs(s.Fragment,{children:[s.jsx(yU,{width:16,height:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Request",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):w?s.jsxs(s.Fragment,{children:[s.jsx(bU,{width:16,height:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Scraper",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):v?s.jsxs(s.Fragment,{children:[s.jsx(Mz,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Command",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):b?s.jsxs(s.Fragment,{children:[s.jsx(D6,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Link",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):i?s.jsxs(s.Fragment,{children:[s.jsx(Az,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::AutoFill",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):o?s.jsxs(s.Fragment,{children:[s.jsx(L6,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Template",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):s.jsxs(s.Fragment,{children:[s.jsx(p2,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Text",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]})})})})})}),v?s.jsx(Be,{text:I("Test Run",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-2 px-1.5 h-8 w-8 text-gray-400 border-0 group",onClick:()=>pe(this,null,function*(){var Le,Mt,Ze,mr,Se;try{K.value=yield Sr("run_shell_command",{execCmd:_.value,outputTemplate:(Le=$.value.outputTemplate)!=null&&Le.id?$.value.outputTemplate:null,outputRegexFilter:(Mt=$.value.outputRegexFilter)!=null&&Mt.id?$.value.outputRegexFilter:null}),Ce.value=!1,Pe.value=!!((Ze=$.value.outputTemplate)!=null&&Ze.id&&!((Se=(mr=$.value.outputTemplate)==null?void 0:mr.value)!=null&&Se.includes("{{output}}")))}catch(je){K.value=je,Ce.value=!0}}),children:s.jsx(me,{className:"font-medium text-sm gap-1",children:s.jsx(K0,{size:16,className:"text-gray-500"})})})})}):S?s.jsx(Be,{text:I("Test Request",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-2 px-1.5 h-8 w-8 text-gray-400 border-0 group",onClick:()=>pe(this,null,function*(){F.value={};try{F.value=yield Sr("run_web_request",{request:{url:_.value,method:$.value.method,headers:$.value.headers,filters:$.value.filters,body:$.value.body,auth:$.value.auth}})}catch(Le){F.value={body:Le,status:500,contentType:null}}}),children:s.jsx(me,{className:"font-medium text-sm gap-1",children:s.jsx(K0,{size:16,className:"text-gray-500"})})})})}):i?s.jsx(Be,{text:I("Test Run",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-2 px-1.5 h-8 w-8 text-gray-400 border-0 group",onClick:()=>pe(this,null,function*(){yield Sr("run_form_fill",{formOptions:U.value.formOptions,firstDelay:1})}),children:s.jsx(me,{className:"font-medium text-sm gap-1",children:s.jsx(K0,{size:16,className:"text-gray-500"})})})})}):o?s.jsx(Be,{text:I("Test Run",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-2 px-1.5 h-8 w-8 text-gray-400 border-0 group",onClick:()=>pe(this,null,function*(){try{Y.value=yield Sr("run_template_fill",{templateValue:_.value,templateOptions:U.value.templateOptions,isPreview:!0})}catch(Le){console.error(Le)}}),children:s.jsx(me,{className:"font-medium text-sm gap-1",children:s.jsx(K0,{size:16,className:"text-gray-500"})})})})}):w&&s.jsx(Be,{text:I("Test Run",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-2 px-1.5 h-8 w-8 text-gray-400 border-0 group",onClick:()=>pe(this,null,function*(){F.value={};try{F.value=yield Sr("run_web_scraping",{request:{url:_.value,method:"GET",scrapingRules:$.value.scrapingRules,scrapingOptions:$.value.scrapingOptions}})}catch(Le){F.value={body:Le,status:500,contentType:null}}}),children:s.jsx(me,{className:"font-medium text-sm gap-1",children:s.jsx(K0,{size:16,className:"text-gray-500"})})})})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(Be,{text:I("Clip Options",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1 h-8 w-8 text-slate-500 border-0 hover:text-blue-500",children:s.jsx(Gf,{size:16})})})})}),s.jsxs(Ar,{className:"",sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:s.jsx(J,{children:I("Clip Options",{ns:"dashboard"})})}),s.jsx(tr,{}),E?s.jsxs(He,{onClick:()=>{Ee({updatedItem:{isPinned:!1,itemId:e}})},children:[I("UnPin Clip",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Vu,{size:15})})]}):s.jsxs(He,{onClick:()=>{Ee({updatedItem:{isPinned:!0,itemId:e}})},children:[I("Pin",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(kc,{size:15})})]}),N?s.jsxs(He,{onClick:()=>{Ee({updatedItem:{isFavorite:!1,itemId:e}})},children:[I("Remove Star",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Hw,{size:15,className:"fill-transparent"})})]}):s.jsxs(He,{onClick:()=>{Ee({updatedItem:{isFavorite:!0,itemId:e}})},children:[I("Star",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Yf,{size:15,className:"fill-transparent"})})]}),s.jsx(tr,{}),s.jsxs(He,{className:f?"font-semibold":"",onClick:Le=>{Le.preventDefault(),Ee({updatedItem:{isMasked:!f,itemId:e}})},children:[I("Type:::Secret",{ns:"common"}),f&&s.jsx("div",{className:"ml-auto pl-2",children:s.jsx($t,{size:15,className:"fill-transparent"})})]}),s.jsxs(He,{className:m?"font-semibold":"",onClick:Le=>{Le.preventDefault(),Ee({updatedItem:{isVideo:!m,itemId:e}})},children:[I("Type:::Video",{ns:"common"}),m&&s.jsx("div",{className:"ml-auto pl-2",children:s.jsx($t,{size:15,className:"fill-transparent"})})]}),s.jsxs(He,{className:h?"font-semibold":"",onClick:Le=>{Le.preventDefault(),Ee({updatedItem:{hasEmoji:!h,itemId:e}})},children:[I("Type:::Emoji",{ns:"common"}),h&&s.jsx("div",{className:"ml-auto pl-2",children:s.jsx($t,{size:15,className:"fill-transparent"})})]}),s.jsx(tr,{}),s.jsx(P2e,{clipId:e,onComplete:V})]})]})]}),s.jsxs(me,{className:"items-end ml-auto mt-1",children:[s.jsx(Be,{text:I("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{V()},children:s.jsx(wr,{size:18})})})}),s.jsxs(xa,{defaultOpen:!1,open:ie.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsxs(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>{!re&&(v||S||w||o||i)?co.value=!0:ot()},children:[s.jsx($t,{size:18,className:"mr-1"}),I("Save",{ns:"common"}),(v||S||w||o||i)&&s.jsx(gc,{})]})})}),s.jsx(ea,{sideOffset:16,align:"center",onEscapeKeyDown:()=>{ie.value=!1,le.value=!1},onPointerDownOutside:()=>{ie.value=!1,le.value=!1},className:"p-1.5 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-60",children:s.jsxs(me,{className:"flex-col p-1.5 rounded-md",children:[s.jsx(J,{color:"black",size:"sm",className:"!inline-block text-center pointer-events-none !font-semibold drop-zone text-yellow-600",children:ue.value?I("Errors:::Please verify your link for any errors, or confirm to save as is.",{ns:"dashboard"}):be.value?I("Errors:::Please verify your path for any errors, or confirm to save as is.",{ns:"dashboard"}):Ce.value?I("Errors:::Your command runs with errors, confirm you want to save as is.",{ns:"dashboard"}):F.value.status&&!F.value.hasFiltersError&&F.value.status>=400?I("Errors:::Your request runs with errors, confirm you want to save as is.",{ns:"dashboard"}):F.value.status&&F.value.hasFiltersError&&F.value.status>=400?I("Errors:::Your request has filters error, confirm you want to save as is.",{ns:"dashboard"}):Pe.value?ae.value.length===0?I("Errors:::No fields found in the template.",{ns:"dashboard"})+" "+I("Errors:::Please fix the problem or confirm to save as is.",{ns:"dashboard"}):oe.value.length>0?I("{{count}} fields found in template but missing from fields definition.",{ns:"dashboard",count:oe.value.length})+" "+I("Errors:::Please fix the problem or confirm to save as is.",{ns:"dashboard"}):I("Errors:::Your template has errors, confirm you want to save as is.",{ns:"dashboard"}):I("Please confirm to save as is.",{ns:"dashboard"})}),s.jsx(kr,{h:3}),s.jsxs(me,{className:"mb-1",children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 hover:text-gray-600 mr-3 border-transparent hover:border-gray-200",onClick:()=>{ie.value=!1,le.value=!1},children:I("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-slate-200 hover:bg-opacity-80 hover:bg-slate-200 text-slate-500 hover:text-slate-600 border-slate-200 whitespace-nowrap",onClick:()=>{ot(!0)},children:I("Save It!",{ns:"common"})})]})]})})]})]})]})})]})})}const h_=["post","page","media","creditcard","tiktok","kanbanSquare","arrowRight","twitter","facebook","linkedin","twitch","youtube","instagram","slack","dribbble","trello","chrome","codePen","codesandbox","figma","send","check","check2","copy","help","pin","copyDone","star","list","list2","list3","list5","listmusic","listchecks","listCollapse","listOrdered","listTree","listToDo","scrollText","audioLines","audioWaveform","mic","mails","atSign","mail","inbox","archive","container","sendHorizontal","contact","contact2","userRound","circleUser","userSquare","squareUser","userRound2","user","baby","notebook","paperclip","bookUser","nfc","smartphoneNfc","smartphone","graduationCap","apple2","appWindows","alertTriangle","alertCircle","alarmClock","alertOctagon","voicemail","calendarClock","calendarDays","calendarHeart","angry","annoyed","frown","meh","smile","eye","fan","handMetal","heartHandshake","heart","leafyGreen","ribbon","ralad","crown","camera","fingerprint","flame","database","dog","cat","bird","rabbit","fish","fishSymbol","carrot","candy","cherry","dice","biohazard","satellite","satelliteDish","radioTower","radio","wifi","router","bitcoin","dollarSign","circleDollarSign","euro","drum","medal","beer","beef","bell","draftingCompass","trophy","gaugeCircle","gauge","bike","award","trafficCone","tramFront","truck","plane","car","dumbbell","parkingCircle","parkingSquare","msquare","partyPopper","conciergeBell","aperture","areaChart","armchair","arrowUpRightSquare","asteriskSquare","asterisk","keySquare","key","lockKeyhole","lock","shieldCheck","shield","compass","shieldHalf","presentation","folder","folderHeart","folderTree","folderDot","folderGit","folderGit2","folderKey","folderLock","folderKanban","file","fileCode","fileText","fileCode2","fileJson","fileJson2","fileTerminal","fileVideo","fileVideo2","fileVolume","fileHeart","fileImage","fileLock2","fileLock","fileSpreadsheet","fileCog","fileMusic","filePieChart","filePen","fileSearch","fileLineChart","fileSymlink","driveDownload","driveUpload","imageDown","import","music","sheet","pieChart","packageOpen","package","gamepad2","joystick","hammer","lampDesk","lamp","bookOpen","airplay","code2","code","codeSquare","functionSquare","arrowDownCircle","arrowUpCircle","arrowLeftCircle","arrowRightCircle","gem","ghost","rocket","skull","sparkles","puzzle","messageWarning","messageWarning2","dessert","pizza","venetianMask","wand","toyBrick","mountain","milestone","feather","flaskRound","goal","hourglass","axe","gitlab","github2","sprayCcan","gift","swords","fileAudio2","downloadCloud","uploadCloud","upload","download","globe","globe2","hash","highlighter","infinity","lifeBuoy","locateFixed","mapPin","map","magnet","martini","mountainSnow","mousePointer","move3d","network","newspaper","notebook2","notepadText","megaphone","ganttChartSquare","personStanding","plug2","play","plug","plugZap2","plugZap","radiation","quote","tag","speech","spade","shoppingCart","slidersHorizontal","discord","gitHub","npm","pnpm","node","react","tailwind","google","apple","paypal"],Po={logo:e=>s.jsx("svg",ee(R({viewBox:"0 0 24 24",fill:"currentColor",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:s.jsx("circle",{cx:"12",cy:"12",r:"10"})})),close:wr,spinner:Kie,chevronLeft:Tae,chevronRight:zm,trash:xn,post:p2,page:JP,media:m2,settings:Gf,ellipsis:nl,add:Fn,warning:pi,arrowRight:Xse,help:Hae,twitter:Vce,check:$t,check2:Nae,copy:M6,pin:kc,pinoff:Vu,copyDone:mz,sun:Lce,moon:ple,facebook:yoe,linkedin:$ie,twitch:Wce,youtube:tue,instagram:_ie,slack:pce,dribbble:hoe,trello:Hce,star:Yf,chrome:Rae,codePen:Qae,codesandbox:Jae,figma:koe,image:m2,list:$w,list2:qie,list3:cz,list4:Fse,list5:zse,listmusic:Hie,listchecks:$6,listCollapse:zie,listOrdered:Bie,listTree:Vie,listToDo:Wie,scrollText:nce,scroll:sce,audioLines:eae,audioWaveform:tae,mic:fle,mails:Jie,atSign:Jse,mail:Qie,inbox:Eie,archive:Kse,container:soe,sendHorizontal:ace,send:oce,contact:noe,contact2:roe,userRound:Wae,circleUser:Vae,userSquare:Ace,squareUser:Rce,userRound2:Kce,user:Gce,baby:sae,notebook:Sle,paperclip:Ale,bookUser:gae,nfc:Cle,smartphoneNfc:gce,smartphone:vce,graduationCap:fie,apple2:qse,appWindows:Vse,aLargeSmall:Ise,alertTriangle:pi,alertCircle:pz,alarmClock:$se,alertOctagon:Nle,voicemail:Zce,calendarClock:xae,calendarDays:yae,calendarHeart:bae,angry:Bse,annoyed:Use,frown:rie,meh:ole,smile:xce,eye:Fm,fan:boe,handMetal:gie,heartHandshake:bie,heart:W4,leafyGreen:Iie,ribbon:Xle,ralad:ece,crown:ooe,camera:kae,fingerprint:Hoe,flame:Woe,database:ioe,dog:uoe,cat:Eae,bird:fae,rabbit:Kle,fish:Uoe,fishSymbol:Boe,carrot:jae,candy:Cae,cherry:_ae,dice:coe,biohazard:dae,satellite:rce,satelliteDish:tce,radioTower:Yle,radio:Zle,wifi:Jce,router:Qle,bitcoin:hae,dollarSign:doe,circleDollarSign:zae,euro:xoe,drum:poe,medal:sle,beer:oae,beef:aae,bell:cae,draftingCompass:foe,trophy:Bce,gaugeCircle:Fae,gauge:sie,bike:uae,award:rae,trafficCone:zce,tramFront:Fce,truck:Uce,plane:$le,car:Sae,dumbbell:moe,parkingCircle:Bae,parkingSquare:Dce,msquare:Tce,partyPopper:Rle,conciergeBell:toe,aperture:Wse,areaChart:Gse,armchair:Yse,arrowUpRightSquare:Cce,asteriskSquare:Nz,asterisk:Qse,keySquare:Mie,key:Die,lockKeyhole:Yie,lock:Zie,shieldCheck:lce,shield:uce,compass:eoe,shieldHalf:cce,presentation:Wle,folder:hm,folderHeart:Zoe,folderTree:tie,folderDot:Koe,folderGit:Yoe,folderGit2:Goe,folderKey:Qoe,folderLock:Joe,folderKanban:Xoe,file:JP,fileCode:Soe,fileText:p2,fileCode2:A6,fileJson:_oe,fileJson2:Noe,fileTerminal:Ooe,fileVideo:zoe,fileVideo2:$oe,fileVolume:Foe,fileHeart:joe,fileImage:Eoe,fileLock2:Poe,fileLock:Moe,fileSpreadsheet:Ioe,fileCog:R6,fileMusic:Doe,filePieChart:Roe,filePen:Aoe,fileSearch:Loe,fileLineChart:Toe,fileSymlink:I6,driveDownload:vie,driveUpload:kz,imageDown:Sie,import:jie,music:ble,sheet:ice,pieChart:Ile,packageOpen:_le,package:Tle,gamepad2:nie,joystick:Pie,hammer:mie,lampDesk:Aie,lamp:Rie,bookOpen:mae,airplay:Ose,code2:Zae,code:Xae,codeSquare:Sce,functionSquare:Tz,arrowDownCircle:Lae,arrowUpCircle:$ae,arrowLeftCircle:Iae,arrowRightCircle:Oae,gem:aie,ghost:oie,rocket:yp,skull:hce,sparkles:bce,puzzle:Vle,messageWarning:ile,messageWarning2:ule,dessert:loe,pizza:Ole,venetianMask:Yce,wand:Xce,toyBrick:$ce,mountain:gle,milestone:hle,feather:woe,flaskRound:Voe,goal:die,hourglass:Cie,axe:nae,gitlab:cie,github2:lie,sprayCcan:kce,gift:iie,swords:Ice,fileAudio2:Coe,downloadCloud:Gae,uploadCloud:Yae,upload:qce,download:yz,globe:uie,globe2:goe,hash:xie,highlighter:wie,infinity:Nie,lifeBuoy:Oie,locateFixed:Gie,mapPin:ele,map:tle,magnet:Xie,martini:rle,mountainSnow:mle,mousePointer:Mce,move3d:vle,network:wle,newspaper:kle,notebook2:jle,notepadText:Ele,megaphone:ale,ganttChartSquare:Ece,personStanding:Lle,plug2:Fle,play:zle,plug:Ule,plugZap2:Hle,plugZap:Ble,radiation:Gle,quote:qle,tag:Oce,speech:wce,spade:yce,shoppingCart:dce,slidersHorizontal:mce,kanbanSquare:Nce,creditcard:e=>s.jsxs("svg",ee(R({viewBox:"0 0 24 24",fill:"currentColor",width:e.size,height:e.size},e),{children:[s.jsx("path",{d:"M21.278 3.054H2.722c-.614.003-1.202.249-1.636.683-.434.434-.68 1.022-.683 1.636v13.254c.003.614.249 1.202.683 1.636.434.434 1.022.68 1.636.683h18.556a2.3306 2.3306 0 0 0 1.636-.683c.434-.434.68-1.022.683-1.636V5.373a2.3306 2.3306 0 0 0-.683-1.636 2.3306 2.3306 0 0 0-1.636-.683ZM2.722 5.042h18.556c.088 0 .172.035.234.097.062.062.097.146.097.234v2.982H2.391V5.373c0-.088.035-.172.097-.234a.3307.3307 0 0 1 .234-.097Zm18.556 13.916H2.722a.3307.3307 0 0 1-.234-.097.3307.3307 0 0 1-.097-.234v-8.284h19.218v8.284c0 .088-.035.172-.097.234a.3307.3307 0 0 1-.234.097Z"}),s.jsx("path",{d:"M8.055 14.438H6.204c-.245 0-.48.097-.654.271a.9266.9266 0 0 0-.271.654c0 .245.098.481.271.654.174.174.409.271.654.271h1.851c.246 0 .481-.097.655-.271.173-.173.27-.409.27-.654 0-.245-.097-.481-.27-.654a.9247.9247 0 0 0-.655-.271Zm4.6 0h-1.851c-.245 0-.48.097-.654.271a.9266.9266 0 0 0-.271.654c0 .245.098.481.271.654.174.174.409.271.654.271h1.851c.246 0 .481-.097.655-.271.173-.173.27-.409.27-.654 0-.245-.097-.481-.27-.654a.9247.9247 0 0 0-.655-.271Z"})]})),discord:e=>s.jsx("svg",ee(R({viewBox:"0 0 127.14 96.36",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z"})})),gitHub:e=>s.jsx("svg",ee(R({viewBox:"0 0 438.549 438.549",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z"})})),npm:e=>s.jsx("svg",ee(R({viewBox:"0 0 24 24",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z"})})),tiktok:e=>s.jsxs("svg",ee(R({viewBox:"0 0 25 25",width:e.size,height:e.size},e),{fill:"none",stroke:"currentColor",children:[s.jsx("path",{stroke:"currentColor",strokeWidth:"1.8",d:"M23.078 7.077v9.846c0 3.399-2.756 6.155-6.155 6.155H7.077c-3.399 0-6.155-2.756-6.155-6.155V7.077C.922 3.678 3.678.922 7.077.922h9.846c3.399 0 6.155 2.756 6.155 6.155Z"}),s.jsx("path",{stroke:"currentColor",strokeWidth:"1.8",d:"M9.538 12c-2.039 0-3.692 1.653-3.692 3.693 0 2.039 1.653 3.692 3.692 3.692 2.04 0 3.693-1.653 3.693-3.692V4.615c.41 1.231 1.969 3.692 4.923 3.692"})]})),pnpm:e=>s.jsx("svg",ee(R({viewBox:"0 0 24 24",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M0 0v7.5h7.5V0zm8.25 0v7.5h7.498V0zm8.25 0v7.5H24V0zM8.25 8.25v7.5h7.498v-7.5zm8.25 0v7.5H24v-7.5zM0 16.5V24h7.5v-7.5zm8.25 0V24h7.498v-7.5zm8.25 0V24H24v-7.5z"})})),node:e=>s.jsx("svg",ee(R({viewBox:"0 0 16 16",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M 8 1.0234375 C 7.736875 1.0234375 7.4742344 1.0924687 7.2402344 1.2304688 L 2.7402344 3.8789062 C 2.2832344 4.1469063 2 4.642875 2 5.171875 L 2 11.005859 C 2 11.554859 2.29925 12.059266 2.78125 12.322266 L 4.2558594 13.126953 C 4.4828594 13.250953 4.7286094 13.310547 4.9746094 13.310547 C 5.2386094 13.310547 5.4992812 13.239609 5.7382812 13.099609 C 6.1982812 12.826609 6.4726562 12.344594 6.4726562 11.808594 L 6.4726562 5.4648438 L 5.4726562 5.4648438 L 5.4726562 11.808594 C 5.4726562 12.065594 5.3025156 12.195281 5.2285156 12.238281 C 5.1555156 12.281281 4.959375 12.371047 4.734375 12.248047 L 3.2617188 11.445312 C 3.1007187 11.357312 3 11.188859 3 11.005859 L 3 5.171875 C 3 4.995875 3.0940938 4.8302344 3.2460938 4.7402344 L 7.7460938 2.0917969 C 7.9020937 1.9997969 8.0979062 2.0007969 8.2539062 2.0917969 L 12.753906 4.7402344 C 12.904906 4.8302344 13 4.995875 13 5.171875 L 13 11.009766 C 13 11.189766 12.900234 11.359219 12.740234 11.449219 L 8.2402344 13.900391 C 8.0902344 13.980391 7.9097656 13.980391 7.7597656 13.900391 L 6.8808594 13.419922 C 6.7108594 13.629922 6.5 13.810937 6.25 13.960938 C 6.17 14.010938 6.0897656 14.050078 6.0097656 14.080078 L 7.2792969 14.779297 C 7.5092969 14.899297 7.75 14.960938 8 14.960938 C 8.25 14.960938 8.4907031 14.899297 8.7207031 14.779297 L 13.220703 12.320312 C 13.700703 12.060313 14 11.559766 14 11.009766 L 14 5.171875 C 14 4.642875 13.717719 4.1469062 13.261719 3.8789062 L 8.7617188 1.2304688 C 8.5272187 1.0924688 8.263125 1.0234375 8 1.0234375 z M 9.4511719 5.3183594 C 7.8711719 5.3183594 7.0703125 5.8690781 7.0703125 6.9550781 C 7.0703125 8.1850781 8.4869687 8.3680781 9.1679688 8.4550781 C 9.2659688 8.4680781 9.352875 8.4791875 9.421875 8.4921875 L 9.7207031 8.5449219 C 10.760703 8.7189219 11 8.836875 11 9.171875 C 11 9.333875 10.999172 9.8242188 9.4511719 9.8242188 C 8.1381719 9.8242188 7.8691406 9.4346094 7.8691406 8.8496094 L 6.8691406 8.8496094 C 6.8691406 9.7516094 7.3171719 10.824219 9.4511719 10.824219 C 11.557172 10.824219 12 9.925875 12 9.171875 C 12 7.913875 10.777719 7.7076406 9.8867188 7.5566406 L 9.5996094 7.5078125 C 9.5166094 7.4928125 9.4119219 7.4788438 9.2949219 7.4648438 C 8.6589219 7.3828438 8.0703125 7.2650312 8.0703125 6.9570312 C 8.0703125 6.7340313 8.0691719 6.3193594 9.4511719 6.3183594 C 10.370172 6.3183594 10.837891 6.6207969 10.837891 7.2167969 L 11.837891 7.2167969 C 11.837891 6.2997969 11.209172 5.3183594 9.4511719 5.3183594 z"})})),react:e=>s.jsx("svg",ee(R({viewBox:"0 0 24 24",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z"})})),tailwind:e=>s.jsx("svg",ee(R({viewBox:"0 0 24 24",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M12.001,4.8c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 C13.666,10.618,15.027,12,18.001,12c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C16.337,6.182,14.976,4.8,12.001,4.8z M6.001,12c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 c1.177,1.194,2.538,2.576,5.512,2.576c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C10.337,13.382,8.976,12,6.001,12z"})})),google:e=>s.jsx("svg",ee(R({role:"img",viewBox:"0 0 24 24",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"})})),apple:e=>s.jsx("svg",ee(R({role:"img",viewBox:"0 0 24 24",width:e.size,height:e.size},e),{children:s.jsx("path",{d:"M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",fill:"currentColor"})})),paypal:e=>s.jsx("svg",ee(R({viewBox:"0 0 48 48",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M 12.841797 3.9980469 C 11.545957 3.9980469 10.408459 4.9201856 10.140625 6.1875 A 1.50015 1.50015 0 0 0 10.140625 6.1894531 L 4.3105469 33.863281 A 1.50015 1.50015 0 0 0 4.3105469 33.865234 C 3.9778831 35.447651 5.2380138 37 6.8554688 37 L 13.125 37 L 12.310547 40.865234 C 11.976672 42.448822 13.234312 44 14.853516 44 L 22.5 44 A 1.50015 1.50015 0 0 0 23.96875 42.808594 L 26.140625 32.5 L 32.230469 32.5 C 37.754148 32.5 42.547425 28.631159 43.714844 23.232422 L 43.876953 22.478516 C 45.063149 16.990425 41.185502 11.734909 35.767578 11.072266 C 34.701026 7.0840748 31.068127 3.9980469 26.613281 3.9980469 L 21.273438 3.9980469 L 17.820312 3.9980469 L 12.841797 3.9980469 z M 13.035156 6.9980469 L 17.820312 6.9980469 L 21.273438 6.9980469 L 26.613281 6.9980469 C 29.385425 6.9980469 31.656541 8.678134 32.609375 11 L 19.820312 11 A 1.50015 1.50015 0 0 0 18.351562 12.191406 L 15.996094 23.371094 A 1.50015 1.50015 0 0 0 15.855469 24.035156 L 13.757812 34 L 7.3476562 34 L 13.035156 6.9980469 z M 21.037109 14 L 33.068359 14 C 33.044325 14.280128 33.006713 14.561571 32.945312 14.845703 L 32.78125 15.599609 C 31.908668 19.634872 28.35879 22.5 24.230469 22.5 L 19.246094 22.5 L 21.037109 14 z M 36.056641 14.160156 C 39.449348 14.913351 41.718962 18.266313 40.945312 21.845703 L 40.78125 22.599609 C 39.908668 26.634872 36.35879 29.5 32.230469 29.5 L 24.923828 29.5 A 1.50015 1.50015 0 0 0 23.455078 30.691406 L 21.283203 41 L 15.347656 41 L 16.443359 35.796875 L 16.449219 35.775391 A 1.50015 1.50015 0 0 0 16.451172 35.767578 L 18.613281 25.5 L 24.230469 25.5 C 29.754148 25.5 34.547425 21.631159 35.714844 16.232422 L 35.876953 15.478516 C 35.972548 15.036146 36.024967 14.597251 36.056641 14.160156 z"})})),sunmoon:e=>s.jsxs("svg",ee(R({viewBox:"10.9 10.9 78.2 78.2"},e),{xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("path",{fill:"currentColor",d:"M50,89.1c21.56,0,39.1-17.54,39.1-39.1S71.56,10.9,50,10.9c-21.56,0-39.1,17.54-39.1,39.1S28.44,89.1,50,89.1z M50,15.26 c19.16,0,34.74,15.58,34.74,34.74S69.16,84.74,50,84.74S15.26,69.16,15.26,50S30.84,15.26,50,15.26z"}),s.jsx("path",{fill:"currentColor",d:"M80.39,50c0-16.76-13.63-30.39-30.38-30.39v60.77C66.76,80.39,80.39,66.76,80.39,50z"})]})),minimize:e=>s.jsx("svg",ee(R({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),{children:s.jsx("path",{fill:"currentColor",d:"M480 480H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h448c17.7 0 32 14.3 32 32s-14.3 32-32 32z"})}))},Sm=({name:e,size:t,className:r})=>{if(h_.indexOf(e)===-1)return s.jsx(vae,{size:t,className:r});const n=Po[e];return s.jsx(n,{size:t,className:r})},Yl=({iconVisibility:e,isBoard:t=!1,className:r,description:n,color:a="text-slate-500 dark:text-slate-400",size:o=16,icon:i,pathType:c,children:u=null})=>e==="none"?null:(e==="always"||!e)&&!t?s.jsx("span",{className:"".concat(a),children:i?s.jsx(Sm,{size:16,name:i,className:"".concat(a)}):u}):e==="always"||t?s.jsx("span",{className:"".concat(a),children:s.jsx(Be,{isCompact:!0,text:n||c,isDisabled:!c&&!n,side:"right",align:"end",alignOffset:30,maxWidth:180,sideOffset:-10,asChild:!0,children:i?s.jsx(Sm,{size:o,name:i,className:"".concat(a," ").concat(r)}):u})}):null;/** +*/function s2e(e){var t,r;return s.jsxs("svg",{width:(t=e.width)!=null?t:"14px",className:e.className,height:(r=e.height)!=null?r:"14px",viewBox:"30.325 6.289 29.119 25.859",xmlns:"http://www.w3.org/2000/svg",stroke:"none",fill:"currentColor",children:[s.jsx("path",{d:"M40.554 17.082c0-.309-.073-.627-.195-.917-.123-.29-.296-.553-.496-.754-.201-.2-.464-.373-.754-.495-.29-.123-.608-.195-.917-.195-.196 0-.406.03-.609.084-.204.055-.401.134-.571.232-.372.215-.667.541-.869.906-.203.365-.312.769-.312 1.139s.109.774.312 1.139c.202.365.497.692.869.906.371.214.801.307 1.219.299.417-.007.822-.114 1.142-.299.32-.185.616-.482.831-.84.215-.358.35-.776.35-1.205Zm-4.369-2.007c.271-.27.568-.484.9-.627.332-.143.699-.217 1.108-.207.261-.004.503.026.736.09.234.064.458.16.684.29.496.287.85.649 1.082 1.067.231.417.338.889.338 1.394 0 .506-.107.977-.338 1.394-.232.417-.586.779-1.082 1.065-.496.287-.987.414-1.464.405-.477-.008-.939-.151-1.377-.405-.438-.253-.803-.581-1.053-.99-.251-.408-.387-.896-.367-1.469-.01-.409.063-.776.206-1.108.144-.332.357-.629.627-.899Z"}),s.jsx("path",{d:"m58.665 30.709-.014-3.279-.014-3.28-.001-.063v-.064l-2.307-3.991-2.306-3.991-1.644 2.858-1.644 2.858c-.075.17-.17.273-.288.333-.118.06-.26.078-.426.078-.166 0-.306-.018-.424-.078-.118-.061-.214-.163-.289-.333l-.891-1.531-.891-1.531-.208-.356-.208-.357-2.424 4.189-2.425 4.189c-.041.086-.085.145-.14.191-.055.047-.121.081-.205.116-.084.036-.154.06-.226.068-.072.007-.145-.002-.236-.031l-.009-.003-.009-.002-.02-.003-.019-.002c-1.888-.219-3.672-.086-5.284.19-1.611.276-3.051.695-4.248 1.047l-.53.153-.529.153v2.472c.01.115.044.248.093.37s.114.234.188.307c.073.074.185.139.307.188.123.049.255.082.37.093h25.943c.115-.011.247-.044.37-.093.122-.049.234-.114.307-.188.074-.073.139-.185.188-.307.049-.122.082-.255.093-.37Zm.383-16.343.169-.177.168-.177c.11-.115.049-.009-.038.126-.088.135-.203.298-.203.298v16.273c.011.215-.023.398-.095.562-.072.165-.182.311-.326.454-.143.143-.289.254-.454.326-.164.072-.346.106-.562.095H31.764c-.215.011-.398-.022-.562-.095-.164-.072-.31-.183-.454-.326-.143-.143-.253-.289-.326-.454-.072-.164-.105-.346-.095-.562V11.713c-.01-.216.023-.399.095-.563.073-.164.183-.31.326-.453.144-.143.29-.254.454-.326.164-.073.347-.106.562-.096h14.394c.024.113.041.193.065.287.025.095.057.205.112.377.024.075 0 .028-.03-.037s-.066-.148-.066-.148H31.764c-.115.011-.247.044-.37.093-.122.049-.233.114-.307.188-.073.073-.138.185-.188.307-.049.123-.082.255-.093.371v16.029l.307-.09.307-.09.156-.046.155-.045c1.256-.369 2.717-.802 4.348-1.083 1.632-.281 3.434-.409 5.371-.166l.157.02.157.02.08-.137.079-.138 2.232-3.878 2.232-3.878c.075-.169.17-.272.288-.333.118-.06.259-.078.425-.078.166 0 .307.018.425.079.117.06.212.163.287.333l1.1 1.902 1.101 1.902.208-.356.208-.357 1.452-2.494 1.452-2.495a.4813.4813 0 0 1 .039-.063c.015-.02.03-.039.048-.058.079-.118.164-.198.265-.247.1-.048.216-.064.357-.053.128-.011.237.005.334.05.098.045.183.117.263.217.026.023.046.044.063.067.017.022.031.047.047.078l1.958 3.389 1.958 3.389v-8.435c.125-.103.234-.197.347-.3.113-.104.229-.217.367-.36l-.17.175-.169.176.004.003Z"}),s.jsx("path",{fill:"red",d:"M53.247 6.641c-.374.007-.681.049-.951.119-.271.071-.505.171-.736.294l-.206.112-.207.112-.208.112-.209.112-.039-.039-.039-.04-.045.085-.046.085-.076.042-.076.041.035.036.035.035-.222.418-.223.418c-.152.29-.266.587-.335.919-.068.332-.09.698-.059 1.126.102.666.366 1.272.736 1.776s.846.905 1.372 1.163c.539.22 1.088.327 1.626.314.539-.013 1.067-.146 1.564-.403l.206-.112.206-.112.208-.112.208-.112.048.048.047.048.3-.597.299-.597c.276-.582.394-1.2.375-1.798-.019-.599-.174-1.177-.445-1.677-.309-.495-.754-.94-1.292-1.266-.539-.326-1.17-.532-1.851-.55Zm2.741 6.611-2.864-2.862-2.864-2.863.13-.122.13-.123c.366-.339.798-.588 1.264-.751.466-.163.965-.242 1.464-.242.69 0 1.369.157 1.967.486.598.329 1.116.829 1.484 1.514.214.331.37.676.47 1.021.1.345.144.691.134 1.024-.01.335-.075.671-.182.997-.107.326-.257.641-.437.932a3.872 3.872 0 0 1-.21.359c-.076.114-.156.224-.241.328l-.122.151Zm-5.559-.186c-.377-.36-.669-.779-.865-1.248-.196-.47-.296-.99-.291-1.554-.002-.36.042-.708.132-1.042.09-.333.225-.652.406-.955.065-.129.134-.252.208-.367.075-.116.153-.224.235-.325l.123-.152.122-.152 2.864 2.861 2.863 2.862-.128.123-.129.123c-.333.318-.739.573-1.199.746-.46.173-.974.264-1.525.254-.566.006-1.09-.101-1.563-.302-.473-.202-.894-.499-1.253-.872Z"})]})}function a2e(o){var i=o,{fallback:e,onErrorCallback:t=()=>{},hasError:r=!1,src:n}=i,a=ke(i,["fallback","onErrorCallback","hasError","src"]);const[c,u]=p.useState(!r);return c&&!r?s.jsx("img",R({src:n,onError:()=>{c&&u(!1),t()}},a)):e?s.jsx("img",ee(R({src:e},a),{alt:"404 Not Found"})):s.jsx(Be,{text:"404 / broken image link",children:s.jsx(s2e,{className:"mb-1 text-gray-400",width:"50px",height:"36px"})})}const tl=p.memo(a2e,(e,t)=>e.src===t.src),u_=({delay:e=800,onCopied:t=()=>{}})=>{const[r,n]=p.useState(!1);return[r,o=>{(o==null?void 0:o.length)>0&&!r&&(n(!0),setTimeout(()=>{Hs("copy_text",{text:o}).then(i=>{i==="ok"?(requestAnimationFrame(()=>{n(!1)}),t()):(n(!1),console.error("Failed to copy text",i))}).catch(i=>{n(!1),console.error("Failed to copy text",i)})},e))}]},d_=({delay:e=800,onPasted:t=()=>{}})=>{const[r,n]=p.useState(""),[a,o]=p.useState(null),{copyPasteDelay:i}=dt(pn),c=p.useRef(0),u=(h,m=0)=>{Hs("copy_paste",{text:h,delay:m}).then(v=>{v==="ok"?requestAnimationFrame(()=>{n(""),t()}):(n(""),console.error("Failed to copy paste text",v))}).catch(v=>{n(""),console.error("Failed to copy paste text",v)})};return p.useEffect(()=>(a&&a>0?c.current=setInterval(()=>{o(h=>h?h-1:null)},1e3):a===0?(r&&(o(null),setTimeout(()=>{u(r,0)},e)),clearInterval(c.current)):c.current&&clearInterval(c.current),()=>{c.current&&clearInterval(c.current)}),[a,r]),[r,a,(h,m)=>{m=m!=null?m:i,h&&!r&&(n(h),m>0?o(m):setTimeout(()=>{u(h,m)},e))}]};class o2e{constructor(t){it(this,"codes");this.codes=[],this.setCodes(t)}closeTags(t){let r=t;return this.codes.forEach(({tag:n})=>{const a="[".concat(n,"]"),o="[/".concat(n,"]"),i=[];let c=0;for(;c0;)i.pop(),r+=o}),r}parse(t){let n=[t];for(const{regexp:a,replacement:o}of this.codes)n=n.flatMap((i,c)=>typeof i=="string"?this.replaceText(i,a,o,c):i);return n=n.flatMap(a=>typeof a=="string"?this.linkifyText(a):a),n.length===1?n[0]:s.jsx(s.Fragment,{children:n.map((a,o)=>p.isValidElement(a)?p.cloneElement(a,{key:"element-".concat(o)}):a)})}linkifyText(t){const n=Rn().match(t);if(!n)return t;const a=[];let o=0;return n.forEach((i,c)=>{a.push(t.slice(o,i.index)),a.push(s.jsx("span",{className:"underline cursor-pointer text-blue-700 dark:text-blue-400",onClick:()=>{fi(_n(i.url))},children:i.raw},"link-".concat(c))),o=i.lastIndex}),a.push(t.slice(o)),a}replaceText(t,r,n,a){let o=0;const i=[];return t.replace(r,(c,u,f)=>(f>o&&i.push(t.substring(o,f)),typeof n=="function"?i.push(n(u,Date.now()+a)):i.push(n),o=f+c.length,c)),o{const a=new RegExp("\\[".concat(n,"\\]"),"gi"),o=new RegExp("\\[/".concat(n,"\\]"),"gi");r=r.replace(a,""),r=r.replace(o,"")}),r}setCodes(t){return this.codes=Object.keys(t).map(r=>{const n=t[r],a=r.match(/\\\[(.+?)\\\]/);return{tag:a?a[1]:"unknown",regexp:new RegExp(r,"igms"),replacement:n}}),this}}const LU=({text:e,copyText:t,id:r,parser:n})=>{const a=n?n.parse(e):e,{t:o}=Tt(),[i,c]=u_({}),[u,f,h]=d_({}),m=i||u;return s.jsxs("span",{onDoubleClick:v=>{v.preventDefault(),ur.value?h(n?n.remove(t):t):c(n?n.remove(t):t)},className:"".concat(m?"dark:!border-green-800":""," inline-flex relative select-none items-center border rounded-md px-1.5 py-[1px] my-[1px] focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 hover:bg-green-100/80 bg-green-50 dark:bg-green-950 border-slate-300 dark:hover:bg-green-900/80 dark:border-slate-600 cursor-pointer"),children:[s.jsx("span",{children:a}),m&&!f?s.jsx(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 pointer-events-none px-2 !rounded-md absolute right-0 w-full h-full flex items-center justify-center z-100",children:s.jsxs("span",{className:"flex items-center justify-center text-[10px] uppercase font-semibold text-white",children:[s.jsx($t,{size:14,className:"mr-1"}),(e==null?void 0:e.length)>10&&s.jsx(s.Fragment,{children:i?o("Copied",{ns:"common"}):u?o("Pasted",{ns:"common"}):""})]})},"badge-".concat(r)):m&&f&&f>0&&s.jsx(lt,{className:"ml-1 bg-green-700 dark:bg-green-800 dark:text-white !rounded-md pointer-events-none px-2 text-white absolute right-0 w-full h-full flex items-center justify-center",children:o("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:f})}),s.jsx(un,{className:"ml-1 text-slate-500 h-full py-0.5 hover:text-green-700 hover:bg-transparent",onClick:v=>{v.preventDefault(),ur.value?h(n?n.remove(t):t):c(n?n.remove(t):t)},children:s.jsx(Be,{text:ur.value?o("Copy and Paste",{ns:"common"}):o("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(js,{size:14}):s.jsx(pa,{size:14})})})]},r)},IU=({txt:e,id:t})=>{const r=a=>{if(a.length<=1)return a;if(a.length===2)return"".concat(a[0],"•");const o=a[0],i=a[a.length-1],c=a.substring(1,a.length-1).split("").map(()=>"•").join("");return"".concat(o).concat(c).concat(i)},n=typeof e=="string"?e.split(/(\s+)/).map(a=>/\s/.test(a)?a:r(a)).join(""):p.isValidElement(e)?p.cloneElement(e,ee(R({},e.props),{key:"parent-"+Math.random()*1e3}),...p.Children.toArray(e.props.children).map((a,o)=>p.cloneElement(IU({txt:a,id:Math.random()*1e3}),{key:"child-"+o}))):"•";return s.jsx("span",{className:"masked-or-blanked",children:n},t)},OU=({txt:e,id:t})=>{if(typeof e=="string"&&e.length<=2)return s.jsx("span",{children:e});const r=typeof e=="string"?e.split("").map(n=>/\s/.test(n)?n:"█").join(""):p.isValidElement(e)?p.cloneElement(e,ee(R({},e.props),{key:"parent-"+Math.random()*1e3}),...p.Children.toArray(e.props.children).map((n,a)=>p.cloneElement(OU({txt:n,id:Math.random()*1e3}),{key:"child-"+a}))):"█";return s.jsx("span",{className:"text-gray-200 dark:text-gray-600 masked-or-blanked",children:r},t)},i2e=({text:e,id:t})=>s.jsx("span",{className:"bg-yellow-200 dark:bg-yellow-700 dark:text-slate-100",children:e},t),fc=new o2e({"\\[copy\\](.+?)\\[/copy\\]":(e,t)=>s.jsx(LU,{text:e,copyText:e.repeat(1),id:t,parser:fc}),"\\[mask\\](.+?)\\[/mask\\]":(e,t)=>s.jsx(IU,{txt:e,id:t}),"\\[blank\\](.+?)\\[/blank\\]":(e,t)=>s.jsx(OU,{txt:e,id:t}),"\\[hl\\](.+?)\\[/hl\\]":(e,t)=>s.jsx(i2e,{text:e,id:t}),"\\[h\\](.+?)\\[/h\\]":(e,t)=>s.jsx("span",{className:"text-lg font-semibold",children:e},t),"\\[b\\](.+?)\\[/b\\]":(e,t)=>s.jsx("strong",{children:e},t),"\\[i\\](.+?)\\[/i\\]":(e,t)=>s.jsx("span",{className:"italic",children:e},t)}),$U=(e,t,r)=>{var o;const n=lz(t),a=new RegExp("(".concat(n,")"),"gi");if(typeof e=="string"){const i=e.split(a),c=p.createRef();return i.map((u,f)=>(r.current.push(c),u.toLowerCase()===t.toLowerCase()?s.jsx("span",{className:"bg-yellow-300 dark:bg-amber-400 dark:text-black search-pulse-animation",ref:Ji(c),children:u},f):u))}else if(p.isValidElement(e))if((o=e==null?void 0:e.props)!=null&&o.text&&typeof e.props.text=="string"){const i=e.props.text.split(a),c=p.createRef();return p.cloneElement(e,ee(R({},e.props),{text:s.jsx("span",{children:i.map((u,f)=>(r.current.push(c),u.toLowerCase()===t.toLowerCase()?s.jsx("span",{className:"bg-yellow-300 dark:bg-yellow-600 search-pulse-animation",ref:Ji(c),children:fc.parse(u)},f):s.jsx("span",{children:fc.parse(u)})))})}),e.props.children)}else return p.cloneElement(e,e.props,...p.Children.toArray(e.props.children).map(i=>$U(i,t,r)));else return e},Lk=({isWrapped:e,searchTerm:t,valuePreview:r,isCode:n,isImage:a,isMasked:o,isLargeView:i,trimmedValue:c,hasLinkCard:u,metadataLinkByItemId:f,metadataLinkImageWidth:h=24,isImageData:m,morePreviewLines:v,isDark:S,isExpanded:w})=>{const g=p.useRef([]),b=p.useMemo(()=>{if(!m&&!n&&!a&&r)return o?Mf(fc.remove(r)):fc.parse(r)},[r]),C=p.useMemo(()=>{if(!m&&!n&&!a&&c)return o?Mf(fc.remove(c)):fc.parse(c)},[c]),j=p.useMemo(()=>t.length>1?(g.current=[],$U(C,t,g)):w?C:b,[w,t,C,b]);return p.useEffect(()=>{var E;g.current.length>0&&((E=g.current[0].current)==null||E.scrollIntoView({behavior:"smooth",block:"center"}))},[j]),s.jsxs(Lf,{className:"clip-card-text-view ".concat(!w||v==null?"code-scroll-x pb-2":""),options:{scrollbars:{theme:S?"os-theme-light":"os-theme-dark",autoHide:"never"}},style:{maxHeight:i?"calc(100vh - 240px)":w||v==null?200:120,maxWidth:"100%"},children:[u&&s.jsx(Q,{className:"self-start mt-1 mb-1 text-xs w-full select-none overflow-hidden",children:s.jsx(t0,{isDisabled:_n(c)!==(f==null?void 0:f.linkUrl),title:f==null?void 0:f.linkTitle,description:f==null?void 0:f.linkDescription,favicon:f==null?void 0:f.linkFavicon,link:f==null?void 0:f.linkUrl,imageWidth:h,image:f==null?void 0:f.linkImage,domain:f==null?void 0:f.linkDomain})}),s.jsxs($v,{className:"self-start text-sm font-normal select-text ".concat(e?"whitespace-pre-wrap":"whitespace-pre"," ").concat(w?"!overflow-visible pb-1.5":""),children:[j,!w&&v&&s.jsx("span",{className:"select-none",children:"..."})]})]})};p.memo(Lk);var zU={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Rr,function(){var r=navigator.userAgent,n=navigator.platform,a=/gecko\/\d/i.test(r),o=/MSIE \d/.test(r),i=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(r),c=/Edge\/(\d+)/.exec(r),u=o||i||c,f=u&&(o?document.documentMode||6:+(c||i)[1]),h=!c&&/WebKit\//.test(r),m=h&&/Qt\/\d+\.\d+/.test(r),v=!c&&/Chrome\/(\d+)/.exec(r),S=v&&+v[1],w=/Opera\//.test(r),g=/Apple Computer/.test(navigator.vendor),b=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(r),C=/PhantomJS/.test(r),j=g&&(/Mobile\/\w+/.test(r)||navigator.maxTouchPoints>2),E=/Android/.test(r),N=j||E||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(r),T=j||/Mac/.test(n),A=/\bCrOS\b/.test(r),M=/win/i.test(n),D=w&&r.match(/Version\/(\d*\.\d*)/);D&&(D=Number(D[1])),D&&D>=15&&(w=!1,h=!0);var L=T&&(m||w&&(D==null||D<12.11)),z=a||u&&f>=9;function H(l){return new RegExp("(^|\\s)"+l+"(?:$|\\s)\\s*")}var V=function(l,d){var y=l.className,x=H(d).exec(y);if(x){var k=y.slice(x.index+x[0].length);l.className=y.slice(0,x.index)+(k?x[1]+k:"")}};function I(l){for(var d=l.childNodes.length;d>0;--d)l.removeChild(l.firstChild);return l}function q(l,d){return I(l).appendChild(d)}function _(l,d,y,x){var k=document.createElement(l);if(y&&(k.className=y),x&&(k.style.cssText=x),typeof d=="string")k.appendChild(document.createTextNode(d));else if(d)for(var P=0;P=d)return O+(d-P);O+=W-P,O+=y-O%y,P=W+1}}var le=function(){this.id=null,this.f=null,this.time=0,this.handler=oe(this.onTimeout,this)};le.prototype.onTimeout=function(l){l.id=0,l.time<=+new Date?l.f():setTimeout(l.handler,l.time-+new Date)},le.prototype.set=function(l,d){this.f=d;var y=+new Date+l;(!this.id||y=d)return x+Math.min(O,d-k);if(k+=P-x,k+=y-k%y,x=P+1,k>=d)return x}}var ct=[""];function gt(l){for(;ct.length<=l;)ct.push(Ke(ct)+" ");return ct[l]}function Ke(l){return l[l.length-1]}function Et(l,d){for(var y=[],x=0;x"€"&&(l.toUpperCase()!=l.toLowerCase()||pt.test(l))}function ht(l,d){return d?d.source.indexOf("\\w")>-1&&_t(l)?!0:d.test(l):_t(l)}function It(l){for(var d in l)if(l.hasOwnProperty(d)&&l[d])return!1;return!0}var Ft=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Vt(l){return l.charCodeAt(0)>=768&&Ft.test(l)}function Ge(l,d,y){for(;(y<0?d>0:dy?-1:1;;){if(d==y)return d;var k=(d+y)/2,P=x<0?Math.ceil(k):Math.floor(k);if(P==d)return l(P)?d:y;l(P)?y=P:d=P+x}}function nr(l,d,y,x){if(!l)return x(d,y,"ltr",0);for(var k=!1,P=0;Pd||d==y&&O.to==d)&&(x(Math.max(O.from,d),Math.min(O.to,y),O.level==1?"rtl":"ltr",P),k=!0)}k||x(d,y,"ltr")}var vr=null;function pr(l,d,y){var x;vr=null;for(var k=0;kd)return k;P.to==d&&(P.from!=P.to&&y=="before"?x=k:vr=k),P.from==d&&(P.from!=P.to&&y!="before"?x=k:vr=k)}return x!=null?x:vr}var Wr=function(){var l="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",d="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function y(te){return te<=247?l.charAt(te):1424<=te&&te<=1524?"R":1536<=te&&te<=1785?d.charAt(te-1536):1774<=te&&te<=2220?"r":8192<=te&&te<=8203?"w":te==8204?"b":"L"}var x=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,k=/[stwN]/,P=/[LRr]/,O=/[Lb1n]/,W=/[1n]/;function Z(te,he,xe){this.level=te,this.from=he,this.to=xe}return function(te,he){var xe=he=="ltr"?"L":"R";if(te.length==0||he=="ltr"&&!x.test(te))return!1;for(var De=te.length,Te=[],qe=0;qe-1&&(x[d]=k.slice(0,P).concat(k.slice(P+1)))}}}function je(l,d){var y=mr(l,d);if(y.length)for(var x=Array.prototype.slice.call(arguments,2),k=0;k0}function rt(l){l.prototype.on=function(d,y){Ze(this,d,y)},l.prototype.off=function(d,y){Se(this,d,y)}}function Ie(l){l.preventDefault?l.preventDefault():l.returnValue=!1}function $e(l){l.stopPropagation?l.stopPropagation():l.cancelBubble=!0}function Ye(l){return l.defaultPrevented!=null?l.defaultPrevented:l.returnValue==!1}function mt(l){Ie(l),$e(l)}function qt(l){return l.target||l.srcElement}function Pt(l){var d=l.which;return d==null&&(l.button&1?d=1:l.button&2?d=3:l.button&4&&(d=2)),T&&l.ctrlKey&&d==1&&(d=3),d}var Rt=function(){if(u&&f<9)return!1;var l=_("div");return"draggable"in l||"dragDrop"in l}(),Xt;function Pr(l){if(Xt==null){var d=_("span","​");q(l,_("span",[d,document.createTextNode("x")])),l.firstChild.offsetHeight!=0&&(Xt=d.offsetWidth<=1&&d.offsetHeight>2&&!(u&&f<8))}var y=Xt?_("span","​"):_("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return y.setAttribute("cm-text",""),y}var Nr;function Vr(l){if(Nr!=null)return Nr;var d=q(l,document.createTextNode("AخA")),y=U(d,0,1).getBoundingClientRect(),x=U(d,1,2).getBoundingClientRect();return I(l),!y||y.left==y.right?!1:Nr=x.right-y.right<3}var qr="\n\nb".split(/\n/).length!=3?function(l){for(var d=0,y=[],x=l.length;d<=x;){var k=l.indexOf("\n",d);k==-1&&(k=l.length);var P=l.slice(d,l.charAt(k-1)=="\r"?k-1:k),O=P.indexOf("\r");O!=-1?(y.push(P.slice(0,O)),d+=O+1):(y.push(P),d=k+1)}return y}:function(l){return l.split(/\r\n?|\n/)},Gt=window.getSelection?function(l){try{return l.selectionStart!=l.selectionEnd}catch(d){return!1}}:function(l){var d;try{d=l.ownerDocument.selection.createRange()}catch(y){}return!d||d.parentElement()!=l?!1:d.compareEndPoints("StartToEnd",d)!=0},xr=function(){var l=_("div");return"oncopy"in l?!0:(l.setAttribute("oncopy","return;"),typeof l.oncopy=="function")}(),dr=null;function Ts(l){if(dr!=null)return dr;var d=q(l,_("span","x")),y=d.getBoundingClientRect(),x=U(d,0,1).getBoundingClientRect();return dr=Math.abs(y.left-x.left)>1}var Kr={},or={};function ut(l,d){arguments.length>2&&(d.dependencies=Array.prototype.slice.call(arguments,2)),Kr[l]=d}function ge(l,d){or[l]=d}function Qe(l){if(typeof l=="string"&&or.hasOwnProperty(l))l=or[l];else if(l&&typeof l.name=="string"&&or.hasOwnProperty(l.name)){var d=or[l.name];typeof d=="string"&&(d={name:d}),l=ot(d,l),l.name=d.name}else{if(typeof l=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(l))return Qe("application/xml");if(typeof l=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(l))return Qe("application/json")}return typeof l=="string"?{name:l}:l||{name:"null"}}function Xe(l,d){d=Qe(d);var y=Kr[d.name];if(!y)return Xe(l,"text/plain");var x=y(l,d);if(st.hasOwnProperty(d.name)){var k=st[d.name];for(var P in k)k.hasOwnProperty(P)&&(x.hasOwnProperty(P)&&(x["_"+P]=x[P]),x[P]=k[P])}if(x.name=d.name,d.helperType&&(x.helperType=d.helperType),d.modeProps)for(var O in d.modeProps)x[O]=d.modeProps[O];return x}var st={};function Ht(l,d){var y=st.hasOwnProperty(l)?st[l]:st[l]={};ae(d,y)}function At(l,d){if(d===!0)return d;if(l.copyState)return l.copyState(d);var y={};for(var x in d){var k=d[x];k instanceof Array&&(k=k.concat([])),y[x]=k}return y}function Ut(l,d){for(var y;l.innerMode&&(y=l.innerMode(d),!(!y||y.mode==l));)d=y.state,l=y.mode;return y||{mode:l,state:d}}function Jt(l,d,y){return l.startState?l.startState(d,y):!0}var bt=function(l,d,y){this.pos=this.start=0,this.string=l,this.tabSize=d||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=y};bt.prototype.eol=function(){return this.pos>=this.string.length},bt.prototype.sol=function(){return this.pos==this.lineStart},bt.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},bt.prototype.next=function(){if(this.posd},bt.prototype.eatSpace=function(){for(var l=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>l},bt.prototype.skipToEnd=function(){this.pos=this.string.length},bt.prototype.skipTo=function(l){var d=this.string.indexOf(l,this.pos);if(d>-1)return this.pos=d,!0},bt.prototype.backUp=function(l){this.pos-=l},bt.prototype.column=function(){return this.lastColumnPos0?null:(P&&d!==!1&&(this.pos+=P[0].length),P)}},bt.prototype.current=function(){return this.string.slice(this.start,this.pos)},bt.prototype.hideFirstChars=function(l,d){this.lineStart+=l;try{return d()}finally{this.lineStart-=l}},bt.prototype.lookAhead=function(l){var d=this.lineOracle;return d&&d.lookAhead(l)},bt.prototype.baseToken=function(){var l=this.lineOracle;return l&&l.baseToken(this.pos)};function Je(l,d){if(d-=l.first,d<0||d>=l.size)throw new Error("There is no line "+(d+l.first)+" in the document.");for(var y=l;!y.lines;)for(var x=0;;++x){var k=y.children[x],P=k.chunkSize();if(d=l.first&&dy?Ne(y,Je(l,y).text.length):tC(d,Je(l,d.line).text.length)}function tC(l,d){var y=l.ch;return y==null||y>d?Ne(l.line,d):y<0?Ne(l.line,0):l}function Y1(l,d){for(var y=[],x=0;xthis.maxLookAhead&&(this.maxLookAhead=l),d},il.prototype.baseToken=function(l){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=l;)this.baseTokenPos+=2;var d=this.baseTokens[this.baseTokenPos+1];return{type:d&&d.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-l}},il.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},il.fromSaved=function(l,d,y){return d instanceof Z1?new il(l,At(l.mode,d.state),y,d.lookAhead):new il(l,At(l.mode,d),y)},il.prototype.save=function(l){var d=l!==!1?At(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Z1(d,this.maxLookAhead):d};function Z_(l,d,y,x){var k=[l.state.modeGen],P={};r8(l,d.text,l.doc.mode,y,function(te,he){return k.push(te,he)},P,x);for(var O=y.state,W=function(te){y.baseTokens=k;var he=l.state.overlays[te],xe=1,De=0;y.state=!0,r8(l,d.text,he.mode,y,function(Te,qe){for(var tt=xe;DeTe&&k.splice(xe,1,Te,k[xe+1],ft),xe+=2,De=Math.min(Te,ft)}if(qe)if(he.opaque)k.splice(tt,xe-tt,Te,"overlay "+qe),xe=tt+2;else for(;ttl.options.maxHighlightLength&&At(l.doc.mode,x.state),P=Z_(l,d,x);k&&(x.state=k),d.stateAfter=x.save(!k),d.styles=P.styles,P.classes?d.styleClasses=P.classes:d.styleClasses&&(d.styleClasses=null),y===l.doc.highlightFrontier&&(l.doc.modeFrontier=Math.max(l.doc.modeFrontier,++l.doc.highlightFrontier))}return d.styles}function o0(l,d,y){var x=l.doc,k=l.display;if(!x.mode.startState)return new il(x,!0,d);var P=Tq(l,d,y),O=P>x.first&&Je(x,P-1).stateAfter,W=O?il.fromSaved(x,O,P):new il(x,Jt(x.mode),P);return x.iter(P,d,function(Z){rC(l,Z.text,W);var te=W.line;Z.stateAfter=te==d-1||te%5==0||te>=k.viewFrom&&ted.start)return P}throw new Error("Mode "+l.name+" failed to advance stream.")}var J_=function(l,d,y){this.start=l.start,this.end=l.pos,this.string=l.current(),this.type=d||null,this.state=y};function e8(l,d,y,x){var k=l.doc,P=k.mode,O;d=ir(k,d);var W=Je(k,d.line),Z=o0(l,d.line,y),te=new bt(W.text,l.options.tabSize,Z),he;for(x&&(he=[]);(x||te.posl.options.maxHighlightLength?(W=!1,O&&rC(l,d,x,he.pos),he.pos=d.length,xe=null):xe=t8(nC(y,he,x.state,De),P),De){var Te=De[0].name;Te&&(xe="m-"+(xe?Te+" "+xe:Te))}if(!W||te!=xe){for(;ZO;--W){if(W<=P.first)return P.first;var Z=Je(P,W-1),te=Z.stateAfter;if(te&&(!y||W+(te instanceof Z1?te.lookAhead:0)<=P.modeFrontier))return W;var he=fe(Z.text,null,l.options.tabSize);(k==null||x>he)&&(k=W-1,x=he)}return k}function Pq(l,d){if(l.modeFrontier=Math.min(l.modeFrontier,d),!(l.highlightFrontiery;x--){var k=Je(l,x).stateAfter;if(k&&(!(k instanceof Z1)||x+k.lookAhead=d:P.to>d);(x||(x=[])).push(new X1(O,P.from,Z?null:P.to))}}return x}function Iq(l,d,y){var x;if(l)for(var k=0;k=d:P.to>d);if(W||P.from==d&&O.type=="bookmark"&&(!y||P.marker.insertLeft)){var Z=P.from==null||(O.inclusiveLeft?P.from<=d:P.from0&&W)for(var Ot=0;Ot0)){var he=[Z,1],xe=et(te.from,W.from),De=et(te.to,W.to);(xe<0||!O.inclusiveLeft&&!xe)&&he.push({from:te.from,to:W.from}),(De>0||!O.inclusiveRight&&!De)&&he.push({from:W.to,to:te.to}),k.splice.apply(k,he),Z+=he.length-3}}return k}function a8(l){var d=l.markedSpans;if(d){for(var y=0;yd)&&(!x||aC(x,P.marker)<0)&&(x=P.marker)}return x}function c8(l,d,y,x,k){var P=Je(l,d),O=Fl&&P.markedSpans;if(O)for(var W=0;W=0&&xe<=0||he<=0&&xe>=0)&&(he<=0&&(Z.marker.inclusiveRight&&k.inclusiveLeft?et(te.to,y)>=0:et(te.to,y)>0)||he>=0&&(Z.marker.inclusiveRight&&k.inclusiveLeft?et(te.from,x)<=0:et(te.from,x)<0)))return!0}}}function bi(l){for(var d;d=l8(l);)l=d.find(-1,!0).line;return l}function zq(l){for(var d;d=ex(l);)l=d.find(1,!0).line;return l}function Fq(l){for(var d,y;d=ex(l);)l=d.find(1,!0).line,(y||(y=[])).push(l);return y}function oC(l,d){var y=Je(l,d),x=bi(y);return y==x?d:ne(x)}function u8(l,d){if(d>l.lastLine())return d;var y=Je(l,d),x;if(!Oc(l,y))return d;for(;x=ex(y);)y=x.find(1,!0).line;return ne(y)+1}function Oc(l,d){var y=Fl&&d.markedSpans;if(y){for(var x=void 0,k=0;kd.maxLineLength&&(d.maxLineLength=k,d.maxLine=x)})}var sh=function(l,d,y){this.text=l,o8(this,d),this.height=y?y(this):1};sh.prototype.lineNo=function(){return ne(this)},rt(sh);function Hq(l,d,y,x){l.text=d,l.stateAfter&&(l.stateAfter=null),l.styles&&(l.styles=null),l.order!=null&&(l.order=null),a8(l),o8(l,y);var k=x?x(l):1;k!=l.height&&yr(l,k)}function Bq(l){l.parent=null,a8(l)}var Uq={},Wq={};function d8(l,d){if(!l||/^\s*$/.test(l))return null;var y=d.addModeClass?Wq:Uq;return y[l]||(y[l]=l.replace(/\S+/g,"cm-$&"))}function f8(l,d){var y=$("span",null,null,h?"padding-right: .1px":null),x={pre:$("pre",[y],"CodeMirror-line"),content:y,col:0,pos:0,cm:l,trailingSpace:!1,splitSpaces:l.getOption("lineWrapping")};d.measure={};for(var k=0;k<=(d.rest?d.rest.length:0);k++){var P=k?d.rest[k-1]:d.line,O=void 0;x.pos=0,x.addToken=qq,Vr(l.display.measure)&&(O=Le(P,l.doc.direction))&&(x.addToken=Gq(x.addToken,O)),x.map=[];var W=d!=l.display.externalMeasured&&ne(P);Yq(P,x,X_(l,P,W)),P.styleClasses&&(P.styleClasses.bgClass&&(x.bgClass=F(P.styleClasses.bgClass,x.bgClass||"")),P.styleClasses.textClass&&(x.textClass=F(P.styleClasses.textClass,x.textClass||""))),x.map.length==0&&x.map.push(0,0,x.content.appendChild(Pr(l.display.measure))),k==0?(d.measure.map=x.map,d.measure.cache={}):((d.measure.maps||(d.measure.maps=[])).push(x.map),(d.measure.caches||(d.measure.caches=[])).push({}))}if(h){var Z=x.content.lastChild;(/\bcm-tab\b/.test(Z.className)||Z.querySelector&&Z.querySelector(".cm-tab"))&&(x.content.className="cm-tab-wrap-hack")}return je(l,"renderLine",l,d.line,x.pre),x.pre.className&&(x.textClass=F(x.pre.className,x.textClass||"")),x}function Vq(l){var d=_("span","•","cm-invalidchar");return d.title="\\u"+l.charCodeAt(0).toString(16),d.setAttribute("aria-label",d.title),d}function qq(l,d,y,x,k,P,O){if(d){var W=l.splitSpaces?Kq(d,l.trailingSpace):d,Z=l.cm.state.specialChars,te=!1,he;if(!Z.test(d))l.col+=d.length,he=document.createTextNode(W),l.map.push(l.pos,l.pos+d.length,he),u&&f<9&&(te=!0),l.pos+=d.length;else{he=document.createDocumentFragment();for(var xe=0;;){Z.lastIndex=xe;var De=Z.exec(d),Te=De?De.index-xe:d.length-xe;if(Te){var qe=document.createTextNode(W.slice(xe,xe+Te));u&&f<9?he.appendChild(_("span",[qe])):he.appendChild(qe),l.map.push(l.pos,l.pos+Te,qe),l.col+=Te,l.pos+=Te}if(!De)break;xe+=Te+1;var tt=void 0;if(De[0]==" "){var ft=l.cm.options.tabSize,kt=ft-l.col%ft;tt=he.appendChild(_("span",gt(kt),"cm-tab")),tt.setAttribute("role","presentation"),tt.setAttribute("cm-text"," "),l.col+=kt}else De[0]=="\r"||De[0]=="\n"?(tt=he.appendChild(_("span",De[0]=="\r"?"␍":"␤","cm-invalidchar")),tt.setAttribute("cm-text",De[0]),l.col+=1):(tt=l.cm.options.specialCharPlaceholder(De[0]),tt.setAttribute("cm-text",De[0]),u&&f<9?he.appendChild(_("span",[tt])):he.appendChild(tt),l.col+=1);l.map.push(l.pos,l.pos+1,tt),l.pos++}}if(l.trailingSpace=W.charCodeAt(d.length-1)==32,y||x||k||te||P||O){var Mt=y||"";x&&(Mt+=x),k&&(Mt+=k);var Ct=_("span",[he],Mt,P);if(O)for(var Ot in O)O.hasOwnProperty(Ot)&&Ot!="style"&&Ot!="class"&&Ct.setAttribute(Ot,O[Ot]);return l.content.appendChild(Ct)}l.content.appendChild(he)}}function Kq(l,d){if(l.length>1&&!/ /.test(l))return l;for(var y=d,x="",k=0;kte&&xe.from<=te));De++);if(xe.to>=he)return l(y,x,k,P,O,W,Z);l(y,x.slice(0,xe.to-te),k,P,null,W,Z),P=null,x=x.slice(xe.to-te),te=xe.to}}}function h8(l,d,y,x){var k=!x&&y.widgetNode;k&&l.map.push(l.pos,l.pos+d,k),!x&&l.cm.display.input.needsContentAttribute&&(k||(k=l.content.appendChild(document.createElement("span"))),k.setAttribute("cm-marker",y.id)),k&&(l.cm.display.input.setUneditable(k),l.content.appendChild(k)),l.pos+=d,l.trailingSpace=!1}function Yq(l,d,y){var x=l.markedSpans,k=l.text,P=0;if(!x){for(var O=1;OZ||Cr.collapsed&&Yt.to==Z&&Yt.from==Z)){if(Yt.to!=null&&Yt.to!=Z&&Te>Yt.to&&(Te=Yt.to,tt=""),Cr.className&&(qe+=" "+Cr.className),Cr.css&&(De=(De?De+";":"")+Cr.css),Cr.startStyle&&Yt.from==Z&&(ft+=" "+Cr.startStyle),Cr.endStyle&&Yt.to==Te&&(Ot||(Ot=[])).push(Cr.endStyle,Yt.to),Cr.title&&((Mt||(Mt={})).title=Cr.title),Cr.attributes)for(var gn in Cr.attributes)(Mt||(Mt={}))[gn]=Cr.attributes[gn];Cr.collapsed&&(!kt||aC(kt.marker,Cr)<0)&&(kt=Yt)}else Yt.from>Z&&Te>Yt.from&&(Te=Yt.from)}if(Ot)for(var fs=0;fs=W)break;for(var Ga=Math.min(W,Te);;){if(he){var Sa=Z+he.length;if(!kt){var Xn=Sa>Ga?he.slice(0,Ga-Z):he;d.addToken(d,Xn,xe?xe+qe:qe,ft,Z+Xn.length==Te?tt:"",De,Mt)}if(Sa>=Ga){he=he.slice(Ga-Z),Z=Ga;break}Z=Sa,ft=""}he=k.slice(P,P=y[te++]),xe=d8(y[te++],d.cm.options)}}}function p8(l,d,y){this.line=d,this.rest=Fq(d),this.size=this.rest?ne(Ke(this.rest))-y+1:1,this.node=this.text=null,this.hidden=Oc(l,d)}function rx(l,d,y){for(var x=[],k,P=d;P2&&P.push((Z.bottom+te.top)/2-y.top)}}P.push(y.bottom-y.top)}}function w8(l,d,y){if(l.line==d)return{map:l.measure.map,cache:l.measure.cache};if(l.rest){for(var x=0;xy)return{map:l.measure.maps[k],cache:l.measure.caches[k],before:!0}}}function oK(l,d){d=bi(d);var y=ne(d),x=l.display.externalMeasured=new p8(l.doc,d,y);x.lineN=y;var k=x.built=f8(l,x);return x.text=k.pre,q(l.display.lineMeasure,k.pre),x}function k8(l,d,y,x){return cl(l,oh(l,d),y,x)}function fC(l,d){if(d>=l.display.viewFrom&&d=y.lineN&&dd)&&(P=Z-W,k=P-1,d>=Z&&(O="right")),k!=null){if(x=l[te+2],W==Z&&y==(x.insertLeft?"left":"right")&&(O=y),y=="left"&&k==0)for(;te&&l[te-2]==l[te-3]&&l[te-1].insertLeft;)x=l[(te-=3)+2],O="left";if(y=="right"&&k==Z-W)for(;te=0&&(y=l[k]).left==y.right;k--);return y}function lK(l,d,y,x){var k=S8(d.map,y,x),P=k.node,O=k.start,W=k.end,Z=k.collapse,te;if(P.nodeType==3){for(var he=0;he<4;he++){for(;O&&Vt(d.line.text.charAt(k.coverStart+O));)--O;for(;k.coverStart+W0&&(Z=x="right");var xe;l.options.lineWrapping&&(xe=P.getClientRects()).length>1?te=xe[x=="right"?xe.length-1:0]:te=P.getBoundingClientRect()}if(u&&f<9&&!O&&(!te||!te.left&&!te.right)){var De=P.parentNode.getClientRects()[0];De?te={left:De.left,right:De.left+lh(l.display),top:De.top,bottom:De.bottom}:te=C8}for(var Te=te.top-d.rect.top,qe=te.bottom-d.rect.top,tt=(Te+qe)/2,ft=d.view.measure.heights,kt=0;kt=x.text.length?(Z=x.text.length,te="before"):Z<=0&&(Z=0,te="after"),!W)return O(te=="before"?Z-1:Z,te=="before");function he(qe,tt,ft){var kt=W[tt],Mt=kt.level==1;return O(ft?qe-1:qe,Mt!=ft)}var xe=pr(W,Z,te),De=vr,Te=he(Z,xe,te=="before");return De!=null&&(Te.other=he(Z,De,te!="before")),Te}function P8(l,d){var y=0;d=ir(l.doc,d),l.options.lineWrapping||(y=lh(l.display)*d.ch);var x=Je(l.doc,d.line),k=Hl(x)+nx(l.display);return{left:y,right:y,top:k,bottom:k+x.height}}function pC(l,d,y,x,k){var P=Ne(l,d,y);return P.xRel=k,x&&(P.outside=x),P}function mC(l,d,y){var x=l.doc;if(y+=l.display.viewOffset,y<0)return pC(x.first,0,null,-1,-1);var k=de(x,y),P=x.first+x.size-1;if(k>P)return pC(x.first+x.size-1,Je(x,P).text.length,null,1,1);d<0&&(d=0);for(var O=Je(x,k);;){var W=uK(l,O,k,d,y),Z=$q(O,W.ch+(W.xRel>0||W.outside>0?1:0));if(!Z)return W;var te=Z.find(1);if(te.line==k)return te;O=Je(x,k=te.line)}}function M8(l,d,y,x){x-=hC(d);var k=d.text.length,P=Zt(function(O){return cl(l,y,O-1).bottom<=x},k,0);return k=Zt(function(O){return cl(l,y,O).top>x},P,k),{begin:P,end:k}}function D8(l,d,y,x){y||(y=oh(l,d));var k=sx(l,d,cl(l,y,x),"line").top;return M8(l,d,y,k)}function gC(l,d,y,x){return l.bottom<=y?!1:l.top>y?!0:(x?l.left:l.right)>d}function uK(l,d,y,x,k){k-=Hl(d);var P=oh(l,d),O=hC(d),W=0,Z=d.text.length,te=!0,he=Le(d,l.doc.direction);if(he){var xe=(l.options.lineWrapping?fK:dK)(l,d,y,P,he,x,k);te=xe.level!=1,W=te?xe.from:xe.to-1,Z=te?xe.to:xe.from-1}var De=null,Te=null,qe=Zt(function(Qt){var Yt=cl(l,P,Qt);return Yt.top+=O,Yt.bottom+=O,gC(Yt,x,k,!1)?(Yt.top<=k&&Yt.left<=x&&(De=Qt,Te=Yt),!0):!1},W,Z),tt,ft,kt=!1;if(Te){var Mt=x-Te.left=Ot.bottom?1:0}return qe=Ge(d.text,qe,1),pC(y,qe,ft,kt,x-tt)}function dK(l,d,y,x,k,P,O){var W=Zt(function(xe){var De=k[xe],Te=De.level!=1;return gC(wi(l,Ne(y,Te?De.to:De.from,Te?"before":"after"),"line",d,x),P,O,!0)},0,k.length-1),Z=k[W];if(W>0){var te=Z.level!=1,he=wi(l,Ne(y,te?Z.from:Z.to,te?"after":"before"),"line",d,x);gC(he,P,O,!0)&&he.top>O&&(Z=k[W-1])}return Z}function fK(l,d,y,x,k,P,O){var W=M8(l,d,x,O),Z=W.begin,te=W.end;/\s/.test(d.text.charAt(te-1))&&te--;for(var he=null,xe=null,De=0;De=te||Te.to<=Z)){var qe=Te.level!=1,tt=cl(l,x,qe?Math.min(te,Te.to)-1:Math.max(Z,Te.from)).right,ft=ttft)&&(he=Te,xe=ft)}}return he||(he=k[k.length-1]),he.fromte&&(he={from:he.from,to:te,level:he.level}),he}var md;function ih(l){if(l.cachedTextHeight!=null)return l.cachedTextHeight;if(md==null){md=_("pre",null,"CodeMirror-line-like");for(var d=0;d<49;++d)md.appendChild(document.createTextNode("x")),md.appendChild(_("br"));md.appendChild(document.createTextNode("x"))}q(l.measure,md);var y=md.offsetHeight/50;return y>3&&(l.cachedTextHeight=y),I(l.measure),y||1}function lh(l){if(l.cachedCharWidth!=null)return l.cachedCharWidth;var d=_("span","xxxxxxxxxx"),y=_("pre",[d],"CodeMirror-line-like");q(l.measure,y);var x=d.getBoundingClientRect(),k=(x.right-x.left)/10;return k>2&&(l.cachedCharWidth=k),k||10}function vC(l){for(var d=l.display,y={},x={},k=d.gutters.clientLeft,P=d.gutters.firstChild,O=0;P;P=P.nextSibling,++O){var W=l.display.gutterSpecs[O].className;y[W]=P.offsetLeft+P.clientLeft+k,x[W]=P.clientWidth}return{fixedPos:xC(d),gutterTotalWidth:d.gutters.offsetWidth,gutterLeft:y,gutterWidth:x,wrapperWidth:d.wrapper.clientWidth}}function xC(l){return l.scroller.getBoundingClientRect().left-l.sizer.getBoundingClientRect().left}function A8(l){var d=ih(l.display),y=l.options.lineWrapping,x=y&&Math.max(5,l.display.scroller.clientWidth/lh(l.display)-3);return function(k){if(Oc(l.doc,k))return 0;var P=0;if(k.widgets)for(var O=0;O0&&(te=Je(l.doc,Z.line).text).length==Z.ch){var he=fe(te,te.length,l.options.tabSize)-te.length;Z=Ne(Z.line,Math.max(0,Math.round((P-b8(l.display).left)/lh(l.display))-he))}return Z}function vd(l,d){if(d>=l.display.viewTo||(d-=l.display.viewFrom,d<0))return null;for(var y=l.display.view,x=0;xd)&&(k.updateLineNumbers=d),l.curOp.viewChanged=!0,d>=k.viewTo)Fl&&oC(l.doc,d)k.viewFrom?zc(l):(k.viewFrom+=x,k.viewTo+=x);else if(d<=k.viewFrom&&y>=k.viewTo)zc(l);else if(d<=k.viewFrom){var P=ox(l,y,y+x,1);P?(k.view=k.view.slice(P.index),k.viewFrom=P.lineN,k.viewTo+=x):zc(l)}else if(y>=k.viewTo){var O=ox(l,d,d,-1);O?(k.view=k.view.slice(0,O.index),k.viewTo=O.lineN):zc(l)}else{var W=ox(l,d,d,-1),Z=ox(l,y,y+x,1);W&&Z?(k.view=k.view.slice(0,W.index).concat(rx(l,W.lineN,Z.lineN)).concat(k.view.slice(Z.index)),k.viewTo+=x):zc(l)}var te=k.externalMeasured;te&&(y=k.lineN&&d=x.viewTo)){var P=x.view[vd(l,d)];if(P.node!=null){var O=P.changes||(P.changes=[]);ue(O,y)==-1&&O.push(y)}}}function zc(l){l.display.viewFrom=l.display.viewTo=l.doc.first,l.display.view=[],l.display.viewOffset=0}function ox(l,d,y,x){var k=vd(l,d),P,O=l.display.view;if(!Fl||y==l.doc.first+l.doc.size)return{index:k,lineN:y};for(var W=l.display.viewFrom,Z=0;Z0){if(k==O.length-1)return null;P=W+O[k].size-d,k++}else P=W-d;d+=P,y+=P}for(;oC(l.doc,y)!=y;){if(k==(x<0?0:O.length-1))return null;y+=x*O[k-(x<0?1:0)].size,k+=x}return{index:k,lineN:y}}function hK(l,d,y){var x=l.display,k=x.view;k.length==0||d>=x.viewTo||y<=x.viewFrom?(x.view=rx(l,d,y),x.viewFrom=d):(x.viewFrom>d?x.view=rx(l,d,x.viewFrom).concat(x.view):x.viewFromy&&(x.view=x.view.slice(0,vd(l,y)))),x.viewTo=y}function R8(l){for(var d=l.display.view,y=0,x=0;x=l.display.viewTo||Z.to().line0?O:l.defaultCharWidth())+"px"}if(x.other){var W=y.appendChild(_("div"," ","CodeMirror-cursor CodeMirror-secondarycursor"));W.style.display="",W.style.left=x.other.left+"px",W.style.top=x.other.top+"px",W.style.height=(x.other.bottom-x.other.top)*.85+"px"}}function ix(l,d){return l.top-d.top||l.left-d.left}function pK(l,d,y){var x=l.display,k=l.doc,P=document.createDocumentFragment(),O=b8(l.display),W=O.left,Z=Math.max(x.sizerWidth,pd(l)-x.sizer.offsetLeft)-O.right,te=k.direction=="ltr";function he(Ct,Ot,Qt,Yt){Ot<0&&(Ot=0),Ot=Math.round(Ot),Yt=Math.round(Yt),P.appendChild(_("div",null,"CodeMirror-selected","position: absolute; left: "+Ct+"px;\n top: "+Ot+"px; width: "+(Qt==null?Z-Ct:Qt)+"px;\n height: "+(Yt-Ot)+"px"))}function xe(Ct,Ot,Qt){var Yt=Je(k,Ct),Cr=Yt.text.length,gn,fs;function Pn(Xn,ja){return ax(l,Ne(Ct,Xn),"div",Yt,ja)}function Ga(Xn,ja,Ps){var as=D8(l,Yt,null,Xn),Qn=ja=="ltr"==(Ps=="after")?"left":"right",Ln=Ps=="after"?as.begin:as.end-(/\s/.test(Yt.text.charAt(as.end-1))?2:1);return Pn(Ln,Qn)[Qn]}var Sa=Le(Yt,k.direction);return nr(Sa,Ot||0,Qt==null?Cr:Qt,function(Xn,ja,Ps,as){var Qn=Ps=="ltr",Ln=Pn(Xn,Qn?"left":"right"),Ea=Pn(ja-1,Qn?"right":"left"),wh=Ot==null&&Xn==0,Vc=Qt==null&&ja==Cr,Ks=as==0,ul=!Sa||as==Sa.length-1;if(Ea.top-Ln.top<=3){var hs=(te?wh:Vc)&&Ks,KC=(te?Vc:wh)&&ul,Vl=hs?W:(Qn?Ln:Ea).left,kd=KC?Z:(Qn?Ea:Ln).right;he(Vl,Ln.top,kd-Vl,Ln.bottom)}else{var Cd,ia,kh,GC;Qn?(Cd=te&&wh&&Ks?W:Ln.left,ia=te?Z:Ga(Xn,Ps,"before"),kh=te?W:Ga(ja,Ps,"after"),GC=te&&Vc&&ul?Z:Ea.right):(Cd=te?Ga(Xn,Ps,"before"):W,ia=!te&&wh&&Ks?Z:Ln.right,kh=!te&&Vc&&ul?W:Ea.left,GC=te?Ga(ja,Ps,"after"):Z),he(Cd,Ln.top,ia-Cd,Ln.bottom),Ln.bottom0?d.blinker=setInterval(function(){l.hasFocus()||ch(l),d.cursorDiv.style.visibility=(y=!y)?"":"hidden"},l.options.cursorBlinkRate):l.options.cursorBlinkRate<0&&(d.cursorDiv.style.visibility="hidden")}}function I8(l){l.hasFocus()||(l.display.input.focus(),l.state.focused||CC(l))}function kC(l){l.state.delayingBlurEvent=!0,setTimeout(function(){l.state.delayingBlurEvent&&(l.state.delayingBlurEvent=!1,l.state.focused&&ch(l))},100)}function CC(l,d){l.state.delayingBlurEvent&&!l.state.draggingText&&(l.state.delayingBlurEvent=!1),l.options.readOnly!="nocursor"&&(l.state.focused||(je(l,"focus",l,d),l.state.focused=!0,B(l.display.wrapper,"CodeMirror-focused"),!l.curOp&&l.display.selForContextMenu!=l.doc.sel&&(l.display.input.reset(),h&&setTimeout(function(){return l.display.input.reset(!0)},20)),l.display.input.receivedFocus()),wC(l))}function ch(l,d){l.state.delayingBlurEvent||(l.state.focused&&(je(l,"blur",l,d),l.state.focused=!1,V(l.display.wrapper,"CodeMirror-focused")),clearInterval(l.display.blinker),setTimeout(function(){l.state.focused||(l.display.shift=!1)},150))}function lx(l){for(var d=l.display,y=d.lineDiv.offsetTop,x=Math.max(0,d.scroller.getBoundingClientRect().top),k=d.lineDiv.getBoundingClientRect().top,P=0,O=0;O.005||Te<-.005)&&(kl.display.sizerWidth){var tt=Math.ceil(he/lh(l.display));tt>l.display.maxLineLength&&(l.display.maxLineLength=tt,l.display.maxLine=W.line,l.display.maxLineChanged=!0)}}}Math.abs(P)>2&&(d.scroller.scrollTop+=P)}function O8(l){if(l.widgets)for(var d=0;d=O&&(P=de(d,Hl(Je(d,Z))-l.wrapper.clientHeight),O=Z)}return{from:P,to:Math.max(O,P+1)}}function mK(l,d){if(!we(l,"scrollCursorIntoView")){var y=l.display,x=y.sizer.getBoundingClientRect(),k=null,P=y.wrapper.ownerDocument;if(d.top+x.top<0?k=!0:d.bottom+x.top>(P.defaultView.innerHeight||P.documentElement.clientHeight)&&(k=!1),k!=null&&!C){var O=_("div","​",null,"position: absolute;\n top: "+(d.top-y.viewOffset-nx(l.display))+"px;\n height: "+(d.bottom-d.top+ll(l)+y.barHeight)+"px;\n left: "+d.left+"px; width: "+Math.max(2,d.right-d.left)+"px;");l.display.lineSpace.appendChild(O),O.scrollIntoView(k),l.display.lineSpace.removeChild(O)}}}function gK(l,d,y,x){x==null&&(x=0);var k;!l.options.lineWrapping&&d==y&&(y=d.sticky=="before"?Ne(d.line,d.ch+1,"before"):d,d=d.ch?Ne(d.line,d.sticky=="before"?d.ch-1:d.ch,"after"):d);for(var P=0;P<5;P++){var O=!1,W=wi(l,d),Z=!y||y==d?W:wi(l,y);k={left:Math.min(W.left,Z.left),top:Math.min(W.top,Z.top)-x,right:Math.max(W.left,Z.left),bottom:Math.max(W.bottom,Z.bottom)+x};var te=SC(l,k),he=l.doc.scrollTop,xe=l.doc.scrollLeft;if(te.scrollTop!=null&&(p0(l,te.scrollTop),Math.abs(l.doc.scrollTop-he)>1&&(O=!0)),te.scrollLeft!=null&&(xd(l,te.scrollLeft),Math.abs(l.doc.scrollLeft-xe)>1&&(O=!0)),!O)break}return k}function vK(l,d){var y=SC(l,d);y.scrollTop!=null&&p0(l,y.scrollTop),y.scrollLeft!=null&&xd(l,y.scrollLeft)}function SC(l,d){var y=l.display,x=ih(l.display);d.top<0&&(d.top=0);var k=l.curOp&&l.curOp.scrollTop!=null?l.curOp.scrollTop:y.scroller.scrollTop,P=dC(l),O={};d.bottom-d.top>P&&(d.bottom=d.top+P);var W=l.doc.height+uC(y),Z=d.topW-x;if(d.topk+P){var he=Math.min(d.top,(te?W:d.bottom)-P);he!=k&&(O.scrollTop=he)}var xe=l.options.fixedGutter?0:y.gutters.offsetWidth,De=l.curOp&&l.curOp.scrollLeft!=null?l.curOp.scrollLeft:y.scroller.scrollLeft-xe,Te=pd(l)-y.gutters.offsetWidth,qe=d.right-d.left>Te;return qe&&(d.right=d.left+Te),d.left<10?O.scrollLeft=0:d.leftTe+De-3&&(O.scrollLeft=d.right+(qe?0:10)-Te),O}function jC(l,d){d!=null&&(ux(l),l.curOp.scrollTop=(l.curOp.scrollTop==null?l.doc.scrollTop:l.curOp.scrollTop)+d)}function uh(l){ux(l);var d=l.getCursor();l.curOp.scrollToPos={from:d,to:d,margin:l.options.cursorScrollMargin}}function h0(l,d,y){(d!=null||y!=null)&&ux(l),d!=null&&(l.curOp.scrollLeft=d),y!=null&&(l.curOp.scrollTop=y)}function xK(l,d){ux(l),l.curOp.scrollToPos=d}function ux(l){var d=l.curOp.scrollToPos;if(d){l.curOp.scrollToPos=null;var y=P8(l,d.from),x=P8(l,d.to);$8(l,y,x,d.margin)}}function $8(l,d,y,x){var k=SC(l,{left:Math.min(d.left,y.left),top:Math.min(d.top,y.top)-x,right:Math.max(d.right,y.right),bottom:Math.max(d.bottom,y.bottom)+x});h0(l,k.scrollLeft,k.scrollTop)}function p0(l,d){Math.abs(l.doc.scrollTop-d)<2||(a||NC(l,{top:d}),z8(l,d,!0),a&&NC(l),v0(l,100))}function z8(l,d,y){d=Math.max(0,Math.min(l.display.scroller.scrollHeight-l.display.scroller.clientHeight,d)),!(l.display.scroller.scrollTop==d&&!y)&&(l.doc.scrollTop=d,l.display.scrollbars.setScrollTop(d),l.display.scroller.scrollTop!=d&&(l.display.scroller.scrollTop=d))}function xd(l,d,y,x){d=Math.max(0,Math.min(d,l.display.scroller.scrollWidth-l.display.scroller.clientWidth)),!((y?d==l.doc.scrollLeft:Math.abs(l.doc.scrollLeft-d)<2)&&!x)&&(l.doc.scrollLeft=d,W8(l),l.display.scroller.scrollLeft!=d&&(l.display.scroller.scrollLeft=d),l.display.scrollbars.setScrollLeft(d))}function m0(l){var d=l.display,y=d.gutters.offsetWidth,x=Math.round(l.doc.height+uC(l.display));return{clientHeight:d.scroller.clientHeight,viewHeight:d.wrapper.clientHeight,scrollWidth:d.scroller.scrollWidth,clientWidth:d.scroller.clientWidth,viewWidth:d.wrapper.clientWidth,barLeft:l.options.fixedGutter?y:0,docHeight:x,scrollHeight:x+ll(l)+d.barHeight,nativeBarWidth:d.nativeBarWidth,gutterWidth:y}}var yd=function(l,d,y){this.cm=y;var x=this.vert=_("div",[_("div",null,null,"min-width: 1px")],"CodeMirror-vscrollbar"),k=this.horiz=_("div",[_("div",null,null,"height: 100%; min-height: 1px")],"CodeMirror-hscrollbar");x.tabIndex=k.tabIndex=-1,l(x),l(k),Ze(x,"scroll",function(){x.clientHeight&&d(x.scrollTop,"vertical")}),Ze(k,"scroll",function(){k.clientWidth&&d(k.scrollLeft,"horizontal")}),this.checkedZeroWidth=!1,u&&f<8&&(this.horiz.style.minHeight=this.vert.style.minWidth="18px")};yd.prototype.update=function(l){var d=l.scrollWidth>l.clientWidth+1,y=l.scrollHeight>l.clientHeight+1,x=l.nativeBarWidth;if(y){this.vert.style.display="block",this.vert.style.bottom=d?x+"px":"0";var k=l.viewHeight-(d?x:0);this.vert.firstChild.style.height=Math.max(0,l.scrollHeight-l.clientHeight+k)+"px"}else this.vert.scrollTop=0,this.vert.style.display="",this.vert.firstChild.style.height="0";if(d){this.horiz.style.display="block",this.horiz.style.right=y?x+"px":"0",this.horiz.style.left=l.barLeft+"px";var P=l.viewWidth-l.barLeft-(y?x:0);this.horiz.firstChild.style.width=Math.max(0,l.scrollWidth-l.clientWidth+P)+"px"}else this.horiz.style.display="",this.horiz.firstChild.style.width="0";return!this.checkedZeroWidth&&l.clientHeight>0&&(x==0&&this.zeroWidthHack(),this.checkedZeroWidth=!0),{right:y?x:0,bottom:d?x:0}},yd.prototype.setScrollLeft=function(l){this.horiz.scrollLeft!=l&&(this.horiz.scrollLeft=l),this.disableHoriz&&this.enableZeroWidthBar(this.horiz,this.disableHoriz,"horiz")},yd.prototype.setScrollTop=function(l){this.vert.scrollTop!=l&&(this.vert.scrollTop=l),this.disableVert&&this.enableZeroWidthBar(this.vert,this.disableVert,"vert")},yd.prototype.zeroWidthHack=function(){var l=T&&!b?"12px":"18px";this.horiz.style.height=this.vert.style.width=l,this.horiz.style.visibility=this.vert.style.visibility="hidden",this.disableHoriz=new le,this.disableVert=new le},yd.prototype.enableZeroWidthBar=function(l,d,y){l.style.visibility="";function x(){var k=l.getBoundingClientRect(),P=y=="vert"?document.elementFromPoint(k.right-1,(k.top+k.bottom)/2):document.elementFromPoint((k.right+k.left)/2,k.bottom-1);P!=l?l.style.visibility="hidden":d.set(1e3,x)}d.set(1e3,x)},yd.prototype.clear=function(){var l=this.horiz.parentNode;l.removeChild(this.horiz),l.removeChild(this.vert)};var g0=function(){};g0.prototype.update=function(){return{bottom:0,right:0}},g0.prototype.setScrollLeft=function(){},g0.prototype.setScrollTop=function(){},g0.prototype.clear=function(){};function dh(l,d){d||(d=m0(l));var y=l.display.barWidth,x=l.display.barHeight;F8(l,d);for(var k=0;k<4&&y!=l.display.barWidth||x!=l.display.barHeight;k++)y!=l.display.barWidth&&l.options.lineWrapping&&lx(l),F8(l,m0(l)),y=l.display.barWidth,x=l.display.barHeight}function F8(l,d){var y=l.display,x=y.scrollbars.update(d);y.sizer.style.paddingRight=(y.barWidth=x.right)+"px",y.sizer.style.paddingBottom=(y.barHeight=x.bottom)+"px",y.heightForcer.style.borderBottom=x.bottom+"px solid transparent",x.right&&x.bottom?(y.scrollbarFiller.style.display="block",y.scrollbarFiller.style.height=x.bottom+"px",y.scrollbarFiller.style.width=x.right+"px"):y.scrollbarFiller.style.display="",x.bottom&&l.options.coverGutterNextToScrollbar&&l.options.fixedGutter?(y.gutterFiller.style.display="block",y.gutterFiller.style.height=x.bottom+"px",y.gutterFiller.style.width=d.gutterWidth+"px"):y.gutterFiller.style.display=""}var H8={native:yd,null:g0};function B8(l){l.display.scrollbars&&(l.display.scrollbars.clear(),l.display.scrollbars.addClass&&V(l.display.wrapper,l.display.scrollbars.addClass)),l.display.scrollbars=new H8[l.options.scrollbarStyle](function(d){l.display.wrapper.insertBefore(d,l.display.scrollbarFiller),Ze(d,"mousedown",function(){l.state.focused&&setTimeout(function(){return l.display.input.focus()},0)}),d.setAttribute("cm-not-content","true")},function(d,y){y=="horizontal"?xd(l,d):p0(l,d)},l),l.display.scrollbars.addClass&&B(l.display.wrapper,l.display.scrollbars.addClass)}var yK=0;function bd(l){l.curOp={cm:l,viewChanged:!1,startHeight:l.doc.height,forceUpdate:!1,updateInput:0,typing:!1,changeObjs:null,cursorActivityHandlers:null,cursorActivityCalled:0,selectionChanged:!1,updateMaxLine:!1,scrollLeft:null,scrollTop:null,scrollToPos:null,focus:!1,id:++yK,markArrays:null},Zq(l.curOp)}function wd(l){var d=l.curOp;d&&Qq(d,function(y){for(var x=0;x=y.viewTo)||y.maxLineChanged&&d.options.lineWrapping,l.update=l.mustUpdate&&new dx(d,l.mustUpdate&&{top:l.scrollTop,ensure:l.scrollToPos},l.forceUpdate)}function kK(l){l.updatedDisplay=l.mustUpdate&&EC(l.cm,l.update)}function CK(l){var d=l.cm,y=d.display;l.updatedDisplay&&lx(d),l.barMeasure=m0(d),y.maxLineChanged&&!d.options.lineWrapping&&(l.adjustWidthTo=k8(d,y.maxLine,y.maxLine.text.length).left+3,d.display.sizerWidth=l.adjustWidthTo,l.barMeasure.scrollWidth=Math.max(y.scroller.clientWidth,y.sizer.offsetLeft+l.adjustWidthTo+ll(d)+d.display.barWidth),l.maxScrollLeft=Math.max(0,y.sizer.offsetLeft+l.adjustWidthTo-pd(d))),(l.updatedDisplay||l.selectionChanged)&&(l.preparedSelection=y.input.prepareSelection())}function SK(l){var d=l.cm;l.adjustWidthTo!=null&&(d.display.sizer.style.minWidth=l.adjustWidthTo+"px",l.maxScrollLeft=l.display.viewTo)){var y=+new Date+l.options.workTime,x=o0(l,d.highlightFrontier),k=[];d.iter(x.line,Math.min(d.first+d.size,l.display.viewTo+500),function(P){if(x.line>=l.display.viewFrom){var O=P.styles,W=P.text.length>l.options.maxHighlightLength?At(d.mode,x.state):null,Z=Z_(l,P,x,!0);W&&(x.state=W),P.styles=Z.styles;var te=P.styleClasses,he=Z.classes;he?P.styleClasses=he:te&&(P.styleClasses=null);for(var xe=!O||O.length!=P.styles.length||te!=he&&(!te||!he||te.bgClass!=he.bgClass||te.textClass!=he.textClass),De=0;!xe&&Dey)return v0(l,l.options.workDelay),!0}),d.highlightFrontier=x.line,d.modeFrontier=Math.max(d.modeFrontier,x.line),k.length&&Ka(l,function(){for(var P=0;P=y.viewFrom&&d.visible.to<=y.viewTo&&(y.updateLineNumbers==null||y.updateLineNumbers>=y.viewTo)&&y.renderedView==y.view&&R8(l)==0)return!1;V8(l)&&(zc(l),d.dims=vC(l));var k=x.first+x.size,P=Math.max(d.visible.from-l.options.viewportMargin,x.first),O=Math.min(k,d.visible.to+l.options.viewportMargin);y.viewFromO&&y.viewTo-O<20&&(O=Math.min(k,y.viewTo)),Fl&&(P=oC(l.doc,P),O=u8(l.doc,O));var W=P!=y.viewFrom||O!=y.viewTo||y.lastWrapHeight!=d.wrapperHeight||y.lastWrapWidth!=d.wrapperWidth;hK(l,P,O),y.viewOffset=Hl(Je(l.doc,y.viewFrom)),l.display.mover.style.top=y.viewOffset+"px";var Z=R8(l);if(!W&&Z==0&&!d.force&&y.renderedView==y.view&&(y.updateLineNumbers==null||y.updateLineNumbers>=y.viewTo))return!1;var te=_K(l);return Z>4&&(y.lineDiv.style.display="none"),PK(l,y.updateLineNumbers,d.dims),Z>4&&(y.lineDiv.style.display=""),y.renderedView=y.view,TK(te),I(y.cursorDiv),I(y.selectionDiv),y.gutters.style.height=y.sizer.style.minHeight=0,W&&(y.lastWrapHeight=d.wrapperHeight,y.lastWrapWidth=d.wrapperWidth,v0(l,400)),y.updateLineNumbers=null,!0}function U8(l,d){for(var y=d.viewport,x=!0;;x=!1){if(!x||!l.options.lineWrapping||d.oldDisplayWidth==pd(l)){if(y&&y.top!=null&&(y={top:Math.min(l.doc.height+uC(l.display)-dC(l),y.top)}),d.visible=cx(l.display,l.doc,y),d.visible.from>=l.display.viewFrom&&d.visible.to<=l.display.viewTo)break}else x&&(d.visible=cx(l.display,l.doc,y));if(!EC(l,d))break;lx(l);var k=m0(l);f0(l),dh(l,k),TC(l,k),d.force=!1}d.signal(l,"update",l),(l.display.viewFrom!=l.display.reportedViewFrom||l.display.viewTo!=l.display.reportedViewTo)&&(d.signal(l,"viewportChange",l,l.display.viewFrom,l.display.viewTo),l.display.reportedViewFrom=l.display.viewFrom,l.display.reportedViewTo=l.display.viewTo)}function NC(l,d){var y=new dx(l,d);if(EC(l,y)){lx(l),U8(l,y);var x=m0(l);f0(l),dh(l,x),TC(l,x),y.finish()}}function PK(l,d,y){var x=l.display,k=l.options.lineNumbers,P=x.lineDiv,O=P.firstChild;function W(qe){var tt=qe.nextSibling;return h&&T&&l.display.currentWheelTarget==qe?qe.style.display="none":qe.parentNode.removeChild(qe),tt}for(var Z=x.view,te=x.viewFrom,he=0;he-1&&(Te=!1),m8(l,xe,te,y)),Te&&(I(xe.lineNumber),xe.lineNumber.appendChild(document.createTextNode(ze(l.options,te)))),O=xe.node.nextSibling}te+=xe.size}for(;O;)O=W(O)}function _C(l){var d=l.gutters.offsetWidth;l.sizer.style.marginLeft=d+"px",cs(l,"gutterChanged",l)}function TC(l,d){l.display.sizer.style.minHeight=d.docHeight+"px",l.display.heightForcer.style.top=d.docHeight+"px",l.display.gutters.style.height=d.docHeight+l.display.barHeight+ll(l)+"px"}function W8(l){var d=l.display,y=d.view;if(!(!d.alignWidgets&&(!d.gutters.firstChild||!l.options.fixedGutter))){for(var x=xC(d)-d.scroller.scrollLeft+l.doc.scrollLeft,k=d.gutters.offsetWidth,P=x+"px",O=0;O=105&&(k.wrapper.style.clipPath="inset(0px)"),k.wrapper.setAttribute("translate","no"),u&&f<8&&(k.gutters.style.zIndex=-1,k.scroller.style.paddingRight=0),!h&&!(a&&N)&&(k.scroller.draggable=!0),l&&(l.appendChild?l.appendChild(k.wrapper):l(k.wrapper)),k.viewFrom=k.viewTo=d.first,k.reportedViewFrom=k.reportedViewTo=d.first,k.view=[],k.renderedView=null,k.externalMeasured=null,k.viewOffset=0,k.lastWrapHeight=k.lastWrapWidth=0,k.updateLineNumbers=null,k.nativeBarWidth=k.barHeight=k.barWidth=0,k.scrollbarsClipped=!1,k.lineNumWidth=k.lineNumInnerWidth=k.lineNumChars=null,k.alignWidgets=!1,k.cachedCharWidth=k.cachedTextHeight=k.cachedPaddingH=null,k.maxLine=null,k.maxLineLength=0,k.maxLineChanged=!1,k.wheelDX=k.wheelDY=k.wheelStartX=k.wheelStartY=null,k.shift=!1,k.selForContextMenu=null,k.activeTouch=null,k.gutterSpecs=PC(x.gutters,x.lineNumbers),q8(k),y.init(k)}var fx=0,Ul=null;u?Ul=-.53:a?Ul=15:v?Ul=-.7:g&&(Ul=-1/3);function K8(l){var d=l.wheelDeltaX,y=l.wheelDeltaY;return d==null&&l.detail&&l.axis==l.HORIZONTAL_AXIS&&(d=l.detail),y==null&&l.detail&&l.axis==l.VERTICAL_AXIS?y=l.detail:y==null&&(y=l.wheelDelta),{x:d,y}}function DK(l){var d=K8(l);return d.x*=Ul,d.y*=Ul,d}function G8(l,d){v&&S==102&&(l.display.chromeScrollHack==null?l.display.sizer.style.pointerEvents="none":clearTimeout(l.display.chromeScrollHack),l.display.chromeScrollHack=setTimeout(function(){l.display.chromeScrollHack=null,l.display.sizer.style.pointerEvents=""},100));var y=K8(d),x=y.x,k=y.y,P=Ul;d.deltaMode===0&&(x=d.deltaX,k=d.deltaY,P=1);var O=l.display,W=O.scroller,Z=W.scrollWidth>W.clientWidth,te=W.scrollHeight>W.clientHeight;if(x&&Z||k&&te){if(k&&T&&h){e:for(var he=d.target,xe=O.view;he!=W;he=he.parentNode)for(var De=0;De=0&&et(l,x.to())<=0)return y}return-1};var Xr=function(l,d){this.anchor=l,this.head=d};Xr.prototype.from=function(){return zl(this.anchor,this.head)},Xr.prototype.to=function(){return mn(this.anchor,this.head)},Xr.prototype.empty=function(){return this.head.line==this.anchor.line&&this.head.ch==this.anchor.ch};function ki(l,d,y){var x=l&&l.options.selectionsMayTouch,k=d[y];d.sort(function(De,Te){return et(De.from(),Te.from())}),y=ue(d,k);for(var P=1;P0:Z>=0){var te=zl(W.from(),O.from()),he=mn(W.to(),O.to()),xe=W.empty()?O.from()==O.head:W.from()==W.head;P<=y&&--y,d.splice(--P,2,new Xr(xe?he:te,xe?te:he))}}return new wo(d,y)}function Fc(l,d){return new wo([new Xr(l,d||l)],0)}function Hc(l){return l.text?Ne(l.from.line+l.text.length-1,Ke(l.text).length+(l.text.length==1?l.from.ch:0)):l.to}function Y8(l,d){if(et(l,d.from)<0)return l;if(et(l,d.to)<=0)return Hc(d);var y=l.line+d.text.length-(d.to.line-d.from.line)-1,x=l.ch;return l.line==d.to.line&&(x+=Hc(d).ch-d.to.ch),Ne(y,x)}function MC(l,d){for(var y=[],x=0;x1&&l.remove(W.line+1,qe-1),l.insert(W.line+1,kt)}cs(l,"change",l,d)}function Bc(l,d,y){function x(k,P,O){if(k.linked)for(var W=0;W1&&!l.done[l.done.length-2].ranges)return l.done.pop(),Ke(l.done)}function tT(l,d,y,x){var k=l.history;k.undone.length=0;var P=+new Date,O,W;if((k.lastOp==x||k.lastOrigin==d.origin&&d.origin&&(d.origin.charAt(0)=="+"&&k.lastModTime>P-(l.cm?l.cm.options.historyEventDelay:500)||d.origin.charAt(0)=="*"))&&(O=LK(k,k.lastOp==x)))W=Ke(O.changes),et(d.from,d.to)==0&&et(d.from,W.to)==0?W.to=Hc(d):O.changes.push(RC(l,d));else{var Z=Ke(k.done);for((!Z||!Z.ranges)&&px(l.sel,k.done),O={changes:[RC(l,d)],generation:k.generation},k.done.push(O);k.done.length>k.undoDepth;)k.done.shift(),k.done[0].ranges||k.done.shift()}k.done.push(y),k.generation=++k.maxGeneration,k.lastModTime=k.lastSelTime=P,k.lastOp=k.lastSelOp=x,k.lastOrigin=k.lastSelOrigin=d.origin,W||je(l,"historyAdded")}function IK(l,d,y,x){var k=d.charAt(0);return k=="*"||k=="+"&&y.ranges.length==x.ranges.length&&y.somethingSelected()==x.somethingSelected()&&new Date-l.history.lastSelTime<=(l.cm?l.cm.options.historyEventDelay:500)}function OK(l,d,y,x){var k=l.history,P=x&&x.origin;y==k.lastSelOp||P&&k.lastSelOrigin==P&&(k.lastModTime==k.lastSelTime&&k.lastOrigin==P||IK(l,P,Ke(k.done),d))?k.done[k.done.length-1]=d:px(d,k.done),k.lastSelTime=+new Date,k.lastSelOrigin=P,k.lastSelOp=y,x&&x.clearRedo!==!1&&eT(k.undone)}function px(l,d){var y=Ke(d);y&&y.ranges&&y.equals(l)||d.push(l)}function rT(l,d,y,x){var k=d["spans_"+l.id],P=0;l.iter(Math.max(l.first,y),Math.min(l.first+l.size,x),function(O){O.markedSpans&&((k||(k=d["spans_"+l.id]={}))[P]=O.markedSpans),++P})}function $K(l){if(!l)return null;for(var d,y=0;y-1&&(Ke(W)[xe]=te[xe],delete te[xe])}}return x}function LC(l,d,y,x){if(x){var k=l.anchor;if(y){var P=et(d,k)<0;P!=et(y,k)<0?(k=d,d=y):P!=et(d,y)<0&&(d=y)}return new Xr(k,d)}else return new Xr(y||d,d)}function mx(l,d,y,x,k){k==null&&(k=l.cm&&(l.cm.display.shift||l.extend)),qs(l,new wo([LC(l.sel.primary(),d,y,k)],0),x)}function sT(l,d,y){for(var x=[],k=l.cm&&(l.cm.display.shift||l.extend),P=0;P=d.ch:W.to>d.ch))){if(k&&(je(Z,"beforeCursorEnter"),Z.explicitlyCleared))if(P.markedSpans){--O;continue}else break;if(!Z.atomic)continue;if(y){var xe=Z.find(x<0?1:-1),De=void 0;if((x<0?he:te)&&(xe=uT(l,xe,-x,xe&&xe.line==d.line?P:null)),xe&&xe.line==d.line&&(De=et(xe,y))&&(x<0?De<0:De>0))return hh(l,xe,d,x,k)}var Te=Z.find(x<0?-1:1);return(x<0?te:he)&&(Te=uT(l,Te,x,Te.line==d.line?P:null)),Te?hh(l,Te,d,x,k):null}}return d}function vx(l,d,y,x,k){var P=x||1,O=hh(l,d,y,P,k)||!k&&hh(l,d,y,P,!0)||hh(l,d,y,-P,k)||!k&&hh(l,d,y,-P,!0);return O||(l.cantEdit=!0,Ne(l.first,0))}function uT(l,d,y,x){return y<0&&d.ch==0?d.line>l.first?ir(l,Ne(d.line-1)):null:y>0&&d.ch==(x||Je(l,d.line)).text.length?d.line=0;--k)hT(l,{from:x[k].from,to:x[k].to,text:k?[""]:d.text,origin:d.origin});else hT(l,d)}}function hT(l,d){if(!(d.text.length==1&&d.text[0]==""&&et(d.from,d.to)==0)){var y=MC(l,d);tT(l,d,y,l.cm?l.cm.curOp.id:NaN),b0(l,d,y,sC(l,d));var x=[];Bc(l,function(k,P){!P&&ue(x,k.history)==-1&&(vT(k.history,d),x.push(k.history)),b0(k,d,null,sC(k,d))})}}function xx(l,d,y){var x=l.cm&&l.cm.state.suppressEdits;if(!(x&&!y)){for(var k=l.history,P,O=l.sel,W=d=="undo"?k.done:k.undone,Z=d=="undo"?k.undone:k.done,te=0;te=0;--Te){var qe=De(Te);if(qe)return qe.v}}}}function pT(l,d){if(d!=0&&(l.first+=d,l.sel=new wo(Et(l.sel.ranges,function(k){return new Xr(Ne(k.anchor.line+d,k.anchor.ch),Ne(k.head.line+d,k.head.ch))}),l.sel.primIndex),l.cm)){ka(l.cm,l.first,l.first-d,d);for(var y=l.cm.display,x=y.viewFrom;xl.lastLine())){if(d.from.lineP&&(d={from:d.from,to:Ne(P,Je(l,P).text.length),text:[d.text[0]],origin:d.origin}),d.removed=Wt(l,d.from,d.to),y||(y=MC(l,d)),l.cm?HK(l.cm,d,x):AC(l,d,x),gx(l,y,Pe),l.cantEdit&&vx(l,Ne(l.firstLine(),0))&&(l.cantEdit=!1)}}function HK(l,d,y){var x=l.doc,k=l.display,P=d.from,O=d.to,W=!1,Z=P.line;l.options.lineWrapping||(Z=ne(bi(Je(x,P.line))),x.iter(Z,O.line+1,function(Te){if(Te==k.maxLine)return W=!0,!0})),x.sel.contains(d.from,d.to)>-1&&Fe(l),AC(x,d,y,A8(l)),l.options.lineWrapping||(x.iter(Z,P.line+d.text.length,function(Te){var qe=tx(Te);qe>k.maxLineLength&&(k.maxLine=Te,k.maxLineLength=qe,k.maxLineChanged=!0,W=!1)}),W&&(l.curOp.updateMaxLine=!0)),Pq(x,P.line),v0(l,400);var te=d.text.length-(O.line-P.line)-1;d.full?ka(l):P.line==O.line&&d.text.length==1&&!X8(l.doc,d)?$c(l,P.line,"text"):ka(l,P.line,O.line+1,te);var he=nt(l,"changes"),xe=nt(l,"change");if(xe||he){var De={from:P,to:O,text:d.text,removed:d.removed,origin:d.origin};xe&&cs(l,"change",l,De),he&&(l.curOp.changeObjs||(l.curOp.changeObjs=[])).push(De)}l.display.selForContextMenu=null}function mh(l,d,y,x,k){var P;x||(x=y),et(x,y)<0&&(P=[x,y],y=P[0],x=P[1]),typeof d=="string"&&(d=l.splitLines(d)),ph(l,{from:y,to:x,text:d,origin:k})}function mT(l,d,y,x){y1||!(this.children[0]instanceof k0))){var W=[];this.collapse(W),this.children=[new k0(W)],this.children[0].parent=this}},collapse:function(l){for(var d=0;d50){for(var O=k.lines.length%25+25,W=O;W10);l.parent.maybeSpill()}},iterN:function(l,d,y){for(var x=0;xl.display.maxLineLength&&(l.display.maxLine=te,l.display.maxLineLength=he,l.display.maxLineChanged=!0)}x!=null&&l&&this.collapsed&&ka(l,x,k+1),this.lines.length=0,this.explicitlyCleared=!0,this.atomic&&this.doc.cantEdit&&(this.doc.cantEdit=!1,l&&lT(l.doc)),l&&cs(l,"markerCleared",l,this,x,k),d&&wd(l),this.parent&&this.parent.clear()}},Uc.prototype.find=function(l,d){l==null&&this.type=="bookmark"&&(l=1);for(var y,x,k=0;k0||O==0&&P.clearWhenEmpty!==!1)return P;if(P.replacedWith&&(P.collapsed=!0,P.widgetNode=$("span",[P.replacedWith],"CodeMirror-widget"),x.handleMouseEvents||P.widgetNode.setAttribute("cm-ignore-events","true"),x.insertLeft&&(P.widgetNode.insertLeft=!0)),P.collapsed){if(c8(l,d.line,d,y,P)||d.line!=y.line&&c8(l,y.line,d,y,P))throw new Error("Inserting collapsed marker partially overlapping an existing one");Dq()}P.addToHistory&&tT(l,{from:d,to:y,origin:"markText"},l.sel,NaN);var W=d.line,Z=l.cm,te;if(l.iter(W,y.line+1,function(xe){Z&&P.collapsed&&!Z.options.lineWrapping&&bi(xe)==Z.display.maxLine&&(te=!0),P.collapsed&&W!=d.line&&yr(xe,0),Rq(xe,new X1(P,W==d.line?d.ch:null,W==y.line?y.ch:null),l.cm&&l.cm.curOp),++W}),P.collapsed&&l.iter(d.line,y.line+1,function(xe){Oc(l,xe)&&yr(xe,0)}),P.clearOnEnter&&Ze(P,"beforeCursorEnter",function(){return P.clear()}),P.readOnly&&(Mq(),(l.history.done.length||l.history.undone.length)&&l.clearHistory()),P.collapsed&&(P.id=++yT,P.atomic=!0),Z){if(te&&(Z.curOp.updateMaxLine=!0),P.collapsed)ka(Z,d.line,y.line+1);else if(P.className||P.startStyle||P.endStyle||P.css||P.attributes||P.title)for(var he=d.line;he<=y.line;he++)$c(Z,he,"text");P.atomic&&lT(Z.doc),cs(Z,"markerAdded",Z,P)}return P}var j0=function(l,d){this.markers=l,this.primary=d;for(var y=0;y=0;Z--)ph(this,x[Z]);W?oT(this,W):this.cm&&uh(this.cm)}),undo:ds(function(){xx(this,"undo")}),redo:ds(function(){xx(this,"redo")}),undoSelection:ds(function(){xx(this,"undo",!0)}),redoSelection:ds(function(){xx(this,"redo",!0)}),setExtending:function(l){this.extend=l},getExtending:function(){return this.extend},historySize:function(){for(var l=this.history,d=0,y=0,x=0;x=l.ch)&&d.push(k.marker.parent||k.marker)}return d},findMarks:function(l,d,y){l=ir(this,l),d=ir(this,d);var x=[],k=l.line;return this.iter(l.line,d.line+1,function(P){var O=P.markedSpans;if(O)for(var W=0;W=Z.to||Z.from==null&&k!=l.line||Z.from!=null&&k==d.line&&Z.from>=d.ch)&&(!y||y(Z.marker))&&x.push(Z.marker.parent||Z.marker)}++k}),x},getAllMarks:function(){var l=[];return this.iter(function(d){var y=d.markedSpans;if(y)for(var x=0;xl)return d=l,!0;l-=P,++y}),ir(this,Ne(y,d))},indexFromPos:function(l){l=ir(this,l);var d=l.ch;if(l.lined&&(d=l.from),l.to!=null&&l.to-1){d.state.draggingText(l),setTimeout(function(){return d.display.input.focus()},20);return}try{var he=l.dataTransfer.getData("Text");if(he){var xe;if(d.state.draggingText&&!d.state.draggingText.copy&&(xe=d.listSelections()),gx(d.doc,Fc(y,y)),xe)for(var De=0;De=0;W--)mh(l.doc,"",x[W].from,x[W].to,"+delete");uh(l)})}function OC(l,d,y){var x=Ge(l.text,d+y,y);return x<0||x>l.text.length?null:x}function $C(l,d,y){var x=OC(l,d.ch,y);return x==null?null:new Ne(d.line,x,y<0?"after":"before")}function zC(l,d,y,x,k){if(l){d.doc.direction=="rtl"&&(k=-k);var P=Le(y,d.doc.direction);if(P){var O=k<0?Ke(P):P[0],W=k<0==(O.level==1),Z=W?"after":"before",te;if(O.level>0||d.doc.direction=="rtl"){var he=oh(d,y);te=k<0?y.text.length-1:0;var xe=cl(d,he,te).top;te=Zt(function(De){return cl(d,he,De).top==xe},k<0==(O.level==1)?O.from:O.to-1,te),Z=="before"&&(te=OC(y,te,1))}else te=k<0?O.to:O.from;return new Ne(x,te,Z)}}return new Ne(x,k<0?y.text.length:0,k<0?"before":"after")}function tG(l,d,y,x){var k=Le(d,l.doc.direction);if(!k)return $C(d,y,x);y.ch>=d.text.length?(y.ch=d.text.length,y.sticky="before"):y.ch<=0&&(y.ch=0,y.sticky="after");var P=pr(k,y.ch,y.sticky),O=k[P];if(l.doc.direction=="ltr"&&O.level%2==0&&(x>0?O.to>y.ch:O.from=O.from&&De>=he.begin)){var Te=xe?"before":"after";return new Ne(y.line,De,Te)}}var qe=function(kt,Mt,Ct){for(var Ot=function(gn,fs){return fs?new Ne(y.line,W(gn,1),"before"):new Ne(y.line,gn,"after")};kt>=0&&kt0==(Qt.level!=1),Cr=Yt?Ct.begin:W(Ct.end,-1);if(Qt.from<=Cr&&Cr0?he.end:W(he.begin,-1);return ft!=null&&!(x>0&&ft==d.text.length)&&(tt=qe(x>0?0:k.length-1,x,te(ft)),tt)?tt:null}var _0={selectAll:dT,singleSelection:function(l){return l.setSelection(l.getCursor("anchor"),l.getCursor("head"),Pe)},killLine:function(l){return xh(l,function(d){if(d.empty()){var y=Je(l.doc,d.head.line).text.length;return d.head.ch==y&&d.head.line0)k=new Ne(k.line,k.ch+1),l.replaceRange(P.charAt(k.ch-1)+P.charAt(k.ch-2),Ne(k.line,k.ch-2),k,"+transpose");else if(k.line>l.doc.first){var O=Je(l.doc,k.line-1).text;O&&(k=new Ne(k.line,1),l.replaceRange(P.charAt(0)+l.doc.lineSeparator()+O.charAt(O.length-1),Ne(k.line-1,O.length-1),k,"+transpose"))}}y.push(new Xr(k,k))}l.setSelections(y)})},newlineAndIndent:function(l){return Ka(l,function(){for(var d=l.listSelections(),y=d.length-1;y>=0;y--)l.replaceRange(l.doc.lineSeparator(),d[y].anchor,d[y].head,"+input");d=l.listSelections();for(var x=0;xl&&et(d,this.pos)==0&&y==this.button};var P0,M0;function lG(l,d){var y=+new Date;return M0&&M0.compare(y,l,d)?(P0=M0=null,"triple"):P0&&P0.compare(y,l,d)?(M0=new HC(y,l,d),P0=null,"double"):(P0=new HC(y,l,d),M0=null,"single")}function LT(l){var d=this,y=d.display;if(!(we(d,l)||y.activeTouch&&y.input.supportsTouch())){if(y.input.ensurePolled(),y.shift=l.shiftKey,Bl(y,l)){h||(y.scroller.draggable=!1,setTimeout(function(){return y.scroller.draggable=!0},100));return}if(!BC(d,l)){var x=gd(d,l),k=Pt(l),P=x?lG(x,k):"single";ie(d).focus(),k==1&&d.state.selectingText&&d.state.selectingText(l),!(x&&cG(d,k,x,P,l))&&(k==1?x?dG(d,x,P,l):qt(l)==y.scroller&&Ie(l):k==2?(x&&mx(d.doc,x),setTimeout(function(){return y.input.focus()},20)):k==3&&(z?d.display.input.onContextMenu(l):kC(d)))}}}function cG(l,d,y,x,k){var P="Click";return x=="double"?P="Double"+P:x=="triple"&&(P="Triple"+P),P=(d==1?"Left":d==2?"Middle":"Right")+P,T0(l,ET(P,k),k,function(O){if(typeof O=="string"&&(O=_0[O]),!O)return!1;var W=!1;try{l.isReadOnly()&&(l.state.suppressEdits=!0),W=O(l,y)!=Ce}finally{l.state.suppressEdits=!1}return W})}function uG(l,d,y){var x=l.getOption("configureMouse"),k=x?x(l,d,y):{};if(k.unit==null){var P=A?y.shiftKey&&y.metaKey:y.altKey;k.unit=P?"rectangle":d=="single"?"char":d=="double"?"word":"line"}return(k.extend==null||l.doc.extend)&&(k.extend=l.doc.extend||y.shiftKey),k.addNew==null&&(k.addNew=T?y.metaKey:y.ctrlKey),k.moveOnDrag==null&&(k.moveOnDrag=!(T?y.altKey:y.ctrlKey)),k}function dG(l,d,y,x){u?setTimeout(oe(I8,l),0):l.curOp.focus=Y(se(l));var k=uG(l,y,x),P=l.doc.sel,O;l.options.dragDrop&&Rt&&!l.isReadOnly()&&y=="single"&&(O=P.contains(d))>-1&&(et((O=P.ranges[O]).from(),d)<0||d.xRel>0)&&(et(O.to(),d)>0||d.xRel<0)?fG(l,x,d,k):hG(l,x,d,k)}function fG(l,d,y,x){var k=l.display,P=!1,O=us(l,function(te){h&&(k.scroller.draggable=!1),l.state.draggingText=!1,l.state.delayingBlurEvent&&(l.hasFocus()?l.state.delayingBlurEvent=!1:kC(l)),Se(k.wrapper.ownerDocument,"mouseup",O),Se(k.wrapper.ownerDocument,"mousemove",W),Se(k.scroller,"dragstart",Z),Se(k.scroller,"drop",O),P||(Ie(te),x.addNew||mx(l.doc,y,null,null,x.extend),h&&!g||u&&f==9?setTimeout(function(){k.wrapper.ownerDocument.body.focus({preventScroll:!0}),k.input.focus()},20):k.input.focus())}),W=function(te){P=P||Math.abs(d.clientX-te.clientX)+Math.abs(d.clientY-te.clientY)>=10},Z=function(){return P=!0};h&&(k.scroller.draggable=!0),l.state.draggingText=O,O.copy=!x.moveOnDrag,Ze(k.wrapper.ownerDocument,"mouseup",O),Ze(k.wrapper.ownerDocument,"mousemove",W),Ze(k.scroller,"dragstart",Z),Ze(k.scroller,"drop",O),l.state.delayingBlurEvent=!0,setTimeout(function(){return k.input.focus()},20),k.scroller.dragDrop&&k.scroller.dragDrop()}function IT(l,d,y){if(y=="char")return new Xr(d,d);if(y=="word")return l.findWordAt(d);if(y=="line")return new Xr(Ne(d.line,0),ir(l.doc,Ne(d.line+1,0)));var x=y(l,d);return new Xr(x.from,x.to)}function hG(l,d,y,x){u&&kC(l);var k=l.display,P=l.doc;Ie(d);var O,W,Z=P.sel,te=Z.ranges;if(x.addNew&&!x.extend?(W=P.sel.contains(y),W>-1?O=te[W]:O=new Xr(y,y)):(O=P.sel.primary(),W=P.sel.primIndex),x.unit=="rectangle")x.addNew||(O=new Xr(y,y)),y=gd(l,d,!0,!0),W=-1;else{var he=IT(l,y,x.unit);x.extend?O=LC(O,he.anchor,he.head,x.extend):O=he}x.addNew?W==-1?(W=te.length,qs(P,ki(l,te.concat([O]),W),{scroll:!1,origin:"*mouse"})):te.length>1&&te[W].empty()&&x.unit=="char"&&!x.extend?(qs(P,ki(l,te.slice(0,W).concat(te.slice(W+1)),0),{scroll:!1,origin:"*mouse"}),Z=P.sel):IC(P,W,O,Ee):(W=0,qs(P,new wo([O],0),Ee),Z=P.sel);var xe=y;function De(Ct){if(et(xe,Ct)!=0)if(xe=Ct,x.unit=="rectangle"){for(var Ot=[],Qt=l.options.tabSize,Yt=fe(Je(P,y.line).text,y.ch,Qt),Cr=fe(Je(P,Ct.line).text,Ct.ch,Qt),gn=Math.min(Yt,Cr),fs=Math.max(Yt,Cr),Pn=Math.min(y.line,Ct.line),Ga=Math.min(l.lastLine(),Math.max(y.line,Ct.line));Pn<=Ga;Pn++){var Sa=Je(P,Pn).text,Xn=Ve(Sa,gn,Qt);gn==fs?Ot.push(new Xr(Ne(Pn,Xn),Ne(Pn,Xn))):Sa.length>Xn&&Ot.push(new Xr(Ne(Pn,Xn),Ne(Pn,Ve(Sa,fs,Qt))))}Ot.length||Ot.push(new Xr(y,y)),qs(P,ki(l,Z.ranges.slice(0,W).concat(Ot),W),{origin:"*mouse",scroll:!1}),l.scrollIntoView(Ct)}else{var ja=O,Ps=IT(l,Ct,x.unit),as=ja.anchor,Qn;et(Ps.anchor,as)>0?(Qn=Ps.head,as=zl(ja.from(),Ps.anchor)):(Qn=Ps.anchor,as=mn(ja.to(),Ps.head));var Ln=Z.ranges.slice(0);Ln[W]=pG(l,new Xr(ir(P,as),Qn)),qs(P,ki(l,Ln,W),Ee)}}var Te=k.wrapper.getBoundingClientRect(),qe=0;function tt(Ct){var Ot=++qe,Qt=gd(l,Ct,!0,x.unit=="rectangle");if(Qt)if(et(Qt,xe)!=0){l.curOp.focus=Y(se(l)),De(Qt);var Yt=cx(k,P);(Qt.line>=Yt.to||Qt.lineTe.bottom?20:0;Cr&&setTimeout(us(l,function(){qe==Ot&&(k.scroller.scrollTop+=Cr,tt(Ct))}),50)}}function ft(Ct){l.state.selectingText=!1,qe=1/0,Ct&&(Ie(Ct),k.input.focus()),Se(k.wrapper.ownerDocument,"mousemove",kt),Se(k.wrapper.ownerDocument,"mouseup",Mt),P.history.lastSelOrigin=null}var kt=us(l,function(Ct){Ct.buttons===0||!Pt(Ct)?ft(Ct):tt(Ct)}),Mt=us(l,ft);l.state.selectingText=Mt,Ze(k.wrapper.ownerDocument,"mousemove",kt),Ze(k.wrapper.ownerDocument,"mouseup",Mt)}function pG(l,d){var y=d.anchor,x=d.head,k=Je(l.doc,y.line);if(et(y,x)==0&&y.sticky==x.sticky)return d;var P=Le(k);if(!P)return d;var O=pr(P,y.ch,y.sticky),W=P[O];if(W.from!=y.ch&&W.to!=y.ch)return d;var Z=O+(W.from==y.ch==(W.level!=1)?0:1);if(Z==0||Z==P.length)return d;var te;if(x.line!=y.line)te=(x.line-y.line)*(l.doc.direction=="ltr"?1:-1)>0;else{var he=pr(P,x.ch,x.sticky),xe=he-O||(x.ch-y.ch)*(W.level==1?-1:1);he==Z-1||he==Z?te=xe<0:te=xe>0}var De=P[Z+(te?-1:0)],Te=te==(De.level==1),qe=Te?De.from:De.to,tt=Te?"after":"before";return y.ch==qe&&y.sticky==tt?d:new Xr(new Ne(y.line,qe,tt),x)}function OT(l,d,y,x){var k,P;if(d.touches)k=d.touches[0].clientX,P=d.touches[0].clientY;else try{k=d.clientX,P=d.clientY}catch(De){return!1}if(k>=Math.floor(l.display.gutters.getBoundingClientRect().right))return!1;x&&Ie(d);var O=l.display,W=O.lineDiv.getBoundingClientRect();if(P>W.bottom||!nt(l,y))return Ye(d);P-=W.top-O.viewOffset;for(var Z=0;Z=k){var he=de(l.doc,P),xe=l.display.gutterSpecs[Z];return je(l,y,l,he,xe.className,d),Ye(d)}}}function BC(l,d){return OT(l,d,"gutterClick",!0)}function $T(l,d){Bl(l.display,d)||mG(l,d)||we(l,d,"contextmenu")||z||l.display.input.onContextMenu(d)}function mG(l,d){return nt(l,"gutterContextMenu")?OT(l,d,"gutterContextMenu",!1):!1}function zT(l){l.display.wrapper.className=l.display.wrapper.className.replace(/\s*cm-s-\S+/g,"")+l.options.theme.replace(/(^|\s)\s*/g," cm-s-"),d0(l)}var yh={toString:function(){return"CodeMirror.Init"}},FT={},kx={};function gG(l){var d=l.optionHandlers;function y(x,k,P,O){l.defaults[x]=k,P&&(d[x]=O?function(W,Z,te){te!=yh&&P(W,Z,te)}:P)}l.defineOption=y,l.Init=yh,y("value","",function(x,k){return x.setValue(k)},!0),y("mode",null,function(x,k){x.doc.modeOption=k,DC(x)},!0),y("indentUnit",2,DC,!0),y("indentWithTabs",!1),y("smartIndent",!0),y("tabSize",4,function(x){y0(x),d0(x),ka(x)},!0),y("lineSeparator",null,function(x,k){if(x.doc.lineSep=k,!!k){var P=[],O=x.doc.first;x.doc.iter(function(Z){for(var te=0;;){var he=Z.text.indexOf(k,te);if(he==-1)break;te=he+k.length,P.push(Ne(O,he))}O++});for(var W=P.length-1;W>=0;W--)mh(x.doc,k,P[W],Ne(P[W].line,P[W].ch+k.length))}}),y("specialChars",/[\u0000-\u001f\u007f-\u009f\u00ad\u061c\u200b\u200e\u200f\u2028\u2029\u202d\u202e\u2066\u2067\u2069\ufeff\ufff9-\ufffc]/g,function(x,k,P){x.state.specialChars=new RegExp(k.source+(k.test(" ")?"":"| "),"g"),P!=yh&&x.refresh()}),y("specialCharPlaceholder",Vq,function(x){return x.refresh()},!0),y("electricChars",!0),y("inputStyle",N?"contenteditable":"textarea",function(){throw new Error("inputStyle can not (yet) be changed in a running editor")},!0),y("spellcheck",!1,function(x,k){return x.getInputField().spellcheck=k},!0),y("autocorrect",!1,function(x,k){return x.getInputField().autocorrect=k},!0),y("autocapitalize",!1,function(x,k){return x.getInputField().autocapitalize=k},!0),y("rtlMoveVisually",!M),y("wholeLineUpdateBefore",!0),y("theme","default",function(x){zT(x),x0(x)},!0),y("keyMap","default",function(x,k,P){var O=bx(k),W=P!=yh&&bx(P);W&&W.detach&&W.detach(x,O),O.attach&&O.attach(x,W||null)}),y("extraKeys",null),y("configureMouse",null),y("lineWrapping",!1,xG,!0),y("gutters",[],function(x,k){x.display.gutterSpecs=PC(k,x.options.lineNumbers),x0(x)},!0),y("fixedGutter",!0,function(x,k){x.display.gutters.style.left=k?xC(x.display)+"px":"0",x.refresh()},!0),y("coverGutterNextToScrollbar",!1,function(x){return dh(x)},!0),y("scrollbarStyle","native",function(x){B8(x),dh(x),x.display.scrollbars.setScrollTop(x.doc.scrollTop),x.display.scrollbars.setScrollLeft(x.doc.scrollLeft)},!0),y("lineNumbers",!1,function(x,k){x.display.gutterSpecs=PC(x.options.gutters,k),x0(x)},!0),y("firstLineNumber",1,x0,!0),y("lineNumberFormatter",function(x){return x},x0,!0),y("showCursorWhenSelecting",!1,f0,!0),y("resetSelectionOnContextMenu",!0),y("lineWiseCopyCut",!0),y("pasteLinesPerSelection",!0),y("selectionsMayTouch",!1),y("readOnly",!1,function(x,k){k=="nocursor"&&(ch(x),x.display.input.blur()),x.display.input.readOnlyChanged(k)}),y("screenReaderLabel",null,function(x,k){k=k===""?null:k,x.display.input.screenReaderLabelChanged(k)}),y("disableInput",!1,function(x,k){k||x.display.input.reset()},!0),y("dragDrop",!0,vG),y("allowDropFileTypes",null),y("cursorBlinkRate",530),y("cursorScrollMargin",0),y("cursorHeight",1,f0,!0),y("singleCursorHeightPerLine",!0,f0,!0),y("workTime",100),y("workDelay",100),y("flattenSpans",!0,y0,!0),y("addModeClass",!1,y0,!0),y("pollInterval",100),y("undoDepth",200,function(x,k){return x.doc.history.undoDepth=k}),y("historyEventDelay",1250),y("viewportMargin",10,function(x){return x.refresh()},!0),y("maxHighlightLength",1e4,y0,!0),y("moveInputWithCursor",!0,function(x,k){k||x.display.input.resetPosition()}),y("tabindex",null,function(x,k){return x.display.input.getField().tabIndex=k||""}),y("autofocus",null),y("direction","ltr",function(x,k){return x.doc.setDirection(k)},!0),y("phrases",null)}function vG(l,d,y){var x=y&&y!=yh;if(!d!=!x){var k=l.display.dragFunctions,P=d?Ze:Se;P(l.display.scroller,"dragstart",k.start),P(l.display.scroller,"dragenter",k.enter),P(l.display.scroller,"dragover",k.over),P(l.display.scroller,"dragleave",k.leave),P(l.display.scroller,"drop",k.drop)}}function xG(l){l.options.lineWrapping?(B(l.display.wrapper,"CodeMirror-wrap"),l.display.sizer.style.minWidth="",l.display.sizerWidth=null):(V(l.display.wrapper,"CodeMirror-wrap"),lC(l)),yC(l),ka(l),d0(l),setTimeout(function(){return dh(l)},100)}function wn(l,d){var y=this;if(!(this instanceof wn))return new wn(l,d);this.options=d=d?ae(d):{},ae(FT,d,!1);var x=d.value;typeof x=="string"?x=new Ca(x,d.mode,null,d.lineSeparator,d.direction):d.mode&&(x.modeOption=d.mode),this.doc=x;var k=new wn.inputStyles[d.inputStyle](this),P=this.display=new MK(l,x,k,d);P.wrapper.CodeMirror=this,zT(this),d.lineWrapping&&(this.display.wrapper.className+=" CodeMirror-wrap"),B8(this),this.state={keyMaps:[],overlays:[],modeGen:0,overwrite:!1,delayingBlurEvent:!1,focused:!1,suppressEdits:!1,pasteIncoming:-1,cutIncoming:-1,selectingText:!1,draggingText:!1,highlight:new le,keySeq:null,specialChars:null},d.autofocus&&!N&&P.input.focus(),u&&f<11&&setTimeout(function(){return y.display.input.reset(!0)},20),yG(this),ZK(),bd(this),this.curOp.forceUpdate=!0,Q8(this,x),d.autofocus&&!N||this.hasFocus()?setTimeout(function(){y.hasFocus()&&!y.state.focused&&CC(y)},20):ch(this);for(var O in kx)kx.hasOwnProperty(O)&&kx[O](this,d[O],yh);V8(this),d.finishInit&&d.finishInit(this);for(var W=0;W20*20}Ze(d.scroller,"touchstart",function(Z){if(!we(l,Z)&&!P(Z)&&!BC(l,Z)){d.input.ensurePolled(),clearTimeout(y);var te=+new Date;d.activeTouch={start:te,moved:!1,prev:te-x.end<=300?x:null},Z.touches.length==1&&(d.activeTouch.left=Z.touches[0].pageX,d.activeTouch.top=Z.touches[0].pageY)}}),Ze(d.scroller,"touchmove",function(){d.activeTouch&&(d.activeTouch.moved=!0)}),Ze(d.scroller,"touchend",function(Z){var te=d.activeTouch;if(te&&!Bl(d,Z)&&te.left!=null&&!te.moved&&new Date-te.start<300){var he=l.coordsChar(d.activeTouch,"page"),xe;!te.prev||O(te,te.prev)?xe=new Xr(he,he):!te.prev.prev||O(te,te.prev.prev)?xe=l.findWordAt(he):xe=new Xr(Ne(he.line,0),ir(l.doc,Ne(he.line+1,0))),l.setSelection(xe.anchor,xe.head),l.focus(),Ie(Z)}k()}),Ze(d.scroller,"touchcancel",k),Ze(d.scroller,"scroll",function(){d.scroller.clientHeight&&(p0(l,d.scroller.scrollTop),xd(l,d.scroller.scrollLeft,!0),je(l,"scroll",l))}),Ze(d.scroller,"mousewheel",function(Z){return G8(l,Z)}),Ze(d.scroller,"DOMMouseScroll",function(Z){return G8(l,Z)}),Ze(d.wrapper,"scroll",function(){return d.wrapper.scrollTop=d.wrapper.scrollLeft=0}),d.dragFunctions={enter:function(Z){we(l,Z)||mt(Z)},over:function(Z){we(l,Z)||(YK(l,Z),mt(Z))},start:function(Z){return GK(l,Z)},drop:us(l,KK),leave:function(Z){we(l,Z)||kT(l)}};var W=d.input.getField();Ze(W,"keyup",function(Z){return AT.call(l,Z)}),Ze(W,"keydown",us(l,DT)),Ze(W,"keypress",us(l,RT)),Ze(W,"focus",function(Z){return CC(l,Z)}),Ze(W,"blur",function(Z){return ch(l,Z)})}var UC=[];wn.defineInitHook=function(l){return UC.push(l)};function D0(l,d,y,x){var k=l.doc,P;y==null&&(y="add"),y=="smart"&&(k.mode.indent?P=o0(l,d).state:y="prev");var O=l.options.tabSize,W=Je(k,d),Z=fe(W.text,null,O);W.stateAfter&&(W.stateAfter=null);var te=W.text.match(/^\s*/)[0],he;if(!x&&!/\S/.test(W.text))he=0,y="not";else if(y=="smart"&&(he=k.mode.indent(P,W.text.slice(te.length),W.text),he==Ce||he>150)){if(!x)return;y="prev"}y=="prev"?d>k.first?he=fe(Je(k,d-1).text,null,O):he=0:y=="add"?he=Z+l.options.indentUnit:y=="subtract"?he=Z-l.options.indentUnit:typeof y=="number"&&(he=Z+y),he=Math.max(0,he);var xe="",De=0;if(l.options.indentWithTabs)for(var Te=Math.floor(he/O);Te;--Te)De+=O,xe+=" ";if(DeO,Z=qr(d),te=null;if(W&&x.ranges.length>1)if(Ci&&Ci.text.join("\n")==d){if(x.ranges.length%Ci.text.length==0){te=[];for(var he=0;he=0;De--){var Te=x.ranges[De],qe=Te.from(),tt=Te.to();Te.empty()&&(y&&y>0?qe=Ne(qe.line,qe.ch-y):l.state.overwrite&&!W?tt=Ne(tt.line,Math.min(Je(P,tt.line).text.length,tt.ch+Ke(Z).length)):W&&Ci&&Ci.lineWise&&Ci.text.join("\n")==Z.join("\n")&&(qe=tt=Ne(qe.line,0)));var ft={from:qe,to:tt,text:te?te[De%te.length]:Z,origin:k||(W?"paste":l.state.cutIncoming>O?"cut":"+input")};ph(l.doc,ft),cs(l,"inputRead",l,ft)}d&&!W&&BT(l,d),uh(l),l.curOp.updateInput<2&&(l.curOp.updateInput=xe),l.curOp.typing=!0,l.state.pasteIncoming=l.state.cutIncoming=-1}function HT(l,d){var y=l.clipboardData&&l.clipboardData.getData("Text");if(y)return l.preventDefault(),!d.isReadOnly()&&!d.options.disableInput&&d.hasFocus()&&Ka(d,function(){return WC(d,y,0,null,"paste")}),!0}function BT(l,d){if(!(!l.options.electricChars||!l.options.smartIndent))for(var y=l.doc.sel,x=y.ranges.length-1;x>=0;x--){var k=y.ranges[x];if(!(k.head.ch>100||x&&y.ranges[x-1].head.line==k.head.line)){var P=l.getModeAt(k.head),O=!1;if(P.electricChars){for(var W=0;W-1){O=D0(l,k.head.line,"smart");break}}else P.electricInput&&P.electricInput.test(Je(l.doc,k.head.line).text.slice(0,k.head.ch))&&(O=D0(l,k.head.line,"smart"));O&&cs(l,"electricInput",l,k.head.line)}}}function UT(l){for(var d=[],y=[],x=0;xP&&(D0(this,W.head.line,x,!0),P=W.head.line,O==this.doc.sel.primIndex&&uh(this));else{var Z=W.from(),te=W.to(),he=Math.max(P,Z.line);P=Math.min(this.lastLine(),te.line-(te.ch?0:1))+1;for(var xe=he;xe0&&IC(this.doc,O,new Xr(Z,De[O].to()),Pe)}}}),getTokenAt:function(x,k){return e8(this,x,k)},getLineTokens:function(x,k){return e8(this,Ne(x),k,!0)},getTokenTypeAt:function(x){x=ir(this.doc,x);var k=X_(this,Je(this.doc,x.line)),P=0,O=(k.length-1)/2,W=x.ch,Z;if(W==0)Z=k[2];else for(;;){var te=P+O>>1;if((te?k[te*2-1]:0)>=W)O=te;else if(k[te*2+1]Z&&(x=Z,O=!0),W=Je(this.doc,x)}else W=x;return sx(this,W,{top:0,left:0},k||"page",P||O).top+(O?this.doc.height-Hl(W):0)},defaultTextHeight:function(){return ih(this.display)},defaultCharWidth:function(){return lh(this.display)},getViewport:function(){return{from:this.display.viewFrom,to:this.display.viewTo}},addWidget:function(x,k,P,O,W){var Z=this.display;x=wi(this,ir(this.doc,x));var te=x.bottom,he=x.left;if(k.style.position="absolute",k.setAttribute("cm-ignore-events","true"),this.display.input.setUneditable(k),Z.sizer.appendChild(k),O=="over")te=x.top;else if(O=="above"||O=="near"){var xe=Math.max(Z.wrapper.clientHeight,this.doc.height),De=Math.max(Z.sizer.clientWidth,Z.lineSpace.clientWidth);(O=="above"||x.bottom+k.offsetHeight>xe)&&x.top>k.offsetHeight?te=x.top-k.offsetHeight:x.bottom+k.offsetHeight<=xe&&(te=x.bottom),he+k.offsetWidth>De&&(he=De-k.offsetWidth)}k.style.top=te+"px",k.style.left=k.style.right="",W=="right"?(he=Z.sizer.clientWidth-k.offsetWidth,k.style.right="0px"):(W=="left"?he=0:W=="middle"&&(he=(Z.sizer.clientWidth-k.offsetWidth)/2),k.style.left=he+"px"),P&&vK(this,{left:he,top:te,right:he+k.offsetWidth,bottom:te+k.offsetHeight})},triggerOnKeyDown:oa(DT),triggerOnKeyPress:oa(RT),triggerOnKeyUp:AT,triggerOnMouseDown:oa(LT),execCommand:function(x){if(_0.hasOwnProperty(x))return _0[x].call(null,this)},triggerElectric:oa(function(x){BT(this,x)}),findPosH:function(x,k,P,O){var W=1;k<0&&(W=-1,k=-k);for(var Z=ir(this.doc,x),te=0;te0&&he(P.charAt(O-1));)--O;for(;W.5||this.options.lineWrapping)&&yC(this),je(this,"refresh",this)}),swapDoc:oa(function(x){var k=this.doc;return k.cm=null,this.state.selectingText&&this.state.selectingText(),Q8(this,x),d0(this),this.display.input.reset(),h0(this,x.scrollLeft,x.scrollTop),this.curOp.forceScroll=!0,cs(this,"swapDoc",this,k),k}),phrase:function(x){var k=this.options.phrases;return k&&Object.prototype.hasOwnProperty.call(k,x)?k[x]:x},getInputField:function(){return this.display.input.getField()},getWrapperElement:function(){return this.display.wrapper},getScrollerElement:function(){return this.display.scroller},getGutterElement:function(){return this.display.gutters}},rt(l),l.registerHelper=function(x,k,P){y.hasOwnProperty(x)||(y[x]=l[x]={_global:[]}),y[x][k]=P},l.registerGlobalHelper=function(x,k,P,O){l.registerHelper(x,k,O),y[x]._global.push({pred:P,val:O})}}function qC(l,d,y,x,k){var P=d,O=y,W=Je(l,d.line),Z=k&&l.direction=="rtl"?-y:y;function te(){var Mt=d.line+Z;return Mt=l.first+l.size?!1:(d=new Ne(Mt,d.ch,d.sticky),W=Je(l,Mt))}function he(Mt){var Ct;if(x=="codepoint"){var Ot=W.text.charCodeAt(d.ch+(y>0?0:-1));if(isNaN(Ot))Ct=null;else{var Qt=y>0?Ot>=55296&&Ot<56320:Ot>=56320&&Ot<57343;Ct=new Ne(d.line,Math.max(0,Math.min(W.text.length,d.ch+y*(Qt?2:1))),-y)}}else k?Ct=tG(l.cm,W,d,y):Ct=$C(W,d,y);if(Ct==null)if(!Mt&&te())d=zC(k,l.cm,W,d.line,Z);else return!1;else d=Ct;return!0}if(x=="char"||x=="codepoint")he();else if(x=="column")he(!0);else if(x=="word"||x=="group")for(var xe=null,De=x=="group",Te=l.cm&&l.cm.getHelper(d,"wordChars"),qe=!0;!(y<0&&!he(!qe));qe=!1){var tt=W.text.charAt(d.ch)||"\n",ft=ht(tt,Te)?"w":De&&tt=="\n"?"n":!De||/\s/.test(tt)?null:"p";if(De&&!qe&&!ft&&(ft="s"),xe&&xe!=ft){y<0&&(y=1,he(),d.sticky="after");break}if(ft&&(xe=ft),y>0&&!he(!qe))break}var kt=vx(l,d,P,O,!0);return fr(P,kt)&&(kt.hitSide=!0),kt}function VT(l,d,y,x){var k=l.doc,P=d.left,O;if(x=="page"){var W=Math.min(l.display.wrapper.clientHeight,ie(l).innerHeight||k(l).documentElement.clientHeight),Z=Math.max(W-.5*ih(l.display),3);O=(y>0?d.bottom:d.top)+y*Z}else x=="line"&&(O=y>0?d.bottom+3:d.top-3);for(var te;te=mC(l,P,O),!!te.outside;){if(y<0?O<=0:O>=k.height){te.hitSide=!0;break}O+=y*5}return te}var on=function(l){this.cm=l,this.lastAnchorNode=this.lastAnchorOffset=this.lastFocusNode=this.lastFocusOffset=null,this.polling=new le,this.composing=null,this.gracePeriod=!1,this.readDOMTimeout=null};on.prototype.init=function(l){var d=this,y=this,x=y.cm,k=y.div=l.lineDiv;k.contentEditable=!0,VC(k,x.options.spellcheck,x.options.autocorrect,x.options.autocapitalize);function P(W){for(var Z=W.target;Z;Z=Z.parentNode){if(Z==k)return!0;if(/\bCodeMirror-(?:line)?widget\b/.test(Z.className))break}return!1}Ze(k,"paste",function(W){!P(W)||we(x,W)||HT(W,x)||f<=11&&setTimeout(us(x,function(){return d.updateFromDOM()}),20)}),Ze(k,"compositionstart",function(W){d.composing={data:W.data,done:!1}}),Ze(k,"compositionupdate",function(W){d.composing||(d.composing={data:W.data,done:!1})}),Ze(k,"compositionend",function(W){d.composing&&(W.data!=d.composing.data&&d.readFromDOMSoon(),d.composing.done=!0)}),Ze(k,"touchstart",function(){return y.forceCompositionEnd()}),Ze(k,"input",function(){d.composing||d.readFromDOMSoon()});function O(W){if(!(!P(W)||we(x,W))){if(x.somethingSelected())Cx({lineWise:!1,text:x.getSelections()}),W.type=="cut"&&x.replaceSelection("",null,"cut");else if(x.options.lineWiseCopyCut){var Z=UT(x);Cx({lineWise:!0,text:Z.text}),W.type=="cut"&&x.operation(function(){x.setSelections(Z.ranges,0,Pe),x.replaceSelection("",null,"cut")})}else return;if(W.clipboardData){W.clipboardData.clearData();var te=Ci.text.join("\n");if(W.clipboardData.setData("Text",te),W.clipboardData.getData("Text")==te){W.preventDefault();return}}var he=WT(),xe=he.firstChild;VC(xe),x.display.lineSpace.insertBefore(he,x.display.lineSpace.firstChild),xe.value=Ci.text.join("\n");var De=Y(re(k));G(xe),setTimeout(function(){x.display.lineSpace.removeChild(he),De.focus(),De==k&&y.showPrimarySelection()},50)}}Ze(k,"copy",O),Ze(k,"cut",O)},on.prototype.screenReaderLabelChanged=function(l){l?this.div.setAttribute("aria-label",l):this.div.removeAttribute("aria-label")},on.prototype.prepareSelection=function(){var l=L8(this.cm,!1);return l.focus=Y(re(this.div))==this.div,l},on.prototype.showSelection=function(l,d){!l||!this.cm.display.view.length||((l.focus||d)&&this.showPrimarySelection(),this.showMultipleSelections(l))},on.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()},on.prototype.showPrimarySelection=function(){var l=this.getSelection(),d=this.cm,y=d.doc.sel.primary(),x=y.from(),k=y.to();if(d.display.viewTo==d.display.viewFrom||x.line>=d.display.viewTo||k.line=d.display.viewFrom&&qT(d,x)||{node:W[0].measure.map[2],offset:0},te=k.linel.firstLine()&&(x=Ne(x.line-1,Je(l.doc,x.line-1).length)),k.ch==Je(l.doc,k.line).text.length&&k.lined.viewTo-1)return!1;var P,O,W;x.line==d.viewFrom||(P=vd(l,x.line))==0?(O=ne(d.view[0].line),W=d.view[0].node):(O=ne(d.view[P].line),W=d.view[P-1].node.nextSibling);var Z=vd(l,k.line),te,he;if(Z==d.view.length-1?(te=d.viewTo-1,he=d.lineDiv.lastChild):(te=ne(d.view[Z+1].line)-1,he=d.view[Z+1].node.previousSibling),!W)return!1;for(var xe=l.doc.splitLines(kG(l,W,he,O,te)),De=Wt(l.doc,Ne(O,0),Ne(te,Je(l.doc,te).text.length));xe.length>1&&De.length>1;)if(Ke(xe)==Ke(De))xe.pop(),De.pop(),te--;else if(xe[0]==De[0])xe.shift(),De.shift(),O++;else break;for(var Te=0,qe=0,tt=xe[0],ft=De[0],kt=Math.min(tt.length,ft.length);Tex.ch&&Mt.charCodeAt(Mt.length-qe-1)==Ct.charCodeAt(Ct.length-qe-1);)Te--,qe++;xe[xe.length-1]=Mt.slice(0,Mt.length-qe).replace(/^\u200b+/,""),xe[0]=xe[0].slice(Te).replace(/\u200b+$/,"");var Qt=Ne(O,Te),Yt=Ne(te,De.length?Ke(De).length-qe:0);if(xe.length>1||xe[0]||et(Qt,Yt))return mh(l.doc,xe,Qt,Yt,"+input"),!0},on.prototype.ensurePolled=function(){this.forceCompositionEnd()},on.prototype.reset=function(){this.forceCompositionEnd()},on.prototype.forceCompositionEnd=function(){this.composing&&(clearTimeout(this.readDOMTimeout),this.composing=null,this.updateFromDOM(),this.div.blur(),this.div.focus())},on.prototype.readFromDOMSoon=function(){var l=this;this.readDOMTimeout==null&&(this.readDOMTimeout=setTimeout(function(){if(l.readDOMTimeout=null,l.composing)if(l.composing.done)l.composing=null;else return;l.updateFromDOM()},80))},on.prototype.updateFromDOM=function(){var l=this;(this.cm.isReadOnly()||!this.pollContent())&&Ka(this.cm,function(){return ka(l.cm)})},on.prototype.setUneditable=function(l){l.contentEditable="false"},on.prototype.onKeyPress=function(l){l.charCode==0||this.composing||(l.preventDefault(),this.cm.isReadOnly()||us(this.cm,WC)(this.cm,String.fromCharCode(l.charCode==null?l.keyCode:l.charCode),0))},on.prototype.readOnlyChanged=function(l){this.div.contentEditable=String(l!="nocursor")},on.prototype.onContextMenu=function(){},on.prototype.resetPosition=function(){},on.prototype.needsContentAttribute=!0;function qT(l,d){var y=fC(l,d.line);if(!y||y.hidden)return null;var x=Je(l.doc,d.line),k=w8(y,x,d.line),P=Le(x,l.doc.direction),O="left";if(P){var W=pr(P,d.ch);O=W%2?"right":"left"}var Z=S8(k.map,d.ch,O);return Z.offset=Z.collapse=="right"?Z.end:Z.start,Z}function wG(l){for(var d=l;d;d=d.parentNode)if(/CodeMirror-gutter-wrapper/.test(d.className))return!0;return!1}function bh(l,d){return d&&(l.bad=!0),l}function kG(l,d,y,x,k){var P="",O=!1,W=l.doc.lineSeparator(),Z=!1;function te(Te){return function(qe){return qe.id==Te}}function he(){O&&(P+=W,Z&&(P+=W),O=Z=!1)}function xe(Te){Te&&(he(),P+=Te)}function De(Te){if(Te.nodeType==1){var qe=Te.getAttribute("cm-text");if(qe){xe(qe);return}var tt=Te.getAttribute("cm-marker"),ft;if(tt){var kt=l.findMarks(Ne(x,0),Ne(k+1,0),te(+tt));kt.length&&(ft=kt[0].find(0))&&xe(Wt(l.doc,ft.from,ft.to).join(W));return}if(Te.getAttribute("contenteditable")=="false")return;var Mt=/^(pre|div|p|li|table|br)$/i.test(Te.nodeName);if(!/^br$/i.test(Te.nodeName)&&Te.textContent.length==0)return;Mt&&he();for(var Ct=0;Ct=9&&d.hasSelection&&(d.hasSelection=null),y.poll()}),Ze(k,"paste",function(O){we(x,O)||HT(O,x)||(x.state.pasteIncoming=+new Date,y.fastPoll())});function P(O){if(!we(x,O)){if(x.somethingSelected())Cx({lineWise:!1,text:x.getSelections()});else if(x.options.lineWiseCopyCut){var W=UT(x);Cx({lineWise:!0,text:W.text}),O.type=="cut"?x.setSelections(W.ranges,null,Pe):(y.prevInput="",k.value=W.text.join("\n"),G(k))}else return;O.type=="cut"&&(x.state.cutIncoming=+new Date)}}Ze(k,"cut",P),Ze(k,"copy",P),Ze(l.scroller,"paste",function(O){if(!(Bl(l,O)||we(x,O))){if(!k.dispatchEvent){x.state.pasteIncoming=+new Date,y.focus();return}var W=new Event("paste");W.clipboardData=O.clipboardData,k.dispatchEvent(W)}}),Ze(l.lineSpace,"selectstart",function(O){Bl(l,O)||Ie(O)}),Ze(k,"compositionstart",function(){var O=x.getCursor("from");y.composing&&y.composing.range.clear(),y.composing={start:O,range:x.markText(O,x.getCursor("to"),{className:"CodeMirror-composing"})}}),Ze(k,"compositionend",function(){y.composing&&(y.poll(),y.composing.range.clear(),y.composing=null)})},Un.prototype.createField=function(l){this.wrapper=WT(),this.textarea=this.wrapper.firstChild;var d=this.cm.options;VC(this.textarea,d.spellcheck,d.autocorrect,d.autocapitalize)},Un.prototype.screenReaderLabelChanged=function(l){l?this.textarea.setAttribute("aria-label",l):this.textarea.removeAttribute("aria-label")},Un.prototype.prepareSelection=function(){var l=this.cm,d=l.display,y=l.doc,x=L8(l);if(l.options.moveInputWithCursor){var k=wi(l,y.sel.primary().head,"div"),P=d.wrapper.getBoundingClientRect(),O=d.lineDiv.getBoundingClientRect();x.teTop=Math.max(0,Math.min(d.wrapper.clientHeight-10,k.top+O.top-P.top)),x.teLeft=Math.max(0,Math.min(d.wrapper.clientWidth-10,k.left+O.left-P.left))}return x},Un.prototype.showSelection=function(l){var d=this.cm,y=d.display;q(y.cursorDiv,l.cursors),q(y.selectionDiv,l.selection),l.teTop!=null&&(this.wrapper.style.top=l.teTop+"px",this.wrapper.style.left=l.teLeft+"px")},Un.prototype.reset=function(l){if(!(this.contextMenuPending||this.composing&&l)){var d=this.cm;if(this.resetting=!0,d.somethingSelected()){this.prevInput="";var y=d.getSelection();this.textarea.value=y,d.state.focused&&G(this.textarea),u&&f>=9&&(this.hasSelection=y)}else l||(this.prevInput=this.textarea.value="",u&&f>=9&&(this.hasSelection=null));this.resetting=!1}},Un.prototype.getField=function(){return this.textarea},Un.prototype.supportsTouch=function(){return!1},Un.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!N||Y(re(this.textarea))!=this.textarea))try{this.textarea.focus()}catch(l){}},Un.prototype.blur=function(){this.textarea.blur()},Un.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0},Un.prototype.receivedFocus=function(){this.slowPoll()},Un.prototype.slowPoll=function(){var l=this;this.pollingFast||this.polling.set(this.cm.options.pollInterval,function(){l.poll(),l.cm.state.focused&&l.slowPoll()})},Un.prototype.fastPoll=function(){var l=!1,d=this;d.pollingFast=!0;function y(){var x=d.poll();!x&&!l?(l=!0,d.polling.set(60,y)):(d.pollingFast=!1,d.slowPoll())}d.polling.set(20,y)},Un.prototype.poll=function(){var l=this,d=this.cm,y=this.textarea,x=this.prevInput;if(this.contextMenuPending||this.resetting||!d.state.focused||Gt(y)&&!x&&!this.composing||d.isReadOnly()||d.options.disableInput||d.state.keySeq)return!1;var k=y.value;if(k==x&&!d.somethingSelected())return!1;if(u&&f>=9&&this.hasSelection===k||T&&/[\uf700-\uf7ff]/.test(k))return d.display.input.reset(),!1;if(d.doc.sel==d.display.selForContextMenu){var P=k.charCodeAt(0);if(P==8203&&!x&&(x="​"),P==8666)return this.reset(),this.cm.execCommand("undo")}for(var O=0,W=Math.min(x.length,k.length);O1e3||k.indexOf("\n")>-1?y.value=l.prevInput="":l.prevInput=k,l.composing&&(l.composing.range.clear(),l.composing.range=d.markText(l.composing.start,d.getCursor("to"),{className:"CodeMirror-composing"}))}),!0},Un.prototype.ensurePolled=function(){this.pollingFast&&this.poll()&&(this.pollingFast=!1)},Un.prototype.onKeyPress=function(){u&&f>=9&&(this.hasSelection=null),this.fastPoll()},Un.prototype.onContextMenu=function(l){var d=this,y=d.cm,x=y.display,k=d.textarea;d.contextMenuPending&&d.contextMenuPending();var P=gd(y,l),O=x.scroller.scrollTop;if(!P||w)return;var W=y.options.resetSelectionOnContextMenu;W&&y.doc.sel.contains(P)==-1&&us(y,qs)(y.doc,Fc(P),Pe);var Z=k.style.cssText,te=d.wrapper.style.cssText,he=d.wrapper.offsetParent.getBoundingClientRect();d.wrapper.style.cssText="position: static",k.style.cssText="position: absolute; width: 30px; height: 30px;\n top: "+(l.clientY-he.top-5)+"px; left: "+(l.clientX-he.left-5)+"px;\n z-index: 1000; background: "+(u?"rgba(255, 255, 255, .05)":"transparent")+";\n outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);";var xe;h&&(xe=k.ownerDocument.defaultView.scrollY),x.input.focus(),h&&k.ownerDocument.defaultView.scrollTo(null,xe),x.input.reset(),y.somethingSelected()||(k.value=d.prevInput=" "),d.contextMenuPending=Te,x.selForContextMenu=y.doc.sel,clearTimeout(x.detectingSelectAll);function De(){if(k.selectionStart!=null){var tt=y.somethingSelected(),ft="​"+(tt?k.value:"");k.value="⇚",k.value=ft,d.prevInput=tt?"":"​",k.selectionStart=1,k.selectionEnd=ft.length,x.selForContextMenu=y.doc.sel}}function Te(){if(d.contextMenuPending==Te&&(d.contextMenuPending=!1,d.wrapper.style.cssText=te,k.style.cssText=Z,u&&f<9&&x.scrollbars.setScrollTop(x.scroller.scrollTop=O),k.selectionStart!=null)){(!u||u&&f<9)&&De();var tt=0,ft=function(){x.selForContextMenu==y.doc.sel&&k.selectionStart==0&&k.selectionEnd>0&&d.prevInput=="​"?us(y,dT)(y):tt++<10?x.detectingSelectAll=setTimeout(ft,500):(x.selForContextMenu=null,x.input.reset())};x.detectingSelectAll=setTimeout(ft,200)}}if(u&&f>=9&&De(),z){mt(l);var qe=function(){Se(window,"mouseup",qe),setTimeout(Te,20)};Ze(window,"mouseup",qe)}else setTimeout(Te,50)},Un.prototype.readOnlyChanged=function(l){l||this.reset(),this.textarea.disabled=l=="nocursor",this.textarea.readOnly=!!l},Un.prototype.setUneditable=function(){},Un.prototype.needsContentAttribute=!1;function SG(l,d){if(d=d?ae(d):{},d.value=l.value,!d.tabindex&&l.tabIndex&&(d.tabindex=l.tabIndex),!d.placeholder&&l.placeholder&&(d.placeholder=l.placeholder),d.autofocus==null){var y=Y(re(l));d.autofocus=y==l||l.getAttribute("autofocus")!=null&&y==document.body}function x(){l.value=W.getValue()}var k;if(l.form&&(Ze(l.form,"submit",x),!d.leaveSubmitMethodAlone)){var P=l.form;k=P.submit;try{var O=P.submit=function(){x(),P.submit=k,P.submit(),P.submit=O}}catch(Z){}}d.finishInit=function(Z){Z.save=x,Z.getTextArea=function(){return l},Z.toTextArea=function(){Z.toTextArea=isNaN,x(),l.parentNode.removeChild(Z.getWrapperElement()),l.style.display="",l.form&&(Se(l.form,"submit",x),!d.leaveSubmitMethodAlone&&typeof l.form.submit=="function"&&(l.form.submit=k))}},l.style.display="none";var W=wn(function(Z){return l.parentNode.insertBefore(Z,l.nextSibling)},d);return W}function jG(l){l.off=Se,l.on=Ze,l.wheelEventPixels=DK,l.Doc=Ca,l.splitLines=qr,l.countColumn=fe,l.findColumn=Ve,l.isWordChar=_t,l.Pass=Ce,l.signal=je,l.Line=sh,l.changeEnd=Hc,l.scrollbarModel=H8,l.Pos=Ne,l.cmpPos=et,l.modes=Kr,l.mimeModes=or,l.resolveMode=Qe,l.getMode=Xe,l.modeExtensions=st,l.extendMode=Ht,l.copyState=At,l.startState=Jt,l.innerMode=Ut,l.commands=_0,l.keyMap=Wl,l.keyName=NT,l.isModifierKey=jT,l.lookupKey=vh,l.normalizeKeyMap=eG,l.StringStream=bt,l.SharedTextMarker=j0,l.TextMarker=Uc,l.LineWidget=S0,l.e_preventDefault=Ie,l.e_stopPropagation=$e,l.e_stop=mt,l.addClass=B,l.contains=K,l.rmClass=V,l.keyNames=Wc}gG(wn),bG(wn);var EG="iter insert remove copy getEditor constructor".split(" ");for(var jx in Ca.prototype)Ca.prototype.hasOwnProperty(jx)&&ue(EG,jx)<0&&(wn.prototype[jx]=function(l){return function(){return l.apply(this.doc,arguments)}}(Ca.prototype[jx]));return rt(Ca),wn.inputStyles={textarea:Un,contenteditable:on},wn.defineMode=function(l){!wn.defaults.mode&&l!="null"&&(wn.defaults.mode=l),ut.apply(this,arguments)},wn.defineMIME=ge,wn.defineMode("null",function(){return{token:function(l){return l.skipToEnd()}}}),wn.defineMIME("text/plain","null"),wn.defineExtension=function(l,d){wn.prototype[l]=d},wn.defineDocExtension=function(l,d){Ca.prototype[l]=d},wn.fromTextArea=SG,jG(wn),wn.version="5.65.16",wn})})(zU);var Rc=zU.exports;const Xg=nl(Rc),l2e=({prefix:e="cm-",isWrapped:t=!1,isDark:r,isLargeView:n,isCommand:a,webRequestMethod:o,autoHideScrollbar:i,searchTerm:c,maxHeight:u,isShowMore:f=!1,language:h,value:m})=>{const[v,S]=p.useState([]),[w,g]=p.useState(!1);Tt();const b=We("html"),C=p.useRef([]),j=We("");return p.useEffect(()=>{h==="markdown"&&window.markdown.ready.then(E=>{try{const N=E.parse(m);j.value=Of.sanitize(N,{USE_PROFILES:{html:!0}})}catch(N){j.value=Of.sanitize(m,{USE_PROFILES:{html:!0}})}})},[m]),p.useEffect(()=>{pe(void 0,null,function*(){const N=Xg.findModeByName(h);try{N&&N.mode&&(N.mode==="dart"&&(yield ve(()=>import("./clike-DTXsj3bR.js").then(T=>T.c),[])),yield c2e("codemirror/mode/".concat(N.mode,"/").concat(N.mode))),g(!0)}catch(T){console.error("Error loading CodeMirror mode:",T),g(!1)}})},[h]),p.useEffect(()=>{if(!w)return;const E=[];let N=0;const T=A=>{var H;let M="",D=null;const L=(V,I)=>{E.push(s.jsx("span",{className:I?"".concat(e).concat(I):"",children:V},N++))},z=((H=Xg.findModeByName(h))==null?void 0:H.mime)||"text/plain";if(h==="json")try{A=JSON.stringify(JSON.parse(A),null,2)}catch(V){}Xg.runMode(A,z,(V,I)=>{D===I?(M+=V,D=I):(M&&L(M,D),M=V,D=I)}),L(M,D)};if(c&&c.length>1){const A=lz(c),M=new RegExp("(".concat(A,")"),"gi"),D=m.split(M);C.current=[],D.forEach(L=>{if(L.toLowerCase()===c.toLowerCase()){const z=p.createRef();C.current.push(z),E.push(s.jsx("span",{className:"bg-yellow-300 dark:bg-amber-400 dark:text-black search-pulse-animation",ref:Ji(z),children:L},"found-".concat(N++)))}else T(L)})}else T(m);S(E)},[w,h,e,c,m]),p.useEffect(()=>{var E;C.current.length>0&&((E=C.current[0].current)==null||E.scrollIntoView({behavior:"smooth",block:"center"}))},[v]),w?s.jsxs(Q,{className:"relative",children:[s.jsx(Lf,{className:"".concat(f?"code-scroll-x pb-2":""),options:{overflow:{x:f?"scroll":"hidden",y:"scroll"},scrollbars:{theme:r?"os-theme-light":"os-theme-dark",autoHide:i?"move":"never"}},style:{maxHeight:u||(n?"calc(100vh - 250px)":f?200:120),maxWidth:"100%"},children:!j.value||b.value==="markdown"?s.jsxs("code",{className:"".concat(t?"whitespace-pre-wrap":"whitespace-pre"," !bg-transparent ").concat(r?"code-is-dark":"code-is-light"),children:[a&&s.jsx("span",{className:"mr-1 px-1 bg-gray-100 dark:bg-gray-800 text-slate-400 dark:text-slate-200",children:">_"}),o&&s.jsx("span",{className:"mr-1 px-1 bg-gray-100 text-slate-400",children:o}),v,!f&&s.jsx("span",{className:"select-none",children:"..."})]}):s.jsx("div",{dangerouslySetInnerHTML:{__html:j.value},className:"note-content"})}),j.value&&s.jsx(Qi,{className:"flex flex-row absolute top-0 right-0 z-100 select-none",value:b.value,onValueChange:E=>{b.value=E==="markdown"?"markdown":"html"},children:s.jsxs(Ho,{className:"self-center px-1 py-1 bg-slate-200 dark:bg-slate-900 opacity-60 hover:opacity-100 animate-in fade-in",children:[s.jsx(bn,{value:"html",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:"HTML"}),s.jsx(bn,{value:"markdown",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:"Markdown"})]})})]}):null},va=p.memo(l2e);function c2e(e){switch(e){case"codemirror/mode/apl/apl":case"codemirror/mode/apl/apl.js":return ve(()=>import("./apl-uWNl4Rnd.js").then(t=>t.a),[]);case"codemirror/mode/asciiarmor/asciiarmor":case"codemirror/mode/asciiarmor/asciiarmor.js":return ve(()=>import("./asciiarmor-uLnLNHQs.js").then(t=>t.a),[]);case"codemirror/mode/asn.1/asn.1":case"codemirror/mode/asn.1/asn.1.js":return ve(()=>import("./asn.1-CLnHba09.js").then(t=>t.a),[]);case"codemirror/mode/asterisk/asterisk":case"codemirror/mode/asterisk/asterisk.js":return ve(()=>import("./asterisk-DYvX5ZvL.js").then(t=>t.a),[]);case"codemirror/mode/brainfuck/brainfuck":case"codemirror/mode/brainfuck/brainfuck.js":return ve(()=>import("./brainfuck-CZMfAm49.js").then(t=>t.b),[]);case"codemirror/mode/clike/clike":case"codemirror/mode/clike/clike.js":return ve(()=>import("./clike-DTXsj3bR.js").then(t=>t.c),[]);case"codemirror/mode/clojure/clojure":case"codemirror/mode/clojure/clojure.js":return ve(()=>import("./clojure-CrtOjAI7.js").then(t=>t.c),[]);case"codemirror/mode/cmake/cmake":case"codemirror/mode/cmake/cmake.js":return ve(()=>import("./cmake-CXBlz0RC.js").then(t=>t.c),[]);case"codemirror/mode/cobol/cobol":case"codemirror/mode/cobol/cobol.js":return ve(()=>import("./cobol-BbwjrtMi.js").then(t=>t.c),[]);case"codemirror/mode/coffeescript/coffeescript":case"codemirror/mode/coffeescript/coffeescript.js":return ve(()=>import("./coffeescript-CSI3jYdr.js").then(t=>t.c),[]);case"codemirror/mode/commonlisp/commonlisp":case"codemirror/mode/commonlisp/commonlisp.js":return ve(()=>import("./commonlisp-CM6pBWWL.js").then(t=>t.c),[]);case"codemirror/mode/crystal/crystal":case"codemirror/mode/crystal/crystal.js":return ve(()=>import("./crystal-Bs_OmcfS.js").then(t=>t.c),[]);case"codemirror/mode/css/css":case"codemirror/mode/css/css.js":return ve(()=>import("./css-DspWBOZK.js").then(t=>t.c),[]);case"codemirror/mode/cypher/cypher":case"codemirror/mode/cypher/cypher.js":return ve(()=>import("./cypher-CBjeUUku.js").then(t=>t.c),[]);case"codemirror/mode/d/d":case"codemirror/mode/d/d.js":return ve(()=>import("./d-FsTwCPKI.js").then(t=>t.d),[]);case"codemirror/mode/dart/dart":case"codemirror/mode/dart/dart.js":return ve(()=>import("./dart-COLtiYot.js").then(t=>t.d),__vite__mapDeps([0,1]));case"codemirror/mode/diff/diff":case"codemirror/mode/diff/diff.js":return ve(()=>import("./diff-BvMxvVID.js").then(t=>t.d),[]);case"codemirror/mode/django/django":case"codemirror/mode/django/django.js":return ve(()=>import("./django-BysLYoq4.js").then(t=>t.d),__vite__mapDeps([2,3,4,5]));case"codemirror/mode/dockerfile/dockerfile":case"codemirror/mode/dockerfile/dockerfile.js":return ve(()=>import("./dockerfile-DHpsbdJo.js").then(t=>t.d),[]);case"codemirror/mode/dtd/dtd":case"codemirror/mode/dtd/dtd.js":return ve(()=>import("./dtd-Bn_CyHBm.js").then(t=>t.d),[]);case"codemirror/mode/dylan/dylan":case"codemirror/mode/dylan/dylan.js":return ve(()=>import("./dylan-BcKt62m8.js").then(t=>t.d),[]);case"codemirror/mode/ebnf/ebnf":case"codemirror/mode/ebnf/ebnf.js":return ve(()=>import("./ebnf-B_0Uc901.js").then(t=>t.e),[]);case"codemirror/mode/ecl/ecl":case"codemirror/mode/ecl/ecl.js":return ve(()=>import("./ecl-ThHHYZiK.js").then(t=>t.e),[]);case"codemirror/mode/eiffel/eiffel":case"codemirror/mode/eiffel/eiffel.js":return ve(()=>import("./eiffel-aG3JCqy2.js").then(t=>t.e),[]);case"codemirror/mode/elm/elm":case"codemirror/mode/elm/elm.js":return ve(()=>import("./elm-DUTg0fXQ.js").then(t=>t.e),[]);case"codemirror/mode/erlang/erlang":case"codemirror/mode/erlang/erlang.js":return ve(()=>import("./erlang-B5ejRB00.js").then(t=>t.e),[]);case"codemirror/mode/factor/factor":case"codemirror/mode/factor/factor.js":return ve(()=>import("./factor-B-2k0sg6.js").then(t=>t.f),[]);case"codemirror/mode/fcl/fcl":case"codemirror/mode/fcl/fcl.js":return ve(()=>import("./fcl-BwvxB4LC.js").then(t=>t.f),[]);case"codemirror/mode/forth/forth":case"codemirror/mode/forth/forth.js":return ve(()=>import("./forth-Dh9I33-m.js").then(t=>t.f),[]);case"codemirror/mode/fortran/fortran":case"codemirror/mode/fortran/fortran.js":return ve(()=>import("./fortran-ohqMCNna.js").then(t=>t.f),[]);case"codemirror/mode/gas/gas":case"codemirror/mode/gas/gas.js":return ve(()=>import("./gas-BD87IpR3.js").then(t=>t.g),[]);case"codemirror/mode/gfm/gfm":case"codemirror/mode/gfm/gfm.js":return ve(()=>import("./gfm-DR98ypxt.js").then(t=>t.g),__vite__mapDeps([6,7,5]));case"codemirror/mode/gherkin/gherkin":case"codemirror/mode/gherkin/gherkin.js":return ve(()=>import("./gherkin-CILK4XJC.js").then(t=>t.g),[]);case"codemirror/mode/go/go":case"codemirror/mode/go/go.js":return ve(()=>import("./go-D77YzpTg.js").then(t=>t.g),[]);case"codemirror/mode/groovy/groovy":case"codemirror/mode/groovy/groovy.js":return ve(()=>import("./groovy-zMN2AHil.js").then(t=>t.g),[]);case"codemirror/mode/haml/haml":case"codemirror/mode/haml/haml.js":return ve(()=>import("./haml-6yD3wHUa.js").then(t=>t.h),__vite__mapDeps([8,3,4,9]));case"codemirror/mode/handlebars/handlebars":case"codemirror/mode/handlebars/handlebars.js":return ve(()=>import("./handlebars-CTdSxJnI.js").then(t=>t.h),__vite__mapDeps([10,11]));case"codemirror/mode/haskell/haskell":case"codemirror/mode/haskell/haskell.js":return ve(()=>import("./haskell-4oxNvi7O.js").then(t=>t.h),[]);case"codemirror/mode/haskell-literate/haskell-literate":case"codemirror/mode/haskell-literate/haskell-literate.js":return ve(()=>import("./haskell-literate-aJuXZtaZ.js").then(t=>t.h),__vite__mapDeps([12,13]));case"codemirror/mode/haxe/haxe":case"codemirror/mode/haxe/haxe.js":return ve(()=>import("./haxe-BszN7sTQ.js").then(t=>t.h),[]);case"codemirror/mode/htmlembedded/htmlembedded":case"codemirror/mode/htmlembedded/htmlembedded.js":return ve(()=>import("./htmlembedded-_L-jPqW8.js").then(t=>t.h),__vite__mapDeps([14,3,4,11]));case"codemirror/mode/htmlmixed/htmlmixed":case"codemirror/mode/htmlmixed/htmlmixed.js":return ve(()=>import("./htmlmixed-Dg5Ceo2a.js").then(t=>t.h),__vite__mapDeps([15,3,4]));case"codemirror/mode/http/http":case"codemirror/mode/http/http.js":return ve(()=>import("./http-Da24_iL5.js").then(t=>t.h),[]);case"codemirror/mode/idl/idl":case"codemirror/mode/idl/idl.js":return ve(()=>import("./idl-Caw2jBuQ.js").then(t=>t.i),[]);case"codemirror/mode/javascript/javascript":case"codemirror/mode/javascript/javascript.js":return ve(()=>Promise.resolve().then(()=>qU),void 0);case"codemirror/mode/jinja2/jinja2":case"codemirror/mode/jinja2/jinja2.js":return ve(()=>import("./jinja2-SOpxAG1s.js").then(t=>t.j),[]);case"codemirror/mode/jsx/jsx":case"codemirror/mode/jsx/jsx.js":return ve(()=>import("./jsx-BTyhp-q8.js").then(t=>t.j),[]);case"codemirror/mode/julia/julia":case"codemirror/mode/julia/julia.js":return ve(()=>import("./julia-DUPqlAYL.js").then(t=>t.j),[]);case"codemirror/mode/livescript/livescript":case"codemirror/mode/livescript/livescript.js":return ve(()=>import("./livescript-BdOzkfgu.js").then(t=>t.l),[]);case"codemirror/mode/lua/lua":case"codemirror/mode/lua/lua.js":return ve(()=>import("./lua-CJHGFAKo.js").then(t=>t.l),[]);case"codemirror/mode/markdown/markdown":case"codemirror/mode/markdown/markdown.js":return ve(()=>import("./markdown-BZTq6yLV.js").then(t=>t.m),__vite__mapDeps([16,7]));case"codemirror/mode/mathematica/mathematica":case"codemirror/mode/mathematica/mathematica.js":return ve(()=>import("./mathematica-CDyOJZ78.js").then(t=>t.m),[]);case"codemirror/mode/mbox/mbox":case"codemirror/mode/mbox/mbox.js":return ve(()=>import("./mbox-B0cSsYiX.js").then(t=>t.m),[]);case"codemirror/mode/mirc/mirc":case"codemirror/mode/mirc/mirc.js":return ve(()=>import("./mirc-CAYtG7RX.js").then(t=>t.m),[]);case"codemirror/mode/mllike/mllike":case"codemirror/mode/mllike/mllike.js":return ve(()=>import("./mllike-Y-FcYFRA.js").then(t=>t.m),[]);case"codemirror/mode/modelica/modelica":case"codemirror/mode/modelica/modelica.js":return ve(()=>import("./modelica-CAispHI7.js").then(t=>t.m),[]);case"codemirror/mode/mscgen/mscgen":case"codemirror/mode/mscgen/mscgen.js":return ve(()=>import("./mscgen-RmRp0LrJ.js").then(t=>t.m),[]);case"codemirror/mode/mumps/mumps":case"codemirror/mode/mumps/mumps.js":return ve(()=>import("./mumps-GpJXV1Bv.js").then(t=>t.m),[]);case"codemirror/mode/nginx/nginx":case"codemirror/mode/nginx/nginx.js":return ve(()=>import("./nginx-BuCkP3I2.js").then(t=>t.n),[]);case"codemirror/mode/nsis/nsis":case"codemirror/mode/nsis/nsis.js":return ve(()=>import("./nsis-B6J0Yi3P.js").then(t=>t.n),[]);case"codemirror/mode/ntriples/ntriples":case"codemirror/mode/ntriples/ntriples.js":return ve(()=>import("./ntriples-DivszWK7.js").then(t=>t.n),[]);case"codemirror/mode/octave/octave":case"codemirror/mode/octave/octave.js":return ve(()=>import("./octave-Mb9KisJH.js").then(t=>t.o),[]);case"codemirror/mode/oz/oz":case"codemirror/mode/oz/oz.js":return ve(()=>import("./oz-C9Yi7AG4.js").then(t=>t.o),[]);case"codemirror/mode/pascal/pascal":case"codemirror/mode/pascal/pascal.js":return ve(()=>import("./pascal-zNyoTvtX.js").then(t=>t.p),[]);case"codemirror/mode/pegjs/pegjs":case"codemirror/mode/pegjs/pegjs.js":return ve(()=>import("./pegjs-DgeOK2GR.js").then(t=>t.p),[]);case"codemirror/mode/perl/perl":case"codemirror/mode/perl/perl.js":return ve(()=>import("./perl-CeaVfpU_.js").then(t=>t.p),[]);case"codemirror/mode/php/php":case"codemirror/mode/php/php.js":return ve(()=>import("./php-DTDCMqw1.js").then(t=>t.p),__vite__mapDeps([17,3,4,1]));case"codemirror/mode/pig/pig":case"codemirror/mode/pig/pig.js":return ve(()=>import("./pig-BMOqRbCJ.js").then(t=>t.p),[]);case"codemirror/mode/powershell/powershell":case"codemirror/mode/powershell/powershell.js":return ve(()=>import("./powershell-_aMmTds8.js").then(t=>t.p),[]);case"codemirror/mode/properties/properties":case"codemirror/mode/properties/properties.js":return ve(()=>import("./properties-DhugOaQZ.js").then(t=>t.p),[]);case"codemirror/mode/protobuf/protobuf":case"codemirror/mode/protobuf/protobuf.js":return ve(()=>import("./protobuf-Xu4MpogE.js").then(t=>t.p),[]);case"codemirror/mode/pug/pug":case"codemirror/mode/pug/pug.js":return ve(()=>import("./pug-N2IUeQPV.js").then(t=>t.p),__vite__mapDeps([18,4,3]));case"codemirror/mode/puppet/puppet":case"codemirror/mode/puppet/puppet.js":return ve(()=>import("./puppet-BbR9j6vx.js").then(t=>t.p),[]);case"codemirror/mode/python/python":case"codemirror/mode/python/python.js":return ve(()=>import("./python-eCieQxL5.js").then(t=>t.p),[]);case"codemirror/mode/q/q":case"codemirror/mode/q/q.js":return ve(()=>import("./q-E_7McJnt.js").then(t=>t.q),[]);case"codemirror/mode/r/r":case"codemirror/mode/r/r.js":return ve(()=>import("./r-2rjDSe_C.js").then(t=>t.r),[]);case"codemirror/mode/rpm/rpm":case"codemirror/mode/rpm/rpm.js":return ve(()=>import("./rpm-Df_s7vUo.js").then(t=>t.r),[]);case"codemirror/mode/rst/rst":case"codemirror/mode/rst/rst.js":return ve(()=>import("./rst-DackU_vK.js").then(t=>t.r),__vite__mapDeps([19,20,21,5]));case"codemirror/mode/ruby/ruby":case"codemirror/mode/ruby/ruby.js":return ve(()=>import("./ruby-BbI51U8K.js").then(t=>t.r),__vite__mapDeps([22,9]));case"codemirror/mode/rust/rust":case"codemirror/mode/rust/rust.js":return ve(()=>import("./rust-Dtv68Kx2.js").then(t=>t.r),[]);case"codemirror/mode/sas/sas":case"codemirror/mode/sas/sas.js":return ve(()=>import("./sas-B5qtBBwg.js").then(t=>t.s),[]);case"codemirror/mode/sass/sass":case"codemirror/mode/sass/sass.js":return ve(()=>import("./sass-Cm8ghDjq.js").then(t=>t.s),__vite__mapDeps([23,4]));case"codemirror/mode/scheme/scheme":case"codemirror/mode/scheme/scheme.js":return ve(()=>import("./scheme-SKCstF_b.js").then(t=>t.s),[]);case"codemirror/mode/shell/shell":case"codemirror/mode/shell/shell.js":return ve(()=>import("./shell-DSTFE-Kd.js").then(t=>t.s),[]);case"codemirror/mode/sieve/sieve":case"codemirror/mode/sieve/sieve.js":return ve(()=>import("./sieve-BbPzy4fY.js").then(t=>t.s),[]);case"codemirror/mode/slim/slim":case"codemirror/mode/slim/slim.js":return ve(()=>import("./slim-B4YSsZdB.js").then(t=>t.s),__vite__mapDeps([24,3,4,9]));case"codemirror/mode/smalltalk/smalltalk":case"codemirror/mode/smalltalk/smalltalk.js":return ve(()=>import("./smalltalk-Dl6YJ-qo.js").then(t=>t.s),[]);case"codemirror/mode/smarty/smarty":case"codemirror/mode/smarty/smarty.js":return ve(()=>import("./smarty-BU_FSdwV.js").then(t=>t.s),[]);case"codemirror/mode/solr/solr":case"codemirror/mode/solr/solr.js":return ve(()=>import("./solr-Dg_72uSz.js").then(t=>t.s),[]);case"codemirror/mode/soy/soy":case"codemirror/mode/soy/soy.js":return ve(()=>import("./soy-BKqI_b5K.js").then(t=>t.s),__vite__mapDeps([25,3,4]));case"codemirror/mode/sparql/sparql":case"codemirror/mode/sparql/sparql.js":return ve(()=>import("./sparql-DEeuvmRf.js").then(t=>t.s),[]);case"codemirror/mode/spreadsheet/spreadsheet":case"codemirror/mode/spreadsheet/spreadsheet.js":return ve(()=>import("./spreadsheet-D3vFY5_N.js").then(t=>t.s),[]);case"codemirror/mode/sql/sql":case"codemirror/mode/sql/sql.js":return ve(()=>import("./sql-CllU0mRF.js").then(t=>t.s),[]);case"codemirror/mode/stex/stex":case"codemirror/mode/stex/stex.js":return ve(()=>import("./stex-COV-_KiE.js").then(t=>t.s),__vite__mapDeps([26,21]));case"codemirror/mode/stylus/stylus":case"codemirror/mode/stylus/stylus.js":return ve(()=>import("./stylus-WMbBiF91.js").then(t=>t.s),[]);case"codemirror/mode/swift/swift":case"codemirror/mode/swift/swift.js":return ve(()=>import("./swift-DlxJ0AWY.js").then(t=>t.s),[]);case"codemirror/mode/tcl/tcl":case"codemirror/mode/tcl/tcl.js":return ve(()=>import("./tcl-V8MiAbr3.js").then(t=>t.t),[]);case"codemirror/mode/textile/textile":case"codemirror/mode/textile/textile.js":return ve(()=>import("./textile-Py6Rvr8v.js").then(t=>t.t),[]);case"codemirror/mode/tiddlywiki/tiddlywiki":case"codemirror/mode/tiddlywiki/tiddlywiki.js":return ve(()=>import("./tiddlywiki-DvAx8vly.js").then(t=>t.t),[]);case"codemirror/mode/tiki/tiki":case"codemirror/mode/tiki/tiki.js":return ve(()=>import("./tiki-c2DgGfux.js").then(t=>t.t),[]);case"codemirror/mode/toml/toml":case"codemirror/mode/toml/toml.js":return ve(()=>import("./toml-B5bIz0Bo.js").then(t=>t.t),[]);case"codemirror/mode/tornado/tornado":case"codemirror/mode/tornado/tornado.js":return ve(()=>import("./tornado-4gAKeMJS.js").then(t=>t.t),__vite__mapDeps([27,3,4,5]));case"codemirror/mode/troff/troff":case"codemirror/mode/troff/troff.js":return ve(()=>import("./troff-DEclhAB-.js").then(t=>t.t),[]);case"codemirror/mode/ttcn/ttcn":case"codemirror/mode/ttcn/ttcn.js":return ve(()=>import("./ttcn-B64Vtjcj.js").then(t=>t.t),[]);case"codemirror/mode/ttcn-cfg/ttcn-cfg":case"codemirror/mode/ttcn-cfg/ttcn-cfg.js":return ve(()=>import("./ttcn-cfg-BMjbwODQ.js").then(t=>t.t),[]);case"codemirror/mode/turtle/turtle":case"codemirror/mode/turtle/turtle.js":return ve(()=>import("./turtle-CYF2YC-f.js").then(t=>t.t),[]);case"codemirror/mode/twig/twig":case"codemirror/mode/twig/twig.js":return ve(()=>import("./twig-DIAB0sBz.js").then(t=>t.t),__vite__mapDeps([28,11]));case"codemirror/mode/vb/vb":case"codemirror/mode/vb/vb.js":return ve(()=>import("./vb-CyariDFl.js").then(t=>t.v),[]);case"codemirror/mode/vbscript/vbscript":case"codemirror/mode/vbscript/vbscript.js":return ve(()=>import("./vbscript-DXsXzOdf.js").then(t=>t.v),[]);case"codemirror/mode/velocity/velocity":case"codemirror/mode/velocity/velocity.js":return ve(()=>import("./velocity-HBL44oV7.js").then(t=>t.v),[]);case"codemirror/mode/verilog/verilog":case"codemirror/mode/verilog/verilog.js":return ve(()=>import("./verilog-0uN6tB1i.js").then(t=>t.v),[]);case"codemirror/mode/vhdl/vhdl":case"codemirror/mode/vhdl/vhdl.js":return ve(()=>import("./vhdl-CXK8SMqW.js").then(t=>t.v),[]);case"codemirror/mode/vue/vue":case"codemirror/mode/vue/vue.js":return ve(()=>import("./vue-CjDIIftu.js").then(t=>t.v),__vite__mapDeps([29,5,30,4,23,31,18,3,10,11]));case"codemirror/mode/wast/wast":case"codemirror/mode/wast/wast.js":return ve(()=>import("./wast-CiGcLqKn.js").then(t=>t.w),[]);case"codemirror/mode/webidl/webidl":case"codemirror/mode/webidl/webidl.js":return ve(()=>import("./webidl-DHFmlSmh.js").then(t=>t.w),[]);case"codemirror/mode/xml/xml":case"codemirror/mode/xml/xml.js":return ve(()=>Promise.resolve().then(()=>GU),void 0);case"codemirror/mode/xquery/xquery":case"codemirror/mode/xquery/xquery.js":return ve(()=>import("./xquery-CQi0u3Ny.js").then(t=>t.x),[]);case"codemirror/mode/yacas/yacas":case"codemirror/mode/yacas/yacas.js":return ve(()=>import("./yacas-UmEfCONk.js").then(t=>t.y),[]);case"codemirror/mode/yaml/yaml":case"codemirror/mode/yaml/yaml.js":return ve(()=>import("./yaml--Jz1R_lf.js").then(t=>t.y),[]);case"codemirror/mode/yaml-frontmatter/yaml-frontmatter":case"codemirror/mode/yaml-frontmatter/yaml-frontmatter.js":return ve(()=>import("./yaml-frontmatter-DBbz-S_v.js").then(t=>t.y),__vite__mapDeps([32,33]));case"codemirror/mode/z80/z80":case"codemirror/mode/z80/z80.js":return ve(()=>import("./z80-qMS3sr-Q.js").then(t=>t.z),[]);default:return new Promise(function(t,r){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}const lb=e=>{if(e){const t=e.replace(/\D/g,"").match(/(\d{0,4})(\d{0,4})(\d{0,4})(\d{0,4})/);return t&&t.length>1?t[2]?"".concat(t[1]," ").concat(t[2]).concat("".concat(t[3]?" ".concat(t[3]):"")).concat("".concat(t[4]?" ".concat(t[4]):"")):t[1]:e}},UD=e=>{var t;return e&&((t=lb(e))!=null?t:"").replace(/\d(?=(?:\D*\d){4})/g,"•")},H1=p.forwardRef((E,j)=>{var N=E,{small:e,placeholder:t,label:r,name:n="",autoFocus:a=!1,required:o,ccNumber:i,readOnly:c,onInputBlur:u,showHideCCNumber:f=!1,tooltipContent:h,tooltip:m,prefix:v,error:S,props:w,className:g,classNameInput:b}=N,C=ke(N,["small","placeholder","label","name","autoFocus","required","ccNumber","readOnly","onInputBlur","showHideCCNumber","tooltipContent","tooltip","prefix","error","props","className","classNameInput"]);const T=p.useRef(null),[A,M]=p.useState(!1),[D,L]=p.useState(i);p.useImperativeHandle(j,()=>T.current);const z=()=>{var I;if(!T.current||!T.current.value)return;const H=(I=lb(T.current.value))!=null?I:"",V=H.replace(/(\D)/g,"");T.current.value!==H&&(T.current.value=H),L(V)};return p.useEffect(()=>{var H;if(T.current&&A){const V=(H=lb(D))!=null?H:"";T.current.value=V}},[D]),p.useEffect(()=>{var H,V;A&&T.current&&D&&(T.current.value=(H=lb(D))!=null?H:""),!A&&T.current&&(T.current.value=(V=UD(D))!=null?V:"")},[A]),p.useEffect(()=>{T.current&&a&&setTimeout(()=>{var H;(H=T.current)==null||H.focus()},200)},[a]),s.jsxs("div",ee(R({className:hr("w-full",g)},w),{children:[r&&s.jsx(o_,{label:r,required:o,tooltipContent:h,tooltip:m,className:"mb-0.5 text-slate-400 font-light text-xs ml-1 uppercase"}),s.jsxs("div",{className:"relative",children:[v?s.jsx("span",{className:"text-grey-40 mr-2xsmall",children:v}):null,s.jsx("input",R({className:hr("bg-grey-5 border-gray-20 px-small py-xsmall rounded rounded-rounded flex w-full items-center border","focus:ring-blue-500 focus:border-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500","remove-number-spinner px-3 leading-base text-grey-90 caret-violet-60 placeholder-grey-40 w-full bg-transparent font-normal outline-none outline-0",{"focus:ring-red-500 focus:border-red-500 border-red-400 dark:focus:ring-red-500 dark:focus:border-red-500 dark:border-red-400":S},e?"h-8":"h-10",{"!pr-8":f},{"text-small":e,"pt-[1px]":e},b),ref:T,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",type:"text",name:n,defaultValue:UD(i),placeholder:t||"".concat(r,"...")||"",onChange:z,onFocus:()=>{c||M(!0)},onBlur:()=>{u&&D&&u(D.trim().replaceAll(" ",""))}},C)),s.jsx("button",{className:"mx-2xsmall text-grey-40 absolute right-2.5 top-0 bottom-0 flex items-center justify-center",onClick:()=>{M(H=>!H)},children:A?s.jsx("svg",{viewBox:"0 0 15 15",fill:"none",width:15,height:15,children:s.jsx("path",{d:"M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L10.6828 3.61012C9.70652 3.21671 8.63759 3 7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C0.902945 9.08812 2.02314 10.1861 3.36061 10.9323L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L4.31723 11.3899C5.29348 11.7833 6.36241 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C14.0971 5.9119 12.9769 4.81391 11.6394 4.06771L13.3536 2.35355ZM9.90428 4.38861C9.15332 4.1361 8.34759 4 7.5 4C4.80285 4 2.52952 5.37816 1.09622 7.50001C1.87284 8.6497 2.89609 9.58106 4.09974 10.1931L9.90428 4.38861ZM5.09572 10.6114L10.9003 4.80685C12.1039 5.41894 13.1272 6.35031 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11C6.65241 11 5.84668 10.8639 5.09572 10.6114Z",fill:"currentColor",fillRule:"evenodd"})}):s.jsx("svg",{viewBox:"0 0 15 15",fill:"none",width:15,height:15,children:s.jsx("path",{d:"M7.5 11C4.80285 11 2.52952 9.62184 1.09622 7.50001C2.52952 5.37816 4.80285 4 7.5 4C10.1971 4 12.4705 5.37816 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11ZM7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C1.65639 10.2936 4.30786 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C13.3436 4.70638 10.6921 3 7.5 3ZM7.5 9.5C8.60457 9.5 9.5 8.60457 9.5 7.5C9.5 6.39543 8.60457 5.5 7.5 5.5C6.39543 5.5 5.5 6.39543 5.5 7.5C5.5 8.60457 6.39543 9.5 7.5 9.5Z",fill:"currentColor",fillRule:"evenodd"})})})]}),S&&s.jsx("div",{className:hr("text-sm animate fade-in text-red-400",g),children:s.jsx("p",{children:S})})]}))});H1.displayName="InputCreditCardField";const rg=({id:e,isCopiedOrPasted:t,pastedItemCountDown:r,isCopied:n,pastedText:a,copyOrPasteFieldId:o})=>{const{t:i}=Tt();if(o.value!==e||!t)return null;let c;return r?r>0&&(c=i("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:r})):c=s.jsxs("span",{className:"flex items-center justify-center text-[10px] uppercase font-semibold text-white pr-1.5 py-0",children:[s.jsx($t,{size:14,className:"mr-1"}),n?i("Copied",{ns:"common"}):a?i("Pasted",{ns:"common"}):""]}),s.jsx(Q,{className:"w-full h-full border border-green-700 bg-green-100/80 dark:bg-green-800 absolute right-0 top-0 flex items-center justify-center pointer-events-none px-2 !rounded-md z-100 animate-in fade-in transition-opacity",children:s.jsx(lt,{className:"".concat(r?"ml-1 bg-green-700 dark:bg-green-800 dark:text-white !px-2":"bg-green-700 dark:bg-green-800 dark:text-white"," fade-in-animation py-[2px] whitespace-nowrap"),children:c})})},WD={Tab:"Tab",Enter:"Enter",TabTab:"2 Tabs",TabTabTab:"3 Tabs",TabEnter:"Tab, Enter",TabTabEnter:"2Tabs, Enter"};function FU({clipId:e,formTemplateOptions:t}){var S,w;const{t:r}=Tt(),[n,a]=u_({}),[o,i,c]=d_({}),{updateItemById:u}=al(),f=We(!1),h=We(null),m=We({templateOptions:[],formOptions:{openUrl:null,fields:[]}});p.useEffect(()=>{if(t)try{m.value=JSON.parse(t)}catch(g){console.error(g)}},[t]),p.useEffect(()=>{f.value&&setTimeout(()=>{f.value=!1},1e3)},[f.value]);const v=!!(n||o);return s.jsxs(s.Fragment,{children:[s.jsxs(Q,{className:"select-none mb-2",children:[m.value.formOptions.openUrl!=null&&s.jsxs(me,{className:"text-normal w-full gap-2 py-0.5 mb-1 ".concat(m.value.formOptions.isOpenUrlDisabled?"bg-gray-100 dark:bg-gray-900 opacity-70":""),children:[m.value.formOptions.isOpenUrlDisabled?s.jsx(s.Fragment,{children:s.jsxs(J,{className:"!font-semibold pointer-events-none text-slate-500 dark:text-slate-200 border dark:bg-slate-700/80 group hover:text-blue-500 flex items-center bg-gray-200 !text-xs px-2 py-1 rounded-md line-through gap-1",children:[r("Open",{ns:"common"}),s.jsx("span",{className:"overflow-hidden text-ellipsis p-1",children:_n(m.value.formOptions.openUrl)})]})}):s.jsx(s.Fragment,{children:s.jsxs(J,{className:"!font-semibold text-slate-500 dark:text-slate-200 border dark:bg-slate-700/80 group hover:text-blue-700 dark:hover:text-blue-400 flex items-center bg-gray-200 !text-xs px-2 py-1 rounded-md gap-1",children:[s.jsx("span",{className:"pointer-events-none",children:r("Open",{ns:"common"})}),s.jsxs("span",{className:"underline cursor-pointer text-blue-700 dark:text-blue-400 overflow-hidden text-ellipsis relative p-1",title:"".concat(r("Open",{ns:"common"})," ").concat(m.value.formOptions.openUrl),onClick:()=>{fi(_n(m.value.formOptions.openUrl))},children:[_n(m.value.formOptions.openUrl),s.jsx(rg,{id:m.value.formOptions.openUrl,isCopiedOrPasted:v,pastedItemCountDown:i,isCopied:n,pastedText:o,copyOrPasteFieldId:h})]})]})}),s.jsxs(me,{children:[s.jsx(ye,{className:"text-slate-500 h-full hover:text-green-700 dark:hover:text-green-600 px-1 py-0.5 hover:bg-transparent",variant:"ghost",disabled:m.value.formOptions.isOpenUrlDisabled,onClick:g=>{g.preventDefault(),m.value.formOptions.openUrl&&(h.value=m.value.formOptions.openUrl,ur.value?c(m.value.formOptions.openUrl):a(m.value.formOptions.openUrl))},children:s.jsx(Be,{text:ur.value?r("Copy and Paste",{ns:"common"}):r("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(js,{size:14}):s.jsx(pa,{size:14})})}),s.jsx(ye,{variant:"ghost",size:"mini",title:r("Enable / Disable URL Open",{ns:"dashboard"}),onClick:()=>pe(this,null,function*(){var b;m.value=ee(R({},m.value),{formOptions:ee(R({},m.value.formOptions),{isOpenUrlDisabled:!((b=m.value.formOptions)!=null&&b.isOpenUrlDisabled)})});const g=JSON.stringify(m.value);try{yield u({updatedItem:{formTemplateOptions:g,itemId:e}}),setTimeout(()=>{f.value=!0},300)}catch(C){console.error(C)}}),className:"pl-1 font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",children:(S=m.value.formOptions)!=null&&S.isOpenUrlDisabled?s.jsx(ma,{size:14}):s.jsx(Oa,{size:14})})]})]}),(w=m.value.formOptions)==null?void 0:w.fields.map((g,b)=>{var T,A,M,D,L;const C=g.isLabelOnTop,j=g.isLabelHidden,E=g.type==="section",N=g.type==="textarea";return s.jsxs(me,{className:"".concat(g.type!=="section"?"mb-1":"mt-1"," group ").concat(C?"flex-col items-start":"items-center"," ").concat(N?"!mt-2 !mb-1":""),children:[!j&&s.jsx(s.Fragment,{children:g.label&&g.type!=="section"?s.jsx(J,{className:"".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," text-[13px] !font-semibold flex self-stretch ").concat(C?"!justify-start pl-1":"!justify-end"),children:s.jsx("span",{className:"whitespace-nowrap pr-1 min-w-[80px] overflow-hidden text-ellipsis block ".concat(C?"text-left":"text-right max-w-[160px]"),children:g.label})}):s.jsx("div",{className:"pr-1 min-w-[80px]"})}),s.jsxs(me,{className:"w-full",children:[s.jsx(me,{className:"gap-0.5 flex-col w-full items-start ".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""),children:s.jsxs(me,{className:"w-full gap-1 justify-start",children:[g.isDelayOnly||g.isPressKeysOnly?s.jsxs(me,{className:"".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full justify-end mr-1 py-1"),children:[g.isDelayOnly&&s.jsxs(lt,{variant:"secondary",className:"pl-2 py-0.5 text-slate-500 whitespace-nowrap",children:[r("Delay",{ns:"common"})," ",g.value]}),g.isPressKeysOnly&&g.pressKeysAfterPaste&&s.jsxs(lt,{variant:"secondary",className:"pl-2 py-0.5 text-slate-500 whitespace-nowrap",children:[r("Press",{ns:"common"})," ",WD[g.pressKeysAfterPaste]]})]}):g.type==="password"||g.type==="passwordCode"?s.jsxs(me,{children:[s.jsxs("div",{className:"relative w-full",children:[s.jsx(er,{small:!0,placeholder:r("Empty",{ns:"common"}),classNameInput:"text-sm border-0 border-b border-gray-200 hover:border-gray-400 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis",disabled:g.isEnable===!1,isPassword:!0,numbersOnly:g.type==="passwordCode",showHidePassword:!0,className:"".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),readOnly:!0,value:g.value}),s.jsx(rg,{id:g.id,isCopiedOrPasted:v,pastedItemCountDown:i,isCopied:n,pastedText:o,copyOrPasteFieldId:h})]}),!E&&!g.isDelayOnly&&!g.isPressKeysOnly&&s.jsx(ye,{className:"text-slate-500 h-full hover:text-green-700 dark:hover:text-green-600 px-1 py-0.5 hover:bg-transparent",disabled:g.isEnable===!1||!g.value,variant:"ghost",onClick:z=>{z.preventDefault(),g.value&&(h.value=g.id||null,ur.value?c(g.value):a(g.value))},children:s.jsx(Be,{text:ur.value?r("Copy and Paste",{ns:"common"}):r("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(js,{size:14}):s.jsx(pa,{size:14})})})]}):g.type==="creditcard"?s.jsxs(me,{children:[s.jsxs("div",{className:"relative w-full",children:[s.jsx(H1,{small:!0,placeholder:r("Empty",{ns:"common"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none hover:border-gray-400 pl-1.5 nowrap overflow-hidden text-ellipsis",disabled:g.isEnable===!1,className:"".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),readOnly:!0,ccNumber:g.value}),s.jsx(rg,{id:g.id,isCopiedOrPasted:v,pastedItemCountDown:i,isCopied:n,pastedText:o,copyOrPasteFieldId:h})]}),!E&&!g.isDelayOnly&&!g.isPressKeysOnly&&s.jsx(ye,{className:"text-slate-500 h-full hover:text-green-700 dark:hover:text-green-600 px-1 py-0.5 hover:bg-transparent",disabled:g.isEnable===!1||!g.value,variant:"ghost",onClick:z=>{z.preventDefault(),g.value&&(h.value=g.id||null,ur.value?c(g.value):a(g.value))},children:s.jsx(Be,{text:ur.value?r("Copy and Paste",{ns:"common"}):r("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(js,{size:14}):s.jsx(pa,{size:14})})})]}):E?s.jsx("span",{className:"text-sm !font-semibold border-0 nowrap overflow-hidden text-ellipsis !pl-0.5 py-2",children:g.value}):g.type==="textarea"?s.jsxs(me,{children:[s.jsxs("div",{className:"w-full relative",children:[s.jsx(po,{placeholder:r("Empty",{ns:"common"}),label:"",className:"text-sm font-semibold border-0 border-transparent hover:border-gray-400 rounded-none nowrap overflow-hidden text-ellipsis !pl-0.5 w-full",classNameArea:g.isEnable===!1?"dark:!text-slate-500 !bg-gray-100 opacity-50 dark:!bg-gray-900":"dark:!text-slate-300 dark:!bg-slate-900",autoFocus:b===((T=m.value.formOptions.fields)==null?void 0:T.length)-1&&m.value.formOptions.fields[b].value==="",maxRows:2,value:g.value,enableEmoji:!1,readOnly:!0,enableEmojiInside:!1}),s.jsx(rg,{id:g.id,isCopiedOrPasted:v,pastedItemCountDown:i,isCopied:n,pastedText:o,copyOrPasteFieldId:h})]}),!E&&!g.isDelayOnly&&!g.isPressKeysOnly&&s.jsx(ye,{className:"text-slate-500 h-full hover:text-green-700 dark:hover:text-green-600 px-1 py-0.5 hover:bg-transparent",disabled:g.isEnable===!1||!g.value,variant:"ghost",onClick:z=>{z.preventDefault(),g.value&&(h.value=g.id||null,ur.value?c(g.value):a(g.value))},children:s.jsx(Be,{text:ur.value?r("Copy and Paste",{ns:"common"}):r("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(js,{size:14}):s.jsx(pa,{size:14})})})]}):s.jsxs(me,{children:[s.jsxs("div",{className:"w-full relative",children:[s.jsx(er,{small:!0,placeholder:r("Empty",{ns:"common"}),autoFocus:b===((A=m.value.formOptions.fields)==null?void 0:A.length)-1&&m.value.formOptions.fields[b].value===""&&m.value.formOptions.fields[b].label!=="Custom",classNameInput:"text-sm border-0 border-b border-gray-200 hover:border-gray-400 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:g.isEnable===!1,type:g.type==="number"?"number":"text",className:"".concat(g.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),readOnly:!0,value:g.value}),s.jsx(rg,{id:g.id,isCopiedOrPasted:v,pastedItemCountDown:i,isCopied:n,pastedText:o,copyOrPasteFieldId:h})]}),!E&&!g.isDelayOnly&&!g.isPressKeysOnly&&s.jsx(ye,{className:"text-slate-500 h-full hover:text-green-700 dark:hover:text-green-600 px-1 py-0.5 hover:bg-transparent",disabled:g.isEnable===!1||!g.value,variant:"ghost",onClick:z=>{z.preventDefault(),g.value&&(h.value=g.id||null,ur.value?c(g.value):a(g.value))},children:s.jsx(Be,{text:ur.value?r("Copy and Paste",{ns:"common"}):r("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(js,{size:14}):s.jsx(pa,{size:14})})})]}),g.isDelayOnly||g.isPressKeysOnly||E?s.jsx(s.Fragment,{}):s.jsx(me,{children:g.pressKeysAfterPaste&&s.jsx(lt,{variant:"secondary",className:"p-2 py-0.5 text-slate-500 whitespace-nowrap mr-1",children:WD[g.pressKeysAfterPaste]})})]})}),s.jsx(me,{className:"gap-1",children:!E&&s.jsx(ye,{size:"mini",title:r("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>pe(this,null,function*(){var H;m.value=ee(R({},m.value),{formOptions:ee(R({},m.value.formOptions),{fields:(H=m.value.formOptions)==null?void 0:H.fields.map((V,I)=>I===b?ee(R({},V),{isEnable:!V.isEnable}):V)})});const z=JSON.stringify(m.value);try{yield u({updatedItem:{formTemplateOptions:z,itemId:e}}),setTimeout(()=>{f.value=!0},300)}catch(V){console.error(V)}}),children:(M=m.value.formOptions)!=null&&M.fields&&((L=(D=m.value.formOptions)==null?void 0:D.fields[b])!=null&&L.isEnable)?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})})})]})]},g.id)})]}),f.value&&s.jsx(Q,{className:"bg-blue-200 dark:bg-blue-800 text-xs rounded-sm px-1.5 absolute left-1 bottom-1",children:r("Updated",{ns:"common"})})]})}function Ik(e){var t,r;return s.jsxs("svg",{width:(t=e.width)!=null?t:"24px",height:(r=e.height)!=null?r:"24px",onClick:e.onClick,className:e.className,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}),s.jsx("rect",{x:"7.3",y:"7.3",rx:"5",ry:"5",width:"9.3",height:"9.3",className:"opacity-90",stroke:"none",fill:"currentColor"})]})}const u2e=(e,t=[],r=[],n=[],a,o=!1)=>{const i=/\{\{\s*(.*?)\s*\}\}/g;return e.split(i).map((u,f)=>{const h=n.find(m=>{var v;return((v=m.label)==null?void 0:v.toLocaleLowerCase())===u.toLocaleLowerCase()});if(h){const m={label:u,isValueMasked:h.isValueMasked,value:u.toLocaleLowerCase()==="clipboard"?a:h.value,isFound:t.includes(u.toLowerCase()),isMissing:r.includes(u.toLowerCase()),isEnable:h.isEnable},v=o&&m.value;return s.jsx(J,{className:"".concat(m.isEnable?"!text-green-600 dark:!text-green-400":"!text-gray-400 dark:!text-gray-600"," !font-normal inline-flex"),size:"xs",children:v?s.jsx(Be,{text:s.jsxs(lt,{variant:"outline",className:"".concat(m.isEnable?"!text-green-600 dark:!text-green-400 bg-green-100 dark:bg-green-900 hover:bg-green-100 dark:hover:bg-green-900 border-green-200 dark:border-green-800":"dark:!text-gray-300 text-gray-400 bg-gray-100 dark:bg-gray-800 hover:bg-gray-100 dark:hover:bg-gray-800 border-gray-200/80 dark:border-gray-700/80"," text-normal pr-2.5"),children:[s.jsx($t,{size:12,className:"mr-0.5"}),m.label]}),className:"bg-transparent border-0",side:"top",isCompact:!0,asChild:!0,children:s.jsx(lt,{variant:"outline",className:"".concat(m.isEnable?"!text-green-600 dark:!text-green-400 bg-green-100/80 dark:bg-green-900 hover:bg-green-50/80 dark:hover:bg-green-900/70 border-green-100 hover:border-green-200 dark:border-green-800 dark:hover:border-green-700":"dark:!text-gray-600 text-gray-400 bg-gray-100 dark:bg-gray-800 hover:bg-gray-100 dark:hover:bg-gray-800 border-gray-200/80 dark:border-gray-700/80"," text-[14px] !font-normal px-1 rounded-sm"),children:m.isValueMasked?Mf(m.value):m.value})}):s.jsx(Be,{isDisabled:m.isMissing||!m.value,text:m.value,side:"top",isCompact:!0,asChild:!0,children:s.jsxs(lt,{variant:"outline",className:"".concat(m.isEnable?"bg-green-100 dark:bg-green-900 hover:bg-green-100 dark:hover:bg-green-900 border-green-200 dark:border-green-800":"bg-gray-100 dark:bg-gray-800 hover:bg-gray-100 dark:hover:bg-gray-800 border-gray-200/80 dark:border-gray-700/80"," text-normal pr-2.5"),children:[s.jsx($t,{size:12,className:"mr-0.5"}),m.label]})})},f)}return u})};function HU({value:e,clipId:t,formTemplateOptions:r}){var D;const{t:n}=Tt(),a=We(Date.now().toString()),o=We(Date.now().toString()),i=We(!1),c=We([]),u=We([]),f=We("text"),h=We("labels"),m=We("template"),v=We(""),S=We(null),[,w,,]=Qf({}),[,,g]=Jf({}),{updateItemById:b}=al(),C=We(!1),j=We({templateOptions:[],formOptions:{fields:[]}}),E=go(o.value,300),N=go(o.value,1e3),T=p.useCallback(L=>{const z=/{{[^{}]+}}/g;c.value=[],u.value=[];const H=L.match(z);H&&H.forEach((V,I)=>{H[I]=V.replace(/[\n\r{}]+/g,"").trim(),u.value.push(H[I].toLocaleLowerCase());const q=j.value.templateOptions.find(_=>{var $;return(($=_.label)==null?void 0:$.toLocaleLowerCase())===H[I].toLocaleLowerCase()});q?q.isFound=!0:c.value.push(H[I])})},[j.value.templateOptions]);p.useEffect(()=>{var L;if(r)try{const z=JSON.parse(r);j.value=R(R({},j.value),z),((L=j.value.templateOptions)==null?void 0:L.every(V=>{var I;return((I=j.value.templateOptions)==null?void 0:I.filter(q=>q.label===V.label).length)===1}))||(i.value=!0),T(e)}catch(z){console.log("error",z)}},[r]);const A=p.useCallback(()=>pe(this,null,function*(){try{v.value=yield Sr("run_template_fill",{templateValue:e,templateOptions:j.value.templateOptions,isPreview:!0})}catch(L){console.error(L)}}),[e,j.value.templateOptions]);p.useEffect(()=>{A()},[j.value.templateOptions,e,E]),p.useEffect(()=>{const L=JSON.stringify(j.value);try{b({updatedItem:{formTemplateOptions:L,itemId:t}}),setTimeout(()=>{C.value=!0},300)}catch(z){console.error(z)}},[e,N]),p.useEffect(()=>{const L=Li("clipboard://clipboard-monitor/update",H=>pe(this,null,function*(){H.payload==="clipboard update"&&(S.value=yield v9())}));return pe(this,null,function*(){S.value=yield v9()}),()=>{L.then(H=>{H()})}},[]),p.useEffect(()=>{C.value&&setTimeout(()=>{C.value=!1},1e3)},[C.value]);const M=p.useMemo(()=>u2e(e,u.value,c.value,j.value.templateOptions.filter(L=>L.label!==void 0).map(({label:L,isEnable:z,value:H,isValueMasked:V})=>({label:L,isValueMasked:V,value:H,isEnable:z})),S.value,h.value==="values"),[e,E,u.value,c.value,j.value.templateOptions,S.value,h.value]);return s.jsxs(s.Fragment,{children:[s.jsxs(Q,{className:"select-none mt-1 pb-1",children:[s.jsx(Q,{className:"mt-1.5 mb-1",children:s.jsxs(me,{className:"w-full justify-start",children:[s.jsx(ye,{variant:"ghost",size:"mini",onClick:()=>{Ss.value=t!=null?t:null},className:"cursor-pointer hover:bg-transparent ",children:s.jsx(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline",size:"xs",children:n("Edit Template",{ns:"dashboard"})})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{variant:"ghost",size:"mini",className:"cursor-pointer ml-auto hover:bg-transparent !px-2 !py-0",children:s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline",size:"xs",children:[n("Fields Value",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsxs(He,{className:"text-center items-center justify-start py-1 text-xs",onSelect:()=>{j.value.templateOptions=j.value.templateOptions.map(L=>(L.value="",L)),j.value=ee(R({},j.value),{templateOptions:[...j.value.templateOptions]}),a.value=Date.now().toString(),o.value=Date.now().toString()},children:[s.jsx(J,{className:"mr-2",children:n("Clear All Fields",{ns:"dashboard"})}),s.jsx(B6,{size:14,className:"ml-auto text-slate-400"})]}),s.jsx(tr,{}),s.jsxs(He,{className:"text-center items-center justify-start py-1 text-xs",onSelect:()=>{j.value.templateOptions=j.value.templateOptions.map(L=>(L.value=L.defaultValue,L)),j.value=ee(R({},j.value),{templateOptions:[...j.value.templateOptions]}),a.value=Date.now().toString(),o.value=Date.now().toString()},children:[s.jsx(J,{className:"mr-2",children:n("Reset to Defaults",{ns:"dashboard"})}),s.jsx(y2,{size:14,className:"ml-auto text-slate-400"})]}),s.jsx(tr,{}),s.jsxs(He,{className:"text-center items-center justify-start py-1 text-xs",onSelect:()=>pe(this,null,function*(){j.value.templateOptions.forEach(z=>{z.defaultValue=z.value});const L=JSON.stringify(j.value);try{yield b({updatedItem:{formTemplateOptions:L,itemId:t}}),setTimeout(()=>{C.value=!0},300)}catch(z){console.error(z)}}),children:[s.jsx(J,{className:"mr-2",children:n("Save as Defaults",{ns:"dashboard"})}),s.jsx(Cz,{size:14,className:"ml-auto text-slate-400"})]})]})]})]})}),(D=j.value.templateOptions)==null?void 0:D.map((L,z)=>{var U,K,Y,B,F,G,X,se,re;const H=L.type==="textarea",V=L.isLabelOnTop,I=(U=L.selectOptions)==null?void 0:U.find(ie=>ie===L.value),q=!((K=L.selectOptions)!=null&&K.length),_=!!(L.label&&u.value.includes((Y=L.label)==null?void 0:Y.toLowerCase())),$=L.isEnable===!1||!_;return s.jsxs(me,{className:"mb-1 group ".concat(V?"flex-col items-start":"items-center"," ").concat(H?"!mt-2 !mb-1":""),children:[L.label?s.jsx(me,{className:"".concat($?"bg-gray-100 opacity-50 dark:bg-gray-900":""," text-[13px] !font-semibold flex self-stretch ").concat(V?"!justify-start pl-1":"!justify-end"," ").concat(_?"":"!text-amber-800 dark:!text-amber-400 opacity-60"),children:s.jsx("span",{className:"whitespace-nowrap pr-1 min-w-[80px] overflow-hidden text-ellipsis block ".concat(V?"text-left":"text-right max-w-[160px]"),children:L.label})}):s.jsx("div",{className:"pr-1 min-w-[80px]"}),s.jsxs(me,{className:"w-full",children:[s.jsx(me,{className:"gap-0.5 flex-col w-full items-start ".concat($?"bg-gray-100 opacity-50 dark:bg-gray-900":""),children:s.jsx(me,{className:"w-full gap-1",children:L.type==="password"||L.type==="passwordCode"?s.jsx(er,{small:!0,placeholder:L.type==="passwordCode"?n("Enter code",{ns:"dashboard"}):n("Enter secret value",{ns:"dashboard"}),autoFocus:z===j.value.templateOptions.length-1&&j.value.templateOptions[z].value==="",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:$,isPassword:!0,numbersOnly:L.type==="passwordCode",showHidePassword:!0,className:"".concat(L.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:ie=>{L.value=ie.target.value.trim(),o.value=Date.now().toString()},defaultValue:L.value},a.value):L.type==="creditcard"?s.jsx(H1,{small:!0,placeholder:n("Enter credit card number",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:$,autoFocus:z===((B=j.value.templateOptions)==null?void 0:B.length)-1&&j.value.templateOptions[z].value==="",className:"".concat($?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onInputBlur:ie=>{L.value=ie},ccNumber:L.value},a.value):L.type==="textarea"?s.jsx(po,{placeholder:n("Enter field value",{ns:"dashboard"}),label:"",className:"text-sm font-semibold border-0 border-transparent focus:border-blue-400 rounded-none nowrap overflow-hidden text-ellipsis !pl-0.5 w-full",classNameArea:$?"dark:!text-slate-500 !bg-gray-100 opacity-50 dark:!bg-gray-900":"dark:!text-slate-300 dark:!bg-slate-900",autoFocus:z===j.value.templateOptions.length-1&&j.value.templateOptions[z].value===""&&!!j.value.templateOptions[z].label,maxRows:2,value:L.value,enableEmoji:!1,enableEmojiInside:!0,onKeyDown:ie=>{ie.stopPropagation()},onChange:ie=>{L.value=ie.target.value,o.value=Date.now().toString(),j.value=ee(R({},j.value),{templateOptions:[...j.value.templateOptions]})}},a.value):L.type==="select"?s.jsx(me,{className:"justify-start items-center w-full my-1",children:s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",variant:"ghost",disabled:$,className:"rounded-sm font-semibold hover:bg-transparent px-2 py-1 w-full border border-slate-300 hover:border-blue-500 dark:border-slate-800 dark:hover:border-blue-500 dark:bg-slate-900 dark:hover:bg-slate-900 dark:text-slate-300 dark:hover:text-blue-500",children:s.jsxs(me,{className:"flex items-center justify-start w-full gap-1",children:[s.jsx(J,{className:"!text-slate-700 dark:!text-slate-300 text-ellipsis overflow-hidden !block line-clamp-2",children:q?n("Select is empty",{ns:"common"}):I||n("Select option",{ns:"common"})}),s.jsx(me,{className:"w-[18px] h-[18px] ml-0.5 mr-0",children:s.jsx(Dr,{size:13})})]})})}),s.jsxs(Ar,{sideOffset:12,align:"start",className:"max-w-[300px]",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:q?s.jsx(J,{children:n("Select is empty",{ns:"common"})}):s.jsx(J,{children:n("Select option",{ns:"common"})})}),!q&&s.jsxs(s.Fragment,{children:[s.jsx(tr,{}),(G=(F=j.value.templateOptions[z])==null?void 0:F.selectOptions)==null?void 0:G.map((ie,oe)=>s.jsx(rr,{checked:L.value===ie,onSelect:()=>{L.value=ie,o.value=Date.now().toString(),j.value=ee(R({},j.value),{templateOptions:[...j.value.templateOptions]})},children:s.jsx(J,{className:"text-xs ".concat(L.value===ie?"font-semibold":""),children:ie})},oe))]})]})]})}):((X=L.label)==null?void 0:X.toLocaleLowerCase())!=="clipboard"?s.jsx(er,{small:!0,placeholder:n("Enter field value",{ns:"dashboard"}),autoFocus:!!j.value.templateOptions[z].label,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:$,type:L.type==="number"?"number":"text",className:"".concat($?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:ie=>{L.value=ie.target.value.trim(),o.value=Date.now().toString()},defaultValue:L.value},a.value):s.jsxs(s.Fragment,{children:[s.jsx(er,{small:!0,value:L.isValueMasked&&S.value?Pv(S.value):S.value?S.value:n("This field allows to insert text from clipboard",{ns:"dashboard"}),title:(se=S.value)!=null?se:"",autoFocus:!1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-transparent",disabled:!0,type:"text",className:"".concat($?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full")}),s.jsx(Be,{isCompact:!0,text:n("Mask to hide clipboard value in preview",{ns:"dashboard"}),children:s.jsx(Ik,{width:15,height:15,className:"".concat(L.isValueMasked?"text-blue-500 opacity-100":"text-slate-500 opacity-50"," hover:text-blue-500 dark:hover:text-blue-400 hover:opacity-100 cursor-pointer"),onClick:()=>{var ie;j.value=ee(R({},j.value),{templateOptions:[...(ie=j.value.templateOptions)==null?void 0:ie.map((oe,ae)=>ae===z?ee(R({},oe),{isValueMasked:!oe.isValueMasked}):oe)]})}})})]})})}),s.jsx(me,{className:"gap-1 ml-0.5",children:_?s.jsx(ye,{size:"mini",title:n("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>pe(this,null,function*(){var oe;j.value=ee(R({},j.value),{templateOptions:[...(oe=j.value.templateOptions)==null?void 0:oe.map((ae,fe)=>fe===z?ee(R({},ae),{isEnable:!ae.isEnable}):ae)]});const ie=JSON.stringify(j.value);try{yield b({updatedItem:{formTemplateOptions:ie,itemId:t}}),setTimeout(()=>{C.value=!0},300)}catch(ae){console.error(ae)}}),children:j.value.templateOptions&&((re=j.value.templateOptions[z])!=null&&re.isEnable)?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}):s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",title:n("Not found in the template",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent !text-amber-800 dark:!text-amber-400 opacity-60",children:s.jsx(mi,{size:14})})}),s.jsx(Ar,{sideOffset:12,align:"center",children:s.jsxs(He,{className:"text-red-500 dark:!text-red-600 text-[13px] focus:text-red-500 py-1",onSelect:()=>{var oe;j.value=ee(R({},j.value),{templateOptions:[...(oe=j.value.templateOptions)==null?void 0:oe.filter((ae,fe)=>fe!==z)]});const ie=JSON.stringify(j.value);try{b({updatedItem:{formTemplateOptions:ie,itemId:t}})}catch(ae){console.error(ae)}},children:[s.jsx(J,{size:"xs",className:"!text-red-500 dark:!text-red-600",children:n("Remove",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(xn,{size:13})})]})})]})})]})]},z)}),i.value&&s.jsxs(J,{className:"!text-amber-800 dark:!text-amber-400 text-[13px] my-2 bg-yellow-50 dark:bg-yellow-900 p-2 relative",children:[n("All field labels must be unique to ensure they are correctly used within the template.",{ns:"dashboard"}),s.jsx(br,{className:"absolute top-0 right-0 m-2 bg-yellow-50 dark:bg-yellow-900 z-10 cursor-pointer hover:bg-yellow-100 dark:hover:bg-yellow-800",size:14,onClick:()=>{i.value=!1}})]}),c.value.length>0&&s.jsxs(me,{className:"rounded-md gap-2 my-3 items-start justify-start flex-wrap !text-amber-800 dark:!text-amber-400 text-[13px] bg-yellow-50 dark:bg-amber-950 p-2",children:[s.jsxs(J,{className:"!text-amber-700 dark:!text-amber-500 text-[13px] w-full",children:[s.jsx(mi,{size:13,className:"mr-1"}),n("Found in template but missing from fields definition",{ns:"common"}),":"]}),c==null?void 0:c.value.map((L,z)=>s.jsx(Q,{children:s.jsx(lt,{variant:"outline",className:"bg-red-50 !text-red-500 dark:!text-red-400 dark:bg-red-950/80 border-red-100 dark:border-red-900 text-normal px-2",children:L})},z))]}),s.jsxs(s.Fragment,{children:[s.jsxs(me,{className:"gap-1 mt-2",children:[s.jsx(ye,{size:"mini",className:"!text-sm hover:bg-transparent hover:text-blue-500 dark:hover:text-blue-400 border-b-2 ".concat(m.value==="template"?"border-blue-500 dark:border-blue-400 text-blue-500 dark:text-blue-400":"border-transparent text-slate-500 dark:text-slate-400 "," rounded-none px-2 py-0.5"),variant:"ghost",onClick:()=>{m.value="template"},children:n("Template",{ns:"dashboard"})}),v.value&&s.jsx(ye,{size:"mini",variant:"ghost",className:"!text-sm hover:bg-transparent hover:text-blue-500 dark:hover:text-blue-400 border-b-2 ".concat(m.value==="result"?"border-blue-500 dark:border-blue-400 text-blue-500 dark:text-blue-400":"border-transparent text-slate-400 dark:text-slate-400"," rounded-none px-2 py-0.5"),onClick:()=>{m.value="result",A()},children:n("Result",{ns:"dashboard"})})]}),m.value==="template"?s.jsxs(Q,{className:"bg-sky-50/70 dark:bg-sky-950/70 relative rounded-md text-sm",children:[t&&s.jsx(un,{className:"hover:bg-transparent rounded-md dark:text-slate-400 hover:text-green-600 hover:dark:text-green-600 top-3 right-3 absolute z-10",onClick:()=>{ur.value?g(t):w(t)},children:s.jsx(Be,{text:ur.value?n("Copy and Paste",{ns:"common"}):n("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(js,{size:15}):s.jsx(pa,{size:15})})}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"280px"},autoHide:!1,children:s.jsx(Q,{className:"text-sm py-1 px-3 whitespace-pre-wrap pb-8 pt-3 select-text",children:M})}),s.jsx(Qi,{className:"flex flex-row absolute bottom-2 right-3 z-10 select-none",value:h.value,onValueChange:L=>{h.value=L==="labels"?"labels":"values"},children:s.jsxs(Ho,{className:"self-center px-1 py-1 opacity-60 hover:opacity-100 animate-in fade-in bg-slate-200 dark:bg-slate-900",children:[s.jsx(bn,{value:"labels",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:n("Labels",{ns:"dashboard"})}),s.jsx(bn,{value:"values",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:n("Values",{ns:"dashboard"})})]})})]}):m.value==="result"&&v.value&&s.jsxs(Q,{className:"bg-sky-50/70 dark:bg-sky-950/70 relative mt-0 rounded-md text-sm",children:[t&&s.jsx(un,{className:"hover:bg-transparent rounded-md dark:text-slate-400 hover:text-green-600 hover:dark:text-green-600 top-3 right-3 absolute z-10",onClick:()=>{ur.value?g(t):w(t)},children:s.jsx(Be,{text:ur.value?n("Copy and Paste",{ns:"common"}):n("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(js,{size:15}):s.jsx(pa,{size:15})})}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"280px"},autoHide:!1,children:s.jsxs(Q,{className:"text-sm py-1 px-3 whitespace-pre-wrap pb-8 pt-3 select-text",children:[s.jsx("div",ee(R({},f.value==="html"&&{dangerouslySetInnerHTML:{__html:Of.sanitize(v.value)}}),{className:"font-normal"})),f.value==="text"&&v.value]})}),s.jsx(Qi,{className:"flex flex-row absolute bottom-2 right-3 z-10 select-none",value:f.value,onValueChange:L=>{f.value=L==="html"?"html":"text"},children:s.jsxs(Ho,{className:"self-center px-1 py-1 opacity-60 hover:opacity-100 animate-in fade-in bg-slate-200 dark:bg-slate-900",children:[s.jsx(bn,{value:"text",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:n("Text",{ns:"dashboard"})}),s.jsx(bn,{value:"html",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:n("HTML",{ns:"dashboard"})})]})})]})]})]}),C.value&&s.jsx(Q,{className:"bg-blue-200 dark:bg-blue-800 text-xs rounded-sm px-1.5 absolute left-1 bottom-1",children:n("Updated",{ns:"common"})})]})}const d2e=[Lr.Down,Lr.Right,Lr.Up,Lr.Left];function Ey(e){if(!e)return!1;const t=e.data.current;return(t==null?void 0:t.type)===Bs||(t==null?void 0:t.type)===Sl||(t==null?void 0:t.type)===Io}const SS=e=>e.toString().split("::pinned")[0];function f_(e){let t=[];return e.children&&e.children.length>0&&e.children.forEach(r=>{t.push(r.id),t=t.concat(f_(r))}),t}const Aj=(e,{context:{active:t,droppableRects:r,droppableContainers:n,collisionRect:a}})=>{if(d2e.includes(e.code)){if(e.preventDefault(),!t||!a)return;const o=[];n.getEnabled().forEach(u=>{var m,v,S;if(!u||u!=null&&u.disabled)return;const f=r.get(u.id);if(!f)return;const h=u.data.current;if(h){const{type:w,children:g}=h;if(w==="Column"&&(g==null?void 0:g.length)>0&&((m=t.data.current)==null?void 0:m.type)!=="Column")return}switch(e.code){case Lr.Down:if(((v=t.data.current)==null?void 0:v.type)==="Column")return;a.topf.top&&o.push(u);break;case Lr.Left:a.left>=f.left+f.width&&o.push(u);break;case Lr.Right:a.left+a.width<=f.left&&o.push(u);break}});const i=FQ({active:t,collisionRect:a,droppableRects:r,droppableContainers:o,pointerCoordinates:null}),c=g6(i,"id");if(c!=null){const u=n.get(c),f=u==null?void 0:u.node.current,h=u==null?void 0:u.rect.current;if(f&&h)return{x:h.left,y:h.top}}}};function h_(e,t=!1,r=!1){if(!e||r)return{valuePreview:t&&e?e.substring(0,200).trim()+"...":(e==null?void 0:e.trim())||"No content",morePreviewLines:null,morePreviewChars:null};const n=e.replace(/\r\n/g,"\n");if(n.split("\n").length>=5&&!t){const i=n.split("\n").slice(0,5).join("\n"),c=n.split("\n").length-5;return{valuePreview:fc.closeTags(i.trim()),morePreviewLines:c>0?c:null,morePreviewChars:c?null:n.length-160}}if(n.length>60&&!t){const o=n.length-60;return{valuePreview:fc.closeTags(n.substring(0,60).trim())+"...",morePreviewLines:null,morePreviewChars:o>0?o:null}}else{const o=n.trim(),i=o.split("\n"),c=n.split("\n").length-i.length;return t?{valuePreview:o.substring(0,60)+"...",morePreviewLines:null,morePreviewChars:null}:{valuePreview:o,morePreviewLines:c>0?c:null,morePreviewChars:null}}}const VD=e=>e.isBoard!==void 0&&e.type===Bs,f2e=(e,t)=>{const r=n=>{if(!(!n||!t))for(const a of n){if(a.id===t&&VD(a))return a;if(VD(a)&&a.children){const o=r(a.children);if(o)return o}}};return r(e)};function BU({arrLinks:e=[],clipId:t,isShowLinkedClip:r,detectedLanguage:n,hasEmoji:a,hasMaskedWords:o,imageDataUrl:i,imageHash:c,imagePathFullRes:u,imageScale:f,imageType:h,imageWidthHeight:m,isCode:v,isCommand:S,isWebRequest:w,isWebScraping:g,isExpanded:b,isImage:C,isImageData:j,isLargeView:E,isLink:N,isForm:T,isTemplate:A,isMasked:M,isPath:D,isVideo:L,isMenu:z,isCopyOrPaste:H,isDark:V,clipName:I,formTemplateOptions:q,commandRequestOutput:_,isCommandRequestRunError:$,commandRequestOutputLastRunAt:U,requestOptions:K,pathType:Y,searchTerm:B,value:F=""}){var Oe,Ve,ct,gt;const{t:G}=Tt(),X=Ns(!1),se=Ns(!1),re=Ns(""),ie=p.useRef(null),{metadataLinkByItemId:oe}=L1(N,t),ae=N&&!!(oe!=null&&oe.linkTitle&&(oe!=null&&oe.linkDomain)),fe=Ns({method:"GET",headers:[],body:"",scrapingRules:[],filters:[],auth:{}}),{valuePreview:le,morePreviewLines:ue,morePreviewChars:be}=h_(F,C||j,E||N||D||S||w||g||T||A);p.useEffect(()=>{if(K)try{const Ke=JSON.parse(K);fe.value=R(R({},fe.value),Ke)}catch(Ke){}},[K]);const Ce=F==null?void 0:F.trim();p.useEffect(()=>{b.value&&(se.value=!1)},[b.value]),p.useEffect(()=>{D&&Hs("check_path",{path:Ce}).then(()=>{re.value=Y}).catch(()=>{re.value="Error"})},[D]),p.useEffect(()=>{B&&(b.value=!0)},[B]);const Pe=E?"max-h-[600px]":"max-h-[300px]",Ee=Ce.length===0;return p.useEffect(()=>{var Ke;r&&((Ke=ie==null?void 0:ie.current)==null||Ke.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))},[r,ie==null?void 0:ie.current]),s.jsxs(eh,{className:hr(H?"bg-green-50 dark:bg-green-900/40":"bg-slate-50/50 dark:bg-slate-900","px-2 pr-1.5 py-1 mb-0.5 mx-1 text-left flex flex-col rounded-md select-auto relative"),children:[s.jsx(Q,{className:"mb-0.5",ref:ie,children:D?s.jsx(F1,{theme:V?el.vsDark:el.github,code:Ce,language:"path",children:({className:Ke,style:Et,tokens:Re,getLineProps:xt,getTokenProps:ot})=>s.jsx("code",{className:"".concat(Ke," ").concat(re.value==="Error"?" line-through decoration-gray-300":""),style:Et,children:Re.map((pt,_t)=>s.jsx("div",ee(R({},xt({line:pt})),{className:"overflow-hidden text-ellipsis whitespace-pre-wrap",children:pt.map((ht,It)=>s.jsx("span",ee(R({},ot({token:ht})),{className:"".concat(re.value==="Error"?"opacity-60":""," select-text"),children:B?Nl(ht.content,B):ht.content}),It))}),_t))})}):j?s.jsxs(Q,{className:"text-ellipsis self-start text-xs overflow-hidden select-none",children:[s.jsx(Q,{className:"flex px-0 py-1 items-center justify-center",children:s.jsx(tl,{src:Ce,hasError:X.value,onErrorCallback:()=>{X.value=!0},draggable:!1,decoding:"async",className:"".concat(Pe," min-h-10")})}),s.jsx("code",{className:"pb-0.5",children:le})]}):N&&C?s.jsxs(Q,{className:"text-ellipsis self-start text-xs overflow-hidden select-none",children:[s.jsx(Q,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center",children:s.jsx(tl,{src:_n(Ce),hasError:X.value,onErrorCallback:()=>{X.value=!0},draggable:!1,decoding:"async",className:"".concat(Pe," min-h-10")})}),s.jsx("code",{className:"pb-0.5",children:If(Ce,e)})]}):C?s.jsxs(Q,{className:"px-0 py-1.5 flex items-center justify-center relative animate-in fade-in duration-300 !fill-mode-forwards select-none",children:[E?s.jsx("img",{decoding:"async",srcSet:u&&i?"".concat(uf(u),"?").concat(c," ").concat(f,"x"):!i&&!u?xf:Zg,src:u&&i?"".concat(uf(u),"?").concat(c):!i&&!u?xf:Zg,className:"rounded-md shadow-sm border border-slate-100 dark:border-slate-600 object-scale-down"},t):s.jsx("img",{src:u&&(h==="webp"||h==="gif")?"".concat(uf(u),"?").concat(c):i&&u?i:!i&&!u?xf:Zg,draggable:!1,decoding:"async",height:"auto",className:"max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-600"}),s.jsx(Q,{className:"absolute left-0 bottom-1 flex flex-row gap-1 rounded items-center pb-0.5 pl-0.5",children:s.jsxs(Q,{className:"text-xs text-muted-foreground bg-slate-50 dark:bg-slate-950 px-1.5 rounded transform duration-300",title:G("Image size in pixels",{ns:"common"}),children:[m," ",h]})})]}):n&&v&&le?s.jsx(Q,{className:"text-ellipsis self-start text-sm w-full select-text",children:s.jsx(va,{isDark:V,searchTerm:B,isLargeView:E,isShowMore:b.value||ue==null,isWrapped:se.value,value:b.value?Ce:le,language:n})}):S&&le?s.jsxs(Q,{className:"text-ellipsis self-start text-sm w-full select-text pt-0.5",children:[s.jsx(va,{isDark:V,searchTerm:B,isLargeView:E,isCommand:!0,isShowMore:!0,isWrapped:se.value,autoHideScrollbar:!0,value:Ce,language:"shell"}),_&&s.jsxs(Q,{className:"".concat($?"bg-red-50 dark:bg-red-950":"bg-green-50 dark:bg-green-950"," py-1 rounded-md px-3 mb-1 relative border-0"),children:[s.jsx(va,{isDark:V,maxHeight:E?150:100,isLargeView:!1,isShowMore:!0,isWrapped:se.value,value:_,language:"shell"}),U&&s.jsx(Q,{className:"text-xs text-muted-foreground rounded px-1 bg-slate-50 dark:bg-slate-900/80 absolute bottom-1 right-1",children:s.jsx(Be,{text:"".concat(G("Last run",{ns:"dashboard"}),": ").concat(zf(U,"PPpp")),className:"text-xs bg-slate-50 dark:bg-slate-900 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:Zu().format(U,"mini-minute-now",{round:"floor"})})})]})]}):(w||g)&&le?s.jsxs(Q,{className:"text-ellipsis self-start text-sm w-full select-text pt-0.5",children:[s.jsx(va,{isDark:V,searchTerm:B,isLargeView:E,isShowMore:!0,isWrapped:se.value,value:Ce,autoHideScrollbar:!0,webRequestMethod:w?fe.value.method:"URL",language:"shell"}),_&&s.jsxs(Q,{className:"".concat($?"bg-red-50 border-red-100":"bg-green-50 border-green-100"," ").concat(E?"py-1":"py-0"," rounded-md px-3 relative mb-1 border"),children:[s.jsx(va,{isDark:V,maxHeight:E?150:100,isLargeView:!1,isShowMore:!0,isWrapped:se.value,value:_,language:$?"text":"json"}),U&&s.jsx(Q,{className:"text-xs text-muted-foreground rounded px-1 bg-slate-50 dark:bg-slate-900/80 absolute bottom-1 right-1",children:s.jsx(Be,{text:"".concat(G("Last run",{ns:"dashboard"}),": ").concat(zf(U,"PPpp")),className:"text-xs bg-slate-50 dark:bg-slate-900 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:Zu().format(U,"mini-minute-now",{round:"floor"})})})]})]}):T?s.jsx(Q,{className:"self-start text-sm w-full select-text",children:s.jsx(FU,{formTemplateOptions:q,clipId:t})}):A?s.jsx(Q,{className:"self-start text-sm w-full select-text",children:s.jsx(HU,{formTemplateOptions:q,clipId:t,value:F})}):Ee?s.jsx("code",{className:"text-gray-300",children:I}):s.jsx(Lk,{isExpanded:b.value,isWrapped:(Oe=se.value)!=null?Oe:!1,isImageData:j,isMasked:M,isLargeView:E,isCode:v,hasLinkCard:ae,metadataLinkByItemId:oe,isImage:C,trimmedValue:Ce,valuePreview:le,morePreviewLines:ue,isDark:V,searchTerm:B})}),s.jsxs(me,{className:"justify-between select-none",children:[!(w||S||g)&&_||E?s.jsx(Q,{className:"flex flex-row items-center rounded",children:s.jsx(Q,{className:"text-xs text-muted-foreground px-1.5 transform duration-300 cursor-pointer",onClick:()=>{se.value=!se.value},children:s.jsx(Be,{text:se.value?G("No Wrap",{ns:"common"}):G("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:se.value?s.jsx(km,{width:20,height:20}):s.jsx(Cm,{width:20,height:20})})})}):ue||be?s.jsxs(Q,{className:"flex flex-row items-center rounded",children:[s.jsx(Q,{className:"text-xs text-muted-foreground px-0 transform duration-300 cursor-pointer",onClick:()=>{b.value=!b.value},children:s.jsx(Be,{text:b.value?"":G("Show all",{ns:"common"}),isCompact:!0,isDisabled:b.value,delayDuration:2e3,side:"bottom",sideOffset:10,children:b.value?s.jsxs(s.Fragment,{children:["- ",G("show less",{ns:"common"})]}):be?s.jsxs(s.Fragment,{children:["+",be," ",G("chars",{ns:"common"})]}):ue&&s.jsxs(s.Fragment,{children:["+",ue," ",G("lines",{ns:"common"})]})})}),s.jsx(Q,{className:"text-xs text-muted-foreground px-1.5 transform duration-300 cursor-pointer",onClick:()=>{se.value=!se.value},children:s.jsx(Be,{text:se.value?G("No Wrap",{ns:"common"}):G("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:se.value?s.jsx(km,{width:20,height:20}):s.jsx(Cm,{width:20,height:20})})})]}):s.jsx(Q,{}),s.jsxs(Q,{className:"flex flex-row gap-1 items-center justify-end ",children:[S&&s.jsx(Q,{className:"".concat($?"bg-red-300 dark:bg-red-800 dark:text-slate-300 text-red-800":"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300"," text-xs rounded-sm px-1.5"),children:$?G("Command error",{ns:"dashboard"}):G("Type:::Command",{ns:"dashboard"})}),(w||g)&&s.jsxs(me,{className:"gap-1",children:[s.jsxs(Q,{className:"".concat($?"bg-red-300 dark:bg-red-600 dark:text-red-300":"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300"," text-xs rounded-sm px-1.5"),children:[w&&s.jsx("span",{children:$?G("Request error",{ns:"dashboard"}):G("Type:::Request",{ns:"dashboard"})}),g&&s.jsx("span",{children:$?G("Error",{ns:"dashboard"}):G("Type:::Scraper",{ns:"dashboard"})})]}),g&&fe.value.scrapingRules&&((Ve=fe.value.scrapingRules)==null?void 0:Ve.filter(Ke=>Ke.isEnable).length)>0&&s.jsxs(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[G("Headers",{ns:"dashboard"}),s.jsx("span",{className:"ml-1 font-mono",children:fe.value.headers.filter(Ke=>Ke.isEnable).length})]}),w&&fe.value.headers.filter(Ke=>Ke.isEnable).length>0&&s.jsxs(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[G("Headers",{ns:"dashboard"}),s.jsx("span",{className:"ml-1 font-mono",children:fe.value.headers.filter(Ke=>Ke.isEnable).length})]}),w&&((ct=fe.value.auth)==null?void 0:ct.isEnable)&&s.jsx(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:(gt=fe.value.auth)==null?void 0:gt.type}),w&&fe.value.filters.filter(Ke=>Ke.isEnable).length>0&&s.jsxs(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[G("Filters",{ns:"dashboard"}),s.jsx("span",{className:"ml-1 font-mono",children:fe.value.filters.filter(Ke=>Ke.isEnable).length})]})]}),(M||o)&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm ".concat(o?"px-0.5":"px-1.5"),children:M?G("Type:::Secret",{ns:"common"}):s.jsx(Ll,{size:16})}),n&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:n}),N&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:L?G("Type:::Video",{ns:"common"}):pc(Ce)?G("Type:::Email",{ns:"common"}):G("Type:::Link",{ns:"common"})}),D&&re.value&&s.jsx(Q,{className:"".concat(re.value==="Error"?"bg-red-300":"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300"," text-xs rounded-sm px-1.5"),children:re.value==="Error"?s.jsx(Be,{text:G("File, folder or app path does not exist",{ns:"dashboard"}),className:"text-red-500 bg-red-50 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:re.value}):re.value}),a&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:G("Type:::Emoji",{ns:"common"})}),Ee&&!T&&!C&&s.jsx(Q,{className:"bg-yellow-200 text-yellow-700 dark:bg-yellow-800 dark:text-yellow-400 text-xs rounded-sm px-1.5",children:G("Type:::Empty",{ns:"common"})}),j&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:G("Type:::Image Base64",{ns:"common"})}),T&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:G("Type:::Auto Fill",{ns:"common"})}),z&&s.jsxs(me,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[G("Type:::Menu",{ns:"common"}),s.jsx(j1,{size:11,className:"ml-1"})]})]})]})]})}p.memo(BU);function qD({clipId:e,color:t,isEditOnly:r,isLargeView:n,description:a,borderWidth:o,name:i}){const{t:c}=Tt(),u=We(!1),f=We(""),h=We(""),{themeDark:m}=dt(uo),v=m(),{updateItemById:S}=al(),w=We(mp.value),g=We(!1);return p.useEffect(()=>{u.value=!1,f.value=i!=null?i:"",mp.value=w.value},[w.value]),p.useEffect(()=>{i===c("New Clip",{ns:"dashboard"})&&(w.value=!0)},[i]),p.useEffect(()=>{h.value=a!=null?a:"",mp.value=g.value},[g.value]),p.useEffect(()=>{r&&(w.value=!0)},[r]),p.useEffect(()=>{u.value?eb.value=!0:eb.value=!1},[u.value]),p.useEffect(()=>{if(Jy.value){if(Jy.value=!1,eb.value=!1,!w.value&&!g.value)return;if(!f.value.length||f.value.length>bu){u.value=!0;return}g.value&&(S({updatedItem:{description:h.value,itemId:e}}),setTimeout(()=>{g.value=!1},200)),u.value||(S({updatedItem:{name:f.value,itemId:e}}),setTimeout(()=>{w.value=!1},200))}},[Jy.value]),s.jsx(me,{className:"justify-start w-full",children:w.value?s.jsxs(s.Fragment,{children:[s.jsx(Be,{open:u.value,asChild:!0,classNameTrigger:"w-full",text:f.value.length<=T6?c("Too short",{ns:"dashboard"}):c("Too long",{ns:"dashboard"}),side:"bottom",className:"bg-rose-50 text-red-500 dark:bg-rose-900 dark:text-red-50 border-rose-100 dark:border-rose-950 text-base font-semibold border !px-2 !py-1.5",children:s.jsx(er,{small:!0,autoFocus:!0,className:"bg-white rounded-md text-sm font-semibold w-full min-w-[120px]",placeholder:c("Enter clip name",{ns:"dashboard"}),onBlur:()=>pe(this,null,function*(){(!f.value.length||f.value.length>bu)&&(u.value=!0)}),onKeyDown:b=>pe(this,null,function*(){b.stopPropagation(),b.key==="Escape"?w.value=!1:b.key==="Enter"&&(!f.value.length||f.value.length>bu)?u.value=!0:b.key==="Enter"&&(yield S({updatedItem:{name:f.value,itemId:e}}),setTimeout(()=>{w.value=!1,r&&qd()},300))}),defaultValue:i,onFocus:b=>{i===c("New Clip",{ns:"dashboard"})&&b.target.select()},onChange:b=>{u.value&&b.target.value.length<=bu&&u.value&&b.target.value.length>0&&(u.value=!1),f.value=b.target.value}})}),s.jsxs(me,{className:"ml-1",children:[s.jsx(Be,{text:c("Save",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>pe(this,null,function*(){if(!f.value.length||f.value.length>bu){u.value=!0;return}u.value||(yield S({updatedItem:{name:f.value,itemId:e}}),setTimeout(()=>{w.value=!1,r&&qd()},200))}),children:s.jsx($t,{size:18})})})}),s.jsx(Be,{text:c("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{w.value=!1,r&&qd()},children:s.jsx(br,{size:18})})})})]})]}):s.jsxs(me,{className:"justify-start mr-1 w-full",children:[!g.value&&s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"min-w-[24px]",children:s.jsx(Pk,{color:t!=null?t:null,borderWidth:o,type:Io,itemId:e,updateById:S})}),s.jsx(J,{className:"text-sm text-ellipsis pl-1 overflow-hidden whitespace-nowrap border-dashed border-b min-w-[40px] border-".concat(t||"slate","-400 hover:border-gray-400"),onClick:()=>{w.value=!0},color:"black",children:i}),s.jsx(Q,{onClick:()=>{w.value=!0},className:"ml-1 pr-0 pl-1 pt-[1px] text-primary/50 cursor-pointer relative opacity-80 hover:opacity-100",children:s.jsx(Be,{text:c("Rename",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Xu,{size:14})})})]}),s.jsx(Q,{title:a&&!g.value?c("Edit Note",{ns:"dashboard"}):void 0,className:"".concat(g.value?"":"ml-1"," pr-0 pl-1 pt-[1px] text-primary/50 cursor-pointer relative opacity-80 hover:opacity-100"),children:a?s.jsx(H2,{text:g.value?h.value:a,side:"right",isDark:v,align:"end",alignOffset:130,maxWidth:320,sideOffset:-10,asChild:!0,children:s.jsx(Sz,{size:16,onClick:()=>{g.value=!0}})}):s.jsx(Be,{text:c("Add note",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,isDisabled:g.value,children:s.jsx(dle,{size:16,onClick:()=>{g.value=!0}})})}),!mp.value&&s.jsxs(me,{className:"ml-auto px-1.5 items-center justify-center",children:[s.jsx(un,{className:"hover:bg-transparent mr-1.5",onClick:()=>{Os.value=n?null:e},children:s.jsx(Be,{text:c("Close Expand Edit",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(k1,{size:13})})}),s.jsx(un,{className:"hover:bg-transparent",onClick:()=>{qd()},children:s.jsx(Be,{text:c("Close Edit",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(br,{size:18})})})]}),g.value&&s.jsxs(me,{className:"w-full justify-start items-center",children:[s.jsx(po,{tabIndex:0,enableEmoji:!1,className:"bg-white w-full ml-2 rounded-md text-sm min-w-[120px]",classNameArea:"!pb-1",placeholder:c("Enter clip note",{ns:"dashboard"}),rows:1,autoFocus:!0,autoCorrect:"off",spellCheck:!1,enableEmojiInside:!0,label:"",maxRows:5,value:h.value,onKeyDown:b=>pe(this,null,function*(){b.stopPropagation(),b.key==="Escape"&&(g.value=!1)}),defaultValue:a!=null?a:"",onChange:b=>{h.value=b.target.value}}),s.jsxs(me,{className:"ml-2",children:[s.jsx(Be,{text:c("Save",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>pe(this,null,function*(){yield S({updatedItem:{description:h.value,itemId:e}}),setTimeout(()=>{g.value=!1},200)}),children:s.jsx($t,{size:18})})})}),s.jsx(Be,{text:c("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{g.value=!1},children:s.jsx(br,{size:18})})})})]})]})]})})}function UU(e){var t,r;return s.jsxs("svg",{width:(t=e.width)!=null?t:"24px",height:(r=e.height)!=null?r:"24px",className:e.className,onClick:e.onClick,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}),s.jsx("rect",{x:"6.881",y:"6.83",width:"10.2",height:"10.2",className:"opacity-50",stroke:"none",fill:"currentColor"})]})}function WU(e){var t,r;return s.jsxs("svg",{width:(t=e.width)!=null?t:"24px",height:(r=e.height)!=null?r:"24px",className:e.className,viewBox:"0 0 24 24",onClick:e.onClick,fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}),s.jsx("path",{fill:"currentColor",stroke:"none",d:"m18.4044 17.0597-1.3474 1.3474H8.2988l1.3474-1.3474h8.7582ZM14.52 5.0053l3.811 3.811-.5695.7343-1.0281 1.3106-.6031.7568-.5374.6632-.3597.436-.4222.4997-.2734.3133-.2364.2606-.1994.2081-.4734.4683-.9742.9883-.514.5288-.1854-.0092-.1944-.003c-.3311 0-.699.0257-1.1035.077l-.2536.0356-.2478.0408-.237.0439-.3247.067-.6212.1496-2.021 1.0105-1.3475.3369.3369-1.3474 1.0105-2.0211.032-.076.0564-.1558.0474-.1502.0516-.187a6.8003 6.8003 0 0 0 .1495-.7784 10.6177 10.6177 0 0 0 .088-1.797l.1045-.1176.1065-.1134.497-.5086 1.1954-1.1882.3684-.3535.4097-.3752.3575-.3158.3839-.3296.4103-.3434.4366-.3573.4631-.3711.7442-.5827.529-.4057.5556-.4196.5819-.4335ZM8.7067 12.357a11.8664 11.8664 0 0 1-.036.4396l-.0472.4013a8.6212 8.6212 0 0 1-.112.649l-.1351.572.5888.5408.5814-.0902c.3209-.0649.6365-.1185.9407-.157.1784-.0227.3517-.041.52-.055L8.7067 12.357Zm5.6858-5.5734-.19.144-.7708.5933-.4798.3773-.4525.3626-.425.3476-.3975.3325-.3696.3172-.3416.3015-.4179.383-.3182.3058-.8657.8602 2.861 2.861.1762-.1794.5993-.5981.1285-.1254.174-.181.2194-.2415.2594-.297.412-.4874.3522-.4267.5305-.655.5967-.7486.8638-1.1014-2.1444-2.1445Z"})]})}(function(e,t){(function(r){r(Rc)})(function(r){function n(i,c,u){this.orientation=c,this.scroll=u,this.screen=this.total=this.size=1,this.pos=0,this.node=document.createElement("div"),this.node.className=i+"-"+c,this.inner=this.node.appendChild(document.createElement("div"));var f=this;r.on(this.inner,"mousedown",function(m){if(m.which!=1)return;r.e_preventDefault(m);var v=f.orientation=="horizontal"?"pageX":"pageY",S=m[v],w=f.pos;function g(){r.off(document,"mousemove",b),r.off(document,"mouseup",g)}function b(C){if(C.which!=1)return g();f.moveTo(w+(C[v]-S)*(f.total/f.size))}r.on(document,"mousemove",b),r.on(document,"mouseup",g)}),r.on(this.node,"click",function(m){r.e_preventDefault(m);var v=f.inner.getBoundingClientRect(),S;f.orientation=="horizontal"?S=m.clientXv.right?1:0:S=m.clientYv.bottom?1:0,f.moveTo(f.pos+S*f.screen)});function h(m){var v=r.wheelEventPixels(m)[f.orientation=="horizontal"?"x":"y"],S=f.pos;f.moveTo(f.pos+v),f.pos!=S&&r.e_preventDefault(m)}r.on(this.node,"mousewheel",h),r.on(this.node,"DOMMouseScroll",h)}n.prototype.setPos=function(i,c){return i<0&&(i=0),i>this.total-this.screen&&(i=this.total-this.screen),!c&&i==this.pos?!1:(this.pos=i,this.inner.style[this.orientation=="horizontal"?"left":"top"]=i*(this.size/this.total)+"px",!0)},n.prototype.moveTo=function(i){this.setPos(i)&&this.scroll(i,this.orientation)};var a=10;n.prototype.update=function(i,c,u){var f=this.screen!=c||this.total!=i||this.size!=u;f&&(this.screen=c,this.total=i,this.size=u);var h=this.screen*(this.size/this.total);hi.clientWidth+1,h=i.scrollHeight>i.clientHeight+1;return this.vert.node.style.display=h?"block":"none",this.horiz.node.style.display=f?"block":"none",h&&(this.vert.update(i.scrollHeight,i.clientHeight,i.viewHeight-(f?u:0)),this.vert.node.style.bottom=f?u+"px":"0"),f&&(this.horiz.update(i.scrollWidth,i.clientWidth,i.viewWidth-(h?u:0)-i.barLeft),this.horiz.node.style.right=h?u+"px":"0",this.horiz.node.style.left=i.barLeft+"px"),{right:h?u:0,bottom:f?u:0}},o.prototype.setScrollTop=function(i){this.vert.setPos(i)},o.prototype.setScrollLeft=function(i){this.horiz.setPos(i)},o.prototype.clear=function(){var i=this.horiz.node.parentNode;i.removeChild(this.horiz.node),i.removeChild(this.vert.node)},r.scrollbarModel.simple=function(i,c){return new o("CodeMirror-simplescroll",i,c)},r.scrollbarModel.overlay=function(i,c){return new o("CodeMirror-overlayscroll",i,c)}})})();var KD={exports:{}},GD;function h2e(){return GD||(GD=1,function(e,t){(function(r){r(Rc)})(function(r){r.modeInfo=[{name:"APL",mime:"text/apl",mode:"apl",ext:["dyalog","apl"]},{name:"PGP",mimes:["application/pgp","application/pgp-encrypted","application/pgp-keys","application/pgp-signature"],mode:"asciiarmor",ext:["asc","pgp","sig"]},{name:"ASN.1",mime:"text/x-ttcn-asn",mode:"asn.1",ext:["asn","asn1"]},{name:"Asterisk",mime:"text/x-asterisk",mode:"asterisk",file:/^extensions\.conf$/i},{name:"Brainfuck",mime:"text/x-brainfuck",mode:"brainfuck",ext:["b","bf"]},{name:"C",mime:"text/x-csrc",mode:"clike",ext:["c","h","ino"]},{name:"C++",mime:"text/x-c++src",mode:"clike",ext:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],alias:["cpp"]},{name:"Cobol",mime:"text/x-cobol",mode:"cobol",ext:["cob","cpy","cbl"]},{name:"C#",mime:"text/x-csharp",mode:"clike",ext:["cs"],alias:["csharp","cs"]},{name:"Clojure",mime:"text/x-clojure",mode:"clojure",ext:["clj","cljc","cljx"]},{name:"ClojureScript",mime:"text/x-clojurescript",mode:"clojure",ext:["cljs"]},{name:"Closure Stylesheets (GSS)",mime:"text/x-gss",mode:"css",ext:["gss"]},{name:"CMake",mime:"text/x-cmake",mode:"cmake",ext:["cmake","cmake.in"],file:/^CMakeLists\.txt$/},{name:"CoffeeScript",mimes:["application/vnd.coffeescript","text/coffeescript","text/x-coffeescript"],mode:"coffeescript",ext:["coffee"],alias:["coffee","coffee-script"]},{name:"Common Lisp",mime:"text/x-common-lisp",mode:"commonlisp",ext:["cl","lisp","el"],alias:["lisp"]},{name:"Cypher",mime:"application/x-cypher-query",mode:"cypher",ext:["cyp","cypher"]},{name:"Cython",mime:"text/x-cython",mode:"python",ext:["pyx","pxd","pxi"]},{name:"Crystal",mime:"text/x-crystal",mode:"crystal",ext:["cr"]},{name:"CSS",mime:"text/css",mode:"css",ext:["css"]},{name:"CQL",mime:"text/x-cassandra",mode:"sql",ext:["cql"]},{name:"D",mime:"text/x-d",mode:"d",ext:["d"]},{name:"Dart",mimes:["application/dart","text/x-dart"],mode:"dart",ext:["dart"]},{name:"diff",mime:"text/x-diff",mode:"diff",ext:["diff","patch"]},{name:"Django",mime:"text/x-django",mode:"django"},{name:"Dockerfile",mime:"text/x-dockerfile",mode:"dockerfile",file:/^Dockerfile$/},{name:"DTD",mime:"application/xml-dtd",mode:"dtd",ext:["dtd"]},{name:"Dylan",mime:"text/x-dylan",mode:"dylan",ext:["dylan","dyl","intr"]},{name:"EBNF",mime:"text/x-ebnf",mode:"ebnf"},{name:"ECL",mime:"text/x-ecl",mode:"ecl",ext:["ecl"]},{name:"edn",mime:"application/edn",mode:"clojure",ext:["edn"]},{name:"Eiffel",mime:"text/x-eiffel",mode:"eiffel",ext:["e"]},{name:"Elm",mime:"text/x-elm",mode:"elm",ext:["elm"]},{name:"Embedded JavaScript",mime:"application/x-ejs",mode:"htmlembedded",ext:["ejs"]},{name:"Embedded Ruby",mime:"application/x-erb",mode:"htmlembedded",ext:["erb"]},{name:"Erlang",mime:"text/x-erlang",mode:"erlang",ext:["erl"]},{name:"Esper",mime:"text/x-esper",mode:"sql"},{name:"Factor",mime:"text/x-factor",mode:"factor",ext:["factor"]},{name:"FCL",mime:"text/x-fcl",mode:"fcl"},{name:"Forth",mime:"text/x-forth",mode:"forth",ext:["forth","fth","4th"]},{name:"Fortran",mime:"text/x-fortran",mode:"fortran",ext:["f","for","f77","f90","f95"]},{name:"F#",mime:"text/x-fsharp",mode:"mllike",ext:["fs"],alias:["fsharp"]},{name:"Gas",mime:"text/x-gas",mode:"gas",ext:["s"]},{name:"Gherkin",mime:"text/x-feature",mode:"gherkin",ext:["feature"]},{name:"GitHub Flavored Markdown",mime:"text/x-gfm",mode:"gfm",file:/^(readme|contributing|history)\.md$/i},{name:"Go",mime:"text/x-go",mode:"go",ext:["go"]},{name:"Groovy",mime:"text/x-groovy",mode:"groovy",ext:["groovy","gradle"],file:/^Jenkinsfile$/},{name:"HAML",mime:"text/x-haml",mode:"haml",ext:["haml"]},{name:"Haskell",mime:"text/x-haskell",mode:"haskell",ext:["hs"]},{name:"Haskell (Literate)",mime:"text/x-literate-haskell",mode:"haskell-literate",ext:["lhs"]},{name:"Haxe",mime:"text/x-haxe",mode:"haxe",ext:["hx"]},{name:"HXML",mime:"text/x-hxml",mode:"haxe",ext:["hxml"]},{name:"ASP.NET",mime:"application/x-aspx",mode:"htmlembedded",ext:["aspx"],alias:["asp","aspx"]},{name:"HTML",mime:"text/html",mode:"htmlmixed",ext:["html","htm","handlebars","hbs"],alias:["xhtml"]},{name:"HTTP",mime:"message/http",mode:"http"},{name:"IDL",mime:"text/x-idl",mode:"idl",ext:["pro"]},{name:"Pug",mime:"text/x-pug",mode:"pug",ext:["jade","pug"],alias:["jade"]},{name:"Java",mime:"text/x-java",mode:"clike",ext:["java"]},{name:"Java Server Pages",mime:"application/x-jsp",mode:"htmlembedded",ext:["jsp"],alias:["jsp"]},{name:"JavaScript",mimes:["text/javascript","text/ecmascript","application/javascript","application/x-javascript","application/ecmascript"],mode:"javascript",ext:["js"],alias:["ecmascript","js","node"]},{name:"JSON",mimes:["application/json","application/x-json"],mode:"javascript",ext:["json","map"],alias:["json5"]},{name:"JSON-LD",mime:"application/ld+json",mode:"javascript",ext:["jsonld"],alias:["jsonld"]},{name:"JSX",mime:"text/jsx",mode:"jsx",ext:["jsx"]},{name:"Jinja2",mime:"text/jinja2",mode:"jinja2",ext:["j2","jinja","jinja2"]},{name:"Julia",mime:"text/x-julia",mode:"julia",ext:["jl"],alias:["jl"]},{name:"Kotlin",mime:"text/x-kotlin",mode:"clike",ext:["kt"]},{name:"LESS",mime:"text/x-less",mode:"css",ext:["less"]},{name:"LiveScript",mime:"text/x-livescript",mode:"livescript",ext:["ls"],alias:["ls"]},{name:"Lua",mime:"text/x-lua",mode:"lua",ext:["lua"]},{name:"Markdown",mime:"text/x-markdown",mode:"markdown",ext:["markdown","md","mkd"]},{name:"mIRC",mime:"text/mirc",mode:"mirc"},{name:"MariaDB SQL",mime:"text/x-mariadb",mode:"sql"},{name:"Mathematica",mime:"text/x-mathematica",mode:"mathematica",ext:["m","nb","wl","wls"]},{name:"Modelica",mime:"text/x-modelica",mode:"modelica",ext:["mo"]},{name:"MUMPS",mime:"text/x-mumps",mode:"mumps",ext:["mps"]},{name:"MS SQL",mime:"text/x-mssql",mode:"sql"},{name:"mbox",mime:"application/mbox",mode:"mbox",ext:["mbox"]},{name:"MySQL",mime:"text/x-mysql",mode:"sql"},{name:"Nginx",mime:"text/x-nginx-conf",mode:"nginx",file:/nginx.*\.conf$/i},{name:"NSIS",mime:"text/x-nsis",mode:"nsis",ext:["nsh","nsi"]},{name:"NTriples",mimes:["application/n-triples","application/n-quads","text/n-triples"],mode:"ntriples",ext:["nt","nq"]},{name:"Objective-C",mime:"text/x-objectivec",mode:"clike",ext:["m"],alias:["objective-c","objc"]},{name:"Objective-C++",mime:"text/x-objectivec++",mode:"clike",ext:["mm"],alias:["objective-c++","objc++"]},{name:"OCaml",mime:"text/x-ocaml",mode:"mllike",ext:["ml","mli","mll","mly"]},{name:"Octave",mime:"text/x-octave",mode:"octave",ext:["m"]},{name:"Oz",mime:"text/x-oz",mode:"oz",ext:["oz"]},{name:"Pascal",mime:"text/x-pascal",mode:"pascal",ext:["p","pas"]},{name:"PEG.js",mime:"null",mode:"pegjs",ext:["jsonld"]},{name:"Perl",mime:"text/x-perl",mode:"perl",ext:["pl","pm"]},{name:"PHP",mimes:["text/x-php","application/x-httpd-php","application/x-httpd-php-open"],mode:"php",ext:["php","php3","php4","php5","php7","phtml"]},{name:"Pig",mime:"text/x-pig",mode:"pig",ext:["pig"]},{name:"Plain Text",mime:"text/plain",mode:"null",ext:["txt","text","conf","def","list","log"]},{name:"PLSQL",mime:"text/x-plsql",mode:"sql",ext:["pls"]},{name:"PostgreSQL",mime:"text/x-pgsql",mode:"sql"},{name:"PowerShell",mime:"application/x-powershell",mode:"powershell",ext:["ps1","psd1","psm1"]},{name:"Properties files",mime:"text/x-properties",mode:"properties",ext:["properties","ini","in"],alias:["ini","properties"]},{name:"ProtoBuf",mime:"text/x-protobuf",mode:"protobuf",ext:["proto"]},{name:"Python",mime:"text/x-python",mode:"python",ext:["BUILD","bzl","py","pyw"],file:/^(BUCK|BUILD)$/},{name:"Puppet",mime:"text/x-puppet",mode:"puppet",ext:["pp"]},{name:"Q",mime:"text/x-q",mode:"q",ext:["q"]},{name:"R",mime:"text/x-rsrc",mode:"r",ext:["r","R"],alias:["rscript"]},{name:"reStructuredText",mime:"text/x-rst",mode:"rst",ext:["rst"],alias:["rst"]},{name:"RPM Changes",mime:"text/x-rpm-changes",mode:"rpm"},{name:"RPM Spec",mime:"text/x-rpm-spec",mode:"rpm",ext:["spec"]},{name:"Ruby",mime:"text/x-ruby",mode:"ruby",ext:["rb"],alias:["jruby","macruby","rake","rb","rbx"]},{name:"Rust",mime:"text/x-rustsrc",mode:"rust",ext:["rs"]},{name:"SAS",mime:"text/x-sas",mode:"sas",ext:["sas"]},{name:"Sass",mime:"text/x-sass",mode:"sass",ext:["sass"]},{name:"Scala",mime:"text/x-scala",mode:"clike",ext:["scala"]},{name:"Scheme",mime:"text/x-scheme",mode:"scheme",ext:["scm","ss"]},{name:"SCSS",mime:"text/x-scss",mode:"css",ext:["scss"]},{name:"Shell",mimes:["text/x-sh","application/x-sh"],mode:"shell",ext:["sh","ksh","bash"],alias:["bash","sh","zsh"],file:/^PKGBUILD$/},{name:"Sieve",mime:"application/sieve",mode:"sieve",ext:["siv","sieve"]},{name:"Slim",mimes:["text/x-slim","application/x-slim"],mode:"slim",ext:["slim"]},{name:"Smalltalk",mime:"text/x-stsrc",mode:"smalltalk",ext:["st"]},{name:"Smarty",mime:"text/x-smarty",mode:"smarty",ext:["tpl"]},{name:"Solr",mime:"text/x-solr",mode:"solr"},{name:"SML",mime:"text/x-sml",mode:"mllike",ext:["sml","sig","fun","smackspec"]},{name:"Soy",mime:"text/x-soy",mode:"soy",ext:["soy"],alias:["closure template"]},{name:"SPARQL",mime:"application/sparql-query",mode:"sparql",ext:["rq","sparql"],alias:["sparul"]},{name:"Spreadsheet",mime:"text/x-spreadsheet",mode:"spreadsheet",alias:["excel","formula"]},{name:"SQL",mime:"text/x-sql",mode:"sql",ext:["sql"]},{name:"SQLite",mime:"text/x-sqlite",mode:"sql"},{name:"Squirrel",mime:"text/x-squirrel",mode:"clike",ext:["nut"]},{name:"Stylus",mime:"text/x-styl",mode:"stylus",ext:["styl"]},{name:"Swift",mime:"text/x-swift",mode:"swift",ext:["swift"]},{name:"sTeX",mime:"text/x-stex",mode:"stex"},{name:"LaTeX",mime:"text/x-latex",mode:"stex",ext:["text","ltx","tex"],alias:["tex"]},{name:"SystemVerilog",mime:"text/x-systemverilog",mode:"verilog",ext:["v","sv","svh"]},{name:"Tcl",mime:"text/x-tcl",mode:"tcl",ext:["tcl"]},{name:"Textile",mime:"text/x-textile",mode:"textile",ext:["textile"]},{name:"TiddlyWiki",mime:"text/x-tiddlywiki",mode:"tiddlywiki"},{name:"Tiki wiki",mime:"text/tiki",mode:"tiki"},{name:"TOML",mime:"text/x-toml",mode:"toml",ext:["toml"]},{name:"Tornado",mime:"text/x-tornado",mode:"tornado"},{name:"troff",mime:"text/troff",mode:"troff",ext:["1","2","3","4","5","6","7","8","9"]},{name:"TTCN",mime:"text/x-ttcn",mode:"ttcn",ext:["ttcn","ttcn3","ttcnpp"]},{name:"TTCN_CFG",mime:"text/x-ttcn-cfg",mode:"ttcn-cfg",ext:["cfg"]},{name:"Turtle",mime:"text/turtle",mode:"turtle",ext:["ttl"]},{name:"TypeScript",mime:"application/typescript",mode:"javascript",ext:["ts"],alias:["ts"]},{name:"TypeScript-JSX",mime:"text/typescript-jsx",mode:"jsx",ext:["tsx"],alias:["tsx"]},{name:"Twig",mime:"text/x-twig",mode:"twig"},{name:"Web IDL",mime:"text/x-webidl",mode:"webidl",ext:["webidl"]},{name:"VB.NET",mime:"text/x-vb",mode:"vb",ext:["vb"]},{name:"VBScript",mime:"text/vbscript",mode:"vbscript",ext:["vbs"]},{name:"Velocity",mime:"text/velocity",mode:"velocity",ext:["vtl"]},{name:"Verilog",mime:"text/x-verilog",mode:"verilog",ext:["v"]},{name:"VHDL",mime:"text/x-vhdl",mode:"vhdl",ext:["vhd","vhdl"]},{name:"Vue.js Component",mimes:["script/x-vue","text/x-vue"],mode:"vue",ext:["vue"]},{name:"XML",mimes:["application/xml","text/xml"],mode:"xml",ext:["xml","xsl","xsd","svg"],alias:["rss","wsdl","xsd"]},{name:"XQuery",mime:"application/xquery",mode:"xquery",ext:["xy","xquery"]},{name:"Yacas",mime:"text/x-yacas",mode:"yacas",ext:["ys"]},{name:"YAML",mimes:["text/x-yaml","text/yaml"],mode:"yaml",ext:["yaml","yml"],alias:["yml"]},{name:"Z80",mime:"text/x-z80",mode:"z80",ext:["z80"]},{name:"mscgen",mime:"text/x-mscgen",mode:"mscgen",ext:["mscgen","mscin","msc"]},{name:"xu",mime:"text/x-xu",mode:"mscgen",ext:["xu"]},{name:"msgenny",mime:"text/x-msgenny",mode:"mscgen",ext:["msgenny"]},{name:"WebAssembly",mime:"text/webassembly",mode:"wast",ext:["wat","wast"]}];for(var n=0;n-1&&o.substring(u+1,o.length);if(f)return r.findModeByExtension(f)},r.findModeByName=function(o){o=o.toLowerCase();for(var i=0;i!?|~^@]/,w=/^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)"/;function g(ne){for(var de=!1,Me,ze=!1;(Me=ne.next())!=null;){if(!de){if(Me=="/"&&!ze)return;Me=="["?ze=!0:ze&&Me=="]"&&(ze=!1)}de=!de&&Me=="\\"}}var b,C;function j(ne,de,Me){return b=ne,C=Me,de}function E(ne,de){var Me=ne.next();if(Me=='"'||Me=="'")return de.tokenize=N(Me),de.tokenize(ne,de);if(Me=="."&&ne.match(/^\d[\d_]*(?:[eE][+\-]?[\d_]+)?/))return j("number","number");if(Me=="."&&ne.match(".."))return j("spread","meta");if(/[\[\]{}\(\),;\:\.]/.test(Me))return j(Me);if(Me=="="&&ne.eat(">"))return j("=>","operator");if(Me=="0"&&ne.match(/^(?:x[\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/))return j("number","number");if(/\d/.test(Me))return ne.match(/^[\d_]*(?:n|(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)?/),j("number","number");if(Me=="/")return ne.eat("*")?(de.tokenize=T,T(ne,de)):ne.eat("/")?(ne.skipToEnd(),j("comment","comment")):yr(ne,de,1)?(g(ne),ne.match(/^\b(([gimyus])(?![gimyus]*\2))+\b/),j("regexp","string-2")):(ne.eat("="),j("operator","operator",ne.current()));if(Me=="`")return de.tokenize=A,A(ne,de);if(Me=="#"&&ne.peek()=="!")return ne.skipToEnd(),j("meta","meta");if(Me=="#"&&ne.eatWhile(m))return j("variable","property");if(Me=="<"&&ne.match("!--")||Me=="-"&&ne.match("->")&&!/\S/.test(ne.string.slice(0,ne.start)))return ne.skipToEnd(),j("comment","comment");if(S.test(Me))return(Me!=">"||!de.lexical||de.lexical.type!=">")&&(ne.eat("=")?(Me=="!"||Me=="=")&&ne.eat("="):/[<>*+\-|&?]/.test(Me)&&(ne.eat(Me),Me==">"&&ne.eat(Me))),Me=="?"&&ne.eat(".")?j("."):j("operator","operator",ne.current());if(m.test(Me)){ne.eatWhile(m);var ze=ne.current();if(de.lastType!="."){if(v.propertyIsEnumerable(ze)){var Ne=v[ze];return j(Ne.type,Ne.style,ze)}if(ze=="async"&&ne.match(/^(\s|\/\*([^*]|\*(?!\/))*?\*\/)*[\[\(\w]/,!1))return j("async","keyword",ze)}return j("variable","variable",ze)}}function N(ne){return function(de,Me){var ze=!1,Ne;if(c&&de.peek()=="@"&&de.match(w))return Me.tokenize=E,j("jsonld-keyword","meta");for(;(Ne=de.next())!=null&&!(Ne==ne&&!ze);)ze=!ze&&Ne=="\\";return ze||(Me.tokenize=E),j("string","string")}}function T(ne,de){for(var Me=!1,ze;ze=ne.next();){if(ze=="/"&&Me){de.tokenize=E;break}Me=ze=="*"}return j("comment","comment")}function A(ne,de){for(var Me=!1,ze;(ze=ne.next())!=null;){if(!Me&&(ze=="`"||ze=="$"&&ne.eat("{"))){de.tokenize=E;break}Me=!Me&&ze=="\\"}return j("quasi","string-2",ne.current())}var M="([{}])";function D(ne,de){de.fatArrowAt&&(de.fatArrowAt=null);var Me=ne.string.indexOf("=>",ne.start);if(!(Me<0)){if(h){var ze=/:\s*(?:\w+(?:<[^>]*>|\[\])?|\{[^}]*\})\s*$/.exec(ne.string.slice(ne.start,Me));ze&&(Me=ze.index)}for(var Ne=0,et=!1,fr=Me-1;fr>=0;--fr){var Gr=ne.string.charAt(fr),mn=M.indexOf(Gr);if(mn>=0&&mn<3){if(!Ne){++fr;break}if(--Ne==0){Gr=="("&&(et=!0);break}}else if(mn>=3&&mn<6)++Ne;else if(m.test(Gr))et=!0;else if(/["'\/`]/.test(Gr))for(;;--fr){if(fr==0)return;var zl=ne.string.charAt(fr-1);if(zl==Gr&&ne.string.charAt(fr-2)!="\\"){fr--;break}}else if(et&&!Ne){++fr;break}}et&&!Ne&&(de.fatArrowAt=fr)}}var L={atom:!0,number:!0,variable:!0,string:!0,regexp:!0,this:!0,import:!0,"jsonld-keyword":!0};function z(ne,de,Me,ze,Ne,et){this.indented=ne,this.column=de,this.type=Me,this.prev=Ne,this.info=et,ze!=null&&(this.align=ze)}function H(ne,de){if(!f)return!1;for(var Me=ne.localVars;Me;Me=Me.next)if(Me.name==de)return!0;for(var ze=ne.context;ze;ze=ze.prev)for(var Me=ze.vars;Me;Me=Me.next)if(Me.name==de)return!0}function V(ne,de,Me,ze,Ne){var et=ne.cc;for(I.state=ne,I.stream=Ne,I.marked=null,I.cc=et,I.style=de,ne.lexical.hasOwnProperty("align")||(ne.lexical.align=!0);;){var fr=et.length?et.pop():u?ue:fe;if(fr(Me,ze)){for(;et.length&&et[et.length-1].lex;)et.pop()();return I.marked?I.marked:Me=="variable"&&H(ne,ze)?"variable-2":de}}}var I={state:null,column:null,marked:null,cc:null};function q(){for(var ne=arguments.length-1;ne>=0;ne--)I.cc.push(arguments[ne])}function _(){return q.apply(null,arguments),!0}function $(ne,de){for(var Me=de;Me;Me=Me.next)if(Me.name==ne)return!0;return!1}function U(ne){var de=I.state;if(I.marked="def",!!f){if(de.context){if(de.lexical.info=="var"&&de.context&&de.context.block){var Me=K(ne,de.context);if(Me!=null){de.context=Me;return}}else if(!$(ne,de.localVars)){de.localVars=new F(ne,de.localVars);return}}a.globalVars&&!$(ne,de.globalVars)&&(de.globalVars=new F(ne,de.globalVars))}}function K(ne,de){if(de)if(de.block){var Me=K(ne,de.prev);return Me?Me==de.prev?de:new B(Me,de.vars,!0):null}else return $(ne,de.vars)?de:new B(de.prev,new F(ne,de.vars),!1);else return null}function Y(ne){return ne=="public"||ne=="private"||ne=="protected"||ne=="abstract"||ne=="readonly"}function B(ne,de,Me){this.prev=ne,this.vars=de,this.block=Me}function F(ne,de){this.name=ne,this.next=de}var G=new F("this",new F("arguments",null));function X(){I.state.context=new B(I.state.context,I.state.localVars,!1),I.state.localVars=G}function se(){I.state.context=new B(I.state.context,I.state.localVars,!0),I.state.localVars=null}X.lex=se.lex=!0;function re(){I.state.localVars=I.state.context.vars,I.state.context=I.state.context.prev}re.lex=!0;function ie(ne,de){var Me=function(){var ze=I.state,Ne=ze.indented;if(ze.lexical.type=="stat")Ne=ze.lexical.indented;else for(var et=ze.lexical;et&&et.type==")"&&et.align;et=et.prev)Ne=et.indented;ze.lexical=new z(Ne,I.stream.column(),ne,null,ze.lexical,de)};return Me.lex=!0,Me}function oe(){var ne=I.state;ne.lexical.prev&&(ne.lexical.type==")"&&(ne.indented=ne.lexical.indented),ne.lexical=ne.lexical.prev)}oe.lex=!0;function ae(ne){function de(Me){return Me==ne?_():ne==";"||Me=="}"||Me==")"||Me=="]"?q():_(de)}return de}function fe(ne,de){return ne=="var"?_(ie("vardef",de),$e,ae(";"),oe):ne=="keyword a"?_(ie("form"),Ce,fe,oe):ne=="keyword b"?_(ie("form"),fe,oe):ne=="keyword d"?I.stream.match(/^\s*$/,!1)?_():_(ie("stat"),Ee,ae(";"),oe):ne=="debugger"?_(ae(";")):ne=="{"?_(ie("}"),se,Zt,oe,re):ne==";"?_():ne=="if"?(I.state.lexical.info=="else"&&I.state.cc[I.state.cc.length-1]==oe&&I.state.cc.pop()(),_(ie("form"),Ce,fe,oe,Xt)):ne=="function"?_(qr):ne=="for"?_(ie("form"),se,Pr,fe,re,oe):ne=="class"||h&&de=="interface"?(I.marked="keyword",_(ie("form",ne=="class"?ne:de),Kr,oe)):ne=="variable"?h&&de=="declare"?(I.marked="keyword",_(fe)):h&&(de=="module"||de=="enum"||de=="type")&&I.stream.match(/^\s*\w/,!1)?(I.marked="keyword",de=="enum"?_(Je):de=="type"?_(xr,ae("operator"),Le,ae(";")):_(ie("form"),Ye,ae("{"),ie("}"),Zt,oe,oe)):h&&de=="namespace"?(I.marked="keyword",_(ie("form"),ue,fe,oe)):h&&de=="abstract"?(I.marked="keyword",_(fe)):_(ie("stat"),pt):ne=="switch"?_(ie("form"),Ce,ae("{"),ie("}","switch"),se,Zt,oe,oe,re):ne=="case"?_(ue,ae(":")):ne=="default"?_(ae(":")):ne=="catch"?_(ie("form"),X,le,fe,oe,re):ne=="export"?_(ie("stat"),Qe,oe):ne=="import"?_(ie("stat"),st,oe):ne=="async"?_(fe):de=="@"?_(ue,fe):q(ie("stat"),ue,ae(";"),oe)}function le(ne){if(ne=="(")return _(dr,ae(")"))}function ue(ne,de){return Pe(ne,de,!1)}function be(ne,de){return Pe(ne,de,!0)}function Ce(ne){return ne!="("?q():_(ie(")"),Ee,ae(")"),oe)}function Pe(ne,de,Me){if(I.state.fatArrowAt==I.stream.start){var ze=Me?Et:Ke;if(ne=="(")return _(X,ie(")"),Vt(dr,")"),oe,ae("=>"),ze,re);if(ne=="variable")return q(X,Ye,ae("=>"),ze,re)}var Ne=Me?Ve:Oe;return L.hasOwnProperty(ne)?_(Ne):ne=="function"?_(qr,Ne):ne=="class"||h&&de=="interface"?(I.marked="keyword",_(ie("form"),Ts,oe)):ne=="keyword c"||ne=="async"?_(Me?be:ue):ne=="("?_(ie(")"),Ee,ae(")"),oe,Ne):ne=="operator"||ne=="spread"?_(Me?be:ue):ne=="["?_(ie("]"),bt,oe,Ne):ne=="{"?Ge(ht,"}",null,Ne):ne=="quasi"?q(ct,Ne):ne=="new"?_(Re(Me)):_()}function Ee(ne){return ne.match(/[;\}\)\],]/)?q():q(ue)}function Oe(ne,de){return ne==","?_(Ee):Ve(ne,de,!1)}function Ve(ne,de,Me){var ze=Me==!1?Oe:Ve,Ne=Me==!1?ue:be;if(ne=="=>")return _(X,Me?Et:Ke,re);if(ne=="operator")return/\+\+|--/.test(de)||h&&de=="!"?_(ze):h&&de=="<"&&I.stream.match(/^([^<>]|<[^<>]*>)*>\s*\(/,!1)?_(ie(">"),Vt(Le,">"),oe,ze):de=="?"?_(ue,ae(":"),Ne):_(Ne);if(ne=="quasi")return q(ct,ze);if(ne!=";"){if(ne=="(")return Ge(be,")","call",ze);if(ne==".")return _(_t,ze);if(ne=="[")return _(ie("]"),Ee,ae("]"),oe,ze);if(h&&de=="as")return I.marked="keyword",_(Le,ze);if(ne=="regexp")return I.state.lastType=I.marked="operator",I.stream.backUp(I.stream.pos-I.stream.start-1),_(Ne)}}function ct(ne,de){return ne!="quasi"?q():de.slice(de.length-2)!="${"?_(ct):_(Ee,gt)}function gt(ne){if(ne=="}")return I.marked="string-2",I.state.tokenize=A,_(ct)}function Ke(ne){return D(I.stream,I.state),q(ne=="{"?fe:ue)}function Et(ne){return D(I.stream,I.state),q(ne=="{"?fe:be)}function Re(ne){return function(de){return de=="."?_(ne?ot:xt):de=="variable"&&h?_(nt,ne?Ve:Oe):q(ne?be:ue)}}function xt(ne,de){if(de=="target")return I.marked="keyword",_(Oe)}function ot(ne,de){if(de=="target")return I.marked="keyword",_(Ve)}function pt(ne){return ne==":"?_(oe,fe):q(Oe,ae(";"),oe)}function _t(ne){if(ne=="variable")return I.marked="property",_()}function ht(ne,de){if(ne=="async")return I.marked="property",_(ht);if(ne=="variable"||I.style=="keyword"){if(I.marked="property",de=="get"||de=="set")return _(It);var Me;return h&&I.state.fatArrowAt==I.stream.start&&(Me=I.stream.match(/^\s*:\s*/,!1))&&(I.state.fatArrowAt=I.stream.pos+Me[0].length),_(Ft)}else{if(ne=="number"||ne=="string")return I.marked=c?"property":I.style+" property",_(Ft);if(ne=="jsonld-keyword")return _(Ft);if(h&&Y(de))return I.marked="keyword",_(ht);if(ne=="[")return _(ue,nr,ae("]"),Ft);if(ne=="spread")return _(be,Ft);if(de=="*")return I.marked="keyword",_(ht);if(ne==":")return q(Ft)}}function It(ne){return ne!="variable"?q(Ft):(I.marked="property",_(qr))}function Ft(ne){if(ne==":")return _(be);if(ne=="(")return q(qr)}function Vt(ne,de,Me){function ze(Ne,et){if(Me?Me.indexOf(Ne)>-1:Ne==","){var fr=I.state.lexical;return fr.info=="call"&&(fr.pos=(fr.pos||0)+1),_(function(Gr,mn){return Gr==de||mn==de?q():q(ne)},ze)}return Ne==de||et==de?_():Me&&Me.indexOf(";")>-1?q(ne):_(ae(de))}return function(Ne,et){return Ne==de||et==de?_():q(ne,ze)}}function Ge(ne,de,Me){for(var ze=3;ze"),Le);if(ne=="quasi")return q(Se,Fe)}function Dt(ne){if(ne=="=>")return _(Le)}function Ze(ne){return ne.match(/[\}\)\]]/)?_():ne==","||ne==";"?_(Ze):q(mr,Ze)}function mr(ne,de){if(ne=="variable"||I.style=="keyword")return I.marked="property",_(mr);if(de=="?"||ne=="number"||ne=="string")return _(mr);if(ne==":")return _(Le);if(ne=="[")return _(ae("variable"),vr,ae("]"),mr);if(ne=="(")return q(Gt,mr);if(!ne.match(/[;\}\)\],]/))return _()}function Se(ne,de){return ne!="quasi"?q():de.slice(de.length-2)!="${"?_(Se):_(Le,je)}function je(ne){if(ne=="}")return I.marked="string-2",I.state.tokenize=A,_(Se)}function we(ne,de){return ne=="variable"&&I.stream.match(/^\s*[?:]/,!1)||de=="?"?_(we):ne==":"?_(Le):ne=="spread"?_(we):q(Le)}function Fe(ne,de){if(de=="<")return _(ie(">"),Vt(Le,">"),oe,Fe);if(de=="|"||ne=="."||de=="&")return _(Le);if(ne=="[")return _(Le,ae("]"),Fe);if(de=="extends"||de=="implements")return I.marked="keyword",_(Le);if(de=="?")return _(Le,ae(":"),Le)}function nt(ne,de){if(de=="<")return _(ie(">"),Vt(Le,">"),oe,Fe)}function rt(){return q(Le,Ie)}function Ie(ne,de){if(de=="=")return _(Le)}function $e(ne,de){return de=="enum"?(I.marked="keyword",_(Je)):q(Ye,nr,Pt,Rt)}function Ye(ne,de){if(h&&Y(de))return I.marked="keyword",_(Ye);if(ne=="variable")return U(de),_();if(ne=="spread")return _(Ye);if(ne=="[")return Ge(qt,"]");if(ne=="{")return Ge(mt,"}")}function mt(ne,de){return ne=="variable"&&!I.stream.match(/^\s*:/,!1)?(U(de),_(Pt)):(ne=="variable"&&(I.marked="property"),ne=="spread"?_(Ye):ne=="}"?q():ne=="["?_(ue,ae("]"),ae(":"),mt):_(ae(":"),Ye,Pt))}function qt(){return q(Ye,Pt)}function Pt(ne,de){if(de=="=")return _(be)}function Rt(ne){if(ne==",")return _($e)}function Xt(ne,de){if(ne=="keyword b"&&de=="else")return _(ie("form","else"),fe,oe)}function Pr(ne,de){if(de=="await")return _(Pr);if(ne=="(")return _(ie(")"),Nr,oe)}function Nr(ne){return ne=="var"?_($e,Vr):ne=="variable"?_(Vr):q(Vr)}function Vr(ne,de){return ne==")"?_():ne==";"?_(Vr):de=="in"||de=="of"?(I.marked="keyword",_(ue,Vr)):q(ue,Vr)}function qr(ne,de){if(de=="*")return I.marked="keyword",_(qr);if(ne=="variable")return U(de),_(qr);if(ne=="(")return _(X,ie(")"),Vt(dr,")"),oe,pr,fe,re);if(h&&de=="<")return _(ie(">"),Vt(rt,">"),oe,qr)}function Gt(ne,de){if(de=="*")return I.marked="keyword",_(Gt);if(ne=="variable")return U(de),_(Gt);if(ne=="(")return _(X,ie(")"),Vt(dr,")"),oe,pr,re);if(h&&de=="<")return _(ie(">"),Vt(rt,">"),oe,Gt)}function xr(ne,de){if(ne=="keyword"||ne=="variable")return I.marked="type",_(xr);if(de=="<")return _(ie(">"),Vt(rt,">"),oe)}function dr(ne,de){return de=="@"&&_(ue,dr),ne=="spread"?_(dr):h&&Y(de)?(I.marked="keyword",_(dr)):h&&ne=="this"?_(nr,Pt):q(Ye,nr,Pt)}function Ts(ne,de){return ne=="variable"?Kr(ne,de):or(ne,de)}function Kr(ne,de){if(ne=="variable")return U(de),_(or)}function or(ne,de){if(de=="<")return _(ie(">"),Vt(rt,">"),oe,or);if(de=="extends"||de=="implements"||h&&ne==",")return de=="implements"&&(I.marked="keyword"),_(h?Le:ue,or);if(ne=="{")return _(ie("}"),ut,oe)}function ut(ne,de){if(ne=="async"||ne=="variable"&&(de=="static"||de=="get"||de=="set"||h&&Y(de))&&I.stream.match(/^\s+#?[\w$\xa1-\uffff]/,!1))return I.marked="keyword",_(ut);if(ne=="variable"||I.style=="keyword")return I.marked="property",_(ge,ut);if(ne=="number"||ne=="string")return _(ge,ut);if(ne=="[")return _(ue,nr,ae("]"),ge,ut);if(de=="*")return I.marked="keyword",_(ut);if(h&&ne=="(")return q(Gt,ut);if(ne==";"||ne==",")return _(ut);if(ne=="}")return _();if(de=="@")return _(ue,ut)}function ge(ne,de){if(de=="!"||de=="?")return _(ge);if(ne==":")return _(Le,Pt);if(de=="=")return _(be);var Me=I.state.lexical.prev,ze=Me&&Me.info=="interface";return q(ze?Gt:qr)}function Qe(ne,de){return de=="*"?(I.marked="keyword",_(Jt,ae(";"))):de=="default"?(I.marked="keyword",_(ue,ae(";"))):ne=="{"?_(Vt(Xe,"}"),Jt,ae(";")):q(fe)}function Xe(ne,de){if(de=="as")return I.marked="keyword",_(ae("variable"));if(ne=="variable")return q(be,Xe)}function st(ne){return ne=="string"?_():ne=="("?q(ue):ne=="."?q(Oe):q(Ht,At,Jt)}function Ht(ne,de){return ne=="{"?Ge(Ht,"}"):(ne=="variable"&&U(de),de=="*"&&(I.marked="keyword"),_(Ut))}function At(ne){if(ne==",")return _(Ht,At)}function Ut(ne,de){if(de=="as")return I.marked="keyword",_(Ht)}function Jt(ne,de){if(de=="from")return I.marked="keyword",_(ue)}function bt(ne){return ne=="]"?_():q(Vt(be,"]"))}function Je(){return q(ie("form"),Ye,ae("{"),ie("}"),Vt(Wt,"}"),oe,oe)}function Wt(){return q(Ye,Pt)}function Mr(ne,de){return ne.lastType=="operator"||ne.lastType==","||S.test(de.charAt(0))||/[,.]/.test(de.charAt(0))}function yr(ne,de,Me){return de.tokenize==E&&/^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\[{}\(,;:]|=>)$/.test(de.lastType)||de.lastType=="quasi"&&/\{\s*$/.test(ne.string.slice(0,ne.pos-(Me||0)))}return{startState:function(ne){var de={tokenize:E,lastType:"sof",cc:[],lexical:new z((ne||0)-o,0,"block",!1),localVars:a.localVars,context:a.localVars&&new B(null,null,!1),indented:ne||0};return a.globalVars&&typeof a.globalVars=="object"&&(de.globalVars=a.globalVars),de},token:function(ne,de){if(ne.sol()&&(de.lexical.hasOwnProperty("align")||(de.lexical.align=!1),de.indented=ne.indentation(),D(ne,de)),de.tokenize!=T&&ne.eatSpace())return null;var Me=de.tokenize(ne,de);return b=="comment"?Me:(de.lastType=b=="operator"&&(C=="++"||C=="--")?"incdec":b,V(de,Me,b,C,ne))},indent:function(ne,de){if(ne.tokenize==T||ne.tokenize==A)return r.Pass;if(ne.tokenize!=E)return 0;var Me=de&&de.charAt(0),ze=ne.lexical,Ne;if(!/^\s*else\b/.test(de))for(var et=ne.cc.length-1;et>=0;--et){var fr=ne.cc[et];if(fr==oe)ze=ze.prev;else if(fr!=Xt&&fr!=re)break}for(;(ze.type=="stat"||ze.type=="form")&&(Me=="}"||(Ne=ne.cc[ne.cc.length-1])&&(Ne==Oe||Ne==Ve)&&!/^[,\.=+\-*:?[\(]/.test(de));)ze=ze.prev;i&&ze.type==")"&&ze.prev.type=="stat"&&(ze=ze.prev);var Gr=ze.type,mn=Me==Gr;return Gr=="vardef"?ze.indented+(ne.lastType=="operator"||ne.lastType==","?ze.info.length+1:0):Gr=="form"&&Me=="{"?ze.indented:Gr=="form"?ze.indented+o:Gr=="stat"?ze.indented+(Mr(ne,de)?i||o:0):ze.info=="switch"&&!mn&&a.doubleIndentSwitch!=!1?ze.indented+(/^(?:case|default)\b/.test(de)?o:2*o):ze.align?ze.column+(mn?0:1):ze.indented+(mn?0:o)},electricInput:/^\s*(?:case .*?:|default:|\{|\})$/,blockCommentStart:u?null:"/*",blockCommentEnd:u?null:"*/",blockCommentContinue:u?null:" * ",lineComment:u?null:"//",fold:"brace",closeBrackets:"()[]{}''\"\"``",helperType:u?"json":"javascript",jsonldMode:c,jsonMode:u,expressionAllowed:yr,skipExpression:function(ne){V(ne,"atom","atom","true",new r.StringStream("",2,null))}}}),r.registerHelper("wordChars","javascript",/[\w$]/),r.defineMIME("text/javascript","javascript"),r.defineMIME("text/ecmascript","javascript"),r.defineMIME("application/javascript","javascript"),r.defineMIME("application/x-javascript","javascript"),r.defineMIME("application/ecmascript","javascript"),r.defineMIME("application/json",{name:"javascript",json:!0}),r.defineMIME("application/x-json",{name:"javascript",json:!0}),r.defineMIME("application/manifest+json",{name:"javascript",json:!0}),r.defineMIME("application/ld+json",{name:"javascript",jsonld:!0}),r.defineMIME("text/typescript",{name:"javascript",typescript:!0}),r.defineMIME("application/typescript",{name:"javascript",typescript:!0})})}()),YD.exports}var VU=p2e();const m2e=nl(VU),qU=cw({__proto__:null,default:m2e},[VU]);var XD={exports:{}},QD;function g2e(){return QD||(QD=1,function(e,t){(function(r){r(Rc)})(function(r){var n={autoSelfClosers:{area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},implicitlyClosed:{dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},contextGrabbers:{dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}},doNotIndent:{pre:!0},allowUnquoted:!0,allowMissing:!0,caseFold:!0},a={autoSelfClosers:{},implicitlyClosed:{},contextGrabbers:{},doNotIndent:{},allowUnquoted:!1,allowMissing:!1,allowMissingTagName:!1,caseFold:!1};r.defineMode("xml",function(o,i){var c=o.indentUnit,u={},f=i.htmlMode?n:a;for(var h in f)u[h]=f[h];for(var h in i)u[h]=i[h];var m,v;function S(_,$){function U(B){return $.tokenize=B,B(_,$)}var K=_.next();if(K=="<")return _.eat("!")?_.eat("[")?_.match("CDATA[")?U(b("atom","]]>")):null:_.match("--")?U(b("comment","-->")):_.match("DOCTYPE",!0,!0)?(_.eatWhile(/[\w\._\-]/),U(C(1))):null:_.eat("?")?(_.eatWhile(/[\w\._\-]/),$.tokenize=b("meta","?>"),"meta"):(m=_.eat("/")?"closeTag":"openTag",$.tokenize=w,"tag bracket");if(K=="&"){var Y;return _.eat("#")?_.eat("x")?Y=_.eatWhile(/[a-fA-F\d]/)&&_.eat(";"):Y=_.eatWhile(/[\d]/)&&_.eat(";"):Y=_.eatWhile(/[\w\.\-:]/)&&_.eat(";"),Y?"atom":"error"}else return _.eatWhile(/[^&<]/),null}S.isInText=!0;function w(_,$){var U=_.next();if(U==">"||U=="/"&&_.eat(">"))return $.tokenize=S,m=U==">"?"endTag":"selfcloseTag","tag bracket";if(U=="=")return m="equals",null;if(U=="<"){$.tokenize=S,$.state=A,$.tagName=$.tagStart=null;var K=$.tokenize(_,$);return K?K+" tag error":"tag error"}else return/[\'\"]/.test(U)?($.tokenize=g(U),$.stringStartCol=_.column(),$.tokenize(_,$)):(_.match(/^[^\s\u00a0=<>\"\']*[^\s\u00a0=<>\"\'\/]/),"word")}function g(_){var $=function(U,K){for(;!U.eol();)if(U.next()==_){K.tokenize=w;break}return"string"};return $.isInAttribute=!0,$}function b(_,$){return function(U,K){for(;!U.eol();){if(U.match($)){K.tokenize=S;break}U.next()}return _}}function C(_){return function($,U){for(var K;(K=$.next())!=null;){if(K=="<")return U.tokenize=C(_+1),U.tokenize($,U);if(K==">")if(_==1){U.tokenize=S;break}else return U.tokenize=C(_-1),U.tokenize($,U)}return"meta"}}function j(_){return _&&_.toLowerCase()}function E(_,$,U){this.prev=_.context,this.tagName=$||"",this.indent=_.indented,this.startOfLine=U,(u.doNotIndent.hasOwnProperty($)||_.context&&_.context.noIndent)&&(this.noIndent=!0)}function N(_){_.context&&(_.context=_.context.prev)}function T(_,$){for(var U;;){if(!_.context||(U=_.context.tagName,!u.contextGrabbers.hasOwnProperty(j(U))||!u.contextGrabbers[j(U)].hasOwnProperty(j($))))return;N(_)}}function A(_,$,U){return _=="openTag"?(U.tagStart=$.column(),M):_=="closeTag"?D:A}function M(_,$,U){return _=="word"?(U.tagName=$.current(),v="tag",H):u.allowMissingTagName&&_=="endTag"?(v="tag bracket",H(_,$,U)):(v="error",M)}function D(_,$,U){if(_=="word"){var K=$.current();return U.context&&U.context.tagName!=K&&u.implicitlyClosed.hasOwnProperty(j(U.context.tagName))&&N(U),U.context&&U.context.tagName==K||u.matchClosing===!1?(v="tag",L):(v="tag error",z)}else return u.allowMissingTagName&&_=="endTag"?(v="tag bracket",L(_,$,U)):(v="error",z)}function L(_,$,U){return _!="endTag"?(v="error",L):(N(U),A)}function z(_,$,U){return v="error",L(_,$,U)}function H(_,$,U){if(_=="word")return v="attribute",V;if(_=="endTag"||_=="selfcloseTag"){var K=U.tagName,Y=U.tagStart;return U.tagName=U.tagStart=null,_=="selfcloseTag"||u.autoSelfClosers.hasOwnProperty(j(K))?T(U,K):(T(U,K),U.context=new E(U,K,Y==U.indented)),A}return v="error",H}function V(_,$,U){return _=="equals"?I:(u.allowMissing||(v="error"),H(_,$,U))}function I(_,$,U){return _=="string"?q:_=="word"&&u.allowUnquoted?(v="string",H):(v="error",H(_,$,U))}function q(_,$,U){return _=="string"?q:H(_,$,U)}return{startState:function(_){var $={tokenize:S,state:A,indented:_||0,tagName:null,tagStart:null,context:null};return _!=null&&($.baseIndent=_),$},token:function(_,$){if(!$.tagName&&_.sol()&&($.indented=_.indentation()),_.eatSpace())return null;m=null;var U=$.tokenize(_,$);return(U||m)&&U!="comment"&&(v=null,$.state=$.state(m||U,_,$),v&&(U=v=="error"?U+" error":v)),U},indent:function(_,$,U){var K=_.context;if(_.tokenize.isInAttribute)return _.tagStart==_.indented?_.stringStartCol+1:_.indented+c;if(K&&K.noIndent)return r.Pass;if(_.tokenize!=w&&_.tokenize!=S)return U?U.match(/^(\s*)/)[0].length:0;if(_.tagName)return u.multilineTagIndentPastTag!==!1?_.tagStart+_.tagName.length+2:_.tagStart+c*(u.multilineTagIndentFactor||1);if(u.alignCDATA&&/$/,blockCommentStart:"",configuration:u.htmlMode?"html":"xml",helperType:u.htmlMode?"html":"xml",skipAttribute:function(_){_.state==I&&(_.state=H)},xmlCurrentTag:function(_){return _.tagName?{name:_.tagName,close:_.type=="closeTag"}:null},xmlCurrentContext:function(_){for(var $=[],U=_.context;U;U=U.prev)$.push(U.tagName);return $.reverse()}}}),r.defineMIME("text/xml","xml"),r.defineMIME("application/xml","xml"),r.mimeModes.hasOwnProperty("text/html")||r.defineMIME("text/html",{name:"xml",htmlMode:!0})})}()),XD.exports}var KU=g2e();const v2e=nl(KU),GU=cw({__proto__:null,default:v2e},[KU]);(function(e,t){(function(r){r(Rc)})(function(r){var n="CodeMirror-activeline",a="CodeMirror-activeline-background",o="CodeMirror-activeline-gutter";r.defineOption("styleActiveLine",!1,function(h,m,v){var S=v==r.Init?!1:v;m!=S&&(S&&(h.off("beforeSelectionChange",f),i(h),delete h.state.activeLines),m&&(h.state.activeLines=[],u(h,h.listSelections()),h.on("beforeSelectionChange",f)))});function i(h){for(var m=0;m2&&T.token&&typeof T.token!="string"){for(var D=2;D-1)return r.Pass;var C=w.indent.length-1,j=v[w.state];e:for(;;){for(var E=0;E{var j;const{options:r={},value:n="",width:a="100%",height:o="100%",isDark:i=!1,isCmd:c=!1,autofocus:u=!0,lineWrapping:f,lineNumbers:h=!0,lazyLoadMode:m=!0}=e,v=p.useRef(null),S=p.useRef(null),w=p.useRef(e),g={tabSize:2,scrollbarStyle:"simple",lineNumbers:h,viewportMargin:1/0,styleActiveLine:!0,lineWrapping:f,autofocus:u,lineNumberFormatter:E=>c?">_":"".concat(E),showCursorWhenSelecting:!0};p.useImperativeHandle(t,()=>({editor:v,textarea:S.current})),w.current=e;function b(){const N=Object.keys(e).filter(A=>/^on+/.test(A)),T={};return N.forEach(A=>{const M=A.slice(2);M&&M[0]&&(T[A]=M.replace(M[0],M[0].toLowerCase()))}),T}function C(T){return pe(this,arguments,function*(E,N={}){if(typeof N=="object"&&window){const A=Xg.findModeByName(N.mode||"");m&&A&&A.mode&&(A.mode==="dart"&&(yield ve(()=>import("./clike-DTXsj3bR.js").then(M=>M.c),[])),yield y2e("codemirror/mode/".concat(A.mode,"/").concat(A.mode))),A&&(N.mode=A.mime),Object.keys(N).forEach(M=>{(N[M]||N[M]===!1)&&JSON.stringify(N[M])&&E.setOption(M,N[M])})}})}return p.useEffect(()=>{if(!v.current&&S.current){const E=Rc.fromTextArea(S.current,R(R({},g),r)),N=b();Object.keys(N).forEach(T=>{E.on(N[T],(...A)=>w.current[T](...A))}),(a||o)&&E.setSize(a,o),v.current=E,C(E,R(R({},g),r))}return()=>{v.current&&(v.current.toTextArea(),v.current=null)}},[S.current]),p.useMemo(()=>{if(!v.current)return;const E=v.current.getValue();n!==void 0&&n!==E&&v.current.setValue(n)},[n,v]),p.useMemo(()=>{v.current&&v.current.setSize(a,o)},[a,o,v]),p.useMemo(()=>{v.current&&C(v.current,R(R({},g),r))},[v,r]),s.jsxs("div",{className:"".concat(i?"code-is-dark":"code-is-light"," w-full"),children:[s.jsx("textarea",{ref:S,defaultValue:n,className:"hidden"}),s.jsx(me,{className:"absolute w-full items-end justify-end h-0",children:s.jsx("div",{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5 relative top-[-16px] right-[36px] select-none",children:(j=r.mode)==null?void 0:j.toString()})})]})});function y2e(e){switch(e){case"codemirror/mode/apl/apl":case"codemirror/mode/apl/apl.js":return ve(()=>import("./apl-uWNl4Rnd.js").then(t=>t.a),[]);case"codemirror/mode/asciiarmor/asciiarmor":case"codemirror/mode/asciiarmor/asciiarmor.js":return ve(()=>import("./asciiarmor-uLnLNHQs.js").then(t=>t.a),[]);case"codemirror/mode/asn.1/asn.1":case"codemirror/mode/asn.1/asn.1.js":return ve(()=>import("./asn.1-CLnHba09.js").then(t=>t.a),[]);case"codemirror/mode/asterisk/asterisk":case"codemirror/mode/asterisk/asterisk.js":return ve(()=>import("./asterisk-DYvX5ZvL.js").then(t=>t.a),[]);case"codemirror/mode/brainfuck/brainfuck":case"codemirror/mode/brainfuck/brainfuck.js":return ve(()=>import("./brainfuck-CZMfAm49.js").then(t=>t.b),[]);case"codemirror/mode/clike/clike":case"codemirror/mode/clike/clike.js":return ve(()=>import("./clike-DTXsj3bR.js").then(t=>t.c),[]);case"codemirror/mode/clojure/clojure":case"codemirror/mode/clojure/clojure.js":return ve(()=>import("./clojure-CrtOjAI7.js").then(t=>t.c),[]);case"codemirror/mode/cmake/cmake":case"codemirror/mode/cmake/cmake.js":return ve(()=>import("./cmake-CXBlz0RC.js").then(t=>t.c),[]);case"codemirror/mode/cobol/cobol":case"codemirror/mode/cobol/cobol.js":return ve(()=>import("./cobol-BbwjrtMi.js").then(t=>t.c),[]);case"codemirror/mode/coffeescript/coffeescript":case"codemirror/mode/coffeescript/coffeescript.js":return ve(()=>import("./coffeescript-CSI3jYdr.js").then(t=>t.c),[]);case"codemirror/mode/commonlisp/commonlisp":case"codemirror/mode/commonlisp/commonlisp.js":return ve(()=>import("./commonlisp-CM6pBWWL.js").then(t=>t.c),[]);case"codemirror/mode/crystal/crystal":case"codemirror/mode/crystal/crystal.js":return ve(()=>import("./crystal-Bs_OmcfS.js").then(t=>t.c),[]);case"codemirror/mode/css/css":case"codemirror/mode/css/css.js":return ve(()=>import("./css-DspWBOZK.js").then(t=>t.c),[]);case"codemirror/mode/cypher/cypher":case"codemirror/mode/cypher/cypher.js":return ve(()=>import("./cypher-CBjeUUku.js").then(t=>t.c),[]);case"codemirror/mode/d/d":case"codemirror/mode/d/d.js":return ve(()=>import("./d-FsTwCPKI.js").then(t=>t.d),[]);case"codemirror/mode/dart/dart":case"codemirror/mode/dart/dart.js":return ve(()=>import("./dart-COLtiYot.js").then(t=>t.d),__vite__mapDeps([0,1]));case"codemirror/mode/diff/diff":case"codemirror/mode/diff/diff.js":return ve(()=>import("./diff-BvMxvVID.js").then(t=>t.d),[]);case"codemirror/mode/django/django":case"codemirror/mode/django/django.js":return ve(()=>import("./django-BysLYoq4.js").then(t=>t.d),__vite__mapDeps([2,3,4,5]));case"codemirror/mode/dockerfile/dockerfile":case"codemirror/mode/dockerfile/dockerfile.js":return ve(()=>import("./dockerfile-DHpsbdJo.js").then(t=>t.d),[]);case"codemirror/mode/dtd/dtd":case"codemirror/mode/dtd/dtd.js":return ve(()=>import("./dtd-Bn_CyHBm.js").then(t=>t.d),[]);case"codemirror/mode/dylan/dylan":case"codemirror/mode/dylan/dylan.js":return ve(()=>import("./dylan-BcKt62m8.js").then(t=>t.d),[]);case"codemirror/mode/ebnf/ebnf":case"codemirror/mode/ebnf/ebnf.js":return ve(()=>import("./ebnf-B_0Uc901.js").then(t=>t.e),[]);case"codemirror/mode/ecl/ecl":case"codemirror/mode/ecl/ecl.js":return ve(()=>import("./ecl-ThHHYZiK.js").then(t=>t.e),[]);case"codemirror/mode/eiffel/eiffel":case"codemirror/mode/eiffel/eiffel.js":return ve(()=>import("./eiffel-aG3JCqy2.js").then(t=>t.e),[]);case"codemirror/mode/elm/elm":case"codemirror/mode/elm/elm.js":return ve(()=>import("./elm-DUTg0fXQ.js").then(t=>t.e),[]);case"codemirror/mode/erlang/erlang":case"codemirror/mode/erlang/erlang.js":return ve(()=>import("./erlang-B5ejRB00.js").then(t=>t.e),[]);case"codemirror/mode/factor/factor":case"codemirror/mode/factor/factor.js":return ve(()=>import("./factor-B-2k0sg6.js").then(t=>t.f),[]);case"codemirror/mode/fcl/fcl":case"codemirror/mode/fcl/fcl.js":return ve(()=>import("./fcl-BwvxB4LC.js").then(t=>t.f),[]);case"codemirror/mode/forth/forth":case"codemirror/mode/forth/forth.js":return ve(()=>import("./forth-Dh9I33-m.js").then(t=>t.f),[]);case"codemirror/mode/fortran/fortran":case"codemirror/mode/fortran/fortran.js":return ve(()=>import("./fortran-ohqMCNna.js").then(t=>t.f),[]);case"codemirror/mode/gas/gas":case"codemirror/mode/gas/gas.js":return ve(()=>import("./gas-BD87IpR3.js").then(t=>t.g),[]);case"codemirror/mode/gfm/gfm":case"codemirror/mode/gfm/gfm.js":return ve(()=>import("./gfm-DR98ypxt.js").then(t=>t.g),__vite__mapDeps([6,7,5]));case"codemirror/mode/gherkin/gherkin":case"codemirror/mode/gherkin/gherkin.js":return ve(()=>import("./gherkin-CILK4XJC.js").then(t=>t.g),[]);case"codemirror/mode/go/go":case"codemirror/mode/go/go.js":return ve(()=>import("./go-D77YzpTg.js").then(t=>t.g),[]);case"codemirror/mode/groovy/groovy":case"codemirror/mode/groovy/groovy.js":return ve(()=>import("./groovy-zMN2AHil.js").then(t=>t.g),[]);case"codemirror/mode/haml/haml":case"codemirror/mode/haml/haml.js":return ve(()=>import("./haml-6yD3wHUa.js").then(t=>t.h),__vite__mapDeps([8,3,4,9]));case"codemirror/mode/handlebars/handlebars":case"codemirror/mode/handlebars/handlebars.js":return ve(()=>import("./handlebars-CTdSxJnI.js").then(t=>t.h),__vite__mapDeps([10,11]));case"codemirror/mode/haskell/haskell":case"codemirror/mode/haskell/haskell.js":return ve(()=>import("./haskell-4oxNvi7O.js").then(t=>t.h),[]);case"codemirror/mode/haskell-literate/haskell-literate":case"codemirror/mode/haskell-literate/haskell-literate.js":return ve(()=>import("./haskell-literate-aJuXZtaZ.js").then(t=>t.h),__vite__mapDeps([12,13]));case"codemirror/mode/haxe/haxe":case"codemirror/mode/haxe/haxe.js":return ve(()=>import("./haxe-BszN7sTQ.js").then(t=>t.h),[]);case"codemirror/mode/htmlembedded/htmlembedded":case"codemirror/mode/htmlembedded/htmlembedded.js":return ve(()=>import("./htmlembedded-_L-jPqW8.js").then(t=>t.h),__vite__mapDeps([14,3,4,11]));case"codemirror/mode/htmlmixed/htmlmixed":case"codemirror/mode/htmlmixed/htmlmixed.js":return ve(()=>import("./htmlmixed-Dg5Ceo2a.js").then(t=>t.h),__vite__mapDeps([15,3,4]));case"codemirror/mode/http/http":case"codemirror/mode/http/http.js":return ve(()=>import("./http-Da24_iL5.js").then(t=>t.h),[]);case"codemirror/mode/idl/idl":case"codemirror/mode/idl/idl.js":return ve(()=>import("./idl-Caw2jBuQ.js").then(t=>t.i),[]);case"codemirror/mode/javascript/javascript":case"codemirror/mode/javascript/javascript.js":return ve(()=>Promise.resolve().then(()=>qU),void 0);case"codemirror/mode/jinja2/jinja2":case"codemirror/mode/jinja2/jinja2.js":return ve(()=>import("./jinja2-SOpxAG1s.js").then(t=>t.j),[]);case"codemirror/mode/jsx/jsx":case"codemirror/mode/jsx/jsx.js":return ve(()=>import("./jsx-BTyhp-q8.js").then(t=>t.j),[]);case"codemirror/mode/julia/julia":case"codemirror/mode/julia/julia.js":return ve(()=>import("./julia-DUPqlAYL.js").then(t=>t.j),[]);case"codemirror/mode/livescript/livescript":case"codemirror/mode/livescript/livescript.js":return ve(()=>import("./livescript-BdOzkfgu.js").then(t=>t.l),[]);case"codemirror/mode/lua/lua":case"codemirror/mode/lua/lua.js":return ve(()=>import("./lua-CJHGFAKo.js").then(t=>t.l),[]);case"codemirror/mode/markdown/markdown":case"codemirror/mode/markdown/markdown.js":return ve(()=>import("./markdown-BZTq6yLV.js").then(t=>t.m),__vite__mapDeps([16,7]));case"codemirror/mode/mathematica/mathematica":case"codemirror/mode/mathematica/mathematica.js":return ve(()=>import("./mathematica-CDyOJZ78.js").then(t=>t.m),[]);case"codemirror/mode/mbox/mbox":case"codemirror/mode/mbox/mbox.js":return ve(()=>import("./mbox-B0cSsYiX.js").then(t=>t.m),[]);case"codemirror/mode/mirc/mirc":case"codemirror/mode/mirc/mirc.js":return ve(()=>import("./mirc-CAYtG7RX.js").then(t=>t.m),[]);case"codemirror/mode/mllike/mllike":case"codemirror/mode/mllike/mllike.js":return ve(()=>import("./mllike-Y-FcYFRA.js").then(t=>t.m),[]);case"codemirror/mode/modelica/modelica":case"codemirror/mode/modelica/modelica.js":return ve(()=>import("./modelica-CAispHI7.js").then(t=>t.m),[]);case"codemirror/mode/mscgen/mscgen":case"codemirror/mode/mscgen/mscgen.js":return ve(()=>import("./mscgen-RmRp0LrJ.js").then(t=>t.m),[]);case"codemirror/mode/mumps/mumps":case"codemirror/mode/mumps/mumps.js":return ve(()=>import("./mumps-GpJXV1Bv.js").then(t=>t.m),[]);case"codemirror/mode/nginx/nginx":case"codemirror/mode/nginx/nginx.js":return ve(()=>import("./nginx-BuCkP3I2.js").then(t=>t.n),[]);case"codemirror/mode/nsis/nsis":case"codemirror/mode/nsis/nsis.js":return ve(()=>import("./nsis-B6J0Yi3P.js").then(t=>t.n),[]);case"codemirror/mode/ntriples/ntriples":case"codemirror/mode/ntriples/ntriples.js":return ve(()=>import("./ntriples-DivszWK7.js").then(t=>t.n),[]);case"codemirror/mode/octave/octave":case"codemirror/mode/octave/octave.js":return ve(()=>import("./octave-Mb9KisJH.js").then(t=>t.o),[]);case"codemirror/mode/oz/oz":case"codemirror/mode/oz/oz.js":return ve(()=>import("./oz-C9Yi7AG4.js").then(t=>t.o),[]);case"codemirror/mode/pascal/pascal":case"codemirror/mode/pascal/pascal.js":return ve(()=>import("./pascal-zNyoTvtX.js").then(t=>t.p),[]);case"codemirror/mode/pegjs/pegjs":case"codemirror/mode/pegjs/pegjs.js":return ve(()=>import("./pegjs-DgeOK2GR.js").then(t=>t.p),[]);case"codemirror/mode/perl/perl":case"codemirror/mode/perl/perl.js":return ve(()=>import("./perl-CeaVfpU_.js").then(t=>t.p),[]);case"codemirror/mode/php/php":case"codemirror/mode/php/php.js":return ve(()=>import("./php-DTDCMqw1.js").then(t=>t.p),__vite__mapDeps([17,3,4,1]));case"codemirror/mode/pig/pig":case"codemirror/mode/pig/pig.js":return ve(()=>import("./pig-BMOqRbCJ.js").then(t=>t.p),[]);case"codemirror/mode/powershell/powershell":case"codemirror/mode/powershell/powershell.js":return ve(()=>import("./powershell-_aMmTds8.js").then(t=>t.p),[]);case"codemirror/mode/properties/properties":case"codemirror/mode/properties/properties.js":return ve(()=>import("./properties-DhugOaQZ.js").then(t=>t.p),[]);case"codemirror/mode/protobuf/protobuf":case"codemirror/mode/protobuf/protobuf.js":return ve(()=>import("./protobuf-Xu4MpogE.js").then(t=>t.p),[]);case"codemirror/mode/pug/pug":case"codemirror/mode/pug/pug.js":return ve(()=>import("./pug-N2IUeQPV.js").then(t=>t.p),__vite__mapDeps([18,4,3]));case"codemirror/mode/puppet/puppet":case"codemirror/mode/puppet/puppet.js":return ve(()=>import("./puppet-BbR9j6vx.js").then(t=>t.p),[]);case"codemirror/mode/python/python":case"codemirror/mode/python/python.js":return ve(()=>import("./python-eCieQxL5.js").then(t=>t.p),[]);case"codemirror/mode/q/q":case"codemirror/mode/q/q.js":return ve(()=>import("./q-E_7McJnt.js").then(t=>t.q),[]);case"codemirror/mode/r/r":case"codemirror/mode/r/r.js":return ve(()=>import("./r-2rjDSe_C.js").then(t=>t.r),[]);case"codemirror/mode/rpm/rpm":case"codemirror/mode/rpm/rpm.js":return ve(()=>import("./rpm-Df_s7vUo.js").then(t=>t.r),[]);case"codemirror/mode/rst/rst":case"codemirror/mode/rst/rst.js":return ve(()=>import("./rst-DackU_vK.js").then(t=>t.r),__vite__mapDeps([19,20,21,5]));case"codemirror/mode/ruby/ruby":case"codemirror/mode/ruby/ruby.js":return ve(()=>import("./ruby-BbI51U8K.js").then(t=>t.r),__vite__mapDeps([22,9]));case"codemirror/mode/rust/rust":case"codemirror/mode/rust/rust.js":return ve(()=>import("./rust-Dtv68Kx2.js").then(t=>t.r),[]);case"codemirror/mode/sas/sas":case"codemirror/mode/sas/sas.js":return ve(()=>import("./sas-B5qtBBwg.js").then(t=>t.s),[]);case"codemirror/mode/sass/sass":case"codemirror/mode/sass/sass.js":return ve(()=>import("./sass-Cm8ghDjq.js").then(t=>t.s),__vite__mapDeps([23,4]));case"codemirror/mode/scheme/scheme":case"codemirror/mode/scheme/scheme.js":return ve(()=>import("./scheme-SKCstF_b.js").then(t=>t.s),[]);case"codemirror/mode/shell/shell":case"codemirror/mode/shell/shell.js":return ve(()=>import("./shell-DSTFE-Kd.js").then(t=>t.s),[]);case"codemirror/mode/sieve/sieve":case"codemirror/mode/sieve/sieve.js":return ve(()=>import("./sieve-BbPzy4fY.js").then(t=>t.s),[]);case"codemirror/mode/slim/slim":case"codemirror/mode/slim/slim.js":return ve(()=>import("./slim-B4YSsZdB.js").then(t=>t.s),__vite__mapDeps([24,3,4,9]));case"codemirror/mode/smalltalk/smalltalk":case"codemirror/mode/smalltalk/smalltalk.js":return ve(()=>import("./smalltalk-Dl6YJ-qo.js").then(t=>t.s),[]);case"codemirror/mode/smarty/smarty":case"codemirror/mode/smarty/smarty.js":return ve(()=>import("./smarty-BU_FSdwV.js").then(t=>t.s),[]);case"codemirror/mode/solr/solr":case"codemirror/mode/solr/solr.js":return ve(()=>import("./solr-Dg_72uSz.js").then(t=>t.s),[]);case"codemirror/mode/soy/soy":case"codemirror/mode/soy/soy.js":return ve(()=>import("./soy-BKqI_b5K.js").then(t=>t.s),__vite__mapDeps([25,3,4]));case"codemirror/mode/sparql/sparql":case"codemirror/mode/sparql/sparql.js":return ve(()=>import("./sparql-DEeuvmRf.js").then(t=>t.s),[]);case"codemirror/mode/spreadsheet/spreadsheet":case"codemirror/mode/spreadsheet/spreadsheet.js":return ve(()=>import("./spreadsheet-D3vFY5_N.js").then(t=>t.s),[]);case"codemirror/mode/sql/sql":case"codemirror/mode/sql/sql.js":return ve(()=>import("./sql-CllU0mRF.js").then(t=>t.s),[]);case"codemirror/mode/stex/stex":case"codemirror/mode/stex/stex.js":return ve(()=>import("./stex-COV-_KiE.js").then(t=>t.s),__vite__mapDeps([26,21]));case"codemirror/mode/stylus/stylus":case"codemirror/mode/stylus/stylus.js":return ve(()=>import("./stylus-WMbBiF91.js").then(t=>t.s),[]);case"codemirror/mode/swift/swift":case"codemirror/mode/swift/swift.js":return ve(()=>import("./swift-DlxJ0AWY.js").then(t=>t.s),[]);case"codemirror/mode/tcl/tcl":case"codemirror/mode/tcl/tcl.js":return ve(()=>import("./tcl-V8MiAbr3.js").then(t=>t.t),[]);case"codemirror/mode/textile/textile":case"codemirror/mode/textile/textile.js":return ve(()=>import("./textile-Py6Rvr8v.js").then(t=>t.t),[]);case"codemirror/mode/tiddlywiki/tiddlywiki":case"codemirror/mode/tiddlywiki/tiddlywiki.js":return ve(()=>import("./tiddlywiki-DvAx8vly.js").then(t=>t.t),[]);case"codemirror/mode/tiki/tiki":case"codemirror/mode/tiki/tiki.js":return ve(()=>import("./tiki-c2DgGfux.js").then(t=>t.t),[]);case"codemirror/mode/toml/toml":case"codemirror/mode/toml/toml.js":return ve(()=>import("./toml-B5bIz0Bo.js").then(t=>t.t),[]);case"codemirror/mode/tornado/tornado":case"codemirror/mode/tornado/tornado.js":return ve(()=>import("./tornado-4gAKeMJS.js").then(t=>t.t),__vite__mapDeps([27,3,4,5]));case"codemirror/mode/troff/troff":case"codemirror/mode/troff/troff.js":return ve(()=>import("./troff-DEclhAB-.js").then(t=>t.t),[]);case"codemirror/mode/ttcn/ttcn":case"codemirror/mode/ttcn/ttcn.js":return ve(()=>import("./ttcn-B64Vtjcj.js").then(t=>t.t),[]);case"codemirror/mode/ttcn-cfg/ttcn-cfg":case"codemirror/mode/ttcn-cfg/ttcn-cfg.js":return ve(()=>import("./ttcn-cfg-BMjbwODQ.js").then(t=>t.t),[]);case"codemirror/mode/turtle/turtle":case"codemirror/mode/turtle/turtle.js":return ve(()=>import("./turtle-CYF2YC-f.js").then(t=>t.t),[]);case"codemirror/mode/twig/twig":case"codemirror/mode/twig/twig.js":return ve(()=>import("./twig-DIAB0sBz.js").then(t=>t.t),__vite__mapDeps([28,11]));case"codemirror/mode/vb/vb":case"codemirror/mode/vb/vb.js":return ve(()=>import("./vb-CyariDFl.js").then(t=>t.v),[]);case"codemirror/mode/vbscript/vbscript":case"codemirror/mode/vbscript/vbscript.js":return ve(()=>import("./vbscript-DXsXzOdf.js").then(t=>t.v),[]);case"codemirror/mode/velocity/velocity":case"codemirror/mode/velocity/velocity.js":return ve(()=>import("./velocity-HBL44oV7.js").then(t=>t.v),[]);case"codemirror/mode/verilog/verilog":case"codemirror/mode/verilog/verilog.js":return ve(()=>import("./verilog-0uN6tB1i.js").then(t=>t.v),[]);case"codemirror/mode/vhdl/vhdl":case"codemirror/mode/vhdl/vhdl.js":return ve(()=>import("./vhdl-CXK8SMqW.js").then(t=>t.v),[]);case"codemirror/mode/vue/vue":case"codemirror/mode/vue/vue.js":return ve(()=>import("./vue-CjDIIftu.js").then(t=>t.v),__vite__mapDeps([29,5,30,4,23,31,18,3,10,11]));case"codemirror/mode/wast/wast":case"codemirror/mode/wast/wast.js":return ve(()=>import("./wast-CiGcLqKn.js").then(t=>t.w),[]);case"codemirror/mode/webidl/webidl":case"codemirror/mode/webidl/webidl.js":return ve(()=>import("./webidl-DHFmlSmh.js").then(t=>t.w),[]);case"codemirror/mode/xml/xml":case"codemirror/mode/xml/xml.js":return ve(()=>Promise.resolve().then(()=>GU),void 0);case"codemirror/mode/xquery/xquery":case"codemirror/mode/xquery/xquery.js":return ve(()=>import("./xquery-CQi0u3Ny.js").then(t=>t.x),[]);case"codemirror/mode/yacas/yacas":case"codemirror/mode/yacas/yacas.js":return ve(()=>import("./yacas-UmEfCONk.js").then(t=>t.y),[]);case"codemirror/mode/yaml/yaml":case"codemirror/mode/yaml/yaml.js":return ve(()=>import("./yaml--Jz1R_lf.js").then(t=>t.y),[]);case"codemirror/mode/yaml-frontmatter/yaml-frontmatter":case"codemirror/mode/yaml-frontmatter/yaml-frontmatter.js":return ve(()=>import("./yaml-frontmatter-DBbz-S_v.js").then(t=>t.y),__vite__mapDeps([32,33]));case"codemirror/mode/z80/z80":case"codemirror/mode/z80/z80.js":return ve(()=>import("./z80-qMS3sr-Q.js").then(t=>t.z),[]);default:return new Promise(function(t,r){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(r.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}const b2e="p",w2e="r",k2e="o",C2e="b",S2e="e",j2e="t",E2e="a",jr=yt(null),r0=k2e+w2e+b2e,B1=E2e+j2e+S2e+C2e;function N2e(){return jr.value&&jr.value.expires&&En().isAfter(En(jr.value.expires))}function U1(){return jr.value&&jr.value.expires&&En(1717950330306).isAfter(En(jr.value.expires),"day")}function YU(){var n;const e=jr.value?En(jr.value.expires).diff(En(),"days"):null,t=(n=jr.value)!=null&&n.expires?En().diff(En(jr.value.expires),"days"):null,r=jr.value&&jr.value.expires?En(jr.value.expires).format("DD MMMM, YYYY"):"";return{licenseExpInDays:e,licenseExpiresDate:r,licenseExpiredDaysAgo:t}}function _2e(){var r,n;const e=(r=jr.value)!=null&&r.issued?En().diff(En(jr.value.issued),"days"):null,t=(n=jr.value)!=null&&n.issued?En(jr.value.issued).format("DD MMMM, YYYY"):"";return{licenseIssuedDaysAgo:e>0?e:null,licenseIssuedDate:t}}(function(e,t){const r=V2,n=e();for(;;)try{if(parseInt(r(453))/1+parseInt(r(463))/2+-parseInt(r(455))/3*(-parseInt(r(452))/4)+-parseInt(r(456))/5+parseInt(r(457))/6*(parseInt(r(465))/7)+-parseInt(r(451))/8+-parseInt(r(462))/9===t)break;n.push(n.shift())}catch(a){n.push(n.shift())}})(q2,740283);function T2e(e){const t=V2,r=e[t(458)]("")[t(454)]()[t(464)](""),n=jr[t(461)];return n!=null&&n.id&&(n!=null&&n[t(460)])&&Array.isArray(n.features)?n.features[t(459)](r):!1}function V2(e,t){const r=q2();return V2=function(n,a){return n=n-451,r[n]},V2(e,t)}function q2(){const e=["value","19224396aNppYF","989064IhZSmn","join","7LPwpzD","1028336fHlCyR","221084cjBjJp","931447iSDAoO","reverse","39litIBm","1170430ScfMYR","6566718isVFIu","split","includes","features"];return q2=function(){return e},q2()}function th(){const e=rl(r0),t=rl(B1),r=W1();return p.useMemo(()=>e&&!t?r?!U1():!0:!!(t&&!r),[jr.value])}function rl(e){return p.useMemo(()=>T2e(e),[jr.value])}function ZU(){return p.useMemo(()=>{var e;return(e=jr==null?void 0:jr.value)==null?void 0:e.language},[jr.value])}function W1(){return p.useMemo(()=>N2e(),[jr.value])}const Al=({className:e=""})=>{const t=th(),{t:r}=Tt();return!t&&s.jsx(lt,{className:"ml-2 ".concat(e),variant:"pro",children:r("Pro",{ns:"common"})})};function XU({id:e}){const{t}=Tt(),r=We(!1),{addImageToItemById:n}=kge(),{uploadImageToItemById:a,uploadImageToItemReset:o}=Cge(),i=p.useRef(null),c=p.useRef(null),u=We(!1);p.useEffect(()=>{var w,g,b,C,j,E;const h=N=>{var T;(T=c.current)==null||T.classList.add("bg-blue-50","!border-blue-400"),N.preventDefault(),N.stopPropagation()},m=N=>{var T;(T=c.current)==null||T.classList.remove("bg-blue-50","!border-blue-400"),N.preventDefault(),N.stopPropagation()},v=N=>{var A;N.preventDefault(),N.stopPropagation();const T=(A=N.dataTransfer)==null?void 0:A.files[0];if(!T)o();else{const M=new FileReader,D=T.type;M.readAsArrayBuffer(T),M.onload=L=>pe(this,null,function*(){var H,V;const z=(H=L.target)==null?void 0:H.result;if(z){const I=Array.from(new Uint8Array(z));u.value=!0,requestAnimationFrame(()=>pe(this,null,function*(){try{yield a({itemId:e,buffer:I,fileType:D})}catch(q){console.error("Error during file upload",q)}u.value=!1}))}o(),r.value=!1,(V=i.current)==null||V.close()})}};if(!c.current)return;(w=c.current)==null||w.addEventListener("dragenter",h),(g=c.current)==null||g.addEventListener("dragleave",m),(b=c.current)==null||b.addEventListener("dragover",h),(C=c.current)==null||C.addEventListener("drop",v);const S=(E=(j=c.current)==null?void 0:j.children)!=null?E:[];for(const N of S)N.addEventListener("dragover",h),N.addEventListener("dragenter",h),N.addEventListener("dragleave",m),N.addEventListener("drop",v);return()=>{var T,A,M,D,L,z;(T=c.current)==null||T.removeEventListener("dragenter",h),(A=c.current)==null||A.removeEventListener("dragleave",m),(M=c.current)==null||M.removeEventListener("dragover",h),(D=c.current)==null||D.removeEventListener("drop",v);const N=(z=(L=c.current)==null?void 0:L.children)!=null?z:[];for(const H of N)H.removeEventListener("dragover",h),H.removeEventListener("dragenter",h),H.removeEventListener("dragleave",m),H.removeEventListener("drop",v)}},[c.current]),p.useEffect(()=>{const h=Li("tauri://file-drop",m=>{var v,S;((v=m.payload)==null?void 0:v.length)>0&&(n({itemId:e,imagePath:m.payload[0]}),r.value=!1,(S=i.current)==null||S.close())});return()=>{h.then(m=>{m()})}},[]);const f=()=>{var h;r.value=!1,o(),(h=i.current)==null||h.close()};return s.jsxs(xa,{defaultOpen:!1,open:r.value,modal:!0,onOpenChange:h=>{var m;h||(m=i.current)==null||m.close()},children:[s.jsx(ya,{asChild:!0,children:s.jsx(Q,{tabIndex:0,className:"focus:outline-none",children:s.jsx(Be,{text:t("Add image",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"p-1.5 border-0 bg-slate-100 flex items-center justify-center hover:bg-slate-50/100 text-slate-400 hover:text-slate-500",onClick:()=>{r.value=!0},children:s.jsx(Mz,{size:26,className:"cursor-pointer"})})})})}),s.jsx(ea,{sideOffset:16,align:"center",autoFocus:!0,onOpenAutoFocus:()=>{setTimeout(()=>{var h,m;(h=c.current)==null||h.focus(),(m=c.current)==null||m.click()},300)},className:"p-1.5 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-72 shadow-xl z-100",onEscapeKeyDown:()=>{f()},onPointerDownOutside:()=>{f()},children:r.value&&s.jsxs(me,{className:"flex-col drop-zone p-1.5 border-2 border-slate-300 border-dashed rounded-md",ref:c,children:[s.jsx(kr,{h:2}),u.value?s.jsx(_k,{size:"large"}):s.jsx(J,{color:"black",size:"sm",className:"!inline-block text-center pointer-events-none !font-semibold drop-zone",children:t("Drop image file here, or use a separate window for drag and drop.",{ns:"dashboard"})}),s.jsx(kr,{h:5,className:"drop-zone"}),s.jsxs(me,{className:"drop-zone",children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 drop-zone hover:text-gray-600 mr-3 border-transparent hover:border-gray-200",onClick:()=>{f()},children:t("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-slate-200 drop-zone hover:bg-opacity-80 hover:bg-slate-200 text-slate-500 hover:text-slate-600 border-slate-200",onClick:()=>{const h=new jf("drop-image",{skipTaskbar:!0,title:t("Drop Zone",{ns:"common"}),alwaysOnTop:!0,fileDropEnabled:!0,decorations:!0,resizable:!1,minimizable:!1,visible:!1,center:!0,titleBarStyle:"visible",url:"drop-image.html?"+an.language});h.once(bs.WINDOW_CLOSE_REQUESTED,function(){var m;r.value=!1,(m=i==null?void 0:i.current)==null||m.close()}),h.once("tauri://created",function(){h.setCursorVisible(!1),h.setFocus(),h.setSize(new wv(260,260)),h.center(),h.show()}),h.once("tauri://error",function(){var m;(m=i==null?void 0:i.current)==null||m.close()}),i.current=h},children:t("Open Window",{ns:"common"})})]}),s.jsx(kr,{h:2})]})})]})}function P2e(e){var t,r;return s.jsxs("svg",{width:(t=e.width)!=null?t:"24px",height:(r=e.height)!=null?r:"24px",className:e.className,onClick:e.onClick,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",children:[s.jsx("path",{d:"m6.033 4.294-.007 7.865M21.25 10.12v-3c0-1.16-.84-2-2-2h-7m-9 9v2c0 1.05.95 2 2 2h3"}),s.jsx("rect",{width:"10",height:"7",x:"11.75",y:"12.707",ry:"2"}),s.jsx("path",{d:"m2.25 8.089 7.928.007"})]})}function QU({onCallBack:e}){const{t}=Tt(),r=We(!1),n=p.useRef(null),a=p.useRef(null);p.useEffect(()=>{const i=Li("tauri://file-drop",c=>{var u,f;((u=c.payload)==null?void 0:u.length)>0&&(e(c.payload[0]),r.value=!1,(f=a.current)==null||f.close())});return()=>{i.then(c=>{c()})}},[]);const o=()=>{var i;r.value=!1,(i=a.current)==null||i.close()};return s.jsxs(xa,{defaultOpen:!1,open:r.value,modal:!0,onOpenChange:i=>{var c;i||(c=a.current)==null||c.close()},children:[s.jsx(ya,{asChild:!0,children:s.jsx(Q,{tabIndex:0,className:"focus:outline-none",children:s.jsx(Be,{text:t("Drag & Drop Path",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1 h-10 w-10 text-slate-400 border-0 hover:text-blue-400 cl",onClick:()=>{r.value=!0},children:s.jsx(P2e,{width:22,height:23,className:"scale-y-[-1]"})})})})})}),s.jsx(ea,{sideOffset:10,align:"center",onOpenAutoFocus:()=>{setTimeout(()=>{var i,c;(i=n.current)==null||i.focus(),(c=n.current)==null||c.click()},300)},className:"bg-gray-100 w-72 shadow-xl p-2",onEscapeKeyDown:()=>{o()},onPointerDownOutside:()=>{o()},children:r.value&&s.jsxs(me,{className:"flex-col p-1 rounded-md",ref:n,children:[s.jsx(J,{color:"black",size:"sm",className:"!inline-block text-center pointer-events-none !font-semibold",children:t("We need to open a new window where you can drag & drop file, path or application.",{ns:"dashboard"})}),s.jsx(kr,{h:3}),s.jsxs(me,{children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 hover:text-gray-600 mr-3 border-transparent hover:border-gray-200",onClick:()=>{o()},children:t("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-slate-200 hover:bg-opacity-80 hover:bg-slate-200 text-slate-500 hover:text-slate-600 border-slate-200",onClick:()=>{const i=new jf("drop-path",{skipTaskbar:!0,title:t("Drop Zone",{ns:"common"}),alwaysOnTop:!0,fileDropEnabled:!0,decorations:!0,resizable:!1,minimizable:!1,visible:!1,center:!0,titleBarStyle:"visible",url:"drop-path.html?"+an.language});i.once(bs.WINDOW_CLOSE_REQUESTED,function(){var c;r.value=!1,(c=a==null?void 0:a.current)==null||c.close()}),i.once("tauri://created",function(){i.setCursorVisible(!1),i.setFocus(),i.setSize(new wv(260,260)),i.center(),i.show()}),i.once("tauri://error",function(){var c;(c=a==null?void 0:a.current)==null||c.close()}),a.current=i},children:t("Open Window",{ns:"common"})})]})]})})]})}const fl={isCode:!1,isText:!1,isForm:!1,isImage:!1,isCommand:!1,isWebRequest:!1,isWebScraping:!1,isTemplate:!1,isLink:!1,isPath:!1,detectedLanguage:""},M2e=({itemId:e,isCode:t,isImage:r,isText:n,isForm:a,isLink:o,isCommand:i,isWebRequest:c,isTemplate:u,isWebScraping:f,isPath:h,detectedLanguage:m,children:v})=>{const{t:S}=Tt(),{CONST:{APP_DETECT_LANGUAGES_SUPPORTED:w}}=dt(pn),{updateItemById:g}=al();return s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:v}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:s.jsx(J,{children:S("TypeMenu:::Clip Type",{ns:"common"})})}),s.jsx(tr,{}),s.jsx(rr,{checked:!!n,onClick:()=>{g({updatedItem:ee(R({},fl),{isText:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(n?"font-semibold":""),children:S("TypeMenu:::Plain Text",{ns:"common"})})}),s.jsx(rr,{checked:!!o,onClick:()=>{g({updatedItem:ee(R({},fl),{isLink:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(o?"font-semibold":""),children:S("TypeMenu:::Link or Email",{ns:"common"})})}),s.jsx(rr,{checked:!!r,onClick:()=>{g({updatedItem:ee(R({},fl),{isImage:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(r?"font-semibold":""),children:S("TypeMenu:::Image",{ns:"common"})})}),s.jsx(rr,{checked:!!h,onClick:()=>{g({updatedItem:ee(R({},fl),{isPath:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(h?"font-semibold":""),children:S("TypeMenu:::File, Path or App",{ns:"common"})})}),s.jsxs(Xs,{children:[s.jsxs(zs,{children:[t?s.jsx($t,{className:"mr-2 h-4 w-4"}):s.jsx(Q,{className:"mr-2 h-4 w-4"}),s.jsxs(J,{className:"".concat(t?"!font-semibold":""),children:[S("TypeMenu:::Code Snippet",{ns:"common"})," ..."]})]}),s.jsxs(Fs,{className:"w-40",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:m?s.jsx(J,{children:tA(m)}):s.jsx(J,{children:S("TypeMenu:::Select Language",{ns:"common"})})}),s.jsx(tr,{}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"290px"},autoHide:!1,children:w.map(b=>s.jsx(rr,{checked:m===b,className:"".concat(m===b?"font-semibold ":""),onClick:()=>{g({updatedItem:ee(R({},fl),{isCode:!0,detectedLanguage:b,itemId:e})})},children:tA(b)},b))})]})]}),s.jsx(rr,{checked:!!u,onClick:()=>{g({updatedItem:ee(R({},fl),{isTemplate:!0,itemId:e})})},children:s.jsxs(J,{className:"".concat(u?"font-semibold":""),children:[S("TypeMenu:::Template Fill",{ns:"common"}),s.jsx(Al,{})]})}),s.jsx(rr,{checked:!!a,onClick:()=>{g({updatedItem:ee(R({},fl),{isForm:!0,itemId:e})})},children:s.jsxs(J,{className:"".concat(a?"font-semibold":""),children:[S("TypeMenu:::Form Auto Fill",{ns:"common"}),s.jsx(Al,{})]})}),s.jsxs(Xs,{children:[s.jsxs(zs,{children:[i||c||f?s.jsx($t,{className:"mr-2 h-4 w-4"}):s.jsx(Q,{className:"mr-2 h-4 w-4"}),s.jsxs(J,{className:"".concat(i||c||f?"!font-semibold":""),children:[S("TypeMenu:::Run, Execute",{ns:"common"}),s.jsx(Al,{})]})]}),s.jsxs(Fs,{className:"w-52",children:[s.jsx(rr,{checked:!!i,onClick:()=>{g({updatedItem:ee(R({},fl),{isCommand:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(i?"font-semibold":""),children:S("TypeMenu:::Shell Command",{ns:"common"})})}),s.jsx(rr,{checked:!!c,onClick:()=>{g({updatedItem:ee(R({},fl),{isWebRequest:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(c?"font-semibold":""),children:S("TypeMenu:::Web Request (HTTP)",{ns:"common"})})}),s.jsx(rr,{checked:!!f,onClick:()=>{g({updatedItem:ee(R({},fl),{isWebScraping:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(f?"font-semibold":""),children:S("TypeMenu:::Web Scraper / Parser",{ns:"common"})})})]})]})]})]})};function tA(e){return e.charAt(0).toUpperCase()+e.slice(1)}function D2e({clipId:e,onComplete:t}){const{t:r}=Tt(),n=We(!1),a=()=>{n.value=!1,ei.value=null};p.useEffect(()=>()=>{a()},[]);const{currentCollectionId:o}=dt(Tn),{deleteItemById:i}=vk();return s.jsxs(xa,{defaultOpen:!1,open:n.value,children:[s.jsx(ya,{asChild:!0,children:s.jsxs(ye,{variant:"ghost",title:r("Delete Clip",{ns:"dashboard"}),onClick:()=>{n.value=!0,ei.value=e},className:"px-2 h-7 w-full py-0 text-red-500 dark:!text-red-600 hover:text-red-500 bg-transparent hover:bg-red-100 opacity-80 hover:opacity-100",children:[s.jsx(xn,{size:16}),s.jsx(J,{className:"ml-1 !text-red-500 dark:!text-red-600 !font-medium",children:r("Delete",{ns:"common"})})]})}),s.jsx(ea,{sideOffset:16,align:"center",className:"p-3 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-60",onEscapeKeyDown:()=>{a()},onPointerDownOutside:()=>{a()},children:n.value&&s.jsxs(me,{className:"flex-col",children:[s.jsx(J,{color:"black",size:"sm",className:"!inline-block",children:r("Are you sure you want to delete?",{ns:"dashboard"})}),s.jsx(kr,{h:3}),s.jsxs(me,{children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 dark:hover:text-gray-400 hover:text-gray-600 mr-3 border-gray-100 hover:border-gray-200 dark:bg-gray-900 dark:border-gray-900 dark:hover:border-gray-900 dark:hover:bg-gray-800",onClick:()=>{a()},children:r("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-red-100 hover:bg-opacity-80 hover:bg-red-200 text-red-500 hover:text-red-600 border-red-200 dark:bg-red-900 dark:border-red-900 dark:hover:border-red-900 dark:hover:bg-red-800 dark:text-red-300 dark:hover:text-red-200",onClick:()=>{i({itemId:e,collectionId:o}),t()},children:r("Delete Clip",{ns:"dashboard"})})]})]})})]})}function A2e({isOver:e}){const{t}=Tt(),r=p.useRef(null);return p.useEffect(()=>{var n;(n=r.current)==null||n.scrollIntoView({behavior:"auto",block:"center",inline:"nearest"})},[r]),s.jsx(Q,{ref:r,className:"flex flex-row items-center justify-center border-2 my-2 border-dashed rounded-md w-full h-16 ".concat(e?"bg-slate-50/50 dark:bg-slate-700/50 border-blue-400":"bg-slate-50 dark:bg-slate-700 border-slate-200 dark:border-slate-500"),children:s.jsx(J,{className:"!text-sm !font-medium !text-blue-500 text-center",children:e?t("Drop To Add",{ns:"common"}):s.jsx(Fn,{size:23,className:"".concat(e?"text-blue-400":"text-slate-400")})})})}const R2e=p.memo(A2e),rA=["Tab","Enter","TabTab","TabEnter"],ng={Tab:"Tab",Enter:"Enter",TabTab:"2 Tabs",TabTabTab:"3 Tabs",TabEnter:"Tab, Enter",TabTabEnter:"2Tabs, Enter"},nA=["1s","2s","3s","4s","5s"],JU=["Email","Login","Username","Password","Title","Textarea","Phone","Website","Date","Name","First Name","Last Name","Company","Address","City","State","Zip","Country","Province","Text","Number","Credit Card","CVV Code","Exp. Date","Secret","License Key","Occupation","Gender","Age","Description","Birthdate","API Key","SSN","Custom"];function L2e({showLinkValidationError:e,localOptions:t}){var i,c,u,f,h,m,v,S;const{t:r}=Tt(),n=We(void 0),a=We(null),o=go(n.value,300);return p.useEffect(()=>{if(o){if(e.value&&(e.value=void 0),o.length>5){const g=Rn().match(o);!g||g.length>1?e.value=!0:e.value=!1}t.value.formOptions||(t.value.formOptions={fields:[],openUrl:null}),t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{openUrl:o})})}},[o]),s.jsxs(Q,{className:"select-none mt-1",children:[t.value.formOptions.openUrl!=null&&s.jsxs(me,{className:"text-normal",children:[s.jsx(Be,{asChild:!0,text:r("Website URL",{ns:"dashboard"}),isCompact:!0,side:"bottom",children:s.jsx(ye,{variant:"outline",size:"mini",className:"px-2 h-10 pointer-events-none text-slate-500 dark:text-slate-200 border font-semibold text-xs bg-slate-100 dark:bg-slate-700/80 group hover:text-blue-500 mr-1 flex items-center ".concat(((i=t.value.formOptions)==null?void 0:i.isOpenUrlDisabled)===!0?"opacity-70 line-through":""),children:s.jsx("span",{children:r("Open",{ns:"dashboard"})})})}),s.jsx(er,{defaultValue:(u=(c=t.value.formOptions)==null?void 0:c.openUrl)!=null?u:"",placeholder:r("Enter URL",{ns:"dashboard"}),disabled:(f=t.value.formOptions)==null?void 0:f.isOpenUrlDisabled,classNameInput:"pr-7 text-sm focus:border- ".concat(e.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(e.value===!1?"!border-green-600 !focus:border-green-600":""," ").concat(((h=t.value.formOptions)==null?void 0:h.isOpenUrlDisabled)===!0?"!bg-gray-100 dark:!bg-gray-700 opacity-70":""),suffix:s.jsx(Q,{className:"absolute top-3 right-2",children:e.value?s.jsx(Be,{text:r("Website URL might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx(mi,{size:18,className:"text-yellow-500 cursor-pointer"})}):e.value===!1&&s.jsx(Be,{text:r("Website URL is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx($t,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:w=>{n.value=w.target.value}}),s.jsx(ye,{variant:"ghost",size:"mini",title:r("Open URL Disable / Enable",{ns:"dashboard"}),onClick:()=>{var w;t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{isOpenUrlDisabled:!((w=t.value.formOptions)!=null&&w.isOpenUrlDisabled)})})},className:"".concat((m=t.value.formOptions)!=null&&m.isOpenUrlDisabled?"opacity-70":""," pl-2 h-8 flex items-center hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500"),children:(v=t.value.formOptions)!=null&&v.isOpenUrlDisabled?s.jsx(ma,{size:14}):s.jsx(Oa,{size:14})}),s.jsx(ye,{variant:"ghost",size:"mini",title:r("Remove Open URL",{ns:"dashboard"}),onClick:()=>{t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{openUrl:null,isOpenUrlDisabled:!1})})},className:"pl-3 h-10 text-sm font-semibold hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:s.jsx(xn,{size:14})})]}),s.jsx(Q,{className:"my-2",children:s.jsxs(me,{className:"gap-3 w-full justify-start",children:[s.jsxs(Ir,{children:[s.jsx(Or,{children:s.jsxs(J,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[r("Add Form Field",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsxs(He,{className:"text-xs",onClick:()=>{a.value=null,t.value.formOptions||(t.value.formOptions={fields:[]});const w=[...t.value.formOptions.fields];w.push({id:Date.now().toString(),type:"section",pressKeysAfterPaste:_S[0],isEnable:!0,value:""}),t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:w})})},children:[s.jsx(Fn,{size:12,className:"mr-1"}),r("Add Section",{ns:"dashboard"})]}),s.jsx(tr,{}),s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:s.jsx(J,{children:r("Form Fields",{ns:"dashboard"})})}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"290px"},autoHide:!1,children:JU.map(w=>s.jsx(He,{className:"text-xs",onClick:()=>{var C;t.value.formOptions||(t.value.formOptions={fields:[]});const g=[...t.value.formOptions.fields],b=w==="Text"?"text":w==="Number"?"number":w==="Password"||w==="Secret"||w==="API Key"||w==="License Key"||w==="SSN"?"password":w==="CVV Code"?"passwordCode":w==="Textarea"?"textarea":w==="Credit Card"?"creditcard":"text";g.push({id:Date.now().toString(),label:w,type:b,pressKeysAfterPaste:_S[0],isEnable:!0,value:""}),t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:g})}),w==="Custom"&&(a.value=(C=g[g.length-1].id)!=null?C:null)},children:w},w))})]})]}),s.jsxs(Ir,{children:[s.jsx(Or,{children:s.jsxs(J,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[r("Key Press",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:s.jsx(J,{children:r("Add Key Press",{ns:"dashboard"})})}),s.jsx(tr,{}),_S.map(w=>s.jsx(He,{className:"text-xs",onClick:()=>{t.value.formOptions||(t.value.formOptions={fields:[]});const g=[...t.value.formOptions.fields];g.push({id:Date.now().toString(),isPressKeysOnly:!0,isEnable:!0,pressKeysAfterPaste:w}),t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:g})})},children:ng[w]},w))]})]}),s.jsxs(Ir,{children:[s.jsx(Or,{children:s.jsxs(J,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[r("Delay",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:s.jsx(J,{children:r("Add Delay Time",{ns:"dashboard"})})}),s.jsx(tr,{}),nA.map(w=>s.jsxs(He,{className:"text-xs",onClick:()=>{a.value=null,t.value.formOptions||(t.value.formOptions={fields:[]});const g=[...t.value.formOptions.fields];g.push({id:Date.now().toString(),isDelayOnly:!0,value:w,isEnable:!0}),t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:g})})},children:[w==="1s"&&"1 ".concat(r("Second",{ns:"common"})),w==="2s"&&"2 ".concat(r("Seconds",{ns:"common"})),w==="3s"&&"3 ".concat(r("Seconds",{ns:"common"})),w==="4s"&&"4 ".concat(r("Seconds",{ns:"common"})),w==="5s"&&"5 ".concat(r("Seconds",{ns:"common"}))]},w))]})]}),t.value.formOptions.openUrl==null&&s.jsx(J,{className:"!text-blue-500 hover:underline cursor-pointer text-center",size:"xs",onClick:()=>{t.value.formOptions||(t.value.formOptions={fields:[]}),t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{openUrl:"",isOpenUrlDisabled:!1})})},children:r("Add Open URL",{ns:"dashboard"})})]})}),(S=t.value.formOptions)==null?void 0:S.fields.map((w,g)=>{var T,A,M,D,L,z,H,V;const b=w.isLabelOnTop,C=w.isLabelHidden,j=w.type==="section",E=w.id===a.value,N=w.type==="textarea";return s.jsxs(me,{className:"".concat(w.type!=="section"?"mb-1":"mt-1"," group ").concat(b?"flex-col items-start":"items-center"," ").concat(N?"!mt-2 !mb-1":""),children:[!C&&s.jsx(s.Fragment,{children:(w.label||E)&&w.type!=="section"?s.jsx(J,{className:"".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," text-[13px] !font-semibold flex self-stretch ").concat(b?"!justify-start pl-1":"!justify-end"),children:E?s.jsxs(me,{className:"whitespace-nowrap pr-1 min-w-[120px] text-left",children:[s.jsx(er,{defaultValue:w.label,small:!0,placeholder:r("Enter Label",{ns:"dashboard"}),autoFocus:!0,onKeyDown:I=>{(I.key==="Enter"||I.key==="Escape")&&(a.value=null,t.value=ee(R({},t.value),{formOptions:R({},t.value.formOptions)}))},onChange:I=>{w.label=I.target.value.trim()}}),s.jsx(ye,{size:"mini",variant:"ghost",className:"ml-1 h-8 w-9 text-blue-500 dark:bg-slate-800",onClick:()=>{a.value=null,t.value=ee(R({},t.value),{formOptions:R({},t.value.formOptions)})},title:r("Done Edit",{ns:"common"}),children:s.jsx($t,{size:18})})]}):s.jsx("span",{className:"whitespace-nowrap pr-1 min-w-[80px] overflow-hidden text-ellipsis block ".concat(b?"text-left":"text-right max-w-[160px]"),children:w.label})}):s.jsx("div",{className:"pr-1 min-w-[80px]"})}),s.jsxs(me,{className:"w-full",children:[s.jsx(me,{className:"gap-0.5 flex-col w-full items-start ".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""),children:s.jsxs(me,{className:"w-full gap-1",children:[w.isDelayOnly||w.isPressKeysOnly?s.jsxs(me,{className:"".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full justify-end mr-1 py-1"),children:[w.isDelayOnly&&s.jsxs(Ir,{children:[s.jsx(Or,{children:s.jsxs(lt,{variant:"secondary",className:"pl-2 py-0.5 text-blue-500 dark:bg-slate-800 whitespace-nowrap",children:[r("Delay",{ns:"dashboard"})," ",w.value,s.jsx(Dr,{size:13,className:"ml-0.5 mr-0"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:r("Delay",{ns:"dashboard"})}),s.jsx(tr,{}),nA.map(I=>s.jsxs(He,{className:"text-xs",onClick:()=>{a.value=null,w.value=I,t.value=R({},t.value)},children:[I==="1s"&&"1 Second",I==="2s"&&"2 Seconds",I==="3s"&&"3 Seconds",I==="4s"&&"4 Seconds",I==="5s"&&"5 Seconds"]},I))]})]}),w.isPressKeysOnly&&w.pressKeysAfterPaste&&s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",variant:"ghost",disabled:w.isEnable===!1,title:r("Key Press After",{ns:"dashboard"}),className:"text-sm font-semibold hover:bg-transparent mr-1",children:s.jsxs(lt,{variant:"secondary",className:"pl-2 py-0.5 text-blue-500 dark:bg-slate-800 whitespace-nowrap",children:[r("Press",{ns:"dashboard"})," ",ng[w.pressKeysAfterPaste],s.jsx(Dr,{size:13,className:"ml-0.5 mr-0"})]})})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:s.jsx(J,{children:r("Key Press",{ns:"dashboard"})})}),s.jsx(tr,{}),rA.map(I=>s.jsx(He,{className:"text-xs",onClick:()=>{w.pressKeysAfterPaste=I,t.value=ee(R({},t.value),{formOptions:R({},t.value.formOptions)})},children:ng[I]},I)),s.jsx(tr,{}),s.jsxs(He,{className:"text-xs text-red-400",onClick:()=>{t.value.formOptions.fields=t.value.formOptions.fields.filter(I=>I.id!==w.id),t.value=R({},t.value)},children:[s.jsx(J,{size:"xs",className:"!text-red-500 dark:!text-red-600",children:r("Remove",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(pm,{className:"ml-auto text-red-400 dark:text-red-600",size:13})})]})]})]})]}):w.type==="password"||w.type==="passwordCode"?s.jsx(er,{small:!0,placeholder:w.type==="passwordCode"?r("Enter code",{ns:"dashboard"}):r("Enter secret value",{ns:"dashboard"}),autoFocus:g===((T=t.value.formOptions.fields)==null?void 0:T.length)-1&&t.value.formOptions.fields[g].value==="",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:w.isEnable===!1,isPassword:!0,numbersOnly:w.type==="passwordCode",showHidePassword:!0,className:"".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:I=>{w.value=I.target.value.trim()},defaultValue:w.value}):w.type==="creditcard"?s.jsx(H1,{small:!0,placeholder:r("Enter credit card number",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:w.isEnable===!1,autoFocus:g===((A=t.value.formOptions.fields)==null?void 0:A.length)-1&&t.value.formOptions.fields[g].value==="",className:"".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onInputBlur:I=>{w.value=I},ccNumber:w.value}):j?s.jsx(er,{small:!0,placeholder:r("Enter section label",{ns:"dashboard"}),classNameInput:"text-sm font-semibold border-b border-0 border-transparent hover:border-gray-200 focus:border-blue-400 rounded-none nowrap overflow-hidden text-ellipsis pl-1.5 dark:!text-slate-300 dark:bg-slate-900",autoFocus:g===((M=t.value.formOptions.fields)==null?void 0:M.length)-1&&t.value.formOptions.fields[g].value==="",onChange:I=>{w.value=I.target.value.trim()},defaultValue:w.value}):w.type==="textarea"?s.jsx(po,{placeholder:r("Enter field value",{ns:"dashboard"}),label:"",className:"text-sm font-semibold border-0 border-transparent focus:border-blue-400 rounded-none nowrap overflow-hidden text-ellipsis !pl-0.5 w-full",classNameArea:w.isEnable===!1?"dark:!text-slate-500 !bg-gray-100 opacity-50 dark:!bg-gray-900":"dark:!text-slate-300 dark:!bg-slate-900",autoFocus:g===((D=t.value.formOptions.fields)==null?void 0:D.length)-1&&t.value.formOptions.fields[g].value==="",maxRows:2,value:w.value,enableEmoji:!1,enableEmojiInside:!0,onKeyDown:I=>{I.stopPropagation()},onChange:I=>{w.value=I.target.value,t.value=ee(R({},t.value),{formOptions:R({},t.value.formOptions)})}}):s.jsx(er,{small:!0,placeholder:r("Enter field value",{ns:"dashboard"}),autoFocus:g===((L=t.value.formOptions.fields)==null?void 0:L.length)-1&&t.value.formOptions.fields[g].value===""&&t.value.formOptions.fields[g].label!=="Custom",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:w.isEnable===!1,type:w.type==="number"?"number":"text",className:"".concat(w.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:I=>{w.value=I.target.value.trim()},defaultValue:w.value}),w.isDelayOnly||w.isPressKeysOnly||j?s.jsx(s.Fragment,{}):s.jsx(me,{children:s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",variant:"ghost",disabled:w.isEnable===!1,title:r("Key Press After",{ns:"dashboard"}),className:"text-sm font-semibold hover:bg-transparent mr-1",children:w.pressKeysAfterPaste?s.jsxs(lt,{variant:"secondary",className:"pl-2 py-0.5 text-blue-500 dark:bg-slate-800 whitespace-nowrap hover:text-blue-500",children:[ng[w.pressKeysAfterPaste],s.jsx(Dr,{size:13,className:"ml-0.5 mr-0"})]}):s.jsxs(lt,{variant:"secondary",className:"pl-1 py-0.5 text-blue-500 dark:bg-slate-800 whitespace-nowrap hover:text-blue-500",children:[s.jsx(Fn,{size:13,className:"ml-0.5 mr-0"}),s.jsx(Dr,{size:13,className:"ml-0.5 mr-0"})]})})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:s.jsx(J,{children:r("Key Press After",{ns:"dashboard"})})}),s.jsx(tr,{}),rA.map(I=>s.jsx(He,{className:"text-xs",onClick:()=>{w.pressKeysAfterPaste=I,t.value=ee(R({},t.value),{formOptions:R({},t.value.formOptions)})},children:ng[I]},I)),s.jsx(tr,{}),s.jsxs(He,{className:"text-xs text-red-400",onClick:()=>{w.pressKeysAfterPaste=null,t.value=ee(R({},t.value),{formOptions:R({},t.value.formOptions)})},children:[s.jsx(J,{size:"xs",className:"!text-red-500 dark:!text-red-600",children:r("Remove",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(pm,{className:"ml-auto text-red-400 dark:text-red-600",size:13})})]})]})]})})]})}),s.jsxs(me,{className:"gap-1 ml-0.5",children:[w.type!=="section"&&s.jsx(ye,{size:"mini",title:r("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var I;a.value=null,t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:(I=t.value.formOptions)==null?void 0:I.fields.map((q,_)=>_===g?ee(R({},q),{isEnable:!q.isEnable}):q)})})},children:(z=t.value.formOptions)!=null&&z.fields&&((V=(H=t.value.formOptions)==null?void 0:H.fields[g])!=null&&V.isEnable)?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",title:r("Field Options",{ns:"dashboard"}),variant:"ghost",onClick:()=>{t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:zn(t.value.formOptions.fields||[],g,g-1)})})},className:"text-sm font-semibold rounded-none hover:bg-transparent w-5 dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",children:s.jsx(sl,{size:14})})}),s.jsxs(Ar,{align:"end",children:[s.jsxs(He,{disabled:g===0,onClick:()=>{t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:zn(t.value.formOptions.fields||[],g,g-1)})})},className:"text-[13px] py-1",children:[s.jsx(J,{size:"xs",children:r("Move Up",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(N1,{size:13})})]}),s.jsxs(He,{disabled:t.value.formOptions.fields?g===t.value.formOptions.fields.length-1:!1,onClick:()=>{t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:zn(t.value.formOptions.fields||[],g,g+1)})})},className:"text-[13px] py-1",children:[s.jsx(J,{size:"xs",children:r("Move Down",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(E1,{size:13})})]}),s.jsx(tr,{}),!j&&!C&&s.jsxs(He,{onClick:()=>{var I;E?a.value=null:a.value=(I=w.id)!=null?I:null},children:[E?s.jsx(J,{size:"xs",children:r("Done Edit",{ns:"common"})}):s.jsx(J,{size:"xs",children:r("Edit Label",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(y2,{size:13})})]}),w.type!=="section"&&s.jsx(s.Fragment,{children:w.isLabelOnTop?s.jsxs(He,{onClick:()=>{var I;a.value=null,t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:(I=t.value.formOptions)==null?void 0:I.fields.map((q,_)=>_===g?ee(R({},q),{isLabelHidden:!1,isLabelOnTop:!1}):q)})})},children:[s.jsx(J,{size:"xs",children:r("Label Left",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(cz,{size:13})})]}):s.jsxs(He,{onClick:()=>{var I;a.value=null,t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:(I=t.value.formOptions)==null?void 0:I.fields.map((q,_)=>_===g?ee(R({},q),{isLabelHidden:!1,isLabelOnTop:!0}):q)})})},children:[s.jsx(J,{size:"xs",children:r("Label Top",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(dz,{size:13})})]})}),C?s.jsxs(He,{onClick:()=>{var I;a.value=null,t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:(I=t.value.formOptions)==null?void 0:I.fields.map((q,_)=>_===g?ee(R({},q),{isLabelHidden:!1}):q)})})},children:[j?s.jsx(J,{size:"xs",children:r("Label Offset",{ns:"dashboard"})}):s.jsx(J,{size:"xs",children:r("Show Label",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(mz,{size:13})})]}):s.jsxs(He,{onClick:()=>{var I;t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:(I=t.value.formOptions)==null?void 0:I.fields.map((q,_)=>_===g?ee(R({},q),{isLabelHidden:!0}):q)})})},children:[j?s.jsx(J,{size:"xs",children:r("Label on Left",{ns:"dashboard"})}):s.jsx(J,{size:"xs",children:r("Hide Label",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(P6,{size:13})})]}),s.jsx(tr,{}),s.jsxs(He,{className:"text-red-500 dark:!text-red-600 text-[13px] focus:text-red-500 py-1",onClick:()=>{var I,q;t.value=ee(R({},t.value),{formOptions:ee(R({},t.value.formOptions),{fields:(q=(I=t.value.formOptions)==null?void 0:I.fields)==null?void 0:q.filter((_,$)=>$!==g)})})},children:[s.jsx(J,{size:"xs",className:"!text-red-500 dark:!text-red-600",children:r("Remove",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(xn,{size:13})})]})]})]})]})]})]},w.id)})]})}function I2e({clipValue:e,templateMissingFields:t,templateFoundFields:r,checkForTemplateFieldsCallback:n,isLargeView:a,localOptions:o}){var g;const{t:i}=Tt(),c=We(null),u=We(null),f=We(null),h=We(null),m=p.useRef(null),v=We(!1),S=We(Date.now().toString()),w=["text","textarea","select"];return s.jsxs(Q,{className:"select-none mt-1",children:[s.jsx(Q,{className:"my-2",children:s.jsxs(me,{className:"gap-3 w-full justify-start",children:[s.jsxs(Ir,{children:[s.jsx(Or,{children:s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[i("Add Template Field",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:s.jsx(J,{children:i("General Fields",{ns:"dashboard"})})}),s.jsx(tr,{}),w.map(b=>s.jsxs(He,{className:"text-xs",onClick:()=>{var j;c.value=null,o.value.templateOptions||(o.value.templateOptions=[]);const C=o.value.templateOptions.map(E=>{var N,T,A;return(N=E.label)!=null&&N.trim()||(E.label="".concat(E.type&&((T=E.type)==null?void 0:T.charAt(0).toUpperCase())+((A=E.type)==null?void 0:A.slice(1))," ").concat(i("Field",{ns:"dashboard"}))),E});C.push({id:Date.now().toString(),type:b,label:"".concat(b.charAt(0).toUpperCase()+b.slice(1)),isEnable:!0,value:""}),o.value=ee(R({},o.value),{templateOptions:[...C]}),c.value=(j=C[C.length-1].id)!=null?j:null},children:[s.jsx(Fn,{size:12,className:"mr-1"}),i("{{type}} Field",{ns:"dashboard",type:b.charAt(0).toUpperCase()+b.slice(1)})]},b)),s.jsx(tr,{}),s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:s.jsx(J,{children:i("Common Fields",{ns:"dashboard"})})}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:JU.map(b=>s.jsx(He,{className:"text-xs",onClick:()=>{var T,A;o.value.templateOptions||(o.value.templateOptions=[]),v.value=!1;const C=[...o.value.templateOptions],j=b==="Text"?"text":b==="Number"?"number":b==="Password"||b==="Secret"||b==="API Key"||b==="License Key"||b==="SSN"?"password":b==="CVV Code"?"passwordCode":b==="Textarea"?"textarea":b==="Credit Card"?"creditcard":"text",E=(T=o.value.templateOptions)==null?void 0:T.every(M=>M.label!==b);E||(v.value=!0);const N=E?b:"".concat(b," ").concat(o.value.templateOptions.length+1);C.push({id:Date.now().toString(),label:N,type:j,isEnable:!0,value:""}),o.value=ee(R({},o.value),{templateOptions:C}),b==="Custom"&&(c.value=(A=C[C.length-1].id)!=null?A:null)},children:b},b))}),s.jsx(tr,{}),s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:s.jsx(J,{children:i("Special Field",{ns:"dashboard"})})}),s.jsxs(He,{className:"text-xs",onClick:()=>{var j;if(c.value=null,o.value.templateOptions||(o.value.templateOptions=[]),(j=o.value.templateOptions)==null?void 0:j.some(E=>E.label==="Clipboard")){o.value.templateOptions=o.value.templateOptions.map(E=>(E.label==="Clipboard"&&(E.isEnable=!0),E));return}const C=o.value.templateOptions.map(E=>E);C.push({id:Date.now().toString(),type:"text",label:"Clipboard",isEnable:!0,value:""}),o.value=ee(R({},o.value),{templateOptions:[...C]})},children:[s.jsx(Fn,{size:12,className:"mr-1"}),i("Clipboard",{ns:"dashboard"})]})]})]}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{variant:"ghost",size:"mini",className:"cursor-pointer ml-auto hover:bg-transparent !px-2 !py-0",children:s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline",size:"xs",children:[i("Fields Value",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})})}),s.jsx(Ar,{sideOffset:12,align:"center",children:s.jsxs(He,{className:"text-center items-center justify-center py-1 text-xs",onSelect:()=>{o.value.templateOptions=o.value.templateOptions.map(b=>(b.value="",b)),o.value=ee(R({},o.value),{templateOptions:[...o.value.templateOptions]}),S.value=Date.now().toString()},children:[s.jsx(J,{children:i("Clear All Fields",{ns:"dashboard"})}),s.jsx(B6,{size:14,className:"ml-1 text-slate-400"})]})})]})]})}),(g=o.value.templateOptions)==null?void 0:g.map((b,C)=>{var M,D,L,z,H,V,I,q;const j=b.id===c.value,E=b.type==="textarea",N=b.isLabelOnTop,T=(M=b.selectOptions)==null?void 0:M.find(_=>_===b.value),A=!((D=b.selectOptions)!=null&&D.length);return s.jsxs(me,{className:"mb-1 group ".concat(N?"flex-col items-start":"items-center"," ").concat(E?"!mt-2 !mb-1":""),children:[b.label||j?s.jsx(me,{className:"".concat(b.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," text-[13px] !font-semibold flex self-stretch ").concat(N?"!justify-start pl-1":"!justify-end"),children:j?s.jsxs(me,{className:"whitespace-nowrap pr-1 min-w-[120px] text-left",children:[s.jsx(er,{defaultValue:b.label,small:!0,placeholder:i("Enter Label",{ns:"dashboard"}),autoFocus:!0,onKeyDown:_=>{var $;(_.key==="Enter"||_.key==="Escape")&&(c.value=null,v.value=!1,($=o.value.templateOptions)!=null&&$.every((K,Y)=>Y!==C?K.label!==b.label:!0)||(b.label="".concat(b.label," ").concat(C+1)),o.value=ee(R({},o.value),{templateOptions:[...o.value.templateOptions]}))},onChange:_=>{b.label=_.target.value.trim()}}),s.jsx(ye,{size:"mini",variant:"ghost",className:"ml-1 h-8 w-9 text-blue-500 dark:bg-slate-800",onClick:()=>{c.value=null,o.value=ee(R({},o.value),{templateOptions:[...o.value.templateOptions]})},title:i("Done Edit",{ns:"common"}),children:s.jsx($t,{size:18})})]}):s.jsx("span",{className:"whitespace-nowrap pr-1 min-w-[80px] overflow-hidden text-ellipsis block ".concat(N?"text-left":"text-right max-w-[160px]"),children:b.label})}):s.jsx("div",{className:"pr-1 min-w-[80px]"}),s.jsxs(me,{className:"w-full",children:[s.jsx(me,{className:"gap-0.5 flex-col w-full items-start ".concat(b.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""),children:s.jsx(me,{className:"w-full gap-1",children:b.type==="password"||b.type==="passwordCode"?s.jsx(er,{small:!0,placeholder:b.type==="passwordCode"?i("Enter code",{ns:"dashboard"}):i("Enter secret value",{ns:"dashboard"}),autoFocus:C===o.value.templateOptions.length-1&&o.value.templateOptions[C].value==="",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:b.isEnable===!1,isPassword:!0,numbersOnly:b.type==="passwordCode",showHidePassword:!0,className:"".concat(b.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:_=>{b.value=_.target.value.trim()},defaultValue:b.value},S.value):b.type==="creditcard"?s.jsx(H1,{small:!0,placeholder:i("Enter credit card number",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:b.isEnable===!1,autoFocus:C===((L=o.value.templateOptions)==null?void 0:L.length)-1&&o.value.templateOptions[C].value==="",className:"".concat(b.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onInputBlur:_=>{b.value=_},ccNumber:b.value},S.value):b.type==="textarea"?s.jsx(po,{placeholder:i("Enter default value",{ns:"dashboard"}),label:"",className:"text-sm font-semibold border-0 border-transparent focus:border-blue-400 rounded-none nowrap overflow-hidden text-ellipsis !pl-0.5 w-full",classNameArea:b.isEnable===!1?"dark:!text-slate-500 !bg-gray-100 opacity-50 dark:!bg-gray-900":"dark:!text-slate-300 dark:!bg-slate-900",autoFocus:C===o.value.templateOptions.length-1&&o.value.templateOptions[C].value===""&&o.value.templateOptions[C].label!=="Textarea",maxRows:2,value:b.value,enableEmoji:!1,enableEmojiInside:!0,onKeyDown:_=>{_.stopPropagation()},onChange:_=>{b.value=_.target.value,o.value=ee(R({},o.value),{templateOptions:[...o.value.templateOptions]})}},S.value):b.type==="select"?s.jsx(me,{className:"justify-start items-center w-full my-1",children:u.value!==b.id&&f.value!==b.id?s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",variant:"ghost",disabled:b.isEnable===!1,className:"rounded-sm font-semibold hover:bg-transparent ml-0 px-2 py-1 w-full border border-slate-300 hover:border-blue-500 dark:border-slate-800 dark:hover:border-blue-500 dark:bg-slate-900 dark:hover:bg-slate-900 dark:text-slate-300 dark:hover:text-blue-500",children:s.jsxs(me,{className:"flex items-center justify-start w-full gap-1",children:[s.jsx(J,{className:"!text-slate-700 dark:!text-slate-300 text-ellipsis overflow-hidden !block line-clamp-2",children:A?i("Select is empty",{ns:"common"}):T||i("Select default",{ns:"common"})}),s.jsx(me,{className:"w-[18px] h-[18px] ml-0.5 mr-0",children:s.jsx(Dr,{size:13})})]})})}),s.jsxs(Ar,{sideOffset:12,align:"start",className:"max-w-[300px]",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",disabled:!0,children:A?s.jsx(J,{children:i("Select is empty",{ns:"common"})}):s.jsx(J,{children:i("Select Default Option",{ns:"dashboard"})})}),!A&&s.jsxs(s.Fragment,{children:[s.jsx(tr,{}),(H=(z=o.value.templateOptions[C])==null?void 0:z.selectOptions)==null?void 0:H.map((_,$)=>s.jsxs(rr,{checked:b.value===_,onSelect:()=>{b.value=_,o.value=ee(R({},o.value),{templateOptions:[...o.value.templateOptions]})},children:[s.jsx(J,{className:"text-xs ".concat(b.value===_?"font-semibold":""),children:_}),b.value===_&&s.jsxs(me,{className:"ml-auto gap-2 pl-2 opacity-60 hover:opacity-100",children:[s.jsx(y2,{size:13,className:"cursor-pointer hover:text-blue-500 dark:hover:text-blue-400",onClick:()=>{var U;f.value=null,h.value=_,u.value=(U=b.id)!=null?U:null}}),s.jsx(G4,{size:13,className:"cursor-pointer hover:text-red-500 dark:hover:text-red-400",onClick:U=>{var Y,B,F,G,X;U.stopPropagation();const K=(B=(Y=b.selectOptions)==null?void 0:Y.indexOf(_))!=null?B:-1;if(b.selectOptions=(F=b.selectOptions)==null?void 0:F.filter(se=>se!==_),K!==-1){const se=(G=b.selectOptions)==null?void 0:G[K-1],re=(X=b.selectOptions)==null?void 0:X[K];b.value=se||re||void 0}o.value=ee(R({},o.value),{templateOptions:[...o.value.templateOptions]})}})]})]},$))]}),s.jsx(tr,{}),s.jsx(He,{className:"text-center items-center justify-center py-0.5 text-xs",onClick:()=>{var _;A&&(b.selectOptions=[]),h.value=null,u.value=null,f.value=(_=b.id)!=null?_:null},children:s.jsxs(J,{size:"xs",className:"!text-blue-500 dark:!text-blue-400",children:[s.jsx(Fn,{size:13}),A?i("Add First Option",{ns:"common"}):i("Add Option",{ns:"common"})]})})]})]}):s.jsxs(s.Fragment,{children:[s.jsx(er,{small:!0,placeholder:i("Enter select option",{ns:"dashboard"}),autoFocus:!!o.value.templateOptions[C].label,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:b.isEnable===!1,type:"text",className:"".concat(b.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""),onKeyDown:_=>{var $,U,K;_.key==="Escape"?(h.value&&(b.value=h.value),u.value=null,h.value=null,f.value=null):_.key==="Enter"&&(h.value&&u.value===b.id?b.selectOptions=($=b.selectOptions)==null?void 0:$.map(Y=>Y===h.value&&b.value||Y):f.value===b.id&&b.value&&!((U=b.selectOptions)!=null&&U.includes(b.value))&&((K=b.selectOptions)==null||K.push(b.value)),o.value=ee(R({},o.value),{templateOptions:[...o.value.templateOptions]}),h.value=null,u.value=null,f.value=null)},onChange:_=>{b.value=_.target.value.trim()},defaultValue:f.value===b.id?"":b.value},S.value),s.jsx(ye,{size:"mini",variant:"ghost",className:"ml-1 h-8 w-9 text-blue-500 dark:bg-slate-800",onClick:()=>{var _,$,U;h.value&&u.value===b.id?b.selectOptions=(_=b.selectOptions)==null?void 0:_.map(K=>K===h.value&&b.value||K):f.value===b.id&&b.value&&!(($=b.selectOptions)!=null&&$.includes(b.value))&&((U=b.selectOptions)==null||U.push(b.value)),o.value=ee(R({},o.value),{templateOptions:[...o.value.templateOptions]}),h.value=null,u.value=null,f.value=null},title:f.value===b.id?i("Add Option",{ns:"common"}):i("Done Edit",{ns:"common"}),children:f.value===b.id?s.jsx(Fn,{size:18}):u.value===b.id&&s.jsx($t,{size:18})}),s.jsx(ye,{size:"mini",variant:"ghost",className:"h-8 w-8 text-slate-400 dark:bg-transparent",onClick:()=>{h.value&&(b.value=h.value),u.value=null,h.value=null,f.value=null},title:i("Cancel",{ns:"common"}),children:s.jsx(br,{size:15})})]})}):((V=b.label)==null?void 0:V.toLocaleLowerCase())!=="clipboard"?s.jsx(er,{small:!0,placeholder:i("Enter default value",{ns:"dashboard"}),autoFocus:o.value.templateOptions[C].label!=="Text",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 dark:bg-slate-900",disabled:b.isEnable===!1,type:b.type==="number"?"number":"text",className:"".concat(b.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full"),onChange:_=>{b.value=_.target.value.trim()},defaultValue:b.value},S.value):s.jsxs(s.Fragment,{children:[s.jsx(er,{small:!0,value:b.isValueMasked?Pv(i("This field allows to insert text from clipboard",{ns:"dashboard"})):i("This field allows to insert text from clipboard",{ns:"dashboard"}),title:i("This field allows to insert text from clipboard",{ns:"dashboard"}),autoFocus:!1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 nowrap overflow-hidden text-ellipsis dark:!text-slate-300 opacity-100 dark:bg-transparent",disabled:!0,type:"text",className:"".concat(b.isEnable===!1?"bg-gray-100 opacity-50 dark:bg-gray-900":""," w-full")}),s.jsx(Be,{isCompact:!0,text:i("Mask to hide clipboard value in preview",{ns:"dashboard"}),children:s.jsx(Ik,{width:15,height:15,className:"".concat(b.isValueMasked?"text-blue-500 opacity-100":"text-slate-500 opacity-50"," hover:text-blue-500 dark:hover:text-blue-400 hover:opacity-100 cursor-pointer"),onClick:()=>{var _;o.value=ee(R({},o.value),{templateOptions:[...(_=o.value.templateOptions)==null?void 0:_.map(($,U)=>U===C?ee(R({},$),{isValueMasked:!$.isValueMasked}):$)]})}})})]})})}),s.jsxs(me,{className:"gap-1 ml-0.5",children:[b.type!=="section"&&s.jsx(ye,{size:"mini",title:i("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var _;c.value=null,o.value=ee(R({},o.value),{templateOptions:[...(_=o.value.templateOptions)==null?void 0:_.map(($,U)=>U===C?ee(R({},$),{isEnable:!$.isEnable}):$)]})},children:o.value.templateOptions&&((I=o.value.templateOptions[C])!=null&&I.isEnable)?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",title:i("Field Options",{ns:"dashboard"}),variant:"ghost",onClick:()=>{o.value=ee(R({},o.value),{templateOptions:[...zn(o.value.templateOptions||[],C,C-1)]})},className:"text-sm font-semibold rounded-none hover:bg-transparent w-5 dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",children:s.jsx(sl,{size:14})})}),s.jsxs(Ar,{align:"end",children:[s.jsxs(He,{disabled:C===0,onClick:()=>{o.value=ee(R({},o.value),{templateOptions:[...zn(o.value.templateOptions||[],C,C-1)]})},className:"text-[13px] py-1",children:[s.jsx(J,{size:"xs",children:i("Move Up",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(N1,{size:13})})]}),s.jsxs(He,{disabled:o.value.templateOptions?C===o.value.templateOptions.length-1:!1,onClick:()=>{o.value=ee(R({},o.value),{templateOptions:[...zn(o.value.templateOptions||[],C,C+1)]})},className:"text-[13px] py-1",children:[s.jsx(J,{size:"xs",children:i("Move Down",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(E1,{size:13})})]}),s.jsx(tr,{}),((q=b.label)==null?void 0:q.toLocaleLowerCase())!=="clipboard"&&s.jsxs(He,{onClick:()=>{var _;j?c.value=null:c.value=(_=b.id)!=null?_:null},children:[j?s.jsx(J,{size:"xs",children:i("Done Edit",{ns:"common"})}):s.jsx(J,{size:"xs",children:i("Edit Label",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(y2,{size:13})})]}),b.isLabelOnTop?s.jsxs(He,{onClick:()=>{var _;c.value=null,o.value=ee(R({},o.value),{templateOptions:[...(_=o.value.templateOptions)==null?void 0:_.map(($,U)=>U===C?ee(R({},$),{isLabelOnTop:!1}):$)]})},children:[s.jsx(J,{size:"xs",children:i("Label Left",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(cz,{size:13})})]}):s.jsxs(He,{onClick:()=>{var _;c.value=null,o.value=ee(R({},o.value),{templateOptions:[...(_=o.value.templateOptions)==null?void 0:_.map(($,U)=>U===C?ee(R({},$),{isLabelOnTop:!0}):$)]})},children:[s.jsx(J,{size:"xs",children:i("Label Top",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(dz,{size:13})})]}),s.jsx(tr,{}),s.jsxs(He,{className:"text-red-500 dark:!text-red-600 text-[13px] focus:text-red-500 py-1",onClick:()=>{var _;o.value=ee(R({},o.value),{templateOptions:[...(_=o.value.templateOptions)==null?void 0:_.filter(($,U)=>U!==C)]}),n()},children:[s.jsx(J,{size:"xs",className:"!text-red-500 dark:!text-red-600",children:i("Remove",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(xn,{size:13})})]})]})]})]})]})]},C)}),v.value&&s.jsxs(J,{className:"!text-amber-800 dark:!text-amber-400 text-[13px] my-2 bg-yellow-50 dark:bg-yellow-900 p-2 relative",children:[i("All field labels must be unique to ensure they are correctly used within the template.",{ns:"dashboard"}),s.jsx(br,{className:"absolute top-0 right-0 m-2 bg-yellow-50 dark:bg-yellow-900 z-10 cursor-pointer hover:bg-yellow-100 dark:hover:bg-yellow-800",size:14,onClick:()=>{v.value=!1}})]}),t.value.length>0&&s.jsxs(me,{className:"rounded-md gap-2 my-3 items-start justify-start flex-wrap !text-amber-800 dark:!text-amber-400 text-[13px] bg-yellow-50 dark:bg-amber-950 p-2",children:[s.jsxs(J,{className:"!text-amber-700 dark:!text-amber-500 text-[13px] w-full",children:[s.jsx(mi,{size:13,className:"mr-1"}),i("Found in template but missing from fields definition",{ns:"common"}),":"]}),t==null?void 0:t.value.map((b,C)=>s.jsx(Q,{className:"cursor-pointer",onClick:()=>{var T;o.value.templateOptions||(o.value.templateOptions=[]),v.value=!1;const j=[...o.value.templateOptions],E=(T=o.value.templateOptions)==null?void 0:T.every(A=>A.label!==b);E||(v.value=!0);const N=E?b:"".concat(b," ").concat(o.value.templateOptions.length+1);j.push({id:Date.now().toString(),label:N,type:"text",isEnable:!0,value:""}),o.value=ee(R({},o.value),{templateOptions:j}),n()},children:s.jsxs(lt,{variant:"outline",className:"bg-red-50 dark:bg-red-950/80 hover:bg-blue-50 dark:hover:bg-blue-950/80 border-red-100 dark:border-red-900 hover:border-blue-100 dark:hover:border-blue-800 group text-normal pr-2.5",children:[s.jsx(Be,{text:i("Add to template fields",{ns:"common"}),sideOffset:5,isCompact:!0,side:"bottom",children:s.jsxs(me,{className:"group !text-red-500 dark:!text-red-400 hover:!text-blue-500 dark:hover:!text-blue-400 font-semibold mr-0.5",children:[s.jsx(zw,{size:12,className:"mr-0.5 group-hover:block hidden"}),s.jsx(Fn,{size:12,className:"mr-0.5 group-hover:hidden"}),b]})}),s.jsx(Be,{text:i("Remove from template",{ns:"common"}),sideOffset:10,isCompact:!0,side:"bottom",children:s.jsx(br,{onClick:j=>{var E;j.preventDefault(),j.stopPropagation(),(E=m.current)==null||E.handleRemoveTemplateField(b)},size:12,className:"ml-0.5 mr-0 hover:!text-red-600 dark:hover:!text-red-500 group-hover:text-blue-300 dark:group-hover:text-blue-400 text-red-300 dark:text-red-400 cursor-pointer"})},C)]})},C))]}),s.jsxs(s.Fragment,{children:[o.value.templateOptions.length>0&&s.jsxs(me,{className:"gap-2 my-3 items-start justify-start flex-wrap",children:[o.value.templateOptions.map((b,C)=>{var j;return!b.label||!b.label.length?null:b.label&&(r!=null&&r.value.includes((j=b.label)==null?void 0:j.toLocaleLowerCase()))?s.jsx(Be,{text:b.isEnable?b.label==="Clipboard"?s.jsx(ss,{i18nKey:"Field {{Clipboard}} has been found in the template. This allows you to copy text to the clipboard, and it will be inserted into the template",ns:"common"}):s.jsx(ss,{i18nKey:"Field {{{{name}}}} has been found in the template",ns:"dashboard",values:{name:b.label}}):s.jsx(ss,{i18nKey:"Disabled field {{{{name}}}} has been found in the template",ns:"dashboard",values:{name:b.label}}),isCompact:!0,side:"bottom",children:s.jsx(J,{className:"".concat(b.isEnable?"!text-green-600 dark:!text-green-400":"!text-gray-400 dark:!text-gray-500"," !font-normal group"),size:"xs",children:s.jsxs(lt,{variant:"outline",className:"".concat(b.isEnable?"bg-green-100 dark:bg-green-900 hover:bg-green-100/70 dark:hover:bg-green-900 border-green-200 dark:border-green-800":"bg-gray-100 dark:bg-gray-800/70 hover:bg-gray-100/70 dark:hover:bg-gray-700/70 border-gray-200 dark:border-gray-700"," text-normal pr-2.5 group-hover:pr-1.5"),children:[s.jsx($t,{size:12,className:"mr-0.5"}),b.label,s.jsx(Be,{text:i("Remove from template",{ns:"common"}),sideOffset:10,isCompact:!0,side:"bottom",children:s.jsx(br,{onClick:()=>{var E;(E=m.current)==null||E.handleRemoveTemplateField(b.label)},size:12,className:"".concat(b.isEnable?"text-green-600 dark:text-green-400":"text-gray-400 dark:text-gray-500"," ml-1 hover:!text-red-600 dark:hover:!text-red-300 group-hover:block animate-in fade-in hidden cursor-pointer")})})]})})},C):s.jsx(Be,{text:b.isEnable?b.label==="Clipboard"?s.jsx(ss,{i18nKey:"Add {{Clipboard}} field to template. This allows you to copy text to the clipboard, and it will be inserted into the template",ns:"common"}):s.jsx(ss,{i18nKey:"Add field {{{{name}}}} into the template",ns:"dashboard",values:{name:b.label}}):s.jsx(ss,{i18nKey:"Disabled field {{{{name}}}}",ns:"dashboard",values:{name:b.label}}),isCompact:!0,side:"bottom",children:s.jsx(J,{className:"".concat(b.isEnable?"!text-slate-500 dark:!text-slate-600 hover:!text-blue-500 dark:hover:!text-blue-700 cursor-pointer":"!text-gray-300 dark:!text-gray-600 "," group !font-normal"),size:"xs",onClick:()=>{var E;b.isEnable&&((E=m==null?void 0:m.current)==null||E.handleAddText("{{".concat(b.label,"}}")))},children:s.jsxs(lt,{variant:"outline",className:"".concat(b.isEnable?"bg-white dark:bg-slate-300/90 hover:bg-blue-50 dark:hover:bg-blue-300 border-slate-200 dark:border-slate-700 hover:border-blue-200 dark:hover:border-blue-800":"bg-gray-50 dark:bg-gray-800/80 hover:bg-gray-50 dark:hover:bg-gray-800 border-gray-100 dark:border-gray-700"," text-normal pr-2.5"),children:[b.isEnable?s.jsxs(s.Fragment,{children:[s.jsx(Df,{size:12,className:"mr-0.5 group-hover:block hidden"}),s.jsx(Fn,{size:12,className:"mr-0.5 group-hover:hidden"})]}):s.jsx(ma,{size:12,className:"mr-0.5 hover:text-blue-500 cursor-pointer",onClick:E=>{var N;E.preventDefault(),E.stopPropagation(),o.value=ee(R({},o.value),{templateOptions:[...(N=o.value.templateOptions)==null?void 0:N.map((T,A)=>A===C?ee(R({},T),{isEnable:!0}):T)]})}}),b.label]})})},C)}),o.value.templateOptions.length>1&&r.value.length>0&&s.jsx(Be,{text:i("Remove all fields from template",{ns:"common"}),isCompact:!0,side:"bottom",children:s.jsx(J,{className:"!text-slate-300 dark:!text-slate-500 hover:!text-red-500 dark:hover:!text-red-500 cursor-pointer !font-normal group",size:"xs",onClick:()=>{var b;(b=m==null?void 0:m.current)==null||b.handleRemoveAllTemplateFields()},children:s.jsx(lt,{variant:"outline",className:"dark:bg-slate-300/90 dark:hover:bg-red-100 dark:border-slate-700 dark:hover:border-blue-800 bg-white hover:bg-red-50 border-slate-200 hover:border-red-200 text-normal px-2.5 py-[3px]",children:s.jsx(G4,{size:13})})})})]}),s.jsx(po,{ref:m,tabIndex:0,enableEmoji:!1,className:"bg-white rounded-md text-sm w-full mr-1",placeholder:"".concat(i("Enter template or drag from history",{ns:"dashboard"}),". ").concat(i("Use double curly brackets for {{field name}}. Use {{clipboard}} to add current clipboard value.",{ns:"dashboard"})),rows:2,autoCorrect:"off",spellCheck:!1,enableEmojiInside:!0,label:"",maxRows:a?12:6,value:e.value,onKeyDown:b=>{b.stopPropagation()},onChange:b=>{e.value=b.target.value}})]})]})}function O2e({clipId:e,clipValue:t,showLinkValidationError:r,isLargeView:n,isDark:a,webrequestTestOutputObject:o,webrequestLocalOptions:i}){var g,b,C,j,E,N,T,A,M,D,L,z,H,V,I,q,_,$,U,K,Y,B,F,G,X,se;const{t:c}=Tt(),u=We(!1),f=We(!1),h=We(!1),m=We(!1),{updateItemById:v}=al(),S={dotpathjson:c("FILTERED_TYPES:::Dot Path",{ns:"dashboard"}),jsonpath:c("FILTERED_TYPES:::JSON Path",{ns:"dashboard"}),regex:c("FILTERED_TYPES:::RegEx",{ns:"dashboard"}),regexreplace:c("FILTERED_TYPES:::RegEx Replace",{ns:"dashboard"}),removequotes:c("FILTERED_TYPES:::Remove Quotes",{ns:"dashboard"})},w=re=>pe(this,null,function*(){const{headers:ie,body:oe,filters:ae}=i.value,fe={headers:ie,body:oe,filters:ae,method:re};yield v({updatedItem:{requestOptions:JSON.stringify({headers:ie,body:oe,method:re}),itemId:e}}),i.value=R({},fe)});return p.useEffect(()=>{i.value.body||(m.value=!1)},[o.value.body]),s.jsxs(Q,{className:"select-none mt-1",children:[s.jsxs(me,{className:"text-normal",children:[s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsxs(ye,{variant:"outline",size:"mini",className:"px-2 pr-1 h-10 text-slate-500 border font-semibold text-xs bg-slate-100 _text-sm group hover:text-blue-500 mr-1 flex items-center",children:[s.jsx("span",{children:i.value.method}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{onClick:()=>{w("GET")},children:s.jsx(J,{className:"".concat(i.value.method==="GET"&&"font-semibold"),children:"GET"})}),s.jsx(He,{textValue:"POST",onClick:()=>{w("POST")},children:s.jsx(J,{className:"".concat(i.value.method==="POST"&&"font-semibold"),children:"POST"})}),s.jsx(He,{onClick:()=>{w("PUT")},children:s.jsx(J,{className:"".concat(i.value.method==="PUT"&&"font-semibold"),children:"PUT"})}),s.jsx(He,{onClick:()=>{w("DELETE")},children:s.jsx(J,{className:"".concat(i.value.method==="DELETE"&&"font-semibold"),children:"DELETE"})}),s.jsx(He,{onClick:()=>{w("HEAD")},children:s.jsx(J,{className:"".concat(i.value.method==="HEAD"&&"!font-semibold"),children:"HEAD"})})]})]}),s.jsx(er,{defaultValue:t.value,placeholder:"Enter request url...",classNameInput:"pr-7 text-sm focus:border- ".concat(r.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(r.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:s.jsx(Q,{className:"absolute top-3 right-2",children:r.value?s.jsx(Be,{text:c("Request url might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx(mi,{size:18,className:"text-yellow-500 cursor-pointer"})}):r.value===!1&&s.jsx(Be,{text:c("Request url is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx($t,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:re=>{if(r.value&&(r.value=void 0),re.target.value.length>5){const oe=Rn().match(re.target.value);!oe||oe.length>1?r.value=!0:r.value=!1}t.value=re.target.value}})]}),s.jsx(Q,{className:"mt-2",children:s.jsxs(me,{className:"gap-4 w-full justify-start",children:[s.jsx(J,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",onClick:()=>{const re=[...i.value.headers];re.unshift({id:Date.now().toString(),name:"",isEnable:!0,value:""}),i.value=ee(R({},i.value),{headers:re})},title:c("Add Request Header",{ns:"dashboard"}),children:c("Add Header",{ns:"dashboard"})}),s.jsx(me,{children:s.jsxs(Ir,{children:[s.jsx(Or,{children:s.jsxs(J,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[c("Add Auth",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{onClick:()=>{i.value.auth||(i.value.auth={}),i.value.auth.type="Basic Password",i.value=ee(R({},i.value),{auth:ee(R({},i.value.auth),{type:"Basic Password",basicPassword:"",basicUsername:"",isEnable:!0})})},children:s.jsx(J,{className:"".concat(((g=i.value.auth)==null?void 0:g.type)==="Basic Password"&&"font-semibold"),children:c("Basic Auth",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{i.value.auth||(i.value.auth={}),i.value.auth.type="Bearer Token",i.value=ee(R({},i.value),{auth:ee(R({},i.value.auth),{type:"Bearer Token",bearerToken:"",isEnable:!0})})},children:s.jsx(J,{className:"".concat(((b=i.value.auth)==null?void 0:b.type)==="Bearer Token"&&"font-semibold"),children:c("Bearer Token",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{i.value.auth||(i.value.auth={}),i.value.auth.type="API Key",i.value=ee(R({},i.value),{auth:ee(R({},i.value.auth),{type:"API Key",apiKey:"",apiValue:"",isEnable:!0})})},children:s.jsx(J,{className:"".concat(((C=i.value.auth)==null?void 0:C.type)==="API Key"&&"font-semibold"),children:c("API Key",{ns:"dashboard"})})})]})]})}),s.jsx(me,{children:s.jsxs(Ir,{children:[s.jsx(Or,{children:s.jsxs(J,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[c("Add Response Filter",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{onClick:()=>{i.value.filters||(i.value.filters=[]);const re=[...i.value.filters];re.push({id:Date.now().toString(),filterType:"dotpathjson",isEnable:!0,value:""}),i.value=ee(R({},i.value),{filters:re})},children:s.jsx(J,{children:c("FILTERED_TYPES:::Dot Path",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{i.value.filters||(i.value.filters=[]);const re=[...i.value.filters];re.push({id:Date.now().toString(),filterType:"jsonpath",isEnable:!0,value:""}),i.value=ee(R({},i.value),{filters:re})},children:s.jsx(J,{children:c("FILTERED_TYPES:::JSON Path",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{i.value.filters||(i.value.filters=[]);const re=[...i.value.filters];re.push({id:Date.now().toString(),filterType:"regex",isEnable:!0,value:""}),i.value=ee(R({},i.value),{filters:re})},children:s.jsx(J,{children:c("FILTERED_TYPES:::RegEx",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{i.value.filters||(i.value.filters=[]);const re=[...i.value.filters];re.push({id:Date.now().toString(),filterType:"regexreplace",isEnable:!0,replace:"",value:""}),i.value=ee(R({},i.value),{filters:re})},children:s.jsx(J,{children:c("FILTERED_TYPES:::RegEx Replace",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{i.value.filters||(i.value.filters=[]);const re=[...i.value.filters];re.push({id:Date.now().toString(),filterType:"removequotes",isEnable:!0,value:""}),i.value=ee(R({},i.value),{filters:re})},children:s.jsx(J,{children:c("FILTERED_TYPES:::Remove Quotes",{ns:"dashboard"})})})]})]})})]})}),i.value.headers.length>0&&s.jsxs(Q,{className:"mt-2",children:[s.jsxs(me,{className:"gap-1 w-full justify-start",children:[s.jsxs(J,{className:"font-semibold",size:"sm",children:[c("Headers",{ns:"dashboard"}),s.jsx(lt,{className:"ml-1 py-0",variant:"secondary",children:i.value.headers.length})]}),s.jsxs(xa,{defaultOpen:!1,open:u.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(ye,{size:"mini",title:c("Remove headers",{ns:"dashboard"}),variant:"ghost",className:"text-sm w-6 h-6 hover:bg-transparent ml-0.5",onClick:()=>{u.value=!0},children:s.jsx(br,{size:16})})}),s.jsx(ea,{sideOffset:10,align:"center",className:"w-60",onEscapeKeyDown:()=>{u.value=!1},onPointerDownOutside:()=>{u.value=!1},children:s.jsxs(me,{className:"flex-col gap-3",children:[s.jsx(J,{color:"black",size:"sm",children:c("Confirm to remove headers",{ns:"dashboard"})}),s.jsxs(me,{children:[s.jsx(ye,{variant:"ghost",className:"hover:bg-transparent font-normal h-8",onClick:()=>{u.value=!1},children:c("Cancel",{ns:"common"})}),s.jsxs(ye,{className:"hover:bg-red-100 bg-red-50 text-red-500 h-8",onClick:()=>{i.value=ee(R({},i.value),{headers:[]}),u.value=!1},children:[c("Remove",{ns:"common"}),s.jsx(lt,{variant:"destructive",className:"ml-1 py-[1px]",children:i.value.headers.length})]})]})]})})]})]}),i.value.headers.map((re,ie)=>{var oe;return s.jsxs(me,{className:"gap-2 mb-1",children:[s.jsx(er,{small:!0,defaultValue:re.name,disabled:re.isEnable===!1,onChange:ae=>{re.name=ae.target.value.trim()},placeholder:c("Name",{ns:"dashboard"}),autoFocus:ie===0,className:"".concat(re.isEnable===!1?"bg-gray-100 opacity-50":""),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),s.jsx(er,{small:!0,placeholder:c("Value",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:re.isEnable===!1,className:"".concat(re.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:ae=>{re.value=ae.target.value.trim()},defaultValue:re.value,required:!0}),s.jsx(ye,{size:"mini",title:c("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{i.value=ee(R({},i.value),{headers:i.value.headers.map((ae,fe)=>fe===ie?ee(R({},ae),{isEnable:!ae.isEnable}):ae)})},children:(oe=i.value.headers[ie])!=null&&oe.isEnable?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsx(ye,{size:"mini",title:c("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{i.value=ee(R({},i.value),{headers:i.value.headers.filter((ae,fe)=>fe!==ie)})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:s.jsx(xn,{size:14})})]},re.id)})]}),((j=i.value.auth)==null?void 0:j.type)&&s.jsxs(Q,{className:"mt-2",children:[s.jsxs(me,{className:"gap-1 w-full justify-start",children:[s.jsxs(J,{className:"font-semibold",size:"sm",children:[c("Auth",{ns:"dashboard"})," (",(E=i.value.auth)==null?void 0:E.type,")"]}),s.jsxs(xa,{defaultOpen:!1,open:f.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(ye,{size:"mini",title:c("Remove headers",{ns:"dashboard"}),variant:"ghost",className:"text-sm w-6 h-6 hover:bg-transparent ml-0.5",onClick:()=>{f.value=!0},children:s.jsx(br,{size:16})})}),s.jsx(ea,{sideOffset:10,align:"center",className:"w-52",onEscapeKeyDown:()=>{f.value=!1},onPointerDownOutside:()=>{f.value=!1},children:s.jsxs(me,{className:"flex-col gap-3",children:[s.jsx(J,{color:"black",size:"sm",children:c("Confirm to remove Auth",{ns:"dashboard"})}),s.jsxs(me,{children:[s.jsx(ye,{variant:"ghost",className:"hover:bg-transparent font-normal h-8",onClick:()=>{f.value=!1},children:c("Cancel",{ns:"common"})}),s.jsx(ye,{className:"hover:bg-red-100 bg-red-50 text-red-500 h-8",onClick:()=>{i.value=ee(R({},i.value),{auth:{}}),f.value=!1},children:c("Remove",{ns:"common"})})]})]})})]})]}),((N=i.value.auth)==null?void 0:N.type)==="Bearer Token"&&s.jsxs(me,{className:"gap-2 mb-1",children:[s.jsx(er,{small:!0,isPassword:!0,showHidePassword:!0,defaultValue:(T=i.value.auth)==null?void 0:T.bearerToken,disabled:((A=i.value.auth)==null?void 0:A.isEnable)===!1,onChange:re=>{i.value.auth||(i.value.auth={}),i.value.auth.bearerToken=re.target.value.trim()},className:"".concat(((M=i.value.auth)==null?void 0:M.isEnable)===!1?"bg-gray-100 opacity-50":""),placeholder:c("Bearer Token",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),s.jsx(ye,{size:"mini",title:c("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var re;i.value=ee(R({},i.value),{auth:ee(R({},i.value.auth),{isEnable:!((re=i.value.auth)!=null&&re.isEnable)})})},children:(D=i.value.auth)!=null&&D.isEnable?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsx(ye,{size:"mini",title:c("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{i.value=ee(R({},i.value),{auth:{}})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:s.jsx(xn,{size:14})})]}),((L=i.value.auth)==null?void 0:L.type)==="API Key"&&s.jsxs(me,{className:"gap-2 mb-1",children:[s.jsx(er,{small:!0,defaultValue:(z=i.value.auth)==null?void 0:z.apiKey,disabled:((H=i.value.auth)==null?void 0:H.isEnable)===!1,className:"".concat(((V=i.value.auth)==null?void 0:V.isEnable)===!1?"bg-gray-100 opacity-50":""),onChange:re=>{i.value.auth||(i.value.auth={}),i.value.auth.apiKey=re.target.value.trim()},placeholder:c("API Key",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),s.jsx(er,{small:!0,defaultValue:(I=i.value.auth)==null?void 0:I.apiValue,disabled:((q=i.value.auth)==null?void 0:q.isEnable)===!1,className:"".concat(((_=i.value.auth)==null?void 0:_.isEnable)===!1?"bg-gray-100 opacity-50":""),onChange:re=>{i.value.auth||(i.value.auth={}),i.value.auth.apiValue=re.target.value.trim()},placeholder:c("API Key's Value",{ns:"dashboard"}),isPassword:!0,showHidePassword:!0,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),s.jsx(ye,{size:"mini",title:c("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var re;i.value=ee(R({},i.value),{auth:ee(R({},i.value.auth),{isEnable:!((re=i.value.auth)!=null&&re.isEnable)})})},children:($=i.value.auth)!=null&&$.isEnable?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsx(ye,{size:"mini",title:c("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{i.value=ee(R({},i.value),{auth:{}})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:s.jsx(xn,{size:14})})]}),((U=i.value.auth)==null?void 0:U.type)==="Basic Password"&&s.jsxs(me,{className:"gap-2 mb-1",children:[s.jsx(er,{small:!0,defaultValue:(K=i.value.auth)==null?void 0:K.basicUsername,disabled:((Y=i.value.auth)==null?void 0:Y.isEnable)===!1,className:"".concat(((B=i.value.auth)==null?void 0:B.isEnable)===!1?"bg-gray-100 opacity-50":""),onChange:re=>{i.value.auth||(i.value.auth={}),i.value.auth.basicUsername=re.target.value.trim()},placeholder:c("Basic Username",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),s.jsx(er,{small:!0,defaultValue:(F=i.value.auth)==null?void 0:F.basicPassword,disabled:((G=i.value.auth)==null?void 0:G.isEnable)===!1,className:"".concat(((X=i.value.auth)==null?void 0:X.isEnable)===!1?"bg-gray-100 opacity-50":""),onChange:re=>{i.value.auth||(i.value.auth={}),i.value.auth.basicPassword=re.target.value.trim()},placeholder:c("Basic Password",{ns:"dashboard"}),isPassword:!0,showHidePassword:!0,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),s.jsx(ye,{size:"mini",title:c("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var re;i.value=ee(R({},i.value),{auth:ee(R({},i.value.auth),{isEnable:!((re=i.value.auth)!=null&&re.isEnable)})})},children:(se=i.value.auth)!=null&&se.isEnable?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsx(ye,{size:"mini",title:c("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{i.value=ee(R({},i.value),{auth:{}})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:s.jsx(xn,{size:14})})]})]}),i.value.filters.length>0&&s.jsxs(Q,{className:"mt-2",children:[s.jsxs(me,{className:"gap-1 w-full justify-start",children:[s.jsxs(J,{className:"font-semibold",size:"sm",children:[c("Response Filters",{ns:"dashboard"}),s.jsx(lt,{className:"ml-1 py-0",variant:"secondary",children:i.value.filters.length})]}),s.jsxs(xa,{defaultOpen:!1,open:h.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(ye,{size:"mini",title:c("Remove headers",{ns:"dashboard"}),variant:"ghost",className:"text-sm w-6 h-6 hover:bg-transparent ml-0.5",onClick:()=>{h.value=!0},children:s.jsx(br,{size:16})})}),s.jsx(ea,{sideOffset:10,align:"center",className:"w-60",onEscapeKeyDown:()=>{h.value=!1},onPointerDownOutside:()=>{h.value=!1},children:s.jsxs(me,{className:"flex-col gap-3",children:[s.jsx(J,{color:"black",size:"sm",children:c("Confirm to remove filters",{ns:"dashboard"})}),s.jsxs(me,{children:[s.jsx(ye,{variant:"ghost",className:"hover:bg-transparent font-normal h-8",onClick:()=>{h.value=!1},children:c("Cancel",{ns:"common"})}),s.jsxs(ye,{className:"hover:bg-red-100 bg-red-50 text-red-500 h-8",onClick:()=>{i.value=ee(R({},i.value),{filters:[]}),h.value=!1},children:[c("Remove",{ns:"common"}),s.jsx(lt,{variant:"destructive",className:"ml-1 py-[1px]",children:i.value.filters.length})]})]})]})})]})]}),i.value.filters.map((re,ie)=>{var ae;const oe=S[re.filterType];return s.jsxs(me,{className:"gap-1 mb-1",children:[s.jsx(J,{title:"".concat(c("Filter Type",{ns:"dashboard"}),": ").concat(oe),className:"".concat(re.isEnable===!1?"bg-gray-100 opacity-50":""," text-[13px] !font-semibold pl-1.5 self-stretch flex !justify-end"),children:s.jsxs("span",{className:"whitespace-nowrap overflow-hidden text-ellipsis w-[120px] text-left block",children:[ie+1,". ",oe]})}),re.filterType==="removequotes"?s.jsx(er,{small:!0,autoFocus:ie===i.value.filters.length-1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5 !text-slate-600",disabled:!1,className:"".concat(re.isEnable===!1?"bg-gray-100 opacity-50":""," "),readOnly:!0,defaultValue:c("Remove all double quotes",{ns:"dashboard"})}):s.jsx(er,{small:!0,placeholder:c("Filter's Value",{ns:"dashboard"}),autoFocus:ie===i.value.filters.length-1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:re.isEnable===!1,className:"".concat(re.isEnable===!1?"bg-gray-100 opacity-50":""," w-full"),onChange:fe=>{re.value=fe.target.value.trim()},defaultValue:re.value}),re.filterType==="regexreplace"&&s.jsx(er,{small:!0,placeholder:c("Replace Value",{ns:"dashboard"}),autoFocus:ie===i.value.filters.length-1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:re.isEnable===!1,className:"".concat(re.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:fe=>{re.replace=fe.target.value.trim()},defaultValue:re.replace}),s.jsx(ye,{size:"mini",title:c("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{i.value=ee(R({},i.value),{filters:i.value.filters.map((fe,le)=>le===ie?ee(R({},fe),{isEnable:!fe.isEnable}):fe)})},children:(ae=i.value.filters[ie])!=null&&ae.isEnable?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",title:c("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{i.value=ee(R({},i.value),{filters:zn(i.value.filters,ie,ie-1)})},className:"text-sm font-semibold rounded-none hover:bg-transparent w-5 dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",children:s.jsx(sl,{size:14})})}),s.jsxs(Ar,{align:"end",children:[s.jsxs(He,{disabled:ie===0,onClick:()=>{i.value=ee(R({},i.value),{filters:zn(i.value.filters,ie,ie-1)})},className:"text-[13px] py-1",children:[s.jsx(J,{children:c("Move Up",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(N1,{size:13})})]}),s.jsxs(He,{disabled:ie===i.value.filters.length-1,onClick:()=>{i.value=ee(R({},i.value),{filters:zn(i.value.filters,ie,ie+1)})},className:"text-[13px] py-1",children:[s.jsx(J,{children:c("Move Down",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(E1,{size:13})})]}),s.jsxs(He,{className:"text-red-500 text-[13px] focus:text-red-500 py-1",onClick:()=>{i.value=ee(R({},i.value),{filters:i.value.filters.filter((fe,le)=>le!==ie)})},children:[s.jsx(J,{className:"!text-red-500",children:c("Remove",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(xn,{size:13})})]})]})]})]},re.id)})]}),(o.value.body||o.value.status)&&s.jsxs(Q,{className:"".concat(o.value.status&&o.value.status>=400?"bg-red-50 ":"bg-green-50"," ").concat(n?"py-1":"py-0"," rounded-md px-3 relative mt-2 pt-1 pb-1 select-text min-h-[0px] fade-in animate-in duration-500"),children:[o.value.body&&o.value.filteredBody&&s.jsx(Qi,{className:"flex flex-row absolute top-2 right-3 z-10 select-none",value:m.value?"fullBody":"filteredBody",onValueChange:re=>{m.value=re==="fullBody"},children:s.jsxs(Ho,{className:"self-center px-1 py-1 opacity-60 hover:opacity-100 animate-in fade-in bg-slate-200",children:[s.jsx(bn,{value:"fullBody",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",title:c("Full Body Response",{ns:"dashboard"}),children:c("Full",{ns:"dashboard"})}),s.jsx(bn,{value:"filteredBody",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",title:c("Filtered Response",{ns:"dashboard"}),children:c("Filtered",{ns:"dashboard"})})]})}),s.jsx(va,{isDark:a,maxHeight:n?150:100,isLargeView:!1,isShowMore:!0,isWrapped:!0,value:o.value.filteredBody&&!m.value?o.value.filteredBody:o.value.body||c("No body returned for response",{ns:"dashboard"}),language:o.value.contentType&&o.value.body&&XP[o.value.contentType.split(";")[0]]||"text"}),s.jsxs(me,{className:"justify-between py-1 pb-1",children:[s.jsx(Q,{className:"text-xs rounded-sm px-1.5 select-none bg-slate-300 text-slate-600",children:o.value.contentType&&XP[o.value.contentType.split(";")[0]]}),s.jsx(Q,{className:"".concat(o.value.status&&o.value.status>=400?"bg-red-300 text-red-700":"bg-green-300 text-green-700"," text-xs rounded-sm px-1.5 select-none"),children:o.value.status&&o.value.status>=400?"".concat(o.value.hasFiltersError?"filters":o.value.status," error"):"".concat(o.value.status)})]})]})]})}function $2e({clipValue:e,showLinkValidationError:t,isLargeView:r,isDark:n,testOutputObject:a,localOptions:o}){var v,S,w,g,b,C,j,E,N,T,A,M,D,L,z,H,V,I,q,_,$,U,K,Y,B,F,G,X,se,re,ie,oe,ae,fe;const{t:i}=Tt(),c=We(!1),u=We(!1),f={cssselector:i("RULES_TYPES:::CSS Selector",{ns:"dashboard"}),regexfind:i("RULES_TYPES:::RegEx Find",{ns:"dashboard"}),regexmatch:i("RULES_TYPES:::RegEx Match",{ns:"dashboard"}),regexmatchfoundgroup:i("RULES_TYPES:::RegEx Group Match",{ns:"dashboard"}),regexreplace:i("RULES_TYPES:::RegEx Replace",{ns:"dashboard"})},h={comma:i("SEPARATOR_TYPES:::Comma (,)",{ns:"dashboard"}),semicolon:i("SEPARATOR_TYPES:::Semicolon (;)",{ns:"dashboard"}),space:i("SEPARATOR_TYPES:::Space (' ')",{ns:"dashboard"}),newline:i("SEPARATOR_TYPES:::New Line (\\n)",{ns:"dashboard"}),tab:i("SEPARATOR_TYPES:::Tab (\\t)",{ns:"dashboard"}),pipe:i("SEPARATOR_TYPES:::Pipe (|)",{ns:"dashboard"})},m={first:i("RETURN_POSITION_TYPES:::First Only",{ns:"dashboard"}),last:i("RETURN_POSITION_TYPES:::Last Only",{ns:"dashboard"})};return s.jsxs(Q,{className:"select-none mt-1",children:[s.jsxs(me,{className:"text-normal",children:[s.jsx(Be,{asChild:!0,text:i("Website URL",{ns:"dashboard"}),isCompact:!0,side:"bottom",children:s.jsx(ye,{variant:"outline",size:"mini",className:"px-2 h-10 pointer-events-none text-slate-500 border font-semibold text-xs bg-slate-100 _text-sm group hover:text-blue-500 mr-1 flex items-center",children:s.jsx("span",{children:i("URL",{ns:"dashboard"})})})}),s.jsx(er,{defaultValue:e.value,placeholder:i("Enter request url",{ns:"dashboard"}),classNameInput:"pr-7 text-sm focus:border- ".concat(t.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(t.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:s.jsx(Q,{className:"absolute top-3 right-2",children:t.value?s.jsx(Be,{text:i("Website URL might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx(mi,{size:18,className:"text-yellow-500 cursor-pointer"})}):t.value===!1&&s.jsx(Be,{text:i("Website URL is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx($t,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:le=>{if(t.value&&(t.value=void 0),le.target.value.length>5){const be=Rn().match(le.target.value);!be||be.length>1?t.value=!0:t.value=!1}e.value=le.target.value}})]}),s.jsx(Q,{className:"mt-2",children:s.jsx(me,{className:"gap-4 w-full justify-start",children:s.jsx(me,{children:s.jsxs(Ir,{children:[s.jsx(Or,{children:s.jsxs(J,{className:"!text-blue-500 hover:underline cursor-pointer",size:"xs",children:[i("Add Scraping Rule",{ns:"dashboard"}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{onClick:()=>{o.value.scrapingRules||(o.value.scrapingRules=[]);const le=[...o.value.scrapingRules];le.push({id:Date.now().toString(),ruleType:"cssselector",isEnable:!0,value:""}),o.value=ee(R({},o.value),{scrapingRules:le})},children:s.jsx(J,{children:i("CSS Selector",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{o.value.scrapingRules||(o.value.scrapingRules=[]);const le=[...o.value.scrapingRules];le.push({id:Date.now().toString(),ruleType:"regexfind",isEnable:!0,value:""}),o.value=ee(R({},o.value),{scrapingRules:le})},children:s.jsx(J,{children:i("RegEx Find",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{o.value.scrapingRules||(o.value.scrapingRules=[]);const le=[...o.value.scrapingRules];le.push({id:Date.now().toString(),ruleType:"regexmatch",isEnable:!0,value:""}),o.value=ee(R({},o.value),{scrapingRules:le})},children:s.jsx(J,{children:i("RegEx Match",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{o.value.scrapingRules||(o.value.scrapingRules=[]);const le=[...o.value.scrapingRules];le.push({id:Date.now().toString(),ruleType:"regexmatchfoundgroup",isEnable:!0,value:""}),o.value=ee(R({},o.value),{scrapingRules:le})},children:s.jsx(J,{children:i("RegEx Match Group",{ns:"dashboard"})})}),s.jsx(He,{onClick:()=>{o.value.scrapingRules||(o.value.scrapingRules=[]);const le=[...o.value.scrapingRules];le.push({id:Date.now().toString(),ruleType:"regexreplace",isEnable:!0,value:""}),o.value=ee(R({},o.value),{scrapingRules:le})},children:s.jsx(J,{children:i("RegEx Replace",{ns:"dashboard"})})})]})]})})})}),o.value.scrapingRules&&o.value.scrapingRules.length>0&&s.jsxs(Q,{className:"mt-2",children:[s.jsxs(me,{className:"gap-1 w-full justify-start",children:[s.jsxs(J,{className:"font-semibold",size:"sm",children:[i("Scrapping Rules",{ns:"dashboard"}),s.jsx(lt,{className:"ml-1 py-0",variant:"secondary",children:o.value.scrapingRules.length})]}),s.jsxs(xa,{defaultOpen:!1,open:c.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(ye,{size:"mini",title:i("Remove headers",{ns:"dashboard"}),variant:"ghost",className:"text-sm w-6 h-6 hover:bg-transparent ml-0.5",onClick:()=>{c.value=!0},children:s.jsx(br,{size:16})})}),s.jsx(ea,{sideOffset:10,align:"center",className:"w-60",onEscapeKeyDown:()=>{c.value=!1},onPointerDownOutside:()=>{c.value=!1},children:s.jsxs(me,{className:"flex-col gap-3",children:[s.jsx(J,{color:"black",size:"sm",children:i("Confirm to remove rules",{ns:"dashboard"})}),s.jsxs(me,{children:[s.jsx(ye,{variant:"ghost",className:"hover:bg-transparent font-normal h-8",onClick:()=>{c.value=!1},children:i("Cancel",{ns:"dashboard"})}),s.jsxs(ye,{className:"hover:bg-red-100 bg-red-50 text-red-500 h-8",onClick:()=>{o.value=ee(R({},o.value),{scrapingRules:[]}),c.value=!1},children:[i("Remove",{ns:"dashboard"}),s.jsx(lt,{variant:"destructive",className:"ml-1 py-[1px]",children:o.value.scrapingRules.length})]})]})]})})]})]}),o.value.scrapingRules.map((le,ue)=>{var Ce,Pe;const be=f[le.ruleType];return s.jsxs(me,{className:"mb-1 mt-2 items-center",children:[s.jsx(J,{title:"".concat(i("Rule Type",{ns:"common"}),": ").concat(be),className:"".concat(le.isEnable===!1?"bg-gray-100 opacity-50":""," text-[13px] !font-semibold pl-1.5 self-stretch flex !justify-end pb-2"),children:s.jsxs("span",{className:"whitespace-nowrap overflow-hidden text-ellipsis w-[120px] text-left block",children:[ue+1,". ",be]})}),s.jsxs(me,{className:"gap-0.5 flex-col w-full items-start ".concat(le.isEnable===!1?"bg-gray-100 opacity-50":""),children:[s.jsx(me,{className:"w-full gap-1",children:s.jsxs(s.Fragment,{children:[s.jsx(er,{small:!0,placeholder:le.ruleType==="cssselector"?"Selector":"Rule's Value",autoFocus:o.value.scrapingRules?ue===((Ce=o.value.scrapingRules)==null?void 0:Ce.length)-1:!1,classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:le.isEnable===!1,className:"".concat(le.isEnable===!1?"bg-gray-100 opacity-50":""," w-full"),onChange:Ee=>{le.value=Ee.target.value.trim()},defaultValue:le.value}),le.ruleType==="cssselector"&&s.jsx(er,{small:!0,placeholder:"Find Text",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:le.isEnable===!1,className:"max-w-[120px] ".concat(le.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:Ee=>{le.filterText=Ee.target.value.trim()},defaultValue:le.filterText})]})}),s.jsxs(me,{className:"gap-1 mb-1",children:[le.ruleType==="regexreplace"&&s.jsx(er,{small:!0,placeholder:"Replace Value",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:le.isEnable===!1,className:"".concat(le.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:Ee=>{le.replace=Ee.target.value.trim()},defaultValue:le.replace}),le.ruleType==="cssselector"&&s.jsxs(s.Fragment,{children:[s.jsx(er,{small:!0,placeholder:"Attribute Name",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:le.isEnable===!1,className:"max-w-[120px] ".concat(le.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:Ee=>{le.returnAttribute=Ee.target.value.trim()},defaultValue:le.returnAttribute}),s.jsx(er,{small:!0,placeholder:"Attribute Text",classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",disabled:le.isEnable===!1,className:"max-w-[120px] ".concat(le.isEnable===!1?"bg-gray-100 opacity-50":""),onChange:Ee=>{le.returnAttributeText=Ee.target.value.trim()},defaultValue:le.returnAttributeText})]})]})]}),s.jsxs(me,{className:"gap-1 mb-1 mt-[-12px] ml-2",children:[s.jsx(ye,{size:"mini",title:i("Enable / Disable",{ns:"common"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var Ee;o.value=ee(R({},o.value),{scrapingRules:(Ee=o.value.scrapingRules)==null?void 0:Ee.map((Oe,Ve)=>Ve===ue?ee(R({},Oe),{isEnable:!Oe.isEnable}):Oe)})},children:o.value.scrapingRules&&((Pe=o.value.scrapingRules[ue])!=null&&Pe.isEnable)?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(ye,{size:"mini",title:i("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{o.value=ee(R({},o.value),{scrapingRules:zn(o.value.scrapingRules||[],ue,ue-1)})},className:"text-sm font-semibold rounded-none hover:bg-transparent w-5 dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",children:s.jsx(sl,{size:14})})}),s.jsxs(Ar,{align:"end",children:[s.jsxs(He,{disabled:ue===0,onClick:()=>{o.value=ee(R({},o.value),{scrapingRules:zn(o.value.scrapingRules||[],ue,ue-1)})},className:"text-[13px] py-1",children:[s.jsx(J,{children:i("Move Up",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(N1,{size:13})})]}),s.jsxs(He,{disabled:o.value.scrapingRules?ue===o.value.scrapingRules.length-1:!1,onClick:()=>{o.value=ee(R({},o.value),{scrapingRules:zn(o.value.scrapingRules||[],ue,ue+1)})},className:"text-[13px] py-1",children:[s.jsx(J,{children:i("Move Down",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(E1,{size:13})})]}),s.jsxs(He,{className:"text-red-500 text-[13px] focus:text-red-500 py-1",onClick:()=>{var Ee;o.value=ee(R({},o.value),{scrapingRules:(Ee=o.value.scrapingRules)==null?void 0:Ee.filter((Oe,Ve)=>Ve!==ue)})},children:[s.jsx(J,{className:"!text-red-500",children:i("Remove",{ns:"common"})}),s.jsx("div",{className:"ml-auto",children:s.jsx(xn,{size:13})})]})]})]})]})]},le.id)}),o.value.scrapingRules&&o.value.scrapingRules.length>0&&s.jsxs(me,{className:"mt-2 justify-start",children:[s.jsx(ye,{variant:"outline",size:"mini",className:"px-2 h-8 text-[13px] text-slate-500 border-0 font-semibold mr-2 flex items-center",children:s.jsx("span",{className:"whitespace-nowrap",children:i("Return Result As",{ns:"dashboard"})})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsxs(ye,{variant:"outline",size:"mini",title:i("Return Type",{ns:"dashboard"}),className:"px-2 pr-1 h-8 text-slate-500 border font-semibold text-xs bg-slate-100 _text-sm group hover:text-blue-500 mr-1 flex items-center",children:[s.jsx("span",{className:"whitespace-nowrap",children:(v=o.value.scrapingOptions)==null?void 0:v.returnType}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{disabled:!0,className:"text-center flex items-center justify-center py-0.5",children:s.jsx(J,{children:i("Return Type",{ns:"dashboard"})})}),s.jsx(tr,{}),s.jsx(rr,{checked:((S=o.value.scrapingOptions)==null?void 0:S.returnType)==="Text",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnType:"Text"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsx(J,{className:"".concat(((w=o.value.scrapingOptions)==null?void 0:w.returnType)==="Text"&&"font-semibold"),children:i("ReturnType:::Text",{ns:"dashboard"})})}),s.jsx(rr,{checked:((g=o.value.scrapingOptions)==null?void 0:g.returnType)==="Array",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnType:"Array"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsx(J,{className:"".concat(((b=o.value.scrapingOptions)==null?void 0:b.returnType)==="Array"&&"font-semibold"),children:i("ReturnType:::Array",{ns:"dashboard"})})})]})]}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsxs(ye,{variant:"outline",size:"mini",title:i("Return Count Limit",{ns:"dashboard"}),className:"px-2 pr-1 h-8 text-slate-500 border font-semibold text-xs bg-slate-100 _text-sm group hover:text-blue-500 mr-1 flex items-center",children:[s.jsxs("span",{className:"whitespace-nowrap",children:[i("Limit",{ns:"dashboard"}),":",s.jsx("span",{className:"ml-1",children:(C=o.value.scrapingOptions)!=null&&C.returnCount&&o.value.scrapingOptions.returnPosition==null&&o.value.scrapingOptions.returnCount>0?(j=o.value.scrapingOptions)==null?void 0:j.returnCount:((E=o.value.scrapingOptions)==null?void 0:E.returnPosition)!==null?m[(N=o.value.scrapingOptions)==null?void 0:N.returnPosition]:i("RETURN_POSITION_TYPES:::All",{ns:"dashboard"})})]}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{disabled:!0,className:"text-center flex items-center justify-center py-0.5",children:s.jsx(J,{children:i("Return Count Limit",{ns:"dashboard"})})}),s.jsx(tr,{}),s.jsx(rr,{checked:((T=o.value.scrapingOptions)==null?void 0:T.returnCount)==null&&((A=o.value.scrapingOptions)==null?void 0:A.returnPosition)==null,onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnPosition:null,returnCount:null});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsx(J,{className:"".concat(((M=o.value.scrapingOptions)==null?void 0:M.returnCount)==null&&((D=o.value.scrapingOptions)==null?void 0:D.returnPosition)==null&&"font-semibold"),children:i("All (No Limit)",{ns:"dashboard"})})}),s.jsx(rr,{checked:((L=o.value.scrapingOptions)==null?void 0:L.returnPosition)=="first",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnCount:null,returnPosition:"first"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsx(J,{className:"".concat(((z=o.value.scrapingOptions)==null?void 0:z.returnPosition)=="first"&&"font-semibold"),children:i("First Only",{ns:"dashboard"})})}),s.jsx(rr,{checked:((H=o.value.scrapingOptions)==null?void 0:H.returnPosition)=="last",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnCount:null,returnPosition:"last"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsx(J,{className:"".concat(((V=o.value.scrapingOptions)==null?void 0:V.returnPosition)=="last"&&"font-semibold"),children:i("Last Only",{ns:"dashboard"})})}),[...Array(5)].map((le,ue)=>{var Ce,Pe;const be=ue+1;return s.jsx(rr,{checked:((Ce=o.value.scrapingOptions)==null?void 0:Ce.returnCount)===be,onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const Ee=ee(R({},o.value.scrapingOptions),{returnPosition:null,returnCount:be});o.value=ee(R({},o.value),{scrapingOptions:Ee})},children:s.jsx(J,{className:"".concat(((Pe=o.value.scrapingOptions)==null?void 0:Pe.returnCount)===be&&"font-semibold"),children:be})},be)}),[10,20].map(le=>{var ue,be;return s.jsx(rr,{checked:((ue=o.value.scrapingOptions)==null?void 0:ue.returnCount)===le,onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const Ce=ee(R({},o.value.scrapingOptions),{returnPosition:null,returnCount:le});o.value=ee(R({},o.value),{scrapingOptions:Ce})},children:s.jsx(J,{className:"".concat(((be=o.value.scrapingOptions)==null?void 0:be.returnCount)===le&&"font-semibold"),children:le})},le)})]})]}),((I=o.value.scrapingOptions)==null?void 0:I.returnType)!=="Array"&&((q=o.value.scrapingOptions)==null?void 0:q.returnPosition)==null&&(((_=o.value.scrapingOptions)==null?void 0:_.returnCount)==null||(($=o.value.scrapingOptions)==null?void 0:$.returnCount)!==1)&&s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsxs(ye,{variant:"outline",size:"mini",title:i("Text Separator",{ns:"dashboard"}),className:"px-2 pr-1 h-8 text-slate-500 border font-semibold text-xs bg-slate-100 _text-sm group hover:text-blue-500 mr-1 flex items-center",children:[s.jsx("span",{className:"whitespace-nowrap",children:h[(U=o.value.scrapingOptions)==null?void 0:U.returnSeparator]}),s.jsx(Dr,{size:12,className:"ml-1"})]})}),s.jsxs(Ar,{sideOffset:12,align:"center",children:[s.jsx(He,{disabled:!0,className:"text-center flex items-center justify-center py-0.5",children:s.jsx(J,{children:i("Text Separator",{ns:"dashboard"})})}),s.jsx(tr,{}),s.jsx(rr,{checked:((K=o.value.scrapingOptions)==null?void 0:K.returnSeparator)==="newline",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnSeparator:"newline"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsxs(J,{className:"".concat(((Y=o.value.scrapingOptions)==null?void 0:Y.returnSeparator)==="newline"&&"font-semibold"),children:[i("ReturnSeparator:::New Line",{ns:"dashboard"})," (\\n)"]})}),s.jsx(rr,{checked:((B=o.value.scrapingOptions)==null?void 0:B.returnSeparator)==="tab",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnSeparator:"tab"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsxs(J,{className:"".concat(((F=o.value.scrapingOptions)==null?void 0:F.returnSeparator)==="tab"&&"font-semibold"),children:[i("ReturnSeparator:::Tab",{ns:"dashboard"})," (\\t)"]})}),s.jsx(rr,{checked:((G=o.value.scrapingOptions)==null?void 0:G.returnSeparator)==="comma",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnSeparator:"comma"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsxs(J,{className:"".concat(((X=o.value.scrapingOptions)==null?void 0:X.returnSeparator)==="comma"&&"font-semibold"),children:[i("ReturnSeparator:::Comma",{ns:"dashboard"})," (,)"]})}),s.jsx(rr,{checked:((se=o.value.scrapingOptions)==null?void 0:se.returnSeparator)==="semicolon",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnSeparator:"semicolon"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsxs(J,{className:"".concat(((re=o.value.scrapingOptions)==null?void 0:re.returnSeparator)==="semicolon"&&"font-semibold"),children:[i("ReturnSeparator:::Semicolon",{ns:"dashboard"})," (;)"]})}),s.jsx(rr,{checked:((ie=o.value.scrapingOptions)==null?void 0:ie.returnSeparator)==="pipe",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnSeparator:"pipe"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsxs(J,{className:"".concat(((oe=o.value.scrapingOptions)==null?void 0:oe.returnSeparator)==="pipe"&&"font-semibold"),children:[i("ReturnSeparator:::Pipe",{ns:"dashboard"})," (|)"]})}),s.jsx(rr,{checked:((ae=o.value.scrapingOptions)==null?void 0:ae.returnSeparator)==="space",onClick:()=>{o.value.scrapingOptions||(o.value.scrapingOptions={});const le=ee(R({},o.value.scrapingOptions),{returnSeparator:"space"});o.value=ee(R({},o.value),{scrapingOptions:le})},children:s.jsxs(J,{className:"".concat(((fe=o.value.scrapingOptions)==null?void 0:fe.returnSeparator)==="space"&&"font-semibold"),children:[i("ReturnSeparator:::Space",{ns:"dashboard"})," (' ')"]})})]})]})]})]}),(a.value.body||a.value.status)&&s.jsxs(Q,{className:"".concat(a.value.status&&a.value.status>=400?"bg-red-50 ":"bg-green-50"," ").concat(r?"!pb-3 mb-1 !py-3":"py-0 pb-2"," rounded-md px-3 relative mt-2 pt-1 select-text min-h-[0px] fade-in animate-in duration-500"),children:[a.value.body&&a.value.scrappedBody&&s.jsx(Qi,{className:"flex flex-row absolute top-2 right-3 z-10 select-none",value:u.value?"fullBody":"filteredBody",onValueChange:le=>{u.value=le==="fullBody"},children:s.jsxs(Ho,{className:"self-center px-1 py-1 opacity-60 hover:opacity-100 animate-in fade-in bg-slate-200",children:[s.jsx(bn,{value:"fullBody",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",title:i("Full Body Response",{ns:"dashboard"}),children:i("Full",{ns:"dashboard"})}),s.jsx(bn,{value:"filteredBody",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",title:i("Filtered Response",{ns:"dashboard"}),children:a.value.foundCount&&a.value.foundCount>1?i("Found {{foundCount}} results",{ns:"dashboard",foundCount:a.value.foundCount}):i("Found",{ns:"common"})})]})}),s.jsx(va,{isDark:n,maxHeight:r?150:100,isLargeView:!1,isShowMore:!0,isWrapped:!0,value:a.value.scrappedBody&&!u.value?a.value.scrappedBody:a.value.body||i("No body returned for response",{ns:"dashboard"}),language:a.value.body&&u.value?"html":"text"}),o.value.scrapingRules&&o.value.scrapingRules.length===0&&s.jsxs(J,{className:"text-xs text-yellow-600",children:[i("You have no rules added",{ns:"dashboard"}),"."]}),a.value.status&&a.value.status>=400&&s.jsx(me,{className:"justify-between py-1 pb-1",children:s.jsxs(Q,{className:"text-xs rounded-sm px-1.5 select-none bg-red-300 text-red-700",children:[a.value.status," error"]})})]})]})}function eW({id:e,isMenu:t}){const r=We(!1),{t:n}=Tt(),a=()=>{r.value=!1,_4.value=null},{deleteClipImageByItemId:o}=Mge();return s.jsxs(xa,{defaultOpen:!1,open:r.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(Q,{tabIndex:0,className:"focus:outline-none",children:s.jsx(Be,{text:n("Remove image",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"p-1.5 border-0 bg-red-50/80 flex items-center justify-center hover:bg-red-50/100",onClick:()=>{r.value=!0,_4.value=e},children:s.jsx(xn,{size:20,className:"text-red-600 cursor-pointer"})})})})}),s.jsx(ea,{sideOffset:16,align:"center",className:"p-3 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-60",onEscapeKeyDown:()=>{a()},onPointerDownOutside:()=>{a()},children:r.value&&s.jsxs(me,{className:"flex-col",children:[t?s.jsx(J,{color:"black",size:"sm",className:"!inline-block text-center mb-2 font-semibold",children:n("Are you sure you want to remove image from the menu?",{ns:"menus"})}):s.jsx(J,{color:"black",size:"sm",className:"!inline-block text-center mb-2 font-semibold",children:n("Are you sure you want to remove image from the clip?",{ns:"dashboard"})}),s.jsx(J,{color:"black",size:"sm",className:"italic text-center",children:n("This action cannot be undone.",{ns:"dashboard"})}),s.jsx(kr,{h:3}),s.jsxs(me,{children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 dark:hover:text-gray-400 hover:text-gray-600 mr-3 border-gray-100 hover:border-gray-200 dark:bg-gray-900 dark:border-gray-900 dark:hover:border-gray-900 dark:hover:bg-gray-800",onClick:()=>{a()},children:n("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-red-100 hover:bg-opacity-80 hover:bg-red-200 text-red-500 hover:text-red-600 border-red-200 dark:bg-red-900 dark:border-red-900 dark:hover:border-red-900 dark:hover:bg-red-800 dark:text-red-300 dark:hover:text-red-200",onClick:()=>{o({itemId:e}),a()},children:n("Remove",{ns:"common"})})]})]})})]})}function z2e({clipId:e,isOver:t,value:r,isCode:n,isText:a,isTemplate:o,isForm:i,isImage:c,isDelete:u,isMasked:f,hasEmoji:h,isVideo:m,isCommand:v,isWebRequest:S,isWebScraping:w,isPath:g,isLink:b,isLargeView:C,imageDataUrl:j,isPinned:E,isFavorite:N,requestOptions:T,isShowLinkedClip:A,formTemplateOptions:M,isNewlyCreated:D,isDark:L,detectedLanguage:z,isHistoryDragActive:H,onCancel:V}){var pt,_t,ht,It,Ft,Vt,Ge,Zt,nr,vr,pr,Wr;const{t:I}=Tt(),q=p.useRef(null),_=We(""),$=We({method:"GET",headers:[],body:"",scrapingRules:[],scrapingOptions:{returnType:"Text",returnSeparator:null,returnCount:null},filters:[],auth:{}}),U=We({templateOptions:[],formOptions:{fields:[]}}),K=We(""),Y=We(""),B=We("text"),F=We({body:null,status:null,hasFiltersError:null,foundCount:null,filteredBody:null,contentType:null}),{metadataLinkByItemId:G,invalidateLinkMetadataByItemId:X}=L1(b,e),se=(G==null?void 0:G.linkTitle)&&(G==null?void 0:G.linkDomain),re=th(),ie=We(!1),oe=We([]),ae=We([]),fe=We(Date.now()),le=We(!1),ue=We(void 0),be=We(void 0),Ce=We(void 0),Pe=We(void 0),{updateItemById:Ee}=al(),Oe=p.useRef(null),Ve=go(_.value,300),ct=go(_.value,600),gt=C?"max-h-[600px]":"max-h-[300px]",Ke=We(!1);p.useEffect(()=>{if(T)try{const Le=JSON.parse(T);$.value=R(R({},$.value),Le)}catch(Le){console.log("error",Le)}},[T]),p.useEffect(()=>{if(M)try{const Le=JSON.parse(M);U.value=R(R({},U.value),Le)}catch(Le){console.log("error",Le)}},[M]),p.useEffect(()=>{_.value=r!=null?r:""},[r]);const Et=p.useMemo(()=>n?I("Type:::Code Snippet",{ns:"common"}):c?I("Type:::Image",{ns:"common"}):v?I("Type:::Shell Command",{ns:"common"}):S?I("Type:::Web Request (HTTP)",{ns:"common"}):w?I("Type:::Web Scraper / Parser",{ns:"common"}):b?I("Type:::Link or Email",{ns:"common"}):g?I("Type:::File, Path or App",{ns:"common"}):i?I("Type:::Form Auto Fill",{ns:"common"}):o?I("Type:::Template Fill",{ns:"common"}):I("Type:::Plain Text",{ns:"common"}),[n,c,v,S,b,g,i,o,w]);p.useEffect(()=>{if(b){const Dt=Rn().match(_.value);!Dt||Dt.length>1?ue.value=!0:ue.value=!1}},[b]);const Re=p.useCallback(Le=>pe(this,null,function*(){const Ze=r===_.value?r:Le;g&&Ze.length>5&&Sr("check_path",{path:Ze}).then(()=>{be.value=!1}).catch(()=>{be.value=!0})}),[g]),xt=p.useCallback(Le=>{const Dt=/{{[^{}]+}}/g;oe.value=[],ae.value=[];const Ze=Le.match(Dt);Ze&&Ze.forEach((mr,Se)=>{Ze[Se]=mr.replace(/[\n\r{}]+/g,"").trim(),ae.value.push(Ze[Se].toLocaleLowerCase());const je=U.value.templateOptions.find(we=>{var Fe;return((Fe=we.label)==null?void 0:Fe.toLocaleLowerCase())===Ze[Se].toLocaleLowerCase()});je?je.isFound=!0:Ze[Se].toLocaleLowerCase()==="clipboard"?oe.value.push("Clipboard"):oe.value.push(Ze[Se])}),oe.value=[...new Set(oe.value)],!Ze||Ze.length===0||oe.value.length>0?Pe.value=!0:Pe.value=!1},[o,U.value.templateOptions]);p.useEffect(()=>{g&&Ve.length>5&&Re(Ve)},[g,Ve]),p.useEffect(()=>{o&&ct.length>5&&xt(_.value)},[ct]),p.useEffect(()=>{(ue.value||be.value||Pe.value||Ce.value)&&le.value&&(ie.value=!0)},[ue.value,be.value,Ce.value,Pe.value,le.value]),p.useEffect(()=>{F.value.status&&F.value.status>=400&&le.value&&(ie.value=!0)},[F.value.status,le.value]);const ot=(Le=!1)=>pe(this,null,function*(){var mr,Se,je,we,Fe,nt;if(mp.value&&(Jy.value=!0,yield new Promise(rt=>setTimeout(rt,200))),eb.value)return;let Dt=null;ie.value=!1,le.value=!0,ue.value=void 0,be.value=void 0,F.value={};const Ze=_.value.trim();if(Le)Dt=g?"Error":null;else{if(o)if(xt(_.value),oe.value.length>0||ae.value.length===0){Pe.value=!0;return}else Pe.value=!1;if(i&&((mr=U.value.formOptions)!=null&&mr.openUrl)&&!((Se=U.value.formOptions)!=null&&Se.isOpenUrlDisabled)){const Ie=Rn().match((je=U.value.formOptions)==null?void 0:je.openUrl);if(!Ie||Ie.length>1){ue.value=!0;return}}if(b){const Ie=Rn().match(Ze);if(!Ie||Ie.length>1){ue.value=!0;return}}if(g)try{Dt=yield Sr("path_type_check",{path:Ze})}catch(rt){Dt="Error",be.value=!0;return}else if(v)try{if(yield Sr("run_shell_command",{execCmd:Ze}),(we=$.value.outputTemplate)!=null&&we.id&&!((nt=(Fe=$.value.outputTemplate)==null?void 0:Fe.value)!=null&&nt.includes("{{output}}"))){Pe.value=!0;return}}catch(rt){K.value=rt,Ce.value=!0;return}else if(S)try{const rt=yield Sr("run_web_request",{request:{url:Ze,method:$.value.method,headers:$.value.headers,filters:$.value.filters,body:$.value.body,auth:$.value.auth}});if(F.value={},rt.status&&rt.status>=400){F.value={body:rt.body,filteredBody:rt.filteredBody,hasFiltersError:rt.hasFiltersError,status:rt.status,contentType:rt.contentType};return}}catch(rt){F.value={body:rt,status:500,contentType:null};return}else if(w)try{const rt=yield Sr("run_web_scraping",{request:{url:Ze,method:"GET",scrapingRules:$.value.scrapingRules,scrapingOptions:$.value.scrapingOptions}});if(F.value={},rt.status&&rt.status>=400){F.value={body:rt.body,filteredBody:rt.scrappedBody,hasFiltersError:rt.hasRulesError,status:rt.status};return}}catch(rt){F.value={body:rt,status:500,contentType:null};return}}(i||o)&&(o&&U.value.templateOptions.forEach(rt=>{rt.defaultValue=rt.value}),M=JSON.stringify(U.value),yield Ee({updatedItem:{formTemplateOptions:M,isForm:!!i,isTemplate:!!o,itemId:e}})),(S||w||v)&&(T=JSON.stringify($.value),yield Ee({updatedItem:{requestOptions:T,itemId:e}})),yield Ee({updatedItem:ee(R(R(R(R({value:Ze},v?{isCommand:!0}:{}),S?{isWebRequest:!0}:{}),w?{isWebScraping:!0}:{}),Dt&&g?{pathType:Dt}:{}),{itemId:e})}),setTimeout(()=>{le.value=!1,V()},200)});return p.useEffect(()=>{var Le;A&&((Le=q==null?void 0:q.current)==null||Le.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))},[A,q==null?void 0:q.current]),s.jsx(eh,{className:hr("px-2 pr-1.5 py-2 m-0.5 mt-0 pt-0 mx-1 text-left flex flex-row rounded-md select-auto",u&&"bg-red-50 dark:bg-red-900"),children:s.jsxs(Q,{className:"w-full mt-0",ref:q,children:[!H||c&&j?n||z||c||v||b||S||o||w||i||g?g?s.jsxs(me,{className:"relative text-normal",children:[s.jsx(er,{defaultValue:_.value,placeholder:I("Enter full path to file, folder or application",{ns:"dashboard"}),classNameInput:"pr-10 text-sm focus:border- ".concat(be.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(be.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:s.jsx(Q,{className:"absolute top-3 right-4",children:be.value?s.jsx(Be,{text:I("File, folder or app path might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx(mi,{size:18,className:"text-yellow-500 cursor-pointer"})}):be.value===!1&&s.jsx(Be,{text:I("File, folder or app path is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx($t,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:Le=>{_.value=Le.target.value}},fe.value),s.jsx(QU,{onCallBack:Le=>{fe.value=Date.now(),_.value=Le}})]}):b?s.jsxs(me,{className:"relative text-normal mt-1 flex-col",children:[s.jsx(er,{defaultValue:_.value,placeholder:I("Enter web link or email",{ns:"dashboard"}),classNameInput:"pr-7 text-sm focus:border- ".concat(ue.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(ue.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:s.jsx(Q,{className:"absolute top-3 right-2",children:ue.value?s.jsx(Be,{text:I("Web Link or Email might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 dark:bg-yellow-900 dark:text-slate-200 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx(mi,{size:18,className:"text-yellow-500 cursor-pointer"})}):ue.value===!1&&s.jsx(Be,{text:I("Web or Email link is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 dark:bg-green-900 dark:text-slate-200 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx($t,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:Le=>{if(ue.value&&(ue.value=void 0),Le.target.value.length>5){const Ze=Rn().match(Le.target.value);!Ze||Ze.length>1?ue.value=!0:ue.value=!1}_.value=Le.target.value}}),se&&s.jsx(Q,{className:"self-start mt-2 mb-0 text-xs w-full select-none overflow-hidden",children:s.jsx(t0,{isDisabled:_n((pt=_.value)==null?void 0:pt.trim())!==((_t=G==null?void 0:G.linkUrl)==null?void 0:_t.trim()),title:G==null?void 0:G.linkTitle,description:G==null?void 0:G.linkDescription,favicon:G==null?void 0:G.linkFavicon,link:G==null?void 0:G.linkUrl,image:G==null?void 0:G.linkImage,domain:G==null?void 0:G.linkDomain})}),c?!pc(_.value)&&!ue.value&&s.jsx(Q,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center",children:s.jsx(tl,{src:_n(_.value),hasError:Ke.value,onErrorCallback:()=>{Ke.value=!0},draggable:!1,decoding:"async",className:"".concat(gt," min-h-10")})}):s.jsxs(me,{className:"w-full mt-1 justify-start select-none",children:[pc(_.value)||ue.value||_.value.length<3?!pc(_.value)&&s.jsx(ye,{disabled:!0,variant:"ghost",className:"!px-1 !m-0 !h-4",children:se?s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline",size:"xs",children:[s.jsx(x2,{size:13,className:"mr-1"}),"!",I("Update Link Card",{ns:"dashboard"}),"!"]}):s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline",size:"xs",children:[s.jsx(Dv,{size:13,className:"mr-1"}),I("Add Link Card",{ns:"dashboard"})]})}):s.jsx(ye,{variant:"ghost",className:"px-1 !m-0 !h-4 hover:bg-transparent",onClick:()=>pe(this,null,function*(){yield Sr("fetch_link_metadata",{url:_n(_.value),itemId:e}),X()}),children:se?s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[s.jsx(x2,{size:13,className:"mr-1"}),I("Update Link Card",{ns:"dashboard"})]}):s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[s.jsx(Dv,{size:13,className:"mr-1"}),I("Add Link Card",{ns:"dashboard"})]})}),se&&s.jsx(ye,{variant:"ghost",className:"px-1 ml-auto !h-4 hover:bg-transparent",onClick:()=>pe(this,null,function*(){yield Sr("delete_link_metadata",{itemId:e}),X()}),children:s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[I("Remove",{ns:"common"}),s.jsx(Mv,{size:14,className:"ml-1"})]})})]})]}):n?s.jsx(Rj,{value:_.value,height:C?"calc(100vh - 280px)":"200px",isDark:L,options:{mode:z!=null?z:"javascript"},onChange:Le=>{_.value=Le.getValue()}},"code-editor"):c?s.jsxs(Q,{className:"px-0 py-1.5 flex items-center justify-center relative",children:[s.jsx("img",{src:j||xf,draggable:!1,decoding:"async",height:"auto",className:"".concat(_4.value===e?"!border-red-400 opacity-70":""," max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-400")}),s.jsx(Q,{className:"absolute",children:j?s.jsx(eW,{id:e}):s.jsx(XU,{id:e})})]}):v?s.jsxs(Q,{className:"mt-0.5",children:[s.jsx(Rj,{value:_.value,height:C?"260px":"70px",isDark:L,isCmd:!0,lineWrapping:!0,options:{mode:"shell"},onChange:Le=>{_.value=Le.getValue(),K.value="",Ce.value=void 0}},"code-editor"),(ht=$.value.outputRegexFilter)!=null&&ht.id?s.jsxs(Q,{className:"mt-2",children:[s.jsx(me,{className:"gap-1 w-full justify-start",children:s.jsx(J,{className:"font-semibold",size:"sm",children:I("Regex Match Group Filter",{ns:"dashboard"})})}),s.jsxs(me,{className:"gap-2 mb-2",children:[s.jsx(er,{small:!0,defaultValue:(It=$.value.outputRegexFilter)==null?void 0:It.value,disabled:((Ft=$.value.outputRegexFilter)==null?void 0:Ft.isEnable)===!1,onChange:Le=>{$.value.outputRegexFilter||($.value.outputRegexFilter={}),$.value.outputRegexFilter.value=Le.target.value.trim()},className:"".concat(((Vt=$.value.outputRegexFilter)==null?void 0:Vt.isEnable)===!1?"bg-gray-100 opacity-50":""),placeholder:I("Enter regex for output filer",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),s.jsx(ye,{size:"mini",title:I("Enable / Disable",{ns:"dashboard"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var Le;$.value=ee(R({},$.value),{outputRegexFilter:ee(R({},$.value.outputRegexFilter),{isEnable:!((Le=$.value.outputRegexFilter)!=null&&Le.isEnable)})})},children:(Ge=$.value.outputRegexFilter)!=null&&Ge.isEnable?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsx(ye,{size:"mini",title:I("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{$.value=ee(R({},$.value),{outputRegexFilter:{}})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:s.jsx(xn,{size:14})})]})]}):s.jsx(me,{className:"gap-4 w-full justify-start mt-2 mb-1",children:s.jsx(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",onClick:()=>{var Le,Dt,Ze;$.value.outputRegexFilter||($.value.outputRegexFilter={}),$.value=ee(R({},$.value),{outputRegexFilter:{id:(Le=$.value.outputRegexFilter.id)!=null?Le:Date.now().toString(),value:(Dt=$.value.outputRegexFilter.value)!=null?Dt:"",isEnable:(Ze=$.value.outputRegexFilter.isEnable)!=null?Ze:!0}})},children:I("Add Regex Match Group Filter",{ns:"dashboard"})})}),(Zt=$.value.outputTemplate)!=null&&Zt.id?s.jsxs(Q,{className:"mt-2",children:[s.jsx(me,{className:"gap-1 w-full justify-start",children:s.jsx(J,{className:"font-semibold",size:"sm",children:I("Output Template",{ns:"dashboard"})})}),Pe.value&&s.jsx(J,{className:"!text-yellow-600 text-xs mt-2",children:s.jsx(ss,{i18nKey:"Template should have⠀{{output}}⠀placeholder.",ns:"dashboard"})}),s.jsxs(me,{className:"gap-2 mb-2",children:[s.jsx(er,{small:!0,defaultValue:(nr=$.value.outputTemplate)==null?void 0:nr.value,disabled:((vr=$.value.outputTemplate)==null?void 0:vr.isEnable)===!1,onChange:Le=>{$.value.outputTemplate||($.value.outputTemplate={}),$.value.outputTemplate.value=Le.target.value.trim()},className:"".concat(((pr=$.value.outputTemplate)==null?void 0:pr.isEnable)===!1?"bg-gray-100 opacity-50":""),placeholder:I("Wrap output using {{output}} placeholder",{ns:"dashboard"}),classNameInput:"text-sm border-0 border-b border-gray-200 rounded-none pl-1.5",required:!0}),s.jsx(ye,{size:"mini",title:I("Enable / Disable",{ns:"dashboard"}),variant:"ghost",className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-blue-400 text-slate-600 hover:text-blue-500",onClick:()=>{var Le;$.value=ee(R({},$.value),{outputTemplate:ee(R({},$.value.outputTemplate),{isEnable:!((Le=$.value.outputTemplate)!=null&&Le.isEnable)})})},children:(Wr=$.value.outputTemplate)!=null&&Wr.isEnable?s.jsx(Oa,{size:14}):s.jsx(ma,{size:14})}),s.jsx(ye,{size:"mini",title:I("Remove",{ns:"common"}),variant:"ghost",onClick:()=>{$.value=ee(R({},$.value),{outputTemplate:{}})},className:"text-sm font-semibold w-6 h-6 hover:bg-transparent dark:text-slate-400 dark:hover:text-red-500 text-slate-600 hover:text-red-500",children:s.jsx(xn,{size:14})})]})]}):s.jsx(me,{className:"gap-4 w-full justify-start mt-2 mb-1",children:s.jsx(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",onClick:()=>{var Le,Dt,Ze;$.value.outputTemplate||($.value.outputTemplate={}),$.value=ee(R({},$.value),{outputTemplate:{id:(Le=$.value.outputTemplate.id)!=null?Le:Date.now().toString(),value:(Dt=$.value.outputTemplate.value)!=null?Dt:"",isEnable:(Ze=$.value.outputTemplate.isEnable)!=null?Ze:!0}})},children:I("Add Output Template",{ns:"dashboard"})})}),K.value&&s.jsxs(Q,{className:"".concat(Ce.value?"bg-red-50 dark:bg-red-950":"bg-green-50 dark:bg-green-950"," ").concat(C?"py-1":"py-0"," rounded-md px-3 relative"),children:[s.jsx(va,{isDark:L,maxHeight:C?150:100,isLargeView:!1,isShowMore:!0,isWrapped:!0,value:K.value,language:"shell"}),s.jsx(Q,{className:"".concat(Ce.value?"bg-red-300 dark:bg-red-800":"bg-green-300 dark:bg-green-800"," text-xs rounded-sm px-1.5 absolute right-2 bottom-2 select-none"),children:Ce.value?I("Command:::error",{ns:"dashboard"}):I("Command:::output",{ns:"dashboard"})})]})]}):S?s.jsx(O2e,{isLargeView:C,clipId:e,clipValue:_,webrequestTestOutputObject:F,webrequestLocalOptions:$,showLinkValidationError:ue,isDark:L,requestOptions:T}):w?s.jsx($2e,{isLargeView:C,clipValue:_,testOutputObject:F,localOptions:$,showLinkValidationError:ue,isDark:L,requestOptions:T}):o?s.jsxs(Q,{children:[s.jsx(I2e,{clipValue:_,isLargeView:C,checkForTemplateFieldsCallback:()=>{xt(_.value)},templateMissingFields:oe,templateFoundFields:ae,localOptions:U}),Y.value&&s.jsxs(Q,{className:"bg-sky-50/70 dark:bg-sky-950/70 relative mt-2 rounded-md text-sm",children:[s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:s.jsxs(Q,{className:"text-sm py-1 px-3 whitespace-pre-wrap pb-8",children:[s.jsx("div",ee(R({},B.value==="html"&&{dangerouslySetInnerHTML:{__html:Of.sanitize(Y.value)}}),{className:"font-normal"})),B.value==="text"&&Y.value]})}),s.jsx(br,{size:16,className:"absolute right-2 top-2 cursor-pointer opacity-30 hover:opacity-100",onClick:()=>{Y.value=""}}),s.jsx(Q,{className:"bg-slate-300 dark:bg-slate-900 text-xs rounded-sm px-1.5 absolute left-2 bottom-2 select-none",children:I("filled template",{ns:"dashboard"})}),s.jsx(Qi,{className:"flex flex-row absolute bottom-2 right-3 z-10 select-none",value:B.value,onValueChange:Le=>{B.value=Le==="html"?"html":"text"},children:s.jsxs(Ho,{className:"self-center px-1 py-1 opacity-60 hover:opacity-100 animate-in fade-in bg-slate-200 dark:bg-slate-900",children:[s.jsx(bn,{value:"text",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:I("Text",{ns:"dashboard"})}),s.jsx(bn,{value:"html",className:"!text-xs py-0.5 data-[state=active]:text-slate-500 dark:data-[state=active]:text-slate-200 text-slate-400 dark:text-slate-500 hover:text-blue-400 dark:hover:text-slate-200 data-[state=active]:hover:text-slate-500",children:I("HTML",{ns:"dashboard"})})]})})]})]}):i&&s.jsx(L2e,{isLargeView:C,showLinkValidationError:ue,localOptions:U}):s.jsxs(s.Fragment,{children:[s.jsxs(Q,{className:"text-slate-400 flex gap-1.5 px-0.5 p-1.5 pt-0.5 items-center",children:[s.jsx(Be,{isCompact:!0,text:I("Toolbar:::Copy and Paste Formatting",{ns:"common"}),children:s.jsx(vz,{size:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Le;(Le=Oe==null?void 0:Oe.current)==null||Le.handleAddBBcode("copy")}})}),s.jsx(Be,{isCompact:!0,text:I("Toolbar:::Masked Text Formatting",{ns:"common"}),children:s.jsx(Ik,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Le;(Le=Oe==null?void 0:Oe.current)==null||Le.handleAddBBcode("mask")}})}),s.jsx(Be,{isCompact:!0,text:I("Toolbar:::Blank Text Formatting",{ns:"common"}),children:s.jsx(UU,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Le;(Le=Oe==null?void 0:Oe.current)==null||Le.handleAddBBcode("blank")}})}),s.jsx(Be,{isCompact:!0,text:I("Toolbar:::Hightlight Text Formatting",{ns:"common"}),children:s.jsx(WU,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Le;(Le=Oe==null?void 0:Oe.current)==null||Le.handleAddBBcode("hl")}})}),s.jsx(Be,{isCompact:!0,text:I("Toolbar:::Header Formatting",{ns:"common"}),children:s.jsx(wie,{size:17,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Le;(Le=Oe==null?void 0:Oe.current)==null||Le.handleAddBBcode("h")}})}),s.jsx(Be,{isCompact:!0,text:I("Toolbar:::Bold Formatting",{ns:"common"}),children:s.jsx(gae,{size:17,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Le;(Le=Oe==null?void 0:Oe.current)==null||Le.handleAddBBcode("b")}})}),s.jsx(Be,{isCompact:!0,text:I("Toolbar:::Italic Formatting",{ns:"common"}),children:s.jsx(Mie,{size:17,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Le;(Le=Oe==null?void 0:Oe.current)==null||Le.handleAddBBcode("i")}})}),s.jsx("div",{tabIndex:-1,className:"ml-auto mr-0.5",children:s.jsx(Be,{isCompact:!0,text:I("Toolbar:::Remove Text Formatting",{ns:"common"}),asChild:!0,children:s.jsx(Nz,{size:17,className:"hover:text-red-500 dark:hover:text-red-700 cursor-pointer",onClick:()=>{var Le;(Le=Oe==null?void 0:Oe.current)==null||Le.handleRemoveBBcodes(["copy","mask","blank","hl","h","b","i"])}})})})]}),s.jsx(po,{ref:Oe,tabIndex:0,enableEmoji:!1,className:"bg-white rounded-md text-sm w-full mr-1",placeholder:I("Enter value or drag from history",{ns:"dashboard"}),rows:2,autoFocus:D,autoCorrect:"off",spellCheck:!1,enableEmojiInside:!0,label:"",maxRows:C?12:6,value:_.value,onKeyDown:Le=>{Le.stopPropagation()},onChange:Le=>{_.value=Le.target.value}})]}):s.jsx(R2e,{isOver:t}),s.jsx(en,{style:{minWidth:"100%"},forceVisible:!0,className:"dashboard-tabs",children:s.jsxs(me,{className:"w-full justify-start items-center select-none",children:[s.jsxs(me,{className:"items-start mt-2",children:[s.jsx(M2e,{isCode:n,isCommand:v,isWebRequest:S,isWebScraping:w,isLink:b,isPath:g,isText:a,isTemplate:o,isForm:i,isImage:c,itemId:e,detectedLanguage:z,children:s.jsx(Q,{children:s.jsx(Be,{text:Et,isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"px-2 h-8 text-slate-500 border-0 dark:hover:bg-slate-900/70 bg-slate-200 dark:bg-slate-800 text-sm group hover:text-blue-500 dark:hover:!text-blue-600",children:n?s.jsxs(s.Fragment,{children:[s.jsx(R6,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Code",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):c?s.jsxs(s.Fragment,{children:[s.jsx(v2,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Image",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):g?s.jsxs(s.Fragment,{children:[s.jsx(O6,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Path",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):S?s.jsxs(s.Fragment,{children:[s.jsx(bU,{width:16,height:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Request",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):w?s.jsxs(s.Fragment,{children:[s.jsx(wU,{width:16,height:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Scraper",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):v?s.jsxs(s.Fragment,{children:[s.jsx(Dz,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Command",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):b?s.jsxs(s.Fragment,{children:[s.jsx(Fm,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Link",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):i?s.jsxs(s.Fragment,{children:[s.jsx(Rz,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::AutoFill",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):o?s.jsxs(s.Fragment,{children:[s.jsx(I6,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Template",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):s.jsxs(s.Fragment,{children:[s.jsx(g2,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:I("Type:::Text",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]})})})})})}),v?s.jsx(Be,{text:I("Test Run",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-2 px-1.5 h-8 w-8 text-gray-400 border-0 group",onClick:()=>pe(this,null,function*(){var Le,Dt,Ze,mr,Se;try{K.value=yield Sr("run_shell_command",{execCmd:_.value,outputTemplate:(Le=$.value.outputTemplate)!=null&&Le.id?$.value.outputTemplate:null,outputRegexFilter:(Dt=$.value.outputRegexFilter)!=null&&Dt.id?$.value.outputRegexFilter:null}),Ce.value=!1,Pe.value=!!((Ze=$.value.outputTemplate)!=null&&Ze.id&&!((Se=(mr=$.value.outputTemplate)==null?void 0:mr.value)!=null&&Se.includes("{{output}}")))}catch(je){K.value=je,Ce.value=!0}}),children:s.jsx(me,{className:"font-medium text-sm gap-1",children:s.jsx(Y0,{size:16,className:"text-gray-500"})})})})}):S?s.jsx(Be,{text:I("Test Request",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-2 px-1.5 h-8 w-8 text-gray-400 border-0 group",onClick:()=>pe(this,null,function*(){F.value={};try{F.value=yield Sr("run_web_request",{request:{url:_.value,method:$.value.method,headers:$.value.headers,filters:$.value.filters,body:$.value.body,auth:$.value.auth}})}catch(Le){F.value={body:Le,status:500,contentType:null}}}),children:s.jsx(me,{className:"font-medium text-sm gap-1",children:s.jsx(Y0,{size:16,className:"text-gray-500"})})})})}):i?s.jsx(Be,{text:I("Test Run",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-2 px-1.5 h-8 w-8 text-gray-400 border-0 group",onClick:()=>pe(this,null,function*(){yield Sr("run_form_fill",{formOptions:U.value.formOptions,firstDelay:1})}),children:s.jsx(me,{className:"font-medium text-sm gap-1",children:s.jsx(Y0,{size:16,className:"text-gray-500"})})})})}):o?s.jsx(Be,{text:I("Test Run",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-2 px-1.5 h-8 w-8 text-gray-400 border-0 group",onClick:()=>pe(this,null,function*(){try{Y.value=yield Sr("run_template_fill",{templateValue:_.value,templateOptions:U.value.templateOptions,isPreview:!0})}catch(Le){console.error(Le)}}),children:s.jsx(me,{className:"font-medium text-sm gap-1",children:s.jsx(Y0,{size:16,className:"text-gray-500"})})})})}):w&&s.jsx(Be,{text:I("Test Run",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-2 px-1.5 h-8 w-8 text-gray-400 border-0 group",onClick:()=>pe(this,null,function*(){F.value={};try{F.value=yield Sr("run_web_scraping",{request:{url:_.value,method:"GET",scrapingRules:$.value.scrapingRules,scrapingOptions:$.value.scrapingOptions}})}catch(Le){F.value={body:Le,status:500,contentType:null}}}),children:s.jsx(me,{className:"font-medium text-sm gap-1",children:s.jsx(Y0,{size:16,className:"text-gray-500"})})})})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(Be,{text:I("Clip Options",{ns:"dashboard"}),isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1 h-8 w-8 text-slate-500 border-0 hover:text-blue-500",children:s.jsx(Gf,{size:16})})})})}),s.jsxs(Ar,{className:"",sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:s.jsx(J,{children:I("Clip Options",{ns:"dashboard"})})}),s.jsx(tr,{}),E?s.jsxs(He,{onClick:()=>{Ee({updatedItem:{isPinned:!1,itemId:e}})},children:[I("UnPin Clip",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Vu,{size:15})})]}):s.jsxs(He,{onClick:()=>{Ee({updatedItem:{isPinned:!0,itemId:e}})},children:[I("Pin",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Cc,{size:15})})]}),N?s.jsxs(He,{onClick:()=>{Ee({updatedItem:{isFavorite:!1,itemId:e}})},children:[I("Remove Star",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Uw,{size:15,className:"fill-transparent"})})]}):s.jsxs(He,{onClick:()=>{Ee({updatedItem:{isFavorite:!0,itemId:e}})},children:[I("Star",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Yf,{size:15,className:"fill-transparent"})})]}),s.jsx(tr,{}),s.jsxs(He,{className:f?"font-semibold":"",onClick:Le=>{Le.preventDefault(),Ee({updatedItem:{isMasked:!f,itemId:e}})},children:[I("Type:::Secret",{ns:"common"}),f&&s.jsx("div",{className:"ml-auto pl-2",children:s.jsx($t,{size:15,className:"fill-transparent"})})]}),s.jsxs(He,{className:m?"font-semibold":"",onClick:Le=>{Le.preventDefault(),Ee({updatedItem:{isVideo:!m,itemId:e}})},children:[I("Type:::Video",{ns:"common"}),m&&s.jsx("div",{className:"ml-auto pl-2",children:s.jsx($t,{size:15,className:"fill-transparent"})})]}),s.jsxs(He,{className:h?"font-semibold":"",onClick:Le=>{Le.preventDefault(),Ee({updatedItem:{hasEmoji:!h,itemId:e}})},children:[I("Type:::Emoji",{ns:"common"}),h&&s.jsx("div",{className:"ml-auto pl-2",children:s.jsx($t,{size:15,className:"fill-transparent"})})]}),s.jsx(tr,{}),s.jsx(D2e,{clipId:e,onComplete:V})]})]})]}),s.jsxs(me,{className:"items-end ml-auto mt-1",children:[s.jsx(Be,{text:I("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{V()},children:s.jsx(br,{size:18})})})}),s.jsxs(xa,{defaultOpen:!1,open:ie.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsxs(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>{!re&&(v||S||w||o||i)?za.value=!0:ot()},children:[s.jsx($t,{size:18,className:"mr-1"}),I("Save",{ns:"common"}),(v||S||w||o||i)&&s.jsx(Al,{})]})})}),s.jsx(ea,{sideOffset:16,align:"center",onEscapeKeyDown:()=>{ie.value=!1,le.value=!1},onPointerDownOutside:()=>{ie.value=!1,le.value=!1},className:"p-1.5 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-60",children:s.jsxs(me,{className:"flex-col p-1.5 rounded-md",children:[s.jsx(J,{color:"black",size:"sm",className:"!inline-block text-center pointer-events-none !font-semibold drop-zone text-yellow-600",children:ue.value?I("Errors:::Please verify your link for any errors, or confirm to save as is.",{ns:"dashboard"}):be.value?I("Errors:::Please verify your path for any errors, or confirm to save as is.",{ns:"dashboard"}):Ce.value?I("Errors:::Your command runs with errors, confirm you want to save as is.",{ns:"dashboard"}):F.value.status&&!F.value.hasFiltersError&&F.value.status>=400?I("Errors:::Your request runs with errors, confirm you want to save as is.",{ns:"dashboard"}):F.value.status&&F.value.hasFiltersError&&F.value.status>=400?I("Errors:::Your request has filters error, confirm you want to save as is.",{ns:"dashboard"}):Pe.value?ae.value.length===0?I("Errors:::No fields found in the template.",{ns:"dashboard"})+" "+I("Errors:::Please fix the problem or confirm to save as is.",{ns:"dashboard"}):oe.value.length>0?I("{{count}} fields found in template but missing from fields definition.",{ns:"dashboard",count:oe.value.length})+" "+I("Errors:::Please fix the problem or confirm to save as is.",{ns:"dashboard"}):I("Errors:::Your template has errors, confirm you want to save as is.",{ns:"dashboard"}):I("Please confirm to save as is.",{ns:"dashboard"})}),s.jsx(kr,{h:3}),s.jsxs(me,{className:"mb-1",children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 hover:text-gray-600 mr-3 border-transparent hover:border-gray-200",onClick:()=>{ie.value=!1,le.value=!1},children:I("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-slate-200 hover:bg-opacity-80 hover:bg-slate-200 text-slate-500 hover:text-slate-600 border-slate-200 whitespace-nowrap",onClick:()=>{ot(!0)},children:I("Save It!",{ns:"common"})})]})]})})]})]})]})})]})})}const p_=["post","page","media","creditcard","tiktok","kanbanSquare","arrowRight","twitter","facebook","linkedin","twitch","youtube","instagram","slack","dribbble","trello","chrome","codePen","codesandbox","figma","send","check","check2","copy","help","pin","copyDone","star","list","list2","list3","list5","listmusic","listchecks","listCollapse","listOrdered","listTree","listToDo","scrollText","audioLines","audioWaveform","mic","mails","atSign","mail","inbox","archive","container","sendHorizontal","contact","contact2","userRound","circleUser","userSquare","squareUser","userRound2","user","baby","notebook","paperclip","bookUser","nfc","smartphoneNfc","smartphone","graduationCap","apple2","appWindows","alertTriangle","alertCircle","alarmClock","alertOctagon","voicemail","calendarClock","calendarDays","calendarHeart","angry","annoyed","frown","meh","smile","eye","fan","handMetal","heartHandshake","heart","leafyGreen","ribbon","ralad","crown","camera","fingerprint","flame","database","dog","cat","bird","rabbit","fish","fishSymbol","carrot","candy","cherry","dice","biohazard","satellite","satelliteDish","radioTower","radio","wifi","router","bitcoin","dollarSign","circleDollarSign","euro","drum","medal","beer","beef","bell","draftingCompass","trophy","gaugeCircle","gauge","bike","award","trafficCone","tramFront","truck","plane","car","dumbbell","parkingCircle","parkingSquare","msquare","partyPopper","conciergeBell","aperture","areaChart","armchair","arrowUpRightSquare","asteriskSquare","asterisk","keySquare","key","lockKeyhole","lock","shieldCheck","shield","compass","shieldHalf","presentation","folder","folderHeart","folderTree","folderDot","folderGit","folderGit2","folderKey","folderLock","folderKanban","file","fileCode","fileText","fileCode2","fileJson","fileJson2","fileTerminal","fileVideo","fileVideo2","fileVolume","fileHeart","fileImage","fileLock2","fileLock","fileSpreadsheet","fileCog","fileMusic","filePieChart","filePen","fileSearch","fileLineChart","fileSymlink","driveDownload","driveUpload","imageDown","import","music","sheet","pieChart","packageOpen","package","gamepad2","joystick","hammer","lampDesk","lamp","bookOpen","airplay","code2","code","codeSquare","functionSquare","arrowDownCircle","arrowUpCircle","arrowLeftCircle","arrowRightCircle","gem","ghost","rocket","skull","sparkles","puzzle","messageWarning","messageWarning2","dessert","pizza","venetianMask","wand","toyBrick","mountain","milestone","feather","flaskRound","goal","hourglass","axe","gitlab","github2","sprayCcan","gift","swords","fileAudio2","downloadCloud","uploadCloud","upload","download","globe","globe2","hash","highlighter","infinity","lifeBuoy","locateFixed","mapPin","map","magnet","martini","mountainSnow","mousePointer","move3d","network","newspaper","notebook2","notepadText","megaphone","ganttChartSquare","personStanding","plug2","play","plug","plugZap2","plugZap","radiation","quote","tag","speech","spade","shoppingCart","slidersHorizontal","discord","gitHub","npm","pnpm","node","react","tailwind","google","apple","paypal"],Mo={logo:e=>s.jsx("svg",ee(R({viewBox:"0 0 24 24",fill:"currentColor",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},e),{children:s.jsx("circle",{cx:"12",cy:"12",r:"10"})})),close:br,spinner:Yie,chevronLeft:Mae,chevronRight:zm,trash:xn,post:g2,page:eM,media:v2,settings:Gf,ellipsis:sl,add:Fn,warning:mi,arrowRight:Jse,help:Uae,twitter:Kce,check:$t,check2:Tae,copy:A6,pin:Cc,pinoff:Vu,copyDone:gz,sun:Oce,moon:gle,facebook:woe,linkedin:Fie,twitch:qce,youtube:nue,instagram:Pie,slack:gce,dribbble:moe,trello:Uce,star:Yf,chrome:Iae,codePen:eoe,codesandbox:toe,figma:Soe,image:v2,list:Fw,list2:Gie,list3:uz,list4:Bse,list5:Hse,listmusic:Uie,listchecks:z6,listCollapse:Hie,listOrdered:Wie,listTree:Kie,listToDo:qie,scrollText:ace,scroll:oce,audioLines:rae,audioWaveform:nae,mic:ple,mails:tle,atSign:tae,mail:ele,inbox:_ie,archive:Yse,container:ooe,sendHorizontal:ice,send:lce,contact:aoe,contact2:soe,userRound:qae,circleUser:Kae,userSquare:Lce,squareUser:Ice,userRound2:Yce,user:Zce,baby:oae,notebook:Ele,paperclip:Lle,bookUser:xae,nfc:jle,smartphoneNfc:xce,smartphone:yce,graduationCap:pie,apple2:Gse,appWindows:Kse,aLargeSmall:$se,alertTriangle:mi,alertCircle:mz,alarmClock:Fse,alertOctagon:Tle,voicemail:Qce,calendarClock:bae,calendarDays:wae,calendarHeart:kae,angry:Wse,annoyed:Vse,frown:sie,meh:lle,smile:bce,eye:Hm,fan:koe,handMetal:xie,heartHandshake:kie,heart:q4,leafyGreen:$ie,ribbon:Jle,ralad:rce,crown:loe,camera:Sae,fingerprint:Uoe,flame:qoe,database:coe,dog:foe,cat:_ae,bird:pae,rabbit:Yle,fish:Voe,fishSymbol:Woe,carrot:Nae,candy:jae,cherry:Pae,dice:doe,biohazard:hae,satellite:sce,satelliteDish:nce,radioTower:Xle,radio:Qle,wifi:tue,router:ece,bitcoin:mae,dollarSign:hoe,circleDollarSign:Hae,euro:boe,drum:goe,medal:ole,beer:lae,beef:iae,bell:dae,draftingCompass:poe,trophy:Wce,gaugeCircle:Bae,gauge:oie,bike:fae,award:sae,trafficCone:Hce,tramFront:Bce,truck:Vce,plane:Fle,car:Eae,dumbbell:voe,parkingCircle:Wae,parkingSquare:Rce,msquare:Mce,partyPopper:Ile,conciergeBell:noe,aperture:qse,areaChart:Zse,armchair:Xse,arrowUpRightSquare:jce,asteriskSquare:_z,asterisk:eae,keySquare:Aie,key:Rie,lockKeyhole:Xie,lock:Qie,shieldCheck:uce,shield:fce,compass:roe,shieldHalf:dce,presentation:qle,folder:hm,folderHeart:Qoe,folderTree:nie,folderDot:Yoe,folderGit:Xoe,folderGit2:Zoe,folderKey:eie,folderLock:tie,folderKanban:Joe,file:eM,fileCode:Eoe,fileText:g2,fileCode2:R6,fileJson:Poe,fileJson2:Toe,fileTerminal:zoe,fileVideo:Hoe,fileVideo2:Foe,fileVolume:Boe,fileHeart:Noe,fileImage:_oe,fileLock2:Doe,fileLock:Aoe,fileSpreadsheet:$oe,fileCog:L6,fileMusic:Roe,filePieChart:Ioe,filePen:Loe,fileSearch:Ooe,fileLineChart:Moe,fileSymlink:O6,driveDownload:yie,driveUpload:Cz,imageDown:Eie,import:Nie,music:kle,sheet:cce,pieChart:$le,packageOpen:Ple,package:Mle,gamepad2:aie,joystick:Die,hammer:vie,lampDesk:Lie,lamp:Iie,bookOpen:vae,airplay:zse,code2:Qae,code:Jae,codeSquare:Ece,functionSquare:Pz,arrowDownCircle:Oae,arrowUpCircle:Fae,arrowLeftCircle:$ae,arrowRightCircle:zae,gem:iie,ghost:lie,rocket:yp,skull:mce,sparkles:kce,puzzle:Kle,messageWarning:cle,messageWarning2:fle,dessert:uoe,pizza:zle,venetianMask:Xce,wand:Jce,toyBrick:Fce,mountain:xle,milestone:mle,feather:Coe,flaskRound:Koe,goal:hie,hourglass:jie,axe:aae,gitlab:die,github2:uie,sprayCcan:Sce,gift:cie,swords:$ce,fileAudio2:joe,downloadCloud:Zae,uploadCloud:Xae,upload:Gce,download:bz,globe:fie,globe2:xoe,hash:bie,highlighter:Cie,infinity:Tie,lifeBuoy:zie,locateFixed:Zie,mapPin:rle,map:nle,magnet:Jie,martini:sle,mountainSnow:vle,mousePointer:Ace,move3d:yle,network:Cle,newspaper:Sle,notebook2:Nle,notepadText:_le,megaphone:ile,ganttChartSquare:_ce,personStanding:Ole,plug2:Ble,play:Hle,plug:Vle,plugZap2:Ule,plugZap:Wle,radiation:Zle,quote:Gle,tag:zce,speech:Cce,spade:wce,shoppingCart:hce,slidersHorizontal:vce,kanbanSquare:Tce,creditcard:e=>s.jsxs("svg",ee(R({viewBox:"0 0 24 24",fill:"currentColor",width:e.size,height:e.size},e),{children:[s.jsx("path",{d:"M21.278 3.054H2.722c-.614.003-1.202.249-1.636.683-.434.434-.68 1.022-.683 1.636v13.254c.003.614.249 1.202.683 1.636.434.434 1.022.68 1.636.683h18.556a2.3306 2.3306 0 0 0 1.636-.683c.434-.434.68-1.022.683-1.636V5.373a2.3306 2.3306 0 0 0-.683-1.636 2.3306 2.3306 0 0 0-1.636-.683ZM2.722 5.042h18.556c.088 0 .172.035.234.097.062.062.097.146.097.234v2.982H2.391V5.373c0-.088.035-.172.097-.234a.3307.3307 0 0 1 .234-.097Zm18.556 13.916H2.722a.3307.3307 0 0 1-.234-.097.3307.3307 0 0 1-.097-.234v-8.284h19.218v8.284c0 .088-.035.172-.097.234a.3307.3307 0 0 1-.234.097Z"}),s.jsx("path",{d:"M8.055 14.438H6.204c-.245 0-.48.097-.654.271a.9266.9266 0 0 0-.271.654c0 .245.098.481.271.654.174.174.409.271.654.271h1.851c.246 0 .481-.097.655-.271.173-.173.27-.409.27-.654 0-.245-.097-.481-.27-.654a.9247.9247 0 0 0-.655-.271Zm4.6 0h-1.851c-.245 0-.48.097-.654.271a.9266.9266 0 0 0-.271.654c0 .245.098.481.271.654.174.174.409.271.654.271h1.851c.246 0 .481-.097.655-.271.173-.173.27-.409.27-.654 0-.245-.097-.481-.27-.654a.9247.9247 0 0 0-.655-.271Z"})]})),discord:e=>s.jsx("svg",ee(R({viewBox:"0 0 127.14 96.36",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z"})})),gitHub:e=>s.jsx("svg",ee(R({viewBox:"0 0 438.549 438.549",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z"})})),npm:e=>s.jsx("svg",ee(R({viewBox:"0 0 24 24",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z"})})),tiktok:e=>s.jsxs("svg",ee(R({viewBox:"0 0 25 25",width:e.size,height:e.size},e),{fill:"none",stroke:"currentColor",children:[s.jsx("path",{stroke:"currentColor",strokeWidth:"1.8",d:"M23.078 7.077v9.846c0 3.399-2.756 6.155-6.155 6.155H7.077c-3.399 0-6.155-2.756-6.155-6.155V7.077C.922 3.678 3.678.922 7.077.922h9.846c3.399 0 6.155 2.756 6.155 6.155Z"}),s.jsx("path",{stroke:"currentColor",strokeWidth:"1.8",d:"M9.538 12c-2.039 0-3.692 1.653-3.692 3.693 0 2.039 1.653 3.692 3.692 3.692 2.04 0 3.693-1.653 3.693-3.692V4.615c.41 1.231 1.969 3.692 4.923 3.692"})]})),pnpm:e=>s.jsx("svg",ee(R({viewBox:"0 0 24 24",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M0 0v7.5h7.5V0zm8.25 0v7.5h7.498V0zm8.25 0v7.5H24V0zM8.25 8.25v7.5h7.498v-7.5zm8.25 0v7.5H24v-7.5zM0 16.5V24h7.5v-7.5zm8.25 0V24h7.498v-7.5zm8.25 0V24H24v-7.5z"})})),node:e=>s.jsx("svg",ee(R({viewBox:"0 0 16 16",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M 8 1.0234375 C 7.736875 1.0234375 7.4742344 1.0924687 7.2402344 1.2304688 L 2.7402344 3.8789062 C 2.2832344 4.1469063 2 4.642875 2 5.171875 L 2 11.005859 C 2 11.554859 2.29925 12.059266 2.78125 12.322266 L 4.2558594 13.126953 C 4.4828594 13.250953 4.7286094 13.310547 4.9746094 13.310547 C 5.2386094 13.310547 5.4992812 13.239609 5.7382812 13.099609 C 6.1982812 12.826609 6.4726562 12.344594 6.4726562 11.808594 L 6.4726562 5.4648438 L 5.4726562 5.4648438 L 5.4726562 11.808594 C 5.4726562 12.065594 5.3025156 12.195281 5.2285156 12.238281 C 5.1555156 12.281281 4.959375 12.371047 4.734375 12.248047 L 3.2617188 11.445312 C 3.1007187 11.357312 3 11.188859 3 11.005859 L 3 5.171875 C 3 4.995875 3.0940938 4.8302344 3.2460938 4.7402344 L 7.7460938 2.0917969 C 7.9020937 1.9997969 8.0979062 2.0007969 8.2539062 2.0917969 L 12.753906 4.7402344 C 12.904906 4.8302344 13 4.995875 13 5.171875 L 13 11.009766 C 13 11.189766 12.900234 11.359219 12.740234 11.449219 L 8.2402344 13.900391 C 8.0902344 13.980391 7.9097656 13.980391 7.7597656 13.900391 L 6.8808594 13.419922 C 6.7108594 13.629922 6.5 13.810937 6.25 13.960938 C 6.17 14.010938 6.0897656 14.050078 6.0097656 14.080078 L 7.2792969 14.779297 C 7.5092969 14.899297 7.75 14.960938 8 14.960938 C 8.25 14.960938 8.4907031 14.899297 8.7207031 14.779297 L 13.220703 12.320312 C 13.700703 12.060313 14 11.559766 14 11.009766 L 14 5.171875 C 14 4.642875 13.717719 4.1469062 13.261719 3.8789062 L 8.7617188 1.2304688 C 8.5272187 1.0924688 8.263125 1.0234375 8 1.0234375 z M 9.4511719 5.3183594 C 7.8711719 5.3183594 7.0703125 5.8690781 7.0703125 6.9550781 C 7.0703125 8.1850781 8.4869687 8.3680781 9.1679688 8.4550781 C 9.2659688 8.4680781 9.352875 8.4791875 9.421875 8.4921875 L 9.7207031 8.5449219 C 10.760703 8.7189219 11 8.836875 11 9.171875 C 11 9.333875 10.999172 9.8242188 9.4511719 9.8242188 C 8.1381719 9.8242188 7.8691406 9.4346094 7.8691406 8.8496094 L 6.8691406 8.8496094 C 6.8691406 9.7516094 7.3171719 10.824219 9.4511719 10.824219 C 11.557172 10.824219 12 9.925875 12 9.171875 C 12 7.913875 10.777719 7.7076406 9.8867188 7.5566406 L 9.5996094 7.5078125 C 9.5166094 7.4928125 9.4119219 7.4788438 9.2949219 7.4648438 C 8.6589219 7.3828438 8.0703125 7.2650312 8.0703125 6.9570312 C 8.0703125 6.7340313 8.0691719 6.3193594 9.4511719 6.3183594 C 10.370172 6.3183594 10.837891 6.6207969 10.837891 7.2167969 L 11.837891 7.2167969 C 11.837891 6.2997969 11.209172 5.3183594 9.4511719 5.3183594 z"})})),react:e=>s.jsx("svg",ee(R({viewBox:"0 0 24 24",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z"})})),tailwind:e=>s.jsx("svg",ee(R({viewBox:"0 0 24 24",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M12.001,4.8c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 C13.666,10.618,15.027,12,18.001,12c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C16.337,6.182,14.976,4.8,12.001,4.8z M6.001,12c-3.2,0-5.2,1.6-6,4.8c1.2-1.6,2.6-2.2,4.2-1.8c0.913,0.228,1.565,0.89,2.288,1.624 c1.177,1.194,2.538,2.576,5.512,2.576c3.2,0,5.2-1.6,6-4.8c-1.2,1.6-2.6,2.2-4.2,1.8c-0.913-0.228-1.565-0.89-2.288-1.624 C10.337,13.382,8.976,12,6.001,12z"})})),google:e=>s.jsx("svg",ee(R({role:"img",viewBox:"0 0 24 24",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z"})})),apple:e=>s.jsx("svg",ee(R({role:"img",viewBox:"0 0 24 24",width:e.size,height:e.size},e),{children:s.jsx("path",{d:"M12.152 6.896c-.948 0-2.415-1.078-3.96-1.04-2.04.027-3.91 1.183-4.961 3.014-2.117 3.675-.546 9.103 1.519 12.09 1.013 1.454 2.208 3.09 3.792 3.039 1.52-.065 2.09-.987 3.935-.987 1.831 0 2.35.987 3.96.948 1.637-.026 2.676-1.48 3.676-2.948 1.156-1.688 1.636-3.325 1.662-3.415-.039-.013-3.182-1.221-3.22-4.857-.026-3.04 2.48-4.494 2.597-4.559-1.429-2.09-3.623-2.324-4.39-2.376-2-.156-3.675 1.09-4.61 1.09zM15.53 3.83c.843-1.012 1.4-2.427 1.245-3.83-1.207.052-2.662.805-3.532 1.818-.78.896-1.454 2.338-1.273 3.714 1.338.104 2.715-.688 3.559-1.701",fill:"currentColor"})})),paypal:e=>s.jsx("svg",ee(R({viewBox:"0 0 48 48",width:e.size,height:e.size},e),{children:s.jsx("path",{fill:"currentColor",d:"M 12.841797 3.9980469 C 11.545957 3.9980469 10.408459 4.9201856 10.140625 6.1875 A 1.50015 1.50015 0 0 0 10.140625 6.1894531 L 4.3105469 33.863281 A 1.50015 1.50015 0 0 0 4.3105469 33.865234 C 3.9778831 35.447651 5.2380138 37 6.8554688 37 L 13.125 37 L 12.310547 40.865234 C 11.976672 42.448822 13.234312 44 14.853516 44 L 22.5 44 A 1.50015 1.50015 0 0 0 23.96875 42.808594 L 26.140625 32.5 L 32.230469 32.5 C 37.754148 32.5 42.547425 28.631159 43.714844 23.232422 L 43.876953 22.478516 C 45.063149 16.990425 41.185502 11.734909 35.767578 11.072266 C 34.701026 7.0840748 31.068127 3.9980469 26.613281 3.9980469 L 21.273438 3.9980469 L 17.820312 3.9980469 L 12.841797 3.9980469 z M 13.035156 6.9980469 L 17.820312 6.9980469 L 21.273438 6.9980469 L 26.613281 6.9980469 C 29.385425 6.9980469 31.656541 8.678134 32.609375 11 L 19.820312 11 A 1.50015 1.50015 0 0 0 18.351562 12.191406 L 15.996094 23.371094 A 1.50015 1.50015 0 0 0 15.855469 24.035156 L 13.757812 34 L 7.3476562 34 L 13.035156 6.9980469 z M 21.037109 14 L 33.068359 14 C 33.044325 14.280128 33.006713 14.561571 32.945312 14.845703 L 32.78125 15.599609 C 31.908668 19.634872 28.35879 22.5 24.230469 22.5 L 19.246094 22.5 L 21.037109 14 z M 36.056641 14.160156 C 39.449348 14.913351 41.718962 18.266313 40.945312 21.845703 L 40.78125 22.599609 C 39.908668 26.634872 36.35879 29.5 32.230469 29.5 L 24.923828 29.5 A 1.50015 1.50015 0 0 0 23.455078 30.691406 L 21.283203 41 L 15.347656 41 L 16.443359 35.796875 L 16.449219 35.775391 A 1.50015 1.50015 0 0 0 16.451172 35.767578 L 18.613281 25.5 L 24.230469 25.5 C 29.754148 25.5 34.547425 21.631159 35.714844 16.232422 L 35.876953 15.478516 C 35.972548 15.036146 36.024967 14.597251 36.056641 14.160156 z"})})),sunmoon:e=>s.jsxs("svg",ee(R({viewBox:"10.9 10.9 78.2 78.2"},e),{xmlns:"http://www.w3.org/2000/svg",children:[s.jsx("path",{fill:"currentColor",d:"M50,89.1c21.56,0,39.1-17.54,39.1-39.1S71.56,10.9,50,10.9c-21.56,0-39.1,17.54-39.1,39.1S28.44,89.1,50,89.1z M50,15.26 c19.16,0,34.74,15.58,34.74,34.74S69.16,84.74,50,84.74S15.26,69.16,15.26,50S30.84,15.26,50,15.26z"}),s.jsx("path",{fill:"currentColor",d:"M80.39,50c0-16.76-13.63-30.39-30.38-30.39v60.77C66.76,80.39,80.39,66.76,80.39,50z"})]})),minimize:e=>s.jsx("svg",ee(R({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},e),{children:s.jsx("path",{fill:"currentColor",d:"M480 480H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h448c17.7 0 32 14.3 32 32s-14.3 32-32 32z"})}))},Sm=({name:e,size:t,className:r})=>{if(p_.indexOf(e)===-1)return s.jsx(yae,{size:t,className:r});const n=Mo[e];return s.jsx(n,{size:t,className:r})},Xl=({iconVisibility:e,isBoard:t=!1,className:r,description:n,color:a="text-slate-500 dark:text-slate-400",size:o=16,icon:i,pathType:c,children:u=null})=>e==="none"?null:(e==="always"||!e)&&!t?s.jsx("span",{className:"".concat(a),children:i?s.jsx(Sm,{size:16,name:i,className:"".concat(a)}):u}):e==="always"||t?s.jsx("span",{className:"".concat(a),children:s.jsx(Be,{isCompact:!0,text:n||c,isDisabled:!c&&!n,side:"right",align:"end",alignOffset:30,maxWidth:180,sideOffset:-10,asChild:!0,children:i?s.jsx(Sm,{size:o,name:i,className:"".concat(a," ").concat(r)}):u})}):null;/** * @remix-run/router v1.13.0 * * Copyright (c) Remix Software Inc. @@ -2000,7 +2000,7 @@ prismjs/prism.js: * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Gn(){return Gn=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function F2e(e,t,r,n){n===void 0&&(n={});let{window:a=document.defaultView,v5Compat:o=!1}=n,i=a.history,c=es.Pop,u=null,f=h();f==null&&(f=0,i.replaceState(Gn({},i.state,{idx:f}),""));function h(){return(i.state||{idx:null}).idx}function m(){c=es.Pop;let b=h(),C=b==null?null:b-f;f=b,u&&u({action:c,location:g.location,delta:C})}function v(b,C){c=es.Push;let j=Bv(g.location,b,C);r&&r(j,b),f=h()+1;let E=sA(j,f),N=g.createHref(j);try{i.pushState(E,"",N)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;a.location.assign(N)}o&&u&&u({action:c,location:g.location,delta:1})}function S(b,C){c=es.Replace;let j=Bv(g.location,b,C);r&&r(j,b),f=h();let E=sA(j,f),N=g.createHref(j);i.replaceState(E,"",N),o&&u&&u({action:c,location:g.location,delta:0})}function w(b){let C=a.location.origin!=="null"?a.location.origin:a.location.href,j=typeof b=="string"?b:Hf(b);return Tr(C,"No window.location.(origin|href) available to create URL for href: "+j),new URL(j,C)}let g={get action(){return c},get location(){return e(a,i)},listen(b){if(u)throw new Error("A history only accepts one active listener");return a.addEventListener(nA,m),u=b,()=>{a.removeEventListener(nA,m),u=null}},createHref(b){return t(a,b)},createURL:w,encodeLocation(b){let C=w(b);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:v,replace:S,go(b){return i.go(b)}};return g}var ts;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ts||(ts={}));const H2e=new Set(["lazy","caseSensitive","path","id","index","children"]);function B2e(e){return e.index===!0}function Aj(e,t,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),e.map((a,o)=>{let i=[...r,o],c=typeof a.id=="string"?a.id:i.join("-");if(Tr(a.index!==!0||!a.children,"Cannot specify children on an index route"),Tr(!n[c],'Found a route id collision on id "'+c+"\". Route id's must be globally unique within Data Router usages"),B2e(a)){let u=Gn({},a,t(a),{id:c});return n[c]=u,u}else{let u=Gn({},a,t(a),{id:c,children:void 0});return n[c]=u,a.children&&(u.children=Aj(a.children,t,i,n)),u}})}function kp(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?Lc(t):t,a=sd(n.pathname||"/",r);if(a==null)return null;let o=eW(e);W2e(o);let i=null;for(let c=0;i==null&&c{let u={relativePath:c===void 0?o.path||"":c,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};u.relativePath.startsWith("/")&&(Tr(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let f=vc([n,u.relativePath]),h=r.concat(u);o.children&&o.children.length>0&&(Tr(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+f+'".')),eW(o.children,t,h,f)),!(o.path==null&&!o.index)&&t.push({path:f,score:X2e(f,o.index),routesMeta:h})};return e.forEach((o,i)=>{var c;if(o.path===""||!((c=o.path)!=null&&c.includes("?")))a(o,i);else for(let u of tW(o.path))a(o,i,u)}),t}function tW(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,a=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return a?[o,""]:[o];let i=tW(n.join("/")),c=[];return c.push(...i.map(u=>u===""?o:[o,u].join("/"))),a&&c.push(...i),c.map(u=>e.startsWith("/")&&u===""?"/":u)}function W2e(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:Q2e(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const V2e=/^:\w+$/,q2e=3,K2e=2,G2e=1,Y2e=10,Z2e=-2,aA=e=>e==="*";function X2e(e,t){let r=e.split("/"),n=r.length;return r.some(aA)&&(n+=Z2e),t&&(n+=K2e),r.filter(a=>!aA(a)).reduce((a,o)=>a+(V2e.test(o)?q2e:o===""?G2e:Y2e),n)}function Q2e(e,t){return e.length===t.length&&e.slice(0,-1).every((n,a)=>n===t[a])?e[e.length-1]-t[t.length-1]:0}function J2e(e,t){let{routesMeta:r}=e,n={},a="/",o=[];for(let i=0;i{let{paramName:v,isOptional:S}=h;if(v==="*"){let g=c[m]||"";i=o.slice(0,o.length-g.length).replace(/(.)\/+$/,"$1")}const w=c[m];return S&&!w?f[v]=void 0:f[v]=rwe(w||"",v),f},{}),pathname:o,pathnameBase:i,pattern:e}}function ewe(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Ff(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:(\w+)(\?)?/g,(i,c,u)=>(n.push({paramName:c,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}function twe(e){try{return decodeURI(e)}catch(t){return Ff(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function rwe(e,t){try{return decodeURIComponent(e)}catch(r){return Ff(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+r+").")),e}}function sd(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function nwe(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:a=""}=typeof e=="string"?Lc(e):e;return{pathname:r?r.startsWith("/")?r:swe(r,t):t,search:owe(n),hash:iwe(a)}}function swe(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function SS(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function rW(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Ik(e){return rW(e).map((t,r)=>r===e.length-1?t.pathname:t.pathnameBase)}function Ok(e,t,r,n){n===void 0&&(n=!1);let a;typeof e=="string"?a=Lc(e):(a=Gn({},e),Tr(!a.pathname||!a.pathname.includes("?"),SS("?","pathname","search",a)),Tr(!a.pathname||!a.pathname.includes("#"),SS("#","pathname","hash",a)),Tr(!a.search||!a.search.includes("#"),SS("#","search","hash",a)));let o=e===""||a.pathname==="",i=o?"/":a.pathname,c;if(i==null)c=r;else if(n){let m=t[t.length-1].replace(/^\//,"").split("/");if(i.startsWith("..")){let v=i.split("/");for(;v[0]==="..";)v.shift(),m.pop();a.pathname=v.join("/")}c="/"+m.join("/")}else{let m=t.length-1;if(i.startsWith("..")){let v=i.split("/");for(;v[0]==="..";)v.shift(),m-=1;a.pathname=v.join("/")}c=m>=0?t[m]:"/"}let u=nwe(a,c),f=i&&i!=="/"&&i.endsWith("/"),h=(o||i===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(f||h)&&(u.pathname+="/"),u}const vc=e=>e.join("/").replace(/\/\/+/g,"/"),awe=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),owe=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,iwe=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class p_{constructor(t,r,n,a){a===void 0&&(a=!1),this.status=t,this.statusText=r||"",this.internal=a,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function nW(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const sW=["post","put","patch","delete"],lwe=new Set(sW),cwe=["get",...sW],uwe=new Set(cwe),dwe=new Set([301,302,303,307,308]),fwe=new Set([307,308]),jS={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},hwe={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},rg={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},aW=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,pwe=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),oW="remix-router-transitions";function mwe(e){const t=e.window?e.window:typeof window!="undefined"?window:void 0,r=typeof t!="undefined"&&typeof t.document!="undefined"&&typeof t.document.createElement!="undefined",n=!r;Tr(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let a;if(e.mapRouteProperties)a=e.mapRouteProperties;else if(e.detectErrorBoundary){let Se=e.detectErrorBoundary;a=je=>({hasErrorBoundary:Se(je)})}else a=pwe;let o={},i=Aj(e.routes,a,void 0,o),c,u=e.basename||"/",f=Gn({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),h=null,m=new Set,v=null,S=null,w=null,g=e.hydrationData!=null,b=kp(i,e.history.location,u),C=null;if(b==null){let Se=Xo(404,{pathname:e.history.location.pathname}),{matches:je,route:we}=hA(i);b=je,C={[we.id]:Se}}let j=!b.some(Se=>Se.route.lazy)&&(!b.some(Se=>Se.route.loader)||e.hydrationData!=null),E,N={historyAction:e.history.action,location:e.history.location,matches:b,initialized:j,navigation:jS,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||C,fetchers:new Map,blockers:new Map},T=es.Pop,A=!1,M,D=!1,L=new Map,z=null,H=!1,V=!1,I=[],q=[],_=new Map,$=0,U=-1,K=new Map,Y=new Set,B=new Map,F=new Map,G=new Set,X=new Map,se=new Map,re=!1;function ie(){if(h=e.history.listen(Se=>{let{action:je,location:we,delta:Fe}=Se;if(re){re=!1;return}Ff(se.size===0||Fe!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let nt=vr({currentLocation:N.location,nextLocation:we,historyAction:je});if(nt&&Fe!=null){re=!0,e.history.go(Fe*-1),nr(nt,{state:"blocked",location:we,proceed(){nr(nt,{state:"proceeding",proceed:void 0,reset:void 0,location:we}),e.history.go(Fe)},reset(){let rt=new Map(N.blockers);rt.set(nt,rg),fe({blockers:rt})}});return}return Ce(je,we)}),r){Ewe(t,L);let Se=()=>Nwe(t,L);t.addEventListener("pagehide",Se),z=()=>t.removeEventListener("pagehide",Se)}return N.initialized||Ce(es.Pop,N.location),E}function oe(){h&&h(),z&&z(),m.clear(),M&&M.abort(),N.fetchers.forEach((Se,je)=>pt(je)),N.blockers.forEach((Se,je)=>Zt(je))}function ae(Se){return m.add(Se),()=>m.delete(Se)}function fe(Se,je){je===void 0&&(je={}),N=Gn({},N,Se);let we=[],Fe=[];f.v7_fetcherPersist&&N.fetchers.forEach((nt,rt)=>{nt.state==="idle"&&(G.has(rt)?Fe.push(rt):we.push(rt))}),[...m].forEach(nt=>nt(N,{deletedFetchers:Fe,unstable_viewTransitionOpts:je.viewTransitionOpts,unstable_flushSync:je.flushSync===!0})),f.v7_fetcherPersist&&(we.forEach(nt=>N.fetchers.delete(nt)),Fe.forEach(nt=>pt(nt)))}function le(Se,je,we){var Fe,nt;let{flushSync:rt}=we===void 0?{}:we,Ie=N.actionData!=null&&N.navigation.formMethod!=null&&Di(N.navigation.formMethod)&&N.navigation.state==="loading"&&((Fe=Se.state)==null?void 0:Fe._isRedirect)!==!0,$e;je.actionData?Object.keys(je.actionData).length>0?$e=je.actionData:$e=null:Ie?$e=N.actionData:$e=null;let Ye=je.loaderData?fA(N.loaderData,je.loaderData,je.matches||[],je.errors):N.loaderData,mt=N.blockers;mt.size>0&&(mt=new Map(mt),mt.forEach((Rt,Xt)=>mt.set(Xt,rg)));let qt=A===!0||N.navigation.formMethod!=null&&Di(N.navigation.formMethod)&&((nt=Se.state)==null?void 0:nt._isRedirect)!==!0;c&&(i=c,c=void 0),H||T===es.Pop||(T===es.Push?e.history.push(Se,Se.state):T===es.Replace&&e.history.replace(Se,Se.state));let Tt;if(T===es.Pop){let Rt=L.get(N.location.pathname);Rt&&Rt.has(Se.pathname)?Tt={currentLocation:N.location,nextLocation:Se}:L.has(Se.pathname)&&(Tt={currentLocation:Se,nextLocation:N.location})}else if(D){let Rt=L.get(N.location.pathname);Rt?Rt.add(Se.pathname):(Rt=new Set([Se.pathname]),L.set(N.location.pathname,Rt)),Tt={currentLocation:N.location,nextLocation:Se}}fe(Gn({},je,{actionData:$e,loaderData:Ye,historyAction:T,location:Se,initialized:!0,navigation:jS,revalidation:"idle",restoreScrollPosition:Ze(Se,je.matches||N.matches),preventScrollReset:qt,blockers:mt}),{viewTransitionOpts:Tt,flushSync:rt===!0}),T=es.Pop,A=!1,D=!1,H=!1,V=!1,I=[],q=[]}function ue(Se,je){return pe(this,null,function*(){if(typeof Se=="number"){e.history.go(Se);return}let we=Lj(N.location,N.matches,u,f.v7_prependBasename,Se,je==null?void 0:je.fromRouteId,je==null?void 0:je.relative),{path:Fe,submission:nt,error:rt}=oA(f.v7_normalizeFormMethod,!1,we,je),Ie=N.location,$e=Bv(N.location,Fe,je&&je.state);$e=Gn({},$e,e.history.encodeLocation($e));let Ye=je&&je.replace!=null?je.replace:void 0,mt=es.Push;Ye===!0?mt=es.Replace:Ye===!1||nt!=null&&Di(nt.formMethod)&&nt.formAction===N.location.pathname+N.location.search&&(mt=es.Replace);let qt=je&&"preventScrollReset"in je?je.preventScrollReset===!0:void 0,Tt=(je&&je.unstable_flushSync)===!0,Rt=vr({currentLocation:Ie,nextLocation:$e,historyAction:mt});if(Rt){nr(Rt,{state:"blocked",location:$e,proceed(){nr(Rt,{state:"proceeding",proceed:void 0,reset:void 0,location:$e}),ue(Se,je)},reset(){let Xt=new Map(N.blockers);Xt.set(Rt,rg),fe({blockers:Xt})}});return}return yield Ce(mt,$e,{submission:nt,pendingError:rt,preventScrollReset:qt,replace:je&&je.replace,enableViewTransition:je&&je.unstable_viewTransition,flushSync:Tt})})}function be(){if(Et(),fe({revalidation:"loading"}),N.navigation.state!=="submitting"){if(N.navigation.state==="idle"){Ce(N.historyAction,N.location,{startUninterruptedRevalidation:!0});return}Ce(T||N.historyAction,N.navigation.location,{overrideNavigation:N.navigation})}}function Ce(Se,je,we){return pe(this,null,function*(){M&&M.abort(),M=null,T=Se,H=(we&&we.startUninterruptedRevalidation)===!0,Mt(N.location,N.matches),A=(we&&we.preventScrollReset)===!0,D=(we&&we.enableViewTransition)===!0;let Fe=c||i,nt=we&&we.overrideNavigation,rt=kp(Fe,je,u),Ie=(we&&we.flushSync)===!0;if(!rt){let Xt=Xo(404,{pathname:je.pathname}),{matches:Pr,route:Nr}=hA(Fe);pr(),le(je,{matches:Pr,loaderData:{},errors:{[Nr.id]:Xt}},{flushSync:Ie});return}if(N.initialized&&!V&&bwe(N.location,je)&&!(we&&we.submission&&Di(we.submission.formMethod))){le(je,{matches:rt},{flushSync:Ie});return}M=new AbortController;let $e=sg(e.history,je,M.signal,we&&we.submission),Ye,mt;if(we&&we.pendingError)mt={[Zg(rt).route.id]:we.pendingError};else if(we&&we.submission&&Di(we.submission.formMethod)){let Xt=yield Pe($e,je,we.submission,rt,{replace:we.replace,flushSync:Ie});if(Xt.shortCircuited)return;Ye=Xt.pendingActionData,mt=Xt.pendingActionError,nt=ES(je,we.submission),Ie=!1,$e=new Request($e.url,{signal:$e.signal})}let{shortCircuited:qt,loaderData:Tt,errors:Rt}=yield Ee($e,je,rt,nt,we&&we.submission,we&&we.fetcherSubmission,we&&we.replace,Ie,Ye,mt);qt||(M=null,le(je,Gn({matches:rt},Ye?{actionData:Ye}:{},{loaderData:Tt,errors:Rt})))})}function Pe(Se,je,we,Fe,nt){return pe(this,null,function*(){nt===void 0&&(nt={}),Et();let rt=Swe(je,we);fe({navigation:rt},{flushSync:nt.flushSync===!0});let Ie,$e=Oj(Fe,je);if(!$e.route.action&&!$e.route.lazy)Ie={type:ts.error,error:Xo(405,{method:Se.method,pathname:je.pathname,routeId:$e.route.id})};else if(Ie=yield ng("action",Se,$e,Fe,o,a,u),Se.signal.aborted)return{shortCircuited:!0};if($p(Ie)){let Ye;return nt&&nt.replace!=null?Ye=nt.replace:Ye=Ie.location===N.location.pathname+N.location.search,yield gt(N,Ie,{submission:we,replace:Ye}),{shortCircuited:!0}}if(Xg(Ie)){let Ye=Zg(Fe,$e.route.id);return(nt&&nt.replace)!==!0&&(T=es.Push),{pendingActionData:{},pendingActionError:{[Ye.route.id]:Ie.error}}}if(Yd(Ie))throw Xo(400,{type:"defer-action"});return{pendingActionData:{[$e.route.id]:Ie.data}}})}function Ee(Se,je,we,Fe,nt,rt,Ie,$e,Ye,mt){return pe(this,null,function*(){let qt=Fe||ES(je,nt),Tt=nt||rt||gA(qt),Rt=c||i,[Xt,Pr]=iA(e.history,N,we,Tt,je,V,I,q,G,B,Y,Rt,u,Ye,mt);if(pr(ge=>!(we&&we.some(Qe=>Qe.route.id===ge))||Xt&&Xt.some(Qe=>Qe.route.id===ge)),U=++$,Xt.length===0&&Pr.length===0){let ge=Ft();return le(je,Gn({matches:we,loaderData:{},errors:mt||null},Ye?{actionData:Ye}:{},ge?{fetchers:new Map(N.fetchers)}:{}),{flushSync:$e}),{shortCircuited:!0}}if(!H){Pr.forEach(Qe=>{let Xe=N.fetchers.get(Qe.key),st=ag(void 0,Xe?Xe.data:void 0);N.fetchers.set(Qe.key,st)});let ge=Ye||N.actionData;fe(Gn({navigation:qt},ge?Object.keys(ge).length===0?{actionData:null}:{actionData:ge}:{},Pr.length>0?{fetchers:new Map(N.fetchers)}:{}),{flushSync:$e})}Pr.forEach(ge=>{_.has(ge.key)&&ht(ge.key),ge.controller&&_.set(ge.key,ge.controller)});let Nr=()=>Pr.forEach(ge=>ht(ge.key));M&&M.signal.addEventListener("abort",Nr);let{results:Vr,loaderResults:qr,fetcherResults:Gt}=yield Ke(N.matches,we,Xt,Pr,Se);if(Se.signal.aborted)return{shortCircuited:!0};M&&M.signal.removeEventListener("abort",Nr),Pr.forEach(ge=>_.delete(ge.key));let xr=pA(Vr);if(xr){if(xr.idx>=Xt.length){let ge=Pr[xr.idx-Xt.length].key;Y.add(ge)}return yield gt(N,xr.result,{replace:Ie}),{shortCircuited:!0}}let{loaderData:dr,errors:Ns}=dA(N,we,Xt,qr,mt,Pr,Gt,X);X.forEach((ge,Qe)=>{ge.subscribe(Xe=>{(Xe||ge.done)&&X.delete(Qe)})});let Kr=Ft(),ar=Vt(U),ut=Kr||ar||Pr.length>0;return Gn({loaderData:dr,errors:Ns},ut?{fetchers:new Map(N.fetchers)}:{})})}function Oe(Se,je,we,Fe){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");_.has(Se)&&ht(Se);let nt=(Fe&&Fe.unstable_flushSync)===!0,rt=c||i,Ie=Lj(N.location,N.matches,u,f.v7_prependBasename,we,je,Fe==null?void 0:Fe.relative),$e=kp(rt,Ie,u);if(!$e){xt(Se,je,Xo(404,{pathname:Ie}),{flushSync:nt});return}let{path:Ye,submission:mt,error:qt}=oA(f.v7_normalizeFormMethod,!0,Ie,Fe);if(qt){xt(Se,je,qt,{flushSync:nt});return}let Tt=Oj($e,Ye);if(A=(Fe&&Fe.preventScrollReset)===!0,mt&&Di(mt.formMethod)){Ve(Se,je,Ye,Tt,$e,nt,mt);return}B.set(Se,{routeId:je,path:Ye}),ct(Se,je,Ye,Tt,$e,nt,mt)}function Ve(Se,je,we,Fe,nt,rt,Ie){return pe(this,null,function*(){if(Et(),B.delete(Se),!Fe.route.action&&!Fe.route.lazy){let Xe=Xo(405,{method:Ie.formMethod,pathname:we,routeId:je});xt(Se,je,Xe,{flushSync:rt});return}let $e=N.fetchers.get(Se);Re(Se,jwe(Ie,$e),{flushSync:rt});let Ye=new AbortController,mt=sg(e.history,we,Ye.signal,Ie);_.set(Se,Ye);let qt=$,Tt=yield ng("action",mt,Fe,nt,o,a,u);if(mt.signal.aborted){_.get(Se)===Ye&&_.delete(Se);return}if(G.has(Se)){Re(Se,nu(void 0));return}if($p(Tt))if(_.delete(Se),U>qt){Re(Se,nu(void 0));return}else return Y.add(Se),Re(Se,ag(Ie)),gt(N,Tt,{fetcherSubmission:Ie});if(Xg(Tt)){xt(Se,je,Tt.error);return}if(Yd(Tt))throw Xo(400,{type:"defer-action"});let Rt=N.navigation.location||N.location,Xt=sg(e.history,Rt,Ye.signal),Pr=c||i,Nr=N.navigation.state!=="idle"?kp(Pr,N.navigation.location,u):N.matches;Tr(Nr,"Didn't find any matches after fetcher action");let Vr=++$;K.set(Se,Vr);let qr=ag(Ie,Tt.data);N.fetchers.set(Se,qr);let[Gt,xr]=iA(e.history,N,Nr,Ie,Rt,V,I,q,G,B,Y,Pr,u,{[Fe.route.id]:Tt.data},void 0);xr.filter(Xe=>Xe.key!==Se).forEach(Xe=>{let st=Xe.key,Ht=N.fetchers.get(st),Dt=ag(void 0,Ht?Ht.data:void 0);N.fetchers.set(st,Dt),_.has(st)&&ht(st),Xe.controller&&_.set(st,Xe.controller)}),fe({fetchers:new Map(N.fetchers)});let dr=()=>xr.forEach(Xe=>ht(Xe.key));Ye.signal.addEventListener("abort",dr);let{results:Ns,loaderResults:Kr,fetcherResults:ar}=yield Ke(N.matches,Nr,Gt,xr,Xt);if(Ye.signal.aborted)return;Ye.signal.removeEventListener("abort",dr),K.delete(Se),_.delete(Se),xr.forEach(Xe=>_.delete(Xe.key));let ut=pA(Ns);if(ut){if(ut.idx>=Gt.length){let Xe=xr[ut.idx-Gt.length].key;Y.add(Xe)}return gt(N,ut.result)}let{loaderData:ge,errors:Qe}=dA(N,N.matches,Gt,Kr,void 0,xr,ar,X);if(N.fetchers.has(Se)){let Xe=nu(Tt.data);N.fetchers.set(Se,Xe)}Vt(Vr),N.navigation.state==="loading"&&Vr>U?(Tr(T,"Expected pending action"),M&&M.abort(),le(N.navigation.location,{matches:Nr,loaderData:ge,errors:Qe,fetchers:new Map(N.fetchers)})):(fe({errors:Qe,loaderData:fA(N.loaderData,ge,Nr,Qe),fetchers:new Map(N.fetchers)}),V=!1)})}function ct(Se,je,we,Fe,nt,rt,Ie){return pe(this,null,function*(){let $e=N.fetchers.get(Se);Re(Se,ag(Ie,$e?$e.data:void 0),{flushSync:rt});let Ye=new AbortController,mt=sg(e.history,we,Ye.signal);_.set(Se,Ye);let qt=$,Tt=yield ng("loader",mt,Fe,nt,o,a,u);if(Yd(Tt)&&(Tt=(yield cW(Tt,mt.signal,!0))||Tt),_.get(Se)===Ye&&_.delete(Se),!mt.signal.aborted){if(G.has(Se)){Re(Se,nu(void 0));return}if($p(Tt))if(U>qt){Re(Se,nu(void 0));return}else{Y.add(Se),yield gt(N,Tt);return}if(Xg(Tt)){xt(Se,je,Tt.error);return}Tr(!Yd(Tt),"Unhandled fetcher deferred data"),Re(Se,nu(Tt.data))}})}function gt(Se,je,we){return pe(this,null,function*(){let{submission:Fe,fetcherSubmission:nt,replace:rt}=we===void 0?{}:we;je.revalidate&&(V=!0);let Ie=Bv(Se.location,je.location,{_isRedirect:!0});if(Tr(Ie,"Expected a location on the redirect navigation"),r){let Rt=!1;if(je.reloadDocument)Rt=!0;else if(aW.test(je.location)){const Xt=e.history.createURL(je.location);Rt=Xt.origin!==t.location.origin||sd(Xt.pathname,u)==null}if(Rt){rt?t.location.replace(je.location):t.location.assign(je.location);return}}M=null;let $e=rt===!0?es.Replace:es.Push,{formMethod:Ye,formAction:mt,formEncType:qt}=Se.navigation;!Fe&&!nt&&Ye&&mt&&qt&&(Fe=gA(Se.navigation));let Tt=Fe||nt;if(fwe.has(je.status)&&Tt&&Di(Tt.formMethod))yield Ce($e,Ie,{submission:Gn({},Tt,{formAction:je.location}),preventScrollReset:A});else{let Rt=ES(Ie,Fe);yield Ce($e,Ie,{overrideNavigation:Rt,fetcherSubmission:nt,preventScrollReset:A})}})}function Ke(Se,je,we,Fe,nt){return pe(this,null,function*(){let rt=yield Promise.all([...we.map(Ye=>ng("loader",nt,Ye,je,o,a,u)),...Fe.map(Ye=>Ye.matches&&Ye.match&&Ye.controller?ng("loader",sg(e.history,Ye.path,Ye.controller.signal),Ye.match,Ye.matches,o,a,u):{type:ts.error,error:Xo(404,{pathname:Ye.path})})]),Ie=rt.slice(0,we.length),$e=rt.slice(we.length);return yield Promise.all([mA(Se,we,Ie,Ie.map(()=>nt.signal),!1,N.loaderData),mA(Se,Fe.map(Ye=>Ye.match),$e,Fe.map(Ye=>Ye.controller?Ye.controller.signal:null),!0)]),{results:rt,loaderResults:Ie,fetcherResults:$e}})}function Et(){V=!0,I.push(...pr()),B.forEach((Se,je)=>{_.has(je)&&(q.push(je),ht(je))})}function Re(Se,je,we){we===void 0&&(we={}),N.fetchers.set(Se,je),fe({fetchers:new Map(N.fetchers)},{flushSync:(we&&we.flushSync)===!0})}function xt(Se,je,we,Fe){Fe===void 0&&(Fe={});let nt=Zg(N.matches,je);pt(Se),fe({errors:{[nt.route.id]:we},fetchers:new Map(N.fetchers)},{flushSync:(Fe&&Fe.flushSync)===!0})}function ot(Se){return f.v7_fetcherPersist&&(F.set(Se,(F.get(Se)||0)+1),G.has(Se)&&G.delete(Se)),N.fetchers.get(Se)||hwe}function pt(Se){let je=N.fetchers.get(Se);_.has(Se)&&!(je&&je.state==="loading"&&K.has(Se))&&ht(Se),B.delete(Se),K.delete(Se),Y.delete(Se),G.delete(Se),N.fetchers.delete(Se)}function _t(Se){if(f.v7_fetcherPersist){let je=(F.get(Se)||0)-1;je<=0?(F.delete(Se),G.add(Se)):F.set(Se,je)}else pt(Se);fe({fetchers:new Map(N.fetchers)})}function ht(Se){let je=_.get(Se);Tr(je,"Expected fetch controller: "+Se),je.abort(),_.delete(Se)}function It(Se){for(let je of Se){let we=ot(je),Fe=nu(we.data);N.fetchers.set(je,Fe)}}function Ft(){let Se=[],je=!1;for(let we of Y){let Fe=N.fetchers.get(we);Tr(Fe,"Expected fetcher: "+we),Fe.state==="loading"&&(Y.delete(we),Se.push(we),je=!0)}return It(Se),je}function Vt(Se){let je=[];for(let[we,Fe]of K)if(Fe0}function Ge(Se,je){let we=N.blockers.get(Se)||rg;return se.get(Se)!==je&&se.set(Se,je),we}function Zt(Se){N.blockers.delete(Se),se.delete(Se)}function nr(Se,je){let we=N.blockers.get(Se)||rg;Tr(we.state==="unblocked"&&je.state==="blocked"||we.state==="blocked"&&je.state==="blocked"||we.state==="blocked"&&je.state==="proceeding"||we.state==="blocked"&&je.state==="unblocked"||we.state==="proceeding"&&je.state==="unblocked","Invalid blocker state transition: "+we.state+" -> "+je.state);let Fe=new Map(N.blockers);Fe.set(Se,je),fe({blockers:Fe})}function vr(Se){let{currentLocation:je,nextLocation:we,historyAction:Fe}=Se;if(se.size===0)return;se.size>1&&Ff(!1,"A router only supports one blocker at a time");let nt=Array.from(se.entries()),[rt,Ie]=nt[nt.length-1],$e=N.blockers.get(rt);if(!($e&&$e.state==="proceeding")&&Ie({currentLocation:je,nextLocation:we,historyAction:Fe}))return rt}function pr(Se){let je=[];return X.forEach((we,Fe)=>{(!Se||Se(Fe))&&(we.cancel(),je.push(Fe),X.delete(Fe))}),je}function Wr(Se,je,we){if(v=Se,w=je,S=we||null,!g&&N.navigation===jS){g=!0;let Fe=Ze(N.location,N.matches);Fe!=null&&fe({restoreScrollPosition:Fe})}return()=>{v=null,w=null,S=null}}function Le(Se,je){return S&&S(Se,je.map(Fe=>U2e(Fe,N.loaderData)))||Se.key}function Mt(Se,je){if(v&&w){let we=Le(Se,je);v[we]=w()}}function Ze(Se,je){if(v){let we=Le(Se,je),Fe=v[we];if(typeof Fe=="number")return Fe}return null}function mr(Se){o={},c=Aj(Se,a,void 0,o)}return E={get basename(){return u},get state(){return N},get routes(){return i},get window(){return t},initialize:ie,subscribe:ae,enableScrollRestoration:Wr,navigate:ue,fetch:Oe,revalidate:be,createHref:Se=>e.history.createHref(Se),encodeLocation:Se=>e.history.encodeLocation(Se),getFetcher:ot,deleteFetcher:_t,dispose:oe,getBlocker:Ge,deleteBlocker:Zt,_internalFetchControllers:_,_internalActiveDeferreds:X,_internalSetRoutes:mr},E}function gwe(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Lj(e,t,r,n,a,o,i){let c,u;if(o){c=[];for(let h of t)if(c.push(h),h.route.id===o){u=h;break}}else c=t,u=t[t.length-1];let f=Ok(a||".",Ik(c),sd(e.pathname,r)||e.pathname,i==="path");return a==null&&(f.search=e.search,f.hash=e.hash),(a==null||a===""||a===".")&&u&&u.route.index&&!m_(f.search)&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),n&&r!=="/"&&(f.pathname=f.pathname==="/"?r:vc([r,f.pathname])),Hf(f)}function oA(e,t,r,n){if(!n||!gwe(n))return{path:r};if(n.formMethod&&!Cwe(n.formMethod))return{path:r,error:Xo(405,{method:n.formMethod})};let a=()=>({path:r,error:Xo(400,{type:"invalid-body"})}),o=n.formMethod||"get",i=e?o.toUpperCase():o.toLowerCase(),c=lW(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!Di(i))return a();let v=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((S,w)=>{let[g,b]=w;return""+S+g+"="+b+"\n"},""):String(n.body);return{path:r,submission:{formMethod:i,formAction:c,formEncType:n.formEncType,formData:void 0,json:void 0,text:v}}}else if(n.formEncType==="application/json"){if(!Di(i))return a();try{let v=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:i,formAction:c,formEncType:n.formEncType,formData:void 0,json:v,text:void 0}}}catch(v){return a()}}}Tr(typeof FormData=="function","FormData is not available in this environment");let u,f;if(n.formData)u=Ij(n.formData),f=n.formData;else if(n.body instanceof FormData)u=Ij(n.body),f=n.body;else if(n.body instanceof URLSearchParams)u=n.body,f=uA(u);else if(n.body==null)u=new URLSearchParams,f=new FormData;else try{u=new URLSearchParams(n.body),f=uA(u)}catch(v){return a()}let h={formMethod:i,formAction:c,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:f,json:void 0,text:void 0};if(Di(h.formMethod))return{path:r,submission:h};let m=Lc(r);return t&&m.search&&m_(m.search)&&u.append("index",""),m.search="?"+u,{path:Hf(m),submission:h}}function vwe(e,t){let r=e;if(t){let n=e.findIndex(a=>a.route.id===t);n>=0&&(r=e.slice(0,n))}return r}function iA(e,t,r,n,a,o,i,c,u,f,h,m,v,S,w){let g=w?Object.values(w)[0]:S?Object.values(S)[0]:void 0,b=e.createURL(t.location),C=e.createURL(a),j=w?Object.keys(w)[0]:void 0,N=vwe(r,j).filter((A,M)=>{if(A.route.lazy)return!0;if(A.route.loader==null)return!1;if(xwe(t.loaderData,t.matches[M],A)||i.some(z=>z===A.route.id))return!0;let D=t.matches[M],L=A;return lA(A,Gn({currentUrl:b,currentParams:D.params,nextUrl:C,nextParams:L.params},n,{actionResult:g,defaultShouldRevalidate:o||b.pathname+b.search===C.pathname+C.search||b.search!==C.search||iW(D,L)}))}),T=[];return f.forEach((A,M)=>{if(!r.some(V=>V.route.id===A.routeId)||u.has(M))return;let D=kp(m,A.path,v);if(!D){T.push({key:M,routeId:A.routeId,path:A.path,matches:null,match:null,controller:null});return}let L=t.fetchers.get(M),z=Oj(D,A.path),H=!1;h.has(M)?H=!1:c.includes(M)?H=!0:L&&L.state!=="idle"&&L.data===void 0?H=o:H=lA(z,Gn({currentUrl:b,currentParams:t.matches[t.matches.length-1].params,nextUrl:C,nextParams:r[r.length-1].params},n,{actionResult:g,defaultShouldRevalidate:o})),H&&T.push({key:M,routeId:A.routeId,path:A.path,matches:D,match:z,controller:new AbortController})}),[N,T]}function xwe(e,t,r){let n=!t||r.route.id!==t.route.id,a=e[r.route.id]===void 0;return n||a}function iW(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function lA(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}function cA(e,t,r){return pe(this,null,function*(){if(!e.lazy)return;let n=yield e.lazy();if(!e.lazy)return;let a=r[e.id];Tr(a,"No route found in manifest");let o={};for(let i in n){let u=a[i]!==void 0&&i!=="hasErrorBoundary";Ff(!u,'Route "'+a.id+'" has a static property "'+i+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+i+'" will be ignored.')),!u&&!H2e.has(i)&&(o[i]=n[i])}Object.assign(a,o),Object.assign(a,Gn({},t(a),{lazy:void 0}))})}function ng(e,t,r,n,a,o,i,c){return pe(this,null,function*(){c===void 0&&(c={});let u,f,h,m=w=>{let g,b=new Promise((C,j)=>g=j);return h=()=>g(),t.signal.addEventListener("abort",h),Promise.race([w({request:t,params:r.params,context:c.requestContext}),b])};try{let w=r.route[e];if(r.route.lazy)if(w){let g,b=yield Promise.all([m(w).catch(C=>{g=C}),cA(r.route,o,a)]);if(g)throw g;f=b[0]}else if(yield cA(r.route,o,a),w=r.route[e],w)f=yield m(w);else if(e==="action"){let g=new URL(t.url),b=g.pathname+g.search;throw Xo(405,{method:t.method,pathname:b,routeId:r.route.id})}else return{type:ts.data,data:void 0};else if(w)f=yield m(w);else{let g=new URL(t.url),b=g.pathname+g.search;throw Xo(404,{pathname:b})}Tr(f!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(w){u=ts.error,f=w}finally{h&&t.signal.removeEventListener("abort",h)}if(kwe(f)){let w=f.status;if(dwe.has(w)){let C=f.headers.get("Location");if(Tr(C,"Redirects returned/thrown from loaders/actions must have a Location header"),!aW.test(C))C=Lj(new URL(t.url),n.slice(0,n.indexOf(r)+1),i,!0,C);else if(!c.isStaticRequest){let j=new URL(t.url),E=C.startsWith("//")?new URL(j.protocol+C):new URL(C),N=sd(E.pathname,i)!=null;E.origin===j.origin&&N&&(C=E.pathname+E.search+E.hash)}if(c.isStaticRequest)throw f.headers.set("Location",C),f;return{type:ts.redirect,status:w,location:C,revalidate:f.headers.get("X-Remix-Revalidate")!==null,reloadDocument:f.headers.get("X-Remix-Reload-Document")!==null}}if(c.isRouteRequest)throw{type:u===ts.error?ts.error:ts.data,response:f};let g,b=f.headers.get("Content-Type");return b&&/\bapplication\/json\b/.test(b)?g=yield f.json():g=yield f.text(),u===ts.error?{type:u,error:new p_(w,f.statusText,g),headers:f.headers}:{type:ts.data,data:g,statusCode:f.status,headers:f.headers}}if(u===ts.error)return{type:u,error:f};if(wwe(f)){var v,S;return{type:ts.deferred,deferredData:f,statusCode:(v=f.init)==null?void 0:v.status,headers:((S=f.init)==null?void 0:S.headers)&&new Headers(f.init.headers)}}return{type:ts.data,data:f}})}function sg(e,t,r,n){let a=e.createURL(lW(t)).toString(),o={signal:r};if(n&&Di(n.formMethod)){let{formMethod:i,formEncType:c}=n;o.method=i.toUpperCase(),c==="application/json"?(o.headers=new Headers({"Content-Type":c}),o.body=JSON.stringify(n.json)):c==="text/plain"?o.body=n.text:c==="application/x-www-form-urlencoded"&&n.formData?o.body=Ij(n.formData):o.body=n.formData}return new Request(a,o)}function Ij(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function uA(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function ywe(e,t,r,n,a){let o={},i=null,c,u=!1,f={};return r.forEach((h,m)=>{let v=t[m].route.id;if(Tr(!$p(h),"Cannot handle redirect results in processLoaderData"),Xg(h)){let S=Zg(e,v),w=h.error;n&&(w=Object.values(n)[0],n=void 0),i=i||{},i[S.route.id]==null&&(i[S.route.id]=w),o[v]=void 0,u||(u=!0,c=nW(h.error)?h.error.status:500),h.headers&&(f[v]=h.headers)}else Yd(h)?(a.set(v,h.deferredData),o[v]=h.deferredData.data):o[v]=h.data,h.statusCode!=null&&h.statusCode!==200&&!u&&(c=h.statusCode),h.headers&&(f[v]=h.headers)}),n&&(i=n,o[Object.keys(n)[0]]=void 0),{loaderData:o,errors:i,statusCode:c||200,loaderHeaders:f}}function dA(e,t,r,n,a,o,i,c){let{loaderData:u,errors:f}=ywe(t,r,n,a,c);for(let h=0;hn.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function hA(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Xo(e,t){let{pathname:r,routeId:n,method:a,type:o}=t===void 0?{}:t,i="Unknown Server Error",c="Unknown @remix-run/router error";return e===400?(i="Bad Request",a&&r&&n?c="You made a "+a+' request to "'+r+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":o==="defer-action"?c="defer() is not supported in actions":o==="invalid-body"&&(c="Unable to encode submission body")):e===403?(i="Forbidden",c='Route "'+n+'" does not match URL "'+r+'"'):e===404?(i="Not Found",c='No route matches URL "'+r+'"'):e===405&&(i="Method Not Allowed",a&&r&&n?c="You made a "+a.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":a&&(c='Invalid request method "'+a.toUpperCase()+'"')),new p_(e||500,i,new Error(c),!0)}function pA(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if($p(r))return{result:r,idx:t}}}function lW(e){let t=typeof e=="string"?Lc(e):e;return Hf(Gn({},t,{hash:""}))}function bwe(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Yd(e){return e.type===ts.deferred}function Xg(e){return e.type===ts.error}function $p(e){return(e&&e.type)===ts.redirect}function wwe(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function kwe(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body!="undefined"}function Cwe(e){return uwe.has(e.toLowerCase())}function Di(e){return lwe.has(e.toLowerCase())}function mA(e,t,r,n,a,o){return pe(this,null,function*(){for(let i=0;im.route.id===u.route.id),h=f!=null&&!iW(f,u)&&(o&&o[u.route.id])!==void 0;if(Yd(c)&&(a||h)){let m=n[i];Tr(m,"Expected an AbortSignal for revalidating fetcher deferred result"),yield cW(c,m,a).then(v=>{v&&(r[i]=v||r[i])})}}})}function cW(e,t,r){return pe(this,null,function*(){if(r===void 0&&(r=!1),!(yield e.deferredData.resolveData(t))){if(r)try{return{type:ts.data,data:e.deferredData.unwrappedData}}catch(a){return{type:ts.error,error:a}}return{type:ts.data,data:e.deferredData.data}}})}function m_(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Oj(e,t){let r=typeof t=="string"?Lc(t).search:t.search;if(e[e.length-1].route.index&&m_(r||""))return e[e.length-1];let n=rW(e);return n[n.length-1]}function gA(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:o,json:i}=e;if(!(!t||!r||!n)){if(a!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a};if(o!=null)return{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};if(i!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}}}function ES(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Swe(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function ag(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function jwe(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function nu(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function Ewe(e,t){try{let r=e.sessionStorage.getItem(oW);if(r){let n=JSON.parse(r);for(let[a,o]of Object.entries(n||{}))o&&Array.isArray(o)&&t.set(a,new Set(o||[]))}}catch(r){}}function Nwe(e,t){if(t.size>0){let r={};for(let[n,a]of t)r[n]=[...a];try{e.sessionStorage.setItem(oW,JSON.stringify(r))}catch(n){Ff(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}/** + */function Yn(){return Yn=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(r),e=e.substr(0,r));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function B2e(e,t,r,n){n===void 0&&(n={});let{window:a=document.defaultView,v5Compat:o=!1}=n,i=a.history,c=ts.Pop,u=null,f=h();f==null&&(f=0,i.replaceState(Yn({},i.state,{idx:f}),""));function h(){return(i.state||{idx:null}).idx}function m(){c=ts.Pop;let b=h(),C=b==null?null:b-f;f=b,u&&u({action:c,location:g.location,delta:C})}function v(b,C){c=ts.Push;let j=Wv(g.location,b,C);r&&r(j,b),f=h()+1;let E=aA(j,f),N=g.createHref(j);try{i.pushState(E,"",N)}catch(T){if(T instanceof DOMException&&T.name==="DataCloneError")throw T;a.location.assign(N)}o&&u&&u({action:c,location:g.location,delta:1})}function S(b,C){c=ts.Replace;let j=Wv(g.location,b,C);r&&r(j,b),f=h();let E=aA(j,f),N=g.createHref(j);i.replaceState(E,"",N),o&&u&&u({action:c,location:g.location,delta:0})}function w(b){let C=a.location.origin!=="null"?a.location.origin:a.location.href,j=typeof b=="string"?b:Hf(b);return Tr(C,"No window.location.(origin|href) available to create URL for href: "+j),new URL(j,C)}let g={get action(){return c},get location(){return e(a,i)},listen(b){if(u)throw new Error("A history only accepts one active listener");return a.addEventListener(sA,m),u=b,()=>{a.removeEventListener(sA,m),u=null}},createHref(b){return t(a,b)},createURL:w,encodeLocation(b){let C=w(b);return{pathname:C.pathname,search:C.search,hash:C.hash}},push:v,replace:S,go(b){return i.go(b)}};return g}var rs;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(rs||(rs={}));const U2e=new Set(["lazy","caseSensitive","path","id","index","children"]);function W2e(e){return e.index===!0}function Lj(e,t,r,n){return r===void 0&&(r=[]),n===void 0&&(n={}),e.map((a,o)=>{let i=[...r,o],c=typeof a.id=="string"?a.id:i.join("-");if(Tr(a.index!==!0||!a.children,"Cannot specify children on an index route"),Tr(!n[c],'Found a route id collision on id "'+c+"\". Route id's must be globally unique within Data Router usages"),W2e(a)){let u=Yn({},a,t(a),{id:c});return n[c]=u,u}else{let u=Yn({},a,t(a),{id:c,children:void 0});return n[c]=u,a.children&&(u.children=Lj(a.children,t,i,n)),u}})}function kp(e,t,r){r===void 0&&(r="/");let n=typeof t=="string"?Lc(t):t,a=sd(n.pathname||"/",r);if(a==null)return null;let o=tW(e);q2e(o);let i=null;for(let c=0;i==null&&c{let u={relativePath:c===void 0?o.path||"":c,caseSensitive:o.caseSensitive===!0,childrenIndex:i,route:o};u.relativePath.startsWith("/")&&(Tr(u.relativePath.startsWith(n),'Absolute route path "'+u.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),u.relativePath=u.relativePath.slice(n.length));let f=xc([n,u.relativePath]),h=r.concat(u);o.children&&o.children.length>0&&(Tr(o.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+f+'".')),tW(o.children,t,h,f)),!(o.path==null&&!o.index)&&t.push({path:f,score:J2e(f,o.index),routesMeta:h})};return e.forEach((o,i)=>{var c;if(o.path===""||!((c=o.path)!=null&&c.includes("?")))a(o,i);else for(let u of rW(o.path))a(o,i,u)}),t}function rW(e){let t=e.split("/");if(t.length===0)return[];let[r,...n]=t,a=r.endsWith("?"),o=r.replace(/\?$/,"");if(n.length===0)return a?[o,""]:[o];let i=rW(n.join("/")),c=[];return c.push(...i.map(u=>u===""?o:[o,u].join("/"))),a&&c.push(...i),c.map(u=>e.startsWith("/")&&u===""?"/":u)}function q2e(e){e.sort((t,r)=>t.score!==r.score?r.score-t.score:ewe(t.routesMeta.map(n=>n.childrenIndex),r.routesMeta.map(n=>n.childrenIndex)))}const K2e=/^:\w+$/,G2e=3,Y2e=2,Z2e=1,X2e=10,Q2e=-2,oA=e=>e==="*";function J2e(e,t){let r=e.split("/"),n=r.length;return r.some(oA)&&(n+=Q2e),t&&(n+=Y2e),r.filter(a=>!oA(a)).reduce((a,o)=>a+(K2e.test(o)?G2e:o===""?Z2e:X2e),n)}function ewe(e,t){return e.length===t.length&&e.slice(0,-1).every((n,a)=>n===t[a])?e[e.length-1]-t[t.length-1]:0}function twe(e,t){let{routesMeta:r}=e,n={},a="/",o=[];for(let i=0;i{let{paramName:v,isOptional:S}=h;if(v==="*"){let g=c[m]||"";i=o.slice(0,o.length-g.length).replace(/(.)\/+$/,"$1")}const w=c[m];return S&&!w?f[v]=void 0:f[v]=swe(w||"",v),f},{}),pathname:o,pathnameBase:i,pattern:e}}function rwe(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!0),Ff(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:(\w+)(\?)?/g,(i,c,u)=>(n.push({paramName:c,isOptional:u!=null}),u?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):r?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),n]}function nwe(e){try{return decodeURI(e)}catch(t){return Ff(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function swe(e,t){try{return decodeURIComponent(e)}catch(r){return Ff(!1,'The value for the URL param "'+t+'" will not be decoded because'+(' the string "'+e+'" is a malformed URL segment. This is probably')+(" due to a bad percent encoding ("+r+").")),e}}function sd(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let r=t.endsWith("/")?t.length-1:t.length,n=e.charAt(r);return n&&n!=="/"?null:e.slice(r)||"/"}function awe(e,t){t===void 0&&(t="/");let{pathname:r,search:n="",hash:a=""}=typeof e=="string"?Lc(e):e;return{pathname:r?r.startsWith("/")?r:owe(r,t):t,search:lwe(n),hash:cwe(a)}}function owe(e,t){let r=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(a=>{a===".."?r.length>1&&r.pop():a!=="."&&r.push(a)}),r.length>1?r.join("/"):"/"}function jS(e,t,r,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+r+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function nW(e){return e.filter((t,r)=>r===0||t.route.path&&t.route.path.length>0)}function Ok(e){return nW(e).map((t,r)=>r===e.length-1?t.pathname:t.pathnameBase)}function $k(e,t,r,n){n===void 0&&(n=!1);let a;typeof e=="string"?a=Lc(e):(a=Yn({},e),Tr(!a.pathname||!a.pathname.includes("?"),jS("?","pathname","search",a)),Tr(!a.pathname||!a.pathname.includes("#"),jS("#","pathname","hash",a)),Tr(!a.search||!a.search.includes("#"),jS("#","search","hash",a)));let o=e===""||a.pathname==="",i=o?"/":a.pathname,c;if(i==null)c=r;else if(n){let m=t[t.length-1].replace(/^\//,"").split("/");if(i.startsWith("..")){let v=i.split("/");for(;v[0]==="..";)v.shift(),m.pop();a.pathname=v.join("/")}c="/"+m.join("/")}else{let m=t.length-1;if(i.startsWith("..")){let v=i.split("/");for(;v[0]==="..";)v.shift(),m-=1;a.pathname=v.join("/")}c=m>=0?t[m]:"/"}let u=awe(a,c),f=i&&i!=="/"&&i.endsWith("/"),h=(o||i===".")&&r.endsWith("/");return!u.pathname.endsWith("/")&&(f||h)&&(u.pathname+="/"),u}const xc=e=>e.join("/").replace(/\/\/+/g,"/"),iwe=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),lwe=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,cwe=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class m_{constructor(t,r,n,a){a===void 0&&(a=!1),this.status=t,this.statusText=r||"",this.internal=a,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function sW(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const aW=["post","put","patch","delete"],uwe=new Set(aW),dwe=["get",...aW],fwe=new Set(dwe),hwe=new Set([301,302,303,307,308]),pwe=new Set([307,308]),ES={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},mwe={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},sg={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},oW=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,gwe=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),iW="remix-router-transitions";function vwe(e){const t=e.window?e.window:typeof window!="undefined"?window:void 0,r=typeof t!="undefined"&&typeof t.document!="undefined"&&typeof t.document.createElement!="undefined",n=!r;Tr(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let a;if(e.mapRouteProperties)a=e.mapRouteProperties;else if(e.detectErrorBoundary){let Se=e.detectErrorBoundary;a=je=>({hasErrorBoundary:Se(je)})}else a=gwe;let o={},i=Lj(e.routes,a,void 0,o),c,u=e.basename||"/",f=Yn({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_prependBasename:!1},e.future),h=null,m=new Set,v=null,S=null,w=null,g=e.hydrationData!=null,b=kp(i,e.history.location,u),C=null;if(b==null){let Se=Qo(404,{pathname:e.history.location.pathname}),{matches:je,route:we}=pA(i);b=je,C={[we.id]:Se}}let j=!b.some(Se=>Se.route.lazy)&&(!b.some(Se=>Se.route.loader)||e.hydrationData!=null),E,N={historyAction:e.history.action,location:e.history.location,matches:b,initialized:j,navigation:ES,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||C,fetchers:new Map,blockers:new Map},T=ts.Pop,A=!1,M,D=!1,L=new Map,z=null,H=!1,V=!1,I=[],q=[],_=new Map,$=0,U=-1,K=new Map,Y=new Set,B=new Map,F=new Map,G=new Set,X=new Map,se=new Map,re=!1;function ie(){if(h=e.history.listen(Se=>{let{action:je,location:we,delta:Fe}=Se;if(re){re=!1;return}Ff(se.size===0||Fe!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let nt=vr({currentLocation:N.location,nextLocation:we,historyAction:je});if(nt&&Fe!=null){re=!0,e.history.go(Fe*-1),nr(nt,{state:"blocked",location:we,proceed(){nr(nt,{state:"proceeding",proceed:void 0,reset:void 0,location:we}),e.history.go(Fe)},reset(){let rt=new Map(N.blockers);rt.set(nt,sg),fe({blockers:rt})}});return}return Ce(je,we)}),r){_we(t,L);let Se=()=>Twe(t,L);t.addEventListener("pagehide",Se),z=()=>t.removeEventListener("pagehide",Se)}return N.initialized||Ce(ts.Pop,N.location),E}function oe(){h&&h(),z&&z(),m.clear(),M&&M.abort(),N.fetchers.forEach((Se,je)=>pt(je)),N.blockers.forEach((Se,je)=>Zt(je))}function ae(Se){return m.add(Se),()=>m.delete(Se)}function fe(Se,je){je===void 0&&(je={}),N=Yn({},N,Se);let we=[],Fe=[];f.v7_fetcherPersist&&N.fetchers.forEach((nt,rt)=>{nt.state==="idle"&&(G.has(rt)?Fe.push(rt):we.push(rt))}),[...m].forEach(nt=>nt(N,{deletedFetchers:Fe,unstable_viewTransitionOpts:je.viewTransitionOpts,unstable_flushSync:je.flushSync===!0})),f.v7_fetcherPersist&&(we.forEach(nt=>N.fetchers.delete(nt)),Fe.forEach(nt=>pt(nt)))}function le(Se,je,we){var Fe,nt;let{flushSync:rt}=we===void 0?{}:we,Ie=N.actionData!=null&&N.navigation.formMethod!=null&&Ai(N.navigation.formMethod)&&N.navigation.state==="loading"&&((Fe=Se.state)==null?void 0:Fe._isRedirect)!==!0,$e;je.actionData?Object.keys(je.actionData).length>0?$e=je.actionData:$e=null:Ie?$e=N.actionData:$e=null;let Ye=je.loaderData?hA(N.loaderData,je.loaderData,je.matches||[],je.errors):N.loaderData,mt=N.blockers;mt.size>0&&(mt=new Map(mt),mt.forEach((Rt,Xt)=>mt.set(Xt,sg)));let qt=A===!0||N.navigation.formMethod!=null&&Ai(N.navigation.formMethod)&&((nt=Se.state)==null?void 0:nt._isRedirect)!==!0;c&&(i=c,c=void 0),H||T===ts.Pop||(T===ts.Push?e.history.push(Se,Se.state):T===ts.Replace&&e.history.replace(Se,Se.state));let Pt;if(T===ts.Pop){let Rt=L.get(N.location.pathname);Rt&&Rt.has(Se.pathname)?Pt={currentLocation:N.location,nextLocation:Se}:L.has(Se.pathname)&&(Pt={currentLocation:Se,nextLocation:N.location})}else if(D){let Rt=L.get(N.location.pathname);Rt?Rt.add(Se.pathname):(Rt=new Set([Se.pathname]),L.set(N.location.pathname,Rt)),Pt={currentLocation:N.location,nextLocation:Se}}fe(Yn({},je,{actionData:$e,loaderData:Ye,historyAction:T,location:Se,initialized:!0,navigation:ES,revalidation:"idle",restoreScrollPosition:Ze(Se,je.matches||N.matches),preventScrollReset:qt,blockers:mt}),{viewTransitionOpts:Pt,flushSync:rt===!0}),T=ts.Pop,A=!1,D=!1,H=!1,V=!1,I=[],q=[]}function ue(Se,je){return pe(this,null,function*(){if(typeof Se=="number"){e.history.go(Se);return}let we=Oj(N.location,N.matches,u,f.v7_prependBasename,Se,je==null?void 0:je.fromRouteId,je==null?void 0:je.relative),{path:Fe,submission:nt,error:rt}=iA(f.v7_normalizeFormMethod,!1,we,je),Ie=N.location,$e=Wv(N.location,Fe,je&&je.state);$e=Yn({},$e,e.history.encodeLocation($e));let Ye=je&&je.replace!=null?je.replace:void 0,mt=ts.Push;Ye===!0?mt=ts.Replace:Ye===!1||nt!=null&&Ai(nt.formMethod)&&nt.formAction===N.location.pathname+N.location.search&&(mt=ts.Replace);let qt=je&&"preventScrollReset"in je?je.preventScrollReset===!0:void 0,Pt=(je&&je.unstable_flushSync)===!0,Rt=vr({currentLocation:Ie,nextLocation:$e,historyAction:mt});if(Rt){nr(Rt,{state:"blocked",location:$e,proceed(){nr(Rt,{state:"proceeding",proceed:void 0,reset:void 0,location:$e}),ue(Se,je)},reset(){let Xt=new Map(N.blockers);Xt.set(Rt,sg),fe({blockers:Xt})}});return}return yield Ce(mt,$e,{submission:nt,pendingError:rt,preventScrollReset:qt,replace:je&&je.replace,enableViewTransition:je&&je.unstable_viewTransition,flushSync:Pt})})}function be(){if(Et(),fe({revalidation:"loading"}),N.navigation.state!=="submitting"){if(N.navigation.state==="idle"){Ce(N.historyAction,N.location,{startUninterruptedRevalidation:!0});return}Ce(T||N.historyAction,N.navigation.location,{overrideNavigation:N.navigation})}}function Ce(Se,je,we){return pe(this,null,function*(){M&&M.abort(),M=null,T=Se,H=(we&&we.startUninterruptedRevalidation)===!0,Dt(N.location,N.matches),A=(we&&we.preventScrollReset)===!0,D=(we&&we.enableViewTransition)===!0;let Fe=c||i,nt=we&&we.overrideNavigation,rt=kp(Fe,je,u),Ie=(we&&we.flushSync)===!0;if(!rt){let Xt=Qo(404,{pathname:je.pathname}),{matches:Pr,route:Nr}=pA(Fe);pr(),le(je,{matches:Pr,loaderData:{},errors:{[Nr.id]:Xt}},{flushSync:Ie});return}if(N.initialized&&!V&&kwe(N.location,je)&&!(we&&we.submission&&Ai(we.submission.formMethod))){le(je,{matches:rt},{flushSync:Ie});return}M=new AbortController;let $e=og(e.history,je,M.signal,we&&we.submission),Ye,mt;if(we&&we.pendingError)mt={[Qg(rt).route.id]:we.pendingError};else if(we&&we.submission&&Ai(we.submission.formMethod)){let Xt=yield Pe($e,je,we.submission,rt,{replace:we.replace,flushSync:Ie});if(Xt.shortCircuited)return;Ye=Xt.pendingActionData,mt=Xt.pendingActionError,nt=NS(je,we.submission),Ie=!1,$e=new Request($e.url,{signal:$e.signal})}let{shortCircuited:qt,loaderData:Pt,errors:Rt}=yield Ee($e,je,rt,nt,we&&we.submission,we&&we.fetcherSubmission,we&&we.replace,Ie,Ye,mt);qt||(M=null,le(je,Yn({matches:rt},Ye?{actionData:Ye}:{},{loaderData:Pt,errors:Rt})))})}function Pe(Se,je,we,Fe,nt){return pe(this,null,function*(){nt===void 0&&(nt={}),Et();let rt=Ewe(je,we);fe({navigation:rt},{flushSync:nt.flushSync===!0});let Ie,$e=zj(Fe,je);if(!$e.route.action&&!$e.route.lazy)Ie={type:rs.error,error:Qo(405,{method:Se.method,pathname:je.pathname,routeId:$e.route.id})};else if(Ie=yield ag("action",Se,$e,Fe,o,a,u),Se.signal.aborted)return{shortCircuited:!0};if($p(Ie)){let Ye;return nt&&nt.replace!=null?Ye=nt.replace:Ye=Ie.location===N.location.pathname+N.location.search,yield gt(N,Ie,{submission:we,replace:Ye}),{shortCircuited:!0}}if(Jg(Ie)){let Ye=Qg(Fe,$e.route.id);return(nt&&nt.replace)!==!0&&(T=ts.Push),{pendingActionData:{},pendingActionError:{[Ye.route.id]:Ie.error}}}if(Yd(Ie))throw Qo(400,{type:"defer-action"});return{pendingActionData:{[$e.route.id]:Ie.data}}})}function Ee(Se,je,we,Fe,nt,rt,Ie,$e,Ye,mt){return pe(this,null,function*(){let qt=Fe||NS(je,nt),Pt=nt||rt||vA(qt),Rt=c||i,[Xt,Pr]=lA(e.history,N,we,Pt,je,V,I,q,G,B,Y,Rt,u,Ye,mt);if(pr(ge=>!(we&&we.some(Qe=>Qe.route.id===ge))||Xt&&Xt.some(Qe=>Qe.route.id===ge)),U=++$,Xt.length===0&&Pr.length===0){let ge=Ft();return le(je,Yn({matches:we,loaderData:{},errors:mt||null},Ye?{actionData:Ye}:{},ge?{fetchers:new Map(N.fetchers)}:{}),{flushSync:$e}),{shortCircuited:!0}}if(!H){Pr.forEach(Qe=>{let Xe=N.fetchers.get(Qe.key),st=ig(void 0,Xe?Xe.data:void 0);N.fetchers.set(Qe.key,st)});let ge=Ye||N.actionData;fe(Yn({navigation:qt},ge?Object.keys(ge).length===0?{actionData:null}:{actionData:ge}:{},Pr.length>0?{fetchers:new Map(N.fetchers)}:{}),{flushSync:$e})}Pr.forEach(ge=>{_.has(ge.key)&&ht(ge.key),ge.controller&&_.set(ge.key,ge.controller)});let Nr=()=>Pr.forEach(ge=>ht(ge.key));M&&M.signal.addEventListener("abort",Nr);let{results:Vr,loaderResults:qr,fetcherResults:Gt}=yield Ke(N.matches,we,Xt,Pr,Se);if(Se.signal.aborted)return{shortCircuited:!0};M&&M.signal.removeEventListener("abort",Nr),Pr.forEach(ge=>_.delete(ge.key));let xr=mA(Vr);if(xr){if(xr.idx>=Xt.length){let ge=Pr[xr.idx-Xt.length].key;Y.add(ge)}return yield gt(N,xr.result,{replace:Ie}),{shortCircuited:!0}}let{loaderData:dr,errors:Ts}=fA(N,we,Xt,qr,mt,Pr,Gt,X);X.forEach((ge,Qe)=>{ge.subscribe(Xe=>{(Xe||ge.done)&&X.delete(Qe)})});let Kr=Ft(),or=Vt(U),ut=Kr||or||Pr.length>0;return Yn({loaderData:dr,errors:Ts},ut?{fetchers:new Map(N.fetchers)}:{})})}function Oe(Se,je,we,Fe){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");_.has(Se)&&ht(Se);let nt=(Fe&&Fe.unstable_flushSync)===!0,rt=c||i,Ie=Oj(N.location,N.matches,u,f.v7_prependBasename,we,je,Fe==null?void 0:Fe.relative),$e=kp(rt,Ie,u);if(!$e){xt(Se,je,Qo(404,{pathname:Ie}),{flushSync:nt});return}let{path:Ye,submission:mt,error:qt}=iA(f.v7_normalizeFormMethod,!0,Ie,Fe);if(qt){xt(Se,je,qt,{flushSync:nt});return}let Pt=zj($e,Ye);if(A=(Fe&&Fe.preventScrollReset)===!0,mt&&Ai(mt.formMethod)){Ve(Se,je,Ye,Pt,$e,nt,mt);return}B.set(Se,{routeId:je,path:Ye}),ct(Se,je,Ye,Pt,$e,nt,mt)}function Ve(Se,je,we,Fe,nt,rt,Ie){return pe(this,null,function*(){if(Et(),B.delete(Se),!Fe.route.action&&!Fe.route.lazy){let Xe=Qo(405,{method:Ie.formMethod,pathname:we,routeId:je});xt(Se,je,Xe,{flushSync:rt});return}let $e=N.fetchers.get(Se);Re(Se,Nwe(Ie,$e),{flushSync:rt});let Ye=new AbortController,mt=og(e.history,we,Ye.signal,Ie);_.set(Se,Ye);let qt=$,Pt=yield ag("action",mt,Fe,nt,o,a,u);if(mt.signal.aborted){_.get(Se)===Ye&&_.delete(Se);return}if(G.has(Se)){Re(Se,nu(void 0));return}if($p(Pt))if(_.delete(Se),U>qt){Re(Se,nu(void 0));return}else return Y.add(Se),Re(Se,ig(Ie)),gt(N,Pt,{fetcherSubmission:Ie});if(Jg(Pt)){xt(Se,je,Pt.error);return}if(Yd(Pt))throw Qo(400,{type:"defer-action"});let Rt=N.navigation.location||N.location,Xt=og(e.history,Rt,Ye.signal),Pr=c||i,Nr=N.navigation.state!=="idle"?kp(Pr,N.navigation.location,u):N.matches;Tr(Nr,"Didn't find any matches after fetcher action");let Vr=++$;K.set(Se,Vr);let qr=ig(Ie,Pt.data);N.fetchers.set(Se,qr);let[Gt,xr]=lA(e.history,N,Nr,Ie,Rt,V,I,q,G,B,Y,Pr,u,{[Fe.route.id]:Pt.data},void 0);xr.filter(Xe=>Xe.key!==Se).forEach(Xe=>{let st=Xe.key,Ht=N.fetchers.get(st),At=ig(void 0,Ht?Ht.data:void 0);N.fetchers.set(st,At),_.has(st)&&ht(st),Xe.controller&&_.set(st,Xe.controller)}),fe({fetchers:new Map(N.fetchers)});let dr=()=>xr.forEach(Xe=>ht(Xe.key));Ye.signal.addEventListener("abort",dr);let{results:Ts,loaderResults:Kr,fetcherResults:or}=yield Ke(N.matches,Nr,Gt,xr,Xt);if(Ye.signal.aborted)return;Ye.signal.removeEventListener("abort",dr),K.delete(Se),_.delete(Se),xr.forEach(Xe=>_.delete(Xe.key));let ut=mA(Ts);if(ut){if(ut.idx>=Gt.length){let Xe=xr[ut.idx-Gt.length].key;Y.add(Xe)}return gt(N,ut.result)}let{loaderData:ge,errors:Qe}=fA(N,N.matches,Gt,Kr,void 0,xr,or,X);if(N.fetchers.has(Se)){let Xe=nu(Pt.data);N.fetchers.set(Se,Xe)}Vt(Vr),N.navigation.state==="loading"&&Vr>U?(Tr(T,"Expected pending action"),M&&M.abort(),le(N.navigation.location,{matches:Nr,loaderData:ge,errors:Qe,fetchers:new Map(N.fetchers)})):(fe({errors:Qe,loaderData:hA(N.loaderData,ge,Nr,Qe),fetchers:new Map(N.fetchers)}),V=!1)})}function ct(Se,je,we,Fe,nt,rt,Ie){return pe(this,null,function*(){let $e=N.fetchers.get(Se);Re(Se,ig(Ie,$e?$e.data:void 0),{flushSync:rt});let Ye=new AbortController,mt=og(e.history,we,Ye.signal);_.set(Se,Ye);let qt=$,Pt=yield ag("loader",mt,Fe,nt,o,a,u);if(Yd(Pt)&&(Pt=(yield uW(Pt,mt.signal,!0))||Pt),_.get(Se)===Ye&&_.delete(Se),!mt.signal.aborted){if(G.has(Se)){Re(Se,nu(void 0));return}if($p(Pt))if(U>qt){Re(Se,nu(void 0));return}else{Y.add(Se),yield gt(N,Pt);return}if(Jg(Pt)){xt(Se,je,Pt.error);return}Tr(!Yd(Pt),"Unhandled fetcher deferred data"),Re(Se,nu(Pt.data))}})}function gt(Se,je,we){return pe(this,null,function*(){let{submission:Fe,fetcherSubmission:nt,replace:rt}=we===void 0?{}:we;je.revalidate&&(V=!0);let Ie=Wv(Se.location,je.location,{_isRedirect:!0});if(Tr(Ie,"Expected a location on the redirect navigation"),r){let Rt=!1;if(je.reloadDocument)Rt=!0;else if(oW.test(je.location)){const Xt=e.history.createURL(je.location);Rt=Xt.origin!==t.location.origin||sd(Xt.pathname,u)==null}if(Rt){rt?t.location.replace(je.location):t.location.assign(je.location);return}}M=null;let $e=rt===!0?ts.Replace:ts.Push,{formMethod:Ye,formAction:mt,formEncType:qt}=Se.navigation;!Fe&&!nt&&Ye&&mt&&qt&&(Fe=vA(Se.navigation));let Pt=Fe||nt;if(pwe.has(je.status)&&Pt&&Ai(Pt.formMethod))yield Ce($e,Ie,{submission:Yn({},Pt,{formAction:je.location}),preventScrollReset:A});else{let Rt=NS(Ie,Fe);yield Ce($e,Ie,{overrideNavigation:Rt,fetcherSubmission:nt,preventScrollReset:A})}})}function Ke(Se,je,we,Fe,nt){return pe(this,null,function*(){let rt=yield Promise.all([...we.map(Ye=>ag("loader",nt,Ye,je,o,a,u)),...Fe.map(Ye=>Ye.matches&&Ye.match&&Ye.controller?ag("loader",og(e.history,Ye.path,Ye.controller.signal),Ye.match,Ye.matches,o,a,u):{type:rs.error,error:Qo(404,{pathname:Ye.path})})]),Ie=rt.slice(0,we.length),$e=rt.slice(we.length);return yield Promise.all([gA(Se,we,Ie,Ie.map(()=>nt.signal),!1,N.loaderData),gA(Se,Fe.map(Ye=>Ye.match),$e,Fe.map(Ye=>Ye.controller?Ye.controller.signal:null),!0)]),{results:rt,loaderResults:Ie,fetcherResults:$e}})}function Et(){V=!0,I.push(...pr()),B.forEach((Se,je)=>{_.has(je)&&(q.push(je),ht(je))})}function Re(Se,je,we){we===void 0&&(we={}),N.fetchers.set(Se,je),fe({fetchers:new Map(N.fetchers)},{flushSync:(we&&we.flushSync)===!0})}function xt(Se,je,we,Fe){Fe===void 0&&(Fe={});let nt=Qg(N.matches,je);pt(Se),fe({errors:{[nt.route.id]:we},fetchers:new Map(N.fetchers)},{flushSync:(Fe&&Fe.flushSync)===!0})}function ot(Se){return f.v7_fetcherPersist&&(F.set(Se,(F.get(Se)||0)+1),G.has(Se)&&G.delete(Se)),N.fetchers.get(Se)||mwe}function pt(Se){let je=N.fetchers.get(Se);_.has(Se)&&!(je&&je.state==="loading"&&K.has(Se))&&ht(Se),B.delete(Se),K.delete(Se),Y.delete(Se),G.delete(Se),N.fetchers.delete(Se)}function _t(Se){if(f.v7_fetcherPersist){let je=(F.get(Se)||0)-1;je<=0?(F.delete(Se),G.add(Se)):F.set(Se,je)}else pt(Se);fe({fetchers:new Map(N.fetchers)})}function ht(Se){let je=_.get(Se);Tr(je,"Expected fetch controller: "+Se),je.abort(),_.delete(Se)}function It(Se){for(let je of Se){let we=ot(je),Fe=nu(we.data);N.fetchers.set(je,Fe)}}function Ft(){let Se=[],je=!1;for(let we of Y){let Fe=N.fetchers.get(we);Tr(Fe,"Expected fetcher: "+we),Fe.state==="loading"&&(Y.delete(we),Se.push(we),je=!0)}return It(Se),je}function Vt(Se){let je=[];for(let[we,Fe]of K)if(Fe0}function Ge(Se,je){let we=N.blockers.get(Se)||sg;return se.get(Se)!==je&&se.set(Se,je),we}function Zt(Se){N.blockers.delete(Se),se.delete(Se)}function nr(Se,je){let we=N.blockers.get(Se)||sg;Tr(we.state==="unblocked"&&je.state==="blocked"||we.state==="blocked"&&je.state==="blocked"||we.state==="blocked"&&je.state==="proceeding"||we.state==="blocked"&&je.state==="unblocked"||we.state==="proceeding"&&je.state==="unblocked","Invalid blocker state transition: "+we.state+" -> "+je.state);let Fe=new Map(N.blockers);Fe.set(Se,je),fe({blockers:Fe})}function vr(Se){let{currentLocation:je,nextLocation:we,historyAction:Fe}=Se;if(se.size===0)return;se.size>1&&Ff(!1,"A router only supports one blocker at a time");let nt=Array.from(se.entries()),[rt,Ie]=nt[nt.length-1],$e=N.blockers.get(rt);if(!($e&&$e.state==="proceeding")&&Ie({currentLocation:je,nextLocation:we,historyAction:Fe}))return rt}function pr(Se){let je=[];return X.forEach((we,Fe)=>{(!Se||Se(Fe))&&(we.cancel(),je.push(Fe),X.delete(Fe))}),je}function Wr(Se,je,we){if(v=Se,w=je,S=we||null,!g&&N.navigation===ES){g=!0;let Fe=Ze(N.location,N.matches);Fe!=null&&fe({restoreScrollPosition:Fe})}return()=>{v=null,w=null,S=null}}function Le(Se,je){return S&&S(Se,je.map(Fe=>V2e(Fe,N.loaderData)))||Se.key}function Dt(Se,je){if(v&&w){let we=Le(Se,je);v[we]=w()}}function Ze(Se,je){if(v){let we=Le(Se,je),Fe=v[we];if(typeof Fe=="number")return Fe}return null}function mr(Se){o={},c=Lj(Se,a,void 0,o)}return E={get basename(){return u},get state(){return N},get routes(){return i},get window(){return t},initialize:ie,subscribe:ae,enableScrollRestoration:Wr,navigate:ue,fetch:Oe,revalidate:be,createHref:Se=>e.history.createHref(Se),encodeLocation:Se=>e.history.encodeLocation(Se),getFetcher:ot,deleteFetcher:_t,dispose:oe,getBlocker:Ge,deleteBlocker:Zt,_internalFetchControllers:_,_internalActiveDeferreds:X,_internalSetRoutes:mr},E}function xwe(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function Oj(e,t,r,n,a,o,i){let c,u;if(o){c=[];for(let h of t)if(c.push(h),h.route.id===o){u=h;break}}else c=t,u=t[t.length-1];let f=$k(a||".",Ok(c),sd(e.pathname,r)||e.pathname,i==="path");return a==null&&(f.search=e.search,f.hash=e.hash),(a==null||a===""||a===".")&&u&&u.route.index&&!g_(f.search)&&(f.search=f.search?f.search.replace(/^\?/,"?index&"):"?index"),n&&r!=="/"&&(f.pathname=f.pathname==="/"?r:xc([r,f.pathname])),Hf(f)}function iA(e,t,r,n){if(!n||!xwe(n))return{path:r};if(n.formMethod&&!jwe(n.formMethod))return{path:r,error:Qo(405,{method:n.formMethod})};let a=()=>({path:r,error:Qo(400,{type:"invalid-body"})}),o=n.formMethod||"get",i=e?o.toUpperCase():o.toLowerCase(),c=cW(r);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!Ai(i))return a();let v=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((S,w)=>{let[g,b]=w;return""+S+g+"="+b+"\n"},""):String(n.body);return{path:r,submission:{formMethod:i,formAction:c,formEncType:n.formEncType,formData:void 0,json:void 0,text:v}}}else if(n.formEncType==="application/json"){if(!Ai(i))return a();try{let v=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:r,submission:{formMethod:i,formAction:c,formEncType:n.formEncType,formData:void 0,json:v,text:void 0}}}catch(v){return a()}}}Tr(typeof FormData=="function","FormData is not available in this environment");let u,f;if(n.formData)u=$j(n.formData),f=n.formData;else if(n.body instanceof FormData)u=$j(n.body),f=n.body;else if(n.body instanceof URLSearchParams)u=n.body,f=dA(u);else if(n.body==null)u=new URLSearchParams,f=new FormData;else try{u=new URLSearchParams(n.body),f=dA(u)}catch(v){return a()}let h={formMethod:i,formAction:c,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:f,json:void 0,text:void 0};if(Ai(h.formMethod))return{path:r,submission:h};let m=Lc(r);return t&&m.search&&g_(m.search)&&u.append("index",""),m.search="?"+u,{path:Hf(m),submission:h}}function ywe(e,t){let r=e;if(t){let n=e.findIndex(a=>a.route.id===t);n>=0&&(r=e.slice(0,n))}return r}function lA(e,t,r,n,a,o,i,c,u,f,h,m,v,S,w){let g=w?Object.values(w)[0]:S?Object.values(S)[0]:void 0,b=e.createURL(t.location),C=e.createURL(a),j=w?Object.keys(w)[0]:void 0,N=ywe(r,j).filter((A,M)=>{if(A.route.lazy)return!0;if(A.route.loader==null)return!1;if(bwe(t.loaderData,t.matches[M],A)||i.some(z=>z===A.route.id))return!0;let D=t.matches[M],L=A;return cA(A,Yn({currentUrl:b,currentParams:D.params,nextUrl:C,nextParams:L.params},n,{actionResult:g,defaultShouldRevalidate:o||b.pathname+b.search===C.pathname+C.search||b.search!==C.search||lW(D,L)}))}),T=[];return f.forEach((A,M)=>{if(!r.some(V=>V.route.id===A.routeId)||u.has(M))return;let D=kp(m,A.path,v);if(!D){T.push({key:M,routeId:A.routeId,path:A.path,matches:null,match:null,controller:null});return}let L=t.fetchers.get(M),z=zj(D,A.path),H=!1;h.has(M)?H=!1:c.includes(M)?H=!0:L&&L.state!=="idle"&&L.data===void 0?H=o:H=cA(z,Yn({currentUrl:b,currentParams:t.matches[t.matches.length-1].params,nextUrl:C,nextParams:r[r.length-1].params},n,{actionResult:g,defaultShouldRevalidate:o})),H&&T.push({key:M,routeId:A.routeId,path:A.path,matches:D,match:z,controller:new AbortController})}),[N,T]}function bwe(e,t,r){let n=!t||r.route.id!==t.route.id,a=e[r.route.id]===void 0;return n||a}function lW(e,t){let r=e.route.path;return e.pathname!==t.pathname||r!=null&&r.endsWith("*")&&e.params["*"]!==t.params["*"]}function cA(e,t){if(e.route.shouldRevalidate){let r=e.route.shouldRevalidate(t);if(typeof r=="boolean")return r}return t.defaultShouldRevalidate}function uA(e,t,r){return pe(this,null,function*(){if(!e.lazy)return;let n=yield e.lazy();if(!e.lazy)return;let a=r[e.id];Tr(a,"No route found in manifest");let o={};for(let i in n){let u=a[i]!==void 0&&i!=="hasErrorBoundary";Ff(!u,'Route "'+a.id+'" has a static property "'+i+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+i+'" will be ignored.')),!u&&!U2e.has(i)&&(o[i]=n[i])}Object.assign(a,o),Object.assign(a,Yn({},t(a),{lazy:void 0}))})}function ag(e,t,r,n,a,o,i,c){return pe(this,null,function*(){c===void 0&&(c={});let u,f,h,m=w=>{let g,b=new Promise((C,j)=>g=j);return h=()=>g(),t.signal.addEventListener("abort",h),Promise.race([w({request:t,params:r.params,context:c.requestContext}),b])};try{let w=r.route[e];if(r.route.lazy)if(w){let g,b=yield Promise.all([m(w).catch(C=>{g=C}),uA(r.route,o,a)]);if(g)throw g;f=b[0]}else if(yield uA(r.route,o,a),w=r.route[e],w)f=yield m(w);else if(e==="action"){let g=new URL(t.url),b=g.pathname+g.search;throw Qo(405,{method:t.method,pathname:b,routeId:r.route.id})}else return{type:rs.data,data:void 0};else if(w)f=yield m(w);else{let g=new URL(t.url),b=g.pathname+g.search;throw Qo(404,{pathname:b})}Tr(f!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+r.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(w){u=rs.error,f=w}finally{h&&t.signal.removeEventListener("abort",h)}if(Swe(f)){let w=f.status;if(hwe.has(w)){let C=f.headers.get("Location");if(Tr(C,"Redirects returned/thrown from loaders/actions must have a Location header"),!oW.test(C))C=Oj(new URL(t.url),n.slice(0,n.indexOf(r)+1),i,!0,C);else if(!c.isStaticRequest){let j=new URL(t.url),E=C.startsWith("//")?new URL(j.protocol+C):new URL(C),N=sd(E.pathname,i)!=null;E.origin===j.origin&&N&&(C=E.pathname+E.search+E.hash)}if(c.isStaticRequest)throw f.headers.set("Location",C),f;return{type:rs.redirect,status:w,location:C,revalidate:f.headers.get("X-Remix-Revalidate")!==null,reloadDocument:f.headers.get("X-Remix-Reload-Document")!==null}}if(c.isRouteRequest)throw{type:u===rs.error?rs.error:rs.data,response:f};let g,b=f.headers.get("Content-Type");return b&&/\bapplication\/json\b/.test(b)?g=yield f.json():g=yield f.text(),u===rs.error?{type:u,error:new m_(w,f.statusText,g),headers:f.headers}:{type:rs.data,data:g,statusCode:f.status,headers:f.headers}}if(u===rs.error)return{type:u,error:f};if(Cwe(f)){var v,S;return{type:rs.deferred,deferredData:f,statusCode:(v=f.init)==null?void 0:v.status,headers:((S=f.init)==null?void 0:S.headers)&&new Headers(f.init.headers)}}return{type:rs.data,data:f}})}function og(e,t,r,n){let a=e.createURL(cW(t)).toString(),o={signal:r};if(n&&Ai(n.formMethod)){let{formMethod:i,formEncType:c}=n;o.method=i.toUpperCase(),c==="application/json"?(o.headers=new Headers({"Content-Type":c}),o.body=JSON.stringify(n.json)):c==="text/plain"?o.body=n.text:c==="application/x-www-form-urlencoded"&&n.formData?o.body=$j(n.formData):o.body=n.formData}return new Request(a,o)}function $j(e){let t=new URLSearchParams;for(let[r,n]of e.entries())t.append(r,typeof n=="string"?n:n.name);return t}function dA(e){let t=new FormData;for(let[r,n]of e.entries())t.append(r,n);return t}function wwe(e,t,r,n,a){let o={},i=null,c,u=!1,f={};return r.forEach((h,m)=>{let v=t[m].route.id;if(Tr(!$p(h),"Cannot handle redirect results in processLoaderData"),Jg(h)){let S=Qg(e,v),w=h.error;n&&(w=Object.values(n)[0],n=void 0),i=i||{},i[S.route.id]==null&&(i[S.route.id]=w),o[v]=void 0,u||(u=!0,c=sW(h.error)?h.error.status:500),h.headers&&(f[v]=h.headers)}else Yd(h)?(a.set(v,h.deferredData),o[v]=h.deferredData.data):o[v]=h.data,h.statusCode!=null&&h.statusCode!==200&&!u&&(c=h.statusCode),h.headers&&(f[v]=h.headers)}),n&&(i=n,o[Object.keys(n)[0]]=void 0),{loaderData:o,errors:i,statusCode:c||200,loaderHeaders:f}}function fA(e,t,r,n,a,o,i,c){let{loaderData:u,errors:f}=wwe(t,r,n,a,c);for(let h=0;hn.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function pA(e){let t=e.length===1?e[0]:e.find(r=>r.index||!r.path||r.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function Qo(e,t){let{pathname:r,routeId:n,method:a,type:o}=t===void 0?{}:t,i="Unknown Server Error",c="Unknown @remix-run/router error";return e===400?(i="Bad Request",a&&r&&n?c="You made a "+a+' request to "'+r+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":o==="defer-action"?c="defer() is not supported in actions":o==="invalid-body"&&(c="Unable to encode submission body")):e===403?(i="Forbidden",c='Route "'+n+'" does not match URL "'+r+'"'):e===404?(i="Not Found",c='No route matches URL "'+r+'"'):e===405&&(i="Method Not Allowed",a&&r&&n?c="You made a "+a.toUpperCase()+' request to "'+r+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":a&&(c='Invalid request method "'+a.toUpperCase()+'"')),new m_(e||500,i,new Error(c),!0)}function mA(e){for(let t=e.length-1;t>=0;t--){let r=e[t];if($p(r))return{result:r,idx:t}}}function cW(e){let t=typeof e=="string"?Lc(e):e;return Hf(Yn({},t,{hash:""}))}function kwe(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Yd(e){return e.type===rs.deferred}function Jg(e){return e.type===rs.error}function $p(e){return(e&&e.type)===rs.redirect}function Cwe(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Swe(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body!="undefined"}function jwe(e){return fwe.has(e.toLowerCase())}function Ai(e){return uwe.has(e.toLowerCase())}function gA(e,t,r,n,a,o){return pe(this,null,function*(){for(let i=0;im.route.id===u.route.id),h=f!=null&&!lW(f,u)&&(o&&o[u.route.id])!==void 0;if(Yd(c)&&(a||h)){let m=n[i];Tr(m,"Expected an AbortSignal for revalidating fetcher deferred result"),yield uW(c,m,a).then(v=>{v&&(r[i]=v||r[i])})}}})}function uW(e,t,r){return pe(this,null,function*(){if(r===void 0&&(r=!1),!(yield e.deferredData.resolveData(t))){if(r)try{return{type:rs.data,data:e.deferredData.unwrappedData}}catch(a){return{type:rs.error,error:a}}return{type:rs.data,data:e.deferredData.data}}})}function g_(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function zj(e,t){let r=typeof t=="string"?Lc(t).search:t.search;if(e[e.length-1].route.index&&g_(r||""))return e[e.length-1];let n=nW(e);return n[n.length-1]}function vA(e){let{formMethod:t,formAction:r,formEncType:n,text:a,formData:o,json:i}=e;if(!(!t||!r||!n)){if(a!=null)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:void 0,text:a};if(o!=null)return{formMethod:t,formAction:r,formEncType:n,formData:o,json:void 0,text:void 0};if(i!==void 0)return{formMethod:t,formAction:r,formEncType:n,formData:void 0,json:i,text:void 0}}}function NS(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function Ewe(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function ig(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function Nwe(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function nu(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function _we(e,t){try{let r=e.sessionStorage.getItem(iW);if(r){let n=JSON.parse(r);for(let[a,o]of Object.entries(n||{}))o&&Array.isArray(o)&&t.set(a,new Set(o||[]))}}catch(r){}}function Twe(e,t){if(t.size>0){let r={};for(let[n,a]of t)r[n]=[...a];try{e.sessionStorage.setItem(iW,JSON.stringify(r))}catch(n){Ff(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}/** * React Router v6.20.0 * * Copyright (c) Remix Software Inc. @@ -2009,7 +2009,7 @@ prismjs/prism.js: * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function V2(){return V2=Object.assign?Object.assign.bind():function(e){for(var t=1;t{i.current=!0}),p.useCallback(function(u,f){if(f===void 0&&(f={}),!i.current)return;if(typeof u=="number"){r.go(u);return}let h=Ok(u,JSON.parse(o),a,f.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:vc([t,h.pathname])),(f.replace?r.replace:r.push)(h,f.state,f)},[t,r,o,a,e])}const Pwe=p.createContext(null);function Mwe(e){let t=p.useContext(Ic).outlet;return t&&p.createElement(Pwe.Provider,{value:e},t)}function zk(e,t){let{relative:r}=t===void 0?{}:t,{matches:n}=p.useContext(Ic),{pathname:a}=al(),o=JSON.stringify(Ik(n));return p.useMemo(()=>Ok(e,JSON.parse(o),a,r==="path"),[e,o,a,r])}function Dwe(e,t,r){t0()||Tr(!1);let{navigator:n}=p.useContext(rh),{matches:a}=p.useContext(Ic),o=a[a.length-1],i=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=al(),f;if(t){var h;let g=typeof t=="string"?Lc(t):t;c==="/"||(h=g.pathname)!=null&&h.startsWith(c)||Tr(!1),f=g}else f=u;let m=f.pathname||"/",v=c==="/"?m:m.slice(c.length)||"/",S=kp(e,{pathname:v}),w=Owe(S&&S.map(g=>Object.assign({},g,{params:Object.assign({},i,g.params),pathname:vc([c,n.encodeLocation?n.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase==="/"?c:vc([c,n.encodeLocation?n.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),a,r);return t&&w?p.createElement($k.Provider,{value:{location:V2({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:es.Pop}},w):w}function Awe(){let e=Hwe(),t=nW(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},t),r?p.createElement("pre",{style:a},r):null,null)}const Rwe=p.createElement(Awe,null);class Lwe extends p.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error?p.createElement(Ic.Provider,{value:this.props.routeContext},p.createElement(uW.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Iwe(e){let{routeContext:t,match:r,children:n}=e,a=p.useContext(U1);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),p.createElement(Ic.Provider,{value:t},n)}function Owe(e,t,r){var n;if(t===void 0&&(t=[]),r===void 0&&(r=null),e==null){var a;if((a=r)!=null&&a.errors)e=r.matches;else return null}let o=e,i=(n=r)==null?void 0:n.errors;if(i!=null){let c=o.findIndex(u=>u.route.id&&(i==null?void 0:i[u.route.id]));c>=0||Tr(!1),o=o.slice(0,Math.min(o.length,c+1))}return o.reduceRight((c,u,f)=>{let h=u.route.id?i==null?void 0:i[u.route.id]:null,m=null;r&&(m=u.route.errorElement||Rwe);let v=t.concat(o.slice(0,f+1)),S=()=>{let w;return h?w=m:u.route.Component?w=p.createElement(u.route.Component,null):u.route.element?w=u.route.element:w=c,p.createElement(Iwe,{match:u,routeContext:{outlet:c,matches:v,isDataRoute:r!=null},children:w})};return r&&(u.route.ErrorBoundary||u.route.errorElement||f===0)?p.createElement(Lwe,{location:r.location,revalidation:r.revalidation,component:m,error:h,children:S(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):S()},null)}var fW=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(fW||{}),q2=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(q2||{});function $we(e){let t=p.useContext(U1);return t||Tr(!1),t}function zwe(e){let t=p.useContext(g_);return t||Tr(!1),t}function Fwe(e){let t=p.useContext(Ic);return t||Tr(!1),t}function hW(e){let t=Fwe(),r=t.matches[t.matches.length-1];return r.route.id||Tr(!1),r.route.id}function Hwe(){var e;let t=p.useContext(uW),r=zwe(q2.UseRouteError),n=hW(q2.UseRouteError);return t||((e=r.errors)==null?void 0:e[n])}function Bwe(){let{router:e}=$we(fW.UseNavigateStable),t=hW(q2.UseNavigateStable),r=p.useRef(!1);return dW(()=>{r.current=!0}),p.useCallback(function(a,o){o===void 0&&(o={}),r.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,V2({fromRouteId:t},o)))},[e,t])}function Uwe(e){let{to:t,replace:r,state:n,relative:a}=e;t0()||Tr(!1);let{matches:o}=p.useContext(Ic),{pathname:i}=al(),c=sa(),u=Ok(t,Ik(o),i,a==="path"),f=JSON.stringify(u);return p.useEffect(()=>c(JSON.parse(f),{replace:r,state:n,relative:a}),[c,f,a,r,n]),null}function v_(e){return Mwe(e.context)}function Wwe(e){let{basename:t="/",children:r=null,location:n,navigationType:a=es.Pop,navigator:o,static:i=!1}=e;t0()&&Tr(!1);let c=t.replace(/^\/*/,"/"),u=p.useMemo(()=>({basename:c,navigator:o,static:i}),[c,o,i]);typeof n=="string"&&(n=Lc(n));let{pathname:f="/",search:h="",hash:m="",state:v=null,key:S="default"}=n,w=p.useMemo(()=>{let g=sd(f,c);return g==null?null:{location:{pathname:g,search:h,hash:m,state:v,key:S},navigationType:a}},[c,f,h,m,v,S,a]);return w==null?null:p.createElement(rh.Provider,{value:u},p.createElement($k.Provider,{children:r,value:w}))}new Promise(()=>{});function Vwe(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:p.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:p.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + */function K2(){return K2=Object.assign?Object.assign.bind():function(e){for(var t=1;t{i.current=!0}),p.useCallback(function(u,f){if(f===void 0&&(f={}),!i.current)return;if(typeof u=="number"){r.go(u);return}let h=$k(u,JSON.parse(o),a,f.relative==="path");e==null&&t!=="/"&&(h.pathname=h.pathname==="/"?t:xc([t,h.pathname])),(f.replace?r.replace:r.push)(h,f.state,f)},[t,r,o,a,e])}const Dwe=p.createContext(null);function Awe(e){let t=p.useContext(Ic).outlet;return t&&p.createElement(Dwe.Provider,{value:e},t)}function Fk(e,t){let{relative:r}=t===void 0?{}:t,{matches:n}=p.useContext(Ic),{pathname:a}=ol(),o=JSON.stringify(Ok(n));return p.useMemo(()=>$k(e,JSON.parse(o),a,r==="path"),[e,o,a,r])}function Rwe(e,t,r){n0()||Tr(!1);let{navigator:n}=p.useContext(rh),{matches:a}=p.useContext(Ic),o=a[a.length-1],i=o?o.params:{};o&&o.pathname;let c=o?o.pathnameBase:"/";o&&o.route;let u=ol(),f;if(t){var h;let g=typeof t=="string"?Lc(t):t;c==="/"||(h=g.pathname)!=null&&h.startsWith(c)||Tr(!1),f=g}else f=u;let m=f.pathname||"/",v=c==="/"?m:m.slice(c.length)||"/",S=kp(e,{pathname:v}),w=zwe(S&&S.map(g=>Object.assign({},g,{params:Object.assign({},i,g.params),pathname:xc([c,n.encodeLocation?n.encodeLocation(g.pathname).pathname:g.pathname]),pathnameBase:g.pathnameBase==="/"?c:xc([c,n.encodeLocation?n.encodeLocation(g.pathnameBase).pathname:g.pathnameBase])})),a,r);return t&&w?p.createElement(zk.Provider,{value:{location:K2({pathname:"/",search:"",hash:"",state:null,key:"default"},f),navigationType:ts.Pop}},w):w}function Lwe(){let e=Uwe(),t=sW(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return p.createElement(p.Fragment,null,p.createElement("h2",null,"Unexpected Application Error!"),p.createElement("h3",{style:{fontStyle:"italic"}},t),r?p.createElement("pre",{style:a},r):null,null)}const Iwe=p.createElement(Lwe,null);class Owe extends p.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location||r.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error||r.error,location:r.location,revalidation:t.revalidation||r.revalidation}}componentDidCatch(t,r){console.error("React Router caught the following error during render",t,r)}render(){return this.state.error?p.createElement(Ic.Provider,{value:this.props.routeContext},p.createElement(dW.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function $we(e){let{routeContext:t,match:r,children:n}=e,a=p.useContext(V1);return a&&a.static&&a.staticContext&&(r.route.errorElement||r.route.ErrorBoundary)&&(a.staticContext._deepestRenderedBoundaryId=r.route.id),p.createElement(Ic.Provider,{value:t},n)}function zwe(e,t,r){var n;if(t===void 0&&(t=[]),r===void 0&&(r=null),e==null){var a;if((a=r)!=null&&a.errors)e=r.matches;else return null}let o=e,i=(n=r)==null?void 0:n.errors;if(i!=null){let c=o.findIndex(u=>u.route.id&&(i==null?void 0:i[u.route.id]));c>=0||Tr(!1),o=o.slice(0,Math.min(o.length,c+1))}return o.reduceRight((c,u,f)=>{let h=u.route.id?i==null?void 0:i[u.route.id]:null,m=null;r&&(m=u.route.errorElement||Iwe);let v=t.concat(o.slice(0,f+1)),S=()=>{let w;return h?w=m:u.route.Component?w=p.createElement(u.route.Component,null):u.route.element?w=u.route.element:w=c,p.createElement($we,{match:u,routeContext:{outlet:c,matches:v,isDataRoute:r!=null},children:w})};return r&&(u.route.ErrorBoundary||u.route.errorElement||f===0)?p.createElement(Owe,{location:r.location,revalidation:r.revalidation,component:m,error:h,children:S(),routeContext:{outlet:null,matches:v,isDataRoute:!0}}):S()},null)}var hW=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(hW||{}),G2=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(G2||{});function Fwe(e){let t=p.useContext(V1);return t||Tr(!1),t}function Hwe(e){let t=p.useContext(v_);return t||Tr(!1),t}function Bwe(e){let t=p.useContext(Ic);return t||Tr(!1),t}function pW(e){let t=Bwe(),r=t.matches[t.matches.length-1];return r.route.id||Tr(!1),r.route.id}function Uwe(){var e;let t=p.useContext(dW),r=Hwe(G2.UseRouteError),n=pW(G2.UseRouteError);return t||((e=r.errors)==null?void 0:e[n])}function Wwe(){let{router:e}=Fwe(hW.UseNavigateStable),t=pW(G2.UseNavigateStable),r=p.useRef(!1);return fW(()=>{r.current=!0}),p.useCallback(function(a,o){o===void 0&&(o={}),r.current&&(typeof a=="number"?e.navigate(a):e.navigate(a,K2({fromRouteId:t},o)))},[e,t])}function Vwe(e){let{to:t,replace:r,state:n,relative:a}=e;n0()||Tr(!1);let{matches:o}=p.useContext(Ic),{pathname:i}=ol(),c=sa(),u=$k(t,Ok(o),i,a==="path"),f=JSON.stringify(u);return p.useEffect(()=>c(JSON.parse(f),{replace:r,state:n,relative:a}),[c,f,a,r,n]),null}function x_(e){return Awe(e.context)}function qwe(e){let{basename:t="/",children:r=null,location:n,navigationType:a=ts.Pop,navigator:o,static:i=!1}=e;n0()&&Tr(!1);let c=t.replace(/^\/*/,"/"),u=p.useMemo(()=>({basename:c,navigator:o,static:i}),[c,o,i]);typeof n=="string"&&(n=Lc(n));let{pathname:f="/",search:h="",hash:m="",state:v=null,key:S="default"}=n,w=p.useMemo(()=>{let g=sd(f,c);return g==null?null:{location:{pathname:g,search:h,hash:m,state:v,key:S},navigationType:a}},[c,f,h,m,v,S,a]);return w==null?null:p.createElement(rh.Provider,{value:u},p.createElement(zk.Provider,{children:r,value:w}))}new Promise(()=>{});function Kwe(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:p.createElement(e.Component),Component:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:p.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** * React Router DOM v6.20.0 * * Copyright (c) Remix Software Inc. @@ -2018,4 +2018,4 @@ prismjs/prism.js: * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function jm(){return jm=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}function qwe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Kwe(e,t){return e.button===0&&(!t||t==="_self")&&!qwe(e)}const Gwe=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Ywe=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"];function Zwe(e,t){return mwe({basename:t==null?void 0:t.basename,future:jm({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:$2e({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||Xwe(),routes:e,mapRouteProperties:Vwe,window:t==null?void 0:t.window}).initialize()}function Xwe(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=jm({},t,{errors:Qwe(t.errors)})),t}function Qwe(e){if(!e)return null;let t=Object.entries(e),r={};for(let[n,a]of t)if(a&&a.__type==="RouteErrorResponse")r[n]=new p_(a.status,a.statusText,a.data,a.internal===!0);else if(a&&a.__type==="Error"){if(a.__subType){let o=window[a.__subType];if(typeof o=="function")try{let i=new o(a.message);i.stack="",r[n]=i}catch(i){}}if(r[n]==null){let o=new Error(a.message);o.stack="",r[n]=o}}else r[n]=a;return r}const mW=p.createContext({isTransitioning:!1}),Jwe=p.createContext(new Map),eke="startTransition",vA=cw[eke],tke="flushSync",xA=HX[tke];function rke(e){vA?vA(e):e()}function og(e){xA?xA(e):e()}class nke{constructor(){this.status="pending",this.promise=new Promise((t,r)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",t(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",r(n))}})}}function ske(e){let{fallbackElement:t,router:r,future:n}=e,[a,o]=p.useState(r.state),[i,c]=p.useState(),[u,f]=p.useState({isTransitioning:!1}),[h,m]=p.useState(),[v,S]=p.useState(),[w,g]=p.useState(),b=p.useRef(new Map),{v7_startTransition:C}=n||{},j=p.useCallback(M=>{C?rke(M):M()},[C]),E=p.useCallback((M,D)=>{let{deletedFetchers:L,unstable_flushSync:z,unstable_viewTransitionOpts:H}=D;L.forEach(I=>b.current.delete(I)),M.fetchers.forEach((I,q)=>{I.data!==void 0&&b.current.set(q,I.data)});let V=r.window==null||typeof r.window.document.startViewTransition!="function";if(!H||V){z?og(()=>o(M)):j(()=>o(M));return}if(z){og(()=>{v&&(h&&h.resolve(),v.skipTransition()),f({isTransitioning:!0,flushSync:!0,currentLocation:H.currentLocation,nextLocation:H.nextLocation})});let I=r.window.document.startViewTransition(()=>{og(()=>o(M))});I.finished.finally(()=>{og(()=>{m(void 0),S(void 0),c(void 0),f({isTransitioning:!1})})}),og(()=>S(I));return}v?(h&&h.resolve(),v.skipTransition(),g({state:M,currentLocation:H.currentLocation,nextLocation:H.nextLocation})):(c(M),f({isTransitioning:!0,flushSync:!1,currentLocation:H.currentLocation,nextLocation:H.nextLocation}))},[r.window,v,h,b,j]);p.useLayoutEffect(()=>r.subscribe(E),[r,E]),p.useEffect(()=>{u.isTransitioning&&!u.flushSync&&m(new nke)},[u]),p.useEffect(()=>{if(h&&i&&r.window){let M=i,D=h.promise,L=r.window.document.startViewTransition(()=>pe(this,null,function*(){j(()=>o(M)),yield D}));L.finished.finally(()=>{m(void 0),S(void 0),c(void 0),f({isTransitioning:!1})}),S(L)}},[j,i,h,r.window]),p.useEffect(()=>{h&&i&&a.location.key===i.location.key&&h.resolve()},[h,v,a.location,i]),p.useEffect(()=>{!u.isTransitioning&&w&&(c(w.state),f({isTransitioning:!0,flushSync:!1,currentLocation:w.currentLocation,nextLocation:w.nextLocation}),g(void 0))},[u.isTransitioning,w]);let N=p.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:M=>r.navigate(M),push:(M,D,L)=>r.navigate(M,{state:D,preventScrollReset:L==null?void 0:L.preventScrollReset}),replace:(M,D,L)=>r.navigate(M,{replace:!0,state:D,preventScrollReset:L==null?void 0:L.preventScrollReset})}),[r]),T=r.basename||"/",A=p.useMemo(()=>({router:r,navigator:N,static:!1,basename:T}),[r,N,T]);return p.createElement(p.Fragment,null,p.createElement(U1.Provider,{value:A},p.createElement(g_.Provider,{value:a},p.createElement(Jwe.Provider,{value:b.current},p.createElement(mW.Provider,{value:u},p.createElement(Wwe,{basename:T,location:a.location,navigationType:a.historyAction,navigator:N},a.initialized?p.createElement(ake,{routes:r.routes,state:a}):t))))),null)}function ake(e){let{routes:t,state:r}=e;return Dwe(t,void 0,r)}const oke=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",ike=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Pc=p.forwardRef(function(t,r){let{onClick:n,relative:a,reloadDocument:o,replace:i,state:c,target:u,to:f,preventScrollReset:h,unstable_viewTransition:m}=t,v=pW(t,Gwe),{basename:S}=p.useContext(rh),w,g=!1;if(typeof f=="string"&&ike.test(f)&&(w=f,oke))try{let E=new URL(window.location.href),N=f.startsWith("//")?new URL(E.protocol+f):new URL(f),T=sd(N.pathname,S);N.origin===E.origin&&T!=null?f=T+N.search+N.hash:g=!0}catch(E){}let b=_we(f,{relative:a}),C=cke(f,{replace:i,state:c,target:u,preventScrollReset:h,relative:a,unstable_viewTransition:m});function j(E){n&&n(E),E.defaultPrevented||C(E)}return p.createElement("a",jm({},v,{href:w||b,onClick:g||o?n:j,ref:r,target:u}))}),Fh=p.forwardRef(function(t,r){let{"aria-current":n="page",caseSensitive:a=!1,className:o="",end:i=!1,style:c,to:u,unstable_viewTransition:f,children:h}=t,m=pW(t,Ywe),v=zk(u,{relative:m.relative}),S=al(),w=p.useContext(g_),{navigator:g}=p.useContext(rh),b=w!=null&&uke(v)&&f===!0,C=g.encodeLocation?g.encodeLocation(v).pathname:v.pathname,j=S.pathname,E=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;a||(j=j.toLowerCase(),E=E?E.toLowerCase():null,C=C.toLowerCase());const N=C!=="/"&&C.endsWith("/")?C.length-1:C.length;let T=j===C||!i&&j.startsWith(C)&&j.charAt(N)==="/",A=E!=null&&(E===C||!i&&E.startsWith(C)&&E.charAt(C.length)==="/"),M={isActive:T,isPending:A,isTransitioning:b},D=T?n:void 0,L;typeof o=="function"?L=o(M):L=[o,T?"active":null,A?"pending":null,b?"transitioning":null].filter(Boolean).join(" ");let z=typeof c=="function"?c(M):c;return p.createElement(Pc,jm({},m,{"aria-current":D,className:L,ref:r,style:z,to:u,unstable_viewTransition:f}),typeof h=="function"?h(M):h)});var $j;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})($j||($j={}));var yA;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(yA||(yA={}));function lke(e){let t=p.useContext(U1);return t||Tr(!1),t}function cke(e,t){let{target:r,replace:n,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:c}=t===void 0?{}:t,u=sa(),f=al(),h=zk(e,{relative:i});return p.useCallback(m=>{if(Kwe(m,r)){m.preventDefault();let v=n!==void 0?n:Hf(f)===Hf(h);u(e,{replace:v,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:c})}},[f,u,h,n,a,r,e,o,i,c])}function uke(e,t){t===void 0&&(t={});let r=p.useContext(mW);r==null&&Tr(!1);let{basename:n}=lke($j.useViewTransitionState),a=zk(e,{relative:t.relative});if(!r.isTransitioning)return!1;let o=sd(r.currentLocation.pathname,n)||r.currentLocation.pathname,i=sd(r.nextLocation.pathname,n)||r.nextLocation.pathname;return Rj(a.pathname,i)!=null||Rj(a.pathname,o)!=null}function dke({itemId:e,setShowDetails:t,isLargeView:r,isShowDetails:n,isSelected:a,isPinned:o,isMenu:i,icon:c,iconVisibility:u,isPinnedBoard:f,isFavorite:h,boardId:m,tabId:v,setSelectedItemId:S}){const{t:w}=At(),{updateMovedClips:g}=hk(),{duplicateItem:b}=Ege(),{deleteItemById:C}=mk(),{updateItemById:j}=sl(),{updatePinnedClipsByIds:E}=TB(),{setIsShowPinned:N,isShowPinned:T}=ft(Es),{createNewItem:A}=pk(),M=sa(),{clipItems:D,tabs:L,currentTab:z,setCurrentTab:H,currentCollectionId:V}=ft(Tn),I=p.useCallback(()=>os(D,z).filter(Y=>Y.id!==e),[D,z,e]),q=p.useCallback(()=>os(D,z,m==null?void 0:m.toString()).filter(Y=>Y.id!==e).sort((Y,B)=>Y.orderNumber-B.orderNumber),[D,z,e,m]),_=function(Y,B=!1){return pe(this,null,function*(){var se,re;if(!V||!Y||!m)return;const F=Y.toString(),G=os(D,F);let X=(se=G.find(ie=>ie.name===w("Moved Clips Panel",{ns:"dashboard"})))==null?void 0:se.id;if(!X){const ie=(re=L.find(le=>le.tabId===F))==null?void 0:re.tabColor,oe={name:w("Moved Clips Panel",{ns:"dashboard"}),isBoard:!0,tabId:F,color:ie,description:w("Panel for moved or copied items from other tabs",{ns:"dashboard"}),parentId:null,collectionId:V,orderNumber:0},ae=yield A({item:oe});G.sort((le,ue)=>le.orderNumber-ue.orderNumber).unshift(ee(R({},oe),{id:ae,layout:"",type:"board",color:null,showDescription:!0,layoutItemsMaxWidth:"",layoutSplit:1}));const fe=G.map((le,ue)=>({itemId:le.id,parentId:null,tabId:le.tabId,collectionId:V,orderNumber:ue}));g({updatedMoveClips:fe}),X=ae}if(X){const ie=X.toString(),oe=B?e:yield b({itemId:e,boardId:ie,tabId:F,collectionId:V});Wu.value=ie;const ae=os(D,F.toString(),ie==null?void 0:ie.toString());ae.sort((le,ue)=>le.orderNumber-ue.orderNumber).unshift({parentId:ie,tabId:F,id:oe,type:"clip",orderNumber:0,createdAt:0,value:"",name:""});const fe=ae.map((le,ue)=>({itemId:le.id,parentId:le.parentId,tabId:le.tabId,collectionId:V,orderNumber:ue}));H(F),B?yield g({updatedMoveClips:fe}):setTimeout(()=>pe(this,null,function*(){yield g({updatedMoveClips:fe}),La.value=oe}),300)}})},$=function(Y,B=!1){return pe(this,null,function*(){if(!V||!Y)return;const F=Y.toString(),G=z.toString(),X=B?e:yield b({itemId:e,boardId:F,tabId:G,collectionId:V});Wu.value=F;const se=os(D,G.toString(),F==null?void 0:F.toString());se.sort((ie,oe)=>ie.orderNumber-oe.orderNumber).unshift({parentId:F,tabId:G,id:X,type:"clip",orderNumber:0,createdAt:0,value:"",name:""});const re=se.map((ie,oe)=>({itemId:ie.id,parentId:ie.parentId,tabId:ie.tabId,collectionId:V,orderNumber:oe}));H(G),B?yield g({updatedMoveClips:re}):setTimeout(()=>pe(this,null,function*(){yield g({updatedMoveClips:re}),La.value=X}),300)})},U=function(se){return pe(this,arguments,function*({isLast:Y,isFirst:B,isAfterItemId:F,moveUp:G,moveDown:X}){const re=z.toString(),ie=os(D,re,m==null?void 0:m.toString()).sort((le,ue)=>le.orderNumber-ue.orderNumber),oe=ie.findIndex(le=>le.id===e);if(oe===-1)return;let ae;if(G)ae=Math.max(0,oe-1);else if(X)ae=Math.min(ie.length-1,oe+1);else if(F){const le=ie.findIndex(ue=>ue.id===F);if(le===-1)return;ae=oe>le?le+1:le}else ae=B?0:Y?ie.length:0;const fe=zn(ie,oe,ae);if(fe&&fe.length){const le=fe.map((ue,be)=>({itemId:ue.id,parentId:ue.parentId,tabId:ue.tabId,collectionId:V,orderNumber:be}));yield g({updatedMoveClips:le})}})},K=p.memo(({board:Y,itemId:B,level:F,onSelect:G})=>{var X;return"isBoard"in Y&&F<1&&((X=Y.children)!=null&&X.some(se=>"isBoard"in se&&se.isBoard&&se.id!==B))?s.jsxs(In,{children:[s.jsx(Mn,{onClick:()=>{G(Y.id)},children:s.jsx("span",{className:"capitalize !block max-w-md overflow-hidden text-ellipsis whitespace-nowrap",children:Y.name})}),s.jsx(Dn,{children:Y.children.filter(se=>se.id!==B).filter(se=>se.type===Hs).map(se=>s.jsx(K,{board:se,itemId:B,level:F+1,onSelect:G},se.id))})]}):s.jsx(St,{onSelect:()=>{G(Y.id)},children:s.jsx("span",{className:"capitalize !block max-w-md overflow-hidden text-ellipsis whitespace-nowrap",children:Y.name})},Y.id)});return e==null?null:s.jsx(D1,{children:s.jsxs(Zm,{children:[r?s.jsxs(s.Fragment,{children:[s.jsxs(St,{onClick:()=>{Is.value=null},children:[w("Close",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Tv,{size:14})})]}),s.jsx(zr,{})]}):s.jsxs(s.Fragment,{children:[n?s.jsxs(St,{onClick:()=>{t(null)},children:[w("Close",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Ple,{size:15})})]}):s.jsxs(St,{onClick:()=>{t(e)},children:[w("Open",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Mle,{size:15})})]}),Is.value!==e?s.jsxs(St,{onClick:()=>{Is.value=e},children:[w("View",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(b1,{size:14})})]}):s.jsxs(St,{onClick:()=>{Is.value=null},children:[w("Close",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Tv,{size:14})})]}),a?s.jsxs(St,{onClick:()=>{S(e)},children:[w("Deselect",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Kae,{size:15})})]}):s.jsxs(St,{onClick:()=>{S(e)},children:[w("Select",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(mz,{size:15})})]}),s.jsx(zr,{})]}),ks.value!==e?s.jsxs(St,{className:"gap-2",onClick:()=>{gu.value=null,ks.value=e},children:[w("Edit Clip",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(h2,{size:15})})]}):s.jsxs(St,{onClick:()=>{ks.value=null,gu.value=null},children:[w("Close Edit",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(h2,{size:15,className:"ml-1"})})]}),gu.value!==e?s.jsxs(St,{className:"gap-2",onClick:()=>{ks.value=null,gu.value=e},children:[w("Rename",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Xu,{size:13})})]}):s.jsxs(St,{onClick:()=>{ks.value=null,gu.value=null},children:[w("Close Rename",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Xu,{size:13,className:"ml-1"})})]}),s.jsx(zr,{}),f?s.jsxs(St,{onClick:()=>{E({itemIds:[e],isPinned:!1})},children:[w("UnPin Clip",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Vu,{size:15})})]}):s.jsx(s.Fragment,{children:o?s.jsxs(St,{onClick:()=>{E({itemIds:[e],isPinned:!1})},children:[w("UnPin Clip",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Vu,{size:15})})]}):s.jsxs(St,{onClick:()=>{!o&&!T&&N(!0),E({itemIds:[e],isPinned:!0})},children:[w("Pin",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(kc,{size:15})})]})}),h?s.jsxs(St,{onClick:()=>{j({updatedItem:{isFavorite:!1,itemId:e}})},children:[w("Remove Star",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Hw,{size:15,className:"fill-transparent"})})]}):s.jsxs(St,{onClick:()=>{j({updatedItem:{isFavorite:!0,itemId:e}})},children:[w("Star",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Yf,{size:15,className:"fill-transparent"})})]}),s.jsx(zr,{}),i?s.jsxs(St,{onClick:()=>{M("/menu",{replace:!0}),setTimeout(()=>{vu.value=e.toString()},300)},children:[w("Locate Menu",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(zw,{size:15})})]}):s.jsxs(St,{onClick:()=>{M("/menu",{replace:!0}),setTimeout(()=>{Id.value=e,ro.value=!0},300)},children:[w("Add to Menu",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(F6,{size:15})})]}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("Manage",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsxs(St,{onClick:()=>pe(this,null,function*(){if(!V||!v||!m)return;const Y=yield b({itemId:e,boardId:m,tabId:v,collectionId:V});Wu.value=m;const B=os(D,v.toString(),m==null?void 0:m.toString());B.sort((G,X)=>G.orderNumber-X.orderNumber).unshift({parentId:m,tabId:v,id:Y,type:"clip",orderNumber:0,createdAt:0,value:"",name:w("Copy Clip",{ns:"dashboard"})});const F=B.map((G,X)=>({itemId:G.id,parentId:G.parentId,tabId:G.tabId,collectionId:V,orderNumber:X}));setTimeout(()=>pe(this,null,function*(){yield g({updatedMoveClips:F}),La.value=Y}),600)}),children:[w("Duplicate",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(M6,{size:15})})]}),s.jsxs(St,{onClick:()=>{qi.value=m},children:[w("Organize",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Fw,{size:15,className:"fill-transparent"})})]}),s.jsx(zr,{}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("Position",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsxs(St,{onClick:()=>{U({moveUp:!0})},children:[w("Up",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(hz,{size:15,className:"fill-transparent"})})]}),s.jsxs(St,{onClick:()=>{U({moveDown:!0})},children:[w("Down",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(dz,{size:15,className:"fill-transparent"})})]}),s.jsx(zr,{}),q().length>0&&s.jsxs(s.Fragment,{children:[s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("After",{ns:"contextMenus"}),"..."]}),s.jsx(Dn,{children:q().map(Y=>s.jsx(K,{board:Y,level:0,itemId:e,onSelect:B=>{U({isAfterItemId:B})}},Y.id))})]}),s.jsx(zr,{})]}),s.jsxs(St,{onClick:()=>{U({isFirst:!0})},children:[w("Start",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Ow,{size:15,className:"fill-transparent"})})]}),s.jsxs(St,{onClick:()=>{U({isLast:!0})},children:[w("End",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Df,{size:15,className:"fill-transparent"})})]})]})]}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("Copy To",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("CopyTo:::Tab",{ns:"contextMenus"}),"..."]}),s.jsx(Dn,{children:L.map(({tabId:Y,tabName:B,tabOrderNumber:F})=>s.jsx(St,{onSelect:()=>{_(Y)},children:z===Y?s.jsx(J,{className:"font-semibold capitalize",children:B||"".concat(w("Tab",{ns:"dashboard"})," ").concat(F+1)}):s.jsx("span",{className:"capitalize",children:B||"".concat(w("Tab",{ns:"dashboard"})," ").concat(F+1)})},Y))})]}),os(D,z).filter(Y=>Y.id!==e).length>0&&s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("CopyTo:::Board",{ns:"contextMenus"}),"..."]}),s.jsx(Dn,{children:I().map(Y=>s.jsx(K,{board:Y,level:0,itemId:e,onSelect:B=>{$(B)}},Y.id))})]})]})]}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("Move To",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("CopyTo:::Tab",{ns:"contextMenus"}),"..."]}),s.jsx(Dn,{children:L.map(({tabId:Y,tabName:B,tabOrderNumber:F})=>s.jsx(St,{onSelect:()=>{_(Y,!0)},children:z===Y?s.jsx(J,{className:"font-semibold capitalize",children:B||"".concat(w("Tab",{ns:"dashboard"})," ").concat(F+1)}):s.jsx("span",{className:"capitalize",children:B||"".concat(w("Tab",{ns:"dashboard"})," ").concat(F+1)})},Y))})]}),os(D,z).filter(Y=>Y.id!==e).length>0&&s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("CopyTo:::Board",{ns:"contextMenus"}),"..."]}),s.jsx(Dn,{children:I().map(Y=>s.jsx(K,{board:Y,level:0,itemId:e,onSelect:B=>{$(B,!0)}},Y.id))})]})]})]}),s.jsx(zr,{}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("Clip Icon",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsx(St,{disabled:!0,className:"text-center items-center justify-center py-0.5",children:s.jsx(J,{children:w("Icon Visibility",{ns:"contextMenus"})})}),s.jsx(zr,{}),s.jsx($i,{checked:u==="none",onSelect:()=>{j({updatedItem:{iconVisibility:"none",itemId:e}})},className:u==="none"?"font-semibold":"",children:w("Hide",{ns:"contextMenus"})}),s.jsx($i,{checked:u==="always",onSelect:()=>{j({updatedItem:{iconVisibility:"always",itemId:e}})},className:u==="always"?"font-semibold":"",children:w("Show",{ns:"contextMenus"})}),s.jsxs(In,{children:[s.jsxs(Mn,{className:"flex items-center justify-center",children:[c?s.jsx(Sm,{size:16,className:"ml-1 mr-2",name:c}):s.jsx(_6,{size:16,className:"ml-1 mr-2 opacity-30"}),w("Custom Icon",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{className:"w-64",children:[s.jsxs(St,{disabled:!0,className:"text-center items-center justify-between py-0.5 data-[disabled]:pointer-events-auto",children:[s.jsx(Q,{className:"w-6"}),s.jsx(J,{children:w("Select Icon",{ns:"contextMenus"})}),s.jsx(ye,{className:"text-[11px] px-1.5 font-semibold py-0.5 bg-opacity-70",variant:"default",size:"mini",onClick:()=>{j({updatedItem:{icon:"",iconVisibility:"",itemId:e}})},children:w("RESET",{ns:"contextMenus"})})]}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:s.jsx(me,{className:"grid grid-cols-7 gap-0.5",children:h_.map(Y=>s.jsx(St,{className:"flex items-center justify-center ".concat(c===Y?"!bg-gray-200 dark:!bg-gray-600 dark:!text-slate-300":""),onSelect:B=>{B.preventDefault(),j({updatedItem:{icon:Y,iconVisibility:"always",itemId:e}})},children:s.jsx(Sm,{name:Y,size:16})},Y))})})]})]})]})]})]})]}),f?s.jsxs(St,{onClick:()=>{E({itemIds:[e],isPinned:!1})},children:[s.jsx(J,{className:"!text-orange-600",children:w("UnPin Clip",{ns:"contextMenus"})}),s.jsx("div",{className:"ml-auto ",children:s.jsx(Vu,{size:15,className:"!text-orange-600"})})]}):s.jsxs(St,{className:Jo.value===e?"!bg-red-100 dark:!bg-red-900":"",onClick:Y=>{Jo.value===e?(C({itemId:e,collectionId:V}),r&&setTimeout(()=>{Is.value=null},300),Jo.value):(Y.preventDefault(),Jo.value=e,setTimeout(()=>{Jo.value=null},3e3))},children:[s.jsx(me,{children:s.jsx(J,{className:"!text-red-500",children:Jo.value!==e?w("Delete Clip",{ns:"contextMenus"}):w("Click to Confirm",{ns:"common"})})}),!Jo.value&&s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(xn,{size:15,className:"text-red-500"})})]})]})})}const NS=["Tab","Enter","TabTab","TabTabTab","TabEnter","TabTabEnter"];function gW({clip:e,boardColor:t,globalSearchTerm:r,isGlobalSearchBoardsOnly:n,isDragPreview:a,isClipNotesHoverCardsEnabled:o,clipNotesHoverCardsDelayMS:i,clipNotesMaxWidth:c,clipNotesMaxHeight:u,isSelected:f,selectedOrder:h,isShowDetails:m,canReorangeItems:v,isClipDelete:S,isHistoryDragActive:w,isClipEdit:g,isClipNameEditing:b,isPinnedBoard:C,isLargeView:j,isShowOrganizeLayoutValue:E,isDisabledPinnedMoveDown:N,isDisabledPinnedMoveUp:T,isDark:A,closeGlobalSearch:M,onMovePinnedUpDown:D=({})=>{},setShowDetailsItem:L=()=>{},setSelectedItemId:z=()=>{}}){var vr,pr,Wr,Le,Mt,Ze,mr,Se,je,we;const{t:H}=At(),V=We(!1),I=We(!1),q=We(!1),_=We(""),{updateItemById:$}=sl(),U=Uxe(),[K,Y,B,F]=Qf({}),[G,X,se]=Jf({}),re=mo(_.value,300),ie=p.useRef(null),oe=p.useRef(null),ae=(E||v)&&!C,{setNodeRef:fe,listeners:le,isDragging:ue,setActivatorNodeRef:be,isOver:Ce}=Rw({transition:null,disabled:!!(ae&&g&&b)||a||!1,id:C?"".concat(e.id,"::pinnedzone"):g?"".concat(e.id,"::dropzone"):e.id,animateLayoutChanges:()=>!1,data:{type:g?"clip::dropzone":"clip",clip:e}}),Pe=r&&!n?El(e.name,r):e.name,Ee=S||Kl.value&&f,Oe=K===e.id,Ve=G===e.id,ct=F===e.id,gt=G===e.id?X:void 0,Ke=m&&!C&&Ii.value===e.id,Et=e.createdAt>Math.floor(Date.now())-60*1e3&&!e.isPinned&&!e.isFavorite,Re=e.color?e.color:t||(C?"orange":"slate"),xt=e.borderWidth&&e.borderWidth>0,ot=xt?e.borderWidth:1,pt=xt?"border-l-".concat(Re,"-400 hover:!border-l-").concat(Re,"-500 dark:border-l-").concat(Re,"-600 dark:hover:!border-l-").concat(Re,"-500"):"",_t=cd("relative clip_tour overflow-hidden p-[2px] px-0 hover:shadow-sm !rounded-lg duration-300 bg-".concat(Re,"-50 dark:bg-").concat(Re,"-950 dark:bg-opacity-80 border-").concat(Re,"-200 dark:border-").concat(Re,"-900 ").concat(pt," hover:bg-white dark:hover:bg-").concat(Re,"-950 dark:hover:bg-opacity-60 ").concat(xt?"border border-l-[".concat(ot,"px] "):"border-0"," ").concat(g?"bg-white":""," ").concat(f?"bg-yellow-50 dark:bg-amber-950/80 border-amber-300 hover:border-yellow-300/80 hover:bg-yellow-50/80 dark:hover:bg-yellow-950/80":""," h-full ").concat(Ee?"border-red-300 bg-red-100 border hover:!bg-red-100 dark:!bg-red-900 border-l-[".concat(ot,"px] "):"").concat(Oe||Ve?"!border-green-600 !bg-green-50 dark:!bg-green-900 dark:!border-green-700":""," ").concat(C&&!E?"animate-in fade-in":""," ").concat(Ke?"pulse-clip":""," "),{variants:{dragging:{over:"border-2 border-dashed border-blue-400 min-w-[120px]",overlay:"opacity-80 ml-[-2px] mt-[1px] min-w-[120px]"}}});p.useEffect(()=>{var Fe,nt,rt,Ie,$e,Ye;!ae&&Zx.value?(Zx.value=null,I5.value=null):ue&&(Zx.value=(rt=(nt=(Fe=oe==null?void 0:oe.current)==null?void 0:Fe.firstElementChild)==null?void 0:nt.getBoundingClientRect().height)!=null?rt:null,I5.value=(Ye=($e=(Ie=oe==null?void 0:oe.current)==null?void 0:Ie.firstElementChild)==null?void 0:$e.getBoundingClientRect().width)!=null?Ye:null)},[ue,ae]);const ht=p.useMemo(()=>"".concat(e.id,":::").concat(C?"pinned":e.parentId),[e.id,C,e.parentId]),It=xg.value===ht||E||v||ct,Ft=!g&&!I&&(Et||e.isPinned||e.isFavorite)?"".concat(Et?H("New",{ns:"common"}):""," ").concat(e.isPinned?H("Pinned",{ns:"common"}):""," ").concat(e.isFavorite?H("Starred",{ns:"common"}):""):void 0,Vt=p.useMemo(()=>{if(!e.links)return[];if(e.links)try{e.arrLinks=JSON.parse(e.links)}catch(Fe){e.arrLinks=[]}return e.arrLinks},[e.isLink,e.links]);p.useEffect(()=>{I.value=!1,q.value=!1},[m]),p.useEffect(()=>{q.value||(_.value="")},[q.value]),p.useEffect(()=>{!m||!Vd.value||(Vd.value&&m&&!q.value?q.value=!0:Vd.value&&_.value.trim()===""&&(q.value=!1))},[Vd.value]);const Ge=b||g,Zt=q.value||Ge||E||v,nr=p.useMemo(()=>!!(e.description&&!a&&o&&!Ge),[e.description,a,o,Ge]);return s.jsxs(Gm,{onOpenChange:Fe=>{V.value=Fe},children:[s.jsx(Ym,{disabled:!It&&!f||!!r,ref:oe,children:s.jsxs(Q,{className:"relative",children:[f&&!(Oe||Ve)&&s.jsx(lt,{variant:"outline",className:"bg-yellow-50 fade-in animate-in border-amber-300 dark:bg-amber-900 dark:border-amber-950/80 border cursor-pointer px-1.5 py-[1px] absolute top-[-10px] left-[-4px] z-100",children:s.jsx(J,{className:"font-mono !text-yellow-500 dark:!text-yellow-300 font-semibold",children:h})}),(Oe||Ve)&&!gt?s.jsx(Q,{className:"z-100 w-full flex justify-center fade-in-animation absolute top-[-10px]",children:e.isForm?s.jsxs(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 py-[1.5px] mr-[-6px] text-[10px] uppercase font-semibold border-0",children:[H("Running",{ns:"common"}),"..."]}):s.jsxs(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 py-[1.5px] pr-4 mr-[-6px] text-[10px] uppercase font-semibold border-0",children:[s.jsx($t,{size:14,className:"mr-1"}),Oe?H("Copied",{ns:"common"}):Ve?H("Pasted",{ns:"common"}):""]})}):gt&&X>0&&s.jsx(Q,{className:"z-100 w-full flex justify-center fade-in-animation absolute top-[-10px]",children:e.isForm?s.jsx(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-3 py-[1.5px] pr-4 mr-[-6px] text-[10px] font-semibold border-0",children:H("Run in {{pastingCountDown}}...",{ns:"common",pastingCountDown:X})}):s.jsx(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-3 py-[1.5px] pr-4 mr-[-6px] text-[10px] font-semibold border-0",children:H("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:X})})}),s.jsxs(s_,{ref:Ji(ae||g?fe:null),style:a?{height:(vr=Zx.value)!=null?vr:"auto",width:(pr=I5.value)!=null?pr:"auto"}:{},onMouseEnter:()=>{xg.value=ht},onMouseLeave:()=>{xg.value=null},onClick:()=>{xg.value=ht},className:_t({dragging:a?"overlay":ue?"over":void 0}),children:[s.jsxs(x1e,ee(R(ee(R({title:Ft},U(()=>{g||m||C||(qi.value=e.parentId)})),{onClickCapture:Fe=>{if(Fe.shiftKey){if(Fe.preventDefault(),Fe.stopPropagation(),E||v)return;m?Is.value===e.id?Is.value=null:L(null):L(e.id)}},onDoubleClickCapture:Fe=>{if(Zt||Fe.shiftKey){Fe.preventDefault();return}if(Fe.altKey||Fe.metaKey){if(e.isForm){se(e.id,void 0,!0);return}se(e.id)}else Y(e.id)},className:"overflow-hidden px-2.5 pr-1 py-1 break-words whitespace-pre-wrap flex gap-2 items-center justify-start flex-row ".concat(ae?"cursor-grab":"cursor-pointer"," ").concat(j?"min-h-[30px]":"")}),ae?le:{}),{children:[g?s.jsx(VD,{clipId:e.id,name:e.name,isLargeView:j,description:(Mt=e.description)!=null?Mt:null,color:Re,borderWidth:e.borderWidth?e.borderWidth:0}):q.value&&((Wr=e.value)!=null&&Wr.trim())?s.jsxs(me,{className:"w-full text-sm",children:[s.jsx(Qu,{placeholder:"".concat(H("Find in clip",{ns:"dashboard"})," ..."),autoFocus:!0,onKeyDown:Fe=>{Fe.key==="Escape"&&_.value.trim()===""&&(q.value=!1)},iconLeft:s.jsx(mm,{className:"h-4 w-4"}),classNameInput:"w-full px-[6px] h-6",onChange:Fe=>{_.value=Fe.target.value},className:"text-md ring-offset-0 pl-[6px] pr-[6px] bg-slate-100 dark:bg-slate-700 border-r-0 border-t-0 border-b-0 h-8",type:"search"}),s.jsx(un,{className:"hover:bg-transparent text-slate-500 ml-1.5",children:s.jsx(Be,{text:H("Close Find",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(wr,{size:18,onClick:()=>{q.value=!1}})})})]}):s.jsx("div",{className:"text-slate-600 dark:text-slate-300 text-sm line-clamp-3 text-ellipsis ".concat(Et?"font-semibold":"font-normal"," ").concat(Ge||Et?"w-full":""),children:b?s.jsx(VD,{clipId:e.id,name:e.name,isEditOnly:!0,isLargeView:j,description:(Le=e.description)!=null?Le:null,color:Re,borderWidth:e.borderWidth?e.borderWidth:0}):s.jsxs(z2,{text:e.description,isDisabled:!nr,side:"right",isDark:A,delayDuration:i,align:"end",classNameTrigger:"inline-flex items-start",sideOffset:10,maxWidth:c,maxHeight:u,asChild:!0,children:[Vt&&Vt.length===1&&e.isLink?s.jsx("span",{onClick:Fe=>{if(Fe.shiftKey||Zt){Fe.preventDefault();return}Zi(_n(Vt[0]))},title:Vt[0],className:"underline decoration-slate-400 hover:decoration-blue-700 hover:text-blue-700 dark:hover:decoration-blue-400 dark:hover:text-blue-400 cursor-pointer",children:Pe}):e.isLink&&e.value?s.jsx("span",{onClick:Fe=>{var Ie;if(Fe.shiftKey){Fe.preventDefault();return}const rt=Rn().match((Ie=e.value)!=null?Ie:"");rt&&rt.length===1?Zi(_n(rt[0].raw)):lo(H("Provided link {{clipValue}} might be invalid!",{ns:"common",clipValue:e.value}),"Warning")},title:e.value,className:"underline decoration-slate-400 hover:decoration-blue-700 hover:text-blue-700 dark:hover:decoration-blue-400 dark:hover:text-blue-400 cursor-pointer",children:Pe}):e.isPath&&e.value?s.jsx("span",{onClick:()=>pe(this,null,function*(){try{yield Fs("check_path",{path:e.value}),yield Fs("open_path_or_app",{path:e.value})}catch(Fe){lo(H("Provided path {{clipValue}} might be invalid!",{ns:"common",clipValue:e.value}),"Warning")}}),title:e.value,className:"underline decoration-slate-400 hover:decoration-blue-700 hover:text-blue-700 dark:hover:decoration-blue-400 dark:hover:text-blue-400 cursor-pointer",children:Pe}):Pe,e.description&&m&&s.jsx(z2,{text:e.description,isDisabled:a,side:"right",isDark:A,delayDuration:300,align:"end",classNameTrigger:"mt-[2px]",sideOffset:10,maxWidth:c,maxHeight:u,asChild:!0,children:s.jsx(Cz,{size:16,className:"opacity-70 hover:opacity-100 ml-1.5 hover:text-yellow-600"})})]})}),!((It||V.value)&&!Ge&&!q.value)&&!Ge&&s.jsxs("div",{className:"text-secondary-foreground/50 flex flex-row ml-auto self-start items-center justify-end w-[40px] h-5 !mt-0 !p-0",children:[e.isFavorite&&s.jsx(Yf,{className:"absolute text-transparent ".concat(e.isPinned?" fill-orange-400":" fill-yellow-400 "," pointer-events-none right-[4px] top-[4px] animate-in fade-in duration-500"),size:11}),e.isPinned&&!e.isFavorite&&!C?s.jsx(Al,{className:"absolute text-orange-400 pointer-events-none top-[-5px] right-[-5px] animate-in fade-in duration-500",size:28}):Et&&!e.isFavorite&&s.jsx(Al,{className:"absolute text-green-400 pointer-events-none top-[-5px] right-[-3px] animate-in fade-in duration-500",size:28}),!g&&s.jsx("div",{className:e.isPinned&&!e.isFavorite?"mr-[11px]":Et?"mr-[14px]":e.isFavorite?"mr-[13px]":"mr-1.5",children:Vt&&Vt.length===1&&e.isLink||e.isLink&&e.value?s.jsx(Yl,{icon:e.icon,description:e.description,pathType:H("Type:::Link",{ns:"common"}),iconVisibility:e.iconVisibility,isHover:It,children:s.jsx(rxe,{className:"ml-1.5",width:15,height:15})}):e.isPath&&e.value?s.jsx(Yl,{icon:e.icon,description:e.description,pathType:H("Type:::".concat(e.pathType),{ns:"common"}),iconVisibility:e.iconVisibility,isHover:It,children:e.pathType==="Folder"?s.jsx(ixe,{width:16,height:16}):e.pathType==="File"?s.jsx(axe,{width:16,height:16}):e.pathType==="App"?s.jsx(sxe,{width:16,height:16}):(((Ze=e.pathType)==null?void 0:Ze.includes("Executable"))||((mr=e.pathType)==null?void 0:mr.includes("Script")))&&s.jsx(oxe,{width:16,height:16})}):e.isCommand?s.jsx(Yl,{icon:e.icon,description:e.description,pathType:H("Type:::Shell Command",{ns:"common"}),iconVisibility:e.iconVisibility,isHover:It,children:s.jsx(Mz,{width:16,height:16})}):e.isForm?s.jsx(s.Fragment,{children:s.jsx(Yl,{icon:e.icon,description:e.description,pathType:H("Type:::Form Auto Fill",{ns:"common"}),iconVisibility:e.iconVisibility,isHover:It,children:s.jsx(Az,{width:16,height:16})})}):e.isTemplate?s.jsx(s.Fragment,{children:s.jsx(Yl,{icon:e.icon,description:e.description,pathType:H("Type:::Template",{ns:"common"}),iconVisibility:e.iconVisibility,isHover:It,children:s.jsx(L6,{width:16,height:16})})}):e.isWebRequest?s.jsx(Yl,{icon:e.icon,description:e.description,pathType:H("Type:::Web Request (HTTP)",{ns:"common"}),iconVisibility:e.iconVisibility,isHover:It,children:s.jsx(yU,{width:16,height:16})}):e.isWebScraping?s.jsx(Yl,{icon:e.icon,description:e.description,pathType:H("Type:::Web Scraper / Parser",{ns:"common"}),iconVisibility:e.iconVisibility,isHover:It,children:s.jsx(bU,{width:16,height:16})}):e.icon&&s.jsx(Yl,{icon:e.icon,description:e.description,iconVisibility:e.iconVisibility,isHover:It})})]}),(It||V.value)&&!Ge&&(!v&&!a&&!ue&&!q.value&&!E?s.jsx(s.Fragment,{children:s.jsxs("div",{className:"self-start justify-end text-secondary-foreground/50 flex ml-auto !mt-0 !p-0 ".concat(m?"":"w-[40px]"," items-center justify-center fade-in-init ").concat(It||V.value?"fade-in-init-hover":""),children:[s.jsx("div",{}),m&&!q.value&&!e.isImage&&((Se=e.value)==null?void 0:Se.trim())&&s.jsx(un,{className:"hover:bg-transparent hover:text-yellow-600 pr-2",onClick:()=>{q.value=!0},children:s.jsx(Be,{text:H("Find in Clip",{ns:"dashboard"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(nxe,{width:16,height:16,className:"cursor-pointer"})})}),m&&e.isImage&&j&&s.jsx(un,{className:"hover:bg-transparent pr-3",onClick:()=>{$({updatedItem:{itemId:e.id,imageScale:e.imageScale===1?2:1}})},children:s.jsx(Be,{text:H("Image Scale {{ImageScale}}x",{ns:"common",ImageScale:e.imageScale}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsxs(me,{children:[s.jsx(lt,{variant:"outline",className:"bg-slate-100 border border-slate-100 cursor-pointer px-1.5 mr-1 py-[1px]",children:s.jsx(J,{className:"font-mono !text-slate-400 font-semibold",children:"".concat(e.imageScale,"x")})}),e.imageScale===1?s.jsx(nue,{width:16,height:16,className:"cursor-pointer"}):s.jsx(rue,{width:16,height:16,className:"cursor-pointer"})]})})}),s.jsx(un,{className:"hover:bg-transparent hover:text-green-600",onClick:()=>{ur.value?e.isForm?se(e.id,void 0,!0):se(e.id):Y(e.id)},children:e.isForm?s.jsx(Be,{text:H("Type:::Run Auto Fill",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ct||Ve&&!gt?s.jsx(wm,{}):s.jsx(O2,{width:16,height:16})}):e.isWebRequest||e.isWebScraping||e.isCommand?s.jsx(Be,{text:ur.value?H("Run and Paste Response",{ns:"common"}):H("Run and Copy Response",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(Cs,{size:16}):ct?s.jsx(wm,{}):s.jsx(O2,{width:16,height:16})}):s.jsx(Be,{text:ur.value?H("Copy and Paste",{ns:"common"}):H("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(Cs,{size:16}):s.jsx(pa,{size:16})})}),r?s.jsx(ye,{variant:"ghost",size:"mini",className:"px-1 pr-1 text-secondary-foreground/50 cursor-pointer !mt-0 flex hover:bg-transparent hover:text-blue-500",onClick:()=>{Ii.value=e.id,M==null||M()},ref:ie,children:s.jsx(Be,{text:H("Locate Clip",{ns:"contextMenus"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(zw,{size:18})})}):s.jsx(ye,{variant:"ghost",size:"mini",className:"px-1 pr-0 text-secondary-foreground/50 cursor-pointer !mt-0 flex hover:bg-transparent dark:hover:bg-transparent hover:text-slate-600 hover:dark:text-slate-300",onClick:()=>{var rt,Ie,$e;const Fe=(rt=ie==null?void 0:ie.current)==null?void 0:rt.getBoundingClientRect().x,nt=(Ie=ie==null?void 0:ie.current)==null?void 0:Ie.getBoundingClientRect().y;($e=oe==null?void 0:oe.current)==null||$e.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:Fe,clientY:nt&&nt+30}))},ref:ie,children:s.jsx(Be,{text:H("Clip Menu",{ns:"dashboard"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(nl,{size:18})})})]})}):!q.value&&s.jsx("div",{className:"text-secondary-foreground/50 flex ml-auto !mt-0 !p-0 pr-2 w-[40px] items-center justify-center",children:a?s.jsx(Fw,{size:16}):C?s.jsxs(me,{children:[s.jsx(Q,{className:"".concat(T?"cursor-default text-gray-300":"cursor-pointer text-slate-500"," pr-1 flex items-center justify-center"),children:s.jsx(xle,{size:15,onClick:()=>{T||D({itemId:e.id,moveUp:!0})}})}),s.jsx(Q,{className:"".concat(N?"cursor-default text-gray-300":"cursor-pointer text-slate-500"," flex items-center justify-center"),children:s.jsx(yle,{size:15,onClick:()=>{N||D({itemId:e.id,moveDown:!0})}})})]}):s.jsx(ye,ee(R({variant:"ghost",size:"mini"},le),{"data-drag-handle":!0,ref:be,className:"px-1 text-secondary-foreground/50 ml-auto cursor-grab fade-in animate-in !mt-0 flex hover:bg-transparent",children:s.jsx(Be,{text:H("Drag to Move",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(k1,{size:16})})}))}))]})),m&&!g?s.jsx(HU,{isImage:e.isImage,isLink:e.isLink,isShowLinkedClip:Ke,searchTerm:re,isVideo:e.isVideo,isPath:e.isPath,isForm:e.isForm,isTemplate:e.isTemplate,isCode:e.isCode,isMenu:e.isMenu,clipName:e.name,isCommand:e.isCommand,isWebRequest:e.isWebRequest,isWebScraping:e.isWebScraping,isExpanded:I,isCopyOrPaste:Oe||Ve,isDark:A,arrLinks:e.arrLinks,isMasked:e.isMasked,hasMaskedWords:e.hasMaskedWords,detectedLanguage:e.detectedLanguage,hasEmoji:e.hasEmoji,pathType:e.pathType,isImageData:e.isImageData,imageHash:e.imageHash,imageType:e.imageType,imageScale:e.imageScale,imagePathFullRes:e.imagePathFullRes,imageDataUrl:e.imageDataUrl,isLargeView:j,formTemplateOptions:e.formTemplateOptions,commandRequestOutput:(je=e.commandRequestOutput)==null?void 0:je.replace("[Err]",""),isCommandRequestRunError:!!((we=e.commandRequestOutput)!=null&&we.startsWith("[Err]")),commandRequestOutputLastRunAt:e.commandRequestLastRunAt,requestOptions:e.requestOptions,imageWidthHeight:e.imageWidth?"".concat(e.imageWidth,"x").concat(e.imageHeight):null,clipId:e.id,value:e.value}):g&&s.jsx(O2e,{value:e.value,isOver:Ce,isLargeView:j,isShowLinkedClip:Ke,isNewlyCreated:Et,isPinned:e.isPinned,isFavorite:e.isFavorite,isDelete:Ee,isCode:e.isCode,isImage:e.isImage,isCommand:e.isCommand,isLink:e.isLink,isWebRequest:e.isWebRequest,isWebScraping:e.isWebScraping,requestOptions:e.requestOptions,formTemplateOptions:e.formTemplateOptions,isPath:e.isPath,isVideo:e.isVideo,isMasked:e.isMasked,hasEmoji:e.hasEmoji,imageDataUrl:e.imageDataUrl,isText:e.isText,isTemplate:e.isTemplate,isForm:e.isForm,detectedLanguage:e.detectedLanguage,isDark:A,isHistoryDragActive:w,clipId:e.id,onCancel:()=>{qd()}})]})]})}),s.jsx(dke,{itemId:e.id,isSelected:f,isPinnedBoard:C,isShowDetails:m,setShowDetails:L,setSelectedItemId:z,icon:e.icon,iconVisibility:e.iconVisibility,isPinned:e.isPinned,isFavorite:e.isFavorite,isMenu:e.isMenu,isLargeView:j,tabId:e.tabId,boardId:e.parentId})]})}const x_=p.memo(gW),zj=p.memo(({board:e,itemId:t,level:r,onSelect:n})=>{var a;return"isBoard"in e&&r<1&&((a=e.children)!=null&&a.some(o=>"isBoard"in o&&o.isBoard&&o.id!==t))?s.jsxs(In,{children:[s.jsx(Mn,{onClick:()=>{n(e.id)},children:s.jsx("span",{className:"capitalize !block max-w-md overflow-hidden text-ellipsis whitespace-nowrap",children:e.name})}),s.jsx(Dn,{children:e.children.filter(o=>o.id!==t).filter(o=>o.type===Hs).map(o=>s.jsx(zj,{board:o,itemId:t,level:r+1,onSelect:n},o.id))})]}):s.jsx(St,{onSelect:()=>{n(e.id)},children:s.jsx("span",{className:"capitalize !block max-w-md overflow-hidden text-ellipsis whitespace-nowrap",children:e.name})},e.id)});function fke({itemId:e,itemParentId:t,onShowDescriptionChange:r,hasDescription:n,isShowDescription:a,isEdit:o,currentTabLayout:i,iconVisibility:c,icon:u,setEditBoard:f}){const{clipItems:h,tabs:m,currentTab:v,setClipItems:S,currentCollectionId:w,isBoardHasChildren:g}=ft(Tn),{t:b}=At(),{deleteItemById:C}=mk(),{updateItemById:j}=sl(),{updateMovedClips:E}=hk(),N=p.useMemo(()=>os(h,v).filter(D=>D.id!==e),[h,v,e]),T=p.useCallback(()=>os(h,v,t==null?void 0:t.toString()).filter(D=>D.id!==e).sort((D,L)=>D.orderNumber-L.orderNumber),[h,v,e,t]),A=p.useCallback((D,L)=>{const z=h.find(H=>H.itemId===e&&H.isBoard);if(z&&!D&&L){const V=os(h,v,t==null?void 0:t.toString()).find(B=>B.id===e),I=V?d_(V):[],q=h.filter(B=>B.tabId===L&&B.isBoard&&B.parentId===null).sort((B,F)=>B.orderNumber-F.orderNumber);q.unshift(z);const _=new Map(q.map((B,F)=>[B.itemId,F])),$=new Map(I==null?void 0:I.map(B=>[B,!0])),U=[],K=h.map(B=>{const F=_.get(B.itemId);return F!==void 0?(U.push(B.itemId),ee(R({},B),{orderNumber:F,tabId:L,parentId:null})):$!=null&&$.has(B.itemId)?(U.push(B.itemId),ee(R({},B),{tabId:L})):B});S(K);const Y=K.filter(B=>U.includes(B.itemId)).map(B=>({itemId:B.itemId,parentId:B.parentId,tabId:B.tabId,collectionId:w,orderNumber:B.orderNumber}));E({updatedMoveClips:Y})}else if(z&&D&&!L){const H=h.filter(_=>_.parentId===D&&_.tabId===v).sort((_,$)=>_.orderNumber-$.orderNumber);H.unshift(z);const V=new Map(H.map((_,$)=>[_.itemId,$])),I=h.map(_=>{const $=V.get(_.itemId);return $!==void 0?ee(R({},_),{orderNumber:$,parentId:D.toString()}):_});S(I);const q=I.filter(_=>_.parentId===D).map(_=>({itemId:_.itemId,parentId:D,tabId:v,collectionId:w,orderNumber:_.orderNumber}));E({updatedMoveClips:q})}},[e,v]),M=function(I){return pe(this,arguments,function*({isLast:D,isFirst:L,isAfterItemId:z,moveUp:H,moveDown:V}){const q=v.toString(),_=os(h,q,t==null?void 0:t.toString()).sort((Y,B)=>Y.orderNumber-B.orderNumber),$=_.findIndex(Y=>Y.id===e);if($===-1)return;let U;if(H)U=Math.max(0,$-1);else if(V)U=Math.min(_.length-1,$+1);else if(z){const Y=_.findIndex(B=>B.id===z);if(Y===-1)return;U=$>Y?Y+1:Y}else U=L?0:D?_.length:0;const K=zn(_,$,U);if(K&&K.length){const Y=K.map((B,F)=>({itemId:B.id,parentId:B.parentId,tabId:B.tabId,collectionId:w,orderNumber:F}));yield E({updatedMoveClips:Y})}})};return e==null?null:s.jsx(D1,{children:s.jsxs(Zm,{className:"min-w-[150px]",children:[s.jsxs(St,{onSelect:()=>{wl.value=e},children:[b("Add Clip",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(O6,{size:16})})]}),s.jsxs(St,{onSelect:()=>{yg.value=e},children:[b("Add Board",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Mv,{size:16})})]}),s.jsx(zr,{}),Ia.value!==e?s.jsxs(St,{onClick:()=>{Ia.value=e,i==="full"&&(_o.value=!0)},children:[b("View",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(b1,{size:14})})]}):s.jsxs(St,{onClick:()=>{Ia.value=null,_o.value=!1},children:[b("Close View",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(z6,{size:14})})]}),s.jsx(zr,{}),!o&&s.jsxs(St,{onClick:()=>{f(e)},children:[b("Edit Board",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(L6,{size:15,className:"ml-1"})})]}),s.jsx(zr,{}),s.jsxs(St,{onClick:()=>{qi.value=e},children:[b("Organize",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Fw,{size:15,className:"fill-transparent"})})]}),n&&s.jsx(s.Fragment,{children:a?s.jsxs(St,{onClick:()=>{r(e,!1)},children:[b("Hide Subtitle",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(w1,{size:15})})]}):s.jsxs(St,{onClick:()=>{r(e,!0)},children:[b("Show Subtitle",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(Fm,{size:15})})]})}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[b("Board Icon",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsx($i,{checked:c==="none",onSelect:()=>{j({updatedItem:{iconVisibility:"none",itemId:e}})},className:c==="none"?"font-semibold":"",children:b("Hide",{ns:"contextMenus"})}),s.jsx($i,{checked:c==="always",onSelect:()=>{j({updatedItem:{iconVisibility:"always",itemId:e}})},className:c==="always"?"font-semibold":"",children:b("Show",{ns:"contextMenus"})}),s.jsxs(In,{children:[s.jsxs(Mn,{className:"flex items-center justify-center",children:[u?s.jsx(Sm,{size:16,className:"ml-1 mr-2",name:u}):s.jsx(_6,{size:16,className:"ml-1 mr-2 opacity-30"}),b("Custom Icon",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{className:"w-64",children:[s.jsxs(St,{disabled:!0,className:"text-center items-center justify-between py-0.5 data-[disabled]:pointer-events-auto",children:[s.jsx(Q,{className:"w-6"}),s.jsx(J,{children:b("Select Icon",{ns:"contextMenus"})}),s.jsx(ye,{className:"text-[11px] px-1.5 font-semibold py-0.5 bg-opacity-70",variant:"default",size:"mini",onClick:()=>{j({updatedItem:{icon:"",iconVisibility:"none",itemId:e}})},children:b("RESET",{ns:"contextMenus"})})]}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:s.jsx(me,{className:"grid grid-cols-7 gap-0.5",children:h_.map(D=>s.jsx(St,{className:"flex items-center justify-center ".concat(u===D?"!bg-gray-200 dark:!bg-gray-600 dark:!text-slate-300":""),onSelect:L=>{L.preventDefault(),j({updatedItem:{iconVisibility:"always",icon:D,itemId:e}})},children:s.jsx(Sm,{name:D,size:16})},D))})})]})]})]})]}),s.jsx(zr,{}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[b("Position",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsxs(St,{onClick:()=>{M({moveUp:!0})},children:[b("Up",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(hz,{size:15,className:"fill-transparent"})})]}),s.jsxs(St,{onClick:()=>{M({moveDown:!0})},children:[b("Down",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(dz,{size:15,className:"fill-transparent"})})]}),s.jsx(zr,{}),T().length>0&&s.jsxs(s.Fragment,{children:[s.jsxs(In,{children:[s.jsxs(Mn,{children:[b("After",{ns:"contextMenus"}),"..."]}),s.jsx(Dn,{children:T().map(D=>s.jsx(zj,{board:D,level:0,itemId:e,onSelect:L=>{M({isAfterItemId:L})}},D.id))})]}),s.jsx(zr,{})]}),s.jsxs(St,{onClick:()=>{M({isFirst:!0})},children:[b("Start",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Ow,{size:15,className:"fill-transparent"})})]}),s.jsxs(St,{onClick:()=>{M({isLast:!0})},children:[b("End",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Df,{size:15,className:"fill-transparent"})})]})]})]}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[b("Move To",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsxs(In,{children:[s.jsxs(Mn,{children:[b("MoveTo:::Tab",{ns:"contextMenus"})," ..."]}),s.jsx(Dn,{children:m.map(({tabId:D,tabName:L,tabOrderNumber:z})=>s.jsx(St,{onSelect:()=>{A(null,D)},children:v===D?s.jsx(J,{className:"font-semibold capitalize",children:L||"".concat(b("Tab",{ns:"dashboard"})," ").concat(z+1)}):s.jsx("span",{className:"capitalize",children:L||"".concat(b("Tab",{ns:"dashboard"})," ").concat(z+1)})},D))})]}),os(h,v).filter(D=>D.id!==e).length>0&&s.jsxs(In,{children:[s.jsxs(Mn,{children:[b("MoveTo:::Board",{ns:"contextMenus"})," ..."]}),s.jsx(Dn,{children:N.map(D=>s.jsx(zj,{board:D,level:0,itemId:e,onSelect:L=>{A(L)}},D.id))})]})]})]}),!g(e)&&s.jsxs(s.Fragment,{children:[s.jsx(zr,{}),s.jsxs(St,{className:lu.value===e?"!bg-red-100 dark:!bg-red-900":"",onClick:D=>{lu.value===e?(C({itemId:e,collectionId:w}),lu.value):(D.preventDefault(),lu.value=e,setTimeout(()=>{lu.value=null},3e3))},children:[s.jsx(me,{children:s.jsx(J,{className:"!text-red-500",children:lu.value!==e?b("Delete Board",{ns:"contextMenus"}):b("Click to Confirm",{ns:"common"})})}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(xn,{size:15,className:"text-red-500"})})]})]})]})})}const hke="_TopRow_16h0h_1",pke="_BottomRow_16h0h_5",mke="_Panel_16h0h_9",gke="_PanelContent_16h0h_14",vke="_ResizeHandleOuter_16h0h_24",xke="_ResizeHandleInner_16h0h_35",yke="_Button_16h0h_46",bke="_Icon_16h0h_58",_S={TopRow:hke,BottomRow:pke,Panel:mke,PanelContent:gke,ResizeHandleOuter:vke,ResizeHandleInner:xke,Button:yke,Icon:bke};function vW({isVertical:e=!1,className:t="",id:r}){return s.jsx(Kz,{className:"".concat(_S.ResizeHandleOuter," ").concat(t," opacity-0 hover:opacity-100 transition-opacity"),id:r,children:s.jsx("div",{className:_S.ResizeHandleInner,children:s.jsx(wz,{className:"".concat(_S.Icon," ").concat(e?"rotate-90":""," text-slate-300 dark:text-slate-500"),type:"resize-vertical"})})})}function wke(u){var f=u,{children:e,isLastPanel:t=!1,fixedSize:r,hasPanel:n=!0,hasResizeHandle:a=!0,isVertical:o=!1,isCollapsible:i=!1}=f,c=ke(f,["children","isLastPanel","fixedSize","hasPanel","hasResizeHandle","isVertical","isCollapsible"]);const[h,m]=p.useState(r||0);return n?s.jsxs(s.Fragment,{children:[s.jsx(x2,ee(R({style:{width:"".concat(h,"%")},collapsible:i,onResize:v=>{r||m(v)}},c),{children:e})),!t&&a&&s.jsx(vW,{isVertical:o})]}):e}const TS=["max-w-min","max-w-xs","max-w-sm","max-w-md","max-w-[50%]","max-w-prose","max-w-full","max-w-fit"];function xW({board:e,boardColor:t,isDragPreview:r,isSubBoard:n,isDark:a,showDragHandle:o,globalSearchTerm:i,isGlobalSearchBoardsOnly:c,isHistoryDragActive:u,dragOverBoardId:f,panelHeight:h,currentTabLayout:m,selectedItemIds:v,showDetailsItem:S,closeGlobalSearch:w,setShowDetailsItem:g,setCurrentTab:b,setSelectedItemId:C}){var ct,gt,Ke,Et,Re,xt,ot;const{t:j}=At(),E=p.useMemo(()=>{var pt,_t;return(_t=(pt=e.children)==null?void 0:pt.map(ht=>ht.id))!=null?_t:[]},[e]),{updateItemById:N,updateItemByIdPending:T}=sl(),{isClipNotesHoverCardsEnabled:A,clipNotesHoverCardsDelayMS:M,clipNotesMaxHeight:D,clipNotesMaxWidth:L}=ft(pn),z=We(!1),H=p.useRef(null),V=p.useRef(null),I=We(!1),q=We(!1),{isBoardHasChildren:_}=ft(Tn),$=p.useRef(null),U=fa.value===Lo,K=O5.value===e.id&&!i,{setNodeRef:Y,listeners:B,isDragging:F}=Rw({disabled:u||U||!!ks.value||!!La.value,id:e.id,data:{type:"board",isSubBoard:n,board:e}}),G=p.useMemo(()=>Vi.value,[Vi.value]),X=e.id===_f.value,se=e.name===j("Moved Clips Panel",{ns:"dashboard"}),re=e.id===Cv.value,ie=lu.value===e.id,oe=X||re,ae=e.color||t||"slate",fe=e.borderWidth===0?n?"border":"border-none":e.borderWidth===1?"border":"border-[".concat(e.borderWidth,"px]"),le=((ct=e.layout)==null?void 0:ct.startsWith("flex"))||!1,ue=e.layout==="flex-nowrap"||!1,be=((gt=e.layout)==null?void 0:gt.startsWith("grid"))||!1,Ce=parseInt((Et=(Ke=e.layout)==null?void 0:Ke.split("grid-cols-")[1])!=null?Et:"",10)||2,Pe=qi.value===e.id&&!i,Ee=f===e.id,Oe=Ia.value===e.id,Ve=cd("".concat(Ee?"bg-blue-200 dark:bg-blue-400 border-blue-300 dark:border-blue-300":"".concat(Oi(ae,"200")," ").concat(tb(ae,"300","700"))," h-full flex flex-col ").concat(oe?"border-2 min-h-[120px]":"border-0 min-h-[100px]"," px-0.5 py-1 bg-opacity-70 dark:bg-opacity-70 rounded-lg overflow-hidden ").concat(ie?"border-2 border-red-300 bg-red-100":""," ").concat(se?"border-2 ".concat(tb(ae,"300","700")," border-opacity-70 dark:border-opacity-70"):""," ").concat(n?"border-opacity-50 dark:border-opacity-50":"border-opacity-60 dark:border-opacity-60"," ").concat(fe," ").concat(U?"hover:bg-blue-100":""," ").concat(K?"pulse-clip":""),{variants:{dragging:{over:"border-2 border-dashed border-blue-400 dark:border-blue-500",overlay:"".concat(tb(ae,"300","700")," opacity-70 border-2")}}});return p.useEffect(()=>{var pt;K&&((pt=$==null?void 0:$.current)==null||pt.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}),setTimeout(()=>{O5.value=null},1e3))},[K,$==null?void 0:$.current]),p.useEffect(()=>{F&&n&&(qi.value=e.parentId)},[F,n]),s.jsxs(s_,{ref:Ji($,ks.value||La.value?null:Y),className:Ve({dragging:r?"overlay":F?"over":void 0}),children:[s.jsxs(Gm,{onOpenChange:pt=>{z.value=pt,lu.value=null},children:[s.jsx(Ym,{disabled:oe||Pe||o,ref:q.value?V:null,children:s.jsxs(y1e,ee(R({onMouseEnter:()=>{q.value=!0},onMouseLeave:()=>{q.value=!1},onClick:()=>{q.value=!0},onDoubleClick:()=>{q.value=!0,!oe&&(Ia.value!==e.id?(m==="full"&&(_o.value=!0),Ia.value=e.id):(Ia.value=null,_o.value=!1))},className:"p-1 px-4 pt-2 pb-0 pr-2 flex flex-row relative board-panel-header_tour"},!G&&!oe?B:{}),{children:[oe?s.jsx(txe,{boardName:e.name,boardSubtitle:e.description,scrollRef:$,isNewBoard:X,boardColor:e.color,boardBorderWidth:(Re=e.borderWidth)!=null?Re:0,boardId:e.id}):s.jsxs("div",{className:"overflow-hidden",children:[s.jsxs("div",{className:"cursor-default flex items-center",children:[s.jsx(Yl,{icon:e.icon,size:17,isBoard:!0,className:"mr-1.5",description:e.showDescription?null:e.description,iconVisibility:e.iconVisibility,isHover:!0,children:se&&s.jsx(jce,{size:17,className:"mr-1.5"})}),i?s.jsx(J,{color:"black",className:"dark:hover:!text-blue-400 hover:!text-blue-500 cursor-pointer !font-medium text-sm text-ellipsis !block overflow-hidden whitespace-nowrap first-letter:uppercase",onClick:()=>{b==null||b(e.tabId),O5.value=e.id,w==null||w()},children:c?El(e.name,i):e.name}):s.jsx(J,{color:"black",className:"!font-medium text-sm text-ellipsis !block overflow-hidden whitespace-nowrap first-letter:uppercase",children:e.name}),!e.showDescription&&(!e.icon||e.iconVisibility!=="always")&&s.jsx(Be,{text:e.description,className:"!px-2 !py-1",delayDuration:300,isCompact:!0,isDisabled:r||!q.value,sideOffset:10,side:"bottom",children:s.jsx("div",{className:"ml-0.5 pl-1 text-primary/50 cursor-pointer hover:opacity-100 ".concat(q.value?"opacity-80":"opacity-0"),children:s.jsx(uU,{size:17})})})]}),e.description&&e.showDescription&&s.jsx("div",{onClick:()=>{I.value=!I.value},className:"!font-light text-xs cursor-default hover:opacity-100 opacity-70 hover:animate-in ".concat(I.value?"":"line-clamp-2"," mt-0.5"),children:e.description})]}),!oe&&s.jsx("div",{className:"flex flex-row ml-auto opacity-0 animate-in fade-in ".concat(q.value||z.value||Oe||o||G||Pe?"opacity-100":""," !mt-0"),children:r?s.jsx(Fw,{size:18}):s.jsx(me,{className:"flex-row items-start relative",children:G||o?s.jsx(un,ee(R({},B),{className:"p-1 text-primary/50 h-auto cursor-grab absolute right-0 top-[-3px] hover:".concat(Oi(e.color,"200")),children:s.jsx(k1,{size:18})})):Pe?s.jsxs(ye,{variant:"light",size:"mini",className:"px-3 py-0.5 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80",onClick:()=>{qi.value=null},children:[s.jsx(J,{className:"whitespace-nowrap",children:j("Done",{ns:"common"})}),s.jsx("div",{className:"ml-auto pl-1.5",children:s.jsx($t,{size:14})})]}):!i&&s.jsxs(me,{className:"absolute right-0 top-[-3px] gap-2",children:[s.jsx(ye,{title:j("Board Menu",{ns:"dashboard"}),variant:"ghost",size:"mini",className:"p-1 text-secondary-foreground/50 ".concat(Oi(e.color,"200")," dark:hover:bg-").concat(e.color,"-800 hover:").concat(Oi(e.color,"200")," bg-opacity-80 cursor-pointer rounded-md flex ").concat(Oe?"opacity-0":""," ").concat(q.value?"opacity-100":""),onClick:()=>{var ht,It,Ft;const pt=(ht=H==null?void 0:H.current)==null?void 0:ht.getBoundingClientRect().x,_t=(It=H==null?void 0:H.current)==null?void 0:It.getBoundingClientRect().y;(Ft=V==null?void 0:V.current)==null||Ft.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:pt&&pt+10,clientY:_t&&_t+30}))},ref:H,children:s.jsx(nl,{size:18})}),Oe&&s.jsx(ye,{title:j("Close View",{ns:"contextMenus"}),variant:"ghost",size:"mini",className:"p-1 text-secondary-foreground/50 ".concat(Oi(e.color,"100")," dark:hover:bg-").concat(e.color,"-800 hover:").concat(Oi(e.color,"200")," bg-opacity-100 cursor-pointer rounded-md !mt-0 flex"),onClick:()=>{Ia.value=null,_o.value=!1},children:s.jsx(wr,{size:18})})]})})}),i&&e.tabName&&s.jsx(lt,{onClick:()=>{b==null||b(e.tabId),w==null||w()},variant:"secondary",className:"absolute top-0 right-2 rounded-[4px] text-slate-400 hover:text-blue-400 hover:bg-slate-50 cursor-pointer dark:hover:bg-slate-800 dark:text-slate-500 dark:hover:text-blue-500 dark:bg-slate-800",children:e.tabName}),Oe&&s.jsx(Al,{className:"absolute text-".concat(e.color?e.color:"slate","-400 dark:text-").concat(e.color?e.color:"slate","-800 top-[-15px] left-[-5px] animate-in fade-in duration-500"),size:28})]}))}),s.jsx(fke,{itemId:e.id,itemParentId:e.parentId,icon:e.icon,currentTabLayout:m,iconVisibility:e.iconVisibility,isEdit:re,isShowDescription:e.showDescription,hasDescription:!!e.description,setEditBoard:pt=>{Cv.value=pt},onShowDescriptionChange:(pt,_t)=>{N({updatedItem:{showDescription:_t,itemId:pt}})}})]}),s.jsxs(eh,{className:"m-0 p-0 pb-2 pr-3 pl-2 relative h-full",children:[s.jsxs(Lf,{defer:!0,options:{overflow:{x:"hidden"},scrollbars:{theme:a?"os-theme-light":"os-theme-dark",autoHide:"move"}},style:{maxHeight:n||m==="auto"?400:e.showDescription&&e.description&&h?h-(oe?156:90):h&&h-(oe?126:60)},children:[(u||U)&&!ks.value&&!La.value&&s.jsx(k1e,{board:e,isNewClip:U,isCreatingClip:Wu.value===e.id}),s.jsx(Zb,{items:E,strategy:()=>null,disabled:u||U,children:((xt=e.children)==null?void 0:xt.length)&&Ske(e.children,e.layoutSplit||1).map((pt,_t)=>pt.length>0&&s.jsxs("div",{children:[_t>0&&s.jsx(jN,{className:"mt-2 mb-1 ml-1",color:ae}),s.jsx(Lf,{defer:!0,style:{width:"100%"},options:{scrollbars:{theme:a?"os-theme-light":"os-theme-dark",autoHide:"move"}},children:s.jsx("div",{className:"".concat(le?"flex":"grid"," ").concat(ue?"flex-nowrap":"flex-wrap"," justify-normal gap-2.5 items-start mt-2.5 mb-2 ml-2 mr-1 ").concat(be?e.layout:""),children:pt==null?void 0:pt.map(ht=>{const It=ks.value===ht.id;return s.jsx("div",{className:"".concat(It||La.value===ht.id?"min-w-[265px] duration-100 ":"min-w-[140px] "," ").concat(e.layoutItemsMaxWidth?e.layoutItemsMaxWidth:It||La.value===ht.id?"max-w-full":"max-w-fit"," hover:z-100 ").concat(le?e.layout:""),children:ht.type===Hs?s.jsx(K2,{isHistoryDragActive:u,dragOverBoardId:f,isDark:a,board:ht,boardColor:ae,showDragHandle:Pe||re,currentTabLayout:m,isSubBoard:!0,selectedItemIds:v,setSelectedItemId:C,showDetailsItem:S,setShowDetailsItem:g}):ht.type===Lo&&s.jsx(x_,{clip:ht,boardColor:ae,isClipNotesHoverCardsEnabled:A&&!G&&!Pe,clipNotesHoverCardsDelayMS:M,clipNotesMaxHeight:D,clipNotesMaxWidth:L,globalSearchTerm:i,isGlobalSearchBoardsOnly:c,closeGlobalSearch:w,isDark:a,isClipDelete:Jo.value===ht.id,isClipNameEditing:gu.value===ht.id,isClipEdit:It||La.value===ht.id,canReorangeItems:oe||Pe,isShowOrganizeLayoutValue:G,isHistoryDragActive:u,isShowDetails:S===ht.id,setShowDetailsItem:g,setSelectedItemId:C,isSelected:v.includes(ht.id),selectedOrder:v.indexOf(ht.id)+1})},ht.id)})})})]},_t))})]}),oe&&s.jsxs(s.Fragment,{children:[s.jsx(kr,{h:11}),s.jsxs(me,{className:"justify-between w-full pl-2 pr-2 mt-2 absolute bottom-1 left-0",children:[s.jsx(b1e,{boardName:e.name,isNewBoard:X,boardId:e.id}),s.jsx(me,{className:"w-full scroll-h-tabs-wrap",children:_(e.id)&&s.jsx(en,{style:{minWidth:"100%"},forceVisible:"y",autoHide:!1,children:s.jsx(Qi,{className:"min-w-[280px] flex flex-row mt-[2px]",title:j("Change Layout",{ns:"dashboard"}),activationMode:"manual",value:e.layout||"flex-auto",onValueChange:pt=>pe(this,null,function*(){T||(yield N({updatedItem:{layout:pt,itemId:e.id}}))}),children:s.jsxs(me,{className:"w-full",children:[s.jsxs(me,{className:"mr-2",children:[e.layoutSplit>1&&s.jsx(lt,{onClick:()=>{N({updatedItem:{layoutSplit:e.layoutSplit>4?1:e.layoutSplit+1,itemId:e.id}})},variant:"outline",className:"bg-white border border-white dark:border-slate-600 dark:bg-slate-600 cursor-pointer px-1.5 mr-1",children:s.jsx(J,{className:"font-mono text-slate-400 font-semibold",children:e.layoutSplit})}),s.jsx(ye,{variant:"light",title:j("Vertical Split",{ns:"dashboard"}),onClick:()=>{N({updatedItem:{layoutSplit:e.layoutSplit>4?1:e.layoutSplit+1,itemId:e.id}})},className:"px-1 py-2 bg-gray-50 hover:bg-gray-200 dark:hover:bg-gray-700 cursor-pointer opacity-80 hover:opacity-100 hover:text-grey-500 h-8 w-8",children:s.jsx(qoe,{size:18,className:"opacity-70"})})]}),s.jsx(me,{className:"mr-0.5",children:s.jsx(lt,{variant:"outline",title:j("Layout Max Width",{ns:"dashboard"}),onClick:()=>{let pt=TS.findIndex(ht=>ht===e.layoutItemsMaxWidth);pt===-1?pt=0:pt=(pt+1)%TS.length;const _t=TS[pt];N({updatedItem:{layoutItemsMaxWidth:_t,itemId:e.id}})},className:"bg-white border border-white dark:border-slate-600 dark:bg-slate-600 cursor-pointer px-2 py-3 h-6 mr-1",children:s.jsx(J,{className:"text-slate-400 font-semibold text-md uppercase",children:e.layoutItemsMaxWidth?(ot=e.layoutItemsMaxWidth)==null?void 0:ot.replace("max-w-",""):"fit"})})}),s.jsxs(Fo,{className:"self-center text-primary/40",children:[s.jsx(bn,{value:"flex-auto",className:"text-xs px-2 py-1",children:s.jsx(Dz,{size:18,className:"opacity-70"})}),s.jsx(bn,{value:"flex-1",className:"text-xs px-2 py-1",children:s.jsx(Lie,{size:18,className:"opacity-60 transform -scale-y-100"})}),s.jsx(bn,{value:"flex-nowrap",className:"text-xs px-2 py-1",children:s.jsx(Hse,{size:18,className:"opacity-60"})}),s.jsx(bn,{value:"grid-cols-".concat(Ce),className:"text-xs px-2 py-1",children:s.jsx(V4,{size:18,className:"opacity-60",onClick:pt=>{pt.stopPropagation(),N({updatedItem:{layout:"grid-cols-".concat(Ce>3?1:Ce+1),itemId:e.id}})}})})]}),be&&s.jsx(lt,{title:j("Number of columns",{ns:"dashboard"}),onClick:()=>{N({updatedItem:{layout:"grid-cols-".concat(Ce>3?1:Ce+1),itemId:e.id}})},variant:"outline",className:"bg-white border border-white dark:border-slate-600 dark:bg-slate-600 cursor-pointer px-1.5 ml-1",children:s.jsx(J,{className:"font-mono text-slate-400 font-semibold",children:Ce})})]})})})}),s.jsx(ye,{variant:"light",title:"".concat(_(e.id)?j("Done",{ns:"common"}):""),onClick:()=>{if(Xl.value){Wn.value=!0;return}qd()},className:"px-2 text-blue-500 animate-in fade-in bg-gray-50 hover:bg-grey-100 cursor-pointer opacity-90 hover:opacity-100 hover:text-blue-600",children:_(e.id)?s.jsx($t,{size:19}):s.jsxs(s.Fragment,{children:[s.jsx($t,{size:19,className:"mr-1"}),j("Done",{ns:"common"})]})})]})]})]})]})}const K2=p.memo(xW);function kke({board:e,isDragPreview:t,isDark:r,isSubBoard:n,isHistoryDragActive:a,dragOverBoardId:o,onResizeCallBack:i,panelHeight:c,currentTabLayout:u,selectedItemIds:f,showDetailsItem:h,setShowDetailsItem:m,order:v,isLastBoard:S,setSelectedItemId:w}){return s.jsx(wke,{defaultSize:50,isCollapsible:!1,collapsedSize:6,minSize:6,id:e.id.toString(),order:v,className:"board-panel_tour",onResize:g=>{i==null||i(g)},hasResizeHandle:!t,isLastPanel:S,children:s.jsx(K2,{board:e,boardColor:e.color,order:v,panelHeight:c,isHistoryDragActive:a,dragOverBoardId:o,currentTabLayout:u,isSubBoard:n,selectedItemIds:f,setSelectedItemId:w,showDetailsItem:h,setShowDetailsItem:m,isDark:r,isDragPreview:t},e.id)})}const bA=p.memo(kke);function Cke({children:e}){return e}function Ske(e,t){const r=e.length,n=Math.ceil(r/t),a=Array.from({length:t},()=>[]);return e.forEach((o,i)=>{const c=Math.min(Math.floor(i/n),t-1);a[c].push(o)}),a}var qo=(e=>(e.FOLDER="folder",e.SEPARATOR="separator",e.ITEM="item",e.DISABLED="disabled",e))(qo||{}),zi=(e=>(e.TAB="tab",e.BOARD="board",e.CLIP="clip",e))(zi||{});function jke(e){return s.jsx("svg",{viewBox:"0 0 25 25",className:e.className,xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.2626 3.26045C7.38219 2.13044 8.33828 1.25 9.5 1.25H14.5C15.6617 1.25 16.6178 2.13044 16.7374 3.26045C17.5005 3.27599 18.1603 3.31546 18.7236 3.41895C19.4816 3.55818 20.1267 3.82342 20.6517 4.34835C21.2536 4.95027 21.5125 5.70814 21.6335 6.60825C21.75 7.47522 21.75 8.57754 21.75 9.94513V16.0549C21.75 17.4225 21.75 18.5248 21.6335 19.3918C21.5125 20.2919 21.2536 21.0497 20.6517 21.6517C20.0497 22.2536 19.2919 22.5125 18.3918 22.6335C17.5248 22.75 16.4225 22.75 15.0549 22.75H8.94513C7.57754 22.75 6.47522 22.75 5.60825 22.6335C4.70814 22.5125 3.95027 22.2536 3.34835 21.6517C2.74643 21.0497 2.48754 20.2919 2.36652 19.3918C2.24996 18.5248 2.24998 17.4225 2.25 16.0549V9.94513C2.24998 8.57754 2.24996 7.47522 2.36652 6.60825C2.48754 5.70814 2.74643 4.95027 3.34835 4.34835C3.87328 3.82342 4.51835 3.55818 5.27635 3.41895C5.83973 3.31546 6.49952 3.27599 7.2626 3.26045ZM7.26496 4.76087C6.54678 4.7762 5.99336 4.81234 5.54735 4.89426C4.98054 4.99838 4.65246 5.16556 4.40901 5.40901C4.13225 5.68577 3.9518 6.07435 3.85315 6.80812C3.75159 7.56347 3.75 8.56458 3.75 10V16C3.75 17.4354 3.75159 18.4365 3.85315 19.1919C3.9518 19.9257 4.13225 20.3142 4.40901 20.591C4.68577 20.8678 5.07435 21.0482 5.80812 21.1469C6.56347 21.2484 7.56458 21.25 9 21.25H15C16.4354 21.25 17.4365 21.2484 18.1919 21.1469C18.9257 21.0482 19.3142 20.8678 19.591 20.591C19.8678 20.3142 20.0482 19.9257 20.1469 19.1919C20.2484 18.4365 20.25 17.4354 20.25 16V10C20.25 8.56458 20.2484 7.56347 20.1469 6.80812C20.0482 6.07434 19.8678 5.68577 19.591 5.40901C19.3475 5.16556 19.0195 4.99838 18.4527 4.89426C18.0066 4.81234 17.4532 4.7762 16.735 4.76087C16.6058 5.88062 15.6544 6.75 14.5 6.75H9.5C8.34559 6.75 7.39424 5.88062 7.26496 4.76087ZM9.5 2.75C9.08579 2.75 8.75 3.08579 8.75 3.5V4.5C8.75 4.91421 9.08579 5.25 9.5 5.25H14.5C14.9142 5.25 15.25 4.91421 15.25 4.5V3.5C15.25 3.08579 14.9142 2.75 14.5 2.75H9.5ZM6.25 10.5C6.25 10.0858 6.58579 9.75 7 9.75H17C17.4142 9.75 17.75 10.0858 17.75 10.5C17.75 10.9142 17.4142 11.25 17 11.25H7C6.58579 11.25 6.25 10.9142 6.25 10.5ZM7.25 14C7.25 13.5858 7.58579 13.25 8 13.25H16C16.4142 13.25 16.75 13.5858 16.75 14C16.75 14.4142 16.4142 14.75 16 14.75H8C7.58579 14.75 7.25 14.4142 7.25 14ZM8.25 17.5C8.25 17.0858 8.58579 16.75 9 16.75H15C15.4142 16.75 15.75 17.0858 15.75 17.5C15.75 17.9142 15.4142 18.25 15 18.25H9C8.58579 18.25 8.25 17.9142 8.25 17.5Z",fill:"currentColor"})})}const Eke=({selectedItemIds:e,hasPinnedItemsInSelected:t,hasFavoriteItemsInSelected:r,setSelectedItemIds:n})=>{const{deleteItemsByIds:a}=Pge(),{t:o}=At(),[,,,i]=Jf({}),[,,c]=Qf({}),{updateItemByIds:u}=Cge(),{copyPasteSequencePinnedDelay:f,setCopyPasteSequencePinnedDelay:h,copyPasteSequenceIsReversOrder:m,setCopyPasteSequenceIsReversOrder:v}=ft(pn),{currentCollectionId:S}=ft(Tn);return s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,className:"animate-in fade-in",children:s.jsxs(ye,{variant:"ghost",size:"mini",className:"ml-1 mr-0.5 px-1.5 py-1 w-[32px] h-[32px] bg-slate-100 dark:bg-slate-900/90 dark:hover:bg-slate-800 bg-opacity-80 text-secondary-foreground/50 cursor-pointer !mt-0 hover:bg-opacity-100 relative rounded-sm",children:[s.jsx(jke,{className:"w-[24px]",lightingColor:"white"}),e.length>0&&s.jsx(lt,{variant:"slate",className:"absolute left-[-12px] top-[-12px]",children:e.length})]})}),s.jsxs(Ar,{className:"w-52",sideOffset:10,align:"center",shadow:"shadow-[0_-2px_12px_0_rgb(0,0,0,0.1)]",children:[s.jsxs(He,{disabled:e.length===0,onClick:()=>{n([])},children:[s.jsx(P6,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:o("Deselect All",{ns:"common"})})]}),s.jsx(tr,{}),s.jsxs(He,{disabled:e.length===0,onClick:()=>pe(void 0,null,function*(){yield c([...e]),n([])}),children:[s.jsx(pa,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:o("Sequence Copy",{ns:"common"})})]}),s.jsxs(He,{disabled:e.length===0,onClick:()=>pe(void 0,null,function*(){yield i([...e]),n([])}),children:[s.jsx(Cs,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:o("Sequence Paste",{ns:"common"})})]}),s.jsxs(Xs,{children:[s.jsx($s,{children:s.jsxs(me,{className:"flex w-full",children:[s.jsx(Qce,{className:"mr-2 h-4 w-4"}),s.jsx(J,{children:o("Next Delay",{ns:"common"})}),s.jsxs(lt,{variant:"slate",className:"ml-auto py-0 bg-slate-200 text-slate-500",children:[f,"s"]})]})}),s.jsxs(zs,{className:"w-48",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:o("Sequence Next Delay",{ns:"common"})}),s.jsx(rr,{checked:f===1,onSelect:w=>{w.preventDefault(),h(1)},children:s.jsxs(J,{children:["1 ",o("second",{ns:"common"})]})}),s.jsx(rr,{checked:f===2,onSelect:w=>{w.preventDefault(),h(2)},children:s.jsxs(J,{children:["2 ",o("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:f===3,onSelect:w=>{w.preventDefault(),h(3)},children:s.jsxs(J,{children:["3 ",o("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:f===4,onSelect:w=>{w.preventDefault(),h(4)},children:s.jsxs(J,{children:["4 ",o("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:f===5,onSelect:w=>{w.preventDefault(),h(5)},children:s.jsxs(J,{children:["5 ",o("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:f===10,onSelect:w=>{w.preventDefault(),h(10)},children:s.jsxs(J,{children:["10 ",o("seconds",{ns:"common"})]})})]})]}),s.jsxs(Xs,{children:[s.jsx($s,{children:s.jsxs(me,{className:"flex w-full",children:[s.jsx(fce,{className:"mr-2 h-4 w-4"}),s.jsxs(J,{children:[o("Reverse Order",{ns:"common"}),"..."]}),s.jsx(lt,{className:"ml-auto py-0 bg-slate-200 text-slate-500",variant:"slate",children:m?"Yes":"No"})]})}),s.jsxs(zs,{className:"w-48",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:s.jsx(J,{children:o("Sequence Reverse Order",{ns:"common"})})}),s.jsx(rr,{checked:!m,onSelect:w=>{w.preventDefault(),v(!1)},children:s.jsx(J,{children:o("No",{ns:"common"})})}),s.jsx(rr,{checked:m,onSelect:w=>{w.preventDefault(),v(!0)},children:s.jsx(J,{children:o("Yes",{ns:"common"})})})]})]}),s.jsx(tr,{}),s.jsxs(He,{onClick:()=>{u({updatedData:{isPinned:!0},itemIds:e}),n([])},children:[s.jsx(kc,{className:"mr-2 h-4 w-4"}),s.jsx(J,{children:o("Pin Selected",{ns:"common"})})]}),t&&s.jsxs(He,{onClick:()=>{u({updatedData:{isPinned:!1},itemIds:e}),n([])},children:[s.jsx(Vu,{className:"mr-2 h-4 w-4"}),s.jsx(J,{children:o("UnPin Selected",{ns:"common"})})]}),s.jsx(tr,{}),s.jsxs(He,{onClick:()=>{u({updatedData:{isFavorite:!0},itemIds:e}),n([])},children:[s.jsx(Yf,{className:"mr-2 h-4 w-4"}),s.jsx(J,{children:o("Star Selected",{ns:"common"})})]}),r&&s.jsxs(He,{onClick:()=>{u({updatedData:{isFavorite:!1},itemIds:e}),n([])},children:[s.jsx(Hw,{className:"mr-2 h-4 w-4"}),s.jsx(J,{children:o("Remove Selected Star",{ns:"common"})})]}),s.jsx(tr,{}),s.jsxs(He,{disabled:e.length===0,onClick:w=>pe(void 0,null,function*(){Kl.value?(yield a({itemIds:e,collectionId:S}),setTimeout(()=>{n([]),Kl.value=!1},400)):(w.preventDefault(),Kl.value=!0,setTimeout(()=>{Kl.value=!1},3e3))}),children:[s.jsx(xn,{className:"mr-2 h-4 w-4 ".concat(Kl.value?"text-red-500":"")}),s.jsxs(me,{className:"text-red-400",children:[s.jsx(J,{className:"mr-1 ".concat(Kl.value?"!text-red-500":""),children:Kl.value?o("Click to Confirm",{ns:"common"}):o("Delete",{ns:"common"})}),e.length>0&&s.jsx(s.Fragment,{children:Kl.value?s.jsx(lt,{variant:"destructive",className:"bg-red-500 ml-1 py-0 font-semibold",children:e.length}):s.jsx(lt,{variant:"secondary",className:"bg-slate-200 text-slate-500 ml-1 py-0 font-semibold",children:e.length})})]})]})]})]})};function Nke({tabId:e}){const{t}=At();return e==null?null:s.jsx(D1,{children:s.jsxs(Zm,{children:[s.jsxs(St,{onClick:()=>{Vi.value=!0},children:[t("Organize Layout",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(Dle,{size:15})})]}),s.jsx(zr,{}),s.jsxs(St,{onClick:()=>{pp.value=!0},children:[t("Edit Tabs",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(eie,{size:15})})]})]})})}const{CLIP:_ke,TAB:wA,BOARD:Tke}=zi;function kA({totalTabs:e,onCreateNewItemType:t,isFirstTab:r}){const{t:n}=At(),a=th();return s.jsxs(Ir,{defaultOpen:r,modal:!1,children:[s.jsx(Or,{className:"mr-1.5 rounded-sm flex",asChild:!0,children:r?s.jsx(Q,{id:"dashboard-tabs-create-button_tour",className:"flex w-20 group flex-row items-center cursor-pointer justify-center border-2 border-dashed rounded-md p-1.5 hover:border-blue-400 hover:dark:border-blue-500 bg-slate-100 dark:bg-slate-800/50 text-slate-500 dark:border-slate-500 dark:text-slate-300 border-slate-300",children:s.jsx(Fn,{size:20,className:"group-hover:text-blue-400 dark:group-hover:text-blue-300 text-slate-400"})}):s.jsx(ye,{variant:"ghost",id:"dashboard-tabs-create-button_tour",size:"mini",className:"ml-1.5 mr-1 px-1 py-1 w-[30px] bg-slate-100 hover:bg-opacity-100 bg-opacity-80 dark:bg-gray-500/70 dark:hover:bg-slate-500 text-secondary-foreground/50 cursor-pointer !mt-0 flex",children:s.jsx(Be,{text:"".concat(n("Add New",{ns:"contextMenus"})," ..."),isDisabled:r,delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(Fn,{size:20})})})}),s.jsxs(Ar,{align:r?"center":"end",alignOffset:-28,sideOffset:r?12:8,children:[!r&&s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{!a&&e&&e>=2?co.value=!0:t(wA)},children:[s.jsx(hm,{size:16,className:"mr-2"}),s.jsx("span",{children:n("Add Tab",{ns:"contextMenus"})}),e&&e>=2&&s.jsx(gc,{})]}),!r&&s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{t(Tke)},children:[s.jsx(Mv,{size:16,className:"mr-2"}),s.jsx("span",{children:n("Add Board",{ns:"contextMenus"})})]}),r?s.jsxs(s.Fragment,{children:[s.jsx(He,{disabled:!0,className:"flex justify-center py-0.5 dark:text-gray-400 text-gray-500",children:n("Dashboard",{ns:"contextMenus"})}),s.jsx(tr,{}),s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{t(wA)},children:[s.jsx(hm,{size:16,className:"mr-2"}),s.jsx("span",{children:n("Add First Tab",{ns:"contextMenus"})})]})]}):s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{t(_ke)},children:[s.jsx(O6,{size:16,className:"mr-2"}),s.jsx("span",{children:n("Add Clip",{ns:"contextMenus"})})]})]})]})}const Zd=1,Qg=50;function Pke({tabs:e,selectedItemIds:t,setSelectedItemIds:r,pinnedItemIds:n,currentTab:a,setCurrentTab:o}){var A,M;const{clipboardHistory:i}=ft(hi),{t:c}=At(),{updateTabById:u}=PB(),f=p.useRef(null),h=p.useRef(null),m=We(!1),{updateMovedClips:v}=hk();p.useEffect(()=>{fa.value&&(fa.value=null)},[]);const{createNewItem:S}=pk(wl.value===null),{currentCollectionId:w,clipItems:g}=ft(Tn),b=(A=e.find(D=>D.tabId===a))==null?void 0:A.tabColor;function C(D,L=null){return pe(this,null,function*(){if(fa.value=D,D===zi.BOARD){const z=os(g,a,L?L==null?void 0:L.toString():null),H={name:c("New Board",{ns:"dashboard"}),isBoard:!0,tabId:a,showDescription:!0,color:b,borderWidth:0,parentId:L,collectionId:w,orderNumber:0},V=yield S({item:H});z.sort((q,_)=>q.orderNumber-_.orderNumber).unshift(ee(R({},H),{id:V,layout:"",type:"board",color:null,showDescription:!0,layoutItemsMaxWidth:"",layoutSplit:1,description:""}));const I=z.map((q,_)=>({itemId:q.id,parentId:L,tabId:q.tabId,collectionId:w,orderNumber:_}));v({updatedMoveClips:I}),_f.value=V}else D===zi.CLIP&&(fa.value=D)})}function j(D,L=null){return pe(this,null,function*(){return new Promise((z,H)=>pe(this,null,function*(){var Y,B,F,G,X,se,re,ie,oe,ae,fe,le,ue,be,Ce,Pe,Ee,Oe;L||H("No board id");const V=D?i.find(Ve=>Ve.historyId===D):null,I=V==null?void 0:V.isImage,q=(Y=g.find(Ve=>Ve.itemId===L))==null?void 0:Y.color,_={historyId:D,name:V!=null&&V.value?V.value.substring(0,50).replace(/\n\t/g,"").replace(/\s+/g," ").trim():I?"".concat(c("Image size",{ns:"common"})," (").concat(V==null?void 0:V.imageWidth,"x").concat(V==null?void 0:V.imageHeight,")"):c("New Clip",{ns:"dashboard"}),isClip:!0,value:(B=Rd.value)!=null?B:"",description:null,detectedLanguage:(F=V==null?void 0:V.detectedLanguage)!=null?F:null,isImage:(G=V==null?void 0:V.isImage)!=null?G:!1,imageDataUrl:(X=V==null?void 0:V.imageDataUrl)!=null?X:null,imagePathFullRes:(se=V==null?void 0:V.imagePathFullRes)!=null?se:null,imageHeight:(re=V==null?void 0:V.imageHeight)!=null?re:null,imageWidth:(ie=V==null?void 0:V.imageWidth)!=null?ie:null,imagePreviewHeight:(oe=V==null?void 0:V.imagePreviewHeight)!=null?oe:null,isLink:(ae=V==null?void 0:V.isLink)!=null?ae:!1,links:(fe=V==null?void 0:V.links)!=null?fe:null,isImageData:(le=V==null?void 0:V.isImageData)!=null?le:!1,isMasked:(ue=V==null?void 0:V.isMasked)!=null?ue:!1,isVideo:(be=V==null?void 0:V.isVideo)!=null?be:!1,isCode:(Ce=V==null?void 0:V.isCode)!=null?Ce:!1,isText:(Pe=V==null?void 0:V.isText)!=null?Pe:!1,hasEmoji:(Ee=V==null?void 0:V.hasEmoji)!=null?Ee:!1,hasMaskedWords:(Oe=V==null?void 0:V.hasMaskedWords)!=null?Oe:!1,hasMultiLineCopy:!1,tabId:a,showDescription:!1,color:q,borderWidth:2,parentId:L,collectionId:w,createdAt:0,orderNumber:0},$=yield S({item:_});Rd.value&&(Rd.value=null),Wu.value=L;const U=os(g,a,L==null?void 0:L.toString());U.sort((Ve,ct)=>Ve.orderNumber-ct.orderNumber).unshift(ee(R({},_),{id:$,type:"clip"}));const K=U.map((Ve,ct)=>({itemId:Ve.id,parentId:Ve.parentId,tabId:Ve.tabId,collectionId:w,orderNumber:ct}));setTimeout(()=>pe(this,null,function*(){yield v({updatedMoveClips:K}),z($)}),600)}))})}p.useEffect(()=>{function D(){return pe(this,null,function*(){var z;let L=null;if(wl.value&&!Wu.value){for(const H of(z=dm.value)!=null?z:[null])L=yield j(H,wl.value);setTimeout(()=>{Wu.value=null,wl.value=null,dm.value=null,Rd.value=null,La.value=L},300)}})}D()},[wl.value]),p.useEffect(()=>{function D(){return pe(this,null,function*(){yield C(zi.BOARD,yg.value),Jy.value=!1,yg.value=null})}(yg.value||Jy.value)&&D()},[yg.value,Jy.value]);const{tabLayoutSplit:E,tabLayout:N}=(M=e.find(D=>D.tabId===a))!=null?M:{},T=e.length===0&&!fa.value&&!pp.value;return s.jsxs(s.Fragment,{children:[s.jsxs(Qi,{className:"flex ".concat(Oi(b)," rounded-lg py-0 mx-1.5 ").concat(T?"flex-col items-center justify-center pb-2 mb-1":"mb-3 mr-3"),onValueChange:D=>{o(D)},value:a,children:[s.jsxs(Gm,{onOpenChange:D=>{m.value=D},children:[s.jsxs(Ym,{ref:h,className:"flex w-full",disabled:T,children:[!T&&s.jsx(me,{className:"justify-start dashboard-tabs w-full",id:"dashboard-tabs_tour",children:s.jsx(en,{style:{width:"97%"},children:pp.value?s.jsxs(Fo,{className:"bg-transparent pr-0.5",children:[e.map(({tabId:D,tabName:L,tabIsHidden:z,tabColor:H,tabOrderNumber:V})=>D&&!z&&s.jsx(Mke,{tabColor:H,tabId:D,tabName:L||"".concat(c("Tab",{ns:"dashboard"})," ").concat(V+1),currentTab:a},D)),fa.value===zi.TAB?s.jsx(CA,{newTabOrderNumber:e.length+1}):s.jsx(ye,{variant:"outline",size:"mini",title:c("Add a Tab",{ns:"dashboard"}),className:"px-1.5 ml-1 h-8 border-0 opacity-80 hover:opacity-100 hover:text-gray-500 dark:text-gray-200 bg-gray-100 dark:bg-gray-600",onClick:()=>{C(zi.TAB)},children:s.jsx(Fn,{size:18})})]}):s.jsxs(Fo,{className:"bg-transparent pr-0.5",children:[e.map(({tabId:D,tabName:L,tabIsHidden:z,tabOrderNumber:H})=>D&&!z&&s.jsx(Dke,{tabId:D,currentTabColor:b!=null?b:"slate",tabOrderNumber:H,tabName:L||"".concat(c("Tab",{ns:"dashboard"})," ").concat(H+1),currentTab:a},D)),fa.value===zi.TAB&&s.jsx(CA,{newTabOrderNumber:e.length+1})]})})}),s.jsx(Q,{className:"flex flex-row p-1 !mt-0 mr-0.5",children:Vi.value?s.jsxs(s.Fragment,{children:[E&&s.jsxs(me,{className:"mr-2",children:[E>1&&s.jsx(lt,{onClick:()=>{u({updatedTab:{tabLayoutSplit:E>3?1:E+1,tabId:a}})},variant:"outline",className:"bg-white border border-white dark:bg-slate-500 dark:border-slate-500 cursor-pointer px-1.5 mr-1",children:s.jsx(J,{className:"font-mono text-slate-400 font-semibold",children:E})}),s.jsxs(ye,{variant:"light",title:c("Board Layout Split",{ns:"dashboard"}),onClick:()=>{u({updatedTab:{tabLayoutSplit:E>3?1:E+1,tabId:a}})},className:"px-1 py-2 bg-gray-50 dark:bg-slate-600/90 cursor-pointer opacity-80 hover:opacity-100 hover:text-grey-500 ".concat(E===4?"w-12":"w-8"," h-8"),children:[E===1&&s.jsx(Jle,{size:18,className:"opacity-70"}),E===2&&s.jsx(hie,{size:18,className:"opacity-70"}),E===3&&s.jsx(pie,{size:18,className:"opacity-70"}),E===4&&s.jsxs(s.Fragment,{children:[s.jsx(V4,{size:18,className:"opacity-70"}),s.jsx(V4,{size:18,className:"opacity-70 ml-[-2px]"})]})]})]}),s.jsxs(me,{className:"mr-2",children:[s.jsx(lt,{onClick:()=>{u({updatedTab:{tabLayoutSplit:E,tabLayout:N==="full"?"auto":N==="auto"||!N?"full":"auto",tabId:a}})},variant:"outline",className:"bg-white border border-white dark:bg-slate-500 dark:border-slate-500 cursor-pointer px-1.5 mr-1",children:s.jsx(J,{className:"font-mono text-slate-400 font-semibold",children:N||"auto"})}),s.jsxs(ye,{variant:"light",title:c("Board Layout Height",{ns:"dashboard"}),onClick:()=>{u({updatedTab:{tabLayoutSplit:E,tabLayout:N==="full"||!N?"auto":N==="auto"?"full":"auto",tabId:a}})},className:"px-1 py-2 bg-gray-50 dark:bg-slate-600/90 cursor-pointer opacity-80 hover:opacity-100 hover:text-grey-500 w-8 h-8",children:[(N==="auto"||!N)&&s.jsx(Dz,{size:18,className:"opacity-70"}),N==="full"&&s.jsx(ma,{size:18,className:"opacity-70"})]})]}),s.jsxs(ye,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80",onClick:()=>{Vi.value=!1,qi.value=null},children:[s.jsx(J,{className:"whitespace-nowrap",children:c("Done Organize",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto pl-1.5",children:s.jsx($t,{size:15})})]})]}):pp.value?s.jsxs(ye,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80",onClick:()=>{pp.value=!1,qi.value=null},children:[s.jsx(J,{className:"whitespace-nowrap",children:c("Done Edit Tabs",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto pl-1.5",children:s.jsx($t,{size:15})})]}):fa.value===Lo?s.jsxs(ye,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80",onClick:()=>{fa.value=null,Rd.value=null},children:[s.jsx(J,{className:"whitespace-nowrap",children:c("Done Create Clip",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto pl-1.5",children:s.jsx($t,{size:15})})]}):Cv.value!=null||ks.value!=null?s.jsxs(ye,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80",onClick:()=>{Cv.value=null,ks.value=null},children:[s.jsx(J,{className:"whitespace-nowrap",children:c("Done Edit",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto pl-1.5",children:s.jsx($t,{size:15})})]}):s.jsxs(s.Fragment,{children:[t.length>0&&s.jsx(Q,{className:"animate-in fade-in duration-300",children:s.jsx(Eke,{selectedItemIds:t,hasPinnedItemsInSelected:t.some(D=>n.includes(D)),hasFavoriteItemsInSelected:t.some(D=>{var L;return(L=g.find(z=>z.itemId===D))==null?void 0:L.isFavorite}),setSelectedItemIds:r})}),e.length>0&&s.jsxs(s.Fragment,{children:[s.jsx(kA,{totalTabs:e.length,onCreateNewItemType:C,isFirstTab:!1}),s.jsx(ye,{variant:"ghost",size:"mini",id:"dashboard-tabs-context-menu_tour",className:"px-1 py-1 text-secondary-foreground/50 cursor-pointer !mt-0 flex w-[30px]",onClick:()=>{var z,H,V;const D=(z=f==null?void 0:f.current)==null?void 0:z.getBoundingClientRect().x,L=(H=f==null?void 0:f.current)==null?void 0:H.getBoundingClientRect().y;(V=h==null?void 0:h.current)==null||V.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:D&&D+20,clientY:L&&L+20}))},ref:f,children:s.jsx(Be,{text:c("Tabs Menu",{ns:"dashboard"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(nl,{size:20})})})]})]})})]}),s.jsx(Nke,{tabId:a})]}),T&&s.jsx(kA,{onCreateNewItemType:C,isFirstTab:!0})]}),T&&s.jsx(J,{className:"text-sm mt-2 !text-slate-500 items-center justify-center mx-1.5 mr-3",children:c("Create Tab",{ns:"dashboard"})})]})}function CA({newTabOrderNumber:e}){const{t}=At(),{createNewTab:r}=Rge(),{currentCollectionId:n}=ft(Tn),a=We(!1),o=We(""),i=We(null);return s.jsxs(me,{className:"ml-1.5",children:[s.jsx(Q,{className:"w-[22px] mr-1",children:s.jsx(_k,{color:i.value,type:Cl,itemId:null,onColorChange:c=>{i.value=c}})}),s.jsx(Be,{open:a.value,text:o.value.length<=Zd?t("Too short",{ns:"dashboard"}):t("Too long",{ns:"dashboard"}),side:"bottom",className:"bg-rose-50 text-red-500 dark:bg-rose-900 dark:text-red-50 border-rose-100 dark:border-rose-950 text-base font-semibold border !px-2 !py-1.5",children:s.jsx(er,{small:!0,autoFocus:!0,className:"bg-white rounded-md text-sm font-semibold max-w-[200px] min-w-[140px]",placeholder:t("Enter tab name",{ns:"dashboard"}),onKeyDown:c=>pe(this,null,function*(){c.stopPropagation(),c.key==="Enter"&&(o.value.length<=Zd||o.value.length>Qg)?a.value=!0:c.key==="Enter"&&(yield r({tab:{tabName:o.value,tabColor:i.value,collectionId:n,tabOrderNumber:e}}))}),value:o.value,onChange:c=>{(a.value&&c.target.value.length>Zd&&c.target.value.length<=Qg||a.value&&c.target.value.length===0)&&(a.value=!1),o.value=c.target.value}})}),s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:text-blue-300 border-0",onClick:()=>pe(this,null,function*(){a.value||(yield r({tab:{tabName:o.value,tabColor:i.value,collectionId:n,tabOrderNumber:e}}))}),children:s.jsx(Be,{text:t("Create tab",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx($t,{size:18})})}),s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{fa.value=null},children:s.jsx(Be,{text:t("Cancel",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(wr,{size:18})})})]})}function Mke({tabId:e,tabName:t,tabColor:r,currentTab:n}){const{t:a}=At(),o=We(!1),i=We(""),c=We(!1);if(!t)return null;p.useEffect(()=>{c.value&&(c.value=!1)},[n]);const u=We(!1),f=We(!1),{tabHasBoards:h,setCurrentTab:m}=ft(Tn),{deleteItemById:v}=Lge(),{updateTabById:S}=PB();return s.jsx(me,{className:"inline-flex items-center whitespace-nowrap rounded-sm px-1.5 pr-2 ".concat(c.value?"":"py-1.5"," ").concat(n===e&&!c.value?"bg-white dark:bg-gray-900/60":""," ").concat(f.value?"bg-red-100/80 dark:bg-red-900/70":""," ").concat(u.value?"bg-yellow-100/80 dark:bg-yellow-900/70":""," text-sm font-medium ring-offset-background transition-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset disabled:pointer-events-none disabled:opacity-50 justify-start max-w-[260px]"),children:c.value?s.jsxs(s.Fragment,{children:[s.jsx(Be,{open:o.value,asChild:!0,text:i.value.length<=Zd?a("Too short",{ns:"dashboard"}):a("Too long",{ns:"dashboard"}),side:"bottom",className:"bg-rose-50 text-red-500 dark:bg-rose-900 dark:text-red-50 border-rose-100 dark:border-rose-950 text-base font-semibold border !px-2 !py-1.5",children:s.jsx(er,{small:!0,autoFocus:!0,className:"bg-white rounded-md text-sm font-semibold max-w-[200px] min-w-[120px]",placeholder:a("Enter tab name",{ns:"dashboard"}),onKeyDown:w=>pe(this,null,function*(){w.stopPropagation(),w.key==="Escape"?c.value=!1:w.key==="Enter"&&(i.value.length<=Zd||i.value.length>Qg)?o.value=!0:w.key==="Enter"&&(yield S({updatedTab:{tabName:i.value,tabId:e}}),setTimeout(()=>{c.value=!1},200))}),defaultValue:t,onChange:w=>{o.value&&w.target.value.length>Zd&&w.target.value.length<=Qg||o.value&&w.target.value.length===0?o.value=!1:(w.target.value.length<=Zd||w.target.value.length>Qg)&&(o.value=!0),i.value=w.target.value}})}),s.jsx(Be,{text:a("Rename",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:text-blue-300 border-0",onClick:()=>pe(this,null,function*(){o.value||(yield S({updatedTab:{tabName:i.value,tabId:e}}),setTimeout(()=>{c.value=!1},200))}),children:s.jsx($t,{size:18})})})}),s.jsx(Be,{text:a("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{c.value=!1},children:s.jsx(wr,{size:18})})})})]}):s.jsxs(s.Fragment,{children:[s.jsx(_k,{color:r,itemId:e,onOpen:()=>{m(e)},updateById:S,type:Cl}),s.jsx(Q,{className:"text-ellipsis overflow-hidden first-letter:uppercase border-dashed border-b border-gray-400",onClick:w=>{w.preventDefault(),w.stopPropagation,c.value=!0},title:t,children:t}),s.jsx(Q,{onClick:()=>{c.value=!0},title:a("Edit tab name",{ns:"dashboard"}),className:"ml-0.5 pr-0 pl-1.5 py-0 text-primary/50 h-auto cursor-pointer relative opacity-80 hover:opacity-100",children:s.jsx(Xu,{size:14})}),s.jsxs(xa,{defaultOpen:!1,open:f.value||u.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(Q,{className:"ml-0.5 pr-0 pl-1.5 py-0 text-primary/50 h-auto cursor-pointer opacity-70 hover:opacity-100 hover:text-red-500",title:a("Delete tab",{ns:"dashboard"}),onClick:()=>{h(e)?u.value=!0:f.value=!0},children:s.jsx(xn,{size:14})})}),s.jsx(ea,{sideOffset:16,align:"center",className:"p-3 ".concat(u.value?"bg-amber-100 border-amber-200 dark:bg-yellow-800 dark:border-gray-900":"bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950"," w-60"),onEscapeKeyDown:()=>{f.value=!1,u.value=!1},onPointerDownOutside:()=>{f.value=!1,u.value=!1},children:u.value?s.jsxs(me,{className:"flex-col",children:[s.jsx(J,{justify:"left",size:"md",weight:"bold",color:"waning",children:a("Tab is Not Empty",{ns:"dashboard"})}),s.jsx(kr,{h:1}),s.jsx(J,{color:"black",size:"sm",children:a("You'll need to clear this tab of all boards before it can be deleted.",{ns:"dashboard"})}),s.jsx(kr,{h:3}),s.jsx(ye,{variant:"secondary",size:"mini",className:"py-1 px-4 bg-gray-200 dark:bg-gray-700 dark:hover:bg-gray-700/80",onClick:()=>{u.value=!1},children:a("Got it",{ns:"common"})})]}):f.value&&s.jsxs(me,{className:"flex-col",children:[s.jsx(J,{color:"black",size:"sm",className:"!inline-block",children:s.jsx(ns,{i18nKey:"Are you sure you want to delete {{tabName}} tab?",values:{tabName:t},ns:"dashboard"})}),s.jsx(kr,{h:3}),s.jsxs(me,{children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 dark:hover:text-gray-400 hover:text-gray-600 mr-3 border-gray-100 hover:border-gray-200 dark:bg-gray-900 dark:border-gray-900 dark:hover:border-gray-900 dark:hover:bg-gray-800",onClick:()=>{f.value=!1},children:s.jsx("div",{children:a("Cancel",{ns:"common"})})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-red-100 hover:bg-opacity-80 hover:bg-red-200 text-red-500 hover:text-red-600 border-red-200 dark:bg-red-900 dark:border-red-900 dark:hover:border-red-900 dark:hover:bg-red-800 dark:text-red-300 dark:hover:text-red-200",onClick:()=>pe(this,null,function*(){yield v({tabId:e}),pp.value=!1,qi.value=null}),children:a("Delete Tab",{ns:"dashboard"})})]})]})})]})]})},e)}function Dke({tabId:e,tabName:t,currentTabColor:r}){const{setNodeRef:n,listeners:a,transform:o,transition:i,isDragging:c}=Rw({id:e,animateLayoutChanges:()=>!1,data:{type:Cl,tabId:e}}),u={transition:i,transform:$o.Translate.toString(o)},f=r!=="slate"?"dark:data-[state=active]:bg-".concat(r,"-700"):"dark:data-[state=active]:bg-slate-600";return s.jsx(bn,ee(R({value:e,style:u,asChild:c},Vi.value?{}:a),{ref:n,className:"".concat(f," data-[state=active]:bg-").concat(r,"-50 ").concat(c||Gl.value===e?"border-2 border-dashed border-blue-400 py-1":"transition-none"),children:s.jsxs(me,{className:"justify-start max-w-[260px]",children:[s.jsx(Q,{className:"text-ellipsis overflow-hidden first-letter:uppercase",title:t,children:t}),(Vi.value||c)&&s.jsx(Q,ee(R({},a),{className:"pr-0 pl-1.5 py-0 text-primary/50 h-auto cursor-grab relative",children:c?s.jsx(fz,{size:14}):s.jsx(k1,{size:14})}))]})}),e)}const Hs="board",Lo="clip",Cl="tab";function Ake({historyDragActive:e,isDark:t,dragOverBoardId:r}){var Fe,nt,rt;IN();const{t:n}=At(),{isShowPinned:a,setIsShowPinned:o}=ft(Es),[i,c]=p.useState(null),[u,f]=p.useState(null),[h,m]=p.useState(null),v=p.useRef(null),S=p.useRef(null),{updateTabs:w}=Age(),{invalidateCollectionWithClips:g,isCollectionWithClipsLoadingFinished:b,isCollectionWithClipsLoading:C}=ON(),{updateMovedClips:j}=hk(),{movePinnedClipUpDown:E}=Dge(),[,,,N]=Jf({}),[,,T]=Qf({}),[A,M]=p.useState([]),[D,L]=p.useState(!1),z=p.useRef(null),H=We(!1),V=We(!1),I=We(!1),q=We([]);p.useEffect(()=>{try{q.value=JSON.parse(localStorage.getItem("expandedPanels")||"[]")}catch(Ie){console.error("Failed to load expanded panels",Ie)}},[]),p.useEffect(()=>{try{localStorage.setItem("expandedPanels",JSON.stringify(q.value))}catch(Ie){console.error("Failed to save expanded panels",Ie)}},[q.value.length]);const _=p.useRef({}),$=p.useMemo(()=>{var Ie;return S!=null&&S.current&&((Ie=S==null?void 0:S.current)==null?void 0:Ie.getSize())===0?!1:V.value||H.value},[H.value,V.value,S==null?void 0:S.current]),U=p.useMemo(()=>ur.value,[ur.value]),{createNewItem:K}=pk(),{unPinAllClips:Y}=Mge(),{updatePinnedClipsByIds:B}=TB(),{clipItems:F,pinnedClips:G,tabs:X,tabsLoaded:se,setCurrentTab:re,setTabsByOrder:ie,currentTab:oe,setClipItemsDebounced:ae,setClipItems:fe,currentCollectionId:le}=ft(Tn),{copyPasteSequencePinnedDelay:ue,setCopyPasteSequencePinnedDelay:be,copyPasteSequenceIsReversOrder:Ce,setCopyPasteSequenceIsReversOrder:Pe,isClipNotesHoverCardsEnabled:Ee,clipNotesHoverCardsDelayMS:Oe,clipNotesMaxHeight:Ve,clipNotesMaxWidth:ct}=ft(pn),gt=p.useMemo(()=>F.filter(({parentId:Ie,isBoard:$e,tabId:Ye})=>Ie===null&&$e&&Ye===oe).map(Ie=>Ie.itemId),[F]);p.useEffect(()=>{G.length===0&&(H.value=!1,V.value=!1)},[G]),p.useEffect(()=>{var Ie,$e;G.length>0?(Ie=S==null?void 0:S.current)==null||Ie.expand():($e=S==null?void 0:S.current)==null||$e.collapse()},[G,S]);const[Ke,Et]=p.useState(null),[Re,xt]=p.useState(null),ot=p.useCallback(we,[U,Ke,Re,F]),pt=p.useCallback(Ie=>{M($e=>$e.includes(Ie)?$e.filter(mt=>mt!==Ie):[...$e,Ie])},[M]),_t=y4(hp(kv,{activationConstraint:{tolerance:100,delay:600}}),hp(wv,{coordinateGetter:Mj})),ht=y4(hp(kv,{activationConstraint:{tolerance:10,delay:60}}),hp(wv,{coordinateGetter:Mj})),It=p.useMemo(()=>A.some(Ie=>G.some($e=>$e.id===Ie)),[A,G]),Ft=p.useMemo(()=>F.length>0?os(F,oe):[],[F,oe]),Vt={keyframes({transform:Ie}){return D||Gl.value||u?[{opacity:.7},{opacity:0}]:[{opacity:1,transform:$o.Transform.toString(Ie.initial)},{opacity:0,transform:$o.Transform.toString(R({},Ie.final))}]},easing:"ease-out",duration:D?0:300,sideEffects({active:Ie,dragOverlay:$e}){Re||Gl.value||u?$e.node.animate([{opacity:.7},{opacity:0}],{duration:300,easing:df.easing}):Ie.node.animate([{opacity:0},{opacity:1}],{duration:df.duration,easing:df.easing})}},Ge=p.useMemo(()=>F.filter(({isClip:Ie})=>Ie).map(Ie=>Ie.itemId),[F,Re]),Zt=p.useCallback(Ie=>{var qt;const $e=HQ(Ie),Ye=$e.length>0?$e:m6(Ie);let mt=p6(Ye,"id");if(mt!=null){if(mt in Ge){const Tt=F.map(Rt=>Rt.parentId===mt&&Rt.itemId);Tt.length>0&&(mt=(qt=XO(ee(R({},Ie),{droppableContainers:Ie.droppableContainers.filter(Rt=>Rt.id!==mt&&Tt.includes(Rt.id))}))[0])==null?void 0:qt.id)}return v.current=mt,[{id:mt}]}return v.current?[{id:v.current}]:[]},[Ke,Re,Ge,F]),nr=p.useMemo(()=>e?Cke:b6,[e]),{tabLayoutSplit:vr=1,tabLayout:pr}=(Fe=X.find(Ie=>Ie.tabId===oe))!=null?Fe:{},Wr=((nt=z==null?void 0:z.current)==null?void 0:nt.getSizePixels())||0,Le=((rt=S==null?void 0:S.current)==null?void 0:rt.getSizePixels())||0;p.useEffect(()=>{if(Ii.value||ks.value){const Ie=ks.value||Ii.value,$e=F.find(Ye=>Ye.itemId===Ie);$e!=null&&$e.tabId&&re($e.tabId),Ii.value&&c(Ii.value),setTimeout(()=>{Ii.value=null},2e3)}},[Ii.value,ks.value]);const Mt=Ie=>(_.current[Ie]||(_.current[Ie]=p.createRef()),_.current[Ie]),Ze=p.useMemo(()=>u2e(Ft,Ia.value),[Ia.value,Ft]),mr=p.useMemo(()=>_o.value,[_o.value]);return s.jsxs(nr,{sensors:Vi.value?ht:_t,measuring:{droppable:{strategy:Nf.Always}},collisionDetection:Zt,onDragStart:Se,onDragCancel:()=>{L(!0),Et(null),xt(null),g(),setTimeout(()=>{L(!1)},300)},onDragEnd:je,onDragOver:ot,children:[s.jsx(Zb,{items:gt,strategy:()=>null,children:s.jsxs(rb,{autoSaveId:"ClipsDashboard",direction:"vertical",className:"flex pt-4 clips-dashboard-panel_tour",children:[a&&s.jsxs(s.Fragment,{children:[s.jsxs(x2,{collapsible:!0,ref:S,defaultSize:6,id:"pinned-clips",order:1,minSize:6,maxSize:30,className:"flex flex-col ".concat(Re?u?"bg-orange-200/70 dark:bg-orange-600/70":"bg-orange-100 dark:bg-orange-500/70":"bg-orange-300/40 dark:bg-orange-700/40"," rounded-lg px-2 py-4 pt-3 mx-2 mr-3 relative"),children:[s.jsxs(mj,{id:"clips::pinnedzone",className:"w-full h-full",isActive:!!Re,children:[Re&&s.jsx(Q,{className:"z-100 absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 h-full w-full flex items-center justify-center p-1.5",children:s.jsx(Q,{className:"border-2 ".concat(u?"border-orange-500 dark:border-orange-400":"border-slate-300/80 dark:border-slate-400/80"," border-dashed rounded-md flex items-center justify-center h-full w-full"),children:u?s.jsx(J,{className:"!text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 !font-medium animate-in fade-in duration-300 text-sm",children:n("Drop to Pin",{ns:"dashboard"})}):s.jsx(kc,{size:18,className:"text-orange-500/80 dark:!text-orange-400/80 hover:text-orange-400 animate-in fade-in duration-300"})})}),s.jsx(Hg,{disableWidth:!0,defaultHeight:Le-20,children:({height:Ie})=>s.jsx(en,{style:{height:Ie},onMouseEnter:()=>{H.value=!0},onMouseLeave:()=>{H.value=!1},onClick:()=>{H.value=!0},children:s.jsx(me,{className:"flex flex-wrap justify-normal gap-2 items-start mt-3 mb-1 ml-1 relative ".concat(Re?"opacity-20":""),children:G.map(($e,Ye)=>s.jsx(x_,{clip:$e,isDark:t,isClipNotesHoverCardsEnabled:Ee,clipNotesHoverCardsDelayMS:Oe,clipNotesMaxHeight:Ve,clipNotesMaxWidth:ct,isDisabledPinnedMoveUp:Ye===0,isDisabledPinnedMoveDown:Ye===G.length-1,onMovePinnedUpDown:mt=>{E(mt)},isShowDetails:h===$e.id,setShowDetailsItem:m,setSelectedItemId:pt,isSelected:A.includes($e.id),selectedOrder:A.indexOf($e.id)+1,boardColor:"gray",isShowOrganizeLayoutValue:Vi.value||I.value,isPinnedBoard:!0},$e.id))})})})]}),G.length>0&&!Re&&s.jsxs(me,{className:"justify-between absolute right-0 bottom-1 ".concat(I.value?"px-1":"px-2.5"," w-full"),onMouseEnter:()=>{H.value=!0},onMouseLeave:()=>{H.value=!1},onClick:()=>{H.value=!0},children:[a&&!I.value&&!Vi.value&&s.jsxs(s.Fragment,{children:[s.jsxs(me,{className:"animate-in fade-in duration-300 ".concat(e||u||!$?"opacity-0":""),children:[s.jsx(un,{className:"group text-orange-500/80 dark:!text-orange-400/80 hover:text-orange-400 hover:bg-transparent dark:hover:bg-transparent pl-0.5 pr-1 pt-0 ",title:U?n("Sequence Paste",{ns:"common"}):n("Sequence Copy",{ns:"common"}),children:U?s.jsx(Cs,{size:14,onClick:()=>{N(G.map(Ie=>Ie.id))}}):s.jsx(pa,{size:14,onClick:()=>{T(G.map(Ie=>Ie.id))}})}),s.jsxs(Ir,{onOpenChange:Ie=>{V.value=Ie},children:[s.jsx(Or,{asChild:!0,children:s.jsx(eN,{variant:"outline",title:n("Sequence Delay Next",{ns:"common"}),className:"bg-orange-300/20 border-orange-300/50 dark:bg-orange-900/70 dark:border-orange-800/50 border h-[18px] cursor-pointer px-1.5 ml-1",children:s.jsxs(J,{className:"font-mono !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent font-semibold",children:[ue,"s"]})})}),s.jsxs(Ar,{className:"w-44",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:s.jsx(J,{size:"xs",children:n("Sequence Copy Paste",{ns:"common"})})}),s.jsx(tr,{}),s.jsxs(Xs,{children:[s.jsx($s,{children:s.jsxs(me,{className:"flex w-full",children:[s.jsxs(J,{size:"xs",children:[n("Delay Next",{ns:"common"}),"..."]}),s.jsxs(lt,{className:"ml-auto py-0 bg-slate-200 text-slate-500 dark:bg-slate-700 dark:text-slate-400",variant:"outline",children:[ue,"s"]})]})}),s.jsxs(zs,{children:[s.jsx(rr,{checked:ue===1,onSelect:()=>{be(1)},children:s.jsxs(J,{size:"xs",children:["1 ",n("second",{ns:"common"})]})}),s.jsx(rr,{checked:ue===2,onSelect:()=>{be(2)},children:s.jsxs(J,{size:"xs",children:["2 ",n("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:ue===3,onSelect:()=>{be(3)},children:s.jsxs(J,{size:"xs",children:["3 ",n("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:ue===4,onSelect:()=>{be(4)},children:s.jsxs(J,{size:"xs",children:["4 ",n("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:ue===5,onSelect:()=>{be(5)},children:s.jsxs(J,{size:"xs",children:["5 ",n("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:ue===10,onSelect:()=>{be(10)},children:s.jsxs(J,{size:"xs",children:["10 ",n("seconds",{ns:"common"})]})})]})]}),s.jsxs(Xs,{children:[s.jsx($s,{children:s.jsxs(me,{className:"flex w-full",children:[s.jsxs(J,{size:"xs",children:[n("Reverse Order",{ns:"common"}),"..."]}),s.jsx(lt,{className:"ml-auto py-0 bg-slate-200 text-slate-500 dark:bg-slate-700 dark:text-slate-400",variant:"outline",children:Ce?n("Yes",{ns:"common"}):n("No",{ns:"common"})})]})}),s.jsxs(zs,{children:[s.jsx(rr,{checked:!Ce,onSelect:()=>{Pe(!1)},children:s.jsx(J,{size:"xs",children:n("No",{ns:"common"})})}),s.jsx(rr,{checked:Ce,onSelect:()=>{Pe(!0)},children:s.jsx(J,{size:"xs",children:n("Yes",{ns:"common"})})})]})]})]})]})]}),s.jsxs(Q,{className:"animate-in fade-in duration-300 ".concat(e||u||!$?"opacity-0":""),children:[s.jsx(un,{title:n("Reorder pinned",{ns:"common"}),onClick:()=>{I.value=!I.value},className:"!text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent px-2 pr-0 rounded-sm py-0 h-5",children:s.jsx(fz,{size:15})}),s.jsx(un,{title:It?n("Deselect pinned",{ns:"common"}):n("Select pinned",{ns:"common"}),onClick:()=>{const Ie=A.filter($e=>G.some(Ye=>Ye.id===$e));M(It?A.filter($e=>!Ie.includes($e)):A.concat(G.map($e=>$e.id)))},className:"!text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent px-2 pr-0 rounded-sm py-0 h-5",children:s.jsx(me,{className:"font-medium text-sm gap-1 !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400",children:It?s.jsx($w,{size:15}):s.jsx($6,{size:17})})}),s.jsx(YH,{onOpen:Ie=>{V.value=Ie},onCancel:()=>{setTimeout(()=>{V.value=!1,H.value=!1},300)},onConfirm:()=>{Y({})},buttonClassName:"group !text-orange-400 hover:bg-transparent dark:hover:bg-transparent px-2 pr-0.5 rounded-sm py-0 h-5"})]})]}),I.value&&s.jsxs(ye,{onClick:()=>{I.value=!1},className:"!text-orange-600 dark:!text-orange-300 bg-yellow-400 dark:bg-yellow-800 hover:bg-yellow-400/80 dark:hover:bg-yellow-700/80 px-2 pr-1 mr-0 rounded-sm py-0 h-5 flex items-center justify-center ml-auto",children:[s.jsx(J,{size:"xs",className:"!text-orange-600 dark:!text-orange-300 mr-1",children:n("Done Reorder",{ns:"common"})}),s.jsx($t,{size:15})]})]}),b&&!Re&&s.jsx(un,{title:n("Hide Pinned Board",{ns:"common"}),onClick:()=>{o(!1)},className:"hover:underline group !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent absolute right-1 top-1.5 px-2 pr-1 rounded-sm",children:s.jsxs(me,{className:"font-medium text-xs gap-1",children:[s.jsxs("span",{children:[G.length>0?G.length:n(" No",{ns:"common"})," ",n("Pinned",{ns:"common",count:G.length})]}),s.jsx(wr,{size:14})]})})]}),s.jsx(vW,{isVertical:!0})]}),!C&&se&&s.jsx(Zb,{items:X.map(Ie=>Ie.tabId),disabled:e,strategy:XJ,children:s.jsx(Pke,{tabs:X,selectedItemIds:A,setSelectedItemIds:M,pinnedItemIds:G.map(Ie=>Ie.id),currentTab:oe,setCurrentTab:re})}),s.jsx(x2,{collapsible:!1,order:2,ref:z,id:"boards",children:Wr>0&&s.jsx(Hg,{disableWidth:!0,defaultHeight:Wr-20,children:({height:Ie})=>s.jsxs(en,{style:{height:Ie},children:[Ze?s.jsx(Q,{className:"relative",children:s.jsxs(rb,{style:{height:mr?Ie-14:void 0},direction:"horizontal",children:[s.jsx(bA,{board:Ze,isDark:t,panelHeight:Ie,isHistoryDragActive:e,dragOverBoardId:r,currentTabLayout:mr?"full":"auto",order:Ze.orderNumber,isLastBoard:!0,showDetailsItem:i,setShowDetailsItem:c,selectedItemIds:A,setSelectedItemId:pt},"".concat(oe,"-expanded-").concat(Ze.id)),s.jsx(me,{className:"absolute right-0 w-full bottom-[-13px] z-100",children:s.jsx(ye,{title:_o.value?n("Collapse View",{ns:"contextMenus"}):n("Expand View",{ns:"contextMenus"}),variant:"ghost",size:"mini",className:"px-1.5 py-1 mr-2 text-secondary-foreground/50 ".concat(Oi(Ze.color,"200")," dark:hover:bg-").concat(Ze.color,"-900 hover:").concat(Oi(Ze.color,"200")," cursor-pointer rounded-md flex items-center justify-center"),onClick:()=>{_o.value=!_o.value},children:_o.value?s.jsx(Aae,{size:20}):s.jsx(Mae,{size:20})})})]},"expaned-board")}):Ft.reduce(($e,Ye,mt)=>{const qt=Math.floor(mt/vr);return $e[qt]||($e[qt]=[]),$e[qt].push(Ye),$e},[]).map(($e,Ye)=>{const mt="".concat(oe,"-").concat(Ye),qt=Mt(mt);return s.jsx(rb,{ref:qt,autoSaveId:"".concat(oe,"-panel-group-").concat(Ye),className:"mb-3",style:{height:pr==="full"?Ie-12:void 0},direction:"horizontal",children:$e.map((Tt,Rt)=>s.jsx(bA,{board:Tt,isDark:t,panelHeight:Ie,isHistoryDragActive:e,dragOverBoardId:r,currentTabLayout:pr==="full"?"full":"auto",order:Tt.orderNumber,isLastBoard:Rt===$e.length-1,showDetailsItem:i,setShowDetailsItem:c,selectedItemIds:A,setSelectedItemId:pt},"".concat(oe,"-").concat(Ye,"-").concat(Rt)))},mt)}),se&&!(Ft.length&&X.length)&&s.jsxs(s.Fragment,{children:[!Ft.length&&X.length>0&&s.jsx(me,{className:"flex items-start justify-center w-full absolute top-4",style:{height:Ie},children:s.jsxs(me,{className:"flex-col items-center justify-center",children:[s.jsxs(Ir,{defaultOpen:!0,modal:!1,children:[s.jsx(Or,{className:"mr-1.5 rounded-sm",asChild:!0,children:s.jsx(Q,{className:"flex w-20 group flex-row items-center cursor-pointer justify-center border-2 border-dashed rounded-md p-1.5 hover:border-blue-400 hover:dark:border-blue-500 bg-slate-100 dark:bg-slate-700 text-slate-500 dark:border-slate-500 dark:text-slate-300 border-slate-300",children:s.jsx(Fn,{size:20,className:"group-hover:text-blue-400 dark:group-hover:text-blue-300 text-slate-400"})})}),s.jsxs(Ar,{align:"center",sideOffset:8,children:[s.jsx(He,{disabled:!0,className:"flex justify-center py-0.5 dark:text-gray-400 text-gray-500",children:n("Dashboard",{ns:"dashboard"})}),s.jsx(tr,{}),s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{Jy.value=!0},children:[s.jsx(Mv,{size:16,className:"mr-2"}),s.jsx("span",{children:n("Add First Board",{ns:"dashboard"})})]})]})]}),s.jsx(J,{className:"text-sm mt-4 !text-slate-500",children:n("Create Board",{ns:"dashboard"})})]})}),s.jsx(me,{className:"flex items-center justify-center w-full h-full",style:{height:Ie},children:s.jsx(J,{className:"animate-in fade-in duration-600 text-slate-300 text-xs bg-slate-100 rounded-full px-3 dark:text-slate-600 dark:bg-slate-900",children:X.length?n("No Boards",{ns:"dashboard"}):n("No Tabs or Boards",{ns:"dashboard"})})})]})]})})})]})}),s.jsx(Dc,{children:s.jsxs(m$,{dropAnimation:Vt,children:[Ke&&s.jsx(xW,{board:Ke,isDragPreview:!0,isDark:t,currentTabLayout:"auto",selectedItemIds:A,setSelectedItemId:pt}),Re&&s.jsx(gW,{clip:Re,isDragPreview:!0,isClipNotesHoverCardsEnabled:!1,isDark:t})]})})]});function Se(Ie){if(!Sy(Ie.active))return;Gl.value&&(Gl.value=null);const $e=Ie.active.data.current;($e==null?void 0:$e.type)===Hs?Et($e.board):($e==null?void 0:$e.type)===Lo&&xt($e.clip)}function je(Ie){return pe(this,null,function*(){var Tt,Rt,Xt,Pr,Nr,Vr,qr,Gt,xr,dr,Ns;Et(null),xt(null),setTimeout(()=>{Gl.value=null},100);const{active:$e,over:Ye}=Ie;if(!$e||!Sy($e))return;const mt=$e.id;if(($e==null?void 0:$e.id)===u&&setTimeout(()=>pe(this,null,function*(){f(null),yield B({itemIds:[$e.id],isPinned:!0})}),300),((Tt=$e.data.current)==null?void 0:Tt.type)===Cl&&((Rt=Ye==null?void 0:Ye.data.current)==null?void 0:Rt.type)===Cl){const Kr=Ye==null?void 0:Ye.id,ar=X.findIndex(({tabId:st})=>st===mt),ut=X.findIndex(({tabId:st})=>st===Kr),ge=zn(X,ar,ut),Qe=new Map(ge.map((st,Ht)=>[st.tabId,Ht])),Xe=X.map(st=>{const Ht=Qe.get(st.tabId);return Ht!==void 0&&(st.tabOrderNumber=Ht),st});ie(Xe),yield w({updatedTabs:Xe});return}if(((Xt=Ye==null?void 0:Ye.data.current)==null?void 0:Xt.type)===Cl){const Kr=Ye.id,ar=F.find(ge=>ge.itemId===mt&&ge.isBoard),ut=F.find(ge=>ge.itemId===mt&&ge.isClip);if((ar==null?void 0:ar.tabId)===Kr||(ut==null?void 0:ut.tabId)===Kr||!Kr)return;if(ar){const ge=Ye.id.toString(),Qe=(Nr=(Pr=$e.data)==null?void 0:Pr.current)==null?void 0:Nr.isSubBoard,st=(Qe&&((qr=(Vr=$e.data)==null?void 0:Vr.current)!=null&&qr.board.parentId)?os(F,oe,(xr=(Gt=$e.data)==null?void 0:Gt.current)==null?void 0:xr.board.parentId):os(F,oe)).find(Wt=>Wt.id===mt);if(!st)return;const Ht=st?d_(st):[],Dt=F.filter(Wt=>Wt.tabId===ge&&Wt.isBoard&&Wt.parentId===null).sort((Wt,Mr)=>Wt.orderNumber-Mr.orderNumber);if(Qe)if(Dt.length===0)Dt.push(ar);else{const Wt=Dt[0].itemId.toString(),Mr=F.filter(Ne=>Ne.parentId===Wt&&Ne.tabId===ge).sort((Ne,et)=>Ne.orderNumber-et.orderNumber);Mr.unshift(ar);const yr=new Map(Mr.map((Ne,et)=>[Ne.itemId,et])),ne=new Map(Ht==null?void 0:Ht.map(Ne=>[Ne,!0])),de=[],Me=F.map(Ne=>{const et=yr.get(Ne.itemId);return et!==void 0?(de.push(Ne.itemId),ee(R({},Ne),{orderNumber:et,tabId:ge,parentId:Wt})):ne!=null&&ne.has(Ne.itemId)?(de.push(Ne.itemId),ee(R({},Ne),{tabId:ge})):Ne});fe(Me);const ze=Me.filter(Ne=>de.includes(Ne.itemId)).map(Ne=>({itemId:Ne.itemId,parentId:Ne.parentId,tabId:ge,collectionId:le,orderNumber:Ne.orderNumber}));j({updatedMoveClips:ze}),re(ge.toString());return}Dt.unshift(ar);const Ut=new Map(Dt.map((Wt,Mr)=>[Wt.itemId,Mr])),Jt=new Map(Ht==null?void 0:Ht.map(Wt=>[Wt,!0])),yt=F.map(Wt=>{const Mr=Ut.get(Wt.itemId);return Mr!==void 0?ee(R({},Wt),{orderNumber:Mr,tabId:ge,parentId:null}):Jt!=null&&Jt.has(Wt.itemId)?ee(R({},Wt),{tabId:ge}):Wt});fe(yt);const Je=yt.filter(Wt=>(Wt.parentId===null||Wt.parentId===mt||Jt.has(Wt.parentId))&&Wt.tabId===ge).map(Wt=>({itemId:Wt.itemId,parentId:Wt.parentId,tabId:Wt.tabId,collectionId:le,orderNumber:Wt.orderNumber}));j({updatedMoveClips:Je})}else if(ut){const ge=Ye.id.toString(),Qe=os(F,ge);let Xe=(dr=Qe.find(st=>st.name===n("Moved Clips Panel",{ns:"dashboard"})))==null?void 0:dr.id;if(!Xe){const st=(Ns=X.find(Jt=>Jt.tabId===ge))==null?void 0:Ns.tabColor,Ht={name:n("Moved Clips Panel",{ns:"dashboard"}),isBoard:!0,tabId:ge,color:st,description:n("Panel for moved or copied items from other tabs",{ns:"dashboard"}),parentId:null,collectionId:le,orderNumber:0},Dt=yield K({item:Ht});Qe.sort((Jt,yt)=>Jt.orderNumber-yt.orderNumber).unshift(ee(R({},Ht),{id:Dt,layout:"",type:"board",color:null,showDescription:!0,layoutItemsMaxWidth:"",layoutSplit:1}));const Ut=Qe.map((Jt,yt)=>({itemId:Jt.id,parentId:null,tabId:Jt.tabId,collectionId:le,orderNumber:yt}));j({updatedMoveClips:Ut}),Xe=Dt}if(Xe){const st=Xe.toString(),Ht=ge.toString(),Dt=F.filter(Je=>Je.parentId===st&&Je.tabId===Ht).sort((Je,Wt)=>Je.orderNumber-Wt.orderNumber);Dt.unshift(ut);const Ut=new Map(Dt.map((Je,Wt)=>[Je.itemId,Wt])),Jt=F.map(Je=>{const Wt=Ut.get(Je.itemId);return Wt!==void 0?ee(R({},Je),{orderNumber:Wt,tabId:Ht,parentId:st}):Je});fe(Jt);const yt=Jt.filter(Je=>Je.parentId===st).map(Je=>({itemId:Je.itemId,parentId:st,tabId:Ht,collectionId:le,orderNumber:Je.orderNumber}));j({updatedMoveClips:yt})}}re(Kr.toString());return}let qt=null;for(let Kr=0;Krar.parentId===(qt==null?void 0:qt.parentId)).map(ar=>({itemId:ar.itemId,parentId:ar.parentId,tabId:ar.tabId,collectionId:le,orderNumber:ar.orderNumber}));j({updatedMoveClips:Kr})}})}function we(Ie){var ge,Qe;const{active:$e,over:Ye}=Ie;if(!Ye)return;const mt=(Ye==null?void 0:Ye.id)==="clips::pinnedzone";if($e!=null&&$e.id&&mt?f($e.id):mt||f(null),((ge=Ye.data.current)==null?void 0:ge.type)===Cl&&((Qe=$e==null?void 0:$e.data.current)==null?void 0:Qe.type)!==Cl){const Xe=F.find(({itemId:st})=>st===$e.id);((Xe==null?void 0:Xe.tabId)!==Ye.id||oe!==Ye.id)&&(Gl.value=Ye.id.toString())}else Gl.value&&(Gl.value=null);if(mt)return;const qt=$e.id,Tt=Ye.id;if(qt===Tt||!Sy($e)||!Sy(Ye))return;const Rt=$e.data.current,Xt=Ye.data.current,Pr=(Rt==null?void 0:Rt.type)===Lo,Nr=(Rt==null?void 0:Rt.type)===Hs,Vr=(Xt==null?void 0:Xt.type)===Lo,qr=(Xt==null?void 0:Xt.type)===Hs;if(!Pr&&!Nr||Pr&&qr&&qi.value===Tt)return;if(Pr&&qr&&!U){const Xe=Rt.clip.parentId,st=F.filter(({parentId:yt})=>Xe==yt).sort((yt,Je)=>yt.orderNumber-Je.orderNumber),Ht=st.findIndex(({itemId:yt})=>yt===qt),Dt=st.findIndex(({itemId:yt})=>yt===Tt),Ut=st[Ht],Jt=st[Dt];if(Ut&&Jt&&Ut.parentId===Jt.parentId){const yt=zn(st,Ht,Dt),Je=new Map(yt.map((Mr,yr)=>[Mr.itemId,yr])),Wt=F.map(Mr=>{const yr=Je.get(Mr.itemId);return yr!==void 0&&(Mr.orderNumber=yr),Mr});ae(Wt);return}}else if(Pr&&Vr){const Xe=Rt.clip.parentId,st=F.filter(({parentId:yt,isClip:Je})=>Xe==yt&&Je).sort((yt,Je)=>yt.orderNumber-Je.orderNumber),Ht=st.findIndex(({itemId:yt})=>yt===qt),Dt=st.findIndex(({itemId:yt})=>yt===Tt),Ut=st[Ht],Jt=st[Dt];if(Ut&&Jt&&Ut.parentId===Jt.parentId){const yt=zn(st,Ht,Dt),Je=new Map(yt.map((Mr,yr)=>[Mr.itemId,yr])),Wt=F.map(Mr=>{const yr=Je.get(Mr.itemId);return yr!==void 0&&(Mr.orderNumber=yr),Mr});ae(Wt);return}}else if(Nr&&Vr){const Xe=Xt.clip.parentId,st=F.filter(({parentId:yt})=>Xe==yt).sort((yt,Je)=>yt.orderNumber-Je.orderNumber),Ht=st.findIndex(({itemId:yt})=>yt===qt),Dt=st.findIndex(({itemId:yt})=>yt===Tt),Ut=st[Ht],Jt=st[Dt];if(Ut&&Jt&&Ut.parentId===Jt.parentId){const yt=zn(st,Ht,Dt),Je=new Map(yt.map((Mr,yr)=>[Mr.itemId,yr])),Wt=F.map(Mr=>{const yr=Je.get(Mr.itemId);return yr!==void 0&&(Mr.orderNumber=yr),Mr});ae(Wt);return}}const Gt=F.find(({itemId:Xe,isBoard:st})=>Xe===Tt&&st),xr=F.find(({itemId:Xe,isClip:st})=>Xe===Tt&&st),dr=Gt==null?void 0:Gt.itemId,Ns=xr==null?void 0:xr.itemId,Kr=F.findIndex(({itemId:Xe})=>Xe===qt),ar=F[Kr],ut=Nr?F[Kr]:null;if(dr&&ar.parentId!==dr&&!Nr){const Xe=F.filter(({parentId:Dt})=>dr==Dt).sort((Dt,Ut)=>Dt.orderNumber-Ut.orderNumber);ar.parentId=dr,Xe.unshift(ar);const st=new Map(Xe.map((Dt,Ut)=>[Dt.itemId,Ut])),Ht=F.map(Dt=>{const Ut=st.get(Dt.itemId);return Ut!==void 0?ee(R({},Dt),{orderNumber:Ut}):Dt});ae(Ht);return}if(Ns&&(xr!=null&&xr.parentId)&&ar.parentId!==xr.parentId&&!Nr){ar.parentId=xr.parentId,ar.orderNumber=xr.orderNumber;const Xe=F.filter(({parentId:Ut})=>xr.parentId==Ut).sort((Ut,Jt)=>Ut.orderNumber-Jt.orderNumber);Xe.unshift(ar);const st=zn(Xe,0,xr.orderNumber),Ht=new Map(st.map((Ut,Jt)=>[Ut.itemId,Jt])),Dt=F.map(Ut=>{const Jt=Ht.get(Ut.itemId);return Jt!==void 0?ee(R({},Ut),{orderNumber:Jt}):Ut});ae(Dt);return}if(dr&&Nr&&ut&&(ut==null?void 0:ut.parentId)!==(Gt==null?void 0:Gt.parentId)&&Rt.isSubBoard){ut.parentId=dr;const Xe=F.filter(({parentId:Dt})=>Gt.parentId==Dt).sort((Dt,Ut)=>Dt.orderNumber-Ut.orderNumber);Xe.unshift(ut);const st=new Map(Xe.map((Dt,Ut)=>[Dt.itemId,Ut])),Ht=F.map(Dt=>{const Ut=st.get(Dt.itemId);return Ut!==void 0?ee(R({},Dt),{orderNumber:Ut}):Dt});ae(Ht)}if(dr&&Nr&&(ut==null?void 0:ut.parentId)===(Gt==null?void 0:Gt.parentId)){const Xe=F.filter(({parentId:yt,isBoard:Je,tabId:Wt})=>(Gt==null?void 0:Gt.parentId)==yt&&Je&&Wt===oe).sort((yt,Je)=>yt.orderNumber-Je.orderNumber),st=Xe.findIndex(({itemId:yt})=>yt===(ut==null?void 0:ut.itemId)),Ht=Xe.findIndex(({itemId:yt})=>yt===dr),Dt=zn(Xe,st,Ht),Ut=new Map(Dt.map((yt,Je)=>[yt.itemId,Je])),Jt=F.map(yt=>{const Je=Ut.get(yt.itemId);return Je!==void 0?ee(R({},yt),{orderNumber:Je}):yt});ae(Jt)}}}const Rke=p.memo(Ake);function SA(e,t,r,n=!0,a=!1){const o=m=>r.filter(v=>v.tabId===m),i=m=>e.filter(v=>{var g;if(!(v.parentId===m&&v.isClip))return!1;const S=v.name.toLowerCase().includes(t.toLowerCase()),w=!n&&((g=v.value)==null?void 0:g.toLowerCase().includes(t.toLowerCase()));return S||w}).map(v=>ee(R({},v),{type:Lo,id:v.itemId.toString()})),c=m=>e.filter(v=>v.parentId===m&&v.isClip).map(v=>ee(R({},v),{type:Lo,id:v.itemId.toString()})).sort((v,S)=>v.orderNumber-S.orderNumber),u=e.filter(m=>m.isBoard);let f=0;const h=a?u.filter(m=>m.name.toLowerCase().includes(t.toLowerCase())).map(m=>{var S;const v=c(m.itemId.toString());return ee(R({},m),{type:Hs,showDescription:!1,tabName:(S=o(m.tabId)[0])==null?void 0:S.tabName,id:m.itemId.toString(),children:v})}):u.map(m=>{var S;const v=i(m.itemId.toString());return v.length>0?(f=f+v.length,ee(R({},m),{type:Hs,showDescription:!1,tabName:(S=o(m.tabId)[0])==null?void 0:S.tabName,id:m.itemId.toString(),children:v})):null}).filter(m=>m!==null);return{results:h,count:a?h.length:f}}function Uv(e,t,r=!1){const n=a=>e.map(({itemId:o,name:i,parentId:c,orderNumber:u,isActive:f,isDisabled:h,isDeleted:m,isClip:v,isFolder:S,isSeparator:w})=>({id:o,name:i,parentId:c,orderNumber:u,isActive:f,isDisabled:h,isDeleted:m,isClip:v,isFolder:S,isSeparator:w,children:[]})).filter(o=>o.parentId===a).filter(o=>o.isActive||r&&!o.isActive).sort((o,i)=>o.orderNumber-i.orderNumber).map(o=>(o.children=n(o.id),o.children.length===0&&!o.isFolder&&delete o.children,o));return n(t||null)}function Fj(){return Fj=Object.assign?Object.assign.bind():function(e){for(var t=1;t'),!0):t?e.some(function(r){return t.includes(r)})||e.includes("*"):!0}var Bke=function(t,r,n){n===void 0&&(n=!1);var a=r.alt,o=r.meta,i=r.mod,c=r.shift,u=r.ctrl,f=r.keys,h=t.key,m=t.code,v=t.ctrlKey,S=t.metaKey,w=t.shiftKey,g=t.altKey,b=Ru(m),C=h.toLowerCase();if(!n){if(a===!g&&C!=="alt"||c===!w&&C!=="shift")return!1;if(i){if(!S&&!v)return!1}else if(o===!S&&C!=="meta"&&C!=="os"||u===!v&&C!=="ctrl"&&C!=="control")return!1}return f&&f.length===1&&(f.includes(C)||f.includes(b))?!0:f?Oke(f):!f},Uke=p.createContext(void 0),Wke=function(){return p.useContext(Uke)};function CW(e,t){return e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).reduce(function(r,n){return r&&CW(e[n],t[n])},!0):e===t}var Vke=p.createContext({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),qke=function(){return p.useContext(Vke)};function Kke(e){var t=p.useRef(void 0);return CW(t.current,e)||(t.current=e),t.current}var jA=function(t){t.stopPropagation(),t.preventDefault(),t.stopImmediatePropagation()},Gke=typeof window!="undefined"?p.useLayoutEffect:p.useEffect;function Os(e,t,r,n){var a=p.useRef(null),o=p.useRef(!1),i=r instanceof Array?n instanceof Array?void 0:n:r,c=y_(e)?e.join(i==null?void 0:i.splitKey):e,u=r instanceof Array?r:n instanceof Array?n:void 0,f=p.useCallback(t,u!=null?u:[]),h=p.useRef(f);u?h.current=f:h.current=t;var m=Kke(i),v=qke(),S=v.enabledScopes,w=Wke();return Gke(function(){if(!((m==null?void 0:m.enabled)===!1||!Hke(S,m==null?void 0:m.scopes))){var g=function(N,T){var A;if(T===void 0&&(T=!1),!(Fke(N)&&!kW(N,m==null?void 0:m.enableOnFormTags))&&!(m!=null&&m.ignoreEventWhen!=null&&m.ignoreEventWhen(N))){if(a.current!==null&&document.activeElement!==a.current&&!a.current.contains(document.activeElement)){jA(N);return}(A=N.target)!=null&&A.isContentEditable&&!(m!=null&&m.enableOnContentEditable)||PS(c,m==null?void 0:m.splitKey).forEach(function(M){var D,L=MS(M,m==null?void 0:m.combinationKey);if(Bke(N,L,m==null?void 0:m.ignoreModifiers)||(D=L.keys)!=null&&D.includes("*")){if(T&&o.current)return;if($ke(N,L,m==null?void 0:m.preventDefault),!zke(N,L,m==null?void 0:m.enabled)){jA(N);return}h.current(N,L),T||(o.current=!0)}})}},b=function(N){N.key!==void 0&&(bW(Ru(N.code)),((m==null?void 0:m.keydown)===void 0&&(m==null?void 0:m.keyup)!==!0||m!=null&&m.keydown)&&g(N))},C=function(N){N.key!==void 0&&(wW(Ru(N.code)),o.current=!1,m!=null&&m.keyup&&g(N,!0))},j=a.current||(i==null?void 0:i.document)||document;return j.addEventListener("keyup",C),j.addEventListener("keydown",b),w&&PS(c,m==null?void 0:m.splitKey).forEach(function(E){return w.addHotkey(MS(E,m==null?void 0:m.combinationKey,m==null?void 0:m.description))}),function(){j.removeEventListener("keyup",C),j.removeEventListener("keydown",b),w&&PS(c,m==null?void 0:m.splitKey).forEach(function(E){return w.removeHotkey(MS(E,m==null?void 0:m.combinationKey,m==null?void 0:m.description))})}}},[c,m,S]),a}function Yke({id:e,isSelected:t,deletingMenuItemIds:r,itemParentId:n,isDisabled:a,isImage:o,isClip:i,isSeparator:c,isActive:u,isFolder:f,isOpen:h,setOpenItemId:m,itemOrderNumber:v,hasChildren:S,deselectItemById:w,setSelectedItemIds:g,selectItemById:b}){const{t:C}=At(),{duplicateMenuItem:j}=Nge(),{deleteMenuItemById:E}=_B(),{updateMenuItemById:N}=R1(),{updateMovedMenuItems:T}=$N(),A=sa(),{menuItems:M,currentCollectionId:D}=ft(Tn);return s.jsx(D1,{children:s.jsxs(Zm,{className:"w-[150px]",children:[u?i?s.jsxs(s.Fragment,{children:[s.jsx(St,{disabled:!0,className:"flex justify-center py-0",children:C("Link To Clip",{ns:"contextMenus"})}),s.jsx(zr,{})]}):f?s.jsxs(s.Fragment,{children:[s.jsx(St,{disabled:!0,className:"flex justify-center py-0",children:C("Submenu",{ns:"contextMenus"})}),s.jsx(zr,{})]}):c?s.jsxs(s.Fragment,{children:[s.jsx(St,{disabled:!0,className:"flex justify-center py-0",children:C("Separator",{ns:"contextMenus"})}),s.jsx(zr,{})]}):s.jsxs(s.Fragment,{children:[s.jsx(St,{disabled:!0,className:"flex justify-center py-0",children:C("Menu",{ns:"contextMenus"})}),s.jsx(zr,{})]}):s.jsxs(s.Fragment,{children:[s.jsx(St,{disabled:!0,className:"flex justify-center py-0",children:C("Menu is Not Active",{ns:"contextMenus"})}),s.jsx(zr,{}),s.jsxs(St,{onClick:()=>{N({updatedItem:{itemId:e,isActive:!0}})},children:[C("Activate",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Fm,{size:15,className:"ml-auto"})})]}),s.jsx(zr,{})]}),t?s.jsxs(St,{onClick:()=>{w==null||w(e)},children:[C("Deselect",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(H6,{size:15})})]}):s.jsxs(St,{onClick:()=>{b==null||b(e)},children:[C("Select",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Oa,{size:15})})]}),s.jsx(zr,{}),As.value!==e&&!i&&s.jsxs(St,{disabled:!u||ro.value,onClick:()=>{As.value=e,Ki.value=!0},children:[C("Edit Label",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Xu,{size:14})})]}),!i&&!f&&As.value!==e&&s.jsxs(St,{disabled:!u||ro.value,onClick:()=>{As.value=e},children:[o?C("Edit Image",{ns:"contextMenus"}):C("Edit Value",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(h2,{size:15})})]}),i&&s.jsxs(s.Fragment,{children:[s.jsxs(St,{disabled:!u||ro.value,onClick:()=>{ks.value=e,Ii.value=e,A("/history",{replace:!0})},children:[C("Edit Clip",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(h2,{size:15})})]}),s.jsxs(St,{disabled:!u||ro.value,onClick:()=>{Ii.value=e,A("/history",{replace:!0})},children:[C("Locate Clip",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(zw,{size:15})})]})]}),s.jsx(zr,{}),s.jsxs(St,{disabled:!u,onClick:()=>pe(this,null,function*(){g&&g([e]),ro.value=!0}),children:[C("Add New Item",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(Pz,{size:15})})]}),!i&&s.jsxs(St,{disabled:!u,onClick:()=>pe(this,null,function*(){var I;if(!D)return;const L=yield j({itemId:e,parentId:n!=null?n:null,orderNumber:v+2,collectionId:D}),z=Uv(M);z.unshift({name:C("Copy of ",{ns:"common"})+((I=z.find(q=>q.id===e))==null?void 0:I.name),parentId:n!=null?n:null,orderNumber:v+2,id:L});const H=U4(z,n!=null?n:null,[L],v+2),V=H==null?void 0:H.map(({id:q,parentId:_,orderNumber:$})=>({itemId:q,parentId:_,tabId:null,collectionId:D,orderNumber:$}));T({updatedMoveMenuItems:V})}),children:[C("Duplicate",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(M6,{size:15})})]}),s.jsx(zr,{}),a?s.jsxs(St,{disabled:!u,onClick:()=>{N({updatedItem:{itemId:e,isDisabled:!1}})},children:[C("Make Enabled",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(jz,{size:15,className:"ml-auto"})})]}):s.jsxs(St,{disabled:!u,onClick:()=>{N({updatedItem:{itemId:e,isDisabled:!0}}),h&&(m==null||m(null))},children:[C("Make Disabled",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(pm,{size:15,className:"ml-auto"})})]}),s.jsx(zr,{}),u&&s.jsxs(St,{onClick:()=>{N({updatedItem:{itemId:e,isActive:!1}}),h&&(m==null||m(null))},children:[C("Make Inactive",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(w1,{size:15,className:"ml-auto"})})]}),s.jsxs(Q,{className:"group",children:[s.jsxs(St,{className:eu.value===e?"!bg-red-100 dark:!bg-red-900":"",disabled:S,onClick:L=>{var z,H;eu.value===e?(E({itemId:e,collectionId:D}),r.value=(H=(z=r.value)==null?void 0:z.filter(V=>V!==e))!=null?H:[],w==null||w(e),eu.value):(L.preventDefault(),eu.value=e,r.value=r.value?[...r.value,e]:[e],setTimeout(()=>{var V,I;eu.value=null,r.value=(I=(V=r.value)==null?void 0:V.filter(q=>q!==e))!=null?I:[]},3e3))},children:[s.jsx(J,{className:"".concat(S?"!text-gray-500":"!text-red-500"),children:eu.value!==e?C("Delete",{ns:"common"}):C("Click to Confirm",{ns:"common"})}),!eu.value&&s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(xn,{size:15,className:"".concat(S?"!text-gray-500":"!text-red-500")})})]}),S&&s.jsx(me,{className:"p-0.5",children:s.jsx(J,{className:"!text-gray-400/80 text-[11px] group-hover:!text-amber-500",children:C("Remove Submenus First",{ns:"common"})})})]})]})})}function Zke(){const{data:e=[]}=ld("get_clipboard_history_pinned");return e.forEach(t=>{if(t.links)try{t.arrLinks=JSON.parse(t.links)}catch(r){t.arrLinks=[]}t.hasEmoji&&(t.hasEmoji=oz(t.value))}),{pinnedClipboardHistory:e}}function Xke(){const e=gr(),{mutate:t}=Ur("update_clipboard_history_by_id",{onSuccess:r=>{r==="ok"?(e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})):console.log("update clipboard error",r)}});return{updateClipboardHistoryById:t}}function SW(){const e=gr(),{mutate:t}=Ur("update_pinned_clipboard_history_by_ids",{onSuccess:r=>{r==="ok"?(e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})):console.log("update clipboard error",r)}});return{pinnedClipboardHistoryByIds:t}}function Qke(){const e=gr(),{mutate:t}=Ur("unpin_all_clipboard_history_items",{onSuccess:r=>{r==="ok"?(e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})):console.log("update clipboard error",r)}});return{unPinAllClipboardHistory:t}}function Jke(){const e=gr(),{mutate:t}=Ur("move_pinned_item_up_down",{onSuccess:r=>{r==="ok"?e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]}):console.log("update clipboard error",r)}});return{movePinnedClipboardHistoryUpDown:t}}function jW(){const e=gr(),{data:t,isLoading:r,isFetched:n,fetchNextPage:a,isFetchingNextPage:o,error:i}=AY({queryKey:["get_clipboard_history"],queryFn:({pageParam:u})=>{const{limit:f=V5,offset:h=0}=u!=null?u:{};return Fs("get_clipboard_history",{limit:f,offset:h})},initialPageParam:{limit:V5,offset:0},getNextPageParam:(u,f)=>{const h=f==null?void 0:f.reduce((m,v)=>{var S;return m+((S=v==null?void 0:v.length)!=null?S:0)},0);return h?{limit:V5,offset:h}:null}}),{setClipboardHistory:c}=ft(hi);return p.useEffect(()=>{if(Array.isArray(t==null?void 0:t.pages)){const u=!(t!=null&&t.pages.flat().length);c(t==null?void 0:t.pages.flat(),u)}},[t]),{infiniteClipboardHistory:t,invalidateClipboardHistoryQuery:()=>{e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})},isClipboardInfiniteHistoryLoading:r,isClipboardInfiniteHistoryFetched:n,fetchNextClipboardHistoryPage:a,isClipboardHistoryFetchingNextPage:o,isClipboardInfiniteHistoryError:i}}function eCe({query:e="",filters:t=[],codeFilters:r=[]}){const n=gr(),{data:a,refetch:o,isLoading:i,isFetched:c,error:u}=ld("find_clipboard_histories_by_value_or_filters",{query:e,filters:t,codeFilters:r,useQueryOptions:{enabled:!1,refetchOnWindowFocus:!1}}),{setClipboardHistory:f}=ft(hi);return p.useEffect(()=>{Array.isArray(a)&&f(a,!0,!0)},[a]),{foundClipboardHistory:a,invalidateFindClipboardHistoryQuery:()=>{n.invalidateQueries({queryKey:["find_clipboard_histories_by_value_or_filters"]})},refetchFindClipboardHistory:o,isFoundClipboardHistoryLoading:i,isFlundClipboardHistoryFetched:c,isFoundClipboardHistoryError:u}}function b_(){const e=gr(),{mutate:t}=Ur("delete_clipboard_history_by_ids",{onSuccess:r=>{r==="ok"?(e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})):console.log("delete clipboard error",r)}});return{deleteClipboardHistoryByIds:t}}function tCe(){const e=gr(),{mutate:t}=Ur("clear_clipboard_history_older_than",{onSuccess:r=>{r==="ok"?(e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})):console.log("clear clipboard error",r)}});return{clearClipboardHistoryOlderThan:t}}const{FOLDER:rCe,ITEM:Hh,SEPARATOR:nCe,DISABLED:sCe}=qo;function G2({isCreatingMenuItem:e,currentMenuItemId:t,parentId:r,orderNumber:n,showEditMenuItemId:a,isMainCreateMenu:o,isDark:i,isFistItemsCreateMenu:c}){const{t:u}=At(),[f,h]=p.useState(""),[m,v]=p.useState(""),{clipboardHistory:S}=ft(hi),{fetchNextClipboardHistoryPage:w}=jW(),{collectionWithClips:g,fetchCollectionWithClips:b}=NB(),C=(g==null?void 0:g.clips)||[],j=mo(f,300),E=mo(m,300),N=p.useMemo(()=>j.length<1?C.filter(M=>M.isClip).sort((M,D)=>M.updatedAt&&D.updatedAt?D.updatedAt-M.updatedAt:0).slice(0,50).map(({name:M,itemId:D})=>({name:M.length>50?"".concat(M.substring(0,50),"..."):M,id:D})):C.filter(M=>M.isClip&&M.name.toLowerCase().includes(j.toLowerCase())).sort((M,D)=>M.updatedAt&&D.updatedAt?D.updatedAt-M.updatedAt:0).slice(0,50).map(({name:M,itemId:D})=>({name:M.length>50?"".concat(M.substring(0,50),"..."):M,id:D})),[C,j]),T=p.useMemo(()=>E.length<1?S.sort((M,D)=>D.updatedAt-M.updatedAt).slice(0,50).map(({value:M,historyId:D,isImage:L,imageWidth:z,imageHeight:H,detectedLanguage:V,isLink:I})=>({isImage:L,isLink:I,detectedLanguage:V,name:M!=null&&M.length&&(M==null?void 0:M.length)>80?"".concat(M==null?void 0:M.substring(0,80),"..."):L?"".concat(u("Image",{ns:"common"})," (").concat(z,"x").concat(H,")"):M,id:D})):S.filter(M=>{var D;return M!=null&&M.value?(D=M==null?void 0:M.value)==null?void 0:D.toLowerCase().includes(E.toLowerCase()):"Image".toLocaleLowerCase().includes(E.toLowerCase())}).sort((M,D)=>D.updatedAt-M.updatedAt).slice(0,50).map(({value:M,historyId:D,isImage:L,imageWidth:z,imageHeight:H,detectedLanguage:V,isLink:I})=>({isImage:L,isLink:I,detectedLanguage:V,name:M!=null&&M.length&&(M==null?void 0:M.length)>80?"".concat(M==null?void 0:M.substring(0,80),"..."):L?"".concat(u("Image",{ns:"common"})," (").concat(z,"x").concat(H,")"):M,value:M,id:D})),[S,E]);p.useEffect(()=>{S.length||w(),b()},[]);function A(){ff(),e.value=!1,xu.value=null,Id.value=null}return s.jsxs(Ir,{modal:!1,defaultOpen:c,children:[s.jsx(Or,{asChild:!0,disabled:!!xu.value||!!Id.value||!!Ld.value,children:o?s.jsx(s.Fragment,{children:e.value?s.jsxs(ye,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80 py-1.5 absolute top-1 right-1 rounded-sm",onClick:()=>{A()},children:[s.jsx(J,{className:"whitespace-nowrap",children:u("Done Adding",{ns:"common"})}),s.jsx("div",{className:"ml-auto pl-1.5",children:s.jsx($t,{size:15})})]}):s.jsx(s.Fragment,{children:a.value?s.jsxs(un,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80 py-1.5 absolute top-1 right-1 rounded-sm",onClick:()=>{A()},children:[s.jsx(J,{className:"whitespace-nowrap",children:u("Done Edit",{ns:"common"})}),s.jsx("div",{className:"ml-auto pl-1.5",children:s.jsx($t,{size:15})})]}):s.jsx(un,{className:"bg-slate-200 dark:bg-slate-700 dark:hover:bg-slate-700/80 p-1.5 text-slate-500 dark:text-slate-300 rounded-sm flex items-center group absolute top-1 right-1",id:"add-menu-item__tour",onClick:()=>{e.value=!0},children:s.jsx(Be,{asChild:!0,side:"bottom",isCompact:!0,sideOffset:12,text:u("Add item",{ns:"menus"}),children:s.jsx(Fn,{size:20,className:"transition-colors group-hover:text-slate-400"})})})})}):s.jsx(Q,{id:"add-menu-item__tour",className:"flex group flex-row items-center cursor-pointer justify-center border-2 border-dashed rounded-md p-1.5 hover:border-blue-400 hover:dark:border-blue-500 bg-slate-100 dark:bg-slate-700 text-slate-500 dark:border-slate-500 dark:text-slate-300",onClick:()=>{if(!xu.value&&!Id.value&&!Ld.value)return;if(Ld.value){Qa.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:Hh,text:Ld.value},Ld.value="";return}const M=S.find(({historyId:L})=>L===xu.value),D=C.find(({itemId:L})=>L===Id.value);xu.value=null,Id.value=null,M?Qa.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:Hh,clipboardHistoryItem:M,historyId:M.historyId.toString()}:D&&(Qa.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:Hh,clipId:D.itemId})},children:s.jsx(Fn,{size:20,className:"group-hover:text-blue-400 dark:group-hover:text-blue-300 text-slate-400"})})}),s.jsxs(Ar,{align:"center",sideOffset:c?12:0,children:[s.jsx(He,{disabled:!0,className:"py-0.5 pb-1 flex justify-center border-b border-gray-200 dark:border-gray-600 text-slate-500 dark:text-slate-400",children:c?u("Add First Item",{ns:"menus"}):u("Add Item",{ns:"menus"})}),s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{Qa.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:Hh}},children:[s.jsx($w,{size:16,className:"mr-2"}),s.jsx("span",{children:u("Menu Item",{ns:"menus"})})]}),s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{Qa.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:rCe}},children:[s.jsx(hm,{size:16,className:"mr-2"}),s.jsx("span",{children:u("Submenu",{ns:"menus"})})]}),s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{Qa.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:nCe}},children:[s.jsx(Sz,{size:16,className:"mr-2"}),s.jsx("span",{children:u("Separator",{ns:"menus"})})]}),s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{Qa.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:sCe}},children:[s.jsx(pm,{size:16,className:"mr-2"}),s.jsx("span",{children:u("Disabled Item",{ns:"menus"})})]}),(T.length>0||N.length>0)&&s.jsx(tr,{}),T.length>0&&s.jsxs(Xs,{children:[s.jsxs($s,{children:[s.jsx(kie,{size:16,className:"mr-2"}),s.jsx("span",{children:u("Recent History",{ns:"common"})})]}),s.jsxs(zs,{className:"w-60",children:[s.jsx(me,{className:"focus:bg-transparent px-1 py-0.5 pb-1",onKeyDown:M=>M.stopPropagation(),children:s.jsx(Qu,{placeholder:"".concat(u("Find History",{ns:"common"})," ..."),type:"search",autoFocus:!0,onChange:M=>{v(M.target.value)},value:m,iconLeft:s.jsx(mm,{className:"h-4 w-4"}),classNameInput:"w-full pr-0 h-7",className:"text-md w-[260px] ring-offset-0 py-1 bg-slate-100 dark:bg-slate-700 border-r-0 border-t-0 border-b-0 h-8"})}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:T.map(({name:M,id:D,isImage:L,detectedLanguage:z,isLink:H},V)=>s.jsx(He,{onKeyDown:I=>I.stopPropagation(),className:"".concat(V>0?"border-t":""," border-slate-100 dark:border-slate-800/90 ml-1 rounded-none"),onClick:()=>{Qa.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:Hh,clipboardHistoryItem:S.find(({historyId:I})=>I===D),historyId:D}},children:z?s.jsxs(Q,{className:"text-sm overflow-hidden text-ellipsis",children:[s.jsx(va,{isDark:i,searchTerm:"",isLargeView:!1,isShowMore:!1,isWrapped:!0,value:M!=null?M:"",language:z}),s.jsx(lt,{variant:"secondary",className:"absolute right-1 bottom-1",children:z})]}):s.jsxs(Q,{className:"relative overflow-hidden text-ellipsis",children:[s.jsx("code",{className:"text-sm line-clamp-2",children:M}),L&&s.jsx(lt,{variant:"secondary",className:"absolute right-1 bottom-1",children:u("Type:::Image",{ns:"common"})}),H&&s.jsx(lt,{variant:"secondary",className:"absolute right-1 bottom-1",children:u("Type:::Link",{ns:"common"})})]})},D))})]})]}),N.length>0&&s.jsxs(Xs,{children:[s.jsxs($s,{children:[s.jsx(qae,{size:16,className:"mr-2"}),s.jsx("span",{children:u("Link to Clip",{ns:"menus"})})]}),s.jsxs(zs,{className:"w-52",children:[s.jsx(me,{className:"focus:bg-transparent px-1 py-0.5 pb-1",onKeyDown:M=>M.stopPropagation(),children:s.jsx(Qu,{placeholder:"".concat(u("Find Clip",{ns:"common"})," ..."),type:"search",autoFocus:!0,onChange:M=>{h(M.target.value)},value:f,iconLeft:s.jsx(mm,{className:"h-4 w-4"}),classNameInput:"w-full pr-0 h-7",className:"text-md w-[260px] ring-offset-0 py-1 bg-slate-100 dark:bg-slate-700 border-r-0 border-t-0 border-b-0 h-8"})}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:N.map(({id:M,name:D},L)=>s.jsx(He,{onKeyDown:z=>z.stopPropagation(),className:"".concat(L>0?"border-t":""," border-slate-100 dark:border-slate-800/90 ml-1 rounded-none"),onClick:()=>{Qa.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:Hh,clipId:M}},children:s.jsx("span",{children:D})},M!=null?M:L))})]})]})]})]})}const ig={isCode:!1,isText:!1,isForm:!1,isImage:!1,isCommand:!1,isWebRequest:!1,isWebScraping:!1,isLink:!1,isPath:!1,detectedLanguage:""},aCe=({itemId:e,isCode:t,isImage:r,isText:n,isLink:a,isPath:o,detectedLanguage:i,children:c})=>{const{t:u}=At(),{CONST:{APP_DETECT_LANGUAGES_SUPPORTED:f}}=ft(pn),{updateMenuItemById:h}=R1();return s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:c}),s.jsxs(Ar,{className:"w-48",sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:s.jsx(J,{children:u("Menu Type",{ns:"menus"})})}),s.jsx(tr,{}),s.jsx(rr,{checked:!!n,onClick:()=>{h({updatedItem:ee(R({},ig),{isText:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(n?"font-semibold":""),children:u("TypeMenu:::Plain Text",{ns:"common"})})}),s.jsx(rr,{checked:!!a,onClick:()=>{h({updatedItem:ee(R({},ig),{isLink:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(a?"font-semibold":""),children:u("TypeMenu:::Link or Email",{ns:"common"})})}),s.jsx(rr,{checked:!!r,onClick:()=>{h({updatedItem:ee(R({},ig),{isImage:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(r?"font-semibold":""),children:u("TypeMenu:::Image",{ns:"common"})})}),s.jsx(rr,{checked:!!o,onClick:()=>{h({updatedItem:ee(R({},ig),{isPath:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(o?"font-semibold":""),children:u("TypeMenu:::File, Path or App",{ns:"common"})})}),s.jsxs(Xs,{children:[s.jsxs($s,{children:[t?s.jsx($t,{className:"mr-2 h-4 w-4"}):s.jsx(Q,{className:"mr-2 h-4 w-4"}),s.jsxs(J,{className:"".concat(t?"!font-semibold":""),children:[u("TypeMenu:::Code Snippet",{ns:"common"})," ..."]})]}),s.jsxs(zs,{className:"w-40",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:i?s.jsx(J,{children:EA(i)}):s.jsx(J,{children:u("Select Language",{ns:"common"})})}),s.jsx(tr,{}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"290px"},autoHide:!1,children:f.map(m=>s.jsx(rr,{checked:i===m,className:"".concat(i===m?"font-semibold ":""),onClick:()=>{h({updatedItem:ee(R({},ig),{isCode:!0,detectedLanguage:m,itemId:e})})},children:EA(m)},m))})]})]})]})]})};function EA(e){return e.charAt(0).toUpperCase()+e.slice(1)}function oCe({itemId:e,deletingMenuItemIds:t,onComplete:r}){const{t:n}=At(),a=We(!1),o=()=>{a.value=!1,t.value=null},{currentCollectionId:i}=ft(Tn),{deleteMenuItemById:c}=_B();return s.jsxs(xa,{defaultOpen:!1,open:a.value,children:[s.jsx(ya,{asChild:!0,children:s.jsxs(ye,{variant:"ghost",title:n("Delete Clip",{ns:"dashboard"}),onClick:()=>{a.value=!0,t.value=[e]},className:"px-2 h-7 w-full py-0 text-red-500 dark:!text-red-600 hover:text-red-500 bg-transparent hover:bg-red-100 opacity-80 hover:opacity-100",children:[s.jsx(xn,{size:16}),s.jsx(J,{className:"ml-1 !text-red-500 dark:!text-red-600 !font-medium",children:n("Delete",{ns:"common"})})]})}),s.jsx(ea,{sideOffset:16,align:"center",className:"p-3 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-60",onEscapeKeyDown:()=>{o()},onPointerDownOutside:()=>{o()},children:a.value&&s.jsxs(me,{className:"flex-col",children:[s.jsx(J,{color:"black",size:"sm",className:"!inline-block",children:n("Are you sure you want to delete?",{ns:"common"})}),s.jsx(kr,{h:3}),s.jsxs(me,{children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 dark:hover:text-gray-400 hover:text-gray-600 mr-3 border-gray-100 hover:border-gray-200 dark:bg-gray-900 dark:border-gray-900 dark:hover:border-gray-900 dark:hover:bg-gray-800",onClick:()=>{o()},children:n("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-red-100 hover:bg-opacity-80 hover:bg-red-200 text-red-500 hover:text-red-600 border-red-200 dark:bg-red-900 dark:border-red-900 dark:hover:border-red-900 dark:hover:bg-red-800 dark:text-red-300 dark:hover:text-red-200 whitespace-nowrap",onClick:()=>pe(this,null,function*(){yield c({itemId:e,collectionId:i}),r()}),children:n("Delete Menu",{ns:"menus"})})]})]})})]})}function iCe({itemId:e,value:t,isCode:r,detectedLanguage:n,isText:a,isClip:o,isMasked:i,isVideo:c,isImage:u,isDelete:f,hasEmoji:h,isPath:m,imageDataUrl:v,isDark:S,deletingMenuItemIds:w,isLink:g,onCancel:b}){const{t:C}=At(),j=We(""),E=We(!1),N=We(Date.now()),T=We(!1),A=We(void 0),M=We(void 0),D=We(void 0),L=We(void 0),{updateMenuItemById:z}=R1(),H=p.useRef(null),V=mo(j.value,300),{metadataLinkByItemId:I,invalidateLinkMetadataByItemId:q}=A1(g,e),_=(I==null?void 0:I.linkTitle)&&(I==null?void 0:I.linkDomain);p.useEffect(()=>{j.value=t!=null?t:""},[t]),p.useEffect(()=>{if(g){const B=Rn().match(j.value);!B||B.length>1?A.value=!0:A.value=!1}},[g]);const $=p.useCallback(Y=>pe(this,null,function*(){const F=t===j.value?t:Y;m&&F.length>5&&Sr("check_path",{path:F}).then(()=>{M.value=!1}).catch(()=>{M.value=!0})}),[m]);p.useEffect(()=>{m&&V.length>5&&$(V)},[m,V]),p.useEffect(()=>{(A.value||M.value||L.value||D.value)&&T.value&&(E.value=!0)},[A.value,M.value,D.value,L.value,T.value]);const U=(Y=!1)=>pe(this,null,function*(){if(Ki.value){yu.value=!0;return}let B=null;if(yu.value=!1,E.value=!1,T.value=!0,A.value=void 0,M.value=void 0,Y)B=m?"Error":null;else{if(g){const G=Rn().match(j.value);if(!G||G.length>1){A.value=!0;return}}if(m)try{B=yield Sr("path_type_check",{path:j.value})}catch(F){B="Error",M.value=!0;return}}yield z({updatedItem:ee(R({value:j.value},B&&m?{pathType:B}:{}),{itemId:e})}),setTimeout(()=>{T.value=!1,b()},200)}),K=p.useMemo(()=>r?C("TypeMenu:::Code Snippet",{ns:"common"}):u?C("TypeMenu:::Image",{ns:"common"}):g?C("TypeMenu:::Link or Email",{ns:"common"}):m?C("TypeMenu:::Link or File, Path or App",{ns:"common"}):C("TypeMenu:::Plain Text",{ns:"common"}),[r,u,g,m]);return s.jsx(eh,{className:hr("px-2 pr-1.5 pb-1.5 m-0.5 mt-0 pt-1 mx-1 text-left flex flex-row rounded-md select-auto",f&&"bg-red-50 dark:bg-red-900"),children:s.jsxs(Q,{className:"w-full mt-0",children:[o?s.jsx(Q,{className:"mt-2",children:s.jsx(me,{className:"gap-1 w-full justify-start",children:s.jsx(J,{className:"font-semibold",size:"sm",children:C("Clip value can't edit",{ns:"menus"})})})}):s.jsx(s.Fragment,{children:u?s.jsxs(Q,{className:"px-0 py-1.5 flex items-center justify-center relative",children:[s.jsx("img",{src:v||xf,draggable:!1,decoding:"async",height:"auto",className:"max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-400"}),s.jsx(Q,{className:"absolute",children:v?s.jsx(JU,{id:e,isMenu:!0}):s.jsx(ZU,{id:e})})]}):m?s.jsxs(me,{className:"relative text-normal",children:[s.jsx(er,{defaultValue:j.value,placeholder:C("Enter full path to file, folder or application",{ns:"dashboard"}),classNameInput:"pr-10 text-sm focus:border- ".concat(M.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(M.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:s.jsx(Q,{className:"absolute top-3 right-4",children:M.value?s.jsx(Be,{text:C("File, folder or app path might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 dark:bg-yellow-900 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx(pi,{size:18,className:"text-yellow-500 cursor-pointer"})}):M.value===!1&&s.jsx(Be,{text:C("File, folder or app path is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 dark:bg-green-900 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx($t,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:Y=>{j.value=Y.target.value}},N.value),s.jsx(XU,{onCallBack:Y=>{N.value=Date.now(),j.value=Y}})]}):g?s.jsxs(me,{className:"relative text-normal mt-1 flex-col",children:[s.jsx(er,{defaultValue:j.value,placeholder:C("Enter web link or email",{ns:"dashboard"}),classNameInput:"pr-7 text-sm focus:border- ".concat(A.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(A.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:s.jsx(Q,{className:"absolute top-3 right-2",children:A.value?s.jsx(Be,{text:C("Web Link or Email might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 dark:bg-yellow-900 dark:text-slate-200 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx(pi,{size:18,className:"text-yellow-500 cursor-pointer"})}):A.value===!1&&s.jsx(Be,{text:C("Web or Email link is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 dark:bg-green-900 dark:text-slate-200 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx($t,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:Y=>{if(A.value&&(A.value=void 0),Y.target.value.length>5){const F=Rn().match(Y.target.value);!F||F.length>1?A.value=!0:A.value=!1}j.value=Y.target.value}}),_&&s.jsx(Q,{className:"self-start mt-2 mb-0 text-xs w-full select-none overflow-hidden",children:s.jsx(e0,{isDisabled:_n(j.value)!==(I==null?void 0:I.linkUrl),title:I==null?void 0:I.linkTitle,description:I==null?void 0:I.linkDescription,favicon:I==null?void 0:I.linkFavicon,link:I==null?void 0:I.linkUrl,image:I==null?void 0:I.linkImage,imageWidth:12,domain:I==null?void 0:I.linkDomain})}),s.jsxs(me,{className:"w-full mt-1 justify-start select-none",children:[fc(j.value)||A.value||j.value.length<3?!fc(j.value)&&s.jsx(ye,{disabled:!0,variant:"ghost",className:"!px-1 !m-0 !h-4",children:_?s.jsxs(J,{className:"!text-grey-500",size:"xs",children:[s.jsx(g2,{size:13,className:"mr-1"}),C("Update Link Card",{ns:"dashboard"})]}):s.jsxs(J,{className:"!text-grey-500",size:"xs",children:[s.jsx(Pv,{size:13,className:"mr-1"}),C("Add Link Card",{ns:"dashboard"})]})}):s.jsx(ye,{variant:"ghost",className:"px-1 !m-0 !h-4 hover:bg-transparent",onClick:()=>pe(this,null,function*(){yield Sr("fetch_link_metadata",{url:_n(j.value),itemId:e}),q()}),children:_?s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[s.jsx(g2,{size:13,className:"mr-1"}),C("Update Link Card",{ns:"dashboard"})]}):s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[s.jsx(Pv,{size:13,className:"mr-1"}),C("Add Link Card",{ns:"dashboard"})]})}),_&&s.jsx(ye,{variant:"ghost",className:"px-1 ml-auto !h-4 hover:bg-transparent",onClick:()=>pe(this,null,function*(){yield Sr("delete_link_metadata",{itemId:e}),q()}),children:s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[C("Remove",{ns:"common"}),s.jsx(Tv,{size:14,className:"ml-1"})]})})]})]}):r?s.jsx(Dj,{value:j.value,height:"200px",isDark:S,options:{mode:n!=null?n:"javascript"},onChange:Y=>{j.value=Y.getValue()}},"code-editor"):s.jsxs(s.Fragment,{children:[s.jsxs(Q,{className:"text-slate-400 flex gap-1.5 px-0.5 p-1.5 pt-0.5 items-center",children:[s.jsx(Be,{isCompact:!0,text:C("Toolbar:::Copy and Paste Formatting",{ns:"common"}),children:s.jsx(gz,{size:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Y;(Y=H==null?void 0:H.current)==null||Y.handleAddBBcode("copy")}})}),s.jsx(Be,{isCompact:!0,text:C("Toolbar:::Masked Text Formatting",{ns:"common"}),children:s.jsx(Rk,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Y;(Y=H==null?void 0:H.current)==null||Y.handleAddBBcode("mask")}})}),s.jsx(Be,{isCompact:!0,text:C("Toolbar:::Blank Text Formatting",{ns:"common"}),children:s.jsx(BU,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Y;(Y=H==null?void 0:H.current)==null||Y.handleAddBBcode("blank")}})}),s.jsx(Be,{isCompact:!0,text:C("Toolbar:::Hightlight Text Formatting",{ns:"common"}),children:s.jsx(UU,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Y;(Y=H==null?void 0:H.current)==null||Y.handleAddBBcode("hl")}})}),s.jsx("div",{tabIndex:-1,className:"ml-auto mr-0.5",children:s.jsx(Be,{isCompact:!0,text:C("Toolbar:::Remove Text Formatting",{ns:"common"}),asChild:!0,children:s.jsx(Ez,{size:17,className:"hover:text-red-500 dark:hover:text-red-700 cursor-pointer",onClick:()=>{var Y;(Y=H==null?void 0:H.current)==null||Y.handleRemoveBBcodes(["copy","mask","blank","hl","h","b","i"])}})})})]}),s.jsx(ho,{ref:H,tabIndex:0,enableEmoji:!1,className:"bg-white rounded-md text-sm w-full mr-1",placeholder:"Enter paste value",rows:2,autoFocus:!Ki.value,autoCorrect:"off",spellCheck:!1,enableEmojiInside:!0,label:"",maxRows:6,value:j.value,onKeyDown:Y=>{Y.stopPropagation()},onChange:Y=>{j.value=Y.target.value}})]})}),s.jsxs(me,{className:"w-full justify-start items-center select-none",children:[s.jsxs(me,{className:"items-start mt-2",children:[s.jsx(aCe,{isCode:r,isLink:g,isPath:m,isText:a,isImage:u,itemId:e,detectedLanguage:n,children:s.jsx(Q,{children:s.jsx(Be,{text:K,isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"px-2 h-8 text-slate-500 border-0 dark:hover:bg-slate-800/80 bg-slate-200 dark:bg-slate-800 text-sm group hover:text-blue-500 dark:hover:!text-blue-600",children:r?s.jsxs(s.Fragment,{children:[s.jsx(A6,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:C("Type:::Code",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):u?s.jsxs(s.Fragment,{children:[s.jsx(m2,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:C("Type:::Image",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):m?s.jsxs(s.Fragment,{children:[s.jsx(I6,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:C("Type:::Path",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):g?s.jsxs(s.Fragment,{children:[s.jsx(D6,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:C("Type:::Link",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):s.jsxs(s.Fragment,{children:[s.jsx(p2,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:C("Type:::Text",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]})})})})})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(Be,{text:C("Menu Options",{ns:"menus"}),isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1 h-8 w-8 text-slate-500 border-0 hover:text-blue-500 dark:group-hover:!text-blue-400",children:s.jsx(Gf,{size:16})})})})}),s.jsxs(Ar,{className:"",sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:s.jsx(J,{children:C("Menu Options",{ns:"menus"})})}),s.jsx(tr,{}),s.jsxs(He,{className:i?"font-semibold":"",onClick:Y=>{Y.preventDefault(),z({updatedItem:{isMasked:!i,itemId:e}})},children:[C("Type:::Secret",{ns:"common"}),i&&s.jsx("div",{className:"ml-auto pl-2",children:s.jsx($t,{size:15,className:"fill-transparent"})})]}),s.jsxs(He,{className:c?"font-semibold":"",onClick:Y=>{Y.preventDefault(),z({updatedItem:{isVideo:!c,itemId:e}})},children:[C("Type:::Video",{ns:"common"}),c&&s.jsx("div",{className:"ml-auto pl-2",children:s.jsx($t,{size:15,className:"fill-transparent"})})]}),s.jsxs(He,{className:h?"font-semibold":"",onClick:Y=>{Y.preventDefault(),z({updatedItem:{hasEmoji:!h,itemId:e}})},children:[C("Type:::Emoji",{ns:"common"}),h&&s.jsx("div",{className:"ml-auto pl-2",children:s.jsx($t,{size:15,className:"fill-transparent"})})]}),s.jsx(tr,{}),s.jsx(oCe,{itemId:e,onComplete:b,deletingMenuItemIds:w})]})]})]}),s.jsxs(me,{className:"items-end ml-auto mt-1",children:[s.jsx(Be,{text:C("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{b()},children:s.jsx(wr,{size:18})})})}),s.jsxs(xa,{defaultOpen:!1,open:E.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsxs(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>{U()},children:[s.jsx($t,{size:18,className:"mr-1"}),C("Save",{ns:"common"})]})})}),s.jsx(ea,{sideOffset:16,align:"center",onEscapeKeyDown:()=>{E.value=!1,T.value=!1},onPointerDownOutside:()=>{E.value=!1,T.value=!1},className:"p-1.5 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-60",children:s.jsxs(me,{className:"flex-col p-1.5 rounded-md",children:[s.jsx(J,{color:"black",size:"sm",className:"!inline-block text-center pointer-events-none !font-semibold drop-zone text-yellow-600",children:A.value?"Please verify your link for any errors, or confirm to save as is.":M.value?"Please verify your path for any errors, or confirm to save as is.":D.value?"Please verify your command for any errors, or confirm to save as is.":L.value?"Please verify your command output template for any errors, or confirm to save as is.":"Are you sure you want to save this?"}),s.jsx(kr,{h:3}),s.jsxs(me,{className:"mb-1",children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 dark:hover:text-gray-400 hover:text-gray-600 mr-3 border-gray-100 hover:border-gray-200 dark:bg-gray-900 dark:border-gray-900 dark:hover:border-gray-900 dark:hover:bg-gray-800",onClick:()=>{E.value=!1,T.value=!1},children:C("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-slate-200 hover:bg-opacity-80 hover:bg-slate-200 text-slate-500 hover:text-slate-600 border-slate-200 whitespace-nowrap",onClick:()=>{U(!0)},children:C("Save It!",{ns:"common"})})]})]})})]})]})]})]})})}function lCe({isClip:e,itemId:t,isOpen:r,label:n}){const{t:a}=At(),o=We(!1),i=We(""),{updateMenuItemById:c}=R1(),u=We(Ki.value);return p.useEffect(()=>{o.value=!1,i.value=n!=null?n:"",Ki.value=u.value,e&&(u.value=!1)},[u.value]),s.jsx(me,{className:"justify-start w-full",children:u.value?s.jsxs(s.Fragment,{children:[s.jsx(Be,{open:o.value||yu.value,asChild:!0,text:yu.value?a("Unsaved label",{ns:"common"}):i.value.length<=N6?a("Too short",{ns:"common"}):a("Too long",{ns:"common"}),side:"bottom",className:"bg-rose-50 text-red-500 dark:bg-rose-900 dark:text-red-50 border-rose-100 dark:border-rose-950 text-base font-semibold border !px-2 !py-1.5",children:s.jsx(er,{small:!0,autoFocus:Ki.value,className:"bg-white rounded-md text-sm font-semibold w-full",placeholder:a("Enter menu label",{ns:"menus"}),onKeyDown:f=>pe(this,null,function*(){f.stopPropagation(),f.key==="Escape"?u.value=!1:f.key==="Enter"&&(!i.value.length||i.value.length>Fg)?o.value=!0:f.key==="Enter"&&(yield c({updatedItem:{name:i.value,itemId:t}}),setTimeout(()=>{u.value=!1,r||ff()},200))}),defaultValue:n,onFocus:f=>{n!=null&&n.startsWith("New ")&&f.target.select()},onChange:f=>{o.value&&f.target.value.length<=Fg&&o.value&&f.target.value.length>0&&(o.value=!1),i.value=f.target.value}})}),s.jsxs(me,{className:"ml-1",children:[s.jsx(Be,{text:a("Save",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,isDisabled:yu.value,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>pe(this,null,function*(){if(yu.value&&(yu.value=!1),!i.value.length||i.value.length>Fg){o.value=!0;return}o.value||(yield c({updatedItem:{name:i.value,itemId:t}}),setTimeout(()=>{u.value=!1,r||ff()},200))}),children:s.jsx($t,{size:18})})})}),s.jsx(Be,{text:a("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{u.value=!1,r||ff()},children:s.jsx(wr,{size:18})})})})]})]}):s.jsxs(s.Fragment,{children:[s.jsx(J,{className:"text-ellipsis !block overflow-hidden whitespace-nowrap ".concat(e?"":"border-dashed border-b border-slate-400 hover:border-gray-400"),onClick:()=>{u.value=!0},color:"black",children:n}),e?s.jsx(Q,{className:"ml-1 pr-0 pl-1 pt-[1px] text-primary/50 cursor-pointer relative opacity-80 hover:opacity-100",children:s.jsx(Be,{text:a("Menu is a link to Clip. You can't edit the label directly",{ns:"menus"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(C1,{size:14})})}):s.jsx(Q,{onClick:()=>{u.value=!0},className:"ml-1 pr-0 pl-1 pt-[1px] text-primary/50 cursor-pointer relative opacity-80 hover:opacity-100",children:s.jsx(Be,{text:a("Rename",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Xu,{size:14})})})]})})}function EW({triggerProps:e,contentProps:t,isSelected:r,hasMultipleSelectedItems:n,isCreatingMenuItem:a,isFirstItem:o,isLastItem:i,isForm:c,isWebRequest:u,isWebScraping:f,isCommand:h,isSeparator:m,indent:v=0,item:S,hasChildren:w,isOpen:g,isClip:b,showEditMenuItemId:C,onFolderClose:j,onFolderOpen:E,showMultiSelectItems:N,deletingMenuItemIds:T,isClosedFolder:A,setSelectedItemIds:M,deselectItemById:D,selectItemById:L,setOpenItemId:z,globalSearchTerm:H,isDark:V,closeGlobalSearch:I,id:q,label:_,children:$}){const{t:U}=At(),{isFolder:K,isDisabled:Y,isActive:B}=S,F=p.useMemo(()=>{var Re,xt;return(xt=(Re=T.value)==null?void 0:Re.includes(q))!=null?xt:!1},[T.value,q]),G=We(!1),X=a.value&&(o||r&&i),se=a.value&&(i||r),[re,ie,oe,ae]=Qf({}),[fe,le,ue]=Jf({}),be=p.useRef(null),Ce=p.useRef(null),Pe=S.createdAt&&S.createdAt>Math.floor(Date.now())-60*1e3,Ee=(Xx.value===q||G.value)&&!N.value,Oe=!Y&&B&&!K&&!m,Ve=C.value===q,ct=re===q,gt=fe===q,Ke=ae===q,Et=fe===q?le:void 0;return s.jsxs(s.Fragment,{children:[X&&s.jsxs(me,{className:hr("flex flex-col justify-center items-center my-1.5 mb-0 animate-in fade-in duration-300 ease-in-out transition-opacity",v>0&&"ml-[".concat(v*30,"px]")),children:[s.jsx(G2,{isCreatingMenuItem:a,showEditMenuItemId:C,isDark:V,currentMenuItemId:q,parentId:null,orderNumber:i?S.orderNumber+1:0}),s.jsx("div",{className:"h-[8px] w-[2px] bg-slate-400 opacity-20 dark:opacity-100"})]}),s.jsxs(Gm,{onOpenChange:Re=>{G.value=Re},children:[s.jsx(Ym,{ref:Ce,disabled:!Ee&&!r||!!H,children:s.jsxs(Q,{className:"relative menu-item_tour",children:[(ct||gt)&&!Et?s.jsx(Q,{className:"z-100 w-full flex justify-center fade-in-animation absolute ".concat(o?"top-[-6px]":"top-[-10px]"," ").concat(v>0?"ml-[".concat(v*10,"px]"):""),children:c?s.jsxs(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 py-[1.5px] mr-[-8px] text-[10px] uppercase font-semibold border-0",children:[U("Running",{ns:"common"}),"..."]}):s.jsxs(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 py-[1.5px] pr-4 mr-[-6px] text-[10px] uppercase font-semibold border-0",children:[s.jsx($t,{size:14,className:"mr-1"}),ct?U("Copied",{ns:"common"}):gt?U("Pasted",{ns:"common"}):""]})}):Et&&le>0&&s.jsx(Q,{className:"z-100 w-full flex justify-center fade-in-animation absolute ".concat(o?"top-[-6px]":"top-[-10px]"," ").concat(v>0?"ml-[".concat(v*10,"px]"):""),children:c?s.jsx(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-3 py-[1.5px] pr-4 mr-[-6px] text-[10px] font-semibold border-0",children:U("Run in {{pastingCountDown}}...",{ns:"common",pastingCountDown:le})}):s.jsx(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-3 py-[1.5px] pr-4 mr-[-6px] text-[10px] font-semibold border-0",children:U("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:le})})}),s.jsxs(Q,{onMouseEnter:()=>{Xx.value=q!=null?q:null},onMouseLeave:()=>{Xx.value=null},onClick:Re=>{if(!N.value){if(Re.stopPropagation(),Xx.value=q!=null?q:null,Re.shiftKey){if(m)return;if(K){A?E(q):j(q);return}C.value||z==null||z(g?null:q);return}if(Re.metaKey||Re.ctrlKey){r?D==null||D(q):L==null||L(q);return}M==null||M([q])}},className:hr("rounded-lg border-2 bg-card text-card-foreground shadow-sm flex flex-col","duration-200 ease-in-out transition-none",v>0&&"ml-[".concat(v*30,"px]"),!se&&!X?"my-1.5":"",r&&!o&&!i?"mt-1.5":"",o&&X&&!r?"mb-1.5":"",i&&se&&!r?"mt-1.5":"",r?"border-slate-400/70 dark:border-slate-600":"dark:border-slate-700/80",F&&"!border-red-400 dark:!border-red-800",_i.value&&r&&!w&&"!border-red-400 dark:!border-red-800",g?"max-w-[340px] min-w-[270px]":"w-[270px]",Ve&&"max-w-[340px] min-w-[340px]",(ct||gt)&&"!border-green-600 dark:!border-green-700","transition-transform",vu.value===q&&"pulse-clip"),children:[s.jsx(iB,{className:"flex",children:s.jsx(MN,ee(R({onDoubleClickCapture:Re=>{if(Ve||Re.shiftKey||!Oe||G.value){Re.preventDefault();return}if(Re.altKey||Re.metaKey){if(c){ue(q,void 0,!0);return}ue(q)}else ie(q)}},e),{asChild:!0,className:hr("group bg-white text-slate-600 dark:text-slate-400 dark:bg-slate-900 flex w-full select-none items-center justify-between rounded-md pl-2 pr-1 py-[6px] text-left text-sm font-medium cursor-pointer","focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75 items-center justify-between",(r||g)&&"bg-slate-100/90 dark:bg-slate-950/80 dark:text-slate-300",Ee&&!(r||g)&&"!bg-slate-50/60 dark:!bg-slate-950/60",n&&r&&"bg-amber-50 dark:bg-amber-950/80",F&&"!bg-red-50 dark:!bg-red-950",!B&&"not-active-background bg-slate-100 text-slate-400 line-through dark:bg-slate-900 dark:text-slate-600",_i.value&&r&&!w&&"!bg-red-50 dark:!bg-red-950/80",(ct||gt)&&"!bg-green-50 dark:!bg-green-900",e==null?void 0:e.className),children:s.jsxs(me,{className:"relative",children:[s.jsxs(me,{className:hr("mx-1 mr-3 whitespace-nowrap overflow-hidden text-[15px] w-full",N.value&&"ml-0",r||Pe?"font-semibold":"font-normal",Y?"text-gray-500/60":""),children:[N.value&&s.jsx(Q,{className:"flex flex-row items-center pr-2.5 z-100",children:s.jsx("input",{type:"checkbox",className:"form-checkbox h-[16px] w-[16px] bg-slate-400",onChange:()=>{r?D==null||D(q):L==null||L(q)},checked:r},q)}),K&&s.jsx(me,{className:"mr-1.5",children:A?s.jsx(hm,{size:17}):s.jsx(bz,{size:17})}),m?s.jsx("hr",{className:"h-[1px] border-t-0 bg-slate-600 opacity-30 dark:opacity-50 w-full"}):s.jsx(s.Fragment,{children:Ve?s.jsx(lCe,{label:_,itemId:q,isOpen:g,isClip:b}):s.jsxs(Q,{className:"whitespace-nowrap overflow-hidden text-ellipsis w-full",children:[H?El(_,H):_,b&&s.jsx(Be,{text:U("Menu is a link to a clip",{ns:"menus"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(C1,{size:13,className:"ml-1.5 inline"})})]})})]}),(Ee||r||g||Ve)&&!N.value?s.jsxs(me,{className:"h-[24px]",children:[m?s.jsx(s.Fragment,{children:s.jsx(Q,{className:"h-[23px]"})}):s.jsx(me,{className:"gap-1 animate-in fade-in duration-100",children:K?!Ve&&s.jsxs(un,{onClick:()=>{A?E(q):j(q)},className:hr("relative w-[24px] h-[24px] mr-1 group-hover:opacity-100 rounded-md transition-opacity text-slate-400 cursor-pointer flex items-center justify-center",g?"opacity-100":"opacity-20"),children:[s.jsx(zm,{size:"18px",className:hr("absolute transform duration-300 ease-in-out",A?"rotate-0 opacity-1":"rotate-0 opacity-0")}),s.jsx(Dr,{size:"18px",className:hr("absolute transform duration-300 ease-in-out",A?"rotate-[-90deg] opacity-0":"rotate-0 opacity-1")})]}):!Ve&&s.jsxs(s.Fragment,{children:[Oe&&s.jsx(un,{className:"hover:bg-transparent hover:text-green-600 text-slate-400",onClick:()=>{ur.value?c?ue(q,void 0,!0):ue(q):ie(q)},children:c?s.jsx(Be,{text:U("Type:::Run Auto Fill",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:Ke||gt&&!Et?s.jsx(wm,{}):s.jsx(O2,{width:16,height:16})}):u||f||h?s.jsx(Be,{text:ur.value?U("Run and Paste Response",{ns:"common"}):U("Run and Copy Response",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(Cs,{size:16}):Ke?s.jsx(wm,{}):s.jsx(O2,{width:16,height:16})}):s.jsx(Be,{text:ur.value?U("Copy and Paste",{ns:"common"}):U("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(Cs,{size:16}):s.jsx(pa,{size:16})})}),Y?s.jsx(Be,{text:U("Disabled Menu",{ns:"menus"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(pm,{size:16,className:"opacity-50 mr-1.5"})}):s.jsx(s.Fragment,{children:!C.value&&!H&&s.jsxs(un,{onClick:Re=>{Re.stopPropagation(),z==null||z(g?null:q)},className:hr("relative hover:bg-transparent w-[25px] h-[24px] mr-0 hover:text-slate-500 rounded-md transition-opacity text-slate-400 cursor-pointer flex items-center justify-center"),children:[s.jsx(Pae,{size:"18px",className:hr("absolute transform duration-300 ease-in-out",g?"rotate-180 opacity-1":"rotate-0 opacity-0")}),s.jsx(Dae,{size:"18px",className:hr("absolute transform duration-300 ease-in-out",g?"rotate-180 opacity-0":"rotate-0 opacity-1")})]})})]})}),Ve?s.jsx(s.Fragment,{children:!Ki.value&&s.jsx(un,{className:"mr-1",onClick:()=>{ff()},children:s.jsx(Be,{text:U("Close Edit",{ns:"menus"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(wr,{size:18})})})}):H?s.jsx(ye,{variant:"ghost",size:"mini",className:"pl-2 pr-1 text-slate-400 cursor-pointer !mt-0 flex hover:bg-transparent hover:text-blue-500",onClick:()=>{vu.value=q,I==null||I()},ref:be,children:s.jsx(Be,{text:U("Locate Menu",{ns:"contextMenus"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(zw,{size:18})})}):s.jsx(ye,{variant:"ghost",size:"mini",className:"pr-0.5 text-secondary-foreground/50 cursor-pointer !mt-0 flex hover:bg-transparent hover:text-slate-600",onClick:Re=>{var pt,_t,ht;Re.stopPropagation();const xt=(pt=be==null?void 0:be.current)==null?void 0:pt.getBoundingClientRect().x,ot=(_t=be==null?void 0:be.current)==null?void 0:_t.getBoundingClientRect().y;(ht=Ce==null?void 0:Ce.current)==null||ht.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:xt,clientY:ot&&ot+30}))},ref:be,children:s.jsx(Be,{text:U("Options",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(nl,{size:18})})})]}):s.jsx(Q,{className:"h-[24px]"}),Pe&&s.jsx(Al,{className:"absolute text-green-400 dark:text-green-600 pointer-events-none top-[-5px] right-[-5px] animate-in fade-in duration-500",size:28})]})}))}),s.jsx(DN,ee(R({},t),{className:hr("overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",F&&"bg-red-50 dark:bg-red-900"),children:$}))]})]})}),(Ee||r)&&s.jsx(Yke,{id:q,isSelected:r,isDisabled:Y,setSelectedItemIds:M,isActive:B,hasChildren:w,isClip:b,isImage:S.isImage,isFolder:K,itemParentId:S.parentId,isSeparator:m,setOpenItemId:z,isOpen:g,itemOrderNumber:S.orderNumber,deletingMenuItemIds:T,deselectItemById:D,selectItemById:L})]}),se&&s.jsxs(me,{className:hr("flex flex-col justify-center items-center mb-2 mt-0 animate-in fade-in duration-300 ease-in-out transition-opacity",v>0&&"ml-[".concat(v*30,"px]")),children:[s.jsx("div",{className:"h-[8px] w-[2px] bg-slate-400 opacity-20 dark:opacity-100"}),s.jsx(G2,{isCreatingMenuItem:a,showEditMenuItemId:C,currentMenuItemId:q,isDark:V,parentId:K&&!A?q:S.parentId,orderNumber:K&&A||!K?S.orderNumber+2:0})]})]})}const ko={CLIPS:"clips",BOARDS:"boards",MENUS:"menus"};function cCe({isDark:e}){var F,G;const{t}=At(),[r,n]=p.useState(""),[a,o]=p.useState(ko.CLIPS),i=p.useRef(),c=js(null),u=js(null),f=js(!1),h=js(!1),{isWindows:m}=ft(Es),{setIsAutoCloseOnCopyPaste:v,isAutoCloseOnCopyPaste:S,setIsSearchNameOrLabelOnly:w,isSearchNameOrLabelOnly:g}=ft(pn),[b]=Qf({}),[C]=Jf({}),{clipItems:j,tabs:E,setCurrentTab:N}=ft(Tn),{collectionWithClips:T,fetchCollectionWithClips:A}=NB(),{collectionWithMenuItems:M,fetchCollectionWithMenuItems:D}=gge(),L=sa(),{menuItems:z}=ft(Tn),H=mo(r,300),[V,I]=p.useState(!1),q=X=>{var se;X.preventDefault(),X.stopPropagation(),I(re=>!re),(se=i.current)==null||se.focus()},_=p.useMemo(()=>H.length>1,[H]),$=p.useMemo(()=>{if(H.length<=1||!V)return{results:[],count:0};const X=z.length>0?z:(M==null?void 0:M.items)||[],se=X.length>0?Uv(X,null,!1):[],re=ae=>{var fe,le,ue;return ae.name.toLowerCase().includes(H.toLowerCase())||(fe=ae.value)!=null&&fe.toLowerCase().includes(H.toLowerCase())&&!g?!0:(ue=(le=ae.children)==null?void 0:le.some(re))!=null?ue:!1},ie=(ae,fe=0)=>{let le=[];return ae.forEach(ue=>{var Pe;const be=re(ue),Ce=X.find(Ee=>Ee.itemId===ue.id);if(Ce&&be){const Ee=ee(R({},Ce),{indent:fe,id:ue.id});if(le.push(Ee),ue.children&&((Pe=ue.children)==null?void 0:Pe.length)>0){const Oe=ie(ue.children,fe+1);le=le.concat(Oe)}}}),le},oe=ie(se);return{results:oe,count:oe.length}},[z,H,V,M==null?void 0:M.items,g]),U=p.useMemo(()=>{if(H.length<=1||!V)return{results:[],count:0};const X=j.length>0?j:(T==null?void 0:T.clips)||[];return SA(X,H,E,g)},[j,H,V,T,g]),K=p.useMemo(()=>{if(H.length<=1||!V)return{results:[],count:0};const X=j.length>0?j:(T==null?void 0:T.clips)||[];return SA(X,H,E,g,!0)},[j,H,V,T,g]),Y=()=>{L("/history",{replace:!0}),I(!1)},B=()=>{L("/menu",{replace:!0}),I(!1)};return p.useEffect(()=>{V||(U9.value=r,n(""))},[V]),p.useEffect(()=>{_&&j.length===0&&A(),_&&z.length===0&&D()},[_,A,D]),p.useEffect(()=>{V||(U9.value=r,n(""))},[V]),Os(["meta+k","control+k"],q,{},[]),Os("/",q,{},[]),p.useEffect(()=>{!_||U.count>0?o(ko.CLIPS):K.count>0?o(ko.BOARDS):$.count>0&&o(ko.MENUS)},[U.count,K.count,_]),p.useEffect(()=>{V&&(b||C)&&S&&setTimeout(()=>{I(!1)},1e3)},[b,C,V]),s.jsx(s.Fragment,{children:s.jsxs(xa,{defaultOpen:!1,modal:!1,open:V,onOpenChange:()=>{I(!V)},children:[s.jsx(ya,{asChild:!0,children:s.jsxs(Q,{id:"navbar-search_tour",className:"flex flex-row bg-slate-100 dark:bg-slate-800 rounded-md p-0 items-center relative ml-2",children:[s.jsx(Qu,{placeholder:"".concat(t("GlobalSearch:::Search",{ns:"navbar"})," ..."),type:"search",id:"global-search",value:r,onChange:X=>{n(X.target.value)},ref:Ji(i),onFocus:()=>{I(!0)},iconLeft:s.jsx(mm,{className:"h-4 w-4"}),classNameInput:"w-full pr-0 h-7",className:"text-md min-w-[120px] ring-offset-0 py-1 bg-slate-100 dark:bg-slate-800 border-r-0 border-t-0 border-b-0 h-8"}),!V&&s.jsx(me,{className:"absolute right-2 text-slate-400/90 animate-in animate-out fade-in-out hover:text-slate-500 cursor-pointer",onClick:()=>{var X;I(!0),(X=i.current)==null||X.focus()},title:t("GlobalSearch:::Press / key to search",{ns:"navbar"}),children:s.jsx("svg",{width:22,height:22,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"rounded-md flex items-center justify-center bg-slate-50 dark:bg-slate-900/60 p-[2px]",children:s.jsx("line",{x1:"16",x2:"8",y1:"5",y2:"18"})})})]})}),s.jsx(ea,{className:"overflow-hidden bg-gray-50 p-4 py-2 pb-3 pt-2 flex items-center flex-col w-fit rounded-md shadow-lg relative dark:bg-slate-800",sideOffset:4,onOpenAutoFocus:X=>{X.preventDefault()},onInteractOutside:X=>{X.preventDefault()},onCloseAutoFocus:X=>{X.preventDefault(),n(""),document.activeElement.blur()},children:s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"esc-key flex opacity-90 hover:opacity-100 hover:bg-opacity-100 justify-end w-[38px] h-[24px] rounded-sm top-2 left-2 absolute z-50 bg-slate-100/90 dark:bg-slate-900/90 cursor-pointer",onClick:()=>{I(!1)},title:t("Press ESC key to close",{ns:"common"})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(Q,{className:"flex opacity-90 hover:opacity-100 hover:bg-opacity-100 top-2 right-2 absolute z-50 text-slate-400 bg-slate-100/90 dark:bg-slate-900/90 cursor-pointer",onClick:()=>{I(!1)},title:t("GlobalSearch:::Search Options",{ns:"navbar"}),children:s.jsx(Gf,{size:14})})}),s.jsxs(Ar,{children:[s.jsx(He,{disabled:!0,className:"p-0 justify-center text-[13px]",children:t("GlobalSearch:::Search Options",{ns:"navbar"})}),s.jsx(tr,{}),s.jsxs(He,{onClick:X=>{X.preventDefault(),v(!S)},children:[s.jsx(me,{className:"mr-2",children:s.jsx(J,{className:"!text-[13px] mr-1 !font-medium ".concat(S?"":"text-slate-900/50"),children:t("GlobalSearch:::Auto Close on Copy & Paste",{ns:"navbar"})})}),s.jsx(Yn,{checked:S,className:"ml-auto"})]}),s.jsxs(He,{onClick:X=>{X.preventDefault(),w(!g)},children:[s.jsx(me,{className:"mr-2",children:s.jsxs(J,{className:"!text-[13px] mr-1 flex-col !items-start !font-medium ".concat(g?"":"text-slate-900/50"),children:[t("GlobalSearch:::Search Name or Label Only",{ns:"navbar"}),s.jsx("span",{className:"text-muted-foreground opacity-70 !text-[12px] block",children:t("GlobalSearch:::Excludes clip or menu values",{ns:"navbar"})})]})}),s.jsx(Yn,{checked:g,className:"ml-auto"})]})," "]})]}),_&&s.jsx(Qi,{className:"flex flex-row z-10 select-none pb-1.5 mb-1",value:a,onValueChange:X=>{o(X)},children:s.jsxs(Fo,{className:"self-center px-1 py-1 bg-slate-200 dark:bg-slate-900",children:[s.jsxs(bn,{value:ko.CLIPS,className:"!text-xs py-1 data-[state=active]:text-slate-300 text-gray-400 hover:text-blue-400 data-[state=active]:hover:text-slate-300 dark:data-[state=active]:bg-slate-600",children:[t("Clips:::Clips",{ns:"dashboard"}),s.jsx(lt,{variant:"outline",className:"text-[12px] ml-1 py-0.5 bg-slate-100 text-gray-400 dark:bg-slate-700 dark:text-gray-400 !font-mono border-0",children:U.count>99?"99+":U.count})]}),s.jsxs(bn,{value:ko.BOARDS,className:"!text-xs py-1 data-[state=active]:text-slate-300 text-gray-400 hover:text-blue-400 data-[state=active]:hover:text-slate-300 dark:data-[state=active]:bg-slate-600",children:[t("Boards",{ns:"dashboard"}),s.jsx(lt,{variant:"outline",className:"text-[12px] ml-1 py-0.5 bg-slate-100 text-gray-400 dark:bg-slate-700 dark:text-gray-400 !font-mono border-0",children:K.count>99?"99+":K.count})]}),s.jsxs(bn,{value:ko.MENUS,className:"!text-xs py-1 data-[state=active]:text-slate-300 text-gray-400 hover:text-blue-400 data-[state=active]:hover:text-slate-300 dark:data-[state=active]:bg-slate-600",children:[t("Menus",{ns:"menus"}),s.jsx(lt,{variant:"outline",className:"text-[12px] ml-1 py-0.5 bg-slate-100 text-gray-400 dark:bg-slate-700 dark:text-gray-400 !font-mono border-0",children:$.count>99?"99+":$.count})]})]})}),s.jsxs(en,{className:"flex-col",style:{height:"auto",maxHeight:"calc(100vh - 200px)",width:420},autoHide:!1,children:[a===ko.CLIPS&&((F=U.results)==null?void 0:F.reduce((X,se,re)=>{const ie=Math.floor(re/1);return X[ie]||(X[ie]=[]),X[ie].push(se),X},[]).map((X,se)=>s.jsx(Q,{className:"mt-1 mb-2",children:X.map((re,ie)=>s.jsx(K2,{board:re,isDark:e,closeGlobalSearch:Y,setCurrentTab:N,globalSearchTerm:H,isHistoryDragActive:!1,currentTabLayout:"auto",order:re.orderNumber,isLastBoard:ie===X.length-1,selectedItemIds:[],setSelectedItemId:()=>{}},"".concat(se,"-").concat(ie)))},"".concat(se)))),a===ko.BOARDS&&((G=K.results)==null?void 0:G.reduce((X,se,re)=>{const ie=Math.floor(re/1);return X[ie]||(X[ie]=[]),X[ie].push(se),X},[]).map((X,se)=>s.jsx(Q,{className:"mt-1 mb-2",children:X.map((re,ie)=>s.jsx(K2,{board:re,isDark:e,globalSearchTerm:H,setCurrentTab:N,closeGlobalSearch:Y,isHistoryDragActive:!1,isGlobalSearchBoardsOnly:!0,currentTabLayout:"auto",order:re.orderNumber,isLastBoard:ie===X.length-1,selectedItemIds:[],setSelectedItemId:()=>{}},"".concat(se,"-").concat(ie)))},"".concat(se)))),a===ko.MENUS&&s.jsx(lB,{type:"single",collapsible:!0,className:"flex items-center flex-col",children:$.results.map((X,se)=>s.jsx(AN,{value:X.itemId,children:s.jsx(EW,{label:X.name,globalSearchTerm:H,closeGlobalSearch:B,isLastItem:se===$.results.length-1,deletingMenuItemIds:c,isFirstItem:se===0,isDark:e,showEditMenuItemId:u,hasChildren:X.hasChildren,isSeparator:X.isSeparator,showMultiSelectItems:f,hasSelectedItems:!1,id:X.itemId,item:X,isClip:X.isClip,isForm:X.isForm&&X.isClip,isWebRequest:X.isWebRequest&&X.isClip,isWebScraping:X.isWebScraping&&X.isClip,isCommand:X.isCommand&&X.isClip,isCreatingMenuItem:h,indent:X.indent,onFolderClose:()=>{},onFolderOpen:()=>{},isClosedFolder:!1,isSelected:!1,hasMultipleSelectedItems:!1,isOpen:!1,children:s.jsx(s.Fragment,{})})},"".concat(X.itemId)))}),_?s.jsx(s.Fragment,{children:U.count===0&&K.count===0&&$.count===0?s.jsx(Q,{className:"text-gray-400/90 dark:text-gray-600 text-center mb-1",children:t("GlobalSearch:::Nothing found in clips, boards or menus.",{ns:"navbar"})}):s.jsxs(s.Fragment,{children:[U.count===0&&a===ko.CLIPS&&s.jsx(Q,{className:"text-gray-400/90 dark:text-gray-600 text-center mb-1",children:t("GlobalSearch:::Nothing found in clips.",{ns:"navbar"})}),K.count===0&&a===ko.BOARDS&&s.jsx(Q,{className:"text-gray-400/90 dark:text-gray-600 text-center mb-1",children:t("GlobalSearch:::Nothing found in boards.",{ns:"navbar"})}),$.count===0&&a===ko.MENUS&&s.jsx(Q,{className:"text-gray-400/90 dark:text-gray-600 text-center mb-1",children:t("GlobalSearch:::Nothing found in menus.",{ns:"navbar"})})]})}):s.jsxs(Q,{className:"text-gray-400/90 dark:text-gray-600 text-center mb-2 mt-2",children:[t("GlobalSearch:::Type what you looking for",{ns:"navbar"}),"..."]})]}),s.jsx(Dc,{children:s.jsx(Q,{className:"body-overlay bg-black/30 dark:bg-black/70 rounded-lg ".concat(m?"mb-1 mx-1 !mt-[43px]":""),onClick:()=>{I(!1)}})})]})})]})})}function uCe(){const{t:e}=At(),{setTheme:t,theme:r}=Nk(),{mode:n,setMode:a}=ft(fi);p.useEffect(()=>{r!==n&&a(r)},[r]);const o=r==="light"?s.jsx(Po.sun,{size:14,className:"ml-2"}):r==="dark"?s.jsx(Po.moon,{size:14,className:"ml-2"}):s.jsx(Po.sunmoon,{width:12,height:12,className:"ml-2"});return s.jsxs(Ks,{children:[s.jsxs(Ps,{children:[e("Color Theme",{ns:"navbar"})," ",o]}),s.jsxs(Ms,{children:[s.jsxs(da,{checked:r==="light",onClick:()=>t("light"),children:[s.jsx("span",{className:"flex tems-end",children:s.jsx(Po.sun,{className:"mr-2",size:17})}),s.jsx("span",{children:e("Theme:::Light",{ns:"navbar"})})]}),s.jsxs(da,{checked:r==="dark",onClick:()=>t("dark"),children:[s.jsx("span",{className:"flex items-end",children:s.jsx(Po.moon,{className:"mr-2",size:15})}),s.jsx("span",{children:e("Theme:::Dark",{ns:"navbar"})})]}),s.jsxs(da,{checked:r==="system",onClick:()=>t("system"),children:[s.jsx("span",{className:"flex w-[1.5rem] items-end",children:s.jsx(Po.sunmoon,{className:"mr-2",width:13,height:13})}),s.jsx("span",{children:e("Theme:::System",{ns:"navbar"})})]})]})]})}const jy=String.fromCharCode,Ey={};function Fk(e){var t,r;try{const n=mCe(e.trim()),a=dCe(n);return(r=JSON.parse((t=fCe(a))!=null?t:"{}"))!=null?r:{}}catch(n){throw console.error(n),new Error("Error parsing data.")}}(function(e,t){const r=Bf,n=e();for(;;)try{if(-parseInt(r(230))/1*(parseInt(r(233))/2)+-parseInt(r(242))/3+parseInt(r(245))/4*(-parseInt(r(234))/5)+-parseInt(r(238))/6+-parseInt(r(229))/7*(parseInt(r(237))/8)+-parseInt(r(243))/9+-parseInt(r(240))/10*(-parseInt(r(246))/11)===t)break;n.push(n.shift())}catch(a){n.push(n.shift())}})(Y2,744619);function dCe(e){const r=Bf,n=Ase+"_1974";let a="";for(let o=0;o>=1,C[n(227)]==0&&(C[n(227)]=t,C[n(231)]=r(C[n(226)]++)),v|=(S>0?1:0)*g,g<<=1;switch(v){case 0:for(v=0,w=Math[n(244)](2,8),g=1;g!=w;)S=C[n(231)]&C.position,C.position>>=1,C[n(227)]==0&&(C[n(227)]=t,C[n(231)]=r(C[n(226)]++)),v|=(S>0?1:0)*g,g<<=1;b=jy(v);break;case 1:for(v=0,w=Math[n(244)](2,16),g=1;g!=w;)S=C[n(231)]&C[n(227)],C[n(227)]>>=1,C[n(227)]==0&&(C[n(227)]=t,C[n(231)]=r(C.index++)),v|=(S>0?1:0)*g,g<<=1;b=jy(v);break;case 2:return""}for(a[3]=b,m=b,f[n(236)](b);;){if(C.index>e)return"";for(v=0,w=Math.pow(2,c),g=1;g!=w;)S=C.val&C[n(227)],C[n(227)]>>=1,C.position==0&&(C[n(227)]=t,C[n(231)]=r(C[n(226)]++)),v|=(S>0?1:0)*g,g<<=1;switch(b=v){case 0:for(v=0,w=Math[n(244)](2,8),g=1;g!=w;)S=C[n(231)]&C.position,C[n(227)]>>=1,C[n(227)]==0&&(C.position=t,C[n(231)]=r(C[n(226)]++)),v|=(S>0?1:0)*g,g<<=1;a[i++]=jy(v),b=i-1,o--;break;case 1:for(v=0,w=Math.pow(2,16),g=1;g!=w;)S=C[n(231)]&C.position,C[n(227)]>>=1,C[n(227)]==0&&(C.position=t,C[n(231)]=r(C[n(226)]++)),v|=(S>0?1:0)*g,g<<=1;a[i++]=jy(v),b=i-1,o--;break;case 2:return f[n(232)]("")}if(o==0&&(o=Math[n(244)](2,c),c++),a[b])u=a[b];else if(b===i)u=m+m.charAt(0);else return null;f[n(236)](u),a[i++]=m+u[n(241)](0),o--,m=u,o==0&&(o=Math[n(244)](2,c),c++)}}function mCe(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");const r="=".repeat((4-t.length%4)%4);return t+=r,decodeURIComponent(escape(atob(t)))}function NW(e){return s.jsxs("svg",ee(R({color:"accent",height:"8",viewBox:"0 0 24 24"},e),{children:[s.jsx("g",{fill:"none",stroke:"#888888",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",transform:"matrix(0.166612, 0, 0, 0.166612, 14.40597, 11.442867)"}),s.jsx("g",{transform:"matrix(0.764827, 0, 0, 0.764827, 2.823834, 2.82207)",children:s.jsx("path",{d:"M 12.886 0.233 C 14.248 0.233 15.368 1.262 15.514 2.587 L 17.588 2.587 C 18.98 2.587 20.133 3.663 20.229 5.053 L 20.235 5.234 C 20.234 5.673 19.91 6.047 19.474 6.106 L 19.351 6.116 C 18.911 6.116 18.538 5.791 18.479 5.354 L 18.47 5.234 C 18.47 4.794 18.145 4.42 17.707 4.358 L 17.588 4.35 L 15.08 4.35 C 14.588 5.083 13.765 5.52 12.886 5.519 L 8.761 5.519 C 7.881 5.52 7.058 5.083 6.567 4.351 L 4.059 4.35 C 3.617 4.35 3.245 4.677 3.185 5.114 L 3.176 5.234 L 3.176 21.121 C 3.176 21.569 3.508 21.936 3.939 21.995 L 4.059 22.004 L 7.587 22.004 C 8.027 22.004 8.402 22.329 8.463 22.765 L 8.471 22.885 C 8.471 23.372 8.075 23.767 7.587 23.767 L 4.059 23.767 C 2.666 23.768 1.512 22.691 1.418 21.303 L 1.412 21.121 L 1.412 5.234 C 1.412 3.841 2.488 2.687 3.878 2.592 L 4.059 2.587 L 6.133 2.587 C 6.281 1.247 7.412 0.233 8.761 0.233 L 12.886 0.233 Z M 12.886 1.998 L 8.761 1.998 C 8.084 2.023 7.689 2.771 8.048 3.344 C 8.203 3.59 8.47 3.744 8.761 3.754 L 12.886 3.754 C 13.562 3.779 14.011 3.064 13.693 2.465 C 13.535 2.167 13.223 1.986 12.886 1.998 Z",fill:"rgb(255, 193, 49)"})}),s.jsx("path",{d:"M 18.086 8.404 C 19.151 8.404 20.034 9.228 20.107 10.289 L 20.111 10.428 L 20.111 18.975 C 20.111 20.04 19.288 20.923 18.224 20.995 L 18.086 21 L 12.238 21 C 11.173 21 10.291 20.176 10.217 19.114 L 10.214 18.975 L 10.214 10.428 C 10.214 9.364 11.037 8.48 12.099 8.408 L 12.238 8.404 L 18.086 8.404 Z M 12.308 12.418 C 12.308 12.418 12.295 12.4 12.318 12.466 C 12.348 12.524 12.407 12.617 12.451 12.661 C 12.49 12.699 12.563 12.743 12.607 12.766 C 12.65 12.78 12.739 12.8 12.794 12.805 L 17.727 12.805 C 17.76 12.804 17.814 12.795 17.848 12.788 C 17.875 12.779 17.93 12.758 17.961 12.743 C 17.992 12.724 18.047 12.685 18.071 12.661 C 18.1 12.632 18.143 12.577 18.163 12.546 C 18.204 12.454 18.253 12.275 18.261 12.177 C 18.248 12.079 18.205 11.926 18.167 11.845 C 18.119 11.778 18.032 11.68 17.968 11.644 C 17.912 11.611 17.801 11.584 17.727 11.578 L 12.794 11.578 C 12.744 11.582 12.663 11.597 12.611 11.615 C 12.563 11.64 12.492 11.686 12.451 11.722 C 12.417 11.758 12.353 11.851 12.317 11.919 C 12.293 11.99 12.267 12.113 12.261 12.19 L 12.308 12.418 Z M 12.308 15.004 C 12.308 15.004 12.295 14.986 12.318 15.052 C 12.348 15.11 12.407 15.203 12.451 15.247 C 12.49 15.285 12.563 15.329 12.607 15.351 C 12.65 15.366 12.739 15.386 12.794 15.39 L 17.727 15.39 C 17.76 15.39 17.814 15.381 17.848 15.374 C 17.875 15.364 17.93 15.344 17.961 15.329 C 17.992 15.309 18.047 15.27 18.071 15.247 C 18.1 15.218 18.143 15.163 18.163 15.132 C 18.204 15.039 18.253 14.86 18.261 14.763 C 18.248 14.665 18.205 14.512 18.167 14.431 C 18.119 14.364 18.032 14.266 17.968 14.229 C 17.912 14.197 17.801 14.17 17.727 14.164 L 12.794 14.164 C 12.744 14.168 12.663 14.183 12.611 14.2 C 12.563 14.226 12.492 14.272 12.451 14.307 C 12.417 14.343 12.353 14.437 12.317 14.505 C 12.293 14.576 12.267 14.699 12.261 14.776 L 12.308 15.004 Z M 12.308 17.589 C 12.308 17.589 12.295 17.571 12.318 17.637 C 12.348 17.695 12.407 17.788 12.451 17.832 C 12.49 17.87 12.563 17.914 12.607 17.937 C 12.65 17.951 12.739 17.971 12.794 17.976 L 17.727 17.976 C 17.76 17.975 17.814 17.966 17.848 17.959 C 17.875 17.95 17.93 17.929 17.961 17.914 C 17.992 17.895 18.047 17.856 18.071 17.832 C 18.1 17.803 18.143 17.748 18.163 17.717 C 18.204 17.625 18.253 17.446 18.261 17.348 C 18.248 17.25 18.205 17.097 18.167 17.016 C 18.119 16.949 18.032 16.851 17.968 16.815 C 17.912 16.782 17.801 16.755 17.727 16.749 L 12.794 16.749 C 12.744 16.753 12.663 16.768 12.611 16.786 C 12.563 16.811 12.492 16.857 12.451 16.893 C 12.417 16.929 12.353 17.022 12.317 17.09 C 12.293 17.161 12.267 17.284 12.261 17.361 L 12.308 17.589 Z",fill:"rgb(36, 200, 219)"})]}))}var gCe={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};function vCe(){var gt,Ke,Et;const{t:e,i18n:t}=At(),[r,n]=p.useState(!1),a=sa(),{systemTheme:o}=Nk(),{setSystemTheme:i,themeDark:c,deviceId:u}=ft(fi),{currentCollectionId:f,collections:h}=ft(Tn),{selectCollectionById:m}=zN(),v=c();p.useEffect(()=>{Sr("is_autostart_enabled").then(xt=>{n(!!xt)});const Re=a6(({error:xt,status:ot})=>{gCe.TAURI_DEBUG&&(console.log("Updater status",ot),console.log("Updater error",xt))});return()=>{Re.then(xt=>{xt()})}},[]),p.useEffect(()=>{o&&(Sr("set_icon",{name:"main",isDark:o==="dark"}),i(o))},[o]);const S=()=>vs==null?void 0:vs.minimize(),w=()=>pe(this,null,function*(){(yield vs==null?void 0:vs.isMaximized())?vs==null||vs.unmaximize():vs==null||vs.maximize()}),g=()=>vs.hide(),b=()=>vs.close(),{pinnedClips:C}=ft(Tn),{isShowCollectionNameOnNavBar:j,isShowDisabledCollectionsOnNavBarMenu:E,setIsShowCollectionNameOnNavBar:N,copyPasteDelay:T,setCopyPasteDelay:A,setIsHistoryEnabled:M,isHistoryEnabled:D,setLicenseKey:L,setUpdaterSkipVersion:z,setUpdaterRemindLater:H,licenseKey:V,relaunchApp:I,checkForUpdate:q,installUpdate:_,appToursCompletedList:$,appToursSkippedList:U,setAppToursCompletedList:K,setAppToursSkippedList:Y,setIsHistoryAutoUpdateOnCaputureEnabled:B,isHistoryAutoUpdateOnCaputureEnabled:F,setIsShowDisabledCollectionsOnNavBarMenu:G}=ft(pn),{fontSize:X,decreaseFontSize:se,increaseFontSize:re,resetFontSize:ie,setIsSwapPanels:oe,isShowPinned:ae,setIsShowPinned:fe,isSwapPanels:le}=ft(Es);Os(["alt+b"],()=>{a("/history",{replace:!0})}),Os(["alt+m"],()=>{a("/menu",{replace:!0})}),Os(["alt+l"],()=>{Li.value=!0}),Os(["alt+p"],()=>{oe(!le)}),p.useEffect(()=>{if(V)try{const Re=Fk(V);Re&&typeof Re.id=="string"&&Re.id.length>0&&(Er.value=Re)}catch(Re){Er.value=null,L(null)}else Er.value=null},[V]);const ue=Tc(Lk),be=Tc(F1),Ce=B1(),Pe=th(),Ee=YU(),{licenseExpInDays:Oe}=p.useMemo(()=>GU(),[Er.value]),Ve=p.useMemo(()=>H1(),[Er.value]),ct=En(1717913387272).format("MMMM, YYYY");return p.useEffect(()=>{Ee&&Ef.map(({code:Re})=>Re).includes(Ee)&&t.language!==Ee&&t.changeLanguage(Ee)},[Ee]),p.useEffect(()=>{window.plausible&&u&&window.plausible("App Start",{props:{deviceId:u,isPro:ue,isBeta:be,isExpired:Ce}})},[u,ue,Ce,be,window.plausible]),p.useMemo(()=>Hr.value,[Hr.value]),s.jsx("div",{"data-tauri-drag-region":!0,className:"h-[41px] absolute top-0 left-0 w-full",id:"navbar-panel_tour",children:s.jsxs(qH,{className:"border-0 !h-full border-b border-slate-200/50 dark:border-slate-500/50 rounded-b-none bg-gray-50 pl-3 hover:bg-white dark:hover:bg-gray-950 active:cursor-move active:bg-white transform duration-300 dark:bg-gray-900 dark:text-slate-300",children:[s.jsx(Ah,{children:s.jsx("div",{className:"inline-flex h-fit w-fit items-center text-cyan-500",children:s.jsx(NW,{width:28,height:28,"data-tauri-drag-region":!0})})}),s.jsxs(Ah,{children:[s.jsxs(Jh,{className:"md m-0 px-2.5 text-sm font-semibold whitespace-nowrap",id:"navbar-pastebar_tour",children:[s.jsx(J,{className:"font-semibold",children:ue?Ve?s.jsxs(s.Fragment,{children:[e("PasteBar",{ns:"common"})," ",s.jsx("span",{className:"text-amber-700 dark:text-amber-600 ml-1 opacity-80",children:e("Pro",{ns:"common"})})]}):e("PasteBar Pro",{ns:"common"}):e("PasteBar",{ns:"common"})}),be&&s.jsx(J,{className:"bg-slate-200/90 dark:bg-slate-600/90 dark:!text-slate-300 px-1.5 rounded-md !text-slate-600 text-xs ml-1.5 mb-0 py-0.5",children:"beta"})]}),s.jsxs(ep,{children:[s.jsxs(ir,{onClick:()=>{j4.value=!0},children:[e("About PasteBar",{ns:"common"}),s.jsx(Jn,{children:s.jsxs(Be,{text:e("Build on {{buildDate}}",{ns:"common",buildDate:ct}),isCompact:!0,side:"right",children:["v","0.2.0",be?"b":""]})})]}),!ue&&s.jsxs(s.Fragment,{children:[s.jsx(as,{}),s.jsx(ir,{onClick:()=>{a("/app-settings/license/register",{replace:!0})},children:e("Register License",{ns:"common"})})]}),ue&&Ce&&s.jsxs(s.Fragment,{children:[s.jsx(as,{}),s.jsx(ir,{onClick:()=>{a("/app-settings/license",{replace:!0})},className:"text-amber-700 dark:text-amber-600",children:e("License Expired",{ns:"common"})})]}),t2.value?gp.value?s.jsxs(ir,{className:"!font-semibold",onClick:Re=>{Re.preventDefault(),_()},children:[e("Installing Update...",{ns:"updater"}),s.jsx(eM,{className:"animate-spin opacity-75 ml-auto",size:"14"})]}):s.jsx(s.Fragment,{children:ue&&Ce?s.jsxs(Ks,{children:[s.jsx(Ps,{className:"!font-semibold",children:Ya.value?e("Confirm Restart",{ns:"updater"}):e("Confirm Update",{ns:"updater"})}),s.jsxs(Ms,{className:"dark:text-slate-300",children:[s.jsx(ir,{className:"text-amber-700 dark:text-amber-600 whitespace-pre-wrap w-[180px] focus:!bg-amber-100 focus:dark:!bg-amber-950 focus:text-amber-700 focus:dark:text-amber-600",onClick:Re=>{Re.preventDefault(),a("/app-settings/license",{replace:!0})},children:e("Pro license expired. Upgrading removes all Pro features. Renew to updates or use current version forever.",{ns:"updater"})}),s.jsxs(ir,{onClick:Re=>{Re.preventDefault(),Ya.value?I():_()},children:[tc.value?s.jsx(J,{children:e("Update Install Error",{ns:"updater"})}):Ya.value?s.jsx(J,{children:e("Restart",{ns:"updater"})}):s.jsx(J,{children:e("Install Update",{ns:"updater"})}),s.jsxs(Jn,{className:"ml-auto pl-2",children:["v",Mi.value]})]})]})]}):s.jsxs(ir,{className:"!font-semibold",onClick:Re=>{Re.preventDefault(),Ya.value?I():_()},children:[tc.value?s.jsx(J,{children:e("Try Install Again",{ns:"updater"})}):Ya.value?e("Restart",{ns:"updater"}):e("Install Update",{ns:"updater"}),s.jsxs(Jn,{className:"ml-auto pl-2",children:["v",Mi.value]})]})}):s.jsx(ir,{onClick:Re=>{Re.preventDefault(),q(!0)},children:Od.value?e("No Update Available",{ns:"updater"}):Ql.value?e("Checking for Update...",{ns:"updater"}):e("Check for Update",{ns:"updater"})}),s.jsx(as,{}),s.jsxs(Ks,{children:[s.jsxs(Ps,{children:[e("Settings",{ns:"settings"})," ..."]}),s.jsxs(Ms,{className:"w-[230px] dark:text-slate-300",children:[s.jsxs(ir,{onClick:()=>{a("/app-settings/history",{replace:!0})},children:[e("Clipboard History Settings",{ns:"settings"}),s.jsx(Jn,{children:s.jsx(no,{keys:"ALT+H"})})]}),s.jsxs(ir,{onClick:()=>{a("/app-settings/collections",{replace:!0})},children:[e("Manage Collections",{ns:"settings"}),s.jsx(Jn,{children:s.jsx(no,{keys:"ALT+С"})})]}),s.jsx(ir,{onClick:()=>{a("/app-settings/preferences",{replace:!0})},children:e("User Preferences",{ns:"settings"})}),s.jsx(ir,{onClick:()=>{a("/app-settings/security",{replace:!0})},children:e("Security",{ns:"settings"})}),s.jsxs(ir,{onClick:()=>{a("/app-settings/license",{replace:!0})},children:[e("License",{ns:"settings"}),ue&&s.jsx(Jn,{children:s.jsxs(Be,{text:e("Expires on {{licenseExpInDays}}",{ns:"common",licenseExpInDays:Oe}),isCompact:!0,side:"right",children:["Pro",be?" (beta)":""]})})]}),s.jsx(as,{}),s.jsxs(Ks,{children:[s.jsxs(Ps,{children:[e("Capture History",{ns:"history"})," ..."]}),s.jsxs(Ms,{className:"dark:text-slate-300 text-slate-800",children:[s.jsxs(da,{checked:D,onClick:Re=>{Re.preventDefault(),M(!D)},children:[s.jsx(J,{className:"mr-2 ".concat(D?"text-slate-800":"text-slate-900/50"),children:e("Enable Capture History",{ns:"history"})}),s.jsx(Jn,{className:"ml-auto",children:s.jsx(no,{keys:"ALT+H"})})]}),s.jsxs(da,{checked:F,onClick:Re=>{Re.preventDefault(),B(!F)},children:[s.jsx(J,{className:"mr-2 ".concat(F?"text-slate-800":"text-slate-900/50"),children:e("Auto Update on Capture",{ns:"history"})}),s.jsx(Jn,{className:"ml-auto",children:s.jsx(no,{keys:"ALT+A"})})]}),s.jsx(as,{}),s.jsxs(ir,{onClick:()=>{a("/app-settings/history",{replace:!0})},children:[s.jsx(R6,{className:"mr-2 h-4 w-4"}),e("All History Settings",{ns:"history"})," ..."]})]})]}),s.jsxs(Ks,{children:[s.jsx(Ps,{children:s.jsxs(s.Fragment,{children:[e("Paste Delay",{ns:"contextMenus"}),"...",T&&s.jsxs(lt,{className:"ml-2 py-0 bg-slate-200 text-slate-500 dark:bg-slate-700 dark:text-slate-400",variant:"outline",children:[T,"s"]})]})}),s.jsxs(Ms,{className:"w-[235px] dark:text-slate-300",children:[s.jsx(da,{checked:T===1,onSelect:()=>{A(1)},children:s.jsxs(J,{children:["1 ",e("second",{ns:"common"})]})}),s.jsx(da,{checked:T===2,onSelect:()=>{A(2)},children:s.jsxs(J,{children:["2 ",e("seconds",{ns:"common"})]})}),s.jsx(da,{checked:T===3,onSelect:()=>{A(3)},children:s.jsxs(J,{children:["3 ",e("seconds",{ns:"common"})]})}),s.jsx(da,{checked:T===4,onSelect:()=>{A(4)},children:s.jsxs(J,{children:["4 ",e("seconds",{ns:"common"})]})}),s.jsx(da,{checked:T===5,onSelect:()=>{A(5)},children:s.jsxs(J,{children:["5 ",e("seconds",{ns:"common"})]})})]})]}),s.jsx(as,{}),s.jsxs(ir,{onClick:()=>{window.location.reload()},children:[e("Refresh Application UI",{ns:"settings"}),s.jsx(Jn,{children:s.jsx(no,{keys:"ALT+R"})})]})]})]}),s.jsx(as,{}),s.jsxs(ir,{onClick:()=>{Li.value=!0},children:[e("Lock App Screen",{ns:"navbar"}),s.jsx(Jn,{className:"ml-1",children:"⌘L"})]}),s.jsxs(ir,{onClick:g,children:[e("Close Main Window",{ns:"navbar"}),s.jsx(Jn,{children:"⌘W"})]}),s.jsxs(ir,{onClick:b,children:[e("Quit",{ns:"common"}),s.jsx(Jn,{children:"⌘Q"})]})]})]}),s.jsxs(Ah,{children:[s.jsx(Jh,{className:"font-normal px-2.5",id:"navbar-view_tour",children:e("View",{ns:"navbar"})}),s.jsxs(ep,{children:[s.jsxs(ir,{onClick:()=>{a("/history",{replace:!0})},children:[e("Clipboard History",{ns:"common"}),s.jsx(Jn,{children:"⌘B"})]}),s.jsxs(ir,{onClick:()=>{a("/menu",{replace:!0})},children:[e("Paste Menu",{ns:"common"}),s.jsx(Jn,{children:"⌘M"})]}),s.jsx(Jn,{}),s.jsx(as,{}),s.jsxs(Ks,{children:[s.jsxs(Ps,{children:[e("Options",{ns:"navbar"})," ..."]}),s.jsxs(Ms,{className:"w-[235px] dark:text-slate-300",children:[s.jsxs(da,{checked:le,onClick:()=>{oe(!le)},children:[e("Swap Panels Layout",{ns:"navbar"}),s.jsx(Jn,{children:"⌘P"})]}),s.jsx(da,{checked:j,onClick:()=>{N(!j)},children:e("Show Collections Name",{ns:"navbar"})}),s.jsx(da,{checked:E,onClick:()=>{G(!E)},children:e("Show Disabled Collections",{ns:"settings"})}),s.jsx(as,{}),s.jsx(da,{checked:r,onClick:()=>pe(this,null,function*(){yield Sr("autostart",{enabled:!r}),n(!r)}),children:e("Enable Auto Start",{ns:"settings"})})]})]}),s.jsx(uCe,{}),s.jsx(as,{}),s.jsxs(ir,{disabled:X==="125%",onClick:Re=>{Re.preventDefault(),re()},children:[e("Increase UI Font Size",{ns:"settings"})," ",s.jsx(Fn,{width:"1em",height:"18",className:"ml-auto"})]}),s.jsxs(ir,{disabled:X==="85%",onClick:Re=>{Re.preventDefault(),se()},children:[e("Decrease UI Font Size",{ns:"settings"})," ",s.jsx(Sz,{width:"1em",height:"18",className:"ml-auto"})]}),s.jsx(ir,{disabled:X==="100%",onClick:Re=>{Re.preventDefault(),ie()},children:e("Reset Font Size",{ns:"settings"})}),s.jsx(as,{}),s.jsxs(Ks,{children:[s.jsxs(Ps,{children:[e("Language",{ns:"navbar"})," ..."]}),s.jsx(Ms,{children:Ef.map(({code:Re,name:xt,flag:ot})=>s.jsxs(da,{disabled:Ee&&Re!==Ee,checked:t.language===Re,className:"pr-6 ".concat(t.language===Re?"font-semibold":""),onClick:()=>{t.changeLanguage(Re)},children:[s.jsx("span",{className:"flags mr-3",children:ot})," ",xt]},Re))})]})]})]}),h.length>0&&s.jsxs(Ah,{children:[s.jsx(Jh,{className:"font-normal min-w-fit px-2.5",id:"navbar-collections_tour",children:s.jsxs(me,{className:"flex justify-start items-center whitespace-nowrap overflow-hidden",children:[s.jsx(_ce,{className:"mr-1.5 text-slate-500",size:18}),s.jsx(Q,{className:"overflow-hidden text-ellipsis max-w-[16rem]",children:j?(Ke=(gt=h.find(({collectionId:Re})=>Re===f))==null?void 0:gt.title)!=null?Ke:e("Collections",{ns:"collections"}):e("Collections",{ns:"collections"})})]})}),s.jsxs(ep,{forceMount:!0,children:[s.jsx(ir,{inset:!0,disabled:!0,className:"py-0.5",children:e("Switch collections",{ns:"collections"})}),s.jsx(as,{}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"400px",width:"100%",minWidth:"200px"},autoHide:!1,children:s.jsx(Jme,{value:f!=null?f:"",children:h.filter(({isEnabled:Re})=>E||Re).sort((Re,xt)=>{if(E){if(Re.isEnabled&&!xt.isEnabled)return-1;if(!Re.isEnabled&&xt.isEnabled)return 1}return Re.createdAt-xt.createdAt}).map(({collectionId:Re,isEnabled:xt,isSelected:ot,title:pt})=>s.jsx(KH,{value:Re,disabled:!xt,onClick:()=>{m({selectCollection:{collectionId:Re}})},children:s.jsx("span",{className:ot?"font-semibold":"",children:pt})},Re))})}),s.jsx(as,{}),s.jsxs(ir,{onClick:()=>{a("/app-settings/collections",{replace:!0})},children:[s.jsx(Gf,{className:"mr-2",size:14}),e("Manage Collections",{ns:"collections"})]}),s.jsxs(ir,{onClick:()=>{Pe?a("/app-settings/collections/new",{replace:!0}):co.value=!0},children:[s.jsx(Fn,{className:"mr-2",size:15}),e("Add Collection",{ns:"collections"}),s.jsx(gc,{})]})]})]}),s.jsxs("div",{"data-tauri-drag-region":!0,className:"inline-flex h-full w-full items-center justify-center",children:[s.jsx(cCe,{isDark:v}),ae?s.jsx(ye,{onClick:()=>{fe(!1)},id:"navbar-pinned_tour",title:e("Hide Pinned",{ns:"pinned"}),variant:"ghost",className:"relative h-7 focus:outline-none px-2 mx-2 !bg-slate-50 text-slate-400 dark:!bg-slate-900 dark:hover:!bg-slate-800 hover:text-slate-600 dark:text-slate-400",children:s.jsx(Po.pinoff,{className:"h-4 w-4"})}):s.jsxs(ye,{onClick:()=>{fe(!0)},id:"navbar-pinned_tour",title:e("Show Pinned",{ns:"pinned"}),variant:"ghost",className:"relative h-7 focus:outline-none px-2 mx-2 !bg-slate-50 text-slate-400 dark:!bg-slate-900 dark:hover:!bg-slate-800 hover:text-slate-600 dark:text-slate-400",children:[s.jsx(Po.pin,{className:"h-4 w-4"}),C.length>0&&s.jsx(lt,{variant:"outline",className:"bg-orange-100 dark:bg-orange-900/80 dark:border-orange-950 border absolute border-orange-50 cursor-pointer px-1.5 left-[30px] top",children:s.jsx(J,{className:"font-mono !text-orange-400 font-semibold",children:C.length})})]})]}),s.jsxs("div",{"data-tauri-drag-region":!0,className:"inline-flex h-full justify-end",children:[t2.value?s.jsxs(Ah,{children:[s.jsx(Jh,{className:tc.value?"bg-red-100/70 dark:bg-red-900/70":Ya.value?"bg-amber-100/70 dark:bg-amber-900/70":"bg-teal-100/70 dark:bg-teal-900/70",children:s.jsx(Be,{text:e("Version {{newVersion}} is available",{ns:"updater",newVersion:Mi.value}),sideOffset:16,side:"left",children:s.jsxs(me,{className:"flex justify-start items-center whitespace-nowrap overflow-hidden",children:[s.jsx(Q,{className:"overflow-hidden text-ellipsis max-w-[16rem] mr-2 text-[13px]",children:tc.value?s.jsx(J,{children:e("Update Install Error",{ns:"updater"})}):Ya.value?s.jsx(J,{children:e("Restart to Finish",{ns:"updater"})}):s.jsx(J,{children:e("Update Available",{ns:"updater"})})}),s.jsx(yz,{size:15})]})})}),s.jsxs(ep,{children:[gp.value?s.jsxs(ir,{className:"!font-semibold",onClick:Re=>{Re.preventDefault(),_()},children:[e("Installing Update...",{ns:"updater"}),s.jsx(eM,{className:"animate-spin opacity-75 ml-auto",size:"14"})]}):s.jsx(s.Fragment,{children:ue&&Ce?s.jsxs(Ks,{children:[s.jsx(Ps,{className:"!font-semibold",children:Ya.value?e("Confirm Restart",{ns:"updater"}):e("Confirm Update",{ns:"updater"})}),s.jsxs(Ms,{className:"dark:text-slate-300",children:[s.jsx(ir,{className:"text-amber-700 dark:text-amber-600 whitespace-pre-wrap w-[180px] focus:!bg-amber-100 focus:dark:!bg-amber-950 focus:text-amber-700 focus:dark:text-amber-600",onClick:Re=>{Re.preventDefault(),a("/app-settings/license",{replace:!0})},children:e("Pro license expired. Upgrading removes all Pro features. Renew to updates or use current version forever.",{ns:"updater"})}),s.jsxs(ir,{onClick:Re=>{Re.preventDefault(),Ya.value?I():_()},children:[tc.value?s.jsx(J,{children:e("Update Install Error",{ns:"updater"})}):Ya.value?s.jsx(J,{children:e("Restart",{ns:"updater"})}):s.jsx(J,{children:e("Install Update",{ns:"updater"})}),s.jsxs(Jn,{className:"ml-auto pl-2",children:["v",Mi.value]})]})]})]}):s.jsxs(ir,{className:"!font-semibold",onClick:Re=>{Re.preventDefault(),Ya.value?I():_()},children:[Ya.value?e("Restart",{ns:"updater"}):tc.value?e("Try Install Again",{ns:"updater"}):e("Install Update",{ns:"updater"}),s.jsxs(Jn,{className:"ml-auto pl-2",children:["v",Mi.value]})]})}),ue&&Ce&&s.jsx(ir,{className:"text-amber-700 dark:text-amber-600 whitespace-pre-wrap focus:!bg-amber-100 focus:dark:!bg-amber-950 focus:text-amber-700 focus:dark:text-amber-600",onClick:Re=>{Re.preventDefault(),a("/app-settings/license",{replace:!0})},children:e("Upgrade removes Pro features",{ns:"updater"})}),s.jsx(as,{}),((Et=e2.value)==null?void 0:Et.length)&&s.jsxs(Ks,{children:[s.jsxs(Ps,{children:[e("View Changes",{ns:"updater"})," ..."]}),s.jsxs(Ms,{className:"w-[230px] dark:text-slate-300",children:[Mi.value&&s.jsx(ir,{disabled:!0,className:"!opacity-60",children:s.jsx(Q,{children:s.jsx(Q,{className:"text-sm",children:Jb.value&&e("Release date {{date}}",{ns:"updater",date:Jb.value})})})}),s.jsx(as,{}),e2.value.map((Re,xt)=>s.jsx(ir,{disabled:!0,className:"!opacity-80",children:Re},xt))]})]}),s.jsxs(ir,{onClick:()=>{H()},children:[e("Remind Me Later",{ns:"updater"}),s.jsx(Jn,{className:"ml-auto pl-2",children:s.jsx(lae,{size:14})})]}),ue&&s.jsxs(s.Fragment,{children:[s.jsx(as,{}),s.jsxs(ir,{onClick:()=>{z(Mi.value)},children:[e("Skip This Version",{ns:"updater"}),s.jsx(Jn,{className:"ml-auto pl-2",children:s.jsx(iae,{size:14})})]})]})]})]}):s.jsxs(Ah,{children:[s.jsx(Jh,{className:"font-normal px-2.5",id:"navbar-help_tour",children:e("Help",{ns:"help"})}),s.jsxs(ep,{children:[s.jsxs(Ks,{children:[s.jsx(Ps,{children:e("App Guided Tours",{ns:"help"})}),s.jsxs(Ms,{className:"dark:text-slate-300",children:[s.jsxs(ir,{onClick:()=>{Hr.value=sr.historyPanelTour},children:[e("Clipboard History Tour",{ns:"help"}),$.includes(sr.historyPanelTour)?s.jsx(lt,{variant:"outline",title:e("Tour completed",{ns:"help"}),className:"ml-1.5 !font-normal bg-green-50 border-green-200 text-green-600 dark:bg-green-900 dark:border-green-800 dark:text-green-200",children:s.jsx($t,{className:"w-3 h-3"})}):U.includes(sr.historyPanelTour)?s.jsx(lt,{variant:"outline",title:e("Tour skipped",{ns:"help"}),className:"ml-1.5 !font-normal bg-yellow-50 border-yellow-400 text-yellow-600 dark:bg-yellow-900 dark:border-yellow-800 dark:text-yellow-200",children:s.jsx(wr,{className:"w-3 h-3"})}):s.jsx(lt,{variant:"outline",className:"ml-1.5 !font-normal",children:"6"})]}),s.jsxs(ir,{onClick:()=>{Hr.value=sr.dashboardClipsTour},children:[e("Boards and Clips Tour",{ns:"help"}),$.includes(sr.dashboardClipsTour)?s.jsx(lt,{variant:"outline",title:e("Tour completed",{ns:"help"}),className:"ml-1.5 !font-normal bg-green-50 border-green-200 text-green-600 dark:bg-green-900 dark:border-green-800 dark:text-green-200",children:s.jsx($t,{className:"w-3 h-3"})}):U.includes(sr.dashboardClipsTour)?s.jsx(lt,{variant:"outline",title:e("Tour skipped",{ns:"help"}),className:"ml-1.5 !font-normal bg-yellow-50 border-yellow-400 text-yellow-600 dark:bg-yellow-900 dark:border-yellow-800 dark:text-yellow-200",children:s.jsx(wr,{className:"w-3 h-3"})}):s.jsx(lt,{variant:"outline",className:"ml-1.5 !font-normal",children:"8"})]}),s.jsxs(ir,{onClick:()=>{Hr.value=sr.menuTour},children:[e("Paste Menu Tour",{ns:"help"}),$.includes(sr.menuTour)?s.jsx(lt,{variant:"outline",title:e("Tour completed",{ns:"help"}),className:"ml-1.5 !font-normal bg-green-50 border-green-200 text-green-600 dark:bg-green-900 dark:border-green-800 dark:text-green-200",children:s.jsx($t,{className:"w-3 h-3"})}):U.includes(sr.menuTour)?s.jsx(lt,{variant:"outline",title:e("Tour skipped",{ns:"help"}),className:"ml-1.5 !font-normal bg-yellow-50 border-yellow-400 text-yellow-600 dark:bg-yellow-900 dark:border-yellow-800 dark:text-yellow-200",children:s.jsx(wr,{className:"w-3 h-3"})}):s.jsx(lt,{variant:"outline",className:"ml-1.5 !font-normal",children:"10"})]}),s.jsx(as,{}),s.jsxs(ir,{onClick:()=>{Hr.value=sr.navBarTour},children:[e("Navigation Bar Tour",{ns:"help"}),$.includes(sr.navBarTour)?s.jsx(lt,{variant:"outline",title:e("Tour completed",{ns:"help"}),className:"ml-1.5 !font-normal bg-green-50 border-green-200 text-green-600 dark:bg-green-900 dark:border-green-800 dark:text-green-200",children:s.jsx($t,{className:"w-3 h-3"})}):U.includes(sr.navBarTour)?s.jsx(lt,{variant:"outline",title:e("Tour skipped",{ns:"help"}),className:"ml-1.5 !font-normal bg-yellow-50 border-yellow-400 text-yellow-600 dark:bg-yellow-900 dark:border-yellow-800 dark:text-yellow-200",children:s.jsx(wr,{className:"w-3 h-3"})}):s.jsx(lt,{variant:"outline",className:"ml-1.5 !font-normal",children:"8"})]}),s.jsxs(ir,{onClick:()=>{Hr.value=sr.settingsTour},children:[e("PasteBar Settings Tour",{ns:"help"}),$.includes(sr.settingsTour)?s.jsx(lt,{variant:"outline",title:e("Tour completed",{ns:"help"}),className:"ml-1.5 !font-normal bg-green-50 border-green-200 text-green-600 dark:bg-green-900 dark:border-green-800 dark:text-green-200",children:s.jsx($t,{className:"w-3 h-3"})}):U.includes(sr.settingsTour)?s.jsx(lt,{variant:"outline",title:e("Tour skipped",{ns:"help"}),className:"ml-1.5 !font-normal bg-yellow-50 border-yellow-400 text-yellow-600 dark:bg-yellow-900 dark:border-yellow-800 dark:text-yellow-200",children:s.jsx(wr,{className:"w-3 h-3"})}):s.jsx(lt,{variant:"outline",className:"ml-1.5 !font-normal",children:"6"})]}),s.jsx(as,{}),s.jsxs(Ks,{children:[s.jsx(Ps,{children:e("Guided Tours Options",{ns:"help"})}),s.jsxs(Ms,{className:"dark:text-slate-300",children:[s.jsx(ir,{onClick:()=>{const Re=Object.values(sr);K([...Re])},children:e("Mark All Completed",{ns:"help"})}),s.jsx(ir,{onClick:()=>{K([]),Y([])},children:e("Reset All Tours",{ns:"help"})})]})]})]})]}),s.jsxs(Ks,{children:[s.jsx(Ps,{children:e("Feature Highlights",{ns:"help"})}),s.jsxs(Ms,{className:"dark:text-slate-300",children:[s.jsxs(Ks,{children:[s.jsx(Ps,{children:e("Clipboard History",{ns:"help"})}),s.jsx(Ms,{className:"dark:text-slate-300",children:e(sr.historyPanelTour,{returnObjects:!0,defaultValue:[],lng:"en",ns:"tours"}).map((Re,xt)=>s.jsx(ir,{onClick:()=>{Hr.value=sr.historyPanelTour,mu.value=Re.element},children:e(Re.popover.title,{ns:"help"})},xt))})]}),s.jsxs(Ks,{children:[s.jsx(Ps,{children:e("Boards and Clips",{ns:"help"})}),s.jsx(Ms,{className:"dark:text-slate-300",children:e(sr.dashboardClipsTour,{returnObjects:!0,defaultValue:[],ns:"tours",lng:"en"}).map((Re,xt)=>s.jsx(ir,{onClick:()=>{Hr.value=sr.dashboardClipsTour,mu.value=Re.element},children:e(Re.popover.title,{ns:"help"})},xt))})]}),s.jsxs(Ks,{children:[s.jsx(Ps,{children:e("Paste Menu",{ns:"help"})}),s.jsx(Ms,{className:"dark:text-slate-300",children:e(sr.menuTour,{returnObjects:!0,defaultValue:[],ns:"tours",lng:"en"}).map((Re,xt)=>s.jsx(ir,{onClick:()=>{Hr.value=sr.menuTour,mu.value=Re.element},children:e(Re.popover.title,{ns:"help"})},xt))})]}),s.jsx(as,{}),s.jsxs(Ks,{children:[s.jsx(Ps,{children:e("Navigation Bar",{ns:"help"})}),s.jsx(Ms,{className:"dark:text-slate-300",children:e(sr.navBarTour,{returnObjects:!0,defaultValue:[],ns:"tours",lng:"en"}).map((Re,xt)=>s.jsx(ir,{onClick:()=>{Hr.value=sr.navBarTour,mu.value=Re.element},children:e(Re.popover.title,{ns:"help"})},xt))})]}),s.jsxs(Ks,{children:[s.jsx(Ps,{children:e("PasteBar Settings",{ns:"help"})}),s.jsx(Ms,{className:"dark:text-slate-300",children:e(sr.settingsTour,{returnObjects:!0,defaultValue:[],lng:"en",ns:"tours"}).map((Re,xt)=>s.jsx(ir,{onClick:()=>{Hr.value=sr.settingsTour,mu.value=Re.element},children:e(Re.popover.title,{ns:"help"})},xt))})]})]})]})]})]}),s.jsx(ye,{onClick:S,title:e("Window:::Minimize Window",{ns:"navbar"}),variant:"ghost",className:"h-8 focus:outline-none",children:s.jsx(Po.minimize,{className:"h-3 w-3"})}),s.jsx(ye,{onClick:w,title:e("Window:::Maximize Window",{ns:"navbar"}),variant:"ghost",className:"h-8 focus:outline-none",children:s.jsx(nle,{className:"h-4 w-4"})}),s.jsx(ye,{onClick:g,id:"navbar-close-window_tour",variant:"ghost",className:"h-8 focus:outline-none",title:e("Window:::Close Window",{ns:"navbar"}),children:s.jsx(wr,{className:"h-4 w-4"})})]})]})})}function xCe(r){var n=r,{children:e}=n,t=ke(n,["children"]);return s.jsx(q1e,ee(R({},t),{children:e}))}function yCe(){const e=["Alt","Meta"];function t(o){return e.includes(o.key)}function r(o){t(o)&&(ur.value=!0)}function n(o){t(o)&&(ur.value=!1)}function a(){ur.value=!1}return p.useEffect(()=>(window.addEventListener("keydown",r),window.addEventListener("keyup",n),window.addEventListener("focus",a),()=>{window.removeEventListener("keydown",r),window.removeEventListener("keyup",n),window.removeEventListener("focus",a)}),[]),ur}const bCe=1,wCe=1e4;let DS=0;function kCe(){return DS=(DS+1)%Number.MAX_VALUE,DS.toString()}const Xd=new Map,Z2=new Map,Wv=(e,t)=>{Xd.has(e)&&clearTimeout(Xd.get(e));const r=setTimeout(()=>{Xd.delete(e),Z2.delete(e),Jg({type:"REMOVE_TOAST",toastId:e})},t);Xd.set(e,r),Z2.set(e,t)},CCe=(e,t)=>{switch(t.type){case"ADD_TOAST":return ee(R({},e),{toasts:[t.toast,...e.toasts].slice(0,bCe)});case"UPDATE_TOAST":return ee(R({},e),{toasts:e.toasts.map(r=>r.id===t.toast.id?R(R({},r),t.toast):r)});case"DISMISS_TOAST":{const{toastId:r,delay:n,isForce:a}=t;return r&&n?Wv(r,n):e.toasts.forEach(o=>{n&&Wv(o.id,n)}),ee(R({},e),{toasts:e.toasts.map(o=>o.id===r||r===void 0?ee(R({},o),{open:!a}):o)})}case"REMOVE_TOAST":return t.toastId===void 0?ee(R({},e),{toasts:[]}):ee(R({},e),{toasts:e.toasts.filter(r=>r.id!==t.toastId)})}},ib=[];let lb={toasts:[]};function Jg(e){lb=CCe(lb,e),ib.forEach(t=>{t(lb)})}function W1(a){var o=a,{delay:e=3e3,onDismiss:t=()=>{},className:r=""}=o,n=ke(o,["delay","onDismiss","className"]);const i=kCe(),c=f=>Jg({type:"UPDATE_TOAST",toast:ee(R({},f),{id:i})}),u=()=>{Jg({type:"DISMISS_TOAST",toastId:i,delay:e,isForce:!0}),t()};return Jg({type:"ADD_TOAST",toast:ee(R({},n),{id:i,open:!0,onOpenChange:f=>{f||u()}})}),e!==0&&Wv(i,e),{id:i,className:r,dismiss:u,update:c}}function SCe(){const[e,t]=p.useState(lb);p.useEffect(()=>(ib.push(t),()=>{const a=ib.indexOf(t);a>-1&&ib.splice(a,1)}),[e]);const r=a=>{if(Xd.has(a)){const o=Z2.get(a)||wCe;clearTimeout(Xd.get(a)),Wv(a,o)}},n=a=>{if(Xd.has(a)){const o=Z2.get(a);o&&Wv(a,o)}};return ee(R({},e),{toast:W1,resetTimer:r,continueTimer:n,dismiss:(a,o)=>Jg({type:"DISMISS_TOAST",toastId:a,isForce:o})})}const du=wt(""),jCe=({delay:e=800,onCopied:t=()=>{}})=>{const{copyPasteSequencePinnedDelay:r,copyPasteSequenceIsReversOrder:n}=ft(pn),a=i=>{i&&!du.value&&(du.value=i,setTimeout(()=>{Fs("copy_history_item",{historyId:i}).then(c=>{c==="ok"?requestAnimationFrame(()=>{du.value="",t()}):(du.value="",console.error("Failed to copy history item",c))}).catch(c=>{du.value="",console.error("Failed to copy history item",c)})},e))},o=i=>pe(void 0,null,function*(){n&&(i=i.reverse());for(const c of i)a(c),yield new Promise(u=>setTimeout(u,r*1e3))});return[du.value,a,o]},fu=wt(""),lg=wt(0),ECe=({delay:e=800,onPasted:t=()=>{}})=>{const{copyPasteDelay:r,copyPasteSequencePinnedDelay:n,copyPasteSequenceIsReversOrder:a}=ft(pn),o=p.useRef(),i=(h,m=0)=>new Promise((v,S)=>{Fs("copy_paste_history_item",{historyId:h,delay:m}).then(w=>{w==="ok"?v():(fu.value="",console.error("Failed to copy history item",w),S())}).catch(w=>{fu.value="",console.error("Failed to copy history item",w),S()})}),c=p.useCallback((h,m=1e3)=>(clearInterval(o.current),new Promise(v=>{lg.value=h,o.current=setInterval(()=>{lg.value>0?(lg.value===1&&v(),lg.value-=1):clearInterval(o.current)},m)})),[fu.value]),u=(h,m)=>new Promise(v=>pe(void 0,null,function*(){m=m!=null?m:r,h?(fu.value=h,m>0&&(yield c(m)),yield i(h),setTimeout(()=>{requestAnimationFrame(()=>{t(),v()})},e)):(fu.value="",v())})),f=h=>pe(void 0,null,function*(){a&&(h=h.reverse());for(const m of h)yield u(m,n)});return[fu.value,lg.value,u,f]},NCe=()=>window.__TAURI_INVOKE__;function _Ce(){return NCe()("app_ready")}var Ny={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const NA=["mousemove","keydown","scroll","keypress","mousedown"];function TCe(){yCe();const e=gr(),t=sa(),r=ft(Es),n=We(null),a=ft(pn),o=ft(fi),i=ft(hi),c=p.useRef(),{i18n:u,t:f}=At(),h=p.useCallback(Uz(()=>{n.value===null||Li.value||(Li.value=!1,c.current&&clearTimeout(c.current),c.current=setTimeout(()=>{Li.value=!0},n.value))},1e3),[n]);p.useEffect(()=>{Li.value?a.setIsAppLocked(!0):a.setIsAppLocked(!1)},[Li.value]),p.useEffect(()=>{_Ce().then(E=>{var N,T,A,M,D,L,z,H,V,I,q,_,$,U,K,Y,B,F,G,X,se,re,ie,oe,ae,fe,le,ue,be,Ce,Pe,Ee,Oe,Ve,ct,gt,Ke,Et,Re,xt,ot,pt,_t,ht,It,Ft,Vt,Ge,Zt,nr,vr,pr,Wr,Le,Mt,Ze,mr,Se;if(E!==null)try{const{constants:je,settings:we,permissionstrusted:Fe}=JSON.parse(E),{app_dev_data_dir:nt,app_data_dir:rt,app_detect_languages_supported:Ie}=je;if((N=we.userSelectedLanguage)!=null&&N.valueText&&((T=we.userSelectedLanguage)==null?void 0:T.valueText)!==""&&u.language!==((A=we.userSelectedLanguage)==null?void 0:A.valueText)&&u.changeLanguage(we.userSelectedLanguage.valueText),((M=we.userSelectedLanguage)==null?void 0:M.valueText)===""&&u.resolvedLanguage!=="en"&&u.changeLanguage(u.resolvedLanguage),a.initSettings({appDataDir:Ny.TAURI_DEBUG?nt:rt,appLastUpdateVersion:(D=we.appLastUpdateVersion)==null?void 0:D.valueText,appLastUpdateDate:(L=we.appLastUpdateDate)==null?void 0:L.valueText,isFirstRun:(z=we.isFirstRun)==null?void 0:z.valueBool,isFirstRunAfterUpdate:(H=we.isFirstRunAfterUpdate)==null?void 0:H.valueBool,isHistoryDetectLanguageEnabled:(V=we.isHistoryDetectLanguageEnabled)==null?void 0:V.valueBool,historyDetectLanguageMinLines:(I=we.historyDetectLanguageMinLines)==null?void 0:I.valueInt,historyExclusionList:(q=we.historyExclusionList)==null?void 0:q.valueText,isExclusionListEnabled:(_=we.isExclusionListEnabled)==null?void 0:_.valueBool,isAutoMaskWordsListEnabled:($=we.isAutoMaskWordsListEnabled)==null?void 0:$.valueBool,autoMaskWordsList:(U=we.autoMaskWordsList)==null?void 0:U.valueText,historyDetectLanguagesPrioritizedList:(K=we.historyDetectLanguagesPrioritizedList)==null?void 0:K.valueText.split(","),historyDetectLanguagesEnabledList:(Y=we.historyDetectLanguagesEnabledList)==null?void 0:Y.valueText.split(","),appToursCompletedList:(B=we.appToursCompletedList)==null?void 0:B.valueText.split(","),appToursSkippedList:(F=we.appToursSkippedList)==null?void 0:F.valueText.split(","),isHistoryAutoUpdateOnCaputureEnabled:(G=we.isHistoryAutoUpdateOnCaputureEnabled)==null?void 0:G.valueBool,isHistoryEnabled:(X=we.isHistoryEnabled)==null?void 0:X.valueBool,isAutoClearSettingsEnabled:(se=we.isAutoClearSettingsEnabled)==null?void 0:se.valueBool,autoClearSettingsDuration:(re=we.autoClearSettingsDuration)==null?void 0:re.valueInt,autoClearSettingsDurationType:(ie=we.autoClearSettingsDurationType)==null?void 0:ie.valueText,copyPasteDelay:(oe=we.copyPasteDelay)==null?void 0:oe.valueInt,copyPasteSequencePinnedDelay:(fe=(ae=we.copyPasteSequencePinnedDelay)==null?void 0:ae.valueInt)!=null?fe:3,copyPasteSequenceIsReversOrder:(le=we.copyPasteSequenceIsReversOrder)==null?void 0:le.valueBool,pasteSequenceEachSeparator:(ue=we.pasteSequenceEachSeparator)==null?void 0:ue.valueText,isAutoCloseOnCopyPaste:(be=we.isAutoCloseOnCopyPaste)==null?void 0:be.valueBool,isAutoPreviewLinkCardsEnabled:(Ce=we.isAutoPreviewLinkCardsEnabled)==null?void 0:Ce.valueBool,isClipNotesHoverCardsEnabled:(Pe=we.isClipNotesHoverCardsEnabled)==null?void 0:Pe.valueBool,clipNotesHoverCardsDelayMS:(Ee=we.clipNotesHoverCardsDelayMS)==null?void 0:Ee.valueInt,clipNotesMaxWidth:(Oe=we.clipNotesMaxWidth)==null?void 0:Oe.valueInt,clipNotesMaxHeight:(Ve=we.clipNotesMaxHeight)==null?void 0:Ve.valueInt,isAutoFavoriteOnDoubleCopyEnabled:(ct=we.isAutoFavoriteOnDoubleCopyEnabled)==null?void 0:ct.valueBool,isIdleScreenAutoLockEnabled:(gt=we.isIdleScreenAutoLockEnabled)==null?void 0:gt.valueBool,idleScreenAutoLockTimeInMinutes:(Ke=we.idleScreenAutoLockTimeInMinutes)==null?void 0:Ke.valueInt,isShowHistoryCaptureOnLockedScreen:(Et=we.isShowHistoryCaptureOnLockedScreen)==null?void 0:Et.valueBool,screenLockPassCode:(Re=we.screenLockPassCode)==null?void 0:Re.valueText,screenLockPassCodeLength:(xt=we.screenLockPassCodeLength)==null?void 0:xt.valueInt,screenLockRecoveryPasswordMasked:(ot=we.screenLockRecoveryPasswordMasked)==null?void 0:ot.valueText,isAppLocked:(pt=we.isAppLocked)==null?void 0:pt.valueBool,isScreenLockPassCodeRequireOnStart:(_t=we.isScreenLockPassCodeRequireOnStart)==null?void 0:_t.valueBool,isSearchNameOrLabelOnly:(ht=we.isSearchNameOrLabelOnly)==null?void 0:ht.valueBool,isSkipAutoStartPrompt:(It=we.isSkipAutoStartPrompt)==null?void 0:It.valueBool,isShowCollectionNameOnNavBar:(Ft=we.isShowCollectionNameOnNavBar)==null?void 0:Ft.valueBool,isShowDisabledCollectionsOnNavBarMenu:(Vt=we.isShowDisabledCollectionsOnNavBarMenu)==null?void 0:Vt.valueBool,userSelectedLanguage:(Ge=we.userSelectedLanguage)==null?void 0:Ge.valueText,licenseKey:(Zt=we.licenseKey)==null?void 0:Zt.valueText,isAppReady:!0}),a.initConstants({APP_DETECT_LANGUAGES_SUPPORTED:Ie}),h9().then($e=>{var Ye;$e==="Windows_NT"&&((Ye=we.copyPasteDelay)==null?void 0:Ye.valueInt)===0&&a.updateSetting("copyPasteDelay",2)}),(nr=we.isFirstRun)!=null&&nr.valueBool&&(vs.setSize(new yv(1105,710)),a.updateSetting("isFirstRun",!1)),(vr=we.isIdleScreenAutoLockEnabled)!=null&&vr.valueBool&&((pr=we.idleScreenAutoLockTimeInMinutes)==null?void 0:pr.valueInt)>0&&(NA.forEach($e=>window.addEventListener($e,h)),n.value=((Wr=we.idleScreenAutoLockTimeInMinutes)==null?void 0:Wr.valueInt)*1e3*60),((Le=we.isAppLocked)!=null&&Le.valueBool||(Mt=we.isScreenLockPassCodeRequireOnStart)!=null&&Mt.valueBool)&&(Li.value=!0),!((Ze=we.appToursCompletedList)!=null&&Ze.valueText.split(",").includes(sr.historyPanelTour))&&!((mr=we.appToursSkippedList)!=null&&mr.valueText.split(",").includes(sr.historyPanelTour))&&Fe){const $e=W1({title:"".concat(f("Welcome to PasteBar",{ns:"help"})," 🎉"),delay:0,description:s.jsxs(s.Fragment,{children:[f("WelcomeDescription",{ns:"help"}),s.jsx(me,{className:"mt-3",children:f("WelcomeTour",{ns:"help"})}),s.jsxs(me,{className:"justify-between",children:[s.jsx(ye,{className:"bg-blue-500 dark:bg-blue-700 dark:hover:bg-blue-800 hover:bg-blue-600 px-4 mt-3 text-white",onClick:()=>{Hr.value=sr.historyPanelTour,$e.dismiss()},children:f("Start Tour",{ns:"help"})}),s.jsxs(me,{className:"gap-3",children:[s.jsx(ye,{variant:"light",className:"text-gray-800 px-4 mt-3 dark:bg-slate-800 dark:text-gray-400 hover:dark:text-gray-300",onClick:()=>{$e.dismiss()},children:f("Later",{ns:"help"})}),s.jsx(ye,{variant:"outline",className:"text-gray-800 px-4 mt-3",onClick:()=>{$e.dismiss();const Ye=Object.values(sr);a.setAppToursSkippedList([...Ye])},children:f("Skip All Tours",{ns:"help"})})]})]})]})})}(Se=we.isSkipAutoStartPrompt)!=null&&Se.valueBool||Fs("is_autostart_enabled").then($e=>pe(this,null,function*(){if(!$e&&(yield Bb("Start the app at system startup?",{title:"PasteBar auto start",okLabel:"Turn on",cancelLabel:"Later"})))try{yield Fs("autostart",{enabled:!0})}catch(mt){console.error(mt)}})),Fe===!1&&(Qb.value=!0)}catch(je){console.error(je)}}),h9().then(E=>{r.setOSType(E)}),vs.innerSize().then(E=>{const{width:N,height:T}=E;(N<740||T<600)&&vs.setSize(new yv(750,620))}),o.deviceId===""&&Fs("get_device_id").then(E=>{const N=E;o.setDeviceId(N)}),(!Ny.TAURI_DEBUG||Ny.VITE_ENABLE_DEV_AUTO_UPDATER)&&a.checkForUpdate();const S=Ri("clipboard://clipboard-monitor/update",E=>pe(this,null,function*(){E.payload==="clipboard update"&&(du.value&&(yield new Promise(N=>setTimeout(N,600)),du.value=""),fu.value&&(yield new Promise(N=>setTimeout(N,600)),fu.value=""),yield e.invalidateQueries({queryKey:["get_clipboard_history"]}),yield e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]}),setTimeout(()=>{i.scrollToTopHistoryList()},100),setTimeout(()=>{e.setQueryData(["get_clipboard_history"],N=>{if(N)return ee(R({},N),{pages:N.pages.slice(0,1),pageParams:N.pageParams.slice(0,1)})})},1e3),Fs("build_system_menu"))})),w=Ri("clips://clips-monitor/update",E=>pe(this,null,function*(){E.payload==="update"&&(yield e.invalidateQueries({queryKey:["get_active_collection_with_clips"]}))})),g=Ri("macosx-permissions-modal",E=>pe(this,null,function*(){E.payload==="show"&&(Qb.value=!0)})),b=Ri("setting:update",E=>pe(this,null,function*(){const{name:N,value_bool:T}=E.payload;N==="isHistoryEnabled"&&a.updateSetting("isHistoryEnabled",!!T)})),C=Ri("menu:add_first_menu_item",()=>pe(this,null,function*(){t("/menu",{replace:!0})})),j=Ri("scheme-request-received",E=>{const N=E.payload;if(!N)return;const T=new URL(N);if(T.hostname==="activate-license"||T.pathname.includes("activate-license")){const A=T.searchParams.get("key");let M=null,D=null;try{if(D=Fk(A),!D)throw new Error("Invalid license key");if(typeof D.id=="string"&&D.id.length>0)M=null;else throw new Error("Invalid license key")}catch(L){return lo(f("License key validation failed. Please try another key.",{ns:"common"}),{title:f("Activation Error",{ns:"common"}),type:"error"}),M=L,!1}if(D.id&&M===null){const L=f("Do you want to activate license below?"),z=f("Name: {{name}}",{name:D.name}),H=f("Email: {{email}}",{email:D.email}),V=f("License Key: {{key}}",{key:_v(A,10,10,180)});Bb("".concat(L,"\n\n").concat(z,"\n").concat(H,"\n\n").concat(V),{title:f("PasteBar Pro License Activation",{ns:"common"}),okLabel:f("Yes, activate",{ns:"common"}),cancelLabel:f("Cancel",{ns:"common"})}).then(I=>{I&&(fm.value=!1,co.value=!1,t("/app-settings/license/register",{replace:!0,state:{ls:A}}))})}}else if(T.hostname==="shared-clip"||T.pathname.includes("shared-clip"))return});return u.on("languageChanged",function(){return pe(this,null,function*(){yield e.invalidateQueries({queryKey:["get_clipboard_history"]})})}),window.addEventListener("contextmenu",E=>{Ny.TAURI_DEBUG||E.preventDefault()}),()=>{j.then(E=>{E()}),S.then(E=>{E()}),C.then(E=>{E()}),w.then(E=>{E()}),b.then(E=>{E()}),g.then(E=>{E()}),c.current&&clearTimeout(c.current),NA.forEach(E=>window.removeEventListener(E,h))}},[]);const m=ft(Es);return p.useEffect(()=>{document.documentElement.style.fontSize=m.fontSize},[m.fontSize]),s.jsx(s.Fragment,{children:s.jsx(xCe,{attribute:"class",defaultTheme:"system",enableSystem:!0,children:s.jsx("div",{className:"bg-transparent ".concat(r.isMacOSX?"p-0":"p-1"," rounded-md"),children:s.jsxs("div",{className:"border rounded-lg shadow-window border-gray-100 dark:border-gray-800 relative bg-slate-100",children:[s.jsx(vCe,{}),s.jsx(v_,{})]})})})})}function PCe(){const{direction:e,setDirection:t}=ft(fi),r=n=>{t(n)};return p.useEffect(()=>{if(window===void 0)return;window.document.documentElement.setAttribute("dir",e)},[e]),[e,r]}const _W="ToastProvider",[w_,MCe,DCe]=Hm("Toast"),[TW,I_e]=wa("Toast",[DCe]),[ACe,Hk]=TW(_W),PW=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:a="right",swipeThreshold:o=50,children:i}=e,[c,u]=p.useState(null),[f,h]=p.useState(0),m=p.useRef(!1),v=p.useRef(!1);return p.createElement(w_.Provider,{scope:t},p.createElement(ACe,{scope:t,label:r,duration:n,swipeDirection:a,swipeThreshold:o,toastCount:f,viewport:c,onViewportChange:u,onToastAdd:p.useCallback(()=>h(S=>S+1),[]),onToastRemove:p.useCallback(()=>h(S=>S-1),[]),isFocusedToastEscapeKeyDownRef:m,isClosePausedRef:v},i))};PW.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t="Invalid prop `label` supplied to `".concat(_W,"`. Expected non-empty `string`.");return new Error(t)}return null}};const RCe="ToastViewport",LCe=["F8"],Hj="toast.viewportPause",Bj="toast.viewportResume",ICe=p.forwardRef((e,t)=>{const b=e,{__scopeToast:r,hotkey:n=LCe,label:a="Notifications ({hotkey})"}=b,o=ke(b,["__scopeToast","hotkey","label"]),i=Hk(RCe,r),c=MCe(r),u=p.useRef(null),f=p.useRef(null),h=p.useRef(null),m=p.useRef(null),v=Zr(t,m,i.onViewportChange),S=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=i.toastCount>0;p.useEffect(()=>{const C=j=>{var E;n.every(T=>j[T]||j.code===T)&&((E=m.current)===null||E===void 0||E.focus())};return document.addEventListener("keydown",C),()=>document.removeEventListener("keydown",C)},[n]),p.useEffect(()=>{const C=u.current,j=m.current;if(w&&C&&j){const E=()=>{if(!i.isClosePausedRef.current){const M=new CustomEvent(Hj);j.dispatchEvent(M),i.isClosePausedRef.current=!0}},N=()=>{if(i.isClosePausedRef.current){const M=new CustomEvent(Bj);j.dispatchEvent(M),i.isClosePausedRef.current=!1}},T=M=>{!C.contains(M.relatedTarget)&&N()},A=()=>{C.contains(document.activeElement)||N()};return C.addEventListener("focusin",E),C.addEventListener("focusout",T),C.addEventListener("pointermove",E),C.addEventListener("pointerleave",A),window.addEventListener("blur",E),window.addEventListener("focus",N),()=>{C.removeEventListener("focusin",E),C.removeEventListener("focusout",T),C.removeEventListener("pointermove",E),C.removeEventListener("pointerleave",A),window.removeEventListener("blur",E),window.removeEventListener("focus",N)}}},[w,i.isClosePausedRef]);const g=p.useCallback(({tabbingDirection:C})=>{const E=c().map(N=>{const T=N.ref.current,A=[T,...QCe(T)];return C==="forwards"?A:A.reverse()});return(C==="forwards"?E.reverse():E).flat()},[c]);return p.useEffect(()=>{const C=m.current;if(C){const j=E=>{const N=E.altKey||E.ctrlKey||E.metaKey;if(E.key==="Tab"&&!N){const L=document.activeElement,z=E.shiftKey;if(E.target===C&&z){var A;(A=f.current)===null||A===void 0||A.focus();return}const I=g({tabbingDirection:z?"backwards":"forwards"}),q=I.findIndex(_=>_===L);if(AS(I.slice(q+1)))E.preventDefault();else{var M,D;z?(M=f.current)===null||M===void 0||M.focus():(D=h.current)===null||D===void 0||D.focus()}}};return C.addEventListener("keydown",j),()=>C.removeEventListener("keydown",j)}},[c,g]),p.createElement(que,{ref:u,role:"region","aria-label":a.replace("{hotkey}",S),tabIndex:-1,style:{pointerEvents:w?void 0:"none"}},w&&p.createElement(_A,{ref:f,onFocusFromOutsideViewport:()=>{const C=g({tabbingDirection:"forwards"});AS(C)}}),p.createElement(w_.Slot,{scope:r},p.createElement(cr.ol,Ue({tabIndex:-1},o,{ref:v}))),w&&p.createElement(_A,{ref:h,onFocusFromOutsideViewport:()=>{const C=g({tabbingDirection:"backwards"});AS(C)}}))}),OCe="ToastFocusProxy",_A=p.forwardRef((e,t)=>{const i=e,{__scopeToast:r,onFocusFromOutsideViewport:n}=i,a=ke(i,["__scopeToast","onFocusFromOutsideViewport"]),o=Hk(OCe,r);return p.createElement(Zw,Ue({"aria-hidden":!0,tabIndex:0},a,{ref:t,style:{position:"fixed"},onFocus:c=>{var u;const f=c.relatedTarget;!((u=o.viewport)!==null&&u!==void 0&&u.contains(f))&&n()}}))}),Bk="Toast",$Ce="toast.swipeStart",zCe="toast.swipeMove",FCe="toast.swipeCancel",HCe="toast.swipeEnd",BCe=p.forwardRef((e,t)=>{const f=e,{forceMount:r,open:n,defaultOpen:a,onOpenChange:o}=f,i=ke(f,["forceMount","open","defaultOpen","onOpenChange"]),[c=!0,u]=ra({prop:n,defaultProp:a,onChange:o});return p.createElement(vo,{present:r||c},p.createElement(MW,Ue({open:c},i,{ref:t,onClose:()=>u(!1),onPause:Ws(e.onPause),onResume:Ws(e.onResume),onSwipeStart:bt(e.onSwipeStart,h=>{h.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:bt(e.onSwipeMove,h=>{const{x:m,y:v}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","move"),h.currentTarget.style.setProperty("--radix-toast-swipe-move-x","".concat(m,"px")),h.currentTarget.style.setProperty("--radix-toast-swipe-move-y","".concat(v,"px"))}),onSwipeCancel:bt(e.onSwipeCancel,h=>{h.currentTarget.setAttribute("data-swipe","cancel"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:bt(e.onSwipeEnd,h=>{const{x:m,y:v}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","end"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.setProperty("--radix-toast-swipe-end-x","".concat(m,"px")),h.currentTarget.style.setProperty("--radix-toast-swipe-end-y","".concat(v,"px")),u(!1)})})))}),[UCe,WCe]=TW(Bk,{onClose(){}}),MW=p.forwardRef((e,t)=>{const q=e,{__scopeToast:r,type:n="foreground",duration:a,open:o,onClose:i,onEscapeKeyDown:c,onPause:u,onResume:f,onSwipeStart:h,onSwipeMove:m,onSwipeCancel:v,onSwipeEnd:S}=q,w=ke(q,["__scopeToast","type","duration","open","onClose","onEscapeKeyDown","onPause","onResume","onSwipeStart","onSwipeMove","onSwipeCancel","onSwipeEnd"]),g=Hk(Bk,r),[b,C]=p.useState(null),j=Zr(t,_=>C(_)),E=p.useRef(null),N=p.useRef(null),T=a||g.duration,A=p.useRef(0),M=p.useRef(T),D=p.useRef(0),{onToastAdd:L,onToastRemove:z}=g,H=Ws(()=>{var _;(b==null?void 0:b.contains(document.activeElement))&&((_=g.viewport)===null||_===void 0||_.focus()),i()}),V=p.useCallback(_=>{!_||_===1/0||(window.clearTimeout(D.current),A.current=new Date().getTime(),D.current=window.setTimeout(H,_))},[H]);p.useEffect(()=>{const _=g.viewport;if(_){const $=()=>{V(M.current),f==null||f()},U=()=>{const K=new Date().getTime()-A.current;M.current=M.current-K,window.clearTimeout(D.current),u==null||u()};return _.addEventListener(Hj,U),_.addEventListener(Bj,$),()=>{_.removeEventListener(Hj,U),_.removeEventListener(Bj,$)}}},[g.viewport,T,u,f,V]),p.useEffect(()=>{o&&!g.isClosePausedRef.current&&V(T)},[o,T,g.isClosePausedRef,V]),p.useEffect(()=>(L(),()=>z()),[L,z]);const I=p.useMemo(()=>b?LW(b):null,[b]);return g.viewport?p.createElement(p.Fragment,null,I&&p.createElement(VCe,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},I),p.createElement(UCe,{scope:r,onClose:H},Zs.createPortal(p.createElement(w_.ItemSlot,{scope:r},p.createElement(Vue,{asChild:!0,onEscapeKeyDown:bt(c,()=>{g.isFocusedToastEscapeKeyDownRef.current||H(),g.isFocusedToastEscapeKeyDownRef.current=!1})},p.createElement(cr.li,Ue({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":g.swipeDirection},w,{ref:j,style:R({userSelect:"none",touchAction:"none"},e.style),onKeyDown:bt(e.onKeyDown,_=>{_.key==="Escape"&&(c==null||c(_.nativeEvent),_.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,H()))}),onPointerDown:bt(e.onPointerDown,_=>{_.button===0&&(E.current={x:_.clientX,y:_.clientY})}),onPointerMove:bt(e.onPointerMove,_=>{if(!E.current)return;const $=_.clientX-E.current.x,U=_.clientY-E.current.y,K=!!N.current,Y=["left","right"].includes(g.swipeDirection),B=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,F=Y?B(0,$):0,G=Y?0:B(0,U),X=_.pointerType==="touch"?10:2,se={x:F,y:G},re={originalEvent:_,delta:se};K?(N.current=se,_y(zCe,m,re,{discrete:!1})):TA(se,g.swipeDirection,X)?(N.current=se,_y($Ce,h,re,{discrete:!1}),_.target.setPointerCapture(_.pointerId)):(Math.abs($)>X||Math.abs(U)>X)&&(E.current=null)}),onPointerUp:bt(e.onPointerUp,_=>{const $=N.current,U=_.target;if(U.hasPointerCapture(_.pointerId)&&U.releasePointerCapture(_.pointerId),N.current=null,E.current=null,$){const K=_.currentTarget,Y={originalEvent:_,delta:$};TA($,g.swipeDirection,g.swipeThreshold)?_y(HCe,S,Y,{discrete:!0}):_y(FCe,v,Y,{discrete:!0}),K.addEventListener("click",B=>B.preventDefault(),{once:!0})}})})))),g.viewport))):null});MW.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t="Invalid prop `type` supplied to `".concat(Bk,"`. Expected `foreground | background`.");return new Error(t)}return null}};const VCe=e=>{const f=e,{__scopeToast:t,children:r}=f,n=ke(f,["__scopeToast","children"]),a=Hk(Bk,t),[o,i]=p.useState(!1),[c,u]=p.useState(!1);return ZCe(()=>i(!0)),p.useEffect(()=>{const h=window.setTimeout(()=>u(!0),1e3);return()=>window.clearTimeout(h)},[]),c?null:p.createElement(Dc,{asChild:!0},p.createElement(Zw,n,o&&p.createElement(p.Fragment,null,a.label," ",r)))},qCe=p.forwardRef((e,t)=>{const a=e,{__scopeToast:r}=a,n=ke(a,["__scopeToast"]);return p.createElement(cr.div,Ue({},n,{ref:t}))}),KCe=p.forwardRef((e,t)=>{const a=e,{__scopeToast:r}=a,n=ke(a,["__scopeToast"]);return p.createElement(cr.div,Ue({},n,{ref:t}))}),GCe="ToastAction",DW=p.forwardRef((e,t)=>{const a=e,{altText:r}=a,n=ke(a,["altText"]);return r?p.createElement(RW,{altText:r,asChild:!0},p.createElement(AW,Ue({},n,{ref:t}))):null});DW.propTypes={altText(e){return e.altText?null:new Error("Missing prop `altText` expected on `".concat(GCe,"`"))}};const YCe="ToastClose",AW=p.forwardRef((e,t)=>{const o=e,{__scopeToast:r}=o,n=ke(o,["__scopeToast"]),a=WCe(YCe,r);return p.createElement(RW,{asChild:!0},p.createElement(cr.button,Ue({type:"button"},n,{ref:t,onClick:bt(e.onClick,a.onClose)})))}),RW=p.forwardRef((e,t)=>{const o=e,{__scopeToast:r,altText:n}=o,a=ke(o,["__scopeToast","altText"]);return p.createElement(cr.div,Ue({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},a,{ref:t}))});function LW(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),XCe(n)){const a=n.ariaHidden||n.hidden||n.style.display==="none",o=n.dataset.radixToastAnnounceExclude==="";if(!a)if(o){const i=n.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...LW(n))}}),t}function _y(e,t,r,{discrete:n}){const a=r.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?c6(a,o):a.dispatchEvent(o)}const TA=(e,t,r=0)=>{const n=Math.abs(e.x),a=Math.abs(e.y),o=n>a;return t==="left"||t==="right"?o&&n>r:!o&&a>r};function ZCe(e=()=>{}){const t=Ws(e);zo(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function XCe(e){return e.nodeType===e.ELEMENT_NODE}function QCe(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function AS(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const JCe=PW,IW=ICe,OW=BCe,$W=qCe,zW=KCe,FW=DW,HW=AW,e5e=JCe,BW=p.forwardRef((n,r)=>{var a=n,{className:e}=a,t=ke(a,["className"]);return s.jsx(IW,R({ref:r,className:Nt("fixed top-14 right-4 z-[100000] flex max-h-screen w-full px-3 py-2 flex-col max-w-[420px]",e)},t))});BW.displayName=IW.displayName;const t5e=cd("data-[swipe=move]:transition-none group relative pointer-events-auto flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border px-5 py-4 shadow-md transition-all data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-10 data-[state=open]:slide-in-from-top-full data-[state=closed]:slide-out-to-right-full",{variants:{variant:{default:"bg-background dark:bg-gray-900 border",success:"bg-green-50 dark:bg-green-950 bg-green-100 dark:bg-green-900",destructive:"group destructive border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),UW=p.forwardRef((a,n)=>{var o=a,{className:e,variant:t}=o,r=ke(o,["className","variant"]);return s.jsx(OW,R({ref:n,className:Nt(t5e({variant:t}),e)},r))});UW.displayName=OW.displayName;const r5e=p.forwardRef((n,r)=>{var a=n,{className:e}=a,t=ke(a,["className"]);return s.jsx(FW,R({ref:r,className:Nt("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-destructive/30 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e)},t))});r5e.displayName=FW.displayName;const WW=p.forwardRef((n,r)=>{var a=n,{className:e}=a,t=ke(a,["className"]);return s.jsx(HW,ee(R({ref:r,className:Nt("absolute right-2 top-2 rounded-md p-1 text-foreground/50 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":""},t),{children:s.jsx(wr,{className:"h-5 w-5"})}))});WW.displayName=HW.displayName;const VW=p.forwardRef((n,r)=>{var a=n,{className:e}=a,t=ke(a,["className"]);return s.jsx($W,R({ref:r,className:Nt("text-base font-semibold",e)},t))});VW.displayName=$W.displayName;const qW=p.forwardRef((n,r)=>{var a=n,{className:e}=a,t=ke(a,["className"]);return s.jsx(zW,R({ref:r,className:Nt("text-base",e)},t))});qW.displayName=zW.displayName;function n5e(){const{toasts:e,dismiss:t,resetTimer:r,continueTimer:n}=SCe();return s.jsxs(e5e,{duration:2e4,children:[e.map(function(h){var m=h,{id:a,title:o,description:i,className:c,action:u}=m,f=ke(m,["id","title","description","className","action"]);return s.jsxs(UW,ee(R({},f),{onMouseEnter:()=>r(a),onMouseLeave:()=>n(a),children:[s.jsxs("div",{className:"grid gap-1",children:[o&&s.jsx(VW,{children:o}),i&&s.jsx(qW,{children:i})]}),s.jsx(WW,{onClick:()=>{t(a,!0)}})]}),a)}),s.jsx(BW,{className:"!max-w-[450px]"})]})}var KW=ek(),RS=function(){},Uk=p.forwardRef(function(e,t){var r=p.useRef(null),n=p.useState({onScrollCapture:RS,onWheelCapture:RS,onTouchMoveCapture:RS}),a=n[0],o=n[1],i=e.forwardProps,c=e.children,u=e.className,f=e.removeScrollBar,h=e.enabled,m=e.shards,v=e.sideCar,S=e.noIsolation,w=e.inert,g=e.allowPinchZoom,b=e.as,C=b===void 0?"div":b,j=_1(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),E=v,N=Jw([r,t]),T=vn(vn({},j),a);return p.createElement(p.Fragment,null,h&&p.createElement(E,{sideCar:KW,removeScrollBar:f,shards:m,noIsolation:S,inert:w,setCallbacks:o,allowPinchZoom:!!g,lockRef:r}),i?p.cloneElement(p.Children.only(c),vn(vn({},T),{ref:N})):p.createElement(C,vn({},T,{className:u,ref:N}),c))});Uk.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Uk.classNames={fullWidth:mf,zeroRight:pf};var Uj=!1;if(typeof window!="undefined")try{var Ty=Object.defineProperty({},"passive",{get:function(){return Uj=!0,!0}});window.addEventListener("test",Ty,Ty),window.removeEventListener("test",Ty,Ty)}catch(e){Uj=!1}var Bh=Uj?{passive:!1}:!1,s5e=function(e){return e.tagName==="TEXTAREA"},GW=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!s5e(e)&&r[t]==="visible")},a5e=function(e){return GW(e,"overflowY")},o5e=function(e){return GW(e,"overflowX")},PA=function(e,t){var r=t;do{typeof ShadowRoot!="undefined"&&r instanceof ShadowRoot&&(r=r.host);var n=YW(e,r);if(n){var a=ZW(e,r),o=a[1],i=a[2];if(o>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},i5e=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},l5e=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},YW=function(e,t){return e==="v"?a5e(t):o5e(t)},ZW=function(e,t){return e==="v"?i5e(t):l5e(t)},c5e=function(e,t){return e==="h"&&t==="rtl"?-1:1},u5e=function(e,t,r,n,a){var o=c5e(e,window.getComputedStyle(t).direction),i=o*n,c=r.target,u=t.contains(c),f=!1,h=i>0,m=0,v=0;do{var S=ZW(e,c),w=S[0],g=S[1],b=S[2],C=g-b-o*w;(w||C)&&YW(e,c)&&(m+=C,v+=w),c=c.parentNode}while(!u&&c!==document.body||u&&(t.contains(c)||t===c));return(h&&(a&&m===0||!a&&i>m)||!h&&(a&&v===0||!a&&-i>v))&&(f=!0),f},Py=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},MA=function(e){return[e.deltaX,e.deltaY]},DA=function(e){return e&&"current"in e?e.current:e},d5e=function(e,t){return e[0]===t[0]&&e[1]===t[1]},f5e=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},h5e=0,Uh=[];function p5e(e){var t=p.useRef([]),r=p.useRef([0,0]),n=p.useRef(),a=p.useState(h5e++)[0],o=p.useState(function(){return T1()})[0],i=p.useRef(e);p.useEffect(function(){i.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var g=Qw([e.lockRef.current],(e.shards||[]).map(DA),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var c=p.useCallback(function(g,b){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var C=Py(g),j=r.current,E="deltaX"in g?g.deltaX:j[0]-C[0],N="deltaY"in g?g.deltaY:j[1]-C[1],T,A=g.target,M=Math.abs(E)>Math.abs(N)?"h":"v";if("touches"in g&&M==="h"&&A.type==="range")return!1;var D=PA(M,A);if(!D)return!0;if(D?T=M:(T=M==="v"?"h":"v",D=PA(M,A)),!D)return!1;if(!n.current&&"changedTouches"in g&&(E||N)&&(n.current=T),!T)return!0;var L=n.current||T;return u5e(L,b,g,L==="h"?E:N,!0)},[]),u=p.useCallback(function(g){var b=g;if(!(!Uh.length||Uh[Uh.length-1]!==o)){var C="deltaY"in b?MA(b):Py(b),j=t.current.filter(function(T){return T.name===b.type&&T.target===b.target&&d5e(T.delta,C)})[0];if(j&&j.should){b.cancelable&&b.preventDefault();return}if(!j){var E=(i.current.shards||[]).map(DA).filter(Boolean).filter(function(T){return T.contains(b.target)}),N=E.length>0?c(b,E[0]):!i.current.noIsolation;N&&b.cancelable&&b.preventDefault()}}},[]),f=p.useCallback(function(g,b,C,j){var E={name:g,delta:b,target:C,should:j};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(N){return N!==E})},1)},[]),h=p.useCallback(function(g){r.current=Py(g),n.current=void 0},[]),m=p.useCallback(function(g){f(g.type,MA(g),g.target,c(g,e.lockRef.current))},[]),v=p.useCallback(function(g){f(g.type,Py(g),g.target,c(g,e.lockRef.current))},[]);p.useEffect(function(){return Uh.push(o),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:v}),document.addEventListener("wheel",u,Bh),document.addEventListener("touchmove",u,Bh),document.addEventListener("touchstart",h,Bh),function(){Uh=Uh.filter(function(g){return g!==o}),document.removeEventListener("wheel",u,Bh),document.removeEventListener("touchmove",u,Bh),document.removeEventListener("touchstart",h,Bh)}},[]);var S=e.removeScrollBar,w=e.inert;return p.createElement(p.Fragment,null,w?p.createElement(o,{styles:f5e(a)}):null,S?p.createElement(nk,{gapMode:"margin"}):null)}const m5e=tk(KW,p5e);var XW=p.forwardRef(function(e,t){return p.createElement(Uk,vn({},e,{ref:t,sideCar:m5e}))});XW.classNames=Uk.classNames;const g5e=XW,QW="Dialog",[JW,O_e]=wa(QW),[v5e,r0]=JW(QW),x5e=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:i=!0}=e,c=p.useRef(null),u=p.useRef(null),[f=!1,h]=ra({prop:n,defaultProp:a,onChange:o});return p.createElement(v5e,{scope:t,triggerRef:c,contentRef:u,contentId:Us(),titleId:Us(),descriptionId:Us(),open:f,onOpenChange:h,onOpenToggle:p.useCallback(()=>h(m=>!m),[h]),modal:i},r)},y5e="DialogPortal",[$_e,eV]=JW(y5e,{forceMount:void 0}),Wj="DialogOverlay",b5e=p.forwardRef((e,t)=>{const r=eV(Wj,e.__scopeDialog),i=e,{forceMount:n=r.forceMount}=i,a=ke(i,["forceMount"]),o=r0(Wj,e.__scopeDialog);return o.modal?p.createElement(vo,{present:n||o.open},p.createElement(w5e,Ue({},a,{ref:t}))):null}),w5e=p.forwardRef((e,t)=>{const o=e,{__scopeDialog:r}=o,n=ke(o,["__scopeDialog"]),a=r0(Wj,r);return p.createElement(g5e,{as:Gu,allowPinchZoom:!0,shards:[a.contentRef]},p.createElement(cr.div,Ue({"data-state":rV(a.open)},n,{ref:t,style:R({pointerEvents:"auto"},n.style)})))}),Vv="DialogContent",k5e=p.forwardRef((e,t)=>{const r=eV(Vv,e.__scopeDialog),i=e,{forceMount:n=r.forceMount}=i,a=ke(i,["forceMount"]),o=r0(Vv,e.__scopeDialog);return p.createElement(vo,{present:n||o.open},o.modal?p.createElement(C5e,Ue({},a,{ref:t})):p.createElement(S5e,Ue({},a,{ref:t})))}),C5e=p.forwardRef((e,t)=>{const r=r0(Vv,e.__scopeDialog),n=p.useRef(null),a=Zr(t,r.contentRef,n);return p.useEffect(()=>{const o=n.current;if(o)return Xw(o)},[]),p.createElement(tV,Ue({},e,{ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:bt(e.onCloseAutoFocus,o=>{var i;o.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:bt(e.onPointerDownOutside,o=>{const i=o.detail.originalEvent,c=i.button===0&&i.ctrlKey===!0;(i.button===2||c)&&o.preventDefault()}),onFocusOutside:bt(e.onFocusOutside,o=>o.preventDefault())}))}),S5e=p.forwardRef((e,t)=>{const r=r0(Vv,e.__scopeDialog),n=p.useRef(!1),a=p.useRef(!1);return p.createElement(tV,Ue({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var c;n.current||(c=r.triggerRef.current)===null||c===void 0||c.focus(),o.preventDefault()}n.current=!1,a.current=!1},onInteractOutside:o=>{var i,c;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const u=o.target;((c=r.triggerRef.current)===null||c===void 0?void 0:c.contains(u))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()}}))}),tV=p.forwardRef((e,t)=>{const h=e,{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o}=h,i=ke(h,["__scopeDialog","trapFocus","onOpenAutoFocus","onCloseAutoFocus"]),c=r0(Vv,r),u=p.useRef(null),f=Zr(t,u);return Ww(),p.createElement(p.Fragment,null,p.createElement(Vw,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o},p.createElement(Um,Ue({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":rV(c.open)},i,{ref:f,onDismiss:()=>c.onOpenChange(!1)}))),!1)});function rV(e){return e?"open":"closed"}const j5e=x5e,E5e=b5e,AA=k5e,nV=()=>{const[e,t]=p.useState({height:window.innerHeight,width:window.innerWidth});return p.useEffect(()=>{const r=()=>{t({height:window.innerHeight,width:window.innerWidth})};return window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}},[]),e},V1=p.createContext({portalRef:void 0,onOutsideClick:()=>{},noFooter:!1,isLargeModal:!0}),N5e=({children:e,isNavVisible:t=!0,outOutsideClick:r=()=>{}})=>s.jsx(E5e,{onClick:()=>{r()},className:"bg-slate-900/80 fixed ".concat(t?"top-10":"top-0"," bottom-0 left-0 right-0 z-50 grid place-items-center overflow-y-auto"),children:e}),_5e=({children:e,outOutsideClick:t,isLargeModal:r,canClose:n,noFooter:a,positionTop:o})=>{const{height:i}=nV(),c={maxHeight:a?i:i-64};return n?s.jsx(AA,{style:c,className:"".concat(r?"-mt-5":"-mt-80"," ").concat(o?"!-mt-[100px]":""," min-w-modal rounded-lg outline-none bg-slate-100 dark:bg-slate-800 animate-in fade-in slide-in-from-top-10 duration-300 top-10"),children:e}):s.jsx(AA,{style:c,onPointerDownOutside:u=>{t&&t(),u.preventDefault()},onInteractOutside:u=>{u.preventDefault()},onEscapeKeyDown:u=>{u.preventDefault()},className:"".concat(r?"-mt-5":"-mt-80"," min-w-modal rounded-lg outline-none bg-slate-100 dark:bg-slate-800 animate-in fade-in slide-in-from-top-10 duration-300 top-10"),children:e})},Br=({open:e=!0,handleClose:t,canClose:r=!0,isNavVisible:n=!0,positionTop:a,noFooter:o=!1,isLargeModal:i=!1,onOutsideClick:c=()=>{},children:u})=>{const f=p.useRef(null);return s.jsx(j5e,{open:e,onOpenChange:t,children:s.jsx(Dc,{ref:f,children:s.jsx(V1.Provider,{value:{portalRef:f,isLargeModal:i,onOutsideClick:c,noFooter:o},children:s.jsx(N5e,{isNavVisible:n,outOutsideClick:c,children:s.jsx(_5e,{canClose:r,positionTop:a,outOutsideClick:c,isLargeModal:!0,noFooter:!0,children:u})})})})})};Br.Body=({children:e,className:t,style:r})=>{const{isLargeModal:n,onOutsideClick:a}=p.useContext(V1);return s.jsx("div",{style:r,className:hr("h-[full]",t,{"max-w-2xl":n,"max-w-md":!n}),onClick:o=>{a&&a(),o.stopPropagation()},children:e})};Br.Content=({children:e,className:t})=>{const{isLargeModal:r,onOutsideClick:n,noFooter:a}=p.useContext(V1),{height:o}=nV(),i={maxHeight:a?o:o-90-141};return s.jsx("div",{"data-tauri-drag-region":!0,onClick:()=>{n&&n()},style:i,className:hr("overflow-y-auto px-8 pt-6",{"w-largeModal pb-7":r,"pb-5":!r},t),children:e})};Br.Header=({handleClose:e=void 0,children:t,className:r="",canClose:n=!0,isCenter:a=!1})=>{const{onOutsideClick:o}=p.useContext(V1);return s.jsxs("div",{"data-tauri-drag-region":!0,className:"flex w-full items-center border-0 px-8 py-6 pb-2 ".concat(r),onClick:i=>{o&&o(),i.stopPropagation()},children:[s.jsx("div",{className:"flex flex-grow ".concat(a?"justify-center":""),children:t}),s.jsx("div",{className:"self-end",children:e&&n&&s.jsx(ye,{variant:"ghost",size:"sm",onClick:e,className:"cursor-pointer border-0 p-1.5",children:s.jsx(wr,{size:20})})})]})};Br.Footer=({children:e,className:t})=>{const{isLargeModal:r,onOutsideClick:n}=p.useContext(V1);return s.jsx("div",{"data-tauri-drag-region":!0,onClick:a=>{n&&n(),a.stopPropagation()},className:hr("flex w-full px-7 pb-6 pt-2",{"border-grey-20 border-0 pt-4":r},t),children:e})};function T5e({open:e,onClose:t}){const{t:r}=At(),{checkForUpdate:n}=ft(pn),a=Tc(Lk),o=Tc(F1),i=B1(),c=p.useMemo(()=>H1(),[Er.value]),u=En(1717913387272).format("MMMM, YYYY"),f=on.language==="ru",{themeDark:h}=ft(fi),m=h(),{id:v}=Er.value||{},S="".concat(a?"https://license.pastebar.app/contact/?pro=true&licenseId=".concat(v,"&"):"https://license.pastebar.app/contact/?","source=app&locale=").concat(on.language,"&dark=").concat(m?"true":"false");return s.jsx(Br,{open:e,handleClose:t,positionTop:!0,children:s.jsxs(Br.Body,{className:"min-w-[400px] relative",children:[s.jsx(ye,{variant:"link",type:"button",onClick:t,className:"hover:bg-slate-200 px-2 absolute right-1.5 top-1.5 text-slate-400 dark:text-slate-500 hover:text-slate-600 hover:dark:text-slate-400 hover:bg-transparent dark:hover:bg-transparent",children:s.jsx(wr,{className:"w-5 h-5"})}),s.jsx(Br.Content,{children:s.jsxs(me,{className:"w-full flex-col gap-1 mt-1",children:[s.jsx(me,{className:"h-fit w-full items-center",children:s.jsx(NW,{width:80,height:80})}),s.jsx(J,{className:"font-semibold text-2xl",children:a?c?s.jsxs(s.Fragment,{children:[r("PasteBar",{ns:"common"})," ",s.jsx("span",{className:"text-amber-700 dark:text-amber-600 ml-1 opacity-80",children:r("Pro",{ns:"common"})})]}):r("PasteBar Pro",{ns:"common"}):r("PasteBar",{ns:"common"})}),s.jsxs(J,{className:"font-light text-center",children:[r("Version",{ns:"common"}),": ","0.2.0",o&&s.jsx("span",{className:"bg-slate-200/90 dark:bg-slate-600/90 dark:!text-slate-300 px-2 rounded-md !text-slate-600 text-sm ml-1.5 mb-0 py-0",children:"Beta"})]}),s.jsx(J,{className:"font-light text-center",children:r("Build on {{buildDate}}",{ns:"common",buildDate:u})}),s.jsx("a",{href:"https://".concat(r("www.site",{ns:"common"})),target:"_blank",className:"underline !text-blue-600 dark:!text-blue-400 cursor-pointer",children:r("www.site",{ns:"common"})}),s.jsx(kr,{h:3}),s.jsxs("div",{className:"flex w-full justify-center items-center gap-x-3",children:[!a&&s.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>{t(),co.value=!0,fm.value=!0},className:"hover:bg-blue-600 hover:text-white dark:bg-gray-700/50 bg-gray-200/50 dark:hover:bg-blue-600",children:i?r("Renew License",{ns:"settings"}):r("Upgrade to Pro",{ns:"common"})}),s.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>{n(!0)},className:"hover:bg-blue-600 hover:text-white dark:bg-gray-700/50 bg-gray-200/50 dark:hover:bg-blue-600",children:Od.value?r("No Update Available",{ns:"updater"}):Ql.value?r("Checking for Update...",{ns:"updater"}):r("Check for Update",{ns:"updater"})})]})]})}),s.jsxs(Br.Footer,{className:"flex-col items-center !pt-0 !pb-5 relative",children:[s.jsx(J,{className:"text-sm mb-2 opacity-50",children:r("Stay in touch",{ns:"common"})}),s.jsxs("div",{className:"flex flex-wrap gap-4 justify-center items-center",children:[f?s.jsx("div",{className:"flex justify-center",children:s.jsx("a",{href:"https://t.me/pastebar_ru",target:"_blank",title:"Telegram",className:"inline-flex flex-col justify-center items-center p-1 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:s.jsx("span",{className:"w-7 h-7",children:s.jsx("svg",{fill:"currentColor",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M 26.070313 3.996094 C 25.734375 4.011719 25.417969 4.109375 25.136719 4.21875 L 25.132813 4.21875 C 24.847656 4.332031 23.492188 4.902344 21.433594 5.765625 C 19.375 6.632813 16.703125 7.757813 14.050781 8.875 C 8.753906 11.105469 3.546875 13.300781 3.546875 13.300781 L 3.609375 13.277344 C 3.609375 13.277344 3.25 13.394531 2.875 13.652344 C 2.683594 13.777344 2.472656 13.949219 2.289063 14.21875 C 2.105469 14.488281 1.957031 14.902344 2.011719 15.328125 C 2.101563 16.050781 2.570313 16.484375 2.90625 16.722656 C 3.246094 16.964844 3.570313 17.078125 3.570313 17.078125 L 3.578125 17.078125 L 8.460938 18.722656 C 8.679688 19.425781 9.949219 23.597656 10.253906 24.558594 C 10.433594 25.132813 10.609375 25.492188 10.828125 25.765625 C 10.933594 25.90625 11.058594 26.023438 11.207031 26.117188 C 11.265625 26.152344 11.328125 26.179688 11.390625 26.203125 C 11.410156 26.214844 11.429688 26.21875 11.453125 26.222656 L 11.402344 26.210938 C 11.417969 26.214844 11.429688 26.226563 11.441406 26.230469 C 11.480469 26.242188 11.507813 26.246094 11.558594 26.253906 C 12.332031 26.488281 12.953125 26.007813 12.953125 26.007813 L 12.988281 25.980469 L 15.871094 23.355469 L 20.703125 27.0625 L 20.8125 27.109375 C 21.820313 27.550781 22.839844 27.304688 23.378906 26.871094 C 23.921875 26.433594 24.132813 25.875 24.132813 25.875 L 24.167969 25.785156 L 27.902344 6.65625 C 28.007813 6.183594 28.035156 5.742188 27.917969 5.3125 C 27.800781 4.882813 27.5 4.480469 27.136719 4.265625 C 26.769531 4.046875 26.40625 3.980469 26.070313 3.996094 Z M 25.96875 6.046875 C 25.964844 6.109375 25.976563 6.101563 25.949219 6.222656 L 25.949219 6.234375 L 22.25 25.164063 C 22.234375 25.191406 22.207031 25.25 22.132813 25.308594 C 22.054688 25.371094 21.992188 25.410156 21.667969 25.28125 L 15.757813 20.75 L 12.1875 24.003906 L 12.9375 19.214844 C 12.9375 19.214844 22.195313 10.585938 22.59375 10.214844 C 22.992188 9.84375 22.859375 9.765625 22.859375 9.765625 C 22.886719 9.3125 22.257813 9.632813 22.257813 9.632813 L 10.082031 17.175781 L 10.078125 17.15625 L 4.242188 15.191406 L 4.242188 15.1875 C 4.238281 15.1875 4.230469 15.183594 4.226563 15.183594 C 4.230469 15.183594 4.257813 15.171875 4.257813 15.171875 L 4.289063 15.15625 L 4.320313 15.144531 C 4.320313 15.144531 9.53125 12.949219 14.828125 10.71875 C 17.480469 9.601563 20.152344 8.476563 22.207031 7.609375 C 24.261719 6.746094 25.78125 6.113281 25.867188 6.078125 C 25.949219 6.046875 25.910156 6.046875 25.96875 6.046875 Z"})})})})}):s.jsx("div",{className:"flex justify-center",children:s.jsx("a",{href:"https://discord.gg/RW27D63bZ3",target:"_blank",title:"Discord",className:"inline-flex flex-col justify-center items-center p-1 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:s.jsx("span",{className:"w-7 h-7",children:s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 192 192",children:[s.jsx("path",{stroke:"currentColor",strokeWidth:"12",d:"m68 138-8 16c-10.19-4.246-20.742-8.492-31.96-15.8-3.912-2.549-6.284-6.88-6.378-11.548-.488-23.964 5.134-48.056 19.369-73.528 1.863-3.334 4.967-5.778 8.567-7.056C58.186 43.02 64.016 40.664 74 39l6 11s6-2 16-2 16 2 16 2l6-11c9.984 1.664 15.814 4.02 24.402 7.068 3.6 1.278 6.704 3.722 8.567 7.056 14.235 25.472 19.857 49.564 19.37 73.528-.095 4.668-2.467 8.999-6.379 11.548-11.218 7.308-21.769 11.554-31.96 15.8l-8-16m-68-8s20 10 40 10 40-10 40-10"}),s.jsx("ellipse",{cx:"71",cy:"101",fill:"currentColor",rx:"13",ry:"15"}),s.jsx("ellipse",{cx:"121",cy:"101",fill:"currentColor",rx:"13",ry:"15"})]})})})}),s.jsx("div",{className:"flex justify-center",children:s.jsx("a",{href:"https://www.facebook.com/PasteBarApp",target:"_blank",title:"Facebook",className:"inline-flex flex-col justify-center items-center p-1 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:s.jsx("span",{className:"w-7 h-7",children:s.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21ZM12 21V13.0001M12 13.0001V10.0001C12 8.02404 13.3537 7.03622 15.5 7.18462M12 13.0001L15 13.0001M12 13.0001H9",stroke:"currentColor",strokeWidth:"1.5"})})})})}),s.jsx("div",{className:"flex justify-center",children:s.jsx("a",{href:"https://twitter.com/PasteBar_App",target:"_blank",title:"Twitter",className:"inline-flex flex-col justify-center items-center p-1 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:s.jsx("span",{className:"w-7 h-7",children:s.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M3.50003 4.50005C1.50012 7.99982 2.63692 13.738 7.63684 16.2382C6.52918 17.0001 4.50012 17.9999 2.50012 18.4998C7.00012 20.4999 11.5001 20.9999 16.0001 17.4999C19.4154 14.8436 20.1668 10.1666 20.0001 7.99991L22.5001 5.00023H19.0001C17.5001 3.49991 16.022 3.57155 14.5001 4.00017C12.724 4.50037 11.7934 6.34309 12.0001 8.49991C9.00012 8.99968 6.00012 6.99982 3.50003 4.50005Z",stroke:"currentColor",strokeWidth:"1.5"})})})})}),s.jsx("div",{className:"flex justify-center",children:s.jsx("a",{href:"https://github.com/PasteBar",target:"_blank",title:"GitHub",className:"inline-flex flex-col justify-center items-center p-1.5 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:s.jsx("span",{className:"w-6 h-6",children:s.jsx("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:s.jsx("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm3.163 21.783h-.093a.513.513 0 0 1-.382-.14.513.513 0 0 1-.14-.372v-1.406c.006-.467.01-.94.01-1.416a3.693 3.693 0 0 0-.151-1.028 1.832 1.832 0 0 0-.542-.875 8.014 8.014 0 0 0 2.038-.471 4.051 4.051 0 0 0 1.466-.964c.407-.427.71-.943.885-1.506a6.77 6.77 0 0 0 .3-2.13 4.138 4.138 0 0 0-.26-1.476 3.892 3.892 0 0 0-.795-1.284 2.81 2.81 0 0 0 .162-.582c.033-.2.05-.402.05-.604 0-.26-.03-.52-.09-.773a5.309 5.309 0 0 0-.221-.763.293.293 0 0 0-.111-.02h-.11c-.23.002-.456.04-.674.111a5.34 5.34 0 0 0-.703.26 6.503 6.503 0 0 0-.661.343c-.215.127-.405.249-.573.362a9.578 9.578 0 0 0-5.143 0 13.507 13.507 0 0 0-.572-.362 6.022 6.022 0 0 0-.672-.342 4.516 4.516 0 0 0-.705-.261 2.203 2.203 0 0 0-.662-.111h-.11a.29.29 0 0 0-.11.02 5.844 5.844 0 0 0-.23.763c-.054.254-.08.513-.081.773 0 .202.017.404.051.604.033.199.086.394.16.582A3.888 3.888 0 0 0 5.702 10a4.142 4.142 0 0 0-.263 1.476 6.871 6.871 0 0 0 .292 2.12c.181.563.483 1.08.884 1.516.415.422.915.75 1.466.964.653.25 1.337.41 2.033.476a1.828 1.828 0 0 0-.452.633 2.99 2.99 0 0 0-.2.744 2.754 2.754 0 0 1-1.175.27 1.788 1.788 0 0 1-1.065-.3 2.904 2.904 0 0 1-.752-.824 3.1 3.1 0 0 0-.292-.382 2.693 2.693 0 0 0-.372-.343 1.841 1.841 0 0 0-.432-.24 1.2 1.2 0 0 0-.481-.101c-.04.001-.08.005-.12.01a.649.649 0 0 0-.162.02.408.408 0 0 0-.13.06.116.116 0 0 0-.06.1.33.33 0 0 0 .14.242c.093.074.17.131.232.171l.03.021c.133.103.261.214.382.333.112.098.213.209.3.33.09.119.168.246.231.381.073.134.15.288.231.463.188.474.522.875.954 1.145.453.243.961.364 1.476.351.174 0 .349-.01.522-.03.172-.028.343-.057.515-.091v1.743a.5.5 0 0 1-.533.521h-.062a10.286 10.286 0 1 1 6.324 0v.005z"})})})})}),s.jsx("div",{className:"flex justify-center",children:s.jsx("a",{href:S,target:"_blank",title:r("Contact Form",{ns:"common"}),className:"inline-flex flex-col justify-center items-center p-1 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:s.jsx("span",{className:"w-7 h-7",children:s.jsx("svg",{fill:"currentColor",viewBox:"0 0 32 32",children:s.jsx("path",{d:"M26.2,8.5c-2.2-3.2-5.6-5.2-9.3-5.5c-0.3,0-0.6,0-0.9,0c-3.7,0-7.2,1.6-9.7,4.3c-2.5,2.7-3.6,6.4-3.2,10.1\n c0.7,6,5.5,10.8,11.5,11.4C15,29,15.5,29,16,29c2.6,0,5-0.7,7.2-2.2c0.5-0.3,0.6-0.9,0.3-1.4c-0.3-0.5-0.9-0.6-1.4-0.3\n c-2.2,1.4-4.7,2.1-7.3,1.8c-5.1-0.5-9.1-4.6-9.7-9.7C4.7,14.1,5.7,11,7.8,8.7c2.3-2.5,5.6-3.9,9-3.6c3.2,0.2,6,1.9,7.8,4.6\n c1.9,2.9,2.4,6.3,1.3,9.6l0,0.1c-0.3,1-1.3,1.7-2.4,1.7c-1.4,0-2.5-1.1-2.5-2.5V17v-2v-4c0-0.6-0.4-1-1-1s-1,0.4-1,1v0\n c-0.8-0.6-1.9-1-3-1c-2.8,0-5,2.2-5,5v2c0,2.8,2.2,5,5,5c1.4,0,2.6-0.6,3.5-1.4c0.7,1.4,2.2,2.4,4,2.4c1.9,0,3.6-1.2,4.3-3.1l0-0.1\n C29.1,16,28.5,11.9,26.2,8.5z M19,17c0,1.7-1.3,3-3,3s-3-1.3-3-3v-2c0-1.7,1.3-3,3-3s3,1.3,3,3V17z"})})})})})]})]})]})})}function P5e({open:e,selectedText:t,onClose:r,onConfirmMenu:n,onConfirmClip:a}){const{t:o}=At(),{themeDark:i}=ft(fi),c=i();return s.jsx(Br,{open:e,handleClose:r,children:s.jsxs(Br.Body,{children:[s.jsx(Br.Header,{handleClose:r,children:s.jsx("h1",{className:"m-0",children:o("Add to Clips or Menu",{ns:"common"})})}),s.jsxs(Br.Content,{className:"!pt-2",children:[s.jsx(Q,{className:"bg-slate-200/70 dark:bg-slate-900/60 rounded-md border border-slate-200 dark:border-slate-800/70 px-2 pt-1",children:s.jsx(va,{isDark:c,maxHeight:350,isLargeView:!0,isShowMore:!0,isWrapped:!0,language:"text",value:t})}),s.jsx(kr,{h:4}),s.jsx(J,{className:"font-light",children:o("You can add the selected text to your clips or menu. Please select the option below.",{ns:"collections"})})]}),s.jsxs(Br.Footer,{className:"flex-col !pt-0 !pb-3",children:[s.jsxs("div",{className:"flex w-full justify-center gap-x-3",children:[s.jsx(ye,{variant:"light",type:"submit",onClick:()=>{a(t)},className:"w-full bg-blue-300 hover:bg-blue-500 hover:text-white dark:bg-blue-700 dark:hover:bg-blue-600",children:o("Add Clip",{ns:"common"})}),s.jsx(ye,{variant:"light",type:"submit",onClick:()=>{n(t)},className:"w-full bg-blue-300 hover:bg-blue-500 hover:text-white dark:bg-blue-700 dark:hover:bg-blue-600",children:o("Add Menu",{ns:"common"})})]}),s.jsx("div",{className:"flex w-full justify-center mt-3",children:s.jsx(ye,{variant:"ghost",type:"button",onClick:r,className:"hover:bg-slate-200 dark:hover:bg-slate-900",children:o("Cancel",{ns:"common"})})})]})]})})}function X2(e,t){var a;const[r,n]=p.useState(localStorage.getItem(e)?JSON.parse((a=localStorage.getItem(e))!=null?a:"{}"):t);return p.useEffect(()=>{r===null?localStorage.removeItem(e):localStorage.setItem(e,JSON.stringify(r))},[r,e]),[r,n]}function RA({open:e,title:t="Unlock Application Screen",isLockScreen:r=!1,showPasscode:n=!0,onConfirmSuccess:a,onClose:o=()=>{}}){const{t:i}=At(),c=We(n),u=We(!1),f=We(!1),h=We(!1),m=We(!1),v=We(""),S=We(!1),w=We(!1),g=We(!1),b=sa(),[,C]=X2("resetPassCodeNextDelayInSeconds",null),[j,E]=X2("resetPassCodeGlobalUnsuccessfulTries",0),N=We(0),{isHistoryEnabled:T,setIsHistoryEnabled:A}=ft(pn),{screenLockPassCode:M,screenLockPassCodeLength:D,screenLockRecoveryPasswordMasked:L,verifyPassword:z,setScreenLockPassCode:H,isShowHistoryCaptureOnLockedScreen:V,setScreenLockPassCodeLength:I,verifyStoredPassword:q}=ft(pn),_=We(new Array(D).fill(void 0)),$=p.useMemo(()=>h.value,[h.value]),U=K=>{const Y=document.querySelector("input[name=field-".concat(K,"]"));Y!==null&&Y.focus()};return p.useEffect(()=>{if(On.value)On.value<1?(g.value=!1,_.value=new Array(D).fill(void 0)):g.value=!0;else return},[On.value]),p.useEffect(()=>{S.value&&setTimeout(()=>{a()},800)},[S.value]),p.useEffect(()=>{S.value=!1;function K(Y){return pe(this,null,function*(){var F;if(w.value)return;const B=_.value.join("");if(yield z(B,Y))S.value=!0,On.value=0,Yh.value=0,E(0),C(null),w.value=!1;else{if(Yh.value=Yh.value+1,Yh.value===3){const G=(F=parseInt(j,10))!=null?F:0;E(G+1),On.value=G>0?QP*G:QP}g.value=!0,S.value=!1,w.value=!1,_.value=new Array(D).fill(void 0),U(0)}})}c.value&&M&&!w.value&&_.value.every(Y=>Y!==void 0)&&setTimeout(()=>{K(M)},100)},[c.value,_.value,M]),p.useEffect(()=>{U(N.value)},[N.value]),s.jsx(Br,{open:e,onOutsideClick:()=>{_.value[0]||U(0)},handleClose:o,canClose:!r||!M,isNavVisible:!1,children:s.jsxs(Br.Body,{className:"bg-emerald-100/20 dark:bg-emerald-800/30",children:[s.jsx(Br.Header,{handleClose:o,canClose:!r||!M,isCenter:r,children:M?s.jsx("h1",{className:"m-1 opacity-90 ".concat(S.value?"!text-green-600 dark:!text-green-500":g.value?"!text-red-600 dark:!text-red-500":""),children:u.value?i("Forgot passcode ?",{ns:"settings"}):i(t,{ns:"common"})}):s.jsx("h1",{className:"opacity-90",children:i("Passcode is not set",{ns:"settings"})})}),s.jsx(Br.Content,{className:"!pt-2 justify-center items-center flex flex-col !min-w-[390px]",children:c.value&&!u.value&&M?s.jsxs(s.Fragment,{children:[s.jsx(me,{className:"gap-3 flex-wrap items-start justify-center my-2 flex-row animate-in fade-in duration-700",children:new Array(D).fill(0).map((K,Y)=>s.jsx(Q,{className:"text-lg px-2 py-2 rounded-md text-slate-600 dark:text-slate-400 bg-slate-300 dark:bg-slate-800 text-center",children:S.value?s.jsx(me,{className:"h-[48px] !w-9 !px-0 !text-[34px] pb-[2px] !border-0 !bg-green-100 dark:!bg-green-900/80",children:s.jsx($t,{size:26,className:"text-green-600 dark:text-green-300"})}):s.jsx(er,{isPassword:!f.value,name:"field-".concat(Y),className:"!w-9 !text-xl",ref:()=>{Y===0&&!_.value[0]&&U(0)},disabled:On.value>0,autoComplete:"off",numbersOnly:!0,onKeyDown:B=>{(B.metaKey||B.altKey)&&B.code==="KeyH"?A(!T):B.key==="Backspace"&&B.currentTarget.value===""?N.value=Y>0?Y-1:0:B.key==="ArrowLeft"?(B.preventDefault(),N.value=Y>0?Y-1:0):B.key==="ArrowRight"&&(B.preventDefault(),N.value=Y<_.value.length+1?Y+1:Y)},onPaste:B=>(B.preventDefault(),!1),maxLength:2,value:_.value[Y]||"",classNameInput:"h-[48px] text-center !px-0 !text-[34px] pb-[2px] !border-0\n ".concat(_.value[Y]&&!g.value?"!bg-green-100 dark:!bg-green-900/80":g.value?"dark:!bg-red-900/90 !bg-red-300/90":"dark:!bg-slate-800"),onChange:B=>{var G,X,se,re;g.value=!1,((X=(G=B.target)==null?void 0:G.value)==null?void 0:X.length)>=1&&(B.target.value=B.target.value[((re=(se=B.target)==null?void 0:se.value)==null?void 0:re.length)-1],N.value=Y<_.value.length+1?Y+1:Y);const F=B.target.value;_.value=_.value.map((ie,oe)=>oe===Y?F?parseInt(F):void 0:ie)}})},Y))}),s.jsx(kr,{h:4}),s.jsxs(me,{className:"font-light ".concat(g.value?"!text-red-600 dark:!text-red-500/90":""),children:[g.value?On.value>0?s.jsx(J,{className:"!text-red-600 dark:!text-red-500/90 font-semibold",children:i("Passcode verification is locked.",{ns:"settings"})}):s.jsx(J,{className:"!text-red-600 dark:!text-red-500/90 font-semibold",children:i("Passcode is not valid",{screenLockPassCodeLength:D,ns:"settings"})}):s.jsx(s.Fragment,{children:S.value?s.jsx(J,{className:"!text-green-600 dark:!text-green-500 font-semibold",children:i("Passcode successfully verified",{ns:"settings"})}):s.jsx(J,{children:s.jsx(ns,{i18nKey:"Enter your {{screenLockPassCodeLength}} digits passcode",values:{screenLockPassCodeLength:D},ns:"settings"})})}),!S.value&&On.value===0&&s.jsx(s.Fragment,{children:f.value?s.jsx(w1,{className:"cursor-pointer ml-1.5 opacity-60 hover:opacity-100",size:18,onClick:K=>{K.preventDefault(),f.value=!1,U(N.value)}}):s.jsx(Fm,{className:"cursor-pointer ml-1.5 opacity-60 hover:opacity-100",size:18,onClick:K=>{K.preventDefault(),f.value=!0,U(N.value)}})})]}),On.value>0&&s.jsx(Q,{className:"!text-amber-500 dark:!text-amber-600",children:s.jsx(ns,{i18nKey:"Try after {{resetPassCodeNextDelay}} seconds",values:{resetPassCodeNextDelay:On.value},ns:"settings"})})]}):u.value&&L?s.jsxs(s.Fragment,{children:[s.jsxs(me,{className:"mb-3 mt-0 gap-2 items-start justify-start",children:[s.jsx(er,{className:"text-md !w-60",isPassword:!0,autoFocus:!0,showHidePassword:!0,onKeyDown:K=>{K.key==="Enter"&&!h.value&&v.value.length>=6&&(m.value=!1,h.value=!0,setTimeout(()=>{q("screenLockRecoveryPassword",v.value).then(Y=>{Y?(u.value=!1,H(null),I(0),v.value=""):m.value=!0,h.value=!1}).catch(Y=>{console.error(Y),m.value=!0,h.value=!1})},1e3))},errorElement:v.value.length>=6&&m.value?s.jsxs(s.Fragment,{children:[s.jsx(J,{className:"!text-red-400",children:i("Password is incorrect.",{ns:"settings"})}),s.jsx(J,{className:"mt-1 !text-red-400",children:i("Hint: {{screenLockRecoveryPasswordMasked}}",{ns:"settings",screenLockRecoveryPasswordMasked:L})})]}):"",autoComplete:"off",onPaste:K=>(K.preventDefault(),!1),classNameInput:"h-9",placeholder:i("Enter Password",{ns:"common"}),onChange:K=>{m.value=!1,v.value=K.target.value}}),s.jsx(ye,{variant:"secondary",size:"sm",disabled:v.value.length<6,onClick:()=>{!h.value&&v.value.length>=6&&(m.value=!1,h.value=!0,setTimeout(()=>{q("screenLockRecoveryPassword",v.value).then(K=>{K?(u.value=!1,H(null),I(0),On.value=0,Yh.value=0,E(0),C(null),Ni.value&&(clearInterval(Ni.value),Ni.value=null),v.value=""):m.value=!0,h.value=!1}).catch(K=>{console.error(K),m.value=!0,h.value=!1})},600))},className:"min-w-[80px] mt-0.5 text-sm cursor-pointer whitespace-nowrap bg-blue-500 text-slate-50 hover:bg-blue-300/80 dark:bg-blue-700 hover:dark:bg-blue-700/80 dark:text-slate-200",children:$?s.jsx(wm,{}):i("Reset",{ns:"common"})})]}),s.jsx(J,{className:"mt-1 text-center",children:i("Enter recovery password to reset passcode.",{ns:"settings"})})]}):s.jsx(J,{className:"mt-1 text-center",children:"Please set up a Passcode and recovery password in Security Settings to enable Screen Lock and ensure better security."})}),s.jsxs(Br.Footer,{className:"flex-row !pt-0 !pb-5 justify-center items-center gap-3 relative",children:[!r&&M?s.jsx(ye,{variant:"ghost",size:"sm",onClick:o,className:"hover:bg-slate-200 dark:hover:bg-slate-900",children:i("Cancel",{ns:"common"})}):!M&&s.jsx(ye,{size:"sm",variant:"light",className:"dark:bg-slate-700 bg-slate-200",onClick:()=>{b("/app-settings/security",{replace:!0}),o()},children:i("Open Security Settings",{ns:"settings"})}),(g.value||u.value)&&L&&M&&s.jsx(s.Fragment,{children:u.value?s.jsx(ye,{size:"sm",variant:"light",className:"dark:bg-slate-700 bg-slate-200",onClick:()=>{u.value=!1,_.value=new Array(D).fill(void 0)},children:i("Back",{ns:"settings"})}):s.jsx(ye,{size:"sm",variant:"light",className:"dark:bg-slate-700 bg-slate-200",onClick:()=>{u.value=!0,m.value=!1,h.value=!1,v.value=""},children:i("Forgot?",{ns:"settings"})})}),V&&s.jsx(s.Fragment,{children:s.jsxs(me,{className:"dark:bg-slate-950/90 bg-gray-400/90 absolute bottom-[-100px] rounded-md px-2 py-1 cursor-pointer",onClick:K=>{K.preventDefault(),A(!T)},children:[s.jsxs(me,{className:"mr-1",children:[s.jsx(J,{className:"mr-1 ".concat(T?"!text-slate-800 dark:!text-slate-400":"!text-gray-500 dark:!text-gray-700"),children:i("Capture History",{ns:"history"})}),s.jsx(Tl,{className:T?"opacity-60":"opacity-30",children:s.jsx(no,{keys:"ALT+H"})})]}),s.jsx(Yn,{checked:T,className:T?"opacity-100":"!bg-gray-300 dark:!bg-gray-600 opacity-70"})]})})]})]})})}var k_={};Object.defineProperty(k_,"__esModule",{value:!0});function M5e(e,t){return Math.random()*(t-e)+e}var LA=k_.default=M5e,sV={},C_={},S_={},j_={};(function e(t,r,n,a){var o=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),i=typeof Path2D=="function"&&typeof DOMMatrix=="function",c=function(){if(!t.OffscreenCanvas)return!1;var B=new OffscreenCanvas(1,1),F=B.getContext("2d");F.fillRect(0,0,1,1);var G=B.transferToImageBitmap();try{F.createPattern(G,"no-repeat")}catch(X){return!1}return!0}();function u(){}function f(B){var F=r.exports.Promise,G=F!==void 0?F:t.Promise;return typeof G=="function"?new G(B):(B(u,u),null)}var h=function(B,F){return{transform:function(G){if(B)return G;if(F.has(G))return F.get(G);var X=new OffscreenCanvas(G.width,G.height),se=X.getContext("2d");return se.drawImage(G,0,0),F.set(G,X),X},clear:function(){F.clear()}}}(c,new Map),m=function(){var B=Math.floor(16.666666666666668),F,G,X={},se=0;return typeof requestAnimationFrame=="function"&&typeof cancelAnimationFrame=="function"?(F=function(re){var ie=Math.random();return X[ie]=requestAnimationFrame(function oe(ae){se===ae||se+B-10)&&!(a=n.next()).done;)o.push(a.value)}catch(c){i={error:c}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return o},Z5e=Rr&&Rr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(C_,"__esModule",{value:!0});var Dy=K5e(p),X5e=Z5e(S_),Q5e=function(e){return e};function J5e(e){var t=e.decorateOptions,r=t===void 0?Q5e:t,n=e.Conductor,a=e.autorun,o=e.onInit,i=G5e(e,["decorateOptions","Conductor","autorun","onInit"]),c=Y5e((0,Dy.useState)(),2),u=c[0],f=c[1],h=(0,Dy.useCallback)(function(m){var v=m.confetti;f(function(){return v})},[]);return(0,Dy.useEffect)(function(){if(u){var m=new n({confetti:u,decorateOptions:r});return a&&m.run(a),o==null||o({confetti:u,conductor:m}),m.stop}},[u]),Dy.default.createElement(X5e.default,Vj({onInit:h},i))}C_.default=J5e;var E_={},N_={};Object.defineProperty(N_,"__esModule",{value:!0});var eSe=function(){function e(t){var r=t.confetti,n=t.decorateOptions,a=this;this.interval=null,this.shoot=function(){return a.tickAnimation()},this.run=function(o){var i=o.speed,c=o.delay,u=c===void 0?0:c,f=o.duration;a.interval||setTimeout(function(){a.shoot(),a.interval=setInterval(a.shoot,1e3/Math.min(i,1e3)),f&&setTimeout(a.pause,f)},u)},this.pause=function(){clearInterval(a.interval),a.interval=null},this.stop=function(){a.pause(),a.confetti.reset()},this.confetti=r,this.decorateOptions=n}return e}();N_.default=eSe;var tSe=Rr&&Rr.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(n[o]=a[o])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),rSe=Rr&&Rr.__read||function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,o=[],i;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)o.push(a.value)}catch(c){i={error:c}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return o},nSe=Rr&&Rr.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',w=v.head||v.getElementsByTagName("head")[0],g=v.createElement("style");g.id="detectElementResize",g.type="text/css",e!=null&&g.setAttribute("nonce",e),g.styleSheet?g.styleSheet.cssText=S:g.appendChild(v.createTextNode(S)),w.appendChild(g)}};return{addResizeListener:function(v,S){if(u)v.attachEvent("onresize",S);else{if(!v.__resizeTriggers__){const w=v.ownerDocument,g=li.getComputedStyle(v);g&&g.position==="static"&&(v.style.position="relative"),f(w),v.__resizeLast__={},v.__resizeListeners__=[],(v.__resizeTriggers__=w.createElement("div")).className="resize-triggers";const b=w.createElement("div");b.className="expand-trigger",b.appendChild(w.createElement("div"));const C=w.createElement("div");C.className="contract-trigger",v.__resizeTriggers__.appendChild(b),v.__resizeTriggers__.appendChild(C),v.appendChild(v.__resizeTriggers__),i(v),v.addEventListener("scroll",c,!0),n&&(v.__resizeTriggers__.__animationListener__=function(E){E.animationName===r&&i(v)},v.__resizeTriggers__.addEventListener(n,v.__resizeTriggers__.__animationListener__))}v.__resizeListeners__.push(S)}},removeResizeListener:function(v,S){if(u)v.detachEvent("onresize",S);else if(v.__resizeListeners__.splice(v.__resizeListeners__.indexOf(S),1),!v.__resizeListeners__.length){v.removeEventListener("scroll",c,!0),v.__resizeTriggers__.__animationListener__&&(v.__resizeTriggers__.removeEventListener(n,v.__resizeTriggers__.__animationListener__),v.__resizeTriggers__.__animationListener__=null);try{v.__resizeTriggers__=!v.removeChild(v.__resizeTriggers__)}catch(w){}}}}}class Uf extends p.Component{constructor(...t){super(...t),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:r,disableWidth:n,onResize:a}=this.props;if(this._parentNode){var o,i,c,u;const f=window.getComputedStyle(this._parentNode)||{},h=parseFloat((o=f.paddingLeft)!==null&&o!==void 0?o:"0"),m=parseFloat((i=f.paddingRight)!==null&&i!==void 0?i:"0"),v=parseFloat((c=f.paddingTop)!==null&&c!==void 0?c:"0"),S=parseFloat((u=f.paddingBottom)!==null&&u!==void 0?u:"0"),w=this._parentNode.getBoundingClientRect(),g=w.height-v-S,b=w.width-h-m,C=this._parentNode.offsetHeight-v-S,j=this._parentNode.offsetWidth-h-m;(!r&&(this.state.height!==C||this.state.scaledHeight!==g)||!n&&(this.state.width!==j||this.state.scaledWidth!==b))&&(this.setState({height:C,width:j,scaledHeight:g,scaledWidth:b}),typeof a=="function"&&a({height:C,scaledHeight:g,scaledWidth:b,width:j}))}},this._setRef=r=>{this._autoSizer=r}}componentDidMount(){const{nonce:t}=this.props;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._parentNode!=null&&(typeof ResizeObserver!="undefined"?(this._resizeObserver=new ResizeObserver(()=>{this._timeoutId=setTimeout(this._onResize,0)}),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=dSe(t),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),this._timeoutId!==null&&clearTimeout(this._timeoutId),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){const j=this.props,{children:t,defaultHeight:r,defaultWidth:n,disableHeight:a=!1,disableWidth:o=!1,nonce:i,onResize:c,style:u={},tagName:f="div"}=j,h=ke(j,["children","defaultHeight","defaultWidth","disableHeight","disableWidth","nonce","onResize","style","tagName"]),{height:m,scaledHeight:v,scaledWidth:S,width:w}=this.state,g={overflow:"visible"},b={};let C=!1;return a||(m===0&&(C=!0),g.height=0,b.height=m,b.scaledHeight=v),o||(w===0&&(C=!0),g.width=0,b.width=w,b.scaledWidth=S),p.createElement(f,R({ref:this._setRef,style:R(R({},g),u)},h),!C&&t(b))}}function FA({registerLicense:e}){const t=p.useRef(null),{t:r}=At(),{state:n}=al(),{licenseKey:a,setLicenseKey:o,screenLockPassCode:i}=ft(pn),c=Tc(Lk),u=Tc(F1),f=p.useRef(),{returnRoute:h}=ft(Es),m=js(a!=null?a:""),v=js(!1),S=js(!1),w=js(null),g=Er.value,b=({conductor:I})=>{f.current=R({},I)},C=B1(),j=p.useCallback(()=>{var I;!C&&((I=f==null?void 0:f.current)==null||I.shoot())},[C]),E=I=>ee(R({},I),{drift:LA(.4,.8),startVelocity:LA(15,40),ticks:230}),N=p.useMemo(()=>m.value,[m.value]),T=p.useCallback(I=>{if(I.length<20){w.value=r("License key is too short.",{ns:"settings"});return}try{const q=Fk(I);if(!q)return!1;typeof q.id=="string"&&q.id.length>0&&(w.value=null,Er.value=q,m.value!==a&&!En().isAfter(En(q.expires))&&setTimeout(()=>{j(),setTimeout(()=>{j()},600)},600),o(m.value))}catch(q){return w.value=r("License key is not valid or malformed.",{ns:"settings"}),Er.value=null,console.error("error",q),!1}return!0},[m.value]);p.useEffect(()=>{a&&(m.value=a,T(a))},[a]),p.useEffect(()=>{n!=null&&n.ls&&a!==(n==null?void 0:n.ls)?(m.value=n.ls,T(m.value),lo(r("License key activated successfully.",{ns:"settings"}),{title:r("Activation Success",{ns:"settings"}),type:"info"})):a===(n==null?void 0:n.ls)&&lo(r("License key already activated.",{ns:"settings"}),{title:r("Already Active",{ns:"settings"}),type:"info"})},[n]);const{licenseExpInDays:A,licenseExpiresDate:M,licenseExpiredDaysAgo:D}=p.useMemo(()=>GU(),[Er.value]),{licenseIssuedDate:L,licenseIssuedDaysAgo:z}=p.useMemo(()=>E2e(),[Er.value]),H=p.useMemo(()=>H1(),[Er.value]),V=p.useMemo(()=>({name:g==null?void 0:g.name,email:g==null?void 0:g.email,devices:g==null?void 0:g.maxDevices,id:g==null?void 0:g.id}),[g]);return p.useEffect(()=>{(eo.value===nc.removeLicense&&Fi.value===nc.removeLicense||v.value)&&(o(null),Er.value=null,eo.value=null,Fi.value=null,S.value=!1,v.value=!1,m.value="")},[Fi.value,eo.value,v.value]),p.useMemo(()=>!0,[v.value,S.value,w.value,Er.value]),s.jsx(Uf,{disableWidth:!0,children:({height:I})=>{var q,_,$,U;return I&&s.jsxs(Q,{className:"p-4 py-6 select-none min-w-[320px]",children:[s.jsxs(Q,{className:"text-xl my-2 mx-2 flex items-center justify-between",children:[s.jsx(J,{className:"light",children:r("License Settings",{ns:"settings"})}),c?C?s.jsxs(ye,{variant:"secondary",size:"sm",disabled:N.length<10,onClick:()=>{},className:"dark:text-green-500 dark:border-green-600 mt-1 text-green-600 border-green-500 dark:bg-green-950 border whitespace-nowrap bg-green-50 hover:bg-green-50/50 dark:hover:bg-green-900/50 h-9 group",children:[r("Renew License",{ns:"common"}),s.jsx(yp,{size:16,className:"ml-1.5 fill-green-200 dark:fill-green-700"})]}):s.jsxs(ye,{size:"sm",onClick:()=>{j(),setTimeout(()=>{j()},600)},className:"dark:text-green-500 dark:border-green-600 mt-1 text-green-600 border-green-500 dark:bg-green-950 border whitespace-nowrap bg-green-50 hover:bg-green-50/50 dark:hover:bg-green-900/50 h-9 group",children:[r("Thank you for using Pro",{ns:"common"}),s.jsx(W4,{size:18,className:"text-red-400 dark:text-red-600 ml-1 fill-red-500 group-hover:animate-pulse group-hover:fill-red-500 group-hover:scale-125 transition-all duration-300"})]}):s.jsxs(ye,{size:"sm",onClick:()=>{co.value=!0,fm.value=!0},className:"dark:text-green-500 dark:border-green-600 mt-1 text-green-600 border-green-500 dark:bg-green-950 border whitespace-nowrap bg-green-50 hover:bg-green-50/50 dark:hover:bg-green-900/50 h-9 group",children:[r("Upgrade to Pro",{ns:"common"}),s.jsx(yp,{size:16,className:"ml-1.5 fill-green-200 dark:fill-green-700"})]})]}),s.jsx(kr,{h:3}),s.jsxs(en,{style:{maxHeight:I-85},autoHide:!0,children:[!c&&s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{children:[s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:s.jsx(Q,{children:r("Free License",{ns:"settings"})})}),s.jsx(oV,{})]}),s.jsxs(cn,{children:[s.jsxs(J,{className:"text-sm text-muted-foreground mt-1 mb-3",children:[r("Thank you again for using PasteBar.",{ns:"settings"}),s.jsx(W4,{size:18,className:"text-red-400 dark:text-red-600 ml-1 fill-red-500 hover:animate-pulse hover:fill-red-500 hover:scale-125 transition-all duration-300"})]}),s.jsxs(ye,{size:"sm",onClick:()=>{co.value=!0,fm.value=!0},className:"dark:text-green-950 mt-1 text-white bg-green-500 dark:bg-green-600 hover:bg-green-600 dark:hover:bg-green-700 h-9",children:[r("Upgrade to Pro",{ns:"common"}),s.jsx(yp,{size:16,className:"ml-1.5"})]})]})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{children:[c?s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:[C?u?s.jsx(Q,{className:"text-red-600",children:r("Pro license has expired",{ns:"settings"})}):s.jsx(Q,{children:H?s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"text-red-600 mt-2",children:r("Pro license has expired",{ns:"settings"})}),s.jsxs(Q,{className:"text-yellow-700 mt-2 bg-amber-100 dark:bg-slate-600/90 dark:!text-slate-300 px-2 rounded-md text-md mb-0 py-1.5 !my-2 !block",children:[r("Your Pro license includes 1 year of free upgrades and priority support. However, this application version was released on {{buildDate}}, which occurred after your license expired on {{expiredDate}}. Unfortunately, this version is not compatible with your Pro license. If you wish to continue accessing all available Pro features with your current license, you will need to downgrade the application to the last compatible version released before your license expired. Thank you for using PasteBar! 🙌",{buildDate:En(1717913387272).format("DD MMMM, YYYY"),expiredDate:En(M).format("DD MMMM, YYYY"),ns:"settings"}),s.jsxs(Q,{className:"mt-2",children:[r("To downgrade, please visit: ",{ns:"settings"}),s.jsx("span",{className:"underline cursor-pointer",onClick:()=>{Zi("https://www.pastebar.app/releases")},children:"https://www.pastebar.app/releases"})]})]})]}):s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"text-yellow-600 mt-2",children:r("Pro license has expired",{ns:"settings"})}),s.jsx(Q,{className:"text-yellow-600 mt-2",children:r("However, you can continue using the current version with access to all available Pro features.",{ns:"settings"})})]})}):s.jsx(Q,{className:"text-green-600",children:r("Pro license is activated",{ns:"settings"})}),u&&s.jsx(J,{className:"bg-slate-200/90 dark:bg-slate-600/90 dark:!text-slate-300 px-1.5 rounded-md !text-slate-600 text-xs ml-1.5 mb-0 py-0.5",children:"beta"})]}),C?u?s.jsx(J,{className:"text-sm !block",children:s.jsx(ns,{i18nKey:"Your beta license has expired. If you wish to gain access to priority support and all features, please consider upgrade your license to Pro.",values:{name:g==null?void 0:g.name},ns:"settings"})}):s.jsx(J,{className:"text-sm !block",children:s.jsx(ns,{i18nKey:"If you wish to upgrade to the latest version, gain access to priority support and new features, please consider renewing your license.",values:{name:g==null?void 0:g.name},ns:"settings"})}):s.jsx(J,{className:"text-sm !block",children:s.jsx(ns,{i18nKey:"Thank you {{name}} for using Pro license. Your license grants you access to all available features, priority support, and free updates until the license expires. Please find the complete details below.",values:{name:g==null?void 0:g.name},ns:"settings"})}),u?s.jsxs(J,{className:"bg-amber-100 dark:bg-slate-600/90 dark:!text-slate-300 px-2 rounded-md !text-slate-600 text-xs mb-0 py-1.5 !my-2 !block",children:[r("You have a Beta License. Usually, this is a temporary license that grants access to all current and new beta features. After this license expires, you will not have access to Pro features, and you will need to use a regular Pro license or renew your Beta license.",{ns:"settings"}),s.jsx("br",{}),s.jsx("b",{children:r("Thank you for testing! 🙌",{ns:"settings"})})]}):s.jsx(kr,{h:2}),V.name&&s.jsxs(J,{className:"text-sm !mt-2",children:[r("Name",{ns:"settings"}),":",s.jsx("strong",{className:"ml-1",children:V.name})]}),V.email&&s.jsxs(J,{className:"text-sm !mt-2",children:[r("Email",{ns:"settings"}),":",s.jsx("strong",{className:"ml-1",children:Tse(V.email)})]}),V.devices&&s.jsxs(J,{className:"text-sm !mt-2",children:[r("Maximum devices",{ns:"settings"}),":",s.jsx("strong",{className:"ml-1",children:V.devices})]}),V.id&&s.jsxs(J,{className:"text-sm !mt-2 gap-1",children:[r("License Id",{ns:"settings"}),":",s.jsx(RU,{id:1,text:_v(V.id,3),copyText:(q=V.id)!=null?q:""})]}),!!(g!=null&&g.language)&&s.jsxs(J,{className:"text-sm !mt-2 gap-1",children:[r("UI Language",{ns:"settings"}),":"," ",(_=Ef.find(K=>K.code===(g==null?void 0:g.language)))==null?void 0:_.name]}),L&&s.jsxs(J,{className:"text-sm !mt-2",children:[r("Issued",{ns:"settings"}),":",s.jsx("strong",{className:"ml-1",children:L}),z&&s.jsx(lt,{className:"ml-1.5",variant:"secondary",children:r("{{licenseIssuedDaysAgo}} days ago",{ns:"settings",licenseIssuedDaysAgo:z})})]}),M&&!C&&s.jsxs(J,{className:"text-sm !mt-4",children:[r("License expires",{ns:"settings"}),":",s.jsx("strong",{className:"ml-1 text-green-600",children:M}),s.jsx(lt,{className:"ml-1.5 whitespace-nowrap",variant:"pro",children:A===0?r("Tomorrow",{ns:"settings"}):r("in {{licenseExpInDays}} days",{ns:"settings",licenseExpInDays:A})})]}),M&&C&&s.jsxs(J,{className:"text-sm !mt-4",children:[r("License expired",{ns:"settings"}),s.jsx("strong",{className:"ml-1 text-red-600",children:M}),s.jsx(lt,{className:"ml-1.5 whitespace-nowrap",variant:"destructive",children:D===0?r("Today",{ns:"settings"}):r("{{licenseExpiredDaysAgo}} days ago",{ns:"settings",licenseExpiredDaysAgo:D})})]}),!!(g!=null&&g.language)&&s.jsx(J,{className:"text-sm text-muted-foreground !mt-3 mb-3",children:r("Please note! Your license has support for a single language: {{language}}. If you require multi-language support, please consider upgrading to a full Pro license.",{ns:"settings",language:($=Ef.find(K=>K.code===(g==null?void 0:g.language)))==null?void 0:$.name})})]}):s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:s.jsx(Q,{children:r("Register a License",{ns:"settings"})})}),s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:r('If you have a license key, you can add it here to unlock the Pro version with all available features. Please paste your license below and click "Add License" to upgrade.',{ns:"settings"})})]}),s.jsx(cn,{children:s.jsxs(me,{className:"gap-3 flex-wrap items-start justify-start my-2 flex-col w-full",children:[s.jsx(ho,{className:"text-sm w-full",autoFocus:e,ref:t,label:c?r("License key",{ns:"settings"}):r("Paste your license key below",{ns:"settings"}),isDisabled:c,classNameArea:c?"!border-green-500 dark:!border-green-600 !bg-green-50 dark:!bg-green-950 opacity-80":"",error:(U=w.value)!=null?U:"",rows:3,onChange:K=>{w.value=null,m.value=K.target.value},value:c?_v(N,10,10,100):N,maxRows:3,onPaste:K=>{K.preventDefault(),w.value=null,m.value=K.clipboardData.getData("text"),T(m.value)},enableEmoji:!1}),c?s.jsxs(me,{className:"gap-4",children:[C&&s.jsxs(ye,{size:"sm",className:"dark:text-green-950 text-white bg-green-500 dark:bg-green-600 hover:bg-green-600 dark:hover:bg-green-700 h-9",children:[r("Renew License",{ns:"common"}),s.jsx(yp,{size:16,className:"ml-1.5"})]}),s.jsx(ye,{variant:"secondary",size:"sm",disabled:N.length<10,onClick:()=>{if(i){Ud.value=!0,eo.value=nc.removeLicense,Wd.value=r("license remove",{ns:"settings"});return}S.value?v.value=!0:(S.value=!0,setTimeout(()=>{S.value=!1},3e3))},className:"".concat(S.value?"bg-red-500 text-red-100 hover:bg-red-500/80 dark:bg-red-400 hover:dark:bg-red-400/80 dark:text-slate-800":"bg-red-200 text-red-600 hover:bg-red-300/80 dark:bg-red-900 hover:dark:bg-red-900/80 dark:text-slate-200"," h-9"),children:S.value?r("Confirm Remove",{ns:"common"}):C?r("Remove",{ns:"common"}):r("Remove License",{ns:"common"})})]}):s.jsx(ye,{variant:"secondary",size:"sm",disabled:N.length<10,onClick:()=>{T(m.value)},className:"bg-blue-400 hover:bg-blue-300/80 dark:bg-blue-700 hover:dark:bg-blue-700/80 dark:text-slate-200 h-9",children:r("Add License",{ns:"common"})})]})})]})}),s.jsx(kr,{h:6}),s.jsx(Pc,{to:h,replace:!0,children:s.jsx(ye,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:r("Back",{ns:"common"})})}),s.jsx(kr,{h:4})]}),g&&Zs.createPortal(s.jsx(uSe,{onInit:b,decorateOptions:E,style:{position:"fixed",zIndex:9999,pointerEvents:"none",top:40,width:"100%",height:"100%"}}),document.body)]})}})}function oV(){const{t:e}=At(),t=Tc(F1),r=p.useMemo(()=>H1(),[Er.value]);return s.jsxs(s.Fragment,{children:[r&&!t&&s.jsx(Q,{className:"text-yellow-700 mt-2 bg-amber-100 dark:bg-slate-600/90 dark:!text-slate-300 px-2 text-sm rounded-md mb-0 py-1.5 !my-2 !block",children:e("Your Pro license and 1 year of free upgrades have expired. This app version, released on {{buildDate}}, is not covered. See License Settings for details.",{buildDate:En(1717913387272).format("DD MMMM, YYYY"),ns:"settings"})}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 mb-3",children:e("Thank you for using PasteBar! We hope you're enjoying the free version. If you'd like to unlock all features and support our development, please consider upgrading to Pro version.",{ns:"settings"})}),s.jsxs(me,{className:"flex flex-col items-start justify-start",children:[s.jsx(J,{className:"text-sm text-muted-foreground my-2 mb-1 !block",children:s.jsx(ns,{i18nKey:"By upgrading to PasteBar Pro, you'll gain access to:",ns:"settings"})}),s.jsxs(Q,{className:"list-image-none",children:[s.jsxs(Q,{children:[s.jsxs(me,{className:"justify-start items-center",children:[s.jsx($t,{size:18,className:"text-green-600 dark:text-green-500"}),s.jsx(J,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Unlimited Collections",{ns:"settings"})})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Create an unlimited number of collections to organize your clips and menus.",{ns:"settings"})})]}),s.jsxs(Q,{children:[s.jsxs(me,{className:"justify-start items-center",children:[s.jsx($t,{size:18,className:"text-green-600 dark:text-green-500"}),s.jsx(J,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Unlimited Tabs per Collection",{ns:"settings"})})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Add an unlimited number of tabs within each collection for better organization and easy access.",{ns:"settings"})})]}),s.jsxs(Q,{children:[s.jsxs(me,{className:"justify-start items-center",children:[s.jsx($t,{size:18,className:"text-green-600 dark:text-green-500"}),s.jsx(J,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Auto Lock the Screen on User Inactivity",{ns:"settings"})})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Enhance security by automatically locking the application screen after a set period of user inactivity.",{ns:"settings"})})]}),s.jsxs(Q,{children:[s.jsxs(me,{className:"justify-start items-center",children:[s.jsx($t,{size:18,className:"text-green-600 dark:text-green-500"}),s.jsx(J,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Require Screen Unlock at Application Start",{ns:"settings"})})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Protect your data by requiring screen unlock authentication whenever the application starts.",{ns:"settings"})})]}),s.jsxs(Q,{children:[s.jsxs(me,{className:"justify-start items-center",children:[s.jsx($t,{size:18,className:"text-green-600 dark:text-green-500"}),s.jsx(J,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Run Terminal or Shell Commands",{ns:"settings"})})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Execute terminal or shell commands directly from PasteBar clip and copy the results to the clipboard.",{ns:"settings"})})]}),s.jsxs(Q,{children:[s.jsxs(me,{className:"justify-start items-center",children:[s.jsx($t,{size:18,className:"text-green-600 dark:text-green-500"}),s.jsx(J,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Execute Web Requests",{ns:"settings"})})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Send HTTP requests to web APIs or services and copy the response data to the clipboard.",{ns:"settings"})})]}),s.jsxs(Q,{children:[s.jsxs(me,{className:"justify-start items-center",children:[s.jsx($t,{size:18,className:"text-green-600 dark:text-green-500"}),s.jsx(J,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Web Scraping and Parsing",{ns:"settings"})})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Scrape and parse websites or API responses using built-in web scraping tools and copy the extracted data to the clipboard.",{ns:"settings"})})]}),s.jsxs(Q,{children:[s.jsxs(me,{className:"justify-start items-center",children:[s.jsx($t,{size:18,className:"text-green-600 dark:text-green-500"}),s.jsx(J,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Priority support",{ns:"settings"})})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Get priority email support from us to resolve any issues or questions you may have about PasteBar.",{ns:"settings"})})]})]})]})]})}var fSe={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};function hSe({open:e,onClose:t,showProPayments:r}){const{t:n}=At(),a=sa(),o=B1(),i=We(!1),c=We(!1),u=We(!1),{themeDark:f}=ft(fi),h=f(),{deviceId:m}=ft(fi),v="".concat(fSe.VITE_LICENSE_SERVER_URL,"/pro?deviceId=").concat(m,"&locale=").concat(on.language,"&dark=").concat(h?"true":"false"),S=()=>{Zi(v)};return p.useEffect(()=>(window.addEventListener("message",w=>{const{data:g}=w;if(!c.value&&g.id==="pro_license_confirmed"&&g.licenseHash){try{const b=Fk(g.licenseHash);if(!b)throw new Error("Invalid license key");if(!(typeof b.id=="string"&&b.id.length>0))throw new Error("Invalid license key")}catch(b){return lo(n("License key validation failed. Please try another key.",{ns:"common"}),{title:n("Activation Error",{ns:"common"}),type:"error"}),!1}r.value=!1,co.value=!1,c.value=!0,a("/app-settings/license/register",{replace:!0,state:{ls:g.licenseHash}})}}),()=>{window.removeEventListener("message",()=>{})}),[]),s.jsx(Br,{open:e,handleClose:t,isLargeModal:!0,noFooter:r.value,children:s.jsxs(Br.Body,{className:"dark:bg-green-950/30 bg-green-50/30 flex flex-col items-start p-0 relative",style:{height:"calc(100vh - 180px)"},children:[!r.value&&s.jsxs(Br.Header,{handleClose:t,children:[s.jsx("h1",{className:"mt-0.5",children:n("Unlock Pro features",{ns:"common"})}),s.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>{t(),a("/app-settings/license/register",{replace:!0})},className:"hover:bg-green-300 dark:hover:bg-green-900 h-6 py-4 ml-auto",children:o?n("Renew License",{ns:"settings"}):n("Register License",{ns:"common"})})]}),r.value?s.jsx(s.Fragment,{children:s.jsx(Br.Content,{className:"!pt-3 mb-0 w-full !pb-2 grow !max-h-700",children:s.jsx("iframe",{src:v,className:"rounded-md border-0 bg-transparent dark:border-slate-800/70",style:{width:520,height:"calc(100vh - 210px)"}})})}):s.jsx(Br.Content,{className:"!pt-2 w-full !pb-2 grow",children:s.jsx(en,{style:{height:"auto",width:520,maxHeight:"calc(100vh - 330px)"},autoHide:!1,children:s.jsx(oV,{})})}),r.value?s.jsxs(s.Fragment,{children:[s.jsx(ye,{variant:"ghost",type:"button",onClick:()=>{r.value=!1,i.value=!1},className:"text-slate-300 dark:hover:bg-slate-700 hover:bg-slate-600 absolute top-[-1 px] right-[-63px] w-14",children:s.jsx(wr,{size:26})}),s.jsx(me,{className:"items-center w-full gap-1 absolute bottom-[-50px] left-0",children:u.value?s.jsxs(s.Fragment,{children:[s.jsx(ye,{variant:"link",type:"button",onClick:()=>{u.value=!1},className:"h-10 text-slate-300 opacity-80 hover:opacity-100",children:n("Stay here",{ns:"common"})}),s.jsx(ye,{variant:"link",type:"button",onClick:()=>{u.value=!1,r.value=!1,t()},className:"h-10 text-slate-300 opacity-80 hover:opacity-100",children:n("Close modal and continue in browser",{ns:"common"})})]}):s.jsxs(s.Fragment,{children:[s.jsx(ye,{variant:"ghost",type:"button",onClick:()=>{i.value?(r.value=!1,i.value=!1):(i.value=!0,setTimeout(()=>{i.value=!1},3e3))},className:"text-slate-200 dark:hover:bg-slate-700 hover:bg-slate-600 ".concat(i.value?"text-red-400 dark:text-red-500 hover:text-red-500 dark:hover:text-red-400":"opacity-70 hover:opacity-100"," h-10"),children:i.value?n("Are you sure?",{ns:"common"}):n("Cancel",{ns:"common"})}),s.jsxs(ye,{variant:"link",type:"button",onClick:()=>{S(),u.value=!0},className:"h-10 text-slate-300 opacity-80 hover:opacity-100",children:[n("Open payment in browser",{ns:"common"}),s.jsx(D6,{size:16,className:"ml-1.5"})]})]})})]}):s.jsx(Br.Footer,{className:"flex !pt-0 !pb-3 justify-start relative",children:s.jsxs(me,{className:"flex w-full justify-center gap-3",children:[s.jsx(ye,{variant:"ghost",type:"button",onClick:t,className:"hover:bg-slate-200 dark:hover:bg-slate-900 opacity-70 hover:opacity-100 h-10",children:n("Not Now",{ns:"common"})}),s.jsxs(ye,{size:"sm",onClick:()=>{r.value=!0},className:"dark:text-green-950 text-white bg-green-500 dark:bg-green-600 hover:bg-green-600 dark:hover:bg-green-700 h-10",children:[o?n("Renew License",{ns:"settings"}):n("Upgrade to Pro",{ns:"common"}),s.jsx(yp,{size:16,className:"ml-1.5"})]})]})})]})})}const HA="/assets/pastebar-accessibility-settings-monterey-CdsSxQWR.gif",BA="/assets/pastebar-accessibility-settings-ventura-B5xWaNbv.gif";function pSe({open:e,onClose:t}){const{t:r}=At(),n=We(!1),a=We(!1),o=We(null),i=We(14);return p.useEffect(()=>{WX().then(c=>{c==="darwin"&&VX().then(f=>{i.value=parseInt(f)});const u=setInterval(()=>pe(this,null,function*(){a.value=yield Sr("check_osx_accessibility_preferences"),a.value&&(o.value=!0,clearInterval(u))}),1e3);return()=>clearInterval(u)})},[]),p.useEffect(()=>{o.value!==null&&o.value&&setTimeout(()=>{t()},2e3)},[o.value]),s.jsx(Br,{open:e,handleClose:t,isLargeModal:!0,children:s.jsxs(Br.Body,{className:"dark:bg-green-950/30 bg-green-50/30 relative",children:[s.jsx(Br.Header,{handleClose:t,children:s.jsx("h1",{className:"font-semibold text-center w-full",children:r("Enable PasteBar in Accessibility Settings",{ns:"common"})})}),o.value!==!0?s.jsxs(Br.Content,{className:"!pt-2 w-full !pb-2 justify-start items-center flex flex-col gap-3",children:[s.jsx(J,{children:r("Please add PasteBar to the list of apps in",{ns:"common"})}),s.jsx(lt,{className:"!flex w-fit text-[16px] px-6 my-2 text-center cursor-pointer ".concat(o.value===!1?"hover:bg-red-600 dark:hover:bg-red-700 bg-red-600 dark:bg-red-700":"hover:bg-green-600 dark:hover:bg-green-700"),variant:"slate",onClick:()=>{n.value=!0,o.value=null,Sr("open_osx_accessibility_preferences")},children:i.value>=13?r("System Settings -> Privacy & Security -> Accessibility",{ns:"common"}):r("System Preferences -> Security & Privacy -> Accessibility",{ns:"common"})}),i.value?s.jsx("img",{src:i.value>=13?BA:HA,draggable:!1,decoding:"async",className:"animate-in fade-in max-w-full max-h-[380px] rounded-xl shadow-sm border border-slate-100 dark:border-slate-700"}):s.jsx(Q,{className:"flex items-center w-[580px] h-[380px] justify-center bg-gray-300 rounded-lg animate-pulse dark:bg-gray-700"}),o.value===!1?s.jsx(J,{className:"text-sm w-[90%]",color:"danger",children:r("Permission Check Failed: PasteBar has not been successfully added to Accessibility settings. Please grant the required permissions and click Done again.",{ns:"common"})}):s.jsx(J,{className:"text-sm w-[90%]",children:r("This permission ensures PasteBar can access the clipboard and perform copy and paste operations across applications.",{ns:"common"})})]}):s.jsxs(Br.Content,{className:"!pt-2 w-full !pb-2 justify-start items-center flex flex-col gap-3",children:[s.jsx(J,{children:r("PasteBar was successfuly added to Accessibility settings",{ns:"common"})}),s.jsx(lt,{className:"!flex w-fit text-md px-10",variant:"pro",children:r("Success!",{ns:"common"})}),i.value?s.jsxs(me,{className:"relative",children:[s.jsx($t,{size:"182",className:"text-green-500 z-100 dark:bg-green-50/20 bg-green-300/20 rounded-full p-4 absolute animate-in fade-in duration-1000 dark:text-green-500"}),s.jsx("img",{src:i.value>=13?BA:HA,draggable:!1,decoding:"async",className:"opacity-30 max-w-full max-h-[380px] rounded-xl shadow-sm border border-slate-100 dark:border-slate-700"})]}):s.jsx(Q,{className:"flex items-center w-[580px] h-[380px] justify-center bg-gray-300 rounded-lg animate-pulse dark:bg-gray-700"}),s.jsx(J,{className:"text-sm w-[80%]",children:r("PasteBar application now can access the clipboard and perform copy and paste operations across applications.",{ns:"common"})})]}),s.jsx(Br.Footer,{className:"flex-col !pt-0 !pb-5",children:o.value?s.jsx("div",{className:"flex w-full justify-center mt-3 gap-3",children:s.jsx(ye,{variant:"ghost",type:"button",onClick:()=>pe(this,null,function*(){t()}),className:"h-10 ".concat(n.value?"dark:text-green-950 text-white bg-blue-500 dark:bg-blue-600 hover:bg-blue-600 dark:hover:bg-blue-700":"hover:bg-slate-200 dark:hover:bg-slate-900"),children:r("Close",{ns:"common"})})}):s.jsxs("div",{className:"flex w-full justify-center mt-3 gap-3",children:[s.jsx(ye,{size:"sm",autoFocus:!0,onClick:()=>{n.value=!0,o.value=null,Sr("open_osx_accessibility_preferences")},className:"dark:text-green-950 text-white bg-green-500 dark:bg-green-600 hover:bg-green-600 dark:hover:bg-green-700 h-10",children:r("Open Accessibility",{ns:"common"})}),s.jsx(ye,{variant:"ghost",type:"button",onClick:()=>pe(this,null,function*(){a.value=yield Sr("check_osx_accessibility_preferences"),o.value=null,a.value?o.value=!0:o.value=!1,n.value=!1}),className:"h-10 ".concat(n.value?"dark:text-green-950 text-white bg-blue-500 dark:bg-blue-600 hover:bg-blue-600 dark:hover:bg-blue-700":"hover:bg-slate-200 dark:hover:bg-slate-900"),children:r("Done",{ns:"common"})})]})}),!o.value&&s.jsx(me,{className:"justify-center items-center bottom-[-45px] absolute w-full",children:s.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>{t()},className:"hover:bg-slate-500 text-slate-400 hover:text-slate-200 dark:text-slate-400 dark:hover:bg-slate-700 h-6 py-4",children:r("Later",{ns:"common"})})})]})})}const mSe="_visible_1g3i7_1",gSe="_arrow_1g3i7_7",OS={visible:mSe,arrow:gSe,"empty-data":"_empty-data_1g3i7_20","shared-container":"_shared-container_1g3i7_28"},vSe=.75,xSe=5,ySe=10,bSe=10,wSe=!0,kSe=!0,CSe=!0,SSe=!1,iV="boarding-popover-item",jSe="boarding-btn-group",lV="boarding-popover-tip",ESe="boarding-popover-title",NSe="boarding-popover-description",_Se="boarding-popover-footer",TSe="boarding-popover-footer-hidden",PSe="boarding-close-btn",MSe="boarding-next-btn",DSe="boarding-prev-btn",ASe="boarding-navigation-btns",UA="boarding-coutout-svg",WA="boarding-highlighted-element",RSe=!0,$S="boarding-no-pointer-events",zS="boarding-strict-pointer-events",cg="boarding-disabled",VA="boarding-close-only-btn",LSe=(e="")=>{const t=document.createElement("div");t.id=iV,t.className=e+" bg-gray-50 dark:bg-gray-800 border border-gray-300 dark:border-gray-700 rounded-lg shadow-lg p-4 w-72 dark:text-gray-200 text-gray-800";const r=document.createElement("div");r.classList.add(lV);const n=document.createElement("div");n.classList.add(ESe),n.innerText="Popover Title";const a=document.createElement("div");a.classList.add(NSe),a.innerText="Popover Description";const o=document.createElement("div");o.classList.add(_Se);const i=document.createElement("button");i.classList.add(PSe),i.innerText="Close";const c=document.createElement("span");c.classList.add(jSe,ASe);const u=document.createElement("span");u.classList.add("boarding-footer-counter");const f=document.createElement("button");f.classList.add(DSe),f.innerText="← Previous";const h=document.createElement("button");return h.classList.add(MSe),h.innerText="Next →",c.appendChild(f),c.appendChild(h),o.appendChild(i),o.appendChild(u),o.appendChild(c),t.appendChild(r),t.appendChild(n),t.appendChild(a),t.appendChild(o),{popoverWrapper:t,popoverTip:r,popoverTitle:n,popoverDescription:a,popoverFooter:o,popoverPrevBtn:f,popoverNextBtn:h,popoverCloseBtn:i,popoverFooterCounter:u,popoverFooterBtnGroup:c}};function Wh(e,t,r,n){return(e/=n/2)<1?r/2*e*e+t:-r/2*(--e*(e-2)-1)+t}function cV(e,t,r){const n=(o,i)=>{const c=o.target;e.contains(c)&&((!r||r(c))&&o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation(),i==null||i(o))};document.addEventListener("pointerdown",n,!0),document.addEventListener("mousedown",n,!0),document.addEventListener("pointerup",n,!0),document.addEventListener("mouseup",n,!0),document.addEventListener("click",o=>{n(o,t)},!0)}function ISe(e){(!e||!("nodeType"in e&&e.nodeType===1&&typeof e.nodeName=="string"))&&console.error("Html Element expected")}function Dd(e,t){return typeof t=="undefined"?e:t}function Mo(e){e||console.error("Variable was expected to not be falsy, but isntead was: ".concat(e))}function OSe(e){const t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function uV(e,t){!e||OSe(e)||e.scrollIntoView(t)}class $Se{constructor({options:t,highlightDomElement:r,popover:n}){it(this,"options");it(this,"highlightDomElement");it(this,"popover");it(this,"lastKnownDomRect");this.highlightDomElement=r,this.options=t,this.popover=n}isSame(t){return!t||!t.highlightDomElement?!1:t.highlightDomElement===this.highlightDomElement}getElement(){return this.highlightDomElement}getPopover(){return this.popover}getStrictClickHandling(){return this.options.strictClickHandling}onDeselected(){var t,r,n;(t=this.popover)==null||t.hide(),this.getElement().classList.remove(WA),(n=(r=this.options).onDeselected)==null||n.call(r,this)}onBeforeHighlighted(){var t,r;(r=(t=this.options).onBeforeHighlighted)==null||r.call(t,this)}onHighlighted(){var t,r,n;this.options.scrollIntoViewOptions!=="no-scroll"&&uV(this.highlightDomElement,this.options.scrollIntoViewOptions),(t=this.popover)==null||t.show(this),this.getElement().classList.add(WA),(n=(r=this.options).onHighlighted)==null||n.call(r,this)}getCustomPadding(){return this.options.padding}getCustomRadius(){return this.options.radius}onNext(){var t,r;(r=(t=this.options).onNext)==null||r.call(t,this)}onPrevious(){var t,r;(r=(t=this.options).onPrevious)==null||r.call(t,this)}getDOMRect(){const t=this.getElement(),r=t.getBoundingClientRect();return t.isConnected?(this.lastKnownDomRect=r,r):this.lastKnownDomRect||r}}function dV({hightlightBox:e,padding:t=0,radius:r=0}){const n=window.innerWidth,a=window.innerHeight,o=e.width+t*2,i=e.height+t*2,c=Math.min(r,o/2,i/2),u=Math.floor(Math.max(c,0)),f=e.x-t+u,h=e.y-t,m=o-u*2,v=i-u*2;return"M".concat(n,",0L0,0L0,").concat(a,"L").concat(n,",").concat(a,"L").concat(n,",0Z\n M").concat(f,",").concat(h," h").concat(m," a").concat(u,",").concat(u," 0 0 1 ").concat(u,",").concat(u," v").concat(v," a").concat(u,",").concat(u," 0 0 1 -").concat(u,",").concat(u," h-").concat(m," a").concat(u,",").concat(u," 0 0 1 -").concat(u,",-").concat(u," v-").concat(v," a").concat(u,",").concat(u," 0 0 1 ").concat(u,",-").concat(u," z")}function zSe({hightlightBox:e,padding:t=0,fillColor:r="rgb(0,0,0)",opacity:n=1,animated:a=!0}){const o=window.innerWidth,i=window.innerHeight,c=document.createElementNS("http://www.w3.org/2000/svg","svg");c.classList.add(UA),a&&c.classList.add("".concat(UA,"-animated")),c.setAttribute("viewBox","0 0 ".concat(o," ").concat(i)),c.setAttribute("xmlSpace","preserve"),c.setAttribute("xmlnsXlink","http://www.w3.org/1999/xlink"),c.setAttribute("version","1.1"),c.setAttribute("preserveAspectRatio","xMinYMin slice"),c.style.fillRule="evenodd",c.style.clipRule="evenodd",c.style.strokeLinejoin="round",c.style.strokeMiterlimit="2",c.style.zIndex="10000";const u=document.createElementNS("http://www.w3.org/2000/svg","path");return u.setAttribute("d",dV({hightlightBox:e,padding:t})),u.style.fill=r,u.style.opacity="".concat(n),u.style.pointerEvents="auto",u.style.cursor="default",c.appendChild(u),c}let FSe=class{constructor(t){it(this,"options");it(this,"cutoutSVGElement");it(this,"currentTransitionInProgress");it(this,"activeSvgCutoutDefinition");it(this,"highlightElemRect");it(this,"currentHighlightedElement");it(this,"previouslyHighlightedElement");this.options=R({opacity:vSe},t)}highlight(t){t.isSame(this.currentHighlightedElement)||(t.onBeforeHighlighted(),this.currentHighlightedElement&&!this.currentHighlightedElement.isSame(this.previouslyHighlightedElement)&&this.currentHighlightedElement.onDeselected(),this.startElementTracking(this.currentHighlightedElement||t,t),this.previouslyHighlightedElement=this.currentHighlightedElement,this.currentHighlightedElement=t,t.onHighlighted())}clear(t=!1,r){var n,a,o;this.currentHighlightedElement&&((a=(n=this.options).onReset)==null||a.call(n,this.currentHighlightedElement,r)),(o=this.currentHighlightedElement)==null||o.onDeselected(),this.currentHighlightedElement=void 0,this.previouslyHighlightedElement=void 0,this.cancelElementTracking(),this.options.animate&&!t?this.unmountCutoutElement():this.unmountCutoutElement()}startElementTracking(t,r){const a=Date.now(),o=()=>{const i=Date.now()-a;this.currentTransitionInProgress===o&&(this.options.animate&&i<400?this.transitionCutoutToPosition(i,400,t,r):this.trackElementOnScreen(),this.refreshSvgAndPopover(),window.requestAnimationFrame(o))};this.currentTransitionInProgress=o,window.requestAnimationFrame(o)}transitionCutoutToPosition(t,r,n,a){const o=this.activeSvgCutoutDefinition?ee(R({},this.activeSvgCutoutDefinition),{hightlightBox:R({},this.activeSvgCutoutDefinition.hightlightBox)}):{hightlightBox:n.getDOMRect(),padding:n.getCustomPadding(),radius:n.getCustomRadius()},i=a.getDOMRect(),c=Dd(this.options.padding,a.getCustomPadding()),u=Dd(this.options.radius,a.getCustomRadius()),f=Dd(this.options.padding,o.padding),h=Dd(this.options.radius,o.radius),m=Wh(t,o.hightlightBox.x,i.x-o.hightlightBox.x,r),v=Wh(t,o.hightlightBox.y,i.y-o.hightlightBox.y,r),S=Wh(t,o.hightlightBox.width,i.width-o.hightlightBox.width,r),w=Wh(t,o.hightlightBox.height,i.height-o.hightlightBox.height,r),g=Wh(t,f,c-f,r),b=Wh(t,h,u-h,r),C={hightlightBox:{x:m,y:v,width:S,height:w},padding:g,radius:b};this.activeSvgCutoutDefinition=C,this.updateCutoutPosition(C)}cancelElementTracking(){this.currentTransitionInProgress=void 0,this.activeSvgCutoutDefinition=void 0,this.highlightElemRect=void 0}trackElementOnScreen(){if(this.currentHighlightedElement){const t=this.currentHighlightedElement.getDOMRect();if(JSON.stringify(t)!==JSON.stringify(this.highlightElemRect)){const r={hightlightBox:{x:t.x,y:t.y,width:t.width,height:t.height},padding:Dd(this.options.padding,this.currentHighlightedElement.getCustomPadding()),radius:Dd(this.options.radius,this.currentHighlightedElement.getCustomRadius())};this.updateCutoutPosition(r),this.activeSvgCutoutDefinition=r}this.highlightElemRect=t}}refreshSvgAndPopover(){var n;Mo(this.cutoutSVGElement),Mo(this.currentHighlightedElement);const t=window.innerWidth,r=window.innerHeight;this.cutoutSVGElement.setAttribute("viewBox","0 0 ".concat(t," ").concat(r)),(n=this.currentHighlightedElement.getPopover())==null||n.refresh()}getOverlayElement(){return this.cutoutSVGElement}mountCutoutElement(t){if(this.cutoutSVGElement){console.error("Already mounted SVG");return}const r=zSe(t);this.cutoutSVGElement=r,document.body.appendChild(r),cV(this.cutoutSVGElement,n=>{n.target.tagName==="path"&&this.options.onOverlayClick()})}unmountCutoutElement(){this.cutoutSVGElement&&(document.body.removeChild(this.cutoutSVGElement),this.cutoutSVGElement=void 0)}updateCutoutPosition(t){const r={hightlightBox:t.hightlightBox,padding:t.padding,opacity:this.options.opacity,radius:t.radius,animated:this.options.animate};if(!this.cutoutSVGElement)this.mountCutoutElement(r);else{const n=this.cutoutSVGElement.firstElementChild;(n==null?void 0:n.tagName)==="path"?n.setAttribute("d",dV(r)):console.error("No existing path found on SVG but we want one :(")}}};const qA=["top","bottom","left","right"];class HSe{constructor(t,r,n,a){it(this,"highlightElement");it(this,"popover");it(this,"padding");it(this,"finalOffset");this.highlightElement=t,this.popover=r,this.padding=n,this.finalOffset=n+a}setBestPosition(t,r){var o;const n=this.findOptimalPosition(t,r),a=(o=this.popover.getPopoverElements())==null?void 0:o.popoverWrapper;Mo(a),a.style.left=typeof n.left=="number"?"".concat(n.left,"px"):"auto",a.style.right=typeof n.right=="number"?"".concat(n.right,"px"):"auto",a.style.top=typeof n.top=="number"?"".concat(n.top,"px"):"auto",a.style.bottom=typeof n.bottom=="number"?"".concat(n.bottom,"px"):"auto"}getHighlightElemRect(){return this.highlightElement.getDOMRect()}getPopoverDimensions(){const t=this.popover.getPopoverElements(),r=t==null?void 0:t.popoverWrapper.getBoundingClientRect(),n=t==null?void 0:t.popoverTip.getBoundingClientRect();return Mo(r),Mo(n),{width:r.width+this.finalOffset,height:r.height+this.finalOffset,tipSize:n.width}}checkIfSideOptimal(t){const r=this.getPopoverDimensions(),n=this.getHighlightElemRect();switch(t){case"top":const a=n.top-r.height;return{side:"top",value:a,isOptimal:a>=0};case"bottom":const o=window.innerHeight-(n.bottom+r.height);return{side:"bottom",value:o,isOptimal:o>=0};case"left":const i=n.left-r.width;return{side:"left",value:i,isOptimal:i>=0};case"right":const c=window.innerWidth-(n.right+r.width);return{side:"right",value:c,isOptimal:c>=0}}}findOptimalSide(t=0){const r=qA[t],n=this.checkIfSideOptimal(r);return n.isOptimal?n:t===qA.length-1?"none":this.findOptimalSide(t+1)}normalizeAlignment(t,r,n,a,o,i){switch(t){case"start":return Math.max(Math.min(n-this.padding,a-r-i),i);case"end":return Math.max(Math.min(n-r+o+this.padding,a-r-i),i);case"center":const c=n-r/2+o/2;return Math.min(Math.max(i,c),a-i-r)}}findOptimalPosition(t,r){let n;if(r?(n=this.checkIfSideOptimal(r),n.isOptimal||(n=this.findOptimalSide())):n=this.findOptimalSide(),n==="none"){const a=this.getPopoverDimensions();return this.clearPopoverTipPosition(),{left:window.innerWidth/2-(a.width-this.finalOffset)/2,bottom:10}}else{const a=this.getPopoverDimensions(),o=this.getHighlightElemRect(),i={},c=a.width-this.finalOffset,u=a.height-this.finalOffset;switch(n.side){case"top":i.top=Math.min(n.value,window.innerHeight-u-a.tipSize),i.left=this.normalizeAlignment(t,c,o.left,window.innerWidth,o.width,a.tipSize),this.setPopoverTipPosition(t,n.side,o.left,o.width);break;case"bottom":i.bottom=Math.min(n.value,window.innerHeight-u-a.tipSize),i.left=this.normalizeAlignment(t,c,o.left,window.innerWidth,o.width,a.tipSize),this.setPopoverTipPosition(t,n.side,o.left,o.width);break;case"left":i.left=Math.min(n.value,window.innerWidth-c-a.tipSize),i.top=this.normalizeAlignment(t,u,o.top,window.innerHeight,o.height,a.tipSize),this.setPopoverTipPosition(t,n.side,o.top,o.height);break;case"right":i.right=Math.min(n.value,window.innerWidth-c-a.tipSize),i.top=this.normalizeAlignment(t,u,o.top,window.innerHeight,o.height,a.tipSize),this.setPopoverTipPosition(t,n.side,o.top,o.height);break}return i}}clearPopoverTipPosition(){var r;const t=(r=this.popover.getPopoverElements())==null?void 0:r.popoverTip;Mo(t),t.className=lV+" "}setPopoverTipPosition(t,r,n,a){var h,m;const o=(h=this.popover.getPopoverElements())==null?void 0:h.popoverWrapper,i=(m=this.popover.getPopoverElements())==null?void 0:m.popoverTip;Mo(o),Mo(i);let c=r,u=t;const f=o.getBoundingClientRect();switch(r){case"top":n+a<=0?(c="right",u="end"):n+a-f.width<=0&&(u="start"),n>=window.innerWidth?(c="left",u="end"):n+f.width>=window.innerWidth&&(u="end");break;case"bottom":n+a<=0?(c="right",u="start"):n+a-f.width<=0&&(u="start"),n>=window.innerWidth?(c="left",u="start"):n+f.width>=window.innerWidth&&(u="end");break;case"left":n+a<=0?(c="bottom",u="end"):n+a-f.height<=0&&(u="start"),n>=window.innerHeight?(c="top",u="end"):n+f.height>=window.innerHeight&&(u="end");break;case"right":n+a<=0?(c="bottom",u="start"):n+a-f.height<=0&&(u="start"),n>=window.innerHeight?(c="top",u="start"):n+f.height>=window.innerHeight&&(u="end");break}this.clearPopoverTipPosition(),i.classList.add("boarding-tipside-".concat(c),"boarding-tipalign-".concat(u))}}class BSe{constructor(S){it(this,"options");it(this,"popover");it(this,"highlightElement");var w=S,{showButtons:t=!0,disableButtons:r=[],offset:n=bSe,meta:a={},alignment:o="start",closeBtnText:i="Close",doneBtnText:c="Done",okBtnText:u="Ok",startBtnText:f="Next →",nextBtnText:h="Next →",prevBtnText:m="← Previous"}=w,v=ke(w,["showButtons","disableButtons","offset","meta","alignment","closeBtnText","doneBtnText","okBtnText","startBtnText","nextBtnText","prevBtnText"]);this.options=R({showButtons:t,disableButtons:r,meta:a,offset:n,alignment:o,closeBtnText:i,doneBtnText:c,startBtnText:f,nextBtnText:h,prevBtnText:m,okBtnText:u},v)}hide(){var t;this.popover&&((t=this.popover.popoverWrapper.parentElement)==null||t.removeChild(this.popover.popoverWrapper))}show(t){this.highlightElement=t,this.attachNode(),Mo(this.popover),Mo(this.highlightElement),this.setInitialState(),this.popover.popoverTitle.innerHTML=this.options.title||"",this.popover.popoverDescription.innerHTML=this.options.description||"",this.renderFooter(),this.setPosition(),this.options.scrollIntoViewOptions!=="no-scroll"&&uV(this.popover.popoverWrapper,this.options.scrollIntoViewOptions)}refresh(){this.highlightElement&&this.setPosition()}getPopoverElements(){return this.popover}getShowButtons(){return this.options.showButtons}getDisabledButtons(){return this.options.disableButtons}setInitialState(){Mo(this.popover),this.popover.popoverWrapper.style.left="0",this.popover.popoverWrapper.style.top="0",this.popover.popoverWrapper.style.bottom="",this.popover.popoverWrapper.style.right=""}setPosition(){Mo(this.highlightElement);const t=this.highlightElement.getCustomPadding();new HSe(this.highlightElement,this,Dd(this.options.padding,t),this.options.offset).setBestPosition(this.options.alignment,this.options.prefferedSide)}attachNode(){var m,v,S;this.popover&&((m=this.popover.popoverWrapper.parentElement)==null||m.removeChild(this.popover.popoverWrapper));const t=LSe(this.options.className),{popoverWrapper:r,popoverTip:n,popoverTitle:a,popoverDescription:o,popoverFooter:i,popoverPrevBtn:c,popoverNextBtn:u,popoverFooterCounter:f,popoverCloseBtn:h}=t;this.options.animate&&r.classList.add("".concat(iV,"-animated")),(S=(v=this.options).onPopoverRender)==null||S.call(v,t),document.body.appendChild(r),cV(r,w=>{const g=w.target;u.contains(g)&&this.options.onNextClick(),c.contains(g)&&this.options.onPreviousClick(),h.contains(g)&&this.options.onCloseClick()},w=>!o.contains(w)),this.popover={popoverWrapper:r,popoverTip:n,popoverTitle:a,popoverDescription:o,popoverFooter:i,popoverFooterCounter:f,popoverPrevBtn:c,popoverNextBtn:u,popoverCloseBtn:h}}renderFooter(){var n,a,o;Mo(this.popover),this.popover.popoverPrevBtn.innerHTML=this.options.prevBtnText;const t=this.options.closeBtnText;typeof t=="string"&&t!=="x"?this.popover.popoverCloseBtn.innerHTML=t:this.popover.popoverCloseBtn.innerHTML='';const r=this.options.totalCount&&this.options.totalCount!==1;if(!this.options.showButtons){this.popover.popoverFooter.classList.add(TSe),this.popover.popoverFooter.style.display="none";return}r?(this.popover.popoverNextBtn.style.display="inline-block",this.popover.popoverPrevBtn.style.display="inline-block",this.popover.popoverCloseBtn.classList.remove(VA)):(this.popover.popoverNextBtn.style.display="none",this.popover.popoverPrevBtn.style.display="none",this.popover.popoverCloseBtn.classList.add(VA)),Array.isArray(this.options.showButtons)&&(this.options.showButtons.includes("next")||(this.popover.popoverNextBtn.style.display="none"),this.options.showButtons.includes("previous")||(this.popover.popoverPrevBtn.style.display="none"),this.options.showButtons.includes("close")||(this.popover.popoverCloseBtn.style.display="none")),this.popover.popoverFooter.style.display="flex",this.options.disableButtons.includes("close")&&this.popover.popoverCloseBtn.classList.add(cg),this.options.disableButtons.includes("next")&&this.popover.popoverNextBtn.classList.add(cg),this.options.isFirst&&this.options.totalCount>1?(this.popover.popoverPrevBtn.classList.add(cg),this.popover.popoverFooterCounter.innerHTML="".concat(this.options.currentIndex+1,"/").concat(this.options.totalCount),this.popover.popoverNextBtn.innerHTML="".concat(this.options.nextBtnText)):this.options.isLast||this.options.currentIndex+1===this.options.totalCount?(this.popover.popoverNextBtn.innerHTML=this.options.doneBtnText,this.popover.popoverNextBtn.style.display="inline-block",this.popover.popoverFooterCounter.innerHTML=""):(this.options.disableButtons.includes("previous")?this.popover.popoverPrevBtn.classList.add(cg):this.popover.popoverPrevBtn.classList.remove(cg),this.popover.popoverFooterCounter.innerHTML="".concat(this.options.currentIndex+1,"/").concat(this.options.totalCount),this.popover.popoverNextBtn.innerHTML="".concat(this.options.nextBtnText)),(n=this.popover)!=null&&n.popoverNextBtn&&((o=(a=this.popover)==null?void 0:a.popoverNextBtn)==null||o.focus())}}class USe{constructor(t){it(this,"isActivated");it(this,"currentStep");it(this,"options");it(this,"steps");it(this,"lastMovementRequested");it(this,"currentMovePrevented");it(this,"overlay");const m=R({},t),{strictClickHandling:r=RSe,animate:n=wSe,padding:a=ySe,radius:o=xSe,scrollIntoViewOptions:i={behavior:"auto",block:"center"},allowClose:c=kSe,keyboardControl:u=CSe,overlayClickNext:f=SSe}=m,h=ke(m,["strictClickHandling","animate","padding","radius","scrollIntoViewOptions","allowClose","keyboardControl","overlayClickNext"]);this.options=R({strictClickHandling:r,animate:n,padding:a,radius:o,scrollIntoViewOptions:i,allowClose:c,keyboardControl:u,overlayClickNext:f},h),this.isActivated=!1,this.steps=[],this.currentStep=0,this.currentMovePrevented=!1,this.overlay=new FSe({animate:this.options.animate,padding:this.options.padding,radius:this.options.radius,onReset:this.options.onReset,opacity:this.options.opacity,onOverlayClick:()=>{if(this.options.overlayClickNext){this.next();return}if(this.options.allowClose){this.reset(!1,"cancel");return}}}),this.onKeyUp=this.onKeyUp.bind(this),this.onClick=this.onClick.bind(this)}start(t=0){var r,n;if(this.lastMovementRequested={movement:0,index:t},!this.steps||this.steps.length===0){console.log("There are no steps defined to iterate");return}(n=(r=this.steps[t]).prepareElement)==null||n.call(r,"init"),!this.currentMovePrevented&&this.handleStart(t)}highlight(t){var n;this.lastMovementRequested={movement:1,selector:t};const r=typeof t=="object"&&"element"in t?t:{element:t};(n=r.prepareElement)==null||n.call(r,"init"),!this.currentMovePrevented&&this.handleHighlight(t)}preventMove(){if(this.lastMovementRequested!==void 0)if(this.currentMovePrevented!==this.lastMovementRequested)if(this.currentMovePrevented)console.warn("Tried to call Boarding.preventMove, but move has already been prevented, and not been continued or reset yet");else{const t=R({},this.lastMovementRequested);this.currentMovePrevented=t,this.lastMovementRequested=t}else console.warn("Boarding.preventMove was called multiple times for the same move, which has no effect.");else console.warn("Tried to call Boarding.preventMove before, but no move was requested so far.")}continue(){return pe(this,null,function*(){setTimeout(()=>{if(this.currentMovePrevented===this.lastMovementRequested)switch(this.currentMovePrevented=!1,this.lastMovementRequested.movement){case 0:this.handleStart(this.lastMovementRequested.index);break;case 1:this.handleHighlight(this.lastMovementRequested.selector);break;case 2:this.handleNext();break;case 3:this.moveNext();break;case 4:this.handlePrevious();break;case 5:this.movePrevious();break}else console.warn("Boarding.continue was probably called too late, since the last preventMove was called from a different step (or never called at all).")},0)})}clearMovePrevented(){this.currentMovePrevented=!1}next(){var t,r;this.currentMovePrevented||(this.lastMovementRequested={movement:2,index:this.currentStep},(r=(t=this.steps[this.currentStep+1])==null?void 0:t.prepareElement)==null||r.call(t,"next"),!this.currentMovePrevented&&this.handleNext())}previous(){var t,r;this.currentMovePrevented||(this.lastMovementRequested={movement:4,index:this.currentStep},(r=(t=this.steps[this.currentStep-1])==null?void 0:t.prepareElement)==null||r.call(t,"prev"),!this.currentMovePrevented&&this.handlePrevious())}hasNextStep(){return!!this.steps[this.currentStep+1]}hasPreviousStep(){return!!this.steps[this.currentStep-1]}reset(t=!1,r="cancel"){this.currentStep=0,this.isActivated=!1,this.overlay.clear(t,r),this.removeEventListeners(),document.body.classList.remove($S,zS),this.lastMovementRequested=void 0,this.currentMovePrevented=!1}hasHighlightedElement(){return!!this.overlay.currentHighlightedElement}getHighlightedElement(){return this.overlay.currentHighlightedElement}getLastHighlightedElement(){return this.overlay.previouslyHighlightedElement}defineSteps(t){this.steps=t}getSteps(){return this.steps}handleStart(t){var n,a,o,i;const r=this.prepareElementFromStep(t);if(!r){console.log("The step with starting index ".concat(t," could not resolve to an element.")),this.currentStep=0,(a=(n=this.options).onStart)==null||a.call(n,void 0),this.next();return}this.currentStep=t,(i=(o=this.options).onStart)==null||i.call(o,r),this.activateBoarding(r)}handleHighlight(t){const r=typeof t=="object"&&"element"in t?t:{element:t},n=this.prepareElementFromStep(r);if(!n){console.log("The step with element ".concat(r.element," could not resolve to an element.")),this.next();return}this.activateBoarding(n)}handleNext(){this.lastMovementRequested={movement:3,index:this.currentStep};const t=this.prepareElementFromStep(this.currentStep);t||console.log("The step with index ".concat(this.currentStep," could not resolve to an element.")),t==null||t.onNext(),!this.currentMovePrevented&&this.moveNext()}handlePrevious(){this.lastMovementRequested={movement:5,index:this.currentStep};const t=this.prepareElementFromStep(this.currentStep);t==null||t.onPrevious(),!this.currentMovePrevented&&this.movePrevious()}moveNext(){const t=this.prepareElementFromStep(this.currentStep+1);if(!t){if(!this.hasNextStep()){this.reset(!1,"finish");return}this.currentStep+=1,this.next();return}this.setStrictClickHandlingRules(t),this.overlay.highlight(t),this.currentStep+=1}movePrevious(){const t=this.prepareElementFromStep(this.currentStep-1);if(!t){if(!this.hasPreviousStep()){this.currentStep=0,this.next();return}this.currentStep-=1,this.previous();return}this.setStrictClickHandlingRules(t),this.overlay.highlight(t),this.currentStep-=1}activateBoarding(t){this.attachEventListeners(),this.isActivated=!0,this.setStrictClickHandlingRules(t),this.overlay.highlight(t)}setStrictClickHandlingRules(t){const r=t.getStrictClickHandling(),n=r===void 0?this.options.strictClickHandling:r;document.body.classList.remove($S,zS),n==="block-all"?document.body.classList.add($S):n&&document.body.classList.add(zS)}attachEventListeners(){window.addEventListener("keyup",this.onKeyUp,!1),"ontouchstart"in document.documentElement?window.addEventListener("touchstart",this.onClick,!1):window.addEventListener("click",this.onClick,!1)}removeEventListeners(){window.removeEventListener("keyup",this.onKeyUp,!1),window.removeEventListener("click",this.onClick,!1),window.removeEventListener("touchstart",this.onClick,!1)}onClick(t){if(!this.overlay.currentHighlightedElement)return;ISe(t.target);const a=!this.overlay.currentHighlightedElement.getElement().contains(t.target);if(this.options.strictClickHandling&&a){t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation();return}}onKeyUp(t){if(t.preventDefault(),t.stopPropagation(),!this.isActivated||!this.options.keyboardControl)return;if(t.key==="Escape"&&this.options.allowClose){this.reset(!1,"cancel");return}const r=this.getHighlightedElement(),n=r==null?void 0:r.getPopover(),a=n==null?void 0:n.getShowButtons(),o=n==null?void 0:n.getDisabledButtons();a&&(t.key==="ArrowRight"||t.key==="ArrowDown"?!(o!=null&&o.includes("next"))&&(a===!0||a.includes("next"))&&this.next():(t.key==="ArrowLeft"||t.key==="ArrowUp")&&!(o!=null&&o.includes("previous"))&&(a===!0||a.includes("previous"))&&this.previous())}prepareElementFromStep(t){var c;const r=typeof t=="number"?this.steps[t]:t,n=typeof t=="number"?t:0,a=typeof t=="number"?this.steps.length:1;if(r===void 0)return null;const o=typeof r.element=="string"?document.querySelector(r.element):r.element;if(!o)return console.warn("Element to highlight ".concat(r.element," not found")),null;let i=null;if((c=r.popover)!=null&&c.title){const u=[this.options.className,r.popover.className].filter(f=>f).join(" ");i=new BSe({padding:this.options.padding,offset:this.options.offset,animate:this.options.animate,meta:r.meta,scrollIntoViewOptions:r.scrollIntoViewOptions===void 0?this.options.scrollIntoViewOptions:r.scrollIntoViewOptions,title:r.popover.title,description:r.popover.description,prefferedSide:r.popover.prefferedSide||this.options.prefferedSide,alignment:r.popover.alignment||this.options.alignment,showButtons:r.popover.showButtons===void 0?this.options.showButtons:r.popover.showButtons,disableButtons:r.popover.disableButtons===void 0?this.options.disableButtons:r.popover.disableButtons,onPopoverRender:r.popover.onPopoverRender===void 0?this.options.onPopoverRender:r.popover.onPopoverRender,doneBtnText:r.popover.doneBtnText||this.options.doneBtnText,closeBtnText:r.popover.closeBtnText||this.options.closeBtnText,nextBtnText:r.popover.nextBtnText||this.options.nextBtnText,startBtnText:r.popover.startBtnText||this.options.startBtnText,prevBtnText:r.popover.prevBtnText||this.options.prevBtnText,className:u,totalCount:a,currentIndex:n,isFirst:n===0,isLast:a===0||n===a-1,onNextClick:()=>{this.next()},onPreviousClick:()=>{this.previous()},onCloseClick:()=>{this.reset(!1,"cancel")}})}return new $Se({highlightDomElement:o,options:{scrollIntoViewOptions:r.scrollIntoViewOptions===void 0?this.options.scrollIntoViewOptions:r.scrollIntoViewOptions,onBeforeHighlighted:r.onBeforeHighlighted||this.options.onBeforeHighlighted,onHighlighted:r.onHighlighted||this.options.onHighlighted,onDeselected:r.onDeselected||this.options.onDeselected,onNext:r.onNext||this.options.onNext,onPrevious:r.onPrevious||this.options.onPrevious,strictClickHandling:r.strictClickHandling,padding:r.padding,radius:r.radius},popover:i})}}const WSe=({steps:e,options:t,onStart:r,onNext:n,onPrevious:a,onEnd:o,onHighlighted:i,onBeforeHighlighted:c,onDeselected:u})=>{const f=p.useRef(null),h=g=>pe(void 0,null,function*(){return document.getElementById("boardingCSSLink")?Promise.resolve():new Promise((C,j)=>{const E=document.createElement("link");E.rel="stylesheet",E.id="boardingCSSLink",E.type="text/css",E.href=g,E.onload=()=>{C()},E.onerror=()=>j(new Error("Failed to load CSS at ".concat(g))),document.head.appendChild(E)})}),m=()=>{const g=document.getElementById("boardingCSSLink");g&&g.remove()},v=p.useCallback((g,b)=>{m(),o&&o(g,b)},[o]);p.useEffect(()=>{var b;if(f.current){f.current.defineSteps(e),f.current.isActivated||(b=f.current)==null||b.start();return}const g=new USe(ee(R({},t),{onStart:r,onNext:n,onPrevious:a,onReset:v,onHighlighted:i,onBeforeHighlighted:c,onDeselected:u}));g.defineSteps(e),f.current=g},[e,t,r,n,a,o,i,c,u]);const S=p.useCallback(()=>{f.current&&pe(void 0,null,function*(){var b;yield h("/assets/styles/boarding.css"),(b=f.current)==null||b.start()})},[]),w=p.useCallback(()=>{m(),f.current&&(f.current.reset(!0),f.current=null)},[]);return{startBoarding:S,resetBoarding:w,boarding:f.current}},VSe=({tourName:e,element:t,onCompleted:r,onSkipped:n})=>{var E,N;const{t:a}=At(),o=sa(),i=al(),[c,u]=p.useState([]),[f,h]=p.useState(null),[m,v]=p.useState(null),{appToursCompletedList:S,appToursSkippedList:w,setAppToursSkippedList:g}=ft(pn);p.useEffect(()=>{if(f===e&&!(j!=null&&j.isActivated)){b();return}C();const T=a(e,{returnObjects:!0,defaultValue:[],ns:"tours"}),A=t?T.filter(M=>Array.isArray(t)?t.includes(M.element):t===M.element):T;u(A),h(e)},[e]);const{startBoarding:b,resetBoarding:C,boarding:j}=WSe({steps:c,options:{animate:!0,opacity:.65,padding:8,allowClose:!!t,doneBtnText:t?a("Got It",{ns:"help"}):a("Done",{ns:"help"}),closeBtnText:"x",nextBtnText:a("Next",{ns:"help"}),prevBtnText:a("Previous",{ns:"help"}),showButtons:!0,keyboardControl:!0},onEnd:(T,A)=>{const M=Hr.value,z=Object.values(sr).sort((V,I)=>XP.indexOf(V)-XP.indexOf(I)).filter(V=>!S.includes(V)&&V!==M)[0];Hr.value=null;const H=A==="finish";if(t)mu.value=null;else{if(!H){const I=[...w,M];g(I)}const V=W1({title:H?s.jsxs(me,{className:"text-green-600 dark:text-green-500 justify-start items-center",children:[a("Tour Completed",{ns:"help"}),s.jsx($t,{className:"h-5 w-5 ml-2"})]}):s.jsx(Q,{className:"text-yellow-600 dark:text-yellow-500",children:a("Tour Skipped",{ns:"help"})}),delay:H?12e3:6e3,description:A==="finish"?z?s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"text-[14px]",children:s.jsx(ns,{i18nKey:"Great job! You have completed this tour. Ready to see more? Click Skip if you want to explore on your own. All tours always available from the Help > App Guided Tours menu in the navbar.",ns:"help"})}),s.jsxs(me,{className:"justify-between",children:[s.jsx(ye,{autoFocus:!0,className:"bg-blue-500 dark:bg-blue-700 dark:hover:bg-blue-800 hover:bg-blue-600 px-4 mt-3 text-white",onClick:()=>{V.dismiss(),Hr.value=z},children:a("Start Next Tour",{ns:"help"})}),s.jsxs(me,{className:"gap-3",children:[s.jsx(ye,{variant:"light",className:"text-gray-800 px-4 mt-3 dark:bg-slate-800 dark:text-gray-400 hover:dark:text-gray-300",onClick:()=>{V.dismiss()},children:a("Later",{ns:"help"})}),s.jsx(ye,{variant:"outline",className:"text-gray-800 px-4 mt-3",onClick:()=>{C(),n&&M&&n(M),V.dismiss()},children:a("Skip",{ns:"help"})})]})]})]}):s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"text-[14px]",children:s.jsx(ns,{i18nKey:"Congratulations! You have finished all the tours and now ready to make the most of PasteBar's features. Remember, all tours always available from the Help > App Guided Tours menu in the navbar.",ns:"help"})}),s.jsx(me,{className:"justify-between",children:s.jsx(ye,{autoFocus:!0,className:"bg-green-500 dark:bg-green-700 dark:hover:bg-green-800 hover:bg-green-600 px-4 mt-3 text-white !outline-none",onClick:()=>{V.dismiss()},children:a("Let's get started",{ns:"help"})})})]}):s.jsxs(Q,{className:"text-[15px]",children:[s.jsx(ns,{i18nKey:"Feel free to explore the app on your own. If you need help or want to access the tours later, you can always find them in the Help > App Guided Tours menu in the navigation bar.",ns:"help"}),s.jsx(Q,{children:s.jsx(ye,{variant:"outline",autoFocus:!0,className:"text-gray-800 px-4 mt-3",onClick:()=>{C(),V.dismiss()},children:a("Got It",{ns:"help"})})})]})});r&&H&&r(e)}},onHighlighted:T=>{v(T)}});return Os("esc",()=>{Hr.value&&(Hr.value=null,mu.value=null,C())}),p.useEffect(()=>{if(!(j!=null&&j.isActivated)){if(i.pathname!=="/history"&&(Hr.value===sr.historyPanelTour||Hr.value===sr.dashboardClipsTour)){o("/history",{replace:!0});return}if(i.pathname!=="/menu"&&Hr.value===sr.menuTour){o("/menu",{replace:!0});return}if(!i.pathname.startsWith("/app-settings")&&Hr.value===sr.settingsTour){o("/app-settings/history",{replace:!0});return}Hr.value===sr.navBarTour&&b()}},[Hr.value]),p.useEffect(()=>{if(!(j!=null&&j.isActivated)){if(i.pathname==="/history"&&(Hr.value===sr.historyPanelTour||Hr.value===sr.dashboardClipsTour)){b();return}if(i.pathname==="/menu"&&Hr.value===sr.menuTour){b();return}if(i.pathname.startsWith("/app-settings")&&Hr.value===sr.settingsTour){b();return}return Hr.value===sr.navBarTour&&b(),()=>{C()}}},[]),j!=null&&j.isActivated?s.jsx(ye,{className:"boarding-highlighted-element fixed bottom-4 z-[10001] ".concat((N=(E=m==null?void 0:m.popover)==null?void 0:E.options.meta)==null?void 0:N.closeTourCssPosition),onClick:()=>{C()},children:t?s.jsx(s.Fragment,{children:s.jsx(wr,{className:"h-5 w-5"})}):s.jsx(s.Fragment,{children:a("Skip Tour",{ns:"help"})})}):null},qSe=(e,t)=>{var _;const{t:r}=At(),n=p.useRef(null);al();const a=p.useRef(null),{isScrolling:o,isSwapPanels:i}=ft(Es),{historyListSimpleBar:c,clipboardHistory:u}=ft(hi),{appToursCompletedList:f,setAppToursCompletedList:h,setAppToursSkippedList:m,appToursSkippedList:v}=ft(pn),[S,w]=X2("resetPassCodeNextDelayInSeconds",null),[,g]=X2("resetPassCodeGlobalUnsuccessfulTries",0),[b,C]=c_({}),[j,E,N]=u_({}),T=We(!1),A=We(!1),[M,D]=p.useState({top:0,left:0}),L=p.useRef(j),z=p.useRef(b),H=sa(),V=($,U=0)=>{L.current||z.current||requestAnimationFrame(()=>{const K=n.current?n.current.getBoundingClientRect():new DOMRect(0),Y=$.top-K.top,B=U>0&&$.left+$.width/2-K.left>U?U/2:$.left+$.width/2-K.left;D({top:Y,left:B}),T.value=!0})};p.useEffect(()=>{var $;return S&&(On.value=($=parseInt(S,10))!=null?$:0),()=>{Ni.value&&(clearInterval(Ni.value),Ni.value=null),On.value>0?(w(On.value),On.value=0):w(null)}},[]),p.useEffect(()=>{On.value>0&&Ni.value==null&&(Ni.value=setInterval(()=>{On.value>0?(w(On.value),On.value-=1):(Ni.value&&clearInterval(Ni.value),g(0),w(null),On.value=0,Yh.value=0,Ni.value=null)},1e3))},[On.value]),p.useEffect(()=>{var $;b||j||(T.value=!1,($=window.getSelection())==null||$.removeAllRanges())},[i,u,b,j]),p.useEffect(()=>{L.current=j,z.current=b},[j,b]),p.useEffect(()=>{T.value&&(Rd.value=null,Ld.value=null)},[T.value]),Os("esc",()=>{var $;T.value&&(T.value=!1),($=window.getSelection())==null||$.removeAllRanges()}),Os(["meta+a","control+a"],$=>{$.preventDefault()}),Os(["meta+f","control+f"],$=>{Vd.value=$.type==="keydown",setTimeout(()=>{Vd.value&&(Vd.value=!1)},300)},{enableOnFormTags:!0});const I=Kd($=>{var K,Y;const U=tu();if(U.text.trim().length&&((K=U.selection)!=null&&K.containsNode(n.current,!0)))try{const F=U.selection.getRangeAt(0).getBoundingClientRect();let G=0;(Y=c==null?void 0:c.current)!=null&&Y.contains($.target)&&c.current.getBoundingClientRect().width>0&&(G=N$.getState().isSwapPanels?0:c.current.getBoundingClientRect().width),V(F,G)}catch(B){T.value=!1}else T.value=!1},600,{leading:!1}),q=P$($=>{var U;if($.target===(a==null?void 0:a.current)||(U=a.current)!=null&&U.contains($.target))return!1;T.value&&(T.value=!1)},30,{leading:!0});return p.useEffect(()=>{o&&T.value&&(T.value=!1)},[o]),p.useEffect(()=>{var $,U;return($=n==null?void 0:n.current)==null||$.addEventListener("mouseup",I),(U=n==null?void 0:n.current)==null||U.addEventListener("click",q),()=>{var K,Y;(K=n==null?void 0:n.current)==null||K.removeEventListener("mouseup",I),(Y=n==null?void 0:n.current)==null||Y.removeEventListener("click",q)}},[n.current]),s.jsxs("div",{ref:Ji(t,n),className:"flex flex-col items-center relative",children:[e.children,Zs.createPortal(s.jsx(Q,{className:hr(OS["shared-container"],!T.value&&OS.visible),style:R({zIndex:9999},M),children:T.value&&s.jsxs("button",{ref:a,onClick:$=>{$.stopPropagation()},children:[s.jsx(Q,{className:"h-8 text-slate-50 flex items-center justify-center gap-1 px-1.5",children:!b&&!j?s.jsxs(s.Fragment,{children:[ur.value?s.jsx(Cs,{size:18,onClick:()=>{N(tu().text)}}):s.jsx(pa,{size:18,onClick:$=>{!$.altKey&&!$.metaKey?C(tu().text):N(tu().text)}}),s.jsx(Be,{isCompact:!0,side:"right",delayDuration:2e3,sideOffset:10,text:r("Add to clip or menu",{ns:"common"}),children:s.jsx(Fn,{size:18,onClick:()=>{A.value=!0,T.value=!1}})})]}):b?s.jsxs(s.Fragment,{children:[s.jsx($t,{size:16}),s.jsx(J,{className:"text-white text-sm pr-1",children:r("Copied",{ns:"common"})})]}):j&&E===null?s.jsxs(s.Fragment,{children:[s.jsx($t,{size:16}),s.jsx(J,{className:"text-white text-sm pr-1",children:r("Pasted",{ns:"common"})})]}):E!==null&&E>0&&s.jsx(s.Fragment,{children:s.jsx(J,{className:"text-white text-sm px-1",children:r("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:E})})})}),s.jsx(Q,{className:OS.arrow})]})}),document.body),A.value&&s.jsx(P5e,{open:((_=tu().text)==null?void 0:_.length)>0,selectedText:tu().text,onClose:()=>{A.value=!1,tu().text?T.value=!0:T.value=!1},onConfirmClip:$=>{H("/history",{replace:!0}),A.value=!1,Ta.value&&(Ta.value=null),setTimeout(()=>{Rd.value=$,fa.value=zi.CLIP},300)},onConfirmMenu:$=>{H("/menu",{replace:!0}),A.value=!1,setTimeout(()=>{Ld.value=$,ro.value=!0},300)}}),j4.value&&s.jsx(T5e,{open:!0,onClose:()=>{j4.value=!1}}),Ud.value&&s.jsx(RA,{title:r("Confirm {{action}}",{ns:"common",action:Wd.value}),open:!0,onClose:()=>{Ud.value=!1,Wd.value=null,Fi.value=null,eo.value=null},showPasscode:!0,onConfirmSuccess:()=>{Ud.value=!1,Wd.value=null,Fi.value=eo.value},onConfirmFailed:()=>{Ud.value=!1,Wd.value=null,Fi.value=null,eo.value=null}}),co.value&&s.jsx(hSe,{open:!0,showProPayments:fm,onClose:()=>{fm.value||(co.value=!1)}}),Qb.value&&s.jsx(pSe,{open:!0,onClose:()=>{Qb.value=!1}}),Li.value&&s.jsx(RA,{open:!0,showPasscode:!0,isLockScreen:!0,onClose:()=>{Li.value=!1},onConfirmSuccess:()=>{Li.value=!1}}),Hr.value&&s.jsx(VSe,{tourName:Hr.value,onCompleted:$=>{f.includes($)||h([...f,$])},onSkipped:$=>{v.includes($)||m([...v,$])},element:mu.value})]})},KSe=()=>{const{isMacOSX:e,isWindows:t}=ft(Es);return PCe(),s.jsx("div",{className:"flex flex-col bg-slate-100 dark:bg-slate-700 overflow-hidden rounded-b-md mt-[40px]",children:s.jsxs("div",{"data-tauri-drag-region":!0,className:"".concat(e?"h-calc(100vh-40px) p-[14px]":""," ").concat(t?"h-[calc(100vh-50px)] px-[12px] pt-[10px]":""," "),children:[s.jsx(p1e,{children:s.jsx(v_,{})}),s.jsx(n5e,{})]})})},Wk=p.forwardRef(qSe),GSe=Object.freeze(Object.defineProperty({__proto__:null,Component:KSe,MainContainer:Wk},Symbol.toStringTag,{value:"Module"}));function KA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yj(e,t){return Yj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Yj(e,t)}function YSe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Yj(e,t)}var GA=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function ZSe(e,t){return!!(e===t||GA(e)&&GA(t))}function XSe(e,t){if(e.length!==t.length)return!1;for(var r=0;r=t?e.call(null):a.id=requestAnimationFrame(n)}var a={id:requestAnimationFrame(n)};return a}var HS=-1;function XA(e){if(e===void 0&&(e=!1),HS===-1||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),HS=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return HS}var Vh=null;function QA(e){if(e===void 0&&(e=!1),Vh===null||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),a=n.style;return a.width="100px",a.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?Vh="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Vh="negative":Vh="positive-ascending"),document.body.removeChild(t),Vh}return Vh}var e3e=150,t3e=function(t,r){return t};function fV(e){var t,r=e.getItemOffset,n=e.getEstimatedTotalSize,a=e.getItemSize,o=e.getOffsetForIndexAndAlignment,i=e.getStartIndexForOffset,c=e.getStopIndexForStartIndex,u=e.initInstanceProps,f=e.shouldResetStyleCacheOnItemSizeChange,h=e.validateProps;return t=function(m){YSe(v,m);function v(w){var g;return g=m.call(this,w)||this,g._instanceProps=u(g.props,KA(g)),g._outerRef=void 0,g._resetIsScrollingTimeoutId=null,g.state={instance:KA(g),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof g.props.initialScrollOffset=="number"?g.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},g._callOnItemsRendered=void 0,g._callOnItemsRendered=FS(function(b,C,j,E){return g.props.onItemsRendered({overscanStartIndex:b,overscanStopIndex:C,visibleStartIndex:j,visibleStopIndex:E})}),g._callOnScroll=void 0,g._callOnScroll=FS(function(b,C,j){return g.props.onScroll({scrollDirection:b,scrollOffset:C,scrollUpdateWasRequested:j})}),g._getItemStyle=void 0,g._getItemStyle=function(b){var C=g.props,j=C.direction,E=C.itemSize,N=C.layout,T=g._getItemStyleCache(f&&E,f&&N,f&&j),A;if(T.hasOwnProperty(b))A=T[b];else{var M=r(g.props,b,g._instanceProps),D=a(g.props,b,g._instanceProps),L=j==="horizontal"||N==="horizontal",z=j==="rtl",H=L?M:0;T[b]=A={position:"absolute",left:z?void 0:H,right:z?H:void 0,top:L?0:M,height:L?"100%":D,width:L?D:"100%"}}return A},g._getItemStyleCache=void 0,g._getItemStyleCache=FS(function(b,C,j){return{}}),g._onScrollHorizontal=function(b){var C=b.currentTarget,j=C.clientWidth,E=C.scrollLeft,N=C.scrollWidth;g.setState(function(T){if(T.scrollOffset===E)return null;var A=g.props.direction,M=E;if(A==="rtl")switch(QA()){case"negative":M=-E;break;case"positive-descending":M=N-j-E;break}return M=Math.max(0,Math.min(M,N-j)),{isScrolling:!0,scrollDirection:T.scrollOffsetA.clientWidth?XA():0:T=A.scrollHeight>A.clientHeight?XA():0}this.scrollTo(o(this.props,g,b,N,this._instanceProps,T))},S.componentDidMount=function(){var g=this.props,b=g.direction,C=g.initialScrollOffset,j=g.layout;if(typeof C=="number"&&this._outerRef!=null){var E=this._outerRef;b==="horizontal"||j==="horizontal"?E.scrollLeft=C:E.scrollTop=C}this._callPropsCallbacks()},S.componentDidUpdate=function(){var g=this.props,b=g.direction,C=g.layout,j=this.state,E=j.scrollOffset,N=j.scrollUpdateWasRequested;if(N&&this._outerRef!=null){var T=this._outerRef;if(b==="horizontal"||C==="horizontal")if(b==="rtl")switch(QA()){case"negative":T.scrollLeft=-E;break;case"positive-ascending":T.scrollLeft=E;break;default:var A=T.clientWidth,M=T.scrollWidth;T.scrollLeft=M-A-E;break}else T.scrollLeft=E;else T.scrollTop=E}this._callPropsCallbacks()},S.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&ZA(this._resetIsScrollingTimeoutId)},S.render=function(){var g=this.props,b=g.children,C=g.className,j=g.direction,E=g.height,N=g.innerRef,T=g.innerElementType,A=g.innerTagName,M=g.itemCount,D=g.itemData,L=g.itemKey,z=L===void 0?t3e:L,H=g.layout,V=g.outerElementType,I=g.outerTagName,q=g.style,_=g.useIsScrolling,$=g.width,U=this.state.isScrolling,K=j==="horizontal"||H==="horizontal",Y=K?this._onScrollHorizontal:this._onScrollVertical,B=this._getRangeToRender(),F=B[0],G=B[1],X=[];if(M>0)for(var se=F;se<=G;se++)X.push(p.createElement(b,{data:D,key:z(se,D),index:se,isScrolling:_?U:void 0,style:this._getItemStyle(se)}));var re=n(this.props,this._instanceProps);return p.createElement(V||I||"div",{className:C,onScroll:Y,ref:this._outerRefSetter,style:Ue({position:"relative",height:E,width:$,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:j},q)},p.createElement(T||A||"div",{children:X,ref:N,style:{height:K?"100%":re,pointerEvents:U?"none":void 0,width:K?re:"100%"}}))},S._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var g=this.props.itemCount;if(g>0){var b=this._getRangeToRender(),C=b[0],j=b[1],E=b[2],N=b[3];this._callOnItemsRendered(C,j,E,N)}}if(typeof this.props.onScroll=="function"){var T=this.state,A=T.scrollDirection,M=T.scrollOffset,D=T.scrollUpdateWasRequested;this._callOnScroll(A,M,D)}},S._getRangeToRender=function(){var g=this.props,b=g.itemCount,C=g.overscanCount,j=this.state,E=j.isScrolling,N=j.scrollDirection,T=j.scrollOffset;if(b===0)return[0,0,0,0];var A=i(this.props,T,this._instanceProps),M=c(this.props,A,T,this._instanceProps),D=!E||N==="backward"?Math.max(1,C):1,L=!E||N==="forward"?Math.max(1,C):1;return[Math.max(0,A-D),Math.max(0,Math.min(b-1,M+L)),A,M]},v}(p.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var r3e=function(t,r){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,r.instance},n3e=50,Cp=function(t,r,n){var a=t,o=a.itemSize,i=n.itemMetadataMap,c=n.lastMeasuredIndex;if(r>c){var u=0;if(c>=0){var f=i[c];u=f.offset+f.size}for(var h=c+1;h<=r;h++){var m=o(h);i[h]={offset:u,size:m},u+=m}n.lastMeasuredIndex=r}return i[r]},s3e=function(t,r,n){var a=r.itemMetadataMap,o=r.lastMeasuredIndex,i=o>0?a[o].offset:0;return i>=n?hV(t,r,o,0,n):a3e(t,r,Math.max(0,o),n)},hV=function(t,r,n,a,o){for(;a<=n;){var i=a+Math.floor((n-a)/2),c=Cp(t,i,r).offset;if(c===o)return i;co&&(n=i-1)}return a>0?a-1:0},a3e=function(t,r,n,a){for(var o=t.itemCount,i=1;n=n&&(i=n-1),i>=0){var u=a[i];c=u.offset+u.size}var f=n-i-1,h=f*o;return c+h},o3e=fV({getItemOffset:function(t,r,n){return Cp(t,r,n).offset},getItemSize:function(t,r,n){return n.itemMetadataMap[r].size},getEstimatedTotalSize:JA,getOffsetForIndexAndAlignment:function(t,r,n,a,o,i){var c=t.direction,u=t.height,f=t.layout,h=t.width,m=c==="horizontal"||f==="horizontal",v=m?h:u,S=Cp(t,r,o),w=JA(t,o),g=Math.max(0,Math.min(w-v,S.offset)),b=Math.max(0,S.offset-v+S.size+i);switch(n==="smart"&&(a>=b-v&&a<=g+v?n="auto":n="center"),n){case"start":return g;case"end":return b;case"center":return Math.round(b+(g-b)/2);case"auto":default:return a>=b&&a<=g?a:a=C-w&&a<=b+w?n="auto":n="center"),n){case"start":return b;case"end":return C;case"center":{var j=Math.round(C+(b-C)/2);return jg+Math.floor(w/2)?g:j}case"auto":default:return a>=C&&a<=b?a:ar||a0;){var S=i[0]-1;if(!t(S))i[0]=S;else break}return i}var c3e=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},u3e=function(){function e(t,r){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],n&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var n=this.props.children;return n({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(n,a){var o=this.props,i=o.isItemLoaded,c=o.itemCount,u=o.minimumBatchSize,f=u===void 0?10:u,h=o.threshold,m=h===void 0?15:h,v=l3e({isItemLoaded:i,itemCount:c,minimumBatchSize:f,startIndex:Math.max(0,n-m),stopIndex:Math.min(c-1,a+m)});(this._memoizedUnloadedRanges.length!==v.length||this._memoizedUnloadedRanges.some(function(S,w){return v[w]!==S}))&&(this._memoizedUnloadedRanges=v,this._loadUnloadedRanges(v))}},{key:"_loadUnloadedRanges",value:function(n){for(var a=this,o=this.props.loadMoreItems||this.props.loadMoreRows,i=function(f){var h=n[f],m=n[f+1],v=o(h,m);v!=null&&v.then(function(){if(i3e({lastRenderedStartIndex:a._lastRenderedStartIndex,lastRenderedStopIndex:a._lastRenderedStopIndex,startIndex:h,stopIndex:m})){if(a._listRef==null)return;typeof a._listRef.resetAfterIndex=="function"?a._listRef.resetAfterIndex(h,!0):(typeof a._listRef._getItemStyleCache=="function"&&a._listRef._getItemStyleCache(-1),a._listRef.forceUpdate())}})},c=0;c to ensure consistent ids are generated between the client and server.");let r=x3e(!!e),n="react-aria".concat(t.prefix);return e||"".concat(n,"-").concat(r)}function b3e(e){let t=jt.useId(),[r]=p.useState(j3e()),n=r?"react-aria":"react-aria".concat(J2.prefix);return e||"".concat(n,"-").concat(t)}const w3e=typeof jt.useId=="function"?b3e:y3e;function k3e(){return!1}function C3e(){return!0}function S3e(e){return()=>{}}function j3e(){return typeof jt.useSyncExternalStore=="function"?jt.useSyncExternalStore(S3e,k3e,C3e):p.useContext(g3e)}const E3e=typeof document!="undefined"?jt.useLayoutEffect:()=>{};let N3e=!!(typeof window!="undefined"&&window.document&&window.document.createElement),rR=new Map;function _3e(e){let[t,r]=p.useState(e),n=p.useRef(null),a=w3e(t),o=p.useCallback(i=>{n.current=i},[]);return N3e&&rR.set(a,o),E3e(()=>{let i=a;return()=>{rR.delete(i)}},[a]),p.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),a}const T3e=new Set(["id"]),P3e=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),M3e=new Set(["href","target","rel","download","ping","referrerPolicy"]),D3e=/^(data-.*)$/;function T_(e,t={}){let{labelable:r,isLink:n,propNames:a}=t,o={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(T3e.has(i)||r&&P3e.has(i)||n&&M3e.has(i)||a!=null&&a.has(i)||D3e.test(i))&&(o[i]=e[i]);return o}let ug=new Map,nR=new Set;function sR(){if(typeof window=="undefined")return;let e=r=>{let n=ug.get(r.target);n||(n=new Set,ug.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=ug.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),ug.delete(r.target)),ug.size===0)){for(let a of nR)a();nR.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document!="undefined"&&(document.readyState!=="loading"?sR():document.addEventListener("DOMContentLoaded",sR));function A3e(e,t){const r=p.useRef(!0),n=p.useRef(null);p.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]),p.useEffect(()=>{r.current?r.current=!1:(!n.current||t.some((a,o)=>!Object.is(a,n[o])))&&e(),n.current=t},t)}const gV=p.createContext({activity:void 0,id:"",isCollapsed:void 0}),R3e=gV.Provider;function P_(){return p.useContext(gV)}let Zj=null,Qd=null;function L3e(e,t){switch(e){case"horizontal":return"ew-resize";case"horizontal-max":return t?"e-resize":"w-resize";case"horizontal-min":return t?"w-resize":"e-resize"}}function I3e(){Qd!==null&&(document.head.removeChild(Qd),Zj=null,Qd=null)}function O3e(e,t){if(Zj===e)return;Zj=e;const r=L3e(e,t);Qd===null&&(Qd=document.createElement("style"),document.head.appendChild(Qd)),Qd.innerHTML="*{cursor: ".concat(r,"!important;}")}const $3e="_PanelGroupWrapper_13ky4_1",z3e="_PanelGroup_13ky4_1",F3e="_Panel_13ky4_1",H3e="_PanelColumn_13ky4_15",B3e="_PanelRow_13ky4_16",U3e="_Centered_13ky4_26",W3e="_ResizeHandle_13ky4_39",V3e="_Overflow_13ky4_42",q3e="_Button_13ky4_53",K3e="_ButtonDisabled_13ky4_54",G3e="_Buttons_13ky4_68",Y3e="_Capitalize_13ky4_76",Z3e="_WarningBlock_13ky4_80",X3e="_InlineCode_13ky4_87",Q3e="_ResizeHandleOuter_13ky4_91",J3e="_ResizeHandleInner_13ky4_104",e4e="_HorizontalIcon_13ky4_135",t4e="_VerticalIcon_13ky4_136",r4e={PanelGroupWrapper:$3e,PanelGroup:z3e,Panel:F3e,PanelColumn:H3e,PanelRow:B3e,Centered:U3e,ResizeHandle:W3e,Overflow:V3e,Button:q3e,ButtonDisabled:K3e,Buttons:G3e,Capitalize:Y3e,WarningBlock:Z3e,InlineCode:X3e,ResizeHandleOuter:Q3e,ResizeHandleInner:J3e,HorizontalIcon:e4e,VerticalIcon:t4e};function aR(e){try{if(typeof localStorage!="undefined")e.getItem=t=>localStorage.getItem(t),e.setItem=(t,r)=>{localStorage.setItem(t,r)};else throw new Error("localStorage not supported in this environment")}catch(t){console.error(t),e.getItem=()=>null,e.setItem=()=>{}}}const Sg={getItem:e=>(aR(Sg),Sg.getItem(e)),setItem:(e,t)=>{aR(Sg),Sg.setItem(e,t)}};function n4e(e){if(e.sheet)return e.sheet;for(var t=0;t0?Ys(n0,--go):0,Em--,is===10&&(Em=1,qk--),is}function Io(){return is=go2||Kv(is)>3?"":" "}function g4e(e,t){for(;--t&&Io()&&!(is<48||is>102||is>57&&is<65||is>70&&is<97););return q1(e,cb()+(t<6&&Dl()==32&&Io()==32))}function Qj(e){for(;Io();)switch(is){case e:return go;case 34:case 39:e!==34&&e!==39&&Qj(is);break;case 40:e===41&&Qj(e);break;case 92:Io();break}return go}function v4e(e,t){for(;Io()&&e+is!==57;)if(e+is===84&&Dl()===47)break;return"/*"+q1(t,go-1)+"*"+Vk(e===47?e:Io())}function x4e(e){for(;!Kv(Dl());)Io();return q1(e,go)}function y4e(e){return kV(db("",null,null,null,[""],e=wV(e),0,[0],e))}function db(e,t,r,n,a,o,i,c,u){for(var f=0,h=0,m=i,v=0,S=0,w=0,g=1,b=1,C=1,j=0,E="",N=a,T=o,A=n,M=E;b;)switch(w=j,j=Io()){case 40:if(w!=108&&Ys(M,m-1)==58){Xj(M+=rn(ub(j),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:M+=ub(j);break;case 9:case 10:case 13:case 32:M+=m4e(w);break;case 92:M+=g4e(cb()-1,7);continue;case 47:switch(Dl()){case 42:case 47:Ay(b4e(v4e(Io(),cb()),t,r),u);break;default:M+="/"}break;case 123*g:c[f++]=xl(M)*C;case 125*g:case 59:case 0:switch(j){case 0:case 125:b=0;case 59+h:C==-1&&(M=rn(M,/\f/g,"")),S>0&&xl(M)-m&&Ay(S>32?iR(M+";",n,r,m-1):iR(rn(M," ","")+";",n,r,m-2),u);break;case 59:M+=";";default:if(Ay(A=oR(M,t,r,f,h,a,c,E,N=[],T=[],m),o),j===123)if(h===0)db(M,t,A,A,N,o,m,c,T);else switch(v===99&&Ys(M,3)===110?100:v){case 100:case 108:case 109:case 115:db(e,A,A,n&&Ay(oR(e,A,A,0,0,a,c,E,a,N=[],m),T),a,T,m,c,n?N:T);break;default:db(M,A,A,A,[""],T,0,c,T)}}f=h=S=0,g=C=1,E=M="",m=i;break;case 58:m=1+xl(M),S=w;default:if(g<1){if(j==123)--g;else if(j==125&&g++==0&&p4e()==125)continue}switch(M+=Vk(j),j*g){case 38:C=h>0?1:(M+="\f",-1);break;case 44:c[f++]=(xl(M)-1)*C,C=1;break;case 64:Dl()===45&&(M+=ub(Io())),v=Dl(),h=m=xl(E=M+=x4e(cb())),j++;break;case 45:w===45&&xl(M)==2&&(g=0)}}return o}function oR(e,t,r,n,a,o,i,c,u,f,h){for(var m=a-1,v=a===0?o:[""],S=A_(v),w=0,g=0,b=0;w0?v[C]+" "+j:rn(j,/&\f/g,v[C])))&&(u[b++]=E);return Kk(e,t,r,a===0?M_:c,u,f,h)}function b4e(e,t,r){return Kk(e,t,r,vV,Vk(h4e()),qv(e,2,-2),0)}function iR(e,t,r,n){return Kk(e,t,r,D_,qv(e,0,n),qv(e,n+1,-1),n)}function zp(e,t){for(var r="",n=A_(e),a=0;a6)switch(Ys(e,t+1)){case 109:if(Ys(e,t+4)!==45)break;case 102:return rn(e,/(.+:)(.+)-([^]+)/,"$1"+tn+"$2-$3$1"+ew+(Ys(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Xj(e,"stretch")?CV(rn(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ys(e,t+1)!==115)break;case 6444:switch(Ys(e,xl(e)-3-(~Xj(e,"!important")&&10))){case 107:return rn(e,":",":"+tn)+e;case 101:return rn(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+tn+(Ys(e,14)===45?"inline-":"")+"box$3$1"+tn+"$2$3$1"+ua+"$2box$3")+e}break;case 5936:switch(Ys(e,t+11)){case 114:return tn+e+ua+rn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return tn+e+ua+rn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return tn+e+ua+rn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return tn+e+ua+e+e}return e}var P4e=function(t,r,n,a){if(t.length>-1&&!t.return)switch(t.type){case D_:t.return=CV(t.value,t.length);break;case xV:return zp([dg(t,{value:rn(t.value,"@","@"+tn)})],a);case M_:if(t.length)return f4e(t.props,function(o){switch(d4e(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return zp([dg(t,{props:[rn(o,/:(read-\w+)/,":"+ew+"$1")]})],a);case"::placeholder":return zp([dg(t,{props:[rn(o,/:(plac\w+)/,":"+tn+"input-$1")]}),dg(t,{props:[rn(o,/:(plac\w+)/,":"+ew+"$1")]}),dg(t,{props:[rn(o,/:(plac\w+)/,ua+"input-$1")]})],a)}return""})}},M4e=[P4e],D4e=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(g){var b=g.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var a=t.stylisPlugins||M4e,o={},i,c=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(g){for(var b=g.getAttribute("data-emotion").split(" "),C=1;C=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var R4e={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},L4e=/[A-Z]|^ms/g,I4e=/_EMO_([^_]+?)_([^]*?)_EMO_/g,SV=function(t){return t.charCodeAt(1)===45},cR=function(t){return t!=null&&typeof t!="boolean"},US=S4e(function(e){return SV(e)?e:e.replace(L4e,"-$&").toLowerCase()}),uR=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(I4e,function(n,a,o){return yl={name:a,styles:o,next:yl},a})}return R4e[t]!==1&&!SV(t)&&typeof r=="number"&&r!==0?r+"px":r};function Gv(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return yl={name:r.name,styles:r.styles,next:yl},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)yl={name:n.name,styles:n.styles,next:yl},n=n.next;var a=r.styles+";";return a}return O4e(e,t,r)}case"function":{if(e!==void 0){var o=yl,i=r(e);return yl=o,Gv(e,t,i)}break}}if(t==null)return r;var c=t[r];return c!==void 0?c:r}function O4e(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a1&&arguments[1]!==void 0?arguments[1]:{},r=t.literal,n=t.overlap,a=r?e:["&"].concat(e);function o(i){if(typeof i!="object"||i==null)return[];if(Array.isArray(i))return i.map(o);var c={},u={},f={};return Object.keys(i).forEach(function(h){var m=i[h];if(!Array.isArray(m)&&r&&(m=[m]),(r||Array.isArray(m))&&h.charCodeAt(0)!==38){var v=void 0;m.forEach(function(S,w){if(!(n&&v===S)&&S!=null)if(v=S,w===0&&!r)f[h]=S;else if(c[a[w]]===void 0){var g;c[a[w]]=(g={},g[h]=S,g)}else c[a[w]][h]=S})}else typeof m=="object"?u[h]=o(m):f[h]=m}),a.forEach(function(h){c[h]&&(f[h]=c[h])}),Object.assign(f,u),f}return function(){for(var i=arguments.length,c=Array(i),u=0;utw(c,t)).join(", "):"".concat(e," ").concat(i," ").concat(o)+(r?" ".concat(gR(r)):"")}function gR(e){return U4e(e)?"".concat(e,"ms"):Ja.animation.duration[e]}const K4e="ksv",vR=G4e("reset");function G4e(e){return"".concat(K4e,":").concat(e)}function Gk(...e){let t=pR(e);return t.includes(vR)?t:pR(vR,t)}const ac={mobile:0,tablet:740,desktop:992,wide:1200},fb=e=>"@media (min-width: ".concat(e,"px)"),VS=e=>"@media (max-width: ".concat(e-1,"px)"),xR={above:{mobile:fb(ac.tablet),tablet:fb(ac.desktop),desktop:fb(ac.wide)},below:{tablet:VS(ac.tablet),desktop:VS(ac.desktop),wide:VS(ac.wide)}},yR=V4e(ac),GT=ac,{mobile:F_e}=GT,Y4e=ke(GT,["mobile"]),Z4e=Object.values(Y4e).map(fb),X4e=q4e(Z4e);function Q4e(e,t){return t==null?null:typeof t=="object"&&!Array.isArray(t)?J4e(e,t):e(t)}function J4e(e,t){const r=[];for(let n=0;nt-e);tje.map(([,e])=>"(min-width: ".concat(e,"px)"));function rje(e,t){for(const r of t.split(".")){if(typeof e!="object"||e===null||!Object.prototype.hasOwnProperty.call(e,r))return;e=e[r]}return e}function rw(e,t){var r;return typeof t!="string"?t:(e=t.includes(".")?t:"".concat(e,".").concat(t),(r=rje(Ja,e))!==null&&r!==void 0?r:t)}function Co(e,t){return[e,n=>rw(t,n)]}const nje=e=>e;function Cn(e,t=nje){return[e,t]}function fg(e){return[e,r=>{const n=rw("color.border",r);return"".concat(Ja.size.border.regular," solid ").concat(n)}]}function sje(e){let[t,r]=e.split(".");return!t||!r?!1:!!Ja.size[t][r]}function aje(e){if(typeof e=="number"){if(e===0)return"".concat(e,"px");mR(e)}if(sje(e)){let[t,r]=e.split(".");return Ja.size[t][r]}if(e==="auto"||e==="inherit"||e==="100%"||e==="100vh"||e==="100vw")return e;mR(e)}function Nd(e){return[e,aje]}function Qn(e){return Co(e,"size.space")}function Wl(e){return Co(e,"size.radius")}const oje={backgroundColor:Co("backgroundColor","color.background"),boxShadow:["boxShadow",ije],height:Nd("height"),maxHeight:Nd("maxHeight"),minHeight:Nd("minHeight"),maxWidth:Nd("maxWidth"),minWidth:Nd("minWidth"),width:Nd("width"),margin:Qn("margin"),marginStart:Qn("marginInlineStart"),marginEnd:Qn("marginInlineEnd"),marginTop:Qn("marginBlockStart"),marginBottom:Qn("marginBlockEnd"),marginX:Qn("marginInline"),marginY:Qn("marginBlock"),padding:Qn("padding"),paddingStart:Qn("paddingInlineStart"),paddingEnd:Qn("paddingInlineEnd"),paddingTop:Qn("paddingBlockStart"),paddingBottom:Qn("paddingBlockEnd"),paddingX:Qn("paddingInline"),paddingY:Qn("paddingBlock"),border:fg("border"),borderStart:fg("borderInlineStart"),borderEnd:fg("borderInlineEnd"),borderTop:fg("borderTop"),borderBottom:fg("borderBottom"),borderColor:Co("borderColor","color.border"),borderStartColor:Co("borderInlineStartColor","color.border"),borderEndColor:Co("borderInlineEndColor","color.border"),borderTopColor:Co("borderTopColor","color.border"),borderBottomColor:Co("borderBottomColor","color.border"),borderStyle:Cn("borderStyle"),borderStartStyle:Cn("borderInlineStartStyle"),borderEndStyle:Cn("borderInlineEndStyle"),borderTopStyle:Cn("borderTopStyle"),borderBottomStyle:Cn("borderBottomStyle"),borderWidth:Co("borderWidth","size.border"),borderStartWidth:Co("borderInlineStartWidth","size.border"),borderEndWidth:Co("borderInlineEndWidth","size.border"),borderTopWidth:Co("borderTopWidth","size.border"),borderBottomWidth:Co("borderBottomWidth","size.border"),borderRadius:Wl("borderRadius"),borderTopStartRadius:Wl("borderStartStartRadius"),borderTopEndRadius:Wl("borderStartEndRadius"),borderBottomStartRadius:Wl("borderEndStartRadius"),borderBottomEndRadius:Wl("borderEndEndRadius"),borderTopRadius:Wl(["borderStartStartRadius","borderStartEndRadius"]),borderBottomRadius:Wl(["borderEndStartRadius","borderEndEndRadius"]),borderStartRadius:Wl(["borderStartStartRadius","borderEndStartRadius"]),borderEndRadius:Wl(["borderEndEndRadius","borderStartEndRadius"]),inset:Qn("inset"),insetBottom:Qn("insetBlockEnd"),insetEnd:Qn("insetInlineEnd"),insetStart:Qn("insetInlineStart"),insetTop:Qn("insetBlockStart"),insetX:Qn("insetInline"),insetY:Qn("insetBlock"),position:Cn("position"),zIndex:Cn("zIndex"),order:Cn("order"),alignSelf:Cn("alignSelf"),flex:Cn("flex",qS),flexBasis:Nd("flexBasis"),flexGrow:Cn("flexGrow",qS),flexShrink:Cn("flexShrink",qS),justifySelf:Cn("justifySelf"),gridArea:Cn("gridArea"),gridColumn:Cn("gridColumn"),gridColumnEnd:Cn("gridColumnEnd"),gridColumnStart:Cn("gridColumnStart"),gridRow:Cn("gridRow"),gridRowEnd:Cn("gridRowEnd"),gridRowStart:Cn("gridRowStart"),cursor:Cn("cursor"),opacity:Cn("opacity"),pointerEvents:Cn("pointerEvents"),overflow:Cn("overflow"),userSelect:Cn("userSelect")};function qS(e){return typeof e=="boolean"?e?"1":void 0:""+e}function ije(e){const t={small:"muted",medium:"regular",large:"emphasis"},[r,n]=e.split(" "),a=rw("color.shadow",n!=null?n:t[r]),o=rw("size.shadow",r);return"".concat(o," ").concat(a)}function lje(e,t){let r={};for(let n in e){let a=t[n];if(!a||e[n]==null)continue;let[o,i]=a,c=Q4e(i,e[n]);if(Array.isArray(o))for(let u of o)r[u]=c;else r[o]=c}return r}function R_(e,t={}){let r=R(R({},oje),t),h=e,{isHidden:n,UNSAFE_className:a,UNSAFE_style:o}=h,i=ke(h,["isHidden","UNSAFE_className","UNSAFE_style"]),c=lje(e,r),u=X4e(c);i.className,i.style;let f=[];if(n)if(n===!0)f.push({display:"none"});else{const m={};"above"in n&&(m[xR.above[n.above]]={display:"none"}),"below"in n&&(m[xR.below[n.below]]={display:"none"}),f.push(m)}return{className:Gk(Nm(u),a,Nm(f)),style:o}}function bR(e){return dje(e)?e.clientX:fje(e)?e.touches[0].clientX:0}function cje(e,t,r){return Math.round((e-t)/(r-t)*100)}function L_(e){return"primary-pane-".concat(e)}function NV(e){return"secondary-pane-".concat(e)}function _V(e){return"resize-handle-".concat(e)}function wR(e){return document.getElementById(L_(e))}function uje(e){return document.getElementById(NV(e))}function kR(e){return document.getElementById(_V(e))}function qh(e){return"".concat(e,"px")}function dje(e){return e.type.startsWith("mouse")}function fje(e){return e.type.startsWith("touch")}const TV="--primary-pane-max-width",hje="var(".concat(TV,")"),PV="--primary-pane-min-width",pje="var(".concat(PV,")"),hb="--primary-pane-width",mje="var(".concat(hb,")"),gje=32,vje=10,xje={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},yje=p.forwardRef(function(t,r){const{activity:n,id:a,isCollapsed:o}=P_();return s.jsx("div",ee(R({},t),{ref:r,"aria-controls":L_(a),"aria-label":"Resize","aria-orientation":"vertical",id:_V(a),role:"separator",tabIndex:0,"data-split-view-resize-handle":!0,"data-split-view-activity":n,"data-split-view-collapsed":o||void 0,className:"animate-in panel-resize_tour ".concat(Nm({backgroundColor:'var("--tw-red-500")',boxSizing:"border-box",cursor:"ew-resize",flexShrink:0,opacity:0,outline:0,position:"relative",touchAction:"none",animationDuration:"0.3s",transition:tw("opacity"),userSelect:"none",width:18,zIndex:1,"&[data-split-view-collapsed]:not([data-split-view-activity])":xje,"&::before":{content:'""',position:"absolute",inset:"calc(".concat(Ja.size.space.small," * -1)")},"&::after":{backgroundColor:Ja.color.alias.backgroundHovered,content:'""',insetBlock:0,insetInline:"calc(".concat(Ja.size.border.medium," * -1)"),opacity:0,position:"absolute",transition:tw("opacity")},"&:hover":{opacity:1,backgroundColor:Ja.color.border.neutral,transitionDelay:Ja.animation.duration.regular,"&::after":{opacity:1,transitionDelay:Ja.animation.duration.regular}},"&[data-split-view-activity]::after":{backgroundColor:Ja.color.background.accentEmphasis,insetInline:"calc(".concat(Ja.size.border.regular," * -1)"),opacity:1}})),children:s.jsx(wz,{className:"".concat(r4e.HorizontalIcon," text-slate-300 dark:text-slate-500"),type:"resize-horizontal",width:"16px"})}))});function I_(e){const{autoSaveId:t,children:r,defaultSize:n,isCollapsed:a,minSize:o,maxSize:i,onCollapseChange:c,onResize:u,swapPanes:f,reversed:h,storage:m=Sg}=e,[v,S]=f?[r[1],r[0]]:r,w=_3e(e.id),g=R_(e),[b,C]=p.useState(h),[j,E]=p.useState(!1),[N,T]=p.useState(!1),[A,M]=p.useState(()=>{let H=n;if(t){const V=m.getItem(t);V&&(H=Number.parseInt(V))}return H}),D=p.useRef(null),L=p.useRef(0),z=p.useRef(0);return p.useEffect(()=>{const H=kR(w),V=wR(w),I=uje(w);C(h?(H==null?void 0:H.previousElementSibling)===V:(H==null?void 0:H.previousElementSibling)===I)},[h,w]),A3e(()=>u==null?void 0:u(A),[A]),p.useEffect(()=>{var H;(H=D.current)==null||H.style.setProperty(hb,qh(A)),z.current=A,t&&m.setItem(t,qh(A))},[t,u,A,m]),p.useEffect(()=>{const H=D.current,V=kR(w),I=wR(w);if(!H||!V||!I)return;let q=!1;const _=typeof a=="boolean",$=G=>{G.preventDefault();let X=bR(G)-L.current;b&&(X=X*-1);let se=A+X;Math.abs(se-n)i&&(re="horizontal-max"),O3e(re,!!b)},U=()=>{V.blur(),E(!1),I3e(),q?(c==null||c(!a),I.style.removeProperty("width")):M(m3e(z.current,o,i)),q=!1,document.body.removeEventListener("mousemove",$),document.body.removeEventListener("touchmove",$),window.removeEventListener("mouseup",U),window.removeEventListener("touchend",U)},K=G=>{"button"in G&&G.button!==0||"touches"in G&&G.touches.length!==1||(E(!0),L.current=bR(G),document.body.addEventListener("mousemove",$),document.body.addEventListener("touchmove",$),window.addEventListener("mouseup",U),window.addEventListener("touchend",U))},Y=G=>{if(G.defaultPrevented)return;const X=Math.round((i-o)/vje),se=()=>M(ie=>Math.min(ie+X,i)),re=()=>M(ie=>Math.max(ie-X,o));switch(G.key){case"Enter":_&&(G.preventDefault(),c==null||c(!a));break;case"Home":G.preventDefault(),M(o);break;case"End":G.preventDefault(),M(i);break;case"ArrowLeft":G.preventDefault(),b?se():re();break;case"ArrowRight":G.preventDefault(),b?re():se()}},B={passive:!0},F=G=>{G.clientX===L.current&&M(n)};return V.addEventListener("contextmenu",U),V.addEventListener("dblclick",F),V.addEventListener("keydown",Y),V.addEventListener("mousedown",K,B),V.addEventListener("touchstart",K,B),()=>{V.removeEventListener("contextmenu",U),V.removeEventListener("dblclick",F),V.removeEventListener("keydown",Y),V.removeEventListener("mousedown",K),V.removeEventListener("touchstart",K)}},[i,o,n,w,b,A,c,a,f]),s.jsx(R3e,{value:{id:w,isCollapsed:a,activity:j?"pointer":N?"keyboard":void 0},children:s.jsxs("div",ee(R(R({},g),T_(e)),{ref:D,className:Gk(Nm({display:"flex",height:"100%",width:"100%",overflow:"hidden",[PV]:qh(o),[TV]:qh(i),[hb]:qh(n)}),g.className),children:[v,s.jsx(yje,{"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":cje(A,o,i),onBlur:()=>T(!1),onFocus:()=>T(!0)}),S]}))})}const O_=p.forwardRef(function(t,r){const{activity:n,id:a,isCollapsed:o}=P_(),i=R_(t);return s.jsx("div",ee(R(R({},i),T_(t)),{ref:r,id:L_(a),"data-split-pane":"primary","data-split-view-activity":n,"data-split-view-collapsed":o||void 0,className:Gk(Nm({containerType:"inline-size",overflow:"hidden",width:"clamp(".concat(pje,",").concat(mje,",").concat(hje,")"),maxWidth:"calc(100% - 100px)","&[data-split-view-collapsed]":{visibility:"hidden",width:0},"&:not([data-split-view-activity])":{transition:tw("width")},"&[data-split-view-activity=pointer]":{pointerEvents:"none"}}),i.className),children:t.children}))}),$_=p.forwardRef(function(t,r){const{id:n,activity:a}=P_(),o=R_(t);return s.jsx("div",ee(R(R({},o),T_(t)),{ref:r,id:NV(n),"data-split-pane":"secondary","data-split-view-activity":a,className:Gk(Nm({containerType:"inline-size",flex:"1 1 0",minWidth:"100px",overflow:"hidden","&[data-split-view-activity=pointer]":{pointerEvents:"none"}}),o.className),children:t.children}))});function bje({id:e}){const{setNodeRef:t,isOver:r}=Aw({id:e});return s.jsxs("div",{ref:t,className:"flex flex-row items-center justify-center py-1.5 px-3 border-2 border-dashed rounded-md w-[260px] ".concat(r?"border-red-600":"border-slate-300 dark:border-slate-600"),children:[s.jsx(J,{children:" "}),s.jsx(xn,{size:15,className:"text-red-400 dark:text-red-700"}),s.jsx(J,{children:" "})]})}function MV({historyId:e,value:t,arrLinks:r,isImage:n,isText:a,isImageData:o,isLargeView:i,isMasked:c,isPinned:u,isFavorite:f,detectedLanguage:h,invalidateClipboardHistoryQuery:m=()=>{},generateLinkMetaData:v=()=>Promise.resolve(),removeLinkMetaData:S=()=>Promise.resolve(),isSelected:w,hasLinkCard:g,setSavingItem:b,setLargeViewItemId:C,setSelectHistoryItem:j,onCopyPaste:E}){const{t:N}=At(),T=gr(),{copyPasteDelay:A,setCopyPasteDelay:M,historyDetectLanguagesEnabledList:D}=ft(pn),{deleteClipboardHistoryItem:L}=ft(hi),{updateClipboardHistoryById:z}=Xke(),{deleteClipboardHistoryByIds:H}=b_(),{pinnedClipboardHistoryByIds:V}=SW(),I=sa(),q=_=>{lo(N("Errors:::Something went wrong! {{err}} Please try again.",{ns:"common",err:_}),"Error")};return e==null?null:s.jsx(D1,{children:s.jsxs(Zm,{className:"w-[190px]",children:[s.jsx(St,{onClick:()=>{j(e)},children:w?s.jsxs(s.Fragment,{children:[N("Deselect",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Pce,{size:15})})]}):s.jsxs(s.Fragment,{children:[N("Select",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(_z,{size:15})})]})}),s.jsxs(St,{onClick:()=>{E(e)},children:[N("Copy & Paste",{ns:"contextMenus"}),s.jsxs(me,{className:"ml-auto",children:[s.jsx(me,{className:"text-gray-800 relative",children:s.jsx(Q,{className:"py-0 px-2 font-normal pr-2",children:s.jsx(J,{className:"text-xs text-gray-400/80",children:A>0?"delay ".concat(A,"s"):"no delay"})})}),s.jsx(Cs,{size:15})]})]}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[N("Paste Delay",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsx($i,{checked:A===1,onSelect:()=>{M(1),E(e,1)},children:s.jsxs(J,{children:["1 ",N("second",{ns:"common"})]})}),s.jsx($i,{checked:A===2,onSelect:()=>{M(2),E(e,2)},children:s.jsxs(J,{children:["2 ",N("seconds",{ns:"common"})]})}),s.jsx($i,{checked:A===3,onSelect:()=>{M(3),E(e,3)},children:s.jsxs(J,{children:["3 ",N("seconds",{ns:"common"})]})}),s.jsx($i,{checked:A===4,onSelect:()=>{M(4),E(e,4)},children:s.jsxs(J,{children:["4 ",N("seconds",{ns:"common"})]})}),s.jsx($i,{checked:A===5,onSelect:()=>{M(5),E(e,5)},children:s.jsxs(J,{children:["5 ",N("seconds",{ns:"common"})]})})]})]}),s.jsx(zr,{}),s.jsxs(St,{onClick:()=>{C(i?null:e)},children:[i?N("Close",{ns:"contextMenus"}):N("View",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:i?s.jsx(z6,{size:15}):s.jsx(b1,{size:15})})]}),s.jsx(zr,{}),(r==null?void 0:r.length)>0&&s.jsxs(s.Fragment,{children:[r[0]===t&&!n&&!g&&s.jsxs(St,{onClick:()=>pe(this,null,function*(){yield v(e,_n(r[0])),m()}),children:[N("Add Link Card",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Mv,{size:15})})]}),g&&s.jsxs(St,{onClick:()=>pe(this,null,function*(){yield S(e),m()}),children:[N("Remove Link Card",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Mv,{size:15})})]})]}),s.jsxs(St,{onClick:()=>pe(this,null,function*(){yield V({historyIds:[e],isPinned:!u}),yield T.invalidateQueries({queryKey:["find_clipboard_histories_by_value_or_filters"]})}),children:[u?N("UnPin",{ns:"contextMenus"}):N("Pin",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:u?s.jsx(Vu,{size:15}):s.jsx(kc,{size:15})})]}),s.jsxs(St,{onClick:()=>pe(this,null,function*(){yield z({historyId:e,updatedData:{isFavorite:!f,historyId:e}}),yield T.invalidateQueries({queryKey:["find_clipboard_histories_by_value_or_filters"]})}),children:[f?N("Remove Star",{ns:"contextMenus"}):N("Star",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:f?s.jsx(Hw,{size:15}):s.jsx(Yf,{size:15})})]}),s.jsx(zr,{}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[N("Add to",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{className:"w-28",children:[s.jsxs(St,{onClick:()=>{fa.value=zi.CLIP,dm.value=[e]},children:[N("AddTo:::Clip on Board",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(O6,{size:15})})]}),s.jsxs(St,{onClick:()=>{I("/menu",{replace:!0}),setTimeout(()=>{xu.value=e.toString(),ro.value=!0},300)},children:[N("AddTo:::Paste Menu",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(F6,{size:15})})]})]})]}),s.jsx(zr,{}),(r==null?void 0:r.length)>0&&!h||a&&s.jsxs(s.Fragment,{children:[s.jsxs(St,{onClick:()=>{z({historyId:e,updatedData:{isMasked:!c,historyId:e}})},children:[c?N("Unmask Secret",{ns:"contextMenus"}):N("Mask Secret",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Nz,{size:15})})]}),s.jsx(zr,{})]}),h&&s.jsxs(s.Fragment,{children:[s.jsxs(In,{children:[s.jsxs(Mn,{children:[N("Detected Language",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[D.map(_=>s.jsx($i,{checked:h===_,onSelect:()=>{z({historyId:e,updatedData:{detectedLanguage:_,isCode:!0,historyId:e}})},children:s.jsx(J,{children:_})},_)),s.jsx(zr,{}),s.jsxs(St,{onSelect:()=>{z({historyId:e,updatedData:{isCode:!1,isText:!0,historyId:e}})},children:[s.jsx(voe,{size:16,className:"mr-2"}),s.jsx(J,{children:N("not a code",{ns:"contextMenus"})})]})]})]}),s.jsx(zr,{})]}),(n||o)&&s.jsxs(St,{onClick:()=>{Sr("save_to_file_history_item",{historyId:e,asImage:!0}).then(_=>{_==="saved"?(b(e),setTimeout(()=>{b(null)},1600)):_!=="cancel"&&(q(N("Errors:::Cant save image file",{ns:"common"})),console.error(N("Errors:::Failed to save image file",{ns:"common"}),_))}).catch(()=>{q(N("Errors:::Cant save image file",{ns:"common"}))})},children:[N("Save as Image File",{ns:"contextMenus"})," ...",s.jsx("div",{className:"ml-auto",children:s.jsx(Df,{size:15})})]}),!(n&&!(r!=null&&r.length))&&s.jsxs(St,{onClick:()=>{Sr("save_to_file_history_item",{historyId:e}).then(_=>{_==="saved"?(b(e),setTimeout(()=>{b(null)},1600)):_!=="cancel"&&q(N("Errors:::Cant save to file",{ns:"common"}))}).catch(()=>{q(N("Errors:::Cant save to file",{ns:"common"}))})},children:[N("Save as Text File",{ns:"contextMenus"}),"...",s.jsx("div",{className:"ml-auto",children:s.jsx(Df,{size:15})})]}),s.jsx(zr,{}),s.jsxs(St,{className:iu.value===e?"!bg-red-100 dark:!bg-red-950":"",onClick:_=>pe(this,null,function*(){_.preventDefault(),iu.value===e?(yield H({historyIds:[e]}),L(e),iu.value=null):(_.preventDefault(),iu.value=e,setTimeout(()=>{iu.value=null},3e3))}),children:[s.jsx(me,{children:s.jsx(J,{className:"!text-red-500 dark:!text-red-600",children:iu.value!==e?N("Delete",{ns:"common"}):N("Click to Confirm",{ns:"common"})})}),s.jsx("div",{className:"ml-auto",children:s.jsx(xn,{className:"h-4 w-4 text-red-500 dark:!text-red-600"})})]})]})})}function wje({index:e,style:t,clipboard:r,isDark:n,searchTerm:a,isPinnedTop:o=!1,isPinnedTopFirst:i=!1,isDisabledPinnedMoveUp:c=!1,isDisabledPinnedMoveDown:u=!1,isExpanded:f=!1,isSelected:h=!1,isWrapText:m=!1,isDeleting:v=!1,isOverPinned:S=!1,isLinkCardPreviewEnabled:w=!0,selectedItemsCount:g=0,timeAgo:b=null,showTimeAgo:C=!1,showSelectHistoryItems:j,isCopied:E,isPasted:N,isSaved:T,isLargeView:A=!1,largeViewItemId:M,setSavingItem:D=()=>{},setLargeViewItemId:L=()=>{},pastingCountDown:z,onCopyPaste:H=()=>{},onCopy:V=()=>{},invalidateClipboardHistoryQuery:I=()=>{},generateLinkMetaData:q,removeLinkMetaData:_=()=>Promise.resolve(),isBrokenImage:$=!1,setExpanded:U=()=>{},onMovePinnedUpDown:K=({})=>{},setWrapText:Y=()=>{},setBrokenImageItem:B=()=>{},setSelectHistoryItem:F=()=>{},isDragPreview:G=!1,setRowHeight:X=()=>{}}){var Et,Re,xt,ot,pt,_t,ht,It,Ft,Vt,Ge,Zt,nr,vr,pr,Wr;const{t:se}=At(),re=p.useRef(null),ie=p.useRef(null),oe=p.useRef(null),ae=E||N||T,fe=We(!1),le=We(!1),ue=o?Ad.value==="".concat(r==null?void 0:r.historyId,"::pinned")&&!G&&!ae||le.value:Ad.value===(r==null?void 0:r.historyId)&&!ae&&!G||le.value,{setNodeRef:be,listeners:Ce,isDragging:Pe}=h$({disabled:G&&!(ue||h),data:{isPinned:o},id:o?"".concat(r==null?void 0:r.historyId,"::pinned"):(Et=r==null?void 0:r.historyId)!=null?Et:"id"});if(p.useLayoutEffect(()=>{var Le;(Le=re.current)!=null&&Le.clientHeight&&fe.value&&e!==void 0&&requestAnimationFrame(()=>{requestAnimationFrame(()=>{re!=null&&re.current&&X(e,(re==null?void 0:re.current.clientHeight)+4)})})},[fe.value,(Re=re.current)==null?void 0:Re.clientHeight,X,b,C,e]),p.useEffect(()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{e!==void 0&&(re!=null&&re.current)&&X(e,(re==null?void 0:re.current.clientHeight)+4)})})},[f,m]),!r)return null;const Ee=p.useMemo(()=>{var Le,Mt,Ze;return!r.isFavorite&&!r.isPinned?"":(Le=re==null?void 0:re.current)!=null&&Le.clientHeight&&(((Mt=re==null?void 0:re.current)==null?void 0:Mt.clientHeight)<=42&&!C||((Ze=re==null?void 0:re.current)==null?void 0:Ze.clientHeight)<=72&&C)?o&&!r.isFavorite?"":"mr-4":""},[(xt=re==null?void 0:re.current)==null?void 0:xt.clientHeight,C,o,r.isFavorite,r.isPinned]),Oe=(pt=(ot=r==null?void 0:r.value)==null?void 0:ot.trim())!=null?pt:"",Ve=(r==null?void 0:r.isLink)&&((_t=r==null?void 0:r.linkMetadata)==null?void 0:_t.linkTitle)&&((ht=r==null?void 0:r.linkMetadata)==null?void 0:ht.linkDomain),ct=e===0&&r.updatedAt>Date.now()-o7,gt=i?"top-[5px]":"top-[-10px]",Ke="".concat(!o&&S&&!ct?"bg-orange-50 dark:!bg-transparent":v?"bg-red-50 dark:bg-red-950/80":le.value?"bg-slate-100 dark:bg-slate-900 ".concat(ct?"bg-teal-50/80 dark:bg-sky-900/80":""):ae?"dark:bg-green-950/80":T?"dark:bg-sky-950/80":h?"bg-yellow-50 dark:bg-amber-950/80":ct?"bg-teal-50/90 dark:bg-sky-950":"bg-white dark:bg-slate-950/80");return s.jsx(Q,ee(R({style:ee(R({},t),{opacity:(v||S)&&!G?1:Pe||G?.7:void 0}),ref:G&&!(ue||h)?null:be},h||ue?Ce:{}),{children:s.jsxs(Q,{ref:re,children:[C&&s.jsx(Q,{className:"flex justify-center text-gray-400 text-xs ".concat(e===0?"pt-0":"pt-2"),children:b}),s.jsxs(Gm,{onOpenChange:Le=>{le.value=Le,iu.value=null},children:[s.jsx(Ym,{ref:ue||h?oe:null,children:s.jsxs(Q,{className:"relative select-none history-item",children:[s.jsx(Q,{className:"rounded-md justify-start duration-300 relative px-3 py-1 hover:shadow-sm shadow-none border-2 flex flex-col ".concat(e===0&&r.updatedAt>Date.now()-o7&&!ae&&!v&&!h?"bg-teal-50 hover:border-slate-300 dark:bg-sky-900/40 dark:hover:border-slate-700 hover:bg-teal-50/90 hover:dark:bg-sky-950":v&&!G?"border-red-400 bg-red-50 dark:bg-red-950/80 dark:border-red-900/80 dark:hover:border-red-800":le.value?"bg-slate-100 dark:bg-slate-950/80 border-slate-300 dark:border-slate-600":T&&!G?"bg-sky-50 border-sky-600 dark:bg-sky-950/80 dark:border-sky-900/80 dark:hover:border-sky-800":ae&&!G?"bg-green-50 border-green-600 dark:bg-green-950/80 dark:border-green-800":h?"bg-amber-50 border-amber-300 dark:bg-amber-950/80 dark:border-amber-900/80 hover:border-amber-300/80 dark:hover:border-amber-800 hover:bg-amber-50/80 ".concat(o?"!border dark:!bg-amber-950":""):"hover:bg-white dark:hover:bg-slate-950/80 ".concat(A?"border-slate-500 bg-white dark:bg-slate-950 hover:dark:border-slate-500":"".concat(!o&&S?"border-orange-300 dark:border-orange-400/80 dark:bg-orange-900/80 bg-orange-50":o?"bg-slate-50 dark:!bg-slate-900 dark:hover:!bg-slate-950 hover:!border-orange-300/90 border-orange-300/50 dark:!border-orange-800/60 dark:hover:!border-orange-900":"bg-slate-50 hover:border-slate-300 dark:border-slate-800")," dark:hover:border-slate-700 dark:bg-slate-900 ").concat(G?"dark:border-slate-700":"")),onClickCapture:Le=>{var Mt,Ze;Le.shiftKey?(Le.preventDefault(),Le.stopPropagation(),(Mt=window.getSelection())==null||Mt.removeAllRanges(),L(A?null:r.historyId)):M&&!A?((Ze=window.getSelection())==null||Ze.removeAllRanges(),L(r.historyId)):Ad.value=o?"".concat(r.historyId,"::pinned"):r.historyId},onMouseEnter:()=>{Ad.value=o?"".concat(r.historyId,"::pinned"):r.historyId},onMouseLeave:()=>{Ad.value=null},onDoubleClickCapture:Le=>{tu().text.trim()||(Le.altKey||Le.metaKey?H(r.historyId):V(r.historyId))},children:s.jsxs(Q,{className:"".concat(j?"flex flex-row -ml-1":""),children:[j&&!G&&s.jsx(Q,{className:"flex flex-row items-center pr-2 z-100",children:s.jsx("input",{type:"checkbox",className:"form-checkbox h-[16px] w-[16px] bg-slate-400",onChange:()=>{F(r.historyId)},checked:h})}),r.isImageData?s.jsxs(Q,{className:"text-ellipsis self-start text-xs w-full _select-text overflow-hidden cursor-pointer",children:[s.jsx(Q,{className:"flex px-0 py-1 items-center justify-center w-full",children:s.jsx(tl,{src:Oe,hasError:$,onErrorCallback:()=>{B(r.historyId)},draggable:!1,decoding:"async",onLoad:()=>{fe.value=!0},className:"max-w-full max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-700"})}),s.jsx("code",{className:"pb-0.5",children:a?gS(r.value,a):s.jsx("span",{children:r.valuePreview})})]}):r.isLink&&r.isImage?s.jsxs(Q,{className:"text-ellipsis self-start text-xs w-full _select-text cursor-pointer overflow-hidden",children:[s.jsx(Q,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center w-full",children:s.jsx(tl,{src:_n(Oe),hasError:$,height:r.imageHeight,onErrorCallback:()=>{B(r.historyId)},draggable:!1,decoding:"async",onLoad:()=>{fe.value=!0},className:"max-w-full max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-700"})}),s.jsx("code",{className:"pb-0.5",children:a?gS(Oe,a):If(Oe,r.arrLinks)})]}):r.isImage&&r.imageDataUrl?s.jsx(Q,{className:"px-0 py-1.5 flex items-center justify-center w-full",children:s.jsx("img",{src:r.imageDataUrl,draggable:!1,decoding:"async",height:r.imageHeight,onLoad:()=>{fe.value=!0},className:"max-w-full max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-700"})}):r.detectedLanguage&&r.valuePreview?s.jsxs(Q,{ref:Le=>{Le&&(fe.value=!0)},className:"text-ellipsis self-start text-sm w-full overflow-hidden",children:[s.jsx($1,{theme:n?el.vsDark:el.github,code:f?Oe:r.valuePreview.trim(),language:r.detectedLanguage,children:({className:Le,style:Mt,tokens:Ze,getLineProps:mr,getTokenProps:Se})=>s.jsx("code",{className:"".concat(Le),style:Mt,children:Ze.map((je,we)=>{const Fe=we===Ze.length-1&&r.valueMorePreviewLines&&!f;return s.jsxs("div",ee(R({},mr({line:je})),{className:"".concat(m?"whitespace-pre-wrap":"whitespace-pre"," overflow-hidden text-ellipsis"),children:[je.map((nt,rt)=>s.jsx("span",ee(R({},Se({token:nt})),{className:"_select-text cursor-pointer",children:a?El(nt.content,a):nt.content}),rt)),Fe&&s.jsx("span",{className:"select-none",children:"..."})]}),we)})})}),r.valueMorePreviewLines&&s.jsxs(Q,{className:"select-none",children:[" "," "," "]})]}):s.jsxs(Q,{ref:Le=>{Le&&(fe.value=!0)},className:"text-ellipsis self-start text-sm w-full overflow-hidden",children:[Ve&&s.jsx(Q,{className:"self-start mt-1.5 mb-1 text-xs w-full overflow-hidden",children:s.jsx(e0,{title:(It=r.linkMetadata)==null?void 0:It.linkTitle,description:(Ft=r.linkMetadata)==null?void 0:Ft.linkDescription,favicon:(Vt=r.linkMetadata)==null?void 0:Vt.linkFavicon,link:(Zt=(Ge=r==null?void 0:r.linkMetadata)==null?void 0:Ge.linkUrl)!=null?Zt:null,image:(nr=r.linkMetadata)==null?void 0:nr.linkImage,historyId:r.historyId,domain:(vr=r.linkMetadata)==null?void 0:vr.linkDomain})}),f?s.jsxs("code",{className:"justify-start cursor-pointer",children:[a?El(Oe,a):If(Oe,r.arrLinks),r.valueMorePreviewChars&&s.jsxs(Q,{className:"select-none",children:[" "," "," "]})]}):s.jsxs("code",{className:"justify-start cursor-pointer",children:[a?gS(Oe!=null?Oe:"",a):v1e({previewLinkCard:!Ve&&w,value:(Wr=(pr=r.valuePreview)==null?void 0:pr.trim())!=null?Wr:"",links:r.arrLinks,itemId:null,historyId:r.historyId}),r.valueMorePreviewChars&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"select-none",children:"..."}),s.jsxs(Q,{className:"select-none",children:[" "," "," "]})]})]})]}),(r.valueMorePreviewLines||r.valueMorePreviewChars)&&s.jsxs(Q,{className:"absolute left-1 bottom-1 flex flex-row items-center rounded mb-[2px] pl-0.5 ".concat(Ke),children:[s.jsx(Q,{className:"text-xs text-muted-foreground px-1 cursor-pointer",onClick:()=>{U(r.historyId,!f)},children:s.jsx(Be,{text:f?"":se("Show all",{ns:"common"}),isCompact:!0,isDisabled:f||G,delayDuration:2e3,side:"bottom",sideOffset:10,children:f?s.jsxs(s.Fragment,{children:["- ",se("show less",{ns:"common"})]}):r!=null&&r.valueMorePreviewChars?s.jsxs(s.Fragment,{children:["+",r.valueMorePreviewChars," ",se("chars",{ns:"common"})]}):s.jsxs(s.Fragment,{children:["+",r.valueMorePreviewLines," ",se("lines",{ns:"common"})]})})}),f&&s.jsx(Q,{className:"text-xs text-muted-foreground px-1.5 cursor-pointer",onClick:()=>Y(r.historyId,!m),children:s.jsx(Be,{text:m?se("No Wrap",{ns:"common"}):se("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:m?s.jsx(km,{width:20,height:20}):s.jsx(Cm,{width:20,height:20})})})]}),r.isImage&&!r.isLink&&s.jsx(Q,{className:"absolute left-1 bottom-1 flex flex-row gap-1 rounded items-center pb-0.5 pl-0.5 z-100",children:s.jsxs(Q,{className:"text-xs text-muted-foreground px-1.5 rounded ".concat(Ke),title:se("Image size in pixels",{ns:"common"}),children:[r.imageWidth,"x",r.imageHeight]})}),s.jsxs(s.Fragment,{children:[r.isFavorite&&s.jsx(Yf,{className:"absolute text-transparent z-100 ".concat(r.isPinned?"fill-orange-400 dark:fill-orange-500/60":"fill-yellow-400 dark:fill-yellow-500/70"," pointer-events-none right-[4px] top-[3px]"),size:12}),r.isPinned&&!r.isFavorite&&!o&&s.jsx(Al,{className:"absolute text-orange-400 dark:text-orange-500/60 pointer-events-none top-[-5px] right-[-5px] z-auto",size:28})]}),s.jsx(Q,{className:"absolute right-1 bottom-1 flex flex-row gap-1 items-center pb-0 pl-0.5 mb-[2px] rounded",children:ue||h?s.jsxs("div",{className:"flex ".concat(Ke),children:[o?s.jsxs(me,{className:"text-xs text-muted-foreground rounded px-1",children:[s.jsx(Be,{text:se("Move Up",{ns:"common"}),delayDuration:2e3,isCompact:!0,isDisabled:G||c,side:"bottom",sideOffset:10,children:s.jsx(Q,{className:"".concat(c?"cursor-default text-gray-300 dark:text-gray-800":"cursor-pointer text-slate-500"," px-1 flex items-center justify-center"),children:s.jsx(j1,{size:14,onClick:()=>{c||K({historyId:r.historyId,moveUp:!0})}})})}),s.jsx(Be,{text:se("Move Down",{ns:"common"}),delayDuration:2e3,isCompact:!0,isDisabled:G||u,side:"bottom",sideOffset:10,children:s.jsx(Q,{className:"".concat(u?"cursor-default text-gray-300 dark:text-gray-800":"cursor-pointer text-slate-500"," px-1 flex items-center justify-center"),children:s.jsx(S1,{size:14,onClick:()=>{u||K({historyId:r.historyId,moveDown:!0})}})})})]}):r.timeAgoShort&&s.jsx(Q,{className:"text-xs text-muted-foreground rounded px-1",children:s.jsx(Be,{text:zf(r.updatedAt,"PPpp"),delayDuration:2e3,isCompact:!0,isDisabled:G,side:"bottom",sideOffset:10,children:r.timeAgoShort})}),s.jsx(Be,{text:ur.value?se("Copy and Paste",{ns:"common"}):se("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,isDisabled:G,side:"bottom",sideOffset:10,children:s.jsx(Q,{className:"text-xs cursor-pointer text-slate-500 hover:text-green-700 px-1 border-0 flex items-center justify-center",children:ur.value?s.jsx(Cs,{size:14,onClick:()=>{H(r.historyId)}}):s.jsx(pa,{size:14,onClick:()=>{V(r.historyId)}})})}),s.jsx(Be,{text:se("Drag",{ns:"common"}),delayDuration:2e3,isCompact:!0,isDisabled:G,side:"bottom",sideOffset:10,children:s.jsx(Q,ee(R({className:"text-xs cursor-move text-slate-500 px-1 border-0 flex items-center justify-center"},Ce),{children:s.jsx(k1,{size:16})}))}),s.jsx(Be,{text:se("Action Menu",{ns:"common"}),delayDuration:2e3,isCompact:!0,isDisabled:G,side:"bottom",sideOffset:10,children:s.jsx(Q,{ref:ie,className:"text-xs px-1 cursor-pointer text-slate-500 pl-0 pr-0 flex items-center justify-center",children:s.jsx(nl,{size:16,onClick:()=>{var Le,Mt,Ze;(Ze=oe==null?void 0:oe.current)==null||Ze.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:(Le=ie==null?void 0:ie.current)==null?void 0:Le.getBoundingClientRect().x,clientY:(Mt=ie==null?void 0:ie.current)==null?void 0:Mt.getBoundingClientRect().y}))}})})})]},"hover-panel"):s.jsxs("div",{className:"".concat(Ee),children:[r.hasMaskedWords&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-0.5",children:s.jsx(Al,{size:16})}),r.isMasked&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:se("Type:::Secret",{ns:"common"})}),r.detectedLanguage&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:r.detectedLanguage}),r.isLink&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:r.isVideo?se("Type:::Video",{ns:"common"}):fc(Oe)?se("Type:::Email",{ns:"common"}):se("Type:::Link",{ns:"common"})}),r.hasEmoji&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:se("Type:::Emoji",{ns:"common"})}),r.isImageData&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:se("Type:::Image Base64",{ns:"common"})})]},"labels-panel")}),g>1&&s.jsx(Q,{className:"absolute left-[-12px] top-[-12px] flex",children:s.jsx(lt,{variant:v?"destructive":"default",children:g})})]})}),T?s.jsx(Q,{className:"absolute z-50 w-full ".concat(gt," flex justify-center fade-in-animation"),children:s.jsxs(lt,{variant:"default",className:"bg-sky-700 dark:bg-sky-800 dark:text-blue-200 pointer-events-none px-2 py-[1.5px] pr-4 mr-[-6px] text-[10px] uppercase font-semibold",children:[s.jsx(Df,{size:14,className:"mr-1"}),se("Saved",{ns:"common"})]})}):ae&&!z?s.jsx(Q,{className:"absolute z-50 w-full ".concat(gt," flex justify-center fade-in-animation"),children:s.jsxs(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 py-[1.5px] pr-4 _mr-[-6px] text-[10px] uppercase font-semibold",children:[s.jsx($t,{size:14,className:"mr-1"}),E?se("Copied",{ns:"common"}):N?se("Pasted",{ns:"common"}):""]})}):A?s.jsx(Q,{className:"absolute z-50 w-full ".concat(gt," flex justify-center"),children:s.jsxs(lt,{variant:"default",className:"px-3 dark:bg-slate-600 hover:bg-slate-500/100 pr-2.5",children:[s.jsx(J,{className:"mr-1 bg-slate-500 dark:bg-slate-600 pointer-events-none dark:!text-slate-300",color:"muted",children:se("In View",{ns:"common"})}),s.jsx(wr,{size:14,className:"cursor-pointer dark:text-slate-300",onClick:()=>{L(null)}})]})}):z&&z>0&&s.jsx(Q,{className:"absolute z-50 w-full ".concat(gt," flex justify-center"),children:s.jsx(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white px-3 py-[1.5px] pr-4 mr-[-6px] text-[10px] font-semibold",children:se("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:z})})})]})}),s.jsx(MV,{historyId:r.historyId,isMasked:r.isMasked,setSavingItem:D,value:r.value,isImage:r.isImage,isText:r.isText,isPinned:r.isPinned,isFavorite:r.isFavorite,isImageData:r.isImageData,detectedLanguage:r.detectedLanguage,setLargeViewItemId:L,isLargeView:A,arrLinks:r.arrLinks,hasLinkCard:Ve,isSelected:h,invalidateClipboardHistoryQuery:I,generateLinkMetaData:q,removeLinkMetaData:_,setSelectHistoryItem:F,onCopyPaste:H})]})]})}))}const KS=p.memo(wje);function kje({clipboard:e,isDark:t,searchTerm:r,isSelected:n=!1,isDeleting:a=!1,timeAgo:o=null,isCopied:i,isPasted:c,isSaved:u,setSavingItem:f=()=>{},setLargeViewItemId:h=()=>{},pastingCountDown:m=null,onCopyPaste:v=()=>{},onCopy:S=()=>{},invalidateClipboardHistoryQuery:w=()=>{},generateLinkMetaData:g=()=>Promise.resolve(),removeLinkMetaData:b=()=>Promise.resolve(),isBrokenImage:C=!1,setBrokenImageItem:j=()=>{},setSelectHistoryItem:E=()=>{}}){var I,q,_,$,U,K,Y,B,F;const{t:N}=At(),T=We(!1),[A,M]=p.useState(!1),D=p.useRef(null),L=p.useRef(null),z=(q=(I=e==null?void 0:e.value)==null?void 0:I.trim())!=null?q:"",H=(e==null?void 0:e.isLink)&&((_=e==null?void 0:e.linkMetadata)==null?void 0:_.linkTitle)&&(($=e==null?void 0:e.linkMetadata)==null?void 0:$.linkDomain),V=i||c||u;return e?s.jsxs(Q,{className:"max-w-full max-h-full select-none",children:[s.jsx(Q,{className:"flex justify-center text-gray-400 text-xs my-2",children:o}),s.jsxs(Gm,{onOpenChange:G=>{T.value=G},children:[s.jsx(Ym,{ref:L,children:s.jsxs(Q,{className:"select-none relative",children:[s.jsx(Q,{className:"rounded-md min-w-[300px] dark:border-slate-700 justify-start duration-300 px-2.5 py-1.5 hover:shadow-sm shadow-none border-2 flex flex-col ".concat(a?"border-red-400 bg-red-50 dark:bg-red-950/80 dark:border-red-900/80 dark:hover:border-red-800":T.value?"bg-slate-100 dark:bg-slate-950/80 border-slate-300 dark:border-slate-600":u?"bg-sky-50 border-sky-600 dark:bg-sky-950/80 dark:border-sky-900/80 hover:border-sky-300/80 dark:hover:border-sky-800":V?"bg-green-50 border-green-600 dark:bg-green-950/80 dark:border-green-800":n?"bg-amber-50 border-amber-300 dark:bg-amber-950/80 dark:border-amber-900/80 dark:hover:border-amber-800 hover:border-amber-300/80 hover:bg-amber-50/80":"bg-white border-slate-300 dark:hover:border-slate-700 dark:bg-slate-900"),children:s.jsxs(Q,{children:[e.isImageData?s.jsxs(Q,{className:"text-ellipsis self-start text-xs w-full select-text overflow-hidden",children:[s.jsx(Q,{className:"flex px-0 py-1 items-center justify-center",children:s.jsx(tl,{src:z,hasError:C,decoding:"async",onErrorCallback:()=>{j(e.historyId)},className:"min-h-20 object-scale-down animate-in fade-in duration-300 border-slate-100 dark:border-slate-700"},e.historyId)}),s.jsx("code",{className:"pb-0.5",children:r?El(e.valuePreview,r):s.jsx("span",{children:e.valuePreview})})]}):e.isLink&&e.isImage?s.jsxs(Q,{className:"text-ellipsis self-start text-xs w-full select-text overflow-hidden",children:[s.jsx(Q,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center",children:s.jsx(tl,{src:_n(z),hasError:C,height:e.imageHeight,decoding:"async",onErrorCallback:()=>{j(e.historyId)},className:"min-h-20 object-scale-down animate-in fade-in duration-300 border-slate-100 dark:border-slate-700"},e.historyId)}),s.jsx("code",{className:"pb-0.5",children:r?El(z,r):If(z,e.arrLinks)})]}):e.isImage&&e.imagePathFullRes?s.jsx(Q,{className:"px-0 py-1.5 flex items-center justify-center",children:s.jsx("img",{decoding:"async",srcSet:"".concat(uf(e.imagePathFullRes)," 2x"),src:uf(e.imagePathFullRes),className:"min-h-20 rounded-md shadow-sm border border-slate-100 dark:border-slate-700 object-scale-down animate-in fade-in duration-300"},e.historyId)}):e.detectedLanguage&&e.valuePreview?s.jsx(Q,{className:"text-ellipsis self-start text-sm w-full p-1.5 animate-in fade-in",children:s.jsx($1,{theme:t?el.vsDark:el.github,code:z,language:e.detectedLanguage,children:({className:G,style:X,tokens:se,getLineProps:re,getTokenProps:ie})=>s.jsx(Lf,{options:{overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:t?"os-theme-light":"os-theme-dark",autoHide:"never"}},style:{maxWidth:"100%"},children:s.jsx("code",{className:"".concat(G),style:X,children:se.map((oe,ae)=>s.jsx("div",ee(R({},re({line:oe})),{className:"".concat(A?"whitespace-pre-wrap":"whitespace-pre"," overflow-hidden text-ellipsis"),children:oe.map((fe,le)=>s.jsx("span",ee(R({},ie({token:fe})),{className:"select-text",children:r?El(fe.content,r):fe.content}),le))}),ae))})})})},e.historyId):s.jsxs(Q,{className:"text-ellipsis self-start text-sm w-full overflow-hidden animate-in fade-in",children:[H&&s.jsx(Q,{className:"self-start mt-1.5 mb-1 text-xs w-full select-text overflow-hidden",children:s.jsx(e0,{title:(U=e.linkMetadata)==null?void 0:U.linkTitle,description:(K=e.linkMetadata)==null?void 0:K.linkDescription,favicon:(Y=e.linkMetadata)==null?void 0:Y.linkFavicon,link:e==null?void 0:e.arrLinks[0],image:(B=e.linkMetadata)==null?void 0:B.linkImage,domain:(F=e.linkMetadata)==null?void 0:F.linkDomain})}),s.jsxs("code",{className:"justify-start select-text ".concat(A?"whitespace-break-spaces":"whitespace-normal"),children:[r?El(z,r):If(z,e.arrLinks),e.valueMorePreviewChars&&s.jsxs(Q,{className:"select-none",children:[" "," "," "]})]})]},e.historyId),s.jsx(Q,{className:"flex flex-row gap-1 items-center mt-1",children:s.jsx(Q,{className:"flex flex-row gap-1 items-center pb-1 ml-auto",children:s.jsxs(s.Fragment,{children:[!e.isImage&&s.jsx(Q,{className:"text-xs text-muted-foreground px-1.5 ml-1.5 cursor-pointer",onClick:()=>M(!A),children:s.jsx(Be,{text:A?N("No Wrap",{ns:"common"}):N("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:A?s.jsx(cz,{width:20,height:20,strokeWidth:1.5}):s.jsx(eue,{width:20,height:20,strokeWidth:1.5})})}),e.isImage&&!e.isLink&&s.jsxs(Q,{className:"flex flex-row gap-1 rounded items-center",children:[s.jsx(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-[12px] rounded-sm px-2",children:N("Type:::Image",{ns:"common"})}),s.jsxs(Q,{className:"text-[11px] text-muted-foreground px-1 pt-0.5",children:[e.imageWidth,"x",e.imageHeight]})]}),(e.isMasked||e.hasMaskedWords)&&s.jsx(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm ".concat(e.hasMaskedWords?"px-1":"px-1.5"),children:e.isMasked?N("Type:::Secret",{ns:"common"}):s.jsx(Be,{text:N("Found Masked Words",{ns:"common"}),delayDuration:600,isCompact:!0,side:"bottom",sideOffset:6,children:s.jsx(Al,{size:18})})}),e.detectedLanguage&&s.jsx(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-[12px] rounded-sm px-2",children:e.detectedLanguage}),e.isLink&&s.jsx(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-[12px] rounded-sm px-2",children:e.isVideo?N("Type:::Video",{ns:"common"}):N("Type:::Link",{ns:"common"})}),e.hasEmoji&&s.jsx(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-[12px] rounded-sm px-2",children:N("Type:::Emoji",{ns:"common"})}),e.isImageData&&s.jsx(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-[12px] rounded-sm px-2",children:N("Type:::Image Base64",{ns:"common"})}),s.jsx(Be,{text:N("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(Q,{className:"text-xs cursor-pointer hover:text-green-700 text-slate-500 px-0 ml-1.5 border-0 flex items-center justify-center",children:ur.value?s.jsx(Cs,{size:18,onClick:()=>{v(e.historyId)}}):s.jsx(pa,{size:18,onClick:()=>{S(e.historyId)}})})}),s.jsx(Be,{text:N("Action Menu",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(Q,{ref:D,className:"text-xs cursor-pointer text-slate-500 pl-2 pr-0 flex items-center justify-center",children:s.jsx(nl,{size:18,onClick:()=>{var G,X,se;(se=L==null?void 0:L.current)==null||se.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:(G=D==null?void 0:D.current)==null?void 0:G.getBoundingClientRect().x,clientY:(X=D==null?void 0:D.current)==null?void 0:X.getBoundingClientRect().y}))}})})})]})})})]})}),u?s.jsx(Q,{className:"absolute z-50 w-full top-[-13px] flex justify-center animate-in fade-in-500 duration-500",children:s.jsxs(lt,{variant:"default",className:"dark:bg-sky-800 dark:text-blue-200 pointer-events-none px-2",children:[s.jsx(Df,{size:14,className:"mr-1"}),N("Saved",{ns:"common"})]})}):V&&m===null?s.jsx(Q,{className:"absolute z-50 w-full top-[-13px] animate-in fade-in-500 duration-500 slide-in-from-bottom-1 flex justify-center",children:s.jsxs(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 pr-4",children:[s.jsx($t,{size:14,className:"mr-1"}),i?N("Copied",{ns:"common"}):c?N("Pasted",{ns:"common"}):""]})}):m!==null&&m>0&&s.jsx(Q,{className:"absolute z-50 w-full top-[-13px] slide-in-from-bottom-1 flex justify-center",children:s.jsx(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 pl-3",children:m&&m>0&&N("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:m})})})]})}),s.jsx(MV,{historyId:e.historyId,isPinned:e.isPinned,isFavorite:e.isFavorite,isMasked:e.isMasked,detectedLanguage:e.detectedLanguage,setSavingItem:f,value:e.value,isImage:e.isImage,isText:e.isText,isImageData:e.isImageData,setLargeViewItemId:h,isLargeView:!0,arrLinks:e.arrLinks,hasLinkCard:H,isSelected:n,invalidateClipboardHistoryQuery:w,generateLinkMetaData:g,removeLinkMetaData:b,setSelectHistoryItem:E,onCopyPaste:v})]}),s.jsx(Q,{className:"flex justify-center text-gray-400 text-xs my-2",children:s.jsxs(lt,{variant:"outline",className:"bg-slate-100 px-2 pl-2.5 text-slate-400 cursor-pointer hover:bg-slate-300 dark:bg-slate-500 dark:text-slate-800 hover:dark:bg-slate-400",onClick:()=>{h(null),Is.value=null},children:[N("Close",{ns:"common"}),s.jsx(wr,{size:14,className:"ml-1"})]})})]}):null}const Cje=p.memo(kje);function Sje(e){return s.jsxs("svg",{className:e.className,xmlns:"http://www.w3.org/2000/svg",viewBox:"0.294 3.317 24.273 26.397",children:[s.jsx("path",{fill:"currentColor",d:"M19.14 29.714H8.502a4.27 4.27 0 0 1-4.271-4.271V14.934C.821 13.47.273 8.863 3.247 6.641a4.822 4.822 0 0 1 6.685.892h9.207a4.27 4.27 0 0 1 4.271 4.271v13.639a4.27 4.27 0 0 1-4.27 4.271ZM6.162 6.904c-2.778 0-4.515 3.007-3.125 5.414 1.388 2.405 4.862 2.405 6.251 0a3.622 3.622 0 0 0 .484-1.805 3.614 3.614 0 0 0-3.61-3.609Zm16.029 4.9a3.052 3.052 0 0 0-3.051-3.052h-8.492c1.264 3.166-1.078 6.606-4.486 6.59a4.963 4.963 0 0 1-.71-.07v10.171a3.05 3.05 0 0 0 3.05 3.05H19.14a3.05 3.05 0 0 0 3.051-3.05V11.804ZM18.788 23.24a.609.609 0 0 0-.61-.609H9.465a.61.61 0 0 0 0 1.219h8.713a.61.61 0 0 0 .61-.61Zm0-4.616a.61.61 0 0 0-.61-.61H9.465a.61.61 0 0 0 0 1.219h8.713a.61.61 0 0 0 .61-.609Zm0-4.616a.609.609 0 0 0-.61-.609h-5.806a.609.609 0 1 0 0 1.219h5.806a.61.61 0 0 0 .61-.61Zm-12.017-1.7v-1.795a.61.61 0 0 0-.609-.611h-1.32a.611.611 0 0 0 0 1.22h.71v1.186a.61.61 0 0 0 1.219 0Z",transform:"rotate(180 12.364 17.455)"}),s.jsx("path",{stroke:"currentColor",fill:"".concat(e.lightingColor||"white"),d:"M7.992 4.719h5.81c.399 0 .723.323.723.724v1.678a.724.724 0 0 1-.723.724h-5.81a.724.724 0 0 1-.724-.724V5.443c0-.401.323-.724.724-.724Z",transform:"translate(.006 -.486)"})]})}const jje=({selectedHistoryItems:e,setShowSelectHistoryItems:t,isDeleting:r,onDelete:n,setIsDeleting:a,isDark:o,setSelectHistoryItem:i,setSelectedHistoryItems:c,showSelectHistoryItems:u})=>{const{t:f}=At(),{deleteClipboardHistoryByIds:h}=b_(),{clearClipboardHistoryOlderThan:m}=tCe(),v=sa(),{isHistoryEnabled:S,setIsHistoryEnabled:w,isHistoryAutoUpdateOnCaputureEnabled:g,setIsHistoryAutoUpdateOnCaputureEnabled:b}=ft(pn),{deleteClipboardHistoryItems:C}=ft(hi);Os(["alt+s"],()=>{t(!u)}),Os(["control+s"],()=>{Ad.value&&i(Ad.value)}),Os(["alt+h"],()=>{w(!S)}),Os(["alt+a"],()=>{b(!g)}),Os(["alt+u"],()=>{E6.getState().updateClipboardHistory()}),Os(["alt+d"],()=>{c([])});const j=(E,N)=>pe(void 0,null,function*(){const T={days:N==="1"?f("Day",{ns:"calendar"}):f("Days",{ns:"calendar"}),weeks:N==="1"?f("Week",{ns:"calendar"}):f("Weeks",{ns:"calendar"}),months:N==="1"?f("Month",{ns:"calendar"}):f("Months",{ns:"calendar"}),year:N==="1"?f("Year",{ns:"calendar"}):f("Years",{ns:"calendar"})},A=N==="0"&&E==="days",M=A?f("Do you really want to remove ALL clipboard history items?",{ns:"history"}):f("Do you want to remove clipboard history items older than {{olderThen}} {{durationType}}",{ns:"history",olderThen:N,durationType:T[E]});if(yield Bb(M,{title:f("{{isAll}} Clipboard History",{ns:"history",isAll:A?f("Clear All",{ns:"history"}):f("Clear",{ns:"history"})}).trim(),okLabel:f("{{isAll}} Clipboard History",{ns:"history",isAll:A?f("Clear All",{ns:"history"}):f("Clear",{ns:"history"})}).trim(),cancelLabel:f("Cancel",{ns:"common"})}))try{if(A&&!(yield Bb(f("Please confirm your action!",{ns:"common"}),{title:f("Confirm Clear All History",{ns:"history"}),okLabel:f("Confirm",{ns:"common"}),cancelLabel:f("Cancel",{ns:"common"})})))return;yield m({durationType:E,olderThen:N}),setTimeout(()=>{c([]),t(!1),a(!1),n(A)},400),yield lo(f("All done! History's been cleared.",{ns:"history"}),"Success")}catch(L){console.error(L),yield lo(f("Something goes wrong! Please try again.",{ns:"common"}),"Error")}});return s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsxs(ye,{variant:"light",id:"history-menu-button_tour",className:"w-10 text-slate-400 hover:text-slate-500 hover:dark:text-slate-400 dark:text-slate-500 bg-slate-100 p-1 relative hover:bg-slate-100/70 dark:bg-slate-900 dark:hover:bg-slate-700/70",children:[s.jsx(Sje,{className:"w-5 max-w-[22px] min-w-[16px] stroke-[1.3px]",lightingColor:o?"#0f182a":"#f1f5f9"}),e.length>0&&s.jsx(lt,{variant:"slate",className:"absolute left-[-10px] top-[-10px]",children:e.length})]})}),s.jsx(Ar,{sideOffset:10,align:"start",shadow:"shadow-[0_-2px_12px_0_rgb(0,0,0,0.1)]",children:s.jsxs(vH,{children:[u?s.jsxs(He,{onClick:()=>{t(!1)},children:[s.jsx(xz,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-2",children:f("Hide Muli Select",{ns:"common"})}),s.jsx(Tl,{children:s.jsx(no,{keys:"ALT+S"})})]}):s.jsxs(He,{onClick:()=>{t(!0)},children:[s.jsx(vz,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-2",children:f("Multi Select",{ns:"common"})}),s.jsx(Tl,{children:s.jsx(no,{keys:"ALT+S"})})]}),s.jsxs(He,{disabled:e.length===0,onClick:()=>{c([])},children:[s.jsx(P6,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:f("Deselect All",{ns:"common"})}),s.jsx(Tl,{children:s.jsx(no,{keys:"ALT+D"})})]}),s.jsx(tr,{}),s.jsxs(He,{disabled:e.length===0,onClick:()=>{fa.value=zi.CLIP,dm.value=Array.from(new Set([...e])),setTimeout(()=>{c([])},400)},children:[s.jsx(aoe,{className:"mr-2 h-4 w-4"}),s.jsx(J,{children:f("Add to Board",{ns:"dashboard"})})]}),s.jsx(tr,{}),s.jsxs(He,{disabled:e.length===0,onClick:E=>pe(void 0,null,function*(){r?(yield h({historyIds:e}),setTimeout(()=>{n(),C(e),c([]),t(!1),a(!1)},400)):(E.preventDefault(),a(!0),setTimeout(()=>{a(!1)},3e3))}),children:[s.jsx(xn,{className:"mr-2 h-4 w-4 ".concat(r?"text-red-500":"")}),s.jsxs(me,{children:[s.jsx(J,{className:"mr-1 ".concat(r?"!text-red-500":""),children:r?f("Click to Confirm",{ns:"common"}):f("Delete",{ns:"common"})}),e.length>0&&s.jsx(s.Fragment,{children:r?s.jsx(lt,{variant:"destructive",className:"bg-red-500 ml-1 py-0 font-semibold",children:e.length}):s.jsx(lt,{variant:"slateSecondary",className:"bg-slate-200 text-slate-500 ml-1 py-0 font-semibold",children:e.length})})]})]}),s.jsxs(Xs,{children:[s.jsxs($s,{children:[s.jsx(wae,{className:"mr-2 h-4 w-4"}),s.jsxs(J,{children:[f("Clear History",{ns:"history"})," ..."]})]}),s.jsxs(zs,{children:[s.jsxs(Xs,{children:[s.jsx($s,{children:s.jsx(J,{children:f("Days",{ns:"calendar"})})}),s.jsxs(zs,{children:[s.jsxs(He,{onClick:()=>{j("days","1")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["1 ",f("Day",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("days","3")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["3 ",f("Days",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("days","5")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["5 ",f("Days",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("days","7")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["7 ",f("Days",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]})]})]}),s.jsxs(Xs,{children:[s.jsx($s,{children:s.jsx(J,{children:f("Weeks",{ns:"calendar"})})}),s.jsxs(zs,{children:[s.jsxs(He,{onClick:()=>{j("weeks","1")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["1 ",f("Week",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("weeks","2")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["2 ",f("Weeks",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("weeks","3")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["3 ",f("Weeks",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("weeks","4")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["4 ",f("Weeks",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]})]})]}),s.jsxs(Xs,{children:[s.jsx($s,{children:s.jsx(J,{children:f("Months",{ns:"calendar"})})}),s.jsxs(zs,{children:[s.jsxs(He,{onClick:()=>{j("months","1")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["1 ",f("Month",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("months","2")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["2 ",f("Months",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("months","3")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["3 ",f("Months",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("months","6")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["6 ",f("Months",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]})]})]}),s.jsxs(Xs,{children:[s.jsx($s,{children:s.jsx(J,{children:f("Years",{ns:"calendar"})})}),s.jsxs(zs,{children:[s.jsxs(He,{onClick:()=>{j("year","1")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["1 ",f("Year",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("year","2")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["2 ",f("Years",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("year","3")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["3 ",f("Years",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]})]})]}),s.jsx(tr,{}),s.jsx(He,{onClick:()=>{j("days","0")},children:s.jsx(J,{className:"font-semibold",children:f("Clear All History",{ns:"history"})})}),s.jsx(tr,{}),s.jsxs(He,{onClick:()=>{v("/app-settings/history",{replace:!0})},children:[s.jsx(R6,{className:"mr-2 h-4 w-4"}),s.jsxs(J,{children:[f("Auto-Clear Settings",{ns:"history"})," ..."]})]})]})]})]})})]})},GS={STARRED:"starred",PINNED:"pinned",TEXT:"text",LINK:"link",IMAGE:"image",VIDEO:"video",EMOJI:"emoji",SECRET:"secret",CODE:"code"},Eje=({historyFilters:e,setHistoryFilters:t,codeFilters:r,avaliableCodeLanguages:n,setCodeFilters:a,children:o})=>{const{t:i}=At(),c=(h,m)=>{if(m){t([h]);return}e.includes(h)?t(e.filter(v=>v!==h)):t([...e,h])},u=(h,m)=>{if(m){a([h]);return}r.includes(h)?a(r.filter(v=>v!==h)):a([...r,h])};p.useEffect(()=>{e.includes(GS.CODE)||a([])},[e]);const{isSwapPanels:f}=ft(Es);return s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:o}),s.jsxs(Ar,{className:"w-52",sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!e.length,onClick:h=>{h.preventDefault(),h.stopPropagation(),t([])},children:e.length?s.jsxs(me,{className:"justify-between items-center w-full",children:[s.jsx(Q,{className:"w-6 h-4"}),s.jsx(J,{children:i("Filters:::Clear Filters",{ns:"history"})}),s.jsx(wr,{className:"w-6 h-4"})]}):s.jsx(J,{children:i("Filters:::Select Filters",{ns:"history"})})}),s.jsx(tr,{}),Object.values(GS).map((h,m)=>s.jsxs(Q,{children:[m===2&&s.jsx(tr,{},"separator"),s.jsxs(He,{onClick:v=>{v.preventDefault(),c(h)},children:[s.jsx(dj,{label:i("Filters:::".concat(Nje(h)),{ns:"history"}),checked:e.includes(h)}),s.jsx(Tl,{children:s.jsx(Q,{onClick:v=>{v.preventDefault(),v.stopPropagation(),c(h,!0)},className:"cursor-pointer hover:underline",children:s.jsx(no,{keys:"only"})})})]})]},h)),e.includes(GS.CODE)&&s.jsxs(Xs,{children:[s.jsxs($s,{noRightIcon:f,disabled:!1,children:[s.jsx(Tz,{className:"mr-2 h-4 w-4"}),s.jsx(J,{children:i("Filters:::Language Filters",{ns:"history"})}),r.length>0&&s.jsx(lt,{className:"ml-auto py-0",children:r.length})]}),s.jsxs(zs,{className:"w-48",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!r.length,onClick:h=>{h.preventDefault(),h.stopPropagation(),a([])},children:r.length?s.jsxs(me,{className:"justify-between items-center w-full",children:[s.jsx(Q,{className:"w-6 h-4"}),s.jsx(J,{children:i("Filters:::Clear Filters",{ns:"history"})}),s.jsx(wr,{className:"w-6 h-4"})]}):s.jsx(J,{children:i("Filters:::Language Filters",{ns:"history"})})}),s.jsx(tr,{}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"190px"},autoHide:!1,children:n.map(h=>s.jsxs(He,{onClick:m=>{m.preventDefault(),u(h)},children:[s.jsx(dj,{label:h,checked:r.includes(h)}),s.jsx(Tl,{children:s.jsx(Q,{onClick:m=>{m.preventDefault(),m.stopPropagation(),u(h,!0)},className:"cursor-pointer hover:underline",children:s.jsx(no,{keys:"only"})})})]},h))})]})]})]})]})};function Nje(e){return e.charAt(0).toUpperCase()+e.slice(1)}function DV({clipId:e,isDark:t,isHistoryDragActive:r}){var u,f,h,m;ON();const{t:n}=At(),{clipItems:a}=ft(Tn),o=p.useMemo(()=>{if(Is.value){const v=a.find(({itemId:S})=>S===e);if(v)return v;Is.value=null}},[e,a]),[i,c]=p.useMemo(()=>{var v,S;return[(o==null?void 0:o.createdAt)&&Zu().format((v=o.createdAt)!=null?v:0,{round:"floor"}),(o==null?void 0:o.updatedAt)&&Zu().format((S=o.updatedAt)!=null?S:0,{round:"floor"})]},[o]);return o==null?null:s.jsx(s.Fragment,{children:s.jsxs(Q,{className:"max-w-full max-h-full ".concat(ks.value===e&&!o.isCode&&!o.isImage?"min-w-[80%]":""),children:[s.jsxs(Q,{className:"flex justify-center text-gray-400 text-xs my-2 gap-1",children:[s.jsx(Be,{text:"".concat(n("Created",{ns:"common"}),": ").concat(zf((u=o.createdAt)!=null?u:0,"PPpp")),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:i}),c!==i&&s.jsxs(Be,{text:"".concat(n("Updated",{ns:"common"}),": ").concat(zf((f=o.updatedAt)!=null?f:0,"PPpp")),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:["(",c,")"]})]}),s.jsx(Q,{className:"text-gray-400 text-xs mb-1 mt-2",children:s.jsx(x_,{clip:ee(R({},o),{type:"clip",id:e,createdAt:(h=o.createdAt)!=null?h:0,tabId:(m=o.tabId)!=null?m:null}),boardColor:o.color,isDark:t,isClipNameEditing:gu.value===e,isClipDelete:Jo.value===e,isClipEdit:ks.value===e,isShowOrganizeLayoutValue:!1,isHistoryDragActive:r,isShowDetails:!0,isLargeView:!0,isSelected:!1})}),s.jsx(Q,{className:"flex justify-center text-gray-400 text-xs my-2",children:s.jsxs(lt,{variant:"outline",className:"bg-slate-100 px-2 pl-2.5 text-slate-400 cursor-pointer hover:bg-slate-300 dark:bg-slate-500 dark:text-slate-800 hover:dark:bg-slate-400",onClick:()=>{Is.value=null},children:[n("Close",{ns:"common"}),s.jsx(wr,{size:14,className:"ml-1"})]})})]})})}p.memo(DV);const CR="trash",_je=()=>pe(void 0,null,function*(){window.Prism=at,yield Promise.all([ve(()=>import("./prism-json-xwnKirkR.js"),[]),ve(()=>import("./prism-markup-templating-Ct1xsyfA.js"),[]),ve(()=>import("./prism-java-Bz0cy7o8.js"),[]),ve(()=>import("./prism-c-BI05wwL9.js"),[]),ve(()=>import("./prism-css-Cp0aSgQ4.js"),[]),ve(()=>import("./prism-csharp-aZJd74Dz.js"),[]),ve(()=>import("./prism-php-Y_bwvUTe.js"),[]),ve(()=>import("./prism-regex-DCddBNSB.js"),[]),ve(()=>import("./prism-ruby-pgU1Zfy6.js"),[]),ve(()=>import("./prism-shell-session-C8ifCaAv.js"),[]),ve(()=>import("./prism-sql-AgAyy5H_.js"),[]),ve(()=>import("./prism-uri-BQNPRq5q.js"),[]),ve(()=>import("./prism-yaml-Chm5ZdEN.js"),[]),ve(()=>import("./prism-markdown-4MKFcK2x.js"),[]),ve(()=>import("./prism-dart-MjriiaMt.js"),[]),ve(()=>import("./prism-path-CC2I6U-X.js"),[])]),at.languages.shell=at.languages["shell-session"]});function Tje(){const[e,t,r]=jCe({}),[n,a,o,i]=ECe({}),[c,u]=p.useState(null),{updateItemValueByHistoryId:f}=kge(),{pinnedClipboardHistoryByIds:h}=SW(),{unPinAllClipboardHistory:m}=Qke(),{movePinnedClipboardHistoryUpDown:v}=Jke(),[S,w]=p.useState([]),[g,b]=p.useState([]),C=p.useRef(null),[j,E]=p.useState(!1),N=p.useRef(null),[T,A]=p.useState(null),[M,D]=p.useState([]),[L,z]=p.useState(null),[H,V]=p.useState(null),[I,q]=p.useState(null),[_,$]=p.useState(null),[U,K]=p.useState([]),[Y,B]=p.useState([]),[F,G]=p.useState([]),[X,se]=p.useState(!1),[re,ie]=p.useState(!1),{setIsScrolling:oe,isShowHistoryPinned:ae,setIsShowHistoryPinned:fe,isSwapPanels:le,panelSize:ue,setPanelSize:be,setReturnRoute:Ce}=ft(Es),{isHistoryEnabled:Pe,setIsHistoryEnabled:Ee,isHistoryAutoUpdateOnCaputureEnabled:Oe,isAutoPreviewLinkCardsEnabled:Ve,historyDetectLanguagesEnabledList:ct,copyPasteSequencePinnedDelay:gt,setCopyPasteSequencePinnedDelay:Ke,copyPasteSequenceIsReversOrder:Et,setCopyPasteSequenceIsReversOrder:Re,setIsHistoryAutoUpdateOnCaputureEnabled:xt}=ft(pn),{t:ot}=At(),{themeDark:pt}=ft(fi),{ref:_t,height:ht}=p3e(),It=We(!1),Ft=We(!1),Vt=p.useMemo(()=>Ft.value||It.value,[It.value,Ft.value]),{pinnedClipboardHistory:Ge}=Zke(),Zt=pt(),{setHistoryListSimpleBar:nr,scrollToTopHistoryList:vr,updateClipboardHistory:pr,deleteClipboardHistoryItem:Wr,deleteClipboardHistoryItems:Le,generateLinkMetaData:Mt,removeLinkMetaData:Ze}=ft(hi),[mr,Se]=p.useState(!1),je=al(),we=sa(),{isClipboardInfiniteHistoryLoading:Fe,isClipboardHistoryFetchingNextPage:nt,infiniteClipboardHistory:rt,invalidateClipboardHistoryQuery:Ie,fetchNextClipboardHistoryPage:$e}=jW(),{deleteClipboardHistoryByIds:Ye}=b_(),{clipboardHistory:mt,newClipboardHistoryCount:qt,foundClipboardHistory:Tt}=ft(hi),[Rt,Xt]=p.useState(""),[Pr,Nr]=p.useState(""),Vr=p.useRef(null),qr=p.useRef({}),Gt=p.useRef(null),xr=mo(Rt,300),dr=p.useMemo(()=>xr.length>1||S.length>0,[xr,S]),Ns=p.useMemo(()=>ur.value,[ur.value]),Kr=p.useMemo(()=>F.some(de=>Ge.some(Me=>Me.historyId===de)),[F,Ge]),ar=p.useMemo(()=>n,[n]),ut=p.useMemo(()=>e,[e]),ge=dr?Tt:mt,{refetchFindClipboardHistory:Qe}=eCe({query:xr,filters:S,codeFilters:g}),Xe=p.useCallback(()=>{dr&&Oe&&Qe()},[dr,Oe]);p.useEffect(()=>{const de=Ri("clipboard://clipboard-monitor/update",Me=>{Me.payload==="clipboard update"&&Xe()});return()=>{de.then(Me=>{Me()})}},[Xe]),p.useEffect(()=>{xu.value=null,qi.value=null;const de=()=>pe(this,null,function*(){yield _je()});Ce(je.pathname),Vi.value=!1,de(),Se(!0)},[]),p.useEffect(()=>{e&&F.includes(e)&&G(de=>de.filter(Me=>Me!==e)),n&&F.includes(n)&&G(de=>de.filter(Me=>Me!==n))},[e,n]),p.useEffect(()=>{C&&nr(C)},[C]),p.useEffect(()=>{Ge.length===0&&(It.value=!1,Ft.value=!1)},[Ge]),p.useEffect(()=>{(xr.length>1||S.length>0||g.length>0)&&Qe()},[xr,S,g]),p.useEffect(()=>{var de;!((de=N.current)!=null&&de.setDisableScroll)||!C.current||(T?(N.current.setDisableScroll(!0),C.current.style.overflow="hidden"):(N.current.setDisableScroll(!1),C.current.style.overflow="visible"))},[T]);const st=()=>pe(this,null,function*(){nt||(yield $e({cancelRefetch:!1}))});function Ht(de){return qr.current[de]||60}function Dt(de,Me){var ze,Ne;(ze=Vr.current)!=null&&ze.resetAfterIndex&&((Ne=Vr.current)==null||Ne.resetAfterIndex(0)),qr.current=ee(R({},qr.current),{[de]:Me})}const Ut=y4(hp(kv,{activationConstraint:{tolerance:10,delay:300}}),hp(wv,{coordinateGetter:Mj})),Jt={keyframes({transform:de}){return T&&(L===T||I||_||H)?[{opacity:.7},{opacity:0}]:[{opacity:1,transform:$o.Transform.toString(de.initial)},{opacity:0,transform:$o.Transform.toString(ee(R({},de.final),{x:de.final.x+5,y:de.final.y+5}))}]},easing:"ease-out",duration:300,sideEffects({active:de,dragOverlay:Me}){T&&(L===T||I===T||H===T)?Me.node.animate([{opacity:.7},{opacity:0}],{duration:300,easing:df.easing}):de.node.animate([{opacity:0},{opacity:1}],{duration:df.duration,easing:df.easing})}},yt=p.useCallback(de=>{G(Me=>Me.includes(de)?Me.filter(Ne=>Ne!==de):[...Me,de])},[G]),Je=p.useCallback(de=>{D(Me=>Me.includes(de)?Me.filter(Ne=>Ne!==de):[...Me,de])},[D]),Wt=p.useCallback((de,Me)=>{K(ze=>Me?[...ze,de]:ze.filter(Ne=>Ne!==de))},[K]),Mr=p.useCallback((de,Me)=>{B(ze=>Me?[...ze,de]:ze.filter(Ne=>Ne!==de))},[B]),yr=p.useMemo(()=>{if(Ta.value){const de=ge.find(Me=>Me.historyId===Ta.value);if(de)return Is.value&&(Is.value=null),de;Ta.value=null}},[Ta.value,ge]),ne=de=>de===iu.value||de===L||!!L&&!!T&&F.includes(de)||j&&F.includes(de);return s.jsx(Wk,{children:s.jsx(b6,{sensors:Ut,collisionDetection:m6,autoScroll:{layoutShiftCompensation:!1,acceleration:1},measuring:{droppable:{strategy:Nf.Always}},onDragStart:({active:de})=>{var Me;A(de.id),ie(de.id&&((Me=de.data.current)==null?void 0:Me.isPinned))},onDragOver:({active:de,over:Me})=>{const ze=Me==null?void 0:Me.data.current,Ne=(ze==null?void 0:ze.type)===Hs,et=(ze==null?void 0:ze.type)==="clip::dropzone",fr=(Me==null?void 0:Me.id)==="history::pinnedzone";de!=null&&de.id&&fr&&!re?V(de.id):fr||V(null),(Me==null?void 0:Me.id)===CR?z(de.id):Ne&&(Me!=null&&Me.id)?q(Me==null?void 0:Me.id):et&&(Me!=null&&Me.id)?$(Me==null?void 0:Me.id):(z(null),q(null),$(null))},onDragCancel:()=>(A(null),z(null),q(null),$(null),!0),onDragEnd:Me=>pe(this,[Me],function*({active:de}){var Ne;const ze=(Ne=de==null?void 0:de.data.current)==null?void 0:Ne.isPinned;if((de==null?void 0:de.id)===H)setTimeout(()=>pe(this,null,function*(){V(null),G([]),A(null),!ze&&(yield h({historyIds:F.length>0?Array.from(new Set([...F,de.id])):[de.id],isPinned:!0}))}),300);else if((de==null?void 0:de.id)===L){const et=ze?CS(de.id):de.id;yield Ye({historyIds:F.length>0?Array.from(new Set([...F,et])):[et]}),setTimeout(()=>{F.length>0?Le(Array.from(new Set([...F,et]))):Array.from(new Set([...F,et])).forEach(fr=>{Wr(fr)}),Xe(),V(null),z(null),q(null),$(null),G([]),A(null)},600)}else if(de!=null&&de.id&&I){const et=ze?CS(de.id):de.id;wl.value=I,dm.value=F.length>0?Array.from(new Set([...F,et])):[et],setTimeout(()=>{q(null),A(null),G([])},400)}else if(de!=null&&de.id&&_){const et=ze?CS(de.id):de.id,fr=_.toString().replace("::dropzone",""),Gr=et?ge.find(mn=>mn.historyId===et):null;fr&&(Gr!=null&&Gr.historyId)&&(yield f({historyId:Gr.historyId,itemId:fr})),setTimeout(()=>{$(null),A(null)},400)}else wl.value=null,setTimeout(()=>{V(null),q(null),z(null),A(null)},300)}),children:s.jsxs(I_,{minSize:260,maxSize:700,defaultSize:320,swapPanes:le,onResize:be,autoSaveId:"app-main-panel",children:[s.jsx(O_,{children:s.jsx(Q,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-200 shadow-sm rounded-xl dark:bg-gray-800 dark:border-gray-700 dark:shadow-slate-700/[.8] pb-6 pt-4 px-3 pr-3",children:s.jsx(Hg,{disableWidth:!0,children:({height:de})=>{var Me;return mr&&de&&de>0&&s.jsxs(Q,{className:"flex flex-col h-[calc(100vh-95px)] relative",id:"side-panel_tour",children:[s.jsx(Q,{className:"flex flex-row bg-slate-100 dark:bg-slate-700 rounded-md p-0 items-center h-[40px] mb-3",id:"history-find_tour",children:T&&Ge.length===0?s.jsx(mj,{id:"history::pinnedzone",className:"w-full h-full",isActive:!!T,children:s.jsx(Q,{ref:H?null:_t,className:"".concat(H?"!bg-orange-100 dark:!bg-orange-500/40":""," ").concat(T?"":"animate-in fade-in"," py-1 bg-orange-50 dark:bg-orange-800/40 mt-0 my-2 rounded-md relative w-full h-full"),children:T&&s.jsx(Q,{className:"z-100 absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 h-full w-full flex items-center justify-center p-1",children:s.jsx(Q,{className:"border-2 ".concat(H?"border-orange-400 dark:border-orange-500":"border-slate-200 dark:border-slate-500"," border-dashed rounded-md flex items-center justify-center h-full w-full"),children:H?s.jsx(J,{className:"!text-orange-400 dark:text-orange-500 !font-medium animate-in fade-in duration-300 text-sm",children:ot("Drop to Pin",{ns:"dashboard"})}):s.jsx(kc,{size:18,className:"text-orange-300 dark:text-orange-500 animate-in fade-in duration-300"})})})})}):s.jsxs(s.Fragment,{children:[s.jsx(Qu,{placeholder:"".concat(ot("Find in history",{ns:"dashboard"}),"..."),autoFocus:Rt.length>0,type:"search",onChange:ze=>{Xt(ze.target.value)},value:Rt,ref:Gt,iconLeft:s.jsx(mm,{className:"h-4 w-4"}),classNameInput:"w-full pr-0",className:"text-md ring-offset-0 bg-slate-100 dark:bg-slate-700 border-r-0 border-t-0 border-b-0"},"search-history"),s.jsx(Eje,{setHistoryFilters:w,historyFilters:S,avaliableCodeLanguages:ct,codeFilters:g,setCodeFilters:b,children:s.jsxs(ye,{variant:"ghost",className:"relative cursor-pointer px-1 mr-2",children:[s.jsx(Fie,{size:20,className:"".concat(S.length?"text-blue-500 hover:text-blue-500/70":"text-slate-400 hover:text-slate-400/70"," ")}),S.length>0&&s.jsx(lt,{className:"absolute right-[-10px] top-[-10px] bg-blue-500 hover:bg-blue-500",children:S.length})]})})]})}),dr?s.jsx(Q,{className:"cursor-pointer absolute top-[49px] animate-in fade-in fade-out flex justify-center w-full pointer-events-none",children:s.jsx(Be,{text:ot("Clear found results and filters",{ns:"common"}),isDisabled:!!T,className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"top",onClick:()=>{var ze;Xt(""),w([]),b([]),Gt!=null&&Gt.current&&Gt.current.value&&(Gt.current.value="",(ze=Gt==null?void 0:Gt.current)==null||ze.focus())},sideOffset:10,children:s.jsx(J,{className:"text-xs text-center dark:text-slate-800 bg-blue-200 dark:bg-blue-400 rounded-full px-3 cursor-pointer pointer-events-auto",children:ge.length?s.jsxs(s.Fragment,{children:[ge.length<100?ge.length:"100+"," ",ot("found",{ns:"common"})]}):s.jsx(s.Fragment,{children:ot("Nothing found",{ns:"common"})})})})}):Ge.length>0&&s.jsx(mj,{id:"history::pinnedzone",isActive:!!T&&!re,children:s.jsxs(Q,{onMouseEnter:()=>{It.value=!0},onMouseLeave:()=>{It.value=!1},onClick:()=>{It.value=!0},ref:H?null:_t,className:"".concat(H?"!bg-orange-100 dark:!bg-orange-500/40":""," ").concat(T?ae?"":"min-h-[32px]":"animate-in fade-in"," ").concat(ae?"py-2":"py-1"," px-2 pb-0 bg-orange-200/70 dark:bg-orange-900/60 mt-0 my-2 rounded-md relative"),children:[T&&!re&&s.jsx(Q,{className:"z-100 absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 h-full w-full flex items-center justify-center p-1",children:s.jsx(Q,{className:"border-2 ".concat(H?"border-orange-400 dark:border-orange-500":"border-slate-200 dark:border-slate-500"," border-dashed rounded-md flex items-center justify-center h-full w-full"),children:H?s.jsx(J,{className:"!text-orange-400 dark:!text-orange-500 !font-medium animate-in fade-in duration-300 text-sm",children:ot("Drop to Pin",{ns:"dashboard"})}):s.jsx(kc,{size:18,className:"text-orange-300 dark:text-orange-500 animate-in fade-in duration-300"})})}),s.jsx(Lf,{defer:!0,style:{maxHeight:200},options:{overflow:{x:"hidden",y:"scroll"},scrollbars:{theme:Zt?"os-theme-light":"os-theme-dark",autoHide:"move"}},children:s.jsx(Q,{className:"flex flex-col gap-1 relative ".concat(T&&!re?"opacity-20":""),children:ae&&Ge.sort((ze,Ne)=>ze.pinnedOrderNumber-Ne.pinnedOrderNumber).map((ze,Ne)=>{const et=ze.historyId;return s.jsx(Q,{children:s.jsx(KS,{isPinnedTop:!0,isPinnedTopFirst:Ne===0,isDisabledPinnedMoveUp:Ne===0,isDisabledPinnedMoveDown:Ne===Ge.length-1,onMovePinnedUpDown:fr=>{v(fr)},isLinkCardPreviewEnabled:Ve,isLargeView:et===Ta.value,largeViewItemId:Ta.value,setLargeViewItemId:fr=>{Ta.value=fr},setSelectHistoryItem:yt,onCopy:t,onCopyPaste:o,pastingCountDown:et===ar?a:void 0,isPasted:et===ar,isCopied:et===ut,isSaved:et===c,setSavingItem:u,isDeleting:ne(et),isSelected:F.includes(et),setBrokenImageItem:Je,isBrokenImage:M.includes(et),showTimeAgo:!1,isExpanded:U.includes(et),isWrapText:Y.includes(et),searchTerm:dr?xr:"",showSelectHistoryItems:X,invalidateClipboardHistoryQuery:()=>{Ie(),Xe()},setExpanded:Wt,setWrapText:Mr,isDark:Zt,setRowHeight:Dt,clipboard:ze,removeLinkMetaData:Ze,generateLinkMetaData:Mt})},et)})})}),s.jsxs(me,{className:"justify-between",children:[ae?s.jsxs(me,{className:"animate-in fade-in duration-300 ".concat(T&&!re||!Vt?"opacity-0":""),children:[s.jsx(un,{className:"!text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent pl-0.5 pr-1 pt-0 ",title:Ns?ot("Sequence Paste",{ns:"common"}):ot("Sequence Copy",{ns:"common"}),children:Ns?s.jsx(Cs,{size:14,onClick:()=>{i(Ge.map(({historyId:ze})=>ze))}}):s.jsx(pa,{size:14,onClick:()=>{r(Ge.map(({historyId:ze})=>ze))}})}),s.jsxs(Ir,{onOpenChange:ze=>{Ft.value=ze},children:[s.jsx(Or,{asChild:!0,children:s.jsx(eN,{variant:"outline",title:ot("Sequence Delay Next",{ns:"common"}),className:"bg-orange-300/20 border-orange-300/50 dark:bg-orange-900/70 dark:border-orange-800/50 border h-[18px] cursor-pointer px-1.5 ml-1",children:s.jsxs(J,{className:"font-mono !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent font-semibold",children:[gt,"s"]})})}),s.jsxs(Ar,{className:"w-44",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:s.jsx(J,{size:"xs",children:ot("Sequence Copy Paste",{ns:"common"})})}),s.jsx(tr,{}),s.jsxs(Xs,{children:[s.jsx($s,{children:s.jsxs(me,{className:"flex w-full",children:[s.jsxs(J,{size:"xs",children:[ot("Delay Next",{ns:"common"}),"..."]}),s.jsxs(lt,{className:"ml-auto py-0 bg-slate-200 text-slate-500 dark:bg-slate-700 dark:text-slate-400",variant:"outline",children:[gt,"s"]})]})}),s.jsxs(zs,{children:[s.jsx(rr,{checked:gt===1,onSelect:()=>{Ke(1)},children:s.jsxs(J,{size:"xs",children:["1 ",ot("second",{ns:"common"})]})}),s.jsx(rr,{checked:gt===2,onSelect:()=>{Ke(2)},children:s.jsxs(J,{size:"xs",children:["2 ",ot("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:gt===3,onSelect:()=>{Ke(3)},children:s.jsxs(J,{size:"xs",children:["3 ",ot("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:gt===4,onSelect:()=>{Ke(4)},children:s.jsxs(J,{size:"xs",children:["4 ",ot("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:gt===5,onSelect:()=>{Ke(5)},children:s.jsxs(J,{size:"xs",children:["5 ",ot("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:gt===10,onSelect:()=>{Ke(10)},children:s.jsxs(J,{size:"xs",children:["10 ",ot("seconds",{ns:"common"})]})})]})]}),s.jsxs(Xs,{children:[s.jsx($s,{children:s.jsxs(me,{className:"flex w-full",children:[s.jsxs(J,{size:"xs",children:[ot("Reverse Order",{ns:"common"}),"..."]}),s.jsx(lt,{className:"ml-auto py-0 bg-slate-200 text-slate-500 dark:bg-slate-700 dark:text-slate-400",variant:"outline",children:Et?ot("Yes",{ns:"common"}):ot("No",{ns:"common"})})]})}),s.jsxs(zs,{children:[s.jsx(rr,{checked:!Et,onSelect:()=>{Re(!1)},children:s.jsx(J,{size:"xs",children:ot("No",{ns:"common"})})}),s.jsx(rr,{checked:Et,onSelect:()=>{Re(!0)},children:s.jsx(J,{size:"xs",children:ot("Yes",{ns:"common"})})})]})]})]})]})]}):s.jsx(Q,{}),!T&&s.jsxs(un,{className:"hover:underline ".concat(ae?"h-[30px]":"h-[26px]"," group !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent ").concat(ae?"":"pb-1"),title:ae?ot("Hide pinned history",{ns:"history"}):ot("View pinned history",{ns:"history"}),onClick:()=>{fe(!ae)},children:[s.jsxs(J,{className:"!font-medium text-xs !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 mr-1",children:[Ge.length," ",ot("Pinned",{ns:"common",count:Ge.length})]}),ae?s.jsx(Ow,{size:13,className:"group-hover:opacity-100 opacity-0"}):s.jsx(Zse,{size:13,className:"group-hover:opacity-100 opacity-0"})]}),ae?s.jsxs(Q,{className:"animate-in fade-in duration-300 ".concat(T&&!re||!Vt?"opacity-0":""),children:[s.jsx(un,{title:Kr?ot("Deselect pinned",{ns:"common"}):ot("Select pinned",{ns:"common"}),className:"!text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent px-2 pr-0 rounded-sm py-0 h-5",children:s.jsx(me,{className:"font-medium text-sm gap-1 !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400",children:Kr?s.jsx($w,{size:15,onClick:()=>{const ze=F.filter(Ne=>Ge.some(et=>et.historyId===Ne));G(F.filter(Ne=>!ze.includes(Ne)))}}):s.jsx($6,{size:17,onClick:()=>{G(F.concat(Ge.map(ze=>ze.historyId)))}})})}),s.jsx(YH,{onOpen:ze=>{Ft.value=ze},onCancel:()=>{setTimeout(()=>{Ft.value=!1,It.value=!1},300)},onConfirm:()=>pe(this,null,function*(){yield m({})}),buttonClassName:"group !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent px-2 pr-0.5 rounded-sm py-0 h-5"})]}):s.jsx(Q,{})]})]})}),ge.length>0||dr?s.jsx(en,{style:{height:de-(dr?115:Ge.length===0?85:ht?ht+103:85)},ref:ze=>{N.current=ze},onScroll:(ze,Ne)=>{oe(Ne)},className:"animate-in fade-in mr-[-10px] ".concat(dr?"mt-[20px]":""),children:({scrollableNodeRef:ze,contentNodeRef:Ne})=>s.jsxs("div",{className:"pr-[10px] relative h-full",id:"history-list_tour",children:[Pr&&s.jsx(Q,{className:"".concat(qt>0?"top-9":"top-1"," absolute z-100 animate-in fade-in fade-out duration-300 flex justify-center w-full ml-[-5px] pointer-events-none"),children:s.jsx(Be,{text:ot("Scroll to Top",{ns:"common"}),isDisabled:!!T,className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"bottom",asChild:!0,sideOffset:10,children:s.jsx(un,{className:"pointer-events-auto rounded-full bg-slate-300 dark:bg-slate-600 hover:bg-slate-200 hover:dark:bg-slate-700",onClick:()=>{vr(!0)},children:s.jsx(J,{className:"text-mute text-xs text-center px-3",children:Pr})})})}),qt>0&&!dr&&s.jsx(Q,{className:"absolute top-2 z-100 ml-[-5px] cursor-pointer animate-in fade-in fade-out duration-300 flex justify-center w-full pointer-events-none",children:s.jsx(Be,{text:ot("Update history list",{ns:"common"}),isDisabled:!!T,className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"top",asChild:!0,sideOffset:3,children:s.jsx(un,{className:"pointer-events-auto",onClick:()=>{pr()},children:s.jsxs(J,{className:"text-xs text-center dark:text-slate-800 bg-blue-200 dark:bg-blue-400 rounded-full px-3 cursor-pointer pointer-events-auto",children:["+ ",qt," ",ot("new clips",{ns:"dashboard"})]})})})}),!Pe&&!dr&&s.jsxs(Q,{className:"absolute bottom-2 z-100 ml-[-5px] animate-in fade-in fade-out duration-300 flex flex-col justify-center items-center w-full pointer-events-none",children:[s.jsx(Be,{text:ot("Turn on history capture",{ns:"dashboard"}),isDisabled:!!T,className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"top",asChild:!0,sideOffset:6,children:s.jsx(un,{className:"pointer-events-auto",onClick:()=>{Ee(!0)},children:s.jsx(J,{className:"text-xs text-center bg-yellow-200 dark:bg-yellow-800 rounded-full px-3 cursor-pointer pointer-events-auto",children:ot("History capture is off",{ns:"dashboard"})})})}),ge.length>0&&s.jsxs(J,{className:"text-xs text-center bg-slate-100 dark:bg-slate-700 rounded-full px-3 mt-2",children:[ot("Last update",{ns:"dashboard"}),":"," ",ge[0].timeAgo]})]}),Pe&&!dr&&!Oe&&s.jsx(Q,{className:"absolute bottom-2 z-100 ml-[-5px] animate-in fade-in fade-out duration-300 flex flex-col justify-center items-center w-full pointer-events-none",children:s.jsx(Be,{text:ot("Turn On auto update",{ns:"dashboard"}),isDisabled:!!T,className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"top",asChild:!0,sideOffset:10,children:s.jsx(un,{className:"pointer-events-auto",onClick:()=>{xt(!0)},children:s.jsx(J,{className:"text-xs text-center bg-yellow-200 dark:bg-yellow-800 rounded-full px-3 cursor-pointer pointer-events-auto",children:ot("Auto update is Off",{ns:"dashboard"})})})})}),s.jsx(f3e,{isItemLoaded:et=>ets.jsx(o3e,{overscanCount:10,height:de-(dr?60:85),itemCount:ge.length,width:"100%",itemSize:Ht,itemKey:Gr=>{var mn;return(mn=ge[Gr].historyId)!=null?mn:"id-${index}"},onItemsRendered:Gr=>{if(Gr.visibleStartIndex>10){const mn=ge[Gr.visibleStartIndex];mn!=null&&mn.timeAgo?Pr!==mn.timeAgo&&Nr(mn.timeAgo):Nr("")}else Pr&&Nr("");!xr&&et(Gr)},ref:Ji(Vr,fr),outerRef:Ji(C,ze),innerRef:Ne,children:({index:Gr,style:mn})=>{const Ol=ge[Gr],{historyId:aa,showTimeAgo:or,timeAgo:eC}=Ol;return s.jsx(KS,{isLargeView:aa===Ta.value,largeViewItemId:Ta.value,isLinkCardPreviewEnabled:Ve,setLargeViewItemId:K1=>{Ta.value=K1},setSelectHistoryItem:yt,onCopy:t,onCopyPaste:o,pastingCountDown:aa===ar?a:void 0,isPasted:aa===ar,isCopied:aa===ut,isSaved:aa===c,setSavingItem:u,isDeleting:ne(aa),isOverPinned:aa===H||!!H&&!!T&&F.includes(aa),isSelected:F.includes(aa),setBrokenImageItem:Je,isBrokenImage:M.includes(aa),showTimeAgo:or,timeAgo:eC,isExpanded:U.includes(aa),isWrapText:Y.includes(aa),searchTerm:dr?xr:"",showSelectHistoryItems:X,invalidateClipboardHistoryQuery:()=>{Ie(),Xe()},setExpanded:Wt,setWrapText:Mr,isDark:Zt,setRowHeight:Dt,clipboard:Ol,removeLinkMetaData:Ze,generateLinkMetaData:Mt,index:Gr,style:mn},aa)}})})]})}):!Fe&&((Me=rt==null?void 0:rt.pages)==null?void 0:Me.flat().length)===0&&s.jsx(me,{style:{height:de-85},className:"flex items-center flex-col gap-3 justify-center",children:s.jsx(J,{className:"animate-in fade-in duration-600 text-slate-300 text-xs bg-slate-100 rounded-full px-3 dark:text-slate-600 dark:bg-slate-900",children:ot("No Clipboard History",{ns:"dashboard"})})}),s.jsx(Dc,{children:s.jsx(m$,{dropAnimation:Jt,children:T?s.jsx(KS,{index:1,isWrapText:Y.includes(T),isExpanded:U.includes(T),style:{zIndex:999},showSelectHistoryItems:X,setSelectHistoryItem:yt,isDark:Zt,isBrokenImage:M.includes(T),setBrokenImageItem:Je,isDragPreview:!0,isDeleting:T===L||!!L&&F.includes(T),selectedItemsCount:F.length&&F.includes(T)?F.length:F.length+1,clipboard:ge.find(ze=>re?ze.historyId===T.toString().split("::pinned")[0]:ze.historyId===T)}):null})}),s.jsx(Q,{className:"flex-1 mt-2"}),s.jsxs(Qi,{className:"min-w-full flex flex-row justify-center h-10 items-center gap-2",value:je.pathname,onValueChange:ze=>{we(ze,{replace:!0})},children:[!T&&s.jsx(jje,{isDeleting:j,isDark:Zt,setIsDeleting:E,setSelectHistoryItem:yt,onDelete:(ze=!1)=>{var Ne;ze&&(Xt(""),w([]),b([]),Gt!=null&&Gt.current&&Gt.current.value&&(Gt.current.value="",(Ne=Gt==null?void 0:Gt.current)==null||Ne.focus())),Xe()},showSelectHistoryItems:X,setSelectedHistoryItems:G,setShowSelectHistoryItems:se,selectedHistoryItems:F}),s.jsx(Fo,{className:"self-center",id:"tabs-history_tour",children:T?s.jsx(bn,{value:"",className:"p-0.5",children:s.jsx(bje,{id:CR})}):s.jsxs(s.Fragment,{children:[s.jsx(bn,{value:"/history",className:"min-w-[90px]",children:ue<350?ot("History",{ns:"common"}):ot("Clipboard History",{ns:"common"})}),s.jsx(bn,{value:"/menu",className:"min-w-[90px]",children:ue<350?ot("Menu",{ns:"common"}):ot("Paste Menu",{ns:"common"})})]})})]})]})}})})}),s.jsx($_,{children:!Ta.value&&!Is.value?s.jsx(Q,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-50 border border-slate-200 shadow-sm rounded-xl dark:bg-gray-900/60 dark:border-gray-800 dark:shadow-slate-700/[.7]",children:s.jsx(Hg,{disableWidth:!0,children:({height:de})=>de&&de>0&&s.jsx(Q,{className:"p-2 pt-0 py-4 pr-0 pb-0 m-0 select-none",children:s.jsx(en,{style:{height:de-20},onScroll:(Me,ze)=>{oe(ze)},children:s.jsx(me,{style:{height:de-20},className:"flex items-start flex-col justify-start p-0",children:s.jsx(Rke,{historyDragActive:!!T,isDark:Zt,dragOverBoardId:I})})})})})}):s.jsx(Q,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-200 shadow-sm rounded-xl dark:bg-gray-800 dark:border-gray-700 dark:shadow-slate-700/[.7]",children:s.jsx(Hg,{disableWidth:!0,children:({height:de})=>de&&de>0&&s.jsxs(Q,{className:"p-4 py-3 select-auto relative pt-5 mt-3",children:[s.jsx(ye,{variant:"ghost",className:"z-10 px-2 absolute top-[-2px] right-[10px] text-slate-400 cursor-pointer hover:bg-slate-100 dark:text-slate-500 hover:dark:bg-slate-700",onClick:()=>{Is.value=null,Ta.value=null},children:s.jsx(wr,{size:22})}),s.jsx(en,{style:{height:de-40},autoHide:!1,onScroll:(Me,ze)=>{oe(ze)},children:s.jsxs(me,{style:{height:de-85},children:[Is.value&&s.jsx(DV,{clipId:Is.value,isHistoryDragActive:!!T,isDark:Zt}),yr&&s.jsx(Cje,{setLargeViewItemId:Me=>{Ta.value=Me},setSelectHistoryItem:yt,onCopy:t,onCopyPaste:o,pastingCountDown:yr.historyId===ar?a:null,isPasted:yr.historyId===ar,isCopied:yr.historyId===ut,isSaved:yr.historyId===c,setSavingItem:u,isDeleting:yr.historyId===L||!!L&&!!T&&F.includes(yr.historyId)||j&&F.includes(yr.historyId),isSelected:F.includes(yr.historyId),setBrokenImageItem:Je,isBrokenImage:M.includes(yr.historyId),showTimeAgo:yr.showTimeAgo,timeAgo:yr.timeAgo,searchTerm:dr?xr:"",invalidateClipboardHistoryQuery:()=>{Ie(),Xe()},setExpanded:Wt,isDark:Zt,clipboard:yr,removeLinkMetaData:Ze,generateLinkMetaData:Mt})]})})]})})})})]},le?"swap":"no-swap")})})}class AV{constructor(t){it(this,"root");this.root=Pje(t)}get data(){var t,r;return(r=(t=this.root.children)==null?void 0:t.map(n=>n.data))!=null?r:[]}create(t){const r=t.parentId?this.find(t.parentId):this.root;if(!r)return null;r.addChild(t.data,t.index)}move(t){const r=this.find(t.id),n=t.parentId?this.find(t.parentId):this.root;!r||!n||(n.addChild(r.data,t.index),r.drop())}update(t){const r=this.find(t.id);r&&r.update(t.changes)}drop(t){const r=this.find(t.id);r&&r.drop()}find(t,r=this.root){if(!r)return null;if(r.id===t)return r;if(r.children){for(let n of r.children){const a=this.find(t,n);if(a)return a}return null}return null}}function Pje(e){const t=new RV({id:"ROOT"},null);return t.children=e.map(r=>z_(r,t)),t}function z_(e,t){const r=new RV(e,t);return e.children&&(r.children=e.children.map(n=>z_(n,r))),r}class RV{constructor(t,r){it(this,"id");it(this,"children");this.data=t,this.parent=r,this.id=t.id}hasParent(){return!!this.parent}get childIndex(){return this.hasParent()?this.parent.children.indexOf(this):-1}addChild(t,r){var a,o;const n=z_(t,this);this.children=(a=this.children)!=null?a:[],this.children.splice(r,0,n),this.data.children=(o=this.data.children)!=null?o:[],this.data.children.splice(r,0,t)}removeChild(t){var r,n;(r=this.children)==null||r.splice(t,1),(n=this.data.children)==null||n.splice(t,1)}update(t){if(this.hasParent()){const r=this.childIndex;this.parent.addChild(R(R({},this.data),t),r),this.drop()}}drop(){this.hasParent()&&this.parent.removeChild(this.childIndex)}}let Mje=0;function Dje(e){const[t,r]=p.useState(e),n=p.useMemo(()=>new AV(t),[t]);return[t,{onMove:f=>{for(const h of f.dragIds)n.move({id:h,parentId:f.parentId,index:f.index});r(n.data)},onRename:({name:f,id:h})=>{n.update({id:h,changes:{name:f}}),r(n.data)},onCreate:({parentId:f,index:h,type:m})=>{const v={id:"simple-tree-id-".concat(Mje++),name:""};return m==="internal"&&(v.children=[]),n.create({parentId:f,index:h,data:v}),r(n.data),v},onDelete:f=>{f.ids.forEach(h=>n.drop({id:h})),r(n.data)}}]}function Aje(e){if(e.initialData&&e.data)throw new Error("React Arborist Tree => Provide either a data or initialData prop, but not both.");if(e.initialData&&(e.onCreate||e.onDelete||e.onMove||e.onRename))throw new Error("React Arborist Tree => You passed the initialData prop along with a data handler.\nUse the data prop if you want to provide your own handlers.");if(e.initialData){const[t,r]=Dje(e.initialData);return ee(R(R({},e),r),{data:t})}else return e}const LV=p.createContext({dragDropManager:void 0});function Pa(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var SR=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),YS=function(){return Math.random().toString(36).substring(7).split("").join(".")},nw={INIT:"@@redux/INIT"+YS(),REPLACE:"@@redux/REPLACE"+YS(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+YS()}};function Rje(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function F_(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Pa(0));if(typeof t=="function"&&typeof r=="undefined"&&(r=t,t=void 0),typeof r!="undefined"){if(typeof r!="function")throw new Error(Pa(1));return r(F_)(e,t)}if(typeof e!="function")throw new Error(Pa(2));var a=e,o=t,i=[],c=i,u=!1;function f(){c===i&&(c=i.slice())}function h(){if(u)throw new Error(Pa(3));return o}function m(g){if(typeof g!="function")throw new Error(Pa(4));if(u)throw new Error(Pa(5));var b=!0;return f(),c.push(g),function(){if(b){if(u)throw new Error(Pa(6));b=!1,f();var j=c.indexOf(g);c.splice(j,1),i=null}}}function v(g){if(!Rje(g))throw new Error(Pa(7));if(typeof g.type=="undefined")throw new Error(Pa(8));if(u)throw new Error(Pa(9));try{u=!0,o=a(o,g)}finally{u=!1}for(var b=i=c,C=0;Cn&&n[a]?n[a]:r||null,e)}function $je(e,t){return e.filter(r=>r!==t)}function IV(e){return typeof e=="object"}function zje(e,t){const r=new Map,n=o=>{r.set(o,r.has(o)?r.get(o)+1:1)};e.forEach(n),t.forEach(n);const a=[];return r.forEach((o,i)=>{o===1&&a.push(i)}),a}function Fje(e,t){return e.filter(r=>t.indexOf(r)>-1)}const H_="dnd-core/INIT_COORDS",Yk="dnd-core/BEGIN_DRAG",B_="dnd-core/PUBLISH_DRAG_SOURCE",Zk="dnd-core/HOVER",Xk="dnd-core/DROP",Qk="dnd-core/END_DRAG";function ER(e,t){return{type:H_,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}const Hje={type:H_,payload:{clientOffset:null,sourceClientOffset:null}};function Bje(e){return function(r=[],n={publishSource:!0}){const{publishSource:a=!0,clientOffset:o,getSourceClientOffset:i}=n,c=e.getMonitor(),u=e.getRegistry();e.dispatch(ER(o)),Uje(r,c,u);const f=qje(r,c);if(f==null){e.dispatch(Hje);return}let h=null;if(o){if(!i)throw new Error("getSourceClientOffset must be defined");Wje(i),h=i(f)}e.dispatch(ER(o,h));const v=u.getSource(f).beginDrag(c,f);if(v==null)return;Vje(v),u.pinSource(f);const S=u.getSourceType(f);return{type:Yk,payload:{itemType:S,item:v,sourceId:f,clientOffset:o||null,sourceClientOffset:h||null,isSourcePublic:!!a}}}}function Uje(e,t,r){jr(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach(function(n){jr(r.getSource(n),"Expected sourceIds to be registered.")})}function Wje(e){jr(typeof e=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function Vje(e){jr(IV(e),"Item must be an object.")}function qje(e,t){let r=null;for(let n=e.length-1;n>=0;n--)if(t.canDragSource(e[n])){r=e[n];break}return r}function Kje(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Gje(e){for(var t=1;t{const u=Xje(i,c,a,n),f={type:Xk,payload:{dropResult:Gje({},r,u)}};e.dispatch(f)})}}function Zje(e){jr(e.isDragging(),"Cannot call drop while not dragging."),jr(!e.didDrop(),"Cannot call drop twice during one drag operation.")}function Xje(e,t,r,n){const a=r.getTarget(e);let o=a?a.drop(n,e):void 0;return Qje(o),typeof o=="undefined"&&(o=t===0?{}:n.getDropResult()),o}function Qje(e){jr(typeof e=="undefined"||IV(e),"Drop result must either be an object or undefined.")}function Jje(e){const t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}function eEe(e){return function(){const r=e.getMonitor(),n=e.getRegistry();tEe(r);const a=r.getSourceId();return a!=null&&(n.getSource(a,!0).endDrag(r,a),n.unpinSource()),{type:Qk}}}function tEe(e){jr(e.isDragging(),"Cannot call endDrag while not dragging.")}function Jj(e,t){return t===null?e===null:Array.isArray(e)?e.some(r=>r===t):e===t}function rEe(e){return function(r,{clientOffset:n}={}){nEe(r);const a=r.slice(0),o=e.getMonitor(),i=e.getRegistry(),c=o.getItemType();return aEe(a,i,c),sEe(a,o,i),oEe(a,o,i),{type:Zk,payload:{targetIds:a,clientOffset:n||null}}}}function nEe(e){jr(Array.isArray(e),"Expected targetIds to be an array.")}function sEe(e,t,r){jr(t.isDragging(),"Cannot call hover while not dragging."),jr(!t.didDrop(),"Cannot call hover after drop.");for(let n=0;n=0;n--){const a=e[n],o=t.getTargetType(a);Jj(o,r)||e.splice(n,1)}}function oEe(e,t,r){e.forEach(function(n){r.getTarget(n).hover(t,n)})}function iEe(e){return function(){if(e.getMonitor().isDragging())return{type:B_}}}function lEe(e){return{beginDrag:Bje(e),publishDragSource:iEe(e),hover:rEe(e),drop:Yje(e),endDrag:eEe(e)}}class cEe{receiveBackend(t){this.backend=t}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const t=this,{dispatch:r}=this.store;function n(o){return(...i)=>{const c=o.apply(t,i);typeof c!="undefined"&&r(c)}}const a=lEe(this);return Object.keys(a).reduce((o,i)=>{const c=a[i];return o[i]=n(c),o},{})}dispatch(t){this.store.dispatch(t)}constructor(t,r){this.isSetUp=!1,this.handleRefCountChange=()=>{const n=this.store.getState().refCount>0;this.backend&&(n&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!n&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=t,this.monitor=r,t.subscribe(this.handleRefCountChange)}}function uEe(e,t){return{x:e.x+t.x,y:e.y+t.y}}function OV(e,t){return{x:e.x-t.x,y:e.y-t.y}}function dEe(e){const{clientOffset:t,initialClientOffset:r,initialSourceClientOffset:n}=e;return!t||!r||!n?null:OV(uEe(t,n),r)}function fEe(e){const{clientOffset:t,initialClientOffset:r}=e;return!t||!r?null:OV(t,r)}const ev=[],U_=[];ev.__IS_NONE__=!0;U_.__IS_ALL__=!0;function hEe(e,t){return e===ev?!1:e===U_||typeof t=="undefined"?!0:Fje(t,e).length>0}class pEe{subscribeToStateChange(t,r={}){const{handlerIds:n}=r;jr(typeof t=="function","listener must be a function."),jr(typeof n=="undefined"||Array.isArray(n),"handlerIds, when specified, must be an array of strings.");let a=this.store.getState().stateId;const o=()=>{const i=this.store.getState(),c=i.stateId;try{c===a||c===a+1&&!hEe(i.dirtyHandlerIds,n)||t()}finally{a=c}};return this.store.subscribe(o)}subscribeToOffsetChange(t){jr(typeof t=="function","listener must be a function.");let r=this.store.getState().dragOffset;const n=()=>{const a=this.store.getState().dragOffset;a!==r&&(r=a,t())};return this.store.subscribe(n)}canDragSource(t){if(!t)return!1;const r=this.registry.getSource(t);return jr(r,"Expected to find a valid source. sourceId=".concat(t)),this.isDragging()?!1:r.canDrag(this,t)}canDropOnTarget(t){if(!t)return!1;const r=this.registry.getTarget(t);if(jr(r,"Expected to find a valid target. targetId=".concat(t)),!this.isDragging()||this.didDrop())return!1;const n=this.registry.getTargetType(t),a=this.getItemType();return Jj(n,a)&&r.canDrop(this,t)}isDragging(){return!!this.getItemType()}isDraggingSource(t){if(!t)return!1;const r=this.registry.getSource(t,!0);if(jr(r,"Expected to find a valid source. sourceId=".concat(t)),!this.isDragging()||!this.isSourcePublic())return!1;const n=this.registry.getSourceType(t),a=this.getItemType();return n!==a?!1:r.isDragging(this,t)}isOverTarget(t,r={shallow:!1}){if(!t)return!1;const{shallow:n}=r;if(!this.isDragging())return!1;const a=this.registry.getTargetType(t),o=this.getItemType();if(o&&!Jj(a,o))return!1;const i=this.getTargetIds();if(!i.length)return!1;const c=i.indexOf(t);return n?c===i.length-1:c>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return dEe(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return fEe(this.store.getState().dragOffset)}constructor(t,r){this.store=t,this.registry=r}}const NR=typeof global!="undefined"?global:self,$V=NR.MutationObserver||NR.WebKitMutationObserver;function zV(e){return function(){const r=setTimeout(a,0),n=setInterval(a,50);function a(){clearTimeout(r),clearInterval(n),e()}}}function mEe(e){let t=1;const r=new $V(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){t=-t,n.data=t}}const gEe=typeof $V=="function"?mEe:zV;class vEe{enqueueTask(t){const{queue:r,requestFlush:n}=this;r.length||(n(),this.flushing=!0),r[r.length]=t}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:t}=this;for(;this.indexthis.capacity){for(let n=0,a=t.length-this.index;n{this.pendingErrors.push(t),this.requestErrorThrow()},this.requestFlush=gEe(this.flush),this.requestErrorThrow=zV(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class xEe{call(){try{this.task&&this.task()}catch(t){this.onError(t)}finally{this.task=null,this.release(this)}}constructor(t,r){this.onError=t,this.release=r,this.task=null}}class yEe{create(t){const r=this.freeTasks,n=r.length?r.pop():new xEe(this.onError,a=>r[r.length]=a);return n.task=t,n}constructor(t){this.onError=t,this.freeTasks=[]}}const FV=new vEe,bEe=new yEe(FV.registerPendingError);function wEe(e){FV.enqueueTask(bEe.create(e))}const W_="dnd-core/ADD_SOURCE",V_="dnd-core/ADD_TARGET",q_="dnd-core/REMOVE_SOURCE",Jk="dnd-core/REMOVE_TARGET";function kEe(e){return{type:W_,payload:{sourceId:e}}}function CEe(e){return{type:V_,payload:{targetId:e}}}function SEe(e){return{type:q_,payload:{sourceId:e}}}function jEe(e){return{type:Jk,payload:{targetId:e}}}function EEe(e){jr(typeof e.canDrag=="function","Expected canDrag to be a function."),jr(typeof e.beginDrag=="function","Expected beginDrag to be a function."),jr(typeof e.endDrag=="function","Expected endDrag to be a function.")}function NEe(e){jr(typeof e.canDrop=="function","Expected canDrop to be a function."),jr(typeof e.hover=="function","Expected hover to be a function."),jr(typeof e.drop=="function","Expected beginDrag to be a function.")}function eE(e,t){if(t&&Array.isArray(e)){e.forEach(r=>eE(r,!1));return}jr(typeof e=="string"||typeof e=="symbol",t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var ri;(function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"})(ri||(ri={}));let _Ee=0;function TEe(){return _Ee++}function PEe(e){const t=TEe().toString();switch(e){case ri.SOURCE:return"S".concat(t);case ri.TARGET:return"T".concat(t);default:throw new Error("Unknown Handler Role: ".concat(e))}}function _R(e){switch(e[0]){case"S":return ri.SOURCE;case"T":return ri.TARGET;default:throw new Error("Cannot parse handler ID: ".concat(e))}}function TR(e,t){const r=e.entries();let n=!1;do{const{done:a,value:[,o]}=r.next();if(o===t)return!0;n=!!a}while(!n);return!1}class MEe{addSource(t,r){eE(t),EEe(r);const n=this.addHandler(ri.SOURCE,t,r);return this.store.dispatch(kEe(n)),n}addTarget(t,r){eE(t,!0),NEe(r);const n=this.addHandler(ri.TARGET,t,r);return this.store.dispatch(CEe(n)),n}containsHandler(t){return TR(this.dragSources,t)||TR(this.dropTargets,t)}getSource(t,r=!1){return jr(this.isSourceId(t),"Expected a valid source ID."),r&&t===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(t)}getTarget(t){return jr(this.isTargetId(t),"Expected a valid target ID."),this.dropTargets.get(t)}getSourceType(t){return jr(this.isSourceId(t),"Expected a valid source ID."),this.types.get(t)}getTargetType(t){return jr(this.isTargetId(t),"Expected a valid target ID."),this.types.get(t)}isSourceId(t){return _R(t)===ri.SOURCE}isTargetId(t){return _R(t)===ri.TARGET}removeSource(t){jr(this.getSource(t),"Expected an existing source."),this.store.dispatch(SEe(t)),wEe(()=>{this.dragSources.delete(t),this.types.delete(t)})}removeTarget(t){jr(this.getTarget(t),"Expected an existing target."),this.store.dispatch(jEe(t)),this.dropTargets.delete(t),this.types.delete(t)}pinSource(t){const r=this.getSource(t);jr(r,"Expected an existing source."),this.pinnedSourceId=t,this.pinnedSource=r}unpinSource(){jr(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(t,r,n){const a=PEe(t);return this.types.set(a,r),t===ri.SOURCE?this.dragSources.set(a,n):t===ri.TARGET&&this.dropTargets.set(a,n),a}constructor(t){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=t}}const DEe=(e,t)=>e===t;function AEe(e,t){return!e&&!t?!0:!e||!t?!1:e.x===t.x&&e.y===t.y}function REe(e,t,r=DEe){if(e.length!==t.length)return!1;for(let n=0;n0||!REe(r,n)))return ev;const i=n[n.length-1],c=r[r.length-1];return i!==c&&(i&&a.push(i),c&&a.push(c)),a}function IEe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function OEe(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ZEe(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}let MR=0;const pb=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var XEe=p.memo(function(t){var{children:r}=t,n=YEe(t,["children"]);const[a,o]=QEe(n);return p.useEffect(()=>{if(o){const i=HV();return++MR,()=>{--MR===0&&(i[pb]=null)}}},[]),s.jsx(LV.Provider,{value:a,children:r})});function QEe(e){if("manager"in e)return[{dragDropManager:e.manager},!1];const t=JEe(e.backend,e.context,e.options,e.debugMode),r=!e.context;return[t,r]}function JEe(e,t=HV(),r,n){const a=t;return a[pb]||(a[pb]={dragDropManager:KEe(e,t,r,n)}),a[pb]}function HV(){return typeof global!="undefined"?global:window}var e6e=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,a,o;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(a=n;a--!==0;)if(!e(t[a],r[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(o=Object.keys(t),n=o.length,n!==Object.keys(r).length)return!1;for(a=n;a--!==0;)if(!Object.prototype.hasOwnProperty.call(r,o[a]))return!1;for(a=n;a--!==0;){var i=o[a];if(!e(t[i],r[i]))return!1}return!0}return t!==t&&r!==r};const t6e=rl(e6e),Wf=typeof window!="undefined"?p.useLayoutEffect:p.useEffect;function BV(e,t,r){const[n,a]=p.useState(()=>t(e)),o=p.useCallback(()=>{const i=t(e);t6e(n,i)||(a(i),r&&r())},[n,e,r]);return Wf(o),[n,o]}function r6e(e,t,r){const[n,a]=BV(e,t,r);return Wf(function(){const i=e.getHandlerId();if(i!=null)return e.subscribeToStateChange(a,{handlerIds:[i]})},[e,a]),n}function UV(e,t,r){return r6e(t,e||(()=>({})),()=>r.reconnect())}function WV(e,t){const r=[...t||[]];return t==null&&typeof e!="function"&&r.push(e),p.useMemo(()=>typeof e=="function"?e():e,r)}function n6e(e){return p.useMemo(()=>e.hooks.dragSource(),[e])}function s6e(e){return p.useMemo(()=>e.hooks.dragPreview(),[e])}let ZS=!1,XS=!1;class a6e{receiveHandlerId(t){this.sourceId=t}getHandlerId(){return this.sourceId}canDrag(){jr(!ZS,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return ZS=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{ZS=!1}}isDragging(){if(!this.sourceId)return!1;jr(!XS,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return XS=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{XS=!1}}subscribeToStateChange(t,r){return this.internalMonitor.subscribeToStateChange(t,r)}isDraggingSource(t){return this.internalMonitor.isDraggingSource(t)}isOverTarget(t,r){return this.internalMonitor.isOverTarget(t,r)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(t){return this.internalMonitor.subscribeToOffsetChange(t)}canDragSource(t){return this.internalMonitor.canDragSource(t)}canDropOnTarget(t){return this.internalMonitor.canDropOnTarget(t)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(t){this.sourceId=null,this.internalMonitor=t.getMonitor()}}let QS=!1;class o6e{receiveHandlerId(t){this.targetId=t}getHandlerId(){return this.targetId}subscribeToStateChange(t,r){return this.internalMonitor.subscribeToStateChange(t,r)}canDrop(){if(!this.targetId)return!1;jr(!QS,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return QS=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{QS=!1}}isOver(t){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,t):!1}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(t){this.targetId=null,this.internalMonitor=t.getMonitor()}}function i6e(e,t,r){const n=r.getRegistry(),a=n.addTarget(e,t);return[a,()=>n.removeTarget(a)]}function l6e(e,t,r){const n=r.getRegistry(),a=n.addSource(e,t);return[a,()=>n.removeSource(a)]}function tE(e,t,r,n){let a=r?r.call(n,e,t):void 0;if(a!==void 0)return!!a;if(e===t)return!0;if(typeof e!="object"||!e||typeof t!="object"||!t)return!1;const o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;const c=Object.prototype.hasOwnProperty.bind(t);for(let u=0;u, or turn it into a ")+"drag source or a drop target itself.")}function u6e(e){return(t=null,r=null)=>{if(!p.isValidElement(t)){const o=t;return e(o,r),o}const n=t;return c6e(n),d6e(n,r?o=>e(o,r):e)}}function VV(e){const t={};return Object.keys(e).forEach(r=>{const n=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{const a=u6e(n);t[r]=()=>a}}),t}function DR(e,t){typeof e=="function"?e(t):e.current=t}function d6e(e,t){const r=e.ref;return jr(typeof r!="string","Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a or
. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),r?p.cloneElement(e,{ref:n=>{DR(r,n),DR(t,n)}}):p.cloneElement(e,{ref:t})}class f6e{receiveHandlerId(t){this.handlerId!==t&&(this.handlerId=t,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(t){this.dragSourceOptionsInternal=t}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(t){this.dragPreviewOptionsInternal=t}reconnect(){const t=this.reconnectDragSource();this.reconnectDragPreview(t)}reconnectDragSource(){const t=this.dragSource,r=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return r&&this.disconnectDragSource(),this.handlerId?t?(r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=t,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,t,this.dragSourceOptions)),r):(this.lastConnectedDragSource=t,r):r}reconnectDragPreview(t=!1){const r=this.dragPreview,n=t||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(n&&this.disconnectDragPreview(),!!this.handlerId){if(!r){this.lastConnectedDragPreview=r;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=r,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,r,this.dragPreviewOptions))}}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!tE(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!tE(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(t){this.hooks=VV({dragSource:(r,n)=>{this.clearDragSource(),this.dragSourceOptions=n||null,rE(r)?this.dragSourceRef=r:this.dragSourceNode=r,this.reconnectDragSource()},dragPreview:(r,n)=>{this.clearDragPreview(),this.dragPreviewOptions=n||null,rE(r)?this.dragPreviewRef=r:this.dragPreviewNode=r,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=t}}class h6e{get connectTarget(){return this.dropTarget}reconnect(){const t=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();t&&this.disconnectDropTarget();const r=this.dropTarget;if(this.handlerId){if(!r){this.lastConnectedDropTarget=r;return}t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=r,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,r,this.dropTargetOptions))}}receiveHandlerId(t){t!==this.handlerId&&(this.handlerId=t,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(t){this.dropTargetOptionsInternal=t}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!tE(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(t){this.hooks=VV({dropTarget:(r,n)=>{this.clearDropTarget(),this.dropTargetOptions=n,rE(r)?this.dropTargetRef=r:this.dropTargetNode=r,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=t}}function nh(){const{dragDropManager:e}=p.useContext(LV);return jr(e!=null,"Expected drag drop context"),e}function p6e(e,t){const r=nh(),n=p.useMemo(()=>new f6e(r.getBackend()),[r]);return Wf(()=>(n.dragSourceOptions=e||null,n.reconnect(),()=>n.disconnectDragSource()),[n,e]),Wf(()=>(n.dragPreviewOptions=t||null,n.reconnect(),()=>n.disconnectDragPreview()),[n,t]),n}function m6e(){const e=nh();return p.useMemo(()=>new a6e(e),[e])}class g6e{beginDrag(){const t=this.spec,r=this.monitor;let n=null;return typeof t.item=="object"?n=t.item:typeof t.item=="function"?n=t.item(r):n={},n!=null?n:null}canDrag(){const t=this.spec,r=this.monitor;return typeof t.canDrag=="boolean"?t.canDrag:typeof t.canDrag=="function"?t.canDrag(r):!0}isDragging(t,r){const n=this.spec,a=this.monitor,{isDragging:o}=n;return o?o(a):r===t.getSourceId()}endDrag(){const t=this.spec,r=this.monitor,n=this.connector,{end:a}=t;a&&a(r.getItem(),r),n.reconnect()}constructor(t,r,n){this.spec=t,this.monitor=r,this.connector=n}}function v6e(e,t,r){const n=p.useMemo(()=>new g6e(e,t,r),[t,r]);return p.useEffect(()=>{n.spec=e},[e]),n}function x6e(e){return p.useMemo(()=>{const t=e.type;return jr(t!=null,"spec.type must be defined"),t},[e])}function y6e(e,t,r){const n=nh(),a=v6e(e,t,r),o=x6e(e);Wf(function(){if(o!=null){const[c,u]=l6e(o,a,n);return t.receiveHandlerId(c),r.receiveHandlerId(c),u}},[n,t,r,a,o])}function b6e(e,t){const r=WV(e,t);jr(!r.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const n=m6e(),a=p6e(r.options,r.previewOptions);return y6e(r,n,a),[UV(r.collect,n,a),n6e(a),s6e(a)]}function w6e(e){const r=nh().getMonitor(),[n,a]=BV(r,e);return p.useEffect(()=>r.subscribeToOffsetChange(a)),p.useEffect(()=>r.subscribeToStateChange(a)),n}function k6e(e){return p.useMemo(()=>e.hooks.dropTarget(),[e])}function C6e(e){const t=nh(),r=p.useMemo(()=>new h6e(t.getBackend()),[t]);return Wf(()=>(r.dropTargetOptions=e||null,r.reconnect(),()=>r.disconnectDropTarget()),[e]),r}function S6e(){const e=nh();return p.useMemo(()=>new o6e(e),[e])}function j6e(e){const{accept:t}=e;return p.useMemo(()=>(jr(e.accept!=null,"accept must be defined"),Array.isArray(t)?t:[t]),[t])}class E6e{canDrop(){const t=this.spec,r=this.monitor;return t.canDrop?t.canDrop(r.getItem(),r):!0}hover(){const t=this.spec,r=this.monitor;t.hover&&t.hover(r.getItem(),r)}drop(){const t=this.spec,r=this.monitor;if(t.drop)return t.drop(r.getItem(),r)}constructor(t,r){this.spec=t,this.monitor=r}}function N6e(e,t){const r=p.useMemo(()=>new E6e(e,t),[t]);return p.useEffect(()=>{r.spec=e},[e]),r}function _6e(e,t,r){const n=nh(),a=N6e(e,t),o=j6e(e);Wf(function(){const[c,u]=i6e(o,a,n);return t.receiveHandlerId(c),r.receiveHandlerId(c),u},[n,t,a,r,o.map(i=>i.toString()).join("|")])}function qV(e,t){const r=WV(e,t),n=S6e(),a=C6e(r.options);return _6e(r,n,a),[UV(r.collect,n,a),k6e(a)]}const KV=p.createContext(null);function Va(){const e=p.useContext(KV);if(e===null)throw new Error("No Tree Api Provided");return e}const GV=p.createContext(null);function T6e(){const e=p.useContext(GV);if(e===null)throw new Error("Provide a NodesContext");return e}const YV=p.createContext(null);function P6e(){const e=p.useContext(YV);if(e===null)throw new Error("Provide a DnDContext");return e}const ZV=p.createContext(0);function K_(){p.useContext(ZV)}const M6e={position:"fixed",pointerEvents:"none",zIndex:100,left:0,top:0,width:"100%",height:"100%"},D6e=e=>{if(!e)return{display:"none"};const{x:t,y:r}=e;return{transform:"translate(".concat(t,"px, ").concat(r,"px)")}},A6e=e=>{if(!e)return{display:"none"};const{x:t,y:r}=e;return{transform:"translate(".concat(t+10,"px, ").concat(r+10,"px)")}};function XV({offset:e,mouse:t,id:r,dragIds:n,isDragging:a}){return s.jsxs(R6e,{isDragging:a,children:[s.jsx(L6e,{offset:e,children:s.jsx(O6e,{id:r,dragIds:n})}),s.jsx(I6e,{mouse:t,count:n.length})]})}const R6e=p.memo(function(t){return t.isDragging?s.jsx("div",{style:M6e,children:t.children}):null});function L6e(e){return s.jsx("div",{className:"row preview",style:D6e(e.offset),children:e.children})}function I6e(e){const{count:t,mouse:r}=e;return t>1?s.jsx("div",{className:"selected-count",style:A6e(r),children:t}):null}const O6e=p.memo(function(t){const r=Va(),n=r.get(t.id);return n?s.jsx(r.renderNode,{preview:!0,node:n,style:{paddingLeft:n.level*r.indent,opacity:.5,background:"transparent"},tree:r}):null});function $6e(){const e=Va(),{offset:t,mouse:r,item:n,isDragging:a}=w6e(i=>({offset:i.getSourceClientOffset(),mouse:i.getClientOffset(),item:i.getItem(),isDragging:i.isDragging()})),o=e.props.renderDragPreview||XV;return s.jsx(o,{offset:t,mouse:r,id:(n==null?void 0:n.id)||null,dragIds:(n==null?void 0:n.dragIds)||[],isDragging:a})}const Yv=e=>{var t;return{nodes:{open:{filtered:{},unfiltered:(t=e==null?void 0:e.initialOpenState)!=null?t:{}},focus:{id:null,treeFocused:!1},edit:{id:null},drag:{id:null,idWillReceiveDrop:null},selection:{ids:new Set,anchor:null,mostRecent:null}},dnd:{cursor:{type:"none"},dragId:null,dragIds:[],parentId:null,index:-1}}},_m={cursor(e){return{type:"DND_CURSOR",cursor:e}},dragStart(e,t){return{type:"DND_DRAG_START",id:e,dragIds:t}},dragEnd(){return{type:"DND_DRAG_END"}},hovering(e,t){return{type:"DND_HOVERING",parentId:e,index:t}}};function z6e(e=Yv().dnd,t){switch(t.type){case"DND_CURSOR":return ee(R({},e),{cursor:t.cursor});case"DND_DRAG_START":return ee(R({},e),{dragId:t.id,dragIds:t.dragIds});case"DND_DRAG_END":return Yv().dnd;case"DND_HOVERING":return ee(R({},e),{parentId:t.parentId,index:t.index});default:return e}}function QV(e,t,r){return Math.max(Math.min(e,r),t)}function JV(e){return e&&e.isLeaf}function eq(e){return e&&e.isInternal&&!e.isOpen}const tq=(e,t)=>{let r=e;for(;r;){if(r.id===t.id)return!0;r=r.parent}return!1},rq=e=>{if(!e.parent)throw Error("Node does not have a parent");return e.parent.children.findIndex(t=>t.id===e.id)};function F6e(){}function G_(e,t){if(!e)return null;if(e.id===t)return e;if(e.children)for(let r of e.children){const n=G_(r,t);if(n)return n}return null}function sw(e,t){if(t(e),e.children)for(let r of e.children)sw(r,t)}function nq(e){const t=aq(e);let r;for(let n=0;n=0?e[t-1]:e[e.length-1]}function aq(e){return Array.from(document.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), details:not([disabled]), summary:not(:disabled)')).filter(t=>t===e||!e.contains(t))}function jg(e,t){return typeof t=="boolean"?t:typeof t=="string"?e[t]:t(e)}function oq(e){return e===null?null:$d(e)}function $d(e){return typeof e=="string"?e:e.id}function U6e(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}function iq(e,...t){if(e)return e(...t)}function lq(e){return new Promise((t,r)=>{let n=0;function a(){n+=1,n===100&&r(),e()?t():setTimeout(a,10)}a()})}function cq(e){var r,n;const t=e.focusedNode;return t?t.isOpen?0:t.parent?t.childIndex+1:0:(n=(r=e.root.children)==null?void 0:r.length)!=null?n:0}function uq(e){const t=e.focusedNode;return t?t.isOpen?t.id:t.parent&&!t.parent.isRoot?t.parent.id:null:null}const W6e=Object.freeze(Object.defineProperty({__proto__:null,access:jg,bound:QV,dfs:G_,focusNextElement:nq,focusPrevElement:sq,getInsertIndex:cq,getInsertParentId:uq,identify:$d,identifyNull:oq,indexOf:rq,isClosed:eq,isDecendent:tq,isItem:JV,mergeRefs:U6e,noop:F6e,safeRun:iq,waitFor:lq,walk:sw},Symbol.toStringTag,{value:"Module"}));function V6e(e,t){const r=e.getBoundingClientRect(),n=t.x-Math.round(r.x),a=t.y-Math.round(r.y),o=r.height,i=au&&at;)r=r.parent;const n=((o=r.parent)==null?void 0:o.id)||null,a=rq(r)+1;return{parentId:n,index:a}}function dq(e){var c;const t=V6e(e.element,e.offset),{node:r,nextNode:n,prevNode:a}=e,[o,i]=q6e(r,a,n,t);if(r&&r.isInternal&&t.inMiddle)return{drop:JS(r.id,0),cursor:G6e(r.id)};if(!o)return{drop:JS((c=i==null?void 0:i.parent)==null?void 0:c.id,0),cursor:e3(0,0)};if(JV(o)||eq(o)){const u=K6e(t,o,i,e.indent);return{drop:Y6e(o,u),cursor:e3(o.rowIndex+1,u)}}return{drop:JS(o==null?void 0:o.id,0),cursor:e3(o.rowIndex+1,o.level+1)}}function Z6e(){const e=Va(),[,t]=qV(()=>({accept:"NODE",canDrop:(r,n)=>n.isOver({shallow:!0})?e.canDrop():!1,hover:(r,n)=>{if(!n.isOver({shallow:!0}))return;const a=n.getClientOffset();if(!e.listEl.current||!a)return;const{cursor:o,drop:i}=dq({element:e.listEl.current,offset:a,indent:e.indent,node:null,prevNode:e.visibleNodes[e.visibleNodes.length-1],nextNode:null});i&&e.dispatch(_m.hovering(i.parentId,i.index)),n.canDrop()?o&&e.showCursor(o):e.hideCursor()}}),[e]);t(e.listEl)}function X6e(e){return Z6e(),e.children}function fq(e){let t=null;return()=>(t==null&&(t=e()),t)}function Q6e(e,t){return e.filter(r=>r!==t)}function J6e(e,t){const r=new Set,n=o=>r.add(o);e.forEach(n),t.forEach(n);const a=[];return r.forEach(o=>a.push(o)),a}class eNe{enter(t){const r=this.entered.length,n=a=>this.isNodeInDocument(a)&&(!a.contains||a.contains(t));return this.entered=J6e(this.entered.filter(n),[t]),r===0&&this.entered.length>0}leave(t){const r=this.entered.length;return this.entered=Q6e(this.entered.filter(this.isNodeInDocument),t),r>0&&this.entered.length===0}reset(){this.entered=[]}constructor(t){this.entered=[],this.isNodeInDocument=t}}class tNe{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(t=>{Object.defineProperty(this.item,t,{configurable:!0,enumerable:!0,get(){return console.warn("Browser doesn't allow reading \"".concat(t,'" until the drop event.')),null}})})}loadDataTransfer(t){if(t){const r={};Object.keys(this.config.exposeProperties).forEach(n=>{const a=this.config.exposeProperties[n];a!=null&&(r[n]={value:a(t,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,r)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(t,r){return r===t.getSourceId()}endDrag(){}constructor(t){this.config=t,this.item={},this.initializeExposedProperties()}}const hq="__NATIVE_FILE__",pq="__NATIVE_URL__",mq="__NATIVE_TEXT__",gq="__NATIVE_HTML__",AR=Object.freeze(Object.defineProperty({__proto__:null,FILE:hq,HTML:gq,TEXT:mq,URL:pq},Symbol.toStringTag,{value:"Module"}));function t3(e,t,r){const n=t.reduce((a,o)=>a||e.getData(o),"");return n!=null?n:r}const nE={[hq]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[gq]:{exposeProperties:{html:(e,t)=>t3(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[pq]:{exposeProperties:{urls:(e,t)=>t3(e,t,"").split("\n"),dataTransfer:e=>e},matchesTypes:["Url","text/uri-list"]},[mq]:{exposeProperties:{text:(e,t)=>t3(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function rNe(e,t){const r=nE[e];if(!r)throw new Error("native type ".concat(e," has no configuration"));const n=new tNe(r);return n.loadDataTransfer(t),n}function r3(e){if(!e)return null;const t=Array.prototype.slice.call(e.types||[]);return Object.keys(nE).filter(r=>{const n=nE[r];return n!=null&&n.matchesTypes?n.matchesTypes.some(a=>t.indexOf(a)>-1):!1})[0]||null}const nNe=fq(()=>/firefox/i.test(navigator.userAgent)),vq=fq(()=>!!window.safari);class RR{interpolate(t){const{xs:r,ys:n,c1s:a,c2s:o,c3s:i}=this;let c=r.length-1;if(t===r[c])return n[c];let u=0,f=i.length-1,h;for(;u<=f;){h=Math.floor(.5*(u+f));const S=r[h];if(St)f=h-1;else return n[h]}c=Math.max(0,f);const m=t-r[c],v=m*m;return n[c]+a[c]*m+o[c]*v+i[c]*m*v}constructor(t,r){const{length:n}=t,a=[];for(let S=0;St[S]{let A=new RR([0,.5,1],[u.y,u.y/h*w,u.y+w-h]).interpolate(v);return vq()&&o&&(A+=(window.devicePixelRatio-1)*w),A},b=()=>new RR([0,.5,1],[u.x,u.x/f*S,u.x+S-f]).interpolate(m),{offsetX:C,offsetY:j}=a,E=C===0||C,N=j===0||j;return{x:E?C:b(),y:N?j:g()}}class lNe{get window(){if(this.globalContext)return this.globalContext;if(typeof window!="undefined")return window}get document(){var t;return!((t=this.globalContext)===null||t===void 0)&&t.document?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var t;return((t=this.optionsArgs)===null||t===void 0?void 0:t.rootElement)||this.window}constructor(t,r){this.ownerDocument=null,this.globalContext=t,this.optionsArgs=r}}function cNe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function LR(e){for(var t=1;t{this.sourcePreviewNodes.delete(t),this.sourcePreviewNodeOptions.delete(t)}}connectDragSource(t,r,n){this.sourceNodes.set(t,r),this.sourceNodeOptions.set(t,n);const a=i=>this.handleDragStart(i,t),o=i=>this.handleSelectStart(i);return r.setAttribute("draggable","true"),r.addEventListener("dragstart",a),r.addEventListener("selectstart",o),()=>{this.sourceNodes.delete(t),this.sourceNodeOptions.delete(t),r.removeEventListener("dragstart",a),r.removeEventListener("selectstart",o),r.setAttribute("draggable","false")}}connectDropTarget(t,r){const n=i=>this.handleDragEnter(i,t),a=i=>this.handleDragOver(i,t),o=i=>this.handleDrop(i,t);return r.addEventListener("dragenter",n),r.addEventListener("dragover",a),r.addEventListener("drop",o),()=>{r.removeEventListener("dragenter",n),r.removeEventListener("dragover",a),r.removeEventListener("drop",o)}}addEventListeners(t){t.addEventListener&&(t.addEventListener("dragstart",this.handleTopDragStart),t.addEventListener("dragstart",this.handleTopDragStartCapture,!0),t.addEventListener("dragend",this.handleTopDragEndCapture,!0),t.addEventListener("dragenter",this.handleTopDragEnter),t.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.addEventListener("dragover",this.handleTopDragOver),t.addEventListener("dragover",this.handleTopDragOverCapture,!0),t.addEventListener("drop",this.handleTopDrop),t.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(t){t.removeEventListener&&(t.removeEventListener("dragstart",this.handleTopDragStart),t.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),t.removeEventListener("dragend",this.handleTopDragEndCapture,!0),t.removeEventListener("dragenter",this.handleTopDragEnter),t.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.removeEventListener("dragover",this.handleTopDragOver),t.removeEventListener("dragover",this.handleTopDragOverCapture,!0),t.removeEventListener("drop",this.handleTopDrop),t.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const t=this.monitor.getSourceId(),r=this.sourceNodeOptions.get(t);return LR({dropEffect:this.altKeyPressed?"copy":"move"},r||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const t=this.monitor.getSourceId(),r=this.sourcePreviewNodeOptions.get(t);return LR({anchorX:.5,anchorY:.5,captureDraggingState:!1},r||{})}isDraggingNativeItem(){const t=this.monitor.getItemType();return Object.keys(AR).some(r=>AR[r]===t)}beginDragNativeItem(t,r){this.clearCurrentDragSourceNode(),this.currentNativeSource=rNe(t,r),this.currentNativeHandle=this.registry.addSource(t,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(t){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=t;const r=1e3;this.mouseMoveTimeoutTimer=setTimeout(()=>{var n;return(n=this.rootElement)===null||n===void 0?void 0:n.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},r)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var t;(t=this.window)===null||t===void 0||t.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(t,r){t.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(r))}handleDragEnter(t,r){this.dragEnterTargetIds.unshift(r)}handleDragOver(t,r){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(r)}handleDrop(t,r){this.dropTargetIds.unshift(r)}constructor(t,r,n){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=a=>{const o=this.sourceNodes.get(a);return o&&xq(o)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=a=>!!(a&&this.document&&this.document.body&&this.document.body.contains(a)),this.endDragIfSourceWasRemovedFromDOM=()=>{const a=this.currentDragSourceNode;a==null||this.isNodeInDocument(a)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=a=>{this.hoverRafId===null&&typeof requestAnimationFrame!="undefined"&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(a||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{this.hoverRafId!==null&&typeof cancelAnimationFrame!="undefined"&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=a=>{if(a.defaultPrevented)return;const{dragStartSourceIds:o}=this;this.dragStartSourceIds=null;const i=Ry(a);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(o||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:i});const{dataTransfer:c}=a,u=r3(c);if(this.monitor.isDragging()){if(c&&typeof c.setDragImage=="function"){const h=this.monitor.getSourceId(),m=this.sourceNodes.get(h),v=this.sourcePreviewNodes.get(h)||m;if(v){const{anchorX:S,anchorY:w,offsetX:g,offsetY:b}=this.getCurrentSourcePreviewNodeOptions(),E=iNe(m,v,i,{anchorX:S,anchorY:w},{offsetX:g,offsetY:b});c.setDragImage(v,E.x,E.y)}}try{c==null||c.setData("application/json",{})}catch(h){}this.setCurrentDragSourceNode(a.target);const{captureDraggingState:f}=this.getCurrentSourcePreviewNodeOptions();f?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(u)this.beginDragNativeItem(u);else{if(c&&!c.types&&(a.target&&!a.target.hasAttribute||!a.target.hasAttribute("draggable")))return;a.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=a=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var o;(o=this.currentNativeSource)===null||o===void 0||o.loadDataTransfer(a.dataTransfer)}if(!this.enterLeaveCounter.enter(a.target)||this.monitor.isDragging())return;const{dataTransfer:c}=a,u=r3(c);u&&this.beginDragNativeItem(u,c)},this.handleTopDragEnter=a=>{const{dragEnterTargetIds:o}=this;if(this.dragEnterTargetIds=[],!this.monitor.isDragging())return;this.altKeyPressed=a.altKey,o.length>0&&this.actions.hover(o,{clientOffset:Ry(a)}),o.some(c=>this.monitor.canDropOnTarget(c))&&(a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect=this.getCurrentDropEffect()))},this.handleTopDragOverCapture=a=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var o;(o=this.currentNativeSource)===null||o===void 0||o.loadDataTransfer(a.dataTransfer)}},this.handleTopDragOver=a=>{const{dragOverTargetIds:o}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect="none");return}this.altKeyPressed=a.altKey,this.lastClientOffset=Ry(a),this.scheduleHover(o),(o||[]).some(c=>this.monitor.canDropOnTarget(c))?(a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?a.preventDefault():(a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=a=>{this.isDraggingNativeItem()&&a.preventDefault(),this.enterLeaveCounter.leave(a.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=a=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var o;a.preventDefault(),(o=this.currentNativeSource)===null||o===void 0||o.loadDataTransfer(a.dataTransfer)}else r3(a.dataTransfer)&&a.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=a=>{const{dropTargetIds:o}=this;this.dropTargetIds=[],this.actions.hover(o,{clientOffset:Ry(a)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=a=>{const o=a.target;typeof o.dragDrop=="function"&&(o.tagName==="INPUT"||o.tagName==="SELECT"||o.tagName==="TEXTAREA"||o.isContentEditable||(a.preventDefault(),o.dragDrop()))},this.options=new lNe(r,n),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new eNe(this.isNodeInDocument)}}let Ly;function dNe(){return Ly||(Ly=new Image,Ly.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),Ly}const fNe=function(t,r,n){return new uNe(t,r,n)},yq=p.forwardRef(function(a,n){var o=a,{style:t}=o,r=ke(o,["style"]);var f,h,m,v;const i=Va(),c=(h=(f=i.props.padding)!=null?f:i.props.paddingTop)!=null?h:0,u=(v=(m=i.props.padding)!=null?m:i.props.paddingBottom)!=null?v:0;return s.jsx("div",R({ref:n,style:ee(R({},t),{height:"".concat(parseFloat(t.height)+c+u,"px")})},r))});function hNe(){var c,u;const e=Va(),r=P6e().cursor;if(!r||r.type!=="line")return null;const n=e.indent,a=e.rowHeight*r.index+((u=(c=e.props.padding)!=null?c:e.props.paddingTop)!=null?u:0),o=n*r.level,i=e.renderCursor;return s.jsx(i,{top:a,left:o,indent:n})}const bq=p.forwardRef(function(t,r){const i=t,{children:n}=i,a=ke(i,["children"]),o=Va();return s.jsxs("div",ee(R({ref:r},a),{onClick:c=>{c.currentTarget===c.target&&o.deselectAll()},children:[s.jsx(pNe,{}),n]}))}),pNe=()=>{const e=Va();return s.jsx("div",{style:{height:e.visibleNodes.length*e.rowHeight,width:"100%",position:"absolute",left:"0",right:"0"},children:s.jsx(hNe,{})})};class aw{constructor(t){it(this,"tree");it(this,"id");it(this,"data");it(this,"level");it(this,"children");it(this,"parent");it(this,"isDraggable");it(this,"rowIndex");it(this,"handleClick",t=>{t.metaKey&&!this.tree.props.disableMultiSelection?this.isSelected?this.deselect():this.selectMulti():t.shiftKey&&!this.tree.props.disableMultiSelection?this.selectContiguous():(this.select(),this.activate())});this.tree=t.tree,this.id=t.id,this.data=t.data,this.level=t.level,this.children=t.children,this.parent=t.parent,this.isDraggable=t.isDraggable,this.rowIndex=t.rowIndex}get isRoot(){return this.id===Zv}get isLeaf(){return!Array.isArray(this.children)}get isInternal(){return!this.isLeaf}get isOpen(){return this.tree.closedFolderIds.length>0?!this.tree.closedFolderIds.includes(this.id):this.isLeaf?!1:this.tree.isOpen(this.id)}get isClosed(){return this.tree.closedFolderIds.length>0?this.tree.closedFolderIds.includes(this.id):this.isLeaf?!1:!this.tree.isOpen(this.id)}get isEditable(){return this.tree.isEditable(this.data)}get isEditing(){return this.tree.editingId===this.id}get isSelected(){return this.tree.isSelected(this.id)}get isOnlySelection(){return this.isSelected&&this.tree.hasOneSelection}get isSelectedStart(){var t;return this.isSelected&&!((t=this.prev)!=null&&t.isSelected)}get isSelectedEnd(){var t;return this.isSelected&&!((t=this.next)!=null&&t.isSelected)}get isFocused(){return this.tree.isFocused(this.id)}get isDragging(){return this.tree.isDragging(this.id)}get willReceiveDrop(){return this.tree.willReceiveDrop(this.id)}get state(){return{isClosed:this.isClosed,isDragging:this.isDragging,isEditing:this.isEditing,isFocused:this.isFocused,isInternal:this.isInternal,isLeaf:this.isLeaf,isOpen:this.isOpen,isSelected:this.isSelected,isSelectedEnd:this.isSelectedEnd,isSelectedStart:this.isSelectedStart,willReceiveDrop:this.willReceiveDrop}}get childIndex(){return this.parent&&this.parent.children?this.parent.children.findIndex(t=>t.id===this.id):-1}get next(){return this.rowIndex===null?null:this.tree.at(this.rowIndex+1)}get prev(){return this.rowIndex===null?null:this.tree.at(this.rowIndex-1)}get nextSibling(){var r,n;const t=this.childIndex;return(n=(r=this.parent)==null?void 0:r.children[t+1])!=null?n:null}select(){this.tree.select(this)}deselect(){this.tree.deselect(this)}selectMulti(){this.tree.selectMulti(this)}selectContiguous(){this.tree.selectContiguous(this)}activate(){this.tree.activate(this)}focus(){this.tree.focus(this)}toggle(){this.tree.toggle(this)}open(){this.tree.open(this)}openParents(){this.tree.openParents(this)}close(){this.tree.close(this)}submit(t){this.tree.submit(this,t)}reset(){this.tree.reset()}clone(){return new aw(R({},this))}edit(){return this.tree.edit(this)}}const Zv="ROOT";function IR(e){var a;function t(o,i,c){const u=e.accessId(o),f=new aw({tree:e,data:o,level:i,parent:c,id:u,children:null,isDraggable:e.isDraggable(o),rowIndex:null}),h=e.accessChildren(o);return h&&(f.children=h.map(m=>t(m,i+1,f))),f}const r=new aw({tree:e,id:Zv,data:{id:Zv},level:-1,parent:null,children:null,isDraggable:!0,rowIndex:null}),n=(a=e.props.data)!=null?a:[];return r.children=n.map(o=>t(o,0,r)),r}function mNe(e){const t=Va(),r=t.selectedIds,[n,a,o]=b6e(()=>({canDrag:()=>e.isDraggable,type:"NODE",item:()=>{const i=t.isSelected(e.id)?Array.from(r):[e.id];return t.dispatch(_m.dragStart(e.id,i)),{id:e.id}},end:()=>{t.hideCursor();let{parentId:i,index:c,dragIds:u}=t.state.dnd;t.canDrop()&&(iq(t.props.onMove,{dragIds:u,parentId:i===Zv?null:i,index:c,dragNodes:t.dragNodes,parentNode:t.get(i)}),t.open(i)),t.dispatch(_m.dragEnd())}}),[r,e]);return p.useEffect(()=>{o(dNe())},[o]),a}function gNe(e,t){const r=Va(),[n,a]=qV(()=>({accept:"NODE",canDrop:()=>r.canDrop(),hover:(o,i)=>{const c=i.getClientOffset();if(!e.current||!c)return;const{cursor:u,drop:f}=dq({element:e.current,offset:c,indent:r.indent,node:t,prevNode:t.prev,nextNode:t.next});f&&r.dispatch(_m.hovering(f.parentId,f.index)),i.canDrop()?u&&r.showCursor(u):r.hideCursor()},drop:(o,i)=>{if(!i.canDrop())return null}}),[t,e.current,r.props]);return a}function vNe(e){const t=Va(),r=t.at(e);if(!r)throw new Error("Could not find node for index: ".concat(e));return p.useMemo(()=>{const n=r.clone();return t.visibleNodes[e]=n,n},[...Object.values(r.state),r])}const wq=p.memo(function({index:t,style:r}){K_(),T6e();const n=Va(),a=vNe(t),o=p.useRef(null),i=mNe(a),c=gNe(o,a),u=p.useCallback(g=>{o.current=g,c(g)},[c]),f=n.indent*a.level,h=p.useMemo(()=>({paddingLeft:f}),[f]),m=p.useMemo(()=>{var g,b;return ee(R({},r),{top:parseFloat(r.top)+((b=(g=n.props.padding)!=null?g:n.props.paddingTop)!=null?b:0)})},[r,n.props.padding,n.props.paddingTop]),v={role:"treeitem","aria-level":a.level,"aria-selected":a.isSelected,style:m,tabIndex:-1,className:n.props.rowClassName};p.useEffect(()=>{var g;!a.isEditing&&a.isFocused&&((g=o.current)==null||g.focus({preventScroll:!0}))},[a.isEditing,a.isFocused,o.current]);const S=n.renderNode,w=n.renderRow;return s.jsx(w,{node:a,innerRef:u,attrs:v,children:s.jsx(S,{node:a,tree:n,style:h,dragHandle:i})},a.id)});let n3="",OR=null;function kq(){K_();const e=Va();return s.jsx("div",{style:{width:e.width,minHeight:0,minWidth:0},onContextMenu:e.props.onContextMenu,onClick:e.props.onClick,tabIndex:0,onFocus:t=>{t.currentTarget.contains(t.relatedTarget)||e.onFocus()},onBlur:t=>{t.currentTarget.contains(t.relatedTarget)||e.onBlur()},onKeyDown:t=>{var n;if(e.isEditing)return;if(t.key==="Backspace"){if(!e.props.onDelete)return;const a=Array.from(e.selectedIds);if(a.length>1){let o=e.mostRecentNode;for(;o&&o.isSelected;)o=o.nextSibling;o||(o=e.lastNode),e.focus(o,{scroll:!1}),e.delete(Array.from(a))}else{const o=e.focusedNode;if(o){const i=o.nextSibling,c=o.parent;e.focus(i||c,{scroll:!1}),e.delete(o)}}return}if(t.key==="Tab"&&!t.shiftKey){t.preventDefault(),nq(t.currentTarget);return}if(t.key==="Tab"&&t.shiftKey){t.preventDefault(),sq(t.currentTarget);return}if(t.key==="ArrowDown"){t.preventDefault();const a=e.nextNode;if(t.metaKey){e.select(e.focusedNode),e.activate(e.focusedNode);return}else if(!t.shiftKey||e.props.disableMultiSelection){e.focus(a);return}else{if(!a)return;const o=e.focusedNode;o?o.isSelected?e.selectContiguous(a):e.selectMulti(a):e.focus(e.firstNode);return}}if(t.key==="ArrowUp"){t.preventDefault();const a=e.prevNode;if(!t.shiftKey||e.props.disableMultiSelection){e.focus(a);return}else{if(!a)return;const o=e.focusedNode;o?o.isSelected?e.selectContiguous(a):e.selectMulti(a):e.focus(e.lastNode);return}}if(t.key==="ArrowRight"){const a=e.focusedNode;if(!a)return;a.isInternal&&a.isOpen?e.focus(e.nextNode):a.isInternal&&e.open(a.id);return}if(t.key==="ArrowLeft"){const a=e.focusedNode;if(!a||a.isRoot)return;a.isInternal&&a.isOpen?e.close(a.id):(n=a.parent)!=null&&n.isRoot||e.focus(a.parent);return}if(t.key==="a"&&t.metaKey&&!e.props.disableMultiSelection){t.preventDefault(),e.selectAll();return}if(t.key==="a"&&!t.metaKey&&e.props.onCreate){e.createLeaf();return}if(t.key==="A"&&!t.metaKey){if(!e.props.onCreate)return;e.createInternal();return}if(t.key==="Home"){t.preventDefault(),e.focus(e.firstNode);return}if(t.key==="End"){t.preventDefault(),e.focus(e.lastNode);return}if(t.key==="Enter"){const a=e.focusedNode;if(!a||!a.isEditable||!e.props.onRename)return;setTimeout(()=>{a&&e.edit(a)});return}if(t.key===" "){t.preventDefault();const a=e.focusedNode;if(!a)return;a.isLeaf?(a.select(),a.activate()):a.toggle();return}if(t.key==="*"){const a=e.focusedNode;if(!a)return;e.openSiblings(a);return}if(t.key==="PageUp"){t.preventDefault(),e.pageUp();return}t.key==="PageDown"&&(t.preventDefault(),e.pageDown()),clearTimeout(OR),n3+=t.key,OR=setTimeout(()=>{n3=""},300);const r=e.visibleNodes.find(a=>{const o=a.data.name;return typeof o=="string"?o.toLowerCase().includes(n3.toLowerCase()):!1});r&&e.focus(r.id)},children:s.jsx(pV,{className:e.props.className,outerRef:e.listEl,itemCount:e.visibleNodes.length,height:e.visibleNodes.length*e.rowHeight,width:e.width,itemSize:e.rowHeight,overscanCount:e.overscanCount,itemKey:t=>{var r;return((r=e.visibleNodes[t])==null?void 0:r.id)||t},outerElementType:bq,innerElementType:yq,onScroll:e.props.onScroll,onItemsRendered:e.onItemsRendered.bind(e),ref:e.list,children:wq})})}const xNe={display:"flex",alignItems:"center",zIndex:1},yNe={flex:1,height:"2px",background:"#4B91E2",borderRadius:"1px"},bNe={width:"4px",height:"4px",boxShadow:"0 0 0 3px #4B91E2",borderRadius:"50%"},wNe=jt.memo(function({top:t,left:r,indent:n}){const a={position:"absolute",pointerEvents:"none",top:t-2+"px",left:r+"px",right:n+"px"};return s.jsxs("div",{style:R(R({},xNe),a),children:[s.jsx("div",{style:R({},bNe)}),s.jsx("div",{style:R({},yNe)})]})});function kNe(e){return s.jsxs("div",{ref:e.dragHandle,style:e.style,children:[s.jsx("span",{onClick:t=>{t.stopPropagation(),e.node.toggle()},children:e.node.isLeaf?"🌳":e.node.isOpen?"🗁":"🗀"})," ",e.node.isEditing?s.jsx(SNe,R({},e)):s.jsx(CNe,R({},e))]})}function CNe(e){return s.jsx(s.Fragment,{children:s.jsx("span",{children:e.node.data.name})})}function SNe({node:e}){const t=p.useRef();return p.useEffect(()=>{var r,n;(r=t.current)==null||r.focus(),(n=t.current)==null||n.select()},[]),s.jsx("input",{ref:t,defaultValue:e.data.name,onBlur:()=>e.reset(),onKeyDown:r=>{var n;r.key==="Escape"&&e.reset(),r.key==="Enter"&&e.submit(((n=t.current)==null?void 0:n.value)||"")}})}function jNe({node:e,attrs:t,innerRef:r,children:n}){return s.jsx("div",ee(R({},t),{ref:r,onFocus:a=>a.stopPropagation(),onClick:e.handleClick,children:n}))}const $R=e=>e.reduce((t,r,n)=>(t[r.id]=n,t),{});function zR(e){return e.isFiltered?NNe(e.root,e.isMatch.bind(e)):ENe(e.root)}function ENe(e){const t=[];function r(n){var a;n.level>=0&&t.push(n),n.isOpen&&((a=n.children)==null||a.forEach(r))}return r(e),t.forEach(Cq),t}function NNe(e,t){const r={},n=[];function a(i){if(!i.isRoot&&t(i)){r[i.id]=!0;let u=i.parent;for(;u;)r[u.id]=!0,u=u.parent}if(i.children)for(let u of i.children)a(u)}function o(i){var c;i.level>=0&&r[i.id]&&n.push(i),i.isOpen&&((c=i.children)==null||c.forEach(o))}return a(e),o(e),n.forEach(Cq),n}function Cq(e,t){e.rowIndex=t}function s3(e){return{type:"EDIT",id:e}}function _Ne(e={id:null},t){return t.type==="EDIT"?ee(R({},e),{id:t.id}):e}function Gh(e){return{type:"FOCUS",id:e}}function TNe(){return{type:"TREE_BLUR"}}function PNe(e={id:null,treeFocused:!1},t){return t.type==="FOCUS"?ee(R({},e),{id:t.id,treeFocused:!0}):t.type==="TREE_BLUR"?ee(R({},e),{treeFocused:!1}):e}const sE={open(e,t){return{type:"VISIBILITY_OPEN",id:e,filtered:t}},close(e,t){return{type:"VISIBILITY_CLOSE",id:e,filtered:t}},toggle(e,t){return{type:"VISIBILITY_TOGGLE",id:e,filtered:t}},clear(e){return{type:"VISIBILITY_CLEAR",filtered:e}}};function FR(e={},t){if(t.type==="VISIBILITY_OPEN")return ee(R({},e),{[t.id]:!0});if(t.type==="VISIBILITY_CLOSE")return ee(R({},e),{[t.id]:!1});if(t.type==="VISIBILITY_TOGGLE"){const r=e[t.id];return ee(R({},e),{[t.id]:!r})}else return t.type==="VISIBILITY_CLEAR"?{}:e}function MNe(e={filtered:{},unfiltered:{}},t){return t.type.startsWith("VISIBILITY")?t.filtered?ee(R({},e),{filtered:FR(e.filtered,t)}):ee(R({},e),{unfiltered:FR(e.unfiltered,t)}):e}const Wo={clear:()=>({type:"SELECTION_CLEAR"}),only:e=>({type:"SELECTION_ONLY",id:$d(e)}),add:e=>({type:"SELECTION_ADD",ids:(Array.isArray(e)?e:[e]).map($d)}),remove:e=>({type:"SELECTION_REMOVE",ids:(Array.isArray(e)?e:[e]).map($d)}),set:e=>R({type:"SELECTION_SET"},e),mostRecent:e=>({type:"SELECTION_MOST_RECENT",id:e===null?null:$d(e)}),anchor:e=>({type:"SELECTION_ANCHOR",id:e===null?null:$d(e)})};function DNe(e=Yv().nodes.selection,t){const r=e.ids;switch(t.type){case"SELECTION_CLEAR":return ee(R({},e),{ids:new Set});case"SELECTION_ONLY":return ee(R({},e),{ids:new Set([t.id])});case"SELECTION_ADD":return t.ids.length===0?e:(t.ids.forEach(n=>r.add(n)),ee(R({},e),{ids:new Set(r)}));case"SELECTION_REMOVE":return t.ids.length===0?e:(t.ids.forEach(n=>r.delete(n)),ee(R({},e),{ids:new Set(r)}));case"SELECTION_SET":return ee(R({},e),{ids:t.ids,mostRecent:t.mostRecent,anchor:t.anchor});case"SELECTION_MOST_RECENT":return ee(R({},e),{mostRecent:t.id});case"SELECTION_ANCHOR":return ee(R({},e),{anchor:t.id});default:return e}}const{safeRun:Ts,identify:Vl,identifyNull:Vo}=W6e,Sp=class Sp{constructor(t,r,n,a){it(this,"root");it(this,"visibleNodes");it(this,"visibleStartIndex",0);it(this,"visibleStopIndex",0);it(this,"idToIndex");this.store=t,this.props=r,this.list=n,this.listEl=a,this.root=IR(this),this.visibleNodes=zR(this),this.idToIndex=$R(this.visibleNodes)}update(t){this.props=t,this.root=IR(this),this.visibleNodes=zR(this),this.idToIndex=$R(this.visibleNodes)}dispatch(t){return this.store.dispatch(t)}get state(){return this.store.getState()}get openState(){return this.state.nodes.open.unfiltered}get width(){var t;return(t=this.props.width)!=null?t:"100%"}get closedFolderIds(){var t;return(t=this.props.closedFolderItemIds)!=null?t:[]}get height(){var t;return(t=this.props.height)!=null?t:1500}get indent(){var t;return(t=this.props.indent)!=null?t:24}get rowHeight(){var t;return(t=this.props.rowHeight)!=null?t:26}get overscanCount(){var t;return(t=this.props.overscanCount)!=null?t:1}get searchTerm(){return(this.props.searchTerm||"").trim()}get matchFn(){var r;const t=(r=this.props.searchMatch)!=null?r:(n,a)=>JSON.stringify(Object.values(n.data)).toLocaleLowerCase().includes(a.toLocaleLowerCase());return n=>t(n,this.searchTerm)}accessChildren(t){var n;const r=this.props.childrenAccessor||"children";return(n=jg(t,r))!=null?n:null}accessId(t){const r=this.props.idAccessor||"id",n=jg(t,r);if(!n)throw new Error("Data must contain an 'id' property or props.idAccessor must return a string");return n}get firstNode(){var t;return(t=this.visibleNodes[0])!=null?t:null}get lastNode(){var t;return(t=this.visibleNodes[this.visibleNodes.length-1])!=null?t:null}get focusedNode(){var t;return(t=this.get(this.state.nodes.focus.id))!=null?t:null}get mostRecentNode(){var t;return(t=this.get(this.state.nodes.selection.mostRecent))!=null?t:null}get nextNode(){const t=this.indexOf(this.focusedNode);return t===null?null:this.at(t+1)}get prevNode(){const t=this.indexOf(this.focusedNode);return t===null?null:this.at(t-1)}get(t){return t&&t in this.idToIndex&&this.visibleNodes[this.idToIndex[t]]||null}at(t){return this.visibleNodes[t]||null}nodesBetween(t,r){var c;if(t===null||r===null)return[];const n=(c=this.indexOf(t))!=null?c:0,a=this.indexOf(r);if(a===null)return[];const o=Math.min(n,a),i=Math.max(n,a);return this.visibleNodes.slice(o,i+1)}indexOf(t){const r=oq(t);return r?this.idToIndex[r]:null}get editingId(){return this.state.nodes.edit.id}createInternal(){return this.create({type:"internal"})}createLeaf(){return this.create({type:"leaf"})}create(){return pe(this,arguments,function*(t={}){var i,c;const r=t.parentId===void 0?uq(this):t.parentId,n=(i=t.index)!=null?i:cq(this),a=(c=t.type)!=null?c:"leaf",o=yield Ts(this.props.onCreate,{type:a,parentId:r,index:n,parentNode:this.get(r)});o&&(this.focus(o),setTimeout(()=>{this.edit(o).then(()=>{this.select(o),this.activate(o)})}))})}delete(t){return pe(this,null,function*(){if(!t)return;const n=(Array.isArray(t)?t:[t]).map(Vl),a=n.map(o=>this.get(o)).filter(o=>!!o);yield Ts(this.props.onDelete,{nodes:a,ids:n})})}edit(t){const r=Vl(t);return this.resolveEdit({cancelled:!0}),this.scrollTo(r),this.dispatch(s3(r)),new Promise(n=>{Sp.editPromise=n})}submit(t,r){return pe(this,null,function*(){if(!t)return;const n=Vl(t);yield Ts(this.props.onRename,{id:n,name:r,node:this.get(n)}),setTimeout(()=>{this.focus(this.get(n)),this.dispatch(s3(null)),this.resolveEdit({cancelled:!1,value:r}),this.onFocus()},300)})}reset(){this.dispatch(s3(null)),this.resolveEdit({cancelled:!0}),setTimeout(()=>this.onFocus())}activate(t){const r=this.get(Vo(t));r&&Ts(this.props.onActivate,r)}resolveEdit(t){const r=Sp.editPromise;r&&r(t),Sp.editPromise=null}get selectedIds(){return this.state.nodes.selection.ids}get selectedNodes(){let t=[];for(let r of Array.from(this.selectedIds)){const n=this.get(r);n&&t.push(n)}return t}focus(t,r={}){t&&(this.props.selectionFollowsFocus?this.select(t):(this.dispatch(Gh(Vl(t))),r.scroll!==!1&&this.scrollTo(t),this.focusedNode&&Ts(this.props.onFocus,this.focusedNode)))}pageUp(){var o,i;const t=this.visibleStartIndex,n=this.visibleStopIndex-t;let a=(i=(o=this.focusedNode)==null?void 0:o.rowIndex)!=null?i:0;a>t?a=t:a=Math.max(t-n,0),this.focus(this.at(a))}pageDown(){var o,i;const t=this.visibleStartIndex,r=this.visibleStopIndex,n=r-t;let a=(i=(o=this.focusedNode)==null?void 0:o.rowIndex)!=null?i:0;athis.get(t)).filter(t=>!!t)}canDrop(){var a;const t=(a=this.get(this.state.dnd.parentId))!=null?a:this.root,r=this.dragNodes,n=this.props.disableDrop;for(const o of r)if(!o||!t||o.isInternal&&tq(t,o))return!1;return typeof n=="function"?!n({parentNode:t,dragNodes:this.dragNodes,index:this.state.dnd.index}):typeof n=="string"?!t.data[n]:typeof n=="boolean"?!n:!0}hideCursor(){this.dispatch(_m.cursor({type:"none"}))}showCursor(t){this.dispatch(_m.cursor(t))}open(t){const r=Vo(t);r&&(this.isOpen(r)||(this.dispatch(sE.open(r,this.isFiltered)),Ts(this.props.onFolderOpen,r)))}close(t){const r=Vo(t);r&&this.isOpen(r)&&(this.dispatch(sE.close(r,this.isFiltered)),Ts(this.props.onFolderClose,r))}toggle(t){const r=Vo(t);if(r)return this.isOpen(r)?this.close(r):this.open(r)}openParents(t){const r=Vo(t);if(!r)return;const n=G_(this.root,r);let a=n==null?void 0:n.parent;for(;a;)this.open(a.id),a=a.parent}openSiblings(t){const r=t.parent;if(!r)this.toggle(t.id);else if(r.children){const n=t.isOpen;for(let a of r.children)a.isInternal&&(n?this.close(a.id):this.open(a.id));this.scrollTo(this.focusedNode)}}openAll(){sw(this.root,t=>{t.isInternal&&t.open()})}closeAll(){sw(this.root,t=>{t.isInternal&&t.close()})}scrollTo(t,r="smart"){if(!t)return;const n=Vl(t);return this.openParents(n),lq(()=>n in this.idToIndex).then(()=>{var o;const a=this.idToIndex[n];a!==void 0&&((o=this.list.current)==null||o.scrollToItem(a,r))}).catch(()=>{})}get isEditing(){return this.state.nodes.edit.id!==null}get isFiltered(){var t;return!!((t=this.props.searchTerm)!=null&&t.trim())}get hasFocus(){return this.state.nodes.focus.treeFocused}get hasNoSelection(){return this.state.nodes.selection.ids.size===0}get hasOneSelection(){return this.state.nodes.selection.ids.size===1}get hasMultipleSelections(){return this.state.nodes.selection.ids.size>1}isSelected(t){return t?this.state.nodes.selection.ids.has(t):!1}isOpen(t){var n,a,o;if(!t)return!1;if(t===Zv)return!0;const r=(n=this.props.openByDefault)!=null?n:!0;return this.isFiltered?(a=this.state.nodes.open.filtered[t])!=null?a:!0:(o=this.state.nodes.open.unfiltered[t])!=null?o:r}isEditable(t){const r=this.props.disableEdit||(()=>!1);return!jg(t,r)}isDraggable(t){const r=this.props.disableDrag||(()=>!1);return!jg(t,r)}isDragging(t){const r=Vo(t);return r?this.state.nodes.drag.id===r:!1}isFocused(t){return this.hasFocus&&this.state.nodes.focus.id===t}isMatch(t){return this.matchFn(t)}willReceiveDrop(t){const r=Vo(t);return r?r===this.state.nodes.drag.idWillReceiveDrop:!1}onSearchClear(){var t,r;(r=(t=this.props).onSearchClear)==null||r.call(t)}onFocus(){const t=this.focusedNode||this.firstNode;t&&this.dispatch(Gh(t.id))}onBlur(){this.dispatch(TNe())}onItemsRendered(t){this.visibleStartIndex=t.visibleStartIndex,this.visibleStopIndex=t.visibleStopIndex}get renderContainer(){return this.props.renderContainer||kq}get renderRow(){return this.props.renderRow||jNe}get renderNode(){return this.props.children||kNe}get renderDragPreview(){return this.props.renderDragPreview||XV}get renderCursor(){return this.props.renderCursor||wNe}};it(Sp,"editPromise");let aE=Sp;function ANe(e={id:null,idWillReceiveDrop:null},t){switch(t.type){case"DND_DRAG_START":return ee(R({},e),{id:t.id});case"DND_DRAG_END":return ee(R({},e),{id:null});case"DND_CURSOR":const r=t.cursor;return r.type==="highlight"&&r.id!==e.idWillReceiveDrop?ee(R({},e),{idWillReceiveDrop:r.id}):r.type!=="highlight"&&e.idWillReceiveDrop!==null?ee(R({},e),{idWillReceiveDrop:null}):e;default:return e}}const RNe=jR({nodes:jR({focus:PNe,edit:_Ne,open:MNe,selection:DNe,drag:ANe}),dnd:z6e}),LNe=Yv();function INe({treeProps:e,imperativeHandle:t,children:r}){const n=p.useRef(null),a=p.useRef(null),o=p.useRef(F_(RNe,Yv(e))),i=HO.useSyncExternalStore(o.current.subscribe,o.current.getState,()=>LNe),c=p.useMemo(()=>new aE(o.current,e,n,a),[]),u=p.useRef(0);return p.useMemo(()=>{u.current+=1,c.update(e)},[...Object.values(e),i.nodes.open]),p.useImperativeHandle(t,()=>c),p.useEffect(()=>{c.props.selection?c.select(c.props.selection,{focus:!1}):c.deselectAll()},[c.props.selection]),p.useEffect(()=>{c.props.selectedIds&&c.props.selectedIds.length>0?c.setSelectIds(c.props.selectedIds):c.deselectAll()},[c.props.selectedIds]),p.useEffect(()=>{c.props.searchTerm||o.current.dispatch(sE.clear(!0))},[c.props.searchTerm]),s.jsx(KV.Provider,{value:c,children:s.jsx(ZV.Provider,{value:u.current,children:s.jsx(GV.Provider,{value:i.nodes,children:s.jsx(YV.Provider,{value:i.dnd,children:s.jsx(XEe,ee(R({backend:fNe,options:{rootElement:c.props.dndRootElement||void 0}},e.dndManager&&{manager:e.dndManager}),{children:r}))})})})})}function ONe(){const t=Va().props.renderContainer||kq;return s.jsx(s.Fragment,{children:s.jsx(t,{})})}function $Ne(e,t){const r=Aje(e);return s.jsxs(INe,{treeProps:r,imperativeHandle:t,children:[s.jsx(X6e,{children:s.jsx(ONe,{})}),s.jsx($6e,{})]})}const zNe=p.forwardRef($Ne);function Sq(){const[e,t]=p.useState([]);return p.useMemo(()=>new AV(e),[e]),{data:e,setData:t}}function HR({children:e}){const{currentCollectionId:t,collections:r}=ft(Tn),{selectCollectionById:n}=zN(),a=sa(),{t:o}=At(),{isShowDisabledCollectionsOnNavBarMenu:i}=ft(pn);return s.jsxs(Ir,{children:[s.jsx(Or,{className:"flex m-0 p-0",asChild:!0,children:e}),s.jsxs(Ar,{forceMount:!0,sideOffset:8,align:"center",children:[s.jsx(He,{disabled:!0,className:"flex justify-center py-0.5",children:o("Switch collections",{ns:"collections"})}),s.jsx(tr,{}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"400px",width:"100%",minWidth:"200px"},autoHide:!1,children:s.jsx(ame,{value:t!=null?t:"",children:r.filter(({isEnabled:c})=>i||c).sort((c,u)=>{if(i){if(c.isEnabled&&!u.isEnabled)return-1;if(!c.isEnabled&&u.isEnabled)return 1}return c.createdAt-u.createdAt}).map(({collectionId:c,isEnabled:u,title:f,isSelected:h})=>s.jsx(xH,{value:c,disabled:!u,onClick:()=>{n({selectCollection:{collectionId:c}})},children:s.jsx("span",{className:h?"font-semibold":"",children:f})},c))})}),s.jsx(tr,{}),s.jsxs(He,{onClick:()=>{a("/app-settings/collections",{replace:!0})},children:[s.jsx(Gf,{className:"mr-2",size:14}),o("Manage Collections",{ns:"collections"})]})]})]})}const FNe="_node_1usvv_1",HNe="_dropCursor_1usvv_55",BNe="_mainContent_1usvv_61",UNe="_mobileWarning_1usvv_68",WNe="_content_1usvv_83",VNe="_sidebar_1usvv_89",jq={node:FNe,dropCursor:HNe,mainContent:BNe,mobileWarning:UNe,content:WNe,sidebar:VNe};function qNe({top:e,left:t}){return s.jsx("div",{className:hr(jq.dropCursor,"border-slate-400 border-dashed border-t-2"),style:{top:e-1,left:t}})}const KNe={position:"fixed",pointerEvents:"none",zIndex:100,left:0,top:0,width:"100%",height:"100%"},GNe=e=>{if(!e)return{display:"none"};const{x:t,y:r}=e;return{transform:"translate(".concat(t,"px, ").concat(r,"px)")}},YNe=e=>{if(!e)return{display:"none"};const{x:t,y:r}=e;return{transform:"translate(".concat(t+10,"px, ").concat(r+10,"px)")}},ZNe=p.memo(function(t){return t.isDragging?s.jsx("div",{style:KNe,children:t.children}):null});function XNe(e){return s.jsx("div",{className:"row preview",style:GNe(e.offset),children:e.children})}function QNe(e){const{count:t,mouse:r}=e;return t>1?s.jsx("div",{className:"selected-count",style:YNe(r),children:t}):null}const JNe=p.memo(function(t){const r=Va(),n=r.get(t.id);return n?s.jsx(r.renderNode,{preview:!0,node:n,style:{paddingLeft:n.level*r.indent,opacity:.5,background:"transparent"},tree:r}):null});function e_e({offset:e,mouse:t,id:r,dragIds:n,isDragging:a}){return s.jsxs(ZNe,{isDragging:a,children:[s.jsx(XNe,{offset:e,children:s.jsx(JNe,{id:r,dragIds:n})}),s.jsx(QNe,{mouse:t,count:n.length})]})}function t_e({node:e}){return s.jsx(Qu,{autoFocus:!0,type:"text",classNameInput:"border-0 text-[15px] w-full bg-transparent p-0",className:"!justify-start pl-1 border-0",defaultValue:e.data.name,onFocus:t=>t.currentTarget.select(),onBlur:()=>e.reset(),onKeyDown:t=>{t.key==="Escape"&&e.reset(),t.key==="Enter"&&e.submit(t.currentTarget.value)}})}function r_e({node:e,style:t,dragHandle:r}){const{t:n}=At();return s.jsxs("div",{ref:r,style:t,className:hr(jq.node,e.state,"flex items-center w-full transition-all duration-100 ease-in"),onClick:()=>e.isInternal&&e.toggle(),children:[e.level>0&&s.jsx("div",{}),s.jsxs("div",{children:[!e.isLeaf&&!e.isOpen&&s.jsx(hm,{width:17,height:17,className:"mr-2"}),!e.isLeaf&&e.isOpen&&s.jsx(bz,{width:17,height:17,className:"mr-2"})]}),s.jsx("div",{className:"flex items-center justify-start w-full overflow-hidden mr-4",children:e.data.isSeparator?s.jsx("hr",{className:"h-[1px] border-t-0 bg-slate-600 opacity-30 dark:opacity-70 w-full"}):s.jsx(s.Fragment,{children:e.isEditing?s.jsx(t_e,{node:e}):s.jsxs("div",{className:"overflow-hidden overflow-ellipsis text-[15px] ".concat(e.data.isDisabled?"text-gray-500/60":""," "),children:[e.data.name,e.data.isClip&&s.jsx("div",{title:n("Menu is a link to a clip",{ns:"menus"}),className:"inline-block",children:s.jsx(C1,{size:13,className:"inline ml-2 mt-[-3px] dark:text-slate-500 text-slate-400"})})]})})}),s.jsx(n_e,{node:e})]})}function n_e({node:e}){return e.isLeaf?s.jsx("div",{}):e.isOpen?s.jsx(Dr,{width:22,className:"mr-3"}):s.jsx(zm,{width:22,className:"mr-3"})}function s_e({node:e,attrs:t,innerRef:r,children:n}){const a=a3.value===e.id,{t:o}=At();return p.createElement("div",ee(R({},t),{key:e.id,onMouseEnter:()=>{a3.value=e.id},onMouseLeave:()=>{a3.value=null},ref:r,className:"".concat(a?"bg-slate-100/90 dark:bg-gray-900/90":""," ").concat(e.isEditing?"border border-blue-400 dark:!bg-slate-900":""," ").concat(e.data.isActive?"":"not-active-background ".concat(e.isEditing?"dark:text-slate-800 bg-slate-800":"line-through dark:text-slate-600 text-slate-400"," dark:bg-slate-900 bg-slate-200")," ").concat(e.isSelected&&!e.isEditing?"dark:!bg-slate-600 dark:!text-slate-50":""," transition-all overflow-hidden"),onFocus:i=>i.stopPropagation(),onClick:e.handleClick,onDoubleClickCapture:()=>{if(!e.isEditing){if(e.data.isClip){lo(o("Menu is link to a clip and cannot be renamed. Please rename its linked clip.",{ns:"menus"}),"PasteBar");return}e.edit()}},onKeyDown:i=>{if(e.data.isClip){i.stopPropagation(),lo(o("Menu is link to a clip and cannot be renamed. Please rename its linked clip.",{ns:"menus"}),"PasteBar");return}i.key==="Enter"&&e.edit()}}),n)}function a_e(){const{t:e}=At();K_();const t=Va();return s.jsxs("div",{style:{width:t.width,minHeight:0,minWidth:0},onContextMenu:t.props.onContextMenu,onClick:t.props.onClick,tabIndex:0,children:[t.isFiltered&&s.jsx("div",{className:"text-slate-400 text-sm rounded-sm mb-1 mt-1 flex items-center justify-center",children:s.jsx(Be,{text:e("Clear found results",{ns:"common"}),className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"top",onClick:()=>{t.onSearchClear()},sideOffset:5,children:s.jsx(J,{className:"text-xs text-center bg-blue-200 rounded-full px-3 cursor-pointer pointer-events-auto",children:t.visibleNodes.length?s.jsxs(s.Fragment,{children:[t.visibleNodes.length<100?t.visibleNodes.length:"100+"," ",e("found",{ns:"common"})]}):s.jsx(s.Fragment,{children:e("Nothing found",{ns:"common"})})})})}),s.jsx(pV,{className:t.props.className,outerRef:t.listEl,itemCount:t.visibleNodes.length,height:t.visibleNodes.length*t.rowHeight,width:t.width,itemSize:t.rowHeight,overscanCount:t.overscanCount,itemKey:r=>{var n;return((n=t.visibleNodes[r])==null?void 0:n.id)||r},outerElementType:bq,innerElementType:yq,onItemsRendered:t.onItemsRendered.bind(t),ref:t.list,children:wq})]})}const a3=wt(null);function o_e({itemId:e,isExpanded:t,isActive:r,isDisabled:n,isSeparator:a,isCode:o,isImage:i,isImageData:c,isLink:u,isMasked:f,isPath:h,hasMaskedWords:m,hasEmoji:v,isFolder:S,isVideo:w,isDelete:g,detectedLanguage:b,imagePathFullRes:C,imageDataUrl:j,imageHash:E,imageWidthHeight:N,imageType:T,arrLinks:A,isCopyOrPaste:M,pathType:D,menuName:L,isDark:z,value:H=""}){const{t:V}=At(),I=js(!1),{valuePreview:q,morePreviewLines:_,morePreviewChars:$}=f_(H),U=H==null?void 0:H.trim(),K=js(!1),Y=js(""),{metadataLinkByItemId:B}=A1(u,e),F=u&&!!(B!=null&&B.linkTitle&&(B!=null&&B.linkDomain));p.useEffect(()=>{t.value&&(I.value=!1)},[t.value]),p.useEffect(()=>{h&&Sr("check_path",{path:U}).then(()=>{Y.value=D}).catch(()=>{Y.value="Error"})},[h]);const G=U.length===0;return s.jsxs(eh,{className:hr(M?"bg-green-50 dark:bg-green-900/40":"bg-slate-50/50 dark:bg-slate-900",g&&"!bg-red-50 dark:!bg-red-900","px-3 pr-2 py-1.5 text-left flex flex-col select-auto relative rounded-md"),children:[s.jsx(Q,{className:"mb-0.5 ".concat(r?"":"opacity-40"),children:h?s.jsx($1,{theme:z?el.vsDark:el.github,code:U,language:"path",children:({className:X,style:se,tokens:re,getLineProps:ie,getTokenProps:oe})=>s.jsx("code",{className:"".concat(X," ").concat(Y.value==="Error"?" line-through decoration-gray-300":""),style:se,children:re.map((ae,fe)=>s.jsx("div",ee(R({},ie({line:ae})),{className:"overflow-hidden text-ellipsis whitespace-pre-wrap",children:ae.map((le,ue)=>s.jsx("span",ee(R({},oe({token:le})),{className:"".concat(Y.value==="Error"?"opacity-60":""," select-text"),children:le.content}),ue))}),fe))})}):c?s.jsxs(Q,{className:"text-ellipsis self-start text-xs overflow-hidden cursor-pointer",children:[s.jsx(Q,{className:"flex px-0 py-1 items-center justify-center",children:s.jsx(tl,{src:U,hasError:K.value,onErrorCallback:()=>{K.value=!0},draggable:!1,decoding:"async",className:"max-h-[200px] min-h-10"})}),s.jsx("code",{className:"pb-0.5 select-none",children:q})]}):u&&i?s.jsxs(Q,{className:"text-ellipsis self-start text-xs cursor-pointer overflow-hidden",children:[s.jsx(Q,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center",children:s.jsx(tl,{src:_n(U),hasError:K.value,onErrorCallback:()=>{K.value=!0},draggable:!1,decoding:"async",className:"max-h-[200px] min-h-10"})}),s.jsx("code",{className:"pb-0.5",children:If(U,A!=null?A:"")})]}):i?s.jsxs(Q,{className:"px-0 py-1.5 flex items-center justify-center relative animate-in fade-in duration-300 !fill-mode-forwards",children:[s.jsx("img",{src:C&&(T==="webp"||T==="gif")?"".concat(uf(C),"?").concat(E):j&&C?j:!j&&!C?xf:Gg,draggable:!1,decoding:"async",height:"auto",className:"max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-600"}),s.jsx(Q,{className:"absolute left-0 bottom-1 flex flex-row gap-1 rounded items-center pb-0.5 pl-0.5",children:s.jsxs(Q,{className:"text-xs text-muted-foreground bg-slate-50 dark:bg-slate-950 px-1.5 rounded transform duration-300",title:V("Image size in pixels",{ns:"common"}),children:[N," ",T]})})]}):b&&o&&q?s.jsx(Q,{className:"text-ellipsis self-start text-sm w-full select-text",children:s.jsx(va,{isDark:z,isLargeView:!1,isShowMore:t.value||_==null,isWrapped:I.value,value:t.value?U:q,language:b})}):G?s.jsx(Q,{className:"mb-0.5",children:s.jsx(Iv,{className:"self-start text-sm font-normal select-text !text-gray-400",children:L})}):s.jsx(Ak,{isExpanded:t.value,isWrapped:I.value,isImageData:c,isLargeView:!1,isCode:o,isMasked:f,isImage:i,isDark:z,trimmedValue:U,valuePreview:q,hasLinkCard:F,metadataLinkByItemId:B,metadataLinkImageWidth:12,morePreviewLines:_,searchTerm:""})}),s.jsxs(me,{className:"justify-between select-none",children:[(_||$)&&r&&!n?s.jsxs(Q,{className:"flex flex-row items-center rounded",children:[s.jsx(Q,{className:"text-xs text-muted-foreground px-0 transform duration-300 cursor-pointer",onClick:()=>{t.value=!t.value},children:s.jsx(Be,{text:t.value?"":V("Show all",{ns:"common"}),isCompact:!0,isDisabled:t.value,delayDuration:2e3,side:"bottom",sideOffset:10,children:t.value?s.jsxs(s.Fragment,{children:["- ",V("show less",{ns:"common"})]}):$?s.jsxs(s.Fragment,{children:["+",$," ",V("chars",{ns:"common"})]}):_&&s.jsxs(s.Fragment,{children:["+",_," ",V("lines",{ns:"common"})]})})}),s.jsx(Q,{className:"text-xs text-muted-foreground px-1.5 transform duration-300 cursor-pointer",onClick:()=>{I.value=!I.value},children:s.jsx(Be,{text:I.value?V("No Wrap",{ns:"common"}):V("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:I.value?s.jsx(km,{width:20,height:20}):s.jsx(Cm,{width:20,height:20})})})]}):r?n?s.jsx(Q,{className:"bg-gray-200 text-gray-700 dark:bg-gray-600 dark:text-gray-300 text-xs rounded-sm px-1.5",children:V("Disabled",{ns:"common"})}):s.jsx(Q,{}):s.jsx(Q,{className:"bg-gray-200 text-gray-700 dark:bg-gray-600 dark:text-gray-300 text-xs rounded-sm px-1.5",children:V("Inactive",{ns:"common"})}),s.jsxs(Q,{className:"flex flex-row gap-1 items-center justify-end ",children:[G&&!a&&!S&&!i?s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"bg-yellow-200 text-yellow-700 dark:bg-yellow-800 dark:text-yellow-400 text-xs rounded-sm px-1.5",children:V("Type:::Empty",{ns:"common"})}),s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:V("Type:::Label",{ns:"common"})})]}):a?s.jsx(Q,{className:"bg-yellow-200 text-yellow-700 dark:bg-yellow-800 dark:text-yellow-400v text-xs rounded-sm px-1.5",children:V("Type:::Separator",{ns:"common"})}):S?s.jsx(Q,{className:"bg-yellow-200 text-yellow-700 dark:bg-yellow-800 dark:text-yellow-400 text-xs rounded-sm px-1.5",children:V("Type:::Submenu",{ns:"common"})}):i?s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:V("Type:::Image",{ns:"common"})}):b?s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:b}):f||m?s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm ".concat(m?"px-0.5":"px-1.5"),children:f?V("Type:::Secret",{ns:"common"}):s.jsx(Al,{size:16})}):c?s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:V("Type:::Image Base64",{ns:"common"})}):!u&&!h&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:V("Type:::Text",{ns:"common"})}),u?s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:w?V("Type:::Video",{ns:"common"}):fc(U)?V("Type:::Email",{ns:"common"}):V("Type:::Link",{ns:"common"})}):h&&Y.value?s.jsx(Q,{className:"".concat(Y.value==="Error"?"bg-red-300 dark:bg-red-800":" text-slate-700 dark:bg-slate-600"," dark:text-slate-300 bg-slate-200 text-xs rounded-sm px-1.5"),children:Y.value==="Error"?s.jsx(Be,{text:V("File, folder or app path does not exist",{ns:"dashboard"}),className:"text-slate-300 bg-red-50 dark:!bg-red-800 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:Y.value}):Y.value}):v&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:V("Emoji",{ns:"common"})})]})]})]})}function Eq({arrLinks:e=[],clipId:t,detectedLanguage:r,hasEmoji:n,hasMaskedWords:a,imageDataUrl:o,imageHash:i,imagePathFullRes:c,imageType:u,imageWidthHeight:f,isCode:h,isCommand:m,isWebRequest:v,isWebScraping:S,isExpanded:w,isImage:g,isImageData:b,isLargeView:C,isLink:j,isForm:E,isTemplate:N,isMasked:T,isPath:A,isVideo:M,isCopyOrPaste:D,isDark:L,isDelete:z,clipName:H,formTemplateOptions:V,commandRequestOutput:I,isCommandRequestRunError:q,commandRequestOutputLastRunAt:_,requestOptions:$,pathType:U,value:K=""}){var be,Ce,Pe;const{t:Y}=At(),B=js(!1),F=js(!1),G=js(""),{metadataLinkByItemId:X}=A1(j,t),se=j&&!!(X!=null&&X.linkTitle&&(X!=null&&X.linkDomain)),re=js({method:"GET",headers:[],body:"",scrapingRules:[],filters:[],auth:{}}),{valuePreview:ie,morePreviewLines:oe,morePreviewChars:ae}=f_(K,g||b,C||j||A||m||v||S);p.useEffect(()=>{if($)try{const Ee=JSON.parse($);re.value=R(R({},re.value),Ee)}catch(Ee){}},[$]);const fe=K==null?void 0:K.trim();p.useEffect(()=>{w.value&&(F.value=!1)},[w.value]),p.useEffect(()=>{A&&Fs("check_path",{path:fe}).then(()=>{G.value=U}).catch(()=>{G.value="Error"})},[A]);const le=C?"max-h-[600px]":"max-h-[300px]",ue=fe.length===0;return s.jsxs(eh,{className:hr(D?"bg-green-50 dark:bg-green-900/40":"bg-slate-50/50 dark:bg-slate-900","px-3 pr-2 py-1.5 mx-1 text-left flex flex-col select-auto relative rounded-md",z&&"!bg-red-50 dark:!bg-red-900"),children:[s.jsx(Q,{className:"mb-0.5",children:A?s.jsx($1,{theme:L?el.vsDark:el.github,code:fe,language:"path",children:({className:Ee,style:Oe,tokens:Ve,getLineProps:ct,getTokenProps:gt})=>s.jsx("code",{className:"".concat(Ee," ").concat(G.value==="Error"?" line-through decoration-gray-300":""),style:Oe,children:Ve.map((Ke,Et)=>s.jsx("div",ee(R({},ct({line:Ke})),{className:"overflow-hidden text-ellipsis whitespace-pre-wrap",children:Ke.map((Re,xt)=>s.jsx("span",ee(R({},gt({token:Re})),{className:"".concat(G.value==="Error"?"opacity-60":""," select-text"),children:Re.content}),xt))}),Et))})}):b?s.jsxs(Q,{className:"text-ellipsis self-start text-xs overflow-hidden cursor-pointer",children:[s.jsx(Q,{className:"flex px-0 py-1 items-center justify-center",children:s.jsx(tl,{src:fe,hasError:B.value,onErrorCallback:()=>{B.value=!0},draggable:!1,decoding:"async",className:"".concat(le," min-h-10")})}),s.jsx("code",{className:"pb-0.5 select-none",children:ie})]}):j&&g?s.jsxs(Q,{className:"text-ellipsis self-start text-xs cursor-pointer overflow-hidden",children:[s.jsx(Q,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center",children:s.jsx(tl,{src:_n(fe),hasError:B.value,onErrorCallback:()=>{B.value=!0},draggable:!1,decoding:"async",className:"".concat(le," min-h-10")})}),s.jsx("code",{className:"pb-0.5",children:If(fe,e)})]}):g?s.jsxs(Q,{className:"px-0 py-1.5 flex items-center justify-center relative animate-in fade-in duration-300 !fill-mode-forwards",children:[s.jsx("img",{src:c&&(u==="webp"||u==="gif")?"".concat(uf(c),"?").concat(i):o&&c?o:!o&&!c?xf:Gg,draggable:!1,decoding:"async",height:"auto",className:"max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-600"}),s.jsx(Q,{className:"absolute left-0 bottom-1 flex flex-row gap-1 rounded items-center pb-0.5 pl-0.5",children:s.jsxs(Q,{className:"text-xs text-muted-foreground bg-slate-50 dark:bg-slate-950 px-1.5 rounded transform duration-300",title:Y("Image size in pixels",{ns:"common"}),children:[f," ",u]})})]}):r&&h&&ie?s.jsx(Q,{className:"text-ellipsis self-start text-sm w-full select-text",children:s.jsx(va,{isDark:L,isLargeView:C,isShowMore:w.value||oe==null,isWrapped:F.value,value:w.value?fe:ie,language:r})}):m&&ie?s.jsxs(Q,{className:"text-ellipsis self-start text-sm w-full select-text pt-0.5",children:[s.jsx(va,{isDark:L,isLargeView:C,isCommand:!0,isShowMore:!0,isWrapped:F.value,autoHideScrollbar:!0,value:fe,language:"shell"}),I&&s.jsxs(Q,{className:"".concat(q?"bg-red-50 dark:bg-red-950":"bg-green-50 dark:bg-green-950"," py-1 rounded-md px-3 mb-1 relative border"),children:[s.jsx(va,{isDark:L,maxHeight:100,isLargeView:!1,isShowMore:!0,isWrapped:F.value,value:I,language:"shell"}),_&&s.jsx(Q,{className:"text-xs text-muted-foreground rounded px-1 bg-slate-50 dark:bg-slate-900/80 absolute bottom-1 right-1",children:s.jsx(Be,{text:"".concat(Y("Last run",{ns:"dashboard"}),": ").concat(zf(_,"PPpp")),className:"text-xs bg-slate-50 dark:bg-slate-900 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:Zu().format(_,"mini-minute-now",{round:"floor"})})})]})]}):(v||S)&&ie?s.jsxs(Q,{className:"text-ellipsis self-start text-sm w-full select-text pt-0.5",children:[s.jsx(va,{isDark:L,isLargeView:C,isShowMore:!0,isWrapped:F.value,value:fe,autoHideScrollbar:!0,webRequestMethod:v?re.value.method:"URL",language:"shell"}),I&&s.jsxs(Q,{className:"".concat(q?"bg-red-50 dark:bg-red-950":"bg-green-50 dark:bg-green-950"," py-0 rounded-md px-3 relative mb-1 border"),children:[s.jsx(va,{isDark:L,maxHeight:100,isLargeView:!1,isShowMore:!0,isWrapped:F.value,value:I,language:q?"text":"json"}),_&&s.jsx(Q,{className:"text-xs text-muted-foreground rounded px-1 bg-slate-50 dark:bg-slate-900/80 absolute bottom-1 right-1",children:s.jsx(Be,{text:"".concat(Y("Last run",{ns:"dashboard"}),": ").concat(zf(_,"PPpp")),className:"text-xs bg-slate-50 dark:bg-slate-900 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:Zu().format(_,"mini-minute-now",{round:"floor"})})})]})]}):E?s.jsx(Q,{className:"self-start text-sm w-full select-text",children:s.jsx(zU,{formTemplateOptions:V,clipId:t})}):N?s.jsx(Q,{className:"self-start text-sm w-full select-text",children:s.jsx(FU,{formTemplateOptions:V,clipId:t,value:K})}):ue?s.jsx("code",{className:"text-gray-300",children:H}):s.jsx(Ak,{isExpanded:w.value,isWrapped:F.value,isImageData:b,isLargeView:C,isCode:h,isMasked:T,isImage:g,trimmedValue:fe,valuePreview:ie,isDark:L,hasLinkCard:se,metadataLinkByItemId:X,metadataLinkImageWidth:12,morePreviewLines:oe,searchTerm:""})}),s.jsxs(me,{className:"justify-between select-none",children:[(v||m||S)&&I?s.jsx(Q,{className:"flex flex-row items-center rounded",children:s.jsx(Q,{className:"text-xs text-muted-foreground px-1.5 transform duration-300 cursor-pointer",onClick:()=>{F.value=!F.value},children:s.jsx(Be,{text:F.value?"No Wrap":"Lines Wrap",delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:F.value?s.jsx(km,{width:20,height:20}):s.jsx(Cm,{width:20,height:20})})})}):oe||ae?s.jsxs(Q,{className:"flex flex-row items-center rounded",children:[s.jsx(Q,{className:"text-xs text-muted-foreground px-0 transform duration-300 cursor-pointer",onClick:()=>{w.value=!w.value},children:s.jsx(Be,{text:w.value?"":Y("Show all",{ns:"common"}),isCompact:!0,isDisabled:w.value,delayDuration:2e3,side:"bottom",sideOffset:10,children:w.value?s.jsxs(s.Fragment,{children:["- ",Y("show less",{ns:"common"})]}):ae?s.jsxs(s.Fragment,{children:["+",ae," ",Y("chars",{ns:"common"})]}):oe&&s.jsxs(s.Fragment,{children:["+",oe," ",Y("lines",{ns:"common"})]})})}),s.jsx(Q,{className:"text-xs text-muted-foreground px-1.5 transform duration-300 cursor-pointer",onClick:()=>{F.value=!F.value},children:s.jsx(Be,{text:F.value?Y("No Wrap",{ns:"common"}):Y("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:F.value?s.jsx(km,{width:20,height:20}):s.jsx(Cm,{width:20,height:20})})})]}):s.jsx(Q,{}),s.jsxs(Q,{className:"flex flex-row gap-1 items-center justify-end ",children:[m&&s.jsx(Q,{className:"".concat(q?"bg-red-500 dark:bg-red-800 text-slate-200 dark:text-red-200":"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300"," text-xs rounded-sm px-1.5"),children:q?Y("Command error",{ns:"dashboard"}):Y("Type:::Command",{ns:"dashboard"})}),(v||S)&&s.jsxs(me,{className:"gap-1",children:[s.jsxs(Q,{className:"".concat(q?"bg-red-500 dark:bg-red-800 text-slate-200 dark:text-red-200":"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300"," text-xs rounded-sm px-1.5"),children:[v&&s.jsx("span",{children:q?Y("Request error",{ns:"dashboard"}):Y("Type:::Request",{ns:"dashboard"})}),S&&s.jsx("span",{children:q?Y("Error",{ns:"dashboard"}):Y("Type:::Scraper",{ns:"dashboard"})})]}),S&&re.value.scrapingRules&&((be=re.value.scrapingRules)==null?void 0:be.filter(Ee=>Ee.isEnable).length)>0&&s.jsxs(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[Y("Headers",{ns:"dashboard"}),s.jsx("span",{className:"ml-1 font-mono",children:re.value.headers.filter(Ee=>Ee.isEnable).length})]}),v&&re.value.headers.filter(Ee=>Ee.isEnable).length>0&&s.jsxs(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[Y("Headers",{ns:"dashboard"}),s.jsx("span",{className:"ml-1 font-mono",children:re.value.headers.filter(Ee=>Ee.isEnable).length})]}),v&&((Ce=re.value.auth)==null?void 0:Ce.isEnable)&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:(Pe=re.value.auth)==null?void 0:Pe.type}),v&&re.value.filters.filter(Ee=>Ee.isEnable).length>0&&s.jsxs(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[Y("Filters",{ns:"dashboard"}),s.jsx("span",{className:"ml-1 font-mono",children:re.value.filters.filter(Ee=>Ee.isEnable).length})]})]}),(T||a)&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm ".concat(a?"px-0.5":"px-1.5"),children:T?Y("Type:::Secret",{ns:"common"}):s.jsx(Al,{size:16})}),r&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:r}),j&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:M?Y("Type:::Video",{ns:"common"}):fc(fe)?Y("Type:::Email",{ns:"common"}):Y("Type:::Link",{ns:"common"})}),A&&G.value&&s.jsx(Q,{className:"".concat(G.value==="Error"?"bg-red-300":"bg-slate-200"," text-xs rounded-sm px-1.5"),children:G.value==="Error"?s.jsx(Be,{text:Y("File, folder or app path does not exist",{ns:"dashboard"}),className:"text-red-500 bg-red-50 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:G.value}):G.value}),n&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:Y("Type:::Emoji",{ns:"common"})}),ue&&!E&&!g&&s.jsx(Q,{className:"bg-yellow-200 text-yellow-700 dark:bg-yellow-800 dark:text-yellow-400 text-xs rounded-sm px-1.5",children:Y("Type:::Empty",{ns:"common"})}),b&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:Y("Type:::Image Base64",{ns:"common"})}),E&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:Y("Type:::Auto Fill",{ns:"common"})}),s.jsxs(me,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[Y("Type:::Clip",{ns:"common"}),s.jsx(C1,{size:11,className:"ml-1"})]})]})]})]})}p.memo(Eq);function i_e({isDisabled:e,isActive:t,isMenuEdit:r,isSeparator:n,isMenu:a,isFolder:o,item:i,menuName:c,isDark:u,deletingMenuItemIds:f,isClip:h}){var F,G,X;const{clipItems:m}=ft(Tn),v=We(!1),[S]=Qf({}),[w]=Jf({}),{itemId:g,isImage:b,isImageData:C,isPath:j,isLink:E,isCode:N,isText:T,detectedLanguage:A,imagePathFullRes:M,imageDataUrl:D,imageHash:L,isMasked:z,isVideo:H,hasMaskedWords:V,hasEmoji:I,imageWidth:q,imageHeight:_,imageType:$,value:U}=i,K=p.useMemo(()=>h?m.find(se=>se.itemId===g):null,[h,m,g]),Y=p.useMemo(()=>{var se,re;return(re=(se=f.value)==null?void 0:se.includes(g))!=null?re:!1},[f.value,g]),B=p.useMemo(()=>{if(!K||!K.links)return[];let se=[];if(K.links)try{se=JSON.parse(K.links)}catch(re){se=[]}return se},[K]);return r?s.jsx(iCe,{isClip:h,itemId:g,value:U,isCode:N,detectedLanguage:A,isText:T,isMenu:a,isImage:b,isMasked:z,isVideo:H,isDelete:Y,hasEmoji:I,imageDataUrl:D,isDark:u,isPath:j,isLink:E,deletingMenuItemIds:f,onCancel:()=>{ff()}}):h&&(K==null?void 0:K.itemId)===g?s.jsx(Eq,{isImage:K.isImage,isLink:K.isLink,isVideo:K.isVideo,isPath:K.isPath,isForm:K.isForm,isTemplate:K.isTemplate,isCopyOrPaste:S===g||w===g,isCode:K.isCode,clipName:K.name,isCommand:K.isCommand,isWebRequest:K.isWebRequest,isWebScraping:K.isWebScraping,isExpanded:v,isDark:u,arrLinks:B,isMasked:K.isMasked,hasMaskedWords:K.hasMaskedWords,detectedLanguage:K.detectedLanguage,hasEmoji:K.hasEmoji,pathType:K.pathType,isImageData:K.isImageData,imageHash:K.imageHash,imageType:K.imageType,imageScale:K.imageScale,imagePathFullRes:K.imagePathFullRes,imageDataUrl:K.imageDataUrl,isLargeView:!1,isDelete:Y,formTemplateOptions:K.formTemplateOptions,commandRequestOutput:(F=K.commandRequestOutput)==null?void 0:F.replace("[Err]",""),isCommandRequestRunError:!!((G=K.commandRequestOutput)!=null&&G.startsWith("[Err]")),commandRequestOutputLastRunAt:K.commandRequestLastRunAt,requestOptions:K.requestOptions,imageWidthHeight:K.imageWidth?"".concat(K.imageWidth,"x").concat(K.imageHeight):null,clipId:g,value:K.value}):s.jsx(o_e,{itemId:g,isDark:u,isDisabled:e,isActive:t,isCopyOrPaste:S===g||w===g,isFolder:o,isImageData:C,isCode:N,isSeparator:n,menuName:c,isExpanded:v,isImage:b,isPath:j,isLink:E,isVideo:H,isDelete:Y,isMasked:z,hasMaskedWords:V,hasEmoji:I,pathType:i.pathType,detectedLanguage:A,imagePathFullRes:M,imageDataUrl:D,imageHash:L,imageWidthHeight:q?"".concat(q,"x").concat(_):null,imageType:$,arrLinks:i.links?(X=JSON.parse(i.links))!=null?X:[]:[],value:U})}const l_e=({menuItems:e,selectedItemIds:t,onDelete:r,showMultiSelectItems:n,collectionId:a,setSelectedItemIds:o})=>{const{t:i}=At(),{deleteMenuItemsByIds:c}=_ge(),{updateMenuItemsByIds:u}=Sge();Os(["alt+s"],()=>{n.value=!n.value}),Os(["alt+d"],()=>{o([])});const f=p.useMemo(()=>t.filter(w=>{const g=e.find(({itemId:b})=>b===w);return g&&e.filter(({parentId:b})=>b===g.itemId).length===0}),[t,e]),h=p.useMemo(()=>t.filter(w=>{const g=e.find(({itemId:b})=>b===w);return g&&g.isActive===!1}),[t,e]),m=p.useMemo(()=>t.filter(w=>{const g=e.find(({itemId:b})=>b===w);return g&&g.isActive===!0}),[t,e]),v=p.useMemo(()=>t.filter(w=>{const g=e.find(({itemId:b})=>b===w);return g&&g.isDisabled===!1}),[t,e]),S=p.useMemo(()=>t.filter(w=>{const g=e.find(({itemId:b})=>b===w);return g&&g.isDisabled===!0}),[t,e]);return s.jsxs(Ir,{onOpenChange:()=>{},children:[s.jsx(Or,{asChild:!0,children:s.jsxs(ye,{variant:"light",id:"menu-icon-menu-button_tour",className:"w-10 text-slate-400 hover:text-slate-500 hover:dark:text-slate-400 dark:text-slate-500 bg-slate-100 p-1 relative hover:bg-slate-100/70 dark:bg-slate-900 dark:hover:bg-slate-700/70",children:[s.jsx(F6,{className:"stroke-[1.3px]",size:22}),t.length>1&&s.jsx(lt,{variant:"slate",className:"absolute right-[-10px] top-[-10px]",children:t.length})]})}),s.jsx(Ar,{sideOffset:10,align:"start",shadow:"shadow-[0_-2px_12px_0_rgb(0,0,0,0.1)]",children:s.jsxs(vH,{children:[n.value?s.jsxs(He,{onClick:()=>{n.value=!1},children:[s.jsx(xz,{className:"mr-2 h-4 w-4"}),s.jsx(J,{children:i("Hide Muli Select",{ns:"common"})}),s.jsx(Tl,{children:s.jsx(no,{keys:"ALT+S"})})]}):s.jsxs(He,{onClick:()=>{n.value=!0},children:[s.jsx(vz,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-2",children:i("Multi Select",{ns:"common"})}),s.jsx(Tl,{children:s.jsx(no,{keys:"ALT+S"})})]}),s.jsxs(He,{disabled:t.length===0,onClick:()=>{o([])},children:[s.jsx(P6,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:i("Deselect All",{ns:"common"})}),s.jsx(Tl,{children:s.jsx(no,{keys:"ALT+D"})})]}),s.jsx(tr,{}),s.jsxs(He,{onClick:()=>{Sr("build_system_menu")},children:[s.jsx(Uie,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:i("Rebuild Menu",{ns:"common"})})]}),s.jsx(tr,{}),S.length>0&&s.jsxs(He,{onClick:()=>pe(void 0,null,function*(){yield u({updatedData:{isDisabled:!1},itemIds:t}),o([]),n.value=!1}),children:[s.jsx(jz,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:i("Make Enabled",{ns:"common"})}),s.jsx(lt,{variant:"slate",className:"ml-1 py-0 font-semibold",children:S.length})]}),v.length>0&&s.jsxs(He,{onClick:()=>pe(void 0,null,function*(){yield u({updatedData:{isActive:!1},itemIds:t}),o([]),n.value=!1}),children:[s.jsx(pm,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:i("Make Disabled",{ns:"common"})}),s.jsx(lt,{variant:"slate",className:"ml-1 py-0 font-semibold",children:v.length})]}),(v.length>0||S.length>0)&&s.jsx(tr,{}),m.length>0&&s.jsxs(He,{onClick:()=>pe(void 0,null,function*(){yield u({updatedData:{isActive:!1},itemIds:t}),o([]),n.value=!1}),children:[s.jsx(w1,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:i("Make Inactive",{ns:"common"})}),s.jsx(lt,{variant:"slate",className:"ml-1 py-0 font-semibold",children:m.length})]}),h.length>0&&s.jsxs(He,{onClick:()=>pe(void 0,null,function*(){yield u({updatedData:{isActive:!0},itemIds:t}),o([]),n.value=!1}),children:[s.jsx(Fm,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:i("Make Active",{ns:"common"})}),s.jsx(lt,{variant:"slate",className:"ml-1 py-0 font-semibold",children:h.length})]}),(h.length>0||m.length>0)&&s.jsx(tr,{}),s.jsxs(He,{disabled:f.length===0,onClick:w=>pe(void 0,null,function*(){_i.value?(yield c({itemIds:f,collectionId:a}),setTimeout(()=>{r(),o([]),n.value=!1,_i.value=!1},400)):(w.preventDefault(),_i.value=!0,setTimeout(()=>{_i.value=!1},3e3))}),children:[s.jsx(xn,{className:"mr-2 h-4 w-4 ".concat(_i.value?"text-red-500 dark:text-red-600":"")}),s.jsxs(me,{children:[s.jsx(J,{className:"mr-1 ".concat(_i.value?"!text-red-500 dark:!text-red-600":""),children:_i.value?i("Click to Confirm",{ns:"common"}):i("Delete",{ns:"common"})}),f.length>0&&s.jsx(s.Fragment,{children:_i.value?s.jsx(lt,{variant:"destructive",className:"bg-red-500 ml-1 py-0 font-semibold",children:f.length}):s.jsx(lt,{variant:"slate",className:"ml-1 py-0 font-semibold",children:f.length})})]})]})]})})]})};function c_e(){IN(),ON();const{t:e}=At(),t=al(),r=sa(),{updateMenuItemById:n}=R1(),{isSwapPanels:a,setReturnRoute:o,setPanelSize:i,panelSize:c}=ft(Es),{appToursSkippedList:u,setAppToursSkippedList:f,isNotTourCompletedOrSkipped:h}=ft(pn),{updateMovedMenuItems:m}=$N(),{isCollectionWithItemLoading:v,isCollectionWithItemSuccess:S}=EB(),{currentCollectionId:w,menuItems:g,isMenuLoaded:b,getCurrentCollectionTitle:C}=ft(Tn),{data:j,setData:E}=Sq(),{themeDark:N}=ft(fi),[T,A]=p.useState(""),[M,D]=p.useState(null),[L,z]=p.useState([""]),[H,V]=p.useState([""]),{createNewItem:I}=pk(!1),{linkClipIdToMenuItem:q}=jge(!1),_=mo(T,300),$=We(null),U=We(!1),K=We(!1),Y=p.useRef(null),B=p.useRef(null),F=N(),G=p.useMemo(()=>b&&!v&&S,[b,v,S]),X=p.useMemo(()=>K.value,[K.value]),se=p.useMemo(()=>g.filter(oe=>oe.isActive),[g]);p.useEffect(()=>{o(t.pathname),ff();let oe;return h(sr.menuTour)&&!Hr.value&&(oe=W1({title:"".concat(e("Welcome to Paste Menu",{ns:"help"})),delay:0,description:s.jsxs(Q,{children:[e("WelcomeTourDescription",{ns:"help"}),s.jsx(Q,{className:"mt-3",children:s.jsx(ns,{i18nKey:"WelcomeTourCanSkip",ns:"help"})}),s.jsxs(me,{className:"justify-between",children:[s.jsx(ye,{className:"bg-blue-500 dark:bg-blue-700 dark:hover:bg-blue-800 hover:bg-blue-600 px-4 mt-3 text-white",onClick:()=>{Hr.value=sr.menuTour,oe.dismiss()},children:e("Start Tour",{ns:"help"})}),s.jsxs(me,{className:"gap-3",children:[s.jsx(ye,{variant:"light",className:"text-gray-800 px-4 mt-3 dark:bg-slate-800 dark:text-gray-400 hover:dark:text-gray-300",onClick:()=>{oe.dismiss()},children:e("Later",{ns:"help"})}),s.jsx(ye,{variant:"outline",className:"text-gray-800 px-4 mt-3",onClick:()=>{oe.dismiss(),f([...u,sr.menuTour])},children:e("Skip Tour",{ns:"help"})})]})]})]})})),()=>{oe==null||oe.dismiss()}},[]),p.useEffect(()=>{var oe;As!=null&&As.value&&!((oe=g==null?void 0:g.find(({itemId:fe})=>fe===As.value))!=null&&oe.isFolder)&&!Ki.value&&D(As.value)},[As==null?void 0:As.value,Ki.value]),p.useEffect(()=>{E(g.length>0?Uv(g,null,X):[])},[g,X]);const re=p.useMemo(()=>g.filter(oe=>!oe.isActive),[g]),ie=p.useMemo(()=>{const oe=fe=>{var le,ue;return fe.name.toLowerCase().includes(_.toLowerCase())?!0:(ue=(le=fe.children)==null?void 0:le.some(oe))!=null?ue:!1},ae=(fe,le=0)=>{let ue=[];return fe.forEach(be=>{var Ee,Oe;const Ce=oe(be),Pe=g.find(Ve=>Ve.itemId===be.id);if(Pe&&Ce){const Ve=ee(R({},Pe),{indent:le,id:be.id});if(ue.push(Ve),be.children&&((Ee=be.children)==null?void 0:Ee.length)>0&&!H.includes((Oe=be.id)!=null?Oe:"")){const ct=ae(be.children,le+1);ue=ue.concat(ct)}}}),ue};return ae(j)},[j,g,H,X,_]);return p.useEffect(()=>{function oe(){return pe(this,null,function*(){var ae,fe,le,ue,be,Ce,Pe,Ee,Oe,Ve,ct,gt,Ke,Et,Re,xt,ot,pt;if(Qa.value){const{type:_t,parentId:ht,clipId:It,historyId:Ft,text:Vt="",clipboardHistoryItem:Ge,orderNumber:Zt=0}=Qa.value,nr=_t===qo.FOLDER?e("New Submenu",{ns:"menus"}):_t===qo.ITEM?e("New Menu",{ns:"menus"}):_t===qo.DISABLED?e("New Disabled Menu",{ns:"menus"}):"",vr=!!It,pr=(ae=ie.filter(({name:je})=>je.startsWith(nr)).length)!=null?ae:0,Wr=Ge==null?void 0:Ge.isImage,Le=Ft&&(Ge!=null&&Ge.historyId)?{historyId:Ft,name:Ge!=null&&Ge.value?Ge.value.substring(0,50).replace(/\n\t/g,"").replace(/\s+/g," ").trim():Wr?"".concat(e("Image size",{ns:"common"})," (").concat(Ge==null?void 0:Ge.imageWidth,"x").concat(Ge==null?void 0:Ge.imageHeight,")"):pr>0?"".concat(nr," (").concat(pr,")"):nr,isClip:!1,isMenu:!0,value:"",isActive:!0,description:null,detectedLanguage:(fe=Ge==null?void 0:Ge.detectedLanguage)!=null?fe:null,isImage:(le=Ge==null?void 0:Ge.isImage)!=null?le:!1,imageDataUrl:(ue=Ge==null?void 0:Ge.imageDataUrl)!=null?ue:null,imagePathFullRes:(be=Ge==null?void 0:Ge.imagePathFullRes)!=null?be:null,imageHeight:(Ce=Ge==null?void 0:Ge.imageHeight)!=null?Ce:null,imageWidth:(Pe=Ge==null?void 0:Ge.imageWidth)!=null?Pe:null,imagePreviewHeight:(Ee=Ge==null?void 0:Ge.imagePreviewHeight)!=null?Ee:null,isLink:(Oe=Ge==null?void 0:Ge.isLink)!=null?Oe:!1,links:(Ve=Ge==null?void 0:Ge.links)!=null?Ve:null,isImageData:(ct=Ge==null?void 0:Ge.isImageData)!=null?ct:!1,isMasked:(gt=Ge==null?void 0:Ge.isMasked)!=null?gt:!1,isVideo:(Ke=Ge==null?void 0:Ge.isVideo)!=null?Ke:!1,isCode:(Et=Ge==null?void 0:Ge.isCode)!=null?Et:!1,isText:(Re=Ge==null?void 0:Ge.isText)!=null?Re:!1,hasEmoji:(xt=Ge==null?void 0:Ge.hasEmoji)!=null?xt:!1,hasMaskedWords:(ot=Ge==null?void 0:Ge.hasMaskedWords)!=null?ot:!1,hasMultiLineCopy:!1,showDescription:!1,isDeleted:!1,indent:0,parentId:ht!=null?ht:null,tabId:null,collectionId:w,createdAt:0,orderNumber:Zt+1}:{name:pr>0?"".concat(nr," (").concat(pr,")"):nr,isClip:vr,isMenu:!0,value:Vt,description:null,isActive:!0,isFolder:_t===qo.FOLDER,isSeparator:_t===qo.SEPARATOR,isDisabled:_t===qo.DISABLED,isText:!0,isDeleted:!1,indent:0,parentId:ht!=null?ht:null,tabId:null,collectionId:w,createdAt:0,orderNumber:Zt+1},Mt=vr?yield q({clipId:It,item:Le}):yield I({item:Le});(pt=Ge==null?void 0:Ge.linkMetadata)!=null&&pt.metadataId&&!vr&&(yield Sr("copy_link_metadata_to_new_item_id",{metadataId:Ge.linkMetadata.metadataId,itemId:Mt}));const Ze=Uv(g,null,!0);Ze.unshift(ee(R({},Le),{id:Mt}));const mr=U4(Ze,ht!=null?ht:null,[Mt],ht&&Zt>0?Zt-1:Zt),Se=mr==null?void 0:mr.map(({id:je,parentId:we,orderNumber:Fe})=>({itemId:je,parentId:we,tabId:null,collectionId:w,orderNumber:Fe}));m({updatedMoveMenuItems:Se}),ro.value=!1,Qa.value=null,z([]),qo.FOLDER!==_t&&qo.DISABLED!==_t&&qo.SEPARATOR!==_t&&D(Mt),qo.SEPARATOR!==_t&&!vr&&(As.value=Mt,Ki.value=!0)}})}oe()},[Qa.value]),p.useEffect(()=>{vu.value&&(D(vu.value),setTimeout(()=>{vu.value=null},2e3))},[vu.value,B==null?void 0:B.current]),p.useEffect(()=>{var oe;B!=null&&B.current&&((oe=B==null?void 0:B.current)==null||oe.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))},[B==null?void 0:B.current]),s.jsx(Wk,{children:s.jsxs(I_,{minSize:260,maxSize:700,defaultSize:320,swapPanes:a,onResize:i,autoSaveId:"app-main-panel",children:[s.jsx(O_,{children:s.jsx(Q,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-200 shadow-sm rounded-xl dark:bg-gray-800 dark:border-gray-700 dark:shadow-slate-700/[.8] pb-4 pt-4 px-3 pr-3",children:s.jsx(Uf,{disableWidth:!0,children:({height:oe})=>oe&&oe>0&&!v&&w&&s.jsxs(Q,{className:"flex flex-col h-[calc(100vh-95px)] relative",id:"side-panel_tour",children:[j.length>0?s.jsx(Q,{className:"flex flex-row bg-slate-100 dark:bg-slate-700 rounded-md p-0 items-center h-[40px] mb-2",id:"menu-find_tour",children:s.jsx(Qu,{placeholder:"".concat(e("Find in menu",{ns:"menus"}),"..."),type:"search",ref:Y,onChange:ae=>{A(ae.target.value)},iconLeft:s.jsx(mm,{className:"h-4 w-4"}),classNameInput:"w-full pr-0",className:"text-md ring-offset-0 bg-slate-100 dark:bg-slate-700 border-r-0 border-t-0 border-b-0"})}):G&&g.length===0&&s.jsx(me,{style:{height:oe-85},className:"flex items-center flex-col gap-3 justify-center",children:s.jsx(J,{className:"animate-in fill-mode-forwards fade-in text-slate-300 text-xs bg-slate-100 rounded-full px-3 dark:text-slate-600 dark:bg-slate-900",children:e("No Menu Items",{ns:"menus"})})}),s.jsxs(en,{style:{maxHeight:oe-93},autoHide:!0,children:[s.jsx(zNe,{data:j,rowHeight:33,selectedIds:L,closedFolderItemIds:H,renderCursor:qNe,renderContainer:a_e,renderDragPreview:e_e,onMove:({dragIds:ae,index:fe,parentId:le})=>{const ue=U4(j,le,ae,fe),be=ue==null?void 0:ue.map(({id:Ce,parentId:Pe,orderNumber:Ee})=>({itemId:Ce,parentId:Pe,tabId:null,collectionId:w,orderNumber:Ee}));m({updatedMoveMenuItems:be})},onSelect:ae=>{const fe=ae.map(ue=>ue.id);fe.length===L.length&&fe.every(ue=>L.includes(ue))||z(fe)},onFolderClose:ae=>{V(fe=>[...fe,ae])},onFolderOpen:ae=>{V(fe=>fe.filter(le=>le!==ae))},onRename:le=>pe(this,[le],function*({id:ae,name:fe}){var be;if(fe.length<1){yield lo(e("Menu label cannot be empty.",{ns:"menus"}),"PasteBar");return}if(fe.length>Fg){yield lo("".concat(e("Menu label is too long. Max length is",{ns:"menus"})," ").concat(Fg,"."),"PasteBar");return}if((be=g.find(Ce=>Ce.itemId===ae))==null?void 0:be.isClip){yield lo(e("Menu is link to a clip and cannot be renamed. Please rename its linked clip.",{ns:"menus"}),"PasteBar");return}yield n({updatedItem:{itemId:ae,name:fe}})}),onSearchClear:()=>{var ae;A(""),Y!=null&&Y.current&&(Y.current.value="",(ae=Y==null?void 0:Y.current)==null||ae.focus())},searchMatch:(ae,fe)=>{const le=ae.data.name;return typeof le=="string"?le.toLowerCase().includes(fe.toLowerCase()):!1},renderRow:s_e,searchTerm:_,disableDrop:()=>!1,children:r_e}),!_&&se.length>1&&j.length>0&&s.jsx(J,{className:"!text-gray-400/80 border-t border-gray-300/70 dark:border-gray-600/70 !block text-center !text-[12px] mt-2 pt-1 whitespace-nowrap overflow-hidden text-ellipsis",children:e("Drag items to reorder, double click to rename",{ns:"menus"})})]}),s.jsx(Q,{className:"flex-1 mt-3"}),s.jsxs(Qi,{className:"min-w-full flex flex-row justify-center h-10 items-center gap-2",value:t.pathname,onValueChange:ae=>{r(ae,{replace:!0})},children:[s.jsxs(Fo,{className:"self-center",id:"tabs-menu_tour",children:[s.jsx(bn,{value:"/history",className:"min-w-[90px]",children:c<350?e("History",{ns:"common"}):e("Clipboard History",{ns:"common"})}),s.jsx(bn,{value:"/menu",className:"min-w-[90px]",children:c<350?e("Menu",{ns:"common"}):e("Paste Menu",{ns:"common"})})]}),s.jsx(l_e,{deletingMenuItemIds:$,menuItems:g,collectionId:w,onDelete:()=>{var ae;A(""),Y!=null&&Y.current&&Y.current.value&&(Y.current.value="",(ae=Y==null?void 0:Y.current)==null||ae.focus())},showMultiSelectItems:U,setSelectedItemIds:z,selectedItemIds:L})]})]})})})}),s.jsx($_,{children:G&&s.jsx(Q,{className:"h-[calc(100vh-70px)] select-none flex flex-col bg-slate-50 border shadow-sm rounded-xl dark:bg-gray-900/60 dark:border-gray-800 dark:shadow-slate-700/[.7]",children:s.jsx(Uf,{disableWidth:!0,children:({height:oe})=>oe&&s.jsxs(Q,{className:"p-4 py-4 pb-2 select-auto",id:"menu-main-list_tour",children:[s.jsxs(me,{className:"justify-center relative h-8 pt-2 select-none",children:[re.length>0&&s.jsx(ye,{variant:"ghost",id:"toggle-inactive-menu-items_tour",className:"bg-slate-200 p-1.5 text-slate-500 dark:bg-slate-700 dark:hover:bg-slate-700/80 dark:text-slate-300 rounded-sm flex items-center group absolute top-1 left-1",onClick:()=>{K.value=!X},children:s.jsx(Be,{asChild:!0,side:"bottom",isCompact:!0,sideOffset:12,text:e("Toggle inactive menu items",{ns:"menus"}),children:s.jsxs(Q,{className:"relative",children:[X?s.jsx(w1,{size:20,className:"transition-colors group-hover:text-slate-400 dark:group-hover:text-slate-300/80 dark:text-slate-500"}):s.jsx(Fm,{size:20,className:"transition-colors group-hover:text-slate-400 dark:group-hover:text-slate-500 dark:text-slate-300/80"}),s.jsx(lt,{className:"absolute right-[-16px] top-[-17px] ".concat(X?"bg-slate-400/80 dark:bg-slate-600 text-slate-100 dark:text-slate-400/80":"bg-slate-300/80 dark:bg-slate-700 dark:text-slate-200/80 text-slate-500"),variant:"".concat(X?"default":"outline"),children:re.length})]})})}),!ro.value||se.length===0?s.jsx(Q,{className:"text-[13px] select-none",children:se.length>0?s.jsxs(J,{className:"gap-1",children:[s.jsx("span",{className:"font-semibold",children:se.length}),s.jsxs("span",{children:[re.length>0?e("active",{ns:"menus"}):""," ",e("menu items in",{ns:"menus"})]}),s.jsx(HR,{children:s.jsx("span",{className:"font-semibold underline cursor-pointer select-none",children:C()})})]}):s.jsxs(J,{className:"gap-1",children:[s.jsx("span",{children:e("No {{hasActive}} menu items in",{ns:"menus",hasActive:re.length>0?e("active",{ns:"menus"}):""})}),s.jsx(HR,{children:s.jsx("span",{className:"font-semibold underline cursor-pointer",children:C()})})]})}):s.jsx(Q,{className:"text-[13px]",children:s.jsx(J,{className:"text-center",children:e("Select item to add a menu after",{ns:"menus"})})}),se.length>0&&s.jsx(G2,{isMainCreateMenu:!0,isDark:F,showEditMenuItemId:As,isCreatingMenuItem:ro})]}),se.length===0&&s.jsx(me,{className:"mt-6 flex-col select-none",children:s.jsxs(Q,{children:[s.jsx(G2,{isFistItemsCreateMenu:!0,isDark:F,showEditMenuItemId:As,isCreatingMenuItem:ro}),s.jsx(J,{className:"text-sm mt-4 !text-slate-500",children:e("Create Menu",{ns:"menus"})})]})}),s.jsx(kr,{h:2}),s.jsxs(en,{style:{height:oe-75},autoHide:!0,className:"select-none",children:[s.jsx(lB,{type:"single",collapsible:!0,value:M!=null?M:"",className:"flex items-center flex-col select-none",children:ie.map((ae,fe)=>ae.itemId&&s.jsx(AN,{ref:vu.value===ae.itemId?B:null,value:ae.itemId,children:s.jsx(EW,{label:ae.name,setOpenItemId:D,setSelectedItemIds:z,isLastItem:fe===ie.length-1,deletingMenuItemIds:$,isFirstItem:fe===0,showEditMenuItemId:As,hasChildren:ae.hasChildren,isSeparator:ae.isSeparator,showMultiSelectItems:U,hasSelectedItems:L.length>0,isDark:F,deselectItemById:le=>{z(L.filter(ue=>ue!==le))},selectItemById:le=>{z(ue=>[...ue,le])},id:ae.itemId,item:ae,isClip:ae.isClip,isForm:ae.isForm&&ae.isClip,isWebRequest:ae.isWebRequest&&ae.isClip,isWebScraping:ae.isWebScraping&&ae.isClip,isCommand:ae.isCommand&&ae.isClip,isCreatingMenuItem:ro,indent:ae.indent,onFolderClose:le=>{V(ue=>[...ue,le])},onFolderOpen:le=>{V(ue=>ue.filter(be=>be!==le))},isClosedFolder:H.includes(ae.itemId),isSelected:L.includes(ae.itemId),hasMultipleSelectedItems:L.length>1,isOpen:M===ae.itemId,children:s.jsx(i_e,{menuName:ae.name,isDisabled:ae.isDisabled,isMenuEdit:As.value===ae.itemId,isActive:ae.isActive,isDark:F,isMenu:ae.isMenu,isCode:ae.isCode,isSeparator:ae.isSeparator,isFolder:ae.isFolder,isText:ae.isText,isClip:ae.isClip,deletingMenuItemIds:$,item:ae})})},"".concat(ae.itemId)))}),s.jsx(kr,{h:3})]})]})})})})]},a?"swap":"no-swap")})}function u_e(){const{returnRoute:e}=ft(Es),{t}=At(),{appToursSkippedList:r,setAppToursSkippedList:n,isNotTourCompletedOrSkipped:a}=ft(pn);return p.useEffect(()=>{let o;return a(sr.settingsTour)&&!Hr.value&&(o=W1({title:"".concat(t("Welcome to PasteBar Settings",{ns:"help"})),delay:0,description:s.jsxs(Q,{children:[t("WelcomeTourDescription",{ns:"help"}),s.jsx(Q,{className:"mt-3",children:s.jsx(ns,{i18nKey:"WelcomeTourCanSkip",ns:"help"})}),s.jsxs(me,{className:"justify-between",children:[s.jsx(ye,{className:"bg-blue-500 dark:bg-blue-700 dark:hover:bg-blue-800 hover:bg-blue-600 px-4 mt-3 text-white",onClick:()=>{Hr.value=sr.settingsTour,o.dismiss()},children:t("Start Tour",{ns:"help"})}),s.jsxs(me,{className:"gap-3",children:[s.jsx(ye,{variant:"light",className:"text-gray-800 px-4 mt-3 dark:bg-slate-800 dark:text-gray-400 hover:dark:text-gray-300",onClick:()=>{o.dismiss()},children:t("Later",{ns:"help"})}),s.jsx(ye,{variant:"outline",className:"text-gray-800 px-4 mt-3",onClick:()=>{o.dismiss(),n([...r,sr.settingsTour])},children:t("Skip Tour",{ns:"help"})})]})]})]})})),()=>{o==null||o.dismiss()}},[]),s.jsx(Wk,{children:s.jsx(Q,{className:"w-full",children:s.jsxs(I_,{minSize:250,maxSize:360,defaultSize:290,autoSaveId:"app-main-panel",children:[s.jsx(O_,{children:s.jsx(Q,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-200 shadow-sm rounded-xl dark:bg-gray-800 dark:border-gray-700 dark:shadow-slate-700/[.8] py-6 px-3 pr-3",children:s.jsxs(Q,{className:"animate-in fade-in",children:[s.jsx(Q,{className:"flex flex-rowrounded-md p-0 items-center justify-end pr-5 h-[40px]",children:s.jsxs(J,{className:"text-lg font-semibold text-center flex items-center",children:[s.jsx(Gf,{className:"mr-2"}),t("PasteBar Settings",{ns:"settings"})]})}),s.jsx(kr,{h:3}),s.jsx(Fh,{to:"/app-settings/history",replace:!0,id:"app-settings-history_tour",children:({isActive:o})=>s.jsx(J,{className:"pr-5 py-3 text-lg justify-end text-right items-center animate fade-in transition-fonts duration-100 dark:!text-slate-400 ".concat(o&&"!font-bold text-[19px] dark:!text-slate-300 !_text-slate-600"),children:t("Clipboard History Settings",{ns:"settings"})})}),s.jsx(Fh,{to:"/app-settings/collections",replace:!0,id:"app-settings-collections_tour",children:({isActive:o})=>s.jsx(J,{className:"pr-5 text-right py-3 text-lg justify-end items-center animate fade-in transition-fonts duration-100 dark:!text-slate-400 ".concat(o&&"!font-bold text-[19px] dark:!text-slate-300 !_text-slate-600"),children:t("Manage Collections",{ns:"settings"})})}),s.jsx(Fh,{to:"/app-settings/preferences",replace:!0,id:"app-settings-preferences_tour",children:({isActive:o})=>s.jsx(J,{className:"pr-5 text-right py-3 text-lg justify-end items-center animate fade-in transition-fonts duration-100 dark:!text-slate-400 ".concat(o&&"!font-bold text-[19px] dark:!text-slate-300 !_text-slate-600"),children:t("User Preferences",{ns:"settings"})})}),s.jsx(Fh,{to:"/app-settings/security",replace:!0,id:"app-settings-security_tour",children:({isActive:o})=>s.jsx(J,{className:"pr-5 text-right py-3 text-lg justify-end items-center animate fade-in transition-fonts duration-100 dark:!text-slate-400 ".concat(o&&"!font-bold text-[19px] dark:!text-slate-300 !_text-slate-600"),children:t("Security",{ns:"settings"})})}),s.jsx(Fh,{to:"/app-settings/license",replace:!0,id:"app-settings-license_tour",children:({isActive:o})=>s.jsx(J,{className:"pr-5 text-right py-3 text-lg justify-end items-center animate fade-in transition-fonts duration-100 dark:!text-slate-400 ".concat(o&&"!font-bold text-[19px] dark:!text-slate-300 !_text-slate-600"),children:t("License",{ns:"settings"})})}),s.jsx(kr,{h:6}),s.jsx(me,{className:"mr-5 justify-end",children:s.jsx(jN,{decorative:!0,className:"bg-gray-300 dark:bg-gray-600"})}),s.jsx(kr,{h:6}),s.jsx(Fh,{to:e,replace:!0,id:"app-settings-back_tour",children:s.jsx(Q,{className:"pr-5 font-right text-right py-3 text-md animate fade-in transition-fonts duration-100",children:s.jsx(ye,{variant:"secondary",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",children:t("Back",{ns:"common"})})})})]})})}),s.jsx($_,{children:s.jsx(Q,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-50 border-0 shadow-sm rounded-xl dark:bg-gray-800 dark:border-gray-700 dark:shadow-slate-700/[.7]",children:s.jsx(v_,{})})})]})})})}function d_e({id:e,language:t}){const{attributes:r,listeners:n,setNodeRef:a,transform:o,transition:i,isDragging:c}=Rw({id:e}),u={transform:$o.Transform.toString(o),transition:i};return s.jsx("div",ee(R(R({ref:a,style:u},r),n),{className:c?"z-100 opacity-70":"z-auto opacity-100",children:s.jsxs(me,{className:"items-center justify-between p-2 border rounded mb-2 dark:bg-slate-900 bg-slate-50",children:[s.jsx(me,{className:"items-center justify-center ml-2",children:s.jsx(J,{children:t})}),s.jsx(ye,{variant:"ghost",size:"sm",className:"opacity-40 hover:opacity-90",children:s.jsx(k1,{size:20})})]})}))}function f_e(){const{isHistoryEnabled:e,setIsHistoryEnabled:t,isHistoryAutoUpdateOnCaputureEnabled:r,setIsHistoryAutoUpdateOnCaputureEnabled:n,setIsExclusionListEnabled:a,historyExclusionList:o,autoMaskWordsList:i,isExclusionListEnabled:c,setHistoryExclusionList:u,setAutoMaskWordsList:f,isAutoMaskWordsListEnabled:h,isAutoPreviewLinkCardsEnabled:m,setIsAutoPreviewLinkCardsEnabled:v,isAutoFavoriteOnDoubleCopyEnabled:S,setIsAutoFavoriteOnDoubleCopyEnabled:w,setIsAutoMaskWordsListEnabled:g,setHistoryDetectLanguagesEnabledList:b,setHistoryDetectLanguagesPrioritizedList:C,setIsHistoryDetectLanguageEnabled:j,isHistoryDetectLanguageEnabled:E,historyDetectLanguagesEnabledList:N,historyDetectLanguagesPrioritizedList:T,historyDetectLanguageMinLines:A,setHistoryDetectLanguageMinLines:M,isAutoClearSettingsEnabled:D,setIsAutoClearSettingsEnabled:L,autoClearSettingsDuration:z,setAutoClearSettingsDuration:H,autoClearSettingsDurationType:V,setAutoClearSettingsDurationType:I,isAppReady:q,CONST:{APP_DETECT_LANGUAGES_SUPPORTED:_}}=ft(pn),{returnRoute:$}=ft(Es),{t:U}=At(),[K,Y]=p.useState(""),[B,F]=p.useState(""),[G,X]=p.useState(!1),se=mo(K,300),re=mo(B,300),[ie,oe]=p.useState([]);p.useEffect(()=>{W5(T)&&!W5(N)?oe(N):W5(T)||oe(T)},[N,T]),p.useEffect(()=>{q&&u(ry(se))},[se,q]),p.useEffect(()=>{q&&f(ry(re))},[re,q]),p.useEffect(()=>{q&&(Y(o),F(i))},[q]);const ae={days:[1,2,3,4,5,6],weeks:[1,2,3],months:[1,3,6,8],year:[1,2]};function fe(le,ue){const Ce={days:le===1?U("Day",{ns:"calendar"}):U("Days",{ns:"calendar"}),weeks:le===1?U("Week",{ns:"calendar"}):U("Weeks",{ns:"calendar"}),months:le===1?U("Month",{ns:"calendar"}):U("Months",{ns:"calendar"}),year:le===1?U("Year",{ns:"calendar"}):U("Years",{ns:"calendar"})}[ue];return"".concat(le," ").concat(Ce)}return s.jsx(Uf,{disableWidth:!0,children:({height:le})=>le&&s.jsxs(Q,{className:"p-4 py-6 select-none min-w-[320px]",children:[s.jsxs(Q,{className:"text-xl my-2 mx-2 flex items-center justify-between",children:[s.jsx(J,{className:"light",children:U("Clipboard History Settings",{ns:"settings"})}),s.jsx(Pc,{to:$,replace:!0,children:s.jsx(ye,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:U("Back",{ns:"common"})})})]}),s.jsx(kr,{h:3}),s.jsxs(en,{style:{maxHeight:le-85},autoHide:!0,children:[s.jsx(Q,{className:"animate-in fade-in max-w-xl",children:s.jsxs(nn,{className:"".concat(!e&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Capture History",{ns:"settings"})}),s.jsx(Yn,{checked:e,className:"ml-auto",onCheckedChange:()=>{t(!e)}})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:U("Enable history capture",{ns:"settings"})})})]})}),e&&s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"max-w-xl animate-in fade-in mt-4",children:s.jsxs(nn,{className:"".concat(!r&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Auto-Update on Capture",{ns:"settings"})}),s.jsx(Yn,{checked:r,className:"ml-auto",onCheckedChange:()=>{n(!r)}})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:U("Enable auto update on capture",{ns:"settings"})})})]})}),s.jsx(Q,{className:"mt-4 max-w-xl animate-in fade-in",children:s.jsxs(nn,{className:"".concat(!S&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Auto-Star on Double Copy",{ns:"settings"})}),s.jsx(Yn,{checked:S,className:"ml-auto",onCheckedChange:()=>{w(!S)}})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:U("Add a star to the copied text when you copy it twice within 1 second. This allows you to quickly add copied text or links to your favorites and easily find it in the clipboard history.",{ns:"settings"})})})]})}),s.jsx(Q,{className:"mt-4 max-w-xl animate-in fade-in",children:s.jsxs(nn,{className:"".concat(!m&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Auto-Preview Link on Hover",{ns:"settings"})}),s.jsx(Yn,{checked:m,className:"ml-auto",onCheckedChange:()=>{v(!m)}})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:U("Create a preview card on link hover in the clipboard history. This allows you to preview the link before opening or pasting it.",{ns:"settings"})})})]})}),s.jsx(Q,{className:"max-w-xl animate-in fade-in mt-4",children:s.jsxs(nn,{className:"".concat(!c&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Stop Words List",{ns:"settings"})}),s.jsx(Yn,{checked:c,className:"ml-auto",onCheckedChange:()=>{a(!c)}})]}),s.jsxs(cn,{children:[s.jsx(J,{className:"text-sm text-muted-foreground mb-2",children:U("Words or sentences listed below will not be captured in clipboard history if found in the copied text. Case insensitive.",{ns:"settings"})}),s.jsx(ho,{className:"text-sm",isDisabled:!c,label:U("List each word or sentence on a new line.",{ns:"settings"}),placeholder:void 0,rows:5,maxRows:15,enableEmoji:!1,onBlur:()=>{u(ry(K))},onChange:ue=>{Y(ue.target.value)},value:K})]})]})}),s.jsx(Q,{className:"max-w-xl animate-in fade-in mt-4",children:s.jsxs(nn,{className:"".concat(!h&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Auto Masking Words List",{ns:"settings"})}),s.jsx(Yn,{checked:h,className:"ml-auto",onCheckedChange:()=>{g(!h)}})]}),s.jsxs(cn,{children:[s.jsx(J,{className:"text-sm text-muted-foreground mb-2",children:U("Sensitive words or sentences listed below will automatically be masked if found in the copied text. Case insensitive.",{ns:"settings"})}),s.jsx(ho,{className:"text-sm",label:U("List each word or sentence on a new line.",{ns:"settings"}),placeholder:void 0,isDisabled:!h,rows:5,maxRows:15,enableEmoji:!1,onFocus:()=>{X(!0)},onBlur:()=>{f(ry(B)),X(!1)},onChange:ue=>{F(ue.target.value)},value:G?B:Mf(B)})]})]})}),s.jsx(Q,{className:"max-w-xl animate-in fade-in mt-4",children:s.jsxs(nn,{className:"".concat(!E&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Programming Language Detection",{ns:"settings"})}),s.jsx(Yn,{checked:E,className:"ml-auto",onCheckedChange:()=>{j(!E)}})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:U("Enable programming language detection",{ns:"settings"})})})]})})]}),e&&E&&s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"max-w-xl mt-4 animate-in fade-in",children:s.jsxs(nn,{children:[s.jsx(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Minimum number of lines to trigger detection",{ns:"settings"})})}),s.jsx(cn,{children:s.jsx(er,{className:"text-md !w-36",error:void 0,small:!0,label:U("Number of lines",{ns:"common"}),value:A,onChange:ue=>{const be=ue.target.value;if(be==="")M(0);else{const Ce=parseInt(be);Ce&&M(Ce)}}})})]})}),s.jsx(Q,{className:"mt-4 max-w-2xl animate-in fade-in",children:s.jsxs(nn,{children:[s.jsx(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:[U("Programming Language Selection",{ns:"settings"}),s.jsx(J,{className:"mt-2 text-sm text-muted-foreground",children:U("To ensure the best detection accuracy, please select up to 7 languages. Limiting choices improves precision.",{ns:"settings"})})]})}),s.jsx(cn,{children:s.jsx(Q,{className:"grid gap-4 grid-cols-1 md:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 py-2",children:_.map((ue,be)=>s.jsx("button",{className:"flex",onClick:()=>{if(N.length>=7&&!N.includes(ue))return;b(N.includes(ue)?N.filter(Pe=>Pe!==ue):N.concat([ue]));const Ce=ie.includes(ue)?ie.filter(Pe=>Pe!==ue):ie.concat([ue]);oe(Ce.filter(Boolean)),C(Ce.filter(Boolean))},children:s.jsx(dj,{label:ue,checked:N.includes(ue)})},be))})})]})}),ie.length>0&&s.jsx(Q,{className:"mt-4 max-w-2xl animate-in fade-in",children:s.jsxs(nn,{children:[s.jsx(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:[U("Prioritize Language Detection",{ns:"settings"}),s.jsx(J,{className:"mt-2 text-sm text-muted-foreground",children:U("Drag and drop to prioritize languages for detection. The higher a language is in the list, the higher its detection priority.",{ns:"settings"})})]})}),s.jsx(cn,{children:s.jsx(b6,{collisionDetection:XO,onDragEnd:ue=>{const{active:be,over:Ce}=ue;Ce!=null&&Ce.id&&be.id!==(Ce==null?void 0:Ce.id)&&oe(Pe=>{const Ee=Pe.indexOf(be.id.toString()),Oe=Pe.indexOf(Ce.id.toString()),Ve=zn(Pe,Ee,Oe);return Pse(Pe,Ve)||C(Ve),Ve})},children:s.jsx(Zb,{items:ie,strategy:JJ,children:ie.map(ue=>ue&&s.jsx(d_e,{id:ue,language:ue},ue))})})})]})})]}),s.jsx(Q,{className:"mt-4 max-w-xl animate-in fade-in",children:s.jsxs(nn,{className:"".concat(!D&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Auto-Clear Settings",{ns:"settings"})}),s.jsx(Yn,{checked:D,className:"ml-auto",onCheckedChange:()=>{L(!D)}})]}),s.jsxs(cn,{children:[s.jsx(J,{className:"text-sm text-muted-foreground",children:U("Configure settings to automatically delete clipboard history items after a specified duration.",{ns:"settings"})}),D&&s.jsxs(me,{className:"mt-6 row justify-start",children:[s.jsx(J,{className:"text-sm text-muted-foreground",children:U("Auto-delete clipboard history after",{ns:"settings"})}),s.jsx(me,{className:"mx-2",children:s.jsxs(AM,{value:V,onValueChange:ue=>{I(ue),H(1)},children:[s.jsx(sj,{children:s.jsx(RM,{placeholder:"Select"})}),s.jsxs(aj,{children:[s.jsx(Qh,{value:"days",children:s.jsx("span",{className:"font-medium",children:U("Days",{ns:"calendar"})})}),s.jsx(Qh,{value:"weeks",children:s.jsx("span",{className:"font-medium",children:U("Weeks",{ns:"calendar"})})}),s.jsx(Qh,{value:"months",children:s.jsx("span",{className:"font-medium",children:U("Months",{ns:"calendar"})})}),s.jsx(Qh,{value:"year",children:s.jsx("span",{className:"font-medium",children:U("Years",{ns:"calendar"})})})]})]})}),s.jsx(me,{children:s.jsxs(AM,{value:z.toString(),onValueChange:ue=>{H(Number(ue))},children:[s.jsx(sj,{children:s.jsx(RM,{placeholder:"Select"})}),s.jsx(aj,{children:ae[V].map(ue=>s.jsx(Qh,{value:ue.toString(),children:s.jsx("span",{className:"font-medium whitespace-nowrap",children:fe(ue,V)})},ue))})]})})]})]})]})}),s.jsx(kr,{h:6}),s.jsx(Pc,{to:$,replace:!0,children:s.jsx(ye,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:U("Back",{ns:"common"})})}),s.jsx(kr,{h:4})]})]})})}function h_e({open:e,onClose:t,setIsDeleteAllItemsInCollection:r,onConfirm:n}){const{t:a}=At();return s.jsx(Br,{open:e,handleClose:t,children:s.jsxs(Br.Body,{children:[s.jsx(Br.Header,{handleClose:t,children:s.jsx("h1",{className:"m-0",children:a("Confirm Delete",{ns:"common"})})}),s.jsxs(Br.Content,{children:[s.jsx(J,{className:"font-semibold",children:a("Are you sure you want to delete this collection?",{ns:"collections"})}),s.jsx(kr,{h:3}),s.jsx(J,{className:"font-light",children:a("Deleting the collection will remove it permanently. You can also choose to delete all menu and clips items within the collection by checking the box below.",{ns:"collections"})}),s.jsx(kr,{h:3}),s.jsx(V6,{color:"danger",onChange:o=>{r(o)},children:a("Delete all menu items within this collection",{ns:"collections"})})]}),s.jsx(Br.Footer,{children:s.jsxs("div",{className:"flex w-full justify-end gap-x-2",children:[s.jsx(ye,{variant:"ghost",type:"button",onClick:t,children:a("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"danger",type:"submit",onClick:n,children:a("Delete Collection",{ns:"collections"})})]})})]})})}function p_e({showAddNewCollection:e}){const{t}=At(),{createNewCollection:r,createNewCollectionSuccess:n}=xge(),[a,o]=p.useState(""),[i,c]=p.useState(!0),[u,f]=p.useState(""),h=sa(),m=th(),[v,S]=p.useState(e),[w,g]=p.useState(!1);return p.useEffect(()=>{n&&(o(""),f(""),S(!1),h("/history",{replace:!0}))},[n]),p.useEffect(()=>{o(""),f(""),c(!0)},[v]),s.jsx(nn,{className:"".concat(v?"border-blue-300 border-2":"opacity-80 justify-center items-center bg-transparent border-2 border-dashed border-gray-300 dark:border-gray-700 min-h-[130px]"),children:v?s.jsxs(s.Fragment,{children:[s.jsx(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:s.jsx(Jr,{className:"animate-in fade-in text-md w-full",children:s.jsx(er,{small:!0,autoFocus:!0,error:w?t("Title too short",{ns:"collections"}):void 0,name:"title",maxLength:50,onKeyDown:b=>{if(b.stopPropagation(),b.key==="Enter"){if(a.length<3){g(!0);return}r({createCollection:{title:a,isSelected:!1,description:u}})}},placeholder:t("Enter collection title",{ns:"collections"}),label:t("Collection Title",{ns:"collections"}),value:a,onChange:b=>{w&&b.target.value.length>3&&g(!1),o(b.target.value)}})})}),s.jsxs(cn,{children:[s.jsx(ho,{enableEmojiInside:!0,enableEmoji:!1,placeholder:t("Add a description for your collection",{ns:"collections"}),rows:2,maxRows:4,maxLength:200,label:t("Description",{ns:"collections"}),value:u,onChange:b=>{f(b.target.value)}}),s.jsx(me,{className:"items-center justify-start mt-2 ml-[-8px]",children:s.jsx(V6,{color:"default",checked:i,classNameLabel:"py-1",onChange:b=>{c(b)},children:s.jsx(Iv,{size:"sm",children:t("Add default menu, tab and board",{ns:"collections"})})})})]}),s.jsxs(tN,{className:"flex flex-row items-center justify-between space-y-0",children:[s.jsx(Q,{}),s.jsxs(me,{className:"min-h-[30px]",children:[s.jsx(ye,{size:"xs",variant:"link",onClick:()=>{S(!1)},children:t("Cancel",{ns:"common"})}),s.jsx(ye,{size:"xs",className:"bg-blue-100 text-blue-600 hover:bg-blue-100/50 dark:bg-blue-800 dark:text-blue-200 dark:hover:bg-blue-800/50",onClick:()=>pe(this,null,function*(){if(a.length<3){g(!0);return}yield r({addDefaultMenuTabBoard:i,createCollection:{title:a,isSelected:!1,description:u}})}),children:t("Create",{ns:"common"})})]})]})]}):s.jsx(me,{className:"flex-row gap-3",children:s.jsxs(ye,{variant:"ghost",className:"rounded-md hover:dark:bg-blue-700/80 hover:bg-blue-200/80",onClick:()=>{m?S(!0):co.value=!0},children:[s.jsx(Fn,{width:20,className:"mr-1"}),s.jsx(Iv,{className:"text-[15px] !font-semibold",children:t("Add Collection",{ns:"collections"})}),s.jsx(gc,{})]})})},"new-collection")}function o3({showAddNewCollection:e}){const{t}=At(),{isShowCollectionNameOnNavBar:r,setIsShowCollectionNameOnNavBar:n}=ft(pn);IN(),$N(),EB();const{updateCollectionById:a}=vge(),{selectCollectionById:o}=zN(),{deleteCollectionById:i}=yge(),{currentCollectionId:c,menuItems:u,collections:f}=ft(Tn),{returnRoute:h}=ft(Es),m=th(),[v,S]=vU({timeout:10,sensitivity:10,interval:20}),{setData:w}=Sq(),[g,b]=p.useState(),[C,j]=p.useState(""),[E,N]=p.useState(!1),[T,A]=p.useState(""),M=We(!1),[D,L]=p.useState(null),[z,H]=p.useState(null);return p.useEffect(()=>{var V;if(D){const I=f.find(({collectionId:q})=>q===D);I&&(j(I.title),A((V=I.description)!=null?V:""))}else j(""),H(null),A("")},[D]),p.useEffect(()=>{w(u.length>0?Uv(u):[])},[u,u.length]),s.jsx(Uf,{disableWidth:!0,children:({height:V})=>V&&s.jsxs(Q,{className:"p-4 py-6 select-auto",children:[s.jsxs(Q,{className:"text-xl my-2 flex items-center justify-between px-2",children:[s.jsx(J,{className:"light",children:t("Manage Collections",{ns:"collections"})}),s.jsx(Pc,{to:h,replace:!0,children:s.jsx(ye,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:t("Back",{ns:"common"})})})]}),s.jsx(kr,{h:3}),s.jsxs(en,{style:{maxHeight:V-85},autoHide:!0,children:[s.jsxs(Q,{className:"grid gap-4 md:grid-cols-1 lg:grid-cols-2 animate-in fade-in",children:[s.jsx(p_e,{showAddNewCollection:e}),f.map(({collectionId:I,title:q,description:_,isEnabled:$})=>{const U=D===I,K=c===I;return s.jsxs(nn,{className:"".concat(K&&"border-teal-500 border-2"," ").concat(!$&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium",children:U?s.jsx(er,{className:"text-md",error:g?t("Title too short",{ns:"collections"}):void 0,maxLength:50,small:!0,onKeyDown:Y=>{if(Y.stopPropagation(),Y.key==="Enter"){if(C.length<3){b(!0);return}a({updatedCollection:{collectionId:I,title:C,isEnabled:$,description:T}}),setTimeout(()=>{L(null)},100)}},label:t("Collection Title",{ns:"collections"}),placeholder:t("Enter collection title",{ns:"collections"}),value:C,onChange:Y=>{g&&Y.target.value.length>3&&b(!1),j(Y.target.value)}}):s.jsx(J,{className:"".concat(K?$?"text-teal-600 dark:text-teal-600":"text-slate-500 dark:text-slate-300":"hover:text-slate-500"," !font-medium ").concat($?"cursor-pointer":"text-muted-foreground"),onClick:()=>{$&&!K&&o({selectCollection:{collectionId:I}})},children:q})}),!U&&$&&s.jsx(s.Fragment,{children:K?s.jsx(Be,{text:t("Current Collection",{ns:"collections"}),isCompact:!0,children:s.jsx(_z,{className:"text-teal-600 h-6",size:20})}):s.jsx(ye,{className:"text-sm box",size:"xs",variant:"outline",onClick:()=>{o({selectCollection:{collectionId:I}})},children:t("Select",{ns:"common"})})})]}),s.jsx(cn,{children:U?s.jsx(ho,{className:"text-md",enableEmoji:!1,enableEmojiInside:!0,maxLength:200,rows:2,maxRows:4,label:t("Description",{ns:"collections"}),value:T,onChange:Y=>{A(Y.target.value)}}):s.jsx(J,{className:"text-sm text-muted-foreground",children:_})}),s.jsxs(tN,{className:"flex flex-row items-center justify-between space-y-0",children:[s.jsx(Q,{children:U?K?s.jsx(Be,{isCompact:!0,className:"bg-warning-100 dark:bg-warning-800",text:s.jsx(J,{justify:"center",color:"danger",children:t("You need to select a different collection before deleting the current one.",{ns:"collections"})}),delayDuration:300,maxWidth:190,open:v,sideOffset:16,children:s.jsx(ye,{size:"xs",ref:Ji(S),variant:"ghost",className:"bg-slate-50 dark:bg-slate-800",children:s.jsx(q4,{size:"16",className:"opacity-20"})})}):s.jsx(ye,{size:"xs",variant:"ghost",onClick:()=>{H(I),M.value=!0},className:"".concat(z?"bg-red-100 dark:bg-red-800 hover:bg-red-100 text-red-600 hover:text-color-dark dark:text-red-200":"bg-red-50/50 dark:bg-red-800 text-red-500 hover:bg-red-100 hover:text-color-dark dark:text-red-200"),children:s.jsx(xn,{size:"16"})}):!K&&s.jsxs(mU,{children:[s.jsx(gU,{asChild:!0,children:s.jsx(Q,{children:s.jsx(Yn,{checked:$,disabled:K,onCheckedChange:Y=>{m?a({updatedCollection:{collectionId:I,isEnabled:Y}}):co.value=!0}})})}),s.jsx(n_,{children:s.jsx(J,{className:"text-sm",children:$?t("Enabled",{ns:"common"}):t("Disabled",{ns:"common"})})})]})}),s.jsxs(me,{className:"min-h-[30px]",children:[U&&s.jsx(ye,{size:"xs",variant:"link",className:"text-slate-500",onClick:()=>{L(null)},disabled:!$,children:t("Cancel",{ns:"common"})}),$&&s.jsx(ye,{size:"xs",variant:U?"default":"light",className:U?"bg-blue-100 text-blue-600 hover:bg-blue-100/50 dark:bg-blue-800 dark:text-blue-200 dark:hover:bg-blue-800/50":"",onClick:()=>{if(!U)L(I);else{if(C.length<3){b(!0);return}a({updatedCollection:{collectionId:I,title:C,isEnabled:$,description:T}}),setTimeout(()=>{L(null)},100)}},disabled:!$,children:U?t("Save",{ns:"common"}):t("Edit",{ns:"common"})})]})]})]},I)})]}),s.jsx(kr,{h:5}),s.jsx(J,{className:"light",children:t("Collection Options",{ns:"collections"})}),s.jsx(Q,{className:"grid gap-4 md:grid-cols-1 lg:grid-cols-2 animate-in fade-in mt-4",children:s.jsxs(nn,{className:"".concat(!r&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium border-red-300 border-1 w-full",children:t("Show collection name on the navbar",{ns:"collections"})}),s.jsx(Yn,{checked:r,className:"ml-auto",onCheckedChange:()=>{n(!r)}})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:t("Display full name of selected collection on the navigation bar",{ns:"collections"})})})]})}),s.jsx(kr,{h:6})]}),s.jsx(h_e,{open:M.value,setIsDeleteAllItemsInCollection:N,onClose:()=>{M.value=!1,N(!1),H(null)},onConfirm:()=>{z&&(i({deleteCollection:{deleteAllItemsInCollection:E,collectionId:z}}),M.value=!1,N(!1),H(null))}})]})})}function m_e(){const{t:e}=At(),{isIdleScreenAutoLockEnabled:t,setIsIdleScreenAutoLockEnabled:r,idleScreenAutoLockTimeInMinutes:n,setIdleScreenAutoLockTimeInMinutes:a,isShowHistoryCaptureOnLockedScreen:o,setIsShowHistoryCaptureOnLockedScreen:i,isScreenLockPassCodeRequireOnStart:c,setIsScreenLockPassCodeRequireOnStart:u,screenLockPassCode:f,setScreenLockPassCode:h,screenLockPassCodeLength:m,setScreenLockPassCodeLength:v,screenLockRecoveryPasswordMasked:S,hashPassword:w,setScreenLockRecoveryPasswordMasked:g,storePassword:b,verifyStoredPassword:C,deleteStoredPassword:j}=ft(pn),{returnRoute:E}=ft(Es),N=th(),T=We(""),A=We(""),M=We(""),D=We(""),L=We(""),z=We(!1),H=We(!1),V=We(!1),I=We(!1),q=We(!1),_=We(!1),$=We(!1),U=We(!1);p.useEffect(()=>{eo.value===nc.resetPassword&&Fi.value===nc.resetPassword?(g(null),j("screenLockRecoveryPassword"),eo.value=null,Fi.value=null):eo.value===nc.resetPasscode&&Fi.value===nc.resetPasscode&&(h(null),v(0),eo.value=null,Fi.value=null)},[Fi.value,eo.value]),p.useEffect(()=>{T.value.length!==0&&!f&&T.value===A.value&&w(T.value).then(G=>{h(G),v(T.value.length),z.value=!1,A.value="",T.value=""})},[T.value,A.value]);const K=p.useMemo(()=>V.value,[V.value]),Y=p.useMemo(()=>On.value,[On.value]);p.useMemo(()=>!0,[A.value,z.value,H.value,I.value,L.value,q.value,_.value,U.value,$.value]);const B=p.useMemo(()=>M.value.length>=6&&M.value.length<=50&&M.value===D.value,[M.value,D.value]),F=p.useMemo(()=>D.value.length>=M.value.length&&M.value!==D.value,[M.value,D.value]);return s.jsx(Uf,{disableWidth:!0,children:({height:G})=>G&&s.jsxs(Q,{className:"p-4 py-6 select-none min-w-[320px]",children:[s.jsxs(Q,{className:"text-xl my-2 mx-2 flex items-center justify-between",children:[s.jsx(J,{className:"light",children:e("Security Settings",{ns:"settings"})}),s.jsx(Pc,{to:E,replace:!0,children:s.jsx(ye,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:e("Back",{ns:"common"})})})]}),s.jsx(kr,{h:3}),s.jsxs(en,{style:{maxHeight:G-85},autoHide:!0,children:[s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{children:[s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:s.jsx(Q,{children:e("Lock Screen Passcode",{ns:"settings"})})}),s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Set a passcode to unlock the locked screen and protect your data from unauthorized access.",{ns:"settings"})})]}),s.jsxs(cn,{children:[f?s.jsxs(s.Fragment,{children:[s.jsx(me,{className:"gap-5 justify-start flex-wrap",children:new Array(m).fill(0).map((X,se)=>s.jsx(Q,{className:"text-lg px-4 py-4 rounded-md text-slate-600 dark:text-slate-400 bg-slate-100 dark:bg-slate-800 text-center",children:"●"},se))}),s.jsx(Q,{className:"mt-2 text-green-700 dark:text-green-600",children:s.jsx(ns,{i18nKey:"{{screenLockPassCodeLength}} digits passcode is set.",values:{screenLockPassCodeLength:m},ns:"settings"})})]}):s.jsxs(s.Fragment,{children:[z.value?s.jsxs(me,{className:"gap-3 flex-wrap items-center justify-start my-2",children:[s.jsx(er,{className:"text-md !w-40",numbersOnly:!0,isPassword:!0,autoComplete:"off",onPaste:X=>(X.preventDefault(),!1),autoFocus:!0,placeholder:e("Confirm",{ns:"common"}),label:e("Confirm Passcode",{ns:"common"}),onChange:X=>{const se=X.target.value;A.value=se}},"confirm-passcode"),s.jsx(ye,{variant:"secondary",size:"sm",onClick:()=>{z.value=!1,A.value="",T.value=""},className:"text-sm bg-gray-200 dark:bg-gray-700 dark:text-slate-200 mt-4 h-9",children:e("Cancel",{ns:"common"})})]}):s.jsxs(me,{className:"gap-3 flex-wrap items-center justify-start my-2",children:[s.jsx(er,{className:"text-md !w-40",numbersOnly:!0,autoComplete:"off",onPaste:X=>(X.preventDefault(),!1),placeholder:e("Enter Passcode",{ns:"common"}),label:e("Digits Only Passcode",{ns:"common"}),onKeyDown:X=>{X.key==="Enter"&&(T.value.length>3||T.value.length<11)&&(z.value=!0)},onChange:X=>{const se=X.target.value;T.value=se}}),s.jsx(ye,{variant:"secondary",size:"sm",disabled:T.value.length<4||T.value.length>10,onClick:()=>{z.value=!0},className:"text-sm bg-blue-300 hover:bg-blue-300/80 dark:bg-blue-700 hover:dark:bg-blue-700/80 dark:text-slate-200 mt-4 h-9",children:e("Set",{ns:"common"})})]}),z.value?A.value&&T.value&&s.jsx(s.Fragment,{children:A.value&&T.value.length-A.value.length>0?s.jsxs(J,{size:"sm",className:"!text-green-500 dark:!text-green-600",children:[e("Passcode digits remaining",{ns:"settings"}),":",s.jsx("b",{className:"ml-1",children:T.value.length-A.value.length})]}):T.value!==A.value&&s.jsx(J,{size:"sm",className:"!text-red-500 dark:!text-red-400",children:e("Passcode mismatch",{ns:"settings"})})}):s.jsx(s.Fragment,{children:T.value.length>=4&&T.value.length<=10?s.jsxs(J,{size:"sm",className:"!text-green-500 dark:!text-green-600",children:[e("Passcode length",{ns:"settings"}),":",s.jsx("b",{className:"ml-1",children:T.value.length})]}):T.value.length>10?s.jsx(J,{size:"sm",className:"!text-amber-500 dark:!text-amber-600",children:e("Maximum 10 digits",{ns:"settings"})}):T.value.length>0&&T.value.length<4&&s.jsx(J,{size:"sm",className:"!text-amber-500 dark:!text-amber-600",children:e("Minimal 4 digits",{ns:"settings"})})})]}),f&&s.jsx(s.Fragment,{children:s.jsx(ye,{variant:"secondary",size:"sm",onClick:()=>{Ud.value=!0,eo.value=nc.resetPasscode,Wd.value=e("passcode reset",{ns:"settings"})},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-2",children:e("Reset Passcode",{ns:"common"})})})]})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{children:[s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:s.jsx(Q,{children:e("Recovery Password for Lock Screen Passcode",{ns:"settings"})})}),s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Set a recovery password to easily reset your lock screen passcode if forgotten. Your password will be securely stored in your device's OS storage.",{ns:"settings"})})]}),s.jsx(cn,{children:S?s.jsxs(Q,{children:[s.jsxs(me,{className:"gap-2 justify-start items-start flex-wrap flex-col my-1",children:[s.jsx(Q,{className:"text-lg px-4 py-2 rounded-md text-slate-600 dark:text-slate-400 bg-slate-100 dark:bg-slate-800 text-center",children:s.jsx(J,{className:"text-lg",children:S})}),s.jsx(Q,{className:"mt-1 text-green-700 dark:text-green-600",children:e("Recovery password is set.",{ns:"settings"})})]}),K?s.jsxs(Q,{className:"mt-2",children:[s.jsx(er,{className:"text-md !w-60",isPassword:!0,showHidePassword:!0,onKeyDown:X=>{X.key==="Enter"&&!_.value&&L.value.length>=6&&(q.value=!1,_.value=!0,C("screenLockRecoveryPassword",L.value).then(se=>{se?(V.value=!1,g(null),j("screenLockRecoveryPassword"),L.value=""):q.value=!0,_.value=!1}).catch(()=>{q.value=!0,_.value=!1}))},error:L.value.length>=6&&q.value?e("Password is incorrect",{ns:"settings"}):"",autoComplete:"off",onPaste:X=>(X.preventDefault(),!1),classNameInput:"h-9",autoFocus:!0,placeholder:e("Enter Password",{ns:"common"}),label:e("Verify Current Password",{ns:"common"}),onChange:X=>{q.value=!1,L.value=X.target.value}},"recovery-reset-password"),s.jsxs(me,{className:"justify-start items-center gap-2 mt-2",children:[s.jsx(ye,{variant:"secondary",size:"sm",disabled:L.value.length<6,onClick:()=>{q.value=!1,_.value=!0,C("screenLockRecoveryPassword",L.value).then(X=>{X?(V.value=!1,g(null),j("screenLockRecoveryPassword"),L.value=""):q.value=!0,_.value=!1}).catch(()=>{q.value=!0,_.value=!1})},className:"w-20 text-sm bg-blue-300 hover:bg-blue-300/80 dark:bg-blue-700 hover:dark:bg-blue-700/80 dark:text-slate-200",children:_.value?s.jsx(wm,{}):e("Reset",{ns:"common"})}),f&&s.jsx(ye,{variant:"light",size:"sm",onClick:()=>{V.value=!1,Ud.value=!0,eo.value=nc.resetPassword,Wd.value=e("password reset",{ns:"settings"})},className:"text-sm bg-gray-200 dark:bg-gray-700 dark:text-slate-200",children:e("Use Passcode",{ns:"common"})}),s.jsx(ye,{variant:"secondary",size:"sm",disabled:Y>0,onClick:()=>{V.value=!1,q.value=!1,L.value=""},className:"text-sm bg-transparent dark:bg-transparent dark:text-slate-200 hover:dark:bg-slate-800",children:e("Cancel",{ns:"common"})})]})]}):s.jsx(ye,{variant:"secondary",size:"sm",onClick:()=>{V.value=!0},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-2",children:e("Reset Password",{ns:"common"})})]}):s.jsxs(me,{className:"gap-3 flex-wrap items-start justify-start my-2 flex-col",children:[s.jsx(er,{className:"text-md !w-60",isPassword:!0,autoComplete:"off",onPaste:X=>(X.preventDefault(),!1),showHidePassword:!0,placeholder:e("Recovery Password",{ns:"common"}),label:e("Enter Recovery Password",{ns:"common"}),classNameInput:M.value.length>=6&&M.value.length<=50?"!border-green-400 !bg-green-100 dark:!border-green-700 dark:!bg-green-950 h-9":"h-9",onChange:X=>{M.value=X.target.value}},"recovery-password"),s.jsx(er,{className:"text-md !w-60",isPassword:!0,showHidePassword:!0,onKeyDown:X=>{X.key==="Enter"&&M.value===D.value&&M.value.length>=6&&M.value.length<=50&&b("screenLockRecoveryPassword",M.value).then(()=>{g(Mf(M.value)),M.value="",D.value=""})},error:F?e("Passwords do not match",{ns:"settings"}):"",autoComplete:"off",onPaste:X=>(X.preventDefault(),!1),classNameInput:!F&&B?"!border-green-400 !bg-green-100 dark:!border-green-700 dark:!bg-green-950 h-9":"h-9",placeholder:e("Confirm Password",{ns:"common"}),label:e("Confirm Password",{ns:"common"}),onChange:X=>{D.value=X.target.value}},"recovery-password-confirmation"),s.jsx(ye,{variant:"secondary",size:"sm",disabled:!B,onClick:()=>{M.value===D.value&&b("screenLockRecoveryPassword",M.value).then(()=>{g(Mf(M.value)),M.value="",D.value=""})},className:"text-sm bg-blue-300 hover:bg-blue-300/80 dark:bg-blue-700 hover:dark:bg-blue-700/80 dark:text-slate-200 mt-1 h-9",children:e("Set Password",{ns:"common"})})]})})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{className:"".concat(!o&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:[s.jsx(Q,{children:e("Show Clipboard History Capture Control on Lock Screen",{ns:"settings"})}),s.jsx(Yn,{checked:o,className:"ml-auto",onCheckedChange:()=>{i(!o)}})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Display clipboard history capture toggle on the locked application screen. This allows you to control history capture settings directly from the lock screen.",{ns:"settings"})})]}),s.jsx(cn,{})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{className:"".concat(!t&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:[s.jsxs(Q,{children:[e("Auto Lock the Screen on User Inactivity",{ns:"settings"}),s.jsx(gc,{})]}),s.jsx(Yn,{checked:t,className:"ml-auto",onCheckedChange:()=>{!t&&!N?co.value=!0:r(!t)}})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Enable auto lock the application screen after a certain period of inactivity, to prevent unauthorized access to your data.",{ns:"settings"})})]}),s.jsxs(cn,{children:[s.jsx(me,{className:"gap-3 flex-wrap items-start justify-start my-2",children:Dse.map((X,se)=>s.jsxs(ye,{variant:"ghost",disabled:!t,onClick:()=>{a(X)},className:"text-sm font-normal bg-slate-50 dark:bg-slate-950 ".concat(n===X?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 hover:dark:bg-slate-800 px-2 !py-0.5"),children:[X," ",e("minutes",{ns:"common"})]},se))}),s.jsx(ye,{variant:"secondary",size:"sm",disabled:n===15,onClick:()=>{a(15)},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-2",children:e("Reset",{ns:"common"})})]})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{className:"".concat(!c&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:[s.jsxs(Q,{children:[e("Require Screen Unlock at Application Start",{ns:"settings"}),s.jsx(gc,{})]}),s.jsx(Yn,{checked:c,className:"ml-auto",onCheckedChange:()=>{!c&&!N?co.value=!0:u(!c)}})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Enable screen unlock requirement on app launch for enhanced security, safeguarding data from unauthorized access.",{ns:"settings"})})]}),s.jsx(cn,{})]})}),s.jsx(kr,{h:6}),s.jsx(Pc,{to:E,replace:!0,children:s.jsx(ye,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:e("Back",{ns:"common"})})}),s.jsx(kr,{h:4})]})]})})}const g_e='### Example\n\nA third of the distance across the Beach, the meadow ends and sand begins. This slopes gradually up for another third of the distance, to the foot of the sand hills, which seem tumbled into their places by some mighty power, sometimes three tiers of them deep, sometimes two, _and sometimes only one._ A third of the distance across the Beach, the meadow ends and sand begins.\n\nThe outline of this inner shore is most irregular, curving and bending in and out and back upon itself, making coves and points and creeks and channels, and often pushing out in flats with not water enough on them at low tide to wet your ankles.\n\n### Subtitle\n\nThis is another fine paragraph\n\n### Smaller subtitle\n\nThis is a paragraph `with` ~style~ *italic* _italic_ **bold** __bold__\n\n*Hello [PasteBar](https://www.pastebar.app/) lol*\n\nHello [*PasteBar*](https://www.pastebar.app/) lol "cat"\n\nHello from *[PasteBar](https://rsms.me/)* to __everyone__ `reading this`\n\n### Embedded HTML\n\nWith default settings, markdown-wasm allows embedded HTML.\n\n> It has been disabled in this demo for safety reasons, by means of setting `ParseFlags.NO_HTML`.\n> Not setting the `NO_HTML` flag allows embedding HTML like this:\n\n\n\n\n### Block Quotes\n\n> You can insert quotes by\n> preceeding each line with `>`.\n>\n> Blockquotes can also contain line\n> breaks.\n\n\n### Lists\n\n#### Unordered lists\n\n- Unordered\n- Lists\n- Hello\n\n#### Ordered lists\n\n1. Ordered\n2. Lists\n4. Numbers are ignored\n1. Ordered\n\n121) Ordered lists can start\n122) with any number and\n123) use . as well as ) as a separator.\n\n#### Task lists\n\n- [ ] Task 1\n- [x] Task 2\n- [ ] Task 3\n- Regular list item\n\n### Tables\n\n| Column 1 | Column 2 | Column 3 | Column 4\n|----------|:---------|:--------:|---------:\n| default | left | center | right\n\n#### Table of image file types\n\n| Header | Mime type | Extensions | Description\n|---------------------------|--------------|------------|-------------\n| `89 50 4E 47 0D 0A 1A 0A` | image/png | png | PNG image\n| `47 49 46 38 39 61` | image/gif | gif | GIF image\n| `FF D8 FF` | image/jpeg | jpg jpeg | JPEG image\n| `4D 4D 00 2B` | image/tiff | tif tiff | TIFF image\n| `42 4D` | image/bmp | bmp | Bitmap image\n| `00 00 01 00` | image/x-icon | ico | Icon image';function v_e(){const{t:e}=At(),t=YU(),{isSkipAutoStartPrompt:r,setIsSkipAutoStartPrompt:n,isShowCollectionNameOnNavBar:a,setIsShowCollectionNameOnNavBar:o,isClipNotesHoverCardsEnabled:i,setIsClipNotesHoverCardsEnabled:c,clipNotesMaxHeight:u,clipNotesMaxWidth:f,setClipNotesMaxHeight:h,setClipNotesMaxWidth:m,clipNotesHoverCardsDelayMS:v,setClipNotesHoverCardsDelayMS:S,isShowDisabledCollectionsOnNavBarMenu:w,setIsShowDisabledCollectionsOnNavBarMenu:g}=ft(pn),{setFontSize:b,fontSize:C,setIsSwapPanels:j,isSwapPanels:E}=ft(Es),[N,T]=p.useState(!1),{setTheme:A,theme:M}=Nk(),{mode:D,setMode:L,themeDark:z}=ft(fi);p.useEffect(()=>{M!==D&&L(M)},[M]),p.useEffect(()=>{Sr("is_autostart_enabled").then(q=>{T(!!q)})},[]);const{returnRoute:H}=ft(Es),V=z();function I(q){const _=q/1e3,$=Number.isInteger(_)?_.toString():_.toFixed(1),U=_===1?" "+e("second"):" "+e("seconds");return $+U}return s.jsx(Uf,{disableWidth:!0,children:({height:q})=>{var _;return q&&s.jsxs(Q,{className:"p-4 py-6 select-none min-w-[320px]",children:[s.jsxs(Q,{className:"text-xl my-2 mx-2 flex items-center justify-between",children:[s.jsx(J,{className:"light",children:e("User Preferences",{ns:"settings"})}),s.jsx(Pc,{to:H,replace:!0,children:s.jsx(ye,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:e("Back",{ns:"common"})})})]}),s.jsx(kr,{h:3}),s.jsxs(en,{style:{maxHeight:q-85},autoHide:!0,children:[s.jsx(Q,{className:"animate-in fade-in max-w-xl",children:s.jsxs(nn,{className:"".concat(!N&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:e("Application Auto Start",{ns:"settings"})}),s.jsx(Yn,{checked:N,className:"ml-auto",onCheckedChange:()=>pe(this,null,function*(){yield Sr("autostart",{enabled:!N}),T(!N)})})]}),s.jsxs(cn,{children:[s.jsx(J,{className:"text-sm text-muted-foreground",children:e("Enable application auto start on system boot",{ns:"settings"})}),!N&&s.jsx(me,{className:"items-center justify-start mt-2 ml-[-12px]",children:s.jsx(V6,{color:"default",checked:r,classNameLabel:"py-1",onChange:()=>{n(!r)},children:s.jsx(Iv,{size:"sm",children:e("Skip auto start prompt on app launch",{ns:"settings"})})})})]})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{children:[s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3",children:[e("Application UI Fonts Scale",{ns:"settings"}),s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Change the application user interface font size scale",{ns:"settings"})})]}),s.jsx(me,{className:"gap-3 flex-wrap items-start justify-start",children:Zh.map(($,U)=>s.jsx(ye,{variant:"ghost",onClick:()=>{b($)},className:"text-sm font-normal bg-slate-50 dark:bg-slate-950 ".concat(C===$?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-2 !py-0.5"),children:$},U))})]}),s.jsx(cn,{children:s.jsx(ye,{variant:"secondary",size:"sm",disabled:C==="100%",onClick:()=>{b("100%")},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-1",children:e("Reset",{ns:"common"})})})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsx(nn,{children:s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1 mb-4",children:[s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3",children:[e("Application UI Color Theme",{ns:"settings"}),s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Change the application user interface color theme",{ns:"settings"})})]}),s.jsxs(me,{className:"gap-3 flex-wrap items-start justify-start",children:[s.jsxs(ye,{variant:"ghost",onClick:()=>{A("light")},className:"text-sm border-0 font-normal bg-slate-50 dark:bg-slate-950 ".concat(M==="light"?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-3 !py-0.5"),children:[s.jsx("span",{className:"flex tems-end",children:s.jsx(Po.sun,{className:"mr-2",size:18})}),s.jsx("span",{children:e("Theme:::Light",{ns:"navbar"})})]}),s.jsxs(ye,{variant:"ghost",onClick:()=>{A("dark")},className:"text-sm border-0 font-normal bg-slate-50 dark:bg-slate-950 ".concat(M==="dark"?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-3 !py-0.5"),children:[s.jsx("span",{className:"flex tems-end",children:s.jsx(Po.moon,{className:"mr-2",size:17})}),s.jsx("span",{children:e("Theme:::Dark",{ns:"navbar"})})]}),s.jsxs(ye,{variant:"ghost",onClick:()=>{A("system")},className:"text-sm border-0 font-normal bg-slate-50 dark:bg-slate-950 ".concat(M==="system"?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-3 !py-0.5"),children:[s.jsx("span",{className:"tems-end flex w-[1.5rem] ",children:s.jsx(Po.sunmoon,{className:"mr-2",width:14,height:14})}),s.jsx("span",{children:e("Theme:::System",{ns:"navbar"})})]})]})]})})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsx(nn,{children:s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1 mb-4",children:[s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3",children:[e("Application UI Language",{ns:"settings"}),t?s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Your License is limited to support for a single {{language}} language",{ns:"settings",language:(_=Ef.find(({code:$})=>$===t))==null?void 0:_.name})}):s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Change the application user interface language",{ns:"settings"})})]}),s.jsx(me,{className:"gap-3 flex-wrap items-start justify-start",children:Ef.map(({code:$,name:U,flag:K})=>s.jsxs(ye,{variant:"ghost",disabled:t&&$!==t,onClick:()=>{on.changeLanguage($)},className:"text-sm border-0 font-normal bg-slate-50 dark:bg-slate-950 ".concat(on.language===$?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-3 !py-0.5"),children:[s.jsx("span",{className:"flags mr-3",children:K})," ",U]},$))})]})})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{className:"".concat(!E&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:e("Swap Panels Layout",{ns:"common"})}),s.jsx(Yn,{checked:E,className:"ml-auto",onCheckedChange:()=>pe(this,null,function*(){j(!E)})})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:e("Switch the layout position of panels in Clipboard History and Paste Menu views",{ns:"settings"})})})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{className:"".concat(!a&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:e("Show collection name on the navbar",{ns:"settings"})}),s.jsx(Yn,{checked:a,className:"ml-auto",onCheckedChange:()=>{o(!a)}})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:e("Display full name of selected collection on the navigation bar",{ns:"settings"})})})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{className:"".concat(!w&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:e("Show disabled collections on the navbar list",{ns:"settings"})}),s.jsx(Yn,{checked:w,className:"ml-auto",onCheckedChange:()=>{g(!w)}})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:e("Display disabled collections name on the navigation bar under collections menu",{ns:"settings"})})})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{className:"".concat(!i&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:e("Enable Clip Title Hover Show with Delay",{ns:"settings"})}),s.jsx(Yn,{checked:i,className:"ml-auto",onCheckedChange:()=>{c(!i)}})]}),s.jsxs(cn,{children:[s.jsx(J,{className:"text-sm text-muted-foreground",children:e("This option lets you control the display and timing of hover notes on clips. You can choose to show notes instantly or with a delay to prevent unintended popups.",{ns:"settings"})}),s.jsx(me,{className:"gap-2 flex-wrap items-start justify-start mt-4 mb-4",children:ute.map(($,U)=>s.jsx(ye,{variant:"ghost",disabled:!i,onClick:()=>{S($)},className:"text-sm font-normal bg-slate-50 dark:bg-slate-950 ".concat(v===$?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-2 !py-0.5"),children:I($)},U))}),s.jsx(ye,{variant:"secondary",size:"sm",disabled:v===2e3||!i,onClick:()=>{S(2e3)},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-1",children:e("Reset",{ns:"common"})})]})]})}),s.jsx(Q,{className:"max-w-xl mt-4 animate-in fade-in",children:s.jsxs(nn,{children:[s.jsx(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:e("Clip Notes Popup Maximum Dimensions",{ns:"settings"})})}),s.jsxs(cn,{children:[s.jsx(J,{className:"text-sm text-muted-foreground",children:e("This option lets you customize the maximum width and height of the popup that displays clip notes, ensuring it fits comfortably within your desired size.",{ns:"settings"})}),s.jsx(z2,{text:g_e,side:"top",isDark:V,delayDuration:v,classNameTrigger:"inline-flex items-start",sideOffset:0,maxWidth:f,maxHeight:u,asChild:!0,children:s.jsx(J,{className:"text-sm text-muted-foreground mt-3 underline cursor-pointer",children:e("Preview current popup size on hover.",{ns:"settings"})})}),s.jsxs(me,{className:"gap-2 flex-wrap items-start justify-start mt-4 mb-4",children:[$5.map(($,U)=>{const K=$.width===f&&$.height===u;return s.jsxs(ye,{variant:"ghost",onClick:()=>{m($.width),h($.height)},className:"text-sm font-normal bg-slate-50 dark:bg-slate-950 ".concat(K?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-4 !py-0.5"),children:[$.iconSize&&s.jsx(dle,{size:$.iconSize,className:"mr-2"}),e($.title,{ns:"settings"})]},U)}),s.jsxs(ye,{variant:"ghost",onClick:()=>{$5.some($=>$.width===f&&$.height===u)&&(m(440),h(240))},className:"text-sm font-normal bg-slate-50 dark:bg-slate-950 ".concat($5.some($=>$.width===f&&$.height===u)?"":"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300"," dark:text-slate-200 px-4 !py-0.5"),children:[s.jsx(lle,{size:21,className:"mr-2"}),e("Custom",{ns:"settings"})]})]}),s.jsxs(me,{className:"w-full gap-10 my-4 items-start justify-start",children:[s.jsx(er,{className:"text-md !w-36",type:"number",step:"20",max:800,min:100,error:void 0,small:!0,label:e("Maximum width",{ns:"common"}),value:f,onBlur:()=>{f<100?m(100):f>800&&m(800)},onChange:$=>{const U=$.target.value;if(U!==""){const K=parseInt(U);K&&m(K)}}}),s.jsx(er,{className:"text-md !w-36",type:"number",step:"20",max:600,min:100,error:void 0,small:!0,label:e("Maximum height",{ns:"common"}),value:u,onBlur:()=>{u<100?h(100):u>600&&h(600)},onChange:$=>{const U=$.target.value;if(U!==""){const K=parseInt(U);K&&h(K)}}})]}),s.jsx(ye,{variant:"secondary",size:"sm",disabled:f===220&&u===120,onClick:()=>{m(220),h(120)},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-1",children:e("Reset",{ns:"common"})})]})]})}),s.jsx(kr,{h:6}),s.jsx(Pc,{to:H,replace:!0,children:s.jsx(ye,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:e("Back",{ns:"common"})})}),s.jsx(kr,{h:4})]})]})}})}const x_e=[{index:!0,element:s.jsx(Uwe,{to:"history",replace:!0})},{path:"menu",element:s.jsx(c_e,{}),index:!0},{path:"history",element:s.jsx(Tje,{})},{path:"app-settings",element:s.jsx(u_e,{}),children:[{path:"collections",element:s.jsx(o3,{})},{path:"collections/new",element:s.jsx(o3,{showAddNewCollection:!0})},{path:"items",element:s.jsx(o3,{})},{path:"history",element:s.jsx(f_e,{})},{path:"preferences",element:s.jsx(v_e,{})},{path:"security",element:s.jsx(m_e,{})},{path:"license",element:s.jsx(FA,{})},{path:"license/register",element:s.jsx(FA,{registerLicense:!0})}]}],y_e=Zwe([{element:s.jsx(TCe,{}),children:[{path:"/",lazy:()=>ve(()=>Promise.resolve().then(()=>GSe),void 0),children:x_e}]}]),b_e=new pY({defaultOptions:{mutations:{networkMode:"always"},queries:{networkMode:"always",gcTime:wL?600:1e3*60*60*1,retry:OY,retryDelay:e=>Math.min(2e3*M0(2,e),3e4)}}});EO(document.getElementById("root")).render(s.jsx(p.StrictMode,{children:s.jsxs(yY,{client:b_e,children:[s.jsx(ske,{router:y_e}),wL&&s.jsx(RY,{initialIsOpen:!1,position:"bottom"})]})}));export{jt as R,f2e as a,g2e as b,Rc as c,d2e as d,p as e,rl as g,p2e as r}; + */function jm(){return jm=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(r[a]=e[a]);return r}function Gwe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Ywe(e,t){return e.button===0&&(!t||t==="_self")&&!Gwe(e)}const Zwe=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],Xwe=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"];function Qwe(e,t){return vwe({basename:t==null?void 0:t.basename,future:jm({},t==null?void 0:t.future,{v7_prependBasename:!0}),history:F2e({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||Jwe(),routes:e,mapRouteProperties:Kwe,window:t==null?void 0:t.window}).initialize()}function Jwe(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=jm({},t,{errors:eke(t.errors)})),t}function eke(e){if(!e)return null;let t=Object.entries(e),r={};for(let[n,a]of t)if(a&&a.__type==="RouteErrorResponse")r[n]=new m_(a.status,a.statusText,a.data,a.internal===!0);else if(a&&a.__type==="Error"){if(a.__subType){let o=window[a.__subType];if(typeof o=="function")try{let i=new o(a.message);i.stack="",r[n]=i}catch(i){}}if(r[n]==null){let o=new Error(a.message);o.stack="",r[n]=o}}else r[n]=a;return r}const gW=p.createContext({isTransitioning:!1}),tke=p.createContext(new Map),rke="startTransition",xA=dw[rke],nke="flushSync",yA=UX[nke];function ske(e){xA?xA(e):e()}function lg(e){yA?yA(e):e()}class ake{constructor(){this.status="pending",this.promise=new Promise((t,r)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",t(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",r(n))}})}}function oke(e){let{fallbackElement:t,router:r,future:n}=e,[a,o]=p.useState(r.state),[i,c]=p.useState(),[u,f]=p.useState({isTransitioning:!1}),[h,m]=p.useState(),[v,S]=p.useState(),[w,g]=p.useState(),b=p.useRef(new Map),{v7_startTransition:C}=n||{},j=p.useCallback(M=>{C?ske(M):M()},[C]),E=p.useCallback((M,D)=>{let{deletedFetchers:L,unstable_flushSync:z,unstable_viewTransitionOpts:H}=D;L.forEach(I=>b.current.delete(I)),M.fetchers.forEach((I,q)=>{I.data!==void 0&&b.current.set(q,I.data)});let V=r.window==null||typeof r.window.document.startViewTransition!="function";if(!H||V){z?lg(()=>o(M)):j(()=>o(M));return}if(z){lg(()=>{v&&(h&&h.resolve(),v.skipTransition()),f({isTransitioning:!0,flushSync:!0,currentLocation:H.currentLocation,nextLocation:H.nextLocation})});let I=r.window.document.startViewTransition(()=>{lg(()=>o(M))});I.finished.finally(()=>{lg(()=>{m(void 0),S(void 0),c(void 0),f({isTransitioning:!1})})}),lg(()=>S(I));return}v?(h&&h.resolve(),v.skipTransition(),g({state:M,currentLocation:H.currentLocation,nextLocation:H.nextLocation})):(c(M),f({isTransitioning:!0,flushSync:!1,currentLocation:H.currentLocation,nextLocation:H.nextLocation}))},[r.window,v,h,b,j]);p.useLayoutEffect(()=>r.subscribe(E),[r,E]),p.useEffect(()=>{u.isTransitioning&&!u.flushSync&&m(new ake)},[u]),p.useEffect(()=>{if(h&&i&&r.window){let M=i,D=h.promise,L=r.window.document.startViewTransition(()=>pe(this,null,function*(){j(()=>o(M)),yield D}));L.finished.finally(()=>{m(void 0),S(void 0),c(void 0),f({isTransitioning:!1})}),S(L)}},[j,i,h,r.window]),p.useEffect(()=>{h&&i&&a.location.key===i.location.key&&h.resolve()},[h,v,a.location,i]),p.useEffect(()=>{!u.isTransitioning&&w&&(c(w.state),f({isTransitioning:!0,flushSync:!1,currentLocation:w.currentLocation,nextLocation:w.nextLocation}),g(void 0))},[u.isTransitioning,w]);let N=p.useMemo(()=>({createHref:r.createHref,encodeLocation:r.encodeLocation,go:M=>r.navigate(M),push:(M,D,L)=>r.navigate(M,{state:D,preventScrollReset:L==null?void 0:L.preventScrollReset}),replace:(M,D,L)=>r.navigate(M,{replace:!0,state:D,preventScrollReset:L==null?void 0:L.preventScrollReset})}),[r]),T=r.basename||"/",A=p.useMemo(()=>({router:r,navigator:N,static:!1,basename:T}),[r,N,T]);return p.createElement(p.Fragment,null,p.createElement(V1.Provider,{value:A},p.createElement(v_.Provider,{value:a},p.createElement(tke.Provider,{value:b.current},p.createElement(gW.Provider,{value:u},p.createElement(qwe,{basename:T,location:a.location,navigationType:a.historyAction,navigator:N},a.initialized?p.createElement(ike,{routes:r.routes,state:a}):t))))),null)}function ike(e){let{routes:t,state:r}=e;return Rwe(t,void 0,r)}const lke=typeof window!="undefined"&&typeof window.document!="undefined"&&typeof window.document.createElement!="undefined",cke=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Pc=p.forwardRef(function(t,r){let{onClick:n,relative:a,reloadDocument:o,replace:i,state:c,target:u,to:f,preventScrollReset:h,unstable_viewTransition:m}=t,v=mW(t,Zwe),{basename:S}=p.useContext(rh),w,g=!1;if(typeof f=="string"&&cke.test(f)&&(w=f,lke))try{let E=new URL(window.location.href),N=f.startsWith("//")?new URL(E.protocol+f):new URL(f),T=sd(N.pathname,S);N.origin===E.origin&&T!=null?f=T+N.search+N.hash:g=!0}catch(E){}let b=Pwe(f,{relative:a}),C=dke(f,{replace:i,state:c,target:u,preventScrollReset:h,relative:a,unstable_viewTransition:m});function j(E){n&&n(E),E.defaultPrevented||C(E)}return p.createElement("a",jm({},v,{href:w||b,onClick:g||o?n:j,ref:r,target:u}))}),Fh=p.forwardRef(function(t,r){let{"aria-current":n="page",caseSensitive:a=!1,className:o="",end:i=!1,style:c,to:u,unstable_viewTransition:f,children:h}=t,m=mW(t,Xwe),v=Fk(u,{relative:m.relative}),S=ol(),w=p.useContext(v_),{navigator:g}=p.useContext(rh),b=w!=null&&fke(v)&&f===!0,C=g.encodeLocation?g.encodeLocation(v).pathname:v.pathname,j=S.pathname,E=w&&w.navigation&&w.navigation.location?w.navigation.location.pathname:null;a||(j=j.toLowerCase(),E=E?E.toLowerCase():null,C=C.toLowerCase());const N=C!=="/"&&C.endsWith("/")?C.length-1:C.length;let T=j===C||!i&&j.startsWith(C)&&j.charAt(N)==="/",A=E!=null&&(E===C||!i&&E.startsWith(C)&&E.charAt(C.length)==="/"),M={isActive:T,isPending:A,isTransitioning:b},D=T?n:void 0,L;typeof o=="function"?L=o(M):L=[o,T?"active":null,A?"pending":null,b?"transitioning":null].filter(Boolean).join(" ");let z=typeof c=="function"?c(M):c;return p.createElement(Pc,jm({},m,{"aria-current":D,className:L,ref:r,style:z,to:u,unstable_viewTransition:f}),typeof h=="function"?h(M):h)});var Fj;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(Fj||(Fj={}));var bA;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(bA||(bA={}));function uke(e){let t=p.useContext(V1);return t||Tr(!1),t}function dke(e,t){let{target:r,replace:n,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:c}=t===void 0?{}:t,u=sa(),f=ol(),h=Fk(e,{relative:i});return p.useCallback(m=>{if(Ywe(m,r)){m.preventDefault();let v=n!==void 0?n:Hf(f)===Hf(h);u(e,{replace:v,state:a,preventScrollReset:o,relative:i,unstable_viewTransition:c})}},[f,u,h,n,a,r,e,o,i,c])}function fke(e,t){t===void 0&&(t={});let r=p.useContext(gW);r==null&&Tr(!1);let{basename:n}=uke(Fj.useViewTransitionState),a=Fk(e,{relative:t.relative});if(!r.isTransitioning)return!1;let o=sd(r.currentLocation.pathname,n)||r.currentLocation.pathname,i=sd(r.nextLocation.pathname,n)||r.nextLocation.pathname;return Ij(a.pathname,i)!=null||Ij(a.pathname,o)!=null}function hke({itemId:e,setShowDetails:t,isLargeView:r,isShowDetails:n,isSelected:a,isPinned:o,isMenu:i,icon:c,iconVisibility:u,isPinnedBoard:f,isFavorite:h,boardId:m,tabId:v,setSelectedItemId:S}){const{t:w}=Tt(),{updateMovedClips:g}=mk(),{duplicateItem:b}=_ge(),{deleteItemById:C}=vk(),{updateItemById:j}=al(),{updatePinnedClipsByIds:E}=PB(),{setIsShowPinned:N,isShowPinned:T}=dt(_s),{createNewItem:A}=gk(),M=sa(),{clipItems:D,tabs:L,currentTab:z,setCurrentTab:H,currentCollectionId:V}=dt(Tn),I=p.useCallback(()=>os(D,z).filter(Y=>Y.id!==e),[D,z,e]),q=p.useCallback(()=>os(D,z,m==null?void 0:m.toString()).filter(Y=>Y.id!==e).sort((Y,B)=>Y.orderNumber-B.orderNumber),[D,z,e,m]),_=function(Y,B=!1){return pe(this,null,function*(){var se,re;if(!V||!Y||!m)return;const F=Y.toString(),G=os(D,F);let X=(se=G.find(ie=>ie.name===w("Moved Clips Panel",{ns:"dashboard"})))==null?void 0:se.id;if(!X){const ie=(re=L.find(le=>le.tabId===F))==null?void 0:re.tabColor,oe={name:w("Moved Clips Panel",{ns:"dashboard"}),isBoard:!0,tabId:F,color:ie,description:w("Panel for moved or copied items from other tabs",{ns:"dashboard"}),parentId:null,collectionId:V,orderNumber:0},ae=yield A({item:oe});G.sort((le,ue)=>le.orderNumber-ue.orderNumber).unshift(ee(R({},oe),{id:ae,layout:"",type:"board",color:null,showDescription:!0,layoutItemsMaxWidth:"",layoutSplit:1}));const fe=G.map((le,ue)=>({itemId:le.id,parentId:null,tabId:le.tabId,collectionId:V,orderNumber:ue}));g({updatedMoveClips:fe}),X=ae}if(X){const ie=X.toString(),oe=B?e:yield b({itemId:e,boardId:ie,tabId:F,collectionId:V});Wu.value=ie;const ae=os(D,F.toString(),ie==null?void 0:ie.toString());ae.sort((le,ue)=>le.orderNumber-ue.orderNumber).unshift({parentId:ie,tabId:F,id:oe,type:"clip",orderNumber:0,createdAt:0,value:"",name:""});const fe=ae.map((le,ue)=>({itemId:le.id,parentId:le.parentId,tabId:le.tabId,collectionId:V,orderNumber:ue}));H(F),B?yield g({updatedMoveClips:fe}):setTimeout(()=>pe(this,null,function*(){yield g({updatedMoveClips:fe}),La.value=oe}),300)}})},$=function(Y,B=!1){return pe(this,null,function*(){if(!V||!Y)return;const F=Y.toString(),G=z.toString(),X=B?e:yield b({itemId:e,boardId:F,tabId:G,collectionId:V});Wu.value=F;const se=os(D,G.toString(),F==null?void 0:F.toString());se.sort((ie,oe)=>ie.orderNumber-oe.orderNumber).unshift({parentId:F,tabId:G,id:X,type:"clip",orderNumber:0,createdAt:0,value:"",name:""});const re=se.map((ie,oe)=>({itemId:ie.id,parentId:ie.parentId,tabId:ie.tabId,collectionId:V,orderNumber:oe}));H(G),B?yield g({updatedMoveClips:re}):setTimeout(()=>pe(this,null,function*(){yield g({updatedMoveClips:re}),La.value=X}),300)})},U=function(se){return pe(this,arguments,function*({isLast:Y,isFirst:B,isAfterItemId:F,moveUp:G,moveDown:X}){const re=z.toString(),ie=os(D,re,m==null?void 0:m.toString()).sort((le,ue)=>le.orderNumber-ue.orderNumber),oe=ie.findIndex(le=>le.id===e);if(oe===-1)return;let ae;if(G)ae=Math.max(0,oe-1);else if(X)ae=Math.min(ie.length-1,oe+1);else if(F){const le=ie.findIndex(ue=>ue.id===F);if(le===-1)return;ae=oe>le?le+1:le}else ae=B?0:Y?ie.length:0;const fe=zn(ie,oe,ae);if(fe&&fe.length){const le=fe.map((ue,be)=>({itemId:ue.id,parentId:ue.parentId,tabId:ue.tabId,collectionId:V,orderNumber:be}));yield g({updatedMoveClips:le})}})},K=p.memo(({board:Y,itemId:B,level:F,onSelect:G})=>{var X;return"isBoard"in Y&&F<1&&((X=Y.children)!=null&&X.some(se=>"isBoard"in se&&se.isBoard&&se.id!==B))?s.jsxs(In,{children:[s.jsx(Mn,{onClick:()=>{G(Y.id)},children:s.jsx("span",{className:"capitalize !block max-w-md overflow-hidden text-ellipsis whitespace-nowrap",children:Y.name})}),s.jsx(Dn,{children:Y.children.filter(se=>se.id!==B).filter(se=>se.type===Bs).map(se=>s.jsx(K,{board:se,itemId:B,level:F+1,onSelect:G},se.id))})]}):s.jsx(St,{onSelect:()=>{G(Y.id)},children:s.jsx("span",{className:"capitalize !block max-w-md overflow-hidden text-ellipsis whitespace-nowrap",children:Y.name})},Y.id)});return e==null?null:s.jsx(R1,{children:s.jsxs(Xm,{children:[r?s.jsxs(s.Fragment,{children:[s.jsxs(St,{onClick:()=>{Os.value=null},children:[w("Close",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Mv,{size:14})})]}),s.jsx(Fr,{})]}):s.jsxs(s.Fragment,{children:[n?s.jsxs(St,{onClick:()=>{t(null)},children:[w("Close",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Dle,{size:15})})]}):s.jsxs(St,{onClick:()=>{t(e)},children:[w("Open",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Ale,{size:15})})]}),Os.value!==e?s.jsxs(St,{onClick:()=>{Os.value=e},children:[w("View",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(k1,{size:14})})]}):s.jsxs(St,{onClick:()=>{Os.value=null},children:[w("Close",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Mv,{size:14})})]}),a?s.jsxs(St,{onClick:()=>{S(e)},children:[w("Deselect",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Yae,{size:15})})]}):s.jsxs(St,{onClick:()=>{S(e)},children:[w("Select",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(gz,{size:15})})]}),s.jsx(Fr,{})]}),Ss.value!==e?s.jsxs(St,{className:"gap-2",onClick:()=>{gu.value=null,Ss.value=e},children:[w("Edit Clip",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(m2,{size:15})})]}):s.jsxs(St,{onClick:()=>{Ss.value=null,gu.value=null},children:[w("Close Edit",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(m2,{size:15,className:"ml-1"})})]}),gu.value!==e?s.jsxs(St,{className:"gap-2",onClick:()=>{Ss.value=null,gu.value=e},children:[w("Rename",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Xu,{size:13})})]}):s.jsxs(St,{onClick:()=>{Ss.value=null,gu.value=null},children:[w("Close Rename",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Xu,{size:13,className:"ml-1"})})]}),s.jsx(Fr,{}),f?s.jsxs(St,{onClick:()=>{E({itemIds:[e],isPinned:!1})},children:[w("UnPin Clip",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Vu,{size:15})})]}):s.jsx(s.Fragment,{children:o?s.jsxs(St,{onClick:()=>{E({itemIds:[e],isPinned:!1})},children:[w("UnPin Clip",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Vu,{size:15})})]}):s.jsxs(St,{onClick:()=>{!o&&!T&&N(!0),E({itemIds:[e],isPinned:!0})},children:[w("Pin",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Cc,{size:15})})]})}),h?s.jsxs(St,{onClick:()=>{j({updatedItem:{isFavorite:!1,itemId:e}})},children:[w("Remove Star",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Uw,{size:15,className:"fill-transparent"})})]}):s.jsxs(St,{onClick:()=>{j({updatedItem:{isFavorite:!0,itemId:e}})},children:[w("Star",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Yf,{size:15,className:"fill-transparent"})})]}),s.jsx(Fr,{}),i?s.jsxs(St,{onClick:()=>{M("/menu",{replace:!0}),setTimeout(()=>{vu.value=e.toString()},300)},children:[w("Locate Menu",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(Hw,{size:15})})]}):s.jsxs(St,{onClick:()=>{M("/menu",{replace:!0}),setTimeout(()=>{Id.value=e,no.value=!0},300)},children:[w("Add to Menu",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(H6,{size:15})})]}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("Manage",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsxs(St,{onClick:()=>pe(this,null,function*(){if(!V||!v||!m)return;const Y=yield b({itemId:e,boardId:m,tabId:v,collectionId:V});Wu.value=m;const B=os(D,v.toString(),m==null?void 0:m.toString());B.sort((G,X)=>G.orderNumber-X.orderNumber).unshift({parentId:m,tabId:v,id:Y,type:"clip",orderNumber:0,createdAt:0,value:"",name:w("Copy Clip",{ns:"dashboard"})});const F=B.map((G,X)=>({itemId:G.id,parentId:G.parentId,tabId:G.tabId,collectionId:V,orderNumber:X}));setTimeout(()=>pe(this,null,function*(){yield g({updatedMoveClips:F}),La.value=Y}),600)}),children:[w("Duplicate",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(A6,{size:15})})]}),s.jsxs(St,{onClick:()=>{Ki.value=m},children:[w("Organize",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Bw,{size:15,className:"fill-transparent"})})]}),s.jsx(Fr,{}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("Position",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsxs(St,{onClick:()=>{U({moveUp:!0})},children:[w("Up",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(pz,{size:15,className:"fill-transparent"})})]}),s.jsxs(St,{onClick:()=>{U({moveDown:!0})},children:[w("Down",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(fz,{size:15,className:"fill-transparent"})})]}),s.jsx(Fr,{}),q().length>0&&s.jsxs(s.Fragment,{children:[s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("After",{ns:"contextMenus"}),"..."]}),s.jsx(Dn,{children:q().map(Y=>s.jsx(K,{board:Y,level:0,itemId:e,onSelect:B=>{U({isAfterItemId:B})}},Y.id))})]}),s.jsx(Fr,{})]}),s.jsxs(St,{onClick:()=>{U({isFirst:!0})},children:[w("Start",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(zw,{size:15,className:"fill-transparent"})})]}),s.jsxs(St,{onClick:()=>{U({isLast:!0})},children:[w("End",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Df,{size:15,className:"fill-transparent"})})]})]})]}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("Copy To",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("CopyTo:::Tab",{ns:"contextMenus"}),"..."]}),s.jsx(Dn,{children:L.map(({tabId:Y,tabName:B,tabOrderNumber:F})=>s.jsx(St,{onSelect:()=>{_(Y)},children:z===Y?s.jsx(J,{className:"font-semibold capitalize",children:B||"".concat(w("Tab",{ns:"dashboard"})," ").concat(F+1)}):s.jsx("span",{className:"capitalize",children:B||"".concat(w("Tab",{ns:"dashboard"})," ").concat(F+1)})},Y))})]}),os(D,z).filter(Y=>Y.id!==e).length>0&&s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("CopyTo:::Board",{ns:"contextMenus"}),"..."]}),s.jsx(Dn,{children:I().map(Y=>s.jsx(K,{board:Y,level:0,itemId:e,onSelect:B=>{$(B)}},Y.id))})]})]})]}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("Move To",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("CopyTo:::Tab",{ns:"contextMenus"}),"..."]}),s.jsx(Dn,{children:L.map(({tabId:Y,tabName:B,tabOrderNumber:F})=>s.jsx(St,{onSelect:()=>{_(Y,!0)},children:z===Y?s.jsx(J,{className:"font-semibold capitalize",children:B||"".concat(w("Tab",{ns:"dashboard"})," ").concat(F+1)}):s.jsx("span",{className:"capitalize",children:B||"".concat(w("Tab",{ns:"dashboard"})," ").concat(F+1)})},Y))})]}),os(D,z).filter(Y=>Y.id!==e).length>0&&s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("CopyTo:::Board",{ns:"contextMenus"}),"..."]}),s.jsx(Dn,{children:I().map(Y=>s.jsx(K,{board:Y,level:0,itemId:e,onSelect:B=>{$(B,!0)}},Y.id))})]})]})]}),s.jsx(Fr,{}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[w("Clip Icon",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsx(St,{disabled:!0,className:"text-center items-center justify-center py-0.5",children:s.jsx(J,{children:w("Icon Visibility",{ns:"contextMenus"})})}),s.jsx(Fr,{}),s.jsx(zi,{checked:u==="none",onSelect:()=>{j({updatedItem:{iconVisibility:"none",itemId:e}})},className:u==="none"?"font-semibold":"",children:w("Hide",{ns:"contextMenus"})}),s.jsx(zi,{checked:u==="always",onSelect:()=>{j({updatedItem:{iconVisibility:"always",itemId:e}})},className:u==="always"?"font-semibold":"",children:w("Show",{ns:"contextMenus"})}),s.jsxs(In,{children:[s.jsxs(Mn,{className:"flex items-center justify-center",children:[c?s.jsx(Sm,{size:16,className:"ml-1 mr-2",name:c}):s.jsx(P6,{size:16,className:"ml-1 mr-2 opacity-30"}),w("Custom Icon",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{className:"w-64",children:[s.jsxs(St,{disabled:!0,className:"text-center items-center justify-between py-0.5 data-[disabled]:pointer-events-auto",children:[s.jsx(Q,{className:"w-6"}),s.jsx(J,{children:w("Select Icon",{ns:"contextMenus"})}),s.jsx(ye,{className:"text-[11px] px-1.5 font-semibold py-0.5 bg-opacity-70",variant:"default",size:"mini",onClick:()=>{j({updatedItem:{icon:"",iconVisibility:"",itemId:e}})},children:w("RESET",{ns:"contextMenus"})})]}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:s.jsx(me,{className:"grid grid-cols-7 gap-0.5",children:p_.map(Y=>s.jsx(St,{className:"flex items-center justify-center ".concat(c===Y?"!bg-gray-200 dark:!bg-gray-600 dark:!text-slate-300":""),onSelect:B=>{B.preventDefault(),j({updatedItem:{icon:Y,iconVisibility:"always",itemId:e}})},children:s.jsx(Sm,{name:Y,size:16})},Y))})})]})]})]})]})]})]}),f?s.jsxs(St,{onClick:()=>{E({itemIds:[e],isPinned:!1})},children:[s.jsx(J,{className:"!text-orange-600",children:w("UnPin Clip",{ns:"contextMenus"})}),s.jsx("div",{className:"ml-auto ",children:s.jsx(Vu,{size:15,className:"!text-orange-600"})})]}):s.jsxs(St,{className:ei.value===e?"!bg-red-100 dark:!bg-red-900":"",onClick:Y=>{ei.value===e?(C({itemId:e,collectionId:V}),r&&setTimeout(()=>{Os.value=null},300),ei.value):(Y.preventDefault(),ei.value=e,setTimeout(()=>{ei.value=null},3e3))},children:[s.jsx(me,{children:s.jsx(J,{className:"!text-red-500",children:ei.value!==e?w("Delete Clip",{ns:"contextMenus"}):w("Click to Confirm",{ns:"common"})})}),!ei.value&&s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(xn,{size:15,className:"text-red-500"})})]})]})})}const _S=["Tab","Enter","TabTab","TabTabTab","TabEnter","TabTabEnter"];function vW({clip:e,boardColor:t,globalSearchTerm:r,isGlobalSearchBoardsOnly:n,isDragPreview:a,isClipNotesHoverCardsEnabled:o,clipNotesHoverCardsDelayMS:i,clipNotesMaxWidth:c,clipNotesMaxHeight:u,isSelected:f,selectedOrder:h,isShowDetails:m,canReorangeItems:v,isClipDelete:S,isHistoryDragActive:w,isClipEdit:g,isClipNameEditing:b,isPinnedBoard:C,isLargeView:j,isShowOrganizeLayoutValue:E,isDisabledPinnedMoveDown:N,isDisabledPinnedMoveUp:T,isDark:A,closeGlobalSearch:M,onMovePinnedUpDown:D=({})=>{},setShowDetailsItem:L=()=>{},setSelectedItemId:z=()=>{}}){var vr,pr,Wr,Le,Dt,Ze,mr,Se,je,we;const{t:H}=Tt(),V=We(!1),I=We(!1),q=We(!1),_=We(""),{updateItemById:$}=al(),U=Vxe(),[K,Y,B,F]=Qf({}),[G,X,se]=Jf({}),re=go(_.value,300),ie=p.useRef(null),oe=p.useRef(null),ae=(E||v)&&!C,{setNodeRef:fe,listeners:le,isDragging:ue,setActivatorNodeRef:be,isOver:Ce}=Iw({transition:null,disabled:!!(ae&&g&&b)||a||!1,id:C?"".concat(e.id,"::pinnedzone"):g?"".concat(e.id,"::dropzone"):e.id,animateLayoutChanges:()=>!1,data:{type:g?"clip::dropzone":"clip",clip:e}}),Pe=r&&!n?Nl(e.name,r):e.name,Ee=S||Yl.value&&f,Oe=K===e.id,Ve=G===e.id,ct=F===e.id,gt=G===e.id?X:void 0,Ke=m&&!C&&Oi.value===e.id,Et=e.createdAt>Math.floor(Date.now())-60*1e3&&!e.isPinned&&!e.isFavorite,Re=e.color?e.color:t||(C?"orange":"slate"),xt=e.borderWidth&&e.borderWidth>0,ot=xt?e.borderWidth:1,pt=xt?"border-l-".concat(Re,"-400 hover:!border-l-").concat(Re,"-500 dark:border-l-").concat(Re,"-600 dark:hover:!border-l-").concat(Re,"-500"):"",_t=cd("relative clip_tour overflow-hidden p-[2px] px-0 hover:shadow-sm !rounded-lg duration-300 bg-".concat(Re,"-50 dark:bg-").concat(Re,"-950 dark:bg-opacity-80 border-").concat(Re,"-200 dark:border-").concat(Re,"-900 ").concat(pt," hover:bg-white dark:hover:bg-").concat(Re,"-950 dark:hover:bg-opacity-60 ").concat(xt?"border border-l-[".concat(ot,"px] "):"border-0"," ").concat(g?"bg-white":""," ").concat(f?"bg-yellow-50 dark:bg-amber-950/80 border-amber-300 hover:border-yellow-300/80 hover:bg-yellow-50/80 dark:hover:bg-yellow-950/80":""," h-full ").concat(Ee?"border-red-300 bg-red-100 border hover:!bg-red-100 dark:!bg-red-900 border-l-[".concat(ot,"px] "):"").concat(Oe||Ve?"!border-green-600 !bg-green-50 dark:!bg-green-900 dark:!border-green-700":""," ").concat(C&&!E?"animate-in fade-in":""," ").concat(Ke?"pulse-clip":""," "),{variants:{dragging:{over:"border-2 border-dashed border-blue-400 min-w-[120px]",overlay:"opacity-80 ml-[-2px] mt-[1px] min-w-[120px]"}}});p.useEffect(()=>{var Fe,nt,rt,Ie,$e,Ye;!ae&&Qx.value?(Qx.value=null,O5.value=null):ue&&(Qx.value=(rt=(nt=(Fe=oe==null?void 0:oe.current)==null?void 0:Fe.firstElementChild)==null?void 0:nt.getBoundingClientRect().height)!=null?rt:null,O5.value=(Ye=($e=(Ie=oe==null?void 0:oe.current)==null?void 0:Ie.firstElementChild)==null?void 0:$e.getBoundingClientRect().width)!=null?Ye:null)},[ue,ae]);const ht=p.useMemo(()=>"".concat(e.id,":::").concat(C?"pinned":e.parentId),[e.id,C,e.parentId]),It=bg.value===ht||E||v||ct,Ft=!g&&!I&&(Et||e.isPinned||e.isFavorite)?"".concat(Et?H("New",{ns:"common"}):""," ").concat(e.isPinned?H("Pinned",{ns:"common"}):""," ").concat(e.isFavorite?H("Starred",{ns:"common"}):""):void 0,Vt=p.useMemo(()=>{if(!e.links)return[];if(e.links)try{e.arrLinks=JSON.parse(e.links)}catch(Fe){e.arrLinks=[]}return e.arrLinks},[e.isLink,e.links]);p.useEffect(()=>{I.value=!1,q.value=!1},[m]),p.useEffect(()=>{q.value||(_.value="")},[q.value]),p.useEffect(()=>{!m||!Vd.value||(Vd.value&&m&&!q.value?q.value=!0:Vd.value&&_.value.trim()===""&&(q.value=!1))},[Vd.value]);const Ge=b||g,Zt=q.value||Ge||E||v,nr=p.useMemo(()=>!!(e.description&&!a&&o&&!Ge),[e.description,a,o,Ge]);return s.jsxs(Ym,{onOpenChange:Fe=>{V.value=Fe},children:[s.jsx(Zm,{disabled:!It&&!f||!!r,ref:oe,children:s.jsxs(Q,{className:"relative",children:[f&&!(Oe||Ve)&&s.jsx(lt,{variant:"outline",className:"bg-yellow-50 fade-in animate-in border-amber-300 dark:bg-amber-900 dark:border-amber-950/80 border cursor-pointer px-1.5 py-[1px] absolute top-[-10px] left-[-4px] z-100",children:s.jsx(J,{className:"font-mono !text-yellow-500 dark:!text-yellow-300 font-semibold",children:h})}),(Oe||Ve)&&!gt?s.jsx(Q,{className:"z-100 w-full flex justify-center fade-in-animation absolute top-[-10px]",children:e.isForm?s.jsxs(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 py-[1.5px] mr-[-6px] text-[10px] uppercase font-semibold border-0",children:[H("Running",{ns:"common"}),"..."]}):s.jsxs(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 py-[1.5px] pr-4 mr-[-6px] text-[10px] uppercase font-semibold border-0",children:[s.jsx($t,{size:14,className:"mr-1"}),Oe?H("Copied",{ns:"common"}):Ve?H("Pasted",{ns:"common"}):""]})}):gt&&X>0&&s.jsx(Q,{className:"z-100 w-full flex justify-center fade-in-animation absolute top-[-10px]",children:e.isForm?s.jsx(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-3 py-[1.5px] pr-4 mr-[-6px] text-[10px] font-semibold border-0",children:H("Run in {{pastingCountDown}}...",{ns:"common",pastingCountDown:X})}):s.jsx(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-3 py-[1.5px] pr-4 mr-[-6px] text-[10px] font-semibold border-0",children:H("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:X})})}),s.jsxs(a_,{ref:Ji(ae||g?fe:null),style:a?{height:(vr=Qx.value)!=null?vr:"auto",width:(pr=O5.value)!=null?pr:"auto"}:{},onMouseEnter:()=>{bg.value=ht},onMouseLeave:()=>{bg.value=null},onClick:()=>{bg.value=ht},className:_t({dragging:a?"overlay":ue?"over":void 0}),children:[s.jsxs(b1e,ee(R(ee(R({title:Ft},U(()=>{g||m||C||(Ki.value=e.parentId)})),{onClickCapture:Fe=>{if(Fe.shiftKey){if(Fe.preventDefault(),Fe.stopPropagation(),E||v)return;m?Os.value===e.id?Os.value=null:L(null):L(e.id)}},onDoubleClickCapture:Fe=>{if(Zt||Fe.shiftKey){Fe.preventDefault();return}if(Fe.altKey||Fe.metaKey){if(e.isForm){se(e.id,void 0,!0);return}se(e.id)}else Y(e.id)},className:"overflow-hidden px-2.5 pr-1 py-1 break-words whitespace-pre-wrap flex gap-2 items-center justify-start flex-row ".concat(ae?"cursor-grab":"cursor-pointer"," ").concat(j?"min-h-[30px]":"")}),ae?le:{}),{children:[g?s.jsx(qD,{clipId:e.id,name:e.name,isLargeView:j,description:(Dt=e.description)!=null?Dt:null,color:Re,borderWidth:e.borderWidth?e.borderWidth:0}):q.value&&((Wr=e.value)!=null&&Wr.trim())?s.jsxs(me,{className:"w-full text-sm",children:[s.jsx(Qu,{placeholder:"".concat(H("Find in clip",{ns:"dashboard"})," ..."),autoFocus:!0,onKeyDown:Fe=>{Fe.key==="Escape"&&_.value.trim()===""&&(q.value=!1)},iconLeft:s.jsx(mm,{className:"h-4 w-4"}),classNameInput:"w-full px-[6px] h-6",onChange:Fe=>{_.value=Fe.target.value},className:"text-md ring-offset-0 pl-[6px] pr-[6px] bg-slate-100 dark:bg-slate-700 border-r-0 border-t-0 border-b-0 h-8",type:"search"}),s.jsx(un,{className:"hover:bg-transparent text-slate-500 ml-1.5",children:s.jsx(Be,{text:H("Close Find",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(br,{size:18,onClick:()=>{q.value=!1}})})})]}):s.jsx("div",{className:"text-slate-600 dark:text-slate-300 text-sm line-clamp-3 text-ellipsis ".concat(Et?"font-semibold":"font-normal"," ").concat(Ge||Et?"w-full":""),children:b?s.jsx(qD,{clipId:e.id,name:e.name,isEditOnly:!0,isLargeView:j,description:(Le=e.description)!=null?Le:null,color:Re,borderWidth:e.borderWidth?e.borderWidth:0}):s.jsxs(H2,{text:e.description,isDisabled:!nr,side:"right",isDark:A,delayDuration:i,align:"end",classNameTrigger:"inline-flex items-start",sideOffset:10,maxWidth:c,maxHeight:u,asChild:!0,children:[Vt&&Vt.length===1&&e.isLink?s.jsx("span",{onClick:Fe=>{if(Fe.shiftKey||Zt){Fe.preventDefault();return}fi(_n(Vt[0]))},title:Vt[0],className:"underline decoration-slate-400 hover:decoration-blue-700 hover:text-blue-700 dark:hover:decoration-blue-400 dark:hover:text-blue-400 cursor-pointer",children:Pe}):e.isLink&&e.value?s.jsx("span",{onClick:Fe=>{var Ie;if(Fe.shiftKey){Fe.preventDefault();return}const rt=Rn().match((Ie=e.value)!=null?Ie:"");rt&&rt.length===1?fi(_n(rt[0].raw)):co(H("Provided link {{clipValue}} might be invalid!",{ns:"common",clipValue:e.value}),"Warning")},title:e.value,className:"underline decoration-slate-400 hover:decoration-blue-700 hover:text-blue-700 dark:hover:decoration-blue-400 dark:hover:text-blue-400 cursor-pointer",children:Pe}):e.isPath&&e.value?s.jsx("span",{onClick:()=>pe(this,null,function*(){try{yield Hs("check_path",{path:e.value}),yield Hs("open_path_or_app",{path:e.value})}catch(Fe){co(H("Provided path {{clipValue}} might be invalid!",{ns:"common",clipValue:e.value}),"Warning")}}),title:e.value,className:"underline decoration-slate-400 hover:decoration-blue-700 hover:text-blue-700 dark:hover:decoration-blue-400 dark:hover:text-blue-400 cursor-pointer",children:Pe}):Pe,e.description&&m&&s.jsx(H2,{text:e.description,isDisabled:a,side:"right",isDark:A,delayDuration:300,align:"end",classNameTrigger:"mt-[2px]",sideOffset:10,maxWidth:c,maxHeight:u,asChild:!0,children:s.jsx(Sz,{size:16,className:"opacity-70 hover:opacity-100 ml-1.5 hover:text-yellow-600"})})]})}),!((It||V.value)&&!Ge&&!q.value)&&!Ge&&s.jsxs("div",{className:"text-secondary-foreground/50 flex flex-row ml-auto self-start items-center justify-end w-[40px] h-5 !mt-0 !p-0",children:[e.isFavorite&&s.jsx(Yf,{className:"absolute text-transparent ".concat(e.isPinned?" fill-orange-400":" fill-yellow-400 "," pointer-events-none right-[4px] top-[4px] animate-in fade-in duration-500"),size:11}),e.isPinned&&!e.isFavorite&&!C?s.jsx(Ll,{className:"absolute text-orange-400 pointer-events-none top-[-5px] right-[-5px] animate-in fade-in duration-500",size:28}):Et&&!e.isFavorite&&s.jsx(Ll,{className:"absolute text-green-400 pointer-events-none top-[-5px] right-[-3px] animate-in fade-in duration-500",size:28}),!g&&s.jsx("div",{className:e.isPinned&&!e.isFavorite?"mr-[11px]":Et?"mr-[14px]":e.isFavorite?"mr-[13px]":"mr-1.5",children:Vt&&Vt.length===1&&e.isLink||e.isLink&&e.value?s.jsx(Xl,{icon:e.icon,description:e.description,pathType:H("Type:::Link",{ns:"common"}),iconVisibility:e.iconVisibility,isHover:It,children:s.jsx(sxe,{className:"ml-1.5",width:15,height:15})}):e.isPath&&e.value?s.jsx(Xl,{icon:e.icon,description:e.description,pathType:H("Type:::".concat(e.pathType),{ns:"common"}),iconVisibility:e.iconVisibility,isHover:It,children:e.pathType==="Folder"?s.jsx(cxe,{width:16,height:16}):e.pathType==="File"?s.jsx(ixe,{width:16,height:16}):e.pathType==="App"?s.jsx(oxe,{width:16,height:16}):(((Ze=e.pathType)==null?void 0:Ze.includes("Executable"))||((mr=e.pathType)==null?void 0:mr.includes("Script")))&&s.jsx(lxe,{width:16,height:16})}):e.isCommand?s.jsx(Xl,{icon:e.icon,description:e.description,pathType:H("Type:::Shell Command",{ns:"common"}),iconVisibility:e.iconVisibility,isHover:It,children:s.jsx(Dz,{width:16,height:16})}):e.isForm?s.jsx(s.Fragment,{children:s.jsx(Xl,{icon:e.icon,description:e.description,pathType:H("Type:::Form Auto Fill",{ns:"common"}),iconVisibility:e.iconVisibility,isHover:It,children:s.jsx(Rz,{width:16,height:16})})}):e.isTemplate?s.jsx(s.Fragment,{children:s.jsx(Xl,{icon:e.icon,description:e.description,pathType:H("Type:::Template",{ns:"common"}),iconVisibility:e.iconVisibility,isHover:It,children:s.jsx(I6,{width:16,height:16})})}):e.isWebRequest?s.jsx(Xl,{icon:e.icon,description:e.description,pathType:H("Type:::Web Request (HTTP)",{ns:"common"}),iconVisibility:e.iconVisibility,isHover:It,children:s.jsx(bU,{width:16,height:16})}):e.isWebScraping?s.jsx(Xl,{icon:e.icon,description:e.description,pathType:H("Type:::Web Scraper / Parser",{ns:"common"}),iconVisibility:e.iconVisibility,isHover:It,children:s.jsx(wU,{width:16,height:16})}):e.icon&&s.jsx(Xl,{icon:e.icon,description:e.description,iconVisibility:e.iconVisibility,isHover:It})})]}),(It||V.value)&&!Ge&&(!v&&!a&&!ue&&!q.value&&!E?s.jsx(s.Fragment,{children:s.jsxs("div",{className:"self-start justify-end text-secondary-foreground/50 flex ml-auto !mt-0 !p-0 ".concat(m?"":"w-[40px]"," items-center justify-center fade-in-init ").concat(It||V.value?"fade-in-init-hover":""),children:[s.jsx("div",{}),m&&!q.value&&!e.isImage&&((Se=e.value)==null?void 0:Se.trim())&&s.jsx(un,{className:"hover:bg-transparent hover:text-yellow-600 pr-2",onClick:()=>{q.value=!0},children:s.jsx(Be,{text:H("Find in Clip",{ns:"dashboard"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(axe,{width:16,height:16,className:"cursor-pointer"})})}),m&&e.isImage&&j&&s.jsx(un,{className:"hover:bg-transparent pr-3",onClick:()=>{$({updatedItem:{itemId:e.id,imageScale:e.imageScale===1?2:1}})},children:s.jsx(Be,{text:H("Image Scale {{ImageScale}}x",{ns:"common",ImageScale:e.imageScale}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsxs(me,{children:[s.jsx(lt,{variant:"outline",className:"bg-slate-100 border border-slate-100 cursor-pointer px-1.5 mr-1 py-[1px]",children:s.jsx(J,{className:"font-mono !text-slate-400 font-semibold",children:"".concat(e.imageScale,"x")})}),e.imageScale===1?s.jsx(aue,{width:16,height:16,className:"cursor-pointer"}):s.jsx(sue,{width:16,height:16,className:"cursor-pointer"})]})})}),s.jsx(un,{className:"hover:bg-transparent hover:text-green-600",onClick:()=>{ur.value?e.isForm?se(e.id,void 0,!0):se(e.id):Y(e.id)},children:e.isForm?s.jsx(Be,{text:H("Type:::Run Auto Fill",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ct||Ve&&!gt?s.jsx(wm,{}):s.jsx(z2,{width:16,height:16})}):e.isWebRequest||e.isWebScraping||e.isCommand?s.jsx(Be,{text:ur.value?H("Run and Paste Response",{ns:"common"}):H("Run and Copy Response",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(js,{size:16}):ct?s.jsx(wm,{}):s.jsx(z2,{width:16,height:16})}):s.jsx(Be,{text:ur.value?H("Copy and Paste",{ns:"common"}):H("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(js,{size:16}):s.jsx(pa,{size:16})})}),r?s.jsx(ye,{variant:"ghost",size:"mini",className:"px-1 pr-1 text-secondary-foreground/50 cursor-pointer !mt-0 flex hover:bg-transparent hover:text-blue-500",onClick:()=>{Oi.value=e.id,M==null||M()},ref:ie,children:s.jsx(Be,{text:H("Locate Clip",{ns:"contextMenus"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(Hw,{size:18})})}):s.jsx(ye,{variant:"ghost",size:"mini",className:"px-1 pr-0 text-secondary-foreground/50 cursor-pointer !mt-0 flex hover:bg-transparent dark:hover:bg-transparent hover:text-slate-600 hover:dark:text-slate-300",onClick:()=>{var rt,Ie,$e;const Fe=(rt=ie==null?void 0:ie.current)==null?void 0:rt.getBoundingClientRect().x,nt=(Ie=ie==null?void 0:ie.current)==null?void 0:Ie.getBoundingClientRect().y;($e=oe==null?void 0:oe.current)==null||$e.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:Fe,clientY:nt&&nt+30}))},ref:ie,children:s.jsx(Be,{text:H("Clip Menu",{ns:"dashboard"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(sl,{size:18})})})]})}):!q.value&&s.jsx("div",{className:"text-secondary-foreground/50 flex ml-auto !mt-0 !p-0 pr-2 w-[40px] items-center justify-center",children:a?s.jsx(Bw,{size:16}):C?s.jsxs(me,{children:[s.jsx(Q,{className:"".concat(T?"cursor-default text-gray-300":"cursor-pointer text-slate-500"," pr-1 flex items-center justify-center"),children:s.jsx(ble,{size:15,onClick:()=>{T||D({itemId:e.id,moveUp:!0})}})}),s.jsx(Q,{className:"".concat(N?"cursor-default text-gray-300":"cursor-pointer text-slate-500"," flex items-center justify-center"),children:s.jsx(wle,{size:15,onClick:()=>{N||D({itemId:e.id,moveDown:!0})}})})]}):s.jsx(ye,ee(R({variant:"ghost",size:"mini"},le),{"data-drag-handle":!0,ref:be,className:"px-1 text-secondary-foreground/50 ml-auto cursor-grab fade-in animate-in !mt-0 flex hover:bg-transparent",children:s.jsx(Be,{text:H("Drag to Move",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(S1,{size:16})})}))}))]})),m&&!g?s.jsx(BU,{isImage:e.isImage,isLink:e.isLink,isShowLinkedClip:Ke,searchTerm:re,isVideo:e.isVideo,isPath:e.isPath,isForm:e.isForm,isTemplate:e.isTemplate,isCode:e.isCode,isMenu:e.isMenu,clipName:e.name,isCommand:e.isCommand,isWebRequest:e.isWebRequest,isWebScraping:e.isWebScraping,isExpanded:I,isCopyOrPaste:Oe||Ve,isDark:A,arrLinks:e.arrLinks,isMasked:e.isMasked,hasMaskedWords:e.hasMaskedWords,detectedLanguage:e.detectedLanguage,hasEmoji:e.hasEmoji,pathType:e.pathType,isImageData:e.isImageData,imageHash:e.imageHash,imageType:e.imageType,imageScale:e.imageScale,imagePathFullRes:e.imagePathFullRes,imageDataUrl:e.imageDataUrl,isLargeView:j,formTemplateOptions:e.formTemplateOptions,commandRequestOutput:(je=e.commandRequestOutput)==null?void 0:je.replace("[Err]",""),isCommandRequestRunError:!!((we=e.commandRequestOutput)!=null&&we.startsWith("[Err]")),commandRequestOutputLastRunAt:e.commandRequestLastRunAt,requestOptions:e.requestOptions,imageWidthHeight:e.imageWidth?"".concat(e.imageWidth,"x").concat(e.imageHeight):null,clipId:e.id,value:e.value}):g&&s.jsx(z2e,{value:e.value,isOver:Ce,isLargeView:j,isShowLinkedClip:Ke,isNewlyCreated:Et,isPinned:e.isPinned,isFavorite:e.isFavorite,isDelete:Ee,isCode:e.isCode,isImage:e.isImage,isCommand:e.isCommand,isLink:e.isLink,isWebRequest:e.isWebRequest,isWebScraping:e.isWebScraping,requestOptions:e.requestOptions,formTemplateOptions:e.formTemplateOptions,isPath:e.isPath,isVideo:e.isVideo,isMasked:e.isMasked,hasEmoji:e.hasEmoji,imageDataUrl:e.imageDataUrl,isText:e.isText,isTemplate:e.isTemplate,isForm:e.isForm,detectedLanguage:e.detectedLanguage,isDark:A,isHistoryDragActive:w,clipId:e.id,onCancel:()=>{qd()}})]})]})}),s.jsx(hke,{itemId:e.id,isSelected:f,isPinnedBoard:C,isShowDetails:m,setShowDetails:L,setSelectedItemId:z,icon:e.icon,iconVisibility:e.iconVisibility,isPinned:e.isPinned,isFavorite:e.isFavorite,isMenu:e.isMenu,isLargeView:j,tabId:e.tabId,boardId:e.parentId})]})}const y_=p.memo(vW),Hj=p.memo(({board:e,itemId:t,level:r,onSelect:n})=>{var a;return"isBoard"in e&&r<1&&((a=e.children)!=null&&a.some(o=>"isBoard"in o&&o.isBoard&&o.id!==t))?s.jsxs(In,{children:[s.jsx(Mn,{onClick:()=>{n(e.id)},children:s.jsx("span",{className:"capitalize !block max-w-md overflow-hidden text-ellipsis whitespace-nowrap",children:e.name})}),s.jsx(Dn,{children:e.children.filter(o=>o.id!==t).filter(o=>o.type===Bs).map(o=>s.jsx(Hj,{board:o,itemId:t,level:r+1,onSelect:n},o.id))})]}):s.jsx(St,{onSelect:()=>{n(e.id)},children:s.jsx("span",{className:"capitalize !block max-w-md overflow-hidden text-ellipsis whitespace-nowrap",children:e.name})},e.id)});function pke({itemId:e,itemParentId:t,onShowDescriptionChange:r,hasDescription:n,isShowDescription:a,isEdit:o,currentTabLayout:i,iconVisibility:c,icon:u,setEditBoard:f}){const{clipItems:h,tabs:m,currentTab:v,setClipItems:S,currentCollectionId:w,isBoardHasChildren:g}=dt(Tn),{t:b}=Tt(),{deleteItemById:C}=vk(),{updateItemById:j}=al(),{updateMovedClips:E}=mk(),N=p.useMemo(()=>os(h,v).filter(D=>D.id!==e),[h,v,e]),T=p.useCallback(()=>os(h,v,t==null?void 0:t.toString()).filter(D=>D.id!==e).sort((D,L)=>D.orderNumber-L.orderNumber),[h,v,e,t]),A=p.useCallback((D,L)=>{const z=h.find(H=>H.itemId===e&&H.isBoard);if(z&&!D&&L){const V=os(h,v,t==null?void 0:t.toString()).find(B=>B.id===e),I=V?f_(V):[],q=h.filter(B=>B.tabId===L&&B.isBoard&&B.parentId===null).sort((B,F)=>B.orderNumber-F.orderNumber);q.unshift(z);const _=new Map(q.map((B,F)=>[B.itemId,F])),$=new Map(I==null?void 0:I.map(B=>[B,!0])),U=[],K=h.map(B=>{const F=_.get(B.itemId);return F!==void 0?(U.push(B.itemId),ee(R({},B),{orderNumber:F,tabId:L,parentId:null})):$!=null&&$.has(B.itemId)?(U.push(B.itemId),ee(R({},B),{tabId:L})):B});S(K);const Y=K.filter(B=>U.includes(B.itemId)).map(B=>({itemId:B.itemId,parentId:B.parentId,tabId:B.tabId,collectionId:w,orderNumber:B.orderNumber}));E({updatedMoveClips:Y})}else if(z&&D&&!L){const H=h.filter(_=>_.parentId===D&&_.tabId===v).sort((_,$)=>_.orderNumber-$.orderNumber);H.unshift(z);const V=new Map(H.map((_,$)=>[_.itemId,$])),I=h.map(_=>{const $=V.get(_.itemId);return $!==void 0?ee(R({},_),{orderNumber:$,parentId:D.toString()}):_});S(I);const q=I.filter(_=>_.parentId===D).map(_=>({itemId:_.itemId,parentId:D,tabId:v,collectionId:w,orderNumber:_.orderNumber}));E({updatedMoveClips:q})}},[e,v]),M=function(I){return pe(this,arguments,function*({isLast:D,isFirst:L,isAfterItemId:z,moveUp:H,moveDown:V}){const q=v.toString(),_=os(h,q,t==null?void 0:t.toString()).sort((Y,B)=>Y.orderNumber-B.orderNumber),$=_.findIndex(Y=>Y.id===e);if($===-1)return;let U;if(H)U=Math.max(0,$-1);else if(V)U=Math.min(_.length-1,$+1);else if(z){const Y=_.findIndex(B=>B.id===z);if(Y===-1)return;U=$>Y?Y+1:Y}else U=L?0:D?_.length:0;const K=zn(_,$,U);if(K&&K.length){const Y=K.map((B,F)=>({itemId:B.id,parentId:B.parentId,tabId:B.tabId,collectionId:w,orderNumber:F}));yield E({updatedMoveClips:Y})}})};return e==null?null:s.jsx(R1,{children:s.jsxs(Xm,{className:"min-w-[150px]",children:[s.jsxs(St,{onSelect:()=>{kl.value=e},children:[b("Add Clip",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx($6,{size:16})})]}),s.jsxs(St,{onSelect:()=>{wg.value=e},children:[b("Add Board",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Av,{size:16})})]}),s.jsx(Fr,{}),Ia.value!==e?s.jsxs(St,{onClick:()=>{Ia.value=e,i==="full"&&(To.value=!0)},children:[b("View",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(k1,{size:14})})]}):s.jsxs(St,{onClick:()=>{Ia.value=null,To.value=!1},children:[b("Close View",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(F6,{size:14})})]}),s.jsx(Fr,{}),!o&&s.jsxs(St,{onClick:()=>{f(e)},children:[b("Edit Board",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(I6,{size:15,className:"ml-1"})})]}),s.jsx(Fr,{}),s.jsxs(St,{onClick:()=>{Ki.value=e},children:[b("Organize",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Bw,{size:15,className:"fill-transparent"})})]}),n&&s.jsx(s.Fragment,{children:a?s.jsxs(St,{onClick:()=>{r(e,!1)},children:[b("Hide Subtitle",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(C1,{size:15})})]}):s.jsxs(St,{onClick:()=>{r(e,!0)},children:[b("Show Subtitle",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(Hm,{size:15})})]})}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[b("Board Icon",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsx(zi,{checked:c==="none",onSelect:()=>{j({updatedItem:{iconVisibility:"none",itemId:e}})},className:c==="none"?"font-semibold":"",children:b("Hide",{ns:"contextMenus"})}),s.jsx(zi,{checked:c==="always",onSelect:()=>{j({updatedItem:{iconVisibility:"always",itemId:e}})},className:c==="always"?"font-semibold":"",children:b("Show",{ns:"contextMenus"})}),s.jsxs(In,{children:[s.jsxs(Mn,{className:"flex items-center justify-center",children:[u?s.jsx(Sm,{size:16,className:"ml-1 mr-2",name:u}):s.jsx(P6,{size:16,className:"ml-1 mr-2 opacity-30"}),b("Custom Icon",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{className:"w-64",children:[s.jsxs(St,{disabled:!0,className:"text-center items-center justify-between py-0.5 data-[disabled]:pointer-events-auto",children:[s.jsx(Q,{className:"w-6"}),s.jsx(J,{children:b("Select Icon",{ns:"contextMenus"})}),s.jsx(ye,{className:"text-[11px] px-1.5 font-semibold py-0.5 bg-opacity-70",variant:"default",size:"mini",onClick:()=>{j({updatedItem:{icon:"",iconVisibility:"none",itemId:e}})},children:b("RESET",{ns:"contextMenus"})})]}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:s.jsx(me,{className:"grid grid-cols-7 gap-0.5",children:p_.map(D=>s.jsx(St,{className:"flex items-center justify-center ".concat(u===D?"!bg-gray-200 dark:!bg-gray-600 dark:!text-slate-300":""),onSelect:L=>{L.preventDefault(),j({updatedItem:{iconVisibility:"always",icon:D,itemId:e}})},children:s.jsx(Sm,{name:D,size:16})},D))})})]})]})]})]}),s.jsx(Fr,{}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[b("Position",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsxs(St,{onClick:()=>{M({moveUp:!0})},children:[b("Up",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(pz,{size:15,className:"fill-transparent"})})]}),s.jsxs(St,{onClick:()=>{M({moveDown:!0})},children:[b("Down",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(fz,{size:15,className:"fill-transparent"})})]}),s.jsx(Fr,{}),T().length>0&&s.jsxs(s.Fragment,{children:[s.jsxs(In,{children:[s.jsxs(Mn,{children:[b("After",{ns:"contextMenus"}),"..."]}),s.jsx(Dn,{children:T().map(D=>s.jsx(Hj,{board:D,level:0,itemId:e,onSelect:L=>{M({isAfterItemId:L})}},D.id))})]}),s.jsx(Fr,{})]}),s.jsxs(St,{onClick:()=>{M({isFirst:!0})},children:[b("Start",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(zw,{size:15,className:"fill-transparent"})})]}),s.jsxs(St,{onClick:()=>{M({isLast:!0})},children:[b("End",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-2",children:s.jsx(Df,{size:15,className:"fill-transparent"})})]})]})]}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[b("Move To",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsxs(In,{children:[s.jsxs(Mn,{children:[b("MoveTo:::Tab",{ns:"contextMenus"})," ..."]}),s.jsx(Dn,{children:m.map(({tabId:D,tabName:L,tabOrderNumber:z})=>s.jsx(St,{onSelect:()=>{A(null,D)},children:v===D?s.jsx(J,{className:"font-semibold capitalize",children:L||"".concat(b("Tab",{ns:"dashboard"})," ").concat(z+1)}):s.jsx("span",{className:"capitalize",children:L||"".concat(b("Tab",{ns:"dashboard"})," ").concat(z+1)})},D))})]}),os(h,v).filter(D=>D.id!==e).length>0&&s.jsxs(In,{children:[s.jsxs(Mn,{children:[b("MoveTo:::Board",{ns:"contextMenus"})," ..."]}),s.jsx(Dn,{children:N.map(D=>s.jsx(Hj,{board:D,level:0,itemId:e,onSelect:L=>{A(L)}},D.id))})]})]})]}),!g(e)&&s.jsxs(s.Fragment,{children:[s.jsx(Fr,{}),s.jsxs(St,{className:lu.value===e?"!bg-red-100 dark:!bg-red-900":"",onClick:D=>{lu.value===e?(C({itemId:e,collectionId:w}),lu.value):(D.preventDefault(),lu.value=e,setTimeout(()=>{lu.value=null},3e3))},children:[s.jsx(me,{children:s.jsx(J,{className:"!text-red-500",children:lu.value!==e?b("Delete Board",{ns:"contextMenus"}):b("Click to Confirm",{ns:"common"})})}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(xn,{size:15,className:"text-red-500"})})]})]})]})})}const mke="_TopRow_16h0h_1",gke="_BottomRow_16h0h_5",vke="_Panel_16h0h_9",xke="_PanelContent_16h0h_14",yke="_ResizeHandleOuter_16h0h_24",bke="_ResizeHandleInner_16h0h_35",wke="_Button_16h0h_46",kke="_Icon_16h0h_58",TS={TopRow:mke,BottomRow:gke,Panel:vke,PanelContent:xke,ResizeHandleOuter:yke,ResizeHandleInner:bke,Button:wke,Icon:kke};function xW({isVertical:e=!1,className:t="",id:r}){return s.jsx(Gz,{className:"".concat(TS.ResizeHandleOuter," ").concat(t," opacity-0 hover:opacity-100 transition-opacity"),id:r,children:s.jsx("div",{className:TS.ResizeHandleInner,children:s.jsx(kz,{className:"".concat(TS.Icon," ").concat(e?"rotate-90":""," text-slate-300 dark:text-slate-500"),type:"resize-vertical"})})})}function Cke(u){var f=u,{children:e,isLastPanel:t=!1,fixedSize:r,hasPanel:n=!0,hasResizeHandle:a=!0,isVertical:o=!1,isCollapsible:i=!1}=f,c=ke(f,["children","isLastPanel","fixedSize","hasPanel","hasResizeHandle","isVertical","isCollapsible"]);const[h,m]=p.useState(r||0);return n?s.jsxs(s.Fragment,{children:[s.jsx(b2,ee(R({style:{width:"".concat(h,"%")},collapsible:i,onResize:v=>{r||m(v)}},c),{children:e})),!t&&a&&s.jsx(xW,{isVertical:o})]}):e}const PS=["max-w-min","max-w-xs","max-w-sm","max-w-md","max-w-[50%]","max-w-prose","max-w-full","max-w-fit"];function yW({board:e,boardColor:t,isDragPreview:r,isSubBoard:n,isDark:a,showDragHandle:o,globalSearchTerm:i,isGlobalSearchBoardsOnly:c,isHistoryDragActive:u,dragOverBoardId:f,panelHeight:h,currentTabLayout:m,selectedItemIds:v,showDetailsItem:S,closeGlobalSearch:w,setShowDetailsItem:g,setCurrentTab:b,setSelectedItemId:C}){var ct,gt,Ke,Et,Re,xt,ot;const{t:j}=Tt(),E=p.useMemo(()=>{var pt,_t;return(_t=(pt=e.children)==null?void 0:pt.map(ht=>ht.id))!=null?_t:[]},[e]),{updateItemById:N,updateItemByIdPending:T}=al(),{isClipNotesHoverCardsEnabled:A,clipNotesHoverCardsDelayMS:M,clipNotesMaxHeight:D,clipNotesMaxWidth:L}=dt(pn),z=We(!1),H=p.useRef(null),V=p.useRef(null),I=We(!1),q=We(!1),{isBoardHasChildren:_}=dt(Tn),$=p.useRef(null),U=fa.value===Io,K=$5.value===e.id&&!i,{setNodeRef:Y,listeners:B,isDragging:F}=Iw({disabled:u||U||!!Ss.value||!!La.value,id:e.id,data:{type:"board",isSubBoard:n,board:e}}),G=p.useMemo(()=>qi.value,[qi.value]),X=e.id===_f.value,se=e.name===j("Moved Clips Panel",{ns:"dashboard"}),re=e.id===jv.value,ie=lu.value===e.id,oe=X||re,ae=e.color||t||"slate",fe=e.borderWidth===0?n?"border":"border-none":e.borderWidth===1?"border":"border-[".concat(e.borderWidth,"px]"),le=((ct=e.layout)==null?void 0:ct.startsWith("flex"))||!1,ue=e.layout==="flex-nowrap"||!1,be=((gt=e.layout)==null?void 0:gt.startsWith("grid"))||!1,Ce=parseInt((Et=(Ke=e.layout)==null?void 0:Ke.split("grid-cols-")[1])!=null?Et:"",10)||2,Pe=Ki.value===e.id&&!i,Ee=f===e.id,Oe=Ia.value===e.id,Ve=cd("".concat(Ee?"bg-blue-200 dark:bg-blue-400 border-blue-300 dark:border-blue-300":"".concat($i(ae,"200")," ").concat(nb(ae,"300","700"))," h-full flex flex-col ").concat(oe?"border-2 min-h-[120px]":"border-0 min-h-[100px]"," px-0.5 py-1 bg-opacity-70 dark:bg-opacity-70 rounded-lg overflow-hidden ").concat(ie?"border-2 border-red-300 bg-red-100":""," ").concat(se?"border-2 ".concat(nb(ae,"300","700")," border-opacity-70 dark:border-opacity-70"):""," ").concat(n?"border-opacity-50 dark:border-opacity-50":"border-opacity-60 dark:border-opacity-60"," ").concat(fe," ").concat(U?"hover:bg-blue-100":""," ").concat(K?"pulse-clip":""),{variants:{dragging:{over:"border-2 border-dashed border-blue-400 dark:border-blue-500",overlay:"".concat(nb(ae,"300","700")," opacity-70 border-2")}}});return p.useEffect(()=>{var pt;K&&((pt=$==null?void 0:$.current)==null||pt.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}),setTimeout(()=>{$5.value=null},1e3))},[K,$==null?void 0:$.current]),p.useEffect(()=>{F&&n&&(Ki.value=e.parentId)},[F,n]),s.jsxs(a_,{ref:Ji($,Ss.value||La.value?null:Y),className:Ve({dragging:r?"overlay":F?"over":void 0}),children:[s.jsxs(Ym,{onOpenChange:pt=>{z.value=pt,lu.value=null},children:[s.jsx(Zm,{disabled:oe||Pe||o,ref:q.value?V:null,children:s.jsxs(w1e,ee(R({onMouseEnter:()=>{q.value=!0},onMouseLeave:()=>{q.value=!1},onClick:()=>{q.value=!0},onDoubleClick:()=>{q.value=!0,!oe&&(Ia.value!==e.id?(m==="full"&&(To.value=!0),Ia.value=e.id):(Ia.value=null,To.value=!1))},className:"p-1 px-4 pt-2 pb-0 pr-2 flex flex-row relative board-panel-header_tour"},!G&&!oe?B:{}),{children:[oe?s.jsx(nxe,{boardName:e.name,boardSubtitle:e.description,scrollRef:$,isNewBoard:X,boardColor:e.color,boardBorderWidth:(Re=e.borderWidth)!=null?Re:0,boardId:e.id}):s.jsxs("div",{className:"overflow-hidden",children:[s.jsxs("div",{className:"cursor-default flex items-center",children:[s.jsx(Xl,{icon:e.icon,size:17,isBoard:!0,className:"mr-1.5",description:e.showDescription?null:e.description,iconVisibility:e.iconVisibility,isHover:!0,children:se&&s.jsx(Nce,{size:17,className:"mr-1.5"})}),i?s.jsx(J,{color:"black",className:"dark:hover:!text-blue-400 hover:!text-blue-500 cursor-pointer !font-medium text-sm text-ellipsis !block overflow-hidden whitespace-nowrap first-letter:uppercase",onClick:()=>{b==null||b(e.tabId),$5.value=e.id,w==null||w()},children:c?Nl(e.name,i):e.name}):s.jsx(J,{color:"black",className:"!font-medium text-sm text-ellipsis !block overflow-hidden whitespace-nowrap first-letter:uppercase",children:e.name}),!e.showDescription&&(!e.icon||e.iconVisibility!=="always")&&s.jsx(Be,{text:e.description,className:"!px-2 !py-1",delayDuration:300,isCompact:!0,isDisabled:r||!q.value,sideOffset:10,side:"bottom",children:s.jsx("div",{className:"ml-0.5 pl-1 text-primary/50 cursor-pointer hover:opacity-100 ".concat(q.value?"opacity-80":"opacity-0"),children:s.jsx(dU,{size:17})})})]}),e.description&&e.showDescription&&s.jsx("div",{onClick:()=>{I.value=!I.value},className:"!font-light text-xs cursor-default hover:opacity-100 opacity-70 hover:animate-in ".concat(I.value?"":"line-clamp-2"," mt-0.5"),children:e.description})]}),!oe&&s.jsx("div",{className:"flex flex-row ml-auto opacity-0 animate-in fade-in ".concat(q.value||z.value||Oe||o||G||Pe?"opacity-100":""," !mt-0"),children:r?s.jsx(Bw,{size:18}):s.jsx(me,{className:"flex-row items-start relative",children:G||o?s.jsx(un,ee(R({},B),{className:"p-1 text-primary/50 h-auto cursor-grab absolute right-0 top-[-3px] hover:".concat($i(e.color,"200")),children:s.jsx(S1,{size:18})})):Pe?s.jsxs(ye,{variant:"light",size:"mini",className:"px-3 py-0.5 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80",onClick:()=>{Ki.value=null},children:[s.jsx(J,{className:"whitespace-nowrap",children:j("Done",{ns:"common"})}),s.jsx("div",{className:"ml-auto pl-1.5",children:s.jsx($t,{size:14})})]}):!i&&s.jsxs(me,{className:"absolute right-0 top-[-3px] gap-2",children:[s.jsx(ye,{title:j("Board Menu",{ns:"dashboard"}),variant:"ghost",size:"mini",className:"p-1 text-secondary-foreground/50 ".concat($i(e.color,"200")," dark:hover:bg-").concat(e.color,"-800 hover:").concat($i(e.color,"200")," bg-opacity-80 cursor-pointer rounded-md flex ").concat(Oe?"opacity-0":""," ").concat(q.value?"opacity-100":""),onClick:()=>{var ht,It,Ft;const pt=(ht=H==null?void 0:H.current)==null?void 0:ht.getBoundingClientRect().x,_t=(It=H==null?void 0:H.current)==null?void 0:It.getBoundingClientRect().y;(Ft=V==null?void 0:V.current)==null||Ft.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:pt&&pt+10,clientY:_t&&_t+30}))},ref:H,children:s.jsx(sl,{size:18})}),Oe&&s.jsx(ye,{title:j("Close View",{ns:"contextMenus"}),variant:"ghost",size:"mini",className:"p-1 text-secondary-foreground/50 ".concat($i(e.color,"100")," dark:hover:bg-").concat(e.color,"-800 hover:").concat($i(e.color,"200")," bg-opacity-100 cursor-pointer rounded-md !mt-0 flex"),onClick:()=>{Ia.value=null,To.value=!1},children:s.jsx(br,{size:18})})]})})}),i&&e.tabName&&s.jsx(lt,{onClick:()=>{b==null||b(e.tabId),w==null||w()},variant:"secondary",className:"absolute top-0 right-2 rounded-[4px] text-slate-400 hover:text-blue-400 hover:bg-slate-50 cursor-pointer dark:hover:bg-slate-800 dark:text-slate-500 dark:hover:text-blue-500 dark:bg-slate-800",children:e.tabName}),Oe&&s.jsx(Ll,{className:"absolute text-".concat(e.color?e.color:"slate","-400 dark:text-").concat(e.color?e.color:"slate","-800 top-[-15px] left-[-5px] animate-in fade-in duration-500"),size:28})]}))}),s.jsx(pke,{itemId:e.id,itemParentId:e.parentId,icon:e.icon,currentTabLayout:m,iconVisibility:e.iconVisibility,isEdit:re,isShowDescription:e.showDescription,hasDescription:!!e.description,setEditBoard:pt=>{jv.value=pt},onShowDescriptionChange:(pt,_t)=>{N({updatedItem:{showDescription:_t,itemId:pt}})}})]}),s.jsxs(eh,{className:"m-0 p-0 pb-2 pr-3 pl-2 relative h-full",children:[s.jsxs(Lf,{defer:!0,options:{overflow:{x:"hidden"},scrollbars:{theme:a?"os-theme-light":"os-theme-dark",autoHide:"move"}},style:{maxHeight:n||m==="auto"?400:e.showDescription&&e.description&&h?h-(oe?156:90):h&&h-(oe?126:60)},children:[(u||U)&&!Ss.value&&!La.value&&s.jsx(S1e,{board:e,isNewClip:U,isCreatingClip:Wu.value===e.id}),s.jsx(Qb,{items:E,strategy:()=>null,disabled:u||U,children:((xt=e.children)==null?void 0:xt.length)&&Eke(e.children,e.layoutSplit||1).map((pt,_t)=>pt.length>0&&s.jsxs("div",{children:[_t>0&&s.jsx(EN,{className:"mt-2 mb-1 ml-1",color:ae}),s.jsx(Lf,{defer:!0,style:{width:"100%"},options:{scrollbars:{theme:a?"os-theme-light":"os-theme-dark",autoHide:"move"}},children:s.jsx("div",{className:"".concat(le?"flex":"grid"," ").concat(ue?"flex-nowrap":"flex-wrap"," justify-normal gap-2.5 items-start mt-2.5 mb-2 ml-2 mr-1 ").concat(be?e.layout:""),children:pt==null?void 0:pt.map(ht=>{const It=Ss.value===ht.id;return s.jsx("div",{className:"".concat(It||La.value===ht.id?"min-w-[265px] duration-100 ":"min-w-[140px] "," ").concat(e.layoutItemsMaxWidth?e.layoutItemsMaxWidth:It||La.value===ht.id?"max-w-full":"max-w-fit"," hover:z-100 ").concat(le?e.layout:""),children:ht.type===Bs?s.jsx(Y2,{isHistoryDragActive:u,dragOverBoardId:f,isDark:a,board:ht,boardColor:ae,showDragHandle:Pe||re,currentTabLayout:m,isSubBoard:!0,selectedItemIds:v,setSelectedItemId:C,showDetailsItem:S,setShowDetailsItem:g}):ht.type===Io&&s.jsx(y_,{clip:ht,boardColor:ae,isClipNotesHoverCardsEnabled:A&&!G&&!Pe,clipNotesHoverCardsDelayMS:M,clipNotesMaxHeight:D,clipNotesMaxWidth:L,globalSearchTerm:i,isGlobalSearchBoardsOnly:c,closeGlobalSearch:w,isDark:a,isClipDelete:ei.value===ht.id,isClipNameEditing:gu.value===ht.id,isClipEdit:It||La.value===ht.id,canReorangeItems:oe||Pe,isShowOrganizeLayoutValue:G,isHistoryDragActive:u,isShowDetails:S===ht.id,setShowDetailsItem:g,setSelectedItemId:C,isSelected:v.includes(ht.id),selectedOrder:v.indexOf(ht.id)+1})},ht.id)})})})]},_t))})]}),oe&&s.jsxs(s.Fragment,{children:[s.jsx(kr,{h:11}),s.jsxs(me,{className:"justify-between w-full pl-2 pr-2 mt-2 absolute bottom-1 left-0",children:[s.jsx(k1e,{boardName:e.name,isNewBoard:X,boardId:e.id}),s.jsx(me,{className:"w-full scroll-h-tabs-wrap",children:_(e.id)&&s.jsx(en,{style:{minWidth:"100%"},forceVisible:"y",autoHide:!1,children:s.jsx(Qi,{className:"min-w-[280px] flex flex-row mt-[2px]",title:j("Change Layout",{ns:"dashboard"}),activationMode:"manual",value:e.layout||"flex-auto",onValueChange:pt=>pe(this,null,function*(){T||(yield N({updatedItem:{layout:pt,itemId:e.id}}))}),children:s.jsxs(me,{className:"w-full",children:[s.jsxs(me,{className:"mr-2",children:[e.layoutSplit>1&&s.jsx(lt,{onClick:()=>{N({updatedItem:{layoutSplit:e.layoutSplit>4?1:e.layoutSplit+1,itemId:e.id}})},variant:"outline",className:"bg-white border border-white dark:border-slate-600 dark:bg-slate-600 cursor-pointer px-1.5 mr-1",children:s.jsx(J,{className:"font-mono text-slate-400 font-semibold",children:e.layoutSplit})}),s.jsx(ye,{variant:"light",title:j("Vertical Split",{ns:"dashboard"}),onClick:()=>{N({updatedItem:{layoutSplit:e.layoutSplit>4?1:e.layoutSplit+1,itemId:e.id}})},className:"px-1 py-2 bg-gray-50 hover:bg-gray-200 dark:hover:bg-gray-700 cursor-pointer opacity-80 hover:opacity-100 hover:text-grey-500 h-8 w-8",children:s.jsx(Goe,{size:18,className:"opacity-70"})})]}),s.jsx(me,{className:"mr-0.5",children:s.jsx(lt,{variant:"outline",title:j("Layout Max Width",{ns:"dashboard"}),onClick:()=>{let pt=PS.findIndex(ht=>ht===e.layoutItemsMaxWidth);pt===-1?pt=0:pt=(pt+1)%PS.length;const _t=PS[pt];N({updatedItem:{layoutItemsMaxWidth:_t,itemId:e.id}})},className:"bg-white border border-white dark:border-slate-600 dark:bg-slate-600 cursor-pointer px-2 py-3 h-6 mr-1",children:s.jsx(J,{className:"text-slate-400 font-semibold text-md uppercase",children:e.layoutItemsMaxWidth?(ot=e.layoutItemsMaxWidth)==null?void 0:ot.replace("max-w-",""):"fit"})})}),s.jsxs(Ho,{className:"self-center text-primary/40",children:[s.jsx(bn,{value:"flex-auto",className:"text-xs px-2 py-1",children:s.jsx(Az,{size:18,className:"opacity-70"})}),s.jsx(bn,{value:"flex-1",className:"text-xs px-2 py-1",children:s.jsx(Oie,{size:18,className:"opacity-60 transform -scale-y-100"})}),s.jsx(bn,{value:"flex-nowrap",className:"text-xs px-2 py-1",children:s.jsx(Use,{size:18,className:"opacity-60"})}),s.jsx(bn,{value:"grid-cols-".concat(Ce),className:"text-xs px-2 py-1",children:s.jsx(K4,{size:18,className:"opacity-60",onClick:pt=>{pt.stopPropagation(),N({updatedItem:{layout:"grid-cols-".concat(Ce>3?1:Ce+1),itemId:e.id}})}})})]}),be&&s.jsx(lt,{title:j("Number of columns",{ns:"dashboard"}),onClick:()=>{N({updatedItem:{layout:"grid-cols-".concat(Ce>3?1:Ce+1),itemId:e.id}})},variant:"outline",className:"bg-white border border-white dark:border-slate-600 dark:bg-slate-600 cursor-pointer px-1.5 ml-1",children:s.jsx(J,{className:"font-mono text-slate-400 font-semibold",children:Ce})})]})})})}),s.jsx(ye,{variant:"light",title:"".concat(_(e.id)?j("Done",{ns:"common"}):""),onClick:()=>{if(Jl.value){Vn.value=!0;return}qd()},className:"px-2 text-blue-500 animate-in fade-in bg-gray-50 hover:bg-grey-100 cursor-pointer opacity-90 hover:opacity-100 hover:text-blue-600",children:_(e.id)?s.jsx($t,{size:19}):s.jsxs(s.Fragment,{children:[s.jsx($t,{size:19,className:"mr-1"}),j("Done",{ns:"common"})]})})]})]})]})]})}const Y2=p.memo(yW);function Ske({board:e,isDragPreview:t,isDark:r,isSubBoard:n,isHistoryDragActive:a,dragOverBoardId:o,onResizeCallBack:i,panelHeight:c,currentTabLayout:u,selectedItemIds:f,showDetailsItem:h,setShowDetailsItem:m,order:v,isLastBoard:S,setSelectedItemId:w}){return s.jsx(Cke,{defaultSize:50,isCollapsible:!1,collapsedSize:6,minSize:6,id:e.id.toString(),order:v,className:"board-panel_tour",onResize:g=>{i==null||i(g)},hasResizeHandle:!t,isLastPanel:S,children:s.jsx(Y2,{board:e,boardColor:e.color,order:v,panelHeight:c,isHistoryDragActive:a,dragOverBoardId:o,currentTabLayout:u,isSubBoard:n,selectedItemIds:f,setSelectedItemId:w,showDetailsItem:h,setShowDetailsItem:m,isDark:r,isDragPreview:t},e.id)})}const wA=p.memo(Ske);function jke({children:e}){return e}function Eke(e,t){const r=e.length,n=Math.ceil(r/t),a=Array.from({length:t},()=>[]);return e.forEach((o,i)=>{const c=Math.min(Math.floor(i/n),t-1);a[c].push(o)}),a}var Ko=(e=>(e.FOLDER="folder",e.SEPARATOR="separator",e.ITEM="item",e.DISABLED="disabled",e))(Ko||{}),Fi=(e=>(e.TAB="tab",e.BOARD="board",e.CLIP="clip",e))(Fi||{});function Nke(e){return s.jsx("svg",{viewBox:"0 0 25 25",className:e.className,xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.2626 3.26045C7.38219 2.13044 8.33828 1.25 9.5 1.25H14.5C15.6617 1.25 16.6178 2.13044 16.7374 3.26045C17.5005 3.27599 18.1603 3.31546 18.7236 3.41895C19.4816 3.55818 20.1267 3.82342 20.6517 4.34835C21.2536 4.95027 21.5125 5.70814 21.6335 6.60825C21.75 7.47522 21.75 8.57754 21.75 9.94513V16.0549C21.75 17.4225 21.75 18.5248 21.6335 19.3918C21.5125 20.2919 21.2536 21.0497 20.6517 21.6517C20.0497 22.2536 19.2919 22.5125 18.3918 22.6335C17.5248 22.75 16.4225 22.75 15.0549 22.75H8.94513C7.57754 22.75 6.47522 22.75 5.60825 22.6335C4.70814 22.5125 3.95027 22.2536 3.34835 21.6517C2.74643 21.0497 2.48754 20.2919 2.36652 19.3918C2.24996 18.5248 2.24998 17.4225 2.25 16.0549V9.94513C2.24998 8.57754 2.24996 7.47522 2.36652 6.60825C2.48754 5.70814 2.74643 4.95027 3.34835 4.34835C3.87328 3.82342 4.51835 3.55818 5.27635 3.41895C5.83973 3.31546 6.49952 3.27599 7.2626 3.26045ZM7.26496 4.76087C6.54678 4.7762 5.99336 4.81234 5.54735 4.89426C4.98054 4.99838 4.65246 5.16556 4.40901 5.40901C4.13225 5.68577 3.9518 6.07435 3.85315 6.80812C3.75159 7.56347 3.75 8.56458 3.75 10V16C3.75 17.4354 3.75159 18.4365 3.85315 19.1919C3.9518 19.9257 4.13225 20.3142 4.40901 20.591C4.68577 20.8678 5.07435 21.0482 5.80812 21.1469C6.56347 21.2484 7.56458 21.25 9 21.25H15C16.4354 21.25 17.4365 21.2484 18.1919 21.1469C18.9257 21.0482 19.3142 20.8678 19.591 20.591C19.8678 20.3142 20.0482 19.9257 20.1469 19.1919C20.2484 18.4365 20.25 17.4354 20.25 16V10C20.25 8.56458 20.2484 7.56347 20.1469 6.80812C20.0482 6.07434 19.8678 5.68577 19.591 5.40901C19.3475 5.16556 19.0195 4.99838 18.4527 4.89426C18.0066 4.81234 17.4532 4.7762 16.735 4.76087C16.6058 5.88062 15.6544 6.75 14.5 6.75H9.5C8.34559 6.75 7.39424 5.88062 7.26496 4.76087ZM9.5 2.75C9.08579 2.75 8.75 3.08579 8.75 3.5V4.5C8.75 4.91421 9.08579 5.25 9.5 5.25H14.5C14.9142 5.25 15.25 4.91421 15.25 4.5V3.5C15.25 3.08579 14.9142 2.75 14.5 2.75H9.5ZM6.25 10.5C6.25 10.0858 6.58579 9.75 7 9.75H17C17.4142 9.75 17.75 10.0858 17.75 10.5C17.75 10.9142 17.4142 11.25 17 11.25H7C6.58579 11.25 6.25 10.9142 6.25 10.5ZM7.25 14C7.25 13.5858 7.58579 13.25 8 13.25H16C16.4142 13.25 16.75 13.5858 16.75 14C16.75 14.4142 16.4142 14.75 16 14.75H8C7.58579 14.75 7.25 14.4142 7.25 14ZM8.25 17.5C8.25 17.0858 8.58579 16.75 9 16.75H15C15.4142 16.75 15.75 17.0858 15.75 17.5C15.75 17.9142 15.4142 18.25 15 18.25H9C8.58579 18.25 8.25 17.9142 8.25 17.5Z",fill:"currentColor"})})}const _ke=({selectedItemIds:e,hasPinnedItemsInSelected:t,hasFavoriteItemsInSelected:r,setSelectedItemIds:n})=>{const{deleteItemsByIds:a}=Dge(),{t:o}=Tt(),[,,,i]=Jf({}),[,,c]=Qf({}),{updateItemByIds:u}=jge(),{copyPasteSequencePinnedDelay:f,setCopyPasteSequencePinnedDelay:h,copyPasteSequenceIsReversOrder:m,setCopyPasteSequenceIsReversOrder:v}=dt(pn),{currentCollectionId:S}=dt(Tn);return s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,className:"animate-in fade-in",children:s.jsxs(ye,{variant:"ghost",size:"mini",className:"ml-1 mr-0.5 px-1.5 py-1 w-[32px] h-[32px] bg-slate-100 dark:bg-slate-900/90 dark:hover:bg-slate-800 bg-opacity-80 text-secondary-foreground/50 cursor-pointer !mt-0 hover:bg-opacity-100 relative rounded-sm",children:[s.jsx(Nke,{className:"w-[24px]",lightingColor:"white"}),e.length>0&&s.jsx(lt,{variant:"slate",className:"absolute left-[-12px] top-[-12px]",children:e.length})]})}),s.jsxs(Ar,{className:"w-52",sideOffset:10,align:"center",shadow:"shadow-[0_-2px_12px_0_rgb(0,0,0,0.1)]",children:[s.jsxs(He,{disabled:e.length===0,onClick:()=>{n([])},children:[s.jsx(D6,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:o("Deselect All",{ns:"common"})})]}),s.jsx(tr,{}),s.jsxs(He,{disabled:e.length===0,onClick:()=>pe(void 0,null,function*(){yield c([...e]),n([])}),children:[s.jsx(pa,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:o("Sequence Copy",{ns:"common"})})]}),s.jsxs(He,{disabled:e.length===0,onClick:()=>pe(void 0,null,function*(){yield i([...e]),n([])}),children:[s.jsx(js,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:o("Sequence Paste",{ns:"common"})})]}),s.jsxs(Xs,{children:[s.jsx(zs,{children:s.jsxs(me,{className:"flex w-full",children:[s.jsx(eue,{className:"mr-2 h-4 w-4"}),s.jsx(J,{children:o("Next Delay",{ns:"common"})}),s.jsxs(lt,{variant:"slate",className:"ml-auto py-0 bg-slate-200 text-slate-500",children:[f,"s"]})]})}),s.jsxs(Fs,{className:"w-48",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:o("Sequence Next Delay",{ns:"common"})}),s.jsx(rr,{checked:f===1,onSelect:w=>{w.preventDefault(),h(1)},children:s.jsxs(J,{children:["1 ",o("second",{ns:"common"})]})}),s.jsx(rr,{checked:f===2,onSelect:w=>{w.preventDefault(),h(2)},children:s.jsxs(J,{children:["2 ",o("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:f===3,onSelect:w=>{w.preventDefault(),h(3)},children:s.jsxs(J,{children:["3 ",o("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:f===4,onSelect:w=>{w.preventDefault(),h(4)},children:s.jsxs(J,{children:["4 ",o("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:f===5,onSelect:w=>{w.preventDefault(),h(5)},children:s.jsxs(J,{children:["5 ",o("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:f===10,onSelect:w=>{w.preventDefault(),h(10)},children:s.jsxs(J,{children:["10 ",o("seconds",{ns:"common"})]})})]})]}),s.jsxs(Xs,{children:[s.jsx(zs,{children:s.jsxs(me,{className:"flex w-full",children:[s.jsx(pce,{className:"mr-2 h-4 w-4"}),s.jsxs(J,{children:[o("Reverse Order",{ns:"common"}),"..."]}),s.jsx(lt,{className:"ml-auto py-0 bg-slate-200 text-slate-500",variant:"slate",children:m?"Yes":"No"})]})}),s.jsxs(Fs,{className:"w-48",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:s.jsx(J,{children:o("Sequence Reverse Order",{ns:"common"})})}),s.jsx(rr,{checked:!m,onSelect:w=>{w.preventDefault(),v(!1)},children:s.jsx(J,{children:o("No",{ns:"common"})})}),s.jsx(rr,{checked:m,onSelect:w=>{w.preventDefault(),v(!0)},children:s.jsx(J,{children:o("Yes",{ns:"common"})})})]})]}),s.jsx(tr,{}),s.jsxs(He,{onClick:()=>{u({updatedData:{isPinned:!0},itemIds:e}),n([])},children:[s.jsx(Cc,{className:"mr-2 h-4 w-4"}),s.jsx(J,{children:o("Pin Selected",{ns:"common"})})]}),t&&s.jsxs(He,{onClick:()=>{u({updatedData:{isPinned:!1},itemIds:e}),n([])},children:[s.jsx(Vu,{className:"mr-2 h-4 w-4"}),s.jsx(J,{children:o("UnPin Selected",{ns:"common"})})]}),s.jsx(tr,{}),s.jsxs(He,{onClick:()=>{u({updatedData:{isFavorite:!0},itemIds:e}),n([])},children:[s.jsx(Yf,{className:"mr-2 h-4 w-4"}),s.jsx(J,{children:o("Star Selected",{ns:"common"})})]}),r&&s.jsxs(He,{onClick:()=>{u({updatedData:{isFavorite:!1},itemIds:e}),n([])},children:[s.jsx(Uw,{className:"mr-2 h-4 w-4"}),s.jsx(J,{children:o("Remove Selected Star",{ns:"common"})})]}),s.jsx(tr,{}),s.jsxs(He,{disabled:e.length===0,onClick:w=>pe(void 0,null,function*(){Yl.value?(yield a({itemIds:e,collectionId:S}),setTimeout(()=>{n([]),Yl.value=!1},400)):(w.preventDefault(),Yl.value=!0,setTimeout(()=>{Yl.value=!1},3e3))}),children:[s.jsx(xn,{className:"mr-2 h-4 w-4 ".concat(Yl.value?"text-red-500":"")}),s.jsxs(me,{className:"text-red-400",children:[s.jsx(J,{className:"mr-1 ".concat(Yl.value?"!text-red-500":""),children:Yl.value?o("Click to Confirm",{ns:"common"}):o("Delete",{ns:"common"})}),e.length>0&&s.jsx(s.Fragment,{children:Yl.value?s.jsx(lt,{variant:"destructive",className:"bg-red-500 ml-1 py-0 font-semibold",children:e.length}):s.jsx(lt,{variant:"secondary",className:"bg-slate-200 text-slate-500 ml-1 py-0 font-semibold",children:e.length})})]})]})]})]})};function Tke({tabId:e}){const{t}=Tt();return e==null?null:s.jsx(R1,{children:s.jsxs(Xm,{children:[s.jsxs(St,{onClick:()=>{qi.value=!0},children:[t("Organize Layout",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(Rle,{size:15})})]}),s.jsx(Fr,{}),s.jsxs(St,{onClick:()=>{pp.value=!0},children:[t("Edit Tabs",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(rie,{size:15})})]})]})})}const{CLIP:Pke,TAB:kA,BOARD:Mke}=Fi;function CA({totalTabs:e,onCreateNewItemType:t,isFirstTab:r}){const{t:n}=Tt(),a=th();return s.jsxs(Ir,{defaultOpen:r,modal:!1,children:[s.jsx(Or,{className:"mr-1.5 rounded-sm flex",asChild:!0,children:r?s.jsx(Q,{id:"dashboard-tabs-create-button_tour",className:"flex w-20 group flex-row items-center cursor-pointer justify-center border-2 border-dashed rounded-md p-1.5 hover:border-blue-400 hover:dark:border-blue-500 bg-slate-100 dark:bg-slate-800/50 text-slate-500 dark:border-slate-500 dark:text-slate-300 border-slate-300",children:s.jsx(Fn,{size:20,className:"group-hover:text-blue-400 dark:group-hover:text-blue-300 text-slate-400"})}):s.jsx(ye,{variant:"ghost",id:"dashboard-tabs-create-button_tour",size:"mini",className:"ml-1.5 mr-1 px-1 py-1 w-[30px] bg-slate-100 hover:bg-opacity-100 bg-opacity-80 dark:bg-gray-500/70 dark:hover:bg-slate-500 text-secondary-foreground/50 cursor-pointer !mt-0 flex",children:s.jsx(Be,{text:"".concat(n("Add New",{ns:"contextMenus"})," ..."),isDisabled:r,delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(Fn,{size:20})})})}),s.jsxs(Ar,{align:r?"center":"end",alignOffset:-28,sideOffset:r?12:8,children:[!r&&s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{!a&&e&&e>=2?za.value=!0:t(kA)},children:[s.jsx(hm,{size:16,className:"mr-2"}),s.jsx("span",{children:n("Add Tab",{ns:"contextMenus"})}),e&&e>=2&&s.jsx(Al,{})]}),!r&&s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{t(Mke)},children:[s.jsx(Av,{size:16,className:"mr-2"}),s.jsx("span",{children:n("Add Board",{ns:"contextMenus"})})]}),r?s.jsxs(s.Fragment,{children:[s.jsx(He,{disabled:!0,className:"flex justify-center py-0.5 dark:text-gray-400 text-gray-500",children:n("Dashboard",{ns:"contextMenus"})}),s.jsx(tr,{}),s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{t(kA)},children:[s.jsx(hm,{size:16,className:"mr-2"}),s.jsx("span",{children:n("Add First Tab",{ns:"contextMenus"})})]})]}):s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{t(Pke)},children:[s.jsx($6,{size:16,className:"mr-2"}),s.jsx("span",{children:n("Add Clip",{ns:"contextMenus"})})]})]})]})}const Zd=1,ev=50;function Dke({tabs:e,selectedItemIds:t,setSelectedItemIds:r,pinnedItemIds:n,currentTab:a,setCurrentTab:o}){var A,M;const{clipboardHistory:i}=dt(pi),{t:c}=Tt(),{updateTabById:u}=MB(),f=p.useRef(null),h=p.useRef(null),m=We(!1),{updateMovedClips:v}=mk();p.useEffect(()=>{fa.value&&(fa.value=null)},[]);const{createNewItem:S}=gk(kl.value===null),{currentCollectionId:w,clipItems:g}=dt(Tn),b=(A=e.find(D=>D.tabId===a))==null?void 0:A.tabColor;function C(D,L=null){return pe(this,null,function*(){if(fa.value=D,D===Fi.BOARD){const z=os(g,a,L?L==null?void 0:L.toString():null),H={name:c("New Board",{ns:"dashboard"}),isBoard:!0,tabId:a,showDescription:!0,color:b,borderWidth:0,parentId:L,collectionId:w,orderNumber:0},V=yield S({item:H});z.sort((q,_)=>q.orderNumber-_.orderNumber).unshift(ee(R({},H),{id:V,layout:"",type:"board",color:null,showDescription:!0,layoutItemsMaxWidth:"",layoutSplit:1,description:""}));const I=z.map((q,_)=>({itemId:q.id,parentId:L,tabId:q.tabId,collectionId:w,orderNumber:_}));v({updatedMoveClips:I}),_f.value=V}else D===Fi.CLIP&&(fa.value=D)})}function j(D,L=null){return pe(this,null,function*(){return new Promise((z,H)=>pe(this,null,function*(){var Y,B,F,G,X,se,re,ie,oe,ae,fe,le,ue,be,Ce,Pe,Ee,Oe;L||H("No board id");const V=D?i.find(Ve=>Ve.historyId===D):null,I=V==null?void 0:V.isImage,q=(Y=g.find(Ve=>Ve.itemId===L))==null?void 0:Y.color,_={historyId:D,name:V!=null&&V.value?V.value.substring(0,50).replace(/\n\t/g,"").replace(/\s+/g," ").trim():I?"".concat(c("Image size",{ns:"common"})," (").concat(V==null?void 0:V.imageWidth,"x").concat(V==null?void 0:V.imageHeight,")"):c("New Clip",{ns:"dashboard"}),isClip:!0,value:(B=Rd.value)!=null?B:"",description:null,detectedLanguage:(F=V==null?void 0:V.detectedLanguage)!=null?F:null,isImage:(G=V==null?void 0:V.isImage)!=null?G:!1,imageDataUrl:(X=V==null?void 0:V.imageDataUrl)!=null?X:null,imagePathFullRes:(se=V==null?void 0:V.imagePathFullRes)!=null?se:null,imageHeight:(re=V==null?void 0:V.imageHeight)!=null?re:null,imageWidth:(ie=V==null?void 0:V.imageWidth)!=null?ie:null,imagePreviewHeight:(oe=V==null?void 0:V.imagePreviewHeight)!=null?oe:null,isLink:(ae=V==null?void 0:V.isLink)!=null?ae:!1,links:(fe=V==null?void 0:V.links)!=null?fe:null,isImageData:(le=V==null?void 0:V.isImageData)!=null?le:!1,isMasked:(ue=V==null?void 0:V.isMasked)!=null?ue:!1,isVideo:(be=V==null?void 0:V.isVideo)!=null?be:!1,isCode:(Ce=V==null?void 0:V.isCode)!=null?Ce:!1,isText:(Pe=V==null?void 0:V.isText)!=null?Pe:!1,hasEmoji:(Ee=V==null?void 0:V.hasEmoji)!=null?Ee:!1,hasMaskedWords:(Oe=V==null?void 0:V.hasMaskedWords)!=null?Oe:!1,hasMultiLineCopy:!1,tabId:a,showDescription:!1,color:q,borderWidth:2,parentId:L,collectionId:w,createdAt:0,orderNumber:0},$=yield S({item:_});Rd.value&&(Rd.value=null),Wu.value=L;const U=os(g,a,L==null?void 0:L.toString());U.sort((Ve,ct)=>Ve.orderNumber-ct.orderNumber).unshift(ee(R({},_),{id:$,type:"clip"}));const K=U.map((Ve,ct)=>({itemId:Ve.id,parentId:Ve.parentId,tabId:Ve.tabId,collectionId:w,orderNumber:ct}));setTimeout(()=>pe(this,null,function*(){yield v({updatedMoveClips:K}),z($)}),600)}))})}p.useEffect(()=>{function D(){return pe(this,null,function*(){var z;let L=null;if(kl.value&&!Wu.value){for(const H of(z=dm.value)!=null?z:[null])L=yield j(H,kl.value);setTimeout(()=>{Wu.value=null,kl.value=null,dm.value=null,Rd.value=null,La.value=L},300)}})}D()},[kl.value]),p.useEffect(()=>{function D(){return pe(this,null,function*(){yield C(Fi.BOARD,wg.value),tb.value=!1,wg.value=null})}(wg.value||tb.value)&&D()},[wg.value,tb.value]);const{tabLayoutSplit:E,tabLayout:N}=(M=e.find(D=>D.tabId===a))!=null?M:{},T=e.length===0&&!fa.value&&!pp.value;return s.jsxs(s.Fragment,{children:[s.jsxs(Qi,{className:"flex ".concat($i(b)," rounded-lg py-0 mx-1.5 ").concat(T?"flex-col items-center justify-center pb-2 mb-1":"mb-3 mr-3"),onValueChange:D=>{o(D)},value:a,children:[s.jsxs(Ym,{onOpenChange:D=>{m.value=D},children:[s.jsxs(Zm,{ref:h,className:"flex w-full",disabled:T,children:[!T&&s.jsx(me,{className:"justify-start dashboard-tabs w-full",id:"dashboard-tabs_tour",children:s.jsx(en,{style:{width:"97%"},children:pp.value?s.jsxs(Ho,{className:"bg-transparent pr-0.5",children:[e.map(({tabId:D,tabName:L,tabIsHidden:z,tabColor:H,tabOrderNumber:V})=>D&&!z&&s.jsx(Ake,{tabColor:H,tabId:D,tabName:L||"".concat(c("Tab",{ns:"dashboard"})," ").concat(V+1),currentTab:a},D)),fa.value===Fi.TAB?s.jsx(SA,{newTabOrderNumber:e.length+1}):s.jsx(ye,{variant:"outline",size:"mini",title:c("Add a Tab",{ns:"dashboard"}),className:"px-1.5 ml-1 h-8 border-0 opacity-80 hover:opacity-100 hover:text-gray-500 dark:text-gray-200 bg-gray-100 dark:bg-gray-600",onClick:()=>{C(Fi.TAB)},children:s.jsx(Fn,{size:18})})]}):s.jsxs(Ho,{className:"bg-transparent pr-0.5",children:[e.map(({tabId:D,tabName:L,tabIsHidden:z,tabOrderNumber:H})=>D&&!z&&s.jsx(Rke,{tabId:D,currentTabColor:b!=null?b:"slate",tabOrderNumber:H,tabName:L||"".concat(c("Tab",{ns:"dashboard"})," ").concat(H+1),currentTab:a},D)),fa.value===Fi.TAB&&s.jsx(SA,{newTabOrderNumber:e.length+1})]})})}),s.jsx(Q,{className:"flex flex-row p-1 !mt-0 mr-0.5",children:qi.value?s.jsxs(s.Fragment,{children:[E&&s.jsxs(me,{className:"mr-2",children:[E>1&&s.jsx(lt,{onClick:()=>{u({updatedTab:{tabLayoutSplit:E>3?1:E+1,tabId:a}})},variant:"outline",className:"bg-white border border-white dark:bg-slate-500 dark:border-slate-500 cursor-pointer px-1.5 mr-1",children:s.jsx(J,{className:"font-mono text-slate-400 font-semibold",children:E})}),s.jsxs(ye,{variant:"light",title:c("Board Layout Split",{ns:"dashboard"}),onClick:()=>{u({updatedTab:{tabLayoutSplit:E>3?1:E+1,tabId:a}})},className:"px-1 py-2 bg-gray-50 dark:bg-slate-600/90 cursor-pointer opacity-80 hover:opacity-100 hover:text-grey-500 ".concat(E===4?"w-12":"w-8"," h-8"),children:[E===1&&s.jsx(tce,{size:18,className:"opacity-70"}),E===2&&s.jsx(mie,{size:18,className:"opacity-70"}),E===3&&s.jsx(gie,{size:18,className:"opacity-70"}),E===4&&s.jsxs(s.Fragment,{children:[s.jsx(K4,{size:18,className:"opacity-70"}),s.jsx(K4,{size:18,className:"opacity-70 ml-[-2px]"})]})]})]}),s.jsxs(me,{className:"mr-2",children:[s.jsx(lt,{onClick:()=>{u({updatedTab:{tabLayoutSplit:E,tabLayout:N==="full"?"auto":N==="auto"||!N?"full":"auto",tabId:a}})},variant:"outline",className:"bg-white border border-white dark:bg-slate-500 dark:border-slate-500 cursor-pointer px-1.5 mr-1",children:s.jsx(J,{className:"font-mono text-slate-400 font-semibold",children:N||"auto"})}),s.jsxs(ye,{variant:"light",title:c("Board Layout Height",{ns:"dashboard"}),onClick:()=>{u({updatedTab:{tabLayoutSplit:E,tabLayout:N==="full"||!N?"auto":N==="auto"?"full":"auto",tabId:a}})},className:"px-1 py-2 bg-gray-50 dark:bg-slate-600/90 cursor-pointer opacity-80 hover:opacity-100 hover:text-grey-500 w-8 h-8",children:[(N==="auto"||!N)&&s.jsx(Az,{size:18,className:"opacity-70"}),N==="full"&&s.jsx(ma,{size:18,className:"opacity-70"})]})]}),s.jsxs(ye,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80",onClick:()=>{qi.value=!1,Ki.value=null},children:[s.jsx(J,{className:"whitespace-nowrap",children:c("Done Organize",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto pl-1.5",children:s.jsx($t,{size:15})})]})]}):pp.value?s.jsxs(ye,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80",onClick:()=>{pp.value=!1,Ki.value=null},children:[s.jsx(J,{className:"whitespace-nowrap",children:c("Done Edit Tabs",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto pl-1.5",children:s.jsx($t,{size:15})})]}):fa.value===Io?s.jsxs(ye,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80",onClick:()=>{fa.value=null,Rd.value=null},children:[s.jsx(J,{className:"whitespace-nowrap",children:c("Done Create Clip",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto pl-1.5",children:s.jsx($t,{size:15})})]}):jv.value!=null||Ss.value!=null?s.jsxs(ye,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80",onClick:()=>{jv.value=null,Ss.value=null},children:[s.jsx(J,{className:"whitespace-nowrap",children:c("Done Edit",{ns:"dashboard"})}),s.jsx("div",{className:"ml-auto pl-1.5",children:s.jsx($t,{size:15})})]}):s.jsxs(s.Fragment,{children:[t.length>0&&s.jsx(Q,{className:"animate-in fade-in duration-300",children:s.jsx(_ke,{selectedItemIds:t,hasPinnedItemsInSelected:t.some(D=>n.includes(D)),hasFavoriteItemsInSelected:t.some(D=>{var L;return(L=g.find(z=>z.itemId===D))==null?void 0:L.isFavorite}),setSelectedItemIds:r})}),e.length>0&&s.jsxs(s.Fragment,{children:[s.jsx(CA,{totalTabs:e.length,onCreateNewItemType:C,isFirstTab:!1}),s.jsx(ye,{variant:"ghost",size:"mini",id:"dashboard-tabs-context-menu_tour",className:"px-1 py-1 text-secondary-foreground/50 cursor-pointer !mt-0 flex w-[30px]",onClick:()=>{var z,H,V;const D=(z=f==null?void 0:f.current)==null?void 0:z.getBoundingClientRect().x,L=(H=f==null?void 0:f.current)==null?void 0:H.getBoundingClientRect().y;(V=h==null?void 0:h.current)==null||V.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:D&&D+20,clientY:L&&L+20}))},ref:f,children:s.jsx(Be,{text:c("Tabs Menu",{ns:"dashboard"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(sl,{size:20})})})]})]})})]}),s.jsx(Tke,{tabId:a})]}),T&&s.jsx(CA,{onCreateNewItemType:C,isFirstTab:!0})]}),T&&s.jsx(J,{className:"text-sm mt-2 !text-slate-500 items-center justify-center mx-1.5 mr-3",children:c("Create Tab",{ns:"dashboard"})})]})}function SA({newTabOrderNumber:e}){const{t}=Tt(),{createNewTab:r}=Ige(),{currentCollectionId:n}=dt(Tn),a=We(!1),o=We(""),i=We(null);return s.jsxs(me,{className:"ml-1.5",children:[s.jsx(Q,{className:"w-[22px] mr-1",children:s.jsx(Pk,{color:i.value,type:Sl,itemId:null,onColorChange:c=>{i.value=c}})}),s.jsx(Be,{open:a.value,text:o.value.length<=Zd?t("Too short",{ns:"dashboard"}):t("Too long",{ns:"dashboard"}),side:"bottom",className:"bg-rose-50 text-red-500 dark:bg-rose-900 dark:text-red-50 border-rose-100 dark:border-rose-950 text-base font-semibold border !px-2 !py-1.5",children:s.jsx(er,{small:!0,autoFocus:!0,className:"bg-white rounded-md text-sm font-semibold max-w-[200px] min-w-[140px]",placeholder:t("Enter tab name",{ns:"dashboard"}),onKeyDown:c=>pe(this,null,function*(){c.stopPropagation(),c.key==="Enter"&&(o.value.length<=Zd||o.value.length>ev)?a.value=!0:c.key==="Enter"&&(yield r({tab:{tabName:o.value,tabColor:i.value,collectionId:n,tabOrderNumber:e}}))}),value:o.value,onChange:c=>{(a.value&&c.target.value.length>Zd&&c.target.value.length<=ev||a.value&&c.target.value.length===0)&&(a.value=!1),o.value=c.target.value}})}),s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:text-blue-300 border-0",onClick:()=>pe(this,null,function*(){a.value||(yield r({tab:{tabName:o.value,tabColor:i.value,collectionId:n,tabOrderNumber:e}}))}),children:s.jsx(Be,{text:t("Create tab",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx($t,{size:18})})}),s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{fa.value=null},children:s.jsx(Be,{text:t("Cancel",{ns:"dashboard"}),isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(br,{size:18})})})]})}function Ake({tabId:e,tabName:t,tabColor:r,currentTab:n}){const{t:a}=Tt(),o=We(!1),i=We(""),c=We(!1);if(!t)return null;p.useEffect(()=>{c.value&&(c.value=!1)},[n]);const u=We(!1),f=We(!1),{tabHasBoards:h,setCurrentTab:m}=dt(Tn),{deleteItemById:v}=Oge(),{updateTabById:S}=MB();return s.jsx(me,{className:"inline-flex items-center whitespace-nowrap rounded-sm px-1.5 pr-2 ".concat(c.value?"":"py-1.5"," ").concat(n===e&&!c.value?"bg-white dark:bg-gray-900/60":""," ").concat(f.value?"bg-red-100/80 dark:bg-red-900/70":""," ").concat(u.value?"bg-yellow-100/80 dark:bg-yellow-900/70":""," text-sm font-medium ring-offset-background transition-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset disabled:pointer-events-none disabled:opacity-50 justify-start max-w-[260px]"),children:c.value?s.jsxs(s.Fragment,{children:[s.jsx(Be,{open:o.value,asChild:!0,text:i.value.length<=Zd?a("Too short",{ns:"dashboard"}):a("Too long",{ns:"dashboard"}),side:"bottom",className:"bg-rose-50 text-red-500 dark:bg-rose-900 dark:text-red-50 border-rose-100 dark:border-rose-950 text-base font-semibold border !px-2 !py-1.5",children:s.jsx(er,{small:!0,autoFocus:!0,className:"bg-white rounded-md text-sm font-semibold max-w-[200px] min-w-[120px]",placeholder:a("Enter tab name",{ns:"dashboard"}),onKeyDown:w=>pe(this,null,function*(){w.stopPropagation(),w.key==="Escape"?c.value=!1:w.key==="Enter"&&(i.value.length<=Zd||i.value.length>ev)?o.value=!0:w.key==="Enter"&&(yield S({updatedTab:{tabName:i.value,tabId:e}}),setTimeout(()=>{c.value=!1},200))}),defaultValue:t,onChange:w=>{o.value&&w.target.value.length>Zd&&w.target.value.length<=ev||o.value&&w.target.value.length===0?o.value=!1:(w.target.value.length<=Zd||w.target.value.length>ev)&&(o.value=!0),i.value=w.target.value}})}),s.jsx(Be,{text:a("Rename",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:text-blue-300 border-0",onClick:()=>pe(this,null,function*(){o.value||(yield S({updatedTab:{tabName:i.value,tabId:e}}),setTimeout(()=>{c.value=!1},200))}),children:s.jsx($t,{size:18})})})}),s.jsx(Be,{text:a("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{c.value=!1},children:s.jsx(br,{size:18})})})})]}):s.jsxs(s.Fragment,{children:[s.jsx(Pk,{color:r,itemId:e,onOpen:()=>{m(e)},updateById:S,type:Sl}),s.jsx(Q,{className:"text-ellipsis overflow-hidden first-letter:uppercase border-dashed border-b border-gray-400",onClick:w=>{w.preventDefault(),w.stopPropagation,c.value=!0},title:t,children:t}),s.jsx(Q,{onClick:()=>{c.value=!0},title:a("Edit tab name",{ns:"dashboard"}),className:"ml-0.5 pr-0 pl-1.5 py-0 text-primary/50 h-auto cursor-pointer relative opacity-80 hover:opacity-100",children:s.jsx(Xu,{size:14})}),s.jsxs(xa,{defaultOpen:!1,open:f.value||u.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(Q,{className:"ml-0.5 pr-0 pl-1.5 py-0 text-primary/50 h-auto cursor-pointer opacity-70 hover:opacity-100 hover:text-red-500",title:a("Delete tab",{ns:"dashboard"}),onClick:()=>{h(e)?u.value=!0:f.value=!0},children:s.jsx(xn,{size:14})})}),s.jsx(ea,{sideOffset:16,align:"center",className:"p-3 ".concat(u.value?"bg-amber-100 border-amber-200 dark:bg-yellow-800 dark:border-gray-900":"bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950"," w-60"),onEscapeKeyDown:()=>{f.value=!1,u.value=!1},onPointerDownOutside:()=>{f.value=!1,u.value=!1},children:u.value?s.jsxs(me,{className:"flex-col",children:[s.jsx(J,{justify:"left",size:"md",weight:"bold",color:"waning",children:a("Tab is Not Empty",{ns:"dashboard"})}),s.jsx(kr,{h:1}),s.jsx(J,{color:"black",size:"sm",children:a("You'll need to clear this tab of all boards before it can be deleted.",{ns:"dashboard"})}),s.jsx(kr,{h:3}),s.jsx(ye,{variant:"secondary",size:"mini",className:"py-1 px-4 bg-gray-200 dark:bg-gray-700 dark:hover:bg-gray-700/80",onClick:()=>{u.value=!1},children:a("Got it",{ns:"common"})})]}):f.value&&s.jsxs(me,{className:"flex-col",children:[s.jsx(J,{color:"black",size:"sm",className:"!inline-block",children:s.jsx(ss,{i18nKey:"Are you sure you want to delete {{tabName}} tab?",values:{tabName:t},ns:"dashboard"})}),s.jsx(kr,{h:3}),s.jsxs(me,{children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 dark:hover:text-gray-400 hover:text-gray-600 mr-3 border-gray-100 hover:border-gray-200 dark:bg-gray-900 dark:border-gray-900 dark:hover:border-gray-900 dark:hover:bg-gray-800",onClick:()=>{f.value=!1},children:s.jsx("div",{children:a("Cancel",{ns:"common"})})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-red-100 hover:bg-opacity-80 hover:bg-red-200 text-red-500 hover:text-red-600 border-red-200 dark:bg-red-900 dark:border-red-900 dark:hover:border-red-900 dark:hover:bg-red-800 dark:text-red-300 dark:hover:text-red-200",onClick:()=>pe(this,null,function*(){yield v({tabId:e}),pp.value=!1,Ki.value=null}),children:a("Delete Tab",{ns:"dashboard"})})]})]})})]})]})},e)}function Rke({tabId:e,tabName:t,currentTabColor:r}){const{setNodeRef:n,listeners:a,transform:o,transition:i,isDragging:c}=Iw({id:e,animateLayoutChanges:()=>!1,data:{type:Sl,tabId:e}}),u={transition:i,transform:zo.Translate.toString(o)},f=r!=="slate"?"dark:data-[state=active]:bg-".concat(r,"-700"):"dark:data-[state=active]:bg-slate-600";return s.jsx(bn,ee(R({value:e,style:u,asChild:c},qi.value?{}:a),{ref:n,className:"".concat(f," data-[state=active]:bg-").concat(r,"-50 ").concat(c||Zl.value===e?"border-2 border-dashed border-blue-400 py-1":"transition-none"),children:s.jsxs(me,{className:"justify-start max-w-[260px]",children:[s.jsx(Q,{className:"text-ellipsis overflow-hidden first-letter:uppercase",title:t,children:t}),(qi.value||c)&&s.jsx(Q,ee(R({},a),{className:"pr-0 pl-1.5 py-0 text-primary/50 h-auto cursor-grab relative",children:c?s.jsx(hz,{size:14}):s.jsx(S1,{size:14})}))]})}),e)}const Bs="board",Io="clip",Sl="tab";function Lke({historyDragActive:e,isDark:t,dragOverBoardId:r}){var Fe,nt,rt;ON();const{t:n}=Tt(),{isShowPinned:a,setIsShowPinned:o}=dt(_s),[i,c]=p.useState(null),[u,f]=p.useState(null),[h,m]=p.useState(null),v=p.useRef(null),S=p.useRef(null),{updateTabs:w}=Lge(),{invalidateCollectionWithClips:g,isCollectionWithClipsLoadingFinished:b,isCollectionWithClipsLoading:C}=$N(),{updateMovedClips:j}=mk(),{movePinnedClipUpDown:E}=Rge(),[,,,N]=Jf({}),[,,T]=Qf({}),[A,M]=p.useState([]),[D,L]=p.useState(!1),z=p.useRef(null),H=We(!1),V=We(!1),I=We(!1),q=We([]);p.useEffect(()=>{try{q.value=JSON.parse(localStorage.getItem("expandedPanels")||"[]")}catch(Ie){console.error("Failed to load expanded panels",Ie)}},[]),p.useEffect(()=>{try{localStorage.setItem("expandedPanels",JSON.stringify(q.value))}catch(Ie){console.error("Failed to save expanded panels",Ie)}},[q.value.length]);const _=p.useRef({}),$=p.useMemo(()=>{var Ie;return S!=null&&S.current&&((Ie=S==null?void 0:S.current)==null?void 0:Ie.getSize())===0?!1:V.value||H.value},[H.value,V.value,S==null?void 0:S.current]),U=p.useMemo(()=>ur.value,[ur.value]),{createNewItem:K}=gk(),{unPinAllClips:Y}=Age(),{updatePinnedClipsByIds:B}=PB(),{clipItems:F,pinnedClips:G,tabs:X,tabsLoaded:se,setCurrentTab:re,setTabsByOrder:ie,currentTab:oe,setClipItemsDebounced:ae,setClipItems:fe,currentCollectionId:le}=dt(Tn),{copyPasteSequencePinnedDelay:ue,setCopyPasteSequencePinnedDelay:be,copyPasteSequenceIsReversOrder:Ce,setCopyPasteSequenceIsReversOrder:Pe,isClipNotesHoverCardsEnabled:Ee,clipNotesHoverCardsDelayMS:Oe,clipNotesMaxHeight:Ve,clipNotesMaxWidth:ct}=dt(pn),gt=p.useMemo(()=>F.filter(({parentId:Ie,isBoard:$e,tabId:Ye})=>Ie===null&&$e&&Ye===oe).map(Ie=>Ie.itemId),[F]);p.useEffect(()=>{G.length===0&&(H.value=!1,V.value=!1)},[G]),p.useEffect(()=>{var Ie,$e;G.length>0?(Ie=S==null?void 0:S.current)==null||Ie.expand():($e=S==null?void 0:S.current)==null||$e.collapse()},[G,S]);const[Ke,Et]=p.useState(null),[Re,xt]=p.useState(null),ot=p.useCallback(we,[U,Ke,Re,F]),pt=p.useCallback(Ie=>{M($e=>$e.includes(Ie)?$e.filter(mt=>mt!==Ie):[...$e,Ie])},[M]),_t=b4(hp(Sv,{activationConstraint:{tolerance:100,delay:600}}),hp(Cv,{coordinateGetter:Aj})),ht=b4(hp(Sv,{activationConstraint:{tolerance:10,delay:60}}),hp(Cv,{coordinateGetter:Aj})),It=p.useMemo(()=>A.some(Ie=>G.some($e=>$e.id===Ie)),[A,G]),Ft=p.useMemo(()=>F.length>0?os(F,oe):[],[F,oe]),Vt={keyframes({transform:Ie}){return D||Zl.value||u?[{opacity:.7},{opacity:0}]:[{opacity:1,transform:zo.Transform.toString(Ie.initial)},{opacity:0,transform:zo.Transform.toString(R({},Ie.final))}]},easing:"ease-out",duration:D?0:300,sideEffects({active:Ie,dragOverlay:$e}){Re||Zl.value||u?$e.node.animate([{opacity:.7},{opacity:0}],{duration:300,easing:df.easing}):Ie.node.animate([{opacity:0},{opacity:1}],{duration:df.duration,easing:df.easing})}},Ge=p.useMemo(()=>F.filter(({isClip:Ie})=>Ie).map(Ie=>Ie.itemId),[F,Re]),Zt=p.useCallback(Ie=>{var qt;const $e=UQ(Ie),Ye=$e.length>0?$e:v6(Ie);let mt=g6(Ye,"id");if(mt!=null){if(mt in Ge){const Pt=F.map(Rt=>Rt.parentId===mt&&Rt.itemId);Pt.length>0&&(mt=(qt=QO(ee(R({},Ie),{droppableContainers:Ie.droppableContainers.filter(Rt=>Rt.id!==mt&&Pt.includes(Rt.id))}))[0])==null?void 0:qt.id)}return v.current=mt,[{id:mt}]}return v.current?[{id:v.current}]:[]},[Ke,Re,Ge,F]),nr=p.useMemo(()=>e?jke:k6,[e]),{tabLayoutSplit:vr=1,tabLayout:pr}=(Fe=X.find(Ie=>Ie.tabId===oe))!=null?Fe:{},Wr=((nt=z==null?void 0:z.current)==null?void 0:nt.getSizePixels())||0,Le=((rt=S==null?void 0:S.current)==null?void 0:rt.getSizePixels())||0;p.useEffect(()=>{if(Oi.value||Ss.value){const Ie=Ss.value||Oi.value,$e=F.find(Ye=>Ye.itemId===Ie);$e!=null&&$e.tabId&&re($e.tabId),Oi.value&&c(Oi.value),setTimeout(()=>{Oi.value=null},2e3)}},[Oi.value,Ss.value]);const Dt=Ie=>(_.current[Ie]||(_.current[Ie]=p.createRef()),_.current[Ie]),Ze=p.useMemo(()=>f2e(Ft,Ia.value),[Ia.value,Ft]),mr=p.useMemo(()=>To.value,[To.value]);return s.jsxs(nr,{sensors:qi.value?ht:_t,measuring:{droppable:{strategy:Nf.Always}},collisionDetection:Zt,onDragStart:Se,onDragCancel:()=>{L(!0),Et(null),xt(null),g(),setTimeout(()=>{L(!1)},300)},onDragEnd:je,onDragOver:ot,children:[s.jsx(Qb,{items:gt,strategy:()=>null,children:s.jsxs(sb,{autoSaveId:"ClipsDashboard",direction:"vertical",className:"flex pt-4 clips-dashboard-panel_tour",children:[a&&s.jsxs(s.Fragment,{children:[s.jsxs(b2,{collapsible:!0,ref:S,defaultSize:6,id:"pinned-clips",order:1,minSize:6,maxSize:30,className:"flex flex-col ".concat(Re?u?"bg-orange-200/70 dark:bg-orange-600/70":"bg-orange-100 dark:bg-orange-500/70":"bg-orange-300/40 dark:bg-orange-700/40"," rounded-lg px-2 py-4 pt-3 mx-2 mr-3 relative"),children:[s.jsxs(vj,{id:"clips::pinnedzone",className:"w-full h-full",isActive:!!Re,children:[Re&&s.jsx(Q,{className:"z-100 absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 h-full w-full flex items-center justify-center p-1.5",children:s.jsx(Q,{className:"border-2 ".concat(u?"border-orange-500 dark:border-orange-400":"border-slate-300/80 dark:border-slate-400/80"," border-dashed rounded-md flex items-center justify-center h-full w-full"),children:u?s.jsx(J,{className:"!text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 !font-medium animate-in fade-in duration-300 text-sm",children:n("Drop to Pin",{ns:"dashboard"})}):s.jsx(Cc,{size:18,className:"text-orange-500/80 dark:!text-orange-400/80 hover:text-orange-400 animate-in fade-in duration-300"})})}),s.jsx(Ug,{disableWidth:!0,defaultHeight:Le-20,children:({height:Ie})=>s.jsx(en,{style:{height:Ie},onMouseEnter:()=>{H.value=!0},onMouseLeave:()=>{H.value=!1},onClick:()=>{H.value=!0},children:s.jsx(me,{className:"flex flex-wrap justify-normal gap-2 items-start mt-3 mb-1 ml-1 relative ".concat(Re?"opacity-20":""),children:G.map(($e,Ye)=>s.jsx(y_,{clip:$e,isDark:t,isClipNotesHoverCardsEnabled:Ee,clipNotesHoverCardsDelayMS:Oe,clipNotesMaxHeight:Ve,clipNotesMaxWidth:ct,isDisabledPinnedMoveUp:Ye===0,isDisabledPinnedMoveDown:Ye===G.length-1,onMovePinnedUpDown:mt=>{E(mt)},isShowDetails:h===$e.id,setShowDetailsItem:m,setSelectedItemId:pt,isSelected:A.includes($e.id),selectedOrder:A.indexOf($e.id)+1,boardColor:"gray",isShowOrganizeLayoutValue:qi.value||I.value,isPinnedBoard:!0},$e.id))})})})]}),G.length>0&&!Re&&s.jsxs(me,{className:"justify-between absolute right-0 bottom-1 ".concat(I.value?"px-1":"px-2.5"," w-full"),onMouseEnter:()=>{H.value=!0},onMouseLeave:()=>{H.value=!1},onClick:()=>{H.value=!0},children:[a&&!I.value&&!qi.value&&s.jsxs(s.Fragment,{children:[s.jsxs(me,{className:"animate-in fade-in duration-300 ".concat(e||u||!$?"opacity-0":""),children:[s.jsx(un,{className:"group text-orange-500/80 dark:!text-orange-400/80 hover:text-orange-400 hover:bg-transparent dark:hover:bg-transparent pl-0.5 pr-1 pt-0 ",title:U?n("Sequence Paste",{ns:"common"}):n("Sequence Copy",{ns:"common"}),children:U?s.jsx(js,{size:14,onClick:()=>{N(G.map(Ie=>Ie.id))}}):s.jsx(pa,{size:14,onClick:()=>{T(G.map(Ie=>Ie.id))}})}),s.jsxs(Ir,{onOpenChange:Ie=>{V.value=Ie},children:[s.jsx(Or,{asChild:!0,children:s.jsx(tN,{variant:"outline",title:n("Sequence Delay Next",{ns:"common"}),className:"bg-orange-300/20 border-orange-300/50 dark:bg-orange-900/70 dark:border-orange-800/50 border h-[18px] cursor-pointer px-1.5 ml-1",children:s.jsxs(J,{className:"font-mono !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent font-semibold",children:[ue,"s"]})})}),s.jsxs(Ar,{className:"w-44",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:s.jsx(J,{size:"xs",children:n("Sequence Copy Paste",{ns:"common"})})}),s.jsx(tr,{}),s.jsxs(Xs,{children:[s.jsx(zs,{children:s.jsxs(me,{className:"flex w-full",children:[s.jsxs(J,{size:"xs",children:[n("Delay Next",{ns:"common"}),"..."]}),s.jsxs(lt,{className:"ml-auto py-0 bg-slate-200 text-slate-500 dark:bg-slate-700 dark:text-slate-400",variant:"outline",children:[ue,"s"]})]})}),s.jsxs(Fs,{children:[s.jsx(rr,{checked:ue===1,onSelect:()=>{be(1)},children:s.jsxs(J,{size:"xs",children:["1 ",n("second",{ns:"common"})]})}),s.jsx(rr,{checked:ue===2,onSelect:()=>{be(2)},children:s.jsxs(J,{size:"xs",children:["2 ",n("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:ue===3,onSelect:()=>{be(3)},children:s.jsxs(J,{size:"xs",children:["3 ",n("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:ue===4,onSelect:()=>{be(4)},children:s.jsxs(J,{size:"xs",children:["4 ",n("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:ue===5,onSelect:()=>{be(5)},children:s.jsxs(J,{size:"xs",children:["5 ",n("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:ue===10,onSelect:()=>{be(10)},children:s.jsxs(J,{size:"xs",children:["10 ",n("seconds",{ns:"common"})]})})]})]}),s.jsxs(Xs,{children:[s.jsx(zs,{children:s.jsxs(me,{className:"flex w-full",children:[s.jsxs(J,{size:"xs",children:[n("Reverse Order",{ns:"common"}),"..."]}),s.jsx(lt,{className:"ml-auto py-0 bg-slate-200 text-slate-500 dark:bg-slate-700 dark:text-slate-400",variant:"outline",children:Ce?n("Yes",{ns:"common"}):n("No",{ns:"common"})})]})}),s.jsxs(Fs,{children:[s.jsx(rr,{checked:!Ce,onSelect:()=>{Pe(!1)},children:s.jsx(J,{size:"xs",children:n("No",{ns:"common"})})}),s.jsx(rr,{checked:Ce,onSelect:()=>{Pe(!0)},children:s.jsx(J,{size:"xs",children:n("Yes",{ns:"common"})})})]})]})]})]})]}),s.jsxs(Q,{className:"animate-in fade-in duration-300 ".concat(e||u||!$?"opacity-0":""),children:[s.jsx(un,{title:n("Reorder pinned",{ns:"common"}),onClick:()=>{I.value=!I.value},className:"!text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent px-2 pr-0 rounded-sm py-0 h-5",children:s.jsx(hz,{size:15})}),s.jsx(un,{title:It?n("Deselect pinned",{ns:"common"}):n("Select pinned",{ns:"common"}),onClick:()=>{const Ie=A.filter($e=>G.some(Ye=>Ye.id===$e));M(It?A.filter($e=>!Ie.includes($e)):A.concat(G.map($e=>$e.id)))},className:"!text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent px-2 pr-0 rounded-sm py-0 h-5",children:s.jsx(me,{className:"font-medium text-sm gap-1 !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400",children:It?s.jsx(Fw,{size:15}):s.jsx(z6,{size:17})})}),s.jsx(ZH,{onOpen:Ie=>{V.value=Ie},onCancel:()=>{setTimeout(()=>{V.value=!1,H.value=!1},300)},onConfirm:()=>{Y({})},buttonClassName:"group !text-orange-400 hover:bg-transparent dark:hover:bg-transparent px-2 pr-0.5 rounded-sm py-0 h-5"})]})]}),I.value&&s.jsxs(ye,{onClick:()=>{I.value=!1},className:"!text-orange-600 dark:!text-orange-300 bg-yellow-400 dark:bg-yellow-800 hover:bg-yellow-400/80 dark:hover:bg-yellow-700/80 px-2 pr-1 mr-0 rounded-sm py-0 h-5 flex items-center justify-center ml-auto",children:[s.jsx(J,{size:"xs",className:"!text-orange-600 dark:!text-orange-300 mr-1",children:n("Done Reorder",{ns:"common"})}),s.jsx($t,{size:15})]})]}),b&&!Re&&s.jsx(un,{title:n("Hide Pinned Board",{ns:"common"}),onClick:()=>{o(!1)},className:"hover:underline group !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent absolute right-1 top-1.5 px-2 pr-1 rounded-sm",children:s.jsxs(me,{className:"font-medium text-xs gap-1",children:[s.jsxs("span",{children:[G.length>0?G.length:n(" No",{ns:"common"})," ",n("Pinned",{ns:"common",count:G.length})]}),s.jsx(br,{size:14})]})})]}),s.jsx(xW,{isVertical:!0})]}),!C&&se&&s.jsx(Qb,{items:X.map(Ie=>Ie.tabId),disabled:e,strategy:JJ,children:s.jsx(Dke,{tabs:X,selectedItemIds:A,setSelectedItemIds:M,pinnedItemIds:G.map(Ie=>Ie.id),currentTab:oe,setCurrentTab:re})}),s.jsx(b2,{collapsible:!1,order:2,ref:z,id:"boards",children:Wr>0&&s.jsx(Ug,{disableWidth:!0,defaultHeight:Wr-20,children:({height:Ie})=>s.jsxs(en,{style:{height:Ie},children:[Ze?s.jsx(Q,{className:"relative",children:s.jsxs(sb,{style:{height:mr?Ie-14:void 0},direction:"horizontal",children:[s.jsx(wA,{board:Ze,isDark:t,panelHeight:Ie,isHistoryDragActive:e,dragOverBoardId:r,currentTabLayout:mr?"full":"auto",order:Ze.orderNumber,isLastBoard:!0,showDetailsItem:i,setShowDetailsItem:c,selectedItemIds:A,setSelectedItemId:pt},"".concat(oe,"-expanded-").concat(Ze.id)),s.jsx(me,{className:"absolute right-0 w-full bottom-[-13px] z-100",children:s.jsx(ye,{title:To.value?n("Collapse View",{ns:"contextMenus"}):n("Expand View",{ns:"contextMenus"}),variant:"ghost",size:"mini",className:"px-1.5 py-1 mr-2 text-secondary-foreground/50 ".concat($i(Ze.color,"200")," dark:hover:bg-").concat(Ze.color,"-900 hover:").concat($i(Ze.color,"200")," cursor-pointer rounded-md flex items-center justify-center"),onClick:()=>{To.value=!To.value},children:To.value?s.jsx(Lae,{size:20}):s.jsx(Aae,{size:20})})})]},"expaned-board")}):Ft.reduce(($e,Ye,mt)=>{const qt=Math.floor(mt/vr);return $e[qt]||($e[qt]=[]),$e[qt].push(Ye),$e},[]).map(($e,Ye)=>{const mt="".concat(oe,"-").concat(Ye),qt=Dt(mt);return s.jsx(sb,{ref:qt,autoSaveId:"".concat(oe,"-panel-group-").concat(Ye),className:"mb-3",style:{height:pr==="full"?Ie-12:void 0},direction:"horizontal",children:$e.map((Pt,Rt)=>s.jsx(wA,{board:Pt,isDark:t,panelHeight:Ie,isHistoryDragActive:e,dragOverBoardId:r,currentTabLayout:pr==="full"?"full":"auto",order:Pt.orderNumber,isLastBoard:Rt===$e.length-1,showDetailsItem:i,setShowDetailsItem:c,selectedItemIds:A,setSelectedItemId:pt},"".concat(oe,"-").concat(Ye,"-").concat(Rt)))},mt)}),se&&!(Ft.length&&X.length)&&s.jsxs(s.Fragment,{children:[!Ft.length&&X.length>0&&s.jsx(me,{className:"flex items-start justify-center w-full absolute top-4",style:{height:Ie},children:s.jsxs(me,{className:"flex-col items-center justify-center",children:[s.jsxs(Ir,{defaultOpen:!0,modal:!1,children:[s.jsx(Or,{className:"mr-1.5 rounded-sm",asChild:!0,children:s.jsx(Q,{className:"flex w-20 group flex-row items-center cursor-pointer justify-center border-2 border-dashed rounded-md p-1.5 hover:border-blue-400 hover:dark:border-blue-500 bg-slate-100 dark:bg-slate-700 text-slate-500 dark:border-slate-500 dark:text-slate-300 border-slate-300",children:s.jsx(Fn,{size:20,className:"group-hover:text-blue-400 dark:group-hover:text-blue-300 text-slate-400"})})}),s.jsxs(Ar,{align:"center",sideOffset:8,children:[s.jsx(He,{disabled:!0,className:"flex justify-center py-0.5 dark:text-gray-400 text-gray-500",children:n("Dashboard",{ns:"dashboard"})}),s.jsx(tr,{}),s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{tb.value=!0},children:[s.jsx(Av,{size:16,className:"mr-2"}),s.jsx("span",{children:n("Add First Board",{ns:"dashboard"})})]})]})]}),s.jsx(J,{className:"text-sm mt-4 !text-slate-500",children:n("Create Board",{ns:"dashboard"})})]})}),s.jsx(me,{className:"flex items-center justify-center w-full h-full",style:{height:Ie},children:s.jsx(J,{className:"animate-in fade-in duration-600 text-slate-300 text-xs bg-slate-100 rounded-full px-3 dark:text-slate-600 dark:bg-slate-900",children:X.length?n("No Boards",{ns:"dashboard"}):n("No Tabs or Boards",{ns:"dashboard"})})})]})]})})})]})}),s.jsx(Dc,{children:s.jsxs(g$,{dropAnimation:Vt,children:[Ke&&s.jsx(yW,{board:Ke,isDragPreview:!0,isDark:t,currentTabLayout:"auto",selectedItemIds:A,setSelectedItemId:pt}),Re&&s.jsx(vW,{clip:Re,isDragPreview:!0,isClipNotesHoverCardsEnabled:!1,isDark:t})]})})]});function Se(Ie){if(!Ey(Ie.active))return;Zl.value&&(Zl.value=null);const $e=Ie.active.data.current;($e==null?void 0:$e.type)===Bs?Et($e.board):($e==null?void 0:$e.type)===Io&&xt($e.clip)}function je(Ie){return pe(this,null,function*(){var Pt,Rt,Xt,Pr,Nr,Vr,qr,Gt,xr,dr,Ts;Et(null),xt(null),setTimeout(()=>{Zl.value=null},100);const{active:$e,over:Ye}=Ie;if(!$e||!Ey($e))return;const mt=$e.id;if(($e==null?void 0:$e.id)===u&&setTimeout(()=>pe(this,null,function*(){f(null),yield B({itemIds:[$e.id],isPinned:!0})}),300),((Pt=$e.data.current)==null?void 0:Pt.type)===Sl&&((Rt=Ye==null?void 0:Ye.data.current)==null?void 0:Rt.type)===Sl){const Kr=Ye==null?void 0:Ye.id,or=X.findIndex(({tabId:st})=>st===mt),ut=X.findIndex(({tabId:st})=>st===Kr),ge=zn(X,or,ut),Qe=new Map(ge.map((st,Ht)=>[st.tabId,Ht])),Xe=X.map(st=>{const Ht=Qe.get(st.tabId);return Ht!==void 0&&(st.tabOrderNumber=Ht),st});ie(Xe),yield w({updatedTabs:Xe});return}if(((Xt=Ye==null?void 0:Ye.data.current)==null?void 0:Xt.type)===Sl){const Kr=Ye.id,or=F.find(ge=>ge.itemId===mt&&ge.isBoard),ut=F.find(ge=>ge.itemId===mt&&ge.isClip);if((or==null?void 0:or.tabId)===Kr||(ut==null?void 0:ut.tabId)===Kr||!Kr)return;if(or){const ge=Ye.id.toString(),Qe=(Nr=(Pr=$e.data)==null?void 0:Pr.current)==null?void 0:Nr.isSubBoard,st=(Qe&&((qr=(Vr=$e.data)==null?void 0:Vr.current)!=null&&qr.board.parentId)?os(F,oe,(xr=(Gt=$e.data)==null?void 0:Gt.current)==null?void 0:xr.board.parentId):os(F,oe)).find(Wt=>Wt.id===mt);if(!st)return;const Ht=st?f_(st):[],At=F.filter(Wt=>Wt.tabId===ge&&Wt.isBoard&&Wt.parentId===null).sort((Wt,Mr)=>Wt.orderNumber-Mr.orderNumber);if(Qe)if(At.length===0)At.push(or);else{const Wt=At[0].itemId.toString(),Mr=F.filter(Ne=>Ne.parentId===Wt&&Ne.tabId===ge).sort((Ne,et)=>Ne.orderNumber-et.orderNumber);Mr.unshift(or);const yr=new Map(Mr.map((Ne,et)=>[Ne.itemId,et])),ne=new Map(Ht==null?void 0:Ht.map(Ne=>[Ne,!0])),de=[],Me=F.map(Ne=>{const et=yr.get(Ne.itemId);return et!==void 0?(de.push(Ne.itemId),ee(R({},Ne),{orderNumber:et,tabId:ge,parentId:Wt})):ne!=null&&ne.has(Ne.itemId)?(de.push(Ne.itemId),ee(R({},Ne),{tabId:ge})):Ne});fe(Me);const ze=Me.filter(Ne=>de.includes(Ne.itemId)).map(Ne=>({itemId:Ne.itemId,parentId:Ne.parentId,tabId:ge,collectionId:le,orderNumber:Ne.orderNumber}));j({updatedMoveClips:ze}),re(ge.toString());return}At.unshift(or);const Ut=new Map(At.map((Wt,Mr)=>[Wt.itemId,Mr])),Jt=new Map(Ht==null?void 0:Ht.map(Wt=>[Wt,!0])),bt=F.map(Wt=>{const Mr=Ut.get(Wt.itemId);return Mr!==void 0?ee(R({},Wt),{orderNumber:Mr,tabId:ge,parentId:null}):Jt!=null&&Jt.has(Wt.itemId)?ee(R({},Wt),{tabId:ge}):Wt});fe(bt);const Je=bt.filter(Wt=>(Wt.parentId===null||Wt.parentId===mt||Jt.has(Wt.parentId))&&Wt.tabId===ge).map(Wt=>({itemId:Wt.itemId,parentId:Wt.parentId,tabId:Wt.tabId,collectionId:le,orderNumber:Wt.orderNumber}));j({updatedMoveClips:Je})}else if(ut){const ge=Ye.id.toString(),Qe=os(F,ge);let Xe=(dr=Qe.find(st=>st.name===n("Moved Clips Panel",{ns:"dashboard"})))==null?void 0:dr.id;if(!Xe){const st=(Ts=X.find(Jt=>Jt.tabId===ge))==null?void 0:Ts.tabColor,Ht={name:n("Moved Clips Panel",{ns:"dashboard"}),isBoard:!0,tabId:ge,color:st,description:n("Panel for moved or copied items from other tabs",{ns:"dashboard"}),parentId:null,collectionId:le,orderNumber:0},At=yield K({item:Ht});Qe.sort((Jt,bt)=>Jt.orderNumber-bt.orderNumber).unshift(ee(R({},Ht),{id:At,layout:"",type:"board",color:null,showDescription:!0,layoutItemsMaxWidth:"",layoutSplit:1}));const Ut=Qe.map((Jt,bt)=>({itemId:Jt.id,parentId:null,tabId:Jt.tabId,collectionId:le,orderNumber:bt}));j({updatedMoveClips:Ut}),Xe=At}if(Xe){const st=Xe.toString(),Ht=ge.toString(),At=F.filter(Je=>Je.parentId===st&&Je.tabId===Ht).sort((Je,Wt)=>Je.orderNumber-Wt.orderNumber);At.unshift(ut);const Ut=new Map(At.map((Je,Wt)=>[Je.itemId,Wt])),Jt=F.map(Je=>{const Wt=Ut.get(Je.itemId);return Wt!==void 0?ee(R({},Je),{orderNumber:Wt,tabId:Ht,parentId:st}):Je});fe(Jt);const bt=Jt.filter(Je=>Je.parentId===st).map(Je=>({itemId:Je.itemId,parentId:st,tabId:Ht,collectionId:le,orderNumber:Je.orderNumber}));j({updatedMoveClips:bt})}}re(Kr.toString());return}let qt=null;for(let Kr=0;Kror.parentId===(qt==null?void 0:qt.parentId)).map(or=>({itemId:or.itemId,parentId:or.parentId,tabId:or.tabId,collectionId:le,orderNumber:or.orderNumber}));j({updatedMoveClips:Kr})}})}function we(Ie){var ge,Qe;const{active:$e,over:Ye}=Ie;if(!Ye)return;const mt=(Ye==null?void 0:Ye.id)==="clips::pinnedzone";if($e!=null&&$e.id&&mt?f($e.id):mt||f(null),((ge=Ye.data.current)==null?void 0:ge.type)===Sl&&((Qe=$e==null?void 0:$e.data.current)==null?void 0:Qe.type)!==Sl){const Xe=F.find(({itemId:st})=>st===$e.id);((Xe==null?void 0:Xe.tabId)!==Ye.id||oe!==Ye.id)&&(Zl.value=Ye.id.toString())}else Zl.value&&(Zl.value=null);if(mt)return;const qt=$e.id,Pt=Ye.id;if(qt===Pt||!Ey($e)||!Ey(Ye))return;const Rt=$e.data.current,Xt=Ye.data.current,Pr=(Rt==null?void 0:Rt.type)===Io,Nr=(Rt==null?void 0:Rt.type)===Bs,Vr=(Xt==null?void 0:Xt.type)===Io,qr=(Xt==null?void 0:Xt.type)===Bs;if(!Pr&&!Nr||Pr&&qr&&Ki.value===Pt)return;if(Pr&&qr&&!U){const Xe=Rt.clip.parentId,st=F.filter(({parentId:bt})=>Xe==bt).sort((bt,Je)=>bt.orderNumber-Je.orderNumber),Ht=st.findIndex(({itemId:bt})=>bt===qt),At=st.findIndex(({itemId:bt})=>bt===Pt),Ut=st[Ht],Jt=st[At];if(Ut&&Jt&&Ut.parentId===Jt.parentId){const bt=zn(st,Ht,At),Je=new Map(bt.map((Mr,yr)=>[Mr.itemId,yr])),Wt=F.map(Mr=>{const yr=Je.get(Mr.itemId);return yr!==void 0&&(Mr.orderNumber=yr),Mr});ae(Wt);return}}else if(Pr&&Vr){const Xe=Rt.clip.parentId,st=F.filter(({parentId:bt,isClip:Je})=>Xe==bt&&Je).sort((bt,Je)=>bt.orderNumber-Je.orderNumber),Ht=st.findIndex(({itemId:bt})=>bt===qt),At=st.findIndex(({itemId:bt})=>bt===Pt),Ut=st[Ht],Jt=st[At];if(Ut&&Jt&&Ut.parentId===Jt.parentId){const bt=zn(st,Ht,At),Je=new Map(bt.map((Mr,yr)=>[Mr.itemId,yr])),Wt=F.map(Mr=>{const yr=Je.get(Mr.itemId);return yr!==void 0&&(Mr.orderNumber=yr),Mr});ae(Wt);return}}else if(Nr&&Vr){const Xe=Xt.clip.parentId,st=F.filter(({parentId:bt})=>Xe==bt).sort((bt,Je)=>bt.orderNumber-Je.orderNumber),Ht=st.findIndex(({itemId:bt})=>bt===qt),At=st.findIndex(({itemId:bt})=>bt===Pt),Ut=st[Ht],Jt=st[At];if(Ut&&Jt&&Ut.parentId===Jt.parentId){const bt=zn(st,Ht,At),Je=new Map(bt.map((Mr,yr)=>[Mr.itemId,yr])),Wt=F.map(Mr=>{const yr=Je.get(Mr.itemId);return yr!==void 0&&(Mr.orderNumber=yr),Mr});ae(Wt);return}}const Gt=F.find(({itemId:Xe,isBoard:st})=>Xe===Pt&&st),xr=F.find(({itemId:Xe,isClip:st})=>Xe===Pt&&st),dr=Gt==null?void 0:Gt.itemId,Ts=xr==null?void 0:xr.itemId,Kr=F.findIndex(({itemId:Xe})=>Xe===qt),or=F[Kr],ut=Nr?F[Kr]:null;if(dr&&or.parentId!==dr&&!Nr){const Xe=F.filter(({parentId:At})=>dr==At).sort((At,Ut)=>At.orderNumber-Ut.orderNumber);or.parentId=dr,Xe.unshift(or);const st=new Map(Xe.map((At,Ut)=>[At.itemId,Ut])),Ht=F.map(At=>{const Ut=st.get(At.itemId);return Ut!==void 0?ee(R({},At),{orderNumber:Ut}):At});ae(Ht);return}if(Ts&&(xr!=null&&xr.parentId)&&or.parentId!==xr.parentId&&!Nr){or.parentId=xr.parentId,or.orderNumber=xr.orderNumber;const Xe=F.filter(({parentId:Ut})=>xr.parentId==Ut).sort((Ut,Jt)=>Ut.orderNumber-Jt.orderNumber);Xe.unshift(or);const st=zn(Xe,0,xr.orderNumber),Ht=new Map(st.map((Ut,Jt)=>[Ut.itemId,Jt])),At=F.map(Ut=>{const Jt=Ht.get(Ut.itemId);return Jt!==void 0?ee(R({},Ut),{orderNumber:Jt}):Ut});ae(At);return}if(dr&&Nr&&ut&&(ut==null?void 0:ut.parentId)!==(Gt==null?void 0:Gt.parentId)&&Rt.isSubBoard){ut.parentId=dr;const Xe=F.filter(({parentId:At})=>Gt.parentId==At).sort((At,Ut)=>At.orderNumber-Ut.orderNumber);Xe.unshift(ut);const st=new Map(Xe.map((At,Ut)=>[At.itemId,Ut])),Ht=F.map(At=>{const Ut=st.get(At.itemId);return Ut!==void 0?ee(R({},At),{orderNumber:Ut}):At});ae(Ht)}if(dr&&Nr&&(ut==null?void 0:ut.parentId)===(Gt==null?void 0:Gt.parentId)){const Xe=F.filter(({parentId:bt,isBoard:Je,tabId:Wt})=>(Gt==null?void 0:Gt.parentId)==bt&&Je&&Wt===oe).sort((bt,Je)=>bt.orderNumber-Je.orderNumber),st=Xe.findIndex(({itemId:bt})=>bt===(ut==null?void 0:ut.itemId)),Ht=Xe.findIndex(({itemId:bt})=>bt===dr),At=zn(Xe,st,Ht),Ut=new Map(At.map((bt,Je)=>[bt.itemId,Je])),Jt=F.map(bt=>{const Je=Ut.get(bt.itemId);return Je!==void 0?ee(R({},bt),{orderNumber:Je}):bt});ae(Jt)}}}const Ike=p.memo(Lke);function jA(e,t,r,n=!0,a=!1){const o=m=>r.filter(v=>v.tabId===m),i=m=>e.filter(v=>{var g;if(!(v.parentId===m&&v.isClip))return!1;const S=v.name.toLowerCase().includes(t.toLowerCase()),w=!n&&((g=v.value)==null?void 0:g.toLowerCase().includes(t.toLowerCase()));return S||w}).map(v=>ee(R({},v),{type:Io,id:v.itemId.toString()})),c=m=>e.filter(v=>v.parentId===m&&v.isClip).map(v=>ee(R({},v),{type:Io,id:v.itemId.toString()})).sort((v,S)=>v.orderNumber-S.orderNumber),u=e.filter(m=>m.isBoard);let f=0;const h=a?u.filter(m=>m.name.toLowerCase().includes(t.toLowerCase())).map(m=>{var S;const v=c(m.itemId.toString());return ee(R({},m),{type:Bs,showDescription:!1,tabName:(S=o(m.tabId)[0])==null?void 0:S.tabName,id:m.itemId.toString(),children:v})}):u.map(m=>{var S;const v=i(m.itemId.toString());return v.length>0?(f=f+v.length,ee(R({},m),{type:Bs,showDescription:!1,tabName:(S=o(m.tabId)[0])==null?void 0:S.tabName,id:m.itemId.toString(),children:v})):null}).filter(m=>m!==null);return{results:h,count:a?h.length:f}}function Vv(e,t,r=!1){const n=a=>e.map(({itemId:o,name:i,parentId:c,orderNumber:u,isActive:f,isDisabled:h,isDeleted:m,isClip:v,isFolder:S,isSeparator:w})=>({id:o,name:i,parentId:c,orderNumber:u,isActive:f,isDisabled:h,isDeleted:m,isClip:v,isFolder:S,isSeparator:w,children:[]})).filter(o=>o.parentId===a).filter(o=>o.isActive||r&&!o.isActive).sort((o,i)=>o.orderNumber-i.orderNumber).map(o=>(o.children=n(o.id),o.children.length===0&&!o.isFolder&&delete o.children,o));return n(t||null)}function Bj(){return Bj=Object.assign?Object.assign.bind():function(e){for(var t=1;t'),!0):t?e.some(function(r){return t.includes(r)})||e.includes("*"):!0}var Wke=function(t,r,n){n===void 0&&(n=!1);var a=r.alt,o=r.meta,i=r.mod,c=r.shift,u=r.ctrl,f=r.keys,h=t.key,m=t.code,v=t.ctrlKey,S=t.metaKey,w=t.shiftKey,g=t.altKey,b=Ru(m),C=h.toLowerCase();if(!n){if(a===!g&&C!=="alt"||c===!w&&C!=="shift")return!1;if(i){if(!S&&!v)return!1}else if(o===!S&&C!=="meta"&&C!=="os"||u===!v&&C!=="ctrl"&&C!=="control")return!1}return f&&f.length===1&&(f.includes(C)||f.includes(b))?!0:f?zke(f):!f},Vke=p.createContext(void 0),qke=function(){return p.useContext(Vke)};function SW(e,t){return e&&t&&typeof e=="object"&&typeof t=="object"?Object.keys(e).length===Object.keys(t).length&&Object.keys(e).reduce(function(r,n){return r&&SW(e[n],t[n])},!0):e===t}var Kke=p.createContext({hotkeys:[],enabledScopes:[],toggleScope:function(){},enableScope:function(){},disableScope:function(){}}),Gke=function(){return p.useContext(Kke)};function Yke(e){var t=p.useRef(void 0);return SW(t.current,e)||(t.current=e),t.current}var EA=function(t){t.stopPropagation(),t.preventDefault(),t.stopImmediatePropagation()},Zke=typeof window!="undefined"?p.useLayoutEffect:p.useEffect;function $s(e,t,r,n){var a=p.useRef(null),o=p.useRef(!1),i=r instanceof Array?n instanceof Array?void 0:n:r,c=b_(e)?e.join(i==null?void 0:i.splitKey):e,u=r instanceof Array?r:n instanceof Array?n:void 0,f=p.useCallback(t,u!=null?u:[]),h=p.useRef(f);u?h.current=f:h.current=t;var m=Yke(i),v=Gke(),S=v.enabledScopes,w=qke();return Zke(function(){if(!((m==null?void 0:m.enabled)===!1||!Uke(S,m==null?void 0:m.scopes))){var g=function(N,T){var A;if(T===void 0&&(T=!1),!(Bke(N)&&!CW(N,m==null?void 0:m.enableOnFormTags))&&!(m!=null&&m.ignoreEventWhen!=null&&m.ignoreEventWhen(N))){if(a.current!==null&&document.activeElement!==a.current&&!a.current.contains(document.activeElement)){EA(N);return}(A=N.target)!=null&&A.isContentEditable&&!(m!=null&&m.enableOnContentEditable)||MS(c,m==null?void 0:m.splitKey).forEach(function(M){var D,L=DS(M,m==null?void 0:m.combinationKey);if(Wke(N,L,m==null?void 0:m.ignoreModifiers)||(D=L.keys)!=null&&D.includes("*")){if(T&&o.current)return;if(Fke(N,L,m==null?void 0:m.preventDefault),!Hke(N,L,m==null?void 0:m.enabled)){EA(N);return}h.current(N,L),T||(o.current=!0)}})}},b=function(N){N.key!==void 0&&(wW(Ru(N.code)),((m==null?void 0:m.keydown)===void 0&&(m==null?void 0:m.keyup)!==!0||m!=null&&m.keydown)&&g(N))},C=function(N){N.key!==void 0&&(kW(Ru(N.code)),o.current=!1,m!=null&&m.keyup&&g(N,!0))},j=a.current||(i==null?void 0:i.document)||document;return j.addEventListener("keyup",C),j.addEventListener("keydown",b),w&&MS(c,m==null?void 0:m.splitKey).forEach(function(E){return w.addHotkey(DS(E,m==null?void 0:m.combinationKey,m==null?void 0:m.description))}),function(){j.removeEventListener("keyup",C),j.removeEventListener("keydown",b),w&&MS(c,m==null?void 0:m.splitKey).forEach(function(E){return w.removeHotkey(DS(E,m==null?void 0:m.combinationKey,m==null?void 0:m.description))})}}},[c,m,S]),a}function Xke({id:e,isSelected:t,deletingMenuItemIds:r,itemParentId:n,isDisabled:a,isImage:o,isClip:i,isSeparator:c,isActive:u,isFolder:f,isOpen:h,setOpenItemId:m,itemOrderNumber:v,hasChildren:S,deselectItemById:w,setSelectedItemIds:g,selectItemById:b}){const{t:C}=Tt(),{duplicateMenuItem:j}=Tge(),{deleteMenuItemById:E}=TB(),{updateMenuItemById:N}=I1(),{updateMovedMenuItems:T}=zN(),A=sa(),{menuItems:M,currentCollectionId:D}=dt(Tn);return s.jsx(R1,{children:s.jsxs(Xm,{className:"w-[150px]",children:[u?i?s.jsxs(s.Fragment,{children:[s.jsx(St,{disabled:!0,className:"flex justify-center py-0",children:C("Link To Clip",{ns:"contextMenus"})}),s.jsx(Fr,{})]}):f?s.jsxs(s.Fragment,{children:[s.jsx(St,{disabled:!0,className:"flex justify-center py-0",children:C("Submenu",{ns:"contextMenus"})}),s.jsx(Fr,{})]}):c?s.jsxs(s.Fragment,{children:[s.jsx(St,{disabled:!0,className:"flex justify-center py-0",children:C("Separator",{ns:"contextMenus"})}),s.jsx(Fr,{})]}):s.jsxs(s.Fragment,{children:[s.jsx(St,{disabled:!0,className:"flex justify-center py-0",children:C("Menu",{ns:"contextMenus"})}),s.jsx(Fr,{})]}):s.jsxs(s.Fragment,{children:[s.jsx(St,{disabled:!0,className:"flex justify-center py-0",children:C("Menu is Not Active",{ns:"contextMenus"})}),s.jsx(Fr,{}),s.jsxs(St,{onClick:()=>{N({updatedItem:{itemId:e,isActive:!0}})},children:[C("Activate",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Hm,{size:15,className:"ml-auto"})})]}),s.jsx(Fr,{})]}),t?s.jsxs(St,{onClick:()=>{w==null||w(e)},children:[C("Deselect",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(B6,{size:15})})]}):s.jsxs(St,{onClick:()=>{b==null||b(e)},children:[C("Select",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Oa,{size:15})})]}),s.jsx(Fr,{}),Rs.value!==e&&!i&&s.jsxs(St,{disabled:!u||no.value,onClick:()=>{Rs.value=e,Gi.value=!0},children:[C("Edit Label",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Xu,{size:14})})]}),!i&&!f&&Rs.value!==e&&s.jsxs(St,{disabled:!u||no.value,onClick:()=>{Rs.value=e},children:[o?C("Edit Image",{ns:"contextMenus"}):C("Edit Value",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(m2,{size:15})})]}),i&&s.jsxs(s.Fragment,{children:[s.jsxs(St,{disabled:!u||no.value,onClick:()=>{Ss.value=e,Oi.value=e,A("/history",{replace:!0})},children:[C("Edit Clip",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(m2,{size:15})})]}),s.jsxs(St,{disabled:!u||no.value,onClick:()=>{Oi.value=e,A("/history",{replace:!0})},children:[C("Locate Clip",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Hw,{size:15})})]})]}),s.jsx(Fr,{}),s.jsxs(St,{disabled:!u,onClick:()=>pe(this,null,function*(){g&&g([e]),no.value=!0}),children:[C("Add New Item",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(Mz,{size:15})})]}),!i&&s.jsxs(St,{disabled:!u,onClick:()=>pe(this,null,function*(){var I;if(!D)return;const L=yield j({itemId:e,parentId:n!=null?n:null,orderNumber:v+2,collectionId:D}),z=Vv(M);z.unshift({name:C("Copy of ",{ns:"common"})+((I=z.find(q=>q.id===e))==null?void 0:I.name),parentId:n!=null?n:null,orderNumber:v+2,id:L});const H=V4(z,n!=null?n:null,[L],v+2),V=H==null?void 0:H.map(({id:q,parentId:_,orderNumber:$})=>({itemId:q,parentId:_,tabId:null,collectionId:D,orderNumber:$}));T({updatedMoveMenuItems:V})}),children:[C("Duplicate",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(A6,{size:15})})]}),s.jsx(Fr,{}),a?s.jsxs(St,{disabled:!u,onClick:()=>{N({updatedItem:{itemId:e,isDisabled:!1}})},children:[C("Make Enabled",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Ez,{size:15,className:"ml-auto"})})]}):s.jsxs(St,{disabled:!u,onClick:()=>{N({updatedItem:{itemId:e,isDisabled:!0}}),h&&(m==null||m(null))},children:[C("Make Disabled",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(pm,{size:15,className:"ml-auto"})})]}),s.jsx(Fr,{}),u&&s.jsxs(St,{onClick:()=>{N({updatedItem:{itemId:e,isActive:!1}}),h&&(m==null||m(null))},children:[C("Make Inactive",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(C1,{size:15,className:"ml-auto"})})]}),s.jsxs(Q,{className:"group",children:[s.jsxs(St,{className:eu.value===e?"!bg-red-100 dark:!bg-red-900":"",disabled:S,onClick:L=>{var z,H;eu.value===e?(E({itemId:e,collectionId:D}),r.value=(H=(z=r.value)==null?void 0:z.filter(V=>V!==e))!=null?H:[],w==null||w(e),eu.value):(L.preventDefault(),eu.value=e,r.value=r.value?[...r.value,e]:[e],setTimeout(()=>{var V,I;eu.value=null,r.value=(I=(V=r.value)==null?void 0:V.filter(q=>q!==e))!=null?I:[]},3e3))},children:[s.jsx(J,{className:"".concat(S?"!text-gray-500":"!text-red-500"),children:eu.value!==e?C("Delete",{ns:"common"}):C("Click to Confirm",{ns:"common"})}),!eu.value&&s.jsx("div",{className:"ml-auto pl-3",children:s.jsx(xn,{size:15,className:"".concat(S?"!text-gray-500":"!text-red-500")})})]}),S&&s.jsx(me,{className:"p-0.5",children:s.jsx(J,{className:"!text-gray-400/80 text-[11px] group-hover:!text-amber-500",children:C("Remove Submenus First",{ns:"common"})})})]})]})})}function Qke(){const{data:e=[]}=ld("get_clipboard_history_pinned");return e.forEach(t=>{if(t.links)try{t.arrLinks=JSON.parse(t.links)}catch(r){t.arrLinks=[]}t.hasEmoji&&(t.hasEmoji=iz(t.value))}),{pinnedClipboardHistory:e}}function Jke(){const e=gr(),{mutate:t}=Ur("update_clipboard_history_by_id",{onSuccess:r=>{r==="ok"?(e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})):console.log("update clipboard error",r)}});return{updateClipboardHistoryById:t}}function jW(){const e=gr(),{mutate:t}=Ur("update_pinned_clipboard_history_by_ids",{onSuccess:r=>{r==="ok"?(e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})):console.log("update clipboard error",r)}});return{pinnedClipboardHistoryByIds:t}}function eCe(){const e=gr(),{mutate:t}=Ur("unpin_all_clipboard_history_items",{onSuccess:r=>{r==="ok"?(e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})):console.log("update clipboard error",r)}});return{unPinAllClipboardHistory:t}}function tCe(){const e=gr(),{mutate:t}=Ur("move_pinned_item_up_down",{onSuccess:r=>{r==="ok"?e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]}):console.log("update clipboard error",r)}});return{movePinnedClipboardHistoryUpDown:t}}function EW(){const e=gr(),{data:t,isLoading:r,isFetched:n,fetchNextPage:a,isFetchingNextPage:o,error:i}=LY({queryKey:["get_clipboard_history"],queryFn:({pageParam:u})=>{const{limit:f=q5,offset:h=0}=u!=null?u:{};return Hs("get_clipboard_history",{limit:f,offset:h})},initialPageParam:{limit:q5,offset:0},getNextPageParam:(u,f)=>{const h=f==null?void 0:f.reduce((m,v)=>{var S;return m+((S=v==null?void 0:v.length)!=null?S:0)},0);return h?{limit:q5,offset:h}:null}}),{setClipboardHistory:c}=dt(pi);return p.useEffect(()=>{if(Array.isArray(t==null?void 0:t.pages)){const u=!(t!=null&&t.pages.flat().length);c(t==null?void 0:t.pages.flat(),u)}},[t]),{infiniteClipboardHistory:t,invalidateClipboardHistoryQuery:()=>{e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})},isClipboardInfiniteHistoryLoading:r,isClipboardInfiniteHistoryFetched:n,fetchNextClipboardHistoryPage:a,isClipboardHistoryFetchingNextPage:o,isClipboardInfiniteHistoryError:i}}function rCe({query:e="",filters:t=[],codeFilters:r=[]}){const n=gr(),{data:a,refetch:o,isLoading:i,isFetched:c,error:u}=ld("find_clipboard_histories_by_value_or_filters",{query:e,filters:t,codeFilters:r,useQueryOptions:{enabled:!1,refetchOnWindowFocus:!1}}),{setClipboardHistory:f}=dt(pi);return p.useEffect(()=>{Array.isArray(a)&&f(a,!0,!0)},[a]),{foundClipboardHistory:a,invalidateFindClipboardHistoryQuery:()=>{n.invalidateQueries({queryKey:["find_clipboard_histories_by_value_or_filters"]})},refetchFindClipboardHistory:o,isFoundClipboardHistoryLoading:i,isFlundClipboardHistoryFetched:c,isFoundClipboardHistoryError:u}}function w_(){const e=gr(),{mutate:t}=Ur("delete_clipboard_history_by_ids",{onSuccess:r=>{r==="ok"?(e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})):console.log("delete clipboard error",r)}});return{deleteClipboardHistoryByIds:t}}function nCe(){const e=gr(),{mutate:t}=Ur("clear_clipboard_history_older_than",{onSuccess:r=>{r==="ok"?(e.invalidateQueries({queryKey:["get_clipboard_history"]}),e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]})):console.log("clear clipboard error",r)}});return{clearClipboardHistoryOlderThan:t}}const{FOLDER:sCe,ITEM:Hh,SEPARATOR:aCe,DISABLED:oCe}=Ko;function Z2({isCreatingMenuItem:e,currentMenuItemId:t,parentId:r,orderNumber:n,showEditMenuItemId:a,isMainCreateMenu:o,isDark:i,isFistItemsCreateMenu:c}){const{t:u}=Tt(),[f,h]=p.useState(""),[m,v]=p.useState(""),{clipboardHistory:S}=dt(pi),{fetchNextClipboardHistoryPage:w}=EW(),{collectionWithClips:g,fetchCollectionWithClips:b}=_B(),C=(g==null?void 0:g.clips)||[],j=go(f,300),E=go(m,300),N=p.useMemo(()=>j.length<1?C.filter(M=>M.isClip).sort((M,D)=>M.updatedAt&&D.updatedAt?D.updatedAt-M.updatedAt:0).slice(0,50).map(({name:M,itemId:D})=>({name:M.length>50?"".concat(M.substring(0,50),"..."):M,id:D})):C.filter(M=>M.isClip&&M.name.toLowerCase().includes(j.toLowerCase())).sort((M,D)=>M.updatedAt&&D.updatedAt?D.updatedAt-M.updatedAt:0).slice(0,50).map(({name:M,itemId:D})=>({name:M.length>50?"".concat(M.substring(0,50),"..."):M,id:D})),[C,j]),T=p.useMemo(()=>E.length<1?S.sort((M,D)=>D.updatedAt-M.updatedAt).slice(0,50).map(({value:M,historyId:D,isImage:L,imageWidth:z,imageHeight:H,detectedLanguage:V,isLink:I})=>({isImage:L,isLink:I,detectedLanguage:V,name:M!=null&&M.length&&(M==null?void 0:M.length)>80?"".concat(M==null?void 0:M.substring(0,80),"..."):L?"".concat(u("Image",{ns:"common"})," (").concat(z,"x").concat(H,")"):M,id:D})):S.filter(M=>{var D;return M!=null&&M.value?(D=M==null?void 0:M.value)==null?void 0:D.toLowerCase().includes(E.toLowerCase()):"Image".toLocaleLowerCase().includes(E.toLowerCase())}).sort((M,D)=>D.updatedAt-M.updatedAt).slice(0,50).map(({value:M,historyId:D,isImage:L,imageWidth:z,imageHeight:H,detectedLanguage:V,isLink:I})=>({isImage:L,isLink:I,detectedLanguage:V,name:M!=null&&M.length&&(M==null?void 0:M.length)>80?"".concat(M==null?void 0:M.substring(0,80),"..."):L?"".concat(u("Image",{ns:"common"})," (").concat(z,"x").concat(H,")"):M,value:M,id:D})),[S,E]);p.useEffect(()=>{S.length||w(),b()},[]);function A(){ff(),e.value=!1,xu.value=null,Id.value=null}return s.jsxs(Ir,{modal:!1,defaultOpen:c,children:[s.jsx(Or,{asChild:!0,disabled:!!xu.value||!!Id.value||!!Ld.value,children:o?s.jsx(s.Fragment,{children:e.value?s.jsxs(ye,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80 py-1.5 absolute top-1 right-1 rounded-sm",onClick:()=>{A()},children:[s.jsx(J,{className:"whitespace-nowrap",children:u("Done Adding",{ns:"common"})}),s.jsx("div",{className:"ml-auto pl-1.5",children:s.jsx($t,{size:15})})]}):s.jsx(s.Fragment,{children:a.value?s.jsxs(un,{variant:"light",size:"mini",className:"px-3 bg-yellow-200 hover:bg-yellow-200/80 dark:bg-yellow-700 dark:hover:bg-yellow-700/80 py-1.5 absolute top-1 right-1 rounded-sm",onClick:()=>{A()},children:[s.jsx(J,{className:"whitespace-nowrap",children:u("Done Edit",{ns:"common"})}),s.jsx("div",{className:"ml-auto pl-1.5",children:s.jsx($t,{size:15})})]}):s.jsx(un,{className:"bg-slate-200 dark:bg-slate-700 dark:hover:bg-slate-700/80 p-1.5 text-slate-500 dark:text-slate-300 rounded-sm flex items-center group absolute top-1 right-1",id:"add-menu-item__tour",onClick:()=>{e.value=!0},children:s.jsx(Be,{asChild:!0,side:"bottom",isCompact:!0,sideOffset:12,text:u("Add item",{ns:"menus"}),children:s.jsx(Fn,{size:20,className:"transition-colors group-hover:text-slate-400"})})})})}):s.jsx(Q,{id:"add-menu-item__tour",className:"flex group flex-row items-center cursor-pointer justify-center border-2 border-dashed rounded-md p-1.5 hover:border-blue-400 hover:dark:border-blue-500 bg-slate-100 dark:bg-slate-700 text-slate-500 dark:border-slate-500 dark:text-slate-300",onClick:()=>{if(!xu.value&&!Id.value&&!Ld.value)return;if(Ld.value){Ja.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:Hh,text:Ld.value},Ld.value="";return}const M=S.find(({historyId:L})=>L===xu.value),D=C.find(({itemId:L})=>L===Id.value);xu.value=null,Id.value=null,M?Ja.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:Hh,clipboardHistoryItem:M,historyId:M.historyId.toString()}:D&&(Ja.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:Hh,clipId:D.itemId})},children:s.jsx(Fn,{size:20,className:"group-hover:text-blue-400 dark:group-hover:text-blue-300 text-slate-400"})})}),s.jsxs(Ar,{align:"center",sideOffset:c?12:0,children:[s.jsx(He,{disabled:!0,className:"py-0.5 pb-1 flex justify-center border-b border-gray-200 dark:border-gray-600 text-slate-500 dark:text-slate-400",children:c?u("Add First Item",{ns:"menus"}):u("Add Item",{ns:"menus"})}),s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{Ja.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:Hh}},children:[s.jsx(Fw,{size:16,className:"mr-2"}),s.jsx("span",{children:u("Menu Item",{ns:"menus"})})]}),s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{Ja.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:sCe}},children:[s.jsx(hm,{size:16,className:"mr-2"}),s.jsx("span",{children:u("Submenu",{ns:"menus"})})]}),s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{Ja.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:aCe}},children:[s.jsx(jz,{size:16,className:"mr-2"}),s.jsx("span",{children:u("Separator",{ns:"menus"})})]}),s.jsxs(He,{className:"outline-none flex items-center",onClick:()=>{Ja.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:oCe}},children:[s.jsx(pm,{size:16,className:"mr-2"}),s.jsx("span",{children:u("Disabled Item",{ns:"menus"})})]}),(T.length>0||N.length>0)&&s.jsx(tr,{}),T.length>0&&s.jsxs(Xs,{children:[s.jsxs(zs,{children:[s.jsx(Sie,{size:16,className:"mr-2"}),s.jsx("span",{children:u("Recent History",{ns:"common"})})]}),s.jsxs(Fs,{className:"w-60",children:[s.jsx(me,{className:"focus:bg-transparent px-1 py-0.5 pb-1",onKeyDown:M=>M.stopPropagation(),children:s.jsx(Qu,{placeholder:"".concat(u("Find History",{ns:"common"})," ..."),type:"search",autoFocus:!0,onChange:M=>{v(M.target.value)},value:m,iconLeft:s.jsx(mm,{className:"h-4 w-4"}),classNameInput:"w-full pr-0 h-7",className:"text-md w-[260px] ring-offset-0 py-1 bg-slate-100 dark:bg-slate-700 border-r-0 border-t-0 border-b-0 h-8"})}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:T.map(({name:M,id:D,isImage:L,detectedLanguage:z,isLink:H},V)=>s.jsx(He,{onKeyDown:I=>I.stopPropagation(),className:"".concat(V>0?"border-t":""," border-slate-100 dark:border-slate-800/90 ml-1 rounded-none"),onClick:()=>{Ja.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:Hh,clipboardHistoryItem:S.find(({historyId:I})=>I===D),historyId:D}},children:z?s.jsxs(Q,{className:"text-sm overflow-hidden text-ellipsis",children:[s.jsx(va,{isDark:i,searchTerm:"",isLargeView:!1,isShowMore:!1,isWrapped:!0,value:M!=null?M:"",language:z}),s.jsx(lt,{variant:"secondary",className:"absolute right-1 bottom-1",children:z})]}):s.jsxs(Q,{className:"relative overflow-hidden text-ellipsis",children:[s.jsx("code",{className:"text-sm line-clamp-2",children:M}),L&&s.jsx(lt,{variant:"secondary",className:"absolute right-1 bottom-1",children:u("Type:::Image",{ns:"common"})}),H&&s.jsx(lt,{variant:"secondary",className:"absolute right-1 bottom-1",children:u("Type:::Link",{ns:"common"})})]})},D))})]})]}),N.length>0&&s.jsxs(Xs,{children:[s.jsxs(zs,{children:[s.jsx(Gae,{size:16,className:"mr-2"}),s.jsx("span",{children:u("Link to Clip",{ns:"menus"})})]}),s.jsxs(Fs,{className:"w-52",children:[s.jsx(me,{className:"focus:bg-transparent px-1 py-0.5 pb-1",onKeyDown:M=>M.stopPropagation(),children:s.jsx(Qu,{placeholder:"".concat(u("Find Clip",{ns:"common"})," ..."),type:"search",autoFocus:!0,onChange:M=>{h(M.target.value)},value:f,iconLeft:s.jsx(mm,{className:"h-4 w-4"}),classNameInput:"w-full pr-0 h-7",className:"text-md w-[260px] ring-offset-0 py-1 bg-slate-100 dark:bg-slate-700 border-r-0 border-t-0 border-b-0 h-8"})}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"260px"},autoHide:!1,children:N.map(({id:M,name:D},L)=>s.jsx(He,{onKeyDown:z=>z.stopPropagation(),className:"".concat(L>0?"border-t":""," border-slate-100 dark:border-slate-800/90 ml-1 rounded-none"),onClick:()=>{Ja.value={orderNumber:n,currentMenuItemId:t,parentId:r,type:Hh,clipId:M}},children:s.jsx("span",{children:D})},M!=null?M:L))})]})]})]})]})}const cg={isCode:!1,isText:!1,isForm:!1,isImage:!1,isCommand:!1,isWebRequest:!1,isWebScraping:!1,isLink:!1,isPath:!1,detectedLanguage:""},iCe=({itemId:e,isCode:t,isImage:r,isText:n,isLink:a,isPath:o,detectedLanguage:i,children:c})=>{const{t:u}=Tt(),{CONST:{APP_DETECT_LANGUAGES_SUPPORTED:f}}=dt(pn),{updateMenuItemById:h}=I1();return s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:c}),s.jsxs(Ar,{className:"w-48",sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:s.jsx(J,{children:u("Menu Type",{ns:"menus"})})}),s.jsx(tr,{}),s.jsx(rr,{checked:!!n,onClick:()=>{h({updatedItem:ee(R({},cg),{isText:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(n?"font-semibold":""),children:u("TypeMenu:::Plain Text",{ns:"common"})})}),s.jsx(rr,{checked:!!a,onClick:()=>{h({updatedItem:ee(R({},cg),{isLink:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(a?"font-semibold":""),children:u("TypeMenu:::Link or Email",{ns:"common"})})}),s.jsx(rr,{checked:!!r,onClick:()=>{h({updatedItem:ee(R({},cg),{isImage:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(r?"font-semibold":""),children:u("TypeMenu:::Image",{ns:"common"})})}),s.jsx(rr,{checked:!!o,onClick:()=>{h({updatedItem:ee(R({},cg),{isPath:!0,itemId:e})})},children:s.jsx(J,{className:"".concat(o?"font-semibold":""),children:u("TypeMenu:::File, Path or App",{ns:"common"})})}),s.jsxs(Xs,{children:[s.jsxs(zs,{children:[t?s.jsx($t,{className:"mr-2 h-4 w-4"}):s.jsx(Q,{className:"mr-2 h-4 w-4"}),s.jsxs(J,{className:"".concat(t?"!font-semibold":""),children:[u("TypeMenu:::Code Snippet",{ns:"common"})," ..."]})]}),s.jsxs(Fs,{className:"w-40",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:i?s.jsx(J,{children:NA(i)}):s.jsx(J,{children:u("Select Language",{ns:"common"})})}),s.jsx(tr,{}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"290px"},autoHide:!1,children:f.map(m=>s.jsx(rr,{checked:i===m,className:"".concat(i===m?"font-semibold ":""),onClick:()=>{h({updatedItem:ee(R({},cg),{isCode:!0,detectedLanguage:m,itemId:e})})},children:NA(m)},m))})]})]})]})]})};function NA(e){return e.charAt(0).toUpperCase()+e.slice(1)}function lCe({itemId:e,deletingMenuItemIds:t,onComplete:r}){const{t:n}=Tt(),a=We(!1),o=()=>{a.value=!1,t.value=null},{currentCollectionId:i}=dt(Tn),{deleteMenuItemById:c}=TB();return s.jsxs(xa,{defaultOpen:!1,open:a.value,children:[s.jsx(ya,{asChild:!0,children:s.jsxs(ye,{variant:"ghost",title:n("Delete Clip",{ns:"dashboard"}),onClick:()=>{a.value=!0,t.value=[e]},className:"px-2 h-7 w-full py-0 text-red-500 dark:!text-red-600 hover:text-red-500 bg-transparent hover:bg-red-100 opacity-80 hover:opacity-100",children:[s.jsx(xn,{size:16}),s.jsx(J,{className:"ml-1 !text-red-500 dark:!text-red-600 !font-medium",children:n("Delete",{ns:"common"})})]})}),s.jsx(ea,{sideOffset:16,align:"center",className:"p-3 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-60",onEscapeKeyDown:()=>{o()},onPointerDownOutside:()=>{o()},children:a.value&&s.jsxs(me,{className:"flex-col",children:[s.jsx(J,{color:"black",size:"sm",className:"!inline-block",children:n("Are you sure you want to delete?",{ns:"common"})}),s.jsx(kr,{h:3}),s.jsxs(me,{children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 dark:hover:text-gray-400 hover:text-gray-600 mr-3 border-gray-100 hover:border-gray-200 dark:bg-gray-900 dark:border-gray-900 dark:hover:border-gray-900 dark:hover:bg-gray-800",onClick:()=>{o()},children:n("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-red-100 hover:bg-opacity-80 hover:bg-red-200 text-red-500 hover:text-red-600 border-red-200 dark:bg-red-900 dark:border-red-900 dark:hover:border-red-900 dark:hover:bg-red-800 dark:text-red-300 dark:hover:text-red-200 whitespace-nowrap",onClick:()=>pe(this,null,function*(){yield c({itemId:e,collectionId:i}),r()}),children:n("Delete Menu",{ns:"menus"})})]})]})})]})}function cCe({itemId:e,value:t,isCode:r,detectedLanguage:n,isText:a,isClip:o,isMasked:i,isVideo:c,isImage:u,isDelete:f,hasEmoji:h,isPath:m,imageDataUrl:v,isDark:S,deletingMenuItemIds:w,isLink:g,onCancel:b}){const{t:C}=Tt(),j=We(""),E=We(!1),N=We(Date.now()),T=We(!1),A=We(void 0),M=We(void 0),D=We(void 0),L=We(void 0),{updateMenuItemById:z}=I1(),H=p.useRef(null),V=go(j.value,300),{metadataLinkByItemId:I,invalidateLinkMetadataByItemId:q}=L1(g,e),_=(I==null?void 0:I.linkTitle)&&(I==null?void 0:I.linkDomain);p.useEffect(()=>{j.value=t!=null?t:""},[t]),p.useEffect(()=>{if(g){const B=Rn().match(j.value);!B||B.length>1?A.value=!0:A.value=!1}},[g]);const $=p.useCallback(Y=>pe(this,null,function*(){const F=t===j.value?t:Y;m&&F.length>5&&Sr("check_path",{path:F}).then(()=>{M.value=!1}).catch(()=>{M.value=!0})}),[m]);p.useEffect(()=>{m&&V.length>5&&$(V)},[m,V]),p.useEffect(()=>{(A.value||M.value||L.value||D.value)&&T.value&&(E.value=!0)},[A.value,M.value,D.value,L.value,T.value]);const U=(Y=!1)=>pe(this,null,function*(){if(Gi.value){yu.value=!0;return}let B=null;if(yu.value=!1,E.value=!1,T.value=!0,A.value=void 0,M.value=void 0,Y)B=m?"Error":null;else{if(g){const G=Rn().match(j.value);if(!G||G.length>1){A.value=!0;return}}if(m)try{B=yield Sr("path_type_check",{path:j.value})}catch(F){B="Error",M.value=!0;return}}yield z({updatedItem:ee(R({value:j.value},B&&m?{pathType:B}:{}),{itemId:e})}),setTimeout(()=>{T.value=!1,b()},200)}),K=p.useMemo(()=>r?C("TypeMenu:::Code Snippet",{ns:"common"}):u?C("TypeMenu:::Image",{ns:"common"}):g?C("TypeMenu:::Link or Email",{ns:"common"}):m?C("TypeMenu:::Link or File, Path or App",{ns:"common"}):C("TypeMenu:::Plain Text",{ns:"common"}),[r,u,g,m]);return s.jsx(eh,{className:hr("px-2 pr-1.5 pb-1.5 m-0.5 mt-0 pt-1 mx-1 text-left flex flex-row rounded-md select-auto",f&&"bg-red-50 dark:bg-red-900"),children:s.jsxs(Q,{className:"w-full mt-0",children:[o?s.jsx(Q,{className:"mt-2",children:s.jsx(me,{className:"gap-1 w-full justify-start",children:s.jsx(J,{className:"font-semibold",size:"sm",children:C("Clip value can't edit",{ns:"menus"})})})}):s.jsx(s.Fragment,{children:u?s.jsxs(Q,{className:"px-0 py-1.5 flex items-center justify-center relative",children:[s.jsx("img",{src:v||xf,draggable:!1,decoding:"async",height:"auto",className:"max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-400"}),s.jsx(Q,{className:"absolute",children:v?s.jsx(eW,{id:e,isMenu:!0}):s.jsx(XU,{id:e})})]}):m?s.jsxs(me,{className:"relative text-normal",children:[s.jsx(er,{defaultValue:j.value,placeholder:C("Enter full path to file, folder or application",{ns:"dashboard"}),classNameInput:"pr-10 text-sm focus:border- ".concat(M.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(M.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:s.jsx(Q,{className:"absolute top-3 right-4",children:M.value?s.jsx(Be,{text:C("File, folder or app path might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 dark:bg-yellow-900 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx(mi,{size:18,className:"text-yellow-500 cursor-pointer"})}):M.value===!1&&s.jsx(Be,{text:C("File, folder or app path is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 dark:bg-green-900 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx($t,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:Y=>{j.value=Y.target.value}},N.value),s.jsx(QU,{onCallBack:Y=>{N.value=Date.now(),j.value=Y}})]}):g?s.jsxs(me,{className:"relative text-normal mt-1 flex-col",children:[s.jsx(er,{defaultValue:j.value,placeholder:C("Enter web link or email",{ns:"dashboard"}),classNameInput:"pr-7 text-sm focus:border- ".concat(A.value?"!border-yellow-600 !focus:border-yellow-600":""," ").concat(A.value===!1?"!border-green-600 !focus:border-green-600":""),suffix:s.jsx(Q,{className:"absolute top-3 right-2",children:A.value?s.jsx(Be,{text:C("Web Link or Email might not be valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-yellow-50 dark:bg-yellow-900 dark:text-slate-200 text-yellow-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx(mi,{size:18,className:"text-yellow-500 cursor-pointer"})}):A.value===!1&&s.jsx(Be,{text:C("Web or Email link is valid",{ns:"dashboard"}),isCompact:!0,side:"bottom",className:"bg-green-50 dark:bg-green-900 dark:text-slate-200 text-green-600 font-semibold",asChild:!0,sideOffset:10,children:s.jsx($t,{size:18,className:"text-green-600 cursor-pointer"})})}),onChange:Y=>{if(A.value&&(A.value=void 0),Y.target.value.length>5){const F=Rn().match(Y.target.value);!F||F.length>1?A.value=!0:A.value=!1}j.value=Y.target.value}}),_&&s.jsx(Q,{className:"self-start mt-2 mb-0 text-xs w-full select-none overflow-hidden",children:s.jsx(t0,{isDisabled:_n(j.value)!==(I==null?void 0:I.linkUrl),title:I==null?void 0:I.linkTitle,description:I==null?void 0:I.linkDescription,favicon:I==null?void 0:I.linkFavicon,link:I==null?void 0:I.linkUrl,image:I==null?void 0:I.linkImage,imageWidth:12,domain:I==null?void 0:I.linkDomain})}),s.jsxs(me,{className:"w-full mt-1 justify-start select-none",children:[pc(j.value)||A.value||j.value.length<3?!pc(j.value)&&s.jsx(ye,{disabled:!0,variant:"ghost",className:"!px-1 !m-0 !h-4",children:_?s.jsxs(J,{className:"!text-grey-500",size:"xs",children:[s.jsx(x2,{size:13,className:"mr-1"}),C("Update Link Card",{ns:"dashboard"})]}):s.jsxs(J,{className:"!text-grey-500",size:"xs",children:[s.jsx(Dv,{size:13,className:"mr-1"}),C("Add Link Card",{ns:"dashboard"})]})}):s.jsx(ye,{variant:"ghost",className:"px-1 !m-0 !h-4 hover:bg-transparent",onClick:()=>pe(this,null,function*(){yield Sr("fetch_link_metadata",{url:_n(j.value),itemId:e}),q()}),children:_?s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[s.jsx(x2,{size:13,className:"mr-1"}),C("Update Link Card",{ns:"dashboard"})]}):s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[s.jsx(Dv,{size:13,className:"mr-1"}),C("Add Link Card",{ns:"dashboard"})]})}),_&&s.jsx(ye,{variant:"ghost",className:"px-1 ml-auto !h-4 hover:bg-transparent",onClick:()=>pe(this,null,function*(){yield Sr("delete_link_metadata",{itemId:e}),q()}),children:s.jsxs(J,{className:"!text-blue-500 dark:!text-blue-400 hover:underline cursor-pointer",size:"xs",children:[C("Remove",{ns:"common"}),s.jsx(Mv,{size:14,className:"ml-1"})]})})]})]}):r?s.jsx(Rj,{value:j.value,height:"200px",isDark:S,options:{mode:n!=null?n:"javascript"},onChange:Y=>{j.value=Y.getValue()}},"code-editor"):s.jsxs(s.Fragment,{children:[s.jsxs(Q,{className:"text-slate-400 flex gap-1.5 px-0.5 p-1.5 pt-0.5 items-center",children:[s.jsx(Be,{isCompact:!0,text:C("Toolbar:::Copy and Paste Formatting",{ns:"common"}),children:s.jsx(vz,{size:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Y;(Y=H==null?void 0:H.current)==null||Y.handleAddBBcode("copy")}})}),s.jsx(Be,{isCompact:!0,text:C("Toolbar:::Masked Text Formatting",{ns:"common"}),children:s.jsx(Ik,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Y;(Y=H==null?void 0:H.current)==null||Y.handleAddBBcode("mask")}})}),s.jsx(Be,{isCompact:!0,text:C("Toolbar:::Blank Text Formatting",{ns:"common"}),children:s.jsx(UU,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Y;(Y=H==null?void 0:H.current)==null||Y.handleAddBBcode("blank")}})}),s.jsx(Be,{isCompact:!0,text:C("Toolbar:::Hightlight Text Formatting",{ns:"common"}),children:s.jsx(WU,{width:19,height:19,className:"hover:text-blue-500 dark:hover:text-blue-400 cursor-pointer",onClick:()=>{var Y;(Y=H==null?void 0:H.current)==null||Y.handleAddBBcode("hl")}})}),s.jsx("div",{tabIndex:-1,className:"ml-auto mr-0.5",children:s.jsx(Be,{isCompact:!0,text:C("Toolbar:::Remove Text Formatting",{ns:"common"}),asChild:!0,children:s.jsx(Nz,{size:17,className:"hover:text-red-500 dark:hover:text-red-700 cursor-pointer",onClick:()=>{var Y;(Y=H==null?void 0:H.current)==null||Y.handleRemoveBBcodes(["copy","mask","blank","hl","h","b","i"])}})})})]}),s.jsx(po,{ref:H,tabIndex:0,enableEmoji:!1,className:"bg-white rounded-md text-sm w-full mr-1",placeholder:"Enter paste value",rows:2,autoFocus:!Gi.value,autoCorrect:"off",spellCheck:!1,enableEmojiInside:!0,label:"",maxRows:6,value:j.value,onKeyDown:Y=>{Y.stopPropagation()},onChange:Y=>{j.value=Y.target.value}})]})}),s.jsxs(me,{className:"w-full justify-start items-center select-none",children:[s.jsxs(me,{className:"items-start mt-2",children:[s.jsx(iCe,{isCode:r,isLink:g,isPath:m,isText:a,isImage:u,itemId:e,detectedLanguage:n,children:s.jsx(Q,{children:s.jsx(Be,{text:K,isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"px-2 h-8 text-slate-500 border-0 dark:hover:bg-slate-800/80 bg-slate-200 dark:bg-slate-800 text-sm group hover:text-blue-500 dark:hover:!text-blue-600",children:r?s.jsxs(s.Fragment,{children:[s.jsx(R6,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:C("Type:::Code",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):u?s.jsxs(s.Fragment,{children:[s.jsx(v2,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:C("Type:::Image",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):m?s.jsxs(s.Fragment,{children:[s.jsx(O6,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:C("Type:::Path",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):g?s.jsxs(s.Fragment,{children:[s.jsx(Fm,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:C("Type:::Link",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]}):s.jsxs(s.Fragment,{children:[s.jsx(g2,{size:16}),s.jsx(J,{className:"ml-1.5 group-hover:!text-blue-500 dark:group-hover:!text-blue-400",children:C("Type:::Text",{ns:"common"})}),s.jsx(Dr,{size:12,className:"ml-1"})]})})})})})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(Be,{text:C("Menu Options",{ns:"menus"}),isCompact:!0,side:"bottom",asChild:!0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1 h-8 w-8 text-slate-500 border-0 hover:text-blue-500 dark:group-hover:!text-blue-400",children:s.jsx(Gf,{size:16})})})})}),s.jsxs(Ar,{className:"",sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:s.jsx(J,{children:C("Menu Options",{ns:"menus"})})}),s.jsx(tr,{}),s.jsxs(He,{className:i?"font-semibold":"",onClick:Y=>{Y.preventDefault(),z({updatedItem:{isMasked:!i,itemId:e}})},children:[C("Type:::Secret",{ns:"common"}),i&&s.jsx("div",{className:"ml-auto pl-2",children:s.jsx($t,{size:15,className:"fill-transparent"})})]}),s.jsxs(He,{className:c?"font-semibold":"",onClick:Y=>{Y.preventDefault(),z({updatedItem:{isVideo:!c,itemId:e}})},children:[C("Type:::Video",{ns:"common"}),c&&s.jsx("div",{className:"ml-auto pl-2",children:s.jsx($t,{size:15,className:"fill-transparent"})})]}),s.jsxs(He,{className:h?"font-semibold":"",onClick:Y=>{Y.preventDefault(),z({updatedItem:{hasEmoji:!h,itemId:e}})},children:[C("Type:::Emoji",{ns:"common"}),h&&s.jsx("div",{className:"ml-auto pl-2",children:s.jsx($t,{size:15,className:"fill-transparent"})})]}),s.jsx(tr,{}),s.jsx(lCe,{itemId:e,onComplete:b,deletingMenuItemIds:w})]})]})]}),s.jsxs(me,{className:"items-end ml-auto mt-1",children:[s.jsx(Be,{text:C("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{b()},children:s.jsx(br,{size:18})})})}),s.jsxs(xa,{defaultOpen:!1,open:E.value,children:[s.jsx(ya,{asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsxs(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>{U()},children:[s.jsx($t,{size:18,className:"mr-1"}),C("Save",{ns:"common"})]})})}),s.jsx(ea,{sideOffset:16,align:"center",onEscapeKeyDown:()=>{E.value=!1,T.value=!1},onPointerDownOutside:()=>{E.value=!1,T.value=!1},className:"p-1.5 bg-gray-100 border-gray-200 dark:bg-gray-900 dark:border-gray-950 w-60",children:s.jsxs(me,{className:"flex-col p-1.5 rounded-md",children:[s.jsx(J,{color:"black",size:"sm",className:"!inline-block text-center pointer-events-none !font-semibold drop-zone text-yellow-600",children:A.value?"Please verify your link for any errors, or confirm to save as is.":M.value?"Please verify your path for any errors, or confirm to save as is.":D.value?"Please verify your command for any errors, or confirm to save as is.":L.value?"Please verify your command output template for any errors, or confirm to save as is.":"Are you sure you want to save this?"}),s.jsx(kr,{h:3}),s.jsxs(me,{className:"mb-1",children:[s.jsx(ye,{variant:"outline",size:"sm",className:"text-gray-500 dark:hover:text-gray-400 hover:text-gray-600 mr-3 border-gray-100 hover:border-gray-200 dark:bg-gray-900 dark:border-gray-900 dark:hover:border-gray-900 dark:hover:bg-gray-800",onClick:()=>{E.value=!1,T.value=!1},children:C("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"outline",size:"sm",className:"bg-slate-200 hover:bg-opacity-80 hover:bg-slate-200 text-slate-500 hover:text-slate-600 border-slate-200 whitespace-nowrap",onClick:()=>{U(!0)},children:C("Save It!",{ns:"common"})})]})]})})]})]})]})]})})}function uCe({isClip:e,itemId:t,isOpen:r,label:n}){const{t:a}=Tt(),o=We(!1),i=We(""),{updateMenuItemById:c}=I1(),u=We(Gi.value);return p.useEffect(()=>{o.value=!1,i.value=n!=null?n:"",Gi.value=u.value,e&&(u.value=!1)},[u.value]),s.jsx(me,{className:"justify-start w-full",children:u.value?s.jsxs(s.Fragment,{children:[s.jsx(Be,{open:o.value||yu.value,asChild:!0,text:yu.value?a("Unsaved label",{ns:"common"}):i.value.length<=T6?a("Too short",{ns:"common"}):a("Too long",{ns:"common"}),side:"bottom",className:"bg-rose-50 text-red-500 dark:bg-rose-900 dark:text-red-50 border-rose-100 dark:border-rose-950 text-base font-semibold border !px-2 !py-1.5",children:s.jsx(er,{small:!0,autoFocus:Gi.value,className:"bg-white rounded-md text-sm font-semibold w-full",placeholder:a("Enter menu label",{ns:"menus"}),onKeyDown:f=>pe(this,null,function*(){f.stopPropagation(),f.key==="Escape"?u.value=!1:f.key==="Enter"&&(!i.value.length||i.value.length>Bg)?o.value=!0:f.key==="Enter"&&(yield c({updatedItem:{name:i.value,itemId:t}}),setTimeout(()=>{u.value=!1,r||ff()},200))}),defaultValue:n,onFocus:f=>{n!=null&&n.startsWith("New ")&&f.target.select()},onChange:f=>{o.value&&f.target.value.length<=Bg&&o.value&&f.target.value.length>0&&(o.value=!1),i.value=f.target.value}})}),s.jsxs(me,{className:"ml-1",children:[s.jsx(Be,{text:a("Save",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,isDisabled:yu.value,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"px-1.5 h-8 text-blue-500 dark:!text-blue-400 hover:bg-blue-100 dark:hover:bg-blue-700 dark:hover:!text-blue-300 border-0",onClick:()=>pe(this,null,function*(){if(yu.value&&(yu.value=!1),!i.value.length||i.value.length>Bg){o.value=!0;return}o.value||(yield c({updatedItem:{name:i.value,itemId:t}}),setTimeout(()=>{u.value=!1,r||ff()},200))}),children:s.jsx($t,{size:18})})})}),s.jsx(Be,{text:a("Cancel",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Q,{tabIndex:0,children:s.jsx(ye,{variant:"outline",size:"mini",className:"ml-1 px-1.5 h-8 text-gray-400 border-0",onClick:()=>{u.value=!1,r||ff()},children:s.jsx(br,{size:18})})})})]})]}):s.jsxs(s.Fragment,{children:[s.jsx(J,{className:"text-ellipsis !block overflow-hidden whitespace-nowrap ".concat(e?"":"border-dashed border-b border-slate-400 hover:border-gray-400"),onClick:()=>{u.value=!0},color:"black",children:n}),e?s.jsx(Q,{className:"ml-1 pr-0 pl-1 pt-[1px] text-primary/50 cursor-pointer relative opacity-80 hover:opacity-100",children:s.jsx(Be,{text:a("Menu is a link to Clip. You can't edit the label directly",{ns:"menus"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(j1,{size:14})})}):s.jsx(Q,{onClick:()=>{u.value=!0},className:"ml-1 pr-0 pl-1 pt-[1px] text-primary/50 cursor-pointer relative opacity-80 hover:opacity-100",children:s.jsx(Be,{text:a("Rename",{ns:"common"}),isCompact:!0,side:"bottom",sideOffset:10,asChild:!0,children:s.jsx(Xu,{size:14})})})]})})}function NW({triggerProps:e,contentProps:t,isSelected:r,hasMultipleSelectedItems:n,isCreatingMenuItem:a,isFirstItem:o,isLastItem:i,isForm:c,isWebRequest:u,isWebScraping:f,isCommand:h,isSeparator:m,indent:v=0,item:S,hasChildren:w,isOpen:g,isClip:b,showEditMenuItemId:C,onFolderClose:j,onFolderOpen:E,showMultiSelectItems:N,deletingMenuItemIds:T,isClosedFolder:A,setSelectedItemIds:M,deselectItemById:D,selectItemById:L,setOpenItemId:z,globalSearchTerm:H,isDark:V,closeGlobalSearch:I,id:q,label:_,children:$}){const{t:U}=Tt(),{isFolder:K,isDisabled:Y,isActive:B}=S,F=p.useMemo(()=>{var Re,xt;return(xt=(Re=T.value)==null?void 0:Re.includes(q))!=null?xt:!1},[T.value,q]),G=We(!1),X=a.value&&(o||r&&i),se=a.value&&(i||r),[re,ie,oe,ae]=Qf({}),[fe,le,ue]=Jf({}),be=p.useRef(null),Ce=p.useRef(null),Pe=S.createdAt&&S.createdAt>Math.floor(Date.now())-60*1e3,Ee=(Jx.value===q||G.value)&&!N.value,Oe=!Y&&B&&!K&&!m,Ve=C.value===q,ct=re===q,gt=fe===q,Ke=ae===q,Et=fe===q?le:void 0;return s.jsxs(s.Fragment,{children:[X&&s.jsxs(me,{className:hr("flex flex-col justify-center items-center my-1.5 mb-0 animate-in fade-in duration-300 ease-in-out transition-opacity",v>0&&"ml-[".concat(v*30,"px]")),children:[s.jsx(Z2,{isCreatingMenuItem:a,showEditMenuItemId:C,isDark:V,currentMenuItemId:q,parentId:null,orderNumber:i?S.orderNumber+1:0}),s.jsx("div",{className:"h-[8px] w-[2px] bg-slate-400 opacity-20 dark:opacity-100"})]}),s.jsxs(Ym,{onOpenChange:Re=>{G.value=Re},children:[s.jsx(Zm,{ref:Ce,disabled:!Ee&&!r||!!H,children:s.jsxs(Q,{className:"relative menu-item_tour",children:[(ct||gt)&&!Et?s.jsx(Q,{className:"z-100 w-full flex justify-center fade-in-animation absolute ".concat(o?"top-[-6px]":"top-[-10px]"," ").concat(v>0?"ml-[".concat(v*10,"px]"):""),children:c?s.jsxs(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 py-[1.5px] mr-[-8px] text-[10px] uppercase font-semibold border-0",children:[U("Running",{ns:"common"}),"..."]}):s.jsxs(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 py-[1.5px] pr-4 mr-[-6px] text-[10px] uppercase font-semibold border-0",children:[s.jsx($t,{size:14,className:"mr-1"}),ct?U("Copied",{ns:"common"}):gt?U("Pasted",{ns:"common"}):""]})}):Et&&le>0&&s.jsx(Q,{className:"z-100 w-full flex justify-center fade-in-animation absolute ".concat(o?"top-[-6px]":"top-[-10px]"," ").concat(v>0?"ml-[".concat(v*10,"px]"):""),children:c?s.jsx(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-3 py-[1.5px] pr-4 mr-[-6px] text-[10px] font-semibold border-0",children:U("Run in {{pastingCountDown}}...",{ns:"common",pastingCountDown:le})}):s.jsx(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-3 py-[1.5px] pr-4 mr-[-6px] text-[10px] font-semibold border-0",children:U("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:le})})}),s.jsxs(Q,{onMouseEnter:()=>{Jx.value=q!=null?q:null},onMouseLeave:()=>{Jx.value=null},onClick:Re=>{if(!N.value){if(Re.stopPropagation(),Jx.value=q!=null?q:null,Re.shiftKey){if(m)return;if(K){A?E(q):j(q);return}C.value||z==null||z(g?null:q);return}if(Re.metaKey||Re.ctrlKey){r?D==null||D(q):L==null||L(q);return}M==null||M([q])}},className:hr("rounded-lg border-2 bg-card text-card-foreground shadow-sm flex flex-col","duration-200 ease-in-out transition-none",v>0&&"ml-[".concat(v*30,"px]"),!se&&!X?"my-1.5":"",r&&!o&&!i?"mt-1.5":"",o&&X&&!r?"mb-1.5":"",i&&se&&!r?"mt-1.5":"",r?"border-slate-400/70 dark:border-slate-600":"dark:border-slate-700/80",F&&"!border-red-400 dark:!border-red-800",Ti.value&&r&&!w&&"!border-red-400 dark:!border-red-800",g?"max-w-[340px] min-w-[270px]":"w-[270px]",Ve&&"max-w-[340px] min-w-[340px]",(ct||gt)&&"!border-green-600 dark:!border-green-700","transition-transform",vu.value===q&&"pulse-clip"),children:[s.jsx(lB,{className:"flex",children:s.jsx(DN,ee(R({onDoubleClickCapture:Re=>{if(Ve||Re.shiftKey||!Oe||G.value){Re.preventDefault();return}if(Re.altKey||Re.metaKey){if(c){ue(q,void 0,!0);return}ue(q)}else ie(q)}},e),{asChild:!0,className:hr("group bg-white text-slate-600 dark:text-slate-400 dark:bg-slate-900 flex w-full select-none items-center justify-between rounded-md pl-2 pr-1 py-[6px] text-left text-sm font-medium cursor-pointer","focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75 items-center justify-between",(r||g)&&"bg-slate-100/90 dark:bg-slate-950/80 dark:text-slate-300",Ee&&!(r||g)&&"!bg-slate-50/60 dark:!bg-slate-950/60",n&&r&&"bg-amber-50 dark:bg-amber-950/80",F&&"!bg-red-50 dark:!bg-red-950",!B&&"not-active-background bg-slate-100 text-slate-400 line-through dark:bg-slate-900 dark:text-slate-600",Ti.value&&r&&!w&&"!bg-red-50 dark:!bg-red-950/80",(ct||gt)&&"!bg-green-50 dark:!bg-green-900",e==null?void 0:e.className),children:s.jsxs(me,{className:"relative",children:[s.jsxs(me,{className:hr("mx-1 mr-3 whitespace-nowrap overflow-hidden text-[15px] w-full",N.value&&"ml-0",r||Pe?"font-semibold":"font-normal",Y?"text-gray-500/60":""),children:[N.value&&s.jsx(Q,{className:"flex flex-row items-center pr-2.5 z-100",children:s.jsx("input",{type:"checkbox",className:"form-checkbox h-[16px] w-[16px] bg-slate-400",onChange:()=>{r?D==null||D(q):L==null||L(q)},checked:r},q)}),K&&s.jsx(me,{className:"mr-1.5",children:A?s.jsx(hm,{size:17}):s.jsx(wz,{size:17})}),m?s.jsx("hr",{className:"h-[1px] border-t-0 bg-slate-600 opacity-30 dark:opacity-50 w-full"}):s.jsx(s.Fragment,{children:Ve?s.jsx(uCe,{label:_,itemId:q,isOpen:g,isClip:b}):s.jsxs(Q,{className:"whitespace-nowrap overflow-hidden text-ellipsis w-full",children:[H?Nl(_,H):_,b&&s.jsx(Be,{text:U("Menu is a link to a clip",{ns:"menus"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(j1,{size:13,className:"ml-1.5 inline"})})]})})]}),(Ee||r||g||Ve)&&!N.value?s.jsxs(me,{className:"h-[24px]",children:[m?s.jsx(s.Fragment,{children:s.jsx(Q,{className:"h-[23px]"})}):s.jsx(me,{className:"gap-1 animate-in fade-in duration-100",children:K?!Ve&&s.jsxs(un,{onClick:()=>{A?E(q):j(q)},className:hr("relative w-[24px] h-[24px] mr-1 group-hover:opacity-100 rounded-md transition-opacity text-slate-400 cursor-pointer flex items-center justify-center",g?"opacity-100":"opacity-20"),children:[s.jsx(zm,{size:"18px",className:hr("absolute transform duration-300 ease-in-out",A?"rotate-0 opacity-1":"rotate-0 opacity-0")}),s.jsx(Dr,{size:"18px",className:hr("absolute transform duration-300 ease-in-out",A?"rotate-[-90deg] opacity-0":"rotate-0 opacity-1")})]}):!Ve&&s.jsxs(s.Fragment,{children:[Oe&&s.jsx(un,{className:"hover:bg-transparent hover:text-green-600 text-slate-400",onClick:()=>{ur.value?c?ue(q,void 0,!0):ue(q):ie(q)},children:c?s.jsx(Be,{text:U("Type:::Run Auto Fill",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:Ke||gt&&!Et?s.jsx(wm,{}):s.jsx(z2,{width:16,height:16})}):u||f||h?s.jsx(Be,{text:ur.value?U("Run and Paste Response",{ns:"common"}):U("Run and Copy Response",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(js,{size:16}):Ke?s.jsx(wm,{}):s.jsx(z2,{width:16,height:16})}):s.jsx(Be,{text:ur.value?U("Copy and Paste",{ns:"common"}):U("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:ur.value?s.jsx(js,{size:16}):s.jsx(pa,{size:16})})}),Y?s.jsx(Be,{text:U("Disabled Menu",{ns:"menus"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(pm,{size:16,className:"opacity-50 mr-1.5"})}):s.jsx(s.Fragment,{children:!C.value&&!H&&s.jsxs(un,{onClick:Re=>{Re.stopPropagation(),z==null||z(g?null:q)},className:hr("relative hover:bg-transparent w-[25px] h-[24px] mr-0 hover:text-slate-500 rounded-md transition-opacity text-slate-400 cursor-pointer flex items-center justify-center"),children:[s.jsx(Dae,{size:"18px",className:hr("absolute transform duration-300 ease-in-out",g?"rotate-180 opacity-1":"rotate-0 opacity-0")}),s.jsx(Rae,{size:"18px",className:hr("absolute transform duration-300 ease-in-out",g?"rotate-180 opacity-0":"rotate-0 opacity-1")})]})})]})}),Ve?s.jsx(s.Fragment,{children:!Gi.value&&s.jsx(un,{className:"mr-1",onClick:()=>{ff()},children:s.jsx(Be,{text:U("Close Edit",{ns:"menus"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(br,{size:18})})})}):H?s.jsx(ye,{variant:"ghost",size:"mini",className:"pl-2 pr-1 text-slate-400 cursor-pointer !mt-0 flex hover:bg-transparent hover:text-blue-500",onClick:()=>{vu.value=q,I==null||I()},ref:be,children:s.jsx(Be,{text:U("Locate Menu",{ns:"contextMenus"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(Hw,{size:18})})}):s.jsx(ye,{variant:"ghost",size:"mini",className:"pr-0.5 text-secondary-foreground/50 cursor-pointer !mt-0 flex hover:bg-transparent hover:text-slate-600",onClick:Re=>{var pt,_t,ht;Re.stopPropagation();const xt=(pt=be==null?void 0:be.current)==null?void 0:pt.getBoundingClientRect().x,ot=(_t=be==null?void 0:be.current)==null?void 0:_t.getBoundingClientRect().y;(ht=Ce==null?void 0:Ce.current)==null||ht.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:xt,clientY:ot&&ot+30}))},ref:be,children:s.jsx(Be,{text:U("Options",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(sl,{size:18})})})]}):s.jsx(Q,{className:"h-[24px]"}),Pe&&s.jsx(Ll,{className:"absolute text-green-400 dark:text-green-600 pointer-events-none top-[-5px] right-[-5px] animate-in fade-in duration-500",size:28})]})}))}),s.jsx(AN,ee(R({},t),{className:hr("overflow-hidden data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down",F&&"bg-red-50 dark:bg-red-900"),children:$}))]})]})}),(Ee||r)&&s.jsx(Xke,{id:q,isSelected:r,isDisabled:Y,setSelectedItemIds:M,isActive:B,hasChildren:w,isClip:b,isImage:S.isImage,isFolder:K,itemParentId:S.parentId,isSeparator:m,setOpenItemId:z,isOpen:g,itemOrderNumber:S.orderNumber,deletingMenuItemIds:T,deselectItemById:D,selectItemById:L})]}),se&&s.jsxs(me,{className:hr("flex flex-col justify-center items-center mb-2 mt-0 animate-in fade-in duration-300 ease-in-out transition-opacity",v>0&&"ml-[".concat(v*30,"px]")),children:[s.jsx("div",{className:"h-[8px] w-[2px] bg-slate-400 opacity-20 dark:opacity-100"}),s.jsx(Z2,{isCreatingMenuItem:a,showEditMenuItemId:C,currentMenuItemId:q,isDark:V,parentId:K&&!A?q:S.parentId,orderNumber:K&&A||!K?S.orderNumber+2:0})]})]})}const Co={CLIPS:"clips",BOARDS:"boards",MENUS:"menus"};function dCe({isDark:e}){var F,G;const{t}=Tt(),[r,n]=p.useState(""),[a,o]=p.useState(Co.CLIPS),i=p.useRef(),c=Ns(null),u=Ns(null),f=Ns(!1),h=Ns(!1),{isWindows:m}=dt(_s),{setIsAutoCloseOnCopyPaste:v,isAutoCloseOnCopyPaste:S,setIsSearchNameOrLabelOnly:w,isSearchNameOrLabelOnly:g}=dt(pn),[b]=Qf({}),[C]=Jf({}),{clipItems:j,tabs:E,setCurrentTab:N}=dt(Tn),{collectionWithClips:T,fetchCollectionWithClips:A}=_B(),{collectionWithMenuItems:M,fetchCollectionWithMenuItems:D}=xge(),L=sa(),{menuItems:z}=dt(Tn),H=go(r,300),[V,I]=p.useState(!1),q=X=>{var se;X.preventDefault(),X.stopPropagation(),I(re=>!re),(se=i.current)==null||se.focus()},_=p.useMemo(()=>H.length>1,[H]),$=p.useMemo(()=>{if(H.length<=1||!V)return{results:[],count:0};const X=z.length>0?z:(M==null?void 0:M.items)||[],se=X.length>0?Vv(X,null,!1):[],re=ae=>{var fe,le,ue;return ae.name.toLowerCase().includes(H.toLowerCase())||(fe=ae.value)!=null&&fe.toLowerCase().includes(H.toLowerCase())&&!g?!0:(ue=(le=ae.children)==null?void 0:le.some(re))!=null?ue:!1},ie=(ae,fe=0)=>{let le=[];return ae.forEach(ue=>{var Pe;const be=re(ue),Ce=X.find(Ee=>Ee.itemId===ue.id);if(Ce&&be){const Ee=ee(R({},Ce),{indent:fe,id:ue.id});if(le.push(Ee),ue.children&&((Pe=ue.children)==null?void 0:Pe.length)>0){const Oe=ie(ue.children,fe+1);le=le.concat(Oe)}}}),le},oe=ie(se);return{results:oe,count:oe.length}},[z,H,V,M==null?void 0:M.items,g]),U=p.useMemo(()=>{if(H.length<=1||!V)return{results:[],count:0};const X=j.length>0?j:(T==null?void 0:T.clips)||[];return jA(X,H,E,g)},[j,H,V,T,g]),K=p.useMemo(()=>{if(H.length<=1||!V)return{results:[],count:0};const X=j.length>0?j:(T==null?void 0:T.clips)||[];return jA(X,H,E,g,!0)},[j,H,V,T,g]),Y=()=>{L("/history",{replace:!0}),I(!1)},B=()=>{L("/menu",{replace:!0}),I(!1)};return p.useEffect(()=>{V||(W9.value=r,n(""))},[V]),p.useEffect(()=>{_&&j.length===0&&A(),_&&z.length===0&&D()},[_,A,D]),p.useEffect(()=>{V||(W9.value=r,n(""))},[V]),$s(["meta+k","control+k"],q,{},[]),$s("/",q,{},[]),p.useEffect(()=>{!_||U.count>0?o(Co.CLIPS):K.count>0?o(Co.BOARDS):$.count>0&&o(Co.MENUS)},[U.count,K.count,_]),p.useEffect(()=>{V&&(b||C)&&S&&setTimeout(()=>{I(!1)},1e3)},[b,C,V]),s.jsx(s.Fragment,{children:s.jsxs(xa,{defaultOpen:!1,modal:!1,open:V,onOpenChange:()=>{I(!V)},children:[s.jsx(ya,{asChild:!0,children:s.jsxs(Q,{id:"navbar-search_tour",className:"flex flex-row bg-slate-100 dark:bg-slate-800 rounded-md p-0 items-center relative ml-2",children:[s.jsx(Qu,{placeholder:"".concat(t("GlobalSearch:::Search",{ns:"navbar"})," ..."),type:"search",id:"global-search",value:r,onChange:X=>{n(X.target.value)},ref:Ji(i),onFocus:()=>{I(!0)},iconLeft:s.jsx(mm,{className:"h-4 w-4"}),classNameInput:"w-full pr-0 h-7",className:"text-md min-w-[120px] ring-offset-0 py-1 bg-slate-100 dark:bg-slate-800 border-r-0 border-t-0 border-b-0 h-8"}),!V&&s.jsx(me,{className:"absolute right-2 text-slate-400/90 animate-in animate-out fade-in-out hover:text-slate-500 cursor-pointer",onClick:()=>{var X;I(!0),(X=i.current)==null||X.focus()},title:t("GlobalSearch:::Press / key to search",{ns:"navbar"}),children:s.jsx("svg",{width:22,height:22,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",className:"rounded-md flex items-center justify-center bg-slate-50 dark:bg-slate-900/60 p-[2px]",children:s.jsx("line",{x1:"16",x2:"8",y1:"5",y2:"18"})})})]})}),s.jsx(ea,{className:"overflow-hidden bg-gray-50 p-4 py-2 pb-3 pt-2 flex items-center flex-col w-fit rounded-md shadow-lg relative dark:bg-slate-800",sideOffset:4,onOpenAutoFocus:X=>{X.preventDefault()},onInteractOutside:X=>{X.preventDefault()},onCloseAutoFocus:X=>{X.preventDefault(),n(""),document.activeElement.blur()},children:s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"esc-key flex opacity-90 hover:opacity-100 hover:bg-opacity-100 justify-end w-[38px] h-[24px] rounded-sm top-2 left-2 absolute z-50 bg-slate-100/90 dark:bg-slate-900/90 cursor-pointer",onClick:()=>{I(!1)},title:t("Press ESC key to close",{ns:"common"})}),s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsx(Q,{className:"flex opacity-90 hover:opacity-100 hover:bg-opacity-100 top-2 right-2 absolute z-50 text-slate-400 bg-slate-100/90 dark:bg-slate-900/90 cursor-pointer",onClick:()=>{I(!1)},title:t("GlobalSearch:::Search Options",{ns:"navbar"}),children:s.jsx(Gf,{size:14})})}),s.jsxs(Ar,{children:[s.jsx(He,{disabled:!0,className:"p-0 justify-center text-[13px]",children:t("GlobalSearch:::Search Options",{ns:"navbar"})}),s.jsx(tr,{}),s.jsxs(He,{onClick:X=>{X.preventDefault(),v(!S)},children:[s.jsx(me,{className:"mr-2",children:s.jsx(J,{className:"!text-[13px] mr-1 !font-medium ".concat(S?"":"text-slate-900/50"),children:t("GlobalSearch:::Auto Close on Copy & Paste",{ns:"navbar"})})}),s.jsx(Zn,{checked:S,className:"ml-auto"})]}),s.jsxs(He,{onClick:X=>{X.preventDefault(),w(!g)},children:[s.jsx(me,{className:"mr-2",children:s.jsxs(J,{className:"!text-[13px] mr-1 flex-col !items-start !font-medium ".concat(g?"":"text-slate-900/50"),children:[t("GlobalSearch:::Search Name or Label Only",{ns:"navbar"}),s.jsx("span",{className:"text-muted-foreground opacity-70 !text-[12px] block",children:t("GlobalSearch:::Excludes clip or menu values",{ns:"navbar"})})]})}),s.jsx(Zn,{checked:g,className:"ml-auto"})]})," "]})]}),_&&s.jsx(Qi,{className:"flex flex-row z-10 select-none pb-1.5 mb-1",value:a,onValueChange:X=>{o(X)},children:s.jsxs(Ho,{className:"self-center px-1 py-1 bg-slate-200 dark:bg-slate-900",children:[s.jsxs(bn,{value:Co.CLIPS,className:"!text-xs py-1 data-[state=active]:text-slate-300 text-gray-400 hover:text-blue-400 data-[state=active]:hover:text-slate-300 dark:data-[state=active]:bg-slate-600",children:[t("Clips:::Clips",{ns:"dashboard"}),s.jsx(lt,{variant:"outline",className:"text-[12px] ml-1 py-0.5 bg-slate-100 text-gray-400 dark:bg-slate-700 dark:text-gray-400 !font-mono border-0",children:U.count>99?"99+":U.count})]}),s.jsxs(bn,{value:Co.BOARDS,className:"!text-xs py-1 data-[state=active]:text-slate-300 text-gray-400 hover:text-blue-400 data-[state=active]:hover:text-slate-300 dark:data-[state=active]:bg-slate-600",children:[t("Boards",{ns:"dashboard"}),s.jsx(lt,{variant:"outline",className:"text-[12px] ml-1 py-0.5 bg-slate-100 text-gray-400 dark:bg-slate-700 dark:text-gray-400 !font-mono border-0",children:K.count>99?"99+":K.count})]}),s.jsxs(bn,{value:Co.MENUS,className:"!text-xs py-1 data-[state=active]:text-slate-300 text-gray-400 hover:text-blue-400 data-[state=active]:hover:text-slate-300 dark:data-[state=active]:bg-slate-600",children:[t("Menus",{ns:"menus"}),s.jsx(lt,{variant:"outline",className:"text-[12px] ml-1 py-0.5 bg-slate-100 text-gray-400 dark:bg-slate-700 dark:text-gray-400 !font-mono border-0",children:$.count>99?"99+":$.count})]})]})}),s.jsxs(en,{className:"flex-col",style:{height:"auto",maxHeight:"calc(100vh - 200px)",width:420},autoHide:!1,children:[a===Co.CLIPS&&((F=U.results)==null?void 0:F.reduce((X,se,re)=>{const ie=Math.floor(re/1);return X[ie]||(X[ie]=[]),X[ie].push(se),X},[]).map((X,se)=>s.jsx(Q,{className:"mt-1 mb-2",children:X.map((re,ie)=>s.jsx(Y2,{board:re,isDark:e,closeGlobalSearch:Y,setCurrentTab:N,globalSearchTerm:H,isHistoryDragActive:!1,currentTabLayout:"auto",order:re.orderNumber,isLastBoard:ie===X.length-1,selectedItemIds:[],setSelectedItemId:()=>{}},"".concat(se,"-").concat(ie)))},"".concat(se)))),a===Co.BOARDS&&((G=K.results)==null?void 0:G.reduce((X,se,re)=>{const ie=Math.floor(re/1);return X[ie]||(X[ie]=[]),X[ie].push(se),X},[]).map((X,se)=>s.jsx(Q,{className:"mt-1 mb-2",children:X.map((re,ie)=>s.jsx(Y2,{board:re,isDark:e,globalSearchTerm:H,setCurrentTab:N,closeGlobalSearch:Y,isHistoryDragActive:!1,isGlobalSearchBoardsOnly:!0,currentTabLayout:"auto",order:re.orderNumber,isLastBoard:ie===X.length-1,selectedItemIds:[],setSelectedItemId:()=>{}},"".concat(se,"-").concat(ie)))},"".concat(se)))),a===Co.MENUS&&s.jsx(cB,{type:"single",collapsible:!0,className:"flex items-center flex-col",children:$.results.map((X,se)=>s.jsx(RN,{value:X.itemId,children:s.jsx(NW,{label:X.name,globalSearchTerm:H,closeGlobalSearch:B,isLastItem:se===$.results.length-1,deletingMenuItemIds:c,isFirstItem:se===0,isDark:e,showEditMenuItemId:u,hasChildren:X.hasChildren,isSeparator:X.isSeparator,showMultiSelectItems:f,hasSelectedItems:!1,id:X.itemId,item:X,isClip:X.isClip,isForm:X.isForm&&X.isClip,isWebRequest:X.isWebRequest&&X.isClip,isWebScraping:X.isWebScraping&&X.isClip,isCommand:X.isCommand&&X.isClip,isCreatingMenuItem:h,indent:X.indent,onFolderClose:()=>{},onFolderOpen:()=>{},isClosedFolder:!1,isSelected:!1,hasMultipleSelectedItems:!1,isOpen:!1,children:s.jsx(s.Fragment,{})})},"".concat(X.itemId)))}),_?s.jsx(s.Fragment,{children:U.count===0&&K.count===0&&$.count===0?s.jsx(Q,{className:"text-gray-400/90 dark:text-gray-600 text-center mb-1",children:t("GlobalSearch:::Nothing found in clips, boards or menus.",{ns:"navbar"})}):s.jsxs(s.Fragment,{children:[U.count===0&&a===Co.CLIPS&&s.jsx(Q,{className:"text-gray-400/90 dark:text-gray-600 text-center mb-1",children:t("GlobalSearch:::Nothing found in clips.",{ns:"navbar"})}),K.count===0&&a===Co.BOARDS&&s.jsx(Q,{className:"text-gray-400/90 dark:text-gray-600 text-center mb-1",children:t("GlobalSearch:::Nothing found in boards.",{ns:"navbar"})}),$.count===0&&a===Co.MENUS&&s.jsx(Q,{className:"text-gray-400/90 dark:text-gray-600 text-center mb-1",children:t("GlobalSearch:::Nothing found in menus.",{ns:"navbar"})})]})}):s.jsxs(Q,{className:"text-gray-400/90 dark:text-gray-600 text-center mb-2 mt-2",children:[t("GlobalSearch:::Type what you looking for",{ns:"navbar"}),"..."]})]}),s.jsx(Dc,{children:s.jsx(Q,{className:"body-overlay bg-black/30 dark:bg-black/70 rounded-lg ".concat(m?"mb-1 mx-1 !mt-[43px]":""),onClick:()=>{I(!1)}})})]})})]})})}const _W=({className:e="",showContactForm:t=!0})=>{const r=an.language==="ru",{themeDark:n}=dt(uo),a=n(),o=rl(r0),{id:i}=jr.value||{},c="".concat(o?"https://license.pastebar.app/contact/?pro=true&licenseId=".concat(i,"&"):"https://license.pastebar.app/contact/?","source=app&locale=").concat(an.language,"&dark=").concat(a?"true":"false"),{t:u}=Tt();return s.jsxs("div",{className:"flex flex-wrap gap-4 justify-center items-center ".concat(e),children:[r?s.jsx("div",{className:"flex justify-center",children:s.jsx("a",{href:"https://t.me/pastebar_ru",target:"_blank",title:"Telegram",className:"inline-flex flex-col justify-center items-center p-1 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:s.jsx("span",{className:"w-7 h-7",children:s.jsx("svg",{fill:"currentColor",viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M 26.070313 3.996094 C 25.734375 4.011719 25.417969 4.109375 25.136719 4.21875 L 25.132813 4.21875 C 24.847656 4.332031 23.492188 4.902344 21.433594 5.765625 C 19.375 6.632813 16.703125 7.757813 14.050781 8.875 C 8.753906 11.105469 3.546875 13.300781 3.546875 13.300781 L 3.609375 13.277344 C 3.609375 13.277344 3.25 13.394531 2.875 13.652344 C 2.683594 13.777344 2.472656 13.949219 2.289063 14.21875 C 2.105469 14.488281 1.957031 14.902344 2.011719 15.328125 C 2.101563 16.050781 2.570313 16.484375 2.90625 16.722656 C 3.246094 16.964844 3.570313 17.078125 3.570313 17.078125 L 3.578125 17.078125 L 8.460938 18.722656 C 8.679688 19.425781 9.949219 23.597656 10.253906 24.558594 C 10.433594 25.132813 10.609375 25.492188 10.828125 25.765625 C 10.933594 25.90625 11.058594 26.023438 11.207031 26.117188 C 11.265625 26.152344 11.328125 26.179688 11.390625 26.203125 C 11.410156 26.214844 11.429688 26.21875 11.453125 26.222656 L 11.402344 26.210938 C 11.417969 26.214844 11.429688 26.226563 11.441406 26.230469 C 11.480469 26.242188 11.507813 26.246094 11.558594 26.253906 C 12.332031 26.488281 12.953125 26.007813 12.953125 26.007813 L 12.988281 25.980469 L 15.871094 23.355469 L 20.703125 27.0625 L 20.8125 27.109375 C 21.820313 27.550781 22.839844 27.304688 23.378906 26.871094 C 23.921875 26.433594 24.132813 25.875 24.132813 25.875 L 24.167969 25.785156 L 27.902344 6.65625 C 28.007813 6.183594 28.035156 5.742188 27.917969 5.3125 C 27.800781 4.882813 27.5 4.480469 27.136719 4.265625 C 26.769531 4.046875 26.40625 3.980469 26.070313 3.996094 Z M 25.96875 6.046875 C 25.964844 6.109375 25.976563 6.101563 25.949219 6.222656 L 25.949219 6.234375 L 22.25 25.164063 C 22.234375 25.191406 22.207031 25.25 22.132813 25.308594 C 22.054688 25.371094 21.992188 25.410156 21.667969 25.28125 L 15.757813 20.75 L 12.1875 24.003906 L 12.9375 19.214844 C 12.9375 19.214844 22.195313 10.585938 22.59375 10.214844 C 22.992188 9.84375 22.859375 9.765625 22.859375 9.765625 C 22.886719 9.3125 22.257813 9.632813 22.257813 9.632813 L 10.082031 17.175781 L 10.078125 17.15625 L 4.242188 15.191406 L 4.242188 15.1875 C 4.238281 15.1875 4.230469 15.183594 4.226563 15.183594 C 4.230469 15.183594 4.257813 15.171875 4.257813 15.171875 L 4.289063 15.15625 L 4.320313 15.144531 C 4.320313 15.144531 9.53125 12.949219 14.828125 10.71875 C 17.480469 9.601563 20.152344 8.476563 22.207031 7.609375 C 24.261719 6.746094 25.78125 6.113281 25.867188 6.078125 C 25.949219 6.046875 25.910156 6.046875 25.96875 6.046875 Z"})})})})}):s.jsx("div",{className:"flex justify-center",children:s.jsx("a",{href:"https://discord.gg/RW27D63bZ3",target:"_blank",title:"Discord",className:"inline-flex flex-col justify-center items-center p-1 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:s.jsx("span",{className:"w-7 h-7",children:s.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 192 192",children:[s.jsx("path",{stroke:"currentColor",strokeWidth:"12",d:"m68 138-8 16c-10.19-4.246-20.742-8.492-31.96-15.8-3.912-2.549-6.284-6.88-6.378-11.548-.488-23.964 5.134-48.056 19.369-73.528 1.863-3.334 4.967-5.778 8.567-7.056C58.186 43.02 64.016 40.664 74 39l6 11s6-2 16-2 16 2 16 2l6-11c9.984 1.664 15.814 4.02 24.402 7.068 3.6 1.278 6.704 3.722 8.567 7.056 14.235 25.472 19.857 49.564 19.37 73.528-.095 4.668-2.467 8.999-6.379 11.548-11.218 7.308-21.769 11.554-31.96 15.8l-8-16m-68-8s20 10 40 10 40-10 40-10"}),s.jsx("ellipse",{cx:"71",cy:"101",fill:"currentColor",rx:"13",ry:"15"}),s.jsx("ellipse",{cx:"121",cy:"101",fill:"currentColor",rx:"13",ry:"15"})]})})})}),s.jsx("div",{className:"flex justify-center",children:s.jsx("a",{href:"https://www.facebook.com/PasteBarApp",target:"_blank",title:"Facebook",className:"inline-flex flex-col justify-center items-center p-1 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:s.jsx("span",{className:"w-7 h-7",children:s.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21ZM12 21V13.0001M12 13.0001V10.0001C12 8.02404 13.3537 7.03622 15.5 7.18462M12 13.0001L15 13.0001M12 13.0001H9",stroke:"currentColor",strokeWidth:"1.5"})})})})}),s.jsx("div",{className:"flex justify-center",children:s.jsx("a",{href:"https://twitter.com/PasteBar_App",target:"_blank",title:"Twitter",className:"inline-flex flex-col justify-center items-center p-1 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:s.jsx("span",{className:"w-7 h-7",children:s.jsx("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:s.jsx("path",{d:"M3.50003 4.50005C1.50012 7.99982 2.63692 13.738 7.63684 16.2382C6.52918 17.0001 4.50012 17.9999 2.50012 18.4998C7.00012 20.4999 11.5001 20.9999 16.0001 17.4999C19.4154 14.8436 20.1668 10.1666 20.0001 7.99991L22.5001 5.00023H19.0001C17.5001 3.49991 16.022 3.57155 14.5001 4.00017C12.724 4.50037 11.7934 6.34309 12.0001 8.49991C9.00012 8.99968 6.00012 6.99982 3.50003 4.50005Z",stroke:"currentColor",strokeWidth:"1.5"})})})})}),s.jsx("div",{className:"flex justify-center",children:s.jsx("a",{href:"https://github.com/PasteBar",target:"_blank",title:"GitHub",className:"inline-flex flex-col justify-center items-center p-1.5 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:s.jsx("span",{className:"w-6 h-6",children:s.jsx("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:s.jsx("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm3.163 21.783h-.093a.513.513 0 0 1-.382-.14.513.513 0 0 1-.14-.372v-1.406c.006-.467.01-.94.01-1.416a3.693 3.693 0 0 0-.151-1.028 1.832 1.832 0 0 0-.542-.875 8.014 8.014 0 0 0 2.038-.471 4.051 4.051 0 0 0 1.466-.964c.407-.427.71-.943.885-1.506a6.77 6.77 0 0 0 .3-2.13 4.138 4.138 0 0 0-.26-1.476 3.892 3.892 0 0 0-.795-1.284 2.81 2.81 0 0 0 .162-.582c.033-.2.05-.402.05-.604 0-.26-.03-.52-.09-.773a5.309 5.309 0 0 0-.221-.763.293.293 0 0 0-.111-.02h-.11c-.23.002-.456.04-.674.111a5.34 5.34 0 0 0-.703.26 6.503 6.503 0 0 0-.661.343c-.215.127-.405.249-.573.362a9.578 9.578 0 0 0-5.143 0 13.507 13.507 0 0 0-.572-.362 6.022 6.022 0 0 0-.672-.342 4.516 4.516 0 0 0-.705-.261 2.203 2.203 0 0 0-.662-.111h-.11a.29.29 0 0 0-.11.02 5.844 5.844 0 0 0-.23.763c-.054.254-.08.513-.081.773 0 .202.017.404.051.604.033.199.086.394.16.582A3.888 3.888 0 0 0 5.702 10a4.142 4.142 0 0 0-.263 1.476 6.871 6.871 0 0 0 .292 2.12c.181.563.483 1.08.884 1.516.415.422.915.75 1.466.964.653.25 1.337.41 2.033.476a1.828 1.828 0 0 0-.452.633 2.99 2.99 0 0 0-.2.744 2.754 2.754 0 0 1-1.175.27 1.788 1.788 0 0 1-1.065-.3 2.904 2.904 0 0 1-.752-.824 3.1 3.1 0 0 0-.292-.382 2.693 2.693 0 0 0-.372-.343 1.841 1.841 0 0 0-.432-.24 1.2 1.2 0 0 0-.481-.101c-.04.001-.08.005-.12.01a.649.649 0 0 0-.162.02.408.408 0 0 0-.13.06.116.116 0 0 0-.06.1.33.33 0 0 0 .14.242c.093.074.17.131.232.171l.03.021c.133.103.261.214.382.333.112.098.213.209.3.33.09.119.168.246.231.381.073.134.15.288.231.463.188.474.522.875.954 1.145.453.243.961.364 1.476.351.174 0 .349-.01.522-.03.172-.028.343-.057.515-.091v1.743a.5.5 0 0 1-.533.521h-.062a10.286 10.286 0 1 1 6.324 0v.005z"})})})})}),t&&s.jsx("div",{className:"flex justify-center",children:s.jsx("a",{href:c,target:"_blank",title:u("Contact Form",{ns:"common"}),className:"inline-flex flex-col justify-center items-center p-1 rounded-md hover:bg-blue-600 dark:hover:bg-blue-600 hover:text-white",children:s.jsx("span",{className:"w-7 h-7",children:s.jsx("svg",{fill:"currentColor",viewBox:"0 0 32 32",children:s.jsx("path",{d:"M26.2,8.5c-2.2-3.2-5.6-5.2-9.3-5.5c-0.3,0-0.6,0-0.9,0c-3.7,0-7.2,1.6-9.7,4.3c-2.5,2.7-3.6,6.4-3.2,10.1\n c0.7,6,5.5,10.8,11.5,11.4C15,29,15.5,29,16,29c2.6,0,5-0.7,7.2-2.2c0.5-0.3,0.6-0.9,0.3-1.4c-0.3-0.5-0.9-0.6-1.4-0.3\n c-2.2,1.4-4.7,2.1-7.3,1.8c-5.1-0.5-9.1-4.6-9.7-9.7C4.7,14.1,5.7,11,7.8,8.7c2.3-2.5,5.6-3.9,9-3.6c3.2,0.2,6,1.9,7.8,4.6\n c1.9,2.9,2.4,6.3,1.3,9.6l0,0.1c-0.3,1-1.3,1.7-2.4,1.7c-1.4,0-2.5-1.1-2.5-2.5V17v-2v-4c0-0.6-0.4-1-1-1s-1,0.4-1,1v0\n c-0.8-0.6-1.9-1-3-1c-2.8,0-5,2.2-5,5v2c0,2.8,2.2,5,5,5c1.4,0,2.6-0.6,3.5-1.4c0.7,1.4,2.2,2.4,4,2.4c1.9,0,3.6-1.2,4.3-3.1l0-0.1\n C29.1,16,28.5,11.9,26.2,8.5z M19,17c0,1.7-1.3,3-3,3s-3-1.3-3-3v-2c0-1.7,1.3-3,3-3s3,1.3,3,3V17z"})})})})})]})};function fCe(){const{t:e}=Tt(),{setTheme:t,theme:r}=Tk(),{mode:n,setMode:a}=dt(uo);p.useEffect(()=>{r!==n&&a(r)},[r]);const o=r==="light"?s.jsx(Mo.sun,{size:14,className:"ml-2"}):r==="dark"?s.jsx(Mo.moon,{size:14,className:"ml-2"}):s.jsx(Mo.sunmoon,{width:12,height:12,className:"ml-2"});return s.jsxs(Ds,{children:[s.jsxs(ms,{children:[e("Color Theme",{ns:"navbar"})," ",o]}),s.jsxs(gs,{children:[s.jsxs(da,{checked:r==="light",onClick:()=>t("light"),children:[s.jsx("span",{className:"flex tems-end",children:s.jsx(Mo.sun,{className:"mr-2",size:17})}),s.jsx("span",{children:e("Theme:::Light",{ns:"navbar"})})]}),s.jsxs(da,{checked:r==="dark",onClick:()=>t("dark"),children:[s.jsx("span",{className:"flex items-end",children:s.jsx(Mo.moon,{className:"mr-2",size:15})}),s.jsx("span",{children:e("Theme:::Dark",{ns:"navbar"})})]}),s.jsxs(da,{checked:r==="system",onClick:()=>t("system"),children:[s.jsx("span",{className:"flex w-[1.5rem] items-end",children:s.jsx(Mo.sunmoon,{className:"mr-2",width:13,height:13})}),s.jsx("span",{children:e("Theme:::System",{ns:"navbar"})})]})]})]})}const Ny=String.fromCharCode,_y={};function Hk(e){var t,r;try{const n=vCe(e.trim()),a=hCe(n);return(r=JSON.parse((t=pCe(a))!=null?t:"{}"))!=null?r:{}}catch(n){throw console.error(n),new Error("Error parsing data.")}}(function(e,t){const r=Bf,n=e();for(;;)try{if(-parseInt(r(230))/1*(parseInt(r(233))/2)+-parseInt(r(242))/3+parseInt(r(245))/4*(-parseInt(r(234))/5)+-parseInt(r(238))/6+-parseInt(r(229))/7*(parseInt(r(237))/8)+-parseInt(r(243))/9+-parseInt(r(240))/10*(-parseInt(r(246))/11)===t)break;n.push(n.shift())}catch(a){n.push(n.shift())}})(X2,744619);function hCe(e){const r=Bf,n=Lse+"_1974";let a="";for(let o=0;o>=1,C[n(227)]==0&&(C[n(227)]=t,C[n(231)]=r(C[n(226)]++)),v|=(S>0?1:0)*g,g<<=1;switch(v){case 0:for(v=0,w=Math[n(244)](2,8),g=1;g!=w;)S=C[n(231)]&C.position,C.position>>=1,C[n(227)]==0&&(C[n(227)]=t,C[n(231)]=r(C[n(226)]++)),v|=(S>0?1:0)*g,g<<=1;b=Ny(v);break;case 1:for(v=0,w=Math[n(244)](2,16),g=1;g!=w;)S=C[n(231)]&C[n(227)],C[n(227)]>>=1,C[n(227)]==0&&(C[n(227)]=t,C[n(231)]=r(C.index++)),v|=(S>0?1:0)*g,g<<=1;b=Ny(v);break;case 2:return""}for(a[3]=b,m=b,f[n(236)](b);;){if(C.index>e)return"";for(v=0,w=Math.pow(2,c),g=1;g!=w;)S=C.val&C[n(227)],C[n(227)]>>=1,C.position==0&&(C[n(227)]=t,C[n(231)]=r(C[n(226)]++)),v|=(S>0?1:0)*g,g<<=1;switch(b=v){case 0:for(v=0,w=Math[n(244)](2,8),g=1;g!=w;)S=C[n(231)]&C.position,C[n(227)]>>=1,C[n(227)]==0&&(C.position=t,C[n(231)]=r(C[n(226)]++)),v|=(S>0?1:0)*g,g<<=1;a[i++]=Ny(v),b=i-1,o--;break;case 1:for(v=0,w=Math.pow(2,16),g=1;g!=w;)S=C[n(231)]&C.position,C[n(227)]>>=1,C[n(227)]==0&&(C.position=t,C[n(231)]=r(C[n(226)]++)),v|=(S>0?1:0)*g,g<<=1;a[i++]=Ny(v),b=i-1,o--;break;case 2:return f[n(232)]("")}if(o==0&&(o=Math[n(244)](2,c),c++),a[b])u=a[b];else if(b===i)u=m+m.charAt(0);else return null;f[n(236)](u),a[i++]=m+u[n(241)](0),o--,m=u,o==0&&(o=Math[n(244)](2,c),c++)}}function vCe(e){let t=e.replace(/-/g,"+").replace(/_/g,"/");const r="=".repeat((4-t.length%4)%4);return t+=r,decodeURIComponent(escape(atob(t)))}function TW(e){return s.jsxs("svg",ee(R({color:"accent",height:"8",viewBox:"0 0 24 24"},e),{children:[s.jsx("g",{fill:"none",stroke:"#888888",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",transform:"matrix(0.166612, 0, 0, 0.166612, 14.40597, 11.442867)"}),s.jsx("g",{transform:"matrix(0.764827, 0, 0, 0.764827, 2.823834, 2.82207)",children:s.jsx("path",{d:"M 12.886 0.233 C 14.248 0.233 15.368 1.262 15.514 2.587 L 17.588 2.587 C 18.98 2.587 20.133 3.663 20.229 5.053 L 20.235 5.234 C 20.234 5.673 19.91 6.047 19.474 6.106 L 19.351 6.116 C 18.911 6.116 18.538 5.791 18.479 5.354 L 18.47 5.234 C 18.47 4.794 18.145 4.42 17.707 4.358 L 17.588 4.35 L 15.08 4.35 C 14.588 5.083 13.765 5.52 12.886 5.519 L 8.761 5.519 C 7.881 5.52 7.058 5.083 6.567 4.351 L 4.059 4.35 C 3.617 4.35 3.245 4.677 3.185 5.114 L 3.176 5.234 L 3.176 21.121 C 3.176 21.569 3.508 21.936 3.939 21.995 L 4.059 22.004 L 7.587 22.004 C 8.027 22.004 8.402 22.329 8.463 22.765 L 8.471 22.885 C 8.471 23.372 8.075 23.767 7.587 23.767 L 4.059 23.767 C 2.666 23.768 1.512 22.691 1.418 21.303 L 1.412 21.121 L 1.412 5.234 C 1.412 3.841 2.488 2.687 3.878 2.592 L 4.059 2.587 L 6.133 2.587 C 6.281 1.247 7.412 0.233 8.761 0.233 L 12.886 0.233 Z M 12.886 1.998 L 8.761 1.998 C 8.084 2.023 7.689 2.771 8.048 3.344 C 8.203 3.59 8.47 3.744 8.761 3.754 L 12.886 3.754 C 13.562 3.779 14.011 3.064 13.693 2.465 C 13.535 2.167 13.223 1.986 12.886 1.998 Z",fill:"rgb(255, 193, 49)"})}),s.jsx("path",{d:"M 18.086 8.404 C 19.151 8.404 20.034 9.228 20.107 10.289 L 20.111 10.428 L 20.111 18.975 C 20.111 20.04 19.288 20.923 18.224 20.995 L 18.086 21 L 12.238 21 C 11.173 21 10.291 20.176 10.217 19.114 L 10.214 18.975 L 10.214 10.428 C 10.214 9.364 11.037 8.48 12.099 8.408 L 12.238 8.404 L 18.086 8.404 Z M 12.308 12.418 C 12.308 12.418 12.295 12.4 12.318 12.466 C 12.348 12.524 12.407 12.617 12.451 12.661 C 12.49 12.699 12.563 12.743 12.607 12.766 C 12.65 12.78 12.739 12.8 12.794 12.805 L 17.727 12.805 C 17.76 12.804 17.814 12.795 17.848 12.788 C 17.875 12.779 17.93 12.758 17.961 12.743 C 17.992 12.724 18.047 12.685 18.071 12.661 C 18.1 12.632 18.143 12.577 18.163 12.546 C 18.204 12.454 18.253 12.275 18.261 12.177 C 18.248 12.079 18.205 11.926 18.167 11.845 C 18.119 11.778 18.032 11.68 17.968 11.644 C 17.912 11.611 17.801 11.584 17.727 11.578 L 12.794 11.578 C 12.744 11.582 12.663 11.597 12.611 11.615 C 12.563 11.64 12.492 11.686 12.451 11.722 C 12.417 11.758 12.353 11.851 12.317 11.919 C 12.293 11.99 12.267 12.113 12.261 12.19 L 12.308 12.418 Z M 12.308 15.004 C 12.308 15.004 12.295 14.986 12.318 15.052 C 12.348 15.11 12.407 15.203 12.451 15.247 C 12.49 15.285 12.563 15.329 12.607 15.351 C 12.65 15.366 12.739 15.386 12.794 15.39 L 17.727 15.39 C 17.76 15.39 17.814 15.381 17.848 15.374 C 17.875 15.364 17.93 15.344 17.961 15.329 C 17.992 15.309 18.047 15.27 18.071 15.247 C 18.1 15.218 18.143 15.163 18.163 15.132 C 18.204 15.039 18.253 14.86 18.261 14.763 C 18.248 14.665 18.205 14.512 18.167 14.431 C 18.119 14.364 18.032 14.266 17.968 14.229 C 17.912 14.197 17.801 14.17 17.727 14.164 L 12.794 14.164 C 12.744 14.168 12.663 14.183 12.611 14.2 C 12.563 14.226 12.492 14.272 12.451 14.307 C 12.417 14.343 12.353 14.437 12.317 14.505 C 12.293 14.576 12.267 14.699 12.261 14.776 L 12.308 15.004 Z M 12.308 17.589 C 12.308 17.589 12.295 17.571 12.318 17.637 C 12.348 17.695 12.407 17.788 12.451 17.832 C 12.49 17.87 12.563 17.914 12.607 17.937 C 12.65 17.951 12.739 17.971 12.794 17.976 L 17.727 17.976 C 17.76 17.975 17.814 17.966 17.848 17.959 C 17.875 17.95 17.93 17.929 17.961 17.914 C 17.992 17.895 18.047 17.856 18.071 17.832 C 18.1 17.803 18.143 17.748 18.163 17.717 C 18.204 17.625 18.253 17.446 18.261 17.348 C 18.248 17.25 18.205 17.097 18.167 17.016 C 18.119 16.949 18.032 16.851 17.968 16.815 C 17.912 16.782 17.801 16.755 17.727 16.749 L 12.794 16.749 C 12.744 16.753 12.663 16.768 12.611 16.786 C 12.563 16.811 12.492 16.857 12.451 16.893 C 12.417 16.929 12.353 17.022 12.317 17.09 C 12.293 17.161 12.267 17.284 12.261 17.361 L 12.308 17.589 Z",fill:"rgb(36, 200, 219)"})]}))}var xCe={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};function yCe(){var gt,Ke,Et;const{t:e,i18n:t}=Tt(),[r,n]=p.useState(!1),a=sa(),{systemTheme:o}=Tk(),{setSystemTheme:i,themeDark:c,deviceId:u}=dt(uo),{currentCollectionId:f,collections:h}=dt(Tn),{selectCollectionById:m}=FN(),v=c();t.language,p.useEffect(()=>{Sr("is_autostart_enabled").then(xt=>{n(!!xt)});const Re=i6(({error:xt,status:ot})=>{xCe.TAURI_DEBUG&&(console.log("Updater status",ot),console.log("Updater error",xt))});return()=>{Re.then(xt=>{xt()})}},[]),p.useEffect(()=>{o&&(Sr("set_icon",{name:"main",isDark:o==="dark"}),i(o))},[o]);const S=()=>ys==null?void 0:ys.minimize(),w=()=>pe(this,null,function*(){(yield ys==null?void 0:ys.isMaximized())?ys==null||ys.unmaximize():ys==null||ys.maximize()}),g=()=>ys.hide(),b=()=>ys.close(),{pinnedClips:C}=dt(Tn),{isShowCollectionNameOnNavBar:j,isShowDisabledCollectionsOnNavBarMenu:E,setIsShowCollectionNameOnNavBar:N,copyPasteDelay:T,setCopyPasteDelay:A,setIsHistoryEnabled:M,isHistoryEnabled:D,setLicenseKey:L,setUpdaterSkipVersion:z,setUpdaterRemindLater:H,licenseKey:V,relaunchApp:I,checkForUpdate:q,installUpdate:_,appToursCompletedList:$,appToursSkippedList:U,setAppToursCompletedList:K,setAppToursSkippedList:Y,setIsHistoryAutoUpdateOnCaputureEnabled:B,isHistoryAutoUpdateOnCaputureEnabled:F,setIsShowDisabledCollectionsOnNavBarMenu:G}=dt(pn),{fontSize:X,decreaseFontSize:se,increaseFontSize:re,resetFontSize:ie,setIsSwapPanels:oe,isShowPinned:ae,setIsShowPinned:fe,isSwapPanels:le}=dt(_s);$s(["alt+b"],()=>{a("/history",{replace:!0})}),$s(["alt+m"],()=>{a("/menu",{replace:!0})}),$s(["alt+l"],()=>{Ii.value=!0}),$s(["alt+p"],()=>{oe(!le)}),p.useEffect(()=>{if(V)try{const Re=Hk(V);Re&&typeof Re.id=="string"&&Re.id.length>0&&(jr.value=Re)}catch(Re){jr.value=null,L(null)}else jr.value=null},[V]);const ue=rl(r0),be=rl(B1),Ce=W1(),Pe=th(),Ee=ZU(),{licenseExpInDays:Oe}=p.useMemo(()=>YU(),[jr.value]),Ve=p.useMemo(()=>U1(),[jr.value]),ct=En(1717950330306).format("MMMM, YYYY");return p.useEffect(()=>{Ee&&Ef.map(({code:Re})=>Re).includes(Ee)&&t.language!==Ee&&t.changeLanguage(Ee)},[Ee]),p.useEffect(()=>{window.plausible&&u&&window.plausible("App Start",{props:{deviceId:u,isPro:ue,isBeta:be,isExpired:Ce}})},[u,ue,Ce,be,window.plausible]),p.useMemo(()=>Br.value,[Br.value]),s.jsx("div",{"data-tauri-drag-region":!0,className:"h-[41px] absolute top-0 left-0 w-full",id:"navbar-panel_tour",children:s.jsxs(KH,{className:"border-0 !h-full border-b border-slate-200/50 dark:border-slate-500/50 rounded-b-none bg-gray-50 pl-3 hover:bg-white dark:hover:bg-gray-950 active:cursor-move active:bg-white transform duration-300 dark:bg-gray-900 dark:text-slate-300",children:[s.jsx(Ah,{children:s.jsx("div",{className:"inline-flex h-fit w-fit items-center text-cyan-500",children:s.jsx(TW,{width:28,height:28,"data-tauri-drag-region":!0})})}),s.jsxs(Ah,{children:[s.jsxs(Jh,{className:"md m-0 px-2.5 text-sm font-semibold whitespace-nowrap",id:"navbar-pastebar_tour",children:[s.jsx(J,{className:"font-semibold",children:ue?Ve?s.jsxs(s.Fragment,{children:[e("PasteBar",{ns:"common"})," ",s.jsx("span",{className:"text-amber-700 dark:text-amber-600 ml-1 opacity-80",children:e("Pro",{ns:"common"})})]}):e("PasteBar Pro",{ns:"common"}):e("PasteBar",{ns:"common"})}),be&&s.jsx(J,{className:"bg-slate-200/90 dark:bg-slate-600/90 dark:!text-slate-300 px-1.5 rounded-md !text-slate-600 text-xs ml-1.5 mb-0 py-0.5",children:"beta"})]}),s.jsxs(ep,{children:[s.jsxs(sr,{onClick:()=>{E4.value=!0},children:[e("About PasteBar",{ns:"common"}),s.jsx(es,{children:s.jsxs(Be,{text:e("Build on {{buildDate}}",{ns:"common",buildDate:ct}),isCompact:!0,side:"right",children:["v","0.2.1",be?"b":""]})})]}),!ue&&s.jsxs(s.Fragment,{children:[s.jsx(Wn,{}),s.jsx(sr,{onClick:()=>{a("/app-settings/license/register",{replace:!0})},children:e("Register License",{ns:"common"})})]}),ue&&Ce&&s.jsxs(s.Fragment,{children:[s.jsx(Wn,{}),s.jsx(sr,{onClick:()=>{a("/app-settings/license",{replace:!0})},className:"text-amber-700 dark:text-amber-600",children:e("License Expired",{ns:"common"})})]}),n2.value?gp.value?s.jsxs(sr,{className:"!font-semibold",onClick:Re=>{Re.preventDefault(),_()},children:[e("Installing Update...",{ns:"updater"}),s.jsx(tM,{className:"animate-spin opacity-75 ml-auto",size:"14"})]}):s.jsx(s.Fragment,{children:ue&&Ce?s.jsxs(Ds,{children:[s.jsx(ms,{className:"!font-semibold",children:Za.value?e("Confirm Restart",{ns:"updater"}):e("Confirm Update",{ns:"updater"})}),s.jsxs(gs,{className:"dark:text-slate-300",children:[s.jsx(sr,{className:"text-amber-700 dark:text-amber-600 whitespace-pre-wrap w-[180px] focus:!bg-amber-100 focus:dark:!bg-amber-950 focus:text-amber-700 focus:dark:text-amber-600",onClick:Re=>{Re.preventDefault(),a("/app-settings/license",{replace:!0})},children:e("Pro license expired. Upgrading removes all Pro features. Renew to updates or use current version forever.",{ns:"updater"})}),s.jsxs(sr,{onClick:Re=>{Re.preventDefault(),Za.value?I():_()},children:[nc.value?s.jsx(J,{children:e("Update Install Error",{ns:"updater"})}):Za.value?s.jsx(J,{children:e("Restart",{ns:"updater"})}):s.jsx(J,{children:e("Install Update",{ns:"updater"})}),s.jsxs(es,{className:"ml-auto pl-2",children:["v",Di.value]})]})]})]}):s.jsxs(sr,{className:"!font-semibold",onClick:Re=>{Re.preventDefault(),Za.value?I():_()},children:[nc.value?s.jsx(J,{children:e("Try Install Again",{ns:"updater"})}):Za.value?e("Restart",{ns:"updater"}):e("Install Update",{ns:"updater"}),s.jsxs(es,{className:"ml-auto pl-2",children:["v",Di.value]})]})}):s.jsx(sr,{onClick:Re=>{Re.preventDefault(),q(!0)},children:Od.value?e("No Update Available",{ns:"updater"}):ec.value?e("Checking for Update...",{ns:"updater"}):e("Check for Update",{ns:"updater"})}),s.jsx(Wn,{}),s.jsxs(Ds,{children:[s.jsxs(ms,{children:[e("Settings",{ns:"settings"})," ..."]}),s.jsxs(gs,{className:"w-[230px] dark:text-slate-300",children:[s.jsxs(sr,{onClick:()=>{a("/app-settings/history",{replace:!0})},children:[e("Clipboard History Settings",{ns:"settings"}),s.jsx(es,{children:s.jsx(so,{keys:"ALT+H"})})]}),s.jsxs(sr,{onClick:()=>{a("/app-settings/collections",{replace:!0})},children:[e("Manage Collections",{ns:"settings"}),s.jsx(es,{children:s.jsx(so,{keys:"ALT+С"})})]}),s.jsx(sr,{onClick:()=>{a("/app-settings/preferences",{replace:!0})},children:e("User Preferences",{ns:"settings"})}),s.jsx(sr,{onClick:()=>{a("/app-settings/security",{replace:!0})},children:e("Security",{ns:"settings"})}),s.jsxs(sr,{onClick:()=>{a("/app-settings/license",{replace:!0})},children:[e("License",{ns:"settings"}),ue&&s.jsx(es,{children:s.jsxs(Be,{text:e("Expires on {{licenseExpInDays}}",{ns:"common",licenseExpInDays:Oe}),isCompact:!0,side:"right",children:["Pro",be?" (beta)":""]})})]}),s.jsx(Wn,{}),s.jsxs(Ds,{children:[s.jsxs(ms,{children:[e("Capture History",{ns:"history"})," ..."]}),s.jsxs(gs,{className:"dark:text-slate-300 text-slate-800",children:[s.jsxs(da,{checked:D,onClick:Re=>{Re.preventDefault(),M(!D)},children:[s.jsx(J,{className:"mr-2 ".concat(D?"text-slate-800":"text-slate-900/50"),children:e("Enable Capture History",{ns:"history"})}),s.jsx(es,{className:"ml-auto",children:s.jsx(so,{keys:"ALT+H"})})]}),s.jsxs(da,{checked:F,onClick:Re=>{Re.preventDefault(),B(!F)},children:[s.jsx(J,{className:"mr-2 ".concat(F?"text-slate-800":"text-slate-900/50"),children:e("Auto Update on Capture",{ns:"history"})}),s.jsx(es,{className:"ml-auto",children:s.jsx(so,{keys:"ALT+A"})})]}),s.jsx(Wn,{}),s.jsxs(sr,{onClick:()=>{a("/app-settings/history",{replace:!0})},children:[s.jsx(L6,{className:"mr-2 h-4 w-4"}),e("All History Settings",{ns:"history"})," ..."]})]})]}),s.jsxs(Ds,{children:[s.jsx(ms,{children:s.jsxs(s.Fragment,{children:[e("Paste Delay",{ns:"contextMenus"}),"...",T&&s.jsxs(lt,{className:"ml-2 py-0 bg-slate-200 text-slate-500 dark:bg-slate-700 dark:text-slate-400",variant:"outline",children:[T,"s"]})]})}),s.jsxs(gs,{className:"w-[235px] dark:text-slate-300",children:[s.jsx(da,{checked:T===1,onSelect:()=>{A(1)},children:s.jsxs(J,{children:["1 ",e("second",{ns:"common"})]})}),s.jsx(da,{checked:T===2,onSelect:()=>{A(2)},children:s.jsxs(J,{children:["2 ",e("seconds",{ns:"common"})]})}),s.jsx(da,{checked:T===3,onSelect:()=>{A(3)},children:s.jsxs(J,{children:["3 ",e("seconds",{ns:"common"})]})}),s.jsx(da,{checked:T===4,onSelect:()=>{A(4)},children:s.jsxs(J,{children:["4 ",e("seconds",{ns:"common"})]})}),s.jsx(da,{checked:T===5,onSelect:()=>{A(5)},children:s.jsxs(J,{children:["5 ",e("seconds",{ns:"common"})]})})]})]}),s.jsx(Wn,{}),s.jsxs(sr,{onClick:()=>{window.location.reload()},children:[e("Refresh Application UI",{ns:"settings"}),s.jsx(es,{children:s.jsx(so,{keys:"ALT+R"})})]})]})]}),s.jsx(Wn,{}),s.jsxs(sr,{onClick:()=>{Ii.value=!0},children:[e("Lock App Screen",{ns:"navbar"}),s.jsx(es,{className:"ml-1",children:"⌘L"})]}),s.jsxs(sr,{onClick:g,children:[e("Close Main Window",{ns:"navbar"}),s.jsx(es,{children:"⌘W"})]}),s.jsxs(sr,{onClick:b,children:[e("Quit",{ns:"common"}),s.jsx(es,{children:"⌘Q"})]})]})]}),s.jsxs(Ah,{children:[s.jsx(Jh,{className:"font-normal px-2.5",id:"navbar-view_tour",children:e("View",{ns:"navbar"})}),s.jsxs(ep,{children:[s.jsxs(sr,{onClick:()=>{a("/history",{replace:!0})},children:[e("Clipboard History",{ns:"common"}),s.jsx(es,{children:"⌘B"})]}),s.jsxs(sr,{onClick:()=>{a("/menu",{replace:!0})},children:[e("Paste Menu",{ns:"common"}),s.jsx(es,{children:"⌘M"})]}),s.jsx(es,{}),s.jsx(Wn,{}),s.jsxs(Ds,{children:[s.jsxs(ms,{children:[e("Options",{ns:"navbar"})," ..."]}),s.jsxs(gs,{className:"w-[235px] dark:text-slate-300",children:[s.jsxs(da,{checked:le,onClick:()=>{oe(!le)},children:[e("Swap Panels Layout",{ns:"navbar"}),s.jsx(es,{children:"⌘P"})]}),s.jsx(da,{checked:j,onClick:()=>{N(!j)},children:e("Show Collections Name",{ns:"navbar"})}),s.jsx(da,{checked:E,onClick:()=>{G(!E)},children:e("Show Disabled Collections",{ns:"settings"})}),s.jsx(Wn,{}),s.jsx(da,{checked:r,onClick:()=>pe(this,null,function*(){yield Sr("autostart",{enabled:!r}),n(!r)}),children:e("Enable Auto Start",{ns:"settings"})})]})]}),s.jsx(fCe,{}),s.jsx(Wn,{}),s.jsxs(sr,{disabled:X==="125%",onClick:Re=>{Re.preventDefault(),re()},children:[e("Increase UI Font Size",{ns:"settings"})," ",s.jsx(Fn,{width:"1em",height:"18",className:"ml-auto"})]}),s.jsxs(sr,{disabled:X==="85%",onClick:Re=>{Re.preventDefault(),se()},children:[e("Decrease UI Font Size",{ns:"settings"})," ",s.jsx(jz,{width:"1em",height:"18",className:"ml-auto"})]}),s.jsx(sr,{disabled:X==="100%",onClick:Re=>{Re.preventDefault(),ie()},children:e("Reset Font Size",{ns:"settings"})}),s.jsx(Wn,{}),s.jsxs(Ds,{children:[s.jsxs(ms,{children:[e("Language",{ns:"navbar"})," ..."]}),s.jsx(gs,{children:Ef.map(({code:Re,name:xt,flag:ot})=>s.jsxs(da,{disabled:Ee&&Re!==Ee,checked:t.language===Re,className:"pr-6 ".concat(t.language===Re?"font-semibold":""),onClick:()=>{t.changeLanguage(Re)},children:[s.jsx("span",{className:"flags mr-3",children:ot})," ",xt]},Re))})]})]})]}),h.length>0&&s.jsxs(Ah,{children:[s.jsx(Jh,{className:"font-normal min-w-fit px-2.5",id:"navbar-collections_tour",children:s.jsxs(me,{className:"flex justify-start items-center whitespace-nowrap overflow-hidden",children:[s.jsx(Pce,{className:"mr-1.5 text-slate-500",size:18}),s.jsx(Q,{className:"overflow-hidden text-ellipsis max-w-[16rem]",children:j?(Ke=(gt=h.find(({collectionId:Re})=>Re===f))==null?void 0:gt.title)!=null?Ke:e("Collections",{ns:"collections"}):e("Collections",{ns:"collections"})})]})}),s.jsxs(ep,{forceMount:!0,children:[s.jsx(sr,{inset:!0,disabled:!0,className:"py-0.5",children:e("Switch collections",{ns:"collections"})}),s.jsx(Wn,{}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"400px",width:"100%",minWidth:"200px"},autoHide:!1,children:s.jsx(t0e,{value:f!=null?f:"",children:h.filter(({isEnabled:Re})=>E||Re).sort((Re,xt)=>{if(E){if(Re.isEnabled&&!xt.isEnabled)return-1;if(!Re.isEnabled&&xt.isEnabled)return 1}return Re.createdAt-xt.createdAt}).map(({collectionId:Re,isEnabled:xt,isSelected:ot,title:pt})=>s.jsx(GH,{value:Re,disabled:!xt,onClick:()=>{m({selectCollection:{collectionId:Re}})},children:s.jsx("span",{className:ot?"font-semibold":"",children:pt})},Re))})}),s.jsx(Wn,{}),s.jsxs(sr,{onClick:()=>{a("/app-settings/collections",{replace:!0})},children:[s.jsx(Gf,{className:"mr-2",size:14}),e("Manage Collections",{ns:"collections"})]}),s.jsxs(sr,{onClick:()=>{Pe?a("/app-settings/collections/new",{replace:!0}):za.value=!0},children:[s.jsx(Fn,{className:"mr-2",size:15}),e("Add Collection",{ns:"collections"}),s.jsx(Al,{})]})]})]}),s.jsxs("div",{"data-tauri-drag-region":!0,className:"inline-flex h-full w-full items-center justify-center",children:[s.jsx(dCe,{isDark:v}),ae?s.jsx(ye,{onClick:()=>{fe(!1)},id:"navbar-pinned_tour",title:e("Hide Pinned",{ns:"pinned"}),variant:"ghost",className:"relative h-7 focus:outline-none px-2 mx-2 !bg-slate-50 text-slate-400 dark:!bg-slate-900 dark:hover:!bg-slate-800 hover:text-slate-600 dark:text-slate-400",children:s.jsx(Mo.pinoff,{className:"h-4 w-4"})}):s.jsxs(ye,{onClick:()=>{fe(!0)},id:"navbar-pinned_tour",title:e("Show Pinned",{ns:"pinned"}),variant:"ghost",className:"relative h-7 focus:outline-none px-2 mx-2 !bg-slate-50 text-slate-400 dark:!bg-slate-900 dark:hover:!bg-slate-800 hover:text-slate-600 dark:text-slate-400",children:[s.jsx(Mo.pin,{className:"h-4 w-4"}),C.length>0&&s.jsx(lt,{variant:"outline",className:"bg-orange-100 dark:bg-orange-900/80 dark:border-orange-950 border absolute border-orange-50 cursor-pointer px-1.5 left-[30px] top",children:s.jsx(J,{className:"font-mono !text-orange-400 font-semibold",children:C.length})})]})]}),s.jsxs("div",{"data-tauri-drag-region":!0,className:"inline-flex h-full justify-end",children:[n2.value?s.jsxs(Ah,{children:[s.jsx(Jh,{className:nc.value?"bg-red-100/70 dark:bg-red-900/70":Za.value?"bg-amber-100/70 dark:bg-amber-900/70":"bg-teal-100/70 dark:bg-teal-900/70",children:s.jsx(Be,{text:e("Version {{newVersion}} is available",{ns:"updater",newVersion:Di.value}),sideOffset:16,side:"left",children:s.jsxs(me,{className:"flex justify-start items-center whitespace-nowrap overflow-hidden",children:[s.jsx(Q,{className:"overflow-hidden text-ellipsis max-w-[16rem] mr-2 text-[13px]",children:nc.value?s.jsx(J,{children:e("Update Install Error",{ns:"updater"})}):Za.value?s.jsx(J,{children:e("Restart to Finish",{ns:"updater"})}):s.jsx(J,{children:e("Update Available",{ns:"updater"})})}),s.jsx(bz,{size:15})]})})}),s.jsxs(ep,{children:[gp.value?s.jsxs(sr,{className:"!font-semibold",onClick:Re=>{Re.preventDefault(),_()},children:[e("Installing Update...",{ns:"updater"}),s.jsx(tM,{className:"animate-spin opacity-75 ml-auto",size:"14"})]}):s.jsx(s.Fragment,{children:ue&&Ce?s.jsxs(Ds,{children:[s.jsx(ms,{className:"!font-semibold",children:Za.value?e("Confirm Restart",{ns:"updater"}):e("Confirm Update",{ns:"updater"})}),s.jsxs(gs,{className:"dark:text-slate-300",children:[s.jsx(sr,{className:"text-amber-700 dark:text-amber-600 whitespace-pre-wrap w-[180px] focus:!bg-amber-100 focus:dark:!bg-amber-950 focus:text-amber-700 focus:dark:text-amber-600",onClick:Re=>{Re.preventDefault(),a("/app-settings/license",{replace:!0})},children:e("Pro license expired. Upgrading removes all Pro features. Renew to updates or use current version forever.",{ns:"updater"})}),s.jsxs(sr,{onClick:Re=>{Re.preventDefault(),Za.value?I():_()},children:[nc.value?s.jsx(J,{children:e("Update Install Error",{ns:"updater"})}):Za.value?s.jsx(J,{children:e("Restart",{ns:"updater"})}):s.jsx(J,{children:e("Install Update",{ns:"updater"})}),s.jsxs(es,{className:"ml-auto pl-2",children:["v",Di.value]})]})]})]}):s.jsxs(sr,{className:"!font-semibold",onClick:Re=>{Re.preventDefault(),Za.value?I():_()},children:[Za.value?e("Restart",{ns:"updater"}):nc.value?e("Try Install Again",{ns:"updater"}):e("Install Update",{ns:"updater"}),s.jsxs(es,{className:"ml-auto pl-2",children:["v",Di.value]})]})}),ue&&Ce&&s.jsx(sr,{className:"text-amber-700 dark:text-amber-600 whitespace-pre-wrap focus:!bg-amber-100 focus:dark:!bg-amber-950 focus:text-amber-700 focus:dark:text-amber-600",onClick:Re=>{Re.preventDefault(),a("/app-settings/license",{replace:!0})},children:e("Upgrade removes Pro features",{ns:"updater"})}),s.jsx(Wn,{}),((Et=r2.value)==null?void 0:Et.length)&&s.jsxs(Ds,{children:[s.jsxs(ms,{children:[e("View Changes",{ns:"updater"})," ..."]}),s.jsxs(gs,{className:"w-[230px] dark:text-slate-300",children:[Di.value&&s.jsx(sr,{disabled:!0,className:"!opacity-60",children:s.jsx(Q,{children:s.jsx(Q,{className:"text-sm",children:t2.value&&e("Release date {{date}}",{ns:"updater",date:t2.value})})})}),s.jsx(Wn,{}),r2.value.map((Re,xt)=>s.jsx(sr,{disabled:!0,className:"!opacity-80",children:Re},xt))]})]}),s.jsxs(sr,{onClick:()=>{H()},children:[e("Remind Me Later",{ns:"updater"}),s.jsx(es,{className:"ml-auto pl-2",children:s.jsx(uae,{size:14})})]}),ue&&s.jsxs(s.Fragment,{children:[s.jsx(Wn,{}),s.jsxs(sr,{onClick:()=>{z(Di.value)},children:[e("Skip This Version",{ns:"updater"}),s.jsx(es,{className:"ml-auto pl-2",children:s.jsx(cae,{size:14})})]})]})]})]}):s.jsxs(Ah,{children:[s.jsx(Jh,{className:"font-normal px-2.5",id:"navbar-help_tour",children:e("Help",{ns:"help"})}),s.jsxs(ep,{children:[s.jsxs(Ds,{children:[s.jsx(ms,{children:e("App Guided Tours",{ns:"help"})}),s.jsxs(gs,{className:"dark:text-slate-300",children:[s.jsxs(sr,{onClick:()=>{Br.value=ar.historyPanelTour},children:[e("Clipboard History Tour",{ns:"help"}),$.includes(ar.historyPanelTour)?s.jsx(lt,{variant:"outline",title:e("Tour completed",{ns:"help"}),className:"ml-1.5 !font-normal bg-green-50 border-green-200 text-green-600 dark:bg-green-900 dark:border-green-800 dark:text-green-200",children:s.jsx($t,{className:"w-3 h-3"})}):U.includes(ar.historyPanelTour)?s.jsx(lt,{variant:"outline",title:e("Tour skipped",{ns:"help"}),className:"ml-1.5 !font-normal bg-yellow-50 border-yellow-400 text-yellow-600 dark:bg-yellow-900 dark:border-yellow-800 dark:text-yellow-200",children:s.jsx(br,{className:"w-3 h-3"})}):s.jsx(lt,{variant:"outline",className:"ml-1.5 !font-normal",children:"6"})]}),s.jsxs(sr,{onClick:()=>{Br.value=ar.dashboardClipsTour},children:[e("Boards and Clips Tour",{ns:"help"}),$.includes(ar.dashboardClipsTour)?s.jsx(lt,{variant:"outline",title:e("Tour completed",{ns:"help"}),className:"ml-1.5 !font-normal bg-green-50 border-green-200 text-green-600 dark:bg-green-900 dark:border-green-800 dark:text-green-200",children:s.jsx($t,{className:"w-3 h-3"})}):U.includes(ar.dashboardClipsTour)?s.jsx(lt,{variant:"outline",title:e("Tour skipped",{ns:"help"}),className:"ml-1.5 !font-normal bg-yellow-50 border-yellow-400 text-yellow-600 dark:bg-yellow-900 dark:border-yellow-800 dark:text-yellow-200",children:s.jsx(br,{className:"w-3 h-3"})}):s.jsx(lt,{variant:"outline",className:"ml-1.5 !font-normal",children:"8"})]}),s.jsxs(sr,{onClick:()=>{Br.value=ar.menuTour},children:[e("Paste Menu Tour",{ns:"help"}),$.includes(ar.menuTour)?s.jsx(lt,{variant:"outline",title:e("Tour completed",{ns:"help"}),className:"ml-1.5 !font-normal bg-green-50 border-green-200 text-green-600 dark:bg-green-900 dark:border-green-800 dark:text-green-200",children:s.jsx($t,{className:"w-3 h-3"})}):U.includes(ar.menuTour)?s.jsx(lt,{variant:"outline",title:e("Tour skipped",{ns:"help"}),className:"ml-1.5 !font-normal bg-yellow-50 border-yellow-400 text-yellow-600 dark:bg-yellow-900 dark:border-yellow-800 dark:text-yellow-200",children:s.jsx(br,{className:"w-3 h-3"})}):s.jsx(lt,{variant:"outline",className:"ml-1.5 !font-normal",children:"10"})]}),s.jsx(Wn,{}),s.jsxs(sr,{onClick:()=>{Br.value=ar.navBarTour},children:[e("Navigation Bar Tour",{ns:"help"}),$.includes(ar.navBarTour)?s.jsx(lt,{variant:"outline",title:e("Tour completed",{ns:"help"}),className:"ml-1.5 !font-normal bg-green-50 border-green-200 text-green-600 dark:bg-green-900 dark:border-green-800 dark:text-green-200",children:s.jsx($t,{className:"w-3 h-3"})}):U.includes(ar.navBarTour)?s.jsx(lt,{variant:"outline",title:e("Tour skipped",{ns:"help"}),className:"ml-1.5 !font-normal bg-yellow-50 border-yellow-400 text-yellow-600 dark:bg-yellow-900 dark:border-yellow-800 dark:text-yellow-200",children:s.jsx(br,{className:"w-3 h-3"})}):s.jsx(lt,{variant:"outline",className:"ml-1.5 !font-normal",children:"8"})]}),s.jsxs(sr,{onClick:()=>{Br.value=ar.settingsTour},children:[e("PasteBar Settings Tour",{ns:"help"}),$.includes(ar.settingsTour)?s.jsx(lt,{variant:"outline",title:e("Tour completed",{ns:"help"}),className:"ml-1.5 !font-normal bg-green-50 border-green-200 text-green-600 dark:bg-green-900 dark:border-green-800 dark:text-green-200",children:s.jsx($t,{className:"w-3 h-3"})}):U.includes(ar.settingsTour)?s.jsx(lt,{variant:"outline",title:e("Tour skipped",{ns:"help"}),className:"ml-1.5 !font-normal bg-yellow-50 border-yellow-400 text-yellow-600 dark:bg-yellow-900 dark:border-yellow-800 dark:text-yellow-200",children:s.jsx(br,{className:"w-3 h-3"})}):s.jsx(lt,{variant:"outline",className:"ml-1.5 !font-normal",children:"6"})]}),s.jsx(Wn,{}),s.jsxs(Ds,{children:[s.jsx(ms,{children:e("Guided Tours Options",{ns:"help"})}),s.jsxs(gs,{className:"dark:text-slate-300",children:[s.jsx(sr,{onClick:()=>{const Re=Object.values(ar);K([...Re])},children:e("Mark All Completed",{ns:"help"})}),s.jsx(sr,{onClick:()=>{K([]),Y([])},children:e("Reset All Tours",{ns:"help"})})]})]})]})]}),s.jsxs(Ds,{children:[s.jsx(ms,{children:e("Feature Highlights",{ns:"help"})}),s.jsxs(gs,{className:"dark:text-slate-300",children:[s.jsxs(Ds,{children:[s.jsx(ms,{children:e("Clipboard History",{ns:"help"})}),s.jsx(gs,{className:"dark:text-slate-300",children:e(ar.historyPanelTour,{returnObjects:!0,defaultValue:[],lng:"en",ns:"tours"}).map((Re,xt)=>s.jsx(sr,{onClick:()=>{Br.value=ar.historyPanelTour,mu.value=Re.element},children:e(Re.popover.title,{ns:"help"})},xt))})]}),s.jsxs(Ds,{children:[s.jsx(ms,{children:e("Boards and Clips",{ns:"help"})}),s.jsx(gs,{className:"dark:text-slate-300",children:e(ar.dashboardClipsTour,{returnObjects:!0,defaultValue:[],ns:"tours",lng:"en"}).map((Re,xt)=>s.jsx(sr,{onClick:()=>{Br.value=ar.dashboardClipsTour,mu.value=Re.element},children:e(Re.popover.title,{ns:"help"})},xt))})]}),s.jsxs(Ds,{children:[s.jsx(ms,{children:e("Paste Menu",{ns:"help"})}),s.jsx(gs,{className:"dark:text-slate-300",children:e(ar.menuTour,{returnObjects:!0,defaultValue:[],ns:"tours",lng:"en"}).map((Re,xt)=>s.jsx(sr,{onClick:()=>{Br.value=ar.menuTour,mu.value=Re.element},children:e(Re.popover.title,{ns:"help"})},xt))})]}),s.jsx(Wn,{}),s.jsxs(Ds,{children:[s.jsx(ms,{children:e("Navigation Bar",{ns:"help"})}),s.jsx(gs,{className:"dark:text-slate-300",children:e(ar.navBarTour,{returnObjects:!0,defaultValue:[],ns:"tours",lng:"en"}).map((Re,xt)=>s.jsx(sr,{onClick:()=>{Br.value=ar.navBarTour,mu.value=Re.element},children:e(Re.popover.title,{ns:"help"})},xt))})]}),s.jsxs(Ds,{children:[s.jsx(ms,{children:e("PasteBar Settings",{ns:"help"})}),s.jsx(gs,{className:"dark:text-slate-300",children:e(ar.settingsTour,{returnObjects:!0,defaultValue:[],lng:"en",ns:"tours"}).map((Re,xt)=>s.jsx(sr,{onClick:()=>{Br.value=ar.settingsTour,mu.value=Re.element},children:e(Re.popover.title,{ns:"help"})},xt))})]})]}),s.jsx(Wn,{}),s.jsxs(Ds,{children:[s.jsx(ms,{children:e("Support and Feedback",{ns:"help"})}),s.jsxs(gs,{className:"dark:text-slate-300",children:[s.jsx(sr,{onClick:()=>{N4.value=!0},children:ue?e("Priority Support Pro Form",{ns:"help"}):e("Contact Us Form",{ns:"help"})}),!ue&&s.jsxs(sr,{onClick:()=>{za.value=!0},children:[e("Priority Support",{ns:"help"}),s.jsx(Al,{})]}),s.jsx(Wn,{}),s.jsx(sr,{disabled:!0,className:"pb-0",children:s.jsxs(J,{className:"text-sm mb-2 flex justify-center items-center w-full",children:[e("Stay in touch",{ns:"common"}),s.jsx(Fm,{className:"w-[13px] h-[13px] ml-1"})]})}),s.jsx(sr,{children:s.jsx(_W,{className:"!gap-2 grid grid-cols-4 items-center justify-center w-full",showContactForm:!1})})]})]})]})]})]}),s.jsx(ye,{onClick:S,title:e("Window:::Minimize Window",{ns:"navbar"}),variant:"ghost",className:"h-8 focus:outline-none",children:s.jsx(Mo.minimize,{className:"h-3 w-3"})}),s.jsx(ye,{onClick:w,title:e("Window:::Maximize Window",{ns:"navbar"}),variant:"ghost",className:"h-8 focus:outline-none",children:s.jsx(ale,{className:"h-4 w-4"})}),s.jsx(ye,{onClick:g,id:"navbar-close-window_tour",variant:"ghost",className:"h-8 focus:outline-none",title:e("Window:::Close Window",{ns:"navbar"}),children:s.jsx(br,{className:"h-4 w-4"})})]})]})})}function bCe(r){var n=r,{children:e}=n,t=ke(n,["children"]);return s.jsx(G1e,ee(R({},t),{children:e}))}function wCe(){const e=["Alt","Meta"];function t(o){return e.includes(o.key)}function r(o){t(o)&&(ur.value=!0)}function n(o){t(o)&&(ur.value=!1)}function a(){ur.value=!1}return p.useEffect(()=>(window.addEventListener("keydown",r),window.addEventListener("keyup",n),window.addEventListener("focus",a),()=>{window.removeEventListener("keydown",r),window.removeEventListener("keyup",n),window.removeEventListener("focus",a)}),[]),ur}const kCe=1,CCe=1e4;let AS=0;function SCe(){return AS=(AS+1)%Number.MAX_VALUE,AS.toString()}const Xd=new Map,Q2=new Map,qv=(e,t)=>{Xd.has(e)&&clearTimeout(Xd.get(e));const r=setTimeout(()=>{Xd.delete(e),Q2.delete(e),tv({type:"REMOVE_TOAST",toastId:e})},t);Xd.set(e,r),Q2.set(e,t)},jCe=(e,t)=>{switch(t.type){case"ADD_TOAST":return ee(R({},e),{toasts:[t.toast,...e.toasts].slice(0,kCe)});case"UPDATE_TOAST":return ee(R({},e),{toasts:e.toasts.map(r=>r.id===t.toast.id?R(R({},r),t.toast):r)});case"DISMISS_TOAST":{const{toastId:r,delay:n,isForce:a}=t;return r&&n?qv(r,n):e.toasts.forEach(o=>{n&&qv(o.id,n)}),ee(R({},e),{toasts:e.toasts.map(o=>o.id===r||r===void 0?ee(R({},o),{open:!a}):o)})}case"REMOVE_TOAST":return t.toastId===void 0?ee(R({},e),{toasts:[]}):ee(R({},e),{toasts:e.toasts.filter(r=>r.id!==t.toastId)})}},cb=[];let ub={toasts:[]};function tv(e){ub=jCe(ub,e),cb.forEach(t=>{t(ub)})}function q1(a){var o=a,{delay:e=3e3,onDismiss:t=()=>{},className:r=""}=o,n=ke(o,["delay","onDismiss","className"]);const i=SCe(),c=f=>tv({type:"UPDATE_TOAST",toast:ee(R({},f),{id:i})}),u=()=>{tv({type:"DISMISS_TOAST",toastId:i,delay:e,isForce:!0}),t()};return tv({type:"ADD_TOAST",toast:ee(R({},n),{id:i,open:!0,onOpenChange:f=>{f||u()}})}),e!==0&&qv(i,e),{id:i,className:r,dismiss:u,update:c}}function ECe(){const[e,t]=p.useState(ub);p.useEffect(()=>(cb.push(t),()=>{const a=cb.indexOf(t);a>-1&&cb.splice(a,1)}),[e]);const r=a=>{if(Xd.has(a)){const o=Q2.get(a)||CCe;clearTimeout(Xd.get(a)),qv(a,o)}},n=a=>{if(Xd.has(a)){const o=Q2.get(a);o&&qv(a,o)}};return ee(R({},e),{toast:q1,resetTimer:r,continueTimer:n,dismiss:(a,o)=>tv({type:"DISMISS_TOAST",toastId:a,isForce:o})})}const du=yt(""),NCe=({delay:e=800,onCopied:t=()=>{}})=>{const{copyPasteSequencePinnedDelay:r,copyPasteSequenceIsReversOrder:n}=dt(pn),a=i=>{i&&!du.value&&(du.value=i,setTimeout(()=>{Hs("copy_history_item",{historyId:i}).then(c=>{c==="ok"?requestAnimationFrame(()=>{du.value="",t()}):(du.value="",console.error("Failed to copy history item",c))}).catch(c=>{du.value="",console.error("Failed to copy history item",c)})},e))},o=i=>pe(void 0,null,function*(){n&&(i=i.reverse());for(const c of i)a(c),yield new Promise(u=>setTimeout(u,r*1e3))});return[du.value,a,o]},fu=yt(""),ug=yt(0),_Ce=({delay:e=800,onPasted:t=()=>{}})=>{const{copyPasteDelay:r,copyPasteSequencePinnedDelay:n,copyPasteSequenceIsReversOrder:a}=dt(pn),o=p.useRef(),i=(h,m=0)=>new Promise((v,S)=>{Hs("copy_paste_history_item",{historyId:h,delay:m}).then(w=>{w==="ok"?v():(fu.value="",console.error("Failed to copy history item",w),S())}).catch(w=>{fu.value="",console.error("Failed to copy history item",w),S()})}),c=p.useCallback((h,m=1e3)=>(clearInterval(o.current),new Promise(v=>{ug.value=h,o.current=setInterval(()=>{ug.value>0?(ug.value===1&&v(),ug.value-=1):clearInterval(o.current)},m)})),[fu.value]),u=(h,m)=>new Promise(v=>pe(void 0,null,function*(){m=m!=null?m:r,h?(fu.value=h,m>0&&(yield c(m)),yield i(h),setTimeout(()=>{requestAnimationFrame(()=>{t(),v()})},e)):(fu.value="",v())})),f=h=>pe(void 0,null,function*(){a&&(h=h.reverse());for(const m of h)yield u(m,n)});return[fu.value,ug.value,u,f]},TCe=()=>window.__TAURI_INVOKE__;function PCe(){return TCe()("app_ready")}var Ty={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const _A=["mousemove","keydown","scroll","keypress","mousedown"];function MCe(){wCe();const e=gr(),t=sa(),r=dt(_s),n=We(null),a=dt(pn),o=dt(uo),i=dt(pi),c=p.useRef(),{i18n:u,t:f}=Tt(),h=p.useCallback(Wz(()=>{n.value===null||Ii.value||(Ii.value=!1,c.current&&clearTimeout(c.current),c.current=setTimeout(()=>{Ii.value=!0},n.value))},1e3),[n]);p.useEffect(()=>{Ii.value?a.setIsAppLocked(!0):a.setIsAppLocked(!1)},[Ii.value]),p.useEffect(()=>{PCe().then(E=>{var N,T,A,M,D,L,z,H,V,I,q,_,$,U,K,Y,B,F,G,X,se,re,ie,oe,ae,fe,le,ue,be,Ce,Pe,Ee,Oe,Ve,ct,gt,Ke,Et,Re,xt,ot,pt,_t,ht,It,Ft,Vt,Ge,Zt,nr,vr,pr,Wr,Le,Dt,Ze,mr,Se;if(E!==null)try{const{constants:je,settings:we,permissionstrusted:Fe}=JSON.parse(E),{app_dev_data_dir:nt,app_data_dir:rt,app_detect_languages_supported:Ie}=je;if((N=we.userSelectedLanguage)!=null&&N.valueText&&((T=we.userSelectedLanguage)==null?void 0:T.valueText)!==""&&u.language!==((A=we.userSelectedLanguage)==null?void 0:A.valueText)&&u.changeLanguage(we.userSelectedLanguage.valueText),((M=we.userSelectedLanguage)==null?void 0:M.valueText)===""&&u.resolvedLanguage!=="en"&&u.changeLanguage(u.resolvedLanguage),a.initSettings({appDataDir:Ty.TAURI_DEBUG?nt:rt,appLastUpdateVersion:(D=we.appLastUpdateVersion)==null?void 0:D.valueText,appLastUpdateDate:(L=we.appLastUpdateDate)==null?void 0:L.valueText,isFirstRun:(z=we.isFirstRun)==null?void 0:z.valueBool,isFirstRunAfterUpdate:(H=we.isFirstRunAfterUpdate)==null?void 0:H.valueBool,isHistoryDetectLanguageEnabled:(V=we.isHistoryDetectLanguageEnabled)==null?void 0:V.valueBool,historyDetectLanguageMinLines:(I=we.historyDetectLanguageMinLines)==null?void 0:I.valueInt,historyExclusionList:(q=we.historyExclusionList)==null?void 0:q.valueText,isExclusionListEnabled:(_=we.isExclusionListEnabled)==null?void 0:_.valueBool,isAutoMaskWordsListEnabled:($=we.isAutoMaskWordsListEnabled)==null?void 0:$.valueBool,autoMaskWordsList:(U=we.autoMaskWordsList)==null?void 0:U.valueText,historyDetectLanguagesPrioritizedList:(K=we.historyDetectLanguagesPrioritizedList)==null?void 0:K.valueText.split(","),historyDetectLanguagesEnabledList:(Y=we.historyDetectLanguagesEnabledList)==null?void 0:Y.valueText.split(","),appToursCompletedList:(B=we.appToursCompletedList)==null?void 0:B.valueText.split(","),appToursSkippedList:(F=we.appToursSkippedList)==null?void 0:F.valueText.split(","),isHistoryAutoUpdateOnCaputureEnabled:(G=we.isHistoryAutoUpdateOnCaputureEnabled)==null?void 0:G.valueBool,isHistoryEnabled:(X=we.isHistoryEnabled)==null?void 0:X.valueBool,isAutoClearSettingsEnabled:(se=we.isAutoClearSettingsEnabled)==null?void 0:se.valueBool,autoClearSettingsDuration:(re=we.autoClearSettingsDuration)==null?void 0:re.valueInt,autoClearSettingsDurationType:(ie=we.autoClearSettingsDurationType)==null?void 0:ie.valueText,copyPasteDelay:(oe=we.copyPasteDelay)==null?void 0:oe.valueInt,copyPasteSequencePinnedDelay:(fe=(ae=we.copyPasteSequencePinnedDelay)==null?void 0:ae.valueInt)!=null?fe:3,copyPasteSequenceIsReversOrder:(le=we.copyPasteSequenceIsReversOrder)==null?void 0:le.valueBool,pasteSequenceEachSeparator:(ue=we.pasteSequenceEachSeparator)==null?void 0:ue.valueText,isAutoCloseOnCopyPaste:(be=we.isAutoCloseOnCopyPaste)==null?void 0:be.valueBool,isAutoPreviewLinkCardsEnabled:(Ce=we.isAutoPreviewLinkCardsEnabled)==null?void 0:Ce.valueBool,isClipNotesHoverCardsEnabled:(Pe=we.isClipNotesHoverCardsEnabled)==null?void 0:Pe.valueBool,clipNotesHoverCardsDelayMS:(Ee=we.clipNotesHoverCardsDelayMS)==null?void 0:Ee.valueInt,clipNotesMaxWidth:(Oe=we.clipNotesMaxWidth)==null?void 0:Oe.valueInt,clipNotesMaxHeight:(Ve=we.clipNotesMaxHeight)==null?void 0:Ve.valueInt,isAutoFavoriteOnDoubleCopyEnabled:(ct=we.isAutoFavoriteOnDoubleCopyEnabled)==null?void 0:ct.valueBool,isIdleScreenAutoLockEnabled:(gt=we.isIdleScreenAutoLockEnabled)==null?void 0:gt.valueBool,idleScreenAutoLockTimeInMinutes:(Ke=we.idleScreenAutoLockTimeInMinutes)==null?void 0:Ke.valueInt,isShowHistoryCaptureOnLockedScreen:(Et=we.isShowHistoryCaptureOnLockedScreen)==null?void 0:Et.valueBool,screenLockPassCode:(Re=we.screenLockPassCode)==null?void 0:Re.valueText,screenLockPassCodeLength:(xt=we.screenLockPassCodeLength)==null?void 0:xt.valueInt,screenLockRecoveryPasswordMasked:(ot=we.screenLockRecoveryPasswordMasked)==null?void 0:ot.valueText,isAppLocked:(pt=we.isAppLocked)==null?void 0:pt.valueBool,isScreenLockPassCodeRequireOnStart:(_t=we.isScreenLockPassCodeRequireOnStart)==null?void 0:_t.valueBool,isSearchNameOrLabelOnly:(ht=we.isSearchNameOrLabelOnly)==null?void 0:ht.valueBool,isSkipAutoStartPrompt:(It=we.isSkipAutoStartPrompt)==null?void 0:It.valueBool,isShowCollectionNameOnNavBar:(Ft=we.isShowCollectionNameOnNavBar)==null?void 0:Ft.valueBool,isShowDisabledCollectionsOnNavBarMenu:(Vt=we.isShowDisabledCollectionsOnNavBarMenu)==null?void 0:Vt.valueBool,userSelectedLanguage:(Ge=we.userSelectedLanguage)==null?void 0:Ge.valueText,licenseKey:(Zt=we.licenseKey)==null?void 0:Zt.valueText,isAppReady:!0}),a.initConstants({APP_DETECT_LANGUAGES_SUPPORTED:Ie}),p9().then($e=>{var Ye;$e==="Windows_NT"&&((Ye=we.copyPasteDelay)==null?void 0:Ye.valueInt)===0&&a.updateSetting("copyPasteDelay",2)}),(nr=we.isFirstRun)!=null&&nr.valueBool&&(ys.setSize(new wv(1105,710)),a.updateSetting("isFirstRun",!1)),(vr=we.isIdleScreenAutoLockEnabled)!=null&&vr.valueBool&&((pr=we.idleScreenAutoLockTimeInMinutes)==null?void 0:pr.valueInt)>0&&(_A.forEach($e=>window.addEventListener($e,h)),n.value=((Wr=we.idleScreenAutoLockTimeInMinutes)==null?void 0:Wr.valueInt)*1e3*60),((Le=we.isAppLocked)!=null&&Le.valueBool||(Dt=we.isScreenLockPassCodeRequireOnStart)!=null&&Dt.valueBool)&&(Ii.value=!0),!((Ze=we.appToursCompletedList)!=null&&Ze.valueText.split(",").includes(ar.historyPanelTour))&&!((mr=we.appToursSkippedList)!=null&&mr.valueText.split(",").includes(ar.historyPanelTour))&&Fe){const $e=q1({title:"".concat(f("Welcome to PasteBar",{ns:"help"})," 🎉"),delay:0,description:s.jsxs(s.Fragment,{children:[f("WelcomeDescription",{ns:"help"}),s.jsx(me,{className:"mt-3",children:f("WelcomeTour",{ns:"help"})}),s.jsxs(me,{className:"justify-between",children:[s.jsx(ye,{className:"bg-blue-500 dark:bg-blue-700 dark:hover:bg-blue-800 hover:bg-blue-600 px-4 mt-3 text-white",onClick:()=>{Br.value=ar.historyPanelTour,$e.dismiss()},children:f("Start Tour",{ns:"help"})}),s.jsxs(me,{className:"gap-3",children:[s.jsx(ye,{variant:"light",className:"text-gray-800 px-4 mt-3 dark:bg-slate-800 dark:text-gray-400 hover:dark:text-gray-300",onClick:()=>{$e.dismiss()},children:f("Later",{ns:"help"})}),s.jsx(ye,{variant:"outline",className:"text-gray-800 px-4 mt-3",onClick:()=>{$e.dismiss();const Ye=Object.values(ar);a.setAppToursSkippedList([...Ye])},children:f("Skip All Tours",{ns:"help"})})]})]})]})})}(Se=we.isSkipAutoStartPrompt)!=null&&Se.valueBool||Hs("is_autostart_enabled").then($e=>pe(this,null,function*(){if(!$e&&(yield Wb("Start the app at system startup?",{title:"PasteBar auto start",okLabel:"Turn on",cancelLabel:"Later"})))try{yield Hs("autostart",{enabled:!0})}catch(mt){console.error(mt)}})),Fe===!1&&(e2.value=!0)}catch(je){console.error(je)}}),p9().then(E=>{r.setOSType(E)}),ys.innerSize().then(E=>{const{width:N,height:T}=E;(N<740||T<600)&&ys.setSize(new wv(750,620))}),o.deviceId===""&&Hs("get_device_id").then(E=>{const N=E;o.setDeviceId(N)}),(!Ty.TAURI_DEBUG||Ty.VITE_ENABLE_DEV_AUTO_UPDATER)&&a.checkForUpdate();const S=Li("clipboard://clipboard-monitor/update",E=>pe(this,null,function*(){E.payload==="clipboard update"&&(du.value&&(yield new Promise(N=>setTimeout(N,600)),du.value=""),fu.value&&(yield new Promise(N=>setTimeout(N,600)),fu.value=""),yield e.invalidateQueries({queryKey:["get_clipboard_history"]}),yield e.invalidateQueries({queryKey:["get_clipboard_history_pinned"]}),setTimeout(()=>{i.scrollToTopHistoryList()},100),setTimeout(()=>{e.setQueryData(["get_clipboard_history"],N=>{if(N)return ee(R({},N),{pages:N.pages.slice(0,1),pageParams:N.pageParams.slice(0,1)})})},1e3),Hs("build_system_menu"))})),w=Li("clips://clips-monitor/update",E=>pe(this,null,function*(){E.payload==="update"&&(yield e.invalidateQueries({queryKey:["get_active_collection_with_clips"]}))})),g=Li("macosx-permissions-modal",E=>pe(this,null,function*(){E.payload==="show"&&(e2.value=!0)})),b=Li("setting:update",E=>pe(this,null,function*(){const{name:N,value_bool:T}=E.payload;N==="isHistoryEnabled"&&a.updateSetting("isHistoryEnabled",!!T)})),C=Li("menu:add_first_menu_item",()=>pe(this,null,function*(){t("/menu",{replace:!0})})),j=Li("scheme-request-received",E=>{const N=E.payload;if(!N)return;const T=new URL(N);if(T.hostname==="activate-license"||T.pathname.includes("activate-license")){const A=T.searchParams.get("key");let M=null,D=null;try{if(D=Hk(A),!D)throw new Error("Invalid license key");if(typeof D.id=="string"&&D.id.length>0)M=null;else throw new Error("Invalid license key")}catch(L){return co(f("License key validation failed. Please try another key.",{ns:"common"}),{title:f("Activation Error",{ns:"common"}),type:"error"}),M=L,!1}if(D.id&&M===null){const L=f("Do you want to activate license below?"),z=f("Name: {{name}}",{name:D.name}),H=f("Email: {{email}}",{email:D.email}),V=f("License Key: {{key}}",{key:Pv(A,10,10,180)});Wb("".concat(L,"\n\n").concat(z,"\n").concat(H,"\n\n").concat(V),{title:f("PasteBar Pro License Activation",{ns:"common"}),okLabel:f("Yes, activate",{ns:"common"}),cancelLabel:f("Cancel",{ns:"common"})}).then(I=>{I&&(fm.value=!1,za.value=!1,t("/app-settings/license/register",{replace:!0,state:{ls:A}}))})}}else if(T.hostname==="shared-clip"||T.pathname.includes("shared-clip"))return});return u.on("languageChanged",function(){return pe(this,null,function*(){yield e.invalidateQueries({queryKey:["get_clipboard_history"]})})}),window.addEventListener("contextmenu",E=>{Ty.TAURI_DEBUG||E.preventDefault()}),()=>{j.then(E=>{E()}),S.then(E=>{E()}),C.then(E=>{E()}),w.then(E=>{E()}),b.then(E=>{E()}),g.then(E=>{E()}),c.current&&clearTimeout(c.current),_A.forEach(E=>window.removeEventListener(E,h))}},[]);const m=dt(_s);return p.useEffect(()=>{document.documentElement.style.fontSize=m.fontSize},[m.fontSize]),s.jsx(s.Fragment,{children:s.jsx(bCe,{attribute:"class",defaultTheme:"system",enableSystem:!0,children:s.jsx("div",{className:"bg-transparent ".concat(r.isMacOSX?"p-0":"p-1"," rounded-md"),children:s.jsxs("div",{className:"border rounded-lg shadow-window border-gray-100 dark:border-gray-800 relative bg-slate-100",children:[s.jsx(yCe,{}),s.jsx(x_,{})]})})})})}function DCe(){const{direction:e,setDirection:t}=dt(uo),r=n=>{t(n)};return p.useEffect(()=>{if(window===void 0)return;window.document.documentElement.setAttribute("dir",e)},[e]),[e,r]}const PW="ToastProvider",[k_,ACe,RCe]=Bm("Toast"),[MW,z_e]=wa("Toast",[RCe]),[LCe,Bk]=MW(PW),DW=e=>{const{__scopeToast:t,label:r="Notification",duration:n=5e3,swipeDirection:a="right",swipeThreshold:o=50,children:i}=e,[c,u]=p.useState(null),[f,h]=p.useState(0),m=p.useRef(!1),v=p.useRef(!1);return p.createElement(k_.Provider,{scope:t},p.createElement(LCe,{scope:t,label:r,duration:n,swipeDirection:a,swipeThreshold:o,toastCount:f,viewport:c,onViewportChange:u,onToastAdd:p.useCallback(()=>h(S=>S+1),[]),onToastRemove:p.useCallback(()=>h(S=>S-1),[]),isFocusedToastEscapeKeyDownRef:m,isClosePausedRef:v},i))};DW.propTypes={label(e){if(e.label&&typeof e.label=="string"&&!e.label.trim()){const t="Invalid prop `label` supplied to `".concat(PW,"`. Expected non-empty `string`.");return new Error(t)}return null}};const ICe="ToastViewport",OCe=["F8"],Uj="toast.viewportPause",Wj="toast.viewportResume",$Ce=p.forwardRef((e,t)=>{const b=e,{__scopeToast:r,hotkey:n=OCe,label:a="Notifications ({hotkey})"}=b,o=ke(b,["__scopeToast","hotkey","label"]),i=Bk(ICe,r),c=ACe(r),u=p.useRef(null),f=p.useRef(null),h=p.useRef(null),m=p.useRef(null),v=Zr(t,m,i.onViewportChange),S=n.join("+").replace(/Key/g,"").replace(/Digit/g,""),w=i.toastCount>0;p.useEffect(()=>{const C=j=>{var E;n.every(T=>j[T]||j.code===T)&&((E=m.current)===null||E===void 0||E.focus())};return document.addEventListener("keydown",C),()=>document.removeEventListener("keydown",C)},[n]),p.useEffect(()=>{const C=u.current,j=m.current;if(w&&C&&j){const E=()=>{if(!i.isClosePausedRef.current){const M=new CustomEvent(Uj);j.dispatchEvent(M),i.isClosePausedRef.current=!0}},N=()=>{if(i.isClosePausedRef.current){const M=new CustomEvent(Wj);j.dispatchEvent(M),i.isClosePausedRef.current=!1}},T=M=>{!C.contains(M.relatedTarget)&&N()},A=()=>{C.contains(document.activeElement)||N()};return C.addEventListener("focusin",E),C.addEventListener("focusout",T),C.addEventListener("pointermove",E),C.addEventListener("pointerleave",A),window.addEventListener("blur",E),window.addEventListener("focus",N),()=>{C.removeEventListener("focusin",E),C.removeEventListener("focusout",T),C.removeEventListener("pointermove",E),C.removeEventListener("pointerleave",A),window.removeEventListener("blur",E),window.removeEventListener("focus",N)}}},[w,i.isClosePausedRef]);const g=p.useCallback(({tabbingDirection:C})=>{const E=c().map(N=>{const T=N.ref.current,A=[T,...e5e(T)];return C==="forwards"?A:A.reverse()});return(C==="forwards"?E.reverse():E).flat()},[c]);return p.useEffect(()=>{const C=m.current;if(C){const j=E=>{const N=E.altKey||E.ctrlKey||E.metaKey;if(E.key==="Tab"&&!N){const L=document.activeElement,z=E.shiftKey;if(E.target===C&&z){var A;(A=f.current)===null||A===void 0||A.focus();return}const I=g({tabbingDirection:z?"backwards":"forwards"}),q=I.findIndex(_=>_===L);if(RS(I.slice(q+1)))E.preventDefault();else{var M,D;z?(M=f.current)===null||M===void 0||M.focus():(D=h.current)===null||D===void 0||D.focus()}}};return C.addEventListener("keydown",j),()=>C.removeEventListener("keydown",j)}},[c,g]),p.createElement(Gue,{ref:u,role:"region","aria-label":a.replace("{hotkey}",S),tabIndex:-1,style:{pointerEvents:w?void 0:"none"}},w&&p.createElement(TA,{ref:f,onFocusFromOutsideViewport:()=>{const C=g({tabbingDirection:"forwards"});RS(C)}}),p.createElement(k_.Slot,{scope:r},p.createElement(cr.ol,Ue({tabIndex:-1},o,{ref:v}))),w&&p.createElement(TA,{ref:h,onFocusFromOutsideViewport:()=>{const C=g({tabbingDirection:"backwards"});RS(C)}}))}),zCe="ToastFocusProxy",TA=p.forwardRef((e,t)=>{const i=e,{__scopeToast:r,onFocusFromOutsideViewport:n}=i,a=ke(i,["__scopeToast","onFocusFromOutsideViewport"]),o=Bk(zCe,r);return p.createElement(Qw,Ue({"aria-hidden":!0,tabIndex:0},a,{ref:t,style:{position:"fixed"},onFocus:c=>{var u;const f=c.relatedTarget;!((u=o.viewport)!==null&&u!==void 0&&u.contains(f))&&n()}}))}),Uk="Toast",FCe="toast.swipeStart",HCe="toast.swipeMove",BCe="toast.swipeCancel",UCe="toast.swipeEnd",WCe=p.forwardRef((e,t)=>{const f=e,{forceMount:r,open:n,defaultOpen:a,onOpenChange:o}=f,i=ke(f,["forceMount","open","defaultOpen","onOpenChange"]),[c=!0,u]=ra({prop:n,defaultProp:a,onChange:o});return p.createElement(xo,{present:r||c},p.createElement(AW,Ue({open:c},i,{ref:t,onClose:()=>u(!1),onPause:Vs(e.onPause),onResume:Vs(e.onResume),onSwipeStart:wt(e.onSwipeStart,h=>{h.currentTarget.setAttribute("data-swipe","start")}),onSwipeMove:wt(e.onSwipeMove,h=>{const{x:m,y:v}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","move"),h.currentTarget.style.setProperty("--radix-toast-swipe-move-x","".concat(m,"px")),h.currentTarget.style.setProperty("--radix-toast-swipe-move-y","".concat(v,"px"))}),onSwipeCancel:wt(e.onSwipeCancel,h=>{h.currentTarget.setAttribute("data-swipe","cancel"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-end-y")}),onSwipeEnd:wt(e.onSwipeEnd,h=>{const{x:m,y:v}=h.detail.delta;h.currentTarget.setAttribute("data-swipe","end"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"),h.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"),h.currentTarget.style.setProperty("--radix-toast-swipe-end-x","".concat(m,"px")),h.currentTarget.style.setProperty("--radix-toast-swipe-end-y","".concat(v,"px")),u(!1)})})))}),[VCe,qCe]=MW(Uk,{onClose(){}}),AW=p.forwardRef((e,t)=>{const q=e,{__scopeToast:r,type:n="foreground",duration:a,open:o,onClose:i,onEscapeKeyDown:c,onPause:u,onResume:f,onSwipeStart:h,onSwipeMove:m,onSwipeCancel:v,onSwipeEnd:S}=q,w=ke(q,["__scopeToast","type","duration","open","onClose","onEscapeKeyDown","onPause","onResume","onSwipeStart","onSwipeMove","onSwipeCancel","onSwipeEnd"]),g=Bk(Uk,r),[b,C]=p.useState(null),j=Zr(t,_=>C(_)),E=p.useRef(null),N=p.useRef(null),T=a||g.duration,A=p.useRef(0),M=p.useRef(T),D=p.useRef(0),{onToastAdd:L,onToastRemove:z}=g,H=Vs(()=>{var _;(b==null?void 0:b.contains(document.activeElement))&&((_=g.viewport)===null||_===void 0||_.focus()),i()}),V=p.useCallback(_=>{!_||_===1/0||(window.clearTimeout(D.current),A.current=new Date().getTime(),D.current=window.setTimeout(H,_))},[H]);p.useEffect(()=>{const _=g.viewport;if(_){const $=()=>{V(M.current),f==null||f()},U=()=>{const K=new Date().getTime()-A.current;M.current=M.current-K,window.clearTimeout(D.current),u==null||u()};return _.addEventListener(Uj,U),_.addEventListener(Wj,$),()=>{_.removeEventListener(Uj,U),_.removeEventListener(Wj,$)}}},[g.viewport,T,u,f,V]),p.useEffect(()=>{o&&!g.isClosePausedRef.current&&V(T)},[o,T,g.isClosePausedRef,V]),p.useEffect(()=>(L(),()=>z()),[L,z]);const I=p.useMemo(()=>b?OW(b):null,[b]);return g.viewport?p.createElement(p.Fragment,null,I&&p.createElement(KCe,{__scopeToast:r,role:"status","aria-live":n==="foreground"?"assertive":"polite","aria-atomic":!0},I),p.createElement(VCe,{scope:r,onClose:H},Zs.createPortal(p.createElement(k_.ItemSlot,{scope:r},p.createElement(Kue,{asChild:!0,onEscapeKeyDown:wt(c,()=>{g.isFocusedToastEscapeKeyDownRef.current||H(),g.isFocusedToastEscapeKeyDownRef.current=!1})},p.createElement(cr.li,Ue({role:"status","aria-live":"off","aria-atomic":!0,tabIndex:0,"data-state":o?"open":"closed","data-swipe-direction":g.swipeDirection},w,{ref:j,style:R({userSelect:"none",touchAction:"none"},e.style),onKeyDown:wt(e.onKeyDown,_=>{_.key==="Escape"&&(c==null||c(_.nativeEvent),_.nativeEvent.defaultPrevented||(g.isFocusedToastEscapeKeyDownRef.current=!0,H()))}),onPointerDown:wt(e.onPointerDown,_=>{_.button===0&&(E.current={x:_.clientX,y:_.clientY})}),onPointerMove:wt(e.onPointerMove,_=>{if(!E.current)return;const $=_.clientX-E.current.x,U=_.clientY-E.current.y,K=!!N.current,Y=["left","right"].includes(g.swipeDirection),B=["left","up"].includes(g.swipeDirection)?Math.min:Math.max,F=Y?B(0,$):0,G=Y?0:B(0,U),X=_.pointerType==="touch"?10:2,se={x:F,y:G},re={originalEvent:_,delta:se};K?(N.current=se,Py(HCe,m,re,{discrete:!1})):PA(se,g.swipeDirection,X)?(N.current=se,Py(FCe,h,re,{discrete:!1}),_.target.setPointerCapture(_.pointerId)):(Math.abs($)>X||Math.abs(U)>X)&&(E.current=null)}),onPointerUp:wt(e.onPointerUp,_=>{const $=N.current,U=_.target;if(U.hasPointerCapture(_.pointerId)&&U.releasePointerCapture(_.pointerId),N.current=null,E.current=null,$){const K=_.currentTarget,Y={originalEvent:_,delta:$};PA($,g.swipeDirection,g.swipeThreshold)?Py(UCe,S,Y,{discrete:!0}):Py(BCe,v,Y,{discrete:!0}),K.addEventListener("click",B=>B.preventDefault(),{once:!0})}})})))),g.viewport))):null});AW.propTypes={type(e){if(e.type&&!["foreground","background"].includes(e.type)){const t="Invalid prop `type` supplied to `".concat(Uk,"`. Expected `foreground | background`.");return new Error(t)}return null}};const KCe=e=>{const f=e,{__scopeToast:t,children:r}=f,n=ke(f,["__scopeToast","children"]),a=Bk(Uk,t),[o,i]=p.useState(!1),[c,u]=p.useState(!1);return QCe(()=>i(!0)),p.useEffect(()=>{const h=window.setTimeout(()=>u(!0),1e3);return()=>window.clearTimeout(h)},[]),c?null:p.createElement(Dc,{asChild:!0},p.createElement(Qw,n,o&&p.createElement(p.Fragment,null,a.label," ",r)))},GCe=p.forwardRef((e,t)=>{const a=e,{__scopeToast:r}=a,n=ke(a,["__scopeToast"]);return p.createElement(cr.div,Ue({},n,{ref:t}))}),YCe=p.forwardRef((e,t)=>{const a=e,{__scopeToast:r}=a,n=ke(a,["__scopeToast"]);return p.createElement(cr.div,Ue({},n,{ref:t}))}),ZCe="ToastAction",RW=p.forwardRef((e,t)=>{const a=e,{altText:r}=a,n=ke(a,["altText"]);return r?p.createElement(IW,{altText:r,asChild:!0},p.createElement(LW,Ue({},n,{ref:t}))):null});RW.propTypes={altText(e){return e.altText?null:new Error("Missing prop `altText` expected on `".concat(ZCe,"`"))}};const XCe="ToastClose",LW=p.forwardRef((e,t)=>{const o=e,{__scopeToast:r}=o,n=ke(o,["__scopeToast"]),a=qCe(XCe,r);return p.createElement(IW,{asChild:!0},p.createElement(cr.button,Ue({type:"button"},n,{ref:t,onClick:wt(e.onClick,a.onClose)})))}),IW=p.forwardRef((e,t)=>{const o=e,{__scopeToast:r,altText:n}=o,a=ke(o,["__scopeToast","altText"]);return p.createElement(cr.div,Ue({"data-radix-toast-announce-exclude":"","data-radix-toast-announce-alt":n||void 0},a,{ref:t}))});function OW(e){const t=[];return Array.from(e.childNodes).forEach(n=>{if(n.nodeType===n.TEXT_NODE&&n.textContent&&t.push(n.textContent),JCe(n)){const a=n.ariaHidden||n.hidden||n.style.display==="none",o=n.dataset.radixToastAnnounceExclude==="";if(!a)if(o){const i=n.dataset.radixToastAnnounceAlt;i&&t.push(i)}else t.push(...OW(n))}}),t}function Py(e,t,r,{discrete:n}){const a=r.originalEvent.currentTarget,o=new CustomEvent(e,{bubbles:!0,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?d6(a,o):a.dispatchEvent(o)}const PA=(e,t,r=0)=>{const n=Math.abs(e.x),a=Math.abs(e.y),o=n>a;return t==="left"||t==="right"?o&&n>r:!o&&a>r};function QCe(e=()=>{}){const t=Vs(e);Fo(()=>{let r=0,n=0;return r=window.requestAnimationFrame(()=>n=window.requestAnimationFrame(t)),()=>{window.cancelAnimationFrame(r),window.cancelAnimationFrame(n)}},[t])}function JCe(e){return e.nodeType===e.ELEMENT_NODE}function e5e(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function RS(e){const t=document.activeElement;return e.some(r=>r===t?!0:(r.focus(),document.activeElement!==t))}const t5e=DW,$W=$Ce,zW=WCe,FW=GCe,HW=YCe,BW=RW,UW=LW,r5e=t5e,WW=p.forwardRef((n,r)=>{var a=n,{className:e}=a,t=ke(a,["className"]);return s.jsx($W,R({ref:r,className:Nt("fixed top-14 right-4 z-[100000] flex max-h-screen w-full px-3 py-2 flex-col max-w-[420px]",e)},t))});WW.displayName=$W.displayName;const n5e=cd("data-[swipe=move]:transition-none group relative pointer-events-auto flex w-full items-center justify-between space-x-4 overflow-hidden rounded-md border px-5 py-4 shadow-md transition-all data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-10 data-[state=open]:slide-in-from-top-full data-[state=closed]:slide-out-to-right-full",{variants:{variant:{default:"bg-background dark:bg-gray-900 border",success:"bg-green-50 dark:bg-green-950 bg-green-100 dark:bg-green-900",destructive:"group destructive border-destructive bg-destructive text-destructive-foreground"}},defaultVariants:{variant:"default"}}),VW=p.forwardRef((a,n)=>{var o=a,{className:e,variant:t}=o,r=ke(o,["className","variant"]);return s.jsx(zW,R({ref:n,className:Nt(n5e({variant:t}),e)},r))});VW.displayName=zW.displayName;const s5e=p.forwardRef((n,r)=>{var a=n,{className:e}=a,t=ke(a,["className"]);return s.jsx(BW,R({ref:r,className:Nt("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors group-[.destructive]:border-destructive/30 hover:bg-secondary group-[.destructive]:hover:border-destructive/30 group-[.destructive]:hover:bg-destructive group-[.destructive]:hover:text-destructive-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 group-[.destructive]:focus:ring-destructive disabled:pointer-events-none disabled:opacity-50",e)},t))});s5e.displayName=BW.displayName;const qW=p.forwardRef((n,r)=>{var a=n,{className:e}=a,t=ke(a,["className"]);return s.jsx(UW,ee(R({ref:r,className:Nt("absolute right-2 top-2 rounded-md p-1 text-foreground/50 group-[.destructive]:text-red-300 hover:text-foreground group-[.destructive]:hover:text-red-50 focus:opacity-100 focus:outline-none focus:ring-2 group-[.destructive]:focus:ring-red-400 group-[.destructive]:focus:ring-offset-red-600",e),"toast-close":""},t),{children:s.jsx(br,{className:"h-5 w-5"})}))});qW.displayName=UW.displayName;const KW=p.forwardRef((n,r)=>{var a=n,{className:e}=a,t=ke(a,["className"]);return s.jsx(FW,R({ref:r,className:Nt("text-base font-semibold",e)},t))});KW.displayName=FW.displayName;const GW=p.forwardRef((n,r)=>{var a=n,{className:e}=a,t=ke(a,["className"]);return s.jsx(HW,R({ref:r,className:Nt("text-base",e)},t))});GW.displayName=HW.displayName;function a5e(){const{toasts:e,dismiss:t,resetTimer:r,continueTimer:n}=ECe();return s.jsxs(r5e,{duration:2e4,children:[e.map(function(h){var m=h,{id:a,title:o,description:i,className:c,action:u}=m,f=ke(m,["id","title","description","className","action"]);return s.jsxs(VW,ee(R({},f),{onMouseEnter:()=>r(a),onMouseLeave:()=>n(a),children:[s.jsxs("div",{className:"grid gap-1",children:[o&&s.jsx(KW,{children:o}),i&&s.jsx(GW,{children:i})]}),s.jsx(qW,{onClick:()=>{t(a,!0)}})]}),a)}),s.jsx(WW,{className:"!max-w-[450px]"})]})}var YW=rk(),LS=function(){},Wk=p.forwardRef(function(e,t){var r=p.useRef(null),n=p.useState({onScrollCapture:LS,onWheelCapture:LS,onTouchMoveCapture:LS}),a=n[0],o=n[1],i=e.forwardProps,c=e.children,u=e.className,f=e.removeScrollBar,h=e.enabled,m=e.shards,v=e.sideCar,S=e.noIsolation,w=e.inert,g=e.allowPinchZoom,b=e.as,C=b===void 0?"div":b,j=P1(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as"]),E=v,N=tk([r,t]),T=vn(vn({},j),a);return p.createElement(p.Fragment,null,h&&p.createElement(E,{sideCar:YW,removeScrollBar:f,shards:m,noIsolation:S,inert:w,setCallbacks:o,allowPinchZoom:!!g,lockRef:r}),i?p.cloneElement(p.Children.only(c),vn(vn({},T),{ref:N})):p.createElement(C,vn({},T,{className:u,ref:N}),c))});Wk.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Wk.classNames={fullWidth:mf,zeroRight:pf};var Vj=!1;if(typeof window!="undefined")try{var My=Object.defineProperty({},"passive",{get:function(){return Vj=!0,!0}});window.addEventListener("test",My,My),window.removeEventListener("test",My,My)}catch(e){Vj=!1}var Bh=Vj?{passive:!1}:!1,o5e=function(e){return e.tagName==="TEXTAREA"},ZW=function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!o5e(e)&&r[t]==="visible")},i5e=function(e){return ZW(e,"overflowY")},l5e=function(e){return ZW(e,"overflowX")},MA=function(e,t){var r=t;do{typeof ShadowRoot!="undefined"&&r instanceof ShadowRoot&&(r=r.host);var n=XW(e,r);if(n){var a=QW(e,r),o=a[1],i=a[2];if(o>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},c5e=function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},u5e=function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},XW=function(e,t){return e==="v"?i5e(t):l5e(t)},QW=function(e,t){return e==="v"?c5e(t):u5e(t)},d5e=function(e,t){return e==="h"&&t==="rtl"?-1:1},f5e=function(e,t,r,n,a){var o=d5e(e,window.getComputedStyle(t).direction),i=o*n,c=r.target,u=t.contains(c),f=!1,h=i>0,m=0,v=0;do{var S=QW(e,c),w=S[0],g=S[1],b=S[2],C=g-b-o*w;(w||C)&&XW(e,c)&&(m+=C,v+=w),c=c.parentNode}while(!u&&c!==document.body||u&&(t.contains(c)||t===c));return(h&&(a&&m===0||!a&&i>m)||!h&&(a&&v===0||!a&&-i>v))&&(f=!0),f},Dy=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},DA=function(e){return[e.deltaX,e.deltaY]},AA=function(e){return e&&"current"in e?e.current:e},h5e=function(e,t){return e[0]===t[0]&&e[1]===t[1]},p5e=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},m5e=0,Uh=[];function g5e(e){var t=p.useRef([]),r=p.useRef([0,0]),n=p.useRef(),a=p.useState(m5e++)[0],o=p.useState(function(){return M1()})[0],i=p.useRef(e);p.useEffect(function(){i.current=e},[e]),p.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var g=ek([e.lockRef.current],(e.shards||[]).map(AA),!0).filter(Boolean);return g.forEach(function(b){return b.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),g.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var c=p.useCallback(function(g,b){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var C=Dy(g),j=r.current,E="deltaX"in g?g.deltaX:j[0]-C[0],N="deltaY"in g?g.deltaY:j[1]-C[1],T,A=g.target,M=Math.abs(E)>Math.abs(N)?"h":"v";if("touches"in g&&M==="h"&&A.type==="range")return!1;var D=MA(M,A);if(!D)return!0;if(D?T=M:(T=M==="v"?"h":"v",D=MA(M,A)),!D)return!1;if(!n.current&&"changedTouches"in g&&(E||N)&&(n.current=T),!T)return!0;var L=n.current||T;return f5e(L,b,g,L==="h"?E:N,!0)},[]),u=p.useCallback(function(g){var b=g;if(!(!Uh.length||Uh[Uh.length-1]!==o)){var C="deltaY"in b?DA(b):Dy(b),j=t.current.filter(function(T){return T.name===b.type&&T.target===b.target&&h5e(T.delta,C)})[0];if(j&&j.should){b.cancelable&&b.preventDefault();return}if(!j){var E=(i.current.shards||[]).map(AA).filter(Boolean).filter(function(T){return T.contains(b.target)}),N=E.length>0?c(b,E[0]):!i.current.noIsolation;N&&b.cancelable&&b.preventDefault()}}},[]),f=p.useCallback(function(g,b,C,j){var E={name:g,delta:b,target:C,should:j};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(N){return N!==E})},1)},[]),h=p.useCallback(function(g){r.current=Dy(g),n.current=void 0},[]),m=p.useCallback(function(g){f(g.type,DA(g),g.target,c(g,e.lockRef.current))},[]),v=p.useCallback(function(g){f(g.type,Dy(g),g.target,c(g,e.lockRef.current))},[]);p.useEffect(function(){return Uh.push(o),e.setCallbacks({onScrollCapture:m,onWheelCapture:m,onTouchMoveCapture:v}),document.addEventListener("wheel",u,Bh),document.addEventListener("touchmove",u,Bh),document.addEventListener("touchstart",h,Bh),function(){Uh=Uh.filter(function(g){return g!==o}),document.removeEventListener("wheel",u,Bh),document.removeEventListener("touchmove",u,Bh),document.removeEventListener("touchstart",h,Bh)}},[]);var S=e.removeScrollBar,w=e.inert;return p.createElement(p.Fragment,null,w?p.createElement(o,{styles:p5e(a)}):null,S?p.createElement(ak,{gapMode:"margin"}):null)}const v5e=nk(YW,g5e);var JW=p.forwardRef(function(e,t){return p.createElement(Wk,vn({},e,{ref:t,sideCar:v5e}))});JW.classNames=Wk.classNames;const x5e=JW,eV="Dialog",[tV,F_e]=wa(eV),[y5e,s0]=tV(eV),b5e=e=>{const{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:i=!0}=e,c=p.useRef(null),u=p.useRef(null),[f=!1,h]=ra({prop:n,defaultProp:a,onChange:o});return p.createElement(y5e,{scope:t,triggerRef:c,contentRef:u,contentId:Ws(),titleId:Ws(),descriptionId:Ws(),open:f,onOpenChange:h,onOpenToggle:p.useCallback(()=>h(m=>!m),[h]),modal:i},r)},w5e="DialogPortal",[H_e,rV]=tV(w5e,{forceMount:void 0}),qj="DialogOverlay",k5e=p.forwardRef((e,t)=>{const r=rV(qj,e.__scopeDialog),i=e,{forceMount:n=r.forceMount}=i,a=ke(i,["forceMount"]),o=s0(qj,e.__scopeDialog);return o.modal?p.createElement(xo,{present:n||o.open},p.createElement(C5e,Ue({},a,{ref:t}))):null}),C5e=p.forwardRef((e,t)=>{const o=e,{__scopeDialog:r}=o,n=ke(o,["__scopeDialog"]),a=s0(qj,r);return p.createElement(x5e,{as:Gu,allowPinchZoom:!0,shards:[a.contentRef]},p.createElement(cr.div,Ue({"data-state":sV(a.open)},n,{ref:t,style:R({pointerEvents:"auto"},n.style)})))}),Kv="DialogContent",S5e=p.forwardRef((e,t)=>{const r=rV(Kv,e.__scopeDialog),i=e,{forceMount:n=r.forceMount}=i,a=ke(i,["forceMount"]),o=s0(Kv,e.__scopeDialog);return p.createElement(xo,{present:n||o.open},o.modal?p.createElement(j5e,Ue({},a,{ref:t})):p.createElement(E5e,Ue({},a,{ref:t})))}),j5e=p.forwardRef((e,t)=>{const r=s0(Kv,e.__scopeDialog),n=p.useRef(null),a=Zr(t,r.contentRef,n);return p.useEffect(()=>{const o=n.current;if(o)return Jw(o)},[]),p.createElement(nV,Ue({},e,{ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:wt(e.onCloseAutoFocus,o=>{var i;o.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:wt(e.onPointerDownOutside,o=>{const i=o.detail.originalEvent,c=i.button===0&&i.ctrlKey===!0;(i.button===2||c)&&o.preventDefault()}),onFocusOutside:wt(e.onFocusOutside,o=>o.preventDefault())}))}),E5e=p.forwardRef((e,t)=>{const r=s0(Kv,e.__scopeDialog),n=p.useRef(!1),a=p.useRef(!1);return p.createElement(nV,Ue({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var c;n.current||(c=r.triggerRef.current)===null||c===void 0||c.focus(),o.preventDefault()}n.current=!1,a.current=!1},onInteractOutside:o=>{var i,c;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));const u=o.target;((c=r.triggerRef.current)===null||c===void 0?void 0:c.contains(u))&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()}}))}),nV=p.forwardRef((e,t)=>{const h=e,{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o}=h,i=ke(h,["__scopeDialog","trapFocus","onOpenAutoFocus","onCloseAutoFocus"]),c=s0(Kv,r),u=p.useRef(null),f=Zr(t,u);return qw(),p.createElement(p.Fragment,null,p.createElement(Kw,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o},p.createElement(Wm,Ue({role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":sV(c.open)},i,{ref:f,onDismiss:()=>c.onOpenChange(!1)}))),!1)});function sV(e){return e?"open":"closed"}const N5e=b5e,_5e=k5e,RA=S5e,aV=()=>{const[e,t]=p.useState({height:window.innerHeight,width:window.innerWidth});return p.useEffect(()=>{const r=()=>{t({height:window.innerHeight,width:window.innerWidth})};return window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}},[]),e},K1=p.createContext({portalRef:void 0,onOutsideClick:()=>{},noFooter:!1,isLargeModal:!0}),T5e=({children:e,isNavVisible:t=!0,outOutsideClick:r=()=>{}})=>s.jsx(_5e,{onClick:()=>{r()},className:"bg-slate-900/80 fixed ".concat(t?"top-10":"top-0"," bottom-0 left-0 right-0 z-50 grid place-items-center overflow-y-auto"),children:e}),P5e=({children:e,outOutsideClick:t,isLargeModal:r,canClose:n,noFooter:a,positionTop:o})=>{const{height:i}=aV(),c={maxHeight:a?i:i-64};return n?s.jsx(RA,{style:c,className:"".concat(r?"-mt-5":"-mt-80"," ").concat(o?"!-mt-[100px]":""," min-w-modal rounded-lg outline-none bg-slate-100 dark:bg-slate-800 animate-in fade-in slide-in-from-top-10 duration-300 top-10"),children:e}):s.jsx(RA,{style:c,onPointerDownOutside:u=>{t&&t(),u.preventDefault()},onInteractOutside:u=>{u.preventDefault()},onEscapeKeyDown:u=>{u.preventDefault()},className:"".concat(r?"-mt-5":"-mt-80"," min-w-modal rounded-lg outline-none bg-slate-100 dark:bg-slate-800 animate-in fade-in slide-in-from-top-10 duration-300 top-10"),children:e})},$r=({open:e=!0,handleClose:t,canClose:r=!0,isNavVisible:n=!0,positionTop:a,noFooter:o=!1,isLargeModal:i=!1,onOutsideClick:c=()=>{},children:u})=>{const f=p.useRef(null);return s.jsx(N5e,{open:e,onOpenChange:t,children:s.jsx(Dc,{ref:f,children:s.jsx(K1.Provider,{value:{portalRef:f,isLargeModal:i,onOutsideClick:c,noFooter:o},children:s.jsx(T5e,{isNavVisible:n,outOutsideClick:c,children:s.jsx(P5e,{canClose:r,positionTop:a,outOutsideClick:c,isLargeModal:!0,noFooter:!0,children:u})})})})})};$r.Body=({children:e,className:t,style:r})=>{const{isLargeModal:n,onOutsideClick:a}=p.useContext(K1);return s.jsx("div",{style:r,className:hr("h-[full]",t,{"max-w-2xl":n,"max-w-md":!n}),onClick:o=>{a&&a(),o.stopPropagation()},children:e})};$r.Content=({children:e,className:t})=>{const{isLargeModal:r,onOutsideClick:n,noFooter:a}=p.useContext(K1),{height:o}=aV(),i={maxHeight:a?o:o-90-141};return s.jsx("div",{"data-tauri-drag-region":!0,onClick:()=>{n&&n()},style:i,className:hr("overflow-y-auto px-8 pt-6",{"w-largeModal pb-7":r,"pb-5":!r},t),children:e})};$r.Header=({handleClose:e=void 0,children:t,className:r="",canClose:n=!0,isCenter:a=!1})=>{const{onOutsideClick:o}=p.useContext(K1);return s.jsxs("div",{"data-tauri-drag-region":!0,className:"flex w-full items-center border-0 px-8 py-6 pb-2 ".concat(r),onClick:i=>{o&&o(),i.stopPropagation()},children:[s.jsx("div",{className:"flex flex-grow ".concat(a?"justify-center":""),children:t}),s.jsx("div",{className:"self-end",children:e&&n&&s.jsx(ye,{variant:"ghost",size:"sm",onClick:e,className:"cursor-pointer border-0 p-1.5",children:s.jsx(br,{size:20})})})]})};$r.Footer=({children:e,className:t})=>{const{isLargeModal:r,onOutsideClick:n}=p.useContext(K1);return s.jsx("div",{"data-tauri-drag-region":!0,onClick:a=>{n&&n(),a.stopPropagation()},className:hr("flex w-full px-7 pb-6 pt-2",{"border-grey-20 border-0 pt-4":r},t),children:e})};function M5e({open:e,onClose:t}){const{t:r}=Tt(),{checkForUpdate:n}=dt(pn),a=rl(r0),o=rl(B1),i=W1(),c=p.useMemo(()=>U1(),[jr.value]),u=En(1717950330306).format("MMMM, YYYY");return s.jsx($r,{open:e,handleClose:t,positionTop:!0,children:s.jsxs($r.Body,{className:"min-w-[400px] relative",children:[s.jsx(ye,{variant:"link",type:"button",onClick:t,className:"hover:bg-slate-200 px-2 absolute right-1.5 top-1.5 text-slate-400 dark:text-slate-500 hover:text-slate-600 hover:dark:text-slate-400 hover:bg-transparent dark:hover:bg-transparent",children:s.jsx(br,{className:"w-5 h-5"})}),s.jsx($r.Content,{children:s.jsxs(me,{className:"w-full flex-col gap-1 mt-1",children:[s.jsx(me,{className:"h-fit w-full items-center",children:s.jsx(TW,{width:80,height:80})}),s.jsx(J,{className:"font-semibold text-2xl",children:a?c?s.jsxs(s.Fragment,{children:[r("PasteBar",{ns:"common"})," ",s.jsx("span",{className:"text-amber-700 dark:text-amber-600 ml-1 opacity-80",children:r("Pro",{ns:"common"})})]}):r("PasteBar Pro",{ns:"common"}):r("PasteBar",{ns:"common"})}),s.jsxs(J,{className:"font-light text-center",children:[r("Version",{ns:"common"}),": ","0.2.1",o&&s.jsx("span",{className:"bg-slate-200/90 dark:bg-slate-600/90 dark:!text-slate-300 px-2 rounded-md !text-slate-600 text-sm ml-1.5 mb-0 py-0",children:"Beta"})]}),s.jsx(J,{className:"font-light text-center",children:r("Build on {{buildDate}}",{ns:"common",buildDate:u})}),s.jsx("a",{href:"https://".concat(r("www.site",{ns:"common"})),target:"_blank",className:"underline !text-blue-600 dark:!text-blue-400 cursor-pointer",children:r("www.site",{ns:"common"})}),s.jsx(kr,{h:3}),s.jsxs("div",{className:"flex w-full justify-center items-center gap-x-3",children:[!a&&s.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>{t(),za.value=!0,fm.value=!0},className:"hover:bg-blue-600 hover:text-white dark:bg-gray-700/50 bg-gray-200/50 dark:hover:bg-blue-600",children:i?r("Renew License",{ns:"settings"}):r("Upgrade to Pro",{ns:"common"})}),s.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>{n(!0)},className:"hover:bg-blue-600 hover:text-white dark:bg-gray-700/50 bg-gray-200/50 dark:hover:bg-blue-600",children:Od.value?r("No Update Available",{ns:"updater"}):ec.value?r("Checking for Update...",{ns:"updater"}):r("Check for Update",{ns:"updater"})})]})]})}),s.jsxs($r.Footer,{className:"flex-col items-center !pt-0 !pb-5 relative",children:[s.jsxs(J,{className:"text-sm mb-2 opacity-50 flex justify-center items-center ",children:[r("Stay in touch",{ns:"common"}),s.jsx(Fm,{className:"w-[13px] h-[13px] ml-1"})]}),s.jsx(_W,{})]})]})})}function D5e({open:e,selectedText:t,onClose:r,onConfirmMenu:n,onConfirmClip:a}){const{t:o}=Tt(),{themeDark:i}=dt(uo),c=i();return s.jsx($r,{open:e,handleClose:r,children:s.jsxs($r.Body,{children:[s.jsx($r.Header,{handleClose:r,children:s.jsx("h1",{className:"m-0",children:o("Add to Clips or Menu",{ns:"common"})})}),s.jsxs($r.Content,{className:"!pt-2",children:[s.jsx(Q,{className:"bg-slate-200/70 dark:bg-slate-900/60 rounded-md border border-slate-200 dark:border-slate-800/70 px-2 pt-1",children:s.jsx(va,{isDark:c,maxHeight:350,isLargeView:!0,isShowMore:!0,isWrapped:!0,language:"text",value:t})}),s.jsx(kr,{h:4}),s.jsx(J,{className:"font-light",children:o("You can add the selected text to your clips or menu. Please select the option below.",{ns:"collections"})})]}),s.jsxs($r.Footer,{className:"flex-col !pt-0 !pb-3",children:[s.jsxs("div",{className:"flex w-full justify-center gap-x-3",children:[s.jsx(ye,{variant:"light",type:"submit",onClick:()=>{a(t)},className:"w-full bg-blue-300 hover:bg-blue-500 hover:text-white dark:bg-blue-700 dark:hover:bg-blue-600",children:o("Add Clip",{ns:"common"})}),s.jsx(ye,{variant:"light",type:"submit",onClick:()=>{n(t)},className:"w-full bg-blue-300 hover:bg-blue-500 hover:text-white dark:bg-blue-700 dark:hover:bg-blue-600",children:o("Add Menu",{ns:"common"})})]}),s.jsx("div",{className:"flex w-full justify-center mt-3",children:s.jsx(ye,{variant:"ghost",type:"button",onClick:r,className:"hover:bg-slate-200 dark:hover:bg-slate-900",children:o("Cancel",{ns:"common"})})})]})]})})}function A5e({open:e,onClose:t}){const{t:r}=Tt(),n=We(!1),{themeDark:a}=dt(uo),o=a(),{deviceId:i}=dt(uo),c=rl(r0),{id:u}=jr.value||{},f="".concat(c?"https://license.pastebar.app/contact/?pro=true&deviceId=".concat(i,"&licenseId=").concat(u,"&"):"https://license.pastebar.app/contact/?","source=app&locale=").concat(an.language,"&dark=").concat(o?"true":"false"),h=()=>{fi(f)};return s.jsx($r,{open:e,handleClose:t,isLargeModal:!0,noFooter:!0,children:s.jsxs($r.Body,{className:"dark:bg-green-950/30 bg-green-50/30 flex flex-col items-start p-0 relative",style:{height:"calc(100vh - 180px)"},children:[s.jsx($r.Content,{className:"!pt-3 mb-0 w-full !pb-2 grow !max-h-700",children:s.jsx("iframe",{src:f,className:"rounded-md border-0 bg-transparent dark:border-slate-800/70",style:{width:520,height:"calc(100vh - 210px)"}})}),s.jsx(ye,{variant:"ghost",type:"button",onClick:()=>{t()},className:"text-slate-300 dark:hover:bg-slate-700 hover:bg-slate-600 absolute top-[-1 px] right-[-63px] w-14",children:s.jsx(br,{size:26})}),s.jsx(me,{className:"items-center w-full gap-1 absolute bottom-[-50px] left-0",children:n.value?s.jsxs(s.Fragment,{children:[s.jsx(ye,{variant:"link",type:"button",onClick:()=>{n.value=!1},className:"h-10 text-slate-300 opacity-80 hover:opacity-100",children:r("Stay here",{ns:"common"})}),s.jsx(ye,{variant:"link",type:"button",onClick:()=>{n.value=!1,t()},className:"h-10 text-slate-300 opacity-80 hover:opacity-100",children:r("Close modal and continue in browser",{ns:"common"})})]}):s.jsxs(s.Fragment,{children:[s.jsx(ye,{variant:"ghost",type:"button",onClick:()=>{t()},className:"text-slate-200 dark:hover:bg-slate-700 hover:bg-slate-600 opacity-70 hover:opacity-100 h-10",children:r("Cancel",{ns:"common"})}),s.jsxs(ye,{variant:"link",type:"button",onClick:()=>{h(),n.value=!0},className:"h-10 text-slate-300 opacity-80 hover:opacity-100",children:[r("Open contact form in browser",{ns:"common"}),s.jsx(Fm,{size:16,className:"ml-1.5"})]})]})})]})})}function J2(e,t){var a;const[r,n]=p.useState(localStorage.getItem(e)?JSON.parse((a=localStorage.getItem(e))!=null?a:"{}"):t);return p.useEffect(()=>{r===null?localStorage.removeItem(e):localStorage.setItem(e,JSON.stringify(r))},[r,e]),[r,n]}function LA({open:e,title:t="Unlock Application Screen",isLockScreen:r=!1,showPasscode:n=!0,onConfirmSuccess:a,onClose:o=()=>{}}){const{t:i}=Tt(),c=We(n),u=We(!1),f=We(!1),h=We(!1),m=We(!1),v=We(""),S=We(!1),w=We(!1),g=We(!1),b=sa(),[,C]=J2("resetPassCodeNextDelayInSeconds",null),[j,E]=J2("resetPassCodeGlobalUnsuccessfulTries",0),N=We(0),{isHistoryEnabled:T,setIsHistoryEnabled:A}=dt(pn),{screenLockPassCode:M,screenLockPassCodeLength:D,screenLockRecoveryPasswordMasked:L,verifyPassword:z,setScreenLockPassCode:H,isShowHistoryCaptureOnLockedScreen:V,setScreenLockPassCodeLength:I,verifyStoredPassword:q}=dt(pn),_=We(new Array(D).fill(void 0)),$=p.useMemo(()=>h.value,[h.value]),U=K=>{const Y=document.querySelector("input[name=field-".concat(K,"]"));Y!==null&&Y.focus()};return p.useEffect(()=>{if(On.value)On.value<1?(g.value=!1,_.value=new Array(D).fill(void 0)):g.value=!0;else return},[On.value]),p.useEffect(()=>{S.value&&setTimeout(()=>{a()},800)},[S.value]),p.useEffect(()=>{S.value=!1;function K(Y){return pe(this,null,function*(){var F;if(w.value)return;const B=_.value.join("");if(yield z(B,Y))S.value=!0,On.value=0,Yh.value=0,E(0),C(null),w.value=!1;else{if(Yh.value=Yh.value+1,Yh.value===3){const G=(F=parseInt(j,10))!=null?F:0;E(G+1),On.value=G>0?JP*G:JP}g.value=!0,S.value=!1,w.value=!1,_.value=new Array(D).fill(void 0),U(0)}})}c.value&&M&&!w.value&&_.value.every(Y=>Y!==void 0)&&setTimeout(()=>{K(M)},100)},[c.value,_.value,M]),p.useEffect(()=>{U(N.value)},[N.value]),s.jsx($r,{open:e,onOutsideClick:()=>{_.value[0]||U(0)},handleClose:o,canClose:!r||!M,isNavVisible:!1,children:s.jsxs($r.Body,{className:"bg-emerald-100/20 dark:bg-emerald-800/30",children:[s.jsx($r.Header,{handleClose:o,canClose:!r||!M,isCenter:r,children:M?s.jsx("h1",{className:"m-1 opacity-90 ".concat(S.value?"!text-green-600 dark:!text-green-500":g.value?"!text-red-600 dark:!text-red-500":""),children:u.value?i("Forgot passcode ?",{ns:"settings"}):i(t,{ns:"common"})}):s.jsx("h1",{className:"opacity-90",children:i("Passcode is not set",{ns:"settings"})})}),s.jsx($r.Content,{className:"!pt-2 justify-center items-center flex flex-col !min-w-[390px]",children:c.value&&!u.value&&M?s.jsxs(s.Fragment,{children:[s.jsx(me,{className:"gap-3 flex-wrap items-start justify-center my-2 flex-row animate-in fade-in duration-700",children:new Array(D).fill(0).map((K,Y)=>s.jsx(Q,{className:"text-lg px-2 py-2 rounded-md text-slate-600 dark:text-slate-400 bg-slate-300 dark:bg-slate-800 text-center",children:S.value?s.jsx(me,{className:"h-[48px] !w-9 !px-0 !text-[34px] pb-[2px] !border-0 !bg-green-100 dark:!bg-green-900/80",children:s.jsx($t,{size:26,className:"text-green-600 dark:text-green-300"})}):s.jsx(er,{isPassword:!f.value,name:"field-".concat(Y),className:"!w-9 !text-xl",ref:()=>{Y===0&&!_.value[0]&&U(0)},disabled:On.value>0,autoComplete:"off",numbersOnly:!0,onKeyDown:B=>{(B.metaKey||B.altKey)&&B.code==="KeyH"?A(!T):B.key==="Backspace"&&B.currentTarget.value===""?N.value=Y>0?Y-1:0:B.key==="ArrowLeft"?(B.preventDefault(),N.value=Y>0?Y-1:0):B.key==="ArrowRight"&&(B.preventDefault(),N.value=Y<_.value.length+1?Y+1:Y)},onPaste:B=>(B.preventDefault(),!1),maxLength:2,value:_.value[Y]||"",classNameInput:"h-[48px] text-center !px-0 !text-[34px] pb-[2px] !border-0\n ".concat(_.value[Y]&&!g.value?"!bg-green-100 dark:!bg-green-900/80":g.value?"dark:!bg-red-900/90 !bg-red-300/90":"dark:!bg-slate-800"),onChange:B=>{var G,X,se,re;g.value=!1,((X=(G=B.target)==null?void 0:G.value)==null?void 0:X.length)>=1&&(B.target.value=B.target.value[((re=(se=B.target)==null?void 0:se.value)==null?void 0:re.length)-1],N.value=Y<_.value.length+1?Y+1:Y);const F=B.target.value;_.value=_.value.map((ie,oe)=>oe===Y?F?parseInt(F):void 0:ie)}})},Y))}),s.jsx(kr,{h:4}),s.jsxs(me,{className:"font-light ".concat(g.value?"!text-red-600 dark:!text-red-500/90":""),children:[g.value?On.value>0?s.jsx(J,{className:"!text-red-600 dark:!text-red-500/90 font-semibold",children:i("Passcode verification is locked.",{ns:"settings"})}):s.jsx(J,{className:"!text-red-600 dark:!text-red-500/90 font-semibold",children:i("Passcode is not valid",{screenLockPassCodeLength:D,ns:"settings"})}):s.jsx(s.Fragment,{children:S.value?s.jsx(J,{className:"!text-green-600 dark:!text-green-500 font-semibold",children:i("Passcode successfully verified",{ns:"settings"})}):s.jsx(J,{children:s.jsx(ss,{i18nKey:"Enter your {{screenLockPassCodeLength}} digits passcode",values:{screenLockPassCodeLength:D},ns:"settings"})})}),!S.value&&On.value===0&&s.jsx(s.Fragment,{children:f.value?s.jsx(C1,{className:"cursor-pointer ml-1.5 opacity-60 hover:opacity-100",size:18,onClick:K=>{K.preventDefault(),f.value=!1,U(N.value)}}):s.jsx(Hm,{className:"cursor-pointer ml-1.5 opacity-60 hover:opacity-100",size:18,onClick:K=>{K.preventDefault(),f.value=!0,U(N.value)}})})]}),On.value>0&&s.jsx(Q,{className:"!text-amber-500 dark:!text-amber-600",children:s.jsx(ss,{i18nKey:"Try after {{resetPassCodeNextDelay}} seconds",values:{resetPassCodeNextDelay:On.value},ns:"settings"})})]}):u.value&&L?s.jsxs(s.Fragment,{children:[s.jsxs(me,{className:"mb-3 mt-0 gap-2 items-start justify-start",children:[s.jsx(er,{className:"text-md !w-60",isPassword:!0,autoFocus:!0,showHidePassword:!0,onKeyDown:K=>{K.key==="Enter"&&!h.value&&v.value.length>=6&&(m.value=!1,h.value=!0,setTimeout(()=>{q("screenLockRecoveryPassword",v.value).then(Y=>{Y?(u.value=!1,H(null),I(0),v.value=""):m.value=!0,h.value=!1}).catch(Y=>{console.error(Y),m.value=!0,h.value=!1})},1e3))},errorElement:v.value.length>=6&&m.value?s.jsxs(s.Fragment,{children:[s.jsx(J,{className:"!text-red-400",children:i("Password is incorrect.",{ns:"settings"})}),s.jsx(J,{className:"mt-1 !text-red-400",children:i("Hint: {{screenLockRecoveryPasswordMasked}}",{ns:"settings",screenLockRecoveryPasswordMasked:L})})]}):"",autoComplete:"off",onPaste:K=>(K.preventDefault(),!1),classNameInput:"h-9",placeholder:i("Enter Password",{ns:"common"}),onChange:K=>{m.value=!1,v.value=K.target.value}}),s.jsx(ye,{variant:"secondary",size:"sm",disabled:v.value.length<6,onClick:()=>{!h.value&&v.value.length>=6&&(m.value=!1,h.value=!0,setTimeout(()=>{q("screenLockRecoveryPassword",v.value).then(K=>{K?(u.value=!1,H(null),I(0),On.value=0,Yh.value=0,E(0),C(null),_i.value&&(clearInterval(_i.value),_i.value=null),v.value=""):m.value=!0,h.value=!1}).catch(K=>{console.error(K),m.value=!0,h.value=!1})},600))},className:"min-w-[80px] mt-0.5 text-sm cursor-pointer whitespace-nowrap bg-blue-500 text-slate-50 hover:bg-blue-300/80 dark:bg-blue-700 hover:dark:bg-blue-700/80 dark:text-slate-200",children:$?s.jsx(wm,{}):i("Reset",{ns:"common"})})]}),s.jsx(J,{className:"mt-1 text-center",children:i("Enter recovery password to reset passcode.",{ns:"settings"})})]}):s.jsx(J,{className:"mt-1 text-center",children:"Please set up a Passcode and recovery password in Security Settings to enable Screen Lock and ensure better security."})}),s.jsxs($r.Footer,{className:"flex-row !pt-0 !pb-5 justify-center items-center gap-3 relative",children:[!r&&M?s.jsx(ye,{variant:"ghost",size:"sm",onClick:o,className:"hover:bg-slate-200 dark:hover:bg-slate-900",children:i("Cancel",{ns:"common"})}):!M&&s.jsx(ye,{size:"sm",variant:"light",className:"dark:bg-slate-700 bg-slate-200",onClick:()=>{b("/app-settings/security",{replace:!0}),o()},children:i("Open Security Settings",{ns:"settings"})}),(g.value||u.value)&&L&&M&&s.jsx(s.Fragment,{children:u.value?s.jsx(ye,{size:"sm",variant:"light",className:"dark:bg-slate-700 bg-slate-200",onClick:()=>{u.value=!1,_.value=new Array(D).fill(void 0)},children:i("Back",{ns:"settings"})}):s.jsx(ye,{size:"sm",variant:"light",className:"dark:bg-slate-700 bg-slate-200",onClick:()=>{u.value=!0,m.value=!1,h.value=!1,v.value=""},children:i("Forgot?",{ns:"settings"})})}),V&&s.jsx(s.Fragment,{children:s.jsxs(me,{className:"dark:bg-slate-950/90 bg-gray-400/90 absolute bottom-[-100px] rounded-md px-2 py-1 cursor-pointer",onClick:K=>{K.preventDefault(),A(!T)},children:[s.jsxs(me,{className:"mr-1",children:[s.jsx(J,{className:"mr-1 ".concat(T?"!text-slate-800 dark:!text-slate-400":"!text-gray-500 dark:!text-gray-700"),children:i("Capture History",{ns:"history"})}),s.jsx(Pl,{className:T?"opacity-60":"opacity-30",children:s.jsx(so,{keys:"ALT+H"})})]}),s.jsx(Zn,{checked:T,className:T?"opacity-100":"!bg-gray-300 dark:!bg-gray-600 opacity-70"})]})})]})]})})}var C_={};Object.defineProperty(C_,"__esModule",{value:!0});function R5e(e,t){return Math.random()*(t-e)+e}var IA=C_.default=R5e,oV={},S_={},j_={},E_={};(function e(t,r,n,a){var o=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),i=typeof Path2D=="function"&&typeof DOMMatrix=="function",c=function(){if(!t.OffscreenCanvas)return!1;var B=new OffscreenCanvas(1,1),F=B.getContext("2d");F.fillRect(0,0,1,1);var G=B.transferToImageBitmap();try{F.createPattern(G,"no-repeat")}catch(X){return!1}return!0}();function u(){}function f(B){var F=r.exports.Promise,G=F!==void 0?F:t.Promise;return typeof G=="function"?new G(B):(B(u,u),null)}var h=function(B,F){return{transform:function(G){if(B)return G;if(F.has(G))return F.get(G);var X=new OffscreenCanvas(G.width,G.height),se=X.getContext("2d");return se.drawImage(G,0,0),F.set(G,X),X},clear:function(){F.clear()}}}(c,new Map),m=function(){var B=Math.floor(16.666666666666668),F,G,X={},se=0;return typeof requestAnimationFrame=="function"&&typeof cancelAnimationFrame=="function"?(F=function(re){var ie=Math.random();return X[ie]=requestAnimationFrame(function oe(ae){se===ae||se+B-10)&&!(a=n.next()).done;)o.push(a.value)}catch(c){i={error:c}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return o},J5e=Rr&&Rr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(S_,"__esModule",{value:!0});var Ry=Z5e(p),eSe=J5e(j_),tSe=function(e){return e};function rSe(e){var t=e.decorateOptions,r=t===void 0?tSe:t,n=e.Conductor,a=e.autorun,o=e.onInit,i=X5e(e,["decorateOptions","Conductor","autorun","onInit"]),c=Q5e((0,Ry.useState)(),2),u=c[0],f=c[1],h=(0,Ry.useCallback)(function(m){var v=m.confetti;f(function(){return v})},[]);return(0,Ry.useEffect)(function(){if(u){var m=new n({confetti:u,decorateOptions:r});return a&&m.run(a),o==null||o({confetti:u,conductor:m}),m.stop}},[u]),Ry.default.createElement(eSe.default,Kj({onInit:h},i))}S_.default=rSe;var N_={},__={};Object.defineProperty(__,"__esModule",{value:!0});var nSe=function(){function e(t){var r=t.confetti,n=t.decorateOptions,a=this;this.interval=null,this.shoot=function(){return a.tickAnimation()},this.run=function(o){var i=o.speed,c=o.delay,u=c===void 0?0:c,f=o.duration;a.interval||setTimeout(function(){a.shoot(),a.interval=setInterval(a.shoot,1e3/Math.min(i,1e3)),f&&setTimeout(a.pause,f)},u)},this.pause=function(){clearInterval(a.interval),a.interval=null},this.stop=function(){a.pause(),a.confetti.reset()},this.confetti=r,this.decorateOptions=n}return e}();__.default=nSe;var sSe=Rr&&Rr.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(n[o]=a[o])},e(t,r)};return function(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}(),aSe=Rr&&Rr.__read||function(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),a,o=[],i;try{for(;(t===void 0||t-- >0)&&!(a=n.next()).done;)o.push(a.value)}catch(c){i={error:c}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(i)throw i.error}}return o},oSe=Rr&&Rr.__spreadArray||function(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,o;n div, .contract-trigger:before { content: " "; display: block; position: absolute; top: 0; left: 0; height: 100%; width: 100%; overflow: hidden; z-index: -1; } .resize-triggers > div { background: #eee; overflow: auto; } .contract-trigger:before { width: 200%; height: 200%; }',w=v.head||v.getElementsByTagName("head")[0],g=v.createElement("style");g.id="detectElementResize",g.type="text/css",e!=null&&g.setAttribute("nonce",e),g.styleSheet?g.styleSheet.cssText=S:g.appendChild(v.createTextNode(S)),w.appendChild(g)}};return{addResizeListener:function(v,S){if(u)v.attachEvent("onresize",S);else{if(!v.__resizeTriggers__){const w=v.ownerDocument,g=ci.getComputedStyle(v);g&&g.position==="static"&&(v.style.position="relative"),f(w),v.__resizeLast__={},v.__resizeListeners__=[],(v.__resizeTriggers__=w.createElement("div")).className="resize-triggers";const b=w.createElement("div");b.className="expand-trigger",b.appendChild(w.createElement("div"));const C=w.createElement("div");C.className="contract-trigger",v.__resizeTriggers__.appendChild(b),v.__resizeTriggers__.appendChild(C),v.appendChild(v.__resizeTriggers__),i(v),v.addEventListener("scroll",c,!0),n&&(v.__resizeTriggers__.__animationListener__=function(E){E.animationName===r&&i(v)},v.__resizeTriggers__.addEventListener(n,v.__resizeTriggers__.__animationListener__))}v.__resizeListeners__.push(S)}},removeResizeListener:function(v,S){if(u)v.detachEvent("onresize",S);else if(v.__resizeListeners__.splice(v.__resizeListeners__.indexOf(S),1),!v.__resizeListeners__.length){v.removeEventListener("scroll",c,!0),v.__resizeTriggers__.__animationListener__&&(v.__resizeTriggers__.removeEventListener(n,v.__resizeTriggers__.__animationListener__),v.__resizeTriggers__.__animationListener__=null);try{v.__resizeTriggers__=!v.removeChild(v.__resizeTriggers__)}catch(w){}}}}}class Uf extends p.Component{constructor(...t){super(...t),this.state={height:this.props.defaultHeight||0,scaledHeight:this.props.defaultHeight||0,scaledWidth:this.props.defaultWidth||0,width:this.props.defaultWidth||0},this._autoSizer=null,this._detectElementResize=null,this._parentNode=null,this._resizeObserver=null,this._timeoutId=null,this._onResize=()=>{this._timeoutId=null;const{disableHeight:r,disableWidth:n,onResize:a}=this.props;if(this._parentNode){var o,i,c,u;const f=window.getComputedStyle(this._parentNode)||{},h=parseFloat((o=f.paddingLeft)!==null&&o!==void 0?o:"0"),m=parseFloat((i=f.paddingRight)!==null&&i!==void 0?i:"0"),v=parseFloat((c=f.paddingTop)!==null&&c!==void 0?c:"0"),S=parseFloat((u=f.paddingBottom)!==null&&u!==void 0?u:"0"),w=this._parentNode.getBoundingClientRect(),g=w.height-v-S,b=w.width-h-m,C=this._parentNode.offsetHeight-v-S,j=this._parentNode.offsetWidth-h-m;(!r&&(this.state.height!==C||this.state.scaledHeight!==g)||!n&&(this.state.width!==j||this.state.scaledWidth!==b))&&(this.setState({height:C,width:j,scaledHeight:g,scaledWidth:b}),typeof a=="function"&&a({height:C,scaledHeight:g,scaledWidth:b,width:j}))}},this._setRef=r=>{this._autoSizer=r}}componentDidMount(){const{nonce:t}=this.props;this._autoSizer&&this._autoSizer.parentNode&&this._autoSizer.parentNode.ownerDocument&&this._autoSizer.parentNode.ownerDocument.defaultView&&this._autoSizer.parentNode instanceof this._autoSizer.parentNode.ownerDocument.defaultView.HTMLElement&&(this._parentNode=this._autoSizer.parentNode,this._parentNode!=null&&(typeof ResizeObserver!="undefined"?(this._resizeObserver=new ResizeObserver(()=>{this._timeoutId=setTimeout(this._onResize,0)}),this._resizeObserver.observe(this._parentNode)):(this._detectElementResize=pSe(t),this._detectElementResize.addResizeListener(this._parentNode,this._onResize)),this._onResize()))}componentWillUnmount(){this._parentNode&&(this._detectElementResize&&this._detectElementResize.removeResizeListener(this._parentNode,this._onResize),this._timeoutId!==null&&clearTimeout(this._timeoutId),this._resizeObserver&&(this._resizeObserver.observe(this._parentNode),this._resizeObserver.disconnect()))}render(){const j=this.props,{children:t,defaultHeight:r,defaultWidth:n,disableHeight:a=!1,disableWidth:o=!1,nonce:i,onResize:c,style:u={},tagName:f="div"}=j,h=ke(j,["children","defaultHeight","defaultWidth","disableHeight","disableWidth","nonce","onResize","style","tagName"]),{height:m,scaledHeight:v,scaledWidth:S,width:w}=this.state,g={overflow:"visible"},b={};let C=!1;return a||(m===0&&(C=!0),g.height=0,b.height=m,b.scaledHeight=v),o||(w===0&&(C=!0),g.width=0,b.width=w,b.scaledWidth=S),p.createElement(f,R({ref:this._setRef,style:R(R({},g),u)},h),!C&&t(b))}}function HA({registerLicense:e}){const t=p.useRef(null),{t:r}=Tt(),{state:n}=ol(),{licenseKey:a,setLicenseKey:o,screenLockPassCode:i}=dt(pn),c=rl(r0),u=rl(B1),f=p.useRef(),{returnRoute:h}=dt(_s),m=Ns(a!=null?a:""),v=Ns(!1),S=Ns(!1),w=Ns(null),g=jr.value,b=({conductor:I})=>{f.current=R({},I)},C=W1(),j=p.useCallback(()=>{var I;!C&&((I=f==null?void 0:f.current)==null||I.shoot())},[C]),E=I=>ee(R({},I),{drift:IA(.4,.8),startVelocity:IA(15,40),ticks:230}),N=p.useMemo(()=>m.value,[m.value]),T=p.useCallback(I=>{if(I.length<20){w.value=r("License key is too short.",{ns:"settings"});return}try{const q=Hk(I);if(!q)return!1;typeof q.id=="string"&&q.id.length>0&&(w.value=null,jr.value=q,m.value!==a&&!En().isAfter(En(q.expires))&&setTimeout(()=>{j(),setTimeout(()=>{j()},600)},600),o(m.value))}catch(q){return w.value=r("License key is not valid or malformed.",{ns:"settings"}),jr.value=null,console.error("error",q),!1}return!0},[m.value]);p.useEffect(()=>{a&&(m.value=a,T(a))},[a]),p.useEffect(()=>{n!=null&&n.ls&&a!==(n==null?void 0:n.ls)?(m.value=n.ls,T(m.value),co(r("License key activated successfully.",{ns:"settings"}),{title:r("Activation Success",{ns:"settings"}),type:"info"})):a===(n==null?void 0:n.ls)&&co(r("License key already activated.",{ns:"settings"}),{title:r("Already Active",{ns:"settings"}),type:"info"})},[n]);const{licenseExpInDays:A,licenseExpiresDate:M,licenseExpiredDaysAgo:D}=p.useMemo(()=>YU(),[jr.value]),{licenseIssuedDate:L,licenseIssuedDaysAgo:z}=p.useMemo(()=>_2e(),[jr.value]),H=p.useMemo(()=>U1(),[jr.value]),V=p.useMemo(()=>({name:g==null?void 0:g.name,email:g==null?void 0:g.email,devices:g==null?void 0:g.maxDevices,id:g==null?void 0:g.id}),[g]);return p.useEffect(()=>{(to.value===ac.removeLicense&&Hi.value===ac.removeLicense||v.value)&&(o(null),jr.value=null,to.value=null,Hi.value=null,S.value=!1,v.value=!1,m.value="")},[Hi.value,to.value,v.value]),p.useMemo(()=>!0,[v.value,S.value,w.value,jr.value]),s.jsx(Uf,{disableWidth:!0,children:({height:I})=>{var q,_,$,U;return I&&s.jsxs(Q,{className:"p-4 py-6 select-none min-w-[320px]",children:[s.jsxs(Q,{className:"text-xl my-2 mx-2 flex items-center justify-between",children:[s.jsx(J,{className:"light",children:r("License Settings",{ns:"settings"})}),c?C?s.jsxs(ye,{variant:"secondary",size:"sm",disabled:N.length<10,onClick:()=>{},className:"dark:text-green-500 dark:border-green-600 mt-1 text-green-600 border-green-500 dark:bg-green-950 border whitespace-nowrap bg-green-50 hover:bg-green-50/50 dark:hover:bg-green-900/50 h-9 group",children:[r("Renew License",{ns:"common"}),s.jsx(yp,{size:16,className:"ml-1.5 fill-green-200 dark:fill-green-700"})]}):s.jsxs(ye,{size:"sm",onClick:()=>{j(),setTimeout(()=>{j()},600)},className:"dark:text-green-500 dark:border-green-600 mt-1 text-green-600 border-green-500 dark:bg-green-950 border whitespace-nowrap bg-green-50 hover:bg-green-50/50 dark:hover:bg-green-900/50 h-9 group",children:[r("Thank you for using Pro",{ns:"common"}),s.jsx(q4,{size:18,className:"text-red-400 dark:text-red-600 ml-1 fill-red-500 group-hover:animate-pulse group-hover:fill-red-500 group-hover:scale-125 transition-all duration-300"})]}):s.jsxs(ye,{size:"sm",onClick:()=>{za.value=!0,fm.value=!0},className:"dark:text-green-500 dark:border-green-600 mt-1 text-green-600 border-green-500 dark:bg-green-950 border whitespace-nowrap bg-green-50 hover:bg-green-50/50 dark:hover:bg-green-900/50 h-9 group",children:[r("Upgrade to Pro",{ns:"common"}),s.jsx(yp,{size:16,className:"ml-1.5 fill-green-200 dark:fill-green-700"})]})]}),s.jsx(kr,{h:3}),s.jsxs(en,{style:{maxHeight:I-85},autoHide:!0,children:[!c&&s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{children:[s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:s.jsx(Q,{children:r("Free License",{ns:"settings"})})}),s.jsx(lV,{})]}),s.jsxs(cn,{children:[s.jsxs(J,{className:"text-sm text-muted-foreground mt-1 mb-3",children:[r("Thank you again for using PasteBar.",{ns:"settings"}),s.jsx(q4,{size:18,className:"text-red-400 dark:text-red-600 ml-1 fill-red-500 hover:animate-pulse hover:fill-red-500 hover:scale-125 transition-all duration-300"})]}),s.jsxs(ye,{size:"sm",onClick:()=>{za.value=!0,fm.value=!0},className:"dark:text-green-950 mt-1 text-white bg-green-500 dark:bg-green-600 hover:bg-green-600 dark:hover:bg-green-700 h-9",children:[r("Upgrade to Pro",{ns:"common"}),s.jsx(yp,{size:16,className:"ml-1.5"})]})]})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{children:[c?s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:[C?u?s.jsx(Q,{className:"text-red-600",children:r("Pro license has expired",{ns:"settings"})}):s.jsx(Q,{children:H?s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"text-red-600 mt-2",children:r("Pro license has expired",{ns:"settings"})}),s.jsxs(Q,{className:"text-yellow-700 mt-2 bg-amber-100 dark:bg-slate-600/90 dark:!text-slate-300 px-2 rounded-md text-md mb-0 py-1.5 !my-2 !block",children:[r("Your Pro license includes 1 year of free upgrades and priority support. However, this application version was released on {{buildDate}}, which occurred after your license expired on {{expiredDate}}. Unfortunately, this version is not compatible with your Pro license. If you wish to continue accessing all available Pro features with your current license, you will need to downgrade the application to the last compatible version released before your license expired. Thank you for using PasteBar! 🙌",{buildDate:En(1717950330306).format("DD MMMM, YYYY"),expiredDate:En(M).format("DD MMMM, YYYY"),ns:"settings"}),s.jsxs(Q,{className:"mt-2",children:[r("To downgrade, please visit: ",{ns:"settings"}),s.jsx("span",{className:"underline cursor-pointer",onClick:()=>{fi("https://www.pastebar.app/releases")},children:"https://www.pastebar.app/releases"})]})]})]}):s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"text-yellow-600 mt-2",children:r("Pro license has expired",{ns:"settings"})}),s.jsx(Q,{className:"text-yellow-600 mt-2",children:r("However, you can continue using the current version with access to all available Pro features.",{ns:"settings"})})]})}):s.jsx(Q,{className:"text-green-600",children:r("Pro license is activated",{ns:"settings"})}),u&&s.jsx(J,{className:"bg-slate-200/90 dark:bg-slate-600/90 dark:!text-slate-300 px-1.5 rounded-md !text-slate-600 text-xs ml-1.5 mb-0 py-0.5",children:"beta"})]}),C?u?s.jsx(J,{className:"text-sm !block",children:s.jsx(ss,{i18nKey:"Your beta license has expired. If you wish to gain access to priority support and all features, please consider upgrade your license to Pro.",values:{name:g==null?void 0:g.name},ns:"settings"})}):s.jsx(J,{className:"text-sm !block",children:s.jsx(ss,{i18nKey:"If you wish to upgrade to the latest version, gain access to priority support and new features, please consider renewing your license.",values:{name:g==null?void 0:g.name},ns:"settings"})}):s.jsx(J,{className:"text-sm !block",children:s.jsx(ss,{i18nKey:"Thank you {{name}} for using Pro license. Your license grants you access to all available features, priority support, and free updates until the license expires. Please find the complete details below.",values:{name:g==null?void 0:g.name},ns:"settings"})}),u?s.jsxs(J,{className:"bg-amber-100 dark:bg-slate-600/90 dark:!text-slate-300 px-2 rounded-md !text-slate-600 text-xs mb-0 py-1.5 !my-2 !block",children:[r("You have a Beta License. Usually, this is a temporary license that grants access to all current and new beta features. After this license expires, you will not have access to Pro features, and you will need to use a regular Pro license or renew your Beta license.",{ns:"settings"}),s.jsx("br",{}),s.jsx("b",{children:r("Thank you for testing! 🙌",{ns:"settings"})})]}):s.jsx(kr,{h:2}),V.name&&s.jsxs(J,{className:"text-sm !mt-2",children:[r("Name",{ns:"settings"}),":",s.jsx("strong",{className:"ml-1",children:V.name})]}),V.email&&s.jsxs(J,{className:"text-sm !mt-2",children:[r("Email",{ns:"settings"}),":",s.jsx("strong",{className:"ml-1",children:Mse(V.email)})]}),V.devices&&s.jsxs(J,{className:"text-sm !mt-2",children:[r("Maximum devices",{ns:"settings"}),":",s.jsx("strong",{className:"ml-1",children:V.devices})]}),V.id&&s.jsxs(J,{className:"text-sm !mt-2 gap-1",children:[r("License Id",{ns:"settings"}),":",s.jsx(LU,{id:1,text:Pv(V.id,3),copyText:(q=V.id)!=null?q:""})]}),!!(g!=null&&g.language)&&s.jsxs(J,{className:"text-sm !mt-2 gap-1",children:[r("UI Language",{ns:"settings"}),":"," ",(_=Ef.find(K=>K.code===(g==null?void 0:g.language)))==null?void 0:_.name]}),L&&s.jsxs(J,{className:"text-sm !mt-2",children:[r("Issued",{ns:"settings"}),":",s.jsx("strong",{className:"ml-1",children:L}),z&&s.jsx(lt,{className:"ml-1.5",variant:"secondary",children:r("{{licenseIssuedDaysAgo}} days ago",{ns:"settings",licenseIssuedDaysAgo:z})})]}),M&&!C&&s.jsxs(J,{className:"text-sm !mt-4",children:[r("License expires",{ns:"settings"}),":",s.jsx("strong",{className:"ml-1 text-green-600",children:M}),s.jsx(lt,{className:"ml-1.5 whitespace-nowrap",variant:"pro",children:A===0?r("Tomorrow",{ns:"settings"}):r("in {{licenseExpInDays}} days",{ns:"settings",licenseExpInDays:A})})]}),M&&C&&s.jsxs(J,{className:"text-sm !mt-4",children:[r("License expired",{ns:"settings"}),s.jsx("strong",{className:"ml-1 text-red-600",children:M}),s.jsx(lt,{className:"ml-1.5 whitespace-nowrap",variant:"destructive",children:D===0?r("Today",{ns:"settings"}):r("{{licenseExpiredDaysAgo}} days ago",{ns:"settings",licenseExpiredDaysAgo:D})})]}),!!(g!=null&&g.language)&&s.jsx(J,{className:"text-sm text-muted-foreground !mt-3 mb-3",children:r("Please note! Your license has support for a single language: {{language}}. If you require multi-language support, please consider upgrading to a full Pro license.",{ns:"settings",language:($=Ef.find(K=>K.code===(g==null?void 0:g.language)))==null?void 0:$.name})})]}):s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:s.jsx(Q,{children:r("Register a License",{ns:"settings"})})}),s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:r('If you have a license key, you can add it here to unlock the Pro version with all available features. Please paste your license below and click "Add License" to upgrade.',{ns:"settings"})})]}),s.jsx(cn,{children:s.jsxs(me,{className:"gap-3 flex-wrap items-start justify-start my-2 flex-col w-full",children:[s.jsx(po,{className:"text-sm w-full",autoFocus:e,ref:t,label:c?r("License key",{ns:"settings"}):r("Paste your license key below",{ns:"settings"}),isDisabled:c,classNameArea:c?"!border-green-500 dark:!border-green-600 !bg-green-50 dark:!bg-green-950 opacity-80":"",error:(U=w.value)!=null?U:"",rows:3,onChange:K=>{w.value=null,m.value=K.target.value},value:c?Pv(N,10,10,100):N,maxRows:3,onPaste:K=>{K.preventDefault(),w.value=null,m.value=K.clipboardData.getData("text"),T(m.value)},enableEmoji:!1}),c?s.jsxs(me,{className:"gap-4",children:[C&&s.jsxs(ye,{size:"sm",className:"dark:text-green-950 text-white bg-green-500 dark:bg-green-600 hover:bg-green-600 dark:hover:bg-green-700 h-9",children:[r("Renew License",{ns:"common"}),s.jsx(yp,{size:16,className:"ml-1.5"})]}),s.jsx(ye,{variant:"secondary",size:"sm",disabled:N.length<10,onClick:()=>{if(i){Ud.value=!0,to.value=ac.removeLicense,Wd.value=r("license remove",{ns:"settings"});return}S.value?v.value=!0:(S.value=!0,setTimeout(()=>{S.value=!1},3e3))},className:"".concat(S.value?"bg-red-500 text-red-100 hover:bg-red-500/80 dark:bg-red-400 hover:dark:bg-red-400/80 dark:text-slate-800":"bg-red-200 text-red-600 hover:bg-red-300/80 dark:bg-red-900 hover:dark:bg-red-900/80 dark:text-slate-200"," h-9"),children:S.value?r("Confirm Remove",{ns:"common"}):C?r("Remove",{ns:"common"}):r("Remove License",{ns:"common"})})]}):s.jsx(ye,{variant:"secondary",size:"sm",disabled:N.length<10,onClick:()=>{T(m.value)},className:"bg-blue-400 hover:bg-blue-300/80 dark:bg-blue-700 hover:dark:bg-blue-700/80 dark:text-slate-200 h-9",children:r("Add License",{ns:"common"})})]})})]})}),s.jsx(kr,{h:6}),s.jsx(Pc,{to:h,replace:!0,children:s.jsx(ye,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:r("Back",{ns:"common"})})}),s.jsx(kr,{h:4})]}),g&&Zs.createPortal(s.jsx(hSe,{onInit:b,decorateOptions:E,style:{position:"fixed",zIndex:9999,pointerEvents:"none",top:40,width:"100%",height:"100%"}}),document.body)]})}})}function lV(){const{t:e}=Tt(),t=rl(B1),r=p.useMemo(()=>U1(),[jr.value]);return s.jsxs(s.Fragment,{children:[r&&!t&&s.jsx(Q,{className:"text-yellow-700 mt-2 bg-amber-100 dark:bg-slate-600/90 dark:!text-slate-300 px-2 text-sm rounded-md mb-0 py-1.5 !my-2 !block",children:e("Your Pro license and 1 year of free upgrades have expired. This app version, released on {{buildDate}}, is not covered. See License Settings for details.",{buildDate:En(1717950330306).format("DD MMMM, YYYY"),ns:"settings"})}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 mb-3",children:e("Thank you for using PasteBar! We hope you're enjoying the free version. If you'd like to unlock all features and support our development, please consider upgrading to Pro version.",{ns:"settings"})}),s.jsxs(me,{className:"flex flex-col items-start justify-start",children:[s.jsx(J,{className:"text-sm text-muted-foreground my-2 mb-1 !block",children:s.jsx(ss,{i18nKey:"By upgrading to PasteBar Pro, you'll gain access to:",ns:"settings"})}),s.jsxs(Q,{className:"list-image-none",children:[s.jsxs(Q,{children:[s.jsxs(me,{className:"justify-start items-center",children:[s.jsx($t,{size:18,className:"text-green-600 dark:text-green-500"}),s.jsx(J,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Unlimited Collections",{ns:"settings"})})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Create an unlimited number of collections to organize your clips and menus.",{ns:"settings"})})]}),s.jsxs(Q,{children:[s.jsxs(me,{className:"justify-start items-center",children:[s.jsx($t,{size:18,className:"text-green-600 dark:text-green-500"}),s.jsx(J,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Unlimited Tabs per Collection",{ns:"settings"})})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Add an unlimited number of tabs within each collection for better organization and easy access.",{ns:"settings"})})]}),s.jsxs(Q,{children:[s.jsxs(me,{className:"justify-start items-center",children:[s.jsx($t,{size:18,className:"text-green-600 dark:text-green-500"}),s.jsx(J,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Auto Lock the Screen on User Inactivity",{ns:"settings"})})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Enhance security by automatically locking the application screen after a set period of user inactivity.",{ns:"settings"})})]}),s.jsxs(Q,{children:[s.jsxs(me,{className:"justify-start items-center",children:[s.jsx($t,{size:18,className:"text-green-600 dark:text-green-500"}),s.jsx(J,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Require Screen Unlock at Application Start",{ns:"settings"})})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Protect your data by requiring screen unlock authentication whenever the application starts.",{ns:"settings"})})]}),s.jsxs(Q,{children:[s.jsxs(me,{className:"justify-start items-center",children:[s.jsx($t,{size:18,className:"text-green-600 dark:text-green-500"}),s.jsx(J,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Run Terminal or Shell Commands",{ns:"settings"})})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Execute terminal or shell commands directly from PasteBar clip and copy the results to the clipboard.",{ns:"settings"})})]}),s.jsxs(Q,{children:[s.jsxs(me,{className:"justify-start items-center",children:[s.jsx($t,{size:18,className:"text-green-600 dark:text-green-500"}),s.jsx(J,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Execute Web Requests",{ns:"settings"})})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Send HTTP requests to web APIs or services and copy the response data to the clipboard.",{ns:"settings"})})]}),s.jsxs(Q,{children:[s.jsxs(me,{className:"justify-start items-center",children:[s.jsx($t,{size:18,className:"text-green-600 dark:text-green-500"}),s.jsx(J,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Web Scraping and Parsing",{ns:"settings"})})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Scrape and parse websites or API responses using built-in web scraping tools and copy the extracted data to the clipboard.",{ns:"settings"})})]}),s.jsxs(Q,{children:[s.jsxs(me,{className:"justify-start items-center",children:[s.jsx($t,{size:18,className:"text-green-600 dark:text-green-500"}),s.jsx(J,{className:"text-sm text-muted-foreground font-semibold mt-1 ml-1 !text-green-600 dark:!text-green-500",children:e("Priority support",{ns:"settings"})})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-1 ml-6",children:e("Get priority email support from us to resolve any issues or questions you may have about PasteBar.",{ns:"settings"})})]})]})]})]})}var mSe={BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};function gSe({open:e,onClose:t,showProPayments:r}){const{t:n}=Tt(),a=sa(),o=W1(),i=We(!1),c=We(!1),u=We(!1),{themeDark:f}=dt(uo),h=f(),{deviceId:m}=dt(uo),v="".concat(mSe.VITE_LICENSE_SERVER_URL,"/pro?deviceId=").concat(m,"&locale=").concat(an.language,"&dark=").concat(h?"true":"false"),S=()=>{fi(v)};return p.useEffect(()=>(window.addEventListener("message",w=>{const{data:g}=w;if(!c.value&&g.id==="pro_license_confirmed"&&g.licenseHash){try{const b=Hk(g.licenseHash);if(!b)throw new Error("Invalid license key");if(!(typeof b.id=="string"&&b.id.length>0))throw new Error("Invalid license key")}catch(b){return co(n("License key validation failed. Please try another key.",{ns:"common"}),{title:n("Activation Error",{ns:"common"}),type:"error"}),!1}r.value=!1,za.value=!1,c.value=!0,a("/app-settings/license/register",{replace:!0,state:{ls:g.licenseHash}})}}),()=>{window.removeEventListener("message",()=>{})}),[]),s.jsx($r,{open:e,handleClose:t,isLargeModal:!0,noFooter:r.value,children:s.jsxs($r.Body,{className:"dark:bg-green-950/30 bg-green-50/30 flex flex-col items-start p-0 relative",style:{height:"calc(100vh - 180px)"},children:[!r.value&&s.jsxs($r.Header,{handleClose:t,children:[s.jsx("h1",{className:"mt-0.5",children:n("Unlock Pro features",{ns:"common"})}),s.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>{t(),a("/app-settings/license/register",{replace:!0})},className:"hover:bg-green-300 dark:hover:bg-green-900 h-6 py-4 ml-auto",children:o?n("Renew License",{ns:"settings"}):n("Register License",{ns:"common"})})]}),r.value?s.jsx(s.Fragment,{children:s.jsx($r.Content,{className:"!pt-3 mb-0 w-full !pb-2 grow !max-h-700",children:s.jsx("iframe",{src:v,className:"rounded-md border-0 bg-transparent dark:border-slate-800/70",style:{width:520,height:"calc(100vh - 210px)"}})})}):s.jsx($r.Content,{className:"!pt-2 w-full !pb-2 grow",children:s.jsx(en,{style:{height:"auto",width:520,maxHeight:"calc(100vh - 330px)"},autoHide:!1,children:s.jsx(lV,{})})}),r.value?s.jsxs(s.Fragment,{children:[s.jsx(ye,{variant:"ghost",type:"button",onClick:()=>{r.value=!1,i.value=!1},className:"text-slate-300 dark:hover:bg-slate-700 hover:bg-slate-600 absolute top-[-1 px] right-[-63px] w-14",children:s.jsx(br,{size:26})}),s.jsx(me,{className:"items-center w-full gap-1 absolute bottom-[-50px] left-0",children:u.value?s.jsxs(s.Fragment,{children:[s.jsx(ye,{variant:"link",type:"button",onClick:()=>{u.value=!1},className:"h-10 text-slate-300 opacity-80 hover:opacity-100",children:n("Stay here",{ns:"common"})}),s.jsx(ye,{variant:"link",type:"button",onClick:()=>{u.value=!1,r.value=!1,t()},className:"h-10 text-slate-300 opacity-80 hover:opacity-100",children:n("Close modal and continue in browser",{ns:"common"})})]}):s.jsxs(s.Fragment,{children:[s.jsx(ye,{variant:"ghost",type:"button",onClick:()=>{i.value?(r.value=!1,i.value=!1):(i.value=!0,setTimeout(()=>{i.value=!1},3e3))},className:"text-slate-200 dark:hover:bg-slate-700 hover:bg-slate-600 ".concat(i.value?"text-red-400 dark:text-red-500 hover:text-red-500 dark:hover:text-red-400":"opacity-70 hover:opacity-100"," h-10"),children:i.value?n("Are you sure?",{ns:"common"}):n("Cancel",{ns:"common"})}),s.jsxs(ye,{variant:"link",type:"button",onClick:()=>{S(),u.value=!0},className:"h-10 text-slate-300 opacity-80 hover:opacity-100",children:[n("Open payment in browser",{ns:"common"}),s.jsx(Fm,{size:16,className:"ml-1.5"})]})]})})]}):s.jsx($r.Footer,{className:"flex !pt-0 !pb-3 justify-start relative",children:s.jsxs(me,{className:"flex w-full justify-center gap-3",children:[s.jsx(ye,{variant:"ghost",type:"button",onClick:t,className:"hover:bg-slate-200 dark:hover:bg-slate-900 opacity-70 hover:opacity-100 h-10",children:n("Not Now",{ns:"common"})}),s.jsxs(ye,{size:"sm",onClick:()=>{r.value=!0},className:"dark:text-green-950 text-white bg-green-500 dark:bg-green-600 hover:bg-green-600 dark:hover:bg-green-700 h-10",children:[o?n("Renew License",{ns:"settings"}):n("Upgrade to Pro",{ns:"common"}),s.jsx(yp,{size:16,className:"ml-1.5"})]})]})})]})})}const BA="/assets/pastebar-accessibility-settings-monterey-CdsSxQWR.gif",UA="/assets/pastebar-accessibility-settings-ventura-B5xWaNbv.gif";function vSe({open:e,onClose:t}){const{t:r}=Tt(),n=We(!1),a=We(!1),o=We(null),i=We(14);return p.useEffect(()=>{qX().then(c=>{c==="darwin"&&KX().then(f=>{i.value=parseInt(f)});const u=setInterval(()=>pe(this,null,function*(){a.value=yield Sr("check_osx_accessibility_preferences"),a.value&&(o.value=!0,clearInterval(u))}),1e3);return()=>clearInterval(u)})},[]),p.useEffect(()=>{o.value!==null&&o.value&&setTimeout(()=>{t()},2e3)},[o.value]),s.jsx($r,{open:e,handleClose:t,isLargeModal:!0,children:s.jsxs($r.Body,{className:"dark:bg-green-950/30 bg-green-50/30 relative",children:[s.jsx($r.Header,{handleClose:t,children:s.jsx("h1",{className:"font-semibold text-center w-full",children:r("Enable PasteBar in Accessibility Settings",{ns:"common"})})}),o.value!==!0?s.jsxs($r.Content,{className:"!pt-2 w-full !pb-2 justify-start items-center flex flex-col gap-3",children:[s.jsx(J,{children:r("Please add PasteBar to the list of apps in",{ns:"common"})}),s.jsx(lt,{className:"!flex w-fit text-[16px] px-6 my-2 text-center cursor-pointer ".concat(o.value===!1?"hover:bg-red-600 dark:hover:bg-red-700 bg-red-600 dark:bg-red-700":"hover:bg-green-600 dark:hover:bg-green-700"),variant:"slate",onClick:()=>{n.value=!0,o.value=null,Sr("open_osx_accessibility_preferences")},children:i.value>=13?r("System Settings -> Privacy & Security -> Accessibility",{ns:"common"}):r("System Preferences -> Security & Privacy -> Accessibility",{ns:"common"})}),i.value?s.jsx("img",{src:i.value>=13?UA:BA,draggable:!1,decoding:"async",className:"animate-in fade-in max-w-full max-h-[380px] rounded-xl shadow-sm border border-slate-100 dark:border-slate-700"}):s.jsx(Q,{className:"flex items-center w-[580px] h-[380px] justify-center bg-gray-300 rounded-lg animate-pulse dark:bg-gray-700"}),o.value===!1?s.jsx(J,{className:"text-sm w-[90%]",color:"danger",children:r("Permission Check Failed: PasteBar has not been successfully added to Accessibility settings. Please grant the required permissions and click Done again.",{ns:"common"})}):s.jsx(J,{className:"text-sm w-[90%]",children:r("This permission ensures PasteBar can access the clipboard and perform copy and paste operations across applications.",{ns:"common"})})]}):s.jsxs($r.Content,{className:"!pt-2 w-full !pb-2 justify-start items-center flex flex-col gap-3",children:[s.jsx(J,{children:r("PasteBar was successfuly added to Accessibility settings",{ns:"common"})}),s.jsx(lt,{className:"!flex w-fit text-md px-10",variant:"pro",children:r("Success!",{ns:"common"})}),i.value?s.jsxs(me,{className:"relative",children:[s.jsx($t,{size:"182",className:"text-green-500 z-100 dark:bg-green-50/20 bg-green-300/20 rounded-full p-4 absolute animate-in fade-in duration-1000 dark:text-green-500"}),s.jsx("img",{src:i.value>=13?UA:BA,draggable:!1,decoding:"async",className:"opacity-30 max-w-full max-h-[380px] rounded-xl shadow-sm border border-slate-100 dark:border-slate-700"})]}):s.jsx(Q,{className:"flex items-center w-[580px] h-[380px] justify-center bg-gray-300 rounded-lg animate-pulse dark:bg-gray-700"}),s.jsx(J,{className:"text-sm w-[80%]",children:r("PasteBar application now can access the clipboard and perform copy and paste operations across applications.",{ns:"common"})})]}),s.jsx($r.Footer,{className:"flex-col !pt-0 !pb-5",children:o.value?s.jsx("div",{className:"flex w-full justify-center mt-3 gap-3",children:s.jsx(ye,{variant:"ghost",type:"button",onClick:()=>pe(this,null,function*(){t()}),className:"h-10 ".concat(n.value?"dark:text-green-950 text-white bg-blue-500 dark:bg-blue-600 hover:bg-blue-600 dark:hover:bg-blue-700":"hover:bg-slate-200 dark:hover:bg-slate-900"),children:r("Close",{ns:"common"})})}):s.jsxs("div",{className:"flex w-full justify-center mt-3 gap-3",children:[s.jsx(ye,{size:"sm",autoFocus:!0,onClick:()=>{n.value=!0,o.value=null,Sr("open_osx_accessibility_preferences")},className:"dark:text-green-950 text-white bg-green-500 dark:bg-green-600 hover:bg-green-600 dark:hover:bg-green-700 h-10",children:r("Open Accessibility",{ns:"common"})}),s.jsx(ye,{variant:"ghost",type:"button",onClick:()=>pe(this,null,function*(){a.value=yield Sr("check_osx_accessibility_preferences"),o.value=null,a.value?o.value=!0:o.value=!1,n.value=!1}),className:"h-10 ".concat(n.value?"dark:text-green-950 text-white bg-blue-500 dark:bg-blue-600 hover:bg-blue-600 dark:hover:bg-blue-700":"hover:bg-slate-200 dark:hover:bg-slate-900"),children:r("Done",{ns:"common"})})]})}),!o.value&&s.jsx(me,{className:"justify-center items-center bottom-[-45px] absolute w-full",children:s.jsx(ye,{variant:"ghost",size:"sm",onClick:()=>{t()},className:"hover:bg-slate-500 text-slate-400 hover:text-slate-200 dark:text-slate-400 dark:hover:bg-slate-700 h-6 py-4",children:r("Later",{ns:"common"})})})]})})}const xSe="_visible_1g3i7_1",ySe="_arrow_1g3i7_7",$S={visible:xSe,arrow:ySe,"empty-data":"_empty-data_1g3i7_20","shared-container":"_shared-container_1g3i7_28"},bSe=.75,wSe=5,kSe=10,CSe=10,SSe=!0,jSe=!0,ESe=!0,NSe=!1,cV="boarding-popover-item",_Se="boarding-btn-group",uV="boarding-popover-tip",TSe="boarding-popover-title",PSe="boarding-popover-description",MSe="boarding-popover-footer",DSe="boarding-popover-footer-hidden",ASe="boarding-close-btn",RSe="boarding-next-btn",LSe="boarding-prev-btn",ISe="boarding-navigation-btns",WA="boarding-coutout-svg",VA="boarding-highlighted-element",OSe=!0,zS="boarding-no-pointer-events",FS="boarding-strict-pointer-events",dg="boarding-disabled",qA="boarding-close-only-btn",$Se=(e="")=>{const t=document.createElement("div");t.id=cV,t.className=e+" bg-gray-50 dark:bg-gray-800 border border-gray-300 dark:border-gray-700 rounded-lg shadow-lg p-4 w-72 dark:text-gray-200 text-gray-800";const r=document.createElement("div");r.classList.add(uV);const n=document.createElement("div");n.classList.add(TSe),n.innerText="Popover Title";const a=document.createElement("div");a.classList.add(PSe),a.innerText="Popover Description";const o=document.createElement("div");o.classList.add(MSe);const i=document.createElement("button");i.classList.add(ASe),i.innerText="Close";const c=document.createElement("span");c.classList.add(_Se,ISe);const u=document.createElement("span");u.classList.add("boarding-footer-counter");const f=document.createElement("button");f.classList.add(LSe),f.innerText="← Previous";const h=document.createElement("button");return h.classList.add(RSe),h.innerText="Next →",c.appendChild(f),c.appendChild(h),o.appendChild(i),o.appendChild(u),o.appendChild(c),t.appendChild(r),t.appendChild(n),t.appendChild(a),t.appendChild(o),{popoverWrapper:t,popoverTip:r,popoverTitle:n,popoverDescription:a,popoverFooter:o,popoverPrevBtn:f,popoverNextBtn:h,popoverCloseBtn:i,popoverFooterCounter:u,popoverFooterBtnGroup:c}};function Wh(e,t,r,n){return(e/=n/2)<1?r/2*e*e+t:-r/2*(--e*(e-2)-1)+t}function dV(e,t,r){const n=(o,i)=>{const c=o.target;e.contains(c)&&((!r||r(c))&&o.preventDefault(),o.stopPropagation(),o.stopImmediatePropagation(),i==null||i(o))};document.addEventListener("pointerdown",n,!0),document.addEventListener("mousedown",n,!0),document.addEventListener("pointerup",n,!0),document.addEventListener("mouseup",n,!0),document.addEventListener("click",o=>{n(o,t)},!0)}function zSe(e){(!e||!("nodeType"in e&&e.nodeType===1&&typeof e.nodeName=="string"))&&console.error("Html Element expected")}function Dd(e,t){return typeof t=="undefined"?e:t}function Do(e){e||console.error("Variable was expected to not be falsy, but isntead was: ".concat(e))}function FSe(e){const t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}function fV(e,t){!e||FSe(e)||e.scrollIntoView(t)}class HSe{constructor({options:t,highlightDomElement:r,popover:n}){it(this,"options");it(this,"highlightDomElement");it(this,"popover");it(this,"lastKnownDomRect");this.highlightDomElement=r,this.options=t,this.popover=n}isSame(t){return!t||!t.highlightDomElement?!1:t.highlightDomElement===this.highlightDomElement}getElement(){return this.highlightDomElement}getPopover(){return this.popover}getStrictClickHandling(){return this.options.strictClickHandling}onDeselected(){var t,r,n;(t=this.popover)==null||t.hide(),this.getElement().classList.remove(VA),(n=(r=this.options).onDeselected)==null||n.call(r,this)}onBeforeHighlighted(){var t,r;(r=(t=this.options).onBeforeHighlighted)==null||r.call(t,this)}onHighlighted(){var t,r,n;this.options.scrollIntoViewOptions!=="no-scroll"&&fV(this.highlightDomElement,this.options.scrollIntoViewOptions),(t=this.popover)==null||t.show(this),this.getElement().classList.add(VA),(n=(r=this.options).onHighlighted)==null||n.call(r,this)}getCustomPadding(){return this.options.padding}getCustomRadius(){return this.options.radius}onNext(){var t,r;(r=(t=this.options).onNext)==null||r.call(t,this)}onPrevious(){var t,r;(r=(t=this.options).onPrevious)==null||r.call(t,this)}getDOMRect(){const t=this.getElement(),r=t.getBoundingClientRect();return t.isConnected?(this.lastKnownDomRect=r,r):this.lastKnownDomRect||r}}function hV({hightlightBox:e,padding:t=0,radius:r=0}){const n=window.innerWidth,a=window.innerHeight,o=e.width+t*2,i=e.height+t*2,c=Math.min(r,o/2,i/2),u=Math.floor(Math.max(c,0)),f=e.x-t+u,h=e.y-t,m=o-u*2,v=i-u*2;return"M".concat(n,",0L0,0L0,").concat(a,"L").concat(n,",").concat(a,"L").concat(n,",0Z\n M").concat(f,",").concat(h," h").concat(m," a").concat(u,",").concat(u," 0 0 1 ").concat(u,",").concat(u," v").concat(v," a").concat(u,",").concat(u," 0 0 1 -").concat(u,",").concat(u," h-").concat(m," a").concat(u,",").concat(u," 0 0 1 -").concat(u,",-").concat(u," v-").concat(v," a").concat(u,",").concat(u," 0 0 1 ").concat(u,",-").concat(u," z")}function BSe({hightlightBox:e,padding:t=0,fillColor:r="rgb(0,0,0)",opacity:n=1,animated:a=!0}){const o=window.innerWidth,i=window.innerHeight,c=document.createElementNS("http://www.w3.org/2000/svg","svg");c.classList.add(WA),a&&c.classList.add("".concat(WA,"-animated")),c.setAttribute("viewBox","0 0 ".concat(o," ").concat(i)),c.setAttribute("xmlSpace","preserve"),c.setAttribute("xmlnsXlink","http://www.w3.org/1999/xlink"),c.setAttribute("version","1.1"),c.setAttribute("preserveAspectRatio","xMinYMin slice"),c.style.fillRule="evenodd",c.style.clipRule="evenodd",c.style.strokeLinejoin="round",c.style.strokeMiterlimit="2",c.style.zIndex="10000";const u=document.createElementNS("http://www.w3.org/2000/svg","path");return u.setAttribute("d",hV({hightlightBox:e,padding:t})),u.style.fill=r,u.style.opacity="".concat(n),u.style.pointerEvents="auto",u.style.cursor="default",c.appendChild(u),c}let USe=class{constructor(t){it(this,"options");it(this,"cutoutSVGElement");it(this,"currentTransitionInProgress");it(this,"activeSvgCutoutDefinition");it(this,"highlightElemRect");it(this,"currentHighlightedElement");it(this,"previouslyHighlightedElement");this.options=R({opacity:bSe},t)}highlight(t){t.isSame(this.currentHighlightedElement)||(t.onBeforeHighlighted(),this.currentHighlightedElement&&!this.currentHighlightedElement.isSame(this.previouslyHighlightedElement)&&this.currentHighlightedElement.onDeselected(),this.startElementTracking(this.currentHighlightedElement||t,t),this.previouslyHighlightedElement=this.currentHighlightedElement,this.currentHighlightedElement=t,t.onHighlighted())}clear(t=!1,r){var n,a,o;this.currentHighlightedElement&&((a=(n=this.options).onReset)==null||a.call(n,this.currentHighlightedElement,r)),(o=this.currentHighlightedElement)==null||o.onDeselected(),this.currentHighlightedElement=void 0,this.previouslyHighlightedElement=void 0,this.cancelElementTracking(),this.options.animate&&!t?this.unmountCutoutElement():this.unmountCutoutElement()}startElementTracking(t,r){const a=Date.now(),o=()=>{const i=Date.now()-a;this.currentTransitionInProgress===o&&(this.options.animate&&i<400?this.transitionCutoutToPosition(i,400,t,r):this.trackElementOnScreen(),this.refreshSvgAndPopover(),window.requestAnimationFrame(o))};this.currentTransitionInProgress=o,window.requestAnimationFrame(o)}transitionCutoutToPosition(t,r,n,a){const o=this.activeSvgCutoutDefinition?ee(R({},this.activeSvgCutoutDefinition),{hightlightBox:R({},this.activeSvgCutoutDefinition.hightlightBox)}):{hightlightBox:n.getDOMRect(),padding:n.getCustomPadding(),radius:n.getCustomRadius()},i=a.getDOMRect(),c=Dd(this.options.padding,a.getCustomPadding()),u=Dd(this.options.radius,a.getCustomRadius()),f=Dd(this.options.padding,o.padding),h=Dd(this.options.radius,o.radius),m=Wh(t,o.hightlightBox.x,i.x-o.hightlightBox.x,r),v=Wh(t,o.hightlightBox.y,i.y-o.hightlightBox.y,r),S=Wh(t,o.hightlightBox.width,i.width-o.hightlightBox.width,r),w=Wh(t,o.hightlightBox.height,i.height-o.hightlightBox.height,r),g=Wh(t,f,c-f,r),b=Wh(t,h,u-h,r),C={hightlightBox:{x:m,y:v,width:S,height:w},padding:g,radius:b};this.activeSvgCutoutDefinition=C,this.updateCutoutPosition(C)}cancelElementTracking(){this.currentTransitionInProgress=void 0,this.activeSvgCutoutDefinition=void 0,this.highlightElemRect=void 0}trackElementOnScreen(){if(this.currentHighlightedElement){const t=this.currentHighlightedElement.getDOMRect();if(JSON.stringify(t)!==JSON.stringify(this.highlightElemRect)){const r={hightlightBox:{x:t.x,y:t.y,width:t.width,height:t.height},padding:Dd(this.options.padding,this.currentHighlightedElement.getCustomPadding()),radius:Dd(this.options.radius,this.currentHighlightedElement.getCustomRadius())};this.updateCutoutPosition(r),this.activeSvgCutoutDefinition=r}this.highlightElemRect=t}}refreshSvgAndPopover(){var n;Do(this.cutoutSVGElement),Do(this.currentHighlightedElement);const t=window.innerWidth,r=window.innerHeight;this.cutoutSVGElement.setAttribute("viewBox","0 0 ".concat(t," ").concat(r)),(n=this.currentHighlightedElement.getPopover())==null||n.refresh()}getOverlayElement(){return this.cutoutSVGElement}mountCutoutElement(t){if(this.cutoutSVGElement){console.error("Already mounted SVG");return}const r=BSe(t);this.cutoutSVGElement=r,document.body.appendChild(r),dV(this.cutoutSVGElement,n=>{n.target.tagName==="path"&&this.options.onOverlayClick()})}unmountCutoutElement(){this.cutoutSVGElement&&(document.body.removeChild(this.cutoutSVGElement),this.cutoutSVGElement=void 0)}updateCutoutPosition(t){const r={hightlightBox:t.hightlightBox,padding:t.padding,opacity:this.options.opacity,radius:t.radius,animated:this.options.animate};if(!this.cutoutSVGElement)this.mountCutoutElement(r);else{const n=this.cutoutSVGElement.firstElementChild;(n==null?void 0:n.tagName)==="path"?n.setAttribute("d",hV(r)):console.error("No existing path found on SVG but we want one :(")}}};const KA=["top","bottom","left","right"];class WSe{constructor(t,r,n,a){it(this,"highlightElement");it(this,"popover");it(this,"padding");it(this,"finalOffset");this.highlightElement=t,this.popover=r,this.padding=n,this.finalOffset=n+a}setBestPosition(t,r){var o;const n=this.findOptimalPosition(t,r),a=(o=this.popover.getPopoverElements())==null?void 0:o.popoverWrapper;Do(a),a.style.left=typeof n.left=="number"?"".concat(n.left,"px"):"auto",a.style.right=typeof n.right=="number"?"".concat(n.right,"px"):"auto",a.style.top=typeof n.top=="number"?"".concat(n.top,"px"):"auto",a.style.bottom=typeof n.bottom=="number"?"".concat(n.bottom,"px"):"auto"}getHighlightElemRect(){return this.highlightElement.getDOMRect()}getPopoverDimensions(){const t=this.popover.getPopoverElements(),r=t==null?void 0:t.popoverWrapper.getBoundingClientRect(),n=t==null?void 0:t.popoverTip.getBoundingClientRect();return Do(r),Do(n),{width:r.width+this.finalOffset,height:r.height+this.finalOffset,tipSize:n.width}}checkIfSideOptimal(t){const r=this.getPopoverDimensions(),n=this.getHighlightElemRect();switch(t){case"top":const a=n.top-r.height;return{side:"top",value:a,isOptimal:a>=0};case"bottom":const o=window.innerHeight-(n.bottom+r.height);return{side:"bottom",value:o,isOptimal:o>=0};case"left":const i=n.left-r.width;return{side:"left",value:i,isOptimal:i>=0};case"right":const c=window.innerWidth-(n.right+r.width);return{side:"right",value:c,isOptimal:c>=0}}}findOptimalSide(t=0){const r=KA[t],n=this.checkIfSideOptimal(r);return n.isOptimal?n:t===KA.length-1?"none":this.findOptimalSide(t+1)}normalizeAlignment(t,r,n,a,o,i){switch(t){case"start":return Math.max(Math.min(n-this.padding,a-r-i),i);case"end":return Math.max(Math.min(n-r+o+this.padding,a-r-i),i);case"center":const c=n-r/2+o/2;return Math.min(Math.max(i,c),a-i-r)}}findOptimalPosition(t,r){let n;if(r?(n=this.checkIfSideOptimal(r),n.isOptimal||(n=this.findOptimalSide())):n=this.findOptimalSide(),n==="none"){const a=this.getPopoverDimensions();return this.clearPopoverTipPosition(),{left:window.innerWidth/2-(a.width-this.finalOffset)/2,bottom:10}}else{const a=this.getPopoverDimensions(),o=this.getHighlightElemRect(),i={},c=a.width-this.finalOffset,u=a.height-this.finalOffset;switch(n.side){case"top":i.top=Math.min(n.value,window.innerHeight-u-a.tipSize),i.left=this.normalizeAlignment(t,c,o.left,window.innerWidth,o.width,a.tipSize),this.setPopoverTipPosition(t,n.side,o.left,o.width);break;case"bottom":i.bottom=Math.min(n.value,window.innerHeight-u-a.tipSize),i.left=this.normalizeAlignment(t,c,o.left,window.innerWidth,o.width,a.tipSize),this.setPopoverTipPosition(t,n.side,o.left,o.width);break;case"left":i.left=Math.min(n.value,window.innerWidth-c-a.tipSize),i.top=this.normalizeAlignment(t,u,o.top,window.innerHeight,o.height,a.tipSize),this.setPopoverTipPosition(t,n.side,o.top,o.height);break;case"right":i.right=Math.min(n.value,window.innerWidth-c-a.tipSize),i.top=this.normalizeAlignment(t,u,o.top,window.innerHeight,o.height,a.tipSize),this.setPopoverTipPosition(t,n.side,o.top,o.height);break}return i}}clearPopoverTipPosition(){var r;const t=(r=this.popover.getPopoverElements())==null?void 0:r.popoverTip;Do(t),t.className=uV+" "}setPopoverTipPosition(t,r,n,a){var h,m;const o=(h=this.popover.getPopoverElements())==null?void 0:h.popoverWrapper,i=(m=this.popover.getPopoverElements())==null?void 0:m.popoverTip;Do(o),Do(i);let c=r,u=t;const f=o.getBoundingClientRect();switch(r){case"top":n+a<=0?(c="right",u="end"):n+a-f.width<=0&&(u="start"),n>=window.innerWidth?(c="left",u="end"):n+f.width>=window.innerWidth&&(u="end");break;case"bottom":n+a<=0?(c="right",u="start"):n+a-f.width<=0&&(u="start"),n>=window.innerWidth?(c="left",u="start"):n+f.width>=window.innerWidth&&(u="end");break;case"left":n+a<=0?(c="bottom",u="end"):n+a-f.height<=0&&(u="start"),n>=window.innerHeight?(c="top",u="end"):n+f.height>=window.innerHeight&&(u="end");break;case"right":n+a<=0?(c="bottom",u="start"):n+a-f.height<=0&&(u="start"),n>=window.innerHeight?(c="top",u="start"):n+f.height>=window.innerHeight&&(u="end");break}this.clearPopoverTipPosition(),i.classList.add("boarding-tipside-".concat(c),"boarding-tipalign-".concat(u))}}class VSe{constructor(S){it(this,"options");it(this,"popover");it(this,"highlightElement");var w=S,{showButtons:t=!0,disableButtons:r=[],offset:n=CSe,meta:a={},alignment:o="start",closeBtnText:i="Close",doneBtnText:c="Done",okBtnText:u="Ok",startBtnText:f="Next →",nextBtnText:h="Next →",prevBtnText:m="← Previous"}=w,v=ke(w,["showButtons","disableButtons","offset","meta","alignment","closeBtnText","doneBtnText","okBtnText","startBtnText","nextBtnText","prevBtnText"]);this.options=R({showButtons:t,disableButtons:r,meta:a,offset:n,alignment:o,closeBtnText:i,doneBtnText:c,startBtnText:f,nextBtnText:h,prevBtnText:m,okBtnText:u},v)}hide(){var t;this.popover&&((t=this.popover.popoverWrapper.parentElement)==null||t.removeChild(this.popover.popoverWrapper))}show(t){this.highlightElement=t,this.attachNode(),Do(this.popover),Do(this.highlightElement),this.setInitialState(),this.popover.popoverTitle.innerHTML=this.options.title||"",this.popover.popoverDescription.innerHTML=this.options.description||"",this.renderFooter(),this.setPosition(),this.options.scrollIntoViewOptions!=="no-scroll"&&fV(this.popover.popoverWrapper,this.options.scrollIntoViewOptions)}refresh(){this.highlightElement&&this.setPosition()}getPopoverElements(){return this.popover}getShowButtons(){return this.options.showButtons}getDisabledButtons(){return this.options.disableButtons}setInitialState(){Do(this.popover),this.popover.popoverWrapper.style.left="0",this.popover.popoverWrapper.style.top="0",this.popover.popoverWrapper.style.bottom="",this.popover.popoverWrapper.style.right=""}setPosition(){Do(this.highlightElement);const t=this.highlightElement.getCustomPadding();new WSe(this.highlightElement,this,Dd(this.options.padding,t),this.options.offset).setBestPosition(this.options.alignment,this.options.prefferedSide)}attachNode(){var m,v,S;this.popover&&((m=this.popover.popoverWrapper.parentElement)==null||m.removeChild(this.popover.popoverWrapper));const t=$Se(this.options.className),{popoverWrapper:r,popoverTip:n,popoverTitle:a,popoverDescription:o,popoverFooter:i,popoverPrevBtn:c,popoverNextBtn:u,popoverFooterCounter:f,popoverCloseBtn:h}=t;this.options.animate&&r.classList.add("".concat(cV,"-animated")),(S=(v=this.options).onPopoverRender)==null||S.call(v,t),document.body.appendChild(r),dV(r,w=>{const g=w.target;u.contains(g)&&this.options.onNextClick(),c.contains(g)&&this.options.onPreviousClick(),h.contains(g)&&this.options.onCloseClick()},w=>!o.contains(w)),this.popover={popoverWrapper:r,popoverTip:n,popoverTitle:a,popoverDescription:o,popoverFooter:i,popoverFooterCounter:f,popoverPrevBtn:c,popoverNextBtn:u,popoverCloseBtn:h}}renderFooter(){var n,a,o;Do(this.popover),this.popover.popoverPrevBtn.innerHTML=this.options.prevBtnText;const t=this.options.closeBtnText;typeof t=="string"&&t!=="x"?this.popover.popoverCloseBtn.innerHTML=t:this.popover.popoverCloseBtn.innerHTML='';const r=this.options.totalCount&&this.options.totalCount!==1;if(!this.options.showButtons){this.popover.popoverFooter.classList.add(DSe),this.popover.popoverFooter.style.display="none";return}r?(this.popover.popoverNextBtn.style.display="inline-block",this.popover.popoverPrevBtn.style.display="inline-block",this.popover.popoverCloseBtn.classList.remove(qA)):(this.popover.popoverNextBtn.style.display="none",this.popover.popoverPrevBtn.style.display="none",this.popover.popoverCloseBtn.classList.add(qA)),Array.isArray(this.options.showButtons)&&(this.options.showButtons.includes("next")||(this.popover.popoverNextBtn.style.display="none"),this.options.showButtons.includes("previous")||(this.popover.popoverPrevBtn.style.display="none"),this.options.showButtons.includes("close")||(this.popover.popoverCloseBtn.style.display="none")),this.popover.popoverFooter.style.display="flex",this.options.disableButtons.includes("close")&&this.popover.popoverCloseBtn.classList.add(dg),this.options.disableButtons.includes("next")&&this.popover.popoverNextBtn.classList.add(dg),this.options.isFirst&&this.options.totalCount>1?(this.popover.popoverPrevBtn.classList.add(dg),this.popover.popoverFooterCounter.innerHTML="".concat(this.options.currentIndex+1,"/").concat(this.options.totalCount),this.popover.popoverNextBtn.innerHTML="".concat(this.options.nextBtnText)):this.options.isLast||this.options.currentIndex+1===this.options.totalCount?(this.popover.popoverNextBtn.innerHTML=this.options.doneBtnText,this.popover.popoverNextBtn.style.display="inline-block",this.popover.popoverFooterCounter.innerHTML=""):(this.options.disableButtons.includes("previous")?this.popover.popoverPrevBtn.classList.add(dg):this.popover.popoverPrevBtn.classList.remove(dg),this.popover.popoverFooterCounter.innerHTML="".concat(this.options.currentIndex+1,"/").concat(this.options.totalCount),this.popover.popoverNextBtn.innerHTML="".concat(this.options.nextBtnText)),(n=this.popover)!=null&&n.popoverNextBtn&&((o=(a=this.popover)==null?void 0:a.popoverNextBtn)==null||o.focus())}}class qSe{constructor(t){it(this,"isActivated");it(this,"currentStep");it(this,"options");it(this,"steps");it(this,"lastMovementRequested");it(this,"currentMovePrevented");it(this,"overlay");const m=R({},t),{strictClickHandling:r=OSe,animate:n=SSe,padding:a=kSe,radius:o=wSe,scrollIntoViewOptions:i={behavior:"auto",block:"center"},allowClose:c=jSe,keyboardControl:u=ESe,overlayClickNext:f=NSe}=m,h=ke(m,["strictClickHandling","animate","padding","radius","scrollIntoViewOptions","allowClose","keyboardControl","overlayClickNext"]);this.options=R({strictClickHandling:r,animate:n,padding:a,radius:o,scrollIntoViewOptions:i,allowClose:c,keyboardControl:u,overlayClickNext:f},h),this.isActivated=!1,this.steps=[],this.currentStep=0,this.currentMovePrevented=!1,this.overlay=new USe({animate:this.options.animate,padding:this.options.padding,radius:this.options.radius,onReset:this.options.onReset,opacity:this.options.opacity,onOverlayClick:()=>{if(this.options.overlayClickNext){this.next();return}if(this.options.allowClose){this.reset(!1,"cancel");return}}}),this.onKeyUp=this.onKeyUp.bind(this),this.onClick=this.onClick.bind(this)}start(t=0){var r,n;if(this.lastMovementRequested={movement:0,index:t},!this.steps||this.steps.length===0){console.log("There are no steps defined to iterate");return}(n=(r=this.steps[t]).prepareElement)==null||n.call(r,"init"),!this.currentMovePrevented&&this.handleStart(t)}highlight(t){var n;this.lastMovementRequested={movement:1,selector:t};const r=typeof t=="object"&&"element"in t?t:{element:t};(n=r.prepareElement)==null||n.call(r,"init"),!this.currentMovePrevented&&this.handleHighlight(t)}preventMove(){if(this.lastMovementRequested!==void 0)if(this.currentMovePrevented!==this.lastMovementRequested)if(this.currentMovePrevented)console.warn("Tried to call Boarding.preventMove, but move has already been prevented, and not been continued or reset yet");else{const t=R({},this.lastMovementRequested);this.currentMovePrevented=t,this.lastMovementRequested=t}else console.warn("Boarding.preventMove was called multiple times for the same move, which has no effect.");else console.warn("Tried to call Boarding.preventMove before, but no move was requested so far.")}continue(){return pe(this,null,function*(){setTimeout(()=>{if(this.currentMovePrevented===this.lastMovementRequested)switch(this.currentMovePrevented=!1,this.lastMovementRequested.movement){case 0:this.handleStart(this.lastMovementRequested.index);break;case 1:this.handleHighlight(this.lastMovementRequested.selector);break;case 2:this.handleNext();break;case 3:this.moveNext();break;case 4:this.handlePrevious();break;case 5:this.movePrevious();break}else console.warn("Boarding.continue was probably called too late, since the last preventMove was called from a different step (or never called at all).")},0)})}clearMovePrevented(){this.currentMovePrevented=!1}next(){var t,r;this.currentMovePrevented||(this.lastMovementRequested={movement:2,index:this.currentStep},(r=(t=this.steps[this.currentStep+1])==null?void 0:t.prepareElement)==null||r.call(t,"next"),!this.currentMovePrevented&&this.handleNext())}previous(){var t,r;this.currentMovePrevented||(this.lastMovementRequested={movement:4,index:this.currentStep},(r=(t=this.steps[this.currentStep-1])==null?void 0:t.prepareElement)==null||r.call(t,"prev"),!this.currentMovePrevented&&this.handlePrevious())}hasNextStep(){return!!this.steps[this.currentStep+1]}hasPreviousStep(){return!!this.steps[this.currentStep-1]}reset(t=!1,r="cancel"){this.currentStep=0,this.isActivated=!1,this.overlay.clear(t,r),this.removeEventListeners(),document.body.classList.remove(zS,FS),this.lastMovementRequested=void 0,this.currentMovePrevented=!1}hasHighlightedElement(){return!!this.overlay.currentHighlightedElement}getHighlightedElement(){return this.overlay.currentHighlightedElement}getLastHighlightedElement(){return this.overlay.previouslyHighlightedElement}defineSteps(t){this.steps=t}getSteps(){return this.steps}handleStart(t){var n,a,o,i;const r=this.prepareElementFromStep(t);if(!r){console.log("The step with starting index ".concat(t," could not resolve to an element.")),this.currentStep=0,(a=(n=this.options).onStart)==null||a.call(n,void 0),this.next();return}this.currentStep=t,(i=(o=this.options).onStart)==null||i.call(o,r),this.activateBoarding(r)}handleHighlight(t){const r=typeof t=="object"&&"element"in t?t:{element:t},n=this.prepareElementFromStep(r);if(!n){console.log("The step with element ".concat(r.element," could not resolve to an element.")),this.next();return}this.activateBoarding(n)}handleNext(){this.lastMovementRequested={movement:3,index:this.currentStep};const t=this.prepareElementFromStep(this.currentStep);t||console.log("The step with index ".concat(this.currentStep," could not resolve to an element.")),t==null||t.onNext(),!this.currentMovePrevented&&this.moveNext()}handlePrevious(){this.lastMovementRequested={movement:5,index:this.currentStep};const t=this.prepareElementFromStep(this.currentStep);t==null||t.onPrevious(),!this.currentMovePrevented&&this.movePrevious()}moveNext(){const t=this.prepareElementFromStep(this.currentStep+1);if(!t){if(!this.hasNextStep()){this.reset(!1,"finish");return}this.currentStep+=1,this.next();return}this.setStrictClickHandlingRules(t),this.overlay.highlight(t),this.currentStep+=1}movePrevious(){const t=this.prepareElementFromStep(this.currentStep-1);if(!t){if(!this.hasPreviousStep()){this.currentStep=0,this.next();return}this.currentStep-=1,this.previous();return}this.setStrictClickHandlingRules(t),this.overlay.highlight(t),this.currentStep-=1}activateBoarding(t){this.attachEventListeners(),this.isActivated=!0,this.setStrictClickHandlingRules(t),this.overlay.highlight(t)}setStrictClickHandlingRules(t){const r=t.getStrictClickHandling(),n=r===void 0?this.options.strictClickHandling:r;document.body.classList.remove(zS,FS),n==="block-all"?document.body.classList.add(zS):n&&document.body.classList.add(FS)}attachEventListeners(){window.addEventListener("keyup",this.onKeyUp,!1),"ontouchstart"in document.documentElement?window.addEventListener("touchstart",this.onClick,!1):window.addEventListener("click",this.onClick,!1)}removeEventListeners(){window.removeEventListener("keyup",this.onKeyUp,!1),window.removeEventListener("click",this.onClick,!1),window.removeEventListener("touchstart",this.onClick,!1)}onClick(t){if(!this.overlay.currentHighlightedElement)return;zSe(t.target);const a=!this.overlay.currentHighlightedElement.getElement().contains(t.target);if(this.options.strictClickHandling&&a){t.preventDefault(),t.stopImmediatePropagation(),t.stopPropagation();return}}onKeyUp(t){if(t.preventDefault(),t.stopPropagation(),!this.isActivated||!this.options.keyboardControl)return;if(t.key==="Escape"&&this.options.allowClose){this.reset(!1,"cancel");return}const r=this.getHighlightedElement(),n=r==null?void 0:r.getPopover(),a=n==null?void 0:n.getShowButtons(),o=n==null?void 0:n.getDisabledButtons();a&&(t.key==="ArrowRight"||t.key==="ArrowDown"?!(o!=null&&o.includes("next"))&&(a===!0||a.includes("next"))&&this.next():(t.key==="ArrowLeft"||t.key==="ArrowUp")&&!(o!=null&&o.includes("previous"))&&(a===!0||a.includes("previous"))&&this.previous())}prepareElementFromStep(t){var c;const r=typeof t=="number"?this.steps[t]:t,n=typeof t=="number"?t:0,a=typeof t=="number"?this.steps.length:1;if(r===void 0)return null;const o=typeof r.element=="string"?document.querySelector(r.element):r.element;if(!o)return console.warn("Element to highlight ".concat(r.element," not found")),null;let i=null;if((c=r.popover)!=null&&c.title){const u=[this.options.className,r.popover.className].filter(f=>f).join(" ");i=new VSe({padding:this.options.padding,offset:this.options.offset,animate:this.options.animate,meta:r.meta,scrollIntoViewOptions:r.scrollIntoViewOptions===void 0?this.options.scrollIntoViewOptions:r.scrollIntoViewOptions,title:r.popover.title,description:r.popover.description,prefferedSide:r.popover.prefferedSide||this.options.prefferedSide,alignment:r.popover.alignment||this.options.alignment,showButtons:r.popover.showButtons===void 0?this.options.showButtons:r.popover.showButtons,disableButtons:r.popover.disableButtons===void 0?this.options.disableButtons:r.popover.disableButtons,onPopoverRender:r.popover.onPopoverRender===void 0?this.options.onPopoverRender:r.popover.onPopoverRender,doneBtnText:r.popover.doneBtnText||this.options.doneBtnText,closeBtnText:r.popover.closeBtnText||this.options.closeBtnText,nextBtnText:r.popover.nextBtnText||this.options.nextBtnText,startBtnText:r.popover.startBtnText||this.options.startBtnText,prevBtnText:r.popover.prevBtnText||this.options.prevBtnText,className:u,totalCount:a,currentIndex:n,isFirst:n===0,isLast:a===0||n===a-1,onNextClick:()=>{this.next()},onPreviousClick:()=>{this.previous()},onCloseClick:()=>{this.reset(!1,"cancel")}})}return new HSe({highlightDomElement:o,options:{scrollIntoViewOptions:r.scrollIntoViewOptions===void 0?this.options.scrollIntoViewOptions:r.scrollIntoViewOptions,onBeforeHighlighted:r.onBeforeHighlighted||this.options.onBeforeHighlighted,onHighlighted:r.onHighlighted||this.options.onHighlighted,onDeselected:r.onDeselected||this.options.onDeselected,onNext:r.onNext||this.options.onNext,onPrevious:r.onPrevious||this.options.onPrevious,strictClickHandling:r.strictClickHandling,padding:r.padding,radius:r.radius},popover:i})}}const KSe=({steps:e,options:t,onStart:r,onNext:n,onPrevious:a,onEnd:o,onHighlighted:i,onBeforeHighlighted:c,onDeselected:u})=>{const f=p.useRef(null),h=g=>pe(void 0,null,function*(){return document.getElementById("boardingCSSLink")?Promise.resolve():new Promise((C,j)=>{const E=document.createElement("link");E.rel="stylesheet",E.id="boardingCSSLink",E.type="text/css",E.href=g,E.onload=()=>{C()},E.onerror=()=>j(new Error("Failed to load CSS at ".concat(g))),document.head.appendChild(E)})}),m=()=>{const g=document.getElementById("boardingCSSLink");g&&g.remove()},v=p.useCallback((g,b)=>{m(),o&&o(g,b)},[o]);p.useEffect(()=>{var b;if(f.current){f.current.defineSteps(e),f.current.isActivated||(b=f.current)==null||b.start();return}const g=new qSe(ee(R({},t),{onStart:r,onNext:n,onPrevious:a,onReset:v,onHighlighted:i,onBeforeHighlighted:c,onDeselected:u}));g.defineSteps(e),f.current=g},[e,t,r,n,a,o,i,c,u]);const S=p.useCallback(()=>{f.current&&pe(void 0,null,function*(){var b;yield h("/assets/styles/boarding.css"),(b=f.current)==null||b.start()})},[]),w=p.useCallback(()=>{m(),f.current&&(f.current.reset(!0),f.current=null)},[]);return{startBoarding:S,resetBoarding:w,boarding:f.current}},GSe=({tourName:e,element:t,onCompleted:r,onSkipped:n})=>{var E,N;const{t:a}=Tt(),o=sa(),i=ol(),[c,u]=p.useState([]),[f,h]=p.useState(null),[m,v]=p.useState(null),{appToursCompletedList:S,appToursSkippedList:w,setAppToursSkippedList:g}=dt(pn);p.useEffect(()=>{if(f===e&&!(j!=null&&j.isActivated)){b();return}C();const T=a(e,{returnObjects:!0,defaultValue:[],ns:"tours"}),A=t?T.filter(M=>Array.isArray(t)?t.includes(M.element):t===M.element):T;u(A),h(e)},[e]);const{startBoarding:b,resetBoarding:C,boarding:j}=KSe({steps:c,options:{animate:!0,opacity:.65,padding:8,allowClose:!!t,doneBtnText:t?a("Got It",{ns:"help"}):a("Done",{ns:"help"}),closeBtnText:"x",nextBtnText:a("Next",{ns:"help"}),prevBtnText:a("Previous",{ns:"help"}),showButtons:!0,keyboardControl:!0},onEnd:(T,A)=>{const M=Br.value,z=Object.values(ar).sort((V,I)=>QP.indexOf(V)-QP.indexOf(I)).filter(V=>!S.includes(V)&&V!==M)[0];Br.value=null;const H=A==="finish";if(t)mu.value=null;else{if(!H){const I=[...w,M];g(I)}const V=q1({title:H?s.jsxs(me,{className:"text-green-600 dark:text-green-500 justify-start items-center",children:[a("Tour Completed",{ns:"help"}),s.jsx($t,{className:"h-5 w-5 ml-2"})]}):s.jsx(Q,{className:"text-yellow-600 dark:text-yellow-500",children:a("Tour Skipped",{ns:"help"})}),delay:H?12e3:6e3,description:A==="finish"?z?s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"text-[14px]",children:s.jsx(ss,{i18nKey:"Great job! You have completed this tour. Ready to see more? Click Skip if you want to explore on your own. All tours always available from the Help > App Guided Tours menu in the navbar.",ns:"help"})}),s.jsxs(me,{className:"justify-between",children:[s.jsx(ye,{autoFocus:!0,className:"bg-blue-500 dark:bg-blue-700 dark:hover:bg-blue-800 hover:bg-blue-600 px-4 mt-3 text-white",onClick:()=>{V.dismiss(),Br.value=z},children:a("Start Next Tour",{ns:"help"})}),s.jsxs(me,{className:"gap-3",children:[s.jsx(ye,{variant:"light",className:"text-gray-800 px-4 mt-3 dark:bg-slate-800 dark:text-gray-400 hover:dark:text-gray-300",onClick:()=>{V.dismiss()},children:a("Later",{ns:"help"})}),s.jsx(ye,{variant:"outline",className:"text-gray-800 px-4 mt-3",onClick:()=>{C(),n&&M&&n(M),V.dismiss()},children:a("Skip",{ns:"help"})})]})]})]}):s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"text-[14px]",children:s.jsx(ss,{i18nKey:"Congratulations! You have finished all the tours and now ready to make the most of PasteBar's features. Remember, all tours always available from the Help > App Guided Tours menu in the navbar.",ns:"help"})}),s.jsx(me,{className:"justify-between",children:s.jsx(ye,{autoFocus:!0,className:"bg-green-500 dark:bg-green-700 dark:hover:bg-green-800 hover:bg-green-600 px-4 mt-3 text-white !outline-none",onClick:()=>{V.dismiss()},children:a("Let's get started",{ns:"help"})})})]}):s.jsxs(Q,{className:"text-[15px]",children:[s.jsx(ss,{i18nKey:"Feel free to explore the app on your own. If you need help or want to access the tours later, you can always find them in the Help > App Guided Tours menu in the navigation bar.",ns:"help"}),s.jsx(Q,{children:s.jsx(ye,{variant:"outline",autoFocus:!0,className:"text-gray-800 px-4 mt-3",onClick:()=>{C(),V.dismiss()},children:a("Got It",{ns:"help"})})})]})});r&&H&&r(e)}},onHighlighted:T=>{v(T)}});return $s("esc",()=>{Br.value&&(Br.value=null,mu.value=null,C())}),p.useEffect(()=>{if(!(j!=null&&j.isActivated)){if(i.pathname!=="/history"&&(Br.value===ar.historyPanelTour||Br.value===ar.dashboardClipsTour)){o("/history",{replace:!0});return}if(i.pathname!=="/menu"&&Br.value===ar.menuTour){o("/menu",{replace:!0});return}if(!i.pathname.startsWith("/app-settings")&&Br.value===ar.settingsTour){o("/app-settings/history",{replace:!0});return}Br.value===ar.navBarTour&&b()}},[Br.value]),p.useEffect(()=>{if(!(j!=null&&j.isActivated)){if(i.pathname==="/history"&&(Br.value===ar.historyPanelTour||Br.value===ar.dashboardClipsTour)){b();return}if(i.pathname==="/menu"&&Br.value===ar.menuTour){b();return}if(i.pathname.startsWith("/app-settings")&&Br.value===ar.settingsTour){b();return}return Br.value===ar.navBarTour&&b(),()=>{C()}}},[]),j!=null&&j.isActivated?s.jsx(ye,{className:"boarding-highlighted-element fixed bottom-4 z-[10001] ".concat((N=(E=m==null?void 0:m.popover)==null?void 0:E.options.meta)==null?void 0:N.closeTourCssPosition),onClick:()=>{C()},children:t?s.jsx(s.Fragment,{children:s.jsx(br,{className:"h-5 w-5"})}):s.jsx(s.Fragment,{children:a("Skip Tour",{ns:"help"})})}):null},YSe=(e,t)=>{var _;const{t:r}=Tt(),n=p.useRef(null);ol();const a=p.useRef(null),{isScrolling:o,isSwapPanels:i}=dt(_s),{historyListSimpleBar:c,clipboardHistory:u}=dt(pi),{appToursCompletedList:f,setAppToursCompletedList:h,setAppToursSkippedList:m,appToursSkippedList:v}=dt(pn),[S,w]=J2("resetPassCodeNextDelayInSeconds",null),[,g]=J2("resetPassCodeGlobalUnsuccessfulTries",0),[b,C]=u_({}),[j,E,N]=d_({}),T=We(!1),A=We(!1),[M,D]=p.useState({top:0,left:0}),L=p.useRef(j),z=p.useRef(b),H=sa(),V=($,U=0)=>{L.current||z.current||requestAnimationFrame(()=>{const K=n.current?n.current.getBoundingClientRect():new DOMRect(0),Y=$.top-K.top,B=U>0&&$.left+$.width/2-K.left>U?U/2:$.left+$.width/2-K.left;D({top:Y,left:B}),T.value=!0})};p.useEffect(()=>{var $;return S&&(On.value=($=parseInt(S,10))!=null?$:0),()=>{_i.value&&(clearInterval(_i.value),_i.value=null),On.value>0?(w(On.value),On.value=0):w(null)}},[]),p.useEffect(()=>{On.value>0&&_i.value==null&&(_i.value=setInterval(()=>{On.value>0?(w(On.value),On.value-=1):(_i.value&&clearInterval(_i.value),g(0),w(null),On.value=0,Yh.value=0,_i.value=null)},1e3))},[On.value]),p.useEffect(()=>{var $;b||j||(T.value=!1,($=window.getSelection())==null||$.removeAllRanges())},[i,u,b,j]),p.useEffect(()=>{L.current=j,z.current=b},[j,b]),p.useEffect(()=>{T.value&&(Rd.value=null,Ld.value=null)},[T.value]),$s("esc",()=>{var $;T.value&&(T.value=!1),($=window.getSelection())==null||$.removeAllRanges()}),$s(["meta+a","control+a"],$=>{$.preventDefault()}),$s(["meta+f","control+f"],$=>{Vd.value=$.type==="keydown",setTimeout(()=>{Vd.value&&(Vd.value=!1)},300)},{enableOnFormTags:!0});const I=Kd($=>{var K,Y;const U=tu();if(U.text.trim().length&&((K=U.selection)!=null&&K.containsNode(n.current,!0)))try{const F=U.selection.getRangeAt(0).getBoundingClientRect();let G=0;(Y=c==null?void 0:c.current)!=null&&Y.contains($.target)&&c.current.getBoundingClientRect().width>0&&(G=_$.getState().isSwapPanels?0:c.current.getBoundingClientRect().width),V(F,G)}catch(B){T.value=!1}else T.value=!1},600,{leading:!1}),q=M$($=>{var U;if($.target===(a==null?void 0:a.current)||(U=a.current)!=null&&U.contains($.target))return!1;T.value&&(T.value=!1)},30,{leading:!0});return p.useEffect(()=>{o&&T.value&&(T.value=!1)},[o]),p.useEffect(()=>{var $,U;return($=n==null?void 0:n.current)==null||$.addEventListener("mouseup",I),(U=n==null?void 0:n.current)==null||U.addEventListener("click",q),()=>{var K,Y;(K=n==null?void 0:n.current)==null||K.removeEventListener("mouseup",I),(Y=n==null?void 0:n.current)==null||Y.removeEventListener("click",q)}},[n.current]),s.jsxs("div",{ref:Ji(t,n),className:"flex flex-col items-center relative",children:[e.children,Zs.createPortal(s.jsx(Q,{className:hr($S["shared-container"],!T.value&&$S.visible),style:R({zIndex:9999},M),children:T.value&&s.jsxs("button",{ref:a,onClick:$=>{$.stopPropagation()},children:[s.jsx(Q,{className:"h-8 text-slate-50 flex items-center justify-center gap-1 px-1.5",children:!b&&!j?s.jsxs(s.Fragment,{children:[ur.value?s.jsx(js,{size:18,onClick:()=>{N(tu().text)}}):s.jsx(pa,{size:18,onClick:$=>{!$.altKey&&!$.metaKey?C(tu().text):N(tu().text)}}),s.jsx(Be,{isCompact:!0,side:"right",delayDuration:2e3,sideOffset:10,text:r("Add to clip or menu",{ns:"common"}),children:s.jsx(Fn,{size:18,onClick:()=>{A.value=!0,T.value=!1}})})]}):b?s.jsxs(s.Fragment,{children:[s.jsx($t,{size:16}),s.jsx(J,{className:"text-white text-sm pr-1",children:r("Copied",{ns:"common"})})]}):j&&E===null?s.jsxs(s.Fragment,{children:[s.jsx($t,{size:16}),s.jsx(J,{className:"text-white text-sm pr-1",children:r("Pasted",{ns:"common"})})]}):E!==null&&E>0&&s.jsx(s.Fragment,{children:s.jsx(J,{className:"text-white text-sm px-1",children:r("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:E})})})}),s.jsx(Q,{className:$S.arrow})]})}),document.body),A.value&&s.jsx(D5e,{open:((_=tu().text)==null?void 0:_.length)>0,selectedText:tu().text,onClose:()=>{A.value=!1,tu().text?T.value=!0:T.value=!1},onConfirmClip:$=>{H("/history",{replace:!0}),A.value=!1,Ta.value&&(Ta.value=null),setTimeout(()=>{Rd.value=$,fa.value=Fi.CLIP},300)},onConfirmMenu:$=>{H("/menu",{replace:!0}),A.value=!1,setTimeout(()=>{Ld.value=$,no.value=!0},300)}}),E4.value&&s.jsx(M5e,{open:!0,onClose:()=>{E4.value=!1}}),Ud.value&&s.jsx(LA,{title:r("Confirm {{action}}",{ns:"common",action:Wd.value}),open:!0,onClose:()=>{Ud.value=!1,Wd.value=null,Hi.value=null,to.value=null},showPasscode:!0,onConfirmSuccess:()=>{Ud.value=!1,Wd.value=null,Hi.value=to.value},onConfirmFailed:()=>{Ud.value=!1,Wd.value=null,Hi.value=null,to.value=null}}),za.value&&s.jsx(gSe,{open:!0,showProPayments:fm,onClose:()=>{fm.value||(za.value=!1)}}),N4.value&&s.jsx(A5e,{open:!0,onClose:()=>{N4.value=!1}}),e2.value&&s.jsx(vSe,{open:!0,onClose:()=>{e2.value=!1}}),Ii.value&&s.jsx(LA,{open:!0,showPasscode:!0,isLockScreen:!0,onClose:()=>{Ii.value=!1},onConfirmSuccess:()=>{Ii.value=!1}}),Br.value&&s.jsx(GSe,{tourName:Br.value,onCompleted:$=>{f.includes($)||h([...f,$])},onSkipped:$=>{v.includes($)||m([...v,$])},element:mu.value})]})},ZSe=()=>{const{isMacOSX:e,isWindows:t}=dt(_s);return DCe(),s.jsx("div",{className:"flex flex-col bg-slate-100 dark:bg-slate-700 overflow-hidden rounded-b-md mt-[40px]",children:s.jsxs("div",{"data-tauri-drag-region":!0,className:"".concat(e?"h-calc(100vh-40px) p-[14px]":""," ").concat(t?"h-[calc(100vh-50px)] px-[12px] pt-[10px]":""," "),children:[s.jsx(g1e,{children:s.jsx(x_,{})}),s.jsx(a5e,{})]})})},Vk=p.forwardRef(YSe),XSe=Object.freeze(Object.defineProperty({__proto__:null,Component:ZSe,MainContainer:Vk},Symbol.toStringTag,{value:"Module"}));function GA(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xj(e,t){return Xj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},Xj(e,t)}function QSe(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Xj(e,t)}var YA=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function JSe(e,t){return!!(e===t||YA(e)&&YA(t))}function e3e(e,t){if(e.length!==t.length)return!1;for(var r=0;r=t?e.call(null):a.id=requestAnimationFrame(n)}var a={id:requestAnimationFrame(n)};return a}var BS=-1;function QA(e){if(e===void 0&&(e=!1),BS===-1||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",document.body.appendChild(t),BS=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return BS}var Vh=null;function JA(e){if(e===void 0&&(e=!1),Vh===null||e){var t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";var n=document.createElement("div"),a=n.style;return a.width="100px",a.height="100px",t.appendChild(n),document.body.appendChild(t),t.scrollLeft>0?Vh="positive-descending":(t.scrollLeft=1,t.scrollLeft===0?Vh="negative":Vh="positive-ascending"),document.body.removeChild(t),Vh}return Vh}var n3e=150,s3e=function(t,r){return t};function pV(e){var t,r=e.getItemOffset,n=e.getEstimatedTotalSize,a=e.getItemSize,o=e.getOffsetForIndexAndAlignment,i=e.getStartIndexForOffset,c=e.getStopIndexForStartIndex,u=e.initInstanceProps,f=e.shouldResetStyleCacheOnItemSizeChange,h=e.validateProps;return t=function(m){QSe(v,m);function v(w){var g;return g=m.call(this,w)||this,g._instanceProps=u(g.props,GA(g)),g._outerRef=void 0,g._resetIsScrollingTimeoutId=null,g.state={instance:GA(g),isScrolling:!1,scrollDirection:"forward",scrollOffset:typeof g.props.initialScrollOffset=="number"?g.props.initialScrollOffset:0,scrollUpdateWasRequested:!1},g._callOnItemsRendered=void 0,g._callOnItemsRendered=HS(function(b,C,j,E){return g.props.onItemsRendered({overscanStartIndex:b,overscanStopIndex:C,visibleStartIndex:j,visibleStopIndex:E})}),g._callOnScroll=void 0,g._callOnScroll=HS(function(b,C,j){return g.props.onScroll({scrollDirection:b,scrollOffset:C,scrollUpdateWasRequested:j})}),g._getItemStyle=void 0,g._getItemStyle=function(b){var C=g.props,j=C.direction,E=C.itemSize,N=C.layout,T=g._getItemStyleCache(f&&E,f&&N,f&&j),A;if(T.hasOwnProperty(b))A=T[b];else{var M=r(g.props,b,g._instanceProps),D=a(g.props,b,g._instanceProps),L=j==="horizontal"||N==="horizontal",z=j==="rtl",H=L?M:0;T[b]=A={position:"absolute",left:z?void 0:H,right:z?H:void 0,top:L?0:M,height:L?"100%":D,width:L?D:"100%"}}return A},g._getItemStyleCache=void 0,g._getItemStyleCache=HS(function(b,C,j){return{}}),g._onScrollHorizontal=function(b){var C=b.currentTarget,j=C.clientWidth,E=C.scrollLeft,N=C.scrollWidth;g.setState(function(T){if(T.scrollOffset===E)return null;var A=g.props.direction,M=E;if(A==="rtl")switch(JA()){case"negative":M=-E;break;case"positive-descending":M=N-j-E;break}return M=Math.max(0,Math.min(M,N-j)),{isScrolling:!0,scrollDirection:T.scrollOffsetA.clientWidth?QA():0:T=A.scrollHeight>A.clientHeight?QA():0}this.scrollTo(o(this.props,g,b,N,this._instanceProps,T))},S.componentDidMount=function(){var g=this.props,b=g.direction,C=g.initialScrollOffset,j=g.layout;if(typeof C=="number"&&this._outerRef!=null){var E=this._outerRef;b==="horizontal"||j==="horizontal"?E.scrollLeft=C:E.scrollTop=C}this._callPropsCallbacks()},S.componentDidUpdate=function(){var g=this.props,b=g.direction,C=g.layout,j=this.state,E=j.scrollOffset,N=j.scrollUpdateWasRequested;if(N&&this._outerRef!=null){var T=this._outerRef;if(b==="horizontal"||C==="horizontal")if(b==="rtl")switch(JA()){case"negative":T.scrollLeft=-E;break;case"positive-ascending":T.scrollLeft=E;break;default:var A=T.clientWidth,M=T.scrollWidth;T.scrollLeft=M-A-E;break}else T.scrollLeft=E;else T.scrollTop=E}this._callPropsCallbacks()},S.componentWillUnmount=function(){this._resetIsScrollingTimeoutId!==null&&XA(this._resetIsScrollingTimeoutId)},S.render=function(){var g=this.props,b=g.children,C=g.className,j=g.direction,E=g.height,N=g.innerRef,T=g.innerElementType,A=g.innerTagName,M=g.itemCount,D=g.itemData,L=g.itemKey,z=L===void 0?s3e:L,H=g.layout,V=g.outerElementType,I=g.outerTagName,q=g.style,_=g.useIsScrolling,$=g.width,U=this.state.isScrolling,K=j==="horizontal"||H==="horizontal",Y=K?this._onScrollHorizontal:this._onScrollVertical,B=this._getRangeToRender(),F=B[0],G=B[1],X=[];if(M>0)for(var se=F;se<=G;se++)X.push(p.createElement(b,{data:D,key:z(se,D),index:se,isScrolling:_?U:void 0,style:this._getItemStyle(se)}));var re=n(this.props,this._instanceProps);return p.createElement(V||I||"div",{className:C,onScroll:Y,ref:this._outerRefSetter,style:Ue({position:"relative",height:E,width:$,overflow:"auto",WebkitOverflowScrolling:"touch",willChange:"transform",direction:j},q)},p.createElement(T||A||"div",{children:X,ref:N,style:{height:K?"100%":re,pointerEvents:U?"none":void 0,width:K?re:"100%"}}))},S._callPropsCallbacks=function(){if(typeof this.props.onItemsRendered=="function"){var g=this.props.itemCount;if(g>0){var b=this._getRangeToRender(),C=b[0],j=b[1],E=b[2],N=b[3];this._callOnItemsRendered(C,j,E,N)}}if(typeof this.props.onScroll=="function"){var T=this.state,A=T.scrollDirection,M=T.scrollOffset,D=T.scrollUpdateWasRequested;this._callOnScroll(A,M,D)}},S._getRangeToRender=function(){var g=this.props,b=g.itemCount,C=g.overscanCount,j=this.state,E=j.isScrolling,N=j.scrollDirection,T=j.scrollOffset;if(b===0)return[0,0,0,0];var A=i(this.props,T,this._instanceProps),M=c(this.props,A,T,this._instanceProps),D=!E||N==="backward"?Math.max(1,C):1,L=!E||N==="forward"?Math.max(1,C):1;return[Math.max(0,A-D),Math.max(0,Math.min(b-1,M+L)),A,M]},v}(p.PureComponent),t.defaultProps={direction:"ltr",itemData:void 0,layout:"vertical",overscanCount:2,useIsScrolling:!1},t}var a3e=function(t,r){t.children,t.direction,t.height,t.layout,t.innerTagName,t.outerTagName,t.width,r.instance},o3e=50,Cp=function(t,r,n){var a=t,o=a.itemSize,i=n.itemMetadataMap,c=n.lastMeasuredIndex;if(r>c){var u=0;if(c>=0){var f=i[c];u=f.offset+f.size}for(var h=c+1;h<=r;h++){var m=o(h);i[h]={offset:u,size:m},u+=m}n.lastMeasuredIndex=r}return i[r]},i3e=function(t,r,n){var a=r.itemMetadataMap,o=r.lastMeasuredIndex,i=o>0?a[o].offset:0;return i>=n?mV(t,r,o,0,n):l3e(t,r,Math.max(0,o),n)},mV=function(t,r,n,a,o){for(;a<=n;){var i=a+Math.floor((n-a)/2),c=Cp(t,i,r).offset;if(c===o)return i;co&&(n=i-1)}return a>0?a-1:0},l3e=function(t,r,n,a){for(var o=t.itemCount,i=1;n=n&&(i=n-1),i>=0){var u=a[i];c=u.offset+u.size}var f=n-i-1,h=f*o;return c+h},c3e=pV({getItemOffset:function(t,r,n){return Cp(t,r,n).offset},getItemSize:function(t,r,n){return n.itemMetadataMap[r].size},getEstimatedTotalSize:eR,getOffsetForIndexAndAlignment:function(t,r,n,a,o,i){var c=t.direction,u=t.height,f=t.layout,h=t.width,m=c==="horizontal"||f==="horizontal",v=m?h:u,S=Cp(t,r,o),w=eR(t,o),g=Math.max(0,Math.min(w-v,S.offset)),b=Math.max(0,S.offset-v+S.size+i);switch(n==="smart"&&(a>=b-v&&a<=g+v?n="auto":n="center"),n){case"start":return g;case"end":return b;case"center":return Math.round(b+(g-b)/2);case"auto":default:return a>=b&&a<=g?a:a=C-w&&a<=b+w?n="auto":n="center"),n){case"start":return b;case"end":return C;case"center":{var j=Math.round(C+(b-C)/2);return jg+Math.floor(w/2)?g:j}case"auto":default:return a>=C&&a<=b?a:ar||a0;){var S=i[0]-1;if(!t(S))i[0]=S;else break}return i}var f3e=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},h3e=function(){function e(t,r){for(var n=0;n0&&arguments[0]!==void 0?arguments[0]:!1;this._memoizedUnloadedRanges=[],n&&this._ensureRowsLoaded(this._lastRenderedStartIndex,this._lastRenderedStopIndex)}},{key:"componentDidMount",value:function(){}},{key:"render",value:function(){var n=this.props.children;return n({onItemsRendered:this._onItemsRendered,ref:this._setRef})}},{key:"_ensureRowsLoaded",value:function(n,a){var o=this.props,i=o.isItemLoaded,c=o.itemCount,u=o.minimumBatchSize,f=u===void 0?10:u,h=o.threshold,m=h===void 0?15:h,v=d3e({isItemLoaded:i,itemCount:c,minimumBatchSize:f,startIndex:Math.max(0,n-m),stopIndex:Math.min(c-1,a+m)});(this._memoizedUnloadedRanges.length!==v.length||this._memoizedUnloadedRanges.some(function(S,w){return v[w]!==S}))&&(this._memoizedUnloadedRanges=v,this._loadUnloadedRanges(v))}},{key:"_loadUnloadedRanges",value:function(n){for(var a=this,o=this.props.loadMoreItems||this.props.loadMoreRows,i=function(f){var h=n[f],m=n[f+1],v=o(h,m);v!=null&&v.then(function(){if(u3e({lastRenderedStartIndex:a._lastRenderedStartIndex,lastRenderedStopIndex:a._lastRenderedStopIndex,startIndex:h,stopIndex:m})){if(a._listRef==null)return;typeof a._listRef.resetAfterIndex=="function"?a._listRef.resetAfterIndex(h,!0):(typeof a._listRef._getItemStyleCache=="function"&&a._listRef._getItemStyleCache(-1),a._listRef.forceUpdate())}})},c=0;c to ensure consistent ids are generated between the client and server.");let r=w3e(!!e),n="react-aria".concat(t.prefix);return e||"".concat(n,"-").concat(r)}function C3e(e){let t=jt.useId(),[r]=p.useState(_3e()),n=r?"react-aria":"react-aria".concat(tw.prefix);return e||"".concat(n,"-").concat(t)}const S3e=typeof jt.useId=="function"?C3e:k3e;function j3e(){return!1}function E3e(){return!0}function N3e(e){return()=>{}}function _3e(){return typeof jt.useSyncExternalStore=="function"?jt.useSyncExternalStore(N3e,j3e,E3e):p.useContext(y3e)}const T3e=typeof document!="undefined"?jt.useLayoutEffect:()=>{};let P3e=!!(typeof window!="undefined"&&window.document&&window.document.createElement),nR=new Map;function M3e(e){let[t,r]=p.useState(e),n=p.useRef(null),a=S3e(t),o=p.useCallback(i=>{n.current=i},[]);return P3e&&nR.set(a,o),T3e(()=>{let i=a;return()=>{nR.delete(i)}},[a]),p.useEffect(()=>{let i=n.current;i&&(n.current=null,r(i))}),a}const D3e=new Set(["id"]),A3e=new Set(["aria-label","aria-labelledby","aria-describedby","aria-details"]),R3e=new Set(["href","target","rel","download","ping","referrerPolicy"]),L3e=/^(data-.*)$/;function P_(e,t={}){let{labelable:r,isLink:n,propNames:a}=t,o={};for(const i in e)Object.prototype.hasOwnProperty.call(e,i)&&(D3e.has(i)||r&&A3e.has(i)||n&&R3e.has(i)||a!=null&&a.has(i)||L3e.test(i))&&(o[i]=e[i]);return o}let fg=new Map,sR=new Set;function aR(){if(typeof window=="undefined")return;let e=r=>{let n=fg.get(r.target);n||(n=new Set,fg.set(r.target,n),r.target.addEventListener("transitioncancel",t)),n.add(r.propertyName)},t=r=>{let n=fg.get(r.target);if(n&&(n.delete(r.propertyName),n.size===0&&(r.target.removeEventListener("transitioncancel",t),fg.delete(r.target)),fg.size===0)){for(let a of sR)a();sR.clear()}};document.body.addEventListener("transitionrun",e),document.body.addEventListener("transitionend",t)}typeof document!="undefined"&&(document.readyState!=="loading"?aR():document.addEventListener("DOMContentLoaded",aR));function I3e(e,t){const r=p.useRef(!0),n=p.useRef(null);p.useEffect(()=>(r.current=!0,()=>{r.current=!1}),[]),p.useEffect(()=>{r.current?r.current=!1:(!n.current||t.some((a,o)=>!Object.is(a,n[o])))&&e(),n.current=t},t)}const xV=p.createContext({activity:void 0,id:"",isCollapsed:void 0}),O3e=xV.Provider;function M_(){return p.useContext(xV)}let Qj=null,Qd=null;function $3e(e,t){switch(e){case"horizontal":return"ew-resize";case"horizontal-max":return t?"e-resize":"w-resize";case"horizontal-min":return t?"w-resize":"e-resize"}}function z3e(){Qd!==null&&(document.head.removeChild(Qd),Qj=null,Qd=null)}function F3e(e,t){if(Qj===e)return;Qj=e;const r=$3e(e,t);Qd===null&&(Qd=document.createElement("style"),document.head.appendChild(Qd)),Qd.innerHTML="*{cursor: ".concat(r,"!important;}")}const H3e="_PanelGroupWrapper_13ky4_1",B3e="_PanelGroup_13ky4_1",U3e="_Panel_13ky4_1",W3e="_PanelColumn_13ky4_15",V3e="_PanelRow_13ky4_16",q3e="_Centered_13ky4_26",K3e="_ResizeHandle_13ky4_39",G3e="_Overflow_13ky4_42",Y3e="_Button_13ky4_53",Z3e="_ButtonDisabled_13ky4_54",X3e="_Buttons_13ky4_68",Q3e="_Capitalize_13ky4_76",J3e="_WarningBlock_13ky4_80",e4e="_InlineCode_13ky4_87",t4e="_ResizeHandleOuter_13ky4_91",r4e="_ResizeHandleInner_13ky4_104",n4e="_HorizontalIcon_13ky4_135",s4e="_VerticalIcon_13ky4_136",a4e={PanelGroupWrapper:H3e,PanelGroup:B3e,Panel:U3e,PanelColumn:W3e,PanelRow:V3e,Centered:q3e,ResizeHandle:K3e,Overflow:G3e,Button:Y3e,ButtonDisabled:Z3e,Buttons:X3e,Capitalize:Q3e,WarningBlock:J3e,InlineCode:e4e,ResizeHandleOuter:t4e,ResizeHandleInner:r4e,HorizontalIcon:n4e,VerticalIcon:s4e};function oR(e){try{if(typeof localStorage!="undefined")e.getItem=t=>localStorage.getItem(t),e.setItem=(t,r)=>{localStorage.setItem(t,r)};else throw new Error("localStorage not supported in this environment")}catch(t){console.error(t),e.getItem=()=>null,e.setItem=()=>{}}}const Eg={getItem:e=>(oR(Eg),Eg.getItem(e)),setItem:(e,t)=>{oR(Eg),Eg.setItem(e,t)}};function o4e(e){if(e.sheet)return e.sheet;for(var t=0;t0?Ys(a0,--vo):0,Em--,is===10&&(Em=1,Kk--),is}function Oo(){return is=vo2||Yv(is)>3?"":" "}function y4e(e,t){for(;--t&&Oo()&&!(is<48||is>102||is>57&&is<65||is>70&&is<97););return G1(e,db()+(t<6&&Rl()==32&&Oo()==32))}function eE(e){for(;Oo();)switch(is){case e:return vo;case 34:case 39:e!==34&&e!==39&&eE(is);break;case 40:e===41&&eE(e);break;case 92:Oo();break}return vo}function b4e(e,t){for(;Oo()&&e+is!==57;)if(e+is===84&&Rl()===47)break;return"/*"+G1(t,vo-1)+"*"+qk(e===47?e:Oo())}function w4e(e){for(;!Yv(Rl());)Oo();return G1(e,vo)}function k4e(e){return SV(hb("",null,null,null,[""],e=CV(e),0,[0],e))}function hb(e,t,r,n,a,o,i,c,u){for(var f=0,h=0,m=i,v=0,S=0,w=0,g=1,b=1,C=1,j=0,E="",N=a,T=o,A=n,M=E;b;)switch(w=j,j=Oo()){case 40:if(w!=108&&Ys(M,m-1)==58){Jj(M+=rn(fb(j),"&","&\f"),"&\f")!=-1&&(C=-1);break}case 34:case 39:case 91:M+=fb(j);break;case 9:case 10:case 13:case 32:M+=x4e(w);break;case 92:M+=y4e(db()-1,7);continue;case 47:switch(Rl()){case 42:case 47:Ly(C4e(b4e(Oo(),db()),t,r),u);break;default:M+="/"}break;case 123*g:c[f++]=yl(M)*C;case 125*g:case 59:case 0:switch(j){case 0:case 125:b=0;case 59+h:C==-1&&(M=rn(M,/\f/g,"")),S>0&&yl(M)-m&&Ly(S>32?lR(M+";",n,r,m-1):lR(rn(M," ","")+";",n,r,m-2),u);break;case 59:M+=";";default:if(Ly(A=iR(M,t,r,f,h,a,c,E,N=[],T=[],m),o),j===123)if(h===0)hb(M,t,A,A,N,o,m,c,T);else switch(v===99&&Ys(M,3)===110?100:v){case 100:case 108:case 109:case 115:hb(e,A,A,n&&Ly(iR(e,A,A,0,0,a,c,E,a,N=[],m),T),a,T,m,c,n?N:T);break;default:hb(M,A,A,A,[""],T,0,c,T)}}f=h=S=0,g=C=1,E=M="",m=i;break;case 58:m=1+yl(M),S=w;default:if(g<1){if(j==123)--g;else if(j==125&&g++==0&&v4e()==125)continue}switch(M+=qk(j),j*g){case 38:C=h>0?1:(M+="\f",-1);break;case 44:c[f++]=(yl(M)-1)*C,C=1;break;case 64:Rl()===45&&(M+=fb(Oo())),v=Rl(),h=m=yl(E=M+=w4e(db())),j++;break;case 45:w===45&&yl(M)==2&&(g=0)}}return o}function iR(e,t,r,n,a,o,i,c,u,f,h){for(var m=a-1,v=a===0?o:[""],S=R_(v),w=0,g=0,b=0;w0?v[C]+" "+j:rn(j,/&\f/g,v[C])))&&(u[b++]=E);return Gk(e,t,r,a===0?D_:c,u,f,h)}function C4e(e,t,r){return Gk(e,t,r,yV,qk(g4e()),Gv(e,2,-2),0)}function lR(e,t,r,n){return Gk(e,t,r,A_,Gv(e,0,n),Gv(e,n+1,-1),n)}function zp(e,t){for(var r="",n=R_(e),a=0;a6)switch(Ys(e,t+1)){case 109:if(Ys(e,t+4)!==45)break;case 102:return rn(e,/(.+:)(.+)-([^]+)/,"$1"+tn+"$2-$3$1"+rw+(Ys(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Jj(e,"stretch")?jV(rn(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ys(e,t+1)!==115)break;case 6444:switch(Ys(e,yl(e)-3-(~Jj(e,"!important")&&10))){case 107:return rn(e,":",":"+tn)+e;case 101:return rn(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+tn+(Ys(e,14)===45?"inline-":"")+"box$3$1"+tn+"$2$3$1"+ua+"$2box$3")+e}break;case 5936:switch(Ys(e,t+11)){case 114:return tn+e+ua+rn(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return tn+e+ua+rn(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return tn+e+ua+rn(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return tn+e+ua+e+e}return e}var A4e=function(t,r,n,a){if(t.length>-1&&!t.return)switch(t.type){case A_:t.return=jV(t.value,t.length);break;case bV:return zp([hg(t,{value:rn(t.value,"@","@"+tn)})],a);case D_:if(t.length)return m4e(t.props,function(o){switch(p4e(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return zp([hg(t,{props:[rn(o,/:(read-\w+)/,":"+rw+"$1")]})],a);case"::placeholder":return zp([hg(t,{props:[rn(o,/:(plac\w+)/,":"+tn+"input-$1")]}),hg(t,{props:[rn(o,/:(plac\w+)/,":"+rw+"$1")]}),hg(t,{props:[rn(o,/:(plac\w+)/,ua+"input-$1")]})],a)}return""})}},R4e=[A4e],L4e=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(g){var b=g.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(g),g.setAttribute("data-s",""))})}var a=t.stylisPlugins||R4e,o={},i,c=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(g){for(var b=g.getAttribute("data-emotion").split(" "),C=1;C=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var O4e={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},$4e=/[A-Z]|^ms/g,z4e=/_EMO_([^_]+?)_([^]*?)_EMO_/g,EV=function(t){return t.charCodeAt(1)===45},uR=function(t){return t!=null&&typeof t!="boolean"},WS=N4e(function(e){return EV(e)?e:e.replace($4e,"-$&").toLowerCase()}),dR=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(z4e,function(n,a,o){return bl={name:a,styles:o,next:bl},a})}return O4e[t]!==1&&!EV(t)&&typeof r=="number"&&r!==0?r+"px":r};function Zv(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0)return r;switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return bl={name:r.name,styles:r.styles,next:bl},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)bl={name:n.name,styles:n.styles,next:bl},n=n.next;var a=r.styles+";";return a}return F4e(e,t,r)}case"function":{if(e!==void 0){var o=bl,i=r(e);return bl=o,Zv(e,t,i)}break}}if(t==null)return r;var c=t[r];return c!==void 0?c:r}function F4e(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a1&&arguments[1]!==void 0?arguments[1]:{},r=t.literal,n=t.overlap,a=r?e:["&"].concat(e);function o(i){if(typeof i!="object"||i==null)return[];if(Array.isArray(i))return i.map(o);var c={},u={},f={};return Object.keys(i).forEach(function(h){var m=i[h];if(!Array.isArray(m)&&r&&(m=[m]),(r||Array.isArray(m))&&h.charCodeAt(0)!==38){var v=void 0;m.forEach(function(S,w){if(!(n&&v===S)&&S!=null)if(v=S,w===0&&!r)f[h]=S;else if(c[a[w]]===void 0){var g;c[a[w]]=(g={},g[h]=S,g)}else c[a[w]][h]=S})}else typeof m=="object"?u[h]=o(m):f[h]=m}),a.forEach(function(h){c[h]&&(f[h]=c[h])}),Object.assign(f,u),f}return function(){for(var i=arguments.length,c=Array(i),u=0;unw(c,t)).join(", "):"".concat(e," ").concat(i," ").concat(o)+(r?" ".concat(vR(r)):"")}function vR(e){return q4e(e)?"".concat(e,"ms"):eo.animation.duration[e]}const Z4e="ksv",xR=X4e("reset");function X4e(e){return"".concat(Z4e,":").concat(e)}function Yk(...e){let t=mR(e);return t.includes(xR)?t:mR(xR,t)}const ic={mobile:0,tablet:740,desktop:992,wide:1200},pb=e=>"@media (min-width: ".concat(e,"px)"),qS=e=>"@media (max-width: ".concat(e-1,"px)"),yR={above:{mobile:pb(ic.tablet),tablet:pb(ic.desktop),desktop:pb(ic.wide)},below:{tablet:qS(ic.tablet),desktop:qS(ic.desktop),wide:qS(ic.wide)}},bR=G4e(ic),YT=ic,{mobile:U_e}=YT,Q4e=ke(YT,["mobile"]),J4e=Object.values(Q4e).map(pb),eje=Y4e(J4e);function tje(e,t){return t==null?null:typeof t=="object"&&!Array.isArray(t)?rje(e,t):e(t)}function rje(e,t){const r=[];for(let n=0;nt-e);sje.map(([,e])=>"(min-width: ".concat(e,"px)"));function aje(e,t){for(const r of t.split(".")){if(typeof e!="object"||e===null||!Object.prototype.hasOwnProperty.call(e,r))return;e=e[r]}return e}function sw(e,t){var r;return typeof t!="string"?t:(e=t.includes(".")?t:"".concat(e,".").concat(t),(r=aje(eo,e))!==null&&r!==void 0?r:t)}function So(e,t){return[e,n=>sw(t,n)]}const oje=e=>e;function Cn(e,t=oje){return[e,t]}function pg(e){return[e,r=>{const n=sw("color.border",r);return"".concat(eo.size.border.regular," solid ").concat(n)}]}function ije(e){let[t,r]=e.split(".");return!t||!r?!1:!!eo.size[t][r]}function lje(e){if(typeof e=="number"){if(e===0)return"".concat(e,"px");gR(e)}if(ije(e)){let[t,r]=e.split(".");return eo.size[t][r]}if(e==="auto"||e==="inherit"||e==="100%"||e==="100vh"||e==="100vw")return e;gR(e)}function Nd(e){return[e,lje]}function Jn(e){return So(e,"size.space")}function ql(e){return So(e,"size.radius")}const cje={backgroundColor:So("backgroundColor","color.background"),boxShadow:["boxShadow",uje],height:Nd("height"),maxHeight:Nd("maxHeight"),minHeight:Nd("minHeight"),maxWidth:Nd("maxWidth"),minWidth:Nd("minWidth"),width:Nd("width"),margin:Jn("margin"),marginStart:Jn("marginInlineStart"),marginEnd:Jn("marginInlineEnd"),marginTop:Jn("marginBlockStart"),marginBottom:Jn("marginBlockEnd"),marginX:Jn("marginInline"),marginY:Jn("marginBlock"),padding:Jn("padding"),paddingStart:Jn("paddingInlineStart"),paddingEnd:Jn("paddingInlineEnd"),paddingTop:Jn("paddingBlockStart"),paddingBottom:Jn("paddingBlockEnd"),paddingX:Jn("paddingInline"),paddingY:Jn("paddingBlock"),border:pg("border"),borderStart:pg("borderInlineStart"),borderEnd:pg("borderInlineEnd"),borderTop:pg("borderTop"),borderBottom:pg("borderBottom"),borderColor:So("borderColor","color.border"),borderStartColor:So("borderInlineStartColor","color.border"),borderEndColor:So("borderInlineEndColor","color.border"),borderTopColor:So("borderTopColor","color.border"),borderBottomColor:So("borderBottomColor","color.border"),borderStyle:Cn("borderStyle"),borderStartStyle:Cn("borderInlineStartStyle"),borderEndStyle:Cn("borderInlineEndStyle"),borderTopStyle:Cn("borderTopStyle"),borderBottomStyle:Cn("borderBottomStyle"),borderWidth:So("borderWidth","size.border"),borderStartWidth:So("borderInlineStartWidth","size.border"),borderEndWidth:So("borderInlineEndWidth","size.border"),borderTopWidth:So("borderTopWidth","size.border"),borderBottomWidth:So("borderBottomWidth","size.border"),borderRadius:ql("borderRadius"),borderTopStartRadius:ql("borderStartStartRadius"),borderTopEndRadius:ql("borderStartEndRadius"),borderBottomStartRadius:ql("borderEndStartRadius"),borderBottomEndRadius:ql("borderEndEndRadius"),borderTopRadius:ql(["borderStartStartRadius","borderStartEndRadius"]),borderBottomRadius:ql(["borderEndStartRadius","borderEndEndRadius"]),borderStartRadius:ql(["borderStartStartRadius","borderEndStartRadius"]),borderEndRadius:ql(["borderEndEndRadius","borderStartEndRadius"]),inset:Jn("inset"),insetBottom:Jn("insetBlockEnd"),insetEnd:Jn("insetInlineEnd"),insetStart:Jn("insetInlineStart"),insetTop:Jn("insetBlockStart"),insetX:Jn("insetInline"),insetY:Jn("insetBlock"),position:Cn("position"),zIndex:Cn("zIndex"),order:Cn("order"),alignSelf:Cn("alignSelf"),flex:Cn("flex",KS),flexBasis:Nd("flexBasis"),flexGrow:Cn("flexGrow",KS),flexShrink:Cn("flexShrink",KS),justifySelf:Cn("justifySelf"),gridArea:Cn("gridArea"),gridColumn:Cn("gridColumn"),gridColumnEnd:Cn("gridColumnEnd"),gridColumnStart:Cn("gridColumnStart"),gridRow:Cn("gridRow"),gridRowEnd:Cn("gridRowEnd"),gridRowStart:Cn("gridRowStart"),cursor:Cn("cursor"),opacity:Cn("opacity"),pointerEvents:Cn("pointerEvents"),overflow:Cn("overflow"),userSelect:Cn("userSelect")};function KS(e){return typeof e=="boolean"?e?"1":void 0:""+e}function uje(e){const t={small:"muted",medium:"regular",large:"emphasis"},[r,n]=e.split(" "),a=sw("color.shadow",n!=null?n:t[r]),o=sw("size.shadow",r);return"".concat(o," ").concat(a)}function dje(e,t){let r={};for(let n in e){let a=t[n];if(!a||e[n]==null)continue;let[o,i]=a,c=tje(i,e[n]);if(Array.isArray(o))for(let u of o)r[u]=c;else r[o]=c}return r}function L_(e,t={}){let r=R(R({},cje),t),h=e,{isHidden:n,UNSAFE_className:a,UNSAFE_style:o}=h,i=ke(h,["isHidden","UNSAFE_className","UNSAFE_style"]),c=dje(e,r),u=eje(c);i.className,i.style;let f=[];if(n)if(n===!0)f.push({display:"none"});else{const m={};"above"in n&&(m[yR.above[n.above]]={display:"none"}),"below"in n&&(m[yR.below[n.below]]={display:"none"}),f.push(m)}return{className:Yk(Nm(u),a,Nm(f)),style:o}}function wR(e){return pje(e)?e.clientX:mje(e)?e.touches[0].clientX:0}function fje(e,t,r){return Math.round((e-t)/(r-t)*100)}function I_(e){return"primary-pane-".concat(e)}function TV(e){return"secondary-pane-".concat(e)}function PV(e){return"resize-handle-".concat(e)}function kR(e){return document.getElementById(I_(e))}function hje(e){return document.getElementById(TV(e))}function CR(e){return document.getElementById(PV(e))}function qh(e){return"".concat(e,"px")}function pje(e){return e.type.startsWith("mouse")}function mje(e){return e.type.startsWith("touch")}const MV="--primary-pane-max-width",gje="var(".concat(MV,")"),DV="--primary-pane-min-width",vje="var(".concat(DV,")"),mb="--primary-pane-width",xje="var(".concat(mb,")"),yje=32,bje=10,wje={border:0,clip:"rect(0 0 0 0)",clipPath:"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},kje=p.forwardRef(function(t,r){const{activity:n,id:a,isCollapsed:o}=M_();return s.jsx("div",ee(R({},t),{ref:r,"aria-controls":I_(a),"aria-label":"Resize","aria-orientation":"vertical",id:PV(a),role:"separator",tabIndex:0,"data-split-view-resize-handle":!0,"data-split-view-activity":n,"data-split-view-collapsed":o||void 0,className:"animate-in panel-resize_tour ".concat(Nm({backgroundColor:'var("--tw-red-500")',boxSizing:"border-box",cursor:"ew-resize",flexShrink:0,opacity:0,outline:0,position:"relative",touchAction:"none",animationDuration:"0.3s",transition:nw("opacity"),userSelect:"none",width:18,zIndex:1,"&[data-split-view-collapsed]:not([data-split-view-activity])":wje,"&::before":{content:'""',position:"absolute",inset:"calc(".concat(eo.size.space.small," * -1)")},"&::after":{backgroundColor:eo.color.alias.backgroundHovered,content:'""',insetBlock:0,insetInline:"calc(".concat(eo.size.border.medium," * -1)"),opacity:0,position:"absolute",transition:nw("opacity")},"&:hover":{opacity:1,backgroundColor:eo.color.border.neutral,transitionDelay:eo.animation.duration.regular,"&::after":{opacity:1,transitionDelay:eo.animation.duration.regular}},"&[data-split-view-activity]::after":{backgroundColor:eo.color.background.accentEmphasis,insetInline:"calc(".concat(eo.size.border.regular," * -1)"),opacity:1}})),children:s.jsx(kz,{className:"".concat(a4e.HorizontalIcon," text-slate-300 dark:text-slate-500"),type:"resize-horizontal",width:"16px"})}))});function O_(e){const{autoSaveId:t,children:r,defaultSize:n,isCollapsed:a,minSize:o,maxSize:i,onCollapseChange:c,onResize:u,swapPanes:f,reversed:h,storage:m=Eg}=e,[v,S]=f?[r[1],r[0]]:r,w=M3e(e.id),g=L_(e),[b,C]=p.useState(h),[j,E]=p.useState(!1),[N,T]=p.useState(!1),[A,M]=p.useState(()=>{let H=n;if(t){const V=m.getItem(t);V&&(H=Number.parseInt(V))}return H}),D=p.useRef(null),L=p.useRef(0),z=p.useRef(0);return p.useEffect(()=>{const H=CR(w),V=kR(w),I=hje(w);C(h?(H==null?void 0:H.previousElementSibling)===V:(H==null?void 0:H.previousElementSibling)===I)},[h,w]),I3e(()=>u==null?void 0:u(A),[A]),p.useEffect(()=>{var H;(H=D.current)==null||H.style.setProperty(mb,qh(A)),z.current=A,t&&m.setItem(t,qh(A))},[t,u,A,m]),p.useEffect(()=>{const H=D.current,V=CR(w),I=kR(w);if(!H||!V||!I)return;let q=!1;const _=typeof a=="boolean",$=G=>{G.preventDefault();let X=wR(G)-L.current;b&&(X=X*-1);let se=A+X;Math.abs(se-n)i&&(re="horizontal-max"),F3e(re,!!b)},U=()=>{V.blur(),E(!1),z3e(),q?(c==null||c(!a),I.style.removeProperty("width")):M(x3e(z.current,o,i)),q=!1,document.body.removeEventListener("mousemove",$),document.body.removeEventListener("touchmove",$),window.removeEventListener("mouseup",U),window.removeEventListener("touchend",U)},K=G=>{"button"in G&&G.button!==0||"touches"in G&&G.touches.length!==1||(E(!0),L.current=wR(G),document.body.addEventListener("mousemove",$),document.body.addEventListener("touchmove",$),window.addEventListener("mouseup",U),window.addEventListener("touchend",U))},Y=G=>{if(G.defaultPrevented)return;const X=Math.round((i-o)/bje),se=()=>M(ie=>Math.min(ie+X,i)),re=()=>M(ie=>Math.max(ie-X,o));switch(G.key){case"Enter":_&&(G.preventDefault(),c==null||c(!a));break;case"Home":G.preventDefault(),M(o);break;case"End":G.preventDefault(),M(i);break;case"ArrowLeft":G.preventDefault(),b?se():re();break;case"ArrowRight":G.preventDefault(),b?re():se()}},B={passive:!0},F=G=>{G.clientX===L.current&&M(n)};return V.addEventListener("contextmenu",U),V.addEventListener("dblclick",F),V.addEventListener("keydown",Y),V.addEventListener("mousedown",K,B),V.addEventListener("touchstart",K,B),()=>{V.removeEventListener("contextmenu",U),V.removeEventListener("dblclick",F),V.removeEventListener("keydown",Y),V.removeEventListener("mousedown",K),V.removeEventListener("touchstart",K)}},[i,o,n,w,b,A,c,a,f]),s.jsx(O3e,{value:{id:w,isCollapsed:a,activity:j?"pointer":N?"keyboard":void 0},children:s.jsxs("div",ee(R(R({},g),P_(e)),{ref:D,className:Yk(Nm({display:"flex",height:"100%",width:"100%",overflow:"hidden",[DV]:qh(o),[MV]:qh(i),[mb]:qh(n)}),g.className),children:[v,s.jsx(kje,{"aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":fje(A,o,i),onBlur:()=>T(!1),onFocus:()=>T(!0)}),S]}))})}const $_=p.forwardRef(function(t,r){const{activity:n,id:a,isCollapsed:o}=M_(),i=L_(t);return s.jsx("div",ee(R(R({},i),P_(t)),{ref:r,id:I_(a),"data-split-pane":"primary","data-split-view-activity":n,"data-split-view-collapsed":o||void 0,className:Yk(Nm({containerType:"inline-size",overflow:"hidden",width:"clamp(".concat(vje,",").concat(xje,",").concat(gje,")"),maxWidth:"calc(100% - 100px)","&[data-split-view-collapsed]":{visibility:"hidden",width:0},"&:not([data-split-view-activity])":{transition:nw("width")},"&[data-split-view-activity=pointer]":{pointerEvents:"none"}}),i.className),children:t.children}))}),z_=p.forwardRef(function(t,r){const{id:n,activity:a}=M_(),o=L_(t);return s.jsx("div",ee(R(R({},o),P_(t)),{ref:r,id:TV(n),"data-split-pane":"secondary","data-split-view-activity":a,className:Yk(Nm({containerType:"inline-size",flex:"1 1 0",minWidth:"100px",overflow:"hidden","&[data-split-view-activity=pointer]":{pointerEvents:"none"}}),o.className),children:t.children}))});function Cje({id:e}){const{setNodeRef:t,isOver:r}=Lw({id:e});return s.jsxs("div",{ref:t,className:"flex flex-row items-center justify-center py-1.5 px-3 border-2 border-dashed rounded-md w-[260px] ".concat(r?"border-red-600":"border-slate-300 dark:border-slate-600"),children:[s.jsx(J,{children:" "}),s.jsx(xn,{size:15,className:"text-red-400 dark:text-red-700"}),s.jsx(J,{children:" "})]})}function AV({historyId:e,value:t,arrLinks:r,isImage:n,isText:a,isImageData:o,isLargeView:i,isMasked:c,isPinned:u,isFavorite:f,detectedLanguage:h,invalidateClipboardHistoryQuery:m=()=>{},generateLinkMetaData:v=()=>Promise.resolve(),removeLinkMetaData:S=()=>Promise.resolve(),isSelected:w,hasLinkCard:g,setSavingItem:b,setLargeViewItemId:C,setSelectHistoryItem:j,onCopyPaste:E}){const{t:N}=Tt(),T=gr(),{copyPasteDelay:A,setCopyPasteDelay:M,historyDetectLanguagesEnabledList:D}=dt(pn),{deleteClipboardHistoryItem:L}=dt(pi),{updateClipboardHistoryById:z}=Jke(),{deleteClipboardHistoryByIds:H}=w_(),{pinnedClipboardHistoryByIds:V}=jW(),I=sa(),q=_=>{co(N("Errors:::Something went wrong! {{err}} Please try again.",{ns:"common",err:_}),"Error")};return e==null?null:s.jsx(R1,{children:s.jsxs(Xm,{className:"w-[190px]",children:[s.jsx(St,{onClick:()=>{j(e)},children:w?s.jsxs(s.Fragment,{children:[N("Deselect",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Dce,{size:15})})]}):s.jsxs(s.Fragment,{children:[N("Select",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Tz,{size:15})})]})}),s.jsxs(St,{onClick:()=>{E(e)},children:[N("Copy & Paste",{ns:"contextMenus"}),s.jsxs(me,{className:"ml-auto",children:[s.jsx(me,{className:"text-gray-800 relative",children:s.jsx(Q,{className:"py-0 px-2 font-normal pr-2",children:s.jsx(J,{className:"text-xs text-gray-400/80",children:A>0?"delay ".concat(A,"s"):"no delay"})})}),s.jsx(js,{size:15})]})]}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[N("Paste Delay",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[s.jsx(zi,{checked:A===1,onSelect:()=>{M(1),E(e,1)},children:s.jsxs(J,{children:["1 ",N("second",{ns:"common"})]})}),s.jsx(zi,{checked:A===2,onSelect:()=>{M(2),E(e,2)},children:s.jsxs(J,{children:["2 ",N("seconds",{ns:"common"})]})}),s.jsx(zi,{checked:A===3,onSelect:()=>{M(3),E(e,3)},children:s.jsxs(J,{children:["3 ",N("seconds",{ns:"common"})]})}),s.jsx(zi,{checked:A===4,onSelect:()=>{M(4),E(e,4)},children:s.jsxs(J,{children:["4 ",N("seconds",{ns:"common"})]})}),s.jsx(zi,{checked:A===5,onSelect:()=>{M(5),E(e,5)},children:s.jsxs(J,{children:["5 ",N("seconds",{ns:"common"})]})})]})]}),s.jsx(Fr,{}),s.jsxs(St,{onClick:()=>{C(i?null:e)},children:[i?N("Close",{ns:"contextMenus"}):N("View",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:i?s.jsx(F6,{size:15}):s.jsx(k1,{size:15})})]}),s.jsx(Fr,{}),(r==null?void 0:r.length)>0&&s.jsxs(s.Fragment,{children:[r[0]===t&&!n&&!g&&s.jsxs(St,{onClick:()=>pe(this,null,function*(){yield v(e,_n(r[0])),m()}),children:[N("Add Link Card",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Av,{size:15})})]}),g&&s.jsxs(St,{onClick:()=>pe(this,null,function*(){yield S(e),m()}),children:[N("Remove Link Card",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(Av,{size:15})})]})]}),s.jsxs(St,{onClick:()=>pe(this,null,function*(){yield V({historyIds:[e],isPinned:!u}),yield T.invalidateQueries({queryKey:["find_clipboard_histories_by_value_or_filters"]})}),children:[u?N("UnPin",{ns:"contextMenus"}):N("Pin",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:u?s.jsx(Vu,{size:15}):s.jsx(Cc,{size:15})})]}),s.jsxs(St,{onClick:()=>pe(this,null,function*(){yield z({historyId:e,updatedData:{isFavorite:!f,historyId:e}}),yield T.invalidateQueries({queryKey:["find_clipboard_histories_by_value_or_filters"]})}),children:[f?N("Remove Star",{ns:"contextMenus"}):N("Star",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:f?s.jsx(Uw,{size:15}):s.jsx(Yf,{size:15})})]}),s.jsx(Fr,{}),s.jsxs(In,{children:[s.jsxs(Mn,{children:[N("Add to",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{className:"w-28",children:[s.jsxs(St,{onClick:()=>{fa.value=Fi.CLIP,dm.value=[e]},children:[N("AddTo:::Clip on Board",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx($6,{size:15})})]}),s.jsxs(St,{onClick:()=>{I("/menu",{replace:!0}),setTimeout(()=>{xu.value=e.toString(),no.value=!0},300)},children:[N("AddTo:::Paste Menu",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(H6,{size:15})})]})]})]}),s.jsx(Fr,{}),(r==null?void 0:r.length)>0&&!h||a&&s.jsxs(s.Fragment,{children:[s.jsxs(St,{onClick:()=>{z({historyId:e,updatedData:{isMasked:!c,historyId:e}})},children:[c?N("Unmask Secret",{ns:"contextMenus"}):N("Mask Secret",{ns:"contextMenus"}),s.jsx("div",{className:"ml-auto",children:s.jsx(_z,{size:15})})]}),s.jsx(Fr,{})]}),h&&s.jsxs(s.Fragment,{children:[s.jsxs(In,{children:[s.jsxs(Mn,{children:[N("Detected Language",{ns:"contextMenus"})," ..."]}),s.jsxs(Dn,{children:[D.map(_=>s.jsx(zi,{checked:h===_,onSelect:()=>{z({historyId:e,updatedData:{detectedLanguage:_,isCode:!0,historyId:e}})},children:s.jsx(J,{children:_})},_)),s.jsx(Fr,{}),s.jsxs(St,{onSelect:()=>{z({historyId:e,updatedData:{isCode:!1,isText:!0,historyId:e}})},children:[s.jsx(yoe,{size:16,className:"mr-2"}),s.jsx(J,{children:N("not a code",{ns:"contextMenus"})})]})]})]}),s.jsx(Fr,{})]}),(n||o)&&s.jsxs(St,{onClick:()=>{Sr("save_to_file_history_item",{historyId:e,asImage:!0}).then(_=>{_==="saved"?(b(e),setTimeout(()=>{b(null)},1600)):_!=="cancel"&&(q(N("Errors:::Cant save image file",{ns:"common"})),console.error(N("Errors:::Failed to save image file",{ns:"common"}),_))}).catch(()=>{q(N("Errors:::Cant save image file",{ns:"common"}))})},children:[N("Save as Image File",{ns:"contextMenus"})," ...",s.jsx("div",{className:"ml-auto",children:s.jsx(Df,{size:15})})]}),!(n&&!(r!=null&&r.length))&&s.jsxs(St,{onClick:()=>{Sr("save_to_file_history_item",{historyId:e}).then(_=>{_==="saved"?(b(e),setTimeout(()=>{b(null)},1600)):_!=="cancel"&&q(N("Errors:::Cant save to file",{ns:"common"}))}).catch(()=>{q(N("Errors:::Cant save to file",{ns:"common"}))})},children:[N("Save as Text File",{ns:"contextMenus"}),"...",s.jsx("div",{className:"ml-auto",children:s.jsx(Df,{size:15})})]}),s.jsx(Fr,{}),s.jsxs(St,{className:iu.value===e?"!bg-red-100 dark:!bg-red-950":"",onClick:_=>pe(this,null,function*(){_.preventDefault(),iu.value===e?(yield H({historyIds:[e]}),L(e),iu.value=null):(_.preventDefault(),iu.value=e,setTimeout(()=>{iu.value=null},3e3))}),children:[s.jsx(me,{children:s.jsx(J,{className:"!text-red-500 dark:!text-red-600",children:iu.value!==e?N("Delete",{ns:"common"}):N("Click to Confirm",{ns:"common"})})}),s.jsx("div",{className:"ml-auto",children:s.jsx(xn,{className:"h-4 w-4 text-red-500 dark:!text-red-600"})})]})]})})}function Sje({index:e,style:t,clipboard:r,isDark:n,searchTerm:a,isPinnedTop:o=!1,isPinnedTopFirst:i=!1,isDisabledPinnedMoveUp:c=!1,isDisabledPinnedMoveDown:u=!1,isExpanded:f=!1,isSelected:h=!1,isWrapText:m=!1,isDeleting:v=!1,isOverPinned:S=!1,isLinkCardPreviewEnabled:w=!0,selectedItemsCount:g=0,timeAgo:b=null,showTimeAgo:C=!1,showSelectHistoryItems:j,isCopied:E,isPasted:N,isSaved:T,isLargeView:A=!1,largeViewItemId:M,setSavingItem:D=()=>{},setLargeViewItemId:L=()=>{},pastingCountDown:z,onCopyPaste:H=()=>{},onCopy:V=()=>{},invalidateClipboardHistoryQuery:I=()=>{},generateLinkMetaData:q,removeLinkMetaData:_=()=>Promise.resolve(),isBrokenImage:$=!1,setExpanded:U=()=>{},onMovePinnedUpDown:K=({})=>{},setWrapText:Y=()=>{},setBrokenImageItem:B=()=>{},setSelectHistoryItem:F=()=>{},isDragPreview:G=!1,setRowHeight:X=()=>{}}){var Et,Re,xt,ot,pt,_t,ht,It,Ft,Vt,Ge,Zt,nr,vr,pr,Wr;const{t:se}=Tt(),re=p.useRef(null),ie=p.useRef(null),oe=p.useRef(null),ae=E||N||T,fe=We(!1),le=We(!1),ue=o?Ad.value==="".concat(r==null?void 0:r.historyId,"::pinned")&&!G&&!ae||le.value:Ad.value===(r==null?void 0:r.historyId)&&!ae&&!G||le.value,{setNodeRef:be,listeners:Ce,isDragging:Pe}=p$({disabled:G&&!(ue||h),data:{isPinned:o},id:o?"".concat(r==null?void 0:r.historyId,"::pinned"):(Et=r==null?void 0:r.historyId)!=null?Et:"id"});if(p.useLayoutEffect(()=>{var Le;(Le=re.current)!=null&&Le.clientHeight&&fe.value&&e!==void 0&&requestAnimationFrame(()=>{requestAnimationFrame(()=>{re!=null&&re.current&&X(e,(re==null?void 0:re.current.clientHeight)+4)})})},[fe.value,(Re=re.current)==null?void 0:Re.clientHeight,X,b,C,e]),p.useEffect(()=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{e!==void 0&&(re!=null&&re.current)&&X(e,(re==null?void 0:re.current.clientHeight)+4)})})},[f,m]),!r)return null;const Ee=p.useMemo(()=>{var Le,Dt,Ze;return!r.isFavorite&&!r.isPinned?"":(Le=re==null?void 0:re.current)!=null&&Le.clientHeight&&(((Dt=re==null?void 0:re.current)==null?void 0:Dt.clientHeight)<=42&&!C||((Ze=re==null?void 0:re.current)==null?void 0:Ze.clientHeight)<=72&&C)?o&&!r.isFavorite?"":"mr-4":""},[(xt=re==null?void 0:re.current)==null?void 0:xt.clientHeight,C,o,r.isFavorite,r.isPinned]),Oe=(pt=(ot=r==null?void 0:r.value)==null?void 0:ot.trim())!=null?pt:"",Ve=(r==null?void 0:r.isLink)&&((_t=r==null?void 0:r.linkMetadata)==null?void 0:_t.linkTitle)&&((ht=r==null?void 0:r.linkMetadata)==null?void 0:ht.linkDomain),ct=e===0&&r.updatedAt>Date.now()-i7,gt=i?"top-[5px]":"top-[-10px]",Ke="".concat(!o&&S&&!ct?"bg-orange-50 dark:!bg-transparent":v?"bg-red-50 dark:bg-red-950/80":le.value?"bg-slate-100 dark:bg-slate-900 ".concat(ct?"bg-teal-50/80 dark:bg-sky-900/80":""):ae?"dark:bg-green-950/80":T?"dark:bg-sky-950/80":h?"bg-yellow-50 dark:bg-amber-950/80":ct?"bg-teal-50/90 dark:bg-sky-950":"bg-white dark:bg-slate-950/80");return s.jsx(Q,ee(R({style:ee(R({},t),{opacity:(v||S)&&!G?1:Pe||G?.7:void 0}),ref:G&&!(ue||h)?null:be},h||ue?Ce:{}),{children:s.jsxs(Q,{ref:re,children:[C&&s.jsx(Q,{className:"flex justify-center text-gray-400 text-xs ".concat(e===0?"pt-0":"pt-2"),children:b}),s.jsxs(Ym,{onOpenChange:Le=>{le.value=Le,iu.value=null},children:[s.jsx(Zm,{ref:ue||h?oe:null,children:s.jsxs(Q,{className:"relative select-none history-item",children:[s.jsx(Q,{className:"rounded-md justify-start duration-300 relative px-3 py-1 hover:shadow-sm shadow-none border-2 flex flex-col ".concat(e===0&&r.updatedAt>Date.now()-i7&&!ae&&!v&&!h?"bg-teal-50 hover:border-slate-300 dark:bg-sky-900/40 dark:hover:border-slate-700 hover:bg-teal-50/90 hover:dark:bg-sky-950":v&&!G?"border-red-400 bg-red-50 dark:bg-red-950/80 dark:border-red-900/80 dark:hover:border-red-800":le.value?"bg-slate-100 dark:bg-slate-950/80 border-slate-300 dark:border-slate-600":T&&!G?"bg-sky-50 border-sky-600 dark:bg-sky-950/80 dark:border-sky-900/80 dark:hover:border-sky-800":ae&&!G?"bg-green-50 border-green-600 dark:bg-green-950/80 dark:border-green-800":h?"bg-amber-50 border-amber-300 dark:bg-amber-950/80 dark:border-amber-900/80 hover:border-amber-300/80 dark:hover:border-amber-800 hover:bg-amber-50/80 ".concat(o?"!border dark:!bg-amber-950":""):"hover:bg-white dark:hover:bg-slate-950/80 ".concat(A?"border-slate-500 bg-white dark:bg-slate-950 hover:dark:border-slate-500":"".concat(!o&&S?"border-orange-300 dark:border-orange-400/80 dark:bg-orange-900/80 bg-orange-50":o?"bg-slate-50 dark:!bg-slate-900 dark:hover:!bg-slate-950 hover:!border-orange-300/90 border-orange-300/50 dark:!border-orange-800/60 dark:hover:!border-orange-900":"bg-slate-50 hover:border-slate-300 dark:border-slate-800")," dark:hover:border-slate-700 dark:bg-slate-900 ").concat(G?"dark:border-slate-700":"")),onClickCapture:Le=>{var Dt,Ze;Le.shiftKey?(Le.preventDefault(),Le.stopPropagation(),(Dt=window.getSelection())==null||Dt.removeAllRanges(),L(A?null:r.historyId)):M&&!A?((Ze=window.getSelection())==null||Ze.removeAllRanges(),L(r.historyId)):Ad.value=o?"".concat(r.historyId,"::pinned"):r.historyId},onMouseEnter:()=>{Ad.value=o?"".concat(r.historyId,"::pinned"):r.historyId},onMouseLeave:()=>{Ad.value=null},onDoubleClickCapture:Le=>{tu().text.trim()||(Le.altKey||Le.metaKey?H(r.historyId):V(r.historyId))},children:s.jsxs(Q,{className:"".concat(j?"flex flex-row -ml-1":""),children:[j&&!G&&s.jsx(Q,{className:"flex flex-row items-center pr-2 z-100",children:s.jsx("input",{type:"checkbox",className:"form-checkbox h-[16px] w-[16px] bg-slate-400",onChange:()=>{F(r.historyId)},checked:h})}),r.isImageData?s.jsxs(Q,{className:"text-ellipsis self-start text-xs w-full _select-text overflow-hidden cursor-pointer",children:[s.jsx(Q,{className:"flex px-0 py-1 items-center justify-center w-full",children:s.jsx(tl,{src:Oe,hasError:$,onErrorCallback:()=>{B(r.historyId)},draggable:!1,decoding:"async",onLoad:()=>{fe.value=!0},className:"max-w-full max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-700"})}),s.jsx("code",{className:"pb-0.5",children:a?vS(r.value,a):s.jsx("span",{children:r.valuePreview})})]}):r.isLink&&r.isImage?s.jsxs(Q,{className:"text-ellipsis self-start text-xs w-full _select-text cursor-pointer overflow-hidden",children:[s.jsx(Q,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center w-full",children:s.jsx(tl,{src:_n(Oe),hasError:$,height:r.imageHeight,onErrorCallback:()=>{B(r.historyId)},draggable:!1,decoding:"async",onLoad:()=>{fe.value=!0},className:"max-w-full max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-700"})}),s.jsx("code",{className:"pb-0.5",children:a?vS(Oe,a):If(Oe,r.arrLinks)})]}):r.isImage&&r.imageDataUrl?s.jsx(Q,{className:"px-0 py-1.5 flex items-center justify-center w-full",children:s.jsx("img",{src:r.imageDataUrl,draggable:!1,decoding:"async",height:r.imageHeight,onLoad:()=>{fe.value=!0},className:"max-w-full max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-700"})}):r.detectedLanguage&&r.valuePreview?s.jsxs(Q,{ref:Le=>{Le&&(fe.value=!0)},className:"text-ellipsis self-start text-sm w-full overflow-hidden",children:[s.jsx(F1,{theme:n?el.vsDark:el.github,code:f?Oe:r.valuePreview.trim(),language:r.detectedLanguage,children:({className:Le,style:Dt,tokens:Ze,getLineProps:mr,getTokenProps:Se})=>s.jsx("code",{className:"".concat(Le),style:Dt,children:Ze.map((je,we)=>{const Fe=we===Ze.length-1&&r.valueMorePreviewLines&&!f;return s.jsxs("div",ee(R({},mr({line:je})),{className:"".concat(m?"whitespace-pre-wrap":"whitespace-pre"," overflow-hidden text-ellipsis"),children:[je.map((nt,rt)=>s.jsx("span",ee(R({},Se({token:nt})),{className:"_select-text cursor-pointer",children:a?Nl(nt.content,a):nt.content}),rt)),Fe&&s.jsx("span",{className:"select-none",children:"..."})]}),we)})})}),r.valueMorePreviewLines&&s.jsxs(Q,{className:"select-none",children:[" "," "," "]})]}):s.jsxs(Q,{ref:Le=>{Le&&(fe.value=!0)},className:"text-ellipsis self-start text-sm w-full overflow-hidden",children:[Ve&&s.jsx(Q,{className:"self-start mt-1.5 mb-1 text-xs w-full overflow-hidden",children:s.jsx(t0,{title:(It=r.linkMetadata)==null?void 0:It.linkTitle,description:(Ft=r.linkMetadata)==null?void 0:Ft.linkDescription,favicon:(Vt=r.linkMetadata)==null?void 0:Vt.linkFavicon,link:(Zt=(Ge=r==null?void 0:r.linkMetadata)==null?void 0:Ge.linkUrl)!=null?Zt:null,image:(nr=r.linkMetadata)==null?void 0:nr.linkImage,historyId:r.historyId,domain:(vr=r.linkMetadata)==null?void 0:vr.linkDomain})}),f?s.jsxs("code",{className:"justify-start cursor-pointer",children:[a?Nl(Oe,a):If(Oe,r.arrLinks),r.valueMorePreviewChars&&s.jsxs(Q,{className:"select-none",children:[" "," "," "]})]}):s.jsxs("code",{className:"justify-start cursor-pointer",children:[a?vS(Oe!=null?Oe:"",a):y1e({previewLinkCard:!Ve&&w,value:(Wr=(pr=r.valuePreview)==null?void 0:pr.trim())!=null?Wr:"",links:r.arrLinks,itemId:null,historyId:r.historyId}),r.valueMorePreviewChars&&s.jsxs(s.Fragment,{children:[s.jsx("span",{className:"select-none",children:"..."}),s.jsxs(Q,{className:"select-none",children:[" "," "," "]})]})]})]}),(r.valueMorePreviewLines||r.valueMorePreviewChars)&&s.jsxs(Q,{className:"absolute left-1 bottom-1 flex flex-row items-center rounded mb-[2px] pl-0.5 ".concat(Ke),children:[s.jsx(Q,{className:"text-xs text-muted-foreground px-1 cursor-pointer",onClick:()=>{U(r.historyId,!f)},children:s.jsx(Be,{text:f?"":se("Show all",{ns:"common"}),isCompact:!0,isDisabled:f||G,delayDuration:2e3,side:"bottom",sideOffset:10,children:f?s.jsxs(s.Fragment,{children:["- ",se("show less",{ns:"common"})]}):r!=null&&r.valueMorePreviewChars?s.jsxs(s.Fragment,{children:["+",r.valueMorePreviewChars," ",se("chars",{ns:"common"})]}):s.jsxs(s.Fragment,{children:["+",r.valueMorePreviewLines," ",se("lines",{ns:"common"})]})})}),f&&s.jsx(Q,{className:"text-xs text-muted-foreground px-1.5 cursor-pointer",onClick:()=>Y(r.historyId,!m),children:s.jsx(Be,{text:m?se("No Wrap",{ns:"common"}):se("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:m?s.jsx(km,{width:20,height:20}):s.jsx(Cm,{width:20,height:20})})})]}),r.isImage&&!r.isLink&&s.jsx(Q,{className:"absolute left-1 bottom-1 flex flex-row gap-1 rounded items-center pb-0.5 pl-0.5 z-100",children:s.jsxs(Q,{className:"text-xs text-muted-foreground px-1.5 rounded ".concat(Ke),title:se("Image size in pixels",{ns:"common"}),children:[r.imageWidth,"x",r.imageHeight]})}),s.jsxs(s.Fragment,{children:[r.isFavorite&&s.jsx(Yf,{className:"absolute text-transparent z-100 ".concat(r.isPinned?"fill-orange-400 dark:fill-orange-500/60":"fill-yellow-400 dark:fill-yellow-500/70"," pointer-events-none right-[4px] top-[3px]"),size:12}),r.isPinned&&!r.isFavorite&&!o&&s.jsx(Ll,{className:"absolute text-orange-400 dark:text-orange-500/60 pointer-events-none top-[-5px] right-[-5px] z-auto",size:28})]}),s.jsx(Q,{className:"absolute right-1 bottom-1 flex flex-row gap-1 items-center pb-0 pl-0.5 mb-[2px] rounded",children:ue||h?s.jsxs("div",{className:"flex ".concat(Ke),children:[o?s.jsxs(me,{className:"text-xs text-muted-foreground rounded px-1",children:[s.jsx(Be,{text:se("Move Up",{ns:"common"}),delayDuration:2e3,isCompact:!0,isDisabled:G||c,side:"bottom",sideOffset:10,children:s.jsx(Q,{className:"".concat(c?"cursor-default text-gray-300 dark:text-gray-800":"cursor-pointer text-slate-500"," px-1 flex items-center justify-center"),children:s.jsx(N1,{size:14,onClick:()=>{c||K({historyId:r.historyId,moveUp:!0})}})})}),s.jsx(Be,{text:se("Move Down",{ns:"common"}),delayDuration:2e3,isCompact:!0,isDisabled:G||u,side:"bottom",sideOffset:10,children:s.jsx(Q,{className:"".concat(u?"cursor-default text-gray-300 dark:text-gray-800":"cursor-pointer text-slate-500"," px-1 flex items-center justify-center"),children:s.jsx(E1,{size:14,onClick:()=>{u||K({historyId:r.historyId,moveDown:!0})}})})})]}):r.timeAgoShort&&s.jsx(Q,{className:"text-xs text-muted-foreground rounded px-1",children:s.jsx(Be,{text:zf(r.updatedAt,"PPpp"),delayDuration:2e3,isCompact:!0,isDisabled:G,side:"bottom",sideOffset:10,children:r.timeAgoShort})}),s.jsx(Be,{text:ur.value?se("Copy and Paste",{ns:"common"}):se("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,isDisabled:G,side:"bottom",sideOffset:10,children:s.jsx(Q,{className:"text-xs cursor-pointer text-slate-500 hover:text-green-700 px-1 border-0 flex items-center justify-center",children:ur.value?s.jsx(js,{size:14,onClick:()=>{H(r.historyId)}}):s.jsx(pa,{size:14,onClick:()=>{V(r.historyId)}})})}),s.jsx(Be,{text:se("Drag",{ns:"common"}),delayDuration:2e3,isCompact:!0,isDisabled:G,side:"bottom",sideOffset:10,children:s.jsx(Q,ee(R({className:"text-xs cursor-move text-slate-500 px-1 border-0 flex items-center justify-center"},Ce),{children:s.jsx(S1,{size:16})}))}),s.jsx(Be,{text:se("Action Menu",{ns:"common"}),delayDuration:2e3,isCompact:!0,isDisabled:G,side:"bottom",sideOffset:10,children:s.jsx(Q,{ref:ie,className:"text-xs px-1 cursor-pointer text-slate-500 pl-0 pr-0 flex items-center justify-center",children:s.jsx(sl,{size:16,onClick:()=>{var Le,Dt,Ze;(Ze=oe==null?void 0:oe.current)==null||Ze.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:(Le=ie==null?void 0:ie.current)==null?void 0:Le.getBoundingClientRect().x,clientY:(Dt=ie==null?void 0:ie.current)==null?void 0:Dt.getBoundingClientRect().y}))}})})})]},"hover-panel"):s.jsxs("div",{className:"".concat(Ee),children:[r.hasMaskedWords&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-0.5",children:s.jsx(Ll,{size:16})}),r.isMasked&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:se("Type:::Secret",{ns:"common"})}),r.detectedLanguage&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:r.detectedLanguage}),r.isLink&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:r.isVideo?se("Type:::Video",{ns:"common"}):pc(Oe)?se("Type:::Email",{ns:"common"}):se("Type:::Link",{ns:"common"})}),r.hasEmoji&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:se("Type:::Emoji",{ns:"common"})}),r.isImageData&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:se("Type:::Image Base64",{ns:"common"})})]},"labels-panel")}),g>1&&s.jsx(Q,{className:"absolute left-[-12px] top-[-12px] flex",children:s.jsx(lt,{variant:v?"destructive":"default",children:g})})]})}),T?s.jsx(Q,{className:"absolute z-50 w-full ".concat(gt," flex justify-center fade-in-animation"),children:s.jsxs(lt,{variant:"default",className:"bg-sky-700 dark:bg-sky-800 dark:text-blue-200 pointer-events-none px-2 py-[1.5px] pr-4 mr-[-6px] text-[10px] uppercase font-semibold",children:[s.jsx(Df,{size:14,className:"mr-1"}),se("Saved",{ns:"common"})]})}):ae&&!z?s.jsx(Q,{className:"absolute z-50 w-full ".concat(gt," flex justify-center fade-in-animation"),children:s.jsxs(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 py-[1.5px] pr-4 _mr-[-6px] text-[10px] uppercase font-semibold",children:[s.jsx($t,{size:14,className:"mr-1"}),E?se("Copied",{ns:"common"}):N?se("Pasted",{ns:"common"}):""]})}):A?s.jsx(Q,{className:"absolute z-50 w-full ".concat(gt," flex justify-center"),children:s.jsxs(lt,{variant:"default",className:"px-3 dark:bg-slate-600 hover:bg-slate-500/100 pr-2.5",children:[s.jsx(J,{className:"mr-1 bg-slate-500 dark:bg-slate-600 pointer-events-none dark:!text-slate-300",color:"muted",children:se("In View",{ns:"common"})}),s.jsx(br,{size:14,className:"cursor-pointer dark:text-slate-300",onClick:()=>{L(null)}})]})}):z&&z>0&&s.jsx(Q,{className:"absolute z-50 w-full ".concat(gt," flex justify-center"),children:s.jsx(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white px-3 py-[1.5px] pr-4 mr-[-6px] text-[10px] font-semibold",children:se("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:z})})})]})}),s.jsx(AV,{historyId:r.historyId,isMasked:r.isMasked,setSavingItem:D,value:r.value,isImage:r.isImage,isText:r.isText,isPinned:r.isPinned,isFavorite:r.isFavorite,isImageData:r.isImageData,detectedLanguage:r.detectedLanguage,setLargeViewItemId:L,isLargeView:A,arrLinks:r.arrLinks,hasLinkCard:Ve,isSelected:h,invalidateClipboardHistoryQuery:I,generateLinkMetaData:q,removeLinkMetaData:_,setSelectHistoryItem:F,onCopyPaste:H})]})]})}))}const GS=p.memo(Sje);function jje({clipboard:e,isDark:t,searchTerm:r,isSelected:n=!1,isDeleting:a=!1,timeAgo:o=null,isCopied:i,isPasted:c,isSaved:u,setSavingItem:f=()=>{},setLargeViewItemId:h=()=>{},pastingCountDown:m=null,onCopyPaste:v=()=>{},onCopy:S=()=>{},invalidateClipboardHistoryQuery:w=()=>{},generateLinkMetaData:g=()=>Promise.resolve(),removeLinkMetaData:b=()=>Promise.resolve(),isBrokenImage:C=!1,setBrokenImageItem:j=()=>{},setSelectHistoryItem:E=()=>{}}){var I,q,_,$,U,K,Y,B,F;const{t:N}=Tt(),T=We(!1),[A,M]=p.useState(!1),D=p.useRef(null),L=p.useRef(null),z=(q=(I=e==null?void 0:e.value)==null?void 0:I.trim())!=null?q:"",H=(e==null?void 0:e.isLink)&&((_=e==null?void 0:e.linkMetadata)==null?void 0:_.linkTitle)&&(($=e==null?void 0:e.linkMetadata)==null?void 0:$.linkDomain),V=i||c||u;return e?s.jsxs(Q,{className:"max-w-full max-h-full select-none",children:[s.jsx(Q,{className:"flex justify-center text-gray-400 text-xs my-2",children:o}),s.jsxs(Ym,{onOpenChange:G=>{T.value=G},children:[s.jsx(Zm,{ref:L,children:s.jsxs(Q,{className:"select-none relative",children:[s.jsx(Q,{className:"rounded-md min-w-[300px] dark:border-slate-700 justify-start duration-300 px-2.5 py-1.5 hover:shadow-sm shadow-none border-2 flex flex-col ".concat(a?"border-red-400 bg-red-50 dark:bg-red-950/80 dark:border-red-900/80 dark:hover:border-red-800":T.value?"bg-slate-100 dark:bg-slate-950/80 border-slate-300 dark:border-slate-600":u?"bg-sky-50 border-sky-600 dark:bg-sky-950/80 dark:border-sky-900/80 hover:border-sky-300/80 dark:hover:border-sky-800":V?"bg-green-50 border-green-600 dark:bg-green-950/80 dark:border-green-800":n?"bg-amber-50 border-amber-300 dark:bg-amber-950/80 dark:border-amber-900/80 dark:hover:border-amber-800 hover:border-amber-300/80 hover:bg-amber-50/80":"bg-white border-slate-300 dark:hover:border-slate-700 dark:bg-slate-900"),children:s.jsxs(Q,{children:[e.isImageData?s.jsxs(Q,{className:"text-ellipsis self-start text-xs w-full select-text overflow-hidden",children:[s.jsx(Q,{className:"flex px-0 py-1 items-center justify-center",children:s.jsx(tl,{src:z,hasError:C,decoding:"async",onErrorCallback:()=>{j(e.historyId)},className:"min-h-20 object-scale-down animate-in fade-in duration-300 border-slate-100 dark:border-slate-700"},e.historyId)}),s.jsx("code",{className:"pb-0.5",children:r?Nl(e.valuePreview,r):s.jsx("span",{children:e.valuePreview})})]}):e.isLink&&e.isImage?s.jsxs(Q,{className:"text-ellipsis self-start text-xs w-full select-text overflow-hidden",children:[s.jsx(Q,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center",children:s.jsx(tl,{src:_n(z),hasError:C,height:e.imageHeight,decoding:"async",onErrorCallback:()=>{j(e.historyId)},className:"min-h-20 object-scale-down animate-in fade-in duration-300 border-slate-100 dark:border-slate-700"},e.historyId)}),s.jsx("code",{className:"pb-0.5",children:r?Nl(z,r):If(z,e.arrLinks)})]}):e.isImage&&e.imagePathFullRes?s.jsx(Q,{className:"px-0 py-1.5 flex items-center justify-center",children:s.jsx("img",{decoding:"async",srcSet:"".concat(uf(e.imagePathFullRes)," 2x"),src:uf(e.imagePathFullRes),className:"min-h-20 rounded-md shadow-sm border border-slate-100 dark:border-slate-700 object-scale-down animate-in fade-in duration-300"},e.historyId)}):e.detectedLanguage&&e.valuePreview?s.jsx(Q,{className:"text-ellipsis self-start text-sm w-full p-1.5 animate-in fade-in",children:s.jsx(F1,{theme:t?el.vsDark:el.github,code:z,language:e.detectedLanguage,children:({className:G,style:X,tokens:se,getLineProps:re,getTokenProps:ie})=>s.jsx(Lf,{options:{overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:t?"os-theme-light":"os-theme-dark",autoHide:"never"}},style:{maxWidth:"100%"},children:s.jsx("code",{className:"".concat(G),style:X,children:se.map((oe,ae)=>s.jsx("div",ee(R({},re({line:oe})),{className:"".concat(A?"whitespace-pre-wrap":"whitespace-pre"," overflow-hidden text-ellipsis"),children:oe.map((fe,le)=>s.jsx("span",ee(R({},ie({token:fe})),{className:"select-text",children:r?Nl(fe.content,r):fe.content}),le))}),ae))})})})},e.historyId):s.jsxs(Q,{className:"text-ellipsis self-start text-sm w-full overflow-hidden animate-in fade-in",children:[H&&s.jsx(Q,{className:"self-start mt-1.5 mb-1 text-xs w-full select-text overflow-hidden",children:s.jsx(t0,{title:(U=e.linkMetadata)==null?void 0:U.linkTitle,description:(K=e.linkMetadata)==null?void 0:K.linkDescription,favicon:(Y=e.linkMetadata)==null?void 0:Y.linkFavicon,link:e==null?void 0:e.arrLinks[0],image:(B=e.linkMetadata)==null?void 0:B.linkImage,domain:(F=e.linkMetadata)==null?void 0:F.linkDomain})}),s.jsxs("code",{className:"justify-start select-text ".concat(A?"whitespace-break-spaces":"whitespace-normal"),children:[r?Nl(z,r):If(z,e.arrLinks),e.valueMorePreviewChars&&s.jsxs(Q,{className:"select-none",children:[" "," "," "]})]})]},e.historyId),s.jsx(Q,{className:"flex flex-row gap-1 items-center mt-1",children:s.jsx(Q,{className:"flex flex-row gap-1 items-center pb-1 ml-auto",children:s.jsxs(s.Fragment,{children:[!e.isImage&&s.jsx(Q,{className:"text-xs text-muted-foreground px-1.5 ml-1.5 cursor-pointer",onClick:()=>M(!A),children:s.jsx(Be,{text:A?N("No Wrap",{ns:"common"}):N("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:A?s.jsx(uz,{width:20,height:20,strokeWidth:1.5}):s.jsx(rue,{width:20,height:20,strokeWidth:1.5})})}),e.isImage&&!e.isLink&&s.jsxs(Q,{className:"flex flex-row gap-1 rounded items-center",children:[s.jsx(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-[12px] rounded-sm px-2",children:N("Type:::Image",{ns:"common"})}),s.jsxs(Q,{className:"text-[11px] text-muted-foreground px-1 pt-0.5",children:[e.imageWidth,"x",e.imageHeight]})]}),(e.isMasked||e.hasMaskedWords)&&s.jsx(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm ".concat(e.hasMaskedWords?"px-1":"px-1.5"),children:e.isMasked?N("Type:::Secret",{ns:"common"}):s.jsx(Be,{text:N("Found Masked Words",{ns:"common"}),delayDuration:600,isCompact:!0,side:"bottom",sideOffset:6,children:s.jsx(Ll,{size:18})})}),e.detectedLanguage&&s.jsx(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-[12px] rounded-sm px-2",children:e.detectedLanguage}),e.isLink&&s.jsx(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-[12px] rounded-sm px-2",children:e.isVideo?N("Type:::Video",{ns:"common"}):N("Type:::Link",{ns:"common"})}),e.hasEmoji&&s.jsx(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-[12px] rounded-sm px-2",children:N("Type:::Emoji",{ns:"common"})}),e.isImageData&&s.jsx(Q,{className:"bg-slate-300 dark:bg-slate-600 dark:text-slate-300 text-[12px] rounded-sm px-2",children:N("Type:::Image Base64",{ns:"common"})}),s.jsx(Be,{text:N("Copy to Clipboard",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(Q,{className:"text-xs cursor-pointer hover:text-green-700 text-slate-500 px-0 ml-1.5 border-0 flex items-center justify-center",children:ur.value?s.jsx(js,{size:18,onClick:()=>{v(e.historyId)}}):s.jsx(pa,{size:18,onClick:()=>{S(e.historyId)}})})}),s.jsx(Be,{text:N("Action Menu",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:s.jsx(Q,{ref:D,className:"text-xs cursor-pointer text-slate-500 pl-2 pr-0 flex items-center justify-center",children:s.jsx(sl,{size:18,onClick:()=>{var G,X,se;(se=L==null?void 0:L.current)==null||se.dispatchEvent(new MouseEvent("contextmenu",{bubbles:!0,clientX:(G=D==null?void 0:D.current)==null?void 0:G.getBoundingClientRect().x,clientY:(X=D==null?void 0:D.current)==null?void 0:X.getBoundingClientRect().y}))}})})})]})})})]})}),u?s.jsx(Q,{className:"absolute z-50 w-full top-[-13px] flex justify-center animate-in fade-in-500 duration-500",children:s.jsxs(lt,{variant:"default",className:"dark:bg-sky-800 dark:text-blue-200 pointer-events-none px-2",children:[s.jsx(Df,{size:14,className:"mr-1"}),N("Saved",{ns:"common"})]})}):V&&m===null?s.jsx(Q,{className:"absolute z-50 w-full top-[-13px] animate-in fade-in-500 duration-500 slide-in-from-bottom-1 flex justify-center",children:s.jsxs(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 pr-4",children:[s.jsx($t,{size:14,className:"mr-1"}),i?N("Copied",{ns:"common"}):c?N("Pasted",{ns:"common"}):""]})}):m!==null&&m>0&&s.jsx(Q,{className:"absolute z-50 w-full top-[-13px] slide-in-from-bottom-1 flex justify-center",children:s.jsx(lt,{variant:"default",className:"bg-green-700 dark:bg-green-800 dark:text-white pointer-events-none px-2 pl-3",children:m&&m>0&&N("Paste in {{pastingCountDown}}...",{ns:"common",pastingCountDown:m})})})]})}),s.jsx(AV,{historyId:e.historyId,isPinned:e.isPinned,isFavorite:e.isFavorite,isMasked:e.isMasked,detectedLanguage:e.detectedLanguage,setSavingItem:f,value:e.value,isImage:e.isImage,isText:e.isText,isImageData:e.isImageData,setLargeViewItemId:h,isLargeView:!0,arrLinks:e.arrLinks,hasLinkCard:H,isSelected:n,invalidateClipboardHistoryQuery:w,generateLinkMetaData:g,removeLinkMetaData:b,setSelectHistoryItem:E,onCopyPaste:v})]}),s.jsx(Q,{className:"flex justify-center text-gray-400 text-xs my-2",children:s.jsxs(lt,{variant:"outline",className:"bg-slate-100 px-2 pl-2.5 text-slate-400 cursor-pointer hover:bg-slate-300 dark:bg-slate-500 dark:text-slate-800 hover:dark:bg-slate-400",onClick:()=>{h(null),Os.value=null},children:[N("Close",{ns:"common"}),s.jsx(br,{size:14,className:"ml-1"})]})})]}):null}const Eje=p.memo(jje);function Nje(e){return s.jsxs("svg",{className:e.className,xmlns:"http://www.w3.org/2000/svg",viewBox:"0.294 3.317 24.273 26.397",children:[s.jsx("path",{fill:"currentColor",d:"M19.14 29.714H8.502a4.27 4.27 0 0 1-4.271-4.271V14.934C.821 13.47.273 8.863 3.247 6.641a4.822 4.822 0 0 1 6.685.892h9.207a4.27 4.27 0 0 1 4.271 4.271v13.639a4.27 4.27 0 0 1-4.27 4.271ZM6.162 6.904c-2.778 0-4.515 3.007-3.125 5.414 1.388 2.405 4.862 2.405 6.251 0a3.622 3.622 0 0 0 .484-1.805 3.614 3.614 0 0 0-3.61-3.609Zm16.029 4.9a3.052 3.052 0 0 0-3.051-3.052h-8.492c1.264 3.166-1.078 6.606-4.486 6.59a4.963 4.963 0 0 1-.71-.07v10.171a3.05 3.05 0 0 0 3.05 3.05H19.14a3.05 3.05 0 0 0 3.051-3.05V11.804ZM18.788 23.24a.609.609 0 0 0-.61-.609H9.465a.61.61 0 0 0 0 1.219h8.713a.61.61 0 0 0 .61-.61Zm0-4.616a.61.61 0 0 0-.61-.61H9.465a.61.61 0 0 0 0 1.219h8.713a.61.61 0 0 0 .61-.609Zm0-4.616a.609.609 0 0 0-.61-.609h-5.806a.609.609 0 1 0 0 1.219h5.806a.61.61 0 0 0 .61-.61Zm-12.017-1.7v-1.795a.61.61 0 0 0-.609-.611h-1.32a.611.611 0 0 0 0 1.22h.71v1.186a.61.61 0 0 0 1.219 0Z",transform:"rotate(180 12.364 17.455)"}),s.jsx("path",{stroke:"currentColor",fill:"".concat(e.lightingColor||"white"),d:"M7.992 4.719h5.81c.399 0 .723.323.723.724v1.678a.724.724 0 0 1-.723.724h-5.81a.724.724 0 0 1-.724-.724V5.443c0-.401.323-.724.724-.724Z",transform:"translate(.006 -.486)"})]})}const _je=({selectedHistoryItems:e,setShowSelectHistoryItems:t,isDeleting:r,onDelete:n,setIsDeleting:a,isDark:o,setSelectHistoryItem:i,setSelectedHistoryItems:c,showSelectHistoryItems:u})=>{const{t:f}=Tt(),{deleteClipboardHistoryByIds:h}=w_(),{clearClipboardHistoryOlderThan:m}=nCe(),v=sa(),{isHistoryEnabled:S,setIsHistoryEnabled:w,isHistoryAutoUpdateOnCaputureEnabled:g,setIsHistoryAutoUpdateOnCaputureEnabled:b}=dt(pn),{deleteClipboardHistoryItems:C}=dt(pi);$s(["alt+s"],()=>{t(!u)}),$s(["control+s"],()=>{Ad.value&&i(Ad.value)}),$s(["alt+h"],()=>{w(!S)}),$s(["alt+a"],()=>{b(!g)}),$s(["alt+u"],()=>{_6.getState().updateClipboardHistory()}),$s(["alt+d"],()=>{c([])});const j=(E,N)=>pe(void 0,null,function*(){const T={days:N==="1"?f("Day",{ns:"calendar"}):f("Days",{ns:"calendar"}),weeks:N==="1"?f("Week",{ns:"calendar"}):f("Weeks",{ns:"calendar"}),months:N==="1"?f("Month",{ns:"calendar"}):f("Months",{ns:"calendar"}),year:N==="1"?f("Year",{ns:"calendar"}):f("Years",{ns:"calendar"})},A=N==="0"&&E==="days",M=A?f("Do you really want to remove ALL clipboard history items?",{ns:"history"}):f("Do you want to remove clipboard history items older than {{olderThen}} {{durationType}}",{ns:"history",olderThen:N,durationType:T[E]});if(yield Wb(M,{title:f("{{isAll}} Clipboard History",{ns:"history",isAll:A?f("Clear All",{ns:"history"}):f("Clear",{ns:"history"})}).trim(),okLabel:f("{{isAll}} Clipboard History",{ns:"history",isAll:A?f("Clear All",{ns:"history"}):f("Clear",{ns:"history"})}).trim(),cancelLabel:f("Cancel",{ns:"common"})}))try{if(A&&!(yield Wb(f("Please confirm your action!",{ns:"common"}),{title:f("Confirm Clear All History",{ns:"history"}),okLabel:f("Confirm",{ns:"common"}),cancelLabel:f("Cancel",{ns:"common"})})))return;yield m({durationType:E,olderThen:N}),setTimeout(()=>{c([]),t(!1),a(!1),n(A)},400),yield co(f("All done! History's been cleared.",{ns:"history"}),"Success")}catch(L){console.error(L),yield co(f("Something goes wrong! Please try again.",{ns:"common"}),"Error")}});return s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:s.jsxs(ye,{variant:"light",id:"history-menu-button_tour",className:"w-10 text-slate-400 hover:text-slate-500 hover:dark:text-slate-400 dark:text-slate-500 bg-slate-100 p-1 relative hover:bg-slate-100/70 dark:bg-slate-900 dark:hover:bg-slate-700/70",children:[s.jsx(Nje,{className:"w-5 max-w-[22px] min-w-[16px] stroke-[1.3px]",lightingColor:o?"#0f182a":"#f1f5f9"}),e.length>0&&s.jsx(lt,{variant:"slate",className:"absolute left-[-10px] top-[-10px]",children:e.length})]})}),s.jsx(Ar,{sideOffset:10,align:"start",shadow:"shadow-[0_-2px_12px_0_rgb(0,0,0,0.1)]",children:s.jsxs(xH,{children:[u?s.jsxs(He,{onClick:()=>{t(!1)},children:[s.jsx(yz,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-2",children:f("Hide Muli Select",{ns:"common"})}),s.jsx(Pl,{children:s.jsx(so,{keys:"ALT+S"})})]}):s.jsxs(He,{onClick:()=>{t(!0)},children:[s.jsx(xz,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-2",children:f("Multi Select",{ns:"common"})}),s.jsx(Pl,{children:s.jsx(so,{keys:"ALT+S"})})]}),s.jsxs(He,{disabled:e.length===0,onClick:()=>{c([])},children:[s.jsx(D6,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:f("Deselect All",{ns:"common"})}),s.jsx(Pl,{children:s.jsx(so,{keys:"ALT+D"})})]}),s.jsx(tr,{}),s.jsxs(He,{disabled:e.length===0,onClick:()=>{fa.value=Fi.CLIP,dm.value=Array.from(new Set([...e])),setTimeout(()=>{c([])},400)},children:[s.jsx(ioe,{className:"mr-2 h-4 w-4"}),s.jsx(J,{children:f("Add to Board",{ns:"dashboard"})})]}),s.jsx(tr,{}),s.jsxs(He,{disabled:e.length===0,onClick:E=>pe(void 0,null,function*(){r?(yield h({historyIds:e}),setTimeout(()=>{n(),C(e),c([]),t(!1),a(!1)},400)):(E.preventDefault(),a(!0),setTimeout(()=>{a(!1)},3e3))}),children:[s.jsx(xn,{className:"mr-2 h-4 w-4 ".concat(r?"text-red-500":"")}),s.jsxs(me,{children:[s.jsx(J,{className:"mr-1 ".concat(r?"!text-red-500":""),children:r?f("Click to Confirm",{ns:"common"}):f("Delete",{ns:"common"})}),e.length>0&&s.jsx(s.Fragment,{children:r?s.jsx(lt,{variant:"destructive",className:"bg-red-500 ml-1 py-0 font-semibold",children:e.length}):s.jsx(lt,{variant:"slateSecondary",className:"bg-slate-200 text-slate-500 ml-1 py-0 font-semibold",children:e.length})})]})]}),s.jsxs(Xs,{children:[s.jsxs(zs,{children:[s.jsx(Cae,{className:"mr-2 h-4 w-4"}),s.jsxs(J,{children:[f("Clear History",{ns:"history"})," ..."]})]}),s.jsxs(Fs,{children:[s.jsxs(Xs,{children:[s.jsx(zs,{children:s.jsx(J,{children:f("Days",{ns:"calendar"})})}),s.jsxs(Fs,{children:[s.jsxs(He,{onClick:()=>{j("days","1")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["1 ",f("Day",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("days","3")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["3 ",f("Days",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("days","5")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["5 ",f("Days",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("days","7")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["7 ",f("Days",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]})]})]}),s.jsxs(Xs,{children:[s.jsx(zs,{children:s.jsx(J,{children:f("Weeks",{ns:"calendar"})})}),s.jsxs(Fs,{children:[s.jsxs(He,{onClick:()=>{j("weeks","1")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["1 ",f("Week",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("weeks","2")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["2 ",f("Weeks",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("weeks","3")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["3 ",f("Weeks",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("weeks","4")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["4 ",f("Weeks",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]})]})]}),s.jsxs(Xs,{children:[s.jsx(zs,{children:s.jsx(J,{children:f("Months",{ns:"calendar"})})}),s.jsxs(Fs,{children:[s.jsxs(He,{onClick:()=>{j("months","1")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["1 ",f("Month",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("months","2")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["2 ",f("Months",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("months","3")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["3 ",f("Months",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("months","6")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["6 ",f("Months",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]})]})]}),s.jsxs(Xs,{children:[s.jsx(zs,{children:s.jsx(J,{children:f("Years",{ns:"calendar"})})}),s.jsxs(Fs,{children:[s.jsxs(He,{onClick:()=>{j("year","1")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["1 ",f("Year",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("year","2")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["2 ",f("Years",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]}),s.jsxs(He,{onClick:()=>{j("year","3")},children:[s.jsxs(J,{className:"font-semibold mr-1",children:["3 ",f("Years",{ns:"calendar"})]}),f("and older",{ns:"calendar"})]})]})]}),s.jsx(tr,{}),s.jsx(He,{onClick:()=>{j("days","0")},children:s.jsx(J,{className:"font-semibold",children:f("Clear All History",{ns:"history"})})}),s.jsx(tr,{}),s.jsxs(He,{onClick:()=>{v("/app-settings/history",{replace:!0})},children:[s.jsx(L6,{className:"mr-2 h-4 w-4"}),s.jsxs(J,{children:[f("Auto-Clear Settings",{ns:"history"})," ..."]})]})]})]})]})})]})},YS={STARRED:"starred",PINNED:"pinned",TEXT:"text",LINK:"link",IMAGE:"image",VIDEO:"video",EMOJI:"emoji",SECRET:"secret",CODE:"code"},Tje=({historyFilters:e,setHistoryFilters:t,codeFilters:r,avaliableCodeLanguages:n,setCodeFilters:a,children:o})=>{const{t:i}=Tt(),c=(h,m)=>{if(m){t([h]);return}e.includes(h)?t(e.filter(v=>v!==h)):t([...e,h])},u=(h,m)=>{if(m){a([h]);return}r.includes(h)?a(r.filter(v=>v!==h)):a([...r,h])};p.useEffect(()=>{e.includes(YS.CODE)||a([])},[e]);const{isSwapPanels:f}=dt(_s);return s.jsxs(Ir,{children:[s.jsx(Or,{asChild:!0,children:o}),s.jsxs(Ar,{className:"w-52",sideOffset:12,align:"center",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!e.length,onClick:h=>{h.preventDefault(),h.stopPropagation(),t([])},children:e.length?s.jsxs(me,{className:"justify-between items-center w-full",children:[s.jsx(Q,{className:"w-6 h-4"}),s.jsx(J,{children:i("Filters:::Clear Filters",{ns:"history"})}),s.jsx(br,{className:"w-6 h-4"})]}):s.jsx(J,{children:i("Filters:::Select Filters",{ns:"history"})})}),s.jsx(tr,{}),Object.values(YS).map((h,m)=>s.jsxs(Q,{children:[m===2&&s.jsx(tr,{},"separator"),s.jsxs(He,{onClick:v=>{v.preventDefault(),c(h)},children:[s.jsx(hj,{label:i("Filters:::".concat(Pje(h)),{ns:"history"}),checked:e.includes(h)}),s.jsx(Pl,{children:s.jsx(Q,{onClick:v=>{v.preventDefault(),v.stopPropagation(),c(h,!0)},className:"cursor-pointer hover:underline",children:s.jsx(so,{keys:"only"})})})]})]},h)),e.includes(YS.CODE)&&s.jsxs(Xs,{children:[s.jsxs(zs,{noRightIcon:f,disabled:!1,children:[s.jsx(Pz,{className:"mr-2 h-4 w-4"}),s.jsx(J,{children:i("Filters:::Language Filters",{ns:"history"})}),r.length>0&&s.jsx(lt,{className:"ml-auto py-0",children:r.length})]}),s.jsxs(Fs,{className:"w-48",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!r.length,onClick:h=>{h.preventDefault(),h.stopPropagation(),a([])},children:r.length?s.jsxs(me,{className:"justify-between items-center w-full",children:[s.jsx(Q,{className:"w-6 h-4"}),s.jsx(J,{children:i("Filters:::Clear Filters",{ns:"history"})}),s.jsx(br,{className:"w-6 h-4"})]}):s.jsx(J,{children:i("Filters:::Language Filters",{ns:"history"})})}),s.jsx(tr,{}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"190px"},autoHide:!1,children:n.map(h=>s.jsxs(He,{onClick:m=>{m.preventDefault(),u(h)},children:[s.jsx(hj,{label:h,checked:r.includes(h)}),s.jsx(Pl,{children:s.jsx(Q,{onClick:m=>{m.preventDefault(),m.stopPropagation(),u(h,!0)},className:"cursor-pointer hover:underline",children:s.jsx(so,{keys:"only"})})})]},h))})]})]})]})]})};function Pje(e){return e.charAt(0).toUpperCase()+e.slice(1)}function RV({clipId:e,isDark:t,isHistoryDragActive:r}){var u,f,h,m;$N();const{t:n}=Tt(),{clipItems:a}=dt(Tn),o=p.useMemo(()=>{if(Os.value){const v=a.find(({itemId:S})=>S===e);if(v)return v;Os.value=null}},[e,a]),[i,c]=p.useMemo(()=>{var v,S;return[(o==null?void 0:o.createdAt)&&Zu().format((v=o.createdAt)!=null?v:0,{round:"floor"}),(o==null?void 0:o.updatedAt)&&Zu().format((S=o.updatedAt)!=null?S:0,{round:"floor"})]},[o]);return o==null?null:s.jsx(s.Fragment,{children:s.jsxs(Q,{className:"max-w-full max-h-full ".concat(Ss.value===e&&!o.isCode&&!o.isImage?"min-w-[80%]":""),children:[s.jsxs(Q,{className:"flex justify-center text-gray-400 text-xs my-2 gap-1",children:[s.jsx(Be,{text:"".concat(n("Created",{ns:"common"}),": ").concat(zf((u=o.createdAt)!=null?u:0,"PPpp")),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:i}),c!==i&&s.jsxs(Be,{text:"".concat(n("Updated",{ns:"common"}),": ").concat(zf((f=o.updatedAt)!=null?f:0,"PPpp")),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:["(",c,")"]})]}),s.jsx(Q,{className:"text-gray-400 text-xs mb-1 mt-2",children:s.jsx(y_,{clip:ee(R({},o),{type:"clip",id:e,createdAt:(h=o.createdAt)!=null?h:0,tabId:(m=o.tabId)!=null?m:null}),boardColor:o.color,isDark:t,isClipNameEditing:gu.value===e,isClipDelete:ei.value===e,isClipEdit:Ss.value===e,isShowOrganizeLayoutValue:!1,isHistoryDragActive:r,isShowDetails:!0,isLargeView:!0,isSelected:!1})}),s.jsx(Q,{className:"flex justify-center text-gray-400 text-xs my-2",children:s.jsxs(lt,{variant:"outline",className:"bg-slate-100 px-2 pl-2.5 text-slate-400 cursor-pointer hover:bg-slate-300 dark:bg-slate-500 dark:text-slate-800 hover:dark:bg-slate-400",onClick:()=>{Os.value=null},children:[n("Close",{ns:"common"}),s.jsx(br,{size:14,className:"ml-1"})]})})]})})}p.memo(RV);const SR="trash",Mje=()=>pe(void 0,null,function*(){window.Prism=at,yield Promise.all([ve(()=>import("./prism-json-xwnKirkR.js"),[]),ve(()=>import("./prism-markup-templating-Ct1xsyfA.js"),[]),ve(()=>import("./prism-java-Bz0cy7o8.js"),[]),ve(()=>import("./prism-c-BI05wwL9.js"),[]),ve(()=>import("./prism-css-Cp0aSgQ4.js"),[]),ve(()=>import("./prism-csharp-aZJd74Dz.js"),[]),ve(()=>import("./prism-php-Y_bwvUTe.js"),[]),ve(()=>import("./prism-regex-DCddBNSB.js"),[]),ve(()=>import("./prism-ruby-pgU1Zfy6.js"),[]),ve(()=>import("./prism-shell-session-C8ifCaAv.js"),[]),ve(()=>import("./prism-sql-AgAyy5H_.js"),[]),ve(()=>import("./prism-uri-BQNPRq5q.js"),[]),ve(()=>import("./prism-yaml-Chm5ZdEN.js"),[]),ve(()=>import("./prism-markdown-4MKFcK2x.js"),[]),ve(()=>import("./prism-dart-MjriiaMt.js"),[]),ve(()=>import("./prism-path-CC2I6U-X.js"),[])]),at.languages.shell=at.languages["shell-session"]});function Dje(){const[e,t,r]=NCe({}),[n,a,o,i]=_Ce({}),[c,u]=p.useState(null),{updateItemValueByHistoryId:f}=Sge(),{pinnedClipboardHistoryByIds:h}=jW(),{unPinAllClipboardHistory:m}=eCe(),{movePinnedClipboardHistoryUpDown:v}=tCe(),[S,w]=p.useState([]),[g,b]=p.useState([]),C=p.useRef(null),[j,E]=p.useState(!1),N=p.useRef(null),[T,A]=p.useState(null),[M,D]=p.useState([]),[L,z]=p.useState(null),[H,V]=p.useState(null),[I,q]=p.useState(null),[_,$]=p.useState(null),[U,K]=p.useState([]),[Y,B]=p.useState([]),[F,G]=p.useState([]),[X,se]=p.useState(!1),[re,ie]=p.useState(!1),{setIsScrolling:oe,isShowHistoryPinned:ae,setIsShowHistoryPinned:fe,isSwapPanels:le,panelSize:ue,setPanelSize:be,setReturnRoute:Ce}=dt(_s),{isHistoryEnabled:Pe,setIsHistoryEnabled:Ee,isHistoryAutoUpdateOnCaputureEnabled:Oe,isAutoPreviewLinkCardsEnabled:Ve,historyDetectLanguagesEnabledList:ct,copyPasteSequencePinnedDelay:gt,setCopyPasteSequencePinnedDelay:Ke,copyPasteSequenceIsReversOrder:Et,setCopyPasteSequenceIsReversOrder:Re,setIsHistoryAutoUpdateOnCaputureEnabled:xt}=dt(pn),{t:ot}=Tt(),{themeDark:pt}=dt(uo),{ref:_t,height:ht}=v3e(),It=We(!1),Ft=We(!1),Vt=p.useMemo(()=>Ft.value||It.value,[It.value,Ft.value]),{pinnedClipboardHistory:Ge}=Qke(),Zt=pt(),{setHistoryListSimpleBar:nr,scrollToTopHistoryList:vr,updateClipboardHistory:pr,deleteClipboardHistoryItem:Wr,deleteClipboardHistoryItems:Le,generateLinkMetaData:Dt,removeLinkMetaData:Ze}=dt(pi),[mr,Se]=p.useState(!1),je=ol(),we=sa(),{isClipboardInfiniteHistoryLoading:Fe,isClipboardHistoryFetchingNextPage:nt,infiniteClipboardHistory:rt,invalidateClipboardHistoryQuery:Ie,fetchNextClipboardHistoryPage:$e}=EW(),{deleteClipboardHistoryByIds:Ye}=w_(),{clipboardHistory:mt,newClipboardHistoryCount:qt,foundClipboardHistory:Pt}=dt(pi),[Rt,Xt]=p.useState(""),[Pr,Nr]=p.useState(""),Vr=p.useRef(null),qr=p.useRef({}),Gt=p.useRef(null),xr=go(Rt,300),dr=p.useMemo(()=>xr.length>1||S.length>0,[xr,S]),Ts=p.useMemo(()=>ur.value,[ur.value]),Kr=p.useMemo(()=>F.some(de=>Ge.some(Me=>Me.historyId===de)),[F,Ge]),or=p.useMemo(()=>n,[n]),ut=p.useMemo(()=>e,[e]),ge=dr?Pt:mt,{refetchFindClipboardHistory:Qe}=rCe({query:xr,filters:S,codeFilters:g}),Xe=p.useCallback(()=>{dr&&Oe&&Qe()},[dr,Oe]);p.useEffect(()=>{const de=Li("clipboard://clipboard-monitor/update",Me=>{Me.payload==="clipboard update"&&Xe()});return()=>{de.then(Me=>{Me()})}},[Xe]),p.useEffect(()=>{xu.value=null,Ki.value=null;const de=()=>pe(this,null,function*(){yield Mje()});Ce(je.pathname),qi.value=!1,de(),Se(!0)},[]),p.useEffect(()=>{e&&F.includes(e)&&G(de=>de.filter(Me=>Me!==e)),n&&F.includes(n)&&G(de=>de.filter(Me=>Me!==n))},[e,n]),p.useEffect(()=>{C&&nr(C)},[C]),p.useEffect(()=>{Ge.length===0&&(It.value=!1,Ft.value=!1)},[Ge]),p.useEffect(()=>{(xr.length>1||S.length>0||g.length>0)&&Qe()},[xr,S,g]),p.useEffect(()=>{var de;!((de=N.current)!=null&&de.setDisableScroll)||!C.current||(T?(N.current.setDisableScroll(!0),C.current.style.overflow="hidden"):(N.current.setDisableScroll(!1),C.current.style.overflow="visible"))},[T]);const st=()=>pe(this,null,function*(){nt||(yield $e({cancelRefetch:!1}))});function Ht(de){return qr.current[de]||60}function At(de,Me){var ze,Ne;(ze=Vr.current)!=null&&ze.resetAfterIndex&&((Ne=Vr.current)==null||Ne.resetAfterIndex(0)),qr.current=ee(R({},qr.current),{[de]:Me})}const Ut=b4(hp(Sv,{activationConstraint:{tolerance:10,delay:300}}),hp(Cv,{coordinateGetter:Aj})),Jt={keyframes({transform:de}){return T&&(L===T||I||_||H)?[{opacity:.7},{opacity:0}]:[{opacity:1,transform:zo.Transform.toString(de.initial)},{opacity:0,transform:zo.Transform.toString(ee(R({},de.final),{x:de.final.x+5,y:de.final.y+5}))}]},easing:"ease-out",duration:300,sideEffects({active:de,dragOverlay:Me}){T&&(L===T||I===T||H===T)?Me.node.animate([{opacity:.7},{opacity:0}],{duration:300,easing:df.easing}):de.node.animate([{opacity:0},{opacity:1}],{duration:df.duration,easing:df.easing})}},bt=p.useCallback(de=>{G(Me=>Me.includes(de)?Me.filter(Ne=>Ne!==de):[...Me,de])},[G]),Je=p.useCallback(de=>{D(Me=>Me.includes(de)?Me.filter(Ne=>Ne!==de):[...Me,de])},[D]),Wt=p.useCallback((de,Me)=>{K(ze=>Me?[...ze,de]:ze.filter(Ne=>Ne!==de))},[K]),Mr=p.useCallback((de,Me)=>{B(ze=>Me?[...ze,de]:ze.filter(Ne=>Ne!==de))},[B]),yr=p.useMemo(()=>{if(Ta.value){const de=ge.find(Me=>Me.historyId===Ta.value);if(de)return Os.value&&(Os.value=null),de;Ta.value=null}},[Ta.value,ge]),ne=de=>de===iu.value||de===L||!!L&&!!T&&F.includes(de)||j&&F.includes(de);return s.jsx(Vk,{children:s.jsx(k6,{sensors:Ut,collisionDetection:v6,autoScroll:{layoutShiftCompensation:!1,acceleration:1},measuring:{droppable:{strategy:Nf.Always}},onDragStart:({active:de})=>{var Me;A(de.id),ie(de.id&&((Me=de.data.current)==null?void 0:Me.isPinned))},onDragOver:({active:de,over:Me})=>{const ze=Me==null?void 0:Me.data.current,Ne=(ze==null?void 0:ze.type)===Bs,et=(ze==null?void 0:ze.type)==="clip::dropzone",fr=(Me==null?void 0:Me.id)==="history::pinnedzone";de!=null&&de.id&&fr&&!re?V(de.id):fr||V(null),(Me==null?void 0:Me.id)===SR?z(de.id):Ne&&(Me!=null&&Me.id)?q(Me==null?void 0:Me.id):et&&(Me!=null&&Me.id)?$(Me==null?void 0:Me.id):(z(null),q(null),$(null))},onDragCancel:()=>(A(null),z(null),q(null),$(null),!0),onDragEnd:Me=>pe(this,[Me],function*({active:de}){var Ne;const ze=(Ne=de==null?void 0:de.data.current)==null?void 0:Ne.isPinned;if((de==null?void 0:de.id)===H)setTimeout(()=>pe(this,null,function*(){V(null),G([]),A(null),!ze&&(yield h({historyIds:F.length>0?Array.from(new Set([...F,de.id])):[de.id],isPinned:!0}))}),300);else if((de==null?void 0:de.id)===L){const et=ze?SS(de.id):de.id;yield Ye({historyIds:F.length>0?Array.from(new Set([...F,et])):[et]}),setTimeout(()=>{F.length>0?Le(Array.from(new Set([...F,et]))):Array.from(new Set([...F,et])).forEach(fr=>{Wr(fr)}),Xe(),V(null),z(null),q(null),$(null),G([]),A(null)},600)}else if(de!=null&&de.id&&I){const et=ze?SS(de.id):de.id;kl.value=I,dm.value=F.length>0?Array.from(new Set([...F,et])):[et],setTimeout(()=>{q(null),A(null),G([])},400)}else if(de!=null&&de.id&&_){const et=ze?SS(de.id):de.id,fr=_.toString().replace("::dropzone",""),Gr=et?ge.find(mn=>mn.historyId===et):null;fr&&(Gr!=null&&Gr.historyId)&&(yield f({historyId:Gr.historyId,itemId:fr})),setTimeout(()=>{$(null),A(null)},400)}else kl.value=null,setTimeout(()=>{V(null),q(null),z(null),A(null)},300)}),children:s.jsxs(O_,{minSize:260,maxSize:700,defaultSize:320,swapPanes:le,onResize:be,autoSaveId:"app-main-panel",children:[s.jsx($_,{children:s.jsx(Q,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-200 shadow-sm rounded-xl dark:bg-gray-800 dark:border-gray-700 dark:shadow-slate-700/[.8] pb-6 pt-4 px-3 pr-3",children:s.jsx(Ug,{disableWidth:!0,children:({height:de})=>{var Me;return mr&&de&&de>0&&s.jsxs(Q,{className:"flex flex-col h-[calc(100vh-95px)] relative",id:"side-panel_tour",children:[s.jsx(Q,{className:"flex flex-row bg-slate-100 dark:bg-slate-700 rounded-md p-0 items-center h-[40px] mb-3",id:"history-find_tour",children:T&&Ge.length===0?s.jsx(vj,{id:"history::pinnedzone",className:"w-full h-full",isActive:!!T,children:s.jsx(Q,{ref:H?null:_t,className:"".concat(H?"!bg-orange-100 dark:!bg-orange-500/40":""," ").concat(T?"":"animate-in fade-in"," py-1 bg-orange-50 dark:bg-orange-800/40 mt-0 my-2 rounded-md relative w-full h-full"),children:T&&s.jsx(Q,{className:"z-100 absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 h-full w-full flex items-center justify-center p-1",children:s.jsx(Q,{className:"border-2 ".concat(H?"border-orange-400 dark:border-orange-500":"border-slate-200 dark:border-slate-500"," border-dashed rounded-md flex items-center justify-center h-full w-full"),children:H?s.jsx(J,{className:"!text-orange-400 dark:text-orange-500 !font-medium animate-in fade-in duration-300 text-sm",children:ot("Drop to Pin",{ns:"dashboard"})}):s.jsx(Cc,{size:18,className:"text-orange-300 dark:text-orange-500 animate-in fade-in duration-300"})})})})}):s.jsxs(s.Fragment,{children:[s.jsx(Qu,{placeholder:"".concat(ot("Find in history",{ns:"dashboard"}),"..."),autoFocus:Rt.length>0,type:"search",onChange:ze=>{Xt(ze.target.value)},value:Rt,ref:Gt,iconLeft:s.jsx(mm,{className:"h-4 w-4"}),classNameInput:"w-full pr-0",className:"text-md ring-offset-0 bg-slate-100 dark:bg-slate-700 border-r-0 border-t-0 border-b-0"},"search-history"),s.jsx(Tje,{setHistoryFilters:w,historyFilters:S,avaliableCodeLanguages:ct,codeFilters:g,setCodeFilters:b,children:s.jsxs(ye,{variant:"ghost",className:"relative cursor-pointer px-1 mr-2",children:[s.jsx(Bie,{size:20,className:"".concat(S.length?"text-blue-500 hover:text-blue-500/70":"text-slate-400 hover:text-slate-400/70"," ")}),S.length>0&&s.jsx(lt,{className:"absolute right-[-10px] top-[-10px] bg-blue-500 hover:bg-blue-500",children:S.length})]})})]})}),dr?s.jsx(Q,{className:"cursor-pointer absolute top-[49px] animate-in fade-in fade-out flex justify-center w-full pointer-events-none",children:s.jsx(Be,{text:ot("Clear found results and filters",{ns:"common"}),isDisabled:!!T,className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"top",onClick:()=>{var ze;Xt(""),w([]),b([]),Gt!=null&&Gt.current&&Gt.current.value&&(Gt.current.value="",(ze=Gt==null?void 0:Gt.current)==null||ze.focus())},sideOffset:10,children:s.jsx(J,{className:"text-xs text-center dark:text-slate-800 bg-blue-200 dark:bg-blue-400 rounded-full px-3 cursor-pointer pointer-events-auto",children:ge.length?s.jsxs(s.Fragment,{children:[ge.length<100?ge.length:"100+"," ",ot("found",{ns:"common"})]}):s.jsx(s.Fragment,{children:ot("Nothing found",{ns:"common"})})})})}):Ge.length>0&&s.jsx(vj,{id:"history::pinnedzone",isActive:!!T&&!re,children:s.jsxs(Q,{onMouseEnter:()=>{It.value=!0},onMouseLeave:()=>{It.value=!1},onClick:()=>{It.value=!0},ref:H?null:_t,className:"".concat(H?"!bg-orange-100 dark:!bg-orange-500/40":""," ").concat(T?ae?"":"min-h-[32px]":"animate-in fade-in"," ").concat(ae?"py-2":"py-1"," px-2 pb-0 bg-orange-200/70 dark:bg-orange-900/60 mt-0 my-2 rounded-md relative"),children:[T&&!re&&s.jsx(Q,{className:"z-100 absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 h-full w-full flex items-center justify-center p-1",children:s.jsx(Q,{className:"border-2 ".concat(H?"border-orange-400 dark:border-orange-500":"border-slate-200 dark:border-slate-500"," border-dashed rounded-md flex items-center justify-center h-full w-full"),children:H?s.jsx(J,{className:"!text-orange-400 dark:!text-orange-500 !font-medium animate-in fade-in duration-300 text-sm",children:ot("Drop to Pin",{ns:"dashboard"})}):s.jsx(Cc,{size:18,className:"text-orange-300 dark:text-orange-500 animate-in fade-in duration-300"})})}),s.jsx(Lf,{defer:!0,style:{maxHeight:200},options:{overflow:{x:"hidden",y:"scroll"},scrollbars:{theme:Zt?"os-theme-light":"os-theme-dark",autoHide:"move"}},children:s.jsx(Q,{className:"flex flex-col gap-1 relative ".concat(T&&!re?"opacity-20":""),children:ae&&Ge.sort((ze,Ne)=>ze.pinnedOrderNumber-Ne.pinnedOrderNumber).map((ze,Ne)=>{const et=ze.historyId;return s.jsx(Q,{children:s.jsx(GS,{isPinnedTop:!0,isPinnedTopFirst:Ne===0,isDisabledPinnedMoveUp:Ne===0,isDisabledPinnedMoveDown:Ne===Ge.length-1,onMovePinnedUpDown:fr=>{v(fr)},isLinkCardPreviewEnabled:Ve,isLargeView:et===Ta.value,largeViewItemId:Ta.value,setLargeViewItemId:fr=>{Ta.value=fr},setSelectHistoryItem:bt,onCopy:t,onCopyPaste:o,pastingCountDown:et===or?a:void 0,isPasted:et===or,isCopied:et===ut,isSaved:et===c,setSavingItem:u,isDeleting:ne(et),isSelected:F.includes(et),setBrokenImageItem:Je,isBrokenImage:M.includes(et),showTimeAgo:!1,isExpanded:U.includes(et),isWrapText:Y.includes(et),searchTerm:dr?xr:"",showSelectHistoryItems:X,invalidateClipboardHistoryQuery:()=>{Ie(),Xe()},setExpanded:Wt,setWrapText:Mr,isDark:Zt,setRowHeight:At,clipboard:ze,removeLinkMetaData:Ze,generateLinkMetaData:Dt})},et)})})}),s.jsxs(me,{className:"justify-between",children:[ae?s.jsxs(me,{className:"animate-in fade-in duration-300 ".concat(T&&!re||!Vt?"opacity-0":""),children:[s.jsx(un,{className:"!text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent pl-0.5 pr-1 pt-0 ",title:Ts?ot("Sequence Paste",{ns:"common"}):ot("Sequence Copy",{ns:"common"}),children:Ts?s.jsx(js,{size:14,onClick:()=>{i(Ge.map(({historyId:ze})=>ze))}}):s.jsx(pa,{size:14,onClick:()=>{r(Ge.map(({historyId:ze})=>ze))}})}),s.jsxs(Ir,{onOpenChange:ze=>{Ft.value=ze},children:[s.jsx(Or,{asChild:!0,children:s.jsx(tN,{variant:"outline",title:ot("Sequence Delay Next",{ns:"common"}),className:"bg-orange-300/20 border-orange-300/50 dark:bg-orange-900/70 dark:border-orange-800/50 border h-[18px] cursor-pointer px-1.5 ml-1",children:s.jsxs(J,{className:"font-mono !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent font-semibold",children:[gt,"s"]})})}),s.jsxs(Ar,{className:"w-44",children:[s.jsx(He,{className:"text-center items-center justify-center py-0.5",disabled:!0,children:s.jsx(J,{size:"xs",children:ot("Sequence Copy Paste",{ns:"common"})})}),s.jsx(tr,{}),s.jsxs(Xs,{children:[s.jsx(zs,{children:s.jsxs(me,{className:"flex w-full",children:[s.jsxs(J,{size:"xs",children:[ot("Delay Next",{ns:"common"}),"..."]}),s.jsxs(lt,{className:"ml-auto py-0 bg-slate-200 text-slate-500 dark:bg-slate-700 dark:text-slate-400",variant:"outline",children:[gt,"s"]})]})}),s.jsxs(Fs,{children:[s.jsx(rr,{checked:gt===1,onSelect:()=>{Ke(1)},children:s.jsxs(J,{size:"xs",children:["1 ",ot("second",{ns:"common"})]})}),s.jsx(rr,{checked:gt===2,onSelect:()=>{Ke(2)},children:s.jsxs(J,{size:"xs",children:["2 ",ot("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:gt===3,onSelect:()=>{Ke(3)},children:s.jsxs(J,{size:"xs",children:["3 ",ot("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:gt===4,onSelect:()=>{Ke(4)},children:s.jsxs(J,{size:"xs",children:["4 ",ot("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:gt===5,onSelect:()=>{Ke(5)},children:s.jsxs(J,{size:"xs",children:["5 ",ot("seconds",{ns:"common"})]})}),s.jsx(rr,{checked:gt===10,onSelect:()=>{Ke(10)},children:s.jsxs(J,{size:"xs",children:["10 ",ot("seconds",{ns:"common"})]})})]})]}),s.jsxs(Xs,{children:[s.jsx(zs,{children:s.jsxs(me,{className:"flex w-full",children:[s.jsxs(J,{size:"xs",children:[ot("Reverse Order",{ns:"common"}),"..."]}),s.jsx(lt,{className:"ml-auto py-0 bg-slate-200 text-slate-500 dark:bg-slate-700 dark:text-slate-400",variant:"outline",children:Et?ot("Yes",{ns:"common"}):ot("No",{ns:"common"})})]})}),s.jsxs(Fs,{children:[s.jsx(rr,{checked:!Et,onSelect:()=>{Re(!1)},children:s.jsx(J,{size:"xs",children:ot("No",{ns:"common"})})}),s.jsx(rr,{checked:Et,onSelect:()=>{Re(!0)},children:s.jsx(J,{size:"xs",children:ot("Yes",{ns:"common"})})})]})]})]})]})]}):s.jsx(Q,{}),!T&&s.jsxs(un,{className:"hover:underline ".concat(ae?"h-[30px]":"h-[26px]"," group !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent ").concat(ae?"":"pb-1"),title:ae?ot("Hide pinned history",{ns:"history"}):ot("View pinned history",{ns:"history"}),onClick:()=>{fe(!ae)},children:[s.jsxs(J,{className:"!font-medium text-xs !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 mr-1",children:[Ge.length," ",ot("Pinned",{ns:"common",count:Ge.length})]}),ae?s.jsx(zw,{size:13,className:"group-hover:opacity-100 opacity-0"}):s.jsx(Qse,{size:13,className:"group-hover:opacity-100 opacity-0"})]}),ae?s.jsxs(Q,{className:"animate-in fade-in duration-300 ".concat(T&&!re||!Vt?"opacity-0":""),children:[s.jsx(un,{title:Kr?ot("Deselect pinned",{ns:"common"}):ot("Select pinned",{ns:"common"}),className:"!text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent px-2 pr-0 rounded-sm py-0 h-5",children:s.jsx(me,{className:"font-medium text-sm gap-1 !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400",children:Kr?s.jsx(Fw,{size:15,onClick:()=>{const ze=F.filter(Ne=>Ge.some(et=>et.historyId===Ne));G(F.filter(Ne=>!ze.includes(Ne)))}}):s.jsx(z6,{size:17,onClick:()=>{G(F.concat(Ge.map(ze=>ze.historyId)))}})})}),s.jsx(ZH,{onOpen:ze=>{Ft.value=ze},onCancel:()=>{setTimeout(()=>{Ft.value=!1,It.value=!1},300)},onConfirm:()=>pe(this,null,function*(){yield m({})}),buttonClassName:"group !text-orange-500/80 dark:!text-orange-400/80 hover:!text-orange-400 hover:bg-transparent dark:hover:bg-transparent px-2 pr-0.5 rounded-sm py-0 h-5"})]}):s.jsx(Q,{})]})]})}),ge.length>0||dr?s.jsx(en,{style:{height:de-(dr?115:Ge.length===0?85:ht?ht+103:85)},ref:ze=>{N.current=ze},onScroll:(ze,Ne)=>{oe(Ne)},className:"animate-in fade-in mr-[-10px] ".concat(dr?"mt-[20px]":""),children:({scrollableNodeRef:ze,contentNodeRef:Ne})=>s.jsxs("div",{className:"pr-[10px] relative h-full",id:"history-list_tour",children:[Pr&&s.jsx(Q,{className:"".concat(qt>0?"top-9":"top-1"," absolute z-100 animate-in fade-in fade-out duration-300 flex justify-center w-full ml-[-5px] pointer-events-none"),children:s.jsx(Be,{text:ot("Scroll to Top",{ns:"common"}),isDisabled:!!T,className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"bottom",asChild:!0,sideOffset:10,children:s.jsx(un,{className:"pointer-events-auto rounded-full bg-slate-300 dark:bg-slate-600 hover:bg-slate-200 hover:dark:bg-slate-700",onClick:()=>{vr(!0)},children:s.jsx(J,{className:"text-mute text-xs text-center px-3",children:Pr})})})}),qt>0&&!dr&&s.jsx(Q,{className:"absolute top-2 z-100 ml-[-5px] cursor-pointer animate-in fade-in fade-out duration-300 flex justify-center w-full pointer-events-none",children:s.jsx(Be,{text:ot("Update history list",{ns:"common"}),isDisabled:!!T,className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"top",asChild:!0,sideOffset:3,children:s.jsx(un,{className:"pointer-events-auto",onClick:()=>{pr()},children:s.jsxs(J,{className:"text-xs text-center dark:text-slate-800 bg-blue-200 dark:bg-blue-400 rounded-full px-3 cursor-pointer pointer-events-auto",children:["+ ",qt," ",ot("new clips",{ns:"dashboard"})]})})})}),!Pe&&!dr&&s.jsxs(Q,{className:"absolute bottom-2 z-100 ml-[-5px] animate-in fade-in fade-out duration-300 flex flex-col justify-center items-center w-full pointer-events-none",children:[s.jsx(Be,{text:ot("Turn on history capture",{ns:"dashboard"}),isDisabled:!!T,className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"top",asChild:!0,sideOffset:6,children:s.jsx(un,{className:"pointer-events-auto",onClick:()=>{Ee(!0)},children:s.jsx(J,{className:"text-xs text-center bg-yellow-200 dark:bg-yellow-800 rounded-full px-3 cursor-pointer pointer-events-auto",children:ot("History capture is off",{ns:"dashboard"})})})}),ge.length>0&&s.jsxs(J,{className:"text-xs text-center bg-slate-100 dark:bg-slate-700 rounded-full px-3 mt-2",children:[ot("Last update",{ns:"dashboard"}),":"," ",ge[0].timeAgo]})]}),Pe&&!dr&&!Oe&&s.jsx(Q,{className:"absolute bottom-2 z-100 ml-[-5px] animate-in fade-in fade-out duration-300 flex flex-col justify-center items-center w-full pointer-events-none",children:s.jsx(Be,{text:ot("Turn On auto update",{ns:"dashboard"}),isDisabled:!!T,className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"top",asChild:!0,sideOffset:10,children:s.jsx(un,{className:"pointer-events-auto",onClick:()=>{xt(!0)},children:s.jsx(J,{className:"text-xs text-center bg-yellow-200 dark:bg-yellow-800 rounded-full px-3 cursor-pointer pointer-events-auto",children:ot("Auto update is Off",{ns:"dashboard"})})})})}),s.jsx(m3e,{isItemLoaded:et=>ets.jsx(c3e,{overscanCount:10,height:de-(dr?60:85),itemCount:ge.length,width:"100%",itemSize:Ht,itemKey:Gr=>{var mn;return(mn=ge[Gr].historyId)!=null?mn:"id-${index}"},onItemsRendered:Gr=>{if(Gr.visibleStartIndex>10){const mn=ge[Gr.visibleStartIndex];mn!=null&&mn.timeAgo?Pr!==mn.timeAgo&&Nr(mn.timeAgo):Nr("")}else Pr&&Nr("");!xr&&et(Gr)},ref:Ji(Vr,fr),outerRef:Ji(C,ze),innerRef:Ne,children:({index:Gr,style:mn})=>{const zl=ge[Gr],{historyId:aa,showTimeAgo:ir,timeAgo:tC}=zl;return s.jsx(GS,{isLargeView:aa===Ta.value,largeViewItemId:Ta.value,isLinkCardPreviewEnabled:Ve,setLargeViewItemId:Y1=>{Ta.value=Y1},setSelectHistoryItem:bt,onCopy:t,onCopyPaste:o,pastingCountDown:aa===or?a:void 0,isPasted:aa===or,isCopied:aa===ut,isSaved:aa===c,setSavingItem:u,isDeleting:ne(aa),isOverPinned:aa===H||!!H&&!!T&&F.includes(aa),isSelected:F.includes(aa),setBrokenImageItem:Je,isBrokenImage:M.includes(aa),showTimeAgo:ir,timeAgo:tC,isExpanded:U.includes(aa),isWrapText:Y.includes(aa),searchTerm:dr?xr:"",showSelectHistoryItems:X,invalidateClipboardHistoryQuery:()=>{Ie(),Xe()},setExpanded:Wt,setWrapText:Mr,isDark:Zt,setRowHeight:At,clipboard:zl,removeLinkMetaData:Ze,generateLinkMetaData:Dt,index:Gr,style:mn},aa)}})})]})}):!Fe&&((Me=rt==null?void 0:rt.pages)==null?void 0:Me.flat().length)===0&&s.jsx(me,{style:{height:de-85},className:"flex items-center flex-col gap-3 justify-center",children:s.jsx(J,{className:"animate-in fade-in duration-600 text-slate-300 text-xs bg-slate-100 rounded-full px-3 dark:text-slate-600 dark:bg-slate-900",children:ot("No Clipboard History",{ns:"dashboard"})})}),s.jsx(Dc,{children:s.jsx(g$,{dropAnimation:Jt,children:T?s.jsx(GS,{index:1,isWrapText:Y.includes(T),isExpanded:U.includes(T),style:{zIndex:999},showSelectHistoryItems:X,setSelectHistoryItem:bt,isDark:Zt,isBrokenImage:M.includes(T),setBrokenImageItem:Je,isDragPreview:!0,isDeleting:T===L||!!L&&F.includes(T),selectedItemsCount:F.length&&F.includes(T)?F.length:F.length+1,clipboard:ge.find(ze=>re?ze.historyId===T.toString().split("::pinned")[0]:ze.historyId===T)}):null})}),s.jsx(Q,{className:"flex-1 mt-2"}),s.jsxs(Qi,{className:"min-w-full flex flex-row justify-center h-10 items-center gap-2",value:je.pathname,onValueChange:ze=>{we(ze,{replace:!0})},children:[!T&&s.jsx(_je,{isDeleting:j,isDark:Zt,setIsDeleting:E,setSelectHistoryItem:bt,onDelete:(ze=!1)=>{var Ne;ze&&(Xt(""),w([]),b([]),Gt!=null&&Gt.current&&Gt.current.value&&(Gt.current.value="",(Ne=Gt==null?void 0:Gt.current)==null||Ne.focus())),Xe()},showSelectHistoryItems:X,setSelectedHistoryItems:G,setShowSelectHistoryItems:se,selectedHistoryItems:F}),s.jsx(Ho,{className:"self-center",id:"tabs-history_tour",children:T?s.jsx(bn,{value:"",className:"p-0.5",children:s.jsx(Cje,{id:SR})}):s.jsxs(s.Fragment,{children:[s.jsx(bn,{value:"/history",className:"min-w-[90px]",children:ue<350?ot("History",{ns:"common"}):ot("Clipboard History",{ns:"common"})}),s.jsx(bn,{value:"/menu",className:"min-w-[90px]",children:ue<350?ot("Menu",{ns:"common"}):ot("Paste Menu",{ns:"common"})})]})})]})]})}})})}),s.jsx(z_,{children:!Ta.value&&!Os.value?s.jsx(Q,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-50 border border-slate-200 shadow-sm rounded-xl dark:bg-gray-900/60 dark:border-gray-800 dark:shadow-slate-700/[.7]",children:s.jsx(Ug,{disableWidth:!0,children:({height:de})=>de&&de>0&&s.jsx(Q,{className:"p-2 pt-0 py-4 pr-0 pb-0 m-0 select-none",children:s.jsx(en,{style:{height:de-20},onScroll:(Me,ze)=>{oe(ze)},children:s.jsx(me,{style:{height:de-20},className:"flex items-start flex-col justify-start p-0",children:s.jsx(Ike,{historyDragActive:!!T,isDark:Zt,dragOverBoardId:I})})})})})}):s.jsx(Q,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-200 shadow-sm rounded-xl dark:bg-gray-800 dark:border-gray-700 dark:shadow-slate-700/[.7]",children:s.jsx(Ug,{disableWidth:!0,children:({height:de})=>de&&de>0&&s.jsxs(Q,{className:"p-4 py-3 select-auto relative pt-5 mt-3",children:[s.jsx(ye,{variant:"ghost",className:"z-10 px-2 absolute top-[-2px] right-[10px] text-slate-400 cursor-pointer hover:bg-slate-100 dark:text-slate-500 hover:dark:bg-slate-700",onClick:()=>{Os.value=null,Ta.value=null},children:s.jsx(br,{size:22})}),s.jsx(en,{style:{height:de-40},autoHide:!1,onScroll:(Me,ze)=>{oe(ze)},children:s.jsxs(me,{style:{height:de-85},children:[Os.value&&s.jsx(RV,{clipId:Os.value,isHistoryDragActive:!!T,isDark:Zt}),yr&&s.jsx(Eje,{setLargeViewItemId:Me=>{Ta.value=Me},setSelectHistoryItem:bt,onCopy:t,onCopyPaste:o,pastingCountDown:yr.historyId===or?a:null,isPasted:yr.historyId===or,isCopied:yr.historyId===ut,isSaved:yr.historyId===c,setSavingItem:u,isDeleting:yr.historyId===L||!!L&&!!T&&F.includes(yr.historyId)||j&&F.includes(yr.historyId),isSelected:F.includes(yr.historyId),setBrokenImageItem:Je,isBrokenImage:M.includes(yr.historyId),showTimeAgo:yr.showTimeAgo,timeAgo:yr.timeAgo,searchTerm:dr?xr:"",invalidateClipboardHistoryQuery:()=>{Ie(),Xe()},setExpanded:Wt,isDark:Zt,clipboard:yr,removeLinkMetaData:Ze,generateLinkMetaData:Dt})]})})]})})})})]},le?"swap":"no-swap")})})}class LV{constructor(t){it(this,"root");this.root=Aje(t)}get data(){var t,r;return(r=(t=this.root.children)==null?void 0:t.map(n=>n.data))!=null?r:[]}create(t){const r=t.parentId?this.find(t.parentId):this.root;if(!r)return null;r.addChild(t.data,t.index)}move(t){const r=this.find(t.id),n=t.parentId?this.find(t.parentId):this.root;!r||!n||(n.addChild(r.data,t.index),r.drop())}update(t){const r=this.find(t.id);r&&r.update(t.changes)}drop(t){const r=this.find(t.id);r&&r.drop()}find(t,r=this.root){if(!r)return null;if(r.id===t)return r;if(r.children){for(let n of r.children){const a=this.find(t,n);if(a)return a}return null}return null}}function Aje(e){const t=new IV({id:"ROOT"},null);return t.children=e.map(r=>F_(r,t)),t}function F_(e,t){const r=new IV(e,t);return e.children&&(r.children=e.children.map(n=>F_(n,r))),r}class IV{constructor(t,r){it(this,"id");it(this,"children");this.data=t,this.parent=r,this.id=t.id}hasParent(){return!!this.parent}get childIndex(){return this.hasParent()?this.parent.children.indexOf(this):-1}addChild(t,r){var a,o;const n=F_(t,this);this.children=(a=this.children)!=null?a:[],this.children.splice(r,0,n),this.data.children=(o=this.data.children)!=null?o:[],this.data.children.splice(r,0,t)}removeChild(t){var r,n;(r=this.children)==null||r.splice(t,1),(n=this.data.children)==null||n.splice(t,1)}update(t){if(this.hasParent()){const r=this.childIndex;this.parent.addChild(R(R({},this.data),t),r),this.drop()}}drop(){this.hasParent()&&this.parent.removeChild(this.childIndex)}}let Rje=0;function Lje(e){const[t,r]=p.useState(e),n=p.useMemo(()=>new LV(t),[t]);return[t,{onMove:f=>{for(const h of f.dragIds)n.move({id:h,parentId:f.parentId,index:f.index});r(n.data)},onRename:({name:f,id:h})=>{n.update({id:h,changes:{name:f}}),r(n.data)},onCreate:({parentId:f,index:h,type:m})=>{const v={id:"simple-tree-id-".concat(Rje++),name:""};return m==="internal"&&(v.children=[]),n.create({parentId:f,index:h,data:v}),r(n.data),v},onDelete:f=>{f.ids.forEach(h=>n.drop({id:h})),r(n.data)}}]}function Ije(e){if(e.initialData&&e.data)throw new Error("React Arborist Tree => Provide either a data or initialData prop, but not both.");if(e.initialData&&(e.onCreate||e.onDelete||e.onMove||e.onRename))throw new Error("React Arborist Tree => You passed the initialData prop along with a data handler.\nUse the data prop if you want to provide your own handlers.");if(e.initialData){const[t,r]=Lje(e.initialData);return ee(R(R({},e),r),{data:t})}else return e}const OV=p.createContext({dragDropManager:void 0});function Pa(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var jR=function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"}(),ZS=function(){return Math.random().toString(36).substring(7).split("").join(".")},aw={INIT:"@@redux/INIT"+ZS(),REPLACE:"@@redux/REPLACE"+ZS(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+ZS()}};function Oje(e){if(typeof e!="object"||e===null)return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function H_(e,t,r){var n;if(typeof t=="function"&&typeof r=="function"||typeof r=="function"&&typeof arguments[3]=="function")throw new Error(Pa(0));if(typeof t=="function"&&typeof r=="undefined"&&(r=t,t=void 0),typeof r!="undefined"){if(typeof r!="function")throw new Error(Pa(1));return r(H_)(e,t)}if(typeof e!="function")throw new Error(Pa(2));var a=e,o=t,i=[],c=i,u=!1;function f(){c===i&&(c=i.slice())}function h(){if(u)throw new Error(Pa(3));return o}function m(g){if(typeof g!="function")throw new Error(Pa(4));if(u)throw new Error(Pa(5));var b=!0;return f(),c.push(g),function(){if(b){if(u)throw new Error(Pa(6));b=!1,f();var j=c.indexOf(g);c.splice(j,1),i=null}}}function v(g){if(!Oje(g))throw new Error(Pa(7));if(typeof g.type=="undefined")throw new Error(Pa(8));if(u)throw new Error(Pa(9));try{u=!0,o=a(o,g)}finally{u=!1}for(var b=i=c,C=0;Cn&&n[a]?n[a]:r||null,e)}function Hje(e,t){return e.filter(r=>r!==t)}function $V(e){return typeof e=="object"}function Bje(e,t){const r=new Map,n=o=>{r.set(o,r.has(o)?r.get(o)+1:1)};e.forEach(n),t.forEach(n);const a=[];return r.forEach((o,i)=>{o===1&&a.push(i)}),a}function Uje(e,t){return e.filter(r=>t.indexOf(r)>-1)}const B_="dnd-core/INIT_COORDS",Zk="dnd-core/BEGIN_DRAG",U_="dnd-core/PUBLISH_DRAG_SOURCE",Xk="dnd-core/HOVER",Qk="dnd-core/DROP",Jk="dnd-core/END_DRAG";function NR(e,t){return{type:B_,payload:{sourceClientOffset:t||null,clientOffset:e||null}}}const Wje={type:B_,payload:{clientOffset:null,sourceClientOffset:null}};function Vje(e){return function(r=[],n={publishSource:!0}){const{publishSource:a=!0,clientOffset:o,getSourceClientOffset:i}=n,c=e.getMonitor(),u=e.getRegistry();e.dispatch(NR(o)),qje(r,c,u);const f=Yje(r,c);if(f==null){e.dispatch(Wje);return}let h=null;if(o){if(!i)throw new Error("getSourceClientOffset must be defined");Kje(i),h=i(f)}e.dispatch(NR(o,h));const v=u.getSource(f).beginDrag(c,f);if(v==null)return;Gje(v),u.pinSource(f);const S=u.getSourceType(f);return{type:Zk,payload:{itemType:S,item:v,sourceId:f,clientOffset:o||null,sourceClientOffset:h||null,isSourcePublic:!!a}}}}function qje(e,t,r){Er(!t.isDragging(),"Cannot call beginDrag while dragging."),e.forEach(function(n){Er(r.getSource(n),"Expected sourceIds to be registered.")})}function Kje(e){Er(typeof e=="function","When clientOffset is provided, getSourceClientOffset must be a function.")}function Gje(e){Er($V(e),"Item must be an object.")}function Yje(e,t){let r=null;for(let n=e.length-1;n>=0;n--)if(t.canDragSource(e[n])){r=e[n];break}return r}function Zje(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xje(e){for(var t=1;t{const u=eEe(i,c,a,n),f={type:Qk,payload:{dropResult:Xje({},r,u)}};e.dispatch(f)})}}function Jje(e){Er(e.isDragging(),"Cannot call drop while not dragging."),Er(!e.didDrop(),"Cannot call drop twice during one drag operation.")}function eEe(e,t,r,n){const a=r.getTarget(e);let o=a?a.drop(n,e):void 0;return tEe(o),typeof o=="undefined"&&(o=t===0?{}:n.getDropResult()),o}function tEe(e){Er(typeof e=="undefined"||$V(e),"Drop result must either be an object or undefined.")}function rEe(e){const t=e.getTargetIds().filter(e.canDropOnTarget,e);return t.reverse(),t}function nEe(e){return function(){const r=e.getMonitor(),n=e.getRegistry();sEe(r);const a=r.getSourceId();return a!=null&&(n.getSource(a,!0).endDrag(r,a),n.unpinSource()),{type:Jk}}}function sEe(e){Er(e.isDragging(),"Cannot call endDrag while not dragging.")}function tE(e,t){return t===null?e===null:Array.isArray(e)?e.some(r=>r===t):e===t}function aEe(e){return function(r,{clientOffset:n}={}){oEe(r);const a=r.slice(0),o=e.getMonitor(),i=e.getRegistry(),c=o.getItemType();return lEe(a,i,c),iEe(a,o,i),cEe(a,o,i),{type:Xk,payload:{targetIds:a,clientOffset:n||null}}}}function oEe(e){Er(Array.isArray(e),"Expected targetIds to be an array.")}function iEe(e,t,r){Er(t.isDragging(),"Cannot call hover while not dragging."),Er(!t.didDrop(),"Cannot call hover after drop.");for(let n=0;n=0;n--){const a=e[n],o=t.getTargetType(a);tE(o,r)||e.splice(n,1)}}function cEe(e,t,r){e.forEach(function(n){r.getTarget(n).hover(t,n)})}function uEe(e){return function(){if(e.getMonitor().isDragging())return{type:U_}}}function dEe(e){return{beginDrag:Vje(e),publishDragSource:uEe(e),hover:aEe(e),drop:Qje(e),endDrag:nEe(e)}}class fEe{receiveBackend(t){this.backend=t}getMonitor(){return this.monitor}getBackend(){return this.backend}getRegistry(){return this.monitor.registry}getActions(){const t=this,{dispatch:r}=this.store;function n(o){return(...i)=>{const c=o.apply(t,i);typeof c!="undefined"&&r(c)}}const a=dEe(this);return Object.keys(a).reduce((o,i)=>{const c=a[i];return o[i]=n(c),o},{})}dispatch(t){this.store.dispatch(t)}constructor(t,r){this.isSetUp=!1,this.handleRefCountChange=()=>{const n=this.store.getState().refCount>0;this.backend&&(n&&!this.isSetUp?(this.backend.setup(),this.isSetUp=!0):!n&&this.isSetUp&&(this.backend.teardown(),this.isSetUp=!1))},this.store=t,this.monitor=r,t.subscribe(this.handleRefCountChange)}}function hEe(e,t){return{x:e.x+t.x,y:e.y+t.y}}function zV(e,t){return{x:e.x-t.x,y:e.y-t.y}}function pEe(e){const{clientOffset:t,initialClientOffset:r,initialSourceClientOffset:n}=e;return!t||!r||!n?null:zV(hEe(t,n),r)}function mEe(e){const{clientOffset:t,initialClientOffset:r}=e;return!t||!r?null:zV(t,r)}const rv=[],W_=[];rv.__IS_NONE__=!0;W_.__IS_ALL__=!0;function gEe(e,t){return e===rv?!1:e===W_||typeof t=="undefined"?!0:Uje(t,e).length>0}class vEe{subscribeToStateChange(t,r={}){const{handlerIds:n}=r;Er(typeof t=="function","listener must be a function."),Er(typeof n=="undefined"||Array.isArray(n),"handlerIds, when specified, must be an array of strings.");let a=this.store.getState().stateId;const o=()=>{const i=this.store.getState(),c=i.stateId;try{c===a||c===a+1&&!gEe(i.dirtyHandlerIds,n)||t()}finally{a=c}};return this.store.subscribe(o)}subscribeToOffsetChange(t){Er(typeof t=="function","listener must be a function.");let r=this.store.getState().dragOffset;const n=()=>{const a=this.store.getState().dragOffset;a!==r&&(r=a,t())};return this.store.subscribe(n)}canDragSource(t){if(!t)return!1;const r=this.registry.getSource(t);return Er(r,"Expected to find a valid source. sourceId=".concat(t)),this.isDragging()?!1:r.canDrag(this,t)}canDropOnTarget(t){if(!t)return!1;const r=this.registry.getTarget(t);if(Er(r,"Expected to find a valid target. targetId=".concat(t)),!this.isDragging()||this.didDrop())return!1;const n=this.registry.getTargetType(t),a=this.getItemType();return tE(n,a)&&r.canDrop(this,t)}isDragging(){return!!this.getItemType()}isDraggingSource(t){if(!t)return!1;const r=this.registry.getSource(t,!0);if(Er(r,"Expected to find a valid source. sourceId=".concat(t)),!this.isDragging()||!this.isSourcePublic())return!1;const n=this.registry.getSourceType(t),a=this.getItemType();return n!==a?!1:r.isDragging(this,t)}isOverTarget(t,r={shallow:!1}){if(!t)return!1;const{shallow:n}=r;if(!this.isDragging())return!1;const a=this.registry.getTargetType(t),o=this.getItemType();if(o&&!tE(a,o))return!1;const i=this.getTargetIds();if(!i.length)return!1;const c=i.indexOf(t);return n?c===i.length-1:c>-1}getItemType(){return this.store.getState().dragOperation.itemType}getItem(){return this.store.getState().dragOperation.item}getSourceId(){return this.store.getState().dragOperation.sourceId}getTargetIds(){return this.store.getState().dragOperation.targetIds}getDropResult(){return this.store.getState().dragOperation.dropResult}didDrop(){return this.store.getState().dragOperation.didDrop}isSourcePublic(){return!!this.store.getState().dragOperation.isSourcePublic}getInitialClientOffset(){return this.store.getState().dragOffset.initialClientOffset}getInitialSourceClientOffset(){return this.store.getState().dragOffset.initialSourceClientOffset}getClientOffset(){return this.store.getState().dragOffset.clientOffset}getSourceClientOffset(){return pEe(this.store.getState().dragOffset)}getDifferenceFromInitialOffset(){return mEe(this.store.getState().dragOffset)}constructor(t,r){this.store=t,this.registry=r}}const _R=typeof global!="undefined"?global:self,FV=_R.MutationObserver||_R.WebKitMutationObserver;function HV(e){return function(){const r=setTimeout(a,0),n=setInterval(a,50);function a(){clearTimeout(r),clearInterval(n),e()}}}function xEe(e){let t=1;const r=new FV(e),n=document.createTextNode("");return r.observe(n,{characterData:!0}),function(){t=-t,n.data=t}}const yEe=typeof FV=="function"?xEe:HV;class bEe{enqueueTask(t){const{queue:r,requestFlush:n}=this;r.length||(n(),this.flushing=!0),r[r.length]=t}constructor(){this.queue=[],this.pendingErrors=[],this.flushing=!1,this.index=0,this.capacity=1024,this.flush=()=>{const{queue:t}=this;for(;this.indexthis.capacity){for(let n=0,a=t.length-this.index;n{this.pendingErrors.push(t),this.requestErrorThrow()},this.requestFlush=yEe(this.flush),this.requestErrorThrow=HV(()=>{if(this.pendingErrors.length)throw this.pendingErrors.shift()})}}class wEe{call(){try{this.task&&this.task()}catch(t){this.onError(t)}finally{this.task=null,this.release(this)}}constructor(t,r){this.onError=t,this.release=r,this.task=null}}class kEe{create(t){const r=this.freeTasks,n=r.length?r.pop():new wEe(this.onError,a=>r[r.length]=a);return n.task=t,n}constructor(t){this.onError=t,this.freeTasks=[]}}const BV=new bEe,CEe=new kEe(BV.registerPendingError);function SEe(e){BV.enqueueTask(CEe.create(e))}const V_="dnd-core/ADD_SOURCE",q_="dnd-core/ADD_TARGET",K_="dnd-core/REMOVE_SOURCE",eC="dnd-core/REMOVE_TARGET";function jEe(e){return{type:V_,payload:{sourceId:e}}}function EEe(e){return{type:q_,payload:{targetId:e}}}function NEe(e){return{type:K_,payload:{sourceId:e}}}function _Ee(e){return{type:eC,payload:{targetId:e}}}function TEe(e){Er(typeof e.canDrag=="function","Expected canDrag to be a function."),Er(typeof e.beginDrag=="function","Expected beginDrag to be a function."),Er(typeof e.endDrag=="function","Expected endDrag to be a function.")}function PEe(e){Er(typeof e.canDrop=="function","Expected canDrop to be a function."),Er(typeof e.hover=="function","Expected hover to be a function."),Er(typeof e.drop=="function","Expected beginDrag to be a function.")}function rE(e,t){if(t&&Array.isArray(e)){e.forEach(r=>rE(r,!1));return}Er(typeof e=="string"||typeof e=="symbol",t?"Type can only be a string, a symbol, or an array of either.":"Type can only be a string or a symbol.")}var ni;(function(e){e.SOURCE="SOURCE",e.TARGET="TARGET"})(ni||(ni={}));let MEe=0;function DEe(){return MEe++}function AEe(e){const t=DEe().toString();switch(e){case ni.SOURCE:return"S".concat(t);case ni.TARGET:return"T".concat(t);default:throw new Error("Unknown Handler Role: ".concat(e))}}function TR(e){switch(e[0]){case"S":return ni.SOURCE;case"T":return ni.TARGET;default:throw new Error("Cannot parse handler ID: ".concat(e))}}function PR(e,t){const r=e.entries();let n=!1;do{const{done:a,value:[,o]}=r.next();if(o===t)return!0;n=!!a}while(!n);return!1}class REe{addSource(t,r){rE(t),TEe(r);const n=this.addHandler(ni.SOURCE,t,r);return this.store.dispatch(jEe(n)),n}addTarget(t,r){rE(t,!0),PEe(r);const n=this.addHandler(ni.TARGET,t,r);return this.store.dispatch(EEe(n)),n}containsHandler(t){return PR(this.dragSources,t)||PR(this.dropTargets,t)}getSource(t,r=!1){return Er(this.isSourceId(t),"Expected a valid source ID."),r&&t===this.pinnedSourceId?this.pinnedSource:this.dragSources.get(t)}getTarget(t){return Er(this.isTargetId(t),"Expected a valid target ID."),this.dropTargets.get(t)}getSourceType(t){return Er(this.isSourceId(t),"Expected a valid source ID."),this.types.get(t)}getTargetType(t){return Er(this.isTargetId(t),"Expected a valid target ID."),this.types.get(t)}isSourceId(t){return TR(t)===ni.SOURCE}isTargetId(t){return TR(t)===ni.TARGET}removeSource(t){Er(this.getSource(t),"Expected an existing source."),this.store.dispatch(NEe(t)),SEe(()=>{this.dragSources.delete(t),this.types.delete(t)})}removeTarget(t){Er(this.getTarget(t),"Expected an existing target."),this.store.dispatch(_Ee(t)),this.dropTargets.delete(t),this.types.delete(t)}pinSource(t){const r=this.getSource(t);Er(r,"Expected an existing source."),this.pinnedSourceId=t,this.pinnedSource=r}unpinSource(){Er(this.pinnedSource,"No source is pinned at the time."),this.pinnedSourceId=null,this.pinnedSource=null}addHandler(t,r,n){const a=AEe(t);return this.types.set(a,r),t===ni.SOURCE?this.dragSources.set(a,n):t===ni.TARGET&&this.dropTargets.set(a,n),a}constructor(t){this.types=new Map,this.dragSources=new Map,this.dropTargets=new Map,this.pinnedSourceId=null,this.pinnedSource=null,this.store=t}}const LEe=(e,t)=>e===t;function IEe(e,t){return!e&&!t?!0:!e||!t?!1:e.x===t.x&&e.y===t.y}function OEe(e,t,r=LEe){if(e.length!==t.length)return!1;for(let n=0;n0||!OEe(r,n)))return rv;const i=n[n.length-1],c=r[r.length-1];return i!==c&&(i&&a.push(i),c&&a.push(c)),a}function zEe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function FEe(e){for(var t=1;t=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function JEe(e,t){if(e==null)return{};var r={},n=Object.keys(e),a,o;for(o=0;o=0)&&(r[a]=e[a]);return r}let DR=0;const gb=Symbol.for("__REACT_DND_CONTEXT_INSTANCE__");var e6e=p.memo(function(t){var{children:r}=t,n=QEe(t,["children"]);const[a,o]=t6e(n);return p.useEffect(()=>{if(o){const i=UV();return++DR,()=>{--DR===0&&(i[gb]=null)}}},[]),s.jsx(OV.Provider,{value:a,children:r})});function t6e(e){if("manager"in e)return[{dragDropManager:e.manager},!1];const t=r6e(e.backend,e.context,e.options,e.debugMode),r=!e.context;return[t,r]}function r6e(e,t=UV(),r,n){const a=t;return a[gb]||(a[gb]={dragDropManager:ZEe(e,t,r,n)}),a[gb]}function UV(){return typeof global!="undefined"?global:window}var n6e=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,a,o;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(a=n;a--!==0;)if(!e(t[a],r[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(o=Object.keys(t),n=o.length,n!==Object.keys(r).length)return!1;for(a=n;a--!==0;)if(!Object.prototype.hasOwnProperty.call(r,o[a]))return!1;for(a=n;a--!==0;){var i=o[a];if(!e(t[i],r[i]))return!1}return!0}return t!==t&&r!==r};const s6e=nl(n6e),Wf=typeof window!="undefined"?p.useLayoutEffect:p.useEffect;function WV(e,t,r){const[n,a]=p.useState(()=>t(e)),o=p.useCallback(()=>{const i=t(e);s6e(n,i)||(a(i),r&&r())},[n,e,r]);return Wf(o),[n,o]}function a6e(e,t,r){const[n,a]=WV(e,t,r);return Wf(function(){const i=e.getHandlerId();if(i!=null)return e.subscribeToStateChange(a,{handlerIds:[i]})},[e,a]),n}function VV(e,t,r){return a6e(t,e||(()=>({})),()=>r.reconnect())}function qV(e,t){const r=[...t||[]];return t==null&&typeof e!="function"&&r.push(e),p.useMemo(()=>typeof e=="function"?e():e,r)}function o6e(e){return p.useMemo(()=>e.hooks.dragSource(),[e])}function i6e(e){return p.useMemo(()=>e.hooks.dragPreview(),[e])}let XS=!1,QS=!1;class l6e{receiveHandlerId(t){this.sourceId=t}getHandlerId(){return this.sourceId}canDrag(){Er(!XS,"You may not call monitor.canDrag() inside your canDrag() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return XS=!0,this.internalMonitor.canDragSource(this.sourceId)}finally{XS=!1}}isDragging(){if(!this.sourceId)return!1;Er(!QS,"You may not call monitor.isDragging() inside your isDragging() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drag-source-monitor");try{return QS=!0,this.internalMonitor.isDraggingSource(this.sourceId)}finally{QS=!1}}subscribeToStateChange(t,r){return this.internalMonitor.subscribeToStateChange(t,r)}isDraggingSource(t){return this.internalMonitor.isDraggingSource(t)}isOverTarget(t,r){return this.internalMonitor.isOverTarget(t,r)}getTargetIds(){return this.internalMonitor.getTargetIds()}isSourcePublic(){return this.internalMonitor.isSourcePublic()}getSourceId(){return this.internalMonitor.getSourceId()}subscribeToOffsetChange(t){return this.internalMonitor.subscribeToOffsetChange(t)}canDragSource(t){return this.internalMonitor.canDragSource(t)}canDropOnTarget(t){return this.internalMonitor.canDropOnTarget(t)}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(t){this.sourceId=null,this.internalMonitor=t.getMonitor()}}let JS=!1;class c6e{receiveHandlerId(t){this.targetId=t}getHandlerId(){return this.targetId}subscribeToStateChange(t,r){return this.internalMonitor.subscribeToStateChange(t,r)}canDrop(){if(!this.targetId)return!1;Er(!JS,"You may not call monitor.canDrop() inside your canDrop() implementation. Read more: http://react-dnd.github.io/react-dnd/docs/api/drop-target-monitor");try{return JS=!0,this.internalMonitor.canDropOnTarget(this.targetId)}finally{JS=!1}}isOver(t){return this.targetId?this.internalMonitor.isOverTarget(this.targetId,t):!1}getItemType(){return this.internalMonitor.getItemType()}getItem(){return this.internalMonitor.getItem()}getDropResult(){return this.internalMonitor.getDropResult()}didDrop(){return this.internalMonitor.didDrop()}getInitialClientOffset(){return this.internalMonitor.getInitialClientOffset()}getInitialSourceClientOffset(){return this.internalMonitor.getInitialSourceClientOffset()}getSourceClientOffset(){return this.internalMonitor.getSourceClientOffset()}getClientOffset(){return this.internalMonitor.getClientOffset()}getDifferenceFromInitialOffset(){return this.internalMonitor.getDifferenceFromInitialOffset()}constructor(t){this.targetId=null,this.internalMonitor=t.getMonitor()}}function u6e(e,t,r){const n=r.getRegistry(),a=n.addTarget(e,t);return[a,()=>n.removeTarget(a)]}function d6e(e,t,r){const n=r.getRegistry(),a=n.addSource(e,t);return[a,()=>n.removeSource(a)]}function nE(e,t,r,n){let a=r?r.call(n,e,t):void 0;if(a!==void 0)return!!a;if(e===t)return!0;if(typeof e!="object"||!e||typeof t!="object"||!t)return!1;const o=Object.keys(e),i=Object.keys(t);if(o.length!==i.length)return!1;const c=Object.prototype.hasOwnProperty.bind(t);for(let u=0;u, or turn it into a ")+"drag source or a drop target itself.")}function h6e(e){return(t=null,r=null)=>{if(!p.isValidElement(t)){const o=t;return e(o,r),o}const n=t;return f6e(n),p6e(n,r?o=>e(o,r):e)}}function KV(e){const t={};return Object.keys(e).forEach(r=>{const n=e[r];if(r.endsWith("Ref"))t[r]=e[r];else{const a=h6e(n);t[r]=()=>a}}),t}function AR(e,t){typeof e=="function"?e(t):e.current=t}function p6e(e,t){const r=e.ref;return Er(typeof r!="string","Cannot connect React DnD to an element with an existing string ref. Please convert it to use a callback ref instead, or wrap it into a or
. Read more: https://reactjs.org/docs/refs-and-the-dom.html#callback-refs"),r?p.cloneElement(e,{ref:n=>{AR(r,n),AR(t,n)}}):p.cloneElement(e,{ref:t})}class m6e{receiveHandlerId(t){this.handlerId!==t&&(this.handlerId=t,this.reconnect())}get connectTarget(){return this.dragSource}get dragSourceOptions(){return this.dragSourceOptionsInternal}set dragSourceOptions(t){this.dragSourceOptionsInternal=t}get dragPreviewOptions(){return this.dragPreviewOptionsInternal}set dragPreviewOptions(t){this.dragPreviewOptionsInternal=t}reconnect(){const t=this.reconnectDragSource();this.reconnectDragPreview(t)}reconnectDragSource(){const t=this.dragSource,r=this.didHandlerIdChange()||this.didConnectedDragSourceChange()||this.didDragSourceOptionsChange();return r&&this.disconnectDragSource(),this.handlerId?t?(r&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragSource=t,this.lastConnectedDragSourceOptions=this.dragSourceOptions,this.dragSourceUnsubscribe=this.backend.connectDragSource(this.handlerId,t,this.dragSourceOptions)),r):(this.lastConnectedDragSource=t,r):r}reconnectDragPreview(t=!1){const r=this.dragPreview,n=t||this.didHandlerIdChange()||this.didConnectedDragPreviewChange()||this.didDragPreviewOptionsChange();if(n&&this.disconnectDragPreview(),!!this.handlerId){if(!r){this.lastConnectedDragPreview=r;return}n&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDragPreview=r,this.lastConnectedDragPreviewOptions=this.dragPreviewOptions,this.dragPreviewUnsubscribe=this.backend.connectDragPreview(this.handlerId,r,this.dragPreviewOptions))}}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didConnectedDragSourceChange(){return this.lastConnectedDragSource!==this.dragSource}didConnectedDragPreviewChange(){return this.lastConnectedDragPreview!==this.dragPreview}didDragSourceOptionsChange(){return!nE(this.lastConnectedDragSourceOptions,this.dragSourceOptions)}didDragPreviewOptionsChange(){return!nE(this.lastConnectedDragPreviewOptions,this.dragPreviewOptions)}disconnectDragSource(){this.dragSourceUnsubscribe&&(this.dragSourceUnsubscribe(),this.dragSourceUnsubscribe=void 0)}disconnectDragPreview(){this.dragPreviewUnsubscribe&&(this.dragPreviewUnsubscribe(),this.dragPreviewUnsubscribe=void 0,this.dragPreviewNode=null,this.dragPreviewRef=null)}get dragSource(){return this.dragSourceNode||this.dragSourceRef&&this.dragSourceRef.current}get dragPreview(){return this.dragPreviewNode||this.dragPreviewRef&&this.dragPreviewRef.current}clearDragSource(){this.dragSourceNode=null,this.dragSourceRef=null}clearDragPreview(){this.dragPreviewNode=null,this.dragPreviewRef=null}constructor(t){this.hooks=KV({dragSource:(r,n)=>{this.clearDragSource(),this.dragSourceOptions=n||null,sE(r)?this.dragSourceRef=r:this.dragSourceNode=r,this.reconnectDragSource()},dragPreview:(r,n)=>{this.clearDragPreview(),this.dragPreviewOptions=n||null,sE(r)?this.dragPreviewRef=r:this.dragPreviewNode=r,this.reconnectDragPreview()}}),this.handlerId=null,this.dragSourceRef=null,this.dragSourceOptionsInternal=null,this.dragPreviewRef=null,this.dragPreviewOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDragSource=null,this.lastConnectedDragSourceOptions=null,this.lastConnectedDragPreview=null,this.lastConnectedDragPreviewOptions=null,this.backend=t}}class g6e{get connectTarget(){return this.dropTarget}reconnect(){const t=this.didHandlerIdChange()||this.didDropTargetChange()||this.didOptionsChange();t&&this.disconnectDropTarget();const r=this.dropTarget;if(this.handlerId){if(!r){this.lastConnectedDropTarget=r;return}t&&(this.lastConnectedHandlerId=this.handlerId,this.lastConnectedDropTarget=r,this.lastConnectedDropTargetOptions=this.dropTargetOptions,this.unsubscribeDropTarget=this.backend.connectDropTarget(this.handlerId,r,this.dropTargetOptions))}}receiveHandlerId(t){t!==this.handlerId&&(this.handlerId=t,this.reconnect())}get dropTargetOptions(){return this.dropTargetOptionsInternal}set dropTargetOptions(t){this.dropTargetOptionsInternal=t}didHandlerIdChange(){return this.lastConnectedHandlerId!==this.handlerId}didDropTargetChange(){return this.lastConnectedDropTarget!==this.dropTarget}didOptionsChange(){return!nE(this.lastConnectedDropTargetOptions,this.dropTargetOptions)}disconnectDropTarget(){this.unsubscribeDropTarget&&(this.unsubscribeDropTarget(),this.unsubscribeDropTarget=void 0)}get dropTarget(){return this.dropTargetNode||this.dropTargetRef&&this.dropTargetRef.current}clearDropTarget(){this.dropTargetRef=null,this.dropTargetNode=null}constructor(t){this.hooks=KV({dropTarget:(r,n)=>{this.clearDropTarget(),this.dropTargetOptions=n,sE(r)?this.dropTargetRef=r:this.dropTargetNode=r,this.reconnect()}}),this.handlerId=null,this.dropTargetRef=null,this.dropTargetOptionsInternal=null,this.lastConnectedHandlerId=null,this.lastConnectedDropTarget=null,this.lastConnectedDropTargetOptions=null,this.backend=t}}function nh(){const{dragDropManager:e}=p.useContext(OV);return Er(e!=null,"Expected drag drop context"),e}function v6e(e,t){const r=nh(),n=p.useMemo(()=>new m6e(r.getBackend()),[r]);return Wf(()=>(n.dragSourceOptions=e||null,n.reconnect(),()=>n.disconnectDragSource()),[n,e]),Wf(()=>(n.dragPreviewOptions=t||null,n.reconnect(),()=>n.disconnectDragPreview()),[n,t]),n}function x6e(){const e=nh();return p.useMemo(()=>new l6e(e),[e])}class y6e{beginDrag(){const t=this.spec,r=this.monitor;let n=null;return typeof t.item=="object"?n=t.item:typeof t.item=="function"?n=t.item(r):n={},n!=null?n:null}canDrag(){const t=this.spec,r=this.monitor;return typeof t.canDrag=="boolean"?t.canDrag:typeof t.canDrag=="function"?t.canDrag(r):!0}isDragging(t,r){const n=this.spec,a=this.monitor,{isDragging:o}=n;return o?o(a):r===t.getSourceId()}endDrag(){const t=this.spec,r=this.monitor,n=this.connector,{end:a}=t;a&&a(r.getItem(),r),n.reconnect()}constructor(t,r,n){this.spec=t,this.monitor=r,this.connector=n}}function b6e(e,t,r){const n=p.useMemo(()=>new y6e(e,t,r),[t,r]);return p.useEffect(()=>{n.spec=e},[e]),n}function w6e(e){return p.useMemo(()=>{const t=e.type;return Er(t!=null,"spec.type must be defined"),t},[e])}function k6e(e,t,r){const n=nh(),a=b6e(e,t,r),o=w6e(e);Wf(function(){if(o!=null){const[c,u]=d6e(o,a,n);return t.receiveHandlerId(c),r.receiveHandlerId(c),u}},[n,t,r,a,o])}function C6e(e,t){const r=qV(e,t);Er(!r.begin,"useDrag::spec.begin was deprecated in v14. Replace spec.begin() with spec.item(). (see more here - https://react-dnd.github.io/react-dnd/docs/api/use-drag)");const n=x6e(),a=v6e(r.options,r.previewOptions);return k6e(r,n,a),[VV(r.collect,n,a),o6e(a),i6e(a)]}function S6e(e){const r=nh().getMonitor(),[n,a]=WV(r,e);return p.useEffect(()=>r.subscribeToOffsetChange(a)),p.useEffect(()=>r.subscribeToStateChange(a)),n}function j6e(e){return p.useMemo(()=>e.hooks.dropTarget(),[e])}function E6e(e){const t=nh(),r=p.useMemo(()=>new g6e(t.getBackend()),[t]);return Wf(()=>(r.dropTargetOptions=e||null,r.reconnect(),()=>r.disconnectDropTarget()),[e]),r}function N6e(){const e=nh();return p.useMemo(()=>new c6e(e),[e])}function _6e(e){const{accept:t}=e;return p.useMemo(()=>(Er(e.accept!=null,"accept must be defined"),Array.isArray(t)?t:[t]),[t])}class T6e{canDrop(){const t=this.spec,r=this.monitor;return t.canDrop?t.canDrop(r.getItem(),r):!0}hover(){const t=this.spec,r=this.monitor;t.hover&&t.hover(r.getItem(),r)}drop(){const t=this.spec,r=this.monitor;if(t.drop)return t.drop(r.getItem(),r)}constructor(t,r){this.spec=t,this.monitor=r}}function P6e(e,t){const r=p.useMemo(()=>new T6e(e,t),[t]);return p.useEffect(()=>{r.spec=e},[e]),r}function M6e(e,t,r){const n=nh(),a=P6e(e,t),o=_6e(e);Wf(function(){const[c,u]=u6e(o,a,n);return t.receiveHandlerId(c),r.receiveHandlerId(c),u},[n,t,a,r,o.map(i=>i.toString()).join("|")])}function GV(e,t){const r=qV(e,t),n=N6e(),a=E6e(r.options);return M6e(r,n,a),[VV(r.collect,n,a),j6e(a)]}const YV=p.createContext(null);function qa(){const e=p.useContext(YV);if(e===null)throw new Error("No Tree Api Provided");return e}const ZV=p.createContext(null);function D6e(){const e=p.useContext(ZV);if(e===null)throw new Error("Provide a NodesContext");return e}const XV=p.createContext(null);function A6e(){const e=p.useContext(XV);if(e===null)throw new Error("Provide a DnDContext");return e}const QV=p.createContext(0);function G_(){p.useContext(QV)}const R6e={position:"fixed",pointerEvents:"none",zIndex:100,left:0,top:0,width:"100%",height:"100%"},L6e=e=>{if(!e)return{display:"none"};const{x:t,y:r}=e;return{transform:"translate(".concat(t,"px, ").concat(r,"px)")}},I6e=e=>{if(!e)return{display:"none"};const{x:t,y:r}=e;return{transform:"translate(".concat(t+10,"px, ").concat(r+10,"px)")}};function JV({offset:e,mouse:t,id:r,dragIds:n,isDragging:a}){return s.jsxs(O6e,{isDragging:a,children:[s.jsx($6e,{offset:e,children:s.jsx(F6e,{id:r,dragIds:n})}),s.jsx(z6e,{mouse:t,count:n.length})]})}const O6e=p.memo(function(t){return t.isDragging?s.jsx("div",{style:R6e,children:t.children}):null});function $6e(e){return s.jsx("div",{className:"row preview",style:L6e(e.offset),children:e.children})}function z6e(e){const{count:t,mouse:r}=e;return t>1?s.jsx("div",{className:"selected-count",style:I6e(r),children:t}):null}const F6e=p.memo(function(t){const r=qa(),n=r.get(t.id);return n?s.jsx(r.renderNode,{preview:!0,node:n,style:{paddingLeft:n.level*r.indent,opacity:.5,background:"transparent"},tree:r}):null});function H6e(){const e=qa(),{offset:t,mouse:r,item:n,isDragging:a}=S6e(i=>({offset:i.getSourceClientOffset(),mouse:i.getClientOffset(),item:i.getItem(),isDragging:i.isDragging()})),o=e.props.renderDragPreview||JV;return s.jsx(o,{offset:t,mouse:r,id:(n==null?void 0:n.id)||null,dragIds:(n==null?void 0:n.dragIds)||[],isDragging:a})}const Xv=e=>{var t;return{nodes:{open:{filtered:{},unfiltered:(t=e==null?void 0:e.initialOpenState)!=null?t:{}},focus:{id:null,treeFocused:!1},edit:{id:null},drag:{id:null,idWillReceiveDrop:null},selection:{ids:new Set,anchor:null,mostRecent:null}},dnd:{cursor:{type:"none"},dragId:null,dragIds:[],parentId:null,index:-1}}},_m={cursor(e){return{type:"DND_CURSOR",cursor:e}},dragStart(e,t){return{type:"DND_DRAG_START",id:e,dragIds:t}},dragEnd(){return{type:"DND_DRAG_END"}},hovering(e,t){return{type:"DND_HOVERING",parentId:e,index:t}}};function B6e(e=Xv().dnd,t){switch(t.type){case"DND_CURSOR":return ee(R({},e),{cursor:t.cursor});case"DND_DRAG_START":return ee(R({},e),{dragId:t.id,dragIds:t.dragIds});case"DND_DRAG_END":return Xv().dnd;case"DND_HOVERING":return ee(R({},e),{parentId:t.parentId,index:t.index});default:return e}}function eq(e,t,r){return Math.max(Math.min(e,r),t)}function tq(e){return e&&e.isLeaf}function rq(e){return e&&e.isInternal&&!e.isOpen}const nq=(e,t)=>{let r=e;for(;r;){if(r.id===t.id)return!0;r=r.parent}return!1},sq=e=>{if(!e.parent)throw Error("Node does not have a parent");return e.parent.children.findIndex(t=>t.id===e.id)};function U6e(){}function Y_(e,t){if(!e)return null;if(e.id===t)return e;if(e.children)for(let r of e.children){const n=Y_(r,t);if(n)return n}return null}function ow(e,t){if(t(e),e.children)for(let r of e.children)ow(r,t)}function aq(e){const t=iq(e);let r;for(let n=0;n=0?e[t-1]:e[e.length-1]}function iq(e){return Array.from(document.querySelectorAll('button:not([disabled]), [href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"]):not([disabled]), details:not([disabled]), summary:not(:disabled)')).filter(t=>t===e||!e.contains(t))}function Ng(e,t){return typeof t=="boolean"?t:typeof t=="string"?e[t]:t(e)}function lq(e){return e===null?null:$d(e)}function $d(e){return typeof e=="string"?e:e.id}function q6e(...e){return t=>{e.forEach(r=>{typeof r=="function"?r(t):r!=null&&(r.current=t)})}}function cq(e,...t){if(e)return e(...t)}function uq(e){return new Promise((t,r)=>{let n=0;function a(){n+=1,n===100&&r(),e()?t():setTimeout(a,10)}a()})}function dq(e){var r,n;const t=e.focusedNode;return t?t.isOpen?0:t.parent?t.childIndex+1:0:(n=(r=e.root.children)==null?void 0:r.length)!=null?n:0}function fq(e){const t=e.focusedNode;return t?t.isOpen?t.id:t.parent&&!t.parent.isRoot?t.parent.id:null:null}const K6e=Object.freeze(Object.defineProperty({__proto__:null,access:Ng,bound:eq,dfs:Y_,focusNextElement:aq,focusPrevElement:oq,getInsertIndex:dq,getInsertParentId:fq,identify:$d,identifyNull:lq,indexOf:sq,isClosed:rq,isDecendent:nq,isItem:tq,mergeRefs:q6e,noop:U6e,safeRun:cq,waitFor:uq,walk:ow},Symbol.toStringTag,{value:"Module"}));function G6e(e,t){const r=e.getBoundingClientRect(),n=t.x-Math.round(r.x),a=t.y-Math.round(r.y),o=r.height,i=au&&at;)r=r.parent;const n=((o=r.parent)==null?void 0:o.id)||null,a=sq(r)+1;return{parentId:n,index:a}}function hq(e){var c;const t=G6e(e.element,e.offset),{node:r,nextNode:n,prevNode:a}=e,[o,i]=Y6e(r,a,n,t);if(r&&r.isInternal&&t.inMiddle)return{drop:e3(r.id,0),cursor:X6e(r.id)};if(!o)return{drop:e3((c=i==null?void 0:i.parent)==null?void 0:c.id,0),cursor:t3(0,0)};if(tq(o)||rq(o)){const u=Z6e(t,o,i,e.indent);return{drop:Q6e(o,u),cursor:t3(o.rowIndex+1,u)}}return{drop:e3(o==null?void 0:o.id,0),cursor:t3(o.rowIndex+1,o.level+1)}}function J6e(){const e=qa(),[,t]=GV(()=>({accept:"NODE",canDrop:(r,n)=>n.isOver({shallow:!0})?e.canDrop():!1,hover:(r,n)=>{if(!n.isOver({shallow:!0}))return;const a=n.getClientOffset();if(!e.listEl.current||!a)return;const{cursor:o,drop:i}=hq({element:e.listEl.current,offset:a,indent:e.indent,node:null,prevNode:e.visibleNodes[e.visibleNodes.length-1],nextNode:null});i&&e.dispatch(_m.hovering(i.parentId,i.index)),n.canDrop()?o&&e.showCursor(o):e.hideCursor()}}),[e]);t(e.listEl)}function eNe(e){return J6e(),e.children}function pq(e){let t=null;return()=>(t==null&&(t=e()),t)}function tNe(e,t){return e.filter(r=>r!==t)}function rNe(e,t){const r=new Set,n=o=>r.add(o);e.forEach(n),t.forEach(n);const a=[];return r.forEach(o=>a.push(o)),a}class nNe{enter(t){const r=this.entered.length,n=a=>this.isNodeInDocument(a)&&(!a.contains||a.contains(t));return this.entered=rNe(this.entered.filter(n),[t]),r===0&&this.entered.length>0}leave(t){const r=this.entered.length;return this.entered=tNe(this.entered.filter(this.isNodeInDocument),t),r>0&&this.entered.length===0}reset(){this.entered=[]}constructor(t){this.entered=[],this.isNodeInDocument=t}}class sNe{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(t=>{Object.defineProperty(this.item,t,{configurable:!0,enumerable:!0,get(){return console.warn("Browser doesn't allow reading \"".concat(t,'" until the drop event.')),null}})})}loadDataTransfer(t){if(t){const r={};Object.keys(this.config.exposeProperties).forEach(n=>{const a=this.config.exposeProperties[n];a!=null&&(r[n]={value:a(t,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,r)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(t,r){return r===t.getSourceId()}endDrag(){}constructor(t){this.config=t,this.item={},this.initializeExposedProperties()}}const mq="__NATIVE_FILE__",gq="__NATIVE_URL__",vq="__NATIVE_TEXT__",xq="__NATIVE_HTML__",RR=Object.freeze(Object.defineProperty({__proto__:null,FILE:mq,HTML:xq,TEXT:vq,URL:gq},Symbol.toStringTag,{value:"Module"}));function r3(e,t,r){const n=t.reduce((a,o)=>a||e.getData(o),"");return n!=null?n:r}const aE={[mq]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[xq]:{exposeProperties:{html:(e,t)=>r3(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[gq]:{exposeProperties:{urls:(e,t)=>r3(e,t,"").split("\n"),dataTransfer:e=>e},matchesTypes:["Url","text/uri-list"]},[vq]:{exposeProperties:{text:(e,t)=>r3(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function aNe(e,t){const r=aE[e];if(!r)throw new Error("native type ".concat(e," has no configuration"));const n=new sNe(r);return n.loadDataTransfer(t),n}function n3(e){if(!e)return null;const t=Array.prototype.slice.call(e.types||[]);return Object.keys(aE).filter(r=>{const n=aE[r];return n!=null&&n.matchesTypes?n.matchesTypes.some(a=>t.indexOf(a)>-1):!1})[0]||null}const oNe=pq(()=>/firefox/i.test(navigator.userAgent)),yq=pq(()=>!!window.safari);class LR{interpolate(t){const{xs:r,ys:n,c1s:a,c2s:o,c3s:i}=this;let c=r.length-1;if(t===r[c])return n[c];let u=0,f=i.length-1,h;for(;u<=f;){h=Math.floor(.5*(u+f));const S=r[h];if(St)f=h-1;else return n[h]}c=Math.max(0,f);const m=t-r[c],v=m*m;return n[c]+a[c]*m+o[c]*v+i[c]*m*v}constructor(t,r){const{length:n}=t,a=[];for(let S=0;St[S]{let A=new LR([0,.5,1],[u.y,u.y/h*w,u.y+w-h]).interpolate(v);return yq()&&o&&(A+=(window.devicePixelRatio-1)*w),A},b=()=>new LR([0,.5,1],[u.x,u.x/f*S,u.x+S-f]).interpolate(m),{offsetX:C,offsetY:j}=a,E=C===0||C,N=j===0||j;return{x:E?C:b(),y:N?j:g()}}class dNe{get window(){if(this.globalContext)return this.globalContext;if(typeof window!="undefined")return window}get document(){var t;return!((t=this.globalContext)===null||t===void 0)&&t.document?this.globalContext.document:this.window?this.window.document:void 0}get rootElement(){var t;return((t=this.optionsArgs)===null||t===void 0?void 0:t.rootElement)||this.window}constructor(t,r){this.ownerDocument=null,this.globalContext=t,this.optionsArgs=r}}function fNe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function IR(e){for(var t=1;t{this.sourcePreviewNodes.delete(t),this.sourcePreviewNodeOptions.delete(t)}}connectDragSource(t,r,n){this.sourceNodes.set(t,r),this.sourceNodeOptions.set(t,n);const a=i=>this.handleDragStart(i,t),o=i=>this.handleSelectStart(i);return r.setAttribute("draggable","true"),r.addEventListener("dragstart",a),r.addEventListener("selectstart",o),()=>{this.sourceNodes.delete(t),this.sourceNodeOptions.delete(t),r.removeEventListener("dragstart",a),r.removeEventListener("selectstart",o),r.setAttribute("draggable","false")}}connectDropTarget(t,r){const n=i=>this.handleDragEnter(i,t),a=i=>this.handleDragOver(i,t),o=i=>this.handleDrop(i,t);return r.addEventListener("dragenter",n),r.addEventListener("dragover",a),r.addEventListener("drop",o),()=>{r.removeEventListener("dragenter",n),r.removeEventListener("dragover",a),r.removeEventListener("drop",o)}}addEventListeners(t){t.addEventListener&&(t.addEventListener("dragstart",this.handleTopDragStart),t.addEventListener("dragstart",this.handleTopDragStartCapture,!0),t.addEventListener("dragend",this.handleTopDragEndCapture,!0),t.addEventListener("dragenter",this.handleTopDragEnter),t.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.addEventListener("dragover",this.handleTopDragOver),t.addEventListener("dragover",this.handleTopDragOverCapture,!0),t.addEventListener("drop",this.handleTopDrop),t.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(t){t.removeEventListener&&(t.removeEventListener("dragstart",this.handleTopDragStart),t.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),t.removeEventListener("dragend",this.handleTopDragEndCapture,!0),t.removeEventListener("dragenter",this.handleTopDragEnter),t.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),t.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),t.removeEventListener("dragover",this.handleTopDragOver),t.removeEventListener("dragover",this.handleTopDragOverCapture,!0),t.removeEventListener("drop",this.handleTopDrop),t.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){const t=this.monitor.getSourceId(),r=this.sourceNodeOptions.get(t);return IR({dropEffect:this.altKeyPressed?"copy":"move"},r||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){const t=this.monitor.getSourceId(),r=this.sourcePreviewNodeOptions.get(t);return IR({anchorX:.5,anchorY:.5,captureDraggingState:!1},r||{})}isDraggingNativeItem(){const t=this.monitor.getItemType();return Object.keys(RR).some(r=>RR[r]===t)}beginDragNativeItem(t,r){this.clearCurrentDragSourceNode(),this.currentNativeSource=aNe(t,r),this.currentNativeHandle=this.registry.addSource(t,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(t){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=t;const r=1e3;this.mouseMoveTimeoutTimer=setTimeout(()=>{var n;return(n=this.rootElement)===null||n===void 0?void 0:n.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},r)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var t;(t=this.window)===null||t===void 0||t.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(t,r){t.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(r))}handleDragEnter(t,r){this.dragEnterTargetIds.unshift(r)}handleDragOver(t,r){this.dragOverTargetIds===null&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(r)}handleDrop(t,r){this.dropTargetIds.unshift(r)}constructor(t,r,n){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=a=>{const o=this.sourceNodes.get(a);return o&&bq(o)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=a=>!!(a&&this.document&&this.document.body&&this.document.body.contains(a)),this.endDragIfSourceWasRemovedFromDOM=()=>{const a=this.currentDragSourceNode;a==null||this.isNodeInDocument(a)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=a=>{this.hoverRafId===null&&typeof requestAnimationFrame!="undefined"&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(a||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{this.hoverRafId!==null&&typeof cancelAnimationFrame!="undefined"&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=a=>{if(a.defaultPrevented)return;const{dragStartSourceIds:o}=this;this.dragStartSourceIds=null;const i=Iy(a);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(o||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:i});const{dataTransfer:c}=a,u=n3(c);if(this.monitor.isDragging()){if(c&&typeof c.setDragImage=="function"){const h=this.monitor.getSourceId(),m=this.sourceNodes.get(h),v=this.sourcePreviewNodes.get(h)||m;if(v){const{anchorX:S,anchorY:w,offsetX:g,offsetY:b}=this.getCurrentSourcePreviewNodeOptions(),E=uNe(m,v,i,{anchorX:S,anchorY:w},{offsetX:g,offsetY:b});c.setDragImage(v,E.x,E.y)}}try{c==null||c.setData("application/json",{})}catch(h){}this.setCurrentDragSourceNode(a.target);const{captureDraggingState:f}=this.getCurrentSourcePreviewNodeOptions();f?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(u)this.beginDragNativeItem(u);else{if(c&&!c.types&&(a.target&&!a.target.hasAttribute||!a.target.hasAttribute("draggable")))return;a.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=a=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var o;(o=this.currentNativeSource)===null||o===void 0||o.loadDataTransfer(a.dataTransfer)}if(!this.enterLeaveCounter.enter(a.target)||this.monitor.isDragging())return;const{dataTransfer:c}=a,u=n3(c);u&&this.beginDragNativeItem(u,c)},this.handleTopDragEnter=a=>{const{dragEnterTargetIds:o}=this;if(this.dragEnterTargetIds=[],!this.monitor.isDragging())return;this.altKeyPressed=a.altKey,o.length>0&&this.actions.hover(o,{clientOffset:Iy(a)}),o.some(c=>this.monitor.canDropOnTarget(c))&&(a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect=this.getCurrentDropEffect()))},this.handleTopDragOverCapture=a=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var o;(o=this.currentNativeSource)===null||o===void 0||o.loadDataTransfer(a.dataTransfer)}},this.handleTopDragOver=a=>{const{dragOverTargetIds:o}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect="none");return}this.altKeyPressed=a.altKey,this.lastClientOffset=Iy(a),this.scheduleHover(o),(o||[]).some(c=>this.monitor.canDropOnTarget(c))?(a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?a.preventDefault():(a.preventDefault(),a.dataTransfer&&(a.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=a=>{this.isDraggingNativeItem()&&a.preventDefault(),this.enterLeaveCounter.leave(a.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=a=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var o;a.preventDefault(),(o=this.currentNativeSource)===null||o===void 0||o.loadDataTransfer(a.dataTransfer)}else n3(a.dataTransfer)&&a.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=a=>{const{dropTargetIds:o}=this;this.dropTargetIds=[],this.actions.hover(o,{clientOffset:Iy(a)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=a=>{const o=a.target;typeof o.dragDrop=="function"&&(o.tagName==="INPUT"||o.tagName==="SELECT"||o.tagName==="TEXTAREA"||o.isContentEditable||(a.preventDefault(),o.dragDrop()))},this.options=new dNe(r,n),this.actions=t.getActions(),this.monitor=t.getMonitor(),this.registry=t.getRegistry(),this.enterLeaveCounter=new nNe(this.isNodeInDocument)}}let Oy;function pNe(){return Oy||(Oy=new Image,Oy.src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),Oy}const mNe=function(t,r,n){return new hNe(t,r,n)},wq=p.forwardRef(function(a,n){var o=a,{style:t}=o,r=ke(o,["style"]);var f,h,m,v;const i=qa(),c=(h=(f=i.props.padding)!=null?f:i.props.paddingTop)!=null?h:0,u=(v=(m=i.props.padding)!=null?m:i.props.paddingBottom)!=null?v:0;return s.jsx("div",R({ref:n,style:ee(R({},t),{height:"".concat(parseFloat(t.height)+c+u,"px")})},r))});function gNe(){var c,u;const e=qa(),r=A6e().cursor;if(!r||r.type!=="line")return null;const n=e.indent,a=e.rowHeight*r.index+((u=(c=e.props.padding)!=null?c:e.props.paddingTop)!=null?u:0),o=n*r.level,i=e.renderCursor;return s.jsx(i,{top:a,left:o,indent:n})}const kq=p.forwardRef(function(t,r){const i=t,{children:n}=i,a=ke(i,["children"]),o=qa();return s.jsxs("div",ee(R({ref:r},a),{onClick:c=>{c.currentTarget===c.target&&o.deselectAll()},children:[s.jsx(vNe,{}),n]}))}),vNe=()=>{const e=qa();return s.jsx("div",{style:{height:e.visibleNodes.length*e.rowHeight,width:"100%",position:"absolute",left:"0",right:"0"},children:s.jsx(gNe,{})})};class iw{constructor(t){it(this,"tree");it(this,"id");it(this,"data");it(this,"level");it(this,"children");it(this,"parent");it(this,"isDraggable");it(this,"rowIndex");it(this,"handleClick",t=>{t.metaKey&&!this.tree.props.disableMultiSelection?this.isSelected?this.deselect():this.selectMulti():t.shiftKey&&!this.tree.props.disableMultiSelection?this.selectContiguous():(this.select(),this.activate())});this.tree=t.tree,this.id=t.id,this.data=t.data,this.level=t.level,this.children=t.children,this.parent=t.parent,this.isDraggable=t.isDraggable,this.rowIndex=t.rowIndex}get isRoot(){return this.id===Qv}get isLeaf(){return!Array.isArray(this.children)}get isInternal(){return!this.isLeaf}get isOpen(){return this.tree.closedFolderIds.length>0?!this.tree.closedFolderIds.includes(this.id):this.isLeaf?!1:this.tree.isOpen(this.id)}get isClosed(){return this.tree.closedFolderIds.length>0?this.tree.closedFolderIds.includes(this.id):this.isLeaf?!1:!this.tree.isOpen(this.id)}get isEditable(){return this.tree.isEditable(this.data)}get isEditing(){return this.tree.editingId===this.id}get isSelected(){return this.tree.isSelected(this.id)}get isOnlySelection(){return this.isSelected&&this.tree.hasOneSelection}get isSelectedStart(){var t;return this.isSelected&&!((t=this.prev)!=null&&t.isSelected)}get isSelectedEnd(){var t;return this.isSelected&&!((t=this.next)!=null&&t.isSelected)}get isFocused(){return this.tree.isFocused(this.id)}get isDragging(){return this.tree.isDragging(this.id)}get willReceiveDrop(){return this.tree.willReceiveDrop(this.id)}get state(){return{isClosed:this.isClosed,isDragging:this.isDragging,isEditing:this.isEditing,isFocused:this.isFocused,isInternal:this.isInternal,isLeaf:this.isLeaf,isOpen:this.isOpen,isSelected:this.isSelected,isSelectedEnd:this.isSelectedEnd,isSelectedStart:this.isSelectedStart,willReceiveDrop:this.willReceiveDrop}}get childIndex(){return this.parent&&this.parent.children?this.parent.children.findIndex(t=>t.id===this.id):-1}get next(){return this.rowIndex===null?null:this.tree.at(this.rowIndex+1)}get prev(){return this.rowIndex===null?null:this.tree.at(this.rowIndex-1)}get nextSibling(){var r,n;const t=this.childIndex;return(n=(r=this.parent)==null?void 0:r.children[t+1])!=null?n:null}select(){this.tree.select(this)}deselect(){this.tree.deselect(this)}selectMulti(){this.tree.selectMulti(this)}selectContiguous(){this.tree.selectContiguous(this)}activate(){this.tree.activate(this)}focus(){this.tree.focus(this)}toggle(){this.tree.toggle(this)}open(){this.tree.open(this)}openParents(){this.tree.openParents(this)}close(){this.tree.close(this)}submit(t){this.tree.submit(this,t)}reset(){this.tree.reset()}clone(){return new iw(R({},this))}edit(){return this.tree.edit(this)}}const Qv="ROOT";function OR(e){var a;function t(o,i,c){const u=e.accessId(o),f=new iw({tree:e,data:o,level:i,parent:c,id:u,children:null,isDraggable:e.isDraggable(o),rowIndex:null}),h=e.accessChildren(o);return h&&(f.children=h.map(m=>t(m,i+1,f))),f}const r=new iw({tree:e,id:Qv,data:{id:Qv},level:-1,parent:null,children:null,isDraggable:!0,rowIndex:null}),n=(a=e.props.data)!=null?a:[];return r.children=n.map(o=>t(o,0,r)),r}function xNe(e){const t=qa(),r=t.selectedIds,[n,a,o]=C6e(()=>({canDrag:()=>e.isDraggable,type:"NODE",item:()=>{const i=t.isSelected(e.id)?Array.from(r):[e.id];return t.dispatch(_m.dragStart(e.id,i)),{id:e.id}},end:()=>{t.hideCursor();let{parentId:i,index:c,dragIds:u}=t.state.dnd;t.canDrop()&&(cq(t.props.onMove,{dragIds:u,parentId:i===Qv?null:i,index:c,dragNodes:t.dragNodes,parentNode:t.get(i)}),t.open(i)),t.dispatch(_m.dragEnd())}}),[r,e]);return p.useEffect(()=>{o(pNe())},[o]),a}function yNe(e,t){const r=qa(),[n,a]=GV(()=>({accept:"NODE",canDrop:()=>r.canDrop(),hover:(o,i)=>{const c=i.getClientOffset();if(!e.current||!c)return;const{cursor:u,drop:f}=hq({element:e.current,offset:c,indent:r.indent,node:t,prevNode:t.prev,nextNode:t.next});f&&r.dispatch(_m.hovering(f.parentId,f.index)),i.canDrop()?u&&r.showCursor(u):r.hideCursor()},drop:(o,i)=>{if(!i.canDrop())return null}}),[t,e.current,r.props]);return a}function bNe(e){const t=qa(),r=t.at(e);if(!r)throw new Error("Could not find node for index: ".concat(e));return p.useMemo(()=>{const n=r.clone();return t.visibleNodes[e]=n,n},[...Object.values(r.state),r])}const Cq=p.memo(function({index:t,style:r}){G_(),D6e();const n=qa(),a=bNe(t),o=p.useRef(null),i=xNe(a),c=yNe(o,a),u=p.useCallback(g=>{o.current=g,c(g)},[c]),f=n.indent*a.level,h=p.useMemo(()=>({paddingLeft:f}),[f]),m=p.useMemo(()=>{var g,b;return ee(R({},r),{top:parseFloat(r.top)+((b=(g=n.props.padding)!=null?g:n.props.paddingTop)!=null?b:0)})},[r,n.props.padding,n.props.paddingTop]),v={role:"treeitem","aria-level":a.level,"aria-selected":a.isSelected,style:m,tabIndex:-1,className:n.props.rowClassName};p.useEffect(()=>{var g;!a.isEditing&&a.isFocused&&((g=o.current)==null||g.focus({preventScroll:!0}))},[a.isEditing,a.isFocused,o.current]);const S=n.renderNode,w=n.renderRow;return s.jsx(w,{node:a,innerRef:u,attrs:v,children:s.jsx(S,{node:a,tree:n,style:h,dragHandle:i})},a.id)});let s3="",$R=null;function Sq(){G_();const e=qa();return s.jsx("div",{style:{width:e.width,minHeight:0,minWidth:0},onContextMenu:e.props.onContextMenu,onClick:e.props.onClick,tabIndex:0,onFocus:t=>{t.currentTarget.contains(t.relatedTarget)||e.onFocus()},onBlur:t=>{t.currentTarget.contains(t.relatedTarget)||e.onBlur()},onKeyDown:t=>{var n;if(e.isEditing)return;if(t.key==="Backspace"){if(!e.props.onDelete)return;const a=Array.from(e.selectedIds);if(a.length>1){let o=e.mostRecentNode;for(;o&&o.isSelected;)o=o.nextSibling;o||(o=e.lastNode),e.focus(o,{scroll:!1}),e.delete(Array.from(a))}else{const o=e.focusedNode;if(o){const i=o.nextSibling,c=o.parent;e.focus(i||c,{scroll:!1}),e.delete(o)}}return}if(t.key==="Tab"&&!t.shiftKey){t.preventDefault(),aq(t.currentTarget);return}if(t.key==="Tab"&&t.shiftKey){t.preventDefault(),oq(t.currentTarget);return}if(t.key==="ArrowDown"){t.preventDefault();const a=e.nextNode;if(t.metaKey){e.select(e.focusedNode),e.activate(e.focusedNode);return}else if(!t.shiftKey||e.props.disableMultiSelection){e.focus(a);return}else{if(!a)return;const o=e.focusedNode;o?o.isSelected?e.selectContiguous(a):e.selectMulti(a):e.focus(e.firstNode);return}}if(t.key==="ArrowUp"){t.preventDefault();const a=e.prevNode;if(!t.shiftKey||e.props.disableMultiSelection){e.focus(a);return}else{if(!a)return;const o=e.focusedNode;o?o.isSelected?e.selectContiguous(a):e.selectMulti(a):e.focus(e.lastNode);return}}if(t.key==="ArrowRight"){const a=e.focusedNode;if(!a)return;a.isInternal&&a.isOpen?e.focus(e.nextNode):a.isInternal&&e.open(a.id);return}if(t.key==="ArrowLeft"){const a=e.focusedNode;if(!a||a.isRoot)return;a.isInternal&&a.isOpen?e.close(a.id):(n=a.parent)!=null&&n.isRoot||e.focus(a.parent);return}if(t.key==="a"&&t.metaKey&&!e.props.disableMultiSelection){t.preventDefault(),e.selectAll();return}if(t.key==="a"&&!t.metaKey&&e.props.onCreate){e.createLeaf();return}if(t.key==="A"&&!t.metaKey){if(!e.props.onCreate)return;e.createInternal();return}if(t.key==="Home"){t.preventDefault(),e.focus(e.firstNode);return}if(t.key==="End"){t.preventDefault(),e.focus(e.lastNode);return}if(t.key==="Enter"){const a=e.focusedNode;if(!a||!a.isEditable||!e.props.onRename)return;setTimeout(()=>{a&&e.edit(a)});return}if(t.key===" "){t.preventDefault();const a=e.focusedNode;if(!a)return;a.isLeaf?(a.select(),a.activate()):a.toggle();return}if(t.key==="*"){const a=e.focusedNode;if(!a)return;e.openSiblings(a);return}if(t.key==="PageUp"){t.preventDefault(),e.pageUp();return}t.key==="PageDown"&&(t.preventDefault(),e.pageDown()),clearTimeout($R),s3+=t.key,$R=setTimeout(()=>{s3=""},300);const r=e.visibleNodes.find(a=>{const o=a.data.name;return typeof o=="string"?o.toLowerCase().includes(s3.toLowerCase()):!1});r&&e.focus(r.id)},children:s.jsx(gV,{className:e.props.className,outerRef:e.listEl,itemCount:e.visibleNodes.length,height:e.visibleNodes.length*e.rowHeight,width:e.width,itemSize:e.rowHeight,overscanCount:e.overscanCount,itemKey:t=>{var r;return((r=e.visibleNodes[t])==null?void 0:r.id)||t},outerElementType:kq,innerElementType:wq,onScroll:e.props.onScroll,onItemsRendered:e.onItemsRendered.bind(e),ref:e.list,children:Cq})})}const wNe={display:"flex",alignItems:"center",zIndex:1},kNe={flex:1,height:"2px",background:"#4B91E2",borderRadius:"1px"},CNe={width:"4px",height:"4px",boxShadow:"0 0 0 3px #4B91E2",borderRadius:"50%"},SNe=jt.memo(function({top:t,left:r,indent:n}){const a={position:"absolute",pointerEvents:"none",top:t-2+"px",left:r+"px",right:n+"px"};return s.jsxs("div",{style:R(R({},wNe),a),children:[s.jsx("div",{style:R({},CNe)}),s.jsx("div",{style:R({},kNe)})]})});function jNe(e){return s.jsxs("div",{ref:e.dragHandle,style:e.style,children:[s.jsx("span",{onClick:t=>{t.stopPropagation(),e.node.toggle()},children:e.node.isLeaf?"🌳":e.node.isOpen?"🗁":"🗀"})," ",e.node.isEditing?s.jsx(NNe,R({},e)):s.jsx(ENe,R({},e))]})}function ENe(e){return s.jsx(s.Fragment,{children:s.jsx("span",{children:e.node.data.name})})}function NNe({node:e}){const t=p.useRef();return p.useEffect(()=>{var r,n;(r=t.current)==null||r.focus(),(n=t.current)==null||n.select()},[]),s.jsx("input",{ref:t,defaultValue:e.data.name,onBlur:()=>e.reset(),onKeyDown:r=>{var n;r.key==="Escape"&&e.reset(),r.key==="Enter"&&e.submit(((n=t.current)==null?void 0:n.value)||"")}})}function _Ne({node:e,attrs:t,innerRef:r,children:n}){return s.jsx("div",ee(R({},t),{ref:r,onFocus:a=>a.stopPropagation(),onClick:e.handleClick,children:n}))}const zR=e=>e.reduce((t,r,n)=>(t[r.id]=n,t),{});function FR(e){return e.isFiltered?PNe(e.root,e.isMatch.bind(e)):TNe(e.root)}function TNe(e){const t=[];function r(n){var a;n.level>=0&&t.push(n),n.isOpen&&((a=n.children)==null||a.forEach(r))}return r(e),t.forEach(jq),t}function PNe(e,t){const r={},n=[];function a(i){if(!i.isRoot&&t(i)){r[i.id]=!0;let u=i.parent;for(;u;)r[u.id]=!0,u=u.parent}if(i.children)for(let u of i.children)a(u)}function o(i){var c;i.level>=0&&r[i.id]&&n.push(i),i.isOpen&&((c=i.children)==null||c.forEach(o))}return a(e),o(e),n.forEach(jq),n}function jq(e,t){e.rowIndex=t}function a3(e){return{type:"EDIT",id:e}}function MNe(e={id:null},t){return t.type==="EDIT"?ee(R({},e),{id:t.id}):e}function Gh(e){return{type:"FOCUS",id:e}}function DNe(){return{type:"TREE_BLUR"}}function ANe(e={id:null,treeFocused:!1},t){return t.type==="FOCUS"?ee(R({},e),{id:t.id,treeFocused:!0}):t.type==="TREE_BLUR"?ee(R({},e),{treeFocused:!1}):e}const oE={open(e,t){return{type:"VISIBILITY_OPEN",id:e,filtered:t}},close(e,t){return{type:"VISIBILITY_CLOSE",id:e,filtered:t}},toggle(e,t){return{type:"VISIBILITY_TOGGLE",id:e,filtered:t}},clear(e){return{type:"VISIBILITY_CLEAR",filtered:e}}};function HR(e={},t){if(t.type==="VISIBILITY_OPEN")return ee(R({},e),{[t.id]:!0});if(t.type==="VISIBILITY_CLOSE")return ee(R({},e),{[t.id]:!1});if(t.type==="VISIBILITY_TOGGLE"){const r=e[t.id];return ee(R({},e),{[t.id]:!r})}else return t.type==="VISIBILITY_CLEAR"?{}:e}function RNe(e={filtered:{},unfiltered:{}},t){return t.type.startsWith("VISIBILITY")?t.filtered?ee(R({},e),{filtered:HR(e.filtered,t)}):ee(R({},e),{unfiltered:HR(e.unfiltered,t)}):e}const Vo={clear:()=>({type:"SELECTION_CLEAR"}),only:e=>({type:"SELECTION_ONLY",id:$d(e)}),add:e=>({type:"SELECTION_ADD",ids:(Array.isArray(e)?e:[e]).map($d)}),remove:e=>({type:"SELECTION_REMOVE",ids:(Array.isArray(e)?e:[e]).map($d)}),set:e=>R({type:"SELECTION_SET"},e),mostRecent:e=>({type:"SELECTION_MOST_RECENT",id:e===null?null:$d(e)}),anchor:e=>({type:"SELECTION_ANCHOR",id:e===null?null:$d(e)})};function LNe(e=Xv().nodes.selection,t){const r=e.ids;switch(t.type){case"SELECTION_CLEAR":return ee(R({},e),{ids:new Set});case"SELECTION_ONLY":return ee(R({},e),{ids:new Set([t.id])});case"SELECTION_ADD":return t.ids.length===0?e:(t.ids.forEach(n=>r.add(n)),ee(R({},e),{ids:new Set(r)}));case"SELECTION_REMOVE":return t.ids.length===0?e:(t.ids.forEach(n=>r.delete(n)),ee(R({},e),{ids:new Set(r)}));case"SELECTION_SET":return ee(R({},e),{ids:t.ids,mostRecent:t.mostRecent,anchor:t.anchor});case"SELECTION_MOST_RECENT":return ee(R({},e),{mostRecent:t.id});case"SELECTION_ANCHOR":return ee(R({},e),{anchor:t.id});default:return e}}const{safeRun:Ms,identify:Kl,identifyNull:qo}=K6e,Sp=class Sp{constructor(t,r,n,a){it(this,"root");it(this,"visibleNodes");it(this,"visibleStartIndex",0);it(this,"visibleStopIndex",0);it(this,"idToIndex");this.store=t,this.props=r,this.list=n,this.listEl=a,this.root=OR(this),this.visibleNodes=FR(this),this.idToIndex=zR(this.visibleNodes)}update(t){this.props=t,this.root=OR(this),this.visibleNodes=FR(this),this.idToIndex=zR(this.visibleNodes)}dispatch(t){return this.store.dispatch(t)}get state(){return this.store.getState()}get openState(){return this.state.nodes.open.unfiltered}get width(){var t;return(t=this.props.width)!=null?t:"100%"}get closedFolderIds(){var t;return(t=this.props.closedFolderItemIds)!=null?t:[]}get height(){var t;return(t=this.props.height)!=null?t:1500}get indent(){var t;return(t=this.props.indent)!=null?t:24}get rowHeight(){var t;return(t=this.props.rowHeight)!=null?t:26}get overscanCount(){var t;return(t=this.props.overscanCount)!=null?t:1}get searchTerm(){return(this.props.searchTerm||"").trim()}get matchFn(){var r;const t=(r=this.props.searchMatch)!=null?r:(n,a)=>JSON.stringify(Object.values(n.data)).toLocaleLowerCase().includes(a.toLocaleLowerCase());return n=>t(n,this.searchTerm)}accessChildren(t){var n;const r=this.props.childrenAccessor||"children";return(n=Ng(t,r))!=null?n:null}accessId(t){const r=this.props.idAccessor||"id",n=Ng(t,r);if(!n)throw new Error("Data must contain an 'id' property or props.idAccessor must return a string");return n}get firstNode(){var t;return(t=this.visibleNodes[0])!=null?t:null}get lastNode(){var t;return(t=this.visibleNodes[this.visibleNodes.length-1])!=null?t:null}get focusedNode(){var t;return(t=this.get(this.state.nodes.focus.id))!=null?t:null}get mostRecentNode(){var t;return(t=this.get(this.state.nodes.selection.mostRecent))!=null?t:null}get nextNode(){const t=this.indexOf(this.focusedNode);return t===null?null:this.at(t+1)}get prevNode(){const t=this.indexOf(this.focusedNode);return t===null?null:this.at(t-1)}get(t){return t&&t in this.idToIndex&&this.visibleNodes[this.idToIndex[t]]||null}at(t){return this.visibleNodes[t]||null}nodesBetween(t,r){var c;if(t===null||r===null)return[];const n=(c=this.indexOf(t))!=null?c:0,a=this.indexOf(r);if(a===null)return[];const o=Math.min(n,a),i=Math.max(n,a);return this.visibleNodes.slice(o,i+1)}indexOf(t){const r=lq(t);return r?this.idToIndex[r]:null}get editingId(){return this.state.nodes.edit.id}createInternal(){return this.create({type:"internal"})}createLeaf(){return this.create({type:"leaf"})}create(){return pe(this,arguments,function*(t={}){var i,c;const r=t.parentId===void 0?fq(this):t.parentId,n=(i=t.index)!=null?i:dq(this),a=(c=t.type)!=null?c:"leaf",o=yield Ms(this.props.onCreate,{type:a,parentId:r,index:n,parentNode:this.get(r)});o&&(this.focus(o),setTimeout(()=>{this.edit(o).then(()=>{this.select(o),this.activate(o)})}))})}delete(t){return pe(this,null,function*(){if(!t)return;const n=(Array.isArray(t)?t:[t]).map(Kl),a=n.map(o=>this.get(o)).filter(o=>!!o);yield Ms(this.props.onDelete,{nodes:a,ids:n})})}edit(t){const r=Kl(t);return this.resolveEdit({cancelled:!0}),this.scrollTo(r),this.dispatch(a3(r)),new Promise(n=>{Sp.editPromise=n})}submit(t,r){return pe(this,null,function*(){if(!t)return;const n=Kl(t);yield Ms(this.props.onRename,{id:n,name:r,node:this.get(n)}),setTimeout(()=>{this.focus(this.get(n)),this.dispatch(a3(null)),this.resolveEdit({cancelled:!1,value:r}),this.onFocus()},300)})}reset(){this.dispatch(a3(null)),this.resolveEdit({cancelled:!0}),setTimeout(()=>this.onFocus())}activate(t){const r=this.get(qo(t));r&&Ms(this.props.onActivate,r)}resolveEdit(t){const r=Sp.editPromise;r&&r(t),Sp.editPromise=null}get selectedIds(){return this.state.nodes.selection.ids}get selectedNodes(){let t=[];for(let r of Array.from(this.selectedIds)){const n=this.get(r);n&&t.push(n)}return t}focus(t,r={}){t&&(this.props.selectionFollowsFocus?this.select(t):(this.dispatch(Gh(Kl(t))),r.scroll!==!1&&this.scrollTo(t),this.focusedNode&&Ms(this.props.onFocus,this.focusedNode)))}pageUp(){var o,i;const t=this.visibleStartIndex,n=this.visibleStopIndex-t;let a=(i=(o=this.focusedNode)==null?void 0:o.rowIndex)!=null?i:0;a>t?a=t:a=Math.max(t-n,0),this.focus(this.at(a))}pageDown(){var o,i;const t=this.visibleStartIndex,r=this.visibleStopIndex,n=r-t;let a=(i=(o=this.focusedNode)==null?void 0:o.rowIndex)!=null?i:0;athis.get(t)).filter(t=>!!t)}canDrop(){var a;const t=(a=this.get(this.state.dnd.parentId))!=null?a:this.root,r=this.dragNodes,n=this.props.disableDrop;for(const o of r)if(!o||!t||o.isInternal&&nq(t,o))return!1;return typeof n=="function"?!n({parentNode:t,dragNodes:this.dragNodes,index:this.state.dnd.index}):typeof n=="string"?!t.data[n]:typeof n=="boolean"?!n:!0}hideCursor(){this.dispatch(_m.cursor({type:"none"}))}showCursor(t){this.dispatch(_m.cursor(t))}open(t){const r=qo(t);r&&(this.isOpen(r)||(this.dispatch(oE.open(r,this.isFiltered)),Ms(this.props.onFolderOpen,r)))}close(t){const r=qo(t);r&&this.isOpen(r)&&(this.dispatch(oE.close(r,this.isFiltered)),Ms(this.props.onFolderClose,r))}toggle(t){const r=qo(t);if(r)return this.isOpen(r)?this.close(r):this.open(r)}openParents(t){const r=qo(t);if(!r)return;const n=Y_(this.root,r);let a=n==null?void 0:n.parent;for(;a;)this.open(a.id),a=a.parent}openSiblings(t){const r=t.parent;if(!r)this.toggle(t.id);else if(r.children){const n=t.isOpen;for(let a of r.children)a.isInternal&&(n?this.close(a.id):this.open(a.id));this.scrollTo(this.focusedNode)}}openAll(){ow(this.root,t=>{t.isInternal&&t.open()})}closeAll(){ow(this.root,t=>{t.isInternal&&t.close()})}scrollTo(t,r="smart"){if(!t)return;const n=Kl(t);return this.openParents(n),uq(()=>n in this.idToIndex).then(()=>{var o;const a=this.idToIndex[n];a!==void 0&&((o=this.list.current)==null||o.scrollToItem(a,r))}).catch(()=>{})}get isEditing(){return this.state.nodes.edit.id!==null}get isFiltered(){var t;return!!((t=this.props.searchTerm)!=null&&t.trim())}get hasFocus(){return this.state.nodes.focus.treeFocused}get hasNoSelection(){return this.state.nodes.selection.ids.size===0}get hasOneSelection(){return this.state.nodes.selection.ids.size===1}get hasMultipleSelections(){return this.state.nodes.selection.ids.size>1}isSelected(t){return t?this.state.nodes.selection.ids.has(t):!1}isOpen(t){var n,a,o;if(!t)return!1;if(t===Qv)return!0;const r=(n=this.props.openByDefault)!=null?n:!0;return this.isFiltered?(a=this.state.nodes.open.filtered[t])!=null?a:!0:(o=this.state.nodes.open.unfiltered[t])!=null?o:r}isEditable(t){const r=this.props.disableEdit||(()=>!1);return!Ng(t,r)}isDraggable(t){const r=this.props.disableDrag||(()=>!1);return!Ng(t,r)}isDragging(t){const r=qo(t);return r?this.state.nodes.drag.id===r:!1}isFocused(t){return this.hasFocus&&this.state.nodes.focus.id===t}isMatch(t){return this.matchFn(t)}willReceiveDrop(t){const r=qo(t);return r?r===this.state.nodes.drag.idWillReceiveDrop:!1}onSearchClear(){var t,r;(r=(t=this.props).onSearchClear)==null||r.call(t)}onFocus(){const t=this.focusedNode||this.firstNode;t&&this.dispatch(Gh(t.id))}onBlur(){this.dispatch(DNe())}onItemsRendered(t){this.visibleStartIndex=t.visibleStartIndex,this.visibleStopIndex=t.visibleStopIndex}get renderContainer(){return this.props.renderContainer||Sq}get renderRow(){return this.props.renderRow||_Ne}get renderNode(){return this.props.children||jNe}get renderDragPreview(){return this.props.renderDragPreview||JV}get renderCursor(){return this.props.renderCursor||SNe}};it(Sp,"editPromise");let iE=Sp;function INe(e={id:null,idWillReceiveDrop:null},t){switch(t.type){case"DND_DRAG_START":return ee(R({},e),{id:t.id});case"DND_DRAG_END":return ee(R({},e),{id:null});case"DND_CURSOR":const r=t.cursor;return r.type==="highlight"&&r.id!==e.idWillReceiveDrop?ee(R({},e),{idWillReceiveDrop:r.id}):r.type!=="highlight"&&e.idWillReceiveDrop!==null?ee(R({},e),{idWillReceiveDrop:null}):e;default:return e}}const ONe=ER({nodes:ER({focus:ANe,edit:MNe,open:RNe,selection:LNe,drag:INe}),dnd:B6e}),$Ne=Xv();function zNe({treeProps:e,imperativeHandle:t,children:r}){const n=p.useRef(null),a=p.useRef(null),o=p.useRef(H_(ONe,Xv(e))),i=BO.useSyncExternalStore(o.current.subscribe,o.current.getState,()=>$Ne),c=p.useMemo(()=>new iE(o.current,e,n,a),[]),u=p.useRef(0);return p.useMemo(()=>{u.current+=1,c.update(e)},[...Object.values(e),i.nodes.open]),p.useImperativeHandle(t,()=>c),p.useEffect(()=>{c.props.selection?c.select(c.props.selection,{focus:!1}):c.deselectAll()},[c.props.selection]),p.useEffect(()=>{c.props.selectedIds&&c.props.selectedIds.length>0?c.setSelectIds(c.props.selectedIds):c.deselectAll()},[c.props.selectedIds]),p.useEffect(()=>{c.props.searchTerm||o.current.dispatch(oE.clear(!0))},[c.props.searchTerm]),s.jsx(YV.Provider,{value:c,children:s.jsx(QV.Provider,{value:u.current,children:s.jsx(ZV.Provider,{value:i.nodes,children:s.jsx(XV.Provider,{value:i.dnd,children:s.jsx(e6e,ee(R({backend:mNe,options:{rootElement:c.props.dndRootElement||void 0}},e.dndManager&&{manager:e.dndManager}),{children:r}))})})})})}function FNe(){const t=qa().props.renderContainer||Sq;return s.jsx(s.Fragment,{children:s.jsx(t,{})})}function HNe(e,t){const r=Ije(e);return s.jsxs(zNe,{treeProps:r,imperativeHandle:t,children:[s.jsx(eNe,{children:s.jsx(FNe,{})}),s.jsx(H6e,{})]})}const BNe=p.forwardRef(HNe);function Eq(){const[e,t]=p.useState([]);return p.useMemo(()=>new LV(e),[e]),{data:e,setData:t}}function BR({children:e}){const{currentCollectionId:t,collections:r}=dt(Tn),{selectCollectionById:n}=FN(),a=sa(),{t:o}=Tt(),{isShowDisabledCollectionsOnNavBarMenu:i}=dt(pn);return s.jsxs(Ir,{children:[s.jsx(Or,{className:"flex m-0 p-0",asChild:!0,children:e}),s.jsxs(Ar,{forceMount:!0,sideOffset:8,align:"center",children:[s.jsx(He,{disabled:!0,className:"flex justify-center py-0.5",children:o("Switch collections",{ns:"collections"})}),s.jsx(tr,{}),s.jsx(en,{className:"code-filter",style:{height:"auto",maxHeight:"400px",width:"100%",minWidth:"200px"},autoHide:!1,children:s.jsx(ime,{value:t!=null?t:"",children:r.filter(({isEnabled:c})=>i||c).sort((c,u)=>{if(i){if(c.isEnabled&&!u.isEnabled)return-1;if(!c.isEnabled&&u.isEnabled)return 1}return c.createdAt-u.createdAt}).map(({collectionId:c,isEnabled:u,title:f,isSelected:h})=>s.jsx(yH,{value:c,disabled:!u,onClick:()=>{n({selectCollection:{collectionId:c}})},children:s.jsx("span",{className:h?"font-semibold":"",children:f})},c))})}),s.jsx(tr,{}),s.jsxs(He,{onClick:()=>{a("/app-settings/collections",{replace:!0})},children:[s.jsx(Gf,{className:"mr-2",size:14}),o("Manage Collections",{ns:"collections"})]})]})]})}const UNe="_node_1usvv_1",WNe="_dropCursor_1usvv_55",VNe="_mainContent_1usvv_61",qNe="_mobileWarning_1usvv_68",KNe="_content_1usvv_83",GNe="_sidebar_1usvv_89",Nq={node:UNe,dropCursor:WNe,mainContent:VNe,mobileWarning:qNe,content:KNe,sidebar:GNe};function YNe({top:e,left:t}){return s.jsx("div",{className:hr(Nq.dropCursor,"border-slate-400 border-dashed border-t-2"),style:{top:e-1,left:t}})}const ZNe={position:"fixed",pointerEvents:"none",zIndex:100,left:0,top:0,width:"100%",height:"100%"},XNe=e=>{if(!e)return{display:"none"};const{x:t,y:r}=e;return{transform:"translate(".concat(t,"px, ").concat(r,"px)")}},QNe=e=>{if(!e)return{display:"none"};const{x:t,y:r}=e;return{transform:"translate(".concat(t+10,"px, ").concat(r+10,"px)")}},JNe=p.memo(function(t){return t.isDragging?s.jsx("div",{style:ZNe,children:t.children}):null});function e_e(e){return s.jsx("div",{className:"row preview",style:XNe(e.offset),children:e.children})}function t_e(e){const{count:t,mouse:r}=e;return t>1?s.jsx("div",{className:"selected-count",style:QNe(r),children:t}):null}const r_e=p.memo(function(t){const r=qa(),n=r.get(t.id);return n?s.jsx(r.renderNode,{preview:!0,node:n,style:{paddingLeft:n.level*r.indent,opacity:.5,background:"transparent"},tree:r}):null});function n_e({offset:e,mouse:t,id:r,dragIds:n,isDragging:a}){return s.jsxs(JNe,{isDragging:a,children:[s.jsx(e_e,{offset:e,children:s.jsx(r_e,{id:r,dragIds:n})}),s.jsx(t_e,{mouse:t,count:n.length})]})}function s_e({node:e}){return s.jsx(Qu,{autoFocus:!0,type:"text",classNameInput:"border-0 text-[15px] w-full bg-transparent p-0",className:"!justify-start pl-1 border-0",defaultValue:e.data.name,onFocus:t=>t.currentTarget.select(),onBlur:()=>e.reset(),onKeyDown:t=>{t.key==="Escape"&&e.reset(),t.key==="Enter"&&e.submit(t.currentTarget.value)}})}function a_e({node:e,style:t,dragHandle:r}){const{t:n}=Tt();return s.jsxs("div",{ref:r,style:t,className:hr(Nq.node,e.state,"flex items-center w-full transition-all duration-100 ease-in"),onClick:()=>e.isInternal&&e.toggle(),children:[e.level>0&&s.jsx("div",{}),s.jsxs("div",{children:[!e.isLeaf&&!e.isOpen&&s.jsx(hm,{width:17,height:17,className:"mr-2"}),!e.isLeaf&&e.isOpen&&s.jsx(wz,{width:17,height:17,className:"mr-2"})]}),s.jsx("div",{className:"flex items-center justify-start w-full overflow-hidden mr-4",children:e.data.isSeparator?s.jsx("hr",{className:"h-[1px] border-t-0 bg-slate-600 opacity-30 dark:opacity-70 w-full"}):s.jsx(s.Fragment,{children:e.isEditing?s.jsx(s_e,{node:e}):s.jsxs("div",{className:"overflow-hidden overflow-ellipsis text-[15px] ".concat(e.data.isDisabled?"text-gray-500/60":""," "),children:[e.data.name,e.data.isClip&&s.jsx("div",{title:n("Menu is a link to a clip",{ns:"menus"}),className:"inline-block",children:s.jsx(j1,{size:13,className:"inline ml-2 mt-[-3px] dark:text-slate-500 text-slate-400"})})]})})}),s.jsx(o_e,{node:e})]})}function o_e({node:e}){return e.isLeaf?s.jsx("div",{}):e.isOpen?s.jsx(Dr,{width:22,className:"mr-3"}):s.jsx(zm,{width:22,className:"mr-3"})}function i_e({node:e,attrs:t,innerRef:r,children:n}){const a=o3.value===e.id,{t:o}=Tt();return p.createElement("div",ee(R({},t),{key:e.id,onMouseEnter:()=>{o3.value=e.id},onMouseLeave:()=>{o3.value=null},ref:r,className:"".concat(a?"bg-slate-100/90 dark:bg-gray-900/90":""," ").concat(e.isEditing?"border border-blue-400 dark:!bg-slate-900":""," ").concat(e.data.isActive?"":"not-active-background ".concat(e.isEditing?"dark:text-slate-800 bg-slate-800":"line-through dark:text-slate-600 text-slate-400"," dark:bg-slate-900 bg-slate-200")," ").concat(e.isSelected&&!e.isEditing?"dark:!bg-slate-600 dark:!text-slate-50":""," transition-all overflow-hidden"),onFocus:i=>i.stopPropagation(),onClick:e.handleClick,onDoubleClickCapture:()=>{if(!e.isEditing){if(e.data.isClip){co(o("Menu is link to a clip and cannot be renamed. Please rename its linked clip.",{ns:"menus"}),"PasteBar");return}e.edit()}},onKeyDown:i=>{if(e.data.isClip){i.stopPropagation(),co(o("Menu is link to a clip and cannot be renamed. Please rename its linked clip.",{ns:"menus"}),"PasteBar");return}i.key==="Enter"&&e.edit()}}),n)}function l_e(){const{t:e}=Tt();G_();const t=qa();return s.jsxs("div",{style:{width:t.width,minHeight:0,minWidth:0},onContextMenu:t.props.onContextMenu,onClick:t.props.onClick,tabIndex:0,children:[t.isFiltered&&s.jsx("div",{className:"text-slate-400 text-sm rounded-sm mb-1 mt-1 flex items-center justify-center",children:s.jsx(Be,{text:e("Clear found results",{ns:"common"}),className:"animate-in fade-in fade-out duration-300",isCompact:!0,delayDuration:2e3,side:"top",onClick:()=>{t.onSearchClear()},sideOffset:5,children:s.jsx(J,{className:"text-xs text-center bg-blue-200 rounded-full px-3 cursor-pointer pointer-events-auto",children:t.visibleNodes.length?s.jsxs(s.Fragment,{children:[t.visibleNodes.length<100?t.visibleNodes.length:"100+"," ",e("found",{ns:"common"})]}):s.jsx(s.Fragment,{children:e("Nothing found",{ns:"common"})})})})}),s.jsx(gV,{className:t.props.className,outerRef:t.listEl,itemCount:t.visibleNodes.length,height:t.visibleNodes.length*t.rowHeight,width:t.width,itemSize:t.rowHeight,overscanCount:t.overscanCount,itemKey:r=>{var n;return((n=t.visibleNodes[r])==null?void 0:n.id)||r},outerElementType:kq,innerElementType:wq,onItemsRendered:t.onItemsRendered.bind(t),ref:t.list,children:Cq})]})}const o3=yt(null);function c_e({itemId:e,isExpanded:t,isActive:r,isDisabled:n,isSeparator:a,isCode:o,isImage:i,isImageData:c,isLink:u,isMasked:f,isPath:h,hasMaskedWords:m,hasEmoji:v,isFolder:S,isVideo:w,isDelete:g,detectedLanguage:b,imagePathFullRes:C,imageDataUrl:j,imageHash:E,imageWidthHeight:N,imageType:T,arrLinks:A,isCopyOrPaste:M,pathType:D,menuName:L,isDark:z,value:H=""}){const{t:V}=Tt(),I=Ns(!1),{valuePreview:q,morePreviewLines:_,morePreviewChars:$}=h_(H),U=H==null?void 0:H.trim(),K=Ns(!1),Y=Ns(""),{metadataLinkByItemId:B}=L1(u,e),F=u&&!!(B!=null&&B.linkTitle&&(B!=null&&B.linkDomain));p.useEffect(()=>{t.value&&(I.value=!1)},[t.value]),p.useEffect(()=>{h&&Sr("check_path",{path:U}).then(()=>{Y.value=D}).catch(()=>{Y.value="Error"})},[h]);const G=U.length===0;return s.jsxs(eh,{className:hr(M?"bg-green-50 dark:bg-green-900/40":"bg-slate-50/50 dark:bg-slate-900",g&&"!bg-red-50 dark:!bg-red-900","px-3 pr-2 py-1.5 text-left flex flex-col select-auto relative rounded-md"),children:[s.jsx(Q,{className:"mb-0.5 ".concat(r?"":"opacity-40"),children:h?s.jsx(F1,{theme:z?el.vsDark:el.github,code:U,language:"path",children:({className:X,style:se,tokens:re,getLineProps:ie,getTokenProps:oe})=>s.jsx("code",{className:"".concat(X," ").concat(Y.value==="Error"?" line-through decoration-gray-300":""),style:se,children:re.map((ae,fe)=>s.jsx("div",ee(R({},ie({line:ae})),{className:"overflow-hidden text-ellipsis whitespace-pre-wrap",children:ae.map((le,ue)=>s.jsx("span",ee(R({},oe({token:le})),{className:"".concat(Y.value==="Error"?"opacity-60":""," select-text"),children:le.content}),ue))}),fe))})}):c?s.jsxs(Q,{className:"text-ellipsis self-start text-xs overflow-hidden cursor-pointer",children:[s.jsx(Q,{className:"flex px-0 py-1 items-center justify-center",children:s.jsx(tl,{src:U,hasError:K.value,onErrorCallback:()=>{K.value=!0},draggable:!1,decoding:"async",className:"max-h-[200px] min-h-10"})}),s.jsx("code",{className:"pb-0.5 select-none",children:q})]}):u&&i?s.jsxs(Q,{className:"text-ellipsis self-start text-xs cursor-pointer overflow-hidden",children:[s.jsx(Q,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center",children:s.jsx(tl,{src:_n(U),hasError:K.value,onErrorCallback:()=>{K.value=!0},draggable:!1,decoding:"async",className:"max-h-[200px] min-h-10"})}),s.jsx("code",{className:"pb-0.5",children:If(U,A!=null?A:"")})]}):i?s.jsxs(Q,{className:"px-0 py-1.5 flex items-center justify-center relative animate-in fade-in duration-300 !fill-mode-forwards",children:[s.jsx("img",{src:C&&(T==="webp"||T==="gif")?"".concat(uf(C),"?").concat(E):j&&C?j:!j&&!C?xf:Zg,draggable:!1,decoding:"async",height:"auto",className:"max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-600"}),s.jsx(Q,{className:"absolute left-0 bottom-1 flex flex-row gap-1 rounded items-center pb-0.5 pl-0.5",children:s.jsxs(Q,{className:"text-xs text-muted-foreground bg-slate-50 dark:bg-slate-950 px-1.5 rounded transform duration-300",title:V("Image size in pixels",{ns:"common"}),children:[N," ",T]})})]}):b&&o&&q?s.jsx(Q,{className:"text-ellipsis self-start text-sm w-full select-text",children:s.jsx(va,{isDark:z,isLargeView:!1,isShowMore:t.value||_==null,isWrapped:I.value,value:t.value?U:q,language:b})}):G?s.jsx(Q,{className:"mb-0.5",children:s.jsx($v,{className:"self-start text-sm font-normal select-text !text-gray-400",children:L})}):s.jsx(Lk,{isExpanded:t.value,isWrapped:I.value,isImageData:c,isLargeView:!1,isCode:o,isMasked:f,isImage:i,isDark:z,trimmedValue:U,valuePreview:q,hasLinkCard:F,metadataLinkByItemId:B,metadataLinkImageWidth:12,morePreviewLines:_,searchTerm:""})}),s.jsxs(me,{className:"justify-between select-none",children:[(_||$)&&r&&!n?s.jsxs(Q,{className:"flex flex-row items-center rounded",children:[s.jsx(Q,{className:"text-xs text-muted-foreground px-0 transform duration-300 cursor-pointer",onClick:()=>{t.value=!t.value},children:s.jsx(Be,{text:t.value?"":V("Show all",{ns:"common"}),isCompact:!0,isDisabled:t.value,delayDuration:2e3,side:"bottom",sideOffset:10,children:t.value?s.jsxs(s.Fragment,{children:["- ",V("show less",{ns:"common"})]}):$?s.jsxs(s.Fragment,{children:["+",$," ",V("chars",{ns:"common"})]}):_&&s.jsxs(s.Fragment,{children:["+",_," ",V("lines",{ns:"common"})]})})}),s.jsx(Q,{className:"text-xs text-muted-foreground px-1.5 transform duration-300 cursor-pointer",onClick:()=>{I.value=!I.value},children:s.jsx(Be,{text:I.value?V("No Wrap",{ns:"common"}):V("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:I.value?s.jsx(km,{width:20,height:20}):s.jsx(Cm,{width:20,height:20})})})]}):r?n?s.jsx(Q,{className:"bg-gray-200 text-gray-700 dark:bg-gray-600 dark:text-gray-300 text-xs rounded-sm px-1.5",children:V("Disabled",{ns:"common"})}):s.jsx(Q,{}):s.jsx(Q,{className:"bg-gray-200 text-gray-700 dark:bg-gray-600 dark:text-gray-300 text-xs rounded-sm px-1.5",children:V("Inactive",{ns:"common"})}),s.jsxs(Q,{className:"flex flex-row gap-1 items-center justify-end ",children:[G&&!a&&!S&&!i?s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"bg-yellow-200 text-yellow-700 dark:bg-yellow-800 dark:text-yellow-400 text-xs rounded-sm px-1.5",children:V("Type:::Empty",{ns:"common"})}),s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:V("Type:::Label",{ns:"common"})})]}):a?s.jsx(Q,{className:"bg-yellow-200 text-yellow-700 dark:bg-yellow-800 dark:text-yellow-400v text-xs rounded-sm px-1.5",children:V("Type:::Separator",{ns:"common"})}):S?s.jsx(Q,{className:"bg-yellow-200 text-yellow-700 dark:bg-yellow-800 dark:text-yellow-400 text-xs rounded-sm px-1.5",children:V("Type:::Submenu",{ns:"common"})}):i?s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:V("Type:::Image",{ns:"common"})}):b?s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:b}):f||m?s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm ".concat(m?"px-0.5":"px-1.5"),children:f?V("Type:::Secret",{ns:"common"}):s.jsx(Ll,{size:16})}):c?s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:V("Type:::Image Base64",{ns:"common"})}):!u&&!h&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:V("Type:::Text",{ns:"common"})}),u?s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:w?V("Type:::Video",{ns:"common"}):pc(U)?V("Type:::Email",{ns:"common"}):V("Type:::Link",{ns:"common"})}):h&&Y.value?s.jsx(Q,{className:"".concat(Y.value==="Error"?"bg-red-300 dark:bg-red-800":" text-slate-700 dark:bg-slate-600"," dark:text-slate-300 bg-slate-200 text-xs rounded-sm px-1.5"),children:Y.value==="Error"?s.jsx(Be,{text:V("File, folder or app path does not exist",{ns:"dashboard"}),className:"text-slate-300 bg-red-50 dark:!bg-red-800 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:Y.value}):Y.value}):v&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:V("Emoji",{ns:"common"})})]})]})]})}function _q({arrLinks:e=[],clipId:t,detectedLanguage:r,hasEmoji:n,hasMaskedWords:a,imageDataUrl:o,imageHash:i,imagePathFullRes:c,imageType:u,imageWidthHeight:f,isCode:h,isCommand:m,isWebRequest:v,isWebScraping:S,isExpanded:w,isImage:g,isImageData:b,isLargeView:C,isLink:j,isForm:E,isTemplate:N,isMasked:T,isPath:A,isVideo:M,isCopyOrPaste:D,isDark:L,isDelete:z,clipName:H,formTemplateOptions:V,commandRequestOutput:I,isCommandRequestRunError:q,commandRequestOutputLastRunAt:_,requestOptions:$,pathType:U,value:K=""}){var be,Ce,Pe;const{t:Y}=Tt(),B=Ns(!1),F=Ns(!1),G=Ns(""),{metadataLinkByItemId:X}=L1(j,t),se=j&&!!(X!=null&&X.linkTitle&&(X!=null&&X.linkDomain)),re=Ns({method:"GET",headers:[],body:"",scrapingRules:[],filters:[],auth:{}}),{valuePreview:ie,morePreviewLines:oe,morePreviewChars:ae}=h_(K,g||b,C||j||A||m||v||S);p.useEffect(()=>{if($)try{const Ee=JSON.parse($);re.value=R(R({},re.value),Ee)}catch(Ee){}},[$]);const fe=K==null?void 0:K.trim();p.useEffect(()=>{w.value&&(F.value=!1)},[w.value]),p.useEffect(()=>{A&&Hs("check_path",{path:fe}).then(()=>{G.value=U}).catch(()=>{G.value="Error"})},[A]);const le=C?"max-h-[600px]":"max-h-[300px]",ue=fe.length===0;return s.jsxs(eh,{className:hr(D?"bg-green-50 dark:bg-green-900/40":"bg-slate-50/50 dark:bg-slate-900","px-3 pr-2 py-1.5 mx-1 text-left flex flex-col select-auto relative rounded-md",z&&"!bg-red-50 dark:!bg-red-900"),children:[s.jsx(Q,{className:"mb-0.5",children:A?s.jsx(F1,{theme:L?el.vsDark:el.github,code:fe,language:"path",children:({className:Ee,style:Oe,tokens:Ve,getLineProps:ct,getTokenProps:gt})=>s.jsx("code",{className:"".concat(Ee," ").concat(G.value==="Error"?" line-through decoration-gray-300":""),style:Oe,children:Ve.map((Ke,Et)=>s.jsx("div",ee(R({},ct({line:Ke})),{className:"overflow-hidden text-ellipsis whitespace-pre-wrap",children:Ke.map((Re,xt)=>s.jsx("span",ee(R({},gt({token:Re})),{className:"".concat(G.value==="Error"?"opacity-60":""," select-text"),children:Re.content}),xt))}),Et))})}):b?s.jsxs(Q,{className:"text-ellipsis self-start text-xs overflow-hidden cursor-pointer",children:[s.jsx(Q,{className:"flex px-0 py-1 items-center justify-center",children:s.jsx(tl,{src:fe,hasError:B.value,onErrorCallback:()=>{B.value=!0},draggable:!1,decoding:"async",className:"".concat(le," min-h-10")})}),s.jsx("code",{className:"pb-0.5 select-none",children:ie})]}):j&&g?s.jsxs(Q,{className:"text-ellipsis self-start text-xs cursor-pointer overflow-hidden",children:[s.jsx(Q,{className:"flex px-0 pt-1.5 pb-0.5 items-center justify-center",children:s.jsx(tl,{src:_n(fe),hasError:B.value,onErrorCallback:()=>{B.value=!0},draggable:!1,decoding:"async",className:"".concat(le," min-h-10")})}),s.jsx("code",{className:"pb-0.5",children:If(fe,e)})]}):g?s.jsxs(Q,{className:"px-0 py-1.5 flex items-center justify-center relative animate-in fade-in duration-300 !fill-mode-forwards",children:[s.jsx("img",{src:c&&(u==="webp"||u==="gif")?"".concat(uf(c),"?").concat(i):o&&c?o:!o&&!c?xf:Zg,draggable:!1,decoding:"async",height:"auto",className:"max-h-56 min-h-10 rounded-md shadow-sm border border-slate-100 dark:border-slate-600"}),s.jsx(Q,{className:"absolute left-0 bottom-1 flex flex-row gap-1 rounded items-center pb-0.5 pl-0.5",children:s.jsxs(Q,{className:"text-xs text-muted-foreground bg-slate-50 dark:bg-slate-950 px-1.5 rounded transform duration-300",title:Y("Image size in pixels",{ns:"common"}),children:[f," ",u]})})]}):r&&h&&ie?s.jsx(Q,{className:"text-ellipsis self-start text-sm w-full select-text",children:s.jsx(va,{isDark:L,isLargeView:C,isShowMore:w.value||oe==null,isWrapped:F.value,value:w.value?fe:ie,language:r})}):m&&ie?s.jsxs(Q,{className:"text-ellipsis self-start text-sm w-full select-text pt-0.5",children:[s.jsx(va,{isDark:L,isLargeView:C,isCommand:!0,isShowMore:!0,isWrapped:F.value,autoHideScrollbar:!0,value:fe,language:"shell"}),I&&s.jsxs(Q,{className:"".concat(q?"bg-red-50 dark:bg-red-950":"bg-green-50 dark:bg-green-950"," py-1 rounded-md px-3 mb-1 relative border"),children:[s.jsx(va,{isDark:L,maxHeight:100,isLargeView:!1,isShowMore:!0,isWrapped:F.value,value:I,language:"shell"}),_&&s.jsx(Q,{className:"text-xs text-muted-foreground rounded px-1 bg-slate-50 dark:bg-slate-900/80 absolute bottom-1 right-1",children:s.jsx(Be,{text:"".concat(Y("Last run",{ns:"dashboard"}),": ").concat(zf(_,"PPpp")),className:"text-xs bg-slate-50 dark:bg-slate-900 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:Zu().format(_,"mini-minute-now",{round:"floor"})})})]})]}):(v||S)&&ie?s.jsxs(Q,{className:"text-ellipsis self-start text-sm w-full select-text pt-0.5",children:[s.jsx(va,{isDark:L,isLargeView:C,isShowMore:!0,isWrapped:F.value,value:fe,autoHideScrollbar:!0,webRequestMethod:v?re.value.method:"URL",language:"shell"}),I&&s.jsxs(Q,{className:"".concat(q?"bg-red-50 dark:bg-red-950":"bg-green-50 dark:bg-green-950"," py-0 rounded-md px-3 relative mb-1 border"),children:[s.jsx(va,{isDark:L,maxHeight:100,isLargeView:!1,isShowMore:!0,isWrapped:F.value,value:I,language:q?"text":"json"}),_&&s.jsx(Q,{className:"text-xs text-muted-foreground rounded px-1 bg-slate-50 dark:bg-slate-900/80 absolute bottom-1 right-1",children:s.jsx(Be,{text:"".concat(Y("Last run",{ns:"dashboard"}),": ").concat(zf(_,"PPpp")),className:"text-xs bg-slate-50 dark:bg-slate-900 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:Zu().format(_,"mini-minute-now",{round:"floor"})})})]})]}):E?s.jsx(Q,{className:"self-start text-sm w-full select-text",children:s.jsx(FU,{formTemplateOptions:V,clipId:t})}):N?s.jsx(Q,{className:"self-start text-sm w-full select-text",children:s.jsx(HU,{formTemplateOptions:V,clipId:t,value:K})}):ue?s.jsx("code",{className:"text-gray-300",children:H}):s.jsx(Lk,{isExpanded:w.value,isWrapped:F.value,isImageData:b,isLargeView:C,isCode:h,isMasked:T,isImage:g,trimmedValue:fe,valuePreview:ie,isDark:L,hasLinkCard:se,metadataLinkByItemId:X,metadataLinkImageWidth:12,morePreviewLines:oe,searchTerm:""})}),s.jsxs(me,{className:"justify-between select-none",children:[(v||m||S)&&I?s.jsx(Q,{className:"flex flex-row items-center rounded",children:s.jsx(Q,{className:"text-xs text-muted-foreground px-1.5 transform duration-300 cursor-pointer",onClick:()=>{F.value=!F.value},children:s.jsx(Be,{text:F.value?"No Wrap":"Lines Wrap",delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:F.value?s.jsx(km,{width:20,height:20}):s.jsx(Cm,{width:20,height:20})})})}):oe||ae?s.jsxs(Q,{className:"flex flex-row items-center rounded",children:[s.jsx(Q,{className:"text-xs text-muted-foreground px-0 transform duration-300 cursor-pointer",onClick:()=>{w.value=!w.value},children:s.jsx(Be,{text:w.value?"":Y("Show all",{ns:"common"}),isCompact:!0,isDisabled:w.value,delayDuration:2e3,side:"bottom",sideOffset:10,children:w.value?s.jsxs(s.Fragment,{children:["- ",Y("show less",{ns:"common"})]}):ae?s.jsxs(s.Fragment,{children:["+",ae," ",Y("chars",{ns:"common"})]}):oe&&s.jsxs(s.Fragment,{children:["+",oe," ",Y("lines",{ns:"common"})]})})}),s.jsx(Q,{className:"text-xs text-muted-foreground px-1.5 transform duration-300 cursor-pointer",onClick:()=>{F.value=!F.value},children:s.jsx(Be,{text:F.value?Y("No Wrap",{ns:"common"}):Y("Lines Wrap",{ns:"common"}),delayDuration:2e3,isCompact:!0,side:"bottom",sideOffset:10,children:F.value?s.jsx(km,{width:20,height:20}):s.jsx(Cm,{width:20,height:20})})})]}):s.jsx(Q,{}),s.jsxs(Q,{className:"flex flex-row gap-1 items-center justify-end ",children:[m&&s.jsx(Q,{className:"".concat(q?"bg-red-500 dark:bg-red-800 text-slate-200 dark:text-red-200":"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300"," text-xs rounded-sm px-1.5"),children:q?Y("Command error",{ns:"dashboard"}):Y("Type:::Command",{ns:"dashboard"})}),(v||S)&&s.jsxs(me,{className:"gap-1",children:[s.jsxs(Q,{className:"".concat(q?"bg-red-500 dark:bg-red-800 text-slate-200 dark:text-red-200":"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300"," text-xs rounded-sm px-1.5"),children:[v&&s.jsx("span",{children:q?Y("Request error",{ns:"dashboard"}):Y("Type:::Request",{ns:"dashboard"})}),S&&s.jsx("span",{children:q?Y("Error",{ns:"dashboard"}):Y("Type:::Scraper",{ns:"dashboard"})})]}),S&&re.value.scrapingRules&&((be=re.value.scrapingRules)==null?void 0:be.filter(Ee=>Ee.isEnable).length)>0&&s.jsxs(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[Y("Headers",{ns:"dashboard"}),s.jsx("span",{className:"ml-1 font-mono",children:re.value.headers.filter(Ee=>Ee.isEnable).length})]}),v&&re.value.headers.filter(Ee=>Ee.isEnable).length>0&&s.jsxs(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[Y("Headers",{ns:"dashboard"}),s.jsx("span",{className:"ml-1 font-mono",children:re.value.headers.filter(Ee=>Ee.isEnable).length})]}),v&&((Ce=re.value.auth)==null?void 0:Ce.isEnable)&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:(Pe=re.value.auth)==null?void 0:Pe.type}),v&&re.value.filters.filter(Ee=>Ee.isEnable).length>0&&s.jsxs(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[Y("Filters",{ns:"dashboard"}),s.jsx("span",{className:"ml-1 font-mono",children:re.value.filters.filter(Ee=>Ee.isEnable).length})]})]}),(T||a)&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm ".concat(a?"px-0.5":"px-1.5"),children:T?Y("Type:::Secret",{ns:"common"}):s.jsx(Ll,{size:16})}),r&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:r}),j&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:M?Y("Type:::Video",{ns:"common"}):pc(fe)?Y("Type:::Email",{ns:"common"}):Y("Type:::Link",{ns:"common"})}),A&&G.value&&s.jsx(Q,{className:"".concat(G.value==="Error"?"bg-red-300":"bg-slate-200"," text-xs rounded-sm px-1.5"),children:G.value==="Error"?s.jsx(Be,{text:Y("File, folder or app path does not exist",{ns:"dashboard"}),className:"text-red-500 bg-red-50 text-center",maxWidth:300,isCompact:!0,side:"bottom",sideOffset:10,children:G.value}):G.value}),n&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:Y("Type:::Emoji",{ns:"common"})}),ue&&!E&&!g&&s.jsx(Q,{className:"bg-yellow-200 text-yellow-700 dark:bg-yellow-800 dark:text-yellow-400 text-xs rounded-sm px-1.5",children:Y("Type:::Empty",{ns:"common"})}),b&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:Y("Type:::Image Base64",{ns:"common"})}),E&&s.jsx(Q,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:Y("Type:::Auto Fill",{ns:"common"})}),s.jsxs(me,{className:"bg-slate-200 text-slate-700 dark:bg-slate-600 dark:text-slate-300 text-xs rounded-sm px-1.5",children:[Y("Type:::Clip",{ns:"common"}),s.jsx(j1,{size:11,className:"ml-1"})]})]})]})]})}p.memo(_q);function u_e({isDisabled:e,isActive:t,isMenuEdit:r,isSeparator:n,isMenu:a,isFolder:o,item:i,menuName:c,isDark:u,deletingMenuItemIds:f,isClip:h}){var F,G,X;const{clipItems:m}=dt(Tn),v=We(!1),[S]=Qf({}),[w]=Jf({}),{itemId:g,isImage:b,isImageData:C,isPath:j,isLink:E,isCode:N,isText:T,detectedLanguage:A,imagePathFullRes:M,imageDataUrl:D,imageHash:L,isMasked:z,isVideo:H,hasMaskedWords:V,hasEmoji:I,imageWidth:q,imageHeight:_,imageType:$,value:U}=i,K=p.useMemo(()=>h?m.find(se=>se.itemId===g):null,[h,m,g]),Y=p.useMemo(()=>{var se,re;return(re=(se=f.value)==null?void 0:se.includes(g))!=null?re:!1},[f.value,g]),B=p.useMemo(()=>{if(!K||!K.links)return[];let se=[];if(K.links)try{se=JSON.parse(K.links)}catch(re){se=[]}return se},[K]);return r?s.jsx(cCe,{isClip:h,itemId:g,value:U,isCode:N,detectedLanguage:A,isText:T,isMenu:a,isImage:b,isMasked:z,isVideo:H,isDelete:Y,hasEmoji:I,imageDataUrl:D,isDark:u,isPath:j,isLink:E,deletingMenuItemIds:f,onCancel:()=>{ff()}}):h&&(K==null?void 0:K.itemId)===g?s.jsx(_q,{isImage:K.isImage,isLink:K.isLink,isVideo:K.isVideo,isPath:K.isPath,isForm:K.isForm,isTemplate:K.isTemplate,isCopyOrPaste:S===g||w===g,isCode:K.isCode,clipName:K.name,isCommand:K.isCommand,isWebRequest:K.isWebRequest,isWebScraping:K.isWebScraping,isExpanded:v,isDark:u,arrLinks:B,isMasked:K.isMasked,hasMaskedWords:K.hasMaskedWords,detectedLanguage:K.detectedLanguage,hasEmoji:K.hasEmoji,pathType:K.pathType,isImageData:K.isImageData,imageHash:K.imageHash,imageType:K.imageType,imageScale:K.imageScale,imagePathFullRes:K.imagePathFullRes,imageDataUrl:K.imageDataUrl,isLargeView:!1,isDelete:Y,formTemplateOptions:K.formTemplateOptions,commandRequestOutput:(F=K.commandRequestOutput)==null?void 0:F.replace("[Err]",""),isCommandRequestRunError:!!((G=K.commandRequestOutput)!=null&&G.startsWith("[Err]")),commandRequestOutputLastRunAt:K.commandRequestLastRunAt,requestOptions:K.requestOptions,imageWidthHeight:K.imageWidth?"".concat(K.imageWidth,"x").concat(K.imageHeight):null,clipId:g,value:K.value}):s.jsx(c_e,{itemId:g,isDark:u,isDisabled:e,isActive:t,isCopyOrPaste:S===g||w===g,isFolder:o,isImageData:C,isCode:N,isSeparator:n,menuName:c,isExpanded:v,isImage:b,isPath:j,isLink:E,isVideo:H,isDelete:Y,isMasked:z,hasMaskedWords:V,hasEmoji:I,pathType:i.pathType,detectedLanguage:A,imagePathFullRes:M,imageDataUrl:D,imageHash:L,imageWidthHeight:q?"".concat(q,"x").concat(_):null,imageType:$,arrLinks:i.links?(X=JSON.parse(i.links))!=null?X:[]:[],value:U})}const d_e=({menuItems:e,selectedItemIds:t,onDelete:r,showMultiSelectItems:n,collectionId:a,setSelectedItemIds:o})=>{const{t:i}=Tt(),{deleteMenuItemsByIds:c}=Pge(),{updateMenuItemsByIds:u}=Ege();$s(["alt+s"],()=>{n.value=!n.value}),$s(["alt+d"],()=>{o([])});const f=p.useMemo(()=>t.filter(w=>{const g=e.find(({itemId:b})=>b===w);return g&&e.filter(({parentId:b})=>b===g.itemId).length===0}),[t,e]),h=p.useMemo(()=>t.filter(w=>{const g=e.find(({itemId:b})=>b===w);return g&&g.isActive===!1}),[t,e]),m=p.useMemo(()=>t.filter(w=>{const g=e.find(({itemId:b})=>b===w);return g&&g.isActive===!0}),[t,e]),v=p.useMemo(()=>t.filter(w=>{const g=e.find(({itemId:b})=>b===w);return g&&g.isDisabled===!1}),[t,e]),S=p.useMemo(()=>t.filter(w=>{const g=e.find(({itemId:b})=>b===w);return g&&g.isDisabled===!0}),[t,e]);return s.jsxs(Ir,{onOpenChange:()=>{},children:[s.jsx(Or,{asChild:!0,children:s.jsxs(ye,{variant:"light",id:"menu-icon-menu-button_tour",className:"w-10 text-slate-400 hover:text-slate-500 hover:dark:text-slate-400 dark:text-slate-500 bg-slate-100 p-1 relative hover:bg-slate-100/70 dark:bg-slate-900 dark:hover:bg-slate-700/70",children:[s.jsx(H6,{className:"stroke-[1.3px]",size:22}),t.length>1&&s.jsx(lt,{variant:"slate",className:"absolute right-[-10px] top-[-10px]",children:t.length})]})}),s.jsx(Ar,{sideOffset:10,align:"start",shadow:"shadow-[0_-2px_12px_0_rgb(0,0,0,0.1)]",children:s.jsxs(xH,{children:[n.value?s.jsxs(He,{onClick:()=>{n.value=!1},children:[s.jsx(yz,{className:"mr-2 h-4 w-4"}),s.jsx(J,{children:i("Hide Muli Select",{ns:"common"})}),s.jsx(Pl,{children:s.jsx(so,{keys:"ALT+S"})})]}):s.jsxs(He,{onClick:()=>{n.value=!0},children:[s.jsx(xz,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-2",children:i("Multi Select",{ns:"common"})}),s.jsx(Pl,{children:s.jsx(so,{keys:"ALT+S"})})]}),s.jsxs(He,{disabled:t.length===0,onClick:()=>{o([])},children:[s.jsx(D6,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:i("Deselect All",{ns:"common"})}),s.jsx(Pl,{children:s.jsx(so,{keys:"ALT+D"})})]}),s.jsx(tr,{}),s.jsxs(He,{onClick:()=>{Sr("build_system_menu")},children:[s.jsx(Vie,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:i("Rebuild Menu",{ns:"common"})})]}),s.jsx(tr,{}),S.length>0&&s.jsxs(He,{onClick:()=>pe(void 0,null,function*(){yield u({updatedData:{isDisabled:!1},itemIds:t}),o([]),n.value=!1}),children:[s.jsx(Ez,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:i("Make Enabled",{ns:"common"})}),s.jsx(lt,{variant:"slate",className:"ml-1 py-0 font-semibold",children:S.length})]}),v.length>0&&s.jsxs(He,{onClick:()=>pe(void 0,null,function*(){yield u({updatedData:{isActive:!1},itemIds:t}),o([]),n.value=!1}),children:[s.jsx(pm,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:i("Make Disabled",{ns:"common"})}),s.jsx(lt,{variant:"slate",className:"ml-1 py-0 font-semibold",children:v.length})]}),(v.length>0||S.length>0)&&s.jsx(tr,{}),m.length>0&&s.jsxs(He,{onClick:()=>pe(void 0,null,function*(){yield u({updatedData:{isActive:!1},itemIds:t}),o([]),n.value=!1}),children:[s.jsx(C1,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:i("Make Inactive",{ns:"common"})}),s.jsx(lt,{variant:"slate",className:"ml-1 py-0 font-semibold",children:m.length})]}),h.length>0&&s.jsxs(He,{onClick:()=>pe(void 0,null,function*(){yield u({updatedData:{isActive:!0},itemIds:t}),o([]),n.value=!1}),children:[s.jsx(Hm,{className:"mr-2 h-4 w-4"}),s.jsx(J,{className:"mr-1",children:i("Make Active",{ns:"common"})}),s.jsx(lt,{variant:"slate",className:"ml-1 py-0 font-semibold",children:h.length})]}),(h.length>0||m.length>0)&&s.jsx(tr,{}),s.jsxs(He,{disabled:f.length===0,onClick:w=>pe(void 0,null,function*(){Ti.value?(yield c({itemIds:f,collectionId:a}),setTimeout(()=>{r(),o([]),n.value=!1,Ti.value=!1},400)):(w.preventDefault(),Ti.value=!0,setTimeout(()=>{Ti.value=!1},3e3))}),children:[s.jsx(xn,{className:"mr-2 h-4 w-4 ".concat(Ti.value?"text-red-500 dark:text-red-600":"")}),s.jsxs(me,{children:[s.jsx(J,{className:"mr-1 ".concat(Ti.value?"!text-red-500 dark:!text-red-600":""),children:Ti.value?i("Click to Confirm",{ns:"common"}):i("Delete",{ns:"common"})}),f.length>0&&s.jsx(s.Fragment,{children:Ti.value?s.jsx(lt,{variant:"destructive",className:"bg-red-500 ml-1 py-0 font-semibold",children:f.length}):s.jsx(lt,{variant:"slate",className:"ml-1 py-0 font-semibold",children:f.length})})]})]})]})})]})};function f_e(){ON(),$N();const{t:e}=Tt(),t=ol(),r=sa(),{updateMenuItemById:n}=I1(),{isSwapPanels:a,setReturnRoute:o,setPanelSize:i,panelSize:c}=dt(_s),{appToursSkippedList:u,setAppToursSkippedList:f,isNotTourCompletedOrSkipped:h}=dt(pn),{updateMovedMenuItems:m}=zN(),{isCollectionWithItemLoading:v,isCollectionWithItemSuccess:S}=NB(),{currentCollectionId:w,menuItems:g,isMenuLoaded:b,getCurrentCollectionTitle:C}=dt(Tn),{data:j,setData:E}=Eq(),{themeDark:N}=dt(uo),[T,A]=p.useState(""),[M,D]=p.useState(null),[L,z]=p.useState([""]),[H,V]=p.useState([""]),{createNewItem:I}=gk(!1),{linkClipIdToMenuItem:q}=Nge(!1),_=go(T,300),$=We(null),U=We(!1),K=We(!1),Y=p.useRef(null),B=p.useRef(null),F=N(),G=p.useMemo(()=>b&&!v&&S,[b,v,S]),X=p.useMemo(()=>K.value,[K.value]),se=p.useMemo(()=>g.filter(oe=>oe.isActive),[g]);p.useEffect(()=>{o(t.pathname),ff();let oe;return h(ar.menuTour)&&!Br.value&&(oe=q1({title:"".concat(e("Welcome to Paste Menu",{ns:"help"})),delay:0,description:s.jsxs(Q,{children:[e("WelcomeTourDescription",{ns:"help"}),s.jsx(Q,{className:"mt-3",children:s.jsx(ss,{i18nKey:"WelcomeTourCanSkip",ns:"help"})}),s.jsxs(me,{className:"justify-between",children:[s.jsx(ye,{className:"bg-blue-500 dark:bg-blue-700 dark:hover:bg-blue-800 hover:bg-blue-600 px-4 mt-3 text-white",onClick:()=>{Br.value=ar.menuTour,oe.dismiss()},children:e("Start Tour",{ns:"help"})}),s.jsxs(me,{className:"gap-3",children:[s.jsx(ye,{variant:"light",className:"text-gray-800 px-4 mt-3 dark:bg-slate-800 dark:text-gray-400 hover:dark:text-gray-300",onClick:()=>{oe.dismiss()},children:e("Later",{ns:"help"})}),s.jsx(ye,{variant:"outline",className:"text-gray-800 px-4 mt-3",onClick:()=>{oe.dismiss(),f([...u,ar.menuTour])},children:e("Skip Tour",{ns:"help"})})]})]})]})})),()=>{oe==null||oe.dismiss()}},[]),p.useEffect(()=>{var oe;Rs!=null&&Rs.value&&!((oe=g==null?void 0:g.find(({itemId:fe})=>fe===Rs.value))!=null&&oe.isFolder)&&!Gi.value&&D(Rs.value)},[Rs==null?void 0:Rs.value,Gi.value]),p.useEffect(()=>{E(g.length>0?Vv(g,null,X):[])},[g,X]);const re=p.useMemo(()=>g.filter(oe=>!oe.isActive),[g]),ie=p.useMemo(()=>{const oe=fe=>{var le,ue;return fe.name.toLowerCase().includes(_.toLowerCase())?!0:(ue=(le=fe.children)==null?void 0:le.some(oe))!=null?ue:!1},ae=(fe,le=0)=>{let ue=[];return fe.forEach(be=>{var Ee,Oe;const Ce=oe(be),Pe=g.find(Ve=>Ve.itemId===be.id);if(Pe&&Ce){const Ve=ee(R({},Pe),{indent:le,id:be.id});if(ue.push(Ve),be.children&&((Ee=be.children)==null?void 0:Ee.length)>0&&!H.includes((Oe=be.id)!=null?Oe:"")){const ct=ae(be.children,le+1);ue=ue.concat(ct)}}}),ue};return ae(j)},[j,g,H,X,_]);return p.useEffect(()=>{function oe(){return pe(this,null,function*(){var ae,fe,le,ue,be,Ce,Pe,Ee,Oe,Ve,ct,gt,Ke,Et,Re,xt,ot,pt;if(Ja.value){const{type:_t,parentId:ht,clipId:It,historyId:Ft,text:Vt="",clipboardHistoryItem:Ge,orderNumber:Zt=0}=Ja.value,nr=_t===Ko.FOLDER?e("New Submenu",{ns:"menus"}):_t===Ko.ITEM?e("New Menu",{ns:"menus"}):_t===Ko.DISABLED?e("New Disabled Menu",{ns:"menus"}):"",vr=!!It,pr=(ae=ie.filter(({name:je})=>je.startsWith(nr)).length)!=null?ae:0,Wr=Ge==null?void 0:Ge.isImage,Le=Ft&&(Ge!=null&&Ge.historyId)?{historyId:Ft,name:Ge!=null&&Ge.value?Ge.value.substring(0,50).replace(/\n\t/g,"").replace(/\s+/g," ").trim():Wr?"".concat(e("Image size",{ns:"common"})," (").concat(Ge==null?void 0:Ge.imageWidth,"x").concat(Ge==null?void 0:Ge.imageHeight,")"):pr>0?"".concat(nr," (").concat(pr,")"):nr,isClip:!1,isMenu:!0,value:"",isActive:!0,description:null,detectedLanguage:(fe=Ge==null?void 0:Ge.detectedLanguage)!=null?fe:null,isImage:(le=Ge==null?void 0:Ge.isImage)!=null?le:!1,imageDataUrl:(ue=Ge==null?void 0:Ge.imageDataUrl)!=null?ue:null,imagePathFullRes:(be=Ge==null?void 0:Ge.imagePathFullRes)!=null?be:null,imageHeight:(Ce=Ge==null?void 0:Ge.imageHeight)!=null?Ce:null,imageWidth:(Pe=Ge==null?void 0:Ge.imageWidth)!=null?Pe:null,imagePreviewHeight:(Ee=Ge==null?void 0:Ge.imagePreviewHeight)!=null?Ee:null,isLink:(Oe=Ge==null?void 0:Ge.isLink)!=null?Oe:!1,links:(Ve=Ge==null?void 0:Ge.links)!=null?Ve:null,isImageData:(ct=Ge==null?void 0:Ge.isImageData)!=null?ct:!1,isMasked:(gt=Ge==null?void 0:Ge.isMasked)!=null?gt:!1,isVideo:(Ke=Ge==null?void 0:Ge.isVideo)!=null?Ke:!1,isCode:(Et=Ge==null?void 0:Ge.isCode)!=null?Et:!1,isText:(Re=Ge==null?void 0:Ge.isText)!=null?Re:!1,hasEmoji:(xt=Ge==null?void 0:Ge.hasEmoji)!=null?xt:!1,hasMaskedWords:(ot=Ge==null?void 0:Ge.hasMaskedWords)!=null?ot:!1,hasMultiLineCopy:!1,showDescription:!1,isDeleted:!1,indent:0,parentId:ht!=null?ht:null,tabId:null,collectionId:w,createdAt:0,orderNumber:Zt+1}:{name:pr>0?"".concat(nr," (").concat(pr,")"):nr,isClip:vr,isMenu:!0,value:Vt,description:null,isActive:!0,isFolder:_t===Ko.FOLDER,isSeparator:_t===Ko.SEPARATOR,isDisabled:_t===Ko.DISABLED,isText:!0,isDeleted:!1,indent:0,parentId:ht!=null?ht:null,tabId:null,collectionId:w,createdAt:0,orderNumber:Zt+1},Dt=vr?yield q({clipId:It,item:Le}):yield I({item:Le});(pt=Ge==null?void 0:Ge.linkMetadata)!=null&&pt.metadataId&&!vr&&(yield Sr("copy_link_metadata_to_new_item_id",{metadataId:Ge.linkMetadata.metadataId,itemId:Dt}));const Ze=Vv(g,null,!0);Ze.unshift(ee(R({},Le),{id:Dt}));const mr=V4(Ze,ht!=null?ht:null,[Dt],ht&&Zt>0?Zt-1:Zt),Se=mr==null?void 0:mr.map(({id:je,parentId:we,orderNumber:Fe})=>({itemId:je,parentId:we,tabId:null,collectionId:w,orderNumber:Fe}));m({updatedMoveMenuItems:Se}),no.value=!1,Ja.value=null,z([]),Ko.FOLDER!==_t&&Ko.DISABLED!==_t&&Ko.SEPARATOR!==_t&&D(Dt),Ko.SEPARATOR!==_t&&!vr&&(Rs.value=Dt,Gi.value=!0)}})}oe()},[Ja.value]),p.useEffect(()=>{vu.value&&(D(vu.value),setTimeout(()=>{vu.value=null},2e3))},[vu.value,B==null?void 0:B.current]),p.useEffect(()=>{var oe;B!=null&&B.current&&((oe=B==null?void 0:B.current)==null||oe.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"}))},[B==null?void 0:B.current]),s.jsx(Vk,{children:s.jsxs(O_,{minSize:260,maxSize:700,defaultSize:320,swapPanes:a,onResize:i,autoSaveId:"app-main-panel",children:[s.jsx($_,{children:s.jsx(Q,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-200 shadow-sm rounded-xl dark:bg-gray-800 dark:border-gray-700 dark:shadow-slate-700/[.8] pb-4 pt-4 px-3 pr-3",children:s.jsx(Uf,{disableWidth:!0,children:({height:oe})=>oe&&oe>0&&!v&&w&&s.jsxs(Q,{className:"flex flex-col h-[calc(100vh-95px)] relative",id:"side-panel_tour",children:[j.length>0?s.jsx(Q,{className:"flex flex-row bg-slate-100 dark:bg-slate-700 rounded-md p-0 items-center h-[40px] mb-2",id:"menu-find_tour",children:s.jsx(Qu,{placeholder:"".concat(e("Find in menu",{ns:"menus"}),"..."),type:"search",ref:Y,onChange:ae=>{A(ae.target.value)},iconLeft:s.jsx(mm,{className:"h-4 w-4"}),classNameInput:"w-full pr-0",className:"text-md ring-offset-0 bg-slate-100 dark:bg-slate-700 border-r-0 border-t-0 border-b-0"})}):G&&g.length===0&&s.jsx(me,{style:{height:oe-85},className:"flex items-center flex-col gap-3 justify-center",children:s.jsx(J,{className:"animate-in fill-mode-forwards fade-in text-slate-300 text-xs bg-slate-100 rounded-full px-3 dark:text-slate-600 dark:bg-slate-900",children:e("No Menu Items",{ns:"menus"})})}),s.jsxs(en,{style:{maxHeight:oe-93},autoHide:!0,children:[s.jsx(BNe,{data:j,rowHeight:33,selectedIds:L,closedFolderItemIds:H,renderCursor:YNe,renderContainer:l_e,renderDragPreview:n_e,onMove:({dragIds:ae,index:fe,parentId:le})=>{const ue=V4(j,le,ae,fe),be=ue==null?void 0:ue.map(({id:Ce,parentId:Pe,orderNumber:Ee})=>({itemId:Ce,parentId:Pe,tabId:null,collectionId:w,orderNumber:Ee}));m({updatedMoveMenuItems:be})},onSelect:ae=>{const fe=ae.map(ue=>ue.id);fe.length===L.length&&fe.every(ue=>L.includes(ue))||z(fe)},onFolderClose:ae=>{V(fe=>[...fe,ae])},onFolderOpen:ae=>{V(fe=>fe.filter(le=>le!==ae))},onRename:le=>pe(this,[le],function*({id:ae,name:fe}){var be;if(fe.length<1){yield co(e("Menu label cannot be empty.",{ns:"menus"}),"PasteBar");return}if(fe.length>Bg){yield co("".concat(e("Menu label is too long. Max length is",{ns:"menus"})," ").concat(Bg,"."),"PasteBar");return}if((be=g.find(Ce=>Ce.itemId===ae))==null?void 0:be.isClip){yield co(e("Menu is link to a clip and cannot be renamed. Please rename its linked clip.",{ns:"menus"}),"PasteBar");return}yield n({updatedItem:{itemId:ae,name:fe}})}),onSearchClear:()=>{var ae;A(""),Y!=null&&Y.current&&(Y.current.value="",(ae=Y==null?void 0:Y.current)==null||ae.focus())},searchMatch:(ae,fe)=>{const le=ae.data.name;return typeof le=="string"?le.toLowerCase().includes(fe.toLowerCase()):!1},renderRow:i_e,searchTerm:_,disableDrop:()=>!1,children:a_e}),!_&&se.length>1&&j.length>0&&s.jsx(J,{className:"!text-gray-400/80 border-t border-gray-300/70 dark:border-gray-600/70 !block text-center !text-[12px] mt-2 pt-1 whitespace-nowrap overflow-hidden text-ellipsis",children:e("Drag items to reorder, double click to rename",{ns:"menus"})})]}),s.jsx(Q,{className:"flex-1 mt-3"}),s.jsxs(Qi,{className:"min-w-full flex flex-row justify-center h-10 items-center gap-2",value:t.pathname,onValueChange:ae=>{r(ae,{replace:!0})},children:[s.jsxs(Ho,{className:"self-center",id:"tabs-menu_tour",children:[s.jsx(bn,{value:"/history",className:"min-w-[90px]",children:c<350?e("History",{ns:"common"}):e("Clipboard History",{ns:"common"})}),s.jsx(bn,{value:"/menu",className:"min-w-[90px]",children:c<350?e("Menu",{ns:"common"}):e("Paste Menu",{ns:"common"})})]}),s.jsx(d_e,{deletingMenuItemIds:$,menuItems:g,collectionId:w,onDelete:()=>{var ae;A(""),Y!=null&&Y.current&&Y.current.value&&(Y.current.value="",(ae=Y==null?void 0:Y.current)==null||ae.focus())},showMultiSelectItems:U,setSelectedItemIds:z,selectedItemIds:L})]})]})})})}),s.jsx(z_,{children:G&&s.jsx(Q,{className:"h-[calc(100vh-70px)] select-none flex flex-col bg-slate-50 border shadow-sm rounded-xl dark:bg-gray-900/60 dark:border-gray-800 dark:shadow-slate-700/[.7]",children:s.jsx(Uf,{disableWidth:!0,children:({height:oe})=>oe&&s.jsxs(Q,{className:"p-4 py-4 pb-2 select-auto",id:"menu-main-list_tour",children:[s.jsxs(me,{className:"justify-center relative h-8 pt-2 select-none",children:[re.length>0&&s.jsx(ye,{variant:"ghost",id:"toggle-inactive-menu-items_tour",className:"bg-slate-200 p-1.5 text-slate-500 dark:bg-slate-700 dark:hover:bg-slate-700/80 dark:text-slate-300 rounded-sm flex items-center group absolute top-1 left-1",onClick:()=>{K.value=!X},children:s.jsx(Be,{asChild:!0,side:"bottom",isCompact:!0,sideOffset:12,text:e("Toggle inactive menu items",{ns:"menus"}),children:s.jsxs(Q,{className:"relative",children:[X?s.jsx(C1,{size:20,className:"transition-colors group-hover:text-slate-400 dark:group-hover:text-slate-300/80 dark:text-slate-500"}):s.jsx(Hm,{size:20,className:"transition-colors group-hover:text-slate-400 dark:group-hover:text-slate-500 dark:text-slate-300/80"}),s.jsx(lt,{className:"absolute right-[-16px] top-[-17px] ".concat(X?"bg-slate-400/80 dark:bg-slate-600 text-slate-100 dark:text-slate-400/80":"bg-slate-300/80 dark:bg-slate-700 dark:text-slate-200/80 text-slate-500"),variant:"".concat(X?"default":"outline"),children:re.length})]})})}),!no.value||se.length===0?s.jsx(Q,{className:"text-[13px] select-none",children:se.length>0?s.jsxs(J,{className:"gap-1",children:[s.jsx("span",{className:"font-semibold",children:se.length}),s.jsxs("span",{children:[re.length>0?e("active",{ns:"menus"}):""," ",e("menu items in",{ns:"menus"})]}),s.jsx(BR,{children:s.jsx("span",{className:"font-semibold underline cursor-pointer select-none",children:C()})})]}):s.jsxs(J,{className:"gap-1",children:[s.jsx("span",{children:e("No {{hasActive}} menu items in",{ns:"menus",hasActive:re.length>0?e("active",{ns:"menus"}):""})}),s.jsx(BR,{children:s.jsx("span",{className:"font-semibold underline cursor-pointer",children:C()})})]})}):s.jsx(Q,{className:"text-[13px]",children:s.jsx(J,{className:"text-center",children:e("Select item to add a menu after",{ns:"menus"})})}),se.length>0&&s.jsx(Z2,{isMainCreateMenu:!0,isDark:F,showEditMenuItemId:Rs,isCreatingMenuItem:no})]}),se.length===0&&s.jsx(me,{className:"mt-6 flex-col select-none",children:s.jsxs(Q,{children:[s.jsx(Z2,{isFistItemsCreateMenu:!0,isDark:F,showEditMenuItemId:Rs,isCreatingMenuItem:no}),s.jsx(J,{className:"text-sm mt-4 !text-slate-500",children:e("Create Menu",{ns:"menus"})})]})}),s.jsx(kr,{h:2}),s.jsxs(en,{style:{height:oe-75},autoHide:!0,className:"select-none",children:[s.jsx(cB,{type:"single",collapsible:!0,value:M!=null?M:"",className:"flex items-center flex-col select-none",children:ie.map((ae,fe)=>ae.itemId&&s.jsx(RN,{ref:vu.value===ae.itemId?B:null,value:ae.itemId,children:s.jsx(NW,{label:ae.name,setOpenItemId:D,setSelectedItemIds:z,isLastItem:fe===ie.length-1,deletingMenuItemIds:$,isFirstItem:fe===0,showEditMenuItemId:Rs,hasChildren:ae.hasChildren,isSeparator:ae.isSeparator,showMultiSelectItems:U,hasSelectedItems:L.length>0,isDark:F,deselectItemById:le=>{z(L.filter(ue=>ue!==le))},selectItemById:le=>{z(ue=>[...ue,le])},id:ae.itemId,item:ae,isClip:ae.isClip,isForm:ae.isForm&&ae.isClip,isWebRequest:ae.isWebRequest&&ae.isClip,isWebScraping:ae.isWebScraping&&ae.isClip,isCommand:ae.isCommand&&ae.isClip,isCreatingMenuItem:no,indent:ae.indent,onFolderClose:le=>{V(ue=>[...ue,le])},onFolderOpen:le=>{V(ue=>ue.filter(be=>be!==le))},isClosedFolder:H.includes(ae.itemId),isSelected:L.includes(ae.itemId),hasMultipleSelectedItems:L.length>1,isOpen:M===ae.itemId,children:s.jsx(u_e,{menuName:ae.name,isDisabled:ae.isDisabled,isMenuEdit:Rs.value===ae.itemId,isActive:ae.isActive,isDark:F,isMenu:ae.isMenu,isCode:ae.isCode,isSeparator:ae.isSeparator,isFolder:ae.isFolder,isText:ae.isText,isClip:ae.isClip,deletingMenuItemIds:$,item:ae})})},"".concat(ae.itemId)))}),s.jsx(kr,{h:3})]})]})})})})]},a?"swap":"no-swap")})}function h_e(){const{returnRoute:e}=dt(_s),{t}=Tt(),{appToursSkippedList:r,setAppToursSkippedList:n,isNotTourCompletedOrSkipped:a}=dt(pn);return p.useEffect(()=>{let o;return a(ar.settingsTour)&&!Br.value&&(o=q1({title:"".concat(t("Welcome to PasteBar Settings",{ns:"help"})),delay:0,description:s.jsxs(Q,{children:[t("WelcomeTourDescription",{ns:"help"}),s.jsx(Q,{className:"mt-3",children:s.jsx(ss,{i18nKey:"WelcomeTourCanSkip",ns:"help"})}),s.jsxs(me,{className:"justify-between",children:[s.jsx(ye,{className:"bg-blue-500 dark:bg-blue-700 dark:hover:bg-blue-800 hover:bg-blue-600 px-4 mt-3 text-white",onClick:()=>{Br.value=ar.settingsTour,o.dismiss()},children:t("Start Tour",{ns:"help"})}),s.jsxs(me,{className:"gap-3",children:[s.jsx(ye,{variant:"light",className:"text-gray-800 px-4 mt-3 dark:bg-slate-800 dark:text-gray-400 hover:dark:text-gray-300",onClick:()=>{o.dismiss()},children:t("Later",{ns:"help"})}),s.jsx(ye,{variant:"outline",className:"text-gray-800 px-4 mt-3",onClick:()=>{o.dismiss(),n([...r,ar.settingsTour])},children:t("Skip Tour",{ns:"help"})})]})]})]})})),()=>{o==null||o.dismiss()}},[]),s.jsx(Vk,{children:s.jsx(Q,{className:"w-full",children:s.jsxs(O_,{minSize:250,maxSize:360,defaultSize:290,autoSaveId:"app-main-panel",children:[s.jsx($_,{children:s.jsx(Q,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-200 shadow-sm rounded-xl dark:bg-gray-800 dark:border-gray-700 dark:shadow-slate-700/[.8] py-6 px-3 pr-3",children:s.jsxs(Q,{className:"animate-in fade-in",children:[s.jsx(Q,{className:"flex flex-rowrounded-md p-0 items-center justify-end pr-5 h-[40px]",children:s.jsxs(J,{className:"text-lg font-semibold text-center flex items-center",children:[s.jsx(Gf,{className:"mr-2"}),t("PasteBar Settings",{ns:"settings"})]})}),s.jsx(kr,{h:3}),s.jsx(Fh,{to:"/app-settings/history",replace:!0,id:"app-settings-history_tour",children:({isActive:o})=>s.jsx(J,{className:"pr-5 py-3 text-lg justify-end text-right items-center animate fade-in transition-fonts duration-100 dark:!text-slate-400 ".concat(o&&"!font-bold text-[19px] dark:!text-slate-300 !_text-slate-600"),children:t("Clipboard History Settings",{ns:"settings"})})}),s.jsx(Fh,{to:"/app-settings/collections",replace:!0,id:"app-settings-collections_tour",children:({isActive:o})=>s.jsx(J,{className:"pr-5 text-right py-3 text-lg justify-end items-center animate fade-in transition-fonts duration-100 dark:!text-slate-400 ".concat(o&&"!font-bold text-[19px] dark:!text-slate-300 !_text-slate-600"),children:t("Manage Collections",{ns:"settings"})})}),s.jsx(Fh,{to:"/app-settings/preferences",replace:!0,id:"app-settings-preferences_tour",children:({isActive:o})=>s.jsx(J,{className:"pr-5 text-right py-3 text-lg justify-end items-center animate fade-in transition-fonts duration-100 dark:!text-slate-400 ".concat(o&&"!font-bold text-[19px] dark:!text-slate-300 !_text-slate-600"),children:t("User Preferences",{ns:"settings"})})}),s.jsx(Fh,{to:"/app-settings/security",replace:!0,id:"app-settings-security_tour",children:({isActive:o})=>s.jsx(J,{className:"pr-5 text-right py-3 text-lg justify-end items-center animate fade-in transition-fonts duration-100 dark:!text-slate-400 ".concat(o&&"!font-bold text-[19px] dark:!text-slate-300 !_text-slate-600"),children:t("Security",{ns:"settings"})})}),s.jsx(Fh,{to:"/app-settings/license",replace:!0,id:"app-settings-license_tour",children:({isActive:o})=>s.jsx(J,{className:"pr-5 text-right py-3 text-lg justify-end items-center animate fade-in transition-fonts duration-100 dark:!text-slate-400 ".concat(o&&"!font-bold text-[19px] dark:!text-slate-300 !_text-slate-600"),children:t("License",{ns:"settings"})})}),s.jsx(kr,{h:6}),s.jsx(me,{className:"mr-5 justify-end",children:s.jsx(EN,{decorative:!0,className:"bg-gray-300 dark:bg-gray-600"})}),s.jsx(kr,{h:6}),s.jsx(Fh,{to:e,replace:!0,id:"app-settings-back_tour",children:s.jsx(Q,{className:"pr-5 font-right text-right py-3 text-md animate fade-in transition-fonts duration-100",children:s.jsx(ye,{variant:"secondary",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",children:t("Back",{ns:"common"})})})})]})})}),s.jsx(z_,{children:s.jsx(Q,{className:"h-[calc(100vh-70px)] flex flex-col bg-slate-50 border-0 shadow-sm rounded-xl dark:bg-gray-800 dark:border-gray-700 dark:shadow-slate-700/[.7]",children:s.jsx(x_,{})})})]})})})}function p_e({id:e,language:t}){const{attributes:r,listeners:n,setNodeRef:a,transform:o,transition:i,isDragging:c}=Iw({id:e}),u={transform:zo.Transform.toString(o),transition:i};return s.jsx("div",ee(R(R({ref:a,style:u},r),n),{className:c?"z-100 opacity-70":"z-auto opacity-100",children:s.jsxs(me,{className:"items-center justify-between p-2 border rounded mb-2 dark:bg-slate-900 bg-slate-50",children:[s.jsx(me,{className:"items-center justify-center ml-2",children:s.jsx(J,{children:t})}),s.jsx(ye,{variant:"ghost",size:"sm",className:"opacity-40 hover:opacity-90",children:s.jsx(S1,{size:20})})]})}))}function m_e(){const{isHistoryEnabled:e,setIsHistoryEnabled:t,isHistoryAutoUpdateOnCaputureEnabled:r,setIsHistoryAutoUpdateOnCaputureEnabled:n,setIsExclusionListEnabled:a,historyExclusionList:o,autoMaskWordsList:i,isExclusionListEnabled:c,setHistoryExclusionList:u,setAutoMaskWordsList:f,isAutoMaskWordsListEnabled:h,isAutoPreviewLinkCardsEnabled:m,setIsAutoPreviewLinkCardsEnabled:v,isAutoFavoriteOnDoubleCopyEnabled:S,setIsAutoFavoriteOnDoubleCopyEnabled:w,setIsAutoMaskWordsListEnabled:g,setHistoryDetectLanguagesEnabledList:b,setHistoryDetectLanguagesPrioritizedList:C,setIsHistoryDetectLanguageEnabled:j,isHistoryDetectLanguageEnabled:E,historyDetectLanguagesEnabledList:N,historyDetectLanguagesPrioritizedList:T,historyDetectLanguageMinLines:A,setHistoryDetectLanguageMinLines:M,isAutoClearSettingsEnabled:D,setIsAutoClearSettingsEnabled:L,autoClearSettingsDuration:z,setAutoClearSettingsDuration:H,autoClearSettingsDurationType:V,setAutoClearSettingsDurationType:I,isAppReady:q,CONST:{APP_DETECT_LANGUAGES_SUPPORTED:_}}=dt(pn),{returnRoute:$}=dt(_s),{t:U}=Tt(),[K,Y]=p.useState(""),[B,F]=p.useState(""),[G,X]=p.useState(!1),se=go(K,300),re=go(B,300),[ie,oe]=p.useState([]);p.useEffect(()=>{V5(T)&&!V5(N)?oe(N):V5(T)||oe(T)},[N,T]),p.useEffect(()=>{q&&u(sy(se))},[se,q]),p.useEffect(()=>{q&&f(sy(re))},[re,q]),p.useEffect(()=>{q&&(Y(o),F(i))},[q]);const ae={days:[1,2,3,4,5,6],weeks:[1,2,3],months:[1,3,6,8],year:[1,2]};function fe(le,ue){const Ce={days:le===1?U("Day",{ns:"calendar"}):U("Days",{ns:"calendar"}),weeks:le===1?U("Week",{ns:"calendar"}):U("Weeks",{ns:"calendar"}),months:le===1?U("Month",{ns:"calendar"}):U("Months",{ns:"calendar"}),year:le===1?U("Year",{ns:"calendar"}):U("Years",{ns:"calendar"})}[ue];return"".concat(le," ").concat(Ce)}return s.jsx(Uf,{disableWidth:!0,children:({height:le})=>le&&s.jsxs(Q,{className:"p-4 py-6 select-none min-w-[320px]",children:[s.jsxs(Q,{className:"text-xl my-2 mx-2 flex items-center justify-between",children:[s.jsx(J,{className:"light",children:U("Clipboard History Settings",{ns:"settings"})}),s.jsx(Pc,{to:$,replace:!0,children:s.jsx(ye,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:U("Back",{ns:"common"})})})]}),s.jsx(kr,{h:3}),s.jsxs(en,{style:{maxHeight:le-85},autoHide:!0,children:[s.jsx(Q,{className:"animate-in fade-in max-w-xl",children:s.jsxs(nn,{className:"".concat(!e&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Capture History",{ns:"settings"})}),s.jsx(Zn,{checked:e,className:"ml-auto",onCheckedChange:()=>{t(!e)}})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:U("Enable history capture",{ns:"settings"})})})]})}),e&&s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"max-w-xl animate-in fade-in mt-4",children:s.jsxs(nn,{className:"".concat(!r&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Auto-Update on Capture",{ns:"settings"})}),s.jsx(Zn,{checked:r,className:"ml-auto",onCheckedChange:()=>{n(!r)}})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:U("Enable auto update on capture",{ns:"settings"})})})]})}),s.jsx(Q,{className:"mt-4 max-w-xl animate-in fade-in",children:s.jsxs(nn,{className:"".concat(!S&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Auto-Star on Double Copy",{ns:"settings"})}),s.jsx(Zn,{checked:S,className:"ml-auto",onCheckedChange:()=>{w(!S)}})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:U("Add a star to the copied text when you copy it twice within 1 second. This allows you to quickly add copied text or links to your favorites and easily find it in the clipboard history.",{ns:"settings"})})})]})}),s.jsx(Q,{className:"mt-4 max-w-xl animate-in fade-in",children:s.jsxs(nn,{className:"".concat(!m&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Auto-Preview Link on Hover",{ns:"settings"})}),s.jsx(Zn,{checked:m,className:"ml-auto",onCheckedChange:()=>{v(!m)}})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:U("Create a preview card on link hover in the clipboard history. This allows you to preview the link before opening or pasting it.",{ns:"settings"})})})]})}),s.jsx(Q,{className:"max-w-xl animate-in fade-in mt-4",children:s.jsxs(nn,{className:"".concat(!c&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Stop Words List",{ns:"settings"})}),s.jsx(Zn,{checked:c,className:"ml-auto",onCheckedChange:()=>{a(!c)}})]}),s.jsxs(cn,{children:[s.jsx(J,{className:"text-sm text-muted-foreground mb-2",children:U("Words or sentences listed below will not be captured in clipboard history if found in the copied text. Case insensitive.",{ns:"settings"})}),s.jsx(po,{className:"text-sm",isDisabled:!c,label:U("List each word or sentence on a new line.",{ns:"settings"}),placeholder:void 0,rows:5,maxRows:15,enableEmoji:!1,onBlur:()=>{u(sy(K))},onChange:ue=>{Y(ue.target.value)},value:K})]})]})}),s.jsx(Q,{className:"max-w-xl animate-in fade-in mt-4",children:s.jsxs(nn,{className:"".concat(!h&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Auto Masking Words List",{ns:"settings"})}),s.jsx(Zn,{checked:h,className:"ml-auto",onCheckedChange:()=>{g(!h)}})]}),s.jsxs(cn,{children:[s.jsx(J,{className:"text-sm text-muted-foreground mb-2",children:U("Sensitive words or sentences listed below will automatically be masked if found in the copied text. Case insensitive.",{ns:"settings"})}),s.jsx(po,{className:"text-sm",label:U("List each word or sentence on a new line.",{ns:"settings"}),placeholder:void 0,isDisabled:!h,rows:5,maxRows:15,enableEmoji:!1,onFocus:()=>{X(!0)},onBlur:()=>{f(sy(B)),X(!1)},onChange:ue=>{F(ue.target.value)},value:G?B:Mf(B)})]})]})}),s.jsx(Q,{className:"max-w-xl animate-in fade-in mt-4",children:s.jsxs(nn,{className:"".concat(!E&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Programming Language Detection",{ns:"settings"})}),s.jsx(Zn,{checked:E,className:"ml-auto",onCheckedChange:()=>{j(!E)}})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:U("Enable programming language detection",{ns:"settings"})})})]})})]}),e&&E&&s.jsxs(s.Fragment,{children:[s.jsx(Q,{className:"max-w-xl mt-4 animate-in fade-in",children:s.jsxs(nn,{children:[s.jsx(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Minimum number of lines to trigger detection",{ns:"settings"})})}),s.jsx(cn,{children:s.jsx(er,{className:"text-md !w-36",error:void 0,small:!0,label:U("Number of lines",{ns:"common"}),value:A,onChange:ue=>{const be=ue.target.value;if(be==="")M(0);else{const Ce=parseInt(be);Ce&&M(Ce)}}})})]})}),s.jsx(Q,{className:"mt-4 max-w-2xl animate-in fade-in",children:s.jsxs(nn,{children:[s.jsx(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:[U("Programming Language Selection",{ns:"settings"}),s.jsx(J,{className:"mt-2 text-sm text-muted-foreground",children:U("To ensure the best detection accuracy, please select up to 7 languages. Limiting choices improves precision.",{ns:"settings"})})]})}),s.jsx(cn,{children:s.jsx(Q,{className:"grid gap-4 grid-cols-1 md:grid-cols-2 lg:grid-cols-3 2xl:grid-cols-4 py-2",children:_.map((ue,be)=>s.jsx("button",{className:"flex",onClick:()=>{if(N.length>=7&&!N.includes(ue))return;b(N.includes(ue)?N.filter(Pe=>Pe!==ue):N.concat([ue]));const Ce=ie.includes(ue)?ie.filter(Pe=>Pe!==ue):ie.concat([ue]);oe(Ce.filter(Boolean)),C(Ce.filter(Boolean))},children:s.jsx(hj,{label:ue,checked:N.includes(ue)})},be))})})]})}),ie.length>0&&s.jsx(Q,{className:"mt-4 max-w-2xl animate-in fade-in",children:s.jsxs(nn,{children:[s.jsx(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:[U("Prioritize Language Detection",{ns:"settings"}),s.jsx(J,{className:"mt-2 text-sm text-muted-foreground",children:U("Drag and drop to prioritize languages for detection. The higher a language is in the list, the higher its detection priority.",{ns:"settings"})})]})}),s.jsx(cn,{children:s.jsx(k6,{collisionDetection:QO,onDragEnd:ue=>{const{active:be,over:Ce}=ue;Ce!=null&&Ce.id&&be.id!==(Ce==null?void 0:Ce.id)&&oe(Pe=>{const Ee=Pe.indexOf(be.id.toString()),Oe=Pe.indexOf(Ce.id.toString()),Ve=zn(Pe,Ee,Oe);return Dse(Pe,Ve)||C(Ve),Ve})},children:s.jsx(Qb,{items:ie,strategy:tee,children:ie.map(ue=>ue&&s.jsx(p_e,{id:ue,language:ue},ue))})})})]})})]}),s.jsx(Q,{className:"mt-4 max-w-xl animate-in fade-in",children:s.jsxs(nn,{className:"".concat(!D&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:U("Auto-Clear Settings",{ns:"settings"})}),s.jsx(Zn,{checked:D,className:"ml-auto",onCheckedChange:()=>{L(!D)}})]}),s.jsxs(cn,{children:[s.jsx(J,{className:"text-sm text-muted-foreground",children:U("Configure settings to automatically delete clipboard history items after a specified duration.",{ns:"settings"})}),D&&s.jsxs(me,{className:"mt-6 row justify-start",children:[s.jsx(J,{className:"text-sm text-muted-foreground",children:U("Auto-delete clipboard history after",{ns:"settings"})}),s.jsx(me,{className:"mx-2",children:s.jsxs(RM,{value:V,onValueChange:ue=>{I(ue),H(1)},children:[s.jsx(oj,{children:s.jsx(LM,{placeholder:"Select"})}),s.jsxs(ij,{children:[s.jsx(Qh,{value:"days",children:s.jsx("span",{className:"font-medium",children:U("Days",{ns:"calendar"})})}),s.jsx(Qh,{value:"weeks",children:s.jsx("span",{className:"font-medium",children:U("Weeks",{ns:"calendar"})})}),s.jsx(Qh,{value:"months",children:s.jsx("span",{className:"font-medium",children:U("Months",{ns:"calendar"})})}),s.jsx(Qh,{value:"year",children:s.jsx("span",{className:"font-medium",children:U("Years",{ns:"calendar"})})})]})]})}),s.jsx(me,{children:s.jsxs(RM,{value:z.toString(),onValueChange:ue=>{H(Number(ue))},children:[s.jsx(oj,{children:s.jsx(LM,{placeholder:"Select"})}),s.jsx(ij,{children:ae[V].map(ue=>s.jsx(Qh,{value:ue.toString(),children:s.jsx("span",{className:"font-medium whitespace-nowrap",children:fe(ue,V)})},ue))})]})})]})]})]})}),s.jsx(kr,{h:6}),s.jsx(Pc,{to:$,replace:!0,children:s.jsx(ye,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:U("Back",{ns:"common"})})}),s.jsx(kr,{h:4})]})]})})}function g_e({open:e,onClose:t,setIsDeleteAllItemsInCollection:r,onConfirm:n}){const{t:a}=Tt();return s.jsx($r,{open:e,handleClose:t,children:s.jsxs($r.Body,{children:[s.jsx($r.Header,{handleClose:t,children:s.jsx("h1",{className:"m-0",children:a("Confirm Delete",{ns:"common"})})}),s.jsxs($r.Content,{children:[s.jsx(J,{className:"font-semibold",children:a("Are you sure you want to delete this collection?",{ns:"collections"})}),s.jsx(kr,{h:3}),s.jsx(J,{className:"font-light",children:a("Deleting the collection will remove it permanently. You can also choose to delete all menu and clips items within the collection by checking the box below.",{ns:"collections"})}),s.jsx(kr,{h:3}),s.jsx(q6,{color:"danger",onChange:o=>{r(o)},children:a("Delete all menu items within this collection",{ns:"collections"})})]}),s.jsx($r.Footer,{children:s.jsxs("div",{className:"flex w-full justify-end gap-x-2",children:[s.jsx(ye,{variant:"ghost",type:"button",onClick:t,children:a("Cancel",{ns:"common"})}),s.jsx(ye,{variant:"danger",type:"submit",onClick:n,children:a("Delete Collection",{ns:"collections"})})]})})]})})}function v_e({showAddNewCollection:e}){const{t}=Tt(),{createNewCollection:r,createNewCollectionSuccess:n}=bge(),[a,o]=p.useState(""),[i,c]=p.useState(!0),[u,f]=p.useState(""),h=sa(),m=th(),[v,S]=p.useState(e),[w,g]=p.useState(!1);return p.useEffect(()=>{n&&(o(""),f(""),S(!1),h("/history",{replace:!0}))},[n]),p.useEffect(()=>{o(""),f(""),c(!0)},[v]),s.jsx(nn,{className:"".concat(v?"border-blue-300 border-2":"opacity-80 justify-center items-center bg-transparent border-2 border-dashed border-gray-300 dark:border-gray-700 min-h-[130px]"),children:v?s.jsxs(s.Fragment,{children:[s.jsx(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:s.jsx(Jr,{className:"animate-in fade-in text-md w-full",children:s.jsx(er,{small:!0,autoFocus:!0,error:w?t("Title too short",{ns:"collections"}):void 0,name:"title",maxLength:50,onKeyDown:b=>{if(b.stopPropagation(),b.key==="Enter"){if(a.length<3){g(!0);return}r({createCollection:{title:a,isSelected:!1,description:u}})}},placeholder:t("Enter collection title",{ns:"collections"}),label:t("Collection Title",{ns:"collections"}),value:a,onChange:b=>{w&&b.target.value.length>3&&g(!1),o(b.target.value)}})})}),s.jsxs(cn,{children:[s.jsx(po,{enableEmojiInside:!0,enableEmoji:!1,placeholder:t("Add a description for your collection",{ns:"collections"}),rows:2,maxRows:4,maxLength:200,label:t("Description",{ns:"collections"}),value:u,onChange:b=>{f(b.target.value)}}),s.jsx(me,{className:"items-center justify-start mt-2 ml-[-8px]",children:s.jsx(q6,{color:"default",checked:i,classNameLabel:"py-1",onChange:b=>{c(b)},children:s.jsx($v,{size:"sm",children:t("Add default menu, tab and board",{ns:"collections"})})})})]}),s.jsxs(rN,{className:"flex flex-row items-center justify-between space-y-0",children:[s.jsx(Q,{}),s.jsxs(me,{className:"min-h-[30px]",children:[s.jsx(ye,{size:"xs",variant:"link",onClick:()=>{S(!1)},children:t("Cancel",{ns:"common"})}),s.jsx(ye,{size:"xs",className:"bg-blue-100 text-blue-600 hover:bg-blue-100/50 dark:bg-blue-800 dark:text-blue-200 dark:hover:bg-blue-800/50",onClick:()=>pe(this,null,function*(){if(a.length<3){g(!0);return}yield r({addDefaultMenuTabBoard:i,createCollection:{title:a,isSelected:!1,description:u}})}),children:t("Create",{ns:"common"})})]})]})]}):s.jsx(me,{className:"flex-row gap-3",children:s.jsxs(ye,{variant:"ghost",className:"rounded-md hover:dark:bg-blue-700/80 hover:bg-blue-200/80",onClick:()=>{m?S(!0):za.value=!0},children:[s.jsx(Fn,{width:20,className:"mr-1"}),s.jsx($v,{className:"text-[15px] !font-semibold",children:t("Add Collection",{ns:"collections"})}),s.jsx(Al,{})]})})},"new-collection")}function i3({showAddNewCollection:e}){const{t}=Tt(),{isShowCollectionNameOnNavBar:r,setIsShowCollectionNameOnNavBar:n}=dt(pn);ON(),zN(),NB();const{updateCollectionById:a}=yge(),{selectCollectionById:o}=FN(),{deleteCollectionById:i}=wge(),{currentCollectionId:c,menuItems:u,collections:f}=dt(Tn),{returnRoute:h}=dt(_s),m=th(),[v,S]=xU({timeout:10,sensitivity:10,interval:20}),{setData:w}=Eq(),[g,b]=p.useState(),[C,j]=p.useState(""),[E,N]=p.useState(!1),[T,A]=p.useState(""),M=We(!1),[D,L]=p.useState(null),[z,H]=p.useState(null);return p.useEffect(()=>{var V;if(D){const I=f.find(({collectionId:q})=>q===D);I&&(j(I.title),A((V=I.description)!=null?V:""))}else j(""),H(null),A("")},[D]),p.useEffect(()=>{w(u.length>0?Vv(u):[])},[u,u.length]),s.jsx(Uf,{disableWidth:!0,children:({height:V})=>V&&s.jsxs(Q,{className:"p-4 py-6 select-auto",children:[s.jsxs(Q,{className:"text-xl my-2 flex items-center justify-between px-2",children:[s.jsx(J,{className:"light",children:t("Manage Collections",{ns:"collections"})}),s.jsx(Pc,{to:h,replace:!0,children:s.jsx(ye,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:t("Back",{ns:"common"})})})]}),s.jsx(kr,{h:3}),s.jsxs(en,{style:{maxHeight:V-85},autoHide:!0,children:[s.jsxs(Q,{className:"grid gap-4 md:grid-cols-1 lg:grid-cols-2 animate-in fade-in",children:[s.jsx(v_e,{showAddNewCollection:e}),f.map(({collectionId:I,title:q,description:_,isEnabled:$})=>{const U=D===I,K=c===I;return s.jsxs(nn,{className:"".concat(K&&"border-teal-500 border-2"," ").concat(!$&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-2",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium",children:U?s.jsx(er,{className:"text-md",error:g?t("Title too short",{ns:"collections"}):void 0,maxLength:50,small:!0,onKeyDown:Y=>{if(Y.stopPropagation(),Y.key==="Enter"){if(C.length<3){b(!0);return}a({updatedCollection:{collectionId:I,title:C,isEnabled:$,description:T}}),setTimeout(()=>{L(null)},100)}},label:t("Collection Title",{ns:"collections"}),placeholder:t("Enter collection title",{ns:"collections"}),value:C,onChange:Y=>{g&&Y.target.value.length>3&&b(!1),j(Y.target.value)}}):s.jsx(J,{className:"".concat(K?$?"text-teal-600 dark:text-teal-600":"text-slate-500 dark:text-slate-300":"hover:text-slate-500"," !font-medium ").concat($?"cursor-pointer":"text-muted-foreground"),onClick:()=>{$&&!K&&o({selectCollection:{collectionId:I}})},children:q})}),!U&&$&&s.jsx(s.Fragment,{children:K?s.jsx(Be,{text:t("Current Collection",{ns:"collections"}),isCompact:!0,children:s.jsx(Tz,{className:"text-teal-600 h-6",size:20})}):s.jsx(ye,{className:"text-sm box",size:"xs",variant:"outline",onClick:()=>{o({selectCollection:{collectionId:I}})},children:t("Select",{ns:"common"})})})]}),s.jsx(cn,{children:U?s.jsx(po,{className:"text-md",enableEmoji:!1,enableEmojiInside:!0,maxLength:200,rows:2,maxRows:4,label:t("Description",{ns:"collections"}),value:T,onChange:Y=>{A(Y.target.value)}}):s.jsx(J,{className:"text-sm text-muted-foreground",children:_})}),s.jsxs(rN,{className:"flex flex-row items-center justify-between space-y-0",children:[s.jsx(Q,{children:U?K?s.jsx(Be,{isCompact:!0,className:"bg-warning-100 dark:bg-warning-800",text:s.jsx(J,{justify:"center",color:"danger",children:t("You need to select a different collection before deleting the current one.",{ns:"collections"})}),delayDuration:300,maxWidth:190,open:v,sideOffset:16,children:s.jsx(ye,{size:"xs",ref:Ji(S),variant:"ghost",className:"bg-slate-50 dark:bg-slate-800",children:s.jsx(G4,{size:"16",className:"opacity-20"})})}):s.jsx(ye,{size:"xs",variant:"ghost",onClick:()=>{H(I),M.value=!0},className:"".concat(z?"bg-red-100 dark:bg-red-800 hover:bg-red-100 text-red-600 hover:text-color-dark dark:text-red-200":"bg-red-50/50 dark:bg-red-800 text-red-500 hover:bg-red-100 hover:text-color-dark dark:text-red-200"),children:s.jsx(xn,{size:"16"})}):!K&&s.jsxs(gU,{children:[s.jsx(vU,{asChild:!0,children:s.jsx(Q,{children:s.jsx(Zn,{checked:$,disabled:K,onCheckedChange:Y=>{m?a({updatedCollection:{collectionId:I,isEnabled:Y}}):za.value=!0}})})}),s.jsx(s_,{children:s.jsx(J,{className:"text-sm",children:$?t("Enabled",{ns:"common"}):t("Disabled",{ns:"common"})})})]})}),s.jsxs(me,{className:"min-h-[30px]",children:[U&&s.jsx(ye,{size:"xs",variant:"link",className:"text-slate-500",onClick:()=>{L(null)},disabled:!$,children:t("Cancel",{ns:"common"})}),$&&s.jsx(ye,{size:"xs",variant:U?"default":"light",className:U?"bg-blue-100 text-blue-600 hover:bg-blue-100/50 dark:bg-blue-800 dark:text-blue-200 dark:hover:bg-blue-800/50":"",onClick:()=>{if(!U)L(I);else{if(C.length<3){b(!0);return}a({updatedCollection:{collectionId:I,title:C,isEnabled:$,description:T}}),setTimeout(()=>{L(null)},100)}},disabled:!$,children:U?t("Save",{ns:"common"}):t("Edit",{ns:"common"})})]})]})]},I)})]}),s.jsx(kr,{h:5}),s.jsx(J,{className:"light",children:t("Collection Options",{ns:"collections"})}),s.jsx(Q,{className:"grid gap-4 md:grid-cols-1 lg:grid-cols-2 animate-in fade-in mt-4",children:s.jsxs(nn,{className:"".concat(!r&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium border-red-300 border-1 w-full",children:t("Show collection name on the navbar",{ns:"collections"})}),s.jsx(Zn,{checked:r,className:"ml-auto",onCheckedChange:()=>{n(!r)}})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:t("Display full name of selected collection on the navigation bar",{ns:"collections"})})})]})}),s.jsx(kr,{h:6})]}),s.jsx(g_e,{open:M.value,setIsDeleteAllItemsInCollection:N,onClose:()=>{M.value=!1,N(!1),H(null)},onConfirm:()=>{z&&(i({deleteCollection:{deleteAllItemsInCollection:E,collectionId:z}}),M.value=!1,N(!1),H(null))}})]})})}function x_e(){const{t:e}=Tt(),{isIdleScreenAutoLockEnabled:t,setIsIdleScreenAutoLockEnabled:r,idleScreenAutoLockTimeInMinutes:n,setIdleScreenAutoLockTimeInMinutes:a,isShowHistoryCaptureOnLockedScreen:o,setIsShowHistoryCaptureOnLockedScreen:i,isScreenLockPassCodeRequireOnStart:c,setIsScreenLockPassCodeRequireOnStart:u,screenLockPassCode:f,setScreenLockPassCode:h,screenLockPassCodeLength:m,setScreenLockPassCodeLength:v,screenLockRecoveryPasswordMasked:S,hashPassword:w,setScreenLockRecoveryPasswordMasked:g,storePassword:b,verifyStoredPassword:C,deleteStoredPassword:j}=dt(pn),{returnRoute:E}=dt(_s),N=th(),T=We(""),A=We(""),M=We(""),D=We(""),L=We(""),z=We(!1),H=We(!1),V=We(!1),I=We(!1),q=We(!1),_=We(!1),$=We(!1),U=We(!1);p.useEffect(()=>{to.value===ac.resetPassword&&Hi.value===ac.resetPassword?(g(null),j("screenLockRecoveryPassword"),to.value=null,Hi.value=null):to.value===ac.resetPasscode&&Hi.value===ac.resetPasscode&&(h(null),v(0),to.value=null,Hi.value=null)},[Hi.value,to.value]),p.useEffect(()=>{T.value.length!==0&&!f&&T.value===A.value&&w(T.value).then(G=>{h(G),v(T.value.length),z.value=!1,A.value="",T.value=""})},[T.value,A.value]);const K=p.useMemo(()=>V.value,[V.value]),Y=p.useMemo(()=>On.value,[On.value]);p.useMemo(()=>!0,[A.value,z.value,H.value,I.value,L.value,q.value,_.value,U.value,$.value]);const B=p.useMemo(()=>M.value.length>=6&&M.value.length<=50&&M.value===D.value,[M.value,D.value]),F=p.useMemo(()=>D.value.length>=M.value.length&&M.value!==D.value,[M.value,D.value]);return s.jsx(Uf,{disableWidth:!0,children:({height:G})=>G&&s.jsxs(Q,{className:"p-4 py-6 select-none min-w-[320px]",children:[s.jsxs(Q,{className:"text-xl my-2 mx-2 flex items-center justify-between",children:[s.jsx(J,{className:"light",children:e("Security Settings",{ns:"settings"})}),s.jsx(Pc,{to:E,replace:!0,children:s.jsx(ye,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:e("Back",{ns:"common"})})})]}),s.jsx(kr,{h:3}),s.jsxs(en,{style:{maxHeight:G-85},autoHide:!0,children:[s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{children:[s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:s.jsx(Q,{children:e("Lock Screen Passcode",{ns:"settings"})})}),s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Set a passcode to unlock the locked screen and protect your data from unauthorized access.",{ns:"settings"})})]}),s.jsxs(cn,{children:[f?s.jsxs(s.Fragment,{children:[s.jsx(me,{className:"gap-5 justify-start flex-wrap",children:new Array(m).fill(0).map((X,se)=>s.jsx(Q,{className:"text-lg px-4 py-4 rounded-md text-slate-600 dark:text-slate-400 bg-slate-100 dark:bg-slate-800 text-center",children:"●"},se))}),s.jsx(Q,{className:"mt-2 text-green-700 dark:text-green-600",children:s.jsx(ss,{i18nKey:"{{screenLockPassCodeLength}} digits passcode is set.",values:{screenLockPassCodeLength:m},ns:"settings"})})]}):s.jsxs(s.Fragment,{children:[z.value?s.jsxs(me,{className:"gap-3 flex-wrap items-center justify-start my-2",children:[s.jsx(er,{className:"text-md !w-40",numbersOnly:!0,isPassword:!0,autoComplete:"off",onPaste:X=>(X.preventDefault(),!1),autoFocus:!0,placeholder:e("Confirm",{ns:"common"}),label:e("Confirm Passcode",{ns:"common"}),onChange:X=>{const se=X.target.value;A.value=se}},"confirm-passcode"),s.jsx(ye,{variant:"secondary",size:"sm",onClick:()=>{z.value=!1,A.value="",T.value=""},className:"text-sm bg-gray-200 dark:bg-gray-700 dark:text-slate-200 mt-4 h-9",children:e("Cancel",{ns:"common"})})]}):s.jsxs(me,{className:"gap-3 flex-wrap items-center justify-start my-2",children:[s.jsx(er,{className:"text-md !w-40",numbersOnly:!0,autoComplete:"off",onPaste:X=>(X.preventDefault(),!1),placeholder:e("Enter Passcode",{ns:"common"}),label:e("Digits Only Passcode",{ns:"common"}),onKeyDown:X=>{X.key==="Enter"&&(T.value.length>3||T.value.length<11)&&(z.value=!0)},onChange:X=>{const se=X.target.value;T.value=se}}),s.jsx(ye,{variant:"secondary",size:"sm",disabled:T.value.length<4||T.value.length>10,onClick:()=>{z.value=!0},className:"text-sm bg-blue-300 hover:bg-blue-300/80 dark:bg-blue-700 hover:dark:bg-blue-700/80 dark:text-slate-200 mt-4 h-9",children:e("Set",{ns:"common"})})]}),z.value?A.value&&T.value&&s.jsx(s.Fragment,{children:A.value&&T.value.length-A.value.length>0?s.jsxs(J,{size:"sm",className:"!text-green-500 dark:!text-green-600",children:[e("Passcode digits remaining",{ns:"settings"}),":",s.jsx("b",{className:"ml-1",children:T.value.length-A.value.length})]}):T.value!==A.value&&s.jsx(J,{size:"sm",className:"!text-red-500 dark:!text-red-400",children:e("Passcode mismatch",{ns:"settings"})})}):s.jsx(s.Fragment,{children:T.value.length>=4&&T.value.length<=10?s.jsxs(J,{size:"sm",className:"!text-green-500 dark:!text-green-600",children:[e("Passcode length",{ns:"settings"}),":",s.jsx("b",{className:"ml-1",children:T.value.length})]}):T.value.length>10?s.jsx(J,{size:"sm",className:"!text-amber-500 dark:!text-amber-600",children:e("Maximum 10 digits",{ns:"settings"})}):T.value.length>0&&T.value.length<4&&s.jsx(J,{size:"sm",className:"!text-amber-500 dark:!text-amber-600",children:e("Minimal 4 digits",{ns:"settings"})})})]}),f&&s.jsx(s.Fragment,{children:s.jsx(ye,{variant:"secondary",size:"sm",onClick:()=>{Ud.value=!0,to.value=ac.resetPasscode,Wd.value=e("passcode reset",{ns:"settings"})},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-2",children:e("Reset Passcode",{ns:"common"})})})]})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{children:[s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:s.jsx(Q,{children:e("Recovery Password for Lock Screen Passcode",{ns:"settings"})})}),s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Set a recovery password to easily reset your lock screen passcode if forgotten. Your password will be securely stored in your device's OS storage.",{ns:"settings"})})]}),s.jsx(cn,{children:S?s.jsxs(Q,{children:[s.jsxs(me,{className:"gap-2 justify-start items-start flex-wrap flex-col my-1",children:[s.jsx(Q,{className:"text-lg px-4 py-2 rounded-md text-slate-600 dark:text-slate-400 bg-slate-100 dark:bg-slate-800 text-center",children:s.jsx(J,{className:"text-lg",children:S})}),s.jsx(Q,{className:"mt-1 text-green-700 dark:text-green-600",children:e("Recovery password is set.",{ns:"settings"})})]}),K?s.jsxs(Q,{className:"mt-2",children:[s.jsx(er,{className:"text-md !w-60",isPassword:!0,showHidePassword:!0,onKeyDown:X=>{X.key==="Enter"&&!_.value&&L.value.length>=6&&(q.value=!1,_.value=!0,C("screenLockRecoveryPassword",L.value).then(se=>{se?(V.value=!1,g(null),j("screenLockRecoveryPassword"),L.value=""):q.value=!0,_.value=!1}).catch(()=>{q.value=!0,_.value=!1}))},error:L.value.length>=6&&q.value?e("Password is incorrect",{ns:"settings"}):"",autoComplete:"off",onPaste:X=>(X.preventDefault(),!1),classNameInput:"h-9",autoFocus:!0,placeholder:e("Enter Password",{ns:"common"}),label:e("Verify Current Password",{ns:"common"}),onChange:X=>{q.value=!1,L.value=X.target.value}},"recovery-reset-password"),s.jsxs(me,{className:"justify-start items-center gap-2 mt-2",children:[s.jsx(ye,{variant:"secondary",size:"sm",disabled:L.value.length<6,onClick:()=>{q.value=!1,_.value=!0,C("screenLockRecoveryPassword",L.value).then(X=>{X?(V.value=!1,g(null),j("screenLockRecoveryPassword"),L.value=""):q.value=!0,_.value=!1}).catch(()=>{q.value=!0,_.value=!1})},className:"w-20 text-sm bg-blue-300 hover:bg-blue-300/80 dark:bg-blue-700 hover:dark:bg-blue-700/80 dark:text-slate-200",children:_.value?s.jsx(wm,{}):e("Reset",{ns:"common"})}),f&&s.jsx(ye,{variant:"light",size:"sm",onClick:()=>{V.value=!1,Ud.value=!0,to.value=ac.resetPassword,Wd.value=e("password reset",{ns:"settings"})},className:"text-sm bg-gray-200 dark:bg-gray-700 dark:text-slate-200",children:e("Use Passcode",{ns:"common"})}),s.jsx(ye,{variant:"secondary",size:"sm",disabled:Y>0,onClick:()=>{V.value=!1,q.value=!1,L.value=""},className:"text-sm bg-transparent dark:bg-transparent dark:text-slate-200 hover:dark:bg-slate-800",children:e("Cancel",{ns:"common"})})]})]}):s.jsx(ye,{variant:"secondary",size:"sm",onClick:()=>{V.value=!0},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-2",children:e("Reset Password",{ns:"common"})})]}):s.jsxs(me,{className:"gap-3 flex-wrap items-start justify-start my-2 flex-col",children:[s.jsx(er,{className:"text-md !w-60",isPassword:!0,autoComplete:"off",onPaste:X=>(X.preventDefault(),!1),showHidePassword:!0,placeholder:e("Recovery Password",{ns:"common"}),label:e("Enter Recovery Password",{ns:"common"}),classNameInput:M.value.length>=6&&M.value.length<=50?"!border-green-400 !bg-green-100 dark:!border-green-700 dark:!bg-green-950 h-9":"h-9",onChange:X=>{M.value=X.target.value}},"recovery-password"),s.jsx(er,{className:"text-md !w-60",isPassword:!0,showHidePassword:!0,onKeyDown:X=>{X.key==="Enter"&&M.value===D.value&&M.value.length>=6&&M.value.length<=50&&b("screenLockRecoveryPassword",M.value).then(()=>{g(Mf(M.value)),M.value="",D.value=""})},error:F?e("Passwords do not match",{ns:"settings"}):"",autoComplete:"off",onPaste:X=>(X.preventDefault(),!1),classNameInput:!F&&B?"!border-green-400 !bg-green-100 dark:!border-green-700 dark:!bg-green-950 h-9":"h-9",placeholder:e("Confirm Password",{ns:"common"}),label:e("Confirm Password",{ns:"common"}),onChange:X=>{D.value=X.target.value}},"recovery-password-confirmation"),s.jsx(ye,{variant:"secondary",size:"sm",disabled:!B,onClick:()=>{M.value===D.value&&b("screenLockRecoveryPassword",M.value).then(()=>{g(Mf(M.value)),M.value="",D.value=""})},className:"text-sm bg-blue-300 hover:bg-blue-300/80 dark:bg-blue-700 hover:dark:bg-blue-700/80 dark:text-slate-200 mt-1 h-9",children:e("Set Password",{ns:"common"})})]})})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{className:"".concat(!o&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:[s.jsx(Q,{children:e("Show Clipboard History Capture Control on Lock Screen",{ns:"settings"})}),s.jsx(Zn,{checked:o,className:"ml-auto",onCheckedChange:()=>{i(!o)}})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Display clipboard history capture toggle on the locked application screen. This allows you to control history capture settings directly from the lock screen.",{ns:"settings"})})]}),s.jsx(cn,{})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{className:"".concat(!t&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:[s.jsxs(Q,{children:[e("Auto Lock the Screen on User Inactivity",{ns:"settings"}),s.jsx(Al,{})]}),s.jsx(Zn,{checked:t,className:"ml-auto",onCheckedChange:()=>{!t&&!N?za.value=!0:r(!t)}})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Enable auto lock the application screen after a certain period of inactivity, to prevent unauthorized access to your data.",{ns:"settings"})})]}),s.jsxs(cn,{children:[s.jsx(me,{className:"gap-3 flex-wrap items-start justify-start my-2",children:Rse.map((X,se)=>s.jsxs(ye,{variant:"ghost",disabled:!t,onClick:()=>{a(X)},className:"text-sm font-normal bg-slate-50 dark:bg-slate-950 ".concat(n===X?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 hover:dark:bg-slate-800 px-2 !py-0.5"),children:[X," ",e("minutes",{ns:"common"})]},se))}),s.jsx(ye,{variant:"secondary",size:"sm",disabled:n===15,onClick:()=>{a(15)},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-2",children:e("Reset",{ns:"common"})})]})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{className:"".concat(!c&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3 flex",children:[s.jsxs(Q,{children:[e("Require Screen Unlock at Application Start",{ns:"settings"}),s.jsx(Al,{})]}),s.jsx(Zn,{checked:c,className:"ml-auto",onCheckedChange:()=>{!c&&!N?za.value=!0:u(!c)}})]}),s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Enable screen unlock requirement on app launch for enhanced security, safeguarding data from unauthorized access.",{ns:"settings"})})]}),s.jsx(cn,{})]})}),s.jsx(kr,{h:6}),s.jsx(Pc,{to:E,replace:!0,children:s.jsx(ye,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:e("Back",{ns:"common"})})}),s.jsx(kr,{h:4})]})]})})}const y_e='### Example\n\nA third of the distance across the Beach, the meadow ends and sand begins. This slopes gradually up for another third of the distance, to the foot of the sand hills, which seem tumbled into their places by some mighty power, sometimes three tiers of them deep, sometimes two, _and sometimes only one._ A third of the distance across the Beach, the meadow ends and sand begins.\n\nThe outline of this inner shore is most irregular, curving and bending in and out and back upon itself, making coves and points and creeks and channels, and often pushing out in flats with not water enough on them at low tide to wet your ankles.\n\n### Subtitle\n\nThis is another fine paragraph\n\n### Smaller subtitle\n\nThis is a paragraph `with` ~style~ *italic* _italic_ **bold** __bold__\n\n*Hello [PasteBar](https://www.pastebar.app/) lol*\n\nHello [*PasteBar*](https://www.pastebar.app/) lol "cat"\n\nHello from *[PasteBar](https://rsms.me/)* to __everyone__ `reading this`\n\n### Embedded HTML\n\nWith default settings, markdown-wasm allows embedded HTML.\n\n> It has been disabled in this demo for safety reasons, by means of setting `ParseFlags.NO_HTML`.\n> Not setting the `NO_HTML` flag allows embedding HTML like this:\n\n\n\n\n### Block Quotes\n\n> You can insert quotes by\n> preceeding each line with `>`.\n>\n> Blockquotes can also contain line\n> breaks.\n\n\n### Lists\n\n#### Unordered lists\n\n- Unordered\n- Lists\n- Hello\n\n#### Ordered lists\n\n1. Ordered\n2. Lists\n4. Numbers are ignored\n1. Ordered\n\n121) Ordered lists can start\n122) with any number and\n123) use . as well as ) as a separator.\n\n#### Task lists\n\n- [ ] Task 1\n- [x] Task 2\n- [ ] Task 3\n- Regular list item\n\n### Tables\n\n| Column 1 | Column 2 | Column 3 | Column 4\n|----------|:---------|:--------:|---------:\n| default | left | center | right\n\n#### Table of image file types\n\n| Header | Mime type | Extensions | Description\n|---------------------------|--------------|------------|-------------\n| `89 50 4E 47 0D 0A 1A 0A` | image/png | png | PNG image\n| `47 49 46 38 39 61` | image/gif | gif | GIF image\n| `FF D8 FF` | image/jpeg | jpg jpeg | JPEG image\n| `4D 4D 00 2B` | image/tiff | tif tiff | TIFF image\n| `42 4D` | image/bmp | bmp | Bitmap image\n| `00 00 01 00` | image/x-icon | ico | Icon image';function b_e(){const{t:e}=Tt(),t=ZU(),{isSkipAutoStartPrompt:r,setIsSkipAutoStartPrompt:n,isShowCollectionNameOnNavBar:a,setIsShowCollectionNameOnNavBar:o,isClipNotesHoverCardsEnabled:i,setIsClipNotesHoverCardsEnabled:c,clipNotesMaxHeight:u,clipNotesMaxWidth:f,setClipNotesMaxHeight:h,setClipNotesMaxWidth:m,clipNotesHoverCardsDelayMS:v,setClipNotesHoverCardsDelayMS:S,isShowDisabledCollectionsOnNavBarMenu:w,setIsShowDisabledCollectionsOnNavBarMenu:g}=dt(pn),{setFontSize:b,fontSize:C,setIsSwapPanels:j,isSwapPanels:E}=dt(_s),[N,T]=p.useState(!1),{setTheme:A,theme:M}=Tk(),{mode:D,setMode:L,themeDark:z}=dt(uo);p.useEffect(()=>{M!==D&&L(M)},[M]),p.useEffect(()=>{Sr("is_autostart_enabled").then(q=>{T(!!q)})},[]);const{returnRoute:H}=dt(_s),V=z();function I(q){const _=q/1e3,$=Number.isInteger(_)?_.toString():_.toFixed(1),U=_===1?" "+e("second"):" "+e("seconds");return $+U}return s.jsx(Uf,{disableWidth:!0,children:({height:q})=>{var _;return q&&s.jsxs(Q,{className:"p-4 py-6 select-none min-w-[320px]",children:[s.jsxs(Q,{className:"text-xl my-2 mx-2 flex items-center justify-between",children:[s.jsx(J,{className:"light",children:e("User Preferences",{ns:"settings"})}),s.jsx(Pc,{to:H,replace:!0,children:s.jsx(ye,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:e("Back",{ns:"common"})})})]}),s.jsx(kr,{h:3}),s.jsxs(en,{style:{maxHeight:q-85},autoHide:!0,children:[s.jsx(Q,{className:"animate-in fade-in max-w-xl",children:s.jsxs(nn,{className:"".concat(!N&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:e("Application Auto Start",{ns:"settings"})}),s.jsx(Zn,{checked:N,className:"ml-auto",onCheckedChange:()=>pe(this,null,function*(){yield Sr("autostart",{enabled:!N}),T(!N)})})]}),s.jsxs(cn,{children:[s.jsx(J,{className:"text-sm text-muted-foreground",children:e("Enable application auto start on system boot",{ns:"settings"})}),!N&&s.jsx(me,{className:"items-center justify-start mt-2 ml-[-12px]",children:s.jsx(q6,{color:"default",checked:r,classNameLabel:"py-1",onChange:()=>{n(!r)},children:s.jsx($v,{size:"sm",children:e("Skip auto start prompt on app launch",{ns:"settings"})})})})]})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{children:[s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1",children:[s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3",children:[e("Application UI Fonts Scale",{ns:"settings"}),s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Change the application user interface font size scale",{ns:"settings"})})]}),s.jsx(me,{className:"gap-3 flex-wrap items-start justify-start",children:Zh.map(($,U)=>s.jsx(ye,{variant:"ghost",onClick:()=>{b($)},className:"text-sm font-normal bg-slate-50 dark:bg-slate-950 ".concat(C===$?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-2 !py-0.5"),children:$},U))})]}),s.jsx(cn,{children:s.jsx(ye,{variant:"secondary",size:"sm",disabled:C==="100%",onClick:()=>{b("100%")},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-1",children:e("Reset",{ns:"common"})})})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsx(nn,{children:s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1 mb-4",children:[s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3",children:[e("Application UI Color Theme",{ns:"settings"}),s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Change the application user interface color theme",{ns:"settings"})})]}),s.jsxs(me,{className:"gap-3 flex-wrap items-start justify-start",children:[s.jsxs(ye,{variant:"ghost",onClick:()=>{A("light")},className:"text-sm border-0 font-normal bg-slate-50 dark:bg-slate-950 ".concat(M==="light"?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-3 !py-0.5"),children:[s.jsx("span",{className:"flex tems-end",children:s.jsx(Mo.sun,{className:"mr-2",size:18})}),s.jsx("span",{children:e("Theme:::Light",{ns:"navbar"})})]}),s.jsxs(ye,{variant:"ghost",onClick:()=>{A("dark")},className:"text-sm border-0 font-normal bg-slate-50 dark:bg-slate-950 ".concat(M==="dark"?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-3 !py-0.5"),children:[s.jsx("span",{className:"flex tems-end",children:s.jsx(Mo.moon,{className:"mr-2",size:17})}),s.jsx("span",{children:e("Theme:::Dark",{ns:"navbar"})})]}),s.jsxs(ye,{variant:"ghost",onClick:()=>{A("system")},className:"text-sm border-0 font-normal bg-slate-50 dark:bg-slate-950 ".concat(M==="system"?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-3 !py-0.5"),children:[s.jsx("span",{className:"tems-end flex w-[1.5rem] ",children:s.jsx(Mo.sunmoon,{className:"mr-2",width:14,height:14})}),s.jsx("span",{children:e("Theme:::System",{ns:"navbar"})})]})]})]})})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsx(nn,{children:s.jsxs(Qr,{className:"flex flex-col items-start justify-between space-y-0 pb-1 mb-4",children:[s.jsxs(Jr,{className:"animate-in fade-in text-md font-medium w-full mb-3",children:[e("Application UI Language",{ns:"settings"}),t?s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Your License is limited to support for a single {{language}} language",{ns:"settings",language:(_=Ef.find(({code:$})=>$===t))==null?void 0:_.name})}):s.jsx(J,{className:"text-sm text-muted-foreground mt-2",children:e("Change the application user interface language",{ns:"settings"})})]}),s.jsx(me,{className:"gap-3 flex-wrap items-start justify-start",children:Ef.map(({code:$,name:U,flag:K})=>s.jsxs(ye,{variant:"ghost",disabled:t&&$!==t,onClick:()=>{an.changeLanguage($)},className:"text-sm border-0 font-normal bg-slate-50 dark:bg-slate-950 ".concat(an.language===$?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-3 !py-0.5"),children:[s.jsx("span",{className:"flags mr-3",children:K})," ",U]},$))})]})})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{className:"".concat(!E&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:e("Swap Panels Layout",{ns:"common"})}),s.jsx(Zn,{checked:E,className:"ml-auto",onCheckedChange:()=>pe(this,null,function*(){j(!E)})})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:e("Switch the layout position of panels in Clipboard History and Paste Menu views",{ns:"settings"})})})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{className:"".concat(!a&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:e("Show collection name on the navbar",{ns:"settings"})}),s.jsx(Zn,{checked:a,className:"ml-auto",onCheckedChange:()=>{o(!a)}})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:e("Display full name of selected collection on the navigation bar",{ns:"settings"})})})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{className:"".concat(!w&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:e("Show disabled collections on the navbar list",{ns:"settings"})}),s.jsx(Zn,{checked:w,className:"ml-auto",onCheckedChange:()=>{g(!w)}})]}),s.jsx(cn,{children:s.jsx(J,{className:"text-sm text-muted-foreground",children:e("Display disabled collections name on the navigation bar under collections menu",{ns:"settings"})})})]})}),s.jsx(Q,{className:"animate-in fade-in max-w-xl mt-4",children:s.jsxs(nn,{className:"".concat(!i&&"opacity-80 bg-gray-100 dark:bg-gray-900/80"),children:[s.jsxs(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:[s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:e("Enable Clip Title Hover Show with Delay",{ns:"settings"})}),s.jsx(Zn,{checked:i,className:"ml-auto",onCheckedChange:()=>{c(!i)}})]}),s.jsxs(cn,{children:[s.jsx(J,{className:"text-sm text-muted-foreground",children:e("This option lets you control the display and timing of hover notes on clips. You can choose to show notes instantly or with a delay to prevent unintended popups.",{ns:"settings"})}),s.jsx(me,{className:"gap-2 flex-wrap items-start justify-start mt-4 mb-4",children:fte.map(($,U)=>s.jsx(ye,{variant:"ghost",disabled:!i,onClick:()=>{S($)},className:"text-sm font-normal bg-slate-50 dark:bg-slate-950 ".concat(v===$?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-2 !py-0.5"),children:I($)},U))}),s.jsx(ye,{variant:"secondary",size:"sm",disabled:v===2e3||!i,onClick:()=>{S(2e3)},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-1",children:e("Reset",{ns:"common"})})]})]})}),s.jsx(Q,{className:"max-w-xl mt-4 animate-in fade-in",children:s.jsxs(nn,{children:[s.jsx(Qr,{className:"flex flex-row items-center justify-between space-y-0 pb-1",children:s.jsx(Jr,{className:"animate-in fade-in text-md font-medium w-full",children:e("Clip Notes Popup Maximum Dimensions",{ns:"settings"})})}),s.jsxs(cn,{children:[s.jsx(J,{className:"text-sm text-muted-foreground",children:e("This option lets you customize the maximum width and height of the popup that displays clip notes, ensuring it fits comfortably within your desired size.",{ns:"settings"})}),s.jsx(H2,{text:y_e,side:"top",isDark:V,delayDuration:v,classNameTrigger:"inline-flex items-start",sideOffset:0,maxWidth:f,maxHeight:u,asChild:!0,children:s.jsx(J,{className:"text-sm text-muted-foreground mt-3 underline cursor-pointer",children:e("Preview current popup size on hover.",{ns:"settings"})})}),s.jsxs(me,{className:"gap-2 flex-wrap items-start justify-start mt-4 mb-4",children:[z5.map(($,U)=>{const K=$.width===f&&$.height===u;return s.jsxs(ye,{variant:"ghost",onClick:()=>{m($.width),h($.height)},className:"text-sm font-normal bg-slate-50 dark:bg-slate-950 ".concat(K?"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300":""," dark:text-slate-200 px-4 !py-0.5"),children:[$.iconSize&&s.jsx(hle,{size:$.iconSize,className:"mr-2"}),e($.title,{ns:"settings"})]},U)}),s.jsxs(ye,{variant:"ghost",onClick:()=>{z5.some($=>$.width===f&&$.height===u)&&(m(440),h(240))},className:"text-sm font-normal bg-slate-50 dark:bg-slate-950 ".concat(z5.some($=>$.width===f&&$.height===u)?"":"bg-slate-300 font-semibold dark:bg-slate-600 text-dark dark:text-slate-200 hover:dark:bg-slate-600 hover:bg-slate-300"," dark:text-slate-200 px-4 !py-0.5"),children:[s.jsx(ule,{size:21,className:"mr-2"}),e("Custom",{ns:"settings"})]})]}),s.jsxs(me,{className:"w-full gap-10 my-4 items-start justify-start",children:[s.jsx(er,{className:"text-md !w-36",type:"number",step:"20",max:800,min:100,error:void 0,small:!0,label:e("Maximum width",{ns:"common"}),value:f,onBlur:()=>{f<100?m(100):f>800&&m(800)},onChange:$=>{const U=$.target.value;if(U!==""){const K=parseInt(U);K&&m(K)}}}),s.jsx(er,{className:"text-md !w-36",type:"number",step:"20",max:600,min:100,error:void 0,small:!0,label:e("Maximum height",{ns:"common"}),value:u,onBlur:()=>{u<100?h(100):u>600&&h(600)},onChange:$=>{const U=$.target.value;if(U!==""){const K=parseInt(U);K&&h(K)}}})]}),s.jsx(ye,{variant:"secondary",size:"sm",disabled:f===220&&u===120,onClick:()=>{m(220),h(120)},className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200 mt-1",children:e("Reset",{ns:"common"})})]})]})}),s.jsx(kr,{h:6}),s.jsx(Pc,{to:H,replace:!0,children:s.jsx(ye,{variant:"ghost",className:"text-sm bg-slate-200 dark:bg-slate-700 dark:text-slate-200",size:"sm",children:e("Back",{ns:"common"})})}),s.jsx(kr,{h:4})]})]})}})}const w_e=[{index:!0,element:s.jsx(Vwe,{to:"history",replace:!0})},{path:"menu",element:s.jsx(f_e,{}),index:!0},{path:"history",element:s.jsx(Dje,{})},{path:"app-settings",element:s.jsx(h_e,{}),children:[{path:"collections",element:s.jsx(i3,{})},{path:"collections/new",element:s.jsx(i3,{showAddNewCollection:!0})},{path:"items",element:s.jsx(i3,{})},{path:"history",element:s.jsx(m_e,{})},{path:"preferences",element:s.jsx(b_e,{})},{path:"security",element:s.jsx(x_e,{})},{path:"license",element:s.jsx(HA,{})},{path:"license/register",element:s.jsx(HA,{registerLicense:!0})}]}],k_e=Qwe([{element:s.jsx(MCe,{}),children:[{path:"/",lazy:()=>ve(()=>Promise.resolve().then(()=>XSe),void 0),children:w_e}]}]),C_e=new gY({defaultOptions:{mutations:{networkMode:"always"},queries:{networkMode:"always",gcTime:kL?600:1e3*60*60*1,retry:zY,retryDelay:e=>Math.min(2e3*A0(2,e),3e4)}}});NO(document.getElementById("root")).render(s.jsx(p.StrictMode,{children:s.jsxs(wY,{client:C_e,children:[s.jsx(oke,{router:k_e}),kL&&s.jsx(IY,{initialIsOpen:!1,position:"bottom"})]})}));export{jt as R,p2e as a,x2e as b,Rc as c,h2e as d,p as e,nl as g,g2e as r}; diff --git a/dist-ui/assets/jinja2-BSjnTsxm.js b/dist-ui/assets/jinja2-SOpxAG1s.js similarity index 97% rename from dist-ui/assets/jinja2-BSjnTsxm.js rename to dist-ui/assets/jinja2-SOpxAG1s.js index fc1b88c2..a3755464 100644 --- a/dist-ui/assets/jinja2-BSjnTsxm.js +++ b/dist-ui/assets/jinja2-SOpxAG1s.js @@ -1 +1 @@ -import{g as b,c as p}from"./index-CHg1vBCc.js";function k(t,u){for(var r=0;ro[l]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s={exports:{}};(function(t,u){(function(r){r(p)})(function(r){r.defineMode("jinja2",function(){var o=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","do","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","set","raw","endraw","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","call","endcall","macro","endmacro","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","without","context","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","endtrans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","pluralize","autoescape","endautoescape"],l=/^[+\-*&%=<>!?|~^]/,c=/^[:\[\(\{]/,f=["true","false"],a=/^(\d[+\-\*\/])?\d+(\.\d+)?/;o=new RegExp("(("+o.join(")|(")+"))\\b"),f=new RegExp("(("+f.join(")|(")+"))\\b");function d(e,n){var i=e.peek();if(n.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(n.intag){if(n.operator){if(n.operator=!1,e.match(f))return"atom";if(e.match(a))return"number"}if(n.sign){if(n.sign=!1,e.match(f))return"atom";if(e.match(a))return"number"}if(n.instring)return i==n.instring&&(n.instring=!1),e.next(),"string";if(i=="'"||i=='"')return n.instring=i,e.next(),"string";if(n.inbraces>0&&i==")")e.next(),n.inbraces--;else if(i=="(")e.next(),n.inbraces++;else if(n.inbrackets>0&&i=="]")e.next(),n.inbrackets--;else if(i=="[")e.next(),n.inbrackets++;else{if(!n.lineTag&&(e.match(n.intag+"}")||e.eat("-")&&e.match(n.intag+"}")))return n.intag=!1,"tag";if(e.match(l))return n.operator=!0,"operator";if(e.match(c))n.sign=!0;else{if(e.column()==1&&n.lineTag&&e.match(o))return"keyword";if(e.eat(" ")||e.sol()){if(e.match(o))return"keyword";if(e.match(f))return"atom";if(e.match(a))return"number";e.sol()&&e.next()}else e.next()}}return"variable"}else if(e.eat("{")){if(e.eat("#"))return n.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(i=e.eat(/\{|%/))return n.intag=i,n.inbraces=0,n.inbrackets=0,i=="{"&&(n.intag="}"),e.eat("-"),"tag"}else if(e.eat("#")){if(e.peek()=="#")return e.skipToEnd(),"comment";if(!e.eol())return n.intag=!0,n.lineTag=!0,n.inbraces=0,n.inbrackets=0,"tag"}e.next()}return{startState:function(){return{tokenize:d,inbrackets:0,inbraces:0}},token:function(e,n){var i=n.tokenize(e,n);return e.eol()&&n.lineTag&&!n.instring&&n.inbraces==0&&n.inbrackets==0&&(n.intag=!1,n.lineTag=!1),i},blockCommentStart:"{#",blockCommentEnd:"#}",lineComment:"##"}}),r.defineMIME("text/jinja2","jinja2")})})();var g=s.exports;const h=b(g),x=k({__proto__:null,default:h},[g]);export{x as j}; +import{g as b,c as p}from"./index-rXwcQ1j1.js";function k(t,u){for(var r=0;ro[l]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var s={exports:{}};(function(t,u){(function(r){r(p)})(function(r){r.defineMode("jinja2",function(){var o=["and","as","block","endblock","by","cycle","debug","else","elif","extends","filter","endfilter","firstof","do","for","endfor","if","endif","ifchanged","endifchanged","ifequal","endifequal","ifnotequal","set","raw","endraw","endifnotequal","in","include","load","not","now","or","parsed","regroup","reversed","spaceless","call","endcall","macro","endmacro","endspaceless","ssi","templatetag","openblock","closeblock","openvariable","closevariable","without","context","openbrace","closebrace","opencomment","closecomment","widthratio","url","with","endwith","get_current_language","trans","endtrans","noop","blocktrans","endblocktrans","get_available_languages","get_current_language_bidi","pluralize","autoescape","endautoescape"],l=/^[+\-*&%=<>!?|~^]/,c=/^[:\[\(\{]/,f=["true","false"],a=/^(\d[+\-\*\/])?\d+(\.\d+)?/;o=new RegExp("(("+o.join(")|(")+"))\\b"),f=new RegExp("(("+f.join(")|(")+"))\\b");function d(e,n){var i=e.peek();if(n.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(n.intag){if(n.operator){if(n.operator=!1,e.match(f))return"atom";if(e.match(a))return"number"}if(n.sign){if(n.sign=!1,e.match(f))return"atom";if(e.match(a))return"number"}if(n.instring)return i==n.instring&&(n.instring=!1),e.next(),"string";if(i=="'"||i=='"')return n.instring=i,e.next(),"string";if(n.inbraces>0&&i==")")e.next(),n.inbraces--;else if(i=="(")e.next(),n.inbraces++;else if(n.inbrackets>0&&i=="]")e.next(),n.inbrackets--;else if(i=="[")e.next(),n.inbrackets++;else{if(!n.lineTag&&(e.match(n.intag+"}")||e.eat("-")&&e.match(n.intag+"}")))return n.intag=!1,"tag";if(e.match(l))return n.operator=!0,"operator";if(e.match(c))n.sign=!0;else{if(e.column()==1&&n.lineTag&&e.match(o))return"keyword";if(e.eat(" ")||e.sol()){if(e.match(o))return"keyword";if(e.match(f))return"atom";if(e.match(a))return"number";e.sol()&&e.next()}else e.next()}}return"variable"}else if(e.eat("{")){if(e.eat("#"))return n.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(i=e.eat(/\{|%/))return n.intag=i,n.inbraces=0,n.inbrackets=0,i=="{"&&(n.intag="}"),e.eat("-"),"tag"}else if(e.eat("#")){if(e.peek()=="#")return e.skipToEnd(),"comment";if(!e.eol())return n.intag=!0,n.lineTag=!0,n.inbraces=0,n.inbrackets=0,"tag"}e.next()}return{startState:function(){return{tokenize:d,inbrackets:0,inbraces:0}},token:function(e,n){var i=n.tokenize(e,n);return e.eol()&&n.lineTag&&!n.instring&&n.inbraces==0&&n.inbrackets==0&&(n.intag=!1,n.lineTag=!1),i},blockCommentStart:"{#",blockCommentEnd:"#}",lineComment:"##"}}),r.defineMIME("text/jinja2","jinja2")})})();var g=s.exports;const h=b(g),x=k({__proto__:null,default:h},[g]);export{x as j}; diff --git a/dist-ui/assets/jsx-DQifwWUh.js b/dist-ui/assets/jsx-BTyhp-q8.js similarity index 97% rename from dist-ui/assets/jsx-DQifwWUh.js rename to dist-ui/assets/jsx-BTyhp-q8.js index 6a6e347b..6585e8b6 100644 --- a/dist-ui/assets/jsx-DQifwWUh.js +++ b/dist-ui/assets/jsx-BTyhp-q8.js @@ -1 +1 @@ -import{g as b,c as w,r as S,a as E}from"./index-CHg1vBCc.js";function O(l,v){for(var r=0;rs[u]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var T={exports:{}};(function(l,v){(function(r){r(w,S(),E())})(function(r){function s(i,c,a,o){this.state=i,this.mode=c,this.depth=a,this.prev=o}function u(i){return new s(r.copyState(i.mode,i.state),i.mode,i.depth,i.prev&&u(i.prev))}r.defineMode("jsx",function(i,c){var a=r.getMode(i,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),o=r.getMode(i,c&&c.base||"javascript");function j(e){var n=e.tagName;e.tagName=null;var t=a.indent(e,"","");return e.tagName=n,t}function g(e,n){return n.context.mode==a?x(e,n,n.context):y(e,n,n.context)}function x(e,n,t){if(t.depth==2)return e.match(/^.*?\*\//)?t.depth=1:e.skipToEnd(),"comment";if(e.peek()=="{"){a.skipAttribute(t.state);var f=j(t.state),p=t.state.context;if(p&&e.match(/^[^>]*>\s*$/,!1)){for(;p.prev&&!p.startOfLine;)p=p.prev;p.startOfLine?f-=i.indentUnit:t.prev.state.lexical&&(f=t.prev.state.lexical.indented)}else t.depth==1&&(f+=i.indentUnit);return n.context=new s(r.startState(o,f),o,0,n.context),null}if(t.depth==1){if(e.peek()=="<")return a.skipAttribute(t.state),n.context=new s(r.startState(a,j(t.state)),a,0,n.context),null;if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return t.depth=2,g(e,n)}var h=a.token(e,t.state),d=e.current(),k;return/\btag\b/.test(h)?/>$/.test(d)?t.state.context?t.depth=0:n.context=n.context.prev:/^-1&&e.backUp(d.length-k),h}function y(e,n,t){if(e.peek()=="<"&&!e.match(/^<([^<>]|<[^>]*>)+,\s*>/,!1)&&o.expressionAllowed(e,t.state))return n.context=new s(r.startState(a,o.indent(t.state,"","")),a,0,n.context),o.skipExpression(t.state),null;var f=o.token(e,t.state);if(!f&&t.depth!=null){var p=e.current();p=="{"?t.depth++:p=="}"&&--t.depth==0&&(n.context=n.context.prev)}return f}return{startState:function(){return{context:new s(r.startState(o),o)}},copyState:function(e){return{context:u(e.context)}},token:g,indent:function(e,n,t){return e.context.mode.indent(e.context.state,n,t)},innerMode:function(e){return e.context}}},"xml","javascript"),r.defineMIME("text/jsx","jsx"),r.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();var m=T.exports;const N=b(m),M=O({__proto__:null,default:N},[m]);export{M as j}; +import{g as b,c as w,r as S,a as E}from"./index-rXwcQ1j1.js";function O(l,v){for(var r=0;rs[u]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var T={exports:{}};(function(l,v){(function(r){r(w,S(),E())})(function(r){function s(i,c,a,o){this.state=i,this.mode=c,this.depth=a,this.prev=o}function u(i){return new s(r.copyState(i.mode,i.state),i.mode,i.depth,i.prev&&u(i.prev))}r.defineMode("jsx",function(i,c){var a=r.getMode(i,{name:"xml",allowMissing:!0,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),o=r.getMode(i,c&&c.base||"javascript");function j(e){var n=e.tagName;e.tagName=null;var t=a.indent(e,"","");return e.tagName=n,t}function g(e,n){return n.context.mode==a?x(e,n,n.context):y(e,n,n.context)}function x(e,n,t){if(t.depth==2)return e.match(/^.*?\*\//)?t.depth=1:e.skipToEnd(),"comment";if(e.peek()=="{"){a.skipAttribute(t.state);var f=j(t.state),p=t.state.context;if(p&&e.match(/^[^>]*>\s*$/,!1)){for(;p.prev&&!p.startOfLine;)p=p.prev;p.startOfLine?f-=i.indentUnit:t.prev.state.lexical&&(f=t.prev.state.lexical.indented)}else t.depth==1&&(f+=i.indentUnit);return n.context=new s(r.startState(o,f),o,0,n.context),null}if(t.depth==1){if(e.peek()=="<")return a.skipAttribute(t.state),n.context=new s(r.startState(a,j(t.state)),a,0,n.context),null;if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return t.depth=2,g(e,n)}var h=a.token(e,t.state),d=e.current(),k;return/\btag\b/.test(h)?/>$/.test(d)?t.state.context?t.depth=0:n.context=n.context.prev:/^-1&&e.backUp(d.length-k),h}function y(e,n,t){if(e.peek()=="<"&&!e.match(/^<([^<>]|<[^>]*>)+,\s*>/,!1)&&o.expressionAllowed(e,t.state))return n.context=new s(r.startState(a,o.indent(t.state,"","")),a,0,n.context),o.skipExpression(t.state),null;var f=o.token(e,t.state);if(!f&&t.depth!=null){var p=e.current();p=="{"?t.depth++:p=="}"&&--t.depth==0&&(n.context=n.context.prev)}return f}return{startState:function(){return{context:new s(r.startState(o),o)}},copyState:function(e){return{context:u(e.context)}},token:g,indent:function(e,n,t){return e.context.mode.indent(e.context.state,n,t)},innerMode:function(e){return e.context}}},"xml","javascript"),r.defineMIME("text/jsx","jsx"),r.defineMIME("text/typescript-jsx",{name:"jsx",base:{name:"javascript",typescript:!0}})})})();var m=T.exports;const N=b(m),M=O({__proto__:null,default:N},[m]);export{M as j}; diff --git a/dist-ui/assets/julia-BRve5DA5.js b/dist-ui/assets/julia-DUPqlAYL.js similarity index 98% rename from dist-ui/assets/julia-BRve5DA5.js rename to dist-ui/assets/julia-DUPqlAYL.js index e25e6fb3..8147b5db 100644 --- a/dist-ui/assets/julia-BRve5DA5.js +++ b/dist-ui/assets/julia-DUPqlAYL.js @@ -1 +1 @@ -import{g as H,c as J}from"./index-CHg1vBCc.js";function K(p,s){for(var u=0;uf[t]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var Q={exports:{}};(function(p,s){(function(u){u(J)})(function(u){u.defineMode("julia",function(f,t){function o(n,e,i){return typeof i=="undefined"&&(i=""),typeof e=="undefined"&&(e="\\b"),new RegExp("^"+i+"(("+n.join(")|(")+"))"+e)}var b="\\\\[0-7]{1,3}",m="\\\\x[A-Fa-f0-9]{1,2}",y="\\\\[abefnrtv0%?'\"\\\\]",x="([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])",h=["[<>]:","[<>=]=","<<=?",">>>?=?","=>","--?>","<--[->]?","\\/\\/","\\.{2,3}","[\\.\\\\%*+\\-<>!\\/^|&]=?","\\?","\\$","~",":"],E=t.operators||o(["[<>]:","[<>=]=","[!=]==","<<=?",">>>?=?","=>?","--?>","<--[->]?","\\/\\/","[\\\\%*+\\-<>!\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),z=t.delimiters||/^[;,()[\]{}]/,_=t.identifiers||/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,A=o([b,m,y,x],"'"),j=["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"],C=["end","else","elseif","catch","finally"],d=["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"],v=["true","false","nothing","NaN","Inf"];u.registerHelper("hintWords","julia",d.concat(v));var w=o(j),D=o(C),P=o(d),T=o(v),O=/^@[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,S=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,B=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/,$=o(h,"","@"),G=o(h,"",":");function k(n){return n.nestedArrays>0}function I(n){return n.nestedGenerators>0}function F(n,e){return typeof e=="undefined"&&(e=0),n.scopes.length<=e?null:n.scopes[n.scopes.length-(e+1)]}function a(n,e){if(n.match("#=",!1))return e.tokenize=N,e.tokenize(n,e);var i=e.leavingExpr;if(n.sol()&&(i=!1),e.leavingExpr=!1,i&&n.match(/^'+/))return"operator";if(n.match(/\.{4,}/))return"error";if(n.match(/\.{1,3}/))return"operator";if(n.eatSpace())return null;var r=n.peek();if(r==="#")return n.skipToEnd(),"comment";if(r==="["&&(e.scopes.push("["),e.nestedArrays++),r==="("&&(e.scopes.push("("),e.nestedGenerators++),k(e)&&r==="]"){for(;e.scopes.length&&F(e)!=="[";)e.scopes.pop();e.scopes.pop(),e.nestedArrays--,e.leavingExpr=!0}if(I(e)&&r===")"){for(;e.scopes.length&&F(e)!=="(";)e.scopes.pop();e.scopes.pop(),e.nestedGenerators--,e.leavingExpr=!0}if(k(e)){if(e.lastToken=="end"&&n.match(":"))return"operator";if(n.match("end"))return"number"}var c;if((c=n.match(w,!1))&&e.scopes.push(c[0]),n.match(D,!1)&&e.scopes.pop(),n.match(/^::(?![:\$])/))return e.tokenize=Z,e.tokenize(n,e);if(!i&&(n.match(S)||n.match(G)))return"builtin";if(n.match(E))return"operator";if(n.match(/^\.?\d/,!1)){var U=RegExp(/^im\b/),l=!1;if(n.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(l=!0),n.match(/^0x[0-9a-f_]+/i)&&(l=!0),n.match(/^0b[01_]+/i)&&(l=!0),n.match(/^0o[0-7_]+/i)&&(l=!0),n.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(l=!0),n.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)&&(l=!0),l)return n.match(U),e.leavingExpr=!0,"number"}if(n.match("'"))return e.tokenize=R,e.tokenize(n,e);if(n.match(B))return e.tokenize=q(n.current()),e.tokenize(n,e);if(n.match(O)||n.match($))return"meta";if(n.match(z))return null;if(n.match(P))return"keyword";if(n.match(T))return"builtin";var W=e.isDefinition||e.lastToken=="function"||e.lastToken=="macro"||e.lastToken=="type"||e.lastToken=="struct"||e.lastToken=="immutable";return n.match(_)?W?n.peek()==="."?(e.isDefinition=!0,"variable"):(e.isDefinition=!1,"def"):(e.leavingExpr=!0,"variable"):(n.next(),"error")}function Z(n,e){return n.match(/.*?(?=[,;{}()=\s]|$)/),n.match("{")?e.nestedParameters++:n.match("}")&&e.nestedParameters>0&&e.nestedParameters--,e.nestedParameters>0?n.match(/.*?(?={|})/)||n.next():e.nestedParameters==0&&(e.tokenize=a),"builtin"}function N(n,e){return n.match("#=")&&e.nestedComments++,n.match(/.*?(?=(#=|=#))/)||n.skipToEnd(),n.match("=#")&&(e.nestedComments--,e.nestedComments==0&&(e.tokenize=a)),"comment"}function R(n,e){var i=!1,r;if(n.match(A))i=!0;else if(r=n.match(/\\u([a-f0-9]{1,4})(?=')/i)){var c=parseInt(r[1],16);(c<=55295||c>=57344)&&(i=!0,n.next())}else if(r=n.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var c=parseInt(r[1],16);c<=1114111&&(i=!0,n.next())}return i?(e.leavingExpr=!0,e.tokenize=a,"string"):(n.match(/^[^']+(?=')/)||n.skipToEnd(),n.match("'")&&(e.tokenize=a),"error")}function q(n){n.substr(-3)==='"""'?n='"""':n.substr(-1)==='"'&&(n='"');function e(i,r){if(i.eat("\\"))i.next();else{if(i.match(n))return r.tokenize=a,r.leavingExpr=!0,"string";i.eat(/[`"]/)}return i.eatWhile(/[^\\`"]/),"string"}return e}var M={startState:function(){return{tokenize:a,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedArrays:0,nestedComments:0,nestedGenerators:0,nestedParameters:0,firstParenPos:-1}},token:function(n,e){var i=e.tokenize(n,e),r=n.current();return r&&i&&(e.lastToken=r),i},indent:function(n,e){var i=0;return(e==="]"||e===")"||/^end\b/.test(e)||/^else/.test(e)||/^catch\b/.test(e)||/^elseif\b/.test(e)||/^finally/.test(e))&&(i=-1),(n.scopes.length+i)*f.indentUnit},electricInput:/\b(end|else|catch|finally)\b/,blockCommentStart:"#=",blockCommentEnd:"=#",lineComment:"#",closeBrackets:'()[]{}""',fold:"indent"};return M}),u.defineMIME("text/x-julia","julia")})})();var g=Q.exports;const V=H(g),Y=K({__proto__:null,default:V},[g]);export{Y as j}; +import{g as H,c as J}from"./index-rXwcQ1j1.js";function K(p,s){for(var u=0;uf[t]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var Q={exports:{}};(function(p,s){(function(u){u(J)})(function(u){u.defineMode("julia",function(f,t){function o(n,e,i){return typeof i=="undefined"&&(i=""),typeof e=="undefined"&&(e="\\b"),new RegExp("^"+i+"(("+n.join(")|(")+"))"+e)}var b="\\\\[0-7]{1,3}",m="\\\\x[A-Fa-f0-9]{1,2}",y="\\\\[abefnrtv0%?'\"\\\\]",x="([^\\u0027\\u005C\\uD800-\\uDFFF]|[\\uD800-\\uDFFF][\\uDC00-\\uDFFF])",h=["[<>]:","[<>=]=","<<=?",">>>?=?","=>","--?>","<--[->]?","\\/\\/","\\.{2,3}","[\\.\\\\%*+\\-<>!\\/^|&]=?","\\?","\\$","~",":"],E=t.operators||o(["[<>]:","[<>=]=","[!=]==","<<=?",">>>?=?","=>?","--?>","<--[->]?","\\/\\/","[\\\\%*+\\-<>!\\/^|&\\u00F7\\u22BB]=?","\\?","\\$","~",":","\\u00D7","\\u2208","\\u2209","\\u220B","\\u220C","\\u2218","\\u221A","\\u221B","\\u2229","\\u222A","\\u2260","\\u2264","\\u2265","\\u2286","\\u2288","\\u228A","\\u22C5","\\b(in|isa)\\b(?!.?\\()"],""),z=t.delimiters||/^[;,()[\]{}]/,_=t.identifiers||/^[_A-Za-z\u00A1-\u2217\u2219-\uFFFF][\w\u00A1-\u2217\u2219-\uFFFF]*!*/,A=o([b,m,y,x],"'"),j=["begin","function","type","struct","immutable","let","macro","for","while","quote","if","else","elseif","try","finally","catch","do"],C=["end","else","elseif","catch","finally"],d=["if","else","elseif","while","for","begin","let","end","do","try","catch","finally","return","break","continue","global","local","const","export","import","importall","using","function","where","macro","module","baremodule","struct","type","mutable","immutable","quote","typealias","abstract","primitive","bitstype"],v=["true","false","nothing","NaN","Inf"];u.registerHelper("hintWords","julia",d.concat(v));var w=o(j),D=o(C),P=o(d),T=o(v),O=/^@[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,S=/^:[_A-Za-z\u00A1-\uFFFF][\w\u00A1-\uFFFF]*!*/,B=/^(`|([_A-Za-z\u00A1-\uFFFF]*"("")?))/,$=o(h,"","@"),G=o(h,"",":");function k(n){return n.nestedArrays>0}function I(n){return n.nestedGenerators>0}function F(n,e){return typeof e=="undefined"&&(e=0),n.scopes.length<=e?null:n.scopes[n.scopes.length-(e+1)]}function a(n,e){if(n.match("#=",!1))return e.tokenize=N,e.tokenize(n,e);var i=e.leavingExpr;if(n.sol()&&(i=!1),e.leavingExpr=!1,i&&n.match(/^'+/))return"operator";if(n.match(/\.{4,}/))return"error";if(n.match(/\.{1,3}/))return"operator";if(n.eatSpace())return null;var r=n.peek();if(r==="#")return n.skipToEnd(),"comment";if(r==="["&&(e.scopes.push("["),e.nestedArrays++),r==="("&&(e.scopes.push("("),e.nestedGenerators++),k(e)&&r==="]"){for(;e.scopes.length&&F(e)!=="[";)e.scopes.pop();e.scopes.pop(),e.nestedArrays--,e.leavingExpr=!0}if(I(e)&&r===")"){for(;e.scopes.length&&F(e)!=="(";)e.scopes.pop();e.scopes.pop(),e.nestedGenerators--,e.leavingExpr=!0}if(k(e)){if(e.lastToken=="end"&&n.match(":"))return"operator";if(n.match("end"))return"number"}var c;if((c=n.match(w,!1))&&e.scopes.push(c[0]),n.match(D,!1)&&e.scopes.pop(),n.match(/^::(?![:\$])/))return e.tokenize=Z,e.tokenize(n,e);if(!i&&(n.match(S)||n.match(G)))return"builtin";if(n.match(E))return"operator";if(n.match(/^\.?\d/,!1)){var U=RegExp(/^im\b/),l=!1;if(n.match(/^0x\.[0-9a-f_]+p[\+\-]?[_\d]+/i)&&(l=!0),n.match(/^0x[0-9a-f_]+/i)&&(l=!0),n.match(/^0b[01_]+/i)&&(l=!0),n.match(/^0o[0-7_]+/i)&&(l=!0),n.match(/^(?:(?:\d[_\d]*)?\.(?!\.)(?:\d[_\d]*)?|\d[_\d]*\.(?!\.)(?:\d[_\d]*))?([Eef][\+\-]?[_\d]+)?/i)&&(l=!0),n.match(/^\d[_\d]*(e[\+\-]?\d+)?/i)&&(l=!0),l)return n.match(U),e.leavingExpr=!0,"number"}if(n.match("'"))return e.tokenize=R,e.tokenize(n,e);if(n.match(B))return e.tokenize=q(n.current()),e.tokenize(n,e);if(n.match(O)||n.match($))return"meta";if(n.match(z))return null;if(n.match(P))return"keyword";if(n.match(T))return"builtin";var W=e.isDefinition||e.lastToken=="function"||e.lastToken=="macro"||e.lastToken=="type"||e.lastToken=="struct"||e.lastToken=="immutable";return n.match(_)?W?n.peek()==="."?(e.isDefinition=!0,"variable"):(e.isDefinition=!1,"def"):(e.leavingExpr=!0,"variable"):(n.next(),"error")}function Z(n,e){return n.match(/.*?(?=[,;{}()=\s]|$)/),n.match("{")?e.nestedParameters++:n.match("}")&&e.nestedParameters>0&&e.nestedParameters--,e.nestedParameters>0?n.match(/.*?(?={|})/)||n.next():e.nestedParameters==0&&(e.tokenize=a),"builtin"}function N(n,e){return n.match("#=")&&e.nestedComments++,n.match(/.*?(?=(#=|=#))/)||n.skipToEnd(),n.match("=#")&&(e.nestedComments--,e.nestedComments==0&&(e.tokenize=a)),"comment"}function R(n,e){var i=!1,r;if(n.match(A))i=!0;else if(r=n.match(/\\u([a-f0-9]{1,4})(?=')/i)){var c=parseInt(r[1],16);(c<=55295||c>=57344)&&(i=!0,n.next())}else if(r=n.match(/\\U([A-Fa-f0-9]{5,8})(?=')/)){var c=parseInt(r[1],16);c<=1114111&&(i=!0,n.next())}return i?(e.leavingExpr=!0,e.tokenize=a,"string"):(n.match(/^[^']+(?=')/)||n.skipToEnd(),n.match("'")&&(e.tokenize=a),"error")}function q(n){n.substr(-3)==='"""'?n='"""':n.substr(-1)==='"'&&(n='"');function e(i,r){if(i.eat("\\"))i.next();else{if(i.match(n))return r.tokenize=a,r.leavingExpr=!0,"string";i.eat(/[`"]/)}return i.eatWhile(/[^\\`"]/),"string"}return e}var M={startState:function(){return{tokenize:a,scopes:[],lastToken:null,leavingExpr:!1,isDefinition:!1,nestedArrays:0,nestedComments:0,nestedGenerators:0,nestedParameters:0,firstParenPos:-1}},token:function(n,e){var i=e.tokenize(n,e),r=n.current();return r&&i&&(e.lastToken=r),i},indent:function(n,e){var i=0;return(e==="]"||e===")"||/^end\b/.test(e)||/^else/.test(e)||/^catch\b/.test(e)||/^elseif\b/.test(e)||/^finally/.test(e))&&(i=-1),(n.scopes.length+i)*f.indentUnit},electricInput:/\b(end|else|catch|finally)\b/,blockCommentStart:"#=",blockCommentEnd:"=#",lineComment:"#",closeBrackets:'()[]{}""',fold:"indent"};return M}),u.defineMIME("text/x-julia","julia")})})();var g=Q.exports;const V=H(g),Y=K({__proto__:null,default:V},[g]);export{Y as j}; diff --git a/dist-ui/assets/livescript-CL9_nJ9e.js b/dist-ui/assets/livescript-BdOzkfgu.js similarity index 98% rename from dist-ui/assets/livescript-CL9_nJ9e.js rename to dist-ui/assets/livescript-BdOzkfgu.js index e6837837..3ac688cf 100644 --- a/dist-ui/assets/livescript-CL9_nJ9e.js +++ b/dist-ui/assets/livescript-BdOzkfgu.js @@ -1 +1 @@ -import{g as b,c as E}from"./index-CHg1vBCc.js";function A(l,d){for(var g=0;gn[i]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var q={exports:{}};(function(l,d){(function(g){g(E)})(function(g){g.defineMode("livescript",function(){var w=function(e,t){var a=t.next||"start";if(a){t.next=t.next;var p=s[a];if(p.splice){for(var y=0;y|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*"+n+")?))\\s*$"),r="(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))",x={token:"string",regex:".+"},s={start:[{token:"comment.doc",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)"+r},{token:"constant.language",regex:"(?:true|false|yes|no|on|off|null|void|undefined)"+r},{token:"invalid.illegal",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)"+r},{token:"language.support.class",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)"+r},{token:"language.support.function",regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)"+r},{token:"variable.language",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)"+r},{token:"identifier",regex:n+"\\s*:(?![:=])"},{token:"variable",regex:n},{token:"keyword.operator",regex:"(?:\\.{3}|\\s+\\?)"},{token:"keyword.variable",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"keyword.operator",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"string.doc",regex:"'''",next:"qdoc"},{token:"string.doc",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"<\\[",next:"words"},{token:"string.regex",regex:"//",next:"heregex"},{token:"string.regex",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",next:"key"},{token:"constant.numeric",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"lparen",regex:"[({[]"},{token:"rparen",regex:"[)}\\]]",next:"key"},{token:"keyword.operator",regex:"\\S+"},{token:"text",regex:"\\s+"}],heregex:[{token:"string.regex",regex:".*?//[gimy$?]{0,4}",next:"start"},{token:"string.regex",regex:"\\s*#{"},{token:"comment.regex",regex:"\\s+(?:#.*)?"},{token:"string.regex",regex:"\\S+"}],key:[{token:"keyword.operator",regex:"[.?@!]+"},{token:"identifier",regex:n,next:"start"},{token:"text",regex:"",next:"start"}],comment:[{token:"comment.doc",regex:".*?\\*/",next:"start"},{token:"comment.doc",regex:".+"}],qdoc:[{token:"string",regex:".*?'''",next:"key"},x],qqdoc:[{token:"string",regex:'.*?"""',next:"key"},x],qstring:[{token:"string",regex:"[^\\\\']*(?:\\\\.[^\\\\']*)*'",next:"key"},x],qqstring:[{token:"string",regex:'[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',next:"key"},x],js:[{token:"string",regex:"[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",next:"key"},x],words:[{token:"string",regex:".*?\\]>",next:"key"},x]};for(var f in s){var c=s[f];if(c.splice)for(var k=0,m=c.length;kn[i]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var q={exports:{}};(function(l,d){(function(g){g(E)})(function(g){g.defineMode("livescript",function(){var w=function(e,t){var a=t.next||"start";if(a){t.next=t.next;var p=s[a];if(p.splice){for(var y=0;y|\\b(?:e(?:lse|xport)|d(?:o|efault)|t(?:ry|hen)|finally|import(?:\\s*all)?|const|var|let|new|catch(?:\\s*"+n+")?))\\s*$"),r="(?![$\\w]|-[A-Za-z]|\\s*:(?![:=]))",x={token:"string",regex:".+"},s={start:[{token:"comment.doc",regex:"/\\*",next:"comment"},{token:"comment",regex:"#.*"},{token:"keyword",regex:"(?:t(?:h(?:is|row|en)|ry|ypeof!?)|c(?:on(?:tinue|st)|a(?:se|tch)|lass)|i(?:n(?:stanceof)?|mp(?:ort(?:\\s+all)?|lements)|[fs])|d(?:e(?:fault|lete|bugger)|o)|f(?:or(?:\\s+own)?|inally|unction)|s(?:uper|witch)|e(?:lse|x(?:tends|port)|val)|a(?:nd|rguments)|n(?:ew|ot)|un(?:less|til)|w(?:hile|ith)|o[fr]|return|break|let|var|loop)"+r},{token:"constant.language",regex:"(?:true|false|yes|no|on|off|null|void|undefined)"+r},{token:"invalid.illegal",regex:"(?:p(?:ackage|r(?:ivate|otected)|ublic)|i(?:mplements|nterface)|enum|static|yield)"+r},{token:"language.support.class",regex:"(?:R(?:e(?:gExp|ferenceError)|angeError)|S(?:tring|yntaxError)|E(?:rror|valError)|Array|Boolean|Date|Function|Number|Object|TypeError|URIError)"+r},{token:"language.support.function",regex:"(?:is(?:NaN|Finite)|parse(?:Int|Float)|Math|JSON|(?:en|de)codeURI(?:Component)?)"+r},{token:"variable.language",regex:"(?:t(?:hat|il|o)|f(?:rom|allthrough)|it|by|e)"+r},{token:"identifier",regex:n+"\\s*:(?![:=])"},{token:"variable",regex:n},{token:"keyword.operator",regex:"(?:\\.{3}|\\s+\\?)"},{token:"keyword.variable",regex:"(?:@+|::|\\.\\.)",next:"key"},{token:"keyword.operator",regex:"\\.\\s*",next:"key"},{token:"string",regex:"\\\\\\S[^\\s,;)}\\]]*"},{token:"string.doc",regex:"'''",next:"qdoc"},{token:"string.doc",regex:'"""',next:"qqdoc"},{token:"string",regex:"'",next:"qstring"},{token:"string",regex:'"',next:"qqstring"},{token:"string",regex:"`",next:"js"},{token:"string",regex:"<\\[",next:"words"},{token:"string.regex",regex:"//",next:"heregex"},{token:"string.regex",regex:"\\/(?:[^[\\/\\n\\\\]*(?:(?:\\\\.|\\[[^\\]\\n\\\\]*(?:\\\\.[^\\]\\n\\\\]*)*\\])[^[\\/\\n\\\\]*)*)\\/[gimy$]{0,4}",next:"key"},{token:"constant.numeric",regex:"(?:0x[\\da-fA-F][\\da-fA-F_]*|(?:[2-9]|[12]\\d|3[0-6])r[\\da-zA-Z][\\da-zA-Z_]*|(?:\\d[\\d_]*(?:\\.\\d[\\d_]*)?|\\.\\d[\\d_]*)(?:e[+-]?\\d[\\d_]*)?[\\w$]*)"},{token:"lparen",regex:"[({[]"},{token:"rparen",regex:"[)}\\]]",next:"key"},{token:"keyword.operator",regex:"\\S+"},{token:"text",regex:"\\s+"}],heregex:[{token:"string.regex",regex:".*?//[gimy$?]{0,4}",next:"start"},{token:"string.regex",regex:"\\s*#{"},{token:"comment.regex",regex:"\\s+(?:#.*)?"},{token:"string.regex",regex:"\\S+"}],key:[{token:"keyword.operator",regex:"[.?@!]+"},{token:"identifier",regex:n,next:"start"},{token:"text",regex:"",next:"start"}],comment:[{token:"comment.doc",regex:".*?\\*/",next:"start"},{token:"comment.doc",regex:".+"}],qdoc:[{token:"string",regex:".*?'''",next:"key"},x],qqdoc:[{token:"string",regex:'.*?"""',next:"key"},x],qstring:[{token:"string",regex:"[^\\\\']*(?:\\\\.[^\\\\']*)*'",next:"key"},x],qqstring:[{token:"string",regex:'[^\\\\"]*(?:\\\\.[^\\\\"]*)*"',next:"key"},x],js:[{token:"string",regex:"[^\\\\`]*(?:\\\\.[^\\\\`]*)*`",next:"key"},x],words:[{token:"string",regex:".*?\\]>",next:"key"},x]};for(var f in s){var c=s[f];if(c.splice)for(var k=0,m=c.length;ko[l]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var S={exports:{}};(function(c,f){(function(a){a(D)})(function(a){a.defineMode("lua",function(o,l){var u=o.indentUnit;function b(e){return new RegExp("^(?:"+e.join("|")+")","i")}function s(e){return new RegExp("^(?:"+e.join("|")+")$","i")}var v=s(l.specials||[]),k=s(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),x=s(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),w=s(["function","if","repeat","do","\\(","{"]),y=s(["end","until","\\)","}"]),E=b(["end","until","\\)","}","else","elseif"]);function p(e){for(var n=0;e.eat("=");)++n;return e.eat("["),n}function g(e,n){var t=e.next();return t=="-"&&e.eat("-")?e.eat("[")&&e.eat("[")?(n.cur=m(p(e),"comment"))(e,n):(e.skipToEnd(),"comment"):t=='"'||t=="'"?(n.cur=_(t))(e,n):t=="["&&/[\[=]/.test(e.peek())?(n.cur=m(p(e),"string"))(e,n):/\d/.test(t)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(t)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null}function m(e,n){return function(t,r){for(var i=null,d;(d=t.next())!=null;)if(i==null)d=="]"&&(i=0);else if(d=="=")++i;else if(d=="]"&&i==e){r.cur=g;break}else i=null;return n}}function _(e){return function(n,t){for(var r=!1,i;(i=n.next())!=null&&!(i==e&&!r);)r=!r&&i=="\\";return r||(t.cur=g),"string"}}return{startState:function(e){return{basecol:e||0,indentDepth:0,cur:g}},token:function(e,n){if(e.eatSpace())return null;var t=n.cur(e,n),r=e.current();return t=="variable"&&(x.test(r)?t="keyword":k.test(r)?t="builtin":v.test(r)&&(t="variable-2")),t!="comment"&&t!="string"&&(w.test(r)?++n.indentDepth:y.test(r)&&--n.indentDepth),t},indent:function(e,n){var t=E.test(n);return e.basecol+u*(e.indentDepth-(t?1:0))},electricInput:/^\s*(?:end|until|else|\)|\})$/,lineComment:"--",blockCommentStart:"--[[",blockCommentEnd:"]]"}}),a.defineMIME("text/x-lua","lua")})})();var h=S.exports;const R=j(h),T=O({__proto__:null,default:R},[h]);export{T as l}; +import{g as j,c as D}from"./index-rXwcQ1j1.js";function O(c,f){for(var a=0;ao[l]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var S={exports:{}};(function(c,f){(function(a){a(D)})(function(a){a.defineMode("lua",function(o,l){var u=o.indentUnit;function b(e){return new RegExp("^(?:"+e.join("|")+")","i")}function s(e){return new RegExp("^(?:"+e.join("|")+")$","i")}var v=s(l.specials||[]),k=s(["_G","_VERSION","assert","collectgarbage","dofile","error","getfenv","getmetatable","ipairs","load","loadfile","loadstring","module","next","pairs","pcall","print","rawequal","rawget","rawset","require","select","setfenv","setmetatable","tonumber","tostring","type","unpack","xpcall","coroutine.create","coroutine.resume","coroutine.running","coroutine.status","coroutine.wrap","coroutine.yield","debug.debug","debug.getfenv","debug.gethook","debug.getinfo","debug.getlocal","debug.getmetatable","debug.getregistry","debug.getupvalue","debug.setfenv","debug.sethook","debug.setlocal","debug.setmetatable","debug.setupvalue","debug.traceback","close","flush","lines","read","seek","setvbuf","write","io.close","io.flush","io.input","io.lines","io.open","io.output","io.popen","io.read","io.stderr","io.stdin","io.stdout","io.tmpfile","io.type","io.write","math.abs","math.acos","math.asin","math.atan","math.atan2","math.ceil","math.cos","math.cosh","math.deg","math.exp","math.floor","math.fmod","math.frexp","math.huge","math.ldexp","math.log","math.log10","math.max","math.min","math.modf","math.pi","math.pow","math.rad","math.random","math.randomseed","math.sin","math.sinh","math.sqrt","math.tan","math.tanh","os.clock","os.date","os.difftime","os.execute","os.exit","os.getenv","os.remove","os.rename","os.setlocale","os.time","os.tmpname","package.cpath","package.loaded","package.loaders","package.loadlib","package.path","package.preload","package.seeall","string.byte","string.char","string.dump","string.find","string.format","string.gmatch","string.gsub","string.len","string.lower","string.match","string.rep","string.reverse","string.sub","string.upper","table.concat","table.insert","table.maxn","table.remove","table.sort"]),x=s(["and","break","elseif","false","nil","not","or","return","true","function","end","if","then","else","do","while","repeat","until","for","in","local"]),w=s(["function","if","repeat","do","\\(","{"]),y=s(["end","until","\\)","}"]),E=b(["end","until","\\)","}","else","elseif"]);function p(e){for(var n=0;e.eat("=");)++n;return e.eat("["),n}function g(e,n){var t=e.next();return t=="-"&&e.eat("-")?e.eat("[")&&e.eat("[")?(n.cur=m(p(e),"comment"))(e,n):(e.skipToEnd(),"comment"):t=='"'||t=="'"?(n.cur=_(t))(e,n):t=="["&&/[\[=]/.test(e.peek())?(n.cur=m(p(e),"string"))(e,n):/\d/.test(t)?(e.eatWhile(/[\w.%]/),"number"):/[\w_]/.test(t)?(e.eatWhile(/[\w\\\-_.]/),"variable"):null}function m(e,n){return function(t,r){for(var i=null,d;(d=t.next())!=null;)if(i==null)d=="]"&&(i=0);else if(d=="=")++i;else if(d=="]"&&i==e){r.cur=g;break}else i=null;return n}}function _(e){return function(n,t){for(var r=!1,i;(i=n.next())!=null&&!(i==e&&!r);)r=!r&&i=="\\";return r||(t.cur=g),"string"}}return{startState:function(e){return{basecol:e||0,indentDepth:0,cur:g}},token:function(e,n){if(e.eatSpace())return null;var t=n.cur(e,n),r=e.current();return t=="variable"&&(x.test(r)?t="keyword":k.test(r)?t="builtin":v.test(r)&&(t="variable-2")),t!="comment"&&t!="string"&&(w.test(r)?++n.indentDepth:y.test(r)&&--n.indentDepth),t},indent:function(e,n){var t=E.test(n);return e.basecol+u*(e.indentDepth-(t?1:0))},electricInput:/^\s*(?:end|until|else|\)|\})$/,lineComment:"--",blockCommentStart:"--[[",blockCommentEnd:"]]"}}),a.defineMIME("text/x-lua","lua")})})();var h=S.exports;const R=j(h),T=O({__proto__:null,default:R},[h]);export{T as l}; diff --git a/dist-ui/assets/markdown-r8Vp79di.js b/dist-ui/assets/markdown-BZTq6yLV.js similarity index 74% rename from dist-ui/assets/markdown-r8Vp79di.js rename to dist-ui/assets/markdown-BZTq6yLV.js index 7dd9bb39..f0f88952 100644 --- a/dist-ui/assets/markdown-r8Vp79di.js +++ b/dist-ui/assets/markdown-BZTq6yLV.js @@ -1 +1 @@ -import{g as s}from"./index-CHg1vBCc.js";import{r as i}from"./markdown-CntkxWxg.js";function c(t,a){for(var o=0;or[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const m=s(f),d=c({__proto__:null,default:m},[f]);export{d as m}; +import{g as s}from"./index-rXwcQ1j1.js";import{r as i}from"./markdown-Ci5MD4xz.js";function c(t,a){for(var o=0;or[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=i();const m=s(f),d=c({__proto__:null,default:m},[f]);export{d as m}; diff --git a/dist-ui/assets/markdown-CntkxWxg.js b/dist-ui/assets/markdown-Ci5MD4xz.js similarity index 99% rename from dist-ui/assets/markdown-CntkxWxg.js rename to dist-ui/assets/markdown-Ci5MD4xz.js index cf9b8ea6..7f2f1097 100644 --- a/dist-ui/assets/markdown-CntkxWxg.js +++ b/dist-ui/assets/markdown-Ci5MD4xz.js @@ -1 +1 @@ -import{c as fi,r as oi,d as hi}from"./index-CHg1vBCc.js";var O={exports:{}},z;function ki(){return z||(z=1,function(ci,ti){(function(c){c(fi,oi(),hi())})(function(c){c.defineMode("markdown",function(I,u){var k=c.getMode(I,"text/html"),H=k.name=="null";function U(n){if(c.findModeByName){var i=c.findModeByName(n);i&&(n=i.mime||i.mimes[0])}var l=c.getMode(I,n);return l.name=="null"?null:l}u.highlightFormatting===void 0&&(u.highlightFormatting=!1),u.maxBlockquoteDepth===void 0&&(u.maxBlockquoteDepth=0),u.taskLists===void 0&&(u.taskLists=!1),u.strikethrough===void 0&&(u.strikethrough=!1),u.emoji===void 0&&(u.emoji=!1),u.fencedCodeBlockHighlighting===void 0&&(u.fencedCodeBlockHighlighting=!0),u.fencedCodeBlockDefaultMode===void 0&&(u.fencedCodeBlockDefaultMode="text/plain"),u.xml===void 0&&(u.xml=!0),u.tokenTypeOverrides===void 0&&(u.tokenTypeOverrides={});var f={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var B in f)f.hasOwnProperty(B)&&u.tokenTypeOverrides[B]&&(f[B]=u.tokenTypeOverrides[B]);var W=/^([*\-_])(?:\s*\1){2,}\s*$/,P=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,R=/^\[(x| )\](?=\s)/i,X=u.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,G=/^ {0,3}(?:\={1,}|-{2,})\s*$/,J=/^[^#!\[\]*_\\<>` "'(~:]+/,K=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Q=/^\s*\[[^\]]+?\]:.*$/,F=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,V=" ";function b(n,i,l){return i.f=i.inline=l,l(n,i)}function y(n,i,l){return i.f=i.block=l,l(n,i)}function Y(n){return!n||!/\S/.test(n.string)}function j(n){if(n.linkTitle=!1,n.linkHref=!1,n.linkText=!1,n.em=!1,n.strong=!1,n.strikethrough=!1,n.quote=0,n.indentedCode=!1,n.f==S){var i=H;if(!i){var l=c.innerMode(k,n.htmlState);i=l.mode.name=="xml"&&l.state.tagStart===null&&!l.state.context&&l.state.tokenize.isInText}i&&(n.f=d,n.block=A,n.htmlState=null)}return n.trailingSpace=0,n.trailingSpaceNewLine=!1,n.prevLine=n.thisLine,n.thisLine={stream:null},null}function A(n,i){var l=n.column()===i.indentation,o=Y(i.prevLine.stream),r=i.indentedCode,g=i.prevLine.hr,L=i.list!==!1,a=(i.listStack[i.listStack.length-1]||0)+3;i.indentedCode=!1;var D=i.indentation;if(i.indentationDiff===null&&(i.indentationDiff=i.indentation,L)){for(i.list=null;D=4&&(r||i.prevLine.fencedCodeEnd||i.prevLine.header||o))return n.skipToEnd(),i.indentedCode=!0,f.code;if(n.eatSpace())return null;if(l&&i.indentation<=a&&(t=n.match(X))&&t[1].length<=6)return i.quote=0,i.header=t[1].length,i.thisLine.header=!0,u.highlightFormatting&&(i.formatting="header"),i.f=i.inline,e(i);if(i.indentation<=a&&n.eat(">"))return i.quote=l?1:i.quote+1,u.highlightFormatting&&(i.formatting="quote"),n.eatSpace(),e(i);if(!h&&!i.setext&&l&&i.indentation<=a&&(t=n.match(P))){var T=t[1]?"ol":"ul";return i.indentation=D+n.current().length,i.list=!0,i.quote=0,i.listStack.push(i.indentation),i.em=!1,i.strong=!1,i.code=!1,i.strikethrough=!1,u.taskLists&&n.match(R,!1)&&(i.taskList=!0),i.f=i.inline,u.highlightFormatting&&(i.formatting=["list","list-"+T]),e(i)}else{if(l&&i.indentation<=a&&(t=n.match(K,!0)))return i.quote=0,i.fencedEndRE=new RegExp(t[1]+"+ *$"),i.localMode=u.fencedCodeBlockHighlighting&&U(t[2]||u.fencedCodeBlockDefaultMode),i.localMode&&(i.localState=c.startState(i.localMode)),i.f=i.block=Z,u.highlightFormatting&&(i.formatting="code-block"),i.code=-1,e(i);if(i.setext||(!p||!L)&&!i.quote&&i.list===!1&&!i.code&&!h&&!Q.test(n.string)&&(t=n.lookAhead(1))&&(t=t.match(G)))return i.setext?(i.header=i.setext,i.setext=0,n.skipToEnd(),u.highlightFormatting&&(i.formatting="header")):(i.header=t[0].charAt(0)=="="?1:2,i.setext=i.header),i.thisLine.header=!0,i.f=i.inline,e(i);if(h)return n.skipToEnd(),i.hr=!0,i.thisLine.hr=!0,f.hr;if(n.peek()==="[")return b(n,i,ni)}return b(n,i,i.inline)}function S(n,i){var l=k.token(n,i.htmlState);if(!H){var o=c.innerMode(k,i.htmlState);(o.mode.name=="xml"&&o.state.tagStart===null&&!o.state.context&&o.state.tokenize.isInText||i.md_inside&&n.current().indexOf(">")>-1)&&(i.f=d,i.block=A,i.htmlState=null)}return l}function Z(n,i){var l=i.listStack[i.listStack.length-1]||0,o=i.indentation=n.quote?i.push(f.formatting+"-"+n.formatting[l]+"-"+n.quote):i.push("error"))}if(n.taskOpen)return i.push("meta"),i.length?i.join(" "):null;if(n.taskClosed)return i.push("property"),i.length?i.join(" "):null;if(n.linkHref?i.push(f.linkHref,"url"):(n.strong&&i.push(f.strong),n.em&&i.push(f.em),n.strikethrough&&i.push(f.strikethrough),n.emoji&&i.push(f.emoji),n.linkText&&i.push(f.linkText),n.code&&i.push(f.code),n.image&&i.push(f.image),n.imageAltText&&i.push(f.imageAltText,"link"),n.imageMarker&&i.push(f.imageMarker)),n.header&&i.push(f.header,f.header+"-"+n.header),n.quote&&(i.push(f.quote),!u.maxBlockquoteDepth||u.maxBlockquoteDepth>=n.quote?i.push(f.quote+"-"+n.quote):i.push(f.quote+"-"+u.maxBlockquoteDepth)),n.list!==!1){var o=(n.listStack.length-1)%3;o?o===1?i.push(f.list2):i.push(f.list3):i.push(f.list1)}return n.trailingSpaceNewLine?i.push("trailing-space-new-line"):n.trailingSpace&&i.push("trailing-space-"+(n.trailingSpace%2?"a":"b")),i.length?i.join(" "):null}function C(n,i){if(n.match(J,!0))return e(i)}function d(n,i){var l=i.text(n,i);if(typeof l!="undefined")return l;if(i.list)return i.list=null,e(i);if(i.taskList){var o=n.match(R,!0)[1]===" ";return o?i.taskOpen=!0:i.taskClosed=!0,u.highlightFormatting&&(i.formatting="task"),i.taskList=!1,e(i)}if(i.taskOpen=!1,i.taskClosed=!1,i.header&&n.match(/^#+$/,!0))return u.highlightFormatting&&(i.formatting="header"),e(i);var r=n.next();if(i.linkTitle){i.linkTitle=!1;var g=r;r==="("&&(g=")"),g=(g+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var L="^\\s*(?:[^"+g+"\\\\]+|\\\\\\\\|\\\\.)"+g;if(n.match(new RegExp(L),!0))return f.linkHref}if(r==="`"){var a=i.formatting;u.highlightFormatting&&(i.formatting="code"),n.eatWhile("`");var D=n.current().length;if(i.code==0&&(!i.quote||D==1))return i.code=D,e(i);if(D==i.code){var p=e(i);return i.code=0,p}else return i.formatting=a,e(i)}else if(i.code)return e(i);if(r==="\\"&&(n.next(),u.highlightFormatting)){var h=e(i),t=f.formatting+"-escape";return h?h+" "+t:t}if(r==="!"&&n.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return i.imageMarker=!0,i.image=!0,u.highlightFormatting&&(i.formatting="image"),e(i);if(r==="["&&i.imageMarker&&n.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return i.imageMarker=!1,i.imageAltText=!0,u.highlightFormatting&&(i.formatting="image"),e(i);if(r==="]"&&i.imageAltText){u.highlightFormatting&&(i.formatting="image");var h=e(i);return i.imageAltText=!1,i.image=!1,i.inline=i.f=N,h}if(r==="["&&!i.image)return i.linkText&&n.match(/^.*?\]/)||(i.linkText=!0,u.highlightFormatting&&(i.formatting="link")),e(i);if(r==="]"&&i.linkText){u.highlightFormatting&&(i.formatting="link");var h=e(i);return i.linkText=!1,i.inline=i.f=n.match(/\(.*?\)| ?\[.*?\]/,!1)?N:d,h}if(r==="<"&&n.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=_,u.highlightFormatting&&(i.formatting="link");var h=e(i);return h?h+=" ":h="",h+f.linkInline}if(r==="<"&&n.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=_,u.highlightFormatting&&(i.formatting="link");var h=e(i);return h?h+=" ":h="",h+f.linkEmail}if(u.xml&&r==="<"&&n.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var T=n.string.indexOf(">",n.pos);if(T!=-1){var ei=n.string.substring(n.start,T);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(ei)&&(i.md_inside=!0)}return n.backUp(1),i.htmlState=c.startState(k),y(n,i,S)}if(u.xml&&r==="<"&&n.match(/^\/\w*?>/))return i.md_inside=!1,"tag";if(r==="*"||r==="_"){for(var q=1,m=n.pos==1?" ":n.string.charAt(n.pos-2);q<3&&n.eat(r);)q++;var E=n.peek()||" ",w=!/\s/.test(E)&&(!F.test(E)||/\s/.test(m)||F.test(m)),M=!/\s/.test(m)&&(!F.test(m)||/\s/.test(E)||F.test(E)),x=null,v=null;if(q%2&&(!i.em&&w&&(r==="*"||!M||F.test(m))?x=!0:i.em==r&&M&&(r==="*"||!w||F.test(E))&&(x=!1)),q>1&&(!i.strong&&w&&(r==="*"||!M||F.test(m))?v=!0:i.strong==r&&M&&(r==="*"||!w||F.test(E))&&(v=!1)),v!=null||x!=null){u.highlightFormatting&&(i.formatting=x==null?"strong":v==null?"em":"strong em"),x===!0&&(i.em=r),v===!0&&(i.strong=r);var p=e(i);return x===!1&&(i.em=!1),v===!1&&(i.strong=!1),p}}else if(r===" "&&(n.eat("*")||n.eat("_"))){if(n.peek()===" ")return e(i);n.backUp(1)}if(u.strikethrough){if(r==="~"&&n.eatWhile(r)){if(i.strikethrough){u.highlightFormatting&&(i.formatting="strikethrough");var p=e(i);return i.strikethrough=!1,p}else if(n.match(/^[^\s]/,!1))return i.strikethrough=!0,u.highlightFormatting&&(i.formatting="strikethrough"),e(i)}else if(r===" "&&n.match("~~",!0)){if(n.peek()===" ")return e(i);n.backUp(2)}}if(u.emoji&&r===":"&&n.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){i.emoji=!0,u.highlightFormatting&&(i.formatting="emoji");var ri=e(i);return i.emoji=!1,ri}return r===" "&&(n.match(/^ +$/,!1)?i.trailingSpace++:i.trailingSpace&&(i.trailingSpaceNewLine=!0)),e(i)}function _(n,i){var l=n.next();if(l===">"){i.f=i.inline=d,u.highlightFormatting&&(i.formatting="link");var o=e(i);return o?o+=" ":o="",o+f.linkInline}return n.match(/^[^>]+/,!0),f.linkInline}function N(n,i){if(n.eatSpace())return null;var l=n.next();return l==="("||l==="["?(i.f=i.inline=ii(l==="("?")":"]"),u.highlightFormatting&&(i.formatting="link-string"),i.linkHref=!0,e(i)):"error"}var s={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ii(n){return function(i,l){var o=i.next();if(o===n){l.f=l.inline=d,u.highlightFormatting&&(l.formatting="link-string");var r=e(l);return l.linkHref=!1,r}return i.match(s[n]),l.linkHref=!0,e(l)}}function ni(n,i){return n.match(/^([^\]\\]|\\.)*\]:/,!1)?(i.f=ui,n.next(),u.highlightFormatting&&(i.formatting="link"),i.linkText=!0,e(i)):b(n,i,d)}function ui(n,i){if(n.match("]:",!0)){i.f=i.inline=li,u.highlightFormatting&&(i.formatting="link");var l=e(i);return i.linkText=!1,l}return n.match(/^([^\]\\]|\\.)+/,!0),f.linkText}function li(n,i){return n.eatSpace()?null:(n.match(/^[^\s]+/,!0),n.peek()===void 0?i.linkTitle=!0:n.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),i.f=i.inline=d,f.linkHref+" url")}var $={startState:function(){return{f:A,prevLine:{stream:null},thisLine:{stream:null},block:A,htmlState:null,indentation:0,inline:d,text:C,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(n){return{f:n.f,prevLine:n.prevLine,thisLine:n.thisLine,block:n.block,htmlState:n.htmlState&&c.copyState(k,n.htmlState),indentation:n.indentation,localMode:n.localMode,localState:n.localMode?c.copyState(n.localMode,n.localState):null,inline:n.inline,text:n.text,formatting:!1,linkText:n.linkText,linkTitle:n.linkTitle,linkHref:n.linkHref,code:n.code,em:n.em,strong:n.strong,strikethrough:n.strikethrough,emoji:n.emoji,header:n.header,setext:n.setext,hr:n.hr,taskList:n.taskList,list:n.list,listStack:n.listStack.slice(0),quote:n.quote,indentedCode:n.indentedCode,trailingSpace:n.trailingSpace,trailingSpaceNewLine:n.trailingSpaceNewLine,md_inside:n.md_inside,fencedEndRE:n.fencedEndRE}},token:function(n,i){if(i.formatting=!1,n!=i.thisLine.stream){if(i.header=0,i.hr=!1,n.match(/^\s*$/,!0))return j(i),null;if(i.prevLine=i.thisLine,i.thisLine={stream:n},i.taskList=!1,i.trailingSpace=0,i.trailingSpaceNewLine=!1,!i.localState&&(i.f=i.block,i.f!=S)){var l=n.match(/^\s*/,!0)[0].replace(/\t/g,V).length;if(i.indentation=l,i.indentationDiff=null,l>0)return null}}return i.f(n,i)},innerMode:function(n){return n.block==S?{state:n.htmlState,mode:k}:n.localState?{state:n.localState,mode:n.localMode}:{state:n,mode:$}},indent:function(n,i,l){return n.block==S&&k.indent?k.indent(n.htmlState,i,l):n.localState&&n.localMode.indent?n.localMode.indent(n.localState,i,l):c.Pass},blankLine:j,getType:e,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return $},"xml"),c.defineMIME("text/markdown","markdown"),c.defineMIME("text/x-markdown","markdown")})}()),O.exports}export{ki as r}; +import{c as fi,r as oi,d as hi}from"./index-rXwcQ1j1.js";var O={exports:{}},z;function ki(){return z||(z=1,function(ci,ti){(function(c){c(fi,oi(),hi())})(function(c){c.defineMode("markdown",function(I,u){var k=c.getMode(I,"text/html"),H=k.name=="null";function U(n){if(c.findModeByName){var i=c.findModeByName(n);i&&(n=i.mime||i.mimes[0])}var l=c.getMode(I,n);return l.name=="null"?null:l}u.highlightFormatting===void 0&&(u.highlightFormatting=!1),u.maxBlockquoteDepth===void 0&&(u.maxBlockquoteDepth=0),u.taskLists===void 0&&(u.taskLists=!1),u.strikethrough===void 0&&(u.strikethrough=!1),u.emoji===void 0&&(u.emoji=!1),u.fencedCodeBlockHighlighting===void 0&&(u.fencedCodeBlockHighlighting=!0),u.fencedCodeBlockDefaultMode===void 0&&(u.fencedCodeBlockDefaultMode="text/plain"),u.xml===void 0&&(u.xml=!0),u.tokenTypeOverrides===void 0&&(u.tokenTypeOverrides={});var f={header:"header",code:"comment",quote:"quote",list1:"variable-2",list2:"variable-3",list3:"keyword",hr:"hr",image:"image",imageAltText:"image-alt-text",imageMarker:"image-marker",formatting:"formatting",linkInline:"link",linkEmail:"link",linkText:"link",linkHref:"string",em:"em",strong:"strong",strikethrough:"strikethrough",emoji:"builtin"};for(var B in f)f.hasOwnProperty(B)&&u.tokenTypeOverrides[B]&&(f[B]=u.tokenTypeOverrides[B]);var W=/^([*\-_])(?:\s*\1){2,}\s*$/,P=/^(?:[*\-+]|^[0-9]+([.)]))\s+/,R=/^\[(x| )\](?=\s)/i,X=u.allowAtxHeaderWithoutSpace?/^(#+)/:/^(#+)(?: |$)/,G=/^ {0,3}(?:\={1,}|-{2,})\s*$/,J=/^[^#!\[\]*_\\<>` "'(~:]+/,K=/^(~~~+|```+)[ \t]*([\w\/+#-]*)[^\n`]*$/,Q=/^\s*\[[^\]]+?\]:.*$/,F=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E42\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC9\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDF3C-\uDF3E]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]/,V=" ";function b(n,i,l){return i.f=i.inline=l,l(n,i)}function y(n,i,l){return i.f=i.block=l,l(n,i)}function Y(n){return!n||!/\S/.test(n.string)}function j(n){if(n.linkTitle=!1,n.linkHref=!1,n.linkText=!1,n.em=!1,n.strong=!1,n.strikethrough=!1,n.quote=0,n.indentedCode=!1,n.f==S){var i=H;if(!i){var l=c.innerMode(k,n.htmlState);i=l.mode.name=="xml"&&l.state.tagStart===null&&!l.state.context&&l.state.tokenize.isInText}i&&(n.f=d,n.block=A,n.htmlState=null)}return n.trailingSpace=0,n.trailingSpaceNewLine=!1,n.prevLine=n.thisLine,n.thisLine={stream:null},null}function A(n,i){var l=n.column()===i.indentation,o=Y(i.prevLine.stream),r=i.indentedCode,g=i.prevLine.hr,L=i.list!==!1,a=(i.listStack[i.listStack.length-1]||0)+3;i.indentedCode=!1;var D=i.indentation;if(i.indentationDiff===null&&(i.indentationDiff=i.indentation,L)){for(i.list=null;D=4&&(r||i.prevLine.fencedCodeEnd||i.prevLine.header||o))return n.skipToEnd(),i.indentedCode=!0,f.code;if(n.eatSpace())return null;if(l&&i.indentation<=a&&(t=n.match(X))&&t[1].length<=6)return i.quote=0,i.header=t[1].length,i.thisLine.header=!0,u.highlightFormatting&&(i.formatting="header"),i.f=i.inline,e(i);if(i.indentation<=a&&n.eat(">"))return i.quote=l?1:i.quote+1,u.highlightFormatting&&(i.formatting="quote"),n.eatSpace(),e(i);if(!h&&!i.setext&&l&&i.indentation<=a&&(t=n.match(P))){var T=t[1]?"ol":"ul";return i.indentation=D+n.current().length,i.list=!0,i.quote=0,i.listStack.push(i.indentation),i.em=!1,i.strong=!1,i.code=!1,i.strikethrough=!1,u.taskLists&&n.match(R,!1)&&(i.taskList=!0),i.f=i.inline,u.highlightFormatting&&(i.formatting=["list","list-"+T]),e(i)}else{if(l&&i.indentation<=a&&(t=n.match(K,!0)))return i.quote=0,i.fencedEndRE=new RegExp(t[1]+"+ *$"),i.localMode=u.fencedCodeBlockHighlighting&&U(t[2]||u.fencedCodeBlockDefaultMode),i.localMode&&(i.localState=c.startState(i.localMode)),i.f=i.block=Z,u.highlightFormatting&&(i.formatting="code-block"),i.code=-1,e(i);if(i.setext||(!p||!L)&&!i.quote&&i.list===!1&&!i.code&&!h&&!Q.test(n.string)&&(t=n.lookAhead(1))&&(t=t.match(G)))return i.setext?(i.header=i.setext,i.setext=0,n.skipToEnd(),u.highlightFormatting&&(i.formatting="header")):(i.header=t[0].charAt(0)=="="?1:2,i.setext=i.header),i.thisLine.header=!0,i.f=i.inline,e(i);if(h)return n.skipToEnd(),i.hr=!0,i.thisLine.hr=!0,f.hr;if(n.peek()==="[")return b(n,i,ni)}return b(n,i,i.inline)}function S(n,i){var l=k.token(n,i.htmlState);if(!H){var o=c.innerMode(k,i.htmlState);(o.mode.name=="xml"&&o.state.tagStart===null&&!o.state.context&&o.state.tokenize.isInText||i.md_inside&&n.current().indexOf(">")>-1)&&(i.f=d,i.block=A,i.htmlState=null)}return l}function Z(n,i){var l=i.listStack[i.listStack.length-1]||0,o=i.indentation=n.quote?i.push(f.formatting+"-"+n.formatting[l]+"-"+n.quote):i.push("error"))}if(n.taskOpen)return i.push("meta"),i.length?i.join(" "):null;if(n.taskClosed)return i.push("property"),i.length?i.join(" "):null;if(n.linkHref?i.push(f.linkHref,"url"):(n.strong&&i.push(f.strong),n.em&&i.push(f.em),n.strikethrough&&i.push(f.strikethrough),n.emoji&&i.push(f.emoji),n.linkText&&i.push(f.linkText),n.code&&i.push(f.code),n.image&&i.push(f.image),n.imageAltText&&i.push(f.imageAltText,"link"),n.imageMarker&&i.push(f.imageMarker)),n.header&&i.push(f.header,f.header+"-"+n.header),n.quote&&(i.push(f.quote),!u.maxBlockquoteDepth||u.maxBlockquoteDepth>=n.quote?i.push(f.quote+"-"+n.quote):i.push(f.quote+"-"+u.maxBlockquoteDepth)),n.list!==!1){var o=(n.listStack.length-1)%3;o?o===1?i.push(f.list2):i.push(f.list3):i.push(f.list1)}return n.trailingSpaceNewLine?i.push("trailing-space-new-line"):n.trailingSpace&&i.push("trailing-space-"+(n.trailingSpace%2?"a":"b")),i.length?i.join(" "):null}function C(n,i){if(n.match(J,!0))return e(i)}function d(n,i){var l=i.text(n,i);if(typeof l!="undefined")return l;if(i.list)return i.list=null,e(i);if(i.taskList){var o=n.match(R,!0)[1]===" ";return o?i.taskOpen=!0:i.taskClosed=!0,u.highlightFormatting&&(i.formatting="task"),i.taskList=!1,e(i)}if(i.taskOpen=!1,i.taskClosed=!1,i.header&&n.match(/^#+$/,!0))return u.highlightFormatting&&(i.formatting="header"),e(i);var r=n.next();if(i.linkTitle){i.linkTitle=!1;var g=r;r==="("&&(g=")"),g=(g+"").replace(/([.?*+^\[\]\\(){}|-])/g,"\\$1");var L="^\\s*(?:[^"+g+"\\\\]+|\\\\\\\\|\\\\.)"+g;if(n.match(new RegExp(L),!0))return f.linkHref}if(r==="`"){var a=i.formatting;u.highlightFormatting&&(i.formatting="code"),n.eatWhile("`");var D=n.current().length;if(i.code==0&&(!i.quote||D==1))return i.code=D,e(i);if(D==i.code){var p=e(i);return i.code=0,p}else return i.formatting=a,e(i)}else if(i.code)return e(i);if(r==="\\"&&(n.next(),u.highlightFormatting)){var h=e(i),t=f.formatting+"-escape";return h?h+" "+t:t}if(r==="!"&&n.match(/\[[^\]]*\] ?(?:\(|\[)/,!1))return i.imageMarker=!0,i.image=!0,u.highlightFormatting&&(i.formatting="image"),e(i);if(r==="["&&i.imageMarker&&n.match(/[^\]]*\](\(.*?\)| ?\[.*?\])/,!1))return i.imageMarker=!1,i.imageAltText=!0,u.highlightFormatting&&(i.formatting="image"),e(i);if(r==="]"&&i.imageAltText){u.highlightFormatting&&(i.formatting="image");var h=e(i);return i.imageAltText=!1,i.image=!1,i.inline=i.f=N,h}if(r==="["&&!i.image)return i.linkText&&n.match(/^.*?\]/)||(i.linkText=!0,u.highlightFormatting&&(i.formatting="link")),e(i);if(r==="]"&&i.linkText){u.highlightFormatting&&(i.formatting="link");var h=e(i);return i.linkText=!1,i.inline=i.f=n.match(/\(.*?\)| ?\[.*?\]/,!1)?N:d,h}if(r==="<"&&n.match(/^(https?|ftps?):\/\/(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=_,u.highlightFormatting&&(i.formatting="link");var h=e(i);return h?h+=" ":h="",h+f.linkInline}if(r==="<"&&n.match(/^[^> \\]+@(?:[^\\>]|\\.)+>/,!1)){i.f=i.inline=_,u.highlightFormatting&&(i.formatting="link");var h=e(i);return h?h+=" ":h="",h+f.linkEmail}if(u.xml&&r==="<"&&n.match(/^(!--|\?|!\[CDATA\[|[a-z][a-z0-9-]*(?:\s+[a-z_:.\-]+(?:\s*=\s*[^>]+)?)*\s*(?:>|$))/i,!1)){var T=n.string.indexOf(">",n.pos);if(T!=-1){var ei=n.string.substring(n.start,T);/markdown\s*=\s*('|"){0,1}1('|"){0,1}/.test(ei)&&(i.md_inside=!0)}return n.backUp(1),i.htmlState=c.startState(k),y(n,i,S)}if(u.xml&&r==="<"&&n.match(/^\/\w*?>/))return i.md_inside=!1,"tag";if(r==="*"||r==="_"){for(var q=1,m=n.pos==1?" ":n.string.charAt(n.pos-2);q<3&&n.eat(r);)q++;var E=n.peek()||" ",w=!/\s/.test(E)&&(!F.test(E)||/\s/.test(m)||F.test(m)),M=!/\s/.test(m)&&(!F.test(m)||/\s/.test(E)||F.test(E)),x=null,v=null;if(q%2&&(!i.em&&w&&(r==="*"||!M||F.test(m))?x=!0:i.em==r&&M&&(r==="*"||!w||F.test(E))&&(x=!1)),q>1&&(!i.strong&&w&&(r==="*"||!M||F.test(m))?v=!0:i.strong==r&&M&&(r==="*"||!w||F.test(E))&&(v=!1)),v!=null||x!=null){u.highlightFormatting&&(i.formatting=x==null?"strong":v==null?"em":"strong em"),x===!0&&(i.em=r),v===!0&&(i.strong=r);var p=e(i);return x===!1&&(i.em=!1),v===!1&&(i.strong=!1),p}}else if(r===" "&&(n.eat("*")||n.eat("_"))){if(n.peek()===" ")return e(i);n.backUp(1)}if(u.strikethrough){if(r==="~"&&n.eatWhile(r)){if(i.strikethrough){u.highlightFormatting&&(i.formatting="strikethrough");var p=e(i);return i.strikethrough=!1,p}else if(n.match(/^[^\s]/,!1))return i.strikethrough=!0,u.highlightFormatting&&(i.formatting="strikethrough"),e(i)}else if(r===" "&&n.match("~~",!0)){if(n.peek()===" ")return e(i);n.backUp(2)}}if(u.emoji&&r===":"&&n.match(/^(?:[a-z_\d+][a-z_\d+-]*|\-[a-z_\d+][a-z_\d+-]*):/)){i.emoji=!0,u.highlightFormatting&&(i.formatting="emoji");var ri=e(i);return i.emoji=!1,ri}return r===" "&&(n.match(/^ +$/,!1)?i.trailingSpace++:i.trailingSpace&&(i.trailingSpaceNewLine=!0)),e(i)}function _(n,i){var l=n.next();if(l===">"){i.f=i.inline=d,u.highlightFormatting&&(i.formatting="link");var o=e(i);return o?o+=" ":o="",o+f.linkInline}return n.match(/^[^>]+/,!0),f.linkInline}function N(n,i){if(n.eatSpace())return null;var l=n.next();return l==="("||l==="["?(i.f=i.inline=ii(l==="("?")":"]"),u.highlightFormatting&&(i.formatting="link-string"),i.linkHref=!0,e(i)):"error"}var s={")":/^(?:[^\\\(\)]|\\.|\((?:[^\\\(\)]|\\.)*\))*?(?=\))/,"]":/^(?:[^\\\[\]]|\\.|\[(?:[^\\\[\]]|\\.)*\])*?(?=\])/};function ii(n){return function(i,l){var o=i.next();if(o===n){l.f=l.inline=d,u.highlightFormatting&&(l.formatting="link-string");var r=e(l);return l.linkHref=!1,r}return i.match(s[n]),l.linkHref=!0,e(l)}}function ni(n,i){return n.match(/^([^\]\\]|\\.)*\]:/,!1)?(i.f=ui,n.next(),u.highlightFormatting&&(i.formatting="link"),i.linkText=!0,e(i)):b(n,i,d)}function ui(n,i){if(n.match("]:",!0)){i.f=i.inline=li,u.highlightFormatting&&(i.formatting="link");var l=e(i);return i.linkText=!1,l}return n.match(/^([^\]\\]|\\.)+/,!0),f.linkText}function li(n,i){return n.eatSpace()?null:(n.match(/^[^\s]+/,!0),n.peek()===void 0?i.linkTitle=!0:n.match(/^(?:\s+(?:"(?:[^"\\]|\\.)+"|'(?:[^'\\]|\\.)+'|\((?:[^)\\]|\\.)+\)))?/,!0),i.f=i.inline=d,f.linkHref+" url")}var $={startState:function(){return{f:A,prevLine:{stream:null},thisLine:{stream:null},block:A,htmlState:null,indentation:0,inline:d,text:C,formatting:!1,linkText:!1,linkHref:!1,linkTitle:!1,code:0,em:!1,strong:!1,header:0,setext:0,hr:!1,taskList:!1,list:!1,listStack:[],quote:0,trailingSpace:0,trailingSpaceNewLine:!1,strikethrough:!1,emoji:!1,fencedEndRE:null}},copyState:function(n){return{f:n.f,prevLine:n.prevLine,thisLine:n.thisLine,block:n.block,htmlState:n.htmlState&&c.copyState(k,n.htmlState),indentation:n.indentation,localMode:n.localMode,localState:n.localMode?c.copyState(n.localMode,n.localState):null,inline:n.inline,text:n.text,formatting:!1,linkText:n.linkText,linkTitle:n.linkTitle,linkHref:n.linkHref,code:n.code,em:n.em,strong:n.strong,strikethrough:n.strikethrough,emoji:n.emoji,header:n.header,setext:n.setext,hr:n.hr,taskList:n.taskList,list:n.list,listStack:n.listStack.slice(0),quote:n.quote,indentedCode:n.indentedCode,trailingSpace:n.trailingSpace,trailingSpaceNewLine:n.trailingSpaceNewLine,md_inside:n.md_inside,fencedEndRE:n.fencedEndRE}},token:function(n,i){if(i.formatting=!1,n!=i.thisLine.stream){if(i.header=0,i.hr=!1,n.match(/^\s*$/,!0))return j(i),null;if(i.prevLine=i.thisLine,i.thisLine={stream:n},i.taskList=!1,i.trailingSpace=0,i.trailingSpaceNewLine=!1,!i.localState&&(i.f=i.block,i.f!=S)){var l=n.match(/^\s*/,!0)[0].replace(/\t/g,V).length;if(i.indentation=l,i.indentationDiff=null,l>0)return null}}return i.f(n,i)},innerMode:function(n){return n.block==S?{state:n.htmlState,mode:k}:n.localState?{state:n.localState,mode:n.localMode}:{state:n,mode:$}},indent:function(n,i,l){return n.block==S&&k.indent?k.indent(n.htmlState,i,l):n.localState&&n.localMode.indent?n.localMode.indent(n.localState,i,l):c.Pass},blankLine:j,getType:e,blockCommentStart:"",closeBrackets:"()[]{}''\"\"``",fold:"markdown"};return $},"xml"),c.defineMIME("text/markdown","markdown"),c.defineMIME("text/x-markdown","markdown")})}()),O.exports}export{ki as r}; diff --git a/dist-ui/assets/mathematica-BcMa8Ojx.js b/dist-ui/assets/mathematica-CDyOJZ78.js similarity index 97% rename from dist-ui/assets/mathematica-BcMa8Ojx.js rename to dist-ui/assets/mathematica-CDyOJZ78.js index 4249584c..10d7f30d 100644 --- a/dist-ui/assets/mathematica-BcMa8Ojx.js +++ b/dist-ui/assets/mathematica-CDyOJZ78.js @@ -1 +1 @@ -import{g as k,c as x}from"./index-CHg1vBCc.js";function s(u,l){for(var a=0;ai[o]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(u,l){(function(a){a(x)})(function(a){a.defineMode("mathematica",function(i,o){var f="[a-zA-Z\\$][a-zA-Z0-9\\$]*",A="(?:\\d+)",z="(?:\\.\\d+|\\d+\\.\\d*|\\d+)",$="(?:\\.\\w+|\\w+\\.\\w*|\\w+)",p="(?:`(?:`?"+z+")?)",Z=new RegExp("(?:"+A+"(?:\\^\\^"+$+p+"?(?:\\*\\^[+-]?\\d+)?))"),h=new RegExp("(?:"+z+p+"?(?:\\*\\^[+-]?\\d+)?)"),d=new RegExp("(?:`?)(?:"+f+")(?:`(?:"+f+"))*(?:`?)");function m(e,t){var r;return r=e.next(),r==='"'?(t.tokenize=b,t.tokenize(e,t)):r==="("&&e.eat("*")?(t.commentLevel++,t.tokenize=g,t.tokenize(e,t)):(e.backUp(1),e.match(Z,!0,!1)||e.match(h,!0,!1)?"number":e.match(/(?:In|Out)\[[0-9]*\]/,!0,!1)?"atom":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::usage)/,!0,!1)?"meta":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::[a-zA-Z\$][a-zA-Z0-9\$]*):?/,!0,!1)?"string-2":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*\s*:)(?:(?:[a-zA-Z\$][a-zA-Z0-9\$]*)|(?:[^:=>~@\^\&\*\)\[\]'\?,\|])).*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)||e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variable-2":e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1)?"variable-3":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1)?"variable-2":e.match(d,!0,!1)?"keyword":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":(e.next(),"error"))}function b(e,t){for(var r,n=!1,c=!1;(r=e.next())!=null;){if(r==='"'&&!c){n=!0;break}c=!c&&r==="\\"}return n&&!c&&(t.tokenize=m),"string"}function g(e,t){for(var r,n;t.commentLevel>0&&(n=e.next())!=null;)r==="("&&n==="*"&&t.commentLevel++,r==="*"&&n===")"&&t.commentLevel--,r=n;return t.commentLevel<=0&&(t.tokenize=m),"comment"}return{startState:function(){return{tokenize:m,commentLevel:0}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},blockCommentStart:"(*",blockCommentEnd:"*)"}}),a.defineMIME("text/x-mathematica",{name:"mathematica"})})})();var v=w.exports;const _=k(v),E=s({__proto__:null,default:_},[v]);export{E as m}; +import{g as k,c as x}from"./index-rXwcQ1j1.js";function s(u,l){for(var a=0;ai[o]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(u,l){(function(a){a(x)})(function(a){a.defineMode("mathematica",function(i,o){var f="[a-zA-Z\\$][a-zA-Z0-9\\$]*",A="(?:\\d+)",z="(?:\\.\\d+|\\d+\\.\\d*|\\d+)",$="(?:\\.\\w+|\\w+\\.\\w*|\\w+)",p="(?:`(?:`?"+z+")?)",Z=new RegExp("(?:"+A+"(?:\\^\\^"+$+p+"?(?:\\*\\^[+-]?\\d+)?))"),h=new RegExp("(?:"+z+p+"?(?:\\*\\^[+-]?\\d+)?)"),d=new RegExp("(?:`?)(?:"+f+")(?:`(?:"+f+"))*(?:`?)");function m(e,t){var r;return r=e.next(),r==='"'?(t.tokenize=b,t.tokenize(e,t)):r==="("&&e.eat("*")?(t.commentLevel++,t.tokenize=g,t.tokenize(e,t)):(e.backUp(1),e.match(Z,!0,!1)||e.match(h,!0,!1)?"number":e.match(/(?:In|Out)\[[0-9]*\]/,!0,!1)?"atom":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::usage)/,!0,!1)?"meta":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*(?:`[a-zA-Z0-9\$]+)*::[a-zA-Z\$][a-zA-Z0-9\$]*):?/,!0,!1)?"string-2":e.match(/([a-zA-Z\$][a-zA-Z0-9\$]*\s*:)(?:(?:[a-zA-Z\$][a-zA-Z0-9\$]*)|(?:[^:=>~@\^\&\*\)\[\]'\?,\|])).*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)||e.match(/[a-zA-Z\$][a-zA-Z0-9\$]*_+/,!0,!1)||e.match(/_+[a-zA-Z\$][a-zA-Z0-9\$]*/,!0,!1)?"variable-2":e.match(/\\\[[a-zA-Z\$][a-zA-Z0-9\$]*\]/,!0,!1)?"variable-3":e.match(/(?:\[|\]|{|}|\(|\))/,!0,!1)?"bracket":e.match(/(?:#[a-zA-Z\$][a-zA-Z0-9\$]*|#+[0-9]?)/,!0,!1)?"variable-2":e.match(d,!0,!1)?"keyword":e.match(/(?:\\|\+|\-|\*|\/|,|;|\.|:|@|~|=|>|<|&|\||_|`|'|\^|\?|!|%)/,!0,!1)?"operator":(e.next(),"error"))}function b(e,t){for(var r,n=!1,c=!1;(r=e.next())!=null;){if(r==='"'&&!c){n=!0;break}c=!c&&r==="\\"}return n&&!c&&(t.tokenize=m),"string"}function g(e,t){for(var r,n;t.commentLevel>0&&(n=e.next())!=null;)r==="("&&n==="*"&&t.commentLevel++,r==="*"&&n===")"&&t.commentLevel--,r=n;return t.commentLevel<=0&&(t.tokenize=m),"comment"}return{startState:function(){return{tokenize:m,commentLevel:0}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)},blockCommentStart:"(*",blockCommentEnd:"*)"}}),a.defineMIME("text/x-mathematica",{name:"mathematica"})})})();var v=w.exports;const _=k(v),E=s({__proto__:null,default:_},[v]);export{E as m}; diff --git a/dist-ui/assets/mbox-m-w8VBWy.js b/dist-ui/assets/mbox-B0cSsYiX.js similarity index 96% rename from dist-ui/assets/mbox-m-w8VBWy.js rename to dist-ui/assets/mbox-B0cSsYiX.js index 721c607a..05ed4afa 100644 --- a/dist-ui/assets/mbox-m-w8VBWy.js +++ b/dist-ui/assets/mbox-B0cSsYiX.js @@ -1 +1 @@ -import{g as R,c as k}from"./index-CHg1vBCc.js";function S(u,f){for(var n=0;ni[o]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var T={exports:{}};(function(u,f){(function(n){n(k)})(function(n){var i=["From","Sender","Reply-To","To","Cc","Bcc","Message-ID","In-Reply-To","References","Resent-From","Resent-Sender","Resent-To","Resent-Cc","Resent-Bcc","Resent-Message-ID","Return-Path","Received"],o=["Date","Subject","Comments","Keywords","Resent-Date"];n.registerHelper("hintWords","mbox",i.concat(o));var a=/^[ \t]/,p=/^From /,m=new RegExp("^("+i.join("|")+"): "),s=new RegExp("^("+o.join("|")+"): "),v=/^[^:]+:/,b=/^[^ ]+@[^ ]+/,x=/^.*?(?=[^ ]+?@[^ ]+)/,H=/^<.*?>/,g=/^.*?(?=<.*>)/;function h(e){return e==="Subject"?"header":"string"}function E(e,r){if(e.sol()){if(r.inSeparator=!1,r.inHeader&&e.match(a))return null;if(r.inHeader=!1,r.header=null,e.match(p))return r.inHeaders=!0,r.inSeparator=!0,"atom";var t,c=!1;return(t=e.match(s))||(c=!0)&&(t=e.match(m))?(r.inHeaders=!0,r.inHeader=!0,r.emailPermitted=c,r.header=t[1],"atom"):r.inHeaders&&(t=e.match(v))?(r.inHeader=!0,r.emailPermitted=!0,r.header=t[1],"atom"):(r.inHeaders=!1,e.skipToEnd(),null)}if(r.inSeparator)return e.match(b)?"link":(e.match(x)||e.skipToEnd(),"atom");if(r.inHeader){var l=h(r.header);if(r.emailPermitted){if(e.match(H))return l+" link";if(e.match(g))return l}return e.skipToEnd(),l}return e.skipToEnd(),null}n.defineMode("mbox",function(){return{startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:E,blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1}}}),n.defineMIME("application/mbox","mbox")})})();var d=T.exports;const j=R(d),P=S({__proto__:null,default:j},[d]);export{P as m}; +import{g as R,c as k}from"./index-rXwcQ1j1.js";function S(u,f){for(var n=0;ni[o]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var T={exports:{}};(function(u,f){(function(n){n(k)})(function(n){var i=["From","Sender","Reply-To","To","Cc","Bcc","Message-ID","In-Reply-To","References","Resent-From","Resent-Sender","Resent-To","Resent-Cc","Resent-Bcc","Resent-Message-ID","Return-Path","Received"],o=["Date","Subject","Comments","Keywords","Resent-Date"];n.registerHelper("hintWords","mbox",i.concat(o));var a=/^[ \t]/,p=/^From /,m=new RegExp("^("+i.join("|")+"): "),s=new RegExp("^("+o.join("|")+"): "),v=/^[^:]+:/,b=/^[^ ]+@[^ ]+/,x=/^.*?(?=[^ ]+?@[^ ]+)/,H=/^<.*?>/,g=/^.*?(?=<.*>)/;function h(e){return e==="Subject"?"header":"string"}function E(e,r){if(e.sol()){if(r.inSeparator=!1,r.inHeader&&e.match(a))return null;if(r.inHeader=!1,r.header=null,e.match(p))return r.inHeaders=!0,r.inSeparator=!0,"atom";var t,c=!1;return(t=e.match(s))||(c=!0)&&(t=e.match(m))?(r.inHeaders=!0,r.inHeader=!0,r.emailPermitted=c,r.header=t[1],"atom"):r.inHeaders&&(t=e.match(v))?(r.inHeader=!0,r.emailPermitted=!0,r.header=t[1],"atom"):(r.inHeaders=!1,e.skipToEnd(),null)}if(r.inSeparator)return e.match(b)?"link":(e.match(x)||e.skipToEnd(),"atom");if(r.inHeader){var l=h(r.header);if(r.emailPermitted){if(e.match(H))return l+" link";if(e.match(g))return l}return e.skipToEnd(),l}return e.skipToEnd(),null}n.defineMode("mbox",function(){return{startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:E,blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1}}}),n.defineMIME("application/mbox","mbox")})})();var d=T.exports;const j=R(d),P=S({__proto__:null,default:j},[d]);export{P as m}; diff --git a/dist-ui/assets/mirc-STLY9E9l.js b/dist-ui/assets/mirc-CAYtG7RX.js similarity index 99% rename from dist-ui/assets/mirc-STLY9E9l.js rename to dist-ui/assets/mirc-CAYtG7RX.js index 72741e7e..143c02a0 100644 --- a/dist-ui/assets/mirc-STLY9E9l.js +++ b/dist-ui/assets/mirc-CAYtG7RX.js @@ -1 +1 @@ -import{g,c as h}from"./index-CHg1vBCc.js";function v(s,l){for(var o=0;ot[n]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(s,l){(function(o){o(h)})(function(o){o.defineMIME("text/mirc","mirc"),o.defineMode("mirc",function(){function t(e){for(var r={},$=e.split(" "),i=0;i<$.length;++i)r[$[i]]=!0;return r}var n=t("$! $$ $& $? $+ $abook $abs $active $activecid $activewid $address $addtok $agent $agentname $agentstat $agentver $alias $and $anick $ansi2mirc $aop $appactive $appstate $asc $asctime $asin $atan $avoice $away $awaymsg $awaytime $banmask $base $bfind $binoff $biton $bnick $bvar $bytes $calc $cb $cd $ceil $chan $chanmodes $chantypes $chat $chr $cid $clevel $click $cmdbox $cmdline $cnick $color $com $comcall $comchan $comerr $compact $compress $comval $cos $count $cr $crc $creq $crlf $ctime $ctimer $ctrlenter $date $day $daylight $dbuh $dbuw $dccignore $dccport $dde $ddename $debug $decode $decompress $deltok $devent $dialog $did $didreg $didtok $didwm $disk $dlevel $dll $dllcall $dname $dns $duration $ebeeps $editbox $emailaddr $encode $error $eval $event $exist $feof $ferr $fgetc $file $filename $filtered $finddir $finddirn $findfile $findfilen $findtok $fline $floor $fopen $fread $fserve $fulladdress $fulldate $fullname $fullscreen $get $getdir $getdot $gettok $gmt $group $halted $hash $height $hfind $hget $highlight $hnick $hotline $hotlinepos $ial $ialchan $ibl $idle $iel $ifmatch $ignore $iif $iil $inelipse $ini $inmidi $inpaste $inpoly $input $inrect $inroundrect $insong $instok $int $inwave $ip $isalias $isbit $isdde $isdir $isfile $isid $islower $istok $isupper $keychar $keyrpt $keyval $knick $lactive $lactivecid $lactivewid $left $len $level $lf $line $lines $link $lock $lock $locked $log $logstamp $logstampfmt $longfn $longip $lower $ltimer $maddress $mask $matchkey $matchtok $md5 $me $menu $menubar $menucontext $menutype $mid $middir $mircdir $mircexe $mircini $mklogfn $mnick $mode $modefirst $modelast $modespl $mouse $msfile $network $newnick $nick $nofile $nopath $noqt $not $notags $notify $null $numeric $numok $oline $onpoly $opnick $or $ord $os $passivedcc $pic $play $pnick $port $portable $portfree $pos $prefix $prop $protect $puttok $qt $query $rand $r $rawmsg $read $readomo $readn $regex $regml $regsub $regsubex $remove $remtok $replace $replacex $reptok $result $rgb $right $round $scid $scon $script $scriptdir $scriptline $sdir $send $server $serverip $sfile $sha1 $shortfn $show $signal $sin $site $sline $snick $snicks $snotify $sock $sockbr $sockerr $sockname $sorttok $sound $sqrt $ssl $sreq $sslready $status $strip $str $stripped $syle $submenu $switchbar $tan $target $ticks $time $timer $timestamp $timestampfmt $timezone $tip $titlebar $toolbar $treebar $trust $ulevel $ulist $upper $uptime $url $usermode $v1 $v2 $var $vcmd $vcmdstat $vcmdver $version $vnick $vol $wid $width $wildsite $wildtok $window $wrap $xor"),a=t("abook ajinvite alias aline ame amsg anick aop auser autojoin avoice away background ban bcopy beep bread break breplace bset btrunc bunset bwrite channel clear clearall cline clipboard close cnick color comclose comopen comreg continue copy creq ctcpreply ctcps dcc dccserver dde ddeserver debug dec describe dialog did didtok disable disconnect dlevel dline dll dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace drawrot drawsave drawscroll drawtext ebeeps echo editbox emailaddr enable events exit fclose filter findtext finger firewall flash flist flood flush flushini font fopen fseek fsend fserve fullname fwrite ghide gload gmove gopts goto gplay gpoint gqreq groups gshow gsize gstop gtalk gunload hadd halt haltdef hdec hdel help hfree hinc hload hmake hop hsave ial ialclear ialmark identd if ignore iline inc invite iuser join kick linesep links list load loadbuf localinfo log mdi me menubar mkdir mnick mode msg nick noop notice notify omsg onotice part partall pdcc perform play playctrl pop protect pvoice qme qmsg query queryn quit raw reload remini remote remove rename renwin reseterror resetidle return rlevel rline rmdir run ruser save savebuf saveini say scid scon server set showmirc signam sline sockaccept sockclose socklist socklisten sockmark sockopen sockpause sockread sockrename sockudp sockwrite sound speak splay sreq strip switchbar timer timestamp titlebar tnick tokenize toolbar topic tray treebar ulist unload unset unsetall updatenl url uwho var vcadd vcmd vcrem vol while whois window winhelp write writeint if isalnum isalpha isaop isavoice isban ischan ishop isignore isin isincs isletter islower isnotify isnum ison isop isprotect isreg isupper isvoice iswm iswmcs elseif else goto menu nicklist status title icon size option text edit button check radio box scroll list combo link tab item"),d=t("if elseif else and not or eq ne in ni for foreach while switch"),m=/[+\-*&%=<>!?^\/\|]/;function p(e,r,$){return r.tokenize=$,$(e,r)}function c(e,r){var $=r.beforeParams;r.beforeParams=!1;var i=e.next();if(/[\[\]{}\(\),\.]/.test(i))return i=="("&&$?r.inParams=!0:i==")"&&(r.inParams=!1),null;if(/\d/.test(i))return e.eatWhile(/[\w\.]/),"number";if(i=="\\")return e.eat("\\"),e.eat(/./),"number";if(i=="/"&&e.eat("*"))return p(e,r,k);if(i==";"&&e.match(/ *\( *\(/))return p(e,r,b);if(i==";"&&!r.inParams)return e.skipToEnd(),"comment";if(i=='"')return e.eat(/"/),"keyword";if(i=="$")return e.eatWhile(/[$_a-z0-9A-Z\.:]/),n&&n.propertyIsEnumerable(e.current().toLowerCase())?"keyword":(r.beforeParams=!0,"builtin");if(i=="%")return e.eatWhile(/[^,\s()]/),r.beforeParams=!0,"string";if(m.test(i))return e.eatWhile(m),"operator";e.eatWhile(/[\w\$_{}]/);var f=e.current().toLowerCase();return a&&a.propertyIsEnumerable(f)?"keyword":d&&d.propertyIsEnumerable(f)?(r.beforeParams=!0,"keyword"):null}function k(e,r){for(var $=!1,i;i=e.next();){if(i=="/"&&$){r.tokenize=c;break}$=i=="*"}return"comment"}function b(e,r){for(var $=0,i;i=e.next();){if(i==";"&&$==2){r.tokenize=c;break}i==")"?$++:i!=" "&&($=0)}return"meta"}return{startState:function(){return{tokenize:c,beforeParams:!1,inParams:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)}}})})})();var u=w.exports;const y=g(u),q=v({__proto__:null,default:y},[u]);export{q as m}; +import{g,c as h}from"./index-rXwcQ1j1.js";function v(s,l){for(var o=0;ot[n]})}}}return Object.freeze(Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(s,l){(function(o){o(h)})(function(o){o.defineMIME("text/mirc","mirc"),o.defineMode("mirc",function(){function t(e){for(var r={},$=e.split(" "),i=0;i<$.length;++i)r[$[i]]=!0;return r}var n=t("$! $$ $& $? $+ $abook $abs $active $activecid $activewid $address $addtok $agent $agentname $agentstat $agentver $alias $and $anick $ansi2mirc $aop $appactive $appstate $asc $asctime $asin $atan $avoice $away $awaymsg $awaytime $banmask $base $bfind $binoff $biton $bnick $bvar $bytes $calc $cb $cd $ceil $chan $chanmodes $chantypes $chat $chr $cid $clevel $click $cmdbox $cmdline $cnick $color $com $comcall $comchan $comerr $compact $compress $comval $cos $count $cr $crc $creq $crlf $ctime $ctimer $ctrlenter $date $day $daylight $dbuh $dbuw $dccignore $dccport $dde $ddename $debug $decode $decompress $deltok $devent $dialog $did $didreg $didtok $didwm $disk $dlevel $dll $dllcall $dname $dns $duration $ebeeps $editbox $emailaddr $encode $error $eval $event $exist $feof $ferr $fgetc $file $filename $filtered $finddir $finddirn $findfile $findfilen $findtok $fline $floor $fopen $fread $fserve $fulladdress $fulldate $fullname $fullscreen $get $getdir $getdot $gettok $gmt $group $halted $hash $height $hfind $hget $highlight $hnick $hotline $hotlinepos $ial $ialchan $ibl $idle $iel $ifmatch $ignore $iif $iil $inelipse $ini $inmidi $inpaste $inpoly $input $inrect $inroundrect $insong $instok $int $inwave $ip $isalias $isbit $isdde $isdir $isfile $isid $islower $istok $isupper $keychar $keyrpt $keyval $knick $lactive $lactivecid $lactivewid $left $len $level $lf $line $lines $link $lock $lock $locked $log $logstamp $logstampfmt $longfn $longip $lower $ltimer $maddress $mask $matchkey $matchtok $md5 $me $menu $menubar $menucontext $menutype $mid $middir $mircdir $mircexe $mircini $mklogfn $mnick $mode $modefirst $modelast $modespl $mouse $msfile $network $newnick $nick $nofile $nopath $noqt $not $notags $notify $null $numeric $numok $oline $onpoly $opnick $or $ord $os $passivedcc $pic $play $pnick $port $portable $portfree $pos $prefix $prop $protect $puttok $qt $query $rand $r $rawmsg $read $readomo $readn $regex $regml $regsub $regsubex $remove $remtok $replace $replacex $reptok $result $rgb $right $round $scid $scon $script $scriptdir $scriptline $sdir $send $server $serverip $sfile $sha1 $shortfn $show $signal $sin $site $sline $snick $snicks $snotify $sock $sockbr $sockerr $sockname $sorttok $sound $sqrt $ssl $sreq $sslready $status $strip $str $stripped $syle $submenu $switchbar $tan $target $ticks $time $timer $timestamp $timestampfmt $timezone $tip $titlebar $toolbar $treebar $trust $ulevel $ulist $upper $uptime $url $usermode $v1 $v2 $var $vcmd $vcmdstat $vcmdver $version $vnick $vol $wid $width $wildsite $wildtok $window $wrap $xor"),a=t("abook ajinvite alias aline ame amsg anick aop auser autojoin avoice away background ban bcopy beep bread break breplace bset btrunc bunset bwrite channel clear clearall cline clipboard close cnick color comclose comopen comreg continue copy creq ctcpreply ctcps dcc dccserver dde ddeserver debug dec describe dialog did didtok disable disconnect dlevel dline dll dns dqwindow drawcopy drawdot drawfill drawline drawpic drawrect drawreplace drawrot drawsave drawscroll drawtext ebeeps echo editbox emailaddr enable events exit fclose filter findtext finger firewall flash flist flood flush flushini font fopen fseek fsend fserve fullname fwrite ghide gload gmove gopts goto gplay gpoint gqreq groups gshow gsize gstop gtalk gunload hadd halt haltdef hdec hdel help hfree hinc hload hmake hop hsave ial ialclear ialmark identd if ignore iline inc invite iuser join kick linesep links list load loadbuf localinfo log mdi me menubar mkdir mnick mode msg nick noop notice notify omsg onotice part partall pdcc perform play playctrl pop protect pvoice qme qmsg query queryn quit raw reload remini remote remove rename renwin reseterror resetidle return rlevel rline rmdir run ruser save savebuf saveini say scid scon server set showmirc signam sline sockaccept sockclose socklist socklisten sockmark sockopen sockpause sockread sockrename sockudp sockwrite sound speak splay sreq strip switchbar timer timestamp titlebar tnick tokenize toolbar topic tray treebar ulist unload unset unsetall updatenl url uwho var vcadd vcmd vcrem vol while whois window winhelp write writeint if isalnum isalpha isaop isavoice isban ischan ishop isignore isin isincs isletter islower isnotify isnum ison isop isprotect isreg isupper isvoice iswm iswmcs elseif else goto menu nicklist status title icon size option text edit button check radio box scroll list combo link tab item"),d=t("if elseif else and not or eq ne in ni for foreach while switch"),m=/[+\-*&%=<>!?^\/\|]/;function p(e,r,$){return r.tokenize=$,$(e,r)}function c(e,r){var $=r.beforeParams;r.beforeParams=!1;var i=e.next();if(/[\[\]{}\(\),\.]/.test(i))return i=="("&&$?r.inParams=!0:i==")"&&(r.inParams=!1),null;if(/\d/.test(i))return e.eatWhile(/[\w\.]/),"number";if(i=="\\")return e.eat("\\"),e.eat(/./),"number";if(i=="/"&&e.eat("*"))return p(e,r,k);if(i==";"&&e.match(/ *\( *\(/))return p(e,r,b);if(i==";"&&!r.inParams)return e.skipToEnd(),"comment";if(i=='"')return e.eat(/"/),"keyword";if(i=="$")return e.eatWhile(/[$_a-z0-9A-Z\.:]/),n&&n.propertyIsEnumerable(e.current().toLowerCase())?"keyword":(r.beforeParams=!0,"builtin");if(i=="%")return e.eatWhile(/[^,\s()]/),r.beforeParams=!0,"string";if(m.test(i))return e.eatWhile(m),"operator";e.eatWhile(/[\w\$_{}]/);var f=e.current().toLowerCase();return a&&a.propertyIsEnumerable(f)?"keyword":d&&d.propertyIsEnumerable(f)?(r.beforeParams=!0,"keyword"):null}function k(e,r){for(var $=!1,i;i=e.next();){if(i=="/"&&$){r.tokenize=c;break}$=i=="*"}return"comment"}function b(e,r){for(var $=0,i;i=e.next();){if(i==";"&&$==2){r.tokenize=c;break}i==")"?$++:i!=" "&&($=0)}return"meta"}return{startState:function(){return{tokenize:c,beforeParams:!1,inParams:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)}}})})})();var u=w.exports;const y=g(u),q=v({__proto__:null,default:y},[u]);export{q as m}; diff --git a/dist-ui/assets/mllike-BK2kX3Qp.js b/dist-ui/assets/mllike-Y-FcYFRA.js similarity index 98% rename from dist-ui/assets/mllike-BK2kX3Qp.js rename to dist-ui/assets/mllike-Y-FcYFRA.js index 0cc1f7d8..9c0bf533 100644 --- a/dist-ui/assets/mllike-BK2kX3Qp.js +++ b/dist-ui/assets/mllike-Y-FcYFRA.js @@ -1 +1 @@ -import{g as x,c as g}from"./index-CHg1vBCc.js";function v(k,u){for(var n=0;nl[i]})}}}return Object.freeze(Object.defineProperty(k,Symbol.toStringTag,{value:"Module"}))}var W={exports:{}};(function(k,u){(function(n){n(g)})(function(n){n.defineMode("mllike",function(l,i){var d={as:"keyword",do:"keyword",else:"keyword",end:"keyword",exception:"keyword",fun:"keyword",functor:"keyword",if:"keyword",in:"keyword",include:"keyword",let:"keyword",of:"keyword",open:"keyword",rec:"keyword",struct:"keyword",then:"keyword",type:"keyword",val:"keyword",while:"keyword",with:"keyword"},f=i.extraWords||{};for(var a in f)f.hasOwnProperty(a)&&(d[a]=i.extraWords[a]);var c=[];for(var b in d)c.push(b);n.registerHelper("hintWords","mllike",c);function y(e,r){var o=e.next();if(o==='"')return r.tokenize=m,r.tokenize(e,r);if(o==="{"&&e.eat("|"))return r.longString=!0,r.tokenize=h,r.tokenize(e,r);if(o==="("&&e.match(/^\*(?!\))/))return r.commentLevel++,r.tokenize=p,r.tokenize(e,r);if(o==="~"||o==="?")return e.eatWhile(/\w/),"variable-2";if(o==="`")return e.eatWhile(/\w/),"quote";if(o==="/"&&i.slashComments&&e.eat("/"))return e.skipToEnd(),"comment";if(/\d/.test(o))return o==="0"&&e.eat(/[bB]/)&&e.eatWhile(/[01]/),o==="0"&&e.eat(/[xX]/)&&e.eatWhile(/[0-9a-fA-F]/),o==="0"&&e.eat(/[oO]/)?e.eatWhile(/[0-7]/):(e.eatWhile(/[\d_]/),e.eat(".")&&e.eatWhile(/[\d]/),e.eat(/[eE]/)&&e.eatWhile(/[\d\-+]/)),"number";if(/[+\-*&%=<>!?|@\.~:]/.test(o))return"operator";if(/[\w\xa1-\uffff]/.test(o)){e.eatWhile(/[\w\xa1-\uffff]/);var t=e.current();return d.hasOwnProperty(t)?d[t]:"variable"}return null}function m(e,r){for(var o,t=!1,w=!1;(o=e.next())!=null;){if(o==='"'&&!w){t=!0;break}w=!w&&o==="\\"}return t&&!w&&(r.tokenize=y),"string"}function p(e,r){for(var o,t;r.commentLevel>0&&(t=e.next())!=null;)o==="("&&t==="*"&&r.commentLevel++,o==="*"&&t===")"&&r.commentLevel--,o=t;return r.commentLevel<=0&&(r.tokenize=y),"comment"}function h(e,r){for(var o,t;r.longString&&(t=e.next())!=null;)o==="|"&&t==="}"&&(r.longString=!1),o=t;return r.longString||(r.tokenize=y),"string"}return{startState:function(){return{tokenize:y,commentLevel:0,longString:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:i.slashComments?"//":null}}),n.defineMIME("text/x-ocaml",{name:"mllike",extraWords:{and:"keyword",assert:"keyword",begin:"keyword",class:"keyword",constraint:"keyword",done:"keyword",downto:"keyword",external:"keyword",function:"keyword",initializer:"keyword",lazy:"keyword",match:"keyword",method:"keyword",module:"keyword",mutable:"keyword",new:"keyword",nonrec:"keyword",object:"keyword",private:"keyword",sig:"keyword",to:"keyword",try:"keyword",value:"keyword",virtual:"keyword",when:"keyword",raise:"builtin",failwith:"builtin",true:"builtin",false:"builtin",asr:"builtin",land:"builtin",lor:"builtin",lsl:"builtin",lsr:"builtin",lxor:"builtin",mod:"builtin",or:"builtin",raise_notrace:"builtin",trace:"builtin",exit:"builtin",print_string:"builtin",print_endline:"builtin",int:"type",float:"type",bool:"type",char:"type",string:"type",unit:"type",List:"builtin"}}),n.defineMIME("text/x-fsharp",{name:"mllike",extraWords:{abstract:"keyword",assert:"keyword",base:"keyword",begin:"keyword",class:"keyword",default:"keyword",delegate:"keyword","do!":"keyword",done:"keyword",downcast:"keyword",downto:"keyword",elif:"keyword",extern:"keyword",finally:"keyword",for:"keyword",function:"keyword",global:"keyword",inherit:"keyword",inline:"keyword",interface:"keyword",internal:"keyword",lazy:"keyword","let!":"keyword",match:"keyword",member:"keyword",module:"keyword",mutable:"keyword",namespace:"keyword",new:"keyword",null:"keyword",override:"keyword",private:"keyword",public:"keyword","return!":"keyword",return:"keyword",select:"keyword",static:"keyword",to:"keyword",try:"keyword",upcast:"keyword","use!":"keyword",use:"keyword",void:"keyword",when:"keyword","yield!":"keyword",yield:"keyword",atomic:"keyword",break:"keyword",checked:"keyword",component:"keyword",const:"keyword",constraint:"keyword",constructor:"keyword",continue:"keyword",eager:"keyword",event:"keyword",external:"keyword",fixed:"keyword",method:"keyword",mixin:"keyword",object:"keyword",parallel:"keyword",process:"keyword",protected:"keyword",pure:"keyword",sealed:"keyword",tailcall:"keyword",trait:"keyword",virtual:"keyword",volatile:"keyword",List:"builtin",Seq:"builtin",Map:"builtin",Set:"builtin",Option:"builtin",int:"builtin",string:"builtin",not:"builtin",true:"builtin",false:"builtin",raise:"builtin",failwith:"builtin"},slashComments:!0}),n.defineMIME("text/x-sml",{name:"mllike",extraWords:{abstype:"keyword",and:"keyword",andalso:"keyword",case:"keyword",datatype:"keyword",fn:"keyword",handle:"keyword",infix:"keyword",infixr:"keyword",local:"keyword",nonfix:"keyword",op:"keyword",orelse:"keyword",raise:"keyword",withtype:"keyword",eqtype:"keyword",sharing:"keyword",sig:"keyword",signature:"keyword",structure:"keyword",where:"keyword",true:"keyword",false:"keyword",int:"builtin",real:"builtin",string:"builtin",char:"builtin",bool:"builtin"},slashComments:!0})})})();var s=W.exports;const z=x(s),_=v({__proto__:null,default:z},[s]);export{_ as m}; +import{g as x,c as g}from"./index-rXwcQ1j1.js";function v(k,u){for(var n=0;nl[i]})}}}return Object.freeze(Object.defineProperty(k,Symbol.toStringTag,{value:"Module"}))}var W={exports:{}};(function(k,u){(function(n){n(g)})(function(n){n.defineMode("mllike",function(l,i){var d={as:"keyword",do:"keyword",else:"keyword",end:"keyword",exception:"keyword",fun:"keyword",functor:"keyword",if:"keyword",in:"keyword",include:"keyword",let:"keyword",of:"keyword",open:"keyword",rec:"keyword",struct:"keyword",then:"keyword",type:"keyword",val:"keyword",while:"keyword",with:"keyword"},f=i.extraWords||{};for(var a in f)f.hasOwnProperty(a)&&(d[a]=i.extraWords[a]);var c=[];for(var b in d)c.push(b);n.registerHelper("hintWords","mllike",c);function y(e,r){var o=e.next();if(o==='"')return r.tokenize=m,r.tokenize(e,r);if(o==="{"&&e.eat("|"))return r.longString=!0,r.tokenize=h,r.tokenize(e,r);if(o==="("&&e.match(/^\*(?!\))/))return r.commentLevel++,r.tokenize=p,r.tokenize(e,r);if(o==="~"||o==="?")return e.eatWhile(/\w/),"variable-2";if(o==="`")return e.eatWhile(/\w/),"quote";if(o==="/"&&i.slashComments&&e.eat("/"))return e.skipToEnd(),"comment";if(/\d/.test(o))return o==="0"&&e.eat(/[bB]/)&&e.eatWhile(/[01]/),o==="0"&&e.eat(/[xX]/)&&e.eatWhile(/[0-9a-fA-F]/),o==="0"&&e.eat(/[oO]/)?e.eatWhile(/[0-7]/):(e.eatWhile(/[\d_]/),e.eat(".")&&e.eatWhile(/[\d]/),e.eat(/[eE]/)&&e.eatWhile(/[\d\-+]/)),"number";if(/[+\-*&%=<>!?|@\.~:]/.test(o))return"operator";if(/[\w\xa1-\uffff]/.test(o)){e.eatWhile(/[\w\xa1-\uffff]/);var t=e.current();return d.hasOwnProperty(t)?d[t]:"variable"}return null}function m(e,r){for(var o,t=!1,w=!1;(o=e.next())!=null;){if(o==='"'&&!w){t=!0;break}w=!w&&o==="\\"}return t&&!w&&(r.tokenize=y),"string"}function p(e,r){for(var o,t;r.commentLevel>0&&(t=e.next())!=null;)o==="("&&t==="*"&&r.commentLevel++,o==="*"&&t===")"&&r.commentLevel--,o=t;return r.commentLevel<=0&&(r.tokenize=y),"comment"}function h(e,r){for(var o,t;r.longString&&(t=e.next())!=null;)o==="|"&&t==="}"&&(r.longString=!1),o=t;return r.longString||(r.tokenize=y),"string"}return{startState:function(){return{tokenize:y,commentLevel:0,longString:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},blockCommentStart:"(*",blockCommentEnd:"*)",lineComment:i.slashComments?"//":null}}),n.defineMIME("text/x-ocaml",{name:"mllike",extraWords:{and:"keyword",assert:"keyword",begin:"keyword",class:"keyword",constraint:"keyword",done:"keyword",downto:"keyword",external:"keyword",function:"keyword",initializer:"keyword",lazy:"keyword",match:"keyword",method:"keyword",module:"keyword",mutable:"keyword",new:"keyword",nonrec:"keyword",object:"keyword",private:"keyword",sig:"keyword",to:"keyword",try:"keyword",value:"keyword",virtual:"keyword",when:"keyword",raise:"builtin",failwith:"builtin",true:"builtin",false:"builtin",asr:"builtin",land:"builtin",lor:"builtin",lsl:"builtin",lsr:"builtin",lxor:"builtin",mod:"builtin",or:"builtin",raise_notrace:"builtin",trace:"builtin",exit:"builtin",print_string:"builtin",print_endline:"builtin",int:"type",float:"type",bool:"type",char:"type",string:"type",unit:"type",List:"builtin"}}),n.defineMIME("text/x-fsharp",{name:"mllike",extraWords:{abstract:"keyword",assert:"keyword",base:"keyword",begin:"keyword",class:"keyword",default:"keyword",delegate:"keyword","do!":"keyword",done:"keyword",downcast:"keyword",downto:"keyword",elif:"keyword",extern:"keyword",finally:"keyword",for:"keyword",function:"keyword",global:"keyword",inherit:"keyword",inline:"keyword",interface:"keyword",internal:"keyword",lazy:"keyword","let!":"keyword",match:"keyword",member:"keyword",module:"keyword",mutable:"keyword",namespace:"keyword",new:"keyword",null:"keyword",override:"keyword",private:"keyword",public:"keyword","return!":"keyword",return:"keyword",select:"keyword",static:"keyword",to:"keyword",try:"keyword",upcast:"keyword","use!":"keyword",use:"keyword",void:"keyword",when:"keyword","yield!":"keyword",yield:"keyword",atomic:"keyword",break:"keyword",checked:"keyword",component:"keyword",const:"keyword",constraint:"keyword",constructor:"keyword",continue:"keyword",eager:"keyword",event:"keyword",external:"keyword",fixed:"keyword",method:"keyword",mixin:"keyword",object:"keyword",parallel:"keyword",process:"keyword",protected:"keyword",pure:"keyword",sealed:"keyword",tailcall:"keyword",trait:"keyword",virtual:"keyword",volatile:"keyword",List:"builtin",Seq:"builtin",Map:"builtin",Set:"builtin",Option:"builtin",int:"builtin",string:"builtin",not:"builtin",true:"builtin",false:"builtin",raise:"builtin",failwith:"builtin"},slashComments:!0}),n.defineMIME("text/x-sml",{name:"mllike",extraWords:{abstype:"keyword",and:"keyword",andalso:"keyword",case:"keyword",datatype:"keyword",fn:"keyword",handle:"keyword",infix:"keyword",infixr:"keyword",local:"keyword",nonfix:"keyword",op:"keyword",orelse:"keyword",raise:"keyword",withtype:"keyword",eqtype:"keyword",sharing:"keyword",sig:"keyword",signature:"keyword",structure:"keyword",where:"keyword",true:"keyword",false:"keyword",int:"builtin",real:"builtin",string:"builtin",char:"builtin",bool:"builtin"},slashComments:!0})})})();var s=W.exports;const z=x(s),_=v({__proto__:null,default:z},[s]);export{_ as m}; diff --git a/dist-ui/assets/modelica-BlzOS1NH.js b/dist-ui/assets/modelica-CAispHI7.js similarity index 98% rename from dist-ui/assets/modelica-BlzOS1NH.js rename to dist-ui/assets/modelica-CAispHI7.js index 92f7acbb..a93fc459 100644 --- a/dist-ui/assets/modelica-BlzOS1NH.js +++ b/dist-ui/assets/modelica-CAispHI7.js @@ -1 +1 @@ -import{g as _,c as P}from"./index-CHg1vBCc.js";function W(h,g){for(var r=0;rl[c]})}}}return Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var j={exports:{}};(function(h,g){(function(r){r(P)})(function(r){r.defineMode("modelica",function(o,t){var u=o.indentUnit,a=t.keywords||{},p=t.builtin||{},k=t.atoms||{},v=/[;=\(:\),{}.*<>+\-\/^\[\]]/,w=/(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/,s=/[0-9]/,b=/[_a-zA-Z]/;function x(n,e){return n.skipToEnd(),e.tokenize=null,"comment"}function E(n,e){for(var i=!1,f;f=n.next();){if(i&&f=="/"){e.tokenize=null;break}i=f=="*"}return"comment"}function S(n,e){for(var i=!1,f;(f=n.next())!=null;){if(f=='"'&&!i){e.tokenize=null,e.sol=!1;break}i=!i&&f=="\\"}return"string"}function I(n,e){for(n.eatWhile(s);n.eat(s)||n.eat(b););var i=n.current();return e.sol&&(i=="package"||i=="model"||i=="when"||i=="connector")?e.level++:e.sol&&i=="end"&&e.level>0&&e.level--,e.tokenize=null,e.sol=!1,a.propertyIsEnumerable(i)?"keyword":p.propertyIsEnumerable(i)?"builtin":k.propertyIsEnumerable(i)?"atom":"variable"}function O(n,e){for(;n.eat(/[^']/););return e.tokenize=null,e.sol=!1,n.eat("'")?"variable":"error"}function D(n,e){return n.eatWhile(s),n.eat(".")&&n.eatWhile(s),(n.eat("e")||n.eat("E"))&&(n.eat("-")||n.eat("+"),n.eatWhile(s)),e.tokenize=null,e.sol=!1,"number"}return{startState:function(){return{tokenize:null,level:0,sol:!0}},token:function(n,e){if(e.tokenize!=null)return e.tokenize(n,e);if(n.sol()&&(e.sol=!0),n.eatSpace())return e.tokenize=null,null;var i=n.next();if(i=="/"&&n.eat("/"))e.tokenize=x;else if(i=="/"&&n.eat("*"))e.tokenize=E;else{if(w.test(i+n.peek()))return n.next(),e.tokenize=null,"operator";if(v.test(i))return e.tokenize=null,"operator";if(b.test(i))e.tokenize=I;else if(i=="'"&&n.peek()&&n.peek()!="'")e.tokenize=O;else if(i=='"')e.tokenize=S;else if(s.test(i))e.tokenize=D;else return e.tokenize=null,"error"}return e.tokenize(n,e)},indent:function(n,e){if(n.tokenize!=null)return r.Pass;var i=n.level;return/(algorithm)/.test(e)&&i--,/(equation)/.test(e)&&i--,/(initial algorithm)/.test(e)&&i--,/(initial equation)/.test(e)&&i--,/(end)/.test(e)&&i--,i>0?u*i:0},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}});function l(o){for(var t={},u=o.split(" "),a=0;al[c]})}}}return Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var j={exports:{}};(function(h,g){(function(r){r(P)})(function(r){r.defineMode("modelica",function(o,t){var u=o.indentUnit,a=t.keywords||{},p=t.builtin||{},k=t.atoms||{},v=/[;=\(:\),{}.*<>+\-\/^\[\]]/,w=/(:=|<=|>=|==|<>|\.\+|\.\-|\.\*|\.\/|\.\^)/,s=/[0-9]/,b=/[_a-zA-Z]/;function x(n,e){return n.skipToEnd(),e.tokenize=null,"comment"}function E(n,e){for(var i=!1,f;f=n.next();){if(i&&f=="/"){e.tokenize=null;break}i=f=="*"}return"comment"}function S(n,e){for(var i=!1,f;(f=n.next())!=null;){if(f=='"'&&!i){e.tokenize=null,e.sol=!1;break}i=!i&&f=="\\"}return"string"}function I(n,e){for(n.eatWhile(s);n.eat(s)||n.eat(b););var i=n.current();return e.sol&&(i=="package"||i=="model"||i=="when"||i=="connector")?e.level++:e.sol&&i=="end"&&e.level>0&&e.level--,e.tokenize=null,e.sol=!1,a.propertyIsEnumerable(i)?"keyword":p.propertyIsEnumerable(i)?"builtin":k.propertyIsEnumerable(i)?"atom":"variable"}function O(n,e){for(;n.eat(/[^']/););return e.tokenize=null,e.sol=!1,n.eat("'")?"variable":"error"}function D(n,e){return n.eatWhile(s),n.eat(".")&&n.eatWhile(s),(n.eat("e")||n.eat("E"))&&(n.eat("-")||n.eat("+"),n.eatWhile(s)),e.tokenize=null,e.sol=!1,"number"}return{startState:function(){return{tokenize:null,level:0,sol:!0}},token:function(n,e){if(e.tokenize!=null)return e.tokenize(n,e);if(n.sol()&&(e.sol=!0),n.eatSpace())return e.tokenize=null,null;var i=n.next();if(i=="/"&&n.eat("/"))e.tokenize=x;else if(i=="/"&&n.eat("*"))e.tokenize=E;else{if(w.test(i+n.peek()))return n.next(),e.tokenize=null,"operator";if(v.test(i))return e.tokenize=null,"operator";if(b.test(i))e.tokenize=I;else if(i=="'"&&n.peek()&&n.peek()!="'")e.tokenize=O;else if(i=='"')e.tokenize=S;else if(s.test(i))e.tokenize=D;else return e.tokenize=null,"error"}return e.tokenize(n,e)},indent:function(n,e){if(n.tokenize!=null)return r.Pass;var i=n.level;return/(algorithm)/.test(e)&&i--,/(equation)/.test(e)&&i--,/(initial algorithm)/.test(e)&&i--,/(initial equation)/.test(e)&&i--,/(end)/.test(e)&&i--,i>0?u*i:0},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}});function l(o){for(var t={},u=o.split(" "),a=0;as[n]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var f={exports:{}};(function(i,a){(function(r){r(d)})(function(r){var s={mscgen:{keywords:["msc"],options:["hscale","width","arcgradient","wordwraparcs"],constants:["true","false","on","off"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]},xu:{keywords:["msc","xu"],options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip","title","deactivate","activate","activation"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]},msgenny:{keywords:null,options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:null,brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}};r.defineMode("mscgen",function(t,e){var o=s[e&&e.language||"mscgen"];return{startState:l,copyState:m,token:x(o),lineComment:"#",blockCommentStart:"/*",blockCommentEnd:"*/"}}),r.defineMIME("text/x-mscgen","mscgen"),r.defineMIME("text/x-xu",{name:"mscgen",language:"xu"}),r.defineMIME("text/x-msgenny",{name:"mscgen",language:"msgenny"});function n(t){return new RegExp("^\\b(?:"+t.join("|")+")\\b","i")}function c(t){return new RegExp("^(?:"+t.join("|")+")","i")}function l(){return{inComment:!1,inString:!1,inAttributeList:!1,inScript:!1}}function m(t){return{inComment:t.inComment,inString:t.inString,inAttributeList:t.inAttributeList,inScript:t.inScript}}function x(t){return function(e,o){if(e.match(c(t.brackets),!0,!0))return"bracket";if(!o.inComment){if(e.match(/\/\*[^\*\/]*/,!0,!0))return o.inComment=!0,"comment";if(e.match(c(t.singlecomment),!0,!0))return e.skipToEnd(),"comment"}if(o.inComment)return e.match(/[^\*\/]*\*\//,!0,!0)?o.inComment=!1:e.skipToEnd(),"comment";if(!o.inString&&e.match(/\"(\\\"|[^\"])*/,!0,!0))return o.inString=!0,"string";if(o.inString)return e.match(/[^\"]*\"/,!0,!0)?o.inString=!1:e.skipToEnd(),"string";if(t.keywords&&e.match(n(t.keywords),!0,!0)||e.match(n(t.options),!0,!0)||e.match(n(t.arcsWords),!0,!0)||e.match(c(t.arcsOthers),!0,!0))return"keyword";if(t.operators&&e.match(c(t.operators),!0,!0))return"operator";if(t.constants&&e.match(c(t.constants),!0,!0))return"variable";if(!t.inAttributeList&&t.attributes&&e.match("[",!0,!0))return t.inAttributeList=!0,"bracket";if(t.inAttributeList){if(t.attributes!==null&&e.match(n(t.attributes),!0,!0))return"attribute";if(e.match("]",!0,!0))return t.inAttributeList=!1,"bracket"}return e.next(),"base"}}})})();var u=f.exports;const k=b(u),h=g({__proto__:null,default:k},[u]);export{h as m}; +import{g as b,c as d}from"./index-rXwcQ1j1.js";function g(i,a){for(var r=0;rs[n]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var f={exports:{}};(function(i,a){(function(r){r(d)})(function(r){var s={mscgen:{keywords:["msc"],options:["hscale","width","arcgradient","wordwraparcs"],constants:["true","false","on","off"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]},xu:{keywords:["msc","xu"],options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:["label","idurl","id","url","linecolor","linecolour","textcolor","textcolour","textbgcolor","textbgcolour","arclinecolor","arclinecolour","arctextcolor","arctextcolour","arctextbgcolor","arctextbgcolour","arcskip","title","deactivate","activate","activation"],brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]},msgenny:{keywords:null,options:["hscale","width","arcgradient","wordwraparcs","wordwrapentities","watermark"],constants:["true","false","on","off","auto"],attributes:null,brackets:["\\{","\\}"],arcsWords:["note","abox","rbox","box","alt","else","opt","break","par","seq","strict","neg","critical","ignore","consider","assert","loop","ref","exc"],arcsOthers:["\\|\\|\\|","\\.\\.\\.","---","--","<->","==","<<=>>","<=>","\\.\\.","<<>>","::","<:>","->","=>>","=>",">>",":>","<-","<<=","<=","<<","<:","x-","-x"],singlecomment:["//","#"],operators:["="]}};r.defineMode("mscgen",function(t,e){var o=s[e&&e.language||"mscgen"];return{startState:l,copyState:m,token:x(o),lineComment:"#",blockCommentStart:"/*",blockCommentEnd:"*/"}}),r.defineMIME("text/x-mscgen","mscgen"),r.defineMIME("text/x-xu",{name:"mscgen",language:"xu"}),r.defineMIME("text/x-msgenny",{name:"mscgen",language:"msgenny"});function n(t){return new RegExp("^\\b(?:"+t.join("|")+")\\b","i")}function c(t){return new RegExp("^(?:"+t.join("|")+")","i")}function l(){return{inComment:!1,inString:!1,inAttributeList:!1,inScript:!1}}function m(t){return{inComment:t.inComment,inString:t.inString,inAttributeList:t.inAttributeList,inScript:t.inScript}}function x(t){return function(e,o){if(e.match(c(t.brackets),!0,!0))return"bracket";if(!o.inComment){if(e.match(/\/\*[^\*\/]*/,!0,!0))return o.inComment=!0,"comment";if(e.match(c(t.singlecomment),!0,!0))return e.skipToEnd(),"comment"}if(o.inComment)return e.match(/[^\*\/]*\*\//,!0,!0)?o.inComment=!1:e.skipToEnd(),"comment";if(!o.inString&&e.match(/\"(\\\"|[^\"])*/,!0,!0))return o.inString=!0,"string";if(o.inString)return e.match(/[^\"]*\"/,!0,!0)?o.inString=!1:e.skipToEnd(),"string";if(t.keywords&&e.match(n(t.keywords),!0,!0)||e.match(n(t.options),!0,!0)||e.match(n(t.arcsWords),!0,!0)||e.match(c(t.arcsOthers),!0,!0))return"keyword";if(t.operators&&e.match(c(t.operators),!0,!0))return"operator";if(t.constants&&e.match(c(t.constants),!0,!0))return"variable";if(!t.inAttributeList&&t.attributes&&e.match("[",!0,!0))return t.inAttributeList=!0,"bracket";if(t.inAttributeList){if(t.attributes!==null&&e.match(n(t.attributes),!0,!0))return"attribute";if(e.match("]",!0,!0))return t.inAttributeList=!1,"bracket"}return e.next(),"base"}}})})();var u=f.exports;const k=b(u),h=g({__proto__:null,default:k},[u]);export{h as m}; diff --git a/dist-ui/assets/multiplex-Bj2U2ayT.js b/dist-ui/assets/multiplex-Cg9R4o6F.js similarity index 97% rename from dist-ui/assets/multiplex-Bj2U2ayT.js rename to dist-ui/assets/multiplex-Cg9R4o6F.js index 4657f1d9..dba612d5 100644 --- a/dist-ui/assets/multiplex-Bj2U2ayT.js +++ b/dist-ui/assets/multiplex-Cg9R4o6F.js @@ -1 +1 @@ -import{c as m}from"./index-CHg1vBCc.js";var g={exports:{}},S;function L(){return S||(S=1,function(s,D){(function(c){c(m)})(function(c){c.multiplexingMode=function(o){var A=Array.prototype.slice.call(arguments,1);function u(i,n,l,e){if(typeof n=="string"){var p=i.indexOf(n,l);return e&&p>-1?p+n.length:p}var v=n.exec(l?i.slice(l):i);return v?v.index+l+(e?v[0].length:0):-1}return{startState:function(){return{outer:c.startState(o),innerActive:null,inner:null,startingInner:!1}},copyState:function(i){return{outer:c.copyState(o,i.outer),innerActive:i.innerActive,inner:i.innerActive&&c.copyState(i.innerActive.mode,i.inner),startingInner:i.startingInner}},token:function(i,n){if(n.innerActive){var r=n.innerActive,e=i.string;if(!r.close&&i.sol())return n.innerActive=n.inner=null,this.token(i,n);var f=r.close&&!n.startingInner?u(e,r.close,i.pos,r.parseDelimiters):-1;if(f==i.pos&&!r.parseDelimiters)return i.match(r.close),n.innerActive=n.inner=null,r.delimStyle&&r.delimStyle+" "+r.delimStyle+"-close";f>-1&&(i.string=e.slice(0,f));var t=r.mode.token(i,n.inner);return f>-1?i.string=e:i.pos>i.start&&(n.startingInner=!1),f==i.pos&&r.parseDelimiters&&(n.innerActive=n.inner=null),r.innerStyle&&(t?t=t+" "+r.innerStyle:t=r.innerStyle),t}else{for(var l=1/0,e=i.string,p=0;p-1?p+n.length:p}var v=n.exec(l?i.slice(l):i);return v?v.index+l+(e?v[0].length:0):-1}return{startState:function(){return{outer:c.startState(o),innerActive:null,inner:null,startingInner:!1}},copyState:function(i){return{outer:c.copyState(o,i.outer),innerActive:i.innerActive,inner:i.innerActive&&c.copyState(i.innerActive.mode,i.inner),startingInner:i.startingInner}},token:function(i,n){if(n.innerActive){var r=n.innerActive,e=i.string;if(!r.close&&i.sol())return n.innerActive=n.inner=null,this.token(i,n);var f=r.close&&!n.startingInner?u(e,r.close,i.pos,r.parseDelimiters):-1;if(f==i.pos&&!r.parseDelimiters)return i.match(r.close),n.innerActive=n.inner=null,r.delimStyle&&r.delimStyle+" "+r.delimStyle+"-close";f>-1&&(i.string=e.slice(0,f));var t=r.mode.token(i,n.inner);return f>-1?i.string=e:i.pos>i.start&&(n.startingInner=!1),f==i.pos&&r.parseDelimiters&&(n.innerActive=n.inner=null),r.innerStyle&&(t?t=t+" "+r.innerStyle:t=r.innerStyle),t}else{for(var l=1/0,e=i.string,p=0;po[i]})}}}return Object.freeze(Object.defineProperty($,Symbol.toStringTag,{value:"Module"}))}var k={exports:{}};(function($,a){(function(t){t(v)})(function(t){t.defineMode("mumps",function(){function o(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var i=new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"),c=new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"),l=new RegExp("^[\\.,:]"),f=new RegExp("[()]"),d=new RegExp("^[%A-Za-z][A-Za-z0-9]*"),m=["break","close","do","else","for","goto","halt","hang","if","job","kill","lock","merge","new","open","quit","read","set","tcommit","trollback","tstart","use","view","write","xecute","b","c","d","e","f","g","h","i","j","k","l","m","n","o","q","r","s","tc","tro","ts","u","v","w","x"],s=["\\$ascii","\\$char","\\$data","\\$ecode","\\$estack","\\$etrap","\\$extract","\\$find","\\$fnumber","\\$get","\\$horolog","\\$io","\\$increment","\\$job","\\$justify","\\$length","\\$name","\\$next","\\$order","\\$piece","\\$qlength","\\$qsubscript","\\$query","\\$quit","\\$random","\\$reverse","\\$select","\\$stack","\\$test","\\$text","\\$translate","\\$view","\\$x","\\$y","\\$a","\\$c","\\$d","\\$e","\\$ec","\\$es","\\$et","\\$f","\\$fn","\\$g","\\$h","\\$i","\\$j","\\$l","\\$n","\\$na","\\$o","\\$p","\\$q","\\$ql","\\$qs","\\$r","\\$re","\\$s","\\$st","\\$t","\\$tr","\\$v","\\$z"],p=o(s),g=o(m);function b(e,r){e.sol()&&(r.label=!0,r.commandMode=0);var n=e.peek();return n==" "||n==" "?(r.label=!1,r.commandMode==0?r.commandMode=1:(r.commandMode<0||r.commandMode==2)&&(r.commandMode=0)):n!="."&&r.commandMode>0&&(n==":"?r.commandMode=-1:r.commandMode=2),(n==="("||n===" ")&&(r.label=!1),n===";"?(e.skipToEnd(),"comment"):e.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/)?"number":n=='"'?e.skipTo('"')?(e.next(),"string"):(e.skipToEnd(),"error"):e.match(c)||e.match(i)?"operator":e.match(l)?null:f.test(n)?(e.next(),"bracket"):r.commandMode>0&&e.match(g)?"variable-2":e.match(p)?"builtin":e.match(d)?"variable":n==="$"||n==="^"?(e.next(),"builtin"):n==="@"?(e.next(),"string-2"):/[\w%]/.test(n)?(e.eatWhile(/[\w%]/),"variable"):(e.next(),"error")}return{startState:function(){return{label:!1,commandMode:0}},token:function(e,r){var n=b(e,r);return r.label?"tag":n}}}),t.defineMIME("text/x-mumps","mumps")})})();var u=k.exports;const w=x(u),E=h({__proto__:null,default:w},[u]);export{E as m}; +import{g as x,c as v}from"./index-rXwcQ1j1.js";function h($,a){for(var t=0;to[i]})}}}return Object.freeze(Object.defineProperty($,Symbol.toStringTag,{value:"Module"}))}var k={exports:{}};(function($,a){(function(t){t(v)})(function(t){t.defineMode("mumps",function(){function o(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var i=new RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"),c=new RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"),l=new RegExp("^[\\.,:]"),f=new RegExp("[()]"),d=new RegExp("^[%A-Za-z][A-Za-z0-9]*"),m=["break","close","do","else","for","goto","halt","hang","if","job","kill","lock","merge","new","open","quit","read","set","tcommit","trollback","tstart","use","view","write","xecute","b","c","d","e","f","g","h","i","j","k","l","m","n","o","q","r","s","tc","tro","ts","u","v","w","x"],s=["\\$ascii","\\$char","\\$data","\\$ecode","\\$estack","\\$etrap","\\$extract","\\$find","\\$fnumber","\\$get","\\$horolog","\\$io","\\$increment","\\$job","\\$justify","\\$length","\\$name","\\$next","\\$order","\\$piece","\\$qlength","\\$qsubscript","\\$query","\\$quit","\\$random","\\$reverse","\\$select","\\$stack","\\$test","\\$text","\\$translate","\\$view","\\$x","\\$y","\\$a","\\$c","\\$d","\\$e","\\$ec","\\$es","\\$et","\\$f","\\$fn","\\$g","\\$h","\\$i","\\$j","\\$l","\\$n","\\$na","\\$o","\\$p","\\$q","\\$ql","\\$qs","\\$r","\\$re","\\$s","\\$st","\\$t","\\$tr","\\$v","\\$z"],p=o(s),g=o(m);function b(e,r){e.sol()&&(r.label=!0,r.commandMode=0);var n=e.peek();return n==" "||n==" "?(r.label=!1,r.commandMode==0?r.commandMode=1:(r.commandMode<0||r.commandMode==2)&&(r.commandMode=0)):n!="."&&r.commandMode>0&&(n==":"?r.commandMode=-1:r.commandMode=2),(n==="("||n===" ")&&(r.label=!1),n===";"?(e.skipToEnd(),"comment"):e.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/)?"number":n=='"'?e.skipTo('"')?(e.next(),"string"):(e.skipToEnd(),"error"):e.match(c)||e.match(i)?"operator":e.match(l)?null:f.test(n)?(e.next(),"bracket"):r.commandMode>0&&e.match(g)?"variable-2":e.match(p)?"builtin":e.match(d)?"variable":n==="$"||n==="^"?(e.next(),"builtin"):n==="@"?(e.next(),"string-2"):/[\w%]/.test(n)?(e.eatWhile(/[\w%]/),"variable"):(e.next(),"error")}return{startState:function(){return{label:!1,commandMode:0}},token:function(e,r){var n=b(e,r);return r.label?"tag":n}}}),t.defineMIME("text/x-mumps","mumps")})})();var u=k.exports;const w=x(u),E=h({__proto__:null,default:w},[u]);export{E as m}; diff --git a/dist-ui/assets/nginx-CHuGwoMz.js b/dist-ui/assets/nginx-BuCkP3I2.js similarity index 99% rename from dist-ui/assets/nginx-CHuGwoMz.js rename to dist-ui/assets/nginx-BuCkP3I2.js index ccf439c4..0464ae7b 100644 --- a/dist-ui/assets/nginx-CHuGwoMz.js +++ b/dist-ui/assets/nginx-BuCkP3I2.js @@ -1 +1 @@ -import{g as v,c as k}from"./index-CHg1vBCc.js";function z(l,u){for(var a=0;an[s]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(l,u){(function(a){a(k)})(function(a){a.defineMode("nginx",function(n){function s(_){for(var t={},r=_.split(" "),e=0;e*\/]/.test(e)?i(null,"select-op"):/[;{}:\[\]]/.test(e)?i(null,e):(_.eatWhile(/[\w\\\-]/),i("variable","variable"))}function d(_,t){for(var r=!1,e;(e=_.next())!=null;){if(r&&e=="/"){t.tokenize=p;break}r=e=="*"}return i("comment","comment")}function m(_,t){for(var r=0,e;(e=_.next())!=null;){if(r>=2&&e==">"){t.tokenize=p;break}r=e=="-"?r+1:0}return i("comment","comment")}function b(_){return function(t,r){for(var e=!1,f;(f=t.next())!=null&&!(f==_&&!e);)e=!e&&f=="\\";return e||(r.tokenize=p),i("string","string")}}return{startState:function(_){return{tokenize:p,baseIndent:_||0,stack:[]}},token:function(_,t){if(_.eatSpace())return null;o=null;var r=t.tokenize(_,t),e=t.stack[t.stack.length-1];return o=="hash"&&e=="rule"?r="atom":r=="variable"&&(e=="rule"?r="number":(!e||e=="@media{")&&(r="tag")),e=="rule"&&/^[\{\};]$/.test(o)&&t.stack.pop(),o=="{"?e=="@media"?t.stack[t.stack.length-1]="@media{":t.stack.push("{"):o=="}"?t.stack.pop():o=="@media"?t.stack.push("@media"):e=="{"&&o!="comment"&&t.stack.push("rule"),r},indent:function(_,t){var r=_.stack.length;return/^\}/.test(t)&&(r-=_.stack[_.stack.length-1]=="rule"?2:1),_.baseIndent+r*x},electricChars:"}"}}),a.defineMIME("text/x-nginx-conf","nginx")})})();var h=w.exports;const q=v(h),j=z({__proto__:null,default:q},[h]);export{j as n}; +import{g as v,c as k}from"./index-rXwcQ1j1.js";function z(l,u){for(var a=0;an[s]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(l,u){(function(a){a(k)})(function(a){a.defineMode("nginx",function(n){function s(_){for(var t={},r=_.split(" "),e=0;e*\/]/.test(e)?i(null,"select-op"):/[;{}:\[\]]/.test(e)?i(null,e):(_.eatWhile(/[\w\\\-]/),i("variable","variable"))}function d(_,t){for(var r=!1,e;(e=_.next())!=null;){if(r&&e=="/"){t.tokenize=p;break}r=e=="*"}return i("comment","comment")}function m(_,t){for(var r=0,e;(e=_.next())!=null;){if(r>=2&&e==">"){t.tokenize=p;break}r=e=="-"?r+1:0}return i("comment","comment")}function b(_){return function(t,r){for(var e=!1,f;(f=t.next())!=null&&!(f==_&&!e);)e=!e&&f=="\\";return e||(r.tokenize=p),i("string","string")}}return{startState:function(_){return{tokenize:p,baseIndent:_||0,stack:[]}},token:function(_,t){if(_.eatSpace())return null;o=null;var r=t.tokenize(_,t),e=t.stack[t.stack.length-1];return o=="hash"&&e=="rule"?r="atom":r=="variable"&&(e=="rule"?r="number":(!e||e=="@media{")&&(r="tag")),e=="rule"&&/^[\{\};]$/.test(o)&&t.stack.pop(),o=="{"?e=="@media"?t.stack[t.stack.length-1]="@media{":t.stack.push("{"):o=="}"?t.stack.pop():o=="@media"?t.stack.push("@media"):e=="{"&&o!="comment"&&t.stack.push("rule"),r},indent:function(_,t){var r=_.stack.length;return/^\}/.test(t)&&(r-=_.stack[_.stack.length-1]=="rule"?2:1),_.baseIndent+r*x},electricChars:"}"}}),a.defineMIME("text/x-nginx-conf","nginx")})})();var h=w.exports;const q=v(h),j=z({__proto__:null,default:q},[h]);export{j as n}; diff --git a/dist-ui/assets/nsis-Bt35wsp7.js b/dist-ui/assets/nsis-B6J0Yi3P.js similarity index 99% rename from dist-ui/assets/nsis-Bt35wsp7.js rename to dist-ui/assets/nsis-B6J0Yi3P.js index 5ca4151c..84c115f2 100644 --- a/dist-ui/assets/nsis-Bt35wsp7.js +++ b/dist-ui/assets/nsis-B6J0Yi3P.js @@ -1 +1 @@ -import{g as s,c as l,b as S}from"./index-CHg1vBCc.js";function d(i,r){for(var e=0;et[n]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var I={exports:{}};(function(i,r){(function(e){e(l,S())})(function(e){e.defineSimpleMode("nsis",{start:[{regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/`(?:[^\\`]|\\.)*`?/,token:"string"},{regex:/^\s*(?:\!(addincludedir|addplugindir|appendfile|assert|cd|define|delfile|echo|error|execute|finalize|getdllversion|gettlbversion|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning))\b/i,token:"keyword"},{regex:/^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:\!(else|endif|macroend))\b/i,token:"keyword",dedent:!0},{regex:/^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetKnownFolderPath|GetLabelAddress|GetTempFileName|GetWinVer|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfRtlLanguage|IfShellVarContextAll|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|Int64Cmp|Int64CmpU|Int64Fmt|IntCmp|IntCmpU|IntFmt|IntOp|IntPtrCmp|IntPtrCmpU|IntPtrOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadAndSetImage|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestLongPathAware|ManifestMaxVersionTested|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|PEAddResource|PEDllCharacteristics|PERemoveResource|PESubsysVer|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Target|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\b/i,token:"keyword"},{regex:/^\s*(?:Function|PageEx|Section(?:Group)?)\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/i,token:"keyword",dedent:!0},{regex:/\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/i,token:"atom"},{regex:/\b(?:admin|all|amd64-unicode|auto|both|bottom|bzip2|components|current|custom|directory|false|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|off|on|right|show|silent|silentlog|textonly|top|true|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|x-86-(ansi|unicode)|zlib)\b/i,token:"builtin"},{regex:/\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:2|3|4|5|Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/i,token:"variable-2",indent:!0},{regex:/\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:RunningX64)\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:Disable|Enable)X64FSRedirection\}/i,token:"variable-2",dedent:!0},{regex:/(#|;).*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/\$\w[\w\.]*/,token:"variable"},{regex:/\${[\!\w\.:-]+}/,token:"variable-2"},{regex:/\$\([\!\w\.:-]+\)/,token:"variable-3"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{electricInput:/^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/i,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:["#",";"]}}),e.defineMIME("text/x-nsis","nsis")})})();var a=I.exports;const E=s(a),g=d({__proto__:null,default:E},[a]);export{g as n}; +import{g as s,c as l,b as S}from"./index-rXwcQ1j1.js";function d(i,r){for(var e=0;et[n]})}}}return Object.freeze(Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}))}var I={exports:{}};(function(i,r){(function(e){e(l,S())})(function(e){e.defineSimpleMode("nsis",{start:[{regex:/(?:[+-]?)(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\d+.?\d*)/,token:"number"},{regex:/"(?:[^\\"]|\\.)*"?/,token:"string"},{regex:/'(?:[^\\']|\\.)*'?/,token:"string"},{regex:/`(?:[^\\`]|\\.)*`?/,token:"string"},{regex:/^\s*(?:\!(addincludedir|addplugindir|appendfile|assert|cd|define|delfile|echo|error|execute|finalize|getdllversion|gettlbversion|include|insertmacro|macro|macroend|makensis|packhdr|pragma|searchparse|searchreplace|system|tempfile|undef|uninstfinalize|verbose|warning))\b/i,token:"keyword"},{regex:/^\s*(?:\!(if(?:n?def)?|ifmacron?def|macro))\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:\!(else|endif|macroend))\b/i,token:"keyword",dedent:!0},{regex:/^\s*(?:Abort|AddBrandingImage|AddSize|AllowRootDirInstall|AllowSkipFiles|AutoCloseWindow|BGFont|BGGradient|BrandingText|BringToFront|Call|CallInstDLL|Caption|ChangeUI|CheckBitmap|ClearErrors|CompletedText|ComponentText|CopyFiles|CRCCheck|CreateDirectory|CreateFont|CreateShortCut|Delete|DeleteINISec|DeleteINIStr|DeleteRegKey|DeleteRegValue|DetailPrint|DetailsButtonText|DirText|DirVar|DirVerify|EnableWindow|EnumRegKey|EnumRegValue|Exch|Exec|ExecShell|ExecShellWait|ExecWait|ExpandEnvStrings|File|FileBufSize|FileClose|FileErrorText|FileOpen|FileRead|FileReadByte|FileReadUTF16LE|FileReadWord|FileWriteUTF16LE|FileSeek|FileWrite|FileWriteByte|FileWriteWord|FindClose|FindFirst|FindNext|FindWindow|FlushINI|GetCurInstType|GetCurrentAddress|GetDlgItem|GetDLLVersion|GetDLLVersionLocal|GetErrorLevel|GetFileTime|GetFileTimeLocal|GetFullPathName|GetFunctionAddress|GetInstDirError|GetKnownFolderPath|GetLabelAddress|GetTempFileName|GetWinVer|Goto|HideWindow|Icon|IfAbort|IfErrors|IfFileExists|IfRebootFlag|IfRtlLanguage|IfShellVarContextAll|IfSilent|InitPluginsDir|InstallButtonText|InstallColors|InstallDir|InstallDirRegKey|InstProgressFlags|InstType|InstTypeGetText|InstTypeSetText|Int64Cmp|Int64CmpU|Int64Fmt|IntCmp|IntCmpU|IntFmt|IntOp|IntPtrCmp|IntPtrCmpU|IntPtrOp|IsWindow|LangString|LicenseBkColor|LicenseData|LicenseForceSelection|LicenseLangString|LicenseText|LoadAndSetImage|LoadLanguageFile|LockWindow|LogSet|LogText|ManifestDPIAware|ManifestLongPathAware|ManifestMaxVersionTested|ManifestSupportedOS|MessageBox|MiscButtonText|Name|Nop|OutFile|Page|PageCallbacks|PEAddResource|PEDllCharacteristics|PERemoveResource|PESubsysVer|Pop|Push|Quit|ReadEnvStr|ReadINIStr|ReadRegDWORD|ReadRegStr|Reboot|RegDLL|Rename|RequestExecutionLevel|ReserveFile|Return|RMDir|SearchPath|SectionGetFlags|SectionGetInstTypes|SectionGetSize|SectionGetText|SectionIn|SectionSetFlags|SectionSetInstTypes|SectionSetSize|SectionSetText|SendMessage|SetAutoClose|SetBrandingImage|SetCompress|SetCompressor|SetCompressorDictSize|SetCtlColors|SetCurInstType|SetDatablockOptimize|SetDateSave|SetDetailsPrint|SetDetailsView|SetErrorLevel|SetErrors|SetFileAttributes|SetFont|SetOutPath|SetOverwrite|SetRebootFlag|SetRegView|SetShellVarContext|SetSilent|ShowInstDetails|ShowUninstDetails|ShowWindow|SilentInstall|SilentUnInstall|Sleep|SpaceTexts|StrCmp|StrCmpS|StrCpy|StrLen|SubCaption|Target|Unicode|UninstallButtonText|UninstallCaption|UninstallIcon|UninstallSubCaption|UninstallText|UninstPage|UnRegDLL|Var|VIAddVersionKey|VIFileVersion|VIProductVersion|WindowIcon|WriteINIStr|WriteRegBin|WriteRegDWORD|WriteRegExpandStr|WriteRegMultiStr|WriteRegNone|WriteRegStr|WriteUninstaller|XPStyle)\b/i,token:"keyword"},{regex:/^\s*(?:Function|PageEx|Section(?:Group)?)\b/i,token:"keyword",indent:!0},{regex:/^\s*(?:(Function|PageEx|Section(?:Group)?)End)\b/i,token:"keyword",dedent:!0},{regex:/\b(?:ARCHIVE|FILE_ATTRIBUTE_ARCHIVE|FILE_ATTRIBUTE_HIDDEN|FILE_ATTRIBUTE_NORMAL|FILE_ATTRIBUTE_OFFLINE|FILE_ATTRIBUTE_READONLY|FILE_ATTRIBUTE_SYSTEM|FILE_ATTRIBUTE_TEMPORARY|HIDDEN|HKCC|HKCR(32|64)?|HKCU(32|64)?|HKDD|HKEY_CLASSES_ROOT|HKEY_CURRENT_CONFIG|HKEY_CURRENT_USER|HKEY_DYN_DATA|HKEY_LOCAL_MACHINE|HKEY_PERFORMANCE_DATA|HKEY_USERS|HKLM(32|64)?|HKPD|HKU|IDABORT|IDCANCEL|IDD_DIR|IDD_INST|IDD_INSTFILES|IDD_LICENSE|IDD_SELCOM|IDD_UNINST|IDD_VERIFY|IDIGNORE|IDNO|IDOK|IDRETRY|IDYES|MB_ABORTRETRYIGNORE|MB_DEFBUTTON1|MB_DEFBUTTON2|MB_DEFBUTTON3|MB_DEFBUTTON4|MB_ICONEXCLAMATION|MB_ICONINFORMATION|MB_ICONQUESTION|MB_ICONSTOP|MB_OK|MB_OKCANCEL|MB_RETRYCANCEL|MB_RIGHT|MB_RTLREADING|MB_SETFOREGROUND|MB_TOPMOST|MB_USERICON|MB_YESNO|MB_YESNOCANCEL|NORMAL|OFFLINE|READONLY|SHCTX|SHELL_CONTEXT|SW_HIDE|SW_SHOWDEFAULT|SW_SHOWMAXIMIZED|SW_SHOWMINIMIZED|SW_SHOWNORMAL|SYSTEM|TEMPORARY)\b/i,token:"atom"},{regex:/\b(?:admin|all|amd64-unicode|auto|both|bottom|bzip2|components|current|custom|directory|false|force|hide|highest|ifdiff|ifnewer|instfiles|lastused|leave|left|license|listonly|lzma|nevershow|none|normal|notset|off|on|right|show|silent|silentlog|textonly|top|true|try|un\.components|un\.custom|un\.directory|un\.instfiles|un\.license|uninstConfirm|user|Win10|Win7|Win8|WinVista|x-86-(ansi|unicode)|zlib)\b/i,token:"builtin"},{regex:/\$\{(?:And(?:If(?:Not)?|Unless)|Break|Case(?:2|3|4|5|Else)?|Continue|Default|Do(?:Until|While)?|Else(?:If(?:Not)?|Unless)?|End(?:If|Select|Switch)|Exit(?:Do|For|While)|For(?:Each)?|If(?:Cmd|Not(?:Then)?|Then)?|Loop(?:Until|While)?|Or(?:If(?:Not)?|Unless)|Select|Switch|Unless|While)\}/i,token:"variable-2",indent:!0},{regex:/\$\{(?:BannerTrimPath|DirState|DriveSpace|Get(BaseName|Drives|ExeName|ExePath|FileAttributes|FileExt|FileName|FileVersion|Options|OptionsS|Parameters|Parent|Root|Size|Time)|Locate|RefreshShellIcons)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Memento(?:Section(?:Done|End|Restore|Save)?|UnselectedSection))\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:Config(?:Read|ReadS|Write|WriteS)|File(?:Join|ReadFromEnd|Recode)|Line(?:Find|Read|Sum)|Text(?:Compare|CompareS)|TrimNewLines)\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:(?:At(?:Least|Most)|Is)(?:ServicePack|Win(?:7|8|10|95|98|200(?:0|3|8(?:R2)?)|ME|NT4|Vista|XP))|Is(?:NT|Server))\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:StrFilterS?|Version(?:Compare|Convert)|Word(?:AddS?|Find(?:(?:2|3)X)?S?|InsertS?|ReplaceS?))\}/i,token:"variable-2",dedent:!0},{regex:/\$\{(?:RunningX64)\}/i,token:"variable",dedent:!0},{regex:/\$\{(?:Disable|Enable)X64FSRedirection\}/i,token:"variable-2",dedent:!0},{regex:/(#|;).*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/\$\w[\w\.]*/,token:"variable"},{regex:/\${[\!\w\.:-]+}/,token:"variable-2"},{regex:/\$\([\!\w\.:-]+\)/,token:"variable-3"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{electricInput:/^\s*((Function|PageEx|Section|Section(Group)?)End|(\!(endif|macroend))|\$\{(End(If|Unless|While)|Loop(Until)|Next)\})$/i,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:["#",";"]}}),e.defineMIME("text/x-nsis","nsis")})})();var a=I.exports;const E=s(a),g=d({__proto__:null,default:E},[a]);export{g as n}; diff --git a/dist-ui/assets/ntriples-ChaDainD.js b/dist-ui/assets/ntriples-DivszWK7.js similarity index 97% rename from dist-ui/assets/ntriples-ChaDainD.js rename to dist-ui/assets/ntriples-DivszWK7.js index 51270d4f..b55106d5 100644 --- a/dist-ui/assets/ntriples-ChaDainD.js +++ b/dist-ui/assets/ntriples-DivszWK7.js @@ -1 +1 @@ -import{g as B,c as P}from"./index-CHg1vBCc.js";function s(f,l){for(var R=0;Re[I]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var N={exports:{}};(function(f,l){(function(R){R(P)})(function(R){R.defineMode("ntriples",function(){var e={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};function I(r,n){var i=r.location,_;i==e.PRE_SUBJECT&&n=="<"?_=e.WRITING_SUB_URI:i==e.PRE_SUBJECT&&n=="_"?_=e.WRITING_BNODE_URI:i==e.PRE_PRED&&n=="<"?_=e.WRITING_PRED_URI:i==e.PRE_OBJ&&n=="<"?_=e.WRITING_OBJ_URI:i==e.PRE_OBJ&&n=="_"?_=e.WRITING_OBJ_BNODE:i==e.PRE_OBJ&&n=='"'?_=e.WRITING_OBJ_LITERAL:i==e.WRITING_SUB_URI&&n==">"||i==e.WRITING_BNODE_URI&&n==" "?_=e.PRE_PRED:i==e.WRITING_PRED_URI&&n==">"?_=e.PRE_OBJ:i==e.WRITING_OBJ_URI&&n==">"||i==e.WRITING_OBJ_BNODE&&n==" "||i==e.WRITING_OBJ_LITERAL&&n=='"'||i==e.WRITING_LIT_LANG&&n==" "||i==e.WRITING_LIT_TYPE&&n==">"?_=e.POST_OBJ:i==e.WRITING_OBJ_LITERAL&&n=="@"?_=e.WRITING_LIT_LANG:i==e.WRITING_OBJ_LITERAL&&n=="^"?_=e.WRITING_LIT_TYPE:n==" "&&(i==e.PRE_SUBJECT||i==e.PRE_PRED||i==e.PRE_OBJ||i==e.POST_OBJ)?_=i:i==e.POST_OBJ&&n=="."?_=e.PRE_SUBJECT:_=e.ERROR,r.location=_}return{startState:function(){return{location:e.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(r,n){var i=r.next();if(i=="<"){I(n,i);var _="";return r.eatWhile(function(t){return t!="#"&&t!=">"?(_+=t,!0):!1}),n.uris.push(_),r.match("#",!1)||(r.next(),I(n,">")),"variable"}if(i=="#"){var u="";return r.eatWhile(function(t){return t!=">"&&t!=" "?(u+=t,!0):!1}),n.anchors.push(u),"variable-2"}if(i==">")return I(n,">"),"variable";if(i=="_"){I(n,i);var o="";return r.eatWhile(function(t){return t!=" "?(o+=t,!0):!1}),n.bnodes.push(o),r.next(),I(n," "),"builtin"}if(i=='"')return I(n,i),r.eatWhile(function(t){return t!='"'}),r.next(),r.peek()!="@"&&r.peek()!="^"&&I(n,'"'),"string";if(i=="@"){I(n,"@");var T="";return r.eatWhile(function(t){return t!=" "?(T+=t,!0):!1}),n.langs.push(T),r.next(),I(n," "),"string-2"}if(i=="^"){r.next(),I(n,"^");var E="";return r.eatWhile(function(t){return t!=">"?(E+=t,!0):!1}),n.types.push(E),r.next(),I(n,">"),"variable"}i==" "&&I(n,i),i=="."&&I(n,i)}}}),R.defineMIME("application/n-triples","ntriples"),R.defineMIME("application/n-quads","ntriples"),R.defineMIME("text/n-triples","ntriples")})})();var O=N.exports;const p=B(O),J=s({__proto__:null,default:p},[O]);export{J as n}; +import{g as B,c as P}from"./index-rXwcQ1j1.js";function s(f,l){for(var R=0;Re[I]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var N={exports:{}};(function(f,l){(function(R){R(P)})(function(R){R.defineMode("ntriples",function(){var e={PRE_SUBJECT:0,WRITING_SUB_URI:1,WRITING_BNODE_URI:2,PRE_PRED:3,WRITING_PRED_URI:4,PRE_OBJ:5,WRITING_OBJ_URI:6,WRITING_OBJ_BNODE:7,WRITING_OBJ_LITERAL:8,WRITING_LIT_LANG:9,WRITING_LIT_TYPE:10,POST_OBJ:11,ERROR:12};function I(r,n){var i=r.location,_;i==e.PRE_SUBJECT&&n=="<"?_=e.WRITING_SUB_URI:i==e.PRE_SUBJECT&&n=="_"?_=e.WRITING_BNODE_URI:i==e.PRE_PRED&&n=="<"?_=e.WRITING_PRED_URI:i==e.PRE_OBJ&&n=="<"?_=e.WRITING_OBJ_URI:i==e.PRE_OBJ&&n=="_"?_=e.WRITING_OBJ_BNODE:i==e.PRE_OBJ&&n=='"'?_=e.WRITING_OBJ_LITERAL:i==e.WRITING_SUB_URI&&n==">"||i==e.WRITING_BNODE_URI&&n==" "?_=e.PRE_PRED:i==e.WRITING_PRED_URI&&n==">"?_=e.PRE_OBJ:i==e.WRITING_OBJ_URI&&n==">"||i==e.WRITING_OBJ_BNODE&&n==" "||i==e.WRITING_OBJ_LITERAL&&n=='"'||i==e.WRITING_LIT_LANG&&n==" "||i==e.WRITING_LIT_TYPE&&n==">"?_=e.POST_OBJ:i==e.WRITING_OBJ_LITERAL&&n=="@"?_=e.WRITING_LIT_LANG:i==e.WRITING_OBJ_LITERAL&&n=="^"?_=e.WRITING_LIT_TYPE:n==" "&&(i==e.PRE_SUBJECT||i==e.PRE_PRED||i==e.PRE_OBJ||i==e.POST_OBJ)?_=i:i==e.POST_OBJ&&n=="."?_=e.PRE_SUBJECT:_=e.ERROR,r.location=_}return{startState:function(){return{location:e.PRE_SUBJECT,uris:[],anchors:[],bnodes:[],langs:[],types:[]}},token:function(r,n){var i=r.next();if(i=="<"){I(n,i);var _="";return r.eatWhile(function(t){return t!="#"&&t!=">"?(_+=t,!0):!1}),n.uris.push(_),r.match("#",!1)||(r.next(),I(n,">")),"variable"}if(i=="#"){var u="";return r.eatWhile(function(t){return t!=">"&&t!=" "?(u+=t,!0):!1}),n.anchors.push(u),"variable-2"}if(i==">")return I(n,">"),"variable";if(i=="_"){I(n,i);var o="";return r.eatWhile(function(t){return t!=" "?(o+=t,!0):!1}),n.bnodes.push(o),r.next(),I(n," "),"builtin"}if(i=='"')return I(n,i),r.eatWhile(function(t){return t!='"'}),r.next(),r.peek()!="@"&&r.peek()!="^"&&I(n,'"'),"string";if(i=="@"){I(n,"@");var T="";return r.eatWhile(function(t){return t!=" "?(T+=t,!0):!1}),n.langs.push(T),r.next(),I(n," "),"string-2"}if(i=="^"){r.next(),I(n,"^");var E="";return r.eatWhile(function(t){return t!=">"?(E+=t,!0):!1}),n.types.push(E),r.next(),I(n,">"),"variable"}i==" "&&I(n,i),i=="."&&I(n,i)}}}),R.defineMIME("application/n-triples","ntriples"),R.defineMIME("application/n-quads","ntriples"),R.defineMIME("text/n-triples","ntriples")})})();var O=N.exports;const p=B(O),J=s({__proto__:null,default:p},[O]);export{J as n}; diff --git a/dist-ui/assets/octave-DPXCS8Kb.js b/dist-ui/assets/octave-Mb9KisJH.js similarity index 97% rename from dist-ui/assets/octave-DPXCS8Kb.js rename to dist-ui/assets/octave-Mb9KisJH.js index a17cddb7..9597c675 100644 --- a/dist-ui/assets/octave-DPXCS8Kb.js +++ b/dist-ui/assets/octave-Mb9KisJH.js @@ -1 +1 @@ -import{g as k,c as E}from"./index-CHg1vBCc.js";function w(u,a){for(var t=0;tr[i]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(u,a){(function(t){t(E)})(function(t){t.defineMode("octave",function(){function r(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var i=new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),c=new RegExp("^[\\(\\[\\{\\},:=;\\.]"),s=new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),d=new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),m=new RegExp("^((>>=)|(<<=))"),g=new RegExp("^[\\]\\)]"),h=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*"),x=r(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),v=r(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);function l(e,n){return!e.sol()&&e.peek()==="'"?(e.next(),n.tokenize=o,"operator"):(n.tokenize=o,o(e,n))}function b(e,n){return e.match(/^.*%}/)?(n.tokenize=o,"comment"):(e.skipToEnd(),"comment")}function o(e,n){if(e.eatSpace())return null;if(e.match("%{"))return n.tokenize=b,e.skipToEnd(),"comment";if(e.match(/^[%#]/))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return e.tokenize=o,"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(e.match(r(["nan","NaN","inf","Inf"])))return"number";var f=e.match(/^"(?:[^"]|"")*("|$)/)||e.match(/^'(?:[^']|'')*('|$)/);return f?f[1]?"string":"string error":e.match(v)?"keyword":e.match(x)?"builtin":e.match(h)?"variable":e.match(i)||e.match(s)?"operator":e.match(c)||e.match(d)||e.match(m)?null:e.match(g)?(n.tokenize=l,null):(e.next(),"error")}return{startState:function(){return{tokenize:o}},token:function(e,n){var f=n.tokenize(e,n);return(f==="number"||f==="variable")&&(n.tokenize=l),f},lineComment:"%",fold:"indent"}}),t.defineMIME("text/x-octave","octave")})})();var p=y.exports;const z=k(p),R=w({__proto__:null,default:z},[p]);export{R as o}; +import{g as k,c as E}from"./index-rXwcQ1j1.js";function w(u,a){for(var t=0;tr[i]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(u,a){(function(t){t(E)})(function(t){t.defineMode("octave",function(){function r(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var i=new RegExp("^[\\+\\-\\*/&|\\^~<>!@'\\\\]"),c=new RegExp("^[\\(\\[\\{\\},:=;\\.]"),s=new RegExp("^((==)|(~=)|(<=)|(>=)|(<<)|(>>)|(\\.[\\+\\-\\*/\\^\\\\]))"),d=new RegExp("^((!=)|(\\+=)|(\\-=)|(\\*=)|(/=)|(&=)|(\\|=)|(\\^=))"),m=new RegExp("^((>>=)|(<<=))"),g=new RegExp("^[\\]\\)]"),h=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*"),x=r(["error","eval","function","abs","acos","atan","asin","cos","cosh","exp","log","prod","sum","log10","max","min","sign","sin","sinh","sqrt","tan","reshape","break","zeros","default","margin","round","ones","rand","syn","ceil","floor","size","clear","zeros","eye","mean","std","cov","det","eig","inv","norm","rank","trace","expm","logm","sqrtm","linspace","plot","title","xlabel","ylabel","legend","text","grid","meshgrid","mesh","num2str","fft","ifft","arrayfun","cellfun","input","fliplr","flipud","ismember"]),v=r(["return","case","switch","else","elseif","end","endif","endfunction","if","otherwise","do","for","while","try","catch","classdef","properties","events","methods","global","persistent","endfor","endwhile","printf","sprintf","disp","until","continue","pkg"]);function l(e,n){return!e.sol()&&e.peek()==="'"?(e.next(),n.tokenize=o,"operator"):(n.tokenize=o,o(e,n))}function b(e,n){return e.match(/^.*%}/)?(n.tokenize=o,"comment"):(e.skipToEnd(),"comment")}function o(e,n){if(e.eatSpace())return null;if(e.match("%{"))return n.tokenize=b,e.skipToEnd(),"comment";if(e.match(/^[%#]/))return e.skipToEnd(),"comment";if(e.match(/^[0-9\.+-]/,!1)){if(e.match(/^[+-]?0x[0-9a-fA-F]+[ij]?/))return e.tokenize=o,"number";if(e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?[ij]?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?[ij]?/))return"number"}if(e.match(r(["nan","NaN","inf","Inf"])))return"number";var f=e.match(/^"(?:[^"]|"")*("|$)/)||e.match(/^'(?:[^']|'')*('|$)/);return f?f[1]?"string":"string error":e.match(v)?"keyword":e.match(x)?"builtin":e.match(h)?"variable":e.match(i)||e.match(s)?"operator":e.match(c)||e.match(d)||e.match(m)?null:e.match(g)?(n.tokenize=l,null):(e.next(),"error")}return{startState:function(){return{tokenize:o}},token:function(e,n){var f=n.tokenize(e,n);return(f==="number"||f==="variable")&&(n.tokenize=l),f},lineComment:"%",fold:"indent"}}),t.defineMIME("text/x-octave","octave")})})();var p=y.exports;const z=k(p),R=w({__proto__:null,default:z},[p]);export{R as o}; diff --git a/dist-ui/assets/overlay-dm0rKfhE.js b/dist-ui/assets/overlay-DtxTNIBP.js similarity index 94% rename from dist-ui/assets/overlay-dm0rKfhE.js rename to dist-ui/assets/overlay-DtxTNIBP.js index 9f8c06e8..74e3b530 100644 --- a/dist-ui/assets/overlay-dm0rKfhE.js +++ b/dist-ui/assets/overlay-DtxTNIBP.js @@ -1 +1 @@ -import{c as y}from"./index-CHg1vBCc.js";var a={exports:{}},v;function f(){return v||(v=1,function(c,s){(function(e){e(y)})(function(e){e.overlayMode=function(r,u,i){return{startState:function(){return{base:e.startState(r),overlay:e.startState(u),basePos:0,baseCur:null,overlayPos:0,overlayCur:null,streamSeen:null}},copyState:function(o){return{base:e.copyState(r,o.base),overlay:e.copyState(u,o.overlay),basePos:o.basePos,baseCur:null,overlayPos:o.overlayPos,overlayCur:null}},token:function(o,n){return(o!=n.streamSeen||Math.min(n.basePos,n.overlayPos)u[o]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var _={exports:{}};(function(a,l){(function(i){i(P)})(function(i){i.defineMode("oz",function(u){function o(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var f=/[\^@!\|<>#~\.\*\-\+\\/,=]/,v=/(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/,x=/(:::)|(\.\.\.)|(=<:)|(>=:)/,s=["in","then","else","of","elseof","elsecase","elseif","catch","finally","with","require","prepare","import","export","define","do"],p=["end"],b=o(["true","false","nil","unit"]),y=o(["andthen","at","attr","declare","feat","from","lex","mod","div","mode","orelse","parser","prod","prop","scanner","self","syn","token"]),w=o(["local","proc","fun","case","class","if","cond","or","dis","choice","not","thread","try","raise","lock","for","suchthat","meth","functor"]),h=o(s),k=o(p);function c(e,n){if(e.eatSpace())return null;if(e.match(/[{}]/))return"bracket";if(e.match("[]"))return"keyword";if(e.match(x)||e.match(v))return"operator";if(e.match(b))return"atom";var t=e.match(w);if(t)return n.doInCurrentLine?n.doInCurrentLine=!1:n.currentIndent++,t[0]=="proc"||t[0]=="fun"?n.tokenize=I:t[0]=="class"?n.tokenize=S:t[0]=="meth"&&(n.tokenize=E),"keyword";if(e.match(h)||e.match(y))return"keyword";if(e.match(k))return n.currentIndent--,"keyword";var r=e.next();if(r=='"'||r=="'")return n.tokenize=A(r),n.tokenize(e,n);if(/[~\d]/.test(r)){if(r=="~")if(/^[0-9]/.test(e.peek())){if(e.next()=="0"&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))return"number"}else return null;return r=="0"&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/)?"number":null}return r=="%"?(e.skipToEnd(),"comment"):r=="/"&&e.eat("*")?(n.tokenize=m,m(e,n)):f.test(r)?"operator":(e.eatWhile(/\w/),"variable")}function S(e,n){return e.eatSpace()?null:(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/),n.tokenize=c,"variable-3")}function E(e,n){return e.eatSpace()?null:(e.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/),n.tokenize=c,"def")}function I(e,n){return e.eatSpace()?null:!n.hasPassedFirstStage&&e.eat("{")?(n.hasPassedFirstStage=!0,"bracket"):n.hasPassedFirstStage?(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/),n.hasPassedFirstStage=!1,n.tokenize=c,"def"):(n.tokenize=c,null)}function m(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=c;break}t=r=="*"}return"comment"}function A(e){return function(n,t){for(var r=!1,d,z=!1;(d=n.next())!=null;){if(d==e&&!r){z=!0;break}r=!r&&d=="\\"}return(z||!r)&&(t.tokenize=c),"string"}}function C(){var e=s.concat(p);return new RegExp("[\\[\\]]|("+e.join("|")+")$")}return{startState:function(){return{tokenize:c,currentIndent:0,doInCurrentLine:!1,hasPassedFirstStage:!1}},token:function(e,n){return e.sol()&&(n.doInCurrentLine=0),n.tokenize(e,n)},indent:function(e,n){var t=n.replace(/^\s+|\s+$/g,"");return t.match(k)||t.match(h)||t.match(/(\[])/)?u.indentUnit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*u.indentUnit},fold:"indent",electricInput:C(),lineComment:"%",blockCommentStart:"/*",blockCommentEnd:"*/"}}),i.defineMIME("text/x-oz","oz")})})();var g=_.exports;const j=F(g),$=O({__proto__:null,default:j},[g]);export{$ as o}; +import{g as F,c as P}from"./index-rXwcQ1j1.js";function O(a,l){for(var i=0;iu[o]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var _={exports:{}};(function(a,l){(function(i){i(P)})(function(i){i.defineMode("oz",function(u){function o(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var f=/[\^@!\|<>#~\.\*\-\+\\/,=]/,v=/(<-)|(:=)|(=<)|(>=)|(<=)|(<:)|(>:)|(=:)|(\\=)|(\\=:)|(!!)|(==)|(::)/,x=/(:::)|(\.\.\.)|(=<:)|(>=:)/,s=["in","then","else","of","elseof","elsecase","elseif","catch","finally","with","require","prepare","import","export","define","do"],p=["end"],b=o(["true","false","nil","unit"]),y=o(["andthen","at","attr","declare","feat","from","lex","mod","div","mode","orelse","parser","prod","prop","scanner","self","syn","token"]),w=o(["local","proc","fun","case","class","if","cond","or","dis","choice","not","thread","try","raise","lock","for","suchthat","meth","functor"]),h=o(s),k=o(p);function c(e,n){if(e.eatSpace())return null;if(e.match(/[{}]/))return"bracket";if(e.match("[]"))return"keyword";if(e.match(x)||e.match(v))return"operator";if(e.match(b))return"atom";var t=e.match(w);if(t)return n.doInCurrentLine?n.doInCurrentLine=!1:n.currentIndent++,t[0]=="proc"||t[0]=="fun"?n.tokenize=I:t[0]=="class"?n.tokenize=S:t[0]=="meth"&&(n.tokenize=E),"keyword";if(e.match(h)||e.match(y))return"keyword";if(e.match(k))return n.currentIndent--,"keyword";var r=e.next();if(r=='"'||r=="'")return n.tokenize=A(r),n.tokenize(e,n);if(/[~\d]/.test(r)){if(r=="~")if(/^[0-9]/.test(e.peek())){if(e.next()=="0"&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/))return"number"}else return null;return r=="0"&&e.match(/^[xX][0-9a-fA-F]+/)||e.match(/^[0-9]*(\.[0-9]+)?([eE][~+]?[0-9]+)?/)?"number":null}return r=="%"?(e.skipToEnd(),"comment"):r=="/"&&e.eat("*")?(n.tokenize=m,m(e,n)):f.test(r)?"operator":(e.eatWhile(/\w/),"variable")}function S(e,n){return e.eatSpace()?null:(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)/),n.tokenize=c,"variable-3")}function E(e,n){return e.eatSpace()?null:(e.match(/([a-zA-Z][A-Za-z0-9_]*)|(`.+`)/),n.tokenize=c,"def")}function I(e,n){return e.eatSpace()?null:!n.hasPassedFirstStage&&e.eat("{")?(n.hasPassedFirstStage=!0,"bracket"):n.hasPassedFirstStage?(e.match(/([A-Z][A-Za-z0-9_]*)|(`.+`)|\$/),n.hasPassedFirstStage=!1,n.tokenize=c,"def"):(n.tokenize=c,null)}function m(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=c;break}t=r=="*"}return"comment"}function A(e){return function(n,t){for(var r=!1,d,z=!1;(d=n.next())!=null;){if(d==e&&!r){z=!0;break}r=!r&&d=="\\"}return(z||!r)&&(t.tokenize=c),"string"}}function C(){var e=s.concat(p);return new RegExp("[\\[\\]]|("+e.join("|")+")$")}return{startState:function(){return{tokenize:c,currentIndent:0,doInCurrentLine:!1,hasPassedFirstStage:!1}},token:function(e,n){return e.sol()&&(n.doInCurrentLine=0),n.tokenize(e,n)},indent:function(e,n){var t=n.replace(/^\s+|\s+$/g,"");return t.match(k)||t.match(h)||t.match(/(\[])/)?u.indentUnit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*u.indentUnit},fold:"indent",electricInput:C(),lineComment:"%",blockCommentStart:"/*",blockCommentEnd:"*/"}}),i.defineMIME("text/x-oz","oz")})})();var g=_.exports;const j=F(g),$=O({__proto__:null,default:j},[g]);export{$ as o}; diff --git a/dist-ui/assets/pascal-DhSSDiye.js b/dist-ui/assets/pascal-zNyoTvtX.js similarity index 97% rename from dist-ui/assets/pascal-DhSSDiye.js rename to dist-ui/assets/pascal-zNyoTvtX.js index 78fd09c3..ed458682 100644 --- a/dist-ui/assets/pascal-DhSSDiye.js +++ b/dist-ui/assets/pascal-zNyoTvtX.js @@ -1 +1 @@ -import{g,c as h}from"./index-CHg1vBCc.js";function x(c,u){for(var o=0;oi[a]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(c,u){(function(o){o(h)})(function(o){o.defineMode("pascal",function(){function i(r){for(var t={},e=r.split(" "),n=0;n!?|\/]/;function b(r,t){var e=r.next();if(e=="#"&&t.startOfLine)return r.skipToEnd(),"meta";if(e=='"'||e=="'")return t.tokenize=v(e),t.tokenize(r,t);if(e=="("&&r.eat("*"))return t.tokenize=p,p(r,t);if(e=="{")return t.tokenize=d,d(r,t);if(/[\[\]\(\),;\:\.]/.test(e))return null;if(/\d/.test(e))return r.eatWhile(/[\w\.]/),"number";if(e=="/"&&r.eat("/"))return r.skipToEnd(),"comment";if(f.test(e))return r.eatWhile(f),"operator";r.eatWhile(/[\w\$_]/);var n=r.current();return a.propertyIsEnumerable(n)?"keyword":l.propertyIsEnumerable(n)?"atom":"variable"}function v(r){return function(t,e){for(var n=!1,s,m=!1;(s=t.next())!=null;){if(s==r&&!n){m=!0;break}n=!n&&s=="\\"}return(m||!n)&&(e.tokenize=null),"string"}}function p(r,t){for(var e=!1,n;n=r.next();){if(n==")"&&e){t.tokenize=null;break}e=n=="*"}return"comment"}function d(r,t){for(var e;e=r.next();)if(e=="}"){t.tokenize=null;break}return"comment"}return{startState:function(){return{tokenize:null}},token:function(r,t){if(r.eatSpace())return null;var e=(t.tokenize||b)(r,t);return e=="comment"||e=="meta",e},electricChars:"{}"}}),o.defineMIME("text/x-pascal","pascal")})})();var k=y.exports;const w=g(k),E=x({__proto__:null,default:w},[k]);export{E as p}; +import{g,c as h}from"./index-rXwcQ1j1.js";function x(c,u){for(var o=0;oi[a]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(c,u){(function(o){o(h)})(function(o){o.defineMode("pascal",function(){function i(r){for(var t={},e=r.split(" "),n=0;n!?|\/]/;function b(r,t){var e=r.next();if(e=="#"&&t.startOfLine)return r.skipToEnd(),"meta";if(e=='"'||e=="'")return t.tokenize=v(e),t.tokenize(r,t);if(e=="("&&r.eat("*"))return t.tokenize=p,p(r,t);if(e=="{")return t.tokenize=d,d(r,t);if(/[\[\]\(\),;\:\.]/.test(e))return null;if(/\d/.test(e))return r.eatWhile(/[\w\.]/),"number";if(e=="/"&&r.eat("/"))return r.skipToEnd(),"comment";if(f.test(e))return r.eatWhile(f),"operator";r.eatWhile(/[\w\$_]/);var n=r.current();return a.propertyIsEnumerable(n)?"keyword":l.propertyIsEnumerable(n)?"atom":"variable"}function v(r){return function(t,e){for(var n=!1,s,m=!1;(s=t.next())!=null;){if(s==r&&!n){m=!0;break}n=!n&&s=="\\"}return(m||!n)&&(e.tokenize=null),"string"}}function p(r,t){for(var e=!1,n;n=r.next();){if(n==")"&&e){t.tokenize=null;break}e=n=="*"}return"comment"}function d(r,t){for(var e;e=r.next();)if(e=="}"){t.tokenize=null;break}return"comment"}return{startState:function(){return{tokenize:null}},token:function(r,t){if(r.eatSpace())return null;var e=(t.tokenize||b)(r,t);return e=="comment"||e=="meta",e},electricChars:"{}"}}),o.defineMIME("text/x-pascal","pascal")})})();var k=y.exports;const w=g(k),E=x({__proto__:null,default:w},[k]);export{E as p}; diff --git a/dist-ui/assets/pegjs-BvjNbJA5.js b/dist-ui/assets/pegjs-DgeOK2GR.js similarity index 96% rename from dist-ui/assets/pegjs-BvjNbJA5.js rename to dist-ui/assets/pegjs-DgeOK2GR.js index 92230352..3bdb7287 100644 --- a/dist-ui/assets/pegjs-BvjNbJA5.js +++ b/dist-ui/assets/pegjs-DgeOK2GR.js @@ -1 +1 @@ -import{g,c as h,a as d}from"./index-CHg1vBCc.js";function C(c,t){for(var i=0;il[r]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var S={exports:{}};(function(c,t){(function(i){i(h,d())})(function(i){i.defineMode("pegjs",function(l){var r=i.getMode(l,"javascript");function o(e){return e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)}return{startState:function(){return{inString:!1,stringType:null,inComment:!1,inCharacterClass:!1,braced:0,lhs:!0,localState:null}},token:function(e,n){if(!n.inString&&!n.inComment&&(e.peek()=='"'||e.peek()=="'")&&(n.stringType=e.peek(),e.next(),n.inString=!0),!n.inString&&!n.inComment&&e.match("/*")&&(n.inComment=!0),n.inString){for(;n.inString&&!e.eol();)e.peek()===n.stringType?(e.next(),n.inString=!1):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return n.lhs?"property string":"string"}else if(n.inComment){for(;n.inComment&&!e.eol();)e.match("*/")?n.inComment=!1:e.match(/^.[^\*]*/);return"comment"}else if(n.inCharacterClass)for(;n.inCharacterClass&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||(n.inCharacterClass=!1);else{if(e.peek()==="[")return e.next(),n.inCharacterClass=!0,"bracket";if(e.match("//"))return e.skipToEnd(),"comment";if(n.braced||e.peek()==="{"){n.localState===null&&(n.localState=i.startState(r));var u=r.token(e,n.localState),p=e.current();if(!u)for(var f=0;fl[r]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var S={exports:{}};(function(c,t){(function(i){i(h,d())})(function(i){i.defineMode("pegjs",function(l){var r=i.getMode(l,"javascript");function o(e){return e.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)}return{startState:function(){return{inString:!1,stringType:null,inComment:!1,inCharacterClass:!1,braced:0,lhs:!0,localState:null}},token:function(e,n){if(!n.inString&&!n.inComment&&(e.peek()=='"'||e.peek()=="'")&&(n.stringType=e.peek(),e.next(),n.inString=!0),!n.inString&&!n.inComment&&e.match("/*")&&(n.inComment=!0),n.inString){for(;n.inString&&!e.eol();)e.peek()===n.stringType?(e.next(),n.inString=!1):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return n.lhs?"property string":"string"}else if(n.inComment){for(;n.inComment&&!e.eol();)e.match("*/")?n.inComment=!1:e.match(/^.[^\*]*/);return"comment"}else if(n.inCharacterClass)for(;n.inCharacterClass&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||(n.inCharacterClass=!1);else{if(e.peek()==="[")return e.next(),n.inCharacterClass=!0,"bracket";if(e.match("//"))return e.skipToEnd(),"comment";if(n.braced||e.peek()==="{"){n.localState===null&&(n.localState=i.startState(r));var u=r.token(e,n.localState),p=e.current();if(!u)for(var f=0;fl[R]})}}}return Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var k={exports:{}};(function(d,c){(function(E){E(P)})(function(E){E.defineMode("perl",function(){var $={"->":4,"++":4,"--":4,"**":4,"=~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"<<":4,">>":4,"<":4,">":4,"<=":4,">=":4,lt:4,gt:4,le:4,ge:4,"==":4,"!=":4,"<=>":4,eq:4,ne:4,cmp:4,"~~":4,"&":4,"|":4,"^":4,"&&":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"=":4,"+=":4,"-=":4,"*=":4,",":4,"=>":4,"::":4,not:4,and:4,or:4,xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$<":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$>":5,$a:5,$b:5,$COMPILING:5,"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$&":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$=":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,"$]":5,if:[1,1],elsif:[1,1],else:[1,1],while:[1,1],unless:[1,1],for:[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,break:1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,continue:[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,default:1,defined:1,delete:1,die:1,do:1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,goto:1,grep:1,hex:1,import:1,index:1,int:1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,new:1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,package:1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,return:1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},u="string-2",f=/[goseximacplud]/;function r(n,i,o,p,_){return i.chain=null,i.style=null,i.tail=null,i.tokenize=function(e,T){for(var S=!1,I,N=0;I=e.next();){if(I===o[N]&&!S)return o[++N]!==void 0?(T.chain=o[N],T.style=p,T.tail=_):_&&e.eatWhile(_),T.tokenize=g,p;S=!S&&I=="\\"}return p},i.tokenize(n,i)}function O(n,i,o){return i.tokenize=function(p,_){return p.string==o&&(_.tokenize=g),p.skipToEnd(),"string"},i.tokenize(n,i)}function g(n,i){if(n.eatSpace())return null;if(i.chain)return r(n,i,i.chain,i.style,i.tail);if(n.match(/^(\-?((\d[\d_]*)?\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F_]+|0b[01_]+|\d[\d_]*(e[+-]?\d+)?)/))return"number";if(n.match(/^<<(?=[_a-zA-Z])/))return n.eatWhile(/\w/),O(n,i,n.current().substr(2));if(n.sol()&&n.match(/^\=item(?!\w)/))return O(n,i,"=cut");var o=n.next();if(o=='"'||o=="'"){if(R(n,3)=="<<"+o){var p=n.pos;n.eatWhile(/\w/);var _=n.current().substr(1);if(_&&n.eat(o))return O(n,i,_);n.pos=p}return r(n,i,[o],"string")}if(o=="q"){var e=l(n,-2);if(!(e&&/\w/.test(e))){if(e=l(n,0),e=="x"){if(e=l(n,1),e=="(")return t(n,2),r(n,i,[")"],u,f);if(e=="[")return t(n,2),r(n,i,["]"],u,f);if(e=="{")return t(n,2),r(n,i,["}"],u,f);if(e=="<")return t(n,2),r(n,i,[">"],u,f);if(/[\^'"!~\/]/.test(e))return t(n,1),r(n,i,[n.eat(e)],u,f)}else if(e=="q"){if(e=l(n,1),e=="(")return t(n,2),r(n,i,[")"],"string");if(e=="[")return t(n,2),r(n,i,["]"],"string");if(e=="{")return t(n,2),r(n,i,["}"],"string");if(e=="<")return t(n,2),r(n,i,[">"],"string");if(/[\^'"!~\/]/.test(e))return t(n,1),r(n,i,[n.eat(e)],"string")}else if(e=="w"){if(e=l(n,1),e=="(")return t(n,2),r(n,i,[")"],"bracket");if(e=="[")return t(n,2),r(n,i,["]"],"bracket");if(e=="{")return t(n,2),r(n,i,["}"],"bracket");if(e=="<")return t(n,2),r(n,i,[">"],"bracket");if(/[\^'"!~\/]/.test(e))return t(n,1),r(n,i,[n.eat(e)],"bracket")}else if(e=="r"){if(e=l(n,1),e=="(")return t(n,2),r(n,i,[")"],u,f);if(e=="[")return t(n,2),r(n,i,["]"],u,f);if(e=="{")return t(n,2),r(n,i,["}"],u,f);if(e=="<")return t(n,2),r(n,i,[">"],u,f);if(/[\^'"!~\/]/.test(e))return t(n,1),r(n,i,[n.eat(e)],u,f)}else if(/[\^'"!~\/(\[{<]/.test(e)){if(e=="(")return t(n,1),r(n,i,[")"],"string");if(e=="[")return t(n,1),r(n,i,["]"],"string");if(e=="{")return t(n,1),r(n,i,["}"],"string");if(e=="<")return t(n,1),r(n,i,[">"],"string");if(/[\^'"!~\/]/.test(e))return r(n,i,[n.eat(e)],"string")}}}if(o=="m"){var e=l(n,-2);if(!(e&&/\w/.test(e))&&(e=n.eat(/[(\[{<\^'"!~\/]/),e)){if(/[\^'"!~\/]/.test(e))return r(n,i,[e],u,f);if(e=="(")return r(n,i,[")"],u,f);if(e=="[")return r(n,i,["]"],u,f);if(e=="{")return r(n,i,["}"],u,f);if(e=="<")return r(n,i,[">"],u,f)}}if(o=="s"){var e=/[\/>\]})\w]/.test(l(n,-2));if(!e&&(e=n.eat(/[(\[{<\^'"!~\/]/),e))return e=="["?r(n,i,["]","]"],u,f):e=="{"?r(n,i,["}","}"],u,f):e=="<"?r(n,i,[">",">"],u,f):e=="("?r(n,i,[")",")"],u,f):r(n,i,[e,e],u,f)}if(o=="y"){var e=/[\/>\]})\w]/.test(l(n,-2));if(!e&&(e=n.eat(/[(\[{<\^'"!~\/]/),e))return e=="["?r(n,i,["]","]"],u,f):e=="{"?r(n,i,["}","}"],u,f):e=="<"?r(n,i,[">",">"],u,f):e=="("?r(n,i,[")",")"],u,f):r(n,i,[e,e],u,f)}if(o=="t"){var e=/[\/>\]})\w]/.test(l(n,-2));if(!e&&(e=n.eat("r"),e&&(e=n.eat(/[(\[{<\^'"!~\/]/),e)))return e=="["?r(n,i,["]","]"],u,f):e=="{"?r(n,i,["}","}"],u,f):e=="<"?r(n,i,[">",">"],u,f):e=="("?r(n,i,[")",")"],u,f):r(n,i,[e,e],u,f)}if(o=="`")return r(n,i,[o],"variable-2");if(o=="/")return/~\s*$/.test(R(n))?r(n,i,[o],u,f):"operator";if(o=="$"){var p=n.pos;if(n.eatWhile(/\d/)||n.eat("{")&&n.eatWhile(/\d/)&&n.eat("}"))return"variable-2";n.pos=p}if(/[$@%]/.test(o)){var p=n.pos;if(n.eat("^")&&n.eat(/[A-Z]/)||!/[@$%&]/.test(l(n,-2))&&n.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){var e=n.current();if($[e])return"variable-2"}n.pos=p}if(/[$@%&]/.test(o)&&(n.eatWhile(/[\w$]/)||n.eat("{")&&n.eatWhile(/[\w$]/)&&n.eat("}"))){var e=n.current();return $[e]?"variable-2":"variable"}if(o=="#"&&l(n,-2)!="$")return n.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(o)){var p=n.pos;if(n.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),$[n.current()])return"operator";n.pos=p}if(o=="_"&&n.pos==1){if(A(n,6)=="_END__")return r(n,i,["\0"],"comment");if(A(n,7)=="_DATA__")return r(n,i,["\0"],"variable-2");if(A(n,7)=="_C__")return r(n,i,["\0"],"string")}if(/\w/.test(o)){var p=n.pos;if(l(n,-2)=="{"&&(l(n,0)=="}"||n.eatWhile(/\w/)&&l(n,0)=="}"))return"string";n.pos=p}if(/[A-Z]/.test(o)){var T=l(n,-2),p=n.pos;if(n.eatWhile(/[A-Z_]/),/[\da-z]/.test(l(n,0)))n.pos=p;else{var e=$[n.current()];return e?(e[1]&&(e=e[0]),T!=":"?e==1?"keyword":e==2?"def":e==3?"atom":e==4?"operator":e==5?"variable-2":"meta":"meta"):"meta"}}if(/[a-zA-Z_]/.test(o)){var T=l(n,-2);n.eatWhile(/\w/);var e=$[n.current()];return e?(e[1]&&(e=e[0]),T!=":"?e==1?"keyword":e==2?"def":e==3?"atom":e==4?"operator":e==5?"variable-2":"meta":"meta"):"meta"}return null}return{startState:function(){return{tokenize:g,chain:null,style:null,tail:null}},token:function(n,i){return(i.tokenize||g)(n,i)},lineComment:"#"}}),E.registerHelper("wordChars","perl",/[\w$]/),E.defineMIME("text/x-perl","perl");function l($,u){return $.string.charAt($.pos+(u||0))}function R($,u){if(u){var f=$.pos-u;return $.string.substr(f>=0?f:0,u)}else return $.string.substr(0,$.pos-1)}function A($,u){var f=$.string.length,r=f-$.pos+1;return $.string.substr($.pos,u&&u=(r=$.string.length-1)?$.pos=r:$.pos=f}})})();var v=k.exports;const D=h(v),y=b({__proto__:null,default:D},[v]);export{y as p}; +import{g as h,c as P}from"./index-rXwcQ1j1.js";function b(d,c){for(var E=0;El[R]})}}}return Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var k={exports:{}};(function(d,c){(function(E){E(P)})(function(E){E.defineMode("perl",function(){var $={"->":4,"++":4,"--":4,"**":4,"=~":4,"!~":4,"*":4,"/":4,"%":4,x:4,"+":4,"-":4,".":4,"<<":4,">>":4,"<":4,">":4,"<=":4,">=":4,lt:4,gt:4,le:4,ge:4,"==":4,"!=":4,"<=>":4,eq:4,ne:4,cmp:4,"~~":4,"&":4,"|":4,"^":4,"&&":4,"||":4,"//":4,"..":4,"...":4,"?":4,":":4,"=":4,"+=":4,"-=":4,"*=":4,",":4,"=>":4,"::":4,not:4,and:4,or:4,xor:4,BEGIN:[5,1],END:[5,1],PRINT:[5,1],PRINTF:[5,1],GETC:[5,1],READ:[5,1],READLINE:[5,1],DESTROY:[5,1],TIE:[5,1],TIEHANDLE:[5,1],UNTIE:[5,1],STDIN:5,STDIN_TOP:5,STDOUT:5,STDOUT_TOP:5,STDERR:5,STDERR_TOP:5,$ARG:5,$_:5,"@ARG":5,"@_":5,$LIST_SEPARATOR:5,'$"':5,$PROCESS_ID:5,$PID:5,$$:5,$REAL_GROUP_ID:5,$GID:5,"$(":5,$EFFECTIVE_GROUP_ID:5,$EGID:5,"$)":5,$PROGRAM_NAME:5,$0:5,$SUBSCRIPT_SEPARATOR:5,$SUBSEP:5,"$;":5,$REAL_USER_ID:5,$UID:5,"$<":5,$EFFECTIVE_USER_ID:5,$EUID:5,"$>":5,$a:5,$b:5,$COMPILING:5,"$^C":5,$DEBUGGING:5,"$^D":5,"${^ENCODING}":5,$ENV:5,"%ENV":5,$SYSTEM_FD_MAX:5,"$^F":5,"@F":5,"${^GLOBAL_PHASE}":5,"$^H":5,"%^H":5,"@INC":5,"%INC":5,$INPLACE_EDIT:5,"$^I":5,"$^M":5,$OSNAME:5,"$^O":5,"${^OPEN}":5,$PERLDB:5,"$^P":5,$SIG:5,"%SIG":5,$BASETIME:5,"$^T":5,"${^TAINT}":5,"${^UNICODE}":5,"${^UTF8CACHE}":5,"${^UTF8LOCALE}":5,$PERL_VERSION:5,"$^V":5,"${^WIN32_SLOPPY_STAT}":5,$EXECUTABLE_NAME:5,"$^X":5,$1:5,$MATCH:5,"$&":5,"${^MATCH}":5,$PREMATCH:5,"$`":5,"${^PREMATCH}":5,$POSTMATCH:5,"$'":5,"${^POSTMATCH}":5,$LAST_PAREN_MATCH:5,"$+":5,$LAST_SUBMATCH_RESULT:5,"$^N":5,"@LAST_MATCH_END":5,"@+":5,"%LAST_PAREN_MATCH":5,"%+":5,"@LAST_MATCH_START":5,"@-":5,"%LAST_MATCH_START":5,"%-":5,$LAST_REGEXP_CODE_RESULT:5,"$^R":5,"${^RE_DEBUG_FLAGS}":5,"${^RE_TRIE_MAXBUF}":5,$ARGV:5,"@ARGV":5,ARGV:5,ARGVOUT:5,$OUTPUT_FIELD_SEPARATOR:5,$OFS:5,"$,":5,$INPUT_LINE_NUMBER:5,$NR:5,"$.":5,$INPUT_RECORD_SEPARATOR:5,$RS:5,"$/":5,$OUTPUT_RECORD_SEPARATOR:5,$ORS:5,"$\\":5,$OUTPUT_AUTOFLUSH:5,"$|":5,$ACCUMULATOR:5,"$^A":5,$FORMAT_FORMFEED:5,"$^L":5,$FORMAT_PAGE_NUMBER:5,"$%":5,$FORMAT_LINES_LEFT:5,"$-":5,$FORMAT_LINE_BREAK_CHARACTERS:5,"$:":5,$FORMAT_LINES_PER_PAGE:5,"$=":5,$FORMAT_TOP_NAME:5,"$^":5,$FORMAT_NAME:5,"$~":5,"${^CHILD_ERROR_NATIVE}":5,$EXTENDED_OS_ERROR:5,"$^E":5,$EXCEPTIONS_BEING_CAUGHT:5,"$^S":5,$WARNING:5,"$^W":5,"${^WARNING_BITS}":5,$OS_ERROR:5,$ERRNO:5,"$!":5,"%OS_ERROR":5,"%ERRNO":5,"%!":5,$CHILD_ERROR:5,"$?":5,$EVAL_ERROR:5,"$@":5,$OFMT:5,"$#":5,"$*":5,$ARRAY_BASE:5,"$[":5,$OLD_PERL_VERSION:5,"$]":5,if:[1,1],elsif:[1,1],else:[1,1],while:[1,1],unless:[1,1],for:[1,1],foreach:[1,1],abs:1,accept:1,alarm:1,atan2:1,bind:1,binmode:1,bless:1,bootstrap:1,break:1,caller:1,chdir:1,chmod:1,chomp:1,chop:1,chown:1,chr:1,chroot:1,close:1,closedir:1,connect:1,continue:[1,1],cos:1,crypt:1,dbmclose:1,dbmopen:1,default:1,defined:1,delete:1,die:1,do:1,dump:1,each:1,endgrent:1,endhostent:1,endnetent:1,endprotoent:1,endpwent:1,endservent:1,eof:1,eval:1,exec:1,exists:1,exit:1,exp:1,fcntl:1,fileno:1,flock:1,fork:1,format:1,formline:1,getc:1,getgrent:1,getgrgid:1,getgrnam:1,gethostbyaddr:1,gethostbyname:1,gethostent:1,getlogin:1,getnetbyaddr:1,getnetbyname:1,getnetent:1,getpeername:1,getpgrp:1,getppid:1,getpriority:1,getprotobyname:1,getprotobynumber:1,getprotoent:1,getpwent:1,getpwnam:1,getpwuid:1,getservbyname:1,getservbyport:1,getservent:1,getsockname:1,getsockopt:1,given:1,glob:1,gmtime:1,goto:1,grep:1,hex:1,import:1,index:1,int:1,ioctl:1,join:1,keys:1,kill:1,last:1,lc:1,lcfirst:1,length:1,link:1,listen:1,local:2,localtime:1,lock:1,log:1,lstat:1,m:null,map:1,mkdir:1,msgctl:1,msgget:1,msgrcv:1,msgsnd:1,my:2,new:1,next:1,no:1,oct:1,open:1,opendir:1,ord:1,our:2,pack:1,package:1,pipe:1,pop:1,pos:1,print:1,printf:1,prototype:1,push:1,q:null,qq:null,qr:null,quotemeta:null,qw:null,qx:null,rand:1,read:1,readdir:1,readline:1,readlink:1,readpipe:1,recv:1,redo:1,ref:1,rename:1,require:1,reset:1,return:1,reverse:1,rewinddir:1,rindex:1,rmdir:1,s:null,say:1,scalar:1,seek:1,seekdir:1,select:1,semctl:1,semget:1,semop:1,send:1,setgrent:1,sethostent:1,setnetent:1,setpgrp:1,setpriority:1,setprotoent:1,setpwent:1,setservent:1,setsockopt:1,shift:1,shmctl:1,shmget:1,shmread:1,shmwrite:1,shutdown:1,sin:1,sleep:1,socket:1,socketpair:1,sort:1,splice:1,split:1,sprintf:1,sqrt:1,srand:1,stat:1,state:1,study:1,sub:1,substr:1,symlink:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,tell:1,telldir:1,tie:1,tied:1,time:1,times:1,tr:null,truncate:1,uc:1,ucfirst:1,umask:1,undef:1,unlink:1,unpack:1,unshift:1,untie:1,use:1,utime:1,values:1,vec:1,wait:1,waitpid:1,wantarray:1,warn:1,when:1,write:1,y:null},u="string-2",f=/[goseximacplud]/;function r(n,i,o,p,_){return i.chain=null,i.style=null,i.tail=null,i.tokenize=function(e,T){for(var S=!1,I,N=0;I=e.next();){if(I===o[N]&&!S)return o[++N]!==void 0?(T.chain=o[N],T.style=p,T.tail=_):_&&e.eatWhile(_),T.tokenize=g,p;S=!S&&I=="\\"}return p},i.tokenize(n,i)}function O(n,i,o){return i.tokenize=function(p,_){return p.string==o&&(_.tokenize=g),p.skipToEnd(),"string"},i.tokenize(n,i)}function g(n,i){if(n.eatSpace())return null;if(i.chain)return r(n,i,i.chain,i.style,i.tail);if(n.match(/^(\-?((\d[\d_]*)?\.\d+(e[+-]?\d+)?|\d+\.\d*)|0x[\da-fA-F_]+|0b[01_]+|\d[\d_]*(e[+-]?\d+)?)/))return"number";if(n.match(/^<<(?=[_a-zA-Z])/))return n.eatWhile(/\w/),O(n,i,n.current().substr(2));if(n.sol()&&n.match(/^\=item(?!\w)/))return O(n,i,"=cut");var o=n.next();if(o=='"'||o=="'"){if(R(n,3)=="<<"+o){var p=n.pos;n.eatWhile(/\w/);var _=n.current().substr(1);if(_&&n.eat(o))return O(n,i,_);n.pos=p}return r(n,i,[o],"string")}if(o=="q"){var e=l(n,-2);if(!(e&&/\w/.test(e))){if(e=l(n,0),e=="x"){if(e=l(n,1),e=="(")return t(n,2),r(n,i,[")"],u,f);if(e=="[")return t(n,2),r(n,i,["]"],u,f);if(e=="{")return t(n,2),r(n,i,["}"],u,f);if(e=="<")return t(n,2),r(n,i,[">"],u,f);if(/[\^'"!~\/]/.test(e))return t(n,1),r(n,i,[n.eat(e)],u,f)}else if(e=="q"){if(e=l(n,1),e=="(")return t(n,2),r(n,i,[")"],"string");if(e=="[")return t(n,2),r(n,i,["]"],"string");if(e=="{")return t(n,2),r(n,i,["}"],"string");if(e=="<")return t(n,2),r(n,i,[">"],"string");if(/[\^'"!~\/]/.test(e))return t(n,1),r(n,i,[n.eat(e)],"string")}else if(e=="w"){if(e=l(n,1),e=="(")return t(n,2),r(n,i,[")"],"bracket");if(e=="[")return t(n,2),r(n,i,["]"],"bracket");if(e=="{")return t(n,2),r(n,i,["}"],"bracket");if(e=="<")return t(n,2),r(n,i,[">"],"bracket");if(/[\^'"!~\/]/.test(e))return t(n,1),r(n,i,[n.eat(e)],"bracket")}else if(e=="r"){if(e=l(n,1),e=="(")return t(n,2),r(n,i,[")"],u,f);if(e=="[")return t(n,2),r(n,i,["]"],u,f);if(e=="{")return t(n,2),r(n,i,["}"],u,f);if(e=="<")return t(n,2),r(n,i,[">"],u,f);if(/[\^'"!~\/]/.test(e))return t(n,1),r(n,i,[n.eat(e)],u,f)}else if(/[\^'"!~\/(\[{<]/.test(e)){if(e=="(")return t(n,1),r(n,i,[")"],"string");if(e=="[")return t(n,1),r(n,i,["]"],"string");if(e=="{")return t(n,1),r(n,i,["}"],"string");if(e=="<")return t(n,1),r(n,i,[">"],"string");if(/[\^'"!~\/]/.test(e))return r(n,i,[n.eat(e)],"string")}}}if(o=="m"){var e=l(n,-2);if(!(e&&/\w/.test(e))&&(e=n.eat(/[(\[{<\^'"!~\/]/),e)){if(/[\^'"!~\/]/.test(e))return r(n,i,[e],u,f);if(e=="(")return r(n,i,[")"],u,f);if(e=="[")return r(n,i,["]"],u,f);if(e=="{")return r(n,i,["}"],u,f);if(e=="<")return r(n,i,[">"],u,f)}}if(o=="s"){var e=/[\/>\]})\w]/.test(l(n,-2));if(!e&&(e=n.eat(/[(\[{<\^'"!~\/]/),e))return e=="["?r(n,i,["]","]"],u,f):e=="{"?r(n,i,["}","}"],u,f):e=="<"?r(n,i,[">",">"],u,f):e=="("?r(n,i,[")",")"],u,f):r(n,i,[e,e],u,f)}if(o=="y"){var e=/[\/>\]})\w]/.test(l(n,-2));if(!e&&(e=n.eat(/[(\[{<\^'"!~\/]/),e))return e=="["?r(n,i,["]","]"],u,f):e=="{"?r(n,i,["}","}"],u,f):e=="<"?r(n,i,[">",">"],u,f):e=="("?r(n,i,[")",")"],u,f):r(n,i,[e,e],u,f)}if(o=="t"){var e=/[\/>\]})\w]/.test(l(n,-2));if(!e&&(e=n.eat("r"),e&&(e=n.eat(/[(\[{<\^'"!~\/]/),e)))return e=="["?r(n,i,["]","]"],u,f):e=="{"?r(n,i,["}","}"],u,f):e=="<"?r(n,i,[">",">"],u,f):e=="("?r(n,i,[")",")"],u,f):r(n,i,[e,e],u,f)}if(o=="`")return r(n,i,[o],"variable-2");if(o=="/")return/~\s*$/.test(R(n))?r(n,i,[o],u,f):"operator";if(o=="$"){var p=n.pos;if(n.eatWhile(/\d/)||n.eat("{")&&n.eatWhile(/\d/)&&n.eat("}"))return"variable-2";n.pos=p}if(/[$@%]/.test(o)){var p=n.pos;if(n.eat("^")&&n.eat(/[A-Z]/)||!/[@$%&]/.test(l(n,-2))&&n.eat(/[=|\\\-#?@;:&`~\^!\[\]*'"$+.,\/<>()]/)){var e=n.current();if($[e])return"variable-2"}n.pos=p}if(/[$@%&]/.test(o)&&(n.eatWhile(/[\w$]/)||n.eat("{")&&n.eatWhile(/[\w$]/)&&n.eat("}"))){var e=n.current();return $[e]?"variable-2":"variable"}if(o=="#"&&l(n,-2)!="$")return n.skipToEnd(),"comment";if(/[:+\-\^*$&%@=<>!?|\/~\.]/.test(o)){var p=n.pos;if(n.eatWhile(/[:+\-\^*$&%@=<>!?|\/~\.]/),$[n.current()])return"operator";n.pos=p}if(o=="_"&&n.pos==1){if(A(n,6)=="_END__")return r(n,i,["\0"],"comment");if(A(n,7)=="_DATA__")return r(n,i,["\0"],"variable-2");if(A(n,7)=="_C__")return r(n,i,["\0"],"string")}if(/\w/.test(o)){var p=n.pos;if(l(n,-2)=="{"&&(l(n,0)=="}"||n.eatWhile(/\w/)&&l(n,0)=="}"))return"string";n.pos=p}if(/[A-Z]/.test(o)){var T=l(n,-2),p=n.pos;if(n.eatWhile(/[A-Z_]/),/[\da-z]/.test(l(n,0)))n.pos=p;else{var e=$[n.current()];return e?(e[1]&&(e=e[0]),T!=":"?e==1?"keyword":e==2?"def":e==3?"atom":e==4?"operator":e==5?"variable-2":"meta":"meta"):"meta"}}if(/[a-zA-Z_]/.test(o)){var T=l(n,-2);n.eatWhile(/\w/);var e=$[n.current()];return e?(e[1]&&(e=e[0]),T!=":"?e==1?"keyword":e==2?"def":e==3?"atom":e==4?"operator":e==5?"variable-2":"meta":"meta"):"meta"}return null}return{startState:function(){return{tokenize:g,chain:null,style:null,tail:null}},token:function(n,i){return(i.tokenize||g)(n,i)},lineComment:"#"}}),E.registerHelper("wordChars","perl",/[\w$]/),E.defineMIME("text/x-perl","perl");function l($,u){return $.string.charAt($.pos+(u||0))}function R($,u){if(u){var f=$.pos-u;return $.string.substr(f>=0?f:0,u)}else return $.string.substr(0,$.pos-1)}function A($,u){var f=$.string.length,r=f-$.pos+1;return $.string.substr($.pos,u&&u=(r=$.string.length-1)?$.pos=r:$.pos=f}})})();var v=k.exports;const D=h(v),y=b({__proto__:null,default:D},[v]);export{y as p}; diff --git a/dist-ui/assets/php-BuXWdjzD.js b/dist-ui/assets/php-DTDCMqw1.js similarity index 99% rename from dist-ui/assets/php-BuXWdjzD.js rename to dist-ui/assets/php-DTDCMqw1.js index 32a522c3..c613f3ae 100644 --- a/dist-ui/assets/php-BuXWdjzD.js +++ b/dist-ui/assets/php-DTDCMqw1.js @@ -1 +1 @@ -import{g as x,c as S}from"./index-CHg1vBCc.js";import{r as z}from"./htmlmixed-dNmc4jG3.js";import{a as j}from"./clike-CxakbZz2.js";function E(g,f){for(var i=0;ia[o]})}}}return Object.freeze(Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(g,f){(function(i){i(S,z(),j)})(function(i){function a(t){for(var _={},l=t.split(" "),s=0;s\w/,!1)&&(_.tokenize=o([[["->",null]],[[/[\w]+/,"variable"]]],l,s)),"variable-2";for(var n=!1;!t.eol()&&(n||s===!1||!t.match("{$",!1)&&!t.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!n&&t.match(l)){_.tokenize=null,_.tokStack.pop(),_.tokStack.pop();break}n=t.next()=="\\"&&!n}return"string"}var y="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile enum extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally readonly match",h="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",q="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage memory_get_peak_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";i.registerHelper("hintWords","php",[y,h,q].join(" ").split(" ")),i.registerHelper("wordChars","php",/[\w$]/);var k={name:"clike",helperType:"php",keywords:a(y),blockKeywords:a("catch do else elseif for foreach if switch try while finally"),defKeywords:a("class enum function interface namespace trait"),atoms:a(h),builtin:a(q),multiLineStrings:!0,hooks:{$:function(t){return t.eatWhile(/[\w\$_]/),"variable-2"},"<":function(t,_){var l;if(l=t.match(/^<<\s*/)){var s=t.eat(/['"]/);t.eatWhile(/[\w\.]/);var n=t.current().slice(l[0].length+(s?2:1));if(s&&t.eat(s),n)return(_.tokStack||(_.tokStack=[])).push(n,0),_.tokenize=c(n,s!="'"),"string"}return!1},"#":function(t){for(;!t.eol()&&!t.match("?>",!1);)t.next();return"comment"},"/":function(t){if(t.eat("/")){for(;!t.eol()&&!t.match("?>",!1);)t.next();return"comment"}return!1},'"':function(t,_){return(_.tokStack||(_.tokStack=[])).push('"',0),_.tokenize=c('"'),"string"},"{":function(t,_){return _.tokStack&&_.tokStack.length&&_.tokStack[_.tokStack.length-1]++,!1},"}":function(t,_){return _.tokStack&&_.tokStack.length>0&&!--_.tokStack[_.tokStack.length-1]&&(_.tokenize=c(_.tokStack[_.tokStack.length-2])),!1}}};i.defineMode("php",function(t,_){var l=i.getMode(t,_&&_.htmlMode||"text/html"),s=i.getMode(t,k);function n(r,e){var p=e.curMode==s;if(r.sol()&&e.pending&&e.pending!='"'&&e.pending!="'"&&(e.pending=null),p)return p&&e.php.tokenize==null&&r.match("?>")?(e.curMode=l,e.curState=e.html,e.php.context.prev||(e.php=null),"meta"):s.token(r,e.curState);if(r.match(/^<\?\w*/))return e.curMode=s,e.php||(e.php=i.startState(s,l.indent(e.html,"",""))),e.curState=e.php,"meta";if(e.pending=='"'||e.pending=="'"){for(;!r.eol()&&r.next()!=e.pending;);var m="string"}else if(e.pending&&r.pos/.test(u)?e.pending=b[0]:e.pending={end:r.pos,style:m},r.backUp(u.length-d)),m}return{startState:function(){var r=i.startState(l),e=_.startOpen?i.startState(s):null;return{html:r,php:e,curMode:_.startOpen?s:l,curState:_.startOpen?e:r,pending:null}},copyState:function(r){var e=r.html,p=i.copyState(l,e),m=r.php,u=m&&i.copyState(s,m),d;return r.curMode==l?d=p:d=u,{html:p,php:u,curMode:r.curMode,curState:d,pending:r.pending}},token:n,indent:function(r,e,p){return r.curMode!=s&&/^\s*<\//.test(e)||r.curMode==s&&/^\?>/.test(e)?l.indent(r.html,e,p):r.curMode.indent(r.curState,e,p)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(r){return{state:r.curState,mode:r.curMode}}}},"htmlmixed","clike"),i.defineMIME("application/x-httpd-php","php"),i.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),i.defineMIME("text/x-php",k)})})();var v=M.exports;const $=x(v),N=E({__proto__:null,default:$},[v]);export{N as p}; +import{g as x,c as S}from"./index-rXwcQ1j1.js";import{r as z}from"./htmlmixed-BkyqFvnk.js";import{a as j}from"./clike-DTXsj3bR.js";function E(g,f){for(var i=0;ia[o]})}}}return Object.freeze(Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(g,f){(function(i){i(S,z(),j)})(function(i){function a(t){for(var _={},l=t.split(" "),s=0;s\w/,!1)&&(_.tokenize=o([[["->",null]],[[/[\w]+/,"variable"]]],l,s)),"variable-2";for(var n=!1;!t.eol()&&(n||s===!1||!t.match("{$",!1)&&!t.match(/^(\$[a-zA-Z_][a-zA-Z0-9_]*|\$\{)/,!1));){if(!n&&t.match(l)){_.tokenize=null,_.tokStack.pop(),_.tokStack.pop();break}n=t.next()=="\\"&&!n}return"string"}var y="abstract and array as break case catch class clone const continue declare default do else elseif enddeclare endfor endforeach endif endswitch endwhile enum extends final for foreach function global goto if implements interface instanceof namespace new or private protected public static switch throw trait try use var while xor die echo empty exit eval include include_once isset list require require_once return print unset __halt_compiler self static parent yield insteadof finally readonly match",h="true false null TRUE FALSE NULL __CLASS__ __DIR__ __FILE__ __LINE__ __METHOD__ __FUNCTION__ __NAMESPACE__ __TRAIT__",q="func_num_args func_get_arg func_get_args strlen strcmp strncmp strcasecmp strncasecmp each error_reporting define defined trigger_error user_error set_error_handler restore_error_handler get_declared_classes get_loaded_extensions extension_loaded get_extension_funcs debug_backtrace constant bin2hex hex2bin sleep usleep time mktime gmmktime strftime gmstrftime strtotime date gmdate getdate localtime checkdate flush wordwrap htmlspecialchars htmlentities html_entity_decode md5 md5_file crc32 getimagesize image_type_to_mime_type phpinfo phpversion phpcredits strnatcmp strnatcasecmp substr_count strspn strcspn strtok strtoupper strtolower strpos strrpos strrev hebrev hebrevc nl2br basename dirname pathinfo stripslashes stripcslashes strstr stristr strrchr str_shuffle str_word_count strcoll substr substr_replace quotemeta ucfirst ucwords strtr addslashes addcslashes rtrim str_replace str_repeat count_chars chunk_split trim ltrim strip_tags similar_text explode implode setlocale localeconv parse_str str_pad chop strchr sprintf printf vprintf vsprintf sscanf fscanf parse_url urlencode urldecode rawurlencode rawurldecode readlink linkinfo link unlink exec system escapeshellcmd escapeshellarg passthru shell_exec proc_open proc_close rand srand getrandmax mt_rand mt_srand mt_getrandmax base64_decode base64_encode abs ceil floor round is_finite is_nan is_infinite bindec hexdec octdec decbin decoct dechex base_convert number_format fmod ip2long long2ip getenv putenv getopt microtime gettimeofday getrusage uniqid quoted_printable_decode set_time_limit get_cfg_var magic_quotes_runtime set_magic_quotes_runtime get_magic_quotes_gpc get_magic_quotes_runtime import_request_variables error_log serialize unserialize memory_get_usage memory_get_peak_usage var_dump var_export debug_zval_dump print_r highlight_file show_source highlight_string ini_get ini_get_all ini_set ini_alter ini_restore get_include_path set_include_path restore_include_path setcookie header headers_sent connection_aborted connection_status ignore_user_abort parse_ini_file is_uploaded_file move_uploaded_file intval floatval doubleval strval gettype settype is_null is_resource is_bool is_long is_float is_int is_integer is_double is_real is_numeric is_string is_array is_object is_scalar ereg ereg_replace eregi eregi_replace split spliti join sql_regcase dl pclose popen readfile rewind rmdir umask fclose feof fgetc fgets fgetss fread fopen fpassthru ftruncate fstat fseek ftell fflush fwrite fputs mkdir rename copy tempnam tmpfile file file_get_contents file_put_contents stream_select stream_context_create stream_context_set_params stream_context_set_option stream_context_get_options stream_filter_prepend stream_filter_append fgetcsv flock get_meta_tags stream_set_write_buffer set_file_buffer set_socket_blocking stream_set_blocking socket_set_blocking stream_get_meta_data stream_register_wrapper stream_wrapper_register stream_set_timeout socket_set_timeout socket_get_status realpath fnmatch fsockopen pfsockopen pack unpack get_browser crypt opendir closedir chdir getcwd rewinddir readdir dir glob fileatime filectime filegroup fileinode filemtime fileowner fileperms filesize filetype file_exists is_writable is_writeable is_readable is_executable is_file is_dir is_link stat lstat chown touch clearstatcache mail ob_start ob_flush ob_clean ob_end_flush ob_end_clean ob_get_flush ob_get_clean ob_get_length ob_get_level ob_get_status ob_get_contents ob_implicit_flush ob_list_handlers ksort krsort natsort natcasesort asort arsort sort rsort usort uasort uksort shuffle array_walk count end prev next reset current key min max in_array array_search extract compact array_fill range array_multisort array_push array_pop array_shift array_unshift array_splice array_slice array_merge array_merge_recursive array_keys array_values array_count_values array_reverse array_reduce array_pad array_flip array_change_key_case array_rand array_unique array_intersect array_intersect_assoc array_diff array_diff_assoc array_sum array_filter array_map array_chunk array_key_exists array_intersect_key array_combine array_column pos sizeof key_exists assert assert_options version_compare ftok str_rot13 aggregate session_name session_module_name session_save_path session_id session_regenerate_id session_decode session_register session_unregister session_is_registered session_encode session_start session_destroy session_unset session_set_save_handler session_cache_limiter session_cache_expire session_set_cookie_params session_get_cookie_params session_write_close preg_match preg_match_all preg_replace preg_replace_callback preg_split preg_quote preg_grep overload ctype_alnum ctype_alpha ctype_cntrl ctype_digit ctype_lower ctype_graph ctype_print ctype_punct ctype_space ctype_upper ctype_xdigit virtual apache_request_headers apache_note apache_lookup_uri apache_child_terminate apache_setenv apache_response_headers apache_get_version getallheaders mysql_connect mysql_pconnect mysql_close mysql_select_db mysql_create_db mysql_drop_db mysql_query mysql_unbuffered_query mysql_db_query mysql_list_dbs mysql_list_tables mysql_list_fields mysql_list_processes mysql_error mysql_errno mysql_affected_rows mysql_insert_id mysql_result mysql_num_rows mysql_num_fields mysql_fetch_row mysql_fetch_array mysql_fetch_assoc mysql_fetch_object mysql_data_seek mysql_fetch_lengths mysql_fetch_field mysql_field_seek mysql_free_result mysql_field_name mysql_field_table mysql_field_len mysql_field_type mysql_field_flags mysql_escape_string mysql_real_escape_string mysql_stat mysql_thread_id mysql_client_encoding mysql_get_client_info mysql_get_host_info mysql_get_proto_info mysql_get_server_info mysql_info mysql mysql_fieldname mysql_fieldtable mysql_fieldlen mysql_fieldtype mysql_fieldflags mysql_selectdb mysql_createdb mysql_dropdb mysql_freeresult mysql_numfields mysql_numrows mysql_listdbs mysql_listtables mysql_listfields mysql_db_name mysql_dbname mysql_tablename mysql_table_name pg_connect pg_pconnect pg_close pg_connection_status pg_connection_busy pg_connection_reset pg_host pg_dbname pg_port pg_tty pg_options pg_ping pg_query pg_send_query pg_cancel_query pg_fetch_result pg_fetch_row pg_fetch_assoc pg_fetch_array pg_fetch_object pg_fetch_all pg_affected_rows pg_get_result pg_result_seek pg_result_status pg_free_result pg_last_oid pg_num_rows pg_num_fields pg_field_name pg_field_num pg_field_size pg_field_type pg_field_prtlen pg_field_is_null pg_get_notify pg_get_pid pg_result_error pg_last_error pg_last_notice pg_put_line pg_end_copy pg_copy_to pg_copy_from pg_trace pg_untrace pg_lo_create pg_lo_unlink pg_lo_open pg_lo_close pg_lo_read pg_lo_write pg_lo_read_all pg_lo_import pg_lo_export pg_lo_seek pg_lo_tell pg_escape_string pg_escape_bytea pg_unescape_bytea pg_client_encoding pg_set_client_encoding pg_meta_data pg_convert pg_insert pg_update pg_delete pg_select pg_exec pg_getlastoid pg_cmdtuples pg_errormessage pg_numrows pg_numfields pg_fieldname pg_fieldsize pg_fieldtype pg_fieldnum pg_fieldprtlen pg_fieldisnull pg_freeresult pg_result pg_loreadall pg_locreate pg_lounlink pg_loopen pg_loclose pg_loread pg_lowrite pg_loimport pg_loexport http_response_code get_declared_traits getimagesizefromstring socket_import_stream stream_set_chunk_size trait_exists header_register_callback class_uses session_status session_register_shutdown echo print global static exit array empty eval isset unset die include require include_once require_once json_decode json_encode json_last_error json_last_error_msg curl_close curl_copy_handle curl_errno curl_error curl_escape curl_exec curl_file_create curl_getinfo curl_init curl_multi_add_handle curl_multi_close curl_multi_exec curl_multi_getcontent curl_multi_info_read curl_multi_init curl_multi_remove_handle curl_multi_select curl_multi_setopt curl_multi_strerror curl_pause curl_reset curl_setopt_array curl_setopt curl_share_close curl_share_init curl_share_setopt curl_strerror curl_unescape curl_version mysqli_affected_rows mysqli_autocommit mysqli_change_user mysqli_character_set_name mysqli_close mysqli_commit mysqli_connect_errno mysqli_connect_error mysqli_connect mysqli_data_seek mysqli_debug mysqli_dump_debug_info mysqli_errno mysqli_error_list mysqli_error mysqli_fetch_all mysqli_fetch_array mysqli_fetch_assoc mysqli_fetch_field_direct mysqli_fetch_field mysqli_fetch_fields mysqli_fetch_lengths mysqli_fetch_object mysqli_fetch_row mysqli_field_count mysqli_field_seek mysqli_field_tell mysqli_free_result mysqli_get_charset mysqli_get_client_info mysqli_get_client_stats mysqli_get_client_version mysqli_get_connection_stats mysqli_get_host_info mysqli_get_proto_info mysqli_get_server_info mysqli_get_server_version mysqli_info mysqli_init mysqli_insert_id mysqli_kill mysqli_more_results mysqli_multi_query mysqli_next_result mysqli_num_fields mysqli_num_rows mysqli_options mysqli_ping mysqli_prepare mysqli_query mysqli_real_connect mysqli_real_escape_string mysqli_real_query mysqli_reap_async_query mysqli_refresh mysqli_rollback mysqli_select_db mysqli_set_charset mysqli_set_local_infile_default mysqli_set_local_infile_handler mysqli_sqlstate mysqli_ssl_set mysqli_stat mysqli_stmt_init mysqli_store_result mysqli_thread_id mysqli_thread_safe mysqli_use_result mysqli_warning_count";i.registerHelper("hintWords","php",[y,h,q].join(" ").split(" ")),i.registerHelper("wordChars","php",/[\w$]/);var k={name:"clike",helperType:"php",keywords:a(y),blockKeywords:a("catch do else elseif for foreach if switch try while finally"),defKeywords:a("class enum function interface namespace trait"),atoms:a(h),builtin:a(q),multiLineStrings:!0,hooks:{$:function(t){return t.eatWhile(/[\w\$_]/),"variable-2"},"<":function(t,_){var l;if(l=t.match(/^<<\s*/)){var s=t.eat(/['"]/);t.eatWhile(/[\w\.]/);var n=t.current().slice(l[0].length+(s?2:1));if(s&&t.eat(s),n)return(_.tokStack||(_.tokStack=[])).push(n,0),_.tokenize=c(n,s!="'"),"string"}return!1},"#":function(t){for(;!t.eol()&&!t.match("?>",!1);)t.next();return"comment"},"/":function(t){if(t.eat("/")){for(;!t.eol()&&!t.match("?>",!1);)t.next();return"comment"}return!1},'"':function(t,_){return(_.tokStack||(_.tokStack=[])).push('"',0),_.tokenize=c('"'),"string"},"{":function(t,_){return _.tokStack&&_.tokStack.length&&_.tokStack[_.tokStack.length-1]++,!1},"}":function(t,_){return _.tokStack&&_.tokStack.length>0&&!--_.tokStack[_.tokStack.length-1]&&(_.tokenize=c(_.tokStack[_.tokStack.length-2])),!1}}};i.defineMode("php",function(t,_){var l=i.getMode(t,_&&_.htmlMode||"text/html"),s=i.getMode(t,k);function n(r,e){var p=e.curMode==s;if(r.sol()&&e.pending&&e.pending!='"'&&e.pending!="'"&&(e.pending=null),p)return p&&e.php.tokenize==null&&r.match("?>")?(e.curMode=l,e.curState=e.html,e.php.context.prev||(e.php=null),"meta"):s.token(r,e.curState);if(r.match(/^<\?\w*/))return e.curMode=s,e.php||(e.php=i.startState(s,l.indent(e.html,"",""))),e.curState=e.php,"meta";if(e.pending=='"'||e.pending=="'"){for(;!r.eol()&&r.next()!=e.pending;);var m="string"}else if(e.pending&&r.pos/.test(u)?e.pending=b[0]:e.pending={end:r.pos,style:m},r.backUp(u.length-d)),m}return{startState:function(){var r=i.startState(l),e=_.startOpen?i.startState(s):null;return{html:r,php:e,curMode:_.startOpen?s:l,curState:_.startOpen?e:r,pending:null}},copyState:function(r){var e=r.html,p=i.copyState(l,e),m=r.php,u=m&&i.copyState(s,m),d;return r.curMode==l?d=p:d=u,{html:p,php:u,curMode:r.curMode,curState:d,pending:r.pending}},token:n,indent:function(r,e,p){return r.curMode!=s&&/^\s*<\//.test(e)||r.curMode==s&&/^\?>/.test(e)?l.indent(r.html,e,p):r.curMode.indent(r.curState,e,p)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",innerMode:function(r){return{state:r.curState,mode:r.curMode}}}},"htmlmixed","clike"),i.defineMIME("application/x-httpd-php","php"),i.defineMIME("application/x-httpd-php-open",{name:"php",startOpen:!0}),i.defineMIME("text/x-php",k)})})();var v=M.exports;const $=x(v),N=E({__proto__:null,default:$},[v]);export{N as p}; diff --git a/dist-ui/assets/pig-CvaEejhu.js b/dist-ui/assets/pig-BMOqRbCJ.js similarity index 98% rename from dist-ui/assets/pig-CvaEejhu.js rename to dist-ui/assets/pig-BMOqRbCJ.js index c713dca6..5dcfbac6 100644 --- a/dist-ui/assets/pig-CvaEejhu.js +++ b/dist-ui/assets/pig-BMOqRbCJ.js @@ -1 +1 @@ -import{g as s,c as G}from"./index-CHg1vBCc.js";function M(S,u){for(var n=0;nT[r]})}}}return Object.freeze(Object.defineProperty(S,Symbol.toStringTag,{value:"Module"}))}var C={exports:{}};(function(S,u){(function(n){n(G)})(function(n){n.defineMode("pig",function(T,r){var E=r.keywords,i=r.builtins,R=r.types,o=r.multiLineStrings,N=/[*+\-%<>=&?:\/!|]/;function A(e,O,t){return O.tokenize=t,t(e,O)}function f(e,O){for(var t=!1,I;I=e.next();){if(I=="/"&&t){O.tokenize=L;break}t=I=="*"}return"comment"}function a(e){return function(O,t){for(var I=!1,l,p=!1;(l=O.next())!=null;){if(l==e&&!I){p=!0;break}I=!I&&l=="\\"}return(p||!(I||o))&&(t.tokenize=L),"error"}}function L(e,O){var t=e.next();return t=='"'||t=="'"?A(e,O,a(t)):/[\[\]{}\(\),;\.]/.test(t)?null:/\d/.test(t)?(e.eatWhile(/[\w\.]/),"number"):t=="/"?e.eat("*")?A(e,O,f):(e.eatWhile(N),"operator"):t=="-"?e.eat("-")?(e.skipToEnd(),"comment"):(e.eatWhile(N),"operator"):N.test(t)?(e.eatWhile(N),"operator"):(e.eatWhile(/[\w\$_]/),E&&E.propertyIsEnumerable(e.current().toUpperCase())&&!e.eat(")")&&!e.eat(".")?"keyword":i&&i.propertyIsEnumerable(e.current().toUpperCase())?"variable-2":R&&R.propertyIsEnumerable(e.current().toUpperCase())?"variable-3":"variable")}return{startState:function(){return{tokenize:L,startOfLine:!0}},token:function(e,O){if(e.eatSpace())return null;var t=O.tokenize(e,O);return t}}}),function(){function T(R){for(var o={},N=R.split(" "),A=0;AT[r]})}}}return Object.freeze(Object.defineProperty(S,Symbol.toStringTag,{value:"Module"}))}var C={exports:{}};(function(S,u){(function(n){n(G)})(function(n){n.defineMode("pig",function(T,r){var E=r.keywords,i=r.builtins,R=r.types,o=r.multiLineStrings,N=/[*+\-%<>=&?:\/!|]/;function A(e,O,t){return O.tokenize=t,t(e,O)}function f(e,O){for(var t=!1,I;I=e.next();){if(I=="/"&&t){O.tokenize=L;break}t=I=="*"}return"comment"}function a(e){return function(O,t){for(var I=!1,l,p=!1;(l=O.next())!=null;){if(l==e&&!I){p=!0;break}I=!I&&l=="\\"}return(p||!(I||o))&&(t.tokenize=L),"error"}}function L(e,O){var t=e.next();return t=='"'||t=="'"?A(e,O,a(t)):/[\[\]{}\(\),;\.]/.test(t)?null:/\d/.test(t)?(e.eatWhile(/[\w\.]/),"number"):t=="/"?e.eat("*")?A(e,O,f):(e.eatWhile(N),"operator"):t=="-"?e.eat("-")?(e.skipToEnd(),"comment"):(e.eatWhile(N),"operator"):N.test(t)?(e.eatWhile(N),"operator"):(e.eatWhile(/[\w\$_]/),E&&E.propertyIsEnumerable(e.current().toUpperCase())&&!e.eat(")")&&!e.eat(".")?"keyword":i&&i.propertyIsEnumerable(e.current().toUpperCase())?"variable-2":R&&R.propertyIsEnumerable(e.current().toUpperCase())?"variable-3":"variable")}return{startState:function(){return{tokenize:L,startOfLine:!0}},token:function(e,O){if(e.eatSpace())return null;var t=O.tokenize(e,O);return t}}}),function(){function T(R){for(var o={},N=R.split(" "),A=0;Ai[c]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var V={exports:{}};(function(l,f){(function(u){u(W)})(function(u){u.defineMode("powershell",function(){function i(e,r){r=r||{};for(var n=r.prefix!==void 0?r.prefix:"^",o=r.suffix!==void 0?r.suffix:"\\b",t=0;t/,y=i([x,E],{suffix:""}),w=/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,M=/^[A-Za-z\_][A-Za-z\-\_\d]*\b/,R=/[A-Z]:|%|\?/i,I=i([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),j=i([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""}),z=i([R,I,j],{suffix:c}),m={keyword:h,number:w,operator:y,builtin:z,punctuation:k,identifier:M};function a(e,r){var n=r.returnStack[r.returnStack.length-1];if(n&&n.shouldReturnFrom(r))return r.tokenize=n.tokenize,r.returnStack.pop(),r.tokenize(e,r);if(e.eatSpace())return null;if(e.eat("("))return r.bracketNesting+=1,"punctuation";if(e.eat(")"))return r.bracketNesting-=1,"punctuation";for(var o in m)if(e.match(m[o]))return o;var t=e.next();if(t==="'")return O(e,r);if(t==="$")return S(e,r);if(t==='"')return d(e,r);if(t==="<"&&e.eat("#"))return r.tokenize=v,v(e,r);if(t==="#")return e.skipToEnd(),"comment";if(t==="@"){var b=e.eat(/["']/);if(b&&e.eol())return r.tokenize=p,r.startQuote=b[0],p(e,r);if(e.eol())return"error";if(e.peek().match(/[({]/))return"punctuation";if(e.peek().match(s))return S(e,r)}return"error"}function O(e,r){for(var n;(n=e.peek())!=null;)if(e.next(),n==="'"&&!e.eat("'"))return r.tokenize=a,"string";return"error"}function d(e,r){for(var n;(n=e.peek())!=null;){if(n==="$")return r.tokenize=D,"string";if(e.next(),n==="`"){e.next();continue}if(n==='"'&&!e.eat('"'))return r.tokenize=a,"string"}return"error"}function D(e,r){return g(e,r,d)}function T(e,r){return r.tokenize=p,r.startQuote='"',p(e,r)}function A(e,r){return g(e,r,T)}function g(e,r,n){if(e.match("$(")){var o=r.bracketNesting;return r.returnStack.push({shouldReturnFrom:function(t){return t.bracketNesting===o},tokenize:n}),r.tokenize=a,r.bracketNesting+=1,"punctuation"}else return e.next(),r.returnStack.push({shouldReturnFrom:function(){return!0},tokenize:n}),r.tokenize=S,r.tokenize(e,r)}function v(e,r){for(var n=!1,o;(o=e.next())!=null;){if(n&&o==">"){r.tokenize=a;break}n=o==="#"}return"comment"}function S(e,r){var n=e.peek();return e.eat("{")?(r.tokenize=P,P(e,r)):n!=null&&n.match(s)?(e.eatWhile(s),r.tokenize=a,"variable-2"):(r.tokenize=a,"error")}function P(e,r){for(var n;(n=e.next())!=null;)if(n==="}"){r.tokenize=a;break}return"variable-2"}function p(e,r){var n=r.startQuote;if(e.sol()&&e.match(new RegExp(n+"@")))r.tokenize=a;else if(n==='"')for(;!e.eol();){var o=e.peek();if(o==="$")return r.tokenize=A,"string";e.next(),o==="`"&&e.next()}else e.skipToEnd();return"string"}var F={startState:function(){return{returnStack:[],bracketNesting:0,tokenize:a}},token:function(e,r){return r.tokenize(e,r)},blockCommentStart:"<#",blockCommentEnd:"#>",lineComment:"#",fold:"brace"};return F}),u.defineMIME("application/x-powershell","powershell")})})();var C=V.exports;const N=H(C),J=L({__proto__:null,default:N},[C]);export{J as p}; +import{g as H,c as W}from"./index-rXwcQ1j1.js";function L(l,f){for(var u=0;ui[c]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var V={exports:{}};(function(l,f){(function(u){u(W)})(function(u){u.defineMode("powershell",function(){function i(e,r){r=r||{};for(var n=r.prefix!==void 0?r.prefix:"^",o=r.suffix!==void 0?r.suffix:"\\b",t=0;t/,y=i([x,E],{suffix:""}),w=/^((0x[\da-f]+)|((\d+\.\d+|\d\.|\.\d+|\d+)(e[\+\-]?\d+)?))[ld]?([kmgtp]b)?/i,M=/^[A-Za-z\_][A-Za-z\-\_\d]*\b/,R=/[A-Z]:|%|\?/i,I=i([/Add-(Computer|Content|History|Member|PSSnapin|Type)/,/Checkpoint-Computer/,/Clear-(Content|EventLog|History|Host|Item(Property)?|Variable)/,/Compare-Object/,/Complete-Transaction/,/Connect-PSSession/,/ConvertFrom-(Csv|Json|SecureString|StringData)/,/Convert-Path/,/ConvertTo-(Csv|Html|Json|SecureString|Xml)/,/Copy-Item(Property)?/,/Debug-Process/,/Disable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/Disconnect-PSSession/,/Enable-(ComputerRestore|PSBreakpoint|PSRemoting|PSSessionConfiguration)/,/(Enter|Exit)-PSSession/,/Export-(Alias|Clixml|Console|Counter|Csv|FormatData|ModuleMember|PSSession)/,/ForEach-Object/,/Format-(Custom|List|Table|Wide)/,new RegExp("Get-(Acl|Alias|AuthenticodeSignature|ChildItem|Command|ComputerRestorePoint|Content|ControlPanelItem|Counter|Credential|Culture|Date|Event|EventLog|EventSubscriber|ExecutionPolicy|FormatData|Help|History|Host|HotFix|Item|ItemProperty|Job|Location|Member|Module|PfxCertificate|Process|PSBreakpoint|PSCallStack|PSDrive|PSProvider|PSSession|PSSessionConfiguration|PSSnapin|Random|Service|TraceSource|Transaction|TypeData|UICulture|Unique|Variable|Verb|WinEvent|WmiObject)"),/Group-Object/,/Import-(Alias|Clixml|Counter|Csv|LocalizedData|Module|PSSession)/,/ImportSystemModules/,/Invoke-(Command|Expression|History|Item|RestMethod|WebRequest|WmiMethod)/,/Join-Path/,/Limit-EventLog/,/Measure-(Command|Object)/,/Move-Item(Property)?/,new RegExp("New-(Alias|Event|EventLog|Item(Property)?|Module|ModuleManifest|Object|PSDrive|PSSession|PSSessionConfigurationFile|PSSessionOption|PSTransportOption|Service|TimeSpan|Variable|WebServiceProxy|WinEvent)"),/Out-(Default|File|GridView|Host|Null|Printer|String)/,/Pause/,/(Pop|Push)-Location/,/Read-Host/,/Receive-(Job|PSSession)/,/Register-(EngineEvent|ObjectEvent|PSSessionConfiguration|WmiEvent)/,/Remove-(Computer|Event|EventLog|Item(Property)?|Job|Module|PSBreakpoint|PSDrive|PSSession|PSSnapin|TypeData|Variable|WmiObject)/,/Rename-(Computer|Item(Property)?)/,/Reset-ComputerMachinePassword/,/Resolve-Path/,/Restart-(Computer|Service)/,/Restore-Computer/,/Resume-(Job|Service)/,/Save-Help/,/Select-(Object|String|Xml)/,/Send-MailMessage/,new RegExp("Set-(Acl|Alias|AuthenticodeSignature|Content|Date|ExecutionPolicy|Item(Property)?|Location|PSBreakpoint|PSDebug|PSSessionConfiguration|Service|StrictMode|TraceSource|Variable|WmiInstance)"),/Show-(Command|ControlPanelItem|EventLog)/,/Sort-Object/,/Split-Path/,/Start-(Job|Process|Service|Sleep|Transaction|Transcript)/,/Stop-(Computer|Job|Process|Service|Transcript)/,/Suspend-(Job|Service)/,/TabExpansion2/,/Tee-Object/,/Test-(ComputerSecureChannel|Connection|ModuleManifest|Path|PSSessionConfigurationFile)/,/Trace-Command/,/Unblock-File/,/Undo-Transaction/,/Unregister-(Event|PSSessionConfiguration)/,/Update-(FormatData|Help|List|TypeData)/,/Use-Transaction/,/Wait-(Event|Job|Process)/,/Where-Object/,/Write-(Debug|Error|EventLog|Host|Output|Progress|Verbose|Warning)/,/cd|help|mkdir|more|oss|prompt/,/ac|asnp|cat|cd|chdir|clc|clear|clhy|cli|clp|cls|clv|cnsn|compare|copy|cp|cpi|cpp|cvpa|dbp|del|diff|dir|dnsn|ebp/,/echo|epal|epcsv|epsn|erase|etsn|exsn|fc|fl|foreach|ft|fw|gal|gbp|gc|gci|gcm|gcs|gdr|ghy|gi|gjb|gl|gm|gmo|gp|gps/,/group|gsn|gsnp|gsv|gu|gv|gwmi|h|history|icm|iex|ihy|ii|ipal|ipcsv|ipmo|ipsn|irm|ise|iwmi|iwr|kill|lp|ls|man|md/,/measure|mi|mount|move|mp|mv|nal|ndr|ni|nmo|npssc|nsn|nv|ogv|oh|popd|ps|pushd|pwd|r|rbp|rcjb|rcsn|rd|rdr|ren|ri/,/rjb|rm|rmdir|rmo|rni|rnp|rp|rsn|rsnp|rujb|rv|rvpa|rwmi|sajb|sal|saps|sasv|sbp|sc|select|set|shcm|si|sl|sleep|sls/,/sort|sp|spjb|spps|spsv|start|sujb|sv|swmi|tee|trcm|type|where|wjb|write/],{prefix:"",suffix:""}),j=i([/[$?^_]|Args|ConfirmPreference|ConsoleFileName|DebugPreference|Error|ErrorActionPreference|ErrorView|ExecutionContext/,/FormatEnumerationLimit|Home|Host|Input|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount/,/MaximumHistoryCount|MaximumVariableCount|MyInvocation|NestedPromptLevel|OutputEncoding|Pid|Profile|ProgressPreference/,/PSBoundParameters|PSCommandPath|PSCulture|PSDefaultParameterValues|PSEmailServer|PSHome|PSScriptRoot|PSSessionApplicationName/,/PSSessionConfigurationName|PSSessionOption|PSUICulture|PSVersionTable|Pwd|ShellId|StackTrace|VerbosePreference/,/WarningPreference|WhatIfPreference/,/Event|EventArgs|EventSubscriber|Sender/,/Matches|Ofs|ForEach|LastExitCode|PSCmdlet|PSItem|PSSenderInfo|This/,/true|false|null/],{prefix:"\\$",suffix:""}),z=i([R,I,j],{suffix:c}),m={keyword:h,number:w,operator:y,builtin:z,punctuation:k,identifier:M};function a(e,r){var n=r.returnStack[r.returnStack.length-1];if(n&&n.shouldReturnFrom(r))return r.tokenize=n.tokenize,r.returnStack.pop(),r.tokenize(e,r);if(e.eatSpace())return null;if(e.eat("("))return r.bracketNesting+=1,"punctuation";if(e.eat(")"))return r.bracketNesting-=1,"punctuation";for(var o in m)if(e.match(m[o]))return o;var t=e.next();if(t==="'")return O(e,r);if(t==="$")return S(e,r);if(t==='"')return d(e,r);if(t==="<"&&e.eat("#"))return r.tokenize=v,v(e,r);if(t==="#")return e.skipToEnd(),"comment";if(t==="@"){var b=e.eat(/["']/);if(b&&e.eol())return r.tokenize=p,r.startQuote=b[0],p(e,r);if(e.eol())return"error";if(e.peek().match(/[({]/))return"punctuation";if(e.peek().match(s))return S(e,r)}return"error"}function O(e,r){for(var n;(n=e.peek())!=null;)if(e.next(),n==="'"&&!e.eat("'"))return r.tokenize=a,"string";return"error"}function d(e,r){for(var n;(n=e.peek())!=null;){if(n==="$")return r.tokenize=D,"string";if(e.next(),n==="`"){e.next();continue}if(n==='"'&&!e.eat('"'))return r.tokenize=a,"string"}return"error"}function D(e,r){return g(e,r,d)}function T(e,r){return r.tokenize=p,r.startQuote='"',p(e,r)}function A(e,r){return g(e,r,T)}function g(e,r,n){if(e.match("$(")){var o=r.bracketNesting;return r.returnStack.push({shouldReturnFrom:function(t){return t.bracketNesting===o},tokenize:n}),r.tokenize=a,r.bracketNesting+=1,"punctuation"}else return e.next(),r.returnStack.push({shouldReturnFrom:function(){return!0},tokenize:n}),r.tokenize=S,r.tokenize(e,r)}function v(e,r){for(var n=!1,o;(o=e.next())!=null;){if(n&&o==">"){r.tokenize=a;break}n=o==="#"}return"comment"}function S(e,r){var n=e.peek();return e.eat("{")?(r.tokenize=P,P(e,r)):n!=null&&n.match(s)?(e.eatWhile(s),r.tokenize=a,"variable-2"):(r.tokenize=a,"error")}function P(e,r){for(var n;(n=e.next())!=null;)if(n==="}"){r.tokenize=a;break}return"variable-2"}function p(e,r){var n=r.startQuote;if(e.sol()&&e.match(new RegExp(n+"@")))r.tokenize=a;else if(n==='"')for(;!e.eol();){var o=e.peek();if(o==="$")return r.tokenize=A,"string";e.next(),o==="`"&&e.next()}else e.skipToEnd();return"string"}var F={startState:function(){return{returnStack:[],bracketNesting:0,tokenize:a}},token:function(e,r){return r.tokenize(e,r)},blockCommentStart:"<#",blockCommentEnd:"#>",lineComment:"#",fold:"brace"};return F}),u.defineMIME("application/x-powershell","powershell")})})();var C=V.exports;const N=H(C),J=L({__proto__:null,default:N},[C]);export{J as p}; diff --git a/dist-ui/assets/properties-jDBzPH9A.js b/dist-ui/assets/properties-DhugOaQZ.js similarity index 95% rename from dist-ui/assets/properties-jDBzPH9A.js rename to dist-ui/assets/properties-DhugOaQZ.js index a7c00f6c..60178f72 100644 --- a/dist-ui/assets/properties-jDBzPH9A.js +++ b/dist-ui/assets/properties-DhugOaQZ.js @@ -1 +1 @@ -import{g as u,c}from"./index-CHg1vBCc.js";function s(r,f){for(var o=0;oi[e]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var x={exports:{}};(function(r,f){(function(o){o(c)})(function(o){o.defineMode("properties",function(){return{token:function(i,e){var n=i.sol()||e.afterSection,p=i.eol();if(e.afterSection=!1,n&&(e.nextMultiline?(e.inMultiline=!0,e.nextMultiline=!1):e.position="def"),p&&!e.nextMultiline&&(e.inMultiline=!1,e.position="def"),n)for(;i.eatSpace(););var t=i.next();return n&&(t==="#"||t==="!"||t===";")?(e.position="comment",i.skipToEnd(),"comment"):n&&t==="["?(e.afterSection=!0,i.skipTo("]"),i.eat("]"),"header"):t==="="||t===":"?(e.position="quote",null):(t==="\\"&&e.position==="quote"&&i.eol()&&(e.nextMultiline=!0),e.position)},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}}}),o.defineMIME("text/x-properties","properties"),o.defineMIME("text/x-ini","properties")})})();var l=x.exports;const d=u(l),M=s({__proto__:null,default:d},[l]);export{M as p}; +import{g as u,c}from"./index-rXwcQ1j1.js";function s(r,f){for(var o=0;oi[e]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var x={exports:{}};(function(r,f){(function(o){o(c)})(function(o){o.defineMode("properties",function(){return{token:function(i,e){var n=i.sol()||e.afterSection,p=i.eol();if(e.afterSection=!1,n&&(e.nextMultiline?(e.inMultiline=!0,e.nextMultiline=!1):e.position="def"),p&&!e.nextMultiline&&(e.inMultiline=!1,e.position="def"),n)for(;i.eatSpace(););var t=i.next();return n&&(t==="#"||t==="!"||t===";")?(e.position="comment",i.skipToEnd(),"comment"):n&&t==="["?(e.afterSection=!0,i.skipTo("]"),i.eat("]"),"header"):t==="="||t===":"?(e.position="quote",null):(t==="\\"&&e.position==="quote"&&i.eol()&&(e.nextMultiline=!0),e.position)},startState:function(){return{position:"def",nextMultiline:!1,inMultiline:!1,afterSection:!1}}}}),o.defineMIME("text/x-properties","properties"),o.defineMIME("text/x-ini","properties")})})();var l=x.exports;const d=u(l),M=s({__proto__:null,default:d},[l]);export{M as p}; diff --git a/dist-ui/assets/protobuf-XvNgHDTF.js b/dist-ui/assets/protobuf-Xu4MpogE.js similarity index 95% rename from dist-ui/assets/protobuf-XvNgHDTF.js rename to dist-ui/assets/protobuf-Xu4MpogE.js index bfe51145..4bd04a30 100644 --- a/dist-ui/assets/protobuf-XvNgHDTF.js +++ b/dist-ui/assets/protobuf-Xu4MpogE.js @@ -1 +1 @@ -import{g as c,c as d}from"./index-CHg1vBCc.js";function s(f,i){for(var t=0;tn[r]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(f,i){(function(t){t(d)})(function(t){function n(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var r=["package","message","import","syntax","required","optional","repeated","reserved","default","extensions","packed","bool","bytes","double","enum","float","string","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","option","service","rpc","returns"],o=n(r);t.registerHelper("hintWords","protobuf",r);var a=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*");function p(e){return e.eatSpace()?null:e.match("//")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(o)?"keyword":e.match(a)?"variable":(e.next(),null)}t.defineMode("protobuf",function(){return{token:p,fold:"brace"}}),t.defineMIME("text/x-protobuf","protobuf")})})();var u=l.exports;const b=c(u),g=s({__proto__:null,default:b},[u]);export{g as p}; +import{g as c,c as d}from"./index-rXwcQ1j1.js";function s(f,i){for(var t=0;tn[r]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var l={exports:{}};(function(f,i){(function(t){t(d)})(function(t){function n(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var r=["package","message","import","syntax","required","optional","repeated","reserved","default","extensions","packed","bool","bytes","double","enum","float","string","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","option","service","rpc","returns"],o=n(r);t.registerHelper("hintWords","protobuf",r);var a=new RegExp("^[_A-Za-z¡-￿][_A-Za-z0-9¡-￿]*");function p(e){return e.eatSpace()?null:e.match("//")?(e.skipToEnd(),"comment"):e.match(/^[0-9\.+-]/,!1)&&(e.match(/^[+-]?0x[0-9a-fA-F]+/)||e.match(/^[+-]?\d*\.\d+([EeDd][+-]?\d+)?/)||e.match(/^[+-]?\d+([EeDd][+-]?\d+)?/))?"number":e.match(/^"([^"]|(""))*"/)||e.match(/^'([^']|(''))*'/)?"string":e.match(o)?"keyword":e.match(a)?"variable":(e.next(),null)}t.defineMode("protobuf",function(){return{token:p,fold:"brace"}}),t.defineMIME("text/x-protobuf","protobuf")})})();var u=l.exports;const b=c(u),g=s({__proto__:null,default:b},[u]);export{g as p}; diff --git a/dist-ui/assets/pug-Dgyq9bOv.js b/dist-ui/assets/pug-N2IUeQPV.js similarity index 97% rename from dist-ui/assets/pug-Dgyq9bOv.js rename to dist-ui/assets/pug-N2IUeQPV.js index b143d28a..586fcf4c 100644 --- a/dist-ui/assets/pug-Dgyq9bOv.js +++ b/dist-ui/assets/pug-N2IUeQPV.js @@ -1 +1 @@ -import{g as un,c as cn,a as fn}from"./index-CHg1vBCc.js";import{a as ln}from"./css-BRan0Fyo.js";import{r as on}from"./htmlmixed-dNmc4jG3.js";function an(l,o){for(var r=0;ru[t]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var pn={exports:{}};(function(l,o){(function(r){r(cn,fn(),ln,on())})(function(r){r.defineMode("pug",function(u){var t="keyword",f="meta",j="builtin",b="qualifier",h={"{":"}","(":")","[":"]"},c=r.getMode(u,"javascript");function a(){this.javaScriptLine=!1,this.javaScriptLineExcludesColon=!1,this.javaScriptArguments=!1,this.javaScriptArgumentsDepth=0,this.isInterpolating=!1,this.interpolationNesting=0,this.jsState=r.startState(c),this.restOfLine="",this.isIncludeFiltered=!1,this.isEach=!1,this.lastTag="",this.scriptType="",this.isAttrs=!1,this.attrsNest=[],this.inAttributeName=!0,this.attributeIsType=!1,this.attrValue="",this.indentOf=1/0,this.indentToken="",this.innerMode=null,this.innerState=null,this.innerModeForLine=!1}a.prototype.copy=function(){var n=new a;return n.javaScriptLine=this.javaScriptLine,n.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon,n.javaScriptArguments=this.javaScriptArguments,n.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth,n.isInterpolating=this.isInterpolating,n.interpolationNesting=this.interpolationNesting,n.jsState=r.copyState(c,this.jsState),n.innerMode=this.innerMode,this.innerMode&&this.innerState&&(n.innerState=r.copyState(this.innerMode,this.innerState)),n.restOfLine=this.restOfLine,n.isIncludeFiltered=this.isIncludeFiltered,n.isEach=this.isEach,n.lastTag=this.lastTag,n.scriptType=this.scriptType,n.isAttrs=this.isAttrs,n.attrsNest=this.attrsNest.slice(),n.inAttributeName=this.inAttributeName,n.attributeIsType=this.attributeIsType,n.attrValue=this.attrValue,n.indentOf=this.indentOf,n.indentToken=this.indentToken,n.innerModeForLine=this.innerModeForLine,n};function L(n,i){if(n.sol()&&(i.javaScriptLine=!1,i.javaScriptLineExcludesColon=!1),i.javaScriptLine){if(i.javaScriptLineExcludesColon&&n.peek()===":"){i.javaScriptLine=!1,i.javaScriptLineExcludesColon=!1;return}var e=c.token(n,i.jsState);return n.eol()&&(i.javaScriptLine=!1),e||!0}}function y(n,i){if(i.javaScriptArguments){if(i.javaScriptArgumentsDepth===0&&n.peek()!=="("){i.javaScriptArguments=!1;return}if(n.peek()==="("?i.javaScriptArgumentsDepth++:n.peek()===")"&&i.javaScriptArgumentsDepth--,i.javaScriptArgumentsDepth===0){i.javaScriptArguments=!1;return}var e=c.token(n,i.jsState);return e||!0}}function A(n){if(n.match(/^yield\b/))return"keyword"}function x(n){if(n.match(/^(?:doctype) *([^\n]+)?/))return f}function s(n,i){if(n.match("#{"))return i.isInterpolating=!0,i.interpolationNesting=0,"punctuation"}function T(n,i){if(i.isInterpolating){if(n.peek()==="}"){if(i.interpolationNesting--,i.interpolationNesting<0)return n.next(),i.isInterpolating=!1,"punctuation"}else n.peek()==="{"&&i.interpolationNesting++;return c.token(n,i.jsState)||!0}}function k(n,i){if(n.match(/^case\b/))return i.javaScriptLine=!0,t}function O(n,i){if(n.match(/^when\b/))return i.javaScriptLine=!0,i.javaScriptLineExcludesColon=!0,t}function N(n){if(n.match(/^default\b/))return t}function w(n,i){if(n.match(/^extends?\b/))return i.restOfLine="string",t}function E(n,i){if(n.match(/^append\b/))return i.restOfLine="variable",t}function I(n,i){if(n.match(/^prepend\b/))return i.restOfLine="variable",t}function F(n,i){if(n.match(/^block\b *(?:(prepend|append)\b)?/))return i.restOfLine="variable",t}function D(n,i){if(n.match(/^include\b/))return i.restOfLine="string",t}function M(n,i){if(n.match(/^include:([a-zA-Z0-9\-]+)/,!1)&&n.match("include"))return i.isIncludeFiltered=!0,t}function C(n,i){if(i.isIncludeFiltered){var e=d(n,i);return i.isIncludeFiltered=!1,i.restOfLine="string",e}}function V(n,i){if(n.match(/^mixin\b/))return i.javaScriptLine=!0,t}function _(n,i){if(n.match(/^\+([-\w]+)/))return n.match(/^\( *[-\w]+ *=/,!1)||(i.javaScriptArguments=!0,i.javaScriptArgumentsDepth=0),"variable";if(n.match("+#{",!1))return n.next(),i.mixinCallAfter=!0,s(n,i)}function m(n,i){if(i.mixinCallAfter)return i.mixinCallAfter=!1,n.match(/^\( *[-\w]+ *=/,!1)||(i.javaScriptArguments=!0,i.javaScriptArgumentsDepth=0),!0}function P(n,i){if(n.match(/^(if|unless|else if|else)\b/))return i.javaScriptLine=!0,t}function q(n,i){if(n.match(/^(- *)?(each|for)\b/))return i.isEach=!0,t}function $(n,i){if(i.isEach){if(n.match(/^ in\b/))return i.javaScriptLine=!0,i.isEach=!1,t;if(n.sol()||n.eol())i.isEach=!1;else if(n.next()){for(;!n.match(/^ in\b/,!1)&&n.next(););return"variable"}}}function z(n,i){if(n.match(/^while\b/))return i.javaScriptLine=!0,t}function R(n,i){var e;if(e=n.match(/^(\w(?:[-:\w]*\w)?)\/?/))return i.lastTag=e[1].toLowerCase(),i.lastTag==="script"&&(i.scriptType="application/javascript"),"tag"}function d(n,i){if(n.match(/^:([\w\-]+)/)){var e;return u&&u.innerModes&&(e=u.innerModes(n.current().substring(1))),e||(e=n.current().substring(1)),typeof e=="string"&&(e=r.getMode(u,e)),p(n,i,e),"atom"}}function Y(n,i){if(n.match(/^(!?=|-)/))return i.javaScriptLine=!0,"punctuation"}function B(n){if(n.match(/^#([\w-]+)/))return j}function H(n){if(n.match(/^\.([\w-]+)/))return b}function J(n,i){if(n.peek()=="(")return n.next(),i.isAttrs=!0,i.attrsNest=[],i.inAttributeName=!0,i.attrValue="",i.attributeIsType=!1,"punctuation"}function S(n,i){if(i.isAttrs){if(h[n.peek()]&&i.attrsNest.push(h[n.peek()]),i.attrsNest[i.attrsNest.length-1]===n.peek())i.attrsNest.pop();else if(n.eat(")"))return i.isAttrs=!1,"punctuation";if(i.inAttributeName&&n.match(/^[^=,\)!]+/))return(n.peek()==="="||n.peek()==="!")&&(i.inAttributeName=!1,i.jsState=r.startState(c),i.lastTag==="script"&&n.current().trim().toLowerCase()==="type"?i.attributeIsType=!0:i.attributeIsType=!1),"attribute";var e=c.token(n,i.jsState);if(i.attributeIsType&&e==="string"&&(i.scriptType=n.current().toString()),i.attrsNest.length===0&&(e==="string"||e==="variable"||e==="keyword"))try{return Function("","var x "+i.attrValue.replace(/,\s*$/,"").replace(/^!/,"")),i.inAttributeName=!0,i.attrValue="",n.backUp(n.current().length),S(n,i)}catch(sn){}return i.attrValue+=n.current(),e||!0}}function K(n,i){if(n.match(/^&attributes\b/))return i.javaScriptArguments=!0,i.javaScriptArgumentsDepth=0,"keyword"}function U(n){if(n.sol()&&n.eatSpace())return"indent"}function W(n,i){if(n.match(/^ *\/\/(-)?([^\n]*)/))return i.indentOf=n.indentation(),i.indentToken="comment","comment"}function Z(n){if(n.match(/^: */))return"colon"}function G(n,i){if(n.match(/^(?:\| ?| )([^\n]+)/))return"string";if(n.match(/^(<[^\n]*)/,!1))return p(n,i,"htmlmixed"),i.innerModeForLine=!0,v(n,i,!0)}function Q(n,i){if(n.eat(".")){var e=null;return i.lastTag==="script"&&i.scriptType.toLowerCase().indexOf("javascript")!=-1?e=i.scriptType.toLowerCase().replace(/"|'/g,""):i.lastTag==="style"&&(e="css"),p(n,i,e),"dot"}}function X(n){return n.next(),null}function p(n,i,e){e=r.mimeModes[e]||e,e=u.innerModes&&u.innerModes(e)||e,e=r.mimeModes[e]||e,e=r.getMode(u,e),i.indentOf=n.indentation(),e&&e.name!=="null"?i.innerMode=e:i.indentToken="string"}function v(n,i,e){if(n.indentation()>i.indentOf||i.innerModeForLine&&!n.sol()||e)return i.innerMode?(i.innerState||(i.innerState=i.innerMode.startState?r.startState(i.innerMode,n.indentation()):{}),n.hideFirstChars(i.indentOf+2,function(){return i.innerMode.token(n,i.innerState)||!0})):(n.skipToEnd(),i.indentToken);n.sol()&&(i.indentOf=1/0,i.indentToken=null,i.innerMode=null,i.innerState=null)}function nn(n,i){if(n.sol()&&(i.restOfLine=""),i.restOfLine){n.skipToEnd();var e=i.restOfLine;return i.restOfLine="",e}}function en(){return new a}function tn(n){return n.copy()}function rn(n,i){var e=v(n,i)||nn(n,i)||T(n,i)||C(n,i)||$(n,i)||S(n,i)||L(n,i)||y(n,i)||m(n,i)||A(n)||x(n)||s(n,i)||k(n,i)||O(n,i)||N(n)||w(n,i)||E(n,i)||I(n,i)||F(n,i)||D(n,i)||M(n,i)||V(n,i)||_(n,i)||P(n,i)||q(n,i)||z(n,i)||R(n,i)||d(n,i)||Y(n,i)||B(n)||H(n)||J(n,i)||K(n,i)||U(n)||G(n,i)||W(n,i)||Z(n)||Q(n,i)||X(n);return e===!0?null:e}return{startState:en,copyState:tn,token:rn}},"javascript","css","htmlmixed"),r.defineMIME("text/x-pug","pug"),r.defineMIME("text/x-jade","pug")})})();var g=pn.exports;const hn=un(g),gn=an({__proto__:null,default:hn},[g]);export{g as a,gn as p}; +import{g as un,c as cn,a as fn}from"./index-rXwcQ1j1.js";import{a as ln}from"./css-DspWBOZK.js";import{r as on}from"./htmlmixed-BkyqFvnk.js";function an(l,o){for(var r=0;ru[t]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var pn={exports:{}};(function(l,o){(function(r){r(cn,fn(),ln,on())})(function(r){r.defineMode("pug",function(u){var t="keyword",f="meta",j="builtin",b="qualifier",h={"{":"}","(":")","[":"]"},c=r.getMode(u,"javascript");function a(){this.javaScriptLine=!1,this.javaScriptLineExcludesColon=!1,this.javaScriptArguments=!1,this.javaScriptArgumentsDepth=0,this.isInterpolating=!1,this.interpolationNesting=0,this.jsState=r.startState(c),this.restOfLine="",this.isIncludeFiltered=!1,this.isEach=!1,this.lastTag="",this.scriptType="",this.isAttrs=!1,this.attrsNest=[],this.inAttributeName=!0,this.attributeIsType=!1,this.attrValue="",this.indentOf=1/0,this.indentToken="",this.innerMode=null,this.innerState=null,this.innerModeForLine=!1}a.prototype.copy=function(){var n=new a;return n.javaScriptLine=this.javaScriptLine,n.javaScriptLineExcludesColon=this.javaScriptLineExcludesColon,n.javaScriptArguments=this.javaScriptArguments,n.javaScriptArgumentsDepth=this.javaScriptArgumentsDepth,n.isInterpolating=this.isInterpolating,n.interpolationNesting=this.interpolationNesting,n.jsState=r.copyState(c,this.jsState),n.innerMode=this.innerMode,this.innerMode&&this.innerState&&(n.innerState=r.copyState(this.innerMode,this.innerState)),n.restOfLine=this.restOfLine,n.isIncludeFiltered=this.isIncludeFiltered,n.isEach=this.isEach,n.lastTag=this.lastTag,n.scriptType=this.scriptType,n.isAttrs=this.isAttrs,n.attrsNest=this.attrsNest.slice(),n.inAttributeName=this.inAttributeName,n.attributeIsType=this.attributeIsType,n.attrValue=this.attrValue,n.indentOf=this.indentOf,n.indentToken=this.indentToken,n.innerModeForLine=this.innerModeForLine,n};function L(n,i){if(n.sol()&&(i.javaScriptLine=!1,i.javaScriptLineExcludesColon=!1),i.javaScriptLine){if(i.javaScriptLineExcludesColon&&n.peek()===":"){i.javaScriptLine=!1,i.javaScriptLineExcludesColon=!1;return}var e=c.token(n,i.jsState);return n.eol()&&(i.javaScriptLine=!1),e||!0}}function y(n,i){if(i.javaScriptArguments){if(i.javaScriptArgumentsDepth===0&&n.peek()!=="("){i.javaScriptArguments=!1;return}if(n.peek()==="("?i.javaScriptArgumentsDepth++:n.peek()===")"&&i.javaScriptArgumentsDepth--,i.javaScriptArgumentsDepth===0){i.javaScriptArguments=!1;return}var e=c.token(n,i.jsState);return e||!0}}function A(n){if(n.match(/^yield\b/))return"keyword"}function x(n){if(n.match(/^(?:doctype) *([^\n]+)?/))return f}function s(n,i){if(n.match("#{"))return i.isInterpolating=!0,i.interpolationNesting=0,"punctuation"}function T(n,i){if(i.isInterpolating){if(n.peek()==="}"){if(i.interpolationNesting--,i.interpolationNesting<0)return n.next(),i.isInterpolating=!1,"punctuation"}else n.peek()==="{"&&i.interpolationNesting++;return c.token(n,i.jsState)||!0}}function k(n,i){if(n.match(/^case\b/))return i.javaScriptLine=!0,t}function O(n,i){if(n.match(/^when\b/))return i.javaScriptLine=!0,i.javaScriptLineExcludesColon=!0,t}function N(n){if(n.match(/^default\b/))return t}function w(n,i){if(n.match(/^extends?\b/))return i.restOfLine="string",t}function E(n,i){if(n.match(/^append\b/))return i.restOfLine="variable",t}function I(n,i){if(n.match(/^prepend\b/))return i.restOfLine="variable",t}function F(n,i){if(n.match(/^block\b *(?:(prepend|append)\b)?/))return i.restOfLine="variable",t}function D(n,i){if(n.match(/^include\b/))return i.restOfLine="string",t}function M(n,i){if(n.match(/^include:([a-zA-Z0-9\-]+)/,!1)&&n.match("include"))return i.isIncludeFiltered=!0,t}function C(n,i){if(i.isIncludeFiltered){var e=d(n,i);return i.isIncludeFiltered=!1,i.restOfLine="string",e}}function V(n,i){if(n.match(/^mixin\b/))return i.javaScriptLine=!0,t}function _(n,i){if(n.match(/^\+([-\w]+)/))return n.match(/^\( *[-\w]+ *=/,!1)||(i.javaScriptArguments=!0,i.javaScriptArgumentsDepth=0),"variable";if(n.match("+#{",!1))return n.next(),i.mixinCallAfter=!0,s(n,i)}function m(n,i){if(i.mixinCallAfter)return i.mixinCallAfter=!1,n.match(/^\( *[-\w]+ *=/,!1)||(i.javaScriptArguments=!0,i.javaScriptArgumentsDepth=0),!0}function P(n,i){if(n.match(/^(if|unless|else if|else)\b/))return i.javaScriptLine=!0,t}function q(n,i){if(n.match(/^(- *)?(each|for)\b/))return i.isEach=!0,t}function $(n,i){if(i.isEach){if(n.match(/^ in\b/))return i.javaScriptLine=!0,i.isEach=!1,t;if(n.sol()||n.eol())i.isEach=!1;else if(n.next()){for(;!n.match(/^ in\b/,!1)&&n.next(););return"variable"}}}function z(n,i){if(n.match(/^while\b/))return i.javaScriptLine=!0,t}function R(n,i){var e;if(e=n.match(/^(\w(?:[-:\w]*\w)?)\/?/))return i.lastTag=e[1].toLowerCase(),i.lastTag==="script"&&(i.scriptType="application/javascript"),"tag"}function d(n,i){if(n.match(/^:([\w\-]+)/)){var e;return u&&u.innerModes&&(e=u.innerModes(n.current().substring(1))),e||(e=n.current().substring(1)),typeof e=="string"&&(e=r.getMode(u,e)),p(n,i,e),"atom"}}function Y(n,i){if(n.match(/^(!?=|-)/))return i.javaScriptLine=!0,"punctuation"}function B(n){if(n.match(/^#([\w-]+)/))return j}function H(n){if(n.match(/^\.([\w-]+)/))return b}function J(n,i){if(n.peek()=="(")return n.next(),i.isAttrs=!0,i.attrsNest=[],i.inAttributeName=!0,i.attrValue="",i.attributeIsType=!1,"punctuation"}function S(n,i){if(i.isAttrs){if(h[n.peek()]&&i.attrsNest.push(h[n.peek()]),i.attrsNest[i.attrsNest.length-1]===n.peek())i.attrsNest.pop();else if(n.eat(")"))return i.isAttrs=!1,"punctuation";if(i.inAttributeName&&n.match(/^[^=,\)!]+/))return(n.peek()==="="||n.peek()==="!")&&(i.inAttributeName=!1,i.jsState=r.startState(c),i.lastTag==="script"&&n.current().trim().toLowerCase()==="type"?i.attributeIsType=!0:i.attributeIsType=!1),"attribute";var e=c.token(n,i.jsState);if(i.attributeIsType&&e==="string"&&(i.scriptType=n.current().toString()),i.attrsNest.length===0&&(e==="string"||e==="variable"||e==="keyword"))try{return Function("","var x "+i.attrValue.replace(/,\s*$/,"").replace(/^!/,"")),i.inAttributeName=!0,i.attrValue="",n.backUp(n.current().length),S(n,i)}catch(sn){}return i.attrValue+=n.current(),e||!0}}function K(n,i){if(n.match(/^&attributes\b/))return i.javaScriptArguments=!0,i.javaScriptArgumentsDepth=0,"keyword"}function U(n){if(n.sol()&&n.eatSpace())return"indent"}function W(n,i){if(n.match(/^ *\/\/(-)?([^\n]*)/))return i.indentOf=n.indentation(),i.indentToken="comment","comment"}function Z(n){if(n.match(/^: */))return"colon"}function G(n,i){if(n.match(/^(?:\| ?| )([^\n]+)/))return"string";if(n.match(/^(<[^\n]*)/,!1))return p(n,i,"htmlmixed"),i.innerModeForLine=!0,v(n,i,!0)}function Q(n,i){if(n.eat(".")){var e=null;return i.lastTag==="script"&&i.scriptType.toLowerCase().indexOf("javascript")!=-1?e=i.scriptType.toLowerCase().replace(/"|'/g,""):i.lastTag==="style"&&(e="css"),p(n,i,e),"dot"}}function X(n){return n.next(),null}function p(n,i,e){e=r.mimeModes[e]||e,e=u.innerModes&&u.innerModes(e)||e,e=r.mimeModes[e]||e,e=r.getMode(u,e),i.indentOf=n.indentation(),e&&e.name!=="null"?i.innerMode=e:i.indentToken="string"}function v(n,i,e){if(n.indentation()>i.indentOf||i.innerModeForLine&&!n.sol()||e)return i.innerMode?(i.innerState||(i.innerState=i.innerMode.startState?r.startState(i.innerMode,n.indentation()):{}),n.hideFirstChars(i.indentOf+2,function(){return i.innerMode.token(n,i.innerState)||!0})):(n.skipToEnd(),i.indentToken);n.sol()&&(i.indentOf=1/0,i.indentToken=null,i.innerMode=null,i.innerState=null)}function nn(n,i){if(n.sol()&&(i.restOfLine=""),i.restOfLine){n.skipToEnd();var e=i.restOfLine;return i.restOfLine="",e}}function en(){return new a}function tn(n){return n.copy()}function rn(n,i){var e=v(n,i)||nn(n,i)||T(n,i)||C(n,i)||$(n,i)||S(n,i)||L(n,i)||y(n,i)||m(n,i)||A(n)||x(n)||s(n,i)||k(n,i)||O(n,i)||N(n)||w(n,i)||E(n,i)||I(n,i)||F(n,i)||D(n,i)||M(n,i)||V(n,i)||_(n,i)||P(n,i)||q(n,i)||z(n,i)||R(n,i)||d(n,i)||Y(n,i)||B(n)||H(n)||J(n,i)||K(n,i)||U(n)||G(n,i)||W(n,i)||Z(n)||Q(n,i)||X(n);return e===!0?null:e}return{startState:en,copyState:tn,token:rn}},"javascript","css","htmlmixed"),r.defineMIME("text/x-pug","pug"),r.defineMIME("text/x-jade","pug")})})();var g=pn.exports;const hn=un(g),gn=an({__proto__:null,default:hn},[g]);export{g as a,gn as p}; diff --git a/dist-ui/assets/puppet-BkjhXnvg.js b/dist-ui/assets/puppet-BbR9j6vx.js similarity index 97% rename from dist-ui/assets/puppet-BkjhXnvg.js rename to dist-ui/assets/puppet-BbR9j6vx.js index 8bb8a764..70a23cfa 100644 --- a/dist-ui/assets/puppet-BkjhXnvg.js +++ b/dist-ui/assets/puppet-BbR9j6vx.js @@ -1 +1 @@ -import{g as _,c as v}from"./index-CHg1vBCc.js";function b(f,l){for(var o=0;ot[u]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var k={exports:{}};(function(f,l){(function(o){o(v)})(function(o){o.defineMode("puppet",function(){var t={},u=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;function c(e,n){for(var i=n.split(" "),a=0;a.*/,!1),s=e.match(/(\s+)?[\w:_]+(\s+)?{/,!1),h=e.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),r=e.next();if(r==="$")return e.match(u)?n.continueString?"variable-2":"variable":"error";if(n.continueString)return e.backUp(1),p(e,n);if(n.inDefinition){if(e.match(/(\s+)?[\w:_]+(\s+)?/))return"def";e.match(/\s+{/),n.inDefinition=!1}return n.inInclude?(e.match(/(\s+)?\S+(\s+)?/),n.inInclude=!1,"def"):e.match(/(\s+)?\w+\(/)?(e.backUp(1),"def"):a?(e.match(/(\s+)?\w+/),"tag"):i&&t.hasOwnProperty(i)?(e.backUp(1),e.match(/[\w]+/),e.match(/\s+\S+\s+{/,!1)&&(n.inDefinition=!0),i=="include"&&(n.inInclude=!0),t[i]):/(^|\s+)[A-Z][\w:_]+/.test(i)?(e.backUp(1),e.match(/(^|\s+)[A-Z][\w:_]+/),"def"):s?(e.match(/(\s+)?[\w:_]+/),"def"):h?(e.match(/(\s+)?[@]{1,2}/),"special"):r=="#"?(e.skipToEnd(),"comment"):r=="'"||r=='"'?(n.pending=r,p(e,n)):r=="{"||r=="}"?"bracket":r=="/"?(e.match(/^[^\/]*\//),"variable-3"):r.match(/[0-9]/)?(e.eatWhile(/[0-9]+/),"number"):r=="="?(e.peek()==">"&&e.next(),"operator"):(e.eatWhile(/[\w-]/),null)}return{startState:function(){var e={};return e.inDefinition=!1,e.inInclude=!1,e.continueString=!1,e.pending=!1,e},token:function(e,n){return e.eatSpace()?null:g(e,n)}}}),o.defineMIME("text/x-puppet","puppet")})})();var d=k.exports;const w=_(d),y=b({__proto__:null,default:w},[d]);export{y as p}; +import{g as _,c as v}from"./index-rXwcQ1j1.js";function b(f,l){for(var o=0;ot[u]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var k={exports:{}};(function(f,l){(function(o){o(v)})(function(o){o.defineMode("puppet",function(){var t={},u=/({)?([a-z][a-z0-9_]*)?((::[a-z][a-z0-9_]*)*::)?[a-zA-Z0-9_]+(})?/;function c(e,n){for(var i=n.split(" "),a=0;a.*/,!1),s=e.match(/(\s+)?[\w:_]+(\s+)?{/,!1),h=e.match(/(\s+)?[@]{1,2}[\w:_]+(\s+)?{/,!1),r=e.next();if(r==="$")return e.match(u)?n.continueString?"variable-2":"variable":"error";if(n.continueString)return e.backUp(1),p(e,n);if(n.inDefinition){if(e.match(/(\s+)?[\w:_]+(\s+)?/))return"def";e.match(/\s+{/),n.inDefinition=!1}return n.inInclude?(e.match(/(\s+)?\S+(\s+)?/),n.inInclude=!1,"def"):e.match(/(\s+)?\w+\(/)?(e.backUp(1),"def"):a?(e.match(/(\s+)?\w+/),"tag"):i&&t.hasOwnProperty(i)?(e.backUp(1),e.match(/[\w]+/),e.match(/\s+\S+\s+{/,!1)&&(n.inDefinition=!0),i=="include"&&(n.inInclude=!0),t[i]):/(^|\s+)[A-Z][\w:_]+/.test(i)?(e.backUp(1),e.match(/(^|\s+)[A-Z][\w:_]+/),"def"):s?(e.match(/(\s+)?[\w:_]+/),"def"):h?(e.match(/(\s+)?[@]{1,2}/),"special"):r=="#"?(e.skipToEnd(),"comment"):r=="'"||r=='"'?(n.pending=r,p(e,n)):r=="{"||r=="}"?"bracket":r=="/"?(e.match(/^[^\/]*\//),"variable-3"):r.match(/[0-9]/)?(e.eatWhile(/[0-9]+/),"number"):r=="="?(e.peek()==">"&&e.next(),"operator"):(e.eatWhile(/[\w-]/),null)}return{startState:function(){var e={};return e.inDefinition=!1,e.inInclude=!1,e.continueString=!1,e.pending=!1,e},token:function(e,n){return e.eatSpace()?null:g(e,n)}}}),o.defineMIME("text/x-puppet","puppet")})})();var d=k.exports;const w=_(d),y=b({__proto__:null,default:w},[d]);export{y as p}; diff --git a/dist-ui/assets/python-Cf2AlM8k.js b/dist-ui/assets/python-eCieQxL5.js similarity index 99% rename from dist-ui/assets/python-Cf2AlM8k.js rename to dist-ui/assets/python-eCieQxL5.js index db185baa..34337f06 100644 --- a/dist-ui/assets/python-Cf2AlM8k.js +++ b/dist-ui/assets/python-eCieQxL5.js @@ -1 +1 @@ -import{g as J,c as K}from"./index-CHg1vBCc.js";function M(k,_){for(var c=0;c<_.length;c++){const p=_[c];if(typeof p!="string"&&!Array.isArray(p)){for(const y in p)if(y!=="default"&&!(y in k)){const b=Object.getOwnPropertyDescriptor(p,y);b&&Object.defineProperty(k,y,b.get?b:{enumerable:!0,get:()=>p[y]})}}}return Object.freeze(Object.defineProperty(k,Symbol.toStringTag,{value:"Module"}))}var H={exports:{}};(function(k,_){(function(c){c(K)})(function(c){function p(a){return new RegExp("^(("+a.join(")|(")+"))\\b")}var y=p(["and","or","not","is"]),b=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in","False","True"],m=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];c.registerHelper("hintWords","python",b.concat(m).concat(["exec","print"]));function f(a){return a.scopes[a.scopes.length-1]}c.defineMode("python",function(a,l){for(var h="error",B=l.delimiters||l.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,v=[l.singleOperators,l.doubleOperators,l.doubleDelimiters,l.tripleDelimiters,l.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],x=0;xi?A(n):t0&&I(e,n)&&(u+=" "+h),u}}return E(e,n)}function E(e,n,r){if(e.eatSpace())return null;if(!r&&e.match(/^#.*/))return"comment";if(e.match(/^[0-9\.]/,!1)){var i=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(i=!0),e.match(/^[\d_]+\.\d*/)&&(i=!0),e.match(/^\.\d+/)&&(i=!0),i)return e.eat(/J/i),"number";var t=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(t=!0),e.match(/^0b[01_]+/i)&&(t=!0),e.match(/^0o[0-7_]+/i)&&(t=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),t=!0),e.match(/^0(?![\dx])/i)&&(t=!0),t)return e.eat(/L/i),"number"}if(e.match(O)){var u=e.current().toLowerCase().indexOf("f")!==-1;return u?(n.tokenize=P(e.current(),n.tokenize),n.tokenize(e,n)):(n.tokenize=$(e.current(),n.tokenize),n.tokenize(e,n))}for(var o=0;o=0;)e=e.substr(1);var r=e.length==1,i="string";function t(o){return function(d,z){var j=E(d,z,!0);return j=="punctuation"&&(d.current()=="{"?z.tokenize=t(o+1):d.current()=="}"&&(o>1?z.tokenize=t(o-1):z.tokenize=u)),j}}function u(o,d){for(;!o.eol();)if(o.eatWhile(/[^'"\{\}\\]/),o.eat("\\")){if(o.next(),r&&o.eol())return i}else{if(o.match(e))return d.tokenize=n,i;if(o.match("{{"))return i;if(o.match("{",!1))return d.tokenize=t(0),o.current()?i:d.tokenize(o,d);if(o.match("}}"))return i;if(o.match("}"))return h;o.eat(/['"]/)}if(r){if(l.singleLineStringErrors)return h;d.tokenize=n}return i}return u.isString=!0,u}function $(e,n){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var r=e.length==1,i="string";function t(u,o){for(;!u.eol();)if(u.eatWhile(/[^'"\\]/),u.eat("\\")){if(u.next(),r&&u.eol())return i}else{if(u.match(e))return o.tokenize=n,i;u.eat(/['"]/)}if(r){if(l.singleLineStringErrors)return h;o.tokenize=n}return i}return t.isString=!0,t}function A(e){for(;f(e).type!="py";)e.scopes.pop();e.scopes.push({offset:f(e).offset+a.indentUnit,type:"py",align:null})}function U(e,n,r){var i=e.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:e.column()+1;n.scopes.push({offset:n.indent+S,type:r,align:i})}function I(e,n){for(var r=e.indentation();n.scopes.length>1&&f(n).offset>r;){if(f(n).type!="py")return!0;n.scopes.pop()}return f(n).offset!=r}function Z(e,n){e.sol()&&(n.beginningOfLine=!0,n.dedent=!1);var r=n.tokenize(e,n),i=e.current();if(n.beginningOfLine&&i=="@")return e.match(w,!1)?"meta":F?"operator":h;if(/\S/.test(i)&&(n.beginningOfLine=!1),(r=="variable"||r=="builtin")&&n.lastToken=="meta"&&(r="meta"),(i=="pass"||i=="return")&&(n.dedent=!0),i=="lambda"&&(n.lambda=!0),i==":"&&!n.lambda&&f(n).type=="py"&&e.match(/^\s*(?:#|$)/,!1)&&A(n),i.length==1&&!/string|comment/.test(r)){var t="[({".indexOf(i);if(t!=-1&&U(e,n,"])}".slice(t,t+1)),t="])}".indexOf(i),t!=-1)if(f(n).type==i)n.indent=n.scopes.pop().offset-S;else return h}return n.dedent&&e.eol()&&f(n).type=="py"&&n.scopes.length>1&&n.scopes.pop(),r}var W={startState:function(e){return{tokenize:T,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,n){var r=n.errorToken;r&&(n.errorToken=!1);var i=Z(e,n);return i&&i!="comment"&&(n.lastToken=i=="keyword"||i=="punctuation"?e.current():i),i=="punctuation"&&(i=null),e.eol()&&n.lambda&&(n.lambda=!1),r?i+" "+h:i},indent:function(e,n){if(e.tokenize!=T)return e.tokenize.isString?c.Pass:0;var r=f(e),i=r.type==n.charAt(0)||r.type=="py"&&!e.dedent&&/^(else:|elif |except |finally:)/.test(n);return r.align!=null?r.align-(i?1:0):r.offset-(i?S:0)},electricInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"};return W}),c.defineMIME("text/x-python","python");var R=function(a){return a.split(" ")};c.defineMIME("text/x-cython",{name:"python",extra_keywords:R("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})})();var L=H.exports;const q=J(L),Q=M({__proto__:null,default:q},[L]);export{L as a,Q as p}; +import{g as J,c as K}from"./index-rXwcQ1j1.js";function M(k,_){for(var c=0;c<_.length;c++){const p=_[c];if(typeof p!="string"&&!Array.isArray(p)){for(const y in p)if(y!=="default"&&!(y in k)){const b=Object.getOwnPropertyDescriptor(p,y);b&&Object.defineProperty(k,y,b.get?b:{enumerable:!0,get:()=>p[y]})}}}return Object.freeze(Object.defineProperty(k,Symbol.toStringTag,{value:"Module"}))}var H={exports:{}};(function(k,_){(function(c){c(K)})(function(c){function p(a){return new RegExp("^(("+a.join(")|(")+"))\\b")}var y=p(["and","or","not","is"]),b=["as","assert","break","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","lambda","pass","raise","return","try","while","with","yield","in","False","True"],m=["abs","all","any","bin","bool","bytearray","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip","__import__","NotImplemented","Ellipsis","__debug__"];c.registerHelper("hintWords","python",b.concat(m).concat(["exec","print"]));function f(a){return a.scopes[a.scopes.length-1]}c.defineMode("python",function(a,l){for(var h="error",B=l.delimiters||l.singleDelimiters||/^[\(\)\[\]\{\}@,:`=;\.\\]/,v=[l.singleOperators,l.doubleOperators,l.doubleDelimiters,l.tripleDelimiters,l.operators||/^([-+*/%\/&|^]=?|[<>=]+|\/\/=?|\*\*=?|!=|[~!@]|\.\.\.)/],x=0;xi?A(n):t0&&I(e,n)&&(u+=" "+h),u}}return E(e,n)}function E(e,n,r){if(e.eatSpace())return null;if(!r&&e.match(/^#.*/))return"comment";if(e.match(/^[0-9\.]/,!1)){var i=!1;if(e.match(/^[\d_]*\.\d+(e[\+\-]?\d+)?/i)&&(i=!0),e.match(/^[\d_]+\.\d*/)&&(i=!0),e.match(/^\.\d+/)&&(i=!0),i)return e.eat(/J/i),"number";var t=!1;if(e.match(/^0x[0-9a-f_]+/i)&&(t=!0),e.match(/^0b[01_]+/i)&&(t=!0),e.match(/^0o[0-7_]+/i)&&(t=!0),e.match(/^[1-9][\d_]*(e[\+\-]?[\d_]+)?/)&&(e.eat(/J/i),t=!0),e.match(/^0(?![\dx])/i)&&(t=!0),t)return e.eat(/L/i),"number"}if(e.match(O)){var u=e.current().toLowerCase().indexOf("f")!==-1;return u?(n.tokenize=P(e.current(),n.tokenize),n.tokenize(e,n)):(n.tokenize=$(e.current(),n.tokenize),n.tokenize(e,n))}for(var o=0;o=0;)e=e.substr(1);var r=e.length==1,i="string";function t(o){return function(d,z){var j=E(d,z,!0);return j=="punctuation"&&(d.current()=="{"?z.tokenize=t(o+1):d.current()=="}"&&(o>1?z.tokenize=t(o-1):z.tokenize=u)),j}}function u(o,d){for(;!o.eol();)if(o.eatWhile(/[^'"\{\}\\]/),o.eat("\\")){if(o.next(),r&&o.eol())return i}else{if(o.match(e))return d.tokenize=n,i;if(o.match("{{"))return i;if(o.match("{",!1))return d.tokenize=t(0),o.current()?i:d.tokenize(o,d);if(o.match("}}"))return i;if(o.match("}"))return h;o.eat(/['"]/)}if(r){if(l.singleLineStringErrors)return h;d.tokenize=n}return i}return u.isString=!0,u}function $(e,n){for(;"rubf".indexOf(e.charAt(0).toLowerCase())>=0;)e=e.substr(1);var r=e.length==1,i="string";function t(u,o){for(;!u.eol();)if(u.eatWhile(/[^'"\\]/),u.eat("\\")){if(u.next(),r&&u.eol())return i}else{if(u.match(e))return o.tokenize=n,i;u.eat(/['"]/)}if(r){if(l.singleLineStringErrors)return h;o.tokenize=n}return i}return t.isString=!0,t}function A(e){for(;f(e).type!="py";)e.scopes.pop();e.scopes.push({offset:f(e).offset+a.indentUnit,type:"py",align:null})}function U(e,n,r){var i=e.match(/^[\s\[\{\(]*(?:#|$)/,!1)?null:e.column()+1;n.scopes.push({offset:n.indent+S,type:r,align:i})}function I(e,n){for(var r=e.indentation();n.scopes.length>1&&f(n).offset>r;){if(f(n).type!="py")return!0;n.scopes.pop()}return f(n).offset!=r}function Z(e,n){e.sol()&&(n.beginningOfLine=!0,n.dedent=!1);var r=n.tokenize(e,n),i=e.current();if(n.beginningOfLine&&i=="@")return e.match(w,!1)?"meta":F?"operator":h;if(/\S/.test(i)&&(n.beginningOfLine=!1),(r=="variable"||r=="builtin")&&n.lastToken=="meta"&&(r="meta"),(i=="pass"||i=="return")&&(n.dedent=!0),i=="lambda"&&(n.lambda=!0),i==":"&&!n.lambda&&f(n).type=="py"&&e.match(/^\s*(?:#|$)/,!1)&&A(n),i.length==1&&!/string|comment/.test(r)){var t="[({".indexOf(i);if(t!=-1&&U(e,n,"])}".slice(t,t+1)),t="])}".indexOf(i),t!=-1)if(f(n).type==i)n.indent=n.scopes.pop().offset-S;else return h}return n.dedent&&e.eol()&&f(n).type=="py"&&n.scopes.length>1&&n.scopes.pop(),r}var W={startState:function(e){return{tokenize:T,scopes:[{offset:e||0,type:"py",align:null}],indent:e||0,lastToken:null,lambda:!1,dedent:0}},token:function(e,n){var r=n.errorToken;r&&(n.errorToken=!1);var i=Z(e,n);return i&&i!="comment"&&(n.lastToken=i=="keyword"||i=="punctuation"?e.current():i),i=="punctuation"&&(i=null),e.eol()&&n.lambda&&(n.lambda=!1),r?i+" "+h:i},indent:function(e,n){if(e.tokenize!=T)return e.tokenize.isString?c.Pass:0;var r=f(e),i=r.type==n.charAt(0)||r.type=="py"&&!e.dedent&&/^(else:|elif |except |finally:)/.test(n);return r.align!=null?r.align-(i?1:0):r.offset-(i?S:0)},electricInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/,closeBrackets:{triples:"'\""},lineComment:"#",fold:"indent"};return W}),c.defineMIME("text/x-python","python");var R=function(a){return a.split(" ")};c.defineMIME("text/x-cython",{name:"python",extra_keywords:R("by cdef cimport cpdef ctypedef enum except extern gil include nogil property public readonly struct union DEF IF ELIF ELSE")})})})();var L=H.exports;const q=J(L),Q=M({__proto__:null,default:q},[L]);export{L as a,Q as p}; diff --git a/dist-ui/assets/q-Cok_Osdz.js b/dist-ui/assets/q-E_7McJnt.js similarity index 98% rename from dist-ui/assets/q-Cok_Osdz.js rename to dist-ui/assets/q-E_7McJnt.js index 0eccefb4..d7c38a59 100644 --- a/dist-ui/assets/q-Cok_Osdz.js +++ b/dist-ui/assets/q-E_7McJnt.js @@ -1 +1 @@ -import{g as w,c as j}from"./index-CHg1vBCc.js";function z(f,s){for(var c=0;cl[u]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var E={exports:{}};(function(f,s){(function(c){c(j)})(function(c){c.defineMode("q",function(l){var u=l.indentUnit,i,a=g(["abs","acos","aj","aj0","all","and","any","asc","asin","asof","atan","attr","avg","avgs","bin","by","ceiling","cols","cor","cos","count","cov","cross","csv","cut","delete","deltas","desc","dev","differ","distinct","div","do","each","ej","enlist","eval","except","exec","exit","exp","fby","fills","first","fkeys","flip","floor","from","get","getenv","group","gtime","hclose","hcount","hdel","hopen","hsym","iasc","idesc","if","ij","in","insert","inter","inv","key","keys","last","like","list","lj","load","log","lower","lsq","ltime","ltrim","mavg","max","maxs","mcount","md5","mdev","med","meta","min","mins","mmax","mmin","mmu","mod","msum","neg","next","not","null","or","over","parse","peach","pj","plist","prd","prds","prev","prior","rand","rank","ratios","raze","read0","read1","reciprocal","reverse","rload","rotate","rsave","rtrim","save","scan","select","set","setenv","show","signum","sin","sqrt","ss","ssr","string","sublist","sum","sums","sv","system","tables","tan","til","trim","txf","type","uj","ungroup","union","update","upper","upsert","value","var","view","views","vs","wavg","where","where","while","within","wj","wj1","wsum","xasc","xbar","xcol","xcols","xdesc","xexp","xgroup","xkey","xlog","xprev","xrank"]),k=/[|/&^!+:\\\-*%$=~#;@><,?_\'\"\[\(\]\)\s{}]/;function g(e){return new RegExp("^("+e.join("|")+")$")}function d(e,n){var o=e.sol(),t=e.next();if(i=null,o){if(t=="/")return(n.tokenize=m)(e,n);if(t=="\\")return e.eol()||/\s/.test(e.peek())?(e.skipToEnd(),/^\\\s*$/.test(e.current())?(n.tokenize=y)(e):n.tokenize=d,"comment"):(n.tokenize=d,"builtin")}if(/\s/.test(t))return e.peek()=="/"?(e.skipToEnd(),"comment"):"whitespace";if(t=='"')return(n.tokenize=b)(e,n);if(t=="`")return e.eatWhile(/[A-Za-z\d_:\/.]/),"symbol";if(t=="."&&/\d/.test(e.peek())||/\d/.test(t)){var r=null;return e.backUp(1),e.match(/^\d{4}\.\d{2}(m|\.\d{2}([DT](\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)?)?)/)||e.match(/^\d+D(\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)/)||e.match(/^\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?/)||e.match(/^\d+[ptuv]{1}/)?r="temporal":(e.match(/^0[NwW]{1}/)||e.match(/^0x[\da-fA-F]*/)||e.match(/^[01]+[b]{1}/)||e.match(/^\d+[chijn]{1}/)||e.match(/-?\d*(\.\d*)?(e[+\-]?\d+)?(e|f)?/))&&(r="number"),r&&(!(t=e.peek())||k.test(t))?r:(e.next(),"error")}return/[A-Za-z]|\./.test(t)?(e.eatWhile(/[A-Za-z._\d]/),a.test(e.current())?"keyword":"variable"):/[|/&^!+:\\\-*%$=~#;@><\.,?_\']/.test(t)||/[{}\(\[\]\)]/.test(t)?null:"error"}function m(e,n){return e.skipToEnd(),/\/\s*$/.test(e.current())?(n.tokenize=h)(e,n):n.tokenize=d,"comment"}function h(e,n){var o=e.sol()&&e.peek()=="\\";return e.skipToEnd(),o&&/^\\\s*$/.test(e.current())&&(n.tokenize=d),"comment"}function y(e){return e.skipToEnd(),"comment"}function b(e,n){for(var o=!1,t,r=!1;t=e.next();){if(t=='"'&&!o){r=!0;break}o=!o&&t=="\\"}return r&&(n.tokenize=d),"string"}function p(e,n,o){e.context={prev:e.context,indent:e.indent,col:o,type:n}}function x(e){e.indent=e.context.indent,e.context=e.context.prev}return{startState:function(){return{tokenize:d,context:null,indent:0,col:0}},token:function(e,n){e.sol()&&(n.context&&n.context.align==null&&(n.context.align=!1),n.indent=e.indentation());var o=n.tokenize(e,n);if(o!="comment"&&n.context&&n.context.align==null&&n.context.type!="pattern"&&(n.context.align=!0),i=="(")p(n,")",e.column());else if(i=="[")p(n,"]",e.column());else if(i=="{")p(n,"}",e.column());else if(/[\]\}\)]/.test(i)){for(;n.context&&n.context.type=="pattern";)x(n);n.context&&i==n.context.type&&x(n)}else i=="."&&n.context&&n.context.type=="pattern"?x(n):/atom|string|variable/.test(o)&&n.context&&(/[\}\]]/.test(n.context.type)?p(n,"pattern",e.column()):n.context.type=="pattern"&&!n.context.align&&(n.context.align=!0,n.context.col=e.column()));return o},indent:function(e,n){var o=n&&n.charAt(0),t=e.context;if(/[\]\}]/.test(o))for(;t&&t.type=="pattern";)t=t.prev;var r=t&&o==t.type;return t?t.type=="pattern"?t.col:t.align?t.col+(r?0:1):t.indent+(r?0:u):0}}}),c.defineMIME("text/x-q","q")})})();var v=E.exports;const q=w(v),T=z({__proto__:null,default:q},[v]);export{T as q}; +import{g as w,c as j}from"./index-rXwcQ1j1.js";function z(f,s){for(var c=0;cl[u]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var E={exports:{}};(function(f,s){(function(c){c(j)})(function(c){c.defineMode("q",function(l){var u=l.indentUnit,i,a=g(["abs","acos","aj","aj0","all","and","any","asc","asin","asof","atan","attr","avg","avgs","bin","by","ceiling","cols","cor","cos","count","cov","cross","csv","cut","delete","deltas","desc","dev","differ","distinct","div","do","each","ej","enlist","eval","except","exec","exit","exp","fby","fills","first","fkeys","flip","floor","from","get","getenv","group","gtime","hclose","hcount","hdel","hopen","hsym","iasc","idesc","if","ij","in","insert","inter","inv","key","keys","last","like","list","lj","load","log","lower","lsq","ltime","ltrim","mavg","max","maxs","mcount","md5","mdev","med","meta","min","mins","mmax","mmin","mmu","mod","msum","neg","next","not","null","or","over","parse","peach","pj","plist","prd","prds","prev","prior","rand","rank","ratios","raze","read0","read1","reciprocal","reverse","rload","rotate","rsave","rtrim","save","scan","select","set","setenv","show","signum","sin","sqrt","ss","ssr","string","sublist","sum","sums","sv","system","tables","tan","til","trim","txf","type","uj","ungroup","union","update","upper","upsert","value","var","view","views","vs","wavg","where","where","while","within","wj","wj1","wsum","xasc","xbar","xcol","xcols","xdesc","xexp","xgroup","xkey","xlog","xprev","xrank"]),k=/[|/&^!+:\\\-*%$=~#;@><,?_\'\"\[\(\]\)\s{}]/;function g(e){return new RegExp("^("+e.join("|")+")$")}function d(e,n){var o=e.sol(),t=e.next();if(i=null,o){if(t=="/")return(n.tokenize=m)(e,n);if(t=="\\")return e.eol()||/\s/.test(e.peek())?(e.skipToEnd(),/^\\\s*$/.test(e.current())?(n.tokenize=y)(e):n.tokenize=d,"comment"):(n.tokenize=d,"builtin")}if(/\s/.test(t))return e.peek()=="/"?(e.skipToEnd(),"comment"):"whitespace";if(t=='"')return(n.tokenize=b)(e,n);if(t=="`")return e.eatWhile(/[A-Za-z\d_:\/.]/),"symbol";if(t=="."&&/\d/.test(e.peek())||/\d/.test(t)){var r=null;return e.backUp(1),e.match(/^\d{4}\.\d{2}(m|\.\d{2}([DT](\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)?)?)/)||e.match(/^\d+D(\d{2}(:\d{2}(:\d{2}(\.\d{1,9})?)?)?)/)||e.match(/^\d{2}:\d{2}(:\d{2}(\.\d{1,9})?)?/)||e.match(/^\d+[ptuv]{1}/)?r="temporal":(e.match(/^0[NwW]{1}/)||e.match(/^0x[\da-fA-F]*/)||e.match(/^[01]+[b]{1}/)||e.match(/^\d+[chijn]{1}/)||e.match(/-?\d*(\.\d*)?(e[+\-]?\d+)?(e|f)?/))&&(r="number"),r&&(!(t=e.peek())||k.test(t))?r:(e.next(),"error")}return/[A-Za-z]|\./.test(t)?(e.eatWhile(/[A-Za-z._\d]/),a.test(e.current())?"keyword":"variable"):/[|/&^!+:\\\-*%$=~#;@><\.,?_\']/.test(t)||/[{}\(\[\]\)]/.test(t)?null:"error"}function m(e,n){return e.skipToEnd(),/\/\s*$/.test(e.current())?(n.tokenize=h)(e,n):n.tokenize=d,"comment"}function h(e,n){var o=e.sol()&&e.peek()=="\\";return e.skipToEnd(),o&&/^\\\s*$/.test(e.current())&&(n.tokenize=d),"comment"}function y(e){return e.skipToEnd(),"comment"}function b(e,n){for(var o=!1,t,r=!1;t=e.next();){if(t=='"'&&!o){r=!0;break}o=!o&&t=="\\"}return r&&(n.tokenize=d),"string"}function p(e,n,o){e.context={prev:e.context,indent:e.indent,col:o,type:n}}function x(e){e.indent=e.context.indent,e.context=e.context.prev}return{startState:function(){return{tokenize:d,context:null,indent:0,col:0}},token:function(e,n){e.sol()&&(n.context&&n.context.align==null&&(n.context.align=!1),n.indent=e.indentation());var o=n.tokenize(e,n);if(o!="comment"&&n.context&&n.context.align==null&&n.context.type!="pattern"&&(n.context.align=!0),i=="(")p(n,")",e.column());else if(i=="[")p(n,"]",e.column());else if(i=="{")p(n,"}",e.column());else if(/[\]\}\)]/.test(i)){for(;n.context&&n.context.type=="pattern";)x(n);n.context&&i==n.context.type&&x(n)}else i=="."&&n.context&&n.context.type=="pattern"?x(n):/atom|string|variable/.test(o)&&n.context&&(/[\}\]]/.test(n.context.type)?p(n,"pattern",e.column()):n.context.type=="pattern"&&!n.context.align&&(n.context.align=!0,n.context.col=e.column()));return o},indent:function(e,n){var o=n&&n.charAt(0),t=e.context;if(/[\]\}]/.test(o))for(;t&&t.type=="pattern";)t=t.prev;var r=t&&o==t.type;return t?t.type=="pattern"?t.col:t.align?t.col+(r?0:1):t.indent+(r?0:u):0}}}),c.defineMIME("text/x-q","q")})})();var v=E.exports;const q=w(v),T=z({__proto__:null,default:q},[v]);export{T as q}; diff --git a/dist-ui/assets/r-CPKw1dhQ.js b/dist-ui/assets/r-2rjDSe_C.js similarity index 98% rename from dist-ui/assets/r-CPKw1dhQ.js rename to dist-ui/assets/r-2rjDSe_C.js index 94f367d4..29aebbd7 100644 --- a/dist-ui/assets/r-CPKw1dhQ.js +++ b/dist-ui/assets/r-2rjDSe_C.js @@ -1 +1 @@ -import{g as S,c as U}from"./index-CHg1vBCc.js";function z(a,d){for(var o=0;of[l]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(a,d){(function(o){o(U)})(function(o){o.registerHelper("wordChars","r",/[\w.]/),o.defineMode("r",function(f){function l(e){for(var n={},r=0;r=!&|~$:]/,i;function s(e,n){i=null;var r=e.next();if(r=="#")return e.skipToEnd(),"comment";if(r=="0"&&e.eat("x"))return e.eatWhile(/[\da-f]/i),"number";if(r=="."&&e.eat(/\d/))return e.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(r))return e.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if(r=="'"||r=='"')return n.tokenize=L(r),"string";if(r=="`")return e.match(/[^`]+`/),"variable-3";if(r=="."&&e.match(/.(?:[.]|\d+)/))return"keyword";if(/[a-zA-Z\.]/.test(r)){e.eatWhile(/[\w\.]/);var t=e.current();return A.propertyIsEnumerable(t)?"atom":N.propertyIsEnumerable(t)?(I.propertyIsEnumerable(t)&&!e.match(/\s*if(\s+|$)/,!1)&&(i="block"),"keyword"):w.propertyIsEnumerable(t)?"builtin":"variable"}else return r=="%"?(e.skipTo("%")&&e.next(),"operator variable-2"):r=="<"&&e.eat("-")||r=="<"&&e.match("<-")||r=="-"&&e.match(/>>?/)?"operator arrow":r=="="&&n.ctx.argList?"arg-is":y.test(r)?r=="$"?"operator dollar":(e.eatWhile(y),"operator"):/[\(\){}\[\];]/.test(r)?(i=r,r==";"?"semi":null):null}function L(e){return function(n,r){if(n.eat("\\")){var t=n.next();return t=="x"?n.match(/^[a-f0-9]{2}/i):(t=="u"||t=="U")&&n.eat("{")&&n.skipTo("}")?n.next():t=="u"?n.match(/^[a-f0-9]{4}/i):t=="U"?n.match(/^[a-f0-9]{8}/i):/[0-7]/.test(t)&&n.match(/^[0-7]{1,2}/),"string-2"}else{for(var u;(u=n.next())!=null;){if(u==e){r.tokenize=s;break}if(u=="\\"){n.backUp(1);break}}return"string"}}}var h=1,x=2,v=4;function p(e,n,r){e.ctx={type:n,indent:e.indent,flags:0,column:r.column(),prev:e.ctx}}function m(e,n){var r=e.ctx;e.ctx={type:r.type,indent:r.indent,flags:r.flags|n,column:r.column,prev:r.prev}}function b(e){e.indent=e.ctx.indent,e.ctx=e.ctx.prev}return{startState:function(){return{tokenize:s,ctx:{type:"top",indent:-f.indentUnit,flags:x},indent:0,afterIdent:!1}},token:function(e,n){if(e.sol()&&(n.ctx.flags&3||(n.ctx.flags|=x),n.ctx.flags&v&&b(n),n.indent=e.indentation()),e.eatSpace())return null;var r=n.tokenize(e,n);return r!="comment"&&!(n.ctx.flags&x)&&m(n,h),(i==";"||i=="{"||i=="}")&&n.ctx.type=="block"&&b(n),i=="{"?p(n,"}",e):i=="("?(p(n,")",e),n.afterIdent&&(n.ctx.argList=!0)):i=="["?p(n,"]",e):i=="block"?p(n,"block",e):i==n.ctx.type?b(n):n.ctx.type=="block"&&r!="comment"&&m(n,v),n.afterIdent=r=="variable"||r=="keyword",r},indent:function(e,n){if(e.tokenize!=s)return 0;var r=n&&n.charAt(0),t=e.ctx,u=r==t.type;return t.flags&v&&(t=t.prev),t.type=="block"?t.indent+(r=="{"?0:f.indentUnit):t.flags&h?t.column+(u?0:1):t.indent+(u?0:f.indentUnit)},lineComment:"#"}}),o.defineMIME("text/x-rsrc","r")})})();var _=O.exports;const j=S(_),$=z({__proto__:null,default:j},[_]);export{$ as r}; +import{g as S,c as U}from"./index-rXwcQ1j1.js";function z(a,d){for(var o=0;of[l]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(a,d){(function(o){o(U)})(function(o){o.registerHelper("wordChars","r",/[\w.]/),o.defineMode("r",function(f){function l(e){for(var n={},r=0;r=!&|~$:]/,i;function s(e,n){i=null;var r=e.next();if(r=="#")return e.skipToEnd(),"comment";if(r=="0"&&e.eat("x"))return e.eatWhile(/[\da-f]/i),"number";if(r=="."&&e.eat(/\d/))return e.match(/\d*(?:e[+\-]?\d+)?/),"number";if(/\d/.test(r))return e.match(/\d*(?:\.\d+)?(?:e[+\-]\d+)?L?/),"number";if(r=="'"||r=='"')return n.tokenize=L(r),"string";if(r=="`")return e.match(/[^`]+`/),"variable-3";if(r=="."&&e.match(/.(?:[.]|\d+)/))return"keyword";if(/[a-zA-Z\.]/.test(r)){e.eatWhile(/[\w\.]/);var t=e.current();return A.propertyIsEnumerable(t)?"atom":N.propertyIsEnumerable(t)?(I.propertyIsEnumerable(t)&&!e.match(/\s*if(\s+|$)/,!1)&&(i="block"),"keyword"):w.propertyIsEnumerable(t)?"builtin":"variable"}else return r=="%"?(e.skipTo("%")&&e.next(),"operator variable-2"):r=="<"&&e.eat("-")||r=="<"&&e.match("<-")||r=="-"&&e.match(/>>?/)?"operator arrow":r=="="&&n.ctx.argList?"arg-is":y.test(r)?r=="$"?"operator dollar":(e.eatWhile(y),"operator"):/[\(\){}\[\];]/.test(r)?(i=r,r==";"?"semi":null):null}function L(e){return function(n,r){if(n.eat("\\")){var t=n.next();return t=="x"?n.match(/^[a-f0-9]{2}/i):(t=="u"||t=="U")&&n.eat("{")&&n.skipTo("}")?n.next():t=="u"?n.match(/^[a-f0-9]{4}/i):t=="U"?n.match(/^[a-f0-9]{8}/i):/[0-7]/.test(t)&&n.match(/^[0-7]{1,2}/),"string-2"}else{for(var u;(u=n.next())!=null;){if(u==e){r.tokenize=s;break}if(u=="\\"){n.backUp(1);break}}return"string"}}}var h=1,x=2,v=4;function p(e,n,r){e.ctx={type:n,indent:e.indent,flags:0,column:r.column(),prev:e.ctx}}function m(e,n){var r=e.ctx;e.ctx={type:r.type,indent:r.indent,flags:r.flags|n,column:r.column,prev:r.prev}}function b(e){e.indent=e.ctx.indent,e.ctx=e.ctx.prev}return{startState:function(){return{tokenize:s,ctx:{type:"top",indent:-f.indentUnit,flags:x},indent:0,afterIdent:!1}},token:function(e,n){if(e.sol()&&(n.ctx.flags&3||(n.ctx.flags|=x),n.ctx.flags&v&&b(n),n.indent=e.indentation()),e.eatSpace())return null;var r=n.tokenize(e,n);return r!="comment"&&!(n.ctx.flags&x)&&m(n,h),(i==";"||i=="{"||i=="}")&&n.ctx.type=="block"&&b(n),i=="{"?p(n,"}",e):i=="("?(p(n,")",e),n.afterIdent&&(n.ctx.argList=!0)):i=="["?p(n,"]",e):i=="block"?p(n,"block",e):i==n.ctx.type?b(n):n.ctx.type=="block"&&r!="comment"&&m(n,v),n.afterIdent=r=="variable"||r=="keyword",r},indent:function(e,n){if(e.tokenize!=s)return 0;var r=n&&n.charAt(0),t=e.ctx,u=r==t.type;return t.flags&v&&(t=t.prev),t.type=="block"?t.indent+(r=="{"?0:f.indentUnit):t.flags&h?t.column+(u?0:1):t.indent+(u?0:f.indentUnit)},lineComment:"#"}}),o.defineMIME("text/x-rsrc","r")})})();var _=O.exports;const j=S(_),$=z({__proto__:null,default:j},[_]);export{$ as r}; diff --git a/dist-ui/assets/rpm-zJSJM4fK.js b/dist-ui/assets/rpm-Df_s7vUo.js similarity index 97% rename from dist-ui/assets/rpm-zJSJM4fK.js rename to dist-ui/assets/rpm-Df_s7vUo.js index 23484aa4..aff272b8 100644 --- a/dist-ui/assets/rpm-zJSJM4fK.js +++ b/dist-ui/assets/rpm-Df_s7vUo.js @@ -1 +1 @@ -import{g as s,c as d}from"./index-CHg1vBCc.js";function g(a,f){for(var e=0;en[t]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var m={exports:{}};(function(a,f){(function(e){e(d)})(function(e){e.defineMode("rpm-changes",function(){var n=/^-+$/,t=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,c=/^[\w+.-]+@[\w.-]+/;return{token:function(i){return i.sol()&&(i.match(n)||i.match(t))?"tag":i.match(c)?"string":(i.next(),null)}}}),e.defineMIME("text/x-rpm-changes","rpm-changes"),e.defineMode("rpm-spec",function(){var n=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,t=/^[a-zA-Z0-9()]+:/,c=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,i=/^%(ifnarch|ifarch|if)/,l=/^%(else|endif)/,u=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;return{startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(r,o){var h=r.peek();if(h=="#")return r.skipToEnd(),"comment";if(r.sol()){if(r.match(t))return"header";if(r.match(c))return"atom"}if(r.match(/^\$\w+/)||r.match(/^\$\{\w+\}/))return"def";if(r.match(l))return"keyword";if(r.match(i))return o.controlFlow=!0,"keyword";if(o.controlFlow){if(r.match(u))return"operator";if(r.match(/^(\d+)/))return"number";r.eol()&&(o.controlFlow=!1)}if(r.match(n))return r.eol()&&(o.controlFlow=!1),"number";if(r.match(/^%[\w]+/))return r.match("(")&&(o.macroParameters=!0),"keyword";if(o.macroParameters){if(r.match(/^\d+/))return"number";if(r.match(")"))return o.macroParameters=!1,"keyword"}return r.match(/^%\{\??[\w \-\:\!]+\}/)?(r.eol()&&(o.controlFlow=!1),"def"):(r.next(),null)}}}),e.defineMIME("text/x-rpm-spec","rpm-spec")})})();var p=m.exports;const w=s(p),x=g({__proto__:null,default:w},[p]);export{x as r}; +import{g as s,c as d}from"./index-rXwcQ1j1.js";function g(a,f){for(var e=0;en[t]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var m={exports:{}};(function(a,f){(function(e){e(d)})(function(e){e.defineMode("rpm-changes",function(){var n=/^-+$/,t=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ?\d{1,2} \d{2}:\d{2}(:\d{2})? [A-Z]{3,4} \d{4} - /,c=/^[\w+.-]+@[\w.-]+/;return{token:function(i){return i.sol()&&(i.match(n)||i.match(t))?"tag":i.match(c)?"string":(i.next(),null)}}}),e.defineMIME("text/x-rpm-changes","rpm-changes"),e.defineMode("rpm-spec",function(){var n=/^(i386|i586|i686|x86_64|ppc64le|ppc64|ppc|ia64|s390x|s390|sparc64|sparcv9|sparc|noarch|alphaev6|alpha|hppa|mipsel)/,t=/^[a-zA-Z0-9()]+:/,c=/^%(debug_package|package|description|prep|build|install|files|clean|changelog|preinstall|preun|postinstall|postun|pretrans|posttrans|pre|post|triggerin|triggerun|verifyscript|check|triggerpostun|triggerprein|trigger)/,i=/^%(ifnarch|ifarch|if)/,l=/^%(else|endif)/,u=/^(\!|\?|\<\=|\<|\>\=|\>|\=\=|\&\&|\|\|)/;return{startState:function(){return{controlFlow:!1,macroParameters:!1,section:!1}},token:function(r,o){var h=r.peek();if(h=="#")return r.skipToEnd(),"comment";if(r.sol()){if(r.match(t))return"header";if(r.match(c))return"atom"}if(r.match(/^\$\w+/)||r.match(/^\$\{\w+\}/))return"def";if(r.match(l))return"keyword";if(r.match(i))return o.controlFlow=!0,"keyword";if(o.controlFlow){if(r.match(u))return"operator";if(r.match(/^(\d+)/))return"number";r.eol()&&(o.controlFlow=!1)}if(r.match(n))return r.eol()&&(o.controlFlow=!1),"number";if(r.match(/^%[\w]+/))return r.match("(")&&(o.macroParameters=!0),"keyword";if(o.macroParameters){if(r.match(/^\d+/))return"number";if(r.match(")"))return o.macroParameters=!1,"keyword"}return r.match(/^%\{\??[\w \-\:\!]+\}/)?(r.eol()&&(o.controlFlow=!1),"def"):(r.next(),null)}}}),e.defineMIME("text/x-rpm-spec","rpm-spec")})})();var p=m.exports;const w=s(p),x=g({__proto__:null,default:w},[p]);export{x as r}; diff --git a/dist-ui/assets/rst-CSASGjbh.js b/dist-ui/assets/rst-DackU_vK.js similarity index 97% rename from dist-ui/assets/rst-CSASGjbh.js rename to dist-ui/assets/rst-DackU_vK.js index 15a2afa3..575c3eb6 100644 --- a/dist-ui/assets/rst-CSASGjbh.js +++ b/dist-ui/assets/rst-DackU_vK.js @@ -1 +1 @@ -import{g as oe,c as ie}from"./index-CHg1vBCc.js";import{a as ae}from"./python-Cf2AlM8k.js";import{r as le}from"./stex-eoPO7x7j.js";import{r as fe}from"./overlay-dm0rKfhE.js";function ue(A,N){for(var f=0;fp[i]})}}}return Object.freeze(Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}))}var te={exports:{}};(function(A,N){(function(f){f(ie,ae,le(),fe())})(function(f){f.defineMode("rst",function(p,i){var x=/^\*\*[^\*\s](?:[^\*]*[^\*\s])?\*\*/,b=/^\*[^\*\s](?:[^\*]*[^\*\s])?\*/,w=/^``[^`\s](?:[^`]*[^`\s])``/,u=/^(?:[\d]+(?:[\.,]\d+)*)/,E=/^(?:\s\+[\d]+(?:[\.,]\d+)*)/,m=/^(?:\s\-[\d]+(?:[\.,]\d+)*)/,T="[Hh][Tt][Tt][Pp][Ss]?://",P="(?:[\\d\\w.-]+)\\.(?:\\w{2,6})",t="(?:/[\\d\\w\\#\\%\\&\\-\\.\\,\\/\\:\\=\\?\\~]+)*",y=new RegExp("^"+T+P+t),R={token:function(l){if(l.match(x)&&l.match(/\W+|$/,!1))return"strong";if(l.match(b)&&l.match(/\W+|$/,!1))return"em";if(l.match(w)&&l.match(/\W+|$/,!1))return"string-2";if(l.match(u))return"number";if(l.match(E))return"positive";if(l.match(m))return"negative";if(l.match(y))return"link";for(;l.next()!=null&&!(l.match(x,!1)||l.match(b,!1)||l.match(w,!1)||l.match(u,!1)||l.match(E,!1)||l.match(m,!1)||l.match(y,!1)););return null}},W=f.getMode(p,i.backdrop||"rst-base");return f.overlayMode(W,R,!0)},"python","stex"),f.defineMode("rst-base",function(p){function i(n){var e=Array.prototype.slice.call(arguments,1);return n.replace(/{(\d+)}/g,function(r,j){return typeof e[j]!="undefined"?e[j]:r})}var x=f.getMode(p,"python"),b=f.getMode(p,"stex"),w="\\s+",u="(?:\\s*|\\W|$)",E=new RegExp(i("^{0}",u)),m="(?:[^\\W\\d_](?:[\\w!\"#$%&'()\\*\\+,\\-\\./:;<=>\\?]*[^\\W_])?)",T=new RegExp(i("^{0}",m)),P="(?:[^\\W\\d_](?:[\\w\\s!\"#$%&'()\\*\\+,\\-\\./:;<=>\\?]*[^\\W_])?)",t=i("(?:{0}|`{1}`)",m,P),y="(?:[^\\s\\|](?:[^\\|]*[^\\s\\|])?)",R="(?:[^\\`]+)",W=new RegExp(i("^{0}",R)),l=new RegExp("^([!'#$%&\"()*+,-./:;<=>?@\\[\\\\\\]^_`{|}~])\\1{3,}\\s*$"),L=new RegExp(i("^\\.\\.{0}",w)),q=new RegExp(i("^_{0}:{1}|^__:{1}",t,u)),s=new RegExp(i("^{0}::{1}",t,u)),S=new RegExp(i("^\\|{0}\\|{1}{2}::{3}",y,w,t,u)),M=new RegExp(i("^\\[(?:\\d+|#{0}?|\\*)]{1}",t,u)),z=new RegExp(i("^\\[{0}\\]{1}",t,u)),O=new RegExp(i("^\\|{0}\\|",y)),H=new RegExp(i("^\\[(?:\\d+|#{0}?|\\*)]_",t)),B=new RegExp(i("^\\[{0}\\]_",t)),G=new RegExp(i("^{0}__?",t)),g=new RegExp(i("^`{0}`_",R)),_=new RegExp(i("^:{0}:`{1}`{2}",m,R,u)),k=new RegExp(i("^`{1}`:{0}:{2}",m,R,u)),$=new RegExp(i("^:{0}:{1}",m,u)),J=new RegExp(i("^{0}",t)),K=new RegExp(i("^::{0}",u)),X=new RegExp(i("^\\|{0}\\|",y)),Q=new RegExp(i("^{0}",w)),U=new RegExp(i("^{0}",t)),V=new RegExp(i("^::{0}",u)),Y=new RegExp("^_"),Z=new RegExp(i("^{0}|_",t)),C=new RegExp(i("^:{0}",u)),ee=new RegExp("^::\\s*$"),ne=new RegExp("^\\s+(?:>>>|In \\[\\d+\\]:)\\s");function o(n,e){var r=null;if(n.sol()&&n.match(ne,!1))c(e,I,{mode:x,local:f.startState(x)});else if(n.sol()&&n.match(L))c(e,h),r="meta";else if(n.sol()&&n.match(l))c(e,o),r="header";else if(v(e)==_||n.match(_,!1))switch(d(e)){case 0:c(e,o,a(_,1)),n.match(/^:/),r="meta";break;case 1:c(e,o,a(_,2)),n.match(T),r="keyword",n.current().match(/^(?:math|latex)/)&&(e.tmp_stex=!0);break;case 2:c(e,o,a(_,3)),n.match(/^:`/),r="meta";break;case 3:if(e.tmp_stex&&(e.tmp_stex=void 0,e.tmp={mode:b,local:f.startState(b)}),e.tmp){if(n.peek()=="`"){c(e,o,a(_,4)),e.tmp=void 0;break}r=e.tmp.mode.token(n,e.tmp.local);break}c(e,o,a(_,4)),n.match(W),r="string";break;case 4:c(e,o,a(_,5)),n.match(/^`/),r="meta";break;case 5:c(e,o,a(_,6)),n.match(E);break;default:c(e,o)}else if(v(e)==k||n.match(k,!1))switch(d(e)){case 0:c(e,o,a(k,1)),n.match(/^`/),r="meta";break;case 1:c(e,o,a(k,2)),n.match(W),r="string";break;case 2:c(e,o,a(k,3)),n.match(/^`:/),r="meta";break;case 3:c(e,o,a(k,4)),n.match(T),r="keyword";break;case 4:c(e,o,a(k,5)),n.match(/^:/),r="meta";break;case 5:c(e,o,a(k,6)),n.match(E);break;default:c(e,o)}else if(v(e)==$||n.match($,!1))switch(d(e)){case 0:c(e,o,a($,1)),n.match(/^:/),r="meta";break;case 1:c(e,o,a($,2)),n.match(T),r="keyword";break;case 2:c(e,o,a($,3)),n.match(/^:/),r="meta";break;case 3:c(e,o,a($,4)),n.match(E);break;default:c(e,o)}else if(v(e)==O||n.match(O,!1))switch(d(e)){case 0:c(e,o,a(O,1)),n.match(X),r="variable-2";break;case 1:c(e,o,a(O,2)),n.match(/^_?_?/)&&(r="link");break;default:c(e,o)}else if(n.match(H))c(e,o),r="quote";else if(n.match(B))c(e,o),r="quote";else if(n.match(G))c(e,o),(!n.peek()||n.peek().match(/^\W$/))&&(r="link");else if(v(e)==g||n.match(g,!1))switch(d(e)){case 0:!n.peek()||n.peek().match(/^\W$/)?c(e,o,a(g,1)):n.match(g);break;case 1:c(e,o,a(g,2)),n.match(/^`/),r="link";break;case 2:c(e,o,a(g,3)),n.match(W);break;case 3:c(e,o,a(g,4)),n.match(/^`_/),r="link";break;default:c(e,o)}else n.match(ee)?c(e,re):n.next()&&c(e,o);return r}function h(n,e){var r=null;if(v(e)==S||n.match(S,!1))switch(d(e)){case 0:c(e,h,a(S,1)),n.match(X),r="variable-2";break;case 1:c(e,h,a(S,2)),n.match(Q);break;case 2:c(e,h,a(S,3)),n.match(U),r="keyword";break;case 3:c(e,h,a(S,4)),n.match(V),r="meta";break;default:c(e,o)}else if(v(e)==s||n.match(s,!1))switch(d(e)){case 0:c(e,h,a(s,1)),n.match(J),r="keyword",n.current().match(/^(?:math|latex)/)?e.tmp_stex=!0:n.current().match(/^python/)&&(e.tmp_py=!0);break;case 1:c(e,h,a(s,2)),n.match(K),r="meta",(n.match(/^latex\s*$/)||e.tmp_stex)&&(e.tmp_stex=void 0,c(e,I,{mode:b,local:f.startState(b)}));break;case 2:c(e,h,a(s,3)),(n.match(/^python\s*$/)||e.tmp_py)&&(e.tmp_py=void 0,c(e,I,{mode:x,local:f.startState(x)}));break;default:c(e,o)}else if(v(e)==q||n.match(q,!1))switch(d(e)){case 0:c(e,h,a(q,1)),n.match(Y),n.match(Z),r="link";break;case 1:c(e,h,a(q,2)),n.match(C),r="meta";break;default:c(e,o)}else n.match(M)||n.match(z)?(c(e,o),r="quote"):(n.eatSpace(),n.eol()?c(e,o):(n.skipToEnd(),c(e,ce),r="comment"));return r}function ce(n,e){return D(n,e,"comment")}function re(n,e){return D(n,e,"meta")}function D(n,e,r){return n.eol()||n.eatSpace()?(n.skipToEnd(),r):(c(e,o),null)}function I(n,e){return e.ctx.mode&&e.ctx.local?n.sol()?(n.eatSpace()||c(e,o),null):e.ctx.mode.token(n,e.ctx.local):(c(e,o),null)}function a(n,e,r,j){return{phase:n,stage:e,mode:r,local:j}}function c(n,e,r){n.tok=e,n.ctx=r||{}}function d(n){return n.ctx.stage||0}function v(n){return n.ctx.phase}return{startState:function(){return{tok:o,ctx:a(void 0,0)}},copyState:function(n){var e=n.ctx,r=n.tmp;return e.local&&(e={mode:e.mode,local:f.copyState(e.mode,e.local)}),r&&(r={mode:r.mode,local:f.copyState(r.mode,r.local)}),{tok:n.tok,ctx:e,tmp:r}},innerMode:function(n){return n.tmp?{state:n.tmp.local,mode:n.tmp.mode}:n.ctx.mode?{state:n.ctx.local,mode:n.ctx.mode}:null},token:function(n,e){return e.tok(n,e)}}},"python","stex"),f.defineMIME("text/x-rst","rst")})})();var F=te.exports;const xe=oe(F),ke=ue({__proto__:null,default:xe},[F]);export{ke as r}; +import{g as oe,c as ie}from"./index-rXwcQ1j1.js";import{a as ae}from"./python-eCieQxL5.js";import{r as le}from"./stex-eJp58BRA.js";import{r as fe}from"./overlay-DtxTNIBP.js";function ue(A,N){for(var f=0;fp[i]})}}}return Object.freeze(Object.defineProperty(A,Symbol.toStringTag,{value:"Module"}))}var te={exports:{}};(function(A,N){(function(f){f(ie,ae,le(),fe())})(function(f){f.defineMode("rst",function(p,i){var x=/^\*\*[^\*\s](?:[^\*]*[^\*\s])?\*\*/,b=/^\*[^\*\s](?:[^\*]*[^\*\s])?\*/,w=/^``[^`\s](?:[^`]*[^`\s])``/,u=/^(?:[\d]+(?:[\.,]\d+)*)/,E=/^(?:\s\+[\d]+(?:[\.,]\d+)*)/,m=/^(?:\s\-[\d]+(?:[\.,]\d+)*)/,T="[Hh][Tt][Tt][Pp][Ss]?://",P="(?:[\\d\\w.-]+)\\.(?:\\w{2,6})",t="(?:/[\\d\\w\\#\\%\\&\\-\\.\\,\\/\\:\\=\\?\\~]+)*",y=new RegExp("^"+T+P+t),R={token:function(l){if(l.match(x)&&l.match(/\W+|$/,!1))return"strong";if(l.match(b)&&l.match(/\W+|$/,!1))return"em";if(l.match(w)&&l.match(/\W+|$/,!1))return"string-2";if(l.match(u))return"number";if(l.match(E))return"positive";if(l.match(m))return"negative";if(l.match(y))return"link";for(;l.next()!=null&&!(l.match(x,!1)||l.match(b,!1)||l.match(w,!1)||l.match(u,!1)||l.match(E,!1)||l.match(m,!1)||l.match(y,!1)););return null}},W=f.getMode(p,i.backdrop||"rst-base");return f.overlayMode(W,R,!0)},"python","stex"),f.defineMode("rst-base",function(p){function i(n){var e=Array.prototype.slice.call(arguments,1);return n.replace(/{(\d+)}/g,function(r,j){return typeof e[j]!="undefined"?e[j]:r})}var x=f.getMode(p,"python"),b=f.getMode(p,"stex"),w="\\s+",u="(?:\\s*|\\W|$)",E=new RegExp(i("^{0}",u)),m="(?:[^\\W\\d_](?:[\\w!\"#$%&'()\\*\\+,\\-\\./:;<=>\\?]*[^\\W_])?)",T=new RegExp(i("^{0}",m)),P="(?:[^\\W\\d_](?:[\\w\\s!\"#$%&'()\\*\\+,\\-\\./:;<=>\\?]*[^\\W_])?)",t=i("(?:{0}|`{1}`)",m,P),y="(?:[^\\s\\|](?:[^\\|]*[^\\s\\|])?)",R="(?:[^\\`]+)",W=new RegExp(i("^{0}",R)),l=new RegExp("^([!'#$%&\"()*+,-./:;<=>?@\\[\\\\\\]^_`{|}~])\\1{3,}\\s*$"),L=new RegExp(i("^\\.\\.{0}",w)),q=new RegExp(i("^_{0}:{1}|^__:{1}",t,u)),s=new RegExp(i("^{0}::{1}",t,u)),S=new RegExp(i("^\\|{0}\\|{1}{2}::{3}",y,w,t,u)),M=new RegExp(i("^\\[(?:\\d+|#{0}?|\\*)]{1}",t,u)),z=new RegExp(i("^\\[{0}\\]{1}",t,u)),O=new RegExp(i("^\\|{0}\\|",y)),H=new RegExp(i("^\\[(?:\\d+|#{0}?|\\*)]_",t)),B=new RegExp(i("^\\[{0}\\]_",t)),G=new RegExp(i("^{0}__?",t)),g=new RegExp(i("^`{0}`_",R)),_=new RegExp(i("^:{0}:`{1}`{2}",m,R,u)),k=new RegExp(i("^`{1}`:{0}:{2}",m,R,u)),$=new RegExp(i("^:{0}:{1}",m,u)),J=new RegExp(i("^{0}",t)),K=new RegExp(i("^::{0}",u)),X=new RegExp(i("^\\|{0}\\|",y)),Q=new RegExp(i("^{0}",w)),U=new RegExp(i("^{0}",t)),V=new RegExp(i("^::{0}",u)),Y=new RegExp("^_"),Z=new RegExp(i("^{0}|_",t)),C=new RegExp(i("^:{0}",u)),ee=new RegExp("^::\\s*$"),ne=new RegExp("^\\s+(?:>>>|In \\[\\d+\\]:)\\s");function o(n,e){var r=null;if(n.sol()&&n.match(ne,!1))c(e,I,{mode:x,local:f.startState(x)});else if(n.sol()&&n.match(L))c(e,h),r="meta";else if(n.sol()&&n.match(l))c(e,o),r="header";else if(v(e)==_||n.match(_,!1))switch(d(e)){case 0:c(e,o,a(_,1)),n.match(/^:/),r="meta";break;case 1:c(e,o,a(_,2)),n.match(T),r="keyword",n.current().match(/^(?:math|latex)/)&&(e.tmp_stex=!0);break;case 2:c(e,o,a(_,3)),n.match(/^:`/),r="meta";break;case 3:if(e.tmp_stex&&(e.tmp_stex=void 0,e.tmp={mode:b,local:f.startState(b)}),e.tmp){if(n.peek()=="`"){c(e,o,a(_,4)),e.tmp=void 0;break}r=e.tmp.mode.token(n,e.tmp.local);break}c(e,o,a(_,4)),n.match(W),r="string";break;case 4:c(e,o,a(_,5)),n.match(/^`/),r="meta";break;case 5:c(e,o,a(_,6)),n.match(E);break;default:c(e,o)}else if(v(e)==k||n.match(k,!1))switch(d(e)){case 0:c(e,o,a(k,1)),n.match(/^`/),r="meta";break;case 1:c(e,o,a(k,2)),n.match(W),r="string";break;case 2:c(e,o,a(k,3)),n.match(/^`:/),r="meta";break;case 3:c(e,o,a(k,4)),n.match(T),r="keyword";break;case 4:c(e,o,a(k,5)),n.match(/^:/),r="meta";break;case 5:c(e,o,a(k,6)),n.match(E);break;default:c(e,o)}else if(v(e)==$||n.match($,!1))switch(d(e)){case 0:c(e,o,a($,1)),n.match(/^:/),r="meta";break;case 1:c(e,o,a($,2)),n.match(T),r="keyword";break;case 2:c(e,o,a($,3)),n.match(/^:/),r="meta";break;case 3:c(e,o,a($,4)),n.match(E);break;default:c(e,o)}else if(v(e)==O||n.match(O,!1))switch(d(e)){case 0:c(e,o,a(O,1)),n.match(X),r="variable-2";break;case 1:c(e,o,a(O,2)),n.match(/^_?_?/)&&(r="link");break;default:c(e,o)}else if(n.match(H))c(e,o),r="quote";else if(n.match(B))c(e,o),r="quote";else if(n.match(G))c(e,o),(!n.peek()||n.peek().match(/^\W$/))&&(r="link");else if(v(e)==g||n.match(g,!1))switch(d(e)){case 0:!n.peek()||n.peek().match(/^\W$/)?c(e,o,a(g,1)):n.match(g);break;case 1:c(e,o,a(g,2)),n.match(/^`/),r="link";break;case 2:c(e,o,a(g,3)),n.match(W);break;case 3:c(e,o,a(g,4)),n.match(/^`_/),r="link";break;default:c(e,o)}else n.match(ee)?c(e,re):n.next()&&c(e,o);return r}function h(n,e){var r=null;if(v(e)==S||n.match(S,!1))switch(d(e)){case 0:c(e,h,a(S,1)),n.match(X),r="variable-2";break;case 1:c(e,h,a(S,2)),n.match(Q);break;case 2:c(e,h,a(S,3)),n.match(U),r="keyword";break;case 3:c(e,h,a(S,4)),n.match(V),r="meta";break;default:c(e,o)}else if(v(e)==s||n.match(s,!1))switch(d(e)){case 0:c(e,h,a(s,1)),n.match(J),r="keyword",n.current().match(/^(?:math|latex)/)?e.tmp_stex=!0:n.current().match(/^python/)&&(e.tmp_py=!0);break;case 1:c(e,h,a(s,2)),n.match(K),r="meta",(n.match(/^latex\s*$/)||e.tmp_stex)&&(e.tmp_stex=void 0,c(e,I,{mode:b,local:f.startState(b)}));break;case 2:c(e,h,a(s,3)),(n.match(/^python\s*$/)||e.tmp_py)&&(e.tmp_py=void 0,c(e,I,{mode:x,local:f.startState(x)}));break;default:c(e,o)}else if(v(e)==q||n.match(q,!1))switch(d(e)){case 0:c(e,h,a(q,1)),n.match(Y),n.match(Z),r="link";break;case 1:c(e,h,a(q,2)),n.match(C),r="meta";break;default:c(e,o)}else n.match(M)||n.match(z)?(c(e,o),r="quote"):(n.eatSpace(),n.eol()?c(e,o):(n.skipToEnd(),c(e,ce),r="comment"));return r}function ce(n,e){return D(n,e,"comment")}function re(n,e){return D(n,e,"meta")}function D(n,e,r){return n.eol()||n.eatSpace()?(n.skipToEnd(),r):(c(e,o),null)}function I(n,e){return e.ctx.mode&&e.ctx.local?n.sol()?(n.eatSpace()||c(e,o),null):e.ctx.mode.token(n,e.ctx.local):(c(e,o),null)}function a(n,e,r,j){return{phase:n,stage:e,mode:r,local:j}}function c(n,e,r){n.tok=e,n.ctx=r||{}}function d(n){return n.ctx.stage||0}function v(n){return n.ctx.phase}return{startState:function(){return{tok:o,ctx:a(void 0,0)}},copyState:function(n){var e=n.ctx,r=n.tmp;return e.local&&(e={mode:e.mode,local:f.copyState(e.mode,e.local)}),r&&(r={mode:r.mode,local:f.copyState(r.mode,r.local)}),{tok:n.tok,ctx:e,tmp:r}},innerMode:function(n){return n.tmp?{state:n.tmp.local,mode:n.tmp.mode}:n.ctx.mode?{state:n.ctx.local,mode:n.ctx.mode}:null},token:function(n,e){return e.tok(n,e)}}},"python","stex"),f.defineMIME("text/x-rst","rst")})})();var F=te.exports;const xe=oe(F),ke=ue({__proto__:null,default:xe},[F]);export{ke as r}; diff --git a/dist-ui/assets/ruby-DOADIAjO.js b/dist-ui/assets/ruby-BbI51U8K.js similarity index 74% rename from dist-ui/assets/ruby-DOADIAjO.js rename to dist-ui/assets/ruby-BbI51U8K.js index 022312df..4b22e15e 100644 --- a/dist-ui/assets/ruby-DOADIAjO.js +++ b/dist-ui/assets/ruby-BbI51U8K.js @@ -1 +1 @@ -import{g as s}from"./index-CHg1vBCc.js";import{r as u}from"./ruby-D0Mw3ILv.js";function i(t,a){for(var o=0;or[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=u();const c=s(f),b=i({__proto__:null,default:c},[f]);export{b as r}; +import{g as s}from"./index-rXwcQ1j1.js";import{r as u}from"./ruby-hRRXQ7Ll.js";function i(t,a){for(var o=0;or[e]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}var f=u();const c=s(f),b=i({__proto__:null,default:c},[f]);export{b as r}; diff --git a/dist-ui/assets/ruby-D0Mw3ILv.js b/dist-ui/assets/ruby-hRRXQ7Ll.js similarity index 98% rename from dist-ui/assets/ruby-D0Mw3ILv.js rename to dist-ui/assets/ruby-hRRXQ7Ll.js index e577d20f..13d2f5c3 100644 --- a/dist-ui/assets/ruby-D0Mw3ILv.js +++ b/dist-ui/assets/ruby-hRRXQ7Ll.js @@ -1 +1 @@ -import{c as I}from"./index-CHg1vBCc.js";var z={exports:{}},_;function Z(){return _||(_=1,function(A,q){(function(d){d(I)})(function(d){function h(c){for(var f={},u=0,p=c.length;u]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if(n=="@"&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if(n=="$")return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(n))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if(n=="|"&&(i.varList||i.lastTok=="{"||i.lastTok=="do"))return f="|",null;if(/[\(\)\[\]{}\\;]/.test(n))return f=n,null;if(n=="-"&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(n)){var a=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return n=="."&&!a&&(f="."),"operator"}else return null}}}function E(e){for(var i=e.pos,n=0,r,t=!1,o=!1;(r=e.next())!=null;)if(o)o=!1;else{if("[{(".indexOf(r)>-1)n++;else if("]})".indexOf(r)>-1){if(n--,n<0)break}else if(r=="/"&&n==0){t=!0;break}o=r=="\\"}return e.backUp(e.pos-i),t}function v(e){return e||(e=1),function(i,n){if(i.peek()=="}"){if(e==1)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](i,n);n.tokenize[n.tokenize.length-1]=v(e-1)}else i.peek()=="{"&&(n.tokenize[n.tokenize.length-1]=v(e+1));return p(i,n)}}function W(){var e=!1;return function(i,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](i,n)):(e=!0,p(i,n))}}function k(e,i,n,r){return function(t,o){var l=!1,a;for(o.context.type==="read-quoted-paused"&&(o.context=o.context.prev,t.eat("}"));(a=t.next())!=null;){if(a==e&&(r||!l)){o.tokenize.pop();break}if(n&&a=="#"&&!l){if(t.eat("{")){e=="}"&&(o.context={prev:o.context,type:"read-quoted-paused"}),o.tokenize.push(v());break}else if(/[@\$]/.test(t.peek())){o.tokenize.push(W());break}}l=!l&&a=="\\"}return i}}function L(e,i){return function(n,r){return i&&n.eatSpace(),n.match(e)?r.tokenize.pop():n.skipToEnd(),"string"}}function T(e,i){return e.sol()&&e.match("=end")&&e.eol()&&i.tokenize.pop(),e.skipToEnd(),"comment"}return{startState:function(){return{tokenize:[p],indented:0,context:{type:"top",indented:-c.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,i){f=null,e.sol()&&(i.indented=e.indentation());var n=i.tokenize[i.tokenize.length-1](e,i),r,t=f;if(n=="ident"){var o=e.current();n=i.lastTok=="."?"property":y.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(o)?"tag":i.lastTok=="def"||i.lastTok=="class"||i.varList?"def":"variable",n=="keyword"&&(t=o,s.propertyIsEnumerable(o)?r="indent":g.propertyIsEnumerable(o)?r="dedent":((o=="if"||o=="unless")&&e.column()==e.indentation()||o=="do"&&i.context.indented]/)?(e.eat(/[\<\>]/),"atom"):e.eat(/[\+\-\*\/\&\|\:\!]/)?"atom":e.eat(/[a-zA-Z$@_\xa1-\uffff]/)?(e.eatWhile(/[\w$\xa1-\uffff]/),e.eat(/[\?\!\=]/),"atom"):"operator";if(n=="@"&&e.match(/^@?[a-zA-Z_\xa1-\uffff]/))return e.eat("@"),e.eatWhile(/[\w\xa1-\uffff]/),"variable-2";if(n=="$")return e.eat(/[a-zA-Z_]/)?e.eatWhile(/[\w]/):e.eat(/\d/)?e.eat(/\d/):e.next(),"variable-3";if(/[a-zA-Z_\xa1-\uffff]/.test(n))return e.eatWhile(/[\w\xa1-\uffff]/),e.eat(/[\?\!]/),e.eat(":")?"atom":"ident";if(n=="|"&&(i.varList||i.lastTok=="{"||i.lastTok=="do"))return f="|",null;if(/[\(\)\[\]{}\\;]/.test(n))return f=n,null;if(n=="-"&&e.eat(">"))return"arrow";if(/[=+\-\/*:\.^%<>~|]/.test(n)){var a=e.eatWhile(/[=+\-\/*:\.^%<>~|]/);return n=="."&&!a&&(f="."),"operator"}else return null}}}function E(e){for(var i=e.pos,n=0,r,t=!1,o=!1;(r=e.next())!=null;)if(o)o=!1;else{if("[{(".indexOf(r)>-1)n++;else if("]})".indexOf(r)>-1){if(n--,n<0)break}else if(r=="/"&&n==0){t=!0;break}o=r=="\\"}return e.backUp(e.pos-i),t}function v(e){return e||(e=1),function(i,n){if(i.peek()=="}"){if(e==1)return n.tokenize.pop(),n.tokenize[n.tokenize.length-1](i,n);n.tokenize[n.tokenize.length-1]=v(e-1)}else i.peek()=="{"&&(n.tokenize[n.tokenize.length-1]=v(e+1));return p(i,n)}}function W(){var e=!1;return function(i,n){return e?(n.tokenize.pop(),n.tokenize[n.tokenize.length-1](i,n)):(e=!0,p(i,n))}}function k(e,i,n,r){return function(t,o){var l=!1,a;for(o.context.type==="read-quoted-paused"&&(o.context=o.context.prev,t.eat("}"));(a=t.next())!=null;){if(a==e&&(r||!l)){o.tokenize.pop();break}if(n&&a=="#"&&!l){if(t.eat("{")){e=="}"&&(o.context={prev:o.context,type:"read-quoted-paused"}),o.tokenize.push(v());break}else if(/[@\$]/.test(t.peek())){o.tokenize.push(W());break}}l=!l&&a=="\\"}return i}}function L(e,i){return function(n,r){return i&&n.eatSpace(),n.match(e)?r.tokenize.pop():n.skipToEnd(),"string"}}function T(e,i){return e.sol()&&e.match("=end")&&e.eol()&&i.tokenize.pop(),e.skipToEnd(),"comment"}return{startState:function(){return{tokenize:[p],indented:0,context:{type:"top",indented:-c.indentUnit},continuedLine:!1,lastTok:null,varList:!1}},token:function(e,i){f=null,e.sol()&&(i.indented=e.indentation());var n=i.tokenize[i.tokenize.length-1](e,i),r,t=f;if(n=="ident"){var o=e.current();n=i.lastTok=="."?"property":y.propertyIsEnumerable(e.current())?"keyword":/^[A-Z]/.test(o)?"tag":i.lastTok=="def"||i.lastTok=="class"||i.varList?"def":"variable",n=="keyword"&&(t=o,s.propertyIsEnumerable(o)?r="indent":g.propertyIsEnumerable(o)?r="dedent":((o=="if"||o=="unless")&&e.column()==e.indentation()||o=="do"&&i.context.indentedt[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var f={exports:{}};(function(n,o){(function(e){e(u,g())})(function(e){e.defineSimpleMode("rust",{start:[{regex:/b?"/,token:"string",next:"string"},{regex:/b?r"/,token:"string",next:"string_raw"},{regex:/b?r#+"/,token:"string",next:"string_raw_hash"},{regex:/'(?:[^'\\]|\\(?:[nrt0'"]|x[\da-fA-F]{2}|u\{[\da-fA-F]{6}\}))'/,token:"string-2"},{regex:/b'(?:[^']|\\(?:['\\nrt0]|x[\da-fA-F]{2}))'/,token:"string-2"},{regex:/(?:(?:[0-9][0-9_]*)(?:(?:[Ee][+-]?[0-9_]+)|\.[0-9_]+(?:[Ee][+-]?[0-9_]+)?)(?:f32|f64)?)|(?:0(?:b[01_]+|(?:o[0-7_]+)|(?:x[0-9a-fA-F_]+))|(?:[0-9][0-9_]*))(?:u8|u16|u32|u64|i8|i16|i32|i64|isize|usize)?/,token:"number"},{regex:/(let(?:\s+mut)?|fn|enum|mod|struct|type|union)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/(?:abstract|alignof|as|async|await|box|break|continue|const|crate|do|dyn|else|enum|extern|fn|for|final|if|impl|in|loop|macro|match|mod|move|offsetof|override|priv|proc|pub|pure|ref|return|self|sizeof|static|struct|super|trait|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,token:"keyword"},{regex:/\b(?:Self|isize|usize|char|bool|u8|u16|u32|u64|f16|f32|f64|i8|i16|i32|i64|str|Option)\b/,token:"atom"},{regex:/\b(?:true|false|Some|None|Ok|Err)\b/,token:"builtin"},{regex:/\b(fn)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/#!?\[.*\]/,token:"meta"},{regex:/\/\/.*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/[a-zA-Z_]\w*!/,token:"variable-3"},{regex:/[a-zA-Z_]\w*/,token:"variable"},{regex:/[\{\[\(]/,indent:!0},{regex:/[\}\]\)]/,dedent:!0}],string:[{regex:/"/,token:"string",next:"start"},{regex:/(?:[^\\"]|\\(?:.|$))*/,token:"string"}],string_raw:[{regex:/"/,token:"string",next:"start"},{regex:/[^"]*/,token:"string"}],string_raw_hash:[{regex:/"#+/,token:"string",next:"start"},{regex:/(?:[^"]|"(?!#))*/,token:"string"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{dontIndentStates:["comment"],electricInput:/^\s*\}$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}}),e.defineMIME("text/x-rustsrc","rust"),e.defineMIME("text/rust","rust")})})();var i=f.exports;const m=a(i),l=x({__proto__:null,default:m},[i]);export{l as r}; +import{g as a,c as u,b as g}from"./index-rXwcQ1j1.js";function x(n,o){for(var e=0;et[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var f={exports:{}};(function(n,o){(function(e){e(u,g())})(function(e){e.defineSimpleMode("rust",{start:[{regex:/b?"/,token:"string",next:"string"},{regex:/b?r"/,token:"string",next:"string_raw"},{regex:/b?r#+"/,token:"string",next:"string_raw_hash"},{regex:/'(?:[^'\\]|\\(?:[nrt0'"]|x[\da-fA-F]{2}|u\{[\da-fA-F]{6}\}))'/,token:"string-2"},{regex:/b'(?:[^']|\\(?:['\\nrt0]|x[\da-fA-F]{2}))'/,token:"string-2"},{regex:/(?:(?:[0-9][0-9_]*)(?:(?:[Ee][+-]?[0-9_]+)|\.[0-9_]+(?:[Ee][+-]?[0-9_]+)?)(?:f32|f64)?)|(?:0(?:b[01_]+|(?:o[0-7_]+)|(?:x[0-9a-fA-F_]+))|(?:[0-9][0-9_]*))(?:u8|u16|u32|u64|i8|i16|i32|i64|isize|usize)?/,token:"number"},{regex:/(let(?:\s+mut)?|fn|enum|mod|struct|type|union)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/(?:abstract|alignof|as|async|await|box|break|continue|const|crate|do|dyn|else|enum|extern|fn|for|final|if|impl|in|loop|macro|match|mod|move|offsetof|override|priv|proc|pub|pure|ref|return|self|sizeof|static|struct|super|trait|type|typeof|union|unsafe|unsized|use|virtual|where|while|yield)\b/,token:"keyword"},{regex:/\b(?:Self|isize|usize|char|bool|u8|u16|u32|u64|f16|f32|f64|i8|i16|i32|i64|str|Option)\b/,token:"atom"},{regex:/\b(?:true|false|Some|None|Ok|Err)\b/,token:"builtin"},{regex:/\b(fn)(\s+)([a-zA-Z_][a-zA-Z0-9_]*)/,token:["keyword",null,"def"]},{regex:/#!?\[.*\]/,token:"meta"},{regex:/\/\/.*/,token:"comment"},{regex:/\/\*/,token:"comment",next:"comment"},{regex:/[-+\/*=<>!]+/,token:"operator"},{regex:/[a-zA-Z_]\w*!/,token:"variable-3"},{regex:/[a-zA-Z_]\w*/,token:"variable"},{regex:/[\{\[\(]/,indent:!0},{regex:/[\}\]\)]/,dedent:!0}],string:[{regex:/"/,token:"string",next:"start"},{regex:/(?:[^\\"]|\\(?:.|$))*/,token:"string"}],string_raw:[{regex:/"/,token:"string",next:"start"},{regex:/[^"]*/,token:"string"}],string_raw_hash:[{regex:/"#+/,token:"string",next:"start"},{regex:/(?:[^"]|"(?!#))*/,token:"string"}],comment:[{regex:/.*?\*\//,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{dontIndentStates:["comment"],electricInput:/^\s*\}$/,blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}}),e.defineMIME("text/x-rustsrc","rust"),e.defineMIME("text/rust","rust")})})();var i=f.exports;const m=a(i),l=x({__proto__:null,default:m},[i]);export{l as r}; diff --git a/dist-ui/assets/sas-BLggbYP3.js b/dist-ui/assets/sas-B5qtBBwg.js similarity index 99% rename from dist-ui/assets/sas-BLggbYP3.js rename to dist-ui/assets/sas-B5qtBBwg.js index 42dbafca..caecc004 100644 --- a/dist-ui/assets/sas-BLggbYP3.js +++ b/dist-ui/assets/sas-B5qtBBwg.js @@ -1 +1 @@ -import{g as b,c as g}from"./index-CHg1vBCc.js";function v(p,d){for(var i=0;ir[a]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var h={exports:{}};(function(p,d){(function(i){i(g)})(function(i){i.defineMode("sas",function(){var r={},a={eq:"operator",lt:"operator",le:"operator",gt:"operator",ge:"operator",in:"operator",ne:"operator",or:"operator"},l=/(<=|>=|!=|<>)/,m=/[=\(:\),{}.*<>+\-\/^\[\]]/;function o(e,t,s){if(s)for(var c=t.split(" "),n=0;nr[a]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var h={exports:{}};(function(p,d){(function(i){i(g)})(function(i){i.defineMode("sas",function(){var r={},a={eq:"operator",lt:"operator",le:"operator",gt:"operator",ge:"operator",in:"operator",ne:"operator",or:"operator"},l=/(<=|>=|!=|<>)/,m=/[=\(:\),{}.*<>+\-\/^\[\]]/;function o(e,t,s){if(s)for(var c=t.split(" "),n=0;nc[i]})}}}return Object.freeze(Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}))}var F={exports:{}};(function(w,a){(function(u){u($,M)})(function(u){u.defineMode("sass",function(c){var i=u.mimeModes["text/css"],d=i.propertyKeywords||{},O=i.colorKeywords||{},T=i.valueKeywords||{},j=i.fontProperties||{};function A(r){return new RegExp("^"+r.join("|"))}var K=["true","false","null","auto"],s=new RegExp("^"+K.join("|")),L=["\\(","\\)","=",">","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"],z=A(L),R=/^::?[a-zA-Z_][\w\-]*/,t;function f(r){return!r.peek()||r.match(/\s+$/,!1)}function b(r,n){var e=r.peek();return e===")"?(r.next(),n.tokenizer=p,"operator"):e==="("?(r.next(),r.eatSpace(),"operator"):e==="'"||e==='"'?(n.tokenizer=g(r.next()),"string"):(n.tokenizer=g(")",!1),"string")}function H(r,n){return function(e,o){return e.sol()&&e.indentation()<=r?(o.tokenizer=p,p(e,o)):(n&&e.skipTo("*/")?(e.next(),e.next(),o.tokenizer=p):e.skipToEnd(),"comment")}}function g(r,n){n==null&&(n=!0);function e(o,k){var h=o.next(),x=o.peek(),v=o.string.charAt(o.pos-2),y=h!=="\\"&&x===r||h===r&&v!=="\\";return y?(h!==r&&n&&o.next(),f(o)&&(k.cursorHalf=0),k.tokenizer=p,"string"):h==="#"&&x==="{"?(k.tokenizer=P(e),o.next(),"operator"):"string"}return e}function P(r){return function(n,e){return n.peek()==="}"?(n.next(),e.tokenizer=r,"operator"):p(n,e)}}function l(r){if(r.indentCount==0){r.indentCount++;var n=r.scopes[0].offset,e=n+c.indentUnit;r.scopes.unshift({offset:e})}}function C(r){r.scopes.length!=1&&r.scopes.shift()}function p(r,n){var e=r.peek();if(r.match("/*"))return n.tokenizer=H(r.indentation(),!0),n.tokenizer(r,n);if(r.match("//"))return n.tokenizer=H(r.indentation(),!1),n.tokenizer(r,n);if(r.match("#{"))return n.tokenizer=P(p),"operator";if(e==='"'||e==="'")return r.next(),n.tokenizer=g(e),"string";if(n.cursorHalf){if(e==="#"&&(r.next(),r.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/))||r.match(/^-?[0-9\.]+/))return f(r)&&(n.cursorHalf=0),"number";if(r.match(/^(px|em|in)\b/))return f(r)&&(n.cursorHalf=0),"unit";if(r.match(s))return f(r)&&(n.cursorHalf=0),"keyword";if(r.match(/^url/)&&r.peek()==="(")return n.tokenizer=b,f(r)&&(n.cursorHalf=0),"atom";if(e==="$")return r.next(),r.eatWhile(/[\w-]/),f(r)&&(n.cursorHalf=0),"variable-2";if(e==="!")return r.next(),n.cursorHalf=0,r.match(/^[\w]+/)?"keyword":"operator";if(r.match(z))return f(r)&&(n.cursorHalf=0),"operator";if(r.eatWhile(/[\w-]/))return f(r)&&(n.cursorHalf=0),t=r.current().toLowerCase(),T.hasOwnProperty(t)?"atom":O.hasOwnProperty(t)?"keyword":d.hasOwnProperty(t)?(n.prevProp=r.current().toLowerCase(),"property"):"tag";if(f(r))return n.cursorHalf=0,null}else{if(e==="-"&&r.match(/^-\w+-/))return"meta";if(e==="."){if(r.next(),r.match(/^[\w-]+/))return l(n),"qualifier";if(r.peek()==="#")return l(n),"tag"}if(e==="#"){if(r.next(),r.match(/^[\w-]+/))return l(n),"builtin";if(r.peek()==="#")return l(n),"tag"}if(e==="$")return r.next(),r.eatWhile(/[\w-]/),"variable-2";if(r.match(/^-?[0-9\.]+/))return"number";if(r.match(/^(px|em|in)\b/))return"unit";if(r.match(s))return"keyword";if(r.match(/^url/)&&r.peek()==="(")return n.tokenizer=b,"atom";if(e==="="&&r.match(/^=[\w-]+/))return l(n),"meta";if(e==="+"&&r.match(/^\+[\w-]+/))return"variable-3";if(e==="@"&&r.match("@extend")&&(r.match(/\s*[\w]/)||C(n)),r.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return l(n),"def";if(e==="@")return r.next(),r.eatWhile(/[\w-]/),"def";if(r.eatWhile(/[\w-]/))if(r.match(/ *: *[\w-\+\$#!\("']/,!1)){t=r.current().toLowerCase();var o=n.prevProp+"-"+t;return d.hasOwnProperty(o)?"property":d.hasOwnProperty(t)?(n.prevProp=t,"property"):j.hasOwnProperty(t)?"property":"tag"}else return r.match(/ *:/,!1)?(l(n),n.cursorHalf=1,n.prevProp=r.current().toLowerCase(),"property"):(r.match(/ *,/,!1)||l(n),"tag");if(e===":")return r.match(R)?"variable-3":(r.next(),n.cursorHalf=1,"operator")}return r.match(z)?"operator":(r.next(),null)}function S(r,n){r.sol()&&(n.indentCount=0);var e=n.tokenizer(r,n),o=r.current();if((o==="@return"||o==="}")&&C(n),e!==null){for(var k=r.pos-o.length,h=k+c.indentUnit*n.indentCount,x=[],v=0;vc[i]})}}}return Object.freeze(Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}))}var F={exports:{}};(function(w,a){(function(u){u($,M)})(function(u){u.defineMode("sass",function(c){var i=u.mimeModes["text/css"],d=i.propertyKeywords||{},O=i.colorKeywords||{},T=i.valueKeywords||{},j=i.fontProperties||{};function A(r){return new RegExp("^"+r.join("|"))}var K=["true","false","null","auto"],s=new RegExp("^"+K.join("|")),L=["\\(","\\)","=",">","<","==",">=","<=","\\+","-","\\!=","/","\\*","%","and","or","not",";","\\{","\\}",":"],z=A(L),R=/^::?[a-zA-Z_][\w\-]*/,t;function f(r){return!r.peek()||r.match(/\s+$/,!1)}function b(r,n){var e=r.peek();return e===")"?(r.next(),n.tokenizer=p,"operator"):e==="("?(r.next(),r.eatSpace(),"operator"):e==="'"||e==='"'?(n.tokenizer=g(r.next()),"string"):(n.tokenizer=g(")",!1),"string")}function H(r,n){return function(e,o){return e.sol()&&e.indentation()<=r?(o.tokenizer=p,p(e,o)):(n&&e.skipTo("*/")?(e.next(),e.next(),o.tokenizer=p):e.skipToEnd(),"comment")}}function g(r,n){n==null&&(n=!0);function e(o,k){var h=o.next(),x=o.peek(),v=o.string.charAt(o.pos-2),y=h!=="\\"&&x===r||h===r&&v!=="\\";return y?(h!==r&&n&&o.next(),f(o)&&(k.cursorHalf=0),k.tokenizer=p,"string"):h==="#"&&x==="{"?(k.tokenizer=P(e),o.next(),"operator"):"string"}return e}function P(r){return function(n,e){return n.peek()==="}"?(n.next(),e.tokenizer=r,"operator"):p(n,e)}}function l(r){if(r.indentCount==0){r.indentCount++;var n=r.scopes[0].offset,e=n+c.indentUnit;r.scopes.unshift({offset:e})}}function C(r){r.scopes.length!=1&&r.scopes.shift()}function p(r,n){var e=r.peek();if(r.match("/*"))return n.tokenizer=H(r.indentation(),!0),n.tokenizer(r,n);if(r.match("//"))return n.tokenizer=H(r.indentation(),!1),n.tokenizer(r,n);if(r.match("#{"))return n.tokenizer=P(p),"operator";if(e==='"'||e==="'")return r.next(),n.tokenizer=g(e),"string";if(n.cursorHalf){if(e==="#"&&(r.next(),r.match(/[0-9a-fA-F]{6}|[0-9a-fA-F]{3}/))||r.match(/^-?[0-9\.]+/))return f(r)&&(n.cursorHalf=0),"number";if(r.match(/^(px|em|in)\b/))return f(r)&&(n.cursorHalf=0),"unit";if(r.match(s))return f(r)&&(n.cursorHalf=0),"keyword";if(r.match(/^url/)&&r.peek()==="(")return n.tokenizer=b,f(r)&&(n.cursorHalf=0),"atom";if(e==="$")return r.next(),r.eatWhile(/[\w-]/),f(r)&&(n.cursorHalf=0),"variable-2";if(e==="!")return r.next(),n.cursorHalf=0,r.match(/^[\w]+/)?"keyword":"operator";if(r.match(z))return f(r)&&(n.cursorHalf=0),"operator";if(r.eatWhile(/[\w-]/))return f(r)&&(n.cursorHalf=0),t=r.current().toLowerCase(),T.hasOwnProperty(t)?"atom":O.hasOwnProperty(t)?"keyword":d.hasOwnProperty(t)?(n.prevProp=r.current().toLowerCase(),"property"):"tag";if(f(r))return n.cursorHalf=0,null}else{if(e==="-"&&r.match(/^-\w+-/))return"meta";if(e==="."){if(r.next(),r.match(/^[\w-]+/))return l(n),"qualifier";if(r.peek()==="#")return l(n),"tag"}if(e==="#"){if(r.next(),r.match(/^[\w-]+/))return l(n),"builtin";if(r.peek()==="#")return l(n),"tag"}if(e==="$")return r.next(),r.eatWhile(/[\w-]/),"variable-2";if(r.match(/^-?[0-9\.]+/))return"number";if(r.match(/^(px|em|in)\b/))return"unit";if(r.match(s))return"keyword";if(r.match(/^url/)&&r.peek()==="(")return n.tokenizer=b,"atom";if(e==="="&&r.match(/^=[\w-]+/))return l(n),"meta";if(e==="+"&&r.match(/^\+[\w-]+/))return"variable-3";if(e==="@"&&r.match("@extend")&&(r.match(/\s*[\w]/)||C(n)),r.match(/^@(else if|if|media|else|for|each|while|mixin|function)/))return l(n),"def";if(e==="@")return r.next(),r.eatWhile(/[\w-]/),"def";if(r.eatWhile(/[\w-]/))if(r.match(/ *: *[\w-\+\$#!\("']/,!1)){t=r.current().toLowerCase();var o=n.prevProp+"-"+t;return d.hasOwnProperty(o)?"property":d.hasOwnProperty(t)?(n.prevProp=t,"property"):j.hasOwnProperty(t)?"property":"tag"}else return r.match(/ *:/,!1)?(l(n),n.cursorHalf=1,n.prevProp=r.current().toLowerCase(),"property"):(r.match(/ *,/,!1)||l(n),"tag");if(e===":")return r.match(R)?"variable-3":(r.next(),n.cursorHalf=1,"operator")}return r.match(z)?"operator":(r.next(),null)}function S(r,n){r.sol()&&(n.indentCount=0);var e=n.tokenizer(r,n),o=r.current();if((o==="@return"||o==="}")&&C(n),e!==null){for(var k=r.pos-o.length,h=k+c.indentUnit*n.indentCount,x=[],v=0;vo[t]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(f,u){(function(a){a(K)})(function(a){a.defineMode("scheme",function(){var o="builtin",t="comment",d="string",b="symbol",s="atom",v="number",y="bracket",N=2;function k(e){for(var n={},i=e.split(" "),l=0;linteger char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"),O=k("define let letrec let* lambda define-macro defmacro let-syntax letrec-syntax let-values let*-values define-syntax syntax-rules define-values when unless");function Q(e,n,i){this.indent=e,this.type=n,this.prev=i}function p(e,n,i){e.indentStack=new Q(n,i,e.indentStack)}function _(e){e.indentStack=e.indentStack.prev}var I=new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i),$=new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i),j=new RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i),R=new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i);function B(e){return e.match(I)}function D(e){return e.match($)}function m(e,n){return n===!0&&e.backUp(1),e.match(R)}function U(e){return e.match(j)}function E(e,n){for(var i,l=!1;(i=e.next())!=null;){if(i==n.token&&!l){n.state.mode=!1;break}l=!l&&i=="\\"}}return{startState:function(){return{indentStack:null,indentation:0,mode:!1,sExprComment:!1,sExprQuote:!1}},token:function(e,n){if(n.indentStack==null&&e.sol()&&(n.indentation=e.indentation()),e.eatSpace())return null;var i=null;switch(n.mode){case"string":E(e,{token:'"',state:n}),i=d;break;case"symbol":E(e,{token:"|",state:n}),i=b;break;case"comment":for(var l,S=!1;(l=e.next())!=null;){if(l=="#"&&S){n.mode=!1;break}S=l=="|"}i=t;break;case"s-expr-comment":if(n.mode=!1,e.peek()=="("||e.peek()=="[")n.sExprComment=0;else{e.eatWhile(/[^\s\(\)\[\]]/),i=t;break}default:var r=e.next();if(r=='"')n.mode="string",i=d;else if(r=="'")e.peek()=="("||e.peek()=="["?(typeof n.sExprQuote!="number"&&(n.sExprQuote=0),i=s):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),i=s);else if(r=="|")n.mode="symbol",i=b;else if(r=="#")if(e.eat("|"))n.mode="comment",i=t;else if(e.eat(/[tf]/i))i=s;else if(e.eat(";"))n.mode="s-expr-comment",i=t;else{var c=null,h=!1,q=!0;e.eat(/[ei]/i)?h=!0:e.backUp(1),e.match(/^#b/i)?c=B:e.match(/^#o/i)?c=D:e.match(/^#x/i)?c=U:e.match(/^#d/i)?c=m:e.match(/^[-+0-9.]/,!1)?(q=!1,c=m):h||e.eat("#"),c!=null&&(q&&!h&&e.match(/^#[ei]/i),c(e)&&(i=v))}else if(/^[-+0-9.]/.test(r)&&m(e,!0))i=v;else if(r==";")e.skipToEnd(),i=t;else if(r=="("||r=="["){for(var g="",x=e.column(),M;(M=e.eat(/[^\s\(\[\;\)\]]/))!=null;)g+=M;g.length>0&&O.propertyIsEnumerable(g)?p(n,x+N,r):(e.eatSpace(),e.eol()||e.peek()==";"?p(n,x+1,r):p(n,x+e.current().length,r)),e.backUp(e.current().length-1),typeof n.sExprComment=="number"&&n.sExprComment++,typeof n.sExprQuote=="number"&&n.sExprQuote++,i=y}else r==")"||r=="]"?(i=y,n.indentStack!=null&&n.indentStack.type==(r==")"?"(":"[")&&(_(n),typeof n.sExprComment=="number"&&--n.sExprComment==0&&(i=t,n.sExprComment=!1),typeof n.sExprQuote=="number"&&--n.sExprQuote==0&&(i=s,n.sExprQuote=!1))):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),w&&w.propertyIsEnumerable(e.current())?i=o:i="variable")}return typeof n.sExprComment=="number"?t:typeof n.sExprQuote=="number"?s:i},indent:function(e){return e.indentStack==null?e.indentation:e.indentStack.indent},fold:"brace-paren",closeBrackets:{pairs:'()[]{}""'},lineComment:";;"}}),a.defineMIME("text/x-scheme","scheme")})})();var C=z.exports;const L=A(C),F=P({__proto__:null,default:L},[C]);export{F as s}; +import{g as A,c as K}from"./index-rXwcQ1j1.js";function P(f,u){for(var a=0;ao[t]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(f,u){(function(a){a(K)})(function(a){a.defineMode("scheme",function(){var o="builtin",t="comment",d="string",b="symbol",s="atom",v="number",y="bracket",N=2;function k(e){for(var n={},i=e.split(" "),l=0;linteger char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt #f floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? #t tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"),O=k("define let letrec let* lambda define-macro defmacro let-syntax letrec-syntax let-values let*-values define-syntax syntax-rules define-values when unless");function Q(e,n,i){this.indent=e,this.type=n,this.prev=i}function p(e,n,i){e.indentStack=new Q(n,i,e.indentStack)}function _(e){e.indentStack=e.indentStack.prev}var I=new RegExp(/^(?:[-+]i|[-+][01]+#*(?:\/[01]+#*)?i|[-+]?[01]+#*(?:\/[01]+#*)?@[-+]?[01]+#*(?:\/[01]+#*)?|[-+]?[01]+#*(?:\/[01]+#*)?[-+](?:[01]+#*(?:\/[01]+#*)?)?i|[-+]?[01]+#*(?:\/[01]+#*)?)(?=[()\s;"]|$)/i),$=new RegExp(/^(?:[-+]i|[-+][0-7]+#*(?:\/[0-7]+#*)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?@[-+]?[0-7]+#*(?:\/[0-7]+#*)?|[-+]?[0-7]+#*(?:\/[0-7]+#*)?[-+](?:[0-7]+#*(?:\/[0-7]+#*)?)?i|[-+]?[0-7]+#*(?:\/[0-7]+#*)?)(?=[()\s;"]|$)/i),j=new RegExp(/^(?:[-+]i|[-+][\da-f]+#*(?:\/[\da-f]+#*)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?@[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?[-+](?:[\da-f]+#*(?:\/[\da-f]+#*)?)?i|[-+]?[\da-f]+#*(?:\/[\da-f]+#*)?)(?=[()\s;"]|$)/i),R=new RegExp(/^(?:[-+]i|[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)i|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)@[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)|[-+]?(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)[-+](?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*)?i|(?:(?:(?:\d+#+\.?#*|\d+\.\d*#*|\.\d+#*|\d+)(?:[esfdl][-+]?\d+)?)|\d+#*\/\d+#*))(?=[()\s;"]|$)/i);function B(e){return e.match(I)}function D(e){return e.match($)}function m(e,n){return n===!0&&e.backUp(1),e.match(R)}function U(e){return e.match(j)}function E(e,n){for(var i,l=!1;(i=e.next())!=null;){if(i==n.token&&!l){n.state.mode=!1;break}l=!l&&i=="\\"}}return{startState:function(){return{indentStack:null,indentation:0,mode:!1,sExprComment:!1,sExprQuote:!1}},token:function(e,n){if(n.indentStack==null&&e.sol()&&(n.indentation=e.indentation()),e.eatSpace())return null;var i=null;switch(n.mode){case"string":E(e,{token:'"',state:n}),i=d;break;case"symbol":E(e,{token:"|",state:n}),i=b;break;case"comment":for(var l,S=!1;(l=e.next())!=null;){if(l=="#"&&S){n.mode=!1;break}S=l=="|"}i=t;break;case"s-expr-comment":if(n.mode=!1,e.peek()=="("||e.peek()=="[")n.sExprComment=0;else{e.eatWhile(/[^\s\(\)\[\]]/),i=t;break}default:var r=e.next();if(r=='"')n.mode="string",i=d;else if(r=="'")e.peek()=="("||e.peek()=="["?(typeof n.sExprQuote!="number"&&(n.sExprQuote=0),i=s):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),i=s);else if(r=="|")n.mode="symbol",i=b;else if(r=="#")if(e.eat("|"))n.mode="comment",i=t;else if(e.eat(/[tf]/i))i=s;else if(e.eat(";"))n.mode="s-expr-comment",i=t;else{var c=null,h=!1,q=!0;e.eat(/[ei]/i)?h=!0:e.backUp(1),e.match(/^#b/i)?c=B:e.match(/^#o/i)?c=D:e.match(/^#x/i)?c=U:e.match(/^#d/i)?c=m:e.match(/^[-+0-9.]/,!1)?(q=!1,c=m):h||e.eat("#"),c!=null&&(q&&!h&&e.match(/^#[ei]/i),c(e)&&(i=v))}else if(/^[-+0-9.]/.test(r)&&m(e,!0))i=v;else if(r==";")e.skipToEnd(),i=t;else if(r=="("||r=="["){for(var g="",x=e.column(),M;(M=e.eat(/[^\s\(\[\;\)\]]/))!=null;)g+=M;g.length>0&&O.propertyIsEnumerable(g)?p(n,x+N,r):(e.eatSpace(),e.eol()||e.peek()==";"?p(n,x+1,r):p(n,x+e.current().length,r)),e.backUp(e.current().length-1),typeof n.sExprComment=="number"&&n.sExprComment++,typeof n.sExprQuote=="number"&&n.sExprQuote++,i=y}else r==")"||r=="]"?(i=y,n.indentStack!=null&&n.indentStack.type==(r==")"?"(":"[")&&(_(n),typeof n.sExprComment=="number"&&--n.sExprComment==0&&(i=t,n.sExprComment=!1),typeof n.sExprQuote=="number"&&--n.sExprQuote==0&&(i=s,n.sExprQuote=!1))):(e.eatWhile(/[\w_\-!$%&*+\.\/:<=>?@\^~]/),w&&w.propertyIsEnumerable(e.current())?i=o:i="variable")}return typeof n.sExprComment=="number"?t:typeof n.sExprQuote=="number"?s:i},indent:function(e){return e.indentStack==null?e.indentation:e.indentStack.indent},fold:"brace-paren",closeBrackets:{pairs:'()[]{}""'},lineComment:";;"}}),a.defineMIME("text/x-scheme","scheme")})})();var C=z.exports;const L=A(C),F=P({__proto__:null,default:L},[C]);export{F as s}; diff --git a/dist-ui/assets/shell-BxNuXlu8.js b/dist-ui/assets/shell-DSTFE-Kd.js similarity index 97% rename from dist-ui/assets/shell-BxNuXlu8.js rename to dist-ui/assets/shell-DSTFE-Kd.js index 74df1eef..7f55d3dc 100644 --- a/dist-ui/assets/shell-BxNuXlu8.js +++ b/dist-ui/assets/shell-DSTFE-Kd.js @@ -1 +1 @@ -import{g as E,c as S}from"./index-CHg1vBCc.js";function m(p,d){for(var i=0;if[l]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(p,d){(function(i){i(S)})(function(i){i.defineMode("shell",function(){var f={};function l(e,n){for(var r=0;r1&&e.eat("$");var r=e.next();return/['"({]/.test(r)?(n.tokens[0]=k(r,r=="("?"quote":r=="{"?"def":"string"),h(e,n)):(/\d/.test(r)||e.eatWhile(/\w/),n.tokens.shift(),"def")};function y(e){return function(n,r){return n.sol()&&n.string==e&&r.tokens.shift(),n.skipToEnd(),"string-2"}}function h(e,n){return(n.tokens[0]||b)(e,n)}return{startState:function(){return{tokens:[]}},token:function(e,n){return h(e,n)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}}),i.defineMIME("text/x-sh","shell"),i.defineMIME("application/x-sh","shell")})})();var w=O.exports;const j=E(w),_=m({__proto__:null,default:j},[w]);export{_ as s}; +import{g as E,c as S}from"./index-rXwcQ1j1.js";function m(p,d){for(var i=0;if[l]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var O={exports:{}};(function(p,d){(function(i){i(S)})(function(i){i.defineMode("shell",function(){var f={};function l(e,n){for(var r=0;r1&&e.eat("$");var r=e.next();return/['"({]/.test(r)?(n.tokens[0]=k(r,r=="("?"quote":r=="{"?"def":"string"),h(e,n)):(/\d/.test(r)||e.eatWhile(/\w/),n.tokens.shift(),"def")};function y(e){return function(n,r){return n.sol()&&n.string==e&&r.tokens.shift(),n.skipToEnd(),"string-2"}}function h(e,n){return(n.tokens[0]||b)(e,n)}return{startState:function(){return{tokens:[]}},token:function(e,n){return h(e,n)},closeBrackets:"()[]{}''\"\"``",lineComment:"#",fold:"brace"}}),i.defineMIME("text/x-sh","shell"),i.defineMIME("application/x-sh","shell")})})();var w=O.exports;const j=E(w),_=m({__proto__:null,default:j},[w]);export{_ as s}; diff --git a/dist-ui/assets/sieve-D82FZznt.js b/dist-ui/assets/sieve-BbPzy4fY.js similarity index 97% rename from dist-ui/assets/sieve-D82FZznt.js rename to dist-ui/assets/sieve-BbPzy4fY.js index a4f506e4..b8963149 100644 --- a/dist-ui/assets/sieve-D82FZznt.js +++ b/dist-ui/assets/sieve-BbPzy4fY.js @@ -1 +1 @@ -import{g as _,c as b}from"./index-CHg1vBCc.js";function y(c,p){for(var i=0;iu[o]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(c,p){(function(i){i(b)})(function(i){i.defineMode("sieve",function(u){function o(e){for(var n={},r=e.split(" "),t=0;tu[o]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(c,p){(function(i){i(b)})(function(i){i.defineMode("sieve",function(u){function o(e){for(var n={},r=e.split(" "),t=0;tl[c]})}}}return Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var mn={exports:{}};(function(h,g){(function(t){t(an,xn(),zn())})(function(t){t.defineMode("slim",function(l){var c=t.getMode(l,{name:"htmlmixed"}),f=t.getMode(l,"ruby"),w={html:c,ruby:f},D={ruby:"ruby",javascript:"javascript",css:"text/css",sass:"text/x-sass",scss:"text/x-scss",less:"text/x-less",styl:"text/x-styl",coffee:"coffeescript",asciidoc:"text/x-asciidoc",markdown:"text/x-markdown",textile:"text/x-textile",creole:"text/x-creole",wiki:"text/x-wiki",mediawiki:"text/x-mediawiki",rdoc:"text/x-rdoc",builder:"text/x-builder",nokogiri:"text/x-nokogiri",erb:"application/x-erb"},U=function(n){var e=[];for(var i in n)e.push(i);return new RegExp("^("+e.join("|")+"):")}(D),L={commentLine:"comment",slimSwitch:"operator special",slimTag:"tag",slimId:"attribute def",slimClass:"attribute qualifier",slimAttribute:"attribute",slimSubmode:"keyword special",closeAttributeTag:null,slimDoctype:null,lineContinuation:null},q={"{":"}","[":"]","(":")"},m="_a-zA-ZÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",y=m+"\\-0-9·̀-ͯ‿-⁀",N=new RegExp("^[:"+m+"](?::["+y+"]|["+y+"]*)"),Q=new RegExp("^[:"+m+"][:\\."+y+"]*(?=\\s*=)"),V=new RegExp("^[:"+m+"][:\\."+y+"]*"),W=/^\.-?[_a-zA-Z]+[\w\-]*/,H=/^#[_a-zA-Z]+[\w\-]*/;function Z(n,e,i){var u=function(r,o){return o.tokenize=e,r.pos-1&&(e.tokenize=Z(n.pos,e.tokenize,r),n.backUp(o.length-k-u)),r}function F(n,e){n.stack={parent:n.stack,style:"continuation",indented:e,tokenize:n.line},n.line=n.tokenize}function A(n){n.line==n.tokenize&&(n.line=n.stack.tokenize,n.stack=n.stack.parent)}function G(n,e){return function(i,u){if(A(u),i.match(/^\\$/))return F(u,n),"lineContinuation";var r=e(i,u);return i.eol()&&i.current().match(/(?:^|[^\\])(?:\\\\)*\\$/)&&i.backUp(1),r}}function J(n,e){return function(i,u){A(u);var r=e(i,u);return i.eol()&&i.current().match(/,$/)&&F(u,n),r}}function M(n,e){return function(i,u){var r=i.peek();return r==n&&u.rubyState.tokenize.length==1?(i.next(),u.tokenize=e,"closeAttributeTag"):a(i,u)}}function d(n){var e,i=function(u,r){if(r.rubyState.tokenize.length==1&&!r.rubyState.context.prev){if(u.backUp(1),u.eatSpace())return r.rubyState=e,r.tokenize=n,n(u,r);u.next()}return a(u,r)};return function(u,r){return e=r.rubyState,r.rubyState=t.startState(f),r.tokenize=i,a(u,r)}}function a(n,e){return f.token(n,e.rubyState)}function K(n,e){return n.match(/^\\$/)?"lineContinuation":s(n,e)}function s(n,e){return n.match(/^#\{/)?(e.tokenize=M("}",e.tokenize),null):B(n,e,/[^\\]#\{/,1,c.token(n,e.htmlState))}function X(n){return function(e,i){var u=K(e,i);return e.eol()&&(i.tokenize=n),u}}function O(n,e,i){return e.stack={parent:e.stack,style:"html",indented:n.column()+i,tokenize:e.line},e.line=e.tokenize=s,null}function T(n,e){return n.skipToEnd(),e.stack.style}function Y(n,e){return e.stack={parent:e.stack,style:"comment",indented:e.indented+1,tokenize:e.line},e.line=T,T(n,e)}function p(n,e){return n.eat(e.stack.endQuote)?(e.line=e.stack.line,e.tokenize=e.stack.tokenize,e.stack=e.stack.parent,null):n.match(V)?(e.tokenize=nn,"slimAttribute"):(n.next(),null)}function nn(n,e){return n.match(/^==?/)?(e.tokenize=en,null):p(n,e)}function en(n,e){var i=n.peek();return i=='"'||i=="'"?(e.tokenize=j(i,"string",!0,!1,p),n.next(),e.tokenize(n,e)):i=="["?d(p)(n,e):n.match(/^(true|false|nil)\b/)?(e.tokenize=p,"keyword"):d(p)(n,e)}function un(n,e,i){return n.stack={parent:n.stack,style:"wrapper",indented:n.indented+1,tokenize:i,line:n.line,endQuote:e},n.line=n.tokenize=p,null}function rn(n,e){if(n.match(/^#\{/))return e.tokenize=M("}",e.tokenize),null;var i=new t.StringStream(n.string.slice(e.stack.indented),n.tabSize);i.pos=n.pos-e.stack.indented,i.start=n.start-e.stack.indented,i.lastColumnPos=n.lastColumnPos-e.stack.indented,i.lastColumnValue=n.lastColumnValue-e.stack.indented;var u=e.subMode.token(i,e.subState);return n.pos=i.pos+e.stack.indented,u}function tn(n,e){return e.stack.indented=n.column(),e.line=e.tokenize=rn,e.tokenize(n,e)}function on(n){var e=D[n],i=t.mimeModes[e];if(i)return t.getMode(l,i);var u=t.modes[e];return u?u(l,{name:e}):t.getMode(l,"null")}function ln(n){return w.hasOwnProperty(n)?w[n]:w[n]=on(n)}function cn(n,e){var i=ln(n),u=t.startState(i);return e.subMode=i,e.subState=u,e.stack={parent:e.stack,style:"sub",indented:e.indented+1,tokenize:e.line},e.line=e.tokenize=tn,"slimSubmode"}function fn(n,e){return n.skipToEnd(),"slimDoctype"}function kn(n,e){var i=n.peek();if(i=="<")return(e.tokenize=X(e.tokenize))(n,e);if(n.match(/^[|']/))return O(n,e,1);if(n.match(/^\/(!|\[\w+])?/))return Y(n,e);if(n.match(/^(-|==?[<>]?)/))return e.tokenize=G(n.column(),J(n.column(),a)),"slimSwitch";if(n.match(/^doctype\b/))return e.tokenize=fn,"keyword";var u=n.match(U);return u?cn(u[1],e):R(n,e)}function E(n,e){return e.startOfLine?kn(n,e):R(n,e)}function R(n,e){return n.eat("*")?(e.tokenize=d(_),null):n.match(N)?(e.tokenize=_,"slimTag"):x(n,e)}function _(n,e){return n.match(/^(<>?|>e.indented&&e.last!="slimSubmode";)e.line=e.tokenize=e.stack.tokenize,e.stack=e.stack.parent,e.subMode=null,e.subState=null;if(n.eatSpace())return null;var i=e.tokenize(n,e);return e.startOfLine=!1,i&&(e.last=i),L.hasOwnProperty(i)?L[i]:i},blankLine:function(n){if(n.subMode&&n.subMode.blankLine)return n.subMode.blankLine(n.subState)},innerMode:function(n){return n.subMode?{state:n.subState,mode:n.subMode}:{state:n,mode:C}}};return C},"htmlmixed","ruby"),t.defineMIME("text/x-slim","slim"),t.defineMIME("application/x-slim","slim")})})();var I=mn.exports;const yn=pn(I),wn=hn({__proto__:null,default:yn},[I]);export{wn as s}; +import{g as pn,c as an}from"./index-rXwcQ1j1.js";import{r as xn}from"./htmlmixed-BkyqFvnk.js";import{r as zn}from"./ruby-hRRXQ7Ll.js";function hn(h,g){for(var t=0;tl[c]})}}}return Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var mn={exports:{}};(function(h,g){(function(t){t(an,xn(),zn())})(function(t){t.defineMode("slim",function(l){var c=t.getMode(l,{name:"htmlmixed"}),f=t.getMode(l,"ruby"),w={html:c,ruby:f},D={ruby:"ruby",javascript:"javascript",css:"text/css",sass:"text/x-sass",scss:"text/x-scss",less:"text/x-less",styl:"text/x-styl",coffee:"coffeescript",asciidoc:"text/x-asciidoc",markdown:"text/x-markdown",textile:"text/x-textile",creole:"text/x-creole",wiki:"text/x-wiki",mediawiki:"text/x-mediawiki",rdoc:"text/x-rdoc",builder:"text/x-builder",nokogiri:"text/x-nokogiri",erb:"application/x-erb"},U=function(n){var e=[];for(var i in n)e.push(i);return new RegExp("^("+e.join("|")+"):")}(D),L={commentLine:"comment",slimSwitch:"operator special",slimTag:"tag",slimId:"attribute def",slimClass:"attribute qualifier",slimAttribute:"attribute",slimSubmode:"keyword special",closeAttributeTag:null,slimDoctype:null,lineContinuation:null},q={"{":"}","[":"]","(":")"},m="_a-zA-ZÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",y=m+"\\-0-9·̀-ͯ‿-⁀",N=new RegExp("^[:"+m+"](?::["+y+"]|["+y+"]*)"),Q=new RegExp("^[:"+m+"][:\\."+y+"]*(?=\\s*=)"),V=new RegExp("^[:"+m+"][:\\."+y+"]*"),W=/^\.-?[_a-zA-Z]+[\w\-]*/,H=/^#[_a-zA-Z]+[\w\-]*/;function Z(n,e,i){var u=function(r,o){return o.tokenize=e,r.pos-1&&(e.tokenize=Z(n.pos,e.tokenize,r),n.backUp(o.length-k-u)),r}function F(n,e){n.stack={parent:n.stack,style:"continuation",indented:e,tokenize:n.line},n.line=n.tokenize}function A(n){n.line==n.tokenize&&(n.line=n.stack.tokenize,n.stack=n.stack.parent)}function G(n,e){return function(i,u){if(A(u),i.match(/^\\$/))return F(u,n),"lineContinuation";var r=e(i,u);return i.eol()&&i.current().match(/(?:^|[^\\])(?:\\\\)*\\$/)&&i.backUp(1),r}}function J(n,e){return function(i,u){A(u);var r=e(i,u);return i.eol()&&i.current().match(/,$/)&&F(u,n),r}}function M(n,e){return function(i,u){var r=i.peek();return r==n&&u.rubyState.tokenize.length==1?(i.next(),u.tokenize=e,"closeAttributeTag"):a(i,u)}}function d(n){var e,i=function(u,r){if(r.rubyState.tokenize.length==1&&!r.rubyState.context.prev){if(u.backUp(1),u.eatSpace())return r.rubyState=e,r.tokenize=n,n(u,r);u.next()}return a(u,r)};return function(u,r){return e=r.rubyState,r.rubyState=t.startState(f),r.tokenize=i,a(u,r)}}function a(n,e){return f.token(n,e.rubyState)}function K(n,e){return n.match(/^\\$/)?"lineContinuation":s(n,e)}function s(n,e){return n.match(/^#\{/)?(e.tokenize=M("}",e.tokenize),null):B(n,e,/[^\\]#\{/,1,c.token(n,e.htmlState))}function X(n){return function(e,i){var u=K(e,i);return e.eol()&&(i.tokenize=n),u}}function O(n,e,i){return e.stack={parent:e.stack,style:"html",indented:n.column()+i,tokenize:e.line},e.line=e.tokenize=s,null}function T(n,e){return n.skipToEnd(),e.stack.style}function Y(n,e){return e.stack={parent:e.stack,style:"comment",indented:e.indented+1,tokenize:e.line},e.line=T,T(n,e)}function p(n,e){return n.eat(e.stack.endQuote)?(e.line=e.stack.line,e.tokenize=e.stack.tokenize,e.stack=e.stack.parent,null):n.match(V)?(e.tokenize=nn,"slimAttribute"):(n.next(),null)}function nn(n,e){return n.match(/^==?/)?(e.tokenize=en,null):p(n,e)}function en(n,e){var i=n.peek();return i=='"'||i=="'"?(e.tokenize=j(i,"string",!0,!1,p),n.next(),e.tokenize(n,e)):i=="["?d(p)(n,e):n.match(/^(true|false|nil)\b/)?(e.tokenize=p,"keyword"):d(p)(n,e)}function un(n,e,i){return n.stack={parent:n.stack,style:"wrapper",indented:n.indented+1,tokenize:i,line:n.line,endQuote:e},n.line=n.tokenize=p,null}function rn(n,e){if(n.match(/^#\{/))return e.tokenize=M("}",e.tokenize),null;var i=new t.StringStream(n.string.slice(e.stack.indented),n.tabSize);i.pos=n.pos-e.stack.indented,i.start=n.start-e.stack.indented,i.lastColumnPos=n.lastColumnPos-e.stack.indented,i.lastColumnValue=n.lastColumnValue-e.stack.indented;var u=e.subMode.token(i,e.subState);return n.pos=i.pos+e.stack.indented,u}function tn(n,e){return e.stack.indented=n.column(),e.line=e.tokenize=rn,e.tokenize(n,e)}function on(n){var e=D[n],i=t.mimeModes[e];if(i)return t.getMode(l,i);var u=t.modes[e];return u?u(l,{name:e}):t.getMode(l,"null")}function ln(n){return w.hasOwnProperty(n)?w[n]:w[n]=on(n)}function cn(n,e){var i=ln(n),u=t.startState(i);return e.subMode=i,e.subState=u,e.stack={parent:e.stack,style:"sub",indented:e.indented+1,tokenize:e.line},e.line=e.tokenize=tn,"slimSubmode"}function fn(n,e){return n.skipToEnd(),"slimDoctype"}function kn(n,e){var i=n.peek();if(i=="<")return(e.tokenize=X(e.tokenize))(n,e);if(n.match(/^[|']/))return O(n,e,1);if(n.match(/^\/(!|\[\w+])?/))return Y(n,e);if(n.match(/^(-|==?[<>]?)/))return e.tokenize=G(n.column(),J(n.column(),a)),"slimSwitch";if(n.match(/^doctype\b/))return e.tokenize=fn,"keyword";var u=n.match(U);return u?cn(u[1],e):R(n,e)}function E(n,e){return e.startOfLine?kn(n,e):R(n,e)}function R(n,e){return n.eat("*")?(e.tokenize=d(_),null):n.match(N)?(e.tokenize=_,"slimTag"):x(n,e)}function _(n,e){return n.match(/^(<>?|>e.indented&&e.last!="slimSubmode";)e.line=e.tokenize=e.stack.tokenize,e.stack=e.stack.parent,e.subMode=null,e.subState=null;if(n.eatSpace())return null;var i=e.tokenize(n,e);return e.startOfLine=!1,i&&(e.last=i),L.hasOwnProperty(i)?L[i]:i},blankLine:function(n){if(n.subMode&&n.subMode.blankLine)return n.subMode.blankLine(n.subState)},innerMode:function(n){return n.subMode?{state:n.subState,mode:n.subMode}:{state:n,mode:C}}};return C},"htmlmixed","ruby"),t.defineMIME("text/x-slim","slim"),t.defineMIME("application/x-slim","slim")})})();var I=mn.exports;const yn=pn(I),wn=hn({__proto__:null,default:yn},[I]);export{wn as s}; diff --git a/dist-ui/assets/smalltalk-LPWGh6Yj.js b/dist-ui/assets/smalltalk-Dl6YJ-qo.js similarity index 97% rename from dist-ui/assets/smalltalk-LPWGh6Yj.js rename to dist-ui/assets/smalltalk-Dl6YJ-qo.js index 47084e3d..bbdca076 100644 --- a/dist-ui/assets/smalltalk-LPWGh6Yj.js +++ b/dist-ui/assets/smalltalk-Dl6YJ-qo.js @@ -1 +1 @@ -import{g as m,c as g}from"./index-CHg1vBCc.js";function y(c,p){for(var a=0;al[o]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var W={exports:{}};(function(c,p){(function(a){a(g)})(function(a){a.defineMode("smalltalk",function(l){var o=/[+\-\/\\*~<>=@%|&?!.,:;^]/,s=/true|false|nil|self|super|thisContext/,u=function(e,n){this.next=e,this.parent=n},f=function(e,n,t){this.name=e,this.context=n,this.eos=t},d=function(){this.context=new u(x,null),this.expectVariable=!0,this.indentation=0,this.userIndentationDelta=0};d.prototype.userIndent=function(e){this.userIndentationDelta=e>0?e/l.indentUnit-this.indentation:0};var x=function(e,n,t){var i=new f(null,n,!1),r=e.next();return r==='"'?i=h(e,new u(h,n)):r==="'"?i=v(e,new u(v,n)):r==="#"?e.peek()==="'"?(e.next(),i=b(e,new u(b,n))):e.eatWhile(/[^\s.{}\[\]()]/)?i.name="string-2":i.name="meta":r==="$"?(e.next()==="<"&&(e.eatWhile(/[^\s>]/),e.next()),i.name="string-2"):r==="|"&&t.expectVariable?i.context=new u(w,n):/[\[\]{}()]/.test(r)?(i.name="bracket",i.eos=/[\[{(]/.test(r),r==="["?t.indentation++:r==="]"&&(t.indentation=Math.max(0,t.indentation-1))):o.test(r)?(e.eatWhile(o),i.name="operator",i.eos=r!==";"):/\d/.test(r)?(e.eatWhile(/[\w\d]/),i.name="number"):/[\w_]/.test(r)?(e.eatWhile(/[\w\d_]/),i.name=t.expectVariable?s.test(e.current())?"keyword":"variable":null):i.eos=t.expectVariable,i},h=function(e,n){return e.eatWhile(/[^"]/),new f("comment",e.eat('"')?n.parent:n,!0)},v=function(e,n){return e.eatWhile(/[^']/),new f("string",e.eat("'")?n.parent:n,!1)},b=function(e,n){return e.eatWhile(/[^']/),new f("string-2",e.eat("'")?n.parent:n,!1)},w=function(e,n){var t=new f(null,n,!1),i=e.next();return i==="|"?(t.context=n.parent,t.eos=!0):(e.eatWhile(/[^|]/),t.name="variable"),t};return{startState:function(){return new d},token:function(e,n){if(n.userIndent(e.indentation()),e.eatSpace())return null;var t=n.context.next(e,n.context,n);return n.context=t.context,n.expectVariable=t.eos,t.name},blankLine:function(e){e.userIndent(0)},indent:function(e,n){var t=e.context.next===x&&n&&n.charAt(0)==="]"?-1:e.userIndentationDelta;return(e.indentation+t)*l.indentUnit},electricChars:"]"}}),a.defineMIME("text/x-stsrc",{name:"smalltalk"})})})();var k=W.exports;const C=m(k),S=y({__proto__:null,default:C},[k]);export{S as s}; +import{g as m,c as g}from"./index-rXwcQ1j1.js";function y(c,p){for(var a=0;al[o]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var W={exports:{}};(function(c,p){(function(a){a(g)})(function(a){a.defineMode("smalltalk",function(l){var o=/[+\-\/\\*~<>=@%|&?!.,:;^]/,s=/true|false|nil|self|super|thisContext/,u=function(e,n){this.next=e,this.parent=n},f=function(e,n,t){this.name=e,this.context=n,this.eos=t},d=function(){this.context=new u(x,null),this.expectVariable=!0,this.indentation=0,this.userIndentationDelta=0};d.prototype.userIndent=function(e){this.userIndentationDelta=e>0?e/l.indentUnit-this.indentation:0};var x=function(e,n,t){var i=new f(null,n,!1),r=e.next();return r==='"'?i=h(e,new u(h,n)):r==="'"?i=v(e,new u(v,n)):r==="#"?e.peek()==="'"?(e.next(),i=b(e,new u(b,n))):e.eatWhile(/[^\s.{}\[\]()]/)?i.name="string-2":i.name="meta":r==="$"?(e.next()==="<"&&(e.eatWhile(/[^\s>]/),e.next()),i.name="string-2"):r==="|"&&t.expectVariable?i.context=new u(w,n):/[\[\]{}()]/.test(r)?(i.name="bracket",i.eos=/[\[{(]/.test(r),r==="["?t.indentation++:r==="]"&&(t.indentation=Math.max(0,t.indentation-1))):o.test(r)?(e.eatWhile(o),i.name="operator",i.eos=r!==";"):/\d/.test(r)?(e.eatWhile(/[\w\d]/),i.name="number"):/[\w_]/.test(r)?(e.eatWhile(/[\w\d_]/),i.name=t.expectVariable?s.test(e.current())?"keyword":"variable":null):i.eos=t.expectVariable,i},h=function(e,n){return e.eatWhile(/[^"]/),new f("comment",e.eat('"')?n.parent:n,!0)},v=function(e,n){return e.eatWhile(/[^']/),new f("string",e.eat("'")?n.parent:n,!1)},b=function(e,n){return e.eatWhile(/[^']/),new f("string-2",e.eat("'")?n.parent:n,!1)},w=function(e,n){var t=new f(null,n,!1),i=e.next();return i==="|"?(t.context=n.parent,t.eos=!0):(e.eatWhile(/[^|]/),t.name="variable"),t};return{startState:function(){return new d},token:function(e,n){if(n.userIndent(e.indentation()),e.eatSpace())return null;var t=n.context.next(e,n.context,n);return n.context=t.context,n.expectVariable=t.eos,t.name},blankLine:function(e){e.userIndent(0)},indent:function(e,n){var t=e.context.next===x&&n&&n.charAt(0)==="]"?-1:e.userIndentationDelta;return(e.indentation+t)*l.indentUnit},electricChars:"]"}}),a.defineMIME("text/x-stsrc",{name:"smalltalk"})})})();var k=W.exports;const C=m(k),S=y({__proto__:null,default:C},[k]);export{S as s}; diff --git a/dist-ui/assets/smarty-BUg_5f1d.js b/dist-ui/assets/smarty-BU_FSdwV.js similarity index 98% rename from dist-ui/assets/smarty-BUg_5f1d.js rename to dist-ui/assets/smarty-BU_FSdwV.js index dad5138b..d4a367cd 100644 --- a/dist-ui/assets/smarty-BUg_5f1d.js +++ b/dist-ui/assets/smarty-BU_FSdwV.js @@ -1 +1 @@ -import{g as D,c as O}from"./index-CHg1vBCc.js";function _(v,k){for(var o=0;oa[u]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var j={exports:{}};(function(v,k){(function(o){o(O)})(function(o){o.defineMode("smarty",function(a,u){var d=u.rightDelimiter||"}",c=u.leftDelimiter||"{",b=u.version||2,p=o.getMode(a,u.baseMode||"null"),y=["debug","extends","function","include","literal"],f={operatorChars:/[+\-*&%=<>!?]/,validIdentifier:/[a-zA-Z0-9_]/,stringChar:/['"]/},h;function n(e,t){return h=t,e}function I(e,t,r){return t.tokenize=r,r(e,t)}function w(e,t){return t==null&&(t=e.pos),b===3&&c=="{"&&(t==e.string.length||/\s/.test(e.string.charAt(t)))}function s(e,t){for(var r=e.string,l=e.pos;;){var i=r.indexOf(c,l);if(l=i+c.length,i==-1||!w(e,i+c.length))break}if(i==e.pos)return e.match(c),e.eat("*")?I(e,t,S("comment","*"+d)):(t.depth++,t.tokenize=z,h="startTag","tag");i>-1&&(e.string=r.slice(0,i));var g=p.token(e,t.base);return i>-1&&(e.string=r),g}function z(e,t){if(e.match(d,!0))return b===3?(t.depth--,t.depth<=0&&(t.tokenize=s)):t.tokenize=s,n("tag",null);if(e.match(c,!0))return t.depth++,n("tag","startTag");var r=e.next();if(r=="$")return e.eatWhile(f.validIdentifier),n("variable-2","variable");if(r=="|")return n("operator","pipe");if(r==".")return n("operator","property");if(f.stringChar.test(r))return t.tokenize=x(r),n("string","string");if(f.operatorChars.test(r))return e.eatWhile(f.operatorChars),n("operator","operator");if(r=="["||r=="]")return n("bracket","bracket");if(r=="("||r==")")return n("bracket","operator");if(/\d/.test(r))return e.eatWhile(/\d/),n("number","number");if(t.last=="variable"){if(r=="@")return e.eatWhile(f.validIdentifier),n("property","property");if(r=="|")return e.eatWhile(f.validIdentifier),n("qualifier","modifier")}else{if(t.last=="pipe")return e.eatWhile(f.validIdentifier),n("qualifier","modifier");if(t.last=="whitespace")return e.eatWhile(f.validIdentifier),n("attribute","modifier")}if(t.last=="property")return e.eatWhile(f.validIdentifier),n("property",null);if(/\s/.test(r))return h="whitespace",null;var l="";r!="/"&&(l+=r);for(var i=null;i=e.eat(f.validIdentifier);)l+=i;for(var g=0,W=y.length;ga[u]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var j={exports:{}};(function(v,k){(function(o){o(O)})(function(o){o.defineMode("smarty",function(a,u){var d=u.rightDelimiter||"}",c=u.leftDelimiter||"{",b=u.version||2,p=o.getMode(a,u.baseMode||"null"),y=["debug","extends","function","include","literal"],f={operatorChars:/[+\-*&%=<>!?]/,validIdentifier:/[a-zA-Z0-9_]/,stringChar:/['"]/},h;function n(e,t){return h=t,e}function I(e,t,r){return t.tokenize=r,r(e,t)}function w(e,t){return t==null&&(t=e.pos),b===3&&c=="{"&&(t==e.string.length||/\s/.test(e.string.charAt(t)))}function s(e,t){for(var r=e.string,l=e.pos;;){var i=r.indexOf(c,l);if(l=i+c.length,i==-1||!w(e,i+c.length))break}if(i==e.pos)return e.match(c),e.eat("*")?I(e,t,S("comment","*"+d)):(t.depth++,t.tokenize=z,h="startTag","tag");i>-1&&(e.string=r.slice(0,i));var g=p.token(e,t.base);return i>-1&&(e.string=r),g}function z(e,t){if(e.match(d,!0))return b===3?(t.depth--,t.depth<=0&&(t.tokenize=s)):t.tokenize=s,n("tag",null);if(e.match(c,!0))return t.depth++,n("tag","startTag");var r=e.next();if(r=="$")return e.eatWhile(f.validIdentifier),n("variable-2","variable");if(r=="|")return n("operator","pipe");if(r==".")return n("operator","property");if(f.stringChar.test(r))return t.tokenize=x(r),n("string","string");if(f.operatorChars.test(r))return e.eatWhile(f.operatorChars),n("operator","operator");if(r=="["||r=="]")return n("bracket","bracket");if(r=="("||r==")")return n("bracket","operator");if(/\d/.test(r))return e.eatWhile(/\d/),n("number","number");if(t.last=="variable"){if(r=="@")return e.eatWhile(f.validIdentifier),n("property","property");if(r=="|")return e.eatWhile(f.validIdentifier),n("qualifier","modifier")}else{if(t.last=="pipe")return e.eatWhile(f.validIdentifier),n("qualifier","modifier");if(t.last=="whitespace")return e.eatWhile(f.validIdentifier),n("attribute","modifier")}if(t.last=="property")return e.eatWhile(f.validIdentifier),n("property",null);if(/\s/.test(r))return h="whitespace",null;var l="";r!="/"&&(l+=r);for(var i=null;i=e.eat(f.validIdentifier);)l+=i;for(var g=0,W=y.length;gi[f]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var b={exports:{}};(function(l,c){(function(o){o(z)})(function(o){o.defineMode("solr",function(){var i=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,f=/[\|\!\+\-\*\?\~\^\&]/,u=/^(OR|AND|NOT|TO)$/i;function k(e){return parseFloat(e).toString()===e}function g(e){return function(t,r){for(var n=!1,a;(a=t.next())!=null&&!(a==e&&!n);)n=!n&&a=="\\";return n||(r.tokenize=s),"string"}}function d(e){return function(t,r){var n="operator";return e=="+"?n+=" positive":e=="-"?n+=" negative":e=="|"?t.eat(/\|/):e=="&"?t.eat(/\&/):e=="^"&&(n+=" boost"),r.tokenize=s,n}}function v(e){return function(t,r){for(var n=e;(e=t.peek())&&e.match(i)!=null;)n+=t.next();return r.tokenize=s,u.test(n)?"operator":k(n)?"number":t.peek()==":"?"field":"string"}}function s(e,t){var r=e.next();return r=='"'?t.tokenize=g(r):f.test(r)?t.tokenize=d(r):i.test(r)&&(t.tokenize=v(r)),t.tokenize!=s?t.tokenize(e,t):null}return{startState:function(){return{tokenize:s}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}}}),o.defineMIME("text/x-solr","solr")})})();var p=b.exports;const y=x(p),m=O({__proto__:null,default:y},[p]);export{m as s}; +import{g as x,c as z}from"./index-rXwcQ1j1.js";function O(l,c){for(var o=0;oi[f]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var b={exports:{}};(function(l,c){(function(o){o(z)})(function(o){o.defineMode("solr",function(){var i=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,f=/[\|\!\+\-\*\?\~\^\&]/,u=/^(OR|AND|NOT|TO)$/i;function k(e){return parseFloat(e).toString()===e}function g(e){return function(t,r){for(var n=!1,a;(a=t.next())!=null&&!(a==e&&!n);)n=!n&&a=="\\";return n||(r.tokenize=s),"string"}}function d(e){return function(t,r){var n="operator";return e=="+"?n+=" positive":e=="-"?n+=" negative":e=="|"?t.eat(/\|/):e=="&"?t.eat(/\&/):e=="^"&&(n+=" boost"),r.tokenize=s,n}}function v(e){return function(t,r){for(var n=e;(e=t.peek())&&e.match(i)!=null;)n+=t.next();return r.tokenize=s,u.test(n)?"operator":k(n)?"number":t.peek()==":"?"field":"string"}}function s(e,t){var r=e.next();return r=='"'?t.tokenize=g(r):f.test(r)?t.tokenize=d(r):i.test(r)&&(t.tokenize=v(r)),t.tokenize!=s?t.tokenize(e,t):null}return{startState:function(){return{tokenize:s}},token:function(e,t){return e.eatSpace()?null:t.tokenize(e,t)}}}),o.defineMIME("text/x-solr","solr")})})();var p=b.exports;const y=x(p),m=O({__proto__:null,default:y},[p]);export{m as s}; diff --git a/dist-ui/assets/soy-CNXjHktW.js b/dist-ui/assets/soy-BKqI_b5K.js similarity index 98% rename from dist-ui/assets/soy-CNXjHktW.js rename to dist-ui/assets/soy-BKqI_b5K.js index cbbaad60..6ec40d96 100644 --- a/dist-ui/assets/soy-CNXjHktW.js +++ b/dist-ui/assets/soy-BKqI_b5K.js @@ -1 +1 @@ -import{g as P,c as F}from"./index-CHg1vBCc.js";import{r as z}from"./htmlmixed-dNmc4jG3.js";function D(v,g){for(var l=0;lo[i]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var H={exports:{}};(function(v,g){(function(l){l(F,z())})(function(l){var o={noEndTag:!0,soyState:"param-def"},i={alias:{noEndTag:!0},delpackage:{noEndTag:!0},namespace:{noEndTag:!0,soyState:"namespace-def"},"@attribute":o,"@attribute?":o,"@param":o,"@param?":o,"@inject":o,"@inject?":o,"@state":o,template:{soyState:"templ-def",variableScope:!0},extern:{soyState:"param-def"},export:{soyState:"export"},literal:{},msg:{},fallbackmsg:{noEndTag:!0,reduceIndent:!0},select:{},plural:{},let:{soyState:"var-def"},if:{},javaimpl:{},jsimpl:{},elseif:{noEndTag:!0,reduceIndent:!0},else:{noEndTag:!0,reduceIndent:!0},switch:{},case:{noEndTag:!0,reduceIndent:!0},default:{noEndTag:!0,reduceIndent:!0},foreach:{variableScope:!0,soyState:"for-loop"},ifempty:{noEndTag:!0,reduceIndent:!0},for:{variableScope:!0,soyState:"for-loop"},call:{soyState:"templ-ref"},param:{soyState:"param-ref"},print:{noEndTag:!0},deltemplate:{soyState:"templ-def",variableScope:!0},delcall:{soyState:"templ-ref"},log:{},element:{variableScope:!0},velog:{},const:{soyState:"const-def"}},h=Object.keys(i).filter(function(r){return!i[r].noEndTag||i[r].reduceIndent});l.defineMode("soy",function(r){var x=l.getMode(r,"text/plain"),b={html:l.getMode(r,{name:"text/html",multilineTagIndentFactor:2,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),attributes:x,text:x,uri:x,trusted_resource_uri:x,css:l.getMode(r,"text/css"),js:l.getMode(r,{name:"text/javascript",statementIndent:2*r.indentUnit})};function f(n){return n[n.length-1]}function E(n,e,t){if(n.sol()){for(var u=0;u]=?)/)?"operator":(t=n.match(/^\$([\w]+)/))?j(e.variables,t[1],!e.lookupVariables):(t=n.match(/^\w+/))?/^(?:as|and|or|not|in|if)$/.test(t[0])?"keyword":null:(n.next(),null)}return{startState:function(){return{soyState:[],variables:S(null,"ij"),scopes:null,indent:0,quoteKind:null,context:null,lookupVariables:!0,localStates:[{mode:b.html,state:l.startState(b.html)}]}},copyState:function(n){return{tag:n.tag,soyState:n.soyState.concat([]),variables:n.variables,context:n.context,indent:n.indent,quoteKind:n.quoteKind,lookupVariables:n.lookupVariables,localStates:n.localStates.map(function(e){return{mode:e.mode,state:l.copyState(e.mode,e.state)}})}},token:function(n,e){var t;switch(f(e.soyState)){case"comment":if(n.match(/^.*?\*\//)?e.soyState.pop():n.skipToEnd(),!e.context||!e.context.scope)for(var u=/@param\??\s+(\S+)/g,d=n.current(),t;t=u.exec(d);)e.variables=S(e.variables,t[1]);return"comment";case"string":var t=n.match(/^.*?(["']|\\[\s\S])/);return t?t[1]==e.quoteKind&&(e.quoteKind=null,e.soyState.pop()):n.skipToEnd(),"string"}if(!e.soyState.length||f(e.soyState)!="literal"){if(n.match(/^\/\*/))return e.soyState.push("comment"),"comment";if(n.match(n.sol()?/^\s*\/\/.*/:/^\s+\/\/.*/))return"comment"}switch(f(e.soyState)){case"templ-def":return(t=n.match(/^\.?([\w]+(?!\.[\w]+)*)/))?(e.soyState.pop(),"def"):(n.next(),null);case"templ-ref":return(t=n.match(/(\.?[a-zA-Z_][a-zA-Z_0-9]+)+/))?(e.soyState.pop(),t[0][0]=="."?"variable-2":"variable"):(t=n.match(/^\$([\w]+)/))?(e.soyState.pop(),j(e.variables,t[1],!e.lookupVariables)):(n.next(),null);case"namespace-def":return(t=n.match(/^\.?([\w\.]+)/))?(e.soyState.pop(),"variable"):(n.next(),null);case"param-def":return(t=n.match(/^\*/))?(e.soyState.pop(),e.soyState.push("param-type"),"type"):(t=n.match(/^\w+/))?(e.variables=S(e.variables,t[0]),e.soyState.pop(),e.soyState.push("param-type"),"def"):(n.next(),null);case"param-ref":return(t=n.match(/^\w+/))?(e.soyState.pop(),"property"):(n.next(),null);case"open-parentheses":return n.match(/[)]/)?(e.soyState.pop(),null):m(n,e);case"param-type":var a=n.peek();return"}]=>,".indexOf(a)!=-1?(e.soyState.pop(),null):a=="["?(e.soyState.push("param-type-record"),null):a=="("?(e.soyState.push("param-type-template"),null):a=="<"?(e.soyState.push("param-type-parameter"),null):(t=n.match(/^([\w]+|[?])/))?"type":(n.next(),null);case"param-type-record":var a=n.peek();return a=="]"?(e.soyState.pop(),null):n.match(/^\w+/)?(e.soyState.push("param-type"),"property"):(n.next(),null);case"param-type-parameter":return n.match(/^[>]/)?(e.soyState.pop(),null):n.match(/^[<,]/)?(e.soyState.push("param-type"),null):(n.next(),null);case"param-type-template":return n.match(/[>]/)?(e.soyState.pop(),e.soyState.push("param-type"),null):n.match(/^\w+/)?(e.soyState.push("param-type"),"def"):(n.next(),null);case"var-def":return(t=n.match(/^\$([\w]+)/))?(e.variables=S(e.variables,t[1]),e.soyState.pop(),"def"):(n.next(),null);case"for-loop":return n.match(/\bin\b/)?(e.soyState.pop(),"keyword"):n.peek()=="$"?(e.soyState.push("var-def"),null):(n.next(),null);case"record-literal":return n.match(/^[)]/)?(e.soyState.pop(),null):n.match(/[(,]/)?(e.soyState.push("map-value"),e.soyState.push("record-key"),null):(n.next(),null);case"map-literal":return n.match(/^[)]/)?(e.soyState.pop(),null):n.match(/[(,]/)?(e.soyState.push("map-value"),e.soyState.push("map-value"),null):(n.next(),null);case"list-literal":return n.match("]")?(e.soyState.pop(),e.lookupVariables=!0,w(e),null):n.match(/\bfor\b/)?(e.lookupVariables=!0,e.soyState.push("for-loop"),"keyword"):m(n,e);case"record-key":return n.match(/[\w]+/)?"property":n.match(/^[:]/)?(e.soyState.pop(),null):(n.next(),null);case"map-value":return n.peek()==")"||n.peek()==","||n.match(/^[:)]/)?(e.soyState.pop(),null):m(n,e);case"import":return n.eat(";")?(e.soyState.pop(),e.indent-=2*r.indentUnit,null):n.match(/\w+(?=\s+as\b)/)?"variable":(t=n.match(/\w+/))?/\b(from|as)\b/.test(t[0])?"keyword":"def":(t=n.match(/^["']/))?(e.soyState.push("string"),e.quoteKind=t[0],"string"):(n.next(),null);case"tag":var p,c;e.tag===void 0?(p=!0,c=""):(p=e.tag[0]=="/",c=p?e.tag.substring(1):e.tag);var y=i[c];if(n.match(/^\/?}/)){var I=n.current()=="/}";return I&&!p&&w(e),e.tag=="/template"||e.tag=="/deltemplate"?(e.variables=S(null,"ij"),e.indent=0):e.indent-=r.indentUnit*(I||h.indexOf(e.tag)==-1?2:1),e.soyState.pop(),"keyword"}else if(n.match(/^([\w?]+)(?==)/)){if(e.context&&e.context.tag==c&&n.current()=="kind"&&(t=n.match(/^="([^"]+)/,!1))){var U=t[1];e.context.kind=U;var $=b[U]||b.html,s=f(e.localStates);s.mode.indent&&(e.indent+=s.mode.indent(s.state,"","")),e.localStates.push({mode:$,state:l.startState($)})}return"attribute"}return m(n,e);case"template-call-expression":return n.match(/^([\w-?]+)(?==)/)?"attribute":n.eat(">")||n.eat("/>")?(e.soyState.pop(),"keyword"):m(n,e);case"literal":return n.match("{/literal}",!1)?(e.soyState.pop(),this.token(n,e)):E(n,e,/\{\/literal}/);case"export":if(t=n.match(/\w+/)){if(e.soyState.pop(),t=="const")return e.soyState.push("const-def"),"keyword";if(t=="extern")return e.soyState.push("param-def"),"keyword"}else n.next();return null;case"const-def":return n.match(/^\w+/)?(e.soyState.pop(),"def"):(n.next(),null)}if(n.match("{literal}"))return e.indent+=r.indentUnit,e.soyState.push("literal"),e.context=new k(e.context,"literal",e.variables),"keyword";if(t=n.match(/^\{([/@\\]?\w+\??)(?=$|[\s}]|\/[/*])/)){var q=e.tag;e.tag=t[1];var p=e.tag[0]=="/",V=!!i[e.tag],c=p?e.tag.substring(1):e.tag,y=i[c];e.tag!="/switch"&&(e.indent+=((p||y&&y.reduceIndent)&&q!="switch"?1:2)*r.indentUnit),e.soyState.push("tag");var T=!1;if(y){if(p||y.soyState&&e.soyState.push(y.soyState),!y.noEndTag&&(V||!p))e.context=new k(e.context,e.tag,y.variableScope?e.variables:null);else if(p){var K=c=="extern"&&e.context&&e.context.tag=="export";if(!e.context||e.context.tag!=c&&!K)T=!0;else if(e.context){if(e.context.kind){e.localStates.pop();var s=f(e.localStates);s.mode.indent&&(e.indent-=s.mode.indent(s.state,"",""))}w(e)}}}else p&&(T=!0);return(T?"error ":"")+"keyword"}else{if(n.eat("{"))return e.tag="print",e.indent+=2*r.indentUnit,e.soyState.push("tag"),"keyword";if(!e.context&&n.sol()&&n.match(/import\b/))return e.soyState.push("import"),e.indent+=2*r.indentUnit,"keyword";if(t=n.match("<{"))return e.soyState.push("template-call-expression"),e.indent+=2*r.indentUnit,e.soyState.push("tag"),"keyword";if(t=n.match(""))return e.indent-=1*r.indentUnit,"keyword"}return E(n,e,/\{|\s+\/\/|\/\*/)},indent:function(n,e,t){var u=n.indent,d=f(n.soyState);if(d=="comment")return l.Pass;if(d=="literal")/^\{\/literal}/.test(e)&&(u-=r.indentUnit);else{if(/^\s*\{\/(template|deltemplate)\b/.test(e))return 0;/^\{(\/|(fallbackmsg|elseif|else|ifempty)\b)/.test(e)&&(u-=r.indentUnit),n.tag!="switch"&&/^\{(case|default)\b/.test(e)&&(u-=r.indentUnit),/^\{\/switch\b/.test(e)&&(u-=r.indentUnit)}var a=f(n.localStates);return u&&a.mode.indent&&(u+=a.mode.indent(a.state,e,t)),u},innerMode:function(n){return n.soyState.length&&f(n.soyState)!="literal"?null:f(n.localStates)},electricInput:/^\s*\{(\/|\/template|\/deltemplate|\/switch|fallbackmsg|elseif|else|case|default|ifempty|\/literal\})$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",useInnerComments:!1,fold:"indent"}},"htmlmixed"),l.registerHelper("wordChars","soy",/[\w$]/),l.registerHelper("hintWords","soy",Object.keys(i).concat(["css","debugger"])),l.defineMIME("text/x-soy","soy")})})();var O=H.exports;const Z=P(O),B=D({__proto__:null,default:Z},[O]);export{B as s}; +import{g as P,c as F}from"./index-rXwcQ1j1.js";import{r as z}from"./htmlmixed-BkyqFvnk.js";function D(v,g){for(var l=0;lo[i]})}}}return Object.freeze(Object.defineProperty(v,Symbol.toStringTag,{value:"Module"}))}var H={exports:{}};(function(v,g){(function(l){l(F,z())})(function(l){var o={noEndTag:!0,soyState:"param-def"},i={alias:{noEndTag:!0},delpackage:{noEndTag:!0},namespace:{noEndTag:!0,soyState:"namespace-def"},"@attribute":o,"@attribute?":o,"@param":o,"@param?":o,"@inject":o,"@inject?":o,"@state":o,template:{soyState:"templ-def",variableScope:!0},extern:{soyState:"param-def"},export:{soyState:"export"},literal:{},msg:{},fallbackmsg:{noEndTag:!0,reduceIndent:!0},select:{},plural:{},let:{soyState:"var-def"},if:{},javaimpl:{},jsimpl:{},elseif:{noEndTag:!0,reduceIndent:!0},else:{noEndTag:!0,reduceIndent:!0},switch:{},case:{noEndTag:!0,reduceIndent:!0},default:{noEndTag:!0,reduceIndent:!0},foreach:{variableScope:!0,soyState:"for-loop"},ifempty:{noEndTag:!0,reduceIndent:!0},for:{variableScope:!0,soyState:"for-loop"},call:{soyState:"templ-ref"},param:{soyState:"param-ref"},print:{noEndTag:!0},deltemplate:{soyState:"templ-def",variableScope:!0},delcall:{soyState:"templ-ref"},log:{},element:{variableScope:!0},velog:{},const:{soyState:"const-def"}},h=Object.keys(i).filter(function(r){return!i[r].noEndTag||i[r].reduceIndent});l.defineMode("soy",function(r){var x=l.getMode(r,"text/plain"),b={html:l.getMode(r,{name:"text/html",multilineTagIndentFactor:2,multilineTagIndentPastTag:!1,allowMissingTagName:!0}),attributes:x,text:x,uri:x,trusted_resource_uri:x,css:l.getMode(r,"text/css"),js:l.getMode(r,{name:"text/javascript",statementIndent:2*r.indentUnit})};function f(n){return n[n.length-1]}function E(n,e,t){if(n.sol()){for(var u=0;u]=?)/)?"operator":(t=n.match(/^\$([\w]+)/))?j(e.variables,t[1],!e.lookupVariables):(t=n.match(/^\w+/))?/^(?:as|and|or|not|in|if)$/.test(t[0])?"keyword":null:(n.next(),null)}return{startState:function(){return{soyState:[],variables:S(null,"ij"),scopes:null,indent:0,quoteKind:null,context:null,lookupVariables:!0,localStates:[{mode:b.html,state:l.startState(b.html)}]}},copyState:function(n){return{tag:n.tag,soyState:n.soyState.concat([]),variables:n.variables,context:n.context,indent:n.indent,quoteKind:n.quoteKind,lookupVariables:n.lookupVariables,localStates:n.localStates.map(function(e){return{mode:e.mode,state:l.copyState(e.mode,e.state)}})}},token:function(n,e){var t;switch(f(e.soyState)){case"comment":if(n.match(/^.*?\*\//)?e.soyState.pop():n.skipToEnd(),!e.context||!e.context.scope)for(var u=/@param\??\s+(\S+)/g,d=n.current(),t;t=u.exec(d);)e.variables=S(e.variables,t[1]);return"comment";case"string":var t=n.match(/^.*?(["']|\\[\s\S])/);return t?t[1]==e.quoteKind&&(e.quoteKind=null,e.soyState.pop()):n.skipToEnd(),"string"}if(!e.soyState.length||f(e.soyState)!="literal"){if(n.match(/^\/\*/))return e.soyState.push("comment"),"comment";if(n.match(n.sol()?/^\s*\/\/.*/:/^\s+\/\/.*/))return"comment"}switch(f(e.soyState)){case"templ-def":return(t=n.match(/^\.?([\w]+(?!\.[\w]+)*)/))?(e.soyState.pop(),"def"):(n.next(),null);case"templ-ref":return(t=n.match(/(\.?[a-zA-Z_][a-zA-Z_0-9]+)+/))?(e.soyState.pop(),t[0][0]=="."?"variable-2":"variable"):(t=n.match(/^\$([\w]+)/))?(e.soyState.pop(),j(e.variables,t[1],!e.lookupVariables)):(n.next(),null);case"namespace-def":return(t=n.match(/^\.?([\w\.]+)/))?(e.soyState.pop(),"variable"):(n.next(),null);case"param-def":return(t=n.match(/^\*/))?(e.soyState.pop(),e.soyState.push("param-type"),"type"):(t=n.match(/^\w+/))?(e.variables=S(e.variables,t[0]),e.soyState.pop(),e.soyState.push("param-type"),"def"):(n.next(),null);case"param-ref":return(t=n.match(/^\w+/))?(e.soyState.pop(),"property"):(n.next(),null);case"open-parentheses":return n.match(/[)]/)?(e.soyState.pop(),null):m(n,e);case"param-type":var a=n.peek();return"}]=>,".indexOf(a)!=-1?(e.soyState.pop(),null):a=="["?(e.soyState.push("param-type-record"),null):a=="("?(e.soyState.push("param-type-template"),null):a=="<"?(e.soyState.push("param-type-parameter"),null):(t=n.match(/^([\w]+|[?])/))?"type":(n.next(),null);case"param-type-record":var a=n.peek();return a=="]"?(e.soyState.pop(),null):n.match(/^\w+/)?(e.soyState.push("param-type"),"property"):(n.next(),null);case"param-type-parameter":return n.match(/^[>]/)?(e.soyState.pop(),null):n.match(/^[<,]/)?(e.soyState.push("param-type"),null):(n.next(),null);case"param-type-template":return n.match(/[>]/)?(e.soyState.pop(),e.soyState.push("param-type"),null):n.match(/^\w+/)?(e.soyState.push("param-type"),"def"):(n.next(),null);case"var-def":return(t=n.match(/^\$([\w]+)/))?(e.variables=S(e.variables,t[1]),e.soyState.pop(),"def"):(n.next(),null);case"for-loop":return n.match(/\bin\b/)?(e.soyState.pop(),"keyword"):n.peek()=="$"?(e.soyState.push("var-def"),null):(n.next(),null);case"record-literal":return n.match(/^[)]/)?(e.soyState.pop(),null):n.match(/[(,]/)?(e.soyState.push("map-value"),e.soyState.push("record-key"),null):(n.next(),null);case"map-literal":return n.match(/^[)]/)?(e.soyState.pop(),null):n.match(/[(,]/)?(e.soyState.push("map-value"),e.soyState.push("map-value"),null):(n.next(),null);case"list-literal":return n.match("]")?(e.soyState.pop(),e.lookupVariables=!0,w(e),null):n.match(/\bfor\b/)?(e.lookupVariables=!0,e.soyState.push("for-loop"),"keyword"):m(n,e);case"record-key":return n.match(/[\w]+/)?"property":n.match(/^[:]/)?(e.soyState.pop(),null):(n.next(),null);case"map-value":return n.peek()==")"||n.peek()==","||n.match(/^[:)]/)?(e.soyState.pop(),null):m(n,e);case"import":return n.eat(";")?(e.soyState.pop(),e.indent-=2*r.indentUnit,null):n.match(/\w+(?=\s+as\b)/)?"variable":(t=n.match(/\w+/))?/\b(from|as)\b/.test(t[0])?"keyword":"def":(t=n.match(/^["']/))?(e.soyState.push("string"),e.quoteKind=t[0],"string"):(n.next(),null);case"tag":var p,c;e.tag===void 0?(p=!0,c=""):(p=e.tag[0]=="/",c=p?e.tag.substring(1):e.tag);var y=i[c];if(n.match(/^\/?}/)){var I=n.current()=="/}";return I&&!p&&w(e),e.tag=="/template"||e.tag=="/deltemplate"?(e.variables=S(null,"ij"),e.indent=0):e.indent-=r.indentUnit*(I||h.indexOf(e.tag)==-1?2:1),e.soyState.pop(),"keyword"}else if(n.match(/^([\w?]+)(?==)/)){if(e.context&&e.context.tag==c&&n.current()=="kind"&&(t=n.match(/^="([^"]+)/,!1))){var U=t[1];e.context.kind=U;var $=b[U]||b.html,s=f(e.localStates);s.mode.indent&&(e.indent+=s.mode.indent(s.state,"","")),e.localStates.push({mode:$,state:l.startState($)})}return"attribute"}return m(n,e);case"template-call-expression":return n.match(/^([\w-?]+)(?==)/)?"attribute":n.eat(">")||n.eat("/>")?(e.soyState.pop(),"keyword"):m(n,e);case"literal":return n.match("{/literal}",!1)?(e.soyState.pop(),this.token(n,e)):E(n,e,/\{\/literal}/);case"export":if(t=n.match(/\w+/)){if(e.soyState.pop(),t=="const")return e.soyState.push("const-def"),"keyword";if(t=="extern")return e.soyState.push("param-def"),"keyword"}else n.next();return null;case"const-def":return n.match(/^\w+/)?(e.soyState.pop(),"def"):(n.next(),null)}if(n.match("{literal}"))return e.indent+=r.indentUnit,e.soyState.push("literal"),e.context=new k(e.context,"literal",e.variables),"keyword";if(t=n.match(/^\{([/@\\]?\w+\??)(?=$|[\s}]|\/[/*])/)){var q=e.tag;e.tag=t[1];var p=e.tag[0]=="/",V=!!i[e.tag],c=p?e.tag.substring(1):e.tag,y=i[c];e.tag!="/switch"&&(e.indent+=((p||y&&y.reduceIndent)&&q!="switch"?1:2)*r.indentUnit),e.soyState.push("tag");var T=!1;if(y){if(p||y.soyState&&e.soyState.push(y.soyState),!y.noEndTag&&(V||!p))e.context=new k(e.context,e.tag,y.variableScope?e.variables:null);else if(p){var K=c=="extern"&&e.context&&e.context.tag=="export";if(!e.context||e.context.tag!=c&&!K)T=!0;else if(e.context){if(e.context.kind){e.localStates.pop();var s=f(e.localStates);s.mode.indent&&(e.indent-=s.mode.indent(s.state,"",""))}w(e)}}}else p&&(T=!0);return(T?"error ":"")+"keyword"}else{if(n.eat("{"))return e.tag="print",e.indent+=2*r.indentUnit,e.soyState.push("tag"),"keyword";if(!e.context&&n.sol()&&n.match(/import\b/))return e.soyState.push("import"),e.indent+=2*r.indentUnit,"keyword";if(t=n.match("<{"))return e.soyState.push("template-call-expression"),e.indent+=2*r.indentUnit,e.soyState.push("tag"),"keyword";if(t=n.match(""))return e.indent-=1*r.indentUnit,"keyword"}return E(n,e,/\{|\s+\/\/|\/\*/)},indent:function(n,e,t){var u=n.indent,d=f(n.soyState);if(d=="comment")return l.Pass;if(d=="literal")/^\{\/literal}/.test(e)&&(u-=r.indentUnit);else{if(/^\s*\{\/(template|deltemplate)\b/.test(e))return 0;/^\{(\/|(fallbackmsg|elseif|else|ifempty)\b)/.test(e)&&(u-=r.indentUnit),n.tag!="switch"&&/^\{(case|default)\b/.test(e)&&(u-=r.indentUnit),/^\{\/switch\b/.test(e)&&(u-=r.indentUnit)}var a=f(n.localStates);return u&&a.mode.indent&&(u+=a.mode.indent(a.state,e,t)),u},innerMode:function(n){return n.soyState.length&&f(n.soyState)!="literal"?null:f(n.localStates)},electricInput:/^\s*\{(\/|\/template|\/deltemplate|\/switch|fallbackmsg|elseif|else|case|default|ifempty|\/literal\})$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",useInnerComments:!1,fold:"indent"}},"htmlmixed"),l.registerHelper("wordChars","soy",/[\w$]/),l.registerHelper("hintWords","soy",Object.keys(i).concat(["css","debugger"])),l.defineMIME("text/x-soy","soy")})})();var O=H.exports;const Z=P(O),B=D({__proto__:null,default:Z},[O]);export{B as s}; diff --git a/dist-ui/assets/sparql-DoxWDWvp.js b/dist-ui/assets/sparql-DEeuvmRf.js similarity index 98% rename from dist-ui/assets/sparql-DoxWDWvp.js rename to dist-ui/assets/sparql-DEeuvmRf.js index 6d9f63cf..000cf6a9 100644 --- a/dist-ui/assets/sparql-DoxWDWvp.js +++ b/dist-ui/assets/sparql-DEeuvmRf.js @@ -1 +1 @@ -import{g as w,c as k}from"./index-CHg1vBCc.js";function C(a,p){for(var i=0;iu[c]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var E={exports:{}};(function(a,p){(function(i){i(k)})(function(i){i.defineMode("sparql",function(u){var c=u.indentUnit,o;function d(n){return new RegExp("^(?:"+n.join("|")+")$","i")}var h=d(["str","lang","langmatches","datatype","bound","sameterm","isiri","isuri","iri","uri","bnode","count","sum","min","max","avg","sample","group_concat","rand","abs","ceil","floor","round","concat","substr","strlen","replace","ucase","lcase","encode_for_uri","contains","strstarts","strends","strbefore","strafter","year","month","day","hours","minutes","seconds","timezone","tz","now","uuid","struuid","md5","sha1","sha256","sha384","sha512","coalesce","if","strlang","strdt","isnumeric","regex","exists","isblank","isliteral","a","bind"]),m=d(["base","prefix","select","distinct","reduced","construct","describe","ask","from","named","where","order","limit","offset","filter","optional","graph","by","asc","desc","as","having","undef","values","group","minus","in","not","service","silent","using","insert","delete","union","true","false","with","data","copy","to","move","add","create","drop","clear","load","into"]),y=/[*+\-<>=&|\^\/!\?]/,x="[A-Za-z_\\-0-9]",b=new RegExp("[A-Za-z]"),D=new RegExp("(("+x+"|\\.)*("+x+"))?:");function F(n,e){var t=n.next();if(o=null,t=="$"||t=="?")return t=="?"&&n.match(/\s/,!1)?"operator":(n.match(/^[A-Za-z0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][A-Za-z0-9_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*/),"variable-2");if(t=="<"&&!n.match(/^[\s\u00a0=]/,!1))return n.match(/^[^\s\u00a0>]*>?/),"atom";if(t=='"'||t=="'")return e.tokenize=_(t),e.tokenize(n,e);if(/[{}\(\),\.;\[\]]/.test(t))return o=t,"bracket";if(t=="#")return n.skipToEnd(),"comment";if(y.test(t))return"operator";if(t==":")return g(n),"atom";if(t=="@")return n.eatWhile(/[a-z\d\-]/i),"meta";if(b.test(t)&&n.match(D))return g(n),"atom";n.eatWhile(/[_\w\d]/);var r=n.current();return h.test(r)?"builtin":m.test(r)?"keyword":"variable"}function g(n){n.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i)}function _(n){return function(e,t){for(var r=!1,l;(l=e.next())!=null;){if(l==n&&!r){t.tokenize=F;break}r=!r&&l=="\\"}return"string"}}function f(n,e,t){n.context={prev:n.context,indent:n.indent,col:t,type:e}}function s(n){n.indent=n.context.indent,n.context=n.context.prev}return{startState:function(){return{tokenize:F,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!="comment"&&e.context&&e.context.align==null&&e.context.type!="pattern"&&(e.context.align=!0),o=="(")f(e,")",n.column());else if(o=="[")f(e,"]",n.column());else if(o=="{")f(e,"}",n.column());else if(/[\]\}\)]/.test(o)){for(;e.context&&e.context.type=="pattern";)s(e);e.context&&o==e.context.type&&(s(e),o=="}"&&e.context&&e.context.type=="pattern"&&s(e))}else o=="."&&e.context&&e.context.type=="pattern"?s(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?f(e,"pattern",n.column()):e.context.type=="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e){var t=e&&e.charAt(0),r=n.context;if(/[\]\}]/.test(t))for(;r&&r.type=="pattern";)r=r.prev;var l=r&&t==r.type;return r?r.type=="pattern"?r.col:r.align?r.col+(l?0:1):r.indent+(l?0:c):0},lineComment:"#"}}),i.defineMIME("application/sparql-query","sparql")})})();var v=E.exports;const z=w(v),A=C({__proto__:null,default:z},[v]);export{A as s}; +import{g as w,c as k}from"./index-rXwcQ1j1.js";function C(a,p){for(var i=0;iu[c]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var E={exports:{}};(function(a,p){(function(i){i(k)})(function(i){i.defineMode("sparql",function(u){var c=u.indentUnit,o;function d(n){return new RegExp("^(?:"+n.join("|")+")$","i")}var h=d(["str","lang","langmatches","datatype","bound","sameterm","isiri","isuri","iri","uri","bnode","count","sum","min","max","avg","sample","group_concat","rand","abs","ceil","floor","round","concat","substr","strlen","replace","ucase","lcase","encode_for_uri","contains","strstarts","strends","strbefore","strafter","year","month","day","hours","minutes","seconds","timezone","tz","now","uuid","struuid","md5","sha1","sha256","sha384","sha512","coalesce","if","strlang","strdt","isnumeric","regex","exists","isblank","isliteral","a","bind"]),m=d(["base","prefix","select","distinct","reduced","construct","describe","ask","from","named","where","order","limit","offset","filter","optional","graph","by","asc","desc","as","having","undef","values","group","minus","in","not","service","silent","using","insert","delete","union","true","false","with","data","copy","to","move","add","create","drop","clear","load","into"]),y=/[*+\-<>=&|\^\/!\?]/,x="[A-Za-z_\\-0-9]",b=new RegExp("[A-Za-z]"),D=new RegExp("(("+x+"|\\.)*("+x+"))?:");function F(n,e){var t=n.next();if(o=null,t=="$"||t=="?")return t=="?"&&n.match(/\s/,!1)?"operator":(n.match(/^[A-Za-z0-9_\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][A-Za-z0-9_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]*/),"variable-2");if(t=="<"&&!n.match(/^[\s\u00a0=]/,!1))return n.match(/^[^\s\u00a0>]*>?/),"atom";if(t=='"'||t=="'")return e.tokenize=_(t),e.tokenize(n,e);if(/[{}\(\),\.;\[\]]/.test(t))return o=t,"bracket";if(t=="#")return n.skipToEnd(),"comment";if(y.test(t))return"operator";if(t==":")return g(n),"atom";if(t=="@")return n.eatWhile(/[a-z\d\-]/i),"meta";if(b.test(t)&&n.match(D))return g(n),"atom";n.eatWhile(/[_\w\d]/);var r=n.current();return h.test(r)?"builtin":m.test(r)?"keyword":"variable"}function g(n){n.match(/(\.(?=[\w_\-\\%])|[:\w_-]|\\[-\\_~.!$&'()*+,;=/?#@%]|%[a-f\d][a-f\d])+/i)}function _(n){return function(e,t){for(var r=!1,l;(l=e.next())!=null;){if(l==n&&!r){t.tokenize=F;break}r=!r&&l=="\\"}return"string"}}function f(n,e,t){n.context={prev:n.context,indent:n.indent,col:t,type:e}}function s(n){n.indent=n.context.indent,n.context=n.context.prev}return{startState:function(){return{tokenize:F,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!="comment"&&e.context&&e.context.align==null&&e.context.type!="pattern"&&(e.context.align=!0),o=="(")f(e,")",n.column());else if(o=="[")f(e,"]",n.column());else if(o=="{")f(e,"}",n.column());else if(/[\]\}\)]/.test(o)){for(;e.context&&e.context.type=="pattern";)s(e);e.context&&o==e.context.type&&(s(e),o=="}"&&e.context&&e.context.type=="pattern"&&s(e))}else o=="."&&e.context&&e.context.type=="pattern"?s(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?f(e,"pattern",n.column()):e.context.type=="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e){var t=e&&e.charAt(0),r=n.context;if(/[\]\}]/.test(t))for(;r&&r.type=="pattern";)r=r.prev;var l=r&&t==r.type;return r?r.type=="pattern"?r.col:r.align?r.col+(l?0:1):r.indent+(l?0:c):0},lineComment:"#"}}),i.defineMIME("application/sparql-query","sparql")})})();var v=E.exports;const z=w(v),A=C({__proto__:null,default:z},[v]);export{A as s}; diff --git a/dist-ui/assets/spreadsheet-C9OfUIjx.js b/dist-ui/assets/spreadsheet-D3vFY5_N.js similarity index 96% rename from dist-ui/assets/spreadsheet-C9OfUIjx.js rename to dist-ui/assets/spreadsheet-D3vFY5_N.js index 80918c03..d7d28ac7 100644 --- a/dist-ui/assets/spreadsheet-C9OfUIjx.js +++ b/dist-ui/assets/spreadsheet-D3vFY5_N.js @@ -1 +1 @@ -import{g as o,c as a}from"./index-CHg1vBCc.js";function f(c,i){for(var r=0;re[t]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(c,i){(function(r){r(a)})(function(r){r.defineMode("spreadsheet",function(){return{startState:function(){return{stringType:null,stack:[]}},token:function(e,t){if(e){switch(t.stack.length===0&&(e.peek()=='"'||e.peek()=="'")&&(t.stringType=e.peek(),e.next(),t.stack.unshift("string")),t.stack[0]){case"string":for(;t.stack[0]==="string"&&!e.eol();)e.peek()===t.stringType?(e.next(),t.stack.shift()):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return"string";case"characterClass":for(;t.stack[0]==="characterClass"&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||t.stack.shift();return"operator"}var n=e.peek();switch(n){case"[":return e.next(),t.stack.unshift("characterClass"),"bracket";case":":return e.next(),"operator";case"\\":return e.match(/\\[a-z]+/)?"string-2":(e.next(),"atom");case".":case",":case";":case"*":case"-":case"+":case"^":case"<":case"/":case"=":return e.next(),"atom";case"$":return e.next(),"builtin"}return e.match(/\d+/)?e.match(/^\w+/)?"error":"number":e.match(/^[a-zA-Z_]\w*/)?e.match(/(?=[\(.])/,!1)?"keyword":"variable-2":["[","]","(",")","{","}"].indexOf(n)!=-1?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}),r.defineMIME("text/x-spreadsheet","spreadsheet")})})();var s=u.exports;const p=o(s),h=f({__proto__:null,default:p},[s]);export{h as s}; +import{g as o,c as a}from"./index-rXwcQ1j1.js";function f(c,i){for(var r=0;re[t]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(c,i){(function(r){r(a)})(function(r){r.defineMode("spreadsheet",function(){return{startState:function(){return{stringType:null,stack:[]}},token:function(e,t){if(e){switch(t.stack.length===0&&(e.peek()=='"'||e.peek()=="'")&&(t.stringType=e.peek(),e.next(),t.stack.unshift("string")),t.stack[0]){case"string":for(;t.stack[0]==="string"&&!e.eol();)e.peek()===t.stringType?(e.next(),t.stack.shift()):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return"string";case"characterClass":for(;t.stack[0]==="characterClass"&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||t.stack.shift();return"operator"}var n=e.peek();switch(n){case"[":return e.next(),t.stack.unshift("characterClass"),"bracket";case":":return e.next(),"operator";case"\\":return e.match(/\\[a-z]+/)?"string-2":(e.next(),"atom");case".":case",":case";":case"*":case"-":case"+":case"^":case"<":case"/":case"=":return e.next(),"atom";case"$":return e.next(),"builtin"}return e.match(/\d+/)?e.match(/^\w+/)?"error":"number":e.match(/^[a-zA-Z_]\w*/)?e.match(/(?=[\(.])/,!1)?"keyword":"variable-2":["[","]","(",")","{","}"].indexOf(n)!=-1?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}),r.defineMIME("text/x-spreadsheet","spreadsheet")})})();var s=u.exports;const p=o(s),h=f({__proto__:null,default:p},[s]);export{h as s}; diff --git a/dist-ui/assets/sql-CF8DHgiV.js b/dist-ui/assets/sql-CllU0mRF.js similarity index 99% rename from dist-ui/assets/sql-CF8DHgiV.js rename to dist-ui/assets/sql-CllU0mRF.js index 98fc83fa..befef803 100644 --- a/dist-ui/assets/sql-CF8DHgiV.js +++ b/dist-ui/assets/sql-CllU0mRF.js @@ -1 +1 @@ -import{g as $,c as O}from"./index-CHg1vBCc.js";function A(h,y){for(var i=0;iu[d]})}}}return Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var P={exports:{}};(function(h,y){(function(i){i(O)})(function(i){i.defineMode("sql",function(n,o){var f=o.client||{},g=o.atoms||{false:!0,true:!0,null:!0},Q=o.builtin||e(w),F=o.keywords||e(p),k=o.operatorChars||/^[*+\-%<>!=&|~^\/]/,s=o.support||{},q=o.hooks||{},C=o.dateSQL||{date:!0,time:!0,timestamp:!0},L=o.backslashStringEscapes!==!1,I=o.brackets||/^[\{}\(\)\[\]]/,z=o.punctuation||/^[;.,:]/;function b(t,a){var r=t.next();if(q[r]){var l=q[r](t,a);if(l!==!1)return l}if(s.hexNumber&&(r=="0"&&t.match(/^[xX][0-9a-fA-F]+/)||(r=="x"||r=="X")&&t.match(/^'[0-9a-fA-F]*'/)))return"number";if(s.binaryNumber&&((r=="b"||r=="B")&&t.match(/^'[01]*'/)||r=="0"&&t.match(/^b[01]+/)))return"number";if(r.charCodeAt(0)>47&&r.charCodeAt(0)<58)return t.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),s.decimallessFloat&&t.match(/^\.(?!\.)/),"number";if(r=="?"&&(t.eatSpace()||t.eol()||t.eat(";")))return"variable-3";if(r=="'"||r=='"'&&s.doubleQuote)return a.tokenize=j(r),a.tokenize(t,a);if((s.nCharCast&&(r=="n"||r=="N")||s.charsetCast&&r=="_"&&t.match(/[a-z][a-z0-9]*/i))&&(t.peek()=="'"||t.peek()=='"'))return"keyword";if(s.escapeConstant&&(r=="e"||r=="E")&&(t.peek()=="'"||t.peek()=='"'&&s.doubleQuote))return a.tokenize=function(_,E){return(E.tokenize=j(_.next(),!0))(_,E)},"keyword";if(s.commentSlashSlash&&r=="/"&&t.eat("/"))return t.skipToEnd(),"comment";if(s.commentHash&&r=="#"||r=="-"&&t.eat("-")&&(!s.commentSpaceRequired||t.eat(" ")))return t.skipToEnd(),"comment";if(r=="/"&&t.eat("*"))return a.tokenize=v(1),a.tokenize(t,a);if(r=="."){if(s.zerolessFloat&&t.match(/^(?:\d+(?:e[+-]?\d+)?)/i))return"number";if(t.match(/^\.+/))return null;if(t.match(/^[\w\d_$#]+/))return"variable-2"}else{if(k.test(r))return t.eatWhile(k),"operator";if(I.test(r))return"bracket";if(z.test(r))return t.eatWhile(z),"punctuation";if(r=="{"&&(t.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||t.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";t.eatWhile(/^[_\w\d]/);var m=t.current().toLowerCase();return C.hasOwnProperty(m)&&(t.match(/^( )+'[^']*'/)||t.match(/^( )+"[^"]*"/))?"number":g.hasOwnProperty(m)?"atom":Q.hasOwnProperty(m)?"type":F.hasOwnProperty(m)?"keyword":f.hasOwnProperty(m)?"builtin":null}}function j(t,a){return function(r,l){for(var m=!1,_;(_=r.next())!=null;){if(_==t&&!m){l.tokenize=b;break}m=(L||a)&&!m&&_=="\\"}return"string"}}function v(t){return function(a,r){var l=a.match(/^.*?(\/\*|\*\/)/);return l?l[1]=="/*"?r.tokenize=v(t+1):t>1?r.tokenize=v(t-1):r.tokenize=b:a.skipToEnd(),"comment"}}function S(t,a,r){a.context={prev:a.context,indent:t.indentation(),col:t.column(),type:r}}function M(t){t.indent=t.context.indent,t.context=t.context.prev}return{startState:function(){return{tokenize:b,context:null}},token:function(t,a){if(t.sol()&&a.context&&a.context.align==null&&(a.context.align=!1),a.tokenize==b&&t.eatSpace())return null;var r=a.tokenize(t,a);if(r=="comment")return r;a.context&&a.context.align==null&&(a.context.align=!0);var l=t.current();return l=="("?S(t,a,")"):l=="["?S(t,a,"]"):a.context&&a.context.type==l&&M(a),r},indent:function(t,a){var r=t.context;if(!r)return i.Pass;var l=a.charAt(0)==r.type;return r.align?r.col+(l?0:1):r.indent+(l?0:n.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:s.commentSlashSlash?"//":s.commentHash?"#":"--",closeBrackets:"()[]{}''\"\"``",config:o}});function u(n){for(var o;(o=n.next())!=null;)if(o=="`"&&!n.eat("`"))return"variable-2";return n.backUp(n.current().length-1),n.eatWhile(/\w/)?"variable-2":null}function d(n){for(var o;(o=n.next())!=null;)if(o=='"'&&!n.eat('"'))return"variable-2";return n.backUp(n.current().length-1),n.eatWhile(/\w/)?"variable-2":null}function c(n){return n.eat("@")&&(n.match("session."),n.match("local."),n.match("global.")),n.eat("'")?(n.match(/^.*'/),"variable-2"):n.eat('"')?(n.match(/^.*"/),"variable-2"):n.eat("`")?(n.match(/^.*`/),"variable-2"):n.match(/^[0-9a-zA-Z$\.\_]+/)?"variable-2":null}function x(n){return n.eat("N")?"atom":n.match(/^[a-zA-Z.#!?]/)?"variable-2":null}var p="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";function e(n){for(var o={},f=n.split(" "),g=0;g!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:e("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":c}}),i.defineMIME("text/x-mysql",{name:"sql",client:e("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:e(p+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:e("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:e("date time timestamp"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":c,"`":u,"\\":x}}),i.defineMIME("text/x-mariadb",{name:"sql",client:e("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:e(p+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group group_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:e("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:e("date time timestamp"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":c,"`":u,"\\":x}}),i.defineMIME("text/x-sqlite",{name:"sql",client:e("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:e(p+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:e("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:e("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:e("date time timestamp datetime"),support:e("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":c,":":c,"?":c,$:c,'"':d,"`":u}}),i.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:e("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:e("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:e("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:e("commentSlashSlash decimallessFloat"),hooks:{}}),i.defineMIME("text/x-plsql",{name:"sql",client:e("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:e("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:e("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:e("date time timestamp"),support:e("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),i.defineMIME("text/x-hive",{name:"sql",keywords:e("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"),builtin:e("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:e("date timestamp"),support:e("doubleQuote binaryNumber hexNumber")}),i.defineMIME("text/x-pgsql",{name:"sql",client:e("source"),keywords:e(p+"a abort abs absent absolute access according action ada add admin after aggregate alias all allocate also alter always analyse analyze and any are array array_agg array_max_cardinality as asc asensitive assert assertion assignment asymmetric at atomic attach attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli between bigint binary bit bit_length blob blocked bom boolean both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain char char_length character character_length character_set_catalog character_set_name character_set_schema characteristics characters check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column column_name columns command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constant constraint constraint_catalog constraint_name constraint_schema constraints constructor contains content continue control conversion convert copy corr corresponding cost count covar_pop covar_samp create cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datatype date datetime_interval_code datetime_interval_precision day db deallocate debug dec decimal declare default defaults deferrable deferred defined definer degree delete delimiter delimiters dense_rank depends depth deref derived desc describe descriptor detach detail deterministic diagnostics dictionary disable discard disconnect dispatch distinct dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain double drop dump dynamic dynamic_function dynamic_function_code each element else elseif elsif empty enable encoding encrypted end end_frame end_partition endexec enforced enum equals errcode error escape event every except exception exclude excluding exclusive exec execute exists exit exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreach foreign fortran forward found frame_row free freeze from fs full function functions fusion g general generated get global go goto grant granted greatest group grouping groups handler having header hex hierarchy hint hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import in include including increment indent index indexes indicator info inherit inherits initially inline inner inout input insensitive insert instance instantiable instead int integer integrity intersect intersection interval into invoker is isnull isolation join k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like like_regex limit link listen ln load local localtime localtimestamp location locator lock locked log logged loop lower m map mapping match matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized not nothing notice notify notnull nowait nth_value ntile null nullable nullif nulls number numeric object occurrences_regex octet_length octets of off offset oids old on only open operator option options or order ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password path percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding precision prepare prepared preserve primary print_strict_params prior privileges procedural procedure procedures program public publication query quote raise range rank read reads real reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result result_oid return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns reverse revoke right role rollback rollup routine routine_catalog routine_name routine_schema routines row row_count row_number rows rowtype rule savepoint scale schema schema_name schemas scope scope_catalog scope_name scope_schema scroll search second section security select selective self sensitive sequence sequences serializable server server_name session session_user set setof sets share show similar simple size skip slice smallint snapshot some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable stacked standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t table table_name tables tablesample tablespace temp template temporary text then ties time timestamp timezone_hour timezone_minute to token top_level_count trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted union unique unknown unlink unlisten unlogged unnamed unnest until untyped update upper uri usage use_column use_variable user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of values var_pop var_samp varbinary varchar variable_conflict variadic varying verbose version versioning view views volatile warning when whenever where while whitespace width_bucket window with within without work wrapper write xml xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes zone"),builtin:e("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time zone timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:e("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,dateSQL:e("date time timestamp"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")}),i.defineMIME("text/x-gql",{name:"sql",keywords:e("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:e("false true"),builtin:e("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),i.defineMIME("text/x-gpsql",{name:"sql",client:e("source"),keywords:e("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:e("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:e("date time timestamp"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),i.defineMIME("text/x-sparksql",{name:"sql",keywords:e("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases data dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:e("abs acos acosh add_months aggregate and any approx_count_distinct approx_percentile array array_contains array_distinct array_except array_intersect array_join array_max array_min array_position array_remove array_repeat array_sort array_union arrays_overlap arrays_zip ascii asin asinh assert_true atan atan2 atanh avg base64 between bigint bin binary bit_and bit_count bit_get bit_length bit_or bit_xor bool_and bool_or boolean bround btrim cardinality case cast cbrt ceil ceiling char char_length character_length chr coalesce collect_list collect_set concat concat_ws conv corr cos cosh cot count count_if count_min_sketch covar_pop covar_samp crc32 cume_dist current_catalog current_database current_date current_timestamp current_timezone current_user date date_add date_format date_from_unix_date date_part date_sub date_trunc datediff day dayofmonth dayofweek dayofyear decimal decode degrees delimited dense_rank div double e element_at elt encode every exists exp explode explode_outer expm1 extract factorial filter find_in_set first first_value flatten float floor forall format_number format_string from_csv from_json from_unixtime from_utc_timestamp get_json_object getbit greatest grouping grouping_id hash hex hour hypot if ifnull in initcap inline inline_outer input_file_block_length input_file_block_start input_file_name inputformat instr int isnan isnotnull isnull java_method json_array_length json_object_keys json_tuple kurtosis lag last last_day last_value lcase lead least left length levenshtein like ln locate log log10 log1p log2 lower lpad ltrim make_date make_dt_interval make_interval make_timestamp make_ym_interval map map_concat map_entries map_filter map_from_arrays map_from_entries map_keys map_values map_zip_with max max_by md5 mean min min_by minute mod monotonically_increasing_id month months_between named_struct nanvl negative next_day not now nth_value ntile nullif nvl nvl2 octet_length or outputformat overlay parse_url percent_rank percentile percentile_approx pi pmod posexplode posexplode_outer position positive pow power printf quarter radians raise_error rand randn random rank rcfile reflect regexp regexp_extract regexp_extract_all regexp_like regexp_replace repeat replace reverse right rint rlike round row_number rpad rtrim schema_of_csv schema_of_json second sentences sequence sequencefile serde session_window sha sha1 sha2 shiftleft shiftright shiftrightunsigned shuffle sign signum sin sinh size skewness slice smallint some sort_array soundex space spark_partition_id split sqrt stack std stddev stddev_pop stddev_samp str_to_map string struct substr substring substring_index sum tan tanh textfile timestamp timestamp_micros timestamp_millis timestamp_seconds tinyint to_csv to_date to_json to_timestamp to_unix_timestamp to_utc_timestamp transform transform_keys transform_values translate trim trunc try_add try_divide typeof ucase unbase64 unhex uniontype unix_date unix_micros unix_millis unix_seconds unix_timestamp upper uuid var_pop var_samp variance version weekday weekofyear when width_bucket window xpath xpath_boolean xpath_double xpath_float xpath_int xpath_long xpath_number xpath_short xpath_string xxhash64 year zip_with"),atoms:e("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:e("date time timestamp"),support:e("doubleQuote zerolessFloat")}),i.defineMIME("text/x-esper",{name:"sql",client:e("source"),keywords:e("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:e("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:e("time"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber")}),i.defineMIME("text/x-trino",{name:"sql",keywords:e("abs absent acos add admin after all all_match alter analyze and any any_match approx_distinct approx_most_frequent approx_percentile approx_set arbitrary array_agg array_distinct array_except array_intersect array_join array_max array_min array_position array_remove array_sort array_union arrays_overlap as asc asin at at_timezone atan atan2 authorization avg bar bernoulli beta_cdf between bing_tile bing_tile_at bing_tile_coordinates bing_tile_polygon bing_tile_quadkey bing_tile_zoom_level bing_tiles_around bit_count bitwise_and bitwise_and_agg bitwise_left_shift bitwise_not bitwise_or bitwise_or_agg bitwise_right_shift bitwise_right_shift_arithmetic bitwise_xor bool_and bool_or both by call cardinality cascade case cast catalogs cbrt ceil ceiling char2hexint checksum chr classify coalesce codepoint column columns combinations comment commit committed concat concat_ws conditional constraint contains contains_sequence convex_hull_agg copartition corr cos cosh cosine_similarity count count_if covar_pop covar_samp crc32 create cross cube cume_dist current current_catalog current_date current_groups current_path current_role current_schema current_time current_timestamp current_timezone current_user data date_add date_diff date_format date_parse date_trunc day day_of_month day_of_week day_of_year deallocate default define definer degrees delete dense_rank deny desc describe descriptor distinct distributed dow doy drop e element_at else empty empty_approx_set encoding end error escape evaluate_classifier_predictions every except excluding execute exists exp explain extract false features fetch filter final first first_value flatten floor following for format format_datetime format_number from from_base from_base32 from_base64 from_base64url from_big_endian_32 from_big_endian_64 from_encoded_polyline from_geojson_geometry from_hex from_ieee754_32 from_ieee754_64 from_iso8601_date from_iso8601_timestamp from_iso8601_timestamp_nanos from_unixtime from_unixtime_nanos from_utf8 full functions geometric_mean geometry_from_hadoop_shape geometry_invalid_reason geometry_nearest_points geometry_to_bing_tiles geometry_union geometry_union_agg grant granted grants graphviz great_circle_distance greatest group grouping groups hamming_distance hash_counts having histogram hmac_md5 hmac_sha1 hmac_sha256 hmac_sha512 hour human_readable_seconds if ignore in including index infinity initial inner input insert intersect intersection_cardinality into inverse_beta_cdf inverse_normal_cdf invoker io is is_finite is_infinite is_json_scalar is_nan isolation jaccard_index join json_array json_array_contains json_array_get json_array_length json_exists json_extract json_extract_scalar json_format json_object json_parse json_query json_size json_value keep key keys kurtosis lag last last_day_of_month last_value lateral lead leading learn_classifier learn_libsvm_classifier learn_libsvm_regressor learn_regressor least left length level levenshtein_distance like limit line_interpolate_point line_interpolate_points line_locate_point listagg ln local localtime localtimestamp log log10 log2 logical lower lpad ltrim luhn_check make_set_digest map_agg map_concat map_entries map_filter map_from_entries map_keys map_union map_values map_zip_with match match_recognize matched matches materialized max max_by md5 measures merge merge_set_digest millisecond min min_by minute mod month multimap_agg multimap_from_entries murmur3 nan natural next nfc nfd nfkc nfkd ngrams no none none_match normal_cdf normalize not now nth_value ntile null nullif nulls numeric_histogram object objectid_timestamp of offset omit on one only option or order ordinality outer output over overflow parse_data_size parse_datetime parse_duration partition partitions passing past path pattern per percent_rank permute pi position pow power preceding prepare privileges properties prune qdigest_agg quarter quotes radians rand random range rank read recursive reduce reduce_agg refresh regexp_count regexp_extract regexp_extract_all regexp_like regexp_position regexp_replace regexp_split regr_intercept regr_slope regress rename render repeat repeatable replace reset respect restrict returning reverse revoke rgb right role roles rollback rollup round row_number rows rpad rtrim running scalar schema schemas second security seek select sequence serializable session set sets sha1 sha256 sha512 show shuffle sign simplify_geometry sin skewness skip slice some soundex spatial_partitioning spatial_partitions split split_part split_to_map split_to_multimap spooky_hash_v2_32 spooky_hash_v2_64 sqrt st_area st_asbinary st_astext st_boundary st_buffer st_centroid st_contains st_convexhull st_coorddim st_crosses st_difference st_dimension st_disjoint st_distance st_endpoint st_envelope st_envelopeaspts st_equals st_exteriorring st_geometries st_geometryfromtext st_geometryn st_geometrytype st_geomfrombinary st_interiorringn st_interiorrings st_intersection st_intersects st_isclosed st_isempty st_isring st_issimple st_isvalid st_length st_linefromtext st_linestring st_multipoint st_numgeometries st_numinteriorring st_numpoints st_overlaps st_point st_pointn st_points st_polygon st_relate st_startpoint st_symdifference st_touches st_union st_within st_x st_xmax st_xmin st_y st_ymax st_ymin start starts_with stats stddev stddev_pop stddev_samp string strpos subset substr substring sum system table tables tablesample tan tanh tdigest_agg text then ties timestamp_objectid timezone_hour timezone_minute to to_base to_base32 to_base64 to_base64url to_big_endian_32 to_big_endian_64 to_char to_date to_encoded_polyline to_geojson_geometry to_geometry to_hex to_ieee754_32 to_ieee754_64 to_iso8601 to_milliseconds to_spherical_geography to_timestamp to_unixtime to_utf8 trailing transaction transform transform_keys transform_values translate trim trim_array true truncate try try_cast type typeof uescape unbounded uncommitted unconditional union unique unknown unmatched unnest update upper url_decode url_encode url_extract_fragment url_extract_host url_extract_parameter url_extract_path url_extract_port url_extract_protocol url_extract_query use user using utf16 utf32 utf8 validate value value_at_quantile values values_at_quantiles var_pop var_samp variance verbose version view week week_of_year when where width_bucket wilson_interval_lower wilson_interval_upper window with with_timezone within without word_stem work wrapper write xxhash64 year year_of_week yow zip zip_with"),builtin:e("array bigint bingtile boolean char codepoints color date decimal double function geometry hyperloglog int integer interval ipaddress joniregexp json json2016 jsonpath kdbtree likepattern map model objectid p4hyperloglog precision qdigest re2jregexp real regressor row setdigest smallint sphericalgeography tdigest time timestamp tinyint uuid varbinary varchar zone"),atoms:e("false true null unknown"),operatorChars:/^[[\]|<>=!\-+*/%]/,dateSQL:e("date time timestamp zone"),support:e("decimallessFloat zerolessFloat hexNumber")})})})();var N=P.exports;const T=$(N),W=A({__proto__:null,default:T},[N]);export{W as s}; +import{g as $,c as O}from"./index-rXwcQ1j1.js";function A(h,y){for(var i=0;iu[d]})}}}return Object.freeze(Object.defineProperty(h,Symbol.toStringTag,{value:"Module"}))}var P={exports:{}};(function(h,y){(function(i){i(O)})(function(i){i.defineMode("sql",function(n,o){var f=o.client||{},g=o.atoms||{false:!0,true:!0,null:!0},Q=o.builtin||e(w),F=o.keywords||e(p),k=o.operatorChars||/^[*+\-%<>!=&|~^\/]/,s=o.support||{},q=o.hooks||{},C=o.dateSQL||{date:!0,time:!0,timestamp:!0},L=o.backslashStringEscapes!==!1,I=o.brackets||/^[\{}\(\)\[\]]/,z=o.punctuation||/^[;.,:]/;function b(t,a){var r=t.next();if(q[r]){var l=q[r](t,a);if(l!==!1)return l}if(s.hexNumber&&(r=="0"&&t.match(/^[xX][0-9a-fA-F]+/)||(r=="x"||r=="X")&&t.match(/^'[0-9a-fA-F]*'/)))return"number";if(s.binaryNumber&&((r=="b"||r=="B")&&t.match(/^'[01]*'/)||r=="0"&&t.match(/^b[01]+/)))return"number";if(r.charCodeAt(0)>47&&r.charCodeAt(0)<58)return t.match(/^[0-9]*(\.[0-9]+)?([eE][-+]?[0-9]+)?/),s.decimallessFloat&&t.match(/^\.(?!\.)/),"number";if(r=="?"&&(t.eatSpace()||t.eol()||t.eat(";")))return"variable-3";if(r=="'"||r=='"'&&s.doubleQuote)return a.tokenize=j(r),a.tokenize(t,a);if((s.nCharCast&&(r=="n"||r=="N")||s.charsetCast&&r=="_"&&t.match(/[a-z][a-z0-9]*/i))&&(t.peek()=="'"||t.peek()=='"'))return"keyword";if(s.escapeConstant&&(r=="e"||r=="E")&&(t.peek()=="'"||t.peek()=='"'&&s.doubleQuote))return a.tokenize=function(_,E){return(E.tokenize=j(_.next(),!0))(_,E)},"keyword";if(s.commentSlashSlash&&r=="/"&&t.eat("/"))return t.skipToEnd(),"comment";if(s.commentHash&&r=="#"||r=="-"&&t.eat("-")&&(!s.commentSpaceRequired||t.eat(" ")))return t.skipToEnd(),"comment";if(r=="/"&&t.eat("*"))return a.tokenize=v(1),a.tokenize(t,a);if(r=="."){if(s.zerolessFloat&&t.match(/^(?:\d+(?:e[+-]?\d+)?)/i))return"number";if(t.match(/^\.+/))return null;if(t.match(/^[\w\d_$#]+/))return"variable-2"}else{if(k.test(r))return t.eatWhile(k),"operator";if(I.test(r))return"bracket";if(z.test(r))return t.eatWhile(z),"punctuation";if(r=="{"&&(t.match(/^( )*(d|D|t|T|ts|TS)( )*'[^']*'( )*}/)||t.match(/^( )*(d|D|t|T|ts|TS)( )*"[^"]*"( )*}/)))return"number";t.eatWhile(/^[_\w\d]/);var m=t.current().toLowerCase();return C.hasOwnProperty(m)&&(t.match(/^( )+'[^']*'/)||t.match(/^( )+"[^"]*"/))?"number":g.hasOwnProperty(m)?"atom":Q.hasOwnProperty(m)?"type":F.hasOwnProperty(m)?"keyword":f.hasOwnProperty(m)?"builtin":null}}function j(t,a){return function(r,l){for(var m=!1,_;(_=r.next())!=null;){if(_==t&&!m){l.tokenize=b;break}m=(L||a)&&!m&&_=="\\"}return"string"}}function v(t){return function(a,r){var l=a.match(/^.*?(\/\*|\*\/)/);return l?l[1]=="/*"?r.tokenize=v(t+1):t>1?r.tokenize=v(t-1):r.tokenize=b:a.skipToEnd(),"comment"}}function S(t,a,r){a.context={prev:a.context,indent:t.indentation(),col:t.column(),type:r}}function M(t){t.indent=t.context.indent,t.context=t.context.prev}return{startState:function(){return{tokenize:b,context:null}},token:function(t,a){if(t.sol()&&a.context&&a.context.align==null&&(a.context.align=!1),a.tokenize==b&&t.eatSpace())return null;var r=a.tokenize(t,a);if(r=="comment")return r;a.context&&a.context.align==null&&(a.context.align=!0);var l=t.current();return l=="("?S(t,a,")"):l=="["?S(t,a,"]"):a.context&&a.context.type==l&&M(a),r},indent:function(t,a){var r=t.context;if(!r)return i.Pass;var l=a.charAt(0)==r.type;return r.align?r.col+(l?0:1):r.indent+(l?0:n.indentUnit)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:s.commentSlashSlash?"//":s.commentHash?"#":"--",closeBrackets:"()[]{}''\"\"``",config:o}});function u(n){for(var o;(o=n.next())!=null;)if(o=="`"&&!n.eat("`"))return"variable-2";return n.backUp(n.current().length-1),n.eatWhile(/\w/)?"variable-2":null}function d(n){for(var o;(o=n.next())!=null;)if(o=='"'&&!n.eat('"'))return"variable-2";return n.backUp(n.current().length-1),n.eatWhile(/\w/)?"variable-2":null}function c(n){return n.eat("@")&&(n.match("session."),n.match("local."),n.match("global.")),n.eat("'")?(n.match(/^.*'/),"variable-2"):n.eat('"')?(n.match(/^.*"/),"variable-2"):n.eat("`")?(n.match(/^.*`/),"variable-2"):n.match(/^[0-9a-zA-Z$\.\_]+/)?"variable-2":null}function x(n){return n.eat("N")?"atom":n.match(/^[a-zA-Z.#!?]/)?"variable-2":null}var p="alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit ";function e(n){for(var o={},f=n.split(" "),g=0;g!=^\&|\/]/,brackets:/^[\{}\(\)]/,punctuation:/^[;.,:/]/,backslashStringEscapes:!1,dateSQL:e("date datetimeoffset datetime2 smalldatetime datetime time"),hooks:{"@":c}}),i.defineMIME("text/x-mysql",{name:"sql",client:e("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:e(p+"accessible action add after algorithm all analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general get global grant grants group group_concat handler hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show signal slave slow smallint snapshot soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:e("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:e("date time timestamp"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":c,"`":u,"\\":x}}),i.defineMIME("text/x-mariadb",{name:"sql",client:e("charset clear connect edit ego exit go help nopager notee nowarning pager print prompt quit rehash source status system tee"),keywords:e(p+"accessible action add after algorithm all always analyze asensitive at authors auto_increment autocommit avg avg_row_length before binary binlog both btree cache call cascade cascaded case catalog_name chain change changed character check checkpoint checksum class_origin client_statistics close coalesce code collate collation collations column columns comment commit committed completion concurrent condition connection consistent constraint contains continue contributors convert cross current current_date current_time current_timestamp current_user cursor data database databases day_hour day_microsecond day_minute day_second deallocate dec declare default delay_key_write delayed delimiter des_key_file describe deterministic dev_pop dev_samp deviance diagnostics directory disable discard distinctrow div dual dumpfile each elseif enable enclosed end ends engine engines enum errors escape escaped even event events every execute exists exit explain extended fast fetch field fields first flush for force foreign found_rows full fulltext function general generated get global grant grants group group_concat handler hard hash help high_priority hosts hour_microsecond hour_minute hour_second if ignore ignore_server_ids import index index_statistics infile inner innodb inout insensitive insert_method install interval invoker isolation iterate key keys kill language last leading leave left level limit linear lines list load local localtime localtimestamp lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters match max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modifies modify mutex mysql_errno natural next no no_write_to_binlog offline offset one online open optimize option optionally out outer outfile pack_keys parser partition partitions password persistent phase plugin plugins prepare preserve prev primary privileges procedure processlist profile profiles purge query quick range read read_write reads real rebuild recover references regexp relaylog release remove rename reorganize repair repeatable replace require resignal restrict resume return returns revoke right rlike rollback rollup row row_format rtree savepoint schedule schema schema_name schemas second_microsecond security sensitive separator serializable server session share show shutdown signal slave slow smallint snapshot soft soname spatial specific sql sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result sqlexception sqlstate sqlwarning ssl start starting starts status std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace temporary terminated to trailing transaction trigger triggers truncate uncommitted undo uninstall unique unlock upgrade usage use use_frm user user_resources user_statistics using utc_date utc_time utc_timestamp value variables varying view views virtual warnings when while with work write xa xor year_month zerofill begin do then else loop repeat"),builtin:e("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text bigint int int1 int2 int3 int4 int8 integer float float4 float8 double char varbinary varchar varcharacter precision date datetime year unsigned signed numeric"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^]/,dateSQL:e("date time timestamp"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber doubleQuote nCharCast charsetCast commentHash commentSpaceRequired"),hooks:{"@":c,"`":u,"\\":x}}),i.defineMIME("text/x-sqlite",{name:"sql",client:e("auth backup bail binary changes check clone databases dbinfo dump echo eqp exit explain fullschema headers help import imposter indexes iotrace limit lint load log mode nullvalue once open output print prompt quit read restore save scanstats schema separator session shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width"),keywords:e(p+"abort action add after all analyze attach autoincrement before begin cascade case cast check collate column commit conflict constraint cross current_date current_time current_timestamp database default deferrable deferred detach each else end escape except exclusive exists explain fail for foreign full glob if ignore immediate index indexed initially inner instead intersect isnull key left limit match natural no notnull null of offset outer plan pragma primary query raise recursive references regexp reindex release rename replace restrict right rollback row savepoint temp temporary then to transaction trigger unique using vacuum view virtual when with without"),builtin:e("bool boolean bit blob decimal double float long longblob longtext medium mediumblob mediumint mediumtext time timestamp tinyblob tinyint tinytext text clob bigint int int2 int8 integer float double char varchar date datetime year unsigned signed numeric real"),atoms:e("null current_date current_time current_timestamp"),operatorChars:/^[*+\-%<>!=&|/~]/,dateSQL:e("date time timestamp datetime"),support:e("decimallessFloat zerolessFloat"),identifierQuote:'"',hooks:{"@":c,":":c,"?":c,$:c,'"':d,"`":u}}),i.defineMIME("text/x-cassandra",{name:"sql",client:{},keywords:e("add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime"),builtin:e("ascii bigint blob boolean counter decimal double float frozen inet int list map static text timestamp timeuuid tuple uuid varchar varint"),atoms:e("false true infinity NaN"),operatorChars:/^[<>=]/,dateSQL:{},support:e("commentSlashSlash decimallessFloat"),hooks:{}}),i.defineMIME("text/x-plsql",{name:"sql",client:e("appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define describe echo editfile embedded escape exec execute feedback flagger flush heading headsep instance linesize lno loboffset logsource long longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar release repfooter repheader serveroutput shiftinout show showmode size spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout time timing trimout trimspool ttitle underline verify version wrap"),keywords:e("abort accept access add all alter and any array arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body boolean by case cast char char_base check close cluster clusters colauth column comment commit compress connect connected constant constraint crash create current currval cursor data_base database date dba deallocate debugoff debugon decimal declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry escape exception exception_init exchange exclusive exists exit external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging long loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base object of off offline on online only open option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw read rebuild record ref references refresh release rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate session set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work"),builtin:e("abs acos add_months ascii asin atan atan2 average bfile bfilename bigserial bit blob ceil character chartorowid chr clob concat convert cos cosh count dec decode deref dual dump dup_val_on_index empty error exp false float floor found glb greatest hextoraw initcap instr instrb int integer isopen last_day least length lengthb ln lower lpad ltrim lub make_ref max min mlslabel mod months_between natural naturaln nchar nclob new_time next_day nextval nls_charset_decl_len nls_charset_id nls_charset_name nls_initcap nls_lower nls_sort nls_upper nlssort no_data_found notfound null number numeric nvarchar2 nvl others power rawtohex real reftohex round rowcount rowidtochar rowtype rpad rtrim serial sign signtype sin sinh smallint soundex sqlcode sqlerrm sqrt stddev string substr substrb sum sysdate tan tanh to_char text to_date to_label to_multi_byte to_number to_single_byte translate true trunc uid unlogged upper user userenv varchar varchar2 variance varying vsize xml"),operatorChars:/^[*\/+\-%<>!=~]/,dateSQL:e("date time timestamp"),support:e("doubleQuote nCharCast zerolessFloat binaryNumber hexNumber")}),i.defineMIME("text/x-hive",{name:"sql",keywords:e("select alter $elem$ $key$ $value$ add after all analyze and archive as asc before between binary both bucket buckets by cascade case cast change cluster clustered clusterstatus collection column columns comment compute concatenate continue create cross cursor data database databases dbproperties deferred delete delimited desc describe directory disable distinct distribute drop else enable end escaped exclusive exists explain export extended external fetch fields fileformat first format formatted from full function functions grant group having hold_ddltime idxproperties if import in index indexes inpath inputdriver inputformat insert intersect into is items join keys lateral left like limit lines load local location lock locks mapjoin materialized minus msck no_drop nocompress not of offline on option or order out outer outputdriver outputformat overwrite partition partitioned partitions percent plus preserve procedure purge range rcfile read readonly reads rebuild recordreader recordwriter recover reduce regexp rename repair replace restrict revoke right rlike row schema schemas semi sequencefile serde serdeproperties set shared show show_database sort sorted ssl statistics stored streamtable table tables tablesample tblproperties temporary terminated textfile then tmp to touch transform trigger unarchive undo union uniquejoin unlock update use using utc utc_tmestamp view when where while with admin authorization char compact compactions conf cube current current_date current_timestamp day decimal defined dependency directories elem_type exchange file following for grouping hour ignore inner interval jar less logical macro minute month more none noscan over owner partialscan preceding pretty principals protection reload rewrite role roles rollup rows second server sets skewed transactions truncate unbounded unset uri user values window year"),builtin:e("bool boolean long timestamp tinyint smallint bigint int float double date datetime unsigned string array struct map uniontype key_type utctimestamp value_type varchar"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=]/,dateSQL:e("date timestamp"),support:e("doubleQuote binaryNumber hexNumber")}),i.defineMIME("text/x-pgsql",{name:"sql",client:e("source"),keywords:e(p+"a abort abs absent absolute access according action ada add admin after aggregate alias all allocate also alter always analyse analyze and any are array array_agg array_max_cardinality as asc asensitive assert assertion assignment asymmetric at atomic attach attribute attributes authorization avg backward base64 before begin begin_frame begin_partition bernoulli between bigint binary bit bit_length blob blocked bom boolean both breadth by c cache call called cardinality cascade cascaded case cast catalog catalog_name ceil ceiling chain char char_length character character_length character_set_catalog character_set_name character_set_schema characteristics characters check checkpoint class class_origin clob close cluster coalesce cobol collate collation collation_catalog collation_name collation_schema collect column column_name columns command_function command_function_code comment comments commit committed concurrently condition condition_number configuration conflict connect connection connection_name constant constraint constraint_catalog constraint_name constraint_schema constraints constructor contains content continue control conversion convert copy corr corresponding cost count covar_pop covar_samp create cross csv cube cume_dist current current_catalog current_date current_default_transform_group current_path current_role current_row current_schema current_time current_timestamp current_transform_group_for_type current_user cursor cursor_name cycle data database datalink datatype date datetime_interval_code datetime_interval_precision day db deallocate debug dec decimal declare default defaults deferrable deferred defined definer degree delete delimiter delimiters dense_rank depends depth deref derived desc describe descriptor detach detail deterministic diagnostics dictionary disable discard disconnect dispatch distinct dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue do document domain double drop dump dynamic dynamic_function dynamic_function_code each element else elseif elsif empty enable encoding encrypted end end_frame end_partition endexec enforced enum equals errcode error escape event every except exception exclude excluding exclusive exec execute exists exit exp explain expression extension external extract false family fetch file filter final first first_value flag float floor following for force foreach foreign fortran forward found frame_row free freeze from fs full function functions fusion g general generated get global go goto grant granted greatest group grouping groups handler having header hex hierarchy hint hold hour id identity if ignore ilike immediate immediately immutable implementation implicit import in include including increment indent index indexes indicator info inherit inherits initially inline inner inout input insensitive insert instance instantiable instead int integer integrity intersect intersection interval into invoker is isnull isolation join k key key_member key_type label lag language large last last_value lateral lead leading leakproof least left length level library like like_regex limit link listen ln load local localtime localtimestamp location locator lock locked log logged loop lower m map mapping match matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text method min minute minvalue mod mode modifies module month more move multiset mumps name names namespace national natural nchar nclob nesting new next nfc nfd nfkc nfkd nil no none normalize normalized not nothing notice notify notnull nowait nth_value ntile null nullable nullif nulls number numeric object occurrences_regex octet_length octets of off offset oids old on only open operator option options or order ordering ordinality others out outer output over overlaps overlay overriding owned owner p pad parallel parameter parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partial partition pascal passing passthrough password path percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding precision prepare prepared preserve primary print_strict_params prior privileges procedural procedure procedures program public publication query quote raise range rank read reads real reassign recheck recovery recursive ref references referencing refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex relative release rename repeatable replace replica requiring reset respect restart restore restrict result result_oid return returned_cardinality returned_length returned_octet_length returned_sqlstate returning returns reverse revoke right role rollback rollup routine routine_catalog routine_name routine_schema routines row row_count row_number rows rowtype rule savepoint scale schema schema_name schemas scope scope_catalog scope_name scope_schema scroll search second section security select selective self sensitive sequence sequences serializable server server_name session session_user set setof sets share show similar simple size skip slice smallint snapshot some source space specific specific_name specifictype sql sqlcode sqlerror sqlexception sqlstate sqlwarning sqrt stable stacked standalone start state statement static statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time system_user t table table_name tables tablesample tablespace temp template temporary text then ties time timestamp timezone_hour timezone_minute to token top_level_count trailing transaction transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex translation treat trigger trigger_catalog trigger_name trigger_schema trim trim_array true truncate trusted type types uescape unbounded uncommitted under unencrypted union unique unknown unlink unlisten unlogged unnamed unnest until untyped update upper uri usage use_column use_variable user user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema using vacuum valid validate validator value value_of values var_pop var_samp varbinary varchar variable_conflict variadic varying verbose version versioning view views volatile warning when whenever where while whitespace width_bucket window with within without work wrapper write xml xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate year yes zone"),builtin:e("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time zone timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:e("false true null unknown"),operatorChars:/^[*\/+\-%<>!=&|^\/#@?~]/,backslashStringEscapes:!1,dateSQL:e("date time timestamp"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast escapeConstant")}),i.defineMIME("text/x-gql",{name:"sql",keywords:e("ancestor and asc by contains desc descendant distinct from group has in is limit offset on order select superset where"),atoms:e("false true"),builtin:e("blob datetime first key __key__ string integer double boolean null"),operatorChars:/^[*+\-%<>!=]/}),i.defineMIME("text/x-gpsql",{name:"sql",client:e("source"),keywords:e("abort absolute access action active add admin after aggregate all also alter always analyse analyze and any array as asc assertion assignment asymmetric at authorization backward before begin between bigint binary bit boolean both by cache called cascade cascaded case cast chain char character characteristics check checkpoint class close cluster coalesce codegen collate column comment commit committed concurrency concurrently configuration connection constraint constraints contains content continue conversion copy cost cpu_rate_limit create createdb createexttable createrole createuser cross csv cube current current_catalog current_date current_role current_schema current_time current_timestamp current_user cursor cycle data database day deallocate dec decimal declare decode default defaults deferrable deferred definer delete delimiter delimiters deny desc dictionary disable discard distinct distributed do document domain double drop dxl each else enable encoding encrypted end enum errors escape every except exchange exclude excluding exclusive execute exists explain extension external extract false family fetch fields filespace fill filter first float following for force foreign format forward freeze from full function global grant granted greatest group group_id grouping handler hash having header hold host hour identity if ignore ilike immediate immutable implicit in including inclusive increment index indexes inherit inherits initially inline inner inout input insensitive insert instead int integer intersect interval into invoker is isnull isolation join key language large last leading least left level like limit list listen load local localtime localtimestamp location lock log login mapping master match maxvalue median merge minute minvalue missing mode modifies modify month move name names national natural nchar new newline next no nocreatedb nocreateexttable nocreaterole nocreateuser noinherit nologin none noovercommit nosuperuser not nothing notify notnull nowait null nullif nulls numeric object of off offset oids old on only operator option options or order ordered others out outer over overcommit overlaps overlay owned owner parser partial partition partitions passing password percent percentile_cont percentile_disc placing plans position preceding precision prepare prepared preserve primary prior privileges procedural procedure protocol queue quote randomly range read readable reads real reassign recheck recursive ref references reindex reject relative release rename repeatable replace replica reset resource restart restrict returning returns revoke right role rollback rollup rootpartition row rows rule savepoint scatter schema scroll search second security segment select sequence serializable session session_user set setof sets share show similar simple smallint some split sql stable standalone start statement statistics stdin stdout storage strict strip subpartition subpartitions substring superuser symmetric sysid system table tablespace temp template temporary text then threshold ties time timestamp to trailing transaction treat trigger trim true truncate trusted type unbounded uncommitted unencrypted union unique unknown unlisten until update user using vacuum valid validation validator value values varchar variadic varying verbose version view volatile web when where whitespace window with within without work writable write xml xmlattributes xmlconcat xmlelement xmlexists xmlforest xmlparse xmlpi xmlroot xmlserialize year yes zone"),builtin:e("bigint int8 bigserial serial8 bit varying varbit boolean bool box bytea character char varchar cidr circle date double precision float float8 inet integer int int4 interval json jsonb line lseg macaddr macaddr8 money numeric decimal path pg_lsn point polygon real float4 smallint int2 smallserial serial2 serial serial4 text time without zone with timetz timestamp timestamptz tsquery tsvector txid_snapshot uuid xml"),atoms:e("false true null unknown"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:e("date time timestamp"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber nCharCast charsetCast")}),i.defineMIME("text/x-sparksql",{name:"sql",keywords:e("add after all alter analyze and anti archive array as asc at between bucket buckets by cache cascade case cast change clear cluster clustered codegen collection column columns comment commit compact compactions compute concatenate cost create cross cube current current_date current_timestamp database databases data dbproperties defined delete delimited deny desc describe dfs directories distinct distribute drop else end escaped except exchange exists explain export extended external false fields fileformat first following for format formatted from full function functions global grant group grouping having if ignore import in index indexes inner inpath inputformat insert intersect interval into is items join keys last lateral lazy left like limit lines list load local location lock locks logical macro map minus msck natural no not null nulls of on optimize option options or order out outer outputformat over overwrite partition partitioned partitions percent preceding principals purge range recordreader recordwriter recover reduce refresh regexp rename repair replace reset restrict revoke right rlike role roles rollback rollup row rows schema schemas select semi separated serde serdeproperties set sets show skewed sort sorted start statistics stored stratify struct table tables tablesample tblproperties temp temporary terminated then to touch transaction transactions transform true truncate unarchive unbounded uncache union unlock unset use using values view when where window with"),builtin:e("abs acos acosh add_months aggregate and any approx_count_distinct approx_percentile array array_contains array_distinct array_except array_intersect array_join array_max array_min array_position array_remove array_repeat array_sort array_union arrays_overlap arrays_zip ascii asin asinh assert_true atan atan2 atanh avg base64 between bigint bin binary bit_and bit_count bit_get bit_length bit_or bit_xor bool_and bool_or boolean bround btrim cardinality case cast cbrt ceil ceiling char char_length character_length chr coalesce collect_list collect_set concat concat_ws conv corr cos cosh cot count count_if count_min_sketch covar_pop covar_samp crc32 cume_dist current_catalog current_database current_date current_timestamp current_timezone current_user date date_add date_format date_from_unix_date date_part date_sub date_trunc datediff day dayofmonth dayofweek dayofyear decimal decode degrees delimited dense_rank div double e element_at elt encode every exists exp explode explode_outer expm1 extract factorial filter find_in_set first first_value flatten float floor forall format_number format_string from_csv from_json from_unixtime from_utc_timestamp get_json_object getbit greatest grouping grouping_id hash hex hour hypot if ifnull in initcap inline inline_outer input_file_block_length input_file_block_start input_file_name inputformat instr int isnan isnotnull isnull java_method json_array_length json_object_keys json_tuple kurtosis lag last last_day last_value lcase lead least left length levenshtein like ln locate log log10 log1p log2 lower lpad ltrim make_date make_dt_interval make_interval make_timestamp make_ym_interval map map_concat map_entries map_filter map_from_arrays map_from_entries map_keys map_values map_zip_with max max_by md5 mean min min_by minute mod monotonically_increasing_id month months_between named_struct nanvl negative next_day not now nth_value ntile nullif nvl nvl2 octet_length or outputformat overlay parse_url percent_rank percentile percentile_approx pi pmod posexplode posexplode_outer position positive pow power printf quarter radians raise_error rand randn random rank rcfile reflect regexp regexp_extract regexp_extract_all regexp_like regexp_replace repeat replace reverse right rint rlike round row_number rpad rtrim schema_of_csv schema_of_json second sentences sequence sequencefile serde session_window sha sha1 sha2 shiftleft shiftright shiftrightunsigned shuffle sign signum sin sinh size skewness slice smallint some sort_array soundex space spark_partition_id split sqrt stack std stddev stddev_pop stddev_samp str_to_map string struct substr substring substring_index sum tan tanh textfile timestamp timestamp_micros timestamp_millis timestamp_seconds tinyint to_csv to_date to_json to_timestamp to_unix_timestamp to_utc_timestamp transform transform_keys transform_values translate trim trunc try_add try_divide typeof ucase unbase64 unhex uniontype unix_date unix_micros unix_millis unix_seconds unix_timestamp upper uuid var_pop var_samp variance version weekday weekofyear when width_bucket window xpath xpath_boolean xpath_double xpath_float xpath_int xpath_long xpath_number xpath_short xpath_string xxhash64 year zip_with"),atoms:e("false true null"),operatorChars:/^[*\/+\-%<>!=~&|^]/,dateSQL:e("date time timestamp"),support:e("doubleQuote zerolessFloat")}),i.defineMIME("text/x-esper",{name:"sql",client:e("source"),keywords:e("alter and as asc between by count create delete desc distinct drop from group having in insert into is join like not on or order select set table union update values where limit after all and as at asc avedev avg between by case cast coalesce count create current_timestamp day days delete define desc distinct else end escape events every exists false first from full group having hour hours in inner insert instanceof into irstream is istream join last lastweekday left limit like max match_recognize matches median measures metadatasql min minute minutes msec millisecond milliseconds not null offset on or order outer output partition pattern prev prior regexp retain-union retain-intersection right rstream sec second seconds select set some snapshot sql stddev sum then true unidirectional until update variable weekday when where window"),builtin:{},atoms:e("false true null"),operatorChars:/^[*+\-%<>!=&|^\/#@?~]/,dateSQL:e("time"),support:e("decimallessFloat zerolessFloat binaryNumber hexNumber")}),i.defineMIME("text/x-trino",{name:"sql",keywords:e("abs absent acos add admin after all all_match alter analyze and any any_match approx_distinct approx_most_frequent approx_percentile approx_set arbitrary array_agg array_distinct array_except array_intersect array_join array_max array_min array_position array_remove array_sort array_union arrays_overlap as asc asin at at_timezone atan atan2 authorization avg bar bernoulli beta_cdf between bing_tile bing_tile_at bing_tile_coordinates bing_tile_polygon bing_tile_quadkey bing_tile_zoom_level bing_tiles_around bit_count bitwise_and bitwise_and_agg bitwise_left_shift bitwise_not bitwise_or bitwise_or_agg bitwise_right_shift bitwise_right_shift_arithmetic bitwise_xor bool_and bool_or both by call cardinality cascade case cast catalogs cbrt ceil ceiling char2hexint checksum chr classify coalesce codepoint column columns combinations comment commit committed concat concat_ws conditional constraint contains contains_sequence convex_hull_agg copartition corr cos cosh cosine_similarity count count_if covar_pop covar_samp crc32 create cross cube cume_dist current current_catalog current_date current_groups current_path current_role current_schema current_time current_timestamp current_timezone current_user data date_add date_diff date_format date_parse date_trunc day day_of_month day_of_week day_of_year deallocate default define definer degrees delete dense_rank deny desc describe descriptor distinct distributed dow doy drop e element_at else empty empty_approx_set encoding end error escape evaluate_classifier_predictions every except excluding execute exists exp explain extract false features fetch filter final first first_value flatten floor following for format format_datetime format_number from from_base from_base32 from_base64 from_base64url from_big_endian_32 from_big_endian_64 from_encoded_polyline from_geojson_geometry from_hex from_ieee754_32 from_ieee754_64 from_iso8601_date from_iso8601_timestamp from_iso8601_timestamp_nanos from_unixtime from_unixtime_nanos from_utf8 full functions geometric_mean geometry_from_hadoop_shape geometry_invalid_reason geometry_nearest_points geometry_to_bing_tiles geometry_union geometry_union_agg grant granted grants graphviz great_circle_distance greatest group grouping groups hamming_distance hash_counts having histogram hmac_md5 hmac_sha1 hmac_sha256 hmac_sha512 hour human_readable_seconds if ignore in including index infinity initial inner input insert intersect intersection_cardinality into inverse_beta_cdf inverse_normal_cdf invoker io is is_finite is_infinite is_json_scalar is_nan isolation jaccard_index join json_array json_array_contains json_array_get json_array_length json_exists json_extract json_extract_scalar json_format json_object json_parse json_query json_size json_value keep key keys kurtosis lag last last_day_of_month last_value lateral lead leading learn_classifier learn_libsvm_classifier learn_libsvm_regressor learn_regressor least left length level levenshtein_distance like limit line_interpolate_point line_interpolate_points line_locate_point listagg ln local localtime localtimestamp log log10 log2 logical lower lpad ltrim luhn_check make_set_digest map_agg map_concat map_entries map_filter map_from_entries map_keys map_union map_values map_zip_with match match_recognize matched matches materialized max max_by md5 measures merge merge_set_digest millisecond min min_by minute mod month multimap_agg multimap_from_entries murmur3 nan natural next nfc nfd nfkc nfkd ngrams no none none_match normal_cdf normalize not now nth_value ntile null nullif nulls numeric_histogram object objectid_timestamp of offset omit on one only option or order ordinality outer output over overflow parse_data_size parse_datetime parse_duration partition partitions passing past path pattern per percent_rank permute pi position pow power preceding prepare privileges properties prune qdigest_agg quarter quotes radians rand random range rank read recursive reduce reduce_agg refresh regexp_count regexp_extract regexp_extract_all regexp_like regexp_position regexp_replace regexp_split regr_intercept regr_slope regress rename render repeat repeatable replace reset respect restrict returning reverse revoke rgb right role roles rollback rollup round row_number rows rpad rtrim running scalar schema schemas second security seek select sequence serializable session set sets sha1 sha256 sha512 show shuffle sign simplify_geometry sin skewness skip slice some soundex spatial_partitioning spatial_partitions split split_part split_to_map split_to_multimap spooky_hash_v2_32 spooky_hash_v2_64 sqrt st_area st_asbinary st_astext st_boundary st_buffer st_centroid st_contains st_convexhull st_coorddim st_crosses st_difference st_dimension st_disjoint st_distance st_endpoint st_envelope st_envelopeaspts st_equals st_exteriorring st_geometries st_geometryfromtext st_geometryn st_geometrytype st_geomfrombinary st_interiorringn st_interiorrings st_intersection st_intersects st_isclosed st_isempty st_isring st_issimple st_isvalid st_length st_linefromtext st_linestring st_multipoint st_numgeometries st_numinteriorring st_numpoints st_overlaps st_point st_pointn st_points st_polygon st_relate st_startpoint st_symdifference st_touches st_union st_within st_x st_xmax st_xmin st_y st_ymax st_ymin start starts_with stats stddev stddev_pop stddev_samp string strpos subset substr substring sum system table tables tablesample tan tanh tdigest_agg text then ties timestamp_objectid timezone_hour timezone_minute to to_base to_base32 to_base64 to_base64url to_big_endian_32 to_big_endian_64 to_char to_date to_encoded_polyline to_geojson_geometry to_geometry to_hex to_ieee754_32 to_ieee754_64 to_iso8601 to_milliseconds to_spherical_geography to_timestamp to_unixtime to_utf8 trailing transaction transform transform_keys transform_values translate trim trim_array true truncate try try_cast type typeof uescape unbounded uncommitted unconditional union unique unknown unmatched unnest update upper url_decode url_encode url_extract_fragment url_extract_host url_extract_parameter url_extract_path url_extract_port url_extract_protocol url_extract_query use user using utf16 utf32 utf8 validate value value_at_quantile values values_at_quantiles var_pop var_samp variance verbose version view week week_of_year when where width_bucket wilson_interval_lower wilson_interval_upper window with with_timezone within without word_stem work wrapper write xxhash64 year year_of_week yow zip zip_with"),builtin:e("array bigint bingtile boolean char codepoints color date decimal double function geometry hyperloglog int integer interval ipaddress joniregexp json json2016 jsonpath kdbtree likepattern map model objectid p4hyperloglog precision qdigest re2jregexp real regressor row setdigest smallint sphericalgeography tdigest time timestamp tinyint uuid varbinary varchar zone"),atoms:e("false true null unknown"),operatorChars:/^[[\]|<>=!\-+*/%]/,dateSQL:e("date time timestamp zone"),support:e("decimallessFloat zerolessFloat hexNumber")})})})();var N=P.exports;const T=$(N),W=A({__proto__:null,default:T},[N]);export{W as s}; diff --git a/dist-ui/assets/stex-CRCDnD34.js b/dist-ui/assets/stex-COV-_KiE.js similarity index 74% rename from dist-ui/assets/stex-CRCDnD34.js rename to dist-ui/assets/stex-COV-_KiE.js index 2262182a..caf21154 100644 --- a/dist-ui/assets/stex-CRCDnD34.js +++ b/dist-ui/assets/stex-COV-_KiE.js @@ -1 +1 @@ -import{g as f}from"./index-CHg1vBCc.js";import{r as i}from"./stex-eoPO7x7j.js";function c(r,n){for(var o=0;oe[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a=i();const p=f(a),l=c({__proto__:null,default:p},[a]);export{l as s}; +import{g as f}from"./index-rXwcQ1j1.js";import{r as i}from"./stex-eJp58BRA.js";function c(r,n){for(var o=0;oe[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var a=i();const p=f(a),l=c({__proto__:null,default:p},[a]);export{l as s}; diff --git a/dist-ui/assets/stex-eoPO7x7j.js b/dist-ui/assets/stex-eJp58BRA.js similarity index 98% rename from dist-ui/assets/stex-eoPO7x7j.js rename to dist-ui/assets/stex-eJp58BRA.js index 758454cf..dde38e28 100644 --- a/dist-ui/assets/stex-eoPO7x7j.js +++ b/dist-ui/assets/stex-eJp58BRA.js @@ -1 +1 @@ -import{c as S}from"./index-CHg1vBCc.js";var s={exports:{}},k;function A(){return k||(k=1,function(v,w){(function(l){l(S)})(function(l){l.defineMode("stex",function(B,b){function d(t,e){t.cmdState.push(e)}function g(t){return t.cmdState.length>0?t.cmdState[t.cmdState.length-1]:null}function x(t){var e=t.cmdState.pop();e&&e.closeBracket()}function y(t){for(var e=t.cmdState,n=e.length-1;n>=0;n--){var i=e[n];if(i.name!="DEFAULT")return i}return{styleIdentifier:function(){return null}}}function a(t,e,n){return function(){this.name=t,this.bracketNo=0,this.style=e,this.styles=n,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var r={};r.importmodule=a("importmodule","tag",["string","builtin"]),r.documentclass=a("documentclass","tag",["","atom"]),r.usepackage=a("usepackage","tag",["atom"]),r.begin=a("begin","tag",["atom"]),r.end=a("end","tag",["atom"]),r.label=a("label","tag",["atom"]),r.ref=a("ref","tag",["atom"]),r.eqref=a("eqref","tag",["atom"]),r.cite=a("cite","tag",["atom"]),r.bibitem=a("bibitem","tag",["atom"]),r.Bibitem=a("Bibitem","tag",["atom"]),r.RBibitem=a("RBibitem","tag",["atom"]),r.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function f(t,e){t.f=e}function o(t,e){var n;if(t.match(/^\\[a-zA-Z@]+/)){var i=t.current().slice(1);return n=r.hasOwnProperty(i)?r[i]:r.DEFAULT,n=new n,d(e,n),f(e,p),n.style}if(t.match(/^\\[$&%#{}_]/)||t.match(/^\\[,;!\/\\]/))return"tag";if(t.match("\\["))return f(e,function(c,m){return h(c,m,"\\]")}),"keyword";if(t.match("\\("))return f(e,function(c,m){return h(c,m,"\\)")}),"keyword";if(t.match("$$"))return f(e,function(c,m){return h(c,m,"$$")}),"keyword";if(t.match("$"))return f(e,function(c,m){return h(c,m,"$")}),"keyword";var u=t.next();if(u=="%")return t.skipToEnd(),"comment";if(u=="}"||u=="]"){if(n=g(e),n)n.closeBracket(u),f(e,p);else return"error";return"bracket"}else return u=="{"||u=="["?(n=r.DEFAULT,n=new n,d(e,n),"bracket"):/\d/.test(u)?(t.eatWhile(/[\w.%]/),"atom"):(t.eatWhile(/[\w\-_]/),n=y(e),n.name=="begin"&&(n.argument=t.current()),n.styleIdentifier())}function h(t,e,n){if(t.eatSpace())return null;if(n&&t.match(n))return f(e,o),"keyword";if(t.match(/^\\[a-zA-Z@]+/))return"tag";if(t.match(/^[a-zA-Z]+/))return"variable-2";if(t.match(/^\\[$&%#{}_]/)||t.match(/^\\[,;!\/]/)||t.match(/^[\^_&]/))return"tag";if(t.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(t.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var i=t.next();return i=="{"||i=="}"||i=="["||i=="]"||i=="("||i==")"?"bracket":i=="%"?(t.skipToEnd(),"comment"):"error"}function p(t,e){var n=t.peek(),i;return n=="{"||n=="["?(i=g(e),i.openBracket(n),t.eat(n),f(e,o),"bracket"):/[ \t\r]/.test(n)?(t.eat(n),null):(f(e,o),x(e),o(t,e))}return{startState:function(){var t=b.inMathMode?function(e,n){return h(e,n)}:o;return{cmdState:[],f:t}},copyState:function(t){return{cmdState:t.cmdState.slice(),f:t.f}},token:function(t,e){return e.f(t,e)},blankLine:function(t){t.f=o,t.cmdState.length=0},lineComment:"%"}}),l.defineMIME("text/x-stex","stex"),l.defineMIME("text/x-latex","stex")})}()),s.exports}export{A as r}; +import{c as S}from"./index-rXwcQ1j1.js";var s={exports:{}},k;function A(){return k||(k=1,function(v,w){(function(l){l(S)})(function(l){l.defineMode("stex",function(B,b){function d(t,e){t.cmdState.push(e)}function g(t){return t.cmdState.length>0?t.cmdState[t.cmdState.length-1]:null}function x(t){var e=t.cmdState.pop();e&&e.closeBracket()}function y(t){for(var e=t.cmdState,n=e.length-1;n>=0;n--){var i=e[n];if(i.name!="DEFAULT")return i}return{styleIdentifier:function(){return null}}}function a(t,e,n){return function(){this.name=t,this.bracketNo=0,this.style=e,this.styles=n,this.argument=null,this.styleIdentifier=function(){return this.styles[this.bracketNo-1]||null},this.openBracket=function(){return this.bracketNo++,"bracket"},this.closeBracket=function(){}}}var r={};r.importmodule=a("importmodule","tag",["string","builtin"]),r.documentclass=a("documentclass","tag",["","atom"]),r.usepackage=a("usepackage","tag",["atom"]),r.begin=a("begin","tag",["atom"]),r.end=a("end","tag",["atom"]),r.label=a("label","tag",["atom"]),r.ref=a("ref","tag",["atom"]),r.eqref=a("eqref","tag",["atom"]),r.cite=a("cite","tag",["atom"]),r.bibitem=a("bibitem","tag",["atom"]),r.Bibitem=a("Bibitem","tag",["atom"]),r.RBibitem=a("RBibitem","tag",["atom"]),r.DEFAULT=function(){this.name="DEFAULT",this.style="tag",this.styleIdentifier=this.openBracket=this.closeBracket=function(){}};function f(t,e){t.f=e}function o(t,e){var n;if(t.match(/^\\[a-zA-Z@]+/)){var i=t.current().slice(1);return n=r.hasOwnProperty(i)?r[i]:r.DEFAULT,n=new n,d(e,n),f(e,p),n.style}if(t.match(/^\\[$&%#{}_]/)||t.match(/^\\[,;!\/\\]/))return"tag";if(t.match("\\["))return f(e,function(c,m){return h(c,m,"\\]")}),"keyword";if(t.match("\\("))return f(e,function(c,m){return h(c,m,"\\)")}),"keyword";if(t.match("$$"))return f(e,function(c,m){return h(c,m,"$$")}),"keyword";if(t.match("$"))return f(e,function(c,m){return h(c,m,"$")}),"keyword";var u=t.next();if(u=="%")return t.skipToEnd(),"comment";if(u=="}"||u=="]"){if(n=g(e),n)n.closeBracket(u),f(e,p);else return"error";return"bracket"}else return u=="{"||u=="["?(n=r.DEFAULT,n=new n,d(e,n),"bracket"):/\d/.test(u)?(t.eatWhile(/[\w.%]/),"atom"):(t.eatWhile(/[\w\-_]/),n=y(e),n.name=="begin"&&(n.argument=t.current()),n.styleIdentifier())}function h(t,e,n){if(t.eatSpace())return null;if(n&&t.match(n))return f(e,o),"keyword";if(t.match(/^\\[a-zA-Z@]+/))return"tag";if(t.match(/^[a-zA-Z]+/))return"variable-2";if(t.match(/^\\[$&%#{}_]/)||t.match(/^\\[,;!\/]/)||t.match(/^[\^_&]/))return"tag";if(t.match(/^[+\-<>|=,\/@!*:;'"`~#?]/))return null;if(t.match(/^(\d+\.\d*|\d*\.\d+|\d+)/))return"number";var i=t.next();return i=="{"||i=="}"||i=="["||i=="]"||i=="("||i==")"?"bracket":i=="%"?(t.skipToEnd(),"comment"):"error"}function p(t,e){var n=t.peek(),i;return n=="{"||n=="["?(i=g(e),i.openBracket(n),t.eat(n),f(e,o),"bracket"):/[ \t\r]/.test(n)?(t.eat(n),null):(f(e,o),x(e),o(t,e))}return{startState:function(){var t=b.inMathMode?function(e,n){return h(e,n)}:o;return{cmdState:[],f:t}},copyState:function(t){return{cmdState:t.cmdState.slice(),f:t.f}},token:function(t,e){return e.f(t,e)},blankLine:function(t){t.f=o,t.cmdState.length=0},lineComment:"%"}}),l.defineMIME("text/x-stex","stex"),l.defineMIME("text/x-latex","stex")})}()),s.exports}export{A as r}; diff --git a/dist-ui/assets/stylus-EQlihBPE.js b/dist-ui/assets/stylus-WMbBiF91.js similarity index 99% rename from dist-ui/assets/stylus-EQlihBPE.js rename to dist-ui/assets/stylus-WMbBiF91.js index 2dd735e2..e8c83cee 100644 --- a/dist-ui/assets/stylus-EQlihBPE.js +++ b/dist-ui/assets/stylus-WMbBiF91.js @@ -1 +1 @@ -import{g as ye,c as ze}from"./index-CHg1vBCc.js";function je(K,O){for(var w=0;wy[v]})}}}return Object.freeze(Object.defineProperty(K,Symbol.toStringTag,{value:"Module"}))}var qe={exports:{}};(function(K,O){(function(w){w(ze)})(function(w){w.defineMode("stylus",function(g){for(var c=g.indentUnit,x="",te=p(y),B=/^(a|b|i|s|col|em)$/i,ae=p(W),le=p(I),ce=p(U),se=p(N),de=p(v),ue=Z(v),fe=p(R),pe=p(C),he=p(T),ge=/^\s*([.]{2,3}|&&|\|\||\*\*|[?!=:]?=|[-+*\/%<>]=?|\?:|\~)/,be=Z(F),me=p(X),A=new RegExp(/^\-(moz|ms|o|webkit)-/i),ke=p(Y),E="",s={},b,z,D,t;x.length|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),e.context.line.firstWord=E?E[0].replace(/^\s*/,""):"",e.context.line.indent=i.indentation(),b=i.peek(),i.match("//"))return i.skipToEnd(),["comment","comment"];if(i.match("/*"))return e.tokenize=M,M(i,e);if(b=='"'||b=="'")return i.next(),e.tokenize=V(b),e.tokenize(i,e);if(b=="@")return i.next(),i.eatWhile(/[\w\\-]/),["def",i.current()];if(b=="#"){if(i.next(),i.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i))return["atom","atom"];if(i.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return i.match(A)?["meta","vendor-prefixes"]:i.match(/^-?[0-9]?\.?[0-9]/)?(i.eatWhile(/[a-z%]/i),["number","unit"]):b=="!"?(i.next(),[i.match(/^(important|optional)/i)?"keyword":"operator","important"]):b=="."&&i.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:i.match(ue)?(i.peek()=="("&&(e.tokenize=ve),["property","word"]):i.match(/^[a-z][\w-]*\(/i)?(i.backUp(1),["keyword","mixin"]):i.match(/^(\+|-)[a-z][\w-]*\(/i)?(i.backUp(1),["keyword","block-mixin"]):i.string.match(/^\s*&/)&&i.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:i.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(i.backUp(1),["variable-3","reference"]):i.match(/^&{1}\s*$/)?["variable-3","reference"]:i.match(be)?["operator","operator"]:i.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?i.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!m(i.current())?(i.match("."),["variable-2","variable-name"]):["variable-2","word"]:i.match(ge)?["operator",i.current()]:/[:;,{}\[\]\(\)]/.test(b)?(i.next(),[null,b]):(i.next(),[null,null])}function M(i,e){for(var r=!1,n;(n=i.next())!=null;){if(r&&n=="/"){e.tokenize=null;break}r=n=="*"}return["comment","comment"]}function V(i){return function(e,r){for(var n=!1,l;(l=e.next())!=null;){if(l==i&&!n){i==")"&&e.backUp(1);break}n=!n&&l=="\\"}return(l==i||!n&&i!=")")&&(r.tokenize=null),["string","string"]}}function ve(i,e){return i.next(),i.match(/\s*[\"\')]/,!1)?e.tokenize=null:e.tokenize=V(")"),[null,"("]}function H(i,e,r,n){this.type=i,this.indent=e,this.prev=r,this.line=n||{firstWord:"",indent:0}}function o(i,e,r,n){return n=n>=0?n:c,i.context=new H(r,e.indentation()+n,i.context),r}function j(i,e){var r=i.context.indent-c;return e=e||!1,i.context=i.context.prev,e&&(i.context.indent=r),i.context.type}function xe(i,e,r){return s[r.context.type](i,e,r)}function S(i,e,r,n){for(var l=n||1;l>0;l--)r.context=r.context.prev;return xe(i,e,r)}function m(i){return i.toLowerCase()in te}function q(i){return i=i.toLowerCase(),i in ae||i in he}function $(i){return i.toLowerCase()in me}function G(i){return i.toLowerCase().match(A)}function _(i){var e=i.toLowerCase(),r="variable-2";return m(i)?r="tag":$(i)?r="block-keyword":q(i)?r="property":e in ce||e in ke?r="atom":e=="return"||e in se?r="keyword":i.match(/^[A-Z]/)&&(r="string"),r}function J(i,e){return a(e)&&(i=="{"||i=="]"||i=="hash"||i=="qualifier")||i=="block-mixin"}function Q(i,e){return i=="{"&&e.match(/^\s*\$?[\w-]+/i,!1)}function ee(i,e){return i==":"&&e.match(/^[a-z-]+/,!1)}function P(i){return i.sol()||i.string.match(new RegExp("^\\s*"+ne(i.current())))}function a(i){return i.eol()||i.match(/^\s*$/,!1)}function d(i){var e=/^\s*[-_]*[a-z0-9]+[\w-]*/i,r=typeof i=="string"?i.match(e):i.string.match(e);return r?r[0].replace(/^\s*/,""):""}return s.block=function(i,e,r){if(i=="comment"&&P(e)||i==","&&a(e)||i=="mixin")return o(r,e,"block",0);if(Q(i,e))return o(r,e,"interpolation");if(a(e)&&i=="]"&&!/^\s*(\.|#|:|\[|\*|&)/.test(e.string)&&!m(d(e)))return o(r,e,"block",0);if(J(i,e))return o(r,e,"block");if(i=="}"&&a(e))return o(r,e,"block",0);if(i=="variable-name")return e.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||$(d(e))?o(r,e,"variableName"):o(r,e,"variableName",0);if(i=="=")return!a(e)&&!$(d(e))?o(r,e,"block",0):o(r,e,"block");if(i=="*"&&(a(e)||e.match(/\s*(,|\.|#|\[|:|{)/,!1)))return t="tag",o(r,e,"block");if(ee(i,e))return o(r,e,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(i))return o(r,e,a(e)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(i))return o(r,e,"keyframes");if(/@extends?/.test(i))return o(r,e,"extend",0);if(i&&i.charAt(0)=="@")return e.indentation()>0&&q(e.current().slice(1))?(t="variable-2","block"):/(@import|@require|@charset)/.test(i)?o(r,e,"block",0):o(r,e,"block");if(i=="reference"&&a(e))return o(r,e,"block");if(i=="(")return o(r,e,"parens");if(i=="vendor-prefixes")return o(r,e,"vendorPrefixes");if(i=="word"){var n=e.current();if(t=_(n),t=="property")return P(e)?o(r,e,"block",0):(t="atom","block");if(t=="tag"){if(/embed|menu|pre|progress|sub|table/.test(n)&&q(d(e))||e.string.match(new RegExp("\\[\\s*"+n+"|"+n+"\\s*\\]")))return t="atom","block";if(B.test(n)&&(P(e)&&e.string.match(/=/)||!P(e)&&!e.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!m(d(e))))return t="variable-2",$(d(e))?"block":o(r,e,"block",0);if(a(e))return o(r,e,"block")}if(t=="block-keyword")return t="keyword",e.current(/(if|unless)/)&&!P(e)?"block":o(r,e,"block");if(n=="return")return o(r,e,"block",0);if(t=="variable-2"&&e.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return o(r,e,"block")}return r.context.type},s.parens=function(i,e,r){if(i=="(")return o(r,e,"parens");if(i==")")return r.context.prev.type=="parens"?j(r):e.string.match(/^[a-z][\w-]*\(/i)&&a(e)||$(d(e))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(d(e))||!e.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&m(d(e))?o(r,e,"block"):e.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||e.string.match(/^\s*(\(|\)|[0-9])/)||e.string.match(/^\s+[a-z][\w-]*\(/i)||e.string.match(/^\s+[\$-]?[a-z]/i)?o(r,e,"block",0):a(e)?o(r,e,"block"):o(r,e,"block",0);if(i&&i.charAt(0)=="@"&&q(e.current().slice(1))&&(t="variable-2"),i=="word"){var n=e.current();t=_(n),t=="tag"&&B.test(n)&&(t="variable-2"),(t=="property"||n=="to")&&(t="atom")}return i=="variable-name"?o(r,e,"variableName"):ee(i,e)?o(r,e,"pseudo"):r.context.type},s.vendorPrefixes=function(i,e,r){return i=="word"?(t="property",o(r,e,"block",0)):j(r)},s.pseudo=function(i,e,r){return q(d(e.string))?S(i,e,r):(e.match(/^[a-z-]+/),t="variable-3",a(e)?o(r,e,"block"):j(r))},s.atBlock=function(i,e,r){if(i=="(")return o(r,e,"atBlock_parens");if(J(i,e))return o(r,e,"block");if(Q(i,e))return o(r,e,"interpolation");if(i=="word"){var n=e.current().toLowerCase();if(/^(only|not|and|or)$/.test(n)?t="keyword":de.hasOwnProperty(n)?t="tag":pe.hasOwnProperty(n)?t="attribute":fe.hasOwnProperty(n)?t="property":le.hasOwnProperty(n)?t="string-2":t=_(e.current()),t=="tag"&&a(e))return o(r,e,"block")}return i=="operator"&&/^(not|and|or)$/.test(e.current())&&(t="keyword"),r.context.type},s.atBlock_parens=function(i,e,r){if(i=="{"||i=="}")return r.context.type;if(i==")")return a(e)?o(r,e,"block"):o(r,e,"atBlock");if(i=="word"){var n=e.current().toLowerCase();return t=_(n),/^(max|min)/.test(n)&&(t="property"),t=="tag"&&(B.test(n)?t="variable-2":t="atom"),r.context.type}return s.atBlock(i,e,r)},s.keyframes=function(i,e,r){return e.indentation()=="0"&&(i=="}"&&P(e)||i=="]"||i=="hash"||i=="qualifier"||m(e.current()))?S(i,e,r):i=="{"?o(r,e,"keyframes"):i=="}"?P(e)?j(r,!0):o(r,e,"keyframes"):i=="unit"&&/^[0-9]+\%$/.test(e.current())?o(r,e,"keyframes"):i=="word"&&(t=_(e.current()),t=="block-keyword")?(t="keyword",o(r,e,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(i)?o(r,e,a(e)?"block":"atBlock"):i=="mixin"?o(r,e,"block",0):r.context.type},s.interpolation=function(i,e,r){return i=="{"&&j(r)&&o(r,e,"block"),i=="}"?e.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||e.string.match(/^\s*[a-z]/i)&&m(d(e))?o(r,e,"block"):!e.string.match(/^(\{|\s*\&)/)||e.match(/\s*[\w-]/,!1)?o(r,e,"block",0):o(r,e,"block"):i=="variable-name"?o(r,e,"variableName",0):(i=="word"&&(t=_(e.current()),t=="tag"&&(t="atom")),r.context.type)},s.extend=function(i,e,r){return i=="["||i=="="?"extend":i=="]"?j(r):i=="word"?(t=_(e.current()),"extend"):j(r)},s.variableName=function(i,e,r){return i=="string"||i=="["||i=="]"||e.current().match(/^(\.|\$)/)?(e.current().match(/^\.[\w-]+/i)&&(t="variable-2"),"variableName"):S(i,e,r)},{startState:function(i){return{tokenize:null,state:"block",context:new H("block",i||0,null)}},token:function(i,e){return!e.tokenize&&i.eatSpace()?null:(z=(e.tokenize||we)(i,e),z&&typeof z=="object"&&(D=z[1],z=z[0]),t=z,e.state=s[e.state](D,i,e),t)},indent:function(i,e,r){var n=i.context,l=e&&e.charAt(0),h=n.indent,L=d(e),k=r.match(/^\s*/)[0].replace(/\t/g,x).length,u=i.context.prev?i.context.prev.line.firstWord:"",f=i.context.prev?i.context.prev.line.indent:k;return n.prev&&(l=="}"&&(n.type=="block"||n.type=="atBlock"||n.type=="keyframes")||l==")"&&(n.type=="parens"||n.type=="atBlock_parens")||l=="{"&&n.type=="at")?h=n.indent-c:/(\})/.test(l)||(/@|\$|\d/.test(l)||/^\{/.test(e)||/^\s*\/(\/|\*)/.test(e)||/^\s*\/\*/.test(u)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(e)||/^(\+|-)?[a-z][\w-]*\(/i.test(e)||/^return/.test(e)||$(L)?h=k:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(l)||m(L)?/\,\s*$/.test(u)?h=f:/^\s+/.test(r)&&(/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(u)||m(u))?h=k<=f?f:f+c:h=k:!/,\s*$/.test(r)&&(G(L)||q(L))&&($(u)?h=k<=f?f:f+c:/^\{/.test(u)?h=k<=f?k:f+c:G(u)||q(u)?h=k>=f?f:k:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(u)||/=\s*$/.test(u)||m(u)||/^\$[\w-\.\[\]\'\"]/.test(u)?h=f+c:h=k)),h},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"indent"}});var y=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],v=["domain","regexp","url-prefix","url"],C=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],R=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","dynamic-range","video-dynamic-range"],W=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],I=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],T=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],N=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],U=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","high","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","standard","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],F=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],X=["for","if","else","unless","from","to"],Y=["null","true","false","href","title","type","not-allowed","readonly","disabled"],re=["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"],oe=y.concat(v,C,R,W,I,N,U,T,F,X,Y,re);function Z(g){return g=g.sort(function(c,x){return x>c}),new RegExp("^(("+g.join(")|(")+"))\\b")}function p(g){for(var c={},x=0;xy[v]})}}}return Object.freeze(Object.defineProperty(K,Symbol.toStringTag,{value:"Module"}))}var qe={exports:{}};(function(K,O){(function(w){w(ze)})(function(w){w.defineMode("stylus",function(g){for(var c=g.indentUnit,x="",te=p(y),B=/^(a|b|i|s|col|em)$/i,ae=p(W),le=p(I),ce=p(U),se=p(N),de=p(v),ue=Z(v),fe=p(R),pe=p(C),he=p(T),ge=/^\s*([.]{2,3}|&&|\|\||\*\*|[?!=:]?=|[-+*\/%<>]=?|\?:|\~)/,be=Z(F),me=p(X),A=new RegExp(/^\-(moz|ms|o|webkit)-/i),ke=p(Y),E="",s={},b,z,D,t;x.length|~|\/)?\s*[\w-]*([a-z0-9-]|\*|\/\*)(\(|,)?)/),e.context.line.firstWord=E?E[0].replace(/^\s*/,""):"",e.context.line.indent=i.indentation(),b=i.peek(),i.match("//"))return i.skipToEnd(),["comment","comment"];if(i.match("/*"))return e.tokenize=M,M(i,e);if(b=='"'||b=="'")return i.next(),e.tokenize=V(b),e.tokenize(i,e);if(b=="@")return i.next(),i.eatWhile(/[\w\\-]/),["def",i.current()];if(b=="#"){if(i.next(),i.match(/^[0-9a-f]{3}([0-9a-f]([0-9a-f]{2}){0,2})?\b(?!-)/i))return["atom","atom"];if(i.match(/^[a-z][\w-]*/i))return["builtin","hash"]}return i.match(A)?["meta","vendor-prefixes"]:i.match(/^-?[0-9]?\.?[0-9]/)?(i.eatWhile(/[a-z%]/i),["number","unit"]):b=="!"?(i.next(),[i.match(/^(important|optional)/i)?"keyword":"operator","important"]):b=="."&&i.match(/^\.[a-z][\w-]*/i)?["qualifier","qualifier"]:i.match(ue)?(i.peek()=="("&&(e.tokenize=ve),["property","word"]):i.match(/^[a-z][\w-]*\(/i)?(i.backUp(1),["keyword","mixin"]):i.match(/^(\+|-)[a-z][\w-]*\(/i)?(i.backUp(1),["keyword","block-mixin"]):i.string.match(/^\s*&/)&&i.match(/^[-_]+[a-z][\w-]*/)?["qualifier","qualifier"]:i.match(/^(\/|&)(-|_|:|\.|#|[a-z])/)?(i.backUp(1),["variable-3","reference"]):i.match(/^&{1}\s*$/)?["variable-3","reference"]:i.match(be)?["operator","operator"]:i.match(/^\$?[-_]*[a-z0-9]+[\w-]*/i)?i.match(/^(\.|\[)[\w-\'\"\]]+/i,!1)&&!m(i.current())?(i.match("."),["variable-2","variable-name"]):["variable-2","word"]:i.match(ge)?["operator",i.current()]:/[:;,{}\[\]\(\)]/.test(b)?(i.next(),[null,b]):(i.next(),[null,null])}function M(i,e){for(var r=!1,n;(n=i.next())!=null;){if(r&&n=="/"){e.tokenize=null;break}r=n=="*"}return["comment","comment"]}function V(i){return function(e,r){for(var n=!1,l;(l=e.next())!=null;){if(l==i&&!n){i==")"&&e.backUp(1);break}n=!n&&l=="\\"}return(l==i||!n&&i!=")")&&(r.tokenize=null),["string","string"]}}function ve(i,e){return i.next(),i.match(/\s*[\"\')]/,!1)?e.tokenize=null:e.tokenize=V(")"),[null,"("]}function H(i,e,r,n){this.type=i,this.indent=e,this.prev=r,this.line=n||{firstWord:"",indent:0}}function o(i,e,r,n){return n=n>=0?n:c,i.context=new H(r,e.indentation()+n,i.context),r}function j(i,e){var r=i.context.indent-c;return e=e||!1,i.context=i.context.prev,e&&(i.context.indent=r),i.context.type}function xe(i,e,r){return s[r.context.type](i,e,r)}function S(i,e,r,n){for(var l=n||1;l>0;l--)r.context=r.context.prev;return xe(i,e,r)}function m(i){return i.toLowerCase()in te}function q(i){return i=i.toLowerCase(),i in ae||i in he}function $(i){return i.toLowerCase()in me}function G(i){return i.toLowerCase().match(A)}function _(i){var e=i.toLowerCase(),r="variable-2";return m(i)?r="tag":$(i)?r="block-keyword":q(i)?r="property":e in ce||e in ke?r="atom":e=="return"||e in se?r="keyword":i.match(/^[A-Z]/)&&(r="string"),r}function J(i,e){return a(e)&&(i=="{"||i=="]"||i=="hash"||i=="qualifier")||i=="block-mixin"}function Q(i,e){return i=="{"&&e.match(/^\s*\$?[\w-]+/i,!1)}function ee(i,e){return i==":"&&e.match(/^[a-z-]+/,!1)}function P(i){return i.sol()||i.string.match(new RegExp("^\\s*"+ne(i.current())))}function a(i){return i.eol()||i.match(/^\s*$/,!1)}function d(i){var e=/^\s*[-_]*[a-z0-9]+[\w-]*/i,r=typeof i=="string"?i.match(e):i.string.match(e);return r?r[0].replace(/^\s*/,""):""}return s.block=function(i,e,r){if(i=="comment"&&P(e)||i==","&&a(e)||i=="mixin")return o(r,e,"block",0);if(Q(i,e))return o(r,e,"interpolation");if(a(e)&&i=="]"&&!/^\s*(\.|#|:|\[|\*|&)/.test(e.string)&&!m(d(e)))return o(r,e,"block",0);if(J(i,e))return o(r,e,"block");if(i=="}"&&a(e))return o(r,e,"block",0);if(i=="variable-name")return e.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/)||$(d(e))?o(r,e,"variableName"):o(r,e,"variableName",0);if(i=="=")return!a(e)&&!$(d(e))?o(r,e,"block",0):o(r,e,"block");if(i=="*"&&(a(e)||e.match(/\s*(,|\.|#|\[|:|{)/,!1)))return t="tag",o(r,e,"block");if(ee(i,e))return o(r,e,"pseudo");if(/@(font-face|media|supports|(-moz-)?document)/.test(i))return o(r,e,a(e)?"block":"atBlock");if(/@(-(moz|ms|o|webkit)-)?keyframes$/.test(i))return o(r,e,"keyframes");if(/@extends?/.test(i))return o(r,e,"extend",0);if(i&&i.charAt(0)=="@")return e.indentation()>0&&q(e.current().slice(1))?(t="variable-2","block"):/(@import|@require|@charset)/.test(i)?o(r,e,"block",0):o(r,e,"block");if(i=="reference"&&a(e))return o(r,e,"block");if(i=="(")return o(r,e,"parens");if(i=="vendor-prefixes")return o(r,e,"vendorPrefixes");if(i=="word"){var n=e.current();if(t=_(n),t=="property")return P(e)?o(r,e,"block",0):(t="atom","block");if(t=="tag"){if(/embed|menu|pre|progress|sub|table/.test(n)&&q(d(e))||e.string.match(new RegExp("\\[\\s*"+n+"|"+n+"\\s*\\]")))return t="atom","block";if(B.test(n)&&(P(e)&&e.string.match(/=/)||!P(e)&&!e.string.match(/^(\s*\.|#|\&|\[|\/|>|\*)/)&&!m(d(e))))return t="variable-2",$(d(e))?"block":o(r,e,"block",0);if(a(e))return o(r,e,"block")}if(t=="block-keyword")return t="keyword",e.current(/(if|unless)/)&&!P(e)?"block":o(r,e,"block");if(n=="return")return o(r,e,"block",0);if(t=="variable-2"&&e.string.match(/^\s?\$[\w-\.\[\]\'\"]+$/))return o(r,e,"block")}return r.context.type},s.parens=function(i,e,r){if(i=="(")return o(r,e,"parens");if(i==")")return r.context.prev.type=="parens"?j(r):e.string.match(/^[a-z][\w-]*\(/i)&&a(e)||$(d(e))||/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(d(e))||!e.string.match(/^-?[a-z][\w-\.\[\]\'\"]*\s*=/)&&m(d(e))?o(r,e,"block"):e.string.match(/^[\$-]?[a-z][\w-\.\[\]\'\"]*\s*=/)||e.string.match(/^\s*(\(|\)|[0-9])/)||e.string.match(/^\s+[a-z][\w-]*\(/i)||e.string.match(/^\s+[\$-]?[a-z]/i)?o(r,e,"block",0):a(e)?o(r,e,"block"):o(r,e,"block",0);if(i&&i.charAt(0)=="@"&&q(e.current().slice(1))&&(t="variable-2"),i=="word"){var n=e.current();t=_(n),t=="tag"&&B.test(n)&&(t="variable-2"),(t=="property"||n=="to")&&(t="atom")}return i=="variable-name"?o(r,e,"variableName"):ee(i,e)?o(r,e,"pseudo"):r.context.type},s.vendorPrefixes=function(i,e,r){return i=="word"?(t="property",o(r,e,"block",0)):j(r)},s.pseudo=function(i,e,r){return q(d(e.string))?S(i,e,r):(e.match(/^[a-z-]+/),t="variable-3",a(e)?o(r,e,"block"):j(r))},s.atBlock=function(i,e,r){if(i=="(")return o(r,e,"atBlock_parens");if(J(i,e))return o(r,e,"block");if(Q(i,e))return o(r,e,"interpolation");if(i=="word"){var n=e.current().toLowerCase();if(/^(only|not|and|or)$/.test(n)?t="keyword":de.hasOwnProperty(n)?t="tag":pe.hasOwnProperty(n)?t="attribute":fe.hasOwnProperty(n)?t="property":le.hasOwnProperty(n)?t="string-2":t=_(e.current()),t=="tag"&&a(e))return o(r,e,"block")}return i=="operator"&&/^(not|and|or)$/.test(e.current())&&(t="keyword"),r.context.type},s.atBlock_parens=function(i,e,r){if(i=="{"||i=="}")return r.context.type;if(i==")")return a(e)?o(r,e,"block"):o(r,e,"atBlock");if(i=="word"){var n=e.current().toLowerCase();return t=_(n),/^(max|min)/.test(n)&&(t="property"),t=="tag"&&(B.test(n)?t="variable-2":t="atom"),r.context.type}return s.atBlock(i,e,r)},s.keyframes=function(i,e,r){return e.indentation()=="0"&&(i=="}"&&P(e)||i=="]"||i=="hash"||i=="qualifier"||m(e.current()))?S(i,e,r):i=="{"?o(r,e,"keyframes"):i=="}"?P(e)?j(r,!0):o(r,e,"keyframes"):i=="unit"&&/^[0-9]+\%$/.test(e.current())?o(r,e,"keyframes"):i=="word"&&(t=_(e.current()),t=="block-keyword")?(t="keyword",o(r,e,"keyframes")):/@(font-face|media|supports|(-moz-)?document)/.test(i)?o(r,e,a(e)?"block":"atBlock"):i=="mixin"?o(r,e,"block",0):r.context.type},s.interpolation=function(i,e,r){return i=="{"&&j(r)&&o(r,e,"block"),i=="}"?e.string.match(/^\s*(\.|#|:|\[|\*|&|>|~|\+|\/)/i)||e.string.match(/^\s*[a-z]/i)&&m(d(e))?o(r,e,"block"):!e.string.match(/^(\{|\s*\&)/)||e.match(/\s*[\w-]/,!1)?o(r,e,"block",0):o(r,e,"block"):i=="variable-name"?o(r,e,"variableName",0):(i=="word"&&(t=_(e.current()),t=="tag"&&(t="atom")),r.context.type)},s.extend=function(i,e,r){return i=="["||i=="="?"extend":i=="]"?j(r):i=="word"?(t=_(e.current()),"extend"):j(r)},s.variableName=function(i,e,r){return i=="string"||i=="["||i=="]"||e.current().match(/^(\.|\$)/)?(e.current().match(/^\.[\w-]+/i)&&(t="variable-2"),"variableName"):S(i,e,r)},{startState:function(i){return{tokenize:null,state:"block",context:new H("block",i||0,null)}},token:function(i,e){return!e.tokenize&&i.eatSpace()?null:(z=(e.tokenize||we)(i,e),z&&typeof z=="object"&&(D=z[1],z=z[0]),t=z,e.state=s[e.state](D,i,e),t)},indent:function(i,e,r){var n=i.context,l=e&&e.charAt(0),h=n.indent,L=d(e),k=r.match(/^\s*/)[0].replace(/\t/g,x).length,u=i.context.prev?i.context.prev.line.firstWord:"",f=i.context.prev?i.context.prev.line.indent:k;return n.prev&&(l=="}"&&(n.type=="block"||n.type=="atBlock"||n.type=="keyframes")||l==")"&&(n.type=="parens"||n.type=="atBlock_parens")||l=="{"&&n.type=="at")?h=n.indent-c:/(\})/.test(l)||(/@|\$|\d/.test(l)||/^\{/.test(e)||/^\s*\/(\/|\*)/.test(e)||/^\s*\/\*/.test(u)||/^\s*[\w-\.\[\]\'\"]+\s*(\?|:|\+)?=/i.test(e)||/^(\+|-)?[a-z][\w-]*\(/i.test(e)||/^return/.test(e)||$(L)?h=k:/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(l)||m(L)?/\,\s*$/.test(u)?h=f:/^\s+/.test(r)&&(/(\.|#|:|\[|\*|&|>|~|\+|\/)/.test(u)||m(u))?h=k<=f?f:f+c:h=k:!/,\s*$/.test(r)&&(G(L)||q(L))&&($(u)?h=k<=f?f:f+c:/^\{/.test(u)?h=k<=f?k:f+c:G(u)||q(u)?h=k>=f?f:k:/^(\.|#|:|\[|\*|&|@|\+|\-|>|~|\/)/.test(u)||/=\s*$/.test(u)||m(u)||/^\$[\w-\.\[\]\'\"]/.test(u)?h=f+c:h=k)),h},electricChars:"}",blockCommentStart:"/*",blockCommentEnd:"*/",blockCommentContinue:" * ",lineComment:"//",fold:"indent"}});var y=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","bgsound","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","nobr","noframes","noscript","object","ol","optgroup","option","output","p","param","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","var","video"],v=["domain","regexp","url-prefix","url"],C=["all","aural","braille","handheld","print","projection","screen","tty","tv","embossed"],R=["width","min-width","max-width","height","min-height","max-height","device-width","min-device-width","max-device-width","device-height","min-device-height","max-device-height","aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio","color","min-color","max-color","color-index","min-color-index","max-color-index","monochrome","min-monochrome","max-monochrome","resolution","min-resolution","max-resolution","scan","grid","dynamic-range","video-dynamic-range"],W=["align-content","align-items","align-self","alignment-adjust","alignment-baseline","anchor-point","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","azimuth","backface-visibility","background","background-attachment","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","baseline-shift","binding","bleed","bookmark-label","bookmark-level","bookmark-state","bookmark-target","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","clear","clip","color","color-profile","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","content","counter-increment","counter-reset","crop","cue","cue-after","cue-before","cursor","direction","display","dominant-baseline","drop-initial-after-adjust","drop-initial-after-align","drop-initial-before-adjust","drop-initial-before-align","drop-initial-size","drop-initial-value","elevation","empty-cells","fit","fit-position","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-offset","flow-from","flow-into","font","font-feature-settings","font-family","font-kerning","font-language-override","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-weight","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-position","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","inline-box-align","justify-content","left","letter-spacing","line-break","line-height","line-stacking","line-stacking-ruby","line-stacking-shift","line-stacking-strategy","list-style","list-style-image","list-style-position","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","marker-offset","marks","marquee-direction","marquee-loop","marquee-play-count","marquee-speed","marquee-style","max-height","max-width","min-height","min-width","move-to","nav-down","nav-index","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-style","overflow-wrap","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page","page-break-after","page-break-before","page-break-inside","page-policy","pause","pause-after","pause-before","perspective","perspective-origin","pitch","pitch-range","play-during","position","presentation-level","punctuation-trim","quotes","region-break-after","region-break-before","region-break-inside","region-fragment","rendering-intent","resize","rest","rest-after","rest-before","richness","right","rotation","rotation-point","ruby-align","ruby-overhang","ruby-position","ruby-span","shape-image-threshold","shape-inside","shape-margin","shape-outside","size","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","stress","string-set","tab-size","table-layout","target","target-name","target-new","target-position","text-align","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-height","text-indent","text-justify","text-outline","text-overflow","text-shadow","text-size-adjust","text-space-collapse","text-transform","text-underline-position","text-wrap","top","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","z-index","clip-path","clip-rule","mask","enable-background","filter","flood-color","flood-opacity","lighting-color","stop-color","stop-opacity","pointer-events","color-interpolation","color-interpolation-filters","color-rendering","fill","fill-opacity","fill-rule","image-rendering","marker","marker-end","marker-mid","marker-start","shape-rendering","stroke","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-rendering","baseline-shift","dominant-baseline","glyph-orientation-horizontal","glyph-orientation-vertical","text-anchor","writing-mode","font-smoothing","osx-font-smoothing"],I=["scrollbar-arrow-color","scrollbar-base-color","scrollbar-dark-shadow-color","scrollbar-face-color","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-3d-light-color","scrollbar-track-color","shape-inside","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","zoom"],T=["font-family","src","unicode-range","font-variant","font-feature-settings","font-stretch","font-weight","font-style"],N=["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"],U=["above","absolute","activeborder","additive","activecaption","afar","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","amharic","amharic-abegede","antialiased","appworkspace","arabic-indic","armenian","asterisks","attr","auto","avoid","avoid-column","avoid-page","avoid-region","background","backwards","baseline","below","bidi-override","binary","bengali","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","buttonface","buttonhighlight","buttonshadow","buttontext","calc","cambodian","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","clear","clip","close-quote","col-resize","collapse","column","compact","condensed","conic-gradient","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","dashed","decimal","decimal-leading-zero","default","default-button","destination-atop","destination-in","destination-out","destination-over","devanagari","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","ew-resize","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fixed","flat","flex","footnotes","forwards","from","geometricPrecision","georgian","graytext","groove","gujarati","gurmukhi","hand","hangul","hangul-consonant","hebrew","help","hidden","hide","high","higher","highlight","highlighttext","hiragana","hiragana-iroha","horizontal","hsl","hsla","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-table","inset","inside","intrinsic","invert","italic","japanese-formal","japanese-informal","justify","kannada","katakana","katakana-iroha","keep-all","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","landscape","lao","large","larger","left","level","lighter","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-alpha","lower-armenian","lower-greek","lower-hexadecimal","lower-latin","lower-norwegian","lower-roman","lowercase","ltr","malayalam","match","matrix","matrix3d","media-play-button","media-slider","media-sliderthumb","media-volume-slider","media-volume-sliderthumb","medium","menu","menulist","menulist-button","menutext","message-box","middle","min-intrinsic","mix","mongolian","monospace","move","multiple","myanmar","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","octal","open-quote","optimizeLegibility","optimizeSpeed","oriya","oromo","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","persian","perspective","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeating-conic-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row-resize","rtl","run-in","running","s-resize","sans-serif","scale","scale3d","scaleX","scaleY","scaleZ","scroll","scrollbar","scroll-position","se-resize","searchfield","searchfield-cancel-button","searchfield-decoration","searchfield-results-button","searchfield-results-decoration","semi-condensed","semi-expanded","separate","serif","show","sidama","simp-chinese-formal","simp-chinese-informal","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","solid","somali","source-atop","source-in","source-out","source-over","space","spell-out","square","square-button","standard","start","static","status-bar","stretch","stroke","sub","subpixel-antialiased","super","sw-resize","symbolic","symbols","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","tamil","telugu","text","text-bottom","text-top","textarea","textfield","thai","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","to","top","trad-chinese-formal","trad-chinese-informal","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","up","upper-alpha","upper-armenian","upper-greek","upper-hexadecimal","upper-latin","upper-norwegian","upper-roman","uppercase","urdu","url","var","vertical","vertical-text","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","x-large","x-small","xor","xx-large","xx-small","bicubic","optimizespeed","grayscale","row","row-reverse","wrap","wrap-reverse","column-reverse","flex-start","flex-end","space-between","space-around","unset"],F=["in","and","or","not","is not","is a","is","isnt","defined","if unless"],X=["for","if","else","unless","from","to"],Y=["null","true","false","href","title","type","not-allowed","readonly","disabled"],re=["@font-face","@keyframes","@media","@viewport","@page","@host","@supports","@block","@css"],oe=y.concat(v,C,R,W,I,N,U,T,F,X,Y,re);function Z(g){return g=g.sort(function(c,x){return x>c}),new RegExp("^(("+g.join(")|(")+"))\\b")}function p(g){for(var c={},x=0;xu[f]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var j={exports:{}};(function(p,d){(function(c){c(F)})(function(c){function u(e){for(var t={},n=0;n~^?!",y=":;,.(){}[]",w=/^\-?0b[01][01_]*/,k=/^\-?0o[0-7][0-7_]*/,b=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,z=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,m=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,A=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,O=/^\#[A-Za-z]+/,I=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;function s(e,t,n){if(e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;var r=e.peek();if(r=="/"){if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return t.tokenize.push(v),v(e,t)}if(e.match(O))return"builtin";if(e.match(I))return"attribute";if(e.match(w)||e.match(k)||e.match(b)||e.match(z))return"number";if(e.match(A))return"property";if(g.indexOf(r)>-1)return e.next(),"operator";if(y.indexOf(r)>-1)return e.next(),e.match(".."),"punctuation";var i;if(i=e.match(/("""|"|')/)){var o=C.bind(null,i[0]);return t.tokenize.push(o),o(e,t)}if(e.match(m)){var a=e.current();return _.hasOwnProperty(a)?"variable-2":x.hasOwnProperty(a)?"atom":f.hasOwnProperty(a)?(l.hasOwnProperty(a)&&(t.prev="define"),"keyword"):n=="define"?"def":"variable"}return e.next(),null}function S(){var e=0;return function(t,n,r){var i=s(t,n,r);if(i=="punctuation"){if(t.current()=="(")++e;else if(t.current()==")"){if(e==0)return t.backUp(1),n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);--e}}return i}}function C(e,t,n){for(var r=e.length==1,i,o=!1;i=t.peek();)if(o){if(t.next(),i=="(")return n.tokenize.push(S()),"string";o=!1}else{if(t.match(e))return n.tokenize.pop(),"string";t.next(),o=i=="\\"}return r&&n.tokenize.pop(),"string"}function v(e,t){for(var n;n=e.next();)if(n==="/"&&e.eat("*"))t.tokenize.push(v);else if(n==="*"&&e.eat("/")){t.tokenize.pop();break}return"comment"}function P(e,t,n){this.prev=e,this.align=t,this.indented=n}function $(e,t){var n=t.match(/^\s*($|\/[\/\*])/,!1)?null:t.column()+1;e.context=new P(e.context,n,e.indented)}function E(e){e.context&&(e.indented=e.context.indented,e.context=e.context.prev)}c.defineMode("swift",function(e){return{startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(t,n){var r=n.prev;n.prev=null;var i=n.tokenize[n.tokenize.length-1]||s,o=i(t,n,r);if(!o||o=="comment"?n.prev=r:n.prev||(n.prev=o),o=="punctuation"){var a=/[\(\[\{]|([\]\)\}])/.exec(t.current());a&&(a[1]?E:$)(n,t)}return o},indent:function(t,n){var r=t.context;if(!r)return 0;var i=/^[\]\}\)]/.test(n);return r.align!=null?r.align-(i?1:0):r.indented+(i?0:e.indentUnit)},electricInput:/^\s*[\)\}\]]$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace",closeBrackets:"()[]{}''\"\"``"}}),c.defineMIME("text/x-swift","swift")})})();var h=j.exports;const N=U(h),T=Z({__proto__:null,default:N},[h]);export{T as s}; +import{g as U,c as F}from"./index-rXwcQ1j1.js";function Z(p,d){for(var c=0;cu[f]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}var j={exports:{}};(function(p,d){(function(c){c(F)})(function(c){function u(e){for(var t={},n=0;n~^?!",y=":;,.(){}[]",w=/^\-?0b[01][01_]*/,k=/^\-?0o[0-7][0-7_]*/,b=/^\-?0x[\dA-Fa-f][\dA-Fa-f_]*(?:(?:\.[\dA-Fa-f][\dA-Fa-f_]*)?[Pp]\-?\d[\d_]*)?/,z=/^\-?\d[\d_]*(?:\.\d[\d_]*)?(?:[Ee]\-?\d[\d_]*)?/,m=/^\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1/,A=/^\.(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/,O=/^\#[A-Za-z]+/,I=/^@(?:\$\d+|(`?)[_A-Za-z][_A-Za-z$0-9]*\1)/;function s(e,t,n){if(e.sol()&&(t.indented=e.indentation()),e.eatSpace())return null;var r=e.peek();if(r=="/"){if(e.match("//"))return e.skipToEnd(),"comment";if(e.match("/*"))return t.tokenize.push(v),v(e,t)}if(e.match(O))return"builtin";if(e.match(I))return"attribute";if(e.match(w)||e.match(k)||e.match(b)||e.match(z))return"number";if(e.match(A))return"property";if(g.indexOf(r)>-1)return e.next(),"operator";if(y.indexOf(r)>-1)return e.next(),e.match(".."),"punctuation";var i;if(i=e.match(/("""|"|')/)){var o=C.bind(null,i[0]);return t.tokenize.push(o),o(e,t)}if(e.match(m)){var a=e.current();return _.hasOwnProperty(a)?"variable-2":x.hasOwnProperty(a)?"atom":f.hasOwnProperty(a)?(l.hasOwnProperty(a)&&(t.prev="define"),"keyword"):n=="define"?"def":"variable"}return e.next(),null}function S(){var e=0;return function(t,n,r){var i=s(t,n,r);if(i=="punctuation"){if(t.current()=="(")++e;else if(t.current()==")"){if(e==0)return t.backUp(1),n.tokenize.pop(),n.tokenize[n.tokenize.length-1](t,n);--e}}return i}}function C(e,t,n){for(var r=e.length==1,i,o=!1;i=t.peek();)if(o){if(t.next(),i=="(")return n.tokenize.push(S()),"string";o=!1}else{if(t.match(e))return n.tokenize.pop(),"string";t.next(),o=i=="\\"}return r&&n.tokenize.pop(),"string"}function v(e,t){for(var n;n=e.next();)if(n==="/"&&e.eat("*"))t.tokenize.push(v);else if(n==="*"&&e.eat("/")){t.tokenize.pop();break}return"comment"}function P(e,t,n){this.prev=e,this.align=t,this.indented=n}function $(e,t){var n=t.match(/^\s*($|\/[\/\*])/,!1)?null:t.column()+1;e.context=new P(e.context,n,e.indented)}function E(e){e.context&&(e.indented=e.context.indented,e.context=e.context.prev)}c.defineMode("swift",function(e){return{startState:function(){return{prev:null,context:null,indented:0,tokenize:[]}},token:function(t,n){var r=n.prev;n.prev=null;var i=n.tokenize[n.tokenize.length-1]||s,o=i(t,n,r);if(!o||o=="comment"?n.prev=r:n.prev||(n.prev=o),o=="punctuation"){var a=/[\(\[\{]|([\]\)\}])/.exec(t.current());a&&(a[1]?E:$)(n,t)}return o},indent:function(t,n){var r=t.context;if(!r)return 0;var i=/^[\]\}\)]/.test(n);return r.align!=null?r.align-(i?1:0):r.indented+(i?0:e.indentUnit)},electricInput:/^\s*[\)\}\]]$/,lineComment:"//",blockCommentStart:"/*",blockCommentEnd:"*/",fold:"brace",closeBrackets:"()[]{}''\"\"``"}}),c.defineMIME("text/x-swift","swift")})})();var h=j.exports;const N=U(h),T=Z({__proto__:null,default:N},[h]);export{T as s}; diff --git a/dist-ui/assets/tcl-C6K8F_7a.js b/dist-ui/assets/tcl-V8MiAbr3.js similarity index 97% rename from dist-ui/assets/tcl-C6K8F_7a.js rename to dist-ui/assets/tcl-V8MiAbr3.js index 499085fc..b3c17357 100644 --- a/dist-ui/assets/tcl-C6K8F_7a.js +++ b/dist-ui/assets/tcl-V8MiAbr3.js @@ -1 +1 @@ -import{g as x,c as y}from"./index-CHg1vBCc.js";function v(c,s){for(var o=0;oa[i]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var _={exports:{}};(function(c,s){(function(o){o(y)})(function(o){o.defineMode("tcl",function(){function a(r){for(var t={},n=r.split(" "),e=0;e!?^\/\|]/;function p(r,t,n){return t.tokenize=n,n(r,t)}function u(r,t){var n=t.beforeParams;t.beforeParams=!1;var e=r.next();if((e=='"'||e=="'")&&t.inParams)return p(r,t,b(e));if(/[\[\]{}\(\),;\.]/.test(e))return e=="("&&n?t.inParams=!0:e==")"&&(t.inParams=!1),null;if(/\d/.test(e))return r.eatWhile(/[\w\.]/),"number";if(e=="#")return r.eat("*")?p(r,t,g):e=="#"&&r.match(/ *\[ *\[/)?p(r,t,h):(r.skipToEnd(),"comment");if(e=='"')return r.skipTo(/"/),"comment";if(e=="$")return r.eatWhile(/[$_a-z0-9A-Z\.{:]/),r.eatWhile(/}/),t.beforeParams=!0,"builtin";if(d.test(e))return r.eatWhile(d),"comment";r.eatWhile(/[\w\$_{}\xa1-\uffff]/);var f=r.current().toLowerCase();return i&&i.propertyIsEnumerable(f)?"keyword":l&&l.propertyIsEnumerable(f)?(t.beforeParams=!0,"keyword"):null}function b(r){return function(t,n){for(var e=!1,f,m=!1;(f=t.next())!=null;){if(f==r&&!e){m=!0;break}e=!e&&f=="\\"}return m&&(n.tokenize=u),"string"}}function g(r,t){for(var n=!1,e;e=r.next();){if(e=="#"&&n){t.tokenize=u;break}n=e=="*"}return"comment"}function h(r,t){for(var n=0,e;e=r.next();){if(e=="#"&&n==2){t.tokenize=u;break}e=="]"?n++:e!=" "&&(n=0)}return"meta"}return{startState:function(){return{tokenize:u,beforeParams:!1,inParams:!1}},token:function(r,t){return r.eatSpace()?null:t.tokenize(r,t)},lineComment:"#"}}),o.defineMIME("text/x-tcl","tcl")})})();var k=_.exports;const w=x(k),E=v({__proto__:null,default:w},[k]);export{E as t}; +import{g as x,c as y}from"./index-rXwcQ1j1.js";function v(c,s){for(var o=0;oa[i]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var _={exports:{}};(function(c,s){(function(o){o(y)})(function(o){o.defineMode("tcl",function(){function a(r){for(var t={},n=r.split(" "),e=0;e!?^\/\|]/;function p(r,t,n){return t.tokenize=n,n(r,t)}function u(r,t){var n=t.beforeParams;t.beforeParams=!1;var e=r.next();if((e=='"'||e=="'")&&t.inParams)return p(r,t,b(e));if(/[\[\]{}\(\),;\.]/.test(e))return e=="("&&n?t.inParams=!0:e==")"&&(t.inParams=!1),null;if(/\d/.test(e))return r.eatWhile(/[\w\.]/),"number";if(e=="#")return r.eat("*")?p(r,t,g):e=="#"&&r.match(/ *\[ *\[/)?p(r,t,h):(r.skipToEnd(),"comment");if(e=='"')return r.skipTo(/"/),"comment";if(e=="$")return r.eatWhile(/[$_a-z0-9A-Z\.{:]/),r.eatWhile(/}/),t.beforeParams=!0,"builtin";if(d.test(e))return r.eatWhile(d),"comment";r.eatWhile(/[\w\$_{}\xa1-\uffff]/);var f=r.current().toLowerCase();return i&&i.propertyIsEnumerable(f)?"keyword":l&&l.propertyIsEnumerable(f)?(t.beforeParams=!0,"keyword"):null}function b(r){return function(t,n){for(var e=!1,f,m=!1;(f=t.next())!=null;){if(f==r&&!e){m=!0;break}e=!e&&f=="\\"}return m&&(n.tokenize=u),"string"}}function g(r,t){for(var n=!1,e;e=r.next();){if(e=="#"&&n){t.tokenize=u;break}n=e=="*"}return"comment"}function h(r,t){for(var n=0,e;e=r.next();){if(e=="#"&&n==2){t.tokenize=u;break}e=="]"?n++:e!=" "&&(n=0)}return"meta"}return{startState:function(){return{tokenize:u,beforeParams:!1,inParams:!1}},token:function(r,t){return r.eatSpace()?null:t.tokenize(r,t)},lineComment:"#"}}),o.defineMIME("text/x-tcl","tcl")})})();var k=_.exports;const w=x(k),E=v({__proto__:null,default:w},[k]);export{E as t}; diff --git a/dist-ui/assets/textile-CvFFb2MS.js b/dist-ui/assets/textile-Py6Rvr8v.js similarity index 99% rename from dist-ui/assets/textile-CvFFb2MS.js rename to dist-ui/assets/textile-Py6Rvr8v.js index ccfd3bc1..eb9ec067 100644 --- a/dist-ui/assets/textile-CvFFb2MS.js +++ b/dist-ui/assets/textile-Py6Rvr8v.js @@ -1 +1 @@ -import{g as R,c as w}from"./index-CHg1vBCc.js";function A(y,m){for(var c=0;cu[d]})}}}return Object.freeze(Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}))}var C={exports:{}};(function(y,m){(function(c){c(w)})(function(c){var u={addition:"positive",attributes:"attribute",bold:"strong",cite:"keyword",code:"atom",definitionList:"number",deletion:"negative",div:"punctuation",em:"em",footnote:"variable",footCite:"qualifier",header:"header",html:"comment",image:"string",italic:"em",link:"link",linkDefinition:"link",list1:"variable-2",list2:"variable-3",list3:"keyword",notextile:"string-2",pre:"operator",p:"property",quote:"bracket",span:"quote",specialChar:"tag",strong:"strong",sub:"builtin",sup:"builtin",table:"variable-3",tableHeading:"operator"};function d(t,e){e.mode=r.newLayout,e.tableHeading=!1,e.layoutType==="definitionList"&&e.spanningLayout&&t.match(l("definitionListEnd"),!1)&&(e.spanningLayout=!1)}function b(t,e,i){if(i==="_")return t.eat("_")?f(t,e,"italic",/__/,2):f(t,e,"em",/_/,1);if(i==="*")return t.eat("*")?f(t,e,"bold",/\*\*/,2):f(t,e,"strong",/\*/,1);if(i==="[")return t.match(/\d+\]/)&&(e.footCite=!0),a(e);if(i==="("){var o=t.match(/^(r|tm|c)\)/);if(o)return p(e,u.specialChar)}if(i==="<"&&t.match(/(\w+)[^>]+>[^<]+<\/\1>/))return p(e,u.html);if(i==="?"&&t.eat("?"))return f(t,e,"cite",/\?\?/,2);if(i==="="&&t.eat("="))return f(t,e,"notextile",/==/,2);if(i==="-"&&!t.eat("-"))return f(t,e,"deletion",/-/,1);if(i==="+")return f(t,e,"addition",/\+/,1);if(i==="~")return f(t,e,"sub",/~/,1);if(i==="^")return f(t,e,"sup",/\^/,1);if(i==="%")return f(t,e,"span",/%/,1);if(i==="@")return f(t,e,"code",/@/,1);if(i==="!"){var s=f(t,e,"image",/(?:\([^\)]+\))?!/,1);return t.match(/^:\S+/),s}return a(e)}function f(t,e,i,o,s){var g=t.pos>s?t.string.charAt(t.pos-s-1):null,h=t.peek();if(e[i]){if((!h||/\W/.test(h))&&g&&/\S/.test(g)){var L=a(e);return e[i]=!1,L}}else(!g||/\W/.test(g))&&h&&/\S/.test(h)&&t.match(new RegExp("^.*\\S"+o.source+"(?:\\W|$)"),!1)&&(e[i]=!0,e.mode=r.attributes);return a(e)}function a(t){var e=v(t);if(e)return e;var i=[];return t.layoutType&&i.push(u[t.layoutType]),i=i.concat(x(t,"addition","bold","cite","code","deletion","em","footCite","image","italic","link","span","strong","sub","sup","table","tableHeading")),t.layoutType==="header"&&i.push(u.header+"-"+t.header),i.length?i.join(" "):null}function v(t){var e=t.layoutType;switch(e){case"notextile":case"code":case"pre":return u[e];default:return t.notextile?u.notextile+(e?" "+u[e]:""):null}}function p(t,e){var i=v(t);if(i)return i;var o=a(t);return e?o?o+" "+e:e:o}function x(t){for(var e=[],i=1;i]+)?>(?:[^<]+<\/\1>)?/,link:/[^"]+":\S/,linkDefinition:/\[[^\s\]]+\]\S+/,list:/(?:#+|\*+)/,notextile:"notextile",para:"p",pre:"pre",table:"table",tableCellAttributes:/[\/\\]\d+/,tableHeading:/\|_\./,tableText:/[^"_\*\[\(\?\+~\^%@|-]+/,text:/[^!"_=\*\[\(<\?\+~\^%@-]+/},attributes:{align:/(?:<>|<|>|=)/,selector:/\([^\(][^\)]+\)/,lang:/\[[^\[\]]+\]/,pad:/(?:\(+|\)+){1,2}/,css:/\{[^\}]+\}/},createRe:function(t){switch(t){case"drawTable":return n.makeRe("^",n.single.drawTable,"$");case"html":return n.makeRe("^",n.single.html,"(?:",n.single.html,")*","$");case"linkDefinition":return n.makeRe("^",n.single.linkDefinition,"$");case"listLayout":return n.makeRe("^",n.single.list,l("allAttributes"),"*\\s+");case"tableCellAttributes":return n.makeRe("^",n.choiceRe(n.single.tableCellAttributes,l("allAttributes")),"+\\.");case"type":return n.makeRe("^",l("allTypes"));case"typeLayout":return n.makeRe("^",l("allTypes"),l("allAttributes"),"*\\.\\.?","(\\s+|$)");case"attributes":return n.makeRe("^",l("allAttributes"),"+");case"allTypes":return n.choiceRe(n.single.div,n.single.foot,n.single.header,n.single.bc,n.single.bq,n.single.notextile,n.single.pre,n.single.table,n.single.para);case"allAttributes":return n.choiceRe(n.attributes.selector,n.attributes.css,n.attributes.lang,n.attributes.align,n.attributes.pad);default:return n.makeRe("^",n.single[t])}},makeRe:function(){for(var t="",e=0;eu[d]})}}}return Object.freeze(Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}))}var C={exports:{}};(function(y,m){(function(c){c(w)})(function(c){var u={addition:"positive",attributes:"attribute",bold:"strong",cite:"keyword",code:"atom",definitionList:"number",deletion:"negative",div:"punctuation",em:"em",footnote:"variable",footCite:"qualifier",header:"header",html:"comment",image:"string",italic:"em",link:"link",linkDefinition:"link",list1:"variable-2",list2:"variable-3",list3:"keyword",notextile:"string-2",pre:"operator",p:"property",quote:"bracket",span:"quote",specialChar:"tag",strong:"strong",sub:"builtin",sup:"builtin",table:"variable-3",tableHeading:"operator"};function d(t,e){e.mode=r.newLayout,e.tableHeading=!1,e.layoutType==="definitionList"&&e.spanningLayout&&t.match(l("definitionListEnd"),!1)&&(e.spanningLayout=!1)}function b(t,e,i){if(i==="_")return t.eat("_")?f(t,e,"italic",/__/,2):f(t,e,"em",/_/,1);if(i==="*")return t.eat("*")?f(t,e,"bold",/\*\*/,2):f(t,e,"strong",/\*/,1);if(i==="[")return t.match(/\d+\]/)&&(e.footCite=!0),a(e);if(i==="("){var o=t.match(/^(r|tm|c)\)/);if(o)return p(e,u.specialChar)}if(i==="<"&&t.match(/(\w+)[^>]+>[^<]+<\/\1>/))return p(e,u.html);if(i==="?"&&t.eat("?"))return f(t,e,"cite",/\?\?/,2);if(i==="="&&t.eat("="))return f(t,e,"notextile",/==/,2);if(i==="-"&&!t.eat("-"))return f(t,e,"deletion",/-/,1);if(i==="+")return f(t,e,"addition",/\+/,1);if(i==="~")return f(t,e,"sub",/~/,1);if(i==="^")return f(t,e,"sup",/\^/,1);if(i==="%")return f(t,e,"span",/%/,1);if(i==="@")return f(t,e,"code",/@/,1);if(i==="!"){var s=f(t,e,"image",/(?:\([^\)]+\))?!/,1);return t.match(/^:\S+/),s}return a(e)}function f(t,e,i,o,s){var g=t.pos>s?t.string.charAt(t.pos-s-1):null,h=t.peek();if(e[i]){if((!h||/\W/.test(h))&&g&&/\S/.test(g)){var L=a(e);return e[i]=!1,L}}else(!g||/\W/.test(g))&&h&&/\S/.test(h)&&t.match(new RegExp("^.*\\S"+o.source+"(?:\\W|$)"),!1)&&(e[i]=!0,e.mode=r.attributes);return a(e)}function a(t){var e=v(t);if(e)return e;var i=[];return t.layoutType&&i.push(u[t.layoutType]),i=i.concat(x(t,"addition","bold","cite","code","deletion","em","footCite","image","italic","link","span","strong","sub","sup","table","tableHeading")),t.layoutType==="header"&&i.push(u.header+"-"+t.header),i.length?i.join(" "):null}function v(t){var e=t.layoutType;switch(e){case"notextile":case"code":case"pre":return u[e];default:return t.notextile?u.notextile+(e?" "+u[e]:""):null}}function p(t,e){var i=v(t);if(i)return i;var o=a(t);return e?o?o+" "+e:e:o}function x(t){for(var e=[],i=1;i]+)?>(?:[^<]+<\/\1>)?/,link:/[^"]+":\S/,linkDefinition:/\[[^\s\]]+\]\S+/,list:/(?:#+|\*+)/,notextile:"notextile",para:"p",pre:"pre",table:"table",tableCellAttributes:/[\/\\]\d+/,tableHeading:/\|_\./,tableText:/[^"_\*\[\(\?\+~\^%@|-]+/,text:/[^!"_=\*\[\(<\?\+~\^%@-]+/},attributes:{align:/(?:<>|<|>|=)/,selector:/\([^\(][^\)]+\)/,lang:/\[[^\[\]]+\]/,pad:/(?:\(+|\)+){1,2}/,css:/\{[^\}]+\}/},createRe:function(t){switch(t){case"drawTable":return n.makeRe("^",n.single.drawTable,"$");case"html":return n.makeRe("^",n.single.html,"(?:",n.single.html,")*","$");case"linkDefinition":return n.makeRe("^",n.single.linkDefinition,"$");case"listLayout":return n.makeRe("^",n.single.list,l("allAttributes"),"*\\s+");case"tableCellAttributes":return n.makeRe("^",n.choiceRe(n.single.tableCellAttributes,l("allAttributes")),"+\\.");case"type":return n.makeRe("^",l("allTypes"));case"typeLayout":return n.makeRe("^",l("allTypes"),l("allAttributes"),"*\\.\\.?","(\\s+|$)");case"attributes":return n.makeRe("^",l("allAttributes"),"+");case"allTypes":return n.choiceRe(n.single.div,n.single.foot,n.single.header,n.single.bc,n.single.bq,n.single.notextile,n.single.pre,n.single.table,n.single.para);case"allAttributes":return n.choiceRe(n.attributes.selector,n.attributes.css,n.attributes.lang,n.attributes.align,n.attributes.pad);default:return n.makeRe("^",n.single[t])}},makeRe:function(){for(var t="",e=0;ec[f]})}}}return Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(d,k){(function(o){o(O)})(function(o){o.defineMode("tiddlywiki",function(){var c={},f={allTags:!0,closeAll:!0,list:!0,newJournal:!0,newTiddler:!0,permaview:!0,saveChanges:!0,search:!0,slider:!0,tabs:!0,tag:!0,tagging:!0,tags:!0,tiddler:!0,timeline:!0,today:!0,version:!0,option:!0,with:!0,filter:!0},l=/[\w_\-]/i,p=/^\-\-\-\-+$/,w=/^\/\*\*\*$/,b=/^\*\*\*\/$/,y=/^<<<$/,g=/^\/\/\{\{\{$/,v=/^\/\/\}\}\}$/,x=/^$/,m=/^$/,S=/^\{\{\{$/,$=/^\}\}\}$/,_=/.*?\}\}\}/;function u(e,n,r){return n.tokenize=r,r(e,n)}function i(e,n){var r=e.sol(),t=e.peek();if(n.block=!1,r&&/[<\/\*{}\-]/.test(t)){if(e.match(S))return n.block=!0,u(e,n,h);if(e.match(y))return"quote";if(e.match(w)||e.match(b)||e.match(g)||e.match(v)||e.match(x)||e.match(m))return"comment";if(e.match(p))return"hr"}if(e.next(),r&&/[\/\*!#;:>|]/.test(t)){if(t=="!")return e.skipToEnd(),"header";if(t=="*")return e.eatWhile("*"),"comment";if(t=="#")return e.eatWhile("#"),"comment";if(t==";")return e.eatWhile(";"),"comment";if(t==":")return e.eatWhile(":"),"comment";if(t==">")return e.eatWhile(">"),"quote";if(t=="|")return"header"}if(t=="{"&&e.match("{{"))return u(e,n,h);if(/[hf]/i.test(t)&&/[ti]/i.test(e.peek())&&e.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i))return"link";if(t=='"')return"string";if(t=="~"||/[\[\]]/.test(t)&&e.match(t))return"brace";if(t=="@")return e.eatWhile(l),"link";if(/\d/.test(t))return e.eatWhile(/\d/),"number";if(t=="/"){if(e.eat("%"))return u(e,n,z);if(e.eat("/"))return u(e,n,C)}if(t=="_"&&e.eat("_"))return u(e,n,T);if(t=="-"&&e.eat("-")){if(e.peek()!=" ")return u(e,n,W);if(e.peek()==" ")return"brace"}return t=="'"&&e.eat("'")?u(e,n,E):t=="<"&&e.eat("<")?u(e,n,j):(e.eatWhile(/[\w\$_]/),c.propertyIsEnumerable(e.current())?"keyword":null)}function z(e,n){for(var r=!1,t;t=e.next();){if(t=="/"&&r){n.tokenize=i;break}r=t=="%"}return"comment"}function E(e,n){for(var r=!1,t;t=e.next();){if(t=="'"&&r){n.tokenize=i;break}r=t=="'"}return"strong"}function h(e,n){var r=n.block;return r&&e.current()?"comment":!r&&e.match(_)||r&&e.sol()&&e.match($)?(n.tokenize=i,"comment"):(e.next(),"comment")}function C(e,n){for(var r=!1,t;t=e.next();){if(t=="/"&&r){n.tokenize=i;break}r=t=="/"}return"em"}function T(e,n){for(var r=!1,t;t=e.next();){if(t=="_"&&r){n.tokenize=i;break}r=t=="_"}return"underlined"}function W(e,n){for(var r=!1,t;t=e.next();){if(t=="-"&&r){n.tokenize=i;break}r=t=="-"}return"strikethrough"}function j(e,n){if(e.current()=="<<")return"macro";var r=e.next();return r?r==">"&&e.peek()==">"?(e.next(),n.tokenize=i,"macro"):(e.eatWhile(/[\w\$_]/),f.propertyIsEnumerable(e.current())?"keyword":null):(n.tokenize=i,null)}return{startState:function(){return{tokenize:i}},token:function(e,n){if(e.eatSpace())return null;var r=n.tokenize(e,n);return r}}}),o.defineMIME("text/x-tiddlywiki","tiddlywiki")})})();var a=M.exports;const I=A(a),P=B({__proto__:null,default:I},[a]);export{P as t}; +import{g as A,c as O}from"./index-rXwcQ1j1.js";function B(d,k){for(var o=0;oc[f]})}}}return Object.freeze(Object.defineProperty(d,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(d,k){(function(o){o(O)})(function(o){o.defineMode("tiddlywiki",function(){var c={},f={allTags:!0,closeAll:!0,list:!0,newJournal:!0,newTiddler:!0,permaview:!0,saveChanges:!0,search:!0,slider:!0,tabs:!0,tag:!0,tagging:!0,tags:!0,tiddler:!0,timeline:!0,today:!0,version:!0,option:!0,with:!0,filter:!0},l=/[\w_\-]/i,p=/^\-\-\-\-+$/,w=/^\/\*\*\*$/,b=/^\*\*\*\/$/,y=/^<<<$/,g=/^\/\/\{\{\{$/,v=/^\/\/\}\}\}$/,x=/^$/,m=/^$/,S=/^\{\{\{$/,$=/^\}\}\}$/,_=/.*?\}\}\}/;function u(e,n,r){return n.tokenize=r,r(e,n)}function i(e,n){var r=e.sol(),t=e.peek();if(n.block=!1,r&&/[<\/\*{}\-]/.test(t)){if(e.match(S))return n.block=!0,u(e,n,h);if(e.match(y))return"quote";if(e.match(w)||e.match(b)||e.match(g)||e.match(v)||e.match(x)||e.match(m))return"comment";if(e.match(p))return"hr"}if(e.next(),r&&/[\/\*!#;:>|]/.test(t)){if(t=="!")return e.skipToEnd(),"header";if(t=="*")return e.eatWhile("*"),"comment";if(t=="#")return e.eatWhile("#"),"comment";if(t==";")return e.eatWhile(";"),"comment";if(t==":")return e.eatWhile(":"),"comment";if(t==">")return e.eatWhile(">"),"quote";if(t=="|")return"header"}if(t=="{"&&e.match("{{"))return u(e,n,h);if(/[hf]/i.test(t)&&/[ti]/i.test(e.peek())&&e.match(/\b(ttps?|tp|ile):\/\/[\-A-Z0-9+&@#\/%?=~_|$!:,.;]*[A-Z0-9+&@#\/%=~_|$]/i))return"link";if(t=='"')return"string";if(t=="~"||/[\[\]]/.test(t)&&e.match(t))return"brace";if(t=="@")return e.eatWhile(l),"link";if(/\d/.test(t))return e.eatWhile(/\d/),"number";if(t=="/"){if(e.eat("%"))return u(e,n,z);if(e.eat("/"))return u(e,n,C)}if(t=="_"&&e.eat("_"))return u(e,n,T);if(t=="-"&&e.eat("-")){if(e.peek()!=" ")return u(e,n,W);if(e.peek()==" ")return"brace"}return t=="'"&&e.eat("'")?u(e,n,E):t=="<"&&e.eat("<")?u(e,n,j):(e.eatWhile(/[\w\$_]/),c.propertyIsEnumerable(e.current())?"keyword":null)}function z(e,n){for(var r=!1,t;t=e.next();){if(t=="/"&&r){n.tokenize=i;break}r=t=="%"}return"comment"}function E(e,n){for(var r=!1,t;t=e.next();){if(t=="'"&&r){n.tokenize=i;break}r=t=="'"}return"strong"}function h(e,n){var r=n.block;return r&&e.current()?"comment":!r&&e.match(_)||r&&e.sol()&&e.match($)?(n.tokenize=i,"comment"):(e.next(),"comment")}function C(e,n){for(var r=!1,t;t=e.next();){if(t=="/"&&r){n.tokenize=i;break}r=t=="/"}return"em"}function T(e,n){for(var r=!1,t;t=e.next();){if(t=="_"&&r){n.tokenize=i;break}r=t=="_"}return"underlined"}function W(e,n){for(var r=!1,t;t=e.next();){if(t=="-"&&r){n.tokenize=i;break}r=t=="-"}return"strikethrough"}function j(e,n){if(e.current()=="<<")return"macro";var r=e.next();return r?r==">"&&e.peek()==">"?(e.next(),n.tokenize=i,"macro"):(e.eatWhile(/[\w\$_]/),f.propertyIsEnumerable(e.current())?"keyword":null):(n.tokenize=i,null)}return{startState:function(){return{tokenize:i}},token:function(e,n){if(e.eatSpace())return null;var r=n.tokenize(e,n);return r}}}),o.defineMIME("text/x-tiddlywiki","tiddlywiki")})})();var a=M.exports;const I=A(a),P=B({__proto__:null,default:I},[a]);export{P as t}; diff --git a/dist-ui/assets/tiki-BArUJ1zQ.js b/dist-ui/assets/tiki-c2DgGfux.js similarity index 98% rename from dist-ui/assets/tiki-BArUJ1zQ.js rename to dist-ui/assets/tiki-c2DgGfux.js index b8ce8934..a03f9fa9 100644 --- a/dist-ui/assets/tiki-BArUJ1zQ.js +++ b/dist-ui/assets/tiki-c2DgGfux.js @@ -1 +1 @@ -import{g as A,c as E}from"./index-CHg1vBCc.js";function C(k,x){for(var a=0;al[i]})}}}return Object.freeze(Object.defineProperty(k,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(k,x){(function(a){a(E)})(function(a){a.defineMode("tiki",function(l){function i(e,t,n){return function(o,g){for(;!o.eol();){if(o.match(t)){g.tokenize=c;break}o.next()}return n&&(g.tokenize=n),e}}function f(e){return function(t,n){for(;!t.eol();)t.next();return n.tokenize=c,e}}function c(e,t){function n(P){return t.tokenize=P,P(e,t)}var o=e.sol(),g=e.next();switch(g){case"{":return e.eat("/"),e.eatSpace(),e.eatWhile(/[^\s\u00a0=\"\'\/?(}]/),t.tokenize=b,"tag";case"_":if(e.eat("_"))return n(i("strong","__",c));break;case"'":if(e.eat("'"))return n(i("em","''",c));break;case"(":if(e.eat("("))return n(i("variable-2","))",c));break;case"[":return n(i("variable-3","]",c));case"|":if(e.eat("|"))return n(i("comment","||"));break;case"-":if(e.eat("="))return n(i("header string","=-",c));if(e.eat("-"))return n(i("error tw-deleted","--",c));break;case"=":if(e.match("=="))return n(i("tw-underline","===",c));break;case":":if(e.eat(":"))return n(i("comment","::"));break;case"^":return n(i("tw-box","^"));case"~":if(e.match("np~"))return n(i("meta","~/np~"));break}if(o)switch(g){case"!":return e.match("!!!!!")||e.match("!!!!")||e.match("!!!")||e.match("!!"),n(f("header string"));case"*":case"#":case"+":return n(f("tw-listitem bracket"))}return null}var _=l.indentUnit,h,p;function b(e,t){var n=e.next(),o=e.peek();return n=="}"?(t.tokenize=c,"tag"):n=="("||n==")"?"bracket":n=="="?(p="equals",o==">"&&(e.next(),o=e.peek()),/[\'\"]/.test(o)||(t.tokenize=L()),"operator"):/[\'\"]/.test(n)?(t.tokenize=N(n),t.tokenize(e,t)):(e.eatWhile(/[^\s\u00a0=\"\'\/?]/),"keyword")}function N(e){return function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=b;break}return"string"}}function L(){return function(e,t){for(;!e.eol();){var n=e.next(),o=e.peek();if(n==" "||n==","||/[ )}]/.test(o)){t.tokenize=b;break}}return"string"}}var r,s;function d(){for(var e=arguments.length-1;e>=0;e--)r.cc.push(arguments[e])}function u(){return d.apply(null,arguments),!0}function w(e,t){var n=r.context&&r.context.noIndent;r.context={prev:r.context,pluginName:e,indent:r.indented,startOfLine:t,noIndent:n}}function z(){r.context&&(r.context=r.context.prev)}function S(e){if(e=="openPlugin")return r.pluginName=h,u(v,j(r.startOfLine));if(e=="closePlugin"){var t=!1;return r.context?(t=r.context.pluginName!=h,z()):t=!0,t&&(s="error"),u(I(t))}else return e=="string"&&((!r.context||r.context.name!="!cdata")&&w("!cdata"),r.tokenize==c&&z()),u()}function j(e){return function(t){return t=="selfclosePlugin"||t=="endPlugin"||t=="endPlugin"&&w(r.pluginName,e),u()}}function I(e){return function(t){return e&&(s="error"),t=="endPlugin"?u():d()}}function v(e){return e=="keyword"?(s="attribute",u(v)):e=="equals"?u(m,v):d()}function m(e){return e=="keyword"?(s="string",u()):e=="string"?u(O):d()}function O(e){return e=="string"?u(O):d()}return{startState:function(){return{tokenize:c,cc:[],indented:0,startOfLine:!0,pluginName:null,context:null}},token:function(e,t){if(e.sol()&&(t.startOfLine=!0,t.indented=e.indentation()),e.eatSpace())return null;s=p=h=null;var n=t.tokenize(e,t);if((n||p)&&n!="comment")for(r=t;;){var o=t.cc.pop()||S;if(o(p||n))break}return t.startOfLine=!1,s||n},indent:function(e,t){var n=e.context;if(n&&n.noIndent)return 0;for(n&&/^{\//.test(t)&&(n=n.prev);n&&!n.startOfLine;)n=n.prev;return n?n.indent+_:0},electricChars:"/"}}),a.defineMIME("text/tiki","tiki")})})();var y=M.exports;const q=A(y),U=C({__proto__:null,default:q},[y]);export{U as t}; +import{g as A,c as E}from"./index-rXwcQ1j1.js";function C(k,x){for(var a=0;al[i]})}}}return Object.freeze(Object.defineProperty(k,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(k,x){(function(a){a(E)})(function(a){a.defineMode("tiki",function(l){function i(e,t,n){return function(o,g){for(;!o.eol();){if(o.match(t)){g.tokenize=c;break}o.next()}return n&&(g.tokenize=n),e}}function f(e){return function(t,n){for(;!t.eol();)t.next();return n.tokenize=c,e}}function c(e,t){function n(P){return t.tokenize=P,P(e,t)}var o=e.sol(),g=e.next();switch(g){case"{":return e.eat("/"),e.eatSpace(),e.eatWhile(/[^\s\u00a0=\"\'\/?(}]/),t.tokenize=b,"tag";case"_":if(e.eat("_"))return n(i("strong","__",c));break;case"'":if(e.eat("'"))return n(i("em","''",c));break;case"(":if(e.eat("("))return n(i("variable-2","))",c));break;case"[":return n(i("variable-3","]",c));case"|":if(e.eat("|"))return n(i("comment","||"));break;case"-":if(e.eat("="))return n(i("header string","=-",c));if(e.eat("-"))return n(i("error tw-deleted","--",c));break;case"=":if(e.match("=="))return n(i("tw-underline","===",c));break;case":":if(e.eat(":"))return n(i("comment","::"));break;case"^":return n(i("tw-box","^"));case"~":if(e.match("np~"))return n(i("meta","~/np~"));break}if(o)switch(g){case"!":return e.match("!!!!!")||e.match("!!!!")||e.match("!!!")||e.match("!!"),n(f("header string"));case"*":case"#":case"+":return n(f("tw-listitem bracket"))}return null}var _=l.indentUnit,h,p;function b(e,t){var n=e.next(),o=e.peek();return n=="}"?(t.tokenize=c,"tag"):n=="("||n==")"?"bracket":n=="="?(p="equals",o==">"&&(e.next(),o=e.peek()),/[\'\"]/.test(o)||(t.tokenize=L()),"operator"):/[\'\"]/.test(n)?(t.tokenize=N(n),t.tokenize(e,t)):(e.eatWhile(/[^\s\u00a0=\"\'\/?]/),"keyword")}function N(e){return function(t,n){for(;!t.eol();)if(t.next()==e){n.tokenize=b;break}return"string"}}function L(){return function(e,t){for(;!e.eol();){var n=e.next(),o=e.peek();if(n==" "||n==","||/[ )}]/.test(o)){t.tokenize=b;break}}return"string"}}var r,s;function d(){for(var e=arguments.length-1;e>=0;e--)r.cc.push(arguments[e])}function u(){return d.apply(null,arguments),!0}function w(e,t){var n=r.context&&r.context.noIndent;r.context={prev:r.context,pluginName:e,indent:r.indented,startOfLine:t,noIndent:n}}function z(){r.context&&(r.context=r.context.prev)}function S(e){if(e=="openPlugin")return r.pluginName=h,u(v,j(r.startOfLine));if(e=="closePlugin"){var t=!1;return r.context?(t=r.context.pluginName!=h,z()):t=!0,t&&(s="error"),u(I(t))}else return e=="string"&&((!r.context||r.context.name!="!cdata")&&w("!cdata"),r.tokenize==c&&z()),u()}function j(e){return function(t){return t=="selfclosePlugin"||t=="endPlugin"||t=="endPlugin"&&w(r.pluginName,e),u()}}function I(e){return function(t){return e&&(s="error"),t=="endPlugin"?u():d()}}function v(e){return e=="keyword"?(s="attribute",u(v)):e=="equals"?u(m,v):d()}function m(e){return e=="keyword"?(s="string",u()):e=="string"?u(O):d()}function O(e){return e=="string"?u(O):d()}return{startState:function(){return{tokenize:c,cc:[],indented:0,startOfLine:!0,pluginName:null,context:null}},token:function(e,t){if(e.sol()&&(t.startOfLine=!0,t.indented=e.indentation()),e.eatSpace())return null;s=p=h=null;var n=t.tokenize(e,t);if((n||p)&&n!="comment")for(r=t;;){var o=t.cc.pop()||S;if(o(p||n))break}return t.startOfLine=!1,s||n},indent:function(e,t){var n=e.context;if(n&&n.noIndent)return 0;for(n&&/^{\//.test(t)&&(n=n.prev);n&&!n.startOfLine;)n=n.prev;return n?n.indent+_:0},electricChars:"/"}}),a.defineMIME("text/tiki","tiki")})})();var y=M.exports;const q=A(y),U=C({__proto__:null,default:q},[y]);export{U as t}; diff --git a/dist-ui/assets/toml-BcMH0Wpl.js b/dist-ui/assets/toml-B5bIz0Bo.js similarity index 96% rename from dist-ui/assets/toml-BcMH0Wpl.js rename to dist-ui/assets/toml-B5bIz0Bo.js index e7940641..847203fd 100644 --- a/dist-ui/assets/toml-BcMH0Wpl.js +++ b/dist-ui/assets/toml-B5bIz0Bo.js @@ -1 +1 @@ -import{g as t,c as u}from"./index-CHg1vBCc.js";function p(l,o){for(var r=0;re[n]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var c={exports:{}};(function(l,o){(function(r){r(u)})(function(r){r.defineMode("toml",function(){return{startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(e,n){if(!n.inString&&(e.peek()=='"'||e.peek()=="'")&&(n.stringType=e.peek(),e.next(),n.inString=!0),e.sol()&&n.inArray===0&&(n.lhs=!0),n.inString){for(;n.inString&&!e.eol();)e.peek()===n.stringType?(e.next(),n.inString=!1):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return n.lhs?"property string":"string"}else{if(n.inArray&&e.peek()==="]")return e.next(),n.inArray--,"bracket";if(n.lhs&&e.peek()==="["&&e.skipTo("]"))return e.next(),e.peek()==="]"&&e.next(),"atom";if(e.peek()==="#")return e.skipToEnd(),"comment";if(e.eatSpace())return null;if(n.lhs&&e.eatWhile(function(i){return i!="="&&i!=" "}))return"property";if(n.lhs&&e.peek()==="=")return e.next(),n.lhs=!1,null;if(!n.lhs&&e.match(/^\d\d\d\d[\d\-\:\.T]*Z/))return"atom";if(!n.lhs&&(e.match("true")||e.match("false")))return"atom";if(!n.lhs&&e.peek()==="[")return n.inArray++,e.next(),"bracket";if(!n.lhs&&e.match(/^\-?\d+(?:\.\d+)?/))return"number";e.eatSpace()||e.next()}return null}}}),r.defineMIME("text/x-toml","toml")})})();var f=c.exports;const g=t(f),x=p({__proto__:null,default:g},[f]);export{x as t}; +import{g as t,c as u}from"./index-rXwcQ1j1.js";function p(l,o){for(var r=0;re[n]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var c={exports:{}};(function(l,o){(function(r){r(u)})(function(r){r.defineMode("toml",function(){return{startState:function(){return{inString:!1,stringType:"",lhs:!0,inArray:0}},token:function(e,n){if(!n.inString&&(e.peek()=='"'||e.peek()=="'")&&(n.stringType=e.peek(),e.next(),n.inString=!0),e.sol()&&n.inArray===0&&(n.lhs=!0),n.inString){for(;n.inString&&!e.eol();)e.peek()===n.stringType?(e.next(),n.inString=!1):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return n.lhs?"property string":"string"}else{if(n.inArray&&e.peek()==="]")return e.next(),n.inArray--,"bracket";if(n.lhs&&e.peek()==="["&&e.skipTo("]"))return e.next(),e.peek()==="]"&&e.next(),"atom";if(e.peek()==="#")return e.skipToEnd(),"comment";if(e.eatSpace())return null;if(n.lhs&&e.eatWhile(function(i){return i!="="&&i!=" "}))return"property";if(n.lhs&&e.peek()==="=")return e.next(),n.lhs=!1,null;if(!n.lhs&&e.match(/^\d\d\d\d[\d\-\:\.T]*Z/))return"atom";if(!n.lhs&&(e.match("true")||e.match("false")))return"atom";if(!n.lhs&&e.peek()==="[")return n.inArray++,e.next(),"bracket";if(!n.lhs&&e.match(/^\-?\d+(?:\.\d+)?/))return"number";e.eatSpace()||e.next()}return null}}}),r.defineMIME("text/x-toml","toml")})})();var f=c.exports;const g=t(f),x=p({__proto__:null,default:g},[f]);export{x as t}; diff --git a/dist-ui/assets/tornado-C3mIc45X.js b/dist-ui/assets/tornado-4gAKeMJS.js similarity index 92% rename from dist-ui/assets/tornado-C3mIc45X.js rename to dist-ui/assets/tornado-4gAKeMJS.js index 4ecb7552..44dece88 100644 --- a/dist-ui/assets/tornado-C3mIc45X.js +++ b/dist-ui/assets/tornado-4gAKeMJS.js @@ -1 +1 @@ -import{g as d,c as l}from"./index-CHg1vBCc.js";import{r as p}from"./htmlmixed-dNmc4jG3.js";import{r as m}from"./overlay-dm0rKfhE.js";function x(u,f){for(var e=0;et[n]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(u,f){(function(e){e(l,p(),m())})(function(e){e.defineMode("tornado:inner",function(){var t=["and","as","assert","autoescape","block","break","class","comment","context","continue","datetime","def","del","elif","else","end","escape","except","exec","extends","false","finally","for","from","global","if","import","in","include","is","json_encode","lambda","length","linkify","load","module","none","not","or","pass","print","put","raise","raw","return","self","set","squeeze","super","true","try","url_escape","while","with","without","xhtml_escape","yield"];t=new RegExp("^(("+t.join(")|(")+"))\\b");function n(r,o){r.eatWhile(/[^\{]/);var i=r.next();if(i=="{"&&(i=r.eat(/\{|%|#/)))return o.tokenize=a(i),"tag"}function a(r){return r=="{"&&(r="}"),function(o,i){var c=o.next();return c==r&&o.eat("}")?(i.tokenize=n,"tag"):o.match(t)?"keyword":r=="#"?"comment":"string"}}return{startState:function(){return{tokenize:n}},token:function(r,o){return o.tokenize(r,o)}}}),e.defineMode("tornado",function(t){var n=e.getMode(t,"text/html"),a=e.getMode(t,"tornado:inner");return e.overlayMode(n,a)}),e.defineMIME("text/x-tornado","tornado")})})();var s=g.exports;const y=d(s),v=x({__proto__:null,default:y},[s]);export{v as t}; +import{g as d,c as l}from"./index-rXwcQ1j1.js";import{r as p}from"./htmlmixed-BkyqFvnk.js";import{r as m}from"./overlay-DtxTNIBP.js";function x(u,f){for(var e=0;et[n]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(u,f){(function(e){e(l,p(),m())})(function(e){e.defineMode("tornado:inner",function(){var t=["and","as","assert","autoescape","block","break","class","comment","context","continue","datetime","def","del","elif","else","end","escape","except","exec","extends","false","finally","for","from","global","if","import","in","include","is","json_encode","lambda","length","linkify","load","module","none","not","or","pass","print","put","raise","raw","return","self","set","squeeze","super","true","try","url_escape","while","with","without","xhtml_escape","yield"];t=new RegExp("^(("+t.join(")|(")+"))\\b");function n(r,o){r.eatWhile(/[^\{]/);var i=r.next();if(i=="{"&&(i=r.eat(/\{|%|#/)))return o.tokenize=a(i),"tag"}function a(r){return r=="{"&&(r="}"),function(o,i){var c=o.next();return c==r&&o.eat("}")?(i.tokenize=n,"tag"):o.match(t)?"keyword":r=="#"?"comment":"string"}}return{startState:function(){return{tokenize:n}},token:function(r,o){return o.tokenize(r,o)}}}),e.defineMode("tornado",function(t){var n=e.getMode(t,"text/html"),a=e.getMode(t,"tornado:inner");return e.overlayMode(n,a)}),e.defineMIME("text/x-tornado","tornado")})})();var s=g.exports;const y=d(s),v=x({__proto__:null,default:y},[s]);export{v as t}; diff --git a/dist-ui/assets/troff-QvDYW0ZK.js b/dist-ui/assets/troff-DEclhAB-.js similarity index 96% rename from dist-ui/assets/troff-QvDYW0ZK.js rename to dist-ui/assets/troff-DEclhAB-.js index a49c8a09..83216f1a 100644 --- a/dist-ui/assets/troff-QvDYW0ZK.js +++ b/dist-ui/assets/troff-DEclhAB-.js @@ -1 +1 @@ -import{g as p,c as l}from"./index-CHg1vBCc.js";function d(c,u){for(var n=0;nf[o]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(c,u){(function(n){n(l)})(function(n){n.defineMode("troff",function(){var f={};function o(t){if(t.eatSpace())return null;var e=t.sol(),i=t.next();if(i==="\\")return t.match("fB")||t.match("fR")||t.match("fI")||t.match("u")||t.match("d")||t.match("%")||t.match("&")?"string":t.match("m[")?(t.skipTo("]"),t.next(),"string"):t.match("s+")||t.match("s-")?(t.eatWhile(/[\d-]/),"string"):((t.match("(")||t.match("*("))&&t.eatWhile(/[\w-]/),"string");if(e&&(i==="."||i==="'")&&t.eat("\\")&&t.eat('"'))return t.skipToEnd(),"comment";if(e&&i==="."){if(t.match("B ")||t.match("I ")||t.match("R "))return"attribute";if(t.match("TH ")||t.match("SH ")||t.match("SS ")||t.match("HP "))return t.skipToEnd(),"quote";if(t.match(/[A-Z]/)&&t.match(/[A-Z]/)||t.match(/[a-z]/)&&t.match(/[a-z]/))return"attribute"}t.eatWhile(/[\w-]/);var h=t.current();return f.hasOwnProperty(h)?f[h]:null}function r(t,e){return(e.tokens[0]||o)(t,e)}return{startState:function(){return{tokens:[]}},token:function(t,e){return r(t,e)}}}),n.defineMIME("text/troff","troff"),n.defineMIME("text/x-troff","troff"),n.defineMIME("application/x-troff","troff")})})();var a=g.exports;const x=p(a),b=d({__proto__:null,default:x},[a]);export{b as t}; +import{g as p,c as l}from"./index-rXwcQ1j1.js";function d(c,u){for(var n=0;nf[o]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(c,u){(function(n){n(l)})(function(n){n.defineMode("troff",function(){var f={};function o(t){if(t.eatSpace())return null;var e=t.sol(),i=t.next();if(i==="\\")return t.match("fB")||t.match("fR")||t.match("fI")||t.match("u")||t.match("d")||t.match("%")||t.match("&")?"string":t.match("m[")?(t.skipTo("]"),t.next(),"string"):t.match("s+")||t.match("s-")?(t.eatWhile(/[\d-]/),"string"):((t.match("(")||t.match("*("))&&t.eatWhile(/[\w-]/),"string");if(e&&(i==="."||i==="'")&&t.eat("\\")&&t.eat('"'))return t.skipToEnd(),"comment";if(e&&i==="."){if(t.match("B ")||t.match("I ")||t.match("R "))return"attribute";if(t.match("TH ")||t.match("SH ")||t.match("SS ")||t.match("HP "))return t.skipToEnd(),"quote";if(t.match(/[A-Z]/)&&t.match(/[A-Z]/)||t.match(/[a-z]/)&&t.match(/[a-z]/))return"attribute"}t.eatWhile(/[\w-]/);var h=t.current();return f.hasOwnProperty(h)?f[h]:null}function r(t,e){return(e.tokens[0]||o)(t,e)}return{startState:function(){return{tokens:[]}},token:function(t,e){return r(t,e)}}}),n.defineMIME("text/troff","troff"),n.defineMIME("text/x-troff","troff"),n.defineMIME("application/x-troff","troff")})})();var a=g.exports;const x=p(a),b=d({__proto__:null,default:x},[a]);export{b as t}; diff --git a/dist-ui/assets/ttcn-iSqPoqyc.js b/dist-ui/assets/ttcn-B64Vtjcj.js similarity index 98% rename from dist-ui/assets/ttcn-iSqPoqyc.js rename to dist-ui/assets/ttcn-B64Vtjcj.js index d152d1d6..7482517a 100644 --- a/dist-ui/assets/ttcn-iSqPoqyc.js +++ b/dist-ui/assets/ttcn-B64Vtjcj.js @@ -1 +1 @@ -import{g as N,c as B}from"./index-CHg1vBCc.js";function F(m,g){for(var u=0;uo[a]})}}}return Object.freeze(Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}))}var H={exports:{}};(function(m,g){(function(u){u(B)})(function(u){u.defineMode("ttcn",function(l,i){var p=l.indentUnit,s=i.keywords||{},d=i.builtin||{},h=i.timerOps||{},v=i.portOps||{},M=i.configOps||{},S=i.verdictOps||{},z=i.sutOps||{},L=i.functionOps||{},C=i.verdictConsts||{},_=i.booleanConsts||{},j=i.otherConsts||{},P=i.types||{},W=i.visibilityModifiers||{},T=i.templateMatch||{},U=i.multiLineStrings,$=i.indentStatements!==!1,O=/[+\-*&@=<>!\/]/,c;function A(t,n){var e=t.next();if(e=='"'||e=="'")return n.tokenize=D(e),n.tokenize(t,n);if(/[\[\]{}\(\),;\\:\?\.]/.test(e))return c=e,"punctuation";if(e=="#")return t.skipToEnd(),"atom preprocessor";if(e=="%")return t.eatWhile(/\b/),"atom ttcn3Macros";if(/\d/.test(e))return t.eatWhile(/[\w\.]/),"number";if(e=="/"){if(t.eat("*"))return n.tokenize=k,k(t,n);if(t.eat("/"))return t.skipToEnd(),"comment"}if(O.test(e))return e=="@"&&(t.match("try")||t.match("catch")||t.match("lazy"))?"keyword":(t.eatWhile(O),"operator");t.eatWhile(/[\w\$_\xa1-\uffff]/);var r=t.current();return s.propertyIsEnumerable(r)?"keyword":d.propertyIsEnumerable(r)?"builtin":h.propertyIsEnumerable(r)?"def timerOps":M.propertyIsEnumerable(r)?"def configOps":S.propertyIsEnumerable(r)?"def verdictOps":v.propertyIsEnumerable(r)?"def portOps":z.propertyIsEnumerable(r)?"def sutOps":L.propertyIsEnumerable(r)?"def functionOps":C.propertyIsEnumerable(r)?"string verdictConsts":_.propertyIsEnumerable(r)?"string booleanConsts":j.propertyIsEnumerable(r)?"string otherConsts":P.propertyIsEnumerable(r)?"builtin types":W.propertyIsEnumerable(r)?"builtin visibilityModifiers":T.propertyIsEnumerable(r)?"atom templateMatch":"variable"}function D(t){return function(n,e){for(var r=!1,y,E=!1;(y=n.next())!=null;){if(y==t&&!r){var f=n.peek();f&&(f=f.toLowerCase(),(f=="b"||f=="h"||f=="o")&&n.next()),E=!0;break}r=!r&&y=="\\"}return(E||!(r||U))&&(e.tokenize=null),"string"}}function k(t,n){for(var e=!1,r;r=t.next();){if(r=="/"&&e){n.tokenize=null;break}e=r=="*"}return"comment"}function w(t,n,e,r,y){this.indented=t,this.column=n,this.type=e,this.align=r,this.prev=y}function x(t,n,e){var r=t.indented;return t.context&&t.context.type=="statement"&&(r=t.context.indented),t.context=new w(r,n,e,null,t.context)}function b(t){var n=t.context.type;return(n==")"||n=="]"||n=="}")&&(t.indented=t.context.indented),t.context=t.context.prev}return{startState:function(t){return{tokenize:null,context:new w((t||0)-p,0,"top",!1),indented:0,startOfLine:!0}},token:function(t,n){var e=n.context;if(t.sol()&&(e.align==null&&(e.align=!1),n.indented=t.indentation(),n.startOfLine=!0),t.eatSpace())return null;c=null;var r=(n.tokenize||A)(t,n);if(r=="comment")return r;if(e.align==null&&(e.align=!0),(c==";"||c==":"||c==",")&&e.type=="statement")b(n);else if(c=="{")x(n,t.column(),"}");else if(c=="[")x(n,t.column(),"]");else if(c=="(")x(n,t.column(),")");else if(c=="}"){for(;e.type=="statement";)e=b(n);for(e.type=="}"&&(e=b(n));e.type=="statement";)e=b(n)}else c==e.type?b(n):$&&((e.type=="}"||e.type=="top")&&c!=";"||e.type=="statement"&&c=="newstatement")&&x(n,t.column(),"statement");return n.startOfLine=!1,r},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});function o(l){for(var i={},p=l.split(" "),s=0;so[a]})}}}return Object.freeze(Object.defineProperty(m,Symbol.toStringTag,{value:"Module"}))}var H={exports:{}};(function(m,g){(function(u){u(B)})(function(u){u.defineMode("ttcn",function(l,i){var p=l.indentUnit,s=i.keywords||{},d=i.builtin||{},h=i.timerOps||{},v=i.portOps||{},M=i.configOps||{},S=i.verdictOps||{},z=i.sutOps||{},L=i.functionOps||{},C=i.verdictConsts||{},_=i.booleanConsts||{},j=i.otherConsts||{},P=i.types||{},W=i.visibilityModifiers||{},T=i.templateMatch||{},U=i.multiLineStrings,$=i.indentStatements!==!1,O=/[+\-*&@=<>!\/]/,c;function A(t,n){var e=t.next();if(e=='"'||e=="'")return n.tokenize=D(e),n.tokenize(t,n);if(/[\[\]{}\(\),;\\:\?\.]/.test(e))return c=e,"punctuation";if(e=="#")return t.skipToEnd(),"atom preprocessor";if(e=="%")return t.eatWhile(/\b/),"atom ttcn3Macros";if(/\d/.test(e))return t.eatWhile(/[\w\.]/),"number";if(e=="/"){if(t.eat("*"))return n.tokenize=k,k(t,n);if(t.eat("/"))return t.skipToEnd(),"comment"}if(O.test(e))return e=="@"&&(t.match("try")||t.match("catch")||t.match("lazy"))?"keyword":(t.eatWhile(O),"operator");t.eatWhile(/[\w\$_\xa1-\uffff]/);var r=t.current();return s.propertyIsEnumerable(r)?"keyword":d.propertyIsEnumerable(r)?"builtin":h.propertyIsEnumerable(r)?"def timerOps":M.propertyIsEnumerable(r)?"def configOps":S.propertyIsEnumerable(r)?"def verdictOps":v.propertyIsEnumerable(r)?"def portOps":z.propertyIsEnumerable(r)?"def sutOps":L.propertyIsEnumerable(r)?"def functionOps":C.propertyIsEnumerable(r)?"string verdictConsts":_.propertyIsEnumerable(r)?"string booleanConsts":j.propertyIsEnumerable(r)?"string otherConsts":P.propertyIsEnumerable(r)?"builtin types":W.propertyIsEnumerable(r)?"builtin visibilityModifiers":T.propertyIsEnumerable(r)?"atom templateMatch":"variable"}function D(t){return function(n,e){for(var r=!1,y,E=!1;(y=n.next())!=null;){if(y==t&&!r){var f=n.peek();f&&(f=f.toLowerCase(),(f=="b"||f=="h"||f=="o")&&n.next()),E=!0;break}r=!r&&y=="\\"}return(E||!(r||U))&&(e.tokenize=null),"string"}}function k(t,n){for(var e=!1,r;r=t.next();){if(r=="/"&&e){n.tokenize=null;break}e=r=="*"}return"comment"}function w(t,n,e,r,y){this.indented=t,this.column=n,this.type=e,this.align=r,this.prev=y}function x(t,n,e){var r=t.indented;return t.context&&t.context.type=="statement"&&(r=t.context.indented),t.context=new w(r,n,e,null,t.context)}function b(t){var n=t.context.type;return(n==")"||n=="]"||n=="}")&&(t.indented=t.context.indented),t.context=t.context.prev}return{startState:function(t){return{tokenize:null,context:new w((t||0)-p,0,"top",!1),indented:0,startOfLine:!0}},token:function(t,n){var e=n.context;if(t.sol()&&(e.align==null&&(e.align=!1),n.indented=t.indentation(),n.startOfLine=!0),t.eatSpace())return null;c=null;var r=(n.tokenize||A)(t,n);if(r=="comment")return r;if(e.align==null&&(e.align=!0),(c==";"||c==":"||c==",")&&e.type=="statement")b(n);else if(c=="{")x(n,t.column(),"}");else if(c=="[")x(n,t.column(),"]");else if(c=="(")x(n,t.column(),")");else if(c=="}"){for(;e.type=="statement";)e=b(n);for(e.type=="}"&&(e=b(n));e.type=="statement";)e=b(n)}else c==e.type?b(n):$&&((e.type=="}"||e.type=="top")&&c!=";"||e.type=="statement"&&c=="newstatement")&&x(n,t.column(),"statement");return n.startOfLine=!1,r},electricChars:"{}",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"brace"}});function o(l){for(var i={},p=l.split(" "),s=0;sr[o]})}}}return Object.freeze(Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(_,U){(function(C){C(p)})(function(C){C.defineMode("ttcn-cfg",function(o,E){var u=o.indentUnit,l=E.keywords||{},P=E.fileNCtrlMaskOptions||{},L=E.externalCommands||{},a=E.multiLineStrings,s=E.indentStatements!==!1,c=/[\|]/,i;function M(e,n){var t=e.next();if(t=='"'||t=="'")return n.tokenize=D(t),n.tokenize(e,n);if(/[:=]/.test(t))return i=t,"punctuation";if(t=="#")return e.skipToEnd(),"comment";if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if(c.test(t))return e.eatWhile(c),"operator";if(t=="[")return e.eatWhile(/[\w_\]]/),"number sectionTitle";e.eatWhile(/[\w\$_]/);var T=e.current();return l.propertyIsEnumerable(T)?"keyword":P.propertyIsEnumerable(T)?"negative fileNCtrlMaskOptions":L.propertyIsEnumerable(T)?"negative externalCommands":"variable"}function D(e){return function(n,t){for(var T=!1,O,f=!1;(O=n.next())!=null;){if(O==e&&!T){var N=n.peek();N&&(N=N.toLowerCase(),(N=="b"||N=="h"||N=="o")&&n.next()),f=!0;break}T=!T&&O=="\\"}return(f||!(T||a))&&(t.tokenize=null),"string"}}function R(e,n,t,T,O){this.indented=e,this.column=n,this.type=t,this.align=T,this.prev=O}function A(e,n,t){var T=e.indented;return e.context&&e.context.type=="statement"&&(T=e.context.indented),e.context=new R(T,n,t,null,e.context)}function I(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:null,context:new R((e||0)-u,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;i=null;var T=(n.tokenize||M)(e,n);if(T=="comment")return T;if(t.align==null&&(t.align=!0),(i==";"||i==":"||i==",")&&t.type=="statement")I(n);else if(i=="{")A(n,e.column(),"}");else if(i=="[")A(n,e.column(),"]");else if(i=="(")A(n,e.column(),")");else if(i=="}"){for(;t.type=="statement";)t=I(n);for(t.type=="}"&&(t=I(n));t.type=="statement";)t=I(n)}else i==t.type?I(n):s&&((t.type=="}"||t.type=="top")&&i!=";"||t.type=="statement"&&i=="newstatement")&&A(n,e.column(),"statement");return n.startOfLine=!1,T},electricChars:"{}",lineComment:"#",fold:"brace"}});function r(o){for(var E={},u=o.split(" "),l=0;lr[o]})}}}return Object.freeze(Object.defineProperty(_,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(_,U){(function(C){C(p)})(function(C){C.defineMode("ttcn-cfg",function(o,E){var u=o.indentUnit,l=E.keywords||{},P=E.fileNCtrlMaskOptions||{},L=E.externalCommands||{},a=E.multiLineStrings,s=E.indentStatements!==!1,c=/[\|]/,i;function M(e,n){var t=e.next();if(t=='"'||t=="'")return n.tokenize=D(t),n.tokenize(e,n);if(/[:=]/.test(t))return i=t,"punctuation";if(t=="#")return e.skipToEnd(),"comment";if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if(c.test(t))return e.eatWhile(c),"operator";if(t=="[")return e.eatWhile(/[\w_\]]/),"number sectionTitle";e.eatWhile(/[\w\$_]/);var T=e.current();return l.propertyIsEnumerable(T)?"keyword":P.propertyIsEnumerable(T)?"negative fileNCtrlMaskOptions":L.propertyIsEnumerable(T)?"negative externalCommands":"variable"}function D(e){return function(n,t){for(var T=!1,O,f=!1;(O=n.next())!=null;){if(O==e&&!T){var N=n.peek();N&&(N=N.toLowerCase(),(N=="b"||N=="h"||N=="o")&&n.next()),f=!0;break}T=!T&&O=="\\"}return(f||!(T||a))&&(t.tokenize=null),"string"}}function R(e,n,t,T,O){this.indented=e,this.column=n,this.type=t,this.align=T,this.prev=O}function A(e,n,t){var T=e.indented;return e.context&&e.context.type=="statement"&&(T=e.context.indented),e.context=new R(T,n,t,null,e.context)}function I(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}return{startState:function(e){return{tokenize:null,context:new R((e||0)-u,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;i=null;var T=(n.tokenize||M)(e,n);if(T=="comment")return T;if(t.align==null&&(t.align=!0),(i==";"||i==":"||i==",")&&t.type=="statement")I(n);else if(i=="{")A(n,e.column(),"}");else if(i=="[")A(n,e.column(),"]");else if(i=="(")A(n,e.column(),")");else if(i=="}"){for(;t.type=="statement";)t=I(n);for(t.type=="}"&&(t=I(n));t.type=="statement";)t=I(n)}else i==t.type?I(n):s&&((t.type=="}"||t.type=="top")&&i!=";"||t.type=="statement"&&i=="newstatement")&&A(n,e.column(),"statement");return n.startOfLine=!1,T},electricChars:"{}",lineComment:"#",fold:"brace"}});function r(o){for(var E={},u=o.split(" "),l=0;ll[c]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var m={exports:{}};(function(f,x){(function(i){i(b)})(function(i){i.defineMode("turtle",function(l){var c=l.indentUnit,o;function a(n){return new RegExp("^(?:"+n.join("|")+")$","i")}a([]);var h=a(["@prefix","@base","a"]),g=/[*+\-<>=&|]/;function v(n,e){var t=n.next();if(o=null,t=="<"&&!n.match(/^[\s\u00a0=]/,!1))return n.match(/^[^\s\u00a0>]*>?/),"atom";if(t=='"'||t=="'")return e.tokenize=k(t),e.tokenize(n,e);if(/[{}\(\),\.;\[\]]/.test(t))return o=t,null;if(t=="#")return n.skipToEnd(),"comment";if(g.test(t))return n.eatWhile(g),null;if(t==":")return"operator";if(n.eatWhile(/[_\w\d]/),n.peek()==":")return"variable-3";var r=n.current();return h.test(r)?"meta":t>="A"&&t<="Z"?"comment":"keyword";var r=n.current()}function k(n){return function(e,t){for(var r=!1,u;(u=e.next())!=null;){if(u==n&&!r){t.tokenize=v;break}r=!r&&u=="\\"}return"string"}}function p(n,e,t){n.context={prev:n.context,indent:n.indent,col:t,type:e}}function d(n){n.indent=n.context.indent,n.context=n.context.prev}return{startState:function(){return{tokenize:v,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!="comment"&&e.context&&e.context.align==null&&e.context.type!="pattern"&&(e.context.align=!0),o=="(")p(e,")",n.column());else if(o=="[")p(e,"]",n.column());else if(o=="{")p(e,"}",n.column());else if(/[\]\}\)]/.test(o)){for(;e.context&&e.context.type=="pattern";)d(e);e.context&&o==e.context.type&&d(e)}else o=="."&&e.context&&e.context.type=="pattern"?d(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?p(e,"pattern",n.column()):e.context.type=="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e){var t=e&&e.charAt(0),r=n.context;if(/[\]\}]/.test(t))for(;r&&r.type=="pattern";)r=r.prev;var u=r&&t==r.type;return r?r.type=="pattern"?r.col:r.align?r.col+(u?0:1):r.indent+(u?0:c):0},lineComment:"#"}}),i.defineMIME("text/turtle","turtle")})})();var y=m.exports;const j=w(y),E=s({__proto__:null,default:j},[y]);export{E as t}; +import{g as w,c as b}from"./index-rXwcQ1j1.js";function s(f,x){for(var i=0;il[c]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var m={exports:{}};(function(f,x){(function(i){i(b)})(function(i){i.defineMode("turtle",function(l){var c=l.indentUnit,o;function a(n){return new RegExp("^(?:"+n.join("|")+")$","i")}a([]);var h=a(["@prefix","@base","a"]),g=/[*+\-<>=&|]/;function v(n,e){var t=n.next();if(o=null,t=="<"&&!n.match(/^[\s\u00a0=]/,!1))return n.match(/^[^\s\u00a0>]*>?/),"atom";if(t=='"'||t=="'")return e.tokenize=k(t),e.tokenize(n,e);if(/[{}\(\),\.;\[\]]/.test(t))return o=t,null;if(t=="#")return n.skipToEnd(),"comment";if(g.test(t))return n.eatWhile(g),null;if(t==":")return"operator";if(n.eatWhile(/[_\w\d]/),n.peek()==":")return"variable-3";var r=n.current();return h.test(r)?"meta":t>="A"&&t<="Z"?"comment":"keyword";var r=n.current()}function k(n){return function(e,t){for(var r=!1,u;(u=e.next())!=null;){if(u==n&&!r){t.tokenize=v;break}r=!r&&u=="\\"}return"string"}}function p(n,e,t){n.context={prev:n.context,indent:n.indent,col:t,type:e}}function d(n){n.indent=n.context.indent,n.context=n.context.prev}return{startState:function(){return{tokenize:v,context:null,indent:0,col:0}},token:function(n,e){if(n.sol()&&(e.context&&e.context.align==null&&(e.context.align=!1),e.indent=n.indentation()),n.eatSpace())return null;var t=e.tokenize(n,e);if(t!="comment"&&e.context&&e.context.align==null&&e.context.type!="pattern"&&(e.context.align=!0),o=="(")p(e,")",n.column());else if(o=="[")p(e,"]",n.column());else if(o=="{")p(e,"}",n.column());else if(/[\]\}\)]/.test(o)){for(;e.context&&e.context.type=="pattern";)d(e);e.context&&o==e.context.type&&d(e)}else o=="."&&e.context&&e.context.type=="pattern"?d(e):/atom|string|variable/.test(t)&&e.context&&(/[\}\]]/.test(e.context.type)?p(e,"pattern",n.column()):e.context.type=="pattern"&&!e.context.align&&(e.context.align=!0,e.context.col=n.column()));return t},indent:function(n,e){var t=e&&e.charAt(0),r=n.context;if(/[\]\}]/.test(t))for(;r&&r.type=="pattern";)r=r.prev;var u=r&&t==r.type;return r?r.type=="pattern"?r.col:r.align?r.col+(u?0:1):r.indent+(u?0:c):0},lineComment:"#"}}),i.defineMIME("text/turtle","turtle")})})();var y=m.exports;const j=w(y),E=s({__proto__:null,default:j},[y]);export{E as t}; diff --git a/dist-ui/assets/twig-DD5wY6wD.js b/dist-ui/assets/twig-DIAB0sBz.js similarity index 94% rename from dist-ui/assets/twig-DD5wY6wD.js rename to dist-ui/assets/twig-DIAB0sBz.js index 15bbef50..ead2e9eb 100644 --- a/dist-ui/assets/twig-DD5wY6wD.js +++ b/dist-ui/assets/twig-DIAB0sBz.js @@ -1 +1 @@ -import{g as s,c as p}from"./index-CHg1vBCc.js";import{r as b}from"./multiplex-Bj2U2ayT.js";function m(u,c){for(var i=0;it[r]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var x={exports:{}};(function(u,c){(function(i){i(p,b())})(function(i){i.defineMode("twig:inner",function(){var t=["and","as","autoescape","endautoescape","block","do","endblock","else","elseif","extends","for","endfor","embed","endembed","filter","endfilter","flush","from","if","endif","in","is","include","import","not","or","set","spaceless","endspaceless","with","endwith","trans","endtrans","blocktrans","endblocktrans","macro","endmacro","use","verbatim","endverbatim"],r=/^[+\-*&%=<>!?|~^]/,o=/^[:\[\(\{]/,l=["true","false","null","empty","defined","divisibleby","divisible by","even","odd","iterable","sameas","same as"],d=/^(\d[+\-\*\/])?\d+(\.\d+)?/;t=new RegExp("(("+t.join(")|(")+"))\\b"),l=new RegExp("(("+l.join(")|(")+"))\\b");function g(e,n){var f=e.peek();if(n.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(n.intag){if(n.operator){if(n.operator=!1,e.match(l))return"atom";if(e.match(d))return"number"}if(n.sign){if(n.sign=!1,e.match(l))return"atom";if(e.match(d))return"number"}if(n.instring)return f==n.instring&&(n.instring=!1),e.next(),"string";if(f=="'"||f=='"')return n.instring=f,e.next(),"string";if(e.match(n.intag+"}")||e.eat("-")&&e.match(n.intag+"}"))return n.intag=!1,"tag";if(e.match(r))return n.operator=!0,"operator";if(e.match(o))n.sign=!0;else if(e.eat(" ")||e.sol()){if(e.match(t))return"keyword";if(e.match(l))return"atom";if(e.match(d))return"number";e.sol()&&e.next()}else e.next();return"variable"}else if(e.eat("{")){if(e.eat("#"))return n.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(f=e.eat(/\{|%/))return n.intag=f,f=="{"&&(n.intag="}"),e.eat("-"),"tag"}e.next()}return{startState:function(){return{}},token:function(e,n){return g(e,n)}}}),i.defineMode("twig",function(t,r){var o=i.getMode(t,"twig:inner");return!r||!r.base?o:i.multiplexingMode(i.getMode(t,r.base),{open:/\{[{#%]/,close:/[}#%]\}/,mode:o,parseDelimiters:!0})}),i.defineMIME("text/x-twig","twig")})})();var a=x.exports;const h=s(a),v=m({__proto__:null,default:h},[a]);export{v as t}; +import{g as s,c as p}from"./index-rXwcQ1j1.js";import{r as b}from"./multiplex-Cg9R4o6F.js";function m(u,c){for(var i=0;it[r]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var x={exports:{}};(function(u,c){(function(i){i(p,b())})(function(i){i.defineMode("twig:inner",function(){var t=["and","as","autoescape","endautoescape","block","do","endblock","else","elseif","extends","for","endfor","embed","endembed","filter","endfilter","flush","from","if","endif","in","is","include","import","not","or","set","spaceless","endspaceless","with","endwith","trans","endtrans","blocktrans","endblocktrans","macro","endmacro","use","verbatim","endverbatim"],r=/^[+\-*&%=<>!?|~^]/,o=/^[:\[\(\{]/,l=["true","false","null","empty","defined","divisibleby","divisible by","even","odd","iterable","sameas","same as"],d=/^(\d[+\-\*\/])?\d+(\.\d+)?/;t=new RegExp("(("+t.join(")|(")+"))\\b"),l=new RegExp("(("+l.join(")|(")+"))\\b");function g(e,n){var f=e.peek();if(n.incomment)return e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(n.intag){if(n.operator){if(n.operator=!1,e.match(l))return"atom";if(e.match(d))return"number"}if(n.sign){if(n.sign=!1,e.match(l))return"atom";if(e.match(d))return"number"}if(n.instring)return f==n.instring&&(n.instring=!1),e.next(),"string";if(f=="'"||f=='"')return n.instring=f,e.next(),"string";if(e.match(n.intag+"}")||e.eat("-")&&e.match(n.intag+"}"))return n.intag=!1,"tag";if(e.match(r))return n.operator=!0,"operator";if(e.match(o))n.sign=!0;else if(e.eat(" ")||e.sol()){if(e.match(t))return"keyword";if(e.match(l))return"atom";if(e.match(d))return"number";e.sol()&&e.next()}else e.next();return"variable"}else if(e.eat("{")){if(e.eat("#"))return n.incomment=!0,e.skipTo("#}")?(e.eatWhile(/\#|}/),n.incomment=!1):e.skipToEnd(),"comment";if(f=e.eat(/\{|%/))return n.intag=f,f=="{"&&(n.intag="}"),e.eat("-"),"tag"}e.next()}return{startState:function(){return{}},token:function(e,n){return g(e,n)}}}),i.defineMode("twig",function(t,r){var o=i.getMode(t,"twig:inner");return!r||!r.base?o:i.multiplexingMode(i.getMode(t,r.base),{open:/\{[{#%]/,close:/[}#%]\}/,mode:o,parseDelimiters:!0})}),i.defineMIME("text/x-twig","twig")})})();var a=x.exports;const h=s(a),v=m({__proto__:null,default:h},[a]);export{v as t}; diff --git a/dist-ui/assets/vb-DqVZHOnT.js b/dist-ui/assets/vb-CyariDFl.js similarity index 98% rename from dist-ui/assets/vb-DqVZHOnT.js rename to dist-ui/assets/vb-CyariDFl.js index 2f2d41f3..0071155b 100644 --- a/dist-ui/assets/vb-DqVZHOnT.js +++ b/dist-ui/assets/vb-CyariDFl.js @@ -1 +1 @@ -import{g as U,c as $}from"./index-CHg1vBCc.js";function J(a,s){for(var o=0;oc[d]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(a,s){(function(o){o($)})(function(o){o.defineMode("vb",function(c,d){var u="error";function l(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var O=new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),R=new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),z=new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),S=new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),_=new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),C=new RegExp("^[_A-Za-z][_A-Za-z0-9]*"),h=["class","module","sub","enum","select","while","if","function","get","set","property","try","structure","synclock","using","with"],g=["else","elseif","case","catch","finally"],y=["next","loop"],b=["and","andalso","or","orelse","xor","in","not","is","isnot","like"],j=l(b),w=["#const","#else","#elseif","#end","#if","#region","addhandler","addressof","alias","as","byref","byval","cbool","cbyte","cchar","cdate","cdbl","cdec","cint","clng","cobj","compare","const","continue","csbyte","cshort","csng","cstr","cuint","culng","cushort","declare","default","delegate","dim","directcast","each","erase","error","event","exit","explicit","false","for","friend","gettype","goto","handles","implements","imports","infer","inherits","interface","isfalse","istrue","lib","me","mod","mustinherit","mustoverride","my","mybase","myclass","namespace","narrowing","new","nothing","notinheritable","notoverridable","of","off","on","operator","option","optional","out","overloads","overridable","overrides","paramarray","partial","private","protected","public","raiseevent","readonly","redim","removehandler","resume","return","shadows","shared","static","step","stop","strict","then","throw","to","true","trycast","typeof","until","until","when","widening","withevents","writeonly"],x=["object","boolean","char","string","byte","sbyte","short","ushort","int16","uint16","integer","uinteger","int32","uint32","long","ulong","int64","uint64","decimal","single","double","float","date","datetime","intptr","uintptr"],F=l(w),T=l(x),A='"',D=l(h),m=l(g),k=l(y),I=l(["end"]),L=l(["do"]);o.registerHelper("hintWords","vb",h.concat(g).concat(y).concat(b).concat(w).concat(x));function p(e,n){n.currentIndent++}function f(e,n){n.currentIndent--}function v(e,n){if(e.eatSpace())return null;var r=e.peek();if(r==="'")return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var t=!1;if((e.match(/^\d*\.\d+F?/i)||e.match(/^\d+\.\d*F?/)||e.match(/^\.\d+F?/))&&(t=!0),t)return e.eat(/J/i),"number";var i=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?i=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),i=!0):e.match(/^0(?![\dx])/i)&&(i=!0),i)return e.eat(/L/i),"number"}return e.match(A)?(n.tokenize=K(e.current()),n.tokenize(e,n)):e.match(_)||e.match(S)?null:e.match(z)||e.match(O)||e.match(j)?"operator":e.match(R)?null:e.match(L)?(p(e,n),n.doInCurrentLine=!0,"keyword"):e.match(D)?(n.doInCurrentLine?n.doInCurrentLine=!1:p(e,n),"keyword"):e.match(m)?"keyword":e.match(I)?(f(e,n),f(e,n),"keyword"):e.match(k)?(f(e,n),"keyword"):e.match(T)||e.match(F)?"keyword":e.match(C)?"variable":(e.next(),u)}function K(e){var n=e.length==1,r="string";return function(t,i){for(;!t.eol();){if(t.eatWhile(/[^'"]/),t.match(e))return i.tokenize=v,r;t.eat(/['"]/)}if(n){if(d.singleLineStringErrors)return u;i.tokenize=v}return r}}function P(e,n){var r=n.tokenize(e,n),t=e.current();if(t===".")return r=n.tokenize(e,n),r==="variable"?"variable":u;var i="[({".indexOf(t);return i!==-1&&p(e,n),i="])}".indexOf(t),i!==-1&&f(e,n)?u:r}var H={electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:v,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(e,n){e.sol()&&(n.currentIndent+=n.nextLineIndent,n.nextLineIndent=0,n.doInCurrentLine=0);var r=P(e,n);return n.lastToken={style:r,content:e.current()},r},indent:function(e,n){var r=n.replace(/^\s+|\s+$/g,"");return r.match(k)||r.match(I)||r.match(m)?c.indentUnit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*c.indentUnit},lineComment:"'"};return H}),o.defineMIME("text/x-vb","vb")})})();var E=M.exports;const W=U(E),B=J({__proto__:null,default:W},[E]);export{B as v}; +import{g as U,c as $}from"./index-rXwcQ1j1.js";function J(a,s){for(var o=0;oc[d]})}}}return Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var M={exports:{}};(function(a,s){(function(o){o($)})(function(o){o.defineMode("vb",function(c,d){var u="error";function l(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var O=new RegExp("^[\\+\\-\\*/%&\\\\|\\^~<>!]"),R=new RegExp("^[\\(\\)\\[\\]\\{\\}@,:`=;\\.]"),z=new RegExp("^((==)|(<>)|(<=)|(>=)|(<>)|(<<)|(>>)|(//)|(\\*\\*))"),S=new RegExp("^((\\+=)|(\\-=)|(\\*=)|(%=)|(/=)|(&=)|(\\|=)|(\\^=))"),_=new RegExp("^((//=)|(>>=)|(<<=)|(\\*\\*=))"),C=new RegExp("^[_A-Za-z][_A-Za-z0-9]*"),h=["class","module","sub","enum","select","while","if","function","get","set","property","try","structure","synclock","using","with"],g=["else","elseif","case","catch","finally"],y=["next","loop"],b=["and","andalso","or","orelse","xor","in","not","is","isnot","like"],j=l(b),w=["#const","#else","#elseif","#end","#if","#region","addhandler","addressof","alias","as","byref","byval","cbool","cbyte","cchar","cdate","cdbl","cdec","cint","clng","cobj","compare","const","continue","csbyte","cshort","csng","cstr","cuint","culng","cushort","declare","default","delegate","dim","directcast","each","erase","error","event","exit","explicit","false","for","friend","gettype","goto","handles","implements","imports","infer","inherits","interface","isfalse","istrue","lib","me","mod","mustinherit","mustoverride","my","mybase","myclass","namespace","narrowing","new","nothing","notinheritable","notoverridable","of","off","on","operator","option","optional","out","overloads","overridable","overrides","paramarray","partial","private","protected","public","raiseevent","readonly","redim","removehandler","resume","return","shadows","shared","static","step","stop","strict","then","throw","to","true","trycast","typeof","until","until","when","widening","withevents","writeonly"],x=["object","boolean","char","string","byte","sbyte","short","ushort","int16","uint16","integer","uinteger","int32","uint32","long","ulong","int64","uint64","decimal","single","double","float","date","datetime","intptr","uintptr"],F=l(w),T=l(x),A='"',D=l(h),m=l(g),k=l(y),I=l(["end"]),L=l(["do"]);o.registerHelper("hintWords","vb",h.concat(g).concat(y).concat(b).concat(w).concat(x));function p(e,n){n.currentIndent++}function f(e,n){n.currentIndent--}function v(e,n){if(e.eatSpace())return null;var r=e.peek();if(r==="'")return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.a-f]/i,!1)){var t=!1;if((e.match(/^\d*\.\d+F?/i)||e.match(/^\d+\.\d*F?/)||e.match(/^\.\d+F?/))&&(t=!0),t)return e.eat(/J/i),"number";var i=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?i=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),i=!0):e.match(/^0(?![\dx])/i)&&(i=!0),i)return e.eat(/L/i),"number"}return e.match(A)?(n.tokenize=K(e.current()),n.tokenize(e,n)):e.match(_)||e.match(S)?null:e.match(z)||e.match(O)||e.match(j)?"operator":e.match(R)?null:e.match(L)?(p(e,n),n.doInCurrentLine=!0,"keyword"):e.match(D)?(n.doInCurrentLine?n.doInCurrentLine=!1:p(e,n),"keyword"):e.match(m)?"keyword":e.match(I)?(f(e,n),f(e,n),"keyword"):e.match(k)?(f(e,n),"keyword"):e.match(T)||e.match(F)?"keyword":e.match(C)?"variable":(e.next(),u)}function K(e){var n=e.length==1,r="string";return function(t,i){for(;!t.eol();){if(t.eatWhile(/[^'"]/),t.match(e))return i.tokenize=v,r;t.eat(/['"]/)}if(n){if(d.singleLineStringErrors)return u;i.tokenize=v}return r}}function P(e,n){var r=n.tokenize(e,n),t=e.current();if(t===".")return r=n.tokenize(e,n),r==="variable"?"variable":u;var i="[({".indexOf(t);return i!==-1&&p(e,n),i="])}".indexOf(t),i!==-1&&f(e,n)?u:r}var H={electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:v,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1}},token:function(e,n){e.sol()&&(n.currentIndent+=n.nextLineIndent,n.nextLineIndent=0,n.doInCurrentLine=0);var r=P(e,n);return n.lastToken={style:r,content:e.current()},r},indent:function(e,n){var r=n.replace(/^\s+|\s+$/g,"");return r.match(k)||r.match(I)||r.match(m)?c.indentUnit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*c.indentUnit},lineComment:"'"};return H}),o.defineMIME("text/x-vb","vb")})})();var E=M.exports;const W=U(E),B=J({__proto__:null,default:W},[E]);export{B as v}; diff --git a/dist-ui/assets/vbscript-CZOEw8pR.js b/dist-ui/assets/vbscript-DXsXzOdf.js similarity index 99% rename from dist-ui/assets/vbscript-CZOEw8pR.js rename to dist-ui/assets/vbscript-DXsXzOdf.js index e70d5e8e..6ef073c5 100644 --- a/dist-ui/assets/vbscript-CZOEw8pR.js +++ b/dist-ui/assets/vbscript-DXsXzOdf.js @@ -1 +1 @@ -import{g as Q,c as X}from"./index-CHg1vBCc.js";function ee(b,s){for(var a=0;ao[u]})}}}return Object.freeze(Object.defineProperty(b,Symbol.toStringTag,{value:"Module"}))}var re={exports:{}};(function(b,s){(function(a){a(X)})(function(a){a.defineMode("vbscript",function(o,u){var l="error";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var w=new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"),k=new RegExp("^((<>)|(<=)|(>=))"),O=new RegExp("^[\\.,]"),C=new RegExp("^[\\(\\)]"),I=new RegExp("^[A-Za-z][_A-Za-z0-9]*"),S=["class","sub","select","while","if","function","property","with","for"],E=["else","elseif","case"],j=["next","loop","wend"],D=t(["and","or","not","xor","is","mod","eqv","imp"]),T=["dim","redim","then","until","randomize","byval","byref","new","property","exit","in","const","private","public","get","set","let","stop","on error resume next","on error goto 0","option explicit","call","me"],F=["true","false","nothing","empty","null"],L=["abs","array","asc","atn","cbool","cbyte","ccur","cdate","cdbl","chr","cint","clng","cos","csng","cstr","date","dateadd","datediff","datepart","dateserial","datevalue","day","escape","eval","execute","exp","filter","formatcurrency","formatdatetime","formatnumber","formatpercent","getlocale","getobject","getref","hex","hour","inputbox","instr","instrrev","int","fix","isarray","isdate","isempty","isnull","isnumeric","isobject","join","lbound","lcase","left","len","loadpicture","log","ltrim","rtrim","trim","maths","mid","minute","month","monthname","msgbox","now","oct","replace","rgb","right","rnd","round","scriptengine","scriptenginebuildversion","scriptenginemajorversion","scriptengineminorversion","second","setlocale","sgn","sin","space","split","sqr","strcomp","string","strreverse","tan","time","timer","timeserial","timevalue","typename","ubound","ucase","unescape","vartype","weekday","weekdayname","year"],R=["vbBlack","vbRed","vbGreen","vbYellow","vbBlue","vbMagenta","vbCyan","vbWhite","vbBinaryCompare","vbTextCompare","vbSunday","vbMonday","vbTuesday","vbWednesday","vbThursday","vbFriday","vbSaturday","vbUseSystemDayOfWeek","vbFirstJan1","vbFirstFourDays","vbFirstFullWeek","vbGeneralDate","vbLongDate","vbShortDate","vbLongTime","vbShortTime","vbObjectError","vbOKOnly","vbOKCancel","vbAbortRetryIgnore","vbYesNoCancel","vbYesNo","vbRetryCancel","vbCritical","vbQuestion","vbExclamation","vbInformation","vbDefaultButton1","vbDefaultButton2","vbDefaultButton3","vbDefaultButton4","vbApplicationModal","vbSystemModal","vbOK","vbCancel","vbAbort","vbRetry","vbIgnore","vbYes","vbNo","vbCr","VbCrLf","vbFormFeed","vbLf","vbNewLine","vbNullChar","vbNullString","vbTab","vbVerticalTab","vbUseDefault","vbTrue","vbFalse","vbEmpty","vbNull","vbInteger","vbLong","vbSingle","vbDouble","vbCurrency","vbDate","vbString","vbObject","vbError","vbBoolean","vbVariant","vbDataObject","vbDecimal","vbByte","vbArray"],v=["WScript","err","debug","RegExp"],z=["description","firstindex","global","helpcontext","helpfile","ignorecase","length","number","pattern","source","value","count"],W=["clear","execute","raise","replace","test","write","writeline","close","open","state","eof","update","addnew","end","createobject","quit"],A=["server","response","request","session","application"],B=["buffer","cachecontrol","charset","contenttype","expires","expiresabsolute","isclientconnected","pics","status","clientcertificate","cookies","form","querystring","servervariables","totalbytes","contents","staticobjects","codepage","lcid","sessionid","timeout","scripttimeout"],K=["addheader","appendtolog","binarywrite","end","flush","redirect","binaryread","remove","removeall","lock","unlock","abandon","getlasterror","htmlencode","mappath","transfer","urlencode"],d=W.concat(z);v=v.concat(R),o.isASP&&(v=v.concat(A),d=d.concat(K,B));var M=t(T),_=t(F),N=t(L),P=t(v),q=t(d),U='"',Y=t(S),g=t(E),y=t(j),h=t(["end"]),H=t(["do"]),J=t(["on error resume next","exit"]),V=t(["rem"]);function m(e,r){r.currentIndent++}function f(e,r){r.currentIndent--}function p(e,r){if(e.eatSpace())return"space";var n=e.peek();if(n==="'"||e.match(V))return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.]/i,!1)&&!e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i,!1)){var i=!1;if((e.match(/^\d*\.\d+/i)||e.match(/^\d+\.\d*/)||e.match(/^\.\d+/))&&(i=!0),i)return e.eat(/J/i),"number";var c=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?c=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),c=!0):e.match(/^0(?![\dx])/i)&&(c=!0),c)return e.eat(/L/i),"number"}return e.match(U)?(r.tokenize=$(e.current()),r.tokenize(e,r)):e.match(k)||e.match(w)||e.match(D)?"operator":e.match(O)?null:e.match(C)?"bracket":e.match(J)?(r.doInCurrentLine=!0,"keyword"):e.match(H)?(m(e,r),r.doInCurrentLine=!0,"keyword"):e.match(Y)?(r.doInCurrentLine?r.doInCurrentLine=!1:m(e,r),"keyword"):e.match(g)?"keyword":e.match(h)?(f(e,r),f(e,r),"keyword"):e.match(y)?(r.doInCurrentLine?r.doInCurrentLine=!1:f(e,r),"keyword"):e.match(M)?"keyword":e.match(_)?"atom":e.match(q)?"variable-2":e.match(N)?"builtin":e.match(P)?"variable-2":e.match(I)?"variable":(e.next(),l)}function $(e){var r=e.length==1,n="string";return function(i,c){for(;!i.eol();){if(i.eatWhile(/[^'"]/),i.match(e))return c.tokenize=p,n;i.eat(/['"]/)}if(r){if(u.singleLineStringErrors)return l;c.tokenize=p}return n}}function G(e,r){var n=r.tokenize(e,r),i=e.current();return i==="."?(n=r.tokenize(e,r),i=e.current(),n&&(n.substr(0,8)==="variable"||n==="builtin"||n==="keyword")?((n==="builtin"||n==="keyword")&&(n="variable"),d.indexOf(i.substr(1))>-1&&(n="variable-2"),n):l):n}var Z={electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:p,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1,ignoreKeyword:!1}},token:function(e,r){e.sol()&&(r.currentIndent+=r.nextLineIndent,r.nextLineIndent=0,r.doInCurrentLine=0);var n=G(e,r);return r.lastToken={style:n,content:e.current()},n==="space"&&(n=null),n},indent:function(e,r){var n=r.replace(/^\s+|\s+$/g,"");return n.match(y)||n.match(h)||n.match(g)?o.indentUnit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*o.indentUnit}};return Z}),a.defineMIME("text/vbscript","vbscript")})})();var x=re.exports;const ne=Q(x),ie=ee({__proto__:null,default:ne},[x]);export{ie as v}; +import{g as Q,c as X}from"./index-rXwcQ1j1.js";function ee(b,s){for(var a=0;ao[u]})}}}return Object.freeze(Object.defineProperty(b,Symbol.toStringTag,{value:"Module"}))}var re={exports:{}};(function(b,s){(function(a){a(X)})(function(a){a.defineMode("vbscript",function(o,u){var l="error";function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b","i")}var w=new RegExp("^[\\+\\-\\*/&\\\\\\^<>=]"),k=new RegExp("^((<>)|(<=)|(>=))"),O=new RegExp("^[\\.,]"),C=new RegExp("^[\\(\\)]"),I=new RegExp("^[A-Za-z][_A-Za-z0-9]*"),S=["class","sub","select","while","if","function","property","with","for"],E=["else","elseif","case"],j=["next","loop","wend"],D=t(["and","or","not","xor","is","mod","eqv","imp"]),T=["dim","redim","then","until","randomize","byval","byref","new","property","exit","in","const","private","public","get","set","let","stop","on error resume next","on error goto 0","option explicit","call","me"],F=["true","false","nothing","empty","null"],L=["abs","array","asc","atn","cbool","cbyte","ccur","cdate","cdbl","chr","cint","clng","cos","csng","cstr","date","dateadd","datediff","datepart","dateserial","datevalue","day","escape","eval","execute","exp","filter","formatcurrency","formatdatetime","formatnumber","formatpercent","getlocale","getobject","getref","hex","hour","inputbox","instr","instrrev","int","fix","isarray","isdate","isempty","isnull","isnumeric","isobject","join","lbound","lcase","left","len","loadpicture","log","ltrim","rtrim","trim","maths","mid","minute","month","monthname","msgbox","now","oct","replace","rgb","right","rnd","round","scriptengine","scriptenginebuildversion","scriptenginemajorversion","scriptengineminorversion","second","setlocale","sgn","sin","space","split","sqr","strcomp","string","strreverse","tan","time","timer","timeserial","timevalue","typename","ubound","ucase","unescape","vartype","weekday","weekdayname","year"],R=["vbBlack","vbRed","vbGreen","vbYellow","vbBlue","vbMagenta","vbCyan","vbWhite","vbBinaryCompare","vbTextCompare","vbSunday","vbMonday","vbTuesday","vbWednesday","vbThursday","vbFriday","vbSaturday","vbUseSystemDayOfWeek","vbFirstJan1","vbFirstFourDays","vbFirstFullWeek","vbGeneralDate","vbLongDate","vbShortDate","vbLongTime","vbShortTime","vbObjectError","vbOKOnly","vbOKCancel","vbAbortRetryIgnore","vbYesNoCancel","vbYesNo","vbRetryCancel","vbCritical","vbQuestion","vbExclamation","vbInformation","vbDefaultButton1","vbDefaultButton2","vbDefaultButton3","vbDefaultButton4","vbApplicationModal","vbSystemModal","vbOK","vbCancel","vbAbort","vbRetry","vbIgnore","vbYes","vbNo","vbCr","VbCrLf","vbFormFeed","vbLf","vbNewLine","vbNullChar","vbNullString","vbTab","vbVerticalTab","vbUseDefault","vbTrue","vbFalse","vbEmpty","vbNull","vbInteger","vbLong","vbSingle","vbDouble","vbCurrency","vbDate","vbString","vbObject","vbError","vbBoolean","vbVariant","vbDataObject","vbDecimal","vbByte","vbArray"],v=["WScript","err","debug","RegExp"],z=["description","firstindex","global","helpcontext","helpfile","ignorecase","length","number","pattern","source","value","count"],W=["clear","execute","raise","replace","test","write","writeline","close","open","state","eof","update","addnew","end","createobject","quit"],A=["server","response","request","session","application"],B=["buffer","cachecontrol","charset","contenttype","expires","expiresabsolute","isclientconnected","pics","status","clientcertificate","cookies","form","querystring","servervariables","totalbytes","contents","staticobjects","codepage","lcid","sessionid","timeout","scripttimeout"],K=["addheader","appendtolog","binarywrite","end","flush","redirect","binaryread","remove","removeall","lock","unlock","abandon","getlasterror","htmlencode","mappath","transfer","urlencode"],d=W.concat(z);v=v.concat(R),o.isASP&&(v=v.concat(A),d=d.concat(K,B));var M=t(T),_=t(F),N=t(L),P=t(v),q=t(d),U='"',Y=t(S),g=t(E),y=t(j),h=t(["end"]),H=t(["do"]),J=t(["on error resume next","exit"]),V=t(["rem"]);function m(e,r){r.currentIndent++}function f(e,r){r.currentIndent--}function p(e,r){if(e.eatSpace())return"space";var n=e.peek();if(n==="'"||e.match(V))return e.skipToEnd(),"comment";if(e.match(/^((&H)|(&O))?[0-9\.]/i,!1)&&!e.match(/^((&H)|(&O))?[0-9\.]+[a-z_]/i,!1)){var i=!1;if((e.match(/^\d*\.\d+/i)||e.match(/^\d+\.\d*/)||e.match(/^\.\d+/))&&(i=!0),i)return e.eat(/J/i),"number";var c=!1;if(e.match(/^&H[0-9a-f]+/i)||e.match(/^&O[0-7]+/i)?c=!0:e.match(/^[1-9]\d*F?/)?(e.eat(/J/i),c=!0):e.match(/^0(?![\dx])/i)&&(c=!0),c)return e.eat(/L/i),"number"}return e.match(U)?(r.tokenize=$(e.current()),r.tokenize(e,r)):e.match(k)||e.match(w)||e.match(D)?"operator":e.match(O)?null:e.match(C)?"bracket":e.match(J)?(r.doInCurrentLine=!0,"keyword"):e.match(H)?(m(e,r),r.doInCurrentLine=!0,"keyword"):e.match(Y)?(r.doInCurrentLine?r.doInCurrentLine=!1:m(e,r),"keyword"):e.match(g)?"keyword":e.match(h)?(f(e,r),f(e,r),"keyword"):e.match(y)?(r.doInCurrentLine?r.doInCurrentLine=!1:f(e,r),"keyword"):e.match(M)?"keyword":e.match(_)?"atom":e.match(q)?"variable-2":e.match(N)?"builtin":e.match(P)?"variable-2":e.match(I)?"variable":(e.next(),l)}function $(e){var r=e.length==1,n="string";return function(i,c){for(;!i.eol();){if(i.eatWhile(/[^'"]/),i.match(e))return c.tokenize=p,n;i.eat(/['"]/)}if(r){if(u.singleLineStringErrors)return l;c.tokenize=p}return n}}function G(e,r){var n=r.tokenize(e,r),i=e.current();return i==="."?(n=r.tokenize(e,r),i=e.current(),n&&(n.substr(0,8)==="variable"||n==="builtin"||n==="keyword")?((n==="builtin"||n==="keyword")&&(n="variable"),d.indexOf(i.substr(1))>-1&&(n="variable-2"),n):l):n}var Z={electricChars:"dDpPtTfFeE ",startState:function(){return{tokenize:p,lastToken:null,currentIndent:0,nextLineIndent:0,doInCurrentLine:!1,ignoreKeyword:!1}},token:function(e,r){e.sol()&&(r.currentIndent+=r.nextLineIndent,r.nextLineIndent=0,r.doInCurrentLine=0);var n=G(e,r);return r.lastToken={style:n,content:e.current()},n==="space"&&(n=null),n},indent:function(e,r){var n=r.replace(/^\s+|\s+$/g,"");return n.match(y)||n.match(h)||n.match(g)?o.indentUnit*(e.currentIndent-1):e.currentIndent<0?0:e.currentIndent*o.indentUnit}};return Z}),a.defineMIME("text/vbscript","vbscript")})})();var x=re.exports;const ne=Q(x),ie=ee({__proto__:null,default:ne},[x]);export{ie as v}; diff --git a/dist-ui/assets/velocity-r50P9Awt.js b/dist-ui/assets/velocity-HBL44oV7.js similarity index 98% rename from dist-ui/assets/velocity-r50P9Awt.js rename to dist-ui/assets/velocity-HBL44oV7.js index c33e79e0..a36e3bde 100644 --- a/dist-ui/assets/velocity-r50P9Awt.js +++ b/dist-ui/assets/velocity-HBL44oV7.js @@ -1 +1 @@ -import{g as m,c as $}from"./index-CHg1vBCc.js";function W(u,p){for(var l=0;lt[a]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var T={exports:{}};(function(u,p){(function(l){l($)})(function(l){l.defineMode("velocity",function(){function t(n){for(var e={},i=n.split(" "),r=0;r!?:\/|]/;function s(n,e,i){return e.tokenize=i,i(n,e)}function c(n,e){var i=e.beforeParams;e.beforeParams=!1;var r=n.next();if(r=="'"&&!e.inString&&e.inParams)return e.lastTokenWasBuiltin=!1,s(n,e,d(r));if(r=='"'){if(e.lastTokenWasBuiltin=!1,e.inString)return e.inString=!1,"string";if(e.inParams)return s(n,e,d(r))}else{if(/[\[\]{}\(\),;\.]/.test(r))return r=="("&&i?e.inParams=!0:r==")"&&(e.inParams=!1,e.lastTokenWasBuiltin=!0),null;if(/\d/.test(r))return e.lastTokenWasBuiltin=!1,n.eatWhile(/[\w\.]/),"number";if(r=="#"&&n.eat("*"))return e.lastTokenWasBuiltin=!1,s(n,e,y);if(r=="#"&&n.match(/ *\[ *\[/))return e.lastTokenWasBuiltin=!1,s(n,e,g);if(r=="#"&&n.eat("#"))return e.lastTokenWasBuiltin=!1,n.skipToEnd(),"comment";if(r=="$")return n.eat("!"),n.eatWhile(/[\w\d\$_\.{}-]/),h&&h.propertyIsEnumerable(n.current())?"keyword":(e.lastTokenWasBuiltin=!0,e.beforeParams=!0,"builtin");if(b.test(r))return e.lastTokenWasBuiltin=!1,n.eatWhile(b),"operator";n.eatWhile(/[\w\$_{}@]/);var o=n.current();return a&&a.propertyIsEnumerable(o)?"keyword":f&&f.propertyIsEnumerable(o)||n.current().match(/^#@?[a-z0-9_]+ *$/i)&&n.peek()=="("&&!(f&&f.propertyIsEnumerable(o.toLowerCase()))?(e.beforeParams=!0,e.lastTokenWasBuiltin=!1,"keyword"):e.inString?(e.lastTokenWasBuiltin=!1,"string"):n.pos>o.length&&n.string.charAt(n.pos-o.length-1)=="."&&e.lastTokenWasBuiltin?"builtin":(e.lastTokenWasBuiltin=!1,null)}}function d(n){return function(e,i){for(var r=!1,o,k=!1;(o=e.next())!=null;){if(o==n&&!r){k=!0;break}if(n=='"'&&e.peek()=="$"&&!r){i.inString=!0,k=!0;break}r=!r&&o=="\\"}return k&&(i.tokenize=c),"string"}}function y(n,e){for(var i=!1,r;r=n.next();){if(r=="#"&&i){e.tokenize=c;break}i=r=="*"}return"comment"}function g(n,e){for(var i=0,r;r=n.next();){if(r=="#"&&i==2){e.tokenize=c;break}r=="]"?i++:r!=" "&&(i=0)}return"meta"}return{startState:function(){return{tokenize:c,beforeParams:!1,inParams:!1,inString:!1,lastTokenWasBuiltin:!1}},token:function(n,e){return n.eatSpace()?null:e.tokenize(n,e)},blockCommentStart:"#*",blockCommentEnd:"*#",lineComment:"##",fold:"velocity"}}),l.defineMIME("text/velocity","velocity")})})();var v=T.exports;const x=m(v),P=W({__proto__:null,default:x},[v]);export{P as v}; +import{g as m,c as $}from"./index-rXwcQ1j1.js";function W(u,p){for(var l=0;lt[a]})}}}return Object.freeze(Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}))}var T={exports:{}};(function(u,p){(function(l){l($)})(function(l){l.defineMode("velocity",function(){function t(n){for(var e={},i=n.split(" "),r=0;r!?:\/|]/;function s(n,e,i){return e.tokenize=i,i(n,e)}function c(n,e){var i=e.beforeParams;e.beforeParams=!1;var r=n.next();if(r=="'"&&!e.inString&&e.inParams)return e.lastTokenWasBuiltin=!1,s(n,e,d(r));if(r=='"'){if(e.lastTokenWasBuiltin=!1,e.inString)return e.inString=!1,"string";if(e.inParams)return s(n,e,d(r))}else{if(/[\[\]{}\(\),;\.]/.test(r))return r=="("&&i?e.inParams=!0:r==")"&&(e.inParams=!1,e.lastTokenWasBuiltin=!0),null;if(/\d/.test(r))return e.lastTokenWasBuiltin=!1,n.eatWhile(/[\w\.]/),"number";if(r=="#"&&n.eat("*"))return e.lastTokenWasBuiltin=!1,s(n,e,y);if(r=="#"&&n.match(/ *\[ *\[/))return e.lastTokenWasBuiltin=!1,s(n,e,g);if(r=="#"&&n.eat("#"))return e.lastTokenWasBuiltin=!1,n.skipToEnd(),"comment";if(r=="$")return n.eat("!"),n.eatWhile(/[\w\d\$_\.{}-]/),h&&h.propertyIsEnumerable(n.current())?"keyword":(e.lastTokenWasBuiltin=!0,e.beforeParams=!0,"builtin");if(b.test(r))return e.lastTokenWasBuiltin=!1,n.eatWhile(b),"operator";n.eatWhile(/[\w\$_{}@]/);var o=n.current();return a&&a.propertyIsEnumerable(o)?"keyword":f&&f.propertyIsEnumerable(o)||n.current().match(/^#@?[a-z0-9_]+ *$/i)&&n.peek()=="("&&!(f&&f.propertyIsEnumerable(o.toLowerCase()))?(e.beforeParams=!0,e.lastTokenWasBuiltin=!1,"keyword"):e.inString?(e.lastTokenWasBuiltin=!1,"string"):n.pos>o.length&&n.string.charAt(n.pos-o.length-1)=="."&&e.lastTokenWasBuiltin?"builtin":(e.lastTokenWasBuiltin=!1,null)}}function d(n){return function(e,i){for(var r=!1,o,k=!1;(o=e.next())!=null;){if(o==n&&!r){k=!0;break}if(n=='"'&&e.peek()=="$"&&!r){i.inString=!0,k=!0;break}r=!r&&o=="\\"}return k&&(i.tokenize=c),"string"}}function y(n,e){for(var i=!1,r;r=n.next();){if(r=="#"&&i){e.tokenize=c;break}i=r=="*"}return"comment"}function g(n,e){for(var i=0,r;r=n.next();){if(r=="#"&&i==2){e.tokenize=c;break}r=="]"?i++:r!=" "&&(i=0)}return"meta"}return{startState:function(){return{tokenize:c,beforeParams:!1,inParams:!1,inString:!1,lastTokenWasBuiltin:!1}},token:function(n,e){return n.eatSpace()?null:e.tokenize(n,e)},blockCommentStart:"#*",blockCommentEnd:"*#",lineComment:"##",fold:"velocity"}}),l.defineMIME("text/velocity","velocity")})})();var v=T.exports;const x=m(v),P=W({__proto__:null,default:x},[v]);export{P as v}; diff --git a/dist-ui/assets/verilog-D0c_OfTR.js b/dist-ui/assets/verilog-0uN6tB1i.js similarity index 99% rename from dist-ui/assets/verilog-D0c_OfTR.js rename to dist-ui/assets/verilog-0uN6tB1i.js index 6bda4bd4..d58e8766 100644 --- a/dist-ui/assets/verilog-D0c_OfTR.js +++ b/dist-ui/assets/verilog-0uN6tB1i.js @@ -1 +1 @@ -import{g as oe,c as ae}from"./index-CHg1vBCc.js";function ce(S,L){for(var p=0;ph[m]})}}}return Object.freeze(Object.defineProperty(S,Symbol.toStringTag,{value:"Module"}))}var fe={exports:{}};(function(S,L){(function(p){p(ae)})(function(p){p.defineMode("verilog",function(i,l){var a=i.indentUnit,f=l.statementIndentUnit||a,x=l.dontAlignCalls,k=l.compilerDirectivesUseRegularIndentation,z=l.noIndentKeywords||[],_=l.multiLineStrings,v=l.hooks||{};function b(e){for(var t={},n=e.split(" "),r=0;r]/,O=/[\[\]{}()]/,J=/\d[0-9_]*/,Q=/\d*\s*'s?d\s*\d[0-9_]*/i,X=/\d*\s*'s?b\s*[xz01][xz01_]*/i,Y=/\d*\s*'s?o\s*[xz0-7][xz0-7_]*/i,Z=/\d*\s*'s?h\s*[0-9a-fxz?][0-9a-fxz?_]*/i,U=/(\d[\d_]*(\.\d[\d_]*)?E-?[\d_]+)|(\d[\d_]*\.\d[\d_]*)/i,H=/^((`?\w+)|[)}\]])/,M=/[)}\]]/,A=new RegExp("^(`(?:ifdef|ifndef|elsif|else|endif|undef|undefineall|define|include|begin_keywords|celldefine|default|nettype|end_keywords|endcelldefine|line|nounconnected_drive|pragma|resetall|timescale|unconnected_drive))\\b"),ee=/^(`(?:ifdef|ifndef|elsif|else))\b/,W=/^(`(?:elsif|else|endif))\b/,c,d,ne=b("case checker class clocking config function generate interface module package primitive program property specify sequence table task"),u={};for(var I in ne)u[I]="end"+I;u.begin="end",u.casex="endcase",u.casez="endcase",u.do="while",u.fork="join;join_any;join_none",u.covergroup="endgroup",u.macro_begin="macro_end";for(var te in z){var I=z[te];u[I]&&(u[I]=void 0)}var ie=b("always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while extern typedef");function j(e,t){var n=e.peek(),r;if(v[n]&&(r=v[n](e,t))!=!1||v.tokenBase&&(r=v.tokenBase(e,t))!=!1)return r;if(/[,;:\.]/.test(n))return c=e.next(),null;if(O.test(n))return c=e.next(),"bracket";if(n=="`")if(e.next(),e.eatWhile(/[\w\$_]/)){var o=e.current();if(d=o,o.startsWith("`uvm_")&&o.endsWith("_begin")){var s=d.substr(0,d.length-5)+"end";u[o]=s,c="newblock"}else{e.eatSpace(),e.peek()=="("&&(c="newmacro");var B=e.current();e.backUp(B.length-o.length)}return"def"}else return null;if(n=="$")return e.next(),e.eatWhile(/[\w\$_]/)?"meta":null;if(n=="#")return e.next(),e.eatWhile(/[\d_.]/),"def";if(n=="@")return e.next(),e.eatWhile(/[@]/),"def";if(n=='"')return e.next(),t.tokenize=re(n),t.tokenize(e,t);if(n=="/"){if(e.next(),e.eat("*"))return t.tokenize=q,q(e,t);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}if(e.match(U)||e.match(Q)||e.match(X)||e.match(Y)||e.match(Z)||e.match(J)||e.match(U))return"number";if(e.eatWhile(E))return c=e.current(),"meta";if(e.eatWhile(/[\w\$_]/)){var o=e.current();return $[o]?(u[o]&&(c="newblock",o==="fork"&&(e.eatSpace(),e.peek()==";"&&(c="newstatement"),e.backUp(e.current().length-o.length))),ie[o]&&(c="newstatement"),d=o,"keyword"):"variable"}return e.next(),null}function re(e){return function(t,n){for(var r=!1,o,s=!1;(o=t.next())!=null;){if(o==e&&!r){s=!0;break}r=!r&&o=="\\"}return(s||!(r||_))&&(n.tokenize=j),"string"}}function q(e,t){for(var n=!1,r;r=e.next();){if(r=="/"&&n){t.tokenize=j;break}n=r=="*"}return"comment"}function R(e,t,n,r,o,s){this.indented=e,this.column=t,this.type=n,this.scopekind=r,this.align=o,this.prev=s}function y(e,t,n,r){var o=e.indented,s=new R(o,t,n,r||"",null,e.context);return e.context=s}function w(e){var t=e.context.type;return(t==")"||t=="]"||t=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}function N(e,t){if(e==t)return!0;var n=t.split(";");for(var r in n)if(e==n[r])return!0;return!1}function T(e,t){return e==null?!1:e.scopekind===t?!0:T(e.prev,t)}function le(){var e=[];for(var t in u)if(u[t]){var n=u[t].split(";");for(var r in n)e.push(n[r])}var o=new RegExp("[{}()\\[\\]]|("+e.join("|")+")$");return o}return{electricInput:le(),startState:function(e){var t={tokenize:null,context:new R((e||0)-a,0,"top","top",!1),indented:0,compilerDirectiveIndented:0,startOfLine:!0};return v.startState&&v.startState(t),t},token:function(e,t){var n=t.context;if(e.sol()&&(n.align==null&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),v.token){var r=v.token(e,t);if(r!==void 0)return r}if(e.eatSpace())return null;c=null,d=null;var r=(t.tokenize||j)(e,t);if(r=="comment"||r=="meta"||r=="variable")return(c==="="||c==="<=")&&!T(n,"assignment")&&(y(t,e.column()+c.length,"assignment","assignment"),n.align==null&&(n.align=!0)),r;n.align==null&&(n.align=!0);var o=n.type=="assignment"&&M.test(c)&&n.prev&&n.prev.type===c;if(c==n.type||o){if(o&&(n=w(t)),n=w(t),c==")"){if(n&&n.type==="macro")for(n=w(t);n&&(n.type=="statement"||n.type=="assignment");)n=w(t)}else if(c=="}"&&n&&n.type==="statement")for(;n&&n.type=="statement";)n=w(t)}else if((c==";"||c==",")&&(n.type=="statement"||n.type=="assignment")||n.type&&N(d,n.type))for(n=w(t);n&&(n.type=="statement"||n.type=="assignment");)n=w(t);else if(c=="{")y(t,e.column(),"}");else if(c=="[")y(t,e.column(),"]");else if(c=="(")y(t,e.column(),")");else if(n&&n.type=="endcase"&&c==":")y(t,e.column(),"statement","case");else if(c=="newstatement")y(t,e.column(),"statement",d);else if(c=="newblock"){if(!(d=="function"&&n&&(n.type=="statement"||n.type=="endgroup"))){if(!(d=="task"&&n&&n.type=="statement")){if(!(d=="class"&&n&&n.type=="statement")){var s=u[d];y(t,e.column(),s,d)}}}}else(c=="newmacro"||d&&d.match(A))&&(c=="newmacro"&&y(t,e.column(),"macro","macro"),d.match(W)&&(t.compilerDirectiveIndented-=f),d.match(ee)&&(t.compilerDirectiveIndented+=f));return t.startOfLine=!1,r},indent:function(e,t){if(e.tokenize!=j&&e.tokenize!=null)return p.Pass;if(v.indent){var n=v.indent(e);if(n>=0)return n}var r=e.context,o=t&&t.charAt(0);r.type=="statement"&&o=="}"&&(r=r.prev);var s=!1,B=t.match(H);return B&&(s=N(B[0],r.type)),!k&&t.match(A)?t.match(W)?e.compilerDirectiveIndented-f:e.compilerDirectiveIndented:r.type=="statement"?r.indented+(o=="{"?0:f):(M.test(r.type)||r.type=="assignment")&&r.align&&!x?r.column+(s?0:1):r.type==")"&&!s?r.indented+f:r.indented+(s?0:a)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"indent"}}),p.defineMIME("text/x-verilog",{name:"verilog"}),p.defineMIME("text/x-systemverilog",{name:"verilog"});var h={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"hr","/":"property","/-":"property","@":"variable-3","@-":"variable-3","@++":"variable-3","@+=":"variable-3","@+=-":"variable-3","@--":"variable-3","@-=":"variable-3","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable-2","**":"variable-2","\\":"keyword",'"':"comment"},m={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},g=3,D=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,P=/^[! ] /,F=/^[! ] */,V=/^\/[\/\*]/;function C(i,l,a){var f=l/g;return"tlv-"+i.tlvIndentationStyle[f]+"-"+a}function G(i){var l;return(l=i.match(D,!1))&&l[2].length>0}p.defineMIME("text/x-tlv",{name:"verilog",hooks:{electricInput:!1,token:function(i,l){var a=void 0,f;if(i.sol()&&!l.tlvInBlockComment){i.peek()=="\\"&&(a="def",i.skipToEnd(),i.string.match(/\\SV/)?l.tlvCodeActive=!1:i.string.match(/\\TLV/)&&(l.tlvCodeActive=!0)),l.tlvCodeActive&&i.pos==0&&l.indented==0&&(f=i.match(F,!1))&&(l.indented=f[0].length);var x=l.indented,k=x/g;if(k<=l.tlvIndentationStyle.length){var z=i.string.length==x,_=k*g;if(_0||(l.tlvIndentationStyle[k]=m[b],k++))}if(!z)for(;l.tlvIndentationStyle.length>k;)l.tlvIndentationStyle.pop()}l.tlvNextIndent=x}if(l.tlvCodeActive){var $=!1,f;if(a!==void 0)a+=" "+C(l,0,"scope-ident");else if(i.pos/g0||i.eol())?(a=h[E],i.column()==l.indented&&(a+=" "+C(l,i.column(),"scope-ident"))):(i.backUp(i.current().length-1),a="tlv-default")}else i.match(/^\t+/)?a="tlv-tab":i.match(/^[\[\]{}\(\);\:]+/)?a="meta":(f=i.match(/^[mM]4([\+_])?[\w\d_]*/))?a=f[1]=="+"?"tlv-m4-plus":"tlv-m4":i.match(/^ +/)?i.eol()?a="error":a="tlv-default":i.match(/^[\w\d_]+/)?a="number":(i.next(),a="tlv-default");$&&(a+=" tlv-statement")}else i.match(/^[mM]4([\w\d_]*)/)&&(a="tlv-m4");return a},indent:function(i){return i.tlvCodeActive==!0?i.tlvNextIndent:-1},startState:function(i){i.tlvIndentationStyle=[],i.tlvCodeActive=!0,i.tlvNextIndent=-1,i.tlvInBlockComment=!1}}})})})();var K=fe.exports;const de=oe(K),se=ce({__proto__:null,default:de},[K]);export{se as v}; +import{g as oe,c as ae}from"./index-rXwcQ1j1.js";function ce(S,L){for(var p=0;ph[m]})}}}return Object.freeze(Object.defineProperty(S,Symbol.toStringTag,{value:"Module"}))}var fe={exports:{}};(function(S,L){(function(p){p(ae)})(function(p){p.defineMode("verilog",function(i,l){var a=i.indentUnit,f=l.statementIndentUnit||a,x=l.dontAlignCalls,k=l.compilerDirectivesUseRegularIndentation,z=l.noIndentKeywords||[],_=l.multiLineStrings,v=l.hooks||{};function b(e){for(var t={},n=e.split(" "),r=0;r]/,O=/[\[\]{}()]/,J=/\d[0-9_]*/,Q=/\d*\s*'s?d\s*\d[0-9_]*/i,X=/\d*\s*'s?b\s*[xz01][xz01_]*/i,Y=/\d*\s*'s?o\s*[xz0-7][xz0-7_]*/i,Z=/\d*\s*'s?h\s*[0-9a-fxz?][0-9a-fxz?_]*/i,U=/(\d[\d_]*(\.\d[\d_]*)?E-?[\d_]+)|(\d[\d_]*\.\d[\d_]*)/i,H=/^((`?\w+)|[)}\]])/,M=/[)}\]]/,A=new RegExp("^(`(?:ifdef|ifndef|elsif|else|endif|undef|undefineall|define|include|begin_keywords|celldefine|default|nettype|end_keywords|endcelldefine|line|nounconnected_drive|pragma|resetall|timescale|unconnected_drive))\\b"),ee=/^(`(?:ifdef|ifndef|elsif|else))\b/,W=/^(`(?:elsif|else|endif))\b/,c,d,ne=b("case checker class clocking config function generate interface module package primitive program property specify sequence table task"),u={};for(var I in ne)u[I]="end"+I;u.begin="end",u.casex="endcase",u.casez="endcase",u.do="while",u.fork="join;join_any;join_none",u.covergroup="endgroup",u.macro_begin="macro_end";for(var te in z){var I=z[te];u[I]&&(u[I]=void 0)}var ie=b("always always_comb always_ff always_latch assert assign assume else export for foreach forever if import initial repeat while extern typedef");function j(e,t){var n=e.peek(),r;if(v[n]&&(r=v[n](e,t))!=!1||v.tokenBase&&(r=v.tokenBase(e,t))!=!1)return r;if(/[,;:\.]/.test(n))return c=e.next(),null;if(O.test(n))return c=e.next(),"bracket";if(n=="`")if(e.next(),e.eatWhile(/[\w\$_]/)){var o=e.current();if(d=o,o.startsWith("`uvm_")&&o.endsWith("_begin")){var s=d.substr(0,d.length-5)+"end";u[o]=s,c="newblock"}else{e.eatSpace(),e.peek()=="("&&(c="newmacro");var B=e.current();e.backUp(B.length-o.length)}return"def"}else return null;if(n=="$")return e.next(),e.eatWhile(/[\w\$_]/)?"meta":null;if(n=="#")return e.next(),e.eatWhile(/[\d_.]/),"def";if(n=="@")return e.next(),e.eatWhile(/[@]/),"def";if(n=='"')return e.next(),t.tokenize=re(n),t.tokenize(e,t);if(n=="/"){if(e.next(),e.eat("*"))return t.tokenize=q,q(e,t);if(e.eat("/"))return e.skipToEnd(),"comment";e.backUp(1)}if(e.match(U)||e.match(Q)||e.match(X)||e.match(Y)||e.match(Z)||e.match(J)||e.match(U))return"number";if(e.eatWhile(E))return c=e.current(),"meta";if(e.eatWhile(/[\w\$_]/)){var o=e.current();return $[o]?(u[o]&&(c="newblock",o==="fork"&&(e.eatSpace(),e.peek()==";"&&(c="newstatement"),e.backUp(e.current().length-o.length))),ie[o]&&(c="newstatement"),d=o,"keyword"):"variable"}return e.next(),null}function re(e){return function(t,n){for(var r=!1,o,s=!1;(o=t.next())!=null;){if(o==e&&!r){s=!0;break}r=!r&&o=="\\"}return(s||!(r||_))&&(n.tokenize=j),"string"}}function q(e,t){for(var n=!1,r;r=e.next();){if(r=="/"&&n){t.tokenize=j;break}n=r=="*"}return"comment"}function R(e,t,n,r,o,s){this.indented=e,this.column=t,this.type=n,this.scopekind=r,this.align=o,this.prev=s}function y(e,t,n,r){var o=e.indented,s=new R(o,t,n,r||"",null,e.context);return e.context=s}function w(e){var t=e.context.type;return(t==")"||t=="]"||t=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}function N(e,t){if(e==t)return!0;var n=t.split(";");for(var r in n)if(e==n[r])return!0;return!1}function T(e,t){return e==null?!1:e.scopekind===t?!0:T(e.prev,t)}function le(){var e=[];for(var t in u)if(u[t]){var n=u[t].split(";");for(var r in n)e.push(n[r])}var o=new RegExp("[{}()\\[\\]]|("+e.join("|")+")$");return o}return{electricInput:le(),startState:function(e){var t={tokenize:null,context:new R((e||0)-a,0,"top","top",!1),indented:0,compilerDirectiveIndented:0,startOfLine:!0};return v.startState&&v.startState(t),t},token:function(e,t){var n=t.context;if(e.sol()&&(n.align==null&&(n.align=!1),t.indented=e.indentation(),t.startOfLine=!0),v.token){var r=v.token(e,t);if(r!==void 0)return r}if(e.eatSpace())return null;c=null,d=null;var r=(t.tokenize||j)(e,t);if(r=="comment"||r=="meta"||r=="variable")return(c==="="||c==="<=")&&!T(n,"assignment")&&(y(t,e.column()+c.length,"assignment","assignment"),n.align==null&&(n.align=!0)),r;n.align==null&&(n.align=!0);var o=n.type=="assignment"&&M.test(c)&&n.prev&&n.prev.type===c;if(c==n.type||o){if(o&&(n=w(t)),n=w(t),c==")"){if(n&&n.type==="macro")for(n=w(t);n&&(n.type=="statement"||n.type=="assignment");)n=w(t)}else if(c=="}"&&n&&n.type==="statement")for(;n&&n.type=="statement";)n=w(t)}else if((c==";"||c==",")&&(n.type=="statement"||n.type=="assignment")||n.type&&N(d,n.type))for(n=w(t);n&&(n.type=="statement"||n.type=="assignment");)n=w(t);else if(c=="{")y(t,e.column(),"}");else if(c=="[")y(t,e.column(),"]");else if(c=="(")y(t,e.column(),")");else if(n&&n.type=="endcase"&&c==":")y(t,e.column(),"statement","case");else if(c=="newstatement")y(t,e.column(),"statement",d);else if(c=="newblock"){if(!(d=="function"&&n&&(n.type=="statement"||n.type=="endgroup"))){if(!(d=="task"&&n&&n.type=="statement")){if(!(d=="class"&&n&&n.type=="statement")){var s=u[d];y(t,e.column(),s,d)}}}}else(c=="newmacro"||d&&d.match(A))&&(c=="newmacro"&&y(t,e.column(),"macro","macro"),d.match(W)&&(t.compilerDirectiveIndented-=f),d.match(ee)&&(t.compilerDirectiveIndented+=f));return t.startOfLine=!1,r},indent:function(e,t){if(e.tokenize!=j&&e.tokenize!=null)return p.Pass;if(v.indent){var n=v.indent(e);if(n>=0)return n}var r=e.context,o=t&&t.charAt(0);r.type=="statement"&&o=="}"&&(r=r.prev);var s=!1,B=t.match(H);return B&&(s=N(B[0],r.type)),!k&&t.match(A)?t.match(W)?e.compilerDirectiveIndented-f:e.compilerDirectiveIndented:r.type=="statement"?r.indented+(o=="{"?0:f):(M.test(r.type)||r.type=="assignment")&&r.align&&!x?r.column+(s?0:1):r.type==")"&&!s?r.indented+f:r.indented+(s?0:a)},blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//",fold:"indent"}}),p.defineMIME("text/x-verilog",{name:"verilog"}),p.defineMIME("text/x-systemverilog",{name:"verilog"});var h={"|":"link",">":"property",$:"variable",$$:"variable","?$":"qualifier","?*":"qualifier","-":"hr","/":"property","/-":"property","@":"variable-3","@-":"variable-3","@++":"variable-3","@+=":"variable-3","@+=-":"variable-3","@--":"variable-3","@-=":"variable-3","%+":"tag","%-":"tag","%":"tag",">>":"tag","<<":"tag","<>":"tag","#":"tag","^":"attribute","^^":"attribute","^!":"attribute","*":"variable-2","**":"variable-2","\\":"keyword",'"':"comment"},m={"/":"beh-hier",">":"beh-hier","-":"phys-hier","|":"pipe","?":"when","@":"stage","\\":"keyword"},g=3,D=/^([~!@#\$%\^&\*-\+=\?\/\\\|'"<>]+)([\d\w_]*)/,P=/^[! ] /,F=/^[! ] */,V=/^\/[\/\*]/;function C(i,l,a){var f=l/g;return"tlv-"+i.tlvIndentationStyle[f]+"-"+a}function G(i){var l;return(l=i.match(D,!1))&&l[2].length>0}p.defineMIME("text/x-tlv",{name:"verilog",hooks:{electricInput:!1,token:function(i,l){var a=void 0,f;if(i.sol()&&!l.tlvInBlockComment){i.peek()=="\\"&&(a="def",i.skipToEnd(),i.string.match(/\\SV/)?l.tlvCodeActive=!1:i.string.match(/\\TLV/)&&(l.tlvCodeActive=!0)),l.tlvCodeActive&&i.pos==0&&l.indented==0&&(f=i.match(F,!1))&&(l.indented=f[0].length);var x=l.indented,k=x/g;if(k<=l.tlvIndentationStyle.length){var z=i.string.length==x,_=k*g;if(_0||(l.tlvIndentationStyle[k]=m[b],k++))}if(!z)for(;l.tlvIndentationStyle.length>k;)l.tlvIndentationStyle.pop()}l.tlvNextIndent=x}if(l.tlvCodeActive){var $=!1,f;if(a!==void 0)a+=" "+C(l,0,"scope-ident");else if(i.pos/g0||i.eol())?(a=h[E],i.column()==l.indented&&(a+=" "+C(l,i.column(),"scope-ident"))):(i.backUp(i.current().length-1),a="tlv-default")}else i.match(/^\t+/)?a="tlv-tab":i.match(/^[\[\]{}\(\);\:]+/)?a="meta":(f=i.match(/^[mM]4([\+_])?[\w\d_]*/))?a=f[1]=="+"?"tlv-m4-plus":"tlv-m4":i.match(/^ +/)?i.eol()?a="error":a="tlv-default":i.match(/^[\w\d_]+/)?a="number":(i.next(),a="tlv-default");$&&(a+=" tlv-statement")}else i.match(/^[mM]4([\w\d_]*)/)&&(a="tlv-m4");return a},indent:function(i){return i.tlvCodeActive==!0?i.tlvNextIndent:-1},startState:function(i){i.tlvIndentationStyle=[],i.tlvCodeActive=!0,i.tlvNextIndent=-1,i.tlvInBlockComment=!1}}})})})();var K=fe.exports;const de=oe(K),se=ce({__proto__:null,default:de},[K]);export{se as v}; diff --git a/dist-ui/assets/vhdl-DJ-CJGdz.js b/dist-ui/assets/vhdl-CXK8SMqW.js similarity index 98% rename from dist-ui/assets/vhdl-DJ-CJGdz.js rename to dist-ui/assets/vhdl-CXK8SMqW.js index 04e9bdea..33d2bb35 100644 --- a/dist-ui/assets/vhdl-DJ-CJGdz.js +++ b/dist-ui/assets/vhdl-CXK8SMqW.js @@ -1 +1 @@ -import{g as C,c as _}from"./index-CHg1vBCc.js";function L(g,b){for(var f=0;fl[a]})}}}return Object.freeze(Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}))}var $={exports:{}};(function(g,b){(function(f){f(_)})(function(f){function l(u){for(var s={},c=u.split(","),d=0;dl[a]})}}}return Object.freeze(Object.defineProperty(g,Symbol.toStringTag,{value:"Module"}))}var $={exports:{}};(function(g,b){(function(f){f(_)})(function(f){function l(u){for(var s={},c=u.split(","),d=0;ds[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var h={exports:{}};(function(r,p){(function(e){e(u,x(),c(),f(),m,g,v,y,d,$)})(function(e){var s={script:[["lang",/coffee(script)?/,"coffeescript"],["type",/^(?:text|application)\/(?:x-)?coffee(?:script)?$/,"coffeescript"],["lang",/^babel$/,"javascript"],["type",/^text\/babel$/,"javascript"],["type",/^text\/ecmascript-\d+$/,"javascript"]],style:[["lang",/^stylus$/i,"stylus"],["lang",/^sass$/i,"sass"],["lang",/^less$/i,"text/x-less"],["lang",/^scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?styl(us)?$/i,"stylus"],["type",/^text\/sass/i,"sass"],["type",/^(text\/)?(x-)?scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?less$/i,"text/x-less"]],template:[["lang",/^vue-template$/i,"vue"],["lang",/^pug$/i,"pug"],["lang",/^handlebars$/i,"handlebars"],["type",/^(text\/)?(x-)?pug$/i,"pug"],["type",/^text\/x-handlebars-template$/i,"handlebars"],[null,null,"vue-template"]]};e.defineMode("vue-template",function(t,a){var i={token:function(l){if(l.match(/^\{\{.*?\}\}/))return"meta mustache";for(;l.next()&&!l.match("{{",!1););return null}};return e.overlayMode(e.getMode(t,a.backdrop||"text/html"),i)}),e.defineMode("vue",function(t){return e.getMode(t,{name:"htmlmixed",tags:s})},"htmlmixed","xml","javascript","coffeescript","css","sass","stylus","pug","handlebars"),e.defineMIME("script/x-vue","vue"),e.defineMIME("text/x-vue","vue")})})();var o=h.exports;const E=n(o),A=b({__proto__:null,default:E},[o]);export{A as v}; +import{g as n,c as u,r as c,a as f}from"./index-rXwcQ1j1.js";import{r as x}from"./overlay-DtxTNIBP.js";import{a as m}from"./coffeescript-CSI3jYdr.js";import{a as g}from"./css-DspWBOZK.js";import{a as v}from"./sass-Cm8ghDjq.js";import{a as y}from"./stylus-WMbBiF91.js";import{a as d}from"./pug-N2IUeQPV.js";import{a as $}from"./handlebars-CTdSxJnI.js";function b(r,p){for(var e=0;es[t]})}}}return Object.freeze(Object.defineProperty(r,Symbol.toStringTag,{value:"Module"}))}var h={exports:{}};(function(r,p){(function(e){e(u,x(),c(),f(),m,g,v,y,d,$)})(function(e){var s={script:[["lang",/coffee(script)?/,"coffeescript"],["type",/^(?:text|application)\/(?:x-)?coffee(?:script)?$/,"coffeescript"],["lang",/^babel$/,"javascript"],["type",/^text\/babel$/,"javascript"],["type",/^text\/ecmascript-\d+$/,"javascript"]],style:[["lang",/^stylus$/i,"stylus"],["lang",/^sass$/i,"sass"],["lang",/^less$/i,"text/x-less"],["lang",/^scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?styl(us)?$/i,"stylus"],["type",/^text\/sass/i,"sass"],["type",/^(text\/)?(x-)?scss$/i,"text/x-scss"],["type",/^(text\/)?(x-)?less$/i,"text/x-less"]],template:[["lang",/^vue-template$/i,"vue"],["lang",/^pug$/i,"pug"],["lang",/^handlebars$/i,"handlebars"],["type",/^(text\/)?(x-)?pug$/i,"pug"],["type",/^text\/x-handlebars-template$/i,"handlebars"],[null,null,"vue-template"]]};e.defineMode("vue-template",function(t,a){var i={token:function(l){if(l.match(/^\{\{.*?\}\}/))return"meta mustache";for(;l.next()&&!l.match("{{",!1););return null}};return e.overlayMode(e.getMode(t,a.backdrop||"text/html"),i)}),e.defineMode("vue",function(t){return e.getMode(t,{name:"htmlmixed",tags:s})},"htmlmixed","xml","javascript","coffeescript","css","sass","stylus","pug","handlebars"),e.defineMIME("script/x-vue","vue"),e.defineMIME("text/x-vue","vue")})})();var o=h.exports;const E=n(o),A=b({__proto__:null,default:E},[o]);export{A as v}; diff --git a/dist-ui/assets/wast-BkbSvJWA.js b/dist-ui/assets/wast-CiGcLqKn.js similarity index 98% rename from dist-ui/assets/wast-BkbSvJWA.js rename to dist-ui/assets/wast-CiGcLqKn.js index a13067ee..358c6291 100644 --- a/dist-ui/assets/wast-BkbSvJWA.js +++ b/dist-ui/assets/wast-CiGcLqKn.js @@ -1 +1 @@ -import{g as i,c as _,b as l}from"./index-CHg1vBCc.js";function x(n,o){for(var e=0;et[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(n,o){(function(e){e(_,l())})(function(e){var t=["align","block","br(_if|_table|_on_(cast|data|func|i31|null))?","call(_indirect|_ref)?","current_memory","\\bdata\\b","catch(_all)?","delegate","drop","elem","else","end","export","\\bextern\\b","\\bfunc\\b","global(\\.(get|set))?","if","import","local(\\.(get|set|tee))?","loop","module","mut","nop","offset","param","result","rethrow","return(_call(_indirect|_ref)?)?","select","start","table(\\.(size|get|set|size|grow|fill|init|copy))?","then","throw","try","type","unreachable","unwind","i(32|64)\\.(store(8|16)|(load(8|16)_[su]))","i64\\.(load32_[su]|store32)","[fi](32|64)\\.(const|load|store)","f(32|64)\\.(abs|add|ceil|copysign|div|eq|floor|[gl][et]|max|min|mul|nearest|neg?|sqrt|sub|trunc)","i(32|64)\\.(a[dn]d|c[lt]z|(div|rem)_[su]|eqz?|[gl][te]_[su]|mul|ne|popcnt|rot[lr]|sh(l|r_[su])|sub|x?or)","i64\\.extend_[su]_i32","i32\\.wrap_i64","i(32|64)\\.trunc_f(32|64)_[su]","f(32|64)\\.convert_i(32|64)_[su]","f64\\.promote_f32","f32\\.demote_f64","f32\\.reinterpret_i32","i32\\.reinterpret_f32","f64\\.reinterpret_i64","i64\\.reinterpret_f64","memory(\\.((atomic\\.(notify|wait(32|64)))|grow|size))?","i64.atomic\\.(load32_u|store32|rmw32\\.(a[dn]d|sub|x?or|(cmp)?xchg)_u)","i(32|64)\\.atomic\\.(load((8|16)_u)?|store(8|16)?|rmw(\\.(a[dn]d|sub|x?or|(cmp)?xchg)|(8|16)\\.(a[dn]d|sub|x?or|(cmp)?xchg)_u))","v128\\.load(8x8|16x4|32x2)_[su]","v128\\.load(8|16|32|64)_splat","v128\\.(load|store)(8|16|32|64)_lane","v128\\.load(32|64)_zero","v128.(load|store|const|not|andnot|and|or|xor|bitselect|any_true)","i(8x16|16x8)\\.(extract_lane_[su]|(add|sub)_sat_[su]|avgr_u)","i(8x16|16x8|32x4|64x2)\\.(neg|add|sub|abs|shl|shr_[su]|all_true|bitmask|eq|ne|[lg][te]_s)","(i(8x16|16x8|32x4|64x2)|f(32x4|64x2)).(splat|replace_lane)","i(8x16|16x8|32x4)\\.(([lg][te]_u)|((min|max)_[su]))","f(32x4|64x2)\\.(neg|add|sub|abs|nearest|eq|ne|[lg][te]|sqrt|mul|div|min|max|ceil|floor|trunc)","[fi](32x4|64x2)\\.extract_lane","i8x16\\.(shuffle|swizzle|popcnt|narrow_i16x8_[su])","i16x8\\.(narrow_i32x4_[su]|mul|extadd_pairwise_i8x16_[su]|q15mulr_sat_s)","i16x8\\.(extend|extmul)_(low|high)_i8x16_[su]","i32x4\\.(mul|dot_i16x8_s|trunc_sat_f64x2_[su]_zero)","i32x4\\.((extend|extmul)_(low|high)_i16x8_|trunc_sat_f32x4_|extadd_pairwise_i16x8_)[su]","i64x2\\.(mul|(extend|extmul)_(low|high)_i32x4_[su])","f32x4\\.(convert_i32x4_[su]|demote_f64x2_zero)","f64x2\\.(promote_low_f32x4|convert_low_i32x4_[su])","\\bany\\b","array\\.len","(array|struct)(\\.(new_(default_)?with_rtt|get(_[su])?|set))?","\\beq\\b","field","i31\\.(new|get_[su])","\\bnull\\b","ref(\\.(([ai]s_(data|func|i31))|cast|eq|func|(is_|as_non_)?null|test))?","rtt(\\.(canon|sub))?"];e.defineSimpleMode("wast",{start:[{regex:/[+\-]?(?:nan(?::0x[0-9a-fA-F]+)?|infinity|inf|0x[0-9a-fA-F]+\.?[0-9a-fA-F]*p[+\/-]?\d+|\d+(?:\.\d*)?[eE][+\-]?\d*|\d+\.\d*|0x[0-9a-fA-F]+|\d+)/,token:"number"},{regex:new RegExp(t.join("|")),token:"keyword"},{regex:/\b((any|data|eq|extern|i31|func)ref|[fi](32|64)|i(8|16))\b/,token:"atom"},{regex:/\$([a-zA-Z0-9_`\+\-\*\/\\\^~=<>!\?@#$%&|:\.]+)/,token:"variable-2"},{regex:/"(?:[^"\\\x00-\x1f\x7f]|\\[nt\\'"]|\\[0-9a-fA-F][0-9a-fA-F])*"/,token:"string"},{regex:/\(;.*?/,token:"comment",next:"comment"},{regex:/;;.*$/,token:"comment"},{regex:/\(/,indent:!0},{regex:/\)/,dedent:!0}],comment:[{regex:/.*?;\)/,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{dontIndentStates:["comment"]}}),e.defineMIME("text/webassembly","wast")})})();var s=u.exports;const d=i(s),f=x({__proto__:null,default:d},[s]);export{f as w}; +import{g as i,c as _,b as l}from"./index-rXwcQ1j1.js";function x(n,o){for(var e=0;et[r]})}}}return Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var u={exports:{}};(function(n,o){(function(e){e(_,l())})(function(e){var t=["align","block","br(_if|_table|_on_(cast|data|func|i31|null))?","call(_indirect|_ref)?","current_memory","\\bdata\\b","catch(_all)?","delegate","drop","elem","else","end","export","\\bextern\\b","\\bfunc\\b","global(\\.(get|set))?","if","import","local(\\.(get|set|tee))?","loop","module","mut","nop","offset","param","result","rethrow","return(_call(_indirect|_ref)?)?","select","start","table(\\.(size|get|set|size|grow|fill|init|copy))?","then","throw","try","type","unreachable","unwind","i(32|64)\\.(store(8|16)|(load(8|16)_[su]))","i64\\.(load32_[su]|store32)","[fi](32|64)\\.(const|load|store)","f(32|64)\\.(abs|add|ceil|copysign|div|eq|floor|[gl][et]|max|min|mul|nearest|neg?|sqrt|sub|trunc)","i(32|64)\\.(a[dn]d|c[lt]z|(div|rem)_[su]|eqz?|[gl][te]_[su]|mul|ne|popcnt|rot[lr]|sh(l|r_[su])|sub|x?or)","i64\\.extend_[su]_i32","i32\\.wrap_i64","i(32|64)\\.trunc_f(32|64)_[su]","f(32|64)\\.convert_i(32|64)_[su]","f64\\.promote_f32","f32\\.demote_f64","f32\\.reinterpret_i32","i32\\.reinterpret_f32","f64\\.reinterpret_i64","i64\\.reinterpret_f64","memory(\\.((atomic\\.(notify|wait(32|64)))|grow|size))?","i64.atomic\\.(load32_u|store32|rmw32\\.(a[dn]d|sub|x?or|(cmp)?xchg)_u)","i(32|64)\\.atomic\\.(load((8|16)_u)?|store(8|16)?|rmw(\\.(a[dn]d|sub|x?or|(cmp)?xchg)|(8|16)\\.(a[dn]d|sub|x?or|(cmp)?xchg)_u))","v128\\.load(8x8|16x4|32x2)_[su]","v128\\.load(8|16|32|64)_splat","v128\\.(load|store)(8|16|32|64)_lane","v128\\.load(32|64)_zero","v128.(load|store|const|not|andnot|and|or|xor|bitselect|any_true)","i(8x16|16x8)\\.(extract_lane_[su]|(add|sub)_sat_[su]|avgr_u)","i(8x16|16x8|32x4|64x2)\\.(neg|add|sub|abs|shl|shr_[su]|all_true|bitmask|eq|ne|[lg][te]_s)","(i(8x16|16x8|32x4|64x2)|f(32x4|64x2)).(splat|replace_lane)","i(8x16|16x8|32x4)\\.(([lg][te]_u)|((min|max)_[su]))","f(32x4|64x2)\\.(neg|add|sub|abs|nearest|eq|ne|[lg][te]|sqrt|mul|div|min|max|ceil|floor|trunc)","[fi](32x4|64x2)\\.extract_lane","i8x16\\.(shuffle|swizzle|popcnt|narrow_i16x8_[su])","i16x8\\.(narrow_i32x4_[su]|mul|extadd_pairwise_i8x16_[su]|q15mulr_sat_s)","i16x8\\.(extend|extmul)_(low|high)_i8x16_[su]","i32x4\\.(mul|dot_i16x8_s|trunc_sat_f64x2_[su]_zero)","i32x4\\.((extend|extmul)_(low|high)_i16x8_|trunc_sat_f32x4_|extadd_pairwise_i16x8_)[su]","i64x2\\.(mul|(extend|extmul)_(low|high)_i32x4_[su])","f32x4\\.(convert_i32x4_[su]|demote_f64x2_zero)","f64x2\\.(promote_low_f32x4|convert_low_i32x4_[su])","\\bany\\b","array\\.len","(array|struct)(\\.(new_(default_)?with_rtt|get(_[su])?|set))?","\\beq\\b","field","i31\\.(new|get_[su])","\\bnull\\b","ref(\\.(([ai]s_(data|func|i31))|cast|eq|func|(is_|as_non_)?null|test))?","rtt(\\.(canon|sub))?"];e.defineSimpleMode("wast",{start:[{regex:/[+\-]?(?:nan(?::0x[0-9a-fA-F]+)?|infinity|inf|0x[0-9a-fA-F]+\.?[0-9a-fA-F]*p[+\/-]?\d+|\d+(?:\.\d*)?[eE][+\-]?\d*|\d+\.\d*|0x[0-9a-fA-F]+|\d+)/,token:"number"},{regex:new RegExp(t.join("|")),token:"keyword"},{regex:/\b((any|data|eq|extern|i31|func)ref|[fi](32|64)|i(8|16))\b/,token:"atom"},{regex:/\$([a-zA-Z0-9_`\+\-\*\/\\\^~=<>!\?@#$%&|:\.]+)/,token:"variable-2"},{regex:/"(?:[^"\\\x00-\x1f\x7f]|\\[nt\\'"]|\\[0-9a-fA-F][0-9a-fA-F])*"/,token:"string"},{regex:/\(;.*?/,token:"comment",next:"comment"},{regex:/;;.*$/,token:"comment"},{regex:/\(/,indent:!0},{regex:/\)/,dedent:!0}],comment:[{regex:/.*?;\)/,token:"comment",next:"start"},{regex:/.*/,token:"comment"}],meta:{dontIndentStates:["comment"]}}),e.defineMIME("text/webassembly","wast")})})();var s=u.exports;const d=i(s),f=x({__proto__:null,default:d},[s]);export{f as w}; diff --git a/dist-ui/assets/webidl-D20HUTz0.js b/dist-ui/assets/webidl-DHFmlSmh.js similarity index 97% rename from dist-ui/assets/webidl-D20HUTz0.js rename to dist-ui/assets/webidl-DHFmlSmh.js index 4eee93a5..6073736a 100644 --- a/dist-ui/assets/webidl-D20HUTz0.js +++ b/dist-ui/assets/webidl-DHFmlSmh.js @@ -1 +1 @@ -import{g as T,c as _}from"./index-CHg1vBCc.js";function U(f,c){for(var n=0;nt[a]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(f,c){(function(n){n(_)})(function(n){function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var a=["Clamp","Constructor","EnforceRange","Exposed","ImplicitThis","Global","PrimaryGlobal","LegacyArrayClass","LegacyUnenumerableNamedProperties","LenientThis","NamedConstructor","NewObject","NoInterfaceObject","OverrideBuiltins","PutForwards","Replaceable","SameObject","TreatNonObjectAsNull","TreatNullAs","EmptyString","Unforgeable","Unscopeable"],l=t(a),u=["unsigned","short","long","unrestricted","float","double","boolean","byte","octet","Promise","ArrayBuffer","DataView","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","ByteString","DOMString","USVString","sequence","object","RegExp","Error","DOMException","FrozenArray","any","void"],p=t(u),s=["attribute","callback","const","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","optional","readonly","or"],b=t(s),d=["true","false","Infinity","NaN","null"],v=t(d);n.registerHelper("hintWords","webidl",a.concat(u).concat(s).concat(d));var g=["callback","dictionary","enum","interface"],A=t(g),h=["typedef"],w=t(h),D=/^[:<=>?]/,E=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,x=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,m=/^_?[A-Za-z][0-9A-Z_a-z-]*/,k=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,O=/^"[^"]*"/,j=/^\/\*.*?\*\//,C=/^\/\*.*/,S=/^.*?\*\//;function N(e,r){if(e.eatSpace())return null;if(r.inComment)return e.match(S)?(r.inComment=!1,"comment"):(e.skipToEnd(),"comment");if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(j))return"comment";if(e.match(C))return r.inComment=!0,"comment";if(e.match(/^-?[0-9\.]/,!1)&&(e.match(E)||e.match(x)))return"number";if(e.match(O))return"string";if(r.startDef&&e.match(m))return"def";if(r.endDef&&e.match(k))return r.endDef=!1,"def";if(e.match(b))return"keyword";if(e.match(p)){var i=r.lastToken,o=(e.match(/^\s*(.+?)\b/,!1)||[])[1];return i===":"||i==="implements"||o==="implements"||o==="="?"builtin":"variable-3"}return e.match(l)?"builtin":e.match(v)?"atom":e.match(m)?"variable":e.match(D)?"operator":(e.next(),null)}n.defineMode("webidl",function(){return{startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(e,r){var i=N(e,r);if(i){var o=e.current();r.lastToken=o,i==="keyword"?(r.startDef=A.test(o),r.endDef=r.endDef||w.test(o)):r.startDef=!1}return i}}}),n.defineMIME("text/x-webidl","webidl")})})();var y=z.exports;const I=T(y),F=U({__proto__:null,default:I},[y]);export{F as w}; +import{g as T,c as _}from"./index-rXwcQ1j1.js";function U(f,c){for(var n=0;nt[a]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var z={exports:{}};(function(f,c){(function(n){n(_)})(function(n){function t(e){return new RegExp("^(("+e.join(")|(")+"))\\b")}var a=["Clamp","Constructor","EnforceRange","Exposed","ImplicitThis","Global","PrimaryGlobal","LegacyArrayClass","LegacyUnenumerableNamedProperties","LenientThis","NamedConstructor","NewObject","NoInterfaceObject","OverrideBuiltins","PutForwards","Replaceable","SameObject","TreatNonObjectAsNull","TreatNullAs","EmptyString","Unforgeable","Unscopeable"],l=t(a),u=["unsigned","short","long","unrestricted","float","double","boolean","byte","octet","Promise","ArrayBuffer","DataView","Int8Array","Int16Array","Int32Array","Uint8Array","Uint16Array","Uint32Array","Uint8ClampedArray","Float32Array","Float64Array","ByteString","DOMString","USVString","sequence","object","RegExp","Error","DOMException","FrozenArray","any","void"],p=t(u),s=["attribute","callback","const","deleter","dictionary","enum","getter","implements","inherit","interface","iterable","legacycaller","maplike","partial","required","serializer","setlike","setter","static","stringifier","typedef","optional","readonly","or"],b=t(s),d=["true","false","Infinity","NaN","null"],v=t(d);n.registerHelper("hintWords","webidl",a.concat(u).concat(s).concat(d));var g=["callback","dictionary","enum","interface"],A=t(g),h=["typedef"],w=t(h),D=/^[:<=>?]/,E=/^-?([1-9][0-9]*|0[Xx][0-9A-Fa-f]+|0[0-7]*)/,x=/^-?(([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([Ee][+-]?[0-9]+)?|[0-9]+[Ee][+-]?[0-9]+)/,m=/^_?[A-Za-z][0-9A-Z_a-z-]*/,k=/^_?[A-Za-z][0-9A-Z_a-z-]*(?=\s*;)/,O=/^"[^"]*"/,j=/^\/\*.*?\*\//,C=/^\/\*.*/,S=/^.*?\*\//;function N(e,r){if(e.eatSpace())return null;if(r.inComment)return e.match(S)?(r.inComment=!1,"comment"):(e.skipToEnd(),"comment");if(e.match("//"))return e.skipToEnd(),"comment";if(e.match(j))return"comment";if(e.match(C))return r.inComment=!0,"comment";if(e.match(/^-?[0-9\.]/,!1)&&(e.match(E)||e.match(x)))return"number";if(e.match(O))return"string";if(r.startDef&&e.match(m))return"def";if(r.endDef&&e.match(k))return r.endDef=!1,"def";if(e.match(b))return"keyword";if(e.match(p)){var i=r.lastToken,o=(e.match(/^\s*(.+?)\b/,!1)||[])[1];return i===":"||i==="implements"||o==="implements"||o==="="?"builtin":"variable-3"}return e.match(l)?"builtin":e.match(v)?"atom":e.match(m)?"variable":e.match(D)?"operator":(e.next(),null)}n.defineMode("webidl",function(){return{startState:function(){return{inComment:!1,lastToken:"",startDef:!1,endDef:!1}},token:function(e,r){var i=N(e,r);if(i){var o=e.current();r.lastToken=o,i==="keyword"?(r.startDef=A.test(o),r.endDef=r.endDef||w.test(o)):r.startDef=!1}return i}}}),n.defineMIME("text/x-webidl","webidl")})})();var y=z.exports;const I=T(y),F=U({__proto__:null,default:I},[y]);export{F as w}; diff --git a/dist-ui/assets/xquery-C5OqrpyG.js b/dist-ui/assets/xquery-CQi0u3Ny.js similarity index 99% rename from dist-ui/assets/xquery-C5OqrpyG.js rename to dist-ui/assets/xquery-CQi0u3Ny.js index ad05838f..5d82631e 100644 --- a/dist-ui/assets/xquery-C5OqrpyG.js +++ b/dist-ui/assets/xquery-CQi0u3Ny.js @@ -1 +1 @@ -import{g as j,c as B}from"./index-CHg1vBCc.js";function P(y,k){for(var p=0;pf[l]})}}}return Object.freeze(Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}))}var $={exports:{}};(function(y,k){(function(p){p(B)})(function(p){p.defineMode("xquery",function(){var f=function(){function e(O){return{type:O,style:"keyword"}}for(var n=e("operator"),t={type:"atom",style:"atom"},i={type:"punctuation",style:null},s={type:"axis_specifier",style:"qualifier"},u={",":i},d=["after","all","allowing","ancestor","ancestor-or-self","any","array","as","ascending","at","attribute","base-uri","before","boundary-space","by","case","cast","castable","catch","child","collation","comment","construction","contains","content","context","copy","copy-namespaces","count","decimal-format","declare","default","delete","descendant","descendant-or-self","descending","diacritics","different","distance","document","document-node","element","else","empty","empty-sequence","encoding","end","entire","every","exactly","except","external","first","following","following-sibling","for","from","ftand","ftnot","ft-option","ftor","function","fuzzy","greatest","group","if","import","in","inherit","insensitive","insert","instance","intersect","into","invoke","is","item","language","last","lax","least","let","levels","lowercase","map","modify","module","most","namespace","next","no","node","nodes","no-inherit","no-preserve","not","occurs","of","only","option","order","ordered","ordering","paragraph","paragraphs","parent","phrase","preceding","preceding-sibling","preserve","previous","processing-instruction","relationship","rename","replace","return","revalidation","same","satisfies","schema","schema-attribute","schema-element","score","self","sensitive","sentence","sentences","sequence","skip","sliding","some","stable","start","stemming","stop","strict","strip","switch","text","then","thesaurus","times","to","transform","treat","try","tumbling","type","typeswitch","union","unordered","update","updating","uppercase","using","validate","value","variable","version","weight","when","where","wildcards","window","with","without","word","words","xquery"],r=0,a=d.length;r",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"],r=0,a=g.length;r\"\'\/?]/);)d+=r;return l(e,n,N(d,u))}else{if(t=="{")return x(n,{type:"codeblock"}),null;if(t=="}")return c(n),null;if(w(n))return t==">"?"tag":t=="/"&&e.eat(">")?(c(n),"tag"):"variable";if(/\d/.test(t))return e.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if(t==="("&&e.eat(":"))return x(n,{type:"comment"}),l(e,n,T);if(!s&&(t==='"'||t==="'"))return l(e,n,b(t));if(t==="$")return l(e,n,E);if(t===":"&&e.eat("="))return"keyword";if(t==="(")return x(n,{type:"paren"}),null;if(t===")")return c(n),null;if(t==="[")return x(n,{type:"bracket"}),null;if(t==="]")return c(n),null;var a=f.propertyIsEnumerable(t)&&f[t];if(s&&t==='"')for(;e.next()!=='"';);if(s&&t==="'")for(;e.next()!=="'";);a||e.eatWhile(/[\w\$_-]/);var v=e.eat(":");!e.eat(":")&&v&&e.eatWhile(/[\w\$_-]/),e.match(/^[ \t]*\(/,!1)&&(i=!0);var g=e.current();return a=f.propertyIsEnumerable(g)&&f[g],i&&!a&&(a={type:"function_call",style:"variable def"}),q(n)?(c(n),"variable"):((g=="element"||g=="attribute"||a.type=="axis_specifier")&&x(n,{type:"xmlconstructor"}),a?a.style:"variable")}}function T(e,n){for(var t=!1,i=!1,s=0,u;u=e.next();){if(u==")"&&t)if(s>0)s--;else{c(n);break}else u==":"&&i&&s++;t=u==":",i=u=="("}return"comment"}function b(e,n){return function(t,i){var s;if(C(i)&&t.current()==e)return c(i),n&&(i.tokenize=n),"string";if(x(i,{type:"string",name:e,tokenize:b(e,n)}),t.match("{",!1)&&h(i))return i.tokenize=o,"string";for(;s=t.next();)if(s==e){c(i),n&&(i.tokenize=n);break}else if(t.match("{",!1)&&h(i))return i.tokenize=o,"string";return"string"}}function E(e,n){var t=/[\w\$_-]/;if(e.eat('"')){for(;e.next()!=='"';);e.eat(":")}else e.eatWhile(t),e.match(":=",!1)||e.eat(":");return e.eatWhile(t),n.tokenize=o,"variable"}function N(e,n){return function(t,i){if(t.eatSpace(),n&&t.eat(">"))return c(i),i.tokenize=o,"tag";if(t.eat("/")||x(i,{type:"tag",name:e,tokenize:o}),t.eat(">"))i.tokenize=o;else return i.tokenize=z,"tag";return"tag"}}function z(e,n){var t=e.next();return t=="/"&&e.eat(">")?(h(n)&&c(n),w(n)&&c(n),"tag"):t==">"?(h(n)&&c(n),"tag"):t=="="?null:t=='"'||t=="'"?l(e,n,b(t,z)):(h(n)||x(n,{type:"attribute",tokenize:z}),e.eat(/[a-zA-Z_:]/),e.eatWhile(/[-a-zA-Z0-9_:.]/),e.eatSpace(),(e.match(">",!1)||e.match("/",!1))&&(c(n),n.tokenize=o),"attribute")}function A(e,n){for(var t;t=e.next();)if(t=="-"&&e.match("->",!0))return n.tokenize=o,"comment"}function _(e,n){for(var t;t=e.next();)if(t=="]"&&e.match("]",!0))return n.tokenize=o,"comment"}function D(e,n){for(var t;t=e.next();)if(t=="?"&&e.match(">",!0))return n.tokenize=o,"comment meta"}function w(e){return m(e,"tag")}function h(e){return m(e,"attribute")}function q(e){return m(e,"xmlconstructor")}function C(e){return m(e,"string")}function M(e){return e.current()==='"'?e.match(/^[^\"]+\"\:/,!1):e.current()==="'"?e.match(/^[^\"]+\'\:/,!1):!1}function m(e,n){return e.stack.length&&e.stack[e.stack.length-1].type==n}function x(e,n){e.stack.push(n)}function c(e){e.stack.pop();var n=e.stack.length&&e.stack[e.stack.length-1].tokenize;e.tokenize=n||o}return{startState:function(){return{tokenize:o,cc:[],stack:[]}},token:function(e,n){if(e.eatSpace())return null;var t=n.tokenize(e,n);return t},blockCommentStart:"(:",blockCommentEnd:":)"}}),p.defineMIME("application/xquery","xquery")})})();var S=$.exports;const W=j(S),X=P({__proto__:null,default:W},[S]);export{X as x}; +import{g as j,c as B}from"./index-rXwcQ1j1.js";function P(y,k){for(var p=0;pf[l]})}}}return Object.freeze(Object.defineProperty(y,Symbol.toStringTag,{value:"Module"}))}var $={exports:{}};(function(y,k){(function(p){p(B)})(function(p){p.defineMode("xquery",function(){var f=function(){function e(O){return{type:O,style:"keyword"}}for(var n=e("operator"),t={type:"atom",style:"atom"},i={type:"punctuation",style:null},s={type:"axis_specifier",style:"qualifier"},u={",":i},d=["after","all","allowing","ancestor","ancestor-or-self","any","array","as","ascending","at","attribute","base-uri","before","boundary-space","by","case","cast","castable","catch","child","collation","comment","construction","contains","content","context","copy","copy-namespaces","count","decimal-format","declare","default","delete","descendant","descendant-or-self","descending","diacritics","different","distance","document","document-node","element","else","empty","empty-sequence","encoding","end","entire","every","exactly","except","external","first","following","following-sibling","for","from","ftand","ftnot","ft-option","ftor","function","fuzzy","greatest","group","if","import","in","inherit","insensitive","insert","instance","intersect","into","invoke","is","item","language","last","lax","least","let","levels","lowercase","map","modify","module","most","namespace","next","no","node","nodes","no-inherit","no-preserve","not","occurs","of","only","option","order","ordered","ordering","paragraph","paragraphs","parent","phrase","preceding","preceding-sibling","preserve","previous","processing-instruction","relationship","rename","replace","return","revalidation","same","satisfies","schema","schema-attribute","schema-element","score","self","sensitive","sentence","sentences","sequence","skip","sliding","some","stable","start","stemming","stop","strict","strip","switch","text","then","thesaurus","times","to","transform","treat","try","tumbling","type","typeswitch","union","unordered","update","updating","uppercase","using","validate","value","variable","version","weight","when","where","wildcards","window","with","without","word","words","xquery"],r=0,a=d.length;r",">=","<","<=",".","|","?","and","or","div","idiv","mod","*","/","+","-"],r=0,a=g.length;r\"\'\/?]/);)d+=r;return l(e,n,N(d,u))}else{if(t=="{")return x(n,{type:"codeblock"}),null;if(t=="}")return c(n),null;if(w(n))return t==">"?"tag":t=="/"&&e.eat(">")?(c(n),"tag"):"variable";if(/\d/.test(t))return e.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/),"atom";if(t==="("&&e.eat(":"))return x(n,{type:"comment"}),l(e,n,T);if(!s&&(t==='"'||t==="'"))return l(e,n,b(t));if(t==="$")return l(e,n,E);if(t===":"&&e.eat("="))return"keyword";if(t==="(")return x(n,{type:"paren"}),null;if(t===")")return c(n),null;if(t==="[")return x(n,{type:"bracket"}),null;if(t==="]")return c(n),null;var a=f.propertyIsEnumerable(t)&&f[t];if(s&&t==='"')for(;e.next()!=='"';);if(s&&t==="'")for(;e.next()!=="'";);a||e.eatWhile(/[\w\$_-]/);var v=e.eat(":");!e.eat(":")&&v&&e.eatWhile(/[\w\$_-]/),e.match(/^[ \t]*\(/,!1)&&(i=!0);var g=e.current();return a=f.propertyIsEnumerable(g)&&f[g],i&&!a&&(a={type:"function_call",style:"variable def"}),q(n)?(c(n),"variable"):((g=="element"||g=="attribute"||a.type=="axis_specifier")&&x(n,{type:"xmlconstructor"}),a?a.style:"variable")}}function T(e,n){for(var t=!1,i=!1,s=0,u;u=e.next();){if(u==")"&&t)if(s>0)s--;else{c(n);break}else u==":"&&i&&s++;t=u==":",i=u=="("}return"comment"}function b(e,n){return function(t,i){var s;if(C(i)&&t.current()==e)return c(i),n&&(i.tokenize=n),"string";if(x(i,{type:"string",name:e,tokenize:b(e,n)}),t.match("{",!1)&&h(i))return i.tokenize=o,"string";for(;s=t.next();)if(s==e){c(i),n&&(i.tokenize=n);break}else if(t.match("{",!1)&&h(i))return i.tokenize=o,"string";return"string"}}function E(e,n){var t=/[\w\$_-]/;if(e.eat('"')){for(;e.next()!=='"';);e.eat(":")}else e.eatWhile(t),e.match(":=",!1)||e.eat(":");return e.eatWhile(t),n.tokenize=o,"variable"}function N(e,n){return function(t,i){if(t.eatSpace(),n&&t.eat(">"))return c(i),i.tokenize=o,"tag";if(t.eat("/")||x(i,{type:"tag",name:e,tokenize:o}),t.eat(">"))i.tokenize=o;else return i.tokenize=z,"tag";return"tag"}}function z(e,n){var t=e.next();return t=="/"&&e.eat(">")?(h(n)&&c(n),w(n)&&c(n),"tag"):t==">"?(h(n)&&c(n),"tag"):t=="="?null:t=='"'||t=="'"?l(e,n,b(t,z)):(h(n)||x(n,{type:"attribute",tokenize:z}),e.eat(/[a-zA-Z_:]/),e.eatWhile(/[-a-zA-Z0-9_:.]/),e.eatSpace(),(e.match(">",!1)||e.match("/",!1))&&(c(n),n.tokenize=o),"attribute")}function A(e,n){for(var t;t=e.next();)if(t=="-"&&e.match("->",!0))return n.tokenize=o,"comment"}function _(e,n){for(var t;t=e.next();)if(t=="]"&&e.match("]",!0))return n.tokenize=o,"comment"}function D(e,n){for(var t;t=e.next();)if(t=="?"&&e.match(">",!0))return n.tokenize=o,"comment meta"}function w(e){return m(e,"tag")}function h(e){return m(e,"attribute")}function q(e){return m(e,"xmlconstructor")}function C(e){return m(e,"string")}function M(e){return e.current()==='"'?e.match(/^[^\"]+\"\:/,!1):e.current()==="'"?e.match(/^[^\"]+\'\:/,!1):!1}function m(e,n){return e.stack.length&&e.stack[e.stack.length-1].type==n}function x(e,n){e.stack.push(n)}function c(e){e.stack.pop();var n=e.stack.length&&e.stack[e.stack.length-1].tokenize;e.tokenize=n||o}return{startState:function(){return{tokenize:o,cc:[],stack:[]}},token:function(e,n){if(e.eatSpace())return null;var t=n.tokenize(e,n);return t},blockCommentStart:"(:",blockCommentEnd:":)"}}),p.defineMIME("application/xquery","xquery")})})();var S=$.exports;const W=j(S),X=P({__proto__:null,default:W},[S]);export{X as x}; diff --git a/dist-ui/assets/yacas-CzlNFYag.js b/dist-ui/assets/yacas-UmEfCONk.js similarity index 97% rename from dist-ui/assets/yacas-CzlNFYag.js rename to dist-ui/assets/yacas-UmEfCONk.js index 63f57cf5..097ea1ee 100644 --- a/dist-ui/assets/yacas-CzlNFYag.js +++ b/dist-ui/assets/yacas-UmEfCONk.js @@ -1 +1 @@ -import{g as T,c as z}from"./index-CHg1vBCc.js";function E(l,s){for(var i=0;ia[c]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var F={exports:{}};(function(l,s){(function(i){i(z)})(function(i){i.defineMode("yacas",function(a,c){function u(e){for(var r={},n=e.split(" "),o=0;o|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function x(e,r){for(var n,o=!1,t=!1;(n=e.next())!=null;){if(n==='"'&&!t){o=!0;break}t=!t&&n==="\\"}return o&&!t&&(r.tokenize=p),"string"}function S(e,r){for(var n,o;(o=e.next())!=null;){if(n==="*"&&o==="/"){r.tokenize=p;break}n=o}return"comment"}function d(e){var r=null;return e.scopes.length>0&&(r=e.scopes[e.scopes.length-1]),r}return{startState:function(){return{tokenize:p,scopes:[]}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},indent:function(e,r){if(e.tokenize!==p&&e.tokenize!==null)return i.Pass;var n=0;return(r==="]"||r==="];"||r==="}"||r==="};"||r===");")&&(n=-1),(e.scopes.length+n)*a.indentUnit},electricChars:"{}[]();",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),i.defineMIME("text/x-yacas",{name:"yacas"})})})();var v=F.exports;const w=T(v),P=E({__proto__:null,default:w},[v]);export{P as y}; +import{g as T,c as z}from"./index-rXwcQ1j1.js";function E(l,s){for(var i=0;ia[c]})}}}return Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var F={exports:{}};(function(l,s){(function(i){i(z)})(function(i){i.defineMode("yacas",function(a,c){function u(e){for(var r={},n=e.split(" "),o=0;o|<|&|\||_|`|'|\^|\?|!|%|#)/,!0,!1)?"operator":"error"}function x(e,r){for(var n,o=!1,t=!1;(n=e.next())!=null;){if(n==='"'&&!t){o=!0;break}t=!t&&n==="\\"}return o&&!t&&(r.tokenize=p),"string"}function S(e,r){for(var n,o;(o=e.next())!=null;){if(n==="*"&&o==="/"){r.tokenize=p;break}n=o}return"comment"}function d(e){var r=null;return e.scopes.length>0&&(r=e.scopes[e.scopes.length-1]),r}return{startState:function(){return{tokenize:p,scopes:[]}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},indent:function(e,r){if(e.tokenize!==p&&e.tokenize!==null)return i.Pass;var n=0;return(r==="]"||r==="];"||r==="}"||r==="};"||r===");")&&(n=-1),(e.scopes.length+n)*a.indentUnit},electricChars:"{}[]();",blockCommentStart:"/*",blockCommentEnd:"*/",lineComment:"//"}}),i.defineMIME("text/x-yacas",{name:"yacas"})})})();var v=F.exports;const w=T(v),P=E({__proto__:null,default:w},[v]);export{P as y}; diff --git a/dist-ui/assets/yaml-CexR13EN.js b/dist-ui/assets/yaml--Jz1R_lf.js similarity index 96% rename from dist-ui/assets/yaml-CexR13EN.js rename to dist-ui/assets/yaml--Jz1R_lf.js index 81605a73..d09cc723 100644 --- a/dist-ui/assets/yaml-CexR13EN.js +++ b/dist-ui/assets/yaml--Jz1R_lf.js @@ -1 +1 @@ -import{g as c,c as p}from"./index-CHg1vBCc.js";function s(o,a){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(o,a){(function(n){n(p)})(function(n){n.defineMode("yaml",function(){var r=["true","false","on","off","yes","no"],l=new RegExp("\\b(("+r.join(")|(")+"))$","i");return{token:function(e,i){var f=e.peek(),t=i.escaped;if(i.escaped=!1,f=="#"&&(e.pos==0||/\s/.test(e.string.charAt(e.pos-1))))return e.skipToEnd(),"comment";if(e.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(i.literal&&e.indentation()>i.keyCol)return e.skipToEnd(),"string";if(i.literal&&(i.literal=!1),e.sol()){if(i.keyCol=0,i.pair=!1,i.pairStart=!1,e.match("---")||e.match("..."))return"def";if(e.match(/\s*-\s+/))return"meta"}if(e.match(/^(\{|\}|\[|\])/))return f=="{"?i.inlinePairs++:f=="}"?i.inlinePairs--:f=="["?i.inlineList++:i.inlineList--,"meta";if(i.inlineList>0&&!t&&f==",")return e.next(),"meta";if(i.inlinePairs>0&&!t&&f==",")return i.keyCol=0,i.pair=!1,i.pairStart=!1,e.next(),"meta";if(i.pairStart){if(e.match(/^\s*(\||\>)\s*/))return i.literal=!0,"meta";if(e.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(i.inlinePairs==0&&e.match(/^\s*-?[0-9\.\,]+\s?$/)||i.inlinePairs>0&&e.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(e.match(l))return"keyword"}return!i.pair&&e.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^\s,\[\]{}#&*!|>'"%@`])[^#:]*(?=:($|\s))/)?(i.pair=!0,i.keyCol=e.indentation(),"atom"):i.pair&&e.match(/^:\s*/)?(i.pairStart=!0,"meta"):(i.pairStart=!1,i.escaped=f=="\\",e.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},lineComment:"#",fold:"indent"}}),n.defineMIME("text/x-yaml","yaml"),n.defineMIME("text/yaml","yaml")})})();var u=y.exports;const d=c(u),g=s({__proto__:null,default:d},[u]);export{u as a,g as y}; +import{g as c,c as p}from"./index-rXwcQ1j1.js";function s(o,a){for(var n=0;nr[l]})}}}return Object.freeze(Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}))}var y={exports:{}};(function(o,a){(function(n){n(p)})(function(n){n.defineMode("yaml",function(){var r=["true","false","on","off","yes","no"],l=new RegExp("\\b(("+r.join(")|(")+"))$","i");return{token:function(e,i){var f=e.peek(),t=i.escaped;if(i.escaped=!1,f=="#"&&(e.pos==0||/\s/.test(e.string.charAt(e.pos-1))))return e.skipToEnd(),"comment";if(e.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(i.literal&&e.indentation()>i.keyCol)return e.skipToEnd(),"string";if(i.literal&&(i.literal=!1),e.sol()){if(i.keyCol=0,i.pair=!1,i.pairStart=!1,e.match("---")||e.match("..."))return"def";if(e.match(/\s*-\s+/))return"meta"}if(e.match(/^(\{|\}|\[|\])/))return f=="{"?i.inlinePairs++:f=="}"?i.inlinePairs--:f=="["?i.inlineList++:i.inlineList--,"meta";if(i.inlineList>0&&!t&&f==",")return e.next(),"meta";if(i.inlinePairs>0&&!t&&f==",")return i.keyCol=0,i.pair=!1,i.pairStart=!1,e.next(),"meta";if(i.pairStart){if(e.match(/^\s*(\||\>)\s*/))return i.literal=!0,"meta";if(e.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable-2";if(i.inlinePairs==0&&e.match(/^\s*-?[0-9\.\,]+\s?$/)||i.inlinePairs>0&&e.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(e.match(l))return"keyword"}return!i.pair&&e.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^\s,\[\]{}#&*!|>'"%@`])[^#:]*(?=:($|\s))/)?(i.pair=!0,i.keyCol=e.indentation(),"atom"):i.pair&&e.match(/^:\s*/)?(i.pairStart=!0,"meta"):(i.pairStart=!1,i.escaped=f=="\\",e.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},lineComment:"#",fold:"indent"}}),n.defineMIME("text/x-yaml","yaml"),n.defineMIME("text/yaml","yaml")})})();var u=y.exports;const d=c(u),g=s({__proto__:null,default:d},[u]);export{u as a,g as y}; diff --git a/dist-ui/assets/yaml-frontmatter-Peb_Fe4e.js b/dist-ui/assets/yaml-frontmatter-DBbz-S_v.js similarity index 91% rename from dist-ui/assets/yaml-frontmatter-Peb_Fe4e.js rename to dist-ui/assets/yaml-frontmatter-DBbz-S_v.js index 980440bc..85597cec 100644 --- a/dist-ui/assets/yaml-frontmatter-Peb_Fe4e.js +++ b/dist-ui/assets/yaml-frontmatter-DBbz-S_v.js @@ -1 +1 @@ -import{g,c as v}from"./index-CHg1vBCc.js";import{a as b}from"./yaml-CexR13EN.js";function k(f,u){for(var n=0;na[r]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var S={exports:{}};(function(f,u){(function(n){n(v,b)})(function(n){var a=0,r=1,o=2;n.defineMode("yaml-frontmatter",function(s,p){var l=n.getMode(s,"yaml"),m=n.getMode(s,p&&p.base||"gfm");function c(t){return t.state==r?{mode:l,state:t.yaml}:{mode:m,state:t.inner}}return{startState:function(){return{state:a,yaml:null,inner:n.startState(m)}},copyState:function(t){return{state:t.state,yaml:t.yaml&&n.copyState(l,t.yaml),inner:n.copyState(m,t.inner)}},token:function(t,e){if(e.state==a)return t.match("---",!1)?(e.state=r,e.yaml=n.startState(l),l.token(t,e.yaml)):(e.state=o,m.token(t,e.inner));if(e.state==r){var y=t.sol()&&t.match(/(---|\.\.\.)/,!1),i=l.token(t,e.yaml);return y&&(e.state=o,e.yaml=null),i}else return m.token(t,e.inner)},innerMode:c,indent:function(t,e,y){var i=c(t);return i.mode.indent?i.mode.indent(i.state,e,y):n.Pass},blankLine:function(t){var e=c(t);if(e.mode.blankLine)return e.mode.blankLine(e.state)}}})})})();var d=S.exports;const x=g(d),T=k({__proto__:null,default:x},[d]);export{T as y}; +import{g,c as v}from"./index-rXwcQ1j1.js";import{a as b}from"./yaml--Jz1R_lf.js";function k(f,u){for(var n=0;na[r]})}}}return Object.freeze(Object.defineProperty(f,Symbol.toStringTag,{value:"Module"}))}var S={exports:{}};(function(f,u){(function(n){n(v,b)})(function(n){var a=0,r=1,o=2;n.defineMode("yaml-frontmatter",function(s,p){var l=n.getMode(s,"yaml"),m=n.getMode(s,p&&p.base||"gfm");function c(t){return t.state==r?{mode:l,state:t.yaml}:{mode:m,state:t.inner}}return{startState:function(){return{state:a,yaml:null,inner:n.startState(m)}},copyState:function(t){return{state:t.state,yaml:t.yaml&&n.copyState(l,t.yaml),inner:n.copyState(m,t.inner)}},token:function(t,e){if(e.state==a)return t.match("---",!1)?(e.state=r,e.yaml=n.startState(l),l.token(t,e.yaml)):(e.state=o,m.token(t,e.inner));if(e.state==r){var y=t.sol()&&t.match(/(---|\.\.\.)/,!1),i=l.token(t,e.yaml);return y&&(e.state=o,e.yaml=null),i}else return m.token(t,e.inner)},innerMode:c,indent:function(t,e,y){var i=c(t);return i.mode.indent?i.mode.indent(i.state,e,y):n.Pass},blankLine:function(t){var e=c(t);if(e.mode.blankLine)return e.mode.blankLine(e.state)}}})})})();var d=S.exports;const x=g(d),T=k({__proto__:null,default:x},[d]);export{T as y}; diff --git a/dist-ui/assets/z80-vytHFnAH.js b/dist-ui/assets/z80-qMS3sr-Q.js similarity index 97% rename from dist-ui/assets/z80-vytHFnAH.js rename to dist-ui/assets/z80-qMS3sr-Q.js index 96907f66..dbff020c 100644 --- a/dist-ui/assets/z80-vytHFnAH.js +++ b/dist-ui/assets/z80-qMS3sr-Q.js @@ -1 +1 @@ -import{g as h,c as z}from"./index-CHg1vBCc.js";function v(c,f){for(var n=0;nl[i]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(c,f){(function(n){n(z)})(function(n){n.defineMode("z80",function(l,i){var o=i.ez80,u,d;o?(u=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,d=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(u=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,d=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i);var x=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,p=/^(n?[zc]|p[oe]?|m)\b/i,b=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,s=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{startState:function(){return{context:0}},token:function(e,r){if(e.column()||(r.context=0),e.eatSpace())return null;var t;if(e.eatWhile(/\w/))if(o&&e.eat(".")&&e.eatWhile(/\w/),t=e.current(),e.indentation()){if((r.context==1||r.context==4)&&x.test(t))return r.context=4,"var2";if(r.context==2&&p.test(t))return r.context=4,"var3";if(u.test(t))return r.context=1,"keyword";if(d.test(t))return r.context=2,"keyword";if(r.context==4&&s.test(t))return"number";if(b.test(t))return"error"}else return e.match(s)?"number":null;else{if(e.eat(";"))return e.skipToEnd(),"comment";if(e.eat('"')){for(;(t=e.next())&&t!='"';)t=="\\"&&e.next();return"string"}else if(e.eat("'")){if(e.match(/\\?.'/))return"number"}else if(e.eat(".")||e.sol()&&e.eat("#")){if(r.context=5,e.eatWhile(/\w/))return"def"}else if(e.eat("$")){if(e.eatWhile(/[\da-f]/i))return"number"}else if(e.eat("%")){if(e.eatWhile(/[01]/))return"number"}else e.next()}return null}}}),n.defineMIME("text/x-z80","z80"),n.defineMIME("text/x-ez80",{name:"z80",ez80:!0})})})();var a=g.exports;const y=h(a),w=v({__proto__:null,default:y},[a]);export{w as z}; +import{g as h,c as z}from"./index-rXwcQ1j1.js";function v(c,f){for(var n=0;nl[i]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var g={exports:{}};(function(c,f){(function(n){n(z)})(function(n){n.defineMode("z80",function(l,i){var o=i.ez80,u,d;o?(u=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,d=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(u=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,d=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i);var x=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,p=/^(n?[zc]|p[oe]?|m)\b/i,b=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,s=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{startState:function(){return{context:0}},token:function(e,r){if(e.column()||(r.context=0),e.eatSpace())return null;var t;if(e.eatWhile(/\w/))if(o&&e.eat(".")&&e.eatWhile(/\w/),t=e.current(),e.indentation()){if((r.context==1||r.context==4)&&x.test(t))return r.context=4,"var2";if(r.context==2&&p.test(t))return r.context=4,"var3";if(u.test(t))return r.context=1,"keyword";if(d.test(t))return r.context=2,"keyword";if(r.context==4&&s.test(t))return"number";if(b.test(t))return"error"}else return e.match(s)?"number":null;else{if(e.eat(";"))return e.skipToEnd(),"comment";if(e.eat('"')){for(;(t=e.next())&&t!='"';)t=="\\"&&e.next();return"string"}else if(e.eat("'")){if(e.match(/\\?.'/))return"number"}else if(e.eat(".")||e.sol()&&e.eat("#")){if(r.context=5,e.eatWhile(/\w/))return"def"}else if(e.eat("$")){if(e.eatWhile(/[\da-f]/i))return"number"}else if(e.eat("%")){if(e.eatWhile(/[01]/))return"number"}else e.next()}return null}}}),n.defineMIME("text/x-z80","z80"),n.defineMIME("text/x-ez80",{name:"z80",ez80:!0})})})();var a=g.exports;const y=h(a),w=v({__proto__:null,default:y},[a]);export{w as z}; diff --git a/dist-ui/index.html b/dist-ui/index.html index 6171f12a..0699e363 100644 --- a/dist-ui/index.html +++ b/dist-ui/index.html @@ -10,8 +10,8 @@ PasteBar App - - + +
diff --git a/dist-ui/ui.version.0.2.0 b/dist-ui/ui.version.0.2.0 deleted file mode 100644 index 341cf11f..00000000 --- a/dist-ui/ui.version.0.2.0 +++ /dev/null @@ -1 +0,0 @@ -0.2.0 \ No newline at end of file diff --git a/dist-ui/ui.version.0.2.1 b/dist-ui/ui.version.0.2.1 new file mode 100644 index 00000000..7dff5b89 --- /dev/null +++ b/dist-ui/ui.version.0.2.1 @@ -0,0 +1 @@ +0.2.1 \ No newline at end of file diff --git a/package.json b/package.json index bf6e56b3..79cbf647 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pastebar-app", - "version": "0.2.0", + "version": "0.2.1", "private": true, "scripts": { "dev": "tauri dev --config src-tauri/tauri.dev.conf.json",